@cloudbase/weda-ui 3.20.6 → 3.21.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.
@@ -933,6 +933,13 @@ export declare const components: {
933
933
  description: string;
934
934
  }[];
935
935
  readonly methods: readonly [{
936
+ readonly name: "setValue";
937
+ readonly label: "设置值";
938
+ readonly params: import("@sinclair/typebox").TObject<{
939
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
940
+ }>;
941
+ readonly description: "通过 $w.cascader1.setValue(['bj','cy']) 设置组件值";
942
+ }, {
936
943
  name: string;
937
944
  label: string;
938
945
  params: {
@@ -980,13 +987,6 @@ export declare const components: {
980
987
  name: string;
981
988
  label: string;
982
989
  description: string;
983
- }, {
984
- readonly name: "setValue";
985
- readonly label: "设置值";
986
- readonly params: import("@sinclair/typebox").TObject<{
987
- value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
988
- }>;
989
- readonly description: "通过 $w.cascader1.setValue(['bj','cy']) 设置组件值";
990
990
  }];
991
991
  readonly events: readonly [{
992
992
  name: string;
@@ -4142,6 +4142,13 @@ export declare const components: {
4142
4142
  readonly description: "可以为小程序端的表单编写样式";
4143
4143
  }];
4144
4144
  readonly methods: readonly [{
4145
+ readonly name: "setValue";
4146
+ readonly label: "设置值";
4147
+ readonly params: import("@sinclair/typebox").TObject<{
4148
+ value: import("@sinclair/typebox").TObject<{}>;
4149
+ }>;
4150
+ readonly description: "通过 $w.form1.setValue({a:'111'}) 设置组件值";
4151
+ }, {
4145
4152
  readonly name: "submit";
4146
4153
  readonly label: "提交";
4147
4154
  readonly description: "通过 $w.<id>.submit() 触发表单提交";
@@ -6464,166 +6471,46 @@ export declare const components: {
6464
6471
  mpOrigin: string;
6465
6472
  };
6466
6473
  Swiper: {
6467
- $schema: string;
6468
- data: {
6469
- properties: {
6470
- interval: {
6471
- title: string;
6472
- default: number;
6473
- type: string;
6474
- "x-index": number;
6475
- "x-category": string;
6476
- description: string;
6477
- };
6478
- vertical: {
6479
- title: string;
6480
- default: boolean;
6481
- "x-index": number;
6482
- type: string;
6483
- "x-category": string;
6484
- description: string;
6485
- };
6486
- autoplay: {
6487
- title: string;
6488
- default: boolean;
6489
- "x-index": number;
6490
- type: string;
6491
- "x-category": string;
6492
- description: string;
6493
- };
6494
- indicatorActiveColor: {
6495
- title: string;
6496
- "x-index": number;
6497
- type: string;
6498
- "x-component": string;
6499
- default: string;
6500
- "x-category": string;
6501
- description: string;
6502
- };
6503
- indicatorColor: {
6504
- title: string;
6505
- type: string;
6506
- "x-index": number;
6507
- "x-component": string;
6508
- default: string;
6509
- "x-category": string;
6510
- description: string;
6511
- };
6512
- duration: {
6513
- title: string;
6514
- default: number;
6515
- "x-index": number;
6516
- type: string;
6517
- "x-category": string;
6518
- description: string;
6519
- };
6520
- current: {
6521
- title: string;
6522
- default: number;
6523
- "x-index": number;
6524
- type: string;
6525
- "x-category": string;
6526
- description: string;
6527
- };
6528
- circular: {
6529
- title: string;
6530
- default: boolean;
6531
- type: string;
6532
- "x-index": number;
6533
- "x-category": string;
6534
- description: string;
6535
- };
6536
- indicatorDots: {
6537
- title: string;
6538
- default: boolean;
6539
- type: string;
6540
- "x-index": number;
6541
- "x-category": string;
6542
- description: string;
6543
- };
6544
- layoutType: {
6545
- title: string;
6546
- default: string;
6547
- type: string;
6548
- "x-index": number;
6549
- "x-category": string;
6550
- description: string;
6551
- enum: {
6552
- value: string;
6553
- label: string;
6554
- }[];
6555
- "x-linkages": {
6556
- type: string;
6557
- target: string;
6558
- condition: string;
6559
- }[];
6560
- "x-platforms": string[];
6561
- };
6562
- transformType: {
6563
- title: string;
6564
- default: string;
6565
- type: string;
6566
- "x-index": number;
6567
- "x-category": string;
6568
- description: string;
6569
- enum: {
6570
- value: string;
6571
- label: string;
6572
- }[];
6573
- "x-platforms": string[];
6574
- };
6575
- previousMargin: {
6576
- title: string;
6577
- type: string;
6578
- default: string;
6579
- "x-index": number;
6580
- "x-category": string;
6581
- description: string;
6582
- "x-platforms": string[];
6583
- };
6584
- nextMargin: {
6585
- title: string;
6586
- type: string;
6587
- default: string;
6588
- "x-index": number;
6589
- "x-category": string;
6590
- description: string;
6591
- "x-platforms": string[];
6592
- };
6593
- easingFunction: {
6594
- title: string;
6595
- type: string;
6596
- default: string;
6597
- "x-index": number;
6598
- "x-category": string;
6599
- description: string;
6600
- "x-platforms": string[];
6601
- enum: {
6602
- value: string;
6603
- label: string;
6604
- }[];
6605
- };
6606
- };
6607
- };
6608
- events: {
6609
- name: string;
6610
- title: string;
6611
- }[];
6612
- meta: {
6613
- title: string;
6614
- description: string;
6615
- category: string;
6616
- categoryOrder: number;
6617
- componentOrder: number;
6618
- figureIcon: string;
6619
- icon: string;
6620
- propertyPanelTips: string;
6621
- };
6622
- configMeta: {
6623
- docsUrl: string;
6474
+ readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
6475
+ readonly data: import("@sinclair/typebox").TObject<{
6476
+ interval: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
6477
+ vertical: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
6478
+ autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
6479
+ loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
6480
+ indicatorActiveColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6481
+ indicatorColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6482
+ duration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
6483
+ current: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
6484
+ circular: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
6485
+ indicatorDots: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
6486
+ layoutType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
6487
+ transformType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6488
+ previousMargin: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6489
+ nextMargin: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6490
+ easingFunction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6491
+ }>;
6492
+ readonly events: readonly [{
6493
+ readonly name: "change";
6494
+ readonly title: "切换";
6495
+ readonly description: "通过事件可以获取到当前选中的轮播项,在该事件的处理方法中可以通过 event.detail.current 来获取当前轮播项所在的index";
6496
+ readonly detail: import("@sinclair/typebox").TObject<{
6497
+ current: import("@sinclair/typebox").TString;
6498
+ }>;
6499
+ }];
6500
+ readonly meta: {
6501
+ readonly name: "swiper";
6502
+ readonly title: "轮播容器";
6503
+ readonly description: "用于快速在页面搭建轮播图展示效果,并支持轮播图的跳转、播放配置。";
6504
+ readonly category: "布局";
6505
+ readonly categoryOrder: 200;
6506
+ readonly componentOrder: 90;
6507
+ readonly figureIcon: "../figureIcons/Swiper.svg";
6508
+ readonly icon: "../icons/Swiper.svg";
6509
+ readonly propertyPanelTips: "轮播容器组件在小程序侧使用时,建议给组件设置一个高度,否则按照小程序swiper组件默认高度渲染";
6510
+ readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/Swiper";
6624
6511
  };
6625
- isContainer: boolean;
6626
- mpOrigin: string;
6512
+ readonly isContainer: true;
6513
+ readonly mpOrigin: "swiper";
6627
6514
  };
6628
6515
  Carousel: {
6629
6516
  $schema: string;
@@ -11600,6 +11487,8 @@ export declare const components: {
11600
11487
  emptyText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11601
11488
  rowColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11602
11489
  isSuspendHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
11490
+ enableBottomTipSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
11491
+ row: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
11603
11492
  enablePagination: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
11604
11493
  enableGlobalButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
11605
11494
  enableRefreshBtn: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
@@ -20502,6 +20391,13 @@ declare const _default: {
20502
20391
  description: string;
20503
20392
  }[];
20504
20393
  readonly methods: readonly [{
20394
+ readonly name: "setValue";
20395
+ readonly label: "设置值";
20396
+ readonly params: import("@sinclair/typebox").TObject<{
20397
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
20398
+ }>;
20399
+ readonly description: "通过 $w.cascader1.setValue(['bj','cy']) 设置组件值";
20400
+ }, {
20505
20401
  name: string;
20506
20402
  label: string;
20507
20403
  params: {
@@ -20549,13 +20445,6 @@ declare const _default: {
20549
20445
  name: string;
20550
20446
  label: string;
20551
20447
  description: string;
20552
- }, {
20553
- readonly name: "setValue";
20554
- readonly label: "设置值";
20555
- readonly params: import("@sinclair/typebox").TObject<{
20556
- value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
20557
- }>;
20558
- readonly description: "通过 $w.cascader1.setValue(['bj','cy']) 设置组件值";
20559
20448
  }];
20560
20449
  readonly events: readonly [{
20561
20450
  name: string;
@@ -23711,6 +23600,13 @@ declare const _default: {
23711
23600
  readonly description: "可以为小程序端的表单编写样式";
23712
23601
  }];
23713
23602
  readonly methods: readonly [{
23603
+ readonly name: "setValue";
23604
+ readonly label: "设置值";
23605
+ readonly params: import("@sinclair/typebox").TObject<{
23606
+ value: import("@sinclair/typebox").TObject<{}>;
23607
+ }>;
23608
+ readonly description: "通过 $w.form1.setValue({a:'111'}) 设置组件值";
23609
+ }, {
23714
23610
  readonly name: "submit";
23715
23611
  readonly label: "提交";
23716
23612
  readonly description: "通过 $w.<id>.submit() 触发表单提交";
@@ -26033,166 +25929,46 @@ declare const _default: {
26033
25929
  mpOrigin: string;
26034
25930
  };
26035
25931
  Swiper: {
26036
- $schema: string;
26037
- data: {
26038
- properties: {
26039
- interval: {
26040
- title: string;
26041
- default: number;
26042
- type: string;
26043
- "x-index": number;
26044
- "x-category": string;
26045
- description: string;
26046
- };
26047
- vertical: {
26048
- title: string;
26049
- default: boolean;
26050
- "x-index": number;
26051
- type: string;
26052
- "x-category": string;
26053
- description: string;
26054
- };
26055
- autoplay: {
26056
- title: string;
26057
- default: boolean;
26058
- "x-index": number;
26059
- type: string;
26060
- "x-category": string;
26061
- description: string;
26062
- };
26063
- indicatorActiveColor: {
26064
- title: string;
26065
- "x-index": number;
26066
- type: string;
26067
- "x-component": string;
26068
- default: string;
26069
- "x-category": string;
26070
- description: string;
26071
- };
26072
- indicatorColor: {
26073
- title: string;
26074
- type: string;
26075
- "x-index": number;
26076
- "x-component": string;
26077
- default: string;
26078
- "x-category": string;
26079
- description: string;
26080
- };
26081
- duration: {
26082
- title: string;
26083
- default: number;
26084
- "x-index": number;
26085
- type: string;
26086
- "x-category": string;
26087
- description: string;
26088
- };
26089
- current: {
26090
- title: string;
26091
- default: number;
26092
- "x-index": number;
26093
- type: string;
26094
- "x-category": string;
26095
- description: string;
26096
- };
26097
- circular: {
26098
- title: string;
26099
- default: boolean;
26100
- type: string;
26101
- "x-index": number;
26102
- "x-category": string;
26103
- description: string;
26104
- };
26105
- indicatorDots: {
26106
- title: string;
26107
- default: boolean;
26108
- type: string;
26109
- "x-index": number;
26110
- "x-category": string;
26111
- description: string;
26112
- };
26113
- layoutType: {
26114
- title: string;
26115
- default: string;
26116
- type: string;
26117
- "x-index": number;
26118
- "x-category": string;
26119
- description: string;
26120
- enum: {
26121
- value: string;
26122
- label: string;
26123
- }[];
26124
- "x-linkages": {
26125
- type: string;
26126
- target: string;
26127
- condition: string;
26128
- }[];
26129
- "x-platforms": string[];
26130
- };
26131
- transformType: {
26132
- title: string;
26133
- default: string;
26134
- type: string;
26135
- "x-index": number;
26136
- "x-category": string;
26137
- description: string;
26138
- enum: {
26139
- value: string;
26140
- label: string;
26141
- }[];
26142
- "x-platforms": string[];
26143
- };
26144
- previousMargin: {
26145
- title: string;
26146
- type: string;
26147
- default: string;
26148
- "x-index": number;
26149
- "x-category": string;
26150
- description: string;
26151
- "x-platforms": string[];
26152
- };
26153
- nextMargin: {
26154
- title: string;
26155
- type: string;
26156
- default: string;
26157
- "x-index": number;
26158
- "x-category": string;
26159
- description: string;
26160
- "x-platforms": string[];
26161
- };
26162
- easingFunction: {
26163
- title: string;
26164
- type: string;
26165
- default: string;
26166
- "x-index": number;
26167
- "x-category": string;
26168
- description: string;
26169
- "x-platforms": string[];
26170
- enum: {
26171
- value: string;
26172
- label: string;
26173
- }[];
26174
- };
26175
- };
26176
- };
26177
- events: {
26178
- name: string;
26179
- title: string;
26180
- }[];
26181
- meta: {
26182
- title: string;
26183
- description: string;
26184
- category: string;
26185
- categoryOrder: number;
26186
- componentOrder: number;
26187
- figureIcon: string;
26188
- icon: string;
26189
- propertyPanelTips: string;
26190
- };
26191
- configMeta: {
26192
- docsUrl: string;
25932
+ readonly $schema: "https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json";
25933
+ readonly data: import("@sinclair/typebox").TObject<{
25934
+ interval: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
25935
+ vertical: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
25936
+ autoplay: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
25937
+ loop: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
25938
+ indicatorActiveColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
25939
+ indicatorColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
25940
+ duration: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
25941
+ current: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
25942
+ circular: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
25943
+ indicatorDots: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
25944
+ layoutType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
25945
+ transformType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
25946
+ previousMargin: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
25947
+ nextMargin: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
25948
+ easingFunction: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
25949
+ }>;
25950
+ readonly events: readonly [{
25951
+ readonly name: "change";
25952
+ readonly title: "切换";
25953
+ readonly description: "通过事件可以获取到当前选中的轮播项,在该事件的处理方法中可以通过 event.detail.current 来获取当前轮播项所在的index";
25954
+ readonly detail: import("@sinclair/typebox").TObject<{
25955
+ current: import("@sinclair/typebox").TString;
25956
+ }>;
25957
+ }];
25958
+ readonly meta: {
25959
+ readonly name: "swiper";
25960
+ readonly title: "轮播容器";
25961
+ readonly description: "用于快速在页面搭建轮播图展示效果,并支持轮播图的跳转、播放配置。";
25962
+ readonly category: "布局";
25963
+ readonly categoryOrder: 200;
25964
+ readonly componentOrder: 90;
25965
+ readonly figureIcon: "../figureIcons/Swiper.svg";
25966
+ readonly icon: "../icons/Swiper.svg";
25967
+ readonly propertyPanelTips: "轮播容器组件在小程序侧使用时,建议给组件设置一个高度,否则按照小程序swiper组件默认高度渲染";
25968
+ readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/Swiper";
26193
25969
  };
26194
- isContainer: boolean;
26195
- mpOrigin: string;
25970
+ readonly isContainer: true;
25971
+ readonly mpOrigin: "swiper";
26196
25972
  };
26197
25973
  Carousel: {
26198
25974
  $schema: string;
@@ -31169,6 +30945,8 @@ declare const _default: {
31169
30945
  emptyText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
31170
30946
  rowColor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
31171
30947
  isSuspendHeader: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
30948
+ enableBottomTipSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
30949
+ row: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
31172
30950
  enablePagination: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
31173
30951
  enableGlobalButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
31174
30952
  enableRefreshBtn: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
@@ -15,7 +15,7 @@ import Slot from './components/slot.json';
15
15
  import Uploader from './components/form/uploader.json';
16
16
  import UploaderFile from './components/form/uploaderFile.json';
17
17
  import ScrollView from './components/scrollVeiw.json';
18
- import Swiper from './components/swiper.json';
18
+ import Swiper from './components/swiper';
19
19
  import Carousel from './components/carousel.json';
20
20
  import Tips from './components/form/tips.json';
21
21
  import Modal from './components/modal';