@cldemo/ui-kit 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/COMPONENT_CATALOG.md +210 -0
- package/LICENSE +21 -0
- package/README.md +120 -0
- package/buildLibs/all/index.cjs +99 -0
- package/buildLibs/all/index.cjs.map +1 -0
- package/buildLibs/all/index.d.ts +83 -0
- package/buildLibs/all/index.js +168 -0
- package/buildLibs/all/index.js.map +1 -0
- package/buildLibs/common/Element/Event/drag.d.ts +24 -0
- package/buildLibs/common/Element/Event/index.d.ts +9 -0
- package/buildLibs/common/Element/Event/resize.d.ts +20 -0
- package/buildLibs/common/Element/index.d.ts +104 -0
- package/buildLibs/common/Element_Event_drag-DeZYlveu.js +430 -0
- package/buildLibs/common/Element_Event_drag-DeZYlveu.js.map +1 -0
- package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs +3 -0
- package/buildLibs/common/Element_Event_drag-L_ZT9whD.cjs.map +1 -0
- package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs +2 -0
- package/buildLibs/common/Element_Event_resize-DA_sUt40.cjs.map +1 -0
- package/buildLibs/common/Element_Event_resize-DqH_UT2k.js +49 -0
- package/buildLibs/common/Element_Event_resize-DqH_UT2k.js.map +1 -0
- package/buildLibs/common/Tools/animateEasing.d.ts +27 -0
- package/buildLibs/common/Tools/cookie.d.ts +8 -0
- package/buildLibs/common/Tools/delayFun.d.ts +9 -0
- package/buildLibs/common/Tools/index.d.ts +15 -0
- package/buildLibs/common/Tools/localStorage.d.ts +9 -0
- package/buildLibs/common/Tools/number.d.ts +8 -0
- package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs +2 -0
- package/buildLibs/common/Tools_animateEasing-C6TmrmvZ.cjs.map +1 -0
- package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js +50 -0
- package/buildLibs/common/Tools_animateEasing-D0lY_Vn8.js.map +1 -0
- package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs +2 -0
- package/buildLibs/common/Tools_cookie-CCTgXZb7.cjs.map +1 -0
- package/buildLibs/common/Tools_cookie-DKctMXdK.js +31 -0
- package/buildLibs/common/Tools_cookie-DKctMXdK.js.map +1 -0
- package/buildLibs/common/Tools_delayFun-CA1ktv1L.js +21 -0
- package/buildLibs/common/Tools_delayFun-CA1ktv1L.js.map +1 -0
- package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs +2 -0
- package/buildLibs/common/Tools_delayFun-DYTkzlXE.cjs.map +1 -0
- package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs +2 -0
- package/buildLibs/common/Tools_localStorage-Cbecy4gj.cjs.map +1 -0
- package/buildLibs/common/Tools_localStorage-DVvhtzhL.js +48 -0
- package/buildLibs/common/Tools_localStorage-DVvhtzhL.js.map +1 -0
- package/buildLibs/common/Tools_number-Bh6hGO5U.cjs +2 -0
- package/buildLibs/common/Tools_number-Bh6hGO5U.cjs.map +1 -0
- package/buildLibs/common/Tools_number-C_MjN473.js +22 -0
- package/buildLibs/common/Tools_number-C_MjN473.js.map +1 -0
- package/buildLibs/common/axios-DZoeNi6y.cjs +2 -0
- package/buildLibs/common/axios-DZoeNi6y.cjs.map +1 -0
- package/buildLibs/common/axios-DqkFEq4Y.js +242 -0
- package/buildLibs/common/axios-DqkFEq4Y.js.map +1 -0
- package/buildLibs/common/axios.d.ts +28 -0
- package/buildLibs/common/base-PQGakkrl.js +808 -0
- package/buildLibs/common/base-PQGakkrl.js.map +1 -0
- package/buildLibs/common/base-iCmnU-fv.cjs +2 -0
- package/buildLibs/common/base-iCmnU-fv.cjs.map +1 -0
- package/buildLibs/common/base.d.ts +222 -0
- package/buildLibs/common/day-BzMalBXj.cjs +2 -0
- package/buildLibs/common/day-BzMalBXj.cjs.map +1 -0
- package/buildLibs/common/day-Dm_AnEZp.js +75 -0
- package/buildLibs/common/day-Dm_AnEZp.js.map +1 -0
- package/buildLibs/common/day.d.ts +25 -0
- package/buildLibs/common/echart-BtfUJ8lE.js +498 -0
- package/buildLibs/common/echart-BtfUJ8lE.js.map +1 -0
- package/buildLibs/common/echart-Cs3rQ-e9.cjs +2 -0
- package/buildLibs/common/echart-Cs3rQ-e9.cjs.map +1 -0
- package/buildLibs/common/echart.d.ts +82 -0
- package/buildLibs/common/i18n/en.d.ts +111 -0
- package/buildLibs/common/i18n/index.d.ts +25 -0
- package/buildLibs/common/i18n/zh_CN.d.ts +111 -0
- package/buildLibs/common/i18n_en-BHhFEbi6.js +114 -0
- package/buildLibs/common/i18n_en-BHhFEbi6.js.map +1 -0
- package/buildLibs/common/i18n_en-D-5antzy.cjs +2 -0
- package/buildLibs/common/i18n_en-D-5antzy.cjs.map +1 -0
- package/buildLibs/common/i18n_zh_CN-COzQ8Los.js +114 -0
- package/buildLibs/common/i18n_zh_CN-COzQ8Los.js.map +1 -0
- package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs +2 -0
- package/buildLibs/common/i18n_zh_CN-DTZIQXOQ.cjs.map +1 -0
- package/buildLibs/common/index.cjs +2 -0
- package/buildLibs/common/index.cjs.map +1 -0
- package/buildLibs/common/index.d.ts +10 -0
- package/buildLibs/common/index.js +124 -0
- package/buildLibs/common/index.js.map +1 -0
- package/buildLibs/common/promise-BtoePzHD.cjs +2 -0
- package/buildLibs/common/promise-BtoePzHD.cjs.map +1 -0
- package/buildLibs/common/promise-CPiVqqqL.js +44 -0
- package/buildLibs/common/promise-CPiVqqqL.js.map +1 -0
- package/buildLibs/common/promise.d.ts +14 -0
- package/buildLibs/common/tooltip-De0atcAJ.js +215 -0
- package/buildLibs/common/tooltip-De0atcAJ.js.map +1 -0
- package/buildLibs/common/tooltip-Dj_ol2ax.cjs +2 -0
- package/buildLibs/common/tooltip-Dj_ol2ax.cjs.map +1 -0
- package/buildLibs/common/tooltip.d.ts +37 -0
- package/buildLibs/mobile/index.cjs +56 -0
- package/buildLibs/mobile/index.cjs.map +1 -0
- package/buildLibs/mobile/index.d.ts +47 -0
- package/buildLibs/mobile/index.js +96 -0
- package/buildLibs/mobile/index.js.map +1 -0
- package/buildLibs/resolver/index.cjs +2 -0
- package/buildLibs/resolver/index.cjs.map +1 -0
- package/buildLibs/resolver/index.js +82 -0
- package/buildLibs/resolver/index.js.map +1 -0
- package/buildLibs/resolver/resolver.d.ts +7 -0
- package/buildLibs/utils/Element/ClAnchorNav.cjs +2 -0
- package/buildLibs/utils/Element/ClAnchorNav.cjs.map +1 -0
- package/buildLibs/utils/Element/ClAnchorNav.css +1 -0
- package/buildLibs/utils/Element/ClAnchorNav.d.ts +3 -0
- package/buildLibs/utils/Element/ClAnchorNav.js +55 -0
- package/buildLibs/utils/Element/ClAnchorNav.js.map +1 -0
- package/buildLibs/utils/Element/ClBadge.cjs +2 -0
- package/buildLibs/utils/Element/ClBadge.cjs.map +1 -0
- package/buildLibs/utils/Element/ClBadge.d.ts +3 -0
- package/buildLibs/utils/Element/ClBadge.js +5 -0
- package/buildLibs/utils/Element/ClBadge.js.map +1 -0
- package/buildLibs/utils/Element/ClButton.cjs +2 -0
- package/buildLibs/utils/Element/ClButton.cjs.map +1 -0
- package/buildLibs/utils/Element/ClButton.css +1 -0
- package/buildLibs/utils/Element/ClButton.d.ts +3 -0
- package/buildLibs/utils/Element/ClButton.js +226 -0
- package/buildLibs/utils/Element/ClButton.js.map +1 -0
- package/buildLibs/utils/Element/ClCheckbox.cjs +2 -0
- package/buildLibs/utils/Element/ClCheckbox.cjs.map +1 -0
- package/buildLibs/utils/Element/ClCheckbox.d.ts +3 -0
- package/buildLibs/utils/Element/ClCheckbox.js +205 -0
- package/buildLibs/utils/Element/ClCheckbox.js.map +1 -0
- package/buildLibs/utils/Element/ClCheckboxOne.d.ts +3 -0
- package/buildLibs/utils/Element/ClClipboard.cjs +2 -0
- package/buildLibs/utils/Element/ClClipboard.cjs.map +1 -0
- package/buildLibs/utils/Element/ClClipboard.d.ts +3 -0
- package/buildLibs/utils/Element/ClClipboard.js +5 -0
- package/buildLibs/utils/Element/ClClipboard.js.map +1 -0
- package/buildLibs/utils/Element/ClCountup.cjs +2 -0
- package/buildLibs/utils/Element/ClCountup.cjs.map +1 -0
- package/buildLibs/utils/Element/ClCountup.d.ts +3 -0
- package/buildLibs/utils/Element/ClCountup.js +56 -0
- package/buildLibs/utils/Element/ClCountup.js.map +1 -0
- package/buildLibs/utils/Element/ClCropper.cjs +2 -0
- package/buildLibs/utils/Element/ClCropper.cjs.map +1 -0
- package/buildLibs/utils/Element/ClCropper.d.ts +3 -0
- package/buildLibs/utils/Element/ClCropper.js +5 -0
- package/buildLibs/utils/Element/ClCropper.js.map +1 -0
- package/buildLibs/utils/Element/ClCropperPreview.css +1 -0
- package/buildLibs/utils/Element/ClDarg.cjs +7 -0
- package/buildLibs/utils/Element/ClDarg.cjs.map +1 -0
- package/buildLibs/utils/Element/ClDarg.css +1 -0
- package/buildLibs/utils/Element/ClDarg.d.ts +3 -0
- package/buildLibs/utils/Element/ClDarg.js +1554 -0
- package/buildLibs/utils/Element/ClDarg.js.map +1 -0
- package/buildLibs/utils/Element/ClEllipsis.cjs +2 -0
- package/buildLibs/utils/Element/ClEllipsis.cjs.map +1 -0
- package/buildLibs/utils/Element/ClEllipsis.css +1 -0
- package/buildLibs/utils/Element/ClEllipsis.d.ts +3 -0
- package/buildLibs/utils/Element/ClEllipsis.js +99 -0
- package/buildLibs/utils/Element/ClEllipsis.js.map +1 -0
- package/buildLibs/utils/Element/ClForm.cjs +2 -0
- package/buildLibs/utils/Element/ClForm.cjs.map +1 -0
- package/buildLibs/utils/Element/ClForm.css +1 -0
- package/buildLibs/utils/Element/ClForm.d.ts +3 -0
- package/buildLibs/utils/Element/ClForm.js +139 -0
- package/buildLibs/utils/Element/ClForm.js.map +1 -0
- package/buildLibs/utils/Element/ClFormGroup.cjs +2 -0
- package/buildLibs/utils/Element/ClFormGroup.cjs.map +1 -0
- package/buildLibs/utils/Element/ClFormGroup.css +1 -0
- package/buildLibs/utils/Element/ClFormGroup.d.ts +3 -0
- package/buildLibs/utils/Element/ClFormGroup.js +76 -0
- package/buildLibs/utils/Element/ClFormGroup.js.map +1 -0
- package/buildLibs/utils/Element/ClFormValidate.d.ts +3 -0
- package/buildLibs/utils/Element/ClIconFont.cjs +2 -0
- package/buildLibs/utils/Element/ClIconFont.cjs.map +1 -0
- package/buildLibs/utils/Element/ClIconFont.d.ts +3 -0
- package/buildLibs/utils/Element/ClIconFont.js +5 -0
- package/buildLibs/utils/Element/ClIconFont.js.map +1 -0
- package/buildLibs/utils/Element/ClImage.cjs +2 -0
- package/buildLibs/utils/Element/ClImage.cjs.map +1 -0
- package/buildLibs/utils/Element/ClImage.css +1 -0
- package/buildLibs/utils/Element/ClImage.d.ts +3 -0
- package/buildLibs/utils/Element/ClImage.js +195 -0
- package/buildLibs/utils/Element/ClImage.js.map +1 -0
- package/buildLibs/utils/Element/ClInput.cjs +2 -0
- package/buildLibs/utils/Element/ClInput.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInput.d.ts +3 -0
- package/buildLibs/utils/Element/ClInput.js +5 -0
- package/buildLibs/utils/Element/ClInput.js.map +1 -0
- package/buildLibs/utils/Element/ClInputCaptcha.cjs +2 -0
- package/buildLibs/utils/Element/ClInputCaptcha.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInputCaptcha.css +1 -0
- package/buildLibs/utils/Element/ClInputCaptcha.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputCaptcha.js +111 -0
- package/buildLibs/utils/Element/ClInputCaptcha.js.map +1 -0
- package/buildLibs/utils/Element/ClInputNumber.cjs +2 -0
- package/buildLibs/utils/Element/ClInputNumber.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInputNumber.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputNumber.js +5 -0
- package/buildLibs/utils/Element/ClInputNumber.js.map +1 -0
- package/buildLibs/utils/Element/ClInputSearch.cjs +2 -0
- package/buildLibs/utils/Element/ClInputSearch.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInputSearch.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputSearch.js +5 -0
- package/buildLibs/utils/Element/ClInputSearch.js.map +1 -0
- package/buildLibs/utils/Element/ClInputTag.css +1 -0
- package/buildLibs/utils/Element/ClInputTextarea.cjs +2 -0
- package/buildLibs/utils/Element/ClInputTextarea.cjs.map +1 -0
- package/buildLibs/utils/Element/ClInputTextarea.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputTextarea.js +5 -0
- package/buildLibs/utils/Element/ClInputTextarea.js.map +1 -0
- package/buildLibs/utils/Element/ClInputnumberButton.d.ts +3 -0
- package/buildLibs/utils/Element/ClLink.cjs +2 -0
- package/buildLibs/utils/Element/ClLink.cjs.map +1 -0
- package/buildLibs/utils/Element/ClLink.d.ts +3 -0
- package/buildLibs/utils/Element/ClLink.js +5 -0
- package/buildLibs/utils/Element/ClLink.js.map +1 -0
- package/buildLibs/utils/Element/ClLoad.cjs +2 -0
- package/buildLibs/utils/Element/ClLoad.cjs.map +1 -0
- package/buildLibs/utils/Element/ClLoad.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoad.js +5 -0
- package/buildLibs/utils/Element/ClLoad.js.map +1 -0
- package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadIng.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadScreen.cjs +2 -0
- package/buildLibs/utils/Element/ClLoadScreen.cjs.map +1 -0
- package/buildLibs/utils/Element/ClLoadScreen.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadScreen.js +5 -0
- package/buildLibs/utils/Element/ClLoadScreen.js.map +1 -0
- package/buildLibs/utils/Element/ClLoadWarp.d.ts +3 -0
- package/buildLibs/utils/Element/ClModal.cjs +2 -0
- package/buildLibs/utils/Element/ClModal.cjs.map +1 -0
- package/buildLibs/utils/Element/ClModal.d.ts +3 -0
- package/buildLibs/utils/Element/ClModal.js +5 -0
- package/buildLibs/utils/Element/ClModal.js.map +1 -0
- package/buildLibs/utils/Element/ClProgress.cjs +2 -0
- package/buildLibs/utils/Element/ClProgress.cjs.map +1 -0
- package/buildLibs/utils/Element/ClProgress.css +1 -0
- package/buildLibs/utils/Element/ClProgress.d.ts +3 -0
- package/buildLibs/utils/Element/ClProgress.js +219 -0
- package/buildLibs/utils/Element/ClProgress.js.map +1 -0
- package/buildLibs/utils/Element/ClRadio.cjs +2 -0
- package/buildLibs/utils/Element/ClRadio.cjs.map +1 -0
- package/buildLibs/utils/Element/ClRadio.d.ts +3 -0
- package/buildLibs/utils/Element/ClRadio.js +176 -0
- package/buildLibs/utils/Element/ClRadio.js.map +1 -0
- package/buildLibs/utils/Element/ClRadioOne.d.ts +3 -0
- package/buildLibs/utils/Element/ClSlider.cjs +2 -0
- package/buildLibs/utils/Element/ClSlider.cjs.map +1 -0
- package/buildLibs/utils/Element/ClSlider.css +1 -0
- package/buildLibs/utils/Element/ClSlider.d.ts +3 -0
- package/buildLibs/utils/Element/ClSlider.js +721 -0
- package/buildLibs/utils/Element/ClSlider.js.map +1 -0
- package/buildLibs/utils/Element/ClSwitchery.cjs +2 -0
- package/buildLibs/utils/Element/ClSwitchery.cjs.map +1 -0
- package/buildLibs/utils/Element/ClSwitchery.css +1 -0
- package/buildLibs/utils/Element/ClSwitchery.d.ts +3 -0
- package/buildLibs/utils/Element/ClSwitchery.js +429 -0
- package/buildLibs/utils/Element/ClSwitchery.js.map +1 -0
- package/buildLibs/utils/Element/ClTags.cjs +2 -0
- package/buildLibs/utils/Element/ClTags.cjs.map +1 -0
- package/buildLibs/utils/Element/ClTags.d.ts +3 -0
- package/buildLibs/utils/Element/ClTags.js +5 -0
- package/buildLibs/utils/Element/ClTags.js.map +1 -0
- package/buildLibs/utils/Element/ClTransitionSlideupdown.d.ts +3 -0
- package/buildLibs/utils/Element/ClWaterfall.cjs +2 -0
- package/buildLibs/utils/Element/ClWaterfall.cjs.map +1 -0
- package/buildLibs/utils/Element/ClWaterfall.css +1 -0
- package/buildLibs/utils/Element/ClWaterfall.d.ts +3 -0
- package/buildLibs/utils/Element/ClWaterfall.js +167 -0
- package/buildLibs/utils/Element/ClWaterfall.js.map +1 -0
- package/buildLibs/utils/Element/ClWaterfallImage.d.ts +3 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs +2 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs.map +1 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +2 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.js +62 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.js.map +1 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +2 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs.map +1 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +2 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.js +17 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.js.map +1 -0
- package/buildLibs/utils/Element/__provide__/languagePack.cjs +2 -0
- package/buildLibs/utils/Element/__provide__/languagePack.cjs.map +1 -0
- package/buildLibs/utils/Element/__provide__/languagePack.d.ts +2 -0
- package/buildLibs/utils/Element/__provide__/languagePack.js +29 -0
- package/buildLibs/utils/Element/__provide__/languagePack.js.map +1 -0
- package/buildLibs/utils/Mobile/ClCell.cjs +2 -0
- package/buildLibs/utils/Mobile/ClCell.cjs.map +1 -0
- package/buildLibs/utils/Mobile/ClCell.css +1 -0
- package/buildLibs/utils/Mobile/ClCell.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClCell.js +130 -0
- package/buildLibs/utils/Mobile/ClCell.js.map +1 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +2 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs.map +1 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.css +1 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.js +195 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.js.map +1 -0
- package/buildLibs/utils/Shared/Alert.css +1 -0
- package/buildLibs/utils/Shared/Base.css +1 -0
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js +2 -0
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-C_-WLPmH.js.map +1 -0
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js +354 -0
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-Duh9tbur.js.map +1 -0
- package/buildLibs/utils/Shared/BaseTransition.css +1 -0
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js +2 -0
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DEXehdBc.js.map +1 -0
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js +121 -0
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DLAYzSgX.js.map +1 -0
- package/buildLibs/utils/Shared/Highlight.css +1 -0
- package/buildLibs/utils/Shared/Index.css +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js +233 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-AhjUdZHr.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js +75 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B3Jxjv3S.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BSTGdmJD.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BWdaQyLA.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BYmK-TqX.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js +143 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BjRPiJPA.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js +24 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bv5Aqano.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js +1146 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvGrVSSF.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js +336 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BxtgFrvB.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C1ANWb2_.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4XFCLbD.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js +165 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIdipm_Z.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js +168 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNa69faz.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPWxeZzn.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js +70 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cjhn8JLr.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js +84 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Cuv5NgcY.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D5cJAhwe.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js +98 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js +342 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DWw1B8Z2.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js +166 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Da4Z8GsB.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js +384 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js +462 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DpxHzkjC.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Ds2Q0eNQ.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-HDdyVujM.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js +593 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js +54 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-gzy5AIqr.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js +144 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-inXYfqWx.js.map +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-p08PZCov.js.map +1 -0
- package/buildLibs/utils/Shared/Index10.css +1 -0
- package/buildLibs/utils/Shared/Index11.css +1 -0
- package/buildLibs/utils/Shared/Index12.css +1 -0
- package/buildLibs/utils/Shared/Index13.css +1 -0
- package/buildLibs/utils/Shared/Index14.css +1 -0
- package/buildLibs/utils/Shared/Index15.css +1 -0
- package/buildLibs/utils/Shared/Index16.css +1 -0
- package/buildLibs/utils/Shared/Index17.css +1 -0
- package/buildLibs/utils/Shared/Index18.css +1 -0
- package/buildLibs/utils/Shared/Index19.css +1 -0
- package/buildLibs/utils/Shared/Index2.css +1 -0
- package/buildLibs/utils/Shared/Index3.css +1 -0
- package/buildLibs/utils/Shared/Index4.css +1 -0
- package/buildLibs/utils/Shared/Index5.css +1 -0
- package/buildLibs/utils/Shared/Index6.css +1 -0
- package/buildLibs/utils/Shared/Index7.css +1 -0
- package/buildLibs/utils/Shared/Index8.css +1 -0
- package/buildLibs/utils/Shared/Index9.css +1 -0
- package/buildLibs/utils/Shared/Ing-C_3NkQxd.js +43 -0
- package/buildLibs/utils/Shared/Ing-C_3NkQxd.js.map +1 -0
- package/buildLibs/utils/Shared/Ing-D_cd5IxY.js +2 -0
- package/buildLibs/utils/Shared/Ing-D_cd5IxY.js.map +1 -0
- package/buildLibs/utils/Shared/Ing.css +1 -0
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js +2 -0
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-Dr6PppOP.js.map +1 -0
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js +141 -0
- package/buildLibs/utils/Shared/List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js.map +1 -0
- package/buildLibs/utils/Shared/Notify.css +1 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js +87 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js.map +1 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js +2 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-E9U8wdGT.js.map +1 -0
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js +109 -0
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-CbaTn8Yz.js.map +1 -0
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js +2 -0
- package/buildLibs/utils/Shared/Popup.vue_vue_type_script_setup_true_lang-D6uynoJZ.js.map +1 -0
- package/buildLibs/utils/Shared/Tooltip.css +1 -0
- package/buildLibs/utils/Shared/Waves.css +7 -0
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js +2 -0
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-BHFhmbuH.js.map +1 -0
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js +10 -0
- package/buildLibs/utils/Shared/_plugin-vue_export-helper-CHgC5LLL.js.map +1 -0
- package/buildLibs/utils/Shared/base-PQGakkrl.js +808 -0
- package/buildLibs/utils/Shared/base-PQGakkrl.js.map +1 -0
- package/buildLibs/utils/Shared/base-iCmnU-fv.js +2 -0
- package/buildLibs/utils/Shared/base-iCmnU-fv.js.map +1 -0
- package/buildLibs/utils/Shared/day-Bz9LfelO.js +75 -0
- package/buildLibs/utils/Shared/day-Bz9LfelO.js.map +1 -0
- package/buildLibs/utils/Shared/day-CvcvgKjb.js +2 -0
- package/buildLibs/utils/Shared/day-CvcvgKjb.js.map +1 -0
- package/buildLibs/utils/Shared/drag-CzE5R222.js +2 -0
- package/buildLibs/utils/Shared/drag-CzE5R222.js.map +1 -0
- package/buildLibs/utils/Shared/drag-CzfhSB0g.js +42 -0
- package/buildLibs/utils/Shared/drag-CzfhSB0g.js.map +1 -0
- package/buildLibs/utils/Shared/index-BnerInzC.js +432 -0
- package/buildLibs/utils/Shared/index-BnerInzC.js.map +1 -0
- package/buildLibs/utils/Shared/index-C1R9HAvS.js +320 -0
- package/buildLibs/utils/Shared/index-C1R9HAvS.js.map +1 -0
- package/buildLibs/utils/Shared/index-CVBh8iTg.js +2 -0
- package/buildLibs/utils/Shared/index-CVBh8iTg.js.map +1 -0
- package/buildLibs/utils/Shared/index-Ul6uY51t.js +3 -0
- package/buildLibs/utils/Shared/index-Ul6uY51t.js.map +1 -0
- package/buildLibs/utils/Shared/language-D6gRWx8H.js +2 -0
- package/buildLibs/utils/Shared/language-D6gRWx8H.js.map +1 -0
- package/buildLibs/utils/Shared/language-DxTlvFs2.js +18 -0
- package/buildLibs/utils/Shared/language-DxTlvFs2.js.map +1 -0
- package/buildLibs/utils/Shared/resize-COkswDOq.js +2 -0
- package/buildLibs/utils/Shared/resize-COkswDOq.js.map +1 -0
- package/buildLibs/utils/Shared/resize-kOWxHVSP.js +54 -0
- package/buildLibs/utils/Shared/resize-kOWxHVSP.js.map +1 -0
- package/buildLibs/utils/Shared/vue-virtual-scroller.css +1 -0
- package/buildLibs/utils/Web/ClBreadcrumb.cjs +2 -0
- package/buildLibs/utils/Web/ClBreadcrumb.cjs.map +1 -0
- package/buildLibs/utils/Web/ClBreadcrumb.css +1 -0
- package/buildLibs/utils/Web/ClBreadcrumb.d.ts +3 -0
- package/buildLibs/utils/Web/ClBreadcrumb.js +82 -0
- package/buildLibs/utils/Web/ClBreadcrumb.js.map +1 -0
- package/buildLibs/utils/Web/ClCalendar.cjs +2 -0
- package/buildLibs/utils/Web/ClCalendar.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCalendar.css +1 -0
- package/buildLibs/utils/Web/ClCalendar.d.ts +3 -0
- package/buildLibs/utils/Web/ClCalendar.js +179 -0
- package/buildLibs/utils/Web/ClCalendar.js.map +1 -0
- package/buildLibs/utils/Web/ClCard.cjs +2 -0
- package/buildLibs/utils/Web/ClCard.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCard.d.ts +3 -0
- package/buildLibs/utils/Web/ClCard.js +5 -0
- package/buildLibs/utils/Web/ClCard.js.map +1 -0
- package/buildLibs/utils/Web/ClCardLegend.cjs +2 -0
- package/buildLibs/utils/Web/ClCardLegend.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCardLegend.css +1 -0
- package/buildLibs/utils/Web/ClCardLegend.d.ts +3 -0
- package/buildLibs/utils/Web/ClCardLegend.js +128 -0
- package/buildLibs/utils/Web/ClCardLegend.js.map +1 -0
- package/buildLibs/utils/Web/ClCollapse.cjs +2 -0
- package/buildLibs/utils/Web/ClCollapse.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCollapse.css +1 -0
- package/buildLibs/utils/Web/ClCollapse.d.ts +3 -0
- package/buildLibs/utils/Web/ClCollapse.js +111 -0
- package/buildLibs/utils/Web/ClCollapse.js.map +1 -0
- package/buildLibs/utils/Web/ClColorpicker.cjs +2 -0
- package/buildLibs/utils/Web/ClColorpicker.cjs.map +1 -0
- package/buildLibs/utils/Web/ClColorpicker.css +1 -0
- package/buildLibs/utils/Web/ClColorpicker.d.ts +3 -0
- package/buildLibs/utils/Web/ClColorpicker.js +1130 -0
- package/buildLibs/utils/Web/ClColorpicker.js.map +1 -0
- package/buildLibs/utils/Web/ClCropperPreview.cjs +2 -0
- package/buildLibs/utils/Web/ClCropperPreview.cjs.map +1 -0
- package/buildLibs/utils/Web/ClCropperPreview.d.ts +3 -0
- package/buildLibs/utils/Web/ClCropperPreview.js +175 -0
- package/buildLibs/utils/Web/ClCropperPreview.js.map +1 -0
- package/buildLibs/utils/Web/ClDatetime.cjs +2 -0
- package/buildLibs/utils/Web/ClDatetime.cjs.map +1 -0
- package/buildLibs/utils/Web/ClDatetime.css +1 -0
- package/buildLibs/utils/Web/ClDatetime.d.ts +3 -0
- package/buildLibs/utils/Web/ClDatetime.js +2002 -0
- package/buildLibs/utils/Web/ClDatetime.js.map +1 -0
- package/buildLibs/utils/Web/ClDropdownmenu.cjs +2 -0
- package/buildLibs/utils/Web/ClDropdownmenu.cjs.map +1 -0
- package/buildLibs/utils/Web/ClDropdownmenu.css +1 -0
- package/buildLibs/utils/Web/ClDropdownmenu.d.ts +3 -0
- package/buildLibs/utils/Web/ClDropdownmenu.js +75 -0
- package/buildLibs/utils/Web/ClDropdownmenu.js.map +1 -0
- package/buildLibs/utils/Web/ClDropdownmenuItem.d.ts +3 -0
- package/buildLibs/utils/Web/ClDropdownpopup.cjs +2 -0
- package/buildLibs/utils/Web/ClDropdownpopup.cjs.map +1 -0
- package/buildLibs/utils/Web/ClDropdownpopup.css +1 -0
- package/buildLibs/utils/Web/ClDropdownpopup.d.ts +3 -0
- package/buildLibs/utils/Web/ClDropdownpopup.js +89 -0
- package/buildLibs/utils/Web/ClDropdownpopup.js.map +1 -0
- package/buildLibs/utils/Web/ClEcharts.cjs +2 -0
- package/buildLibs/utils/Web/ClEcharts.cjs.map +1 -0
- package/buildLibs/utils/Web/ClEcharts.css +1 -0
- package/buildLibs/utils/Web/ClEcharts.d.ts +3 -0
- package/buildLibs/utils/Web/ClEcharts.js +297 -0
- package/buildLibs/utils/Web/ClEcharts.js.map +1 -0
- package/buildLibs/utils/Web/ClFileupload.cjs +2 -0
- package/buildLibs/utils/Web/ClFileupload.cjs.map +1 -0
- package/buildLibs/utils/Web/ClFileupload.d.ts +3 -0
- package/buildLibs/utils/Web/ClFileupload.js +5 -0
- package/buildLibs/utils/Web/ClFileupload.js.map +1 -0
- package/buildLibs/utils/Web/ClInputTag.cjs +6 -0
- package/buildLibs/utils/Web/ClInputTag.cjs.map +1 -0
- package/buildLibs/utils/Web/ClInputTag.d.ts +3 -0
- package/buildLibs/utils/Web/ClInputTag.js +854 -0
- package/buildLibs/utils/Web/ClInputTag.js.map +1 -0
- package/buildLibs/utils/Web/ClPaginate.cjs +2 -0
- package/buildLibs/utils/Web/ClPaginate.cjs.map +1 -0
- package/buildLibs/utils/Web/ClPaginate.css +1 -0
- package/buildLibs/utils/Web/ClPaginate.d.ts +3 -0
- package/buildLibs/utils/Web/ClPaginate.js +167 -0
- package/buildLibs/utils/Web/ClPaginate.js.map +1 -0
- package/buildLibs/utils/Web/ClPortlet.cjs +2 -0
- package/buildLibs/utils/Web/ClPortlet.cjs.map +1 -0
- package/buildLibs/utils/Web/ClPortlet.css +1 -0
- package/buildLibs/utils/Web/ClPortlet.d.ts +3 -0
- package/buildLibs/utils/Web/ClPortlet.js +47 -0
- package/buildLibs/utils/Web/ClPortlet.js.map +1 -0
- package/buildLibs/utils/Web/ClPreview.cjs +2 -0
- package/buildLibs/utils/Web/ClPreview.cjs.map +1 -0
- package/buildLibs/utils/Web/ClPreview.js +5 -0
- package/buildLibs/utils/Web/ClPreview.js.map +1 -0
- package/buildLibs/utils/Web/ClPreviewexample.cjs +2 -0
- package/buildLibs/utils/Web/ClPreviewexample.cjs.map +1 -0
- package/buildLibs/utils/Web/ClPreviewexample.d.ts +3 -0
- package/buildLibs/utils/Web/ClPreviewexample.js +5 -0
- package/buildLibs/utils/Web/ClPreviewexample.js.map +1 -0
- package/buildLibs/utils/Web/ClScrollXFence.cjs +2 -0
- package/buildLibs/utils/Web/ClScrollXFence.cjs.map +1 -0
- package/buildLibs/utils/Web/ClScrollXFence.css +1 -0
- package/buildLibs/utils/Web/ClScrollXFence.d.ts +3 -0
- package/buildLibs/utils/Web/ClScrollXFence.js +107 -0
- package/buildLibs/utils/Web/ClScrollXFence.js.map +1 -0
- package/buildLibs/utils/Web/ClSelect.cjs +2 -0
- package/buildLibs/utils/Web/ClSelect.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelect.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelect.js +5 -0
- package/buildLibs/utils/Web/ClSelect.js.map +1 -0
- package/buildLibs/utils/Web/ClSelectCascade.cjs +2 -0
- package/buildLibs/utils/Web/ClSelectCascade.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelectCascade.css +1 -0
- package/buildLibs/utils/Web/ClSelectCascade.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectCascade.js +222 -0
- package/buildLibs/utils/Web/ClSelectCascade.js.map +1 -0
- package/buildLibs/utils/Web/ClSelectTag.cjs +2 -0
- package/buildLibs/utils/Web/ClSelectTag.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelectTag.css +1 -0
- package/buildLibs/utils/Web/ClSelectTag.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectTag.js +249 -0
- package/buildLibs/utils/Web/ClSelectTag.js.map +1 -0
- package/buildLibs/utils/Web/ClSelectTree.cjs +2 -0
- package/buildLibs/utils/Web/ClSelectTree.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelectTree.css +1 -0
- package/buildLibs/utils/Web/ClSelectTree.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectTree.js +190 -0
- package/buildLibs/utils/Web/ClSelectTree.js.map +1 -0
- package/buildLibs/utils/Web/ClSelectmove.cjs +2 -0
- package/buildLibs/utils/Web/ClSelectmove.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSelectmove.css +1 -0
- package/buildLibs/utils/Web/ClSelectmove.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectmove.js +1090 -0
- package/buildLibs/utils/Web/ClSelectmove.js.map +1 -0
- package/buildLibs/utils/Web/ClSidemenu.cjs +2 -0
- package/buildLibs/utils/Web/ClSidemenu.cjs.map +1 -0
- package/buildLibs/utils/Web/ClSidemenu.css +1 -0
- package/buildLibs/utils/Web/ClSidemenu.d.ts +3 -0
- package/buildLibs/utils/Web/ClSidemenu.js +190 -0
- package/buildLibs/utils/Web/ClSidemenu.js.map +1 -0
- package/buildLibs/utils/Web/ClTable.cjs +2 -0
- package/buildLibs/utils/Web/ClTable.cjs.map +1 -0
- package/buildLibs/utils/Web/ClTable.css +1 -0
- package/buildLibs/utils/Web/ClTable.d.ts +3 -0
- package/buildLibs/utils/Web/ClTable.js +1914 -0
- package/buildLibs/utils/Web/ClTable.js.map +1 -0
- package/buildLibs/utils/Web/ClTabs.cjs +2 -0
- package/buildLibs/utils/Web/ClTabs.cjs.map +1 -0
- package/buildLibs/utils/Web/ClTabs.css +1 -0
- package/buildLibs/utils/Web/ClTabs.d.ts +3 -0
- package/buildLibs/utils/Web/ClTabs.js +276 -0
- package/buildLibs/utils/Web/ClTabs.js.map +1 -0
- package/buildLibs/utils/Web/ClTree.cjs +2 -0
- package/buildLibs/utils/Web/ClTree.cjs.map +1 -0
- package/buildLibs/utils/Web/ClTree.css +1 -0
- package/buildLibs/utils/Web/ClTree.d.ts +3 -0
- package/buildLibs/utils/Web/ClTree.js +416 -0
- package/buildLibs/utils/Web/ClTree.js.map +1 -0
- package/buildLibs/utils/Web/ClWeekhour.cjs +2 -0
- package/buildLibs/utils/Web/ClWeekhour.cjs.map +1 -0
- package/buildLibs/utils/Web/ClWeekhour.css +1 -0
- package/buildLibs/utils/Web/ClWeekhour.d.ts +3 -0
- package/buildLibs/utils/Web/ClWeekhour.js +679 -0
- package/buildLibs/utils/Web/ClWeekhour.js.map +1 -0
- package/buildLibs/utils/Web/ClXeditable.cjs +2 -0
- package/buildLibs/utils/Web/ClXeditable.cjs.map +1 -0
- package/buildLibs/utils/Web/ClXeditable.css +1 -0
- package/buildLibs/utils/Web/ClXeditable.d.ts +3 -0
- package/buildLibs/utils/Web/ClXeditable.js +593 -0
- package/buildLibs/utils/Web/ClXeditable.js.map +1 -0
- package/buildLibs/utils/Web/__directive__/Highlight.cjs +4 -0
- package/buildLibs/utils/Web/__directive__/Highlight.cjs.map +1 -0
- package/buildLibs/utils/Web/__directive__/Highlight.d.ts +2 -0
- package/buildLibs/utils/Web/__directive__/Highlight.js +3625 -0
- package/buildLibs/utils/Web/__directive__/Highlight.js.map +1 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs +2 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs.map +1 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.d.ts +2 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.js +356 -0
- package/buildLibs/utils/Web/__directive__/Tooltip.js.map +1 -0
- package/buildLibs/utils/Web/__directive__/Waves.cjs +9 -0
- package/buildLibs/utils/Web/__directive__/Waves.cjs.map +1 -0
- package/buildLibs/utils/Web/__directive__/Waves.d.ts +2 -0
- package/buildLibs/utils/Web/__directive__/Waves.js +256 -0
- package/buildLibs/utils/Web/__directive__/Waves.js.map +1 -0
- package/buildLibs/utils/Web/__provide__/Alert.cjs +2 -0
- package/buildLibs/utils/Web/__provide__/Alert.cjs.map +1 -0
- package/buildLibs/utils/Web/__provide__/Alert.d.ts +2 -0
- package/buildLibs/utils/Web/__provide__/Alert.js +236 -0
- package/buildLibs/utils/Web/__provide__/Alert.js.map +1 -0
- package/buildLibs/utils/Web/__provide__/Notify.cjs +2 -0
- package/buildLibs/utils/Web/__provide__/Notify.cjs.map +1 -0
- package/buildLibs/utils/Web/__provide__/Notify.d.ts +2 -0
- package/buildLibs/utils/Web/__provide__/Notify.js +235 -0
- package/buildLibs/utils/Web/__provide__/Notify.js.map +1 -0
- package/buildLibs/utils/Web/__provide__/Preview.cjs +2 -0
- package/buildLibs/utils/Web/__provide__/Preview.cjs.map +1 -0
- package/buildLibs/utils/Web/__provide__/Preview.d.ts +2 -0
- package/buildLibs/utils/Web/__provide__/Preview.js +26 -0
- package/buildLibs/utils/Web/__provide__/Preview.js.map +1 -0
- package/buildLibs/web/index.cjs +97 -0
- package/buildLibs/web/index.cjs.map +1 -0
- package/buildLibs/web/index.d.ts +81 -0
- package/buildLibs/web/index.js +164 -0
- package/buildLibs/web/index.js.map +1 -0
- package/docs/components/Element/AnchorNav.md +19 -0
- package/docs/components/Element/Badge.md +24 -0
- package/docs/components/Element/Button.md +45 -0
- package/docs/components/Element/Checkbox.md +48 -0
- package/docs/components/Element/Clipboard.md +34 -0
- package/docs/components/Element/Countup.md +12 -0
- package/docs/components/Element/Cropper.md +46 -0
- package/docs/components/Element/Darg.md +30 -0
- package/docs/components/Element/Ellipsis.md +12 -0
- package/docs/components/Element/Form.md +25 -0
- package/docs/components/Element/FormGroup.md +29 -0
- package/docs/components/Element/IconFont.md +12 -0
- package/docs/components/Element/Image.md +18 -0
- package/docs/components/Element/Input.md +65 -0
- package/docs/components/Element/InputCaptcha.md +27 -0
- package/docs/components/Element/InputNumber.md +51 -0
- package/docs/components/Element/InputSearch.md +43 -0
- package/docs/components/Element/InputTextarea.md +52 -0
- package/docs/components/Element/Link.md +41 -0
- package/docs/components/Element/Load.md +20 -0
- package/docs/components/Element/LoadScreen.md +19 -0
- package/docs/components/Element/Modal.md +51 -0
- package/docs/components/Element/Progress.md +28 -0
- package/docs/components/Element/Radio.md +41 -0
- package/docs/components/Element/Slider.md +33 -0
- package/docs/components/Element/Switchery.md +42 -0
- package/docs/components/Element/Tags.md +39 -0
- package/docs/components/Element/Waterfall.md +36 -0
- package/docs/components/Mobile/Cell.md +49 -0
- package/docs/components/Mobile/PullToRefresh.md +52 -0
- package/docs/components/Web/Breadcrumb.md +26 -0
- package/docs/components/Web/Calendar.md +34 -0
- package/docs/components/Web/Card.md +22 -0
- package/docs/components/Web/CardLegend.md +20 -0
- package/docs/components/Web/Collapse.md +26 -0
- package/docs/components/Web/Colorpicker.md +41 -0
- package/docs/components/Web/CropperPreview.md +43 -0
- package/docs/components/Web/Datetime.md +52 -0
- package/docs/components/Web/Dropdownmenu.md +33 -0
- package/docs/components/Web/Dropdownpopup.md +47 -0
- package/docs/components/Web/Echarts.md +43 -0
- package/docs/components/Web/Fileupload.md +60 -0
- package/docs/components/Web/InputTag.md +56 -0
- package/docs/components/Web/Paginate.md +30 -0
- package/docs/components/Web/Portlet.md +27 -0
- package/docs/components/Web/Preview.md +19 -0
- package/docs/components/Web/Previewexample.md +39 -0
- package/docs/components/Web/ScrollXFence.md +38 -0
- package/docs/components/Web/Select.md +56 -0
- package/docs/components/Web/SelectCascade.md +37 -0
- package/docs/components/Web/SelectTag.md +43 -0
- package/docs/components/Web/SelectTree.md +44 -0
- package/docs/components/Web/Selectmove.md +58 -0
- package/docs/components/Web/Sidemenu.md +25 -0
- package/docs/components/Web/Table.md +78 -0
- package/docs/components/Web/Tabs.md +47 -0
- package/docs/components/Web/Tree.md +44 -0
- package/docs/components/Web/Weekhour.md +29 -0
- package/docs/components/Web/Xeditable.md +52 -0
- package/docs/tools/CommonAxios.md +17 -0
- package/docs/tools/CommonBase.md +79 -0
- package/docs/tools/CommonDay.md +18 -0
- package/docs/tools/CommonEchart.md +19 -0
- package/docs/tools/CommonElement.md +42 -0
- package/docs/tools/CommonElementEvent.md +30 -0
- package/docs/tools/CommonI18n.md +18 -0
- package/docs/tools/CommonPromise.md +16 -0
- package/docs/tools/CommonTools.md +43 -0
- package/docs/tools/CommonTooltip.md +38 -0
- package/package.json +123 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),M=require("vue-cropper"),R=require("./Index.vue_vue_type_script_setup_true_lang-DxWcQL_8.js"),q=require("./_plugin-vue_export-helper-BHFhmbuH.js"),m=require("./base-iCmnU-fv.js"),z=require("./Index.vue_vue_type_script_setup_true_lang-CVPvV5cZ.js"),G={class:"panel-load-fullCenter loading-wrapper"},O={class:"loading-content"},U=e.defineComponent({name:"ClLoadFullCenter",__name:"FullCenter",props:{theme:{},size:{}},setup(n){return(C,u)=>(e.openBlock(),e.createElementBlock("div",G,[u[0]||(u[0]=e.createElementVNode("div",{class:"load-fullCenter-bg"},null,-1)),e.createElementVNode("div",O,[e.createVNode(R._sfc_main,{theme:n.theme,size:n.size},null,8,["theme","size"])])]))}}),$=q._export_sfc(U,[["__scopeId","data-v-bfbb2c59"]]),T={class:"imgCropper-container"},j={class:"imgCropper-main"},H={class:"frame-alignline"},W={class:"imgCropper-btns"},D={key:0,class:"imgCropper-upload"},J=["id","name"],K=["for"],Q={class:"imgCropper-btns-opt"},X=["src"],Y={key:0,class:"frame-alignline"},S=e.defineComponent({name:"ClCropperBase",__name:"Base",props:{className:String,src:{type:String,required:!0},width:{type:Number,required:!0},height:{type:Number,required:!0},isFixedAspectRatio:{type:Boolean,default:!0},isPreview:{type:Boolean,default:!0},previewShape:{type:String,default:"square"},enlarge:{type:Number,default:2},isShowUpload:{type:Boolean,default:!0},isShowSave:{type:Boolean,default:!1},isCenterBox:{type:Boolean,default:!0},fillColor:{type:String,default:"transparent"},alignLine:{type:String,default:"center"},isPreviewAlignLine:{type:Boolean,default:!1}},emits:["onImgLoad","onImgSave"],setup(n,{expose:C,emit:u}){const l=n,g=u,o=e.ref(null),p=e.ref(null),f=m.CommonBase.getRandom(8),r=e.reactive({uploadAgainId:`btnImgCropper_uploadAgain_${f}`,isInitImageLoading:!1}),d=e.reactive({img:"",outputSize:1,outputType:"png",info:!0,canScale:!0,autoCrop:!0,autoCropWidth:l.width,autoCropHeight:l.height,fixed:l.isFixedAspectRatio,fixedNumber:[1,1],full:!1,fixedBox:!1,canMove:!0,canMoveBox:!0,original:!1,centerBox:l.isCenterBox,high:!0,infoTrue:!0,maxImgSize:2e3,enlarge:l.enlarge,mode:"contain",limitMinSize:50,fillColor:l.fillColor}),c=e.reactive({src:"",style:{},pStyle:{}}),v=e.computed(()=>{const{alignLine:i}=l;return i&&!m.CommonBase.isEmpty(i)?i.split(","):[]}),h=e.computed(()=>{const{className:i}=l,t={"panel-imgCropper":!0};return i&&!m.CommonBase.isEmpty(i)&&i.split(" ").forEach(s=>{m.CommonBase.isEmpty(s)||(t[s]=!0)}),t}),a=e.computed(()=>{const{previewShape:i}=l,t={"imgCropper-preview":!0};return t[`imgCropper-preview-${i}`]=!0,t}),w=()=>{const{width:i,height:t}=l;let s=[];i>t?s=[1,t/i]:i<t?s=[i/t,1]:s=[1,1],d.fixedNumber=s},N=()=>{const{src:i}=l;let t="";if(i&&!m.CommonBase.isEmpty(i)){if(i.substring(0,5)!=="data:"){if(/^(http|https):\/\/[^\s]+$/.test(i)){const s=`_t=${new Date().getTime()}`,P=i.indexOf("?")===-1?"?":"&";t=i+P+s}}else t=i;r.isInitImageLoading=!0}d.img=t},B=()=>{w(),N()};e.onMounted(()=>{r.isInitImageLoading=!0,e.nextTick(()=>{B()})}),e.watch(()=>l.src,i=>{m.CommonBase.isEmpty(i)||N()});const y=i=>{c.src=i.url,c.style=i.img,c.pStyle=i.div},E=i=>{const t=i==="success";r.isInitImageLoading=!1,g("onImgLoad",t)},I=i=>{m.CommonBase.getBase64ByFile(i.currentTarget.files).then(t=>{d.img=t})},V=()=>{},k=()=>{o.value.changeScale(1)},x=()=>{o.value.changeScale(-1)},L=()=>{o.value.rotateLeft()},b=()=>{o.value.rotateRight()},F=()=>{o.value.refresh()},A=()=>{g("onImgSave")};return C({getImageBase64:()=>new Promise(i=>{o.value.getCropData(t=>{i(t)})})}),(i,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(h.value)},[e.createElementVNode("div",T,[e.createElementVNode("div",null,[e.createElementVNode("div",j,[e.createVNode(e.unref(M.VueCropper),e.mergeProps({ref_key:"refElCropper",ref:o},d,{onRealTime:y,onImgLoad:E}),null,16),e.createElementVNode("div",H,[v.value.indexOf("center")>-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[0]||(t[0]=e.createElementVNode("div",{class:"alignline-h alignline-center-h"},null,-1)),t[1]||(t[1]=e.createElementVNode("div",{class:"alignline-v alignline-center-v"},null,-1))],64)):e.createCommentVNode("",!0),v.value.indexOf("nineGrid")>-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[2]||(t[2]=e.createElementVNode("div",{class:"alignline-h alignline-nineGrid-h1"},null,-1)),t[3]||(t[3]=e.createElementVNode("div",{class:"alignline-h alignline-nineGrid-h2"},null,-1)),t[4]||(t[4]=e.createElementVNode("div",{class:"alignline-v alignline-nineGrid-v1"},null,-1)),t[5]||(t[5]=e.createElementVNode("div",{class:"alignline-v alignline-nineGrid-v2"},null,-1))],64)):e.createCommentVNode("",!0)]),r.isInitImageLoading?(e.openBlock(),e.createBlock($,{key:0,theme:"rotaryLine"})):e.createCommentVNode("",!0)]),e.createElementVNode("div",W,[e.createElementVNode("div",null,[n.isShowUpload?(e.openBlock(),e.createElementBlock("div",D,[e.createElementVNode("input",{type:"file",id:r.uploadAgainId,name:r.uploadAgainId,accept:"image/jpg,image/jpeg,image/pjpeg,image/png,image/x-png",onChange:I},null,40,J),e.createElementVNode("label",{ref_key:"refElFileLabel",ref:p,for:r.uploadAgainId},[e.createElementVNode("span",{title:"重新上传",onClick:e.withModifiers(V,["stop"])},[...t[6]||(t[6]=[e.createElementVNode("i",{class:"clIconFont clIcon-upload"},null,-1)])])],8,K)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Q,[e.createElementVNode("span",{title:"放大",onClick:e.withModifiers(k,["stop"])},[...t[7]||(t[7]=[e.createElementVNode("i",{class:"clIconFont clIcon-search-plus"},null,-1)])]),e.createElementVNode("span",{title:"缩小",onClick:e.withModifiers(x,["stop"])},[...t[8]||(t[8]=[e.createElementVNode("i",{class:"clIconFont clIcon-search-minus"},null,-1)])]),e.createElementVNode("span",{title:"左转90°",onClick:e.withModifiers(L,["stop"])},[...t[9]||(t[9]=[e.createElementVNode("i",{class:"clIconFont clIcon-rotate-left"},null,-1)])]),e.createElementVNode("span",{title:"右转90°",onClick:e.withModifiers(b,["stop"])},[...t[10]||(t[10]=[e.createElementVNode("i",{class:"clIconFont clIcon-rotate-right"},null,-1)])]),e.createElementVNode("span",{title:"重置",onClick:e.withModifiers(F,["stop"])},[...t[11]||(t[11]=[e.createElementVNode("i",{class:"clIconFont clIcon-restore"},null,-1)])]),n.isShowSave?(e.openBlock(),e.createElementBlock("span",{key:0,title:"保存",onClick:e.withModifiers(A,["stop"])},[...t[12]||(t[12]=[e.createElementVNode("i",{class:"clIconFont clIcon-save"},null,-1)])])):e.createCommentVNode("",!0)])])]),n.isPreview?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(a.value)},[e.createElementVNode("div",{style:e.normalizeStyle(c.pStyle)},[e.createElementVNode("img",{src:c.src,style:e.normalizeStyle(c.style),alt:""},null,12,X)],4),n.isPreviewAlignLine?(e.openBlock(),e.createElementBlock("div",Y,[v.value.indexOf("center")>-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t[13]||(t[13]=e.createElementVNode("div",{class:"alignline-h alignline-center-h"},null,-1)),t[14]||(t[14]=e.createElementVNode("div",{class:"alignline-v alignline-center-v"},null,-1))],64)):e.createCommentVNode("",!0),v.value.indexOf("nineGrid")>-1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[15]||(t[15]=e.createElementVNode("div",{class:"alignline-h alignline-nineGrid-h1"},null,-1)),t[16]||(t[16]=e.createElementVNode("div",{class:"alignline-h alignline-nineGrid-h2"},null,-1)),t[17]||(t[17]=e.createElementVNode("div",{class:"alignline-v alignline-nineGrid-v1"},null,-1)),t[18]||(t[18]=e.createElementVNode("div",{class:"alignline-v alignline-nineGrid-v2"},null,-1))],64)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)])],2))}}),Z=e.defineComponent({name:"ClCropper",__name:"Index",props:{className:String,src:{type:String,required:!0},width:{type:Number,required:!0},height:{type:Number,required:!0},isFixedAspectRatio:{type:Boolean,default:!0},isCenterBox:{type:Boolean,default:!0},isPreview:{type:Boolean,default:!0},previewShape:{type:String,default:"square"},enlarge:{type:Number,default:2},isModal:{type:Boolean,default:!0},isShowUpload:{type:Boolean,default:!0},isShowSave:{type:Boolean,default:!1},fillColor:{type:String,default:"transparent"},alignLine:{type:String,default:"center"},isPreviewAlignLine:{type:Boolean,default:!1}},emits:["onSubmit","onImgLoad"],setup(n,{expose:C,emit:u}){const l=n,g=u,o=e.ref(null),p=e.ref(null),f=()=>p.value.getImageBase64().then(a=>a),r=()=>f().then(a=>{g("onSubmit",a),o.value.hide()}),d=a=>{g("onImgLoad",a)},c=()=>f().then(a=>{g("onSubmit",a)});return C({getImageBase64:()=>f(),show:()=>{o.value&&l.isModal&&o.value.show()}}),(a,w)=>n.isModal?(e.openBlock(),e.createBlock(z._sfc_main,{key:0,ref_key:"refElModal",ref:o,width:"850px",titleName:"图片裁切",isShowSubmitLoad:!1,closeLabel:"取消",submitLabel:"确定",onOnSubmit:r},{default:e.withCtx(()=>[e.createVNode(S,{ref_key:"refElCropper",ref:p,className:n.className,src:n.src,width:n.width,height:n.height,isFixedAspectRatio:n.isFixedAspectRatio,isPreview:n.isPreview,previewShape:n.previewShape,enlarge:n.enlarge,isCenterBox:n.isCenterBox,isShowUpload:n.isShowUpload,isShowSave:!1,alignLine:n.alignLine,isPreviewAlignLine:n.isPreviewAlignLine,fillColor:n.fillColor,onOnImgLoad:d},null,8,["className","src","width","height","isFixedAspectRatio","isPreview","previewShape","enlarge","isCenterBox","isShowUpload","alignLine","isPreviewAlignLine","fillColor"])]),_:1},512)):(e.openBlock(),e.createBlock(S,{key:1,ref_key:"refElCropper",ref:p,className:n.className,src:n.src,width:n.width,height:n.height,isFixedAspectRatio:n.isFixedAspectRatio,isPreview:n.isPreview,previewShape:n.previewShape,enlarge:n.enlarge,isCenterBox:n.isCenterBox,isShowUpload:n.isShowUpload,isShowSave:n.isShowSave,alignLine:n.alignLine,isPreviewAlignLine:n.isPreviewAlignLine,fillColor:n.fillColor,onOnImgLoad:d,onOnImgSave:c},null,8,["className","src","width","height","isFixedAspectRatio","isPreview","previewShape","enlarge","isCenterBox","isShowUpload","isShowSave","alignLine","isPreviewAlignLine","fillColor"]))}});exports._sfc_main=Z;
|
|
2
|
+
//# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-SO7WBNgE.js","sources":["../../../src/libs/Element/Load/FullCenter.vue","../../../src/libs/Element/Cropper/Base.vue","../../../src/libs/Element/Cropper/Index.vue"],"sourcesContent":["<template>\n <div class=\"panel-load-fullCenter loading-wrapper\">\n <div class=\"load-fullCenter-bg\"></div>\n <div class=\"loading-content\">\n <ClLoad\n :theme=\"theme\"\n :size=\"size\"\n />\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport './Index.css'\nimport ClLoad from './Index.vue'\n\n// defineOptions\ndefineOptions({ name: 'ClLoadFullCenter' })\n\n// props\ndefineProps<{\n theme?: string\n size?: string\n}>()\n</script>\n\n<style scoped>\n.panel-load-fullCenter.loading-wrapper {\n background-color: transparent;\n border-radius: 0;\n}\n\n.load-fullCenter-bg {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: rgba(0, 0, 0, 0.5);\n}\n</style>\n","<template>\n <div :class=\"clsParent\">\n <div class=\"imgCropper-container\">\n <div>\n <div class=\"imgCropper-main\">\n <vue-cropper\n ref=\"refElCropper\"\n v-bind=\"optCropper\"\n @realTime=\"onRealTime\"\n @imgLoad=\"onImgLoad\"\n ></vue-cropper>\n <div class=\"frame-alignline\">\n <template v-if=\"optAlignLine.indexOf('center') > -1\">\n <div class=\"alignline-h alignline-center-h\"></div>\n <div class=\"alignline-v alignline-center-v\"></div>\n </template>\n <template v-if=\"optAlignLine.indexOf('nineGrid') > -1\">\n <div class=\"alignline-h alignline-nineGrid-h1\"></div>\n <div class=\"alignline-h alignline-nineGrid-h2\"></div>\n <div class=\"alignline-v alignline-nineGrid-v1\"></div>\n <div class=\"alignline-v alignline-nineGrid-v2\"></div>\n </template>\n </div>\n <ClLoadFullCenter\n v-if=\"optBase.isInitImageLoading\"\n theme=\"rotaryLine\"\n ></ClLoadFullCenter>\n </div>\n <div class=\"imgCropper-btns\">\n <div>\n <div\n v-if=\"isShowUpload\"\n class=\"imgCropper-upload\"\n >\n <input\n type=\"file\"\n :id=\"optBase.uploadAgainId\"\n :name=\"optBase.uploadAgainId\"\n accept=\"image/jpg,image/jpeg,image/pjpeg,image/png,image/x-png\"\n @change=\"onChangeFileAgain\"\n >\n <label\n ref=\"refElFileLabel\"\n :for=\"optBase.uploadAgainId\"\n >\n <span\n title=\"重新上传\"\n @click.stop=\"onClickFileLabel\"\n ><i class=\"clIconFont clIcon-upload\"></i></span>\n </label>\n </div>\n </div>\n\n <div class=\"imgCropper-btns-opt\">\n <span\n title=\"放大\"\n @click.stop=\"onLarge\"\n ><i class=\"clIconFont clIcon-search-plus\"></i></span>\n <span\n title=\"缩小\"\n @click.stop=\"onSmall\"\n ><i class=\"clIconFont clIcon-search-minus\"></i></span>\n <span\n title=\"左转90°\"\n @click.stop=\"onRotateLeft\"\n ><i class=\"clIconFont clIcon-rotate-left\"></i></span>\n <span\n title=\"右转90°\"\n @click.stop=\"onRotateRight\"\n ><i class=\"clIconFont clIcon-rotate-right\"></i></span>\n <span\n title=\"重置\"\n @click.stop=\"onReduction\"\n ><i class=\"clIconFont clIcon-restore\"></i></span>\n <span\n v-if=\"isShowSave\"\n title=\"保存\"\n @click.stop=\"onSave\"\n ><i class=\"clIconFont clIcon-save\"></i></span>\n </div>\n </div>\n </div>\n <div\n v-if=\"isPreview\"\n :class=\"clsPreview\"\n >\n <div :style=\"optPreview.pStyle\">\n <img\n :src=\"optPreview.src\"\n :style=\"optPreview.style\"\n alt=\"\"\n >\n </div>\n <div\n v-if=\"isPreviewAlignLine\"\n class=\"frame-alignline\"\n >\n <template v-if=\"optAlignLine.indexOf('center') > -1\">\n <div class=\"alignline-h alignline-center-h\"></div>\n <div class=\"alignline-v alignline-center-v\"></div>\n </template>\n <template v-if=\"optAlignLine.indexOf('nineGrid') > -1\">\n <div class=\"alignline-h alignline-nineGrid-h1\"></div>\n <div class=\"alignline-h alignline-nineGrid-h2\"></div>\n <div class=\"alignline-v alignline-nineGrid-v1\"></div>\n <div class=\"alignline-v alignline-nineGrid-v2\"></div>\n </template>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { watch, onMounted, nextTick, computed, ref, reactive } from 'vue'\nimport 'vue-cropper/dist/index.css'\nimport { VueCropper } from 'vue-cropper'\nimport ClLoadFullCenter from '../Load/FullCenter.vue'\nimport CommonBase from '../../Common/base'\nimport './index.css'\n\ndefineOptions({ name: 'ClCropperBase' })\n\nconst props = defineProps({\n className: String,\n src: {\n type: String,\n required: true\n },\n width: {\n type: Number,\n required: true\n },\n height: {\n type: Number,\n required: true\n },\n isFixedAspectRatio: {\n type: Boolean,\n default: true\n },\n isPreview: {\n type: Boolean,\n default: true\n },\n previewShape: {\n type: String,\n default: 'square' // square | round\n },\n enlarge: {\n type: Number,\n default: 2\n },\n isShowUpload: {\n type: Boolean,\n default: true\n },\n isShowSave: {\n type: Boolean,\n default: false\n },\n isCenterBox: {\n type: Boolean,\n default: true\n },\n fillColor: {\n type: String,\n default: 'transparent' // #FFFFFF\n },\n alignLine: {\n type: String,\n default: 'center' // center | nineGrid\n },\n isPreviewAlignLine: {\n type: Boolean,\n default: false\n }\n})\n\nconst emit = defineEmits<{\n (e: 'onImgLoad', isSuccess: boolean): void\n (e: 'onImgSave'): void\n}>()\n\nconst refElCropper: any = ref(null)\nconst refElFileLabel: any = ref(null)\n\nconst ran = CommonBase.getRandom(8)\nconst optBase = reactive({\n uploadAgainId: `btnImgCropper_uploadAgain_${ran}`,\n isInitImageLoading: false\n})\n\nconst optCropper: any = reactive({\n img: '',\n outputSize: 1,\n outputType: 'png',\n info: true,\n canScale: true,\n autoCrop: true,\n autoCropWidth: props.width,\n autoCropHeight: props.height,\n fixed: props.isFixedAspectRatio,\n fixedNumber: [1, 1],\n full: false,\n fixedBox: false,\n canMove: true,\n canMoveBox: true,\n original: false,\n centerBox: props.isCenterBox,\n high: true,\n infoTrue: true,\n maxImgSize: 2000,\n enlarge: props.enlarge,\n mode: 'contain',\n limitMinSize: 50,\n fillColor: props.fillColor\n})\n\nconst optPreview = reactive({\n src: '',\n style: {} as any,\n pStyle: {} as any\n})\n\nconst optAlignLine = computed(() => {\n const { alignLine } = props\n const arr: string[] = alignLine && !CommonBase.isEmpty(alignLine) ? alignLine.split(',') : []\n return arr\n})\n\nconst clsParent = computed(() => {\n const { className } = props\n const cls: any = {\n 'panel-imgCropper': true\n }\n if (className && !CommonBase.isEmpty(className)) {\n className.split(' ').forEach((c: string) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n return cls\n})\n\nconst clsPreview = computed(() => {\n const { previewShape } = props\n const cls: any = {\n 'imgCropper-preview': true\n }\n cls[`imgCropper-preview-${previewShape}`] = true\n return cls\n})\n\nconst _setFixedNumber = () => {\n const { width, height } = props\n let fixedNumber: number[] = []\n if (width > height) {\n fixedNumber = [1, height / width]\n } else if (width < height) {\n fixedNumber = [width / height, 1]\n } else {\n fixedNumber = [1, 1]\n }\n optCropper.fixedNumber = fixedNumber\n}\n\nconst _setCropperImgSrc = () => {\n const { src } = props\n let newSrc = ''\n if (src && !CommonBase.isEmpty(src)) {\n if (src.substring(0, 5) !== 'data:') {\n if (/^(http|https):\\/\\/[^\\s]+$/.test(src)) {\n const t = `_t=${new Date().getTime()}`\n const joinStr = src.indexOf('?') === -1 ? '?' : '&'\n newSrc = src + joinStr + t\n }\n } else {\n newSrc = src\n }\n optBase.isInitImageLoading = true\n }\n optCropper.img = newSrc\n}\n\nconst _initMain = () => {\n _setFixedNumber()\n _setCropperImgSrc()\n}\n\nonMounted(() => {\n optBase.isInitImageLoading = true\n nextTick(() => {\n _initMain()\n })\n})\n\nwatch(\n () => props.src,\n (newValue: string) => {\n if (!CommonBase.isEmpty(newValue)) {\n _setCropperImgSrc()\n }\n }\n)\n\nconst onRealTime = (imgData: any) => {\n optPreview.src = imgData.url\n optPreview.style = imgData.img\n optPreview.pStyle = imgData.div\n}\n\nconst onImgLoad = (result: any) => {\n const isSuccess = result === 'success'\n optBase.isInitImageLoading = false\n emit('onImgLoad', isSuccess)\n}\n\nconst onChangeFileAgain = (el: any) => {\n CommonBase.getBase64ByFile(el.currentTarget.files).then((result: any) => {\n optCropper.img = result\n })\n}\n\nconst onClickFileLabel = () => {\n // refElFileLabel.value.click()\n}\n\nconst onLarge = () => {\n refElCropper.value.changeScale(1)\n}\n\nconst onSmall = () => {\n refElCropper.value.changeScale(-1)\n}\n\nconst onRotateLeft = () => {\n refElCropper.value.rotateLeft()\n}\n\nconst onRotateRight = () => {\n refElCropper.value.rotateRight()\n}\n\nconst onReduction = () => {\n refElCropper.value.refresh()\n}\n\nconst onSave = () => {\n emit('onImgSave')\n}\n\nconst getImageBase64 = (): Promise<any> => {\n return new Promise((resolve) => {\n refElCropper.value.getCropData((cropperData: any) => {\n resolve(cropperData)\n })\n })\n}\n\ndefineExpose({\n getImageBase64\n})\n</script>\n","<template>\n <ClModal\n v-if=\"isModal\"\n ref=\"refElModal\"\n width=\"850px\"\n titleName=\"图片裁切\"\n :isShowSubmitLoad=\"false\"\n closeLabel=\"取消\"\n submitLabel=\"确定\"\n @onSubmit=\"onSubmit\"\n >\n <ClCropperBase\n ref=\"refElCropper\"\n :className=\"className\"\n :src=\"src\"\n :width=\"width\"\n :height=\"height\"\n :isFixedAspectRatio=\"isFixedAspectRatio\"\n :isPreview=\"isPreview\"\n :previewShape=\"previewShape\"\n :enlarge=\"enlarge\"\n :isCenterBox=\"isCenterBox\"\n :isShowUpload=\"isShowUpload\"\n :isShowSave=\"false\"\n :alignLine=\"alignLine\"\n :isPreviewAlignLine=\"isPreviewAlignLine\"\n :fillColor=\"fillColor\"\n @onImgLoad=\"onImgLoad\"\n ></ClCropperBase>\n </ClModal>\n <ClCropperBase\n v-else\n ref=\"refElCropper\"\n :className=\"className\"\n :src=\"src\"\n :width=\"width\"\n :height=\"height\"\n :isFixedAspectRatio=\"isFixedAspectRatio\"\n :isPreview=\"isPreview\"\n :previewShape=\"previewShape\"\n :enlarge=\"enlarge\"\n :isCenterBox=\"isCenterBox\"\n :isShowUpload=\"isShowUpload\"\n :isShowSave=\"isShowSave\"\n :alignLine=\"alignLine\"\n :isPreviewAlignLine=\"isPreviewAlignLine\"\n :fillColor=\"fillColor\"\n @onImgLoad=\"onImgLoad\"\n @onImgSave=\"onImgSave\"\n ></ClCropperBase>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue'\nimport ClCropperBase from './Base.vue'\nimport ClModal from '../Modal/Index.vue'\n\ndefineOptions({ name: 'ClCropper' })\n\nconst props = defineProps({\n className: String,\n src: {\n type: String,\n required: true\n },\n width: {\n type: Number,\n required: true\n },\n height: {\n type: Number,\n required: true\n },\n isFixedAspectRatio: {\n type: Boolean,\n default: true\n },\n isCenterBox: {\n type: Boolean,\n default: true\n },\n isPreview: {\n type: Boolean,\n default: true\n },\n previewShape: {\n type: String,\n default: 'square' // square | round\n },\n enlarge: {\n type: Number,\n default: 2\n },\n isModal: {\n type: Boolean,\n default: true\n },\n isShowUpload: {\n type: Boolean,\n default: true\n },\n isShowSave: {\n type: Boolean,\n default: false\n },\n fillColor: {\n type: String,\n default: 'transparent' // #FFFFFF\n },\n alignLine: {\n type: String,\n default: 'center' // center | nineGrid\n },\n isPreviewAlignLine: {\n type: Boolean,\n default: false\n }\n})\n\nconst emit = defineEmits<{\n (e: 'onSubmit', data: any): void\n (e: 'onImgLoad', isSuccess: boolean): void\n}>()\n\nconst refElModal: any = ref(null)\nconst refElCropper: any = ref(null)\n\nconst _getOutImageBase64 = () => {\n return refElCropper.value.getImageBase64().then((data: any) => data)\n}\n\nconst onSubmit = () => {\n return _getOutImageBase64().then((data: any) => {\n emit('onSubmit', data)\n refElModal.value.hide()\n })\n}\n\nconst onImgLoad = (isSuccess: boolean) => {\n emit('onImgLoad', isSuccess)\n}\n\nconst onImgSave = () => {\n return _getOutImageBase64().then((data: any) => {\n emit('onSubmit', data)\n })\n}\n\nconst getImageBase64 = () => {\n return _getOutImageBase64()\n}\n\nconst show = () => {\n if (refElModal.value && props.isModal) {\n refElModal.value.show()\n }\n}\n\ndefineExpose({\n getImageBase64,\n show\n})\n</script>\n"],"names":["_openBlock","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_createVNode","ClLoad","__props","props","emit","__emit","refElCropper","ref","refElFileLabel","ran","CommonBase","optBase","reactive","optCropper","optPreview","optAlignLine","computed","alignLine","clsParent","className","cls","c","clsPreview","previewShape","_setFixedNumber","width","height","fixedNumber","_setCropperImgSrc","src","newSrc","t","joinStr","_initMain","onMounted","nextTick","watch","newValue","onRealTime","imgData","onImgLoad","result","isSuccess","onChangeFileAgain","el","onClickFileLabel","onLarge","onSmall","onRotateLeft","onRotateRight","onReduction","onSave","__expose","resolve","cropperData","_unref","_mergeProps","_hoisted_3","_Fragment","_createBlock","ClLoadFullCenter","_hoisted_4","_hoisted_5","_hoisted_8","_normalizeStyle","_hoisted_10","refElModal","_getOutImageBase64","data","onSubmit","onImgSave","ClModal","ClCropperBase"],"mappings":"2dACEA,YAAA,EAAAC,qBAQM,MARNC,EAQM,aAPJC,EAAAA,mBAAsC,MAAA,CAAjC,MAAM,oBAAA,EAAoB,KAAA,EAAA,GAC/BA,EAAAA,mBAKM,MALNC,EAKM,CAJJC,EAAAA,YAGEC,EAAAA,UAAA,CAFC,MAAOC,EAAA,MACP,KAAMA,EAAA,IAAA,q9BCqHf,MAAMC,EAAQD,EAwDRE,EAAOC,EAKPC,EAAoBC,EAAAA,IAAI,IAAI,EAC5BC,EAAsBD,EAAAA,IAAI,IAAI,EAE9BE,EAAMC,EAAAA,WAAW,UAAU,CAAC,EAC5BC,EAAUC,EAAAA,SAAS,CACvB,cAAe,6BAA6BH,CAAG,GAC/C,mBAAoB,EAAA,CACrB,E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A,YACb,aAAcA,EAAA,aACd,WAAY,GACZ,UAAWA,EAAA,UACX,mBAAoBA,EAAA,mBACpB,UAAWA,EAAA,UACX,YAAWsC,CAAA,+MAGhBmB,EAAAA,YAmBiBa,EAAA,eAjBX,eAAJ,IAAIlE,EACH,UAAWJ,EAAA,UACX,IAAKA,EAAA,IACL,MAAOA,EAAA,MACP,OAAQA,EAAA,OACR,mBAAoBA,EAAA,mBACpB,UAAWA,EAAA,UACX,aAAcA,EAAA,aACd,QAASA,EAAA,QACT,YAAaA,EAAA,YACb,aAAcA,EAAA,aACd,WAAYA,EAAA,WACZ,UAAWA,EAAA,UACX,mBAAoBA,EAAA,mBACpB,UAAWA,EAAA,UACX,YAAWsC,EACX,YAAW8B,CAAA"}
|
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
import { defineComponent as le, inject as ce, ref as w, computed as K, watch as P, onMounted as re, openBlock as D, createElementBlock as I, createVNode as R, createCommentVNode as J, unref as H, createBlock as ne, normalizeStyle as ue, withCtx as Y, createElementVNode as C, normalizeClass as de, toDisplayString as Z, nextTick as M, reactive as ge, provide as me } from "vue";
|
|
2
|
+
import { C as s } from "./base-PQGakkrl.js";
|
|
3
|
+
import { _ as ve } from "./Index.vue_vue_type_script_setup_true_lang-CejRfZxl.js";
|
|
4
|
+
import { _ as ye } from "./List.vue_vue_type_script_setup_true_lang-DzmylhZ6.js";
|
|
5
|
+
import { RecycleScroller as we } from "vue-virtual-scroller";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import { C as X } from "./index-BnerInzC.js";
|
|
8
|
+
import { _ as De } from "./Index.vue_vue_type_script_setup_true_lang-B_jfFc6B.js";
|
|
9
|
+
import { _ as ie } from "./One.vue_vue_type_script_setup_true_lang-BuNRS-9u.js";
|
|
10
|
+
import { u as fe } from "./language-DxTlvFs2.js";
|
|
11
|
+
import { _ as xe } from "./Index.vue_vue_type_script_setup_true_lang-C4rRquU-.js";
|
|
12
|
+
const Se = { class: "select-inDropdown-container" }, Ce = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "select-inDropdown-search"
|
|
15
|
+
}, Te = {
|
|
16
|
+
key: 1,
|
|
17
|
+
class: "select-inDropdown-checkboxAll"
|
|
18
|
+
}, Ie = ["onClick"], ke = { class: "select-inDropdown-item-inner" }, be = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "select-inDropdown-checkbox"
|
|
21
|
+
}, _e = ["innerHTML"], Ee = {
|
|
22
|
+
key: 3,
|
|
23
|
+
class: "select-inDropdown-body"
|
|
24
|
+
}, Oe = { class: "select-inDropdown-empty" }, Le = /* @__PURE__ */ le({
|
|
25
|
+
name: "ClSelectInDropdown",
|
|
26
|
+
__name: "Dropdown",
|
|
27
|
+
props: {
|
|
28
|
+
isSearch: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !1
|
|
31
|
+
},
|
|
32
|
+
searchPlaceholder: String,
|
|
33
|
+
searchKey: {
|
|
34
|
+
type: Array,
|
|
35
|
+
default: () => ["name"]
|
|
36
|
+
},
|
|
37
|
+
searchKeyType: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: "||"
|
|
40
|
+
},
|
|
41
|
+
isMultiple: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: !1
|
|
44
|
+
},
|
|
45
|
+
isCheckBoxAll: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: !1
|
|
48
|
+
},
|
|
49
|
+
showDropDownTextFormat: String,
|
|
50
|
+
originalData: {
|
|
51
|
+
type: Array,
|
|
52
|
+
default: () => []
|
|
53
|
+
},
|
|
54
|
+
keyIndex: String,
|
|
55
|
+
isOpen: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: !1
|
|
58
|
+
},
|
|
59
|
+
selectId: {
|
|
60
|
+
type: Array,
|
|
61
|
+
default: () => []
|
|
62
|
+
},
|
|
63
|
+
serverCallback: Function
|
|
64
|
+
},
|
|
65
|
+
emits: ["onChange", "onInitComplete"],
|
|
66
|
+
setup(a, { expose: j, emit: k }) {
|
|
67
|
+
const t = a, g = k, { optPageLanguage: y, getPageLanguage: b } = fe();
|
|
68
|
+
b("common");
|
|
69
|
+
const x = ce("$SelectTop"), S = w(null), c = w(null);
|
|
70
|
+
let p = !0;
|
|
71
|
+
const d = { isScrollLoadIng: !1 }, m = `select-inList-${t.keyIndex}`, r = w(""), u = w([]), _ = w([]);
|
|
72
|
+
let U = {};
|
|
73
|
+
const ee = K(() => {
|
|
74
|
+
let o = !1;
|
|
75
|
+
return _.value.length > 0 && t.selectId.length >= _.value.length && (o = s.isContainArr(t.selectId, _.value)), o;
|
|
76
|
+
}), te = (o) => s.isEmpty(t.showDropDownTextFormat) ? o.name : s.convertStringFormat(t.showDropDownTextFormat, o), E = (o) => {
|
|
77
|
+
const n = U[o] || {};
|
|
78
|
+
return s.isBoolean(n._isTypeRadio) ? n._isTypeRadio : !1;
|
|
79
|
+
}, A = () => {
|
|
80
|
+
const o = [];
|
|
81
|
+
U = s.getJsonByList(u.value), u.value.forEach((n) => {
|
|
82
|
+
if (s.isObject(n)) {
|
|
83
|
+
const l = n.id.toString();
|
|
84
|
+
E(l) || (n.isDisabled ? s.isExistValue(t.selectId, l) && o.push(l) : o.push(l));
|
|
85
|
+
} else
|
|
86
|
+
o.push(n);
|
|
87
|
+
}), _.value = o;
|
|
88
|
+
}, W = () => {
|
|
89
|
+
p && (p = !1, u.value = s.getListClone(t.originalData), A(), oe(), M(() => {
|
|
90
|
+
S.value && S.value.setValue("");
|
|
91
|
+
}));
|
|
92
|
+
}, oe = () => {
|
|
93
|
+
M(() => {
|
|
94
|
+
if (c.value && t.selectId.length > 0) {
|
|
95
|
+
const o = u.value.findIndex(
|
|
96
|
+
(n) => s.isExistValue(t.selectId, n.id.toString())
|
|
97
|
+
);
|
|
98
|
+
o > -1 && c.value.scrollToItem(o);
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
}, N = (o) => {
|
|
102
|
+
const n = [];
|
|
103
|
+
return t.isMultiple ? E(o) ? s.isExistValue(t.selectId, o) || n.push(o) : (t.selectId.forEach((l) => {
|
|
104
|
+
l !== o && !E(l) && n.push(l);
|
|
105
|
+
}), s.isExistValue(t.selectId, o) || n.push(o)) : n.push(o), n;
|
|
106
|
+
}, O = (o) => {
|
|
107
|
+
const n = u.value;
|
|
108
|
+
let l = -1;
|
|
109
|
+
if (n.length > 0) {
|
|
110
|
+
const h = r.value;
|
|
111
|
+
h.length > 0 ? (n.forEach((T, f) => {
|
|
112
|
+
T.id.toString() === h && (l = f);
|
|
113
|
+
}), l += o, l < 0 ? l = 0 : l >= n.length && (l = n.length - 1)) : l = 0;
|
|
114
|
+
}
|
|
115
|
+
r.value = n[l].id.toString(), c.value && c.value.scrollToItem(l);
|
|
116
|
+
}, L = (o) => {
|
|
117
|
+
let n = o.keyCode;
|
|
118
|
+
if (!s.isUndefined(n))
|
|
119
|
+
switch (n = n.toString(), n) {
|
|
120
|
+
case "13":
|
|
121
|
+
o.preventDefault(), o.stopPropagation();
|
|
122
|
+
break;
|
|
123
|
+
case "38":
|
|
124
|
+
o.preventDefault(), o.stopPropagation(), O(-1);
|
|
125
|
+
break;
|
|
126
|
+
case "40":
|
|
127
|
+
o.preventDefault(), o.stopPropagation(), O(1);
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
}, B = (o) => {
|
|
131
|
+
let n = o.keyCode;
|
|
132
|
+
if (!s.isUndefined(n))
|
|
133
|
+
switch (n = n.toString(), n) {
|
|
134
|
+
case "27":
|
|
135
|
+
break;
|
|
136
|
+
case "13":
|
|
137
|
+
const l = r.value, h = N(l);
|
|
138
|
+
g("onChange", h);
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
}, $ = async () => {
|
|
142
|
+
if (!d.isScrollLoadIng) {
|
|
143
|
+
if (d.isScrollLoadIng = !0, t.serverCallback) {
|
|
144
|
+
const o = { offset: u.value.length };
|
|
145
|
+
if (t.isSearch && S.value) {
|
|
146
|
+
const l = S.value.getValue();
|
|
147
|
+
s.isEmpty(l) || (o.search = l);
|
|
148
|
+
}
|
|
149
|
+
const n = await t.serverCallback(o);
|
|
150
|
+
u.value.push(...n), A(), x.convertListToJson(n);
|
|
151
|
+
}
|
|
152
|
+
d.isScrollLoadIng = !1;
|
|
153
|
+
}
|
|
154
|
+
}, V = () => {
|
|
155
|
+
W(), g("onInitComplete");
|
|
156
|
+
};
|
|
157
|
+
P(
|
|
158
|
+
() => t.isOpen,
|
|
159
|
+
(o) => {
|
|
160
|
+
o && W();
|
|
161
|
+
}
|
|
162
|
+
), P(
|
|
163
|
+
() => t.originalData,
|
|
164
|
+
(o) => {
|
|
165
|
+
p = !0, u.value = s.getListClone(o), A();
|
|
166
|
+
}
|
|
167
|
+
), re(() => {
|
|
168
|
+
V();
|
|
169
|
+
});
|
|
170
|
+
const q = async (o) => {
|
|
171
|
+
let n = [];
|
|
172
|
+
if (t.serverCallback)
|
|
173
|
+
n = await t.serverCallback({ search: o, offset: 0 }), x.convertListToJson(n);
|
|
174
|
+
else if (s.isEmpty(o))
|
|
175
|
+
n = t.originalData;
|
|
176
|
+
else {
|
|
177
|
+
const l = o.toLowerCase(), h = t.searchKey.length, T = t.searchKey;
|
|
178
|
+
t.originalData.forEach((f) => {
|
|
179
|
+
const F = [];
|
|
180
|
+
for (let Q = 0; Q < h; Q++)
|
|
181
|
+
f[T[Q]].toLowerCase().indexOf(l) > -1 && F.push(!0);
|
|
182
|
+
if (F.length > 0)
|
|
183
|
+
switch (t.searchKeyType) {
|
|
184
|
+
case "||":
|
|
185
|
+
n.push(f);
|
|
186
|
+
break;
|
|
187
|
+
case "&&":
|
|
188
|
+
F.length === h && n.push(f);
|
|
189
|
+
break;
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
u.value = n, A(), r.value = "", x.calculationDropdownPosition();
|
|
194
|
+
}, z = (o) => {
|
|
195
|
+
if (t.isMultiple) {
|
|
196
|
+
const n = [], l = [];
|
|
197
|
+
_.value.forEach((f) => {
|
|
198
|
+
o.value ? s.isExistValue(t.selectId, f) || n.push(f) : s.isExistValue(t.selectId, f) && l.push(f);
|
|
199
|
+
});
|
|
200
|
+
const h = s.getArrClone(t.selectId);
|
|
201
|
+
l.length > 0 && l.forEach((f) => {
|
|
202
|
+
h.splice(h.indexOf(f), 1);
|
|
203
|
+
}), n.length > 0 && h.push(...n);
|
|
204
|
+
const T = [];
|
|
205
|
+
h.forEach((f) => {
|
|
206
|
+
E(f) || T.push(f);
|
|
207
|
+
}), g("onChange", T);
|
|
208
|
+
}
|
|
209
|
+
}, G = (o) => {
|
|
210
|
+
if (!o.isDisabled) {
|
|
211
|
+
const n = o.id.toString(), l = N(n);
|
|
212
|
+
g("onChange", l);
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
return j({
|
|
216
|
+
initOpenShow: (o) => {
|
|
217
|
+
o ? (X.onListener(window, "keydown", L), X.onListener(window, "keyup", B)) : (X.offListener(window, "keydown", L), X.offListener(window, "keyup", B));
|
|
218
|
+
}
|
|
219
|
+
}), (o, n) => (D(), I("div", Se, [
|
|
220
|
+
a.isSearch ? (D(), I("div", Ce, [
|
|
221
|
+
R(De, {
|
|
222
|
+
ref_key: "refElSearch",
|
|
223
|
+
ref: S,
|
|
224
|
+
onOnChange: q
|
|
225
|
+
}, null, 512)
|
|
226
|
+
])) : J("", !0),
|
|
227
|
+
a.isMultiple && a.isCheckBoxAll && u.value.length > 0 ? (D(), I("div", Te, [
|
|
228
|
+
R(ie, {
|
|
229
|
+
forId: `${m}-cb-all`,
|
|
230
|
+
label: H(y).checkboxAll,
|
|
231
|
+
value: ee.value,
|
|
232
|
+
onOnChange: z
|
|
233
|
+
}, null, 8, ["forId", "label", "value"])
|
|
234
|
+
])) : J("", !0),
|
|
235
|
+
u.value.length > 0 ? (D(), ne(H(we), {
|
|
236
|
+
key: 2,
|
|
237
|
+
class: "select-inDropdown-body select-inDropdown-scroller",
|
|
238
|
+
style: ue({ height: Math.min(u.value.length * 35, 210) + "px" }),
|
|
239
|
+
items: u.value,
|
|
240
|
+
"item-size": 35,
|
|
241
|
+
"key-field": "id",
|
|
242
|
+
ref_key: "refElScroller",
|
|
243
|
+
ref: c,
|
|
244
|
+
onScrollEnd: $
|
|
245
|
+
}, {
|
|
246
|
+
default: Y(({ item: l }) => [
|
|
247
|
+
C("div", {
|
|
248
|
+
class: de({
|
|
249
|
+
"option-selected": a.selectId.indexOf(l.id.toString()) > -1,
|
|
250
|
+
"option-disabled": l.isDisabled,
|
|
251
|
+
"option-hoverKeydown": r.value === l.id.toString()
|
|
252
|
+
}),
|
|
253
|
+
style: { height: "35px" },
|
|
254
|
+
onClick: (h) => G(l)
|
|
255
|
+
}, [
|
|
256
|
+
C("div", ke, [
|
|
257
|
+
a.isMultiple ? (D(), I("div", be, [
|
|
258
|
+
R(ie, {
|
|
259
|
+
name: `${m}-cb`,
|
|
260
|
+
forId: `${m}-cb-${l.id}`,
|
|
261
|
+
value: a.selectId.indexOf(l.id.toString()) > -1,
|
|
262
|
+
isDisabled: l.isDisabled
|
|
263
|
+
}, null, 8, ["name", "forId", "value", "isDisabled"])
|
|
264
|
+
])) : J("", !0),
|
|
265
|
+
C("div", {
|
|
266
|
+
class: "select-inDropdown-title",
|
|
267
|
+
innerHTML: te(l)
|
|
268
|
+
}, null, 8, _e)
|
|
269
|
+
])
|
|
270
|
+
], 10, Ie)
|
|
271
|
+
]),
|
|
272
|
+
_: 1
|
|
273
|
+
}, 8, ["style", "items"])) : (D(), I("div", Ee, [
|
|
274
|
+
C("div", Oe, Z(H(y).noResultsText), 1)
|
|
275
|
+
]))
|
|
276
|
+
]));
|
|
277
|
+
}
|
|
278
|
+
}), Ae = { class: "select-inTag-container" }, Be = { class: "select-inTag-title" }, $e = { class: "select-inTag-operate" }, Ve = ["title"], Fe = { class: "select-inTag-body" }, Ke = /* @__PURE__ */ le({
|
|
279
|
+
name: "ClSelectInTags",
|
|
280
|
+
__name: "Tags",
|
|
281
|
+
props: {
|
|
282
|
+
showTextFormat: String,
|
|
283
|
+
selectId: {
|
|
284
|
+
type: Array,
|
|
285
|
+
default: () => []
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
emits: ["onRemove"],
|
|
289
|
+
setup(a, { emit: j }) {
|
|
290
|
+
const k = a, t = j, { optPageLanguage: g, getPageLanguage: y } = fe();
|
|
291
|
+
y("common");
|
|
292
|
+
const b = ce("$SelectTop"), x = K(() => b.getSelectData(k.selectId)), S = () => {
|
|
293
|
+
const p = [];
|
|
294
|
+
x.value.forEach((d) => {
|
|
295
|
+
d.isDisabled && p.push(d.id.toString());
|
|
296
|
+
}), t("onRemove", p);
|
|
297
|
+
}, c = (p) => {
|
|
298
|
+
const d = s.getArrClone(k.selectId);
|
|
299
|
+
d.splice(k.selectId.indexOf(p), 1), t("onRemove", d);
|
|
300
|
+
};
|
|
301
|
+
return (p, d) => (D(), I("div", Ae, [
|
|
302
|
+
C("div", Be, [
|
|
303
|
+
C("span", null, Z(H(g).selected) + " " + Z(a.selectId.length) + " " + Z(H(g).count), 1),
|
|
304
|
+
C("span", $e, [
|
|
305
|
+
C("i", {
|
|
306
|
+
class: "clIconFont clIcon-remove select-inTag-deleteAll",
|
|
307
|
+
title: H(g).deleteAll,
|
|
308
|
+
onClick: S
|
|
309
|
+
}, null, 8, Ve)
|
|
310
|
+
])
|
|
311
|
+
]),
|
|
312
|
+
C("div", Fe, [
|
|
313
|
+
R(xe, {
|
|
314
|
+
showTextFormat: a.showTextFormat,
|
|
315
|
+
list: x.value,
|
|
316
|
+
onOnRemove: c
|
|
317
|
+
}, null, 8, ["showTextFormat", "list"])
|
|
318
|
+
])
|
|
319
|
+
]));
|
|
320
|
+
}
|
|
321
|
+
}), Pe = {
|
|
322
|
+
key: 0,
|
|
323
|
+
class: "select-inText-num"
|
|
324
|
+
}, Ye = /* @__PURE__ */ le({
|
|
325
|
+
name: "ClSelect",
|
|
326
|
+
__name: "Index",
|
|
327
|
+
props: {
|
|
328
|
+
value: [String, Number],
|
|
329
|
+
list: {
|
|
330
|
+
type: Array,
|
|
331
|
+
default: () => []
|
|
332
|
+
},
|
|
333
|
+
className: String,
|
|
334
|
+
placeholder: String,
|
|
335
|
+
classDropDown: String,
|
|
336
|
+
theme: {
|
|
337
|
+
type: String,
|
|
338
|
+
default: "default"
|
|
339
|
+
// default | noBorder
|
|
340
|
+
},
|
|
341
|
+
disabled: {
|
|
342
|
+
type: Boolean,
|
|
343
|
+
default: !1
|
|
344
|
+
},
|
|
345
|
+
multiple: {
|
|
346
|
+
type: Boolean,
|
|
347
|
+
default: !1
|
|
348
|
+
},
|
|
349
|
+
isClear: {
|
|
350
|
+
type: Boolean,
|
|
351
|
+
default: !1
|
|
352
|
+
},
|
|
353
|
+
isSearch: {
|
|
354
|
+
type: Boolean,
|
|
355
|
+
default: !1
|
|
356
|
+
},
|
|
357
|
+
isCheckBoxAll: {
|
|
358
|
+
type: Boolean,
|
|
359
|
+
default: !0
|
|
360
|
+
},
|
|
361
|
+
isShowTag: {
|
|
362
|
+
type: Boolean,
|
|
363
|
+
default: !0
|
|
364
|
+
},
|
|
365
|
+
arrowDirection: {
|
|
366
|
+
type: String,
|
|
367
|
+
default: "right"
|
|
368
|
+
// left|right
|
|
369
|
+
},
|
|
370
|
+
searchPlaceholder: String,
|
|
371
|
+
searchKey: {
|
|
372
|
+
type: Array,
|
|
373
|
+
default: () => ["name"]
|
|
374
|
+
},
|
|
375
|
+
searchKeyType: {
|
|
376
|
+
type: String,
|
|
377
|
+
default: "||"
|
|
378
|
+
},
|
|
379
|
+
showTextFormat: String,
|
|
380
|
+
showDropDownTextFormat: String,
|
|
381
|
+
multipleRealTimeChange: {
|
|
382
|
+
type: Boolean,
|
|
383
|
+
default: !1
|
|
384
|
+
},
|
|
385
|
+
onOpenBefore: Function,
|
|
386
|
+
serverCallback: Function
|
|
387
|
+
},
|
|
388
|
+
emits: ["update:value", "onChange", "onInit", "onOpen"],
|
|
389
|
+
setup(a, { expose: j, emit: k }) {
|
|
390
|
+
const t = a, g = k, y = w(null), b = w(null), x = w(null), S = `ddl-${s.getRandom(8)}`, c = ge({
|
|
391
|
+
isOpen: !1,
|
|
392
|
+
isInitFirstOpen: !1,
|
|
393
|
+
dropDownPos: "down",
|
|
394
|
+
dropDownTop: "",
|
|
395
|
+
tagHeight: "",
|
|
396
|
+
tagLeft: "",
|
|
397
|
+
tagDirection: "right"
|
|
398
|
+
});
|
|
399
|
+
let p = [], d = {};
|
|
400
|
+
const m = w(!1), r = w([]), u = w([]), _ = K(() => {
|
|
401
|
+
let e = t.arrowDirection;
|
|
402
|
+
return t.theme === "noBorder" && (e = e.length === 0 ? "left" : e), e;
|
|
403
|
+
}), U = K(() => {
|
|
404
|
+
const e = ["panel-select", "box-width"];
|
|
405
|
+
t.theme === "noBorder" && e.push("select-theme-noBorder");
|
|
406
|
+
let i = e.join(" ");
|
|
407
|
+
return s.isEmpty(t.className) || (i += " " + t.className), i;
|
|
408
|
+
}), ee = K(() => {
|
|
409
|
+
const e = ["select-inDropdown"];
|
|
410
|
+
return c.isOpen && t.multiple && t.isShowTag && (e.push("select-inTag-ext"), e.push(`select-inTag-${c.tagDirection}`)), t.classDropDown && !s.isEmpty(t.classDropDown) && e.push(t.classDropDown), e.join(" ");
|
|
411
|
+
}), te = K(() => {
|
|
412
|
+
const e = {
|
|
413
|
+
"select-inTag": !0,
|
|
414
|
+
"select-inTag-open": c.isOpen
|
|
415
|
+
};
|
|
416
|
+
return e[`select-inTag-${c.dropDownPos}`] = !0, e[`select-inTag-${c.tagDirection}`] = !0, e;
|
|
417
|
+
}), E = (e) => {
|
|
418
|
+
g("update:value", e);
|
|
419
|
+
}, A = (e, i) => {
|
|
420
|
+
E(e), g("onChange", e, i);
|
|
421
|
+
}, W = () => {
|
|
422
|
+
M(() => {
|
|
423
|
+
g("onInit");
|
|
424
|
+
});
|
|
425
|
+
}, oe = (e) => {
|
|
426
|
+
M(() => {
|
|
427
|
+
g("onOpen", e);
|
|
428
|
+
});
|
|
429
|
+
}, N = () => {
|
|
430
|
+
const e = [];
|
|
431
|
+
return r.value.forEach((i) => {
|
|
432
|
+
s.isExistJsonKey(d, i) && e.push(i);
|
|
433
|
+
}), e;
|
|
434
|
+
}, O = (e) => {
|
|
435
|
+
const i = s.isEmpty(e) ? {} : s.getJsonByList(e);
|
|
436
|
+
d = s.getJsonMerge(d, i);
|
|
437
|
+
}, L = () => {
|
|
438
|
+
if (m.value && !s.isEmpty(r.value)) {
|
|
439
|
+
const e = N();
|
|
440
|
+
s.isEqualArr(r.value, e) || (r.value = e, E(e.join(",")));
|
|
441
|
+
}
|
|
442
|
+
}, B = (e) => {
|
|
443
|
+
const i = s.isEmpty(e) ? [] : e.toString().split(",");
|
|
444
|
+
let v = s.isEqualArr(r.value, i);
|
|
445
|
+
v && (v = e === r.value.join(",")), v || (p = i, r.value = i);
|
|
446
|
+
}, $ = (e) => s.isExistJsonKey(d, e) ? s.getJsonClone(d[e]) : {}, V = () => {
|
|
447
|
+
const e = [];
|
|
448
|
+
return r.value.forEach((i) => {
|
|
449
|
+
const v = $(i);
|
|
450
|
+
s.isEmpty(v) || e.push(v);
|
|
451
|
+
}), e;
|
|
452
|
+
}, q = () => {
|
|
453
|
+
p = r.value;
|
|
454
|
+
const e = r.value.join(","), i = t.multiple ? V() : $(e);
|
|
455
|
+
A(e, i);
|
|
456
|
+
}, z = () => {
|
|
457
|
+
c.isOpen || !s.isEqualArr(r.value, p) && q();
|
|
458
|
+
}, G = () => {
|
|
459
|
+
m.value || (m.value = !0, O(t.list), B(t.value), L(), W());
|
|
460
|
+
}, se = () => {
|
|
461
|
+
!m.value && t.list.length > 0 && G();
|
|
462
|
+
};
|
|
463
|
+
P(m, (e) => {
|
|
464
|
+
e && W();
|
|
465
|
+
}), P(
|
|
466
|
+
() => t.list,
|
|
467
|
+
(e) => {
|
|
468
|
+
m.value || (m.value = !0, e.length === 0 && L());
|
|
469
|
+
}
|
|
470
|
+
), P(
|
|
471
|
+
[() => t.value, () => t.list],
|
|
472
|
+
([e, i]) => {
|
|
473
|
+
const v = i;
|
|
474
|
+
!m.value && v.length > 0 && (m.value = !0), O(v), s.isUndefined(e) || B(e), L();
|
|
475
|
+
}
|
|
476
|
+
), P(
|
|
477
|
+
[r, () => t.list],
|
|
478
|
+
([e, i]) => {
|
|
479
|
+
i.length > 0 && s.isEmpty(d) && O(i);
|
|
480
|
+
const pe = V().map((ae) => s.isEmpty(t.showTextFormat) ? ae.name : s.convertStringFormat(t.showTextFormat, ae));
|
|
481
|
+
u.value = pe;
|
|
482
|
+
}
|
|
483
|
+
), re(() => {
|
|
484
|
+
M(() => {
|
|
485
|
+
se();
|
|
486
|
+
});
|
|
487
|
+
}), me("$SelectTop", {
|
|
488
|
+
getSelectData: V,
|
|
489
|
+
getSelectValueInfo: $,
|
|
490
|
+
calculationDropdownPosition: () => {
|
|
491
|
+
y.value.calculationPosition();
|
|
492
|
+
},
|
|
493
|
+
convertListToJson: O
|
|
494
|
+
});
|
|
495
|
+
const o = (e) => {
|
|
496
|
+
t.disabled || (c.isOpen = e, e ? p = r.value : z(), M(() => {
|
|
497
|
+
b.value && b.value.initOpenShow(e);
|
|
498
|
+
}), oe(e));
|
|
499
|
+
}, n = () => {
|
|
500
|
+
t.disabled || (r.value = [], z());
|
|
501
|
+
}, l = (e) => {
|
|
502
|
+
if (c.dropDownPos = e.use.dropDownPos, c.dropDownTop = `${e.use.dropDownTop}px`, t.multiple && t.isShowTag) {
|
|
503
|
+
const i = x.value.offsetWidth;
|
|
504
|
+
c.tagHeight = t.theme === "default" ? `${e.original.dropDownHeight + 1}px` : `${e.original.dropDownHeight}px`;
|
|
505
|
+
const v = e.original.winWidth - (e.original.controlOffset.left + e.original.dropDownWidth) >= i ? "right" : "left";
|
|
506
|
+
c.tagDirection = v, v === "right" ? c.tagLeft = `${e.original.dropDownWidth - 1}px` : c.tagLeft = `${(e.original.dropDownWidth - e.original.textWidth + i + 1) * -1}px`;
|
|
507
|
+
}
|
|
508
|
+
}, h = (e) => {
|
|
509
|
+
r.value = e, t.multiple ? t.multipleRealTimeChange && q() : (y.value.setOpen(!1), o(!1));
|
|
510
|
+
}, T = (e) => {
|
|
511
|
+
r.value = e;
|
|
512
|
+
}, f = () => {
|
|
513
|
+
y.value && (y.value.checkCurrentIsOpen() || y.value.initCompleteOpen());
|
|
514
|
+
}, F = () => N().join(",");
|
|
515
|
+
return j({
|
|
516
|
+
getValue: F,
|
|
517
|
+
getValueData: () => {
|
|
518
|
+
const e = F();
|
|
519
|
+
return t.multiple ? V() : $(e);
|
|
520
|
+
},
|
|
521
|
+
setValue: (e) => {
|
|
522
|
+
B(e), L();
|
|
523
|
+
},
|
|
524
|
+
runInitComplete: () => {
|
|
525
|
+
G();
|
|
526
|
+
}
|
|
527
|
+
}), (e, i) => (D(), ne(ye, {
|
|
528
|
+
ref_key: "refElDropdownLayer",
|
|
529
|
+
ref: y,
|
|
530
|
+
classParent: U.value,
|
|
531
|
+
classText: "select-inText",
|
|
532
|
+
classDropDown: ee.value,
|
|
533
|
+
placeholder: a.placeholder,
|
|
534
|
+
isDisabled: a.disabled,
|
|
535
|
+
isClear: a.isClear,
|
|
536
|
+
textLabel: u.value.join(","),
|
|
537
|
+
textArrowDirection: _.value,
|
|
538
|
+
onOpenBeforeCallback: a.onOpenBefore,
|
|
539
|
+
onOnChangeOpen: o,
|
|
540
|
+
onOnClear: n,
|
|
541
|
+
onOnChangePosition: l
|
|
542
|
+
}, {
|
|
543
|
+
textExtend: Y(() => [
|
|
544
|
+
a.multiple ? (D(), I("span", Pe, [
|
|
545
|
+
a.multiple && u.value.length > 1 ? (D(), ne(ve, {
|
|
546
|
+
key: 0,
|
|
547
|
+
num: u.value.length
|
|
548
|
+
}, null, 8, ["num"])) : J("", !0)
|
|
549
|
+
])) : J("", !0)
|
|
550
|
+
]),
|
|
551
|
+
dropdown: Y(() => [
|
|
552
|
+
R(Le, {
|
|
553
|
+
ref_key: "refElList",
|
|
554
|
+
ref: b,
|
|
555
|
+
isSearch: a.isSearch,
|
|
556
|
+
searchPlaceholder: a.searchPlaceholder,
|
|
557
|
+
searchKey: a.searchKey,
|
|
558
|
+
searchKeyType: a.searchKeyType,
|
|
559
|
+
isMultiple: a.multiple,
|
|
560
|
+
isCheckBoxAll: a.isCheckBoxAll,
|
|
561
|
+
showDropDownTextFormat: a.showDropDownTextFormat,
|
|
562
|
+
originalData: a.list,
|
|
563
|
+
keyIndex: S,
|
|
564
|
+
selectId: r.value,
|
|
565
|
+
isOpen: c.isOpen,
|
|
566
|
+
serverCallback: a.serverCallback,
|
|
567
|
+
onOnChange: h,
|
|
568
|
+
onOnInitComplete: f
|
|
569
|
+
}, null, 8, ["isSearch", "searchPlaceholder", "searchKey", "searchKeyType", "isMultiple", "isCheckBoxAll", "showDropDownTextFormat", "originalData", "selectId", "isOpen", "serverCallback"])
|
|
570
|
+
]),
|
|
571
|
+
dropdownExtend: Y(() => [
|
|
572
|
+
a.multiple && a.isShowTag ? (D(), I("div", {
|
|
573
|
+
key: 0,
|
|
574
|
+
class: de(te.value),
|
|
575
|
+
style: ue({ height: c.tagHeight, left: c.tagLeft }),
|
|
576
|
+
ref_key: "refElTags",
|
|
577
|
+
ref: x
|
|
578
|
+
}, [
|
|
579
|
+
R(Ke, {
|
|
580
|
+
showTextFormat: a.showTextFormat,
|
|
581
|
+
selectId: r.value,
|
|
582
|
+
onOnRemove: T
|
|
583
|
+
}, null, 8, ["showTextFormat", "selectId"])
|
|
584
|
+
], 6)) : J("", !0)
|
|
585
|
+
]),
|
|
586
|
+
_: 1
|
|
587
|
+
}, 8, ["classParent", "classDropDown", "placeholder", "isDisabled", "isClear", "textLabel", "textArrowDirection", "onOpenBeforeCallback"]));
|
|
588
|
+
}
|
|
589
|
+
});
|
|
590
|
+
export {
|
|
591
|
+
Ye as _
|
|
592
|
+
};
|
|
593
|
+
//# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-_Zu2nb2q.js.map
|