{"version":3,"file":"js/4017.main.min.js","mappings":";;;;;;;;;;;AAAO,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAA,EAAgC;EAAA,IAA5BC,kBAAkB,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAEvDG,OAAO,CAACC,GAAG,CAAC,0BAA0B,EAAEL,kBAAkB,CAAC;EAAC,IAEpDM,OAAO,GAAYN,kBAAkB,CAArCM,OAAO;IAAEC,KAAK,GAAKP,kBAAkB,CAA5BO,KAAK;EACtB,IAAMC,YAAY,GAAG,CAAC,qBAAqB,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,qBAAqB,CAAC;EAE9L,KAAI,IAAIC,CAAC,GAAC,CAAC,EAAEA,CAAC,GAAGD,YAAY,CAACN,MAAM,EAAEO,CAAC,EAAE,EAAC;IAEtC,IAAMC,GAAG,GAAGF,YAAY,CAACC,CAAC,CAAC;IAC3B,IAAIC,GAAG,KAAK,qBAAqB,IAAIA,GAAG,KAAK,qBAAqB,EAAG;IAErE,IAAGC,MAAM,CAACC,kBAAkB,CAACN,OAAO,CAAC,CAACI,GAAG,CAAC,EAAEC,MAAM,CAACC,kBAAkB,CAACN,OAAO,CAAC,CAACI,GAAG,CAAC,CAACG,QAAQ,CAACN,KAAK,CAAC;EAEvG;EAAC;AAEL,CAAC","sources":["webpack://smetio/./developement/js/functions/apps/businessHours/mondayHourIsChanged.js"],"sourcesContent":["export const mondayHourIsChanged = (functionParameters = {}) => {\r\n \r\n console.log(\"The monday hour data is \", functionParameters);\r\n\r\n const { modelId, value } = functionParameters;\r\n const daysAndHours = [\"mondayBusinessHours\", \"tuesdayBusinessHours\", \"wednesdayBusinessHours\", \"thursdayBusinessHours\", \"fridayBusinessHours\", \"saturdayBusinessHours\", \"sundayBusinessHours\"];\r\n\r\n for(let i=0; i < daysAndHours.length; i++){\r\n\r\n const day = daysAndHours[i];\r\n if (day === \"mondayBusinessHours\" || day === \"sundayBusinessHours\" ) continue;\r\n\r\n if(window.smetioInputClasses[modelId][day]) window.smetioInputClasses[modelId][day].setValue(value);\r\n\r\n };\r\n\r\n};\r\n"],"names":["mondayHourIsChanged","functionParameters","arguments","length","undefined","console","log","modelId","value","daysAndHours","i","day","window","smetioInputClasses","setValue"],"sourceRoot":""}