@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,413 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
|
-
"data": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"navOption": {
|
|
6
|
-
"type": "array",
|
|
7
|
-
"title": "图文内容",
|
|
8
|
-
"icon": "icon",
|
|
9
|
-
"items": {
|
|
10
|
-
"type": "object",
|
|
11
|
-
"title": "示例标题",
|
|
12
|
-
"x-image": "this.icon",
|
|
13
|
-
"default": {
|
|
14
|
-
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
15
|
-
"title": "示例标题",
|
|
16
|
-
"des": "这是一段示例描述,这是一段示例描述"
|
|
17
|
-
},
|
|
18
|
-
"display": "title",
|
|
19
|
-
"properties": {
|
|
20
|
-
"icon": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"x-component": "image",
|
|
23
|
-
"x-rules": [
|
|
24
|
-
{
|
|
25
|
-
"message": "请输入合法的图片地址",
|
|
26
|
-
"pattern": "^(((https?)://)|/resources/)[^\\s]+$"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"title": "图片",
|
|
30
|
-
"default": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
31
|
-
"x-index": 20
|
|
32
|
-
},
|
|
33
|
-
"title": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"title": "标题",
|
|
36
|
-
"default": "示例标题",
|
|
37
|
-
"x-index": 10
|
|
38
|
-
},
|
|
39
|
-
"des": {
|
|
40
|
-
"type": "string",
|
|
41
|
-
"title": "描述",
|
|
42
|
-
"default": "这是一段示例描述,这是一段示例描述",
|
|
43
|
-
"x-index": 15
|
|
44
|
-
},
|
|
45
|
-
"tapStatus": {
|
|
46
|
-
"enum": [
|
|
47
|
-
{
|
|
48
|
-
"value": "tap",
|
|
49
|
-
"label": "无行为",
|
|
50
|
-
"icon": "weda-editor-icon-alert-close"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"value": "inside",
|
|
54
|
-
"label": "打开页面",
|
|
55
|
-
"icon": "weda-editor-icon-docs"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"value": "outer",
|
|
59
|
-
"label": "外部链接",
|
|
60
|
-
"icon": "weda-editor-icon-link",
|
|
61
|
-
"tooltip": [
|
|
62
|
-
{
|
|
63
|
-
"platform": ["ALL", "MP"],
|
|
64
|
-
"text": "小程序平台不支持跳转外部链接"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"disabled": [
|
|
68
|
-
{
|
|
69
|
-
"platform": ["MP"]
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"type": "string",
|
|
75
|
-
"title": "点击时",
|
|
76
|
-
"default": "tap",
|
|
77
|
-
"x-index": 40,
|
|
78
|
-
"x-component": "icon-text-radio",
|
|
79
|
-
"x-linkages": [
|
|
80
|
-
{
|
|
81
|
-
"type": "value:visible",
|
|
82
|
-
"target": "*(dataForm.insideUrl)",
|
|
83
|
-
"condition": "{{$self.value=='inside'}}"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"type": "value:visible",
|
|
87
|
-
"target": "*(dataForm.outerUrl)",
|
|
88
|
-
"condition": "{{$self.value=='outer'}}"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"type": "value:visible",
|
|
92
|
-
"target": "*(dataForm.withParams)",
|
|
93
|
-
"condition": "{{$self.value=='inside'}}"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"type": "value:visible",
|
|
97
|
-
"target": "*(dataForm.newPage)",
|
|
98
|
-
"condition": "{{$self.value=='outer'}}"
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
"insideUrl": {
|
|
103
|
-
"type": "string",
|
|
104
|
-
"x-component": "page-list",
|
|
105
|
-
"default": "",
|
|
106
|
-
"title": "应用页面",
|
|
107
|
-
"x-category": "基础属性",
|
|
108
|
-
"x-index": 120,
|
|
109
|
-
"x-component-props": {
|
|
110
|
-
"hideAddPlatform": ["MP"],
|
|
111
|
-
"addHidden": true
|
|
112
|
-
},
|
|
113
|
-
"x-linkages": [
|
|
114
|
-
{
|
|
115
|
-
"type": "value:state",
|
|
116
|
-
"target": "*(dataForm.params)",
|
|
117
|
-
"condition": "{{$self.value && $self.value.length>0}}",
|
|
118
|
-
"state": {
|
|
119
|
-
"pageId": "{{$self.value}}"
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
"outerUrl": {
|
|
125
|
-
"title": "URL地址",
|
|
126
|
-
"default": "",
|
|
127
|
-
"type": "string"
|
|
128
|
-
},
|
|
129
|
-
"newPage": {
|
|
130
|
-
"title": "打开新页面",
|
|
131
|
-
"default": false,
|
|
132
|
-
"type": "boolean"
|
|
133
|
-
},
|
|
134
|
-
"withParams": {
|
|
135
|
-
"title": "携带参数",
|
|
136
|
-
"default": false,
|
|
137
|
-
"type": "boolean",
|
|
138
|
-
"x-linkages": [
|
|
139
|
-
{
|
|
140
|
-
"type": "value:visible",
|
|
141
|
-
"target": "*(dataForm.params)",
|
|
142
|
-
"condition": "{{$self.value==true}}"
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
},
|
|
146
|
-
"params": {
|
|
147
|
-
"type": "array",
|
|
148
|
-
"title": "参数",
|
|
149
|
-
"pageId": "",
|
|
150
|
-
"x-component": "page-params",
|
|
151
|
-
"default": []
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"default": [
|
|
156
|
-
{
|
|
157
|
-
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
158
|
-
"title": "示例标题",
|
|
159
|
-
"des": "这是一段示例描述,这是一段示例描述",
|
|
160
|
-
"tapStatus": "tap"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
164
|
-
"title": "示例标题",
|
|
165
|
-
"des": "这是一段示例描述,这是一段示例描述",
|
|
166
|
-
"tapStatus": "tap"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
170
|
-
"title": "示例标题",
|
|
171
|
-
"des": "这是一段示例描述,这是一段示例描述",
|
|
172
|
-
"tapStatus": "tap"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"icon": "https://qcloudimg.tencent-cloud.cn/raw/478c35e469057b4d6352ccc14e00ebc5.png",
|
|
176
|
-
"title": "示例标题",
|
|
177
|
-
"des": "这是一段示例描述,这是一段示例描述",
|
|
178
|
-
"tapStatus": "tap"
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"x-index": 1,
|
|
182
|
-
"x-component": "list",
|
|
183
|
-
"remarks": "配置图文卡片的详细内容。属性变量可hover到属性标题进行查看。补充属性说明:点击时(tapsSatus):无行为(tap)/打开页面(inside)/外部链接(outer);参数(params):[{key:***,value:***}]"
|
|
184
|
-
},
|
|
185
|
-
"textAlign": {
|
|
186
|
-
"title": "对齐",
|
|
187
|
-
"type": "string",
|
|
188
|
-
"default": "left",
|
|
189
|
-
"x-component": "textAlign",
|
|
190
|
-
"x-index": 10,
|
|
191
|
-
"x-category": "高级属性",
|
|
192
|
-
"remarks": "单个卡片中图片、标题、描述、按钮的对齐方式"
|
|
193
|
-
},
|
|
194
|
-
"iconHeightSize": {
|
|
195
|
-
"type": "string",
|
|
196
|
-
"default": "100%",
|
|
197
|
-
"title": "图片高度",
|
|
198
|
-
"x-category": "高级属性",
|
|
199
|
-
"x-index": 20
|
|
200
|
-
},
|
|
201
|
-
"iconWidthSize": {
|
|
202
|
-
"type": "string",
|
|
203
|
-
"default": "100%",
|
|
204
|
-
"title": "图片宽度",
|
|
205
|
-
"description": "默认单位px",
|
|
206
|
-
"x-category": "高级属性",
|
|
207
|
-
"x-index": 25
|
|
208
|
-
},
|
|
209
|
-
"titleVisible": {
|
|
210
|
-
"title": "显示标题",
|
|
211
|
-
"type": "boolean",
|
|
212
|
-
"default": true,
|
|
213
|
-
"x-category": "高级属性",
|
|
214
|
-
"x-index": 30,
|
|
215
|
-
"x-linkages": [
|
|
216
|
-
{
|
|
217
|
-
"type": "value:visible",
|
|
218
|
-
"target": "*(titleColor,titleFontWeight,titleFontSize,titleLineHeight,titleMaxLines)",
|
|
219
|
-
"condition": "{{$self.value}}"
|
|
220
|
-
}
|
|
221
|
-
]
|
|
222
|
-
},
|
|
223
|
-
"titleColor": {
|
|
224
|
-
"title": "标题颜色",
|
|
225
|
-
"type": "string",
|
|
226
|
-
"x-component": "color",
|
|
227
|
-
"x-index": 40,
|
|
228
|
-
"x-category": "高级属性",
|
|
229
|
-
"default": "rgb(0, 0, 0)"
|
|
230
|
-
},
|
|
231
|
-
"titleFontWeight": {
|
|
232
|
-
"type": "string",
|
|
233
|
-
"title": "标题字重",
|
|
234
|
-
"default": "bolder",
|
|
235
|
-
"x-category": "高级属性",
|
|
236
|
-
"x-index": 50,
|
|
237
|
-
"enum": [
|
|
238
|
-
{
|
|
239
|
-
"label": "细",
|
|
240
|
-
"value": "lighter"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"label": "正常",
|
|
244
|
-
"value": "normal"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"label": "粗",
|
|
248
|
-
"value": "bolder"
|
|
249
|
-
}
|
|
250
|
-
]
|
|
251
|
-
},
|
|
252
|
-
"titleFontSize": {
|
|
253
|
-
"type": "number",
|
|
254
|
-
"title": "标题字号",
|
|
255
|
-
"default": 14,
|
|
256
|
-
"x-category": "高级属性",
|
|
257
|
-
"x-props": {
|
|
258
|
-
"min": 0,
|
|
259
|
-
"max": 100
|
|
260
|
-
},
|
|
261
|
-
"x-index": 60
|
|
262
|
-
},
|
|
263
|
-
"titleLineHeight": {
|
|
264
|
-
"title": "标题行高",
|
|
265
|
-
"type": "string",
|
|
266
|
-
"x-index": 70,
|
|
267
|
-
"x-category": "高级属性",
|
|
268
|
-
"default": "auto"
|
|
269
|
-
},
|
|
270
|
-
"titleMaxLines": {
|
|
271
|
-
"title": "标题行数",
|
|
272
|
-
"type": "number",
|
|
273
|
-
"default": 1,
|
|
274
|
-
"x-index": 80,
|
|
275
|
-
"x-category": "高级属性"
|
|
276
|
-
},
|
|
277
|
-
"desVisible": {
|
|
278
|
-
"title": "显示描述",
|
|
279
|
-
"type": "boolean",
|
|
280
|
-
"default": true,
|
|
281
|
-
"x-category": "高级属性",
|
|
282
|
-
"x-index": 90,
|
|
283
|
-
"x-linkages": [
|
|
284
|
-
{
|
|
285
|
-
"type": "value:visible",
|
|
286
|
-
"target": "*(desColor,desFontWeight,desFontSize,desLineHeight,desMaxLines)",
|
|
287
|
-
"condition": "{{$self.value}}"
|
|
288
|
-
}
|
|
289
|
-
]
|
|
290
|
-
},
|
|
291
|
-
"desColor": {
|
|
292
|
-
"title": "描述颜色",
|
|
293
|
-
"type": "string",
|
|
294
|
-
"x-component": "color",
|
|
295
|
-
"x-index": 100,
|
|
296
|
-
"x-category": "高级属性",
|
|
297
|
-
"default": "rgba(0, 0, 0, 0.4)"
|
|
298
|
-
},
|
|
299
|
-
"desFontWeight": {
|
|
300
|
-
"type": "string",
|
|
301
|
-
"title": "描述字重",
|
|
302
|
-
"default": "normal",
|
|
303
|
-
"x-category": "高级属性",
|
|
304
|
-
"x-index": 110,
|
|
305
|
-
"enum": [
|
|
306
|
-
{
|
|
307
|
-
"label": "细",
|
|
308
|
-
"value": "lighter"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"label": "正常",
|
|
312
|
-
"value": "normal"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"label": "粗",
|
|
316
|
-
"value": "bolder"
|
|
317
|
-
}
|
|
318
|
-
]
|
|
319
|
-
},
|
|
320
|
-
"desFontSize": {
|
|
321
|
-
"type": "number",
|
|
322
|
-
"title": "描述字号",
|
|
323
|
-
"default": 14,
|
|
324
|
-
"x-category": "高级属性",
|
|
325
|
-
"x-props": {
|
|
326
|
-
"min": 0,
|
|
327
|
-
"max": 100
|
|
328
|
-
},
|
|
329
|
-
"x-index": 120
|
|
330
|
-
},
|
|
331
|
-
"desLineHeight": {
|
|
332
|
-
"title": "描述行高",
|
|
333
|
-
"type": "string",
|
|
334
|
-
"x-index": 130,
|
|
335
|
-
"x-category": "高级属性",
|
|
336
|
-
"default": "auto"
|
|
337
|
-
},
|
|
338
|
-
"desMaxLines": {
|
|
339
|
-
"title": "描述行数",
|
|
340
|
-
"type": "number",
|
|
341
|
-
"default": 2,
|
|
342
|
-
"x-index": 140,
|
|
343
|
-
"x-category": "高级属性"
|
|
344
|
-
},
|
|
345
|
-
"buttonVisible": {
|
|
346
|
-
"title": "显示详情按钮",
|
|
347
|
-
"type": "boolean",
|
|
348
|
-
"default": true,
|
|
349
|
-
"x-category": "高级属性",
|
|
350
|
-
"x-index": 150,
|
|
351
|
-
"description": "无行为的按钮将保持隐藏",
|
|
352
|
-
"x-linkages": [
|
|
353
|
-
{
|
|
354
|
-
"type": "value:visible",
|
|
355
|
-
"target": "*(buttonText)",
|
|
356
|
-
"condition": "{{$self.value}}"
|
|
357
|
-
}
|
|
358
|
-
]
|
|
359
|
-
},
|
|
360
|
-
"buttonText": {
|
|
361
|
-
"title": "按钮文案",
|
|
362
|
-
"type": "string",
|
|
363
|
-
"default": "查看详情",
|
|
364
|
-
"x-category": "高级属性",
|
|
365
|
-
"x-index": 160
|
|
366
|
-
},
|
|
367
|
-
"ColMobile": {
|
|
368
|
-
"type": "number",
|
|
369
|
-
"default": 2,
|
|
370
|
-
"title": "移动端列数",
|
|
371
|
-
"x-category": "基础属性",
|
|
372
|
-
"remarks": "移动端每行卡片列数",
|
|
373
|
-
"enum": [
|
|
374
|
-
{
|
|
375
|
-
"label": "1",
|
|
376
|
-
"value": 1
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"label": "2",
|
|
380
|
-
"value": 2
|
|
381
|
-
}
|
|
382
|
-
]
|
|
383
|
-
},
|
|
384
|
-
"ColPC": {
|
|
385
|
-
"type": "number",
|
|
386
|
-
"default": 4,
|
|
387
|
-
"title": "PC端列数",
|
|
388
|
-
"x-category": "基础属性",
|
|
389
|
-
"remarks": "PC端每行卡片列数",
|
|
390
|
-
"enum": [
|
|
391
|
-
{
|
|
392
|
-
"label": "3",
|
|
393
|
-
"value": 3
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"label": "4",
|
|
397
|
-
"value": 4
|
|
398
|
-
}
|
|
399
|
-
]
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
"meta": {
|
|
404
|
-
"title": "图文卡片",
|
|
405
|
-
"description": "以卡片形式展示包含图片、标题、描述信息在内的列表信息。",
|
|
406
|
-
"category": "展示",
|
|
407
|
-
"componentOrder": 501,
|
|
408
|
-
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/GraphicCard.svg"
|
|
409
|
-
},
|
|
410
|
-
"configMeta": {
|
|
411
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/GraphicCard"
|
|
412
|
-
}
|
|
413
|
-
}
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
|
-
"data": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"src": {
|
|
6
|
-
"title": "图片地址",
|
|
7
|
-
"type": "string",
|
|
8
|
-
"x-component": "image",
|
|
9
|
-
"x-rules": [
|
|
10
|
-
{
|
|
11
|
-
"message": "请输入合法的图片地址",
|
|
12
|
-
"pattern": "^(((https?)://)|/resources/)[^\\s]+$"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"default": "https://main.qcloudimg.com/raw/c85c9a875e9754545ee19f20438b2caa.svg",
|
|
16
|
-
"x-category": "基础属性",
|
|
17
|
-
"x-index": 1,
|
|
18
|
-
"remarks": "更改需要展示的图片"
|
|
19
|
-
},
|
|
20
|
-
"fit": {
|
|
21
|
-
"title": "布局模式",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"default": "cover",
|
|
24
|
-
"enum": [
|
|
25
|
-
{
|
|
26
|
-
"value": "cover",
|
|
27
|
-
"label": "铺满"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"value": "contain",
|
|
31
|
-
"label": "适合"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"value": "fill",
|
|
35
|
-
"label": "拉伸"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"x-category": "基础属性",
|
|
39
|
-
"x-index": 2,
|
|
40
|
-
"remarks": "更改图片的布局模式"
|
|
41
|
-
},
|
|
42
|
-
"imgPreview": {
|
|
43
|
-
"title": "点击预览大图",
|
|
44
|
-
"type": "boolean",
|
|
45
|
-
"default": false,
|
|
46
|
-
"x-index": 3,
|
|
47
|
-
"x-category": "基础属性",
|
|
48
|
-
"x-linkages": [
|
|
49
|
-
{
|
|
50
|
-
"type": "value:visible",
|
|
51
|
-
"target": "maskClosable",
|
|
52
|
-
"condition": "{{ $self.value }}"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"remarks": "开启后,点击图片后图片会展示为大图"
|
|
56
|
-
},
|
|
57
|
-
"maskClosable": {
|
|
58
|
-
"title": "再次点击关闭预览",
|
|
59
|
-
"type": "boolean",
|
|
60
|
-
"x-index": 4,
|
|
61
|
-
"default": true,
|
|
62
|
-
"x-category": "基础属性"
|
|
63
|
-
},
|
|
64
|
-
"alt": {
|
|
65
|
-
"title": "替代文字",
|
|
66
|
-
"type": "string",
|
|
67
|
-
"default": "[图片]",
|
|
68
|
-
"x-category": "高级属性",
|
|
69
|
-
"description": "用于图片加载失败 或 屏幕阅读器替代显示",
|
|
70
|
-
"remarks": "当图片加载失败时,会展示此处配置的文本内容"
|
|
71
|
-
},
|
|
72
|
-
"showMenuByLongpress": {
|
|
73
|
-
"title": "识别小程序码",
|
|
74
|
-
"type": "boolean",
|
|
75
|
-
"x-platforms": ["MP"],
|
|
76
|
-
"x-category": "高级属性",
|
|
77
|
-
"description": "小程序专有属性,长按图片可唤起识别小程序码功能",
|
|
78
|
-
"remarks": "只有小程序端构建时生效,长按图片可唤起识别小程序码功能"
|
|
79
|
-
},
|
|
80
|
-
"lazyLoad": {
|
|
81
|
-
"title": "懒加载",
|
|
82
|
-
"type": "boolean",
|
|
83
|
-
"default": false,
|
|
84
|
-
"x-category": "高级属性",
|
|
85
|
-
"description": "图片按需加载,若图片没有被展示,则不会加载",
|
|
86
|
-
"remarks": "图片按需加载,若图片没有被展示,则不会加载"
|
|
87
|
-
},
|
|
88
|
-
"mode": {
|
|
89
|
-
"display": false,
|
|
90
|
-
"x-comment": "deprecated",
|
|
91
|
-
"title": "图片裁剪、缩放的模式",
|
|
92
|
-
"type": "string",
|
|
93
|
-
"default": "scaleToFill",
|
|
94
|
-
"enum": [
|
|
95
|
-
{
|
|
96
|
-
"value": "scaleToFill",
|
|
97
|
-
"label": "不保持纵横比缩放图片,使图片完全适应"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"value": "aspectFit",
|
|
101
|
-
"label": "保持纵横比缩放图片,使图片的长边能完全显示出来"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"value": "aspectFill",
|
|
105
|
-
"label": "保持纵横比缩放图片,只保证图片的短边能完全显示出来"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"value": "widthFix",
|
|
109
|
-
"label": "缩放模式,宽度不变,高度自动变化,保持原图宽高比不变"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"value": "heightFix",
|
|
113
|
-
"label": "缩放模式,高度不变,宽度自动变化,保持原图宽高比不变"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"value": "top",
|
|
117
|
-
"label": "不缩放图片,只显示图片的顶部区域"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"value": "bottom",
|
|
121
|
-
"label": "不缩放图片,只显示图片的底部区域"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"value": "center",
|
|
125
|
-
"label": "不缩放图片,只显示图片的中间区域"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"value": "left",
|
|
129
|
-
"label": "不缩放图片,只显示图片的左边区域"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"value": "right",
|
|
133
|
-
"label": "不缩放图片,只显示图片的右边边区域"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"value": "top left",
|
|
137
|
-
"label": "不缩放图片,只显示图片的左上边区域"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"value": "top right",
|
|
141
|
-
"label": "不缩放图片,只显示图片的右上边区域"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"value": "bottom left",
|
|
145
|
-
"label": "不缩放图片,只显示图片的左下边区域"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"value": "bottom right",
|
|
149
|
-
"label": "不缩放图片,只显示图片的右下边区域"
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"x-category": "高级属性"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"events": [
|
|
157
|
-
{
|
|
158
|
-
"name": "load",
|
|
159
|
-
"title": "加载成功"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "error",
|
|
163
|
-
"title": "加载失败"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"name": "tap",
|
|
167
|
-
"title": "点击"
|
|
168
|
-
}
|
|
169
|
-
],
|
|
170
|
-
"meta": {
|
|
171
|
-
"title": "图片",
|
|
172
|
-
"description": "用于在页面进行图片的展示。",
|
|
173
|
-
"category": "多媒体",
|
|
174
|
-
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Image.svg"
|
|
175
|
-
},
|
|
176
|
-
"configMeta": {
|
|
177
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/media/Image"
|
|
178
|
-
}
|
|
179
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
|
-
"data": {
|
|
4
|
-
"properties": {
|
|
5
|
-
"content": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"default": "这是一个链接",
|
|
8
|
-
"title": "文本内容",
|
|
9
|
-
"x-category": "基础属性",
|
|
10
|
-
"x-index": 100,
|
|
11
|
-
"remarks": "更改链接显示的文本内容"
|
|
12
|
-
},
|
|
13
|
-
"url": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"x-component": "page-list",
|
|
16
|
-
"title": "跳转页面",
|
|
17
|
-
"description": "通过下拉选择应用页面,可以实现内部页面跳转",
|
|
18
|
-
"x-category": "基础属性",
|
|
19
|
-
"x-index": 120,
|
|
20
|
-
"x-component-props": {
|
|
21
|
-
"hideAddPlatform": ["MP"]
|
|
22
|
-
},
|
|
23
|
-
"remarks": "选择点击链接后跳转的页面,小程序端构建时仅支持选择跳转应用页面"
|
|
24
|
-
},
|
|
25
|
-
"isOpenInNewWindow": {
|
|
26
|
-
"type": "boolean",
|
|
27
|
-
"title": "是否打开新窗口",
|
|
28
|
-
"x-category": "基础属性",
|
|
29
|
-
"x-index": 130,
|
|
30
|
-
"default": false,
|
|
31
|
-
"description": "仅外部链接生效"
|
|
32
|
-
},
|
|
33
|
-
"params": {
|
|
34
|
-
"type": "array",
|
|
35
|
-
"title": "携带参数",
|
|
36
|
-
"x-category": "基础属性",
|
|
37
|
-
"x-index": 160,
|
|
38
|
-
"default": [],
|
|
39
|
-
"items": {
|
|
40
|
-
"type": "object",
|
|
41
|
-
"title": "",
|
|
42
|
-
"properties": {
|
|
43
|
-
"key": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"title": "key",
|
|
46
|
-
"default": "key"
|
|
47
|
-
},
|
|
48
|
-
"value": {
|
|
49
|
-
"type": "string",
|
|
50
|
-
"title": "value",
|
|
51
|
-
"default": "value"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"remarks": "填写跳转页面时携带的参数,用于页面传参"
|
|
56
|
-
},
|
|
57
|
-
"contentSlot": {
|
|
58
|
-
"type": "slot"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"meta": {
|
|
63
|
-
"title": "链接",
|
|
64
|
-
"description": "用于实现超链接跳转。",
|
|
65
|
-
"category": "文本",
|
|
66
|
-
"componentOrder": 10,
|
|
67
|
-
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Link.svg",
|
|
68
|
-
"platform": ["MOBILEWEB", "PCWEB"]
|
|
69
|
-
},
|
|
70
|
-
"configMeta": {
|
|
71
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/text/Link"
|
|
72
|
-
},
|
|
73
|
-
"events": [
|
|
74
|
-
{
|
|
75
|
-
"name": "tap",
|
|
76
|
-
"title": "点击"
|
|
77
|
-
}
|
|
78
|
-
]
|
|
79
|
-
}
|