@shwfed/config 2.3.26 → 2.3.28

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.
Files changed (84) hide show
  1. package/dist/mcp.mjs +1211 -701
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{config-BkimX91E.js → config--PcXQV_r.js} +1 -1
  4. package/dist/preview/assets/{config-CO2iovZD.js → config-5KVDXgUF.js} +1 -1
  5. package/dist/preview/assets/{config-u1rl9w2L.js → config-B5avpKJE.js} +1 -1
  6. package/dist/preview/assets/{config-DgZ4NYoA.js → config-CJHPt8Gx.js} +1 -1
  7. package/dist/preview/assets/{config-ypYLVfRE.js → config-CNo3isHa.js} +1 -1
  8. package/dist/preview/assets/{config-Cm9t0CvW.js → config-CQHS6cZe.js} +1 -1
  9. package/dist/preview/assets/{config-DPFHMkHc.js → config-D0_1yZdF.js} +1 -1
  10. package/dist/preview/assets/{config-Dzqe6v-x.js → config-DDfTl9Cs.js} +1 -1
  11. package/dist/preview/assets/{config-BATy87wV.js → config-fvkC2rB8.js} +1 -1
  12. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-CliXxe84.js → definition.vue_vue_type_script_setup_true_lang-RM-qDh0R.js} +1 -1
  13. package/dist/preview/assets/index-DNd8J9Zv.js +643 -0
  14. package/dist/preview/assets/index-DrIMqXAa.js +1 -0
  15. package/dist/preview/assets/index-a2QwAots.css +1 -0
  16. package/dist/preview/assets/{runtime-Dtc1ETUF.js → runtime-BGTWf-O7.js} +1 -1
  17. package/dist/preview/assets/{runtime-B_FMZ5eD.js → runtime-BPjZQmcY.js} +1 -1
  18. package/dist/preview/assets/{runtime-BTROwcw4.js → runtime-Bq3fmxeF.js} +1 -1
  19. package/dist/preview/assets/{runtime-Dsx8Y56q.js → runtime-CCbyrqQT.js} +1 -1
  20. package/dist/preview/assets/{runtime-T_tUqLxO.js → runtime-C_XX6a0C.js} +1 -1
  21. package/dist/preview/assets/{runtime-BR6-W3u_.js → runtime-CtqwtTE_.js} +1 -1
  22. package/dist/preview/assets/{runtime-D1xLbTQ9.js → runtime-DcrzodsN.js} +1 -1
  23. package/dist/preview/assets/{runtime-CTpsTb-X.js → runtime-Dr_10emf.js} +1 -1
  24. package/dist/preview/assets/{runtime-Cj0kLSqP.js → runtime-Dy4ZmQ-n.js} +1 -1
  25. package/dist/preview/index.html +2 -2
  26. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.d.vue.ts +2 -0
  27. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue +57 -3
  28. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue.d.ts +2 -0
  29. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.d.vue.ts +2 -0
  30. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue +1 -0
  31. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue.d.ts +2 -0
  32. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +2 -0
  33. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +4 -0
  34. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +4 -4
  35. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +4 -4
  36. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +127 -0
  37. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue +593 -0
  38. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +127 -0
  39. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.d.vue.ts +8 -0
  40. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue +465 -0
  41. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue.d.ts +8 -0
  42. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +95 -0
  43. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.js +112 -0
  44. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +125 -0
  45. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue +525 -0
  46. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +125 -0
  47. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.d.vue.ts +8 -0
  48. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue +460 -0
  49. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue.d.ts +8 -0
  50. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +92 -0
  51. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.js +104 -0
  52. package/dist/runtime/components/form/fields/2026-05-26/tree-combobox-shared.d.ts +35 -0
  53. package/dist/runtime/components/form/fields/2026-05-26/tree-combobox-shared.js +31 -0
  54. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue +36 -13
  55. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue +36 -12
  56. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue +0 -1
  57. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +131 -0
  58. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue +607 -0
  59. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +131 -0
  60. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.d.vue.ts +9 -0
  61. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue +447 -0
  62. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue.d.ts +9 -0
  63. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +90 -0
  64. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.js +143 -0
  65. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +129 -0
  66. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue +538 -0
  67. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +129 -0
  68. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.d.vue.ts +9 -0
  69. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue +429 -0
  70. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue.d.ts +9 -0
  71. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.d.ts +87 -0
  72. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.js +135 -0
  73. package/dist/runtime/components/table/columns/2026-05-27/tree-combobox-shared.d.ts +35 -0
  74. package/dist/runtime/components/table/columns/2026-05-27/tree-combobox-shared.js +31 -0
  75. package/dist/runtime/components/table/config.vue +29 -0
  76. package/dist/runtime/components/ui/command/CommandItem.vue +12 -4
  77. package/dist/runtime/components/ui/tree/Tree.d.vue.ts +2 -0
  78. package/dist/runtime/components/ui/tree/Tree.vue +7 -2
  79. package/dist/runtime/components/ui/tree/Tree.vue.d.ts +2 -0
  80. package/dist/runtime/components/ui/tree/TreeNode.vue +16 -26
  81. package/package.json +1 -1
  82. package/dist/preview/assets/index-6rM4rqXR.js +0 -1
  83. package/dist/preview/assets/index-BCE-G4Ha.css +0 -1
  84. package/dist/preview/assets/index-wBVA0mNO.js +0 -643
