/*! phoscon-app 2024-08-14 */

export function initInstallcodePages(pageParams){let c=pageParams.constants;return[{id:c.PAGE_INSTALLCODE_METHOD,url:"devices-switches/installcode/page-method.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:c.PAGE_INSTALLCODE_METHOD}]},{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_VENDOR}]},{event:c.BTN_INSTALLCODE_PRESSED,actions:[{type:c.CALL_PAGE,data:"INSTALLCODE_PAGE_1"}]},{event:c.BTN_PHILIPS_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_PHILIPS_PRODUCT}]},{event:c.BTN_IKEA_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_IKEA_PRODUCT}]},{event:c.BTN_GIRA_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_GIRA_PRODUCT}]},{event:c.BTN_DE_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_DRESDEN_ELEKTRONIK_PRODUCT}]},{event:c.BTN_JUNG_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_JUNG_PRODUCT}]},{event:c.BTN_FRIENDS_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_FRIENDS_OF_HUE_PRODUCT}]},{event:c.BTN_BUJA_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_BUSCHJAEGER_PRODUCT}]},{event:c.BTN_XIAOMI_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_XIAOMI_PRODUCT}]},{event:c.BTN_SMARTTHINGS_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_SMARTTHINGS_PRODUCT}]},{event:c.BTN_SENIC_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_SENIC_PRODUCT}]},{event:c.BTN_NODON_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_NODON_PRODUCT}]},{event:c.BTN_FELLER_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_FELLER_PRODUCT}]},{event:c.BTN_VIMAR_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_NIKO_PRODUCT}]},{event:c.BTN_NIKO_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_VIMAR_PRODUCT}]},{event:c.BTN_ICASA_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_ICASA_PRODUCT}]},{event:c.BTN_LUTRON_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_LUTRON_PRODUCT}]},{event:c.BTN_GE_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_GE_PRODUCT}]},{event:c.BTN_OTHER_PRESSED,actions:[{type:c.CALL_PAGE,data:c.PAGE_OTHER_PAGE_1}]}]},{id:"INSTALLCODE_PAGE_1",url:"devices-switches/installcode/page-1.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"INSTALLCODE_PAGE_1"}]},{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_INSTALLCODE_METHOD}]},{event:c.BTN_NEXT_PRESSED,actions:[{type:c.CALL_PAGE,data:"INSTALLCODE_PAGE_2"}]},{event:"INPUT_MAC",actions:[{type:c.CALL_FUNC,data:"inputMask"}]},{event:"INPUT_INSTALLCODE",actions:[{type:c.CALL_FUNC,data:"validateInstallInput"}]},{event:"INPUTS_CHANGED",actions:[{type:c.CALL_FUNC,data:"verifyData"}]}]},{id:"INSTALLCODE_PAGE_2",url:"devices-switches/installcode/page-2.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:"INSTALLCODE_PAGE_2"},{type:c.CALL_FUNC,data:"sendInstallCode"}]},{event:c.BTN_CLOSE_PRESSED,actions:[{type:c.CLOSE_MODAL,data:"switchWizardModal"}]},{event:c.BTN_PREV_PRESSED,actions:[{type:c.CALL_PAGE,data:"INSTALLCODE_PAGE_1"}]}]}]};