@shwfed/config 2.9.8 → 2.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +8 -0
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-ByKzTJkK.js → FieldGroup.vue_vue_type_script_setup_true_lang-B_lv0Qb4.js} +1 -1
- package/dist/preview/assets/badge-DkCzSREV.js +1 -0
- package/dist/preview/assets/config-9Ny1em1E.js +1 -0
- package/dist/preview/assets/config-BO6oZNCA.js +1 -0
- package/dist/preview/assets/config-BQZZzdBi.js +1 -0
- package/dist/preview/assets/config-BzUZdTRZ.js +1 -0
- package/dist/preview/assets/config-CJYUWHSt.js +1 -0
- package/dist/preview/assets/config-CLszlI7X.js +1 -0
- package/dist/preview/assets/config-CfTdhIiz.js +1 -0
- package/dist/preview/assets/config-DG9kUyIX.js +1 -0
- package/dist/preview/assets/{config-DyqhZSFe.js → config-DcOjw4Ib.js} +1 -1
- package/dist/preview/assets/config-DnxWfe-p.js +1 -0
- package/dist/preview/assets/config-IAY_3DyY.js +1 -0
- package/dist/preview/assets/{config-B8qH4_4x.js → config-y0whCdxg.js} +1 -1
- package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-D6Dl1HG7.js +1 -0
- package/dist/preview/assets/{index-CWJ_W3Gk.js → index-BxEz7F0S.js} +1 -1
- package/dist/preview/assets/{index-C1wWjgLL.js → index-CEpio2Ai.js} +206 -189
- package/dist/preview/assets/index-DEk1Sey_.css +1 -0
- package/dist/preview/assets/index-eXjRNljQ.js +1 -0
- package/dist/preview/assets/item-BgY4KzDy.js +1 -0
- package/dist/preview/assets/runtime--G6ZYJWm.js +1 -0
- package/dist/preview/assets/runtime-74HxxB_6.js +1 -0
- package/dist/preview/assets/runtime-B0yAZrhv.js +1 -0
- package/dist/preview/assets/runtime-B1vIYtF_.js +1 -0
- package/dist/preview/assets/runtime-BrfrrA2a.js +1 -0
- package/dist/preview/assets/runtime-BweDVL2G.js +1 -0
- package/dist/preview/assets/runtime-C9L73GlB.js +1 -0
- package/dist/preview/assets/runtime-DIHeE12q.js +1 -0
- package/dist/preview/assets/runtime-DNCNcjrA.js +1 -0
- package/dist/preview/assets/runtime-ObPbN32X.js +1 -0
- package/dist/preview/assets/schema-meta-dmADcmVf.js +1 -0
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +10 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +10 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +5 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +10 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +10 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +5 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.d.vue.ts +2 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.vue.d.ts +2 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +1 -0
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/config.d.vue.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/config.vue.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.d.ts +4 -0
- package/dist/runtime/components/actions/buttons/2026-05-24/com.shwfed.actions.button.state.write/config.d.vue.ts +2 -0
- package/dist/runtime/components/actions/buttons/2026-05-24/com.shwfed.actions.button.state.write/config.vue.d.ts +2 -0
- package/dist/runtime/components/actions/buttons/2026-05-24/com.shwfed.actions.button.state.write/schema.d.ts +1 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.d.vue.ts +2 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.vue.d.ts +2 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +1 -0
- package/dist/runtime/components/actions/components/trigger-row-scope.d.vue.ts +17 -0
- package/dist/runtime/components/actions/components/trigger-row-scope.vue +15 -0
- package/dist/runtime/components/actions/components/trigger-row-scope.vue.d.ts +17 -0
- package/dist/runtime/components/actions/components/triggers-field.d.vue.ts +2 -0
- package/dist/runtime/components/actions/components/triggers-field.vue +29 -7
- package/dist/runtime/components/actions/components/triggers-field.vue.d.ts +2 -0
- package/dist/runtime/components/config/index.vue +5 -1
- package/dist/runtime/components/config/schema.d.ts +5 -0
- package/dist/runtime/components/config/schema.js +10 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +8 -8
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/config.d.vue.ts +33 -0
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/config.vue +130 -0
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/config.vue.d.ts +33 -0
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/runtime.d.ts +2 -0
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/runtime.js +55 -0
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.d.ts +23 -0
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.js +79 -0
- package/dist/runtime/components/operations/utils/resolve.d.ts +16 -1
- package/dist/runtime/components/operations/utils/resolve.js +1 -1
- package/dist/runtime/components/operations/utils/step-vars.d.ts +22 -0
- package/dist/runtime/components/operations/utils/step-vars.js +12 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +1 -1
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +4 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +2 -0
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.d.vue.ts +2 -0
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue +9 -1
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue.d.ts +2 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +2 -2
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +33 -4
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +2 -2
- package/dist/runtime/components/ui/expression-editor/picker-entries.d.ts +3 -2
- package/dist/runtime/components/ui/expression-editor/picker-entries.js +13 -2
- package/dist/runtime/components/ui/expression-editor/step-chip-extension.d.ts +5 -0
- package/dist/runtime/components/ui/expression-editor/step-chip-extension.js +132 -0
- package/dist/runtime/components/ui/expression-editor/step-refs.d.ts +17 -0
- package/dist/runtime/components/ui/expression-editor/step-refs.js +29 -0
- package/dist/runtime/share/event-bus.d.ts +34 -1
- package/dist/runtime/share/event-bus.js +28 -11
- package/dist/runtime/utils/cel-context.d.ts +35 -0
- package/dist/runtime/utils/cel-context.js +8 -0
- package/package.json +1 -1
- package/dist/preview/assets/badge-Dq4c6LC9.js +0 -1
- package/dist/preview/assets/config-BBGDw3Em.js +0 -1
- package/dist/preview/assets/config-C32gE_z0.js +0 -1
- package/dist/preview/assets/config-COfUny1G.js +0 -1
- package/dist/preview/assets/config-CVPTjqGi.js +0 -1
- package/dist/preview/assets/config-CgdFXkLJ.js +0 -1
- package/dist/preview/assets/config-DNr8rSLw.js +0 -1
- package/dist/preview/assets/config-DVEOLj6d.js +0 -1
- package/dist/preview/assets/config-DpRJqJ1d.js +0 -1
- package/dist/preview/assets/config-Dvqs3X3R.js +0 -1
- package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-B0MHEyHj.js +0 -1
- package/dist/preview/assets/index-Br3FtCu2.js +0 -1
- package/dist/preview/assets/index-C1h9lV52.css +0 -1
- package/dist/preview/assets/item-Bp81qizC.js +0 -1
- package/dist/preview/assets/runtime-AHwg8SCY.js +0 -1
- package/dist/preview/assets/runtime-BHWdj0nM.js +0 -1
- package/dist/preview/assets/runtime-Be6zYys6.js +0 -1
- package/dist/preview/assets/runtime-CKj3_07G.js +0 -1
- package/dist/preview/assets/runtime-CVIZYrHD.js +0 -1
- package/dist/preview/assets/runtime-C_F9tcxh.js +0 -1
- package/dist/preview/assets/runtime-DNHuKamx.js +0 -1
- package/dist/preview/assets/runtime-DambLtyb.js +0 -1
- package/dist/preview/assets/runtime-DqkDOQp2.js +0 -1
- package/dist/preview/assets/runtime-UVi5ssie.js +0 -1
|
@@ -5,6 +5,7 @@ type __VLS_ModelProps = {
|
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:modelValue": (value: {
|
|
7
7
|
readonly onError?: readonly {
|
|
8
|
+
readonly id?: string | undefined;
|
|
8
9
|
readonly params?: unknown;
|
|
9
10
|
readonly compatibilityDate?: string | undefined;
|
|
10
11
|
readonly target: string;
|
|
@@ -24,6 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
25
|
readonly message: string;
|
|
25
26
|
}[]];
|
|
26
27
|
readonly before?: readonly {
|
|
28
|
+
readonly id?: string | undefined;
|
|
27
29
|
readonly params?: unknown;
|
|
28
30
|
readonly compatibilityDate?: string | undefined;
|
|
29
31
|
readonly target: string;
|
|
@@ -31,18 +33,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
31
33
|
}[] | undefined;
|
|
32
34
|
readonly expression: string;
|
|
33
35
|
readonly onSuccess?: readonly {
|
|
36
|
+
readonly id?: string | undefined;
|
|
34
37
|
readonly params?: unknown;
|
|
35
38
|
readonly compatibilityDate?: string | undefined;
|
|
36
39
|
readonly target: string;
|
|
37
40
|
readonly operation: string;
|
|
38
41
|
}[] | undefined;
|
|
39
42
|
readonly onWarning?: readonly {
|
|
43
|
+
readonly id?: string | undefined;
|
|
40
44
|
readonly params?: unknown;
|
|
41
45
|
readonly compatibilityDate?: string | undefined;
|
|
42
46
|
readonly target: string;
|
|
43
47
|
readonly operation: string;
|
|
44
48
|
}[] | undefined;
|
|
45
49
|
readonly onInfo?: readonly {
|
|
50
|
+
readonly id?: string | undefined;
|
|
46
51
|
readonly params?: unknown;
|
|
47
52
|
readonly compatibilityDate?: string | undefined;
|
|
48
53
|
readonly target: string;
|
|
@@ -52,6 +57,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
52
57
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
53
58
|
"onUpdate:modelValue"?: ((value: {
|
|
54
59
|
readonly onError?: readonly {
|
|
60
|
+
readonly id?: string | undefined;
|
|
55
61
|
readonly params?: unknown;
|
|
56
62
|
readonly compatibilityDate?: string | undefined;
|
|
57
63
|
readonly target: string;
|
|
@@ -71,6 +77,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
71
77
|
readonly message: string;
|
|
72
78
|
}[]];
|
|
73
79
|
readonly before?: readonly {
|
|
80
|
+
readonly id?: string | undefined;
|
|
74
81
|
readonly params?: unknown;
|
|
75
82
|
readonly compatibilityDate?: string | undefined;
|
|
76
83
|
readonly target: string;
|
|
@@ -78,18 +85,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
78
85
|
}[] | undefined;
|
|
79
86
|
readonly expression: string;
|
|
80
87
|
readonly onSuccess?: readonly {
|
|
88
|
+
readonly id?: string | undefined;
|
|
81
89
|
readonly params?: unknown;
|
|
82
90
|
readonly compatibilityDate?: string | undefined;
|
|
83
91
|
readonly target: string;
|
|
84
92
|
readonly operation: string;
|
|
85
93
|
}[] | undefined;
|
|
86
94
|
readonly onWarning?: readonly {
|
|
95
|
+
readonly id?: string | undefined;
|
|
87
96
|
readonly params?: unknown;
|
|
88
97
|
readonly compatibilityDate?: string | undefined;
|
|
89
98
|
readonly target: string;
|
|
90
99
|
readonly operation: string;
|
|
91
100
|
}[] | undefined;
|
|
92
101
|
readonly onInfo?: readonly {
|
|
102
|
+
readonly id?: string | undefined;
|
|
93
103
|
readonly params?: unknown;
|
|
94
104
|
readonly compatibilityDate?: string | undefined;
|
|
95
105
|
readonly target: string;
|
|
@@ -5,6 +5,7 @@ type __VLS_ModelProps = {
|
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:modelValue": (value: {
|
|
7
7
|
readonly onError?: readonly {
|
|
8
|
+
readonly id?: string | undefined;
|
|
8
9
|
readonly params?: unknown;
|
|
9
10
|
readonly compatibilityDate?: string | undefined;
|
|
10
11
|
readonly target: string;
|
|
@@ -24,6 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
25
|
readonly message: string;
|
|
25
26
|
}[]];
|
|
26
27
|
readonly before?: readonly {
|
|
28
|
+
readonly id?: string | undefined;
|
|
27
29
|
readonly params?: unknown;
|
|
28
30
|
readonly compatibilityDate?: string | undefined;
|
|
29
31
|
readonly target: string;
|
|
@@ -31,18 +33,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
31
33
|
}[] | undefined;
|
|
32
34
|
readonly expression: string;
|
|
33
35
|
readonly onSuccess?: readonly {
|
|
36
|
+
readonly id?: string | undefined;
|
|
34
37
|
readonly params?: unknown;
|
|
35
38
|
readonly compatibilityDate?: string | undefined;
|
|
36
39
|
readonly target: string;
|
|
37
40
|
readonly operation: string;
|
|
38
41
|
}[] | undefined;
|
|
39
42
|
readonly onWarning?: readonly {
|
|
43
|
+
readonly id?: string | undefined;
|
|
40
44
|
readonly params?: unknown;
|
|
41
45
|
readonly compatibilityDate?: string | undefined;
|
|
42
46
|
readonly target: string;
|
|
43
47
|
readonly operation: string;
|
|
44
48
|
}[] | undefined;
|
|
45
49
|
readonly onInfo?: readonly {
|
|
50
|
+
readonly id?: string | undefined;
|
|
46
51
|
readonly params?: unknown;
|
|
47
52
|
readonly compatibilityDate?: string | undefined;
|
|
48
53
|
readonly target: string;
|
|
@@ -52,6 +57,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
52
57
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
53
58
|
"onUpdate:modelValue"?: ((value: {
|
|
54
59
|
readonly onError?: readonly {
|
|
60
|
+
readonly id?: string | undefined;
|
|
55
61
|
readonly params?: unknown;
|
|
56
62
|
readonly compatibilityDate?: string | undefined;
|
|
57
63
|
readonly target: string;
|
|
@@ -71,6 +77,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
71
77
|
readonly message: string;
|
|
72
78
|
}[]];
|
|
73
79
|
readonly before?: readonly {
|
|
80
|
+
readonly id?: string | undefined;
|
|
74
81
|
readonly params?: unknown;
|
|
75
82
|
readonly compatibilityDate?: string | undefined;
|
|
76
83
|
readonly target: string;
|
|
@@ -78,18 +85,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
78
85
|
}[] | undefined;
|
|
79
86
|
readonly expression: string;
|
|
80
87
|
readonly onSuccess?: readonly {
|
|
88
|
+
readonly id?: string | undefined;
|
|
81
89
|
readonly params?: unknown;
|
|
82
90
|
readonly compatibilityDate?: string | undefined;
|
|
83
91
|
readonly target: string;
|
|
84
92
|
readonly operation: string;
|
|
85
93
|
}[] | undefined;
|
|
86
94
|
readonly onWarning?: readonly {
|
|
95
|
+
readonly id?: string | undefined;
|
|
87
96
|
readonly params?: unknown;
|
|
88
97
|
readonly compatibilityDate?: string | undefined;
|
|
89
98
|
readonly target: string;
|
|
90
99
|
readonly operation: string;
|
|
91
100
|
}[] | undefined;
|
|
92
101
|
readonly onInfo?: readonly {
|
|
102
|
+
readonly id?: string | undefined;
|
|
93
103
|
readonly params?: unknown;
|
|
94
104
|
readonly compatibilityDate?: string | undefined;
|
|
95
105
|
readonly target: string;
|
|
@@ -11,6 +11,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
11
11
|
compatibilityDate: Schema.Literal<["2026-04-18"]>;
|
|
12
12
|
expression: Schema.Schema<string, string, never>;
|
|
13
13
|
before: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
14
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
14
15
|
target: Schema.refine<string, typeof Schema.String>;
|
|
15
16
|
operation: Schema.SchemaClass<string, string, never>;
|
|
16
17
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
@@ -28,24 +29,28 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
28
29
|
messageExpression: Schema.optional<Schema.Schema<string, string, never>>;
|
|
29
30
|
resultExpression: Schema.optional<Schema.Schema<string, string, never>>;
|
|
30
31
|
onSuccess: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
32
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
31
33
|
target: Schema.refine<string, typeof Schema.String>;
|
|
32
34
|
operation: Schema.SchemaClass<string, string, never>;
|
|
33
35
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
34
36
|
params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
|
|
35
37
|
}>>>;
|
|
36
38
|
onWarning: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
39
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
37
40
|
target: Schema.refine<string, typeof Schema.String>;
|
|
38
41
|
operation: Schema.SchemaClass<string, string, never>;
|
|
39
42
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
40
43
|
params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
|
|
41
44
|
}>>>;
|
|
42
45
|
onError: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
46
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
43
47
|
target: Schema.refine<string, typeof Schema.String>;
|
|
44
48
|
operation: Schema.SchemaClass<string, string, never>;
|
|
45
49
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
46
50
|
params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
|
|
47
51
|
}>>>;
|
|
48
52
|
onInfo: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
53
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
49
54
|
target: Schema.refine<string, typeof Schema.String>;
|
|
50
55
|
operation: Schema.SchemaClass<string, string, never>;
|
|
51
56
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
@@ -7,6 +7,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
7
7
|
readonly type: "com.shwfed.actions.button.event.dispatch";
|
|
8
8
|
readonly compatibilityDate: "2026-05-15";
|
|
9
9
|
readonly triggers?: readonly {
|
|
10
|
+
readonly id?: string | undefined;
|
|
10
11
|
readonly params?: unknown;
|
|
11
12
|
readonly compatibilityDate?: string | undefined;
|
|
12
13
|
readonly target: string;
|
|
@@ -18,6 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
18
19
|
readonly type: "com.shwfed.actions.button.event.dispatch";
|
|
19
20
|
readonly compatibilityDate: "2026-05-15";
|
|
20
21
|
readonly triggers?: readonly {
|
|
22
|
+
readonly id?: string | undefined;
|
|
21
23
|
readonly params?: unknown;
|
|
22
24
|
readonly compatibilityDate?: string | undefined;
|
|
23
25
|
readonly target: string;
|
|
@@ -7,6 +7,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
7
7
|
readonly type: "com.shwfed.actions.button.event.dispatch";
|
|
8
8
|
readonly compatibilityDate: "2026-05-15";
|
|
9
9
|
readonly triggers?: readonly {
|
|
10
|
+
readonly id?: string | undefined;
|
|
10
11
|
readonly params?: unknown;
|
|
11
12
|
readonly compatibilityDate?: string | undefined;
|
|
12
13
|
readonly target: string;
|
|
@@ -18,6 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
18
19
|
readonly type: "com.shwfed.actions.button.event.dispatch";
|
|
19
20
|
readonly compatibilityDate: "2026-05-15";
|
|
20
21
|
readonly triggers?: readonly {
|
|
22
|
+
readonly id?: string | undefined;
|
|
21
23
|
readonly params?: unknown;
|
|
22
24
|
readonly compatibilityDate?: string | undefined;
|
|
23
25
|
readonly target: string;
|
|
@@ -10,6 +10,7 @@ export declare function schema(_configure: (env: Environment) => void): Schema.S
|
|
|
10
10
|
type: Schema.Literal<["com.shwfed.actions.button.event.dispatch"]>;
|
|
11
11
|
compatibilityDate: Schema.Literal<["2026-05-15"]>;
|
|
12
12
|
triggers: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
13
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
13
14
|
target: Schema.refine<string, typeof Schema.String>;
|
|
14
15
|
operation: Schema.SchemaClass<string, string, never>;
|
|
15
16
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
@@ -9,6 +9,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
9
9
|
readonly request: string;
|
|
10
10
|
};
|
|
11
11
|
readonly onError?: readonly {
|
|
12
|
+
readonly id?: string | undefined;
|
|
12
13
|
readonly params?: unknown;
|
|
13
14
|
readonly compatibilityDate?: string | undefined;
|
|
14
15
|
readonly target: string;
|
|
@@ -19,18 +20,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
19
20
|
readonly messageExpression?: string | undefined;
|
|
20
21
|
readonly resultExpression?: string | undefined;
|
|
21
22
|
readonly onSuccess?: readonly {
|
|
23
|
+
readonly id?: string | undefined;
|
|
22
24
|
readonly params?: unknown;
|
|
23
25
|
readonly compatibilityDate?: string | undefined;
|
|
24
26
|
readonly target: string;
|
|
25
27
|
readonly operation: string;
|
|
26
28
|
}[] | undefined;
|
|
27
29
|
readonly onWarning?: readonly {
|
|
30
|
+
readonly id?: string | undefined;
|
|
28
31
|
readonly params?: unknown;
|
|
29
32
|
readonly compatibilityDate?: string | undefined;
|
|
30
33
|
readonly target: string;
|
|
31
34
|
readonly operation: string;
|
|
32
35
|
}[] | undefined;
|
|
33
36
|
readonly onInfo?: readonly {
|
|
37
|
+
readonly id?: string | undefined;
|
|
34
38
|
readonly params?: unknown;
|
|
35
39
|
readonly compatibilityDate?: string | undefined;
|
|
36
40
|
readonly target: string;
|
|
@@ -44,6 +48,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
44
48
|
readonly request: string;
|
|
45
49
|
};
|
|
46
50
|
readonly onError?: readonly {
|
|
51
|
+
readonly id?: string | undefined;
|
|
47
52
|
readonly params?: unknown;
|
|
48
53
|
readonly compatibilityDate?: string | undefined;
|
|
49
54
|
readonly target: string;
|
|
@@ -54,18 +59,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
54
59
|
readonly messageExpression?: string | undefined;
|
|
55
60
|
readonly resultExpression?: string | undefined;
|
|
56
61
|
readonly onSuccess?: readonly {
|
|
62
|
+
readonly id?: string | undefined;
|
|
57
63
|
readonly params?: unknown;
|
|
58
64
|
readonly compatibilityDate?: string | undefined;
|
|
59
65
|
readonly target: string;
|
|
60
66
|
readonly operation: string;
|
|
61
67
|
}[] | undefined;
|
|
62
68
|
readonly onWarning?: readonly {
|
|
69
|
+
readonly id?: string | undefined;
|
|
63
70
|
readonly params?: unknown;
|
|
64
71
|
readonly compatibilityDate?: string | undefined;
|
|
65
72
|
readonly target: string;
|
|
66
73
|
readonly operation: string;
|
|
67
74
|
}[] | undefined;
|
|
68
75
|
readonly onInfo?: readonly {
|
|
76
|
+
readonly id?: string | undefined;
|
|
69
77
|
readonly params?: unknown;
|
|
70
78
|
readonly compatibilityDate?: string | undefined;
|
|
71
79
|
readonly target: string;
|
|
@@ -9,6 +9,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
9
9
|
readonly request: string;
|
|
10
10
|
};
|
|
11
11
|
readonly onError?: readonly {
|
|
12
|
+
readonly id?: string | undefined;
|
|
12
13
|
readonly params?: unknown;
|
|
13
14
|
readonly compatibilityDate?: string | undefined;
|
|
14
15
|
readonly target: string;
|
|
@@ -19,18 +20,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
19
20
|
readonly messageExpression?: string | undefined;
|
|
20
21
|
readonly resultExpression?: string | undefined;
|
|
21
22
|
readonly onSuccess?: readonly {
|
|
23
|
+
readonly id?: string | undefined;
|
|
22
24
|
readonly params?: unknown;
|
|
23
25
|
readonly compatibilityDate?: string | undefined;
|
|
24
26
|
readonly target: string;
|
|
25
27
|
readonly operation: string;
|
|
26
28
|
}[] | undefined;
|
|
27
29
|
readonly onWarning?: readonly {
|
|
30
|
+
readonly id?: string | undefined;
|
|
28
31
|
readonly params?: unknown;
|
|
29
32
|
readonly compatibilityDate?: string | undefined;
|
|
30
33
|
readonly target: string;
|
|
31
34
|
readonly operation: string;
|
|
32
35
|
}[] | undefined;
|
|
33
36
|
readonly onInfo?: readonly {
|
|
37
|
+
readonly id?: string | undefined;
|
|
34
38
|
readonly params?: unknown;
|
|
35
39
|
readonly compatibilityDate?: string | undefined;
|
|
36
40
|
readonly target: string;
|
|
@@ -44,6 +48,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
44
48
|
readonly request: string;
|
|
45
49
|
};
|
|
46
50
|
readonly onError?: readonly {
|
|
51
|
+
readonly id?: string | undefined;
|
|
47
52
|
readonly params?: unknown;
|
|
48
53
|
readonly compatibilityDate?: string | undefined;
|
|
49
54
|
readonly target: string;
|
|
@@ -54,18 +59,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
54
59
|
readonly messageExpression?: string | undefined;
|
|
55
60
|
readonly resultExpression?: string | undefined;
|
|
56
61
|
readonly onSuccess?: readonly {
|
|
62
|
+
readonly id?: string | undefined;
|
|
57
63
|
readonly params?: unknown;
|
|
58
64
|
readonly compatibilityDate?: string | undefined;
|
|
59
65
|
readonly target: string;
|
|
60
66
|
readonly operation: string;
|
|
61
67
|
}[] | undefined;
|
|
62
68
|
readonly onWarning?: readonly {
|
|
69
|
+
readonly id?: string | undefined;
|
|
63
70
|
readonly params?: unknown;
|
|
64
71
|
readonly compatibilityDate?: string | undefined;
|
|
65
72
|
readonly target: string;
|
|
66
73
|
readonly operation: string;
|
|
67
74
|
}[] | undefined;
|
|
68
75
|
readonly onInfo?: readonly {
|
|
76
|
+
readonly id?: string | undefined;
|
|
69
77
|
readonly params?: unknown;
|
|
70
78
|
readonly compatibilityDate?: string | undefined;
|
|
71
79
|
readonly target: string;
|
|
@@ -21,24 +21,28 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
21
21
|
messageExpression: Schema.optional<Schema.Schema<string, string, never>>;
|
|
22
22
|
resultExpression: Schema.optional<Schema.Schema<string, string, never>>;
|
|
23
23
|
onSuccess: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
24
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
24
25
|
target: Schema.refine<string, typeof Schema.String>;
|
|
25
26
|
operation: Schema.SchemaClass<string, string, never>;
|
|
26
27
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
27
28
|
params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
|
|
28
29
|
}>>>;
|
|
29
30
|
onWarning: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
31
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
30
32
|
target: Schema.refine<string, typeof Schema.String>;
|
|
31
33
|
operation: Schema.SchemaClass<string, string, never>;
|
|
32
34
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
33
35
|
params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
|
|
34
36
|
}>>>;
|
|
35
37
|
onError: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
38
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
36
39
|
target: Schema.refine<string, typeof Schema.String>;
|
|
37
40
|
operation: Schema.SchemaClass<string, string, never>;
|
|
38
41
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
39
42
|
params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
|
|
40
43
|
}>>>;
|
|
41
44
|
onInfo: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
45
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
42
46
|
target: Schema.refine<string, typeof Schema.String>;
|
|
43
47
|
operation: Schema.SchemaClass<string, string, never>;
|
|
44
48
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
@@ -8,6 +8,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
8
8
|
readonly compatibilityDate: "2026-05-24";
|
|
9
9
|
readonly expression: string;
|
|
10
10
|
readonly onSuccess?: readonly {
|
|
11
|
+
readonly id?: string | undefined;
|
|
11
12
|
readonly params?: unknown;
|
|
12
13
|
readonly compatibilityDate?: string | undefined;
|
|
13
14
|
readonly target: string;
|
|
@@ -20,6 +21,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
20
21
|
readonly compatibilityDate: "2026-05-24";
|
|
21
22
|
readonly expression: string;
|
|
22
23
|
readonly onSuccess?: readonly {
|
|
24
|
+
readonly id?: string | undefined;
|
|
23
25
|
readonly params?: unknown;
|
|
24
26
|
readonly compatibilityDate?: string | undefined;
|
|
25
27
|
readonly target: string;
|
|
@@ -8,6 +8,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
8
8
|
readonly compatibilityDate: "2026-05-24";
|
|
9
9
|
readonly expression: string;
|
|
10
10
|
readonly onSuccess?: readonly {
|
|
11
|
+
readonly id?: string | undefined;
|
|
11
12
|
readonly params?: unknown;
|
|
12
13
|
readonly compatibilityDate?: string | undefined;
|
|
13
14
|
readonly target: string;
|
|
@@ -20,6 +21,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
20
21
|
readonly compatibilityDate: "2026-05-24";
|
|
21
22
|
readonly expression: string;
|
|
22
23
|
readonly onSuccess?: readonly {
|
|
24
|
+
readonly id?: string | undefined;
|
|
23
25
|
readonly params?: unknown;
|
|
24
26
|
readonly compatibilityDate?: string | undefined;
|
|
25
27
|
readonly target: string;
|
|
@@ -11,6 +11,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
11
11
|
compatibilityDate: Schema.Literal<["2026-05-24"]>;
|
|
12
12
|
expression: Schema.Schema<string, string, never>;
|
|
13
13
|
onSuccess: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
14
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
14
15
|
target: Schema.refine<string, typeof Schema.String>;
|
|
15
16
|
operation: Schema.SchemaClass<string, string, never>;
|
|
16
17
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
@@ -17,6 +17,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
17
17
|
readonly message: string;
|
|
18
18
|
}[]] | undefined;
|
|
19
19
|
readonly before?: readonly {
|
|
20
|
+
readonly id?: string | undefined;
|
|
20
21
|
readonly params?: unknown;
|
|
21
22
|
readonly compatibilityDate?: string | undefined;
|
|
22
23
|
readonly target: string;
|
|
@@ -39,6 +40,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
40
|
readonly message: string;
|
|
40
41
|
}[]] | undefined;
|
|
41
42
|
readonly before?: readonly {
|
|
43
|
+
readonly id?: string | undefined;
|
|
42
44
|
readonly params?: unknown;
|
|
43
45
|
readonly compatibilityDate?: string | undefined;
|
|
44
46
|
readonly target: string;
|
|
@@ -17,6 +17,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
17
17
|
readonly message: string;
|
|
18
18
|
}[]] | undefined;
|
|
19
19
|
readonly before?: readonly {
|
|
20
|
+
readonly id?: string | undefined;
|
|
20
21
|
readonly params?: unknown;
|
|
21
22
|
readonly compatibilityDate?: string | undefined;
|
|
22
23
|
readonly target: string;
|
|
@@ -39,6 +40,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
40
|
readonly message: string;
|
|
40
41
|
}[]] | undefined;
|
|
41
42
|
readonly before?: readonly {
|
|
43
|
+
readonly id?: string | undefined;
|
|
42
44
|
readonly params?: unknown;
|
|
43
45
|
readonly compatibilityDate?: string | undefined;
|
|
44
46
|
readonly target: string;
|
|
@@ -11,6 +11,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
11
11
|
compatibilityDate: Schema.Literal<["2026-06-08"]>;
|
|
12
12
|
expression: Schema.Schema<string, string, never>;
|
|
13
13
|
before: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
14
|
+
id: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
14
15
|
target: Schema.refine<string, typeof Schema.String>;
|
|
15
16
|
operation: Schema.SchemaClass<string, string, never>;
|
|
16
17
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type StepRef } from '../../../utils/cel-context.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
roster: ReadonlyArray<StepRef>;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
import { provideCELContext, provideStepRoster, STEPS_VAR } from "../../../utils/cel-context";
|
|
4
|
+
import { stepsCelVar } from "../../operations/utils/step-vars";
|
|
5
|
+
defineOptions({ name: "ShwfedTriggerRowScope" });
|
|
6
|
+
const props = defineProps({
|
|
7
|
+
roster: { type: Array, required: true }
|
|
8
|
+
});
|
|
9
|
+
provideStepRoster(computed(() => props.roster));
|
|
10
|
+
provideCELContext({ [STEPS_VAR]: stepsCelVar() });
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<slot />
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type StepRef } from '../../../utils/cel-context.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
roster: ReadonlyArray<StepRef>;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:triggers": (triggers: readonly {
|
|
7
|
+
readonly id?: string | undefined;
|
|
7
8
|
readonly params?: unknown;
|
|
8
9
|
readonly compatibilityDate?: string | undefined;
|
|
9
10
|
readonly target: string;
|
|
@@ -11,6 +12,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
12
|
}[]) => any;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
14
|
"onUpdate:triggers"?: ((triggers: readonly {
|
|
15
|
+
readonly id?: string | undefined;
|
|
14
16
|
readonly params?: unknown;
|
|
15
17
|
readonly compatibilityDate?: string | undefined;
|
|
16
18
|
readonly target: string;
|
|
@@ -3,6 +3,7 @@ import { computed, ref } from "vue";
|
|
|
3
3
|
import { Icon } from "@iconify/vue";
|
|
4
4
|
import { useEventAncestry } from "../../../share/event-bus";
|
|
5
5
|
import { findOperation } from "../../operations/utils/resolve";
|
|
6
|
+
import TriggerRowScope from "./trigger-row-scope.vue";
|
|
6
7
|
import {
|
|
7
8
|
useTreeDnd
|
|
8
9
|
} from "../../../composables/useTreeDnd";
|
|
@@ -60,6 +61,7 @@ function addTrigger(option) {
|
|
|
60
61
|
emit("update:triggers", [
|
|
61
62
|
...props.triggers,
|
|
62
63
|
{
|
|
64
|
+
id: crypto.randomUUID(),
|
|
63
65
|
target: option.target,
|
|
64
66
|
operation: option.operation,
|
|
65
67
|
compatibilityDate: option.compatibilityDate,
|
|
@@ -70,7 +72,7 @@ function addTrigger(option) {
|
|
|
70
72
|
}
|
|
71
73
|
emit("update:triggers", [
|
|
72
74
|
...props.triggers,
|
|
73
|
-
{ target: option.target, operation: option.operation }
|
|
75
|
+
{ id: crypto.randomUUID(), target: option.target, operation: option.operation }
|
|
74
76
|
]);
|
|
75
77
|
}
|
|
76
78
|
function updateParams(index, params) {
|
|
@@ -88,6 +90,22 @@ function opConfigFor(trigger) {
|
|
|
88
90
|
function removeTrigger(index) {
|
|
89
91
|
emit("update:triggers", props.triggers.filter((_, i) => i !== index));
|
|
90
92
|
}
|
|
93
|
+
const publishingSteps = computed(
|
|
94
|
+
() => props.triggers.flatMap((trigger, index) => {
|
|
95
|
+
if (!trigger.id || !trigger.compatibilityDate) return [];
|
|
96
|
+
const output = findOperation(trigger.operation, trigger.compatibilityDate)?.metadata.output;
|
|
97
|
+
if (!output) return [];
|
|
98
|
+
return [{ id: trigger.id, index, output }];
|
|
99
|
+
})
|
|
100
|
+
);
|
|
101
|
+
function stepRosterFor(index) {
|
|
102
|
+
return publishingSteps.value.map((step) => ({
|
|
103
|
+
id: step.id,
|
|
104
|
+
label: `\u7B2C ${step.index + 1} \u6B65`,
|
|
105
|
+
valid: step.index < index,
|
|
106
|
+
description: step.output
|
|
107
|
+
}));
|
|
108
|
+
}
|
|
91
109
|
const ROW_KIND = "shwfed-trigger-row";
|
|
92
110
|
function moveTrigger(from, to) {
|
|
93
111
|
if (from === to) return;
|
|
@@ -210,17 +228,21 @@ function rowConfig(rowKey) {
|
|
|
210
228
|
<!-- Parameterized op: its own `config.vue`, bound to the trigger's
|
|
211
229
|
`params`. Param-less ops and dangling rows render nothing here.
|
|
212
230
|
`v-show` (not `v-if`) so the editor stays mounted while collapsed —
|
|
213
|
-
its draft state and continuous validation keep running.
|
|
231
|
+
its draft state and continuous validation keep running. The
|
|
232
|
+
row-scope wrapper provides this row's step roster (earlier rows'
|
|
233
|
+
outputs) to the param editor's ExpressionEditors. -->
|
|
214
234
|
<div
|
|
215
235
|
v-if="opConfigFor(row.trigger)"
|
|
216
236
|
v-show="!collapsed.has(row.key)"
|
|
217
237
|
class="mt-2 rounded-md border border-zinc-200 bg-zinc-50/50 p-3"
|
|
218
238
|
>
|
|
219
|
-
<
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
239
|
+
<TriggerRowScope :roster="stepRosterFor(index)">
|
|
240
|
+
<component
|
|
241
|
+
:is="opConfigFor(row.trigger)"
|
|
242
|
+
:model-value="row.trigger.params ?? {}"
|
|
243
|
+
@update:model-value="(v) => updateParams(index, v)"
|
|
244
|
+
/>
|
|
245
|
+
</TriggerRowScope>
|
|
224
246
|
</div>
|
|
225
247
|
</div>
|
|
226
248
|
|
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:triggers": (triggers: readonly {
|
|
7
|
+
readonly id?: string | undefined;
|
|
7
8
|
readonly params?: unknown;
|
|
8
9
|
readonly compatibilityDate?: string | undefined;
|
|
9
10
|
readonly target: string;
|
|
@@ -11,6 +12,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
11
12
|
}[]) => any;
|
|
12
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
14
|
"onUpdate:triggers"?: ((triggers: readonly {
|
|
15
|
+
readonly id?: string | undefined;
|
|
14
16
|
readonly params?: unknown;
|
|
15
17
|
readonly compatibilityDate?: string | undefined;
|
|
16
18
|
readonly target: string;
|
|
@@ -15,6 +15,7 @@ import EditorFooter from "./footer.vue";
|
|
|
15
15
|
import { provideEventTarget } from "../../share/event-bus";
|
|
16
16
|
import { operationHandlers } from "../operations/utils/resolve";
|
|
17
17
|
import * as alertOperation from "../operations/2026-06-09/com.shwfed.operation.alert/schema";
|
|
18
|
+
import * as httpRequestOperation from "../operations/2026-06-11/com.shwfed.operation.http.request.json/schema";
|
|
18
19
|
import { PAGE_TARGET_ID, createPageConfig } from "./schema";
|
|
19
20
|
import { useConfigEditor } from "./use-editor";
|
|
20
21
|
import { findBlock } from "./utils/resolve";
|
|
@@ -52,7 +53,10 @@ provideEventTarget(PAGE_TARGET_ID, {
|
|
|
52
53
|
return yield* Effect.die(new PageClosed());
|
|
53
54
|
}),
|
|
54
55
|
...operationHandlers(
|
|
55
|
-
[
|
|
56
|
+
[
|
|
57
|
+
{ type: alertOperation.type, compatibilityDate: alertOperation.compatibilityDate },
|
|
58
|
+
{ type: httpRequestOperation.type, compatibilityDate: httpRequestOperation.compatibilityDate }
|
|
59
|
+
],
|
|
56
60
|
{ cel: $cel, locale: () => locale.value }
|
|
57
61
|
)
|
|
58
62
|
});
|