@@ -0,0 +1,95 @@
1
+ import { Schema } from 'effect';
2
+ import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
3
+ export declare const type: "com.shwfed.form.field.tree.combobox.multi";
4
+ export declare const compatibilityDate: "2026-05-26";
5
+ export declare const metadata: {
6
+ readonly name: "下拉树(多选)";
7
+ readonly icon: "fluent:tree-evergreen-20-regular";
8
+ readonly w: {
9
+ readonly initial: 8;
10
+ readonly min: 4;
11
+ readonly max: number;
12
+ };
13
+ readonly h: {
14
+ readonly initial: 2;
15
+ readonly min: 2;
16
+ readonly max: 2;
17
+ };
18
+ };
19
+ export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
20
+ label: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
21
+ locale: Schema.Literal<["zh"]>;
22
+ message: Schema.SchemaClass<string, string, never>;
23
+ }>], [Schema.Struct<{
24
+ locale: Schema.Literal<["ja", "en", "ko"]>;
25
+ message: Schema.SchemaClass<string, string, never>;
26
+ }>]>>;
27
+ placeholder: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
28
+ locale: Schema.Literal<["zh"]>;
29
+ message: Schema.SchemaClass<string, string, never>;
30
+ }>], [Schema.Struct<{
31
+ locale: Schema.Literal<["ja", "en", "ko"]>;
32
+ message: Schema.SchemaClass<string, string, never>;
33
+ }>]>>;
34
+ tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
35
+ locale: Schema.Literal<["zh"]>;
36
+ message: Schema.SchemaClass<string, string, never>;
37
+ }>], [Schema.Struct<{
38
+ locale: Schema.Literal<["ja", "en", "ko"]>;
39
+ message: Schema.SchemaClass<string, string, never>;
40
+ }>]>>;
41
+ orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
42
+ binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
43
+ disabled: Schema.optional<Schema.Schema<string, string, never>>;
44
+ readonly: Schema.optional<Schema.Schema<string, string, never>>;
45
+ derived: Schema.optional<Schema.Struct<{
46
+ mode: Schema.Literal<["formula", "prefill"]>;
47
+ expression: Schema.Schema<string, string, never>;
48
+ }>>;
49
+ dataSource: Schema.Struct<{
50
+ request: Schema.optional<Schema.Schema<string, string, never>>;
51
+ data: Schema.Schema<string, string, never>;
52
+ }>;
53
+ nodeKey: Schema.Schema<string, string, never>;
54
+ nodeChildren: Schema.Schema<string, string, never>;
55
+ nodeLabel: Schema.refine<readonly [{
56
+ readonly locale: "zh";
57
+ readonly message: string;
58
+ }, ...{
59
+ readonly locale: "en" | "ja" | "ko";
60
+ readonly message: string;
61
+ }[]], Schema.TupleType<readonly [Schema.Struct<{
62
+ locale: Schema.Literal<["zh"]>;
63
+ message: Schema.SchemaClass<string, string, never>;
64
+ }>], [Schema.Struct<{
65
+ locale: Schema.Literal<["ja", "en", "ko"]>;
66
+ message: Schema.SchemaClass<string, string, never>;
67
+ }>]>>;
68
+ nodeTooltip: Schema.optional<Schema.refine<readonly [{
69
+ readonly locale: "zh";
70
+ readonly message: string;
71
+ }, ...{
72
+ readonly locale: "en" | "ja" | "ko";
73
+ readonly message: string;
74
+ }[]], Schema.TupleType<readonly [Schema.Struct<{
75
+ locale: Schema.Literal<["zh"]>;
76
+ message: Schema.SchemaClass<string, string, never>;
77
+ }>], [Schema.Struct<{
78
+ locale: Schema.Literal<["ja", "en", "ko"]>;
79
+ message: Schema.SchemaClass<string, string, never>;
80
+ }>]>>>;
81
+ nodeSelectable: Schema.optional<Schema.Schema<string, string, never>>;
82
+ cascade: Schema.optionalWith<Schema.Literal<["independent", "cascade-down", "cascade-both"]>, {
83
+ default: () => "independent";
84
+ }>;
85
+ expandAll: Schema.optionalWith<typeof Schema.Boolean, {
86
+ default: () => false;
87
+ }>;
88
+ id: Schema.refine<string, typeof Schema.String>;
89
+ displayName: Schema.optional<Schema.SchemaClass<string, string, never>>;
90
+ hidden: Schema.optional<Schema.Schema<string, string, never>>;
91
+ type: Schema.Literal<["com.shwfed.form.field.tree.combobox.multi"]>;
92
+ compatibilityDate: Schema.Literal<["2026-05-26"]>;
93
+ }>;
94
+ export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
95
+ export declare function defaults(): Partial<Value>;
@@ -0,0 +1,112 @@
1
+ import { Schema } from "effect";
2
+ import { Expression, LocaleMarkdown } from "../../../../../share/expression.js";
3
+ import { Locale } from "../../../../../share/locale.js";
4
+ import { DataSource } from "../../../../table/schema.js";
5
+ import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
6
+ export const type = "com.shwfed.form.field.tree.combobox.multi";
7
+ export const compatibilityDate = "2026-05-26";
8
+ export const metadata = {
9
+ name: "\u4E0B\u62C9\u6811\uFF08\u591A\u9009\uFF09",
10
+ icon: "fluent:tree-evergreen-20-regular",
11
+ w: { initial: 8, min: 4, max: Infinity },
12
+ h: { initial: 2, min: 2, max: 2 }
13
+ };
14
+ const NODE_VAR = {
15
+ type: "dyn",
16
+ label: "\u5F53\u524D\u8282\u70B9",
17
+ description: "`\u6570\u636E\u6E90` \u8FD4\u56DE\u7684\u8282\u70B9\uFF1B\u7531\u6811\u9010\u5C42\u5411\u4E0B\u8BFB\u53D6"
18
+ };
19
+ const isListLike = (t) => t === "dyn" || t.startsWith("list") || t.startsWith("optional");
20
+ const isKeyType = (t) => t === "string" || t === "number" || t === "dyn";
21
+ function withNode(configure) {
22
+ return (env) => {
23
+ configure(env);
24
+ env.registerVariable("node", NODE_VAR.type, { description: NODE_VAR.description });
25
+ };
26
+ }
27
+ export function schema(configure) {
28
+ const CelBool = Expression({ configure, resultType: "bool" });
29
+ const CelNodeKey = Expression({ configure: withNode(configure), resultType: isKeyType });
30
+ const CelNodeChildren = Expression({ configure: withNode(configure), resultType: isListLike });
31
+ const CelNodeBool = Expression({ configure: withNode(configure), resultType: "bool" });
32
+ const NodeLocaleMd = LocaleMarkdown({ configure: withNode(configure) });
33
+ return Schema.Struct({
34
+ type: Schema.Literal(type),
35
+ compatibilityDate: Schema.Literal(compatibilityDate),
36
+ ...commonFieldFields(configure),
37
+ label: Schema.optional(Locale.annotations({
38
+ title: "\u6807\u7B7E",
39
+ description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
40
+ })),
41
+ placeholder: Schema.optional(Locale.annotations({
42
+ title: "\u5360\u4F4D\u7B26",
43
+ description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u89E6\u53D1\u5668\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
44
+ })),
45
+ tooltip: Schema.optional(Locale.annotations({
46
+ title: "\u63D0\u793A",
47
+ description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
48
+ })),
49
+ orientation: Schema.optional(FieldOrientationSchema),
50
+ binding: Schema.optional(Schema.String.pipe(Schema.minLength(1)).annotations({
51
+ title: "\u7ED1\u5B9A\u8DEF\u5F84",
52
+ description: "\u5199\u5165\u8868\u5355\u72B6\u6001\u7684 `dot-prop` \u8DEF\u5F84\uFF1B\u5199\u5165\u503C\u4E3A\u5DF2\u9009\u8282\u70B9 ID \u7EC4\u6210\u7684\u6570\u7EC4\uFF1B\u7559\u7A7A\u5219\u4E3A\u975E\u53D7\u63A7\u5B57\u6BB5"
53
+ })),
54
+ disabled: Schema.optional(CelBool.annotations({
55
+ title: "\u7981\u7528\u6761\u4EF6",
56
+ description: "\u8FD4\u56DE `true` \u65F6\u4ECD\u6E32\u67D3\u4F46\u4E0D\u53EF\u9009\u62E9"
57
+ })),
58
+ readonly: Schema.optional(CelBool.annotations({
59
+ title: "\u53EA\u8BFB\u6761\u4EF6",
60
+ description: "\u8FD4\u56DE `true` \u65F6\u4EC5\u4EE5\u7EAF\u6587\u672C\u5C55\u793A\u5F53\u524D\u5DF2\u9009\u9879\u7684\u6807\u7B7E"
61
+ })),
62
+ derived: derivedField(configure, isListLike),
63
+ dataSource: DataSource(configure).annotations({
64
+ title: "\u6570\u636E\u6E90",
65
+ description: "\u8FD4\u56DE\u5B8C\u6574\u6811\uFF08\u6839\u8282\u70B9\u5217\u8868\uFF09\u7684\u6570\u636E\u6E90\uFF1B\u901A\u8FC7 `\u8282\u70B9\u5B50\u7EA7` \u8868\u8FBE\u5F0F\u9010\u5C42\u5411\u4E0B\u8BFB\u53D6"
66
+ }),
67
+ nodeKey: CelNodeKey.annotations({
68
+ title: "\u8282\u70B9 ID",
69
+ description: "\u4E3A\u6BCF\u4E2A\u8282\u70B9\u8BA1\u7B97\u7A33\u5B9A\u552F\u4E00 ID \u7684 CEL \u8868\u8FBE\u5F0F\uFF0C\u53EF\u8BBF\u95EE `node`\uFF1B\u8FD0\u884C\u65F6\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u5B58\u50A8"
70
+ }),
71
+ nodeChildren: CelNodeChildren.annotations({
72
+ title: "\u8282\u70B9\u5B50\u7EA7",
73
+ description: "\u8FD4\u56DE\u5F53\u524D\u8282\u70B9\u5B50\u7EA7\u5217\u8868\u7684 CEL \u8868\u8FBE\u5F0F\uFF1B\u8FD4\u56DE `none`/`null` \u6216\u7A7A\u6570\u7EC4\u65F6\u8BE5\u8282\u70B9\u89C6\u4E3A\u53F6\u5B50\uFF08\u7EC8\u7AEF\u8282\u70B9\uFF09"
74
+ }),
75
+ nodeLabel: NodeLocaleMd.annotations({
76
+ title: "\u8282\u70B9\u6807\u7B7E",
77
+ description: "\u8282\u70B9\u5C55\u793A\u7684\u672C\u5730\u5316\u6587\u672C\uFF0C\u652F\u6301 Markdown \u4E0E `{{ node.foo }}` / `{{ form.foo }}` \u63D2\u503C"
78
+ }),
79
+ nodeTooltip: Schema.optional(NodeLocaleMd.annotations({
80
+ title: "\u8282\u70B9\u63D0\u793A",
81
+ description: "\u9F20\u6807\u60AC\u505C\u5728\u8282\u70B9\u4E0A\u65F6\u5C55\u793A\u7684\u672C\u5730\u5316\u63D0\u793A"
82
+ })),
83
+ nodeSelectable: Schema.optional(CelNodeBool.annotations({
84
+ title: "\u8282\u70B9\u53EF\u9009\u6761\u4EF6",
85
+ description: "\u8FD4\u56DE `true` \u8868\u793A\u8BE5\u8282\u70B9\u53EF\u88AB\u9009\u4E2D\uFF1B\u9ED8\u8BA4\u5168\u90E8\u53EF\u9009"
86
+ })),
87
+ cascade: Schema.optionalWith(
88
+ Schema.Literal("independent", "cascade-down", "cascade-both"),
89
+ { default: () => "independent" }
90
+ ).annotations({
91
+ title: "\u7EA7\u8054\u6A21\u5F0F",
92
+ description: "`\u72EC\u7ACB`\uFF1A\u52FE\u9009 / \u53D6\u6D88\u53EA\u4F5C\u7528\u4E8E\u5F53\u524D\u8282\u70B9\uFF1B`\u5411\u4E0B\u7EA7\u8054`\uFF1A\u52FE\u9009\u7236\u8282\u70B9\u81EA\u52A8\u52FE\u9009\u5176\u5168\u90E8\u53EF\u9009\u540E\u4EE3\uFF1B`\u53CC\u5411\u7EA7\u8054`\uFF1A\u5728\u5411\u4E0B\u7EA7\u8054\u57FA\u7840\u4E0A\uFF0C\u7236\u8282\u70B9\u53CD\u6620\u540E\u4EE3\u52FE\u9009\u72B6\u6001\uFF08\u90E8\u5206\u9009\u4E2D\u663E\u793A\u4E3A\u534A\u9009\uFF09"
93
+ }),
94
+ expandAll: Schema.optionalWith(Schema.Boolean, { default: () => false }).annotations({
95
+ title: "\u9ED8\u8BA4\u5168\u90E8\u5C55\u5F00",
96
+ description: "\u5F00\u542F\u540E\u6302\u8F7D\u65F6\u5C55\u5F00\u6240\u6709\u975E\u53F6\u5B50\u8282\u70B9"
97
+ })
98
+ }).annotations({
99
+ title: "TreeComboboxMultiField",
100
+ description: "\u57FA\u4E8E\u6811\u5F62\u6570\u636E\u7684\u4E0B\u62C9\u591A\u9009\u8F93\u5165"
101
+ });
102
+ }
103
+ export function defaults() {
104
+ return {
105
+ dataSource: { data: "[]" },
106
+ nodeKey: "string(node.id)",
107
+ nodeChildren: "has(node.children) ? node.children : null",
108
+ nodeLabel: [{ locale: "zh", message: "{{ node.label }}" }],
109
+ cascade: "independent",
110
+ expandAll: false
111
+ };
112
+ }
@@ -0,0 +1,125 @@
1
+ import { type Value } from './schema.js';
2
+ type __VLS_ModelProps = {
3
+ modelValue: Value;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:modelValue": (value: {
7
+ readonly label?: readonly [{
8
+ readonly locale: "zh";
9
+ readonly message: string;
10
+ }, ...{
11
+ readonly locale: "en" | "ja" | "ko";
12
+ readonly message: string;
13
+ }[]] | undefined;
14
+ readonly disabled?: string | undefined;
15
+ readonly type: "com.shwfed.form.field.tree.combobox.single";
16
+ readonly id: string;
17
+ readonly hidden?: string | undefined;
18
+ readonly tooltip?: readonly [{
19
+ readonly locale: "zh";
20
+ readonly message: string;
21
+ }, ...{
22
+ readonly locale: "en" | "ja" | "ko";
23
+ readonly message: string;
24
+ }[]] | undefined;
25
+ readonly displayName?: string | undefined;
26
+ readonly compatibilityDate: "2026-05-26";
27
+ readonly orientation?: "vertical" | "floating" | undefined;
28
+ readonly placeholder?: readonly [{
29
+ readonly locale: "zh";
30
+ readonly message: string;
31
+ }, ...{
32
+ readonly locale: "en" | "ja" | "ko";
33
+ readonly message: string;
34
+ }[]] | undefined;
35
+ readonly readonly?: string | undefined;
36
+ readonly binding?: string | undefined;
37
+ readonly derived?: {
38
+ readonly mode: "formula" | "prefill";
39
+ readonly expression: string;
40
+ } | undefined;
41
+ readonly dataSource: {
42
+ readonly data: string;
43
+ readonly request?: string | undefined;
44
+ };
45
+ readonly nodeKey: string;
46
+ readonly nodeChildren: string;
47
+ readonly nodeLabel: readonly [{
48
+ readonly locale: "zh";
49
+ readonly message: string;
50
+ }, ...{
51
+ readonly locale: "en" | "ja" | "ko";
52
+ readonly message: string;
53
+ }[]];
54
+ readonly expandAll: boolean;
55
+ readonly nodeTooltip?: readonly [{
56
+ readonly locale: "zh";
57
+ readonly message: string;
58
+ }, ...{
59
+ readonly locale: "en" | "ja" | "ko";
60
+ readonly message: string;
61
+ }[]] | undefined;
62
+ readonly nodeSelectable?: string | undefined;
63
+ }) => any;
64
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
65
+ "onUpdate:modelValue"?: ((value: {
66
+ readonly label?: readonly [{
67
+ readonly locale: "zh";
68
+ readonly message: string;
69
+ }, ...{
70
+ readonly locale: "en" | "ja" | "ko";
71
+ readonly message: string;
72
+ }[]] | undefined;
73
+ readonly disabled?: string | undefined;
74
+ readonly type: "com.shwfed.form.field.tree.combobox.single";
75
+ readonly id: string;
76
+ readonly hidden?: string | undefined;
77
+ readonly tooltip?: readonly [{
78
+ readonly locale: "zh";
79
+ readonly message: string;
80
+ }, ...{
81
+ readonly locale: "en" | "ja" | "ko";
82
+ readonly message: string;
83
+ }[]] | undefined;
84
+ readonly displayName?: string | undefined;
85
+ readonly compatibilityDate: "2026-05-26";
86
+ readonly orientation?: "vertical" | "floating" | undefined;
87
+ readonly placeholder?: readonly [{
88
+ readonly locale: "zh";
89
+ readonly message: string;
90
+ }, ...{
91
+ readonly locale: "en" | "ja" | "ko";
92
+ readonly message: string;
93
+ }[]] | undefined;
94
+ readonly readonly?: string | undefined;
95
+ readonly binding?: string | undefined;
96
+ readonly derived?: {
97
+ readonly mode: "formula" | "prefill";
98
+ readonly expression: string;
99
+ } | undefined;
100
+ readonly dataSource: {
101
+ readonly data: string;
102
+ readonly request?: string | undefined;
103
+ };
104
+ readonly nodeKey: string;
105
+ readonly nodeChildren: string;
106
+ readonly nodeLabel: readonly [{
107
+ readonly locale: "zh";
108
+ readonly message: string;
109
+ }, ...{
110
+ readonly locale: "en" | "ja" | "ko";
111
+ readonly message: string;
112
+ }[]];
113
+ readonly expandAll: boolean;
114
+ readonly nodeTooltip?: readonly [{
115
+ readonly locale: "zh";
116
+ readonly message: string;
117
+ }, ...{
118
+ readonly locale: "en" | "ja" | "ko";
119
+ readonly message: string;
120
+ }[]] | undefined;
121
+ readonly nodeSelectable?: string | undefined;
122
+ }) => any) | undefined;
123
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
124
+ declare const _default: typeof __VLS_export;
125
+ export default _default;