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