@cldemo/ui-kit 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/buildLibs/all/index.cjs +0 -99
- package/buildLibs/all/index.cjs.map +0 -1
- package/buildLibs/all/index.d.ts +0 -83
- package/buildLibs/all/index.js +0 -168
- package/buildLibs/all/index.js.map +0 -1
- package/buildLibs/common/Element/Event/drag.d.ts +0 -24
- package/buildLibs/common/Element/Event/index.d.ts +0 -9
- package/buildLibs/common/Element/Event/resize.d.ts +0 -20
- package/buildLibs/common/Element/index.d.ts +0 -104
- package/buildLibs/common/Element_Event_drag-DeZYlveu.js +0 -430
- package/buildLibs/common/Element_Event_drag-DeZYlveu.js.map +0 -1
- package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs +0 -3
- package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs.map +0 -1
- package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs +0 -2
- package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs.map +0 -1
- package/buildLibs/common/Element_Event_resize-DqH_UT2k.js +0 -49
- package/buildLibs/common/Element_Event_resize-DqH_UT2k.js.map +0 -1
- package/buildLibs/common/Tools/animateEasing.d.ts +0 -27
- package/buildLibs/common/Tools/cookie.d.ts +0 -8
- package/buildLibs/common/Tools/delayFun.d.ts +0 -9
- package/buildLibs/common/Tools/index.d.ts +0 -15
- package/buildLibs/common/Tools/localStorage.d.ts +0 -9
- package/buildLibs/common/Tools/number.d.ts +0 -8
- package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs +0 -2
- package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs.map +0 -1
- package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js +0 -50
- package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js.map +0 -1
- package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs +0 -2
- package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs.map +0 -1
- package/buildLibs/common/Tools_cookie-DKctMXdK.js +0 -31
- package/buildLibs/common/Tools_cookie-DKctMXdK.js.map +0 -1
- package/buildLibs/common/Tools_delayFun-CA1ktv1L.js +0 -21
- package/buildLibs/common/Tools_delayFun-CA1ktv1L.js.map +0 -1
- package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs +0 -2
- package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs.map +0 -1
- package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs +0 -2
- package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs.map +0 -1
- package/buildLibs/common/Tools_localStorage-DVvhtzhL.js +0 -48
- package/buildLibs/common/Tools_localStorage-DVvhtzhL.js.map +0 -1
- package/buildLibs/common/Tools_number-Bh6hGO5U.cjs +0 -2
- package/buildLibs/common/Tools_number-Bh6hGO5U.cjs.map +0 -1
- package/buildLibs/common/Tools_number-C_MjN473.js +0 -22
- package/buildLibs/common/Tools_number-C_MjN473.js.map +0 -1
- package/buildLibs/common/axios-DZoeNi6y.cjs +0 -2
- package/buildLibs/common/axios-DZoeNi6y.cjs.map +0 -1
- package/buildLibs/common/axios-DqkFEq4Y.js +0 -242
- package/buildLibs/common/axios-DqkFEq4Y.js.map +0 -1
- package/buildLibs/common/axios.d.ts +0 -28
- package/buildLibs/common/base-PQGakkrl.js +0 -808
- package/buildLibs/common/base-PQGakkrl.js.map +0 -1
- package/buildLibs/common/base-iCmnU-fv.cjs +0 -2
- package/buildLibs/common/base-iCmnU-fv.cjs.map +0 -1
- package/buildLibs/common/base.d.ts +0 -222
- package/buildLibs/common/day-BzMalBXj.cjs +0 -2
- package/buildLibs/common/day-BzMalBXj.cjs.map +0 -1
- package/buildLibs/common/day-Dm_AnEZp.js +0 -75
- package/buildLibs/common/day-Dm_AnEZp.js.map +0 -1
- package/buildLibs/common/day.d.ts +0 -25
- package/buildLibs/common/echart-BtfUJ8lE.js +0 -498
- package/buildLibs/common/echart-BtfUJ8lE.js.map +0 -1
- package/buildLibs/common/echart-Cs3rQ-e9.cjs +0 -2
- package/buildLibs/common/echart-Cs3rQ-e9.cjs.map +0 -1
- package/buildLibs/common/echart.d.ts +0 -82
- package/buildLibs/common/i18n/en.d.ts +0 -111
- package/buildLibs/common/i18n/index.d.ts +0 -25
- package/buildLibs/common/i18n/zh_CN.d.ts +0 -111
- package/buildLibs/common/i18n_en-BHhFEbi6.js +0 -114
- package/buildLibs/common/i18n_en-BHhFEbi6.js.map +0 -1
- package/buildLibs/common/i18n_en-D-5antzy.cjs +0 -2
- package/buildLibs/common/i18n_en-D-5antzy.cjs.map +0 -1
- package/buildLibs/common/i18n_zh_CN-COzQ8Los.js +0 -114
- package/buildLibs/common/i18n_zh_CN-COzQ8Los.js.map +0 -1
- package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs +0 -2
- package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs.map +0 -1
- package/buildLibs/common/index.cjs +0 -2
- package/buildLibs/common/index.cjs.map +0 -1
- package/buildLibs/common/index.d.ts +0 -10
- package/buildLibs/common/index.js +0 -124
- package/buildLibs/common/index.js.map +0 -1
- package/buildLibs/common/promise-BtoePzHD.cjs +0 -2
- package/buildLibs/common/promise-BtoePzHD.cjs.map +0 -1
- package/buildLibs/common/promise-CPiVqqqL.js +0 -44
- package/buildLibs/common/promise-CPiVqqqL.js.map +0 -1
- package/buildLibs/common/promise.d.ts +0 -14
- package/buildLibs/common/tooltip-De0atcAJ.js +0 -215
- package/buildLibs/common/tooltip-De0atcAJ.js.map +0 -1
- package/buildLibs/common/tooltip-Dj_ol2ax.cjs +0 -2
- package/buildLibs/common/tooltip-Dj_ol2ax.cjs.map +0 -1
- package/buildLibs/common/tooltip.d.ts +0 -37
- package/buildLibs/mobile/index.cjs +0 -56
- package/buildLibs/mobile/index.cjs.map +0 -1
- package/buildLibs/mobile/index.d.ts +0 -47
- package/buildLibs/mobile/index.js +0 -96
- package/buildLibs/mobile/index.js.map +0 -1
- package/buildLibs/resolver/index.cjs +0 -2
- package/buildLibs/resolver/index.cjs.map +0 -1
- package/buildLibs/resolver/index.js +0 -82
- package/buildLibs/resolver/index.js.map +0 -1
- package/buildLibs/resolver/resolver.d.ts +0 -7
- package/buildLibs/utils/Element/ClAnchorNav.cjs +0 -2
- package/buildLibs/utils/Element/ClAnchorNav.cjs.map +0 -1
- package/buildLibs/utils/Element/ClAnchorNav.css +0 -1
- package/buildLibs/utils/Element/ClAnchorNav.d.ts +0 -3
- package/buildLibs/utils/Element/ClAnchorNav.js +0 -55
- package/buildLibs/utils/Element/ClAnchorNav.js.map +0 -1
- package/buildLibs/utils/Element/ClBadge.cjs +0 -2
- package/buildLibs/utils/Element/ClBadge.cjs.map +0 -1
- package/buildLibs/utils/Element/ClBadge.d.ts +0 -3
- package/buildLibs/utils/Element/ClBadge.js +0 -5
- package/buildLibs/utils/Element/ClBadge.js.map +0 -1
- package/buildLibs/utils/Element/ClButton.cjs +0 -2
- package/buildLibs/utils/Element/ClButton.cjs.map +0 -1
- package/buildLibs/utils/Element/ClButton.css +0 -1
- package/buildLibs/utils/Element/ClButton.d.ts +0 -3
- package/buildLibs/utils/Element/ClButton.js +0 -226
- package/buildLibs/utils/Element/ClButton.js.map +0 -1
- package/buildLibs/utils/Element/ClCheckbox.cjs +0 -2
- package/buildLibs/utils/Element/ClCheckbox.cjs.map +0 -1
- package/buildLibs/utils/Element/ClCheckbox.d.ts +0 -3
- package/buildLibs/utils/Element/ClCheckbox.js +0 -205
- package/buildLibs/utils/Element/ClCheckbox.js.map +0 -1
- package/buildLibs/utils/Element/ClCheckboxOne.d.ts +0 -3
- package/buildLibs/utils/Element/ClClipboard.cjs +0 -2
- package/buildLibs/utils/Element/ClClipboard.cjs.map +0 -1
- package/buildLibs/utils/Element/ClClipboard.d.ts +0 -3
- package/buildLibs/utils/Element/ClClipboard.js +0 -5
- package/buildLibs/utils/Element/ClClipboard.js.map +0 -1
- package/buildLibs/utils/Element/ClCountup.cjs +0 -2
- package/buildLibs/utils/Element/ClCountup.cjs.map +0 -1
- package/buildLibs/utils/Element/ClCountup.d.ts +0 -3
- package/buildLibs/utils/Element/ClCountup.js +0 -56
- package/buildLibs/utils/Element/ClCountup.js.map +0 -1
- package/buildLibs/utils/Element/ClCropper.cjs +0 -2
- package/buildLibs/utils/Element/ClCropper.cjs.map +0 -1
- package/buildLibs/utils/Element/ClCropper.d.ts +0 -3
- package/buildLibs/utils/Element/ClCropper.js +0 -5
- package/buildLibs/utils/Element/ClCropper.js.map +0 -1
- package/buildLibs/utils/Element/ClCropperPreview.css +0 -1
- package/buildLibs/utils/Element/ClDarg.cjs +0 -7
- package/buildLibs/utils/Element/ClDarg.cjs.map +0 -1
- package/buildLibs/utils/Element/ClDarg.css +0 -1
- package/buildLibs/utils/Element/ClDarg.d.ts +0 -3
- package/buildLibs/utils/Element/ClDarg.js +0 -1554
- package/buildLibs/utils/Element/ClDarg.js.map +0 -1
- package/buildLibs/utils/Element/ClEllipsis.cjs +0 -2
- package/buildLibs/utils/Element/ClEllipsis.cjs.map +0 -1
- package/buildLibs/utils/Element/ClEllipsis.css +0 -1
- package/buildLibs/utils/Element/ClEllipsis.d.ts +0 -3
- package/buildLibs/utils/Element/ClEllipsis.js +0 -99
- package/buildLibs/utils/Element/ClEllipsis.js.map +0 -1
- package/buildLibs/utils/Element/ClForm.cjs +0 -2
- package/buildLibs/utils/Element/ClForm.cjs.map +0 -1
- package/buildLibs/utils/Element/ClForm.css +0 -1
- package/buildLibs/utils/Element/ClForm.d.ts +0 -3
- package/buildLibs/utils/Element/ClForm.js +0 -139
- package/buildLibs/utils/Element/ClForm.js.map +0 -1
- package/buildLibs/utils/Element/ClFormGroup.cjs +0 -2
- package/buildLibs/utils/Element/ClFormGroup.cjs.map +0 -1
- package/buildLibs/utils/Element/ClFormGroup.css +0 -1
- package/buildLibs/utils/Element/ClFormGroup.d.ts +0 -3
- package/buildLibs/utils/Element/ClFormGroup.js +0 -76
- package/buildLibs/utils/Element/ClFormGroup.js.map +0 -1
- package/buildLibs/utils/Element/ClFormValidate.d.ts +0 -3
- package/buildLibs/utils/Element/ClIconFont.cjs +0 -2
- package/buildLibs/utils/Element/ClIconFont.cjs.map +0 -1
- package/buildLibs/utils/Element/ClIconFont.d.ts +0 -3
- package/buildLibs/utils/Element/ClIconFont.js +0 -5
- package/buildLibs/utils/Element/ClIconFont.js.map +0 -1
- package/buildLibs/utils/Element/ClImage.cjs +0 -2
- package/buildLibs/utils/Element/ClImage.cjs.map +0 -1
- package/buildLibs/utils/Element/ClImage.css +0 -1
- package/buildLibs/utils/Element/ClImage.d.ts +0 -3
- package/buildLibs/utils/Element/ClImage.js +0 -195
- package/buildLibs/utils/Element/ClImage.js.map +0 -1
- package/buildLibs/utils/Element/ClInput.cjs +0 -2
- package/buildLibs/utils/Element/ClInput.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInput.d.ts +0 -3
- package/buildLibs/utils/Element/ClInput.js +0 -5
- package/buildLibs/utils/Element/ClInput.js.map +0 -1
- package/buildLibs/utils/Element/ClInputCaptcha.cjs +0 -2
- package/buildLibs/utils/Element/ClInputCaptcha.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInputCaptcha.css +0 -1
- package/buildLibs/utils/Element/ClInputCaptcha.d.ts +0 -3
- package/buildLibs/utils/Element/ClInputCaptcha.js +0 -111
- package/buildLibs/utils/Element/ClInputCaptcha.js.map +0 -1
- package/buildLibs/utils/Element/ClInputNumber.cjs +0 -2
- package/buildLibs/utils/Element/ClInputNumber.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInputNumber.d.ts +0 -3
- package/buildLibs/utils/Element/ClInputNumber.js +0 -5
- package/buildLibs/utils/Element/ClInputNumber.js.map +0 -1
- package/buildLibs/utils/Element/ClInputSearch.cjs +0 -2
- package/buildLibs/utils/Element/ClInputSearch.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInputSearch.d.ts +0 -3
- package/buildLibs/utils/Element/ClInputSearch.js +0 -5
- package/buildLibs/utils/Element/ClInputSearch.js.map +0 -1
- package/buildLibs/utils/Element/ClInputTag.css +0 -1
- package/buildLibs/utils/Element/ClInputTextarea.cjs +0 -2
- package/buildLibs/utils/Element/ClInputTextarea.cjs.map +0 -1
- package/buildLibs/utils/Element/ClInputTextarea.d.ts +0 -3
- package/buildLibs/utils/Element/ClInputTextarea.js +0 -5
- package/buildLibs/utils/Element/ClInputTextarea.js.map +0 -1
- package/buildLibs/utils/Element/ClInputnumberButton.d.ts +0 -3
- package/buildLibs/utils/Element/ClLink.cjs +0 -2
- package/buildLibs/utils/Element/ClLink.cjs.map +0 -1
- package/buildLibs/utils/Element/ClLink.d.ts +0 -3
- package/buildLibs/utils/Element/ClLink.js +0 -5
- package/buildLibs/utils/Element/ClLink.js.map +0 -1
- package/buildLibs/utils/Element/ClLoad.cjs +0 -2
- package/buildLibs/utils/Element/ClLoad.cjs.map +0 -1
- package/buildLibs/utils/Element/ClLoad.d.ts +0 -3
- package/buildLibs/utils/Element/ClLoad.js +0 -5
- package/buildLibs/utils/Element/ClLoad.js.map +0 -1
- package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +0 -3
- package/buildLibs/utils/Element/ClLoadIng.d.ts +0 -3
- package/buildLibs/utils/Element/ClLoadScreen.cjs +0 -2
- package/buildLibs/utils/Element/ClLoadScreen.cjs.map +0 -1
- package/buildLibs/utils/Element/ClLoadScreen.d.ts +0 -3
- package/buildLibs/utils/Element/ClLoadScreen.js +0 -5
- package/buildLibs/utils/Element/ClLoadScreen.js.map +0 -1
- package/buildLibs/utils/Element/ClLoadWarp.d.ts +0 -3
- package/buildLibs/utils/Element/ClModal.cjs +0 -2
- package/buildLibs/utils/Element/ClModal.cjs.map +0 -1
- package/buildLibs/utils/Element/ClModal.d.ts +0 -3
- package/buildLibs/utils/Element/ClModal.js +0 -5
- package/buildLibs/utils/Element/ClModal.js.map +0 -1
- package/buildLibs/utils/Element/ClProgress.cjs +0 -2
- package/buildLibs/utils/Element/ClProgress.cjs.map +0 -1
- package/buildLibs/utils/Element/ClProgress.css +0 -1
- package/buildLibs/utils/Element/ClProgress.d.ts +0 -3
- package/buildLibs/utils/Element/ClProgress.js +0 -219
- package/buildLibs/utils/Element/ClProgress.js.map +0 -1
- package/buildLibs/utils/Element/ClRadio.cjs +0 -2
- package/buildLibs/utils/Element/ClRadio.cjs.map +0 -1
- package/buildLibs/utils/Element/ClRadio.d.ts +0 -3
- package/buildLibs/utils/Element/ClRadio.js +0 -176
- package/buildLibs/utils/Element/ClRadio.js.map +0 -1
- package/buildLibs/utils/Element/ClRadioOne.d.ts +0 -3
- package/buildLibs/utils/Element/ClSlider.cjs +0 -2
- package/buildLibs/utils/Element/ClSlider.cjs.map +0 -1
- package/buildLibs/utils/Element/ClSlider.css +0 -1
- package/buildLibs/utils/Element/ClSlider.d.ts +0 -3
- package/buildLibs/utils/Element/ClSlider.js +0 -721
- package/buildLibs/utils/Element/ClSlider.js.map +0 -1
- package/buildLibs/utils/Element/ClSwitchery.cjs +0 -2
- package/buildLibs/utils/Element/ClSwitchery.cjs.map +0 -1
- package/buildLibs/utils/Element/ClSwitchery.css +0 -1
- package/buildLibs/utils/Element/ClSwitchery.d.ts +0 -3
- package/buildLibs/utils/Element/ClSwitchery.js +0 -429
- package/buildLibs/utils/Element/ClSwitchery.js.map +0 -1
- package/buildLibs/utils/Element/ClTags.cjs +0 -2
- package/buildLibs/utils/Element/ClTags.cjs.map +0 -1
- package/buildLibs/utils/Element/ClTags.d.ts +0 -3
- package/buildLibs/utils/Element/ClTags.js +0 -5
- package/buildLibs/utils/Element/ClTags.js.map +0 -1
- package/buildLibs/utils/Element/ClTransitionSlideupdown.d.ts +0 -3
- package/buildLibs/utils/Element/ClWaterfall.cjs +0 -2
- package/buildLibs/utils/Element/ClWaterfall.cjs.map +0 -1
- package/buildLibs/utils/Element/ClWaterfall.css +0 -1
- package/buildLibs/utils/Element/ClWaterfall.d.ts +0 -3
- package/buildLibs/utils/Element/ClWaterfall.js +0 -167
- package/buildLibs/utils/Element/ClWaterfall.js.map +0 -1
- package/buildLibs/utils/Element/ClWaterfallImage.d.ts +0 -3
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs +0 -2
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs.map +0 -1
- package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +0 -2
- package/buildLibs/utils/Element/__provide__/Clipboard.js +0 -62
- package/buildLibs/utils/Element/__provide__/Clipboard.js.map +0 -1
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +0 -2
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs.map +0 -1
- package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +0 -2
- package/buildLibs/utils/Element/__provide__/LoadScreen.js +0 -17
- package/buildLibs/utils/Element/__provide__/LoadScreen.js.map +0 -1
- package/buildLibs/utils/Element/__provide__/languagePack.cjs +0 -2
- package/buildLibs/utils/Element/__provide__/languagePack.cjs.map +0 -1
- package/buildLibs/utils/Element/__provide__/languagePack.d.ts +0 -2
- package/buildLibs/utils/Element/__provide__/languagePack.js +0 -29
- package/buildLibs/utils/Element/__provide__/languagePack.js.map +0 -1
- package/buildLibs/utils/Mobile/ClCell.cjs +0 -2
- package/buildLibs/utils/Mobile/ClCell.cjs.map +0 -1
- package/buildLibs/utils/Mobile/ClCell.css +0 -1
- package/buildLibs/utils/Mobile/ClCell.d.ts +0 -3
- package/buildLibs/utils/Mobile/ClCell.js +0 -130
- package/buildLibs/utils/Mobile/ClCell.js.map +0 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +0 -2
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs.map +0 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.css +0 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +0 -3
- package/buildLibs/utils/Mobile/ClPullToRefresh.js +0 -195
- package/buildLibs/utils/Mobile/ClPullToRefresh.js.map +0 -1
- package/buildLibs/utils/Shared/Alert.css +0 -1
- package/buildLibs/utils/Shared/Base.css +0 -1
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js +0 -2
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js.map +0 -1
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js +0 -354
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js.map +0 -1
- package/buildLibs/utils/Shared/BaseTransition.css +0 -1
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js +0 -2
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js.map +0 -1
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js +0 -121
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js.map +0 -1
- package/buildLibs/utils/Shared/Highlight.css +0 -1
- package/buildLibs/utils/Shared/Index.css +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js +0 -233
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js +0 -75
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js +0 -143
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js +0 -24
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js +0 -1146
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js +0 -336
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js +0 -165
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js +0 -168
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js +0 -70
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js +0 -84
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js +0 -98
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js +0 -342
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js +0 -166
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js +0 -384
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js +0 -462
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js +0 -593
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js +0 -54
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js +0 -144
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js.map +0 -1
- package/buildLibs/utils/Shared/Index10.css +0 -1
- package/buildLibs/utils/Shared/Index11.css +0 -1
- package/buildLibs/utils/Shared/Index12.css +0 -1
- package/buildLibs/utils/Shared/Index13.css +0 -1
- package/buildLibs/utils/Shared/Index14.css +0 -1
- package/buildLibs/utils/Shared/Index15.css +0 -1
- package/buildLibs/utils/Shared/Index16.css +0 -1
- package/buildLibs/utils/Shared/Index17.css +0 -1
- package/buildLibs/utils/Shared/Index18.css +0 -1
- package/buildLibs/utils/Shared/Index19.css +0 -1
- package/buildLibs/utils/Shared/Index2.css +0 -1
- package/buildLibs/utils/Shared/Index3.css +0 -1
- package/buildLibs/utils/Shared/Index4.css +0 -1
- package/buildLibs/utils/Shared/Index5.css +0 -1
- package/buildLibs/utils/Shared/Index6.css +0 -1
- package/buildLibs/utils/Shared/Index7.css +0 -1
- package/buildLibs/utils/Shared/Index8.css +0 -1
- package/buildLibs/utils/Shared/Index9.css +0 -1
- package/buildLibs/utils/Shared/Ing-C_3NkQxd.js +0 -43
- package/buildLibs/utils/Shared/Ing-C_3NkQxd.js.map +0 -1
- package/buildLibs/utils/Shared/Ing-D_cd5IxY.js +0 -2
- package/buildLibs/utils/Shared/Ing-D_cd5IxY.js.map +0 -1
- package/buildLibs/utils/Shared/Ing.css +0 -1
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js +0 -2
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js.map +0 -1
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js +0 -141
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js.map +0 -1
- package/buildLibs/utils/Shared/Notify.css +0 -1
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js +0 -87
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js.map +0 -1
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js +0 -2
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js.map +0 -1
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js +0 -109
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js.map +0 -1
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js +0 -2
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js.map +0 -1
- package/buildLibs/utils/Shared/Tooltip.css +0 -1
- package/buildLibs/utils/Shared/Waves.css +0 -7
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js +0 -2
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js.map +0 -1
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js +0 -10
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js.map +0 -1
- package/buildLibs/utils/Shared/base-PQGakkrl.js +0 -808
- package/buildLibs/utils/Shared/base-PQGakkrl.js.map +0 -1
- package/buildLibs/utils/Shared/base-iCmnU-fv.js +0 -2
- package/buildLibs/utils/Shared/base-iCmnU-fv.js.map +0 -1
- package/buildLibs/utils/Shared/day-Bz9LfelO.js +0 -75
- package/buildLibs/utils/Shared/day-Bz9LfelO.js.map +0 -1
- package/buildLibs/utils/Shared/day-CvcvgKjb.js +0 -2
- package/buildLibs/utils/Shared/day-CvcvgKjb.js.map +0 -1
- package/buildLibs/utils/Shared/drag-CzE5R222.js +0 -2
- package/buildLibs/utils/Shared/drag-CzE5R222.js.map +0 -1
- package/buildLibs/utils/Shared/drag-CzfhSB0g.js +0 -42
- package/buildLibs/utils/Shared/drag-CzfhSB0g.js.map +0 -1
- package/buildLibs/utils/Shared/index-BnerInzC.js +0 -432
- package/buildLibs/utils/Shared/index-BnerInzC.js.map +0 -1
- package/buildLibs/utils/Shared/index-C1R9HAvS.js +0 -320
- package/buildLibs/utils/Shared/index-C1R9HAvS.js.map +0 -1
- package/buildLibs/utils/Shared/index-CVBh8iTg.js +0 -2
- package/buildLibs/utils/Shared/index-CVBh8iTg.js.map +0 -1
- package/buildLibs/utils/Shared/index-Ul6uY51t.js +0 -3
- package/buildLibs/utils/Shared/index-Ul6uY51t.js.map +0 -1
- package/buildLibs/utils/Shared/language-D6gRWx8H.js +0 -2
- package/buildLibs/utils/Shared/language-D6gRWx8H.js.map +0 -1
- package/buildLibs/utils/Shared/language-DxTlvFs2.js +0 -18
- package/buildLibs/utils/Shared/language-DxTlvFs2.js.map +0 -1
- package/buildLibs/utils/Shared/resize-COkswDOq.js +0 -2
- package/buildLibs/utils/Shared/resize-COkswDOq.js.map +0 -1
- package/buildLibs/utils/Shared/resize-kOWxHVSP.js +0 -54
- package/buildLibs/utils/Shared/resize-kOWxHVSP.js.map +0 -1
- package/buildLibs/utils/Shared/vue-virtual-scroller.css +0 -1
- package/buildLibs/utils/Web/ClBreadcrumb.cjs +0 -2
- package/buildLibs/utils/Web/ClBreadcrumb.cjs.map +0 -1
- package/buildLibs/utils/Web/ClBreadcrumb.css +0 -1
- package/buildLibs/utils/Web/ClBreadcrumb.d.ts +0 -3
- package/buildLibs/utils/Web/ClBreadcrumb.js +0 -82
- package/buildLibs/utils/Web/ClBreadcrumb.js.map +0 -1
- package/buildLibs/utils/Web/ClCalendar.cjs +0 -2
- package/buildLibs/utils/Web/ClCalendar.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCalendar.css +0 -1
- package/buildLibs/utils/Web/ClCalendar.d.ts +0 -3
- package/buildLibs/utils/Web/ClCalendar.js +0 -179
- package/buildLibs/utils/Web/ClCalendar.js.map +0 -1
- package/buildLibs/utils/Web/ClCard.cjs +0 -2
- package/buildLibs/utils/Web/ClCard.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCard.d.ts +0 -3
- package/buildLibs/utils/Web/ClCard.js +0 -5
- package/buildLibs/utils/Web/ClCard.js.map +0 -1
- package/buildLibs/utils/Web/ClCardLegend.cjs +0 -2
- package/buildLibs/utils/Web/ClCardLegend.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCardLegend.css +0 -1
- package/buildLibs/utils/Web/ClCardLegend.d.ts +0 -3
- package/buildLibs/utils/Web/ClCardLegend.js +0 -128
- package/buildLibs/utils/Web/ClCardLegend.js.map +0 -1
- package/buildLibs/utils/Web/ClCollapse.cjs +0 -2
- package/buildLibs/utils/Web/ClCollapse.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCollapse.css +0 -1
- package/buildLibs/utils/Web/ClCollapse.d.ts +0 -3
- package/buildLibs/utils/Web/ClCollapse.js +0 -111
- package/buildLibs/utils/Web/ClCollapse.js.map +0 -1
- package/buildLibs/utils/Web/ClColorpicker.cjs +0 -2
- package/buildLibs/utils/Web/ClColorpicker.cjs.map +0 -1
- package/buildLibs/utils/Web/ClColorpicker.css +0 -1
- package/buildLibs/utils/Web/ClColorpicker.d.ts +0 -3
- package/buildLibs/utils/Web/ClColorpicker.js +0 -1130
- package/buildLibs/utils/Web/ClColorpicker.js.map +0 -1
- package/buildLibs/utils/Web/ClCropperPreview.cjs +0 -2
- package/buildLibs/utils/Web/ClCropperPreview.cjs.map +0 -1
- package/buildLibs/utils/Web/ClCropperPreview.d.ts +0 -3
- package/buildLibs/utils/Web/ClCropperPreview.js +0 -175
- package/buildLibs/utils/Web/ClCropperPreview.js.map +0 -1
- package/buildLibs/utils/Web/ClDatetime.cjs +0 -2
- package/buildLibs/utils/Web/ClDatetime.cjs.map +0 -1
- package/buildLibs/utils/Web/ClDatetime.css +0 -1
- package/buildLibs/utils/Web/ClDatetime.d.ts +0 -3
- package/buildLibs/utils/Web/ClDatetime.js +0 -2002
- package/buildLibs/utils/Web/ClDatetime.js.map +0 -1
- package/buildLibs/utils/Web/ClDropdownmenu.cjs +0 -2
- package/buildLibs/utils/Web/ClDropdownmenu.cjs.map +0 -1
- package/buildLibs/utils/Web/ClDropdownmenu.css +0 -1
- package/buildLibs/utils/Web/ClDropdownmenu.d.ts +0 -3
- package/buildLibs/utils/Web/ClDropdownmenu.js +0 -75
- package/buildLibs/utils/Web/ClDropdownmenu.js.map +0 -1
- package/buildLibs/utils/Web/ClDropdownmenuItem.d.ts +0 -3
- package/buildLibs/utils/Web/ClDropdownpopup.cjs +0 -2
- package/buildLibs/utils/Web/ClDropdownpopup.cjs.map +0 -1
- package/buildLibs/utils/Web/ClDropdownpopup.css +0 -1
- package/buildLibs/utils/Web/ClDropdownpopup.d.ts +0 -3
- package/buildLibs/utils/Web/ClDropdownpopup.js +0 -89
- package/buildLibs/utils/Web/ClDropdownpopup.js.map +0 -1
- package/buildLibs/utils/Web/ClEcharts.cjs +0 -2
- package/buildLibs/utils/Web/ClEcharts.cjs.map +0 -1
- package/buildLibs/utils/Web/ClEcharts.css +0 -1
- package/buildLibs/utils/Web/ClEcharts.d.ts +0 -3
- package/buildLibs/utils/Web/ClEcharts.js +0 -297
- package/buildLibs/utils/Web/ClEcharts.js.map +0 -1
- package/buildLibs/utils/Web/ClFileupload.cjs +0 -2
- package/buildLibs/utils/Web/ClFileupload.cjs.map +0 -1
- package/buildLibs/utils/Web/ClFileupload.d.ts +0 -3
- package/buildLibs/utils/Web/ClFileupload.js +0 -5
- package/buildLibs/utils/Web/ClFileupload.js.map +0 -1
- package/buildLibs/utils/Web/ClInputTag.cjs +0 -6
- package/buildLibs/utils/Web/ClInputTag.cjs.map +0 -1
- package/buildLibs/utils/Web/ClInputTag.d.ts +0 -3
- package/buildLibs/utils/Web/ClInputTag.js +0 -854
- package/buildLibs/utils/Web/ClInputTag.js.map +0 -1
- package/buildLibs/utils/Web/ClPaginate.cjs +0 -2
- package/buildLibs/utils/Web/ClPaginate.cjs.map +0 -1
- package/buildLibs/utils/Web/ClPaginate.css +0 -1
- package/buildLibs/utils/Web/ClPaginate.d.ts +0 -3
- package/buildLibs/utils/Web/ClPaginate.js +0 -167
- package/buildLibs/utils/Web/ClPaginate.js.map +0 -1
- package/buildLibs/utils/Web/ClPortlet.cjs +0 -2
- package/buildLibs/utils/Web/ClPortlet.cjs.map +0 -1
- package/buildLibs/utils/Web/ClPortlet.css +0 -1
- package/buildLibs/utils/Web/ClPortlet.d.ts +0 -3
- package/buildLibs/utils/Web/ClPortlet.js +0 -47
- package/buildLibs/utils/Web/ClPortlet.js.map +0 -1
- package/buildLibs/utils/Web/ClPreview.cjs +0 -2
- package/buildLibs/utils/Web/ClPreview.cjs.map +0 -1
- package/buildLibs/utils/Web/ClPreview.js +0 -5
- package/buildLibs/utils/Web/ClPreview.js.map +0 -1
- package/buildLibs/utils/Web/ClPreviewexample.cjs +0 -2
- package/buildLibs/utils/Web/ClPreviewexample.cjs.map +0 -1
- package/buildLibs/utils/Web/ClPreviewexample.d.ts +0 -3
- package/buildLibs/utils/Web/ClPreviewexample.js +0 -5
- package/buildLibs/utils/Web/ClPreviewexample.js.map +0 -1
- package/buildLibs/utils/Web/ClScrollXFence.cjs +0 -2
- package/buildLibs/utils/Web/ClScrollXFence.cjs.map +0 -1
- package/buildLibs/utils/Web/ClScrollXFence.css +0 -1
- package/buildLibs/utils/Web/ClScrollXFence.d.ts +0 -3
- package/buildLibs/utils/Web/ClScrollXFence.js +0 -107
- package/buildLibs/utils/Web/ClScrollXFence.js.map +0 -1
- package/buildLibs/utils/Web/ClSelect.cjs +0 -2
- package/buildLibs/utils/Web/ClSelect.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelect.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelect.js +0 -5
- package/buildLibs/utils/Web/ClSelect.js.map +0 -1
- package/buildLibs/utils/Web/ClSelectCascade.cjs +0 -2
- package/buildLibs/utils/Web/ClSelectCascade.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelectCascade.css +0 -1
- package/buildLibs/utils/Web/ClSelectCascade.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelectCascade.js +0 -222
- package/buildLibs/utils/Web/ClSelectCascade.js.map +0 -1
- package/buildLibs/utils/Web/ClSelectTag.cjs +0 -2
- package/buildLibs/utils/Web/ClSelectTag.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelectTag.css +0 -1
- package/buildLibs/utils/Web/ClSelectTag.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelectTag.js +0 -249
- package/buildLibs/utils/Web/ClSelectTag.js.map +0 -1
- package/buildLibs/utils/Web/ClSelectTree.cjs +0 -2
- package/buildLibs/utils/Web/ClSelectTree.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelectTree.css +0 -1
- package/buildLibs/utils/Web/ClSelectTree.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelectTree.js +0 -190
- package/buildLibs/utils/Web/ClSelectTree.js.map +0 -1
- package/buildLibs/utils/Web/ClSelectmove.cjs +0 -2
- package/buildLibs/utils/Web/ClSelectmove.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSelectmove.css +0 -1
- package/buildLibs/utils/Web/ClSelectmove.d.ts +0 -3
- package/buildLibs/utils/Web/ClSelectmove.js +0 -1090
- package/buildLibs/utils/Web/ClSelectmove.js.map +0 -1
- package/buildLibs/utils/Web/ClSidemenu.cjs +0 -2
- package/buildLibs/utils/Web/ClSidemenu.cjs.map +0 -1
- package/buildLibs/utils/Web/ClSidemenu.css +0 -1
- package/buildLibs/utils/Web/ClSidemenu.d.ts +0 -3
- package/buildLibs/utils/Web/ClSidemenu.js +0 -190
- package/buildLibs/utils/Web/ClSidemenu.js.map +0 -1
- package/buildLibs/utils/Web/ClTable.cjs +0 -2
- package/buildLibs/utils/Web/ClTable.cjs.map +0 -1
- package/buildLibs/utils/Web/ClTable.css +0 -1
- package/buildLibs/utils/Web/ClTable.d.ts +0 -3
- package/buildLibs/utils/Web/ClTable.js +0 -1914
- package/buildLibs/utils/Web/ClTable.js.map +0 -1
- package/buildLibs/utils/Web/ClTabs.cjs +0 -2
- package/buildLibs/utils/Web/ClTabs.cjs.map +0 -1
- package/buildLibs/utils/Web/ClTabs.css +0 -1
- package/buildLibs/utils/Web/ClTabs.d.ts +0 -3
- package/buildLibs/utils/Web/ClTabs.js +0 -276
- package/buildLibs/utils/Web/ClTabs.js.map +0 -1
- package/buildLibs/utils/Web/ClTree.cjs +0 -2
- package/buildLibs/utils/Web/ClTree.cjs.map +0 -1
- package/buildLibs/utils/Web/ClTree.css +0 -1
- package/buildLibs/utils/Web/ClTree.d.ts +0 -3
- package/buildLibs/utils/Web/ClTree.js +0 -416
- package/buildLibs/utils/Web/ClTree.js.map +0 -1
- package/buildLibs/utils/Web/ClWeekhour.cjs +0 -2
- package/buildLibs/utils/Web/ClWeekhour.cjs.map +0 -1
- package/buildLibs/utils/Web/ClWeekhour.css +0 -1
- package/buildLibs/utils/Web/ClWeekhour.d.ts +0 -3
- package/buildLibs/utils/Web/ClWeekhour.js +0 -679
- package/buildLibs/utils/Web/ClWeekhour.js.map +0 -1
- package/buildLibs/utils/Web/ClXeditable.cjs +0 -2
- package/buildLibs/utils/Web/ClXeditable.cjs.map +0 -1
- package/buildLibs/utils/Web/ClXeditable.css +0 -1
- package/buildLibs/utils/Web/ClXeditable.d.ts +0 -3
- package/buildLibs/utils/Web/ClXeditable.js +0 -593
- package/buildLibs/utils/Web/ClXeditable.js.map +0 -1
- package/buildLibs/utils/Web/__directive__/Highlight.cjs +0 -4
- package/buildLibs/utils/Web/__directive__/Highlight.cjs.map +0 -1
- package/buildLibs/utils/Web/__directive__/Highlight.d.ts +0 -2
- package/buildLibs/utils/Web/__directive__/Highlight.js +0 -3625
- package/buildLibs/utils/Web/__directive__/Highlight.js.map +0 -1
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs +0 -2
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs.map +0 -1
- package/buildLibs/utils/Web/__directive__/Tooltip.d.ts +0 -2
- package/buildLibs/utils/Web/__directive__/Tooltip.js +0 -356
- package/buildLibs/utils/Web/__directive__/Tooltip.js.map +0 -1
- package/buildLibs/utils/Web/__directive__/Waves.cjs +0 -9
- package/buildLibs/utils/Web/__directive__/Waves.cjs.map +0 -1
- package/buildLibs/utils/Web/__directive__/Waves.d.ts +0 -2
- package/buildLibs/utils/Web/__directive__/Waves.js +0 -256
- package/buildLibs/utils/Web/__directive__/Waves.js.map +0 -1
- package/buildLibs/utils/Web/__provide__/Alert.cjs +0 -2
- package/buildLibs/utils/Web/__provide__/Alert.cjs.map +0 -1
- package/buildLibs/utils/Web/__provide__/Alert.d.ts +0 -2
- package/buildLibs/utils/Web/__provide__/Alert.js +0 -236
- package/buildLibs/utils/Web/__provide__/Alert.js.map +0 -1
- package/buildLibs/utils/Web/__provide__/Notify.cjs +0 -2
- package/buildLibs/utils/Web/__provide__/Notify.cjs.map +0 -1
- package/buildLibs/utils/Web/__provide__/Notify.d.ts +0 -2
- package/buildLibs/utils/Web/__provide__/Notify.js +0 -235
- package/buildLibs/utils/Web/__provide__/Notify.js.map +0 -1
- package/buildLibs/utils/Web/__provide__/Preview.cjs +0 -2
- package/buildLibs/utils/Web/__provide__/Preview.cjs.map +0 -1
- package/buildLibs/utils/Web/__provide__/Preview.d.ts +0 -2
- package/buildLibs/utils/Web/__provide__/Preview.js +0 -26
- package/buildLibs/utils/Web/__provide__/Preview.js.map +0 -1
- package/buildLibs/web/index.cjs +0 -97
- package/buildLibs/web/index.cjs.map +0 -1
- package/buildLibs/web/index.d.ts +0 -81
- package/buildLibs/web/index.js +0 -164
- package/buildLibs/web/index.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClModal.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),c=require("../Shared/base-iCmnU-fv.js"),z=require("../Shared/resize-COkswDOq.js"),L={key:0,class:"progress"},_={class:"progress-circular-line circular-line-right"},O={class:"progress-circular-line circular-line-left"},V=e.defineComponent({name:"ClProgress",__name:"Index",props:{className:String,theme:{type:String,default:"horizontal"},color:String,ratio:{type:[Number,String],required:!0},isShowNum:{type:Boolean,default:!0},isAnimation:{type:Boolean,default:!0},diameter:{type:String,default:"50px"},showNumText:String,showNumPos:{type:String,default:"out-center"},showNumTrigger:{type:String,default:"hover"},showNumColor:String},setup(p){const i=p,u=e.ref(null),h=e.ref(null),o=e.reactive({isHorizontal:i.theme==="horizontal",isCircular:i.theme==="circular",ratioHundred:"",circularLeftRotate:-45,circularLeftTime:0,circularRightRotate:-45,circularRightTime:0,posText:{inOut:"out",lcr:"center",isOverflow:!1}}),a={lastRatio:"",lastRotateLeft:-45,lastRotateRight:-45,runTimeCircularRotate:null,resizeEvent:null},y=e.computed(()=>{let t="";const{showNumText:r}=i;if(r&&!c.CommonBase.isEmpty(r))t=r;else{let s=o.ratioHundred;s=s.substring(0,s.length-2),t=c.CommonBase.getFormatThousands(s)+"%"}return t}),E=e.computed(()=>{const t={"panel-progress":!0};t[`progress-${i.theme}`]=!0;const{className:r,isShowNum:s,showNumTrigger:n}=i;return s&&n!=="none"&&(t[`progress-${n}-num`]=!0),r&&!c.CommonBase.isEmpty(r)&&r.split(" ").forEach(l=>{c.CommonBase.isEmpty(l)||(t[l]=!0)}),t}),v=e.computed(()=>{const t={};return o.isCircular&&(c.CommonBase.isEmpty(i.diameter)||(t.width=i.diameter,t.height=i.diameter)),t}),N=e.computed(()=>({"progress-bar":!0,"progress-bar-striped":i.isAnimation,"striped-animation":i.isAnimation})),x=e.computed(()=>{const t={};if(t.width=o.ratioHundred,c.CommonBase.isEmpty(i.color)||(t["background-color"]=i.color),o.isHorizontal&&o.posText.inOut==="in"){let r="center";switch(o.posText.lcr){case"left":r="flex-start";break;case"center":r="center";break;case"right":r="flex-end";break}o.posText.isOverflow&&(r="flex-start"),t["justify-content"]=r}return t}),R=e.computed(()=>{const t={},{showNumColor:r}=i;return r&&!c.CommonBase.isEmpty(r)&&(t.color=r),t}),S=e.computed(()=>{const t={};return t.transform=`rotate(${o.circularRightRotate}deg)`,o.circularRightTime>0&&(t["transition-duration"]=`${o.circularRightTime}ms`),c.CommonBase.isEmpty(i.color)||(t["border-bottom-color"]=i.color,t["border-right-color"]=i.color),t}),b=e.computed(()=>{const t={};return t.transform=`rotate(${o.circularLeftRotate}deg)`,o.circularLeftTime&&(t["transition-duration"]=`${o.circularLeftTime}ms`),c.CommonBase.isEmpty(i.color)||(t["border-bottom-color"]=i.color,t["border-right-color"]=i.color),t}),k=()=>{const{showNumPos:t}=i,r=t.split("-");r.length===2&&(o.posText.inOut=c.CommonBase.isExistValue(["in","out"],r[0])?r[0]:"out",o.posText.lcr=c.CommonBase.isExistValue(["left","center","right"],r[1])?r[1]:"center")},T=t=>{let r=c.CommonBase.isEmpty(t)?0:Number(t);if(r<=0?r=0:r>=100&&(r=100),o.ratioHundred=`${r}%`,o.isCircular){a.runTimeCircularRotate&&clearTimeout(a.runTimeCircularRotate);const s=r/100*360;let n=0,l=0;s<180?(n=s+-45,l=-45):(n=135,l=s-180-45);let C=!0;c.CommonBase.isEmpty(a.lastRatio)||(C=r>=Number(a.lastRatio));let m=0,f=0;const d=Math.abs(n-a.lastRotateRight),g=Math.abs(l-a.lastRotateLeft);if(d>0&&g>0){const B=400/(d+g);m=d*B,f=g*B}C?(o.circularRightRotate=n,o.circularRightTime=m,e.nextTick(()=>{a.runTimeCircularRotate=setTimeout(()=>{o.circularLeftRotate=l,o.circularLeftTime=f},m)})):(o.circularLeftRotate=l,o.circularLeftTime=f,e.nextTick(()=>{a.runTimeCircularRotate=setTimeout(()=>{o.circularRightRotate=n,o.circularRightTime=m},f)})),a.lastRotateRight=n,a.lastRotateLeft=l}a.lastRatio=String(r)},w=()=>{k(),T(i.ratio),a.resizeEvent=new z.Resize({element:h.value,callback:()=>{if(i.isShowNum&&o.isHorizontal&&o.posText.inOut==="in"&&u.value){const t=u.value.querySelector(".progress-bar"),r=u.value.querySelector(".progress-num");if(t&&r){const s=t.clientWidth,n=r.clientWidth;let l=!1;s===0&&n===0?l=!1:s===0&&n>0?l=!0:l=s>0&&n>s,o.posText.isOverflow=l}}}})};return e.watch(()=>i.ratio,(t,r)=>{t!==r&&T(t)}),e.onMounted(()=>{e.nextTick(()=>{w()})}),e.onUnmounted(()=>{a.resizeEvent&&a.resizeEvent.destroy()}),(t,r)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"refElTopParent",ref:u,class:e.normalizeClass(E.value),style:e.normalizeStyle(v.value)},[o.isHorizontal?(e.openBlock(),e.createElementBlock("div",L,[e.createElementVNode("div",{ref_key:"refElBar",ref:h,class:e.normalizeClass(N.value),style:e.normalizeStyle(x.value)},[p.isShowNum&&o.posText.inOut==="in"?(e.openBlock(),e.createElementBlock("span",{key:0,class:"progress-num",style:e.normalizeStyle(R.value)},e.toDisplayString(y.value),5)):e.createCommentVNode("",!0)],6)])):o.isCircular?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",_,[e.createElementVNode("div",{class:"progress-circular-bar",style:e.normalizeStyle(S.value)},null,4)]),e.createElementVNode("div",O,[e.createElementVNode("div",{class:"progress-circular-bar",style:e.normalizeStyle(b.value)},null,4)])],64)):e.createCommentVNode("",!0),p.isShowNum&&o.posText.inOut==="out"?(e.openBlock(),e.createElementBlock("span",{key:2,class:"progress-num",style:e.normalizeStyle(R.value)},e.toDisplayString(y.value),5)):e.createCommentVNode("",!0)],6))}});module.exports=V;
|
|
2
|
-
//# sourceMappingURL=ClProgress.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClProgress.cjs","sources":["../../../src/libs/Element/Progress/Index.vue"],"sourcesContent":["<template>\n <div ref=\"refElTopParent\" :class=\"clsParent\" :style=\"styParent\">\n <template v-if=\"optBase.isHorizontal\">\n <div class=\"progress\">\n <div ref=\"refElBar\" :class=\"clsBar\" :style=\"styBar\">\n <span v-if=\"isShowNum && optBase.posText.inOut === 'in'\" class=\"progress-num\" :style=\"styNum\">{{ optShowNumText }}</span>\n </div>\n </div>\n </template>\n <template v-else-if=\"optBase.isCircular\">\n <div class=\"progress-circular-line circular-line-right\">\n <div class=\"progress-circular-bar\" :style=\"styCircularBarRight\"></div>\n </div>\n <div class=\"progress-circular-line circular-line-left\">\n <div class=\"progress-circular-bar\" :style=\"styCircularBarLeft\"></div>\n </div>\n </template>\n <span v-if=\"isShowNum && optBase.posText.inOut === 'out'\" class=\"progress-num\" :style=\"styNum\">{{ optShowNumText }}</span>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, reactive, computed, watch, onMounted, onUnmounted, nextTick } from 'vue'\nimport CommonBase from '../../Common/base'\nimport { Resize as ResizeEvent } from '../../Common/Element/Event/index'\nimport './Index.css'\n\ndefineOptions({ name: 'ClProgress' })\n\nconst props = defineProps({\n className: String,\n theme: {\n type: String,\n default: 'horizontal' // horizontal | circular\n },\n color: String,\n ratio: {\n type: [Number, String],\n required: true\n },\n isShowNum: {\n type: Boolean,\n default: true\n },\n isAnimation: {\n type: Boolean,\n default: true\n },\n diameter: {\n type: String,\n default: '50px'\n },\n showNumText: String,\n showNumPos: {\n type: String,\n default: 'out-center' // out-center|out-left|out-right|in-center|in-left|in-right\n },\n showNumTrigger: {\n type: String,\n default: 'hover' // none|hover\n },\n showNumColor: String\n})\n\nconst refElTopParent = ref<HTMLElement | null>(null)\nconst refElBar = ref<HTMLElement | null>(null)\n\nconst optBase = reactive({\n isHorizontal: props.theme === 'horizontal',\n isCircular: props.theme === 'circular',\n ratioHundred: '',\n circularLeftRotate: -45,\n circularLeftTime: 0,\n circularRightRotate: -45,\n circularRightTime: 0,\n posText: {\n inOut: 'out',\n lcr: 'center',\n isOverflow: false\n }\n})\n\nconst _pageData: {\n lastRatio: string\n lastRotateLeft: number\n lastRotateRight: number\n runTimeCircularRotate: ReturnType<typeof setTimeout> | null\n resizeEvent: any\n} = {\n lastRatio: '',\n lastRotateLeft: -45,\n lastRotateRight: -45,\n runTimeCircularRotate: null,\n resizeEvent: null\n}\n\nconst optShowNumText = computed(() => {\n let txt = ''\n const { showNumText } = props\n if (showNumText && !CommonBase.isEmpty(showNumText)) {\n txt = showNumText\n } else {\n let r = optBase.ratioHundred\n r = r.substring(0, r.length - 2)\n txt = CommonBase.getFormatThousands(r) + '%'\n }\n return txt\n})\n\nconst clsParent = computed(() => {\n const cls: Record<string, boolean> = {\n 'panel-progress': true\n }\n cls[`progress-${props.theme}`] = true\n\n const { className, isShowNum, showNumTrigger } = props\n if (isShowNum && showNumTrigger !== 'none') {\n cls[`progress-${showNumTrigger}-num`] = true\n }\n if (className && !CommonBase.isEmpty(className)) {\n className.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst styParent = computed(() => {\n const sty: Record<string, string | undefined> = {}\n if (optBase.isCircular) {\n if (!CommonBase.isEmpty(props.diameter)) {\n sty.width = props.diameter\n sty.height = props.diameter\n }\n }\n return sty\n})\n\nconst clsBar = computed(() => {\n const cls: Record<string, boolean> = {\n 'progress-bar': true,\n 'progress-bar-striped': props.isAnimation,\n 'striped-animation': props.isAnimation\n }\n return cls\n})\n\nconst styBar = computed(() => {\n const sty: Record<string, string | undefined> = {}\n sty.width = optBase.ratioHundred\n if (!CommonBase.isEmpty(props.color)) {\n sty['background-color'] = props.color\n }\n if (optBase.isHorizontal && optBase.posText.inOut === 'in') {\n let justifyContent = 'center'\n switch (optBase.posText.lcr) {\n case 'left':\n justifyContent = 'flex-start'\n break\n case 'center':\n justifyContent = 'center'\n break\n case 'right':\n justifyContent = 'flex-end'\n break\n }\n if (optBase.posText.isOverflow) {\n justifyContent = 'flex-start'\n }\n sty['justify-content'] = justifyContent\n }\n return sty\n})\n\nconst styNum = computed(() => {\n const sty: Record<string, string | undefined> = {}\n const { showNumColor } = props\n if (showNumColor && !CommonBase.isEmpty(showNumColor)) {\n sty['color'] = showNumColor\n }\n return sty\n})\n\nconst styCircularBarRight = computed(() => {\n const sty: Record<string, string | undefined> = {}\n sty.transform = `rotate(${optBase.circularRightRotate}deg)`\n if (optBase.circularRightTime > 0) {\n sty['transition-duration'] = `${optBase.circularRightTime}ms`\n }\n if (!CommonBase.isEmpty(props.color)) {\n sty['border-bottom-color'] = props.color\n sty['border-right-color'] = props.color\n }\n return sty\n})\n\nconst styCircularBarLeft = computed(() => {\n const sty: Record<string, string | undefined> = {}\n sty.transform = `rotate(${optBase.circularLeftRotate}deg)`\n if (optBase.circularLeftTime) {\n sty['transition-duration'] = `${optBase.circularLeftTime}ms`\n }\n if (!CommonBase.isEmpty(props.color)) {\n sty['border-bottom-color'] = props.color\n sty['border-right-color'] = props.color\n }\n return sty\n})\n\n// 内部方法\nconst _initPost = () => {\n const { showNumPos } = props\n const arrTemp = showNumPos.split('-')\n if (arrTemp.length === 2) {\n optBase.posText.inOut = CommonBase.isExistValue(['in', 'out'], arrTemp[0]) ? arrTemp[0] : 'out'\n optBase.posText.lcr = CommonBase.isExistValue(['left', 'center', 'right'], arrTemp[1]) ? arrTemp[1] : 'center'\n }\n}\n\nconst _initRatio = (ratio: number | string) => {\n let newRatio = CommonBase.isEmpty(ratio) ? 0 : Number(ratio)\n if (newRatio <= 0) {\n newRatio = 0\n } else if (newRatio >= 100) {\n newRatio = 100\n }\n optBase.ratioHundred = `${newRatio}%`\n if (optBase.isCircular) {\n if (_pageData.runTimeCircularRotate) {\n clearTimeout(_pageData.runTimeCircularRotate)\n }\n\n const rotate = (newRatio / 100) * 360\n let rotateRight = 0\n let rotateLeft = 0\n if (rotate < 180) {\n rotateRight = rotate + -45\n rotateLeft = -45\n } else {\n rotateRight = 135\n rotateLeft = rotate - 180 - 45\n }\n let isIncrease = true\n const isEmptyLst = CommonBase.isEmpty(_pageData.lastRatio)\n if (!isEmptyLst) {\n isIncrease = newRatio >= Number(_pageData.lastRatio)\n }\n let timeRight = 0\n let timeLeft = 0\n const diffRight = Math.abs(rotateRight - _pageData.lastRotateRight)\n const diffLeft = Math.abs(rotateLeft - _pageData.lastRotateLeft)\n if (diffRight > 0 && diffLeft > 0) {\n const time = 400 / (diffRight + diffLeft)\n timeRight = diffRight * time\n timeLeft = diffLeft * time\n }\n\n if (isIncrease) {\n optBase.circularRightRotate = rotateRight\n optBase.circularRightTime = timeRight\n\n nextTick(() => {\n _pageData.runTimeCircularRotate = setTimeout(() => {\n optBase.circularLeftRotate = rotateLeft\n optBase.circularLeftTime = timeLeft\n }, timeRight)\n })\n } else {\n optBase.circularLeftRotate = rotateLeft\n optBase.circularLeftTime = timeLeft\n nextTick(() => {\n _pageData.runTimeCircularRotate = setTimeout(() => {\n optBase.circularRightRotate = rotateRight\n optBase.circularRightTime = timeRight\n }, timeLeft)\n })\n }\n _pageData.lastRotateRight = rotateRight\n _pageData.lastRotateLeft = rotateLeft\n }\n _pageData.lastRatio = String(newRatio)\n}\n\nconst _initMain = () => {\n _initPost()\n _initRatio(props.ratio)\n _pageData.resizeEvent = new ResizeEvent({\n element: refElBar.value,\n callback: () => {\n if (props.isShowNum && optBase.isHorizontal && optBase.posText.inOut === 'in') {\n if (refElTopParent.value) {\n const elBar = refElTopParent.value.querySelector('.progress-bar')\n const elNum = refElTopParent.value.querySelector('.progress-num')\n if (elBar && elNum) {\n const barW = elBar.clientWidth\n const numW = elNum.clientWidth\n let isOverflow = false\n if (barW === 0 && numW === 0) {\n isOverflow = false\n } else {\n if (barW === 0 && numW > 0) {\n isOverflow = true\n } else {\n isOverflow = barW > 0 && numW > barW\n }\n }\n optBase.posText.isOverflow = isOverflow\n }\n }\n }\n }\n })\n}\n\nwatch(\n () => props.ratio,\n (newValue, oldValue) => {\n if (newValue !== oldValue) {\n _initRatio(newValue)\n }\n }\n)\n\nonMounted(() => {\n nextTick(() => {\n _initMain()\n })\n})\n\nonUnmounted(() => {\n if (_pageData.resizeEvent) {\n _pageData.resizeEvent.destroy()\n }\n})\n</script>\n"],"names":["props","__props","refElTopParent","ref","refElBar","optBase","reactive","_pageData","optShowNumText","computed","txt","showNumText","CommonBase","r","clsParent","cls","className","isShowNum","showNumTrigger","c","styParent","sty","clsBar","styBar","justifyContent","styNum","showNumColor","styCircularBarRight","styCircularBarLeft","_initPost","showNumPos","arrTemp","_initRatio","ratio","newRatio","rotate","rotateRight","rotateLeft","isIncrease","timeRight","timeLeft","diffRight","diffLeft","time","nextTick","_initMain","ResizeEvent","elBar","elNum","barW","numW","isOverflow","watch","newValue","oldValue","onMounted","onUnmounted","_createElementBlock","_openBlock","_hoisted_1","_createElementVNode","_Fragment","_hoisted_2","_hoisted_3"],"mappings":"uqBA6BA,MAAMA,EAAQC,EAmCRC,EAAiBC,EAAAA,IAAwB,IAAI,EAC7CC,EAAWD,EAAAA,IAAwB,IAAI,EAEvCE,EAAUC,EAAAA,SAAS,CACvB,aAAcN,EAAM,QAAU,aAC9B,WAAYA,EAAM,QAAU,WAC5B,aAAc,GACd,mBAAoB,IACpB,iBAAkB,EAClB,oBAAqB,IACrB,kBAAmB,EACnB,QAAS,CACP,MAAO,MACP,IAAK,SACL,WAAY,EAAA,CACd,CACD,EAEKO,EAMF,CACF,UAAW,GACX,eAAgB,IAChB,gBAAiB,IACjB,sBAAuB,KACvB,YAAa,IAAA,EAGTC,EAAiBC,EAAAA,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,uBAAOM,EAAA,KAAS,CAAA,GAC5Cf,EAAQ,cACtBqD,EAAAA,UAAA,EAAAD,EAAAA,mBAIM,MAJNE,EAIM,CAHJC,EAAAA,mBAEM,MAAA,SAFG,WAAJ,IAAIxD,EAAY,uBAAOkB,EAAA,KAAM,EAAG,uBAAOC,EAAA,KAAM,CAAA,GACpCtB,EAAA,WAAaI,EAAQ,QAAQ,QAAK,oBAA9CoD,EAAAA,mBAAyH,OAAA,OAAhE,MAAM,eAAgB,uBAAOhC,EAAA,KAAM,CAAA,oBAAKjB,EAAA,KAAc,EAAA,CAAA,sCAIhGH,EAAQ,0BAA7BoD,EAAAA,mBAOWI,WAAA,CAAA,IAAA,GAAA,CANTD,EAAAA,mBAEM,MAFNE,EAEM,CADJF,EAAAA,mBAAsE,MAAA,CAAjE,MAAM,wBAAyB,uBAAOjC,EAAA,KAAmB,CAAA,YAEhEiC,EAAAA,mBAEM,MAFNG,EAEM,CADJH,EAAAA,mBAAqE,MAAA,CAAhE,MAAM,wBAAyB,uBAAOhC,EAAA,KAAkB,CAAA,8CAGrD3B,EAAA,WAAaI,EAAQ,QAAQ,QAAK,qBAA9CoD,EAAAA,mBAA0H,OAAA,OAAhE,MAAM,eAAgB,uBAAOhC,EAAA,KAAM,CAAA,oBAAKjB,EAAA,KAAc,EAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.panel-progress{position:relative}.progress-bar{background-color:#1088f0}.progress-bar-striped.striped-animation{animation:progress-bar-stripes-alternate 2s linear infinite}@keyframes progress-bar-stripes-alternate{0%{background-position:0 0}to{background-position:3rem 0}}.progress-horizontal{text-align:center;height:14px;overflow:hidden}.progress-horizontal .progress{height:14px;border-radius:.25rem;background-color:#ddd;box-shadow:none!important}.progress-horizontal .progress-bar{flex-direction:row;align-items:center;justify-content:center}.progress-horizontal .progress-num{position:absolute;padding:0 2px;top:0;color:#fff;font-size:12px;height:14px;line-height:14px;z-index:2;opacity:1;transition:opacity .4s linear;display:inline-block;cursor:default;white-space:nowrap}.progress-horizontal.progress-hover-num .progress-num{opacity:0}.progress-horizontal.progress-hover-num .progress:hover+.progress-num{opacity:1}.progress-horizontal.progress-hover-num .progress:hover .progress-num{opacity:1}.progress-circular-line{position:absolute;width:50%;height:100%;top:0;overflow:hidden}.circular-line-left{top:0;left:0}.circular-line-right{top:0;transform:rotate(180deg);right:0}.progress-circular-bar{width:200%;height:100%;border-radius:50%;position:absolute;box-sizing:border-box;top:0;transform:rotate(-45deg);border-top:4px solid #ddd;border-left:4px solid #ddd;border-bottom:4px solid #1088f0;border-right:4px solid #1088f0;transition:transform .4s linear}.progress-circular .progress-num{color:#000!important;font-size:12px;z-index:2;display:none;flex-direction:row;align-items:center;justify-content:center;height:inherit}.progress-circular .circular-line-right:hover+.circular-line-left+.progress-num{display:flex}.progress-circular .circular-line-left:hover+.progress-num{display:flex}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { defineComponent as q, ref as L, reactive as A, computed as c, watch as V, onMounted as j, nextTick as v, onUnmounted as D, openBlock as m, createElementBlock as f, normalizeStyle as u, normalizeClass as k, createElementVNode as p, toDisplayString as _, createCommentVNode as E, Fragment as F } from "vue";
|
|
2
|
-
import { C as n } from "../Shared/base-PQGakkrl.js";
|
|
3
|
-
import { R as I } from "../Shared/resize-kOWxHVSP.js";
|
|
4
|
-
const U = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "progress"
|
|
7
|
-
}, G = { class: "progress-circular-line circular-line-right" }, J = { class: "progress-circular-line circular-line-left" }, Z = /* @__PURE__ */ q({
|
|
8
|
-
name: "ClProgress",
|
|
9
|
-
__name: "Index",
|
|
10
|
-
props: {
|
|
11
|
-
className: String,
|
|
12
|
-
theme: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "horizontal"
|
|
15
|
-
// horizontal | circular
|
|
16
|
-
},
|
|
17
|
-
color: String,
|
|
18
|
-
ratio: {
|
|
19
|
-
type: [Number, String],
|
|
20
|
-
required: !0
|
|
21
|
-
},
|
|
22
|
-
isShowNum: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: !0
|
|
25
|
-
},
|
|
26
|
-
isAnimation: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: !0
|
|
29
|
-
},
|
|
30
|
-
diameter: {
|
|
31
|
-
type: String,
|
|
32
|
-
default: "50px"
|
|
33
|
-
},
|
|
34
|
-
showNumText: String,
|
|
35
|
-
showNumPos: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: "out-center"
|
|
38
|
-
// out-center|out-left|out-right|in-center|in-left|in-right
|
|
39
|
-
},
|
|
40
|
-
showNumTrigger: {
|
|
41
|
-
type: String,
|
|
42
|
-
default: "hover"
|
|
43
|
-
// none|hover
|
|
44
|
-
},
|
|
45
|
-
showNumColor: String
|
|
46
|
-
},
|
|
47
|
-
setup(y) {
|
|
48
|
-
const i = y, g = L(null), x = L(null), r = A({
|
|
49
|
-
isHorizontal: i.theme === "horizontal",
|
|
50
|
-
isCircular: i.theme === "circular",
|
|
51
|
-
ratioHundred: "",
|
|
52
|
-
circularLeftRotate: -45,
|
|
53
|
-
circularLeftTime: 0,
|
|
54
|
-
circularRightRotate: -45,
|
|
55
|
-
circularRightTime: 0,
|
|
56
|
-
posText: {
|
|
57
|
-
inOut: "out",
|
|
58
|
-
lcr: "center",
|
|
59
|
-
isOverflow: !1
|
|
60
|
-
}
|
|
61
|
-
}), s = {
|
|
62
|
-
lastRatio: "",
|
|
63
|
-
lastRotateLeft: -45,
|
|
64
|
-
lastRotateRight: -45,
|
|
65
|
-
runTimeCircularRotate: null,
|
|
66
|
-
resizeEvent: null
|
|
67
|
-
}, b = c(() => {
|
|
68
|
-
let t = "";
|
|
69
|
-
const { showNumText: e } = i;
|
|
70
|
-
if (e && !n.isEmpty(e))
|
|
71
|
-
t = e;
|
|
72
|
-
else {
|
|
73
|
-
let o = r.ratioHundred;
|
|
74
|
-
o = o.substring(0, o.length - 2), t = n.getFormatThousands(o) + "%";
|
|
75
|
-
}
|
|
76
|
-
return t;
|
|
77
|
-
}), z = c(() => {
|
|
78
|
-
const t = {
|
|
79
|
-
"panel-progress": !0
|
|
80
|
-
};
|
|
81
|
-
t[`progress-${i.theme}`] = !0;
|
|
82
|
-
const { className: e, isShowNum: o, showNumTrigger: l } = i;
|
|
83
|
-
return o && l !== "none" && (t[`progress-${l}-num`] = !0), e && !n.isEmpty(e) && e.split(" ").forEach((a) => {
|
|
84
|
-
n.isEmpty(a) || (t[a] = !0);
|
|
85
|
-
}), t;
|
|
86
|
-
}), B = c(() => {
|
|
87
|
-
const t = {};
|
|
88
|
-
return r.isCircular && (n.isEmpty(i.diameter) || (t.width = i.diameter, t.height = i.diameter)), t;
|
|
89
|
-
}), O = c(() => ({
|
|
90
|
-
"progress-bar": !0,
|
|
91
|
-
"progress-bar-striped": i.isAnimation,
|
|
92
|
-
"striped-animation": i.isAnimation
|
|
93
|
-
})), H = c(() => {
|
|
94
|
-
const t = {};
|
|
95
|
-
if (t.width = r.ratioHundred, n.isEmpty(i.color) || (t["background-color"] = i.color), r.isHorizontal && r.posText.inOut === "in") {
|
|
96
|
-
let e = "center";
|
|
97
|
-
switch (r.posText.lcr) {
|
|
98
|
-
case "left":
|
|
99
|
-
e = "flex-start";
|
|
100
|
-
break;
|
|
101
|
-
case "center":
|
|
102
|
-
e = "center";
|
|
103
|
-
break;
|
|
104
|
-
case "right":
|
|
105
|
-
e = "flex-end";
|
|
106
|
-
break;
|
|
107
|
-
}
|
|
108
|
-
r.posText.isOverflow && (e = "flex-start"), t["justify-content"] = e;
|
|
109
|
-
}
|
|
110
|
-
return t;
|
|
111
|
-
}), w = c(() => {
|
|
112
|
-
const t = {}, { showNumColor: e } = i;
|
|
113
|
-
return e && !n.isEmpty(e) && (t.color = e), t;
|
|
114
|
-
}), P = c(() => {
|
|
115
|
-
const t = {};
|
|
116
|
-
return t.transform = `rotate(${r.circularRightRotate}deg)`, r.circularRightTime > 0 && (t["transition-duration"] = `${r.circularRightTime}ms`), n.isEmpty(i.color) || (t["border-bottom-color"] = i.color, t["border-right-color"] = i.color), t;
|
|
117
|
-
}), $ = c(() => {
|
|
118
|
-
const t = {};
|
|
119
|
-
return t.transform = `rotate(${r.circularLeftRotate}deg)`, r.circularLeftTime && (t["transition-duration"] = `${r.circularLeftTime}ms`), n.isEmpty(i.color) || (t["border-bottom-color"] = i.color, t["border-right-color"] = i.color), t;
|
|
120
|
-
}), M = () => {
|
|
121
|
-
const { showNumPos: t } = i, e = t.split("-");
|
|
122
|
-
e.length === 2 && (r.posText.inOut = n.isExistValue(["in", "out"], e[0]) ? e[0] : "out", r.posText.lcr = n.isExistValue(["left", "center", "right"], e[1]) ? e[1] : "center");
|
|
123
|
-
}, N = (t) => {
|
|
124
|
-
let e = n.isEmpty(t) ? 0 : Number(t);
|
|
125
|
-
if (e <= 0 ? e = 0 : e >= 100 && (e = 100), r.ratioHundred = `${e}%`, r.isCircular) {
|
|
126
|
-
s.runTimeCircularRotate && clearTimeout(s.runTimeCircularRotate);
|
|
127
|
-
const o = e / 100 * 360;
|
|
128
|
-
let l = 0, a = 0;
|
|
129
|
-
o < 180 ? (l = o + -45, a = -45) : (l = 135, a = o - 180 - 45);
|
|
130
|
-
let C = !0;
|
|
131
|
-
n.isEmpty(s.lastRatio) || (C = e >= Number(s.lastRatio));
|
|
132
|
-
let h = 0, d = 0;
|
|
133
|
-
const R = Math.abs(l - s.lastRotateRight), T = Math.abs(a - s.lastRotateLeft);
|
|
134
|
-
if (R > 0 && T > 0) {
|
|
135
|
-
const S = 400 / (R + T);
|
|
136
|
-
h = R * S, d = T * S;
|
|
137
|
-
}
|
|
138
|
-
C ? (r.circularRightRotate = l, r.circularRightTime = h, v(() => {
|
|
139
|
-
s.runTimeCircularRotate = setTimeout(() => {
|
|
140
|
-
r.circularLeftRotate = a, r.circularLeftTime = d;
|
|
141
|
-
}, h);
|
|
142
|
-
})) : (r.circularLeftRotate = a, r.circularLeftTime = d, v(() => {
|
|
143
|
-
s.runTimeCircularRotate = setTimeout(() => {
|
|
144
|
-
r.circularRightRotate = l, r.circularRightTime = h;
|
|
145
|
-
}, d);
|
|
146
|
-
})), s.lastRotateRight = l, s.lastRotateLeft = a;
|
|
147
|
-
}
|
|
148
|
-
s.lastRatio = String(e);
|
|
149
|
-
}, W = () => {
|
|
150
|
-
M(), N(i.ratio), s.resizeEvent = new I({
|
|
151
|
-
element: x.value,
|
|
152
|
-
callback: () => {
|
|
153
|
-
if (i.isShowNum && r.isHorizontal && r.posText.inOut === "in" && g.value) {
|
|
154
|
-
const t = g.value.querySelector(".progress-bar"), e = g.value.querySelector(".progress-num");
|
|
155
|
-
if (t && e) {
|
|
156
|
-
const o = t.clientWidth, l = e.clientWidth;
|
|
157
|
-
let a = !1;
|
|
158
|
-
o === 0 && l === 0 ? a = !1 : o === 0 && l > 0 ? a = !0 : a = o > 0 && l > o, r.posText.isOverflow = a;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
};
|
|
164
|
-
return V(
|
|
165
|
-
() => i.ratio,
|
|
166
|
-
(t, e) => {
|
|
167
|
-
t !== e && N(t);
|
|
168
|
-
}
|
|
169
|
-
), j(() => {
|
|
170
|
-
v(() => {
|
|
171
|
-
W();
|
|
172
|
-
});
|
|
173
|
-
}), D(() => {
|
|
174
|
-
s.resizeEvent && s.resizeEvent.destroy();
|
|
175
|
-
}), (t, e) => (m(), f("div", {
|
|
176
|
-
ref_key: "refElTopParent",
|
|
177
|
-
ref: g,
|
|
178
|
-
class: k(z.value),
|
|
179
|
-
style: u(B.value)
|
|
180
|
-
}, [
|
|
181
|
-
r.isHorizontal ? (m(), f("div", U, [
|
|
182
|
-
p("div", {
|
|
183
|
-
ref_key: "refElBar",
|
|
184
|
-
ref: x,
|
|
185
|
-
class: k(O.value),
|
|
186
|
-
style: u(H.value)
|
|
187
|
-
}, [
|
|
188
|
-
y.isShowNum && r.posText.inOut === "in" ? (m(), f("span", {
|
|
189
|
-
key: 0,
|
|
190
|
-
class: "progress-num",
|
|
191
|
-
style: u(w.value)
|
|
192
|
-
}, _(b.value), 5)) : E("", !0)
|
|
193
|
-
], 6)
|
|
194
|
-
])) : r.isCircular ? (m(), f(F, { key: 1 }, [
|
|
195
|
-
p("div", G, [
|
|
196
|
-
p("div", {
|
|
197
|
-
class: "progress-circular-bar",
|
|
198
|
-
style: u(P.value)
|
|
199
|
-
}, null, 4)
|
|
200
|
-
]),
|
|
201
|
-
p("div", J, [
|
|
202
|
-
p("div", {
|
|
203
|
-
class: "progress-circular-bar",
|
|
204
|
-
style: u($.value)
|
|
205
|
-
}, null, 4)
|
|
206
|
-
])
|
|
207
|
-
], 64)) : E("", !0),
|
|
208
|
-
y.isShowNum && r.posText.inOut === "out" ? (m(), f("span", {
|
|
209
|
-
key: 2,
|
|
210
|
-
class: "progress-num",
|
|
211
|
-
style: u(w.value)
|
|
212
|
-
}, _(b.value), 5)) : E("", !0)
|
|
213
|
-
], 6));
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
export {
|
|
217
|
-
Z as default
|
|
218
|
-
};
|
|
219
|
-
//# sourceMappingURL=ClProgress.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClProgress.js","sources":["../../../src/libs/Element/Progress/Index.vue"],"sourcesContent":["<template>\n <div ref=\"refElTopParent\" :class=\"clsParent\" :style=\"styParent\">\n <template v-if=\"optBase.isHorizontal\">\n <div class=\"progress\">\n <div ref=\"refElBar\" :class=\"clsBar\" :style=\"styBar\">\n <span v-if=\"isShowNum && optBase.posText.inOut === 'in'\" class=\"progress-num\" :style=\"styNum\">{{ optShowNumText }}</span>\n </div>\n </div>\n </template>\n <template v-else-if=\"optBase.isCircular\">\n <div class=\"progress-circular-line circular-line-right\">\n <div class=\"progress-circular-bar\" :style=\"styCircularBarRight\"></div>\n </div>\n <div class=\"progress-circular-line circular-line-left\">\n <div class=\"progress-circular-bar\" :style=\"styCircularBarLeft\"></div>\n </div>\n </template>\n <span v-if=\"isShowNum && optBase.posText.inOut === 'out'\" class=\"progress-num\" :style=\"styNum\">{{ optShowNumText }}</span>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, reactive, computed, watch, onMounted, onUnmounted, nextTick } from 'vue'\nimport CommonBase from '../../Common/base'\nimport { Resize as ResizeEvent } from '../../Common/Element/Event/index'\nimport './Index.css'\n\ndefineOptions({ name: 'ClProgress' })\n\nconst props = defineProps({\n className: String,\n theme: {\n type: String,\n default: 'horizontal' // horizontal | circular\n },\n color: String,\n ratio: {\n type: [Number, String],\n required: true\n },\n isShowNum: {\n type: Boolean,\n default: true\n },\n isAnimation: {\n type: Boolean,\n default: true\n },\n diameter: {\n type: String,\n default: '50px'\n },\n showNumText: String,\n showNumPos: {\n type: String,\n default: 'out-center' // out-center|out-left|out-right|in-center|in-left|in-right\n },\n showNumTrigger: {\n type: String,\n default: 'hover' // none|hover\n },\n showNumColor: String\n})\n\nconst refElTopParent = ref<HTMLElement | null>(null)\nconst refElBar = ref<HTMLElement | null>(null)\n\nconst optBase = reactive({\n isHorizontal: props.theme === 'horizontal',\n isCircular: props.theme === 'circular',\n ratioHundred: '',\n circularLeftRotate: -45,\n circularLeftTime: 0,\n circularRightRotate: -45,\n circularRightTime: 0,\n posText: {\n inOut: 'out',\n lcr: 'center',\n isOverflow: false\n }\n})\n\nconst _pageData: {\n lastRatio: string\n lastRotateLeft: number\n lastRotateRight: number\n runTimeCircularRotate: ReturnType<typeof setTimeout> | null\n resizeEvent: any\n} = {\n lastRatio: '',\n lastRotateLeft: -45,\n lastRotateRight: -45,\n runTimeCircularRotate: null,\n resizeEvent: null\n}\n\nconst optShowNumText = computed(() => {\n let txt = ''\n const { showNumText } = props\n if (showNumText && !CommonBase.isEmpty(showNumText)) {\n txt = showNumText\n } else {\n let r = optBase.ratioHundred\n r = r.substring(0, r.length - 2)\n txt = CommonBase.getFormatThousands(r) + '%'\n }\n return txt\n})\n\nconst clsParent = computed(() => {\n const cls: Record<string, boolean> = {\n 'panel-progress': true\n }\n cls[`progress-${props.theme}`] = true\n\n const { className, isShowNum, showNumTrigger } = props\n if (isShowNum && showNumTrigger !== 'none') {\n cls[`progress-${showNumTrigger}-num`] = true\n }\n if (className && !CommonBase.isEmpty(className)) {\n className.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst styParent = computed(() => {\n const sty: Record<string, string | undefined> = {}\n if (optBase.isCircular) {\n if (!CommonBase.isEmpty(props.diameter)) {\n sty.width = props.diameter\n sty.height = props.diameter\n }\n }\n return sty\n})\n\nconst clsBar = computed(() => {\n const cls: Record<string, boolean> = {\n 'progress-bar': true,\n 'progress-bar-striped': props.isAnimation,\n 'striped-animation': props.isAnimation\n }\n return cls\n})\n\nconst styBar = computed(() => {\n const sty: Record<string, string | undefined> = {}\n sty.width = optBase.ratioHundred\n if (!CommonBase.isEmpty(props.color)) {\n sty['background-color'] = props.color\n }\n if (optBase.isHorizontal && optBase.posText.inOut === 'in') {\n let justifyContent = 'center'\n switch (optBase.posText.lcr) {\n case 'left':\n justifyContent = 'flex-start'\n break\n case 'center':\n justifyContent = 'center'\n break\n case 'right':\n justifyContent = 'flex-end'\n break\n }\n if (optBase.posText.isOverflow) {\n justifyContent = 'flex-start'\n }\n sty['justify-content'] = justifyContent\n }\n return sty\n})\n\nconst styNum = computed(() => {\n const sty: Record<string, string | undefined> = {}\n const { showNumColor } = props\n if (showNumColor && !CommonBase.isEmpty(showNumColor)) {\n sty['color'] = showNumColor\n }\n return sty\n})\n\nconst styCircularBarRight = computed(() => {\n const sty: Record<string, string | undefined> = {}\n sty.transform = `rotate(${optBase.circularRightRotate}deg)`\n if (optBase.circularRightTime > 0) {\n sty['transition-duration'] = `${optBase.circularRightTime}ms`\n }\n if (!CommonBase.isEmpty(props.color)) {\n sty['border-bottom-color'] = props.color\n sty['border-right-color'] = props.color\n }\n return sty\n})\n\nconst styCircularBarLeft = computed(() => {\n const sty: Record<string, string | undefined> = {}\n sty.transform = `rotate(${optBase.circularLeftRotate}deg)`\n if (optBase.circularLeftTime) {\n sty['transition-duration'] = `${optBase.circularLeftTime}ms`\n }\n if (!CommonBase.isEmpty(props.color)) {\n sty['border-bottom-color'] = props.color\n sty['border-right-color'] = props.color\n }\n return sty\n})\n\n// 内部方法\nconst _initPost = () => {\n const { showNumPos } = props\n const arrTemp = showNumPos.split('-')\n if (arrTemp.length === 2) {\n optBase.posText.inOut = CommonBase.isExistValue(['in', 'out'], arrTemp[0]) ? arrTemp[0] : 'out'\n optBase.posText.lcr = CommonBase.isExistValue(['left', 'center', 'right'], arrTemp[1]) ? arrTemp[1] : 'center'\n }\n}\n\nconst _initRatio = (ratio: number | string) => {\n let newRatio = CommonBase.isEmpty(ratio) ? 0 : Number(ratio)\n if (newRatio <= 0) {\n newRatio = 0\n } else if (newRatio >= 100) {\n newRatio = 100\n }\n optBase.ratioHundred = `${newRatio}%`\n if (optBase.isCircular) {\n if (_pageData.runTimeCircularRotate) {\n clearTimeout(_pageData.runTimeCircularRotate)\n }\n\n const rotate = (newRatio / 100) * 360\n let rotateRight = 0\n let rotateLeft = 0\n if (rotate < 180) {\n rotateRight = rotate + -45\n rotateLeft = -45\n } else {\n rotateRight = 135\n rotateLeft = rotate - 180 - 45\n }\n let isIncrease = true\n const isEmptyLst = CommonBase.isEmpty(_pageData.lastRatio)\n if (!isEmptyLst) {\n isIncrease = newRatio >= Number(_pageData.lastRatio)\n }\n let timeRight = 0\n let timeLeft = 0\n const diffRight = Math.abs(rotateRight - _pageData.lastRotateRight)\n const diffLeft = Math.abs(rotateLeft - _pageData.lastRotateLeft)\n if (diffRight > 0 && diffLeft > 0) {\n const time = 400 / (diffRight + diffLeft)\n timeRight = diffRight * time\n timeLeft = diffLeft * time\n }\n\n if (isIncrease) {\n optBase.circularRightRotate = rotateRight\n optBase.circularRightTime = timeRight\n\n nextTick(() => {\n _pageData.runTimeCircularRotate = setTimeout(() => {\n optBase.circularLeftRotate = rotateLeft\n optBase.circularLeftTime = timeLeft\n }, timeRight)\n })\n } else {\n optBase.circularLeftRotate = rotateLeft\n optBase.circularLeftTime = timeLeft\n nextTick(() => {\n _pageData.runTimeCircularRotate = setTimeout(() => {\n optBase.circularRightRotate = rotateRight\n optBase.circularRightTime = timeRight\n }, timeLeft)\n })\n }\n _pageData.lastRotateRight = rotateRight\n _pageData.lastRotateLeft = rotateLeft\n }\n _pageData.lastRatio = String(newRatio)\n}\n\nconst _initMain = () => {\n _initPost()\n _initRatio(props.ratio)\n _pageData.resizeEvent = new ResizeEvent({\n element: refElBar.value,\n callback: () => {\n if (props.isShowNum && optBase.isHorizontal && optBase.posText.inOut === 'in') {\n if (refElTopParent.value) {\n const elBar = refElTopParent.value.querySelector('.progress-bar')\n const elNum = refElTopParent.value.querySelector('.progress-num')\n if (elBar && elNum) {\n const barW = elBar.clientWidth\n const numW = elNum.clientWidth\n let isOverflow = false\n if (barW === 0 && numW === 0) {\n isOverflow = false\n } else {\n if (barW === 0 && numW > 0) {\n isOverflow = true\n } else {\n isOverflow = barW > 0 && numW > barW\n }\n }\n optBase.posText.isOverflow = isOverflow\n }\n }\n }\n }\n })\n}\n\nwatch(\n () => props.ratio,\n (newValue, oldValue) => {\n if (newValue !== oldValue) {\n _initRatio(newValue)\n }\n }\n)\n\nonMounted(() => {\n nextTick(() => {\n _initMain()\n })\n})\n\nonUnmounted(() => {\n if (_pageData.resizeEvent) {\n _pageData.resizeEvent.destroy()\n }\n})\n</script>\n"],"names":["props","__props","refElTopParent","ref","refElBar","optBase","reactive","_pageData","optShowNumText","computed","txt","showNumText","CommonBase","r","clsParent","cls","className","isShowNum","showNumTrigger","c","styParent","sty","clsBar","styBar","justifyContent","styNum","showNumColor","styCircularBarRight","styCircularBarLeft","_initPost","showNumPos","arrTemp","_initRatio","ratio","newRatio","rotate","rotateRight","rotateLeft","isIncrease","timeRight","timeLeft","diffRight","diffLeft","time","nextTick","_initMain","ResizeEvent","elBar","elNum","barW","numW","isOverflow","watch","newValue","oldValue","onMounted","onUnmounted","_createElementBlock","_openBlock","_hoisted_1","_createElementVNode","_Fragment","_hoisted_2","_hoisted_3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,UAAMA,IAAQC,GAmCRC,IAAiBC,EAAwB,IAAI,GAC7CC,IAAWD,EAAwB,IAAI,GAEvCE,IAAUC,EAAS;AAAA,MACvB,cAAcN,EAAM,UAAU;AAAA,MAC9B,YAAYA,EAAM,UAAU;AAAA,MAC5B,cAAc;AAAA,MACd,oBAAoB;AAAA,MACpB,kBAAkB;AAAA,MAClB,qBAAqB;AAAA,MACrB,mBAAmB;AAAA,MACnB,SAAS;AAAA,QACP,OAAO;AAAA,QACP,KAAK;AAAA,QACL,YAAY;AAAA,MAAA;AAAA,IACd,CACD,GAEKO,IAMF;AAAA,MACF,WAAW;AAAA,MACX,gBAAgB;AAAA,MAChB,iBAAiB;AAAA,MACjB,uBAAuB;AAAA,MACvB,aAAa;AAAA,IAAA,GAGTC,IAAiBC,EAAS,MAAM;AACpC,UAAIC,IAAM;AACV,YAAM,EAAE,aAAAC,MAAgBX;AACxB,UAAIW,KAAe,CAACC,EAAW,QAAQD,CAAW;AAChD,QAAAD,IAAMC;AAAA,WACD;AACL,YAAIE,IAAIR,EAAQ;AAChB,QAAAQ,IAAIA,EAAE,UAAU,GAAGA,EAAE,SAAS,CAAC,GAC/BH,IAAME,EAAW,mBAAmBC,CAAC,IAAI;AAAA,MAC3C;AACA,aAAOH;AAAA,IACT,CAAC,GAEKI,IAAYL,EAAS,MAAM;AAC/B,YAAMM,IAA+B;AAAA,QACnC,kBAAkB;AAAA,MAAA;AAEpB,MAAAA,EAAI,YAAYf,EAAM,KAAK,EAAE,IAAI;AAEjC,YAAM,EAAE,WAAAgB,GAAW,WAAAC,GAAW,gBAAAC,EAAA,IAAmBlB;AACjD,aAAIiB,KAAaC,MAAmB,WAClCH,EAAI,YAAYG,C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AhE,OAAM;AAAA,YAAgB,SAAOhC,EAAA,KAAM;AAAA,UAAA,KAAKjB,EAAA,KAAc,GAAA,CAAA;;YAIhGH,EAAQ,mBAA7BoD,EAOWI,GAAA,EAAA,KAAA,KAAA;AAAA,QANTD,EAEM,OAFNE,GAEM;AAAA,UADJF,EAAsE,OAAA;AAAA,YAAjE,OAAM;AAAA,YAAyB,SAAOjC,EAAA,KAAmB;AAAA,UAAA;;QAEhEiC,EAEM,OAFNG,GAEM;AAAA,UADJH,EAAqE,OAAA;AAAA,YAAhE,OAAM;AAAA,YAAyB,SAAOhC,EAAA,KAAkB;AAAA,UAAA;;;MAGrD3B,EAAA,aAAaI,EAAQ,QAAQ,UAAK,cAA9CoD,EAA0H,QAAA;AAAA;QAAhE,OAAM;AAAA,QAAgB,SAAOhC,EAAA,KAAM;AAAA,MAAA,KAAKjB,EAAA,KAAc,GAAA,CAAA;;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue");;/* empty css */const o=require("../Shared/base-iCmnU-fv.js"),b=require("../Web/__directive__/Tooltip.cjs"),D=["id","name","value","disabled","checked","onClick"],F=["for"],J=e.defineComponent({name:"ClRadio",directives:{cltooltip:b.tooltipDirectives},__name:"Index",props:{value:{type:[String,Number],required:!0},className:{type:String,default:""},name:{type:String,required:!0},list:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},width:{type:String,default:"auto"},isInline:{type:Boolean,default:!0}},emits:["update:value","onChange","onInit"],setup(r,{expose:h,emit:y}){const s=r,d=y,B=`rd-${o.CommonBase.getRandom(8)}`,a=e.ref(s.value?.toString()||"");let u={};const c=e.ref(!1),k=e.computed(()=>{const t=s.className,n={"panel-radio":!0};return t&&!o.CommonBase.isEmpty(t)&&t.split(" ").forEach(i=>{o.CommonBase.isEmpty(i)||(n[i]=!0)}),n}),E=e.computed(()=>{const t={radio:!0,"radio-default":!0};return t["radio-inline"]=s.isInline??!0,t}),_=t=>{const n={"radio-icon-tip":!0};return o.CommonBase.isEmpty(t.tipIcon)?n["clIconFont clIcon-question-circle"]=!0:n[t.tipIcon]=!0,n},V=t=>{const n={},{width:i}=s;return t&&!o.CommonBase.isEmpty(t.width)?n.width=t.width:o.CommonBase.isEmpty(i)||(n.width=s.width),n},C=t=>{d("update:value",t)},I=t=>{const n=t.id.toString();C(n),d("onChange",n,o.CommonBase.getJsonClone(t))},x=()=>{e.nextTick(()=>{d("onInit")})},f=()=>o.CommonBase.isExistJsonKey(u,a.value)?a.value:"",p=t=>{u=o.CommonBase.isEmpty(t)?{}:o.CommonBase.getJsonByList(t)},m=()=>{if(c.value){const t=o.CommonBase.isEmpty(a.value)?"":a.value;o.CommonBase.isExistJsonKey(u,t)||(a.value="",C(""))}},v=t=>{t!==a.value&&(a.value=t?.toString()||"")},w=()=>{c.value=s.list.length!==0,p(s.list),m()};e.watch(c,t=>{t&&x()}),e.watch(()=>s.list,t=>{c.value||(c.value=!0,t.length===0&&m())}),e.watch([()=>s.value,()=>s.list],([t,n])=>{const i=n;!c.value&&i.length>0&&(c.value=!0),p(i),t!==a.value&&v(t),m()}),e.onMounted(()=>{e.nextTick(()=>{w()})});const N=t=>{if(!t.isDisabled&&!s.disabled){const n=t.id.toString();n!==a.value&&(a.value=n,I(t))}},g=()=>f();return h({getValue:g,getValueData:()=>{const t=g();return o.CommonBase.isExistJsonKey(u,t)?o.CommonBase.getJsonClone(u[t]):{}},setValue:t=>{v(t),m()},runInitComplete:()=>{c.value||(c.value=!0,p(s.list),v(s.value),m())}}),(t,n)=>{const i=e.resolveDirective("cltooltip");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(k.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.list,(l,S)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`${B}-${S}`},[l.isShow||l.isShow===void 0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(E.value),style:e.normalizeStyle(V(l))},[e.createElementVNode("span",null,[e.createElementVNode("span",null,[e.createElementVNode("input",{type:"radio",id:`rd_${r.name}_${l.id}`,name:r.name,value:l.id,disabled:l.isDisabled||r.disabled,checked:l.id.toString()===a.value,onClick:M=>N(l)},null,8,D),e.createElementVNode("label",{for:`rd_${r.name}_${l.id}`},[l.icon&&l.icon.length>0?e.withDirectives((e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(l.icon)},null,2)),[[i,{html:l.name,className:"tooltip-modal"}]]):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.name),1)],64))],8,F)]),l.tipMsg&&l.tipMsg.length>0?e.withDirectives((e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(_(l))},null,2)),[[i,{html:l.tipMsg,className:"tooltip-modal"}]]):e.createCommentVNode("",!0)])],6)):e.createCommentVNode("",!0)],64))),128))],2)}}});module.exports=J;
|
|
2
|
-
//# sourceMappingURL=ClRadio.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClRadio.cjs","sources":["../../../src/libs/Element/Radio/Index.vue"],"sourcesContent":["<template>\n <div :class=\"clsParent\">\n <template\n v-for=\"(info, _cbIndex) in list\"\n :key=\"`${_optKeyIndex}-${_cbIndex}`\"\n >\n <div\n v-if=\"info.isShow || info.isShow===undefined\"\n :class=\"clsContainer\"\n :style=\"styContainerFun(info)\"\n >\n <span>\n <span>\n <input\n type=\"radio\"\n :id=\"`rd_${name}_${info.id}`\"\n :name=\"name\"\n :value=\"info.id\"\n :disabled=\"info.isDisabled || disabled\"\n :checked=\"info.id.toString()===optTextValue\"\n @click=\"onClick(info)\"\n >\n <label :for=\"`rd_${name}_${info.id}`\">\n <i\n v-if=\"info.icon && info.icon.length>0\"\n :class=\"info.icon\"\n v-cltooltip=\"{html:info.name,className:'tooltip-modal'}\"\n ></i>\n <template v-else> {{info.name}}</template>\n </label>\n </span>\n <i\n v-if=\"info.tipMsg && info.tipMsg.length>0\"\n :class=\"clsTipFun(info)\"\n v-cltooltip=\"{html:info.tipMsg,className:'tooltip-modal'}\"\n ></i>\n </span>\n </div>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, watch, onMounted, nextTick } from 'vue'\nimport './Index.css'\nimport CommonBase from '../../Common/base'\nimport { tooltipDirectives } from '../../Web/Tooltip'\n\n// defineOptions\ndefineOptions({\n name: 'ClRadio',\n directives: {\n cltooltip: tooltipDirectives\n }\n})\n\n// props\nexport interface ListInfo {\n id: string | number\n name: string\n isDisabled: boolean\n tipMsg: string\n tipIcon: string\n isShow: boolean\n icon: string\n width?: string\n}\n\nconst props = defineProps({\n value: {\n type: [String, Number],\n required: true\n },\n className: {\n type: String,\n default: ''\n },\n name: {\n type: String,\n required: true\n },\n list: {\n type: Array as () => ListInfo[],\n default: () => []\n },\n disabled: {\n type: Boolean,\n default: false\n },\n width: {\n type: String,\n default: 'auto'\n },\n isInline: {\n type: Boolean,\n default: true\n }\n})\n\n// emit\nconst emit = defineEmits<{\n (e: 'update:value', value: string): void\n (e: 'onChange', value: string, info: ListInfo): void\n (e: 'onInit'): void\n}>()\n\n// 常量 / 变量定义\nconst _optKeyIndex = `rd-${CommonBase.getRandom(8)}`\nvoid _optKeyIndex // 模板 :key 中使用,vue-tsc 无法追踪\nconst optTextValue = ref(props.value?.toString() || '')\nlet _listDataToJson: any = {}\nconst _optIsFirstDataFinish = ref(false)\n\n// computed\nconst clsParent = computed(() => {\n const className = props.className\n const cls: any = {\n \"panel-radio\": true,\n }\n if (className && !CommonBase.isEmpty(className)) {\n className.split(\" \").forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsContainer = computed(() => {\n const cls: any = {\n radio: true,\n \"radio-default\": true,\n }\n cls[\"radio-inline\"] = props.isInline ?? true\n return cls\n})\n\n// 内部调用方法\nconst clsTipFun = (item: any) => {\n const cls: any = {\n \"radio-icon-tip\": true,\n }\n if (CommonBase.isEmpty(item.tipIcon)) {\n cls[\"clIconFont clIcon-question-circle\"] = true\n } else {\n cls[item.tipIcon] = true\n }\n return cls\n}\n\nconst styContainerFun = (item: any) => {\n const sty: any = {}\n const { width } = props\n if (item && !CommonBase.isEmpty(item.width)) {\n sty.width = item.width\n } else {\n if (!CommonBase.isEmpty(width)) {\n sty.width = props.width\n }\n }\n return sty\n}\n\nconst _emitModelValue = (value: string) => {\n emit(\"update:value\", value)\n}\n\nconst _emitChange = (info: any) => {\n const value = info.id.toString()\n _emitModelValue(value)\n emit(\"onChange\", value, CommonBase.getJsonClone(info))\n}\n\nconst _emitInit = () => {\n nextTick(() => {\n emit(\"onInit\")\n })\n}\n\nconst _getValue = () => {\n return CommonBase.isExistJsonKey(_listDataToJson, optTextValue.value) ? optTextValue.value : \"\"\n}\n\nconst _convertListToJson = (list: any[]) => {\n _listDataToJson = CommonBase.isEmpty(list) ? {} : CommonBase.getJsonByList(list)\n}\n\nconst _checkValueInList = () => {\n if (_optIsFirstDataFinish.value) {\n const selectValue = CommonBase.isEmpty(optTextValue.value) ? \"\" : optTextValue.value\n const isExist = CommonBase.isExistJsonKey(_listDataToJson, selectValue)\n if (!isExist) {\n optTextValue.value = \"\"\n _emitModelValue(\"\")\n }\n }\n}\n\nconst _setValue = (value: any) => {\n if (value !== optTextValue.value) {\n optTextValue.value = value?.toString() || ''\n }\n}\n\nconst _initMain = () => {\n _optIsFirstDataFinish.value = props.list.length !== 0\n _convertListToJson(props.list)\n _checkValueInList()\n}\n\n// watch\nwatch(_optIsFirstDataFinish, (newValue) => {\n if (newValue) {\n _emitInit()\n }\n})\n\nwatch(\n () => props.list,\n (newValue) => {\n if (!_optIsFirstDataFinish.value) {\n _optIsFirstDataFinish.value = true\n if (newValue.length === 0) {\n _checkValueInList()\n }\n }\n }\n)\n\nwatch(\n [() => props.value, () => props.list],\n ([newValue, newList]) => {\n const list = newList as any[]\n if (!_optIsFirstDataFinish.value && list.length > 0) {\n _optIsFirstDataFinish.value = true\n }\n _convertListToJson(list)\n if (newValue !== optTextValue.value) {\n _setValue(newValue)\n }\n _checkValueInList()\n }\n)\n\n// 生命周期\nonMounted(() => {\n nextTick(() => {\n _initMain()\n })\n})\n\n// 事件方法\nconst onClick = (item: any) => {\n if (!item.isDisabled && !props.disabled) {\n const value = item.id.toString()\n if (value !== optTextValue.value) {\n optTextValue.value = value\n _emitChange(item)\n }\n }\n}\n\n// 开放给外部使用的方法\nconst getValue = () => {\n return _getValue()\n}\n\nconst getValueData = () => {\n const value = getValue()\n return CommonBase.isExistJsonKey(_listDataToJson, value) ? CommonBase.getJsonClone(_listDataToJson[value]) : {}\n}\n\nconst setValue = (value: string) => {\n _setValue(value)\n _checkValueInList()\n}\n\nconst runInitComplete = () => {\n if (!_optIsFirstDataFinish.value) {\n _optIsFirstDataFinish.value = true\n _convertListToJson(props.list)\n _setValue(props.value)\n _checkValueInList()\n }\n}\n\n// 导出类型定义\nexport interface ClRadioExpose {\n getValue: () => string\n getValueData: () => Record<string, any>\n setValue: (value: string) => void\n runInitComplete: () => void\n}\n\n// defineExpose\ndefineExpose({\n getValue,\n getValueData,\n setValue,\n runInitComplete\n})\n</script>"],"names":["props","__props","emit","__emit","_optKeyIndex","CommonBase","optTextValue","ref","_listDataToJson","_optIsFirstDataFinish","clsParent","computed","className","cls","c","clsContainer","clsTipFun","item","styContainerFun","sty","width","_emitModelValue","value","_emitChange","info","_emitInit","nextTick","_getValue","_convertListToJson","list","_checkValueInList","selectValue","_setValue","_initMain","watch","newValue","newList","onMounted","onClick","getValue","__expose","_createElementBlock","_openBlock","_Fragment","_renderList","_cbIndex","_normalizeStyle","_createElementVNode","$event","_normalizeClass","_directive_cltooltip","_createTextVNode","_toDisplayString"],"mappings":"yoBAoEA,MAAMA,EAAQC,EAgCRC,EAAOC,EAOPC,EAAe,MAAMC,EAAAA,WAAW,UAAU,CAAC,CAAC,GAE5CC,EAAeC,EAAAA,IAAIP,EAAM,OAAO,SAAA,GAAc,EAAE,EACtD,IAA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AAQd,CAAI,CAAA,YAExBuB,EAAAA,mBAOQ,QAAA,CAPA,IAAG,MAAQ9C,EAAA,IAAI,IAAIuB,EAAK,EAAE,EAAA,GAEpBA,EAAK,MAAQA,EAAK,KAAK,OAAM,kCADvCiB,EAAAA,mBAIK,IAAA,OAFA,MAAKQ,EAAAA,eAAEzB,EAAK,IAAI,CAAA,YACE,CAAA0B,EAAA,CAAA,KAAA1B,EAAK,KAAI,UAAA,gBAAA,CAAA,kBAEhCiB,EAAAA,mBAA0CE,EAAAA,SAAA,CAAA,IAAA,GAAA,CAAtBQ,EAAAA,gBAAAC,EAAAA,gBAAA5B,EAAK,IAAI,EAAA,CAAA,CAAA,eAI3BA,EAAK,QAAUA,EAAK,OAAO,OAAM,kCAD3CiB,EAAAA,mBAIK,IAAA,OAFA,MAAKQ,EAAAA,eAAEjC,EAAUQ,CAAI,CAAA,CAAA,YACH,CAAA0B,EAAA,CAAA,KAAA1B,EAAK,OAAM,UAAA,gBAAA,CAAA"}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { defineComponent as z, ref as I, computed as k, watch as C, onMounted as R, nextTick as x, resolveDirective as A, openBlock as c, createElementBlock as u, normalizeClass as p, Fragment as _, renderList as P, normalizeStyle as j, createElementVNode as v, withDirectives as S, createTextVNode as G, toDisplayString as H, createCommentVNode as V } from "vue";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import { C as s } from "../Shared/base-PQGakkrl.js";
|
|
4
|
-
import { tooltipDirectives as O } from "../Web/__directive__/Tooltip.js";
|
|
5
|
-
const Q = ["id", "name", "value", "disabled", "checked", "onClick"], U = ["for"], ie = /* @__PURE__ */ z({
|
|
6
|
-
name: "ClRadio",
|
|
7
|
-
directives: {
|
|
8
|
-
cltooltip: O
|
|
9
|
-
},
|
|
10
|
-
__name: "Index",
|
|
11
|
-
props: {
|
|
12
|
-
value: {
|
|
13
|
-
type: [String, Number],
|
|
14
|
-
required: !0
|
|
15
|
-
},
|
|
16
|
-
className: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: ""
|
|
19
|
-
},
|
|
20
|
-
name: {
|
|
21
|
-
type: String,
|
|
22
|
-
required: !0
|
|
23
|
-
},
|
|
24
|
-
list: {
|
|
25
|
-
type: Array,
|
|
26
|
-
default: () => []
|
|
27
|
-
},
|
|
28
|
-
disabled: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !1
|
|
31
|
-
},
|
|
32
|
-
width: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: "auto"
|
|
35
|
-
},
|
|
36
|
-
isInline: {
|
|
37
|
-
type: Boolean,
|
|
38
|
-
default: !0
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
emits: ["update:value", "onChange", "onInit"],
|
|
42
|
-
setup(r, { expose: w, emit: D }) {
|
|
43
|
-
const i = r, y = D, b = `rd-${s.getRandom(8)}`, n = I(i.value?.toString() || "");
|
|
44
|
-
let d = {};
|
|
45
|
-
const o = I(!1), N = k(() => {
|
|
46
|
-
const e = i.className, t = {
|
|
47
|
-
"panel-radio": !0
|
|
48
|
-
};
|
|
49
|
-
return e && !s.isEmpty(e) && e.split(" ").forEach((a) => {
|
|
50
|
-
s.isEmpty(a) || (t[a] = !0);
|
|
51
|
-
}), t;
|
|
52
|
-
}), J = k(() => {
|
|
53
|
-
const e = {
|
|
54
|
-
radio: !0,
|
|
55
|
-
"radio-default": !0
|
|
56
|
-
};
|
|
57
|
-
return e["radio-inline"] = i.isInline ?? !0, e;
|
|
58
|
-
}), $ = (e) => {
|
|
59
|
-
const t = {
|
|
60
|
-
"radio-icon-tip": !0
|
|
61
|
-
};
|
|
62
|
-
return s.isEmpty(e.tipIcon) ? t["clIconFont clIcon-question-circle"] = !0 : t[e.tipIcon] = !0, t;
|
|
63
|
-
}, B = (e) => {
|
|
64
|
-
const t = {}, { width: a } = i;
|
|
65
|
-
return e && !s.isEmpty(e.width) ? t.width = e.width : s.isEmpty(a) || (t.width = i.width), t;
|
|
66
|
-
}, f = (e) => {
|
|
67
|
-
y("update:value", e);
|
|
68
|
-
}, F = (e) => {
|
|
69
|
-
const t = e.id.toString();
|
|
70
|
-
f(t), y("onChange", t, s.getJsonClone(e));
|
|
71
|
-
}, M = () => {
|
|
72
|
-
x(() => {
|
|
73
|
-
y("onInit");
|
|
74
|
-
});
|
|
75
|
-
}, T = () => s.isExistJsonKey(d, n.value) ? n.value : "", g = (e) => {
|
|
76
|
-
d = s.isEmpty(e) ? {} : s.getJsonByList(e);
|
|
77
|
-
}, m = () => {
|
|
78
|
-
if (o.value) {
|
|
79
|
-
const e = s.isEmpty(n.value) ? "" : n.value;
|
|
80
|
-
s.isExistJsonKey(d, e) || (n.value = "", f(""));
|
|
81
|
-
}
|
|
82
|
-
}, h = (e) => {
|
|
83
|
-
e !== n.value && (n.value = e?.toString() || "");
|
|
84
|
-
}, K = () => {
|
|
85
|
-
o.value = i.list.length !== 0, g(i.list), m();
|
|
86
|
-
};
|
|
87
|
-
C(o, (e) => {
|
|
88
|
-
e && M();
|
|
89
|
-
}), C(
|
|
90
|
-
() => i.list,
|
|
91
|
-
(e) => {
|
|
92
|
-
o.value || (o.value = !0, e.length === 0 && m());
|
|
93
|
-
}
|
|
94
|
-
), C(
|
|
95
|
-
[() => i.value, () => i.list],
|
|
96
|
-
([e, t]) => {
|
|
97
|
-
const a = t;
|
|
98
|
-
!o.value && a.length > 0 && (o.value = !0), g(a), e !== n.value && h(e), m();
|
|
99
|
-
}
|
|
100
|
-
), R(() => {
|
|
101
|
-
x(() => {
|
|
102
|
-
K();
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
const L = (e) => {
|
|
106
|
-
if (!e.isDisabled && !i.disabled) {
|
|
107
|
-
const t = e.id.toString();
|
|
108
|
-
t !== n.value && (n.value = t, F(e));
|
|
109
|
-
}
|
|
110
|
-
}, E = () => T();
|
|
111
|
-
return w({
|
|
112
|
-
getValue: E,
|
|
113
|
-
getValueData: () => {
|
|
114
|
-
const e = E();
|
|
115
|
-
return s.isExistJsonKey(d, e) ? s.getJsonClone(d[e]) : {};
|
|
116
|
-
},
|
|
117
|
-
setValue: (e) => {
|
|
118
|
-
h(e), m();
|
|
119
|
-
},
|
|
120
|
-
runInitComplete: () => {
|
|
121
|
-
o.value || (o.value = !0, g(i.list), h(i.value), m());
|
|
122
|
-
}
|
|
123
|
-
}), (e, t) => {
|
|
124
|
-
const a = A("cltooltip");
|
|
125
|
-
return c(), u("div", {
|
|
126
|
-
class: p(N.value)
|
|
127
|
-
}, [
|
|
128
|
-
(c(!0), u(_, null, P(r.list, (l, q) => (c(), u(_, {
|
|
129
|
-
key: `${b}-${q}`
|
|
130
|
-
}, [
|
|
131
|
-
l.isShow || l.isShow === void 0 ? (c(), u("div", {
|
|
132
|
-
key: 0,
|
|
133
|
-
class: p(J.value),
|
|
134
|
-
style: j(B(l))
|
|
135
|
-
}, [
|
|
136
|
-
v("span", null, [
|
|
137
|
-
v("span", null, [
|
|
138
|
-
v("input", {
|
|
139
|
-
type: "radio",
|
|
140
|
-
id: `rd_${r.name}_${l.id}`,
|
|
141
|
-
name: r.name,
|
|
142
|
-
value: l.id,
|
|
143
|
-
disabled: l.isDisabled || r.disabled,
|
|
144
|
-
checked: l.id.toString() === n.value,
|
|
145
|
-
onClick: (Z) => L(l)
|
|
146
|
-
}, null, 8, Q),
|
|
147
|
-
v("label", {
|
|
148
|
-
for: `rd_${r.name}_${l.id}`
|
|
149
|
-
}, [
|
|
150
|
-
l.icon && l.icon.length > 0 ? S((c(), u("i", {
|
|
151
|
-
key: 0,
|
|
152
|
-
class: p(l.icon)
|
|
153
|
-
}, null, 2)), [
|
|
154
|
-
[a, { html: l.name, className: "tooltip-modal" }]
|
|
155
|
-
]) : (c(), u(_, { key: 1 }, [
|
|
156
|
-
G(H(l.name), 1)
|
|
157
|
-
], 64))
|
|
158
|
-
], 8, U)
|
|
159
|
-
]),
|
|
160
|
-
l.tipMsg && l.tipMsg.length > 0 ? S((c(), u("i", {
|
|
161
|
-
key: 0,
|
|
162
|
-
class: p($(l))
|
|
163
|
-
}, null, 2)), [
|
|
164
|
-
[a, { html: l.tipMsg, className: "tooltip-modal" }]
|
|
165
|
-
]) : V("", !0)
|
|
166
|
-
])
|
|
167
|
-
], 6)) : V("", !0)
|
|
168
|
-
], 64))), 128))
|
|
169
|
-
], 2);
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
});
|
|
173
|
-
export {
|
|
174
|
-
ie as default
|
|
175
|
-
};
|
|
176
|
-
//# sourceMappingURL=ClRadio.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClRadio.js","sources":["../../../src/libs/Element/Radio/Index.vue"],"sourcesContent":["<template>\n <div :class=\"clsParent\">\n <template\n v-for=\"(info, _cbIndex) in list\"\n :key=\"`${_optKeyIndex}-${_cbIndex}`\"\n >\n <div\n v-if=\"info.isShow || info.isShow===undefined\"\n :class=\"clsContainer\"\n :style=\"styContainerFun(info)\"\n >\n <span>\n <span>\n <input\n type=\"radio\"\n :id=\"`rd_${name}_${info.id}`\"\n :name=\"name\"\n :value=\"info.id\"\n :disabled=\"info.isDisabled || disabled\"\n :checked=\"info.id.toString()===optTextValue\"\n @click=\"onClick(info)\"\n >\n <label :for=\"`rd_${name}_${info.id}`\">\n <i\n v-if=\"info.icon && info.icon.length>0\"\n :class=\"info.icon\"\n v-cltooltip=\"{html:info.name,className:'tooltip-modal'}\"\n ></i>\n <template v-else> {{info.name}}</template>\n </label>\n </span>\n <i\n v-if=\"info.tipMsg && info.tipMsg.length>0\"\n :class=\"clsTipFun(info)\"\n v-cltooltip=\"{html:info.tipMsg,className:'tooltip-modal'}\"\n ></i>\n </span>\n </div>\n </template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, watch, onMounted, nextTick } from 'vue'\nimport './Index.css'\nimport CommonBase from '../../Common/base'\nimport { tooltipDirectives } from '../../Web/Tooltip'\n\n// defineOptions\ndefineOptions({\n name: 'ClRadio',\n directives: {\n cltooltip: tooltipDirectives\n }\n})\n\n// props\nexport interface ListInfo {\n id: string | number\n name: string\n isDisabled: boolean\n tipMsg: string\n tipIcon: string\n isShow: boolean\n icon: string\n width?: string\n}\n\nconst props = defineProps({\n value: {\n type: [String, Number],\n required: true\n },\n className: {\n type: String,\n default: ''\n },\n name: {\n type: String,\n required: true\n },\n list: {\n type: Array as () => ListInfo[],\n default: () => []\n },\n disabled: {\n type: Boolean,\n default: false\n },\n width: {\n type: String,\n default: 'auto'\n },\n isInline: {\n type: Boolean,\n default: true\n }\n})\n\n// emit\nconst emit = defineEmits<{\n (e: 'update:value', value: string): void\n (e: 'onChange', value: string, info: ListInfo): void\n (e: 'onInit'): void\n}>()\n\n// 常量 / 变量定义\nconst _optKeyIndex = `rd-${CommonBase.getRandom(8)}`\nvoid _optKeyIndex // 模板 :key 中使用,vue-tsc 无法追踪\nconst optTextValue = ref(props.value?.toString() || '')\nlet _listDataToJson: any = {}\nconst _optIsFirstDataFinish = ref(false)\n\n// computed\nconst clsParent = computed(() => {\n const className = props.className\n const cls: any = {\n \"panel-radio\": true,\n }\n if (className && !CommonBase.isEmpty(className)) {\n className.split(\" \").forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsContainer = computed(() => {\n const cls: any = {\n radio: true,\n \"radio-default\": true,\n }\n cls[\"radio-inline\"] = props.isInline ?? true\n return cls\n})\n\n// 内部调用方法\nconst clsTipFun = (item: any) => {\n const cls: any = {\n \"radio-icon-tip\": true,\n }\n if (CommonBase.isEmpty(item.tipIcon)) {\n cls[\"clIconFont clIcon-question-circle\"] = true\n } else {\n cls[item.tipIcon] = true\n }\n return cls\n}\n\nconst styContainerFun = (item: any) => {\n const sty: any = {}\n const { width } = props\n if (item && !CommonBase.isEmpty(item.width)) {\n sty.width = item.width\n } else {\n if (!CommonBase.isEmpty(width)) {\n sty.width = props.width\n }\n }\n return sty\n}\n\nconst _emitModelValue = (value: string) => {\n emit(\"update:value\", value)\n}\n\nconst _emitChange = (info: any) => {\n const value = info.id.toString()\n _emitModelValue(value)\n emit(\"onChange\", value, CommonBase.getJsonClone(info))\n}\n\nconst _emitInit = () => {\n nextTick(() => {\n emit(\"onInit\")\n })\n}\n\nconst _getValue = () => {\n return CommonBase.isExistJsonKey(_listDataToJson, optTextValue.value) ? optTextValue.value : \"\"\n}\n\nconst _convertListToJson = (list: any[]) => {\n _listDataToJson = CommonBase.isEmpty(list) ? {} : CommonBase.getJsonByList(list)\n}\n\nconst _checkValueInList = () => {\n if (_optIsFirstDataFinish.value) {\n const selectValue = CommonBase.isEmpty(optTextValue.value) ? \"\" : optTextValue.value\n const isExist = CommonBase.isExistJsonKey(_listDataToJson, selectValue)\n if (!isExist) {\n optTextValue.value = \"\"\n _emitModelValue(\"\")\n }\n }\n}\n\nconst _setValue = (value: any) => {\n if (value !== optTextValue.value) {\n optTextValue.value = value?.toString() || ''\n }\n}\n\nconst _initMain = () => {\n _optIsFirstDataFinish.value = props.list.length !== 0\n _convertListToJson(props.list)\n _checkValueInList()\n}\n\n// watch\nwatch(_optIsFirstDataFinish, (newValue) => {\n if (newValue) {\n _emitInit()\n }\n})\n\nwatch(\n () => props.list,\n (newValue) => {\n if (!_optIsFirstDataFinish.value) {\n _optIsFirstDataFinish.value = true\n if (newValue.length === 0) {\n _checkValueInList()\n }\n }\n }\n)\n\nwatch(\n [() => props.value, () => props.list],\n ([newValue, newList]) => {\n const list = newList as any[]\n if (!_optIsFirstDataFinish.value && list.length > 0) {\n _optIsFirstDataFinish.value = true\n }\n _convertListToJson(list)\n if (newValue !== optTextValue.value) {\n _setValue(newValue)\n }\n _checkValueInList()\n }\n)\n\n// 生命周期\nonMounted(() => {\n nextTick(() => {\n _initMain()\n })\n})\n\n// 事件方法\nconst onClick = (item: any) => {\n if (!item.isDisabled && !props.disabled) {\n const value = item.id.toString()\n if (value !== optTextValue.value) {\n optTextValue.value = value\n _emitChange(item)\n }\n }\n}\n\n// 开放给外部使用的方法\nconst getValue = () => {\n return _getValue()\n}\n\nconst getValueData = () => {\n const value = getValue()\n return CommonBase.isExistJsonKey(_listDataToJson, value) ? CommonBase.getJsonClone(_listDataToJson[value]) : {}\n}\n\nconst setValue = (value: string) => {\n _setValue(value)\n _checkValueInList()\n}\n\nconst runInitComplete = () => {\n if (!_optIsFirstDataFinish.value) {\n _optIsFirstDataFinish.value = true\n _convertListToJson(props.list)\n _setValue(props.value)\n _checkValueInList()\n }\n}\n\n// 导出类型定义\nexport interface ClRadioExpose {\n getValue: () => string\n getValueData: () => Record<string, any>\n setValue: (value: string) => void\n runInitComplete: () => void\n}\n\n// defineExpose\ndefineExpose({\n getValue,\n getValueData,\n setValue,\n runInitComplete\n})\n</script>"],"names":["props","__props","emit","__emit","_optKeyIndex","CommonBase","optTextValue","ref","_listDataToJson","_optIsFirstDataFinish","clsParent","computed","className","cls","c","clsContainer","clsTipFun","item","styContainerFun","sty","width","_emitModelValue","value","_emitChange","info","_emitInit","nextTick","_getValue","_convertListToJson","list","_checkValueInList","selectValue","_setValue","_initMain","watch","newValue","newList","onMounted","onClick","getValue","__expose","_createElementBlock","_openBlock","_Fragment","_renderList","_cbIndex","_normalizeStyle","_createElementVNode","$event","_normalizeClass","_directive_cltooltip","_createTextVNode","_toDisplayString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEA,UAAMA,IAAQC,GAgCRC,IAAOC,GAOPC,IAAe,MAAMC,EAAW,UAAU,CAAC,CAAC,IAE5CC,IAAeC,EAAIP,EAAM,OAAO,SAAA,KAAc,EAAE;AACtD,QAAIQ,IAAuB,CAAA;AAC3B,UAAMC,IAAwBF,EAAI,EAAK,GAGjCG,IAAYC,EAAS,MAAM;AAC/B,YAAMC,IAAYZ,EAAM,WAClBa,IAAW;AAAA,QACf,eAAe;AAAA,MAAA;AAEjB,aAAID,KAAa,CAACP,EAAW,QAAQO,CAAS,KAC5CA,EAAU,MAAM,GAAG,EAAE,QAAQ,CA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