Liferay.Loader.define("users-admin-web@6.0.70/js/ViewTreeManagementToolbarPropsTransformer",["module","exports","require","./actions.es"],(function(e,r,t){window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{additionalProps:{basePortletURL:r},portletNamespace:t}=e;return i(i({},function(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["additionalProps","portletNamespace"])),{},{onCreationMenuItemClick(e,{item:o}){const i=null==o?void 0:o.data;"selectUsers"===(null==i?void 0:i.action)&&n.ACTIONS.selectUsers({basePortletURL:r,organizationId:null==i?void 0:i.organizationId,portletNamespace:t})}})};var n=t("./actions.es");function o(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}}}));
//# sourceMappingURL=ViewTreeManagementToolbarPropsTransformer.js.map