@cloudbase/weda-ui 3.28.0 → 3.29.2
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/actions/showMessage.json +1 -1
- package/dist/configs/actions/showModal.json +1 -1
- package/dist/configs/actions/showToast.json +1 -1
- package/dist/configs/components/auth.json +1 -1
- package/dist/configs/components/button.d.ts +1 -1
- package/dist/configs/components/button.js +2 -1
- package/dist/configs/components/calendar.d.ts +1 -1
- package/dist/configs/components/calendar.js +2 -1
- package/dist/configs/components/carousel.json +4 -11
- package/dist/configs/components/chart/bar.d.ts +1 -1
- package/dist/configs/components/chart/bar.js +2 -1
- package/dist/configs/components/chart/line.d.ts +1 -1
- package/dist/configs/components/chart/line.js +2 -1
- package/dist/configs/components/chart/pie.d.ts +1 -1
- package/dist/configs/components/chart/pie.js +2 -1
- package/dist/configs/components/chart/statisticsCard.d.ts +1 -1
- package/dist/configs/components/chart/statisticsCard.js +2 -1
- package/dist/configs/components/container.d.ts +1 -1
- package/dist/configs/components/container.js +2 -1
- package/dist/configs/components/customer-service.d.ts +1 -1
- package/dist/configs/components/customer-service.js +2 -1
- package/dist/configs/components/dataView.js +2 -2
- package/dist/configs/components/echart.d.ts +175 -2
- package/dist/configs/components/echart.js +53 -48
- package/dist/configs/components/echarts.d.ts +139 -0
- package/dist/configs/components/echarts.js +16 -0
- package/dist/configs/components/flow/flow.json +2 -4
- package/dist/configs/components/flow/flowbasic.json +2 -4
- package/dist/configs/components/flow/flowchart.json +2 -4
- package/dist/configs/components/flow/flowcontrol.json +2 -4
- package/dist/configs/components/flow/flowlayout.json +2 -4
- package/dist/configs/components/flow/flowprocess.json +2 -4
- package/dist/configs/components/flowgraph.json +2 -4
- package/dist/configs/components/form/checkbox.json +1 -1
- package/dist/configs/components/form/departTreeSelect.json +1 -1
- package/dist/configs/components/form/form.json +1 -1
- package/dist/configs/components/form/input.json +4 -11
- package/dist/configs/components/form/location.json +1 -1
- package/dist/configs/components/form/radio.json +2 -4
- package/dist/configs/components/form/richText.json +3 -7
- package/dist/configs/components/form/select.json +6 -26
- package/dist/configs/components/form/switch.json +1 -1
- package/dist/configs/components/form/textarea.json +2 -4
- package/dist/configs/components/form/tips.json +1 -1
- package/dist/configs/components/form/uploader.json +4 -10
- package/dist/configs/components/form/uploaderFile.json +3 -7
- package/dist/configs/components/form/userTreeSelect.json +3 -9
- package/dist/configs/components/form-checkbox.d.ts +1 -1
- package/dist/configs/components/form-checkbox.js +2 -1
- package/dist/configs/components/form-date.d.ts +1 -1
- package/dist/configs/components/form-date.js +2 -1
- package/dist/configs/components/form-depart-tree-select.d.ts +1 -1
- package/dist/configs/components/form-depart-tree-select.js +2 -1
- package/dist/configs/components/form-email.d.ts +1 -1
- package/dist/configs/components/form-email.js +2 -1
- package/dist/configs/components/form-image-uploader.d.ts +1 -1
- package/dist/configs/components/form-image-uploader.js +2 -1
- package/dist/configs/components/form-input.d.ts +1 -1
- package/dist/configs/components/form-input.js +2 -1
- package/dist/configs/components/form-location.d.ts +1 -1
- package/dist/configs/components/form-location.js +2 -1
- package/dist/configs/components/form-multi-region.d.ts +1 -1
- package/dist/configs/components/form-multi-region.js +2 -1
- package/dist/configs/components/form-phone.d.ts +1 -1
- package/dist/configs/components/form-phone.js +2 -1
- package/dist/configs/components/form-radio.d.ts +1 -1
- package/dist/configs/components/form-radio.js +2 -1
- package/dist/configs/components/form-region.d.ts +1 -1
- package/dist/configs/components/form-region.js +2 -1
- package/dist/configs/components/form-rich-text.d.ts +1 -1
- package/dist/configs/components/form-rich-text.js +2 -1
- package/dist/configs/components/form-select-multiple.d.ts +1 -1
- package/dist/configs/components/form-select-multiple.js +2 -1
- package/dist/configs/components/form-select.d.ts +1 -1
- package/dist/configs/components/form-select.js +2 -1
- package/dist/configs/components/form-switch.d.ts +1 -1
- package/dist/configs/components/form-switch.js +2 -1
- package/dist/configs/components/form-text-area.d.ts +1 -1
- package/dist/configs/components/form-text-area.js +2 -1
- package/dist/configs/components/form-time.d.ts +1 -1
- package/dist/configs/components/form-time.js +2 -1
- package/dist/configs/components/form-upload-file.d.ts +1 -1
- package/dist/configs/components/form-upload-file.js +2 -1
- package/dist/configs/components/form-url.d.ts +1 -1
- package/dist/configs/components/form-url.js +2 -1
- package/dist/configs/components/form-user-tree-select.d.ts +1 -1
- package/dist/configs/components/form-user-tree-select.js +2 -1
- package/dist/configs/components/formdetail.json +8 -22
- package/dist/configs/components/graphicCard.json +4 -11
- package/dist/configs/components/grid/col.d.ts +1 -1
- package/dist/configs/components/grid/col.js +2 -1
- package/dist/configs/components/grid/grid.d.ts +1 -1
- package/dist/configs/components/grid/grid.js +2 -1
- package/dist/configs/components/grid/row.d.ts +1 -1
- package/dist/configs/components/grid/row.js +2 -1
- package/dist/configs/components/image.d.ts +1 -1
- package/dist/configs/components/image.js +2 -1
- package/dist/configs/components/jsx.js +2 -1
- package/dist/configs/components/link.d.ts +1 -1
- package/dist/configs/components/link.js +2 -1
- package/dist/configs/components/listView.js +2 -1
- package/dist/configs/components/lottery.d.ts +1 -1
- package/dist/configs/components/lottery.js +2 -1
- package/dist/configs/components/modal.d.ts +1 -1
- package/dist/configs/components/modal.js +2 -1
- package/dist/configs/components/navLayout.json +4 -11
- package/dist/configs/components/navigationBar.json +1 -1
- package/dist/configs/components/pagelayout.json +3 -8
- package/dist/configs/components/picker/datePicker.json +1 -1
- package/dist/configs/components/qr_code.d.ts +1 -1
- package/dist/configs/components/qr_code.js +2 -1
- package/dist/configs/components/repeater-item.json +1 -1
- package/dist/configs/components/repeater.d.ts +1 -1
- package/dist/configs/components/repeater.js +2 -1
- package/dist/configs/components/richtextview.json +2 -4
- package/dist/configs/components/scrollView.d.ts +1 -1
- package/dist/configs/components/scrollView.js +2 -1
- package/dist/configs/components/slot.json +1 -1
- package/dist/configs/components/swiper.d.ts +1 -1
- package/dist/configs/components/swiper.js +2 -1
- package/dist/configs/components/table.json +17 -65
- package/dist/configs/components/tabs.d.ts +1 -1
- package/dist/configs/components/tabs.js +2 -1
- package/dist/configs/components/text.d.ts +1 -1
- package/dist/configs/components/text.js +2 -1
- package/dist/configs/components/wd-ad.d.ts +1 -1
- package/dist/configs/components/wd-ad.js +2 -1
- package/dist/configs/components/wd-audio.d.ts +1 -1
- package/dist/configs/components/wd-audio.js +2 -1
- package/dist/configs/components/wd-bubble.d.ts +1 -1
- package/dist/configs/components/wd-bubble.js +2 -1
- package/dist/configs/components/wd-button.d.ts +1 -1
- package/dist/configs/components/wd-button.js +3 -2
- package/dist/configs/components/wd-calendar.d.ts +1 -1
- package/dist/configs/components/wd-calendar.js +2 -1
- package/dist/configs/components/wd-canvas.d.ts +1 -1
- package/dist/configs/components/wd-canvas.js +2 -1
- package/dist/configs/components/wd-card.d.ts +3 -3
- package/dist/configs/components/wd-card.js +4 -3
- package/dist/configs/components/wd-cascader.d.ts +1 -1
- package/dist/configs/components/wd-cascader.js +2 -1
- package/dist/configs/components/wd-checkbox.d.ts +1 -1
- package/dist/configs/components/wd-checkbox.js +2 -1
- package/dist/configs/components/wd-code-editor.d.ts +1 -1
- package/dist/configs/components/wd-code-editor.js +2 -1
- package/dist/configs/components/wd-date-range.d.ts +1 -1
- package/dist/configs/components/wd-date-range.js +2 -1
- package/dist/configs/components/wd-date.d.ts +1 -1
- package/dist/configs/components/wd-date.js +2 -1
- package/dist/configs/components/wd-department.d.ts +1 -1
- package/dist/configs/components/wd-department.js +2 -1
- package/dist/configs/components/wd-divider.d.ts +1 -1
- package/dist/configs/components/wd-divider.js +2 -1
- package/dist/configs/components/wd-drawer.d.ts +1 -1
- package/dist/configs/components/wd-drawer.js +2 -1
- package/dist/configs/components/wd-form-arr.d.ts +1 -1
- package/dist/configs/components/wd-form-arr.js +2 -1
- package/dist/configs/components/wd-form-detail.d.ts +1 -1
- package/dist/configs/components/wd-form-detail.js +2 -1
- package/dist/configs/components/wd-form-obj.d.ts +1 -1
- package/dist/configs/components/wd-form-obj.js +2 -1
- package/dist/configs/components/wd-form.d.ts +2 -2
- package/dist/configs/components/wd-form.js +3 -3
- package/dist/configs/components/wd-icon.d.ts +1 -1
- package/dist/configs/components/wd-icon.js +2 -1
- package/dist/configs/components/wd-image.d.ts +1 -1
- package/dist/configs/components/wd-image.js +2 -1
- package/dist/configs/components/wd-input-email.d.ts +1 -1
- package/dist/configs/components/wd-input-email.js +2 -1
- package/dist/configs/components/wd-input-number.d.ts +1 -1
- package/dist/configs/components/wd-input-number.js +2 -1
- package/dist/configs/components/wd-input-phone.d.ts +1 -1
- package/dist/configs/components/wd-input-phone.js +2 -1
- package/dist/configs/components/wd-input-url.d.ts +1 -1
- package/dist/configs/components/wd-input-url.js +2 -1
- package/dist/configs/components/wd-input.d.ts +1 -1
- package/dist/configs/components/wd-input.js +2 -1
- package/dist/configs/components/wd-layout.d.ts +1 -1
- package/dist/configs/components/wd-layout.js +2 -1
- package/dist/configs/components/wd-link.d.ts +1 -1
- package/dist/configs/components/wd-link.js +2 -1
- package/dist/configs/components/wd-location.d.ts +15 -1
- package/dist/configs/components/wd-location.js +18 -1
- package/dist/configs/components/wd-markdown.d.ts +1 -1
- package/dist/configs/components/wd-markdown.js +2 -1
- package/dist/configs/components/wd-member.d.ts +1 -1
- package/dist/configs/components/wd-member.js +2 -1
- package/dist/configs/components/wd-menu-base-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-base-layout.js +2 -1
- package/dist/configs/components/wd-menu-horizontal-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-horizontal-layout.js +2 -1
- package/dist/configs/components/wd-menu-layout.d.ts +2 -2
- package/dist/configs/components/wd-menu-layout.js +2 -1
- package/dist/configs/components/wd-menu-list.d.ts +1 -1
- package/dist/configs/components/wd-menu-list.js +2 -1
- package/dist/configs/components/wd-menu-nav-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-nav-layout.js +2 -1
- package/dist/configs/components/wd-menu-nav-tab-layou.d.ts +1 -1
- package/dist/configs/components/wd-menu-nav-tab-layou.js +2 -1
- package/dist/configs/components/wd-menu-plant-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-plant-layout.js +2 -1
- package/dist/configs/components/wd-menu-tab-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-tab-layout.js +2 -1
- package/dist/configs/components/wd-menu-vertical-layout.d.ts +1 -1
- package/dist/configs/components/wd-menu-vertical-layout.js +2 -1
- package/dist/configs/components/wd-modal.d.ts +1 -1
- package/dist/configs/components/wd-modal.js +2 -2
- package/dist/configs/components/wd-official-account.d.ts +1 -1
- package/dist/configs/components/wd-official-account.js +2 -1
- package/dist/configs/components/wd-progress.d.ts +1 -1
- package/dist/configs/components/wd-progress.js +2 -1
- package/dist/configs/components/wd-radio.d.ts +1 -1
- package/dist/configs/components/wd-radio.js +2 -1
- package/dist/configs/components/wd-rating.d.ts +1 -1
- package/dist/configs/components/wd-rating.js +2 -1
- package/dist/configs/components/wd-region.d.ts +1 -1
- package/dist/configs/components/wd-region.js +2 -1
- package/dist/configs/components/wd-rich-text.d.ts +1 -1
- package/dist/configs/components/wd-rich-text.js +2 -1
- package/dist/configs/components/wd-select-multiple.d.ts +1 -1
- package/dist/configs/components/wd-select-multiple.js +2 -1
- package/dist/configs/components/wd-select.d.ts +1 -1
- package/dist/configs/components/wd-select.js +2 -1
- package/dist/configs/components/wd-side-tab.d.ts +1 -1
- package/dist/configs/components/wd-side-tab.js +2 -1
- package/dist/configs/components/wd-store-home.d.ts +1 -1
- package/dist/configs/components/wd-store-home.js +2 -1
- package/dist/configs/components/wd-store-product.d.ts +1 -1
- package/dist/configs/components/wd-store-product.js +2 -1
- package/dist/configs/components/wd-switch.d.ts +1 -1
- package/dist/configs/components/wd-switch.js +2 -1
- package/dist/configs/components/wd-tabbar.d.ts +1 -1
- package/dist/configs/components/wd-tabbar.js +2 -1
- package/dist/configs/components/wd-table.d.ts +1 -1
- package/dist/configs/components/wd-table.js +2 -1
- package/dist/configs/components/wd-tag-select.d.ts +1 -1
- package/dist/configs/components/wd-tag-select.js +2 -1
- package/dist/configs/components/wd-tag.d.ts +1 -1
- package/dist/configs/components/wd-tag.js +2 -1
- package/dist/configs/components/wd-text.d.ts +1 -1
- package/dist/configs/components/wd-text.js +2 -1
- package/dist/configs/components/wd-textarea.d.ts +1 -1
- package/dist/configs/components/wd-textarea.js +2 -1
- package/dist/configs/components/wd-time.d.ts +1 -1
- package/dist/configs/components/wd-time.js +2 -1
- package/dist/configs/components/wd-top-tab.d.ts +1 -1
- package/dist/configs/components/wd-top-tab.js +2 -1
- package/dist/configs/components/wd-tree.d.ts +1 -1
- package/dist/configs/components/wd-tree.js +2 -1
- package/dist/configs/components/wd-unified-link.d.ts +1 -1
- package/dist/configs/components/wd-unified-link.js +2 -1
- package/dist/configs/components/wd-upload-file.d.ts +5 -1
- package/dist/configs/components/wd-upload-file.js +12 -1
- package/dist/configs/components/wd-upload-image.d.ts +1 -1
- package/dist/configs/components/wd-upload-image.js +2 -1
- package/dist/configs/components/web-view.d.ts +1 -1
- package/dist/configs/components/web-view.js +2 -1
- package/dist/configs/components/wedaVideo.d.ts +1 -1
- package/dist/configs/components/wedaVideo.js +2 -1
- package/dist/configs/components/wxOpenApi/phone.d.ts +1 -1
- package/dist/configs/components/wxOpenApi/phone.js +2 -1
- package/dist/configs/components/wxOpenApi/phoneCode.d.ts +1 -1
- package/dist/configs/components/wxOpenApi/phoneCode.js +2 -1
- package/dist/configs/components/wxOpenApi/share.d.ts +1 -1
- package/dist/configs/components/wxOpenApi/share.js +2 -1
- package/dist/configs/components/wxOpenApi/userInfo.d.ts +1 -1
- package/dist/configs/components/wxOpenApi/userInfo.js +2 -1
- package/dist/configs/index.d.ts +540 -232
- package/dist/configs/index.js +2 -0
- package/dist/configs/type-utils/index.d.ts +3 -1
- package/dist/configs/type-utils/index.js +2 -0
- package/dist/configs/type-utils/type-form.js +8 -4
- 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/configs/utils/constants.d.ts +2 -0
- package/dist/configs/utils/constants.js +2 -0
- package/dist/onlineConfig.json +4 -4
- package/dist/style/weda-ui.min.css +2 -2
- package/dist/web/components/form/location/common/fetchLocationApiKey.d.ts +11 -0
- package/dist/web/components/form/location/common/fetchLocationApiKey.js +20 -0
- package/dist/web/components/form/location/components/LocationH5/location.h5.js +20 -33
- package/dist/web/components/form/location/components/LocationPC/location.PC.js +20 -30
- package/dist/web/components/form/uploaderFile/index.css +11 -1
- package/dist/web/components/form/uploaderFile/uploadFile.pc.d.ts +2 -1
- package/dist/web/components/form/uploaderFile/uploadFile.pc.js +8 -4
- package/dist/web/components/index.d.ts +1 -1
- package/dist/web/components/index.js +2 -0
- package/dist/web/components/uploaderFileView/index.js +0 -2
- package/dist/web/components/wd-code-editor/wd-code-editor.js +4 -5
- package/dist/web/components/wd-upload-file/wd-upload-file.js +2 -2
- package/dist/web/utils/i18n/locale/en_US.d.ts +1 -0
- package/dist/web/utils/i18n/locale/en_US.js +1 -0
- package/dist/web/utils/i18n/locale/zh_CN.d.ts +1 -0
- package/dist/web/utils/i18n/locale/zh_CN.js +1 -0
- package/dist/web/utils/tcb.d.ts +16 -0
- package/dist/web/utils/tcb.js +32 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"label": {
|
|
@@ -78,9 +78,7 @@
|
|
|
78
78
|
"acceptTypes": {
|
|
79
79
|
"type": "array",
|
|
80
80
|
"title": "允许上传图片类型",
|
|
81
|
-
"default": [
|
|
82
|
-
"image/*"
|
|
83
|
-
],
|
|
81
|
+
"default": ["image/*"],
|
|
84
82
|
"items": {
|
|
85
83
|
"type": "string",
|
|
86
84
|
"enum": [
|
|
@@ -126,9 +124,7 @@
|
|
|
126
124
|
"category": "表单",
|
|
127
125
|
"icon": "../../icons/RichText.svg",
|
|
128
126
|
"visible": [],
|
|
129
|
-
"platform": [
|
|
130
|
-
"WEB"
|
|
131
|
-
]
|
|
127
|
+
"platform": ["WEB"]
|
|
132
128
|
},
|
|
133
129
|
"events": [
|
|
134
130
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"where": {
|
|
@@ -22,16 +22,8 @@
|
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
24
|
"blackListConfig": {
|
|
25
|
-
"format": [
|
|
26
|
-
|
|
27
|
-
"father-son",
|
|
28
|
-
"x-file",
|
|
29
|
-
"x-image"
|
|
30
|
-
],
|
|
31
|
-
"type": [
|
|
32
|
-
"object",
|
|
33
|
-
"array"
|
|
34
|
-
]
|
|
25
|
+
"format": ["related", "father-son", "x-file", "x-image"],
|
|
26
|
+
"type": ["object", "array"]
|
|
35
27
|
},
|
|
36
28
|
"customRelOptions": {
|
|
37
29
|
"number": [
|
|
@@ -97,13 +89,7 @@
|
|
|
97
89
|
"type": "string",
|
|
98
90
|
"default": "selector",
|
|
99
91
|
"title": "类型",
|
|
100
|
-
"enum": [
|
|
101
|
-
"selector",
|
|
102
|
-
"date",
|
|
103
|
-
"time",
|
|
104
|
-
"region",
|
|
105
|
-
"mutiRegion"
|
|
106
|
-
],
|
|
92
|
+
"enum": ["selector", "date", "time", "region", "mutiRegion"],
|
|
107
93
|
"x-linkages": [
|
|
108
94
|
{
|
|
109
95
|
"type": "value:visible",
|
|
@@ -191,9 +177,7 @@
|
|
|
191
177
|
"value": "full"
|
|
192
178
|
}
|
|
193
179
|
],
|
|
194
|
-
"x-platforms": [
|
|
195
|
-
"PCWEB"
|
|
196
|
-
]
|
|
180
|
+
"x-platforms": ["PCWEB"]
|
|
197
181
|
},
|
|
198
182
|
"startTime": {
|
|
199
183
|
"type": "string",
|
|
@@ -248,11 +232,7 @@
|
|
|
248
232
|
"items": {
|
|
249
233
|
"type": "string"
|
|
250
234
|
},
|
|
251
|
-
"default": [
|
|
252
|
-
"北京市",
|
|
253
|
-
"北京市",
|
|
254
|
-
"东城区"
|
|
255
|
-
]
|
|
235
|
+
"default": ["北京市", "北京市", "东城区"]
|
|
256
236
|
},
|
|
257
237
|
"regionType": {
|
|
258
238
|
"type": "string",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"label": {
|
|
@@ -90,9 +90,7 @@
|
|
|
90
90
|
"value": "full"
|
|
91
91
|
}
|
|
92
92
|
],
|
|
93
|
-
"x-platforms": [
|
|
94
|
-
"PCWEB"
|
|
95
|
-
]
|
|
93
|
+
"x-platforms": ["PCWEB"]
|
|
96
94
|
}
|
|
97
95
|
}
|
|
98
96
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"title": {
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
"title": "按钮名称",
|
|
23
23
|
"x-group": "基础属性",
|
|
24
24
|
"x-index": 3,
|
|
25
|
-
"x-platforms": [
|
|
26
|
-
"PCWEB"
|
|
27
|
-
]
|
|
25
|
+
"x-platforms": ["PCWEB"]
|
|
28
26
|
},
|
|
29
27
|
"maxUploadCount": {
|
|
30
28
|
"type": "number",
|
|
@@ -44,14 +42,10 @@
|
|
|
44
42
|
"type": "string",
|
|
45
43
|
"title": "图片类型",
|
|
46
44
|
"x-component": "checkbox",
|
|
47
|
-
"default": [
|
|
48
|
-
"image/*"
|
|
49
|
-
],
|
|
45
|
+
"default": ["image/*"],
|
|
50
46
|
"x-group": "基础属性",
|
|
51
47
|
"x-index": 6,
|
|
52
|
-
"x-platforms": [
|
|
53
|
-
"WEB"
|
|
54
|
-
],
|
|
48
|
+
"x-platforms": ["WEB"],
|
|
55
49
|
"enum": [
|
|
56
50
|
{
|
|
57
51
|
"label": "全部",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"label": {
|
|
@@ -82,12 +82,8 @@
|
|
|
82
82
|
"acceptTypes": {
|
|
83
83
|
"type": "array",
|
|
84
84
|
"title": "文件类型",
|
|
85
|
-
"x-platforms": [
|
|
86
|
-
|
|
87
|
-
],
|
|
88
|
-
"default": [
|
|
89
|
-
"*"
|
|
90
|
-
],
|
|
85
|
+
"x-platforms": ["WEB"],
|
|
86
|
+
"default": ["*"],
|
|
91
87
|
"x-category": "高级属性",
|
|
92
88
|
"x-helper-text": "绑定表达式示例:['.pdf','.xlsx','.zip'],该属性暂不支持小程序",
|
|
93
89
|
"x-index": 100,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://comp-public-replace-
|
|
2
|
+
"$schema": "https://comp-public-replace-cos.cloudbase.net/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"label": {
|
|
@@ -73,14 +73,8 @@
|
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
"blackListConfig": {
|
|
76
|
-
"format": [
|
|
77
|
-
|
|
78
|
-
"x-image"
|
|
79
|
-
],
|
|
80
|
-
"type": [
|
|
81
|
-
"object",
|
|
82
|
-
"array"
|
|
83
|
-
]
|
|
76
|
+
"format": ["x-file", "x-image"],
|
|
77
|
+
"type": ["object", "array"]
|
|
84
78
|
},
|
|
85
79
|
"customRelOptions": {
|
|
86
80
|
"number": [
|
|
@@ -22,7 +22,7 @@ declare const events: readonly [{
|
|
|
22
22
|
readonly name: "change";
|
|
23
23
|
}];
|
|
24
24
|
declare const config: {
|
|
25
|
-
readonly $schema:
|
|
25
|
+
readonly $schema: string;
|
|
26
26
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
27
27
|
name: import("@sinclair/typebox").TString;
|
|
28
28
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -215,7 +216,7 @@ const events = [
|
|
|
215
216
|
},
|
|
216
217
|
];
|
|
217
218
|
const config = defineConfig({
|
|
218
|
-
$schema:
|
|
219
|
+
$schema: $SCHEMA,
|
|
219
220
|
data,
|
|
220
221
|
events,
|
|
221
222
|
compConfig: {
|
|
@@ -24,7 +24,7 @@ declare const events: readonly [{
|
|
|
24
24
|
readonly name: "cancel";
|
|
25
25
|
}];
|
|
26
26
|
declare const config: {
|
|
27
|
-
readonly $schema:
|
|
27
|
+
readonly $schema: string;
|
|
28
28
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
29
29
|
name: import("@sinclair/typebox").TString;
|
|
30
30
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -235,7 +236,7 @@ const events = [
|
|
|
235
236
|
},
|
|
236
237
|
];
|
|
237
238
|
const config = defineConfig({
|
|
238
|
-
$schema:
|
|
239
|
+
$schema: $SCHEMA,
|
|
239
240
|
data,
|
|
240
241
|
compConfig: {
|
|
241
242
|
componentType: 'formField',
|
|
@@ -22,7 +22,7 @@ declare const events: readonly [{
|
|
|
22
22
|
readonly description: "组件中的数据内容发生改变时触发";
|
|
23
23
|
}];
|
|
24
24
|
declare const config: {
|
|
25
|
-
readonly $schema:
|
|
25
|
+
readonly $schema: string;
|
|
26
26
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
27
27
|
name: import("@sinclair/typebox").TString;
|
|
28
28
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -189,7 +190,7 @@ const events = [
|
|
|
189
190
|
},
|
|
190
191
|
];
|
|
191
192
|
const config = defineConfig({
|
|
192
|
-
$schema:
|
|
193
|
+
$schema: $SCHEMA,
|
|
193
194
|
data,
|
|
194
195
|
properties: Type.Pick(data, ['value']),
|
|
195
196
|
events,
|
|
@@ -32,7 +32,7 @@ declare const events: readonly [{
|
|
|
32
32
|
readonly name: "clear";
|
|
33
33
|
}];
|
|
34
34
|
declare const config: {
|
|
35
|
-
readonly $schema:
|
|
35
|
+
readonly $schema: string;
|
|
36
36
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
37
37
|
name: import("@sinclair/typebox").TString;
|
|
38
38
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -216,7 +217,7 @@ const events = [
|
|
|
216
217
|
},
|
|
217
218
|
];
|
|
218
219
|
const config = defineConfig({
|
|
219
|
-
$schema:
|
|
220
|
+
$schema: $SCHEMA,
|
|
220
221
|
data,
|
|
221
222
|
events,
|
|
222
223
|
compConfig: {
|
|
@@ -28,7 +28,7 @@ declare const events: readonly [{
|
|
|
28
28
|
readonly name: "error";
|
|
29
29
|
}];
|
|
30
30
|
declare const config: {
|
|
31
|
-
readonly $schema:
|
|
31
|
+
readonly $schema: string;
|
|
32
32
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
33
33
|
name: import("@sinclair/typebox").TString;
|
|
34
34
|
title: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -270,7 +271,7 @@ const events = [
|
|
|
270
271
|
},
|
|
271
272
|
];
|
|
272
273
|
const config = defineConfig({
|
|
273
|
-
$schema:
|
|
274
|
+
$schema: $SCHEMA,
|
|
274
275
|
data,
|
|
275
276
|
properties: Type.Pick(data, ['value']),
|
|
276
277
|
compConfig: {
|
|
@@ -26,7 +26,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
26
26
|
disabled: import("@sinclair/typebox").TBoolean;
|
|
27
27
|
}>;
|
|
28
28
|
declare const _default: {
|
|
29
|
-
readonly $schema:
|
|
29
|
+
readonly $schema: string;
|
|
30
30
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
31
31
|
rules: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
32
32
|
format: import("@sinclair/typebox").TString;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
2
|
import { commonRequiredDataForm } from './common/form-input-required';
|
|
3
|
+
import { $SCHEMA } from '../utils/constants';
|
|
3
4
|
const data = Type.Object({
|
|
4
5
|
name: Type.String({
|
|
5
6
|
title: '绑定字段',
|
|
@@ -412,7 +413,7 @@ const data = Type.Object({
|
|
|
412
413
|
}),
|
|
413
414
|
});
|
|
414
415
|
export default defineConfig({
|
|
415
|
-
$schema:
|
|
416
|
+
$schema: $SCHEMA,
|
|
416
417
|
data,
|
|
417
418
|
compConfig: {
|
|
418
419
|
componentType: 'formField',
|
|
@@ -31,7 +31,7 @@ declare const data: import("@sinclair/typebox").TObject<{
|
|
|
31
31
|
}>;
|
|
32
32
|
}>;
|
|
33
33
|
declare const config: {
|
|
34
|
-
readonly $schema:
|
|
34
|
+
readonly $schema: string;
|
|
35
35
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
36
36
|
name: import("@sinclair/typebox").TString;
|
|
37
37
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const events = [
|
|
3
4
|
{
|
|
4
5
|
title: '选择定位坐标改变',
|
|
@@ -287,7 +288,7 @@ const data = Type.Object({
|
|
|
287
288
|
}),
|
|
288
289
|
});
|
|
289
290
|
const config = defineConfig({
|
|
290
|
-
$schema:
|
|
291
|
+
$schema: $SCHEMA,
|
|
291
292
|
data,
|
|
292
293
|
properties: Type.Pick(data, ['value']),
|
|
293
294
|
compConfig: {
|
|
@@ -21,7 +21,7 @@ declare const events: readonly [{
|
|
|
21
21
|
readonly name: "cancel";
|
|
22
22
|
}];
|
|
23
23
|
declare const config: {
|
|
24
|
-
readonly $schema:
|
|
24
|
+
readonly $schema: string;
|
|
25
25
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
26
26
|
name: import("@sinclair/typebox").TString;
|
|
27
27
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -169,7 +170,7 @@ const events = [
|
|
|
169
170
|
},
|
|
170
171
|
];
|
|
171
172
|
const config = defineConfig({
|
|
172
|
-
$schema:
|
|
173
|
+
$schema: $SCHEMA,
|
|
173
174
|
data,
|
|
174
175
|
properties: Type.Pick(data, ['value']),
|
|
175
176
|
compConfig: {
|
|
@@ -31,7 +31,7 @@ declare const events: readonly [{
|
|
|
31
31
|
readonly name: "clear";
|
|
32
32
|
}];
|
|
33
33
|
declare const config: {
|
|
34
|
-
readonly $schema:
|
|
34
|
+
readonly $schema: string;
|
|
35
35
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
36
36
|
name: import("@sinclair/typebox").TString;
|
|
37
37
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -208,7 +209,7 @@ const events = [
|
|
|
208
209
|
},
|
|
209
210
|
];
|
|
210
211
|
const config = defineConfig({
|
|
211
|
-
$schema:
|
|
212
|
+
$schema: $SCHEMA,
|
|
212
213
|
data,
|
|
213
214
|
compConfig: {
|
|
214
215
|
componentType: 'formField',
|
|
@@ -22,7 +22,7 @@ declare const events: readonly [{
|
|
|
22
22
|
readonly name: "change";
|
|
23
23
|
}];
|
|
24
24
|
declare const config: {
|
|
25
|
-
readonly $schema:
|
|
25
|
+
readonly $schema: string;
|
|
26
26
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
27
27
|
name: import("@sinclair/typebox").TString;
|
|
28
28
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -235,7 +236,7 @@ const events = [
|
|
|
235
236
|
},
|
|
236
237
|
];
|
|
237
238
|
const config = defineConfig({
|
|
238
|
-
$schema:
|
|
239
|
+
$schema: $SCHEMA,
|
|
239
240
|
data,
|
|
240
241
|
events,
|
|
241
242
|
compConfig: {
|
|
@@ -21,7 +21,7 @@ declare const events: readonly [{
|
|
|
21
21
|
readonly name: "cancel";
|
|
22
22
|
}];
|
|
23
23
|
declare const config: {
|
|
24
|
-
readonly $schema:
|
|
24
|
+
readonly $schema: string;
|
|
25
25
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
26
26
|
name: import("@sinclair/typebox").TString;
|
|
27
27
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -161,7 +162,7 @@ const events = [
|
|
|
161
162
|
},
|
|
162
163
|
];
|
|
163
164
|
const config = defineConfig({
|
|
164
|
-
$schema:
|
|
165
|
+
$schema: $SCHEMA,
|
|
165
166
|
data,
|
|
166
167
|
compConfig: {
|
|
167
168
|
componentType: 'formField',
|
|
@@ -20,7 +20,7 @@ declare const events: readonly [{
|
|
|
20
20
|
readonly description: "组件中的数据内容发生改变时触发";
|
|
21
21
|
}];
|
|
22
22
|
declare const config: {
|
|
23
|
-
readonly $schema:
|
|
23
|
+
readonly $schema: string;
|
|
24
24
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
25
25
|
maxSize: import("@sinclair/typebox").TNumber;
|
|
26
26
|
acceptTypes: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"image/*" | "image/jpeg" | "image/png" | "image/bmp" | "image/tif" | "image/tiff">>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
maxSize: Type.Number({
|
|
4
5
|
type: 'number',
|
|
@@ -168,7 +169,7 @@ const events = [
|
|
|
168
169
|
},
|
|
169
170
|
];
|
|
170
171
|
const config = defineConfig({
|
|
171
|
-
$schema:
|
|
172
|
+
$schema: $SCHEMA,
|
|
172
173
|
data,
|
|
173
174
|
properties: Type.Pick(data, ['value']),
|
|
174
175
|
events,
|
|
@@ -30,7 +30,7 @@ declare const events: readonly [{
|
|
|
30
30
|
readonly name: "cancel";
|
|
31
31
|
}];
|
|
32
32
|
declare const config: {
|
|
33
|
-
readonly $schema:
|
|
33
|
+
readonly $schema: string;
|
|
34
34
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
35
35
|
name: import("@sinclair/typebox").TString;
|
|
36
36
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -322,7 +323,7 @@ const events = [
|
|
|
322
323
|
},
|
|
323
324
|
];
|
|
324
325
|
const config = defineConfig({
|
|
325
|
-
$schema:
|
|
326
|
+
$schema: $SCHEMA,
|
|
326
327
|
data,
|
|
327
328
|
properties: Type.Pick(data, ['value']),
|
|
328
329
|
events,
|
|
@@ -37,7 +37,7 @@ declare const events: readonly [{
|
|
|
37
37
|
}>;
|
|
38
38
|
}];
|
|
39
39
|
declare const config: {
|
|
40
|
-
readonly $schema:
|
|
40
|
+
readonly $schema: string;
|
|
41
41
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
42
42
|
name: import("@sinclair/typebox").TString;
|
|
43
43
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -330,7 +331,7 @@ const events = [
|
|
|
330
331
|
},
|
|
331
332
|
];
|
|
332
333
|
const config = defineConfig({
|
|
333
|
-
$schema:
|
|
334
|
+
$schema: $SCHEMA,
|
|
334
335
|
data,
|
|
335
336
|
properties: Type.Pick(data, ['value']),
|
|
336
337
|
events,
|
|
@@ -15,7 +15,7 @@ declare const events: readonly [{
|
|
|
15
15
|
readonly name: "change";
|
|
16
16
|
}];
|
|
17
17
|
declare const config: {
|
|
18
|
-
readonly $schema:
|
|
18
|
+
readonly $schema: string;
|
|
19
19
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
20
20
|
name: import("@sinclair/typebox").TString;
|
|
21
21
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
const data = Type.Object({
|
|
3
4
|
name: Type.String({
|
|
4
5
|
type: 'string',
|
|
@@ -112,7 +113,7 @@ const events = [
|
|
|
112
113
|
},
|
|
113
114
|
];
|
|
114
115
|
const config = defineConfig({
|
|
115
|
-
$schema:
|
|
116
|
+
$schema: $SCHEMA,
|
|
116
117
|
data,
|
|
117
118
|
compConfig: {
|
|
118
119
|
componentType: 'formField',
|
|
@@ -32,7 +32,7 @@ declare const events: readonly [{
|
|
|
32
32
|
readonly name: "confirm";
|
|
33
33
|
}];
|
|
34
34
|
declare const config: {
|
|
35
|
-
$schema:
|
|
35
|
+
$schema: string;
|
|
36
36
|
data: import("@sinclair/typebox").TObject<{
|
|
37
37
|
name: import("@sinclair/typebox").TString;
|
|
38
38
|
label: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { defineConfig, Tuple, Type } from '../type-utils';
|
|
2
|
+
import { $SCHEMA } from '../utils/constants';
|
|
2
3
|
// import { commonRequiredDataForm } from './common/form-input-required';
|
|
3
4
|
const data = Type.Object({
|
|
4
5
|
name: Type.String({
|
|
@@ -212,7 +213,7 @@ const events = [
|
|
|
212
213
|
},
|
|
213
214
|
];
|
|
214
215
|
const config = defineConfig({
|
|
215
|
-
$schema:
|
|
216
|
+
$schema: $SCHEMA,
|
|
216
217
|
data,
|
|
217
218
|
events,
|
|
218
219
|
compConfig: {
|
|
@@ -23,7 +23,7 @@ declare const events: readonly [{
|
|
|
23
23
|
readonly name: "cancel";
|
|
24
24
|
}];
|
|
25
25
|
declare const config: {
|
|
26
|
-
readonly $schema:
|
|
26
|
+
readonly $schema: string;
|
|
27
27
|
readonly data: import("@sinclair/typebox").TObject<{
|
|
28
28
|
name: import("@sinclair/typebox").TString;
|
|
29
29
|
label: import("@sinclair/typebox").TString;
|