/*! phoscon-app 2024-05-27 */

import{initXiaomiCubePages}from"./map-xiaomi-cube.js";import{initXiaomiSingleButtonPages}from"./map-xiaomi-single-button.js";import{initXiaomiDoubleButtonPages}from"./map-xiaomi-double-button.js";import{initXiaomiOpple1Pages}from"./map-xiaomi-opple-1-gang.js";import{initXiaomiOpple2Pages}from"./map-xiaomi-opple-2-gang.js";import{initXiaomiOpple3Pages}from"./map-xiaomi-opple-3-gang.js";import{initXiaomiSmartSwitchPages}from"./map-xiaomi-smart-switch.js";import{initOtherPages}from"../other/map-other.js";export function initXiaomiPages(pageParams){let c=pageParams.constants,xiaomiCubePages=initXiaomiCubePages(pageParams),xiaomiSingleButtonPages=initXiaomiSingleButtonPages(pageParams),xiaomiDoubleButtonPages=initXiaomiDoubleButtonPages(pageParams),xiaomiOpple1Pages=initXiaomiOpple1Pages(pageParams),xiaomiOpple2Pages=initXiaomiOpple2Pages(pageParams),xiaomiOpple3Pages=initXiaomiOpple3Pages(pageParams),xiaomiSmartSwitchPages=initXiaomiSmartSwitchPages(pageParams),xiaomiOtherPages=initOtherPages(pageParams);return[{id:c.PAGE_XIAOMI_PRODUCT,url:"devices-switches/xiaomi/page-product.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:c.PAGE_XIAOMI_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_CUBE_PRESSED",actions:[{type:c.CALL_PAGE,data:"XIAOMI_CUBE_PAGE_1"}]},{event:"PRODUCT_SINGLE_BUTTON_PRESSED",actions:[{type:c.CALL_PAGE,data:"XIAOMI_SINGLE_BUTTON_PAGE_1"}]},{event:"PRODUCT_DOUBLE_BUTTON_PRESSED",actions:[{type:c.CALL_PAGE,data:"XIAOMI_DOUBLE_BUTTON_PAGE_1"}]},{event:"PRODUCT_OPPLE_1_PRESSED",actions:[{type:c.CALL_PAGE,data:"XIAOMI_OPPLE_1_PAGE_1"}]},{event:"PRODUCT_OPPLE_2_PRESSED",actions:[{type:c.CALL_PAGE,data:"XIAOMI_OPPLE_2_PAGE_1"}]},{event:"PRODUCT_OPPLE_3_PRESSED",actions:[{type:c.CALL_PAGE,data:"XIAOMI_OPPLE_3_PAGE_1"}]},{event:"PRODUCT_SMART_SWITCH_PRESSED",actions:[{type:c.CALL_PAGE,data:"XIAOMI_SMART_SWITCH_PAGE_1"}]},{event:"BTN_OTHER_PRESSED",actions:[{type:c.CALL_PAGE,data:"PAGE_OTHER_PAGE_1"}]}]},...xiaomiCubePages,...xiaomiSingleButtonPages,...xiaomiDoubleButtonPages,...xiaomiOpple1Pages,...xiaomiOpple2Pages,...xiaomiOpple3Pages,...xiaomiSmartSwitchPages,...xiaomiOtherPages]};