Liferay.Loader.define("@liferay/analytics-settings-web@5.0.47/js/components/properties/Tab",["module","exports","require","@frontend-taglib-clay$clayui/core","liferay!frontend-js-react-web$react","../table/Table","../table/utils"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a("@frontend-taglib-clay$clayui/core"),n=_interopRequireDefault(a("liferay!frontend-js-react-web$react")),r=_interopRequireDefault(a("../table/Table")),i=a("../table/utils");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _default=({columns:e,description:t,emptyStateTitle:a,enableCheckboxs:u=!0,header:d,initialIds:o,noResultsTitle:s,onItemsChange:c,property:m,requestFn:f})=>n.default.createElement(n.default.Fragment,null,t&&n.default.createElement("div",{className:"my-3 text-secondary"},n.default.createElement(l.Text,{size:3},t)),n.default.createElement(r.default,{columns:d,disabled:!u,emptyStateTitle:a,mapperItems:t=>t.map((t=>({checked:!(!t.channelName||t.channelName!==m.name),columns:e.map((e=>{var a;return{label:null!==(a=null==t?void 0:t[e])&&void 0!==a?a:""}})),disabled:!(!t.channelName||t.channelName===m.name),id:t.id}))),noResultsTitle:s,onItemsChange:e=>c((0,i.getIds)(e,o)),requestFn:f}));t.default=_default}}));
//# sourceMappingURL=Tab.js.map