@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
|
@@ -44,17 +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 validations?: readonly {
|
|
48
|
-
readonly message: readonly [{
|
|
49
|
-
readonly locale: "zh";
|
|
50
|
-
readonly message: string;
|
|
51
|
-
}, ...{
|
|
52
|
-
readonly locale: "en" | "ja" | "ko";
|
|
53
|
-
readonly message: string;
|
|
54
|
-
}[]];
|
|
55
|
-
readonly warning?: boolean | undefined;
|
|
56
|
-
readonly when: string;
|
|
57
|
-
}[] | undefined;
|
|
58
47
|
readonly nodeKey: string;
|
|
59
48
|
readonly nodeChildren: string;
|
|
60
49
|
readonly nodeLabel: readonly [{
|
|
@@ -73,6 +62,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
73
62
|
}[]] | undefined;
|
|
74
63
|
readonly nodeSelectable?: string | undefined;
|
|
75
64
|
readonly expandAll: boolean;
|
|
65
|
+
readonly validations?: readonly {
|
|
66
|
+
readonly message: readonly [{
|
|
67
|
+
readonly locale: "zh";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}, ...{
|
|
70
|
+
readonly locale: "en" | "ja" | "ko";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}[]];
|
|
73
|
+
readonly warning?: boolean | undefined;
|
|
74
|
+
readonly when: string;
|
|
75
|
+
}[] | undefined;
|
|
76
76
|
}) => any;
|
|
77
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
78
78
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -116,17 +116,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
116
116
|
readonly data: string;
|
|
117
117
|
readonly request?: string | undefined;
|
|
118
118
|
};
|
|
119
|
-
readonly validations?: readonly {
|
|
120
|
-
readonly message: readonly [{
|
|
121
|
-
readonly locale: "zh";
|
|
122
|
-
readonly message: string;
|
|
123
|
-
}, ...{
|
|
124
|
-
readonly locale: "en" | "ja" | "ko";
|
|
125
|
-
readonly message: string;
|
|
126
|
-
}[]];
|
|
127
|
-
readonly warning?: boolean | undefined;
|
|
128
|
-
readonly when: string;
|
|
129
|
-
}[] | undefined;
|
|
130
119
|
readonly nodeKey: string;
|
|
131
120
|
readonly nodeChildren: string;
|
|
132
121
|
readonly nodeLabel: readonly [{
|
|
@@ -145,6 +134,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
145
134
|
}[]] | undefined;
|
|
146
135
|
readonly nodeSelectable?: string | undefined;
|
|
147
136
|
readonly expandAll: boolean;
|
|
137
|
+
readonly validations?: readonly {
|
|
138
|
+
readonly message: readonly [{
|
|
139
|
+
readonly locale: "zh";
|
|
140
|
+
readonly message: string;
|
|
141
|
+
}, ...{
|
|
142
|
+
readonly locale: "en" | "ja" | "ko";
|
|
143
|
+
readonly message: string;
|
|
144
|
+
}[]];
|
|
145
|
+
readonly warning?: boolean | undefined;
|
|
146
|
+
readonly when: string;
|
|
147
|
+
}[] | undefined;
|
|
148
148
|
}) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
150
150
|
declare const _default: typeof __VLS_export;
|
|
@@ -44,17 +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 validations?: readonly {
|
|
48
|
-
readonly message: readonly [{
|
|
49
|
-
readonly locale: "zh";
|
|
50
|
-
readonly message: string;
|
|
51
|
-
}, ...{
|
|
52
|
-
readonly locale: "en" | "ja" | "ko";
|
|
53
|
-
readonly message: string;
|
|
54
|
-
}[]];
|
|
55
|
-
readonly warning?: boolean | undefined;
|
|
56
|
-
readonly when: string;
|
|
57
|
-
}[] | undefined;
|
|
58
47
|
readonly nodeKey: string;
|
|
59
48
|
readonly nodeChildren: string;
|
|
60
49
|
readonly nodeLabel: readonly [{
|
|
@@ -73,6 +62,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
73
62
|
}[]] | undefined;
|
|
74
63
|
readonly nodeSelectable?: string | undefined;
|
|
75
64
|
readonly expandAll: boolean;
|
|
65
|
+
readonly validations?: readonly {
|
|
66
|
+
readonly message: readonly [{
|
|
67
|
+
readonly locale: "zh";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}, ...{
|
|
70
|
+
readonly locale: "en" | "ja" | "ko";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}[]];
|
|
73
|
+
readonly warning?: boolean | undefined;
|
|
74
|
+
readonly when: string;
|
|
75
|
+
}[] | undefined;
|
|
76
76
|
}) => any;
|
|
77
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
78
78
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -116,17 +116,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
116
116
|
readonly data: string;
|
|
117
117
|
readonly request?: string | undefined;
|
|
118
118
|
};
|
|
119
|
-
readonly validations?: readonly {
|
|
120
|
-
readonly message: readonly [{
|
|
121
|
-
readonly locale: "zh";
|
|
122
|
-
readonly message: string;
|
|
123
|
-
}, ...{
|
|
124
|
-
readonly locale: "en" | "ja" | "ko";
|
|
125
|
-
readonly message: string;
|
|
126
|
-
}[]];
|
|
127
|
-
readonly warning?: boolean | undefined;
|
|
128
|
-
readonly when: string;
|
|
129
|
-
}[] | undefined;
|
|
130
119
|
readonly nodeKey: string;
|
|
131
120
|
readonly nodeChildren: string;
|
|
132
121
|
readonly nodeLabel: readonly [{
|
|
@@ -145,6 +134,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
145
134
|
}[]] | undefined;
|
|
146
135
|
readonly nodeSelectable?: string | undefined;
|
|
147
136
|
readonly expandAll: boolean;
|
|
137
|
+
readonly validations?: readonly {
|
|
138
|
+
readonly message: readonly [{
|
|
139
|
+
readonly locale: "zh";
|
|
140
|
+
readonly message: string;
|
|
141
|
+
}, ...{
|
|
142
|
+
readonly locale: "en" | "ja" | "ko";
|
|
143
|
+
readonly message: string;
|
|
144
|
+
}[]];
|
|
145
|
+
readonly warning?: boolean | undefined;
|
|
146
|
+
readonly when: string;
|
|
147
|
+
}[] | undefined;
|
|
148
148
|
}) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
150
150
|
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";
|
|
@@ -241,6 +241,24 @@ publishSelection(
|
|
|
241
241
|
() => selectedWrapped.value,
|
|
242
242
|
{ identity: (w) => w.key, raw: (w) => w.raw }
|
|
243
243
|
);
|
|
244
|
+
const flatOptions = computed(() => {
|
|
245
|
+
const out = [];
|
|
246
|
+
const stack = [...roots.value];
|
|
247
|
+
while (stack.length) {
|
|
248
|
+
const n = stack.pop();
|
|
249
|
+
out.push(n);
|
|
250
|
+
if (n.kind === "branch") stack.push(...n.children);
|
|
251
|
+
}
|
|
252
|
+
return out;
|
|
253
|
+
});
|
|
254
|
+
publishOptions(
|
|
255
|
+
props.fieldId,
|
|
256
|
+
() => flatOptions.value.length > 0 ? flatOptions.value : void 0,
|
|
257
|
+
{
|
|
258
|
+
identity: (list) => list.map((w) => w.key).join(" "),
|
|
259
|
+
raw: (list) => list.map((w) => w.raw)
|
|
260
|
+
}
|
|
261
|
+
);
|
|
244
262
|
const initialExpanded = computed(() => {
|
|
245
263
|
if (!props.config.expandAll) return [];
|
|
246
264
|
const out = [];
|
|
@@ -46,18 +46,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
46
46
|
readonly data: string;
|
|
47
47
|
readonly request?: string | undefined;
|
|
48
48
|
};
|
|
49
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
50
|
-
readonly validations?: readonly {
|
|
51
|
-
readonly message: readonly [{
|
|
52
|
-
readonly locale: "zh";
|
|
53
|
-
readonly message: string;
|
|
54
|
-
}, ...{
|
|
55
|
-
readonly locale: "en" | "ja" | "ko";
|
|
56
|
-
readonly message: string;
|
|
57
|
-
}[]];
|
|
58
|
-
readonly warning?: boolean | undefined;
|
|
59
|
-
readonly when: string;
|
|
60
|
-
}[] | undefined;
|
|
61
49
|
readonly nodeKey: string;
|
|
62
50
|
readonly nodeChildren: string;
|
|
63
51
|
readonly nodeLabel: readonly [{
|
|
@@ -67,6 +55,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
67
55
|
readonly locale: "en" | "ja" | "ko";
|
|
68
56
|
readonly message: string;
|
|
69
57
|
}[]];
|
|
58
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
70
59
|
readonly nodeTooltip?: readonly [{
|
|
71
60
|
readonly locale: "zh";
|
|
72
61
|
readonly message: string;
|
|
@@ -76,6 +65,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
76
65
|
}[]] | undefined;
|
|
77
66
|
readonly nodeSelectable?: string | undefined;
|
|
78
67
|
readonly expandAll: boolean;
|
|
68
|
+
readonly validations?: readonly {
|
|
69
|
+
readonly message: readonly [{
|
|
70
|
+
readonly locale: "zh";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}, ...{
|
|
73
|
+
readonly locale: "en" | "ja" | "ko";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}[]];
|
|
76
|
+
readonly warning?: boolean | undefined;
|
|
77
|
+
readonly when: string;
|
|
78
|
+
}[] | undefined;
|
|
79
79
|
}) => any;
|
|
80
80
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
81
81
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -121,18 +121,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
121
121
|
readonly data: string;
|
|
122
122
|
readonly request?: string | undefined;
|
|
123
123
|
};
|
|
124
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
125
|
-
readonly validations?: readonly {
|
|
126
|
-
readonly message: readonly [{
|
|
127
|
-
readonly locale: "zh";
|
|
128
|
-
readonly message: string;
|
|
129
|
-
}, ...{
|
|
130
|
-
readonly locale: "en" | "ja" | "ko";
|
|
131
|
-
readonly message: string;
|
|
132
|
-
}[]];
|
|
133
|
-
readonly warning?: boolean | undefined;
|
|
134
|
-
readonly when: string;
|
|
135
|
-
}[] | undefined;
|
|
136
124
|
readonly nodeKey: string;
|
|
137
125
|
readonly nodeChildren: string;
|
|
138
126
|
readonly nodeLabel: readonly [{
|
|
@@ -142,6 +130,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
142
130
|
readonly locale: "en" | "ja" | "ko";
|
|
143
131
|
readonly message: string;
|
|
144
132
|
}[]];
|
|
133
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
145
134
|
readonly nodeTooltip?: readonly [{
|
|
146
135
|
readonly locale: "zh";
|
|
147
136
|
readonly message: string;
|
|
@@ -151,6 +140,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
151
140
|
}[]] | undefined;
|
|
152
141
|
readonly nodeSelectable?: string | undefined;
|
|
153
142
|
readonly expandAll: boolean;
|
|
143
|
+
readonly validations?: readonly {
|
|
144
|
+
readonly message: readonly [{
|
|
145
|
+
readonly locale: "zh";
|
|
146
|
+
readonly message: string;
|
|
147
|
+
}, ...{
|
|
148
|
+
readonly locale: "en" | "ja" | "ko";
|
|
149
|
+
readonly message: string;
|
|
150
|
+
}[]];
|
|
151
|
+
readonly warning?: boolean | undefined;
|
|
152
|
+
readonly when: string;
|
|
153
|
+
}[] | undefined;
|
|
154
154
|
}) => any) | undefined;
|
|
155
155
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
156
156
|
declare const _default: typeof __VLS_export;
|
|
@@ -46,18 +46,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
46
46
|
readonly data: string;
|
|
47
47
|
readonly request?: string | undefined;
|
|
48
48
|
};
|
|
49
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
50
|
-
readonly validations?: readonly {
|
|
51
|
-
readonly message: readonly [{
|
|
52
|
-
readonly locale: "zh";
|
|
53
|
-
readonly message: string;
|
|
54
|
-
}, ...{
|
|
55
|
-
readonly locale: "en" | "ja" | "ko";
|
|
56
|
-
readonly message: string;
|
|
57
|
-
}[]];
|
|
58
|
-
readonly warning?: boolean | undefined;
|
|
59
|
-
readonly when: string;
|
|
60
|
-
}[] | undefined;
|
|
61
49
|
readonly nodeKey: string;
|
|
62
50
|
readonly nodeChildren: string;
|
|
63
51
|
readonly nodeLabel: readonly [{
|
|
@@ -67,6 +55,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
67
55
|
readonly locale: "en" | "ja" | "ko";
|
|
68
56
|
readonly message: string;
|
|
69
57
|
}[]];
|
|
58
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
70
59
|
readonly nodeTooltip?: readonly [{
|
|
71
60
|
readonly locale: "zh";
|
|
72
61
|
readonly message: string;
|
|
@@ -76,6 +65,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
76
65
|
}[]] | undefined;
|
|
77
66
|
readonly nodeSelectable?: string | undefined;
|
|
78
67
|
readonly expandAll: boolean;
|
|
68
|
+
readonly validations?: readonly {
|
|
69
|
+
readonly message: readonly [{
|
|
70
|
+
readonly locale: "zh";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}, ...{
|
|
73
|
+
readonly locale: "en" | "ja" | "ko";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}[]];
|
|
76
|
+
readonly warning?: boolean | undefined;
|
|
77
|
+
readonly when: string;
|
|
78
|
+
}[] | undefined;
|
|
79
79
|
}) => any;
|
|
80
80
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
81
81
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -121,18 +121,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
121
121
|
readonly data: string;
|
|
122
122
|
readonly request?: string | undefined;
|
|
123
123
|
};
|
|
124
|
-
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
125
|
-
readonly validations?: readonly {
|
|
126
|
-
readonly message: readonly [{
|
|
127
|
-
readonly locale: "zh";
|
|
128
|
-
readonly message: string;
|
|
129
|
-
}, ...{
|
|
130
|
-
readonly locale: "en" | "ja" | "ko";
|
|
131
|
-
readonly message: string;
|
|
132
|
-
}[]];
|
|
133
|
-
readonly warning?: boolean | undefined;
|
|
134
|
-
readonly when: string;
|
|
135
|
-
}[] | undefined;
|
|
136
124
|
readonly nodeKey: string;
|
|
137
125
|
readonly nodeChildren: string;
|
|
138
126
|
readonly nodeLabel: readonly [{
|
|
@@ -142,6 +130,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
142
130
|
readonly locale: "en" | "ja" | "ko";
|
|
143
131
|
readonly message: string;
|
|
144
132
|
}[]];
|
|
133
|
+
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
145
134
|
readonly nodeTooltip?: readonly [{
|
|
146
135
|
readonly locale: "zh";
|
|
147
136
|
readonly message: string;
|
|
@@ -151,6 +140,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
151
140
|
}[]] | undefined;
|
|
152
141
|
readonly nodeSelectable?: string | undefined;
|
|
153
142
|
readonly expandAll: boolean;
|
|
143
|
+
readonly validations?: readonly {
|
|
144
|
+
readonly message: readonly [{
|
|
145
|
+
readonly locale: "zh";
|
|
146
|
+
readonly message: string;
|
|
147
|
+
}, ...{
|
|
148
|
+
readonly locale: "en" | "ja" | "ko";
|
|
149
|
+
readonly message: string;
|
|
150
|
+
}[]];
|
|
151
|
+
readonly warning?: boolean | undefined;
|
|
152
|
+
readonly when: string;
|
|
153
|
+
}[] | undefined;
|
|
154
154
|
}) => any) | undefined;
|
|
155
155
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
156
156
|
declare const _default: typeof __VLS_export;
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue
CHANGED
|
@@ -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 { Checkbox } from "../../../../ui/checkbox";
|
|
13
13
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
@@ -277,6 +277,25 @@ publishSelection(
|
|
|
277
277
|
raw: (list) => list
|
|
278
278
|
}
|
|
279
279
|
);
|
|
280
|
+
const flatOptions = computed(() => {
|
|
281
|
+
const out = [];
|
|
282
|
+
const stack = [...roots.value];
|
|
283
|
+
while (stack.length) {
|
|
284
|
+
const n = stack.pop();
|
|
285
|
+
out.push(n);
|
|
286
|
+
const kids = getChildren(n);
|
|
287
|
+
if (kids && kids.length) stack.push(...kids);
|
|
288
|
+
}
|
|
289
|
+
return out;
|
|
290
|
+
});
|
|
291
|
+
publishOptions(
|
|
292
|
+
props.fieldId,
|
|
293
|
+
() => flatOptions.value.length > 0 ? flatOptions.value : void 0,
|
|
294
|
+
{
|
|
295
|
+
identity: (list) => list.map((n) => getKey(n)).join(" "),
|
|
296
|
+
raw: (list) => list
|
|
297
|
+
}
|
|
298
|
+
);
|
|
280
299
|
const readonlyText = computed(() => {
|
|
281
300
|
if (model.value.length === 0) return null;
|
|
282
301
|
const found = resolvedByKey.value;
|
|
@@ -46,17 +46,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
46
46
|
readonly data: string;
|
|
47
47
|
readonly request?: string | undefined;
|
|
48
48
|
};
|
|
49
|
-
readonly validations?: readonly {
|
|
50
|
-
readonly message: readonly [{
|
|
51
|
-
readonly locale: "zh";
|
|
52
|
-
readonly message: string;
|
|
53
|
-
}, ...{
|
|
54
|
-
readonly locale: "en" | "ja" | "ko";
|
|
55
|
-
readonly message: string;
|
|
56
|
-
}[]];
|
|
57
|
-
readonly warning?: boolean | undefined;
|
|
58
|
-
readonly when: string;
|
|
59
|
-
}[] | undefined;
|
|
60
49
|
readonly nodeKey: string;
|
|
61
50
|
readonly nodeChildren: string;
|
|
62
51
|
readonly nodeLabel: readonly [{
|
|
@@ -75,6 +64,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
75
64
|
}[]] | undefined;
|
|
76
65
|
readonly nodeSelectable?: string | undefined;
|
|
77
66
|
readonly expandAll: boolean;
|
|
67
|
+
readonly validations?: readonly {
|
|
68
|
+
readonly message: readonly [{
|
|
69
|
+
readonly locale: "zh";
|
|
70
|
+
readonly message: string;
|
|
71
|
+
}, ...{
|
|
72
|
+
readonly locale: "en" | "ja" | "ko";
|
|
73
|
+
readonly message: string;
|
|
74
|
+
}[]];
|
|
75
|
+
readonly warning?: boolean | undefined;
|
|
76
|
+
readonly when: string;
|
|
77
|
+
}[] | undefined;
|
|
78
78
|
}) => any;
|
|
79
79
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
80
80
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -120,17 +120,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
120
120
|
readonly data: string;
|
|
121
121
|
readonly request?: string | undefined;
|
|
122
122
|
};
|
|
123
|
-
readonly validations?: readonly {
|
|
124
|
-
readonly message: readonly [{
|
|
125
|
-
readonly locale: "zh";
|
|
126
|
-
readonly message: string;
|
|
127
|
-
}, ...{
|
|
128
|
-
readonly locale: "en" | "ja" | "ko";
|
|
129
|
-
readonly message: string;
|
|
130
|
-
}[]];
|
|
131
|
-
readonly warning?: boolean | undefined;
|
|
132
|
-
readonly when: string;
|
|
133
|
-
}[] | undefined;
|
|
134
123
|
readonly nodeKey: string;
|
|
135
124
|
readonly nodeChildren: string;
|
|
136
125
|
readonly nodeLabel: readonly [{
|
|
@@ -149,6 +138,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
149
138
|
}[]] | undefined;
|
|
150
139
|
readonly nodeSelectable?: string | undefined;
|
|
151
140
|
readonly expandAll: boolean;
|
|
141
|
+
readonly validations?: readonly {
|
|
142
|
+
readonly message: readonly [{
|
|
143
|
+
readonly locale: "zh";
|
|
144
|
+
readonly message: string;
|
|
145
|
+
}, ...{
|
|
146
|
+
readonly locale: "en" | "ja" | "ko";
|
|
147
|
+
readonly message: string;
|
|
148
|
+
}[]];
|
|
149
|
+
readonly warning?: boolean | undefined;
|
|
150
|
+
readonly when: string;
|
|
151
|
+
}[] | undefined;
|
|
152
152
|
}) => any) | undefined;
|
|
153
153
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
154
154
|
declare const _default: typeof __VLS_export;
|
|
@@ -46,17 +46,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
46
46
|
readonly data: string;
|
|
47
47
|
readonly request?: string | undefined;
|
|
48
48
|
};
|
|
49
|
-
readonly validations?: readonly {
|
|
50
|
-
readonly message: readonly [{
|
|
51
|
-
readonly locale: "zh";
|
|
52
|
-
readonly message: string;
|
|
53
|
-
}, ...{
|
|
54
|
-
readonly locale: "en" | "ja" | "ko";
|
|
55
|
-
readonly message: string;
|
|
56
|
-
}[]];
|
|
57
|
-
readonly warning?: boolean | undefined;
|
|
58
|
-
readonly when: string;
|
|
59
|
-
}[] | undefined;
|
|
60
49
|
readonly nodeKey: string;
|
|
61
50
|
readonly nodeChildren: string;
|
|
62
51
|
readonly nodeLabel: readonly [{
|
|
@@ -75,6 +64,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
75
64
|
}[]] | undefined;
|
|
76
65
|
readonly nodeSelectable?: string | undefined;
|
|
77
66
|
readonly expandAll: boolean;
|
|
67
|
+
readonly validations?: readonly {
|
|
68
|
+
readonly message: readonly [{
|
|
69
|
+
readonly locale: "zh";
|
|
70
|
+
readonly message: string;
|
|
71
|
+
}, ...{
|
|
72
|
+
readonly locale: "en" | "ja" | "ko";
|
|
73
|
+
readonly message: string;
|
|
74
|
+
}[]];
|
|
75
|
+
readonly warning?: boolean | undefined;
|
|
76
|
+
readonly when: string;
|
|
77
|
+
}[] | undefined;
|
|
78
78
|
}) => any;
|
|
79
79
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
80
80
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -120,17 +120,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
120
120
|
readonly data: string;
|
|
121
121
|
readonly request?: string | undefined;
|
|
122
122
|
};
|
|
123
|
-
readonly validations?: readonly {
|
|
124
|
-
readonly message: readonly [{
|
|
125
|
-
readonly locale: "zh";
|
|
126
|
-
readonly message: string;
|
|
127
|
-
}, ...{
|
|
128
|
-
readonly locale: "en" | "ja" | "ko";
|
|
129
|
-
readonly message: string;
|
|
130
|
-
}[]];
|
|
131
|
-
readonly warning?: boolean | undefined;
|
|
132
|
-
readonly when: string;
|
|
133
|
-
}[] | undefined;
|
|
134
123
|
readonly nodeKey: string;
|
|
135
124
|
readonly nodeChildren: string;
|
|
136
125
|
readonly nodeLabel: readonly [{
|
|
@@ -149,6 +138,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
149
138
|
}[]] | undefined;
|
|
150
139
|
readonly nodeSelectable?: string | undefined;
|
|
151
140
|
readonly expandAll: boolean;
|
|
141
|
+
readonly validations?: readonly {
|
|
142
|
+
readonly message: readonly [{
|
|
143
|
+
readonly locale: "zh";
|
|
144
|
+
readonly message: string;
|
|
145
|
+
}, ...{
|
|
146
|
+
readonly locale: "en" | "ja" | "ko";
|
|
147
|
+
readonly message: string;
|
|
148
|
+
}[]];
|
|
149
|
+
readonly warning?: boolean | undefined;
|
|
150
|
+
readonly when: string;
|
|
151
|
+
}[] | undefined;
|
|
152
152
|
}) => any) | undefined;
|
|
153
153
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
154
154
|
declare const _default: typeof __VLS_export;
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue
CHANGED
|
@@ -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";
|
|
@@ -265,6 +265,25 @@ publishSelection(
|
|
|
265
265
|
() => selectedNode.value,
|
|
266
266
|
{ identity: (node) => getKey(node), raw: (node) => node }
|
|
267
267
|
);
|
|
268
|
+
const flatOptions = computed(() => {
|
|
269
|
+
const out = [];
|
|
270
|
+
const stack = [...roots.value];
|
|
271
|
+
while (stack.length) {
|
|
272
|
+
const n = stack.pop();
|
|
273
|
+
out.push(n);
|
|
274
|
+
const kids = getChildren(n);
|
|
275
|
+
if (kids && kids.length) stack.push(...kids);
|
|
276
|
+
}
|
|
277
|
+
return out;
|
|
278
|
+
});
|
|
279
|
+
publishOptions(
|
|
280
|
+
props.fieldId,
|
|
281
|
+
() => flatOptions.value.length > 0 ? flatOptions.value : void 0,
|
|
282
|
+
{
|
|
283
|
+
identity: (list) => list.map((n) => getKey(n)).join(" "),
|
|
284
|
+
raw: (list) => list
|
|
285
|
+
}
|
|
286
|
+
);
|
|
268
287
|
const readonlyText = computed(() => {
|
|
269
288
|
const selected = model.value;
|
|
270
289
|
if (selected == null) return null;
|
|
@@ -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-06-14";
|
|
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: string;
|
|
48
33
|
readonly optionKeywords?: string | undefined;
|
|
@@ -74,6 +59,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
74
59
|
readonly keywords?: readonly string[] | undefined;
|
|
75
60
|
}[];
|
|
76
61
|
};
|
|
62
|
+
readonly compatibilityDate: "2026-06-14";
|
|
63
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
64
|
+
readonly placeholder?: readonly [{
|
|
65
|
+
readonly locale: "zh";
|
|
66
|
+
readonly message: string;
|
|
67
|
+
}, ...{
|
|
68
|
+
readonly locale: "en" | "ja" | "ko";
|
|
69
|
+
readonly message: string;
|
|
70
|
+
}[]] | undefined;
|
|
71
|
+
readonly readonly?: string | undefined;
|
|
72
|
+
readonly binding?: string | undefined;
|
|
73
|
+
readonly derived?: {
|
|
74
|
+
readonly mode: "formula" | "prefill";
|
|
75
|
+
readonly expression: string;
|
|
76
|
+
} | undefined;
|
|
77
77
|
readonly validations?: readonly {
|
|
78
78
|
readonly message: readonly [{
|
|
79
79
|
readonly locale: "zh";
|
|
@@ -108,25 +108,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
}[]] | undefined;
|
|
109
109
|
readonly required?: string | undefined;
|
|
110
110
|
readonly displayName?: string | undefined;
|
|
111
|
-
readonly compatibilityDate: "2026-06-14";
|
|
112
|
-
readonly orientation?: "vertical" | "floating" | undefined;
|
|
113
|
-
readonly placeholder?: readonly [{
|
|
114
|
-
readonly locale: "zh";
|
|
115
|
-
readonly message: string;
|
|
116
|
-
}, ...{
|
|
117
|
-
readonly locale: "en" | "ja" | "ko";
|
|
118
|
-
readonly message: string;
|
|
119
|
-
}[]] | undefined;
|
|
120
|
-
readonly readonly?: string | undefined;
|
|
121
|
-
readonly binding?: string | undefined;
|
|
122
|
-
readonly derived?: {
|
|
123
|
-
readonly mode: "formula" | "prefill";
|
|
124
|
-
readonly expression: string;
|
|
125
|
-
} | undefined;
|
|
126
111
|
readonly options: {
|
|
127
112
|
readonly kind: "remote";
|
|
128
|
-
readonly request?: string | undefined;
|
|
129
113
|
readonly options: string;
|
|
114
|
+
readonly request?: string | undefined;
|
|
130
115
|
readonly optionValue: string;
|
|
131
116
|
readonly optionLabel: string;
|
|
132
117
|
readonly optionKeywords?: string | undefined;
|
|
@@ -158,6 +143,21 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
158
143
|
readonly keywords?: readonly string[] | undefined;
|
|
159
144
|
}[];
|
|
160
145
|
};
|
|
146
|
+
readonly compatibilityDate: "2026-06-14";
|
|
147
|
+
readonly orientation?: "vertical" | "floating" | undefined;
|
|
148
|
+
readonly placeholder?: readonly [{
|
|
149
|
+
readonly locale: "zh";
|
|
150
|
+
readonly message: string;
|
|
151
|
+
}, ...{
|
|
152
|
+
readonly locale: "en" | "ja" | "ko";
|
|
153
|
+
readonly message: string;
|
|
154
|
+
}[]] | undefined;
|
|
155
|
+
readonly readonly?: string | undefined;
|
|
156
|
+
readonly binding?: string | undefined;
|
|
157
|
+
readonly derived?: {
|
|
158
|
+
readonly mode: "formula" | "prefill";
|
|
159
|
+
readonly expression: string;
|
|
160
|
+
} | undefined;
|
|
161
161
|
readonly validations?: readonly {
|
|
162
162
|
readonly message: readonly [{
|
|
163
163
|
readonly locale: "zh";
|