Liferay.Loader.define("data-engine-js-components-web@1.0.112/js/core/components/PageRenderer/TabbedVariant.es",["module","exports","require","@frontend-taglib-clay$clayui/layout","liferay!frontend-js-react-web$react","../Tabs.es","./DefaultVariant.es"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.Column=Column,a.Container=Container,a.Page=Page,a.Rows=Rows;var n=_interopRequireDefault(t("@frontend-taglib-clay$clayui/layout")),r=_interopRequireDefault(t("liferay!frontend-js-react-web$react")),i=t("../Tabs.es"),o=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=_getRequireWildcardCache();if(a&&a.has(e))return a.get(e);var t={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=n?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(t,r,i):t[r]=e[r]}t.default=e,a&&a.set(e,t);return t}(t("./DefaultVariant.es"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function Column({children:e,column:a,index:t}){return a.fields.length?r.default.createElement(n.default.Col,{key:t,md:a.size},a.fields.map(((a,t)=>e({field:a,index:t})))):null}function Container({activePage:e,children:a,pageIndex:t,pages:n}){return r.default.createElement("div",{className:"ddm-form-page-container tabbed"},!!n.length&&t===e&&r.default.createElement(i.Tabs,{activePage:e,pageIndex:t,pages:n}),r.default.createElement(o.Container,{activePage:e,isBuilder:!1,pageIndex:t},a))}function Page({children:e}){return e}function Rows({children:e,rows:a}){return a.map(((a,t)=>e({index:t,row:a})))}Column.displayName="TabbedVariant.Column",Container.displayName="TabbedVariant.Container",Page.displayName="TabbedVariant.Page",Rows.displayName="TabbedVariant.Rows"}}));
//# sourceMappingURL=TabbedVariant.es.js.map