Liferay.Loader.define("data-engine-js-components-web@1.0.75/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=u,a.Container=c,a.Page=f,a.Rows=s;var n=d(t("@frontend-taglib-clay$clayui/layout")),r=d(t("liferay!frontend-js-react-web$react")),i=t("../Tabs.es"),l=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var a=o();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 o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function u({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 c({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(l.Container,{activePage:e,isBuilder:!1,pageIndex:t},a))}function f({children:e}){return e}function s({children:e,rows:a}){return a.map(((a,t)=>e({index:t,row:a})))}u.displayName="TabbedVariant.Column",c.displayName="TabbedVariant.Container",f.displayName="TabbedVariant.Page",s.displayName="TabbedVariant.Rows"}}));
//# sourceMappingURL=TabbedVariant.es.js.map