@cloudbase/weda-ui 2.0.26 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -13
- package/src/configs/actions/showModal.json +0 -48
- package/src/configs/actions/showToast.json +0 -41
- package/src/configs/components/auth.json +0 -16
- package/src/configs/components/button.json +0 -239
- package/src/configs/components/calendar.json +0 -81
- package/src/configs/components/carousel.json +0 -292
- package/src/configs/components/chart/bar.json +0 -721
- package/src/configs/components/chart/line.json +0 -674
- package/src/configs/components/chart/pie.json +0 -494
- package/src/configs/components/chart/statisticsCard.json +0 -376
- package/src/configs/components/container.json +0 -50
- package/src/configs/components/dataView.json +0 -151
- package/src/configs/components/drawer.json +0 -115
- package/src/configs/components/form/checkbox.json +0 -173
- package/src/configs/components/form/form.json +0 -45
- package/src/configs/components/form/input.json +0 -154
- package/src/configs/components/form/label.json +0 -22
- package/src/configs/components/form/location.json +0 -155
- package/src/configs/components/form/radio.json +0 -203
- package/src/configs/components/form/richText.json +0 -125
- package/src/configs/components/form/select.json +0 -411
- package/src/configs/components/form/switch.json +0 -58
- package/src/configs/components/form/textarea.json +0 -116
- package/src/configs/components/form/tips.json +0 -34
- package/src/configs/components/form/uploader.json +0 -169
- package/src/configs/components/form/uploaderFile.json +0 -158
- package/src/configs/components/graphicCard.json +0 -413
- package/src/configs/components/image.json +0 -179
- package/src/configs/components/link.json +0 -79
- package/src/configs/components/listView.json +0 -281
- package/src/configs/components/lottery.json +0 -157
- package/src/configs/components/modal.json +0 -83
- package/src/configs/components/navLayout.json +0 -368
- package/src/configs/components/navigationBar.json +0 -62
- package/src/configs/components/picker/datePicker.json +0 -33
- package/src/configs/components/picker/picker.json +0 -18
- package/src/configs/components/picker/timePicker.json +0 -23
- package/src/configs/components/richtextview.json +0 -26
- package/src/configs/components/scrollVeiw.json +0 -253
- package/src/configs/components/slot.json +0 -17
- package/src/configs/components/swiper.json +0 -90
- package/src/configs/components/tabs.json +0 -121
- package/src/configs/components/text.json +0 -95
- package/src/configs/components/wedaVideo.json +0 -89
- package/src/configs/components/wxOpenApi/phone.json +0 -127
- package/src/configs/components/wxOpenApi/phoneCode.json +0 -109
- package/src/configs/components/wxOpenApi/share.json +0 -157
- package/src/configs/components/wxOpenApi/userInfo.json +0 -156
- package/src/configs/index.js +0 -111
- package/src/index.js +0 -4
- package/src/mp/README.md +0 -1
- package/src/mp/actions/showModal/index.js +0 -3
- package/src/mp/actions/showToast/index.js +0 -3
- package/src/mp/components/button/index.js +0 -91
- package/src/mp/components/button/index.json +0 -4
- package/src/mp/components/button/index.wxml +0 -22
- package/src/mp/components/button/index.wxss +0 -13
- package/src/mp/components/calendar/arrowright--line.svg +0 -11
- package/src/mp/components/calendar/index.js +0 -268
- package/src/mp/components/calendar/index.json +0 -5
- package/src/mp/components/calendar/index.wxml +0 -35
- package/src/mp/components/calendar/index.wxss +0 -179
- package/src/mp/components/carousel/index.js +0 -88
- package/src/mp/components/carousel/index.json +0 -7
- package/src/mp/components/carousel/index.wxml +0 -6
- package/src/mp/components/chart/bar/index.js +0 -257
- package/src/mp/components/chart/bar/index.json +0 -6
- package/src/mp/components/chart/bar/index.wxml +0 -3
- package/src/mp/components/chart/bar/index.wxss +0 -9
- package/src/mp/components/chart/common/config/bar.js +0 -50
- package/src/mp/components/chart/common/config/global.js +0 -16
- package/src/mp/components/chart/common/config/line.js +0 -48
- package/src/mp/components/chart/common/config/pie.js +0 -36
- package/src/mp/components/chart/common/core/eChartBar.js +0 -258
- package/src/mp/components/chart/common/core/eChartBase.js +0 -389
- package/src/mp/components/chart/common/core/eChartLine.js +0 -223
- package/src/mp/components/chart/common/core/eChartPie.js +0 -169
- package/src/mp/components/chart/common/lib/echarts.min.js +0 -18
- package/src/mp/components/chart/ec-canvas/ec-canvas.js +0 -277
- package/src/mp/components/chart/ec-canvas/ec-canvas.json +0 -4
- package/src/mp/components/chart/ec-canvas/ec-canvas.wxml +0 -4
- package/src/mp/components/chart/ec-canvas/ec-canvas.wxss +0 -4
- package/src/mp/components/chart/ec-canvas/wx-canvas.js +0 -109
- package/src/mp/components/chart/line/index.js +0 -247
- package/src/mp/components/chart/line/index.json +0 -6
- package/src/mp/components/chart/line/index.wxml +0 -3
- package/src/mp/components/chart/line/index.wxss +0 -9
- package/src/mp/components/chart/pie/index.js +0 -182
- package/src/mp/components/chart/pie/index.json +0 -6
- package/src/mp/components/chart/pie/index.wxml +0 -3
- package/src/mp/components/chart/pie/index.wxss +0 -9
- package/src/mp/components/chart/statisticsCard/index.js +0 -253
- package/src/mp/components/chart/statisticsCard/index.json +0 -4
- package/src/mp/components/chart/statisticsCard/index.wxml +0 -9
- package/src/mp/components/chart/statisticsCard/index.wxss +0 -42
- package/src/mp/components/container/index.js +0 -20
- package/src/mp/components/container/index.json +0 -4
- package/src/mp/components/container/index.wxml +0 -3
- package/src/mp/components/dataView/index.js +0 -34
- package/src/mp/components/dataView/index.json +0 -7
- package/src/mp/components/dataView/index.wxml +0 -3
- package/src/mp/components/dataView/index.wxss +0 -0
- package/src/mp/components/form/checkbox/index.js +0 -124
- package/src/mp/components/form/checkbox/index.json +0 -7
- package/src/mp/components/form/checkbox/index.wxml +0 -13
- package/src/mp/components/form/checkbox/index.wxss +0 -1
- package/src/mp/components/form/form/index.js +0 -18
- package/src/mp/components/form/form/index.json +0 -4
- package/src/mp/components/form/form/index.wxml +0 -5
- package/src/mp/components/form/form/index.wxss +0 -1
- package/src/mp/components/form/formcell/index.js +0 -54
- package/src/mp/components/form/formcell/index.json +0 -4
- package/src/mp/components/form/formcell/index.wxml +0 -11
- package/src/mp/components/form/formcell/index.wxss +0 -31
- package/src/mp/components/form/input/index.js +0 -110
- package/src/mp/components/form/input/index.json +0 -7
- package/src/mp/components/form/input/index.wxml +0 -24
- package/src/mp/components/form/input/index.wxss +0 -22
- package/src/mp/components/form/location/components/mapChoose/index.js +0 -201
- package/src/mp/components/form/location/components/mapChoose/index.json +0 -4
- package/src/mp/components/form/location/components/mapChoose/index.wxml +0 -42
- package/src/mp/components/form/location/components/mapChoose/index.wxss +0 -188
- package/src/mp/components/form/location/index.js +0 -388
- package/src/mp/components/form/location/index.json +0 -6
- package/src/mp/components/form/location/index.wxml +0 -21
- package/src/mp/components/form/location/index.wxss +0 -89
- package/src/mp/components/form/radio/index.js +0 -124
- package/src/mp/components/form/radio/index.json +0 -7
- package/src/mp/components/form/radio/index.wxml +0 -13
- package/src/mp/components/form/radio/index.wxss +0 -1
- package/src/mp/components/form/select/index.js +0 -677
- package/src/mp/components/form/select/index.json +0 -7
- package/src/mp/components/form/select/index.wxml +0 -12
- package/src/mp/components/form/select/index.wxss +0 -16
- package/src/mp/components/form/select/region/index.js +0 -107
- package/src/mp/components/form/switch/index.js +0 -75
- package/src/mp/components/form/switch/index.json +0 -7
- package/src/mp/components/form/switch/index.wxml +0 -11
- package/src/mp/components/form/switch/index.wxss +0 -1
- package/src/mp/components/form/textarea/index.js +0 -90
- package/src/mp/components/form/textarea/index.json +0 -7
- package/src/mp/components/form/textarea/index.wxml +0 -8
- package/src/mp/components/form/textarea/index.wxss +0 -10
- package/src/mp/components/form/tips/index.js +0 -41
- package/src/mp/components/form/tips/index.json +0 -4
- package/src/mp/components/form/tips/index.wxml +0 -1
- package/src/mp/components/form/tips/index.wxss +0 -1
- package/src/mp/components/form/uploader/index.js +0 -158
- package/src/mp/components/form/uploader/index.json +0 -10
- package/src/mp/components/form/uploader/index.wxml +0 -14
- package/src/mp/components/form/uploader/index.wxss +0 -36
- package/src/mp/components/form/uploader/weui-uploader.js +0 -219
- package/src/mp/components/form/uploader/weui-uploader.json +0 -7
- package/src/mp/components/form/uploader/weui-uploader.wxml +0 -45
- package/src/mp/components/form/uploader/weui-uploader.wxss +0 -1
- package/src/mp/components/form/uploaderFile/index.js +0 -313
- package/src/mp/components/form/uploaderFile/index.json +0 -9
- package/src/mp/components/form/uploaderFile/index.wxml +0 -45
- package/src/mp/components/form/uploaderFile/index.wxss +0 -105
- package/src/mp/components/graphicCard/chevron-right.svg +0 -3
- package/src/mp/components/graphicCard/index.js +0 -203
- package/src/mp/components/graphicCard/index.json +0 -4
- package/src/mp/components/graphicCard/index.wxml +0 -25
- package/src/mp/components/graphicCard/index.wxss +0 -157
- package/src/mp/components/image/index.js +0 -182
- package/src/mp/components/image/index.json +0 -7
- package/src/mp/components/image/index.wxml +0 -9
- package/src/mp/components/image/index.wxss +0 -49
- package/src/mp/components/listView/arrow-right-line.svg +0 -3
- package/src/mp/components/listView/index.js +0 -274
- package/src/mp/components/listView/index.json +0 -4
- package/src/mp/components/listView/index.wxml +0 -38
- package/src/mp/components/listView/index.wxss +0 -155
- package/src/mp/components/listView/more-line.svg +0 -3
- package/src/mp/components/lottery/index.js +0 -270
- package/src/mp/components/lottery/index.json +0 -4
- package/src/mp/components/lottery/index.wxml +0 -41
- package/src/mp/components/lottery/index.wxss +0 -323
- package/src/mp/components/modal/index.js +0 -39
- package/src/mp/components/modal/index.json +0 -4
- package/src/mp/components/modal/index.wxml +0 -1
- package/src/mp/components/navLayout/index.js +0 -120
- package/src/mp/components/navLayout/index.json +0 -7
- package/src/mp/components/navLayout/index.wxml +0 -23
- package/src/mp/components/navLayout/index.wxss +0 -1193
- package/src/mp/components/navigationBar/index.js +0 -193
- package/src/mp/components/navigationBar/index.json +0 -5
- package/src/mp/components/navigationBar/index.wxml +0 -80
- package/src/mp/components/navigationBar/index.wxss +0 -1257
- package/src/mp/components/richText/index.js +0 -67
- package/src/mp/components/richText/index.json +0 -4
- package/src/mp/components/richText/index.wxml +0 -3
- package/src/mp/components/richText/index.wxss +0 -27
- package/src/mp/components/scrollView/index.js +0 -119
- package/src/mp/components/scrollView/index.json +0 -4
- package/src/mp/components/scrollView/index.wxml +0 -38
- package/src/mp/components/slot/index.js +0 -20
- package/src/mp/components/slot/index.json +0 -4
- package/src/mp/components/slot/index.wxml +0 -3
- package/src/mp/components/swiper/index.js +0 -65
- package/src/mp/components/swiper/index.json +0 -4
- package/src/mp/components/swiper/index.wxml +0 -3
- package/src/mp/components/tabs/index.js +0 -59
- package/src/mp/components/tabs/index.json +0 -4
- package/src/mp/components/tabs/index.wxml +0 -12
- package/src/mp/components/tabs/index.wxss +0 -57
- package/src/mp/components/text/index.js +0 -40
- package/src/mp/components/text/index.json +0 -4
- package/src/mp/components/text/index.wxml +0 -1
- package/src/mp/components/text/index.wxss +0 -26
- package/src/mp/components/wedaVideo/index.js +0 -86
- package/src/mp/components/wedaVideo/index.json +0 -4
- package/src/mp/components/wedaVideo/index.wxml +0 -4
- package/src/mp/components/wedaVideo/index.wxss +0 -20
- package/src/mp/components/wxOpenApi/phone/index.js +0 -109
- package/src/mp/components/wxOpenApi/phone/index.json +0 -4
- package/src/mp/components/wxOpenApi/phone/index.wxml +0 -4
- package/src/mp/components/wxOpenApi/phone/index.wxss +0 -22
- package/src/mp/components/wxOpenApi/phoneCode/index.js +0 -89
- package/src/mp/components/wxOpenApi/phoneCode/index.json +0 -4
- package/src/mp/components/wxOpenApi/phoneCode/index.wxml +0 -4
- package/src/mp/components/wxOpenApi/phoneCode/index.wxss +0 -22
- package/src/mp/components/wxOpenApi/share/index.js +0 -117
- package/src/mp/components/wxOpenApi/share/index.json +0 -4
- package/src/mp/components/wxOpenApi/share/index.wxml +0 -4
- package/src/mp/components/wxOpenApi/share/index.wxss +0 -22
- package/src/mp/components/wxOpenApi/userInfo/index.js +0 -88
- package/src/mp/components/wxOpenApi/userInfo/index.json +0 -4
- package/src/mp/components/wxOpenApi/userInfo/index.wxml +0 -4
- package/src/mp/components/wxOpenApi/userInfo/index.wxss +0 -22
- package/src/mp/index.json +0 -52
- package/src/mp/package.json +0 -6
- package/src/mp/style/weda-ui.wxss +0 -71
- package/src/mp/utils/classnames.js +0 -39
- package/src/mp/utils/constant.js +0 -20
- package/src/mp/utils/dayjs.min.js +0 -1
- package/src/mp/utils/debounce.js +0 -133
- package/src/mp/utils/deepEqual.js +0 -42
- package/src/mp/utils/destr.js +0 -49
- package/src/mp/utils/dr_square_point.js +0 -29
- package/src/mp/utils/handleEvents.js +0 -32
- package/src/mp/utils/lodash.js +0 -2
- package/src/mp/utils/platform.js +0 -45
- package/src/mp/utils/qqmap-wx-jssdk1.2/qqmap-wx-jssdk.js +0 -1336
- package/src/mp/utils/spark-md5.js +0 -776
- package/src/mp/utils/tcb.js +0 -76
- package/src/setupTests.js +0 -14
- package/src/web/actions/index.js +0 -2
- package/src/web/actions/showModal/index.tsx +0 -118
- package/src/web/actions/showToast/index.js +0 -3
- package/src/web/components/auth/index.css +0 -0
- package/src/web/components/auth/index.js +0 -66
- package/src/web/components/button/index.css +0 -27
- package/src/web/components/button/index.tsx +0 -119
- package/src/web/components/calendar/index.css +0 -416
- package/src/web/components/calendar/index.jsx +0 -312
- package/src/web/components/calendar/util.js +0 -90
- package/src/web/components/carousel/index.css +0 -119
- package/src/web/components/carousel/index.tsx +0 -417
- package/src/web/components/chart/bar/index.tsx +0 -140
- package/src/web/components/chart/common/config/bar.js +0 -49
- package/src/web/components/chart/common/config/global.js +0 -16
- package/src/web/components/chart/common/config/line.js +0 -50
- package/src/web/components/chart/common/config/pie.js +0 -37
- package/src/web/components/chart/common/core/eChartBar.js +0 -259
- package/src/web/components/chart/common/core/eChartBase.ts +0 -396
- package/src/web/components/chart/common/core/eChartLine.js +0 -225
- package/src/web/components/chart/common/core/eChartPie.js +0 -173
- package/src/web/components/chart/common/core/type.ts +0 -34
- package/src/web/components/chart/common/echart.css +0 -106
- package/src/web/components/chart/common/echarts.ts +0 -31
- package/src/web/components/chart/common/useChart.tsx +0 -87
- package/src/web/components/chart/line/index.tsx +0 -136
- package/src/web/components/chart/pie/index.tsx +0 -99
- package/src/web/components/chart/statisticsCard/index.css +0 -63
- package/src/web/components/chart/statisticsCard/index.tsx +0 -307
- package/src/web/components/chart/statisticsCard/interface.ts +0 -14
- package/src/web/components/container/index.tsx +0 -34
- package/src/web/components/dataView/index.tsx +0 -20
- package/src/web/components/dataView/interface.ts +0 -6
- package/src/web/components/drawer/index.tsx +0 -68
- package/src/web/components/form/checkbox/index.tsx +0 -210
- package/src/web/components/form/enumSelect/MultipleSelect.jsx +0 -89
- package/src/web/components/form/enumSelect/NormalSelect.tsx +0 -92
- package/src/web/components/form/enumSelect/SelectContainer.jsx +0 -43
- package/src/web/components/form/enumSelect/index.jsx +0 -9
- package/src/web/components/form/enumSelect/props/defaultProps.js +0 -39
- package/src/web/components/form/enumSelect/props/propsTypes.js +0 -50
- package/src/web/components/form/form/index.css +0 -9
- package/src/web/components/form/form/index.tsx +0 -51
- package/src/web/components/form/formcell/index.css +0 -85
- package/src/web/components/form/formcell/index.tsx +0 -85
- package/src/web/components/form/input/index.css +0 -40
- package/src/web/components/form/input/index.tsx +0 -166
- package/src/web/components/form/location/common/mapChoose.css +0 -180
- package/src/web/components/form/location/common/mapChoose.jsx +0 -343
- package/src/web/components/form/location/common/mapView.jsx +0 -190
- package/src/web/components/form/location/common/propsConfig.js +0 -54
- package/src/web/components/form/location/common/selectModal.css +0 -44
- package/src/web/components/form/location/common/selectModal.jsx +0 -73
- package/src/web/components/form/location/common/useLocationInfo.js +0 -104
- package/src/web/components/form/location/components/LocationH5/index.css +0 -239
- package/src/web/components/form/location/components/LocationH5/location.h5.jsx +0 -413
- package/src/web/components/form/location/components/LocationPC/Header.jsx +0 -96
- package/src/web/components/form/location/components/LocationPC/index.css +0 -44
- package/src/web/components/form/location/components/LocationPC/location.PC.jsx +0 -332
- package/src/web/components/form/location/constants.js +0 -4
- package/src/web/components/form/location/index.css +0 -0
- package/src/web/components/form/location/index.jsx +0 -25
- package/src/web/components/form/radio/index.css +0 -12
- package/src/web/components/form/radio/index.tsx +0 -179
- package/src/web/components/form/renderDecorator.tsx +0 -28
- package/src/web/components/form/select/h5.tsx +0 -602
- package/src/web/components/form/select/index.css +0 -27
- package/src/web/components/form/select/index.tsx +0 -510
- package/src/web/components/form/select/region/index.ts +0 -152
- package/src/web/components/form/select/time.jsx +0 -145
- package/src/web/components/form/select/year.tsx +0 -172
- package/src/web/components/form/switch/index.tsx +0 -100
- package/src/web/components/form/textarea/index.css +0 -11
- package/src/web/components/form/textarea/index.tsx +0 -127
- package/src/web/components/form/tips/index.css +0 -4
- package/src/web/components/form/tips/index.tsx +0 -34
- package/src/web/components/form/types.d.ts +0 -12
- package/src/web/components/form/uploader/index.css +0 -118
- package/src/web/components/form/uploader/index.tsx +0 -65
- package/src/web/components/form/uploader/uploader.h5.tsx +0 -290
- package/src/web/components/form/uploader/uploader.pc.tsx +0 -287
- package/src/web/components/form/uploaderFile/fail.svg +0 -12
- package/src/web/components/form/uploaderFile/index.css +0 -422
- package/src/web/components/form/uploaderFile/index.jsx +0 -25
- package/src/web/components/form/uploaderFile/pending.svg +0 -18
- package/src/web/components/form/uploaderFile/success.svg +0 -12
- package/src/web/components/form/uploaderFile/uploadFile.h5.tsx +0 -606
- package/src/web/components/form/uploaderFile/uploadFile.pc.tsx +0 -520
- package/src/web/components/graphicCard/index.css +0 -159
- package/src/web/components/graphicCard/index.tsx +0 -310
- package/src/web/components/image/image.tsx +0 -187
- package/src/web/components/image/index.css +0 -54
- package/src/web/components/image/index.tsx +0 -121
- package/src/web/components/index.js +0 -95
- package/src/web/components/link/index.css +0 -8
- package/src/web/components/link/index.tsx +0 -119
- package/src/web/components/listView/arrow-right-line.svg +0 -3
- package/src/web/components/listView/index.css +0 -143
- package/src/web/components/listView/index.tsx +0 -346
- package/src/web/components/listView/interface.ts +0 -98
- package/src/web/components/lottery/index.css +0 -333
- package/src/web/components/lottery/index.tsx +0 -567
- package/src/web/components/lottery/lotteryUtil.ts +0 -130
- package/src/web/components/modal/index.tsx +0 -60
- package/src/web/components/navLayout/index.css +0 -332
- package/src/web/components/navLayout/index.tsx +0 -247
- package/src/web/components/navigationBar/chevron-right--double.svg +0 -3
- package/src/web/components/navigationBar/common.tsx +0 -198
- package/src/web/components/navigationBar/h5Menu.tsx +0 -179
- package/src/web/components/navigationBar/horizontalMenu.tsx +0 -200
- package/src/web/components/navigationBar/index.css +0 -762
- package/src/web/components/navigationBar/index.tsx +0 -230
- package/src/web/components/navigationBar/type.d.ts +0 -111
- package/src/web/components/navigationBar/verticalMenu.tsx +0 -81
- package/src/web/components/phone/index.css +0 -0
- package/src/web/components/phone/index.tsx +0 -22
- package/src/web/components/phoneCode/index.css +0 -0
- package/src/web/components/phoneCode/index.tsx +0 -22
- package/src/web/components/picker/datePicker.tsx +0 -48
- package/src/web/components/picker/picker.tsx +0 -59
- package/src/web/components/picker/timePicker.tsx +0 -56
- package/src/web/components/richText/const.ts +0 -3
- package/src/web/components/richText/index.css +0 -93
- package/src/web/components/richText/index.jsx +0 -473
- package/src/web/components/richTextView/index.css +0 -63
- package/src/web/components/richTextView/index.tsx +0 -63
- package/src/web/components/scrollView/index.tsx +0 -148
- package/src/web/components/share/index.css +0 -0
- package/src/web/components/share/index.tsx +0 -38
- package/src/web/components/slot/index.tsx +0 -19
- package/src/web/components/swiper/index.css +0 -106
- package/src/web/components/swiper/index.tsx +0 -291
- package/src/web/components/tabs/index.css +0 -64
- package/src/web/components/tabs/index.tsx +0 -35
- package/src/web/components/tabs/tabs.h5.tsx +0 -84
- package/src/web/components/tabs/tabs.pc.tsx +0 -74
- package/src/web/components/text/index.css +0 -26
- package/src/web/components/text/index.tsx +0 -60
- package/src/web/components/uploaderFileView/index.css +0 -11
- package/src/web/components/uploaderFileView/index.jsx +0 -84
- package/src/web/components/uploaderView/index.css +0 -31
- package/src/web/components/uploaderView/index.tsx +0 -92
- package/src/web/components/userInfo/index.css +0 -0
- package/src/web/components/userInfo/index.tsx +0 -30
- package/src/web/components/wedaVideo/index.css +0 -42
- package/src/web/components/wedaVideo/index.tsx +0 -208
- package/src/web/index.js +0 -4
- package/src/web/types.d.ts +0 -21
- package/src/web/utils/classnames.js +0 -39
- package/src/web/utils/constant.ts +0 -23
- package/src/web/utils/debounce.js +0 -98
- package/src/web/utils/events.js +0 -2
- package/src/web/utils/getLocalCounter.js +0 -5
- package/src/web/utils/isObjectEqual.js +0 -15
- package/src/web/utils/loading-fallback.tsx +0 -2
- package/src/web/utils/lodash.ts +0 -2
- package/src/web/utils/platform.js +0 -156
- package/src/web/utils/tcb.js +0 -86
- package/src/web/utils/tmap.js +0 -4
- package/src/web/utils/useSetState.ts +0 -18
- package/src/web/utils/useSyncValue.ts +0 -17
- package/src/web/utils/weui.js +0 -3
- package/src/web/weda-ui.css +0 -86
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
|
-
"data": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"text": {
|
|
6
|
-
"title": "按钮标题",
|
|
7
|
-
"default": "获取用户手机号",
|
|
8
|
-
"remarks": "按钮组件的标题",
|
|
9
|
-
"type": "string",
|
|
10
|
-
"x-category": "基础属性",
|
|
11
|
-
"x-platforms": ["MP"],
|
|
12
|
-
"x-index": 1
|
|
13
|
-
},
|
|
14
|
-
"type": {
|
|
15
|
-
"title": "按钮风格",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"default": "wechat",
|
|
18
|
-
"remarks": "按钮组件的风格,相对于普通按钮组件,新增“微信”按钮风格",
|
|
19
|
-
"enum": [
|
|
20
|
-
{
|
|
21
|
-
"label": "默认",
|
|
22
|
-
"value": "default"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"label": "微信",
|
|
26
|
-
"value": "wechat"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"label": "主要",
|
|
30
|
-
"value": "primary"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"label": "警告",
|
|
34
|
-
"value": "warn"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"x-category": "基础属性",
|
|
38
|
-
"x-platforms": ["MP"],
|
|
39
|
-
"x-index": 2
|
|
40
|
-
},
|
|
41
|
-
"size": {
|
|
42
|
-
"title": "按钮大小",
|
|
43
|
-
"type": "string",
|
|
44
|
-
"default": "default",
|
|
45
|
-
"remarks": "按钮的大小",
|
|
46
|
-
"enum": [
|
|
47
|
-
{
|
|
48
|
-
"label": "中",
|
|
49
|
-
"value": "default"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"label": "小",
|
|
53
|
-
"value": "mini"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"label": "大",
|
|
57
|
-
"value": "large"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"x-category": "基础属性",
|
|
61
|
-
"x-platforms": ["MP"],
|
|
62
|
-
"x-index": 3
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"events": [
|
|
67
|
-
{
|
|
68
|
-
"title": "手机号授权成功",
|
|
69
|
-
"name": "phonesuccess",
|
|
70
|
-
"remarks": "弹窗中点击了允许按钮后触发的事件",
|
|
71
|
-
"x-platforms": ["MP"],
|
|
72
|
-
"detail": {
|
|
73
|
-
"phoneNumber": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"title": "区号+手机号",
|
|
76
|
-
"x-index": 1
|
|
77
|
-
},
|
|
78
|
-
"purePhoneNumber": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"title": "无区号手机号",
|
|
81
|
-
"x-index": 2
|
|
82
|
-
},
|
|
83
|
-
"countryCode": {
|
|
84
|
-
"type": "string",
|
|
85
|
-
"title": "区号",
|
|
86
|
-
"x-index": 3
|
|
87
|
-
},
|
|
88
|
-
"timestamp": {
|
|
89
|
-
"type": "string",
|
|
90
|
-
"title": "授权时间",
|
|
91
|
-
"x-index": 4
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"title": "手机号授权失败",
|
|
97
|
-
"remarks": "弹窗中点击了拒绝按钮后触发的事件",
|
|
98
|
-
"name": "phonefail",
|
|
99
|
-
"x-platforms": ["MP"]
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
"meta": {
|
|
103
|
-
"title": "获取用户手机号",
|
|
104
|
-
"description": "在小程序运行态对用户的手机号进行获取。",
|
|
105
|
-
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Phone.svg",
|
|
106
|
-
"category": "微信开放能力",
|
|
107
|
-
"categoryOrder": 100,
|
|
108
|
-
"componentOrder": 2,
|
|
109
|
-
"platform": ["MP"],
|
|
110
|
-
"visible": ["APP"],
|
|
111
|
-
"validate": [
|
|
112
|
-
{
|
|
113
|
-
"rule": "checkBusiness",
|
|
114
|
-
"options": {
|
|
115
|
-
"allowFailure": true,
|
|
116
|
-
"title": "小程序组件(获取用户手机号)",
|
|
117
|
-
"description": "组件功能依赖企业主体小程序",
|
|
118
|
-
"type": "mp",
|
|
119
|
-
"version": ""
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
"configMeta": {
|
|
125
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/Phone"
|
|
126
|
-
}
|
|
127
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
|
-
"data": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"text": {
|
|
6
|
-
"title": "按钮标题",
|
|
7
|
-
"default": "获取用户手机号授权令牌",
|
|
8
|
-
"remarks": "按钮组件的标题",
|
|
9
|
-
"type": "string",
|
|
10
|
-
"x-category": "基础属性",
|
|
11
|
-
"x-platforms": ["MP"],
|
|
12
|
-
"x-index": 1
|
|
13
|
-
},
|
|
14
|
-
"type": {
|
|
15
|
-
"title": "按钮风格",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"default": "wechat",
|
|
18
|
-
"remarks": "按钮组件的风格,相对于普通按钮组件,新增“微信”按钮风格",
|
|
19
|
-
"enum": [
|
|
20
|
-
{
|
|
21
|
-
"label": "默认",
|
|
22
|
-
"value": "default"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"label": "微信",
|
|
26
|
-
"value": "wechat"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"label": "主要",
|
|
30
|
-
"value": "primary"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"label": "警告",
|
|
34
|
-
"value": "warn"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"x-category": "基础属性",
|
|
38
|
-
"x-platforms": ["MP"],
|
|
39
|
-
"x-index": 2
|
|
40
|
-
},
|
|
41
|
-
"size": {
|
|
42
|
-
"title": "按钮大小",
|
|
43
|
-
"type": "string",
|
|
44
|
-
"default": "default",
|
|
45
|
-
"remarks": "按钮的大小",
|
|
46
|
-
"enum": [
|
|
47
|
-
{
|
|
48
|
-
"label": "中",
|
|
49
|
-
"value": "default"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"label": "小",
|
|
53
|
-
"value": "mini"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"label": "大",
|
|
57
|
-
"value": "large"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"x-category": "基础属性",
|
|
61
|
-
"x-platforms": ["MP"],
|
|
62
|
-
"x-index": 3
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"events": [
|
|
67
|
-
{
|
|
68
|
-
"title": "获取手机号授权令牌成功",
|
|
69
|
-
"name": "phoneCodeSuccess",
|
|
70
|
-
"remarks": "弹窗中点击了允许按钮后触发的事件",
|
|
71
|
-
"x-platforms": ["MP"],
|
|
72
|
-
"detail": {
|
|
73
|
-
"code": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"title": "手机号授权令牌",
|
|
76
|
-
"x-index": 1
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"title": "获取手机号授权令牌失败",
|
|
82
|
-
"remarks": "弹窗中点击了拒绝按钮后触发的事件",
|
|
83
|
-
"name": "phoneCodeFail",
|
|
84
|
-
"x-platforms": ["MP"]
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"meta": {
|
|
88
|
-
"title": "获取用户手机号授权令牌",
|
|
89
|
-
"description": "获取用户手机号授权令牌组件",
|
|
90
|
-
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Phone.svg",
|
|
91
|
-
"category": "微信开放能力",
|
|
92
|
-
"categoryOrder": 100,
|
|
93
|
-
"componentOrder": 2,
|
|
94
|
-
"platform": ["MP"],
|
|
95
|
-
"visible": [],
|
|
96
|
-
"validate": [
|
|
97
|
-
{
|
|
98
|
-
"rule": "checkBusiness",
|
|
99
|
-
"options": {
|
|
100
|
-
"allowFailure": true,
|
|
101
|
-
"title": "小程序组件(获取用户手机号授权令牌)",
|
|
102
|
-
"description": "组件功能依赖企业主体小程序",
|
|
103
|
-
"type": "mp",
|
|
104
|
-
"version": ""
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
|
-
"data": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"text": {
|
|
6
|
-
"title": "按钮标题",
|
|
7
|
-
"default": "小程序分享",
|
|
8
|
-
"remarks": "按钮组件的标题",
|
|
9
|
-
"type": "string",
|
|
10
|
-
"x-category": "基础属性",
|
|
11
|
-
"x-platforms": ["MP"],
|
|
12
|
-
"x-index": 1
|
|
13
|
-
},
|
|
14
|
-
"type": {
|
|
15
|
-
"title": "按钮风格",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"default": "wechat",
|
|
18
|
-
"remarks": "按钮组件的风格,相对于普通按钮组件,新增“微信”按钮风格",
|
|
19
|
-
"enum": [
|
|
20
|
-
{
|
|
21
|
-
"label": "默认",
|
|
22
|
-
"value": "default"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"label": "微信",
|
|
26
|
-
"value": "wechat"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"label": "主要",
|
|
30
|
-
"value": "primary"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"label": "警告",
|
|
34
|
-
"value": "warn"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"x-category": "基础属性",
|
|
38
|
-
"x-platforms": ["MP"],
|
|
39
|
-
"x-index": 2
|
|
40
|
-
},
|
|
41
|
-
"size": {
|
|
42
|
-
"title": "按钮大小",
|
|
43
|
-
"type": "string",
|
|
44
|
-
"default": "default",
|
|
45
|
-
"remarks": "按钮的大小",
|
|
46
|
-
"enum": [
|
|
47
|
-
{
|
|
48
|
-
"label": "中",
|
|
49
|
-
"value": "default"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"label": "小",
|
|
53
|
-
"value": "mini"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"label": "大",
|
|
57
|
-
"value": "large"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"x-category": "基础属性",
|
|
61
|
-
"x-platforms": ["MP"],
|
|
62
|
-
"x-index": 3
|
|
63
|
-
},
|
|
64
|
-
"title": {
|
|
65
|
-
"title": "{{text('分享标题', help('分享(转发)卡片的标题'))}}",
|
|
66
|
-
"type": "string",
|
|
67
|
-
"default": "",
|
|
68
|
-
"x-category": "基础属性",
|
|
69
|
-
"description": "",
|
|
70
|
-
"remarks": "分享(转发)卡片的标题",
|
|
71
|
-
"x-component": "textarea",
|
|
72
|
-
"x-platforms": ["MP"],
|
|
73
|
-
"x-index": 4
|
|
74
|
-
},
|
|
75
|
-
"image": {
|
|
76
|
-
"title": "{{text('分享图片', help('分享(转发)卡片的图片'))}}",
|
|
77
|
-
"type": "string",
|
|
78
|
-
"x-component": "image",
|
|
79
|
-
"x-rules": [
|
|
80
|
-
{
|
|
81
|
-
"message": "请输入合法的图片地址",
|
|
82
|
-
"pattern": "^(((https?)://)|/resources/)[^\\s]+$"
|
|
83
|
-
}
|
|
84
|
-
],
|
|
85
|
-
"default": "",
|
|
86
|
-
"x-platforms": ["MP"],
|
|
87
|
-
"description": "",
|
|
88
|
-
"remarks": "分享(转发)卡片的图片",
|
|
89
|
-
"x-category": "基础属性",
|
|
90
|
-
"x-index": 5
|
|
91
|
-
},
|
|
92
|
-
"path": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"title": "{{text('选择页面', help('选择分享(转发)的页面'))}}",
|
|
95
|
-
"default": "",
|
|
96
|
-
"x-index": 6,
|
|
97
|
-
"addHidden": true,
|
|
98
|
-
"x-category": "基础属性",
|
|
99
|
-
"remarks": "选择分享(转发)的页面",
|
|
100
|
-
"x-linkages": [
|
|
101
|
-
{
|
|
102
|
-
"type": "value:state",
|
|
103
|
-
"state": {
|
|
104
|
-
"pageId": "{{$self.value}}"
|
|
105
|
-
},
|
|
106
|
-
"target": "*(params)",
|
|
107
|
-
"condition": "{{$self.value && $self.value.length>0}}"
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
"description": "",
|
|
111
|
-
"x-component": "page-list",
|
|
112
|
-
"x-component-props": {
|
|
113
|
-
"hideAddPlatform": ["MP"]
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"withParams": {
|
|
117
|
-
"type": "boolean",
|
|
118
|
-
"title": "携带参数",
|
|
119
|
-
"x-category": "基础属性",
|
|
120
|
-
"default": false,
|
|
121
|
-
"remarks": "分享(转发)的页面path是否携带参数",
|
|
122
|
-
"x-index": 7,
|
|
123
|
-
"x-linkages": [
|
|
124
|
-
{
|
|
125
|
-
"type": "value:visible",
|
|
126
|
-
"target": "params",
|
|
127
|
-
"condition": "{{$self.value===true}}"
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
"params": {
|
|
132
|
-
"type": "array",
|
|
133
|
-
"title": "参数",
|
|
134
|
-
"x-category": "基础属性",
|
|
135
|
-
"remarks": "分享(转发)的页面的参数,会自动获取到当前选择页面内存在的页面参数并自动根据页面参数进行展开,当用户通过转发的链接进入小程序时,页面便会按照配置的参数进行渲染。如果采用绑定数据的方式,数据格式参考如下:[{key: 'paramKey1', value: 'paramValue1'}, {key: 'paramKey2', value: 'paramValue2'}]",
|
|
136
|
-
"pageId": "",
|
|
137
|
-
"default": [],
|
|
138
|
-
"x-index": 8,
|
|
139
|
-
"x-component": "page-params"
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"events": [],
|
|
144
|
-
"meta": {
|
|
145
|
-
"title": "小程序分享",
|
|
146
|
-
"description": "支持快捷实现小程序分享功能。",
|
|
147
|
-
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Share.svg",
|
|
148
|
-
"category": "微信开放能力",
|
|
149
|
-
"categoryOrder": 100,
|
|
150
|
-
"componentOrder": 3,
|
|
151
|
-
"platform": ["MP"],
|
|
152
|
-
"visible": ["APP"]
|
|
153
|
-
},
|
|
154
|
-
"configMeta": {
|
|
155
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/Share"
|
|
156
|
-
}
|
|
157
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
|
-
"data": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"text": {
|
|
6
|
-
"title": "按钮标题",
|
|
7
|
-
"default": "获取用户信息",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"x-category": "基础属性",
|
|
10
|
-
"remarks": "按钮组件的标题",
|
|
11
|
-
"x-platforms": ["MP"],
|
|
12
|
-
"x-index": 1
|
|
13
|
-
},
|
|
14
|
-
"type": {
|
|
15
|
-
"title": "按钮风格",
|
|
16
|
-
"type": "string",
|
|
17
|
-
"default": "wechat",
|
|
18
|
-
"remarks": "按钮组件的风格,相对于普通按钮组件,新增“微信”按钮风格",
|
|
19
|
-
"enum": [
|
|
20
|
-
{
|
|
21
|
-
"label": "默认",
|
|
22
|
-
"value": "default"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"label": "微信",
|
|
26
|
-
"value": "wechat"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"label": "主要",
|
|
30
|
-
"value": "primary"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"label": "警告",
|
|
34
|
-
"value": "warn"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"x-category": "基础属性",
|
|
38
|
-
"x-platforms": ["MP"],
|
|
39
|
-
"x-index": 2
|
|
40
|
-
},
|
|
41
|
-
"size": {
|
|
42
|
-
"title": "按钮大小",
|
|
43
|
-
"type": "string",
|
|
44
|
-
"default": "default",
|
|
45
|
-
"remarks": "按钮的大小",
|
|
46
|
-
"enum": [
|
|
47
|
-
{
|
|
48
|
-
"label": "中",
|
|
49
|
-
"value": "default"
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"label": "小",
|
|
53
|
-
"value": "mini"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"label": "大",
|
|
57
|
-
"value": "large"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"x-category": "基础属性",
|
|
61
|
-
"x-platforms": ["MP"],
|
|
62
|
-
"x-index": 3
|
|
63
|
-
},
|
|
64
|
-
"usage": {
|
|
65
|
-
"title": "{{text('信息用途', help('声明获取用户个人信息的用途\\n不超过30个字符'))}}",
|
|
66
|
-
"type": "string",
|
|
67
|
-
"default": "",
|
|
68
|
-
"x-category": "基础属性",
|
|
69
|
-
"remarks": "声明获取用户个人信息的用途,不超过30个字符,若不填写将导致功能失效",
|
|
70
|
-
"required": true,
|
|
71
|
-
"x-rules": [
|
|
72
|
-
{
|
|
73
|
-
"message": "该字段必填",
|
|
74
|
-
"required": true
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"message": "不超过30个字符",
|
|
78
|
-
"pattern": "^.{0,30}$"
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"description": "声明获取用户个人信息的用途,不超过30个字符,若不填写将导致功能失效",
|
|
82
|
-
"x-component": "textarea",
|
|
83
|
-
"x-platforms": ["MP"],
|
|
84
|
-
"x-index": 4
|
|
85
|
-
},
|
|
86
|
-
"language": {
|
|
87
|
-
"title": "语言",
|
|
88
|
-
"type": "string",
|
|
89
|
-
"default": "zh_CN",
|
|
90
|
-
"description": "",
|
|
91
|
-
"remarks": "用户当前国家、省份、城市所使用的语言",
|
|
92
|
-
"enum": [
|
|
93
|
-
{
|
|
94
|
-
"label": "简体中文",
|
|
95
|
-
"value": "zh_CN"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"label": "繁体中文",
|
|
99
|
-
"value": "zh_TW"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"label": "英文",
|
|
103
|
-
"value": "en"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"x-category": "基础属性",
|
|
107
|
-
"x-platforms": ["MP"],
|
|
108
|
-
"x-index": 5
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"events": [
|
|
113
|
-
{
|
|
114
|
-
"title": "用户信息授权成功",
|
|
115
|
-
"name": "userinfosuccess",
|
|
116
|
-
"remarks": "弹窗中点击了允许按钮后触发的事件",
|
|
117
|
-
"x-platforms": ["MP"],
|
|
118
|
-
"detail": {
|
|
119
|
-
"avatarUrl": {
|
|
120
|
-
"type": "string",
|
|
121
|
-
"title": "用户头像",
|
|
122
|
-
"x-index": 1
|
|
123
|
-
},
|
|
124
|
-
"nickName": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"title": "微信昵称",
|
|
127
|
-
"x-index": 2
|
|
128
|
-
},
|
|
129
|
-
"language": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"title": "语言",
|
|
132
|
-
"x-index": 4
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"title": "用户信息授权失败",
|
|
138
|
-
"name": "userinfofail",
|
|
139
|
-
"remarks": "弹窗中点击了拒绝按钮后触发的事件",
|
|
140
|
-
"x-platforms": ["MP"]
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
"meta": {
|
|
144
|
-
"title": "获取用户信息",
|
|
145
|
-
"description": "能够在小程序运行态对用户的微信头像、微信昵称等信息进行获取。",
|
|
146
|
-
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/UserInfo.svg",
|
|
147
|
-
"category": "微信开放能力",
|
|
148
|
-
"categoryOrder": 100,
|
|
149
|
-
"componentOrder": 1,
|
|
150
|
-
"platform": ["MP"],
|
|
151
|
-
"visible": ["APP"]
|
|
152
|
-
},
|
|
153
|
-
"configMeta": {
|
|
154
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/UserInfo"
|
|
155
|
-
}
|
|
156
|
-
}
|
package/src/configs/index.js
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import Button from './components/button.json';
|
|
2
|
-
import Text from './components/text.json';
|
|
3
|
-
import Container from './components/container.json';
|
|
4
|
-
import Image from './components/image.json';
|
|
5
|
-
import Link from './components/link.json';
|
|
6
|
-
// import Picker from './components/picker/picker.json';
|
|
7
|
-
// import DatePicker from './components/picker/datePicker.json';
|
|
8
|
-
// import TimePicker from './components/picker/timePicker.json';
|
|
9
|
-
import Input from './components/form/input.json';
|
|
10
|
-
import Location from './components/form/location.json';
|
|
11
|
-
import Textarea from './components/form/textarea.json';
|
|
12
|
-
import Radio from './components/form/radio.json';
|
|
13
|
-
import Checkbox from './components/form/checkbox.json';
|
|
14
|
-
import Switch from './components/form/switch.json';
|
|
15
|
-
import Form from './components/form/form.json';
|
|
16
|
-
import Select from './components/form/select.json';
|
|
17
|
-
import Auth from './components/auth.json';
|
|
18
|
-
import Slot from './components/slot.json';
|
|
19
|
-
import Uploader from './components/form/uploader.json';
|
|
20
|
-
import UploaderFile from './components/form/uploaderFile.json';
|
|
21
|
-
import ScrollView from './components/scrollVeiw.json';
|
|
22
|
-
import Swiper from './components/swiper.json';
|
|
23
|
-
import Carousel from './components/carousel.json';
|
|
24
|
-
// import Label from './components/form/label.json';
|
|
25
|
-
import Tips from './components/form/tips.json';
|
|
26
|
-
import Modal from './components/modal.json';
|
|
27
|
-
import Drawer from './components/drawer.json';
|
|
28
|
-
import RichText from './components/form/richText.json';
|
|
29
|
-
import RichTextView from './components/richtextview.json';
|
|
30
|
-
import Tabs from './components/tabs.json';
|
|
31
|
-
import Calendar from './components/calendar.json';
|
|
32
|
-
import NavLayout from './components/navLayout.json';
|
|
33
|
-
import WedaVideo from './components/wedaVideo.json';
|
|
34
|
-
|
|
35
|
-
import showToast from './actions/showToast.json';
|
|
36
|
-
import showModal from './actions/showModal.json';
|
|
37
|
-
|
|
38
|
-
import ListView from './components/listView.json';
|
|
39
|
-
import NavigationBar from './components/navigationBar.json';
|
|
40
|
-
import Line from './components/chart/line.json';
|
|
41
|
-
import Bar from './components/chart/bar.json';
|
|
42
|
-
import Pie from './components/chart/pie.json';
|
|
43
|
-
|
|
44
|
-
import DataView from './components/dataView.json';
|
|
45
|
-
import StatisticsCard from './components/chart/statisticsCard.json';
|
|
46
|
-
import GraphicCard from './components/graphicCard.json';
|
|
47
|
-
import Phone from './components/wxOpenApi/phone.json';
|
|
48
|
-
import PhoneCode from './components/wxOpenApi/phoneCode.json';
|
|
49
|
-
import Share from './components/wxOpenApi/share.json';
|
|
50
|
-
import UserInfo from './components/wxOpenApi/userInfo.json';
|
|
51
|
-
|
|
52
|
-
import Lottery from './components/lottery.json';
|
|
53
|
-
export const components = {
|
|
54
|
-
Button,
|
|
55
|
-
Text,
|
|
56
|
-
Container,
|
|
57
|
-
Image,
|
|
58
|
-
// Picker,
|
|
59
|
-
// DatePicker,
|
|
60
|
-
// TimePicker,
|
|
61
|
-
Input,
|
|
62
|
-
Radio,
|
|
63
|
-
Checkbox,
|
|
64
|
-
Switch,
|
|
65
|
-
Form,
|
|
66
|
-
Textarea,
|
|
67
|
-
Location,
|
|
68
|
-
WedaVideo,
|
|
69
|
-
// Cells,
|
|
70
|
-
Select,
|
|
71
|
-
Auth,
|
|
72
|
-
Slot,
|
|
73
|
-
Uploader,
|
|
74
|
-
UploaderFile,
|
|
75
|
-
ScrollView,
|
|
76
|
-
Swiper,
|
|
77
|
-
Carousel,
|
|
78
|
-
// Label,
|
|
79
|
-
Tips,
|
|
80
|
-
Modal,
|
|
81
|
-
RichText,
|
|
82
|
-
RichTextView,
|
|
83
|
-
Link,
|
|
84
|
-
Drawer,
|
|
85
|
-
Tabs,
|
|
86
|
-
Calendar,
|
|
87
|
-
ListView,
|
|
88
|
-
DataView,
|
|
89
|
-
NavLayout,
|
|
90
|
-
NavigationBar,
|
|
91
|
-
Line,
|
|
92
|
-
Bar,
|
|
93
|
-
Pie,
|
|
94
|
-
StatisticsCard,
|
|
95
|
-
GraphicCard,
|
|
96
|
-
Phone,
|
|
97
|
-
PhoneCode,
|
|
98
|
-
Share,
|
|
99
|
-
UserInfo,
|
|
100
|
-
Lottery,
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
export const actions = {
|
|
104
|
-
showToast,
|
|
105
|
-
showModal,
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
export default {
|
|
109
|
-
components,
|
|
110
|
-
actions,
|
|
111
|
-
};
|
package/src/index.js
DELETED
package/src/mp/README.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# mp
|