@shwfed/config 2.12.1 → 2.12.2
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-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-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 +9 -1
- 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 +9 -1
- 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 +9 -1
- 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 +9 -1
- 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/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
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts
CHANGED
|
@@ -29,6 +29,40 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
29
29
|
readonly message: string;
|
|
30
30
|
}[]] | undefined;
|
|
31
31
|
}[];
|
|
32
|
+
readonly query?: {
|
|
33
|
+
readonly style?: string | undefined;
|
|
34
|
+
readonly id?: string | undefined;
|
|
35
|
+
readonly initial?: {
|
|
36
|
+
readonly data: string;
|
|
37
|
+
readonly request?: string | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
readonly displayName?: string | undefined;
|
|
40
|
+
readonly kind: "shwfed.component.form";
|
|
41
|
+
readonly fields: readonly any[];
|
|
42
|
+
readonly layouts: readonly {
|
|
43
|
+
readonly name: string;
|
|
44
|
+
readonly layout: {
|
|
45
|
+
readonly style?: string | undefined;
|
|
46
|
+
readonly columns: number;
|
|
47
|
+
readonly gap?: number | undefined;
|
|
48
|
+
readonly rows?: number | undefined;
|
|
49
|
+
readonly placements: {
|
|
50
|
+
readonly [x: string]: {
|
|
51
|
+
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
52
|
+
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
53
|
+
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
readonly media?: string | undefined;
|
|
58
|
+
}[];
|
|
59
|
+
readonly readonly?: string | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
readonly dataSource?: {
|
|
62
|
+
readonly data: string;
|
|
63
|
+
readonly total?: string | undefined;
|
|
64
|
+
readonly request?: string | undefined;
|
|
65
|
+
} | undefined;
|
|
32
66
|
readonly actions?: {
|
|
33
67
|
readonly size: "default" | "sm" | "xs";
|
|
34
68
|
readonly style?: string | undefined;
|
|
@@ -96,40 +130,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
96
130
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
97
131
|
}[];
|
|
98
132
|
} | undefined;
|
|
99
|
-
readonly query?: {
|
|
100
|
-
readonly style?: string | undefined;
|
|
101
|
-
readonly id?: string | undefined;
|
|
102
|
-
readonly initial?: {
|
|
103
|
-
readonly data: string;
|
|
104
|
-
readonly request?: string | undefined;
|
|
105
|
-
} | undefined;
|
|
106
|
-
readonly displayName?: string | undefined;
|
|
107
|
-
readonly kind: "shwfed.component.form";
|
|
108
|
-
readonly fields: readonly any[];
|
|
109
|
-
readonly layouts: readonly {
|
|
110
|
-
readonly name: string;
|
|
111
|
-
readonly layout: {
|
|
112
|
-
readonly style?: string | undefined;
|
|
113
|
-
readonly columns: number;
|
|
114
|
-
readonly gap?: number | undefined;
|
|
115
|
-
readonly rows?: number | undefined;
|
|
116
|
-
readonly placements: {
|
|
117
|
-
readonly [x: string]: {
|
|
118
|
-
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
119
|
-
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
120
|
-
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
readonly media?: string | undefined;
|
|
125
|
-
}[];
|
|
126
|
-
readonly readonly?: string | undefined;
|
|
127
|
-
} | undefined;
|
|
128
|
-
readonly dataSource?: {
|
|
129
|
-
readonly data: string;
|
|
130
|
-
readonly total?: string | undefined;
|
|
131
|
-
readonly request?: string | undefined;
|
|
132
|
-
} | undefined;
|
|
133
133
|
readonly bottomActions?: {
|
|
134
134
|
readonly size: "default" | "sm" | "xs";
|
|
135
135
|
readonly style?: string | undefined;
|
|
@@ -277,6 +277,40 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
277
277
|
readonly message: string;
|
|
278
278
|
}[]] | undefined;
|
|
279
279
|
}[];
|
|
280
|
+
readonly query?: {
|
|
281
|
+
readonly style?: string | undefined;
|
|
282
|
+
readonly id?: string | undefined;
|
|
283
|
+
readonly initial?: {
|
|
284
|
+
readonly data: string;
|
|
285
|
+
readonly request?: string | undefined;
|
|
286
|
+
} | undefined;
|
|
287
|
+
readonly displayName?: string | undefined;
|
|
288
|
+
readonly kind: "shwfed.component.form";
|
|
289
|
+
readonly fields: readonly any[];
|
|
290
|
+
readonly layouts: readonly {
|
|
291
|
+
readonly name: string;
|
|
292
|
+
readonly layout: {
|
|
293
|
+
readonly style?: string | undefined;
|
|
294
|
+
readonly columns: number;
|
|
295
|
+
readonly gap?: number | undefined;
|
|
296
|
+
readonly rows?: number | undefined;
|
|
297
|
+
readonly placements: {
|
|
298
|
+
readonly [x: string]: {
|
|
299
|
+
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
300
|
+
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
301
|
+
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
readonly media?: string | undefined;
|
|
306
|
+
}[];
|
|
307
|
+
readonly readonly?: string | undefined;
|
|
308
|
+
} | undefined;
|
|
309
|
+
readonly dataSource?: {
|
|
310
|
+
readonly data: string;
|
|
311
|
+
readonly total?: string | undefined;
|
|
312
|
+
readonly request?: string | undefined;
|
|
313
|
+
} | undefined;
|
|
280
314
|
readonly actions?: {
|
|
281
315
|
readonly size: "default" | "sm" | "xs";
|
|
282
316
|
readonly style?: string | undefined;
|
|
@@ -344,40 +378,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
344
378
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
345
379
|
}[];
|
|
346
380
|
} | undefined;
|
|
347
|
-
readonly query?: {
|
|
348
|
-
readonly style?: string | undefined;
|
|
349
|
-
readonly id?: string | undefined;
|
|
350
|
-
readonly initial?: {
|
|
351
|
-
readonly data: string;
|
|
352
|
-
readonly request?: string | undefined;
|
|
353
|
-
} | undefined;
|
|
354
|
-
readonly displayName?: string | undefined;
|
|
355
|
-
readonly kind: "shwfed.component.form";
|
|
356
|
-
readonly fields: readonly any[];
|
|
357
|
-
readonly layouts: readonly {
|
|
358
|
-
readonly name: string;
|
|
359
|
-
readonly layout: {
|
|
360
|
-
readonly style?: string | undefined;
|
|
361
|
-
readonly columns: number;
|
|
362
|
-
readonly gap?: number | undefined;
|
|
363
|
-
readonly rows?: number | undefined;
|
|
364
|
-
readonly placements: {
|
|
365
|
-
readonly [x: string]: {
|
|
366
|
-
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
367
|
-
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
368
|
-
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
readonly media?: string | undefined;
|
|
373
|
-
}[];
|
|
374
|
-
readonly readonly?: string | undefined;
|
|
375
|
-
} | undefined;
|
|
376
|
-
readonly dataSource?: {
|
|
377
|
-
readonly data: string;
|
|
378
|
-
readonly total?: string | undefined;
|
|
379
|
-
readonly request?: string | undefined;
|
|
380
|
-
} | undefined;
|
|
381
381
|
readonly bottomActions?: {
|
|
382
382
|
readonly size: "default" | "sm" | "xs";
|
|
383
383
|
readonly style?: string | undefined;
|
|
@@ -47,6 +47,40 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
47
47
|
readonly message: string;
|
|
48
48
|
}[]] | undefined;
|
|
49
49
|
}[];
|
|
50
|
+
readonly query?: {
|
|
51
|
+
readonly style?: string | undefined;
|
|
52
|
+
readonly id?: string | undefined;
|
|
53
|
+
readonly initial?: {
|
|
54
|
+
readonly data: string;
|
|
55
|
+
readonly request?: string | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
readonly displayName?: string | undefined;
|
|
58
|
+
readonly kind: "shwfed.component.form";
|
|
59
|
+
readonly fields: readonly any[];
|
|
60
|
+
readonly layouts: readonly {
|
|
61
|
+
readonly name: string;
|
|
62
|
+
readonly layout: {
|
|
63
|
+
readonly style?: string | undefined;
|
|
64
|
+
readonly columns: number;
|
|
65
|
+
readonly gap?: number | undefined;
|
|
66
|
+
readonly rows?: number | undefined;
|
|
67
|
+
readonly placements: {
|
|
68
|
+
readonly [x: string]: {
|
|
69
|
+
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
70
|
+
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
71
|
+
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
readonly media?: string | undefined;
|
|
76
|
+
}[];
|
|
77
|
+
readonly readonly?: string | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
readonly dataSource?: {
|
|
80
|
+
readonly data: string;
|
|
81
|
+
readonly total?: string | undefined;
|
|
82
|
+
readonly request?: string | undefined;
|
|
83
|
+
} | undefined;
|
|
50
84
|
readonly actions?: {
|
|
51
85
|
readonly size: "default" | "sm" | "xs";
|
|
52
86
|
readonly style?: string | undefined;
|
|
@@ -114,40 +148,6 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
114
148
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
115
149
|
}[];
|
|
116
150
|
} | undefined;
|
|
117
|
-
readonly query?: {
|
|
118
|
-
readonly style?: string | undefined;
|
|
119
|
-
readonly id?: string | undefined;
|
|
120
|
-
readonly initial?: {
|
|
121
|
-
readonly data: string;
|
|
122
|
-
readonly request?: string | undefined;
|
|
123
|
-
} | undefined;
|
|
124
|
-
readonly displayName?: string | undefined;
|
|
125
|
-
readonly kind: "shwfed.component.form";
|
|
126
|
-
readonly fields: readonly any[];
|
|
127
|
-
readonly layouts: readonly {
|
|
128
|
-
readonly name: string;
|
|
129
|
-
readonly layout: {
|
|
130
|
-
readonly style?: string | undefined;
|
|
131
|
-
readonly columns: number;
|
|
132
|
-
readonly gap?: number | undefined;
|
|
133
|
-
readonly rows?: number | undefined;
|
|
134
|
-
readonly placements: {
|
|
135
|
-
readonly [x: string]: {
|
|
136
|
-
readonly area: readonly [readonly [number, number], readonly [number, number]];
|
|
137
|
-
readonly v?: "stretch" | "center" | "end" | "start" | undefined;
|
|
138
|
-
readonly h?: "stretch" | "center" | "end" | "start" | undefined;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
readonly media?: string | undefined;
|
|
143
|
-
}[];
|
|
144
|
-
readonly readonly?: string | undefined;
|
|
145
|
-
} | undefined;
|
|
146
|
-
readonly dataSource?: {
|
|
147
|
-
readonly data: string;
|
|
148
|
-
readonly total?: string | undefined;
|
|
149
|
-
readonly request?: string | undefined;
|
|
150
|
-
} | undefined;
|
|
151
151
|
readonly bottomActions?: {
|
|
152
152
|
readonly size: "default" | "sm" | "xs";
|
|
153
153
|
readonly style?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed, ref } from "vue";
|
|
3
|
-
import { provideCELContext, provideScopeAncestor, SELECTIONS_VAR } from "../../utils/cel-context";
|
|
3
|
+
import { OPTIONS_VAR, provideCELContext, provideScopeAncestor, SELECTIONS_VAR } from "../../utils/cel-context";
|
|
4
4
|
import { getLocalizedText } from "../../share/locale";
|
|
5
5
|
import { findField } from "./utils/resolve";
|
|
6
6
|
import { ExpressionEditor } from "../ui/expression-editor";
|
|
@@ -29,6 +29,7 @@ const configure = props.configure ?? (() => {
|
|
|
29
29
|
const formConfigSchema = FormConfig(configure);
|
|
30
30
|
const generalFieldTitle = (f) => getStructFieldTitle(formConfigSchema, f) ?? f;
|
|
31
31
|
const generalFieldDescription = (f) => getStructFieldDescription(formConfigSchema, f);
|
|
32
|
+
const INITIAL_EXCLUDED_VARS = [SELECTIONS_VAR, OPTIONS_VAR, "undoable", "redoable"];
|
|
32
33
|
const initialFieldTitle = (f) => getNestedStructFieldTitle(formConfigSchema, "initial", f) ?? f;
|
|
33
34
|
const initialFieldDescription = (f) => getNestedStructFieldDescription(formConfigSchema, "initial", f);
|
|
34
35
|
provideCELContext(buildFormCelScope(configure));
|
|
@@ -66,6 +67,13 @@ const formScopeAncestor = computed(() => {
|
|
|
66
67
|
type: "dyn",
|
|
67
68
|
description: "\u8BE5\u9009\u62E9\u5B57\u6BB5\u5F53\u524D\u9009\u4E2D\u9879\u7684\u5B8C\u6574\u5BF9\u8C61\uFF08\u542B key \u4EE5\u5916\u7684\u5B57\u6BB5\uFF09"
|
|
68
69
|
}));
|
|
70
|
+
const optionMembers = config.value.fields.filter((f) => findField(f.type, f.compatibilityDate)?.metadata?.selection).map((f) => ({
|
|
71
|
+
key: `${OPTIONS_VAR}[${JSON.stringify(f.id)}]`,
|
|
72
|
+
shortcut: OPTIONS_VAR,
|
|
73
|
+
label: selectionFieldLabel(f),
|
|
74
|
+
type: "dyn",
|
|
75
|
+
description: "\u8BE5\u9009\u62E9\u5B57\u6BB5\u5F53\u524D\u5DF2\u52A0\u8F7D\u7684\u5168\u90E8\u9009\u9879\uFF08\u5143\u7D20\u4E3A\u9009\u9879\u5B8C\u6574\u5BF9\u8C61\uFF09"
|
|
76
|
+
}));
|
|
69
77
|
return {
|
|
70
78
|
id,
|
|
71
79
|
name: displayName && displayName.length > 0 ? displayName : void 0,
|
|
@@ -73,12 +81,13 @@ const formScopeAncestor = computed(() => {
|
|
|
73
81
|
typeIcon: formMetadata.icon,
|
|
74
82
|
members: [
|
|
75
83
|
{ key: "form", label: "\u8868\u5355\u503C", type: "dyn", description: "\u8BE5\u8868\u5355\u7684\u5F53\u524D\u6574\u4F53\u72B6\u6001" },
|
|
76
|
-
...selectionMembers
|
|
84
|
+
...selectionMembers,
|
|
85
|
+
...optionMembers
|
|
77
86
|
],
|
|
78
|
-
// The form unconditionally rebinds
|
|
79
|
-
// subtree (index.vue), so declare them explicitly rather than deriving
|
|
80
|
-
// `members` — a form with no selection field still shadows
|
|
81
|
-
shadows: ["form", SELECTIONS_VAR]
|
|
87
|
+
// The form unconditionally rebinds `form`, `selections` and `options` for
|
|
88
|
+
// its subtree (index.vue), so declare them explicitly rather than deriving
|
|
89
|
+
// from `members` — a form with no selection field still shadows all three.
|
|
90
|
+
shadows: ["form", SELECTIONS_VAR, OPTIONS_VAR]
|
|
82
91
|
};
|
|
83
92
|
});
|
|
84
93
|
provideScopeAncestor(formScopeAncestor);
|
|
@@ -182,6 +191,7 @@ function updateStyle(value) {
|
|
|
182
191
|
result-type="HttpRequest"
|
|
183
192
|
multiline
|
|
184
193
|
class="min-h-20"
|
|
194
|
+
:exclude-vars="INITIAL_EXCLUDED_VARS"
|
|
185
195
|
@update:model-value="(v) => setInitialField('request', v)"
|
|
186
196
|
/>
|
|
187
197
|
</Field>
|
|
@@ -207,6 +217,7 @@ function updateStyle(value) {
|
|
|
207
217
|
:extra-vars="{ json: { type: 'optional<dyn>', label: 'HTTP \u54CD\u5E94\u4F53', description: '\u300C\u8BF7\u6C42\u300D\u7684\u54CD\u5E94\u4F53\uFF08\u5DF2\u89E3\u6790 JSON\uFF09\uFF1B\u672A\u914D\u7F6E\u8BF7\u6C42\u65F6\u4E3A none' } }"
|
|
208
218
|
multiline
|
|
209
219
|
class="min-h-20"
|
|
220
|
+
:exclude-vars="INITIAL_EXCLUDED_VARS"
|
|
210
221
|
@update:model-value="(v) => setInitialField('data', v)"
|
|
211
222
|
/>
|
|
212
223
|
</Field>
|
|
@@ -24,6 +24,7 @@ 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 options: string;
|
|
27
28
|
readonly compatibilityDate: "2026-04-24";
|
|
28
29
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
30
|
readonly placeholder?: readonly [{
|
|
@@ -39,7 +40,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
40
|
readonly mode: "formula" | "prefill";
|
|
40
41
|
readonly expression: string;
|
|
41
42
|
} | undefined;
|
|
42
|
-
readonly options: string;
|
|
43
43
|
readonly validations?: readonly {
|
|
44
44
|
readonly message: readonly [{
|
|
45
45
|
readonly locale: "zh";
|
|
@@ -82,6 +82,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
82
82
|
}[]] | undefined;
|
|
83
83
|
readonly required?: string | undefined;
|
|
84
84
|
readonly displayName?: string | undefined;
|
|
85
|
+
readonly options: string;
|
|
85
86
|
readonly compatibilityDate: "2026-04-24";
|
|
86
87
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
87
88
|
readonly placeholder?: readonly [{
|
|
@@ -97,7 +98,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
97
98
|
readonly mode: "formula" | "prefill";
|
|
98
99
|
readonly expression: string;
|
|
99
100
|
} | undefined;
|
|
100
|
-
readonly options: string;
|
|
101
101
|
readonly validations?: readonly {
|
|
102
102
|
readonly message: readonly [{
|
|
103
103
|
readonly locale: "zh";
|
|
@@ -24,6 +24,7 @@ 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 options: string;
|
|
27
28
|
readonly compatibilityDate: "2026-04-24";
|
|
28
29
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
30
|
readonly placeholder?: readonly [{
|
|
@@ -39,7 +40,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
39
40
|
readonly mode: "formula" | "prefill";
|
|
40
41
|
readonly expression: string;
|
|
41
42
|
} | undefined;
|
|
42
|
-
readonly options: string;
|
|
43
43
|
readonly validations?: readonly {
|
|
44
44
|
readonly message: readonly [{
|
|
45
45
|
readonly locale: "zh";
|
|
@@ -82,6 +82,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
82
82
|
}[]] | undefined;
|
|
83
83
|
readonly required?: string | undefined;
|
|
84
84
|
readonly displayName?: string | undefined;
|
|
85
|
+
readonly options: string;
|
|
85
86
|
readonly compatibilityDate: "2026-04-24";
|
|
86
87
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
87
88
|
readonly placeholder?: readonly [{
|
|
@@ -97,7 +98,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
97
98
|
readonly mode: "formula" | "prefill";
|
|
98
99
|
readonly expression: string;
|
|
99
100
|
} | undefined;
|
|
100
|
-
readonly options: string;
|
|
101
101
|
readonly validations?: readonly {
|
|
102
102
|
readonly message: readonly [{
|
|
103
103
|
readonly locale: "zh";
|
|
@@ -24,6 +24,7 @@ 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 options: string;
|
|
27
28
|
readonly compatibilityDate: "2026-05-13";
|
|
28
29
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
30
|
readonly placeholder?: readonly [{
|
|
@@ -40,7 +41,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
40
41
|
readonly mode: "formula" | "prefill";
|
|
41
42
|
readonly expression: string;
|
|
42
43
|
} | undefined;
|
|
43
|
-
readonly options: string;
|
|
44
44
|
readonly validations?: readonly {
|
|
45
45
|
readonly message: readonly [{
|
|
46
46
|
readonly locale: "zh";
|
|
@@ -83,6 +83,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
83
83
|
}[]] | undefined;
|
|
84
84
|
readonly required?: string | undefined;
|
|
85
85
|
readonly displayName?: string | undefined;
|
|
86
|
+
readonly options: string;
|
|
86
87
|
readonly compatibilityDate: "2026-05-13";
|
|
87
88
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
88
89
|
readonly placeholder?: readonly [{
|
|
@@ -99,7 +100,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
99
100
|
readonly mode: "formula" | "prefill";
|
|
100
101
|
readonly expression: string;
|
|
101
102
|
} | undefined;
|
|
102
|
-
readonly options: string;
|
|
103
103
|
readonly validations?: readonly {
|
|
104
104
|
readonly message: readonly [{
|
|
105
105
|
readonly locale: "zh";
|
|
@@ -24,6 +24,7 @@ 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 options: string;
|
|
27
28
|
readonly compatibilityDate: "2026-05-13";
|
|
28
29
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
30
|
readonly placeholder?: readonly [{
|
|
@@ -40,7 +41,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
40
41
|
readonly mode: "formula" | "prefill";
|
|
41
42
|
readonly expression: string;
|
|
42
43
|
} | undefined;
|
|
43
|
-
readonly options: string;
|
|
44
44
|
readonly validations?: readonly {
|
|
45
45
|
readonly message: readonly [{
|
|
46
46
|
readonly locale: "zh";
|
|
@@ -83,6 +83,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
83
83
|
}[]] | undefined;
|
|
84
84
|
readonly required?: string | undefined;
|
|
85
85
|
readonly displayName?: string | undefined;
|
|
86
|
+
readonly options: string;
|
|
86
87
|
readonly compatibilityDate: "2026-05-13";
|
|
87
88
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
88
89
|
readonly placeholder?: readonly [{
|
|
@@ -99,7 +100,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
99
100
|
readonly mode: "formula" | "prefill";
|
|
100
101
|
readonly expression: string;
|
|
101
102
|
} | undefined;
|
|
102
|
-
readonly options: string;
|
|
103
103
|
readonly validations?: readonly {
|
|
104
104
|
readonly message: readonly [{
|
|
105
105
|
readonly locale: "zh";
|
|
@@ -5,7 +5,7 @@ import { celBindings, injectCELContext, provideCELContext } from "../../../../..
|
|
|
5
5
|
import FormUnitRenderer from "../../../FormUnitRenderer.vue";
|
|
6
6
|
import { useDerived, useDerivedQuiescence } from "../../../utils/derived";
|
|
7
7
|
import { provideFormState } from "../../../utils/state";
|
|
8
|
-
import { provideSelectionsRegistry } from "../../../../../utils/selections-registry";
|
|
8
|
+
import { provideOptionsRegistry, provideSelectionsRegistry } from "../../../../../utils/selections-registry";
|
|
9
9
|
defineOptions({ name: "ShwfedListFieldRow" });
|
|
10
10
|
const state = defineModel({ type: null, ...{ required: true } });
|
|
11
11
|
const props = defineProps({
|
|
@@ -14,6 +14,7 @@ const props = defineProps({
|
|
|
14
14
|
});
|
|
15
15
|
const formState = provideFormState(state, "row");
|
|
16
16
|
const selections = provideSelectionsRegistry();
|
|
17
|
+
const options = provideOptionsRegistry();
|
|
17
18
|
provideCELContext({
|
|
18
19
|
item: {
|
|
19
20
|
type: "dyn",
|
|
@@ -32,6 +33,12 @@ provideCELContext({
|
|
|
32
33
|
label: "\u9009\u4E2D\u9879",
|
|
33
34
|
description: "\u672C\u5217\u8868\u9879\u5404\u9009\u62E9\u5B57\u6BB5\u5F53\u524D\u9009\u4E2D\u9879\u7684\u5B8C\u6574\u5BF9\u8C61\uFF08\u6309\u5B57\u6BB5\u6807\u8BC6\uFF09\u3002",
|
|
34
35
|
value: () => selections.entries.value
|
|
36
|
+
},
|
|
37
|
+
options: {
|
|
38
|
+
type: "dyn",
|
|
39
|
+
label: "\u5168\u90E8\u9009\u9879",
|
|
40
|
+
description: "\u672C\u5217\u8868\u9879\u5404\u9009\u62E9\u5B57\u6BB5\u5F53\u524D\u5DF2\u52A0\u8F7D\u7684\u5168\u90E8\u9009\u9879\uFF08\u6309\u5B57\u6BB5\u6807\u8BC6\uFF09\u3002",
|
|
41
|
+
value: () => options.entries.value
|
|
35
42
|
}
|
|
36
43
|
});
|
|
37
44
|
const inherited = injectCELContext();
|
|
@@ -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;
|