@cldemo/ui-kit 1.0.5 → 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 +2 -2
- 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,429 +0,0 @@
|
|
|
1
|
-
import { defineComponent as U, inject as j, ref as H, reactive as N, computed as O, watch as M, onMounted as F, nextTick as J, openBlock as C, createElementBlock as R, normalizeClass as D, createElementVNode as L, normalizeStyle as B, Fragment as v, createBlock as K } from "vue";
|
|
2
|
-
import { C as i } from "../Shared/base-PQGakkrl.js";
|
|
3
|
-
import "js-cookie";
|
|
4
|
-
import "decimal.js";
|
|
5
|
-
import { C as P } from "../Shared/index-BnerInzC.js";
|
|
6
|
-
import "../Shared/day-Bz9LfelO.js";
|
|
7
|
-
import w from "axios";
|
|
8
|
-
import A from "qs";
|
|
9
|
-
import "echarts";
|
|
10
|
-
import "@popperjs/core";
|
|
11
|
-
import { _ as $ } from "../Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js";
|
|
12
|
-
class I {
|
|
13
|
-
requestPendingList;
|
|
14
|
-
globalOptions;
|
|
15
|
-
constructor() {
|
|
16
|
-
this.requestPendingList = /* @__PURE__ */ new Map(), this.globalOptions = {}, this._setInterceptors();
|
|
17
|
-
}
|
|
18
|
-
_initRequest(e, t, s) {
|
|
19
|
-
const o = this, r = this._getExtInfo(s.ext);
|
|
20
|
-
return new Promise((c) => {
|
|
21
|
-
const a = /* @__PURE__ */ new Date();
|
|
22
|
-
let b = {
|
|
23
|
-
url: e,
|
|
24
|
-
timeout: 1e3 * 15,
|
|
25
|
-
responseType: "json",
|
|
26
|
-
retry: 3,
|
|
27
|
-
retryDelay: 1e3
|
|
28
|
-
//_requestKeyMerge: ["method", "url", "_ran"],
|
|
29
|
-
};
|
|
30
|
-
b = i.getJsonMerge(b, s.options, t), w(b).then((d) => {
|
|
31
|
-
if (s.ext._operateType === "fileDownBinary")
|
|
32
|
-
s.ext.uploadDownBinaryCallback(d, r, c);
|
|
33
|
-
else {
|
|
34
|
-
const m = r.resultCallback ? r.resultCallback(d) : o._initResult(d, r.resultCode);
|
|
35
|
-
o._initRequestResolve(c, m, r, a);
|
|
36
|
-
}
|
|
37
|
-
}).catch((d) => {
|
|
38
|
-
if (r.errorCallback && d.response) {
|
|
39
|
-
const m = r.errorCallback(d);
|
|
40
|
-
m && (m.then && i.isFunction(m.then) ? m.then((p) => {
|
|
41
|
-
o._initRequestError(d, c, p, r, a);
|
|
42
|
-
}) : o._initRequestError(d, c, m, r, a));
|
|
43
|
-
} else {
|
|
44
|
-
let m = "", p = "";
|
|
45
|
-
d.response ? m = d.response.status.toString() : d.code === "ECONNABORTED" ? p = "Axios:TimeOut Repeat" : i.isEmpty(d.message) || (p = `Axios:${i.isEmpty(d.code) ? "" : d.code + "-"}${d.message}`);
|
|
46
|
-
const y = o._initResultErr(m, p);
|
|
47
|
-
o._initRequestError(d, c, y, r, a);
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
_initRequestResolve(e, t, s, o) {
|
|
53
|
-
s.isTimeOut ? this._timeOut(o, () => {
|
|
54
|
-
e(t);
|
|
55
|
-
}) : e(t);
|
|
56
|
-
}
|
|
57
|
-
_initRequestError(e, t, s, o, r) {
|
|
58
|
-
w.isCancel(e) || this._initRequestResolve(t, s, o, r);
|
|
59
|
-
}
|
|
60
|
-
initGet(e) {
|
|
61
|
-
const t = {
|
|
62
|
-
method: "get",
|
|
63
|
-
headers: this._getHeader(e.ext),
|
|
64
|
-
params: e.param
|
|
65
|
-
};
|
|
66
|
-
return this._initRequest(e.url, t, e);
|
|
67
|
-
}
|
|
68
|
-
initPost(e) {
|
|
69
|
-
const t = {
|
|
70
|
-
method: "post",
|
|
71
|
-
headers: this._getHeader(e.ext),
|
|
72
|
-
data: JSON.stringify(e.param)
|
|
73
|
-
};
|
|
74
|
-
return this._initRequest(e.url, t, e);
|
|
75
|
-
}
|
|
76
|
-
initPut(e) {
|
|
77
|
-
const t = e.url, s = {
|
|
78
|
-
method: "put",
|
|
79
|
-
headers: this._getHeader(e.ext),
|
|
80
|
-
data: JSON.stringify(e.param)
|
|
81
|
-
};
|
|
82
|
-
return this._initRequest(t, s, e);
|
|
83
|
-
}
|
|
84
|
-
initDelete(e) {
|
|
85
|
-
const t = e.url, s = {
|
|
86
|
-
method: "delete",
|
|
87
|
-
headers: this._getHeader(e.ext),
|
|
88
|
-
data: JSON.stringify(e.param)
|
|
89
|
-
};
|
|
90
|
-
return this._initRequest(t, s, e);
|
|
91
|
-
}
|
|
92
|
-
initFile(e) {
|
|
93
|
-
const t = {
|
|
94
|
-
method: "post"
|
|
95
|
-
}, s = this._getHeader(e.ext);
|
|
96
|
-
t.headers = s;
|
|
97
|
-
const o = new FormData();
|
|
98
|
-
return Object.keys(e.param).forEach((r) => {
|
|
99
|
-
const c = e.param[r];
|
|
100
|
-
i.isArray(c) ? c.forEach((a) => {
|
|
101
|
-
o.append(r, a);
|
|
102
|
-
}) : o.append(r, e.param[r]);
|
|
103
|
-
}), t.data = o, this._initRequest(e.url, t, e);
|
|
104
|
-
}
|
|
105
|
-
initFileDownLoad(e) {
|
|
106
|
-
const t = this, s = {
|
|
107
|
-
method: "post",
|
|
108
|
-
responseType: "blob"
|
|
109
|
-
}, o = i.isEmpty(e.options.method) ? "post" : e.options.method;
|
|
110
|
-
s.method = o;
|
|
111
|
-
const r = this._getHeader(e.ext);
|
|
112
|
-
return r["Content-Type"] = "application/json;", s.headers = r, i.isEmpty(e.param) || (o === "get" ? s.params = e.param : s.data = JSON.stringify(e.param)), e.ext._operateType = "fileDownBinary", e.ext.uploadDownBinaryCallback = (c, a, b) => {
|
|
113
|
-
const d = new FileReader();
|
|
114
|
-
d.onload = function(m) {
|
|
115
|
-
try {
|
|
116
|
-
const p = JSON.parse(m.currentTarget.result), y = a.resultCallback ? a.resultCallback({ data: p }) : t._initResult({ data: p }, a.resultCode);
|
|
117
|
-
y.success || b(y);
|
|
118
|
-
} catch {
|
|
119
|
-
const y = c.headers["content-disposition"];
|
|
120
|
-
let f = "";
|
|
121
|
-
i.isEmpty(y) ? f = e.param && e.param.fileName ? e.param.fileName : (/* @__PURE__ */ new Date()).getTime().toString() : f = window.decodeURIComponent(y.split("=")[1]), f = f.replace(/\"/g, "").replace(/'/g, "");
|
|
122
|
-
let E = "";
|
|
123
|
-
const x = f.lastIndexOf(".");
|
|
124
|
-
x > -1 && (E = f.substring(x + 1));
|
|
125
|
-
let _;
|
|
126
|
-
switch (E) {
|
|
127
|
-
case "xls":
|
|
128
|
-
case "xlsx":
|
|
129
|
-
_ = { type: "application/vnd.ms-excel" };
|
|
130
|
-
break;
|
|
131
|
-
case "csv":
|
|
132
|
-
_ = { type: "text/csv" };
|
|
133
|
-
break;
|
|
134
|
-
case "doc":
|
|
135
|
-
case "docx":
|
|
136
|
-
_ = { type: "application/msword" };
|
|
137
|
-
break;
|
|
138
|
-
case "pdf":
|
|
139
|
-
_ = { type: "application/pdf" };
|
|
140
|
-
break;
|
|
141
|
-
}
|
|
142
|
-
const q = new Blob([c.data], _);
|
|
143
|
-
if (window.navigator && window.navigator.msSaveOrOpenBlob)
|
|
144
|
-
window.navigator.msSaveOrOpenBlob(q, f);
|
|
145
|
-
else {
|
|
146
|
-
const k = document.createElement("a");
|
|
147
|
-
k.href = (window.URL || window.webkitURL).createObjectURL(q), k.download = f, k.style.display = "none", document.body.appendChild(k), k.click(), window.URL.revokeObjectURL(k.href);
|
|
148
|
-
}
|
|
149
|
-
b({ success: !0 });
|
|
150
|
-
}
|
|
151
|
-
}, d.readAsText(c.data);
|
|
152
|
-
}, this._initRequest(e.url, s, e);
|
|
153
|
-
}
|
|
154
|
-
_getHeader(e) {
|
|
155
|
-
const t = {
|
|
156
|
-
"Content-Type": "application/json;charset=UTF-8",
|
|
157
|
-
"X-Requested-With": "XMLHttpRequest"
|
|
158
|
-
};
|
|
159
|
-
if (e && e.headerCallback) {
|
|
160
|
-
const s = e.headerCallback();
|
|
161
|
-
if (!i.isEmpty(s))
|
|
162
|
-
for (const [o, r] of Object.entries(s))
|
|
163
|
-
t[o] = r;
|
|
164
|
-
}
|
|
165
|
-
return t;
|
|
166
|
-
}
|
|
167
|
-
_getExtInfo(e) {
|
|
168
|
-
const t = i.getJsonClone(e);
|
|
169
|
-
return t.isTimeOut = i.isBoolean(t.isTimeOut) ? t.isTimeOut : !0, t;
|
|
170
|
-
}
|
|
171
|
-
_timeOut(e, t) {
|
|
172
|
-
const r = (/* @__PURE__ */ new Date()).getTime() - e.getTime() - 200, c = r > 0 ? 0 : Math.abs(r);
|
|
173
|
-
c <= 0 ? t() : setTimeout(() => {
|
|
174
|
-
t();
|
|
175
|
-
}, c);
|
|
176
|
-
}
|
|
177
|
-
_initResult(e, t) {
|
|
178
|
-
const s = { code: null, success: !1, msg: "", data: null };
|
|
179
|
-
if (e.data) {
|
|
180
|
-
s.code = e.data.code.toString();
|
|
181
|
-
const o = t.success || "200";
|
|
182
|
-
s.code === o ? (s.success = !0, s.data = e.data.data) : (s.success = !1, s.msg = e.data.message, s.data = e.data.data);
|
|
183
|
-
}
|
|
184
|
-
return s;
|
|
185
|
-
}
|
|
186
|
-
_initResultErr(e, t) {
|
|
187
|
-
const s = { code: null, success: !1, msg: "Axios:Unknown error .", data: null }, o = i.isEmpty(t) ? `Axios:Unknown error ${e}` : t;
|
|
188
|
-
return s.msg = o, s;
|
|
189
|
-
}
|
|
190
|
-
_setInterceptors() {
|
|
191
|
-
w.interceptors.request.use((e) => (this.globalOptions.interceptorsRequestCallback && this.globalOptions.interceptorsRequestCallback(e), e && (!i.isEmpty(e.__retryCount) && e.__retryCount > 0 || (this._removeRequestPending(e), this._addRequestPending(e))), e), (e) => Promise.reject(e)), w.interceptors.response.use((e) => (this.globalOptions.interceptorsResponseCallback && this.globalOptions.interceptorsResponseCallback(e), this._removeRequestPending(e.config), e), (e) => {
|
|
192
|
-
if (e.code === "ECONNABORTED" && e.message.indexOf("timeout") > -1) {
|
|
193
|
-
const t = e.config;
|
|
194
|
-
return !t || !t.retry || (t.__retryCount = t.__retryCount || 0, t.__retryCount >= t.retry) ? Promise.reject(e) : (t.__retryCount += 1, new Promise((o) => {
|
|
195
|
-
setTimeout(function() {
|
|
196
|
-
o();
|
|
197
|
-
}, t.retryDelay || 1);
|
|
198
|
-
}).then(function() {
|
|
199
|
-
return w(t);
|
|
200
|
-
}));
|
|
201
|
-
} else
|
|
202
|
-
return Promise.reject(e);
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
_getRequestKeyMerge(e) {
|
|
206
|
-
const t = e._requestKeyMerge, s = i.isBoolean(e.isRequestCancelRepeat) ? e.isRequestCancelRepeat : !0, o = [];
|
|
207
|
-
return !i.isEmpty(e) && s && (i.isUndefined(t) ? (o.push(e.method), o.push(e.url), i.isEmpty(e._ran) || o.push(e._ran)) : ["method", "url", "params", "data", "_ran"].forEach((r) => {
|
|
208
|
-
if (i.isExistValue(t, r) && !i.isEmpty(e[r])) {
|
|
209
|
-
let c = e[r];
|
|
210
|
-
r === "params" || r === "data" ? (i.isString(c) && (c = JSON.parse(c)), o.push(A.stringify(c))) : (r === "_ran" && i.isEmpty(c) && (c = (/* @__PURE__ */ new Date()).getTime()), o.push(c));
|
|
211
|
-
}
|
|
212
|
-
})), o.join("&");
|
|
213
|
-
}
|
|
214
|
-
_addRequestPending(e) {
|
|
215
|
-
const t = this._getRequestKeyMerge(e);
|
|
216
|
-
i.isEmpty(t) || (e.cancelToken = e.cancelToken || new w.CancelToken((s) => {
|
|
217
|
-
this.requestPendingList.has(t) || this.requestPendingList.set(t, s);
|
|
218
|
-
}));
|
|
219
|
-
}
|
|
220
|
-
_removeRequestPending(e) {
|
|
221
|
-
const t = this._getRequestKeyMerge(e);
|
|
222
|
-
!i.isEmpty(t) && this.requestPendingList.has(t) && (this.requestPendingList.get(t)(`AxiosCancelRepeatRequest: ${t}`), this.requestPendingList.delete(t));
|
|
223
|
-
}
|
|
224
|
-
cancelAll() {
|
|
225
|
-
const e = [];
|
|
226
|
-
for (const t of this.requestPendingList)
|
|
227
|
-
e.push(t[0]);
|
|
228
|
-
e.forEach((t) => {
|
|
229
|
-
this.requestPendingList.get(t)(`AxiosCancelRepeatRequest: ${t}`), this.requestPendingList.delete(t);
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
setResendAgain(e, t = {}) {
|
|
233
|
-
const s = e.config, o = i.isUndefined(t.retryDelay) ? 500 : t.retryDelay;
|
|
234
|
-
return !s || !s.retry ? Promise.reject(e) : new Promise((c) => {
|
|
235
|
-
setTimeout(function() {
|
|
236
|
-
c();
|
|
237
|
-
}, o || 1);
|
|
238
|
-
}).then(function() {
|
|
239
|
-
return s.cancelToken = null, w(s);
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
setGlobalOptions(e) {
|
|
243
|
-
this.globalOptions = i.getJsonMerge(this.globalOptions, e || {});
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
new I();
|
|
247
|
-
const G = ["name", "checked"], V = {
|
|
248
|
-
key: 0,
|
|
249
|
-
class: "switchery-txt"
|
|
250
|
-
}, W = ["innerHTML"], z = ["innerHTML"], X = {
|
|
251
|
-
key: 0,
|
|
252
|
-
class: "switchery-load-bg"
|
|
253
|
-
}, de = /* @__PURE__ */ U({
|
|
254
|
-
name: "ClSwitchery",
|
|
255
|
-
__name: "Index",
|
|
256
|
-
props: {
|
|
257
|
-
value: {
|
|
258
|
-
type: Boolean,
|
|
259
|
-
default: !1
|
|
260
|
-
},
|
|
261
|
-
name: String,
|
|
262
|
-
className: {
|
|
263
|
-
type: String,
|
|
264
|
-
default: ""
|
|
265
|
-
},
|
|
266
|
-
disabled: {
|
|
267
|
-
type: Boolean,
|
|
268
|
-
default: !1
|
|
269
|
-
},
|
|
270
|
-
color: {
|
|
271
|
-
type: [String, Object],
|
|
272
|
-
validator: (h) => typeof h == "object" ? h.checked || h.unChecked : typeof h == "string"
|
|
273
|
-
},
|
|
274
|
-
changeCallback: Function,
|
|
275
|
-
isUseOnChangeCheck: {
|
|
276
|
-
type: Boolean,
|
|
277
|
-
default: !1
|
|
278
|
-
},
|
|
279
|
-
isShowLoad: {
|
|
280
|
-
type: Boolean,
|
|
281
|
-
default: !0
|
|
282
|
-
},
|
|
283
|
-
activeHtml: String,
|
|
284
|
-
inactiveHtml: String
|
|
285
|
-
},
|
|
286
|
-
emits: ["update:value", "onChange"],
|
|
287
|
-
setup(h, { expose: e, emit: t }) {
|
|
288
|
-
const s = h, o = t, r = j("$ClGlobals"), c = H(null), a = N({
|
|
289
|
-
isFirstComplete: !1,
|
|
290
|
-
isOpen: s.value,
|
|
291
|
-
buttonLeft: 0,
|
|
292
|
-
isRunLoad: !1,
|
|
293
|
-
colorChecked: "#2196f3",
|
|
294
|
-
colorUnChecked: "#ffffff"
|
|
295
|
-
}), b = O(() => {
|
|
296
|
-
let n = s.name;
|
|
297
|
-
return i.isEmpty(n) && (n = `switchery_${i.getRandom(8)}`), n;
|
|
298
|
-
}), d = O(() => {
|
|
299
|
-
const { colorChecked: n } = a;
|
|
300
|
-
let l = "";
|
|
301
|
-
const u = s.color;
|
|
302
|
-
return i.isUndefined(u) ? l = n : i.isString(u) ? l = u : i.isObject(u) && (l = i.isExistJsonKey(u, "checked") ? u.checked : n), l;
|
|
303
|
-
}), m = O(() => {
|
|
304
|
-
const { colorUnChecked: n } = a;
|
|
305
|
-
let l = "";
|
|
306
|
-
const u = s.color;
|
|
307
|
-
return i.isObject(u) && i.isExistJsonKey(u, "unChecked") ? l = u.unchecked : l = n, l;
|
|
308
|
-
}), p = O(() => {
|
|
309
|
-
const n = {
|
|
310
|
-
"panel-switchery": !0,
|
|
311
|
-
"switchery-transition-immediately": !a.isFirstComplete
|
|
312
|
-
};
|
|
313
|
-
return i.isEmpty(s.className) || s.className.split(" ").forEach((l) => {
|
|
314
|
-
i.isEmpty(l) || (n[l] = !0);
|
|
315
|
-
}), n;
|
|
316
|
-
}), y = O(() => {
|
|
317
|
-
const n = {
|
|
318
|
-
"switchery-container": !0,
|
|
319
|
-
"switchery-open": a.isOpen
|
|
320
|
-
};
|
|
321
|
-
return n["switchery-disabled"] = s.disabled, n;
|
|
322
|
-
}), f = O(() => {
|
|
323
|
-
const n = a.isOpen, l = n ? d.value : m.value, u = {
|
|
324
|
-
"background-color": l
|
|
325
|
-
};
|
|
326
|
-
return u.transition = n ? "border 0.4s, box-shadow 0.4s, background-color 1.2s" : "border 0.4s, box-shadow 0.4s", u["box-shadow"] = n ? `${l} 0px 0px 0px 11px inset` : `${l} 0px 0px 0px 0px inset`, n && (u["border-color"] = l), u;
|
|
327
|
-
}), E = O(() => {
|
|
328
|
-
const n = {
|
|
329
|
-
left: "0"
|
|
330
|
-
};
|
|
331
|
-
return a.isOpen && (n.left = `${a.buttonLeft}px`), n;
|
|
332
|
-
}), x = (n) => {
|
|
333
|
-
const l = P.getElementData(s);
|
|
334
|
-
o("update:value", n), o("onChange", n, l);
|
|
335
|
-
}, _ = () => {
|
|
336
|
-
if (r && r.globalsOption && r.globalsOption.switchery) {
|
|
337
|
-
const n = r.globalsOption.switchery;
|
|
338
|
-
i.isExistJsonKey(n, "colorChecked") && (a.colorChecked = n.colorChecked), i.isExistJsonKey(n, "colorUnChecked") && (a.colorUnChecked = n.colorUnChecked);
|
|
339
|
-
}
|
|
340
|
-
}, q = () => {
|
|
341
|
-
const n = c.value.clientWidth, l = c.value.querySelector(".switchery-button").clientWidth;
|
|
342
|
-
a.buttonLeft = n === 0 ? 22 : n - l;
|
|
343
|
-
}, k = () => {
|
|
344
|
-
_(), q(), setTimeout(() => {
|
|
345
|
-
a.isFirstComplete = !0;
|
|
346
|
-
}, 250);
|
|
347
|
-
};
|
|
348
|
-
M(
|
|
349
|
-
() => s.value,
|
|
350
|
-
(n, l) => {
|
|
351
|
-
n !== l && (a.isOpen = n);
|
|
352
|
-
}
|
|
353
|
-
), F(() => {
|
|
354
|
-
J(() => {
|
|
355
|
-
k();
|
|
356
|
-
});
|
|
357
|
-
});
|
|
358
|
-
const S = () => {
|
|
359
|
-
if (!s.disabled) {
|
|
360
|
-
q();
|
|
361
|
-
const n = !a.isOpen;
|
|
362
|
-
if (s.changeCallback && i.isFunction(s.changeCallback)) {
|
|
363
|
-
a.isRunLoad = !0;
|
|
364
|
-
const l = P.getElementData(s), u = s.changeCallback(n, l);
|
|
365
|
-
if (u && u.then && i.isFunction(u.then))
|
|
366
|
-
u.then((g) => {
|
|
367
|
-
let T = !1;
|
|
368
|
-
i.isBoolean(g) ? T = g : i.isObject(g) && i.isBoolean(g.success) && (T = g.success), T && (a.isOpen = n), a.isRunLoad = !1;
|
|
369
|
-
});
|
|
370
|
-
else {
|
|
371
|
-
let g = !1;
|
|
372
|
-
i.isBoolean(u) ? g = u : i.isObject(u) && i.isBoolean(u.success) && (g = u.success), g && (a.isOpen = n), a.isRunLoad = !1;
|
|
373
|
-
}
|
|
374
|
-
} else
|
|
375
|
-
s.isUseOnChangeCheck ? a.isRunLoad = !0 : a.isOpen = n, x(n);
|
|
376
|
-
}
|
|
377
|
-
};
|
|
378
|
-
return e({
|
|
379
|
-
getValue: () => a.isOpen,
|
|
380
|
-
setValue: (n, l = !1) => {
|
|
381
|
-
a.isOpen = n, l && x(n);
|
|
382
|
-
},
|
|
383
|
-
setOnChangeResult: () => {
|
|
384
|
-
s.isUseOnChangeCheck && i.isUndefined(s.changeCallback) && (a.isOpen = !a.isOpen, a.isRunLoad = !1);
|
|
385
|
-
}
|
|
386
|
-
}), (n, l) => (C(), R("label", {
|
|
387
|
-
class: D(p.value)
|
|
388
|
-
}, [
|
|
389
|
-
L("input", {
|
|
390
|
-
type: "checkbox",
|
|
391
|
-
class: "switchery-input",
|
|
392
|
-
name: b.value,
|
|
393
|
-
checked: a.isOpen
|
|
394
|
-
}, null, 8, G),
|
|
395
|
-
L("span", {
|
|
396
|
-
class: D(y.value),
|
|
397
|
-
style: B(f.value),
|
|
398
|
-
onClick: S,
|
|
399
|
-
ref_key: "refElContainer",
|
|
400
|
-
ref: c
|
|
401
|
-
}, [
|
|
402
|
-
h.activeHtml || h.inactiveHtml ? (C(), R("span", V, [
|
|
403
|
-
a.isOpen ? (C(), R("span", {
|
|
404
|
-
key: 0,
|
|
405
|
-
innerHTML: h.activeHtml
|
|
406
|
-
}, null, 8, W)) : (C(), R("span", {
|
|
407
|
-
key: 1,
|
|
408
|
-
innerHTML: h.inactiveHtml
|
|
409
|
-
}, null, 8, z))
|
|
410
|
-
])) : (C(), R(v, { key: 1 }, [], 64)),
|
|
411
|
-
L("span", {
|
|
412
|
-
class: "switchery-button",
|
|
413
|
-
style: B(E.value)
|
|
414
|
-
}, [
|
|
415
|
-
h.isShowLoad && a.isRunLoad ? (C(), K($, {
|
|
416
|
-
key: 0,
|
|
417
|
-
theme: "rotaryLine",
|
|
418
|
-
size: "small"
|
|
419
|
-
})) : (C(), R(v, { key: 1 }, [], 64))
|
|
420
|
-
], 4)
|
|
421
|
-
], 6),
|
|
422
|
-
h.isShowLoad && a.isRunLoad ? (C(), R("div", X)) : (C(), R(v, { key: 1 }, [], 64))
|
|
423
|
-
], 2));
|
|
424
|
-
}
|
|
425
|
-
});
|
|
426
|
-
export {
|
|
427
|
-
de as default
|
|
428
|
-
};
|
|
429
|
-
//# sourceMappingURL=ClSwitchery.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClSwitchery.js","sources":["../../../src/libs/Common/axios.ts","../../../src/libs/Element/Switchery/Index.vue"],"sourcesContent":["import axios from \"axios\";\nimport qs from \"qs\";\nimport CommonBase from \"./base\";\nclass AxiosRequest {\n requestPendingList: any;\n globalOptions: any;\n constructor() {\n this.requestPendingList = new Map();\n this.globalOptions = {};\n this._setInterceptors();\n }\n private _initRequest(url: string, param: any, optionsAll: any): Promise<any> {\n const self = this;\n const newExtInfo = this._getExtInfo(optionsAll.ext);\n return new Promise((resolve) => {\n const startTime = new Date();\n let options: any = {\n url: url,\n timeout: 1000 * 15,\n responseType: \"json\",\n retry: 3,\n retryDelay: 1000,\n //_requestKeyMerge: [\"method\", \"url\", \"_ran\"],\n };\n options = CommonBase.getJsonMerge(options, optionsAll.options, param);\n\n axios(options).then((response) => {\n if (optionsAll.ext._operateType === \"fileDownBinary\") {\n optionsAll.ext.uploadDownBinaryCallback(response, newExtInfo, resolve);\n } else {\n const initResData = newExtInfo.resultCallback ? newExtInfo.resultCallback(response) : self._initResult(response, newExtInfo.resultCode);\n self._initRequestResolve(resolve, initResData, newExtInfo, startTime);\n }\n\n }).catch((error) => {\n if (newExtInfo.errorCallback && error.response) {\n const errCbResult = newExtInfo.errorCallback(error);\n if (errCbResult) {\n if (errCbResult.then && CommonBase.isFunction(errCbResult.then)) {\n errCbResult.then((result: any) => {\n self._initRequestError(error, resolve, result, newExtInfo, startTime);\n });\n } else {\n self._initRequestError(error, resolve, errCbResult, newExtInfo, startTime);\n }\n }\n } else {\n let errCode = \"\";\n let errMsg = \"\";\n if (error.response) {\n errCode = error.response.status.toString();\n } else if (error.code === \"ECONNABORTED\") {\n errMsg = \"Axios:TimeOut Repeat\";\n } else {\n if (!CommonBase.isEmpty(error.message)) {\n errMsg = `Axios:${CommonBase.isEmpty(error.code) ? \"\" : (error.code + \"-\")}${error.message}`;\n }\n }\n const initErrData = self._initResultErr(errCode, errMsg);\n self._initRequestError(error, resolve, initErrData, newExtInfo, startTime);\n }\n });\n });\n }\n _initRequestResolve(resolve: any, data: any, newExtInfo: any, startTime: any) {\n if (newExtInfo.isTimeOut) {\n this._timeOut(startTime, () => {\n resolve(data);\n });\n } else {\n resolve(data);\n }\n }\n _initRequestError(error: any, resolve: any, errData: any, newExtInfo: any, startTime: any) {\n if (axios.isCancel(error)) {\n //reject({ code: \"-1111\", success: false, msg: error.message });\n } else {\n this._initRequestResolve(resolve, errData, newExtInfo, startTime);\n }\n }\n initGet(options: any) {\n const param = {\n method: \"get\",\n headers: this._getHeader(options.ext),\n params: options.param,\n };\n return this._initRequest(options.url, param, options);\n }\n\n initPost(options: any) {\n const param = {\n method: \"post\",\n headers: this._getHeader(options.ext),\n data: JSON.stringify(options.param),\n };\n return this._initRequest(options.url, param, options);\n }\n\n initPut(options: any) {\n const url = options.url;\n const param = {\n method: \"put\",\n headers: this._getHeader(options.ext),\n data: JSON.stringify(options.param),\n };\n return this._initRequest(url, param, options);\n }\n\n initDelete(options: any) {\n const url = options.url;\n const param = {\n method: \"delete\",\n headers: this._getHeader(options.ext),\n data: JSON.stringify(options.param),\n };\n return this._initRequest(url, param, options);\n }\n\n initFile(options: any) {\n const param: any = {\n method: \"post\",\n };\n const headers: any = this._getHeader(options.ext);\n /* if (options.ext.headerCallback) {\n const headerData = options.ext.headerCallback();\n if (!CommonBase.isEmpty(headerData)) {\n for (const [k, v] of Object.entries(headerData)) {\n headers[k] = v;\n }\n }\n } */\n // headers[\"Content-Type\"] = \"multipart/form-data\";\n /* param.headers = this._getHeader({\n headerCallback: () => headers,\n }); */\n param.headers = headers;\n const formData = new FormData();\n Object.keys(options.param).forEach((pk) => {\n const pv = options.param[pk];\n if (CommonBase.isArray(pv)) {\n pv.forEach((v: any) => {\n formData.append(pk, v);\n });\n } else {\n formData.append(pk, options.param[pk]);\n }\n });\n param.data = formData;\n return this._initRequest(options.url, param, options);\n }\n\n initFileDownLoad(options: any) {\n const self = this;\n const param: any = {\n method: \"post\",\n responseType: \"blob\",\n };\n const methodType = !CommonBase.isEmpty(options.options.method) ? options.options.method : \"post\";\n param.method = methodType;\n\n const headers: any = this._getHeader(options.ext);\n headers[\"Content-Type\"] = \"application/json;\";\n param.headers = headers;\n\n if (!CommonBase.isEmpty(options.param)) {\n if (methodType === \"get\") {\n param.params = options.param;\n } else {\n param.data = JSON.stringify(options.param);\n }\n }\n\n options.ext._operateType = \"fileDownBinary\";\n options.ext.uploadDownBinaryCallback = (response: any, newExtInfo: any, resolve: any) => {\n const fr = new FileReader();\n fr.onload = function(resFr: any) {\n try {\n const resData = JSON.parse(resFr.currentTarget.result);\n const result = newExtInfo.resultCallback ? newExtInfo.resultCallback({ data: resData }) : self._initResult({ data: resData }, newExtInfo.resultCode);\n if (!result.success) {\n resolve(result);\n }\n } catch (err) {\n //const fileName = window.decodeURIComponent(response.headers[\"content-disposition\"].split(\"=\")[1]);\n const contentDisposition = response.headers[\"content-disposition\"];\n let fileName = \"\";\n if (!CommonBase.isEmpty(contentDisposition)) {\n fileName = window.decodeURIComponent(contentDisposition.split(\"=\")[1]);\n } else {\n fileName = options.param && options.param.fileName\n ? options.param.fileName\n : (new Date()).getTime().toString();\n }\n fileName = fileName.replace(/\\\"/g, \"\").replace(/'/g, \"\");\n let fileType = \"\";\n /* const arrFile = fileName.split(\".\");\n if (arrFile.length > 1) {\n fileType = arrFile[1];\n }\n let blobOption: any = undefined;\n if (fileType === \"xlsx\") {\n blobOption = { type: \"application/vnd.ms-excel\" };\n }*/\n const lastIndex = fileName.lastIndexOf(\".\");\n if (lastIndex > -1) {\n fileType = fileName.substring(lastIndex + 1);\n }\n let blobOption: any = undefined;\n switch (fileType) {\n case \"xls\":\n case \"xlsx\":\n blobOption = { type: \"application/vnd.ms-excel\" };\n break;\n case \"csv\":\n blobOption = { type: \"text/csv\" };\n break;\n case \"doc\":\n case \"docx\":\n blobOption = { type: \"application/msword\" };\n break;\n case \"pdf\":\n blobOption = { type: \"application/pdf\" };\n break;\n }\n const blob = new Blob([response.data], blobOption);\n\n //@ts-ignore\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\n //@ts-ignore\n window.navigator.msSaveOrOpenBlob(blob, fileName);\n } else {\n const link = document.createElement(\"a\");\n link.href = (window.URL || window.webkitURL).createObjectURL(blob);\n link.download = fileName;\n link.style.display = \"none\";\n document.body.appendChild(link);\n link.click();\n //document.body.removeChild(link);\n window.URL.revokeObjectURL(link.href);\n }\n resolve({ success: true });\n }\n };\n fr.readAsText(response.data);\n };\n return this._initRequest(options.url, param, options);\n }\n\n private _getHeader(extOptions: any) {\n const reqHeaders: any = {\n \"Content-Type\": \"application/json;charset=UTF-8\",\n \"X-Requested-With\": \"XMLHttpRequest\",\n };\n if (extOptions && extOptions.headerCallback) {\n const headerData = extOptions.headerCallback();\n if (!CommonBase.isEmpty(headerData)) {\n for (const [k, v] of Object.entries(headerData)) {\n reqHeaders[k] = v;\n }\n }\n }\n return reqHeaders;\n }\n\n private _getExtInfo(extOptions: any) {\n const ext = CommonBase.getJsonClone(extOptions);\n ext.isTimeOut = CommonBase.isBoolean(ext.isTimeOut) ? ext.isTimeOut : true;\n return ext;\n }\n private _timeOut(timeStart: any, cb: any) {\n const timeEnd = new Date();\n const timeDiff = timeEnd.getTime() - timeStart.getTime();\n const diff = timeDiff - 200;\n const timeout = diff > 0 ? 0 : Math.abs(diff);\n if (timeout <= 0) {\n cb();\n } else {\n setTimeout(() => {\n cb();\n }, timeout);\n }\n }\n\n private _initResult(res: any, extCode: any): any {\n const temp = { code: null, success: false, msg: \"\", data: null };\n if (res.data) {\n temp.code = res.data.code.toString();\n const successCode = extCode.success || \"200\";\n if (temp.code === successCode) {\n temp.success = true;\n temp.data = res.data.data;\n } else {\n temp.success = false;\n temp.msg = res.data.message;\n temp.data = res.data.data;\n }\n }\n return temp;\n }\n\n private _initResultErr(code: string, errMsg: string): any {\n const temp = { code: null, success: false, msg: \"Axios:Unknown error .\", data: null };\n //let msg = CommonBase.isExistJsonKey(this.clientErrCode[this.languageType], code) ? this.clientErrCode[this.languageType][code] : \"\";\n //if (CommonBase.isEmpty(msg)) {\n const msg = CommonBase.isEmpty(errMsg) ? `Axios:Unknown error ${code}` : errMsg;\n //}\n temp.msg = msg;\n return temp;\n }\n _setInterceptors() {\n //请求拦截 \n /// 取消重复请求\n axios.interceptors.request.use((config: any) => {\n if (this.globalOptions.interceptorsRequestCallback) {\n this.globalOptions.interceptorsRequestCallback(config);\n }\n if (config) {\n const isRunTimeout = !CommonBase.isEmpty(config.__retryCount) && config.__retryCount > 0;\n /// 超时重发,不执行取消操作\n if (!isRunTimeout) {\n this._removeRequestPending(config);\n this._addRequestPending(config);\n }\n }\n return config;\n }, (error: any) => {\n return Promise.reject(error);\n });\n\n //响应拦截 \n /// 设置 取消重复请求| 超时重发\n axios.interceptors.response.use((response: any) => {\n if (this.globalOptions.interceptorsResponseCallback) {\n this.globalOptions.interceptorsResponseCallback(response);\n }\n this._removeRequestPending(response.config);\n return response;\n }, (error: any) => {\n if (error.code === \"ECONNABORTED\" && error.message.indexOf(\"timeout\") > -1) {\n const config = error.config;\n // If config does not exist or the retry option is not set, reject\n if (!config || !config.retry) return Promise.reject(error);\n\n // Set the variable for keeping track of the retry count\n config.__retryCount = config.__retryCount || 0;\n\n // Check if we've maxed out the total number of retries\n if (config.__retryCount >= config.retry) {\n // Reject with the error\n return Promise.reject(error);\n }\n\n // Increase the retry count\n config.__retryCount += 1;\n\n // Create new promise to handle exponential backoff\n const backoff = new Promise((resolve: any) => {\n setTimeout(function() {\n resolve();\n }, config.retryDelay || 1);\n });\n\n // Return the promise in which recalls axios to retry the request\n return backoff.then(function() {\n return axios(config);\n });\n } else {\n /* this._removeRequestPending(error.config || {});\n if (axios.isCancel(error)) {\n console.log(`请求取消: ${error.message}`);\n } */\n //else {\n return Promise.reject(error);\n //}\n\n }\n });\n }\n private _getRequestKeyMerge(config: any) {\n const requestKeyMerge = config._requestKeyMerge;\n const isRequestCancelRepeat = CommonBase.isBoolean(config.isRequestCancelRepeat) ? config.isRequestCancelRepeat : true;\n const keyArr: string[] = [];\n if (!CommonBase.isEmpty(config) && isRequestCancelRepeat) {\n if (!CommonBase.isUndefined(requestKeyMerge)) {\n [\"method\", \"url\", \"params\", \"data\", \"_ran\"].forEach((k: string) => {\n if (CommonBase.isExistValue(requestKeyMerge, k) && !CommonBase.isEmpty(config[k])) {\n let v = config[k];\n if (k === \"params\" || k === \"data\") {\n if (CommonBase.isString(v)) {\n v = JSON.parse(v);\n }\n keyArr.push(qs.stringify(v));\n } else {\n if (k === \"_ran\" && CommonBase.isEmpty(v)) {\n v = (new Date()).getTime();\n }\n keyArr.push(v);\n }\n }\n });\n } else {\n keyArr.push(config.method);\n keyArr.push(config.url);\n if (!CommonBase.isEmpty(config._ran)) {\n keyArr.push(config._ran);\n }\n }\n }\n return keyArr.join(\"&\");\n }\n private _addRequestPending(config: any) {\n const requestKey = this._getRequestKeyMerge(config);\n if (!CommonBase.isEmpty(requestKey)) {\n config.cancelToken = config.cancelToken || new axios.CancelToken((cancel: any) => {\n if (!this.requestPendingList.has(requestKey)) {\n this.requestPendingList.set(requestKey, cancel);\n }\n });\n }\n }\n private _removeRequestPending(config: any) {\n const requestKey = this._getRequestKeyMerge(config);\n if (!CommonBase.isEmpty(requestKey) && this.requestPendingList.has(requestKey)) {\n const cancelToken = this.requestPendingList.get(requestKey);\n cancelToken(`AxiosCancelRepeatRequest: ${requestKey}`);\n this.requestPendingList.delete(requestKey);\n }\n }\n\n cancelAll() {\n const arrKeys = [];\n for (const arrCancel of this.requestPendingList) {\n arrKeys.push(arrCancel[0]);\n }\n arrKeys.forEach((sk: any) => {\n const cancelToken = this.requestPendingList.get(sk);\n cancelToken(`AxiosCancelRepeatRequest: ${sk}`);\n this.requestPendingList.delete(sk);\n });\n }\n setResendAgain(error: any, opt: any = {}) {//{}retryDelay = 100\n const config = error.config;\n //const retryMax = CommonBase.isUndefined(opt.retryMax) ? 3 : opt.retryMax;\n const retryDelay = CommonBase.isUndefined(opt.retryDelay) ? 500 : opt.retryDelay;\n if (!config || !config.retry) return Promise.reject(error);\n\n /* config.__retryCount = config.__retryCount || 0;\n if (config.__retryCount >= retryMax) {\n return Promise.reject(error);\n }\n config.__retryCount += 1; */\n\n const backoff = new Promise((resolve: any) => {\n setTimeout(function() {\n resolve();\n }, retryDelay || 1);\n });\n return backoff.then(function() {\n config.cancelToken = null;\n return axios(config);\n });\n }\n setGlobalOptions(options: any) {\n this.globalOptions = CommonBase.getJsonMerge(this.globalOptions, options || {});\n }\n}\nexport default new AxiosRequest();\n","<template>\n <label :class=\"clsParent\">\n <input\n type=\"checkbox\"\n class=\"switchery-input\"\n :name=\"optElName\"\n :checked=\"optBase.isOpen\"\n >\n <span\n :class=\"clsContainer\"\n :style=\"styContainer\"\n @click=\"onToggle\"\n ref=\"refElContainer\"\n >\n <span\n v-if=\"activeHtml || inactiveHtml\"\n class=\"switchery-txt\"\n >\n <span\n v-if=\"optBase.isOpen\"\n v-html=\"activeHtml\"\n ></span>\n <span\n v-else\n v-html=\"inactiveHtml\"\n ></span>\n </span>\n <template v-else></template>\n <span\n class=\"switchery-button\"\n :style=\"styButton\"\n >\n <cl-load\n v-if=\"isShowLoad && optBase.isRunLoad\"\n theme=\"rotaryLine\"\n size=\"small\"\n ></cl-load>\n <template v-else></template>\n </span>\n </span>\n <div\n v-if=\"isShowLoad && optBase.isRunLoad\"\n class=\"switchery-load-bg\"\n ></div>\n <template v-else></template>\n </label>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, reactive, computed, watch, onMounted, nextTick, inject } from 'vue'\nimport { CommonBase, CommonElement } from '@c.Libs/Common'\nimport ClLoad from '../Load/Index.vue'\nimport './Index.css'\n\ndefineOptions({ name: 'ClSwitchery' })\n\nconst props = defineProps({\n value: {\n type: Boolean,\n default: false,\n },\n name: String,\n className: {\n type: String,\n default: '',\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n color: {\n type: [String, Object],\n validator: (value: any) => {\n return typeof value === 'object' ? value.checked || value.unChecked : typeof value === 'string'\n },\n },\n changeCallback: Function,\n isUseOnChangeCheck: {\n type: Boolean,\n default: false,\n },\n isShowLoad: {\n type: Boolean,\n default: true,\n },\n activeHtml: String,\n inactiveHtml: String,\n})\n\nconst emit = defineEmits<{\n (e: 'update:value', value: boolean): void\n (e: 'onChange', value: boolean, assistData: any): void\n}>()\n\nconst _clGlobals: any = inject('$ClGlobals')\n\nconst refElContainer: any = ref(null)\n\nconst optBase: any = reactive({\n isFirstComplete: false,\n isOpen: props.value,\n buttonLeft: 0,\n isRunLoad: false,\n colorChecked: '#2196f3',\n colorUnChecked: '#ffffff',\n})\n\nconst optElName = computed(() => {\n let name = props.name\n if (CommonBase.isEmpty(name)) {\n name = `switchery_${CommonBase.getRandom(8)}`\n }\n return name\n})\n\nconst optColorChecked = computed(() => {\n const { colorChecked } = optBase\n let strColor = ''\n const color: any = props.color\n if (CommonBase.isUndefined(color)) {\n strColor = colorChecked\n } else {\n if (CommonBase.isString(color)) {\n strColor = color\n } else if (CommonBase.isObject(color)) {\n strColor = CommonBase.isExistJsonKey(color, 'checked') ? color.checked : colorChecked\n }\n }\n return strColor\n})\n\nconst optColorUnChecked = computed(() => {\n const { colorUnChecked } = optBase\n let strColor = ''\n const color: any = props.color\n if (CommonBase.isObject(color) && CommonBase.isExistJsonKey(color, 'unChecked')) {\n strColor = color.unchecked\n } else {\n strColor = colorUnChecked\n }\n return strColor\n})\n\nconst clsParent = computed(() => {\n const cls: any = {\n 'panel-switchery': true,\n 'switchery-transition-immediately': !optBase.isFirstComplete,\n }\n if (!CommonBase.isEmpty(props.className)) {\n props.className.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsContainer = computed(() => {\n const cls: any = {\n 'switchery-container': true,\n 'switchery-open': optBase.isOpen,\n }\n cls['switchery-disabled'] = props.disabled\n return cls\n})\n\nconst styContainer = computed(() => {\n const isOpen = optBase.isOpen\n const color = isOpen ? optColorChecked.value : optColorUnChecked.value\n const style: any = {\n 'background-color': color,\n }\n style.transition = isOpen\n ? 'border 0.4s, box-shadow 0.4s, background-color 1.2s'\n : 'border 0.4s, box-shadow 0.4s'\n style['box-shadow'] = isOpen ? `${color} 0px 0px 0px 11px inset` : `${color} 0px 0px 0px 0px inset`\n if (isOpen) {\n style['border-color'] = color\n }\n return style\n})\n\nconst styButton = computed(() => {\n const style: any = {\n left: '0',\n }\n if (optBase.isOpen) {\n style.left = `${optBase.buttonLeft}px`\n }\n return style\n})\n\nconst _emitChange = (value: boolean) => {\n const assistData = CommonElement.getElementData(props)\n emit('update:value', value)\n emit('onChange', value, assistData)\n}\n\nconst _initMergeGlobalsOption = () => {\n if (_clGlobals && _clGlobals.globalsOption && _clGlobals.globalsOption.switchery) {\n const opt = _clGlobals.globalsOption.switchery\n if (CommonBase.isExistJsonKey(opt, 'colorChecked')) {\n optBase.colorChecked = opt.colorChecked\n }\n if (CommonBase.isExistJsonKey(opt, 'colorUnChecked')) {\n optBase.colorUnChecked = opt.colorUnChecked\n }\n }\n}\n\nconst _calculationBtnLeft = () => {\n const containerWidth = refElContainer.value.clientWidth\n const buttonWidth = refElContainer.value.querySelector('.switchery-button').clientWidth\n optBase.buttonLeft = containerWidth === 0 ? 22 : containerWidth - buttonWidth\n}\n\nconst _initMain = () => {\n _initMergeGlobalsOption()\n _calculationBtnLeft()\n setTimeout(() => {\n optBase.isFirstComplete = true\n }, 250)\n}\n\nwatch(\n () => props.value,\n (newValue, oldValue) => {\n if (newValue !== oldValue) {\n optBase.isOpen = newValue\n }\n },\n)\n\nonMounted(() => {\n nextTick(() => {\n _initMain()\n })\n})\n\nconst onToggle = () => {\n if (!props.disabled) {\n _calculationBtnLeft()\n const value = !optBase.isOpen\n if (props.changeCallback && CommonBase.isFunction(props.changeCallback)) {\n optBase.isRunLoad = true\n const assistData = CommonElement.getElementData(props)\n const changeCb: any = props.changeCallback(value, assistData)\n if (changeCb && changeCb.then && CommonBase.isFunction(changeCb.then)) {\n changeCb.then((result: any) => {\n let isCheck = false\n if (CommonBase.isBoolean(result)) {\n isCheck = result\n } else if (CommonBase.isObject(result) && CommonBase.isBoolean(result.success)) {\n isCheck = result.success\n }\n if (isCheck) {\n optBase.isOpen = value\n }\n optBase.isRunLoad = false\n })\n } else {\n let isCheck = false\n if (CommonBase.isBoolean(changeCb)) {\n isCheck = changeCb\n } else if (CommonBase.isObject(changeCb) && CommonBase.isBoolean(changeCb.success)) {\n isCheck = changeCb.success\n }\n if (isCheck) {\n optBase.isOpen = value\n }\n optBase.isRunLoad = false\n }\n } else {\n if (props.isUseOnChangeCheck) {\n optBase.isRunLoad = true\n } else {\n optBase.isOpen = value\n }\n _emitChange(value)\n }\n }\n}\n\nconst getValue = () => {\n return optBase.isOpen\n}\n\nconst setValue = (value: boolean, isEmitChange = false) => {\n optBase.isOpen = value\n if (isEmitChange) {\n _emitChange(value)\n }\n}\n\nconst setOnChangeResult = () => {\n if (props.isUseOnChangeCheck && CommonBase.isUndefined(props.changeCallback)) {\n optBase.isOpen = !optBase.isOpen\n optBase.isRunLoad = false\n }\n}\n\nexport interface ClSwitcheryExpose {\n getValue: () => boolean\n setValue: (value: boolean, isEmitChange?: boolean) => void\n setOnChangeResult: () => void\n}\n\ndefineExpose({\n getValue,\n setValue,\n setOnChangeResult,\n})\n</script>\n"],"names":["AxiosRequest","url","param","optionsAll","self","newExtInfo","resolve","startTime","options","CommonBase","axios","response","initResData","error","errCbResult","result","errCode","errMsg","initErrData","data","errData","headers","formData","pk","pv","v","methodType","fr","resFr","resData","contentDisposition","fileName","fileType","lastIndex","blobOption","blob","link","extOptions","reqHeaders","headerData","k","ext","timeStart","cb","diff","timeout","res","extCode","temp","successCode","code","msg","config","requestKeyMerge","isRequestCancelRepeat","keyArr","qs","requestKey","cancel","arrKeys","arrCancel","sk","opt","retryDelay","props","__props","emit","__emit","_clGlobals","inject","refElContainer","ref","optBase","reactive","optElName","computed","name","optColorChecked","colorChecked","strColor","color","optColorUnChecked","colorUnChecked","clsParent","cls","c","clsContainer","styContainer","isOpen","style","styButton","_emitChange","value","assistData","CommonElement","_initMergeGlobalsOption","_calculationBtnLeft","containerWidth","buttonWidth","_initMain","watch","newValue","oldValue","onMounted","nextTick","onToggle","changeCb","isCheck","__expose","isEmitChange","_createElementBlock","_createElementVNode","_openBlock","_hoisted_2","_Fragment","_createBlock","ClLoad","_hoisted_5"],"mappings":";;;;;;;;;;;AAGA,MAAMA,EAAa;AAAA,EACf;AAAA,EACA;AAAA,EACA,cAAc;AACV,SAAK,yCAAyB,IAAA,GAC9B,KAAK,gBAAgB,CAAA,GACrB,KAAK,iBAAA;AAAA,EACT;AAAA,EACQ,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eADhBsC,EAGQ,QAAA;AAAA;YADN,WAAQ7C,EAAA;AAAA,UAAA,wBAEV6C,EAGQ,QAAA;AAAA;YADN,WAAQ7C,EAAA;AAAA,UAAA;oBAGZ6C,EAA4BI,GAAA,EAAA,KAAA,EAAA,GAAA,IAAA,EAAA;AAAA,QAC5BH,EAUO,QAAA;AAAA,UATL,OAAM;AAAA,UACL,SAAOrB,EAAA,KAAS;AAAA,QAAA;UAGTzB,EAAA,cAAcO,EAAQ,kBAD9B2C,EAIWC,GAAA;AAAA;YAFT,OAAM;AAAA,YACN,MAAK;AAAA,UAAA,YAEPN,EAA4BI,GAAA,EAAA,KAAA,EAAA,GAAA,CAAA,GAAA,EAAA;AAAA,QAAA;;MAIxBjD,EAAA,cAAcO,EAAQ,aAD9BwC,KAAAF,EAGO,OAHPO,CAGO,WACPP,EAA4BI,GAAA,EAAA,KAAA,KAAA,CAAA,GAAA,EAAA;AAAA,IAAA;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClTags.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClTags.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),y=require("../Shared/base-iCmnU-fv.js"),g=require("../Shared/index-Ul6uY51t.js"),N=require("../Shared/resize-COkswDOq.js");require("js-cookie");require("decimal.js");const $=t.defineComponent({name:"ClWaterfall",__name:"Index",props:{className:String,list:{type:Array,default:()=>[]},itemKey:{type:String,default:"id"},width:{type:Number,default:-1},colNum:{type:Number,default:-1},spacing:{type:Number,default:10},animationName:{type:String,default:"animated fadeIn"}},setup(x,{expose:k}){const c=x,d=t.ref(null),m=t.reactive({keyIndex:`waterfall-${y.CommonBase.getRandom(8)}`,pWidth:0,pHeight:0}),C=t.ref([]),i={colPosY:[],resizeEvent:null,resizeDelayFun:null,isExistItemKey:!0},p=t.computed(()=>{const e=m.pWidth,{width:s,colNum:n,spacing:l}=c;let a=300;const o=s>0,r=n>0,u=r?parseInt(((e+l)/n).toString())-l:0;if(o&&r){const h=(s+l)*n-l;a=e>=h?s:u}else!o&&r?a=u:o&&!r&&(a=e>s?s:e);return a}),E=t.computed(()=>{const e=m.pWidth,s=p.value,{colNum:n,spacing:l}=c,a=n>0;let o=-1;const r=parseInt(((e+l)/(s+l)).toString());if(a){const u=(s+l)*n-l;o=e>=u?n:r}else o=r;return o}),_=t.computed(()=>{const e=m.pWidth,s=p.value,n=E.value,{spacing:l}=c,a=(s+l)*n-l;return parseInt(((e-a)/2).toString())}),b=t.computed(()=>{const e={"panel-waterfall":!0},{className:s}=c;return s&&!y.CommonBase.isEmpty(s)&&s.split(" ").forEach(n=>{y.CommonBase.isEmpty(n)||(e[n]=!0)}),e}),z=()=>{const{list:e,itemKey:s}=c;e.forEach(n=>{i.isExistItemKey&&(i.isExistItemKey=y.CommonBase.isExistJsonKey(n,s))})},w=()=>{C.value=c.list},B=()=>{const{spacing:e}=c;i.colPosY=new Array(E.value).fill(e)},S=e=>{const{spacing:s}=c,n=p.value;return _.value+(n+s)*e},W=()=>{let e;if(d.value&&(e=d.value.querySelectorAll(".waterfall-item")),y.CommonBase.isUndefined(e)||!e||e.length===0)return;B();const s=p.value,{spacing:n,animationName:l}=c;for(let a=0;a<e.length;a++){const o=e[a],r=g.CommonElement.getPositionView(o).height,u=Math.min.apply(null,i.colPosY),h=i.colPosY.indexOf(u),P=S(h);o.style.width=`${s}px`,o.style.transform=`translate3d(${P}px,${u}px, 0)`,i.colPosY[h]+=r+n;const f=o.firstChild,v=f.style;f.style.visibility="visible",g.CommonElement.checkHasClass(f.className,l)||(v["animation-duration"]="1000ms",v["animation-delay"]="200ms",v["animation-fill-mode"]="both",f.className=g.CommonElement.getAddClass(f.className,l))}m.pHeight=Math.max.apply(null,i.colPosY)},I=()=>{i.isExistItemKey?(w(),i.resizeDelayFun.run(()=>{W()})):i.resizeDelayFun.run(()=>{w(),t.nextTick(()=>{W()})})},K=()=>{i.resizeDelayFun=new N.DelayFun(null,200),i.resizeEvent=new N.Resize({element:d.value,callback:e=>{m.pWidth=e.contentRect.width}})};return t.onMounted(()=>{t.nextTick(()=>{K()})}),t.onUnmounted(()=>{i.resizeEvent&&i.resizeEvent.destroy()}),t.watch(()=>[m.pWidth,p,c.list],()=>{z(),I()},{deep:!0}),t.provide("$WaterfallTop",{imgCallback:I}),k({deleteItem:e=>{const s=d.value?.querySelectorAll(".waterfall-item");if(s&&s[e]){const n=s[e];n.firstChild&&(n.firstChild.style.visibility="hidden")}}}),(e,s)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(b.value)},[t.createElementVNode("div",{ref_key:"refElList",ref:d,class:"waterfall-list",style:t.normalizeStyle({height:`${m.pHeight}px`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C.value,(n,l)=>(t.openBlock(),t.createElementBlock("div",{key:`${m.keyIndex}_${n[x.itemKey]||l}`,class:"waterfall-item"},[t.createElementVNode("div",null,[t.renderSlot(e.$slots,"default",{data:n,index:l})])]))),128))],4)],2))}});module.exports=$;
|
|
2
|
-
//# sourceMappingURL=ClWaterfall.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClWaterfall.cjs","sources":["../../../src/libs/Element/Waterfall/Index.vue"],"sourcesContent":["<template>\n <div :class=\"clsParent\">\n <div ref=\"refElList\" class=\"waterfall-list\" :style=\"{ height: `${optBase.pHeight}px` }\">\n <div\n v-for=\"(info, inx) in optList\"\n :key=\"`${optBase.keyIndex}_${info[itemKey] || inx}`\"\n class=\"waterfall-item\"\n >\n <div>\n <slot :data=\"info\" :index=\"inx\"></slot>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, reactive, computed, watch, onMounted, onUnmounted, nextTick, provide } from 'vue'\nimport CommonBase from '../../Common/base'\nimport CommonElement from '../../Common/Element/index'\nimport { Resize as ResizeEvent } from '../../Common/Element/Event/index'\nimport { DelayFun } from '../../Common/Tools/index'\nimport './Index.css'\n\ndefineOptions({ name: 'ClWaterfall' })\n\nconst props = defineProps({\n className: String,\n list: {\n type: Array,\n default: () => []\n },\n itemKey: {\n type: String,\n default: 'id'\n },\n width: {\n type: Number,\n default: -1\n },\n colNum: {\n type: Number,\n default: -1\n },\n spacing: {\n type: Number,\n default: 10\n },\n animationName: {\n type: String,\n default: 'animated fadeIn'\n }\n})\n\nconst refElList = ref<HTMLElement | null>(null)\n\nconst optBase = reactive({\n keyIndex: `waterfall-${CommonBase.getRandom(8)}`,\n pWidth: 0,\n pHeight: 0\n})\n\nconst optList = ref<any[]>([])\n\nconst _pageData: any = {\n colPosY: [],\n resizeEvent: null,\n resizeDelayFun: null,\n isExistItemKey: true\n}\n\n// computed\nconst optColWidth = computed(() => {\n const pWidth = optBase.pWidth\n const { width, colNum, spacing } = props\n let newWidth = 300\n const isWidth = width > 0\n const isCols = colNum > 0\n const averageW = isCols ? parseInt(((pWidth + spacing) / colNum).toString()) - spacing : 0\n if (isWidth && isCols) {\n const useTotalW = (width + spacing) * colNum - spacing\n newWidth = pWidth >= useTotalW ? width : averageW\n } else if (!isWidth && isCols) {\n newWidth = averageW\n } else if (isWidth && !isCols) {\n newWidth = pWidth > width ? width : pWidth\n }\n return newWidth\n})\n\nconst optColNum = computed(() => {\n const pWidth = optBase.pWidth\n const boxWidth = optColWidth.value\n const { colNum, spacing } = props\n const isCols = colNum > 0\n let newCol = -1\n const maxCol = parseInt(((pWidth + spacing) / (boxWidth + spacing)).toString())\n if (isCols) {\n const useTotalW = (boxWidth + spacing) * colNum - spacing\n newCol = pWidth >= useTotalW ? colNum : maxCol\n } else {\n newCol = maxCol\n }\n return newCol\n})\n\nconst optOffsetX = computed(() => {\n const pWidth = optBase.pWidth\n const boxWidth = optColWidth.value\n const maxColNum = optColNum.value\n const { spacing } = props\n const useTotalW = (boxWidth + spacing) * maxColNum - spacing\n const newOffsetX = parseInt(((pWidth - useTotalW) / 2).toString())\n return newOffsetX\n})\n\nconst clsParent = computed(() => {\n const cls: Record<string, boolean> = {\n 'panel-waterfall': true\n }\n const { className } = props\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\n// 内部方法\nconst _checkExistItemKey = () => {\n const { list, itemKey } = props\n list.forEach((info: any) => {\n if (_pageData.isExistItemKey) {\n _pageData.isExistItemKey = CommonBase.isExistJsonKey(info, itemKey)\n }\n })\n}\n\nconst _initList = () => {\n optList.value = props.list\n}\n\nconst _initColPosY = () => {\n const { spacing } = props\n _pageData.colPosY = new Array(optColNum.value).fill(spacing)\n}\n\nconst _getColItemX = (inx: number) => {\n const { spacing } = props\n const w = optColWidth.value\n const x = optOffsetX.value\n return x + (w + spacing) * inx\n}\n\nconst _initLayoutItems = () => {\n let elItems: NodeListOf<HTMLElement> | undefined\n if (refElList.value) {\n elItems = refElList.value.querySelectorAll('.waterfall-item')\n }\n if (CommonBase.isUndefined(elItems) || !elItems) {\n return\n }\n if (elItems.length === 0) {\n return\n }\n\n _initColPosY()\n const w = optColWidth.value\n const { spacing, animationName } = props\n for (let i = 0; i < elItems.length; i++) {\n const el = elItems[i]\n const h = CommonElement.getPositionView(el).height\n const y = Math.min.apply(null, _pageData.colPosY)\n const yInx = _pageData.colPosY.indexOf(y)\n const x = _getColItemX(yInx)\n\n el.style.width = `${w}px`\n el.style.transform = `translate3d(${x}px,${y}px, 0)`\n _pageData.colPosY[yInx] += h + spacing\n\n const elChild = el.firstChild as HTMLElement\n const sty = elChild.style as any\n elChild.style.visibility = 'visible'\n if (!CommonElement.checkHasClass(elChild.className, animationName)) {\n sty['animation-duration'] = '1000ms'\n sty['animation-delay'] = '200ms'\n sty['animation-fill-mode'] = 'both'\n elChild.className = CommonElement.getAddClass(elChild.className, animationName)\n }\n }\n optBase.pHeight = Math.max.apply(null, _pageData.colPosY)\n}\n\nconst _initRender = () => {\n if (_pageData.isExistItemKey) {\n _initList()\n _pageData.resizeDelayFun.run(() => {\n _initLayoutItems()\n })\n } else {\n _pageData.resizeDelayFun.run(() => {\n _initList()\n nextTick(() => {\n _initLayoutItems()\n })\n })\n }\n}\n\nconst _initMain = () => {\n _pageData.resizeDelayFun = new DelayFun(null, 200)\n _pageData.resizeEvent = new ResizeEvent({\n element: refElList.value,\n callback: (item: any) => {\n optBase.pWidth = item.contentRect.width\n }\n })\n}\n\n// 生命周期\nonMounted(() => {\n nextTick(() => {\n _initMain()\n })\n})\n\nonUnmounted(() => {\n if (_pageData.resizeEvent) {\n _pageData.resizeEvent.destroy()\n }\n})\n\n// watch\nwatch(\n () => [optBase.pWidth, optColWidth, props.list],\n () => {\n _checkExistItemKey()\n _initRender()\n },\n { deep: true }\n)\n\n// provide\nprovide('$WaterfallTop', {\n imgCallback: _initRender\n})\n\n// 外部调用\nconst deleteItem = (inx: number) => {\n const elItems = refElList.value?.querySelectorAll('.waterfall-item')\n if (elItems && elItems[inx]) {\n const el = elItems[inx] as HTMLElement\n if (el.firstChild) {\n (el.firstChild as HTMLElement).style.visibility = 'hidden'\n }\n }\n}\n\ndefineExpose({\n deleteItem\n})\n</script>\n"],"names":["props","__props","refElList","ref","optBase","reactive","CommonBase","optList","_pageData","optColWidth","computed","pWidth","width","colNum","spacing","newWidth","isWidth","isCols","averageW","useTotalW","optColNum","boxWidth","newCol","maxCol","optOffsetX","maxColNum","clsParent","cls","className","c","_checkExistItemKey","list","itemKey","info","_initList","_initColPosY","_getColItemX","inx","w","_initLayoutItems","elItems","animationName","i","el","h","CommonElement","y","yInx","x","elChild","sty","_initRender","nextTick","_initMain","DelayFun","ResizeEvent","item","onMounted","onUnmounted","watch","provide","__expose","_createElementBlock","_createElementVNode","_normalizeStyle","_openBlock","_Fragment","_renderList","_renderSlot","_ctx"],"mappings":"8gBA0BA,MAAMA,EAAQC,EA4BRC,EAA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AAY,QAAA,CAE1B,CAAC,EAGDmD,EAAAA,MACE,IAAM,CAACvD,EAAQ,OAAQK,EAAaT,EAAM,IAAI,EAC9C,IAAM,CACJ8B,EAAA,EACAqB,EAAA,CACF,EACA,CAAE,KAAM,EAAA,CAAK,EAIfS,EAAAA,QAAQ,gBAAiB,CACvB,YAAaT,CAAA,CACd,EAaDU,EAAa,CACX,WAXkBxB,GAAgB,CAClC,MAAMG,EAAUtC,EAAU,OAAO,iBAAiB,iBAAiB,EACnE,GAAIsC,GAAWA,EAAQH,CAAG,EAAG,CAC3B,MAAMM,EAAKH,EAAQH,CAAG,EAClBM,EAAG,aACJA,EAAG,WAA2B,MAAM,WAAa,SAEtD,CACF,CAGE,CACD,wBAtQCmB,EAAAA,mBAYM,MAAA,CAZA,uBAAOpC,EAAA,KAAS,CAAA,GACpBqC,EAAAA,mBAUM,MAAA,SAVG,YAAJ,IAAI7D,EAAY,MAAM,iBAAkB,MAAK8D,EAAAA,eAAA,CAAA,OAAA,GAAe5D,EAAQ,OAAO,KAAA,CAAA,IAC9E6D,EAAAA,UAAA,EAAA,EAAAH,EAAAA,mBAQMI,WAAA,KAAAC,EAAAA,WAPkB5D,EAAA,MAAO,CAArB0B,EAAMI,mBADhByB,EAAAA,mBAQM,MAAA,CANH,IAAG,GAAK1D,EAAQ,QAAQ,IAAI6B,EAAKhC,EAAA,OAAO,GAAKoC,CAAG,GACjD,MAAM,gBAAA,GAEN0B,EAAAA,mBAEM,MAAA,KAAA,CADJK,aAAuCC,EAAA,OAAA,UAAA,CAAhC,KAAMpC,EAAO,MAAOI,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.waterfall-list{position:relative;width:100%;overflow:hidden}.waterfall-item{position:absolute;left:0;top:0;transform:translate3d(0,3000px,0);transition:all .3s ease 0s;visibility:hidden}.waterfall-item>div>div{margin:0!important}.waterfall-imageBox{width:100%;display:flex;align-items:center;justify-content:center}.waterfall-imageBox>.waterfall-image{max-width:100%;height:auto;vertical-align:middle}.waterfall-imageBox>.waterfall-image[lazy=loading]{padding:80px 0}.waterfall-imageBox>.waterfall-image[lazy=error]{padding:80px 0}
|