@cldemo/ui-kit 1.0.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/COMPONENT_CATALOG.md +210 -0
- package/LICENSE +21 -0
- package/README.md +120 -0
- package/buildLibs/all/index.cjs +99 -0
- package/buildLibs/all/index.cjs.map +1 -0
- package/buildLibs/all/index.d.ts +83 -0
- package/buildLibs/all/index.js +168 -0
- package/buildLibs/all/index.js.map +1 -0
- package/buildLibs/common/Element/Event/drag.d.ts +24 -0
- package/buildLibs/common/Element/Event/index.d.ts +9 -0
- package/buildLibs/common/Element/Event/resize.d.ts +20 -0
- package/buildLibs/common/Element/index.d.ts +104 -0
- package/buildLibs/common/Element_Event_drag-DeZYlveu.js +430 -0
- package/buildLibs/common/Element_Event_drag-DeZYlveu.js.map +1 -0
- package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs +3 -0
- package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs.map +1 -0
- package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs +2 -0
- package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs.map +1 -0
- package/buildLibs/common/Element_Event_resize-DqH_UT2k.js +49 -0
- package/buildLibs/common/Element_Event_resize-DqH_UT2k.js.map +1 -0
- package/buildLibs/common/Tools/animateEasing.d.ts +27 -0
- package/buildLibs/common/Tools/cookie.d.ts +8 -0
- package/buildLibs/common/Tools/delayFun.d.ts +9 -0
- package/buildLibs/common/Tools/index.d.ts +15 -0
- package/buildLibs/common/Tools/localStorage.d.ts +9 -0
- package/buildLibs/common/Tools/number.d.ts +8 -0
- package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs +2 -0
- package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs.map +1 -0
- package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js +50 -0
- package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js.map +1 -0
- package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs +2 -0
- package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs.map +1 -0
- package/buildLibs/common/Tools_cookie-DKctMXdK.js +31 -0
- package/buildLibs/common/Tools_cookie-DKctMXdK.js.map +1 -0
- package/buildLibs/common/Tools_delayFun-CA1ktv1L.js +21 -0
- package/buildLibs/common/Tools_delayFun-CA1ktv1L.js.map +1 -0
- package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs +2 -0
- package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs.map +1 -0
- package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs +2 -0
- package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs.map +1 -0
- package/buildLibs/common/Tools_localStorage-DVvhtzhL.js +48 -0
- package/buildLibs/common/Tools_localStorage-DVvhtzhL.js.map +1 -0
- package/buildLibs/common/Tools_number-Bh6hGO5U.cjs +2 -0
- package/buildLibs/common/Tools_number-Bh6hGO5U.cjs.map +1 -0
- package/buildLibs/common/Tools_number-C_MjN473.js +22 -0
- package/buildLibs/common/Tools_number-C_MjN473.js.map +1 -0
- package/buildLibs/common/axios-DZoeNi6y.cjs +2 -0
- package/buildLibs/common/axios-DZoeNi6y.cjs.map +1 -0
- package/buildLibs/common/axios-DqkFEq4Y.js +242 -0
- package/buildLibs/common/axios-DqkFEq4Y.js.map +1 -0
- package/buildLibs/common/axios.d.ts +28 -0
- package/buildLibs/common/base-PQGakkrl.js +808 -0
- package/buildLibs/common/base-PQGakkrl.js.map +1 -0
- package/buildLibs/common/base-iCmnU-fv.cjs +2 -0
- package/buildLibs/common/base-iCmnU-fv.cjs.map +1 -0
- package/buildLibs/common/base.d.ts +222 -0
- package/buildLibs/common/day-BzMalBXj.cjs +2 -0
- package/buildLibs/common/day-BzMalBXj.cjs.map +1 -0
- package/buildLibs/common/day-Dm_AnEZp.js +75 -0
- package/buildLibs/common/day-Dm_AnEZp.js.map +1 -0
- package/buildLibs/common/day.d.ts +25 -0
- package/buildLibs/common/echart-BtfUJ8lE.js +498 -0
- package/buildLibs/common/echart-BtfUJ8lE.js.map +1 -0
- package/buildLibs/common/echart-Cs3rQ-e9.cjs +2 -0
- package/buildLibs/common/echart-Cs3rQ-e9.cjs.map +1 -0
- package/buildLibs/common/echart.d.ts +82 -0
- package/buildLibs/common/i18n/en.d.ts +111 -0
- package/buildLibs/common/i18n/index.d.ts +25 -0
- package/buildLibs/common/i18n/zh_CN.d.ts +111 -0
- package/buildLibs/common/i18n_en-BHhFEbi6.js +114 -0
- package/buildLibs/common/i18n_en-BHhFEbi6.js.map +1 -0
- package/buildLibs/common/i18n_en-D-5antzy.cjs +2 -0
- package/buildLibs/common/i18n_en-D-5antzy.cjs.map +1 -0
- package/buildLibs/common/i18n_zh_CN-COzQ8Los.js +114 -0
- package/buildLibs/common/i18n_zh_CN-COzQ8Los.js.map +1 -0
- package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs +2 -0
- package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs.map +1 -0
- package/buildLibs/common/index.cjs +2 -0
- package/buildLibs/common/index.cjs.map +1 -0
- package/buildLibs/common/index.d.ts +10 -0
- package/buildLibs/common/index.js +124 -0
- package/buildLibs/common/index.js.map +1 -0
- package/buildLibs/common/promise-BtoePzHD.cjs +2 -0
- package/buildLibs/common/promise-BtoePzHD.cjs.map +1 -0
- package/buildLibs/common/promise-CPiVqqqL.js +44 -0
- package/buildLibs/common/promise-CPiVqqqL.js.map +1 -0
- package/buildLibs/common/promise.d.ts +14 -0
- package/buildLibs/common/tooltip-De0atcAJ.js +215 -0
- package/buildLibs/common/tooltip-De0atcAJ.js.map +1 -0
- package/buildLibs/common/tooltip-Dj_ol2ax.cjs +2 -0
- package/buildLibs/common/tooltip-Dj_ol2ax.cjs.map +1 -0
- package/buildLibs/common/tooltip.d.ts +37 -0
- package/buildLibs/mobile/index.cjs +56 -0
- package/buildLibs/mobile/index.cjs.map +1 -0
- package/buildLibs/mobile/index.d.ts +47 -0
- package/buildLibs/mobile/index.js +96 -0
- package/buildLibs/mobile/index.js.map +1 -0
- package/buildLibs/resolver/index.cjs +2 -0
- package/buildLibs/resolver/index.cjs.map +1 -0
- package/buildLibs/resolver/index.js +82 -0
- package/buildLibs/resolver/index.js.map +1 -0
- package/buildLibs/resolver/resolver.d.ts +7 -0
- package/buildLibs/utils/Element/ClAnchorNav.cjs +2 -0
- package/buildLibs/utils/Element/ClAnchorNav.cjs.map +1 -0
- package/buildLibs/utils/Element/ClAnchorNav.css +1 -0
- package/buildLibs/utils/Element/ClAnchorNav.d.ts +3 -0
- package/buildLibs/utils/Element/ClAnchorNav.js +55 -0
- package/buildLibs/utils/Element/ClAnchorNav.js.map +1 -0
- package/buildLibs/utils/Element/ClBadge.cjs +2 -0
- package/buildLibs/utils/Element/ClBadge.cjs.map +1 -0
- package/buildLibs/utils/Element/ClBadge.d.ts +3 -0
- package/buildLibs/utils/Element/ClBadge.js +5 -0
- package/buildLibs/utils/Element/ClBadge.js.map +1 -0
- package/buildLibs/utils/Element/ClButton.cjs +2 -0
- package/buildLibs/utils/Element/ClButton.cjs.map +1 -0
- package/buildLibs/utils/Element/ClButton.css +1 -0
- package/buildLibs/utils/Element/ClButton.d.ts +3 -0
- package/buildLibs/utils/Element/ClButton.js +226 -0
- package/buildLibs/utils/Element/ClButton.js.map +1 -0
- package/buildLibs/utils/Element/ClCheckbox.cjs +2 -0
- package/buildLibs/utils/Element/ClCheckbox.cjs.map +1 -0
- package/buildLibs/utils/Element/ClCheckbox.d.ts +3 -0
- package/buildLibs/utils/Element/ClCheckbox.js +205 -0
- package/buildLibs/utils/Element/ClCheckbox.js.map +1 -0
- package/buildLibs/utils/Element/ClCheckboxOne.d.ts +3 -0
- package/buildLibs/utils/Element/ClClipboard.cjs +2 -0
- package/buildLibs/utils/Element/ClClipboard.cjs.map +1 -0
- package/buildLibs/utils/Element/ClClipboard.d.ts +3 -0
- package/buildLibs/utils/Element/ClClipboard.js +5 -0
- package/buildLibs/utils/Element/ClClipboard.js.map +1 -0
- package/buildLibs/utils/Element/ClCountup.cjs +2 -0
- package/buildLibs/utils/Element/ClCountup.cjs.map +1 -0
- package/buildLibs/utils/Element/ClCountup.d.ts +3 -0
- package/buildLibs/utils/Element/ClCountup.js +56 -0
- package/buildLibs/utils/Element/ClCountup.js.map +1 -0
- package/buildLibs/utils/Element/ClCropper.cjs +2 -0
- package/buildLibs/utils/Element/ClCropper.cjs.map +1 -0
- package/buildLibs/utils/Element/ClCropper.d.ts +3 -0
- package/buildLibs/utils/Element/ClCropper.js +5 -0
- package/buildLibs/utils/Element/ClCropper.js.map +1 -0
- package/buildLibs/utils/Element/ClCropperPreview.css +1 -0
- package/buildLibs/utils/Element/ClDarg.cjs +7 -0
- package/buildLibs/utils/Element/ClDarg.cjs.map +1 -0
- package/buildLibs/utils/Element/ClDarg.css +1 -0
- package/buildLibs/utils/Element/ClDarg.d.ts +3 -0
- package/buildLibs/utils/Element/ClDarg.js +1554 -0
- package/buildLibs/utils/Element/ClDarg.js.map +1 -0
- package/buildLibs/utils/Element/ClEllipsis.cjs +2 -0
- package/buildLibs/utils/Element/ClEllipsis.cjs.map +1 -0
- package/buildLibs/utils/Element/ClEllipsis.css +1 -0
- package/buildLibs/utils/Element/ClEllipsis.d.ts +3 -0
- package/buildLibs/utils/Element/ClEllipsis.js +99 -0
- package/buildLibs/utils/Element/ClEllipsis.js.map +1 -0
- package/buildLibs/utils/Element/ClForm.cjs +2 -0
- package/buildLibs/utils/Element/ClForm.cjs.map +1 -0
- package/buildLibs/utils/Element/ClForm.css +1 -0
- package/buildLibs/utils/Element/ClForm.d.ts +3 -0
- package/buildLibs/utils/Element/ClForm.js +139 -0
- package/buildLibs/utils/Element/ClForm.js.map +1 -0
- package/buildLibs/utils/Element/ClFormGroup.cjs +2 -0
- package/buildLibs/utils/Element/ClFormGroup.cjs.map +1 -0
- package/buildLibs/utils/Element/ClFormGroup.css +1 -0
- package/buildLibs/utils/Element/ClFormGroup.d.ts +3 -0
- package/buildLibs/utils/Element/ClFormGroup.js +76 -0
- package/buildLibs/utils/Element/ClFormGroup.js.map +1 -0
- package/buildLibs/utils/Element/ClFormValidate.d.ts +3 -0
- package/buildLibs/utils/Element/ClIconFont.cjs +2 -0
- package/buildLibs/utils/Element/ClIconFont.cjs.map +1 -0
- package/buildLibs/utils/Element/ClIconFont.d.ts +3 -0
- package/buildLibs/utils/Element/ClIconFont.js +5 -0
- package/buildLibs/utils/Element/ClIconFont.js.map +1 -0
- package/buildLibs/utils/Element/ClImage.cjs +2 -0
- package/buildLibs/utils/Element/ClImage.cjs.map +1 -0
- package/buildLibs/utils/Element/ClImage.css +1 -0
- package/buildLibs/utils/Element/ClImage.d.ts +3 -0
- package/buildLibs/utils/Element/ClImage.js +195 -0
- package/buildLibs/utils/Element/ClImage.js.map +1 -0
- package/buildLibs/utils/Element/ClInput.cjs +2 -0
- package/buildLibs/utils/Element/ClInput.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInput.d.ts +3 -0
- package/buildLibs/utils/Element/ClInput.js +5 -0
- package/buildLibs/utils/Element/ClInput.js.map +1 -0
- package/buildLibs/utils/Element/ClInputCaptcha.cjs +2 -0
- package/buildLibs/utils/Element/ClInputCaptcha.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInputCaptcha.css +1 -0
- package/buildLibs/utils/Element/ClInputCaptcha.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputCaptcha.js +111 -0
- package/buildLibs/utils/Element/ClInputCaptcha.js.map +1 -0
- package/buildLibs/utils/Element/ClInputNumber.cjs +2 -0
- package/buildLibs/utils/Element/ClInputNumber.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInputNumber.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputNumber.js +5 -0
- package/buildLibs/utils/Element/ClInputNumber.js.map +1 -0
- package/buildLibs/utils/Element/ClInputSearch.cjs +2 -0
- package/buildLibs/utils/Element/ClInputSearch.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInputSearch.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputSearch.js +5 -0
- package/buildLibs/utils/Element/ClInputSearch.js.map +1 -0
- package/buildLibs/utils/Element/ClInputTag.css +1 -0
- package/buildLibs/utils/Element/ClInputTextarea.cjs +2 -0
- package/buildLibs/utils/Element/ClInputTextarea.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInputTextarea.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputTextarea.js +5 -0
- package/buildLibs/utils/Element/ClInputTextarea.js.map +1 -0
- package/buildLibs/utils/Element/ClInputnumberButton.d.ts +3 -0
- package/buildLibs/utils/Element/ClLink.cjs +2 -0
- package/buildLibs/utils/Element/ClLink.cjs.map +1 -0
- package/buildLibs/utils/Element/ClLink.d.ts +3 -0
- package/buildLibs/utils/Element/ClLink.js +5 -0
- package/buildLibs/utils/Element/ClLink.js.map +1 -0
- package/buildLibs/utils/Element/ClLoad.cjs +2 -0
- package/buildLibs/utils/Element/ClLoad.cjs.map +1 -0
- package/buildLibs/utils/Element/ClLoad.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoad.js +5 -0
- package/buildLibs/utils/Element/ClLoad.js.map +1 -0
- package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadIng.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadScreen.cjs +2 -0
- package/buildLibs/utils/Element/ClLoadScreen.cjs.map +1 -0
- package/buildLibs/utils/Element/ClLoadScreen.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadScreen.js +5 -0
- package/buildLibs/utils/Element/ClLoadScreen.js.map +1 -0
- package/buildLibs/utils/Element/ClLoadWarp.d.ts +3 -0
- package/buildLibs/utils/Element/ClModal.cjs +2 -0
- package/buildLibs/utils/Element/ClModal.cjs.map +1 -0
- package/buildLibs/utils/Element/ClModal.d.ts +3 -0
- package/buildLibs/utils/Element/ClModal.js +5 -0
- package/buildLibs/utils/Element/ClModal.js.map +1 -0
- package/buildLibs/utils/Element/ClProgress.cjs +2 -0
- package/buildLibs/utils/Element/ClProgress.cjs.map +1 -0
- package/buildLibs/utils/Element/ClProgress.css +1 -0
- package/buildLibs/utils/Element/ClProgress.d.ts +3 -0
- package/buildLibs/utils/Element/ClProgress.js +219 -0
- package/buildLibs/utils/Element/ClProgress.js.map +1 -0
- package/buildLibs/utils/Element/ClRadio.cjs +2 -0
- package/buildLibs/utils/Element/ClRadio.cjs.map +1 -0
- package/buildLibs/utils/Element/ClRadio.d.ts +3 -0
- package/buildLibs/utils/Element/ClRadio.js +176 -0
- package/buildLibs/utils/Element/ClRadio.js.map +1 -0
- package/buildLibs/utils/Element/ClRadioOne.d.ts +3 -0
- package/buildLibs/utils/Element/ClSlider.cjs +2 -0
- package/buildLibs/utils/Element/ClSlider.cjs.map +1 -0
- package/buildLibs/utils/Element/ClSlider.css +1 -0
- package/buildLibs/utils/Element/ClSlider.d.ts +3 -0
- package/buildLibs/utils/Element/ClSlider.js +721 -0
- package/buildLibs/utils/Element/ClSlider.js.map +1 -0
- package/buildLibs/utils/Element/ClSwitchery.cjs +2 -0
- package/buildLibs/utils/Element/ClSwitchery.cjs.map +1 -0
- package/buildLibs/utils/Element/ClSwitchery.css +1 -0
- package/buildLibs/utils/Element/ClSwitchery.d.ts +3 -0
- package/buildLibs/utils/Element/ClSwitchery.js +429 -0
- package/buildLibs/utils/Element/ClSwitchery.js.map +1 -0
- package/buildLibs/utils/Element/ClTags.cjs +2 -0
- package/buildLibs/utils/Element/ClTags.cjs.map +1 -0
- package/buildLibs/utils/Element/ClTags.d.ts +3 -0
- package/buildLibs/utils/Element/ClTags.js +5 -0
- package/buildLibs/utils/Element/ClTags.js.map +1 -0
- package/buildLibs/utils/Element/ClTransitionSlideupdown.d.ts +3 -0
- package/buildLibs/utils/Element/ClWaterfall.cjs +2 -0
- package/buildLibs/utils/Element/ClWaterfall.cjs.map +1 -0
- package/buildLibs/utils/Element/ClWaterfall.css +1 -0
- package/buildLibs/utils/Element/ClWaterfall.d.ts +3 -0
- package/buildLibs/utils/Element/ClWaterfall.js +167 -0
- package/buildLibs/utils/Element/ClWaterfall.js.map +1 -0
- package/buildLibs/utils/Element/ClWaterfallImage.d.ts +3 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs +2 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs.map +1 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +2 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.js +62 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.js.map +1 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +2 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs.map +1 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +2 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.js +17 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.js.map +1 -0
- package/buildLibs/utils/Element/__provide__/languagePack.cjs +2 -0
- package/buildLibs/utils/Element/__provide__/languagePack.cjs.map +1 -0
- package/buildLibs/utils/Element/__provide__/languagePack.d.ts +2 -0
- package/buildLibs/utils/Element/__provide__/languagePack.js +29 -0
- package/buildLibs/utils/Element/__provide__/languagePack.js.map +1 -0
- package/buildLibs/utils/Mobile/ClCell.cjs +2 -0
- package/buildLibs/utils/Mobile/ClCell.cjs.map +1 -0
- package/buildLibs/utils/Mobile/ClCell.css +1 -0
- package/buildLibs/utils/Mobile/ClCell.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClCell.js +130 -0
- package/buildLibs/utils/Mobile/ClCell.js.map +1 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +2 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs.map +1 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.css +1 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.js +195 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.js.map +1 -0
- package/buildLibs/utils/Shared/Alert.css +1 -0
- package/buildLibs/utils/Shared/Base.css +1 -0
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js +2 -0
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js.map +1 -0
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js +354 -0
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js.map +1 -0
- package/buildLibs/utils/Shared/BaseTransition.css +1 -0
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js +2 -0
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js.map +1 -0
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js +121 -0
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js.map +1 -0
- package/buildLibs/utils/Shared/Highlight.css +1 -0
- package/buildLibs/utils/Shared/Index.css +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js +233 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js +75 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js +143 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js +24 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js +1146 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js +336 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js +165 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js +168 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js +70 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js +84 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js +98 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js +342 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js +166 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js +384 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js +462 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js +593 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js +54 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js +144 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js.map +1 -0
- package/buildLibs/utils/Shared/Index10.css +1 -0
- package/buildLibs/utils/Shared/Index11.css +1 -0
- package/buildLibs/utils/Shared/Index12.css +1 -0
- package/buildLibs/utils/Shared/Index13.css +1 -0
- package/buildLibs/utils/Shared/Index14.css +1 -0
- package/buildLibs/utils/Shared/Index15.css +1 -0
- package/buildLibs/utils/Shared/Index16.css +1 -0
- package/buildLibs/utils/Shared/Index17.css +1 -0
- package/buildLibs/utils/Shared/Index18.css +1 -0
- package/buildLibs/utils/Shared/Index19.css +1 -0
- package/buildLibs/utils/Shared/Index2.css +1 -0
- package/buildLibs/utils/Shared/Index3.css +1 -0
- package/buildLibs/utils/Shared/Index4.css +1 -0
- package/buildLibs/utils/Shared/Index5.css +1 -0
- package/buildLibs/utils/Shared/Index6.css +1 -0
- package/buildLibs/utils/Shared/Index7.css +1 -0
- package/buildLibs/utils/Shared/Index8.css +1 -0
- package/buildLibs/utils/Shared/Index9.css +1 -0
- package/buildLibs/utils/Shared/Ing-C_3NkQxd.js +43 -0
- package/buildLibs/utils/Shared/Ing-C_3NkQxd.js.map +1 -0
- package/buildLibs/utils/Shared/Ing-D_cd5IxY.js +2 -0
- package/buildLibs/utils/Shared/Ing-D_cd5IxY.js.map +1 -0
- package/buildLibs/utils/Shared/Ing.css +1 -0
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js +2 -0
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js.map +1 -0
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js +141 -0
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js.map +1 -0
- package/buildLibs/utils/Shared/Notify.css +1 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js +87 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js.map +1 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js +2 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js.map +1 -0
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js +109 -0
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js.map +1 -0
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js +2 -0
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js.map +1 -0
- package/buildLibs/utils/Shared/Tooltip.css +1 -0
- package/buildLibs/utils/Shared/Waves.css +7 -0
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js +2 -0
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js.map +1 -0
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js +10 -0
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js.map +1 -0
- package/buildLibs/utils/Shared/base-PQGakkrl.js +808 -0
- package/buildLibs/utils/Shared/base-PQGakkrl.js.map +1 -0
- package/buildLibs/utils/Shared/base-iCmnU-fv.js +2 -0
- package/buildLibs/utils/Shared/base-iCmnU-fv.js.map +1 -0
- package/buildLibs/utils/Shared/day-Bz9LfelO.js +75 -0
- package/buildLibs/utils/Shared/day-Bz9LfelO.js.map +1 -0
- package/buildLibs/utils/Shared/day-CvcvgKjb.js +2 -0
- package/buildLibs/utils/Shared/day-CvcvgKjb.js.map +1 -0
- package/buildLibs/utils/Shared/drag-CzE5R222.js +2 -0
- package/buildLibs/utils/Shared/drag-CzE5R222.js.map +1 -0
- package/buildLibs/utils/Shared/drag-CzfhSB0g.js +42 -0
- package/buildLibs/utils/Shared/drag-CzfhSB0g.js.map +1 -0
- package/buildLibs/utils/Shared/index-BnerInzC.js +432 -0
- package/buildLibs/utils/Shared/index-BnerInzC.js.map +1 -0
- package/buildLibs/utils/Shared/index-C1R9HAvS.js +320 -0
- package/buildLibs/utils/Shared/index-C1R9HAvS.js.map +1 -0
- package/buildLibs/utils/Shared/index-CVBh8iTg.js +2 -0
- package/buildLibs/utils/Shared/index-CVBh8iTg.js.map +1 -0
- package/buildLibs/utils/Shared/index-Ul6uY51t.js +3 -0
- package/buildLibs/utils/Shared/index-Ul6uY51t.js.map +1 -0
- package/buildLibs/utils/Shared/language-D6gRWx8H.js +2 -0
- package/buildLibs/utils/Shared/language-D6gRWx8H.js.map +1 -0
- package/buildLibs/utils/Shared/language-DxTlvFs2.js +18 -0
- package/buildLibs/utils/Shared/language-DxTlvFs2.js.map +1 -0
- package/buildLibs/utils/Shared/resize-COkswDOq.js +2 -0
- package/buildLibs/utils/Shared/resize-COkswDOq.js.map +1 -0
- package/buildLibs/utils/Shared/resize-kOWxHVSP.js +54 -0
- package/buildLibs/utils/Shared/resize-kOWxHVSP.js.map +1 -0
- package/buildLibs/utils/Shared/vue-virtual-scroller.css +1 -0
- package/buildLibs/utils/Web/ClBreadcrumb.cjs +2 -0
- package/buildLibs/utils/Web/ClBreadcrumb.cjs.map +1 -0
- package/buildLibs/utils/Web/ClBreadcrumb.css +1 -0
- package/buildLibs/utils/Web/ClBreadcrumb.d.ts +3 -0
- package/buildLibs/utils/Web/ClBreadcrumb.js +82 -0
- package/buildLibs/utils/Web/ClBreadcrumb.js.map +1 -0
- package/buildLibs/utils/Web/ClCalendar.cjs +2 -0
- package/buildLibs/utils/Web/ClCalendar.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCalendar.css +1 -0
- package/buildLibs/utils/Web/ClCalendar.d.ts +3 -0
- package/buildLibs/utils/Web/ClCalendar.js +179 -0
- package/buildLibs/utils/Web/ClCalendar.js.map +1 -0
- package/buildLibs/utils/Web/ClCard.cjs +2 -0
- package/buildLibs/utils/Web/ClCard.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCard.d.ts +3 -0
- package/buildLibs/utils/Web/ClCard.js +5 -0
- package/buildLibs/utils/Web/ClCard.js.map +1 -0
- package/buildLibs/utils/Web/ClCardLegend.cjs +2 -0
- package/buildLibs/utils/Web/ClCardLegend.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCardLegend.css +1 -0
- package/buildLibs/utils/Web/ClCardLegend.d.ts +3 -0
- package/buildLibs/utils/Web/ClCardLegend.js +128 -0
- package/buildLibs/utils/Web/ClCardLegend.js.map +1 -0
- package/buildLibs/utils/Web/ClCollapse.cjs +2 -0
- package/buildLibs/utils/Web/ClCollapse.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCollapse.css +1 -0
- package/buildLibs/utils/Web/ClCollapse.d.ts +3 -0
- package/buildLibs/utils/Web/ClCollapse.js +111 -0
- package/buildLibs/utils/Web/ClCollapse.js.map +1 -0
- package/buildLibs/utils/Web/ClColorpicker.cjs +2 -0
- package/buildLibs/utils/Web/ClColorpicker.cjs.map +1 -0
- package/buildLibs/utils/Web/ClColorpicker.css +1 -0
- package/buildLibs/utils/Web/ClColorpicker.d.ts +3 -0
- package/buildLibs/utils/Web/ClColorpicker.js +1130 -0
- package/buildLibs/utils/Web/ClColorpicker.js.map +1 -0
- package/buildLibs/utils/Web/ClCropperPreview.cjs +2 -0
- package/buildLibs/utils/Web/ClCropperPreview.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCropperPreview.d.ts +3 -0
- package/buildLibs/utils/Web/ClCropperPreview.js +175 -0
- package/buildLibs/utils/Web/ClCropperPreview.js.map +1 -0
- package/buildLibs/utils/Web/ClDatetime.cjs +2 -0
- package/buildLibs/utils/Web/ClDatetime.cjs.map +1 -0
- package/buildLibs/utils/Web/ClDatetime.css +1 -0
- package/buildLibs/utils/Web/ClDatetime.d.ts +3 -0
- package/buildLibs/utils/Web/ClDatetime.js +2002 -0
- package/buildLibs/utils/Web/ClDatetime.js.map +1 -0
- package/buildLibs/utils/Web/ClDropdownmenu.cjs +2 -0
- package/buildLibs/utils/Web/ClDropdownmenu.cjs.map +1 -0
- package/buildLibs/utils/Web/ClDropdownmenu.css +1 -0
- package/buildLibs/utils/Web/ClDropdownmenu.d.ts +3 -0
- package/buildLibs/utils/Web/ClDropdownmenu.js +75 -0
- package/buildLibs/utils/Web/ClDropdownmenu.js.map +1 -0
- package/buildLibs/utils/Web/ClDropdownmenuItem.d.ts +3 -0
- package/buildLibs/utils/Web/ClDropdownpopup.cjs +2 -0
- package/buildLibs/utils/Web/ClDropdownpopup.cjs.map +1 -0
- package/buildLibs/utils/Web/ClDropdownpopup.css +1 -0
- package/buildLibs/utils/Web/ClDropdownpopup.d.ts +3 -0
- package/buildLibs/utils/Web/ClDropdownpopup.js +89 -0
- package/buildLibs/utils/Web/ClDropdownpopup.js.map +1 -0
- package/buildLibs/utils/Web/ClEcharts.cjs +2 -0
- package/buildLibs/utils/Web/ClEcharts.cjs.map +1 -0
- package/buildLibs/utils/Web/ClEcharts.css +1 -0
- package/buildLibs/utils/Web/ClEcharts.d.ts +3 -0
- package/buildLibs/utils/Web/ClEcharts.js +297 -0
- package/buildLibs/utils/Web/ClEcharts.js.map +1 -0
- package/buildLibs/utils/Web/ClFileupload.cjs +2 -0
- package/buildLibs/utils/Web/ClFileupload.cjs.map +1 -0
- package/buildLibs/utils/Web/ClFileupload.d.ts +3 -0
- package/buildLibs/utils/Web/ClFileupload.js +5 -0
- package/buildLibs/utils/Web/ClFileupload.js.map +1 -0
- package/buildLibs/utils/Web/ClInputTag.cjs +6 -0
- package/buildLibs/utils/Web/ClInputTag.cjs.map +1 -0
- package/buildLibs/utils/Web/ClInputTag.d.ts +3 -0
- package/buildLibs/utils/Web/ClInputTag.js +854 -0
- package/buildLibs/utils/Web/ClInputTag.js.map +1 -0
- package/buildLibs/utils/Web/ClPaginate.cjs +2 -0
- package/buildLibs/utils/Web/ClPaginate.cjs.map +1 -0
- package/buildLibs/utils/Web/ClPaginate.css +1 -0
- package/buildLibs/utils/Web/ClPaginate.d.ts +3 -0
- package/buildLibs/utils/Web/ClPaginate.js +167 -0
- package/buildLibs/utils/Web/ClPaginate.js.map +1 -0
- package/buildLibs/utils/Web/ClPortlet.cjs +2 -0
- package/buildLibs/utils/Web/ClPortlet.cjs.map +1 -0
- package/buildLibs/utils/Web/ClPortlet.css +1 -0
- package/buildLibs/utils/Web/ClPortlet.d.ts +3 -0
- package/buildLibs/utils/Web/ClPortlet.js +47 -0
- package/buildLibs/utils/Web/ClPortlet.js.map +1 -0
- package/buildLibs/utils/Web/ClPreview.cjs +2 -0
- package/buildLibs/utils/Web/ClPreview.cjs.map +1 -0
- package/buildLibs/utils/Web/ClPreview.js +5 -0
- package/buildLibs/utils/Web/ClPreview.js.map +1 -0
- package/buildLibs/utils/Web/ClPreviewexample.cjs +2 -0
- package/buildLibs/utils/Web/ClPreviewexample.cjs.map +1 -0
- package/buildLibs/utils/Web/ClPreviewexample.d.ts +3 -0
- package/buildLibs/utils/Web/ClPreviewexample.js +5 -0
- package/buildLibs/utils/Web/ClPreviewexample.js.map +1 -0
- package/buildLibs/utils/Web/ClScrollXFence.cjs +2 -0
- package/buildLibs/utils/Web/ClScrollXFence.cjs.map +1 -0
- package/buildLibs/utils/Web/ClScrollXFence.css +1 -0
- package/buildLibs/utils/Web/ClScrollXFence.d.ts +3 -0
- package/buildLibs/utils/Web/ClScrollXFence.js +107 -0
- package/buildLibs/utils/Web/ClScrollXFence.js.map +1 -0
- package/buildLibs/utils/Web/ClSelect.cjs +2 -0
- package/buildLibs/utils/Web/ClSelect.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelect.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelect.js +5 -0
- package/buildLibs/utils/Web/ClSelect.js.map +1 -0
- package/buildLibs/utils/Web/ClSelectCascade.cjs +2 -0
- package/buildLibs/utils/Web/ClSelectCascade.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelectCascade.css +1 -0
- package/buildLibs/utils/Web/ClSelectCascade.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectCascade.js +222 -0
- package/buildLibs/utils/Web/ClSelectCascade.js.map +1 -0
- package/buildLibs/utils/Web/ClSelectTag.cjs +2 -0
- package/buildLibs/utils/Web/ClSelectTag.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelectTag.css +1 -0
- package/buildLibs/utils/Web/ClSelectTag.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectTag.js +249 -0
- package/buildLibs/utils/Web/ClSelectTag.js.map +1 -0
- package/buildLibs/utils/Web/ClSelectTree.cjs +2 -0
- package/buildLibs/utils/Web/ClSelectTree.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelectTree.css +1 -0
- package/buildLibs/utils/Web/ClSelectTree.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectTree.js +190 -0
- package/buildLibs/utils/Web/ClSelectTree.js.map +1 -0
- package/buildLibs/utils/Web/ClSelectmove.cjs +2 -0
- package/buildLibs/utils/Web/ClSelectmove.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelectmove.css +1 -0
- package/buildLibs/utils/Web/ClSelectmove.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectmove.js +1090 -0
- package/buildLibs/utils/Web/ClSelectmove.js.map +1 -0
- package/buildLibs/utils/Web/ClSidemenu.cjs +2 -0
- package/buildLibs/utils/Web/ClSidemenu.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSidemenu.css +1 -0
- package/buildLibs/utils/Web/ClSidemenu.d.ts +3 -0
- package/buildLibs/utils/Web/ClSidemenu.js +190 -0
- package/buildLibs/utils/Web/ClSidemenu.js.map +1 -0
- package/buildLibs/utils/Web/ClTable.cjs +2 -0
- package/buildLibs/utils/Web/ClTable.cjs.map +1 -0
- package/buildLibs/utils/Web/ClTable.css +1 -0
- package/buildLibs/utils/Web/ClTable.d.ts +3 -0
- package/buildLibs/utils/Web/ClTable.js +1914 -0
- package/buildLibs/utils/Web/ClTable.js.map +1 -0
- package/buildLibs/utils/Web/ClTabs.cjs +2 -0
- package/buildLibs/utils/Web/ClTabs.cjs.map +1 -0
- package/buildLibs/utils/Web/ClTabs.css +1 -0
- package/buildLibs/utils/Web/ClTabs.d.ts +3 -0
- package/buildLibs/utils/Web/ClTabs.js +276 -0
- package/buildLibs/utils/Web/ClTabs.js.map +1 -0
- package/buildLibs/utils/Web/ClTree.cjs +2 -0
- package/buildLibs/utils/Web/ClTree.cjs.map +1 -0
- package/buildLibs/utils/Web/ClTree.css +1 -0
- package/buildLibs/utils/Web/ClTree.d.ts +3 -0
- package/buildLibs/utils/Web/ClTree.js +416 -0
- package/buildLibs/utils/Web/ClTree.js.map +1 -0
- package/buildLibs/utils/Web/ClWeekhour.cjs +2 -0
- package/buildLibs/utils/Web/ClWeekhour.cjs.map +1 -0
- package/buildLibs/utils/Web/ClWeekhour.css +1 -0
- package/buildLibs/utils/Web/ClWeekhour.d.ts +3 -0
- package/buildLibs/utils/Web/ClWeekhour.js +679 -0
- package/buildLibs/utils/Web/ClWeekhour.js.map +1 -0
- package/buildLibs/utils/Web/ClXeditable.cjs +2 -0
- package/buildLibs/utils/Web/ClXeditable.cjs.map +1 -0
- package/buildLibs/utils/Web/ClXeditable.css +1 -0
- package/buildLibs/utils/Web/ClXeditable.d.ts +3 -0
- package/buildLibs/utils/Web/ClXeditable.js +593 -0
- package/buildLibs/utils/Web/ClXeditable.js.map +1 -0
- package/buildLibs/utils/Web/__directive__/Highlight.cjs +4 -0
- package/buildLibs/utils/Web/__directive__/Highlight.cjs.map +1 -0
- package/buildLibs/utils/Web/__directive__/Highlight.d.ts +2 -0
- package/buildLibs/utils/Web/__directive__/Highlight.js +3625 -0
- package/buildLibs/utils/Web/__directive__/Highlight.js.map +1 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs +2 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs.map +1 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.d.ts +2 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.js +356 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.js.map +1 -0
- package/buildLibs/utils/Web/__directive__/Waves.cjs +9 -0
- package/buildLibs/utils/Web/__directive__/Waves.cjs.map +1 -0
- package/buildLibs/utils/Web/__directive__/Waves.d.ts +2 -0
- package/buildLibs/utils/Web/__directive__/Waves.js +256 -0
- package/buildLibs/utils/Web/__directive__/Waves.js.map +1 -0
- package/buildLibs/utils/Web/__provide__/Alert.cjs +2 -0
- package/buildLibs/utils/Web/__provide__/Alert.cjs.map +1 -0
- package/buildLibs/utils/Web/__provide__/Alert.d.ts +2 -0
- package/buildLibs/utils/Web/__provide__/Alert.js +236 -0
- package/buildLibs/utils/Web/__provide__/Alert.js.map +1 -0
- package/buildLibs/utils/Web/__provide__/Notify.cjs +2 -0
- package/buildLibs/utils/Web/__provide__/Notify.cjs.map +1 -0
- package/buildLibs/utils/Web/__provide__/Notify.d.ts +2 -0
- package/buildLibs/utils/Web/__provide__/Notify.js +235 -0
- package/buildLibs/utils/Web/__provide__/Notify.js.map +1 -0
- package/buildLibs/utils/Web/__provide__/Preview.cjs +2 -0
- package/buildLibs/utils/Web/__provide__/Preview.cjs.map +1 -0
- package/buildLibs/utils/Web/__provide__/Preview.d.ts +2 -0
- package/buildLibs/utils/Web/__provide__/Preview.js +26 -0
- package/buildLibs/utils/Web/__provide__/Preview.js.map +1 -0
- package/buildLibs/web/index.cjs +97 -0
- package/buildLibs/web/index.cjs.map +1 -0
- package/buildLibs/web/index.d.ts +81 -0
- package/buildLibs/web/index.js +164 -0
- package/buildLibs/web/index.js.map +1 -0
- package/docs/components/Element/AnchorNav.md +19 -0
- package/docs/components/Element/Badge.md +24 -0
- package/docs/components/Element/Button.md +45 -0
- package/docs/components/Element/Checkbox.md +48 -0
- package/docs/components/Element/Clipboard.md +34 -0
- package/docs/components/Element/Countup.md +12 -0
- package/docs/components/Element/Cropper.md +46 -0
- package/docs/components/Element/Darg.md +30 -0
- package/docs/components/Element/Ellipsis.md +12 -0
- package/docs/components/Element/Form.md +25 -0
- package/docs/components/Element/FormGroup.md +29 -0
- package/docs/components/Element/IconFont.md +12 -0
- package/docs/components/Element/Image.md +18 -0
- package/docs/components/Element/Input.md +65 -0
- package/docs/components/Element/InputCaptcha.md +27 -0
- package/docs/components/Element/InputNumber.md +51 -0
- package/docs/components/Element/InputSearch.md +43 -0
- package/docs/components/Element/InputTextarea.md +52 -0
- package/docs/components/Element/Link.md +41 -0
- package/docs/components/Element/Load.md +20 -0
- package/docs/components/Element/LoadScreen.md +19 -0
- package/docs/components/Element/Modal.md +51 -0
- package/docs/components/Element/Progress.md +28 -0
- package/docs/components/Element/Radio.md +41 -0
- package/docs/components/Element/Slider.md +33 -0
- package/docs/components/Element/Switchery.md +42 -0
- package/docs/components/Element/Tags.md +39 -0
- package/docs/components/Element/Waterfall.md +36 -0
- package/docs/components/Mobile/Cell.md +49 -0
- package/docs/components/Mobile/PullToRefresh.md +52 -0
- package/docs/components/Web/Breadcrumb.md +26 -0
- package/docs/components/Web/Calendar.md +34 -0
- package/docs/components/Web/Card.md +22 -0
- package/docs/components/Web/CardLegend.md +20 -0
- package/docs/components/Web/Collapse.md +26 -0
- package/docs/components/Web/Colorpicker.md +41 -0
- package/docs/components/Web/CropperPreview.md +43 -0
- package/docs/components/Web/Datetime.md +52 -0
- package/docs/components/Web/Dropdownmenu.md +33 -0
- package/docs/components/Web/Dropdownpopup.md +47 -0
- package/docs/components/Web/Echarts.md +43 -0
- package/docs/components/Web/Fileupload.md +60 -0
- package/docs/components/Web/InputTag.md +56 -0
- package/docs/components/Web/Paginate.md +30 -0
- package/docs/components/Web/Portlet.md +27 -0
- package/docs/components/Web/Preview.md +19 -0
- package/docs/components/Web/Previewexample.md +39 -0
- package/docs/components/Web/ScrollXFence.md +38 -0
- package/docs/components/Web/Select.md +56 -0
- package/docs/components/Web/SelectCascade.md +37 -0
- package/docs/components/Web/SelectTag.md +43 -0
- package/docs/components/Web/SelectTree.md +44 -0
- package/docs/components/Web/Selectmove.md +58 -0
- package/docs/components/Web/Sidemenu.md +25 -0
- package/docs/components/Web/Table.md +78 -0
- package/docs/components/Web/Tabs.md +47 -0
- package/docs/components/Web/Tree.md +44 -0
- package/docs/components/Web/Weekhour.md +29 -0
- package/docs/components/Web/Xeditable.md +52 -0
- package/docs/tools/CommonAxios.md +17 -0
- package/docs/tools/CommonBase.md +79 -0
- package/docs/tools/CommonDay.md +18 -0
- package/docs/tools/CommonEchart.md +19 -0
- package/docs/tools/CommonElement.md +42 -0
- package/docs/tools/CommonElementEvent.md +30 -0
- package/docs/tools/CommonI18n.md +18 -0
- package/docs/tools/CommonPromise.md +16 -0
- package/docs/tools/CommonTools.md +43 -0
- package/docs/tools/CommonTooltip.md +38 -0
- package/package.json +123 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"day-BzMalBXj.cjs","sources":["../../src/libs/Common/day.ts"],"sourcesContent":["import dayjs from \"dayjs\";\nimport CommonBase, { registerFormatHandler } from \"./base\";\nimport \"dayjs/locale/zh-cn\";\nimport \"dayjs/locale/en\";\nimport localeData from \"dayjs/plugin/localeData\";\nimport objectSupport from \"dayjs/plugin/objectSupport\";\nimport isSameOrAfter from \"dayjs/plugin/isSameOrAfter\";\nimport isSameOrBefore from \"dayjs/plugin/isSameOrBefore\";\nimport isoWeek from \"dayjs/plugin/isoWeek\";\n\nimport lunar from \"dayjs-lunar\";\n//import customParseFormat from \"dayjs/plugin/customParseFormat\";\n\n\nimport utc from \"dayjs/plugin/utc\";\nimport timezone from \"dayjs/plugin/timezone\";\n\ndayjs.locale(\"zh-cn\");\ndayjs.extend(localeData);\ndayjs.extend(objectSupport);\ndayjs.extend(isSameOrAfter);\ndayjs.extend(isSameOrBefore);\ndayjs.extend(isoWeek);\n//dayjs.extend(customParseFormat);\n\ndayjs.extend(utc);\ndayjs.extend(timezone);\n\ndayjs.extend(lunar);\n\nclass CommDay {\n static objDay: any = dayjs;\n static timezone = \"PRC\"; // desc: 时区配置,默认中国时区,可设置为 \"UTC\"、 \"America/New_York\" 等\n\n static initDay(d?: any): any {\n const newDay = CommonBase.isUndefined(d) ? dayjs() : d;\n return newDay.tz(this.timezone);\n }\n\n\n static getDayjsObject(day: any): any {\n if (CommonBase.isEmpty(day)) {\n return this.initDay(dayjs());\n }\n if (dayjs.isDayjs(day)) {\n return this.initDay(day.clone());\n }\n let value: any;\n if (CommonBase.isString(day)) {\n value = day.replace(/[/]/g, \"-\").replace(/:/g, \":\");\n } else if (CommonBase.isInt(day)) {\n value = new Date(parseInt(day, 10));\n } else if (CommonBase.isObject(day)) {\n value = day;\n }\n return this.initDay(dayjs(value, \"YYYY-MM-DD HH:mm:ss\"));\n }\n\n /**\n * 获取时间格式\n * @param options string|int| new Date() | dayjs() | {value,format}\n * @returns\n */\n static initFormat(options?: any): string {\n let optionBase: any = { value: \"\", format: \"YYYY-MM-DD\" };\n let objDay: any;\n if (CommonBase.isObject(options)) {\n if (dayjs.isDayjs(options)) {\n objDay = options;\n } else {\n if (options.format) {\n optionBase = CommonBase.getJsonMerge(optionBase, options);\n }\n if (options.value || options.format) {\n objDay = this.getDayjsObject(options.value || \"\");\n } else {\n objDay = this.getDayjsObject(options);\n }\n }\n } else {\n objDay = this.getDayjsObject(options);\n }\n return objDay.format(optionBase.format);\n }\n\n static addTime(time: any, num: number, type = \"days\"): any {\n return this.getDayjsObject(time).add(num, type);\n }\n\n static subtractTime(time: any, num: number, type = \"days\"): any {\n return this.getDayjsObject(time).subtract(num, type);\n }\n\n /**\n * 比较时间差值\n * @param time1 开始时间\n * @param timeDiff2 比较时间\n * @param type day week month year hour minute second millisecond\n * @returns\n */\n static diffTime(time1: any, timeDiff2: any, type = \"millisecond\") {\n const diff = this.getDayjsObject(time1).diff(this.getDayjsObject(timeDiff2), type);\n return diff;\n }\n\n /* static isValid(time: any, checkFormat = \"YYYY-MM-DD\"): any {\n return Dayjs(time, checFormat, true).isValid();\n } */\n\n static lunar(value: string) {\n const objDay = this.getDayjsObject(value);\n const newValue = objDay.lunar();\n return newValue;\n }\n}\n\n// Register date format handlers into base.ts to avoid circular import\nregisterFormatHandler('date', (value: any, format: string) => CommDay.initFormat({ value, format }))\nregisterFormatHandler('dateTime', (value: any, format: string) => CommDay.initFormat({ value, format }))\nregisterFormatHandler('time', (value: any, format: string) => CommDay.initFormat({ value, format }))\n\nexport default CommDay;\n"],"names":["dayjs","localeData","objectSupport","isSameOrAfter","isSameOrBefore","isoWeek","utc","timezone","lunar","CommDay","d","CommonBase","day","value","options","optionBase","objDay","time","num","type","time1","timeDiff2","registerFormatHandler","format"],"mappings":"gaAiBAA,EAAM,OAAO,OAAO,EACpBA,EAAM,OAAOC,CAAU,EACvBD,EAAM,OAAOE,CAAa,EAC1BF,EAAM,OAAOG,CAAa,EAC1BH,EAAM,OAAOI,CAAc,EAC3BJ,EAAM,OAAOK,CAAO,EAGpBL,EAAM,OAAOM,CAAG,EAChBN,EAAM,OAAOO,CAAQ,EAErBP,EAAM,OAAOQ,CAAK,EAElB,MAAMC,CAAQ,CACV,OAAO,OAAcT,EACrB,OAAO,SAAW,MAElB,OAAO,QAAQU,EAAc,CAEzB,OADeC,EAAAA,WAAW,YAAYD,CAAC,EAAIV,IAAUU,GACvC,GAAG,KAAK,QAAQ,CAClC,CAGA,OAAO,eAAeE,EAAe,CACjC,GAAID,EAAAA,WAAW,QAAQC,CAAG,EACtB,OAAO,KAAK,QAAQZ,GAAO,EAE/B,GAAIA,EAAM,QAAQY,CAAG,EACjB,OAAO,KAAK,QAAQA,EAAI,MAAA,CAAO,EAEnC,IAAIC,EACJ,OAAIF,EAAAA,WAAW,SAASC,CAAG,EACvBC,EAAQD,EAAI,QAAQ,OAAQ,GAAG,EAAE,QAAQ,KAAM,GAAG,EAC3CD,EAAAA,WAAW,MAAMC,CAAG,EAC3BC,EAAQ,IAAI,KAAK,SAASD,EAAK,EAAE,CAAC,EAC3BD,EAAAA,WAAW,SAASC,CAAG,IAC9BC,EAAQD,GAEL,KAAK,QAAQZ,EAAMa,EAAO,qBAAqB,CAAC,CAC3D,CAOA,OAAO,WAAWC,EAAuB,CACrC,IAAIC,EAAkB,CAAE,MAAO,GAAI,OAAQ,YAAA,EACvCC,EACJ,OAAIL,EAAAA,WAAW,SAASG,CAAO,EACvBd,EAAM,QAAQc,CAAO,EACrBE,EAASF,GAELA,EAAQ,SACRC,EAAaJ,EAAAA,WAAW,aAAaI,EAAYD,CAAO,GAExDA,EAAQ,OAASA,EAAQ,OACzBE,EAAS,KAAK,eAAeF,EAAQ,OAAS,EAAE,EAEhDE,EAAS,KAAK,eAAeF,CAAO,GAI5CE,EAAS,KAAK,eAAeF,CAAO,EAEjCE,EAAO,OAAOD,EAAW,MAAM,CAC1C,CAEA,OAAO,QAAQE,EAAWC,EAAaC,EAAO,OAAa,CACvD,OAAO,KAAK,eAAeF,CAAI,EAAE,IAAIC,EAAKC,CAAI,CAClD,CAEA,OAAO,aAAaF,EAAWC,EAAaC,EAAO,OAAa,CAC5D,OAAO,KAAK,eAAeF,CAAI,EAAE,SAASC,EAAKC,CAAI,CACvD,CASA,OAAO,SAASC,EAAYC,EAAgBF,EAAO,cAAe,CAE9D,OADa,KAAK,eAAeC,CAAK,EAAE,KAAK,KAAK,eAAeC,CAAS,EAAGF,CAAI,CAErF,CAMA,OAAO,MAAMN,EAAe,CAGxB,OAFe,KAAK,eAAeA,CAAK,EAChB,MAAA,CAE5B,CACJ,CAGAS,EAAAA,sBAAsB,OAAQ,CAACT,EAAYU,IAAmBd,EAAQ,WAAW,CAAE,MAAAI,EAAO,OAAAU,CAAA,CAAQ,CAAC,EACnGD,EAAAA,sBAAsB,WAAY,CAACT,EAAYU,IAAmBd,EAAQ,WAAW,CAAE,MAAAI,EAAO,OAAAU,CAAA,CAAQ,CAAC,EACvGD,EAAAA,sBAAsB,OAAQ,CAACT,EAAYU,IAAmBd,EAAQ,WAAW,CAAE,MAAAI,EAAO,OAAAU,CAAA,CAAQ,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import i from "dayjs";
|
|
2
|
+
import { r as m, C as a } from "./base-PQGakkrl.js";
|
|
3
|
+
import "dayjs/locale/zh-cn";
|
|
4
|
+
import "dayjs/locale/en";
|
|
5
|
+
import o from "dayjs/plugin/localeData";
|
|
6
|
+
import c from "dayjs/plugin/objectSupport";
|
|
7
|
+
import f from "dayjs/plugin/isSameOrAfter";
|
|
8
|
+
import j from "dayjs/plugin/isSameOrBefore";
|
|
9
|
+
import l from "dayjs/plugin/isoWeek";
|
|
10
|
+
import D from "dayjs-lunar";
|
|
11
|
+
import u from "dayjs/plugin/utc";
|
|
12
|
+
import b from "dayjs/plugin/timezone";
|
|
13
|
+
i.locale("zh-cn");
|
|
14
|
+
i.extend(o);
|
|
15
|
+
i.extend(c);
|
|
16
|
+
i.extend(f);
|
|
17
|
+
i.extend(j);
|
|
18
|
+
i.extend(l);
|
|
19
|
+
i.extend(u);
|
|
20
|
+
i.extend(b);
|
|
21
|
+
i.extend(D);
|
|
22
|
+
class n {
|
|
23
|
+
static objDay = i;
|
|
24
|
+
static timezone = "PRC";
|
|
25
|
+
// desc: 时区配置,默认中国时区,可设置为 "UTC"、 "America/New_York" 等
|
|
26
|
+
static initDay(t) {
|
|
27
|
+
return (a.isUndefined(t) ? i() : t).tz(this.timezone);
|
|
28
|
+
}
|
|
29
|
+
static getDayjsObject(t) {
|
|
30
|
+
if (a.isEmpty(t))
|
|
31
|
+
return this.initDay(i());
|
|
32
|
+
if (i.isDayjs(t))
|
|
33
|
+
return this.initDay(t.clone());
|
|
34
|
+
let e;
|
|
35
|
+
return a.isString(t) ? e = t.replace(/[/]/g, "-").replace(/:/g, ":") : a.isInt(t) ? e = new Date(parseInt(t, 10)) : a.isObject(t) && (e = t), this.initDay(i(e, "YYYY-MM-DD HH:mm:ss"));
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* 获取时间格式
|
|
39
|
+
* @param options string|int| new Date() | dayjs() | {value,format}
|
|
40
|
+
* @returns
|
|
41
|
+
*/
|
|
42
|
+
static initFormat(t) {
|
|
43
|
+
let e = { value: "", format: "YYYY-MM-DD" }, r;
|
|
44
|
+
return a.isObject(t) ? i.isDayjs(t) ? r = t : (t.format && (e = a.getJsonMerge(e, t)), t.value || t.format ? r = this.getDayjsObject(t.value || "") : r = this.getDayjsObject(t)) : r = this.getDayjsObject(t), r.format(e.format);
|
|
45
|
+
}
|
|
46
|
+
static addTime(t, e, r = "days") {
|
|
47
|
+
return this.getDayjsObject(t).add(e, r);
|
|
48
|
+
}
|
|
49
|
+
static subtractTime(t, e, r = "days") {
|
|
50
|
+
return this.getDayjsObject(t).subtract(e, r);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* 比较时间差值
|
|
54
|
+
* @param time1 开始时间
|
|
55
|
+
* @param timeDiff2 比较时间
|
|
56
|
+
* @param type day week month year hour minute second millisecond
|
|
57
|
+
* @returns
|
|
58
|
+
*/
|
|
59
|
+
static diffTime(t, e, r = "millisecond") {
|
|
60
|
+
return this.getDayjsObject(t).diff(this.getDayjsObject(e), r);
|
|
61
|
+
}
|
|
62
|
+
/* static isValid(time: any, checkFormat = "YYYY-MM-DD"): any {
|
|
63
|
+
return Dayjs(time, checFormat, true).isValid();
|
|
64
|
+
} */
|
|
65
|
+
static lunar(t) {
|
|
66
|
+
return this.getDayjsObject(t).lunar();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
m("date", (s, t) => n.initFormat({ value: s, format: t }));
|
|
70
|
+
m("dateTime", (s, t) => n.initFormat({ value: s, format: t }));
|
|
71
|
+
m("time", (s, t) => n.initFormat({ value: s, format: t }));
|
|
72
|
+
export {
|
|
73
|
+
n as C
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=day-Dm_AnEZp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"day-Dm_AnEZp.js","sources":["../../src/libs/Common/day.ts"],"sourcesContent":["import dayjs from \"dayjs\";\nimport CommonBase, { registerFormatHandler } from \"./base\";\nimport \"dayjs/locale/zh-cn\";\nimport \"dayjs/locale/en\";\nimport localeData from \"dayjs/plugin/localeData\";\nimport objectSupport from \"dayjs/plugin/objectSupport\";\nimport isSameOrAfter from \"dayjs/plugin/isSameOrAfter\";\nimport isSameOrBefore from \"dayjs/plugin/isSameOrBefore\";\nimport isoWeek from \"dayjs/plugin/isoWeek\";\n\nimport lunar from \"dayjs-lunar\";\n//import customParseFormat from \"dayjs/plugin/customParseFormat\";\n\n\nimport utc from \"dayjs/plugin/utc\";\nimport timezone from \"dayjs/plugin/timezone\";\n\ndayjs.locale(\"zh-cn\");\ndayjs.extend(localeData);\ndayjs.extend(objectSupport);\ndayjs.extend(isSameOrAfter);\ndayjs.extend(isSameOrBefore);\ndayjs.extend(isoWeek);\n//dayjs.extend(customParseFormat);\n\ndayjs.extend(utc);\ndayjs.extend(timezone);\n\ndayjs.extend(lunar);\n\nclass CommDay {\n static objDay: any = dayjs;\n static timezone = \"PRC\"; // desc: 时区配置,默认中国时区,可设置为 \"UTC\"、 \"America/New_York\" 等\n\n static initDay(d?: any): any {\n const newDay = CommonBase.isUndefined(d) ? dayjs() : d;\n return newDay.tz(this.timezone);\n }\n\n\n static getDayjsObject(day: any): any {\n if (CommonBase.isEmpty(day)) {\n return this.initDay(dayjs());\n }\n if (dayjs.isDayjs(day)) {\n return this.initDay(day.clone());\n }\n let value: any;\n if (CommonBase.isString(day)) {\n value = day.replace(/[/]/g, \"-\").replace(/:/g, \":\");\n } else if (CommonBase.isInt(day)) {\n value = new Date(parseInt(day, 10));\n } else if (CommonBase.isObject(day)) {\n value = day;\n }\n return this.initDay(dayjs(value, \"YYYY-MM-DD HH:mm:ss\"));\n }\n\n /**\n * 获取时间格式\n * @param options string|int| new Date() | dayjs() | {value,format}\n * @returns\n */\n static initFormat(options?: any): string {\n let optionBase: any = { value: \"\", format: \"YYYY-MM-DD\" };\n let objDay: any;\n if (CommonBase.isObject(options)) {\n if (dayjs.isDayjs(options)) {\n objDay = options;\n } else {\n if (options.format) {\n optionBase = CommonBase.getJsonMerge(optionBase, options);\n }\n if (options.value || options.format) {\n objDay = this.getDayjsObject(options.value || \"\");\n } else {\n objDay = this.getDayjsObject(options);\n }\n }\n } else {\n objDay = this.getDayjsObject(options);\n }\n return objDay.format(optionBase.format);\n }\n\n static addTime(time: any, num: number, type = \"days\"): any {\n return this.getDayjsObject(time).add(num, type);\n }\n\n static subtractTime(time: any, num: number, type = \"days\"): any {\n return this.getDayjsObject(time).subtract(num, type);\n }\n\n /**\n * 比较时间差值\n * @param time1 开始时间\n * @param timeDiff2 比较时间\n * @param type day week month year hour minute second millisecond\n * @returns\n */\n static diffTime(time1: any, timeDiff2: any, type = \"millisecond\") {\n const diff = this.getDayjsObject(time1).diff(this.getDayjsObject(timeDiff2), type);\n return diff;\n }\n\n /* static isValid(time: any, checkFormat = \"YYYY-MM-DD\"): any {\n return Dayjs(time, checFormat, true).isValid();\n } */\n\n static lunar(value: string) {\n const objDay = this.getDayjsObject(value);\n const newValue = objDay.lunar();\n return newValue;\n }\n}\n\n// Register date format handlers into base.ts to avoid circular import\nregisterFormatHandler('date', (value: any, format: string) => CommDay.initFormat({ value, format }))\nregisterFormatHandler('dateTime', (value: any, format: string) => CommDay.initFormat({ value, format }))\nregisterFormatHandler('time', (value: any, format: string) => CommDay.initFormat({ value, format }))\n\nexport default CommDay;\n"],"names":["dayjs","localeData","objectSupport","isSameOrAfter","isSameOrBefore","isoWeek","utc","timezone","lunar","CommDay","d","CommonBase","day","value","options","optionBase","objDay","time","num","type","time1","timeDiff2","registerFormatHandler","format"],"mappings":";;;;;;;;;;;;AAiBAA,EAAM,OAAO,OAAO;AACpBA,EAAM,OAAOC,CAAU;AACvBD,EAAM,OAAOE,CAAa;AAC1BF,EAAM,OAAOG,CAAa;AAC1BH,EAAM,OAAOI,CAAc;AAC3BJ,EAAM,OAAOK,CAAO;AAGpBL,EAAM,OAAOM,CAAG;AAChBN,EAAM,OAAOO,CAAQ;AAErBP,EAAM,OAAOQ,CAAK;AAElB,MAAMC,EAAQ;AAAA,EACV,OAAO,SAAcT;AAAA,EACrB,OAAO,WAAW;AAAA;AAAA,EAElB,OAAO,QAAQU,GAAc;AAEzB,YADeC,EAAW,YAAYD,CAAC,IAAIV,MAAUU,GACvC,GAAG,KAAK,QAAQ;AAAA,EAClC;AAAA,EAGA,OAAO,eAAeE,GAAe;AACjC,QAAID,EAAW,QAAQC,CAAG;AACtB,aAAO,KAAK,QAAQZ,GAAO;AAE/B,QAAIA,EAAM,QAAQY,CAAG;AACjB,aAAO,KAAK,QAAQA,EAAI,MAAA,CAAO;AAEnC,QAAIC;AACJ,WAAIF,EAAW,SAASC,CAAG,IACvBC,IAAQD,EAAI,QAAQ,QAAQ,GAAG,EAAE,QAAQ,MAAM,GAAG,IAC3CD,EAAW,MAAMC,CAAG,IAC3BC,IAAQ,IAAI,KAAK,SAASD,GAAK,EAAE,CAAC,IAC3BD,EAAW,SAASC,CAAG,MAC9BC,IAAQD,IAEL,KAAK,QAAQZ,EAAMa,GAAO,qBAAqB,CAAC;AAAA,EAC3D;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,OAAO,WAAWC,GAAuB;AACrC,QAAIC,IAAkB,EAAE,OAAO,IAAI,QAAQ,aAAA,GACvCC;AACJ,WAAIL,EAAW,SAASG,CAAO,IACvBd,EAAM,QAAQc,CAAO,IACrBE,IAASF,KAELA,EAAQ,WACRC,IAAaJ,EAAW,aAAaI,GAAYD,CAAO,IAExDA,EAAQ,SAASA,EAAQ,SACzBE,IAAS,KAAK,eAAeF,EAAQ,SAAS,EAAE,IAEhDE,IAAS,KAAK,eAAeF,CAAO,KAI5CE,IAAS,KAAK,eAAeF,CAAO,GAEjCE,EAAO,OAAOD,EAAW,MAAM;AAAA,EAC1C;AAAA,EAEA,OAAO,QAAQE,GAAWC,GAAaC,IAAO,QAAa;AACvD,WAAO,KAAK,eAAeF,CAAI,EAAE,IAAIC,GAAKC,CAAI;AAAA,EAClD;AAAA,EAEA,OAAO,aAAaF,GAAWC,GAAaC,IAAO,QAAa;AAC5D,WAAO,KAAK,eAAeF,CAAI,EAAE,SAASC,GAAKC,CAAI;AAAA,EACvD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,OAAO,SAASC,GAAYC,GAAgBF,IAAO,eAAe;AAE9D,WADa,KAAK,eAAeC,CAAK,EAAE,KAAK,KAAK,eAAeC,CAAS,GAAGF,CAAI;AAAA,EAErF;AAAA;AAAA;AAAA;AAAA,EAMA,OAAO,MAAMN,GAAe;AAGxB,WAFe,KAAK,eAAeA,CAAK,EAChB,MAAA;AAAA,EAE5B;AACJ;AAGAS,EAAsB,QAAQ,CAACT,GAAYU,MAAmBd,EAAQ,WAAW,EAAE,OAAAI,GAAO,QAAAU,EAAA,CAAQ,CAAC;AACnGD,EAAsB,YAAY,CAACT,GAAYU,MAAmBd,EAAQ,WAAW,EAAE,OAAAI,GAAO,QAAAU,EAAA,CAAQ,CAAC;AACvGD,EAAsB,QAAQ,CAACT,GAAYU,MAAmBd,EAAQ,WAAW,EAAE,OAAAI,GAAO,QAAAU,EAAA,CAAQ,CAAC;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
declare class CommDay {
|
|
3
|
+
static objDay: any;
|
|
4
|
+
static timezone: string;
|
|
5
|
+
static initDay(d?: any): any;
|
|
6
|
+
static getDayjsObject(day: any): any;
|
|
7
|
+
/**
|
|
8
|
+
* 获取时间格式
|
|
9
|
+
* @param options string|int| new Date() | dayjs() | {value,format}
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
static initFormat(options?: any): string;
|
|
13
|
+
static addTime(time: any, num: number, type?: string): any;
|
|
14
|
+
static subtractTime(time: any, num: number, type?: string): any;
|
|
15
|
+
/**
|
|
16
|
+
* 比较时间差值
|
|
17
|
+
* @param time1 开始时间
|
|
18
|
+
* @param timeDiff2 比较时间
|
|
19
|
+
* @param type day week month year hour minute second millisecond
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
static diffTime(time1: any, timeDiff2: any, type?: string): any;
|
|
23
|
+
static lunar(value: string): any;
|
|
24
|
+
}
|
|
25
|
+
export default CommDay;
|
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
import * as w from "echarts";
|
|
2
|
+
import { C as e } from "./base-PQGakkrl.js";
|
|
3
|
+
import { C as A } from "./Element_Event_drag-DeZYlveu.js";
|
|
4
|
+
class N {
|
|
5
|
+
colorPalette;
|
|
6
|
+
constructor() {
|
|
7
|
+
this.colorPalette = [
|
|
8
|
+
"#2ec7c9",
|
|
9
|
+
"#b6a2de",
|
|
10
|
+
"#5ab1ef",
|
|
11
|
+
"#ffb980",
|
|
12
|
+
"#d87a80",
|
|
13
|
+
"#8d98b3",
|
|
14
|
+
"#e5cf0d",
|
|
15
|
+
"#97b552",
|
|
16
|
+
"#95706d",
|
|
17
|
+
"#dc69aa",
|
|
18
|
+
"#07a2a4",
|
|
19
|
+
"#9a7fd1",
|
|
20
|
+
"#588dd5",
|
|
21
|
+
"#f5994e",
|
|
22
|
+
"#c05050",
|
|
23
|
+
"#59678c",
|
|
24
|
+
"#c9ab00",
|
|
25
|
+
"#7eb00a",
|
|
26
|
+
"#6f5553",
|
|
27
|
+
"#c14089"
|
|
28
|
+
];
|
|
29
|
+
}
|
|
30
|
+
getBaseOptions(n) {
|
|
31
|
+
const c = {
|
|
32
|
+
title: { show: !1, text: "" },
|
|
33
|
+
tooltip: {
|
|
34
|
+
trigger: "item",
|
|
35
|
+
padding: 5,
|
|
36
|
+
borderWidth: 0,
|
|
37
|
+
textStyle: {
|
|
38
|
+
color: "#FFFFFF"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
toolbox: { show: !1 },
|
|
42
|
+
legend: { data: [] },
|
|
43
|
+
series: []
|
|
44
|
+
};
|
|
45
|
+
return e.getJsonMergeDeep(c, n);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* 获取初始化配置信息
|
|
49
|
+
* @param chartParam 条件{chartType:day|hour,element:容器元素,dataOriginal,tipTitleFormat,seriesNameFormat}
|
|
50
|
+
* @returns
|
|
51
|
+
*/
|
|
52
|
+
getOptionAxis(n) {
|
|
53
|
+
let c = !0;
|
|
54
|
+
switch (n.chartType) {
|
|
55
|
+
case "hour":
|
|
56
|
+
c = !1;
|
|
57
|
+
break;
|
|
58
|
+
case "day":
|
|
59
|
+
c = !1;
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
const t = {
|
|
63
|
+
interval: "auto"
|
|
64
|
+
};
|
|
65
|
+
c ? t.interval = 0 : t.interval = n.chartType === "hour" ? 0 : "auto";
|
|
66
|
+
const i = e.isEmpty(n.tipTitleFormat) ? "" : n.tipTitleFormat, r = e.isEmpty(n.seriesNameFormat) ? "" : n.seriesNameFormat, a = e.isBoolean(n.isMultiple) ? n.isMultiple : !1, f = e.isBoolean(n.isTitleMergeSeriesName) ? n.isTitleMergeSeriesName : !1;
|
|
67
|
+
return this.getBaseOptions({
|
|
68
|
+
title: { text: "" },
|
|
69
|
+
tooltip: {
|
|
70
|
+
trigger: "axis",
|
|
71
|
+
formatter: (l) => {
|
|
72
|
+
const u = [];
|
|
73
|
+
let s = l[0].name;
|
|
74
|
+
switch (e.isObject(l[0].data) && l[0].data.extInfo && !e.isUndefined(l[0].data.extInfo.xValueOriginal) && (s = l[0].data.extInfo.xValueOriginal), n.chartType) {
|
|
75
|
+
case "hour":
|
|
76
|
+
s = e.getHourInterval(s);
|
|
77
|
+
break;
|
|
78
|
+
case "day":
|
|
79
|
+
s = e.getValueByFormat(s, "date");
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
if (i.length > 0) {
|
|
83
|
+
const g = a ? n.dataOriginal[0].list[l[0].dataIndex] : n.dataOriginal[l[0].dataIndex], o = e.getJsonClone(g);
|
|
84
|
+
o._title = s, s = e.convertStringFormat(i, o);
|
|
85
|
+
}
|
|
86
|
+
f || u.push(s);
|
|
87
|
+
const m = "<span style='display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:${color}'></span>";
|
|
88
|
+
for (let g = 0; g < l.length; g++) {
|
|
89
|
+
const o = l[g], d = a ? n.dataOriginal[g].list[o.dataIndex] : n.dataOriginal[o.dataIndex], h = o.marker || e.convertStringFormat(m, { color: o.color });
|
|
90
|
+
let y = e.encodeHTML(o.seriesName);
|
|
91
|
+
if (r.length > 0) {
|
|
92
|
+
const E = e.getJsonClone(d);
|
|
93
|
+
E._seriesName = y, y = e.convertStringFormat(r, E);
|
|
94
|
+
}
|
|
95
|
+
let p;
|
|
96
|
+
if (e.isUndefined(o.value))
|
|
97
|
+
p = null;
|
|
98
|
+
else if (e.isNumber(o.value)) {
|
|
99
|
+
const E = Number(o.value);
|
|
100
|
+
if (E < 0.01)
|
|
101
|
+
p = e.getNumCeil(E, { isCeil: !1 });
|
|
102
|
+
else {
|
|
103
|
+
let b = "num";
|
|
104
|
+
const V = { isEmptyDefault: !1 };
|
|
105
|
+
E < 0.1 && (b = "float", V.decimalNum = 3), p = e.getValueByFormat(o.value, b, V);
|
|
106
|
+
}
|
|
107
|
+
} else
|
|
108
|
+
p = o.value;
|
|
109
|
+
if (!e.isUndefined(o.data.extInfo) && o.data.extInfo.tipValueFormat && o.data.extInfo.tipValueFormat.length > 0) {
|
|
110
|
+
const E = e.getJsonClone(d);
|
|
111
|
+
E._value = p, p = e.convertStringFormat(o.data.extInfo.tipValueFormat, E);
|
|
112
|
+
}
|
|
113
|
+
u.push(h + (f ? s : y) + " : " + p);
|
|
114
|
+
}
|
|
115
|
+
return u.join("<br />");
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
legend: { data: [] },
|
|
119
|
+
grid: { top: "20px", left: "1%", right: "1%", bottom: "1%", containLabel: !0 },
|
|
120
|
+
xAxis: {
|
|
121
|
+
type: "category",
|
|
122
|
+
boundaryGap: !0,
|
|
123
|
+
axisLabel: {
|
|
124
|
+
interval: t.interval,
|
|
125
|
+
formatter: (l) => {
|
|
126
|
+
if (c && n?.element?.clientWidth) {
|
|
127
|
+
const u = n.element.clientWidth, s = parseInt(((u - 200) / n.dataOriginal.length).toString()), m = l.toString().split(""), g = [];
|
|
128
|
+
let o = 0;
|
|
129
|
+
for (let h = 0; h < m.length && (o += Math.ceil(A.getTextWidth(m[h])), !(o > s)); h++)
|
|
130
|
+
g.push(m[h]);
|
|
131
|
+
let d = "";
|
|
132
|
+
return m.length === g.length ? d = l : d = g.slice(0, g.length - 3).join("") + "...", d;
|
|
133
|
+
} else
|
|
134
|
+
return l;
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
splitLine: { show: !1 },
|
|
138
|
+
data: []
|
|
139
|
+
},
|
|
140
|
+
yAxis: [],
|
|
141
|
+
series: []
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
_getBaseDataInfo(n, c, t, i = {}) {
|
|
145
|
+
const r = [], a = [], f = [], x = !e.isUndefined(i.seriesExtData);
|
|
146
|
+
let l = 0;
|
|
147
|
+
if (n.forEach((m, g) => {
|
|
148
|
+
let o = Number(m[t]);
|
|
149
|
+
if (o.toString() === "NaN" ? o = 0 : o = Number(o.toFixed(2)), g < i.totalOther || !i.isSumOther) {
|
|
150
|
+
const d = m[c] || "";
|
|
151
|
+
r.push(d);
|
|
152
|
+
const h = {
|
|
153
|
+
value: o,
|
|
154
|
+
name: d
|
|
155
|
+
};
|
|
156
|
+
x && (h.extInfo = i.seriesExtData), a.push(h), f.push(o);
|
|
157
|
+
} else
|
|
158
|
+
l += Number(o);
|
|
159
|
+
}), i.isSumOther) {
|
|
160
|
+
const m = e.isEmpty(i.otherText) ? "其他" : i.otherText;
|
|
161
|
+
r.push(m);
|
|
162
|
+
const g = { value: l, name: m };
|
|
163
|
+
x && (g.extInfo = i.seriesExtData), a.push(g), f.push(l);
|
|
164
|
+
}
|
|
165
|
+
let u = Math.max.apply(null, f);
|
|
166
|
+
u = e.getNumCeil(u, { isEndFive: Number(u) < 100 });
|
|
167
|
+
let s = Math.min.apply(null, f);
|
|
168
|
+
return s = e.getNumCeil(s, { isEndFive: Number(u) < 100 }), { legendData: r, seriesData: a, seriesMax: u, seriesMin: s };
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* 获取图表数据
|
|
172
|
+
* @param list 数据格式 [{legendKey:"xxx",seriesKey:"123"}]
|
|
173
|
+
* @param legendKey 显示 legend.data 的关键字
|
|
174
|
+
* @param seriesKey 显示 series.data 的关键字 可单个或多个
|
|
175
|
+
* @param extOpt 额外参数 {totalOther} totalOther:配置大于0时,大于的个数归其他类别
|
|
176
|
+
* @returns 返回格式{legendData,seriesData ,max,sort}
|
|
177
|
+
*/
|
|
178
|
+
getBaseData(n, c, t, i = {}) {
|
|
179
|
+
const r = e.isEmpty(i.totalOther) ? -1 : parseInt(i.totalOther), a = r > 0 && n.length > r, f = e.isUndefined(i.seriesExtData) ? null : i.seriesExtData, x = { totalOther: r, isSumOther: a, seriesExtData: f };
|
|
180
|
+
if (e.isArray(t)) {
|
|
181
|
+
let l = [];
|
|
182
|
+
const u = [], s = [], m = [];
|
|
183
|
+
t.forEach((d, h) => {
|
|
184
|
+
const y = this._getBaseDataInfo(n, c, d, x);
|
|
185
|
+
h === 0 && (l = y.legendData), u.push({ valueKey: d, data: y.seriesData, maxData: y.seriesMax, minData: y.seriesMin }), s.push(y.seriesMax), m.push(y.seriesMin);
|
|
186
|
+
});
|
|
187
|
+
const g = Math.max.apply(null, s), o = Math.min.apply(null, m);
|
|
188
|
+
return { legendData: l, seriesData: u, seriesMax: g, seriesMin: o };
|
|
189
|
+
} else
|
|
190
|
+
return this._getBaseDataInfo(n, c, t, x);
|
|
191
|
+
}
|
|
192
|
+
_getItemXAxisSeries(n, c, t, i) {
|
|
193
|
+
let r, a;
|
|
194
|
+
if (!e.isEmpty(c.xKey))
|
|
195
|
+
if (r = n[c.xKey], a = r, e.isEmpty(r))
|
|
196
|
+
r = "";
|
|
197
|
+
else {
|
|
198
|
+
let s = e.isEmpty(t.xValueFormat) ? "" : t.xValueFormat;
|
|
199
|
+
switch (t.chartType) {
|
|
200
|
+
case "day":
|
|
201
|
+
e.isEmpty(t.xValueFormat) && (s = "MM.DD"), r = e.getValueByFormat(r, "date", { dateFormat: s });
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
let f;
|
|
206
|
+
if (!e.isEmpty(c.seriesKey)) {
|
|
207
|
+
let s = c.seriesKey;
|
|
208
|
+
e.isString(s) && e.isExistValue(s, ",") && (s = s.split(",")), e.isString(s) ? (f = Number(n[c.seriesKey]), f.toString() === "NaN" ? f = 0 : f = Number(f.toFixed(2))) : e.isArray(s) && (f = [], s.forEach((m) => {
|
|
209
|
+
let g;
|
|
210
|
+
m === c.xKey ? g = r : (g = Number(n[m]), g.toString() === "NaN" ? g = 0 : g = Number(g.toFixed(2))), f.push(g);
|
|
211
|
+
}));
|
|
212
|
+
}
|
|
213
|
+
let x;
|
|
214
|
+
e.isEmpty(c.legendKey) || (x = n[c.legendKey] || "");
|
|
215
|
+
const l = c.colorKey || "color";
|
|
216
|
+
let u = n[l] || t[l] || "";
|
|
217
|
+
if (e.isEmpty(u) && t.isPolychrome) {
|
|
218
|
+
const s = e.isEmpty(t.colorPalette) ? this.colorPalette : t.colorPalette, m = s.length, g = i % m;
|
|
219
|
+
u = s[g];
|
|
220
|
+
}
|
|
221
|
+
return { xValue: r, xValueOriginal: a, seriesValue: f, legendValue: x, colorValue: u };
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* 线图
|
|
225
|
+
* @param list list 数据格式 [{xKey:xxx,legendKey:xxx,seriesKey:xxx}]
|
|
226
|
+
* @param keyOpt xKey legendKey seriesKey
|
|
227
|
+
* @param extOpt 额外参数
|
|
228
|
+
* @returns
|
|
229
|
+
*/
|
|
230
|
+
getLineOption(n, c, t = {}) {
|
|
231
|
+
let i = {
|
|
232
|
+
type: "line",
|
|
233
|
+
areaStyle: {},
|
|
234
|
+
lineStyle: {},
|
|
235
|
+
smooth: !0
|
|
236
|
+
};
|
|
237
|
+
t.seriesItem && (i = e.getJsonMergeDeep(i, t.seriesItem));
|
|
238
|
+
const r = e.getJsonMerge(t, { seriesItemBase: i });
|
|
239
|
+
return this._getOneOptionBase(n, c, r);
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
* 柱状图
|
|
243
|
+
* @param list list 数据格式 [{xKey:xxx,legendKey:xxx,seriesKey:xxx}]
|
|
244
|
+
* @param keyOpt xKey legendKey seriesKey
|
|
245
|
+
* @param extOpt 额外参数
|
|
246
|
+
* @returns
|
|
247
|
+
*/
|
|
248
|
+
getBarOption(n, c, t = {}) {
|
|
249
|
+
let i = { type: "bar" };
|
|
250
|
+
const r = e.isBoolean(t.isPositiveNegative) ? t.isPositiveNegative : !1;
|
|
251
|
+
let a;
|
|
252
|
+
r && (a = e.isEmpty(t.seriesPos) ? "vertical" : t.seriesPos, i.label = { show: !0 }), i = e.getJsonMergeDeep(i, t.seriesItem);
|
|
253
|
+
const f = e.getJsonMerge(t, { seriesItemBase: i, isPositiveNegative: r, seriesPos: a }), x = this._getOneOptionBase(n, c, f);
|
|
254
|
+
return x.xAxis.boundaryGap = !0, x;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* 散点图
|
|
258
|
+
* @param list list 数据格式 [{xKey:xxx,seriesKey:xxx}]
|
|
259
|
+
* @param keyOpt xKey seriesKey
|
|
260
|
+
* @param extOpt 额外参数
|
|
261
|
+
* @returns
|
|
262
|
+
*/
|
|
263
|
+
getScatterOption(n, c, t = {}) {
|
|
264
|
+
let i = {
|
|
265
|
+
type: "scatter",
|
|
266
|
+
symbolSize: 10
|
|
267
|
+
};
|
|
268
|
+
t.seriesItem && (i = e.getJsonMergeDeep(i, t.seriesItem));
|
|
269
|
+
const r = e.getJsonMerge(t, { seriesItemBase: i });
|
|
270
|
+
c.seriesKey = [c.xKey, c.seriesKey];
|
|
271
|
+
const a = this._getOneOptionBase(n, c, r);
|
|
272
|
+
return a.legend = { show: !1 }, a.xAxis.axisTick = {
|
|
273
|
+
show: !0,
|
|
274
|
+
alignWithLabel: !0
|
|
275
|
+
}, a.xAxis.splitLine = {
|
|
276
|
+
show: !1
|
|
277
|
+
}, a.xAxis.splitArea = {
|
|
278
|
+
show: !1
|
|
279
|
+
}, a.yAxis.axisTick = {
|
|
280
|
+
show: !0
|
|
281
|
+
}, a.yAxis.splitLine = {
|
|
282
|
+
show: !1
|
|
283
|
+
}, a.yAxis.splitArea = {
|
|
284
|
+
show: !1
|
|
285
|
+
}, a.tooltip.trigger = "item", a.tooltip.formatter = (f) => f.marker + f.value[0] + ": " + f.value[1], a;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* 获取数据
|
|
289
|
+
* @param list 数据格式 [{xKey:xxx,legendKey:xxx,seriesKey:xxx}]
|
|
290
|
+
* @param keyOpt xKey legendKey seriesKey
|
|
291
|
+
* @param extOpt 额外参数 {chartType} chartType:day|hour| 类型的显示格式转换
|
|
292
|
+
*/
|
|
293
|
+
_getOneOptionBase(n, c, t = {}) {
|
|
294
|
+
const i = [];
|
|
295
|
+
let r = [];
|
|
296
|
+
const a = [];
|
|
297
|
+
let f = "";
|
|
298
|
+
const x = e.getJsonMerge(c, { colorKey: t.colorKey });
|
|
299
|
+
n.forEach((m, g) => {
|
|
300
|
+
const o = this._getItemXAxisSeries(m, x, t, g);
|
|
301
|
+
if (e.isUndefined(o.xValue) || i.push(o.xValue), e.isUndefined(o.legendValue) || r.push(o.legendValue), !e.isUndefined(o.seriesValue)) {
|
|
302
|
+
const d = o.seriesValue, h = {
|
|
303
|
+
value: o.seriesValue,
|
|
304
|
+
extInfo: {
|
|
305
|
+
xValueOriginal: o.xValueOriginal,
|
|
306
|
+
infoOriginal: m
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
t.isPositiveNegative ? (h.label = {
|
|
310
|
+
position: t.seriesPos === "horizontal" ? d >= 0 ? "left" : "right" : d >= 0 ? "top" : "bottom"
|
|
311
|
+
}, h.itemStyle = { color: d >= 0 ? "#1088F0" : "#ee3c24" }) : (!e.isEmpty(o.colorValue) && f.length == 0 && (f = o.colorValue), t.isPolychrome && !e.isEmpty(o.colorValue) && (h.itemStyle = {
|
|
312
|
+
color: o.colorValue
|
|
313
|
+
})), e.isEmpty(t.seriesDataAddParam) || e.isExistValue(t.seriesDataAddParam, "symbolSize") && !e.isEmpty(m.symbolSize) && (h.symbolSize = m.symbolSize), a.push(h);
|
|
314
|
+
}
|
|
315
|
+
}), e.isUndefined(c.legendKey) || (r = e.getArrUnique(r));
|
|
316
|
+
const l = e.getJsonMerge(t.seriesItemBase || {}, {
|
|
317
|
+
name: t.legendData ? t.legendData : r[0],
|
|
318
|
+
data: a
|
|
319
|
+
});
|
|
320
|
+
e.isEmpty(f) || (l.itemStyle = { color: f });
|
|
321
|
+
let u = {};
|
|
322
|
+
u = e.getJsonMerge(u, t);
|
|
323
|
+
const s = this.getOptionAxis(u);
|
|
324
|
+
return s.legend.data = r, s.xAxis = e.getJsonMerge(s.xAxis, { axisLine: {} }, t.xAxisItem || {}), s.xAxis.data = i, s.series = [l], s.yAxis = { type: "value", axisLine: { show: !0 } }, s;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* 根据分组获取多线数据(line)
|
|
328
|
+
* @param list 数据格式 [{legendKey:"xxx",list:[{xKey:xxx,seriesKey:xxx}]}]
|
|
329
|
+
* @param keyOpt xKey legendKey seriesKey
|
|
330
|
+
* @param extOpt 额外参数 {}
|
|
331
|
+
*/
|
|
332
|
+
getLineMultiOption(n, c, t = {}) {
|
|
333
|
+
let i = {
|
|
334
|
+
type: "line",
|
|
335
|
+
areaStyle: {},
|
|
336
|
+
smooth: !0
|
|
337
|
+
};
|
|
338
|
+
t.seriesItem && (i = e.getJsonMergeDeep(i, t.seriesItem));
|
|
339
|
+
const r = e.getJsonMerge(t, { seriesItemBase: i, emptyFill: 0 });
|
|
340
|
+
return this._getMultiOptionBase(n, c, r);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* 根据分组获取多线数据(Bar)
|
|
344
|
+
* @param list 数据格式 [{legendKey:"xxx",list:[{xKey:xxx,seriesKey:xxx}]}]
|
|
345
|
+
* @param keyOpt xKey legendKey seriesKey
|
|
346
|
+
* @param extOpt 额外参数 {}
|
|
347
|
+
*/
|
|
348
|
+
getBarMultiOption(n, c, t = {}) {
|
|
349
|
+
let i = { type: "bar" };
|
|
350
|
+
t.seriesItem && (i = e.getJsonMergeDeep(i, t.seriesItem));
|
|
351
|
+
const r = e.getJsonMerge(t, { seriesItemBase: i }), a = this._getMultiOptionBase(n, c, r);
|
|
352
|
+
if (e.isBoolean(t.isHideNull) ? t.isHideNull : !0) {
|
|
353
|
+
const x = this._setBarMultiCustom(a, t);
|
|
354
|
+
x.length > 0 && (a.series = x, a.legend.show = !1, a.tooltip.formatter = (l) => {
|
|
355
|
+
const u = [];
|
|
356
|
+
u.push(l[0].axisValue);
|
|
357
|
+
for (let s = 0; s < l.length; s++) {
|
|
358
|
+
const m = l[s];
|
|
359
|
+
u.push(
|
|
360
|
+
m.marker + e.encodeHTML(m.name) + " : " + e.getValueByFormat(m.value[1], "num")
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
return u.join("<br />");
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
return a;
|
|
367
|
+
}
|
|
368
|
+
_setBarMultiCustom(n, c) {
|
|
369
|
+
const t = [], i = {};
|
|
370
|
+
let r = !1;
|
|
371
|
+
n.series.forEach((f, x) => {
|
|
372
|
+
const { name: l, itemStyle: u } = f;
|
|
373
|
+
f.data.forEach((s, m) => {
|
|
374
|
+
const g = e.isObject(s) ? s.value : s;
|
|
375
|
+
if (e.isUndefined(g))
|
|
376
|
+
r = !0;
|
|
377
|
+
else {
|
|
378
|
+
const o = m.toString();
|
|
379
|
+
e.isExistJsonKey(i, o) || (i[o] = []), i[o].push(l);
|
|
380
|
+
const d = { name: l, value: [m, g] };
|
|
381
|
+
if (!e.isUndefined(u))
|
|
382
|
+
d.itemStyle = u;
|
|
383
|
+
else {
|
|
384
|
+
const h = e.isEmpty(c.colorPalette) ? this.colorPalette : c.colorPalette, y = x % h.length;
|
|
385
|
+
d.itemStyle = { color: h[y] };
|
|
386
|
+
}
|
|
387
|
+
g < 0 && (d.label = { show: !0, position: "left" }), t.push(d);
|
|
388
|
+
}
|
|
389
|
+
});
|
|
390
|
+
});
|
|
391
|
+
let a = [];
|
|
392
|
+
if (r) {
|
|
393
|
+
a = [{
|
|
394
|
+
type: "custom",
|
|
395
|
+
renderItem: (l, u) => {
|
|
396
|
+
const s = u.value(0), m = u.value(1), g = u.coord([0, s]), o = u.coord([Math.abs(m), s]);
|
|
397
|
+
let d = u.size([0, 1])[1] * 0.8, h = g[1] - d / 2, y = l.coordSys.y;
|
|
398
|
+
const p = u.value(3), E = u.value(4);
|
|
399
|
+
let b = d;
|
|
400
|
+
if (p > 1 || E > 1) {
|
|
401
|
+
p !== E && (d = d / E * p, h = g[1] - d / 2);
|
|
402
|
+
const S = d / p, D = u.value(2), v = S * (D - 1);
|
|
403
|
+
h += v, y += v;
|
|
404
|
+
const M = S * 0.1;
|
|
405
|
+
h += M, y += M, b = S * 0.8;
|
|
406
|
+
}
|
|
407
|
+
const V = {
|
|
408
|
+
x: g[0],
|
|
409
|
+
y: h,
|
|
410
|
+
width: (o[0] - g[0]) * 0.9,
|
|
411
|
+
height: b
|
|
412
|
+
};
|
|
413
|
+
return m < 0 && (V.x -= V.width), {
|
|
414
|
+
type: "rect",
|
|
415
|
+
shape: w.graphic.clipRectByRect(
|
|
416
|
+
V,
|
|
417
|
+
{
|
|
418
|
+
x: l.coordSys.x,
|
|
419
|
+
y,
|
|
420
|
+
width: l.coordSys.width * 0.9,
|
|
421
|
+
height: l.coordSys.height
|
|
422
|
+
}
|
|
423
|
+
),
|
|
424
|
+
style: { fill: u.visual("color") }
|
|
425
|
+
};
|
|
426
|
+
},
|
|
427
|
+
itemStyle: {
|
|
428
|
+
opacity: 1
|
|
429
|
+
},
|
|
430
|
+
encode: {
|
|
431
|
+
x: 1,
|
|
432
|
+
y: 0
|
|
433
|
+
},
|
|
434
|
+
label: {},
|
|
435
|
+
data: []
|
|
436
|
+
}];
|
|
437
|
+
const f = t.map((l) => i[l.value[0].toString()].length), x = Math.max.apply(null, f);
|
|
438
|
+
t.forEach((l) => {
|
|
439
|
+
const u = l.value[0], s = i[u.toString()], m = s.indexOf(l.name);
|
|
440
|
+
l.value.push(m + 1), l.value.push(s.length), l.value.push(x);
|
|
441
|
+
}), a[0].data = t, a[0].label = n.series[0].label, a[0].label && a[0].label.formatter && (a[0].label.formatter = (l) => e.getValueByFormat(l.value[1], "num"));
|
|
442
|
+
}
|
|
443
|
+
return a;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* 根据分组获取多线数据
|
|
447
|
+
* @param list 数据格式 [{legendKey:"xxx",list:[{xKey:xxx,seriesKey:xxx}]}]
|
|
448
|
+
* @param keyOpt legendKey xKey seriesKey
|
|
449
|
+
* @param extOpt 额外参数 {}
|
|
450
|
+
*/
|
|
451
|
+
_getMultiOptionBase(n, c, t = {}) {
|
|
452
|
+
let i = [], r = [];
|
|
453
|
+
const a = {}, f = [], x = e.isEmpty(t.seriesItemBase) ? {} : t.seriesItemBase, l = e.isEmpty(t.fillValue) ? null : t.emptyFill, u = e.isBoolean(t.isCompletionLegendX) ? t.isCompletionLegendX : !0, s = !e.isEmpty(t.xAxisSort), m = !e.isEmpty(t.legendSort), g = t.colorKey || "color", o = e.getJsonMerge(c, { colorKey: g });
|
|
454
|
+
n.forEach((y) => {
|
|
455
|
+
const p = y[o.legendKey] || "", E = {};
|
|
456
|
+
y.list.forEach((b, V) => {
|
|
457
|
+
const I = this._getItemXAxisSeries(b, { xKey: o.xKey }, t, V);
|
|
458
|
+
e.isUndefined(I.xValue) || (i.push(I.xValue), E[I.xValue] = b);
|
|
459
|
+
}), r.push(p), a[p] = E;
|
|
460
|
+
}), r = e.getArrUnique(r), i = e.getArrUnique(i), m && (r = t.legendSort), s && (i = t.xAxisSort), r.forEach((y) => {
|
|
461
|
+
const p = [];
|
|
462
|
+
let E = "";
|
|
463
|
+
u ? i.forEach((V, I) => {
|
|
464
|
+
if (e.isExistJsonKey(a, y) && e.isExistJsonKey(a[y], V)) {
|
|
465
|
+
const S = this._getItemXAxisSeries(a[y][V], o, t, I);
|
|
466
|
+
e.isUndefined(S.seriesValue) || p.push({
|
|
467
|
+
value: S.seriesValue,
|
|
468
|
+
extInfo: {
|
|
469
|
+
xValueOriginal: S.xValueOriginal
|
|
470
|
+
}
|
|
471
|
+
}), E = S.colorValue;
|
|
472
|
+
} else
|
|
473
|
+
p.push({ value: l });
|
|
474
|
+
}) : e.isExistJsonKey(a, y) ? Object.keys(a[y]).forEach((V, I) => {
|
|
475
|
+
const S = this._getItemXAxisSeries(a[y][V], o, t, I);
|
|
476
|
+
e.isUndefined(S.seriesValue) || p.push({
|
|
477
|
+
value: S.seriesValue,
|
|
478
|
+
extInfo: {
|
|
479
|
+
xValueOriginal: S.xValueOriginal
|
|
480
|
+
}
|
|
481
|
+
}), E = S.colorValue;
|
|
482
|
+
}) : p.push({ value: l });
|
|
483
|
+
const b = e.getJsonMerge(x, {
|
|
484
|
+
name: y
|
|
485
|
+
});
|
|
486
|
+
b.data = p, b.label && t.isShowLabelThousand && (b.label.formatter = (V) => e.getValueByFormat(V.value, "num")), e.isEmpty(E) || (b.itemStyle = { color: E }), f.push(b);
|
|
487
|
+
});
|
|
488
|
+
let d = {};
|
|
489
|
+
d = e.getJsonMerge(d, t), d.isMultiple = !0;
|
|
490
|
+
const h = this.getOptionAxis(d);
|
|
491
|
+
return h.legend.data = r, h.series = f, h.xAxis = e.getJsonMerge(h.xAxis, t.xAxisItem || {}), h.xAxis.data = i, h.yAxis = { type: "value", axisLine: { show: !0 } }, h;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
const T = new N();
|
|
495
|
+
export {
|
|
496
|
+
T as e
|
|
497
|
+
};
|
|
498
|
+
//# sourceMappingURL=echart-BtfUJ8lE.js.map
|