@cloudbase/weda-ui 3.10.3 → 3.11.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/button.js +1 -1
- package/dist/configs/components/chart/bar.d.ts +146 -0
- package/dist/configs/components/chart/bar.js +1147 -0
- package/dist/configs/components/dataView.js +0 -16
- package/dist/configs/components/image.js +1 -1
- package/dist/configs/components/listView.js +0 -16
- package/dist/configs/components/lottery.js +1 -1
- package/dist/configs/components/navigationBar.json +1 -1
- package/dist/configs/components/wd-audio.js +1 -1
- package/dist/configs/components/wd-button.js +2 -2
- package/dist/configs/components/wd-icon.js +1 -1
- package/dist/configs/components/wd-image.js +1 -1
- package/dist/configs/components/wd-input-email.d.ts +2 -2
- package/dist/configs/components/wd-input-phone.d.ts +2 -2
- package/dist/configs/components/wd-input-url.d.ts +2 -2
- package/dist/configs/components/wd-link.js +1 -1
- package/dist/configs/components/wd-progress.d.ts +10 -0
- package/dist/configs/components/wd-progress.js +39 -2
- package/dist/configs/components/wd-rating.js +2 -2
- package/dist/configs/components/wd-select-multiple.d.ts +23 -0
- package/dist/configs/components/wd-select-multiple.js +26 -1
- package/dist/configs/components/wd-select.d.ts +23 -0
- package/dist/configs/components/wd-select.js +25 -0
- package/dist/configs/components/wd-side-tab.js +2 -2
- package/dist/configs/components/wd-table.d.ts +1 -1
- package/dist/configs/components/wd-table.js +1 -0
- package/dist/configs/components/wd-top-tab.d.ts +4 -0
- package/dist/configs/components/wd-top-tab.js +7 -2
- package/dist/configs/components/wd-upload-image.js +1 -1
- package/dist/configs/components/wedaVideo.js +3 -3
- package/dist/configs/components/wxOpenApi/share.js +1 -1
- package/dist/configs/index.d.ts +765 -2065
- package/dist/configs/index.js +1 -1
- package/dist/configs/type-utils/type-form.d.ts +6 -0
- package/dist/configs/type-utils/type-form.js +64 -22
- 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/enum/index.js +5 -1
- package/dist/style/index.css +16 -4
- package/dist/style/index.scss +1 -1
- package/dist/style/weda-ui.min.css +2 -2
- package/dist/web/components/form/location/common/propsConfig.d.ts +1 -1
- package/dist/web/components/form/select/index.css +2 -2
- package/dist/web/components/form/select/request.d.ts +3 -3
- package/dist/web/components/form/select/request.js +1 -0
- package/dist/web/components/form/select/status/index.d.ts +3 -1
- package/dist/web/components/form/select/status/index.js +3 -1
- package/dist/web/components/form/selectMultiple/dropdown-select/index.css +5 -5
- package/dist/web/components/form/uploader/uploader.h5.js +13 -4
- package/dist/web/components/form/uploader/util.d.ts +1 -0
- package/dist/web/components/form/uploader/util.js +28 -0
- package/dist/web/components/form/uploaderFile/uploadFile.h5.js +14 -6
- package/dist/web/components/form-date/index.d.ts +1 -1
- package/dist/web/components/form-email/index.d.ts +1 -1
- package/dist/web/components/form-input/index.d.ts +1 -1
- package/dist/web/components/form-input-hooks/index.js +10 -1
- package/dist/web/components/form-input-hooks/validator.d.ts +1 -0
- package/dist/web/components/form-input-hooks/validator.js +6 -2
- package/dist/web/components/form-phone/index.d.ts +1 -1
- package/dist/web/components/form-time/index.d.ts +1 -1
- package/dist/web/components/form-url/index.d.ts +1 -1
- package/dist/web/components/grid/col.d.ts +2 -2
- package/dist/web/components/wd-date/elements/Modal.h5.d.ts +2 -0
- package/dist/web/components/wd-date/elements/Modal.h5.js +3 -3
- package/dist/web/components/wd-form/index.js +1 -1
- package/dist/web/components/wd-form-item/wd-form-item-read-only.d.ts +1 -0
- package/dist/web/components/wd-input/wd-input.d.ts +1 -1
- package/dist/web/components/wd-input-email/wd-input-email.d.ts +1 -1
- package/dist/web/components/wd-input-phone/wd-input-phone.d.ts +1 -1
- package/dist/web/components/wd-input-url/wd-input-url.d.ts +1 -1
- package/dist/web/components/wd-progress/wd-progress.js +5 -3
- package/dist/web/components/wd-select/relationSelect/relationSelect.d.ts +4 -0
- package/dist/web/components/wd-select/relationSelect/relationSelect.js +202 -0
- package/dist/web/components/wd-select/{relationalSetting.js → relationSelect/relationalSetting.js} +4 -4
- package/dist/web/components/wd-select/select/index.d.ts +2 -0
- package/dist/web/components/wd-select/select/index.js +8 -0
- package/dist/web/components/wd-select/select/selectUI.d.ts +3 -0
- package/dist/web/components/wd-select/select/selectUI.js +190 -0
- package/dist/web/components/wd-select/style.d.ts +2 -0
- package/dist/web/components/wd-select/style.js +2 -0
- package/dist/web/components/wd-select/wd-select.css +83 -0
- package/dist/web/components/wd-select/wd-select.d.ts +0 -1
- package/dist/web/components/wd-select/wd-select.js +18 -8
- package/dist/web/components/wd-select-multiple/style.d.ts +2 -0
- package/dist/web/components/wd-select-multiple/style.js +2 -0
- package/dist/web/components/wd-select-multiple/wd-select-multiple.css +30 -4
- package/dist/web/components/wd-select-multiple/wd-select-multiple.js +18 -7
- package/dist/web/components/wd-table/components/FieldRender/index.d.ts +7 -4
- package/dist/web/components/wd-table/components/FieldRender/index.js +42 -15
- package/dist/web/components/wd-table/components/ModalTable/index.js +4 -3
- package/dist/web/components/wd-table/hooks/useChooseList.d.ts +1 -0
- package/dist/web/components/wd-table/hooks/useChooseList.js +55 -26
- package/dist/web/components/wd-table/utils/index.js +1 -1
- package/dist/web/components/wd-table/wd-table.js +2 -2
- package/dist/web/utils/isObjectEqual.d.ts +1 -1
- package/dist/web/utils/moment.d.ts +1 -0
- package/dist/web/utils/platform.js +3 -3
- package/dist/web/utils/tool.js +2 -2
- package/package.json +18 -13
- package/dist/configs/components/chart/bar.json +0 -1144
- /package/dist/web/components/wd-select/{relationalSetting.d.ts → relationSelect/relationalSetting.d.ts} +0 -0
|
@@ -157,22 +157,6 @@ const $attached_template = `
|
|
|
157
157
|
[attributes]
|
|
158
158
|
isSupportApis = false
|
|
159
159
|
supportManyRelated=true
|
|
160
|
-
':queryCondition'='{
|
|
161
|
-
"where": {
|
|
162
|
-
"$and": [
|
|
163
|
-
{
|
|
164
|
-
"$and": [
|
|
165
|
-
{
|
|
166
|
-
"type": {
|
|
167
|
-
"$eq": 0
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
]
|
|
171
|
-
}
|
|
172
|
-
]
|
|
173
|
-
},
|
|
174
|
-
"relateWhere": {}
|
|
175
|
-
}'
|
|
176
160
|
`;
|
|
177
161
|
const attributes_template = `
|
|
178
162
|
{{#with $self as |$self|}}
|
|
@@ -7,7 +7,7 @@ const data = Type.Object({
|
|
|
7
7
|
'x-rules': [
|
|
8
8
|
{
|
|
9
9
|
message: '请输入合法的图片地址',
|
|
10
|
-
pattern: '^(((https?)://)|/resources/)[^\\s]+$',
|
|
10
|
+
pattern: '^(((cloud|https?)://)|/resources/)[^\\s]+$',
|
|
11
11
|
},
|
|
12
12
|
],
|
|
13
13
|
default: 'https://main.qcloudimg.com/raw/c85c9a875e9754545ee19f20438b2caa.svg',
|
|
@@ -633,22 +633,6 @@ isSupportApis = false
|
|
|
633
633
|
isSetStatus=true
|
|
634
634
|
supportManyRelated=true
|
|
635
635
|
isSupportMultipleSort = true
|
|
636
|
-
':queryCondition'='{
|
|
637
|
-
"where": {
|
|
638
|
-
"$and": [
|
|
639
|
-
{
|
|
640
|
-
"$and": [
|
|
641
|
-
{
|
|
642
|
-
"type": {
|
|
643
|
-
"$eq": 0
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
]
|
|
647
|
-
}
|
|
648
|
-
]
|
|
649
|
-
},
|
|
650
|
-
"relateWhere": {}
|
|
651
|
-
}'
|
|
652
636
|
`;
|
|
653
637
|
const attributes_template = `
|
|
654
638
|
{{#with $self as |$self|}}
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"componentOrder": 160,
|
|
65
65
|
"figureIcon": "../figureIcons/NavigationBar.svg",
|
|
66
66
|
"icon": "../icons/NavigationBar.svg",
|
|
67
|
-
"visible": [
|
|
67
|
+
"visible": [],
|
|
68
68
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/navmenu/NavigationBar"
|
|
69
69
|
}
|
|
70
70
|
}
|
|
@@ -155,7 +155,7 @@ const data = Type.Object({
|
|
|
155
155
|
'x-rules': [
|
|
156
156
|
{
|
|
157
157
|
message: '请输入合法的图片地址',
|
|
158
|
-
pattern: '^(((https?)://)|/resources/)[^\\s]+$',
|
|
158
|
+
pattern: '^(((cloud|https?)://)|/resources/)[^\\s]+$',
|
|
159
159
|
},
|
|
160
160
|
],
|
|
161
161
|
title: '自定义图标',
|
|
@@ -277,7 +277,7 @@ const data = Type.Object({
|
|
|
277
277
|
'x-rules': [
|
|
278
278
|
{
|
|
279
279
|
message: '请输入合法的图片地址',
|
|
280
|
-
pattern: '^(((https?)://)|/resources/)[^\\s]+$',
|
|
280
|
+
pattern: '^(((cloud|https?)://)|/resources/)[^\\s]+$',
|
|
281
281
|
},
|
|
282
282
|
],
|
|
283
283
|
'x-platforms': ['MP'],
|
|
@@ -27,13 +27,13 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
27
27
|
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
28
28
|
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
29
29
|
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
30
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
30
31
|
inputValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31
32
|
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32
33
|
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
33
34
|
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
34
35
|
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
35
36
|
cursorSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
36
|
-
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
37
37
|
isUnionValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
38
38
|
counterVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
39
39
|
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -69,13 +69,13 @@ declare const config: {
|
|
|
69
69
|
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
70
70
|
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
71
71
|
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
72
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
72
73
|
inputValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
73
74
|
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
74
75
|
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
75
76
|
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
76
77
|
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
77
78
|
cursorSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
78
|
-
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
79
79
|
isUnionValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
80
80
|
counterVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
81
81
|
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -26,13 +26,13 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
26
26
|
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
27
27
|
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
28
28
|
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
29
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
29
30
|
inputValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
30
31
|
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
31
32
|
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
32
33
|
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
33
34
|
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
34
35
|
cursorSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
35
|
-
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
36
36
|
isUnionValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
37
37
|
counterVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
38
38
|
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -67,13 +67,13 @@ declare const config: {
|
|
|
67
67
|
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
68
68
|
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
69
69
|
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
70
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
70
71
|
inputValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
71
72
|
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
72
73
|
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
73
74
|
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
74
75
|
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
75
76
|
cursorSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
76
|
-
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
77
77
|
isUnionValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
78
78
|
counterVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
79
79
|
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -27,13 +27,13 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
27
27
|
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
28
28
|
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
29
29
|
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
30
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
30
31
|
inputValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31
32
|
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
32
33
|
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
33
34
|
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
34
35
|
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
35
36
|
cursorSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
36
|
-
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
37
37
|
isUnionValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
38
38
|
counterVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
39
39
|
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -69,13 +69,13 @@ declare const config: {
|
|
|
69
69
|
suffixIcon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
70
70
|
suffixSrc: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
71
71
|
labelWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
72
|
+
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
72
73
|
inputValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
73
74
|
labelVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
74
75
|
labelAlign: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
75
76
|
labelWrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
76
77
|
labelTips: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
77
78
|
cursorSpacing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
78
|
-
clearable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
79
79
|
isUnionValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
80
80
|
counterVisible: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
81
81
|
borderedH5: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -16,7 +16,9 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
16
16
|
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
17
17
|
labelWidth: import("@sinclair/typebox").TString;
|
|
18
18
|
labelTips: import("@sinclair/typebox").TString;
|
|
19
|
+
percentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
19
20
|
name: import("@sinclair/typebox").TString;
|
|
21
|
+
showPercent: import("@sinclair/typebox").TBoolean;
|
|
20
22
|
min: import("@sinclair/typebox").TNumber;
|
|
21
23
|
max: import("@sinclair/typebox").TNumber;
|
|
22
24
|
value: import("@sinclair/typebox").TNumber;
|
|
@@ -32,6 +34,7 @@ declare const properties: import("@sinclair/typebox").TObject<{
|
|
|
32
34
|
min: import("@sinclair/typebox").TNumber;
|
|
33
35
|
max: import("@sinclair/typebox").TNumber;
|
|
34
36
|
step: import("@sinclair/typebox").TNumber;
|
|
37
|
+
showPercent: import("@sinclair/typebox").TBoolean;
|
|
35
38
|
}>;
|
|
36
39
|
export type DataType = Simplify<Static<typeof data>>;
|
|
37
40
|
declare const config: {
|
|
@@ -48,7 +51,9 @@ declare const config: {
|
|
|
48
51
|
layout: import("@sinclair/typebox").TUnsafe<string>;
|
|
49
52
|
labelWidth: import("@sinclair/typebox").TString;
|
|
50
53
|
labelTips: import("@sinclair/typebox").TString;
|
|
54
|
+
percentSlot: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<import("react").ReactNode>>;
|
|
51
55
|
name: import("@sinclair/typebox").TString;
|
|
56
|
+
showPercent: import("@sinclair/typebox").TBoolean;
|
|
52
57
|
min: import("@sinclair/typebox").TNumber;
|
|
53
58
|
max: import("@sinclair/typebox").TNumber;
|
|
54
59
|
value: import("@sinclair/typebox").TNumber;
|
|
@@ -64,6 +69,7 @@ declare const config: {
|
|
|
64
69
|
min: import("@sinclair/typebox").TNumber;
|
|
65
70
|
max: import("@sinclair/typebox").TNumber;
|
|
66
71
|
step: import("@sinclair/typebox").TNumber;
|
|
72
|
+
showPercent: import("@sinclair/typebox").TBoolean;
|
|
67
73
|
}>;
|
|
68
74
|
readonly classes: {
|
|
69
75
|
name: string;
|
|
@@ -169,6 +175,10 @@ declare const config: {
|
|
|
169
175
|
readonly when: "$attached";
|
|
170
176
|
readonly body: "\n [attributes]\n name = \"{{$self.id}}\"\n ";
|
|
171
177
|
readonly __k: "init-name-with-id";
|
|
178
|
+
}, {
|
|
179
|
+
readonly to: "percentSlot";
|
|
180
|
+
readonly when: "showPercent";
|
|
181
|
+
readonly body: "\n {{#if (helper_utils '===' $self.attributes.showPercent true)}}\n [[template]]\n component = \"WdText\"\n label = \"百分比\"\n [template.attributes]\n level = \"body-sm\"\n \":text\" = \"($w.{{$self.id}}.value || 0) + `%`\"\n [template.extra.commonStyle.margin]\n left = 8\n {{/if}}\n ";
|
|
172
182
|
}];
|
|
173
183
|
readonly componentOrder: 495;
|
|
174
184
|
readonly group: {
|
|
@@ -25,6 +25,11 @@ export const WD_PROGRESS_STATUS = [
|
|
|
25
25
|
];
|
|
26
26
|
// 属性类型定义
|
|
27
27
|
const data = Type.Object({
|
|
28
|
+
percentSlot: Type.Optional(Type.Slot({
|
|
29
|
+
title: '百分比',
|
|
30
|
+
'x-index': 5,
|
|
31
|
+
'x-category': X_CATEGORY.PROGRESS,
|
|
32
|
+
})),
|
|
28
33
|
name: Type.String({
|
|
29
34
|
title: '绑定字段',
|
|
30
35
|
type: 'string',
|
|
@@ -43,6 +48,12 @@ const data = Type.Object({
|
|
|
43
48
|
required: true,
|
|
44
49
|
description: '表单字段的Key值,用于提交数据时,匹配数据模型字段标识。页面内需保证唯一。',
|
|
45
50
|
}),
|
|
51
|
+
showPercent: Type.Boolean({
|
|
52
|
+
title: '显示进度百分比',
|
|
53
|
+
'x-runtime-default': false,
|
|
54
|
+
'x-index': 13,
|
|
55
|
+
'x-category': X_CATEGORY.PROGRESS,
|
|
56
|
+
}),
|
|
46
57
|
min: Type.Number({
|
|
47
58
|
title: '最小值',
|
|
48
59
|
'x-runtime-default': 0,
|
|
@@ -110,7 +121,15 @@ const data = Type.Object({
|
|
|
110
121
|
}),
|
|
111
122
|
});
|
|
112
123
|
const properties = Type.Composite([
|
|
113
|
-
Type.Pick(data, [
|
|
124
|
+
Type.Pick(data, [
|
|
125
|
+
'min',
|
|
126
|
+
'max',
|
|
127
|
+
'name',
|
|
128
|
+
'value',
|
|
129
|
+
'label',
|
|
130
|
+
'step',
|
|
131
|
+
'showPercent',
|
|
132
|
+
]),
|
|
114
133
|
Type.Pick(ItemData, ['visible', 'disabled', 'readOnly']),
|
|
115
134
|
]);
|
|
116
135
|
const CLASSES = getClasses('progress');
|
|
@@ -211,7 +230,25 @@ const config = defineConfig({
|
|
|
211
230
|
shortcut: FORM_ITEM_META.shortcut,
|
|
212
231
|
visible: FORM_ITEM_META.visible,
|
|
213
232
|
inlineStyleForm: FORM_ITEM_META.inlineStyleForm,
|
|
214
|
-
templates: [
|
|
233
|
+
templates: [
|
|
234
|
+
templateInitNameWithId,
|
|
235
|
+
{
|
|
236
|
+
to: 'percentSlot',
|
|
237
|
+
when: 'showPercent',
|
|
238
|
+
body: `
|
|
239
|
+
{{#if (helper_utils '===' $self.attributes.showPercent true)}}
|
|
240
|
+
[[template]]
|
|
241
|
+
component = "WdText"
|
|
242
|
+
label = "百分比"
|
|
243
|
+
[template.attributes]
|
|
244
|
+
level = "body-sm"
|
|
245
|
+
":text" = "($w.{{$self.id}}.value || 0) + \`%\`"
|
|
246
|
+
[template.extra.commonStyle.margin]
|
|
247
|
+
left = 8
|
|
248
|
+
{{/if}}
|
|
249
|
+
`,
|
|
250
|
+
},
|
|
251
|
+
],
|
|
215
252
|
componentOrder: 495,
|
|
216
253
|
group: {
|
|
217
254
|
[X_CATEGORY.COMMON]: {
|
|
@@ -130,7 +130,7 @@ const data = Type.Object({
|
|
|
130
130
|
'x-rules': [
|
|
131
131
|
{
|
|
132
132
|
message: '请输入合法的图片地址',
|
|
133
|
-
pattern: '^(((https?)://)|/resources/)[^\\s]+$',
|
|
133
|
+
pattern: '^(((cloud|https?)://)|/resources/)[^\\s]+$',
|
|
134
134
|
},
|
|
135
135
|
],
|
|
136
136
|
title: '自定义图标',
|
|
@@ -169,7 +169,7 @@ const data = Type.Object({
|
|
|
169
169
|
'x-rules': [
|
|
170
170
|
{
|
|
171
171
|
message: '请输入合法的图片地址',
|
|
172
|
-
pattern: '^(((https?)://)|/resources/)[^\\s]+$',
|
|
172
|
+
pattern: '^(((cloud|https?)://)|/resources/)[^\\s]+$',
|
|
173
173
|
},
|
|
174
174
|
],
|
|
175
175
|
title: '自定义未选中图标',
|
|
@@ -3,6 +3,7 @@ import type { Simplify } from 'type-fest';
|
|
|
3
3
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
4
4
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
5
5
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
6
|
+
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
6
7
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
8
|
addRelationButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
8
9
|
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
@@ -41,6 +42,8 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
41
42
|
}>>>;
|
|
42
43
|
tipBlock: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
43
44
|
where: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>>;
|
|
45
|
+
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
46
|
+
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
44
47
|
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
45
48
|
staticSearchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
46
49
|
ignoreCase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -54,6 +57,7 @@ declare const config: {
|
|
|
54
57
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
55
58
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
56
59
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
60
|
+
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
57
61
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
58
62
|
addRelationButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
59
63
|
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
@@ -92,6 +96,8 @@ declare const config: {
|
|
|
92
96
|
}>>>;
|
|
93
97
|
tipBlock: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
94
98
|
where: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TAny>>;
|
|
99
|
+
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
100
|
+
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
95
101
|
value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
96
102
|
staticSearchable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
97
103
|
ignoreCase: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -209,6 +215,23 @@ declare const config: {
|
|
|
209
215
|
}, {
|
|
210
216
|
readonly name: "onRelationTagClick";
|
|
211
217
|
readonly title: "点击标签";
|
|
218
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
219
|
+
item: import("@sinclair/typebox").TObject<{
|
|
220
|
+
label: import("@sinclair/typebox").TString;
|
|
221
|
+
value: import("@sinclair/typebox").TString;
|
|
222
|
+
}>;
|
|
223
|
+
}>;
|
|
224
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "onRelationOptionJump";
|
|
227
|
+
readonly title: "点击自定义关联关系下拉选项跳转";
|
|
228
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
229
|
+
item: import("@sinclair/typebox").TObject<{
|
|
230
|
+
label: import("@sinclair/typebox").TString;
|
|
231
|
+
value: import("@sinclair/typebox").TString;
|
|
232
|
+
}>;
|
|
233
|
+
}>;
|
|
234
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
212
235
|
}];
|
|
213
236
|
readonly meta: {
|
|
214
237
|
readonly description: "用于以列表形式提供多个可选项,由用户选择其一的场景。";
|
|
@@ -23,6 +23,8 @@ const data = Type.Partial(Type.Object({
|
|
|
23
23
|
range: FORM_ITEM_DATA.range,
|
|
24
24
|
tipBlock: FORM_ITEM_DATA.tipBlock,
|
|
25
25
|
where: FORM_ITEM_DATA.where,
|
|
26
|
+
selectFieldType: FORM_ITEM_DATA.selectFieldType,
|
|
27
|
+
selectFields: FORM_ITEM_DATA.selectFields,
|
|
26
28
|
value: FORM_ITEM_DATA._valueInSelectMultiple,
|
|
27
29
|
staticSearchable: FORM_ITEM_DATA.staticSearchable,
|
|
28
30
|
ignoreCase: FORM_ITEM_DATA.ignoreCase,
|
|
@@ -36,6 +38,7 @@ const data = Type.Partial(Type.Object({
|
|
|
36
38
|
...SELECT,
|
|
37
39
|
enableRelationalSetting: FORM_ITEM_DATA.enableRelationalSetting,
|
|
38
40
|
enableRelationalRefresh: FORM_ITEM_DATA.enableRelationalRefresh,
|
|
41
|
+
enableRelationOptionJump: FORM_ITEM_DATA.enableRelationOptionJump,
|
|
39
42
|
enableAddRelationButton: FORM_ITEM_DATA.enableAddRelationButton,
|
|
40
43
|
addRelationButtonText: FORM_ITEM_DATA.addRelationButtonText,
|
|
41
44
|
suffixType: FORM_ITEM_DATA._suffixTypeInSelect,
|
|
@@ -55,7 +58,7 @@ const data = Type.Partial(Type.Object({
|
|
|
55
58
|
},
|
|
56
59
|
{
|
|
57
60
|
type: 'value:visible',
|
|
58
|
-
target: '*(tipBlock,where,enableRelationalSetting,enableRelationalRefresh,enableAddRelationButton)',
|
|
61
|
+
target: '*(selectFieldType,tipBlock,where,enableRelationalSetting,enableRelationalRefresh,enableAddRelationButton)',
|
|
59
62
|
condition: "{{$self.value=='many-many'||$self.value=='one-many'}}",
|
|
60
63
|
},
|
|
61
64
|
],
|
|
@@ -155,6 +158,28 @@ const config = defineConfig({
|
|
|
155
158
|
{
|
|
156
159
|
name: 'onRelationTagClick',
|
|
157
160
|
title: '点击标签',
|
|
161
|
+
detail: Type.Object({
|
|
162
|
+
item: Type.Object({
|
|
163
|
+
label: Type.String(),
|
|
164
|
+
value: Type.String(),
|
|
165
|
+
}, {
|
|
166
|
+
title: '选项值',
|
|
167
|
+
}),
|
|
168
|
+
}),
|
|
169
|
+
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: 'onRelationOptionJump',
|
|
173
|
+
title: '点击自定义关联关系下拉选项跳转',
|
|
174
|
+
detail: Type.Object({
|
|
175
|
+
item: Type.Object({
|
|
176
|
+
label: Type.String(),
|
|
177
|
+
value: Type.String(),
|
|
178
|
+
}, {
|
|
179
|
+
title: '选项值',
|
|
180
|
+
}),
|
|
181
|
+
}),
|
|
182
|
+
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
158
183
|
},
|
|
159
184
|
],
|
|
160
185
|
meta: {
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { Static } from '../type-utils';
|
|
2
2
|
import type { Simplify } from 'type-fest';
|
|
3
3
|
declare const data: import("@sinclair/typebox").TObject<{
|
|
4
|
+
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
5
|
+
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
4
6
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
5
7
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
6
8
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
9
|
addRelationButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
10
|
+
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
8
11
|
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
9
12
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
10
13
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -54,10 +57,13 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
54
57
|
declare const config: {
|
|
55
58
|
readonly $schema: "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json";
|
|
56
59
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
60
|
+
selectFieldType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
61
|
+
selectFields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
57
62
|
enableRelationalSetting: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
58
63
|
enableRelationalRefresh: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
59
64
|
enableAddRelationButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
60
65
|
addRelationButtonText: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
66
|
+
enableRelationOptionJump: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
61
67
|
suffixType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
62
68
|
status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string>>;
|
|
63
69
|
required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
@@ -205,6 +211,23 @@ declare const config: {
|
|
|
205
211
|
}, {
|
|
206
212
|
readonly name: "onRelationTagClick";
|
|
207
213
|
readonly title: "点击标签";
|
|
214
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
215
|
+
item: import("@sinclair/typebox").TObject<{
|
|
216
|
+
label: import("@sinclair/typebox").TString;
|
|
217
|
+
value: import("@sinclair/typebox").TString;
|
|
218
|
+
}>;
|
|
219
|
+
}>;
|
|
220
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
221
|
+
}, {
|
|
222
|
+
readonly name: "onRelationOptionJump";
|
|
223
|
+
readonly title: "点击自定义关联关系下拉选项跳转";
|
|
224
|
+
readonly detail: import("@sinclair/typebox").TObject<{
|
|
225
|
+
item: import("@sinclair/typebox").TObject<{
|
|
226
|
+
label: import("@sinclair/typebox").TString;
|
|
227
|
+
value: import("@sinclair/typebox").TString;
|
|
228
|
+
}>;
|
|
229
|
+
}>;
|
|
230
|
+
readonly 'x-platforms': readonly ["MOBILEWEB", "PCWEB"];
|
|
208
231
|
}];
|
|
209
232
|
readonly meta: {
|
|
210
233
|
readonly description: "以列表形式展示选项,用户可进行搜索和选择操作。";
|
|
@@ -39,10 +39,13 @@ const data = Type.Partial(Type.Object({
|
|
|
39
39
|
...TITLE,
|
|
40
40
|
// 选择框
|
|
41
41
|
...SELECT,
|
|
42
|
+
selectFieldType: FORM_ITEM_DATA.selectFieldType,
|
|
43
|
+
selectFields: FORM_ITEM_DATA.selectFields,
|
|
42
44
|
enableRelationalSetting: FORM_ITEM_DATA.enableRelationalSetting,
|
|
43
45
|
enableRelationalRefresh: FORM_ITEM_DATA.enableRelationalRefresh,
|
|
44
46
|
enableAddRelationButton: FORM_ITEM_DATA.enableAddRelationButton,
|
|
45
47
|
addRelationButtonText: FORM_ITEM_DATA.addRelationButtonText,
|
|
48
|
+
enableRelationOptionJump: FORM_ITEM_DATA.enableRelationOptionJump,
|
|
46
49
|
suffixType: FORM_ITEM_DATA._suffixTypeInSelect,
|
|
47
50
|
// 状态校验
|
|
48
51
|
status: FORM_ITEM_DATA.status,
|
|
@@ -123,6 +126,28 @@ const config = defineConfig({
|
|
|
123
126
|
{
|
|
124
127
|
name: 'onRelationTagClick',
|
|
125
128
|
title: '点击标签',
|
|
129
|
+
detail: Type.Object({
|
|
130
|
+
item: Type.Object({
|
|
131
|
+
label: Type.String(),
|
|
132
|
+
value: Type.String(),
|
|
133
|
+
}, {
|
|
134
|
+
title: '选项值',
|
|
135
|
+
}),
|
|
136
|
+
}),
|
|
137
|
+
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: 'onRelationOptionJump',
|
|
141
|
+
title: '点击自定义关联关系下拉选项跳转',
|
|
142
|
+
detail: Type.Object({
|
|
143
|
+
item: Type.Object({
|
|
144
|
+
label: Type.String(),
|
|
145
|
+
value: Type.String(),
|
|
146
|
+
}, {
|
|
147
|
+
title: '选项值',
|
|
148
|
+
}),
|
|
149
|
+
}),
|
|
150
|
+
'x-platforms': ['MOBILEWEB', 'PCWEB'],
|
|
126
151
|
},
|
|
127
152
|
],
|
|
128
153
|
meta: {
|
|
@@ -97,7 +97,7 @@ const data = Type.Object({
|
|
|
97
97
|
'x-rules': [
|
|
98
98
|
{
|
|
99
99
|
message: '请输入合法的图片地址',
|
|
100
|
-
pattern: '^(((https?)://)|/resources/)[^\\s]+$',
|
|
100
|
+
pattern: '^(((cloud|https?)://)|/resources/)[^\\s]+$',
|
|
101
101
|
},
|
|
102
102
|
],
|
|
103
103
|
description: '设置自定义图标地址',
|
|
@@ -268,7 +268,7 @@ const data = Type.Object({
|
|
|
268
268
|
'x-rules': [
|
|
269
269
|
{
|
|
270
270
|
message: '请输入合法的图片地址',
|
|
271
|
-
pattern: '^(((https?)://)|/resources/)[^\\s]+$',
|
|
271
|
+
pattern: '^(((cloud|https?)://)|/resources/)[^\\s]+$',
|
|
272
272
|
},
|
|
273
273
|
],
|
|
274
274
|
description: '设置自定义图标地址',
|
|
@@ -225,7 +225,6 @@ declare const config: {
|
|
|
225
225
|
type: import("@sinclair/typebox").TString;
|
|
226
226
|
}>>;
|
|
227
227
|
}>>;
|
|
228
|
-
recordKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
229
228
|
bindMetadata: import("@sinclair/typebox").TObject<{
|
|
230
229
|
datasource: import("@sinclair/typebox").TObject<{
|
|
231
230
|
title: import("@sinclair/typebox").TString;
|
|
@@ -237,6 +236,7 @@ declare const config: {
|
|
|
237
236
|
isNewData: import("@sinclair/typebox").TBoolean;
|
|
238
237
|
selectedViewIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
|
239
238
|
}>;
|
|
239
|
+
recordKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
240
240
|
defaultPageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<number>>;
|
|
241
241
|
defaultPageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
242
242
|
filterConfig: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
@@ -395,6 +395,7 @@ const data = Type.Object({
|
|
|
395
395
|
},
|
|
396
396
|
],
|
|
397
397
|
description: '展示数据的数据来源,包括数据模型/视图',
|
|
398
|
+
'x-helper-text': '数据模型字段发生变化时,点击上方刷新图标同步数据模型结构;字段新增时,可通过下方列管理-添加列,配置最新字段表格列展示。',
|
|
398
399
|
}),
|
|
399
400
|
dataSourceData: Type.Optional(Type.Array(Type.Object({}), {
|
|
400
401
|
title: '表达式',
|
|
@@ -87,6 +87,10 @@ declare const config: {
|
|
|
87
87
|
readonly name: "内容区域";
|
|
88
88
|
readonly selector: ".wd-top-tab-root .wd-tabs__body";
|
|
89
89
|
readonly description: "可以为顶部选项卡内容区域编写样式";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "选项卡超长自动滑动遮罩";
|
|
92
|
+
readonly selector: ".wd-tabs-h5-root .wd-tabs__header-item-mask";
|
|
93
|
+
readonly description: "可以为移动端选项卡设置滑动背景色,提示选项卡内容超长可滑动";
|
|
90
94
|
}];
|
|
91
95
|
readonly methods: readonly [{
|
|
92
96
|
readonly name: "selectTab";
|