@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,808 @@
|
|
|
1
|
+
const J = {};
|
|
2
|
+
function A(S, t) {
|
|
3
|
+
J[S] = t;
|
|
4
|
+
}
|
|
5
|
+
class x {
|
|
6
|
+
// constructor() {}
|
|
7
|
+
/**
|
|
8
|
+
* 获取 typeof 类型
|
|
9
|
+
* @param value
|
|
10
|
+
* @returns {string}
|
|
11
|
+
*/
|
|
12
|
+
static getTypeof(t) {
|
|
13
|
+
return typeof t;
|
|
14
|
+
}
|
|
15
|
+
static _toStringCall(t) {
|
|
16
|
+
return Object.prototype.toString.call(t);
|
|
17
|
+
}
|
|
18
|
+
static isUndefined(t) {
|
|
19
|
+
return this.getTypeof(t) === "undefined" || t === null;
|
|
20
|
+
}
|
|
21
|
+
static isBoolean(t) {
|
|
22
|
+
return this.getTypeof(t) === "boolean";
|
|
23
|
+
}
|
|
24
|
+
static isString(t) {
|
|
25
|
+
return this.getTypeof(t) === "string";
|
|
26
|
+
}
|
|
27
|
+
static isFunction(t) {
|
|
28
|
+
return this.getTypeof(t) === "function" && this._toStringCall(t) === "[object Function]";
|
|
29
|
+
}
|
|
30
|
+
static isObject(t) {
|
|
31
|
+
return !this.isUndefined(t) && this.getTypeof(t) === "object";
|
|
32
|
+
}
|
|
33
|
+
static isBlob(t) {
|
|
34
|
+
return this._toStringCall(t) === "[object Blob]";
|
|
35
|
+
}
|
|
36
|
+
static isFile(t) {
|
|
37
|
+
return this._toStringCall(t) === "[object File]";
|
|
38
|
+
}
|
|
39
|
+
static isNumber(t) {
|
|
40
|
+
let e = !1;
|
|
41
|
+
return this.isString(t) ? /^(-)?(([1-9]\d*)|0)(\.\d+)?$/.test(t) : (this.getTypeof(t) === "number" && (e = !0), e);
|
|
42
|
+
}
|
|
43
|
+
static isInt(t) {
|
|
44
|
+
let e = !0;
|
|
45
|
+
return this.isEmpty(t) || (e = /^[1-9]\d*$|^0$/.test(t.toString())), e;
|
|
46
|
+
}
|
|
47
|
+
static isHtml(t) {
|
|
48
|
+
return /^<([a-z][a-z0-9]*)\b[^>]*>(.*?)<\/\1>$/i.test(t);
|
|
49
|
+
}
|
|
50
|
+
static isJson(t) {
|
|
51
|
+
let e = !1;
|
|
52
|
+
if (this.isString(t))
|
|
53
|
+
try {
|
|
54
|
+
const s = JSON.parse(t);
|
|
55
|
+
this.isObject(s) && (e = !0);
|
|
56
|
+
} catch {
|
|
57
|
+
}
|
|
58
|
+
else this.isObject(t) && (e = !0);
|
|
59
|
+
return e;
|
|
60
|
+
}
|
|
61
|
+
static isWindow(t) {
|
|
62
|
+
return !this.isUndefined(t) && t === t.window;
|
|
63
|
+
}
|
|
64
|
+
static _isEmptyObject(t) {
|
|
65
|
+
return this.isUndefined(t) ? !0 : Object.keys(t).length === 0;
|
|
66
|
+
}
|
|
67
|
+
static isArray(t) {
|
|
68
|
+
return Array.isArray(t) && this._toStringCall(t) === "[object Array]";
|
|
69
|
+
}
|
|
70
|
+
static isLocationLngLat(t) {
|
|
71
|
+
let e = !1;
|
|
72
|
+
if (!this.isEmpty(t)) {
|
|
73
|
+
let s;
|
|
74
|
+
if (this.isString(t) ? s = t.split(",") : this.isArray(t) ? s = t : s = [], s.length === 2) {
|
|
75
|
+
const i = s[0], n = s[1], r = /^-?(180(\.0+)?|1[0-7]?\d?(\.\d+)?|[1-9]?\d?(\.\d+)?)$/, o = /^-?(90(\.0+)?|[1-8]?\d?(\.\d+)?)$/;
|
|
76
|
+
e = r.test(i) && o.test(n);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return e;
|
|
80
|
+
}
|
|
81
|
+
static isEmpty(t, e) {
|
|
82
|
+
let s = this.isUndefined(t);
|
|
83
|
+
if (!s) {
|
|
84
|
+
const i = this.getTypeof(t);
|
|
85
|
+
if (this.isString(t) ? s = this.trim(t).length === 0 : this.isArray(t) ? s = t.length === 0 : i === "object" && (this.isFile(t) ? s = !1 : s = this._isEmptyObject(t)), !s && !this.isUndefined(e)) {
|
|
86
|
+
let n = t;
|
|
87
|
+
this.isNumber(t) && (n = n.toString());
|
|
88
|
+
let r = e;
|
|
89
|
+
this.isNumber(e) && (r = r.toString()), s = this.isEqual(n, r);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return s;
|
|
93
|
+
}
|
|
94
|
+
static isEqual(t, e) {
|
|
95
|
+
return Object.is(t, e);
|
|
96
|
+
}
|
|
97
|
+
static isEqualArr(t, e, s = !1) {
|
|
98
|
+
let i = !1;
|
|
99
|
+
const n = this.isEmpty(t), r = this.isEmpty(e);
|
|
100
|
+
if (n && r)
|
|
101
|
+
i = !0;
|
|
102
|
+
else if (t.length === e.length)
|
|
103
|
+
if (i = !0, s) {
|
|
104
|
+
for (let o = 0; o < t.length; o++)
|
|
105
|
+
if (t[o].toString() !== e[o].toString()) {
|
|
106
|
+
i = !1;
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
} else {
|
|
110
|
+
const o = this.getArrConvertJson(e);
|
|
111
|
+
for (let c = 0; c < t.length; c++)
|
|
112
|
+
if (!this.isExistJsonKey(o, t[c].toString())) {
|
|
113
|
+
i = !1;
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
else
|
|
118
|
+
i = !1;
|
|
119
|
+
return i;
|
|
120
|
+
}
|
|
121
|
+
static isEqualList(t, e, s = ["id"]) {
|
|
122
|
+
let i = !1;
|
|
123
|
+
const n = this.isEmpty(t), r = this.isEmpty(e);
|
|
124
|
+
if (n && r)
|
|
125
|
+
i = !0;
|
|
126
|
+
else if (t.length === e.length) {
|
|
127
|
+
const o = t.map((c) => s.map((a) => c[a].toString()).join(","));
|
|
128
|
+
i = !0, e.some((c) => {
|
|
129
|
+
const a = s.map((l) => c[l].toString()).join(",");
|
|
130
|
+
if (!this.isExistValue(o, a))
|
|
131
|
+
return i = !1, !0;
|
|
132
|
+
});
|
|
133
|
+
} else
|
|
134
|
+
i = !1;
|
|
135
|
+
return i;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* 数组1是否包含数组2
|
|
139
|
+
* @param arr1
|
|
140
|
+
* @param arr2
|
|
141
|
+
*/
|
|
142
|
+
static isContainArr(t, e) {
|
|
143
|
+
let s = !1;
|
|
144
|
+
const i = this.isEmpty(t), n = this.isEmpty(e);
|
|
145
|
+
return i && n ? s = !0 : t.length >= e.length ? (s = !0, e.some((r) => {
|
|
146
|
+
if (!this.isExistValue(t, r))
|
|
147
|
+
return s = !1, !0;
|
|
148
|
+
})) : s = !1, s;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* 是否存在 大量循环时误用(慢)
|
|
152
|
+
* @param value
|
|
153
|
+
* @param key
|
|
154
|
+
* @returns
|
|
155
|
+
*/
|
|
156
|
+
static isExistValue(t, e) {
|
|
157
|
+
return this.isUndefined(t) ? !1 : t.includes ? t.includes(e) : t.indexOf(e) > -1;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* 是否存在(专用json)
|
|
161
|
+
* @param json
|
|
162
|
+
* @param key
|
|
163
|
+
* @returns
|
|
164
|
+
*/
|
|
165
|
+
static isExistJsonKey(t, e) {
|
|
166
|
+
return this.isUndefined(t) ? !1 : Object.prototype.hasOwnProperty.call(t, e);
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* 操作系统类型 仅浏览器端使用
|
|
170
|
+
* @returns
|
|
171
|
+
*/
|
|
172
|
+
static osType() {
|
|
173
|
+
const t = navigator.userAgent, e = /(?:Android)/.test(t), s = /(?:Firefox)/.test(t), i = /(?:iPad|PlayBook)/.test(t) || e && !/(?:Mobile)/.test(t) || s && /(?:Tablet)/.test(t), n = /(?:iPhone)/.test(t) && !i;
|
|
174
|
+
return {
|
|
175
|
+
isTablet: i,
|
|
176
|
+
isIOS: n,
|
|
177
|
+
isAndroid: e,
|
|
178
|
+
isMobile: n || e,
|
|
179
|
+
isPc: !n && !e
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* 移除空格
|
|
184
|
+
* @param value
|
|
185
|
+
* @returns {string}
|
|
186
|
+
*/
|
|
187
|
+
static trim(t) {
|
|
188
|
+
if (this.isUndefined(t)) return t;
|
|
189
|
+
const e = t.toString();
|
|
190
|
+
return e.trim ? e.trim() : e.replace(/^\s+|\s+$/gm, "");
|
|
191
|
+
}
|
|
192
|
+
static split(t, e = ",") {
|
|
193
|
+
let s;
|
|
194
|
+
if (this.isEmpty(t))
|
|
195
|
+
s = [];
|
|
196
|
+
else {
|
|
197
|
+
let i = t;
|
|
198
|
+
e === "," && (i = i.replace(/,/g, ",")), s = i.toString().split(e);
|
|
199
|
+
}
|
|
200
|
+
return s;
|
|
201
|
+
}
|
|
202
|
+
static kebabCase(t) {
|
|
203
|
+
return t.replace(/([A-Z])/g, " $1").trim().split(" ").join("-").toLowerCase();
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* 获取字节长度
|
|
207
|
+
* @param {string} str
|
|
208
|
+
* @returns {number}
|
|
209
|
+
*/
|
|
210
|
+
static getByteLen(t) {
|
|
211
|
+
let e = 0;
|
|
212
|
+
for (let s = 0; s < t.length; s += 1)
|
|
213
|
+
t.charAt(s).match(/[^\x00-\xff]/ig) !== null ? e += 3 : e += 1;
|
|
214
|
+
return e;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* 复制json
|
|
218
|
+
* @param json {Object}
|
|
219
|
+
* @returns
|
|
220
|
+
*/
|
|
221
|
+
static getJsonClone(t, e = !1, s = {}) {
|
|
222
|
+
if (e)
|
|
223
|
+
return this._getJsonCloneDeep(t, s);
|
|
224
|
+
{
|
|
225
|
+
const i = this.isUndefined(s.exclude) ? [] : s.exclude;
|
|
226
|
+
if (i.length === 0)
|
|
227
|
+
return this.getJsonMerge(t);
|
|
228
|
+
{
|
|
229
|
+
const n = {};
|
|
230
|
+
return Object.keys(t).forEach((r) => {
|
|
231
|
+
this.isExistValue(i, r) || (n[r] = t[r]);
|
|
232
|
+
}), n;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* 复制json 深拷贝
|
|
238
|
+
* @param json
|
|
239
|
+
* @returns
|
|
240
|
+
*/
|
|
241
|
+
static _getJsonCloneDeep(t, e = {}) {
|
|
242
|
+
const s = this.isArray(t) ? [] : {}, i = this.isUndefined(e.exclude) ? [] : e.exclude;
|
|
243
|
+
return Object.keys(t).forEach((n) => {
|
|
244
|
+
if (i.length === 0 || !this.isExistValue(i, n)) {
|
|
245
|
+
const o = t[n];
|
|
246
|
+
this.isUndefined(o) || !this.isObject(o) ? this.isArray(o) ? s[n] = this.getListClone(o, !0) : s[n] = o : s[n] = this._getJsonCloneDeep(o);
|
|
247
|
+
}
|
|
248
|
+
}), s;
|
|
249
|
+
}
|
|
250
|
+
static getJsonCloneByKeyArr(t, e) {
|
|
251
|
+
const s = {};
|
|
252
|
+
return e.forEach((i) => {
|
|
253
|
+
const n = t[i];
|
|
254
|
+
s[i] = this.isUndefined(n) ? "" : this.isObject(n) ? this.getJsonClone(n) : n;
|
|
255
|
+
}), s;
|
|
256
|
+
}
|
|
257
|
+
static getJsonCloneByKeyJson(t, e) {
|
|
258
|
+
const s = Object.keys(e);
|
|
259
|
+
return this.getJsonCloneByKeyArr(t, s);
|
|
260
|
+
}
|
|
261
|
+
static getJsonCloneByRemoveArr(t, e) {
|
|
262
|
+
const s = {};
|
|
263
|
+
return e.length === 0 ? t : (Object.keys(t).forEach((i) => {
|
|
264
|
+
this.isExistValue(e, i) || (s[i] = t[i]);
|
|
265
|
+
}), s);
|
|
266
|
+
}
|
|
267
|
+
static getJsonMerge(...t) {
|
|
268
|
+
return Object.assign({}, ...t);
|
|
269
|
+
}
|
|
270
|
+
static getJsonReversal(t) {
|
|
271
|
+
const e = {};
|
|
272
|
+
return Object.keys(t).forEach((s) => {
|
|
273
|
+
e[t[s]] = s;
|
|
274
|
+
}), e;
|
|
275
|
+
}
|
|
276
|
+
static getJsonMergeDeep(...t) {
|
|
277
|
+
const e = {}, s = t.length;
|
|
278
|
+
for (let i = 0; i < s; i++)
|
|
279
|
+
this._mergeJsonDeep(e, t[i] || {});
|
|
280
|
+
return e;
|
|
281
|
+
}
|
|
282
|
+
static _mergeJsonDeep(t, e) {
|
|
283
|
+
Object.keys(e).forEach((s) => {
|
|
284
|
+
const i = e[s];
|
|
285
|
+
this.isUndefined(i) ? t[s] = i : this.isArray(i) ? t[s] = this.getListClone(i, !0) : this.isObject(i) && this.isExistJsonKey(t, s) ? this._mergeJsonDeep(t[s], i) : t[s] = i;
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
static getJsonMap(t, e, s = !1) {
|
|
289
|
+
const i = {};
|
|
290
|
+
if (!this.isEmpty(t) && !this._isEmptyObject(e))
|
|
291
|
+
for (const [n, r] of Object.entries(e)) {
|
|
292
|
+
let o = r.toString(), c = "";
|
|
293
|
+
if (o.indexOf("|") > -1) {
|
|
294
|
+
const a = o.split("|");
|
|
295
|
+
o = a[0], c = a[1];
|
|
296
|
+
}
|
|
297
|
+
if (o.indexOf(".") > -1) {
|
|
298
|
+
const a = this.split(o, ".");
|
|
299
|
+
let l = this.getJsonClone(t, !0);
|
|
300
|
+
a.forEach((h, b) => {
|
|
301
|
+
const f = l[h], g = this.isEmpty(f);
|
|
302
|
+
b === a.length - 1 ? this.isUndefined(f) ? l = s ? "" : f : g ? l = "" : c && c.length > 0 ? l = this.isEmpty(f) ? "" : this.getValueByFormat(f, c) : l = f : l = g ? {} : f;
|
|
303
|
+
}), i[n] = this.isString(l) ? this.trim(l) : l;
|
|
304
|
+
} else if (this.isExistJsonKey(t, o)) {
|
|
305
|
+
const a = t[o];
|
|
306
|
+
let l;
|
|
307
|
+
this.isUndefined(a) ? l = s ? "" : a : c && c.length > 0 ? l = this.isEmpty(a) ? "" : this.getValueByFormat(a, c) : l = a, i[n] = this.isString(l) ? this.trim(l) : l;
|
|
308
|
+
} else
|
|
309
|
+
s && (i[n] = "");
|
|
310
|
+
}
|
|
311
|
+
return i;
|
|
312
|
+
}
|
|
313
|
+
static getJsonByList(t, e, s = !1) {
|
|
314
|
+
const i = {};
|
|
315
|
+
if (!this.isEmpty(t)) {
|
|
316
|
+
const n = e && !this.isEmpty(e) ? e : "id";
|
|
317
|
+
t.forEach((r) => {
|
|
318
|
+
let o = "";
|
|
319
|
+
s ? e && (o = this.convertStringFormat(e, r)) : o = this.isExistJsonKey(r, n) ? r[n].toString() : "", o.length > 0 && (i[o] = this.getJsonClone(r));
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
return i;
|
|
323
|
+
}
|
|
324
|
+
static getJsonByArr(t) {
|
|
325
|
+
const e = {};
|
|
326
|
+
return this.isEmpty(t) || t.forEach((s) => {
|
|
327
|
+
e[s] = s;
|
|
328
|
+
}), e;
|
|
329
|
+
}
|
|
330
|
+
static getGroupByList(t, e) {
|
|
331
|
+
const s = {};
|
|
332
|
+
return this.isEmpty(t) || t.forEach((i) => {
|
|
333
|
+
const n = this.isExistJsonKey(i, e) ? i[e].toString() : "";
|
|
334
|
+
n.length > 0 && (this.isExistJsonKey(s, n) || (s[n] = []), s[n].push(this.getJsonClone(i)));
|
|
335
|
+
}), s;
|
|
336
|
+
}
|
|
337
|
+
static getJsonByBlob(t) {
|
|
338
|
+
return new Promise((e, s) => {
|
|
339
|
+
const i = new FileReader();
|
|
340
|
+
i.onload = () => {
|
|
341
|
+
try {
|
|
342
|
+
const n = JSON.parse(i.result);
|
|
343
|
+
e(n);
|
|
344
|
+
} catch (n) {
|
|
345
|
+
s(n);
|
|
346
|
+
}
|
|
347
|
+
}, i.onerror = s, i.readAsText(t);
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
static getBase64ByFile(t) {
|
|
351
|
+
return new Promise((e) => {
|
|
352
|
+
if (t.length > 0) {
|
|
353
|
+
const s = t[0];
|
|
354
|
+
if (s instanceof File) {
|
|
355
|
+
const i = new FileReader();
|
|
356
|
+
i.onload = (n) => {
|
|
357
|
+
e(n.target.result);
|
|
358
|
+
}, i.readAsDataURL(s);
|
|
359
|
+
} else
|
|
360
|
+
e("");
|
|
361
|
+
} else
|
|
362
|
+
e("");
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* 获取list 层级结构
|
|
367
|
+
* @param {any[]} list
|
|
368
|
+
* @returns {any}
|
|
369
|
+
*/
|
|
370
|
+
static getTreeList(t) {
|
|
371
|
+
let e = [];
|
|
372
|
+
const s = [], i = {}, n = {};
|
|
373
|
+
return this.isEmpty(t) || (t.forEach((r) => {
|
|
374
|
+
const o = r.id.toString(), c = r.parentId.toString();
|
|
375
|
+
c === "0" && s.push(o), i[o] = r, this.isExistJsonKey(n, c) || (n[c] = []), n[c].push(r);
|
|
376
|
+
}), s.forEach((r) => {
|
|
377
|
+
e = e.concat(this._recursionChild(r, n, i));
|
|
378
|
+
})), { tree: e, group: n, json: i, list: t };
|
|
379
|
+
}
|
|
380
|
+
static getTreeLastParent(t, e, s = !0) {
|
|
381
|
+
let i = [];
|
|
382
|
+
return this.isExistJsonKey(e, t) && (i = this._recursionParent(t, e), s || i.splice(0, 1), i.reverse()), i;
|
|
383
|
+
}
|
|
384
|
+
static _recursionChild(t, e, s) {
|
|
385
|
+
const i = [], n = this.getJsonClone(s[t]);
|
|
386
|
+
return this.isExistJsonKey(e, t) && (n.list = [], e[t].forEach((o) => {
|
|
387
|
+
const c = o.id.toString();
|
|
388
|
+
n.list = n.list.concat(this._recursionChild(c, e, s));
|
|
389
|
+
})), i.push(n), i;
|
|
390
|
+
}
|
|
391
|
+
static _recursionParent(t, e) {
|
|
392
|
+
let s = [];
|
|
393
|
+
if (this.isExistJsonKey(e, t)) {
|
|
394
|
+
const i = e[t], n = i.parentId.toString();
|
|
395
|
+
s.push(i), s = s.concat(this._recursionParent(n, e));
|
|
396
|
+
}
|
|
397
|
+
return s;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* 获取list tree转list
|
|
401
|
+
* @param tree
|
|
402
|
+
* @param opt
|
|
403
|
+
* @returns
|
|
404
|
+
*/
|
|
405
|
+
static getListByTree(t, e = {}) {
|
|
406
|
+
const s = this.isEmpty(e.idKey) ? "id" : e.idKey, i = this.isEmpty(e.cKey) ? "list" : e.cKey, n = this.isEmpty(e.pKey) ? "parentId" : e.pKey, r = this.isEmpty(e.topPV) ? "0" : e.topPV;
|
|
407
|
+
return this._recursionListByTree(t, r, { idKey: s, cKey: i, pKey: n });
|
|
408
|
+
}
|
|
409
|
+
static _recursionListByTree(t, e, s) {
|
|
410
|
+
const i = [];
|
|
411
|
+
return t.forEach((n) => {
|
|
412
|
+
const r = this.getJsonClone(n, !1, { exclude: [s.cKey] });
|
|
413
|
+
r[s.pKey] = e;
|
|
414
|
+
const o = this.isUndefined(n[s.cKey]);
|
|
415
|
+
if (r.isLastLevel = o, i.push(r), !o) {
|
|
416
|
+
const c = this._recursionListByTree(n[s.cKey], r[s.idKey], s);
|
|
417
|
+
i.push(...c);
|
|
418
|
+
}
|
|
419
|
+
}), i;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* 复制list
|
|
423
|
+
* @param list
|
|
424
|
+
*/
|
|
425
|
+
static getListClone(t, e = !1) {
|
|
426
|
+
return this.isEmpty(t) ? [] : t.map((s) => this.isObject(s) ? this.getJsonClone(s, e) : s);
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* list 合并
|
|
430
|
+
* @param newList 新
|
|
431
|
+
* @param oldList 旧
|
|
432
|
+
* @param key id
|
|
433
|
+
* @returns list
|
|
434
|
+
*/
|
|
435
|
+
static getListMergeDeep(t, e, s = "id") {
|
|
436
|
+
const i = [];
|
|
437
|
+
if (t.length > 0) {
|
|
438
|
+
const n = this.getJsonByList(e, s);
|
|
439
|
+
t.forEach((r) => {
|
|
440
|
+
let o = {}, c = r[s];
|
|
441
|
+
this.isEmpty(c) || (c = c.toString(), o = this.isExistJsonKey(n, c) ? n[c] : {});
|
|
442
|
+
const a = this.getJsonMergeDeep(o, r);
|
|
443
|
+
i.push(a);
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
return i;
|
|
447
|
+
}
|
|
448
|
+
static getRecursionParentList(t, e, s = "parentId") {
|
|
449
|
+
let i = [];
|
|
450
|
+
const n = e.toString();
|
|
451
|
+
if (n !== "0" && this.isExistJsonKey(t, n)) {
|
|
452
|
+
const r = t[n];
|
|
453
|
+
i.push(r);
|
|
454
|
+
const o = r[s].toString(), c = this.getRecursionParentList(t, o);
|
|
455
|
+
this.isEmpty(c) || (i = i.concat(c));
|
|
456
|
+
}
|
|
457
|
+
return i;
|
|
458
|
+
}
|
|
459
|
+
static getListExistValue(t, e, s = "id") {
|
|
460
|
+
let i, n = -1;
|
|
461
|
+
return this.isEmpty(t) || t.forEach((r, o) => {
|
|
462
|
+
this.isExistJsonKey(r, s) && r[s].toString() === e.toString() && (i = this.getJsonClone(r), n = o);
|
|
463
|
+
}), n === -1 ? null : { info: i, inx: n };
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* 复制数组
|
|
467
|
+
* @param arr
|
|
468
|
+
* @returns {Array}
|
|
469
|
+
*/
|
|
470
|
+
static getArrClone(t) {
|
|
471
|
+
return this.isEmpty(t) ? [] : t.map((e) => e);
|
|
472
|
+
}
|
|
473
|
+
static getArrByList(t, e = "id") {
|
|
474
|
+
const s = [];
|
|
475
|
+
return this.isEmpty(t) || t.forEach((i) => {
|
|
476
|
+
this.isExistJsonKey(i, e) && s.push(i[e]);
|
|
477
|
+
}), s;
|
|
478
|
+
}
|
|
479
|
+
static getArrRemoveById(t, e) {
|
|
480
|
+
if (this.isEmpty(e))
|
|
481
|
+
return t;
|
|
482
|
+
const s = [], i = this.isArray(e) ? e : this.split(e.toString()), n = this.getArrConvertJson(i);
|
|
483
|
+
return t.forEach((r) => {
|
|
484
|
+
this.isExistJsonKey(n, r.toString()) || s.push(r);
|
|
485
|
+
}), s;
|
|
486
|
+
}
|
|
487
|
+
static getArrByMinMax(t = 1, e) {
|
|
488
|
+
const s = [];
|
|
489
|
+
for (let i = t; i <= e; i += 1)
|
|
490
|
+
s.push(i);
|
|
491
|
+
return s;
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* 数组去重
|
|
495
|
+
* @param arr
|
|
496
|
+
* @returns
|
|
497
|
+
*/
|
|
498
|
+
static getArrUnique(t) {
|
|
499
|
+
const e = [];
|
|
500
|
+
if (t.length > 0) {
|
|
501
|
+
const s = {};
|
|
502
|
+
let i = null;
|
|
503
|
+
for (let n = 0; n < t.length; n += 1)
|
|
504
|
+
i = t[n], i !== null && !s[i] && (e.push(i), s[i] = !0);
|
|
505
|
+
}
|
|
506
|
+
return e;
|
|
507
|
+
}
|
|
508
|
+
static getArrConvertJson(t) {
|
|
509
|
+
const e = {};
|
|
510
|
+
return t.forEach((s) => {
|
|
511
|
+
e[s.toString()] = !0;
|
|
512
|
+
}), e;
|
|
513
|
+
}
|
|
514
|
+
// //数组排序
|
|
515
|
+
static getArrAsc(t, e) {
|
|
516
|
+
let s;
|
|
517
|
+
switch (e) {
|
|
518
|
+
case "date":
|
|
519
|
+
s = (i, n) => Date.parse(i) - Date.parse(n);
|
|
520
|
+
break;
|
|
521
|
+
case "number":
|
|
522
|
+
s = (i, n) => i - n;
|
|
523
|
+
break;
|
|
524
|
+
default:
|
|
525
|
+
s = (i, n) => this._arrSortString(i.toString(), n.toString());
|
|
526
|
+
}
|
|
527
|
+
return t.sort(s);
|
|
528
|
+
}
|
|
529
|
+
static getArrDesc(t, e) {
|
|
530
|
+
let s;
|
|
531
|
+
switch (e) {
|
|
532
|
+
case "date":
|
|
533
|
+
s = (i, n) => Date.parse(n) - Date.parse(i);
|
|
534
|
+
break;
|
|
535
|
+
case "number":
|
|
536
|
+
s = (i, n) => n - i;
|
|
537
|
+
break;
|
|
538
|
+
default:
|
|
539
|
+
s = (i, n) => this._arrSortString(n.toString(), i.toString());
|
|
540
|
+
}
|
|
541
|
+
return t.sort(s);
|
|
542
|
+
}
|
|
543
|
+
static _arrSortString(t, e) {
|
|
544
|
+
let s = 0;
|
|
545
|
+
for (let i = 0; ; i++) {
|
|
546
|
+
if (!t[i] || !e[i]) {
|
|
547
|
+
s = t.length - e.length;
|
|
548
|
+
break;
|
|
549
|
+
}
|
|
550
|
+
const n = t[i], r = this._getChartType(n), o = e[i], c = this._getChartType(o);
|
|
551
|
+
if (r[0] === c[0]) {
|
|
552
|
+
if (n === o)
|
|
553
|
+
continue;
|
|
554
|
+
r[0] === "zh" ? s = n.localeCompare(o) : r[0] === "en" ? s = n.charCodeAt(0) - o.charCodeAt(0) : s = n - o;
|
|
555
|
+
break;
|
|
556
|
+
} else {
|
|
557
|
+
s = r[1] - c[1];
|
|
558
|
+
break;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
return s;
|
|
562
|
+
}
|
|
563
|
+
static _getChartType(t) {
|
|
564
|
+
return /^[0-9]$/.test(t) ? ["number", 100] : /^[a-zA-Z]$/.test(t) ? ["en", 200] : /^[\u4e00-\u9fa5]$/.test(t) ? ["zh", 300] : ["others", 999];
|
|
565
|
+
}
|
|
566
|
+
static getZeroCount(t) {
|
|
567
|
+
if (t <= 0)
|
|
568
|
+
return "";
|
|
569
|
+
const e = [];
|
|
570
|
+
for (let s = 0; s < t; s += 1)
|
|
571
|
+
e.push("0");
|
|
572
|
+
return e.join("");
|
|
573
|
+
}
|
|
574
|
+
/** 补全零 */
|
|
575
|
+
static getFillZero(t, e = 2, s = "l") {
|
|
576
|
+
const i = this.getZeroCount(e), n = this.isEmpty(t) ? "" : t.toString();
|
|
577
|
+
let r = "", o = "";
|
|
578
|
+
return s === "l" ? (r = i + n, o = r.substring(r.length - e)) : (r = n.toString() + i, o = r.substring(0, e)), o;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* 获取随机数
|
|
582
|
+
* @param {number} len
|
|
583
|
+
* @returns {any}
|
|
584
|
+
*/
|
|
585
|
+
static getRandom(t = 3) {
|
|
586
|
+
const e = t > 0 ? t : 1;
|
|
587
|
+
let s = Math.random();
|
|
588
|
+
return s = Math.ceil(s * 10 ** (e - 1)), this.getFillZero(s, t, "r");
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* 指定范围获取随机数
|
|
592
|
+
* @param {number} min
|
|
593
|
+
* @param {number} max
|
|
594
|
+
* @returns {number}
|
|
595
|
+
*/
|
|
596
|
+
static getRandomRange(t, e, s = !0) {
|
|
597
|
+
const i = e - t, n = Math.random();
|
|
598
|
+
return t + (s ? Math.round(i * n) : i * n);
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* 验证码
|
|
602
|
+
*/
|
|
603
|
+
static getCaptcha(t = 6) {
|
|
604
|
+
const e = "0123456789";
|
|
605
|
+
let s = "";
|
|
606
|
+
for (let i = 0; i < t; i++)
|
|
607
|
+
s += e.charAt(Math.floor(Math.random() * e.length));
|
|
608
|
+
return s;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* 字符串格式化(int float2)
|
|
612
|
+
* @param value
|
|
613
|
+
* @param type num int float float2 float3 date dateTime time string intArray
|
|
614
|
+
*/
|
|
615
|
+
static getValueByFormat(t, e, s = {}) {
|
|
616
|
+
let i;
|
|
617
|
+
switch (e) {
|
|
618
|
+
case "num":
|
|
619
|
+
case "int":
|
|
620
|
+
case "float":
|
|
621
|
+
case "float2":
|
|
622
|
+
case "float3":
|
|
623
|
+
case "number": {
|
|
624
|
+
if (this.isNumber(t))
|
|
625
|
+
if (this.isEmpty(t))
|
|
626
|
+
i = (this.isBoolean(s.isEmptyDefault) ? s.isEmptyDefault : !0) ? "0" : t;
|
|
627
|
+
else {
|
|
628
|
+
let n = t.toString();
|
|
629
|
+
if (n = this.isExistValue(n, ",") ? this.removeReplace(n) : n, e === "number")
|
|
630
|
+
i = Number(n);
|
|
631
|
+
else {
|
|
632
|
+
let r = 0;
|
|
633
|
+
if (e === "num" ? r = this.isExistValue(n, ".") ? 2 : 0 : e === "int" ? r = 0 : e === "float" ? this.isNumber(s.decimalNum) && (r = parseInt(s.decimalNum)) : e === "float2" ? r = 2 : e === "float3" && (r = 3), this.isBoolean(s.isRounding) ? s.isRounding : !0)
|
|
634
|
+
i = parseFloat(n).toFixed(r);
|
|
635
|
+
else if (r > 0) {
|
|
636
|
+
const a = n.split("."), l = a[1].length;
|
|
637
|
+
i = a[0] + "." + a[1].substring(0, l > r ? r : l);
|
|
638
|
+
} else
|
|
639
|
+
i = parseInt(n).toString();
|
|
640
|
+
i = Number(i).toFixed(r), (this.isBoolean(s.isThousands) ? s.isThousands : !0) && (i = this.getFormatThousands(i));
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
else
|
|
644
|
+
i = t;
|
|
645
|
+
break;
|
|
646
|
+
}
|
|
647
|
+
case "date":
|
|
648
|
+
case "dateTime":
|
|
649
|
+
case "time": {
|
|
650
|
+
if (this.isEmpty(t))
|
|
651
|
+
i = t;
|
|
652
|
+
else {
|
|
653
|
+
let n = "";
|
|
654
|
+
this.isEmpty(s.dateFormat) ? e === "dateTime" ? n = "YYYY-MM-DD HH:mm:ss" : e === "time" ? n = "HH:mm:ss" : n = "YYYY-MM-DD" : n = s.dateFormat;
|
|
655
|
+
const r = J[e];
|
|
656
|
+
r ? i = r(t, n) : i = t;
|
|
657
|
+
}
|
|
658
|
+
break;
|
|
659
|
+
}
|
|
660
|
+
case "string":
|
|
661
|
+
i = t.toString();
|
|
662
|
+
break;
|
|
663
|
+
case "intArray":
|
|
664
|
+
i = t.split(",").map((n) => parseInt(n));
|
|
665
|
+
break;
|
|
666
|
+
default:
|
|
667
|
+
i = t;
|
|
668
|
+
}
|
|
669
|
+
return i;
|
|
670
|
+
}
|
|
671
|
+
/**
|
|
672
|
+
* 小时格式
|
|
673
|
+
* @param start 开始
|
|
674
|
+
* @param end 结束
|
|
675
|
+
* @returns 格式: 01:00-02:59
|
|
676
|
+
*/
|
|
677
|
+
static getHourInterval(t, e = "") {
|
|
678
|
+
const s = this.isEmpty(e) ? t : e;
|
|
679
|
+
return `${this.getFillZero(t)}:00-${this.getFillZero(s)}:59`;
|
|
680
|
+
}
|
|
681
|
+
/** 转化千分位 */
|
|
682
|
+
static getFormatThousands(t) {
|
|
683
|
+
if (!this.isNumber(t))
|
|
684
|
+
return "";
|
|
685
|
+
const e = this.split(t.toString(), ".");
|
|
686
|
+
return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g, "$1,") + (e.length > 1 ? `.${e[1]}` : "");
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* 指定位 数字加一,位之后零补充
|
|
690
|
+
* @param value 值
|
|
691
|
+
* @param opt inxPos(第几位 默认第二位) isCeil(最后数字是否ceil) isRounding(是否四舍五入,优先isCeil) isEndFive (最后数字是否5/0)
|
|
692
|
+
* @returns
|
|
693
|
+
*/
|
|
694
|
+
static getNumCeil(t, e = {}) {
|
|
695
|
+
if (!this.isNumber(t))
|
|
696
|
+
return 0;
|
|
697
|
+
const s = Number(t), i = s < 0, n = Math.abs(s);
|
|
698
|
+
if (n === 0)
|
|
699
|
+
return 0;
|
|
700
|
+
const r = n < 1;
|
|
701
|
+
let o = 0, c = n.toString(), a = -1;
|
|
702
|
+
if (r) {
|
|
703
|
+
if (a = -1, n > 0) {
|
|
704
|
+
const d = c.split(".")[1];
|
|
705
|
+
c = Number(d).toString(), o = d.length - c.length;
|
|
706
|
+
}
|
|
707
|
+
} else
|
|
708
|
+
o = 0, a = c.indexOf("."), a > -1 && (c = c.replace(".", ""));
|
|
709
|
+
const l = this.isBoolean(e.isCeil) ? e.isCeil : !0, h = this.isUndefined(e.inxPos) ? 2 : parseInt(e.inxPos), b = this.isBoolean(e.isEndFive) ? e.isEndFive : !1, f = this.isBoolean(e.isRounding) ? e.isRounding : !1;
|
|
710
|
+
let g, p = "";
|
|
711
|
+
h < c.length ? (g = c.substring(0, h), p = c.substring(h)) : g = c;
|
|
712
|
+
let u = "";
|
|
713
|
+
const m = l || f && p.length > 0 && parseInt(p.substring(0, 1)) >= 5 ? (parseInt(g) + 1).toString() : parseInt(g).toString(), y = parseInt(m.substring(m.length - 1));
|
|
714
|
+
if (b)
|
|
715
|
+
if (y === 5 || y === 0)
|
|
716
|
+
u = m;
|
|
717
|
+
else {
|
|
718
|
+
const d = parseInt(m.substring(0, h - 1));
|
|
719
|
+
y > 5 ? u = `${d + 1}0` : y < 5 && (u = `${d}5`), m.length > h && u.length === h && (u = `${u}0`);
|
|
720
|
+
}
|
|
721
|
+
else
|
|
722
|
+
u = m;
|
|
723
|
+
let w = "", E = 0;
|
|
724
|
+
a === -1 ? E = p.length : a < h ? (E = 0, u = (Number(u) / ((h - a) * 10)).toString()) : a > h && (E = a - h), w = this.getZeroCount(E), r && (u = `0.${this.getZeroCount(o)}${u}`);
|
|
725
|
+
const C = u + w;
|
|
726
|
+
return Number(C) * (i ? -1 : 1);
|
|
727
|
+
}
|
|
728
|
+
static removeReplace(t, e = ",") {
|
|
729
|
+
if (this.isUndefined(t))
|
|
730
|
+
return "";
|
|
731
|
+
const s = new RegExp(`[${e}]`, "g");
|
|
732
|
+
return t.toString().replace(s, "");
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* 转换空为零
|
|
736
|
+
* @param json
|
|
737
|
+
* @param mapKey
|
|
738
|
+
* @param optExt
|
|
739
|
+
* @returns
|
|
740
|
+
*/
|
|
741
|
+
static conversionEmptyZero(t, e, s) {
|
|
742
|
+
const i = t;
|
|
743
|
+
if (!this.isEmpty(e)) {
|
|
744
|
+
let n = 0, r = 0;
|
|
745
|
+
if (s) {
|
|
746
|
+
let o = {};
|
|
747
|
+
this.isString(s) ? o.emptyDef = s : this.isObject(s) && (o = s);
|
|
748
|
+
const c = this.isEmpty(o.undefinedDef);
|
|
749
|
+
c || (r = o.undefinedDef), this.isEmpty(o.emptyDef) || (n = o.emptyDef, c && (r = o.emptyDef));
|
|
750
|
+
}
|
|
751
|
+
e.forEach((o) => {
|
|
752
|
+
this.isEmpty(t[o]) && (this.isUndefined(t[o]) ? i[o] = r : i[o] = n);
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
return i;
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* 转换百分比
|
|
759
|
+
* @param {any} json
|
|
760
|
+
* @param {string[]} mapKey
|
|
761
|
+
*/
|
|
762
|
+
static conversionPercentage(t, e, s = !0) {
|
|
763
|
+
const i = t;
|
|
764
|
+
return this.isEmpty(e) || e.forEach((n) => {
|
|
765
|
+
const r = t[n];
|
|
766
|
+
this.isEmpty(r) ? i[n] = 0 : this.isNumber(r) ? i[n] = s ? r * 100 : r / 100 : i[n] = r;
|
|
767
|
+
}), i;
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* 转换格式化的字符串
|
|
771
|
+
* @param {string} strFormat
|
|
772
|
+
* @param {any} json
|
|
773
|
+
* @returns {string}
|
|
774
|
+
*/
|
|
775
|
+
static convertStringFormat(t, e) {
|
|
776
|
+
let s = t;
|
|
777
|
+
return this.isEmpty(e) || (s = t.replace(/[$]{[^}]+}/g, (i) => {
|
|
778
|
+
const n = i.replace("${", "").replace("}", "");
|
|
779
|
+
return this.isExistJsonKey(e, n) ? e[n] : i;
|
|
780
|
+
})), s;
|
|
781
|
+
}
|
|
782
|
+
static getQueryString(t, e) {
|
|
783
|
+
const s = new RegExp(`(^|&)${e}=([^&]*)(&|$)`, "i"), i = t.substring(t.indexOf("?") + 1).match(s);
|
|
784
|
+
return i !== null ? decodeURI(i[2]) : "";
|
|
785
|
+
}
|
|
786
|
+
static getQueryStringByHash(t) {
|
|
787
|
+
return this.getQueryString(window.location.hash, t);
|
|
788
|
+
}
|
|
789
|
+
static encodeHTML(t) {
|
|
790
|
+
return String(t).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
791
|
+
}
|
|
792
|
+
static removeHTMLTags(t) {
|
|
793
|
+
return t.replace(/<[^>]*>/g, "");
|
|
794
|
+
}
|
|
795
|
+
static requestAnimationFrame(t) {
|
|
796
|
+
const e = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame;
|
|
797
|
+
return e ? e.call(window, t) : window.setTimeout(t, 1e3 / 60);
|
|
798
|
+
}
|
|
799
|
+
static cancelAnimationFrame(t) {
|
|
800
|
+
const e = window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || window.oCancelAnimationFrame || window.msCancelAnimationFrame;
|
|
801
|
+
e ? e.call(window, t) : window.clearTimeout(t);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
export {
|
|
805
|
+
x as C,
|
|
806
|
+
A as r
|
|
807
|
+
};
|
|
808
|
+
//# sourceMappingURL=base-PQGakkrl.js.map
|