Liferay.Loader.define("data-engine-taglib@3.3.26/data_layout_builder/js/plugins/fields-sidebar/components/SidebarFieldSettings",["module","exports","require","@frontend-taglib-clay$clayui/button","data-engine-js-components-web","liferay!frontend-js-react-web$react","../../../components/sidebar/Sidebar.es","../../../eventTypes","./FieldsSidebarSettingsBody","./SidebarFieldSettings.scss"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a("@frontend-taglib-clay$clayui/button"),d=a("data-engine-js-components-web"),n=o(a("liferay!frontend-js-react-web$react")),i=o(a("../../../components/sidebar/Sidebar.es")),s=a("../../../eventTypes"),r=o(a("./FieldsSidebarSettingsBody"));function o(e){return e&&e.__esModule?e:{default:e}}a("./SidebarFieldSettings.scss");const e=({field:e})=>{const t=(0,d.useForm)(),{fieldTypes:a}=(0,d.useConfig)(),{label:r}=a.find((({name:t})=>t===e.type));return n.default.createElement("div",{className:"de__sidebar-field-settings-title"},n.default.createElement(l.ClayButtonWithIcon,{className:"mr-3",displayType:"secondary",monospaced:!1,onClick:()=>t({type:s.EVENT_TYPES.SIDEBAR.FIELD.BLUR}),symbol:"angle-left"}),n.default.createElement(i.default.Title,{title:r}))};var f=({field:t})=>n.default.createElement(i.default,{className:"display-settings"},n.default.createElement(i.default.Header,null,n.default.createElement(e,{field:t})),n.default.createElement(i.default.Body,null,n.default.createElement(r.default,{field:t})));t.default=f}}));
//# sourceMappingURL=SidebarFieldSettings.js.map