Liferay.Loader.define("layout-admin-web@5.0.105/js/SelectLayoutCollectionManagementToolbarPropsTransformer",["module","exports","require","frontend-js-web"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return i(i({},l({},e)),{},{onCreationMenuItemClick:(e,{item:t})=>{const r=null==t?void 0:t.data;"addAssetListEntry"===(null==r?void 0:r.action)&&(0,n.openSimpleInputModal)({dialogTitle:null==r?void 0:r.title,formSubmitURL:null==r?void 0:r.addAssetListEntryURL,mainFieldLabel:Liferay.Language.get("title"),mainFieldName:"title",mainFieldPlaceholder:Liferay.Language.get("title"),namespace:null==r?void 0:r.namespace})}})};var n=r("frontend-js-web");function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}}}));
//# sourceMappingURL=SelectLayoutCollectionManagementToolbarPropsTransformer.js.map