@cloudbase/weda-ui 3.18.6 → 3.19.0

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.
@@ -5,6 +5,7 @@ declare const data: import("@sinclair/typebox").TObject<{
5
5
  image: import("@sinclair/typebox").TString;
6
6
  }>>;
7
7
  enablePrize: import("@sinclair/typebox").TBoolean;
8
+ duration: import("@sinclair/typebox").TNumber;
8
9
  prizeResult: import("@sinclair/typebox").TUnsafe<string>;
9
10
  }>;
10
11
  declare const events: [{
@@ -29,6 +30,7 @@ declare const config: {
29
30
  image: import("@sinclair/typebox").TString;
30
31
  }>>;
31
32
  enablePrize: import("@sinclair/typebox").TBoolean;
33
+ duration: import("@sinclair/typebox").TNumber;
32
34
  prizeResult: import("@sinclair/typebox").TUnsafe<string>;
33
35
  }>;
34
36
  readonly events: [{
@@ -86,10 +86,15 @@ const data = Type.Object({
86
86
  'x-index': 20,
87
87
  default: true,
88
88
  }),
89
+ duration: Type.Number({
90
+ title: '抽奖时长',
91
+ 'x-index': 30,
92
+ 'x-runtime-default': 2000,
93
+ }),
89
94
  prizeResult: Type.StringEnum({
90
95
  type: 'string',
91
96
  title: '抽奖结果',
92
- 'x-index': 30,
97
+ 'x-index': 40,
93
98
  default: '1',
94
99
  'x-helper-text': '以左上角为起始位置,顺时针确定8个奖品位置分别1-8',
95
100
  enum: [
@@ -128,11 +128,15 @@ const data = Type.Object({
128
128
  type: 'string',
129
129
  title: '选项名称',
130
130
  default: '选项1',
131
+ description: '用于作为选项展示的文本',
132
+ 'x-helper-text': '用于作为选项展示的文本',
131
133
  },
132
134
  value: {
133
135
  type: 'string',
134
136
  title: '选项值',
135
137
  default: '1',
138
+ description: '选项的值,一般用于表单提交对应字段的存储值',
139
+ 'x-helper-text': '选项的值,一般用于表单提交对应字段的存储值',
136
140
  },
137
141
  disabled: {
138
142
  type: 'boolean',
@@ -5,6 +5,7 @@ const data = Type.Object({
5
5
  type: 'string',
6
6
  default: 'https://qcloudimg.tencent-cloud.cn/raw/4a29d51b504f12b4933ce4490110b4dc.svg',
7
7
  description: '更改需要展示的图片',
8
+ 'x-helper-text': '图片地址支持云存储cloudID或https协议地址',
8
9
  'x-category': '基础属性',
9
10
  'x-index': 1,
10
11
  'x-component': 'image',
@@ -124,11 +124,15 @@ const data = Type.Object({
124
124
  type: 'string',
125
125
  title: '选项名称',
126
126
  default: '选项1',
127
+ description: '用于作为选项展示的文本',
128
+ 'x-helper-text': '用于作为选项展示的文本',
127
129
  },
128
130
  value: {
129
131
  type: 'string',
130
132
  title: '选项值',
131
133
  default: '1',
134
+ description: '选项的值,一般用于表单提交对应字段的存储值',
135
+ 'x-helper-text': '选项的值,一般用于表单提交对应字段的存储值',
132
136
  },
133
137
  disabled: {
134
138
  type: 'boolean',
@@ -352,6 +352,14 @@ declare const config: {
352
352
  readonly label: "清空选中项";
353
353
  readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
354
354
  readonly description: "清空选中项";
355
+ }, {
356
+ readonly name: "setSelectedKeys";
357
+ readonly label: "设置行选中";
358
+ readonly params: import("@sinclair/typebox").TObject<{
359
+ selectedKeys: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
360
+ }>;
361
+ readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
362
+ readonly description: "设置行选中";
355
363
  }];
356
364
  readonly events: readonly [{
357
365
  readonly title: "点击表格行";
@@ -675,4 +683,12 @@ export declare const methods: readonly [{
675
683
  readonly label: "清空选中项";
676
684
  readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
677
685
  readonly description: "清空选中项";
686
+ }, {
687
+ readonly name: "setSelectedKeys";
688
+ readonly label: "设置行选中";
689
+ readonly params: import("@sinclair/typebox").TObject<{
690
+ selectedKeys: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
691
+ }>;
692
+ readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
693
+ readonly description: "设置行选中";
678
694
  }];
@@ -1726,6 +1726,22 @@ const config = defineConfig({
1726
1726
  'x-platforms': ['MOBILEWEB', 'PCWEB'],
1727
1727
  description: '清空选中项',
1728
1728
  },
1729
+ {
1730
+ name: 'setSelectedKeys',
1731
+ label: '设置行选中',
1732
+ params: Type.Object({
1733
+ selectedKeys: Type.Array(Type.String({
1734
+ title: '数据标识',
1735
+ }), {
1736
+ title: '数据标识',
1737
+ default: [],
1738
+ description: '设置行选中。数据标识字段默认为_id,表达式场景可以通过数据主键来指定其他字段。默认示例:[id1,id2],其中id1和id2对应选中行数据标识。',
1739
+ 'x-helper-text': '设置行选中。数据标识字段默认为_id,表达式场景可以通过数据主键来指定其他字段。默认示例:[id1,id2],其中id1和id2对应选中行数据标识。',
1740
+ }),
1741
+ }),
1742
+ 'x-platforms': ['MOBILEWEB', 'PCWEB'],
1743
+ description: '设置行选中',
1744
+ },
1729
1745
  ],
1730
1746
  // 组件对外暴露事件
1731
1747
  events: [
@@ -19,6 +19,9 @@ declare const data: import("@sinclair/typebox").TObject<{
19
19
  expendIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
20
20
  leafIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
21
21
  line: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
22
+ isSupportSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
23
+ enableSearchText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
24
+ contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
22
25
  }>;
23
26
  declare const properties: import("@sinclair/typebox").TObject<{
24
27
  data: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -39,6 +42,15 @@ declare const properties: import("@sinclair/typebox").TObject<{
39
42
  expandType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
40
43
  expandCustom: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
41
44
  showIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
45
+ treeNodeList: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
46
+ label: import("@sinclair/typebox").TString;
47
+ value: import("@sinclair/typebox").TString;
48
+ foldIcon: import("@sinclair/typebox").TString;
49
+ expendIcon: import("@sinclair/typebox").TString;
50
+ leafIcon: import("@sinclair/typebox").TString;
51
+ children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>;
52
+ disabled: import("@sinclair/typebox").TBoolean;
53
+ }>>>;
42
54
  expandedNodes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
43
55
  label: import("@sinclair/typebox").TString;
44
56
  value: import("@sinclair/typebox").TString;
@@ -153,6 +165,9 @@ declare const config: {
153
165
  expendIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
154
166
  leafIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
155
167
  line: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
168
+ isSupportSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
169
+ enableSearchText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
170
+ contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
156
171
  }>;
157
172
  readonly properties: import("@sinclair/typebox").TObject<{
158
173
  data: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -173,6 +188,15 @@ declare const config: {
173
188
  expandType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
174
189
  expandCustom: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
175
190
  showIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
191
+ treeNodeList: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
192
+ label: import("@sinclair/typebox").TString;
193
+ value: import("@sinclair/typebox").TString;
194
+ foldIcon: import("@sinclair/typebox").TString;
195
+ expendIcon: import("@sinclair/typebox").TString;
196
+ leafIcon: import("@sinclair/typebox").TString;
197
+ children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>;
198
+ disabled: import("@sinclair/typebox").TBoolean;
199
+ }>>>;
176
200
  expandedNodes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
177
201
  label: import("@sinclair/typebox").TString;
178
202
  value: import("@sinclair/typebox").TString;
@@ -292,6 +316,11 @@ declare const config: {
292
316
  readonly name: "连接线";
293
317
  readonly selector: ".wd-tree--line";
294
318
  readonly description: "展示的连接线的样式";
319
+ }, {
320
+ readonly name: "节点容器区域";
321
+ readonly selector: ".wd-tree-node";
322
+ readonly description: "可以编写节点容器的样式";
323
+ readonly code: "\n :scope .wd-tree-node {\n height: auto;\n }\n ";
295
324
  }];
296
325
  readonly methods: readonly [{
297
326
  readonly name: "searchNode";
@@ -487,6 +516,10 @@ declare const config: {
487
516
  readonly 'x-index': 3;
488
517
  readonly expand: true;
489
518
  };
519
+ readonly 高级属性: {
520
+ readonly 'x-index': 4;
521
+ readonly expand: true;
522
+ };
490
523
  };
491
524
  readonly inlineStyleForm: {
492
525
  readonly flexDirection: {
@@ -242,6 +242,46 @@ const data = Type.Object({
242
242
  description: '开启后,各节点间将显示连接线',
243
243
  'x-category': '节点风格',
244
244
  })),
245
+ isSupportSlot: Type.Optional(Type.Boolean({
246
+ title: '开启插槽',
247
+ 'x-index': 105,
248
+ 'x-category': '高级属性',
249
+ default: false,
250
+ 'x-linkages': [
251
+ {
252
+ type: 'value:visible',
253
+ target: 'enableSearchText',
254
+ condition: '{{$self.value}}',
255
+ },
256
+ ],
257
+ })),
258
+ enableSearchText: Type.Optional(Type.Boolean({
259
+ title: '显示默认文本节点',
260
+ 'x-index': 106,
261
+ 'x-category': '高级属性',
262
+ 'x-runtime-default': true,
263
+ 'x-helper-text': '开启后展示默认文本节点,该节点支持搜索高亮',
264
+ })),
265
+ contentSlot: Type.Optional(Type.Slot({
266
+ title: '内容插槽',
267
+ 'x-index': 110,
268
+ 'x-category': '高级属性',
269
+ type: 'slot',
270
+ 'x-slot-auto': {
271
+ iterable: "{{ $form.values.isSupportSlot ?[{key:'treeNode',title:'内容插槽'}]:[] }}",
272
+ generator: '{{ {key:$item.key, title: ($item.title) } }}',
273
+ },
274
+ 'x-slot-scope': {
275
+ item: {
276
+ title: '节点对象',
277
+ type: 'object',
278
+ },
279
+ },
280
+ 'x-slot-directives': {
281
+ for: 'treeNodeList',
282
+ _index: 'itemIndex',
283
+ },
284
+ })),
245
285
  });
246
286
  const treeInfo = Type.Object({
247
287
  checkedState: Type.Optional(Type.Boolean({ title: '当前操作选中状态' })),
@@ -309,6 +349,9 @@ const treeInfo = Type.Object({
309
349
  title: '当前树信息',
310
350
  description: '用户操作后的相关树信息',
311
351
  });
352
+ const treeNodeList = Type.Array(Node, {
353
+ title: '当前树的扁平化结构信息',
354
+ });
312
355
  // 组件对外暴露的只读属性
313
356
  const properties = Type.Composite([
314
357
  Type.Pick(data, ['data', 'checkable']),
@@ -329,6 +372,7 @@ const properties = Type.Composite([
329
372
  Type.Object({
330
373
  treeInfo,
331
374
  }),
375
+ Type.Object({ treeNodeList }),
332
376
  ]);
333
377
  // export default
334
378
  const config = defineConfig({
@@ -374,6 +418,16 @@ const config = defineConfig({
374
418
  selector: '.wd-tree--line',
375
419
  description: '展示的连接线的样式',
376
420
  },
421
+ {
422
+ name: '节点容器区域',
423
+ selector: '.wd-tree-node',
424
+ description: '可以编写节点容器的样式',
425
+ code: `
426
+ :scope .wd-tree-node {
427
+ height: auto;
428
+ }
429
+ `,
430
+ },
377
431
  ],
378
432
  // 组件方法
379
433
  methods: [
@@ -451,6 +505,10 @@ const config = defineConfig({
451
505
  'x-index': 3,
452
506
  expand: true,
453
507
  },
508
+ ['高级属性']: {
509
+ 'x-index': 4,
510
+ expand: true,
511
+ },
454
512
  },
455
513
  inlineStyleForm: {
456
514
  flexDirection: { visible: false },
@@ -2180,6 +2180,9 @@ export declare const components: {
2180
2180
  expendIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
2181
2181
  leafIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
2182
2182
  line: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
2183
+ isSupportSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
2184
+ enableSearchText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
2185
+ contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
2183
2186
  }>;
2184
2187
  readonly properties: import("@sinclair/typebox").TObject<{
2185
2188
  data: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -2200,6 +2203,15 @@ export declare const components: {
2200
2203
  expandType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
2201
2204
  expandCustom: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
2202
2205
  showIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
2206
+ treeNodeList: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
2207
+ label: import("@sinclair/typebox").TString;
2208
+ value: import("@sinclair/typebox").TString;
2209
+ foldIcon: import("@sinclair/typebox").TString;
2210
+ expendIcon: import("@sinclair/typebox").TString;
2211
+ leafIcon: import("@sinclair/typebox").TString;
2212
+ children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>;
2213
+ disabled: import("@sinclair/typebox").TBoolean;
2214
+ }>>>;
2203
2215
  expandedNodes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
2204
2216
  label: import("@sinclair/typebox").TString;
2205
2217
  value: import("@sinclair/typebox").TString;
@@ -2319,6 +2331,11 @@ export declare const components: {
2319
2331
  readonly name: "连接线";
2320
2332
  readonly selector: ".wd-tree--line";
2321
2333
  readonly description: "展示的连接线的样式";
2334
+ }, {
2335
+ readonly name: "节点容器区域";
2336
+ readonly selector: ".wd-tree-node";
2337
+ readonly description: "可以编写节点容器的样式";
2338
+ readonly code: "\n :scope .wd-tree-node {\n height: auto;\n }\n ";
2322
2339
  }];
2323
2340
  readonly methods: readonly [{
2324
2341
  readonly name: "searchNode";
@@ -2514,6 +2531,10 @@ export declare const components: {
2514
2531
  readonly 'x-index': 3;
2515
2532
  readonly expand: true;
2516
2533
  };
2534
+ readonly 高级属性: {
2535
+ readonly 'x-index': 4;
2536
+ readonly expand: true;
2537
+ };
2517
2538
  };
2518
2539
  readonly inlineStyleForm: {
2519
2540
  readonly flexDirection: {
@@ -9416,6 +9437,7 @@ export declare const components: {
9416
9437
  image: import("@sinclair/typebox").TString;
9417
9438
  }>>;
9418
9439
  enablePrize: import("@sinclair/typebox").TBoolean;
9440
+ duration: import("@sinclair/typebox").TNumber;
9419
9441
  prizeResult: import("@sinclair/typebox").TUnsafe<string>;
9420
9442
  }>;
9421
9443
  readonly events: [{
@@ -11742,6 +11764,14 @@ export declare const components: {
11742
11764
  readonly label: "清空选中项";
11743
11765
  readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
11744
11766
  readonly description: "清空选中项";
11767
+ }, {
11768
+ readonly name: "setSelectedKeys";
11769
+ readonly label: "设置行选中";
11770
+ readonly params: import("@sinclair/typebox").TObject<{
11771
+ selectedKeys: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
11772
+ }>;
11773
+ readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
11774
+ readonly description: "设置行选中";
11745
11775
  }];
11746
11776
  readonly events: readonly [{
11747
11777
  readonly title: "点击表格行";
@@ -21691,6 +21721,9 @@ declare const _default: {
21691
21721
  expendIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
21692
21722
  leafIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
21693
21723
  line: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
21724
+ isSupportSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
21725
+ enableSearchText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
21726
+ contentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
21694
21727
  }>;
21695
21728
  readonly properties: import("@sinclair/typebox").TObject<{
21696
21729
  data: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
@@ -21711,6 +21744,15 @@ declare const _default: {
21711
21744
  expandType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
21712
21745
  expandCustom: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
21713
21746
  showIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
21747
+ treeNodeList: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
21748
+ label: import("@sinclair/typebox").TString;
21749
+ value: import("@sinclair/typebox").TString;
21750
+ foldIcon: import("@sinclair/typebox").TString;
21751
+ expendIcon: import("@sinclair/typebox").TString;
21752
+ leafIcon: import("@sinclair/typebox").TString;
21753
+ children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>;
21754
+ disabled: import("@sinclair/typebox").TBoolean;
21755
+ }>>>;
21714
21756
  expandedNodes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TObject<{
21715
21757
  label: import("@sinclair/typebox").TString;
21716
21758
  value: import("@sinclair/typebox").TString;
@@ -21830,6 +21872,11 @@ declare const _default: {
21830
21872
  readonly name: "连接线";
21831
21873
  readonly selector: ".wd-tree--line";
21832
21874
  readonly description: "展示的连接线的样式";
21875
+ }, {
21876
+ readonly name: "节点容器区域";
21877
+ readonly selector: ".wd-tree-node";
21878
+ readonly description: "可以编写节点容器的样式";
21879
+ readonly code: "\n :scope .wd-tree-node {\n height: auto;\n }\n ";
21833
21880
  }];
21834
21881
  readonly methods: readonly [{
21835
21882
  readonly name: "searchNode";
@@ -22025,6 +22072,10 @@ declare const _default: {
22025
22072
  readonly 'x-index': 3;
22026
22073
  readonly expand: true;
22027
22074
  };
22075
+ readonly 高级属性: {
22076
+ readonly 'x-index': 4;
22077
+ readonly expand: true;
22078
+ };
22028
22079
  };
22029
22080
  readonly inlineStyleForm: {
22030
22081
  readonly flexDirection: {
@@ -28927,6 +28978,7 @@ declare const _default: {
28927
28978
  image: import("@sinclair/typebox").TString;
28928
28979
  }>>;
28929
28980
  enablePrize: import("@sinclair/typebox").TBoolean;
28981
+ duration: import("@sinclair/typebox").TNumber;
28930
28982
  prizeResult: import("@sinclair/typebox").TUnsafe<string>;
28931
28983
  }>;
28932
28984
  readonly events: [{
@@ -31253,6 +31305,14 @@ declare const _default: {
31253
31305
  readonly label: "清空选中项";
31254
31306
  readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
31255
31307
  readonly description: "清空选中项";
31308
+ }, {
31309
+ readonly name: "setSelectedKeys";
31310
+ readonly label: "设置行选中";
31311
+ readonly params: import("@sinclair/typebox").TObject<{
31312
+ selectedKeys: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
31313
+ }>;
31314
+ readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
31315
+ readonly description: "设置行选中";
31256
31316
  }];
31257
31317
  readonly events: readonly [{
31258
31318
  readonly title: "点击表格行";
@@ -504,6 +504,8 @@ export const FORM_ITEM_DATA = {
504
504
  'x-props': {
505
505
  'data-hidebind': true,
506
506
  },
507
+ description: '用于作为选项展示的文本',
508
+ 'x-helper-text': '用于作为选项展示的文本',
507
509
  }),
508
510
  value: Type.String({
509
511
  title: '选项值',
@@ -511,6 +513,8 @@ export const FORM_ITEM_DATA = {
511
513
  'x-props': {
512
514
  'data-hidebind': true,
513
515
  },
516
+ description: '选项的值,一般用于表单提交对应字段的存储值',
517
+ 'x-helper-text': '选项的值,一般用于表单提交对应字段的存储值',
514
518
  }),
515
519
  disabled: Type.Optional(Type.Boolean({
516
520
  title: '禁用',
@@ -7061,7 +7061,8 @@ textarea {
7061
7061
  .wd-tree-node {
7062
7062
  background-color: var(--wd-tree-color-bg-default);
7063
7063
  white-space: nowrap;
7064
- height: var(--wd-tree-node-height);
7064
+ min-height: var(--wd-tree-node-height);
7065
+ height: auto;
7065
7066
  padding: 0.125rem 0;
7066
7067
  display: flex;
7067
7068
  z-index: 1;