@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 @@
|
|
|
1
|
+
{"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-Dd2V82en.js","sources":["../../../src/libs/Element/Input/Index.vue"],"sourcesContent":["<template>\n <div :class=\"clsParent\" :style=\"styParent\">\n <div :class=\"clsGroup\">\n <div v-if=\"optIsGroupPrepend\" class=\"input-group-prepend\"><span class=\"input-group-text\">\n <slot name=\"prepend\"></slot>\n </span>\n </div>\n <div :class=\"clsContainer\">\n <input ref=\"refElInput\" :type=\"optInputType\" :name=\"optElName\" class=\"form-control container-border\"\n autocomplete=\"off\" v-model=\"optTextValue\" :placeholder=\"placeholder\" :disabled=\"disabled\"\n :readonly=\"isReadonly\" @input=\"onInputText\" @keydown=\"onKeydown\" @keyup=\"onKeyup\"\n @focus=\"onInputFocus\" @blur=\"onInputBlur\" />\n <i v-if=\"optIsShowClean\" class=\"input-clear-icon clIconFont clIcon-close-circle-fill\"\n @click.stop=\"onClear\"></i>\n <i v-if=\"isPassword\" :class=\"clsPasswordIcon\" @click=\"onShowPasswordValue\"></i>\n </div>\n <div v-if=\"optIsGroupAppend\" class=\"input-group-append\"><span class=\"input-group-text\">\n <slot name=\"append\"></slot>\n </span>\n </div>\n </div>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport './Index.css'\nimport '../../CommonCss/Input.css'\nimport { watch, nextTick, onMounted, computed, ref, useSlots } from \"vue\";\nimport CommonBase from \"../../Common/base\";\nimport CommonElement from \"../../Common/Element/index\";\n\ndefineOptions({\n name: 'ClInput'\n})\n\nconst props = defineProps({\n theme: {\n type: String,\n default: 'default',\n validator: (value: string) => {\n return ['default', 'icon', 'bottomLine'].indexOf(value) !== -1\n }\n },\n value: {\n type: [String, Number],\n default: ''\n },\n inputType: {\n type: String,\n default: ''\n },\n className: {\n type: String,\n default: ''\n },\n width: {\n type: String,\n default: ''\n },\n name: {\n type: String,\n default: ''\n },\n placeholder: {\n type: String,\n default: ''\n },\n disabled: {\n type: Boolean,\n default: false\n },\n isReadonly: {\n type: Boolean,\n default: false\n },\n isClean: {\n type: Boolean,\n default: true\n },\n isNumber: {\n type: Boolean,\n default: false\n },\n decimal: {\n type: Number,\n default: 0\n },\n isThousand: {\n type: Boolean,\n default: true\n },\n isImmediateThousand: {\n type: Boolean,\n default: true\n },\n isPassword: {\n type: Boolean,\n default: false\n },\n changDelayTime: {\n type: Number,\n default: 200\n },\n})\n\nconst emit = defineEmits<{\n (e: 'update:value', value: any): void\n (e: 'onChange', value: any): void\n (e: 'onFocus', value: any): void\n (e: 'onBlur', value: any): void\n (e: 'onChangeBlur', value: any): void\n (e: 'onKeyupEnter', value: any): void\n (e: 'onClear'): void\n (e: 'onInit'): void\n (e: 'onKeydown', event: any): void\n (e: 'onKeyup', event: any): void\n (e: 'onChangeDelay', value: string): void\n}>()\n\nconst slots = useSlots()\n\nconst refElInput = ref<HTMLInputElement | null>(null)\n\nconst optIsFocusIng = ref(false)\nconst optIsShowPassword = ref(false)\nconst optTextValue = ref(props.value)\nconst optLastValueChange = ref(props.value)\nconst optLastValueFocus = ref(props.value)\nconst _pageData = {\n prevDelayValue: props.value,\n valueDelayRun: false,\n}\n\nconst optInputType = computed(() => {\n let temp = \"text\"\n const { inputType, isNumber, isPassword } = props\n if (inputType) {\n temp = inputType\n } else {\n if (isNumber) {\n } else if (isPassword) {\n temp = optIsShowPassword.value ? \"text\" : \"password\"\n }\n }\n return temp\n})\n\nconst optElName = computed(() => {\n let name = props.name\n if (CommonBase.isEmpty(name)) {\n name = `input_${CommonBase.getRandom(8)}`\n }\n return name\n})\n\nconst optIsGroupPrepend = computed(() => {\n return !CommonBase.isUndefined(slots.prepend)\n})\n\nconst optIsGroupAppend = computed(() => {\n return !CommonBase.isUndefined(slots.append)\n})\n\nconst optIsShowClean = computed(() => {\n return props.isClean && !props.disabled && !CommonBase.isEmpty(optTextValue.value)\n})\n\nconst clsParent = computed(() => {\n const clsTemp: any = {\n \"panel-input\": true,\n \"box-width\": true,\n \"input-disabled\": props.disabled,\n \"input-readonly\": props.isReadonly,\n }\n if (props.className&&!CommonBase.isEmpty(props.className)) {\n props.className.split(\" \").forEach((cls: string) => {\n if (!CommonBase.isEmpty(cls)) {\n clsTemp[cls] = true\n }\n })\n }\n\n if (!CommonBase.isEmpty(props.theme, \"default\")) {\n clsTemp[`input-${props.theme}`] = true\n }\n return clsTemp\n})\n\nconst styParent = computed(() => {\n const sty: any = {}\n if (!CommonBase.isEmpty(props.width)) {\n sty.width = props.width\n }\n return sty\n})\n\nconst clsContainer = computed(() => {\n const cls = {\n \"input-container\": true,\n \"input-clean\": props.isClean,\n \"input-password\": props.isPassword,\n }\n return cls\n})\n\nconst clsGroup = computed(() => {\n const cls: any = {}\n if (optIsGroupPrepend.value || optIsGroupAppend.value) {\n cls[\"input-group\"] = true\n cls[\"input-group-focus\"] = optIsFocusIng.value\n }\n cls[\"input-valueEntry\"] = !CommonBase.isEmpty(optTextValue.value)\n return cls\n})\n\nconst clsPasswordIcon = computed(() => {\n return {\n \"input-password-icon\": true,\n clIconFont: true,\n \"clIcon-eye-no\": !optIsShowPassword.value,\n \"clIcon-eye\": optIsShowPassword.value,\n }\n})\n\nlet _valueTimerDelay: any\nconst _emitChangeDelay = (value: string) => {\n if (_valueTimerDelay) {\n clearTimeout(_valueTimerDelay)\n _valueTimerDelay = null\n }\n _pageData.valueDelayRun = true\n _valueTimerDelay = setTimeout(() => {\n _pageData.valueDelayRun = false\n if (_pageData.prevDelayValue !== value) {\n _pageData.prevDelayValue = value\n emit(\"onChangeDelay\", value)\n }\n }, props.changDelayTime)\n}\n\nconst _emitChange = (value: string) => {\n if (value !== optLastValueChange.value) {\n optLastValueChange.value = value\n const useValue = _convertUseValue(value)\n emit(\"update:value\", useValue)\n emit(\"onChange\", useValue)\n _emitChangeDelay(useValue)\n }\n}\n\nconst _emitFocus = (value: any) => {\n optIsFocusIng.value = true\n optLastValueFocus.value = value\n emit(\"onFocus\", value)\n}\n\nconst _emitBlur = (value: any) => {\n optIsFocusIng.value = false\n emit(\"onBlur\", value)\n if (value !== optLastValueFocus.value) {\n optLastValueFocus.value = value\n emit(\"onChangeBlur\", value)\n }\n}\n\nconst _emitKeyupEnter = (value: any) => {\n emit(\"onKeyupEnter\", value)\n}\n\nconst _emitKeydown = (e: any) => {\n emit(\"onKeydown\", e)\n}\n\nconst _emitKeyup = (e: any) => {\n emit(\"onKeyup\", e)\n}\n\nconst _emitClear = () => {\n emit(\"onClear\")\n}\n\nconst _emitInit = () => {\n nextTick(() => {\n emit(\"onInit\")\n })\n}\n\nconst _checkValueNumber = (value: string) => {\n let check = CommonBase.isNumber(value)\n if (!check) {\n if ((+value).toString() !== \"NaN\") {\n const arrNum = value.split(\".\")\n if (arrNum.length === 2) {\n check = CommonBase.isNumber(arrNum[0]) && (CommonBase.isEmpty(arrNum[1]) || CommonBase.isNumber(arrNum[1]))\n }\n } else if (value === \"-\") {\n check = true\n }\n }\n return check\n}\n\nconst _convertValue = (value: any, prevValue: any, isTofixed = true, isThousand = true) => {\n let newValue = value\n if (props.isNumber) {\n let tempValue = CommonBase.removeReplace(value)\n if (tempValue.length > 0) {\n const check = _checkValueNumber(tempValue)\n if (check) {\n if (isThousand) {\n if (tempValue !== \"-\") {\n const { decimal } = props\n if (isTofixed && decimal !== 0) {\n tempValue =\n decimal === -1\n ? parseFloat(tempValue).toString()\n : parseFloat(tempValue).toFixed(decimal)\n }\n const arrNum = tempValue.split(\".\")\n if (arrNum.length > 0) {\n tempValue = props.isThousand ? CommonBase.getFormatThousands(arrNum[0]) : arrNum[0]\n }\n\n if (arrNum.length === 2 && decimal !== 0) {\n const decimalValue = decimal === -1 ? arrNum[1] : arrNum[1].substr(0, decimal)\n tempValue += `.${decimalValue}`\n }\n }\n }\n } else {\n tempValue = prevValue\n }\n } else {\n tempValue = \"\"\n }\n newValue = tempValue\n }\n return newValue\n}\n\nconst _getFocusIndexByLeftValue = (showValue: string, leftValue: string) => {\n const arrLeft = leftValue.split(\"\")\n const regLeft = new RegExp(`^${arrLeft.join(\".*?\")}`)\n const newLeft: any = showValue.match(regLeft)\n let focusIdx\n if (!CommonBase.isUndefined(newLeft)) {\n focusIdx = newLeft[0].length\n }\n return focusIdx\n}\n\nconst _setFocusSelection = (el: any, inputValue: string, showValue: string) => {\n const focusInfo = CommonElement.getFocusSelection(el)\n let inputValueLeft = inputValue.substring(0, focusInfo.start)\n inputValueLeft = CommonBase.removeReplace(inputValueLeft)\n const inputValueRight = inputValue.substring(focusInfo.start)\n let checkLeftNum = _checkValueNumber(inputValueLeft)\n if (inputValueLeft.indexOf(\".\") > -1 && inputValueRight.indexOf(\".\") > -1) {\n checkLeftNum = false\n }\n let focusIdx = focusInfo.start\n if (checkLeftNum) {\n focusIdx = _getFocusIndexByLeftValue(showValue, inputValueLeft)\n } else {\n focusIdx = showValue.lastIndexOf(inputValueRight)\n }\n if (CommonBase.isUndefined(focusIdx) || focusIdx > showValue.length) {\n focusIdx = showValue.length\n }\n nextTick(() => {\n CommonElement.setFocusSelection(el, focusIdx, focusIdx)\n })\n}\n\nconst _getTextValue = () => {\n const textValue = optTextValue.value\n if (textValue && !CommonBase.isEmpty(textValue)) {\n let newTextValue: any = textValue.toString()\n if (props.isNumber) {\n const { decimal } = props\n newTextValue = CommonBase.removeReplace(newTextValue)\n\n if (decimal !== 0) {\n newTextValue =\n decimal === -1\n ? parseFloat(newTextValue).toString()\n : parseFloat(newTextValue).toFixed(decimal)\n }\n const arrNum: string[] = newTextValue.split(\".\")\n if (arrNum.length > 0) {\n arrNum[0] = props.isThousand ? CommonBase.getFormatThousands(arrNum[0]) : arrNum[0]\n }\n if (decimal === 0) {\n newTextValue = arrNum[0]\n } else {\n if (arrNum.length === 2) {\n arrNum[1] = decimal === -1 ? arrNum[1] : CommonBase.getFillZero(arrNum[1], decimal, \"r\")\n newTextValue = arrNum.join(\".\")\n } else {\n newTextValue = arrNum[0]\n }\n }\n }\n return newTextValue\n } else {\n return textValue\n }\n}\n\nconst _convertUseValue = (value: any) => {\n let newUserValue = \"\"\n if (!CommonBase.isEmpty(value)) {\n newUserValue = value.toString()\n if (props.isNumber) {\n if (newUserValue !== \"-\") {\n const { decimal } = props\n const arrNum = newUserValue.split(\".\")\n let tempValue = \"\"\n if (arrNum.length > 0) {\n tempValue = CommonBase.removeReplace(arrNum[0])\n }\n if (arrNum.length === 2 && decimal !== 0) {\n let decimalValue = \"\"\n if (decimal === -1) {\n decimalValue = arrNum[1]\n } else {\n decimalValue = arrNum.length === 2 ? arrNum[1] : \"\"\n decimalValue = CommonBase.getFillZero(decimalValue, decimal, \"r\")\n }\n tempValue += `.${decimalValue}`\n }\n newUserValue = tempValue\n }\n }\n }\n return newUserValue\n}\n\nconst _focus = () => {\n refElInput.value?.focus()\n}\n\nwatch(\n () => props.value,\n (newValue, oldValue) => {\n if (newValue !== oldValue && newValue !== optTextValue.value) {\n let isRun = true\n if (props.isNumber) {\n const tempNewValue = CommonBase.removeReplace(newValue)\n const tempTextValue = CommonBase.removeReplace(optTextValue.value)\n const isEmptyNew = CommonBase.isEmpty(tempNewValue)\n const isEmptyText = CommonBase.isEmpty(tempTextValue)\n if (isEmptyNew && isEmptyText) {\n isRun = false\n } else {\n if (!isEmptyNew && !isEmptyText) {\n isRun = Number(tempNewValue) !== Number(tempTextValue)\n }\n }\n }\n if (isRun) {\n const value = _convertValue(newValue, oldValue)\n optTextValue.value = value\n optLastValueChange.value = value\n if (!_pageData.valueDelayRun) {\n _pageData.prevDelayValue = newValue\n }\n }\n }\n },\n)\n\nwatch([() => props.isNumber, () => props.decimal, () => props.isThousand], () => {\n const newShowText = _convertValue(optTextValue.value, \"\")\n optTextValue.value = newShowText\n _emitChange(newShowText)\n})\n\nconst _initMain = () => {\n if (!CommonBase.isEmpty(props.value)) {\n const v = _convertValue(props.value, props.value)\n optTextValue.value = v\n optLastValueChange.value = v\n }\n _emitInit()\n}\n\nonMounted(() => {\n _initMain()\n})\n\nconst onInputText = (e: any) => {\n const value = e.target.value\n const newValue = _convertValue(value, optLastValueChange.value, false, props.isImmediateThousand)\n if (props.isNumber) {\n optTextValue.value = newValue\n _setFocusSelection(e.target, value, newValue)\n }\n _emitChange(newValue)\n}\n\nconst onKeydown = (e: any) => {\n _emitKeydown(e)\n}\n\nconst onKeyup = (e: any) => {\n e.preventDefault()\n e.stopPropagation()\n const keyCode = e.keyCode\n if (!CommonBase.isUndefined(keyCode) && keyCode.toString() === \"13\") {\n const useValue = _convertUseValue(e.target.value)\n _emitKeyupEnter(useValue)\n } else {\n _emitKeyup(e)\n }\n}\n\nconst onInputFocus = () => {\n const value = _getTextValue()\n optTextValue.value = value\n optLastValueChange.value = value\n const useValue = _convertUseValue(value)\n _emitFocus(useValue)\n}\n\nconst onInputBlur = () => {\n const value = _getTextValue()\n optTextValue.value = value\n optLastValueChange.value = value\n const useValue = _convertUseValue(value)\n _emitBlur(useValue)\n}\n\nconst onClear = () => {\n optTextValue.value = \"\"\n _emitChange(\"\")\n _emitClear()\n _focus()\n}\n\nconst onShowPasswordValue = () => {\n optIsShowPassword.value = !optIsShowPassword.value\n}\n\nconst getValue = () => {\n return _convertUseValue(optTextValue.value)\n}\n\nconst getValueData = () => {\n return { value: getValue(), show: optTextValue.value }\n}\n\nconst setValue = (value: any) => {\n const newValue = CommonBase.isEmpty(value) ? \"\" : _convertValue(value, \"\")\n optTextValue.value = newValue\n optLastValueChange.value = newValue\n}\n\nconst focus = () => {\n _focus()\n}\n\nexport interface ClInputExpose {\n getValue: () => any\n getValueData: () => { value: any; show: any }\n setValue: (value: any) => void\n focus: () => void\n}\n\ndefineExpose({\n getValue,\n getValueData,\n setValue,\n focus,\n})\n</script>\n<style scoped></style>\n"],"names":["props","__props","emit","__emit","slots","useSlots","refElInput","ref","optIsFocusIng","optIsShowPassword","optTextValue","optLastValueChange","optLastValueFocus","_pageData","optInputType","computed","temp","inputType","isNumber","isPassword","optElName","name","CommonBase","optIsGroupPrepend","optIsGroupAppend","optIsShowClean","clsParent","clsTemp","cls","styParent","sty","clsContainer","clsGroup","clsPasswordIcon","_valueTimerDelay","_emitChangeDelay","value","_emitChange","useValue","_convertUseValue","_emitFocus","_emitBlur","_emitKeyupEnter","_emitKeydown","_emitKeyup","_emitClear","_emitInit","nextTick","_checkValueNumber","check","arrNum","_convertValue","prevValue","isTofixed","isThousand","newValue","tempValue","decimal","decimalValue","_getFocusIndexByLeftValue","showValue","leftValue","arrLeft","regLeft","newLeft","focusIdx","_setFocusSelection","el","inputValue","focusInfo","CommonElement","inputValueLeft","inputValueRight","checkLeftNum","_getTextValue","textValue","newTextValue","newUserValue","_focus","watch","oldValue","isRun","tempNewValue","tempTextValue","isEmptyNew","isEmptyText","newShowText","_initMain","v","onMounted","onInputText","onKeydown","onKeyup","keyCode","onInputFocus","onInputBlur","onClear","onShowPasswordValue","getValue","__expose","_createElementBlock","_createElementVNode","_openBlock","_hoisted_1","_hoisted_2","_renderSlot","_ctx","$event","_hoisted_4","_hoisted_5"],"mappings":"yoCAkCA,MAAMA,EAAQC,EAsERC,EAAOC,EAcPC,EAAQC,EAAAA,SAAA,EAERC,EAAaC,EAAAA,IAA6B,IAAI,EAE9CC,EAAgBD,EAAAA,IAAI,EAAK,EACzBE,EAAoBF,EAAAA,IAAI,EAAK,EAC7BG,EAAeH,EAAAA,IAAIP,EAAM,KAAK,EAC9BW,EAAqBJ,EAAAA,IAAIP,EAAM,KAAK,EACpCY,EAAoBL,EAAAA,IAAIP,EAAM,KAAK,EACnCa,EAAY,CACd,eAAgBb,EAAM,MACtB,cAAe,EAAA,EAGbc,EAAeC,EAAAA,SAAS,IAAM,CAChC,IAAIC,EAAO,OACX,KAAM,CAAE,UAAAC,EAAW,SAAAC,EAAU,WAAAC,CAAA,EAAenB,EAC5C,OAAIiB,EACAD,EAAOC,EAEHC,GACOC,IACPH,EAAOP,EAAkB,MAAQ,OAAS,YAG3CO,CACX,CAAC,EAEKI,EAAYL,EAAAA,SAAS,IAAM,CAC7B,IAAIM,EAAOrB,EAAM,KACjB,OAAIsB,EAAAA,WAAW,QAAQD,CAAI,IACvBA,EAAO,SAASC,EAAAA,WAAW,UAAU,CAAC,CAAC,IAEpCD,CACX,CAAC,EAEKE,EAAoBR,EAAAA,SAAS,IACxB,CAACO,EAAAA,WAAW,YAAYlB,EAAM,OAAO,CAC/C,EAEKoB,EAAmBT,EAAAA,SAAS,IACvB,CAACO,EAAAA,WAAW,YAAYlB,EAAM,MAAM,CAC9C,EAEKqB,EAAiBV,EAAAA,SAAS,IACrBf,EAAM,SAAW,CAACA,EAAM,UAAY,CAACsB,aAAW,QAAQZ,EAAa,KAAK,CACpF,EAEKgB,EAAYX,EA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iG,GAAG,YAAa1G,EAAA,YAAc,SAAUA,EAAA,SAC/E,SAAUA,EAAA,WAAa,QAAOyF,GAAc,UAAAC,GAAqB,QAAAC,GACjE,QAAOE,GAAe,OAAMC,EAAA,gCAFDrF,EAAA,KAAY,CAAA,GAGnCe,EAAA,qBAAT2E,EAAAA,mBAC8B,IAAA,OADL,MAAM,uDAC1B,wBAAYJ,GAAO,CAAA,MAAA,CAAA,CAAA,gCACf/F,EAAA,0BAATmG,EAAAA,mBAA+E,IAAA,OAAzD,uBAAOnE,EAAA,KAAe,EAAG,QAAOgE,EAAA,2CAE/CzE,EAAA,OAAX8E,EAAAA,UAAA,EAAAF,EAAAA,mBAGM,MAHNQ,GAGM,CAHkDP,EAAAA,mBAE7C,OAF6CQ,GAE7C,CADHJ,aAA2BC,EAAA,OAAA,QAAA,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const o=require("vue"),n=require("./base-iCmnU-fv.js"),l=o.defineComponent({name:"ClBadge",__name:"Index",props:{className:String,color:{type:String,default:"default"},colorSty:String,num:[String,Number],maxNum:{type:Number,default:-1},isHideZero:{type:Boolean,default:!0},isDot:{type:Boolean,default:!1}},setup(a){const e=a,r=()=>{n.CommonBase.isEmpty(e.num)&&!e.isDot&&console.warn('[ClBadge] Warning: Either "num" prop or "isDot" prop is required. When "num" is not provided, "isDot" must be true.')};o.onMounted(()=>{r()}),o.watch(()=>[e.num,e.isDot],()=>{r()});const m=o.computed(()=>{let t="";if(!n.CommonBase.isEmpty(e.num)){const s=Number(e.num);s===0&&e.isHideZero?t="":s>(e.maxNum??-1)&&(e.maxNum??-1)>0?t=`${e.maxNum}+`:t=s.toString()}return t}),i=o.computed(()=>{const t={badge:!0};return n.CommonBase.isEmpty(e.color)||(t[`bg-${e.color}`]=!0),e.className&&!n.CommonBase.isEmpty(e.className)&&e.className.split(" ").forEach(s=>{n.CommonBase.isEmpty(s)||(t[s]=!0)}),e.isDot&&(t["badge-dot"]=!0),t}),u=o.computed(()=>{const t={};return n.CommonBase.isEmpty(e.colorSty)||(t["background-color"]=`${e.colorSty} !important`),t});return(t,s)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(i.value),style:o.normalizeStyle(u.value)},o.toDisplayString(m.value),7))}});exports._sfc_main=l;
|
|
2
|
+
//# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-DfYsa_hk.js","sources":["../../../src/libs/Element/Badge/Index.vue"],"sourcesContent":["<template>\n <span\n :class=\"clsParent\"\n :style=\"styParent\"\n >{{optTextNum}}</span>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, watch, onMounted } from 'vue'\nimport './Index.css'\nimport CommonBase from '../../Common/base'\n\n// defineOptions\ndefineOptions({\n name: 'ClBadge'\n})\n\n// props\nconst props = defineProps({\n className: String, // desc: 自定义CSS类名\n color: {\n type: String,\n default: 'default' // enum: default, green, red, yellow, black, gray (可自定义) | desc: 颜色主题\n },\n colorSty: String, // desc: 自定义颜色样式\n num: [String, Number], // desc: 显示的数字\n maxNum: {\n type: Number,\n default: -1 // desc: 最大显示数字,超过显示 maxNum+\n },\n isHideZero: {\n type: Boolean,\n default: true // desc: 是否隐藏数字为0的徽章\n },\n isDot: {\n type: Boolean,\n default: false // desc: 是否显示为圆点\n }\n})\n\n// 验证:num 或者 isDot 必须传一个值\nconst validateProps = () => {\n if (CommonBase.isEmpty(props.num) && !props.isDot) {\n console.warn('[ClBadge] Warning: Either \"num\" prop or \"isDot\" prop is required. When \"num\" is not provided, \"isDot\" must be true.')\n }\n}\n\nonMounted(() => {\n validateProps()\n})\n\nwatch(() => [props.num, props.isDot], () => {\n validateProps()\n})\n\n// computed\nconst optTextNum = computed(() => {\n let v = ''\n if (!CommonBase.isEmpty(props.num)) {\n const n = Number(props.num)\n if (n === 0 && props.isHideZero) {\n v = ''\n } else if (n > (props.maxNum ?? -1) && (props.maxNum ?? -1) > 0) {\n v = `${props.maxNum}+`\n } else {\n v = n.toString()\n }\n }\n return v\n})\n\nconst clsParent = computed(() => {\n const cls: any = {\n badge: true,\n }\n if (!CommonBase.isEmpty(props.color)) {\n cls[`bg-${props.color}`] = true\n }\n if (props.className && !CommonBase.isEmpty(props.className)) {\n props.className.split(' ').forEach((c) => {\n if (!CommonBase.isEmpty(c)) {\n cls[c] = true\n }\n })\n }\n if (props.isDot) {\n cls['badge-dot'] = true\n }\n return cls\n})\n\nconst styParent = computed(() => {\n const sty: any = {}\n if (!CommonBase.isEmpty(props.colorSty)) {\n sty['background-color'] = `${props.colorSty} !important`\n }\n return sty\n})\n</script>"],"names":["props","__props","validateProps","CommonBase","onMounted","watch","optTextNum","computed","v","n","clsParent","cls","c","styParent","sty","_createElementBlock"],"mappings":"wUAkBA,MAAMA,EAAQC,EAuBRC,EAAgB,IAAM,CACtBC,EAAAA,WAAW,QAAQH,EAAM,GAAG,GAAK,CAACA,EAAM,OAC1C,QAAQ,KAAK,qHAAqH,CAEtI,EAEAI,EAAAA,UAAU,IAAM,CACdF,EAAA,CACF,CAAC,EAEDG,EAAAA,MAAM,IAAM,CAACL,EAAM,IAAKA,EAAM,KAAK,EAAG,IAAM,CAC1CE,EAAA,CACF,CAAC,EAGD,MAAMI,EAAaC,EAAAA,SAAS,IAAM,CAChC,IAAIC,EAAI,GACR,GAAI,CAACL,EAAAA,WAAW,QAAQH,EAAM,GAAG,EAAG,CAClC,MAAMS,EAAI,OAAOT,EAAM,GAAG,EACtBS,IAAM,GAAKT,EAAM,WACnBQ,EAAI,GACKC,GAAKT,EAAM,QAAU,MAAQA,EAAM,QAAU,IAAM,EAC5DQ,EAAI,GAAGR,EAAM,MAAM,IAEnBQ,EAAIC,EAAE,SAAA,CAEV,CACA,OAAOD,CACT,CAAC,EAEKE,EAAYH,EAAAA,SAAS,IAAM,CAC/B,MAAMI,EAAW,CACf,MAAO,EAAA,EAET,OAAKR,EAAAA,WAAW,QAAQH,EAAM,KAAK,IACjCW,EAAI,MAAMX,EAAM,KAAK,EAAE,EAAI,IAEzBA,EAAM,WAAa,CAACG,EAAAA,WAAW,QAAQH,EAAM,SAAS,GACxDA,EAAM,UAAU,MAAM,GAAG,EAAE,QAASY,GAAM,CACnCT,EAAAA,WAAW,QAAQS,CAAC,IACvBD,EAAIC,CAAC,EAAI,GAEb,CAAC,EAECZ,EAAM,QACRW,EAAI,WAAW,EAAI,IAEdA,CACT,CAAC,EAEKE,EAAYN,EAAAA,SAAS,IAAM,CAC/B,MAAMO,EAAW,CAAA,EACjB,OAAKX,EAAAA,WAAW,QAAQH,EAAM,QAAQ,IACpCc,EAAI,kBAAkB,EAAI,GAAGd,EAAM,QAAQ,eAEtCc,CACT,CAAC,8BAhGGC,EAAAA,mBAGsB,OAAA,CAFjB,uBAAOL,EAAA,KAAS,EAChB,uBAAOG,EAAA,KAAS,CAAA,oBAClBP,EAAA,KAAU,EAAA,CAAA"}
|
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
import { defineComponent as T, inject as U, reactive as $, computed as O, openBlock as v, createElementBlock as m, normalizeClass as V, createElementVNode as r, withModifiers as g, createVNode as E, createCommentVNode as x, toDisplayString as A, Transition as q, withCtx as K, withDirectives as Q, normalizeStyle as W, vShow as M, nextTick as F, ref as D, onBeforeUnmount as G, provide as H, Fragment as J, createBlock as j } from "vue";
|
|
2
|
+
import { C as u } from "./base-PQGakkrl.js";
|
|
3
|
+
import { C as z } from "./index-BnerInzC.js";
|
|
4
|
+
import { _ as X } from "./Index.vue_vue_type_script_setup_true_lang-DKAxas3I.js";
|
|
5
|
+
import Y from "video.js";
|
|
6
|
+
const Z = { class: "preview-image" }, ee = { class: "preview-image-actions-container" }, se = { key: 0 }, te = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "image-num"
|
|
9
|
+
}, oe = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "preview-image-container"
|
|
12
|
+
}, ne = ["src"], ie = /* @__PURE__ */ T({
|
|
13
|
+
name: "ClPreviewImage",
|
|
14
|
+
__name: "Image",
|
|
15
|
+
props: {
|
|
16
|
+
imageInx: {
|
|
17
|
+
type: Number,
|
|
18
|
+
default: 0
|
|
19
|
+
},
|
|
20
|
+
list: {
|
|
21
|
+
type: Array,
|
|
22
|
+
default: () => []
|
|
23
|
+
},
|
|
24
|
+
isLoop: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: !1
|
|
27
|
+
},
|
|
28
|
+
isShowCopy: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !0
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
emits: ["onClick"],
|
|
34
|
+
setup(y, { expose: _, emit: L }) {
|
|
35
|
+
const i = y, f = U("$PreviewTop"), e = $({
|
|
36
|
+
isShow: !1,
|
|
37
|
+
isSwitch: !1,
|
|
38
|
+
src: "",
|
|
39
|
+
scale: 1,
|
|
40
|
+
scaleRatio: 1.4,
|
|
41
|
+
rotate: 0,
|
|
42
|
+
rotateAngle: 90,
|
|
43
|
+
showIndex: i.imageInx
|
|
44
|
+
}), l = O(() => {
|
|
45
|
+
const n = {}, s = [];
|
|
46
|
+
return s.push(`scale(${e.scale})`), s.push(`rotate(${e.rotate}deg)`), n.transform = s.join(" "), n;
|
|
47
|
+
}), a = () => {
|
|
48
|
+
const { showIndex: n } = e, s = i.list.length, d = s > 0 && n < s;
|
|
49
|
+
e.isShow = d, d ? F(() => {
|
|
50
|
+
e.isSwitch = !0, e.src = i.list[n], f.setPrevNextStatus(n, s);
|
|
51
|
+
}) : e.isSwitch = !1;
|
|
52
|
+
}, h = () => {
|
|
53
|
+
const { scale: n, scaleRatio: s } = e, d = n * s;
|
|
54
|
+
d < 7 && (e.scale = Number(d.toFixed(3)));
|
|
55
|
+
}, w = () => {
|
|
56
|
+
const { scale: n, scaleRatio: s } = e, d = n / s;
|
|
57
|
+
d > 0.18 && (e.scale = Number(d.toFixed(3)));
|
|
58
|
+
}, S = () => {
|
|
59
|
+
const { rotate: n, rotateAngle: s } = e;
|
|
60
|
+
e.rotate = n - s;
|
|
61
|
+
}, C = () => {
|
|
62
|
+
const { rotate: n, rotateAngle: s } = e;
|
|
63
|
+
e.rotate = n + s;
|
|
64
|
+
}, P = () => {
|
|
65
|
+
e.scale = 1, e.rotate = 0;
|
|
66
|
+
};
|
|
67
|
+
return _({
|
|
68
|
+
show: (n) => {
|
|
69
|
+
e.showIndex = n, a();
|
|
70
|
+
},
|
|
71
|
+
hide: () => {
|
|
72
|
+
e.scale = 1, e.rotate = 0, e.isShow = !1;
|
|
73
|
+
},
|
|
74
|
+
prev: () => {
|
|
75
|
+
const { showIndex: n } = e;
|
|
76
|
+
let s = -1;
|
|
77
|
+
n > 0 ? s = n - 1 : i.isLoop && (s = i.list.length - 1), s > -1 && (e.isSwitch = !1, e.showIndex = s, e.scale = 1, e.rotate = 0, a());
|
|
78
|
+
},
|
|
79
|
+
next: () => {
|
|
80
|
+
const { showIndex: n } = e;
|
|
81
|
+
let s = -1;
|
|
82
|
+
n < i.list.length - 1 ? s = n + 1 : i.isLoop && (s = 0), s > -1 && (e.isSwitch = !1, e.showIndex = s, e.scale = 1, e.rotate = 0, a());
|
|
83
|
+
},
|
|
84
|
+
large: () => {
|
|
85
|
+
h();
|
|
86
|
+
},
|
|
87
|
+
small: () => {
|
|
88
|
+
w();
|
|
89
|
+
}
|
|
90
|
+
}), (n, s) => (v(), m("div", Z, [
|
|
91
|
+
e.isShow ? (v(), m("div", {
|
|
92
|
+
key: 0,
|
|
93
|
+
class: V({ "preview-btn": !0, "preview-image-actions": !0, "preview-image-num": y.list.length > 1 })
|
|
94
|
+
}, [
|
|
95
|
+
r("div", ee, [
|
|
96
|
+
r("span", {
|
|
97
|
+
onClick: g(h, ["stop"])
|
|
98
|
+
}, [...s[0] || (s[0] = [
|
|
99
|
+
r("i", { class: "clIconFont clIcon-search-plus" }, null, -1)
|
|
100
|
+
])]),
|
|
101
|
+
r("span", {
|
|
102
|
+
onClick: g(w, ["stop"])
|
|
103
|
+
}, [...s[1] || (s[1] = [
|
|
104
|
+
r("i", { class: "clIconFont clIcon-search-minus" }, null, -1)
|
|
105
|
+
])]),
|
|
106
|
+
r("span", {
|
|
107
|
+
onClick: g(S, ["stop"])
|
|
108
|
+
}, [...s[2] || (s[2] = [
|
|
109
|
+
r("i", { class: "clIconFont clIcon-rotate-left" }, null, -1)
|
|
110
|
+
])]),
|
|
111
|
+
r("span", {
|
|
112
|
+
onClick: g(C, ["stop"])
|
|
113
|
+
}, [...s[3] || (s[3] = [
|
|
114
|
+
r("i", { class: "clIconFont clIcon-rotate-right" }, null, -1)
|
|
115
|
+
])]),
|
|
116
|
+
r("span", {
|
|
117
|
+
onClick: g(P, ["stop"])
|
|
118
|
+
}, [...s[4] || (s[4] = [
|
|
119
|
+
r("i", { class: "clIconFont clIcon-restore" }, null, -1)
|
|
120
|
+
])]),
|
|
121
|
+
y.isShowCopy ? (v(), m("span", se, [
|
|
122
|
+
E(X, {
|
|
123
|
+
textLabel: e.src
|
|
124
|
+
}, null, 8, ["textLabel"])
|
|
125
|
+
])) : x("", !0),
|
|
126
|
+
y.list.length > 1 ? (v(), m("span", te, A(e.showIndex + 1) + "/" + A(y.list.length), 1)) : x("", !0)
|
|
127
|
+
])
|
|
128
|
+
], 2)) : x("", !0),
|
|
129
|
+
E(q, {
|
|
130
|
+
"enter-active-class": "animated zoomIn",
|
|
131
|
+
"leave-active-class": "animated zoomOut"
|
|
132
|
+
}, {
|
|
133
|
+
default: K(() => [
|
|
134
|
+
e.isShow ? Q((v(), m("div", oe, [
|
|
135
|
+
r("img", {
|
|
136
|
+
src: e.src,
|
|
137
|
+
style: W(l.value)
|
|
138
|
+
}, null, 12, ne)
|
|
139
|
+
], 512)), [
|
|
140
|
+
[M, e.isSwitch]
|
|
141
|
+
]) : x("", !0)
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
})
|
|
145
|
+
]));
|
|
146
|
+
}
|
|
147
|
+
}), le = { class: "preview-video" }, ae = {
|
|
148
|
+
key: 0,
|
|
149
|
+
class: "preview-video-container"
|
|
150
|
+
}, re = ["id"], ce = /* @__PURE__ */ T({
|
|
151
|
+
name: "ClPreviewVideo",
|
|
152
|
+
__name: "Video",
|
|
153
|
+
props: {
|
|
154
|
+
videoInx: {
|
|
155
|
+
type: Number,
|
|
156
|
+
default: 0
|
|
157
|
+
},
|
|
158
|
+
list: {
|
|
159
|
+
type: Array,
|
|
160
|
+
default: () => []
|
|
161
|
+
},
|
|
162
|
+
isLoop: {
|
|
163
|
+
type: Boolean,
|
|
164
|
+
default: !1
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
emits: ["onClick"],
|
|
168
|
+
setup(y, { expose: _, emit: L }) {
|
|
169
|
+
const i = y, f = U("$PreviewTop"), e = D(null), l = $({
|
|
170
|
+
keyIndex: `previewVideo-${u.getRandom(8)}`,
|
|
171
|
+
isShow: !1,
|
|
172
|
+
src: "",
|
|
173
|
+
showIndex: i.videoInx
|
|
174
|
+
}), a = {
|
|
175
|
+
playerOpt: null
|
|
176
|
+
}, h = () => {
|
|
177
|
+
if (a.playerOpt)
|
|
178
|
+
a.playerOpt.src(l.src), a.playerOpt.play();
|
|
179
|
+
else {
|
|
180
|
+
const c = {
|
|
181
|
+
sources: [{ src: l.src }],
|
|
182
|
+
autoplay: !0,
|
|
183
|
+
controls: !0,
|
|
184
|
+
loop: !1
|
|
185
|
+
};
|
|
186
|
+
a.playerOpt = Y(e.value, c, () => {
|
|
187
|
+
a.playerOpt.play();
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
}, w = () => {
|
|
191
|
+
const { showIndex: c } = l, p = i.list.length, k = p > 0 && c < p;
|
|
192
|
+
l.isShow = k, k && (l.src = i.list[c], f.setPrevNextStatus(c, p), F(() => {
|
|
193
|
+
h();
|
|
194
|
+
}));
|
|
195
|
+
}, S = () => {
|
|
196
|
+
a.playerOpt && a.playerOpt.dispose && (a.playerOpt.pause && a.playerOpt.pause(), a.playerOpt.dispose(), a.playerOpt = null);
|
|
197
|
+
};
|
|
198
|
+
return _({
|
|
199
|
+
show: (c) => {
|
|
200
|
+
l.showIndex = c, w();
|
|
201
|
+
},
|
|
202
|
+
hide: () => {
|
|
203
|
+
S(), l.isShow = !1;
|
|
204
|
+
},
|
|
205
|
+
prev: () => {
|
|
206
|
+
const { showIndex: c } = l;
|
|
207
|
+
let p = -1;
|
|
208
|
+
c > 0 ? p = c - 1 : i.isLoop && (p = i.list.length - 1), p > -1 && (l.showIndex = p, w());
|
|
209
|
+
},
|
|
210
|
+
next: () => {
|
|
211
|
+
const { showIndex: c } = l;
|
|
212
|
+
let p = -1;
|
|
213
|
+
c < i.list.length - 1 ? p = c + 1 : i.isLoop && (p = 0), p > -1 && (l.showIndex = p, w());
|
|
214
|
+
}
|
|
215
|
+
}), (c, p) => (v(), m("div", le, [
|
|
216
|
+
E(q, {
|
|
217
|
+
"enter-active-class": "animated zoomIn",
|
|
218
|
+
"leave-active-class": "animated zoomOut"
|
|
219
|
+
}, {
|
|
220
|
+
default: K(() => [
|
|
221
|
+
l.isShow ? (v(), m("div", ae, [
|
|
222
|
+
r("div", null, [
|
|
223
|
+
r("video", {
|
|
224
|
+
ref_key: "refElVideo",
|
|
225
|
+
ref: e,
|
|
226
|
+
id: l.keyIndex,
|
|
227
|
+
class: "video-js vjs-default-skin vjs-big-play-centered"
|
|
228
|
+
}, null, 8, re)
|
|
229
|
+
])
|
|
230
|
+
])) : x("", !0)
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
})
|
|
234
|
+
]));
|
|
235
|
+
}
|
|
236
|
+
}), ye = /* @__PURE__ */ T({
|
|
237
|
+
name: "ClPreview",
|
|
238
|
+
__name: "Index",
|
|
239
|
+
setup(y, { expose: _ }) {
|
|
240
|
+
const L = D(null), i = D(null), f = D(null), e = $({
|
|
241
|
+
type: "",
|
|
242
|
+
list: [],
|
|
243
|
+
isLoop: !1,
|
|
244
|
+
isShowPrevNext: !1,
|
|
245
|
+
isDisablePrev: !1,
|
|
246
|
+
isDisableNext: !1,
|
|
247
|
+
isShowCopy: !0
|
|
248
|
+
}), l = O(() => e.type === "image"), a = O(() => e.type === "video");
|
|
249
|
+
let h = null;
|
|
250
|
+
const w = () => document.querySelector("body"), S = () => document.querySelector("body>.panel-preview"), C = () => {
|
|
251
|
+
const t = S();
|
|
252
|
+
return !u.isUndefined(t);
|
|
253
|
+
}, P = () => {
|
|
254
|
+
C() ? (clearTimeout(h), h = null) : (document.body.className = z.getAddClass(document.body.className, "preview-open"), w().appendChild(L.value));
|
|
255
|
+
}, N = (t) => {
|
|
256
|
+
let o = t.keyCode;
|
|
257
|
+
if (!u.isUndefined(o))
|
|
258
|
+
switch (o = o.toString(), o) {
|
|
259
|
+
case "38":
|
|
260
|
+
t.preventDefault(), t.stopPropagation();
|
|
261
|
+
break;
|
|
262
|
+
case "40":
|
|
263
|
+
t.preventDefault(), t.stopPropagation();
|
|
264
|
+
break;
|
|
265
|
+
}
|
|
266
|
+
}, B = (t) => {
|
|
267
|
+
let o = t.keyCode;
|
|
268
|
+
if (!u.isUndefined(o))
|
|
269
|
+
switch (o = o.toString(), o) {
|
|
270
|
+
case "27":
|
|
271
|
+
n();
|
|
272
|
+
break;
|
|
273
|
+
case "37":
|
|
274
|
+
s();
|
|
275
|
+
break;
|
|
276
|
+
case "38":
|
|
277
|
+
t.preventDefault(), t.stopPropagation(), l.value ? i.value.large() : a.value && s();
|
|
278
|
+
break;
|
|
279
|
+
case "39":
|
|
280
|
+
d();
|
|
281
|
+
break;
|
|
282
|
+
case "40":
|
|
283
|
+
t.preventDefault(), t.stopPropagation(), l.value ? i.value.small() : a.value && d();
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
}, c = () => {
|
|
287
|
+
window.removeEventListener("keydown", N), window.removeEventListener("keyup", B);
|
|
288
|
+
}, p = () => {
|
|
289
|
+
window.addEventListener("keydown", N), window.addEventListener("keyup", B);
|
|
290
|
+
}, k = (t = !1) => {
|
|
291
|
+
C() && (h = setTimeout(
|
|
292
|
+
() => {
|
|
293
|
+
const o = S();
|
|
294
|
+
o && (document.body.className = z.getRemoveClass(
|
|
295
|
+
document.body.className,
|
|
296
|
+
"preview-open"
|
|
297
|
+
), w().removeChild(o)), c();
|
|
298
|
+
},
|
|
299
|
+
t ? 2 * 1e3 : 0
|
|
300
|
+
));
|
|
301
|
+
}, R = (t) => {
|
|
302
|
+
if (!u.isEmpty(t) && !u.isEmpty(t.src)) {
|
|
303
|
+
P();
|
|
304
|
+
let o = [];
|
|
305
|
+
const I = t.src;
|
|
306
|
+
u.isArray(I) ? o = I : u.isString(I) && (o = [I]), e.type = t.type, e.list = o, e.isLoop = u.isBoolean(t.isLoop) ? t.isLoop : !1, e.isShowCopy = u.isBoolean(t.isShowCopy) ? t.isShowCopy : !0;
|
|
307
|
+
const b = u.isEmpty(t.showIndex) ? 0 : t.showIndex;
|
|
308
|
+
p(), F(() => {
|
|
309
|
+
l.value ? i.value.show(b) : a.value && f.value.show(b);
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
G(() => {
|
|
314
|
+
c();
|
|
315
|
+
});
|
|
316
|
+
const n = () => {
|
|
317
|
+
l.value ? i.value.hide() : a.value && f.value.hide(), k();
|
|
318
|
+
}, s = () => {
|
|
319
|
+
e.isDisablePrev || (l.value ? i.value.prev() : a.value && f.value.prev());
|
|
320
|
+
}, d = () => {
|
|
321
|
+
e.isDisableNext || (l.value ? i.value.next() : a.value && f.value.next());
|
|
322
|
+
};
|
|
323
|
+
return H("$PreviewTop", {
|
|
324
|
+
setPrevNextStatus: (t, o) => {
|
|
325
|
+
const I = o > 1;
|
|
326
|
+
if (e.isShowPrevNext = I, I) {
|
|
327
|
+
const { isLoop: b } = e;
|
|
328
|
+
e.isDisablePrev = b ? !1 : t === 0, e.isDisableNext = b ? !1 : t === o - 1;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}), _({
|
|
332
|
+
show: (t) => {
|
|
333
|
+
R(t);
|
|
334
|
+
},
|
|
335
|
+
destroy: () => {
|
|
336
|
+
k();
|
|
337
|
+
}
|
|
338
|
+
}), (t, o) => (v(), m("div", {
|
|
339
|
+
ref_key: "refElTopParent",
|
|
340
|
+
ref: L,
|
|
341
|
+
class: "panel-preview"
|
|
342
|
+
}, [
|
|
343
|
+
o[3] || (o[3] = r("div", { class: "preview-bg" }, null, -1)),
|
|
344
|
+
r("div", {
|
|
345
|
+
class: "preview-btn preview-close",
|
|
346
|
+
onClick: g(n, ["stop"])
|
|
347
|
+
}, [...o[0] || (o[0] = [
|
|
348
|
+
r("i", { class: "clIconFont clIcon-close" }, null, -1)
|
|
349
|
+
])]),
|
|
350
|
+
e.isShowPrevNext ? (v(), m(J, { key: 0 }, [
|
|
351
|
+
r("div", {
|
|
352
|
+
class: V({ "preview-btn": !0, "preview-prev": !0, "preview-btn-disable": e.isDisablePrev }),
|
|
353
|
+
onClick: g(s, ["stop"])
|
|
354
|
+
}, [...o[1] || (o[1] = [
|
|
355
|
+
r("i", { class: "clIconFont clIcon-angle-left" }, null, -1)
|
|
356
|
+
])], 2),
|
|
357
|
+
r("div", {
|
|
358
|
+
class: V({ "preview-btn": !0, "preview-next": !0, "preview-btn-disable": e.isDisableNext }),
|
|
359
|
+
onClick: g(d, ["stop"])
|
|
360
|
+
}, [...o[2] || (o[2] = [
|
|
361
|
+
r("i", { class: "clIconFont clIcon-angle-right" }, null, -1)
|
|
362
|
+
])], 2)
|
|
363
|
+
], 64)) : x("", !0),
|
|
364
|
+
l.value ? (v(), j(ie, {
|
|
365
|
+
key: 1,
|
|
366
|
+
ref_key: "refElImage",
|
|
367
|
+
ref: i,
|
|
368
|
+
isLoop: e.isLoop,
|
|
369
|
+
list: e.list,
|
|
370
|
+
isShowCopy: e.isShowCopy
|
|
371
|
+
}, null, 8, ["isLoop", "list", "isShowCopy"])) : a.value ? (v(), j(ce, {
|
|
372
|
+
key: 2,
|
|
373
|
+
ref_key: "refElVideo",
|
|
374
|
+
ref: f,
|
|
375
|
+
isLoop: e.isLoop,
|
|
376
|
+
list: e.list
|
|
377
|
+
}, null, 8, ["isLoop", "list"])) : x("", !0)
|
|
378
|
+
], 512));
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
export {
|
|
382
|
+
ye as _
|
|
383
|
+
};
|
|
384
|
+
//# sourceMappingURL=Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.vue_vue_type_script_setup_true_lang-DlCXpiu6.js","sources":["../../../src/libs/Web/Preview/Image.vue","../../../src/libs/Web/Preview/Video.vue","../../../src/libs/Web/Preview/Index.vue"],"sourcesContent":["<template>\n <div class=\"preview-image\">\n <div\n v-if=\"optBase.isShow\"\n :class=\"{'preview-btn':true,'preview-image-actions':true,'preview-image-num':list.length>1}\"\n >\n <div class=\"preview-image-actions-container\">\n <span @click.stop=\"onLarge\"><i class=\"clIconFont clIcon-search-plus\"></i></span>\n <span @click.stop=\"onSmall\"><i class=\"clIconFont clIcon-search-minus\"></i></span>\n <span @click.stop=\"onRotateLeft\"><i class=\"clIconFont clIcon-rotate-left\"></i></span>\n <span @click.stop=\"onRotateRight\"><i class=\"clIconFont clIcon-rotate-right\"></i></span>\n <span @click.stop=\"onReduction\"><i class=\"clIconFont clIcon-restore\"></i></span>\n <span v-if=\"isShowCopy\">\n <ClClipboard :textLabel=\"optBase.src\" />\n </span>\n <span\n v-if=\"list.length>1\"\n class=\"image-num\"\n >{{ optBase.showIndex+1 }}/{{ list.length }}</span>\n </div>\n </div>\n <transition\n enter-active-class=\"animated zoomIn\"\n leave-active-class=\"animated zoomOut\"\n >\n <div\n v-if=\"optBase.isShow\"\n v-show=\"optBase.isSwitch\"\n class=\"preview-image-container\"\n >\n <img\n :src=\"optBase.src\"\n :style=\"styImage\"\n />\n </div>\n </transition>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { inject, nextTick, reactive, computed } from 'vue'\nimport ClClipboard from '../../Element/Clipboard/Index.vue'\n\ndefineOptions({ name: 'ClPreviewImage' })\n\nconst props = defineProps({\n imageInx: {\n type: Number,\n default: 0,\n },\n list: {\n type: Array,\n default: () => [],\n },\n isLoop: {\n type: Boolean,\n default: false,\n },\n isShowCopy: {\n type: Boolean,\n default: true,\n },\n})\n\nconst emit = defineEmits(['onClick'])\n\nconst _selfTop: any = inject('$PreviewTop')\n\nconst optBase: any = reactive({\n isShow: false,\n isSwitch: false,\n src: '',\n scale: 1,\n scaleRatio: 1.4,\n rotate: 0,\n rotateAngle: 90,\n showIndex: props.imageInx,\n})\n\nconst styImage = computed(() => {\n const sty: any = {}\n const transform = []\n transform.push(`scale(${optBase.scale})`)\n transform.push(`rotate(${optBase.rotate}deg)`)\n sty['transform'] = transform.join(' ')\n return sty\n})\n\nconst _initBase = () => {\n const { showIndex } = optBase\n const len = props.list.length\n const isShow = len > 0 && showIndex < len\n optBase.isShow = isShow\n if (isShow) {\n nextTick(() => {\n optBase.isSwitch = true\n optBase.src = props.list[showIndex]\n _selfTop.setPrevNextStatus(showIndex, len)\n })\n } else {\n optBase.isSwitch = false\n }\n}\n\nconst onLarge = () => {\n const { scale, scaleRatio } = optBase\n const newScale = scale * scaleRatio\n if (newScale < 7) {\n optBase.scale = Number(newScale.toFixed(3))\n }\n}\nconst onSmall = () => {\n const { scale, scaleRatio } = optBase\n const newScale = scale / scaleRatio\n if (newScale > 0.18) {\n optBase.scale = Number(newScale.toFixed(3))\n }\n}\nconst onRotateLeft = () => {\n const { rotate, rotateAngle } = optBase\n optBase.rotate = rotate - rotateAngle\n}\nconst onRotateRight = () => {\n const { rotate, rotateAngle } = optBase\n optBase.rotate = rotate + rotateAngle\n}\nconst onReduction = () => {\n optBase.scale = 1\n optBase.rotate = 0\n}\n\nconst show = (showIndex: number) => {\n optBase.showIndex = showIndex\n _initBase()\n}\nconst hide = () => {\n optBase.scale = 1\n optBase.rotate = 0\n optBase.isShow = false\n}\nconst prev = () => {\n const { showIndex } = optBase\n let newShowIndex = -1\n if (showIndex > 0) {\n newShowIndex = showIndex - 1\n } else {\n if (props.isLoop) {\n newShowIndex = props.list.length - 1\n }\n }\n if (newShowIndex > -1) {\n optBase.isSwitch = false\n optBase.showIndex = newShowIndex\n optBase.scale = 1\n optBase.rotate = 0\n _initBase()\n }\n}\nconst next = () => {\n const { showIndex } = optBase\n let newShowIndex = -1\n if (showIndex < props.list.length - 1) {\n newShowIndex = showIndex + 1\n } else {\n if (props.isLoop) {\n newShowIndex = 0\n }\n }\n if (newShowIndex > -1) {\n optBase.isSwitch = false\n optBase.showIndex = newShowIndex\n optBase.scale = 1\n optBase.rotate = 0\n _initBase()\n }\n}\nconst large = () => {\n onLarge()\n}\nconst small = () => {\n onSmall()\n}\n\ndefineExpose({\n show,\n hide,\n prev,\n next,\n large,\n small,\n})\n</script>\n","<template>\n <div class=\"preview-video\">\n <transition\n enter-active-class=\"animated zoomIn\"\n leave-active-class=\"animated zoomOut\"\n >\n <div\n v-if=\"optBase.isShow\"\n class=\"preview-video-container\"\n >\n <div>\n <video\n ref=\"refElVideo\"\n :id=\"optBase.keyIndex\"\n class=\"video-js vjs-default-skin vjs-big-play-centered\"\n />\n </div>\n </div>\n </transition>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { inject, nextTick, reactive, ref } from 'vue'\nimport videojs from 'video.js'\nimport 'video.js/dist/video-js.min.css'\nimport CommonBase from '../../Common/base'\n\ndefineOptions({ name: 'ClPreviewVideo' })\n\nconst props = defineProps({\n videoInx: {\n type: Number,\n default: 0,\n },\n list: {\n type: Array,\n default: () => [],\n },\n isLoop: {\n type: Boolean,\n default: false,\n },\n})\n\nconst emit = defineEmits(['onClick'])\n\nconst _selfTop: any = inject('$PreviewTop')\nconst refElVideo: any = ref(null)\n\nconst optBase: any = reactive({\n keyIndex: `previewVideo-${CommonBase.getRandom(8)}`,\n isShow: false,\n src: '',\n showIndex: props.videoInx,\n})\n\nconst _pageData: any = {\n playerOpt: null,\n}\n\nconst _initVideo = () => {\n if (_pageData.playerOpt) {\n _pageData.playerOpt.src(optBase.src)\n _pageData.playerOpt.play()\n } else {\n const options: any = {\n sources: [{ src: optBase.src }],\n autoplay: true,\n controls: true,\n loop: false,\n }\n _pageData.playerOpt = videojs(refElVideo.value, options, () => {\n _pageData.playerOpt.play()\n })\n }\n}\nconst _initBase = () => {\n const { showIndex } = optBase\n const len = props.list.length\n const isShow = len > 0 && showIndex < len\n optBase.isShow = isShow\n if (isShow) {\n optBase.src = props.list[showIndex]\n _selfTop.setPrevNextStatus(showIndex, len)\n nextTick(() => {\n _initVideo()\n })\n }\n}\nconst _disposeVideo = () => {\n if (_pageData.playerOpt && _pageData.playerOpt.dispose) {\n _pageData.playerOpt.pause && _pageData.playerOpt.pause()\n _pageData.playerOpt.dispose()\n _pageData.playerOpt = null\n }\n}\n\nconst show = (showIndex: number) => {\n optBase.showIndex = showIndex\n _initBase()\n}\nconst hide = () => {\n _disposeVideo()\n optBase.isShow = false\n}\nconst prev = () => {\n const { showIndex } = optBase\n let newShowIndex = -1\n if (showIndex > 0) {\n newShowIndex = showIndex - 1\n } else {\n if (props.isLoop) {\n newShowIndex = props.list.length - 1\n }\n }\n if (newShowIndex > -1) {\n optBase.showIndex = newShowIndex\n _initBase()\n }\n}\nconst next = () => {\n const { showIndex } = optBase\n let newShowIndex = -1\n if (showIndex < props.list.length - 1) {\n newShowIndex = showIndex + 1\n } else {\n if (props.isLoop) {\n newShowIndex = 0\n }\n }\n if (newShowIndex > -1) {\n optBase.showIndex = newShowIndex\n _initBase()\n }\n}\n\ndefineExpose({\n show,\n hide,\n prev,\n next,\n})\n</script>\n","<template>\n <div\n ref=\"refElTopParent\"\n class=\"panel-preview\"\n >\n <div class=\"preview-bg\"></div>\n <div\n class=\"preview-btn preview-close\"\n @click.stop=\"onClose\"\n ><i class=\"clIconFont clIcon-close\"></i></div>\n <template v-if=\"optBase.isShowPrevNext\">\n <div\n :class=\"{'preview-btn':true,'preview-prev':true,'preview-btn-disable':optBase.isDisablePrev}\"\n @click.stop=\"onPrev\"\n ><i class=\"clIconFont clIcon-angle-left\"></i></div>\n <div\n :class=\"{'preview-btn':true,'preview-next':true,'preview-btn-disable':optBase.isDisableNext}\"\n @click.stop=\"onNext\"\n ><i class=\"clIconFont clIcon-angle-right\"></i></div>\n </template>\n <ClPreviewImage\n ref=\"refElImage\"\n v-if=\"optIsImage\"\n :isLoop=\"optBase.isLoop\"\n :list=\"optBase.list\"\n :isShowCopy=\"optBase.isShowCopy\"\n />\n <ClPreviewVideo\n ref=\"refElVideo\"\n v-else-if=\"optIsVideo\"\n :isLoop=\"optBase.isLoop\"\n :list=\"optBase.list\"\n />\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, reactive, computed, provide, onBeforeUnmount, nextTick } from 'vue'\nimport CommonBase from '../../Common/base'\nimport CommonElement from '../../Common/Element/index'\nimport ClPreviewImage from './Image.vue'\nimport ClPreviewVideo from './Video.vue'\nimport './index.css'\n\ndefineOptions({ name: 'ClPreview' })\n\nconst refElTopParent: any = ref(null)\nconst refElImage: any = ref(null)\nconst refElVideo: any = ref(null)\n\nconst optBase: any = reactive({\n type: '',\n list: [],\n isLoop: false,\n isShowPrevNext: false,\n isDisablePrev: false,\n isDisableNext: false,\n isShowCopy: true,\n})\n\nconst optIsImage = computed(() => {\n return optBase.type === 'image'\n})\nconst optIsVideo = computed(() => {\n return optBase.type === 'video'\n})\n\nlet _timeOutDestroyContainer: any = null\n\nconst _getBody = () => {\n const el: any = document.querySelector('body')\n return el\n}\nconst _getTopEl = () => {\n const el: any = document.querySelector('body>.panel-preview')\n return el\n}\nconst _checkContainer = () => {\n const el = _getTopEl()\n return !CommonBase.isUndefined(el)\n}\nconst _creatorContainer = () => {\n if (!_checkContainer()) {\n document.body.className = CommonElement.getAddClass(document.body.className, 'preview-open')\n _getBody().appendChild(refElTopParent.value)\n } else {\n clearTimeout(_timeOutDestroyContainer)\n _timeOutDestroyContainer = null\n }\n}\nconst _onWinKeydown = (e: any) => {\n let keyCode = e.keyCode\n if (!CommonBase.isUndefined(keyCode)) {\n keyCode = keyCode.toString()\n switch (keyCode) {\n case '38':\n e.preventDefault()\n e.stopPropagation()\n break\n case '40':\n e.preventDefault()\n e.stopPropagation()\n break\n }\n }\n}\nconst _onWinKeyup = (e: any) => {\n let keyCode = e.keyCode\n if (!CommonBase.isUndefined(keyCode)) {\n keyCode = keyCode.toString()\n switch (keyCode) {\n case '27':\n onClose()\n break\n case '37':\n onPrev()\n break\n case '38':\n e.preventDefault()\n e.stopPropagation()\n if (optIsImage.value) {\n refElImage.value.large()\n } else if (optIsVideo.value) {\n onPrev()\n }\n break\n case '39':\n onNext()\n break\n case '40':\n e.preventDefault()\n e.stopPropagation()\n if (optIsImage.value) {\n refElImage.value.small()\n } else if (optIsVideo.value) {\n onNext()\n }\n break\n }\n }\n}\nconst _removeQuickEventListener = () => {\n window.removeEventListener('keydown', _onWinKeydown)\n window.removeEventListener('keyup', _onWinKeyup)\n}\nconst _addQuickEventListener = () => {\n window.addEventListener('keydown', _onWinKeydown)\n window.addEventListener('keyup', _onWinKeyup)\n}\nconst _destroyContainer = (isTimeout = false) => {\n if (_checkContainer()) {\n _timeOutDestroyContainer = setTimeout(\n () => {\n const el = _getTopEl()\n if (el) {\n document.body.className = CommonElement.getRemoveClass(\n document.body.className,\n 'preview-open',\n )\n _getBody().removeChild(el)\n }\n _removeQuickEventListener()\n },\n isTimeout ? 2 * 1000 : 0,\n )\n }\n}\nconst _creatorItem = (optExt: any) => {\n if (!CommonBase.isEmpty(optExt) && !CommonBase.isEmpty(optExt.src)) {\n _creatorContainer()\n let srcList: any = []\n const src = optExt.src\n if (CommonBase.isArray(src)) {\n srcList = src\n } else if (CommonBase.isString(src)) {\n srcList = [src]\n }\n optBase.type = optExt.type\n optBase.list = srcList\n optBase.isLoop = CommonBase.isBoolean(optExt.isLoop) ? optExt.isLoop : false\n optBase.isShowCopy = CommonBase.isBoolean(optExt.isShowCopy) ? optExt.isShowCopy : true\n const showIndex = CommonBase.isEmpty(optExt.showIndex) ? 0 : optExt.showIndex\n\n _addQuickEventListener()\n nextTick(() => {\n if (optIsImage.value) {\n refElImage.value.show(showIndex)\n } else if (optIsVideo.value) {\n refElVideo.value.show(showIndex)\n }\n })\n }\n}\n\nonBeforeUnmount(() => {\n _removeQuickEventListener()\n})\n\nconst onClose = () => {\n if (optIsImage.value) {\n refElImage.value.hide()\n } else if (optIsVideo.value) {\n refElVideo.value.hide()\n }\n _destroyContainer()\n}\nconst onPrev = () => {\n if (!optBase.isDisablePrev) {\n if (optIsImage.value) {\n refElImage.value.prev()\n } else if (optIsVideo.value) {\n refElVideo.value.prev()\n }\n }\n}\nconst onNext = () => {\n if (!optBase.isDisableNext) {\n if (optIsImage.value) {\n refElImage.value.next()\n } else if (optIsVideo.value) {\n refElVideo.value.next()\n }\n }\n}\n\nprovide('$PreviewTop', {\n setPrevNextStatus: (showIndex: number, totalLen: number) => {\n const isShowPrevNext = totalLen > 1\n optBase.isShowPrevNext = isShowPrevNext\n if (isShowPrevNext) {\n const { isLoop } = optBase\n optBase.isDisablePrev = isLoop ? false : showIndex === 0\n optBase.isDisableNext = isLoop ? false : showIndex === totalLen - 1\n }\n },\n})\n\nconst show = (opt: any) => {\n _creatorItem(opt)\n}\nconst destroy = () => {\n _destroyContainer()\n}\n\ndefineExpose({\n show,\n destroy,\n})\n</script>\n"],"names":["props","__props","_selfTop","inject","optBase","reactive","styImage","computed","sty","transform","_initBase","showIndex","len","isShow","nextTick","onLarge","scale","scaleRatio","newScale","onSmall","onRotateLeft","rotate","rotateAngle","onRotateRight","onReduction","__expose","newShowIndex","_openBlock","_createElementBlock","_hoisted_1","_normalizeClass","_createElementVNode","_hoisted_2","_hoisted_3","_createVNode","ClClipboard","_hoisted_4","_toDisplayString","_Transition","_withDirectives","_hoisted_5","_vShow","refElVideo","ref","CommonBase","_pageData","_initVideo","options","videojs","_disposeVideo","refElTopParent","refElImage","optIsImage","optIsVideo","_timeOutDestroyContainer","_getBody","_getTopEl","_checkContainer","el","_creatorContainer","CommonElement","_onWinKeydown","e","keyCode","_onWinKeyup","onClose","onPrev","onNext","_removeQuickEventListener","_addQuickEventListener","_destroyContainer","isTimeout","_creatorItem","optExt","srcList","src","onBeforeUnmount","provide","totalLen","isShowPrevNext","isLoop","opt","_Fragment","_createBlock","ClPreviewImage","ClPreviewVideo"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,UAAMA,IAAQC,GAqBRC,IAAgBC,EAAO,aAAa,GAEpCC,IAAeC,EAAS;AAAA,MAC5B,QAAQ;AAAA,MACR,UAAU;AAAA,MACV,KAAK;AAAA,MACL,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,aAAa;AAAA,MACb,WAAWL,EAAM;AAAA,IAAA,CAClB,GAEKM,IAAWC,EAAS,MAAM;AAC9B,YAAMC,IAAW,CAAA,GACXC,IAAY,CAAA;AAClB,aAAAA,EAAU,KAAK,SAASL,EAAQ,KAAK,GAAG,GACxCK,EAAU,KAAK,UAAUL,EAAQ,MAAM,MAAM,GAC7CI,EAAI,YAAeC,EAAU,KAAK,GAAG,GAC9BD;AAAA,IACT,CAAC,GAEKE,IAAY,MAAM;AACtB,YAAM,EAAE,WAAAC,MAAcP,GAChBQ,IAAMZ,EAAM,KAAK,QACjBa,IAASD,IAAM,KAAKD,IAAYC;AACtC,MAAAR,EAAQ,SAASS,GACbA,IACFC,EAAS,MAAM;AACb,QAAAV,EAAQ,WAAW,IACnBA,EAAQ,MAAMJ,EAAM,KAAKW,CAAS,GAClCT,EAAS,kBAAkBS,GAAWC,CAAG;AAAA,MAC3C,CAAC,IAEDR,EAAQ,WAAW;AAAA,IAEvB,GAEMW,IAAU,MAAM;AACpB,YAAM,EAAE,OAAAC,GAAO,YAAAC,EAAA,IAAeb,GACxBc,IAAWF,IAAQC;AACzB,MAAIC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