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

import{initGiraHandTransmitterPages}from"./map-gira-hand-transmitter.js";import{initGiraWallTransmitterPages}from"./map-gira-wall-transmitter.js";export function initGiraPages(pageParams){let c=pageParams.constants,giraHandTransmitterPages=initGiraHandTransmitterPages(pageParams),giraWallTransmitterPages=initGiraWallTransmitterPages(pageParams);return[{id:c.PAGE_GIRA_PRODUCT,url:"devices-switches/gira/page-product.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:c.PAGE_GIRA_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_GIRA_HAND_TRANSMITTER_PRESSED",actions:[{type:c.CALL_PAGE,data:"GIRA_HAND_TRANSMITTER_PAGE_RESET"}]},{event:"PRODUCT_GIRA_WALL_TRANSMITTER_PRESSED",actions:[{type:c.CALL_PAGE,data:"GIRA_WALL_TRANSMITTER_PAGE_RESET"}]}]},...giraHandTransmitterPages,...giraWallTransmitterPages]};