@cldemo/ui-kit 1.0.17 → 1.1.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 +5 -5
- package/README.md +15 -69
- package/buildLibs/{mobile/BallColor4-DpnfFrBL.js → all/BallColor4-CYDMNYIL.js} +1 -1
- package/buildLibs/all/{BallColor4-DkQt6rSf.cjs → BallColor4-CaqTfMcX.cjs} +1 -1
- package/buildLibs/all/{ToastRing-B-erJp2o.js → ToastRing-BW0hddZN.js} +1 -1
- package/buildLibs/{web/ToastRing-DKVLp5rZ.cjs → all/ToastRing-DqiGLTLN.cjs} +1 -1
- package/buildLibs/all/{Video-BwDG93FI.cjs → Video-BV-GRW4X.cjs} +1 -1
- package/buildLibs/all/{Video-CMkViuqG.js → Video-Bbk0_YWw.js} +1 -1
- package/buildLibs/all/index-Cap0WJgK.cjs +14 -0
- package/buildLibs/all/{index-DA_I2NVO.js → index-sPYdePtz.js} +17012 -16694
- package/buildLibs/all/index.cjs +1 -1
- package/buildLibs/all/index.css +1 -1
- package/buildLibs/all/index.js +75 -75
- package/buildLibs/common/Common/Element/Event/drag.d.ts +7 -1
- package/buildLibs/common/Common/Tools/device.d.ts +2 -2
- package/buildLibs/common/Common/base.d.ts +2 -2
- package/buildLibs/common/Common/globalConfig.d.ts +18 -3
- package/buildLibs/common/Element/Event/drag.cjs +1 -1
- package/buildLibs/common/Element/Event/drag.js +26 -14
- package/buildLibs/common/Tools/device.cjs +1 -1
- package/buildLibs/common/Tools/device.js +27 -27
- package/buildLibs/common/axios.cjs +1 -1
- package/buildLibs/common/axios.js +20 -14
- package/buildLibs/common/base.cjs +1 -1
- package/buildLibs/common/base.js +10 -10
- package/buildLibs/common/day.js +14 -5
- package/buildLibs/{web/BallColor4-BahMtWFj.cjs → mobile/BallColor4-C7lQaABY.cjs} +1 -1
- package/buildLibs/{all/BallColor4-UHANgP7D.js → mobile/BallColor4-DogqtiHo.js} +1 -1
- package/buildLibs/mobile/{ToastRing-hBf9THbv.cjs → ToastRing-BQAASeWu.cjs} +1 -1
- package/buildLibs/mobile/{ToastRing-Dj7ooJtL.js → ToastRing-ZSOlED5s.js} +1 -1
- package/buildLibs/mobile/{index-BugOQA6Z.js → index-Bh4jt080.js} +7986 -7774
- package/buildLibs/mobile/index-DmdxP8hd.cjs +10 -0
- package/buildLibs/mobile/index.cjs +1 -1
- package/buildLibs/mobile/index.css +1 -1
- package/buildLibs/mobile/index.js +67 -67
- package/buildLibs/modules/actionSheet.js +5 -5
- package/buildLibs/modules/anchorNav.js +4 -4
- package/buildLibs/modules/backTop.js +3 -3
- package/buildLibs/modules/badge.js +1 -1
- package/buildLibs/modules/banner.js +4 -4
- package/buildLibs/modules/breadcrumb.js +3 -3
- package/buildLibs/modules/button.js +1 -1
- package/buildLibs/modules/calendar.js +32 -32
- package/buildLibs/modules/calendarM.js +61 -65
- package/buildLibs/modules/callout.js +2 -2
- package/buildLibs/modules/card.js +1 -1
- package/buildLibs/modules/cardColor.js +2 -2
- package/buildLibs/modules/cell.js +3 -3
- package/buildLibs/modules/cellSwipe.js +2 -2
- package/buildLibs/modules/checkbox.js +1 -1
- package/buildLibs/modules/checkboxOne.js +1 -1
- package/buildLibs/modules/clipboard.js +1 -1
- package/buildLibs/modules/codeLegend.js +3 -3
- package/buildLibs/modules/codeLegendM.js +4 -4
- package/buildLibs/modules/collapse.js +3 -3
- package/buildLibs/modules/colorPicker.js +8 -8
- package/buildLibs/modules/countDown.js +2 -2
- package/buildLibs/modules/cropper.js +1 -1
- package/buildLibs/modules/cropperM.js +6 -6
- package/buildLibs/modules/cropperPreview.js +6 -6
- package/buildLibs/modules/darg.js +2 -2
- package/buildLibs/modules/dateTime.js +1 -1
- package/buildLibs/modules/divider.js +2 -80
- package/buildLibs/modules/dropdownMenu.js +110 -48
- package/buildLibs/modules/dropdownMenuItem.js +44 -27
- package/buildLibs/modules/dropdownMenuM.js +2 -2
- package/buildLibs/modules/dropdownMenuMItem.js +4 -4
- package/buildLibs/modules/dropdownPopup.js +3 -3
- package/buildLibs/modules/echarts.js +1 -1
- package/buildLibs/modules/echartsLineAxisTag.js +4 -4
- package/buildLibs/modules/ellipsis.js +1 -1
- package/buildLibs/modules/empty.js +2 -2
- package/buildLibs/modules/fileUpload.js +1 -1
- package/buildLibs/modules/floatBubble.cjs +5 -0
- package/buildLibs/modules/floatBubble.d.ts +1 -0
- package/buildLibs/modules/{floatingBubble.js → floatBubble.js} +39 -39
- package/buildLibs/modules/floatPanel.cjs +5 -0
- package/buildLibs/modules/floatPanel.d.ts +1 -0
- package/buildLibs/modules/{floatingPanel.js → floatPanel.js} +96 -96
- package/buildLibs/modules/form.js +1 -1
- package/buildLibs/modules/formGroupBtns.js +3 -3
- package/buildLibs/modules/formGroupHorizontal.js +1 -1
- package/buildLibs/modules/formGroupVertical.js +2 -2
- package/buildLibs/modules/formValidate.js +1 -1
- package/buildLibs/modules/framePhone.js +1 -1
- package/buildLibs/modules/grid.js +3 -3
- package/buildLibs/modules/iconFont.js +1 -1
- package/buildLibs/modules/image.js +1 -1
- package/buildLibs/modules/indexBar.js +2 -2
- package/buildLibs/modules/input.js +1 -1
- package/buildLibs/modules/inputCaptcha.js +3 -3
- package/buildLibs/modules/inputNumber.js +1 -1
- package/buildLibs/modules/inputNumberStepper.js +1 -1
- package/buildLibs/modules/inputPassword.js +4 -4
- package/buildLibs/modules/inputPin.cjs +5 -0
- package/buildLibs/modules/inputPin.d.ts +1 -0
- package/buildLibs/modules/inputPin.js +182 -0
- package/buildLibs/modules/inputSearch.js +1 -1
- package/buildLibs/modules/inputTag.js +1 -1
- package/buildLibs/modules/inputTextarea.js +1 -1
- package/buildLibs/modules/link.js +1 -1
- package/buildLibs/modules/load.js +1 -1
- package/buildLibs/modules/loadFullCenter.js +2 -2
- package/buildLibs/modules/loadIng.js +1 -1
- package/buildLibs/modules/loadScreen.js +4 -4
- package/buildLibs/modules/loadWarp.js +3 -3
- package/buildLibs/modules/modal.js +1 -1
- package/buildLibs/modules/navBar.js +3 -3
- package/buildLibs/modules/noticeBar.js +19 -19
- package/buildLibs/modules/notifyM.js +199 -97
- package/buildLibs/modules/numberKeyboard.js +36 -36
- package/buildLibs/modules/numberRoll.js +2 -2
- package/buildLibs/modules/overlay.js +1 -1
- package/buildLibs/modules/paginate.js +1 -1
- package/buildLibs/modules/picker.js +1 -1
- package/buildLibs/modules/pickerArea.cjs +5 -0
- package/buildLibs/modules/pickerArea.d.ts +1 -0
- package/buildLibs/modules/pickerArea.js +255 -0
- package/buildLibs/modules/pickerCascader.js +4 -4
- package/buildLibs/modules/pickerDate.js +71 -71
- package/buildLibs/modules/pickerTime.js +56 -56
- package/buildLibs/modules/popup.js +1 -1
- package/buildLibs/modules/portlet.js +2 -2
- package/buildLibs/modules/previewExample.js +1 -1
- package/buildLibs/modules/progress.js +3 -3
- package/buildLibs/modules/pullToRefresh.js +1 -1
- package/buildLibs/modules/radio.js +1 -1
- package/buildLibs/modules/radioOne.js +1 -1
- package/buildLibs/modules/rate.js +3 -3
- package/buildLibs/modules/scrollCard.js +220 -200
- package/buildLibs/modules/scrollXFence.js +1 -1
- package/buildLibs/modules/select.js +1 -1
- package/buildLibs/modules/selectCascade.js +1 -1
- package/buildLibs/modules/selectMove.js +8 -8
- package/buildLibs/modules/selectTag.js +1 -1
- package/buildLibs/modules/selectTree.js +6 -6
- package/buildLibs/modules/sharePanel.cjs +5 -0
- package/buildLibs/modules/sharePanel.d.ts +1 -0
- package/buildLibs/modules/{shareSheet.js → sharePanel.js} +52 -52
- package/buildLibs/modules/shared/{BallColor4-DLGMFp7g.js → BallColor4-Dw8bQzLW.js} +1 -1
- package/buildLibs/{utils/Shared/Base.vue_vue_type_script_setup_true_lang-Z6sD7O6T.js → modules/shared/Base.vue_vue_type_script_setup_true_lang-DaZg8_tt.js} +81 -70
- package/buildLibs/modules/shared/Column.vue_vue_type_script_setup_true_lang-rT_ICHhO.js +174 -0
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-B8nfrdHt.js → Index.vue_vue_type_script_setup_true_lang-5TIkYSxG.js} +2 -2
- package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-Axa69KHA.js +939 -0
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-DZRko_Hq.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-B9M3m9HE.js} +6 -6
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-CG4BhqfV.js → Index.vue_vue_type_script_setup_true_lang-BkR-sQJt.js} +2 -2
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-EjdgvHF5.js → Index.vue_vue_type_script_setup_true_lang-C1bquiI9.js} +2 -2
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-BvcWTBEv.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-C2EI2VnJ.js} +4 -4
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-BH8ejOuv.js → Index.vue_vue_type_script_setup_true_lang-C5i17oB9.js} +5 -5
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-1gL-yfzx.js → Index.vue_vue_type_script_setup_true_lang-CQ-_RRa-.js} +3 -3
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-CkUfNTb6.js → Index.vue_vue_type_script_setup_true_lang-CSV3c0_h.js} +3 -3
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-x28PWOid.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-CVSATrNA.js} +3 -3
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-XWxNmuC2.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-CYRh_OzP.js} +5 -5
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-BESTuFHY.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-CoQ8bldZ.js} +2 -2
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DTtbdgoO.js → Index.vue_vue_type_script_setup_true_lang-Cp5rYwnC.js} +28 -25
- package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-CqIT3zxY.js +82 -0
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-D0LqAmBY.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-D0_5BgAN.js} +9 -9
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-e41SaSkr.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-D0oA7-eQ.js} +2 -2
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-CMK-TwEo.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-D0s2DEcR.js} +13 -13
- package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-D5akRc9d.js +380 -0
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-BgFzdwmp.js → Index.vue_vue_type_script_setup_true_lang-D6gcg5sW.js} +46 -46
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-Cukt_Rkd.js → Index.vue_vue_type_script_setup_true_lang-D8H72Fc9.js} +2 -2
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DEi_COkc.js → Index.vue_vue_type_script_setup_true_lang-DB10zsLZ.js} +5 -5
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-BZSJp1GF.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-DBo8NT25.js} +3 -3
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-bmKRziC6.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-DG98f73r.js} +3 -3
- package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-DKe5rvrv.js +213 -0
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-Dt9cW3rp.js → Index.vue_vue_type_script_setup_true_lang-DWJ1bJbw.js} +8 -8
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-iMbGY-sX.js → Index.vue_vue_type_script_setup_true_lang-DX5H6qmm.js} +108 -108
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-CVBKgYfQ.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-DapaVMSO.js} +2 -2
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-B0I5VIPk.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-DkCTGpCo.js} +3 -3
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-Cy8lSIYw.js → Index.vue_vue_type_script_setup_true_lang-DpEMLNQd.js} +23 -18
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-Bn3j7iE7.js → Index.vue_vue_type_script_setup_true_lang-DtsjjKBG.js} +6 -6
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-BBVM_RnZ.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-Dy6W7sIl.js} +5 -5
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-B9byrXKx.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-GSyMXu17.js} +22 -22
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-BZHTSznV.js → Index.vue_vue_type_script_setup_true_lang-N3rQdrH6.js} +47 -50
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-B0wTFrxX.js → Index.vue_vue_type_script_setup_true_lang-Ohuu4j9n.js} +54 -49
- package/buildLibs/{utils/Shared/Index.vue_vue_type_script_setup_true_lang-3KP-rPyM.js → modules/shared/Index.vue_vue_type_script_setup_true_lang-UCm0Csto.js} +4 -4
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DcAEnje5.js → Index.vue_vue_type_script_setup_true_lang-X9pUZWHF.js} +1 -1
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-BBiQbTaJ.js → Index.vue_vue_type_script_setup_true_lang-dwaD7E4N.js} +101 -98
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-B7H-n7gl.js → Index.vue_vue_type_script_setup_true_lang-o-s4A6rG.js} +5 -5
- package/buildLibs/{utils/Shared/Ing.vue_vue_type_script_setup_true_lang-DprFXKbk.js → modules/shared/Ing.vue_vue_type_script_setup_true_lang-Bnc9BIaT.js} +3 -3
- package/buildLibs/modules/shared/{List.vue_vue_type_script_setup_true_lang-8UJTbHh3.js → List.vue_vue_type_script_setup_true_lang-1SlAzQsU.js} +4 -4
- package/buildLibs/modules/shared/{One.vue_vue_type_script_setup_true_lang-BiqtUBqP.js → One.vue_vue_type_script_setup_true_lang-BkfhsInn.js} +4 -4
- package/buildLibs/modules/shared/{One.vue_vue_type_script_setup_true_lang-C4lt4POB.js → One.vue_vue_type_script_setup_true_lang-rkbdx8Aq.js} +4 -4
- package/buildLibs/modules/shared/{Popup.vue_vue_type_script_setup_true_lang-CeZQDd0z.js → Popup.vue_vue_type_script_setup_true_lang-YVBgERG9.js} +3 -3
- package/buildLibs/{utils/Shared/ToastRing-CqDvSDSQ.js → modules/shared/ToastRing-DZoETg0y.js} +1 -1
- package/buildLibs/modules/shared/{Validate.vue_vue_type_script_setup_true_lang-Clw81Klm.js → Validate.vue_vue_type_script_setup_true_lang-FZ6qiA6w.js} +6 -6
- package/buildLibs/modules/shared/{base-C5l51ld_.js → base-fr2I80sU.js} +10 -10
- package/buildLibs/modules/shared/{day-Bfolruvp.js → day-B3hhmAm_.js} +15 -6
- package/buildLibs/modules/shared/drag-BBk0X740.js +53 -0
- package/buildLibs/modules/shared/focusTrap-BYhFRjSm.js +82 -0
- package/buildLibs/modules/shared/{index-wdK75uN2.js → index-B477PjJ3.js} +1 -1
- package/buildLibs/modules/shared/{index-Clwouce_.js → index-C91QEnIE.js} +2 -2
- package/buildLibs/modules/shared/{language-TSK4pJka.js → language-pMmux6Js.js} +2 -2
- package/buildLibs/modules/shared/{resize-5FVpVwWr.js → resize-CyrJxi6F.js} +2 -2
- package/buildLibs/modules/shared/{use-Cn_GITQ7.js → use-CRdlCpEV.js} +1 -1
- package/buildLibs/modules/sideMenu.js +4 -4
- package/buildLibs/modules/sidebar.js +2 -2
- package/buildLibs/modules/sidebarSelect.js +3 -3
- package/buildLibs/modules/signature.js +34 -34
- package/buildLibs/modules/slider.js +1 -1
- package/buildLibs/modules/steps.js +45 -41
- package/buildLibs/modules/swipe.js +2 -2
- package/buildLibs/modules/switchery.js +3 -3
- package/buildLibs/modules/tabM.js +2 -2
- package/buildLibs/modules/tabbar.js +4 -4
- package/buildLibs/modules/table.js +12 -12
- package/buildLibs/modules/tableEdit.js +2 -2
- package/buildLibs/modules/tableSimple.js +2 -2
- package/buildLibs/modules/tabs.js +5 -5
- package/buildLibs/modules/tags.js +1 -1
- package/buildLibs/modules/textHighlight.js +2 -2
- package/buildLibs/modules/toast.js +4 -4
- package/buildLibs/modules/tree.js +1 -1
- package/buildLibs/modules/ui-kit.css +1 -1
- package/buildLibs/modules/waterfall.js +3 -3
- package/buildLibs/modules/waterfallImage.js +1 -1
- package/buildLibs/modules/watermark.js +2 -2
- package/buildLibs/modules/weekHour.js +5 -5
- package/buildLibs/modules/xEditable.js +21 -21
- package/buildLibs/resolver/index.cjs +1 -1
- package/buildLibs/resolver/index.js +5 -5
- package/buildLibs/styles/Common/Overlay-base.css +59 -0
- package/buildLibs/styles/Common/Token.css +135 -122
- package/buildLibs/styles/Common/meta.json +19 -2
- package/buildLibs/styles/Element/ClButton.css +0 -31
- package/buildLibs/styles/Element/ClDivider.css +53 -7
- package/buildLibs/styles/Element/ClFormGroupBtns.css +5 -5
- package/buildLibs/styles/Element/ClFormGroupHorizontal.css +5 -5
- package/buildLibs/styles/Element/ClLoadFullCenter.css +0 -31
- package/buildLibs/styles/Element/ClLoadScreen.css +0 -31
- package/buildLibs/styles/Element/ClModal.css +0 -40
- package/buildLibs/styles/Element/ClTags.css +123 -28
- package/buildLibs/styles/Mobile/ClCodeLegendM.css +5 -5
- package/buildLibs/styles/Mobile/ClCropperM.css +2 -0
- package/buildLibs/styles/Mobile/ClFloatBubble.css +18 -0
- package/buildLibs/styles/Mobile/ClFloatPanel.css +86 -0
- package/buildLibs/styles/Mobile/ClInputPin.css +104 -0
- package/buildLibs/styles/Mobile/ClNoticeBar.css +5 -5
- package/buildLibs/styles/Mobile/ClNotifyM.css +50 -2
- package/buildLibs/styles/Mobile/ClNumberKeyboard.css +3 -31
- package/buildLibs/styles/Mobile/ClPickerArea.css +286 -0
- package/buildLibs/styles/Mobile/ClPickerCascader.css +17 -5
- package/buildLibs/styles/Mobile/ClPullToRefresh.css +1 -1
- package/buildLibs/styles/Mobile/ClScrollCard.css +159 -11
- package/buildLibs/styles/Mobile/ClSharePanel.css +202 -0
- package/buildLibs/styles/Mobile/ClSidebarSelect.css +5 -0
- package/buildLibs/styles/Mobile/ClSteps.css +24 -14
- package/buildLibs/styles/Mobile/ClTextHighlight.css +2 -2
- package/buildLibs/styles/Mobile/__provide__/NotifyM.css +50 -2
- package/buildLibs/styles/Web/ClColorpicker.css +8 -7
- package/buildLibs/styles/Web/ClCropper.css +0 -40
- package/buildLibs/styles/Web/ClCropperPreview.css +0 -40
- package/buildLibs/styles/Web/ClDatetime.css +8 -38
- package/buildLibs/styles/Web/ClDropdownMenu.css +90 -7
- package/buildLibs/styles/Web/ClDropdownPopup.css +8 -7
- package/buildLibs/styles/Web/ClEchartsLineAxisTag.css +0 -31
- package/buildLibs/styles/Web/ClFileUpload.css +0 -31
- package/buildLibs/styles/Web/ClInputTag.css +131 -35
- package/buildLibs/styles/Web/ClPaginate.css +131 -35
- package/buildLibs/styles/Web/ClSelect.css +131 -35
- package/buildLibs/styles/Web/ClSelectCascade.css +131 -35
- package/buildLibs/styles/Web/ClSelectTree.css +8 -7
- package/buildLibs/styles/Web/ClSelectmove.css +8 -7
- package/buildLibs/styles/Web/ClTable.css +131 -35
- package/buildLibs/styles/Web/ClXeditable.css +131 -66
- package/buildLibs/styles/Web/__provide__/Alert.css +0 -40
- package/buildLibs/styles/Web/__provide__/Preview.css +0 -31
- package/buildLibs/types/Common/Element/Event/drag.d.ts +7 -1
- package/buildLibs/types/Common/Tools/device.d.ts +2 -2
- package/buildLibs/types/Common/base.d.ts +2 -2
- package/buildLibs/types/Common/day.d.ts +2 -2
- package/buildLibs/types/Common/globalConfig.d.ts +18 -3
- package/buildLibs/types/Element/Overlay/Index.vue.d.ts +1 -1
- package/buildLibs/types/Element/Slider/Button.vue.d.ts +31 -0
- package/buildLibs/types/Element/Slider/Index.vue.d.ts +2 -0
- package/buildLibs/types/Element/Tags/Index.vue.d.ts +33 -3
- package/buildLibs/types/Element/core.d.ts +4 -2
- package/buildLibs/types/Element/installCommon.d.ts +10 -3
- package/buildLibs/types/Mobile/CalendarM/Panel.vue.d.ts +2 -2
- package/buildLibs/types/Mobile/DropdownMenuM/Item.vue.d.ts +1 -1
- package/buildLibs/types/Mobile/{FloatingBubble → FloatBubble}/Index.vue.d.ts +3 -3
- package/buildLibs/types/Mobile/{InputOtp → InputPin}/Index.vue.d.ts +11 -0
- package/buildLibs/types/Mobile/NoticeBar/Index.vue.d.ts +3 -3
- package/buildLibs/types/Mobile/NotifyM/Index.vue.d.ts +20 -0
- package/buildLibs/types/Mobile/NumberKeyboard/Index.vue.d.ts +4 -4
- package/buildLibs/types/Mobile/Picker/Column.vue.d.ts +9 -9
- package/buildLibs/types/Mobile/Picker/Index.vue.d.ts +18 -18
- package/buildLibs/types/Mobile/{AreaM → PickerArea}/Index.vue.d.ts +4 -4
- package/buildLibs/types/Mobile/PickerCascader/Index.vue.d.ts +1 -1
- package/buildLibs/types/Mobile/PickerDate/Index.vue.d.ts +16 -16
- package/buildLibs/types/Mobile/PickerTime/Index.vue.d.ts +16 -16
- package/buildLibs/types/Mobile/Popup/Index.vue.d.ts +1 -1
- package/buildLibs/types/Mobile/ScrollCard/Index.vue.d.ts +33 -20
- package/buildLibs/types/Mobile/{ShareSheet → SharePanel}/Index.vue.d.ts +5 -5
- package/buildLibs/types/Mobile/Signature/Index.vue.d.ts +3 -3
- package/buildLibs/types/Mobile/components.d.ts +5 -5
- package/buildLibs/types/Use/focusTrap.d.ts +13 -0
- package/buildLibs/types/Web/DropdownLayer/Base.vue.d.ts +9 -0
- package/buildLibs/types/Web/DropdownMenu/Index.vue.d.ts +12 -0
- package/buildLibs/utils/Element/ClBadge.cjs +1 -1
- package/buildLibs/utils/Element/ClBadge.js +1 -1
- package/buildLibs/utils/Element/ClBreadcrumb.cjs +1 -1
- package/buildLibs/utils/Element/ClBreadcrumb.js +3 -3
- package/buildLibs/utils/Element/ClButton.cjs +1 -1
- package/buildLibs/utils/Element/ClButton.js +2 -1
- package/buildLibs/utils/Element/ClCallout.cjs +1 -1
- package/buildLibs/utils/Element/ClCallout.js +2 -2
- package/buildLibs/utils/Element/ClCard.cjs +1 -1
- package/buildLibs/utils/Element/ClCard.js +1 -1
- package/buildLibs/utils/Element/ClCardColor.cjs +1 -1
- package/buildLibs/utils/Element/ClCardColor.js +2 -2
- package/buildLibs/utils/Element/ClCheckbox.cjs +1 -1
- package/buildLibs/utils/Element/ClCheckbox.js +1 -1
- package/buildLibs/utils/Element/ClCheckboxOne.cjs +1 -1
- package/buildLibs/utils/Element/ClCheckboxOne.js +1 -1
- package/buildLibs/utils/Element/ClClipboard.cjs +1 -1
- package/buildLibs/utils/Element/ClClipboard.js +1 -1
- package/buildLibs/utils/Element/ClCollapse.cjs +1 -1
- package/buildLibs/utils/Element/ClCollapse.js +3 -3
- package/buildLibs/utils/Element/ClCountDown.cjs +1 -1
- package/buildLibs/utils/Element/ClCountDown.js +2 -2
- package/buildLibs/utils/Element/ClDarg.cjs +1 -1
- package/buildLibs/utils/Element/ClDarg.js +2 -2
- package/buildLibs/utils/Element/ClDivider.cjs +1 -1
- package/buildLibs/utils/Element/ClDivider.js +2 -80
- package/buildLibs/utils/Element/ClEllipsis.cjs +1 -1
- package/buildLibs/utils/Element/ClEllipsis.js +1 -1
- package/buildLibs/utils/Element/ClEmpty.cjs +1 -1
- package/buildLibs/utils/Element/ClEmpty.js +2 -2
- package/buildLibs/utils/Element/ClForm.cjs +1 -1
- package/buildLibs/utils/Element/ClForm.js +1 -1
- package/buildLibs/utils/Element/ClFormGroupBtns.cjs +1 -1
- package/buildLibs/utils/Element/ClFormGroupBtns.js +3 -3
- package/buildLibs/utils/Element/ClFormGroupHorizontal.cjs +1 -1
- package/buildLibs/utils/Element/ClFormGroupHorizontal.js +1 -1
- package/buildLibs/utils/Element/ClFormGroupVertical.cjs +1 -1
- package/buildLibs/utils/Element/ClFormGroupVertical.js +2 -2
- package/buildLibs/utils/Element/ClFormValidate.cjs +1 -1
- package/buildLibs/utils/Element/ClFormValidate.js +1 -1
- package/buildLibs/utils/Element/ClIconFont.cjs +1 -1
- package/buildLibs/utils/Element/ClIconFont.js +1 -1
- package/buildLibs/utils/Element/ClImage.cjs +1 -1
- package/buildLibs/utils/Element/ClImage.js +1 -1
- package/buildLibs/utils/Element/ClInput.cjs +1 -1
- package/buildLibs/utils/Element/ClInput.js +1 -1
- package/buildLibs/utils/Element/ClInputCaptcha.cjs +1 -1
- package/buildLibs/utils/Element/ClInputCaptcha.js +3 -3
- package/buildLibs/utils/Element/ClInputNumber.cjs +1 -1
- package/buildLibs/utils/Element/ClInputNumber.js +1 -1
- package/buildLibs/utils/Element/ClInputNumberStepper.cjs +1 -1
- package/buildLibs/utils/Element/ClInputNumberStepper.js +1 -1
- package/buildLibs/utils/Element/ClInputPassword.cjs +1 -1
- package/buildLibs/utils/Element/ClInputPassword.js +4 -4
- package/buildLibs/utils/Element/ClInputPin.css +1 -0
- package/buildLibs/utils/Element/ClInputSearch.cjs +1 -1
- package/buildLibs/utils/Element/ClInputSearch.js +1 -1
- package/buildLibs/utils/Element/ClInputTextarea.cjs +1 -1
- package/buildLibs/utils/Element/ClInputTextarea.js +1 -1
- package/buildLibs/utils/Element/ClLink.cjs +1 -1
- package/buildLibs/utils/Element/ClLink.js +1 -1
- package/buildLibs/utils/Element/ClLoad.cjs +1 -1
- package/buildLibs/utils/Element/ClLoad.js +1 -1
- package/buildLibs/utils/Element/ClLoadFullCenter.cjs +1 -1
- package/buildLibs/utils/Element/ClLoadFullCenter.js +3 -2
- package/buildLibs/utils/Element/ClLoadIng.cjs +1 -1
- package/buildLibs/utils/Element/ClLoadIng.js +1 -1
- package/buildLibs/utils/Element/ClLoadScreen.cjs +1 -1
- package/buildLibs/utils/Element/ClLoadScreen.css +1 -0
- package/buildLibs/utils/Element/ClLoadScreen.js +73 -2
- package/buildLibs/utils/Element/ClLoadWarp.cjs +1 -1
- package/buildLibs/utils/Element/ClLoadWarp.js +3 -3
- package/buildLibs/utils/Element/ClModal.cjs +1 -1
- package/buildLibs/utils/Element/ClModal.js +2 -1
- package/buildLibs/utils/Element/ClNumberRoll.cjs +1 -1
- package/buildLibs/utils/Element/ClNumberRoll.js +2 -2
- package/buildLibs/utils/Element/ClOverlay.cjs +1 -1
- package/buildLibs/utils/Element/ClOverlay.js +2 -2
- package/buildLibs/utils/Element/ClProgress.cjs +1 -1
- package/buildLibs/utils/Element/ClProgress.js +3 -3
- package/buildLibs/utils/Element/ClRadio.cjs +1 -1
- package/buildLibs/utils/Element/ClRadio.js +1 -1
- package/buildLibs/utils/Element/ClRadioOne.cjs +1 -1
- package/buildLibs/utils/Element/ClRadioOne.js +1 -1
- package/buildLibs/utils/Element/ClSlider.cjs +1 -1
- package/buildLibs/utils/Element/ClSlider.js +1 -1
- package/buildLibs/utils/Element/ClSwitchery.cjs +1 -1
- package/buildLibs/utils/Element/ClSwitchery.js +3 -3
- package/buildLibs/utils/Element/ClTags.cjs +1 -1
- package/buildLibs/utils/Element/ClTags.js +1 -1
- package/buildLibs/utils/Element/ClWaterfall.cjs +1 -1
- package/buildLibs/utils/Element/ClWaterfall.js +3 -3
- package/buildLibs/utils/Element/ClWaterfallImage.cjs +1 -1
- package/buildLibs/utils/Element/ClWaterfallImage.js +1 -1
- package/buildLibs/utils/Mobile/ClActionSheet.cjs +1 -1
- package/buildLibs/utils/Mobile/ClActionSheet.js +5 -5
- package/buildLibs/utils/Mobile/ClBackTop.cjs +1 -1
- package/buildLibs/utils/Mobile/ClBackTop.js +3 -3
- package/buildLibs/utils/Mobile/ClBanner.cjs +1 -1
- package/buildLibs/utils/Mobile/ClBanner.js +4 -4
- package/buildLibs/utils/Mobile/ClCalendarM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClCalendarM.js +61 -65
- package/buildLibs/utils/Mobile/ClCell.cjs +1 -1
- package/buildLibs/utils/Mobile/ClCell.js +3 -3
- package/buildLibs/utils/Mobile/ClCellSwipe.cjs +1 -1
- package/buildLibs/utils/Mobile/ClCellSwipe.js +2 -2
- package/buildLibs/utils/Mobile/ClCodeLegendM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClCodeLegendM.js +4 -4
- package/buildLibs/utils/Mobile/ClCropperM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClCropperM.js +6 -6
- package/buildLibs/utils/Mobile/ClDropdownMenuM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClDropdownMenuM.js +2 -2
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.cjs +1 -1
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.js +4 -4
- package/buildLibs/utils/Mobile/ClFloatBubble.cjs +1 -0
- package/buildLibs/utils/Mobile/ClFloatBubble.css +1 -0
- package/buildLibs/utils/Mobile/ClFloatBubble.d.ts +1 -0
- package/buildLibs/utils/Mobile/{ClFloatingBubble.js → ClFloatBubble.js} +40 -40
- package/buildLibs/utils/Mobile/ClFloatPanel.cjs +1 -0
- package/buildLibs/utils/Mobile/ClFloatPanel.css +1 -0
- package/buildLibs/utils/Mobile/ClFloatPanel.d.ts +1 -0
- package/buildLibs/utils/Mobile/{ClFloatingPanel.js → ClFloatPanel.js} +97 -97
- package/buildLibs/utils/Mobile/ClGrid.cjs +1 -1
- package/buildLibs/utils/Mobile/ClGrid.js +3 -3
- package/buildLibs/utils/Mobile/ClIndexBar.cjs +1 -1
- package/buildLibs/utils/Mobile/ClIndexBar.js +2 -2
- package/buildLibs/utils/Mobile/ClInputPin.cjs +1 -0
- package/buildLibs/utils/Mobile/ClInputPin.d.ts +1 -0
- package/buildLibs/utils/Mobile/ClInputPin.js +184 -0
- package/buildLibs/utils/Mobile/ClNavBar.cjs +1 -1
- package/buildLibs/utils/Mobile/ClNavBar.js +3 -3
- package/buildLibs/utils/Mobile/ClNoticeBar.cjs +1 -1
- package/buildLibs/utils/Mobile/ClNoticeBar.css +1 -1
- package/buildLibs/utils/Mobile/ClNoticeBar.js +19 -19
- package/buildLibs/utils/Mobile/ClNotifyM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClNotifyM.js +2 -1
- package/buildLibs/utils/Mobile/ClNumberKeyboard.cjs +1 -1
- package/buildLibs/utils/Mobile/ClNumberKeyboard.js +37 -36
- package/buildLibs/utils/Mobile/ClPicker.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPicker.js +1 -1
- package/buildLibs/utils/Mobile/ClPickerArea.cjs +1 -0
- package/buildLibs/utils/Mobile/ClPickerArea.css +1 -0
- package/buildLibs/utils/Mobile/ClPickerArea.d.ts +1 -0
- package/buildLibs/utils/Mobile/ClPickerArea.js +257 -0
- package/buildLibs/utils/Mobile/ClPickerCascader.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPickerCascader.css +1 -1
- package/buildLibs/utils/Mobile/ClPickerCascader.js +4 -4
- package/buildLibs/utils/Mobile/ClPickerDate.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPickerDate.js +71 -71
- package/buildLibs/utils/Mobile/ClPickerTime.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPickerTime.js +56 -56
- package/buildLibs/utils/Mobile/ClPopup.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPopup.js +1 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.js +1 -1
- package/buildLibs/utils/Mobile/ClRate.cjs +1 -1
- package/buildLibs/utils/Mobile/ClRate.js +3 -3
- package/buildLibs/utils/Mobile/ClScrollCard.cjs +1 -1
- package/buildLibs/utils/Mobile/ClScrollCard.css +1 -1
- package/buildLibs/utils/Mobile/ClScrollCard.js +220 -200
- package/buildLibs/utils/Mobile/ClSharePanel.cjs +1 -0
- package/buildLibs/utils/Mobile/ClSharePanel.css +1 -0
- package/buildLibs/utils/Mobile/ClSharePanel.d.ts +1 -0
- package/buildLibs/utils/Mobile/{ClShareSheet.js → ClSharePanel.js} +53 -53
- package/buildLibs/utils/Mobile/ClSidebar.cjs +1 -1
- package/buildLibs/utils/Mobile/ClSidebar.js +2 -2
- package/buildLibs/utils/Mobile/ClSidebarSelect.cjs +1 -1
- package/buildLibs/utils/Mobile/ClSidebarSelect.css +1 -1
- package/buildLibs/utils/Mobile/ClSidebarSelect.js +3 -3
- package/buildLibs/utils/Mobile/ClSignature.cjs +1 -1
- package/buildLibs/utils/Mobile/ClSignature.js +34 -34
- package/buildLibs/utils/Mobile/ClSteps.cjs +1 -1
- package/buildLibs/utils/Mobile/ClSteps.css +1 -1
- package/buildLibs/utils/Mobile/ClSteps.js +45 -41
- package/buildLibs/utils/Mobile/ClSwipe.cjs +1 -1
- package/buildLibs/utils/Mobile/ClSwipe.js +2 -2
- package/buildLibs/utils/Mobile/ClTabM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClTabM.js +2 -2
- package/buildLibs/utils/Mobile/ClTabbar.cjs +1 -1
- package/buildLibs/utils/Mobile/ClTabbar.js +4 -4
- package/buildLibs/utils/Mobile/ClTextHighlight.cjs +1 -1
- package/buildLibs/utils/Mobile/ClTextHighlight.css +1 -1
- package/buildLibs/utils/Mobile/ClTextHighlight.js +2 -2
- package/buildLibs/utils/Mobile/ClToast.cjs +1 -1
- package/buildLibs/utils/Mobile/ClToast.js +1 -1
- package/buildLibs/utils/Mobile/ClWatermark.cjs +1 -1
- package/buildLibs/utils/Mobile/ClWatermark.js +2 -2
- package/buildLibs/utils/Mobile/__provide__/NotifyM.cjs +1 -1
- package/buildLibs/utils/Mobile/__provide__/NotifyM.js +2 -1
- package/buildLibs/utils/Mobile/__provide__/Toast.cjs +1 -1
- package/buildLibs/utils/Mobile/__provide__/Toast.js +1 -1
- package/buildLibs/utils/Shared/{BallColor4-C2XdKmEn.js → BallColor4-BgsHLeZA.js} +1 -1
- package/buildLibs/utils/Shared/{BallColor4-Ds3O9chf.js → BallColor4-qLMVzbAS.js} +1 -1
- package/buildLibs/utils/Shared/Base.css +1 -1
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-5_vbZ_4R.js +1 -0
- package/buildLibs/{modules/shared/Base.vue_vue_type_script_setup_true_lang-4j7ikB3n.js → utils/Shared/Base.vue_vue_type_script_setup_true_lang-BReU8HHD.js} +81 -70
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-CmETUA__.js +1 -0
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-D4VcdHQo.js +193 -0
- package/buildLibs/utils/Shared/Column.css +1 -0
- package/buildLibs/utils/Shared/Column.vue_vue_type_script_setup_true_lang-ByGDRcgX.js +1 -0
- package/buildLibs/utils/Shared/Column.vue_vue_type_script_setup_true_lang-dm0Ii8XP.js +174 -0
- package/buildLibs/utils/Shared/Index.css +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BHO4QsuM.js → Index.vue_vue_type_script_setup_true_lang-08Gdtb7o.js} +101 -98
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bexqe3oM.js → Index.vue_vue_type_script_setup_true_lang-0GHFohjQ.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DGMzmwmG.js → Index.vue_vue_type_script_setup_true_lang-0xVPFBUW.js} +7 -8
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BY5YgoqV.js → Index.vue_vue_type_script_setup_true_lang-8-8svPDH.js} +1 -1
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-DqUgH7kW.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-B-K0phQ2.js} +4 -4
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DsWuFFm8.js → Index.vue_vue_type_script_setup_true_lang-B-LBJS_U.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dn2mAxQN.js → Index.vue_vue_type_script_setup_true_lang-B0NaQAuE.js} +5 -5
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bh9eiZXZ.js → Index.vue_vue_type_script_setup_true_lang-B2cccX6M.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DImXx9OJ.js → Index.vue_vue_type_script_setup_true_lang-B2kyuq50.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DXQ2H_E6.js → Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js} +1 -1
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-B-QoYEZX.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-B5MSug5Q.js} +5 -5
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BmA34nLj.js → Index.vue_vue_type_script_setup_true_lang-B9xISM7N.js} +1 -1
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-BDCMqHLL.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-BAUA1fQJ.js} +2 -2
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-Dn7loQye.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-BFq7G64T.js} +22 -22
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BwvnxiF-.js → Index.vue_vue_type_script_setup_true_lang-BJuly3Dc.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BLoX4k7J.js +213 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-1634m2dj.js → Index.vue_vue_type_script_setup_true_lang-BLr46kTp.js} +8 -8
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-W7-2HMLt.js → Index.vue_vue_type_script_setup_true_lang-BO2XU-fq.js} +4 -4
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BRJ2Ll2r.js +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BRyvdWb7.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-n7xMYytH.js → Index.vue_vue_type_script_setup_true_lang-BTikeo7T.js} +5 -5
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DeQDuJWX.js → Index.vue_vue_type_script_setup_true_lang-BXQl9ZJr.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B5STWqf2.js → Index.vue_vue_type_script_setup_true_lang-BahSP_of.js} +22 -17
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BbxnIsLt.js +1 -0
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-Co1P4Ez3.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bd56L0m6.js} +5 -5
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-Ix_0hpqL.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-BhGGH7ms.js} +13 -13
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bn3f-2m-.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C8n67_vn.js → Index.vue_vue_type_script_setup_true_lang-BppPP2_o.js} +5 -5
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DkvbBq5f.js → Index.vue_vue_type_script_setup_true_lang-BsE_zUs_.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BWhUEMe2.js → Index.vue_vue_type_script_setup_true_lang-BxWYROZH.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bp1npEqw.js → Index.vue_vue_type_script_setup_true_lang-C1Z3g7mN.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DARNgU78.js → Index.vue_vue_type_script_setup_true_lang-C242QFDV.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-ZN6OLOcr.js → Index.vue_vue_type_script_setup_true_lang-CAEbDVL3.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DG2gOqUV.js → Index.vue_vue_type_script_setup_true_lang-CDslbo4h.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CFNQBTiQ.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-eYOa2n8R.js → Index.vue_vue_type_script_setup_true_lang-CIky1_fS.js} +28 -25
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DkO0Tw8l.js → Index.vue_vue_type_script_setup_true_lang-COprcd8r.js} +46 -46
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CPwtuGiA.js +1 -0
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-BdU06Zy_.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-CQVg87mD.js} +3 -3
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DnB4CiG6.js → Index.vue_vue_type_script_setup_true_lang-CSt6K9AQ.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CyRAlV4P.js → Index.vue_vue_type_script_setup_true_lang-Cb49VSDS.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DD7Wsxy0.js → Index.vue_vue_type_script_setup_true_lang-CgNMWZqs.js} +53 -48
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-4r0yj-AP.js → Index.vue_vue_type_script_setup_true_lang-Cm8_ZNJ7.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CnLyIXBs.js +939 -0
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-BI_FbhEm.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-CtBOIjdU.js} +6 -6
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cw8P2xE-.js → Index.vue_vue_type_script_setup_true_lang-Cx56SGXr.js} +47 -50
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dzw8LxdI.js → Index.vue_vue_type_script_setup_true_lang-CyYCIkzr.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-v03zJOqX.js → Index.vue_vue_type_script_setup_true_lang-D15_sdie.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CUGhrsCV.js → Index.vue_vue_type_script_setup_true_lang-D3h6Q_pB.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DnLaqNB3.js → Index.vue_vue_type_script_setup_true_lang-D4BokTL9.js} +1 -1
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-afm0gWnG.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-D53FO2PF.js} +4 -4
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D8TDafMl.js +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DAuZLHen.js +277 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DBEuF9lY.js +1 -0
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-t2B1qQvc.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-DQBXyVuV.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DeqkYoiB.js → Index.vue_vue_type_script_setup_true_lang-DTnllTwD.js} +2 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DYj0GzN0.js +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DZSulESm.js +1 -0
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-Dq5DVoF_.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-DiFMOo2n.js} +9 -9
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BJw-_EOe.js → Index.vue_vue_type_script_setup_true_lang-DjwVdgdl.js} +6 -6
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlFdXr6k.js +82 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlaLkFjd.js +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Dnw-Opme.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dk4V2JmM.js → Index.vue_vue_type_script_setup_true_lang-Dq-sCBRz.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CBIhuvnz.js → Index.vue_vue_type_script_setup_true_lang-DsTDQ4p-.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DtTJLC6m.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D3hrURiG.js → Index.vue_vue_type_script_setup_true_lang-Dyo4Sh1B.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Gp7OJJx5.js +1 -0
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-COItePPk.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-K7pBVuwe.js} +3 -3
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-24C15gSt.js → Index.vue_vue_type_script_setup_true_lang-M72THnHz.js} +1 -1
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-PQ1DyzI3.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-PraAnYLk.js} +3 -3
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CcJjZsqO.js → Index.vue_vue_type_script_setup_true_lang-SE1_-Y3D.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C0GnaTPr.js → Index.vue_vue_type_script_setup_true_lang-WePMnXeI.js} +1 -1
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-CyKHq3tv.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-afRTRRcb.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DaQXxBad.js → Index.vue_vue_type_script_setup_true_lang-b4R4PHf0.js} +108 -108
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CfIJDVo7.js → Index.vue_vue_type_script_setup_true_lang-bKzsLLvg.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bat5bJ6h.js → Index.vue_vue_type_script_setup_true_lang-d8FRnWoo.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-oFF20mhc.js +152 -0
- package/buildLibs/{modules/shared/Index.vue_vue_type_script_setup_true_lang-CDFEcM1i.js → utils/Shared/Index.vue_vue_type_script_setup_true_lang-qOys54ns.js} +3 -3
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-bG1Y_BJw.js → Index.vue_vue_type_script_setup_true_lang-yQG3rOxU.js} +2 -2
- package/buildLibs/utils/Shared/Index10.css +1 -1
- package/buildLibs/utils/Shared/Index11.css +1 -1
- package/buildLibs/utils/Shared/Index12.css +1 -1
- package/buildLibs/utils/Shared/Index13.css +1 -1
- package/buildLibs/utils/Shared/Index14.css +1 -1
- package/buildLibs/utils/Shared/Index15.css +1 -1
- package/buildLibs/utils/Shared/Index16.css +1 -1
- package/buildLibs/utils/Shared/Index17.css +1 -1
- package/buildLibs/utils/Shared/Index18.css +1 -1
- package/buildLibs/utils/Shared/Index21.css +1 -1
- package/buildLibs/utils/Shared/Index23.css +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 -1
- package/buildLibs/utils/Shared/Index38.css +1 -1
- package/buildLibs/utils/Shared/Index5.css +1 -1
- package/buildLibs/utils/Shared/{Ing.vue_vue_type_script_setup_true_lang-D2lxtF5j.js → Ing.vue_vue_type_script_setup_true_lang-DPFunPx2.js} +1 -1
- package/buildLibs/{modules/shared/Ing.vue_vue_type_script_setup_true_lang-CbxKiYq1.js → utils/Shared/Ing.vue_vue_type_script_setup_true_lang-Zb0-4POE.js} +3 -3
- package/buildLibs/utils/Shared/{List.vue_vue_type_script_setup_true_lang-B5YIPqGh.js → List.vue_vue_type_script_setup_true_lang-BLgui2Zv.js} +4 -4
- package/buildLibs/utils/Shared/{List.vue_vue_type_script_setup_true_lang-bFNMd-te.js → List.vue_vue_type_script_setup_true_lang-DJAqJJnH.js} +1 -1
- package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-DQ_7aqC8.js → One.vue_vue_type_script_setup_true_lang-BC8yzPg5.js} +1 -1
- package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-DcjKaZQ_.js → One.vue_vue_type_script_setup_true_lang-BKTdt1M7.js} +1 -1
- package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-CmnkkHBx.js → One.vue_vue_type_script_setup_true_lang-BRIVGray.js} +3 -3
- package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-Bz2OX9PQ.js → One.vue_vue_type_script_setup_true_lang-Du9X7x9H.js} +3 -3
- package/buildLibs/utils/Shared/{Popup.vue_vue_type_script_setup_true_lang-gwQgBwlR.js → Popup.vue_vue_type_script_setup_true_lang-d2TT0lCU.js} +1 -1
- package/buildLibs/utils/Shared/{Popup.vue_vue_type_script_setup_true_lang-ltEkWlAH.js → Popup.vue_vue_type_script_setup_true_lang-hfNlyh_i.js} +3 -3
- package/buildLibs/{modules/shared/ToastRing-CLhmoOCN.js → utils/Shared/ToastRing-2rl8qS1H.js} +1 -1
- package/buildLibs/utils/Shared/{ToastRing-CUCc2KYf.js → ToastRing-B1qc5Ig_.js} +1 -1
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-DidPD12P.js +411 -0
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-DyOZ5QGN.js +1 -0
- package/buildLibs/utils/Shared/{Video-DlqsnyxL.js → Video-BBXD_6D-.js} +1 -1
- package/buildLibs/utils/Shared/{Video-yVSuj26v.js → Video-BillcMo0.js} +1 -1
- package/buildLibs/utils/Shared/{base-DmcbRUB5.js → base-DbuX_Y3x.js} +1 -1
- package/buildLibs/utils/Shared/{base-C5l51ld_.js → base-fr2I80sU.js} +10 -10
- package/buildLibs/utils/Shared/{day-Bfolruvp.js → day-B3hhmAm_.js} +15 -6
- package/buildLibs/utils/Shared/{day-C3XuCUKG.js → day-C_LrDb1h.js} +1 -1
- package/buildLibs/utils/Shared/drag-BB4KOliP.js +1 -0
- package/buildLibs/utils/Shared/drag-BBk0X740.js +53 -0
- package/buildLibs/utils/Shared/focusTrap-95OmT9bf.js +1 -0
- package/buildLibs/utils/Shared/focusTrap-BYhFRjSm.js +82 -0
- package/buildLibs/utils/Shared/{index-wdK75uN2.js → index-B477PjJ3.js} +1 -1
- package/buildLibs/utils/Shared/{index-CXRfOfiT.js → index-rFJmbgyH.js} +1 -1
- package/buildLibs/utils/Shared/language-Q4AGYtUe.js +1 -0
- package/buildLibs/utils/Shared/{index-DX8TWPlf.js → language-pMmux6Js.js} +151 -44
- package/buildLibs/utils/Shared/{resize-5FVpVwWr.js → resize-CyrJxi6F.js} +2 -2
- package/buildLibs/utils/Shared/{resize-BqfiqIio.js → resize-Ds0ycOGI.js} +1 -1
- package/buildLibs/utils/Shared/use-BBpYjALT.js +1 -0
- package/buildLibs/utils/Shared/{lazy--M9Mmsjn.js → use-CRdlCpEV.js} +48 -35
- package/buildLibs/utils/Web/ClAnchorNav.cjs +1 -1
- package/buildLibs/utils/Web/ClAnchorNav.js +3 -3
- package/buildLibs/utils/Web/ClCalendar.cjs +1 -1
- package/buildLibs/utils/Web/ClCalendar.js +32 -32
- package/buildLibs/utils/Web/ClCodeLegend.cjs +1 -1
- package/buildLibs/utils/Web/ClCodeLegend.js +3 -3
- package/buildLibs/utils/Web/ClCodeLegendM.css +1 -1
- package/buildLibs/utils/Web/ClColorPicker.cjs +1 -1
- package/buildLibs/utils/Web/ClColorPicker.js +8 -8
- package/buildLibs/utils/Web/ClCropper.cjs +1 -1
- package/buildLibs/utils/Web/ClCropper.js +2 -1
- package/buildLibs/utils/Web/ClCropperPreview.cjs +1 -1
- package/buildLibs/utils/Web/ClCropperPreview.js +7 -6
- package/buildLibs/utils/Web/ClDateTime.cjs +1 -1
- package/buildLibs/utils/Web/ClDateTime.js +2 -1
- package/buildLibs/utils/Web/ClDropdownMenu.cjs +1 -1
- package/buildLibs/utils/Web/ClDropdownMenu.css +1 -1
- package/buildLibs/utils/Web/ClDropdownMenu.js +110 -48
- package/buildLibs/utils/Web/ClDropdownMenuItem.cjs +1 -1
- package/buildLibs/utils/Web/ClDropdownMenuItem.js +44 -27
- package/buildLibs/utils/Web/ClDropdownPopup.cjs +1 -1
- package/buildLibs/utils/Web/ClDropdownPopup.js +3 -3
- package/buildLibs/utils/Web/ClEcharts.cjs +1 -1
- package/buildLibs/utils/Web/ClEcharts.js +1 -1
- package/buildLibs/utils/Web/ClEchartsLineAxisTag.cjs +1 -1
- package/buildLibs/utils/Web/ClEchartsLineAxisTag.js +5 -4
- package/buildLibs/utils/Web/ClFileUpload.cjs +1 -1
- package/buildLibs/utils/Web/ClFileUpload.js +2 -1
- package/buildLibs/utils/Web/ClFramePhone.cjs +1 -1
- package/buildLibs/utils/Web/ClFramePhone.js +1 -1
- package/buildLibs/utils/Web/ClInputTag.cjs +1 -1
- package/buildLibs/utils/Web/ClInputTag.js +1 -1
- package/buildLibs/utils/Web/ClPaginate.cjs +1 -1
- package/buildLibs/utils/Web/ClPaginate.js +1 -1
- package/buildLibs/utils/Web/ClPortlet.cjs +1 -1
- package/buildLibs/utils/Web/ClPortlet.js +2 -2
- package/buildLibs/utils/Web/ClPreviewExample.cjs +1 -1
- package/buildLibs/utils/Web/ClPreviewExample.js +1 -1
- package/buildLibs/utils/Web/ClScrollXFence.cjs +1 -1
- package/buildLibs/utils/Web/ClScrollXFence.js +1 -1
- package/buildLibs/utils/Web/ClSelect.cjs +1 -1
- package/buildLibs/utils/Web/ClSelect.js +1 -1
- package/buildLibs/utils/Web/ClSelectCascade.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectCascade.js +1 -1
- package/buildLibs/utils/Web/ClSelectMove.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectMove.js +8 -8
- package/buildLibs/utils/Web/ClSelectTag.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectTag.js +1 -1
- package/buildLibs/utils/Web/ClSelectTree.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectTree.js +6 -6
- package/buildLibs/utils/Web/ClSideMenu.cjs +1 -1
- package/buildLibs/utils/Web/ClSideMenu.js +4 -4
- package/buildLibs/utils/Web/ClTable.cjs +1 -1
- package/buildLibs/utils/Web/ClTable.js +11 -11
- package/buildLibs/utils/Web/ClTableEdit.cjs +1 -1
- package/buildLibs/utils/Web/ClTableEdit.js +2 -2
- package/buildLibs/utils/Web/ClTableSimple.cjs +1 -1
- package/buildLibs/utils/Web/ClTableSimple.js +2 -2
- package/buildLibs/utils/Web/ClTabs.cjs +1 -1
- package/buildLibs/utils/Web/ClTabs.js +5 -5
- package/buildLibs/utils/Web/ClTree.cjs +1 -1
- package/buildLibs/utils/Web/ClTree.js +1 -1
- package/buildLibs/utils/Web/ClWeekHour.cjs +1 -1
- package/buildLibs/utils/Web/ClWeekHour.js +5 -5
- package/buildLibs/utils/Web/ClXEditable.cjs +1 -1
- package/buildLibs/utils/Web/ClXEditable.js +22 -21
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs +1 -1
- package/buildLibs/utils/Web/__directive__/Tooltip.js +2 -2
- package/buildLibs/utils/Web/__directive__/Waves.cjs +1 -1
- package/buildLibs/utils/Web/__directive__/Waves.js +1 -1
- package/buildLibs/utils/Web/__provide__/Alert.cjs +1 -1
- package/buildLibs/utils/Web/__provide__/Alert.js +5 -4
- package/buildLibs/utils/Web/__provide__/Notify.cjs +1 -1
- package/buildLibs/utils/Web/__provide__/Notify.js +3 -3
- package/buildLibs/utils/Web/__provide__/Preview.cjs +1 -1
- package/buildLibs/utils/Web/__provide__/Preview.js +7 -6
- package/buildLibs/web/BallColor4-Bk0PbmjR.js +36 -0
- package/buildLibs/{mobile/BallColor4-9BeLWzwc.cjs → web/BallColor4-CvdyEpUB.cjs} +1 -1
- package/buildLibs/web/ToastRing-DxVDUCSx.js +26 -0
- package/buildLibs/{all/ToastRing-C0GKGyt2.cjs → web/ToastRing-KEtXZej2.cjs} +1 -1
- package/buildLibs/web/{Video-DuP0_H4b.cjs → Video-7bB5a3gv.cjs} +1 -1
- package/buildLibs/web/{Video-BDwetEWQ.js → Video-D36W46Pk.js} +1 -1
- package/buildLibs/web/{index-DPNEslm1.js → index-ai_LrIsJ.js} +10664 -10473
- package/buildLibs/web/index-jOBQ0InH.cjs +12 -0
- package/buildLibs/web/index.cjs +1 -1
- package/buildLibs/web/index.css +1 -1
- package/buildLibs/web/index.js +1 -1
- package/docs/components/Element/Divider.md +5 -3
- package/docs/components/Element/Slider.md +1 -0
- package/docs/components/Element/Tags.md +34 -8
- package/docs/components/Mobile/{FloatingBubble.md → FloatBubble.md} +17 -17
- package/docs/components/Mobile/{FloatingPanel.md → FloatPanel.md} +30 -30
- package/docs/components/Mobile/{InputOtp.md → InputPin.md} +25 -12
- package/docs/components/Mobile/NoticeBar.md +4 -4
- package/docs/components/Mobile/NotifyM.md +11 -0
- package/docs/components/Mobile/NumberKeyboard.md +8 -8
- package/docs/components/Mobile/Picker.md +8 -8
- package/docs/components/Mobile/{AreaM.md → PickerArea.md} +12 -12
- package/docs/components/Mobile/PickerDate.md +5 -5
- package/docs/components/Mobile/PickerTime.md +5 -5
- package/docs/components/Mobile/ScrollCard.md +43 -10
- package/docs/components/Mobile/{ShareSheet.md → SharePanel.md} +11 -11
- package/docs/components/Mobile/Signature.md +3 -3
- package/docs/tokens/design-token.md +17 -2
- package/docs/tools/CommonDay.md +3 -3
- package/package.json +2 -1
- package/buildLibs/all/index-CS39FBSI.cjs +0 -14
- package/buildLibs/mobile/index-0Bk83khG.cjs +0 -10
- package/buildLibs/modules/areaM.cjs +0 -5
- package/buildLibs/modules/areaM.d.ts +0 -1
- package/buildLibs/modules/areaM.js +0 -255
- package/buildLibs/modules/floatingBubble.cjs +0 -5
- package/buildLibs/modules/floatingBubble.d.ts +0 -1
- package/buildLibs/modules/floatingPanel.cjs +0 -5
- package/buildLibs/modules/floatingPanel.d.ts +0 -1
- package/buildLibs/modules/inputOtp.cjs +0 -5
- package/buildLibs/modules/inputOtp.d.ts +0 -1
- package/buildLibs/modules/inputOtp.js +0 -175
- package/buildLibs/modules/shareSheet.cjs +0 -5
- package/buildLibs/modules/shareSheet.d.ts +0 -1
- package/buildLibs/modules/shared/Index-aam7IdIy.js +0 -174
- package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-BBz5WLtl.js +0 -898
- package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-CM64ExS-.js +0 -201
- package/buildLibs/modules/shared/Index.vue_vue_type_script_setup_true_lang-Dt1s66Uw.js +0 -442
- package/buildLibs/modules/shared/drag-CBokh_eH.js +0 -41
- package/buildLibs/styles/Element/ClOverlay.css +0 -32
- package/buildLibs/utils/Element/ClDivider.css +0 -1
- package/buildLibs/utils/Element/ClInputOtp.css +0 -1
- package/buildLibs/utils/Element/__directive__/LazyImage.cjs +0 -1
- package/buildLibs/utils/Element/__directive__/LazyImage.d.ts +0 -1
- package/buildLibs/utils/Element/__directive__/LazyImage.js +0 -14
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs +0 -1
- package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +0 -1
- package/buildLibs/utils/Element/__provide__/Clipboard.js +0 -37
- package/buildLibs/utils/Element/__provide__/LanguagePack.cjs +0 -1
- package/buildLibs/utils/Element/__provide__/LanguagePack.d.ts +0 -1
- package/buildLibs/utils/Element/__provide__/LanguagePack.js +0 -28
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +0 -1
- package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +0 -1
- package/buildLibs/utils/Element/__provide__/LoadScreen.js +0 -22
- package/buildLibs/utils/Element/__provide__/Validate.cjs +0 -1
- package/buildLibs/utils/Element/__provide__/Validate.d.ts +0 -1
- package/buildLibs/utils/Element/__provide__/Validate.js +0 -104
- package/buildLibs/utils/Mobile/ClAreaM.cjs +0 -1
- package/buildLibs/utils/Mobile/ClAreaM.css +0 -1
- package/buildLibs/utils/Mobile/ClAreaM.d.ts +0 -1
- package/buildLibs/utils/Mobile/ClAreaM.js +0 -257
- package/buildLibs/utils/Mobile/ClFloatingBubble.cjs +0 -1
- package/buildLibs/utils/Mobile/ClFloatingBubble.css +0 -1
- package/buildLibs/utils/Mobile/ClFloatingBubble.d.ts +0 -1
- package/buildLibs/utils/Mobile/ClFloatingPanel.cjs +0 -1
- package/buildLibs/utils/Mobile/ClFloatingPanel.css +0 -1
- package/buildLibs/utils/Mobile/ClFloatingPanel.d.ts +0 -1
- package/buildLibs/utils/Mobile/ClInputOtp.cjs +0 -1
- package/buildLibs/utils/Mobile/ClInputOtp.d.ts +0 -1
- package/buildLibs/utils/Mobile/ClInputOtp.js +0 -177
- package/buildLibs/utils/Mobile/ClShareSheet.cjs +0 -1
- package/buildLibs/utils/Mobile/ClShareSheet.css +0 -1
- package/buildLibs/utils/Mobile/ClShareSheet.d.ts +0 -1
- package/buildLibs/utils/Shared/Base.vue_vue_type_script_setup_true_lang-CiIYjt-L.js +0 -1
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-BD35JTIP.js +0 -1
- package/buildLibs/utils/Shared/BaseTransition.vue_vue_type_script_setup_true_lang-DHyNMo5z.js +0 -255
- package/buildLibs/utils/Shared/Index-BBs91jFy.js +0 -174
- package/buildLibs/utils/Shared/Index-qL-h43DD.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-B9PGQ2ms.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BVFmiu-5.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BlFq1X5t.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Bo91q9Ij.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CIBERZly.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CKNVMM02.js +0 -74
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CrNoVcn8.js +0 -120
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CvgyjDiU.js +0 -898
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DGT_No-k.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DGXwL6RV.js +0 -201
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DIbQI2wQ.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DIdU8GIV.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DKbCcnPs.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Db4Zb3Yy.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DcOTqPR-.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DgWoxi-r.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DlvzgFMo.js +0 -175
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Drp93I0i.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-s0crAk8w.js +0 -1
- package/buildLibs/utils/Shared/Index39.css +0 -1
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-3Ig7bOGx.js +0 -1
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-57tbyvPI.js +0 -313
- package/buildLibs/utils/Shared/drag-CBokh_eH.js +0 -41
- package/buildLibs/utils/Shared/drag-CnnSwz5k.js +0 -1
- package/buildLibs/utils/Shared/index-C6VS0w0n.js +0 -1
- package/buildLibs/utils/Shared/language-BAyxuenq.js +0 -1
- package/buildLibs/utils/Shared/language-Br_W-GD8.js +0 -111
- package/buildLibs/utils/Shared/lazy-CHlfoPOo.js +0 -1
- package/buildLibs/utils/Shared/use-CaPct63w.js +0 -17
- package/buildLibs/utils/Shared/use-DpwlHmqI.js +0 -1
- package/buildLibs/web/BallColor4-B90sCDaX.js +0 -36
- package/buildLibs/web/ToastRing-DGR6ZoRQ.js +0 -26
- package/buildLibs/web/index-Bfw6k91_.cjs +0 -12
- /package/buildLibs/types/Mobile/{FloatingPanel → FloatPanel}/Index.vue.d.ts +0 -0
- /package/buildLibs/types/Mobile/{AreaM → PickerArea}/area-data.d.ts +0 -0
- /package/buildLibs/utils/Shared/{index40.css → index39.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("vue"),d=require("./log-C2ZbqiAV.js"),e=require("./base-DbuX_Y3x.js"),R=require("./index-rFJmbgyH.js"),O=require("../Web/__directive__/Tooltip.cjs"),P=require("./language-Q4AGYtUe.js"),U=require("./Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js"),W={required:s=>!e.CommonBase.isEmpty(s),number:s=>{let a=!0;if(!e.CommonBase.isEmpty(s)){const o=e.CommonBase.removeReplace(s);a=/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i.test(o)}return a},integer:s=>{let a=!0;if(!e.CommonBase.isEmpty(s)){const o=e.CommonBase.removeReplace(s);a=/^-?\d+$/.test(o)}return a},integerPositive:s=>{let a=!0;if(!e.CommonBase.isEmpty(s)){const o=e.CommonBase.removeReplace(s);a=/^[1-9]\d*$/.test(o)}return a},alphanum:s=>{let a=!0;return e.CommonBase.isEmpty(s)||(a=/^\w+$/i.test(s)),a},email:s=>{let a=!0;return e.CommonBase.isEmpty(s)||(a=/^((([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&"\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(s)),a},minLen:(s,a)=>{let o=!0;return e.CommonBase.isEmpty(s)||(o=s.length>=parseInt(a,10)),o},maxLen:(s,a)=>{let o=!0;return e.CommonBase.isEmpty(s)||(o=s.length<=parseInt(a,10)),o},minByte:(s,a)=>{let o=!0;return e.CommonBase.isEmpty(s)||(o=e.CommonBase.getByteLen(s)>=parseInt(a,10)),o},maxByte:(s,a)=>{let o=!0;return e.CommonBase.isEmpty(s)||(o=e.CommonBase.getByteLen(s)<=parseInt(a,10)),o},minGreater:(s,a)=>{let o=!0;if(!e.CommonBase.isEmpty(s)){const C=e.CommonBase.removeReplace(s);o=parseFloat(C)>parseFloat(a)}return o},maxGreater:(s,a)=>{let o=!0;if(!e.CommonBase.isEmpty(s)){const C=e.CommonBase.removeReplace(s);o=parseFloat(C)<parseFloat(a)}return o},minGreaterEqual:(s,a)=>{let o=!0;if(!e.CommonBase.isEmpty(s)){const C=e.CommonBase.removeReplace(s);o=parseFloat(C)>=parseFloat(a)}return o},maxGreaterEqual:(s,a)=>{let o=!0;if(!e.CommonBase.isEmpty(s)){const C=e.CommonBase.removeReplace(s);o=parseFloat(C)<=parseFloat(a)}return o},phone:s=>{let a=!0;return e.CommonBase.isEmpty(s)||(a=/^1[3-9]\d{9}$/.test(s)),a},equalto:(s,a)=>!e.CommonBase.isEmpty(s)&&!e.CommonBase.isEmpty(a)?s===a:!0,regular:(s,a)=>{let o=!0;return!e.CommonBase.isEmpty(s)&&!e.CommonBase.isEmpty(a)&&(o=new RegExp(a,"g").test(s)),o},urlHttp:s=>{let a=!0;return e.CommonBase.isEmpty(s)||(a=/^(http|https):\/\/[^\s]+$/.test(s)),a}},Z=(s={})=>({type:e.CommonBase.isEmpty(s.type)?"tip":s.type,rules:e.CommonBase.getJsonMerge(W,s.rules),messages:e.CommonBase.getJsonMergeDeep({},s.messages)}),Q={key:1,class:"error-text-el"},X=n.defineComponent({name:"ClFormValidate",directives:{cltooltip:O.tooltipDirectives},__name:"Validate",props:{className:String,checkValue:[String,Number],rules:{type:Array,default:()=>[]},isCheck:{type:Boolean,default:!0},msgElementId:String,msgType:{type:String,validator:s=>["tip","text"].includes(s)},pElError:String,isShowMsg:{type:Boolean,default:!0}},setup(s,{expose:a}){const o=s,{optPageLanguage:C,getPageLanguage:w,getLanguageType:L}=P.useLanguage();w("validate");const S=n.inject("$ClGlobals",null),f=n.useTemplateRef("refElTop"),y=n.useTemplateRef("refElMsg"),c=n.reactive({type:"",msgHtml:"",check:0}),F={form:null},g={rules:{},messages:{}};let B=null;const k=()=>{if(e.CommonBase.isUndefined(B)){const t=Z(),r=S?.validate;r?e.CommonBase.isEmpty(r.rules)&&e.CommonBase.isEmpty(r.messages)?(B=e.CommonBase.isNonEmptyString(r.type)?{...t,type:r.type}:t,d.clLog.warn("ClFormValidate","[cl-form-validate] 全局校验规则表($ClGlobals.validate)缺少 rules/messages,已回退内置默认规则")):B={...t,...r,type:r.type??t.type,rules:r.rules??t.rules,messages:r.messages??t.messages}:(B=t,d.clLog.warn("ClFormValidate","[cl-form-validate] 未检测到全局校验规则表($ClGlobals.validate),已回退内置默认规则"))}return B},T=n.computed(()=>{const t={"data-validate-el":""};if(o.isCheck){switch(c.check){case 1:t["data-validate-success"]="";break;case 2:t["data-validate-error"]="";break}t["aria-invalid"]=c.check===2?"true":"false"}return t}),A=n.computed(()=>{const t={};return o.isCheck&&(t["panel-form-validate"]=!0),e.CommonBase.getJsonMerge(t,R.CommonElement.getClassNameJson(o.className))}),$=n.computed(()=>{const t={"panel-validate-errors":!0};return t[`validate-errors-${c.type}`]=!0,t}),I=n.computed(()=>c.msgHtml.replace(/<[^>]*>/g," ").trim()),b=t=>{if(!e.CommonBase.isArray(t)){d.clLog.warn("ClFormValidate","[cl-form-validate] rules 应为数组,已忽略");return}const r={},l={};t.forEach(m=>{if(typeof m=="string"){if(!e.CommonBase.isEmpty(m))if(e.CommonBase.isExistValue(m,"|")){const i=m.split("|");r[i[0]]=i[1],i.length>2&&d.clLog.warn("ClFormValidate",'[cl-form-validate] 字符串规则 "'+m+'" 含多个参数段,仅取前两段,建议改用对象形式')}else r[m]=""}else if(typeof m=="object"&&!e.CommonBase.isUndefined(m)){let i=!0;e.CommonBase.isBoolean(m.isCheck)?i=m.isCheck===!0:(m.isCheck==="false"||m.isCheck==="0")&&(i=!1),!e.CommonBase.isEmpty(m.r)&&i&&(r[m.r]=String(m.p??""),e.CommonBase.isEmpty(m.m)||(l[m.r]=m.m??""))}}),g.rules=r,g.messages=l},q=()=>{const t=[],r={},l={};if(f.value&&!e.CommonBase.isEmpty(f.value.dataset)&&Object.keys(f.value.dataset).forEach(m=>{if(m.indexOf("validate")===0){const u=m.replace(/[A-Z]/g,p=>`-${p.toLowerCase()}`).split("-");if(u.length===3){const p=u[2].toLowerCase(),E=f.value.dataset[m];switch(u[1]){case"check":!e.CommonBase.isEmpty(E)&&E.toLowerCase()==="false"&&t.push(p);break;case"param":r[p]=E;break;case"message":l[p]=E;break}}}}),!e.CommonBase.isEmpty(g.rules)&&(!e.CommonBase.isEmpty(t)||!e.CommonBase.isEmpty(r))){const m={};for(const[i,u]of Object.entries(g.rules)){const p=i.toLowerCase();e.CommonBase.isExistValue(t,p)||(m[i]=e.CommonBase.isExistJsonKey(r,p)?r[p]:u)}g.rules=m}if(!e.CommonBase.isEmpty(g.messages)&&!e.CommonBase.isEmpty(l)){const m={};for(const[i,u]of Object.entries(g.messages)){const p=i.toLowerCase();m[i]=e.CommonBase.isExistJsonKey(l,p)?l[p]:u}g.messages=m}},N=t=>{const r={},l=k().rules??{};if(!e.CommonBase.isEmpty(g.rules)){const m=e.CommonBase.isEmpty(t)||e.CommonBase.getTypeof(t)==="number"&&e.CommonBase.isNaN(t),i=m?"":e.CommonBase.trim(t);for(const[u,p]of Object.entries(g.rules))if(e.CommonBase.isExistJsonKey(l,u)&&e.CommonBase.isFunction(l[u])){let E=!0;u==="required"?E=l.required(i):m||(E=l[u](i,p)),E||(r[u]=p)}else d.clLog.warn("ClFormValidate",'[cl-form-validate] 校验规则 "'+u+'" 未注册或非函数,已跳过')}return r},j=()=>{w("validate");const t=n.toRaw(C.value),r=n.toRaw(k().messages??{}),l=L(),m=e.CommonBase.isExistJsonKey(r,l.type)||e.CommonBase.isExistJsonKey(r,l.def)?e.CommonBase.getJsonMerge({},r[l.def]||{},r[l.type]||{}):r;return e.CommonBase.getJsonMerge({},t,m)},z=t=>{const r=j(),l=[];return Object.keys(t).forEach(m=>{let i="";if(e.CommonBase.isNonEmptyString(g.messages[m])?i=g.messages[m]:e.CommonBase.isNonEmptyString(r[m])&&(i=r[m]),!e.CommonBase.isEmpty(i)){const u=t[m],p=e.CommonBase.isExistValue(i,"%s")?i.replace(/%s/g,e.CommonBase.isEmpty(u)?"":String(u)):i;l.push(p)}}),l},x=()=>(F.form&&!F.form.isConnected&&(F.form=null),e.CommonBase.isUndefined(F.form)&&f.value&&(F.form=R.CommonElement.getParent(f.value,"form")),F.form),v=()=>{x();let t=k().type;F.form&&!e.CommonBase.isEmpty(F.form.dataset.theme)&&(t=F.form.dataset.theme),e.CommonBase.isNonEmptyString(o.msgType)&&(t=o.msgType),t!=="tip"&&t!=="text"&&(t="tip"),c.type=t},J=()=>{let t=!0;return x(),!e.CommonBase.isUndefined(F.form)&&F.form&&(e.CommonBase.isUndefined(F.form.dataset.clValidate)||(t=!e.CommonBase.isUndefined(F.form.dataset.run))),t},_=t=>{const r=e.CommonBase.isNonEmptyString(t)?t:"";if(e.CommonBase.isEmpty(r))c.msgHtml="",c.check=1;else if(c.msgHtml=r,c.check=2,e.CommonBase.isNonEmptyString(o.msgElementId))try{const l=window.document.querySelector(o.msgElementId);l?n.nextTick(()=>{y.value&&l.isConnected?l.appendChild(y.value):y.value&&d.clLog.warn("ClFormValidate","[cl-form-validate] msgElementId 目标已脱离文档:"+o.msgElementId+",消息展示在组件内部")}):d.clLog.warn("ClFormValidate","[cl-form-validate] 未找到 msgElementId 目标元素:"+o.msgElementId+",消息展示在组件内部")}catch{d.clLog.warn("ClFormValidate","[cl-form-validate] msgElementId 选择器无效:"+o.msgElementId)}},D=()=>{c.msgHtml="",c.check=0},G=(t,r)=>{let l="";if(!e.CommonBase.isEmpty(t))switch(r){case"tip":l=t.map(m=>`<div>${m}</div>`).join("");break;case"text":l=t.join(",");break}return l},h=()=>{let t=!0;try{if(o.isCheck&&J()){v(),q();const r=N(o.checkValue);if(t=e.CommonBase.isEmpty(r),t)_("");else{let l=G(z(r),c.type);if(e.CommonBase.isEmpty(l)){const m=Object.keys(r)[0];l=e.CommonBase.isNonEmptyString(m)?m:"校验未通过"}_(l)}}else D()}catch{d.clLog.warn("ClFormValidate","[cl-form-validate] 校验执行异常,已按未通过处理"),D(),t=!1}return t},K=()=>{if(b(o.rules||[]),x(),f.value){const t=f.value;t.pElError=o.pElError,t.runValidate=h,t.runErrMsg=V,t.runReset=M}};n.onMounted(()=>{n.nextTick(()=>{K()})}),n.onBeforeUnmount(()=>{y.value?.remove()}),n.watch(()=>o.checkValue,()=>{h()}),n.watch([()=>o.rules,()=>o.isCheck],([t])=>{b(t||[]),h()},{deep:!0});const H=()=>h(),V=t=>{v(),_(t)},M=()=>{v(),D()};return a({runValidate:H,runErrMsg:V,runReset:M}),(t,r)=>{const l=n.resolveDirective("cltooltip");return n.openBlock(),n.createElementBlock("div",n.mergeProps({ref_key:"refElTop",ref:f,class:A.value},T.value),[n.renderSlot(t.$slots,"default"),c.msgHtml.length>0&&s.isShowMsg?(n.openBlock(),n.createElementBlock("div",{key:0,ref_key:"refElMsg",ref:y,class:n.normalizeClass($.value),role:"alert"},[c.type==="tip"?n.withDirectives((n.openBlock(),n.createBlock(U._sfc_main,{key:0,name:"exclamation-circle-fill",class:"error-tip-el",role:"img","aria-label":I.value},null,8,["aria-label"])),[[l,c.msgHtml]]):c.type==="text"?(n.openBlock(),n.createElementBlock("span",Q,n.toDisplayString(c.msgHtml),1)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[],64))],2)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[],64))],16)}}});exports._sfc_main=X;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, inject as w, useTemplateRef as x, reactive as _, onBeforeUnmount as I, openBlock as d, createElementBlock as f, createVNode as O, Transition as V, withCtx as k, createElementVNode as h, createCommentVNode as S, nextTick as B } from "vue";
|
|
2
2
|
import g from "video.js";
|
|
3
|
-
import { C as l } from "./base-
|
|
3
|
+
import { C as l } from "./base-fr2I80sU.js";
|
|
4
4
|
const C = { class: "preview-video" }, L = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "preview-video-container"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),h=require("video.js"),a=require("./base-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),h=require("video.js"),a=require("./base-DbuX_Y3x.js"),v={class:"preview-video"},m={key:0,class:"preview-video-container"},w=["id"],x=t.defineComponent({name:"ClPreviewVideo",__name:"Video",props:{videoInx:{type:Number,default:0},list:{type:Array,default:()=>[]},isLoop:{type:Boolean,default:!1}},setup(u,{expose:f}){const i=u,p=t.inject("$PreviewTop"),r=t.useTemplateRef("refElVideo"),o=t.reactive({keyIndex:`previewVideo-${a.CommonBase.getRandom(8)}`,isShow:!1,src:"",showIndex:i.videoInx}),n={playerOpt:null},y=()=>{if(n.playerOpt)n.playerOpt.src(o.src),n.playerOpt.play().catch(()=>{});else{const e={sources:[{src:o.src}],autoplay:!0,controls:!0,loop:!1};if(!r.value)return;n.playerOpt=h(r.value,e,()=>{n.playerOpt.play().catch(()=>{})})}},c=()=>{if(!p)return;const{showIndex:e}=o,l=a.CommonBase.isArray(i.list)?i.list.length:0,s=l>0&&e>=0&&e<l;o.isShow=s,s&&(o.src=i.list[e],p.setPrevNextStatus(e,l),t.nextTick(()=>{y()}))},d=()=>{if(n.playerOpt&&n.playerOpt.dispose){n.playerOpt.pause&&n.playerOpt.pause();try{n.playerOpt.dispose()}catch{}n.playerOpt=null}};return t.onBeforeUnmount(()=>{d()}),f({show:e=>{o.showIndex=e,c()},hide:()=>{d(),o.isShow=!1},prev:()=>{const{showIndex:e}=o,l=a.CommonBase.isArray(i.list)?i.list.length:0;let s=-1;e>0?s=e-1:i.isLoop&&(s=l-1),s>-1&&(o.showIndex=s,c())},next:()=>{const{showIndex:e}=o,l=a.CommonBase.isArray(i.list)?i.list.length:0;let s=-1;e<l-1?s=e+1:i.isLoop&&(s=0),s>-1&&(o.showIndex=s,c())}}),(e,l)=>(t.openBlock(),t.createElementBlock("div",v,[t.createVNode(t.Transition,{"enter-active-class":"animated zoomIn","leave-active-class":"animated zoomOut"},{default:t.withCtx(()=>[o.isShow?(t.openBlock(),t.createElementBlock("div",m,[t.createElementVNode("div",null,[t.createElementVNode("video",{ref_key:"refElVideo",ref:r,id:o.keyIndex,class:"video-js vjs-default-skin vjs-big-play-centered"},null,8,w)])])):t.createCommentVNode("",!0)]),_:1})]))}});exports.default=x;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const J={};function C(S,t){J[S]=t}class x{static getTypeof(t){return typeof t}static _toStringCall(t){return Object.prototype.toString.call(t)}static isUndefined(t){return this.getTypeof(t)==="undefined"||t===null}static isNaN(t){return Number.isNaN(Number(t))}static isFinite(t){return Number.isFinite(Number(t))}static isBoolean(t){return this.getTypeof(t)==="boolean"}static isString(t){return this.getTypeof(t)==="string"}static isNonEmptyString(t){return!!(this.isString(t)&&!this.isEmpty(t))}static isFunction(t){return this.getTypeof(t)==="function"}static isObject(t){return!this.isUndefined(t)&&this.getTypeof(t)==="object"}static isBlob(t){return this._toStringCall(t)==="[object Blob]"}static isFile(t){return this._toStringCall(t)==="[object File]"}static isNumber(t){let e=!1;return this.isString(t)?/^(-)?(([1-9]\d*)|0)(\.\d+)?$/.test(t):(this.getTypeof(t)==="number"&&(e=!0),e)}static isInt(t){return this.isUndefined(t)||typeof t!="string"&&typeof t!="number"?!1:/^[1-9]\d*$|^0$/.test(t.toString())}static isHtml(t){return/<[a-z][a-z0-9]*(?:\s[^>]*)?>|<\/[a-z][a-z0-9]*>/i.test(t)}static isHtmlPair(t){return this.isString(t)?/<([a-z][a-z0-9-]*)[^>]*>[\s\S]*?<\/\1>/i.test(t):!1}static isJson(t){let e=!1;if(this.isString(t))try{const s=JSON.parse(t);this.isObject(s)&&(e=!0)}catch{}else this.isObject(t)&&(e=!0);return e}static isWindow(t){return!this.isUndefined(t)&&t===t.window}static _isEmptyObject(t){return this.isUndefined(t)?!0:Object.keys(t).length===0}static isArray(t){return Array.isArray(t)&&this._toStringCall(t)==="[object Array]"}static isLocationLngLat(t){let e=!1;if(!this.isEmpty(t)){let s;if(this.isString(t)?s=this.split(t):this.isArray(t)?s=t:s=[],s.length===2){const i=s[0],n=s[1],r=/^-?(180(\.0+)?|1[0-7]?\d?(\.\d+)?|[1-9]?\d?(\.\d+)?)$/,o=/^-?(90(\.0+)?|[1-8]?\d?(\.\d+)?)$/;e=r.test(i)&&o.test(n)}}return e}static isEmpty(t,e){let s=this.isUndefined(t);if(!s){const i=this.getTypeof(t);if(this.isString(t)?s=this.trim(t).length===0:this.isArray(t)?s=t.length===0:i==="object"&&(this.isFile(t)?s=!1:s=this._isEmptyObject(t)),!s&&!this.isUndefined(e)){let n=t;this.isNumber(t)&&(n=n.toString());let r=e;this.isNumber(e)&&(r=r.toString()),s=this.isEqual(n,r)}}return s}static isEqual(t,e){return Object.is(t,e)}static isEqualArr(t,e,s=!1){let i=!1;const n=this.isEmpty(t),r=this.isEmpty(e);if(n&&r)i=!0;else if(t.length===e.length)if(i=!0,s){for(let o=0;o<t.length;o++)if(t[o].toString()!==e[o].toString()){i=!1;break}}else{const o=this.getArrConvertJson(e);for(let a=0;a<t.length;a++)if(!this.isExistJsonKey(o,t[a].toString())){i=!1;break}}else i=!1;return i}static isEqualList(t,e,s=["id"]){let i=!1;const n=this.isEmpty(t),r=this.isEmpty(e);if(n&&r)i=!0;else if(t.length===e.length){const o=t.map(a=>s.map(c=>a[c].toString()).join(","));i=!0,e.some(a=>{const c=s.map(l=>a[l].toString()).join(",");if(!this.isExistValue(o,c))return i=!1,!0})}else i=!1;return i}static isContainArr(t,e){let s=!1;const i=this.isEmpty(t),n=this.isEmpty(e);return i&&n?s=!0:t.length>=e.length?(s=!0,e.some(r=>{if(!this.isExistValue(t,r))return s=!1,!0})):s=!1,s}static isExistValue(t,e){return this.isUndefined(t)?!1:t.includes?t.includes(e):t.indexOf(e)>-1}static isExistJsonKey(t,e){return this.isUndefined(t)?!1:Object.prototype.hasOwnProperty.call(t,e)}static osType(){if(typeof navigator>"u")return{isTablet:!1,isIOS:!1,isAndroid:!1,isMobile:!1,isPc:!0};const t=navigator.userAgent,e=/(?:Android)/.test(t),s=/(?:Firefox)/.test(t),i=/(?:iPad|PlayBook)/.test(t)||e&&!/(?:Mobile)/.test(t)||s&&/(?:Tablet)/.test(t),n=/(?:iPhone)/.test(t)&&!i;return{isTablet:i,isIOS:n,isAndroid:e,isMobile:n||e,isPc:!n&&!e}}static trim(t){if(this.isUndefined(t))return t;const e=t.toString();return e.trim?e.trim():e.replace(/^\s+|\s+$/gm,"")}static split(t,e=",",s=!0){e===" "&&(s=!1);let i;if(this.isEmpty(t))i=[];else{let n=t;e===","&&(n=n.replace(/,/g,",")),i=n.toString().split(e)}return s&&(i=i.filter(n=>!this.isEmpty(n))),i}static kebabCase(t){const e=t.replace(/([A-Z])/g," $1").trim();return this.split(e," ",!1).join("-").toLowerCase()}static getByteLen(t){let e=0;for(let s=0;s<t.length;s+=1)t.charAt(s).match(/[^\x00-\xff]/gi)!==null?e+=3:e+=1;return e}static getJsonClone(t,e=!1,s={}){if(e)return this._getJsonCloneDeep(t,s);{const i=this.isUndefined(s.exclude)?[]:s.exclude;if(i.length===0)return this.getJsonMerge(t);{const n={};return Object.keys(t).forEach(r=>{this.isExistValue(i,r)||(n[r]=t[r])}),n}}}static _getJsonCloneDeep(t,e={}){const s=this.isArray(t)?[]:{},i=this.isUndefined(e.exclude)?[]:e.exclude;return Object.keys(t).forEach(n=>{if(i.length===0||!this.isExistValue(i,n)){const o=t[n];this.isUndefined(o)||!this.isObject(o)?this.isArray(o)?s[n]=this.getListClone(o,!0):s[n]=o:s[n]=this._getJsonCloneDeep(o)}}),s}static getJsonCloneByKeyArr(t,e){const s={};return e.forEach(i=>{const n=t[i];s[i]=this.isUndefined(n)?"":this.isObject(n)?this.getJsonClone(n):n}),s}static getJsonCloneByKeyJson(t,e){const s=Object.keys(e);return this.getJsonCloneByKeyArr(t,s)}static getJsonCloneByRemoveArr(t,e){const s={};return e.length===0?t:(Object.keys(t).forEach(i=>{this.isExistValue(e,i)||(s[i]=t[i])}),s)}static getStringByJson(t,e){return this.isObject(t)?Object.keys(t).filter(s=>t[s]).join(e):""}static getJsonMerge(...t){return Object.assign({},...t)}static getJsonReversal(t){const e={};return Object.keys(t).forEach(s=>{e[t[s]]=s}),e}static getJsonMergeDeep(...t){const e={},s=t.length;for(let i=0;i<s;i++)this._mergeJsonDeep(e,t[i]||{});return e}static _mergeJsonDeep(t,e){Object.keys(e).forEach(s=>{const i=e[s];this.isUndefined(i)?t[s]=i:this.isArray(i)?t[s]=this.getListClone(i,!0):this.isObject(i)&&this.isExistJsonKey(t,s)?this._mergeJsonDeep(t[s],i):t[s]=i})}static getJsonMap(t,e,s=!1){const i={};if(!this.isEmpty(t)&&!this._isEmptyObject(e))for(const[n,r]of Object.entries(e)){let o=r.toString(),a="";if(o.indexOf("|")>-1){const c=this.split(o,"|");o=c[0],a=c[1]}if(o.indexOf(".")>-1){const c=this.split(o,".");let l=this.getJsonClone(t,!0);c.forEach((h,b)=>{const f=l[h],g=this.isEmpty(f);b===c.length-1?this.isUndefined(f)?l=s?"":f:g?l="":a&&a.length>0?l=this.isEmpty(f)?"":this.getValueByFormat(f,a):l=f:l=g?{}:f}),i[n]=this.isString(l)?this.trim(l):l}else if(this.isExistJsonKey(t,o)){const c=t[o];let l;this.isUndefined(c)?l=s?"":c:a&&a.length>0?l=this.isEmpty(c)?"":this.getValueByFormat(c,a):l=c,i[n]=this.isString(l)?this.trim(l):l}else s&&(i[n]="")}return i}static getJsonByList(t,e,s=!1){const i={};if(!this.isEmpty(t)){const n=e&&!this.isEmpty(e)?e:"id";t.forEach(r=>{let o="";s?e&&(o=this.convertStringFormat(e,r)):o=this.isExistJsonKey(r,n)?r[n].toString():"",o.length>0&&(i[o]=this.getJsonClone(r))})}return i}static getJsonByArr(t){const e={};return this.isEmpty(t)||t.forEach(s=>{e[s]=s}),e}static getGroupByList(t,e){const s={};return this.isEmpty(t)||t.forEach(i=>{const n=this.isExistJsonKey(i,e)?i[e].toString():"";n.length>0&&(this.isExistJsonKey(s,n)||(s[n]=[]),s[n].push(this.getJsonClone(i)))}),s}static getJsonByBlob(t){return new Promise((e,s)=>{const i=new FileReader;i.onload=()=>{try{const n=JSON.parse(i.result);e(n)}catch(n){s(n)}},i.onerror=s,i.readAsText(t)})}static getBase64ByFile(t){return new Promise(e=>{let s=null;if(t instanceof Blob?s=t:t&&t.length>0&&(s=t[0]),!(s instanceof Blob)){e("");return}const i=new FileReader;i.onload=n=>{e(n.target.result)},i.onerror=()=>{e("")},i.readAsDataURL(s)})}static getTreeList(t){let e=[];const s=[],i={},n={};return this.isEmpty(t)||(t.forEach(r=>{const o=r.id.toString(),a=r.parentId.toString();a==="0"&&s.push(o),i[o]=r,this.isExistJsonKey(n,a)||(n[a]=[]),n[a].push(r)}),s.forEach(r=>{e=e.concat(this._recursionChild(r,n,i))})),{tree:e,group:n,json:i,list:t}}static getTreeLastParent(t,e,s=!0){let i=[];return this.isExistJsonKey(e,t)&&(i=this._recursionParent(t,e),s||i.splice(0,1),i.reverse()),i}static _recursionChild(t,e,s){const i=[],n=this.getJsonClone(s[t]);return this.isExistJsonKey(e,t)&&(n.list=[],e[t].forEach(o=>{const a=o.id.toString();n.list=n.list.concat(this._recursionChild(a,e,s))})),i.push(n),i}static _recursionParent(t,e){let s=[];if(this.isExistJsonKey(e,t)){const i=e[t],n=i.parentId.toString();s.push(i),s=s.concat(this._recursionParent(n,e))}return s}static getListByTree(t,e={}){const s=this.isEmpty(e.idKey)?"id":e.idKey,i=this.isEmpty(e.cKey)?"list":e.cKey,n=this.isEmpty(e.pKey)?"parentId":e.pKey,r=this.isEmpty(e.topPV)?"0":e.topPV;return this._recursionListByTree(t,r,{idKey:s,cKey:i,pKey:n})}static _recursionListByTree(t,e,s){const i=[];return t.forEach(n=>{const r=this.getJsonClone(n,!1,{exclude:[s.cKey]});r[s.pKey]=e;const o=this.isUndefined(n[s.cKey]);if(r.isLastLevel=o,i.push(r),!o){const a=this._recursionListByTree(n[s.cKey],r[s.idKey],s);i.push(...a)}}),i}static getListClone(t,e=!1){return this.isEmpty(t)?[]:t.map(s=>this.isObject(s)?this.getJsonClone(s,e):s)}static getListMergeDeep(t,e,s="id"){const i=[];if(t.length>0){const n=this.getJsonByList(e,s);t.forEach(r=>{let o={},a=r[s];this.isEmpty(a)||(a=a.toString(),o=this.isExistJsonKey(n,a)?n[a]:{});const c=this.getJsonMergeDeep(o,r);i.push(c)})}return i}static getRecursionParentList(t,e,s="parentId"){let i=[];const n=e.toString();if(n!=="0"&&this.isExistJsonKey(t,n)){const r=t[n];i.push(r);const o=r[s].toString(),a=this.getRecursionParentList(t,o);this.isEmpty(a)||(i=i.concat(a))}return i}static getListExistValue(t,e,s="id"){let i,n=-1;return this.isEmpty(t)||t.forEach((r,o)=>{this.isExistJsonKey(r,s)&&r[s].toString()===e.toString()&&(i=this.getJsonClone(r),n=o)}),n===-1?null:{info:i,inx:n}}static getArrClone(t){return this.isEmpty(t)?[]:t.map(e=>e)}static getArrByList(t,e="id"){const s=[];return this.isEmpty(t)||t.forEach(i=>{this.isExistJsonKey(i,e)&&s.push(i[e])}),s}static getArrRemoveById(t,e){if(this.isEmpty(e))return t;const s=[],i=this.isArray(e)?e:this.split(e.toString()),n=this.getArrConvertJson(i);return t.forEach(r=>{this.isExistJsonKey(n,r.toString())||s.push(r)}),s}static getArrByMinMax(t=1,e){const s=[];for(let i=t;i<=e;i+=1)s.push(i);return s}static getArrUnique(t){const e=[];if(t.length>0){const s={};let i=null;for(let n=0;n<t.length;n+=1)i=t[n],i!==null&&!s[i]&&(e.push(i),s[i]=!0)}return e}static getArrConvertJson(t){const e={};return t.forEach(s=>{e[s.toString()]=!0}),e}static getArrAsc(t,e){let s;switch(e){case"date":s=(i,n)=>Date.parse(i)-Date.parse(n);break;case"number":s=(i,n)=>i-n;break;default:s=(i,n)=>this._arrSortString(i.toString(),n.toString())}return t.sort(s)}static getArrDesc(t,e){let s;switch(e){case"date":s=(i,n)=>Date.parse(n)-Date.parse(i);break;case"number":s=(i,n)=>n-i;break;default:s=(i,n)=>this._arrSortString(n.toString(),i.toString())}return t.sort(s)}static _arrSortString(t,e){let s=0;for(let i=0;;i++){if(!t[i]||!e[i]){s=t.length-e.length;break}const n=t[i],r=this._getChartType(n),o=e[i],a=this._getChartType(o);if(r[0]===a[0]){if(n===o)continue;r[0]==="zh"?s=n.localeCompare(o):r[0]==="en"?s=n.charCodeAt(0)-o.charCodeAt(0):s=n-o;break}else{s=r[1]-a[1];break}}return s}static _getChartType(t){return/^[0-9]$/.test(t)?["number",100]:/^[a-zA-Z]$/.test(t)?["en",200]:/^[\u4e00-\u9fa5]$/.test(t)?["zh",300]:["others",999]}static getZeroCount(t){if(t<=0)return"";const e=[];for(let s=0;s<t;s+=1)e.push("0");return e.join("")}static getFillZero(t,e=2,s="l"){const i=this.getZeroCount(e),n=this.isEmpty(t)?"":t.toString();let r="",o="";return s==="l"?(r=i+n,o=r.substring(r.length-e)):(r=n.toString()+i,o=r.substring(0,e)),o}static getRandom(t=3){const e=t>0?t:1;let s=Math.random();return s=Math.ceil(s*10**(e-1)),this.getFillZero(s,t,"r")}static getRandomRange(t,e,s=!0){const i=e-t,n=Math.random();return t+(s?Math.round(i*n):i*n)}static getCaptcha(t=6){const e="0123456789";let s="";for(let i=0;i<t;i++)s+=e.charAt(Math.floor(Math.random()*e.length));return s}static getValueByFormat(t,e,s={}){let i;switch(e){case"num":case"int":case"float":case"float2":case"float3":case"number":{if(this.isNumber(t))if(this.isEmpty(t))i=(this.isBoolean(s.isEmptyDefault)?s.isEmptyDefault:!0)?"0":t;else{let n=t.toString();if(n=this.isExistValue(n,",")?this.removeReplace(n):n,e==="number")i=Number(n);else{let r=0;if(e==="num"?r=this.isExistValue(n,".")?2:0:e==="int"?r=0:e==="float"?this.isNumber(s.decimalNum)&&(r=parseInt(s.decimalNum)):e==="float2"?r=2:e==="float3"&&(r=3),this.isBoolean(s.isRounding)?s.isRounding:!0)i=parseFloat(n).toFixed(r);else if(r>0){const c=this.split(n,"."),l=c[1].length;i=c[0]+"."+c[1].substring(0,l>r?r:l)}else i=parseInt(n).toString();i=Number(i).toFixed(r),(this.isBoolean(s.isThousands)?s.isThousands:!0)&&(i=this.getFormatThousands(i))}}else i=t;break}case"date":case"dateTime":case"time":{if(this.isEmpty(t))i=t;else{let n="";this.isEmpty(s.dateFormat)?e==="dateTime"?n="YYYY-MM-DD HH:mm:ss":e==="time"?n="HH:mm:ss":n="YYYY-MM-DD":n=s.dateFormat;const r=J[e];r?i=r(t,n):i=t}break}case"string":i=t.toString();break;case"intArray":i=this.split(t).map(n=>parseInt(n));break;default:i=t}return i}static getHourInterval(t,e=""){const s=this.isEmpty(e)?t:e;return`${this.getFillZero(t)}:00-${this.getFillZero(s)}:59`}static getFormatThousands(t){if(!this.isNumber(t))return"";const e=this.split(t.toString(),".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?`.${e[1]}`:"")}static getNumCeil(t,e={}){if(!this.isNumber(t))return 0;const s=Number(t),i=s<0,n=Math.abs(s);if(n===0)return 0;const r=n<1;let o=0,a=n.toString(),c=-1;if(r){if(c=-1,n>0){const d=this.split(a,".")[1];a=Number(d).toString(),o=d.length-a.length}}else o=0,c=a.indexOf("."),c>-1&&(a=a.replace(".",""));const l=this.isBoolean(e.isCeil)?e.isCeil:!0,h=this.isUndefined(e.inxPos)?2:parseInt(e.inxPos),b=this.isBoolean(e.isEndFive)?e.isEndFive:!1,f=this.isBoolean(e.isRounding)?e.isRounding:!1;let g,p="";h<a.length?(g=a.substring(0,h),p=a.substring(h)):g=a;let u="";const m=l||f&&p.length>0&&parseInt(p.substring(0,1))>=5?(parseInt(g)+1).toString():parseInt(g).toString(),y=parseInt(m.substring(m.length-1));if(b)if(y===5||y===0)u=m;else{const d=parseInt(m.substring(0,h-1));y>5?u=`${d+1}0`:y<5&&(u=`${d}5`),m.length>h&&u.length===h&&(u=`${u}0`)}else u=m;let w="",E=0;c===-1?E=p.length:c<h?(E=0,u=(Number(u)/((h-c)*10)).toString()):c>h&&(E=c-h),w=this.getZeroCount(E),r&&(u=`0.${this.getZeroCount(o)}${u}`);const A=u+w;return Number(A)*(i?-1:1)}static removeReplace(t,e=","){if(this.isUndefined(t))return"";const s=new RegExp(`[${e}]`,"g");return t.toString().replace(s,"")}static conversionEmptyZero(t,e,s){const i=t;if(!this.isEmpty(e)){let n=0,r=0;if(s){let o={};this.isString(s)?o.emptyDef=s:this.isObject(s)&&(o=s);const a=this.isEmpty(o.undefinedDef);a||(r=o.undefinedDef),this.isEmpty(o.emptyDef)||(n=o.emptyDef,a&&(r=o.emptyDef))}e.forEach(o=>{this.isEmpty(t[o])&&(this.isUndefined(t[o])?i[o]=r:i[o]=n)})}return i}static conversionPercentage(t,e,s=!0){const i=t;return this.isEmpty(e)||e.forEach(n=>{const r=t[n];this.isEmpty(r)?i[n]=0:this.isNumber(r)?i[n]=s?r*100:r/100:i[n]=r}),i}static convertStringFormat(t,e){let s=t;return this.isEmpty(e)||(s=t.replace(/[$]{[^}]+}/g,i=>{const n=i.replace("${","").replace("}","");return this.isExistJsonKey(e,n)?e[n]:i})),s}static convertStringFormatEncodeHTML(t,e){let s=t;return this.isEmpty(e)||(s=t.replace(/[$]{[^}]+}/g,i=>{const n=i.replace("${","").replace("}","");if(this.isExistJsonKey(e,n)){const r=e[n];return this.isString(r)?this.encodeHTML(r):r}return i})),s}static getQueryString(t,e){const s=new RegExp(`(^|&)${e}=([^&]*)(&|$)`,"i"),i=t.substring(t.indexOf("?")+1).match(s);return i!==null?decodeURI(i[2]):""}static getQueryStringByHash(t){return this.getQueryString(window.location.hash,t)}static encodeHTML(t){return String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}static removeHTMLTags(t){return t.replace(/<[^>]*>/g,"")}static requestAnimationFrame(t){const e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;return e?e.call(window,t):window.setTimeout(t,1e3/60)}static cancelAnimationFrame(t){const e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame;e?e.call(window,t):window.clearTimeout(t)}}exports.CommonBase=x;exports.registerFormatHandler=C;
|
|
1
|
+
"use strict";const w={};function C(S,t){w[S]=t}class x{static getTypeof(t){return typeof t}static _toStringCall(t){return Object.prototype.toString.call(t)}static isUndefined(t){return this.getTypeof(t)==="undefined"||t===null}static isNaN(t){return Number.isNaN(Number(t))}static isFinite(t){return Number.isFinite(Number(t))}static isBoolean(t){return this.getTypeof(t)==="boolean"}static isString(t){return this.getTypeof(t)==="string"}static isNonEmptyString(t){return!!(this.isString(t)&&!this.isEmpty(t))}static isFunction(t){return this.getTypeof(t)==="function"}static isObject(t){return!this.isUndefined(t)&&this.getTypeof(t)==="object"}static isBlob(t){return this._toStringCall(t)==="[object Blob]"}static isFile(t){return this._toStringCall(t)==="[object File]"}static isNumber(t){let e=!1;return this.isString(t)?/^(-)?(([1-9]\d*)|0)(\.\d+)?$/.test(t):(this.getTypeof(t)==="number"&&(e=!0),e)}static isInt(t){return this.isUndefined(t)||typeof t!="string"&&typeof t!="number"?!1:/^[1-9]\d*$|^0$/.test(t.toString())}static isHtml(t){return/<[a-z][a-z0-9]*(?:\s[^>]*)?>|<\/[a-z][a-z0-9]*>/i.test(t)}static isHtmlPair(t){return this.isString(t)?/<([a-z][a-z0-9-]*)[^>]*>[\s\S]*?<\/\1>/i.test(t):!1}static isJson(t){let e=!1;if(this.isString(t))try{const s=JSON.parse(t);this.isObject(s)&&(e=!0)}catch{}else this.isObject(t)&&(e=!0);return e}static isWindow(t){return!this.isUndefined(t)&&t===t.window}static _isEmptyObject(t){return this.isUndefined(t)?!0:Object.keys(t).length===0}static isArray(t){return Array.isArray(t)&&this._toStringCall(t)==="[object Array]"}static isLocationLngLat(t){let e=!1;if(!this.isEmpty(t)){let s;if(this.isString(t)?s=this.split(t):this.isArray(t)?s=t:s=[],s.length===2){const i=s[0],n=s[1],r=/^-?(180(\.0+)?|1[0-7]?\d?(\.\d+)?|[1-9]?\d?(\.\d+)?)$/,o=/^-?(90(\.0+)?|[1-8]?\d?(\.\d+)?)$/;e=r.test(i)&&o.test(n)}}return e}static isEmpty(t,e){let s=this.isUndefined(t);if(!s){const i=this.getTypeof(t);if(this.isString(t)?s=this.trim(t).length===0:this.isArray(t)?s=t.length===0:i==="object"&&(this.isFile(t)?s=!1:s=this._isEmptyObject(t)),!s&&!this.isUndefined(e)){let n=t;this.isNumber(t)&&(n=n.toString());let r=e;this.isNumber(e)&&(r=r.toString()),s=this.isEqual(n,r)}}return s}static isEqual(t,e){return Object.is(t,e)}static isEqualArr(t,e,s=!1){let i=!1;const n=this.isEmpty(t),r=this.isEmpty(e);if(n&&r)i=!0;else if(t.length===e.length)if(i=!0,s){for(let o=0;o<t.length;o++)if(t[o].toString()!==e[o].toString()){i=!1;break}}else{const o=this.getArrConvertJson(e);for(let a=0;a<t.length;a++)if(!this.isExistJsonKey(o,t[a].toString())){i=!1;break}}else i=!1;return i}static isEqualList(t,e,s=["id"]){let i=!1;const n=this.isEmpty(t),r=this.isEmpty(e);if(n&&r)i=!0;else if(t.length===e.length){const o=t.map(a=>s.map(c=>a[c].toString()).join(","));i=!0,e.some(a=>{const c=s.map(l=>a[l].toString()).join(",");if(!this.isExistValue(o,c))return i=!1,!0})}else i=!1;return i}static isContainArr(t,e){let s=!1;const i=this.isEmpty(t),n=this.isEmpty(e);return i&&n?s=!0:t.length>=e.length?(s=!0,e.some(r=>{if(!this.isExistValue(t,r))return s=!1,!0})):s=!1,s}static isExistValue(t,e){return this.isUndefined(t)?!1:t.includes?t.includes(e):t.indexOf(e)>-1}static isExistJsonKey(t,e){return this.isUndefined(t)?!1:Object.prototype.hasOwnProperty.call(t,e)}static osType(){if(typeof navigator>"u")return{isTablet:!1,isIOS:!1,isAndroid:!1,isMobile:!1,isPc:!0};const t=navigator.userAgent,e=/(?:Android)/.test(t),s=/(?:Firefox)/.test(t),i=/(?:iPad|PlayBook)/.test(t)||e&&!/(?:Mobile)/.test(t)||s&&/(?:Tablet)/.test(t),n=/(?:iPhone)/.test(t)&&!i;return{isTablet:i,isIOS:n,isAndroid:e,isMobile:n||e,isPc:!n&&!e}}static trim(t){if(this.isUndefined(t))return t;const e=t.toString();return e.trim?e.trim():e.replace(/^\s+|\s+$/gm,"")}static split(t,e=",",s=!0){e===" "&&(s=!1);let i;if(this.isEmpty(t))i=[];else{let n=t;e===","&&(n=n.replace(/,/g,",")),i=n.toString().split(e)}return s&&(i=i.filter(n=>!this.isEmpty(n))),i}static kebabCase(t){const e=t.replace(/([A-Z])/g," $1").trim();return this.split(e," ",!1).join("-").toLowerCase()}static getByteLen(t){let e=0;for(let s=0;s<t.length;s+=1)t.charAt(s).match(/[^\x00-\xff]/gi)!==null?e+=3:e+=1;return e}static getJsonClone(t,e=!1,s={}){if(e)return this._getJsonCloneDeep(t,s);{const i=this.isUndefined(s.exclude)?[]:s.exclude;if(i.length===0)return this.getJsonMerge(t);{const n={};return Object.keys(t).forEach(r=>{this.isExistValue(i,r)||(n[r]=t[r])}),n}}}static _getJsonCloneDeep(t,e={}){const s=this.isArray(t)?[]:{},i=this.isUndefined(e.exclude)?[]:e.exclude;return Object.keys(t).forEach(n=>{if(i.length===0||!this.isExistValue(i,n)){const o=t[n];this.isUndefined(o)||!this.isObject(o)?this.isArray(o)?s[n]=this.getListClone(o,!0):s[n]=o:s[n]=this._getJsonCloneDeep(o)}}),s}static getJsonCloneByKeyArr(t,e){const s={};return e.forEach(i=>{const n=t[i];s[i]=this.isUndefined(n)?"":this.isObject(n)?this.getJsonClone(n):n}),s}static getJsonCloneByKeyJson(t,e){const s=Object.keys(e);return this.getJsonCloneByKeyArr(t,s)}static getJsonCloneByRemoveArr(t,e){const s={};return e.length===0?t:(Object.keys(t).forEach(i=>{this.isExistValue(e,i)||(s[i]=t[i])}),s)}static getStringByJson(t,e){return this.isObject(t)?Object.keys(t).filter(s=>t[s]).join(e):""}static getJsonMerge(...t){return Object.assign({},...t)}static getJsonReversal(t){const e={};return Object.keys(t).forEach(s=>{e[t[s]]=s}),e}static getJsonMergeDeep(...t){const e={},s=t.length;for(let i=0;i<s;i++)this._mergeJsonDeep(e,t[i]||{});return e}static _mergeJsonDeep(t,e){Object.keys(e).forEach(s=>{const i=e[s];this.isUndefined(i)?t[s]=i:this.isArray(i)?t[s]=this.getListClone(i,!0):this.isObject(i)&&this.isExistJsonKey(t,s)?this._mergeJsonDeep(t[s],i):t[s]=i})}static getJsonMap(t,e,s=!1){const i={};if(!this.isEmpty(t)&&!this._isEmptyObject(e))for(const[n,r]of Object.entries(e)){let o=r.toString(),a="";if(o.indexOf("|")>-1){const c=this.split(o,"|");o=c[0],a=c[1]}if(o.indexOf(".")>-1){const c=this.split(o,".");let l=this.getJsonClone(t,!0);c.forEach((h,b)=>{const f=l[h],g=this.isEmpty(f);b===c.length-1?this.isUndefined(f)?l=s?"":f:g?l="":a&&a.length>0?l=this.isEmpty(f)?"":this.getValueByFormat(f,a):l=f:l=g?{}:f}),i[n]=this.isString(l)?this.trim(l):l}else if(this.isExistJsonKey(t,o)){const c=t[o];let l;this.isUndefined(c)?l=s?"":c:a&&a.length>0?l=this.isEmpty(c)?"":this.getValueByFormat(c,a):l=c,i[n]=this.isString(l)?this.trim(l):l}else s&&(i[n]="")}return i}static getJsonByList(t,e,s=!1){const i={};if(!this.isEmpty(t)){const n=e&&!this.isEmpty(e)?e:"id";t.forEach(r=>{let o="";s?e&&(o=this.convertStringFormat(e,r)):o=this.isExistJsonKey(r,n)?r[n].toString():"",o.length>0&&(i[o]=this.getJsonClone(r))})}return i}static getJsonByArr(t){const e={};return this.isEmpty(t)||t.forEach(s=>{e[s]=s}),e}static getGroupByList(t,e){const s={};return this.isEmpty(t)||t.forEach(i=>{const n=this.isExistJsonKey(i,e)?i[e].toString():"";n.length>0&&(this.isExistJsonKey(s,n)||(s[n]=[]),s[n].push(this.getJsonClone(i)))}),s}static getJsonByBlob(t){return new Promise((e,s)=>{const i=new FileReader;i.onload=()=>{try{const n=JSON.parse(i.result);e(n)}catch(n){s(n)}},i.onerror=s,i.readAsText(t)})}static getBase64ByFile(t){return new Promise(e=>{let s=null;if(t instanceof Blob?s=t:t&&t.length>0&&(s=t[0]),!(s instanceof Blob)){e("");return}const i=new FileReader;i.onload=n=>{e(n.target.result)},i.onerror=()=>{e("")},i.readAsDataURL(s)})}static getTreeList(t){let e=[];const s=[],i={},n={};return this.isEmpty(t)||(t.forEach(r=>{const o=r.id.toString(),a=r.parentId.toString();a==="0"&&s.push(o),i[o]=r,this.isExistJsonKey(n,a)||(n[a]=[]),n[a].push(r)}),s.forEach(r=>{e=e.concat(this._recursionChild(r,n,i))})),{tree:e,group:n,json:i,list:t}}static getTreeLastParent(t,e,s=!0){let i=[];return this.isExistJsonKey(e,t)&&(i=this._recursionParent(t,e),s||i.splice(0,1),i.reverse()),i}static _recursionChild(t,e,s){const i=[],n=this.getJsonClone(s[t]);return this.isExistJsonKey(e,t)&&(n.list=[],e[t].forEach(o=>{const a=o.id.toString();n.list=n.list.concat(this._recursionChild(a,e,s))})),i.push(n),i}static _recursionParent(t,e){let s=[];if(this.isExistJsonKey(e,t)){const i=e[t],n=i.parentId.toString();s.push(i),s=s.concat(this._recursionParent(n,e))}return s}static getListByTree(t,e={}){const s=this.isEmpty(e.idKey)?"id":e.idKey,i=this.isEmpty(e.cKey)?"list":e.cKey,n=this.isEmpty(e.pKey)?"parentId":e.pKey,r=this.isEmpty(e.topPV)?"0":e.topPV;return this._recursionListByTree(t,r,{idKey:s,cKey:i,pKey:n})}static _recursionListByTree(t,e,s){const i=[];return t.forEach(n=>{const r=this.getJsonClone(n,!1,{exclude:[s.cKey]});r[s.pKey]=e;const o=this.isUndefined(n[s.cKey]);if(r.isLastLevel=o,i.push(r),!o){const a=this._recursionListByTree(n[s.cKey],r[s.idKey],s);i.push(...a)}}),i}static getListClone(t,e=!1){return this.isEmpty(t)?[]:t.map(s=>this.isObject(s)?this.getJsonClone(s,e):s)}static getListMergeDeep(t,e,s="id"){const i=[];if(t.length>0){const n=this.getJsonByList(e,s);t.forEach(r=>{let o={},a=r[s];this.isEmpty(a)||(a=a.toString(),o=this.isExistJsonKey(n,a)?n[a]:{});const c=this.getJsonMergeDeep(o,r);i.push(c)})}return i}static getRecursionParentList(t,e,s="parentId"){let i=[];const n=e.toString();if(n!=="0"&&this.isExistJsonKey(t,n)){const r=t[n];i.push(r);const o=r[s].toString(),a=this.getRecursionParentList(t,o);this.isEmpty(a)||(i=i.concat(a))}return i}static getListExistValue(t,e,s="id"){let i,n=-1;return this.isEmpty(t)||t.forEach((r,o)=>{this.isExistJsonKey(r,s)&&r[s].toString()===e.toString()&&(i=this.getJsonClone(r),n=o)}),n===-1?null:{info:i,inx:n}}static getArrClone(t){return this.isEmpty(t)?[]:t.map(e=>e)}static getArrByList(t,e="id"){const s=[];return this.isEmpty(t)||t.forEach(i=>{this.isExistJsonKey(i,e)&&s.push(i[e])}),s}static getArrRemoveById(t,e){if(this.isEmpty(e))return t;const s=[],i=this.isArray(e)?e:this.split(e.toString()),n=this.getArrConvertJson(i);return t.forEach(r=>{this.isExistJsonKey(n,r.toString())||s.push(r)}),s}static getArrByMinMax(t=1,e){const s=[];for(let i=t;i<=e;i+=1)s.push(i);return s}static getArrUnique(t){const e=[];if(t.length>0){const s={};let i=null;for(let n=0;n<t.length;n+=1)i=t[n],i!==null&&!s[i]&&(e.push(i),s[i]=!0)}return e}static getArrConvertJson(t){const e={};return t.forEach(s=>{e[s.toString()]=!0}),e}static getArrAsc(t,e){let s;switch(e){case"date":s=(i,n)=>Date.parse(i)-Date.parse(n);break;case"number":s=(i,n)=>i-n;break;default:s=(i,n)=>this._arrSortString(i.toString(),n.toString())}return t.sort(s)}static getArrDesc(t,e){let s;switch(e){case"date":s=(i,n)=>Date.parse(n)-Date.parse(i);break;case"number":s=(i,n)=>n-i;break;default:s=(i,n)=>this._arrSortString(n.toString(),i.toString())}return t.sort(s)}static _arrSortString(t,e){let s=0;for(let i=0;;i++){if(!t[i]||!e[i]){s=t.length-e.length;break}const n=t[i],r=this._getChartType(n),o=e[i],a=this._getChartType(o);if(r[0]===a[0]){if(n===o)continue;r[0]==="zh"?s=n.localeCompare(o):r[0]==="en"?s=n.charCodeAt(0)-o.charCodeAt(0):s=n-o;break}else{s=r[1]-a[1];break}}return s}static _getChartType(t){return/^[0-9]$/.test(t)?["number",100]:/^[a-zA-Z]$/.test(t)?["en",200]:/^[\u4e00-\u9fa5]$/.test(t)?["zh",300]:["others",999]}static getZeroCount(t){if(t<=0)return"";const e=[];for(let s=0;s<t;s+=1)e.push("0");return e.join("")}static getFillZero(t,e=2,s="l"){const i=this.getZeroCount(e),n=this.isEmpty(t)?"":t.toString();let r="",o="";return s==="l"?(r=i+n,o=r.substring(r.length-e)):(r=n.toString()+i,o=r.substring(0,e)),o}static getRandom(t=3){const e=t>0?t:1;let s=Math.random();return s=Math.ceil(s*10**(e-1)),this.getFillZero(s,t,"r")}static getRandomRange(t,e,s=!0){const i=e-t,n=Math.random();return t+(s?Math.round(i*n):i*n)}static getCaptcha(t=6){const e="0123456789";let s="";for(let i=0;i<t;i++)s+=e.charAt(Math.floor(Math.random()*e.length));return s}static getValueByFormat(t,e,s={}){let i;switch(e){case"num":case"int":case"float":case"float2":case"float3":case"number":{if(this.isNumber(t))if(this.isEmpty(t))i=(this.isBoolean(s.isEmptyDefault)?s.isEmptyDefault:!0)?"0":t;else{let n=t.toString();if(n=this.isExistValue(n,",")?this.removeReplace(n):n,e==="number")i=Number(n);else{let r=0;if(e==="num"?r=this.isExistValue(n,".")?2:0:e==="int"?r=0:e==="float"?this.isNumber(s.decimalNum)&&(r=parseInt(s.decimalNum)):e==="float2"?r=2:e==="float3"&&(r=3),this.isBoolean(s.isRounding)?s.isRounding:!0)i=parseFloat(n).toFixed(r);else if(r>0){const c=this.split(n,"."),l=c[1].length;i=c[0]+"."+c[1].substring(0,l>r?r:l)}else i=parseInt(n).toString();i=Number(i).toFixed(r),(this.isBoolean(s.isThousands)?s.isThousands:!0)&&(i=this.getFormatThousands(i))}}else i=t;break}case"date":case"dateTime":case"time":{if(this.isEmpty(t))i=t;else{let n="";this.isEmpty(s.dateFormat)?e==="dateTime"?n="YYYY-MM-DD HH:mm:ss":e==="time"?n="HH:mm:ss":n="YYYY-MM-DD":n=s.dateFormat;const r=w[e];r?i=r(t,n):i=t}break}case"string":i=t.toString();break;case"intArray":i=this.split(t).map(n=>parseInt(n));break;default:i=t}return i}static getHourInterval(t,e=""){const s=this.isEmpty(e)?t:e;return`${this.getFillZero(t)}:00-${this.getFillZero(s)}:59`}static getFormatThousands(t){if(!this.isNumber(t))return"";const e=this.split(t.toString(),".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?`.${e[1]}`:"")}static getNumCeil(t,e={}){if(!this.isNumber(t))return 0;const s=Number(t),i=s<0,n=Math.abs(s);if(n===0)return 0;const r=n<1;let o=0,a=n.toString(),c=-1;if(r){if(c=-1,n>0){const d=this.split(a,".")[1];a=Number(d).toString(),o=d.length-a.length}}else o=0,c=a.indexOf("."),c>-1&&(a=a.replace(".",""));const l=this.isBoolean(e.isCeil)?e.isCeil:!0,h=this.isUndefined(e.inxPos)?2:parseInt(e.inxPos),b=this.isBoolean(e.isEndFive)?e.isEndFive:!1,f=this.isBoolean(e.isRounding)?e.isRounding:!1;let g,p="";h<a.length?(g=a.substring(0,h),p=a.substring(h)):g=a;let u="";const m=l||f&&p.length>0&&parseInt(p.substring(0,1))>=5?(parseInt(g)+1).toString():parseInt(g).toString(),y=parseInt(m.substring(m.length-1));if(b)if(y===5||y===0)u=m;else{const d=parseInt(m.substring(0,h-1));y>5?u=`${d+1}0`:y<5&&(u=`${d}5`),m.length>h&&u.length===h&&(u=`${u}0`)}else u=m;let J="",E=0;c===-1?E=p.length:c<h?(E=0,u=(Number(u)/((h-c)*10)).toString()):c>h&&(E=c-h),J=this.getZeroCount(E),r&&(u=`0.${this.getZeroCount(o)}${u}`);const A=u+J;return Number(A)*(i?-1:1)}static removeReplace(t,e=","){if(this.isUndefined(t))return"";const s=new RegExp(`[${e}]`,"g");return t.toString().replace(s,"")}static conversionEmptyZero(t,e,s){const i=t;if(!this.isEmpty(e)){let n=0,r=0;if(s){let o={};this.isString(s)?o.emptyDef=s:this.isObject(s)&&(o=s);const a=this.isEmpty(o.undefinedDef);a||(r=o.undefinedDef),this.isEmpty(o.emptyDef)||(n=o.emptyDef,a&&(r=o.emptyDef))}e.forEach(o=>{this.isEmpty(t[o])&&(this.isUndefined(t[o])?i[o]=r:i[o]=n)})}return i}static conversionPercentage(t,e,s=!0){const i=t;return this.isEmpty(e)||e.forEach(n=>{const r=t[n];this.isEmpty(r)?i[n]=0:this.isNumber(r)?i[n]=s?r*100:r/100:i[n]=r}),i}static convertStringFormat(t,e){let s=t;return this.isEmpty(e)||(s=t.replace(/[$]{[^}]+}/g,i=>{const n=i.replace("${","").replace("}","");return this.isExistJsonKey(e,n)?e[n]:i})),s}static convertStringFormatEncodeHTML(t,e){let s=t;return this.isEmpty(e)||(s=t.replace(/[$]{[^}]+}/g,i=>{const n=i.replace("${","").replace("}","");if(this.isExistJsonKey(e,n)){const r=e[n];return this.isString(r)?this.encodeHTML(r):r}return i})),s}static getQueryString(t,e){const s=new RegExp(`(^|&)${e}=([^&]*)(&|$)`,"i"),i=t.substring(t.indexOf("?")+1).match(s);return i!==null?decodeURI(i[2]):""}static getQueryStringByHash(t){return this.getQueryString(window.location.hash,t)}static encodeHTML(t){return String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}static removeHTMLTags(t){return t.replace(/<[^>]*>/g,"")}static requestAnimationFrame(t){const e=window,s=window.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame;return s?s.call(window,t):window.setTimeout(t,1e3/60)}static cancelAnimationFrame(t){const e=window,s=window.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||e.msCancelAnimationFrame;s?s.call(window,t):window.clearTimeout(t)}}exports.CommonBase=x;exports.registerFormatHandler=C;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
1
|
+
const w = {};
|
|
2
2
|
function C(S, t) {
|
|
3
|
-
|
|
3
|
+
w[S] = t;
|
|
4
4
|
}
|
|
5
5
|
class x {
|
|
6
6
|
// constructor() {}
|
|
@@ -689,7 +689,7 @@ class x {
|
|
|
689
689
|
else {
|
|
690
690
|
let n = "";
|
|
691
691
|
this.isEmpty(s.dateFormat) ? e === "dateTime" ? n = "YYYY-MM-DD HH:mm:ss" : e === "time" ? n = "HH:mm:ss" : n = "YYYY-MM-DD" : n = s.dateFormat;
|
|
692
|
-
const r =
|
|
692
|
+
const r = w[e];
|
|
693
693
|
r ? i = r(t, n) : i = t;
|
|
694
694
|
}
|
|
695
695
|
break;
|
|
@@ -757,9 +757,9 @@ class x {
|
|
|
757
757
|
}
|
|
758
758
|
else
|
|
759
759
|
u = m;
|
|
760
|
-
let
|
|
761
|
-
c === -1 ? E = p.length : c < h ? (E = 0, u = (Number(u) / ((h - c) * 10)).toString()) : c > h && (E = c - h),
|
|
762
|
-
const A = u +
|
|
760
|
+
let J = "", E = 0;
|
|
761
|
+
c === -1 ? E = p.length : c < h ? (E = 0, u = (Number(u) / ((h - c) * 10)).toString()) : c > h && (E = c - h), J = this.getZeroCount(E), r && (u = `0.${this.getZeroCount(o)}${u}`);
|
|
762
|
+
const A = u + J;
|
|
763
763
|
return Number(A) * (i ? -1 : 1);
|
|
764
764
|
}
|
|
765
765
|
static removeReplace(t, e = ",") {
|
|
@@ -841,12 +841,12 @@ class x {
|
|
|
841
841
|
return t.replace(/<[^>]*>/g, "");
|
|
842
842
|
}
|
|
843
843
|
static requestAnimationFrame(t) {
|
|
844
|
-
const e = window.requestAnimationFrame ||
|
|
845
|
-
return
|
|
844
|
+
const e = window, s = window.requestAnimationFrame || e.webkitRequestAnimationFrame || e.mozRequestAnimationFrame || e.oRequestAnimationFrame || e.msRequestAnimationFrame;
|
|
845
|
+
return s ? s.call(window, t) : window.setTimeout(t, 1e3 / 60);
|
|
846
846
|
}
|
|
847
847
|
static cancelAnimationFrame(t) {
|
|
848
|
-
const e = window.cancelAnimationFrame ||
|
|
849
|
-
|
|
848
|
+
const e = window, s = window.cancelAnimationFrame || e.webkitCancelAnimationFrame || e.mozCancelAnimationFrame || e.oCancelAnimationFrame || e.msCancelAnimationFrame;
|
|
849
|
+
s ? s.call(window, t) : window.clearTimeout(t);
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
852
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "dayjs";
|
|
2
|
-
import { C as a, r as m } from "./base-
|
|
2
|
+
import { C as a, r as m } from "./base-fr2I80sU.js";
|
|
3
3
|
import "dayjs/locale/zh-cn.js";
|
|
4
4
|
import "dayjs/locale/en.js";
|
|
5
5
|
import o from "dayjs/plugin/localeData";
|
|
@@ -69,12 +69,21 @@ class n {
|
|
|
69
69
|
return this.getDayjsObject(t).diff(this.getDayjsObject(e), r);
|
|
70
70
|
}
|
|
71
71
|
/* static isValid(time: any, checkFormat = "YYYY-MM-DD"): any {
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
return Dayjs(time, checFormat, true).isValid();
|
|
73
|
+
} */
|
|
74
74
|
}
|
|
75
|
-
m(
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
m(
|
|
76
|
+
"date",
|
|
77
|
+
(s, t) => n.initFormat({ value: s, format: t })
|
|
78
|
+
);
|
|
79
|
+
m(
|
|
80
|
+
"dateTime",
|
|
81
|
+
(s, t) => n.initFormat({ value: s, format: t })
|
|
82
|
+
);
|
|
83
|
+
m(
|
|
84
|
+
"time",
|
|
85
|
+
(s, t) => n.initFormat({ value: s, format: t })
|
|
86
|
+
);
|
|
78
87
|
export {
|
|
79
88
|
n as C
|
|
80
89
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=Object.create;var m=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var d=(i,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!j.call(i,n)&&n!==t&&m(i,n,{get:()=>e[n],enumerable:!(r=f(e,n))||r.enumerable});return i};var b=(i,e,t)=>(t=i!=null?u(D(i)):{},d(e||!i||!i.__esModule?m(t,"default",{value:i,enumerable:!0}):t,i));const s=require("dayjs"),a=require("./base-
|
|
1
|
+
"use strict";var u=Object.create;var m=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var d=(i,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of l(e))!j.call(i,n)&&n!==t&&m(i,n,{get:()=>e[n],enumerable:!(r=f(e,n))||r.enumerable});return i};var b=(i,e,t)=>(t=i!=null?u(D(i)):{},d(e||!i||!i.__esModule?m(t,"default",{value:i,enumerable:!0}):t,i));const s=require("dayjs"),a=require("./base-DbuX_Y3x.js");require("dayjs/locale/zh-cn.js");require("dayjs/locale/en.js");const g=require("dayjs/plugin/localeData"),y=require("dayjs/plugin/objectSupport"),h=require("dayjs/plugin/isSameOrAfter"),O=require("dayjs/plugin/isSameOrBefore"),q=require("dayjs/plugin/isoWeek"),C=require("dayjs/plugin/utc"),B=require("dayjs/plugin/timezone");s.locale("zh-cn");s.extend(g);s.extend(y);s.extend(h);s.extend(O);s.extend(q);s.extend(C);s.extend(B);let o=!1;class c{static objDay=s;static timezone="PRC";static async ensureLunar(){if(o)return;const e=await import("dayjs-lunar");s.extend(e.default),o=!0}static initDay(e){return(a.CommonBase.isUndefined(e)?s():e).tz(this.timezone)}static getDayjsObject(e){if(a.CommonBase.isEmpty(e)&&!(e instanceof Date))return this.initDay(s());if(s.isDayjs(e))return this.initDay(e.clone());let t;return e instanceof Date?t=e:a.CommonBase.isString(e)?t=e.replace(/[/]/g,"-").replace(/:/g,":"):a.CommonBase.isInt(e)?t=new Date(parseInt(e,10)):a.CommonBase.isObject(e)&&(t=e),this.initDay(s(t,"YYYY-MM-DD HH:mm:ss"))}static initFormat(e){let t={value:"",format:"YYYY-MM-DD"},r;return a.CommonBase.isObject(e)?s.isDayjs(e)?r=e:(e.format&&(t=a.CommonBase.getJsonMerge(t,e)),e.value||e.format?r=this.getDayjsObject(e.value||""):r=this.getDayjsObject(e)):r=this.getDayjsObject(e),r.format(t.format)}static addTime(e,t,r="days"){return this.getDayjsObject(e).add(t,r)}static subtractTime(e,t,r="days"){return this.getDayjsObject(e).subtract(t,r)}static diffTime(e,t,r="millisecond"){return this.getDayjsObject(e).diff(this.getDayjsObject(t),r)}}a.registerFormatHandler("date",(i,e)=>c.initFormat({value:i,format:e}));a.registerFormatHandler("dateTime",(i,e)=>c.initFormat({value:i,format:e}));a.registerFormatHandler("time",(i,e)=>c.initFormat({value:i,format:e}));exports.CommDay=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./base-DbuX_Y3x.js"),t=require("./index-rFJmbgyH.js");class r{optionsDrag;_isDragging;_bindRunDragStart;_bindRunDragIng;_bindRunDragEnd;constructor(n,i){this.optionsDrag=i,this._isDragging=!1,this._init(n)}_init(n){this._bindRunDragStart=this._runDragStart.bind(this),this._bindRunDragIng=this._runDraggIng.bind(this),this._bindRunDragEnd=this._runDragEnd.bind(this),t.CommonElement.onListener(n,"mousedown",this._bindRunDragStart),t.CommonElement.onListener(n,"touchstart",this._bindRunDragStart)}_getIsPrimaryDown(n){if(n.type.startsWith("touch")){const i=n;return n.type==="touchend"?!1:(i.touches?.length??0)>0}return n.buttons===1}_runDragStart(n){if(this._isDragging)return;const i=t.CommonElement.getClientXY(n),o=this._getIsPrimaryDown(n);let e=!0;this.optionsDrag.start&&(e=this.optionsDrag.start(n,i,o)),e=s.CommonBase.isBoolean(e)?e:!0,e?(n.preventDefault(),n.stopPropagation(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,this._isDragging=!0,t.CommonElement.onListener(window,"mousemove",this._bindRunDragIng),t.CommonElement.onListener(window,"touchmove",this._bindRunDragIng),t.CommonElement.onListener(window,"mouseup",this._bindRunDragEnd),t.CommonElement.onListener(window,"touchend",this._bindRunDragEnd),t.CommonElement.onListener(window,"contextmenu",this._bindRunDragEnd)):this._isDragging=!1}_runDraggIng(n){if(!this._isDragging)return;const i=t.CommonElement.getClientXY(n);this.optionsDrag.ing&&this.optionsDrag.ing(n,i)}_runDragEnd(n){if(!this._isDragging)return;this._isDragging=!1;const i=t.CommonElement.getClientXY(n);this.optionsDrag.end&&this.optionsDrag.end(n,i),this._offListener()}_offListener(){t.CommonElement.offListener(window,"mousemove",this._bindRunDragIng),t.CommonElement.offListener(window,"touchmove",this._bindRunDragIng),t.CommonElement.offListener(window,"mouseup",this._bindRunDragEnd),t.CommonElement.offListener(window,"touchend",this._bindRunDragEnd),t.CommonElement.offListener(window,"contextmenu",this._bindRunDragEnd)}end(){this._isDragging=!1,this._offListener()}}exports.Drag=r;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { C as o } from "./base-fr2I80sU.js";
|
|
2
|
+
import { C as t } from "./index-B477PjJ3.js";
|
|
3
|
+
class u {
|
|
4
|
+
optionsDrag;
|
|
5
|
+
_isDragging;
|
|
6
|
+
_bindRunDragStart;
|
|
7
|
+
_bindRunDragIng;
|
|
8
|
+
_bindRunDragEnd;
|
|
9
|
+
constructor(n, i) {
|
|
10
|
+
this.optionsDrag = i, this._isDragging = !1, this._init(n);
|
|
11
|
+
}
|
|
12
|
+
_init(n) {
|
|
13
|
+
this._bindRunDragStart = this._runDragStart.bind(this), this._bindRunDragIng = this._runDraggIng.bind(this), this._bindRunDragEnd = this._runDragEnd.bind(this), t.onListener(n, "mousedown", this._bindRunDragStart), t.onListener(n, "touchstart", this._bindRunDragStart);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 归一化「主指针按下」判定,供 start 回调消费
|
|
17
|
+
* MouseEvent 用 buttons 主按钮标志位;TouchEvent 无 buttons(恒 undefined),
|
|
18
|
+
* 以事件类型与活动触点数量判断,避免调用方裸判 e.buttons === 1 导致触摸端恒 false
|
|
19
|
+
*/
|
|
20
|
+
_getIsPrimaryDown(n) {
|
|
21
|
+
if (n.type.startsWith("touch")) {
|
|
22
|
+
const i = n;
|
|
23
|
+
return n.type === "touchend" ? !1 : (i.touches?.length ?? 0) > 0;
|
|
24
|
+
}
|
|
25
|
+
return n.buttons === 1;
|
|
26
|
+
}
|
|
27
|
+
_runDragStart(n) {
|
|
28
|
+
if (this._isDragging) return;
|
|
29
|
+
const i = t.getClientXY(n), r = this._getIsPrimaryDown(n);
|
|
30
|
+
let s = !0;
|
|
31
|
+
this.optionsDrag.start && (s = this.optionsDrag.start(n, i, r)), s = o.isBoolean(s) ? s : !0, s ? (n.preventDefault(), n.stopPropagation(), document.onselectstart = () => !1, document.ondragstart = () => !1, this._isDragging = !0, t.onListener(window, "mousemove", this._bindRunDragIng), t.onListener(window, "touchmove", this._bindRunDragIng), t.onListener(window, "mouseup", this._bindRunDragEnd), t.onListener(window, "touchend", this._bindRunDragEnd), t.onListener(window, "contextmenu", this._bindRunDragEnd)) : this._isDragging = !1;
|
|
32
|
+
}
|
|
33
|
+
_runDraggIng(n) {
|
|
34
|
+
if (!this._isDragging) return;
|
|
35
|
+
const i = t.getClientXY(n);
|
|
36
|
+
this.optionsDrag.ing && this.optionsDrag.ing(n, i);
|
|
37
|
+
}
|
|
38
|
+
_runDragEnd(n) {
|
|
39
|
+
if (!this._isDragging) return;
|
|
40
|
+
this._isDragging = !1;
|
|
41
|
+
const i = t.getClientXY(n);
|
|
42
|
+
this.optionsDrag.end && this.optionsDrag.end(n, i), this._offListener();
|
|
43
|
+
}
|
|
44
|
+
_offListener() {
|
|
45
|
+
t.offListener(window, "mousemove", this._bindRunDragIng), t.offListener(window, "touchmove", this._bindRunDragIng), t.offListener(window, "mouseup", this._bindRunDragEnd), t.offListener(window, "touchend", this._bindRunDragEnd), t.offListener(window, "contextmenu", this._bindRunDragEnd);
|
|
46
|
+
}
|
|
47
|
+
end() {
|
|
48
|
+
this._isDragging = !1, this._offListener();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export {
|
|
52
|
+
u as D
|
|
53
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("vue"),y=["a[href]","area[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","iframe","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])','[tabindex]:not([tabindex="-1"])'].join(",");function m(s){return Array.from(s.querySelectorAll(y)).filter(t=>!(t.hasAttribute("disabled")||t.getAttribute("aria-hidden")==="true"||t.offsetParent===null&&getComputedStyle(t).position!=="fixed"))}function b(s,t={}){const n=r=>{s.value&&r.key==="Escape"&&(t.isEscapeClose&&!t.isEscapeClose()||t.onEscape&&(r.stopPropagation(),t.onEscape()))};a.watch(s,r=>{r?document.addEventListener("keydown",n,!0):document.removeEventListener("keydown",n,!0)},{immediate:!0}),a.onBeforeUnmount(()=>{document.removeEventListener("keydown",n,!0)})}function v(s,t,n={}){let r=null;const d=()=>s.value??null,c=e=>{if(!t.value)return;const o=d();if(!o)return;if(e.key==="Escape"){if(n.isEscapeClose&&!n.isEscapeClose()||!n.onEscape)return;e.stopPropagation(),n.onEscape();return}if(e.key!=="Tab")return;const u=m(o);if(u.length===0){e.preventDefault(),o.focus();return}const f=u[0],l=u[u.length-1],i=document.activeElement;if(!(i?o.contains(i):!1)){e.preventDefault(),(e.shiftKey?l:f).focus();return}e.shiftKey&&i===f?(e.preventDefault(),l.focus()):!e.shiftKey&&i===l&&(e.preventDefault(),f.focus())},E=()=>{r=document.activeElement,document.addEventListener("keydown",c,!0),n.isAutoFocus!==!1&&requestAnimationFrame(()=>{const e=d();if(!e)return;const o=m(e);o.length>0?o[0].focus():e.focus()})},p=()=>{document.removeEventListener("keydown",c,!0);const e=r;r=null,e&&requestAnimationFrame(()=>{e.isConnected&&e.focus()})};a.watch(t,e=>{e?E():p()},{immediate:!0}),a.onBeforeUnmount(()=>{document.removeEventListener("keydown",c,!0)})}exports.useEscapeClose=b;exports.useFocusTrap=v;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { watch as m, onBeforeUnmount as E } from "vue";
|
|
2
|
+
const b = [
|
|
3
|
+
"a[href]",
|
|
4
|
+
"area[href]",
|
|
5
|
+
"button:not([disabled])",
|
|
6
|
+
'input:not([disabled]):not([type="hidden"])',
|
|
7
|
+
"select:not([disabled])",
|
|
8
|
+
"textarea:not([disabled])",
|
|
9
|
+
"iframe",
|
|
10
|
+
"audio[controls]",
|
|
11
|
+
"video[controls]",
|
|
12
|
+
'[contenteditable]:not([contenteditable="false"])',
|
|
13
|
+
'[tabindex]:not([tabindex="-1"])'
|
|
14
|
+
].join(",");
|
|
15
|
+
function d(s) {
|
|
16
|
+
return Array.from(s.querySelectorAll(b)).filter((t) => !(t.hasAttribute("disabled") || t.getAttribute("aria-hidden") === "true" || t.offsetParent === null && getComputedStyle(t).position !== "fixed"));
|
|
17
|
+
}
|
|
18
|
+
function C(s, t = {}) {
|
|
19
|
+
const n = (r) => {
|
|
20
|
+
s.value && r.key === "Escape" && (t.isEscapeClose && !t.isEscapeClose() || t.onEscape && (r.stopPropagation(), t.onEscape()));
|
|
21
|
+
};
|
|
22
|
+
m(
|
|
23
|
+
s,
|
|
24
|
+
(r) => {
|
|
25
|
+
r ? document.addEventListener("keydown", n, !0) : document.removeEventListener("keydown", n, !0);
|
|
26
|
+
},
|
|
27
|
+
{ immediate: !0 }
|
|
28
|
+
), E(() => {
|
|
29
|
+
document.removeEventListener("keydown", n, !0);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function g(s, t, n = {}) {
|
|
33
|
+
let r = null;
|
|
34
|
+
const l = () => s.value ?? null, u = (e) => {
|
|
35
|
+
if (!t.value) return;
|
|
36
|
+
const o = l();
|
|
37
|
+
if (!o) return;
|
|
38
|
+
if (e.key === "Escape") {
|
|
39
|
+
if (n.isEscapeClose && !n.isEscapeClose() || !n.onEscape) return;
|
|
40
|
+
e.stopPropagation(), n.onEscape();
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
if (e.key !== "Tab") return;
|
|
44
|
+
const i = d(o);
|
|
45
|
+
if (i.length === 0) {
|
|
46
|
+
e.preventDefault(), o.focus();
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const c = i[0], f = i[i.length - 1], a = document.activeElement;
|
|
50
|
+
if (!(a ? o.contains(a) : !1)) {
|
|
51
|
+
e.preventDefault(), (e.shiftKey ? f : c).focus();
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
e.shiftKey && a === c ? (e.preventDefault(), f.focus()) : !e.shiftKey && a === f && (e.preventDefault(), c.focus());
|
|
55
|
+
}, p = () => {
|
|
56
|
+
r = document.activeElement, document.addEventListener("keydown", u, !0), n.isAutoFocus !== !1 && requestAnimationFrame(() => {
|
|
57
|
+
const e = l();
|
|
58
|
+
if (!e) return;
|
|
59
|
+
const o = d(e);
|
|
60
|
+
o.length > 0 ? o[0].focus() : e.focus();
|
|
61
|
+
});
|
|
62
|
+
}, y = () => {
|
|
63
|
+
document.removeEventListener("keydown", u, !0);
|
|
64
|
+
const e = r;
|
|
65
|
+
r = null, e && requestAnimationFrame(() => {
|
|
66
|
+
e.isConnected && e.focus();
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
m(
|
|
70
|
+
t,
|
|
71
|
+
(e) => {
|
|
72
|
+
e ? p() : y();
|
|
73
|
+
},
|
|
74
|
+
{ immediate: !0 }
|
|
75
|
+
), E(() => {
|
|
76
|
+
document.removeEventListener("keydown", u, !0);
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
C as a,
|
|
81
|
+
g as u
|
|
82
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./base-
|
|
1
|
+
"use strict";const r=require("./base-DbuX_Y3x.js");class q{promise(t){return new Promise(e=>{e(t)})}promiseFun(t){return new Promise(e=>{t&&t(e)})}resolve(t){return Promise.resolve(t)}all(t){return Promise.all(t)}allByJson(t){return new Promise(e=>{if(r.CommonBase.isEmpty(t))return e({result:{},errors:{}});let o=0;const n=Object.keys(t),i=n.length,s={},c={},m=l=>{Promise.resolve(t[l]).then(f=>{o+=1,s[l]=f,o===i&&e({result:s,errors:c})},f=>{o+=1,c[l]=f,o===i&&e({result:s,errors:c})})};n.forEach(l=>{m(l)})})}}const N=new q;class z{_elCanvasTextWidth;constructor(){this._elCanvasTextWidth=null}_getArrClassBySplit(t){return t.split(" ").filter(e=>!r.CommonBase.isEmpty(e))}_getClasssByReal(t,e){return t.filter(o=>!r.CommonBase.isExistValue(e,o)&&!r.CommonBase.isEmpty(o))}onListener(t,e,o,n=!1){t&&e&&o&&t.addEventListener(e,o,n)}offListener(t,e,o,n=!1){t&&e&&o&&t.removeEventListener(e,o,n)}getTextWidth(t,e="normal 12px Microsoft YaHei"){this._elCanvasTextWidth||(this._elCanvasTextWidth=document.createElement("canvas"));const o=this._elCanvasTextWidth.getContext("2d");return o.font=e,o.measureText(t).width}getClassNameJson(t){const e={};return r.CommonBase.isNonEmptyString(t)&&this._getArrClassBySplit(t).forEach(o=>{e[o]=!0}),e}conversionClassToString(...t){return this.getAddClass(t)}getAddClass(...t){let e=[];return t.forEach(o=>{if(r.CommonBase.isString(o)){const n=this._getArrClassBySplit(o);e=e.concat(this._getClasssByReal(n,e))}else if(r.CommonBase.isArray(o))e=e.concat(this._getClasssByReal(o,e));else if(r.CommonBase.isObject(o))for(const[n,i]of Object.entries(o))r.CommonBase.isExistJsonKey(o,n)&&i?e.push(n):e=e.filter(s=>s!==n||s===n&&i)}),e.join(" ")}getRemoveClass(t,e){const o=this._getArrClassBySplit(e);return this._getArrClassBySplit(t).filter(i=>!r.CommonBase.isExistValue(o,i)).join(" ")}checkHasClass(t,e){const o=this._getArrClassBySplit(t),n=this._getArrClassBySplit(e);return r.CommonBase.isContainArr(o,n)}_getBoundingClientRect(t){const e=r.CommonBase.isUndefined(t.getBoundingClientRect)?{}:t.getBoundingClientRect(),o={width:e.width||0,height:e.height||0,top:e.top||0,right:0,bottom:0,left:e.left||0,x:e.left||0,y:e.top||0},n=this.getWinHeight(),i=this.getWinWidth();return o.right=i-e.right||0,o.bottom=n-e.bottom||0,o}_getWindow(t){if(t&&t.toString()!=="[object Window]"){const e=t.ownerDocument;return e&&e.defaultView||window}return t}isElementHtml(t){const e=this._getWindow(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}isElementBody(t){return r.CommonBase.isUndefined(t)?!1:this.isElementHtml(t)&&t.tagName.toLocaleLowerCase()==="body"}getWinScrollTop(){return document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset}getWinWidth(){return document.documentElement.clientWidth||document.body.clientWidth||window.innerWidth}getWinHeight(){return document.documentElement.clientHeight||document.body.clientHeight||window.innerHeight}getStyle(t){return window.getComputedStyle?window.getComputedStyle(t,null):t.currentStyle}_isElementScroll(t){const e=this.getStyle(t),o=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(o+i+n)}isHidden(t){return this.getStyle(t).display==="none"}isHiddenParent(t){let e=!1,o=t,n=!1;for(;o&&o.nodeType!==9&&!n;)o.nodeType===1&&(n=this.isHidden(o),n&&(e=!0)),o=o.parentNode;return e}getParentCheckBody(t,e,o=!0){let n=null;return e?r.CommonBase.isString(e)?e.toLocaleLowerCase()!=="body"&&(n=this.getParent(t,e)):this.isElementBody(e)||(o?e.contains(t)&&(n=e):n=e):this.isElementBody(t.parentNode)||(n=t.parentNode),n}getParent(t,e,o,n=!0){if(r.CommonBase.isEmpty(e))return t.parentNode;let s=null;const c=!r.CommonBase.isUndefined(o);if(this._checkElementByAttr(t,e))s=t;else{let l=t.parentNode,f=!1;for(;l&&l.nodeType!==9&&!f;)l.nodeType===1&&(f=this._checkElementByAttr(l,e),f?s=l:c&&(f=l===o,f&&n&&(s=l))),l=l.parentNode}return s}getParentList(t,e){const o=r.CommonBase.isEmpty(e)?"body":e;return this._recursionParents(t,o)}_recursionParents(t,e){const o=[];if(this._checkElementByAttr(t,e))o.push(t);else if(t.parentNode&&t.parentElement&&!this.isElementBody(t.parentElement)){o.push(t.parentNode);const n=this._recursionParents(t.parentNode,e);o.push(...n)}return o}getParentScrollList(t,e,o=!0){const n=[];return this.getParentList(t,e).forEach(s=>{this._isElementScroll(s)&&(o?n.push(s):this._checkElementByAttr(s,e)||n.push(s))}),n}_checkElementByAttr(t,e){let o=!1;if(!r.CommonBase.isEmpty(e))if(r.CommonBase.isString(e)){const n=e.substr(0,1),i=e.substring(1);switch(n){case"#":o=t.id===i;break;case".":o=r.CommonBase.isString(t.className)?r.CommonBase.isExistValue(t.className.split(" "),i):!1;break;default:o=t.tagName.toLocaleLowerCase()===e}}else this.isElementHtml(e)&&(o=t===e);return o}getOffset(t,e=null){const o=this.getPositionView(t,e);if(o.viewEl)return{top:o.top+o.viewEl.scrollTop-o.viewEl.clientTop,left:o.left+o.viewEl.scrollLeft-o.viewEl.clientLeft};{const i=(t&&t.ownerDocument).documentElement,s=this._getWindow(i);return{top:o.top+(s.pageYOffset||i.scrollTop)-(i.clientTop||0),left:o.left+(s.pageXOffset||i.scrollLeft)-(i.clientLeft||0)}}}getPositionView(t,e=null){const o={top:0,left:0,viewEl:null};if(!this.isElementHtml(t))return o;const n=this._getBoundingClientRect(t);o.top=n.top,o.right=n.right,o.bottom=n.bottom,o.left=n.left,o.width=n.width,o.height=n.height;const i={top:0,right:0,bottom:0,left:0},s=r.CommonBase.isUndefined(e)?null:this.getParentCheckBody(t,e,!0);if(s){const c=this._getBoundingClientRect(s);i.top=c.top,i.right=c.right,i.bottom=c.bottom,i.left=c.left,o.viewWidth=c.width,o.viewHeight=c.height,o.top=n.top-(i.top<0?0:i.top),o.right=n.right-(i.right<0?0:i.right),o.bottom=n.bottom-(i.bottom<0?0:i.bottom),o.left=n.left-(i.left<0?0:i.left),o.elViewBox={top:n.top-i.top,right:n.right-i.right,bottom:n.bottom-i.bottom,left:n.left-i.left}}return o.viewEl=s,o}getPosition(t,e=null){const o=r.CommonBase.isUndefined(e)?t.parentNode:e;return this.getPositionView(t,o)}getElementIndex(t){return this.getPrevAll(t).length}getPrev(t){if(r.CommonBase.isUndefined(t.previousElementSibling)){let e=t.previousSibling;for(;e&&e.nodeType!==1;)e=e.previousSibling;return e}else return t.previousElementSibling}getPrevAll(t){const e=[];let o=this.getPrev(t);for(;o;)e.push(o),o=this.getPrev(o);return e.reverse()}getNext(t){if(r.CommonBase.isUndefined(t.nextElementSibling)){let e=t.nextSibling;for(;e&&e.nodeType!==1;)e=e.nextSibling;return e}else return t.nextElementSibling}insertAfter(t,e){const o=t.parentNode;o.lastChild==t?o.appendChild(e):o.insertBefore(e,t.nextSibling)}getFocusSelection(t){const e={};if(r.CommonBase.isUndefined(t.selectionStart)){t.focus();const o=document.selection.createRange();e.length=o.text.length,o.moveStart("character",-t.value.length),e.end=o.text.length,e.start=e.end-e.length}else e.start=t.selectionStart,e.end=t.selectionEnd,e.length=e.end-e.start;return e}setFocusSelection(t,e,o){if(r.CommonBase.isUndefined(t.selectionStart)){t.focus();const n=t.createTextRange();n.collapse(!0),n.moveEnd("character",o),n.moveStart("character",e),n.select()}else t.selectionStart=e,t.selectionEnd=o}calculationDropdownPosition(t,e,o,n,i){const s=i?this.getParentCheckBody(t,i):null,c=r.CommonBase.isUndefined(s),m=e.offsetWidth,l=e.offsetHeight,f=o.offsetWidth,H=o.offsetHeight;let B=0,P=0;r.CommonBase.isUndefined(n)||(B=n.offsetWidth,P=n.offsetHeight);const Y=B/2,_=this.getWinHeight(),v=this.getWinWidth();let w=0,y=0,a={top:0,left:0},d={top:0,left:0};c?(w=v,y=_,a=this.getOffset(t),d=this.getPositionView(t)):(w=s.clientWidth,y=s.clientHeight,a=this.getOffset(t,s),d=this.getPositionView(t,s));const b=d.top,D=f+B,g=H+P,j=l+g,h={winWidth:v,winHeight:_,containerWidth:w,containerHeight:y,controlOffset:a,controlPosView:d,textWidth:m,textHeight:l,dropDownWidth:f,dropDownHeight:H,arrowWidth:B,arrowHeight:P};let S="down";b+j>y&&(b>g||a.top>g)&&(S="up"),h.dropDownPosDown=S;let R="up";b<g&&a.top<g&&(R="down"),h.dropDownPosUp=R;let L="left";d.left<D&&a.right>=g&&(L="right"),h.dropDownPosLeft=L;const X="right";d.right<D&&a.left>=g&&(L="left"),h.dropDownPosRight=X;let A="left";w-a.left<f&&(A=a.left+m>=f?"right":"left"),h.arrowPosLeft=A;let V="right";a.left+m<f&&(V=w-a.left>=f?"left":"right"),h.arrowPosRight=V;const I="center";h.arrowPosCenterLR=I;const W={dropDownLeft:0,arrowLeft:0},F=this.getOffset(e,t),J=m/2,O=o.clientWidth,k=F.left+J;let u=k-O/2;const E=!r.CommonBase.isEmpty(i),x=E&&a.left||0,M=E?x+u:d.left+u,C=0,T=v-O;let p=M;p<C?p=C:p>T&&(p=T),u=E?p-x:p-d.left,T<C&&(u=E?C-x:C-d.left);const K=k-u;return W.dropDownLeft=u,W.arrowLeft=K-Y,h.arrowPosCenterLRInfo=W,h.arrowPosTop="top",h.arrowPosBottom="bottom",h.arrowPosCenterTB="center",h}getElementData(t){const e={};if(!r.CommonBase.isEmpty(t))for(const[o,n]of Object.entries(t)){const i=o.split("-"),s=[];i.forEach((c,m)=>{if(m>0){const l=c.toLowerCase();m===1?s.push(l):s.push(l.replace(l[0],l[0].toUpperCase()))}}),s.length>0&&(e[s.join("")]=n)}return e}async getTextDataByFile(t){const e=[];if(!r.CommonBase.isEmpty(t))for(let o=0;o<t.length;o++){const n=await this._getTextDataFileOne(t[o]);e.push(...n)}return e}_getTextDataFileOne(t){return N.promiseFun(e=>{const o=new FileReader;o.readAsText(t,"utf-8"),o.onload=n=>{const i=[];n.target.result.split(`
|
|
2
2
|
`).forEach(s=>{const c=r.CommonBase.trim(s);r.CommonBase.isEmpty(c)||i.push(c)}),e(i)}})}getClientXY(t){let e,o;return t.type==="touchend"?(o=t.changedTouches[0].clientY,e=t.changedTouches[0].clientX):t.type.startsWith("touch")?(o=t.touches[0].clientY,e=t.touches[0].clientX):(o=t.clientY,e=t.clientX),{clientX:e,clientY:o}}}const G=new z;exports.CommonElement=G;exports.CommonPromise=N;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const m=require("vue"),n=require("./base-DbuX_Y3x.js"),p=require("./day-C_LrDb1h.js"),C=require("./globalConfig-vNEDVL2C.js"),L={common:{submit:"确定",save:"保存",cancel:"取消",update:"修改",close:"关闭",delete:"删除",deleteAll:"全部删除",upload:"上传",download:"下载",preview:"预览",restore:"还原",clear:"清除",clearEmpty:"清空",clearAll:"全部清除",copy:"复制",custom:"自定义",loading:"加载中",noDataText:"暂无数据",noResultsText:"未找到结果",checkboxAll:"全选",selected:"已选",count:"个",add:"添加",checkAddMax:"最多添加",checkAddMin:"最少保留",pleaseSelect:"请选择"},validate:{required:"此项不能为空",number:"请输入数字",integer:"请输入整数",integerPositive:"请输入正整数",alphanum:"请输入数字或字母",email:"邮箱格式不正确",minLen:"输入值的长度不能小于 %s 个字",maxLen:"输入值的长度不能大于 %s 个字",minByte:"输入值的长度不能小于 %s 个字节",maxByte:"输入值的长度不能大于 %s 个字节",minGreater:"输入值请大于 %s",maxGreater:"输入值请小于 %s",minGreaterEqual:"输入值请大于或等于 %s",maxGreaterEqual:"输入值请小于或等于 %s",phone:"手机号不正确",equalto:"两次输入值不同"},dataTime:{am:"上午",pm:"下午",year:"年",prevYear:"上一年",prevMonth:"上一月",nextYear:"下一年",nextMonth:"下一月",prevYear10:"前十年",nextYear10:"后十年",today:"今天",yesterDay:"昨天",pastDays7:"过去7天",pastDays30:"过去30天",montCurrent:"本月",montLast:"上月",montLately6:"最近半年",yearCurrent:"今年",yearLast:"去年",rangeStartLabel:"开始",checkEndMinLabel:"结束时间不能小于设置的最小时间",checkStartMaxLabel:"时间不能大于设置的最大时间",checkStartMinLabel:"时间不能小于设置的最小时间",checkStartEndLabel:" ",checkRangeEmptyLabel:"请选择完整的开始时间,结束时间"},fileUpload:{checkImageWHLabel:"图片宽高不匹配",checkSuffixMimeLabel:"类型不匹配",checkSizeLabel:"大小不匹配",uploadFile:"上传文件"},weekHour:{daily:"每日",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日",weekday:"工作日",weekend:"周末",restDay:"休息日",dawn:"凌晨",morning:"上午",noon:"中午",afternoon:"下午",evening:"傍晚",night:"晚上",selected:"已定向",selectedNot:"未定向"},paginate:{page:"页",pageStrip:"页/条",jumpTo:"跳转至",statistic:"显示第 ${s} 至 ${e} 项结果,共 ${_total} 项"},xEditable:{required:"此项不能为空",submitCallback:"submitCallback的返回格式不正确"}},D={common:{submit:"Submit",save:"Save",cancel:"Cancel",update:"Modify",close:"Close",delete:"Delete",deleteAll:"Delete All",upload:"Upload",download:"Download",preview:"Preview",restore:"Restore",clear:"Clear",clearEmpty:"Clear All",clearAll:"Clear All",copy:"Copy",custom:"Custom",loading:"Loading",noDataText:"No Data",noResultsText:"No Result",checkboxAll:"Select All",selected:"Selected",count:"Count",add:"Add",checkAddMax:"Add Maximum",checkAddMin:"Add Minimum",pleaseSelect:"Select"},validate:{required:"Required",number:"Please enter number",integer:"Please enter integer",integerPositive:"Please enter positive integer",alphanum:"Please enter number or letter",email:"Error Email",minLen:"Cannot less than %s characters",maxLen:"Cannot more than %s characters",minByte:"Cannot less than %s Bytes",maxByte:"Cannot more than %s Bytes",minGreater:"Must more than %s",maxGreater:"Must less than %s",minGreaterEqual:"Cannot less than %s",maxGreaterEqual:"Cannot more than %s",phone:"Error phone number",equalto:"Different Value"},dataTime:{am:"am",pm:"pm",year:"year",prevYear:"Last Year",prevMonth:"Last Month",nextYear:"Next Year",nextMonth:"Next Month",prevYear10:"Last Decade",nextYear10:"Next Decade",today:"Today",yesterDay:"Yesterday",pastDays7:"Last 7 Days",pastDays30:"Last 30 Days",montCurrent:"This Month",montLast:"Last Month",montLately6:"Last Half Year",yearCurrent:"This Year",yearLast:"Last Year",rangeStartLabel:"Start",checkEndMinLabel:"Error end time",checkStartMaxLabel:"Error end time",checkStartMinLabel:"Error start time",checkStartEndLabel:"End time cannot before start time",checkRangeEmptyLabel:"Select start and end time"},fileUpload:{checkImageWHLabel:"Error image dimension",checkSuffixMimeLabel:"Error type",checkSizeLabel:"Error file size",uploadFile:"Upload File"},weekHour:{daily:"Daily",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday",weekday:"Weekday",weekend:"Weekend",restDay:"Rest day",dawn:"Midnight",morning:"AM",noon:"Noon",afternoon:"PM",evening:"Evenfall",night:"Evening",selected:"Include",selectedNot:"Exclude"},paginate:{page:"Page",pageStrip:"Lines/Page",jumpTo:"Page to",statistic:"Records ${s} to ${e} , ${_total} Records in Total"},xEditable:{required:"Required",submitCallback:"Error SubmitCallback"}};let b=class{_type;_typeDef;_packageData;constructor(){this._type="zh_cn",this._typeDef="zh_cn",this._packageData={zh_cn:L,en:D}}initMerge(e){const a=n.CommonBase.isEmpty(e.type);return a||(this._type=e.type),n.CommonBase.isEmpty(e.packageData)||(a?this._packageData[this._typeDef]=n.CommonBase.getJsonMergeDeep(this._packageData[this._typeDef],e.packageData):this._packageData=n.CommonBase.getJsonMergeDeep(this._packageData,e.packageData)),{type:this._type,packageData:this._packageData}}_getType(){let e=this._type;return n.CommonBase.isEmpty(e)&&(e=this._typeDef),{type:e,def:this._typeDef}}_getData(e){let a={};const t=this._packageData;if(e)a=t[e];else{const o=this._getType();n.CommonBase.isExistJsonKey(t,o.type)&&(a=t[o.type]),n.CommonBase.isEmpty(a)&&(a=t[o.def])}return a}_getKeyValue(e,a){let t;if(n.CommonBase.isExistValue(e,".")){const o=n.CommonBase.split(e,".");let l=n.CommonBase.getJsonClone(a,!0);o.forEach((i,g)=>{const s=l[i];g===o.length-1?l=s:l=n.CommonBase.isEmpty(s)?{}:s}),t=l}else t=a[e];return t}_getKey(e,a){let t;const o=a?this._getData(a):this._getData();return n.CommonBase.isEmpty(o)||(t=this._getKeyValue(e,o),n.CommonBase.isObject(t)&&(t=n.CommonBase.getJsonClone(t,!0))),t}getType(){return this._getType()}getAll(){return this._getData()}getCommon(){const e=this._getKey("common"),a=this._getKey("common",this._typeDef);return n.CommonBase.getJsonMergeDeep(a||{},e||{})}getValue(e){let a=this._getKey(e);return n.CommonBase.isEmpty(a)&&(a=this._getKey(e,this._typeDef)),a}getPage(e){let a={};const t=this.getCommon();if(e==="common")a=t;else{const o=this._getKey(e,this._typeDef),l=this._getKey(e),i=n.CommonBase.getJsonMergeDeep(o,l);let g={};if(n.CommonBase.isExistValue(e,".")){const s=n.CommonBase.split(e,".");s[s.length-1]="common";const d=s.join("."),u=this._getKey(d,this._typeDef),f=this._getKey(d);g=n.CommonBase.getJsonMergeDeep(u,f)}a=n.CommonBase.getJsonMerge(i,{common:t,pageCommon:g})}return a}setType(e){switch(this._type=e,e){case"zh_cn":p.CommDay.objDay.locale("zh-cn");break;case"en":p.CommDay.objDay.locale("en");break}}};const c=new b,_={zh_cn:{common:{confirm:"确认",submit:"提交",search:"搜索",remove:"移除",clearInput:"清除输入内容",clearAll:"清除全部",loading:"加载中",overlay:"遮罩层",breadcrumb:"面包屑导航",copy:"复制",showPassword:"显示密码",hidePassword:"隐藏密码",increase:"增加",decrease:"减少",close:"关闭",dialog:"对话框",textarea:"文本输入区域",expand:"展开",collapse:"折叠",areaTitle:"地区选择"}},en:{common:{confirm:"Confirm",submit:"Submit",search:"Search",remove:"Remove",clearInput:"Clear input",clearAll:"Clear all",loading:"Loading",overlay:"Overlay backdrop",breadcrumb:"Breadcrumb",copy:"Copy",showPassword:"Show password",hidePassword:"Hide password",increase:"Increase",decrease:"Decrease",close:"Close",dialog:"Dialog",textarea:"Text input area",expand:"Expand",collapse:"Collapse",areaTitle:"Select region"}}};c.initMerge({packageData:_});const k="locale",E="zh_cn";function y(){const r=C.getGlobalConfig(k);if(typeof r=="string"&&r.length>0)return r;const e=c.getType();if(typeof e=="string"&&e.length>0)return e;if(e&&typeof e=="object"&&"type"in e){const a=e.type;if(typeof a=="string"&&a.length>0)return a}return E}function h(){const r=m.ref(y());return m.watch(y,e=>{r.value=e}),{optLocale:r}}function x(){const{optLocale:r}=h(),e=m.ref({}),a=()=>{const t=c.getCommon()||{},o={};Object.keys(t).forEach(l=>{const i=t[l];typeof i=="string"&&(o[l]=i)}),e.value=o};return a(),m.watch(r,a),{optA11yText:e}}const v=()=>{const r=m.ref({}),{optLocale:e}=h(),a=s=>{r.value=c.getPage(s)};let t="";const o=s=>{t=s,a(s)};return m.watch(e,()=>{t&&a(t)}),{optPageLanguage:r,optLocale:e,getPageLanguage:o,getLanguageValue:s=>c.getValue(s),getLanguageType:()=>c.getType(),getCommonText:(s,d)=>{const u=c.getValue(`common.${s}`);return typeof u=="string"&&u.length>0?u:d}}};exports.LanguagePack=c;exports.useA11yLanguage=x;exports.useLanguage=v;
|