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

import{initSmartThingsButtonPages}from"./map-smartthings-button.js";export function initSmartThingsPages(pageParams){let c=pageParams.constants,smartThingsButtonPages=initSmartThingsButtonPages(pageParams);return[{id:c.PAGE_SMARTTHINGS_PRODUCT,url:"devices-switches/smartthings/page-product.html",eventHandler:[{event:c.ON_ENTRY,actions:[{type:c.SHOW_PAGE,data:c.PAGE_SMARTTHINGS_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_SMARTTHINGS_BUTTON_PRESSED",actions:[{type:c.CALL_PAGE,data:"SMARTTHINGS_BUTTON_PAGE_1"}]}]},...smartThingsButtonPages]};