Liferay.Loader.define("@liferay/analytics-settings-web@5.0.42/js/components/PropertiesTable",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/form","@frontend-taglib-clay$clayui/table","liferay!frontend-js-react-web$react"],(function(e,l,a){window;{Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var t=r(a("@frontend-taglib-clay$clayui/button")),n=a("@frontend-taglib-clay$clayui/form"),d=r(a("@frontend-taglib-clay$clayui/table")),u=r(a("liferay!frontend-js-react-web$react"));function r(e){return e&&e.__esModule?e:{default:e}}var f=({properties:e})=>u.default.createElement(d.default,{className:"mt-4"},u.default.createElement(d.default.Head,null,u.default.createElement(d.default.Row,null,u.default.createElement(d.default.Cell,{expanded:!0,headingCell:!0},Liferay.Language.get("available-properties")),u.default.createElement(d.default.Cell,{headingCell:!0},Liferay.Language.get("channel")),u.default.createElement(d.default.Cell,{headingCell:!0},Liferay.Language.get("sites")),u.default.createElement(d.default.Cell,{headingCell:!0},Liferay.Language.get("commerce")))),u.default.createElement(d.default.Body,null,e.map(((e,l)=>{var a;return u.default.createElement(d.default.Row,{key:l},u.default.createElement(d.default.Cell,{className:"table-cell-expand"},e.name),u.default.createElement(d.default.Cell,{className:"mr-2",columnTextAlignment:"end"},"-"),u.default.createElement(d.default.Cell,{className:"mr-2",columnTextAlignment:"end"},e.dataSources.length>=1?null===(a=e.dataSources[0])||void 0===a?void 0:a.siteIds.length:e.dataSources.length),u.default.createElement(d.default.Cell,{className:"mr-2",columnTextAlignment:"end"},u.default.createElement(n.ClayToggle,{toggled:!0})),u.default.createElement(d.default.Cell,{columnTextAlignment:"end"},u.default.createElement(t.default,{displayType:"secondary",type:"button"},Liferay.Language.get("assign"))))}))));l.default=f}}));
//# sourceMappingURL=PropertiesTable.js.map