@cloudbase/weda-ui 3.17.2 → 3.17.4
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/container.js +2 -1
- package/dist/configs/components/wd-ad.js +40 -0
- package/dist/configs/components/wd-calendar.d.ts +21 -1
- package/dist/configs/components/wd-calendar.js +40 -1
- package/dist/configs/components/wd-side-tab.d.ts +13 -1
- package/dist/configs/components/wd-side-tab.js +30 -1
- package/dist/configs/components/wd-tabbar.d.ts +15 -2
- package/dist/configs/components/wd-tabbar.js +36 -2
- package/dist/configs/components/wd-top-tab.d.ts +12 -0
- package/dist/configs/components/wd-top-tab.js +29 -0
- package/dist/configs/components/web-view.js +1 -1
- package/dist/configs/index.d.ts +122 -8
- package/dist/style/weda-ui.min.css +2 -2
- package/dist/web/components/chart/common/core/eChartBar.d.ts +1 -1
- package/dist/web/components/chart/common/core/eChartBar.js +10 -9
- package/dist/web/components/chart/common/core/eChartLine.d.ts +1 -1
- package/dist/web/components/chart/common/core/eChartLine.js +10 -9
- package/dist/web/components/chart/common/core/eChartPie.d.ts +2 -2
- package/dist/web/components/chart/common/core/eChartPie.js +4 -3
- package/dist/web/components/form/select/allTimePicker/index.css +9 -9
- package/dist/web/components/form/select/allTimePicker/index.d.ts +1 -1
- package/dist/web/components/form/select/allTimePicker/index.js +27 -37
- package/dist/web/components/form/select/dropdown-select/h5.js +5 -5
- package/dist/web/components/form/select/dropdown-select/index.css +15 -20
- package/dist/web/components/form/select/index.css +8 -20
- package/dist/web/components/form/selectMultiple/dropdown-select/h5.js +7 -13
- package/dist/web/components/form/selectMultiple/dropdown-select/index.css +22 -28
- package/dist/web/components/form/uploader/upload/index.d.ts +1 -1
- package/dist/web/components/form/uploader/upload/index.js +4 -3
- package/dist/web/components/form/uploader/uploader.h5.js +2 -3
- package/dist/web/components/form/uploader/uploader.pc.js +1 -1
- package/dist/web/components/wd-ad/wd-ad.d.ts +2 -2
- package/dist/web/components/wd-ad/wd-ad.js +11 -2
- package/dist/web/components/wd-select/select/selectUI.js +18 -18
- package/dist/web/components/wd-select/wd-select.css +6 -6
- package/dist/web/components/wd-select/wd-select.js +2 -2
- package/dist/web/components/wd-select-multiple/wd-select-multiple.css +11 -26
- package/dist/web/components/wd-select-multiple/wd-select-multiple.js +2 -2
- package/dist/web/components/wd-table/components/FieldRender/index.js +1 -1
- package/dist/web/components/wd-upload-image/wd-upload-image.js +1 -1
- package/dist/web/components/web-view/web-view.js +18 -28
- package/package.json +1 -1
|
@@ -7,7 +7,8 @@ const data = Type.Object({
|
|
|
7
7
|
})),
|
|
8
8
|
data: Type.Optional(Type.Record(Type.String(), Type.Unknown(), {
|
|
9
9
|
title: '数据',
|
|
10
|
-
description: '
|
|
10
|
+
description: '该属性用于区块动态项配置,可通过 $w.<id>.data 引用到',
|
|
11
|
+
'x-helper-text': '该属性用于区块动态项配置,[详情参考区块动态项配置使用指引](kehttps://cloud.tencent.com/document/product/1301/90229)',
|
|
11
12
|
default: {},
|
|
12
13
|
})),
|
|
13
14
|
});
|
|
@@ -38,6 +38,46 @@ const data = Type.Partial(Type.Object({
|
|
|
38
38
|
target: '*(multiton,disableFallbackSharePage)',
|
|
39
39
|
condition: '{{$self.value === "rewardedVideoAd"}}',
|
|
40
40
|
},
|
|
41
|
+
{
|
|
42
|
+
type: 'value:schema',
|
|
43
|
+
target: 'unitId',
|
|
44
|
+
condition: '{{$self.value !== "rewardedVideoAd"}}',
|
|
45
|
+
schema: {
|
|
46
|
+
'x-props': {
|
|
47
|
+
'data-hidebind': false,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
type: 'value:schema',
|
|
53
|
+
target: 'unitId',
|
|
54
|
+
condition: '{{$self.value === "rewardedVideoAd"}}',
|
|
55
|
+
schema: {
|
|
56
|
+
'x-props': {
|
|
57
|
+
'data-hidebind': true,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
type: 'value:schema',
|
|
63
|
+
target: 'multiton',
|
|
64
|
+
condition: '{{$self.value === "rewardedVideoAd"}}',
|
|
65
|
+
schema: {
|
|
66
|
+
'x-props': {
|
|
67
|
+
'data-hidebind': true,
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
type: 'value:schema',
|
|
73
|
+
target: 'disableFallbackSharePage',
|
|
74
|
+
condition: '{{$self.value === "rewardedVideoAd"}}',
|
|
75
|
+
schema: {
|
|
76
|
+
'x-props': {
|
|
77
|
+
'data-hidebind': true,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
41
81
|
],
|
|
42
82
|
}),
|
|
43
83
|
unitId: Type.String({
|
|
@@ -31,7 +31,27 @@ declare const config: {
|
|
|
31
31
|
}>>>;
|
|
32
32
|
initVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33
33
|
}>;
|
|
34
|
-
readonly classes: readonly [
|
|
34
|
+
readonly classes: readonly [{
|
|
35
|
+
readonly name: "根元素";
|
|
36
|
+
readonly selector: ".weda-calendar";
|
|
37
|
+
readonly description: "日历组件根元素";
|
|
38
|
+
readonly code: ":scope.weda-calendar {\n /* 在这里编写CSS 样式*/\n width: 400px;\n min-width: 400px;\n background-color: antiquewhite;\n } ";
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "日历容器";
|
|
41
|
+
readonly selector: ".weda-calendar__table";
|
|
42
|
+
readonly description: "日历组件根元素";
|
|
43
|
+
readonly code: ":scope .weda-calendar__table {\n /* 在这里编写CSS 样式*/\n } ";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "日历行";
|
|
46
|
+
readonly selector: ".weda-calendar__table-body-row";
|
|
47
|
+
readonly description: "日历组件根元素";
|
|
48
|
+
readonly code: ":scope .weda-calendar__table .weda-calendar__table-body-row{\n /* 在这里编写CSS 样式*/\n\n } ";
|
|
49
|
+
}, {
|
|
50
|
+
readonly name: "日历列";
|
|
51
|
+
readonly selector: ".weda-calendar__table-body-cell";
|
|
52
|
+
readonly description: "日历组件根元素";
|
|
53
|
+
readonly code: ":scope .weda-calendar__table .weda-calendar__table-body-cell{\n /* 在这里编写CSS 样式*/\n width: 30px;\n height: 30px;\n } ";
|
|
54
|
+
}];
|
|
35
55
|
readonly events: readonly [{
|
|
36
56
|
readonly name: "change";
|
|
37
57
|
readonly title: "选中日期";
|
|
@@ -70,7 +70,46 @@ const config = defineConfig({
|
|
|
70
70
|
$schema: 'https://comp-public-replace-1303824488-cos.weda.tencent.com/schema/lcds_component.json',
|
|
71
71
|
data,
|
|
72
72
|
properties,
|
|
73
|
-
classes: [
|
|
73
|
+
classes: [
|
|
74
|
+
{
|
|
75
|
+
name: '根元素',
|
|
76
|
+
selector: '.weda-calendar',
|
|
77
|
+
description: '日历组件根元素',
|
|
78
|
+
code: `:scope.weda-calendar {
|
|
79
|
+
/* 在这里编写CSS 样式*/
|
|
80
|
+
width: 400px;
|
|
81
|
+
min-width: 400px;
|
|
82
|
+
background-color: antiquewhite;
|
|
83
|
+
} `,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: '日历容器',
|
|
87
|
+
selector: '.weda-calendar__table',
|
|
88
|
+
description: '日历组件根元素',
|
|
89
|
+
code: `:scope .weda-calendar__table {
|
|
90
|
+
/* 在这里编写CSS 样式*/
|
|
91
|
+
} `,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: '日历行',
|
|
95
|
+
selector: '.weda-calendar__table-body-row',
|
|
96
|
+
description: '日历组件根元素',
|
|
97
|
+
code: `:scope .weda-calendar__table .weda-calendar__table-body-row{
|
|
98
|
+
/* 在这里编写CSS 样式*/
|
|
99
|
+
|
|
100
|
+
} `,
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: '日历列',
|
|
104
|
+
selector: '.weda-calendar__table-body-cell',
|
|
105
|
+
description: '日历组件根元素',
|
|
106
|
+
code: `:scope .weda-calendar__table .weda-calendar__table-body-cell{
|
|
107
|
+
/* 在这里编写CSS 样式*/
|
|
108
|
+
width: 30px;
|
|
109
|
+
height: 30px;
|
|
110
|
+
} `,
|
|
111
|
+
},
|
|
112
|
+
],
|
|
74
113
|
events: [
|
|
75
114
|
{
|
|
76
115
|
name: 'change',
|
|
@@ -77,12 +77,24 @@ declare const config: {
|
|
|
77
77
|
readonly description: "可以为侧边选项卡文本标签容器编写样式";
|
|
78
78
|
}, {
|
|
79
79
|
readonly name: "选中态的标签容器";
|
|
80
|
-
readonly selector: ".wd-side-tab-root
|
|
80
|
+
readonly selector: ".wd-side-tab-root.wd-tabs--vertical .wd-tabs__item.is-selected";
|
|
81
81
|
readonly description: "可以为侧边选项卡选中的标签容器编写样式";
|
|
82
|
+
readonly code: ":scope.wd-side-tab-root.wd-tabs--vertical .wd-tabs__item.is-selected {\n /* 在这里编写CSS 样式*/\n color: yellow;\n font-size: 20px;\n } ";
|
|
82
83
|
}, {
|
|
83
84
|
readonly name: "文本标签";
|
|
84
85
|
readonly selector: ".wd-side-tab-root .wd-tabs__item-text";
|
|
85
86
|
readonly description: "可以为侧边选项卡文本标签编写样式";
|
|
87
|
+
readonly code: ":scope.wd-side-tab-root .wd-tabs__item-text {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n } ";
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "选项图标(图片)";
|
|
90
|
+
readonly selector: ".wd-side-tab-root .wd-tabs__item .wd-image";
|
|
91
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
92
|
+
readonly code: ":scope.wd-side-tab-root .wd-tabs__item .wd-image {\n /* 在这里编写CSS 样式 */\n width: 20px;\n height: 20px;\n } ";
|
|
93
|
+
}, {
|
|
94
|
+
readonly name: "选项图标(图标)";
|
|
95
|
+
readonly selector: ".wd-side-tab-root .wd-tabs__item .wd-icon";
|
|
96
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
97
|
+
readonly code: ":scope.wd-side-tab-root .wd-tabs__item .wd-icon {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n color: red;\n } ";
|
|
86
98
|
}, {
|
|
87
99
|
readonly name: "右侧内容区域";
|
|
88
100
|
readonly selector: ".wd-side-tab-root .wd-tabs__body";
|
|
@@ -400,13 +400,42 @@ const config = defineConfig({
|
|
|
400
400
|
},
|
|
401
401
|
{
|
|
402
402
|
name: '选中态的标签容器',
|
|
403
|
-
selector: '.wd-side-tab-root
|
|
403
|
+
selector: '.wd-side-tab-root.wd-tabs--vertical .wd-tabs__item.is-selected',
|
|
404
404
|
description: '可以为侧边选项卡选中的标签容器编写样式',
|
|
405
|
+
code: `:scope.wd-side-tab-root.wd-tabs--vertical .wd-tabs__item.is-selected {
|
|
406
|
+
/* 在这里编写CSS 样式*/
|
|
407
|
+
color: yellow;
|
|
408
|
+
font-size: 20px;
|
|
409
|
+
} `,
|
|
405
410
|
},
|
|
406
411
|
{
|
|
407
412
|
name: '文本标签',
|
|
408
413
|
selector: '.wd-side-tab-root .wd-tabs__item-text',
|
|
409
414
|
description: '可以为侧边选项卡文本标签编写样式',
|
|
415
|
+
code: `:scope.wd-side-tab-root .wd-tabs__item-text {
|
|
416
|
+
/* 在这里编写CSS 样式 */
|
|
417
|
+
font-size: 20px;
|
|
418
|
+
} `,
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
name: '选项图标(图片)',
|
|
422
|
+
selector: '.wd-side-tab-root .wd-tabs__item .wd-image',
|
|
423
|
+
description: '可以为选项文本标签设置样式',
|
|
424
|
+
code: `:scope.wd-side-tab-root .wd-tabs__item .wd-image {
|
|
425
|
+
/* 在这里编写CSS 样式 */
|
|
426
|
+
width: 20px;
|
|
427
|
+
height: 20px;
|
|
428
|
+
} `,
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
name: '选项图标(图标)',
|
|
432
|
+
selector: '.wd-side-tab-root .wd-tabs__item .wd-icon',
|
|
433
|
+
description: '可以为选项文本标签设置样式',
|
|
434
|
+
code: `:scope.wd-side-tab-root .wd-tabs__item .wd-icon {
|
|
435
|
+
/* 在这里编写CSS 样式 */
|
|
436
|
+
font-size: 20px;
|
|
437
|
+
color: red;
|
|
438
|
+
} `,
|
|
410
439
|
},
|
|
411
440
|
{
|
|
412
441
|
name: '右侧内容区域',
|
|
@@ -146,17 +146,30 @@ declare const config: {
|
|
|
146
146
|
readonly selector: ".wd-mp-tabbar";
|
|
147
147
|
readonly description: "可以为 小程序 端的编写样式";
|
|
148
148
|
}, {
|
|
149
|
-
readonly name: "
|
|
149
|
+
readonly name: "文本标签容器";
|
|
150
150
|
readonly selector: ".wd-tabbar__item";
|
|
151
151
|
readonly description: "可以为选项区设置样式";
|
|
152
|
+
readonly code: ":scope .wd-tabbar__item {\n /* 在这里编写CSS 样式*/\n color: red;\n font-size: 20px;\n } ";
|
|
152
153
|
}, {
|
|
153
|
-
readonly name: "
|
|
154
|
+
readonly name: "选中态的标签容器";
|
|
154
155
|
readonly selector: ".wd-tabbar__item.is-selected";
|
|
155
156
|
readonly description: "可以为选中选项区域设置样式";
|
|
157
|
+
readonly code: ":scope .wd-tabbar__item.is-selected {\n /* 在这里编写CSS 样式*/\n color: yellow;\n font-size: 20px;\n } ";
|
|
156
158
|
}, {
|
|
157
159
|
readonly name: "选项文本标签";
|
|
158
160
|
readonly selector: ".wd-tabbar__item-text";
|
|
159
161
|
readonly description: "可以为选项文本标签设置样式";
|
|
162
|
+
readonly code: ":scope .wd-tabbar__item-text {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n } ";
|
|
163
|
+
}, {
|
|
164
|
+
readonly name: "选项图标(图片)";
|
|
165
|
+
readonly selector: ".wd-tabbar__item .wd-image";
|
|
166
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
167
|
+
readonly code: ":scope .wd-tabbar__item .wd-image {\n /* 在这里编写CSS 样式 */\n width: 20px;\n height: 20px;\n } ";
|
|
168
|
+
}, {
|
|
169
|
+
readonly name: "选项图标(图标)";
|
|
170
|
+
readonly selector: ".wd-tabbar__item .wd-icon";
|
|
171
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
172
|
+
readonly code: ":scope .wd-tabbar__item .wd-icon {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n color: red;\n } ";
|
|
160
173
|
}];
|
|
161
174
|
readonly methods: readonly [{
|
|
162
175
|
readonly name: "setSelectTab";
|
|
@@ -136,19 +136,53 @@ const config = defineConfig({
|
|
|
136
136
|
description: '可以为 小程序 端的编写样式',
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
|
-
name: '
|
|
139
|
+
name: '文本标签容器',
|
|
140
140
|
selector: '.wd-tabbar__item',
|
|
141
141
|
description: '可以为选项区设置样式',
|
|
142
|
+
code: `:scope .wd-tabbar__item {
|
|
143
|
+
/* 在这里编写CSS 样式*/
|
|
144
|
+
color: red;
|
|
145
|
+
font-size: 20px;
|
|
146
|
+
} `,
|
|
142
147
|
},
|
|
143
148
|
{
|
|
144
|
-
name: '
|
|
149
|
+
name: '选中态的标签容器',
|
|
145
150
|
selector: '.wd-tabbar__item.is-selected',
|
|
146
151
|
description: '可以为选中选项区域设置样式',
|
|
152
|
+
code: `:scope .wd-tabbar__item.is-selected {
|
|
153
|
+
/* 在这里编写CSS 样式*/
|
|
154
|
+
color: yellow;
|
|
155
|
+
font-size: 20px;
|
|
156
|
+
} `,
|
|
147
157
|
},
|
|
148
158
|
{
|
|
149
159
|
name: '选项文本标签',
|
|
150
160
|
selector: '.wd-tabbar__item-text',
|
|
151
161
|
description: '可以为选项文本标签设置样式',
|
|
162
|
+
code: `:scope .wd-tabbar__item-text {
|
|
163
|
+
/* 在这里编写CSS 样式 */
|
|
164
|
+
font-size: 20px;
|
|
165
|
+
} `,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: '选项图标(图片)',
|
|
169
|
+
selector: '.wd-tabbar__item .wd-image',
|
|
170
|
+
description: '可以为选项文本标签设置样式',
|
|
171
|
+
code: `:scope .wd-tabbar__item .wd-image {
|
|
172
|
+
/* 在这里编写CSS 样式 */
|
|
173
|
+
width: 20px;
|
|
174
|
+
height: 20px;
|
|
175
|
+
} `,
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: '选项图标(图标)',
|
|
179
|
+
selector: '.wd-tabbar__item .wd-icon',
|
|
180
|
+
description: '可以为选项文本标签设置样式',
|
|
181
|
+
code: `:scope .wd-tabbar__item .wd-icon {
|
|
182
|
+
/* 在这里编写CSS 样式 */
|
|
183
|
+
font-size: 20px;
|
|
184
|
+
color: red;
|
|
185
|
+
} `,
|
|
152
186
|
},
|
|
153
187
|
],
|
|
154
188
|
methods: [
|
|
@@ -79,10 +79,22 @@ declare const config: {
|
|
|
79
79
|
readonly name: "选中态的标签容器";
|
|
80
80
|
readonly selector: ".wd-top-tab-root .wd-tabs__item.is-selected";
|
|
81
81
|
readonly description: "可以为顶部选项卡选中的标签容器编写样式";
|
|
82
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item.is-selected {\n /* 在这里编写CSS 样式*/\n color: yellow;\n font-size: 20px;\n } ";
|
|
82
83
|
}, {
|
|
83
84
|
readonly name: "文本标签";
|
|
84
85
|
readonly selector: ".wd-top-tab-root .wd-tabs__item-text";
|
|
85
86
|
readonly description: "可以为顶部选项卡文本标签编写样式";
|
|
87
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item-text {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n } ";
|
|
88
|
+
}, {
|
|
89
|
+
readonly name: "选项图标(图片)";
|
|
90
|
+
readonly selector: ".wd-top-tab-root .wd-tabs__item .wd-image";
|
|
91
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
92
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item .wd-image {\n /* 在这里编写CSS 样式 */\n width: 20px;\n height: 20px;\n } ";
|
|
93
|
+
}, {
|
|
94
|
+
readonly name: "选项图标(图标)";
|
|
95
|
+
readonly selector: ".wd-top-tab-root .wd-tabs__item .wd-icon";
|
|
96
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
97
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item .wd-icon {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n color: red;\n } ";
|
|
86
98
|
}, {
|
|
87
99
|
readonly name: "内容区域";
|
|
88
100
|
readonly selector: ".wd-top-tab-root .wd-tabs__body";
|
|
@@ -387,11 +387,40 @@ const config = defineConfig({
|
|
|
387
387
|
name: '选中态的标签容器',
|
|
388
388
|
selector: '.wd-top-tab-root .wd-tabs__item.is-selected',
|
|
389
389
|
description: '可以为顶部选项卡选中的标签容器编写样式',
|
|
390
|
+
code: `:scope.wd-top-tab-root .wd-tabs__item.is-selected {
|
|
391
|
+
/* 在这里编写CSS 样式*/
|
|
392
|
+
color: yellow;
|
|
393
|
+
font-size: 20px;
|
|
394
|
+
} `,
|
|
390
395
|
},
|
|
391
396
|
{
|
|
392
397
|
name: '文本标签',
|
|
393
398
|
selector: '.wd-top-tab-root .wd-tabs__item-text',
|
|
394
399
|
description: '可以为顶部选项卡文本标签编写样式',
|
|
400
|
+
code: `:scope.wd-top-tab-root .wd-tabs__item-text {
|
|
401
|
+
/* 在这里编写CSS 样式 */
|
|
402
|
+
font-size: 20px;
|
|
403
|
+
} `,
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
name: '选项图标(图片)',
|
|
407
|
+
selector: '.wd-top-tab-root .wd-tabs__item .wd-image',
|
|
408
|
+
description: '可以为选项文本标签设置样式',
|
|
409
|
+
code: `:scope.wd-top-tab-root .wd-tabs__item .wd-image {
|
|
410
|
+
/* 在这里编写CSS 样式 */
|
|
411
|
+
width: 20px;
|
|
412
|
+
height: 20px;
|
|
413
|
+
} `,
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
name: '选项图标(图标)',
|
|
417
|
+
selector: '.wd-top-tab-root .wd-tabs__item .wd-icon',
|
|
418
|
+
description: '可以为选项文本标签设置样式',
|
|
419
|
+
code: `:scope.wd-top-tab-root .wd-tabs__item .wd-icon {
|
|
420
|
+
/* 在这里编写CSS 样式 */
|
|
421
|
+
font-size: 20px;
|
|
422
|
+
color: red;
|
|
423
|
+
} `,
|
|
395
424
|
},
|
|
396
425
|
{
|
|
397
426
|
name: '内容区域',
|
|
@@ -8,7 +8,7 @@ const data = Type.Object({
|
|
|
8
8
|
required: true,
|
|
9
9
|
'x-index': 10,
|
|
10
10
|
'x-category': '基础属性',
|
|
11
|
-
'x-helper-text':
|
|
11
|
+
'x-helper-text': `小程序端以真机调试效果为准。除关联公众号文章链接外,[其他链接需配置业务域名才可生效](https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/super/WebView#%E4%B8%9A%E5%8A%A1%E5%9F%9F%E5%90%8D%E9%85%8D%E7%BD%AE)`,
|
|
12
12
|
}),
|
|
13
13
|
allow: Type.String({
|
|
14
14
|
title: 'allow',
|
package/dist/configs/index.d.ts
CHANGED
|
@@ -12568,12 +12568,24 @@ export declare const components: {
|
|
|
12568
12568
|
readonly description: "可以为侧边选项卡文本标签容器编写样式";
|
|
12569
12569
|
}, {
|
|
12570
12570
|
readonly name: "选中态的标签容器";
|
|
12571
|
-
readonly selector: ".wd-side-tab-root
|
|
12571
|
+
readonly selector: ".wd-side-tab-root.wd-tabs--vertical .wd-tabs__item.is-selected";
|
|
12572
12572
|
readonly description: "可以为侧边选项卡选中的标签容器编写样式";
|
|
12573
|
+
readonly code: ":scope.wd-side-tab-root.wd-tabs--vertical .wd-tabs__item.is-selected {\n /* 在这里编写CSS 样式*/\n color: yellow;\n font-size: 20px;\n } ";
|
|
12573
12574
|
}, {
|
|
12574
12575
|
readonly name: "文本标签";
|
|
12575
12576
|
readonly selector: ".wd-side-tab-root .wd-tabs__item-text";
|
|
12576
12577
|
readonly description: "可以为侧边选项卡文本标签编写样式";
|
|
12578
|
+
readonly code: ":scope.wd-side-tab-root .wd-tabs__item-text {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n } ";
|
|
12579
|
+
}, {
|
|
12580
|
+
readonly name: "选项图标(图片)";
|
|
12581
|
+
readonly selector: ".wd-side-tab-root .wd-tabs__item .wd-image";
|
|
12582
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
12583
|
+
readonly code: ":scope.wd-side-tab-root .wd-tabs__item .wd-image {\n /* 在这里编写CSS 样式 */\n width: 20px;\n height: 20px;\n } ";
|
|
12584
|
+
}, {
|
|
12585
|
+
readonly name: "选项图标(图标)";
|
|
12586
|
+
readonly selector: ".wd-side-tab-root .wd-tabs__item .wd-icon";
|
|
12587
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
12588
|
+
readonly code: ":scope.wd-side-tab-root .wd-tabs__item .wd-icon {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n color: red;\n } ";
|
|
12577
12589
|
}, {
|
|
12578
12590
|
readonly name: "右侧内容区域";
|
|
12579
12591
|
readonly selector: ".wd-side-tab-root .wd-tabs__body";
|
|
@@ -12694,10 +12706,22 @@ export declare const components: {
|
|
|
12694
12706
|
readonly name: "选中态的标签容器";
|
|
12695
12707
|
readonly selector: ".wd-top-tab-root .wd-tabs__item.is-selected";
|
|
12696
12708
|
readonly description: "可以为顶部选项卡选中的标签容器编写样式";
|
|
12709
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item.is-selected {\n /* 在这里编写CSS 样式*/\n color: yellow;\n font-size: 20px;\n } ";
|
|
12697
12710
|
}, {
|
|
12698
12711
|
readonly name: "文本标签";
|
|
12699
12712
|
readonly selector: ".wd-top-tab-root .wd-tabs__item-text";
|
|
12700
12713
|
readonly description: "可以为顶部选项卡文本标签编写样式";
|
|
12714
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item-text {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n } ";
|
|
12715
|
+
}, {
|
|
12716
|
+
readonly name: "选项图标(图片)";
|
|
12717
|
+
readonly selector: ".wd-top-tab-root .wd-tabs__item .wd-image";
|
|
12718
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
12719
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item .wd-image {\n /* 在这里编写CSS 样式 */\n width: 20px;\n height: 20px;\n } ";
|
|
12720
|
+
}, {
|
|
12721
|
+
readonly name: "选项图标(图标)";
|
|
12722
|
+
readonly selector: ".wd-top-tab-root .wd-tabs__item .wd-icon";
|
|
12723
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
12724
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item .wd-icon {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n color: red;\n } ";
|
|
12701
12725
|
}, {
|
|
12702
12726
|
readonly name: "内容区域";
|
|
12703
12727
|
readonly selector: ".wd-top-tab-root .wd-tabs__body";
|
|
@@ -18734,7 +18758,27 @@ export declare const components: {
|
|
|
18734
18758
|
}>>>;
|
|
18735
18759
|
initVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
18736
18760
|
}>;
|
|
18737
|
-
readonly classes: readonly [
|
|
18761
|
+
readonly classes: readonly [{
|
|
18762
|
+
readonly name: "根元素";
|
|
18763
|
+
readonly selector: ".weda-calendar";
|
|
18764
|
+
readonly description: "日历组件根元素";
|
|
18765
|
+
readonly code: ":scope.weda-calendar {\n /* 在这里编写CSS 样式*/\n width: 400px;\n min-width: 400px;\n background-color: antiquewhite;\n } ";
|
|
18766
|
+
}, {
|
|
18767
|
+
readonly name: "日历容器";
|
|
18768
|
+
readonly selector: ".weda-calendar__table";
|
|
18769
|
+
readonly description: "日历组件根元素";
|
|
18770
|
+
readonly code: ":scope .weda-calendar__table {\n /* 在这里编写CSS 样式*/\n } ";
|
|
18771
|
+
}, {
|
|
18772
|
+
readonly name: "日历行";
|
|
18773
|
+
readonly selector: ".weda-calendar__table-body-row";
|
|
18774
|
+
readonly description: "日历组件根元素";
|
|
18775
|
+
readonly code: ":scope .weda-calendar__table .weda-calendar__table-body-row{\n /* 在这里编写CSS 样式*/\n\n } ";
|
|
18776
|
+
}, {
|
|
18777
|
+
readonly name: "日历列";
|
|
18778
|
+
readonly selector: ".weda-calendar__table-body-cell";
|
|
18779
|
+
readonly description: "日历组件根元素";
|
|
18780
|
+
readonly code: ":scope .weda-calendar__table .weda-calendar__table-body-cell{\n /* 在这里编写CSS 样式*/\n width: 30px;\n height: 30px;\n } ";
|
|
18781
|
+
}];
|
|
18738
18782
|
readonly events: readonly [{
|
|
18739
18783
|
readonly name: "change";
|
|
18740
18784
|
readonly title: "选中日期";
|
|
@@ -18884,17 +18928,30 @@ export declare const components: {
|
|
|
18884
18928
|
readonly selector: ".wd-mp-tabbar";
|
|
18885
18929
|
readonly description: "可以为 小程序 端的编写样式";
|
|
18886
18930
|
}, {
|
|
18887
|
-
readonly name: "
|
|
18931
|
+
readonly name: "文本标签容器";
|
|
18888
18932
|
readonly selector: ".wd-tabbar__item";
|
|
18889
18933
|
readonly description: "可以为选项区设置样式";
|
|
18934
|
+
readonly code: ":scope .wd-tabbar__item {\n /* 在这里编写CSS 样式*/\n color: red;\n font-size: 20px;\n } ";
|
|
18890
18935
|
}, {
|
|
18891
|
-
readonly name: "
|
|
18936
|
+
readonly name: "选中态的标签容器";
|
|
18892
18937
|
readonly selector: ".wd-tabbar__item.is-selected";
|
|
18893
18938
|
readonly description: "可以为选中选项区域设置样式";
|
|
18939
|
+
readonly code: ":scope .wd-tabbar__item.is-selected {\n /* 在这里编写CSS 样式*/\n color: yellow;\n font-size: 20px;\n } ";
|
|
18894
18940
|
}, {
|
|
18895
18941
|
readonly name: "选项文本标签";
|
|
18896
18942
|
readonly selector: ".wd-tabbar__item-text";
|
|
18897
18943
|
readonly description: "可以为选项文本标签设置样式";
|
|
18944
|
+
readonly code: ":scope .wd-tabbar__item-text {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n } ";
|
|
18945
|
+
}, {
|
|
18946
|
+
readonly name: "选项图标(图片)";
|
|
18947
|
+
readonly selector: ".wd-tabbar__item .wd-image";
|
|
18948
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
18949
|
+
readonly code: ":scope .wd-tabbar__item .wd-image {\n /* 在这里编写CSS 样式 */\n width: 20px;\n height: 20px;\n } ";
|
|
18950
|
+
}, {
|
|
18951
|
+
readonly name: "选项图标(图标)";
|
|
18952
|
+
readonly selector: ".wd-tabbar__item .wd-icon";
|
|
18953
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
18954
|
+
readonly code: ":scope .wd-tabbar__item .wd-icon {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n color: red;\n } ";
|
|
18898
18955
|
}];
|
|
18899
18956
|
readonly methods: readonly [{
|
|
18900
18957
|
readonly name: "setSelectTab";
|
|
@@ -32020,12 +32077,24 @@ declare const _default: {
|
|
|
32020
32077
|
readonly description: "可以为侧边选项卡文本标签容器编写样式";
|
|
32021
32078
|
}, {
|
|
32022
32079
|
readonly name: "选中态的标签容器";
|
|
32023
|
-
readonly selector: ".wd-side-tab-root
|
|
32080
|
+
readonly selector: ".wd-side-tab-root.wd-tabs--vertical .wd-tabs__item.is-selected";
|
|
32024
32081
|
readonly description: "可以为侧边选项卡选中的标签容器编写样式";
|
|
32082
|
+
readonly code: ":scope.wd-side-tab-root.wd-tabs--vertical .wd-tabs__item.is-selected {\n /* 在这里编写CSS 样式*/\n color: yellow;\n font-size: 20px;\n } ";
|
|
32025
32083
|
}, {
|
|
32026
32084
|
readonly name: "文本标签";
|
|
32027
32085
|
readonly selector: ".wd-side-tab-root .wd-tabs__item-text";
|
|
32028
32086
|
readonly description: "可以为侧边选项卡文本标签编写样式";
|
|
32087
|
+
readonly code: ":scope.wd-side-tab-root .wd-tabs__item-text {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n } ";
|
|
32088
|
+
}, {
|
|
32089
|
+
readonly name: "选项图标(图片)";
|
|
32090
|
+
readonly selector: ".wd-side-tab-root .wd-tabs__item .wd-image";
|
|
32091
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
32092
|
+
readonly code: ":scope.wd-side-tab-root .wd-tabs__item .wd-image {\n /* 在这里编写CSS 样式 */\n width: 20px;\n height: 20px;\n } ";
|
|
32093
|
+
}, {
|
|
32094
|
+
readonly name: "选项图标(图标)";
|
|
32095
|
+
readonly selector: ".wd-side-tab-root .wd-tabs__item .wd-icon";
|
|
32096
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
32097
|
+
readonly code: ":scope.wd-side-tab-root .wd-tabs__item .wd-icon {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n color: red;\n } ";
|
|
32029
32098
|
}, {
|
|
32030
32099
|
readonly name: "右侧内容区域";
|
|
32031
32100
|
readonly selector: ".wd-side-tab-root .wd-tabs__body";
|
|
@@ -32146,10 +32215,22 @@ declare const _default: {
|
|
|
32146
32215
|
readonly name: "选中态的标签容器";
|
|
32147
32216
|
readonly selector: ".wd-top-tab-root .wd-tabs__item.is-selected";
|
|
32148
32217
|
readonly description: "可以为顶部选项卡选中的标签容器编写样式";
|
|
32218
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item.is-selected {\n /* 在这里编写CSS 样式*/\n color: yellow;\n font-size: 20px;\n } ";
|
|
32149
32219
|
}, {
|
|
32150
32220
|
readonly name: "文本标签";
|
|
32151
32221
|
readonly selector: ".wd-top-tab-root .wd-tabs__item-text";
|
|
32152
32222
|
readonly description: "可以为顶部选项卡文本标签编写样式";
|
|
32223
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item-text {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n } ";
|
|
32224
|
+
}, {
|
|
32225
|
+
readonly name: "选项图标(图片)";
|
|
32226
|
+
readonly selector: ".wd-top-tab-root .wd-tabs__item .wd-image";
|
|
32227
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
32228
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item .wd-image {\n /* 在这里编写CSS 样式 */\n width: 20px;\n height: 20px;\n } ";
|
|
32229
|
+
}, {
|
|
32230
|
+
readonly name: "选项图标(图标)";
|
|
32231
|
+
readonly selector: ".wd-top-tab-root .wd-tabs__item .wd-icon";
|
|
32232
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
32233
|
+
readonly code: ":scope.wd-top-tab-root .wd-tabs__item .wd-icon {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n color: red;\n } ";
|
|
32153
32234
|
}, {
|
|
32154
32235
|
readonly name: "内容区域";
|
|
32155
32236
|
readonly selector: ".wd-top-tab-root .wd-tabs__body";
|
|
@@ -38186,7 +38267,27 @@ declare const _default: {
|
|
|
38186
38267
|
}>>>;
|
|
38187
38268
|
initVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
38188
38269
|
}>;
|
|
38189
|
-
readonly classes: readonly [
|
|
38270
|
+
readonly classes: readonly [{
|
|
38271
|
+
readonly name: "根元素";
|
|
38272
|
+
readonly selector: ".weda-calendar";
|
|
38273
|
+
readonly description: "日历组件根元素";
|
|
38274
|
+
readonly code: ":scope.weda-calendar {\n /* 在这里编写CSS 样式*/\n width: 400px;\n min-width: 400px;\n background-color: antiquewhite;\n } ";
|
|
38275
|
+
}, {
|
|
38276
|
+
readonly name: "日历容器";
|
|
38277
|
+
readonly selector: ".weda-calendar__table";
|
|
38278
|
+
readonly description: "日历组件根元素";
|
|
38279
|
+
readonly code: ":scope .weda-calendar__table {\n /* 在这里编写CSS 样式*/\n } ";
|
|
38280
|
+
}, {
|
|
38281
|
+
readonly name: "日历行";
|
|
38282
|
+
readonly selector: ".weda-calendar__table-body-row";
|
|
38283
|
+
readonly description: "日历组件根元素";
|
|
38284
|
+
readonly code: ":scope .weda-calendar__table .weda-calendar__table-body-row{\n /* 在这里编写CSS 样式*/\n\n } ";
|
|
38285
|
+
}, {
|
|
38286
|
+
readonly name: "日历列";
|
|
38287
|
+
readonly selector: ".weda-calendar__table-body-cell";
|
|
38288
|
+
readonly description: "日历组件根元素";
|
|
38289
|
+
readonly code: ":scope .weda-calendar__table .weda-calendar__table-body-cell{\n /* 在这里编写CSS 样式*/\n width: 30px;\n height: 30px;\n } ";
|
|
38290
|
+
}];
|
|
38190
38291
|
readonly events: readonly [{
|
|
38191
38292
|
readonly name: "change";
|
|
38192
38293
|
readonly title: "选中日期";
|
|
@@ -38336,17 +38437,30 @@ declare const _default: {
|
|
|
38336
38437
|
readonly selector: ".wd-mp-tabbar";
|
|
38337
38438
|
readonly description: "可以为 小程序 端的编写样式";
|
|
38338
38439
|
}, {
|
|
38339
|
-
readonly name: "
|
|
38440
|
+
readonly name: "文本标签容器";
|
|
38340
38441
|
readonly selector: ".wd-tabbar__item";
|
|
38341
38442
|
readonly description: "可以为选项区设置样式";
|
|
38443
|
+
readonly code: ":scope .wd-tabbar__item {\n /* 在这里编写CSS 样式*/\n color: red;\n font-size: 20px;\n } ";
|
|
38342
38444
|
}, {
|
|
38343
|
-
readonly name: "
|
|
38445
|
+
readonly name: "选中态的标签容器";
|
|
38344
38446
|
readonly selector: ".wd-tabbar__item.is-selected";
|
|
38345
38447
|
readonly description: "可以为选中选项区域设置样式";
|
|
38448
|
+
readonly code: ":scope .wd-tabbar__item.is-selected {\n /* 在这里编写CSS 样式*/\n color: yellow;\n font-size: 20px;\n } ";
|
|
38346
38449
|
}, {
|
|
38347
38450
|
readonly name: "选项文本标签";
|
|
38348
38451
|
readonly selector: ".wd-tabbar__item-text";
|
|
38349
38452
|
readonly description: "可以为选项文本标签设置样式";
|
|
38453
|
+
readonly code: ":scope .wd-tabbar__item-text {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n } ";
|
|
38454
|
+
}, {
|
|
38455
|
+
readonly name: "选项图标(图片)";
|
|
38456
|
+
readonly selector: ".wd-tabbar__item .wd-image";
|
|
38457
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
38458
|
+
readonly code: ":scope .wd-tabbar__item .wd-image {\n /* 在这里编写CSS 样式 */\n width: 20px;\n height: 20px;\n } ";
|
|
38459
|
+
}, {
|
|
38460
|
+
readonly name: "选项图标(图标)";
|
|
38461
|
+
readonly selector: ".wd-tabbar__item .wd-icon";
|
|
38462
|
+
readonly description: "可以为选项文本标签设置样式";
|
|
38463
|
+
readonly code: ":scope .wd-tabbar__item .wd-icon {\n /* 在这里编写CSS 样式 */\n font-size: 20px;\n color: red;\n } ";
|
|
38350
38464
|
}];
|
|
38351
38465
|
readonly methods: readonly [{
|
|
38352
38466
|
readonly name: "setSelectTab";
|