@cloudbase/weda-ui 3.2.0 → 3.3.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/dist/cypress/support/commands.d.ts +1 -0
- package/dist/cypress/support/commands.js +40 -0
- package/dist/cypress/support/e2e.d.ts +24 -0
- package/dist/cypress/support/e2e.js +22 -0
- package/dist/src/configs/actions/showModal.json +48 -0
- package/dist/src/configs/actions/showToast.json +41 -0
- package/dist/src/configs/components/auth.json +16 -0
- package/dist/src/configs/components/button.json +239 -0
- package/dist/src/configs/components/calendar.json +81 -0
- package/dist/src/configs/components/carousel.json +292 -0
- package/dist/src/configs/components/chart/bar.json +962 -0
- package/dist/src/configs/components/chart/line.json +878 -0
- package/dist/src/configs/components/chart/pie.json +685 -0
- package/dist/src/configs/components/chart/statisticsCard.json +376 -0
- package/dist/src/configs/components/container.json +50 -0
- package/dist/src/configs/components/dataView.json +247 -0
- package/dist/src/configs/components/drawer.json +115 -0
- package/dist/src/configs/components/form/checkbox.json +179 -0
- package/dist/src/configs/components/form/departTreeSelect.json +124 -0
- package/dist/src/configs/components/form/form.json +73 -0
- package/dist/src/configs/components/form/input.json +154 -0
- package/dist/src/configs/components/form/location.json +216 -0
- package/dist/src/configs/components/form/radio.json +203 -0
- package/dist/src/configs/components/form/richText.json +133 -0
- package/dist/src/configs/components/form/select.json +449 -0
- package/dist/src/configs/components/form/switch.json +58 -0
- package/dist/src/configs/components/form/textarea.json +116 -0
- package/dist/src/configs/components/form/tips.json +34 -0
- package/dist/src/configs/components/form/uploader.json +171 -0
- package/dist/src/configs/components/form/uploaderFile.json +158 -0
- package/dist/src/configs/components/form/userTreeSelect.json +128 -0
- package/dist/src/configs/components/formdetail.json +105 -0
- package/dist/src/configs/components/graphicCard.json +413 -0
- package/dist/src/configs/components/image.json +187 -0
- package/dist/src/configs/components/link.json +79 -0
- package/dist/src/configs/components/listView.json +378 -0
- package/dist/src/configs/components/lottery.json +163 -0
- package/dist/src/configs/components/modal.json +72 -0
- package/dist/src/configs/components/navLayout.json +368 -0
- package/dist/src/configs/components/navigationBar.json +62 -0
- package/dist/src/configs/components/richtextview.json +26 -0
- package/dist/src/configs/components/scrollVeiw.json +253 -0
- package/dist/src/configs/components/slot.json +17 -0
- package/dist/src/configs/components/swiper.json +90 -0
- package/dist/src/configs/components/tabs.json +122 -0
- package/dist/src/configs/components/text.json +95 -0
- package/dist/src/configs/components/wedaVideo.json +89 -0
- package/dist/src/configs/components/wxOpenApi/phone.json +127 -0
- package/dist/src/configs/components/wxOpenApi/phoneCode.json +109 -0
- package/dist/src/configs/components/wxOpenApi/share.json +160 -0
- package/dist/src/configs/components/wxOpenApi/userInfo.json +156 -0
- package/dist/src/configs/index.d.ts +103 -0
- package/dist/src/configs/index.js +111 -0
- package/dist/src/docs/common/format.d.ts +13 -0
- package/dist/src/docs/common/format.js +122 -0
- package/dist/src/docs/common/tableView.d.ts +30 -0
- package/dist/src/docs/common/tableView.js +156 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +3 -0
- package/dist/src/setupTests.d.ts +2 -0
- package/dist/src/setupTests.js +19 -0
- package/dist/src/web/actions/index.d.ts +2 -0
- package/dist/src/web/actions/index.js +2 -0
- package/dist/src/web/actions/showModal/index.d.ts +4 -0
- package/dist/src/web/actions/showModal/index.js +66 -0
- package/dist/src/web/actions/showToast/index.d.ts +1 -0
- package/dist/src/web/actions/showToast/index.js +3 -0
- package/dist/src/web/components/button/index.d.ts +32 -0
- package/dist/src/web/components/button/index.js +48 -0
- package/dist/src/web/components/calendar/index.d.ts +19 -0
- package/dist/src/web/components/calendar/index.js +191 -0
- package/dist/src/web/components/calendar/util.d.ts +13 -0
- package/dist/src/web/components/calendar/util.js +74 -0
- package/dist/src/web/components/carousel/index.d.ts +41 -0
- package/dist/src/web/components/carousel/index.js +244 -0
- package/dist/src/web/components/chart/bar/index.d.ts +3 -0
- package/dist/src/web/components/chart/bar/index.js +45 -0
- package/dist/src/web/components/chart/bar/index.old.d.ts +40 -0
- package/dist/src/web/components/chart/bar/index.old.js +56 -0
- package/dist/src/web/components/chart/common/Chart.d.ts +10 -0
- package/dist/src/web/components/chart/common/Chart.js +31 -0
- package/dist/src/web/components/chart/common/chart-custom-connector.d.ts +6 -0
- package/dist/src/web/components/chart/common/chart-custom-connector.js +35 -0
- package/dist/src/web/components/chart/common/chart-error.d.ts +2 -0
- package/dist/src/web/components/chart/common/chart-error.js +2 -0
- package/dist/src/web/components/chart/common/config/bar.d.ts +48 -0
- package/dist/src/web/components/chart/common/config/bar.js +49 -0
- package/dist/src/web/components/chart/common/config/global.d.ts +13 -0
- package/dist/src/web/components/chart/common/config/global.js +16 -0
- package/dist/src/web/components/chart/common/config/line.d.ts +46 -0
- package/dist/src/web/components/chart/common/config/line.js +49 -0
- package/dist/src/web/components/chart/common/config/pie.d.ts +29 -0
- package/dist/src/web/components/chart/common/config/pie.js +36 -0
- package/dist/src/web/components/chart/common/core/eChartBar.d.ts +66 -0
- package/dist/src/web/components/chart/common/core/eChartBar.js +201 -0
- package/dist/src/web/components/chart/common/core/eChartBase.d.ts +127 -0
- package/dist/src/web/components/chart/common/core/eChartBase.js +394 -0
- package/dist/src/web/components/chart/common/core/eChartLine.d.ts +60 -0
- package/dist/src/web/components/chart/common/core/eChartLine.js +173 -0
- package/dist/src/web/components/chart/common/core/eChartPie.d.ts +48 -0
- package/dist/src/web/components/chart/common/core/eChartPie.js +135 -0
- package/dist/src/web/components/chart/common/core/type.d.ts +35 -0
- package/dist/src/web/components/chart/common/core/type.js +9 -0
- package/dist/src/web/components/chart/common/data-transform.d.ts +6 -0
- package/dist/src/web/components/chart/common/data-transform.js +248 -0
- package/dist/src/web/components/chart/common/echarts.d.ts +5 -0
- package/dist/src/web/components/chart/common/echarts.js +24 -0
- package/dist/src/web/components/chart/common/error-boundary.d.ts +5 -0
- package/dist/src/web/components/chart/common/error-boundary.js +26 -0
- package/dist/src/web/components/chart/common/useChart.d.ts +8 -0
- package/dist/src/web/components/chart/common/useChart.js +72 -0
- package/dist/src/web/components/chart/line/index.d.ts +3 -0
- package/dist/src/web/components/chart/line/index.js +42 -0
- package/dist/src/web/components/chart/line/index.old.d.ts +38 -0
- package/dist/src/web/components/chart/line/index.old.js +53 -0
- package/dist/src/web/components/chart/pie/index.d.ts +3 -0
- package/dist/src/web/components/chart/pie/index.js +42 -0
- package/dist/src/web/components/chart/pie/index.old.d.ts +27 -0
- package/dist/src/web/components/chart/pie/index.old.js +40 -0
- package/dist/src/web/components/chart/statisticsCard/index.d.ts +85 -0
- package/dist/src/web/components/chart/statisticsCard/index.js +203 -0
- package/dist/src/web/components/chart/statisticsCard/interface.d.ts +13 -0
- package/dist/src/web/components/chart/statisticsCard/interface.js +1 -0
- package/dist/src/web/components/common/error-boundary.d.ts +5 -0
- package/dist/src/web/components/common/error-boundary.js +33 -0
- package/dist/src/web/components/common/portal.d.ts +7 -0
- package/dist/src/web/components/common/portal.js +14 -0
- package/dist/src/web/components/common/use-loop-render-detect.d.ts +11 -0
- package/dist/src/web/components/common/use-loop-render-detect.js +124 -0
- package/dist/src/web/components/container/index.d.ts +6 -0
- package/dist/src/web/components/container/index.js +6 -0
- package/dist/src/web/components/dataView/index.d.ts +6 -0
- package/dist/src/web/components/dataView/index.js +8 -0
- package/dist/src/web/components/dataView/interface.d.ts +5 -0
- package/dist/src/web/components/dataView/interface.js +1 -0
- package/dist/src/web/components/drawer/index.d.ts +13 -0
- package/dist/src/web/components/drawer/index.js +12 -0
- package/dist/src/web/components/form/checkbox/index.d.ts +13 -0
- package/dist/src/web/components/form/checkbox/index.js +167 -0
- package/dist/src/web/components/form/enumSelect/MultipleSelect.d.ts +78 -0
- package/dist/src/web/components/form/enumSelect/MultipleSelect.js +52 -0
- package/dist/src/web/components/form/enumSelect/NormalSelect.d.ts +83 -0
- package/dist/src/web/components/form/enumSelect/NormalSelect.js +52 -0
- package/dist/src/web/components/form/enumSelect/SelectContainer.d.ts +16 -0
- package/dist/src/web/components/form/enumSelect/SelectContainer.js +30 -0
- package/dist/src/web/components/form/enumSelect/index.d.ts +82 -0
- package/dist/src/web/components/form/enumSelect/index.js +6 -0
- package/dist/src/web/components/form/enumSelect/props/defaultProps.d.ts +34 -0
- package/dist/src/web/components/form/enumSelect/props/defaultProps.js +40 -0
- package/dist/src/web/components/form/enumSelect/props/propsTypes.d.ts +39 -0
- package/dist/src/web/components/form/enumSelect/props/propsTypes.js +47 -0
- package/dist/src/web/components/form/form/index.d.ts +32 -0
- package/dist/src/web/components/form/form/index.js +150 -0
- package/dist/src/web/components/form/formcell/index.d.ts +8 -0
- package/dist/src/web/components/form/formcell/index.js +40 -0
- package/dist/src/web/components/form/input/index.d.ts +14 -0
- package/dist/src/web/components/form/input/index.js +94 -0
- package/dist/src/web/components/form/location/common/mapChoose.d.ts +15 -0
- package/dist/src/web/components/form/location/common/mapChoose.js +496 -0
- package/dist/src/web/components/form/location/common/mapView.d.ts +19 -0
- package/dist/src/web/components/form/location/common/mapView.js +175 -0
- package/dist/src/web/components/form/location/common/propsConfig.d.ts +59 -0
- package/dist/src/web/components/form/location/common/propsConfig.js +50 -0
- package/dist/src/web/components/form/location/common/selectModal.d.ts +21 -0
- package/dist/src/web/components/form/location/common/selectModal.js +44 -0
- package/dist/src/web/components/form/location/common/tmap.d.ts +3 -0
- package/dist/src/web/components/form/location/common/tmap.js +21 -0
- package/dist/src/web/components/form/location/common/useLocationInfo.d.ts +36 -0
- package/dist/src/web/components/form/location/common/useLocationInfo.js +105 -0
- package/dist/src/web/components/form/location/components/LocationH5/location.h5.d.ts +8 -0
- package/dist/src/web/components/form/location/components/LocationH5/location.h5.js +328 -0
- package/dist/src/web/components/form/location/components/LocationPC/Header.d.ts +12 -0
- package/dist/src/web/components/form/location/components/LocationPC/Header.js +43 -0
- package/dist/src/web/components/form/location/components/LocationPC/location.PC.d.ts +8 -0
- package/dist/src/web/components/form/location/components/LocationPC/location.PC.js +228 -0
- package/dist/src/web/components/form/location/constants.d.ts +2 -0
- package/dist/src/web/components/form/location/constants.js +3 -0
- package/dist/src/web/components/form/location/index.d.ts +1 -0
- package/dist/src/web/components/form/location/index.js +24 -0
- package/dist/src/web/components/form/radio/index.d.ts +11 -0
- package/dist/src/web/components/form/radio/index.js +115 -0
- package/dist/src/web/components/form/renderDecorator.d.ts +6 -0
- package/dist/src/web/components/form/renderDecorator.js +20 -0
- package/dist/src/web/components/form/select/allTimePicker/calendar.d.ts +13 -0
- package/dist/src/web/components/form/select/allTimePicker/calendar.js +104 -0
- package/dist/src/web/components/form/select/allTimePicker/dataUtils.d.ts +24 -0
- package/dist/src/web/components/form/select/allTimePicker/dataUtils.js +265 -0
- package/dist/src/web/components/form/select/allTimePicker/index.d.ts +14 -0
- package/dist/src/web/components/form/select/allTimePicker/index.js +944 -0
- package/dist/src/web/components/form/select/dropdown-select/ui.d.ts +15 -0
- package/dist/src/web/components/form/select/dropdown-select/ui.js +55 -0
- package/dist/src/web/components/form/select/h5.d.ts +16 -0
- package/dist/src/web/components/form/select/h5.js +466 -0
- package/dist/src/web/components/form/select/index.d.ts +66 -0
- package/dist/src/web/components/form/select/index.js +255 -0
- package/dist/src/web/components/form/select/region/index.d.ts +6 -0
- package/dist/src/web/components/form/select/region/index.js +147 -0
- package/dist/src/web/components/form/select/time.d.ts +9 -0
- package/dist/src/web/components/form/select/time.js +146 -0
- package/dist/src/web/components/form/select/use-options.d.ts +26 -0
- package/dist/src/web/components/form/select/use-options.js +103 -0
- package/dist/src/web/components/form/select/year.d.ts +7 -0
- package/dist/src/web/components/form/select/year.js +72 -0
- package/dist/src/web/components/form/switch/index.d.ts +6 -0
- package/dist/src/web/components/form/switch/index.js +58 -0
- package/dist/src/web/components/form/textarea/index.d.ts +12 -0
- package/dist/src/web/components/form/textarea/index.js +66 -0
- package/dist/src/web/components/form/tips/index.d.ts +8 -0
- package/dist/src/web/components/form/tips/index.js +17 -0
- package/dist/src/web/components/form/uploader/index.d.ts +3 -0
- package/dist/src/web/components/form/uploader/index.js +42 -0
- package/dist/src/web/components/form/uploader/uploader.h5.d.ts +20 -0
- package/dist/src/web/components/form/uploader/uploader.h5.js +199 -0
- package/dist/src/web/components/form/uploader/uploader.pc.d.ts +29 -0
- package/dist/src/web/components/form/uploader/uploader.pc.js +208 -0
- package/dist/src/web/components/form/uploaderFile/index.d.ts +4 -0
- package/dist/src/web/components/form/uploaderFile/index.js +19 -0
- package/dist/src/web/components/form/uploaderFile/uploadFile.h5.d.ts +23 -0
- package/dist/src/web/components/form/uploaderFile/uploadFile.h5.js +330 -0
- package/dist/src/web/components/form/uploaderFile/uploadFile.pc.d.ts +24 -0
- package/dist/src/web/components/form/uploaderFile/uploadFile.pc.js +302 -0
- package/dist/src/web/components/form/userOrgSelect/comTool.d.ts +8 -0
- package/dist/src/web/components/form/userOrgSelect/comTool.js +101 -0
- package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.d.ts +19 -0
- package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.js +252 -0
- package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.d.ts +4 -0
- package/dist/src/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.js +157 -0
- package/dist/src/web/components/form/userOrgSelect/departTreeSelect/index.d.ts +2 -0
- package/dist/src/web/components/form/userOrgSelect/departTreeSelect/index.js +17 -0
- package/dist/src/web/components/form/userOrgSelect/getUserService.d.ts +11 -0
- package/dist/src/web/components/form/userOrgSelect/getUserService.js +159 -0
- package/dist/src/web/components/form/userOrgSelect/index.d.ts +2 -0
- package/dist/src/web/components/form/userOrgSelect/index.js +17 -0
- package/dist/src/web/components/form/userOrgSelect/userTreeSelect.h5.d.ts +27 -0
- package/dist/src/web/components/form/userOrgSelect/userTreeSelect.h5.js +276 -0
- package/dist/src/web/components/form/userOrgSelect/userTreeSelect.pc.d.ts +9 -0
- package/dist/src/web/components/form/userOrgSelect/userTreeSelect.pc.js +253 -0
- package/dist/src/web/components/form/userOrgSelect/utils.d.ts +36 -0
- package/dist/src/web/components/form/userOrgSelect/utils.js +80 -0
- package/dist/src/web/components/formdetail/index.d.ts +28 -0
- package/dist/src/web/components/formdetail/index.js +173 -0
- package/dist/src/web/components/graphicCard/index.d.ts +46 -0
- package/dist/src/web/components/graphicCard/index.js +178 -0
- package/dist/src/web/components/image/image.d.ts +9 -0
- package/dist/src/web/components/image/image.js +119 -0
- package/dist/src/web/components/image/index.d.ts +13 -0
- package/dist/src/web/components/image/index.js +77 -0
- package/dist/src/web/components/index.d.ts +50 -0
- package/dist/src/web/components/index.js +99 -0
- package/dist/src/web/components/link/index.d.ts +24 -0
- package/dist/src/web/components/link/index.js +71 -0
- package/dist/src/web/components/listView/index.d.ts +7 -0
- package/dist/src/web/components/listView/index.js +297 -0
- package/dist/src/web/components/listView/interface.d.ts +127 -0
- package/dist/src/web/components/listView/interface.js +1 -0
- package/dist/src/web/components/lottery/index.d.ts +22 -0
- package/dist/src/web/components/lottery/index.js +385 -0
- package/dist/src/web/components/lottery/lotteryUtil.d.ts +23 -0
- package/dist/src/web/components/lottery/lotteryUtil.js +181 -0
- package/dist/src/web/components/modal/index.d.ts +17 -0
- package/dist/src/web/components/modal/index.js +11 -0
- package/dist/src/web/components/modal/modal.h5.d.ts +4 -0
- package/dist/src/web/components/modal/modal.h5.js +46 -0
- package/dist/src/web/components/modal/modal.pc.d.ts +3 -0
- package/dist/src/web/components/modal/modal.pc.js +31 -0
- package/dist/src/web/components/navLayout/index.d.ts +61 -0
- package/dist/src/web/components/navLayout/index.js +127 -0
- package/dist/src/web/components/navigationBar/common.d.ts +15 -0
- package/dist/src/web/components/navigationBar/common.js +127 -0
- package/dist/src/web/components/navigationBar/h5Menu.d.ts +14 -0
- package/dist/src/web/components/navigationBar/h5Menu.js +72 -0
- package/dist/src/web/components/navigationBar/horizontalMenu.d.ts +12 -0
- package/dist/src/web/components/navigationBar/horizontalMenu.js +99 -0
- package/dist/src/web/components/navigationBar/index.d.ts +13 -0
- package/dist/src/web/components/navigationBar/index.js +157 -0
- package/dist/src/web/components/navigationBar/verticalMenu.d.ts +13 -0
- package/dist/src/web/components/navigationBar/verticalMenu.js +38 -0
- package/dist/src/web/components/phone/index.d.ts +18 -0
- package/dist/src/web/components/phone/index.js +4 -0
- package/dist/src/web/components/phoneCode/index.d.ts +18 -0
- package/dist/src/web/components/phoneCode/index.js +4 -0
- package/dist/src/web/components/picker/datePicker.d.ts +10 -0
- package/dist/src/web/components/picker/datePicker.js +31 -0
- package/dist/src/web/components/picker/picker.d.ts +6 -0
- package/dist/src/web/components/picker/picker.js +45 -0
- package/dist/src/web/components/picker/timePicker.d.ts +7 -0
- package/dist/src/web/components/picker/timePicker.js +42 -0
- package/dist/src/web/components/richText/const.d.ts +1 -0
- package/dist/src/web/components/richText/const.js +2 -0
- package/dist/src/web/components/richText/index.d.ts +50 -0
- package/dist/src/web/components/richText/index.js +351 -0
- package/dist/src/web/components/richTextView/index.d.ts +7 -0
- package/dist/src/web/components/richTextView/index.js +46 -0
- package/dist/src/web/components/scrollView/index.d.ts +26 -0
- package/dist/src/web/components/scrollView/index.js +97 -0
- package/dist/src/web/components/share/index.d.ts +34 -0
- package/dist/src/web/components/share/index.js +4 -0
- package/dist/src/web/components/slot/index.d.ts +6 -0
- package/dist/src/web/components/slot/index.js +9 -0
- package/dist/src/web/components/swiper/index.d.ts +24 -0
- package/dist/src/web/components/swiper/index.js +153 -0
- package/dist/src/web/components/tabs/index.d.ts +13 -0
- package/dist/src/web/components/tabs/index.js +20 -0
- package/dist/src/web/components/tabs/tabs.h5.d.ts +4 -0
- package/dist/src/web/components/tabs/tabs.h5.js +44 -0
- package/dist/src/web/components/tabs/tabs.pc.d.ts +3 -0
- package/dist/src/web/components/tabs/tabs.pc.js +40 -0
- package/dist/src/web/components/text/index.d.ts +14 -0
- package/dist/src/web/components/text/index.js +19 -0
- package/dist/src/web/components/uploaderFileView/index.d.ts +10 -0
- package/dist/src/web/components/uploaderFileView/index.js +46 -0
- package/dist/src/web/components/uploaderView/index.d.ts +17 -0
- package/dist/src/web/components/uploaderView/index.js +48 -0
- package/dist/src/web/components/userInfo/index.d.ts +26 -0
- package/dist/src/web/components/userInfo/index.js +4 -0
- package/dist/src/web/components/wedaVideo/index.d.ts +17 -0
- package/dist/src/web/components/wedaVideo/index.js +156 -0
- package/dist/src/web/index.d.ts +8 -0
- package/dist/src/web/index.js +4 -0
- package/dist/src/web/utils/classnames.d.ts +2 -0
- package/dist/src/web/utils/classnames.js +37 -0
- package/dist/src/web/utils/console.d.ts +3 -0
- package/dist/src/web/utils/console.js +26 -0
- package/dist/src/web/utils/constant.d.ts +23 -0
- package/dist/src/web/utils/constant.js +24 -0
- package/dist/src/web/utils/debounce.d.ts +2 -0
- package/dist/src/web/utils/debounce.js +92 -0
- package/dist/src/web/utils/getLocalCounter.d.ts +1 -0
- package/dist/src/web/utils/getLocalCounter.js +4 -0
- package/dist/src/web/utils/getUserService.d.ts +11 -0
- package/dist/src/web/utils/getUserService.js +156 -0
- package/dist/src/web/utils/isObjectEqual.d.ts +2 -0
- package/dist/src/web/utils/isObjectEqual.js +12 -0
- package/dist/src/web/utils/loading-fallback.d.ts +2 -0
- package/dist/src/web/utils/loading-fallback.js +2 -0
- package/dist/src/web/utils/lodash.d.ts +1 -0
- package/dist/src/web/utils/lodash.js +2 -0
- package/dist/src/web/utils/platform.d.ts +18 -0
- package/dist/src/web/utils/platform.js +193 -0
- package/dist/src/web/utils/tcb.d.ts +33 -0
- package/dist/src/web/utils/tcb.js +118 -0
- package/dist/src/web/utils/tmap.d.ts +3 -0
- package/dist/src/web/utils/tmap.js +21 -0
- package/dist/src/web/utils/use-cloud-id-temp-url.d.ts +1 -0
- package/dist/src/web/utils/use-cloud-id-temp-url.js +15 -0
- package/dist/src/web/utils/useSetState.d.ts +1 -0
- package/dist/src/web/utils/useSetState.js +8 -0
- package/dist/src/web/utils/useSyncValue.d.ts +4 -0
- package/dist/src/web/utils/useSyncValue.js +16 -0
- package/dist/src/web/utils/weui.d.ts +1 -0
- package/dist/src/web/utils/weui.js +2 -0
- package/dist/web/components/form/input/index.css +16 -0
- package/dist/web/components/form/select/allTimePicker/calendar.css +114 -0
- package/dist/web/components/form/select/allTimePicker/index.css +136 -0
- package/dist/web/components/form/userOrgSelect/userOrgSelect.css +809 -0
- package/package.json +34 -21
|
@@ -0,0 +1,127 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
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
|
+
"x-props": {
|
|
131
|
+
"data-hidebind": true
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"params": {
|
|
135
|
+
"type": "array",
|
|
136
|
+
"title": "{{text('参数', help('如果采用绑定数据的方式,数据格式参考如下:[{key: \"paramKey1\", value: \"paramValue1\"}, {key: \"paramKey2\", value: \"paramValue2\"}]'))}}",
|
|
137
|
+
"x-category": "基础属性",
|
|
138
|
+
"remarks": "分享(转发)的页面的参数,会自动获取到当前选择页面内存在的页面参数并自动根据页面参数进行展开,当用户通过转发的链接进入小程序时,页面便会按照配置的参数进行渲染。如果采用绑定数据的方式,数据格式参考如下:[{key: 'paramKey1', value: 'paramValue1'}, {key: 'paramKey2', value: 'paramValue2'}]",
|
|
139
|
+
"pageId": "",
|
|
140
|
+
"default": [],
|
|
141
|
+
"x-index": 8,
|
|
142
|
+
"x-component": "page-params"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"events": [],
|
|
147
|
+
"meta": {
|
|
148
|
+
"title": "小程序分享",
|
|
149
|
+
"description": "支持快捷实现小程序分享功能。",
|
|
150
|
+
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Share.svg",
|
|
151
|
+
"category": "微信开放能力",
|
|
152
|
+
"categoryOrder": 100,
|
|
153
|
+
"componentOrder": 3,
|
|
154
|
+
"platform": ["MP"],
|
|
155
|
+
"visible": ["APP"]
|
|
156
|
+
},
|
|
157
|
+
"configMeta": {
|
|
158
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/wxOpen/Share"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export namespace components {
|
|
2
|
+
export { FormDetail };
|
|
3
|
+
export { Button };
|
|
4
|
+
export { Text };
|
|
5
|
+
export { Container };
|
|
6
|
+
export { Image };
|
|
7
|
+
export { Input };
|
|
8
|
+
export { Radio };
|
|
9
|
+
export { Checkbox };
|
|
10
|
+
export { Switch };
|
|
11
|
+
export { Form };
|
|
12
|
+
export { Textarea };
|
|
13
|
+
export { Location };
|
|
14
|
+
export { WedaVideo };
|
|
15
|
+
export { Select };
|
|
16
|
+
export { Auth };
|
|
17
|
+
export { Slot };
|
|
18
|
+
export { Uploader };
|
|
19
|
+
export { UploaderFile };
|
|
20
|
+
export { ScrollView };
|
|
21
|
+
export { Swiper };
|
|
22
|
+
export { Carousel };
|
|
23
|
+
export { Tips };
|
|
24
|
+
export { Modal };
|
|
25
|
+
export { RichText };
|
|
26
|
+
export { RichTextView };
|
|
27
|
+
export { Link };
|
|
28
|
+
export { Drawer };
|
|
29
|
+
export { Tabs };
|
|
30
|
+
export { Calendar };
|
|
31
|
+
export { ListView };
|
|
32
|
+
export { DataView };
|
|
33
|
+
export { NavLayout };
|
|
34
|
+
export { NavigationBar };
|
|
35
|
+
export { Line };
|
|
36
|
+
export { Bar };
|
|
37
|
+
export { Pie };
|
|
38
|
+
export { StatisticsCard };
|
|
39
|
+
export { GraphicCard };
|
|
40
|
+
export { Phone };
|
|
41
|
+
export { PhoneCode };
|
|
42
|
+
export { Share };
|
|
43
|
+
export { UserInfo };
|
|
44
|
+
export { Lottery };
|
|
45
|
+
export { UserTreeSelect };
|
|
46
|
+
export { DepartTreeSelect };
|
|
47
|
+
}
|
|
48
|
+
export namespace actions {
|
|
49
|
+
export { showToast };
|
|
50
|
+
export { showModal };
|
|
51
|
+
}
|
|
52
|
+
declare namespace _default {
|
|
53
|
+
export { components };
|
|
54
|
+
export { actions };
|
|
55
|
+
}
|
|
56
|
+
export default _default;
|
|
57
|
+
import FormDetail from "./components/formdetail.json";
|
|
58
|
+
import Button from "./components/button.json";
|
|
59
|
+
import Text from "./components/text.json";
|
|
60
|
+
import Container from "./components/container.json";
|
|
61
|
+
import Image from "./components/image.json";
|
|
62
|
+
import Input from "./components/form/input.json";
|
|
63
|
+
import Radio from "./components/form/radio.json";
|
|
64
|
+
import Checkbox from "./components/form/checkbox.json";
|
|
65
|
+
import Switch from "./components/form/switch.json";
|
|
66
|
+
import Form from "./components/form/form.json";
|
|
67
|
+
import Textarea from "./components/form/textarea.json";
|
|
68
|
+
import Location from "./components/form/location.json";
|
|
69
|
+
import WedaVideo from "./components/wedaVideo.json";
|
|
70
|
+
import Select from "./components/form/select.json";
|
|
71
|
+
import Auth from "./components/auth.json";
|
|
72
|
+
import Slot from "./components/slot.json";
|
|
73
|
+
import Uploader from "./components/form/uploader.json";
|
|
74
|
+
import UploaderFile from "./components/form/uploaderFile.json";
|
|
75
|
+
import ScrollView from "./components/scrollVeiw.json";
|
|
76
|
+
import Swiper from "./components/swiper.json";
|
|
77
|
+
import Carousel from "./components/carousel.json";
|
|
78
|
+
import Tips from "./components/form/tips.json";
|
|
79
|
+
import Modal from "./components/modal.json";
|
|
80
|
+
import RichText from "./components/form/richText.json";
|
|
81
|
+
import RichTextView from "./components/richtextview.json";
|
|
82
|
+
import Link from "./components/link.json";
|
|
83
|
+
import Drawer from "./components/drawer.json";
|
|
84
|
+
import Tabs from "./components/tabs.json";
|
|
85
|
+
import Calendar from "./components/calendar.json";
|
|
86
|
+
import ListView from "./components/listView.json";
|
|
87
|
+
import DataView from "./components/dataView.json";
|
|
88
|
+
import NavLayout from "./components/navLayout.json";
|
|
89
|
+
import NavigationBar from "./components/navigationBar.json";
|
|
90
|
+
import Line from "./components/chart/line.json";
|
|
91
|
+
import Bar from "./components/chart/bar.json";
|
|
92
|
+
import Pie from "./components/chart/pie.json";
|
|
93
|
+
import StatisticsCard from "./components/chart/statisticsCard.json";
|
|
94
|
+
import GraphicCard from "./components/graphicCard.json";
|
|
95
|
+
import Phone from "./components/wxOpenApi/phone.json";
|
|
96
|
+
import PhoneCode from "./components/wxOpenApi/phoneCode.json";
|
|
97
|
+
import Share from "./components/wxOpenApi/share.json";
|
|
98
|
+
import UserInfo from "./components/wxOpenApi/userInfo.json";
|
|
99
|
+
import Lottery from "./components/lottery.json";
|
|
100
|
+
import UserTreeSelect from "./components/form/userTreeSelect.json";
|
|
101
|
+
import DepartTreeSelect from "./components/form/departTreeSelect.json";
|
|
102
|
+
import showToast from "./actions/showToast.json";
|
|
103
|
+
import showModal from "./actions/showModal.json";
|