@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,462 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, openBlock as o, createElementBlock as r, createElementVNode as n, createVNode as F, ref as x, reactive as L, computed as B, onMounted as J, nextTick as K, watch as Q, normalizeClass as E, unref as X, mergeProps as Y, Fragment as I, createCommentVNode as g, createBlock as b, withModifiers as p, normalizeStyle as R, withCtx as Z } from "vue";
|
|
2
|
-
import { VueCropper as _ } from "vue-cropper";
|
|
3
|
-
import { _ as ee } from "./Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js";
|
|
4
|
-
import { _ as ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
-
import { C as f } from "./base-PQGakkrl.js";
|
|
6
|
-
import { _ as ne } from "./Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js";
|
|
7
|
-
const te = { class: "panel-load-fullCenter loading-wrapper" }, le = { class: "loading-content" }, oe = /* @__PURE__ */ k({
|
|
8
|
-
name: "ClLoadFullCenter",
|
|
9
|
-
__name: "FullCenter",
|
|
10
|
-
props: {
|
|
11
|
-
theme: {},
|
|
12
|
-
size: {}
|
|
13
|
-
},
|
|
14
|
-
setup(i) {
|
|
15
|
-
return (y, v) => (o(), r("div", te, [
|
|
16
|
-
v[0] || (v[0] = n("div", { class: "load-fullCenter-bg" }, null, -1)),
|
|
17
|
-
n("div", le, [
|
|
18
|
-
F(ee, {
|
|
19
|
-
theme: i.theme,
|
|
20
|
-
size: i.size
|
|
21
|
-
}, null, 8, ["theme", "size"])
|
|
22
|
-
])
|
|
23
|
-
]));
|
|
24
|
-
}
|
|
25
|
-
}), se = /* @__PURE__ */ ie(oe, [["__scopeId", "data-v-bfbb2c59"]]), ae = { class: "imgCropper-container" }, re = { class: "imgCropper-main" }, ue = { class: "frame-alignline" }, de = { class: "imgCropper-btns" }, ge = {
|
|
26
|
-
key: 0,
|
|
27
|
-
class: "imgCropper-upload"
|
|
28
|
-
}, ce = ["id", "name"], me = ["for"], pe = { class: "imgCropper-btns-opt" }, fe = ["src"], ve = {
|
|
29
|
-
key: 0,
|
|
30
|
-
class: "frame-alignline"
|
|
31
|
-
}, M = /* @__PURE__ */ k({
|
|
32
|
-
name: "ClCropperBase",
|
|
33
|
-
__name: "Base",
|
|
34
|
-
props: {
|
|
35
|
-
className: String,
|
|
36
|
-
src: {
|
|
37
|
-
type: String,
|
|
38
|
-
required: !0
|
|
39
|
-
},
|
|
40
|
-
width: {
|
|
41
|
-
type: Number,
|
|
42
|
-
required: !0
|
|
43
|
-
},
|
|
44
|
-
height: {
|
|
45
|
-
type: Number,
|
|
46
|
-
required: !0
|
|
47
|
-
},
|
|
48
|
-
isFixedAspectRatio: {
|
|
49
|
-
type: Boolean,
|
|
50
|
-
default: !0
|
|
51
|
-
},
|
|
52
|
-
isPreview: {
|
|
53
|
-
type: Boolean,
|
|
54
|
-
default: !0
|
|
55
|
-
},
|
|
56
|
-
previewShape: {
|
|
57
|
-
type: String,
|
|
58
|
-
default: "square"
|
|
59
|
-
// square | round
|
|
60
|
-
},
|
|
61
|
-
enlarge: {
|
|
62
|
-
type: Number,
|
|
63
|
-
default: 2
|
|
64
|
-
},
|
|
65
|
-
isShowUpload: {
|
|
66
|
-
type: Boolean,
|
|
67
|
-
default: !0
|
|
68
|
-
},
|
|
69
|
-
isShowSave: {
|
|
70
|
-
type: Boolean,
|
|
71
|
-
default: !1
|
|
72
|
-
},
|
|
73
|
-
isCenterBox: {
|
|
74
|
-
type: Boolean,
|
|
75
|
-
default: !0
|
|
76
|
-
},
|
|
77
|
-
fillColor: {
|
|
78
|
-
type: String,
|
|
79
|
-
default: "transparent"
|
|
80
|
-
// #FFFFFF
|
|
81
|
-
},
|
|
82
|
-
alignLine: {
|
|
83
|
-
type: String,
|
|
84
|
-
default: "center"
|
|
85
|
-
// center | nineGrid
|
|
86
|
-
},
|
|
87
|
-
isPreviewAlignLine: {
|
|
88
|
-
type: Boolean,
|
|
89
|
-
default: !1
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
emits: ["onImgLoad", "onImgSave"],
|
|
93
|
-
setup(i, { expose: y, emit: v }) {
|
|
94
|
-
const l = i, h = v, s = x(null), w = x(null), S = f.getRandom(8), u = L({
|
|
95
|
-
uploadAgainId: `btnImgCropper_uploadAgain_${S}`,
|
|
96
|
-
isInitImageLoading: !1
|
|
97
|
-
}), m = L({
|
|
98
|
-
img: "",
|
|
99
|
-
outputSize: 1,
|
|
100
|
-
outputType: "png",
|
|
101
|
-
info: !0,
|
|
102
|
-
canScale: !0,
|
|
103
|
-
autoCrop: !0,
|
|
104
|
-
autoCropWidth: l.width,
|
|
105
|
-
autoCropHeight: l.height,
|
|
106
|
-
fixed: l.isFixedAspectRatio,
|
|
107
|
-
fixedNumber: [1, 1],
|
|
108
|
-
full: !1,
|
|
109
|
-
fixedBox: !1,
|
|
110
|
-
canMove: !0,
|
|
111
|
-
canMoveBox: !0,
|
|
112
|
-
original: !1,
|
|
113
|
-
centerBox: l.isCenterBox,
|
|
114
|
-
high: !0,
|
|
115
|
-
infoTrue: !0,
|
|
116
|
-
maxImgSize: 2e3,
|
|
117
|
-
enlarge: l.enlarge,
|
|
118
|
-
mode: "contain",
|
|
119
|
-
limitMinSize: 50,
|
|
120
|
-
fillColor: l.fillColor
|
|
121
|
-
}), c = L({
|
|
122
|
-
src: "",
|
|
123
|
-
style: {},
|
|
124
|
-
pStyle: {}
|
|
125
|
-
}), C = B(() => {
|
|
126
|
-
const { alignLine: t } = l;
|
|
127
|
-
return t && !f.isEmpty(t) ? t.split(",") : [];
|
|
128
|
-
}), A = B(() => {
|
|
129
|
-
const { className: t } = l, e = {
|
|
130
|
-
"panel-imgCropper": !0
|
|
131
|
-
};
|
|
132
|
-
return t && !f.isEmpty(t) && t.split(" ").forEach((d) => {
|
|
133
|
-
f.isEmpty(d) || (e[d] = !0);
|
|
134
|
-
}), e;
|
|
135
|
-
}), a = B(() => {
|
|
136
|
-
const { previewShape: t } = l, e = {
|
|
137
|
-
"imgCropper-preview": !0
|
|
138
|
-
};
|
|
139
|
-
return e[`imgCropper-preview-${t}`] = !0, e;
|
|
140
|
-
}), N = () => {
|
|
141
|
-
const { width: t, height: e } = l;
|
|
142
|
-
let d = [];
|
|
143
|
-
t > e ? d = [1, e / t] : t < e ? d = [t / e, 1] : d = [1, 1], m.fixedNumber = d;
|
|
144
|
-
}, P = () => {
|
|
145
|
-
const { src: t } = l;
|
|
146
|
-
let e = "";
|
|
147
|
-
if (t && !f.isEmpty(t)) {
|
|
148
|
-
if (t.substring(0, 5) !== "data:") {
|
|
149
|
-
if (/^(http|https):\/\/[^\s]+$/.test(t)) {
|
|
150
|
-
const d = `_t=${(/* @__PURE__ */ new Date()).getTime()}`, D = t.indexOf("?") === -1 ? "?" : "&";
|
|
151
|
-
e = t + D + d;
|
|
152
|
-
}
|
|
153
|
-
} else
|
|
154
|
-
e = t;
|
|
155
|
-
u.isInitImageLoading = !0;
|
|
156
|
-
}
|
|
157
|
-
m.img = e;
|
|
158
|
-
}, G = () => {
|
|
159
|
-
N(), P();
|
|
160
|
-
};
|
|
161
|
-
J(() => {
|
|
162
|
-
u.isInitImageLoading = !0, K(() => {
|
|
163
|
-
G();
|
|
164
|
-
});
|
|
165
|
-
}), Q(
|
|
166
|
-
() => l.src,
|
|
167
|
-
(t) => {
|
|
168
|
-
f.isEmpty(t) || P();
|
|
169
|
-
}
|
|
170
|
-
);
|
|
171
|
-
const O = (t) => {
|
|
172
|
-
c.src = t.url, c.style = t.img, c.pStyle = t.div;
|
|
173
|
-
}, $ = (t) => {
|
|
174
|
-
const e = t === "success";
|
|
175
|
-
u.isInitImageLoading = !1, h("onImgLoad", e);
|
|
176
|
-
}, z = (t) => {
|
|
177
|
-
f.getBase64ByFile(t.currentTarget.files).then((e) => {
|
|
178
|
-
m.img = e;
|
|
179
|
-
});
|
|
180
|
-
}, U = () => {
|
|
181
|
-
}, q = () => {
|
|
182
|
-
s.value.changeScale(1);
|
|
183
|
-
}, T = () => {
|
|
184
|
-
s.value.changeScale(-1);
|
|
185
|
-
}, j = () => {
|
|
186
|
-
s.value.rotateLeft();
|
|
187
|
-
}, V = () => {
|
|
188
|
-
s.value.rotateRight();
|
|
189
|
-
}, H = () => {
|
|
190
|
-
s.value.refresh();
|
|
191
|
-
}, W = () => {
|
|
192
|
-
h("onImgSave");
|
|
193
|
-
};
|
|
194
|
-
return y({
|
|
195
|
-
getImageBase64: () => new Promise((t) => {
|
|
196
|
-
s.value.getCropData((e) => {
|
|
197
|
-
t(e);
|
|
198
|
-
});
|
|
199
|
-
})
|
|
200
|
-
}), (t, e) => (o(), r("div", {
|
|
201
|
-
class: E(A.value)
|
|
202
|
-
}, [
|
|
203
|
-
n("div", ae, [
|
|
204
|
-
n("div", null, [
|
|
205
|
-
n("div", re, [
|
|
206
|
-
F(X(_), Y({
|
|
207
|
-
ref_key: "refElCropper",
|
|
208
|
-
ref: s
|
|
209
|
-
}, m, {
|
|
210
|
-
onRealTime: O,
|
|
211
|
-
onImgLoad: $
|
|
212
|
-
}), null, 16),
|
|
213
|
-
n("div", ue, [
|
|
214
|
-
C.value.indexOf("center") > -1 ? (o(), r(I, { key: 0 }, [
|
|
215
|
-
e[0] || (e[0] = n("div", { class: "alignline-h alignline-center-h" }, null, -1)),
|
|
216
|
-
e[1] || (e[1] = n("div", { class: "alignline-v alignline-center-v" }, null, -1))
|
|
217
|
-
], 64)) : g("", !0),
|
|
218
|
-
C.value.indexOf("nineGrid") > -1 ? (o(), r(I, { key: 1 }, [
|
|
219
|
-
e[2] || (e[2] = n("div", { class: "alignline-h alignline-nineGrid-h1" }, null, -1)),
|
|
220
|
-
e[3] || (e[3] = n("div", { class: "alignline-h alignline-nineGrid-h2" }, null, -1)),
|
|
221
|
-
e[4] || (e[4] = n("div", { class: "alignline-v alignline-nineGrid-v1" }, null, -1)),
|
|
222
|
-
e[5] || (e[5] = n("div", { class: "alignline-v alignline-nineGrid-v2" }, null, -1))
|
|
223
|
-
], 64)) : g("", !0)
|
|
224
|
-
]),
|
|
225
|
-
u.isInitImageLoading ? (o(), b(se, {
|
|
226
|
-
key: 0,
|
|
227
|
-
theme: "rotaryLine"
|
|
228
|
-
})) : g("", !0)
|
|
229
|
-
]),
|
|
230
|
-
n("div", de, [
|
|
231
|
-
n("div", null, [
|
|
232
|
-
i.isShowUpload ? (o(), r("div", ge, [
|
|
233
|
-
n("input", {
|
|
234
|
-
type: "file",
|
|
235
|
-
id: u.uploadAgainId,
|
|
236
|
-
name: u.uploadAgainId,
|
|
237
|
-
accept: "image/jpg,image/jpeg,image/pjpeg,image/png,image/x-png",
|
|
238
|
-
onChange: z
|
|
239
|
-
}, null, 40, ce),
|
|
240
|
-
n("label", {
|
|
241
|
-
ref_key: "refElFileLabel",
|
|
242
|
-
ref: w,
|
|
243
|
-
for: u.uploadAgainId
|
|
244
|
-
}, [
|
|
245
|
-
n("span", {
|
|
246
|
-
title: "重新上传",
|
|
247
|
-
onClick: p(U, ["stop"])
|
|
248
|
-
}, [...e[6] || (e[6] = [
|
|
249
|
-
n("i", { class: "clIconFont clIcon-upload" }, null, -1)
|
|
250
|
-
])])
|
|
251
|
-
], 8, me)
|
|
252
|
-
])) : g("", !0)
|
|
253
|
-
]),
|
|
254
|
-
n("div", pe, [
|
|
255
|
-
n("span", {
|
|
256
|
-
title: "放大",
|
|
257
|
-
onClick: p(q, ["stop"])
|
|
258
|
-
}, [...e[7] || (e[7] = [
|
|
259
|
-
n("i", { class: "clIconFont clIcon-search-plus" }, null, -1)
|
|
260
|
-
])]),
|
|
261
|
-
n("span", {
|
|
262
|
-
title: "缩小",
|
|
263
|
-
onClick: p(T, ["stop"])
|
|
264
|
-
}, [...e[8] || (e[8] = [
|
|
265
|
-
n("i", { class: "clIconFont clIcon-search-minus" }, null, -1)
|
|
266
|
-
])]),
|
|
267
|
-
n("span", {
|
|
268
|
-
title: "左转90°",
|
|
269
|
-
onClick: p(j, ["stop"])
|
|
270
|
-
}, [...e[9] || (e[9] = [
|
|
271
|
-
n("i", { class: "clIconFont clIcon-rotate-left" }, null, -1)
|
|
272
|
-
])]),
|
|
273
|
-
n("span", {
|
|
274
|
-
title: "右转90°",
|
|
275
|
-
onClick: p(V, ["stop"])
|
|
276
|
-
}, [...e[10] || (e[10] = [
|
|
277
|
-
n("i", { class: "clIconFont clIcon-rotate-right" }, null, -1)
|
|
278
|
-
])]),
|
|
279
|
-
n("span", {
|
|
280
|
-
title: "重置",
|
|
281
|
-
onClick: p(H, ["stop"])
|
|
282
|
-
}, [...e[11] || (e[11] = [
|
|
283
|
-
n("i", { class: "clIconFont clIcon-restore" }, null, -1)
|
|
284
|
-
])]),
|
|
285
|
-
i.isShowSave ? (o(), r("span", {
|
|
286
|
-
key: 0,
|
|
287
|
-
title: "保存",
|
|
288
|
-
onClick: p(W, ["stop"])
|
|
289
|
-
}, [...e[12] || (e[12] = [
|
|
290
|
-
n("i", { class: "clIconFont clIcon-save" }, null, -1)
|
|
291
|
-
])])) : g("", !0)
|
|
292
|
-
])
|
|
293
|
-
])
|
|
294
|
-
]),
|
|
295
|
-
i.isPreview ? (o(), r("div", {
|
|
296
|
-
key: 0,
|
|
297
|
-
class: E(a.value)
|
|
298
|
-
}, [
|
|
299
|
-
n("div", {
|
|
300
|
-
style: R(c.pStyle)
|
|
301
|
-
}, [
|
|
302
|
-
n("img", {
|
|
303
|
-
src: c.src,
|
|
304
|
-
style: R(c.style),
|
|
305
|
-
alt: ""
|
|
306
|
-
}, null, 12, fe)
|
|
307
|
-
], 4),
|
|
308
|
-
i.isPreviewAlignLine ? (o(), r("div", ve, [
|
|
309
|
-
C.value.indexOf("center") > -1 ? (o(), r(I, { key: 0 }, [
|
|
310
|
-
e[13] || (e[13] = n("div", { class: "alignline-h alignline-center-h" }, null, -1)),
|
|
311
|
-
e[14] || (e[14] = n("div", { class: "alignline-v alignline-center-v" }, null, -1))
|
|
312
|
-
], 64)) : g("", !0),
|
|
313
|
-
C.value.indexOf("nineGrid") > -1 ? (o(), r(I, { key: 1 }, [
|
|
314
|
-
e[15] || (e[15] = n("div", { class: "alignline-h alignline-nineGrid-h1" }, null, -1)),
|
|
315
|
-
e[16] || (e[16] = n("div", { class: "alignline-h alignline-nineGrid-h2" }, null, -1)),
|
|
316
|
-
e[17] || (e[17] = n("div", { class: "alignline-v alignline-nineGrid-v1" }, null, -1)),
|
|
317
|
-
e[18] || (e[18] = n("div", { class: "alignline-v alignline-nineGrid-v2" }, null, -1))
|
|
318
|
-
], 64)) : g("", !0)
|
|
319
|
-
])) : g("", !0)
|
|
320
|
-
], 2)) : g("", !0)
|
|
321
|
-
])
|
|
322
|
-
], 2));
|
|
323
|
-
}
|
|
324
|
-
}), Le = /* @__PURE__ */ k({
|
|
325
|
-
name: "ClCropper",
|
|
326
|
-
__name: "Index",
|
|
327
|
-
props: {
|
|
328
|
-
className: String,
|
|
329
|
-
src: {
|
|
330
|
-
type: String,
|
|
331
|
-
required: !0
|
|
332
|
-
},
|
|
333
|
-
width: {
|
|
334
|
-
type: Number,
|
|
335
|
-
required: !0
|
|
336
|
-
},
|
|
337
|
-
height: {
|
|
338
|
-
type: Number,
|
|
339
|
-
required: !0
|
|
340
|
-
},
|
|
341
|
-
isFixedAspectRatio: {
|
|
342
|
-
type: Boolean,
|
|
343
|
-
default: !0
|
|
344
|
-
},
|
|
345
|
-
isCenterBox: {
|
|
346
|
-
type: Boolean,
|
|
347
|
-
default: !0
|
|
348
|
-
},
|
|
349
|
-
isPreview: {
|
|
350
|
-
type: Boolean,
|
|
351
|
-
default: !0
|
|
352
|
-
},
|
|
353
|
-
previewShape: {
|
|
354
|
-
type: String,
|
|
355
|
-
default: "square"
|
|
356
|
-
// square | round
|
|
357
|
-
},
|
|
358
|
-
enlarge: {
|
|
359
|
-
type: Number,
|
|
360
|
-
default: 2
|
|
361
|
-
},
|
|
362
|
-
isModal: {
|
|
363
|
-
type: Boolean,
|
|
364
|
-
default: !0
|
|
365
|
-
},
|
|
366
|
-
isShowUpload: {
|
|
367
|
-
type: Boolean,
|
|
368
|
-
default: !0
|
|
369
|
-
},
|
|
370
|
-
isShowSave: {
|
|
371
|
-
type: Boolean,
|
|
372
|
-
default: !1
|
|
373
|
-
},
|
|
374
|
-
fillColor: {
|
|
375
|
-
type: String,
|
|
376
|
-
default: "transparent"
|
|
377
|
-
// #FFFFFF
|
|
378
|
-
},
|
|
379
|
-
alignLine: {
|
|
380
|
-
type: String,
|
|
381
|
-
default: "center"
|
|
382
|
-
// center | nineGrid
|
|
383
|
-
},
|
|
384
|
-
isPreviewAlignLine: {
|
|
385
|
-
type: Boolean,
|
|
386
|
-
default: !1
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
emits: ["onSubmit", "onImgLoad"],
|
|
390
|
-
setup(i, { expose: y, emit: v }) {
|
|
391
|
-
const l = i, h = v, s = x(null), w = x(null), S = () => w.value.getImageBase64().then((a) => a), u = () => S().then((a) => {
|
|
392
|
-
h("onSubmit", a), s.value.hide();
|
|
393
|
-
}), m = (a) => {
|
|
394
|
-
h("onImgLoad", a);
|
|
395
|
-
}, c = () => S().then((a) => {
|
|
396
|
-
h("onSubmit", a);
|
|
397
|
-
});
|
|
398
|
-
return y({
|
|
399
|
-
getImageBase64: () => S(),
|
|
400
|
-
show: () => {
|
|
401
|
-
s.value && l.isModal && s.value.show();
|
|
402
|
-
}
|
|
403
|
-
}), (a, N) => i.isModal ? (o(), b(ne, {
|
|
404
|
-
key: 0,
|
|
405
|
-
ref_key: "refElModal",
|
|
406
|
-
ref: s,
|
|
407
|
-
width: "850px",
|
|
408
|
-
titleName: "图片裁切",
|
|
409
|
-
isShowSubmitLoad: !1,
|
|
410
|
-
closeLabel: "取消",
|
|
411
|
-
submitLabel: "确定",
|
|
412
|
-
onOnSubmit: u
|
|
413
|
-
}, {
|
|
414
|
-
default: Z(() => [
|
|
415
|
-
F(M, {
|
|
416
|
-
ref_key: "refElCropper",
|
|
417
|
-
ref: w,
|
|
418
|
-
className: i.className,
|
|
419
|
-
src: i.src,
|
|
420
|
-
width: i.width,
|
|
421
|
-
height: i.height,
|
|
422
|
-
isFixedAspectRatio: i.isFixedAspectRatio,
|
|
423
|
-
isPreview: i.isPreview,
|
|
424
|
-
previewShape: i.previewShape,
|
|
425
|
-
enlarge: i.enlarge,
|
|
426
|
-
isCenterBox: i.isCenterBox,
|
|
427
|
-
isShowUpload: i.isShowUpload,
|
|
428
|
-
isShowSave: !1,
|
|
429
|
-
alignLine: i.alignLine,
|
|
430
|
-
isPreviewAlignLine: i.isPreviewAlignLine,
|
|
431
|
-
fillColor: i.fillColor,
|
|
432
|
-
onOnImgLoad: m
|
|
433
|
-
}, null, 8, ["className", "src", "width", "height", "isFixedAspectRatio", "isPreview", "previewShape", "enlarge", "isCenterBox", "isShowUpload", "alignLine", "isPreviewAlignLine", "fillColor"])
|
|
434
|
-
]),
|
|
435
|
-
_: 1
|
|
436
|
-
}, 512)) : (o(), b(M, {
|
|
437
|
-
key: 1,
|
|
438
|
-
ref_key: "refElCropper",
|
|
439
|
-
ref: w,
|
|
440
|
-
className: i.className,
|
|
441
|
-
src: i.src,
|
|
442
|
-
width: i.width,
|
|
443
|
-
height: i.height,
|
|
444
|
-
isFixedAspectRatio: i.isFixedAspectRatio,
|
|
445
|
-
isPreview: i.isPreview,
|
|
446
|
-
previewShape: i.previewShape,
|
|
447
|
-
enlarge: i.enlarge,
|
|
448
|
-
isCenterBox: i.isCenterBox,
|
|
449
|
-
isShowUpload: i.isShowUpload,
|
|
450
|
-
isShowSave: i.isShowSave,
|
|
451
|
-
alignLine: i.alignLine,
|
|
452
|
-
isPreviewAlignLine: i.isPreviewAlignLine,
|
|
453
|
-
fillColor: i.fillColor,
|
|
454
|
-
onOnImgLoad: m,
|
|
455
|
-
onOnImgSave: c
|
|
456
|
-
}, null, 8, ["className", "src", "width", "height", "isFixedAspectRatio", "isPreview", "previewShape", "enlarge", "isCenterBox", "isShowUpload", "isShowSave", "alignLine", "isPreviewAlignLine", "fillColor"]));
|
|
457
|
-
}
|
|
458
|
-
});
|
|
459
|
-
export {
|
|
460
|
-
Le as _
|
|
461
|
-
};
|
|
462
|
-
//# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js","sources":["../../../src/libs/Element/Load/FullCenter.vue","../../../src/libs/Element/Cropper/Base.vue","../../../src/libs/Element/Cropper/Index.vue"],"sourcesContent":["<template>\n <div class=\"panel-load-fullCenter loading-wrapper\">\n <div class=\"load-fullCenter-bg\"></div>\n <div class=\"loading-content\">\n <ClLoad\n :theme=\"theme\"\n :size=\"size\"\n />\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport './Index.css'\nimport ClLoad from './Index.vue'\n\n// defineOptions\ndefineOptions({ name: 'ClLoadFullCenter' })\n\n// props\ndefineProps<{\n theme?: string\n size?: string\n}>()\n</script>\n\n<style scoped>\n.panel-load-fullCenter.loading-wrapper {\n background-color: transparent;\n border-radius: 0;\n}\n\n.load-fullCenter-bg {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: rgba(0, 0, 0, 0.5);\n}\n</style>\n","<template>\n <div :class=\"clsParent\">\n <div class=\"imgCropper-container\">\n <div>\n <div class=\"imgCropper-main\">\n <vue-cropper\n ref=\"refElCropper\"\n v-bind=\"optCropper\"\n @realTime=\"onRealTime\"\n @imgLoad=\"onImgLoad\"\n ></vue-cropper>\n <div class=\"frame-alignline\">\n <template v-if=\"optAlignLine.indexOf('center') > -1\">\n <div class=\"alignline-h alignline-center-h\"></div>\n <div class=\"alignline-v alignline-center-v\"></div>\n </template>\n <template v-if=\"optAlignLine.indexOf('nineGrid') > -1\">\n <div class=\"alignline-h alignline-nineGrid-h1\"></div>\n <div class=\"alignline-h alignline-nineGrid-h2\"></div>\n <div class=\"alignline-v alignline-nineGrid-v1\"></div>\n <div class=\"alignline-v alignline-nineGrid-v2\"></div>\n </template>\n </div>\n <ClLoadFullCenter\n v-if=\"optBase.isInitImageLoading\"\n theme=\"rotaryLine\"\n ></ClLoadFullCenter>\n </div>\n <div class=\"imgCropper-btns\">\n <div>\n <div\n v-if=\"isShowUpload\"\n class=\"imgCropper-upload\"\n >\n <input\n type=\"file\"\n :id=\"optBase.uploadAgainId\"\n :name=\"optBase.uploadAgainId\"\n accept=\"image/jpg,image/jpeg,image/pjpeg,image/png,image/x-png\"\n @change=\"onChangeFileAgain\"\n >\n <label\n ref=\"refElFileLabel\"\n :for=\"optBase.uploadAgainId\"\n >\n <span\n title=\"重新上传\"\n @click.stop=\"onClickFileLabel\"\n ><i class=\"clIconFont clIcon-upload\"></i></span>\n </label>\n </div>\n </div>\n\n <div class=\"imgCropper-btns-opt\">\n <span\n title=\"放大\"\n @click.stop=\"onLarge\"\n ><i class=\"clIconFont clIcon-search-plus\"></i></span>\n <span\n title=\"缩小\"\n @click.stop=\"onSmall\"\n ><i class=\"clIconFont clIcon-search-minus\"></i></span>\n <span\n title=\"左转90°\"\n @click.stop=\"onRotateLeft\"\n ><i class=\"clIconFont clIcon-rotate-left\"></i></span>\n <span\n title=\"右转90°\"\n @click.stop=\"onRotateRight\"\n ><i class=\"clIconFont clIcon-rotate-right\"></i></span>\n <span\n title=\"重置\"\n @click.stop=\"onReduction\"\n ><i class=\"clIconFont clIcon-restore\"></i></span>\n <span\n v-if=\"isShowSave\"\n title=\"保存\"\n @click.stop=\"onSave\"\n ><i class=\"clIconFont clIcon-save\"></i></span>\n </div>\n </div>\n </div>\n <div\n v-if=\"isPreview\"\n :class=\"clsPreview\"\n >\n <div :style=\"optPreview.pStyle\">\n <img\n :src=\"optPreview.src\"\n :style=\"optPreview.style\"\n alt=\"\"\n >\n </div>\n <div\n v-if=\"isPreviewAlignLine\"\n class=\"frame-alignline\"\n >\n <template v-if=\"optAlignLine.indexOf('center') > -1\">\n <div class=\"alignline-h alignline-center-h\"></div>\n <div class=\"alignline-v alignline-center-v\"></div>\n </template>\n <template v-if=\"optAlignLine.indexOf('nineGrid') > -1\">\n <div class=\"alignline-h alignline-nineGrid-h1\"></div>\n <div class=\"alignline-h alignline-nineGrid-h2\"></div>\n <div class=\"alignline-v alignline-nineGrid-v1\"></div>\n <div class=\"alignline-v alignline-nineGrid-v2\"></div>\n </template>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { watch, onMounted, nextTick, computed, ref, reactive } from 'vue'\nimport 'vue-cropper/dist/index.css'\nimport { VueCropper } from 'vue-cropper'\nimport ClLoadFullCenter from '../Load/FullCenter.vue'\nimport CommonBase from '../../Common/base'\nimport './index.css'\n\ndefineOptions({ name: 'ClCropperBase' })\n\nconst props = defineProps({\n className: String,\n src: {\n type: String,\n required: true\n },\n width: {\n type: Number,\n required: true\n },\n height: {\n type: Number,\n required: true\n },\n isFixedAspectRatio: {\n type: Boolean,\n default: true\n },\n isPreview: {\n type: Boolean,\n default: true\n },\n previewShape: {\n type: String,\n default: 'square' // square | round\n },\n enlarge: {\n type: Number,\n default: 2\n },\n isShowUpload: {\n type: Boolean,\n default: true\n },\n isShowSave: {\n type: Boolean,\n default: false\n },\n isCenterBox: {\n type: Boolean,\n default: true\n },\n fillColor: {\n type: String,\n default: 'transparent' // #FFFFFF\n },\n alignLine: {\n type: String,\n default: 'center' // center | nineGrid\n },\n isPreviewAlignLine: {\n type: Boolean,\n default: false\n }\n})\n\nconst emit = defineEmits<{\n (e: 'onImgLoad', isSuccess: boolean): void\n (e: 'onImgSave'): void\n}>()\n\nconst refElCropper: any = ref(null)\nconst refElFileLabel: any = ref(null)\n\nconst ran = CommonBase.getRandom(8)\nconst optBase = reactive({\n uploadAgainId: `btnImgCropper_uploadAgain_${ran}`,\n isInitImageLoading: false\n})\n\nconst optCropper: any = reactive({\n img: '',\n outputSize: 1,\n outputType: 'png',\n info: true,\n canScale: true,\n autoCrop: true,\n autoCropWidth: props.width,\n autoCropHeight: props.height,\n fixed: props.isFixedAspectRatio,\n fixedNumber: [1, 1],\n full: false,\n fixedBox: false,\n canMove: true,\n canMoveBox: true,\n original: false,\n centerBox: props.isCenterBox,\n high: true,\n infoTrue: true,\n maxImgSize: 2000,\n enlarge: props.enlarge,\n mode: 'contain',\n limitMinSize: 50,\n fillColor: props.fillColor\n})\n\nconst optPreview = reactive({\n src: '',\n style: {} as any,\n pStyle: {} as any\n})\n\nconst optAlignLine = computed(() => {\n const { alignLine } = props\n const arr: string[] = alignLine && !CommonBase.isEmpty(alignLine) ? alignLine.split(',') : []\n return arr\n})\n\nconst clsParent = computed(() => {\n const { className } = props\n const cls: any = {\n 'panel-imgCropper': true\n }\n if (className && !CommonBase.isEmpty(className)) {\n className.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsPreview = computed(() => {\n const { previewShape } = props\n const cls: any = {\n 'imgCropper-preview': true\n }\n cls[`imgCropper-preview-${previewShape}`] = true\n return cls\n})\n\nconst _setFixedNumber = () => {\n const { width, height } = props\n let fixedNumber: number[] = []\n if (width > height) {\n fixedNumber = [1, height / width]\n } else if (width < height) {\n fixedNumber = [width / height, 1]\n } else {\n fixedNumber = [1, 1]\n }\n optCropper.fixedNumber = fixedNumber\n}\n\nconst _setCropperImgSrc = () => {\n const { src } = props\n let newSrc = ''\n if (src && !CommonBase.isEmpty(src)) {\n if (src.substring(0, 5) !== 'data:') {\n if (/^(http|https):\\/\\/[^\\s]+$/.test(src)) {\n const t = `_t=${new Date().getTime()}`\n const joinStr = src.indexOf('?') === -1 ? '?' : '&'\n newSrc = src + joinStr + t\n }\n } else {\n newSrc = src\n }\n optBase.isInitImageLoading = true\n }\n optCropper.img = newSrc\n}\n\nconst _initMain = () => {\n _setFixedNumber()\n _setCropperImgSrc()\n}\n\nonMounted(() => {\n optBase.isInitImageLoading = true\n nextTick(() => {\n _initMain()\n })\n})\n\nwatch(\n () => props.src,\n (newValue: string) => {\n if (!CommonBase.isEmpty(newValue)) {\n _setCropperImgSrc()\n }\n }\n)\n\nconst onRealTime = (imgData: any) => {\n optPreview.src = imgData.url\n optPreview.style = imgData.img\n optPreview.pStyle = imgData.div\n}\n\nconst onImgLoad = (result: any) => {\n const isSuccess = result === 'success'\n optBase.isInitImageLoading = false\n emit('onImgLoad', isSuccess)\n}\n\nconst onChangeFileAgain = (el: any) => {\n CommonBase.getBase64ByFile(el.currentTarget.files).then((result: any) => {\n optCropper.img = result\n })\n}\n\nconst onClickFileLabel = () => {\n // refElFileLabel.value.click()\n}\n\nconst onLarge = () => {\n refElCropper.value.changeScale(1)\n}\n\nconst onSmall = () => {\n refElCropper.value.changeScale(-1)\n}\n\nconst onRotateLeft = () => {\n refElCropper.value.rotateLeft()\n}\n\nconst onRotateRight = () => {\n refElCropper.value.rotateRight()\n}\n\nconst onReduction = () => {\n refElCropper.value.refresh()\n}\n\nconst onSave = () => {\n emit('onImgSave')\n}\n\nconst getImageBase64 = (): Promise<any> => {\n return new Promise((resolve) => {\n refElCropper.value.getCropData((cropperData: any) => {\n resolve(cropperData)\n })\n })\n}\n\ndefineExpose({\n getImageBase64\n})\n</script>\n","<template>\n <ClModal\n v-if=\"isModal\"\n ref=\"refElModal\"\n width=\"850px\"\n titleName=\"图片裁切\"\n :isShowSubmitLoad=\"false\"\n closeLabel=\"取消\"\n submitLabel=\"确定\"\n @onSubmit=\"onSubmit\"\n >\n <ClCropperBase\n ref=\"refElCropper\"\n :className=\"className\"\n :src=\"src\"\n :width=\"width\"\n :height=\"height\"\n :isFixedAspectRatio=\"isFixedAspectRatio\"\n :isPreview=\"isPreview\"\n :previewShape=\"previewShape\"\n :enlarge=\"enlarge\"\n :isCenterBox=\"isCenterBox\"\n :isShowUpload=\"isShowUpload\"\n :isShowSave=\"false\"\n :alignLine=\"alignLine\"\n :isPreviewAlignLine=\"isPreviewAlignLine\"\n :fillColor=\"fillColor\"\n @onImgLoad=\"onImgLoad\"\n ></ClCropperBase>\n </ClModal>\n <ClCropperBase\n v-else\n ref=\"refElCropper\"\n :className=\"className\"\n :src=\"src\"\n :width=\"width\"\n :height=\"height\"\n :isFixedAspectRatio=\"isFixedAspectRatio\"\n :isPreview=\"isPreview\"\n :previewShape=\"previewShape\"\n :enlarge=\"enlarge\"\n :isCenterBox=\"isCenterBox\"\n :isShowUpload=\"isShowUpload\"\n :isShowSave=\"isShowSave\"\n :alignLine=\"alignLine\"\n :isPreviewAlignLine=\"isPreviewAlignLine\"\n :fillColor=\"fillColor\"\n @onImgLoad=\"onImgLoad\"\n @onImgSave=\"onImgSave\"\n ></ClCropperBase>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue'\nimport ClCropperBase from './Base.vue'\nimport ClModal from '../Modal/Index.vue'\n\ndefineOptions({ name: 'ClCropper' })\n\nconst props = defineProps({\n className: String,\n src: {\n type: String,\n required: true\n },\n width: {\n type: Number,\n required: true\n },\n height: {\n type: Number,\n required: true\n },\n isFixedAspectRatio: {\n type: Boolean,\n default: true\n },\n isCenterBox: {\n type: Boolean,\n default: true\n },\n isPreview: {\n type: Boolean,\n default: true\n },\n previewShape: {\n type: String,\n default: 'square' // square | round\n },\n enlarge: {\n type: Number,\n default: 2\n },\n isModal: {\n type: Boolean,\n default: true\n },\n isShowUpload: {\n type: Boolean,\n default: true\n },\n isShowSave: {\n type: Boolean,\n default: false\n },\n fillColor: {\n type: String,\n default: 'transparent' // #FFFFFF\n },\n alignLine: {\n type: String,\n default: 'center' // center | nineGrid\n },\n isPreviewAlignLine: {\n type: Boolean,\n default: false\n }\n})\n\nconst emit = defineEmits<{\n (e: 'onSubmit', data: any): void\n (e: 'onImgLoad', isSuccess: boolean): void\n}>()\n\nconst refElModal: any = ref(null)\nconst refElCropper: any = ref(null)\n\nconst _getOutImageBase64 = () => {\n return refElCropper.value.getImageBase64().then((data: any) => data)\n}\n\nconst onSubmit = () => {\n return _getOutImageBase64().then((data: any) => {\n emit('onSubmit', data)\n refElModal.value.hide()\n })\n}\n\nconst onImgLoad = (isSuccess: boolean) => {\n emit('onImgLoad', isSuccess)\n}\n\nconst onImgSave = () => {\n return _getOutImageBase64().then((data: any) => {\n emit('onSubmit', data)\n })\n}\n\nconst getImageBase64 = () => {\n return _getOutImageBase64()\n}\n\nconst show = () => {\n if (refElModal.value && props.isModal) {\n refElModal.value.show()\n }\n}\n\ndefineExpose({\n getImageBase64,\n show\n})\n</script>\n"],"names":["_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_createVNode","ClLoad","__props","props","emit","__emit","refElCropper","ref","refElFileLabel","ran","CommonBase","optBase","reactive","optCropper","optPreview","optAlignLine","computed","alignLine","clsParent","className","cls","c","clsPreview","previewShape","_setFixedNumber","width","height","fixedNumber","_setCropperImgSrc","src","newSrc","t","joinStr","_initMain","onMounted","nextTick","watch","newValue","onRealTime","imgData","onImgLoad","result","isSuccess","onChangeFileAgain","el","onClickFileLabel","onLarge","onSmall","onRotateLeft","onRotateRight","onReduction","onSave","__expose","resolve","cropperData","_unref","_mergeProps","_hoisted_3","_Fragment","_createBlock","ClLoadFullCenter","_hoisted_4","_hoisted_5","_hoisted_8","_normalizeStyle","_hoisted_10","refElModal","_getOutImageBase64","data","onSubmit","onImgSave","ClModal","ClCropperBase"],"mappings":";;;;;;;;;;;;;;sBACEA,EAAA,GAAAC,EAQM,OARNC,IAQM;AAAA,sBAPJC,EAAsC,OAAA,EAAjC,OAAM,qBAAA,GAAoB,MAAA,EAAA;AAAA,MAC/BA,EAKM,OALNC,IAKM;AAAA,QAJJC,EAGEC,IAAA;AAAA,UAFC,OAAOC,EAAA;AAAA,UACP,MAAMA,EAAA;AAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACqHf,UAAMC,IAAQD,GAwDRE,IAAOC,GAKPC,IAAoBC,EAAI,I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AAOA,EAAA;AAAA,MACP,QAAQA,EAAA;AAAA,MACR,oBAAoBA,EAAA;AAAA,MACpB,WAAWA,EAAA;AAAA,MACX,cAAcA,EAAA;AAAA,MACd,SAASA,EAAA;AAAA,MACT,aAAaA,EAAA;AAAA,MACb,cAAcA,EAAA;AAAA,MACd,YAAYA,EAAA;AAAA,MACZ,WAAWA,EAAA;AAAA,MACX,oBAAoBA,EAAA;AAAA,MACpB,WAAWA,EAAA;AAAA,MACX,aAAWsC;AAAA,MACX,aAAW8B;AAAA,IAAA;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),o=require("./base-iCmnU-fv.js"),b=["name","placeholder","disabled"],H=t.defineComponent({name:"ClInputTextarea",__name:"Index",props:{value:{type:String,default:""},className:{type:String,default:""},width:{type:String,default:""},height:{type:String,default:"100px"},name:{type:String,default:""},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},isClean:{type:Boolean,default:!1},isAutoHeight:{type:Boolean,default:!1},changDelayTime:{type:Number,default:200},heightMax:{type:String,default:""}},emits:["update:value","onChange","onInit","onKeydownEnter","onKeyupEnter","onFocus","onBlur","onChangeDelay"],setup(h,{expose:g,emit:v}){const n=h,s=v,c=t.ref(null),r=t.reactive({height:n.height||"100px"}),i=t.ref(n.value||""),l={lastValue:n.value||"",prevDelayValue:n.value||"",valueDelayRun:!1},C=t.computed(()=>{let e=n.name;return o.CommonBase.isEmpty(e)&&(e=`textarea_${o.CommonBase.getRandom(8)}`),e}),x=t.computed(()=>n.isClean&&!n.disabled&&!o.CommonBase.isEmpty(i.value)),E=t.computed(()=>{const e={"panel-textarea":!0,"box-width":!0,"textarea-clean":n.isClean};return n.className&&!o.CommonBase.isEmpty(n.className)&&n.className.split(" ").forEach(a=>{o.CommonBase.isEmpty(a)||(e[a]=!0)}),e}),B=t.computed(()=>{const{width:e,heightMax:a}=n,u={};return o.CommonBase.isEmpty(e)||(u.width=e),o.CommonBase.isEmpty(r.height)||(u.height=r.height),a&&!o.CommonBase.isEmpty(a)&&(u["max-height"]=a),u}),p=()=>{if(n.isAutoHeight){const e=c.value;if(e){e.style.height=n.height||"100px";const a=e.scrollHeight+e.scrollTop+(e.offsetHeight-e.clientHeight);e.style.height="100%",r.height=a>0?`${a}px`:n.height||"100px"}}},d=()=>{c.value?.focus()},y=e=>{e!==l.lastValue&&(l.lastValue=e,s("update:value",e),s("onChange",e),D(e))};let m;const D=e=>{m&&(clearTimeout(m),m=null),l.valueDelayRun=!0,m=setTimeout(()=>{l.valueDelayRun=!1,l.prevDelayValue!==e&&(l.prevDelayValue=e,s("onChangeDelay",e))},n.changDelayTime||200)},V=()=>{t.nextTick(()=>{s("onInit")})};t.watch(()=>n.value,(e,a)=>{e!==a&&(i.value=e||"",l.lastValue=e||"",p(),l.valueDelayRun||(l.prevDelayValue=e||""))}),t.onMounted(()=>{t.nextTick(()=>{V()})});const k=e=>{const a=e.target.value;p(),y(a)},T=e=>{e.key==="Enter"&&s("onKeydownEnter",e)},_=e=>{e.key==="Enter"&&s("onKeyupEnter",e)},w=()=>{i.value="",y(""),d()},I=()=>{s("onFocus")},S=()=>{s("onBlur")},f=()=>o.CommonBase.trim(i.value);return g({getValue:f,getValueData:()=>({value:f(),show:i.value}),setValue:e=>{const a=o.CommonBase.isEmpty(e)?"":e;l.lastValue=a,l.prevDelayValue=a,i.value=a,p()},initHeight:()=>{r.height=n.height||"100px"},focus:()=>{d()},getParentElement:()=>c.value?.parentElement||null}),(e,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(E.value),style:t.normalizeStyle(B.value)},[t.withDirectives(t.createElementVNode("textarea",{ref_key:"refElTextarea",ref:c,class:"form-control text-area","onUpdate:modelValue":a[0]||(a[0]=u=>i.value=u),name:C.value,placeholder:h.placeholder,disabled:h.disabled,onInput:k,onKeydown:T,onKeyup:_,onFocus:I,onBlur:S},null,40,b),[[t.vModelText,i.value]]),x.value?(t.openBlock(),t.createElementBlock("i",{key:0,class:"textarea-clear-icon clIconFont clIcon-close-circle-fill",onClick:t.withModifiers(w,["stop"])})):t.createCommentVNode("",!0)],6))}});exports._sfc_main=H;
|
|
2
|
-
//# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js","sources":["../../../src/libs/Element/InputTextarea/Index.vue"],"sourcesContent":["<template>\n <div :class=\"clsParent\" :style=\"styParent\">\n <textarea ref=\"refElTextarea\" class=\"form-control text-area\" v-model=\"optTextValue\" :name=\"optElName\"\n :placeholder=\"placeholder\" :disabled=\"disabled\" @input=\"onInputText\" @keydown=\"onKeydown\" @keyup=\"onKeyup\"\n @focus=\"onFocus\" @blur=\"onBlur\"></textarea>\n <i v-if=\"optIsShowClean\" class=\"textarea-clear-icon clIconFont clIcon-close-circle-fill\"\n @click.stop=\"onClear\"></i>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, reactive, computed, watch, nextTick, onMounted } from 'vue'\nimport CommonBase from '../../Common/base'\nimport './Index.css'\n\ndefineOptions({ name: 'ClInputTextarea' })\n\nconst props = defineProps({\n value: {\n type: String,\n default: ''\n },\n className: {\n type: String,\n default: ''\n },\n width: {\n type: String,\n default: ''\n },\n height: {\n type: String,\n default: '100px'\n },\n name: {\n type: String,\n default: ''\n },\n placeholder: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n },\n isClean: {\n type: Boolean,\n default: false\n },\n isAutoHeight: {\n type: Boolean,\n default: false\n },\n changDelayTime: {\n type: Number,\n default: 200\n },\n heightMax: {\n type: String,\n default: ''\n },\n})\n\nconst emit = defineEmits<{\n (e: 'update:value', value: string): void\n (e: 'onChange', value: string): void\n (e: 'onInit'): void\n (e: 'onKeydownEnter', event: KeyboardEvent): void\n (e: 'onKeyupEnter', event: KeyboardEvent): void\n (e: 'onFocus'): void\n (e: 'onBlur'): void\n (e: 'onChangeDelay', value: string): void\n}>()\n\nconst refElTextarea = ref<HTMLTextAreaElement | null>(null)\nconst optBase = reactive({\n height: props.height || '100px',\n})\nconst optTextValue = ref(props.value || '')\nconst _pageData: any = {\n lastValue: props.value || '',\n prevDelayValue: props.value || '',\n valueDelayRun: false,\n}\n\nconst optElName = computed(() => {\n let name = props.name\n if (CommonBase.isEmpty(name)) {\n name = `textarea_${CommonBase.getRandom(8)}`\n }\n return name\n})\n\nconst optIsShowClean = computed(() => {\n return props.isClean && !props.disabled && !CommonBase.isEmpty(optTextValue.value)\n})\n\nconst clsParent = computed(() => {\n const clsTemp: any = {\n 'panel-textarea': true,\n 'box-width': true,\n 'textarea-clean': props.isClean,\n }\n if (props.className && !CommonBase.isEmpty(props.className)) {\n props.className.split(' ').forEach((cls) => {\n if (!CommonBase.isEmpty(cls)) {\n clsTemp[cls] = true\n }\n })\n }\n return clsTemp\n})\n\nconst styParent = computed(() => {\n const { width, heightMax } = props\n const sty: any = {}\n if (!CommonBase.isEmpty(width)) {\n sty.width = width\n }\n if (!CommonBase.isEmpty(optBase.height)) {\n sty.height = optBase.height\n }\n if (heightMax && !CommonBase.isEmpty(heightMax)) {\n sty['max-height'] = heightMax\n }\n return sty\n})\n\nconst _calculationHeight = () => {\n if (props.isAutoHeight) {\n const el = refElTextarea.value\n if (el) {\n el.style.height = props.height || '100px'\n const height = el.scrollHeight + el.scrollTop + (el.offsetHeight - el.clientHeight)\n el.style.height = '100%'\n optBase.height = height > 0 ? `${height}px` : (props.height || '100px')\n }\n }\n}\n\nconst _focus = () => {\n refElTextarea.value?.focus()\n}\n\nconst _emitChange = (value: string) => {\n if (value !== _pageData.lastValue) {\n _pageData.lastValue = value\n emit('update:value', value)\n emit('onChange', value)\n _emitChangeDelay(value)\n }\n}\n\nlet _valueTimerDelay: any\nconst _emitChangeDelay = (value: string) => {\n if (_valueTimerDelay) {\n clearTimeout(_valueTimerDelay)\n _valueTimerDelay = null\n }\n _pageData.valueDelayRun = true\n _valueTimerDelay = setTimeout(() => {\n _pageData.valueDelayRun = false\n if (_pageData.prevDelayValue !== value) {\n _pageData.prevDelayValue = value\n emit('onChangeDelay', value)\n }\n }, props.changDelayTime || 200)\n}\n\nconst _initMain = () => {\n nextTick(() => {\n emit('onInit')\n })\n}\n\nwatch(\n () => props.value,\n (newValue, oldValue) => {\n if (newValue !== oldValue) {\n optTextValue.value = newValue || ''\n _pageData.lastValue = newValue || ''\n _calculationHeight()\n if (!_pageData.valueDelayRun) {\n _pageData.prevDelayValue = newValue || ''\n }\n }\n },\n)\n\nonMounted(() => {\n nextTick(() => {\n _initMain()\n })\n})\n\nconst onInputText = (e: Event) => {\n const value = (e.target as HTMLTextAreaElement).value\n _calculationHeight()\n _emitChange(value)\n}\n\nconst onKeydown = (e: KeyboardEvent) => {\n const keyCode = e.key\n if (keyCode === 'Enter') {\n emit('onKeydownEnter', e)\n }\n}\n\nconst onKeyup = (e: KeyboardEvent) => {\n const keyCode = e.key\n if (keyCode === 'Enter') {\n emit('onKeyupEnter', e)\n }\n}\n\nconst onClear = () => {\n optTextValue.value = ''\n _emitChange('')\n _focus()\n}\n\nconst onFocus = () => {\n emit('onFocus')\n}\n\nconst onBlur = () => {\n emit('onBlur')\n}\n\nexport interface ClInputTextareaExpose {\n getValue: () => string\n getValueData: () => { value: string; show: string }\n setValue: (value: string) => void\n initHeight: () => void\n focus: () => void\n getParentElement: () => HTMLElement | null\n}\n\nconst getValue = () => {\n return CommonBase.trim(optTextValue.value)\n}\n\nconst getValueData = () => {\n return { value: getValue(), show: optTextValue.value }\n}\n\nconst setValue = (value: any) => {\n const newValue = CommonBase.isEmpty(value) ? '' : value\n _pageData.lastValue = newValue\n _pageData.prevDelayValue = newValue\n optTextValue.value = newValue\n _calculationHeight()\n}\n\nconst initHeight = () => {\n optBase.height = props.height || '100px'\n}\n\nconst focus = () => {\n _focus()\n}\n\nconst getParentElement = () => {\n return refElTextarea.value?.parentElement || null\n}\n\ndefineExpose({\n getValue,\n getValueData,\n setValue,\n initHeight,\n focus,\n getParentElement,\n})\n</script>\n"],"names":["props","__props","emit","__emit","refElTextarea","ref","optBase","reactive","optTextValue","_pageData","optElName","computed","name","CommonBase","optIsShowClean","clsParent","clsTemp","cls","styParent","width","heightMax","sty","_calculationHeight","el","height","_focus","_emitChange","value","_emitChangeDelay","_valueTimerDelay","_initMain","nextTick","watch","newValue","oldValue","onMounted","onInputText","onKeydown","onKeyup","onClear","onFocus","onBlur","getValue","__expose","_createElementBlock","_createElementVNode","$event"],"mappings":"qrBAiBA,MAAMA,EAAQC,EA+CRC,EAAOC,EAWPC,EAAgBC,EAAAA,IAAgC,IAAI,EACpDC,EAAUC,EAAAA,SAAS,CACrB,OAAQP,EAAM,QAAU,OAAA,CAC3B,EACKQ,EAAeH,EAAAA,IAAIL,EAAM,OAAS,EAAE,EACpCS,EAAiB,CACnB,UAAWT,EAAM,OAAS,GAC1B,eAAgBA,EAAM,OAAS,GAC/B,cAAe,EAAA,EAGbU,EAAYC,EAAAA,SAAS,IAAM,CAC7B,IAAIC,EAAOZ,EAAM,KACjB,OAAIa,EAAAA,WAAW,QAAQD,CAAI,IACvBA,EAAO,YAAYC,EAAAA,WAAW,UAAU,CAAC,CAAC,IAEvCD,CACX,CAAC,EAEKE,EAAiBH,EAAAA,SAAS,IACrBX,EAAM,SAAW,CAACA,EAAM,UAAY,CAACa,aAAW,QAAQL,EAAa,KAAK,CACpF,EAEKO,EAAYJ,EAAAA,SAAS,IAAM,CAC7B,MAAMK,EAAe,CACjB,iBAAkB,GAClB,YAAa,GACb,iBAAkBhB,EAAM,OAAA,EAE5B,OAAIA,EAAM,WAAa,CAACa,EAAAA,WAAW,QAAQb,EAAM,SAAS,GACtDA,EAAM,UAAU,MAAM,GAAG,EAAE,QAASiB,GAAQ,CACnCJ,EAAAA,WAAW,QAAQI,CAAG,IACvBD,EAAQC,CAAG,EAAI,GAEvB,CAAC,EAEED,CACX,CAAC,EAEKE,EAAYP,EAAAA,SAAS,IA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mBAE+C,WAAA,SAFjC,gBAAJ,IAAIzC,EAAgB,MAAM,8DAAkCI,EAAY,MAAAsC,GAAG,KAAMpC,EAAA,MACtF,YAAaT,EAAA,YAAc,SAAUA,EAAA,SAAW,QAAOmC,EAAc,UAAAC,EAAqB,QAAAC,EAC1F,QAAAE,EAAiB,OAAAC,CAAA,4BAFgDjC,EAAA,KAAY,CAAA,GAGzEM,EAAA,qBAAT8B,EAAAA,mBAC8B,IAAA,OADL,MAAM,0DAC1B,wBAAYL,EAAO,CAAA,MAAA,CAAA,CAAA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),n={class:"load-rotaryLine-container"},o=e.defineComponent({name:"ClLoadRotaryLine",__name:"RotaryLine",setup(l){return(c,i)=>(e.openBlock(),e.createElementBlock("div",n,[...i[0]||(i[0]=[e.createStaticVNode('<div class="rotary-line rotary-line-1"><div></div></div><div class="rotary-line rotary-line-2"><div></div></div><div class="rotary-line rotary-line-3"><div></div></div><div class="rotary-line rotary-line-4"><div></div></div><div class="rotary-line rotary-line-5"><div></div></div><div class="rotary-line rotary-line-6"><div></div></div><div class="rotary-line rotary-line-7"><div></div></div><div class="rotary-line rotary-line-8"><div></div></div><div class="rotary-line rotary-line-9"><div></div></div><div class="rotary-line rotary-line-10"><div></div></div><div class="rotary-line rotary-line-11"><div></div></div><div class="rotary-line rotary-line-12"><div></div></div>',12)])]))}}),a={class:"load-circleBubble-container"},d=e.defineComponent({name:"ClLoadCircleBubble",__name:"CircleBubble",setup(l){return(c,i)=>(e.openBlock(),e.createElementBlock("div",a,[...i[0]||(i[0]=[e.createStaticVNode('<div class="circleBubble-container circleBubble-container1"><div class="circleBubble-item circleBubble-item1"></div><div class="circleBubble-item circleBubble-item2"></div><div class="circleBubble-item circleBubble-item3"></div><div class="circleBubble-item circleBubble-item4"></div></div><div class="circleBubble-container circleBubble-container2"><div class="circleBubble-item circleBubble-item1"></div><div class="circleBubble-item circleBubble-item2"></div><div class="circleBubble-item circleBubble-item3"></div><div class="circleBubble-item circleBubble-item4"></div></div><div class="circleBubble-container circleBubble-container3"><div class="circleBubble-item circleBubble-item1"></div><div class="circleBubble-item circleBubble-item2"></div><div class="circleBubble-item circleBubble-item3"></div><div class="circleBubble-item circleBubble-item4"></div></div>',3)])]))}}),s=e.defineComponent({name:"ClLoadCircleNotch",__name:"CircleNotch",props:{color:{}},setup(l){const c=l,i=e.computed(()=>{const r={"load-circleNotch-container":!0},{color:t}=c;return t&&t!=="default"&&(r["circleNotch-white"]=!0),r});return(r,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(i.value)},null,2))}}),v={class:"loader"},u=e.defineComponent({name:"ClLoadBallColor4",__name:"BallColor4",setup(l){return(c,i)=>(e.openBlock(),e.createElementBlock("div",v,[...i[0]||(i[0]=[e.createElementVNode("span",{style:{"--i":"1","--c":"#2ecc71"}},null,-1),e.createElementVNode("span",{style:{"--i":"2","--c":"#3498db"}},null,-1),e.createElementVNode("span",{style:{"--i":"3","--c":"#f1c40f"}},null,-1),e.createElementVNode("span",{style:{"--i":"4","--c":"#e74c3c"}},null,-1)])]))}}),b=e.defineComponent({name:"ClLoad",__name:"Index",props:{theme:{type:String,default:"rotaryLine",validator:l=>["rotaryLine","circleNotch","circleBubble","ballColor4"].indexOf(l)!==-1},size:{type:String,default:"large"},color:{type:String,default:"default"}},setup(l){const c=l,i=e.computed(()=>{const r={"panel-load":!0};return r[`load-${c.theme||"rotaryLine"}`]=!0,r[`${c.theme||"rotaryLine"}-${c.size||"large"}`]=!0,r});return(r,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(i.value)},[l.theme==="rotaryLine"?(e.openBlock(),e.createBlock(o,{key:0})):l.theme==="circleNotch"?(e.openBlock(),e.createBlock(s,{key:1,color:l.color},null,8,["color"])):l.theme==="circleBubble"?(e.openBlock(),e.createBlock(d,{key:2})):l.theme==="ballColor4"?(e.openBlock(),e.createBlock(u,{key:3})):e.createCommentVNode("",!0)],2))}});exports._sfc_main=b;
|
|
2
|
-
//# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js","sources":["../../../src/libs/Element/Load/RotaryLine.vue","../../../src/libs/Element/Load/CircleBubble.vue","../../../src/libs/Element/Load/CircleNotch.vue","../../../src/libs/Element/Load/BallColor4.vue","../../../src/libs/Element/Load/Index.vue"],"sourcesContent":["<template>\n <div class=\"load-rotaryLine-container\">\n <div class=\"rotary-line rotary-line-1\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-2\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-3\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-4\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-5\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-6\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-7\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-8\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-9\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-10\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-11\">\n <div></div>\n </div>\n <div class=\"rotary-line rotary-line-12\">\n <div></div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n// defineOptions\ndefineOptions({ name: 'ClLoadRotaryLine' })\n</script>\n","<template>\n <div class=\"load-circleBubble-container\">\n <div class=\"circleBubble-container circleBubble-container1\">\n <div class=\"circleBubble-item circleBubble-item1\"></div>\n <div class=\"circleBubble-item circleBubble-item2\"></div>\n <div class=\"circleBubble-item circleBubble-item3\"></div>\n <div class=\"circleBubble-item circleBubble-item4\"></div>\n </div>\n <div class=\"circleBubble-container circleBubble-container2\">\n <div class=\"circleBubble-item circleBubble-item1\"></div>\n <div class=\"circleBubble-item circleBubble-item2\"></div>\n <div class=\"circleBubble-item circleBubble-item3\"></div>\n <div class=\"circleBubble-item circleBubble-item4\"></div>\n </div>\n <div class=\"circleBubble-container circleBubble-container3\">\n <div class=\"circleBubble-item circleBubble-item1\"></div>\n <div class=\"circleBubble-item circleBubble-item2\"></div>\n <div class=\"circleBubble-item circleBubble-item3\"></div>\n <div class=\"circleBubble-item circleBubble-item4\"></div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n// defineOptions\ndefineOptions({ name: 'ClLoadCircleBubble' })\n</script>\n","<template>\n <div :class=\"clsParent\"></div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed } from 'vue'\n\n// defineOptions\ndefineOptions({ name: 'ClLoadCircleNotch' })\n\n// props\nconst props = defineProps<{\n color?: string\n}>()\n\n// computed\nconst clsParent = computed(() => {\n const cls: any = {\n 'load-circleNotch-container': true,\n }\n const { color } = props\n if (color && color !== 'default') {\n cls['circleNotch-white'] = true\n }\n return cls\n})\n</script>\n","<template>\n <div class=\"loader\">\n <!-- --i、--c为自定义属性,CSS中可通过var函数对其调用 -->\n <span style=\"--i:1;--c:#2ecc71;\"></span>\n <span style=\"--i:2;--c:#3498db;\"></span>\n <span style=\"--i:3;--c:#f1c40f;\"></span>\n <span style=\"--i:4;--c:#e74c3c;\"></span>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n// defineOptions\ndefineOptions({ name: 'ClLoadBallColor4' })\n</script>\n","<template>\n <div :class=\"clsParent\">\n <ClLoadRotaryLine v-if=\"theme === 'rotaryLine'\" />\n <ClLoadCircleNotch\n v-else-if=\"theme === 'circleNotch'\"\n :color=\"color\"\n />\n <ClLoadCircleBubble v-else-if=\"theme === 'circleBubble'\" />\n <ClLoadBallColor4 v-else-if=\"theme === 'ballColor4'\" />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport './Index.css'\nimport { computed } from 'vue'\nimport ClLoadRotaryLine from './RotaryLine.vue'\nimport ClLoadCircleBubble from './CircleBubble.vue'\nimport ClLoadCircleNotch from './CircleNotch.vue'\nimport ClLoadBallColor4 from './BallColor4.vue'\n\n// defineOptions\ndefineOptions({ name: 'ClLoad' })\n\n// props\nconst props = defineProps({\n theme: {\n type: String,\n default: 'rotaryLine',\n validator: (value: string) => {\n return ['rotaryLine', 'circleNotch', 'circleBubble', 'ballColor4'].indexOf(value) !== -1\n }\n },\n size: {\n type: String,\n default: 'large'\n },\n color: {\n type: String,\n default: 'default'\n },\n})\n\n// computed\nconst clsParent = computed(() => {\n const cls: any = {\n 'panel-load': true,\n }\n cls[`load-${props.theme || 'rotaryLine'}`] = true\n // 仅实现 circleBubble 大小\n cls[`${props.theme || 'rotaryLine'}-${props.size || 'large'}`] = true\n return cls\n})\n</script>\n"],"names":["_openBlock","_createElementBlock","_hoisted_1","_cache","props","__props","clsParent","computed","cls","color","_createElementVNode","_createBlock","ClLoadRotaryLine","ClLoadCircleNotch","ClLoadCircleBubble","ClLoadBallColor4"],"mappings":"kKACEA,YAAA,EAAAC,qBAqCM,MArCNC,EAqCM,CAAA,GAAAC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,20BCrCNH,YAAA,EAAAC,qBAmBM,MAnBNC,EAmBM,CAAA,GAAAC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,s+BCTR,MAAMC,EAAQC,EAKRC,EAAYC,EAAAA,SAAS,IAAM,CAC/B,MAAMC,EAAW,CACf,6BAA8B,EAAA,EAE1B,CAAE,MAAAC,GAAUL,EAClB,OAAIK,GAASA,IAAU,YACrBD,EAAI,mBAAmB,EAAI,IAEtBA,CACT,CAAC,8BAxBCP,EAAAA,mBAA8B,MAAA,CAAxB,uBAAOK,EAAA,KAAS,CAAA,yHCAtBN,YAAA,EAAAC,qBAMM,MANNC,EAMM,CAAA,GAAAC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,CAJJO,EAAAA,mBAAwC,OAAA,CAAlC,MAAA,CAAA,MAAA,IAAA,MAAA,SAAA,GAA0B,KAAA,EAAA,EAChCA,EAAAA,mBAAwC,OAAA,CAAlC,MAAA,CAAA,MAAA,IAAA,MAAA,SAAA,GAA0B,KAAA,EAAA,EAChCA,EAAAA,mBAAwC,OAAA,CAAlC,MAAA,CAAA,MAAA,IAAA,MAAA,SAAA,GAA0B,KAAA,EAAA,EAChCA,EAAAA,mBAAwC,OAAA,CAAlC,MAAA,CAAA,MAAA,IAAA,MAAA,SAAA,GAA0B,KAAA,EAAA,CAAA,oRCkBpC,MAAMN,EAAQC,EAmBRC,EAAYC,EAAAA,SAAS,IAAM,CAC/B,MAAMC,EAAW,CACf,aAAc,EAAA,EAEhB,OAAAA,EAAI,QAAQJ,EAAM,OAAS,YAAY,EAAE,EAAI,GAE7CI,EAAI,GAAGJ,EAAM,OAAS,YAAY,IAAIA,EAAM,MAAQ,OAAO,EAAE,EAAI,GAC1DI,CACT,CAAC,8BAlDCP,EAAAA,mBAQM,MAAA,CARA,uBAAOK,EAAA,KAAS,CAAA,GACID,EAAA,QAAK,4BAA7BM,EAAAA,YAAkDC,EAAA,CAAA,IAAA,CAAA,CAAA,GAErCP,EAAA,QAAK,6BADlBM,EAAAA,YAGEE,EAAA,OADC,MAAOR,EAAA,KAAA,qBAEqBA,EAAA,QAAK,8BAApCM,EAAAA,YAA2DG,EAAA,CAAA,IAAA,EAAA,GAC9BT,EAAA,QAAK,4BAAlCM,EAAAA,YAAuDI,EAAA,CAAA,IAAA,CAAA,CAAA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),c=require("./base-iCmnU-fv.js"),E=["onClick"],F=["innerHTML"],R={key:1},_=["onClick"],L=t.defineComponent({name:"ClTags",__name:"Index",props:{className:String,list:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},isRemove:{type:Boolean,default:!0},showTextFormat:String,isRemoveAll:{type:Boolean,default:!1},theme:{type:String,default:"default"},isFormatHtml:{type:Boolean,default:!1}},emits:["onRemove","onClickTag"],setup(r,{expose:k,emit:C}){const a=r,m=C,B=`tag-${c.CommonBase.getRandom(8)}`,g=t.ref(a.disabled),n=t.ref([]),l=t.reactive({status:0,startColor:"#FFFF80",endColor:"rgba(0, 0, 0, 0)",hID:""}),b=t.computed(()=>{const{className:e,theme:s}=a,o={"panel-tags":!0};return s!=="default"&&(o[`tags-${s}`]=!0),a.isRemoveAll&&n.value.length>0&&(o["tags-region"]=!0),c.CommonBase.isEmpty(e)||e.split(" ").forEach(i=>{c.CommonBase.isEmpty(i)||(o[i]=!0)}),o}),f=e=>{const{theme:s}=a;let o={};return s==="default"?(o={tag:!0,"tag-disabled":e.isShowDisabled,"tag-remove":a.isRemove&&!e.isShowDisabled},o["tag-hlight"]=e.id.toString()===l.hID&&l.status===2):s==="code"&&(o["tag-code"]=!0),o},y=e=>{const s={};if(e.id.toString()===l.hID)switch(l.status){case 1:s["background-color"]=l.startColor;break;case 2:s["background-color"]=l.endColor;break}return s},h=e=>c.CommonBase.isEmpty(a.showTextFormat)?e.name:c.CommonBase.convertStringFormat(a.showTextFormat,e),p=e=>{const s=g.value;let o=!1;s?o=!0:o=c.CommonBase.isBoolean(e.isDisabled)?e.isDisabled:!1,e.isShowDisabled=o},u=e=>{const s=[];return e.forEach(o=>{const i=c.CommonBase.getJsonClone(o);p(i),s.push(i)}),s},v=e=>{g.value=e;const s=u(n.value);n.value=s},D=e=>{l.hID=e.toString(),l.status=1,t.nextTick(()=>{setTimeout(()=>{l.status=2},10),setTimeout(()=>{l.status=0,l.hID=""},1500)})},w=()=>{const e=u(a.list);n.value=e};t.watch(()=>a.disabled,e=>{v(e)}),t.watch(()=>a.list,e=>{const s=u(e);n.value=s},{deep:!0}),t.onMounted(()=>{t.nextTick(()=>{w()})});const I=(e,s)=>{m("onClickTag",s)},S=(e,s,o)=>{e.preventDefault(),e.stopPropagation(),a.isRemove&&!s.isShowDisabled&&(n.value.splice(o,1),m("onRemove",s.id.toString()))},T=()=>{n.value=[],m("onRemove","")};return k({setDisabled:(e=!0)=>{v(e)},addInfo:e=>{const s=c.CommonBase.getListExistValue(n.value,e.name,"name");if(c.CommonBase.isEmpty(s)){const o=c.CommonBase.getJsonClone(e);p(o),n.value.push(o)}else D(s.info.id)},getData:()=>n.value}),(e,s)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(b.value)},[n.value.length>0?t.renderSlot(e.$slots,"head",{key:0}):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.value,(o,i)=>(t.openBlock(),t.createElementBlock("span",{key:`${B}-list-${i}-${o.id}`,class:t.normalizeClass(f(o)),style:t.normalizeStyle(y(o)),onClick:t.withModifiers(d=>I(d,o),["stop"])},[o.isHtml||r.isFormatHtml?(t.openBlock(),t.createElementBlock("span",{key:0,innerHTML:h(o)},null,8,F)):(t.openBlock(),t.createElementBlock("span",R,t.toDisplayString(h(o)),1)),r.isRemove&&!o.isShowDisabled?(t.openBlock(),t.createElementBlock("i",{key:2,class:"tag-close clIconFont clIcon-close",onClick:d=>S(d,o,i)},null,8,_)):t.createCommentVNode("",!0)],14,E))),128)),r.isRemoveAll&&n.value.length>0&&!r.disabled?(t.openBlock(),t.createElementBlock("i",{key:1,class:"tag-closeAll clIconFont clIcon-close",onClick:T})):t.createCommentVNode("",!0)],2))}});exports._sfc_main=L;
|
|
2
|
-
//# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js","sources":["../../../src/libs/Element/Tags/Index.vue"],"sourcesContent":["<template>\n <div :class=\"clsParent\">\n <template v-if=\"optNewList.length > 0\">\n <slot name=\"head\"></slot>\n </template>\n <span\n v-for=\"(info, inx) in optNewList\"\n :key=\"`${optKeyIndex}-list-${inx}-${info.id}`\"\n :class=\"clsTag(info)\"\n :style=\"styTag(info)\"\n @click.stop=\"onClickTag($event, info)\"\n >\n <span v-if=\"info.isHtml || isFormatHtml\" v-html=\"optFunShowTextLabel(info)\"></span>\n <span v-else>{{ optFunShowTextLabel(info) }}</span>\n <i\n v-if=\"isRemove && !info.isShowDisabled\"\n class=\"tag-close clIconFont clIcon-close\"\n @click=\"onRemoveItem($event, info, inx)\"\n ></i>\n </span>\n <i\n v-if=\"isRemoveAll && optNewList.length > 0 && !disabled\"\n class=\"tag-closeAll clIconFont clIcon-close\"\n @click=\"onRemoveAll\"\n ></i>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, reactive, computed, watch, onMounted, nextTick } from 'vue'\nimport CommonBase from '../../Common/base'\nimport './Index.css'\n\ndefineOptions({ name: 'ClTags' })\n\nconst props = defineProps({\n className: String,\n\n list: {\n type: Array,\n default: () => []\n },\n disabled: {\n type: Boolean,\n default: false\n },\n isRemove: {\n type: Boolean,\n default: true\n },\n showTextFormat: String, // \"${id} ${name}\"\n isRemoveAll: {\n type: Boolean,\n default: false\n },\n theme: {\n type: String,\n default: 'default' // default | code\n },\n isFormatHtml: {\n type: Boolean,\n default: false\n }\n})\n\nconst emit = defineEmits(['onRemove', 'onClickTag'])\n\nconst optKeyIndex = `tag-${CommonBase.getRandom(8)}`\nconst optIsShowDisabled = ref(props.disabled)\nconst optNewList = ref<any[]>([])\n\nconst optHlight = reactive({\n status: 0, // 1:初始,2:过渡中 0:结束\n startColor: '#FFFF80',\n endColor: 'rgba(0, 0, 0, 0)',\n hID: ''\n})\n\nconst clsParent = computed(() => {\n const { className, theme } = props\n const cls: Record<string, boolean> = {\n 'panel-tags': true\n }\n if (theme !== 'default') {\n cls[`tags-${theme}`] = true\n }\n if (props.isRemoveAll && optNewList.value.length > 0) {\n cls['tags-region'] = true\n }\n if (!CommonBase.isEmpty(className)) {\n className!.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsTag = (info: any) => {\n const { theme } = props\n let cls: Record<string, boolean> = {}\n if (theme === 'default') {\n cls = {\n tag: true,\n 'tag-disabled': info.isShowDisabled,\n 'tag-remove': props.isRemove && !info.isShowDisabled\n }\n cls['tag-hlight'] = info.id.toString() === optHlight.hID && optHlight.status === 2\n } else if (theme === 'code') {\n cls['tag-code'] = true\n }\n return cls\n}\n\nconst styTag = (info: any) => {\n const sty: Record<string, string | undefined> = {}\n if (info.id.toString() === optHlight.hID) {\n switch (optHlight.status) {\n case 1:\n sty['background-color'] = optHlight.startColor\n break\n case 2:\n sty['background-color'] = optHlight.endColor\n break\n case 0:\n break\n }\n }\n return sty\n}\n\nconst optFunShowTextLabel = (info: any) => {\n return CommonBase.isEmpty(props.showTextFormat)\n ? info.name\n : CommonBase.convertStringFormat(props.showTextFormat as string, info)\n}\n\n// 内部方法\nconst _convertListInfoDisabled = (item: any) => {\n const disabled = optIsShowDisabled.value\n let isItemDisabled = false\n if (disabled) {\n isItemDisabled = true\n } else {\n isItemDisabled = CommonBase.isBoolean(item.isDisabled) ? item.isDisabled : false\n }\n item.isShowDisabled = isItemDisabled\n}\n\nconst _convertList = (list: any[]) => {\n const newList: any[] = []\n list.forEach((item: any) => {\n const newItem = CommonBase.getJsonClone(item)\n _convertListInfoDisabled(newItem)\n newList.push(newItem)\n })\n return newList\n}\n\nconst _changeDisabled = (isDisabled: boolean) => {\n optIsShowDisabled.value = isDisabled\n const newList = _convertList(optNewList.value)\n optNewList.value = newList\n}\n\nconst _bindHlight = (id: any) => {\n optHlight.hID = id.toString()\n optHlight.status = 1\n nextTick(() => {\n setTimeout(() => {\n optHlight.status = 2\n }, 10)\n setTimeout(() => {\n optHlight.status = 0\n optHlight.hID = ''\n }, 1500)\n })\n}\n\nconst _initMain = () => {\n const newList = _convertList(props.list)\n optNewList.value = newList\n}\n\n// watch\nwatch(\n () => props.disabled,\n (newValue: boolean) => {\n _changeDisabled(newValue)\n }\n)\n\nwatch(\n () => props.list,\n (newValue: any[]) => {\n const newList = _convertList(newValue)\n optNewList.value = newList\n },\n { deep: true }\n)\n\n// 生命周期\nonMounted(() => {\n nextTick(() => {\n _initMain()\n })\n})\n\n// 事件\nconst onClickTag = (_event: MouseEvent, info: any) => {\n emit('onClickTag', info)\n}\n\nconst onRemoveItem = (event: MouseEvent, info: any, inx: number) => {\n event.preventDefault()\n event.stopPropagation()\n if (props.isRemove && !info.isShowDisabled) {\n optNewList.value.splice(inx, 1)\n emit('onRemove', info.id.toString())\n }\n}\n\nconst onRemoveAll = () => {\n optNewList.value = []\n emit('onRemove', '')\n}\n\n// 外部调用\nconst setDisabled = (isDisabled = true) => {\n _changeDisabled(isDisabled)\n}\n\nconst addInfo = (item: any) => {\n const existInfo = CommonBase.getListExistValue(optNewList.value, item.name, 'name')\n if (CommonBase.isEmpty(existInfo)) {\n const newItem = CommonBase.getJsonClone(item)\n _convertListInfoDisabled(newItem)\n optNewList.value.push(newItem)\n } else {\n _bindHlight(existInfo.info.id)\n }\n}\n\nconst getData = () => {\n return optNewList.value\n}\n\ndefineExpose({\n setDisabled,\n addInfo,\n getData\n})\n</script>\n"],"names":["props","__props","emit","__emit","optKeyIndex","CommonBase","optIsShowDisabled","ref","optNewList","optHlight","reactive","clsParent","computed","className","theme","cls","c","clsTag","info","styTag","sty","optFunShowTextLabel","_convertListInfoDisabled","item","disabled","isItemDisabled","_convertList","list","newList","newItem","_changeDisabled","isDisabled","_bindHlight","id","nextTick","_initMain","watch","newValue","onMounted","onClickTag","_event","onRemoveItem","event","inx","onRemoveAll","__expose","existInfo","_createElementBlock","_renderSlot","_ctx","_openBlock","_Fragment","_renderList","_normalizeClass","_normalizeStyle","_withModifiers","$event","_hoisted_3","_toDisplayString"],"mappings":"gfAmCA,MAAMA,EAAQC,EA8BRC,EAAOC,EAEPC,EAAc,OAAOC,EAAAA,WAAW,UAAU,CAAC,CAAC,GAC5CC,EAAoBC,EAAAA,IAAIP,EAAM,QAAQ,EACtCQ,EAAaD,EAAAA,IAAW,EAAE,EAE1BE,EAAYC,EAAAA,SAAS,CACzB,OAAQ,EACR,WAAY,UACZ,SAAU,mBACV,IAAK,EAAA,CACN,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