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