@shwfed/config 2.12.1 → 2.12.3
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/module.json +1 -1
- package/dist/module.mjs +10 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +34 -34
- package/dist/runtime/components/form/config.vue +17 -6
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue +8 -1
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.d.vue.ts +32 -32
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.vue.d.ts +32 -32
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue +10 -2
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/config.d.vue.ts +32 -32
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/config.vue.d.ts +32 -32
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue +10 -2
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue +19 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue +19 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +20 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +20 -1
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.d.vue.ts +32 -32
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue.d.ts +32 -32
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue +10 -2
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.d.vue.ts +32 -32
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue.d.ts +32 -32
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue +10 -2
- package/dist/runtime/components/form/index.vue +6 -3
- package/dist/runtime/components/form/utils/form-vars.js +2 -1
- package/dist/runtime/components/head.d.vue.ts +13 -0
- package/dist/runtime/components/head.vue +69 -0
- package/dist/runtime/components/head.vue.d.ts +13 -0
- package/dist/runtime/components/sidebar/config.d.vue.ts +7 -0
- package/dist/runtime/components/sidebar/config.vue +302 -0
- package/dist/runtime/components/sidebar/config.vue.d.ts +7 -0
- package/dist/runtime/components/sidebar/favorites.d.ts +18 -0
- package/dist/runtime/components/sidebar/favorites.js +20 -0
- package/dist/runtime/components/sidebar/footer.d.vue.ts +11 -0
- package/dist/runtime/components/sidebar/footer.vue +49 -0
- package/dist/runtime/components/sidebar/footer.vue.d.ts +11 -0
- package/dist/runtime/components/sidebar/index.d.vue.ts +50 -0
- package/dist/runtime/components/sidebar/index.vue +100 -0
- package/dist/runtime/components/sidebar/index.vue.d.ts +50 -0
- package/dist/runtime/components/sidebar/node.d.vue.ts +9 -0
- package/dist/runtime/components/sidebar/node.vue +102 -0
- package/dist/runtime/components/sidebar/node.vue.d.ts +9 -0
- package/dist/runtime/components/sidebar/schema.d.ts +72 -0
- package/dist/runtime/components/sidebar/schema.js +84 -0
- package/dist/runtime/components/sidebar/tree.d.vue.ts +10 -0
- package/dist/runtime/components/sidebar/tree.vue +260 -0
- package/dist/runtime/components/sidebar/tree.vue.d.ts +10 -0
- package/dist/runtime/components/sidebar/types.d.ts +19 -0
- package/dist/runtime/components/sidebar/types.js +0 -0
- package/dist/runtime/components/sidebar/use-editor.d.ts +18 -0
- package/dist/runtime/components/sidebar/use-editor.js +43 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +36 -36
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +36 -36
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +40 -40
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +40 -40
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +36 -36
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +36 -36
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +40 -40
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +40 -40
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +26 -26
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +26 -26
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +26 -26
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +26 -26
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/schema.d.ts +68 -68
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.d.vue.ts +1 -0
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue +8 -0
- package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue.d.ts +1 -0
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +3 -2
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +51 -9
- package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +3 -2
- package/dist/runtime/components/ui/expression-editor/option-chip-extension.d.ts +4 -0
- package/dist/runtime/components/ui/expression-editor/option-chip-extension.js +119 -0
- package/dist/runtime/components/ui/expression-editor/option-refs.d.ts +6 -0
- package/dist/runtime/components/ui/expression-editor/option-refs.js +24 -0
- package/dist/runtime/components/ui/expression-editor/picker-entries.d.ts +2 -1
- package/dist/runtime/components/ui/expression-editor/picker-entries.js +12 -2
- package/dist/runtime/utils/cel-context.d.ts +1 -0
- package/dist/runtime/utils/cel-context.js +1 -0
- package/dist/runtime/utils/selections-registry.d.ts +40 -6
- package/dist/runtime/utils/selections-registry.js +19 -4
- package/dist/runtime/vendor/cel-js/CLAUDE.md +2 -0
- package/dist/runtime/vendor/cel-js/PROMPT.md +2 -0
- package/dist/runtime/vendor/cel-js/lib/functions.js +33 -0
- package/package.json +1 -1
|
@@ -24,25 +24,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
}[]] | undefined;
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
|
-
readonly compatibilityDate: "2026-05-28";
|
|
28
|
-
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
|
-
readonly placeholder?: readonly [{
|
|
30
|
-
readonly locale: "zh";
|
|
31
|
-
readonly message: string;
|
|
32
|
-
}, ...{
|
|
33
|
-
readonly locale: "en" | "ja" | "ko";
|
|
34
|
-
readonly message: string;
|
|
35
|
-
}[]] | undefined;
|
|
36
|
-
readonly readonly?: string | undefined;
|
|
37
|
-
readonly binding?: string | undefined;
|
|
38
|
-
readonly derived?: {
|
|
39
|
-
readonly mode: "formula" | "prefill";
|
|
40
|
-
readonly expression: string;
|
|
41
|
-
} | undefined;
|
|
42
27
|
readonly options: {
|
|
43
28
|
readonly kind: "remote";
|
|
44
|
-
readonly request?: string | undefined;
|
|
45
29
|
readonly options: string;
|
|
30
|
+
readonly request?: string | undefined;
|
|
46
31
|
readonly optionValue: string;
|
|
47
32
|
readonly optionLabel: readonly [{
|
|
48
33
|
readonly locale: "zh";
|
|
@@ -80,6 +65,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
80
65
|
readonly keywords?: readonly string[] | undefined;
|
|
81
66
|
}[];
|
|
82
67
|
};
|
|
68
|
+
readonly compatibilityDate: "2026-05-28";
|
|
69
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
70
|
+
readonly placeholder?: readonly [{
|
|
71
|
+
readonly locale: "zh";
|
|
72
|
+
readonly message: string;
|
|
73
|
+
}, ...{
|
|
74
|
+
readonly locale: "en" | "ja" | "ko";
|
|
75
|
+
readonly message: string;
|
|
76
|
+
}[]] | undefined;
|
|
77
|
+
readonly readonly?: string | undefined;
|
|
78
|
+
readonly binding?: string | undefined;
|
|
79
|
+
readonly derived?: {
|
|
80
|
+
readonly mode: "formula" | "prefill";
|
|
81
|
+
readonly expression: string;
|
|
82
|
+
} | undefined;
|
|
83
83
|
readonly validations?: readonly {
|
|
84
84
|
readonly message: readonly [{
|
|
85
85
|
readonly locale: "zh";
|
|
@@ -114,25 +114,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
114
114
|
}[]] | undefined;
|
|
115
115
|
readonly required?: string | undefined;
|
|
116
116
|
readonly displayName?: string | undefined;
|
|
117
|
-
readonly compatibilityDate: "2026-05-28";
|
|
118
|
-
readonly orientation?: "vertical" | "floating" | undefined;
|
|
119
|
-
readonly placeholder?: readonly [{
|
|
120
|
-
readonly locale: "zh";
|
|
121
|
-
readonly message: string;
|
|
122
|
-
}, ...{
|
|
123
|
-
readonly locale: "en" | "ja" | "ko";
|
|
124
|
-
readonly message: string;
|
|
125
|
-
}[]] | undefined;
|
|
126
|
-
readonly readonly?: string | undefined;
|
|
127
|
-
readonly binding?: string | undefined;
|
|
128
|
-
readonly derived?: {
|
|
129
|
-
readonly mode: "formula" | "prefill";
|
|
130
|
-
readonly expression: string;
|
|
131
|
-
} | undefined;
|
|
132
117
|
readonly options: {
|
|
133
118
|
readonly kind: "remote";
|
|
134
|
-
readonly request?: string | undefined;
|
|
135
119
|
readonly options: string;
|
|
120
|
+
readonly request?: string | undefined;
|
|
136
121
|
readonly optionValue: string;
|
|
137
122
|
readonly optionLabel: readonly [{
|
|
138
123
|
readonly locale: "zh";
|
|
@@ -170,6 +155,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
170
155
|
readonly keywords?: readonly string[] | undefined;
|
|
171
156
|
}[];
|
|
172
157
|
};
|
|
158
|
+
readonly compatibilityDate: "2026-05-28";
|
|
159
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
160
|
+
readonly placeholder?: readonly [{
|
|
161
|
+
readonly locale: "zh";
|
|
162
|
+
readonly message: string;
|
|
163
|
+
}, ...{
|
|
164
|
+
readonly locale: "en" | "ja" | "ko";
|
|
165
|
+
readonly message: string;
|
|
166
|
+
}[]] | undefined;
|
|
167
|
+
readonly readonly?: string | undefined;
|
|
168
|
+
readonly binding?: string | undefined;
|
|
169
|
+
readonly derived?: {
|
|
170
|
+
readonly mode: "formula" | "prefill";
|
|
171
|
+
readonly expression: string;
|
|
172
|
+
} | undefined;
|
|
173
173
|
readonly validations?: readonly {
|
|
174
174
|
readonly message: readonly [{
|
|
175
175
|
readonly locale: "zh";
|
|
@@ -24,25 +24,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
}[]] | undefined;
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
|
-
readonly compatibilityDate: "2026-05-28";
|
|
28
|
-
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
|
-
readonly placeholder?: readonly [{
|
|
30
|
-
readonly locale: "zh";
|
|
31
|
-
readonly message: string;
|
|
32
|
-
}, ...{
|
|
33
|
-
readonly locale: "en" | "ja" | "ko";
|
|
34
|
-
readonly message: string;
|
|
35
|
-
}[]] | undefined;
|
|
36
|
-
readonly readonly?: string | undefined;
|
|
37
|
-
readonly binding?: string | undefined;
|
|
38
|
-
readonly derived?: {
|
|
39
|
-
readonly mode: "formula" | "prefill";
|
|
40
|
-
readonly expression: string;
|
|
41
|
-
} | undefined;
|
|
42
27
|
readonly options: {
|
|
43
28
|
readonly kind: "remote";
|
|
44
|
-
readonly request?: string | undefined;
|
|
45
29
|
readonly options: string;
|
|
30
|
+
readonly request?: string | undefined;
|
|
46
31
|
readonly optionValue: string;
|
|
47
32
|
readonly optionLabel: readonly [{
|
|
48
33
|
readonly locale: "zh";
|
|
@@ -80,6 +65,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
80
65
|
readonly keywords?: readonly string[] | undefined;
|
|
81
66
|
}[];
|
|
82
67
|
};
|
|
68
|
+
readonly compatibilityDate: "2026-05-28";
|
|
69
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
70
|
+
readonly placeholder?: readonly [{
|
|
71
|
+
readonly locale: "zh";
|
|
72
|
+
readonly message: string;
|
|
73
|
+
}, ...{
|
|
74
|
+
readonly locale: "en" | "ja" | "ko";
|
|
75
|
+
readonly message: string;
|
|
76
|
+
}[]] | undefined;
|
|
77
|
+
readonly readonly?: string | undefined;
|
|
78
|
+
readonly binding?: string | undefined;
|
|
79
|
+
readonly derived?: {
|
|
80
|
+
readonly mode: "formula" | "prefill";
|
|
81
|
+
readonly expression: string;
|
|
82
|
+
} | undefined;
|
|
83
83
|
readonly validations?: readonly {
|
|
84
84
|
readonly message: readonly [{
|
|
85
85
|
readonly locale: "zh";
|
|
@@ -114,25 +114,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
114
114
|
}[]] | undefined;
|
|
115
115
|
readonly required?: string | undefined;
|
|
116
116
|
readonly displayName?: string | undefined;
|
|
117
|
-
readonly compatibilityDate: "2026-05-28";
|
|
118
|
-
readonly orientation?: "vertical" | "floating" | undefined;
|
|
119
|
-
readonly placeholder?: readonly [{
|
|
120
|
-
readonly locale: "zh";
|
|
121
|
-
readonly message: string;
|
|
122
|
-
}, ...{
|
|
123
|
-
readonly locale: "en" | "ja" | "ko";
|
|
124
|
-
readonly message: string;
|
|
125
|
-
}[]] | undefined;
|
|
126
|
-
readonly readonly?: string | undefined;
|
|
127
|
-
readonly binding?: string | undefined;
|
|
128
|
-
readonly derived?: {
|
|
129
|
-
readonly mode: "formula" | "prefill";
|
|
130
|
-
readonly expression: string;
|
|
131
|
-
} | undefined;
|
|
132
117
|
readonly options: {
|
|
133
118
|
readonly kind: "remote";
|
|
134
|
-
readonly request?: string | undefined;
|
|
135
119
|
readonly options: string;
|
|
120
|
+
readonly request?: string | undefined;
|
|
136
121
|
readonly optionValue: string;
|
|
137
122
|
readonly optionLabel: readonly [{
|
|
138
123
|
readonly locale: "zh";
|
|
@@ -170,6 +155,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
170
155
|
readonly keywords?: readonly string[] | undefined;
|
|
171
156
|
}[];
|
|
172
157
|
};
|
|
158
|
+
readonly compatibilityDate: "2026-05-28";
|
|
159
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
160
|
+
readonly placeholder?: readonly [{
|
|
161
|
+
readonly locale: "zh";
|
|
162
|
+
readonly message: string;
|
|
163
|
+
}, ...{
|
|
164
|
+
readonly locale: "en" | "ja" | "ko";
|
|
165
|
+
readonly message: string;
|
|
166
|
+
}[]] | undefined;
|
|
167
|
+
readonly readonly?: string | undefined;
|
|
168
|
+
readonly binding?: string | undefined;
|
|
169
|
+
readonly derived?: {
|
|
170
|
+
readonly mode: "formula" | "prefill";
|
|
171
|
+
readonly expression: string;
|
|
172
|
+
} | undefined;
|
|
173
173
|
readonly validations?: readonly {
|
|
174
174
|
readonly message: readonly [{
|
|
175
175
|
readonly locale: "zh";
|
|
@@ -8,7 +8,7 @@ import { useI18n } from "vue-i18n";
|
|
|
8
8
|
import { asRequest, fetchJsonOption } from "../../../../../share/request";
|
|
9
9
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
10
10
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
11
|
-
import { publishSelection } from "../../../../../utils/selections-registry";
|
|
11
|
+
import { publishOptions, publishSelection } from "../../../../../utils/selections-registry";
|
|
12
12
|
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
13
13
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
14
14
|
import {
|
|
@@ -251,7 +251,15 @@ publishSelection(
|
|
|
251
251
|
props.fieldId,
|
|
252
252
|
() => selectedEntries.value.length > 0 ? selectedEntries.value : void 0,
|
|
253
253
|
{
|
|
254
|
-
identity: (list) => list.map((e) => e.key).join("
|
|
254
|
+
identity: (list) => list.map((e) => `${e.key}\0${String(e.value)}`).join(""),
|
|
255
|
+
raw: (list) => list.map((e) => e.raw)
|
|
256
|
+
}
|
|
257
|
+
);
|
|
258
|
+
publishOptions(
|
|
259
|
+
props.fieldId,
|
|
260
|
+
() => entries.value.length > 0 ? entries.value : void 0,
|
|
261
|
+
{
|
|
262
|
+
identity: (list) => list.map((e) => `${e.key}\0${String(e.value)}`).join(""),
|
|
255
263
|
raw: (list) => list.map((e) => e.raw)
|
|
256
264
|
}
|
|
257
265
|
);
|
|
@@ -24,25 +24,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
}[]] | undefined;
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
|
-
readonly compatibilityDate: "2026-05-28";
|
|
28
|
-
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
|
-
readonly placeholder?: readonly [{
|
|
30
|
-
readonly locale: "zh";
|
|
31
|
-
readonly message: string;
|
|
32
|
-
}, ...{
|
|
33
|
-
readonly locale: "en" | "ja" | "ko";
|
|
34
|
-
readonly message: string;
|
|
35
|
-
}[]] | undefined;
|
|
36
|
-
readonly readonly?: string | undefined;
|
|
37
|
-
readonly binding?: string | undefined;
|
|
38
|
-
readonly derived?: {
|
|
39
|
-
readonly mode: "formula" | "prefill";
|
|
40
|
-
readonly expression: string;
|
|
41
|
-
} | undefined;
|
|
42
27
|
readonly options: {
|
|
43
28
|
readonly kind: "remote";
|
|
44
|
-
readonly request?: string | undefined;
|
|
45
29
|
readonly options: string;
|
|
30
|
+
readonly request?: string | undefined;
|
|
46
31
|
readonly optionValue: string;
|
|
47
32
|
readonly optionLabel: readonly [{
|
|
48
33
|
readonly locale: "zh";
|
|
@@ -80,6 +65,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
80
65
|
readonly keywords?: readonly string[] | undefined;
|
|
81
66
|
}[];
|
|
82
67
|
};
|
|
68
|
+
readonly compatibilityDate: "2026-05-28";
|
|
69
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
70
|
+
readonly placeholder?: readonly [{
|
|
71
|
+
readonly locale: "zh";
|
|
72
|
+
readonly message: string;
|
|
73
|
+
}, ...{
|
|
74
|
+
readonly locale: "en" | "ja" | "ko";
|
|
75
|
+
readonly message: string;
|
|
76
|
+
}[]] | undefined;
|
|
77
|
+
readonly readonly?: string | undefined;
|
|
78
|
+
readonly binding?: string | undefined;
|
|
79
|
+
readonly derived?: {
|
|
80
|
+
readonly mode: "formula" | "prefill";
|
|
81
|
+
readonly expression: string;
|
|
82
|
+
} | undefined;
|
|
83
83
|
readonly validations?: readonly {
|
|
84
84
|
readonly message: readonly [{
|
|
85
85
|
readonly locale: "zh";
|
|
@@ -114,25 +114,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
114
114
|
}[]] | undefined;
|
|
115
115
|
readonly required?: string | undefined;
|
|
116
116
|
readonly displayName?: string | undefined;
|
|
117
|
-
readonly compatibilityDate: "2026-05-28";
|
|
118
|
-
readonly orientation?: "vertical" | "floating" | undefined;
|
|
119
|
-
readonly placeholder?: readonly [{
|
|
120
|
-
readonly locale: "zh";
|
|
121
|
-
readonly message: string;
|
|
122
|
-
}, ...{
|
|
123
|
-
readonly locale: "en" | "ja" | "ko";
|
|
124
|
-
readonly message: string;
|
|
125
|
-
}[]] | undefined;
|
|
126
|
-
readonly readonly?: string | undefined;
|
|
127
|
-
readonly binding?: string | undefined;
|
|
128
|
-
readonly derived?: {
|
|
129
|
-
readonly mode: "formula" | "prefill";
|
|
130
|
-
readonly expression: string;
|
|
131
|
-
} | undefined;
|
|
132
117
|
readonly options: {
|
|
133
118
|
readonly kind: "remote";
|
|
134
|
-
readonly request?: string | undefined;
|
|
135
119
|
readonly options: string;
|
|
120
|
+
readonly request?: string | undefined;
|
|
136
121
|
readonly optionValue: string;
|
|
137
122
|
readonly optionLabel: readonly [{
|
|
138
123
|
readonly locale: "zh";
|
|
@@ -170,6 +155,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
170
155
|
readonly keywords?: readonly string[] | undefined;
|
|
171
156
|
}[];
|
|
172
157
|
};
|
|
158
|
+
readonly compatibilityDate: "2026-05-28";
|
|
159
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
160
|
+
readonly placeholder?: readonly [{
|
|
161
|
+
readonly locale: "zh";
|
|
162
|
+
readonly message: string;
|
|
163
|
+
}, ...{
|
|
164
|
+
readonly locale: "en" | "ja" | "ko";
|
|
165
|
+
readonly message: string;
|
|
166
|
+
}[]] | undefined;
|
|
167
|
+
readonly readonly?: string | undefined;
|
|
168
|
+
readonly binding?: string | undefined;
|
|
169
|
+
readonly derived?: {
|
|
170
|
+
readonly mode: "formula" | "prefill";
|
|
171
|
+
readonly expression: string;
|
|
172
|
+
} | undefined;
|
|
173
173
|
readonly validations?: readonly {
|
|
174
174
|
readonly message: readonly [{
|
|
175
175
|
readonly locale: "zh";
|
|
@@ -24,25 +24,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
}[]] | undefined;
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
|
-
readonly compatibilityDate: "2026-05-28";
|
|
28
|
-
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
|
-
readonly placeholder?: readonly [{
|
|
30
|
-
readonly locale: "zh";
|
|
31
|
-
readonly message: string;
|
|
32
|
-
}, ...{
|
|
33
|
-
readonly locale: "en" | "ja" | "ko";
|
|
34
|
-
readonly message: string;
|
|
35
|
-
}[]] | undefined;
|
|
36
|
-
readonly readonly?: string | undefined;
|
|
37
|
-
readonly binding?: string | undefined;
|
|
38
|
-
readonly derived?: {
|
|
39
|
-
readonly mode: "formula" | "prefill";
|
|
40
|
-
readonly expression: string;
|
|
41
|
-
} | undefined;
|
|
42
27
|
readonly options: {
|
|
43
28
|
readonly kind: "remote";
|
|
44
|
-
readonly request?: string | undefined;
|
|
45
29
|
readonly options: string;
|
|
30
|
+
readonly request?: string | undefined;
|
|
46
31
|
readonly optionValue: string;
|
|
47
32
|
readonly optionLabel: readonly [{
|
|
48
33
|
readonly locale: "zh";
|
|
@@ -80,6 +65,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
80
65
|
readonly keywords?: readonly string[] | undefined;
|
|
81
66
|
}[];
|
|
82
67
|
};
|
|
68
|
+
readonly compatibilityDate: "2026-05-28";
|
|
69
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
70
|
+
readonly placeholder?: readonly [{
|
|
71
|
+
readonly locale: "zh";
|
|
72
|
+
readonly message: string;
|
|
73
|
+
}, ...{
|
|
74
|
+
readonly locale: "en" | "ja" | "ko";
|
|
75
|
+
readonly message: string;
|
|
76
|
+
}[]] | undefined;
|
|
77
|
+
readonly readonly?: string | undefined;
|
|
78
|
+
readonly binding?: string | undefined;
|
|
79
|
+
readonly derived?: {
|
|
80
|
+
readonly mode: "formula" | "prefill";
|
|
81
|
+
readonly expression: string;
|
|
82
|
+
} | undefined;
|
|
83
83
|
readonly validations?: readonly {
|
|
84
84
|
readonly message: readonly [{
|
|
85
85
|
readonly locale: "zh";
|
|
@@ -114,25 +114,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
114
114
|
}[]] | undefined;
|
|
115
115
|
readonly required?: string | undefined;
|
|
116
116
|
readonly displayName?: string | undefined;
|
|
117
|
-
readonly compatibilityDate: "2026-05-28";
|
|
118
|
-
readonly orientation?: "vertical" | "floating" | undefined;
|
|
119
|
-
readonly placeholder?: readonly [{
|
|
120
|
-
readonly locale: "zh";
|
|
121
|
-
readonly message: string;
|
|
122
|
-
}, ...{
|
|
123
|
-
readonly locale: "en" | "ja" | "ko";
|
|
124
|
-
readonly message: string;
|
|
125
|
-
}[]] | undefined;
|
|
126
|
-
readonly readonly?: string | undefined;
|
|
127
|
-
readonly binding?: string | undefined;
|
|
128
|
-
readonly derived?: {
|
|
129
|
-
readonly mode: "formula" | "prefill";
|
|
130
|
-
readonly expression: string;
|
|
131
|
-
} | undefined;
|
|
132
117
|
readonly options: {
|
|
133
118
|
readonly kind: "remote";
|
|
134
|
-
readonly request?: string | undefined;
|
|
135
119
|
readonly options: string;
|
|
120
|
+
readonly request?: string | undefined;
|
|
136
121
|
readonly optionValue: string;
|
|
137
122
|
readonly optionLabel: readonly [{
|
|
138
123
|
readonly locale: "zh";
|
|
@@ -170,6 +155,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
170
155
|
readonly keywords?: readonly string[] | undefined;
|
|
171
156
|
}[];
|
|
172
157
|
};
|
|
158
|
+
readonly compatibilityDate: "2026-05-28";
|
|
159
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
160
|
+
readonly placeholder?: readonly [{
|
|
161
|
+
readonly locale: "zh";
|
|
162
|
+
readonly message: string;
|
|
163
|
+
}, ...{
|
|
164
|
+
readonly locale: "en" | "ja" | "ko";
|
|
165
|
+
readonly message: string;
|
|
166
|
+
}[]] | undefined;
|
|
167
|
+
readonly readonly?: string | undefined;
|
|
168
|
+
readonly binding?: string | undefined;
|
|
169
|
+
readonly derived?: {
|
|
170
|
+
readonly mode: "formula" | "prefill";
|
|
171
|
+
readonly expression: string;
|
|
172
|
+
} | undefined;
|
|
173
173
|
readonly validations?: readonly {
|
|
174
174
|
readonly message: readonly [{
|
|
175
175
|
readonly locale: "zh";
|
|
@@ -8,7 +8,7 @@ import { useI18n } from "vue-i18n";
|
|
|
8
8
|
import { asRequest, fetchJsonOption } from "../../../../../share/request";
|
|
9
9
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
10
10
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
11
|
-
import { publishSelection } from "../../../../../utils/selections-registry";
|
|
11
|
+
import { publishOptions, publishSelection } from "../../../../../utils/selections-registry";
|
|
12
12
|
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
13
13
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
14
14
|
import {
|
|
@@ -253,7 +253,15 @@ const selectedLabel = computed(() => selectedEntry.value?.label ?? "");
|
|
|
253
253
|
publishSelection(
|
|
254
254
|
props.fieldId,
|
|
255
255
|
() => selectedEntry.value,
|
|
256
|
-
{ identity: (entry) => entry.key
|
|
256
|
+
{ identity: (entry) => `${entry.key}\0${String(entry.value)}`, raw: (entry) => entry.raw }
|
|
257
|
+
);
|
|
258
|
+
publishOptions(
|
|
259
|
+
props.fieldId,
|
|
260
|
+
() => entries.value.length > 0 ? entries.value : void 0,
|
|
261
|
+
{
|
|
262
|
+
identity: (list) => list.map((entry) => `${entry.key}\0${String(entry.value)}`).join(""),
|
|
263
|
+
raw: (list) => list.map((entry) => entry.raw)
|
|
264
|
+
}
|
|
257
265
|
);
|
|
258
266
|
const open = ref(false);
|
|
259
267
|
function handleSelect(key) {
|
|
@@ -44,18 +44,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
44
44
|
readonly data: string;
|
|
45
45
|
readonly request?: string | undefined;
|
|
46
46
|
};
|
|
47
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
48
|
-
readonly validations?: readonly {
|
|
49
|
-
readonly message: readonly [{
|
|
50
|
-
readonly locale: "zh";
|
|
51
|
-
readonly message: string;
|
|
52
|
-
}, ...{
|
|
53
|
-
readonly locale: "en" | "ja" | "ko";
|
|
54
|
-
readonly message: string;
|
|
55
|
-
}[]];
|
|
56
|
-
readonly warning?: boolean | undefined;
|
|
57
|
-
readonly when: string;
|
|
58
|
-
}[] | undefined;
|
|
59
47
|
readonly nodeKey: string;
|
|
60
48
|
readonly nodeChildren: string;
|
|
61
49
|
readonly nodeLabel: readonly [{
|
|
@@ -65,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
65
53
|
readonly locale: "en" | "ja" | "ko";
|
|
66
54
|
readonly message: string;
|
|
67
55
|
}[]];
|
|
56
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
68
57
|
readonly nodeTooltip?: readonly [{
|
|
69
58
|
readonly locale: "zh";
|
|
70
59
|
readonly message: string;
|
|
@@ -74,6 +63,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
74
63
|
}[]] | undefined;
|
|
75
64
|
readonly nodeSelectable?: string | undefined;
|
|
76
65
|
readonly expandAll: boolean;
|
|
66
|
+
readonly validations?: readonly {
|
|
67
|
+
readonly message: readonly [{
|
|
68
|
+
readonly locale: "zh";
|
|
69
|
+
readonly message: string;
|
|
70
|
+
}, ...{
|
|
71
|
+
readonly locale: "en" | "ja" | "ko";
|
|
72
|
+
readonly message: string;
|
|
73
|
+
}[]];
|
|
74
|
+
readonly warning?: boolean | undefined;
|
|
75
|
+
readonly when: string;
|
|
76
|
+
}[] | undefined;
|
|
77
77
|
}) => any;
|
|
78
78
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
79
79
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -117,18 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
117
117
|
readonly data: string;
|
|
118
118
|
readonly request?: string | undefined;
|
|
119
119
|
};
|
|
120
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
121
|
-
readonly validations?: readonly {
|
|
122
|
-
readonly message: readonly [{
|
|
123
|
-
readonly locale: "zh";
|
|
124
|
-
readonly message: string;
|
|
125
|
-
}, ...{
|
|
126
|
-
readonly locale: "en" | "ja" | "ko";
|
|
127
|
-
readonly message: string;
|
|
128
|
-
}[]];
|
|
129
|
-
readonly warning?: boolean | undefined;
|
|
130
|
-
readonly when: string;
|
|
131
|
-
}[] | undefined;
|
|
132
120
|
readonly nodeKey: string;
|
|
133
121
|
readonly nodeChildren: string;
|
|
134
122
|
readonly nodeLabel: readonly [{
|
|
@@ -138,6 +126,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
138
126
|
readonly locale: "en" | "ja" | "ko";
|
|
139
127
|
readonly message: string;
|
|
140
128
|
}[]];
|
|
129
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
141
130
|
readonly nodeTooltip?: readonly [{
|
|
142
131
|
readonly locale: "zh";
|
|
143
132
|
readonly message: string;
|
|
@@ -147,6 +136,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
147
136
|
}[]] | undefined;
|
|
148
137
|
readonly nodeSelectable?: string | undefined;
|
|
149
138
|
readonly expandAll: boolean;
|
|
139
|
+
readonly validations?: readonly {
|
|
140
|
+
readonly message: readonly [{
|
|
141
|
+
readonly locale: "zh";
|
|
142
|
+
readonly message: string;
|
|
143
|
+
}, ...{
|
|
144
|
+
readonly locale: "en" | "ja" | "ko";
|
|
145
|
+
readonly message: string;
|
|
146
|
+
}[]];
|
|
147
|
+
readonly warning?: boolean | undefined;
|
|
148
|
+
readonly when: string;
|
|
149
|
+
}[] | undefined;
|
|
150
150
|
}) => any) | undefined;
|
|
151
151
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
152
152
|
declare const _default: typeof __VLS_export;
|
|
@@ -44,18 +44,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
44
44
|
readonly data: string;
|
|
45
45
|
readonly request?: string | undefined;
|
|
46
46
|
};
|
|
47
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
48
|
-
readonly validations?: readonly {
|
|
49
|
-
readonly message: readonly [{
|
|
50
|
-
readonly locale: "zh";
|
|
51
|
-
readonly message: string;
|
|
52
|
-
}, ...{
|
|
53
|
-
readonly locale: "en" | "ja" | "ko";
|
|
54
|
-
readonly message: string;
|
|
55
|
-
}[]];
|
|
56
|
-
readonly warning?: boolean | undefined;
|
|
57
|
-
readonly when: string;
|
|
58
|
-
}[] | undefined;
|
|
59
47
|
readonly nodeKey: string;
|
|
60
48
|
readonly nodeChildren: string;
|
|
61
49
|
readonly nodeLabel: readonly [{
|
|
@@ -65,6 +53,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
65
53
|
readonly locale: "en" | "ja" | "ko";
|
|
66
54
|
readonly message: string;
|
|
67
55
|
}[]];
|
|
56
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
68
57
|
readonly nodeTooltip?: readonly [{
|
|
69
58
|
readonly locale: "zh";
|
|
70
59
|
readonly message: string;
|
|
@@ -74,6 +63,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
74
63
|
}[]] | undefined;
|
|
75
64
|
readonly nodeSelectable?: string | undefined;
|
|
76
65
|
readonly expandAll: boolean;
|
|
66
|
+
readonly validations?: readonly {
|
|
67
|
+
readonly message: readonly [{
|
|
68
|
+
readonly locale: "zh";
|
|
69
|
+
readonly message: string;
|
|
70
|
+
}, ...{
|
|
71
|
+
readonly locale: "en" | "ja" | "ko";
|
|
72
|
+
readonly message: string;
|
|
73
|
+
}[]];
|
|
74
|
+
readonly warning?: boolean | undefined;
|
|
75
|
+
readonly when: string;
|
|
76
|
+
}[] | undefined;
|
|
77
77
|
}) => any;
|
|
78
78
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
79
79
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -117,18 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
117
117
|
readonly data: string;
|
|
118
118
|
readonly request?: string | undefined;
|
|
119
119
|
};
|
|
120
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
121
|
-
readonly validations?: readonly {
|
|
122
|
-
readonly message: readonly [{
|
|
123
|
-
readonly locale: "zh";
|
|
124
|
-
readonly message: string;
|
|
125
|
-
}, ...{
|
|
126
|
-
readonly locale: "en" | "ja" | "ko";
|
|
127
|
-
readonly message: string;
|
|
128
|
-
}[]];
|
|
129
|
-
readonly warning?: boolean | undefined;
|
|
130
|
-
readonly when: string;
|
|
131
|
-
}[] | undefined;
|
|
132
120
|
readonly nodeKey: string;
|
|
133
121
|
readonly nodeChildren: string;
|
|
134
122
|
readonly nodeLabel: readonly [{
|
|
@@ -138,6 +126,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
138
126
|
readonly locale: "en" | "ja" | "ko";
|
|
139
127
|
readonly message: string;
|
|
140
128
|
}[]];
|
|
129
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
141
130
|
readonly nodeTooltip?: readonly [{
|
|
142
131
|
readonly locale: "zh";
|
|
143
132
|
readonly message: string;
|
|
@@ -147,6 +136,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
147
136
|
}[]] | undefined;
|
|
148
137
|
readonly nodeSelectable?: string | undefined;
|
|
149
138
|
readonly expandAll: boolean;
|
|
139
|
+
readonly validations?: readonly {
|
|
140
|
+
readonly message: readonly [{
|
|
141
|
+
readonly locale: "zh";
|
|
142
|
+
readonly message: string;
|
|
143
|
+
}, ...{
|
|
144
|
+
readonly locale: "en" | "ja" | "ko";
|
|
145
|
+
readonly message: string;
|
|
146
|
+
}[]];
|
|
147
|
+
readonly warning?: boolean | undefined;
|
|
148
|
+
readonly when: string;
|
|
149
|
+
}[] | undefined;
|
|
150
150
|
}) => any) | undefined;
|
|
151
151
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
152
152
|
declare const _default: typeof __VLS_export;
|
|
@@ -7,7 +7,7 @@ import { useI18n } from "vue-i18n";
|
|
|
7
7
|
import { fetchJsonOption } from "../../../../../share/request";
|
|
8
8
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
9
9
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
10
|
-
import { publishSelection } from "../../../../../utils/selections-registry";
|
|
10
|
+
import { publishOptions, publishSelection } from "../../../../../utils/selections-registry";
|
|
11
11
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
12
12
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
13
13
|
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "../../../../ui/input-group";
|
|
@@ -254,6 +254,24 @@ publishSelection(
|
|
|
254
254
|
raw: (list) => list.map((w) => w.raw)
|
|
255
255
|
}
|
|
256
256
|
);
|
|
257
|
+
const flatOptions = computed(() => {
|
|
258
|
+
const out = [];
|
|
259
|
+
const stack = [...roots.value];
|
|
260
|
+
while (stack.length) {
|
|
261
|
+
const n = stack.pop();
|
|
262
|
+
out.push(n);
|
|
263
|
+
if (n.kind === "branch") stack.push(...n.children);
|
|
264
|
+
}
|
|
265
|
+
return out;
|
|
266
|
+
});
|
|
267
|
+
publishOptions(
|
|
268
|
+
props.fieldId,
|
|
269
|
+
() => flatOptions.value.length > 0 ? flatOptions.value : void 0,
|
|
270
|
+
{
|
|
271
|
+
identity: (list) => list.map((w) => w.key).join(" "),
|
|
272
|
+
raw: (list) => list.map((w) => w.raw)
|
|
273
|
+
}
|
|
274
|
+
);
|
|
257
275
|
const initialExpanded = computed(() => {
|
|
258
276
|
if (!props.config.expandAll) return [];
|
|
259
277
|
const out = [];
|