{"version":3,"file":"entity-Mqf9FUYg.js","sources":["../../../app/frontend/entrypoints/controllers/customer_location/entity.ts"],"sourcesContent":["export default class CustomerLocationEntity {\n static getEntityData(elem: any) {\n return {\n uuid: elem.querySelector(\"#customer_location_uuid\") ? (elem.querySelector(\"#customer_location_uuid\") as HTMLInputElement).value : null,\n name: (elem.querySelector(\"#customer_location_name\") as HTMLInputElement).value,\n first_name: (elem.querySelector(\"#customer_location_first_name\") as HTMLInputElement).value,\n last_name: (elem.querySelector(\"#customer_location_last_name\") as HTMLInputElement).value,\n street: (elem.querySelector(\"#customer_location_street\") as HTMLInputElement).value,\n house_number: (elem.querySelector(\"#customer_location_house_number\") as HTMLInputElement).value,\n postcode: (elem.querySelector(\"#customer_location_postcode\") as HTMLInputElement).value,\n city: (elem.querySelector(\"#customer_location_city\") as HTMLInputElement).value,\n phone: (elem.querySelector(\"#customer_location_phone\") as HTMLInputElement).value,\n country: elem.querySelector(\"#customer_location_county_id\") ? (elem.querySelector(\"#customer_location_county_id option:checked\") as HTMLInputElement).value : (elem.querySelector(\"#new_customer_location_county_id option:checked\") as HTMLInputElement).value,\n salutation: elem.querySelector(\"#customer_location_salutation_id\") ? (elem.querySelector(\"#customer_location_salutation_id option:checked\") as HTMLInputElement).value : (elem.querySelector(\"#new_customer_location_salutation_id option:checked\") as HTMLInputElement).value\n }\n }\n}"],"names":[],"mappings":"AAAA,MAAqB,uBAAuB;AAAA,EACxC,OAAO,cAAc,MAAW;AACrB,WAAA;AAAA,MACH,MAAM,KAAK,cAAc,yBAAyB,IAAK,KAAK,cAAc,yBAAyB,EAAuB,QAAQ;AAAA,MAClI,MAAO,KAAK,cAAc,yBAAyB,EAAuB;AAAA,MAC1E,YAAa,KAAK,cAAc,+BAA+B,EAAuB;AAAA,MACtF,WAAY,KAAK,cAAc,8BAA8B,EAAuB;AAAA,MACpF,QAAS,KAAK,cAAc,2BAA2B,EAAuB;AAAA,MAC9E,cAAe,KAAK,cAAc,iCAAiC,EAAuB;AAAA,MAC1F,UAAW,KAAK,cAAc,6BAA6B,EAAuB;AAAA,MAClF,MAAO,KAAK,cAAc,yBAAyB,EAAuB;AAAA,MAC1E,OAAQ,KAAK,cAAc,0BAA0B,EAAuB;AAAA,MAC5E,SAAS,KAAK,cAAc,8BAA8B,IAAK,KAAK,cAAc,6CAA6C,EAAuB,QAAS,KAAK,cAAc,iDAAiD,EAAuB;AAAA,MAC1P,YAAY,KAAK,cAAc,kCAAkC,IAAK,KAAK,cAAc,iDAAiD,EAAuB,QAAS,KAAK,cAAc,qDAAqD,EAAuB;AAAA,IAAA;AAAA,EAEjR;AACJ;"}