{"version":3,"file":"entity-PlbGXVIp.js","sources":["../../../app/frontend/entrypoints/controllers/erp/product_attribute/entity.ts"],"sourcesContent":["export default class ErpProductAttributeEntity {\n static getEntityData(elem: any) {\n return {\n id: elem.querySelector(\"#erp_product_attribute_id\") ? (elem.querySelector(\"#erp_product_attribute_id\") as HTMLInputElement).value : null,\n uuid: elem.querySelector(\"#erp_product_attribute_id\") ? (elem.querySelector(\"#erp_product_attribute_id\") as HTMLInputElement).value : null,\n name: (elem.querySelector(\"#erp_product_attribute_name\") as HTMLInputElement).value,\n input_type: (elem.querySelector(\"#erp_product_attribute_input_type option:checked\") as HTMLInputElement).value,\n editable: (elem.querySelector(\"#erp_product_attribute_editable\") as HTMLInputElement).checked,\n auto_propagate: (elem.querySelector(\"#erp_product_attribute_auto_propagate\") as HTMLInputElement).checked,\n order_add: (elem.querySelector(\"#erp_product_attribute_order_add\") as HTMLInputElement).checked,\n duplicate_check: (elem.querySelector(\"#erp_product_attribute_duplicate_check\") as HTMLInputElement).checked,\n options: (elem.querySelector(\"#erp_product_attribute_options\") as HTMLInputElement).value.split(\",\")\n }\n }\n}"],"names":[],"mappings":"AAAA,MAAqB,0BAA0B;AAAA,EAC3C,OAAO,cAAc,MAAW;AACrB,WAAA;AAAA,MACH,IAAI,KAAK,cAAc,2BAA2B,IAAK,KAAK,cAAc,2BAA2B,EAAuB,QAAQ;AAAA,MACpI,MAAM,KAAK,cAAc,2BAA2B,IAAK,KAAK,cAAc,2BAA2B,EAAuB,QAAQ;AAAA,MACtI,MAAO,KAAK,cAAc,6BAA6B,EAAuB;AAAA,MAC9E,YAAa,KAAK,cAAc,kDAAkD,EAAuB;AAAA,MACzG,UAAW,KAAK,cAAc,iCAAiC,EAAuB;AAAA,MACtF,gBAAiB,KAAK,cAAc,uCAAuC,EAAuB;AAAA,MAClG,WAAY,KAAK,cAAc,kCAAkC,EAAuB;AAAA,MACxF,iBAAkB,KAAK,cAAc,wCAAwC,EAAuB;AAAA,MACpG,SAAU,KAAK,cAAc,gCAAgC,EAAuB,MAAM,MAAM,GAAG;AAAA,IAAA;AAAA,EAE3G;AACJ;"}