Liferay.Loader.define("commerce-frontend-taglib@19.1.14/user_roles_modal/RoleInputItem.es",["module","exports","require","frontend-js-metal-web$metal-component","frontend-js-metal-web$metal-soy","./RoleInputItem.soy"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RoleInputItem=void 0;var n=_interopRequireDefault(r("frontend-js-metal-web$metal-component")),o=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(r("frontend-js-metal-web$metal-soy")),i=_interopRequireDefault(r("./RoleInputItem.soy"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}class RoleInputItem extends n.default{_handleRemoveItem(e){return e.preventDefault(),this.emit("removeItem",{id:this.id})}}t.RoleInputItem=RoleInputItem,o.default.register(RoleInputItem,i.default),RoleInputItem.STATE={id:o.Config.oneOfType([o.Config.number(),o.Config.string()]).required(),name:o.Config.string().required(),spritemap:o.Config.string()};var u=RoleInputItem;t.default=u}}));
//# sourceMappingURL=RoleInputItem.es.js.map