@cloudbase/weda-ui 3.12.4 → 3.13.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.
- package/dist/configs/components/wd-ad.d.ts +3 -0
- package/dist/configs/components/wd-ad.js +3 -3
- package/dist/configs/components/wd-select-multiple.d.ts +14 -0
- package/dist/configs/components/wd-select-multiple.js +18 -1
- package/dist/configs/components/wd-select.d.ts +9 -4
- package/dist/configs/components/wd-select.js +11 -2
- package/dist/configs/components/wd-store-home.d.ts +36 -0
- package/dist/configs/components/wd-store-home.js +38 -0
- package/dist/configs/components/wd-store-product.d.ts +106 -0
- package/dist/configs/components/wd-store-product.js +102 -0
- package/dist/configs/components/wd-table.d.ts +2 -0
- package/dist/configs/components/wd-table.js +7 -0
- package/dist/configs/index.d.ts +254 -8
- package/dist/configs/index.js +4 -0
- package/dist/configs/type-utils/type-form.d.ts +2 -0
- package/dist/configs/type-utils/type-form.js +25 -7
- package/dist/configs/type-utils/x-runtime-default.d.ts +1 -0
- package/dist/configs/type-utils/x-runtime-default.js +1 -0
- package/dist/style/weda-ui.min.css +2 -2
- package/dist/web/components/index.d.ts +2 -0
- package/dist/web/components/index.js +2 -0
- package/dist/web/components/wd-ad/style/view.css +1 -1
- package/dist/web/components/wd-form-item/wd-form-item-read-only.d.ts +1 -0
- package/dist/web/components/wd-form-item/wd-form-item-read-only.js +2 -2
- package/dist/web/components/wd-select/relationSelect/relationSelect.js +4 -1
- package/dist/web/components/wd-select/select/selectUI.js +11 -7
- package/dist/web/components/wd-select/wd-select.js +2 -2
- package/dist/web/components/wd-select-multiple/wd-select-multiple.js +2 -2
- package/dist/web/components/wd-store-home/index.css +81 -0
- package/dist/web/components/wd-store-home/index.d.ts +8 -0
- package/dist/web/components/wd-store-home/index.js +12 -0
- package/dist/web/components/wd-store-home/style.d.ts +2 -0
- package/dist/web/components/wd-store-home/style.js +2 -0
- package/dist/web/components/wd-store-product/index.d.ts +8 -0
- package/dist/web/components/wd-store-product/index.js +13 -0
- package/dist/web/components/wd-store-product/style.d.ts +2 -0
- package/dist/web/components/wd-store-product/style.js +2 -0
- package/dist/web/components/wd-table/hooks/useChooseList.js +2 -1
- package/dist/web/components/wd-table/wd-table.js +6 -3
- package/package.json +1 -1
package/dist/configs/index.d.ts
CHANGED
|
@@ -1,4 +1,106 @@
|
|
|
1
1
|
export declare const components: {
|
|
2
|
+
WdStoreProduct: {
|
|
3
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
4
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
5
|
+
appid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
6
|
+
productId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
7
|
+
productPromotionLink: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8
|
+
mediaId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
9
|
+
customStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
10
|
+
card: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
11
|
+
'background-color': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
|
+
}>>;
|
|
13
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
14
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
15
|
+
}>>;
|
|
16
|
+
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
17
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
18
|
+
}>>;
|
|
19
|
+
'buy-button': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
20
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21
|
+
'border-radius': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
22
|
+
'background-color': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
23
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
|
+
}>>;
|
|
25
|
+
'buy-button-disabled': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
26
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
27
|
+
'border-radius': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
28
|
+
'background-color': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
29
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
30
|
+
}>>;
|
|
31
|
+
}>>;
|
|
32
|
+
}>;
|
|
33
|
+
readonly classes: readonly [];
|
|
34
|
+
readonly methods: readonly [];
|
|
35
|
+
readonly events: readonly [{
|
|
36
|
+
readonly name: "bindentersuccess";
|
|
37
|
+
readonly title: "跳转小店成功的回调";
|
|
38
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "bindentererror";
|
|
41
|
+
readonly title: "跳转小店失败的回调";
|
|
42
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
43
|
+
code: import("@sinclair/typebox").TString;
|
|
44
|
+
message: import("@sinclair/typebox").TString;
|
|
45
|
+
}>;
|
|
46
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
47
|
+
}];
|
|
48
|
+
readonly meta: {
|
|
49
|
+
readonly title: "小店商品";
|
|
50
|
+
readonly name: "WdStoreProduct";
|
|
51
|
+
readonly componentName: "StoreProduct";
|
|
52
|
+
readonly figureIcon: "../figureIcons/WdStore.svg";
|
|
53
|
+
readonly icon: "../icons/WdStore.svg";
|
|
54
|
+
readonly category: "小程序";
|
|
55
|
+
readonly categoryOrder: 700;
|
|
56
|
+
readonly componentOrder: 620;
|
|
57
|
+
readonly platform: readonly ["MP"];
|
|
58
|
+
readonly visible: readonly ["APP"];
|
|
59
|
+
readonly inlineStyleForm: any;
|
|
60
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/WdStoreProduct";
|
|
61
|
+
readonly group: {
|
|
62
|
+
readonly 通用: {
|
|
63
|
+
readonly 'x-index': 1;
|
|
64
|
+
readonly expand: true;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
readonly shortcut: {
|
|
68
|
+
readonly props: readonly ["appid"];
|
|
69
|
+
};
|
|
70
|
+
readonly description: "小程序内嵌微信小店商品,展示小店商品,并进行跳转交易。支持小店优选联盟带货跟佣功能。";
|
|
71
|
+
readonly propertyPanelTips: "1.仅支持在小程序端使用,PC/H5中将自动隐藏,请注意页面布局。\n \n2.该组件必须在小程序真实环境使用才能够看到实际效果。\n ";
|
|
72
|
+
readonly stylePanelTips: "该组件不允许直接设置样式属性。";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
WdStoreHome: {
|
|
76
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
77
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
78
|
+
appid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
79
|
+
}>;
|
|
80
|
+
readonly classes: readonly [];
|
|
81
|
+
readonly methods: readonly [];
|
|
82
|
+
readonly events: readonly [];
|
|
83
|
+
readonly meta: {
|
|
84
|
+
readonly title: "小店首页";
|
|
85
|
+
readonly name: "WdStoreHome";
|
|
86
|
+
readonly componentName: "StoreHome";
|
|
87
|
+
readonly figureIcon: "../figureIcons/WdStore.svg";
|
|
88
|
+
readonly icon: "../icons/WdStore.svg";
|
|
89
|
+
readonly category: "小程序";
|
|
90
|
+
readonly categoryOrder: 700;
|
|
91
|
+
readonly componentOrder: 610;
|
|
92
|
+
readonly platform: readonly ["MP"];
|
|
93
|
+
readonly visible: readonly ["APP"];
|
|
94
|
+
readonly inlineStyleForm: any;
|
|
95
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/WdStoreHome";
|
|
96
|
+
readonly shortcut: {
|
|
97
|
+
readonly props: readonly ["appid"];
|
|
98
|
+
};
|
|
99
|
+
readonly description: "小程序内嵌微信小店首页,展示小店首页,并进行跳转交易。";
|
|
100
|
+
readonly propertyPanelTips: "1.仅支持在小程序端使用,PC/H5中将自动隐藏,请注意页面布局。\n \n2.该组件必须在小程序真实环境使用才能够看到实际效果。\n";
|
|
101
|
+
readonly stylePanelTips: "该组件不允许直接设置样式属性。";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
2
104
|
WdMarkdown: {
|
|
3
105
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
4
106
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
@@ -1488,12 +1590,15 @@ export declare const components: {
|
|
|
1488
1590
|
readonly events: readonly [{
|
|
1489
1591
|
readonly name: "load";
|
|
1490
1592
|
readonly title: "广告加载成功";
|
|
1593
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
1491
1594
|
}, {
|
|
1492
1595
|
readonly name: "error";
|
|
1493
1596
|
readonly title: "广告加载失败";
|
|
1597
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
1494
1598
|
}, {
|
|
1495
1599
|
readonly name: "close";
|
|
1496
1600
|
readonly title: "广告被关闭";
|
|
1601
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
1497
1602
|
}];
|
|
1498
1603
|
readonly meta: {
|
|
1499
1604
|
readonly title: "小程序广告";
|
|
@@ -11831,6 +11936,7 @@ export declare const components: {
|
|
|
11831
11936
|
connectorParams: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11832
11937
|
isOrderBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11833
11938
|
enableCellCustomOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11939
|
+
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
11834
11940
|
customOptionTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
11835
11941
|
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
11836
11942
|
fixedFront: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
@@ -13944,6 +14050,7 @@ export declare const components: {
|
|
|
13944
14050
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
13945
14051
|
addRelationButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13946
14052
|
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14053
|
+
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
13947
14054
|
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
13948
14055
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
13949
14056
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -14071,12 +14178,15 @@ export declare const components: {
|
|
|
14071
14178
|
description: string;
|
|
14072
14179
|
}];
|
|
14073
14180
|
readonly events: readonly [{
|
|
14074
|
-
name:
|
|
14075
|
-
title:
|
|
14076
|
-
detail: import("@sinclair/typebox").TObject<{
|
|
14181
|
+
readonly name: "change";
|
|
14182
|
+
readonly title: "值改变";
|
|
14183
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
14077
14184
|
value: import("@sinclair/typebox").TString;
|
|
14185
|
+
context: import("@sinclair/typebox").TObject<{
|
|
14186
|
+
option: import("@sinclair/typebox").TObject<{}>;
|
|
14187
|
+
}>;
|
|
14078
14188
|
}>;
|
|
14079
|
-
description:
|
|
14189
|
+
readonly description: "用户修改组件值时触发";
|
|
14080
14190
|
}, {
|
|
14081
14191
|
readonly title: "输入搜索内容";
|
|
14082
14192
|
readonly name: "search";
|
|
@@ -14209,6 +14319,7 @@ export declare const components: {
|
|
|
14209
14319
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14210
14320
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14211
14321
|
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14322
|
+
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14212
14323
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
14213
14324
|
addRelationButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14214
14325
|
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
@@ -14352,6 +14463,18 @@ export declare const components: {
|
|
|
14352
14463
|
readonly name: string;
|
|
14353
14464
|
readonly title: string;
|
|
14354
14465
|
readonly description: string;
|
|
14466
|
+
}, {
|
|
14467
|
+
readonly name: "change";
|
|
14468
|
+
readonly title: "值改变";
|
|
14469
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
14470
|
+
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString> & {
|
|
14471
|
+
title: string;
|
|
14472
|
+
};
|
|
14473
|
+
context: import("@sinclair/typebox").TObject<{
|
|
14474
|
+
options: import("@sinclair/typebox").TObject<{}>;
|
|
14475
|
+
}>;
|
|
14476
|
+
}>;
|
|
14477
|
+
readonly description: "用户修改组件值时触发";
|
|
14355
14478
|
}, {
|
|
14356
14479
|
readonly title: "输入搜索内容";
|
|
14357
14480
|
readonly name: "search";
|
|
@@ -19411,6 +19534,108 @@ export declare const actions: {
|
|
|
19411
19534
|
};
|
|
19412
19535
|
declare const _default: {
|
|
19413
19536
|
components: {
|
|
19537
|
+
WdStoreProduct: {
|
|
19538
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
19539
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
19540
|
+
appid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19541
|
+
productId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19542
|
+
productPromotionLink: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19543
|
+
mediaId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19544
|
+
customStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19545
|
+
card: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19546
|
+
'background-color': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19547
|
+
}>>;
|
|
19548
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19549
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19550
|
+
}>>;
|
|
19551
|
+
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19552
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19553
|
+
}>>;
|
|
19554
|
+
'buy-button': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19555
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19556
|
+
'border-radius': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19557
|
+
'background-color': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19558
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19559
|
+
}>>;
|
|
19560
|
+
'buy-button-disabled': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19561
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19562
|
+
'border-radius': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19563
|
+
'background-color': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19564
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19565
|
+
}>>;
|
|
19566
|
+
}>>;
|
|
19567
|
+
}>;
|
|
19568
|
+
readonly classes: readonly [];
|
|
19569
|
+
readonly methods: readonly [];
|
|
19570
|
+
readonly events: readonly [{
|
|
19571
|
+
readonly name: "bindentersuccess";
|
|
19572
|
+
readonly title: "跳转小店成功的回调";
|
|
19573
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
19574
|
+
}, {
|
|
19575
|
+
readonly name: "bindentererror";
|
|
19576
|
+
readonly title: "跳转小店失败的回调";
|
|
19577
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
19578
|
+
code: import("@sinclair/typebox").TString;
|
|
19579
|
+
message: import("@sinclair/typebox").TString;
|
|
19580
|
+
}>;
|
|
19581
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
19582
|
+
}];
|
|
19583
|
+
readonly meta: {
|
|
19584
|
+
readonly title: "小店商品";
|
|
19585
|
+
readonly name: "WdStoreProduct";
|
|
19586
|
+
readonly componentName: "StoreProduct";
|
|
19587
|
+
readonly figureIcon: "../figureIcons/WdStore.svg";
|
|
19588
|
+
readonly icon: "../icons/WdStore.svg";
|
|
19589
|
+
readonly category: "小程序";
|
|
19590
|
+
readonly categoryOrder: 700;
|
|
19591
|
+
readonly componentOrder: 620;
|
|
19592
|
+
readonly platform: readonly ["MP"];
|
|
19593
|
+
readonly visible: readonly ["APP"];
|
|
19594
|
+
readonly inlineStyleForm: any;
|
|
19595
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/WdStoreProduct";
|
|
19596
|
+
readonly group: {
|
|
19597
|
+
readonly 通用: {
|
|
19598
|
+
readonly 'x-index': 1;
|
|
19599
|
+
readonly expand: true;
|
|
19600
|
+
};
|
|
19601
|
+
};
|
|
19602
|
+
readonly shortcut: {
|
|
19603
|
+
readonly props: readonly ["appid"];
|
|
19604
|
+
};
|
|
19605
|
+
readonly description: "小程序内嵌微信小店商品,展示小店商品,并进行跳转交易。支持小店优选联盟带货跟佣功能。";
|
|
19606
|
+
readonly propertyPanelTips: "1.仅支持在小程序端使用,PC/H5中将自动隐藏,请注意页面布局。\n \n2.该组件必须在小程序真实环境使用才能够看到实际效果。\n ";
|
|
19607
|
+
readonly stylePanelTips: "该组件不允许直接设置样式属性。";
|
|
19608
|
+
};
|
|
19609
|
+
};
|
|
19610
|
+
WdStoreHome: {
|
|
19611
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
19612
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
19613
|
+
appid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19614
|
+
}>;
|
|
19615
|
+
readonly classes: readonly [];
|
|
19616
|
+
readonly methods: readonly [];
|
|
19617
|
+
readonly events: readonly [];
|
|
19618
|
+
readonly meta: {
|
|
19619
|
+
readonly title: "小店首页";
|
|
19620
|
+
readonly name: "WdStoreHome";
|
|
19621
|
+
readonly componentName: "StoreHome";
|
|
19622
|
+
readonly figureIcon: "../figureIcons/WdStore.svg";
|
|
19623
|
+
readonly icon: "../icons/WdStore.svg";
|
|
19624
|
+
readonly category: "小程序";
|
|
19625
|
+
readonly categoryOrder: 700;
|
|
19626
|
+
readonly componentOrder: 610;
|
|
19627
|
+
readonly platform: readonly ["MP"];
|
|
19628
|
+
readonly visible: readonly ["APP"];
|
|
19629
|
+
readonly inlineStyleForm: any;
|
|
19630
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/WdStoreHome";
|
|
19631
|
+
readonly shortcut: {
|
|
19632
|
+
readonly props: readonly ["appid"];
|
|
19633
|
+
};
|
|
19634
|
+
readonly description: "小程序内嵌微信小店首页,展示小店首页,并进行跳转交易。";
|
|
19635
|
+
readonly propertyPanelTips: "1.仅支持在小程序端使用,PC/H5中将自动隐藏,请注意页面布局。\n \n2.该组件必须在小程序真实环境使用才能够看到实际效果。\n";
|
|
19636
|
+
readonly stylePanelTips: "该组件不允许直接设置样式属性。";
|
|
19637
|
+
};
|
|
19638
|
+
};
|
|
19414
19639
|
WdMarkdown: {
|
|
19415
19640
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
19416
19641
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
@@ -20900,12 +21125,15 @@ declare const _default: {
|
|
|
20900
21125
|
readonly events: readonly [{
|
|
20901
21126
|
readonly name: "load";
|
|
20902
21127
|
readonly title: "广告加载成功";
|
|
21128
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
20903
21129
|
}, {
|
|
20904
21130
|
readonly name: "error";
|
|
20905
21131
|
readonly title: "广告加载失败";
|
|
21132
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
20906
21133
|
}, {
|
|
20907
21134
|
readonly name: "close";
|
|
20908
21135
|
readonly title: "广告被关闭";
|
|
21136
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
20909
21137
|
}];
|
|
20910
21138
|
readonly meta: {
|
|
20911
21139
|
readonly title: "小程序广告";
|
|
@@ -31243,6 +31471,7 @@ declare const _default: {
|
|
|
31243
31471
|
connectorParams: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31244
31472
|
isOrderBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
31245
31473
|
enableCellCustomOption: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
31474
|
+
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
31246
31475
|
customOptionTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31247
31476
|
columnSelectType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
31248
31477
|
fixedFront: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<any>>;
|
|
@@ -33356,6 +33585,7 @@ declare const _default: {
|
|
|
33356
33585
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33357
33586
|
addRelationButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
33358
33587
|
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33588
|
+
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33359
33589
|
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
33360
33590
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
33361
33591
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -33483,12 +33713,15 @@ declare const _default: {
|
|
|
33483
33713
|
description: string;
|
|
33484
33714
|
}];
|
|
33485
33715
|
readonly events: readonly [{
|
|
33486
|
-
name:
|
|
33487
|
-
title:
|
|
33488
|
-
detail: import("@sinclair/typebox").TObject<{
|
|
33716
|
+
readonly name: "change";
|
|
33717
|
+
readonly title: "值改变";
|
|
33718
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
33489
33719
|
value: import("@sinclair/typebox").TString;
|
|
33720
|
+
context: import("@sinclair/typebox").TObject<{
|
|
33721
|
+
option: import("@sinclair/typebox").TObject<{}>;
|
|
33722
|
+
}>;
|
|
33490
33723
|
}>;
|
|
33491
|
-
description:
|
|
33724
|
+
readonly description: "用户修改组件值时触发";
|
|
33492
33725
|
}, {
|
|
33493
33726
|
readonly title: "输入搜索内容";
|
|
33494
33727
|
readonly name: "search";
|
|
@@ -33621,6 +33854,7 @@ declare const _default: {
|
|
|
33621
33854
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33622
33855
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33623
33856
|
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33857
|
+
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33624
33858
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33625
33859
|
addRelationButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
33626
33860
|
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
@@ -33764,6 +33998,18 @@ declare const _default: {
|
|
|
33764
33998
|
readonly name: string;
|
|
33765
33999
|
readonly title: string;
|
|
33766
34000
|
readonly description: string;
|
|
34001
|
+
}, {
|
|
34002
|
+
readonly name: "change";
|
|
34003
|
+
readonly title: "值改变";
|
|
34004
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
34005
|
+
value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString> & {
|
|
34006
|
+
title: string;
|
|
34007
|
+
};
|
|
34008
|
+
context: import("@sinclair/typebox").TObject<{
|
|
34009
|
+
options: import("@sinclair/typebox").TObject<{}>;
|
|
34010
|
+
}>;
|
|
34011
|
+
}>;
|
|
34012
|
+
readonly description: "用户修改组件值时触发";
|
|
33767
34013
|
}, {
|
|
33768
34014
|
readonly title: "输入搜索内容";
|
|
33769
34015
|
readonly name: "search";
|
package/dist/configs/index.js
CHANGED
|
@@ -146,7 +146,11 @@ import WdProgress from './components/wd-progress';
|
|
|
146
146
|
import WdCascader from './components/wd-cascader';
|
|
147
147
|
import WdCodeEditor from './components/wd-code-editor';
|
|
148
148
|
import WdMarkdown from './components/wd-markdown';
|
|
149
|
+
import WdStoreHome from './components/wd-store-home';
|
|
150
|
+
import WdStoreProduct from './components/wd-store-product';
|
|
149
151
|
export const components = {
|
|
152
|
+
WdStoreProduct,
|
|
153
|
+
WdStoreHome,
|
|
150
154
|
WdMarkdown,
|
|
151
155
|
WdCodeEditor,
|
|
152
156
|
WdUnifiedLink,
|
|
@@ -132,6 +132,7 @@ export declare const FORM_ITEM_DATA: {
|
|
|
132
132
|
enableRelationOptionJump: import("@sinclair/typebox").TBoolean;
|
|
133
133
|
enableAddRelationButton: import("@sinclair/typebox").TBoolean;
|
|
134
134
|
addRelationButtonText: import("@sinclair/typebox").TString;
|
|
135
|
+
enableRelationTag: import("@sinclair/typebox").TBoolean;
|
|
135
136
|
extra: import("@sinclair/typebox").TString;
|
|
136
137
|
showShape: import("@sinclair/typebox").TUnsafe<string>;
|
|
137
138
|
downloadVisible: import("@sinclair/typebox").TBoolean;
|
|
@@ -547,6 +548,7 @@ export declare const ItemData: import("@sinclair/typebox").TObject<{
|
|
|
547
548
|
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
548
549
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
549
550
|
addRelationButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
551
|
+
enableRelationTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
550
552
|
extra: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
551
553
|
showShape: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
552
554
|
downloadVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -1194,30 +1194,35 @@ export const FORM_ITEM_DATA = {
|
|
|
1194
1194
|
},
|
|
1195
1195
|
})),
|
|
1196
1196
|
enableRelationalRefresh: Type.Boolean({
|
|
1197
|
-
title: '
|
|
1198
|
-
description: '
|
|
1197
|
+
title: '刷新按钮',
|
|
1198
|
+
description: '点击刷新下拉列表数据。仅选项来自关联关系字段时,支持配置刷新按钮,在编辑状态下展示。',
|
|
1199
1199
|
'x-runtime-default': X_RUNTIME_DEFAULT.enableRelationalRefresh,
|
|
1200
1200
|
'x-index': 165,
|
|
1201
1201
|
'x-category': X_CATEGORY.COMMON,
|
|
1202
1202
|
}),
|
|
1203
1203
|
enableRelationalSetting: Type.Boolean({
|
|
1204
|
-
title: '
|
|
1204
|
+
title: '设置按钮',
|
|
1205
1205
|
'x-runtime-default': X_RUNTIME_DEFAULT.enableRelationalSetting,
|
|
1206
1206
|
'x-index': 166,
|
|
1207
1207
|
'x-category': X_CATEGORY.COMMON,
|
|
1208
|
+
description: '仅选项来自关联关系字段时,支持配置设置按钮,在编辑状态下展示。',
|
|
1209
|
+
'x-helper-text': '开启后响应事件为:onSettingButtonClick。',
|
|
1208
1210
|
}),
|
|
1209
1211
|
enableRelationOptionJump: Type.Boolean({
|
|
1210
|
-
title: '
|
|
1212
|
+
title: '下拉选项跳转按钮',
|
|
1211
1213
|
'x-runtime-default': X_RUNTIME_DEFAULT.enableAddRelationButton,
|
|
1212
1214
|
'x-index': 167,
|
|
1213
1215
|
'x-category': X_CATEGORY.COMMON,
|
|
1214
|
-
description: '
|
|
1216
|
+
description: '仅选项来自关联关系字段时,支持配置下拉选项跳转按钮,在编辑状态下展示。',
|
|
1217
|
+
'x-helper-text': '开启后响应事件为:onRelationOptionJump。',
|
|
1215
1218
|
}),
|
|
1216
1219
|
enableAddRelationButton: Type.Boolean({
|
|
1217
|
-
title: '
|
|
1220
|
+
title: '新建按钮',
|
|
1218
1221
|
'x-runtime-default': X_RUNTIME_DEFAULT.enableAddRelationButton,
|
|
1219
1222
|
'x-index': 168,
|
|
1220
1223
|
'x-category': X_CATEGORY.COMMON,
|
|
1224
|
+
description: '仅选项来自关联关系字段时,支持配置新建按钮,在编辑状态下展示。',
|
|
1225
|
+
'x-helper-text': '开启后响应事件为:onAddRelationButtonClick。',
|
|
1221
1226
|
'x-linkages': [
|
|
1222
1227
|
{
|
|
1223
1228
|
type: 'value:visible',
|
|
@@ -1232,6 +1237,14 @@ export const FORM_ITEM_DATA = {
|
|
|
1232
1237
|
'x-index': 169,
|
|
1233
1238
|
'x-category': X_CATEGORY.COMMON,
|
|
1234
1239
|
}),
|
|
1240
|
+
enableRelationTag: Type.Boolean({
|
|
1241
|
+
title: '标签展示',
|
|
1242
|
+
'x-runtime-default': X_RUNTIME_DEFAULT.enableRelationTag,
|
|
1243
|
+
'x-index': 170,
|
|
1244
|
+
'x-category': X_CATEGORY.COMMON,
|
|
1245
|
+
description: '仅选项来自关联关系字段时,支持配置组件在只读状态下以标签形式展示。',
|
|
1246
|
+
'x-helper-text': '开启后响应事件为:onRelationTagClick。',
|
|
1247
|
+
}),
|
|
1235
1248
|
extra: Type.String({
|
|
1236
1249
|
title: '下方提示',
|
|
1237
1250
|
type: 'string',
|
|
@@ -1677,9 +1690,14 @@ export const FORM_ITEM_DATA = {
|
|
|
1677
1690
|
},
|
|
1678
1691
|
{
|
|
1679
1692
|
type: 'value:visible',
|
|
1680
|
-
target: '*(selectFieldType,tipBlock,where,enableRelationalSetting,enableRelationalRefresh,enableAddRelationButton)',
|
|
1693
|
+
target: '*(selectFieldType,tipBlock,where,enableRelationalSetting,enableRelationalRefresh,enableAddRelationButton,enableRelationOptionJump)',
|
|
1681
1694
|
condition: "{{$self.value=='father-son'||$self.value=='related'||$self.value=='many-one'||$self.value=='one-one'||$self.value=='one-one-r'}}",
|
|
1682
1695
|
},
|
|
1696
|
+
{
|
|
1697
|
+
type: 'value:visible',
|
|
1698
|
+
target: '*(enableRelationTag)',
|
|
1699
|
+
condition: "{{$self.value=='x-enum'||$self.value=='father-son'||$self.value=='related'||$self.value=='many-one'||$self.value=='one-one'||$self.value=='one-one-r'}}",
|
|
1700
|
+
},
|
|
1683
1701
|
],
|
|
1684
1702
|
display: false,
|
|
1685
1703
|
'x-platforms': [''],
|
|
@@ -92,6 +92,7 @@ export declare const X_RUNTIME_DEFAULT: {
|
|
|
92
92
|
enableRelationalRefresh: boolean;
|
|
93
93
|
enableAddRelationButton: boolean;
|
|
94
94
|
enableRelationOptionJump: boolean;
|
|
95
|
+
enableRelationTag: boolean;
|
|
95
96
|
addRelationButtonText: string;
|
|
96
97
|
_uploadButtonText: string;
|
|
97
98
|
_uploadTipText: string;
|