Liferay.Loader.define("depot-web@2.0.70/js/DepotEntryDropdownDefaultEventHandler.es",["module","exports","require","frontend-js-web"],(function(e,t,n){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("frontend-js-web");class DepotEntryDropdownDefaultEventHandler extends o.DefaultEventHandler{deleteDepotEntry(e){(0,o.openConfirmModal)({message:Liferay.Language.get("removing-an-asset-library-can-affect-sites-that-use-the-contents-stored-in-it.-are-you-sure-you-want-to-continue-removing-this-asset-library"),onConfirm:t=>{t&&submitForm(document.hrefFm,e.deleteDepotEntryURL)}})}permissionsDepotEntry(e){this._openWindow(Liferay.Language.get("permissions"),e.permissionsDepotEntryURL)}_openWindow(e,t){(0,o.openWindow)({dialog:{destroyOnHide:!0,modal:!0},dialogIframe:{bodyCssClass:"dialog-with-footer"},title:Liferay.Language.get(e),uri:t})}}var r=DepotEntryDropdownDefaultEventHandler;t.default=r}}));
//# sourceMappingURL=DepotEntryDropdownDefaultEventHandler.es.js.map