ボタンクリックイベント対応

This commit is contained in:
2024-03-01 22:47:37 +09:00
parent 72608a8ffd
commit 03904a4e35
19 changed files with 676 additions and 1419 deletions

View File

@@ -1,6 +1,6 @@
import { defineStore } from 'pinia';
import { AppInfo ,IActionFlow, IActionNode} from 'src/types/ActionTypes';
import { kintoneEvents,IKintoneEvent,KintoneEventManager } from 'src/types/KintoneEvents';
import { IKintoneEvent,KintoneEventManager } from 'src/types/KintoneEvents';
import {FlowCtrl } from '../control/flowctrl';
export interface FlowEditorState{
@@ -14,6 +14,7 @@ export interface FlowEditorState{
expandedScreen:any[];
}
const flowCtrl=new FlowCtrl();
const eventTree = new KintoneEventManager();
export const useFlowEditorStore = defineStore("flowEditor",{
state: ():FlowEditorState => ({
flowNames1: '',
@@ -21,7 +22,7 @@ export const useFlowEditorStore = defineStore("flowEditor",{
flows:[],
selectedFlow:undefined,
activeNode:undefined,
eventTree:kintoneEvents,
eventTree:eventTree,
selectedEvent:undefined,
expandedScreen:[]
}),