@cloudbase/weda-ui 3.3.1 → 3.3.3
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/{src/configs → configs}/actions/showModal.json +0 -0
- package/dist/{src/configs → configs}/actions/showToast.json +0 -0
- package/dist/{src/configs → configs}/components/auth.json +0 -0
- package/dist/{src/configs → configs}/components/button.json +0 -0
- package/dist/{src/configs → configs}/components/calendar.json +0 -0
- package/dist/{src/configs → configs}/components/carousel.json +0 -0
- package/dist/{src/configs → configs}/components/chart/bar.json +0 -0
- package/dist/{src/configs → configs}/components/chart/line.json +0 -0
- package/dist/{src/configs → configs}/components/chart/pie.json +0 -0
- package/dist/{src/configs → configs}/components/chart/statisticsCard.json +0 -0
- package/dist/{src/configs → configs}/components/container.json +0 -0
- package/dist/{src/configs → configs}/components/dataView.json +0 -0
- package/dist/{src/configs → configs}/components/drawer.json +0 -0
- package/dist/{src/configs → configs}/components/form/checkbox.json +0 -0
- package/dist/{src/configs → configs}/components/form/departTreeSelect.json +0 -0
- package/dist/{src/configs → configs}/components/form/form.json +0 -0
- package/dist/{src/configs → configs}/components/form/input.json +0 -0
- package/dist/{src/configs → configs}/components/form/location.json +0 -0
- package/dist/{src/configs → configs}/components/form/radio.json +0 -0
- package/dist/{src/configs → configs}/components/form/richText.json +0 -0
- package/dist/{src/configs → configs}/components/form/select.json +0 -0
- package/dist/{src/configs → configs}/components/form/switch.json +0 -0
- package/dist/{src/configs → configs}/components/form/textarea.json +0 -0
- package/dist/{src/configs → configs}/components/form/tips.json +0 -0
- package/dist/{src/configs → configs}/components/form/uploader.json +0 -0
- package/dist/{src/configs → configs}/components/form/uploaderFile.json +0 -0
- package/dist/{src/configs → configs}/components/form/userTreeSelect.json +0 -0
- package/dist/{src/configs → configs}/components/formdetail.json +0 -0
- package/dist/{src/configs → configs}/components/graphicCard.json +0 -0
- package/dist/{src/configs → configs}/components/image.json +0 -0
- package/dist/{src/configs → configs}/components/link.json +0 -0
- package/dist/{src/configs → configs}/components/listView.json +0 -0
- package/dist/{src/configs → configs}/components/lottery.json +0 -0
- package/dist/{src/configs → configs}/components/modal.json +0 -0
- package/dist/{src/configs → configs}/components/navLayout.json +0 -0
- package/dist/{src/configs → configs}/components/navigationBar.json +0 -0
- package/dist/{src/configs → configs}/components/richtextview.json +0 -0
- package/dist/{src/configs → configs}/components/scrollVeiw.json +0 -0
- package/dist/{src/configs → configs}/components/slot.json +0 -0
- package/dist/{src/configs → configs}/components/swiper.json +0 -0
- package/dist/{src/configs → configs}/components/tabs.json +0 -0
- package/dist/{src/configs → configs}/components/text.json +0 -0
- package/dist/{src/configs → configs}/components/wedaVideo.json +0 -0
- package/dist/{src/configs → configs}/components/wxOpenApi/phone.json +0 -0
- package/dist/{src/configs → configs}/components/wxOpenApi/phoneCode.json +0 -0
- package/dist/{src/configs → configs}/components/wxOpenApi/share.json +0 -0
- package/dist/{src/configs → configs}/components/wxOpenApi/userInfo.json +0 -0
- package/dist/{src/configs → configs}/index.d.ts +0 -0
- package/dist/{src/configs → configs}/index.js +0 -0
- package/dist/{src/docs → docs}/common/format.d.ts +0 -0
- package/dist/{src/docs → docs}/common/format.js +0 -0
- package/dist/{src/docs → docs}/common/tableView.d.ts +0 -0
- package/dist/{src/docs → docs}/common/tableView.js +0 -0
- package/dist/{src/index.d.ts → index.d.ts} +0 -0
- package/dist/{src/index.js → index.js} +0 -0
- package/dist/{src/setupTests.d.ts → setupTests.d.ts} +0 -0
- package/dist/{src/setupTests.js → setupTests.js} +0 -0
- package/dist/{src/web → web}/actions/index.d.ts +0 -0
- package/dist/{src/web → web}/actions/index.js +0 -0
- package/dist/{src/web → web}/actions/showModal/index.d.ts +0 -0
- package/dist/{src/web → web}/actions/showModal/index.js +0 -0
- package/dist/{src/web → web}/actions/showToast/index.d.ts +0 -0
- package/dist/{src/web → web}/actions/showToast/index.js +0 -0
- package/dist/{src/web → web}/components/button/index.d.ts +0 -0
- package/dist/{src/web → web}/components/button/index.js +0 -0
- package/dist/{src/web → web}/components/calendar/index.d.ts +0 -0
- package/dist/{src/web → web}/components/calendar/index.js +37 -39
- package/dist/{src/web → web}/components/calendar/util.d.ts +0 -0
- package/dist/{src/web → web}/components/calendar/util.js +0 -0
- package/dist/{src/web → web}/components/carousel/index.d.ts +0 -0
- package/dist/{src/web → web}/components/carousel/index.js +62 -62
- package/dist/{src/web → web}/components/chart/bar/index.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/bar/index.js +0 -4
- package/dist/{src/web → web}/components/chart/bar/index.old.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/bar/index.old.js +0 -0
- package/dist/{src/web → web}/components/chart/common/Chart.d.ts +0 -1
- package/dist/{src/web → web}/components/chart/common/Chart.js +1 -9
- package/dist/{src/web → web}/components/chart/common/chart-custom-connector.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/chart-custom-connector.js +1 -1
- package/dist/{src/web → web}/components/chart/common/chart-error.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/chart-error.js +0 -0
- package/dist/{src/web → web}/components/chart/common/config/bar.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/config/bar.js +0 -0
- package/dist/{src/web → web}/components/chart/common/config/global.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/config/global.js +0 -0
- package/dist/{src/web → web}/components/chart/common/config/line.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/config/line.js +0 -0
- package/dist/{src/web → web}/components/chart/common/config/pie.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/config/pie.js +0 -0
- package/dist/{src/web → web}/components/chart/common/core/eChartBar.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/core/eChartBar.js +0 -0
- package/dist/{src/web → web}/components/chart/common/core/eChartBase.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/core/eChartBase.js +1 -1
- package/dist/{src/web → web}/components/chart/common/core/eChartLine.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/core/eChartLine.js +0 -0
- package/dist/{src/web → web}/components/chart/common/core/eChartPie.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/core/eChartPie.js +0 -0
- package/dist/{src/web → web}/components/chart/common/core/type.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/core/type.js +0 -0
- package/dist/{src/web → web}/components/chart/common/data-transform.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/data-transform.js +1 -1
- package/dist/{src/web → web}/components/chart/common/echarts.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/echarts.js +0 -0
- package/dist/{src/web → web}/components/chart/common/useChart.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/common/useChart.js +2 -11
- package/dist/{src/web → web}/components/chart/line/index.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/line/index.js +0 -0
- package/dist/{src/web → web}/components/chart/line/index.old.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/line/index.old.js +0 -0
- package/dist/{src/web → web}/components/chart/pie/index.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/pie/index.js +0 -0
- package/dist/{src/web → web}/components/chart/pie/index.old.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/pie/index.old.js +0 -0
- package/dist/{src/web → web}/components/chart/statisticsCard/index.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/statisticsCard/index.js +0 -0
- package/dist/{src/web → web}/components/chart/statisticsCard/interface.d.ts +0 -0
- package/dist/{src/web → web}/components/chart/statisticsCard/interface.js +0 -0
- package/dist/{src/web → web}/components/common/error-boundary.d.ts +0 -0
- package/dist/{src/web → web}/components/common/error-boundary.js +0 -0
- package/dist/{src/web → web}/components/common/portal.d.ts +0 -0
- package/dist/{src/web → web}/components/common/portal.js +0 -0
- package/dist/{src/web → web}/components/common/use-loop-render-detect.d.ts +2 -2
- package/dist/{src/web → web}/components/common/use-loop-render-detect.js +7 -9
- package/dist/{src/web → web}/components/container/index.d.ts +0 -0
- package/dist/{src/web → web}/components/container/index.js +0 -0
- package/dist/{src/web → web}/components/dataView/index.d.ts +0 -0
- package/dist/{src/web → web}/components/dataView/index.js +0 -0
- package/dist/{src/web → web}/components/dataView/interface.d.ts +0 -0
- package/dist/{src/web → web}/components/dataView/interface.js +0 -0
- package/dist/{src/web → web}/components/drawer/index.d.ts +0 -0
- package/dist/{src/web → web}/components/drawer/index.js +0 -0
- package/dist/{src/web → web}/components/form/checkbox/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/checkbox/index.js +29 -29
- package/dist/{src/web → web}/components/form/enumSelect/MultipleSelect.d.ts +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/MultipleSelect.js +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/NormalSelect.d.ts +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/NormalSelect.js +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/SelectContainer.d.ts +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/SelectContainer.js +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/index.js +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/props/defaultProps.d.ts +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/props/defaultProps.js +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/props/propsTypes.d.ts +0 -0
- package/dist/{src/web → web}/components/form/enumSelect/props/propsTypes.js +0 -0
- package/dist/{src/web → web}/components/form/form/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/form/index.js +1 -3
- package/dist/{src/web → web}/components/form/formcell/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/formcell/index.js +0 -0
- package/dist/{src/web → web}/components/form/input/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/input/index.js +0 -0
- package/dist/{src/web → web}/components/form/location/common/mapChoose.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/common/mapChoose.js +1 -2
- package/dist/{src/web → web}/components/form/location/common/mapView.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/common/mapView.js +1 -4
- package/dist/{src/web → web}/components/form/location/common/propsConfig.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/common/propsConfig.js +0 -0
- package/dist/{src/web → web}/components/form/location/common/selectModal.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/common/selectModal.js +0 -0
- package/dist/{src/web → web}/components/form/location/common/tmap.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/common/tmap.js +0 -0
- package/dist/{src/web → web}/components/form/location/common/useLocationInfo.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/common/useLocationInfo.js +0 -0
- package/dist/{src/web → web}/components/form/location/components/LocationH5/location.h5.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/components/LocationH5/location.h5.js +0 -0
- package/dist/{src/web → web}/components/form/location/components/LocationPC/Header.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/components/LocationPC/Header.js +0 -0
- package/dist/{src/web → web}/components/form/location/components/LocationPC/location.PC.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/components/LocationPC/location.PC.js +0 -4
- package/dist/{src/web → web}/components/form/location/constants.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/constants.js +0 -0
- package/dist/{src/web → web}/components/form/location/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/location/index.js +0 -0
- package/dist/{src/web → web}/components/form/radio/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/radio/index.js +3 -3
- package/dist/{src/web → web}/components/form/renderDecorator.d.ts +0 -0
- package/dist/{src/web → web}/components/form/renderDecorator.js +0 -0
- package/dist/{src/web → web}/components/form/select/allTimePicker/calendar.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/allTimePicker/calendar.js +0 -0
- package/dist/{src/web → web}/components/form/select/allTimePicker/dataUtils.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/allTimePicker/dataUtils.js +0 -0
- package/dist/{src/web → web}/components/form/select/allTimePicker/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/allTimePicker/index.js +0 -1
- package/dist/{src/web → web}/components/form/select/dropdown-select/ui.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/dropdown-select/ui.js +0 -0
- package/dist/{src/web → web}/components/form/select/h5.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/h5.js +4 -18
- package/dist/{src/web → web}/components/form/select/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/index.js +1 -8
- package/dist/{src/web → web}/components/form/select/region/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/region/index.js +0 -0
- package/dist/{src/web → web}/components/form/select/time.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/time.js +0 -0
- package/dist/{src/web → web}/components/form/select/use-options.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/use-options.js +1 -1
- package/dist/{src/web → web}/components/form/select/year.d.ts +0 -0
- package/dist/{src/web → web}/components/form/select/year.js +0 -0
- package/dist/{src/web → web}/components/form/switch/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/switch/index.js +0 -0
- package/dist/{src/web → web}/components/form/textarea/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/textarea/index.js +0 -0
- package/dist/{src/web → web}/components/form/tips/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/tips/index.js +0 -0
- package/dist/{src/web → web}/components/form/uploader/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/uploader/index.js +0 -0
- package/dist/{src/web → web}/components/form/uploader/uploader.h5.d.ts +0 -0
- package/dist/{src/web → web}/components/form/uploader/uploader.h5.js +2 -2
- package/dist/{src/web → web}/components/form/uploader/uploader.pc.d.ts +0 -0
- package/dist/{src/web → web}/components/form/uploader/uploader.pc.js +1 -1
- package/dist/{src/web → web}/components/form/uploaderFile/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/uploaderFile/index.js +0 -0
- package/dist/{src/web → web}/components/form/uploaderFile/uploadFile.h5.d.ts +0 -0
- package/dist/{src/web → web}/components/form/uploaderFile/uploadFile.h5.js +7 -9
- package/dist/{src/web → web}/components/form/uploaderFile/uploadFile.pc.d.ts +0 -0
- package/dist/{src/web → web}/components/form/uploaderFile/uploadFile.pc.js +6 -9
- package/dist/{src/web → web}/components/form/userOrgSelect/comTool.d.ts +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/comTool.js +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.d.ts +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.js +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.d.ts +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.js +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/departTreeSelect/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/departTreeSelect/index.js +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/getUserService.d.ts +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/getUserService.js +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/index.d.ts +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/index.js +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/userTreeSelect.h5.d.ts +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/userTreeSelect.h5.js +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/userTreeSelect.pc.d.ts +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/userTreeSelect.pc.js +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/utils.d.ts +0 -0
- package/dist/{src/web → web}/components/form/userOrgSelect/utils.js +0 -0
- package/dist/{src/web → web}/components/formdetail/index.d.ts +0 -0
- package/dist/{src/web → web}/components/formdetail/index.js +10 -12
- package/dist/{src/web → web}/components/graphicCard/index.d.ts +0 -0
- package/dist/{src/web → web}/components/graphicCard/index.js +6 -5
- package/dist/{src/web → web}/components/image/image.d.ts +0 -0
- package/dist/{src/web → web}/components/image/image.js +0 -0
- package/dist/{src/web → web}/components/image/index.d.ts +0 -0
- package/dist/{src/web → web}/components/image/index.js +1 -1
- package/dist/{src/web → web}/components/index.d.ts +0 -0
- package/dist/{src/web → web}/components/index.js +0 -0
- package/dist/{src/web → web}/components/link/index.d.ts +0 -0
- package/dist/{src/web → web}/components/link/index.js +0 -0
- package/dist/{src/web → web}/components/listView/index.d.ts +0 -0
- package/dist/{src/web → web}/components/listView/index.js +0 -1
- package/dist/{src/web → web}/components/listView/interface.d.ts +0 -0
- package/dist/{src/web → web}/components/listView/interface.js +0 -0
- package/dist/{src/web → web}/components/lottery/index.d.ts +0 -0
- package/dist/{src/web → web}/components/lottery/index.js +16 -10
- package/dist/{src/web → web}/components/lottery/lotteryUtil.d.ts +0 -0
- package/dist/{src/web → web}/components/lottery/lotteryUtil.js +0 -0
- package/dist/{src/web → web}/components/modal/index.d.ts +0 -0
- package/dist/{src/web → web}/components/modal/index.js +0 -0
- package/dist/{src/web → web}/components/modal/modal.h5.d.ts +0 -0
- package/dist/{src/web → web}/components/modal/modal.h5.js +0 -0
- package/dist/{src/web → web}/components/modal/modal.pc.d.ts +0 -0
- package/dist/{src/web → web}/components/modal/modal.pc.js +0 -0
- package/dist/{src/web → web}/components/navLayout/index.d.ts +0 -0
- package/dist/{src/web → web}/components/navLayout/index.js +1 -1
- package/dist/{src/web → web}/components/navigationBar/common.d.ts +0 -0
- package/dist/{src/web → web}/components/navigationBar/common.js +0 -0
- package/dist/{src/web → web}/components/navigationBar/h5Menu.d.ts +0 -0
- package/dist/{src/web → web}/components/navigationBar/h5Menu.js +0 -0
- package/dist/{src/web → web}/components/navigationBar/horizontalMenu.d.ts +0 -0
- package/dist/{src/web → web}/components/navigationBar/horizontalMenu.js +1 -1
- package/dist/{src/web → web}/components/navigationBar/index.d.ts +0 -0
- package/dist/{src/web → web}/components/navigationBar/index.js +0 -0
- package/dist/{src/web → web}/components/navigationBar/verticalMenu.d.ts +0 -0
- package/dist/{src/web → web}/components/navigationBar/verticalMenu.js +0 -0
- package/dist/{src/web → web}/components/phone/index.d.ts +0 -0
- package/dist/{src/web → web}/components/phone/index.js +0 -0
- package/dist/{src/web → web}/components/phoneCode/index.d.ts +0 -0
- package/dist/{src/web → web}/components/phoneCode/index.js +0 -0
- package/dist/{src/web → web}/components/picker/datePicker.d.ts +0 -0
- package/dist/{src/web → web}/components/picker/datePicker.js +0 -0
- package/dist/{src/web → web}/components/picker/picker.d.ts +0 -0
- package/dist/{src/web → web}/components/picker/picker.js +0 -0
- package/dist/{src/web → web}/components/picker/timePicker.d.ts +0 -0
- package/dist/{src/web → web}/components/picker/timePicker.js +0 -0
- package/dist/{src/web → web}/components/richText/const.d.ts +0 -0
- package/dist/{src/web → web}/components/richText/const.js +0 -0
- package/dist/{src/web → web}/components/richText/index.d.ts +0 -0
- package/dist/{src/web → web}/components/richText/index.js +2 -1
- package/dist/{src/web → web}/components/richTextView/index.d.ts +0 -0
- package/dist/{src/web → web}/components/richTextView/index.js +18 -20
- package/dist/{src/web → web}/components/scrollView/index.d.ts +0 -1
- package/dist/{src/web → web}/components/scrollView/index.js +4 -6
- package/dist/{src/web → web}/components/share/index.d.ts +0 -0
- package/dist/{src/web → web}/components/share/index.js +0 -0
- package/dist/{src/web → web}/components/slot/index.d.ts +0 -0
- package/dist/{src/web → web}/components/slot/index.js +0 -0
- package/dist/{src/web → web}/components/swiper/index.d.ts +0 -0
- package/dist/{src/web → web}/components/swiper/index.js +62 -62
- package/dist/{src/web → web}/components/tabs/index.d.ts +0 -0
- package/dist/{src/web → web}/components/tabs/index.js +0 -0
- package/dist/{src/web → web}/components/tabs/tabs.h5.d.ts +0 -0
- package/dist/{src/web → web}/components/tabs/tabs.h5.js +0 -0
- package/dist/{src/web → web}/components/tabs/tabs.pc.d.ts +0 -0
- package/dist/{src/web → web}/components/tabs/tabs.pc.js +0 -0
- package/dist/{src/web → web}/components/text/index.d.ts +0 -0
- package/dist/{src/web → web}/components/text/index.js +8 -10
- package/dist/{src/web → web}/components/uploaderFileView/index.d.ts +0 -0
- package/dist/{src/web → web}/components/uploaderFileView/index.js +0 -0
- package/dist/{src/web → web}/components/uploaderView/index.d.ts +0 -0
- package/dist/{src/web → web}/components/uploaderView/index.js +1 -1
- package/dist/{src/web → web}/components/userInfo/index.d.ts +0 -0
- package/dist/{src/web → web}/components/userInfo/index.js +0 -0
- package/dist/{src/web → web}/components/wedaVideo/index.d.ts +0 -0
- package/dist/{src/web → web}/components/wedaVideo/index.js +2 -14
- package/dist/{src/web → web}/index.d.ts +0 -0
- package/dist/{src/web → web}/index.js +0 -0
- package/dist/{src/web → web}/utils/classnames.d.ts +0 -0
- package/dist/{src/web → web}/utils/classnames.js +0 -0
- package/dist/{src/web → web}/utils/console.d.ts +0 -0
- package/dist/{src/web → web}/utils/console.js +0 -0
- package/dist/{src/web → web}/utils/constant.d.ts +0 -0
- package/dist/{src/web → web}/utils/constant.js +0 -0
- package/dist/{src/web → web}/utils/debounce.d.ts +0 -0
- package/dist/{src/web → web}/utils/debounce.js +0 -0
- package/dist/{src/web → web}/utils/getLocalCounter.d.ts +0 -0
- package/dist/{src/web → web}/utils/getLocalCounter.js +0 -0
- package/dist/{src/web → web}/utils/isObjectEqual.d.ts +0 -0
- package/dist/{src/web → web}/utils/isObjectEqual.js +0 -0
- package/dist/{src/web → web}/utils/loading-fallback.d.ts +0 -0
- package/dist/{src/web → web}/utils/loading-fallback.js +0 -0
- package/dist/{src/web → web}/utils/lodash.d.ts +0 -0
- package/dist/{src/web → web}/utils/lodash.js +0 -0
- package/dist/{src/web → web}/utils/platform.d.ts +0 -0
- package/dist/{src/web → web}/utils/platform.js +0 -0
- package/dist/{src/web → web}/utils/tcb.d.ts +0 -0
- package/dist/{src/web → web}/utils/tcb.js +0 -0
- package/dist/web/utils/tmap.d.ts +3 -0
- package/dist/web/utils/tmap.js +21 -0
- package/dist/{src/web → web}/utils/use-cloud-id-temp-url.d.ts +0 -0
- package/dist/{src/web → web}/utils/use-cloud-id-temp-url.js +0 -0
- package/dist/{src/web → web}/utils/useSetState.d.ts +0 -0
- package/dist/{src/web → web}/utils/useSetState.js +0 -0
- package/dist/{src/web → web}/utils/useSyncValue.d.ts +0 -0
- package/dist/{src/web → web}/utils/useSyncValue.js +0 -1
- package/dist/{src/web → web}/utils/weui.d.ts +0 -0
- package/dist/{src/web → web}/utils/weui.js +0 -0
- package/package.json +22 -22
- package/dist/cypress/support/commands.d.ts +0 -1
- package/dist/cypress/support/commands.js +0 -40
- package/dist/cypress/support/e2e.d.ts +0 -24
- package/dist/cypress/support/e2e.js +0 -22
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -50,45 +50,43 @@ export default function Calendar({ className, style, initVisible, initValue, con
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
return [yearList, monthList];
|
|
53
|
-
}, [year]);
|
|
54
|
-
//
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
configArr
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
item.matchDate = date.join('-');
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
for (const item of configArr) {
|
|
74
|
-
_map.set(item.matchDate, item);
|
|
75
|
-
}
|
|
76
|
-
return configList.map((item) => {
|
|
77
|
-
return item.reduce((res, i) => {
|
|
78
|
-
if (_map.has(i.formattedDate)) {
|
|
79
|
-
const _disabled = _map.get(i.formattedDate)['disabled'];
|
|
80
|
-
const _marked = _map.get(i.formattedDate)['marked'];
|
|
81
|
-
i['disabled'] =
|
|
82
|
-
_disabled !== undefined ? JSON.parse(_disabled) : false;
|
|
83
|
-
i['marked'] = _marked;
|
|
84
|
-
}
|
|
85
|
-
res.push(i);
|
|
86
|
-
return res;
|
|
87
|
-
}, []);
|
|
53
|
+
}, [year, month]);
|
|
54
|
+
// 匹配数据
|
|
55
|
+
const _dateList = (configList) => {
|
|
56
|
+
const _map = new Map();
|
|
57
|
+
const configArr = JSON.parse(JSON.stringify(configData));
|
|
58
|
+
// 补日期的零
|
|
59
|
+
configArr &&
|
|
60
|
+
configArr.length &&
|
|
61
|
+
configArr.map((item) => {
|
|
62
|
+
if (item.matchDate === '' || item.matchDate === undefined)
|
|
63
|
+
return;
|
|
64
|
+
const date = item.matchDate.split('-');
|
|
65
|
+
const day = date[2].split('');
|
|
66
|
+
if (day.length === 1) {
|
|
67
|
+
date[2] = `0${date[2]}`;
|
|
68
|
+
item.matchDate = date.join('-');
|
|
69
|
+
}
|
|
88
70
|
});
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
71
|
+
for (const item of configArr) {
|
|
72
|
+
_map.set(item.matchDate, item);
|
|
73
|
+
}
|
|
74
|
+
return configList.map((item) => {
|
|
75
|
+
return item.reduce((res, i) => {
|
|
76
|
+
if (_map.has(i.formattedDate)) {
|
|
77
|
+
const _disabled = _map.get(i.formattedDate)['disabled'];
|
|
78
|
+
const _marked = _map.get(i.formattedDate)['marked'];
|
|
79
|
+
i['disabled'] =
|
|
80
|
+
_disabled !== undefined ? JSON.parse(_disabled) : false;
|
|
81
|
+
i['marked'] = _marked;
|
|
82
|
+
}
|
|
83
|
+
res.push(i);
|
|
84
|
+
return res;
|
|
85
|
+
}, []);
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
// 日历单元格数据
|
|
89
|
+
const dateList = useMemo(() => _dateList(createDateList(year, month, firstDayOfWeek, value, format)), [year, month, firstDayOfWeek, format, value, configData]);
|
|
92
90
|
// 表头数组
|
|
93
91
|
const colHeaderList = useMemo(() => {
|
|
94
92
|
const weekTextArr = week;
|
|
@@ -114,7 +112,7 @@ export default function Calendar({ className, style, initVisible, initValue, con
|
|
|
114
112
|
}
|
|
115
113
|
}
|
|
116
114
|
return list;
|
|
117
|
-
}, []);
|
|
115
|
+
}, [firstDayOfWeek, isShowWeekend, week]);
|
|
118
116
|
// 补零
|
|
119
117
|
// const fix0 = (num) => {
|
|
120
118
|
// return num < 10 ? `0${num}` : num;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { useState, useEffect, useRef
|
|
2
|
+
import { useState, useEffect, useRef } from 'react';
|
|
3
3
|
import classNames from '../../utils/classnames';
|
|
4
4
|
import Swipe from 'react-easy-swipe';
|
|
5
5
|
import { useDebouncedCallback, useEventListener, useResizeObserver, } from '@react-hookz/web';
|
|
@@ -13,15 +13,6 @@ export default function Carousel({ className, style, autoplay, circular, vertica
|
|
|
13
13
|
const [swipeStyle, setSwipeStyle] = useState(null);
|
|
14
14
|
const [height, setHeight] = useState(0);
|
|
15
15
|
const { change = () => { } } = events;
|
|
16
|
-
const setIndex = useCallback((index) => {
|
|
17
|
-
if (index >= itemCount) {
|
|
18
|
-
index = 0;
|
|
19
|
-
}
|
|
20
|
-
if (index < 0) {
|
|
21
|
-
index = itemCount - 1;
|
|
22
|
-
}
|
|
23
|
-
setCurrentIndex(index);
|
|
24
|
-
}, [itemCount, setCurrentIndex]);
|
|
25
16
|
// 自动切换
|
|
26
17
|
useEffect(() => {
|
|
27
18
|
if (autoplay) {
|
|
@@ -32,60 +23,10 @@ export default function Carousel({ className, style, autoplay, circular, vertica
|
|
|
32
23
|
}, interval);
|
|
33
24
|
return () => clearInterval(timer);
|
|
34
25
|
}
|
|
35
|
-
}, [currentIndex, autoplay
|
|
26
|
+
}, [currentIndex, autoplay]);
|
|
36
27
|
// 触发切换
|
|
37
28
|
const pre = useRef({ index: currentIndex }).current;
|
|
38
29
|
useEffect(() => {
|
|
39
|
-
// 设置容器样式、动画
|
|
40
|
-
// TODO fix settimeout mess
|
|
41
|
-
const updateSwipeStyle = (to, cur, length) => {
|
|
42
|
-
let style = {};
|
|
43
|
-
// 最后向前到最开始
|
|
44
|
-
if (to === 0 && cur === length - 1) {
|
|
45
|
-
circular &&
|
|
46
|
-
setSwipeStyle({
|
|
47
|
-
transform: `translate3d(0, 0, 0)`,
|
|
48
|
-
});
|
|
49
|
-
// eslint-disable-next-line rulesdir/no-timer
|
|
50
|
-
setTimeout(() => {
|
|
51
|
-
setSwipeStyle({
|
|
52
|
-
transform: vertical
|
|
53
|
-
? `translate3d(0, -100%, 0)`
|
|
54
|
-
: `translate3d(-100%, 0, 0)`,
|
|
55
|
-
transitionDuration: `${duration}ms`,
|
|
56
|
-
});
|
|
57
|
-
}, 50);
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
// 第一个后退到最后
|
|
61
|
-
if (to === length - 1 && cur === 0) {
|
|
62
|
-
circular &&
|
|
63
|
-
setSwipeStyle({
|
|
64
|
-
transform: vertical
|
|
65
|
-
? `translate3d(0, -${(to + 2) * 100}%, 0)`
|
|
66
|
-
: `translate3d(-${(to + 2) * 100}%, 0, 0)`,
|
|
67
|
-
});
|
|
68
|
-
// eslint-disable-next-line rulesdir/no-timer
|
|
69
|
-
setTimeout(() => {
|
|
70
|
-
setSwipeStyle({
|
|
71
|
-
transform: vertical
|
|
72
|
-
? `translate3d(0, -${(to + 1) * 100}%, 0)`
|
|
73
|
-
: `translate3d(-${(to + 1) * 100}%, 0, 0)`,
|
|
74
|
-
transitionDuration: `${duration}ms`,
|
|
75
|
-
});
|
|
76
|
-
}, 50);
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
style = {
|
|
80
|
-
transform: vertical
|
|
81
|
-
? `translate3d(0, -${(to + 1) * 100}%, 0)`
|
|
82
|
-
: `translate3d(-${(to + 1) * 100}%, 0, 0)`,
|
|
83
|
-
};
|
|
84
|
-
if (to !== cur) {
|
|
85
|
-
style.transitionDuration = `${duration}ms`;
|
|
86
|
-
}
|
|
87
|
-
setSwipeStyle(style);
|
|
88
|
-
};
|
|
89
30
|
updateSwipeStyle(currentIndex, pre.index, itemCount);
|
|
90
31
|
change({
|
|
91
32
|
current: currentIndex,
|
|
@@ -93,7 +34,7 @@ export default function Carousel({ className, style, autoplay, circular, vertica
|
|
|
93
34
|
return () => {
|
|
94
35
|
pre.index = currentIndex;
|
|
95
36
|
};
|
|
96
|
-
}, [currentIndex, vertical
|
|
37
|
+
}, [currentIndex, vertical]);
|
|
97
38
|
const outerWrapRef = useRef();
|
|
98
39
|
useEventListener(outerWrapRef, 'load', (e) => {
|
|
99
40
|
setHeight(e.target.clientHeight);
|
|
@@ -105,6 +46,65 @@ export default function Carousel({ className, style, autoplay, circular, vertica
|
|
|
105
46
|
width: x.width ? x.width : '100%',
|
|
106
47
|
} })));
|
|
107
48
|
});
|
|
49
|
+
const setIndex = (index) => {
|
|
50
|
+
if (index >= itemCount) {
|
|
51
|
+
index = 0;
|
|
52
|
+
}
|
|
53
|
+
if (index < 0) {
|
|
54
|
+
index = itemCount - 1;
|
|
55
|
+
}
|
|
56
|
+
setCurrentIndex(index);
|
|
57
|
+
};
|
|
58
|
+
// 设置容器样式、动画
|
|
59
|
+
// TODO fix settimeout mess
|
|
60
|
+
const updateSwipeStyle = (to, cur, length) => {
|
|
61
|
+
let style = {};
|
|
62
|
+
// 最后向前到最开始
|
|
63
|
+
if (to === 0 && cur === length - 1) {
|
|
64
|
+
circular &&
|
|
65
|
+
setSwipeStyle({
|
|
66
|
+
transform: `translate3d(0, 0, 0)`,
|
|
67
|
+
});
|
|
68
|
+
// eslint-disable-next-line rulesdir/no-timer
|
|
69
|
+
setTimeout(() => {
|
|
70
|
+
setSwipeStyle({
|
|
71
|
+
transform: vertical
|
|
72
|
+
? `translate3d(0, -100%, 0)`
|
|
73
|
+
: `translate3d(-100%, 0, 0)`,
|
|
74
|
+
transitionDuration: `${duration}ms`,
|
|
75
|
+
});
|
|
76
|
+
}, 50);
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
// 第一个后退到最后
|
|
80
|
+
if (to === length - 1 && cur === 0) {
|
|
81
|
+
circular &&
|
|
82
|
+
setSwipeStyle({
|
|
83
|
+
transform: vertical
|
|
84
|
+
? `translate3d(0, -${(to + 2) * 100}%, 0)`
|
|
85
|
+
: `translate3d(-${(to + 2) * 100}%, 0, 0)`,
|
|
86
|
+
});
|
|
87
|
+
// eslint-disable-next-line rulesdir/no-timer
|
|
88
|
+
setTimeout(() => {
|
|
89
|
+
setSwipeStyle({
|
|
90
|
+
transform: vertical
|
|
91
|
+
? `translate3d(0, -${(to + 1) * 100}%, 0)`
|
|
92
|
+
: `translate3d(-${(to + 1) * 100}%, 0, 0)`,
|
|
93
|
+
transitionDuration: `${duration}ms`,
|
|
94
|
+
});
|
|
95
|
+
}, 50);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
style = {
|
|
99
|
+
transform: vertical
|
|
100
|
+
? `translate3d(0, -${(to + 1) * 100}%, 0)`
|
|
101
|
+
: `translate3d(-${(to + 1) * 100}%, 0, 0)`,
|
|
102
|
+
};
|
|
103
|
+
if (to !== cur) {
|
|
104
|
+
style.transitionDuration = `${duration}ms`;
|
|
105
|
+
}
|
|
106
|
+
setSwipeStyle(style);
|
|
107
|
+
};
|
|
108
108
|
return (React.createElement("div", { className: classNames('g-swiper weda-ui g-carousel', className, {
|
|
109
109
|
vertical: vertical,
|
|
110
110
|
}), style: { height: height ? height : 'auto', ...style }, ref: outerWrapRef, id: id, "data-testid": "carousel" },
|
|
File without changes
|
|
@@ -5,10 +5,7 @@ import { Chart } from '../common/Chart';
|
|
|
5
5
|
import { emptyArray } from '../../../utils/constant';
|
|
6
6
|
import { ChartCustomConnector } from '../common/chart-custom-connector';
|
|
7
7
|
import { CommonErrorBoundary } from '../../common/error-boundary';
|
|
8
|
-
import { debug } from '../../../utils/console';
|
|
9
|
-
const logger = debug('bar:impl');
|
|
10
8
|
function BarImpl(props) {
|
|
11
|
-
logger.log(props, checkIsNewData(props));
|
|
12
9
|
if (props.dataSourceType === 'data-model') {
|
|
13
10
|
if (checkIsNewData(props)) {
|
|
14
11
|
props.dataSource = {
|
|
@@ -24,7 +21,6 @@ function BarImpl(props) {
|
|
|
24
21
|
oldBarProps['connectorMethod'] = undefined;
|
|
25
22
|
oldBarProps['connectorParams'] = undefined;
|
|
26
23
|
oldBarProps['connector'] = undefined;
|
|
27
|
-
debug('bar:old').log('OldBar', oldBarProps);
|
|
28
24
|
return React.createElement(OldBar, { ...oldBarProps });
|
|
29
25
|
}
|
|
30
26
|
else if (props.dataSourceType === 'variable') {
|
|
File without changes
|
|
File without changes
|
|
@@ -3,7 +3,6 @@ import type { CommonPropsType } from '../../../types';
|
|
|
3
3
|
import type { ECOption } from './echarts';
|
|
4
4
|
interface IChartProps extends CommonPropsType {
|
|
5
5
|
chartOptions: ECOption;
|
|
6
|
-
showLoading?: boolean;
|
|
7
6
|
['data-testid']: string;
|
|
8
7
|
}
|
|
9
8
|
export declare function Chart(props: IChartProps): JSX.Element;
|
|
@@ -2,7 +2,7 @@ import React, { useEffect, useRef } from 'react';
|
|
|
2
2
|
import classNames from '../../../utils/classnames';
|
|
3
3
|
import { useChart } from './useChart';
|
|
4
4
|
export function Chart(props) {
|
|
5
|
-
const { id, style, className, chartOptions,
|
|
5
|
+
const { id, style, className, chartOptions, 'data-testid': dataTestId, } = props;
|
|
6
6
|
const inlineStyle = {
|
|
7
7
|
height: '380px',
|
|
8
8
|
width: '100%',
|
|
@@ -15,14 +15,6 @@ export function Chart(props) {
|
|
|
15
15
|
var _a;
|
|
16
16
|
(_a = chart === null || chart === void 0 ? void 0 : chart.setOption) === null || _a === void 0 ? void 0 : _a.call(chart, chartOptions);
|
|
17
17
|
}, [chart, chartOptions]);
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
if (showLoading === true) {
|
|
20
|
-
chart === null || chart === void 0 ? void 0 : chart.showLoading();
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
chart === null || chart === void 0 ? void 0 : chart.hideLoading();
|
|
24
|
-
}
|
|
25
|
-
}, [showLoading, chart]);
|
|
26
18
|
return (React.createElement("div", { id: id, "data-testid": dataTestId, ref: ref, style: inlineStyle, className: classNames({
|
|
27
19
|
'echart-wrapper-canvas': true,
|
|
28
20
|
'echart-dark-body': true,
|
|
File without changes
|
|
@@ -21,7 +21,7 @@ export const ChartCustomConnector = (props) => {
|
|
|
21
21
|
}, []);
|
|
22
22
|
useEffect(() => {
|
|
23
23
|
actions.execute();
|
|
24
|
-
}, [connector, connectorMethod, connectorParams
|
|
24
|
+
}, [connector, connectorMethod, connectorParams]);
|
|
25
25
|
if (state.error) {
|
|
26
26
|
throw state.error;
|
|
27
27
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -19,7 +19,7 @@ class EchartBase extends AbstractEchartBaseModal {
|
|
|
19
19
|
});
|
|
20
20
|
this.config = getConfig();
|
|
21
21
|
}
|
|
22
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
22
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
23
23
|
async setOptions(_options) { }
|
|
24
24
|
/** 获取所有配置好的图表数据 */
|
|
25
25
|
getOptions() {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -175,7 +175,7 @@ export function transform(chartType, dataInput, chartInput) {
|
|
|
175
175
|
});
|
|
176
176
|
});
|
|
177
177
|
}
|
|
178
|
-
logger.log(dataInput, chartInput);
|
|
178
|
+
logger.log(dataInput, chartInput, 'TRANSFORM');
|
|
179
179
|
if (chartType === 'bar' || chartType === 'line') {
|
|
180
180
|
const xAxis = {
|
|
181
181
|
name: chartInput.isXaxisName ? chartInput.xAxisName : '',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -32,7 +32,6 @@ export function useWedaChart(domRef, ModalClass, options) {
|
|
|
32
32
|
const getOptions = async () => {
|
|
33
33
|
const chartModal = new ModalClass();
|
|
34
34
|
let finalOptions = await chartModal.setOptions(options);
|
|
35
|
-
logger.log(options, finalOptions);
|
|
36
35
|
if (!finalOptions) {
|
|
37
36
|
finalOptions = chartModal.getOptions();
|
|
38
37
|
}
|
|
@@ -50,16 +49,8 @@ export function useWedaChart(domRef, ModalClass, options) {
|
|
|
50
49
|
actions,
|
|
51
50
|
]);
|
|
52
51
|
useEffect(() => {
|
|
53
|
-
if (state.status === 'loading' || state.status === 'not-executed') {
|
|
54
|
-
chart === null || chart === void 0 ? void 0 : chart.showLoading();
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
chart === null || chart === void 0 ? void 0 : chart.hideLoading();
|
|
58
|
-
}, [chart, state.status]);
|
|
59
|
-
useEffect(() => {
|
|
60
|
-
logger.log(state, state.result);
|
|
61
52
|
if (state.status === 'success' && chart) {
|
|
62
|
-
logger.log(options, state.result, window.location.href);
|
|
53
|
+
logger.log(ModalClass.name, options, state.result, window.location.href);
|
|
63
54
|
chart.setOption(state.result, true // noMerge 全刷
|
|
64
55
|
);
|
|
65
56
|
}
|
|
@@ -68,5 +59,5 @@ export function useWedaChart(domRef, ModalClass, options) {
|
|
|
68
59
|
console.error(state.error);
|
|
69
60
|
}
|
|
70
61
|
}
|
|
71
|
-
}, [
|
|
62
|
+
}, [chart, state]);
|
|
72
63
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|