export const __webpack_esm_id__=51749;export const __webpack_esm_ids__=[51749];export const __webpack_esm_modules__={51749(){angular.module("graphdb.framework.aclmanagement.directives",[]).directive("customRoleHandler",function(){return{restrict:"A",require:"ngModel",link:function(r,e,t,n){const s="CUSTOM_",o="!CUSTOM_",a=[];function c(r,e){if(!r||"*"===r)return r;const t=r.startsWith("!"),n=t?o:s;return e?n+r.replace(/^!/,""):t?"!"+r.replace(n,""):r.replace(n,"")}n.$parsers.push(function(r){var e;return n.$warning=!!(r&&(e=r,e.toUpperCase().startsWith(s)||e.toUpperCase().startsWith(o))),r}),n.$formatters.push(function(r){return c(r,!1)}),n.$parsers.push(function(r){return c(r,!0)}),n.$validators.customRoleValidator=function(r){if(!r)return!0;const e=r.replace(/^(!CUSTOM_|CUSTOM_)/,"");return"*"===e||e.length>=2},a.push(r.$on("$destroy",()=>{a.forEach(r=>r())}))}}})}};
//# sourceMappingURL=51749.fb53d96386f2dc248436.bundle.js.map