Liferay.Loader.define("@liferay/object-web@1.0.181/js/components/ObjectDetails/ConfigurationContainer",["module","exports","require","@liferay/object-js-components-web","frontend-js-web","liferay!frontend-js-react-web$react"],(function(e,t,a){window;Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationContainer=function ConfigurationContainer({hasUpdateObjectDefinitionPermission:e,setValues:t,values:a}){const r=Liferay.FeatureFlags["LPS-167253"]?!a.modifiable&&a.system:a.system;return i.default.createElement("div",{className:"lfr-objects__object-definition-details-configuration"},i.default.createElement(n.Toggle,{disabled:r||!e,label:(0,o.sub)(Liferay.Language.get("show-widget-in-x"),Liferay.Language.get("page-builder")),name:"showWidget",onToggle:()=>t({portlet:!a.portlet}),toggled:a.portlet}),i.default.createElement(n.Toggle,{disabled:r||!e,label:(0,o.sub)(Liferay.Language.get("enable-x"),Liferay.Language.get("categorization-of-object-entries")),name:"enableCategorization",onToggle:()=>t({enableCategorization:!a.enableCategorization}),toggled:a.enableCategorization}),i.default.createElement(n.Toggle,{disabled:r||!e,label:(0,o.sub)(Liferay.Language.get("enable-x"),Liferay.Language.get("comments-in-page-builder")),name:"enableComments",onToggle:()=>t({enableComments:!a.enableComments}),toggled:a.enableComments}),i.default.createElement(n.Toggle,{disabled:r,label:(0,o.sub)(Liferay.Language.get("enable-x"),Liferay.Language.get("entry-history-in-audit-framework")),name:"enableEntryHistory",onToggle:()=>t({enableObjectEntryHistory:!a.enableObjectEntryHistory}),toggled:a.enableObjectEntryHistory}))};var n=a("@liferay/object-js-components-web"),o=a("frontend-js-web"),i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(a("liferay!frontend-js-react-web$react"))}));
//# sourceMappingURL=ConfigurationContainer.js.map