@cloudbase/weda-ui 3.19.0 → 3.19.1

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.
@@ -502,30 +502,6 @@ const data = Type.Object({
502
502
  'x-component-props': {
503
503
  dataSourceNamePropKey: 'dataModel',
504
504
  customRelOptions: {
505
- string: [
506
- {
507
- value: 'eq',
508
- text: '等于',
509
- },
510
- {
511
- value: 'neq',
512
- text: '不等于',
513
- },
514
- {
515
- value: 'in',
516
- text: '包含',
517
- },
518
- {
519
- value: 'nin',
520
- text: '不包含',
521
- },
522
- ],
523
- boolean: [
524
- {
525
- value: 'eq',
526
- text: '等于',
527
- },
528
- ],
529
505
  number: [
530
506
  {
531
507
  value: 'eq',
@@ -558,44 +534,6 @@ const data = Type.Object({
558
534
  type: 'less_or_equal',
559
535
  },
560
536
  ],
561
- array: [
562
- {
563
- value: 'eq',
564
- text: '等于',
565
- },
566
- {
567
- value: 'in',
568
- text: '包含',
569
- },
570
- ],
571
- object: [
572
- {
573
- value: 'eq',
574
- text: '等于',
575
- },
576
- {
577
- value: 'in',
578
- text: '包含',
579
- },
580
- ],
581
- keyVarType: [
582
- {
583
- value: 'eq',
584
- text: '等于',
585
- },
586
- {
587
- value: 'neq',
588
- text: '不等于',
589
- },
590
- {
591
- value: 'gt',
592
- text: '大于',
593
- },
594
- {
595
- value: 'lt',
596
- text: '小于',
597
- },
598
- ],
599
537
  },
600
538
  },
601
539
  'x-props': {
@@ -442,30 +442,6 @@ const data = Type.Object({
442
442
  'x-component-props': {
443
443
  dataSourceNamePropKey: 'dataModel',
444
444
  customRelOptions: {
445
- string: [
446
- {
447
- value: 'eq',
448
- text: '等于',
449
- },
450
- {
451
- value: 'neq',
452
- text: '不等于',
453
- },
454
- {
455
- value: 'in',
456
- text: '包含',
457
- },
458
- {
459
- value: 'nin',
460
- text: '不包含',
461
- },
462
- ],
463
- boolean: [
464
- {
465
- value: 'eq',
466
- text: '等于',
467
- },
468
- ],
469
445
  number: [
470
446
  {
471
447
  value: 'eq',
@@ -498,44 +474,6 @@ const data = Type.Object({
498
474
  type: 'less_or_equal',
499
475
  },
500
476
  ],
501
- array: [
502
- {
503
- value: 'eq',
504
- text: '等于',
505
- },
506
- {
507
- value: 'in',
508
- text: '包含',
509
- },
510
- ],
511
- object: [
512
- {
513
- value: 'eq',
514
- text: '等于',
515
- },
516
- {
517
- value: 'in',
518
- text: '包含',
519
- },
520
- ],
521
- keyVarType: [
522
- {
523
- value: 'eq',
524
- text: '等于',
525
- },
526
- {
527
- value: 'neq',
528
- text: '不等于',
529
- },
530
- {
531
- value: 'gt',
532
- text: '大于',
533
- },
534
- {
535
- value: 'lt',
536
- text: '小于',
537
- },
538
- ],
539
477
  },
540
478
  },
541
479
  'x-props': {
@@ -437,30 +437,6 @@ const data = Type.Object({
437
437
  'x-component-props': {
438
438
  dataSourceNamePropKey: 'dataModel',
439
439
  customRelOptions: {
440
- string: [
441
- {
442
- value: 'eq',
443
- text: '等于',
444
- },
445
- {
446
- value: 'neq',
447
- text: '不等于',
448
- },
449
- {
450
- value: 'in',
451
- text: '包含',
452
- },
453
- {
454
- value: 'nin',
455
- text: '不包含',
456
- },
457
- ],
458
- boolean: [
459
- {
460
- value: 'eq',
461
- text: '等于',
462
- },
463
- ],
464
440
  number: [
465
441
  {
466
442
  value: 'eq',
@@ -493,44 +469,6 @@ const data = Type.Object({
493
469
  type: 'less_or_equal',
494
470
  },
495
471
  ],
496
- array: [
497
- {
498
- value: 'eq',
499
- text: '等于',
500
- },
501
- {
502
- value: 'in',
503
- text: '包含',
504
- },
505
- ],
506
- object: [
507
- {
508
- value: 'eq',
509
- text: '等于',
510
- },
511
- {
512
- value: 'in',
513
- text: '包含',
514
- },
515
- ],
516
- keyVarType: [
517
- {
518
- value: 'eq',
519
- text: '等于',
520
- },
521
- {
522
- value: 'neq',
523
- text: '不等于',
524
- },
525
- {
526
- value: 'gt',
527
- text: '大于',
528
- },
529
- {
530
- value: 'lt',
531
- text: '小于',
532
- },
533
- ],
534
472
  },
535
473
  },
536
474
  'x-props': {
@@ -66,18 +66,14 @@
66
66
  }
67
67
  }
68
68
  },
69
- "required": [
70
- "Value"
71
- ]
69
+ "required": ["Value"]
72
70
  }
73
71
  }
74
72
  }
75
73
  }
76
74
  }
77
75
  },
78
- "required": [
79
- "result"
80
- ]
76
+ "required": ["result"]
81
77
  }
82
78
  }
83
79
  }
@@ -117,54 +113,9 @@
117
113
  "x-component-props": {
118
114
  "dataSourceNamePropKey": "dataSource",
119
115
  "blackListConfig": {
120
- "type": [
121
- "object",
122
- "array"
123
- ]
116
+ "type": ["object", "array"]
124
117
  },
125
118
  "customRelOptions": {
126
- "string": [
127
- {
128
- "text": "等于",
129
- "value": "eq"
130
- },
131
- {
132
- "text": "不等于",
133
- "value": "neq"
134
- },
135
- {
136
- "text": "包含",
137
- "value": "in"
138
- },
139
- {
140
- "text": "不包含",
141
- "value": "nin"
142
- }
143
- ],
144
- "boolean": [
145
- {
146
- "text": "等于",
147
- "value": "eq"
148
- }
149
- ],
150
- "keyVarType": [
151
- {
152
- "value": "eq",
153
- "text": "等于"
154
- },
155
- {
156
- "value": "neq",
157
- "text": "不等于"
158
- },
159
- {
160
- "value": "gt",
161
- "text": "大于"
162
- },
163
- {
164
- "value": "lt",
165
- "text": "小于"
166
- }
167
- ],
168
119
  "number": [
169
120
  {
170
121
  "text": "等于",
@@ -70,7 +70,10 @@ declare const config: {
70
70
  visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
71
71
  readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
72
72
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
73
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
73
+ item: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
74
+ label: import("@sinclair/typebox").TString;
75
+ value: import("@sinclair/typebox").TString;
76
+ }>>;
74
77
  }>;
75
78
  readonly classes: {
76
79
  name: string;
@@ -277,7 +277,17 @@ const data = Type.Object({
277
277
  });
278
278
  const properties = Type.Composite([
279
279
  Type.Pick(data, ['name', 'label', 'value', 'required']),
280
- Type.Pick(ItemData, ['visible', 'disabled', 'readOnly', 'selectedLabel', 'item']),
280
+ Type.Pick(ItemData, ['visible', 'disabled', 'readOnly', 'selectedLabel']),
281
+ Type.Object({
282
+ item: Type.Array(Type.Object({
283
+ label: Type.String({ title: 'label' }),
284
+ value: Type.String({ title: 'value' }),
285
+ }), {
286
+ title: '选中项',
287
+ description: '选中项对应的对象',
288
+ 'x-platforms': [],
289
+ }),
290
+ }),
281
291
  ]);
282
292
  const CLASSES = getClasses('checkbox');
283
293
  const classes = [
@@ -70,7 +70,10 @@ declare const config: {
70
70
  visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
71
71
  readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
72
72
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
73
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
73
+ item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
74
+ label: import("@sinclair/typebox").TString;
75
+ value: import("@sinclair/typebox").TString;
76
+ }>>;
74
77
  }>;
75
78
  readonly classes: {
76
79
  name: string;
@@ -163,7 +163,10 @@ declare const config: {
163
163
  after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
164
164
  before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
165
165
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
166
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
166
+ item: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
167
+ label: import("@sinclair/typebox").TString;
168
+ value: import("@sinclair/typebox").TString;
169
+ }>>;
167
170
  }>;
168
171
  readonly classes: {
169
172
  name: string;
@@ -330,7 +330,17 @@ const data = Type.Partial(Type.Object({
330
330
  }));
331
331
  const properties = Type.Composite([
332
332
  Type.Pick(data, ['name', 'label', 'value', 'required', 'before', 'after']),
333
- Type.Pick(ItemData, ['visible', 'disabled', 'readOnly', 'selectedLabel', 'item']),
333
+ Type.Pick(ItemData, ['visible', 'disabled', 'readOnly', 'selectedLabel']),
334
+ Type.Object({
335
+ item: Type.Array(Type.Object({
336
+ label: Type.String({ title: 'label' }),
337
+ value: Type.String({ title: 'value' }),
338
+ }), {
339
+ title: '选中项',
340
+ description: '选中项对应的对象',
341
+ 'x-platforms': [],
342
+ }),
343
+ }),
334
344
  ]);
335
345
  const CLASSES = getClasses('select-multiple', { kind: '选择框' });
336
346
  const classes = [
@@ -164,7 +164,10 @@ declare const config: {
164
164
  visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
165
165
  readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
166
166
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
167
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
167
+ item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
168
+ label: import("@sinclair/typebox").TString;
169
+ value: import("@sinclair/typebox").TString;
170
+ }>>;
168
171
  }>;
169
172
  readonly classes: {
170
173
  name: string;
@@ -488,12 +488,12 @@ const data = Type.Object({
488
488
  {
489
489
  type: 'value:visible',
490
490
  target: 'dataForm.isSort',
491
- condition: '{{ Boolean($self.value) && !Boolean($form.values.dataForm.isRelated) && Boolean($form.values.dataForm.format!=="one-many") && Boolean($form.values.dataForm.format!=="many-many") && Boolean($form.values.dataForm.format!=="one-one") && Boolean($form.values.dataForm.format!=="many-one") }}',
491
+ condition: '{{ Boolean($self.value) && !Boolean($form.values.dataForm.isRelated) && Boolean($form.values.dataForm.format!=="one-many") && Boolean($form.values.dataForm.format!=="many-many") && Boolean($form.values.dataForm.format!=="one-one") && Boolean($form.values.dataForm.format!=="many-one") && Boolean($form.values.dataForm.format!=="one-one-r") }}',
492
492
  },
493
493
  {
494
494
  type: 'value:visible',
495
495
  target: 'dataForm.isExport',
496
- condition: '{{ Boolean($self.value) && Boolean($form.values.dataForm.format!=="one-many") && Boolean($form.values.dataForm.format!=="many-many") && Boolean($form.values.dataForm.format!=="one-one") && Boolean($form.values.dataForm.format!=="many-one") }}',
496
+ condition: '{{ Boolean($self.value) && Boolean($form.values.dataForm.format!=="one-many") && Boolean($form.values.dataForm.format!=="many-many") && Boolean($form.values.dataForm.format!=="one-one-r") }}',
497
497
  },
498
498
  ],
499
499
  }),
@@ -1267,6 +1267,7 @@ const data = Type.Object({
1267
1267
  default: true,
1268
1268
  'x-group': '表格列',
1269
1269
  description: '开启后,可拖拽按钮等组件,放入大纲树的操作列节点或表格的操作列区域',
1270
+ 'x-helper-text': 'h5端操作列区域以弹窗形式展示,[详情参考配置](https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/database/WdTable#%E7%A7%BB%E5%8A%A8%E7%AB%AF%E9%85%8D%E7%BD%AE%E6%93%8D%E4%BD%9C%E5%88%97)',
1270
1271
  'x-linkages': [
1271
1272
  {
1272
1273
  type: 'value:visible',
@@ -89,7 +89,10 @@ declare const config: {
89
89
  value: import("@sinclair/typebox").TString;
90
90
  }>>>;
91
91
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
92
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
92
+ item: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
93
+ label: import("@sinclair/typebox").TString;
94
+ value: import("@sinclair/typebox").TString;
95
+ }>>;
93
96
  }>;
94
97
  readonly classes: {
95
98
  name: string;
@@ -34,7 +34,17 @@ const data = Type.Partial(Type.Object({
34
34
  }));
35
35
  const properties = Type.Composite([
36
36
  Type.Pick(data, ['name', 'value', 'label', 'required', 'range']),
37
- Type.Pick(ItemData, ['visible', 'disabled', 'readOnly', 'selectedLabel', 'item']),
37
+ Type.Pick(ItemData, ['visible', 'disabled', 'readOnly', 'selectedLabel']),
38
+ Type.Object({
39
+ item: Type.Array(Type.Object({
40
+ label: Type.String({ title: 'label' }),
41
+ value: Type.String({ title: 'value' }),
42
+ }), {
43
+ title: '选中项',
44
+ description: '选中项对应的对象',
45
+ 'x-platforms': [],
46
+ }),
47
+ }),
38
48
  ]);
39
49
  const CLASSES = getClasses('tag-select');
40
50
  const classes = [
@@ -99,11 +99,16 @@ declare const config: {
99
99
  readonly name: "内容区域";
100
100
  readonly selector: ".wd-top-tab-root .wd-tabs__body";
101
101
  readonly description: "可以为顶部选项卡内容区域编写样式,例如:设置顶部选项卡内容区域高度撑满页面";
102
- readonly code: ".wd-top-tab-root .wd-tabs__body {\n /* 设置顶部选项卡内容区域高度撑满页面 */\n /* 注意:此处需要设置为计算高度 【视口高度-选项卡头部标签区域高度】*/\n height: calc(100vh - 48px);\n overflow: auto;\n }\n ";
102
+ readonly code: "\n /* 设置顶部选项卡内容区域高度撑满页面 */\n /* 注意:此处需要设置为计算高度 【视口高度-选项卡头部标签区域高度】*/\n .wd-top-tab-root .wd-tabs__body {\n height: calc(100vh - 48px);\n overflow: auto;\n }\n ";
103
103
  }, {
104
104
  readonly name: "选项卡超长自动滑动遮罩";
105
105
  readonly selector: ".wd-tabs-h5-root .wd-tabs__header-item-mask";
106
106
  readonly description: "可以为移动端选项卡设置滑动背景色,提示选项卡内容超长可滑动";
107
+ }, {
108
+ readonly name: "去除滚动条样式";
109
+ readonly selector: "::-webkit-scrollbar";
110
+ readonly description: "受安卓端小程序渲染限制,需通过添加全局样式去除滚动条";
111
+ readonly code: "\n /* 注意: 添加此样式后,对全局滚动条生效*/\n ::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n color: transparent;\n }\n ";
107
112
  }];
108
113
  readonly methods: readonly [{
109
114
  readonly name: "selectTab";
@@ -426,9 +426,10 @@ const config = defineConfig({
426
426
  name: '内容区域',
427
427
  selector: '.wd-top-tab-root .wd-tabs__body',
428
428
  description: '可以为顶部选项卡内容区域编写样式,例如:设置顶部选项卡内容区域高度撑满页面',
429
- code: `.wd-top-tab-root .wd-tabs__body {
429
+ code: `
430
430
  /* 设置顶部选项卡内容区域高度撑满页面 */
431
431
  /* 注意:此处需要设置为计算高度 【视口高度-选项卡头部标签区域高度】*/
432
+ .wd-top-tab-root .wd-tabs__body {
432
433
  height: calc(100vh - 48px);
433
434
  overflow: auto;
434
435
  }
@@ -439,6 +440,20 @@ const config = defineConfig({
439
440
  selector: '.wd-tabs-h5-root .wd-tabs__header-item-mask',
440
441
  description: '可以为移动端选项卡设置滑动背景色,提示选项卡内容超长可滑动',
441
442
  },
443
+ {
444
+ name: '去除滚动条样式',
445
+ selector: '::-webkit-scrollbar',
446
+ description: '受安卓端小程序渲染限制,需通过添加全局样式去除滚动条',
447
+ code: `
448
+ /* 注意: 添加此样式后,对全局滚动条生效*/
449
+ ::-webkit-scrollbar {
450
+ display: none;
451
+ width: 0;
452
+ height: 0;
453
+ color: transparent;
454
+ }
455
+ `,
456
+ },
442
457
  ],
443
458
  // 组件方法
444
459
  methods: [
@@ -8647,18 +8647,6 @@ export declare const components: {
8647
8647
  type: string[];
8648
8648
  };
8649
8649
  customRelOptions: {
8650
- string: {
8651
- text: string;
8652
- value: string;
8653
- }[];
8654
- boolean: {
8655
- text: string;
8656
- value: string;
8657
- }[];
8658
- keyVarType: {
8659
- value: string;
8660
- text: string;
8661
- }[];
8662
8650
  number: {
8663
8651
  text: string;
8664
8652
  value: string;
@@ -12756,11 +12744,16 @@ export declare const components: {
12756
12744
  readonly name: "内容区域";
12757
12745
  readonly selector: ".wd-top-tab-root .wd-tabs__body";
12758
12746
  readonly description: "可以为顶部选项卡内容区域编写样式,例如:设置顶部选项卡内容区域高度撑满页面";
12759
- readonly code: ".wd-top-tab-root .wd-tabs__body {\n /* 设置顶部选项卡内容区域高度撑满页面 */\n /* 注意:此处需要设置为计算高度 【视口高度-选项卡头部标签区域高度】*/\n height: calc(100vh - 48px);\n overflow: auto;\n }\n ";
12747
+ readonly code: "\n /* 设置顶部选项卡内容区域高度撑满页面 */\n /* 注意:此处需要设置为计算高度 【视口高度-选项卡头部标签区域高度】*/\n .wd-top-tab-root .wd-tabs__body {\n height: calc(100vh - 48px);\n overflow: auto;\n }\n ";
12760
12748
  }, {
12761
12749
  readonly name: "选项卡超长自动滑动遮罩";
12762
12750
  readonly selector: ".wd-tabs-h5-root .wd-tabs__header-item-mask";
12763
12751
  readonly description: "可以为移动端选项卡设置滑动背景色,提示选项卡内容超长可滑动";
12752
+ }, {
12753
+ readonly name: "去除滚动条样式";
12754
+ readonly selector: "::-webkit-scrollbar";
12755
+ readonly description: "受安卓端小程序渲染限制,需通过添加全局样式去除滚动条";
12756
+ readonly code: "\n /* 注意: 添加此样式后,对全局滚动条生效*/\n ::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n color: transparent;\n }\n ";
12764
12757
  }];
12765
12758
  readonly methods: readonly [{
12766
12759
  readonly name: "selectTab";
@@ -13834,7 +13827,10 @@ export declare const components: {
13834
13827
  visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
13835
13828
  readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
13836
13829
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
13837
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
13830
+ item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
13831
+ label: import("@sinclair/typebox").TString;
13832
+ value: import("@sinclair/typebox").TString;
13833
+ }>>;
13838
13834
  }>;
13839
13835
  readonly classes: {
13840
13836
  name: string;
@@ -14141,7 +14137,10 @@ export declare const components: {
14141
14137
  after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
14142
14138
  before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
14143
14139
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
14144
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
14140
+ item: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
14141
+ label: import("@sinclair/typebox").TString;
14142
+ value: import("@sinclair/typebox").TString;
14143
+ }>>;
14145
14144
  }>;
14146
14145
  readonly classes: {
14147
14146
  name: string;
@@ -17045,7 +17044,10 @@ export declare const components: {
17045
17044
  visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
17046
17045
  readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
17047
17046
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
17048
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
17047
+ item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
17048
+ label: import("@sinclair/typebox").TString;
17049
+ value: import("@sinclair/typebox").TString;
17050
+ }>>;
17049
17051
  }>;
17050
17052
  readonly classes: {
17051
17053
  name: string;
@@ -17255,7 +17257,10 @@ export declare const components: {
17255
17257
  visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
17256
17258
  readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
17257
17259
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
17258
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
17260
+ item: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
17261
+ label: import("@sinclair/typebox").TString;
17262
+ value: import("@sinclair/typebox").TString;
17263
+ }>>;
17259
17264
  }>;
17260
17265
  readonly classes: {
17261
17266
  name: string;
@@ -17731,7 +17736,10 @@ export declare const components: {
17731
17736
  value: import("@sinclair/typebox").TString;
17732
17737
  }>>>;
17733
17738
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
17734
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
17739
+ item: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
17740
+ label: import("@sinclair/typebox").TString;
17741
+ value: import("@sinclair/typebox").TString;
17742
+ }>>;
17735
17743
  }>;
17736
17744
  readonly classes: {
17737
17745
  name: string;
@@ -28188,18 +28196,6 @@ declare const _default: {
28188
28196
  type: string[];
28189
28197
  };
28190
28198
  customRelOptions: {
28191
- string: {
28192
- text: string;
28193
- value: string;
28194
- }[];
28195
- boolean: {
28196
- text: string;
28197
- value: string;
28198
- }[];
28199
- keyVarType: {
28200
- value: string;
28201
- text: string;
28202
- }[];
28203
28199
  number: {
28204
28200
  text: string;
28205
28201
  value: string;
@@ -32297,11 +32293,16 @@ declare const _default: {
32297
32293
  readonly name: "内容区域";
32298
32294
  readonly selector: ".wd-top-tab-root .wd-tabs__body";
32299
32295
  readonly description: "可以为顶部选项卡内容区域编写样式,例如:设置顶部选项卡内容区域高度撑满页面";
32300
- readonly code: ".wd-top-tab-root .wd-tabs__body {\n /* 设置顶部选项卡内容区域高度撑满页面 */\n /* 注意:此处需要设置为计算高度 【视口高度-选项卡头部标签区域高度】*/\n height: calc(100vh - 48px);\n overflow: auto;\n }\n ";
32296
+ readonly code: "\n /* 设置顶部选项卡内容区域高度撑满页面 */\n /* 注意:此处需要设置为计算高度 【视口高度-选项卡头部标签区域高度】*/\n .wd-top-tab-root .wd-tabs__body {\n height: calc(100vh - 48px);\n overflow: auto;\n }\n ";
32301
32297
  }, {
32302
32298
  readonly name: "选项卡超长自动滑动遮罩";
32303
32299
  readonly selector: ".wd-tabs-h5-root .wd-tabs__header-item-mask";
32304
32300
  readonly description: "可以为移动端选项卡设置滑动背景色,提示选项卡内容超长可滑动";
32301
+ }, {
32302
+ readonly name: "去除滚动条样式";
32303
+ readonly selector: "::-webkit-scrollbar";
32304
+ readonly description: "受安卓端小程序渲染限制,需通过添加全局样式去除滚动条";
32305
+ readonly code: "\n /* 注意: 添加此样式后,对全局滚动条生效*/\n ::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n color: transparent;\n }\n ";
32305
32306
  }];
32306
32307
  readonly methods: readonly [{
32307
32308
  readonly name: "selectTab";
@@ -33375,7 +33376,10 @@ declare const _default: {
33375
33376
  visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
33376
33377
  readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
33377
33378
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
33378
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
33379
+ item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
33380
+ label: import("@sinclair/typebox").TString;
33381
+ value: import("@sinclair/typebox").TString;
33382
+ }>>;
33379
33383
  }>;
33380
33384
  readonly classes: {
33381
33385
  name: string;
@@ -33682,7 +33686,10 @@ declare const _default: {
33682
33686
  after: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
33683
33687
  before: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
33684
33688
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
33685
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
33689
+ item: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
33690
+ label: import("@sinclair/typebox").TString;
33691
+ value: import("@sinclair/typebox").TString;
33692
+ }>>;
33686
33693
  }>;
33687
33694
  readonly classes: {
33688
33695
  name: string;
@@ -36586,7 +36593,10 @@ declare const _default: {
36586
36593
  visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
36587
36594
  readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
36588
36595
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
36589
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
36596
+ item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
36597
+ label: import("@sinclair/typebox").TString;
36598
+ value: import("@sinclair/typebox").TString;
36599
+ }>>;
36590
36600
  }>;
36591
36601
  readonly classes: {
36592
36602
  name: string;
@@ -36796,7 +36806,10 @@ declare const _default: {
36796
36806
  visible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
36797
36807
  readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
36798
36808
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
36799
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
36809
+ item: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
36810
+ label: import("@sinclair/typebox").TString;
36811
+ value: import("@sinclair/typebox").TString;
36812
+ }>>;
36800
36813
  }>;
36801
36814
  readonly classes: {
36802
36815
  name: string;
@@ -37272,7 +37285,10 @@ declare const _default: {
37272
37285
  value: import("@sinclair/typebox").TString;
37273
37286
  }>>>;
37274
37287
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
37275
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
37288
+ item: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
37289
+ label: import("@sinclair/typebox").TString;
37290
+ value: import("@sinclair/typebox").TString;
37291
+ }>>;
37276
37292
  }>;
37277
37293
  readonly classes: {
37278
37294
  name: string;
@@ -184,7 +184,10 @@ export declare const FORM_ITEM_DATA: {
184
184
  value: import("@sinclair/typebox").TString;
185
185
  }>>;
186
186
  selectedLabel: import("@sinclair/typebox").TString;
187
- item: import("@sinclair/typebox").TObject<{}>;
187
+ item: import("@sinclair/typebox").TObject<{
188
+ label: import("@sinclair/typebox").TString;
189
+ value: import("@sinclair/typebox").TString;
190
+ }>;
188
191
  isTableView: import("@sinclair/typebox").TBoolean;
189
192
  _formatInSelect: import("@sinclair/typebox").TUnsafe<string>;
190
193
  viewId: import("@sinclair/typebox").TString;
@@ -603,7 +606,10 @@ export declare const ItemData: import("@sinclair/typebox").TObject<{
603
606
  value: import("@sinclair/typebox").TString;
604
607
  }>>>;
605
608
  selectedLabel: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
606
- item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
609
+ item: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
610
+ label: import("@sinclair/typebox").TString;
611
+ value: import("@sinclair/typebox").TString;
612
+ }>>;
607
613
  isTableView: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
608
614
  _formatInSelect: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
609
615
  viewId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -1704,7 +1704,10 @@ export const FORM_ITEM_DATA = {
1704
1704
  description: '选中项对应的文本名称',
1705
1705
  'x-platforms': [],
1706
1706
  }),
1707
- item: Type.Object({}, {
1707
+ item: Type.Object({
1708
+ label: Type.String({ title: 'label' }),
1709
+ value: Type.String({ title: 'value' }),
1710
+ }, {
1708
1711
  title: '选中项',
1709
1712
  description: '选中项对应的对象',
1710
1713
  'x-platforms': [],
@@ -1,5 +1,5 @@
1
1
  /**
2
- @cloudbase/weda-ui v3.19.0
2
+ @cloudbase/weda-ui v3.19.1
3
3
  */
4
4
  @charset "UTF-8";@media (min-width:1024px){.weda-ui .weui-cells{font-size:1em}.weui .weui-cell_active:active{background-color:unset!important}}@font-face{font-family:lcap-icon;font-weight:400;font-style:normal;src:url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAAkMAA0AAAAAFZgAAAi1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCXhEICpxYlmoLTgABNgIkA1gEIAWDMweDBRtzEVGUTVKf7GdCpjLGY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MHlG+YTYTKW4025bWp7UUQH2n1j/y9Tt6J+5mykLynYv6i9HZvqC/QNV2kZ7HXO/X7/bDf9+T1/Rpe/YolYsWYXO1XS/CmOv6KUuBnUoITNTDEhJNqb1rYTOf1sRhF1D0EvKOkYiRSHnElw9UGd7bkVIq17pUYpqZfGAtizVSDozNPORXtY3YTig+HhCnpergJhqZl1ZlhDTKQz8O+lKEtWVWLTXTaNPBSmt1Z6faC6hmaq+/j+gGT66PrtpKxquCKzUqTFI36xjltiipsN34AAhYK30U0Si9PDd4Qrlx5gXZbykCAdhWAj3p+F8DA+WBim/aNhq9g86DAocD+KIj0VJtIEzs137fvNcn+Zf8+xChp637Q/Eo/0gLUBkjiCckExRp4iSCSMhV8TToMmywXB/GhkcF5ziw45OB87l85aUMFg0NLu2/zrqV/BH9vE5gRJkaL8IilGuqC03JjHIZdlQAzgqTSpcqAx7mVejwNSGWWs4aGlmhqdGjnCFPBYAqTFrMVhmw/tErzDrt1E1nqkx9Os0wHbxR48t8+rYA9icsgyFzkc5s8Ne9hwCEXWH8WM82YAhjUzGZLCR46/+MZFkk2djoLT1IzKCbi3WV1hnUrcvSm+MZtRSpiYWanQU+67DN62G7tnPGP8h5DgBGvMgjgCILl0eQyJQoo5wKKqmimhpqqSOQIIIJQUQoYYQTQSRRRBNDLHGIkRBPAonZMHXOzF6Z99D0PpIk80xVIUlCBjmykYNc5CEfBShEJaqggBIqjzpSRkIGObKRg1zkIR8FKEQlqqCAEiqPulNOAgAA) format('woff2')}.wd-form--vertical-left .wedatea2td-form .weda-formcells__pc.horizontal,.wd-form--vertical-right .wedatea2td-form .weda-formcells__pc.horizontal,.wedatea2td-form--vertical .wd-form--horizontal-left .wd-form-item-wrap,.wedatea2td-form--vertical .wd-form--horizontal-right .wd-form-item-wrap,.wedatea2td-form--vertical .wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap,.wedatea2td-form--vertical .wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap,.wedatea2td-form--vertical .wedatea2td-form .weda-formcells__pc.horizontal{flex-direction:column}.g-swiper-item>div>*{max-width:100%;max-height:100%;object-fit:cover;max-width:100%;object-fit:cover;max-width:100%;max-height:100%;object-fit:cover;width:100%;height:auto;max-width:100%;object-fit:cover}.form-detail-wrap .form-detail-content-wrap .form-detail-group-header-container{display:flex;align-items:center;justify-content:space-between}.weda-graphic-card .weda-graphic-card__col .weda-graphic-card__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weda-graphic-card .weda-graphic-card__col .weda-graphic-card__desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.weda-menu .wedatea2td-menu--light .wedatea2td-menu__list li.is-selected>.wedatea2td-menu__item:hover,.wedatea2td-drawer .wedatea2td-menu--light .wedatea2td-menu__list li .wedatea2td-menu__item:hover{background-color:var(--weda-navigation-menu-hover-color)}.weda-menu-mobile .weda-menu__wrapper{display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 2px rgba(0,0,0,.05)}.weda-menu .wedatea2td-menu__text .menu-text,.weda-menu__drawer .wedatea2td-menu__text .menu-text{display:flex;justify-content:center;align-items:center}@media (max-width:1024px){.g-swiper .g-swiper__turn-next,.g-swiper .g-swiper__turn-pre{display:none}.modal-table-delete .wedatea2td-dialog__inner,.model-relation-selector-modal .wedatea2td-dialog__inner,.wedatea2td-dialog__inner{min-width:0;width:90%;margin:10px 0}.wedatea2td-form.model-form{width:100%}}.markdown-body .octicon{fill:currentColor}.markdown-body pre{word-wrap:normal}.wd-form-item.wd-pc-rich-text-root .ExEditor-basic,.wd-form-item.wd-pc-rich-text-root .exeditor-toolbar{background-color:inherit}.wd-add-relation-button-wrap{display:flex;align-items:center;color:var(--wd-color-brand,#0052d9);white-space:pre-wrap}.weda-import-csv-file-modal .file-json-map-wrap{display:flex;flex-direction:column;box-sizing:border-box}.weda-import-csv-file-modal .import-file-result-wrap .error-container{display:flex;flex-direction:column}.weda-import-csv-file-modal .import-file-result-wrap .error-content{flex:1}.wd-table-wrap-filter .wedatea2td-input:focus,.wd-table-wrap-filter .wedatea2td-input:hover,.wd-table-wrap-filter .wedatea2td-textarea-group:focus,.wd-table-wrap-filter .wedatea2td-textarea-group:hover,.wd-table-wrap-filter .wedatea2td-textarea:focus,.wd-table-wrap-filter .wedatea2td-textarea:hover,.wedatea2td-overlay .wedatea2td-checkbox:focus,.wedatea2td-overlay .wedatea2td-checkbox:hover,.wedatea2td-overlay input[type=checkbox]:focus,.wedatea2td-overlay input[type=checkbox]:hover{border-color:var(--wd-color-brand,#0052d9)}.weda-ui_mapChoose_search_input_clear{display:flex;justify-content:center}.form-select-map .wedatea2td-dialog__inner{box-shadow:none;min-width:100vw!important}.weda-ui-custom-calendar-op__end,.weda-ui-custom-calendar-op__start{display:flex;align-items:center}.weui-tag span{word-wrap:break-word;word-break:break-word}.weda-ui-user-select-container-list__start .depart-tree .wedatea2td-tree__node.is-selected>.wedatea2td-tree__node-content,.weda-ui-user-select-container-list__start .depart-tree .wedatea2td-tree__node.is-selected>.wedatea2td-tree__node-content .wedatea2td-tree__label,.weda-ui-user-select-container-list__start .wedatea2td-tree.wedatea2td-tree--checkbox-separate .wedatea2td-tree__node.is-selected>.wedatea2td-tree__node-content .wedatea2td-tree__label .wedatea2td-tree__label-title{background-color:var(--wd-color-brand-light,#d4e3fc)}.weda-select-user-dept-breadcrumb{display:flex;align-items:center}.form-location-con_disabled{opacity:.4}body{font-size:var(--wd-font-base)}@font-face{font-family:wd-lcap-icon;font-weight:400;font-style:normal;src:url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAAkMAA0AAAAAFZgAAAi1AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCXhEICpxYlmoLTgABNgIkA1gEIAWDMweDBRtzEVGUTVKf7GdCpjLGY/HIYGvbDpn6q7Qdj3xvUaZJUNFads3M7geYVSSiCgsZJYFkhEfn2DjU9//jpn8D1QTqVBQqSrtAVZAq1bwkpTOo0Hbz2tnYf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6KUuBnUoITNTDEhJNqb1rYTOf1sRhF1D0EvKOkYiRSHnElw9UGd7bkVIq17pUYpqZfGAtizVSDozNPORXtY3YTig+HhCnpergJhqZl1ZlhDTKQz8O+lKEtWVWLTXTaNPBSmt1Z6faC6hmaq+/j+gGT66PrtpKxquCKzUqTFI36xjltiipsN34AAhYK30U0Si9PDd4Qrlx5gXZbykCAdhWAj3p+F8DA+WBim/aNhq9g86DAocD+KIj0VJtIEzs137fvNcn+Zf8+xChp637Q/Eo/0gLUBkjiCckExRp4iSCSMhV8TToMmywXB/GhkcF5ziw45OB87l85aUMFg0NLu2/zrqV/BH9vE5gRJkaL8IilGuqC03JjHIZdlQAzgqTSpcqAx7mVejwNSGWWs4aGlmhqdGjnCFPBYAqTFrMVhmw/tErzDrt1E1nqkx9Os0wHbxR48t8+rYA9icsgyFzkc5s8Ne9hwCEXWH8WM82YAhjUzGZLCR46/+MZFkk2djoLT1IzKCbi3WV1hnUrcvSm+MZtRSpiYWanQU+67DN62G7tnPGP8h5DgBGvMgjgCILl0eQyJQoo5wKKqmimhpqqSOQIIIJQUQoYYQTQSRRRBNDLHGIkRBPAonZMHXOzF6Z99D0PpIk80xVIUlCBjmykYNc5CEfBShEJaqggBIqjzpSRkIGObKRg1zkIR8FKEQlqqCAEiqPulNOAgAA) format("woff2")}.t-icon{speak:none;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wd-space-align-items--flex-start{align-items:flex-start;align-items:center;align-items:flex-end}.wd-space-justify-content--flex-start{justify-content:flex-start;justify-content:center;justify-content:flex-end}.wd-btn{--wd-btn-sm-padding:0.0625rem calc(var(--wd-space-base) * 2);--wd-btn-md-padding:0.25rem calc(var(--wd-space-base) * 4);--wd-btn-lg-padding:0.4375rem calc(var(--wd-space-base) * 6);--wd-btn-margin-top:0;--wd-btn-margin-top:0;--wd-btn-font-size-sm:var(--wd-font-size-2);--wd-btn-line-height-sm:1.5;--wd-btn-min-height-sm:24px;--wd-btn-font-size-md:var(--wd-font-size-3);--wd-btn-line-height-md:1.5;--wd-btn-min-height-md:32px;--wd-btn-font-size-lg:var(--wd-font-size-4);--wd-btn-line-height-lg:1.5;--wd-btn-min-height-lg:40px;--wd-btn-icon-space-sm:var(--wd-space-base);--wd-btn-icon-space-md:calc(var(--wd-space-base) * 2);--wd-btn-icon-space-lg:calc(var(--wd-space-base) * 3);--wd-btn-icon-size-sm:calc(var(--wd-btn-font-size-sm) + 0.125rem);--wd-btn-icon-size-md:calc(var(--wd-btn-font-size-md) + 0.125rem);--wd-btn-icon-size-lg:calc(var(--wd-btn-font-size-lg) + 0.25rem);--wd-btn-border-radius:var(--wd-border-radius);--wd-btn-color-text:var(--wd-color-text-default);--wd-btn-color-text-inverse:var(--wd-color-text-inverse);--wd-btn-color-text-hover:var(--wd-color-text-default);--wd-btn-color-text-active:var(--wd-color-text-default);--wd-btn-color-text-focus:var(--wd-color-text-default);--wd-btn-color-text-disabled:var(--wd-color-text-disabled);--wd-btn-color-brand:var(--wd-color-brand);--wd-btn-color-brand-hover:var(--wd-color-brand-hover);--wd-btn-color-brand-active:var(--wd-color-brand-active);--wd-btn-color-brand-focus:var(--wd-color-brand-focus);--wd-btn-color-brand-disabled:var(--wd-color-brand-disabled);--wd-btn-color-warning:var(--wd-color-warning);--wd-btn-color-warning-hover:var(--wd-color-warning-hover);--wd-btn-color-warning-active:var(--wd-color-warning-active);--wd-btn-color-warning-focus:var(--wd-color-warning-focus);--wd-btn-color-warning-disabled:var(--wd-color-warning-disabled);--wd-btn-color-error:var(--wd-color-error);--wd-btn-color-error-hover:var(--wd-color-error-hover);--wd-btn-color-error-active:var(--wd-color-error-active);--wd-btn-color-error-focus:var(--wd-color-error-focus);--wd-btn-color-error-disabled:var(--wd-color-error-disabled);--wd-btn-color-gray:var(
5
5
  --wd-color-gray-1
@@ -36,7 +36,7 @@ export const ExportFileModal = ({ fields, columns, isExportFileModalByApiVisible
36
36
  .filter((el) => {
37
37
  const field = fields.find((i) => (i === null || i === void 0 ? void 0 : i.name) === (el === null || el === void 0 ? void 0 : el.key) && el.isRelated);
38
38
  const format = field === null || field === void 0 ? void 0 : field.format;
39
- return el.isRelated && el.isExport && format !== 'many-many' && format !== 'one-many';
39
+ return el.isRelated && el.isExport && format !== 'many-many' && format !== 'one-many' && format !== 'one-one-r';
40
40
  })
41
41
  .map((item) => {
42
42
  return {
@@ -19,12 +19,15 @@ export const useTableData = ({ dataSourceAPI, connectorMethod, query, events, is
19
19
  const fetchVersion = (fetchRef.current.version = getUuid());
20
20
  let data = { records: [], total: 0 };
21
21
  setTableLoading(true);
22
+ let canCallQuerySuccess = true;
22
23
  try {
23
24
  if (isModel) {
24
25
  if (supportManyRelated) {
25
26
  // select为空对象时报错,避免传空对象给数组
26
27
  const select = (query === null || query === void 0 ? void 0 : query.select) || {};
28
+ canCallQuerySuccess = false;
27
29
  if (Object.keys(select).length !== 0) {
30
+ canCallQuerySuccess = true;
28
31
  data = await dataSourceAPI.getRecordListV2(query, { swr });
29
32
  data.records = data.records || [];
30
33
  }
@@ -50,9 +53,11 @@ export const useTableData = ({ dataSourceAPI, connectorMethod, query, events, is
50
53
  else {
51
54
  setTableData(records);
52
55
  }
53
- events === null || events === void 0 ? void 0 : events.querySuccess({
54
- data: Object.assign({}, data, query),
55
- });
56
+ if (canCallQuerySuccess) {
57
+ events === null || events === void 0 ? void 0 : events.querySuccess({
58
+ data: Object.assign({}, data, query),
59
+ });
60
+ }
56
61
  (records === null || records === void 0 ? void 0 : records.length) === 0 &&
57
62
  (events === null || events === void 0 ? void 0 : events.queryEmpty({
58
63
  data: Object.assign({}, data, query),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/weda-ui",
3
- "version": "3.19.0",
3
+ "version": "3.19.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index",
6
6
  "miniprogram": "mpdist",