/*! phoscon-app 2024-10-07 */

export function initLightingModePages(pageParams){let c=pageParams.constants,s=pageParams.scanStates;return[{id:c.PAGE_LIGHTING_MODE,url:"devices-switches/dresden-elektronik/lighting-switch-mode/page-1.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:c.PAGE_LIGHTING_MODE},{type:c.ADD_CLASS_ELEM,data:{identifier:c.BTN_NEXT,c:c.HIDE}},{type:c.ADD_CLASS_ELEM,data:{identifier:c.BTN_PREV,c:c.HIDE}}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:s.DEVICE_UPDATED,actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_2"}],cond:{buttonevent:4002,modelids:["Lighting Switch"]}}]},{id:"PAGE_LIGHTING_MODE_2",url:"devices-switches/dresden-elektronik/lighting-switch-mode/page-2.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"PAGE_LIGHTING_MODE_2"},{type:c.REMOVE_CLASS_ELEM,data:{identifier:"product",c:"sel-product"}},{type:c.REMOVE_CLASS_ELEM,data:{identifier:"product",c:"disabled"}},{type:c.SET_LIGHTING_MODE}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_LIGHTING_MODE}]},{event:"PRODUCT_MODE_GROUPS_PRESSED",actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_3"}]},{event:"PRODUCT_MODE_SCENES_PRESSED",actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_3"}]},{event:"PRODUCT_MODE_TEMP_PRESSED",actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_3"}]}]},{id:"PAGE_LIGHTING_MODE_3",url:"devices-switches/dresden-elektronik/lighting-switch-mode/page-3.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"PAGE_LIGHTING_MODE_3"},{type:c.SET_LIGHTING_MODE_SVG}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_2"}]},{event:c.BTN_NEXT_PRESSED,actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_4"}]}]},{id:"PAGE_LIGHTING_MODE_4",url:"devices-switches/dresden-elektronik/lighting-switch-mode/page-4.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"PAGE_LIGHTING_MODE_4"},{type:c.SET_LIGHTING_TO_MODE_SVG}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_3"}]},{event:c.BTN_NEXT_PRESSED,actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_5"}]}]},{id:"PAGE_LIGHTING_MODE_5",url:"devices-switches/dresden-elektronik/lighting-switch-mode/page-5.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"PAGE_LIGHTING_MODE_5"}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_4"}]},{event:c.BTN_NEXT_PRESSED,actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_6"}]}]},{id:"PAGE_LIGHTING_MODE_6",url:"devices-switches/dresden-elektronik/lighting-switch-mode/page-6.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"PAGE_LIGHTING_MODE_6"}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:s.DEVICE_UPDATED,actions:[{type:c.REMOVE_CLASS_ELEM,data:{identifier:c.BTN_NEXT,c:"disabled"}}],cond:{buttonevent:4002,modelids:["Lighting Switch"]}},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CALL_PAGE,data:"PAGE_LIGHTING_MODE_5"}]},{event:c.BTN_NEXT_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]}]}]};