/*! phoscon-app 2023-07-31 */

import{initIkeaOnOffSwitchPages}from"./map-ikea-onoff-switch.js";import{initIkeaOpenCloseRemotePages}from"./map-ikea-openclose-remote.js";import{initIkeaRemotePages}from"./map-ikea-remote.js";export function initIkeaPages(pageParams){let c=pageParams.constants,ikeaOpenCloseRemotePages=initIkeaOpenCloseRemotePages(pageParams),ikeaOnOffSwitchPages=initIkeaOnOffSwitchPages(pageParams),ikeaRemotePages=initIkeaRemotePages(pageParams);return[{id:c.PAGE_IKEA_PRODUCT,url:"devices-switches/ikea/page-product.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:c.PAGE_IKEA_PRODUCT}]},{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:"PRODUCT_IKEA_TAP_PRESSED",actions:[{type:c.CALL_PAGE,data:"IKEA_REMOTE_PAGE_1"}]},{event:"PRODUCT_IKEA_ONOFF_SWITCH_PRESSED",actions:[{type:c.CALL_PAGE,data:"IKEA_ONOFF_SWITCH_PAGE_1"}]},{event:"PRODUCT_IKEA_OPENCLOSE_REMOTE_PRESSED",actions:[{type:c.CALL_PAGE,data:"IKEA_OPENCLOSE_REMOTE_PAGE_1"}]}]},...ikeaOpenCloseRemotePages,...ikeaOnOffSwitchPages,...ikeaRemotePages]};