@cldemo/ui-kit 1.0.17 → 1.1.1
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/browserProgress.d.ts +3 -1
- 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/browserProgress.cjs +1 -1
- package/buildLibs/common/browserProgress.js +24 -15
- 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/browserProgress.d.ts +3 -1
- 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/common/browserProgress.css +0 -1
- 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
package/buildLibs/all/index.js
CHANGED
|
@@ -9,83 +9,83 @@ import '../styles/Web/__provide__/Preview.css';
|
|
|
9
9
|
import '../styles/Web/__provide__/Notify.css';
|
|
10
10
|
import '../styles/Web/__provide__/Alert.css';
|
|
11
11
|
import '../styles/Element/__provide__/LoadScreen.css';
|
|
12
|
-
import { _ as s, a as C, b as e, c as r, d as o, e as t, f as i, g as n, h as p, i as d, j as u, k as b, l as c, m as
|
|
12
|
+
import { _ as s, a as C, b as e, c as r, d as o, e as t, f as i, g as n, h as p, i as d, j as u, k as b, l as c, m as S, n as g, o as m, p as P, q as T, r as h, s as I, t as M, u as w, v as k, w as F, x as D, y as N, z as f, A as B, B as v, D as L, E as x, F as y, G as E, H as G, I as W, J as A, K as R, L as H, M as O, N as U, O as V, P as X, Q as z, R as K, S as j, T as q, U as J, V as Q, W as Y, X as Z, Y as _, Z as $, $ as aa, a0 as la, a1 as sa, a2 as Ca, a3 as ea, a4 as ra, a5 as oa, a6 as ta, a7 as ia, a8 as na, a9 as pa, aa as da, ab as ua, ac as ba, ad as ca, ae as Sa, af as ga, ag as ma, ah as Pa, ai as Ta, aj as ha, ak as Ia, al as Ma, am as wa, an as ka, ao as Fa, ap as Da, aq as Na, ar as fa, as as Ba, at as va, au as La, av as xa, aw as ya, ax as Ea, ay as Ga, az as Wa, aA as Aa, aB as Ra, aC as Ha, aD as Oa, aE as Ua, aF as Va, aG as Xa, aH as za, aI as Ka, aJ as ja, aK as qa, aL as Ja, aM as Qa, aN as Ya, aO as Za, aP as _a, aQ as $a, aR as al, aS as ll, aT as sl, aU as Cl, aV as el, aW as rl, aX as ol, aY as tl, aZ as il, a_ as nl, a$ as pl, b0 as dl, b1 as ul, b2 as bl, b3 as cl, b4 as Sl, b5 as gl, b6 as ml, b7 as Pl, b8 as Tl, b9 as hl, ba as Il, bb as Ml, bc as wl, bd as kl, be as Fl } from "./index-sPYdePtz.js";
|
|
13
13
|
export {
|
|
14
14
|
s as ClActionSheet,
|
|
15
15
|
C as ClAnchorNav,
|
|
16
|
-
e as
|
|
17
|
-
r as
|
|
18
|
-
o as
|
|
19
|
-
t as
|
|
20
|
-
i as
|
|
21
|
-
n as
|
|
22
|
-
p as
|
|
23
|
-
d as
|
|
24
|
-
u as
|
|
25
|
-
b as
|
|
26
|
-
c as
|
|
27
|
-
g as ClCell,
|
|
16
|
+
e as ClBackTop,
|
|
17
|
+
r as ClBadge,
|
|
18
|
+
o as ClBanner,
|
|
19
|
+
t as ClBreadcrumb,
|
|
20
|
+
i as ClButton,
|
|
21
|
+
n as ClCalendar,
|
|
22
|
+
p as ClCalendarM,
|
|
23
|
+
d as ClCallout,
|
|
24
|
+
u as ClCard,
|
|
25
|
+
b as ClCardColor,
|
|
26
|
+
c as ClCell,
|
|
28
27
|
S as ClCellSwipe,
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
g as ClCheckbox,
|
|
29
|
+
m as ClCheckboxOne,
|
|
31
30
|
P as ClClipboard,
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
T as ClCodeLegend,
|
|
32
|
+
h as ClCodeLegendM,
|
|
34
33
|
I as ClCollapse,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
34
|
+
M as ClColorPicker,
|
|
35
|
+
w as ClCountDown,
|
|
36
|
+
k as ClCropper,
|
|
37
|
+
F as ClCropperM,
|
|
38
|
+
D as ClCropperPreview,
|
|
39
|
+
N as ClDarg,
|
|
40
|
+
f as ClDateTime,
|
|
41
|
+
B as ClDivider,
|
|
42
|
+
v as ClDropdownMenu,
|
|
43
|
+
L as ClDropdownMenuItem,
|
|
44
|
+
x as ClDropdownMenuM,
|
|
45
|
+
y as ClDropdownMenuMItem,
|
|
46
|
+
E as ClDropdownPopup,
|
|
47
|
+
G as ClEcharts,
|
|
48
|
+
W as ClEchartsLineAxisTag,
|
|
49
|
+
A as ClEllipsis,
|
|
50
|
+
R as ClEmpty,
|
|
51
|
+
H as ClFileUpload,
|
|
52
|
+
O as ClFloatBubble,
|
|
53
|
+
U as ClFloatPanel,
|
|
54
|
+
V as ClForm,
|
|
55
|
+
X as ClFormGroupBtns,
|
|
56
|
+
z as ClFormGroupHorizontal,
|
|
57
|
+
K as ClFormGroupVertical,
|
|
58
|
+
j as ClFormValidate,
|
|
59
|
+
q as ClFramePhone,
|
|
60
|
+
J as ClGrid,
|
|
61
|
+
Q as ClIconFont,
|
|
62
|
+
Y as ClImage,
|
|
63
|
+
Z as ClIndexBar,
|
|
64
|
+
_ as ClInput,
|
|
65
|
+
$ as ClInputCaptcha,
|
|
66
|
+
aa as ClInputNumber,
|
|
67
|
+
la as ClInputNumberStepper,
|
|
68
|
+
sa as ClInputPassword,
|
|
69
|
+
Ca as ClInputPin,
|
|
70
|
+
ea as ClInputSearch,
|
|
71
|
+
ra as ClInputTag,
|
|
72
|
+
oa as ClInputTextarea,
|
|
73
|
+
ta as ClLink,
|
|
74
|
+
ia as ClLoad,
|
|
75
|
+
na as ClLoadFullCenter,
|
|
76
|
+
pa as ClLoadIng,
|
|
77
|
+
da as ClLoadScreen,
|
|
78
|
+
ua as ClLoadWarp,
|
|
79
|
+
ba as ClModal,
|
|
80
|
+
ca as ClNavBar,
|
|
82
81
|
Sa as ClNoticeBar,
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
ga as ClNotifyM,
|
|
83
|
+
ma as ClNumberKeyboard,
|
|
85
84
|
Pa as ClNumberRoll,
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
Ta as ClOverlay,
|
|
86
|
+
ha as ClPaginate,
|
|
88
87
|
Ia as ClPicker,
|
|
88
|
+
Ma as ClPickerArea,
|
|
89
89
|
wa as ClPickerCascader,
|
|
90
90
|
ka as ClPickerDate,
|
|
91
91
|
Fa as ClPickerTime,
|
|
@@ -104,7 +104,7 @@ export {
|
|
|
104
104
|
Ra as ClSelectMove,
|
|
105
105
|
Ha as ClSelectTag,
|
|
106
106
|
Oa as ClSelectTree,
|
|
107
|
-
Ua as
|
|
107
|
+
Ua as ClSharePanel,
|
|
108
108
|
Va as ClSideMenu,
|
|
109
109
|
Xa as ClSidebar,
|
|
110
110
|
za as ClSidebarSelect,
|
|
@@ -132,14 +132,14 @@ export {
|
|
|
132
132
|
ul as NotifyM,
|
|
133
133
|
bl as getGlobalConfig,
|
|
134
134
|
cl as install,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
Sl as installCore,
|
|
136
|
+
gl as languagePack,
|
|
137
137
|
ml as setGlobalConfig,
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
Pl as useAlert,
|
|
139
|
+
Tl as useClipboard,
|
|
140
140
|
hl as useCodeHighlight,
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
Il as useNotify,
|
|
142
|
+
Ml as useNotifyM,
|
|
143
143
|
wl as usePreview,
|
|
144
144
|
kl as useTooltip,
|
|
145
145
|
Fl as useWaves
|
|
@@ -3,7 +3,7 @@ declare interface IClientXY {
|
|
|
3
3
|
clientY: number;
|
|
4
4
|
}
|
|
5
5
|
declare interface IOptions {
|
|
6
|
-
start?: (event: Event, clientXYInfo: IClientXY) => void;
|
|
6
|
+
start?: (event: Event, clientXYInfo: IClientXY, isPrimaryDown: boolean) => void;
|
|
7
7
|
ing?: (event: Event, clientXYInfo: IClientXY) => void;
|
|
8
8
|
end?: (event: Event, clientXYInfo: IClientXY) => void;
|
|
9
9
|
}
|
|
@@ -15,6 +15,12 @@ declare class Drag {
|
|
|
15
15
|
private _bindRunDragEnd;
|
|
16
16
|
constructor(element: HTMLElement | null, options: IOptions);
|
|
17
17
|
private _init;
|
|
18
|
+
/**
|
|
19
|
+
* 归一化「主指针按下」判定,供 start 回调消费
|
|
20
|
+
* MouseEvent 用 buttons 主按钮标志位;TouchEvent 无 buttons(恒 undefined),
|
|
21
|
+
* 以事件类型与活动触点数量判断,避免调用方裸判 e.buttons === 1 导致触摸端恒 false
|
|
22
|
+
*/
|
|
23
|
+
private _getIsPrimaryDown;
|
|
18
24
|
private _runDragStart;
|
|
19
25
|
private _runDraggIng;
|
|
20
26
|
private _runDragEnd;
|
|
@@ -27,7 +27,7 @@ export declare function detectDevice(): {
|
|
|
27
27
|
prefersReducedMotion: boolean;
|
|
28
28
|
isOnline: boolean;
|
|
29
29
|
connectionType: string | undefined;
|
|
30
|
-
language:
|
|
31
|
-
isZh:
|
|
30
|
+
language: string;
|
|
31
|
+
isZh: boolean;
|
|
32
32
|
};
|
|
33
33
|
export type DeviceInfo = ReturnType<typeof detectDevice>;
|
|
@@ -227,7 +227,7 @@ declare class CommonBase {
|
|
|
227
227
|
static getQueryStringByHash(name: string): string;
|
|
228
228
|
static encodeHTML(source: string): string;
|
|
229
229
|
static removeHTMLTags(str: string): string;
|
|
230
|
-
static requestAnimationFrame(nextCb:
|
|
231
|
-
static cancelAnimationFrame(handle:
|
|
230
|
+
static requestAnimationFrame(nextCb: FrameRequestCallback): number;
|
|
231
|
+
static cancelAnimationFrame(handle: number): void;
|
|
232
232
|
}
|
|
233
233
|
export default CommonBase;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
2
1
|
declare class CommonBrowserProgress {
|
|
3
2
|
private static _isRouteStarted;
|
|
4
3
|
private static _pending;
|
|
5
4
|
private static _routeStartTime;
|
|
6
5
|
private static _routeMinTimer;
|
|
6
|
+
private static _isStyleInjected;
|
|
7
|
+
/** 注入 NProgress 基础样式(幂等) */
|
|
8
|
+
private static _ensureBaseStyle;
|
|
7
9
|
/** 全局配置 */
|
|
8
10
|
static configure(opts?: {
|
|
9
11
|
color?: string;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 全局配置值:本注册表按「组件名 → 配置段」存储,配置段内的字段随组件而异,
|
|
3
|
+
* 故此处用递归结构描述「可 JSON 化的配置值」,而非 any/unknown:
|
|
4
|
+
* 既保留类型约束(禁止函数、Symbol 等不可合并值),也让读取处有明确类型。
|
|
5
|
+
*/
|
|
6
|
+
export type GlobalConfigValue = string | number | boolean | null | GlobalConfigValue[] | {
|
|
7
|
+
[key: string]: GlobalConfigValue;
|
|
8
|
+
};
|
|
9
|
+
/** 全局配置注册表(键为组件名,值为该组件的配置段) */
|
|
10
|
+
export type GlobalConfigMap = Record<string, GlobalConfigValue>;
|
|
1
11
|
/**
|
|
2
12
|
* 单个入口配置所有组件的全局默认,入参形如 { 组件名: 配置对象 }(如 { calendarM: { restDays: [...] } })。
|
|
3
13
|
*
|
|
@@ -8,6 +18,11 @@
|
|
|
8
18
|
* 供 `setGlobalConfig({ debug: true })` 这类全局开关使用;
|
|
9
19
|
* 若该键当前已是对象(例如某个组件的配置段),标量会被忽略,避免把配置段写坏。
|
|
10
20
|
*/
|
|
11
|
-
export declare const setGlobalConfig: (config:
|
|
12
|
-
/**
|
|
13
|
-
|
|
21
|
+
export declare const setGlobalConfig: (config: GlobalConfigMap) => void;
|
|
22
|
+
/**
|
|
23
|
+
* 读取某组件的全局配置段(reactive 属性读取会被追踪,可在 computed 中依赖,运行时再次 setGlobalConfig 会自动刷新)。
|
|
24
|
+
*
|
|
25
|
+
* 泛型默认值为 GlobalConfigValue:调用方可按自身配置段结构显式指定 T 以获得精确类型,
|
|
26
|
+
* 未指定时得到可 JSON 化的配置值类型(而非 any)。
|
|
27
|
+
*/
|
|
28
|
+
export declare const getGlobalConfig: <T = GlobalConfigValue>(key: string) => T | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("../../base.cjs"),t=require("../../Element.cjs");class o{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.onListener(n,"mousedown",this._bindRunDragStart),t.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.getClientXY(n),r=this._getIsPrimaryDown(n);let s=!0;this.optionsDrag.start&&(s=this.optionsDrag.start(n,i,r)),s=e.default.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}_runDraggIng(n){if(!this._isDragging)return;const i=t.getClientXY(n);this.optionsDrag.ing&&this.optionsDrag.ing(n,i)}_runDragEnd(n){if(!this._isDragging)return;this._isDragging=!1;const i=t.getClientXY(n);this.optionsDrag.end&&this.optionsDrag.end(n,i),this._offListener()}_offListener(){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)}end(){this._isDragging=!1,this._offListener()}}module.exports=o;
|
|
@@ -1,41 +1,53 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
class
|
|
1
|
+
import o from "../../base.js";
|
|
2
|
+
import t from "../../Element.js";
|
|
3
|
+
class u {
|
|
4
4
|
optionsDrag;
|
|
5
5
|
_isDragging;
|
|
6
6
|
_bindRunDragStart;
|
|
7
7
|
_bindRunDragIng;
|
|
8
8
|
_bindRunDragEnd;
|
|
9
|
-
constructor(n,
|
|
10
|
-
this.optionsDrag =
|
|
9
|
+
constructor(n, i) {
|
|
10
|
+
this.optionsDrag = i, this._isDragging = !1, this._init(n);
|
|
11
11
|
}
|
|
12
12
|
_init(n) {
|
|
13
|
-
this._bindRunDragStart = this._runDragStart.bind(this), this._bindRunDragIng = this._runDraggIng.bind(this), this._bindRunDragEnd = this._runDragEnd.bind(this),
|
|
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;
|
|
14
26
|
}
|
|
15
27
|
_runDragStart(n) {
|
|
16
28
|
if (this._isDragging) return;
|
|
17
|
-
const
|
|
29
|
+
const i = t.getClientXY(n), r = this._getIsPrimaryDown(n);
|
|
18
30
|
let s = !0;
|
|
19
|
-
this.optionsDrag.start && (s = this.optionsDrag.start(n,
|
|
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;
|
|
20
32
|
}
|
|
21
33
|
_runDraggIng(n) {
|
|
22
34
|
if (!this._isDragging) return;
|
|
23
|
-
const
|
|
24
|
-
this.optionsDrag.ing && this.optionsDrag.ing(n,
|
|
35
|
+
const i = t.getClientXY(n);
|
|
36
|
+
this.optionsDrag.ing && this.optionsDrag.ing(n, i);
|
|
25
37
|
}
|
|
26
38
|
_runDragEnd(n) {
|
|
27
39
|
if (!this._isDragging) return;
|
|
28
40
|
this._isDragging = !1;
|
|
29
|
-
const
|
|
30
|
-
this.optionsDrag.end && this.optionsDrag.end(n,
|
|
41
|
+
const i = t.getClientXY(n);
|
|
42
|
+
this.optionsDrag.end && this.optionsDrag.end(n, i), this._offListener();
|
|
31
43
|
}
|
|
32
44
|
_offListener() {
|
|
33
|
-
|
|
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);
|
|
34
46
|
}
|
|
35
47
|
end() {
|
|
36
48
|
this._isDragging = !1, this._offListener();
|
|
37
49
|
}
|
|
38
50
|
}
|
|
39
51
|
export {
|
|
40
|
-
|
|
52
|
+
u as default
|
|
41
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function E(){const t=navigator.userAgent,e=navigator,i=window.innerWidth,o=window.innerHeight,h=/iPhone|iPad|iPod/i.test(t),g=/Android/i.test(t),l=/Macintosh/i.test(t),u=/Windows/i.test(t),w=/Android|iPhone|iPad|Mobile/i.test(t),n="ontouchstart"in window,m=i<768,s=n&&i>=768&&i<1024,c=m||w&&n&&!s,M=!c&&!s,a=/MicroMessenger/i.test(t),f=a&&/miniProgram/i.test(t),p=/AlipayClient/i.test(t),v=/Safari/i.test(t)&&!/Chrome/i.test(t),P=/Chrome/i.test(t)&&!/Edge/i.test(t),S=/Edg/i.test(t),A=/Firefox/i.test(t),b=window.devicePixelRatio||1,r=o>i,y=!r,W="standalone"in navigator&&e.standalone===!0,C=window.matchMedia("(prefers-color-scheme: dark)").matches,T=window.matchMedia("(prefers-reduced-motion: reduce)").matches,x=navigator.onLine,D=e.connection?.effectiveType,d=navigator.language||e.userLanguage||"zh-CN",k=d.startsWith("zh");return{isIOS:h,isAndroid:g,isMac:l,isWindows:u,width:i,height:o,isMobile:c,isTablet:s,isDesktop:M,hasTouch:n,isWechat:a,isWechatMiniProgram:f,isAlipay:p,isSafari:v,isChrome:P,isEdge:S,isFirefox:A,pixelRatio:b,isPortrait:r,isLandscape:y,isStandalone:W,prefersDarkMode:C,prefersReducedMotion:T,isOnline:x,connectionType:D,language:d,isZh:k}}exports.detectDevice=E;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
function
|
|
2
|
-
const t = navigator.userAgent, i = window.innerWidth, o = window.innerHeight,
|
|
1
|
+
function E() {
|
|
2
|
+
const t = navigator.userAgent, e = navigator, i = window.innerWidth, o = window.innerHeight, h = /iPhone|iPad|iPod/i.test(t), g = /Android/i.test(t), l = /Macintosh/i.test(t), w = /Windows/i.test(t), u = /Android|iPhone|iPad|Mobile/i.test(t), n = "ontouchstart" in window, m = i < 768, s = n && i >= 768 && i < 1024, c = m || u && n && !s, p = !c && !s, a = /MicroMessenger/i.test(t), M = a && /miniProgram/i.test(t), f = /AlipayClient/i.test(t), v = /Safari/i.test(t) && !/Chrome/i.test(t), P = /Chrome/i.test(t) && !/Edge/i.test(t), A = /Edg/i.test(t), S = /Firefox/i.test(t), W = window.devicePixelRatio || 1, r = o > i, x = !r, C = "standalone" in navigator && e.standalone === !0, b = window.matchMedia("(prefers-color-scheme: dark)").matches, y = window.matchMedia("(prefers-reduced-motion: reduce)").matches, T = navigator.onLine, k = e.connection?.effectiveType, d = navigator.language || e.userLanguage || "zh-CN", D = d.startsWith("zh");
|
|
3
3
|
return {
|
|
4
4
|
// 平台
|
|
5
|
-
isIOS:
|
|
6
|
-
isAndroid:
|
|
7
|
-
isMac:
|
|
8
|
-
isWindows:
|
|
5
|
+
isIOS: h,
|
|
6
|
+
isAndroid: g,
|
|
7
|
+
isMac: l,
|
|
8
|
+
isWindows: w,
|
|
9
9
|
// 设备
|
|
10
10
|
width: i,
|
|
11
11
|
height: o,
|
|
12
|
-
isMobile:
|
|
13
|
-
isTablet:
|
|
14
|
-
isDesktop:
|
|
15
|
-
hasTouch:
|
|
12
|
+
isMobile: c,
|
|
13
|
+
isTablet: s,
|
|
14
|
+
isDesktop: p,
|
|
15
|
+
hasTouch: n,
|
|
16
16
|
// 浏览器壳
|
|
17
17
|
isWechat: a,
|
|
18
|
-
isWechatMiniProgram:
|
|
19
|
-
isAlipay:
|
|
20
|
-
isSafari:
|
|
21
|
-
isChrome:
|
|
22
|
-
isEdge:
|
|
23
|
-
isFirefox:
|
|
18
|
+
isWechatMiniProgram: M,
|
|
19
|
+
isAlipay: f,
|
|
20
|
+
isSafari: v,
|
|
21
|
+
isChrome: P,
|
|
22
|
+
isEdge: A,
|
|
23
|
+
isFirefox: S,
|
|
24
24
|
// 显示
|
|
25
|
-
pixelRatio:
|
|
26
|
-
isPortrait:
|
|
27
|
-
isLandscape:
|
|
28
|
-
isStandalone:
|
|
25
|
+
pixelRatio: W,
|
|
26
|
+
isPortrait: r,
|
|
27
|
+
isLandscape: x,
|
|
28
|
+
isStandalone: C,
|
|
29
29
|
// 偏好
|
|
30
|
-
prefersDarkMode:
|
|
31
|
-
prefersReducedMotion:
|
|
30
|
+
prefersDarkMode: b,
|
|
31
|
+
prefersReducedMotion: y,
|
|
32
32
|
// 网络
|
|
33
|
-
isOnline:
|
|
34
|
-
connectionType:
|
|
33
|
+
isOnline: T,
|
|
34
|
+
connectionType: k,
|
|
35
35
|
// 语言
|
|
36
|
-
language:
|
|
37
|
-
isZh:
|
|
36
|
+
language: d,
|
|
37
|
+
isZh: D
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
E as detectDevice
|
|
42
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const f=require("axios"),q=require("qs"),r=require("./base.cjs");class b{requestPendingList;globalOptions;constructor(){this.requestPendingList=new Map,this.globalOptions={},this._setInterceptors()}_initRequest(e,t,s){const a=this,i=this._getExtInfo(s.ext);return new Promise(n=>{const c=new Date;let p={url:e,timeout:1e3*15,responseType:"json",retry:3,retryDelay:1e3};p=r.default.getJsonMerge(p,s.options,t),f(p).then(l=>{if(s.ext._operateType==="fileDownBinary")s.ext.uploadDownBinaryCallback(l,i,n);else{const u=i.resultCallback?i.resultCallback(l):a._initResult(l,i.resultCode);a._initRequestResolve(n,u,i,c)}}).catch(l=>{if(i.errorCallback&&l.response){const u=i.errorCallback(l);u&&(u.then&&r.default.isFunction(u.then)?u.then(o=>{a._initRequestError(l,n,o,i,c)}):a._initRequestError(l,n,u,i,c))}else{let u="",o="";l.response?u=l.response.status.toString():l.code==="ECONNABORTED"?o="Axios:TimeOut Repeat":r.default.isEmpty(l.message)||(o=`Axios:${r.default.isEmpty(l.code)?"":l.code+"-"}${l.message}`);const m=a._initResultErr(u,o);a._initRequestError(l,n,m,i,c)}})})}_initRequestResolve(e,t,s,a){s.isTimeOut?this._timeOut(a,()=>{e(t)}):e(t)}_initRequestError(e,t,s,a,i){f.isCancel(e)||this._initRequestResolve(t,s,a,i)}initGet(e){const t={method:"get",headers:this._getHeader(e.ext),params:e.param};return this._initRequest(e.url,t,e)}initPost(e){const t={method:"post",headers:this._getHeader(e.ext),data:JSON.stringify(e.param)};return this._initRequest(e.url,t,e)}initPut(e){const t=e.url,s={method:"put",headers:this._getHeader(e.ext),data:JSON.stringify(e.param)};return this._initRequest(t,s,e)}initDelete(e){const t=e.url,s={method:"delete",headers:this._getHeader(e.ext),data:JSON.stringify(e.param)};return this._initRequest(t,s,e)}initFile(e){const t={method:"post"},s=this._getHeader(e.ext);t.headers=s;const a=new FormData;return Object.keys(e.param).forEach(i=>{const n=e.param[i];r.default.isArray(n)?n.forEach(c=>{a.append(i,c)}):a.append(i,e.param[i])}),t.data=a,this._initRequest(e.url,t,e)}initFileDownLoad(e){const t=this,s={method:"post",responseType:"blob"},a=r.default.isEmpty(e.options.method)?"post":e.options.method;s.method=a;const i=this._getHeader(e.ext);return i["Content-Type"]="application/json;",s.headers=i,r.default.isEmpty(e.param)||(a==="get"?s.params=e.param:s.data=JSON.stringify(e.param)),e.ext._operateType="fileDownBinary",e.ext.uploadDownBinaryCallback=(n,c,p)=>{const l=new FileReader;l.onload=function(u){try{const o=JSON.parse(u.currentTarget.result),m=c.resultCallback?c.resultCallback({data:o}):t._initResult({data:o},c.resultCode);m.success||p(m)}catch{const m=n.headers["content-disposition"];let d="";r.default.isEmpty(m)?d=e.param&&e.param.fileName?e.param.fileName:new Date().getTime().toString():d=window.decodeURIComponent(m.split("=")[1]),d=d.replace(/\"/g,"").replace(/'/g,"");let g="";const R=d.lastIndexOf(".");R>-1&&(g=d.substring(R+1));let y;switch(g){case"xls":case"xlsx":y={type:"application/vnd.ms-excel"};break;case"csv":y={type:"text/csv"};break;case"doc":case"docx":y={type:"application/msword"};break;case"pdf":y={type:"application/pdf"};break}const _=new Blob([n.data],y);if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(_,d);else{const h=document.createElement("a");h.href=(window.URL||window.webkitURL).createObjectURL(_),h.download=d,h.style.display="none",document.body.appendChild(h),h.click(),window.URL.revokeObjectURL(h.href)}p({success:!0})}},l.readAsText(n.data)},this._initRequest(e.url,s,e)}_getHeader(e){const t={"Content-Type":"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest"};if(e&&e.headerCallback){const s=e.headerCallback();if(!r.default.isEmpty(s))for(const[a,i]of Object.entries(s))t[a]=i}return t}_getExtInfo(e){const t=r.default.getJsonClone(e);return t.isTimeOut=r.default.isBoolean(t.isTimeOut)?t.isTimeOut:!0,t}_timeOut(e,t){const i=new Date().getTime()-e.getTime()-200,n=i>0?0:Math.abs(i);n<=0?t():setTimeout(()=>{t()},n)}_initResult(e,t){const s={code:null,success:!1,msg:"",data:null};if(e.data){s.code=e.data.code.toString();const a=t.success||"200";s.code===a?(s.success=!0,s.data=e.data.data):(s.success=!1,s.msg=e.data.message,s.data=e.data.data)}return s}_initResultErr(e,t){const s={code:null,success:!1,msg:"Axios:Unknown error .",data:null},a=r.default.isEmpty(t)?`Axios:Unknown error ${e}`:t;return s.msg=a,s}_setInterceptors(){f.interceptors.request.use(e=>(this.globalOptions.interceptorsRequestCallback&&this.globalOptions.interceptorsRequestCallback(e),e&&(!r.default.isEmpty(e.__retryCount)&&e.__retryCount>0||(this._removeRequestPending(e),this._addRequestPending(e))),e),e=>Promise.reject(e)),f.interceptors.response.use(e=>(this.globalOptions.interceptorsResponseCallback&&this.globalOptions.interceptorsResponseCallback(e),this._removeRequestPending(e.config),e),e=>{if(e.code==="ECONNABORTED"&&e.message.indexOf("timeout")>-1){const t=e.config;return!t||!t.retry||(t.__retryCount=t.__retryCount||0,t.__retryCount>=t.retry)?Promise.reject(e):(t.__retryCount+=1,new Promise(a=>{setTimeout(function(){a()},t.retryDelay||1)}).then(function(){return f(t)}))}else return Promise.reject(e)})}_getRequestKeyMerge(e){const t=e._requestKeyMerge,s=r.default.isBoolean(e.isRequestCancelRepeat)?e.isRequestCancelRepeat:!0,a=[];return!r.default.isEmpty(e)&&s&&(r.default.isUndefined(t)?(a.push(e.method),a.push(e.url),r.default.isEmpty(e._ran)||a.push(e._ran)):["method","url","params","data","_ran"].forEach(i=>{if(r.default.isExistValue(t,i)&&!r.default.isEmpty(e[i])){let n=e[i];i==="params"||i==="data"?(r.default.isString(n)&&(n=JSON.parse(n)),a.push(q.stringify(n))):(i==="_ran"&&r.default.isEmpty(n)&&(n=new Date().getTime()),a.push(n))}})),a.join("&")}_addRequestPending(e){const t=this._getRequestKeyMerge(e);r.default.isEmpty(t)||(e.cancelToken=e.cancelToken||new f.CancelToken(s=>{this.requestPendingList.has(t)||this.requestPendingList.set(t,s)}))}_removeRequestPending(e){const t=this._getRequestKeyMerge(e);!r.default.isEmpty(t)&&this.requestPendingList.has(t)&&(this.requestPendingList.get(t)(`AxiosCancelRepeatRequest: ${t}`),this.requestPendingList.delete(t))}cancelAll(){const e=[];for(const t of this.requestPendingList)e.push(t[0]);e.forEach(t=>{this.requestPendingList.get(t)(`AxiosCancelRepeatRequest: ${t}`),this.requestPendingList.delete(t)})}setResendAgain(e,t={}){const s=e.config,a=r.default.isUndefined(t.retryDelay)?500:t.retryDelay;return!s||!s.retry?Promise.reject(e):new Promise(n=>{setTimeout(function(){n()},a||1)}).then(function(){return s.cancelToken=null,f(s)})}setGlobalOptions(e){this.globalOptions=r.default.getJsonMerge(this.globalOptions,e||{})}}const C=new b;module.exports=C;
|
|
1
|
+
"use strict";const f=require("axios"),q=require("qs"),r=require("./base.cjs");class b{requestPendingList;globalOptions;constructor(){this.requestPendingList=new Map,this.globalOptions={},this._setInterceptors()}_initRequest(e,t,s){const a=this,i=this._getExtInfo(s.ext);return new Promise(n=>{const c=new Date;let p={url:e,timeout:1e3*15,responseType:"json",retry:3,retryDelay:1e3};p=r.default.getJsonMerge(p,s.options,t),f(p).then(l=>{if(s.ext._operateType==="fileDownBinary")s.ext.uploadDownBinaryCallback(l,i,n);else{const u=i.resultCallback?i.resultCallback(l):a._initResult(l,i.resultCode);a._initRequestResolve(n,u,i,c)}}).catch(l=>{if(i.errorCallback&&l.response){const u=i.errorCallback(l);u&&(u.then&&r.default.isFunction(u.then)?u.then(o=>{a._initRequestError(l,n,o,i,c)}):a._initRequestError(l,n,u,i,c))}else{let u="",o="";l.response?u=l.response.status.toString():l.code==="ECONNABORTED"?o="Axios:TimeOut Repeat":r.default.isEmpty(l.message)||(o=`Axios:${r.default.isEmpty(l.code)?"":l.code+"-"}${l.message}`);const m=a._initResultErr(u,o);a._initRequestError(l,n,m,i,c)}})})}_initRequestResolve(e,t,s,a){s.isTimeOut?this._timeOut(a,()=>{e(t)}):e(t)}_initRequestError(e,t,s,a,i){f.isCancel(e)||this._initRequestResolve(t,s,a,i)}initGet(e){const t={method:"get",headers:this._getHeader(e.ext),params:e.param};return this._initRequest(e.url,t,e)}initPost(e){const t={method:"post",headers:this._getHeader(e.ext),data:JSON.stringify(e.param)};return this._initRequest(e.url,t,e)}initPut(e){const t=e.url,s={method:"put",headers:this._getHeader(e.ext),data:JSON.stringify(e.param)};return this._initRequest(t,s,e)}initDelete(e){const t=e.url,s={method:"delete",headers:this._getHeader(e.ext),data:JSON.stringify(e.param)};return this._initRequest(t,s,e)}initFile(e){const t={method:"post"},s=this._getHeader(e.ext);s["Content-Type"]="multipart/form-data",t.headers=s;const a=new FormData;return Object.keys(e.param).forEach(i=>{const n=e.param[i];r.default.isArray(n)?n.forEach(c=>{a.append(i,c)}):a.append(i,e.param[i])}),t.data=a,this._initRequest(e.url,t,e)}initFileDownLoad(e){const t=this,s={method:"post",responseType:"blob"},a=r.default.isEmpty(e.options.method)?"post":e.options.method;s.method=a;const i=this._getHeader(e.ext);return i["Content-Type"]="application/json;",s.headers=i,r.default.isEmpty(e.param)||(a==="get"?s.params=e.param:s.data=JSON.stringify(e.param)),e.ext._operateType="fileDownBinary",e.ext.uploadDownBinaryCallback=(n,c,p)=>{const l=new FileReader;l.onload=function(u){try{const o=JSON.parse(u.currentTarget.result),m=c.resultCallback?c.resultCallback({data:o}):t._initResult({data:o},c.resultCode);m.success||p(m)}catch{const m=n.headers["content-disposition"];let d="";r.default.isEmpty(m)?d=e.param&&e.param.fileName?e.param.fileName:new Date().getTime().toString():d=window.decodeURIComponent(m.split("=")[1]),d=d.replace(/\"/g,"").replace(/'/g,"");let g="";const R=d.lastIndexOf(".");R>-1&&(g=d.substring(R+1));let y;switch(g){case"xls":case"xlsx":y={type:"application/vnd.ms-excel"};break;case"csv":y={type:"text/csv"};break;case"doc":case"docx":y={type:"application/msword"};break;case"pdf":y={type:"application/pdf"};break}const _=new Blob([n.data],y);if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(_,d);else{const h=document.createElement("a");h.href=(window.URL||window.webkitURL).createObjectURL(_),h.download=d,h.style.display="none",document.body.appendChild(h),h.click(),window.URL.revokeObjectURL(h.href)}p({success:!0})}},l.readAsText(n.data)},this._initRequest(e.url,s,e)}_getHeader(e){const t={"Content-Type":"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest"};if(e&&e.headerCallback){const s=e.headerCallback();if(!r.default.isEmpty(s))for(const[a,i]of Object.entries(s))t[a]=i}return t}_getExtInfo(e){const t=r.default.getJsonClone(e);return t.isTimeOut=r.default.isBoolean(t.isTimeOut)?t.isTimeOut:!0,t}_timeOut(e,t){const i=new Date().getTime()-e.getTime()-200,n=i>0?0:Math.abs(i);n<=0?t():setTimeout(()=>{t()},n)}_initResult(e,t){const s={code:null,success:!1,msg:"",data:null};if(e.data){s.code=e.data.code.toString();const a=t.success||"200";s.code===a?(s.success=!0,s.data=e.data.data):(s.success=!1,s.msg=e.data.message,s.data=e.data.data)}return s}_initResultErr(e,t){const s={code:null,success:!1,msg:"Axios:Unknown error .",data:null},a=r.default.isEmpty(t)?`Axios:Unknown error ${e}`:t;return s.msg=a,s}_setInterceptors(){f.interceptors.request.use(e=>(this.globalOptions.interceptorsRequestCallback&&this.globalOptions.interceptorsRequestCallback(e),e&&(!r.default.isEmpty(e.__retryCount)&&e.__retryCount>0||(this._removeRequestPending(e),this._addRequestPending(e))),e),e=>Promise.reject(e)),f.interceptors.response.use(e=>(this.globalOptions.interceptorsResponseCallback&&this.globalOptions.interceptorsResponseCallback(e),this._removeRequestPending(e.config),e),e=>{if(e.code==="ECONNABORTED"&&e.message.indexOf("timeout")>-1){const t=e.config;return!t||!t.retry||(t.__retryCount=t.__retryCount||0,t.__retryCount>=t.retry)?Promise.reject(e):(t.__retryCount+=1,new Promise(a=>{setTimeout(function(){a()},t.retryDelay||1)}).then(function(){return f(t)}))}else return Promise.reject(e)})}_getRequestKeyMerge(e){const t=e._requestKeyMerge,s=r.default.isBoolean(e.isRequestCancelRepeat)?e.isRequestCancelRepeat:!0,a=[];return!r.default.isEmpty(e)&&s&&(r.default.isUndefined(t)?(a.push(e.method),a.push(e.url),r.default.isEmpty(e._ran)||a.push(e._ran)):["method","url","params","data","_ran"].forEach(i=>{if(r.default.isExistValue(t,i)&&!r.default.isEmpty(e[i])){let n=e[i];i==="params"||i==="data"?(r.default.isString(n)&&(n=JSON.parse(n)),a.push(q.stringify(n))):(i==="_ran"&&r.default.isEmpty(n)&&(n=new Date().getTime()),a.push(n))}})),a.join("&")}_addRequestPending(e){const t=this._getRequestKeyMerge(e);r.default.isEmpty(t)||(e.cancelToken=e.cancelToken||new f.CancelToken(s=>{this.requestPendingList.has(t)||this.requestPendingList.set(t,s)}))}_removeRequestPending(e){const t=this._getRequestKeyMerge(e);!r.default.isEmpty(t)&&this.requestPendingList.has(t)&&(this.requestPendingList.get(t)(`AxiosCancelRepeatRequest: ${t}`),this.requestPendingList.delete(t))}cancelAll(){const e=[];for(const t of this.requestPendingList)e.push(t[0]);e.forEach(t=>{this.requestPendingList.get(t)(`AxiosCancelRepeatRequest: ${t}`),this.requestPendingList.delete(t)})}setResendAgain(e,t={}){const s=e.config,a=r.default.isUndefined(t.retryDelay)?500:t.retryDelay;return!s||!s.retry?Promise.reject(e):new Promise(n=>{setTimeout(function(){n()},a||1)}).then(function(){return s.cancelToken=null,f(s)})}setGlobalOptions(e){this.globalOptions=r.default.getJsonMerge(this.globalOptions,e||{})}}const C=new b;module.exports=C;
|
|
@@ -85,7 +85,7 @@ class b {
|
|
|
85
85
|
const t = {
|
|
86
86
|
method: "post"
|
|
87
87
|
}, s = this._getHeader(e.ext);
|
|
88
|
-
t.headers = s;
|
|
88
|
+
s["Content-Type"] = "multipart/form-data", t.headers = s;
|
|
89
89
|
const a = new FormData();
|
|
90
90
|
return Object.keys(e.param).forEach((i) => {
|
|
91
91
|
const n = e.param[i];
|
|
@@ -180,19 +180,25 @@ class b {
|
|
|
180
180
|
return s.msg = a, s;
|
|
181
181
|
}
|
|
182
182
|
_setInterceptors() {
|
|
183
|
-
p.interceptors.request.use(
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
return
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
183
|
+
p.interceptors.request.use(
|
|
184
|
+
(e) => (this.globalOptions.interceptorsRequestCallback && this.globalOptions.interceptorsRequestCallback(e), e && (!r.isEmpty(e.__retryCount) && e.__retryCount > 0 || (this._removeRequestPending(e), this._addRequestPending(e))), e),
|
|
185
|
+
(e) => Promise.reject(e)
|
|
186
|
+
), p.interceptors.response.use(
|
|
187
|
+
(e) => (this.globalOptions.interceptorsResponseCallback && this.globalOptions.interceptorsResponseCallback(e), this._removeRequestPending(e.config), e),
|
|
188
|
+
(e) => {
|
|
189
|
+
if (e.code === "ECONNABORTED" && e.message.indexOf("timeout") > -1) {
|
|
190
|
+
const t = e.config;
|
|
191
|
+
return !t || !t.retry || (t.__retryCount = t.__retryCount || 0, t.__retryCount >= t.retry) ? Promise.reject(e) : (t.__retryCount += 1, new Promise((a) => {
|
|
192
|
+
setTimeout(function() {
|
|
193
|
+
a();
|
|
194
|
+
}, t.retryDelay || 1);
|
|
195
|
+
}).then(function() {
|
|
196
|
+
return p(t);
|
|
197
|
+
}));
|
|
198
|
+
} else
|
|
199
|
+
return Promise.reject(e);
|
|
200
|
+
}
|
|
201
|
+
);
|
|
196
202
|
}
|
|
197
203
|
_getRequestKeyMerge(e) {
|
|
198
204
|
const t = e._requestKeyMerge, s = r.isBoolean(e.isRequestCancelRepeat) ? e.isRequestCancelRepeat : !0, a = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});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.default=x;exports.registerFormatHandler=C;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});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.default=x;exports.registerFormatHandler=C;
|