import * as UiKit from '@rocket.chat/ui-kit' ; export const actionsWithAllSelects = [ { type : 'actions' , elements : [ { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'conversations_select' , } , { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'channels_select' , } , { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'users_select' , } , { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'static_select' , placeholder : { type : 'plain_text' , text : 'Select an item' , emoji : true , } , options : [ { text : { type : 'plain_text' , text : '*this is plain_text text*' , emoji : true , } , value : 'value-0' , } , { text : { type : 'plain_text' , text : '*this is plain_text text*' , emoji : true , } , value : 'value-1' , } , { text : { type : 'plain_text' , text : '*this is plain_text text*' , emoji : true , } , value : 'value-2' , } , ] , } , ] , } , ] as const ; export const actionsWithFilteredConversationsSelect = [ { type : 'actions' , elements : [ { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'conversations_select' , } , ] , } , ] as const ; export const actionsWithInitializedSelects = [ { type : 'actions' , elements : [ { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'conversations_select' , } , { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'users_select' , } , { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'channels_select' , } , ] , } , ] as const ; export const actionsWithButton = [ { type : 'actions' , elements : [ { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'button' , text : { type : 'plain_text' , text : 'Click Me' , emoji : true , } , value : 'click_me_123' , } , ] , } , ] as const ; export const actionsWithButtonAsLink = [ { type : 'actions' , elements : [ { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'button' , text : { type : 'plain_text' , text : 'Click Me' , emoji : true , } , url : 'https://rocket.chat' , value : 'click_me_123' , } , ] , } , ] as const ; export const actionsWithDatePicker = [ { type : 'actions' , elements : [ { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'datepicker' , initialDate : '1990-04-28' , placeholder : { type : 'plain_text' , text : 'Select a date' , emoji : true , } , } , { appId : 'dummy-app-id' , blockId : 'dummy-block-id' , actionId : 'dummy-action-id' , type : 'datepicker' , initialDate : '1990-04-28' , placeholder : { type : 'plain_text' , text : 'Select a date' , emoji : true , } , } , ] , } , ] as const ;