@cldemo/ui-kit 1.0.9 → 1.0.11
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 +2 -2
- package/buildLibs/all/index.cjs +2 -5
- package/buildLibs/all/index.css +1 -0
- package/buildLibs/all/index.js +82 -6
- package/buildLibs/mobile/index.cjs +2 -5
- package/buildLibs/mobile/index.css +1 -0
- package/buildLibs/mobile/index.js +50 -6
- package/buildLibs/utils/Element/ClBadge.d.ts +3 -0
- package/buildLibs/utils/Element/ClBreadcrumb.d.ts +3 -0
- package/buildLibs/utils/Element/ClButton.d.ts +3 -0
- package/buildLibs/utils/Element/ClCallout.d.ts +3 -0
- package/buildLibs/utils/Element/ClCard.d.ts +3 -0
- package/buildLibs/utils/Element/ClCardColor.d.ts +3 -0
- package/buildLibs/utils/Element/ClCheckbox.d.ts +3 -0
- package/buildLibs/utils/Element/ClCheckboxOne.cjs +2 -0
- package/buildLibs/utils/Element/ClCheckboxOne.cjs.map +1 -0
- package/buildLibs/utils/Element/ClCheckboxOne.d.ts +3 -0
- package/buildLibs/utils/Element/ClCheckboxOne.js +5 -0
- package/buildLibs/utils/Element/ClCheckboxOne.js.map +1 -0
- package/buildLibs/utils/Element/ClClipboard.d.ts +3 -0
- package/buildLibs/utils/Element/ClCollapse.d.ts +3 -0
- package/buildLibs/utils/Element/ClCountDown.d.ts +3 -0
- package/buildLibs/utils/Element/ClCountUp.d.ts +3 -0
- package/buildLibs/utils/Element/ClCropper.d.ts +3 -0
- package/buildLibs/utils/Element/ClDarg.d.ts +3 -0
- package/buildLibs/utils/Element/ClDivider.d.ts +3 -0
- package/buildLibs/utils/Element/ClEllipsis.d.ts +3 -0
- package/buildLibs/utils/Element/ClEmpty.d.ts +3 -0
- package/buildLibs/utils/Element/ClForm.d.ts +3 -0
- package/buildLibs/utils/Element/ClFormGroup.d.ts +3 -0
- package/buildLibs/utils/Element/ClFormValidate.cjs +2 -0
- package/buildLibs/utils/Element/ClFormValidate.cjs.map +1 -0
- package/buildLibs/utils/Element/ClFormValidate.d.ts +3 -0
- package/buildLibs/utils/Element/ClFormValidate.js +5 -0
- package/buildLibs/utils/Element/ClFormValidate.js.map +1 -0
- package/buildLibs/utils/Element/ClIconFont.d.ts +3 -0
- package/buildLibs/utils/Element/ClImage.cjs +1 -1
- package/buildLibs/utils/Element/ClImage.d.ts +3 -0
- package/buildLibs/utils/Element/ClImage.js +1 -1
- package/buildLibs/utils/Element/ClInput.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputCaptcha.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputNumber.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputNumberStepper.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputPassword.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputSearch.d.ts +3 -0
- package/buildLibs/utils/Element/ClInputTextarea.d.ts +3 -0
- package/buildLibs/utils/Element/ClLink.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoad.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadFullCenter.cjs +2 -0
- package/buildLibs/utils/Element/ClLoadFullCenter.cjs.map +1 -0
- package/buildLibs/utils/Element/ClLoadFullCenter.css +1 -0
- package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadFullCenter.js +45 -0
- package/buildLibs/utils/Element/ClLoadFullCenter.js.map +1 -0
- package/buildLibs/utils/Element/ClLoadIng.cjs +2 -0
- package/buildLibs/utils/Element/ClLoadIng.cjs.map +1 -0
- package/buildLibs/utils/Element/ClLoadIng.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadIng.js +5 -0
- package/buildLibs/utils/Element/ClLoadIng.js.map +1 -0
- package/buildLibs/utils/Element/ClLoadScreen.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadWarp.cjs +2 -0
- package/buildLibs/utils/Element/ClLoadWarp.cjs.map +1 -0
- package/buildLibs/utils/Element/ClLoadWarp.css +1 -0
- package/buildLibs/utils/Element/ClLoadWarp.d.ts +3 -0
- package/buildLibs/utils/Element/ClLoadWarp.js +53 -0
- package/buildLibs/utils/Element/ClLoadWarp.js.map +1 -0
- package/buildLibs/utils/Element/ClModal.d.ts +3 -0
- package/buildLibs/utils/Element/ClOverlay.d.ts +3 -0
- package/buildLibs/utils/Element/ClProgress.d.ts +3 -0
- package/buildLibs/utils/Element/ClRadio.d.ts +3 -0
- package/buildLibs/utils/Element/ClRadioOne.cjs +2 -0
- package/buildLibs/utils/Element/ClRadioOne.cjs.map +1 -0
- package/buildLibs/utils/Element/ClRadioOne.d.ts +3 -0
- package/buildLibs/utils/Element/ClRadioOne.js +5 -0
- package/buildLibs/utils/Element/ClRadioOne.js.map +1 -0
- package/buildLibs/utils/Element/ClSlider.d.ts +3 -0
- package/buildLibs/utils/Element/ClSwitchery.d.ts +3 -0
- package/buildLibs/utils/Element/ClTags.d.ts +3 -0
- package/buildLibs/utils/Element/ClTransitionSlideupdown.cjs +2 -0
- package/buildLibs/utils/Element/ClTransitionSlideupdown.cjs.map +1 -0
- package/buildLibs/utils/Element/ClTransitionSlideupdown.d.ts +3 -0
- package/buildLibs/utils/Element/ClTransitionSlideupdown.js +5 -0
- package/buildLibs/utils/Element/ClTransitionSlideupdown.js.map +1 -0
- package/buildLibs/utils/Element/ClWaterfall.d.ts +3 -0
- package/buildLibs/utils/Element/ClWaterfallImage.cjs +2 -0
- package/buildLibs/utils/Element/ClWaterfallImage.cjs.map +1 -0
- package/buildLibs/utils/Element/ClWaterfallImage.css +1 -0
- package/buildLibs/utils/Element/ClWaterfallImage.d.ts +3 -0
- package/buildLibs/utils/Element/ClWaterfallImage.js +48 -0
- package/buildLibs/utils/Element/ClWaterfallImage.js.map +1 -0
- package/buildLibs/utils/Mobile/ClActionBar.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClActionSheet.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClAreaM.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClBackTop.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClBanner.cjs +1 -1
- package/buildLibs/utils/Mobile/ClBanner.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClBanner.js +1 -1
- package/buildLibs/utils/Mobile/ClCalendarM.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClCell.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClCellSwipe.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClCodeLegendM.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClDropdownMenuM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClDropdownMenuM.cjs.map +1 -1
- package/buildLibs/utils/Mobile/ClDropdownMenuM.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClDropdownMenuM.js +13 -12
- package/buildLibs/utils/Mobile/ClDropdownMenuM.js.map +1 -1
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.cjs +2 -0
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.cjs.map +1 -0
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.js +160 -0
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.js.map +1 -0
- package/buildLibs/utils/Mobile/ClFloatingBubble.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClFloatingPanel.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClGrid.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClHighlightM.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClIndexBar.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClInputOtp.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClNavBar.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClNoticeBar.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClNotifyM.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClNumberKeyboard.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClPicker.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPicker.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClPicker.js +1 -1
- package/buildLibs/utils/Mobile/ClPickerCascader.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClPickerDate.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPickerDate.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClPickerDate.js +1 -1
- package/buildLibs/utils/Mobile/ClPickerTime.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPickerTime.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClPickerTime.js +1 -1
- package/buildLibs/utils/Mobile/ClPopup.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClPullToRefresh.js +1 -1
- package/buildLibs/utils/Mobile/ClRate.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClScrollCard.cjs +1 -1
- package/buildLibs/utils/Mobile/ClScrollCard.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClScrollCard.js +1 -1
- package/buildLibs/utils/Mobile/ClShareSheet.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClSidebar.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClSidebarSelect.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClSignature.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClSteps.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClSwipe.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClTabM.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClTabbar.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClToast.d.ts +3 -0
- package/buildLibs/utils/Mobile/ClWatermark.d.ts +3 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BPgunUb2.js → Index.vue_vue_type_script_setup_true_lang-6KT1IHDu.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BPgunUb2.js.map → Index.vue_vue_type_script_setup_true_lang-6KT1IHDu.js.map} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-yZtW91.js +71 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-yZtW91.js.map +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-gtDsWrhd.js → Index.vue_vue_type_script_setup_true_lang-BDPkmgGP.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-gtDsWrhd.js.map → Index.vue_vue_type_script_setup_true_lang-BDPkmgGP.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D_IwyxiV.js → Index.vue_vue_type_script_setup_true_lang-Bnjm8vi-.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D_IwyxiV.js.map → Index.vue_vue_type_script_setup_true_lang-Bnjm8vi-.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cpb9rd-y.js → Index.vue_vue_type_script_setup_true_lang-Bs8FGIQa.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cpb9rd-y.js.map → Index.vue_vue_type_script_setup_true_lang-Bs8FGIQa.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-hm75HKxP.js → Index.vue_vue_type_script_setup_true_lang-C7FRB7fV.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-hm75HKxP.js.map → Index.vue_vue_type_script_setup_true_lang-C7FRB7fV.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Xe4BacqD.js → Index.vue_vue_type_script_setup_true_lang-CFzimlB_.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Xe4BacqD.js.map → Index.vue_vue_type_script_setup_true_lang-CFzimlB_.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bp39ENoP.js → Index.vue_vue_type_script_setup_true_lang-CGeXNRtY.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bp39ENoP.js.map → Index.vue_vue_type_script_setup_true_lang-CGeXNRtY.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-4NloX3Qk.js → Index.vue_vue_type_script_setup_true_lang-CSV9UWJx.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-4NloX3Qk.js.map → Index.vue_vue_type_script_setup_true_lang-CSV9UWJx.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CRJ3-pTH.js → Index.vue_vue_type_script_setup_true_lang-ChE1tZwr.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CRJ3-pTH.js.map → Index.vue_vue_type_script_setup_true_lang-ChE1tZwr.js.map} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CjgtxJ6a.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CjgtxJ6a.js.map +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-N1GhNa1r.js → Index.vue_vue_type_script_setup_true_lang-CpuYxzDD.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-N1GhNa1r.js.map → Index.vue_vue_type_script_setup_true_lang-CpuYxzDD.js.map} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CumTbPny.js +2 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CumTbPny.js.map +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-NdqbsOrG.js → Index.vue_vue_type_script_setup_true_lang-CvF_iIQS.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-NdqbsOrG.js.map → Index.vue_vue_type_script_setup_true_lang-CvF_iIQS.js.map} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CxVAWr6w.js +266 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CxVAWr6w.js.map +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DgMvq-RQ.js → Index.vue_vue_type_script_setup_true_lang-DFKjhT_C.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DgMvq-RQ.js.map → Index.vue_vue_type_script_setup_true_lang-DFKjhT_C.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D22m4oiN.js → Index.vue_vue_type_script_setup_true_lang-DdWmaT86.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D22m4oiN.js.map → Index.vue_vue_type_script_setup_true_lang-DdWmaT86.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BtoovAWs.js → Index.vue_vue_type_script_setup_true_lang-DxHfO8TH.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BtoovAWs.js.map → Index.vue_vue_type_script_setup_true_lang-DxHfO8TH.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CW63TdvW.js → Index.vue_vue_type_script_setup_true_lang-HwprdMv4.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CW63TdvW.js.map → Index.vue_vue_type_script_setup_true_lang-HwprdMv4.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BLp0owhs.js → Index.vue_vue_type_script_setup_true_lang-IGgTDykL.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BLp0owhs.js.map → Index.vue_vue_type_script_setup_true_lang-IGgTDykL.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BKr3_J68.js → Index.vue_vue_type_script_setup_true_lang-Lwl-M8kR.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BKr3_J68.js.map → Index.vue_vue_type_script_setup_true_lang-Lwl-M8kR.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dxb_K2w0.js → Index.vue_vue_type_script_setup_true_lang-gsnpWNek.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dxb_K2w0.js.map → Index.vue_vue_type_script_setup_true_lang-gsnpWNek.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-EGKo8cIw.js → Index.vue_vue_type_script_setup_true_lang-huUkL0wY.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-EGKo8cIw.js.map → Index.vue_vue_type_script_setup_true_lang-huUkL0wY.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BFSRH9yz.js → Index.vue_vue_type_script_setup_true_lang-in1ZSapu.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BFSRH9yz.js.map → Index.vue_vue_type_script_setup_true_lang-in1ZSapu.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C8HQVerr.js → Index.vue_vue_type_script_setup_true_lang-r6RBdV4y.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C8HQVerr.js.map → Index.vue_vue_type_script_setup_true_lang-r6RBdV4y.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DvzXfKhj.js → Index.vue_vue_type_script_setup_true_lang-tTHdssVu.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DvzXfKhj.js.map → Index.vue_vue_type_script_setup_true_lang-tTHdssVu.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BxxIDGfR.js → Index.vue_vue_type_script_setup_true_lang-tjRv0vNR.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BxxIDGfR.js.map → Index.vue_vue_type_script_setup_true_lang-tjRv0vNR.js.map} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bk2WD0GS.js → Index.vue_vue_type_script_setup_true_lang-yahz6Ej5.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bk2WD0GS.js.map → Index.vue_vue_type_script_setup_true_lang-yahz6Ej5.js.map} +1 -1
- package/buildLibs/utils/Shared/Index24.css +1 -1
- package/buildLibs/utils/Shared/Index25.css +1 -1
- package/buildLibs/utils/Shared/Index26.css +1 -1
- package/buildLibs/utils/Shared/Index27.css +1 -1
- package/buildLibs/utils/Shared/Index28.css +1 -1
- package/buildLibs/utils/Shared/Index29.css +1 -1
- package/buildLibs/utils/Shared/Index30.css +1 -1
- package/buildLibs/utils/Shared/Index31.css +1 -1
- package/buildLibs/utils/Shared/Index32.css +1 -1
- package/buildLibs/utils/Shared/Index33.css +1 -1
- package/buildLibs/utils/Shared/Index34.css +1 -1
- package/buildLibs/utils/Shared/Index35.css +1 -1
- package/buildLibs/utils/Shared/Index36.css +1 -1
- package/buildLibs/utils/Shared/Index37.css +1 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-CR1t8XZl.js +2 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-CR1t8XZl.js.map +1 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-oBeFlRzi.js +148 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-oBeFlRzi.js.map +1 -0
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-Bquk40ES.js +406 -0
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-Bquk40ES.js.map +1 -0
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-CAmKX5pn.js +2 -0
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-CAmKX5pn.js.map +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C9mOHVoE.js → use-CKNkvmW4.js} +78 -141
- package/buildLibs/utils/Shared/use-CKNkvmW4.js.map +1 -0
- package/buildLibs/utils/Shared/use-D0Yu2Dbn.js +2 -0
- package/buildLibs/utils/Shared/use-D0Yu2Dbn.js.map +1 -0
- package/buildLibs/utils/Web/ClAnchorNav.d.ts +3 -0
- package/buildLibs/utils/Web/ClCalendar.d.ts +3 -0
- package/buildLibs/utils/Web/ClCodeLegend.d.ts +3 -0
- package/buildLibs/utils/Web/ClColorpicker.d.ts +3 -0
- package/buildLibs/utils/Web/ClCropperPreview.cjs +1 -1
- package/buildLibs/utils/Web/ClCropperPreview.d.ts +3 -0
- package/buildLibs/utils/Web/ClCropperPreview.js +2 -2
- package/buildLibs/utils/Web/ClDatetime.cjs +1 -1
- package/buildLibs/utils/Web/ClDatetime.d.ts +3 -0
- package/buildLibs/utils/Web/ClDatetime.js +1 -1
- package/buildLibs/utils/Web/ClDropdownMenu.d.ts +3 -0
- package/buildLibs/utils/Web/ClDropdownMenuItem.cjs +2 -0
- package/buildLibs/utils/Web/ClDropdownMenuItem.cjs.map +1 -0
- package/buildLibs/utils/Web/ClDropdownMenuItem.css +1 -0
- package/buildLibs/utils/Web/ClDropdownMenuItem.d.ts +3 -0
- package/buildLibs/utils/Web/ClDropdownMenuItem.js +72 -0
- package/buildLibs/utils/Web/ClDropdownMenuItem.js.map +1 -0
- package/buildLibs/utils/Web/ClDropdownPopup.d.ts +3 -0
- package/buildLibs/utils/Web/ClEcharts.cjs +1 -1
- package/buildLibs/utils/Web/ClEcharts.d.ts +3 -0
- package/buildLibs/utils/Web/ClEcharts.js +1 -1
- package/buildLibs/utils/Web/ClEchartsLineAxisTag.cjs +1 -1
- package/buildLibs/utils/Web/ClEchartsLineAxisTag.d.ts +3 -0
- package/buildLibs/utils/Web/ClEchartsLineAxisTag.js +1 -1
- package/buildLibs/utils/Web/ClFileUpload.cjs +1 -1
- package/buildLibs/utils/Web/ClFileUpload.d.ts +3 -0
- package/buildLibs/utils/Web/ClFileUpload.js +1 -1
- package/buildLibs/utils/Web/ClFramePhone.d.ts +3 -0
- package/buildLibs/utils/Web/ClInputTag.cjs +1 -1
- package/buildLibs/utils/Web/ClInputTag.d.ts +3 -0
- package/buildLibs/utils/Web/ClInputTag.js +1 -1
- package/buildLibs/utils/Web/ClPaginate.cjs +1 -1
- package/buildLibs/utils/Web/ClPaginate.d.ts +3 -0
- package/buildLibs/utils/Web/ClPaginate.js +1 -1
- package/buildLibs/utils/Web/ClPortlet.d.ts +3 -0
- package/buildLibs/utils/Web/ClPreviewExample.cjs +1 -1
- package/buildLibs/utils/Web/ClPreviewExample.d.ts +3 -0
- package/buildLibs/utils/Web/ClPreviewExample.js +1 -1
- package/buildLibs/utils/Web/ClScrollXFence.cjs +1 -1
- package/buildLibs/utils/Web/ClScrollXFence.d.ts +3 -0
- package/buildLibs/utils/Web/ClScrollXFence.js +1 -1
- package/buildLibs/utils/Web/ClSelect.cjs +1 -1
- package/buildLibs/utils/Web/ClSelect.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelect.js +1 -1
- package/buildLibs/utils/Web/ClSelectCascade.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectCascade.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectCascade.js +1 -1
- package/buildLibs/utils/Web/ClSelectTag.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectTag.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectTag.js +1 -1
- package/buildLibs/utils/Web/ClSelectTree.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectTree.d.ts +3 -0
- package/buildLibs/utils/Web/ClSelectTree.js +1 -1
- package/buildLibs/utils/Web/ClSelectmove.d.ts +3 -0
- package/buildLibs/utils/Web/ClSidemenu.d.ts +3 -0
- package/buildLibs/utils/Web/ClTable.cjs +1 -1
- package/buildLibs/utils/Web/ClTable.cjs.map +1 -1
- package/buildLibs/utils/Web/ClTable.d.ts +3 -0
- package/buildLibs/utils/Web/ClTable.js +1081 -1218
- package/buildLibs/utils/Web/ClTable.js.map +1 -1
- package/buildLibs/utils/Web/ClTableEdit.d.ts +3 -0
- package/buildLibs/utils/Web/ClTableSimple.d.ts +3 -0
- package/buildLibs/utils/Web/ClTabs.cjs +1 -1
- package/buildLibs/utils/Web/ClTabs.d.ts +3 -0
- package/buildLibs/utils/Web/ClTabs.js +1 -1
- package/buildLibs/utils/Web/ClTree.cjs +1 -1
- package/buildLibs/utils/Web/ClTree.d.ts +3 -0
- package/buildLibs/utils/Web/ClTree.js +1 -1
- package/buildLibs/utils/Web/ClWeekhour.d.ts +3 -0
- package/buildLibs/utils/Web/ClXeditable.cjs +1 -1
- package/buildLibs/utils/Web/ClXeditable.cjs.map +1 -1
- package/buildLibs/utils/Web/ClXeditable.d.ts +3 -0
- package/buildLibs/utils/Web/ClXeditable.js +33 -32
- package/buildLibs/utils/Web/ClXeditable.js.map +1 -1
- package/buildLibs/web/index.cjs +2 -5
- package/buildLibs/web/index.css +1 -0
- package/buildLibs/web/index.js +76 -6
- package/docs/components/Element/Input.md +1 -1
- package/docs/components/Element/InputNumber.md +1 -1
- package/package.json +21 -8
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-yxIx8F.js +0 -663
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-yxIx8F.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-C9mOHVoE.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CcOk4kyd.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CcOk4kyd.js.map +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DtZgYjSl.js +0 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DtZgYjSl.js.map +0 -1
- package/buildLibs/utils/Shared/Video-BV0YLYT2.js +0 -114
- package/buildLibs/utils/Shared/Video-BV0YLYT2.js.map +0 -1
- package/buildLibs/utils/Shared/Video-c3jHJSxl.js +0 -2
- package/buildLibs/utils/Shared/Video-c3jHJSxl.js.map +0 -1
- package/buildLibs/utils/Shared/Video.css +0 -1
- package/buildLibs/utils/Web/ClDropdownMenuM.css +0 -1
- package/buildLibs/utils/Web/ClPreview.cjs +0 -2
- package/buildLibs/utils/Web/ClPreview.cjs.map +0 -1
- package/buildLibs/utils/Web/ClPreview.css +0 -1
- package/buildLibs/utils/Web/ClPreview.js +0 -353
- package/buildLibs/utils/Web/ClPreview.js.map +0 -1
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
import { defineComponent as W, inject as G, reactive as O, computed as I, openBlock as r, createElementBlock as d, normalizeClass as P, createElementVNode as m, withModifiers as g, createVNode as p, Fragment as C, toDisplayString as q, Transition as H, withCtx as X, withDirectives as J, normalizeStyle as Y, vShow as K, createCommentVNode as M, defineAsyncComponent as Z, ref as V, onBeforeUnmount as ee, provide as se, createBlock as Q, unref as te, nextTick as oe } from "vue";
|
|
2
|
-
import { C as l } from "../Shared/base-DU7nGSf6.js";
|
|
3
|
-
import { C as x } from "../Shared/index-DvNmQjNH.js";
|
|
4
|
-
import { _ as ie } from "../Shared/Index.vue_vue_type_script_setup_true_lang-C7NQ-ioq.js";
|
|
5
|
-
import { _ as h } from "../Shared/Index.vue_vue_type_script_setup_true_lang-D4kAoS8e.js";
|
|
6
|
-
import { _ as ne } from "../Shared/Index.vue_vue_type_script_setup_true_lang-ByzNMF0c.js";
|
|
7
|
-
const ae = { class: "preview-image" }, le = { class: "preview-image-actions-container" }, re = { key: 0 }, ce = {
|
|
8
|
-
key: 2,
|
|
9
|
-
class: "image-num"
|
|
10
|
-
}, de = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "preview-image-container"
|
|
13
|
-
}, me = ["src"], pe = {
|
|
14
|
-
key: 0,
|
|
15
|
-
class: "preview-image-loading"
|
|
16
|
-
}, ue = /* @__PURE__ */ W({
|
|
17
|
-
name: "ClPreviewImage",
|
|
18
|
-
__name: "Image",
|
|
19
|
-
props: {
|
|
20
|
-
imageInx: {
|
|
21
|
-
type: Number,
|
|
22
|
-
default: 0
|
|
23
|
-
// desc: 当前显示的图片索引
|
|
24
|
-
},
|
|
25
|
-
list: {
|
|
26
|
-
type: Array,
|
|
27
|
-
default: () => []
|
|
28
|
-
// desc: 图片地址列表
|
|
29
|
-
},
|
|
30
|
-
isLoop: {
|
|
31
|
-
type: Boolean,
|
|
32
|
-
default: !1
|
|
33
|
-
// desc: 是否循环切换 | enum: true, false
|
|
34
|
-
},
|
|
35
|
-
isShowCopy: {
|
|
36
|
-
type: Boolean,
|
|
37
|
-
default: !0
|
|
38
|
-
// desc: 是否显示复制按钮 | enum: true, false
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
setup(k, { expose: T }) {
|
|
42
|
-
const f = k, S = G("$PreviewTop");
|
|
43
|
-
let a = null;
|
|
44
|
-
const e = O({
|
|
45
|
-
isShow: !1,
|
|
46
|
-
isSwitch: !1,
|
|
47
|
-
isLoading: !1,
|
|
48
|
-
src: "",
|
|
49
|
-
isFading: !1,
|
|
50
|
-
scale: 1,
|
|
51
|
-
scaleRatio: 1.4,
|
|
52
|
-
rotate: 0,
|
|
53
|
-
rotateAngle: 90,
|
|
54
|
-
showIndex: f.imageInx
|
|
55
|
-
}), t = I(() => {
|
|
56
|
-
const i = {}, o = [];
|
|
57
|
-
return o.push(`scale(${e.scale})`), o.push(`rotate(${e.rotate}deg)`), i.transform = o.join(" "), i.opacity = e.isFading ? "0" : "1", i;
|
|
58
|
-
}), v = () => {
|
|
59
|
-
if (!S)
|
|
60
|
-
return;
|
|
61
|
-
const { showIndex: i } = e, o = f.list, c = l.isArray(o) ? o.length : 0, A = c > 0 && i >= 0 && i < c;
|
|
62
|
-
if (e.isShow = A, A) {
|
|
63
|
-
a && clearTimeout(a);
|
|
64
|
-
const j = e.isFading ? 200 : 0;
|
|
65
|
-
setTimeout(() => {
|
|
66
|
-
e.isSwitch = !0, e.src = f.list[i], S.setPrevNextStatus(i, c), a = setTimeout(() => {
|
|
67
|
-
e.isLoading = !0;
|
|
68
|
-
}, 150);
|
|
69
|
-
}, j);
|
|
70
|
-
} else
|
|
71
|
-
e.isSwitch = !1;
|
|
72
|
-
}, D = () => {
|
|
73
|
-
a && (clearTimeout(a), a = null), e.isFading = !1, e.isLoading = !1;
|
|
74
|
-
}, w = () => {
|
|
75
|
-
a && (clearTimeout(a), a = null), e.isFading = !1, e.isLoading = !1;
|
|
76
|
-
}, u = () => {
|
|
77
|
-
const { scale: i, scaleRatio: o } = e, c = i * o;
|
|
78
|
-
c < 7 && (e.scale = Number(c.toFixed(3)));
|
|
79
|
-
}, _ = () => {
|
|
80
|
-
const { scale: i, scaleRatio: o } = e, c = i / o;
|
|
81
|
-
c > 0.18 && (e.scale = Number(c.toFixed(3)));
|
|
82
|
-
}, b = () => {
|
|
83
|
-
const { rotate: i, rotateAngle: o } = e;
|
|
84
|
-
e.rotate = (i - o) % 360;
|
|
85
|
-
}, N = () => {
|
|
86
|
-
const { rotate: i, rotateAngle: o } = e;
|
|
87
|
-
e.rotate = (i + o) % 360;
|
|
88
|
-
}, B = () => {
|
|
89
|
-
e.scale = 1, e.rotate = 0;
|
|
90
|
-
};
|
|
91
|
-
return T({
|
|
92
|
-
show: (i) => {
|
|
93
|
-
e.showIndex = i, v();
|
|
94
|
-
},
|
|
95
|
-
hide: () => {
|
|
96
|
-
e.scale = 1, e.rotate = 0, e.isFading = !1, e.isShow = !1;
|
|
97
|
-
},
|
|
98
|
-
prev: () => {
|
|
99
|
-
const { showIndex: i } = e;
|
|
100
|
-
let o = -1;
|
|
101
|
-
i > 0 ? o = i - 1 : f.isLoop && (o = f.list.length - 1), o > -1 && (e.isFading = !0, e.showIndex = o, e.scale = 1, e.rotate = 0, v());
|
|
102
|
-
},
|
|
103
|
-
next: () => {
|
|
104
|
-
const { showIndex: i } = e;
|
|
105
|
-
let o = -1;
|
|
106
|
-
i < f.list.length - 1 ? o = i + 1 : f.isLoop && (o = 0), o > -1 && (e.isFading = !0, e.showIndex = o, e.scale = 1, e.rotate = 0, v());
|
|
107
|
-
},
|
|
108
|
-
large: () => {
|
|
109
|
-
u();
|
|
110
|
-
},
|
|
111
|
-
small: () => {
|
|
112
|
-
_();
|
|
113
|
-
}
|
|
114
|
-
}), (i, o) => (r(), d("div", ae, [
|
|
115
|
-
e.isShow ? (r(), d("div", {
|
|
116
|
-
key: 0,
|
|
117
|
-
class: P({
|
|
118
|
-
"preview-btn": !0,
|
|
119
|
-
"preview-image-actions": !0,
|
|
120
|
-
"preview-image-num": k.list.length > 1
|
|
121
|
-
})
|
|
122
|
-
}, [
|
|
123
|
-
m("div", le, [
|
|
124
|
-
m("span", {
|
|
125
|
-
onClick: g(u, ["stop"])
|
|
126
|
-
}, [
|
|
127
|
-
p(h, { name: "search-plus" })
|
|
128
|
-
]),
|
|
129
|
-
m("span", {
|
|
130
|
-
onClick: g(_, ["stop"])
|
|
131
|
-
}, [
|
|
132
|
-
p(h, { name: "search-minus" })
|
|
133
|
-
]),
|
|
134
|
-
m("span", {
|
|
135
|
-
onClick: g(b, ["stop"])
|
|
136
|
-
}, [
|
|
137
|
-
p(h, { name: "rotate-left" })
|
|
138
|
-
]),
|
|
139
|
-
m("span", {
|
|
140
|
-
onClick: g(N, ["stop"])
|
|
141
|
-
}, [
|
|
142
|
-
p(h, { name: "rotate-right" })
|
|
143
|
-
]),
|
|
144
|
-
m("span", {
|
|
145
|
-
onClick: g(B, ["stop"])
|
|
146
|
-
}, [
|
|
147
|
-
p(h, { name: "restore" })
|
|
148
|
-
]),
|
|
149
|
-
k.isShowCopy ? (r(), d("span", re, [
|
|
150
|
-
p(ne, {
|
|
151
|
-
textLabel: e.src
|
|
152
|
-
}, null, 8, ["textLabel"])
|
|
153
|
-
])) : (r(), d(C, { key: 1 }, [], 64)),
|
|
154
|
-
k.list.length > 1 ? (r(), d("span", ce, q(e.showIndex + 1) + "/" + q(k.list.length), 1)) : (r(), d(C, { key: 3 }, [], 64))
|
|
155
|
-
])
|
|
156
|
-
], 2)) : (r(), d(C, { key: 1 }, [], 64)),
|
|
157
|
-
p(H, {
|
|
158
|
-
"enter-active-class": "preview-image-enter",
|
|
159
|
-
"leave-active-class": "preview-image-leave"
|
|
160
|
-
}, {
|
|
161
|
-
default: X(() => [
|
|
162
|
-
e.isShow ? J((r(), d("div", de, [
|
|
163
|
-
J(m("img", {
|
|
164
|
-
src: e.src,
|
|
165
|
-
style: Y(t.value),
|
|
166
|
-
onLoad: D,
|
|
167
|
-
onError: w
|
|
168
|
-
}, null, 44, me), [
|
|
169
|
-
[K, !e.isLoading]
|
|
170
|
-
]),
|
|
171
|
-
e.isLoading ? (r(), d("div", pe, [...o[0] || (o[0] = [
|
|
172
|
-
m("div", { class: "preview-image-spinner" }, null, -1)
|
|
173
|
-
])])) : M("", !0)
|
|
174
|
-
], 512)), [
|
|
175
|
-
[K, e.isSwitch]
|
|
176
|
-
]) : M("", !0)
|
|
177
|
-
]),
|
|
178
|
-
_: 1
|
|
179
|
-
})
|
|
180
|
-
]));
|
|
181
|
-
}
|
|
182
|
-
}), fe = ["id"], _e = /* @__PURE__ */ W({
|
|
183
|
-
name: "ClPreview",
|
|
184
|
-
__name: "Index",
|
|
185
|
-
setup(k, { expose: T }) {
|
|
186
|
-
const f = Z(() => import("../Shared/Video-BV0YLYT2.js")), S = V(null), a = V(null), e = V(null), t = O({
|
|
187
|
-
elId: `preview-${l.getRandom(5)}`,
|
|
188
|
-
className: "",
|
|
189
|
-
type: "",
|
|
190
|
-
list: [],
|
|
191
|
-
isLoop: !1,
|
|
192
|
-
isShowPrevNext: !1,
|
|
193
|
-
isDisablePrev: !1,
|
|
194
|
-
isDisableNext: !1,
|
|
195
|
-
isShowCopy: !0
|
|
196
|
-
});
|
|
197
|
-
let v = null;
|
|
198
|
-
const D = I(() => {
|
|
199
|
-
let s = { "panel-preview": !0 };
|
|
200
|
-
return s = l.getJsonMerge(s, x.getClassNameJson(t.className)), s;
|
|
201
|
-
}), w = I(() => t.type === "image"), u = I(() => t.type === "video"), _ = () => document.querySelector("body"), b = () => document.querySelector("body>.panel-preview"), N = () => {
|
|
202
|
-
const s = b();
|
|
203
|
-
return !l.isUndefined(s);
|
|
204
|
-
}, B = () => {
|
|
205
|
-
N() ? (clearTimeout(v), v = null) : (document.body.className = x.getAddClass(document.body.className, "preview-open"), _().appendChild(S.value));
|
|
206
|
-
}, F = (s) => {
|
|
207
|
-
let n = s.keyCode;
|
|
208
|
-
if (!l.isUndefined(n))
|
|
209
|
-
switch (n = n.toString(), n) {
|
|
210
|
-
case "38":
|
|
211
|
-
s.preventDefault(), s.stopPropagation();
|
|
212
|
-
break;
|
|
213
|
-
case "40":
|
|
214
|
-
s.preventDefault(), s.stopPropagation();
|
|
215
|
-
break;
|
|
216
|
-
}
|
|
217
|
-
}, R = (s) => {
|
|
218
|
-
let n = s.keyCode;
|
|
219
|
-
if (!l.isUndefined(n))
|
|
220
|
-
switch (n = n.toString(), n) {
|
|
221
|
-
case "27":
|
|
222
|
-
i();
|
|
223
|
-
break;
|
|
224
|
-
case "37":
|
|
225
|
-
o();
|
|
226
|
-
break;
|
|
227
|
-
case "38":
|
|
228
|
-
s.preventDefault(), s.stopPropagation(), w.value ? a.value?.large() : u.value && o();
|
|
229
|
-
break;
|
|
230
|
-
case "39":
|
|
231
|
-
c();
|
|
232
|
-
break;
|
|
233
|
-
case "40":
|
|
234
|
-
s.preventDefault(), s.stopPropagation(), w.value ? a.value?.small() : u.value && c();
|
|
235
|
-
break;
|
|
236
|
-
}
|
|
237
|
-
}, $ = () => {
|
|
238
|
-
window.removeEventListener("keydown", F), window.removeEventListener("keyup", R);
|
|
239
|
-
}, U = () => {
|
|
240
|
-
window.addEventListener("keydown", F), window.addEventListener("keyup", R);
|
|
241
|
-
}, E = (s = !1) => {
|
|
242
|
-
N() && (v = setTimeout(
|
|
243
|
-
() => {
|
|
244
|
-
const n = b();
|
|
245
|
-
n && (document.body.className = x.getRemoveClass(
|
|
246
|
-
document.body.className,
|
|
247
|
-
"preview-open"
|
|
248
|
-
), _().removeChild(n)), $();
|
|
249
|
-
},
|
|
250
|
-
s ? 2 * 1e3 : 0
|
|
251
|
-
));
|
|
252
|
-
}, z = (s) => {
|
|
253
|
-
if (!l.isEmpty(s) && !l.isEmpty(s.src)) {
|
|
254
|
-
B(), l.isNonEmptyString(s.id) && (t.elId = s.id), t.className = l.isNonEmptyString(s.className) ? s.className : "";
|
|
255
|
-
let n = [];
|
|
256
|
-
const y = s.src;
|
|
257
|
-
l.isArray(y) ? n = y : l.isString(y) && (n = [y]), t.type = s.type, t.list = n, t.isLoop = l.isBoolean(s.isLoop) ? s.isLoop : !1, t.isShowCopy = l.isBoolean(s.isShowCopy) ? s.isShowCopy : !0;
|
|
258
|
-
const L = l.isEmpty(s.showIndex) ? 0 : s.showIndex;
|
|
259
|
-
U(), oe(() => {
|
|
260
|
-
w.value ? a.value?.show(L) : u.value && e.value?.show(L);
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
};
|
|
264
|
-
ee(() => {
|
|
265
|
-
clearTimeout(v), v = null, $();
|
|
266
|
-
const s = b();
|
|
267
|
-
s && (document.body.className = x.getRemoveClass(document.body.className, "preview-open"), _().removeChild(s));
|
|
268
|
-
});
|
|
269
|
-
const i = () => {
|
|
270
|
-
w.value ? a.value?.hide() : u.value && e.value?.hide(), E();
|
|
271
|
-
}, o = () => {
|
|
272
|
-
t.isDisablePrev || (w.value ? a.value?.prev() : u.value && e.value?.prev());
|
|
273
|
-
}, c = () => {
|
|
274
|
-
t.isDisableNext || (w.value ? a.value?.next() : u.value && e.value?.next());
|
|
275
|
-
};
|
|
276
|
-
return se("$PreviewTop", {
|
|
277
|
-
setPrevNextStatus: (s, n) => {
|
|
278
|
-
const y = n > 1;
|
|
279
|
-
if (t.isShowPrevNext = y, y) {
|
|
280
|
-
const { isLoop: L } = t;
|
|
281
|
-
t.isDisablePrev = L ? !1 : s === 0, t.isDisableNext = L ? !1 : s === n - 1;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}), T({
|
|
285
|
-
show: (s) => {
|
|
286
|
-
z(s);
|
|
287
|
-
},
|
|
288
|
-
destroy: () => {
|
|
289
|
-
E(), t.elId = `preview-${l.getRandom(5)}`, t.className = "", t.type = "", t.list = [], t.isLoop = !1, t.isShowPrevNext = !1, t.isDisablePrev = !1, t.isDisableNext = !1;
|
|
290
|
-
}
|
|
291
|
-
}), (s, n) => (r(), d("div", {
|
|
292
|
-
ref_key: "refElTopParent",
|
|
293
|
-
ref: S,
|
|
294
|
-
id: t.elId,
|
|
295
|
-
class: P(D.value)
|
|
296
|
-
}, [
|
|
297
|
-
p(ie, {
|
|
298
|
-
teleportTarget: "self",
|
|
299
|
-
show: !0,
|
|
300
|
-
background: "rgba(0, 0, 0, 0.5)",
|
|
301
|
-
zIndex: 0,
|
|
302
|
-
isLockScroll: !1,
|
|
303
|
-
duration: 0
|
|
304
|
-
}),
|
|
305
|
-
m("div", {
|
|
306
|
-
class: "preview-btn preview-close",
|
|
307
|
-
onClick: g(i, ["stop"])
|
|
308
|
-
}, [
|
|
309
|
-
p(h, { name: "close" })
|
|
310
|
-
]),
|
|
311
|
-
t.isShowPrevNext ? (r(), d(C, { key: 0 }, [
|
|
312
|
-
m("div", {
|
|
313
|
-
class: P({
|
|
314
|
-
"preview-btn": !0,
|
|
315
|
-
"preview-prev": !0,
|
|
316
|
-
"preview-btn-disable": t.isDisablePrev
|
|
317
|
-
}),
|
|
318
|
-
onClick: g(o, ["stop"])
|
|
319
|
-
}, [
|
|
320
|
-
p(h, { name: "angle-left" })
|
|
321
|
-
], 2),
|
|
322
|
-
m("div", {
|
|
323
|
-
class: P({
|
|
324
|
-
"preview-btn": !0,
|
|
325
|
-
"preview-next": !0,
|
|
326
|
-
"preview-btn-disable": t.isDisableNext
|
|
327
|
-
}),
|
|
328
|
-
onClick: g(c, ["stop"])
|
|
329
|
-
}, [
|
|
330
|
-
p(h, { name: "angle-right" })
|
|
331
|
-
], 2)
|
|
332
|
-
], 64)) : (r(), d(C, { key: 1 }, [], 64)),
|
|
333
|
-
w.value ? (r(), Q(ue, {
|
|
334
|
-
key: 2,
|
|
335
|
-
ref_key: "refElImage",
|
|
336
|
-
ref: a,
|
|
337
|
-
isLoop: t.isLoop,
|
|
338
|
-
list: t.list,
|
|
339
|
-
isShowCopy: t.isShowCopy
|
|
340
|
-
}, null, 8, ["isLoop", "list", "isShowCopy"])) : u.value ? (r(), Q(te(f), {
|
|
341
|
-
key: 3,
|
|
342
|
-
ref_key: "refElVideo",
|
|
343
|
-
ref: e,
|
|
344
|
-
isLoop: t.isLoop,
|
|
345
|
-
list: t.list
|
|
346
|
-
}, null, 8, ["isLoop", "list"])) : (r(), d(C, { key: 4 }, [], 64))
|
|
347
|
-
], 10, fe));
|
|
348
|
-
}
|
|
349
|
-
});
|
|
350
|
-
export {
|
|
351
|
-
_e as default
|
|
352
|
-
};
|
|
353
|
-
//# sourceMappingURL=ClPreview.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ClPreview.js","sources":["../../../src/libs/Web/Preview/Image.vue","../../../src/libs/Web/Preview/Index.vue"],"sourcesContent":["<template>\n <div class=\"preview-image\">\n <div\n v-if=\"optBase.isShow\"\n :class=\"{\n 'preview-btn': true,\n 'preview-image-actions': true,\n 'preview-image-num': list.length > 1,\n }\"\n >\n <div class=\"preview-image-actions-container\">\n <span @click.stop=\"onLarge\"><cl-icon-font :name=\"'search-plus'\"></cl-icon-font></span>\n <span @click.stop=\"onSmall\"><cl-icon-font :name=\"'search-minus'\"></cl-icon-font></span>\n <span @click.stop=\"onRotateLeft\"><cl-icon-font :name=\"'rotate-left'\"></cl-icon-font></span>\n <span @click.stop=\"onRotateRight\"\n ><cl-icon-font :name=\"'rotate-right'\"></cl-icon-font\n ></span>\n <span @click.stop=\"onReduction\"><cl-icon-font :name=\"'restore'\"></cl-icon-font></span>\n <span v-if=\"isShowCopy\">\n <cl-clipboard :textLabel=\"optBase.src\" />\n </span>\n <template v-else></template>\n <span\n v-if=\"list.length > 1\"\n class=\"image-num\"\n >{{ optBase.showIndex + 1 }}/{{ list.length }}</span\n >\n <template v-else></template>\n </div>\n </div>\n <template v-else></template>\n <transition\n enter-active-class=\"preview-image-enter\"\n leave-active-class=\"preview-image-leave\"\n >\n <div\n v-if=\"optBase.isShow\"\n v-show=\"optBase.isSwitch\"\n class=\"preview-image-container\"\n >\n <img\n v-show=\"!optBase.isLoading\"\n :src=\"optBase.src\"\n :style=\"styImage\"\n @load=\"onImgLoad\"\n @error=\"onImgError\"\n />\n <div\n v-if=\"optBase.isLoading\"\n class=\"preview-image-loading\"\n >\n <div class=\"preview-image-spinner\"></div>\n </div>\n </div>\n </transition>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { inject, reactive, computed } from 'vue';\nimport CommonBase from '../../Common/base';\nimport ClClipboard from '../../Element/Clipboard/Index.vue';\nimport ClIconFont from '../../Element/IconFont/Index.vue';\n\ndefineOptions({ name: 'ClPreviewImage' });\n\nconst props = defineProps({\n imageInx: {\n type: Number,\n default: 0, // desc: 当前显示的图片索引\n },\n list: {\n type: Array,\n default: () => [], // desc: 图片地址列表\n },\n isLoop: {\n type: Boolean,\n default: false, // desc: 是否循环切换 | enum: true, false\n },\n isShowCopy: {\n type: Boolean,\n default: true, // desc: 是否显示复制按钮 | enum: true, false\n },\n});\n\nconst _selfTop: any = inject('$PreviewTop');\n\nlet _loadingTimer: ReturnType<typeof setTimeout> | null = null;\n\nconst optBase: any = reactive({\n isShow: false,\n isSwitch: false,\n isLoading: false,\n src: '',\n isFading: false,\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 sty['opacity'] = optBase.isFading ? '0' : '1';\n return sty;\n});\n\nconst _initBase = () => {\n if (!_selfTop) {\n return;\n }\n const { showIndex } = optBase;\n const list = props.list;\n const len = CommonBase.isArray(list) ? list.length : 0;\n const isShow = len > 0 && showIndex >= 0 && showIndex < len;\n optBase.isShow = isShow;\n if (isShow) {\n if (_loadingTimer) clearTimeout(_loadingTimer);\n const delay = optBase.isFading ? 200 : 0;\n setTimeout(() => {\n optBase.isSwitch = true;\n optBase.src = props.list[showIndex];\n _selfTop.setPrevNextStatus(showIndex, len);\n _loadingTimer = setTimeout(() => {\n optBase.isLoading = true;\n }, 150);\n }, delay);\n } else {\n optBase.isSwitch = false;\n }\n};\n\nconst onImgLoad = () => {\n if (_loadingTimer) {\n clearTimeout(_loadingTimer);\n _loadingTimer = null;\n }\n optBase.isFading = false;\n optBase.isLoading = false;\n};\nconst onImgError = () => {\n if (_loadingTimer) {\n clearTimeout(_loadingTimer);\n _loadingTimer = null;\n }\n optBase.isFading = false;\n optBase.isLoading = false;\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) % 360;\n};\nconst onRotateRight = () => {\n const { rotate, rotateAngle } = optBase;\n optBase.rotate = (rotate + rotateAngle) % 360;\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.isFading = false;\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.isFading = true;\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.isFading = true;\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\nexport interface ClPreviewImageExpose {\n show: (showIndex: number) => void;\n hide: () => void;\n prev: () => void;\n next: () => void;\n large: () => void;\n small: () => void;\n}\n\ndefineExpose({\n show,\n hide,\n prev,\n next,\n large,\n small,\n});\n</script>\n","<template>\n <div\n ref=\"refElTopParent\"\n :id=\"optBase.elId\"\n :class=\"clsParent\"\n >\n <cl-overlay\n teleportTarget=\"self\"\n :show=\"true\"\n :background=\"'rgba(0, 0, 0, 0.5)'\"\n :zIndex=\"0\"\n :isLockScroll=\"false\"\n :duration=\"0\"\n />\n <div\n class=\"preview-btn preview-close\"\n @click.stop=\"onClose\"\n >\n <cl-icon-font :name=\"'close'\"></cl-icon-font>\n </div>\n <template v-if=\"optBase.isShowPrevNext\">\n <div\n :class=\"{\n 'preview-btn': true,\n 'preview-prev': true,\n 'preview-btn-disable': optBase.isDisablePrev,\n }\"\n @click.stop=\"onPrev\"\n >\n <cl-icon-font :name=\"'angle-left'\"></cl-icon-font>\n </div>\n <div\n :class=\"{\n 'preview-btn': true,\n 'preview-next': true,\n 'preview-btn-disable': optBase.isDisableNext,\n }\"\n @click.stop=\"onNext\"\n >\n <cl-icon-font :name=\"'angle-right'\"></cl-icon-font>\n </div>\n </template>\n <template v-else></template>\n <cl-preview-image\n ref=\"refElImage\"\n v-if=\"optIsImage\"\n :isLoop=\"optBase.isLoop\"\n :list=\"optBase.list\"\n :isShowCopy=\"optBase.isShowCopy\"\n />\n <cl-preview-video\n ref=\"refElVideo\"\n v-else-if=\"optIsVideo\"\n :isLoop=\"optBase.isLoop\"\n :list=\"optBase.list\"\n />\n <template v-else></template>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, reactive, computed, provide, onBeforeUnmount, nextTick, defineAsyncComponent } from 'vue';\nimport CommonBase from '../../Common/base';\nimport CommonElement from '../../Common/Element/index';\nimport ClOverlay from '../../Element/Overlay/Index.vue';\nimport ClIconFont from '../../Element/IconFont/Index.vue';\nimport ClPreviewImage from './Image.vue';\n// 视频预览按需加载:video.js 体积大且仅预览视频时用到,随组件首次渲染才载入,不进任何页面首屏\nconst ClPreviewVideo = defineAsyncComponent(() => import('./Video.vue'));\nimport './index.css';\n\ndefineOptions({ name: 'ClPreview' });\n\nconst refElTopParent = ref<HTMLElement | null>(null);\nconst refElImage = ref<InstanceType<typeof ClPreviewImage> | null>(null);\nconst refElVideo = ref<InstanceType<typeof ClPreviewVideo> | null>(null);\n\nconst optBase: any = reactive({\n elId: `preview-${CommonBase.getRandom(5)}`,\n className: '',\n type: '',\n list: [],\n isLoop: false,\n isShowPrevNext: false,\n isDisablePrev: false,\n isDisableNext: false,\n isShowCopy: true,\n});\n\nlet _timeOutDestroyContainer: any = null;\n\nconst clsParent = computed(() => {\n let cls: Record<string, boolean> = { 'panel-preview': true };\n cls = CommonBase.getJsonMerge(cls, CommonElement.getClassNameJson(optBase.className));\n return cls;\n});\nconst optIsImage = computed(() => {\n return optBase.type === 'image';\n});\nconst optIsVideo = computed(() => {\n return optBase.type === 'video';\n});\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};\n// kb: 所有键盘操作仅在预览窗口打开时生效\n// kb: ← | 上一张\n// kb: → | 下一张\n// kb: ↑ | 图片模式:放大;视频模式:上一张\n// kb: ↓ | 图片模式:缩小;视频模式:下一张\n// kb: ESC | 关闭预览\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 default:\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 default:\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 if (CommonBase.isNonEmptyString(optExt.id)) {\n optBase.elId = optExt.id;\n }\n optBase.className = CommonBase.isNonEmptyString(optExt.className) ? optExt.className : '';\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 clearTimeout(_timeOutDestroyContainer);\n _timeOutDestroyContainer = null;\n _removeQuickEventListener();\n const el = _getTopEl();\n if (el) {\n document.body.className = CommonElement.getRemoveClass(document.body.className, 'preview-open');\n _getBody().removeChild(el);\n }\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 optBase.elId = `preview-${CommonBase.getRandom(5)}`;\n optBase.className = '';\n optBase.type = '';\n optBase.list = [];\n optBase.isLoop = false;\n optBase.isShowPrevNext = false;\n optBase.isDisablePrev = false;\n optBase.isDisableNext = false;\n};\n\nexport interface ClPreviewExpose {\n show: (opt: Record<string, any>) => void;\n destroy: () => void;\n}\n\ndefineExpose({\n show,\n destroy,\n});\n</script>\n"],"names":["props","__props","_selfTop","inject","_loadingTimer","optBase","reactive","styImage","computed","sty","transform","_initBase","showIndex","list","len","CommonBase","isShow","delay","onImgLoad","onImgError","onLarge","scale","scaleRatio","newScale","onSmall","onRotateLeft","rotate","rotateAngle","onRotateRight","onReduction","__expose","newShowIndex","_openBlock","_createElementBlock","_hoisted_1","_normalizeClass","_createElementVNode","_hoisted_2","_createVNode","ClIconFont","_hoisted_3","ClClipboard","_Fragment","_hoisted_4","_toDisplayString","_Transition","_withDirectives","_hoisted_5","_vShow","_hoisted_7","_cache","ClPreviewVideo","defineAsyncComponent","refElTopParent","ref","refElImage","refElVideo","_timeOutDestroyContainer","clsParent","cls","CommonElement","optIsImage","optIsVideo","_getBody","_getTopEl","_checkContainer","el","_creatorContainer","_onWinKeydown","e","keyCode","_onWinKeyup","onClose","onPrev","onNext","_removeQuickEventListener","_addQuickEventListener","_destroyContainer","isTimeout","_creatorItem","optExt","srcList","src","nextTick","onBeforeUnmount","provide","totalLen","isShowPrevNext","isLoop","opt","ClOverlay","_createBlock","ClPreviewImage","_unref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEA,UAAMA,IAAQC,GAmBRC,IAAgBC,EAAO,aAAa;AAE1C,QAAIC,IAAsD;AAE1D,UAAMC,IAAeC,EAAS;AAAA,MAC5B,QAAQ;AAAA,MACR,UAAU;AAAA,MACV,WAAW;AAAA,MACX,KAAK;AAAA,MACL,UAAU;AAAA,MACV,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,aAAa;AAAA,MACb,WAAWN,EAAM;AAAA,IAAA,CAClB,GAEKO,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,GACrCD,EAAI,UAAaJ,EAAQ,WAAW,MAAM,KACnCI;AAAA,IACT,CAAC,GAEKE,IAAY,MAAM;AACtB,UAAI,CAACT;AACH;AAEF,YAAM,EAAE,WAAAU,MAAcP,GAChBQ,IAAOb,EAAM,MACbc,IAAMC,EAAW,QAAQF,CAAI,IAAIA,EAAK,SAAS,GAC/CG,IAASF,IAAM,KAAKF,KAAa,KAAKA,IAAYE;AAExD,UADAT,EAAQ,SAASW,GACbA,GAAQ;AACV,QAAIZ,kBAA4BA,CAAa;AAC7C,cAAMa,IAAQZ,EAAQ,WAAW,MAAM;AACvC,mBAAW,MAAM;AACf,UAAAA,EAAQ,WAAW,IACn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