@cloudbase/weda-ui 2.0.10 → 2.0.26
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/README.md +1 -0
- package/package.json +47 -36
- package/src/configs/components/button.json +60 -13
- package/src/configs/components/calendar.json +3 -3
- package/src/configs/components/carousel.json +57 -47
- package/src/configs/components/chart/bar.json +4 -13
- package/src/configs/components/chart/line.json +4 -13
- package/src/configs/components/chart/pie.json +3 -10
- package/src/configs/components/chart/statisticsCard.json +1 -4
- package/src/configs/components/container.json +1 -3
- package/src/configs/components/dataView.json +7 -15
- package/src/configs/components/drawer.json +24 -6
- package/src/configs/components/form/form.json +19 -0
- package/src/configs/components/form/input.json +20 -5
- package/src/configs/components/form/location.json +51 -48
- package/src/configs/components/form/radio.json +1 -3
- package/src/configs/components/form/richText.json +14 -14
- package/src/configs/components/form/select.json +62 -82
- package/src/configs/components/form/textarea.json +14 -1
- package/src/configs/components/form/uploader.json +64 -64
- package/src/configs/components/form/uploaderFile.json +1 -2
- package/src/configs/components/graphicCard.json +44 -45
- package/src/configs/components/image.json +44 -40
- package/src/configs/components/link.json +5 -10
- package/src/configs/components/listView.json +2 -8
- package/src/configs/components/lottery.json +7 -3
- package/src/configs/components/modal.json +26 -21
- package/src/configs/components/navLayout.json +68 -68
- package/src/configs/components/navigationBar.json +4 -1
- package/src/configs/components/richtextview.json +1 -1
- package/src/configs/components/scrollVeiw.json +14 -42
- package/src/configs/components/swiper.json +9 -9
- package/src/configs/components/wedaVideo.json +89 -0
- package/src/configs/components/wxOpenApi/phone.json +7 -21
- package/src/configs/components/wxOpenApi/phoneCode.json +7 -19
- package/src/configs/components/wxOpenApi/share.json +14 -24
- package/src/configs/components/wxOpenApi/userInfo.json +9 -27
- package/src/configs/index.js +2 -0
- package/src/mp/components/button/index.js +1 -1
- package/src/mp/components/button/index.wxml +19 -19
- package/src/mp/components/calendar/index.js +68 -38
- package/src/mp/components/calendar/index.json +3 -2
- package/src/mp/components/calendar/index.wxml +5 -7
- package/src/mp/components/calendar/index.wxss +17 -16
- package/src/mp/components/carousel/index.json +1 -1
- package/src/mp/components/carousel/index.wxml +2 -2
- package/src/mp/components/chart/bar/index.js +1 -2
- package/src/mp/components/chart/bar/index.wxml +1 -1
- package/src/mp/components/chart/common/config/bar.js +1 -1
- package/src/mp/components/chart/common/core/eChartBar.js +29 -34
- package/src/mp/components/chart/common/core/eChartBase.js +46 -32
- package/src/mp/components/chart/common/core/eChartLine.js +34 -40
- package/src/mp/components/chart/common/core/eChartPie.js +12 -9
- package/src/mp/components/chart/ec-canvas/ec-canvas.json +1 -1
- package/src/mp/components/chart/ec-canvas/wx-canvas.js +24 -22
- package/src/mp/components/chart/line/index.js +2 -2
- package/src/mp/components/chart/line/index.wxml +1 -1
- package/src/mp/components/chart/pie/index.js +1 -1
- package/src/mp/components/chart/pie/index.wxml +1 -2
- package/src/mp/components/chart/statisticsCard/index.wxss +7 -10
- package/src/mp/components/dataView/index.wxml +2 -14
- package/src/mp/components/form/checkbox/index.js +15 -7
- package/src/mp/components/form/checkbox/index.wxml +13 -25
- package/src/mp/components/form/form/index.wxml +3 -3
- package/src/mp/components/form/formcell/index.wxml +9 -9
- package/src/mp/components/form/formcell/index.wxss +6 -1
- package/src/mp/components/form/input/index.js +4 -4
- package/src/mp/components/form/input/index.wxml +24 -31
- package/src/mp/components/form/input/index.wxss +9 -3
- package/src/mp/components/form/location/components/mapChoose/index.json +1 -1
- package/src/mp/components/form/location/components/mapChoose/index.wxml +6 -6
- package/src/mp/components/form/location/index.js +7 -1
- package/src/mp/components/form/location/index.json +1 -1
- package/src/mp/components/form/location/index.wxml +6 -10
- package/src/mp/components/form/radio/index.js +14 -6
- package/src/mp/components/form/radio/index.wxml +12 -24
- package/src/mp/components/form/select/index.js +157 -98
- package/src/mp/components/form/select/index.wxml +11 -39
- package/src/mp/components/form/select/index.wxss +10 -1
- package/src/mp/components/form/select/region/index.js +18 -12
- package/src/mp/components/form/switch/index.wxml +11 -18
- package/src/mp/components/form/textarea/index.js +6 -0
- package/src/mp/components/form/textarea/index.wxml +2 -17
- package/src/mp/components/form/textarea/index.wxss +5 -0
- package/src/mp/components/form/tips/index.wxml +1 -3
- package/src/mp/components/form/uploader/index.js +1 -1
- package/src/mp/components/form/uploader/index.wxml +3 -20
- package/src/mp/components/form/uploader/weui-uploader.js +210 -200
- package/src/mp/components/form/uploader/weui-uploader.json +6 -6
- package/src/mp/components/form/uploader/weui-uploader.wxml +38 -38
- package/src/mp/components/form/uploaderFile/index.js +5 -4
- package/src/mp/components/form/uploaderFile/index.wxml +40 -41
- package/src/mp/components/graphicCard/index.js +35 -35
- package/src/mp/components/graphicCard/index.wxml +2 -6
- package/src/mp/components/graphicCard/index.wxss +6 -6
- package/src/mp/components/image/index.wxml +9 -20
- package/src/mp/components/image/index.wxss +3 -1
- package/src/mp/components/listView/index.wxml +5 -7
- package/src/mp/components/listView/index.wxss +2 -2
- package/src/mp/components/lottery/index.wxml +1 -3
- package/src/mp/components/lottery/index.wxss +31 -25
- package/src/mp/components/navLayout/index.js +9 -12
- package/src/mp/components/navLayout/index.wxml +2 -4
- package/src/mp/components/navLayout/index.wxss +10 -10
- package/src/mp/components/navigationBar/index.json +1 -2
- package/src/mp/components/navigationBar/index.wxml +43 -51
- package/src/mp/components/navigationBar/index.wxss +10 -10
- package/src/mp/components/richText/index.wxml +1 -1
- package/src/mp/components/richText/index.wxss +7 -5
- package/src/mp/components/swiper/index.wxml +1 -9
- package/src/mp/components/tabs/index.js +14 -10
- package/src/mp/components/tabs/index.json +1 -1
- package/src/mp/components/tabs/index.wxml +3 -21
- package/src/mp/components/tabs/index.wxss +1 -2
- package/src/mp/components/text/index.wxml +1 -6
- package/src/mp/components/text/index.wxss +1 -1
- package/src/mp/components/wedaVideo/index.js +86 -0
- package/src/mp/components/wedaVideo/index.json +4 -0
- package/src/mp/components/wedaVideo/index.wxml +4 -0
- package/src/mp/components/wedaVideo/index.wxss +20 -0
- package/src/mp/components/wxOpenApi/phone/index.js +1 -9
- package/src/mp/components/wxOpenApi/phone/index.wxml +3 -14
- package/src/mp/components/wxOpenApi/phoneCode/index.json +1 -1
- package/src/mp/components/wxOpenApi/phoneCode/index.wxml +3 -14
- package/src/mp/components/wxOpenApi/share/index.wxml +3 -14
- package/src/mp/components/wxOpenApi/userInfo/index.wxml +3 -13
- package/src/mp/index.json +1 -0
- package/src/mp/style/weda-ui.wxss +24 -9
- package/src/mp/utils/deepEqual.js +37 -37
- package/src/mp/utils/destr.js +41 -40
- package/src/mp/utils/dr_square_point.js +10 -6
- package/src/setupTests.js +13 -13
- package/src/web/actions/showModal/index.tsx +5 -4
- package/src/web/components/button/index.tsx +44 -40
- package/src/web/components/calendar/index.css +99 -65
- package/src/web/components/carousel/index.tsx +1 -1
- package/src/web/components/chart/common/config/bar.js +1 -1
- package/src/web/components/chart/common/core/eChartBar.js +28 -34
- package/src/web/components/chart/common/core/eChartBase.ts +55 -42
- package/src/web/components/chart/common/core/eChartLine.js +34 -40
- package/src/web/components/chart/common/core/eChartPie.js +12 -9
- package/src/web/components/chart/common/core/type.ts +23 -23
- package/src/web/components/chart/common/echart.css +12 -12
- package/src/web/components/chart/common/echarts.ts +3 -5
- package/src/web/components/chart/common/useChart.tsx +34 -16
- package/src/web/components/chart/statisticsCard/index.css +9 -8
- package/src/web/components/container/index.tsx +3 -4
- package/src/web/components/drawer/index.tsx +15 -4
- package/src/web/components/form/checkbox/index.tsx +32 -31
- package/src/web/components/form/enumSelect/NormalSelect.tsx +0 -2
- package/src/web/components/form/form/index.css +3 -6
- package/src/web/components/form/form/index.tsx +7 -6
- package/src/web/components/form/formcell/index.css +11 -18
- package/src/web/components/form/formcell/index.tsx +3 -7
- package/src/web/components/form/input/index.css +8 -4
- package/src/web/components/form/input/index.tsx +61 -53
- package/src/web/components/form/location/common/mapChoose.css +13 -11
- package/src/web/components/form/location/common/selectModal.jsx +2 -11
- package/src/web/components/form/location/common/useLocationInfo.js +4 -0
- package/src/web/components/form/location/components/LocationH5/index.css +19 -20
- package/src/web/components/form/location/components/LocationH5/location.h5.jsx +11 -1
- package/src/web/components/form/location/components/LocationPC/Header.jsx +0 -13
- package/src/web/components/form/location/components/LocationPC/location.PC.jsx +14 -5
- package/src/web/components/form/radio/index.tsx +32 -26
- package/src/web/components/form/renderDecorator.tsx +23 -26
- package/src/web/components/form/select/h5.tsx +155 -104
- package/src/web/components/form/select/index.css +9 -3
- package/src/web/components/form/select/index.tsx +76 -49
- package/src/web/components/form/select/region/index.ts +101 -80
- package/src/web/components/form/select/year.tsx +2 -0
- package/src/web/components/form/switch/index.tsx +40 -40
- package/src/web/components/form/textarea/index.css +4 -0
- package/src/web/components/form/textarea/index.tsx +39 -26
- package/src/web/components/form/types.d.ts +10 -10
- package/src/web/components/form/uploader/index.css +10 -0
- package/src/web/components/form/uploader/uploader.h5.tsx +29 -26
- package/src/web/components/form/uploader/uploader.pc.tsx +3 -6
- package/src/web/components/form/uploaderFile/index.css +24 -23
- package/src/web/components/form/uploaderFile/index.jsx +0 -5
- package/src/web/components/form/uploaderFile/uploadFile.h5.tsx +24 -15
- package/src/web/components/form/uploaderFile/uploadFile.pc.tsx +21 -13
- package/src/web/components/graphicCard/index.css +6 -6
- package/src/web/components/image/image.tsx +2 -2
- package/src/web/components/image/index.css +9 -7
- package/src/web/components/image/index.tsx +29 -12
- package/src/web/components/index.js +1 -0
- package/src/web/components/link/index.tsx +13 -13
- package/src/web/components/listView/index.css +8 -8
- package/src/web/components/lottery/index.css +43 -37
- package/src/web/components/lottery/index.tsx +3 -3
- package/src/web/components/modal/index.tsx +34 -34
- package/src/web/components/navLayout/index.css +25 -25
- package/src/web/components/navLayout/index.tsx +1 -1
- package/src/web/components/navigationBar/index.css +26 -26
- package/src/web/components/navigationBar/index.tsx +2 -2
- package/src/web/components/picker/datePicker.tsx +3 -3
- package/src/web/components/picker/picker.tsx +3 -3
- package/src/web/components/picker/timePicker.tsx +1 -1
- package/src/web/components/richText/index.jsx +41 -46
- package/src/web/components/richTextView/index.css +7 -3
- package/src/web/components/richTextView/index.tsx +4 -6
- package/src/web/components/scrollView/index.tsx +2 -2
- package/src/web/components/slot/index.tsx +3 -4
- package/src/web/components/swiper/index.css +1 -1
- package/src/web/components/swiper/index.tsx +33 -15
- package/src/web/components/tabs/index.css +2 -3
- package/src/web/components/tabs/index.tsx +6 -6
- package/src/web/components/tabs/tabs.h5.tsx +17 -12
- package/src/web/components/tabs/tabs.pc.tsx +45 -34
- package/src/web/components/text/index.css +1 -1
- package/src/web/components/text/index.tsx +13 -14
- package/src/web/components/wedaVideo/index.css +42 -0
- package/src/web/components/wedaVideo/index.tsx +208 -0
- package/src/web/utils/constant.ts +2 -1
- package/src/web/utils/isObjectEqual.js +2 -1
- package/src/web/utils/loading-fallback.tsx +2 -2
- package/src/web/utils/lodash.ts +1 -1
- package/src/web/utils/platform.js +13 -0
- package/src/web/utils/useSetState.ts +6 -2
- package/src/web/weda-ui.css +23 -8
- package/src/docs/common/format.tsx +0 -112
- package/src/docs/common/tableView.css +0 -164
- package/src/docs/common/tableView.tsx +0 -273
- package/src/docs/compsdocs/chart/Bar.mdx +0 -159
- package/src/docs/compsdocs/chart/Line.mdx +0 -100
- package/src/docs/compsdocs/chart/Pie.mdx +0 -83
- package/src/docs/compsdocs/chart/_category_.json +0 -1
- package/src/docs/compsdocs/chart/statisticsCard.mdx +0 -51
- package/src/docs/compsdocs/database/DataView.mdx +0 -33
- package/src/docs/compsdocs/database/ListView.mdx +0 -33
- package/src/docs/compsdocs/database/_category_.json +0 -1
- package/src/docs/compsdocs/form/Form.mdx +0 -35
- package/src/docs/compsdocs/form/FormCheckbox.mdx +0 -35
- package/src/docs/compsdocs/form/FormDate.mdx +0 -30
- package/src/docs/compsdocs/form/FormEmail.mdx +0 -30
- package/src/docs/compsdocs/form/FormImageUploader.mdx +0 -31
- package/src/docs/compsdocs/form/FormInput.mdx +0 -30
- package/src/docs/compsdocs/form/FormLocation.mdx +0 -64
- package/src/docs/compsdocs/form/FormPhone.mdx +0 -30
- package/src/docs/compsdocs/form/FormRadio.mdx +0 -35
- package/src/docs/compsdocs/form/FormRegion.mdx +0 -30
- package/src/docs/compsdocs/form/FormSelect.mdx +0 -36
- package/src/docs/compsdocs/form/FormSwitch.mdx +0 -30
- package/src/docs/compsdocs/form/FormTextarea.mdx +0 -30
- package/src/docs/compsdocs/form/FormTime.mdx +0 -30
- package/src/docs/compsdocs/form/FormUploadFile.mdx +0 -30
- package/src/docs/compsdocs/form/FormUrl.mdx +0 -30
- package/src/docs/compsdocs/form/_category_.json +0 -1
- package/src/docs/compsdocs/grid/Card.mdx +0 -32
- package/src/docs/compsdocs/grid/Container.mdx +0 -42
- package/src/docs/compsdocs/grid/Footer.mdx +0 -31
- package/src/docs/compsdocs/grid/GridLayout.mdx +0 -32
- package/src/docs/compsdocs/grid/Header.mdx +0 -31
- package/src/docs/compsdocs/grid/Layout.mdx +0 -25
- package/src/docs/compsdocs/grid/List.mdx +0 -31
- package/src/docs/compsdocs/grid/ScrollView.mdx +0 -37
- package/src/docs/compsdocs/grid/Swiper.mdx +0 -58
- package/src/docs/compsdocs/grid/_category_.json +0 -1
- package/src/docs/compsdocs/media/Icon.mdx +0 -31
- package/src/docs/compsdocs/media/Image.mdx +0 -55
- package/src/docs/compsdocs/media/_category_.json +0 -1
- package/src/docs/compsdocs/model/ModelCreate.mdx +0 -20
- package/src/docs/compsdocs/model/ModelDetail.mdx +0 -20
- package/src/docs/compsdocs/model/ModelTable.mdx +0 -24
- package/src/docs/compsdocs/model/ModelUpdate.mdx +0 -21
- package/src/docs/compsdocs/model/PageLayout.mdx +0 -21
- package/src/docs/compsdocs/model/_category_.json +0 -1
- package/src/docs/compsdocs/navmenu/Classification.mdx +0 -38
- package/src/docs/compsdocs/navmenu/NavBar.mdx +0 -43
- package/src/docs/compsdocs/navmenu/NavLayout.mdx +0 -30
- package/src/docs/compsdocs/navmenu/TabBar.mdx +0 -43
- package/src/docs/compsdocs/navmenu/TabBarItem.mdx +0 -29
- package/src/docs/compsdocs/navmenu/_category_.json +0 -1
- package/src/docs/compsdocs/senior/Lottery.mdx +0 -48
- package/src/docs/compsdocs/senior/Modal.mdx +0 -58
- package/src/docs/compsdocs/senior/SlotMachine.mdx +0 -52
- package/src/docs/compsdocs/senior/_category_.json +0 -1
- package/src/docs/compsdocs/show/Calendar.mdx +0 -29
- package/src/docs/compsdocs/show/Divider.mdx +0 -31
- package/src/docs/compsdocs/show/GraphicCard.mdx +0 -30
- package/src/docs/compsdocs/show/Item.mdx +0 -32
- package/src/docs/compsdocs/show/ItemList.mdx +0 -47
- package/src/docs/compsdocs/show/Media.mdx +0 -25
- package/src/docs/compsdocs/show/StatusTip.mdx +0 -25
- package/src/docs/compsdocs/show/Swiper.mdx +0 -33
- package/src/docs/compsdocs/show/Tabs.mdx +0 -38
- package/src/docs/compsdocs/show/_category_.json +0 -1
- package/src/docs/compsdocs/show/button.mdx +0 -25
- package/src/docs/compsdocs/text/Link.mdx +0 -43
- package/src/docs/compsdocs/text/RichTextView.mdx +0 -36
- package/src/docs/compsdocs/text/Text.mdx +0 -31
- package/src/docs/compsdocs/text/Title.mdx +0 -32
- package/src/docs/compsdocs/text/_category_.json +0 -1
- package/src/docs/compsdocs/wxOpen/Phone.mdx +0 -60
- package/src/docs/compsdocs/wxOpen/Share.mdx +0 -46
- package/src/docs/compsdocs/wxOpen/UserInfo.mdx +0 -60
- package/src/docs/compsdocs/wxOpen/_category_.json +0 -4
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/weda-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.26",
|
|
4
4
|
"main": "./src/index.js",
|
|
5
5
|
"module": "./src/index",
|
|
6
6
|
"miniprogram": "mpdist",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
11
|
"src",
|
|
12
|
+
"!src/docs",
|
|
12
13
|
"!src/test",
|
|
13
14
|
"!src/stories",
|
|
14
15
|
"!src/web/wedatheme/postcss.config.js",
|
|
@@ -22,8 +23,8 @@
|
|
|
22
23
|
"dev": "tcb lowcode debug",
|
|
23
24
|
"build:cli": "tcb lowcode build",
|
|
24
25
|
"build:analyze": "cross-env ANALYZER=1 tcb lowcode build",
|
|
25
|
-
"test": "
|
|
26
|
-
"test:jest": "jest test --env=jsdom
|
|
26
|
+
"test": "npm run test:jest",
|
|
27
|
+
"test:jest": "jest test --env=jsdom",
|
|
27
28
|
"test:watch": "jest test --env=jsdom --watch",
|
|
28
29
|
"test:e2e": "npx cypress run-ct",
|
|
29
30
|
"test:all": "npm run test && npm run test:e2e",
|
|
@@ -58,9 +59,9 @@
|
|
|
58
59
|
"dependencies": {
|
|
59
60
|
"@cloudbase/ui-react": "^1.0.4",
|
|
60
61
|
"@loadable/component": "^5.15.2",
|
|
61
|
-
"@react-hookz/web": "^
|
|
62
|
-
"@tcwd/style-wedatheme": "^1.0.
|
|
63
|
-
"@use-gesture/react": "^10.2.
|
|
62
|
+
"@react-hookz/web": "^14.2.2",
|
|
63
|
+
"@tcwd/style-wedatheme": "^1.0.4",
|
|
64
|
+
"@use-gesture/react": "^10.2.14",
|
|
64
65
|
"braft-editor": "^2.3.9",
|
|
65
66
|
"braft-utils": "^3.0.12",
|
|
66
67
|
"dayjs": "^1.10.7",
|
|
@@ -74,6 +75,7 @@
|
|
|
74
75
|
"tdesign-icons-react": "0.0.8",
|
|
75
76
|
"tea-component": "^2.7.3",
|
|
76
77
|
"uuid": "8.3.2",
|
|
78
|
+
"video.js": "^7.18.1",
|
|
77
79
|
"weui": "^2.4.4",
|
|
78
80
|
"weui.js": "1.2.2"
|
|
79
81
|
},
|
|
@@ -81,75 +83,84 @@
|
|
|
81
83
|
"react": ">=16.8.0"
|
|
82
84
|
},
|
|
83
85
|
"devDependencies": {
|
|
84
|
-
"@babel/preset-env": "^7.
|
|
85
|
-
"@babel/preset-react": "^7.
|
|
86
|
-
"@babel/preset-typescript": "^7.
|
|
87
|
-
"@cloudbase/cli": "^1.12.4",
|
|
86
|
+
"@babel/preset-env": "^7.17.2",
|
|
87
|
+
"@babel/preset-react": "^7.17.2",
|
|
88
|
+
"@babel/preset-typescript": "^7.17.2",
|
|
88
89
|
"@cloudbase/lowcode-build-dependence": "^0.9.0",
|
|
89
90
|
"@commitlint/cli": "^16.0.2",
|
|
90
|
-
"@commitlint/config-conventional": "^
|
|
91
|
+
"@commitlint/config-conventional": "^17.0.0",
|
|
92
|
+
"@craco/craco": "^6.4.3",
|
|
91
93
|
"@cypress/code-coverage": "^3.9.12",
|
|
92
|
-
"@cypress/react": "^5.12.
|
|
93
|
-
"@cypress/webpack-dev-server": "~1.8.
|
|
94
|
+
"@cypress/react": "^5.12.5",
|
|
95
|
+
"@cypress/webpack-dev-server": "~1.8.4",
|
|
94
96
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
95
|
-
"@size-limit/preset-big-lib": "^7.0.
|
|
97
|
+
"@size-limit/preset-big-lib": "^7.0.8",
|
|
96
98
|
"@storybook/addon-actions": "^6.4.9",
|
|
97
99
|
"@storybook/addon-essentials": "^6.4.9",
|
|
98
100
|
"@storybook/addon-links": "^6.4.9",
|
|
99
101
|
"@storybook/addon-storyshots": "^6.4.9",
|
|
100
102
|
"@storybook/react": "^6.4.9",
|
|
103
|
+
"@swc-node/jest": "^1.5.2",
|
|
101
104
|
"@testing-library/jest-dom": "^5.16.1",
|
|
102
105
|
"@testing-library/react": "^12.1.2",
|
|
103
106
|
"@testing-library/react-hooks": "^7.0.2",
|
|
104
|
-
"@types/jest": "^27.
|
|
105
|
-
"@types/resize-observer-browser": "^0.1.
|
|
106
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
107
|
-
"@typescript-eslint/parser": "^5.
|
|
108
|
-
"babel-
|
|
109
|
-
"babel-loader": "^8.2.3",
|
|
107
|
+
"@types/jest": "^27.5.1",
|
|
108
|
+
"@types/resize-observer-browser": "^0.1.7",
|
|
109
|
+
"@typescript-eslint/eslint-plugin": "^5.25.0",
|
|
110
|
+
"@typescript-eslint/parser": "^5.25.0",
|
|
111
|
+
"babel-loader": "^8.2.5",
|
|
110
112
|
"babel-plugin-istanbul": "^6.1.1",
|
|
111
|
-
"canvas": "^2.9.0",
|
|
112
113
|
"cross-env": "^7.0.3",
|
|
113
|
-
"cypress": "~9.
|
|
114
|
-
"eslint": "^8.
|
|
115
|
-
"eslint-config-
|
|
114
|
+
"cypress": "~9.6.1",
|
|
115
|
+
"eslint": "^8.15.0",
|
|
116
|
+
"eslint-config-prettier": "^8.5.0",
|
|
117
|
+
"eslint-config-tencent": "^1.0.4",
|
|
116
118
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
117
119
|
"eslint-plugin-cypress": "^2.12.1",
|
|
118
120
|
"eslint-plugin-import": "^2.26.0",
|
|
119
|
-
"eslint-plugin-jest": "^26.
|
|
120
|
-
"eslint-plugin-
|
|
121
|
+
"eslint-plugin-jest": "^26.2.2",
|
|
122
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
123
|
+
"eslint-plugin-react": "^7.30.0",
|
|
121
124
|
"eslint-plugin-rulesdir": "^0.2.1",
|
|
122
|
-
"husky": "^
|
|
125
|
+
"husky": "^8.0.1",
|
|
123
126
|
"identity-obj-proxy": "^3.0.0",
|
|
124
127
|
"jest": "^27.5.1",
|
|
128
|
+
"jest-canvas-mock": "^2.4.0",
|
|
129
|
+
"jest-environment-jsdom": "^27",
|
|
125
130
|
"less": "^4.1.2",
|
|
126
|
-
"miniprogram-simulate": "^1.
|
|
127
|
-
"nano-staged": "^0.
|
|
131
|
+
"miniprogram-simulate": "^1.5.7",
|
|
132
|
+
"nano-staged": "^0.8.0",
|
|
133
|
+
"prettier": "^2.6.2",
|
|
128
134
|
"react": "^17.0.2",
|
|
129
135
|
"react-dom": "^17.0.2",
|
|
130
136
|
"react-scripts": "^4.0.3",
|
|
131
137
|
"react-test-renderer": "^17.0.2",
|
|
132
138
|
"regenerator-runtime": "^0.13.9",
|
|
133
139
|
"rimraf": "^3.0.2",
|
|
134
|
-
"size-limit": "^7.0.
|
|
135
|
-
"
|
|
140
|
+
"size-limit": "^7.0.8",
|
|
141
|
+
"swc-loader": "0.1.15",
|
|
142
|
+
"swc-plugin-coverage-instrument": "^0.0.6",
|
|
136
143
|
"ts-loader": "^8.2.0",
|
|
137
|
-
"typescript": "^4.
|
|
144
|
+
"typescript": "^4.6.4",
|
|
138
145
|
"webpack": "4.44.2",
|
|
139
|
-
"webpack-cli": "^4.9.
|
|
140
|
-
"webpack-dev-server": "^4.
|
|
146
|
+
"webpack-cli": "^4.9.2",
|
|
147
|
+
"webpack-dev-server": "^4.9.0",
|
|
141
148
|
"zx": "^5.2.0"
|
|
142
149
|
},
|
|
143
150
|
"nano-staged": {
|
|
144
151
|
"*.{js,jsx,ts,tsx}": [
|
|
145
|
-
"eslint --fix"
|
|
152
|
+
"eslint --fix",
|
|
153
|
+
"prettier --write"
|
|
154
|
+
],
|
|
155
|
+
"*.{json,html,wxml,wxss}": [
|
|
156
|
+
"prettier -w"
|
|
146
157
|
]
|
|
147
158
|
},
|
|
148
159
|
"size-limit": [
|
|
149
160
|
{
|
|
150
161
|
"path": ".temp/dist/*.main.*",
|
|
151
162
|
"webpack": false,
|
|
152
|
-
"limit": "
|
|
163
|
+
"limit": "1300 KB"
|
|
153
164
|
}
|
|
154
165
|
],
|
|
155
166
|
"nyc": {
|
|
@@ -102,12 +102,30 @@
|
|
|
102
102
|
}
|
|
103
103
|
],
|
|
104
104
|
"enum": [
|
|
105
|
-
{
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
{
|
|
110
|
-
|
|
105
|
+
{
|
|
106
|
+
"label": "无",
|
|
107
|
+
"value": ""
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"label": "打开客服会话",
|
|
111
|
+
"value": "contact"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"label": "转发",
|
|
115
|
+
"value": "share"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"label": "打开App",
|
|
119
|
+
"value": "launchApp"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"label": "打开授权设置",
|
|
123
|
+
"value": "openSetting"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"label": "打开意见反馈",
|
|
127
|
+
"value": "feedback"
|
|
128
|
+
}
|
|
111
129
|
],
|
|
112
130
|
"x-platforms": ["MP"],
|
|
113
131
|
"x-category": "高级属性"
|
|
@@ -151,7 +169,13 @@
|
|
|
151
169
|
"sendMessageImg": {
|
|
152
170
|
"title": "会话内消息卡片图片",
|
|
153
171
|
"type": "string",
|
|
154
|
-
"x-
|
|
172
|
+
"x-component": "image",
|
|
173
|
+
"x-rules": [
|
|
174
|
+
{
|
|
175
|
+
"message": "请输入合法的图片地址",
|
|
176
|
+
"pattern": "^(((https?)://)|/resources/)[^\\s]+$"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
155
179
|
"default": "",
|
|
156
180
|
"x-platforms": ["MP"],
|
|
157
181
|
"x-category": "高级属性"
|
|
@@ -173,12 +197,35 @@
|
|
|
173
197
|
}
|
|
174
198
|
},
|
|
175
199
|
"events": [
|
|
176
|
-
{
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
{
|
|
181
|
-
|
|
200
|
+
{
|
|
201
|
+
"title": "点击",
|
|
202
|
+
"name": "tap"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"title": "获取手机号",
|
|
206
|
+
"name": "getPhoneNumber",
|
|
207
|
+
"x-platforms": ["MP"]
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"title": "打开客服会话",
|
|
211
|
+
"name": "contact",
|
|
212
|
+
"x-platforms": ["MP"]
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"title": "获取用户信息",
|
|
216
|
+
"name": "getUserInfo",
|
|
217
|
+
"x-platforms": ["MP"]
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"title": "打开App",
|
|
221
|
+
"name": "launchApp",
|
|
222
|
+
"x-platforms": ["MP"]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"title": "打开授权设置",
|
|
226
|
+
"name": "openSetting",
|
|
227
|
+
"x-platforms": ["MP"]
|
|
228
|
+
}
|
|
182
229
|
],
|
|
183
230
|
"meta": {
|
|
184
231
|
"name": "Button",
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
"title": "日历展示时间",
|
|
8
8
|
"x-category": "基础属性",
|
|
9
9
|
"x-index": 1,
|
|
10
|
-
"remarks":"已选中效果展示的日期"
|
|
10
|
+
"remarks": "已选中效果展示的日期"
|
|
11
11
|
},
|
|
12
12
|
"configData": {
|
|
13
13
|
"type": "array",
|
|
14
14
|
"title": "展示配置",
|
|
15
15
|
"x-category": "基础属性",
|
|
16
|
-
"remarks":"可设置多个不同日期的特殊显示效果",
|
|
16
|
+
"remarks": "可设置多个不同日期的特殊显示效果",
|
|
17
17
|
"x-index": 2,
|
|
18
18
|
"items": {
|
|
19
19
|
"type": "object",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"title": "时间控制器",
|
|
65
65
|
"x-category": "基础属性",
|
|
66
66
|
"x-index": 3,
|
|
67
|
-
"remarks":"显示切换年月的操作按钮"
|
|
67
|
+
"remarks": "显示切换年月的操作按钮"
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
},
|
|
@@ -7,49 +7,49 @@
|
|
|
7
7
|
"default": true,
|
|
8
8
|
"type": "boolean",
|
|
9
9
|
"x-category": "基础属性",
|
|
10
|
-
"remarks":"开启后,轮播图将会自动根据配置的时间间隔进行自动滚动,关闭后则轮播图仅支持通过点击锚点的方式进行切换"
|
|
10
|
+
"remarks": "开启后,轮播图将会自动根据配置的时间间隔进行自动滚动,关闭后则轮播图仅支持通过点击锚点的方式进行切换"
|
|
11
11
|
},
|
|
12
12
|
"indicatorDots": {
|
|
13
13
|
"title": "导航锚点",
|
|
14
14
|
"default": true,
|
|
15
15
|
"type": "boolean",
|
|
16
16
|
"x-category": "高级属性",
|
|
17
|
-
"remarks":"开启/关闭轮播图锚点"
|
|
17
|
+
"remarks": "开启/关闭轮播图锚点"
|
|
18
18
|
},
|
|
19
19
|
"current": {
|
|
20
20
|
"title": "当前所在滑块的 index",
|
|
21
21
|
"default": 0,
|
|
22
22
|
"type": "number",
|
|
23
23
|
"x-category": "高级属性",
|
|
24
|
-
"remarks":"更改轮播图的默认展示位置,0为默认展示第一张轮播图,以此类推"
|
|
24
|
+
"remarks": "更改轮播图的默认展示位置,0为默认展示第一张轮播图,以此类推"
|
|
25
25
|
},
|
|
26
26
|
"interval": {
|
|
27
27
|
"title": "自动切换时间间隔",
|
|
28
28
|
"default": 5000,
|
|
29
29
|
"type": "number",
|
|
30
30
|
"x-category": "基础属性",
|
|
31
|
-
"remarks":"配置轮播图滚动的时间间隔,时间单位为ms"
|
|
31
|
+
"remarks": "配置轮播图滚动的时间间隔,时间单位为ms"
|
|
32
32
|
},
|
|
33
33
|
"duration": {
|
|
34
34
|
"title": "滑动动画时长",
|
|
35
35
|
"default": 500,
|
|
36
36
|
"type": "number",
|
|
37
37
|
"x-category": "高级属性",
|
|
38
|
-
"remarks":"更改轮播图切换时的滑动动画时长"
|
|
38
|
+
"remarks": "更改轮播图切换时的滑动动画时长"
|
|
39
39
|
},
|
|
40
40
|
"circular": {
|
|
41
41
|
"title": "衔接滑动",
|
|
42
42
|
"default": true,
|
|
43
43
|
"type": "boolean",
|
|
44
44
|
"x-category": "高级属性",
|
|
45
|
-
"remarks":"更改轮播图切换时动画的滑动方式"
|
|
45
|
+
"remarks": "更改轮播图切换时动画的滑动方式"
|
|
46
46
|
},
|
|
47
47
|
"vertical": {
|
|
48
48
|
"title": "纵向轮播",
|
|
49
49
|
"default": false,
|
|
50
50
|
"type": "boolean",
|
|
51
51
|
"x-category": "基础属性",
|
|
52
|
-
"remarks":"开启后,轮播的滚动方式将会由横向滚动变更为纵向滚动"
|
|
52
|
+
"remarks": "开启后,轮播的滚动方式将会由横向滚动变更为纵向滚动"
|
|
53
53
|
},
|
|
54
54
|
"indicatorColor": {
|
|
55
55
|
"title": "锚点颜色",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"x-component": "color",
|
|
58
58
|
"default": "rgba(200, 200, 200, 0.9)",
|
|
59
59
|
"x-category": "高级属性",
|
|
60
|
-
"remarks":"更改锚点普通状态下的颜色"
|
|
60
|
+
"remarks": "更改锚点普通状态下的颜色"
|
|
61
61
|
},
|
|
62
62
|
"indicatorActiveColor": {
|
|
63
63
|
"title": "锚点激活色",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"x-component": "color",
|
|
66
66
|
"default": "rgba(0, 0, 0, 0.9)",
|
|
67
67
|
"x-category": "高级属性",
|
|
68
|
-
"remarks":"更改锚点选中时的颜色"
|
|
68
|
+
"remarks": "更改锚点选中时的颜色"
|
|
69
69
|
},
|
|
70
70
|
"images": {
|
|
71
71
|
"type": "array",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"title": "图片1",
|
|
78
78
|
"height": "160px",
|
|
79
79
|
"width": "100%",
|
|
80
|
-
"tapMode":"tap",
|
|
81
|
-
"fit":"cover"
|
|
80
|
+
"tapMode": "tap",
|
|
81
|
+
"fit": "cover"
|
|
82
82
|
},
|
|
83
83
|
"properties": {
|
|
84
84
|
"title": {
|
|
@@ -89,6 +89,12 @@
|
|
|
89
89
|
},
|
|
90
90
|
"image": {
|
|
91
91
|
"type": "image",
|
|
92
|
+
"x-rules": [
|
|
93
|
+
{
|
|
94
|
+
"message": "请输入合法的图片地址",
|
|
95
|
+
"pattern": "^(((https?)://)|/resources/)[^\\s]+$"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
92
98
|
"title": "图片1",
|
|
93
99
|
"default": "https://main.qcloudimg.com/raw/828ee6644f137d166b063ad7f5dda842.png",
|
|
94
100
|
"x-index": 30
|
|
@@ -145,13 +151,17 @@
|
|
|
145
151
|
"value": "outer",
|
|
146
152
|
"label": "外部链接",
|
|
147
153
|
"icon": "weda-editor-icon-link",
|
|
148
|
-
"tooltip":[
|
|
149
|
-
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
"tooltip": [
|
|
155
|
+
{
|
|
156
|
+
"platform": ["ALL", "MP"],
|
|
157
|
+
"text": "小程序平台不支持跳转外部链接"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"disabled": [
|
|
161
|
+
{
|
|
162
|
+
"platform": ["MP"]
|
|
163
|
+
}
|
|
164
|
+
]
|
|
155
165
|
}
|
|
156
166
|
],
|
|
157
167
|
"x-component": "icon-text-radio",
|
|
@@ -188,17 +198,17 @@
|
|
|
188
198
|
"x-index": 120,
|
|
189
199
|
"x-component-props": {
|
|
190
200
|
"hideAddPlatform": ["MP"],
|
|
191
|
-
"addHidden":true
|
|
201
|
+
"addHidden": true
|
|
192
202
|
},
|
|
193
203
|
"x-linkages": [
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
204
|
+
{
|
|
205
|
+
"type": "value:state",
|
|
206
|
+
"target": "*(dataForm.params)",
|
|
207
|
+
"condition": "{{$self.value && $self.value.length>0}}",
|
|
208
|
+
"state": {
|
|
209
|
+
"pageId": "{{$self.value}}"
|
|
201
210
|
}
|
|
211
|
+
}
|
|
202
212
|
]
|
|
203
213
|
},
|
|
204
214
|
"outerUrl": {
|
|
@@ -206,7 +216,7 @@
|
|
|
206
216
|
"default": "",
|
|
207
217
|
"type": "string",
|
|
208
218
|
"placeholder": "外部链接请以http://或https://开头",
|
|
209
|
-
"description":"当前页面打开只支持https"
|
|
219
|
+
"description": "当前页面打开只支持https"
|
|
210
220
|
},
|
|
211
221
|
"newPage": {
|
|
212
222
|
"title": "打开新页面",
|
|
@@ -218,19 +228,19 @@
|
|
|
218
228
|
"default": false,
|
|
219
229
|
"type": "boolean",
|
|
220
230
|
"x-linkages": [
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
231
|
+
{
|
|
232
|
+
"type": "value:visible",
|
|
233
|
+
"target": "*(dataForm.params)",
|
|
234
|
+
"condition": "{{$self.value==true}}"
|
|
235
|
+
}
|
|
226
236
|
]
|
|
227
237
|
},
|
|
228
238
|
"params": {
|
|
229
239
|
"type": "array",
|
|
230
240
|
"title": "参数",
|
|
231
|
-
"pageId":"",
|
|
232
|
-
"default":[],
|
|
233
|
-
"x-component":"page-params"
|
|
241
|
+
"pageId": "",
|
|
242
|
+
"default": [],
|
|
243
|
+
"x-component": "page-params"
|
|
234
244
|
}
|
|
235
245
|
}
|
|
236
246
|
},
|
|
@@ -239,26 +249,26 @@
|
|
|
239
249
|
{
|
|
240
250
|
"image": "https://main.qcloudimg.com/raw/828ee6644f137d166b063ad7f5dda842.png",
|
|
241
251
|
"title": "图片1",
|
|
242
|
-
"fit":"cover",
|
|
243
|
-
"tapMode":"tap",
|
|
244
|
-
"height":"160px",
|
|
245
|
-
"width":"100%"
|
|
252
|
+
"fit": "cover",
|
|
253
|
+
"tapMode": "tap",
|
|
254
|
+
"height": "160px",
|
|
255
|
+
"width": "100%"
|
|
246
256
|
},
|
|
247
257
|
{
|
|
248
258
|
"image": "https://main.qcloudimg.com/raw/880b5277dc7d8f62fd6b5f964bee3af4.png",
|
|
249
259
|
"title": "图片2",
|
|
250
|
-
"fit":"cover",
|
|
251
|
-
"tapMode":"tap",
|
|
252
|
-
"height":"160px",
|
|
253
|
-
"width":"100%"
|
|
260
|
+
"fit": "cover",
|
|
261
|
+
"tapMode": "tap",
|
|
262
|
+
"height": "160px",
|
|
263
|
+
"width": "100%"
|
|
254
264
|
},
|
|
255
265
|
{
|
|
256
266
|
"image": "https://main.qcloudimg.com/raw/af8d7dff73fea17aa099876bc3a811fa.png",
|
|
257
267
|
"title": "图片3",
|
|
258
|
-
"fit":"cover",
|
|
259
|
-
"tapMode":"tap",
|
|
260
|
-
"height":"160px",
|
|
261
|
-
"width":"100%"
|
|
268
|
+
"fit": "cover",
|
|
269
|
+
"tapMode": "tap",
|
|
270
|
+
"height": "160px",
|
|
271
|
+
"width": "100%"
|
|
262
272
|
}
|
|
263
273
|
],
|
|
264
274
|
"x-component": "list"
|
|
@@ -272,9 +272,7 @@
|
|
|
272
272
|
"x-component-props": {
|
|
273
273
|
"dataSourceNamePropKey": "dataSource",
|
|
274
274
|
"isMethod": true,
|
|
275
|
-
"disabledTypes": [
|
|
276
|
-
"time"
|
|
277
|
-
]
|
|
275
|
+
"disabledTypes": ["time"]
|
|
278
276
|
},
|
|
279
277
|
"x-linkages": [
|
|
280
278
|
{
|
|
@@ -417,9 +415,7 @@
|
|
|
417
415
|
"default": "bottom",
|
|
418
416
|
"x-category": "基础属性",
|
|
419
417
|
"x-index": 160,
|
|
420
|
-
"x-platforms": [
|
|
421
|
-
"PCWEB"
|
|
422
|
-
],
|
|
418
|
+
"x-platforms": ["PCWEB"],
|
|
423
419
|
"enum": [
|
|
424
420
|
{
|
|
425
421
|
"value": "top",
|
|
@@ -445,10 +441,7 @@
|
|
|
445
441
|
"default": "bottom",
|
|
446
442
|
"x-category": "基础属性",
|
|
447
443
|
"x-index": 170,
|
|
448
|
-
"x-platforms": [
|
|
449
|
-
"MOBILEWEB",
|
|
450
|
-
"MP"
|
|
451
|
-
],
|
|
444
|
+
"x-platforms": ["MOBILEWEB", "MP"],
|
|
452
445
|
"enum": [
|
|
453
446
|
{
|
|
454
447
|
"value": "top",
|
|
@@ -720,9 +713,7 @@
|
|
|
720
713
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Histogram.svg",
|
|
721
714
|
"category": "图表组件",
|
|
722
715
|
"componentOrder": 1,
|
|
723
|
-
"visible": [
|
|
724
|
-
"APP"
|
|
725
|
-
]
|
|
716
|
+
"visible": ["APP"]
|
|
726
717
|
},
|
|
727
718
|
"configMeta": {
|
|
728
719
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/chart/Bar"
|
|
@@ -215,9 +215,7 @@
|
|
|
215
215
|
"x-component-props": {
|
|
216
216
|
"dataSourceNamePropKey": "dataSource",
|
|
217
217
|
"isMethod": true,
|
|
218
|
-
"disabledTypes": [
|
|
219
|
-
"time"
|
|
220
|
-
]
|
|
218
|
+
"disabledTypes": ["time"]
|
|
221
219
|
},
|
|
222
220
|
"x-linkages": [
|
|
223
221
|
{
|
|
@@ -359,9 +357,7 @@
|
|
|
359
357
|
"default": "bottom",
|
|
360
358
|
"x-category": "基础属性",
|
|
361
359
|
"x-index": 150,
|
|
362
|
-
"x-platforms": [
|
|
363
|
-
"PCWEB"
|
|
364
|
-
],
|
|
360
|
+
"x-platforms": ["PCWEB"],
|
|
365
361
|
"enum": [
|
|
366
362
|
{
|
|
367
363
|
"value": "top",
|
|
@@ -388,10 +384,7 @@
|
|
|
388
384
|
"default": "bottom",
|
|
389
385
|
"x-category": "基础属性",
|
|
390
386
|
"x-index": 160,
|
|
391
|
-
"x-platforms": [
|
|
392
|
-
"MOBILEWEB",
|
|
393
|
-
"MP"
|
|
394
|
-
],
|
|
387
|
+
"x-platforms": ["MOBILEWEB", "MP"],
|
|
395
388
|
"enum": [
|
|
396
389
|
{
|
|
397
390
|
"value": "top",
|
|
@@ -673,9 +666,7 @@
|
|
|
673
666
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/LineChart.svg",
|
|
674
667
|
"category": "图表组件",
|
|
675
668
|
"componentOrder": 1,
|
|
676
|
-
"visible": [
|
|
677
|
-
"APP"
|
|
678
|
-
]
|
|
669
|
+
"visible": ["APP"]
|
|
679
670
|
},
|
|
680
671
|
"configMeta": {
|
|
681
672
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/chart/Line"
|
|
@@ -304,9 +304,7 @@
|
|
|
304
304
|
"default": "bottom",
|
|
305
305
|
"x-category": "基础属性",
|
|
306
306
|
"x-index": 140,
|
|
307
|
-
"x-platforms": [
|
|
308
|
-
"PCWEB"
|
|
309
|
-
],
|
|
307
|
+
"x-platforms": ["PCWEB"],
|
|
310
308
|
"enum": [
|
|
311
309
|
{
|
|
312
310
|
"value": "top",
|
|
@@ -332,10 +330,7 @@
|
|
|
332
330
|
"default": "bottom",
|
|
333
331
|
"x-category": "基础属性",
|
|
334
332
|
"x-index": 150,
|
|
335
|
-
"x-platforms": [
|
|
336
|
-
"MOBILEWEB",
|
|
337
|
-
"MP"
|
|
338
|
-
],
|
|
333
|
+
"x-platforms": ["MOBILEWEB", "MP"],
|
|
339
334
|
"enum": [
|
|
340
335
|
{
|
|
341
336
|
"value": "top",
|
|
@@ -491,9 +486,7 @@
|
|
|
491
486
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/PieChart.svg",
|
|
492
487
|
"category": "图表组件",
|
|
493
488
|
"componentOrder": 1,
|
|
494
|
-
"visible": [
|
|
495
|
-
"APP"
|
|
496
|
-
]
|
|
489
|
+
"visible": ["APP"]
|
|
497
490
|
},
|
|
498
491
|
"configMeta": {
|
|
499
492
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/chart/Pie"
|