@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,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r={ClAnchorNav:"@cldemo/library/utils/Element/ClAnchorNav",ClBadge:"@cldemo/library/utils/Element/ClBadge",ClButton:"@cldemo/library/utils/Element/ClButton",ClCheckbox:"@cldemo/library/utils/Element/ClCheckbox",ClCheckboxOne:"@cldemo/library/utils/Element/ClCheckboxOne",ClClipboard:"@cldemo/library/utils/Element/ClClipboard",ClCountup:"@cldemo/library/utils/Element/ClCountup",ClCropper:"@cldemo/library/utils/Element/ClCropper",ClDarg:"@cldemo/library/utils/Element/ClDarg",ClEllipsis:"@cldemo/library/utils/Element/ClEllipsis",ClForm:"@cldemo/library/utils/Element/ClForm",ClFormGroup:"@cldemo/library/utils/Element/ClFormGroup",ClFormValidate:"@cldemo/library/utils/Element/ClFormValidate",ClIconFont:"@cldemo/library/utils/Element/ClIconFont",ClImage:"@cldemo/library/utils/Element/ClImage",ClInput:"@cldemo/library/utils/Element/ClInput",ClInputCaptcha:"@cldemo/library/utils/Element/ClInputCaptcha",ClInputNumber:"@cldemo/library/utils/Element/ClInputNumber",ClInputSearch:"@cldemo/library/utils/Element/ClInputSearch",ClInputTextarea:"@cldemo/library/utils/Element/ClInputTextarea",ClInputnumberButton:"@cldemo/library/utils/Element/ClInputnumberButton",ClLink:"@cldemo/library/utils/Element/ClLink",ClLoad:"@cldemo/library/utils/Element/ClLoad",ClLoadFullCenter:"@cldemo/library/utils/Element/ClLoadFullCenter",ClLoadIng:"@cldemo/library/utils/Element/ClLoadIng",ClLoadScreen:"@cldemo/library/utils/Element/ClLoadScreen",ClLoadWarp:"@cldemo/library/utils/Element/ClLoadWarp",ClModal:"@cldemo/library/utils/Element/ClModal",ClProgress:"@cldemo/library/utils/Element/ClProgress",ClRadio:"@cldemo/library/utils/Element/ClRadio",ClRadioOne:"@cldemo/library/utils/Element/ClRadioOne",ClSlider:"@cldemo/library/utils/Element/ClSlider",ClSwitchery:"@cldemo/library/utils/Element/ClSwitchery",ClTags:"@cldemo/library/utils/Element/ClTags",ClTransitionSlideupdown:"@cldemo/library/utils/Element/ClTransitionSlideupdown",ClWaterfall:"@cldemo/library/utils/Element/ClWaterfall",ClWaterfallImage:"@cldemo/library/utils/Element/ClWaterfallImage",ClBreadcrumb:"@cldemo/library/utils/Web/ClBreadcrumb",ClCalendar:"@cldemo/library/utils/Web/ClCalendar",ClCard:"@cldemo/library/utils/Web/ClCard",ClCardLegend:"@cldemo/library/utils/Web/ClCardLegend",ClCollapse:"@cldemo/library/utils/Web/ClCollapse",ClColorpicker:"@cldemo/library/utils/Web/ClColorpicker",ClCropperPreview:"@cldemo/library/utils/Web/ClCropperPreview",ClDatetime:"@cldemo/library/utils/Web/ClDatetime",ClDropdownmenu:"@cldemo/library/utils/Web/ClDropdownmenu",ClDropdownmenuItem:"@cldemo/library/utils/Web/ClDropdownmenuItem",ClDropdownpopup:"@cldemo/library/utils/Web/ClDropdownpopup",ClEcharts:"@cldemo/library/utils/Web/ClEcharts",ClFileupload:"@cldemo/library/utils/Web/ClFileupload",ClInputTag:"@cldemo/library/utils/Web/ClInputTag",ClPaginate:"@cldemo/library/utils/Web/ClPaginate",ClPortlet:"@cldemo/library/utils/Web/ClPortlet",ClPreviewexample:"@cldemo/library/utils/Web/ClPreviewexample",ClScrollXFence:"@cldemo/library/utils/Web/ClScrollXFence",ClSelect:"@cldemo/library/utils/Web/ClSelect",ClSelectCascade:"@cldemo/library/utils/Web/ClSelectCascade",ClSelectTag:"@cldemo/library/utils/Web/ClSelectTag",ClSelectTree:"@cldemo/library/utils/Web/ClSelectTree",ClSelectmove:"@cldemo/library/utils/Web/ClSelectmove",ClSidemenu:"@cldemo/library/utils/Web/ClSidemenu",ClTable:"@cldemo/library/utils/Web/ClTable",ClTabs:"@cldemo/library/utils/Web/ClTabs",ClTree:"@cldemo/library/utils/Web/ClTree",ClWeekhour:"@cldemo/library/utils/Web/ClWeekhour",ClXeditable:"@cldemo/library/utils/Web/ClXeditable",ClCell:"@cldemo/library/utils/Mobile/ClCell",ClPullToRefresh:"@cldemo/library/utils/Mobile/ClPullToRefresh"};function t(l){const e=r[l];if(e)return{name:l,from:e,importName:"default"}}exports.clComponentMap=r;exports.clResolver=t;
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../src/libs/resolver.ts"],"sourcesContent":["// Auto-generated by scripts/generate-resolver.cjs\n// DO NOT EDIT — run lib:build to regenerate\n\nexport const clComponentMap: Record<string, string> = {\n\n // ===== Element =====\n ClAnchorNav: '@cldemo/library/utils/Element/ClAnchorNav',\n ClBadge: '@cldemo/library/utils/Element/ClBadge',\n ClButton: '@cldemo/library/utils/Element/ClButton',\n ClCheckbox: '@cldemo/library/utils/Element/ClCheckbox',\n ClCheckboxOne: '@cldemo/library/utils/Element/ClCheckboxOne',\n ClClipboard: '@cldemo/library/utils/Element/ClClipboard',\n ClCountup: '@cldemo/library/utils/Element/ClCountup',\n ClCropper: '@cldemo/library/utils/Element/ClCropper',\n ClDarg: '@cldemo/library/utils/Element/ClDarg',\n ClEllipsis: '@cldemo/library/utils/Element/ClEllipsis',\n ClForm: '@cldemo/library/utils/Element/ClForm',\n ClFormGroup: '@cldemo/library/utils/Element/ClFormGroup',\n ClFormValidate: '@cldemo/library/utils/Element/ClFormValidate',\n ClIconFont: '@cldemo/library/utils/Element/ClIconFont',\n ClImage: '@cldemo/library/utils/Element/ClImage',\n ClInput: '@cldemo/library/utils/Element/ClInput',\n ClInputCaptcha: '@cldemo/library/utils/Element/ClInputCaptcha',\n ClInputNumber: '@cldemo/library/utils/Element/ClInputNumber',\n ClInputSearch: '@cldemo/library/utils/Element/ClInputSearch',\n ClInputTextarea: '@cldemo/library/utils/Element/ClInputTextarea',\n ClInputnumberButton: '@cldemo/library/utils/Element/ClInputnumberButton',\n ClLink: '@cldemo/library/utils/Element/ClLink',\n ClLoad: '@cldemo/library/utils/Element/ClLoad',\n ClLoadFullCenter: '@cldemo/library/utils/Element/ClLoadFullCenter',\n ClLoadIng: '@cldemo/library/utils/Element/ClLoadIng',\n ClLoadScreen: '@cldemo/library/utils/Element/ClLoadScreen',\n ClLoadWarp: '@cldemo/library/utils/Element/ClLoadWarp',\n ClModal: '@cldemo/library/utils/Element/ClModal',\n ClProgress: '@cldemo/library/utils/Element/ClProgress',\n ClRadio: '@cldemo/library/utils/Element/ClRadio',\n ClRadioOne: '@cldemo/library/utils/Element/ClRadioOne',\n ClSlider: '@cldemo/library/utils/Element/ClSlider',\n ClSwitchery: '@cldemo/library/utils/Element/ClSwitchery',\n ClTags: '@cldemo/library/utils/Element/ClTags',\n ClTransitionSlideupdown: '@cldemo/library/utils/Element/ClTransitionSlideupdown',\n ClWaterfall: '@cldemo/library/utils/Element/ClWaterfall',\n ClWaterfallImage: '@cldemo/library/utils/Element/ClWaterfallImage',\n\n // ===== Web =====\n ClBreadcrumb: '@cldemo/library/utils/Web/ClBreadcrumb',\n ClCalendar: '@cldemo/library/utils/Web/ClCalendar',\n ClCard: '@cldemo/library/utils/Web/ClCard',\n ClCardLegend: '@cldemo/library/utils/Web/ClCardLegend',\n ClCollapse: '@cldemo/library/utils/Web/ClCollapse',\n ClColorpicker: '@cldemo/library/utils/Web/ClColorpicker',\n ClCropperPreview: '@cldemo/library/utils/Web/ClCropperPreview',\n ClDatetime: '@cldemo/library/utils/Web/ClDatetime',\n ClDropdownmenu: '@cldemo/library/utils/Web/ClDropdownmenu',\n ClDropdownmenuItem: '@cldemo/library/utils/Web/ClDropdownmenuItem',\n ClDropdownpopup: '@cldemo/library/utils/Web/ClDropdownpopup',\n ClEcharts: '@cldemo/library/utils/Web/ClEcharts',\n ClFileupload: '@cldemo/library/utils/Web/ClFileupload',\n ClInputTag: '@cldemo/library/utils/Web/ClInputTag',\n ClPaginate: '@cldemo/library/utils/Web/ClPaginate',\n ClPortlet: '@cldemo/library/utils/Web/ClPortlet',\n ClPreviewexample: '@cldemo/library/utils/Web/ClPreviewexample',\n ClScrollXFence: '@cldemo/library/utils/Web/ClScrollXFence',\n ClSelect: '@cldemo/library/utils/Web/ClSelect',\n ClSelectCascade: '@cldemo/library/utils/Web/ClSelectCascade',\n ClSelectTag: '@cldemo/library/utils/Web/ClSelectTag',\n ClSelectTree: '@cldemo/library/utils/Web/ClSelectTree',\n ClSelectmove: '@cldemo/library/utils/Web/ClSelectmove',\n ClSidemenu: '@cldemo/library/utils/Web/ClSidemenu',\n ClTable: '@cldemo/library/utils/Web/ClTable',\n ClTabs: '@cldemo/library/utils/Web/ClTabs',\n ClTree: '@cldemo/library/utils/Web/ClTree',\n ClWeekhour: '@cldemo/library/utils/Web/ClWeekhour',\n ClXeditable: '@cldemo/library/utils/Web/ClXeditable',\n\n // ===== Mobile =====\n ClCell: '@cldemo/library/utils/Mobile/ClCell',\n ClPullToRefresh: '@cldemo/library/utils/Mobile/ClPullToRefresh',\n}\n\n/** unplugin-vue-components resolver */\nexport function clResolver(name: string) {\n const from = clComponentMap[name]\n if (from) return { name, from, importName: 'default' }\n}\n"],"names":["clComponentMap","clResolver","name","from"],"mappings":"gFAGO,MAAMA,EAAyC,CAGpD,YAAa,4CACb,QAAS,wCACT,SAAU,yCACV,WAAY,2CACZ,cAAe,8CACf,YAAa,4CACb,UAAW,0CACX,UAAW,0CACX,OAAQ,uCACR,WAAY,2CACZ,OAAQ,uCACR,YAAa,4CACb,eAAgB,+CAChB,WAAY,2CACZ,QAAS,wCACT,QAAS,wCACT,eAAgB,+CAChB,cAAe,8CACf,cAAe,8CACf,gBAAiB,gDACjB,oBAAqB,oDACrB,OAAQ,uCACR,OAAQ,uCACR,iBAAkB,iDAClB,UAAW,0CACX,aAAc,6CACd,WAAY,2CACZ,QAAS,wCACT,WAAY,2CACZ,QAAS,wCACT,WAAY,2CACZ,SAAU,yCACV,YAAa,4CACb,OAAQ,uCACR,wBAAyB,wDACzB,YAAa,4CACb,iBAAkB,iDAGlB,aAAc,yCACd,WAAY,uCACZ,OAAQ,mCACR,aAAc,yCACd,WAAY,uCACZ,cAAe,0CACf,iBAAkB,6CAClB,WAAY,uCACZ,eAAgB,2CAChB,mBAAoB,+CACpB,gBAAiB,4CACjB,UAAW,sCACX,aAAc,yCACd,WAAY,uCACZ,WAAY,uCACZ,UAAW,sCACX,iBAAkB,6CAClB,eAAgB,2CAChB,SAAU,qCACV,gBAAiB,4CACjB,YAAa,wCACb,aAAc,yCACd,aAAc,yCACd,WAAY,uCACZ,QAAS,oCACT,OAAQ,mCACR,OAAQ,mCACR,WAAY,uCACZ,YAAa,wCAGb,OAAQ,sCACR,gBAAiB,8CACnB,EAGO,SAASC,EAAWC,EAAc,CACvC,MAAMC,EAAOH,EAAeE,CAAI,EAChC,GAAIC,EAAM,MAAO,CAAE,KAAAD,EAAM,KAAAC,EAAM,WAAY,SAAA,CAC7C"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
const r = {
|
|
2
|
-
// ===== Element =====
|
|
3
|
-
ClAnchorNav: "@cldemo/library/utils/Element/ClAnchorNav",
|
|
4
|
-
ClBadge: "@cldemo/library/utils/Element/ClBadge",
|
|
5
|
-
ClButton: "@cldemo/library/utils/Element/ClButton",
|
|
6
|
-
ClCheckbox: "@cldemo/library/utils/Element/ClCheckbox",
|
|
7
|
-
ClCheckboxOne: "@cldemo/library/utils/Element/ClCheckboxOne",
|
|
8
|
-
ClClipboard: "@cldemo/library/utils/Element/ClClipboard",
|
|
9
|
-
ClCountup: "@cldemo/library/utils/Element/ClCountup",
|
|
10
|
-
ClCropper: "@cldemo/library/utils/Element/ClCropper",
|
|
11
|
-
ClDarg: "@cldemo/library/utils/Element/ClDarg",
|
|
12
|
-
ClEllipsis: "@cldemo/library/utils/Element/ClEllipsis",
|
|
13
|
-
ClForm: "@cldemo/library/utils/Element/ClForm",
|
|
14
|
-
ClFormGroup: "@cldemo/library/utils/Element/ClFormGroup",
|
|
15
|
-
ClFormValidate: "@cldemo/library/utils/Element/ClFormValidate",
|
|
16
|
-
ClIconFont: "@cldemo/library/utils/Element/ClIconFont",
|
|
17
|
-
ClImage: "@cldemo/library/utils/Element/ClImage",
|
|
18
|
-
ClInput: "@cldemo/library/utils/Element/ClInput",
|
|
19
|
-
ClInputCaptcha: "@cldemo/library/utils/Element/ClInputCaptcha",
|
|
20
|
-
ClInputNumber: "@cldemo/library/utils/Element/ClInputNumber",
|
|
21
|
-
ClInputSearch: "@cldemo/library/utils/Element/ClInputSearch",
|
|
22
|
-
ClInputTextarea: "@cldemo/library/utils/Element/ClInputTextarea",
|
|
23
|
-
ClInputnumberButton: "@cldemo/library/utils/Element/ClInputnumberButton",
|
|
24
|
-
ClLink: "@cldemo/library/utils/Element/ClLink",
|
|
25
|
-
ClLoad: "@cldemo/library/utils/Element/ClLoad",
|
|
26
|
-
ClLoadFullCenter: "@cldemo/library/utils/Element/ClLoadFullCenter",
|
|
27
|
-
ClLoadIng: "@cldemo/library/utils/Element/ClLoadIng",
|
|
28
|
-
ClLoadScreen: "@cldemo/library/utils/Element/ClLoadScreen",
|
|
29
|
-
ClLoadWarp: "@cldemo/library/utils/Element/ClLoadWarp",
|
|
30
|
-
ClModal: "@cldemo/library/utils/Element/ClModal",
|
|
31
|
-
ClProgress: "@cldemo/library/utils/Element/ClProgress",
|
|
32
|
-
ClRadio: "@cldemo/library/utils/Element/ClRadio",
|
|
33
|
-
ClRadioOne: "@cldemo/library/utils/Element/ClRadioOne",
|
|
34
|
-
ClSlider: "@cldemo/library/utils/Element/ClSlider",
|
|
35
|
-
ClSwitchery: "@cldemo/library/utils/Element/ClSwitchery",
|
|
36
|
-
ClTags: "@cldemo/library/utils/Element/ClTags",
|
|
37
|
-
ClTransitionSlideupdown: "@cldemo/library/utils/Element/ClTransitionSlideupdown",
|
|
38
|
-
ClWaterfall: "@cldemo/library/utils/Element/ClWaterfall",
|
|
39
|
-
ClWaterfallImage: "@cldemo/library/utils/Element/ClWaterfallImage",
|
|
40
|
-
// ===== Web =====
|
|
41
|
-
ClBreadcrumb: "@cldemo/library/utils/Web/ClBreadcrumb",
|
|
42
|
-
ClCalendar: "@cldemo/library/utils/Web/ClCalendar",
|
|
43
|
-
ClCard: "@cldemo/library/utils/Web/ClCard",
|
|
44
|
-
ClCardLegend: "@cldemo/library/utils/Web/ClCardLegend",
|
|
45
|
-
ClCollapse: "@cldemo/library/utils/Web/ClCollapse",
|
|
46
|
-
ClColorpicker: "@cldemo/library/utils/Web/ClColorpicker",
|
|
47
|
-
ClCropperPreview: "@cldemo/library/utils/Web/ClCropperPreview",
|
|
48
|
-
ClDatetime: "@cldemo/library/utils/Web/ClDatetime",
|
|
49
|
-
ClDropdownmenu: "@cldemo/library/utils/Web/ClDropdownmenu",
|
|
50
|
-
ClDropdownmenuItem: "@cldemo/library/utils/Web/ClDropdownmenuItem",
|
|
51
|
-
ClDropdownpopup: "@cldemo/library/utils/Web/ClDropdownpopup",
|
|
52
|
-
ClEcharts: "@cldemo/library/utils/Web/ClEcharts",
|
|
53
|
-
ClFileupload: "@cldemo/library/utils/Web/ClFileupload",
|
|
54
|
-
ClInputTag: "@cldemo/library/utils/Web/ClInputTag",
|
|
55
|
-
ClPaginate: "@cldemo/library/utils/Web/ClPaginate",
|
|
56
|
-
ClPortlet: "@cldemo/library/utils/Web/ClPortlet",
|
|
57
|
-
ClPreviewexample: "@cldemo/library/utils/Web/ClPreviewexample",
|
|
58
|
-
ClScrollXFence: "@cldemo/library/utils/Web/ClScrollXFence",
|
|
59
|
-
ClSelect: "@cldemo/library/utils/Web/ClSelect",
|
|
60
|
-
ClSelectCascade: "@cldemo/library/utils/Web/ClSelectCascade",
|
|
61
|
-
ClSelectTag: "@cldemo/library/utils/Web/ClSelectTag",
|
|
62
|
-
ClSelectTree: "@cldemo/library/utils/Web/ClSelectTree",
|
|
63
|
-
ClSelectmove: "@cldemo/library/utils/Web/ClSelectmove",
|
|
64
|
-
ClSidemenu: "@cldemo/library/utils/Web/ClSidemenu",
|
|
65
|
-
ClTable: "@cldemo/library/utils/Web/ClTable",
|
|
66
|
-
ClTabs: "@cldemo/library/utils/Web/ClTabs",
|
|
67
|
-
ClTree: "@cldemo/library/utils/Web/ClTree",
|
|
68
|
-
ClWeekhour: "@cldemo/library/utils/Web/ClWeekhour",
|
|
69
|
-
ClXeditable: "@cldemo/library/utils/Web/ClXeditable",
|
|
70
|
-
// ===== Mobile =====
|
|
71
|
-
ClCell: "@cldemo/library/utils/Mobile/ClCell",
|
|
72
|
-
ClPullToRefresh: "@cldemo/library/utils/Mobile/ClPullToRefresh"
|
|
73
|
-
};
|
|
74
|
-
function i(l) {
|
|
75
|
-
const e = r[l];
|
|
76
|
-
if (e) return { name: l, from: e, importName: "default" };
|
|
77
|
-
}
|
|
78
|
-
export {
|
|
79
|
-
r as clComponentMap,
|
|
80
|
-
i as clResolver
|
|
81
|
-
};
|
|
82
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/libs/resolver.ts"],"sourcesContent":["// Auto-generated by scripts/generate-resolver.cjs\n// DO NOT EDIT — run lib:build to regenerate\n\nexport const clComponentMap: Record<string, string> = {\n\n // ===== Element =====\n ClAnchorNav: '@cldemo/library/utils/Element/ClAnchorNav',\n ClBadge: '@cldemo/library/utils/Element/ClBadge',\n ClButton: '@cldemo/library/utils/Element/ClButton',\n ClCheckbox: '@cldemo/library/utils/Element/ClCheckbox',\n ClCheckboxOne: '@cldemo/library/utils/Element/ClCheckboxOne',\n ClClipboard: '@cldemo/library/utils/Element/ClClipboard',\n ClCountup: '@cldemo/library/utils/Element/ClCountup',\n ClCropper: '@cldemo/library/utils/Element/ClCropper',\n ClDarg: '@cldemo/library/utils/Element/ClDarg',\n ClEllipsis: '@cldemo/library/utils/Element/ClEllipsis',\n ClForm: '@cldemo/library/utils/Element/ClForm',\n ClFormGroup: '@cldemo/library/utils/Element/ClFormGroup',\n ClFormValidate: '@cldemo/library/utils/Element/ClFormValidate',\n ClIconFont: '@cldemo/library/utils/Element/ClIconFont',\n ClImage: '@cldemo/library/utils/Element/ClImage',\n ClInput: '@cldemo/library/utils/Element/ClInput',\n ClInputCaptcha: '@cldemo/library/utils/Element/ClInputCaptcha',\n ClInputNumber: '@cldemo/library/utils/Element/ClInputNumber',\n ClInputSearch: '@cldemo/library/utils/Element/ClInputSearch',\n ClInputTextarea: '@cldemo/library/utils/Element/ClInputTextarea',\n ClInputnumberButton: '@cldemo/library/utils/Element/ClInputnumberButton',\n ClLink: '@cldemo/library/utils/Element/ClLink',\n ClLoad: '@cldemo/library/utils/Element/ClLoad',\n ClLoadFullCenter: '@cldemo/library/utils/Element/ClLoadFullCenter',\n ClLoadIng: '@cldemo/library/utils/Element/ClLoadIng',\n ClLoadScreen: '@cldemo/library/utils/Element/ClLoadScreen',\n ClLoadWarp: '@cldemo/library/utils/Element/ClLoadWarp',\n ClModal: '@cldemo/library/utils/Element/ClModal',\n ClProgress: '@cldemo/library/utils/Element/ClProgress',\n ClRadio: '@cldemo/library/utils/Element/ClRadio',\n ClRadioOne: '@cldemo/library/utils/Element/ClRadioOne',\n ClSlider: '@cldemo/library/utils/Element/ClSlider',\n ClSwitchery: '@cldemo/library/utils/Element/ClSwitchery',\n ClTags: '@cldemo/library/utils/Element/ClTags',\n ClTransitionSlideupdown: '@cldemo/library/utils/Element/ClTransitionSlideupdown',\n ClWaterfall: '@cldemo/library/utils/Element/ClWaterfall',\n ClWaterfallImage: '@cldemo/library/utils/Element/ClWaterfallImage',\n\n // ===== Web =====\n ClBreadcrumb: '@cldemo/library/utils/Web/ClBreadcrumb',\n ClCalendar: '@cldemo/library/utils/Web/ClCalendar',\n ClCard: '@cldemo/library/utils/Web/ClCard',\n ClCardLegend: '@cldemo/library/utils/Web/ClCardLegend',\n ClCollapse: '@cldemo/library/utils/Web/ClCollapse',\n ClColorpicker: '@cldemo/library/utils/Web/ClColorpicker',\n ClCropperPreview: '@cldemo/library/utils/Web/ClCropperPreview',\n ClDatetime: '@cldemo/library/utils/Web/ClDatetime',\n ClDropdownmenu: '@cldemo/library/utils/Web/ClDropdownmenu',\n ClDropdownmenuItem: '@cldemo/library/utils/Web/ClDropdownmenuItem',\n ClDropdownpopup: '@cldemo/library/utils/Web/ClDropdownpopup',\n ClEcharts: '@cldemo/library/utils/Web/ClEcharts',\n ClFileupload: '@cldemo/library/utils/Web/ClFileupload',\n ClInputTag: '@cldemo/library/utils/Web/ClInputTag',\n ClPaginate: '@cldemo/library/utils/Web/ClPaginate',\n ClPortlet: '@cldemo/library/utils/Web/ClPortlet',\n ClPreviewexample: '@cldemo/library/utils/Web/ClPreviewexample',\n ClScrollXFence: '@cldemo/library/utils/Web/ClScrollXFence',\n ClSelect: '@cldemo/library/utils/Web/ClSelect',\n ClSelectCascade: '@cldemo/library/utils/Web/ClSelectCascade',\n ClSelectTag: '@cldemo/library/utils/Web/ClSelectTag',\n ClSelectTree: '@cldemo/library/utils/Web/ClSelectTree',\n ClSelectmove: '@cldemo/library/utils/Web/ClSelectmove',\n ClSidemenu: '@cldemo/library/utils/Web/ClSidemenu',\n ClTable: '@cldemo/library/utils/Web/ClTable',\n ClTabs: '@cldemo/library/utils/Web/ClTabs',\n ClTree: '@cldemo/library/utils/Web/ClTree',\n ClWeekhour: '@cldemo/library/utils/Web/ClWeekhour',\n ClXeditable: '@cldemo/library/utils/Web/ClXeditable',\n\n // ===== Mobile =====\n ClCell: '@cldemo/library/utils/Mobile/ClCell',\n ClPullToRefresh: '@cldemo/library/utils/Mobile/ClPullToRefresh',\n}\n\n/** unplugin-vue-components resolver */\nexport function clResolver(name: string) {\n const from = clComponentMap[name]\n if (from) return { name, from, importName: 'default' }\n}\n"],"names":["clComponentMap","clResolver","name","from"],"mappings":"AAGO,MAAMA,IAAyC;AAAA;AAAA,EAGpD,aAAa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GO,SAASC,EAAWC,GAAc;AACvC,QAAMC,IAAOH,EAAeE,CAAI;AAChC,MAAIC,EAAM,QAAO,EAAE,MAAAD,GAAM,MAAAC,GAAM,YAAY,UAAA;AAC7C;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),m=["onClick"],u={class:"anchor-label"},p=e.defineComponent({name:"ClAnchorNav",__name:"Index",props:{className:{type:String,default:""},list:{type:Array,required:!0}},setup(s){const a=s,c=e.ref(""),i=e.ref(!1),d=l=>{const o=document.getElementById(l);o&&o.scrollIntoView({behavior:"smooth",block:"start"})},r=()=>{const l=window.scrollY,o=window.innerHeight;i.value=l>100;const t=a.list.map(n=>({id:n.id,element:document.getElementById(n.id)})).filter(n=>n.element!==null);for(let n=t.length-1;n>=0;n--)if(t[n].element.getBoundingClientRect().top<=o/2){c.value=t[n].id;break}};return e.onMounted(()=>{window.addEventListener("scroll",r),r()}),e.onUnmounted(()=>{window.removeEventListener("scroll",r)}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["anchor-nav",{"is-fixed":i.value}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id,class:e.normalizeClass(["anchor-item",{active:c.value===t.id}]),onClick:n=>d(t.id)},[o[0]||(o[0]=e.createElementVNode("span",{class:"anchor-dot"},null,-1)),e.createElementVNode("span",u,e.toDisplayString(t.label),1)],10,m))),128))],2))}});module.exports=p;
|
|
2
|
-
//# sourceMappingURL=ClAnchorNav.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClAnchorNav.cjs","sources":["../../../src/libs/Element/AnchorNav/Index.vue"],"sourcesContent":["<template>\n <div class=\"anchor-nav\" :class=\"{ 'is-fixed': isFixed }\">\n <div v-for=\"item in list\" :key=\"item.id\" class=\"anchor-item\" :class=\"{ active: currentAnchor === item.id }\"\n @click=\"scrollToAnchor(item.id)\">\n <span class=\"anchor-dot\"></span>\n <span class=\"anchor-label\">{{ item.label }}</span>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, onMounted, onUnmounted } from 'vue'\nimport './Index.css'\nimport type { AnchorItem } from './AnchorItem'\n\ndefineOptions({ name: 'ClAnchorNav' })\n\nconst props = defineProps({\n className: {\n type: String,\n default: '', // desc: 自定义CSS类名\n },\n list: {\n type: Array as () => AnchorItem[],\n required: true, // desc: 锚点列表配置,每个锚点包含id和label属性\n },\n})\n\nconst currentAnchor = ref('')\nconst isFixed = ref(false)\n\nconst scrollToAnchor = (anchorId: string) => {\n const element = document.getElementById(anchorId)\n if (element) {\n element.scrollIntoView({ behavior: 'smooth', block: 'start' })\n }\n}\n\nconst handleScroll = () => {\n const scrollTop = window.scrollY\n const windowHeight = window.innerHeight\n\n isFixed.value = scrollTop > 100\n\n const anchorElements = props.list\n .map((item) => ({\n id: item.id,\n element: document.getElementById(item.id),\n }))\n .filter((a): a is { id: string; element: HTMLElement } => a.element !== null)\n\n for (let i = anchorElements.length - 1; i >= 0; i--) {\n const element = anchorElements[i].element\n const rect = element.getBoundingClientRect()\n if (rect.top <= windowHeight / 2) {\n currentAnchor.value = anchorElements[i].id\n break\n }\n }\n}\n\nonMounted(() => {\n window.addEventListener('scroll', handleScroll)\n handleScroll()\n})\n\nonUnmounted(() => {\n window.removeEventListener('scroll', handleScroll)\n})\n</script>\n"],"names":["props","__props","currentAnchor","ref","isFixed","scrollToAnchor","anchorId","element","handleScroll","scrollTop","windowHeight","anchorElements","item","a","i","onMounted","onUnmounted","_createElementBlock","_normalizeClass","_Fragment","_renderList","$event","_createElementVNode","_hoisted_2","_toDisplayString"],"mappings":"oNAiBA,MAAMA,EAAQC,EAWRC,EAAgBC,EAAAA,IAAI,EAAE,EACtBC,EAAUD,EAAAA,IAAI,EAAK,EAEnBE,EAAkBC,GAAqB,CAC3C,MAAMC,EAAU,SAAS,eAAeD,CAAQ,EAC5CC,GACFA,EAAQ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-radius:20px;box-shadow:0 2px 12px #0000001a;padding:10px 0;opacity:0;visibility:hidden;transition:all .3s ease}.anchor-nav.is-fixed{opacity:1;visibility:visible}.anchor-item{display:flex;align-items:center;padding:8px 12px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.anchor-item:hover{background:#0000000d}.anchor-item.active{background:#409eff1a}.anchor-item.active .anchor-dot{background:#409eff;transform:scale(1.2)}.anchor-item.active .anchor-label{color:#409eff}.anchor-dot{width:8px;height:8px;border-radius:50%;background:#ccc;margin-right:8px;transition:all .2s ease;flex-shrink:0}.anchor-label{font-size:12px;color:#666;opacity:1;max-width:80px;overflow:hidden;transition:all .2s ease;flex-shrink:0}@media(max-width:1200px){.anchor-nav{right:10px}}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, ref as d, onMounted as f, onUnmounted as w, openBlock as r, createElementBlock as s, normalizeClass as m, Fragment as g, renderList as k, createElementVNode as u, toDisplayString as y } from "vue";
|
|
2
|
-
const E = ["onClick"], C = { class: "anchor-label" }, B = /* @__PURE__ */ v({
|
|
3
|
-
name: "ClAnchorNav",
|
|
4
|
-
__name: "Index",
|
|
5
|
-
props: {
|
|
6
|
-
className: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: ""
|
|
9
|
-
// desc: 自定义CSS类名
|
|
10
|
-
},
|
|
11
|
-
list: {
|
|
12
|
-
type: Array,
|
|
13
|
-
required: !0
|
|
14
|
-
// desc: 锚点列表配置,每个锚点包含id和label属性
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
setup(c) {
|
|
18
|
-
const h = c, i = d(""), a = d(!1), p = (o) => {
|
|
19
|
-
const t = document.getElementById(o);
|
|
20
|
-
t && t.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
21
|
-
}, l = () => {
|
|
22
|
-
const o = window.scrollY, t = window.innerHeight;
|
|
23
|
-
a.value = o > 100;
|
|
24
|
-
const n = h.list.map((e) => ({
|
|
25
|
-
id: e.id,
|
|
26
|
-
element: document.getElementById(e.id)
|
|
27
|
-
})).filter((e) => e.element !== null);
|
|
28
|
-
for (let e = n.length - 1; e >= 0; e--)
|
|
29
|
-
if (n[e].element.getBoundingClientRect().top <= t / 2) {
|
|
30
|
-
i.value = n[e].id;
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
return f(() => {
|
|
35
|
-
window.addEventListener("scroll", l), l();
|
|
36
|
-
}), w(() => {
|
|
37
|
-
window.removeEventListener("scroll", l);
|
|
38
|
-
}), (o, t) => (r(), s("div", {
|
|
39
|
-
class: m(["anchor-nav", { "is-fixed": a.value }])
|
|
40
|
-
}, [
|
|
41
|
-
(r(!0), s(g, null, k(c.list, (n) => (r(), s("div", {
|
|
42
|
-
key: n.id,
|
|
43
|
-
class: m(["anchor-item", { active: i.value === n.id }]),
|
|
44
|
-
onClick: (e) => p(n.id)
|
|
45
|
-
}, [
|
|
46
|
-
t[0] || (t[0] = u("span", { class: "anchor-dot" }, null, -1)),
|
|
47
|
-
u("span", C, y(n.label), 1)
|
|
48
|
-
], 10, E))), 128))
|
|
49
|
-
], 2));
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
export {
|
|
53
|
-
B as default
|
|
54
|
-
};
|
|
55
|
-
//# sourceMappingURL=ClAnchorNav.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClAnchorNav.js","sources":["../../../src/libs/Element/AnchorNav/Index.vue"],"sourcesContent":["<template>\n <div class=\"anchor-nav\" :class=\"{ 'is-fixed': isFixed }\">\n <div v-for=\"item in list\" :key=\"item.id\" class=\"anchor-item\" :class=\"{ active: currentAnchor === item.id }\"\n @click=\"scrollToAnchor(item.id)\">\n <span class=\"anchor-dot\"></span>\n <span class=\"anchor-label\">{{ item.label }}</span>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, onMounted, onUnmounted } from 'vue'\nimport './Index.css'\nimport type { AnchorItem } from './AnchorItem'\n\ndefineOptions({ name: 'ClAnchorNav' })\n\nconst props = defineProps({\n className: {\n type: String,\n default: '', // desc: 自定义CSS类名\n },\n list: {\n type: Array as () => AnchorItem[],\n required: true, // desc: 锚点列表配置,每个锚点包含id和label属性\n },\n})\n\nconst currentAnchor = ref('')\nconst isFixed = ref(false)\n\nconst scrollToAnchor = (anchorId: string) => {\n const element = document.getElementById(anchorId)\n if (element) {\n element.scrollIntoView({ behavior: 'smooth', block: 'start' })\n }\n}\n\nconst handleScroll = () => {\n const scrollTop = window.scrollY\n const windowHeight = window.innerHeight\n\n isFixed.value = scrollTop > 100\n\n const anchorElements = props.list\n .map((item) => ({\n id: item.id,\n element: document.getElementById(item.id),\n }))\n .filter((a): a is { id: string; element: HTMLElement } => a.element !== null)\n\n for (let i = anchorElements.length - 1; i >= 0; i--) {\n const element = anchorElements[i].element\n const rect = element.getBoundingClientRect()\n if (rect.top <= windowHeight / 2) {\n currentAnchor.value = anchorElements[i].id\n break\n }\n }\n}\n\nonMounted(() => {\n window.addEventListener('scroll', handleScroll)\n handleScroll()\n})\n\nonUnmounted(() => {\n window.removeEventListener('scroll', handleScroll)\n})\n</script>\n"],"names":["props","__props","currentAnchor","ref","isFixed","scrollToAnchor","anchorId","element","handleScroll","scrollTop","windowHeight","anchorElements","item","a","i","onMounted","onUnmounted","_createElementBlock","_normalizeClass","_Fragment","_renderList","$event","_createElementVNode","_hoisted_2","_toDisplayString"],"mappings":";;;;;;;;;;;;;;;;;AAiBA,UAAMA,IAAQC,GAWRC,IAAgBC,EAAI,EAAE,GACtBC,IAAUD,EAAI,EAAK,GAEnBE,IAAiB,CAACC,MAAqB;AAC3C,YAAMC,IAAU,SAAS,eAAeD,CAAQ;AAChD,MAAIC,KACFA,EAAQ,eAAe,EAAE,UAAU,UAAU,OAAO,SAAS;AAAA,IAEjE,GAEMC,IAAe,MAAM;AACzB,YAAMC,IAAY,OAAO,SACnBC,IAAe,OAAO;AAE5B,MAAAN,EAAQ,QAAQK,IAAY;AAE5B,YAAME,IAAiBX,EAAM,KAC1B,IAAI,CAACY,OAAU;AAAA,QACd,IAAIA,EAAK;AAAA,QACT,SAAS,SAAS,eAAeA,EAAK,EAAE;AAAA,MAAA,EACxC,EACD,OAAO,CAACC,MAAiDA,EAAE,YAAY,IAAI;AAE9E,eAASC,IAAIH,EAAe,SAAS,GAAGG,KAAK,GAAGA;AAG9C,YAFgBH,EAAeG,CAAC,EAAE,QACb,sBAAA,EACZ,OAAOJ,IAAe,GAAG;AAChC,UAAAR,EAAc,QAAQS,EAAeG,CAAC,EAAE;AACxC;AAAA,QACF;AAAA,IAEJ;AAEA,WAAAC,EAAU,MAAM;AACd,aAAO,iBAAiB,UAAUP,CAAY,GAC9CA,EAAA;AAAA,IACF,CAAC,GAEDQ,EAAY,MAAM;AAChB,aAAO,oBAAoB,UAAUR,CAAY;AAAA,IACnD,CAAC,mBAnECS,EAMM,OAAA;AAAA,MAND,OAAKC,EAAA,CAAC,cAAY,EAAA,YAAuBd,EAAA,OAAO,CAAA;AAAA,IAAA;cACnDa,EAIME,GAAA,MAAAC,EAJcnB,EAAA,MAAI,CAAZW,YAAZK,EAIM,OAAA;AAAA,QAJqB,KAAKL,EAAK;AAAA,QAAI,UAAM,eAAa,EAAA,QAAmBV,YAAkBU,EAAK,GAAA,CAAE,CAAA;AAAA,QACrG,SAAK,CAAAS,MAAEhB,EAAeO,EAAK,EAAE;AAAA,MAAA;wBAC9BU,EAAgC,QAAA,EAA1B,OAAM,aAAA,GAAY,MAAA,EAAA;AAAA,QACxBA,EAAkD,QAAlDC,GAAkDC,EAApBZ,EAAK,KAAK,GAAA,CAAA;AAAA,MAAA;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClBadge.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClBadge.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("../Shared/base-iCmnU-fv.js"),b=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js"),I=require("../Web/__directive__/Waves.cjs"),V=require("../Shared/_plugin-vue_export-helper-BHFhmbuH.js"),D={class:"panel-btn-parent"},L=["disabled"],T={key:1,class:"btn-label"},P={key:0,class:"btn-loading"},q={class:"btn-body-backdrop-container"},W={class:"btn-body-backdrop-text"},$=e.defineComponent({name:"ClButton",directives:{clwaves:I.wavesBind},__name:"Index",props:{className:{type:String,default:""},label:{type:String,default:""},icon:{type:String,default:""},color:{type:String,default:"default"},size:{type:String,default:""},disabled:{type:Boolean,default:!1},isShowLoad:{type:Boolean,default:!1},loadPos:{type:String,default:"right",validator:n=>["right","zoom-out","fixedCenter"].indexOf(n)!==-1},loadTheme:{type:String,default:"rotaryLine"},loadDrift:{type:Boolean,default:!0},loadText:{type:String,default:""},isShowBackDrop:{type:Boolean,default:!1},isShowWaves:{type:Boolean,default:!0},wavesColor:{type:String,default:"white"},loadStatusIsIng:{type:[Boolean,null],default:null}},emits:["onClick"],setup(n,{expose:y,emit:h}){const o=n;a.CommonBase.isEmpty(o.label)&&a.CommonBase.isEmpty(o.icon)&&console.warn('[ClButton] Warning: Either "label" or "icon" prop is required.');const k=h,i=e.ref(null),s=e.ref(!1),c=e.ref(!1),u=e.ref(!1),p=e.computed(()=>!a.CommonBase.isEmpty(o.label)),d=e.computed(()=>!a.CommonBase.isEmpty(o.icon)),C=e.computed(()=>o.disabled?!0:s.value),r=e.computed(()=>o.loadPos==="fixedCenter"),_=e.computed(()=>{let t=o.wavesColor||"white";return(a.CommonBase.isExistValue(o.color,"white")||a.CommonBase.isExistValue(o.color,"grayLight"))&&(t="black"),t}),f=e.computed(()=>{let t=o.loadPos||"right";return a.CommonBase.isExistValue(o.className,"btn-circle")&&a.CommonBase.isExistValue(t,"right")&&(t="zoom-out"),t}),v=e.computed(()=>{let t="large";switch(o.loadTheme){case"rotaryLine":t=o.size==="small"?"small":"large",a.CommonBase.isExistValue(o.className,"btn-circle")&&(t="small");break;case"circleNotch":t="large";break;case"circleBubble":t="small";break}return t}),E=e.computed(()=>{const t={"btn-parent":!0,btn:!0};return a.CommonBase.isEmpty(o.color)||(t[`btn-${o.color}`]=!0),a.CommonBase.isEmpty(o.className)||o.className?.split(" ").forEach(l=>{a.CommonBase.isEmpty(l)||(t[l]=!0)}),a.CommonBase.isEmpty(o.size)||(t[`btn-${o.size}`]=!0),t["btn-load-ing"]=s.value,s.value&&(t[`btn-load-${f.value}`]=!0,t[`btn-load-${o.loadTheme}`]=!0,t["btn-load-nodrift"]=!o.loadDrift),i.value&&i.value.className&&i.value.className.split(" ").forEach(l=>{a.CommonBase.isEmpty(l)||a.CommonBase.isExistJsonKey(t,l)||(t[l]=!0)}),t}),g=e.computed(()=>{const t={"btn-icon":!0};return d.value&&o.icon?.split(" ").forEach(l=>{a.CommonBase.isEmpty(l)||(t[l]=!0)}),t}),S=e.computed(()=>{const t=s.value&&r.value;return{"btn-body-backdrop-main":!0,animated:!0,zoomIn:t,zoomOut:!t}}),w=e.computed(()=>{const t={};return(p.value||d.value)&&f.value==="zoom-out"&&s.value&&!r.value&&(t.opacity=0),t}),m=()=>{s.value||(o.isShowBackDrop&&(c.value=!0,u.value=!0),s.value=!0)},B=()=>{o.isShowBackDrop&&(r.value?e.nextTick(()=>{setTimeout(()=>{c.value=!1,u.value=!1},200)}):c.value=!1),s.value=!1};e.watch(()=>o.loadStatusIsIng,t=>{a.CommonBase.isBoolean(t)&&(t?m():B())});const x=()=>{k("onClick")},z=()=>{o.disabled||(o.isShowLoad&&m(),x())};return y({loadStart:()=>{m()},loadStop:()=>{B()}}),(t,l)=>{const N=e.resolveDirective("clwaves");return e.openBlock(),e.createElementBlock("span",D,[e.withDirectives((e.openBlock(),e.createElementBlock("button",{ref_key:"refElTopParent",ref:i,type:"button",class:e.normalizeClass(E.value),disabled:C.value,onClick:z},[e.createElementVNode("span",{style:e.normalizeStyle(w.value)},[d.value?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(g.value)},null,2)):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("span",T,e.toDisplayString(n.label),1)):e.createCommentVNode("",!0)],4),s.value&&!r.value?(e.openBlock(),e.createElementBlock("span",P,[e.createVNode(b._sfc_main,{theme:n.loadTheme,size:v.value},null,8,["theme","size"])])):e.createCommentVNode("",!0)],10,L)),[[N,{color:_.value}]]),c.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l[0]||(l[0]=e.createElementVNode("div",{class:"btn-body-backdrop"},null,-1)),r.value&&u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(S.value)},[e.createElementVNode("div",q,[e.createVNode(b._sfc_main,{theme:n.loadTheme,size:v.value},null,8,["theme","size"]),e.createElementVNode("div",W,e.toDisplayString(n.loadText||"加载中"),1)])],2)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}}}),R=V._export_sfc($,[["__scopeId","data-v-3215c07e"]]);module.exports=R;
|
|
2
|
-
//# sourceMappingURL=ClButton.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClButton.cjs","sources":["../../../src/libs/Element/Button/Index.vue"],"sourcesContent":["<template>\n <span class=\"panel-btn-parent\">\n <button\n ref=\"refElTopParent\"\n type=\"button\"\n :class=\"clsParent\"\n :disabled=\"optIsDisabled\"\n @click=\"onClick\"\n v-clwaves=\"{ color: optWavesColor }\"\n >\n <span :style=\"styBtnChild\">\n <i\n :class=\"clsIcon\"\n v-if=\"optIsShowIcon\"\n ></i>\n <span\n class=\"btn-label\"\n v-if=\"optIsShowLabel\"\n >{{ label }}</span>\n </span>\n <span\n class=\"btn-loading\"\n v-if=\"optIsRunLoading && !optIsShowBackDropLoad\"\n >\n <ClLoad\n :theme=\"loadTheme\"\n :size=\"optLoadSize\"\n />\n </span>\n </button>\n <template v-if=\"optIsShowBackDrop\">\n <div class=\"btn-body-backdrop\"></div>\n <div\n :class=\"clsBodyBackdropMain\"\n v-if=\"optIsShowBackDropLoad && optIsBackDropRunLoading\"\n >\n <div class=\"btn-body-backdrop-container\">\n <ClLoad\n :theme=\"loadTheme\"\n :size=\"optLoadSize\"\n />\n <div class=\"btn-body-backdrop-text\">{{ loadText || '加载中' }}</div>\n </div>\n </div>\n </template>\n </span>\n</template>\n\n<script setup lang=\"ts\">\nimport './Index.css'\nimport { ref, computed, watch, nextTick } from 'vue'\nimport CommonBase from '../../Common/base'\nimport ClLoad from '../Load/Index.vue'\nimport { wavesBind } from '../../Web/Waves'\n\n// defineOptions\ndefineOptions({\n name: 'ClButton',\n directives: {\n clwaves: wavesBind\n }\n})\n\n// props\nconst props = defineProps({\n className: {\n type: String,\n default: '' // desc: 自定义CSS类名\n },\n label: {\n type: String,\n default: '' // desc: 按钮文本标签\n },\n icon: {\n type: String,\n default: '' // desc: 按钮图标类名\n },\n color: {\n type: String,\n default: 'default' // desc: 按钮颜色主题 | enum: default, green, red, yellow, white, grayLight, transparent\n },\n size: {\n type: String,\n default: '' // desc: 按钮尺寸 | enum: large, small, xl\n },\n disabled: {\n type: Boolean,\n default: false // desc: 是否禁用按钮\n },\n isShowLoad: {\n type: Boolean,\n default: false // desc: 是否显示加载动画\n },\n loadPos: {\n type: String,\n default: 'right', // desc: 加载动画位置 | enum: right, zoom-out, fixedCenter\n validator: (value: string) => {\n return ['right', 'zoom-out', 'fixedCenter'].indexOf(value) !== -1\n }\n },\n loadTheme: {\n type: String,\n default: 'rotaryLine' // desc: 加载动画主题 | enum: rotaryLine, circleNotch, circleBubble\n },\n loadDrift: {\n type: Boolean,\n default: true // desc: 加载时是否漂移\n },\n loadText: {\n type: String,\n default: '' // desc: 加载提示文本\n },\n isShowBackDrop: {\n type: Boolean,\n default: false // desc: 是否显示遮罩层\n },\n isShowWaves: {\n type: Boolean,\n default: true // desc: 是否显示点击波纹效果\n },\n wavesColor: {\n type: String,\n default: 'white' // desc: 波纹颜色 | enum: white, black\n },\n loadStatusIsIng: {\n type: [Boolean, null],\n default: null // desc: 加载状态控制(true开始,false结束,null忽略)\n }\n})\n\nif (CommonBase.isEmpty(props.label) && CommonBase.isEmpty(props.icon)) {\n console.warn('[ClButton] Warning: Either \"label\" or \"icon\" prop is required.')\n}\n\n// emit\nconst emit = defineEmits<{\n (e: 'onClick'): void\n}>()\n\n// refs\nconst refElTopParent = ref<HTMLElement | null>(null)\n\n// reactive\nconst optIsRunLoading = ref(false)\nconst optIsShowBackDrop = ref(false)\nconst optIsBackDropRunLoading = ref(false)\n\n// computed\nconst optIsShowLabel = computed(() => {\n return !CommonBase.isEmpty(props.label)\n})\n\nconst optIsShowIcon = computed(() => {\n return !CommonBase.isEmpty(props.icon)\n})\n\nconst optIsDisabled = computed(() => {\n return props.disabled ? true : optIsRunLoading.value\n})\n\nconst optIsShowBackDropLoad = computed(() => {\n return props.loadPos === 'fixedCenter'\n})\n\nconst optWavesColor = computed(() => {\n let color = props.wavesColor || 'white'\n if (CommonBase.isExistValue(props.color, 'white') || CommonBase.isExistValue(props.color, 'grayLight')) {\n color = 'black'\n }\n return color\n})\n\nconst optLoadPos = computed(() => {\n let pos = props.loadPos || 'right'\n if (CommonBase.isExistValue(props.className, 'btn-circle')) {\n if (CommonBase.isExistValue(pos, 'right')) {\n pos = 'zoom-out'\n }\n }\n return pos\n})\n\nconst optLoadSize = computed(() => {\n let size = 'large'\n switch (props.loadTheme) {\n case 'rotaryLine':\n size = props.size === 'small' ? 'small' : 'large'\n if (CommonBase.isExistValue(props.className, 'btn-circle')) {\n size = 'small'\n }\n break\n case 'circleNotch':\n size = 'large'\n break\n case 'circleBubble':\n size = 'small'\n break\n }\n return size\n})\n\nconst clsParent = computed(() => {\n const cls: any = {\n 'btn-parent': true,\n btn: true,\n }\n if (!CommonBase.isEmpty(props.color)) {\n cls[`btn-${props.color}`] = true\n }\n if (!CommonBase.isEmpty(props.className)) {\n props.className?.split(' ').forEach((c) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n if (!CommonBase.isEmpty(props.size)) {\n cls[`btn-${props.size}`] = true\n }\n\n cls['btn-load-ing'] = optIsRunLoading.value\n if (optIsRunLoading.value) {\n cls[`btn-load-${optLoadPos.value}`] = true\n cls[`btn-load-${props.loadTheme}`] = true\n cls['btn-load-nodrift'] = !props.loadDrift\n }\n\n if (refElTopParent.value && refElTopParent.value.className) {\n refElTopParent.value.className.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n if (!CommonBase.isExistJsonKey(cls, c)) {\n cls[c] = true\n }\n }\n })\n }\n return cls\n})\n\nconst clsIcon = computed(() => {\n const cls: any = {\n 'btn-icon': true,\n }\n if (optIsShowIcon.value) {\n props.icon?.split(' ').forEach((c) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsBodyBackdropMain = computed(() => {\n const isRun = optIsRunLoading.value && optIsShowBackDropLoad.value\n const cls = {\n 'btn-body-backdrop-main': true,\n animated: true,\n zoomIn: isRun,\n zoomOut: !isRun,\n }\n return cls\n})\n\nconst styBtnChild = computed(() => {\n const sty: any = {}\n if (optIsShowLabel.value || optIsShowIcon.value) {\n if (optLoadPos.value === 'zoom-out' && optIsRunLoading.value && !optIsShowBackDropLoad.value) {\n sty.opacity = 0\n }\n }\n return sty\n})\n\n// 内部方法\nconst _runLoading = () => {\n if (!optIsRunLoading.value) {\n if (props.isShowBackDrop) {\n optIsShowBackDrop.value = true\n optIsBackDropRunLoading.value = true\n }\n optIsRunLoading.value = true\n }\n}\n\nconst _runLoadEnd = () => {\n if (props.isShowBackDrop) {\n if (optIsShowBackDropLoad.value) {\n nextTick(() => {\n setTimeout(() => {\n optIsShowBackDrop.value = false\n optIsBackDropRunLoading.value = false\n }, 200)\n })\n } else {\n optIsShowBackDrop.value = false\n }\n }\n optIsRunLoading.value = false\n}\n\n// watch\nwatch(\n () => props.loadStatusIsIng,\n (newValue) => {\n if (CommonBase.isBoolean(newValue)) {\n newValue ? _runLoading() : _runLoadEnd()\n }\n }\n)\n\n// emit 外部使用的事件\nconst _emitClick = () => {\n emit('onClick')\n}\n\n// 内部触发的事件 on\nconst onClick = () => {\n if (!props.disabled) {\n if (props.isShowLoad) {\n _runLoading()\n }\n _emitClick()\n }\n}\n\n// 外部调用\nconst loadStart = () => {\n _runLoading()\n}\n\nconst loadStop = () => {\n _runLoadEnd()\n}\n\n// 暴露给外部的方法\nexport interface ClButtonExpose {\n loadStart: () => void\n loadStop: () => void\n}\n\ndefineExpose({\n loadStart,\n loadStop\n})\n</script>\n\n<style scoped>\n.panel-btn-parent {\n display: inline-block;\n}\n</style>\n"],"names":["props","__props","CommonBase","emit","__emit","refElTopParent","ref","optIsRunLoading","optIsShowBackDrop","optIsBackDropRunLoading","optIsShowLabel","computed","optIsShowIcon","optIsDisabled","optIsShowBackDropLoad","optWavesColor","color","optLoadPos","pos","optLoadSize","size","clsParent","cls","c","clsIcon","clsBodyBackdropMain","isRun","styBtnChild","sty","_runLoading","_runLoadEnd","nextTick","watch","newValue","_emitClick","onClick","__expose","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_3","_toDisplayString","_hoisted_4","_createVNode","ClLoad","_Fragment","_hoisted_5","_hoisted_6"],"mappings":"6qCAgEA,MAAMA,EAAQC,EAkEVC,EAAAA,WAAW,QAAQF,EAAM,KAAK,GAAKE,EAAAA,WAAW,QAAQF,EAAM,IAAI,GAClE,QAAQ,KAAK,gEAAgE,EAI/E,MAAMG,EAAOC,EAKPC,EAAiBC,EAAAA,IAAwB,IAAI,EAG7CC,EAAkBD,EAAAA,IAAI,EAAK,EAC3BE,EAAoBF,EAAAA,IAAI,EAAK,EAC7BG,EAA0BH,EAAAA,IAAI,EAAK,EAGnCI,EAAiBC,EAAAA,SAAS,IACvB,CAACT,EAAAA,WAAW,QAAQF,EAAM,KAAK,CACvC,EAEKY,EAAgBD,EAAAA,SAAS,IAC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,KAAA,EAAA,GAGtB1B,EAAA,OAAyBL,EAAA,qBAFjC6B,EAAAA,mBAWM,MAAA,OAVH,uBAAOb,EAAA,KAAmB,CAAA,GAG3Be,EAAAA,mBAMM,MANNO,EAMM,CALJH,EAAAA,YAGEC,EAAAA,UAAA,CAFC,MAAO5C,EAAA,UACP,KAAMkB,EAAA,KAAA,2BAETqB,EAAAA,mBAAiE,MAAjEQ,EAAiEN,EAAAA,gBAA1BzC,EAAA,UAAQ,KAAA,EAAA,CAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.btn{border:1px solid transparent;font-size:.875rem}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn:focus{box-shadow:none}.btn[disabled]{cursor:no-drop!important}.btn-small{padding:3px 10px}.btn-large{padding:8px 24px;font-size:14px}.btn-xl{padding:10px 30px;font-size:20px}.btn-default{background-color:#1088f0;border-color:#1088f0;color:#fff!important}.btn-default:hover,.btn-default:focus{background-color:#0f71f5!important;border:1px solid #0f71f5!important;box-shadow:none}.btn-green{background-color:#4bb748;border-color:#4bb748;color:#fff!important}.btn-green:hover,.btn-green:focus{background-color:#1a8b44!important;border:1px solid #1a8b44!important}.btn-red{background-color:#ee3c24;border-color:#ee3c24;color:#fff!important}.btn-red:hover,.btn-red:focus{background-color:#ce2928!important;border:1px solid #ce2928!important}.btn-yellow{background-color:#fbe300;border-color:#fbe300;color:#fff!important}.btn-yellow:hover,.btn-yellow:focus{background-color:#cdb72e!important;border:1px solid #cdb72e!important}.btn-white{border:1px solid #D2D9E2!important;background-color:#fff;color:#4c5667}.btn-white:hover,.btn-white:focus{background-color:#f5f5f5}.btn[disabled].btn-white,.btn[disabled].btn-white:focus{background-color:#fff}.btn-grayLight{background-color:#f5f5f5;border-color:#dcdcdc;color:inherit}.btn-grayLight:hover,.btn-grayLight:focus{background-color:#e8e8e8!important;border:1px solid #dcdcdc!important}.btn-transparent{background-color:transparent;border:1px solid #1088F0!important;color:#1088f0}.btn-transparent:hover,.btn-transparent:focus{border:1px solid #004CA3!important;color:#004ca3}.btn[disabled].btn-transparent,.btn[disabled].btn-transparent:focus{border-color:#1088f0!important;color:#1088f0}.btn-link{cursor:pointer;color:#909090;text-decoration:none;border-bottom:1px dashed transparent}.btn-link:hover,.btn-link:focus{border-bottom-color:#1088f0;color:#1088f0;text-decoration:none}.btn-link.always-light{color:#1088f0}.btn-link.always-light:hover,.btn-link.always-light:focus{color:#035da5;border-bottom-color:#035da5}.btn-link.underline-none:hover,.btn-link.underline-none:focus{border-bottom-color:transparent}.btn.btn-link:hover,.btn.btn-link:focus{color:#909090}.btn-link-red.always-light{color:#ee3c24}.btn-link-red:hover,.btn-link-red:focus,.btn-link-red.always-light:hover,.btn-link-red.always-light:focus{border-bottom-color:#ee3c24;color:#ee3c24!important}.btn-link-yellow.always-light{color:#fbe300}.btn-link-yellow:hover,.btn-link-yellow:focus{color:#fbe300;border-bottom-color:#fbe300}.btn-link.btn-link-disabled{cursor:no-drop!important;opacity:.5}.btn-link.btn-link-disabled:hover,.btn-link.btn-link-disabled:focus{border-bottom-color:transparent}button.btn-link.btn-default{color:#007bff!important;background-color:transparent;border-color:transparent}button.btn-link.btn-default:hover{color:#0056b3!important;background-color:transparent!important;border-color:transparent!important}.panel-group-link{display:flex;flex-direction:row;align-items:center}.panel-group-link>.btn-link{margin-right:5px}.panel-group-link>.btn-link:last-child{margin-right:0}.panel-group-link>.panel-fileUpload{display:inline-block;height:21px;margin-right:5px;margin-top:-3px}.panel-group-link>.panel-fileUpload button.btn-link.btn-default{padding:0;border-width:0!important;color:#1088f0!important}.panel-group-link>.panel-fileUpload button.btn-link.btn-default:hover{color:#035da5!important}.btn-circle{border-radius:50%;width:35px;height:35px;padding:0}.btn-ellipse{border-radius:20px}.btn-parent{position:relative}.btn-parent>span:first-child{display:flex;flex-direction:row;align-items:center;justify-content:center}.btn-parent .btn-label{position:relative;z-index:3}.btn-parent .btn-icon+.btn-label{margin-left:5px}.btn-parent>.btn-loading{position:absolute;z-index:2;display:inline-block;top:50%;left:auto;opacity:1;pointer-events:none}.btn-parent,.btn-parent>.btn-loading{transition:.3s cubic-bezier(.175,.885,.32,1.275) all!important}.btn-load-rotaryLine .btn-loading{width:30px;height:30px}.btn-load-rotaryLine.btn-load-right.btn-load-ing{padding-right:45px}.btn-load-rotaryLine.btn-load-right.btn-load-ing.btn-load-nodrift{padding-right:12px}.btn-load-rotaryLine.btn-load-right>.btn-loading{right:5px;margin-top:-15px}.btn-load-circleNotch .btn-loading{width:24px;height:24px}.btn-load-circleNotch.btn-load-right.btn-load-ing{padding-right:35px}.btn-load-circleNotch.btn-load-right.btn-load-ing.btn-load-nodrift{padding-right:12px}.btn-load-circleNotch.btn-load-right>.btn-loading{right:5px;margin-top:-12px}.btn-load-circleBubble .btn-loading{width:30px;height:30px}.btn-load-circleBubble .circleBubble-item{background-color:#fff}.btn-load-circleBubble.btn-load-right.btn-load-ing{padding-right:40px}.btn-load-circleBubble.btn-load-right.btn-load-ing.btn-load-nodrift{padding-right:12px}.btn-load-circleBubble.btn-load-right>.btn-loading{right:5px;margin-top:-15px}.btn-load-zoom-out,.btn-load-zoom-out>.btn-label{transition:.4s ease all!important}.btn-load-zoom-out{overflow:hidden}.btn-load-zoom-out>.btn-label{position:relative;display:inline-block}.btn-load-zoom-out.btn-load-ing>.btn-icon,.btn-load-zoom-out.btn-load-ing>.btn-label{opacity:0;transform:scale(.5)}.btn-load-zoom-out>.btn-loading{opacity:0;transform:scale(.25);left:50%}.btn-load-zoom-out.btn-load-ing>.btn-loading{opacity:1;transform:scale(1)}.btn-load-zoom-out.btn-load-rotaryLine>.btn-loading{margin-left:-15px;margin-top:-15px}.btn-load-zoom-out.btn-load-circleNotch>.btn-loading{margin-left:-12px;margin-top:-12px}.btn-load-zoom-out.btn-load-circleBubble>.btn-loading{margin-left:-15px;margin-top:-15px}.btn-small.btn-load-rotaryLine.btn-load-right.btn-load-ing{padding-right:35px}.btn-small.btn-load-rotaryLine>.btn-loading{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.btn-circle.btn-load-zoom-out.btn-load-rotaryLine>.btn-loading{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.btn-body-backdrop{position:fixed;inset:0;z-index:999999;background-color:#000;opacity:.02;cursor:default}.btn-body-backdrop-main{position:fixed;top:50%;left:50%;z-index:999999;width:100px;height:100px;margin-left:-50px;margin-top:-50px;background-color:#9e9e9e;border-radius:5px;animation-duration:.4s}.btn-body-backdrop-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:inherit}.btn-body-backdrop-container .btn-body-backdrop-text{color:#fff;font-size:12px;margin-top:5px;cursor:default}.btn-body-backdrop-container .load-rotaryLine .rotary-line>div{background:#fff}.panel-btn-parent[data-v-3215c07e]{display:inline-block}
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import { defineComponent as W, ref as f, computed as l, watch as O, resolveDirective as q, openBlock as n, createElementBlock as r, withDirectives as F, normalizeClass as h, createElementVNode as m, normalizeStyle as J, createCommentVNode as u, toDisplayString as B, createVNode as w, Fragment as K, nextTick as M } from "vue";
|
|
2
|
-
import { C as a } from "../Shared/base-PQGakkrl.js";
|
|
3
|
-
import { _ } from "../Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js";
|
|
4
|
-
import { wavesBind as j } from "../Web/__directive__/Waves.js";
|
|
5
|
-
import { _ as A } from "../Shared/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const G = { class: "panel-btn-parent" }, H = ["disabled"], Q = {
|
|
7
|
-
key: 1,
|
|
8
|
-
class: "btn-label"
|
|
9
|
-
}, U = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "btn-loading"
|
|
12
|
-
}, X = { class: "btn-body-backdrop-container" }, Y = { class: "btn-body-backdrop-text" }, Z = /* @__PURE__ */ W({
|
|
13
|
-
name: "ClButton",
|
|
14
|
-
directives: {
|
|
15
|
-
clwaves: j
|
|
16
|
-
},
|
|
17
|
-
__name: "Index",
|
|
18
|
-
props: {
|
|
19
|
-
className: {
|
|
20
|
-
type: String,
|
|
21
|
-
default: ""
|
|
22
|
-
// desc: 自定义CSS类名
|
|
23
|
-
},
|
|
24
|
-
label: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: ""
|
|
27
|
-
// desc: 按钮文本标签
|
|
28
|
-
},
|
|
29
|
-
icon: {
|
|
30
|
-
type: String,
|
|
31
|
-
default: ""
|
|
32
|
-
// desc: 按钮图标类名
|
|
33
|
-
},
|
|
34
|
-
color: {
|
|
35
|
-
type: String,
|
|
36
|
-
default: "default"
|
|
37
|
-
// desc: 按钮颜色主题 | enum: default, green, red, yellow, white, grayLight, transparent
|
|
38
|
-
},
|
|
39
|
-
size: {
|
|
40
|
-
type: String,
|
|
41
|
-
default: ""
|
|
42
|
-
// desc: 按钮尺寸 | enum: large, small, xl
|
|
43
|
-
},
|
|
44
|
-
disabled: {
|
|
45
|
-
type: Boolean,
|
|
46
|
-
default: !1
|
|
47
|
-
// desc: 是否禁用按钮
|
|
48
|
-
},
|
|
49
|
-
isShowLoad: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: !1
|
|
52
|
-
// desc: 是否显示加载动画
|
|
53
|
-
},
|
|
54
|
-
loadPos: {
|
|
55
|
-
type: String,
|
|
56
|
-
default: "right",
|
|
57
|
-
// desc: 加载动画位置 | enum: right, zoom-out, fixedCenter
|
|
58
|
-
validator: (i) => ["right", "zoom-out", "fixedCenter"].indexOf(i) !== -1
|
|
59
|
-
},
|
|
60
|
-
loadTheme: {
|
|
61
|
-
type: String,
|
|
62
|
-
default: "rotaryLine"
|
|
63
|
-
// desc: 加载动画主题 | enum: rotaryLine, circleNotch, circleBubble
|
|
64
|
-
},
|
|
65
|
-
loadDrift: {
|
|
66
|
-
type: Boolean,
|
|
67
|
-
default: !0
|
|
68
|
-
// desc: 加载时是否漂移
|
|
69
|
-
},
|
|
70
|
-
loadText: {
|
|
71
|
-
type: String,
|
|
72
|
-
default: ""
|
|
73
|
-
// desc: 加载提示文本
|
|
74
|
-
},
|
|
75
|
-
isShowBackDrop: {
|
|
76
|
-
type: Boolean,
|
|
77
|
-
default: !1
|
|
78
|
-
// desc: 是否显示遮罩层
|
|
79
|
-
},
|
|
80
|
-
isShowWaves: {
|
|
81
|
-
type: Boolean,
|
|
82
|
-
default: !0
|
|
83
|
-
// desc: 是否显示点击波纹效果
|
|
84
|
-
},
|
|
85
|
-
wavesColor: {
|
|
86
|
-
type: String,
|
|
87
|
-
default: "white"
|
|
88
|
-
// desc: 波纹颜色 | enum: white, black
|
|
89
|
-
},
|
|
90
|
-
loadStatusIsIng: {
|
|
91
|
-
type: [Boolean, null],
|
|
92
|
-
default: null
|
|
93
|
-
// desc: 加载状态控制(true开始,false结束,null忽略)
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
emits: ["onClick"],
|
|
97
|
-
setup(i, { expose: x, emit: C }) {
|
|
98
|
-
const t = i;
|
|
99
|
-
a.isEmpty(t.label) && a.isEmpty(t.icon) && console.warn('[ClButton] Warning: Either "label" or "icon" prop is required.');
|
|
100
|
-
const z = C, d = f(null), s = f(!1), p = f(!1), v = f(!1), g = l(() => !a.isEmpty(t.label)), b = l(() => !a.isEmpty(t.icon)), I = l(() => t.disabled ? !0 : s.value), c = l(() => t.loadPos === "fixedCenter"), L = l(() => {
|
|
101
|
-
let e = t.wavesColor || "white";
|
|
102
|
-
return (a.isExistValue(t.color, "white") || a.isExistValue(t.color, "grayLight")) && (e = "black"), e;
|
|
103
|
-
}), k = l(() => {
|
|
104
|
-
let e = t.loadPos || "right";
|
|
105
|
-
return a.isExistValue(t.className, "btn-circle") && a.isExistValue(e, "right") && (e = "zoom-out"), e;
|
|
106
|
-
}), S = l(() => {
|
|
107
|
-
let e = "large";
|
|
108
|
-
switch (t.loadTheme) {
|
|
109
|
-
case "rotaryLine":
|
|
110
|
-
e = t.size === "small" ? "small" : "large", a.isExistValue(t.className, "btn-circle") && (e = "small");
|
|
111
|
-
break;
|
|
112
|
-
case "circleNotch":
|
|
113
|
-
e = "large";
|
|
114
|
-
break;
|
|
115
|
-
case "circleBubble":
|
|
116
|
-
e = "small";
|
|
117
|
-
break;
|
|
118
|
-
}
|
|
119
|
-
return e;
|
|
120
|
-
}), D = l(() => {
|
|
121
|
-
const e = {
|
|
122
|
-
"btn-parent": !0,
|
|
123
|
-
btn: !0
|
|
124
|
-
};
|
|
125
|
-
return a.isEmpty(t.color) || (e[`btn-${t.color}`] = !0), a.isEmpty(t.className) || t.className?.split(" ").forEach((o) => {
|
|
126
|
-
a.isEmpty(o) || (e[o] = !0);
|
|
127
|
-
}), a.isEmpty(t.size) || (e[`btn-${t.size}`] = !0), e["btn-load-ing"] = s.value, s.value && (e[`btn-load-${k.value}`] = !0, e[`btn-load-${t.loadTheme}`] = !0, e["btn-load-nodrift"] = !t.loadDrift), d.value && d.value.className && d.value.className.split(" ").forEach((o) => {
|
|
128
|
-
a.isEmpty(o) || a.isExistJsonKey(e, o) || (e[o] = !0);
|
|
129
|
-
}), e;
|
|
130
|
-
}), N = l(() => {
|
|
131
|
-
const e = {
|
|
132
|
-
"btn-icon": !0
|
|
133
|
-
};
|
|
134
|
-
return b.value && t.icon?.split(" ").forEach((o) => {
|
|
135
|
-
a.isEmpty(o) || (e[o] = !0);
|
|
136
|
-
}), e;
|
|
137
|
-
}), T = l(() => {
|
|
138
|
-
const e = s.value && c.value;
|
|
139
|
-
return {
|
|
140
|
-
"btn-body-backdrop-main": !0,
|
|
141
|
-
animated: !0,
|
|
142
|
-
zoomIn: e,
|
|
143
|
-
zoomOut: !e
|
|
144
|
-
};
|
|
145
|
-
}), P = l(() => {
|
|
146
|
-
const e = {};
|
|
147
|
-
return (g.value || b.value) && k.value === "zoom-out" && s.value && !c.value && (e.opacity = 0), e;
|
|
148
|
-
}), y = () => {
|
|
149
|
-
s.value || (t.isShowBackDrop && (p.value = !0, v.value = !0), s.value = !0);
|
|
150
|
-
}, E = () => {
|
|
151
|
-
t.isShowBackDrop && (c.value ? M(() => {
|
|
152
|
-
setTimeout(() => {
|
|
153
|
-
p.value = !1, v.value = !1;
|
|
154
|
-
}, 200);
|
|
155
|
-
}) : p.value = !1), s.value = !1;
|
|
156
|
-
};
|
|
157
|
-
O(
|
|
158
|
-
() => t.loadStatusIsIng,
|
|
159
|
-
(e) => {
|
|
160
|
-
a.isBoolean(e) && (e ? y() : E());
|
|
161
|
-
}
|
|
162
|
-
);
|
|
163
|
-
const V = () => {
|
|
164
|
-
z("onClick");
|
|
165
|
-
}, $ = () => {
|
|
166
|
-
t.disabled || (t.isShowLoad && y(), V());
|
|
167
|
-
};
|
|
168
|
-
return x({
|
|
169
|
-
loadStart: () => {
|
|
170
|
-
y();
|
|
171
|
-
},
|
|
172
|
-
loadStop: () => {
|
|
173
|
-
E();
|
|
174
|
-
}
|
|
175
|
-
}), (e, o) => {
|
|
176
|
-
const R = q("clwaves");
|
|
177
|
-
return n(), r("span", G, [
|
|
178
|
-
F((n(), r("button", {
|
|
179
|
-
ref_key: "refElTopParent",
|
|
180
|
-
ref: d,
|
|
181
|
-
type: "button",
|
|
182
|
-
class: h(D.value),
|
|
183
|
-
disabled: I.value,
|
|
184
|
-
onClick: $
|
|
185
|
-
}, [
|
|
186
|
-
m("span", {
|
|
187
|
-
style: J(P.value)
|
|
188
|
-
}, [
|
|
189
|
-
b.value ? (n(), r("i", {
|
|
190
|
-
key: 0,
|
|
191
|
-
class: h(N.value)
|
|
192
|
-
}, null, 2)) : u("", !0),
|
|
193
|
-
g.value ? (n(), r("span", Q, B(i.label), 1)) : u("", !0)
|
|
194
|
-
], 4),
|
|
195
|
-
s.value && !c.value ? (n(), r("span", U, [
|
|
196
|
-
w(_, {
|
|
197
|
-
theme: i.loadTheme,
|
|
198
|
-
size: S.value
|
|
199
|
-
}, null, 8, ["theme", "size"])
|
|
200
|
-
])) : u("", !0)
|
|
201
|
-
], 10, H)), [
|
|
202
|
-
[R, { color: L.value }]
|
|
203
|
-
]),
|
|
204
|
-
p.value ? (n(), r(K, { key: 0 }, [
|
|
205
|
-
o[0] || (o[0] = m("div", { class: "btn-body-backdrop" }, null, -1)),
|
|
206
|
-
c.value && v.value ? (n(), r("div", {
|
|
207
|
-
key: 0,
|
|
208
|
-
class: h(T.value)
|
|
209
|
-
}, [
|
|
210
|
-
m("div", X, [
|
|
211
|
-
w(_, {
|
|
212
|
-
theme: i.loadTheme,
|
|
213
|
-
size: S.value
|
|
214
|
-
}, null, 8, ["theme", "size"]),
|
|
215
|
-
m("div", Y, B(i.loadText || "加载中"), 1)
|
|
216
|
-
])
|
|
217
|
-
], 2)) : u("", !0)
|
|
218
|
-
], 64)) : u("", !0)
|
|
219
|
-
]);
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
}), ne = /* @__PURE__ */ A(Z, [["__scopeId", "data-v-3215c07e"]]);
|
|
223
|
-
export {
|
|
224
|
-
ne as default
|
|
225
|
-
};
|
|
226
|
-
//# sourceMappingURL=ClButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClButton.js","sources":["../../../src/libs/Element/Button/Index.vue"],"sourcesContent":["<template>\n <span class=\"panel-btn-parent\">\n <button\n ref=\"refElTopParent\"\n type=\"button\"\n :class=\"clsParent\"\n :disabled=\"optIsDisabled\"\n @click=\"onClick\"\n v-clwaves=\"{ color: optWavesColor }\"\n >\n <span :style=\"styBtnChild\">\n <i\n :class=\"clsIcon\"\n v-if=\"optIsShowIcon\"\n ></i>\n <span\n class=\"btn-label\"\n v-if=\"optIsShowLabel\"\n >{{ label }}</span>\n </span>\n <span\n class=\"btn-loading\"\n v-if=\"optIsRunLoading && !optIsShowBackDropLoad\"\n >\n <ClLoad\n :theme=\"loadTheme\"\n :size=\"optLoadSize\"\n />\n </span>\n </button>\n <template v-if=\"optIsShowBackDrop\">\n <div class=\"btn-body-backdrop\"></div>\n <div\n :class=\"clsBodyBackdropMain\"\n v-if=\"optIsShowBackDropLoad && optIsBackDropRunLoading\"\n >\n <div class=\"btn-body-backdrop-container\">\n <ClLoad\n :theme=\"loadTheme\"\n :size=\"optLoadSize\"\n />\n <div class=\"btn-body-backdrop-text\">{{ loadText || '加载中' }}</div>\n </div>\n </div>\n </template>\n </span>\n</template>\n\n<script setup lang=\"ts\">\nimport './Index.css'\nimport { ref, computed, watch, nextTick } from 'vue'\nimport CommonBase from '../../Common/base'\nimport ClLoad from '../Load/Index.vue'\nimport { wavesBind } from '../../Web/Waves'\n\n// defineOptions\ndefineOptions({\n name: 'ClButton',\n directives: {\n clwaves: wavesBind\n }\n})\n\n// props\nconst props = defineProps({\n className: {\n type: String,\n default: '' // desc: 自定义CSS类名\n },\n label: {\n type: String,\n default: '' // desc: 按钮文本标签\n },\n icon: {\n type: String,\n default: '' // desc: 按钮图标类名\n },\n color: {\n type: String,\n default: 'default' // desc: 按钮颜色主题 | enum: default, green, red, yellow, white, grayLight, transparent\n },\n size: {\n type: String,\n default: '' // desc: 按钮尺寸 | enum: large, small, xl\n },\n disabled: {\n type: Boolean,\n default: false // desc: 是否禁用按钮\n },\n isShowLoad: {\n type: Boolean,\n default: false // desc: 是否显示加载动画\n },\n loadPos: {\n type: String,\n default: 'right', // desc: 加载动画位置 | enum: right, zoom-out, fixedCenter\n validator: (value: string) => {\n return ['right', 'zoom-out', 'fixedCenter'].indexOf(value) !== -1\n }\n },\n loadTheme: {\n type: String,\n default: 'rotaryLine' // desc: 加载动画主题 | enum: rotaryLine, circleNotch, circleBubble\n },\n loadDrift: {\n type: Boolean,\n default: true // desc: 加载时是否漂移\n },\n loadText: {\n type: String,\n default: '' // desc: 加载提示文本\n },\n isShowBackDrop: {\n type: Boolean,\n default: false // desc: 是否显示遮罩层\n },\n isShowWaves: {\n type: Boolean,\n default: true // desc: 是否显示点击波纹效果\n },\n wavesColor: {\n type: String,\n default: 'white' // desc: 波纹颜色 | enum: white, black\n },\n loadStatusIsIng: {\n type: [Boolean, null],\n default: null // desc: 加载状态控制(true开始,false结束,null忽略)\n }\n})\n\nif (CommonBase.isEmpty(props.label) && CommonBase.isEmpty(props.icon)) {\n console.warn('[ClButton] Warning: Either \"label\" or \"icon\" prop is required.')\n}\n\n// emit\nconst emit = defineEmits<{\n (e: 'onClick'): void\n}>()\n\n// refs\nconst refElTopParent = ref<HTMLElement | null>(null)\n\n// reactive\nconst optIsRunLoading = ref(false)\nconst optIsShowBackDrop = ref(false)\nconst optIsBackDropRunLoading = ref(false)\n\n// computed\nconst optIsShowLabel = computed(() => {\n return !CommonBase.isEmpty(props.label)\n})\n\nconst optIsShowIcon = computed(() => {\n return !CommonBase.isEmpty(props.icon)\n})\n\nconst optIsDisabled = computed(() => {\n return props.disabled ? true : optIsRunLoading.value\n})\n\nconst optIsShowBackDropLoad = computed(() => {\n return props.loadPos === 'fixedCenter'\n})\n\nconst optWavesColor = computed(() => {\n let color = props.wavesColor || 'white'\n if (CommonBase.isExistValue(props.color, 'white') || CommonBase.isExistValue(props.color, 'grayLight')) {\n color = 'black'\n }\n return color\n})\n\nconst optLoadPos = computed(() => {\n let pos = props.loadPos || 'right'\n if (CommonBase.isExistValue(props.className, 'btn-circle')) {\n if (CommonBase.isExistValue(pos, 'right')) {\n pos = 'zoom-out'\n }\n }\n return pos\n})\n\nconst optLoadSize = computed(() => {\n let size = 'large'\n switch (props.loadTheme) {\n case 'rotaryLine':\n size = props.size === 'small' ? 'small' : 'large'\n if (CommonBase.isExistValue(props.className, 'btn-circle')) {\n size = 'small'\n }\n break\n case 'circleNotch':\n size = 'large'\n break\n case 'circleBubble':\n size = 'small'\n break\n }\n return size\n})\n\nconst clsParent = computed(() => {\n const cls: any = {\n 'btn-parent': true,\n btn: true,\n }\n if (!CommonBase.isEmpty(props.color)) {\n cls[`btn-${props.color}`] = true\n }\n if (!CommonBase.isEmpty(props.className)) {\n props.className?.split(' ').forEach((c) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n if (!CommonBase.isEmpty(props.size)) {\n cls[`btn-${props.size}`] = true\n }\n\n cls['btn-load-ing'] = optIsRunLoading.value\n if (optIsRunLoading.value) {\n cls[`btn-load-${optLoadPos.value}`] = true\n cls[`btn-load-${props.loadTheme}`] = true\n cls['btn-load-nodrift'] = !props.loadDrift\n }\n\n if (refElTopParent.value && refElTopParent.value.className) {\n refElTopParent.value.className.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n if (!CommonBase.isExistJsonKey(cls, c)) {\n cls[c] = true\n }\n }\n })\n }\n return cls\n})\n\nconst clsIcon = computed(() => {\n const cls: any = {\n 'btn-icon': true,\n }\n if (optIsShowIcon.value) {\n props.icon?.split(' ').forEach((c) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsBodyBackdropMain = computed(() => {\n const isRun = optIsRunLoading.value && optIsShowBackDropLoad.value\n const cls = {\n 'btn-body-backdrop-main': true,\n animated: true,\n zoomIn: isRun,\n zoomOut: !isRun,\n }\n return cls\n})\n\nconst styBtnChild = computed(() => {\n const sty: any = {}\n if (optIsShowLabel.value || optIsShowIcon.value) {\n if (optLoadPos.value === 'zoom-out' && optIsRunLoading.value && !optIsShowBackDropLoad.value) {\n sty.opacity = 0\n }\n }\n return sty\n})\n\n// 内部方法\nconst _runLoading = () => {\n if (!optIsRunLoading.value) {\n if (props.isShowBackDrop) {\n optIsShowBackDrop.value = true\n optIsBackDropRunLoading.value = true\n }\n optIsRunLoading.value = true\n }\n}\n\nconst _runLoadEnd = () => {\n if (props.isShowBackDrop) {\n if (optIsShowBackDropLoad.value) {\n nextTick(() => {\n setTimeout(() => {\n optIsShowBackDrop.value = false\n optIsBackDropRunLoading.value = false\n }, 200)\n })\n } else {\n optIsShowBackDrop.value = false\n }\n }\n optIsRunLoading.value = false\n}\n\n// watch\nwatch(\n () => props.loadStatusIsIng,\n (newValue) => {\n if (CommonBase.isBoolean(newValue)) {\n newValue ? _runLoading() : _runLoadEnd()\n }\n }\n)\n\n// emit 外部使用的事件\nconst _emitClick = () => {\n emit('onClick')\n}\n\n// 内部触发的事件 on\nconst onClick = () => {\n if (!props.disabled) {\n if (props.isShowLoad) {\n _runLoading()\n }\n _emitClick()\n }\n}\n\n// 外部调用\nconst loadStart = () => {\n _runLoading()\n}\n\nconst loadStop = () => {\n _runLoadEnd()\n}\n\n// 暴露给外部的方法\nexport interface ClButtonExpose {\n loadStart: () => void\n loadStop: () => void\n}\n\ndefineExpose({\n loadStart,\n loadStop\n})\n</script>\n\n<style scoped>\n.panel-btn-parent {\n display: inline-block;\n}\n</style>\n"],"names":["props","__props","CommonBase","emit","__emit","refElTopParent","ref","optIsRunLoading","optIsShowBackDrop","optIsBackDropRunLoading","optIsShowLabel","computed","optIsShowIcon","optIsDisabled","optIsShowBackDropLoad","optWavesColor","color","optLoadPos","pos","optLoadSize","size","clsParent","cls","c","clsIcon","clsBodyBackdropMain","isRun","styBtnChild","sty","_runLoading","_runLoadEnd","nextTick","watch","newValue","_emitClick","onClick","__expose","_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_3","_toDisplayString","_hoisted_4","_createVNode","ClLoad","_Fragment","_hoisted_5","_hoisted_6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgEA,UAAMA,IAAQC;AAkEd,IAAIC,EAAW,QAAQF,EAAM,KAAK,KAAKE,EAAW,QAAQF,EAAM,IAAI,KAClE,QAAQ,KAAK,gEAAgE;AAI/E,UAAMG,IAAOC,GAKPC,IAAiBC,EAAwB,IAAI,GAG7CC,IAAkBD,EAAI,EAAK,GAC3BE,IAAoBF,EAAI,EAAK,GAC7BG,IAA0BH,EAAI,EAAK,GAGnCI,IAAiBC,EAAS,MACvB,CAACT,EAAW,QAAQF,EAAM,KAAK,CACvC,GAEKY,IAAgBD,EAAS,MACtB,CAACT,EAAW,QAAQF,EAAM,IAAI,CACtC,GAEKa,IAAgBF,EAAS,MACt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Aa;AAAA,QAAA;QAsBnBP,EAAA,cAAhB8B,EAcWQ,GAAA,EAAA,KAAA,KAAA;AAAA,0BAbTN,EAAqC,OAAA,EAAhC,OAAM,oBAAA,GAAmB,MAAA,EAAA;AAAA,UAGtB1B,EAAA,SAAyBL,EAAA,cAFjC6B,EAWM,OAAA;AAAA;YAVH,SAAOb,EAAA,KAAmB;AAAA,UAAA;YAG3Be,EAMM,OANNO,GAMM;AAAA,cALJH,EAGEC,GAAA;AAAA,gBAFC,OAAO5C,EAAA;AAAA,gBACP,MAAMkB,EAAA;AAAA,cAAA;cAETqB,EAAiE,OAAjEQ,GAAiEN,EAA1BzC,EAAA,YAAQ,KAAA,GAAA,CAAA;AAAA,YAAA;;;;;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("vue");;/* empty css */const n=require("../Shared/base-iCmnU-fv.js"),N=require("../Web/__directive__/Tooltip.cjs"),S=["id","name","value","disabled","checked","onClick"],$=["for"],T=t.defineComponent({name:"ClCheckbox",directives:{cltooltip:N.tooltipDirectives},__name:"Index",props:{value:{type:String,required:!0},className:{type:String,default:""},name:{type:String,required:!0},list:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},width:{type:String,default:""},isInline:{type:Boolean,default:!0},checkChangeBefore:{type:Function,default:void 0}},emits:["update:value","onChange","onInit"],setup(u,{expose:f,emit:E}){const a=u,h=E,v=`cb-${n.CommonBase.getRandom(8)}`,i=t.ref(n.CommonBase.isEmpty(a.value)?[]:a.value.split(",")),c=t.ref(!1);let m={};const C={lastValue:[]},V=t.computed(()=>{const e=a.className,l={"panel-checkbox":!0};return e&&!n.CommonBase.isEmpty(e)&&e.split(" ").forEach(o=>{n.CommonBase.isEmpty(o)||(l[o]=!0)}),l}),x=t.computed(()=>{const e={checkbox:!0,"checkbox-default":!0};return e["checkbox-inline"]=a.isInline??!0,e}),_=e=>{const l={"checkbox-icon-tip":!0};return n.CommonBase.isEmpty(e.tipIcon)?l["clIconFont clIcon-question-circle"]=!0:l[e.tipIcon]=!0,l},b=e=>{const l={},{width:o}=a;return e&&!n.CommonBase.isEmpty(e.width)?l.width=e.width:n.CommonBase.isEmpty(o)||(l.width=a.width),l},k=e=>{h("update:value",e)},I=e=>{const l=[];n.CommonBase.isEmpty(e)||e.split(",").forEach(s=>{n.CommonBase.isExistJsonKey(m,s)&&l.push(n.CommonBase.getJsonClone(m[s]))});const o=l.length>0&&l.length===a.list.length;k(e),h("onChange",e,l,o)},p=()=>{t.nextTick(()=>{h("onInit")})},y=()=>{const e=[];return i.value.forEach(l=>{n.CommonBase.isExistJsonKey(m,l)&&e.push(l)}),e},B=e=>{m=n.CommonBase.isEmpty(e)?{}:n.CommonBase.getJsonByList(e)},d=()=>{if(c.value&&!n.CommonBase.isEmpty(i.value)){const e=y();n.CommonBase.isEqualArr(i.value,e)||(i.value=e,k(e.join(",")))}},g=e=>{const l=e.split(",");let o=n.CommonBase.isEqualArr(i.value,l);o&&(o=e===i.value.join(",")),o||(i.value=l)},w=()=>{c.value=a.list.length!==0,B(a.list),d(),C.lastValue=n.CommonBase.getArrClone(i.value)};t.watch(c,e=>{e&&p()}),t.watch(()=>a.list,e=>{c.value||(c.value=!0,e.length===0&&d(),p())}),t.watch([()=>a.value,()=>a.list],([e,l])=>{const o=l;!c.value&&o.length>0&&(c.value=!0,p()),B(o),e!==a.value&&g(e),d()}),t.onMounted(()=>{t.nextTick(()=>{w()})});const D=async e=>{if(!e.isDisabled&&!a.disabled){const l=e.id.toString();let o=n.CommonBase.getArrClone(i.value);n.CommonBase.isExistValue(i.value,l)?o=n.CommonBase.getArrRemoveById(o,l):o.push(l);const s=o.join(",");let r=!0;a.checkChangeBefore&&(r=await a.checkChangeBefore(s),r=n.CommonBase.isBoolean(r)?r:!0),r?(i.value=o,C.lastValue=o,I(s)):t.nextTick(()=>{i.value=o,t.nextTick(()=>{i.value=C.lastValue})})}};return f({getValue:()=>y().join(","),getValueData:()=>{const e=[];return i.value.forEach(l=>{n.CommonBase.isExistJsonKey(m,l)&&e.push(n.CommonBase.getJsonClone(m[l]))}),e},setValue:e=>{g(e),d()},runInitComplete:()=>{c.value||(c.value=!0,B(a.list),g(a.value),d(),p())}}),(e,l)=>{const o=t.resolveDirective("cltooltip");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(V.value)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.list,(s,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${v}-${r}`},[s.isShow||s.isShow===void 0?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(x.value),style:t.normalizeStyle(b(s))},[t.createElementVNode("span",null,[t.createElementVNode("span",null,[t.createElementVNode("input",{type:"checkbox",id:`${v}_${u.name}_${s.id}`,name:u.name,value:s.id,disabled:s.isDisabled||u.disabled,checked:i.value.includes(s.id.toString()),onClick:M=>D(s)},null,8,S),t.createElementVNode("label",{for:`${v}_${u.name}_${s.id}`},[t.renderSlot(e.$slots,"default",{data:s},()=>[s.icon&&s.icon.length>0?t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(s.icon)},null,2)),[[o,{html:s.name,className:"tooltip-modal"}]]):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(s.name),1)],64))])],8,$)]),s.tipMsg&&s.tipMsg.length>0?t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(_(s))},null,2)),[[o,{html:s.tipMsg,className:"tooltip-modal"}]]):t.createCommentVNode("",!0)])],6)):t.createCommentVNode("",!0)],64))),128))],2)}}});module.exports=T;
|
|
2
|
-
//# sourceMappingURL=ClCheckbox.cjs.map
|