@cloudbase/weda-ui 3.12.3 → 3.13.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.
- package/dist/configs/components/listView.js +19 -3
- package/dist/configs/components/wd-ad.d.ts +3 -0
- package/dist/configs/components/wd-ad.js +3 -3
- package/dist/configs/components/wd-side-tab.js +16 -1
- 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.js +1 -1
- package/dist/configs/index.d.ts +210 -0
- package/dist/configs/index.js +4 -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-select/relationSelect/relationSelect.js +13 -6
- package/dist/web/components/wd-select/select/selectUI.js +9 -10
- 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 +6 -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 +7 -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.d.ts +1 -1
- package/dist/web/components/wd-table/hooks/useChooseList.js +5 -4
- package/dist/web/components/wd-tabs/util.js +2 -4
- package/package.json +3 -3
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 ["adType", "unitId"];
|
|
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: "小程序广告";
|
|
@@ -19411,6 +19516,108 @@ export declare const actions: {
|
|
|
19411
19516
|
};
|
|
19412
19517
|
declare const _default: {
|
|
19413
19518
|
components: {
|
|
19519
|
+
WdStoreProduct: {
|
|
19520
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
19521
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
19522
|
+
appid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19523
|
+
productId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19524
|
+
productPromotionLink: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19525
|
+
mediaId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19526
|
+
customStyle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19527
|
+
card: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19528
|
+
'background-color': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19529
|
+
}>>;
|
|
19530
|
+
title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19531
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19532
|
+
}>>;
|
|
19533
|
+
price: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19534
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19535
|
+
}>>;
|
|
19536
|
+
'buy-button': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19537
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19538
|
+
'border-radius': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19539
|
+
'background-color': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19540
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19541
|
+
}>>;
|
|
19542
|
+
'buy-button-disabled': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
19543
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19544
|
+
'border-radius': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19545
|
+
'background-color': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19546
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19547
|
+
}>>;
|
|
19548
|
+
}>>;
|
|
19549
|
+
}>;
|
|
19550
|
+
readonly classes: readonly [];
|
|
19551
|
+
readonly methods: readonly [];
|
|
19552
|
+
readonly events: readonly [{
|
|
19553
|
+
readonly name: "bindentersuccess";
|
|
19554
|
+
readonly title: "跳转小店成功的回调";
|
|
19555
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
19556
|
+
}, {
|
|
19557
|
+
readonly name: "bindentererror";
|
|
19558
|
+
readonly title: "跳转小店失败的回调";
|
|
19559
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
19560
|
+
code: import("@sinclair/typebox").TString;
|
|
19561
|
+
message: import("@sinclair/typebox").TString;
|
|
19562
|
+
}>;
|
|
19563
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
19564
|
+
}];
|
|
19565
|
+
readonly meta: {
|
|
19566
|
+
readonly title: "小店商品";
|
|
19567
|
+
readonly name: "WdStoreProduct";
|
|
19568
|
+
readonly componentName: "StoreProduct";
|
|
19569
|
+
readonly figureIcon: "../figureIcons/WdStore.svg";
|
|
19570
|
+
readonly icon: "../icons/WdStore.svg";
|
|
19571
|
+
readonly category: "小程序";
|
|
19572
|
+
readonly categoryOrder: 700;
|
|
19573
|
+
readonly componentOrder: 620;
|
|
19574
|
+
readonly platform: readonly ["MP"];
|
|
19575
|
+
readonly visible: readonly ["APP"];
|
|
19576
|
+
readonly inlineStyleForm: any;
|
|
19577
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/WdStoreProduct";
|
|
19578
|
+
readonly group: {
|
|
19579
|
+
readonly 通用: {
|
|
19580
|
+
readonly 'x-index': 1;
|
|
19581
|
+
readonly expand: true;
|
|
19582
|
+
};
|
|
19583
|
+
};
|
|
19584
|
+
readonly shortcut: {
|
|
19585
|
+
readonly props: readonly ["adType", "unitId"];
|
|
19586
|
+
};
|
|
19587
|
+
readonly description: "小程序内嵌微信小店商品,展示小店商品,并进行跳转交易。支持小店优选联盟带货跟佣功能。";
|
|
19588
|
+
readonly propertyPanelTips: "1.仅支持在小程序端使用,PC/H5中将自动隐藏,请注意页面布局。\n \n2.该组件必须在小程序真实环境使用才能够看到实际效果。\n ";
|
|
19589
|
+
readonly stylePanelTips: "该组件不允许直接设置样式属性。";
|
|
19590
|
+
};
|
|
19591
|
+
};
|
|
19592
|
+
WdStoreHome: {
|
|
19593
|
+
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
19594
|
+
readonly data: import("@sinclair/typebox").TObject<{
|
|
19595
|
+
appid: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
19596
|
+
}>;
|
|
19597
|
+
readonly classes: readonly [];
|
|
19598
|
+
readonly methods: readonly [];
|
|
19599
|
+
readonly events: readonly [];
|
|
19600
|
+
readonly meta: {
|
|
19601
|
+
readonly title: "小店首页";
|
|
19602
|
+
readonly name: "WdStoreHome";
|
|
19603
|
+
readonly componentName: "StoreHome";
|
|
19604
|
+
readonly figureIcon: "../figureIcons/WdStore.svg";
|
|
19605
|
+
readonly icon: "../icons/WdStore.svg";
|
|
19606
|
+
readonly category: "小程序";
|
|
19607
|
+
readonly categoryOrder: 700;
|
|
19608
|
+
readonly componentOrder: 610;
|
|
19609
|
+
readonly platform: readonly ["MP"];
|
|
19610
|
+
readonly visible: readonly ["APP"];
|
|
19611
|
+
readonly inlineStyleForm: any;
|
|
19612
|
+
readonly docsUrl: "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/WdStoreHome";
|
|
19613
|
+
readonly shortcut: {
|
|
19614
|
+
readonly props: readonly ["appid"];
|
|
19615
|
+
};
|
|
19616
|
+
readonly description: "小程序内嵌微信小店首页,展示小店首页,并进行跳转交易。";
|
|
19617
|
+
readonly propertyPanelTips: "1.仅支持在小程序端使用,PC/H5中将自动隐藏,请注意页面布局。\n \n2.该组件必须在小程序真实环境使用才能够看到实际效果。\n";
|
|
19618
|
+
readonly stylePanelTips: "该组件不允许直接设置样式属性。";
|
|
19619
|
+
};
|
|
19620
|
+
};
|
|
19414
19621
|
WdMarkdown: {
|
|
19415
19622
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
19416
19623
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
@@ -20900,12 +21107,15 @@ declare const _default: {
|
|
|
20900
21107
|
readonly events: readonly [{
|
|
20901
21108
|
readonly name: "load";
|
|
20902
21109
|
readonly title: "广告加载成功";
|
|
21110
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
20903
21111
|
}, {
|
|
20904
21112
|
readonly name: "error";
|
|
20905
21113
|
readonly title: "广告加载失败";
|
|
21114
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
20906
21115
|
}, {
|
|
20907
21116
|
readonly name: "close";
|
|
20908
21117
|
readonly title: "广告被关闭";
|
|
21118
|
+
readonly 'x-platforms': readonly ["MP"];
|
|
20909
21119
|
}];
|
|
20910
21120
|
readonly meta: {
|
|
20911
21121
|
readonly title: "小程序广告";
|
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,
|