{"version":3,"file":"entity-w5-2hgy0.js","sources":["../../../app/frontend/entrypoints/controllers/teams/time_entry_profile/entity.ts"],"sourcesContent":["export default class TimeEntryProfileEntity {\n static getEntityData(elem: any) {\n return {\n uuid: elem.querySelector(\"#time_entry_profile_uuid\") ? (elem.querySelector(\"#time_entry_profile_uuid\") as HTMLInputElement).value : null,\n name: (elem.querySelector(\"#time_entry_profile_name\") as HTMLInputElement).value,\n superior_id: elem.querySelector(\"#time_entry_profile_superior_id\") ? (elem.querySelector(\"#time_entry_profile_superior_id\") as HTMLInputElement).value : null,\n\n autobook: (elem.querySelector(\"#time_entry_profile_autobook\") as HTMLInputElement) ? (elem.querySelector(\"#time_entry_profile_autobook\") as HTMLInputElement).checked : false,\n surcharge_night: (elem.querySelector(\"#time_entry_profile_surcharge_night\") as HTMLInputElement) ? (elem.querySelector(\"#time_entry_profile_surcharge_night\") as HTMLInputElement).checked : false,\n surcharge_saturday: (elem.querySelector(\"#time_entry_profile_surcharge_saturday\") as HTMLInputElement) ? (elem.querySelector(\"#time_entry_profile_surcharge_saturday\") as HTMLInputElement).checked : false,\n surcharge_sunday: (elem.querySelector(\"#time_entry_profile_surcharge_sunday\") as HTMLInputElement) ? (elem.querySelector(\"#time_entry_profile_surcharge_sunday\") as HTMLInputElement).checked : false,\n surcharge_holiday: (elem.querySelector(\"#time_entry_profile_surcharge_holiday\") as HTMLInputElement) ? (elem.querySelector(\"#time_entry_profile_surcharge_holiday\") as HTMLInputElement).checked : false,\n config: (elem.querySelector(\"#time_entry_profile_config_mon_from\") as HTMLInputElement) ? {\n mon: {\n from: (elem.querySelector(\"#time_entry_profile_config_mon_from\") as HTMLInputElement).value,\n to: (elem.querySelector(\"#time_entry_profile_config_mon_to\") as HTMLInputElement).value,\n minHours: (elem.querySelector(\"#time_entry_profile_config_mon_minHours\") as HTMLInputElement).value,\n planHours: (elem.querySelector(\"#time_entry_profile_config_mon_planHours\") as HTMLInputElement).value,\n maxHours: (elem.querySelector(\"#time_entry_profile_config_mon_maxHours\") as HTMLInputElement).value,\n },\n tue: {\n from: (elem.querySelector(\"#time_entry_profile_config_tue_from\") as HTMLInputElement).value,\n to: (elem.querySelector(\"#time_entry_profile_config_tue_to\") as HTMLInputElement).value,\n minHours: (elem.querySelector(\"#time_entry_profile_config_tue_minHours\") as HTMLInputElement).value,\n planHours: (elem.querySelector(\"#time_entry_profile_config_tue_planHours\") as HTMLInputElement).value,\n maxHours: (elem.querySelector(\"#time_entry_profile_config_tue_maxHours\") as HTMLInputElement).value,\n },\n wed: {\n from: (elem.querySelector(\"#time_entry_profile_config_wed_from\") as HTMLInputElement).value,\n to: (elem.querySelector(\"#time_entry_profile_config_wed_to\") as HTMLInputElement).value,\n minHours: (elem.querySelector(\"#time_entry_profile_config_wed_minHours\") as HTMLInputElement).value,\n planHours: (elem.querySelector(\"#time_entry_profile_config_wed_planHours\") as HTMLInputElement).value,\n maxHours: (elem.querySelector(\"#time_entry_profile_config_wed_maxHours\") as HTMLInputElement).value,\n },\n thu: {\n from: (elem.querySelector(\"#time_entry_profile_config_thu_from\") as HTMLInputElement).value,\n to: (elem.querySelector(\"#time_entry_profile_config_thu_to\") as HTMLInputElement).value,\n minHours: (elem.querySelector(\"#time_entry_profile_config_thu_minHours\") as HTMLInputElement).value,\n planHours: (elem.querySelector(\"#time_entry_profile_config_thu_planHours\") as HTMLInputElement).value,\n maxHours: (elem.querySelector(\"#time_entry_profile_config_thu_maxHours\") as HTMLInputElement).value,\n },\n fri: {\n from: (elem.querySelector(\"#time_entry_profile_config_fri_from\") as HTMLInputElement).value,\n to: (elem.querySelector(\"#time_entry_profile_config_fri_to\") as HTMLInputElement).value,\n minHours: (elem.querySelector(\"#time_entry_profile_config_fri_minHours\") as HTMLInputElement).value,\n planHours: (elem.querySelector(\"#time_entry_profile_config_fri_planHours\") as HTMLInputElement).value,\n maxHours: (elem.querySelector(\"#time_entry_profile_config_fri_maxHours\") as HTMLInputElement).value,\n },\n sat: {\n from: (elem.querySelector(\"#time_entry_profile_config_sat_from\") as HTMLInputElement).value,\n to: (elem.querySelector(\"#time_entry_profile_config_sat_to\") as HTMLInputElement).value,\n minHours: (elem.querySelector(\"#time_entry_profile_config_sat_minHours\") as HTMLInputElement).value,\n planHours: (elem.querySelector(\"#time_entry_profile_config_sat_planHours\") as HTMLInputElement).value,\n maxHours: (elem.querySelector(\"#time_entry_profile_config_sat_maxHours\") as HTMLInputElement).value,\n },\n sun: {\n from: (elem.querySelector(\"#time_entry_profile_config_sun_from\") as HTMLInputElement).value,\n to: (elem.querySelector(\"#time_entry_profile_config_sun_to\") as HTMLInputElement).value,\n minHours: (elem.querySelector(\"#time_entry_profile_config_sun_minHours\") as HTMLInputElement).value,\n planHours: (elem.querySelector(\"#time_entry_profile_config_sun_planHours\") as HTMLInputElement).value,\n maxHours: (elem.querySelector(\"#time_entry_profile_config_sun_maxHours\") as HTMLInputElement).value,\n }\n } : {}\n }\n }\n}"],"names":[],"mappings":"AAAA,MAAqB,uBAAuB;AAAA,EACxC,OAAO,cAAc,MAAW;AACrB,WAAA;AAAA,MACH,MAAM,KAAK,cAAc,0BAA0B,IAAK,KAAK,cAAc,0BAA0B,EAAuB,QAAQ;AAAA,MACpI,MAAO,KAAK,cAAc,0BAA0B,EAAuB;AAAA,MAC3E,aAAa,KAAK,cAAc,iCAAiC,IAAK,KAAK,cAAc,iCAAiC,EAAuB,QAAQ;AAAA,MAEzJ,UAAW,KAAK,cAAc,8BAA8B,IAA0B,KAAK,cAAc,8BAA8B,EAAuB,UAAU;AAAA,MACxK,iBAAkB,KAAK,cAAc,qCAAqC,IAA0B,KAAK,cAAc,qCAAqC,EAAuB,UAAU;AAAA,MAC7L,oBAAqB,KAAK,cAAc,wCAAwC,IAA0B,KAAK,cAAc,wCAAwC,EAAuB,UAAU;AAAA,MACtM,kBAAmB,KAAK,cAAc,sCAAsC,IAA0B,KAAK,cAAc,sCAAsC,EAAuB,UAAU;AAAA,MAChM,mBAAoB,KAAK,cAAc,uCAAuC,IAA0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