@cldemo/ui-kit 1.1.0 → 1.1.2
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 +125 -42
- package/README.md +8 -7
- package/buildLibs/all/{BallColor4-CYDMNYIL.js → BallColor4-B1tO7Tbf.js} +1 -1
- package/buildLibs/{web/BallColor4-CvdyEpUB.cjs → all/BallColor4-XAmB3sGF.cjs} +1 -1
- package/buildLibs/{web/ToastRing-KEtXZej2.cjs → all/ToastRing-BIV-zK0K.cjs} +1 -1
- package/buildLibs/{web/ToastRing-DxVDUCSx.js → all/ToastRing-D7_Cqd_W.js} +1 -1
- package/buildLibs/all/{Video-Bbk0_YWw.js → Video-BCsixuXq.js} +1 -1
- package/buildLibs/all/{Video-BV-GRW4X.cjs → Video-kyxIjktP.cjs} +1 -1
- package/buildLibs/all/{index-Cap0WJgK.cjs → index-0NOmwWqO.cjs} +9 -9
- package/buildLibs/all/{index-sPYdePtz.js → index-CIctx5VJ.js} +110 -102
- package/buildLibs/all/index.cjs +1 -1
- package/buildLibs/all/index.js +1 -1
- package/buildLibs/common/Element/Event/index.d.ts +2 -0
- package/buildLibs/common/Element/index.d.ts +2 -0
- package/buildLibs/common/Tools/index.d.ts +2 -0
- package/buildLibs/common/axios.d.ts +2 -0
- package/buildLibs/common/base.d.ts +2 -0
- package/buildLibs/common/browserProgress.cjs +1 -1
- package/buildLibs/common/browserProgress.d.ts +2 -0
- package/buildLibs/common/browserProgress.js +24 -15
- package/buildLibs/common/day.d.ts +2 -0
- package/buildLibs/common/echart.d.ts +2 -0
- package/buildLibs/common/globalConfig.cjs +1 -1
- package/buildLibs/common/globalConfig.d.ts +2 -0
- package/buildLibs/common/globalConfig.js +12 -8
- package/buildLibs/common/globalTypes.d.ts +1 -0
- package/buildLibs/common/i18n/index.d.ts +2 -0
- package/buildLibs/common/log.d.ts +2 -0
- package/buildLibs/common/promise.d.ts +2 -0
- package/buildLibs/common/tooltip.d.ts +2 -0
- package/buildLibs/core/alert.cjs +1 -0
- package/buildLibs/core/alert.d.ts +1 -0
- package/buildLibs/core/alert.js +1 -0
- package/buildLibs/core/clipboard.cjs +1 -0
- package/buildLibs/core/clipboard.d.ts +1 -0
- package/buildLibs/core/clipboard.js +1 -0
- package/buildLibs/core/codeHighlight.cjs +1 -0
- package/buildLibs/core/codeHighlight.d.ts +1 -0
- package/buildLibs/core/codeHighlight.js +1 -0
- package/buildLibs/core/languagePack.cjs +1 -0
- package/buildLibs/core/languagePack.d.ts +1 -0
- package/buildLibs/core/languagePack.js +1 -0
- package/buildLibs/core/lazyImage.cjs +1 -0
- package/buildLibs/core/lazyImage.d.ts +1 -0
- package/buildLibs/core/lazyImage.js +1 -0
- package/buildLibs/core/loadScreen.cjs +1 -0
- package/buildLibs/core/loadScreen.d.ts +1 -0
- package/buildLibs/core/loadScreen.js +1 -0
- package/buildLibs/core/notify.cjs +1 -0
- package/buildLibs/core/notify.d.ts +1 -0
- package/buildLibs/core/notify.js +1 -0
- package/buildLibs/core/notifyM.cjs +1 -0
- package/buildLibs/core/notifyM.d.ts +1 -0
- package/buildLibs/core/notifyM.js +1 -0
- package/buildLibs/core/preview.cjs +1 -0
- package/buildLibs/core/preview.d.ts +1 -0
- package/buildLibs/core/preview.js +1 -0
- package/buildLibs/core/toast.cjs +1 -0
- package/buildLibs/core/toast.d.ts +1 -0
- package/buildLibs/core/toast.js +1 -0
- package/buildLibs/core/tooltip.cjs +1 -0
- package/buildLibs/core/tooltip.d.ts +1 -0
- package/buildLibs/core/tooltip.js +1 -0
- package/buildLibs/core/validate.cjs +1 -0
- package/buildLibs/core/validate.d.ts +1 -0
- package/buildLibs/core/validate.js +1 -0
- package/buildLibs/core/waves.cjs +1 -0
- package/buildLibs/core/waves.d.ts +1 -0
- package/buildLibs/core/waves.js +1 -0
- package/buildLibs/{all/BallColor4-CaqTfMcX.cjs → mobile/BallColor4-D5cOCCwS.cjs} +1 -1
- package/buildLibs/mobile/{BallColor4-DogqtiHo.js → BallColor4-DW64tRd6.js} +1 -1
- package/buildLibs/{all/ToastRing-BW0hddZN.js → mobile/ToastRing-CBnFEhCg.js} +1 -1
- package/buildLibs/mobile/{ToastRing-BQAASeWu.cjs → ToastRing-DUy5-KJI.cjs} +1 -1
- package/buildLibs/mobile/{index-Bh4jt080.js → index-Ccqb6JSg.js} +1276 -1269
- package/buildLibs/mobile/{index-DmdxP8hd.cjs → index-SXa7oZIH.cjs} +5 -5
- package/buildLibs/mobile/index.cjs +1 -1
- package/buildLibs/mobile/index.js +1 -1
- package/buildLibs/modules/actionSheet.d.ts +1 -1
- package/buildLibs/modules/actionSheet.js +1 -212
- package/buildLibs/modules/anchorNav.d.ts +1 -1
- package/buildLibs/modules/anchorNav.js +1 -147
- package/buildLibs/modules/backTop.d.ts +1 -1
- package/buildLibs/modules/backTop.js +1 -139
- package/buildLibs/modules/badge.d.ts +1 -1
- package/buildLibs/modules/badge.js +1 -4
- package/buildLibs/modules/banner.d.ts +1 -1
- package/buildLibs/modules/banner.js +2 -332
- package/buildLibs/modules/breadcrumb.d.ts +1 -1
- package/buildLibs/modules/breadcrumb.js +1 -73
- package/buildLibs/modules/button.d.ts +1 -1
- package/buildLibs/modules/button.js +1 -4
- package/buildLibs/modules/calendar.d.ts +1 -1
- package/buildLibs/modules/calendar.js +1 -353
- package/buildLibs/modules/calendarM.d.ts +1 -1
- package/buildLibs/modules/calendarM.js +1 -473
- package/buildLibs/modules/callout.d.ts +1 -1
- package/buildLibs/modules/callout.js +1 -45
- package/buildLibs/modules/card.d.ts +1 -1
- package/buildLibs/modules/card.js +1 -4
- package/buildLibs/modules/cardColor.d.ts +1 -1
- package/buildLibs/modules/cardColor.js +1 -54
- package/buildLibs/modules/cell.d.ts +1 -1
- package/buildLibs/modules/cell.js +1 -109
- package/buildLibs/modules/cellSwipe.d.ts +1 -1
- package/buildLibs/modules/cellSwipe.js +1 -159
- package/buildLibs/modules/checkbox.d.ts +1 -1
- package/buildLibs/modules/checkbox.js +1 -4
- package/buildLibs/modules/checkboxOne.d.ts +1 -1
- package/buildLibs/modules/checkboxOne.js +1 -4
- package/buildLibs/modules/clipboard.d.ts +1 -1
- package/buildLibs/modules/clipboard.js +1 -4
- package/buildLibs/modules/codeLegend.d.ts +1 -1
- package/buildLibs/modules/codeLegend.js +1 -149
- package/buildLibs/modules/codeLegendM.d.ts +1 -1
- package/buildLibs/modules/codeLegendM.js +1 -196
- package/buildLibs/modules/collapse.d.ts +1 -1
- package/buildLibs/modules/collapse.js +1 -133
- package/buildLibs/modules/colorPicker.d.ts +1 -1
- package/buildLibs/modules/colorPicker.js +1 -1196
- package/buildLibs/modules/countDown.d.ts +1 -1
- package/buildLibs/modules/countDown.js +1 -139
- package/buildLibs/modules/cropper.d.ts +1 -1
- package/buildLibs/modules/cropper.js +1 -4
- package/buildLibs/modules/cropperM.d.ts +1 -1
- package/buildLibs/modules/cropperM.js +1 -450
- package/buildLibs/modules/cropperPreview.d.ts +1 -1
- package/buildLibs/modules/cropperPreview.js +1 -222
- package/buildLibs/modules/darg.d.ts +1 -1
- package/buildLibs/modules/darg.js +1 -2160
- package/buildLibs/modules/dateTime.d.ts +1 -1
- package/buildLibs/modules/dateTime.js +1 -4
- package/buildLibs/modules/divider.d.ts +1 -1
- package/buildLibs/modules/divider.js +1 -4
- package/buildLibs/modules/dropdownMenu.d.ts +1 -1
- package/buildLibs/modules/dropdownMenu.js +1 -168
- package/buildLibs/modules/dropdownMenuItem.d.ts +1 -1
- package/buildLibs/modules/dropdownMenuItem.js +1 -88
- package/buildLibs/modules/dropdownMenuM.d.ts +1 -1
- package/buildLibs/modules/dropdownMenuM.js +1 -216
- package/buildLibs/modules/dropdownMenuMItem.d.ts +1 -1
- package/buildLibs/modules/dropdownMenuMItem.js +1 -178
- package/buildLibs/modules/dropdownPopup.d.ts +1 -1
- package/buildLibs/modules/dropdownPopup.js +1 -122
- package/buildLibs/modules/echarts.d.ts +1 -1
- package/buildLibs/modules/echarts.js +1 -4
- package/buildLibs/modules/echartsLineAxisTag.d.ts +1 -1
- package/buildLibs/modules/echartsLineAxisTag.js +1 -920
- package/buildLibs/modules/ellipsis.d.ts +1 -1
- package/buildLibs/modules/ellipsis.js +1 -4
- package/buildLibs/modules/empty.d.ts +1 -1
- package/buildLibs/modules/empty.js +1 -65
- package/buildLibs/modules/fileUpload.d.ts +1 -1
- package/buildLibs/modules/fileUpload.js +1 -4
- package/buildLibs/modules/floatBubble.d.ts +1 -1
- package/buildLibs/modules/floatBubble.js +1 -192
- package/buildLibs/modules/floatPanel.d.ts +1 -1
- package/buildLibs/modules/floatPanel.js +1 -279
- package/buildLibs/modules/form.d.ts +1 -1
- package/buildLibs/modules/form.js +1 -4
- package/buildLibs/modules/formGroupBtns.d.ts +1 -1
- package/buildLibs/modules/formGroupBtns.js +1 -87
- package/buildLibs/modules/formGroupHorizontal.d.ts +1 -1
- package/buildLibs/modules/formGroupHorizontal.js +1 -4
- package/buildLibs/modules/formGroupVertical.d.ts +1 -1
- package/buildLibs/modules/formGroupVertical.js +1 -62
- package/buildLibs/modules/formValidate.d.ts +1 -1
- package/buildLibs/modules/formValidate.js +1 -4
- package/buildLibs/modules/framePhone.d.ts +1 -1
- package/buildLibs/modules/framePhone.js +1 -71
- package/buildLibs/modules/grid.d.ts +1 -1
- package/buildLibs/modules/grid.js +1 -95
- package/buildLibs/modules/iconFont.d.ts +1 -1
- package/buildLibs/modules/iconFont.js +1 -4
- package/buildLibs/modules/image.d.ts +1 -1
- package/buildLibs/modules/image.js +1 -4
- package/buildLibs/modules/indexBar.d.ts +1 -1
- package/buildLibs/modules/indexBar.js +1 -173
- package/buildLibs/modules/input.d.ts +1 -1
- package/buildLibs/modules/input.js +1 -4
- package/buildLibs/modules/inputCaptcha.d.ts +1 -1
- package/buildLibs/modules/inputCaptcha.js +1 -136
- package/buildLibs/modules/inputNumber.d.ts +1 -1
- package/buildLibs/modules/inputNumber.js +1 -4
- package/buildLibs/modules/inputNumberStepper.d.ts +1 -1
- package/buildLibs/modules/inputNumberStepper.js +1 -4
- package/buildLibs/modules/inputPassword.d.ts +1 -1
- package/buildLibs/modules/inputPassword.js +1 -149
- package/buildLibs/modules/inputPin.d.ts +1 -1
- package/buildLibs/modules/inputPin.js +1 -182
- package/buildLibs/modules/inputSearch.d.ts +1 -1
- package/buildLibs/modules/inputSearch.js +1 -4
- package/buildLibs/modules/inputTag.d.ts +1 -1
- package/buildLibs/modules/inputTag.js +1 -4
- package/buildLibs/modules/inputTextarea.d.ts +1 -1
- package/buildLibs/modules/inputTextarea.js +1 -4
- package/buildLibs/modules/link.d.ts +1 -1
- package/buildLibs/modules/link.js +1 -4
- package/buildLibs/modules/load.d.ts +1 -1
- package/buildLibs/modules/load.js +1 -4
- package/buildLibs/modules/loadFullCenter.d.ts +1 -1
- package/buildLibs/modules/loadFullCenter.js +1 -44
- package/buildLibs/modules/loadIng.d.ts +1 -1
- package/buildLibs/modules/loadIng.js +1 -4
- package/buildLibs/modules/loadScreen.d.ts +1 -1
- package/buildLibs/modules/loadScreen.js +1 -74
- package/buildLibs/modules/loadWarp.d.ts +1 -1
- package/buildLibs/modules/loadWarp.js +1 -52
- package/buildLibs/modules/modal.d.ts +1 -1
- package/buildLibs/modules/modal.js +1 -4
- package/buildLibs/modules/navBar.d.ts +1 -1
- package/buildLibs/modules/navBar.js +1 -119
- package/buildLibs/modules/noticeBar.d.ts +1 -1
- package/buildLibs/modules/noticeBar.js +1 -145
- package/buildLibs/modules/notifyM.d.ts +1 -1
- package/buildLibs/modules/notifyM.js +1 -277
- package/buildLibs/modules/numberKeyboard.d.ts +1 -1
- package/buildLibs/modules/numberKeyboard.js +1 -287
- package/buildLibs/modules/numberRoll.d.ts +1 -1
- package/buildLibs/modules/numberRoll.js +1 -96
- package/buildLibs/modules/overlay.d.ts +1 -1
- package/buildLibs/modules/overlay.js +1 -4
- package/buildLibs/modules/paginate.d.ts +1 -1
- package/buildLibs/modules/paginate.js +1 -4
- package/buildLibs/modules/picker.d.ts +1 -1
- package/buildLibs/modules/picker.js +1 -4
- package/buildLibs/modules/pickerArea.d.ts +1 -1
- package/buildLibs/modules/pickerArea.js +1 -255
- package/buildLibs/modules/pickerCascader.d.ts +1 -1
- package/buildLibs/modules/pickerCascader.js +1 -316
- package/buildLibs/modules/pickerDate.d.ts +1 -1
- package/buildLibs/modules/pickerDate.js +1 -220
- package/buildLibs/modules/pickerTime.d.ts +1 -1
- package/buildLibs/modules/pickerTime.js +1 -230
- package/buildLibs/modules/popup.d.ts +1 -1
- package/buildLibs/modules/popup.js +1 -4
- package/buildLibs/modules/portlet.d.ts +1 -1
- package/buildLibs/modules/portlet.js +1 -51
- package/buildLibs/modules/previewExample.d.ts +1 -1
- package/buildLibs/modules/previewExample.js +1 -4
- package/buildLibs/modules/progress.d.ts +1 -1
- package/buildLibs/modules/progress.js +1 -262
- package/buildLibs/modules/pullToRefresh.d.ts +1 -1
- package/buildLibs/modules/pullToRefresh.js +1 -4
- package/buildLibs/modules/radio.d.ts +1 -1
- package/buildLibs/modules/radio.js +1 -4
- package/buildLibs/modules/radioOne.d.ts +1 -1
- package/buildLibs/modules/radioOne.js +1 -4
- package/buildLibs/modules/rate.d.ts +1 -1
- package/buildLibs/modules/rate.js +1 -235
- package/buildLibs/modules/scrollCard.d.ts +1 -1
- package/buildLibs/modules/scrollCard.js +1 -368
- package/buildLibs/modules/scrollXFence.d.ts +1 -1
- package/buildLibs/modules/scrollXFence.js +1 -4
- package/buildLibs/modules/select.d.ts +1 -1
- package/buildLibs/modules/select.js +1 -4
- package/buildLibs/modules/selectCascade.d.ts +1 -1
- package/buildLibs/modules/selectCascade.js +1 -4
- package/buildLibs/modules/selectMove.d.ts +1 -1
- package/buildLibs/modules/selectMove.js +1 -1352
- package/buildLibs/modules/selectTag.d.ts +1 -1
- package/buildLibs/modules/selectTag.js +1 -4
- package/buildLibs/modules/selectTree.d.ts +1 -1
- package/buildLibs/modules/selectTree.js +1 -377
- package/buildLibs/modules/sharePanel.d.ts +1 -1
- package/buildLibs/modules/sharePanel.js +1 -151
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-GSyMXu17.js → Index.vue_vue_type_script_setup_true_lang-C4t0E13G.js} +1 -1
- package/buildLibs/modules/shared/{Index.vue_vue_type_script_setup_true_lang-DtsjjKBG.js → Index.vue_vue_type_script_setup_true_lang-DfsrIstV.js} +274 -273
- package/buildLibs/modules/shared/Validate.vue_vue_type_script_setup_true_lang-CJNHymo3.js +419 -0
- package/buildLibs/modules/sideMenu.d.ts +1 -1
- package/buildLibs/modules/sideMenu.js +1 -227
- package/buildLibs/modules/sidebar.d.ts +1 -1
- package/buildLibs/modules/sidebar.js +1 -63
- package/buildLibs/modules/sidebarSelect.d.ts +1 -1
- package/buildLibs/modules/sidebarSelect.js +1 -86
- package/buildLibs/modules/signature.d.ts +1 -1
- package/buildLibs/modules/signature.js +1 -250
- package/buildLibs/modules/slider.d.ts +1 -1
- package/buildLibs/modules/slider.js +1 -4
- package/buildLibs/modules/steps.d.ts +1 -1
- package/buildLibs/modules/steps.js +1 -112
- package/buildLibs/modules/swipe.d.ts +1 -1
- package/buildLibs/modules/swipe.js +1 -177
- package/buildLibs/modules/switchery.d.ts +1 -1
- package/buildLibs/modules/switchery.js +1 -261
- package/buildLibs/modules/tabM.d.ts +1 -1
- package/buildLibs/modules/tabM.js +1 -115
- package/buildLibs/modules/tabbar.d.ts +1 -1
- package/buildLibs/modules/tabbar.js +1 -119
- package/buildLibs/modules/table.d.ts +1 -1
- package/buildLibs/modules/table.js +1 -2409
- package/buildLibs/modules/tableEdit.d.ts +1 -1
- package/buildLibs/modules/tableEdit.js +1 -79
- package/buildLibs/modules/tableSimple.d.ts +1 -1
- package/buildLibs/modules/tableSimple.js +1 -74
- package/buildLibs/modules/tabs.d.ts +1 -1
- package/buildLibs/modules/tabs.js +1 -358
- package/buildLibs/modules/tags.d.ts +1 -1
- package/buildLibs/modules/tags.js +1 -4
- package/buildLibs/modules/textHighlight.d.ts +1 -1
- package/buildLibs/modules/textHighlight.js +1 -68
- package/buildLibs/modules/toast.d.ts +1 -1
- package/buildLibs/modules/toast.js +1 -198
- package/buildLibs/modules/transitionSlideUpDown.d.ts +1 -1
- package/buildLibs/modules/transitionSlideUpDown.js +1 -4
- package/buildLibs/modules/tree.d.ts +1 -1
- package/buildLibs/modules/tree.js +1 -4
- package/buildLibs/modules/waterfall.d.ts +1 -1
- package/buildLibs/modules/waterfall.js +1 -174
- package/buildLibs/modules/waterfallImage.d.ts +1 -1
- package/buildLibs/modules/waterfallImage.js +1 -49
- package/buildLibs/modules/watermark.d.ts +1 -1
- package/buildLibs/modules/watermark.js +1 -77
- package/buildLibs/modules/weekHour.d.ts +1 -1
- package/buildLibs/modules/weekHour.js +1 -765
- package/buildLibs/modules/xEditable.d.ts +1 -1
- package/buildLibs/modules/xEditable.js +1 -772
- package/buildLibs/styles/Common/meta.json +2 -0
- package/buildLibs/styles/Element/__provide__/LoadScreen.css +0 -31
- package/buildLibs/types/Common/browserProgress.d.ts +3 -1
- package/buildLibs/types/Common/globalConfig.d.ts +35 -2
- package/buildLibs/types/Common/globalTypes.d.ts +12 -2
- package/buildLibs/types/Web/Preview/lazy.d.ts +21 -0
- package/buildLibs/utils/Element/ClBadge.cjs +1 -1
- package/buildLibs/utils/Element/ClBadge.d.ts +1 -1
- package/buildLibs/utils/Element/ClBadge.js +1 -1
- package/buildLibs/utils/Element/ClBreadcrumb.cjs +1 -1
- package/buildLibs/utils/Element/ClBreadcrumb.d.ts +1 -1
- package/buildLibs/utils/Element/ClBreadcrumb.js +1 -1
- package/buildLibs/utils/Element/ClButton.cjs +1 -1
- package/buildLibs/utils/Element/ClButton.d.ts +1 -1
- package/buildLibs/utils/Element/ClButton.js +1 -1
- package/buildLibs/utils/Element/ClCallout.d.ts +1 -1
- package/buildLibs/utils/Element/ClCard.cjs +1 -1
- package/buildLibs/utils/Element/ClCard.d.ts +1 -1
- package/buildLibs/utils/Element/ClCard.js +1 -1
- package/buildLibs/utils/Element/ClCardColor.d.ts +1 -1
- package/buildLibs/utils/Element/ClCheckbox.cjs +1 -1
- package/buildLibs/utils/Element/ClCheckbox.d.ts +1 -1
- package/buildLibs/utils/Element/ClCheckbox.js +1 -1
- package/buildLibs/utils/Element/ClCheckboxOne.cjs +1 -1
- package/buildLibs/utils/Element/ClCheckboxOne.d.ts +1 -1
- package/buildLibs/utils/Element/ClCheckboxOne.js +1 -1
- package/buildLibs/utils/Element/ClClipboard.cjs +1 -1
- package/buildLibs/utils/Element/ClClipboard.d.ts +1 -1
- package/buildLibs/utils/Element/ClClipboard.js +1 -1
- package/buildLibs/utils/Element/ClCollapse.cjs +1 -1
- package/buildLibs/utils/Element/ClCollapse.d.ts +1 -1
- package/buildLibs/utils/Element/ClCollapse.js +1 -1
- package/buildLibs/utils/Element/ClCountDown.d.ts +1 -1
- package/buildLibs/utils/Element/ClDarg.cjs +1 -1
- package/buildLibs/utils/Element/ClDarg.d.ts +1 -1
- package/buildLibs/utils/Element/ClDarg.js +1 -1
- package/buildLibs/utils/Element/ClDivider.cjs +1 -1
- package/buildLibs/utils/Element/ClDivider.d.ts +1 -1
- package/buildLibs/utils/Element/ClDivider.js +1 -1
- package/buildLibs/utils/Element/ClEllipsis.cjs +1 -1
- package/buildLibs/utils/Element/ClEllipsis.d.ts +1 -1
- package/buildLibs/utils/Element/ClEllipsis.js +1 -1
- package/buildLibs/utils/Element/ClEmpty.d.ts +1 -1
- package/buildLibs/utils/Element/ClForm.cjs +1 -1
- package/buildLibs/utils/Element/ClForm.d.ts +1 -1
- package/buildLibs/utils/Element/ClForm.js +1 -1
- package/buildLibs/utils/Element/ClFormGroupBtns.cjs +1 -1
- package/buildLibs/utils/Element/ClFormGroupBtns.d.ts +1 -1
- package/buildLibs/utils/Element/ClFormGroupBtns.js +1 -1
- package/buildLibs/utils/Element/ClFormGroupHorizontal.cjs +1 -1
- package/buildLibs/utils/Element/ClFormGroupHorizontal.d.ts +1 -1
- package/buildLibs/utils/Element/ClFormGroupHorizontal.js +1 -1
- package/buildLibs/utils/Element/ClFormGroupVertical.d.ts +1 -1
- package/buildLibs/utils/Element/ClFormValidate.cjs +1 -1
- package/buildLibs/utils/Element/ClFormValidate.d.ts +1 -1
- package/buildLibs/utils/Element/ClFormValidate.js +1 -1
- package/buildLibs/utils/Element/ClIconFont.cjs +1 -1
- package/buildLibs/utils/Element/ClIconFont.d.ts +1 -1
- package/buildLibs/utils/Element/ClIconFont.js +1 -1
- package/buildLibs/utils/Element/ClImage.cjs +1 -1
- package/buildLibs/utils/Element/ClImage.d.ts +1 -1
- package/buildLibs/utils/Element/ClImage.js +1 -1
- package/buildLibs/utils/Element/ClInput.cjs +1 -1
- package/buildLibs/utils/Element/ClInput.d.ts +1 -1
- package/buildLibs/utils/Element/ClInput.js +1 -1
- package/buildLibs/utils/Element/ClInputCaptcha.cjs +1 -1
- package/buildLibs/utils/Element/ClInputCaptcha.d.ts +1 -1
- package/buildLibs/utils/Element/ClInputCaptcha.js +2 -2
- package/buildLibs/utils/Element/ClInputNumber.cjs +1 -1
- package/buildLibs/utils/Element/ClInputNumber.d.ts +1 -1
- package/buildLibs/utils/Element/ClInputNumber.js +1 -1
- package/buildLibs/utils/Element/ClInputNumberStepper.cjs +1 -1
- package/buildLibs/utils/Element/ClInputNumberStepper.d.ts +1 -1
- package/buildLibs/utils/Element/ClInputNumberStepper.js +1 -1
- package/buildLibs/utils/Element/ClInputPassword.cjs +1 -1
- package/buildLibs/utils/Element/ClInputPassword.d.ts +1 -1
- package/buildLibs/utils/Element/ClInputPassword.js +2 -2
- package/buildLibs/utils/Element/ClInputSearch.cjs +1 -1
- package/buildLibs/utils/Element/ClInputSearch.d.ts +1 -1
- package/buildLibs/utils/Element/ClInputSearch.js +1 -1
- package/buildLibs/utils/Element/ClInputTextarea.cjs +1 -1
- package/buildLibs/utils/Element/ClInputTextarea.d.ts +1 -1
- package/buildLibs/utils/Element/ClInputTextarea.js +1 -1
- package/buildLibs/utils/Element/ClLink.cjs +1 -1
- package/buildLibs/utils/Element/ClLink.d.ts +1 -1
- package/buildLibs/utils/Element/ClLink.js +1 -1
- package/buildLibs/utils/Element/ClLoad.cjs +1 -1
- package/buildLibs/utils/Element/ClLoad.d.ts +1 -1
- package/buildLibs/utils/Element/ClLoad.js +1 -1
- package/buildLibs/utils/Element/ClLoadFullCenter.cjs +1 -1
- package/buildLibs/utils/Element/ClLoadFullCenter.d.ts +1 -1
- package/buildLibs/utils/Element/ClLoadFullCenter.js +2 -2
- package/buildLibs/utils/Element/ClLoadIng.cjs +1 -1
- package/buildLibs/utils/Element/ClLoadIng.d.ts +1 -1
- package/buildLibs/utils/Element/ClLoadIng.js +1 -1
- package/buildLibs/utils/Element/ClLoadScreen.cjs +1 -1
- package/buildLibs/utils/Element/ClLoadScreen.d.ts +1 -1
- package/buildLibs/utils/Element/ClLoadScreen.js +2 -72
- package/buildLibs/utils/Element/ClLoadWarp.cjs +1 -1
- package/buildLibs/utils/Element/ClLoadWarp.d.ts +1 -1
- package/buildLibs/utils/Element/ClLoadWarp.js +1 -1
- package/buildLibs/utils/Element/ClModal.cjs +1 -1
- package/buildLibs/utils/Element/ClModal.d.ts +1 -1
- package/buildLibs/utils/Element/ClModal.js +1 -1
- package/buildLibs/utils/Element/ClNumberRoll.d.ts +1 -1
- package/buildLibs/utils/Element/ClOverlay.cjs +1 -1
- package/buildLibs/utils/Element/ClOverlay.d.ts +1 -1
- package/buildLibs/utils/Element/ClOverlay.js +1 -1
- package/buildLibs/utils/Element/ClProgress.cjs +1 -1
- package/buildLibs/utils/Element/ClProgress.d.ts +1 -1
- package/buildLibs/utils/Element/ClProgress.js +1 -1
- package/buildLibs/utils/Element/ClRadio.cjs +1 -1
- package/buildLibs/utils/Element/ClRadio.d.ts +1 -1
- package/buildLibs/utils/Element/ClRadio.js +1 -1
- package/buildLibs/utils/Element/ClRadioOne.cjs +1 -1
- package/buildLibs/utils/Element/ClRadioOne.d.ts +1 -1
- package/buildLibs/utils/Element/ClRadioOne.js +1 -1
- package/buildLibs/utils/Element/ClSlider.cjs +1 -1
- package/buildLibs/utils/Element/ClSlider.d.ts +1 -1
- package/buildLibs/utils/Element/ClSlider.js +1 -1
- package/buildLibs/utils/Element/ClSwitchery.cjs +1 -1
- package/buildLibs/utils/Element/ClSwitchery.d.ts +1 -1
- package/buildLibs/utils/Element/ClSwitchery.js +2 -2
- package/buildLibs/utils/Element/ClTags.cjs +1 -1
- package/buildLibs/utils/Element/ClTags.d.ts +1 -1
- package/buildLibs/utils/Element/ClTags.js +1 -1
- package/buildLibs/utils/Element/ClTransitionSlideUpDown.d.ts +1 -1
- package/buildLibs/utils/Element/ClWaterfall.d.ts +1 -1
- package/buildLibs/utils/Element/ClWaterfallImage.cjs +1 -1
- package/buildLibs/utils/Element/ClWaterfallImage.d.ts +1 -1
- package/buildLibs/utils/Element/ClWaterfallImage.js +2 -2
- package/buildLibs/utils/Element/__directive__/LazyImage.cjs +1 -0
- package/buildLibs/utils/Element/__directive__/LazyImage.d.ts +1 -0
- package/buildLibs/utils/Element/__directive__/LazyImage.js +6 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.cjs +1 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.d.ts +1 -0
- package/buildLibs/utils/Element/__provide__/Clipboard.js +37 -0
- package/buildLibs/utils/Element/__provide__/LanguagePack.cjs +1 -0
- package/buildLibs/utils/Element/__provide__/LanguagePack.d.ts +1 -0
- package/buildLibs/utils/Element/__provide__/LanguagePack.js +28 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.cjs +1 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.d.ts +1 -0
- package/buildLibs/utils/Element/__provide__/LoadScreen.js +23 -0
- package/buildLibs/utils/Element/__provide__/Validate.cjs +1 -0
- package/buildLibs/utils/Element/__provide__/Validate.d.ts +1 -0
- package/buildLibs/utils/Element/__provide__/Validate.js +104 -0
- package/buildLibs/utils/Element/installCommon.cjs +1 -0
- package/buildLibs/utils/Element/installCommon.d.ts +1 -0
- package/buildLibs/utils/Element/installCommon.js +24 -0
- package/buildLibs/utils/Mobile/ClActionSheet.cjs +1 -1
- package/buildLibs/utils/Mobile/ClActionSheet.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClActionSheet.js +3 -3
- package/buildLibs/utils/Mobile/ClBackTop.cjs +1 -1
- package/buildLibs/utils/Mobile/ClBackTop.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClBackTop.js +2 -2
- package/buildLibs/utils/Mobile/ClBanner.cjs +1 -1
- package/buildLibs/utils/Mobile/ClBanner.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClBanner.js +3 -3
- package/buildLibs/utils/Mobile/ClCalendarM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClCalendarM.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClCalendarM.js +4 -4
- package/buildLibs/utils/Mobile/ClCell.cjs +1 -1
- package/buildLibs/utils/Mobile/ClCell.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClCell.js +2 -2
- package/buildLibs/utils/Mobile/ClCellSwipe.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClCodeLegendM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClCodeLegendM.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClCodeLegendM.js +2 -2
- package/buildLibs/utils/Mobile/ClCropperM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClCropperM.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClCropperM.js +4 -4
- package/buildLibs/utils/Mobile/ClDropdownMenuM.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.cjs +1 -1
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClDropdownMenuMItem.js +3 -3
- package/buildLibs/utils/Mobile/ClFloatBubble.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClFloatPanel.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClGrid.cjs +1 -1
- package/buildLibs/utils/Mobile/ClGrid.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClGrid.js +1 -1
- package/buildLibs/utils/Mobile/ClIndexBar.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClInputPin.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClNavBar.cjs +1 -1
- package/buildLibs/utils/Mobile/ClNavBar.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClNavBar.js +1 -1
- package/buildLibs/utils/Mobile/ClNoticeBar.cjs +1 -1
- package/buildLibs/utils/Mobile/ClNoticeBar.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClNoticeBar.js +1 -1
- package/buildLibs/utils/Mobile/ClNotifyM.cjs +1 -1
- package/buildLibs/utils/Mobile/ClNotifyM.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClNotifyM.js +1 -1
- package/buildLibs/utils/Mobile/ClNumberKeyboard.cjs +1 -1
- package/buildLibs/utils/Mobile/ClNumberKeyboard.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClNumberKeyboard.js +2 -2
- package/buildLibs/utils/Mobile/ClPicker.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPicker.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClPicker.js +1 -1
- package/buildLibs/utils/Mobile/ClPickerArea.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPickerArea.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClPickerArea.js +1 -1
- package/buildLibs/utils/Mobile/ClPickerCascader.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPickerCascader.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClPickerCascader.js +2 -2
- package/buildLibs/utils/Mobile/ClPickerDate.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPickerDate.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClPickerDate.js +2 -2
- package/buildLibs/utils/Mobile/ClPickerTime.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPickerTime.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClPickerTime.js +2 -2
- package/buildLibs/utils/Mobile/ClPopup.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPopup.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClPopup.js +1 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.cjs +1 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClPullToRefresh.js +1 -1
- package/buildLibs/utils/Mobile/ClRate.cjs +1 -1
- package/buildLibs/utils/Mobile/ClRate.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClRate.js +2 -2
- package/buildLibs/utils/Mobile/ClScrollCard.cjs +1 -1
- package/buildLibs/utils/Mobile/ClScrollCard.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClScrollCard.js +3 -3
- package/buildLibs/utils/Mobile/ClSharePanel.cjs +1 -1
- package/buildLibs/utils/Mobile/ClSharePanel.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClSharePanel.js +2 -2
- package/buildLibs/utils/Mobile/ClSidebar.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClSidebarSelect.cjs +1 -1
- package/buildLibs/utils/Mobile/ClSidebarSelect.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClSidebarSelect.js +1 -1
- package/buildLibs/utils/Mobile/ClSignature.cjs +1 -1
- package/buildLibs/utils/Mobile/ClSignature.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClSignature.js +1 -1
- package/buildLibs/utils/Mobile/ClSteps.cjs +1 -1
- package/buildLibs/utils/Mobile/ClSteps.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClSteps.js +1 -1
- package/buildLibs/utils/Mobile/ClSwipe.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClTabM.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClTabbar.cjs +1 -1
- package/buildLibs/utils/Mobile/ClTabbar.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClTabbar.js +2 -2
- package/buildLibs/utils/Mobile/ClTextHighlight.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClToast.cjs +1 -1
- package/buildLibs/utils/Mobile/ClToast.d.ts +1 -1
- package/buildLibs/utils/Mobile/ClToast.js +1 -1
- package/buildLibs/utils/Mobile/ClWatermark.d.ts +1 -1
- package/buildLibs/utils/Mobile/__provide__/NotifyM.cjs +1 -1
- package/buildLibs/utils/Mobile/__provide__/NotifyM.d.ts +1 -1
- package/buildLibs/utils/Mobile/__provide__/NotifyM.js +11 -11
- package/buildLibs/utils/Mobile/__provide__/Toast.cjs +1 -1
- package/buildLibs/utils/Mobile/__provide__/Toast.d.ts +1 -1
- package/buildLibs/utils/Mobile/__provide__/Toast.js +17 -17
- package/buildLibs/utils/Shared/{Base.vue_vue_type_script_setup_true_lang-5_vbZ_4R.js → Base.vue_vue_type_script_setup_true_lang-Dl0UiFuI.js} +1 -1
- package/buildLibs/utils/Shared/{Base.vue_vue_type_script_setup_true_lang-BReU8HHD.js → Base.vue_vue_type_script_setup_true_lang-Dn7s_GGz.js} +1 -1
- package/buildLibs/utils/Shared/{BaseTransition.vue_vue_type_script_setup_true_lang-CmETUA__.js → BaseTransition.vue_vue_type_script_setup_true_lang-DA34fqR6.js} +1 -1
- package/buildLibs/utils/Shared/{BaseTransition.vue_vue_type_script_setup_true_lang-D4VcdHQo.js → BaseTransition.vue_vue_type_script_setup_true_lang-I6J8vBkR.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BJuly3Dc.js → Index.vue_vue_type_script_setup_true_lang-2ZL3h4ke.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-yQG3rOxU.js → Index.vue_vue_type_script_setup_true_lang-B2xxe-gj.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BTikeo7T.js → Index.vue_vue_type_script_setup_true_lang-B4wLYUS7.js} +5 -5
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B-LBJS_U.js → Index.vue_vue_type_script_setup_true_lang-B6aiJ0T_.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-d8FRnWoo.js → Index.vue_vue_type_script_setup_true_lang-B6mrwacu.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BC8lIalF.js +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BKNG_Cdl.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CPwtuGiA.js → Index.vue_vue_type_script_setup_true_lang-BKrRiRoF.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D53FO2PF.js → Index.vue_vue_type_script_setup_true_lang-BPu2Wq9y.js} +2 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BQwt39eR.js +120 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BXQl9ZJr.js → Index.vue_vue_type_script_setup_true_lang-BXWa903T.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DsTDQ4p-.js → Index.vue_vue_type_script_setup_true_lang-BZ0pwI22.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-WePMnXeI.js → Index.vue_vue_type_script_setup_true_lang-Bbk1BxEq.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BahSP_of.js → Index.vue_vue_type_script_setup_true_lang-BeY40OpW.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BRyvdWb7.js → Index.vue_vue_type_script_setup_true_lang-Bfji2Whf.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BppPP2_o.js → Index.vue_vue_type_script_setup_true_lang-Bj0lKDBR.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-SE1_-Y3D.js → Index.vue_vue_type_script_setup_true_lang-BnFtwIqC.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BLr46kTp.js → Index.vue_vue_type_script_setup_true_lang-Br1jq8i6.js} +6 -6
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DiFMOo2n.js → Index.vue_vue_type_script_setup_true_lang-BtlpTQO-.js} +8 -8
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DBEuF9lY.js → Index.vue_vue_type_script_setup_true_lang-BuEtcpnj.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Butq4gj-.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DlaLkFjd.js → Index.vue_vue_type_script_setup_true_lang-ByrpuVbR.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BO2XU-fq.js → Index.vue_vue_type_script_setup_true_lang-Bz0g83T6.js} +2 -2
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-BzhSu_r3.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DTnllTwD.js → Index.vue_vue_type_script_setup_true_lang-BzuiaXQe.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B-K0phQ2.js → Index.vue_vue_type_script_setup_true_lang-C52WPuaY.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CIky1_fS.js → Index.vue_vue_type_script_setup_true_lang-C7M_3HR0.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BFq7G64T.js → Index.vue_vue_type_script_setup_true_lang-CCor2Ugz.js} +3 -3
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B2cccX6M.js → Index.vue_vue_type_script_setup_true_lang-CFen6ULY.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNLr4FbS.js +1 -0
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CNoHvb2F.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-08Gdtb7o.js → Index.vue_vue_type_script_setup_true_lang-CUq-x89X.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-COprcd8r.js → Index.vue_vue_type_script_setup_true_lang-Ch6eF_cp.js} +2 -2
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-PraAnYLk.js → Index.vue_vue_type_script_setup_true_lang-ChmL4TJs.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D15_sdie.js → Index.vue_vue_type_script_setup_true_lang-Cl7fkQ6_.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BLoX4k7J.js → Index.vue_vue_type_script_setup_true_lang-CumsUcci.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CSt6K9AQ.js → Index.vue_vue_type_script_setup_true_lang-D4PQKd5b.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bn3f-2m-.js → Index.vue_vue_type_script_setup_true_lang-D6yVZJvt.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DjwVdgdl.js → Index.vue_vue_type_script_setup_true_lang-D7M1S5lI.js} +279 -278
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-0xVPFBUW.js → Index.vue_vue_type_script_setup_true_lang-DFppMubk.js} +7 -6
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cm8_ZNJ7.js → Index.vue_vue_type_script_setup_true_lang-DJYEGSnc.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-b4R4PHf0.js → Index.vue_vue_type_script_setup_true_lang-DK0hs8bb.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DNjo2kbg.js +74 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CQVg87mD.js → Index.vue_vue_type_script_setup_true_lang-DQBa9Pny.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Bd56L0m6.js → Index.vue_vue_type_script_setup_true_lang-DQmXTEq-.js} +3 -3
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BhGGH7ms.js → Index.vue_vue_type_script_setup_true_lang-DX9SitGp.js} +11 -11
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DAuZLHen.js → Index.vue_vue_type_script_setup_true_lang-D_GsoOLm.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-M72THnHz.js → Index.vue_vue_type_script_setup_true_lang-DfHi5Zuv.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B5MSug5Q.js → Index.vue_vue_type_script_setup_true_lang-DfvtkXRU.js} +4 -4
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CgNMWZqs.js → Index.vue_vue_type_script_setup_true_lang-DjeTtNM6.js} +34 -34
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B2kyuq50.js → Index.vue_vue_type_script_setup_true_lang-DmeDtJvz.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dnw-Opme.js → Index.vue_vue_type_script_setup_true_lang-Dn63CT7W.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-bKzsLLvg.js → Index.vue_vue_type_script_setup_true_lang-DuZNkaR0.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-EG5hgxoY.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B9xISM7N.js → Index.vue_vue_type_script_setup_true_lang-RBYo7N7Z.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CtBOIjdU.js → Index.vue_vue_type_script_setup_true_lang-_F9J4-Q1.js} +4 -4
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DZSulESm.js → Index.vue_vue_type_script_setup_true_lang-_jJNPocq.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B0NaQAuE.js → Index.vue_vue_type_script_setup_true_lang-bYE_Eer4.js} +3 -3
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cx56SGXr.js → Index.vue_vue_type_script_setup_true_lang-bybpF3my.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BRJ2Ll2r.js → Index.vue_vue_type_script_setup_true_lang-c085vJ-u.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-qOys54ns.js → Index.vue_vue_type_script_setup_true_lang-ef-Lbwxl.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CnLyIXBs.js → Index.vue_vue_type_script_setup_true_lang-f6va8eHF.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dq-sCBRz.js → Index.vue_vue_type_script_setup_true_lang-fgqA2nof.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-8-8svPDH.js → Index.vue_vue_type_script_setup_true_lang-gR6txSCA.js} +1 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-jyymIwdR.js +1 -0
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-K7pBVuwe.js → Index.vue_vue_type_script_setup_true_lang-tmqr2c2p.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BxWYROZH.js → Index.vue_vue_type_script_setup_true_lang-wPTIA5Lr.js} +1 -1
- package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BAUA1fQJ.js → Index.vue_vue_type_script_setup_true_lang-xW9nixd_.js} +1 -1
- 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/Index19.css +1 -1
- package/buildLibs/utils/Shared/Index20.css +1 -1
- package/buildLibs/utils/Shared/Index21.css +1 -1
- package/buildLibs/utils/Shared/Index22.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/Index39.css +1 -0
- package/buildLibs/utils/Shared/Index4.css +1 -1
- package/buildLibs/utils/Shared/Index40.css +1 -0
- package/buildLibs/utils/Shared/Index41.css +1 -0
- package/buildLibs/utils/Shared/Index5.css +1 -1
- package/buildLibs/utils/Shared/Index6.css +1 -1
- package/buildLibs/utils/Shared/Index7.css +1 -1
- package/buildLibs/utils/Shared/Index8.css +1 -1
- package/buildLibs/utils/Shared/Index9.css +1 -1
- package/buildLibs/utils/Shared/{Ing.vue_vue_type_script_setup_true_lang-DPFunPx2.js → Ing.vue_vue_type_script_setup_true_lang-CGFlREiD.js} +1 -1
- package/buildLibs/utils/Shared/{Ing.vue_vue_type_script_setup_true_lang-Zb0-4POE.js → Ing.vue_vue_type_script_setup_true_lang-CXLxBRdP.js} +1 -1
- package/buildLibs/utils/Shared/{List.vue_vue_type_script_setup_true_lang-BLgui2Zv.js → List.vue_vue_type_script_setup_true_lang-0EtOdp73.js} +3 -3
- package/buildLibs/utils/Shared/{List.vue_vue_type_script_setup_true_lang-DJAqJJnH.js → List.vue_vue_type_script_setup_true_lang-G2klceWn.js} +1 -1
- package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-BRIVGray.js → One.vue_vue_type_script_setup_true_lang-CLUQLstT.js} +2 -2
- package/buildLibs/utils/Shared/{One.vue_vue_type_script_setup_true_lang-Du9X7x9H.js → One.vue_vue_type_script_setup_true_lang-CREhY2it.js} +2 -2
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-D89MNwcx.js +1 -0
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-_Oip87Q5.js +1 -0
- package/buildLibs/utils/Shared/{Popup.vue_vue_type_script_setup_true_lang-d2TT0lCU.js → Popup.vue_vue_type_script_setup_true_lang-B1FPgy2w.js} +1 -1
- package/buildLibs/utils/Shared/{Popup.vue_vue_type_script_setup_true_lang-hfNlyh_i.js → Popup.vue_vue_type_script_setup_true_lang-lq2pb7vN.js} +2 -2
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-BwcOP-Dw.js +321 -0
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-iQhIBpru.js +1 -0
- package/buildLibs/utils/Shared/core-C6MTnOZl.js +17 -0
- package/buildLibs/utils/Shared/core-DkTnn6Hr.js +1 -0
- package/buildLibs/utils/Shared/globalConfig-BjG8BDet.js +1 -0
- package/buildLibs/utils/Shared/globalConfig-C5mivGXK.js +20 -0
- package/buildLibs/utils/Shared/index-BHXq3tfy.js +1 -0
- package/buildLibs/utils/Shared/{language-pMmux6Js.js → index-BIzRLXG5.js} +44 -151
- package/buildLibs/utils/Shared/index-C2go56jd.js +1 -0
- package/buildLibs/utils/Shared/index-CH1kcNPT.js +23 -0
- package/buildLibs/utils/Shared/index-CZoT585K.js +1 -0
- package/buildLibs/utils/Shared/index-CmFWmRVX.js +1 -0
- package/buildLibs/utils/Shared/index-CmQXtjeZ.js +370 -0
- package/buildLibs/utils/Shared/index-CtGhbcyx.js +1 -0
- package/buildLibs/utils/Shared/index-DDMSc-Kb.js +59 -0
- package/buildLibs/utils/Shared/index-DOlH83KS.js +19 -0
- package/buildLibs/utils/Shared/index-Dc_m9J6h.js +1 -0
- package/buildLibs/utils/Shared/index-DoxFaAkn.js +420 -0
- package/buildLibs/utils/Shared/language-BaLIp7bA.js +111 -0
- package/buildLibs/utils/Shared/language-CBZjQ9dC.js +1 -0
- package/buildLibs/utils/Shared/{use-CRdlCpEV.js → lazy-BnJvXuIy.js} +34 -47
- package/buildLibs/utils/Shared/lazy-CkM9Gsf2.js +1 -0
- package/buildLibs/utils/Shared/{log-BbLqiWNM.js → log-CSNil8va.js} +1 -1
- package/buildLibs/utils/Shared/{log-C2ZbqiAV.js → log-gqSePaMZ.js} +1 -1
- package/buildLibs/utils/Shared/use-BDiunhgx.js +1 -0
- package/buildLibs/utils/Shared/use-DJuwo6MI.js +17 -0
- package/buildLibs/utils/Web/ClAnchorNav.cjs +1 -1
- package/buildLibs/utils/Web/ClAnchorNav.d.ts +1 -1
- package/buildLibs/utils/Web/ClAnchorNav.js +2 -2
- package/buildLibs/utils/Web/ClCalendar.cjs +1 -1
- package/buildLibs/utils/Web/ClCalendar.d.ts +1 -1
- package/buildLibs/utils/Web/ClCalendar.js +4 -4
- package/buildLibs/utils/Web/ClCodeLegend.cjs +1 -1
- package/buildLibs/utils/Web/ClCodeLegend.d.ts +1 -1
- package/buildLibs/utils/Web/ClCodeLegend.js +2 -2
- package/buildLibs/utils/Web/ClColorPicker.cjs +1 -1
- package/buildLibs/utils/Web/ClColorPicker.d.ts +1 -1
- package/buildLibs/utils/Web/ClColorPicker.js +5 -5
- package/buildLibs/utils/Web/ClCropper.cjs +1 -1
- package/buildLibs/utils/Web/ClCropper.d.ts +1 -1
- package/buildLibs/utils/Web/ClCropper.js +1 -1
- package/buildLibs/utils/Web/ClCropperPreview.cjs +1 -1
- package/buildLibs/utils/Web/ClCropperPreview.d.ts +1 -1
- package/buildLibs/utils/Web/ClCropperPreview.js +5 -5
- package/buildLibs/utils/Web/ClDateTime.cjs +1 -1
- package/buildLibs/utils/Web/ClDateTime.d.ts +1 -1
- package/buildLibs/utils/Web/ClDateTime.js +1 -1
- package/buildLibs/utils/Web/ClDropdownMenu.cjs +1 -1
- package/buildLibs/utils/Web/ClDropdownMenu.d.ts +1 -1
- package/buildLibs/utils/Web/ClDropdownMenu.js +2 -2
- package/buildLibs/utils/Web/ClDropdownMenuItem.cjs +1 -1
- package/buildLibs/utils/Web/ClDropdownMenuItem.d.ts +1 -1
- package/buildLibs/utils/Web/ClDropdownMenuItem.js +1 -1
- package/buildLibs/utils/Web/ClDropdownPopup.cjs +1 -1
- package/buildLibs/utils/Web/ClDropdownPopup.d.ts +1 -1
- package/buildLibs/utils/Web/ClDropdownPopup.js +2 -2
- package/buildLibs/utils/Web/ClEcharts.cjs +1 -1
- package/buildLibs/utils/Web/ClEcharts.d.ts +1 -1
- package/buildLibs/utils/Web/ClEcharts.js +1 -1
- package/buildLibs/utils/Web/ClEchartsLineAxisTag.cjs +1 -1
- package/buildLibs/utils/Web/ClEchartsLineAxisTag.d.ts +1 -1
- package/buildLibs/utils/Web/ClEchartsLineAxisTag.js +2 -2
- package/buildLibs/utils/Web/ClFileUpload.cjs +1 -1
- package/buildLibs/utils/Web/ClFileUpload.d.ts +1 -1
- package/buildLibs/utils/Web/ClFileUpload.js +1 -1
- package/buildLibs/utils/Web/ClFramePhone.d.ts +1 -1
- package/buildLibs/utils/Web/ClInputTag.cjs +1 -1
- package/buildLibs/utils/Web/ClInputTag.d.ts +1 -1
- package/buildLibs/utils/Web/ClInputTag.js +1 -1
- package/buildLibs/utils/Web/ClPaginate.cjs +1 -1
- package/buildLibs/utils/Web/ClPaginate.d.ts +1 -1
- package/buildLibs/utils/Web/ClPaginate.js +1 -1
- package/buildLibs/utils/Web/ClPortlet.d.ts +1 -1
- package/buildLibs/utils/Web/ClPreviewExample.cjs +1 -1
- package/buildLibs/utils/Web/ClPreviewExample.d.ts +1 -1
- package/buildLibs/utils/Web/ClPreviewExample.js +1 -1
- package/buildLibs/utils/Web/ClScrollXFence.cjs +1 -1
- package/buildLibs/utils/Web/ClScrollXFence.d.ts +1 -1
- package/buildLibs/utils/Web/ClScrollXFence.js +1 -1
- package/buildLibs/utils/Web/ClSelect.cjs +1 -1
- package/buildLibs/utils/Web/ClSelect.d.ts +1 -1
- package/buildLibs/utils/Web/ClSelect.js +1 -1
- package/buildLibs/utils/Web/ClSelectCascade.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectCascade.d.ts +1 -1
- package/buildLibs/utils/Web/ClSelectCascade.js +1 -1
- package/buildLibs/utils/Web/ClSelectMove.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectMove.d.ts +1 -1
- package/buildLibs/utils/Web/ClSelectMove.js +7 -7
- package/buildLibs/utils/Web/ClSelectTag.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectTag.d.ts +1 -1
- package/buildLibs/utils/Web/ClSelectTag.js +1 -1
- package/buildLibs/utils/Web/ClSelectTree.cjs +1 -1
- package/buildLibs/utils/Web/ClSelectTree.d.ts +1 -1
- package/buildLibs/utils/Web/ClSelectTree.js +4 -4
- package/buildLibs/utils/Web/ClSideMenu.cjs +1 -1
- package/buildLibs/utils/Web/ClSideMenu.d.ts +1 -1
- package/buildLibs/utils/Web/ClSideMenu.js +2 -2
- package/buildLibs/utils/Web/ClTable.cjs +1 -1
- package/buildLibs/utils/Web/ClTable.d.ts +1 -1
- package/buildLibs/utils/Web/ClTable.js +10 -10
- package/buildLibs/utils/Web/ClTableEdit.d.ts +1 -1
- package/buildLibs/utils/Web/ClTableSimple.d.ts +1 -1
- package/buildLibs/utils/Web/ClTabs.cjs +1 -1
- package/buildLibs/utils/Web/ClTabs.d.ts +1 -1
- package/buildLibs/utils/Web/ClTabs.js +3 -3
- package/buildLibs/utils/Web/ClTree.cjs +1 -1
- package/buildLibs/utils/Web/ClTree.d.ts +1 -1
- package/buildLibs/utils/Web/ClTree.js +1 -1
- package/buildLibs/utils/Web/ClWeekHour.cjs +1 -1
- package/buildLibs/utils/Web/ClWeekHour.d.ts +1 -1
- package/buildLibs/utils/Web/ClWeekHour.js +3 -3
- package/buildLibs/utils/Web/ClXEditable.cjs +1 -1
- package/buildLibs/utils/Web/ClXEditable.d.ts +1 -1
- package/buildLibs/utils/Web/ClXEditable.js +19 -19
- package/buildLibs/utils/Web/__directive__/CodeHighlight.cjs +1 -1
- package/buildLibs/utils/Web/__directive__/CodeHighlight.js +3 -16
- package/buildLibs/utils/Web/__directive__/Tooltip.cjs +1 -1
- package/buildLibs/utils/Web/__directive__/Tooltip.js +6 -410
- package/buildLibs/utils/Web/__directive__/Waves.cjs +1 -1
- package/buildLibs/utils/Web/__directive__/Waves.js +4 -51
- package/buildLibs/utils/Web/__provide__/Alert.cjs +1 -1
- package/buildLibs/utils/Web/__provide__/Alert.d.ts +1 -1
- package/buildLibs/utils/Web/__provide__/Alert.js +39 -39
- package/buildLibs/utils/Web/__provide__/Notify.cjs +1 -1
- package/buildLibs/utils/Web/__provide__/Notify.d.ts +1 -1
- package/buildLibs/utils/Web/__provide__/Notify.js +8 -8
- package/buildLibs/utils/Web/__provide__/Preview.cjs +1 -1
- package/buildLibs/utils/Web/__provide__/Preview.d.ts +1 -1
- package/buildLibs/utils/Web/__provide__/Preview.js +8 -365
- package/buildLibs/utils/core/all.cjs +1 -0
- package/buildLibs/utils/core/all.js +7 -0
- package/buildLibs/utils/core/mobile.cjs +1 -0
- package/buildLibs/utils/core/mobile.js +14 -0
- package/buildLibs/utils/core/web.cjs +1 -0
- package/buildLibs/utils/core/web.js +26 -0
- package/buildLibs/web/{BallColor4-Bk0PbmjR.js → BallColor4-CGz84e-8.js} +1 -1
- package/buildLibs/{mobile/BallColor4-C7lQaABY.cjs → web/BallColor4-DsHSwHqh.cjs} +1 -1
- package/buildLibs/{mobile/ToastRing-ZSOlED5s.js → web/ToastRing-D7GSFx_o.js} +1 -1
- package/buildLibs/{all/ToastRing-DqiGLTLN.cjs → web/ToastRing-DyynyXeD.cjs} +1 -1
- package/buildLibs/web/{Video-7bB5a3gv.cjs → Video-DbKxr-i7.cjs} +1 -1
- package/buildLibs/web/{Video-D36W46Pk.js → Video-b6MvLQBG.js} +1 -1
- package/buildLibs/web/{index-jOBQ0InH.cjs → index-By7v49Ku.cjs} +4 -4
- package/buildLibs/web/{index-ai_LrIsJ.js → index-CJJp0mfH.js} +120 -112
- package/buildLibs/web/index.cjs +1 -1
- package/buildLibs/web/index.js +1 -1
- package/docs/tools/CommonBrowserProgress.md +39 -0
- package/docs/tools/CommonGlobalConfig.md +46 -0
- package/docs/tools/clLog.md +39 -0
- package/docs/tools/globalTypes.md +43 -0
- package/package.json +42 -1
- package/buildLibs/common/Common/Element/Event/drag.d.ts +0 -30
- package/buildLibs/common/Common/Element/Event/index.d.ts +0 -9
- package/buildLibs/common/Common/Element/Event/resize.d.ts +0 -20
- package/buildLibs/common/Common/Element/index.d.ts +0 -111
- package/buildLibs/common/Common/Tools/animateEasing.d.ts +0 -27
- package/buildLibs/common/Common/Tools/cookie.d.ts +0 -8
- package/buildLibs/common/Common/Tools/delayFun.d.ts +0 -9
- package/buildLibs/common/Common/Tools/device.d.ts +0 -33
- package/buildLibs/common/Common/Tools/index.d.ts +0 -18
- package/buildLibs/common/Common/Tools/localStorage.d.ts +0 -9
- package/buildLibs/common/Common/Tools/number.d.ts +0 -9
- package/buildLibs/common/Common/axios.d.ts +0 -28
- package/buildLibs/common/Common/base.d.ts +0 -233
- package/buildLibs/common/Common/browserProgress.d.ts +0 -26
- package/buildLibs/common/Common/day.d.ts +0 -30
- package/buildLibs/common/Common/echart.d.ts +0 -91
- package/buildLibs/common/Common/globalConfig.d.ts +0 -28
- package/buildLibs/common/Common/globalTypes.d.ts +0 -88
- package/buildLibs/common/Common/i18n/a11y.d.ts +0 -62
- package/buildLibs/common/Common/i18n/en.d.ts +0 -112
- package/buildLibs/common/Common/i18n/index.d.ts +0 -25
- package/buildLibs/common/Common/i18n/zh_CN.d.ts +0 -112
- package/buildLibs/common/Common/index.d.ts +0 -13
- package/buildLibs/common/Common/log.d.ts +0 -7
- package/buildLibs/common/Common/promise.d.ts +0 -14
- package/buildLibs/common/Common/tooltip.d.ts +0 -40
- package/buildLibs/common/browserProgress.css +0 -1
- package/buildLibs/modules/shared/Validate.vue_vue_type_script_setup_true_lang-FZ6qiA6w.js +0 -411
- package/buildLibs/utils/Element/ClLoadScreen.css +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CDslbo4h.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-CFNQBTiQ.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D4BokTL9.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-D8TDafMl.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DYj0GzN0.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-DtTJLC6m.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-Gp7OJJx5.js +0 -1
- package/buildLibs/utils/Shared/Index.vue_vue_type_script_setup_true_lang-oFF20mhc.js +0 -152
- package/buildLibs/utils/Shared/Index2.css +0 -1
- package/buildLibs/utils/Shared/Index3.css +0 -1
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BC8yzPg5.js +0 -1
- package/buildLibs/utils/Shared/One.vue_vue_type_script_setup_true_lang-BKTdt1M7.js +0 -1
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-DidPD12P.js +0 -411
- package/buildLibs/utils/Shared/Validate.vue_vue_type_script_setup_true_lang-DyOZ5QGN.js +0 -1
- package/buildLibs/utils/Shared/globalConfig-D1-9RCQO.js +0 -5
- package/buildLibs/utils/Shared/globalConfig-vNEDVL2C.js +0 -1
- package/buildLibs/utils/Shared/language-Q4AGYtUe.js +0 -1
- package/buildLibs/utils/Shared/use-BBpYjALT.js +0 -1
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DlFdXr6k.js → Index.vue_vue_type_script_setup_true_lang-BGGMHKo2.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-0GHFohjQ.js → Index.vue_vue_type_script_setup_true_lang-BHonqwfb.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-afRTRRcb.js → Index.vue_vue_type_script_setup_true_lang-BmRO42R2.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BbxnIsLt.js → Index.vue_vue_type_script_setup_true_lang-BwZ2C-6b.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Dyo4Sh1B.js → Index.vue_vue_type_script_setup_true_lang-D5_ktvRf.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js → Index.vue_vue_type_script_setup_true_lang-DU1H_1lY.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C242QFDV.js → Index.vue_vue_type_script_setup_true_lang-Db7kCHWV.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-D3h6Q_pB.js → Index.vue_vue_type_script_setup_true_lang-DfJX3uyy.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-Cb49VSDS.js → Index.vue_vue_type_script_setup_true_lang-DyBY0DG5.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CyYCIkzr.js → Index.vue_vue_type_script_setup_true_lang-KKIG3pkE.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-DQBXyVuV.js → Index.vue_vue_type_script_setup_true_lang-cceO6cqW.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-C1Z3g7mN.js → Index.vue_vue_type_script_setup_true_lang-hGx0sqwu.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-CAEbDVL3.js → Index.vue_vue_type_script_setup_true_lang-p_9-WY4K.js} +0 -0
- /package/buildLibs/utils/Shared/{Index.vue_vue_type_script_setup_true_lang-BsE_zUs_.js → Index.vue_vue_type_script_setup_true_lang-vm_cblnn.js} +0 -0
- /package/buildLibs/utils/Shared/{Waves.css → index2.css} +0 -0
- /package/buildLibs/utils/Shared/{Tooltip.css → index3.css} +0 -0
- /package/buildLibs/utils/Shared/{Preview.css → index42.css} +0 -0
- /package/buildLibs/utils/Shared/{index39.css → index43.css} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),A=require("../Shared/log-C2ZbqiAV.js"),n=require("../Shared/base-DbuX_Y3x.js"),U=require("../Shared/index-rFJmbgyH.js"),R=require("../Shared/resize-Ds0ycOGI.js"),Be=require("../Shared/language-Q4AGYtUe.js"),Z=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CDslbo4h.js"),he=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DtTJLC6m.js"),_e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-d8FRnWoo.js"),Te=require("../Shared/Popup.vue_vue_type_script_setup_true_lang-d2TT0lCU.js"),xe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-D4BokTL9.js"),Se=require("../Shared/Index.vue_vue_type_script_setup_true_lang-C242QFDV.js"),Ve=require("../Shared/Validate.vue_vue_type_script_setup_true_lang-DyOZ5QGN.js"),Ue=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js"),we=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Dq-sCBRz.js"),ee=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Cm8_ZNJ7.js"),Ie=require("../Shared/Index.vue_vue_type_script_setup_true_lang-8-8svPDH.js"),Oe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B9xISM7N.js"),Ne=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Gp7OJJx5.js"),Pe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-SE1_-Y3D.js"),ze=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DBEuF9lY.js"),De=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DZSulESm.js"),Fe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CFNQBTiQ.js");function Le(c,E){switch(c){case"select":return n.CommonBase.isBoolean(E)?E:!1;case"radio":return!1;case"checkbox":case"selectTag":return!0;case"inputTag":return n.CommonBase.isBoolean(E)?E:!1;default:return!1}}function te(c,E){if(c!==!0)return"";let S="int";if(n.CommonBase.isNumber(E)){const o=Number.parseInt(String(E),10);if(o>0)switch(o.toString()){case"2":S="float2";break;case"3":S="float3";break;default:S="float"}}return S}const Me={class:"xeditable-body"},He={class:"xeditable-form"},qe={key:1,class:"xeditable-element"},$e=["id"],Je={key:0,class:"xeditable-errmsg"},Ae=e.defineComponent({name:"ClXEditable",__name:"Index",props:{id:String,value:[String,Number],className:{type:String,default:""},classNameLabel:{type:String,default:""},type:{type:String,required:!0,validator:c=>["input","inputNumber","select","selectCascade","textarea","radio","checkbox","selectTag","inputTag","dateTime","slider","customHtml"].indexOf(c)!==-1},label:String,subUnitOptions:{type:Object,default:()=>({})},subUnitList:{type:Array,default:()=>[]},isUseOnSubmitCheck:{type:Boolean,default:!1},appendContainer:{type:String,default:""},isCheckValidate:{type:Boolean,default:!1},validateRules:{type:Array,default:()=>[{r:"required"}]},isUseEllipsis:{type:Boolean,default:!1},classNameEllipsis:{type:String,default:""},isAutoTooltip:{type:Boolean,default:!0},clickEditPoint:{type:String,default:"value",validator:c=>["value","icon"].indexOf(c)!==-1},isShowEditValue:{type:Boolean,default:!0},isShowEditIcon:{type:Boolean,default:!1},editIcon:{type:String,default:"edit"},isSubmitCleanValue:{type:Boolean,default:!1},submitCallback:Function,checkValidateCallback:Function},emits:["onSubmit","onChangeOpen"],setup(c,{expose:E,emit:S}){const o=c,j=S,z=e.useAttrs(),se=e.useSlots(),{optPageLanguage:D,getPageLanguage:le}=Be.useLanguage();le("xEditable");const f=e.useTemplateRef("refElDropdownLayer"),_=e.useTemplateRef("refElForm"),d=e.useTemplateRef("refElFormEdit"),w=e.useTemplateRef("refElSubmit"),F=e.useTemplateRef("refElCustom"),L=e.useTemplateRef("refElContent"),M=e.useTemplateRef("refElErrMsg"),ne=o.id,i=e.reactive({keyIndex:`xeditable-${n.CommonBase.getRandom(8)}`,showText:"",subUnitValue:"",subUnitValueType:"",showMsg:"",isShowEmpty:!1,isBtnOperateCenter:!1}),r=e.ref({}),B=e.ref([]),h=e.reactive({status:0,startColor:"#FFFF80",endColor:"var(--cl-transparent, rgba(0, 0, 0, 0))"}),l={lastValue:"",runStep:"",isSubmitting:!1,submitValueDataSnapshot:null,isPendingHlight:!1,pendingValue:null,pendingOpt:null,hlightTimer:null,hlightTimer1:null,hlightTimer2:null,resizeEventCustomHtml:null,resizeEventErrMsg:null,resizeEventContent:null},K=e.computed(()=>{const{type:s}=o;return s==="input"||s==="inputNumber"||s==="select"}),H=e.computed(()=>!n.CommonBase.isUndefined(se.iconLabel)),ae=e.computed(()=>{let s={"panel-x-editable":!0};return s=n.CommonBase.getJsonMerge(s,U.CommonElement.getClassNameJson(o.className)),n.CommonBase.getStringByJson(s," ")}),ie=e.computed(()=>{const s=["xeditable-value"];return i.isShowEmpty&&s.push("xeditable-empty"),(o.isShowEditIcon||H.value)&&s.push("xeditable-edit-icon"),s.join(" ")}),oe=e.computed(()=>{const s=["xeditable-value-label"],{clickEditPoint:t}=o;return t==="value"||i.isShowEmpty?s.push("dropdownLayer-arrow-anchorPoint"):s.push("xeditable-click-invalid"),s.join(" ")}),re=e.computed(()=>{const s=["xeditable-value-editIcon","dropdownLayer-arrow-anchorPoint"];return H.value&&s.push("xeditable-value-editIcon-slot"),s.join(" ")}),ue=e.computed(()=>{const s=["xeditable-ellipsis"];return s.push(o.classNameEllipsis),h.status===2&&s.push("xeditable-value-hlight"),s.join(" ")}),ce=e.computed(()=>{const s=["xeditable-dropdown"];return s.push(`xeditable-dropdown-${o.type}`),s.join(" ")}),me=e.computed(()=>{const s={};return i.isBtnOperateCenter&&(s["text-align"]="center"),s}),X=e.computed(()=>{const s={};switch(h.status){case 1:s["background-color"]=h.startColor;break;case 2:s["background-color"]=h.endColor;break}return s}),pe=s=>{const t=U.CommonElement.getElementData(z);j("onSubmit",s,t)},de=s=>{e.nextTick(()=>{const t=U.CommonElement.getElementData(z);j("onChangeOpen",s,t)})},I=()=>{f.value&&f.value.setOpen(!1),w.value&&w.value.loadStop()},q=s=>{i.showMsg=n.CommonBase.isEmpty(s)?"":s,e.nextTick(()=>{f.value&&f.value.calculationPosition()})},G=()=>Le(o.type,r.value.multiple),Q=()=>{const s=n.CommonBase.getJsonClone(o.subUnitOptions);switch(o.type){case"input":{let t={isClean:!0};t=n.CommonBase.getJsonMerge(t,s);const a=n.CommonBase.isBoolean(t.isNumber)?t.isNumber:!1;i.subUnitValueType=te(a,t.decimal),r.value=t;break}case"inputNumber":{let t={isNumber:!0,isClean:!0};t=n.CommonBase.getJsonMerge(t,s);const a=te(!0,t.decimal)||"int";i.subUnitValueType=a,r.value=t;break}case"select":{let t={multiple:!1,placeholder:D.value.common.pleaseSelect};t=n.CommonBase.getJsonMerge(t,s),r.value=t;break}case"selectCascade":{let t={};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"textarea":{let t={isClean:!0};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"radio":{let t={isInline:!0,name:`${i.keyIndex}-radio`};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=t.isInline;break}case"checkbox":{let t={isInline:!1,name:`${i.keyIndex}-checkbox`};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=t.isInline;break}case"selectTag":{let t={type:"radio"};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"inputTag":{let t={multiple:!0,isAutofill:!0};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"dateTime":{let t={isDropdown:!1};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"slider":{let t={};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"customHtml":{i.isBtnOperateCenter=!0;break}}},O=(s,t)=>{let a=!1,u=!1;t&&(n.CommonBase.isUndefined(t.label)||(a=!0),n.CommonBase.isUndefined(t.list)||(u=!0));let p="",g="",m="";switch(n.CommonBase.isString(s)?m=s:n.CommonBase.isNumber(s)&&n.CommonBase.isFinite(s)&&s!==void 0&&(m=s.toString()),o.type){case"input":case"inputNumber":case"textarea":{if(!a&&m&&!n.CommonBase.isEmpty(m))if((o.type==="inputNumber"||o.type==="input"&&n.CommonBase.isBoolean(r.value.isNumber)&&r.value.isNumber)&&n.CommonBase.isNumber(m)){const y=i.subUnitValueType==="float"?r.value.decimal:"";p=n.CommonBase.getValueByFormat(m,i.subUnitValueType,{decimalNum:y})}else p=m;g=m;break}case"selectCascade":{if(!a){const k=u?t.list:B.value,y=n.CommonBase.isNonEmptyString(r.value.parentKey)?r.value.parentKey:"parentId",x=n.CommonBase.isNonEmptyString(r.value.topParentValue)?r.value.topParentValue:"0";if(m&&!n.CommonBase.isEmpty(m)){const N={};n.CommonBase.isArray(k)&&k.forEach(C=>{!n.CommonBase.isUndefined(C)&&!n.CommonBase.isUndefined(C.id)&&(N[C.id.toString()]=C)});const V=[],P={};let v=m.toString();for(;!n.CommonBase.isEmpty(v)&&!n.CommonBase.isExistJsonKey(P,v)&&n.CommonBase.isExistJsonKey(N,v);){P[v]=!0;const C=N[v];n.CommonBase.isEmpty(C.name)?(n.CommonBase.isNumber(C.name)||n.CommonBase.isString(C.name))&&V.push(C.name.toString()):V.push(C.name),v=C[y]!==void 0&&C[y]!==null?C[y].toString():"",v===x&&(v="")}V.reverse(),p=V.join(" → ")}}g=m;break}case"select":case"radio":case"checkbox":case"selectTag":case"inputTag":{const k=u?t.list:n.CommonBase.isArray(r.value.list)?r.value.list:B.value;if(!a&&m&&!n.CommonBase.isEmpty(m))if(o.type==="inputTag")p=m;else{const y=G(),x=[],N=y?m.split(","):[m.toString()],V=n.CommonBase.isArray(k)?k.filter(v=>!n.CommonBase.isUndefined(v)&&!n.CommonBase.isUndefined(v.id)):k,P=n.CommonBase.getJsonByList(V);N.forEach(v=>{n.CommonBase.isExistJsonKey(P,v)&&x.push(P[v].name)}),p=x.join(",")}g=m;break}case"dateTime":{a||(p=m),g=m;break}case"slider":{a||(p=m),g=m;break}}o.isSubmitCleanValue&&(g="",_.value&&_.value.reset()),i.showText=a?t.label.toString():p,i.subUnitValue=g,i.isShowEmpty=n.CommonBase.isEmpty(i.showText),l.lastValue=i.subUnitValue,u&&(B.value=t.list)},fe=()=>{l.hlightTimer&&(clearTimeout(l.hlightTimer),l.hlightTimer=null),l.hlightTimer1&&clearTimeout(l.hlightTimer1),l.hlightTimer2&&clearTimeout(l.hlightTimer2),h.status=1,e.nextTick(()=>{l.hlightTimer1=setTimeout(()=>{h.status=2},10),l.hlightTimer2=setTimeout(()=>{h.status=0},1500)})},W=()=>{l.isPendingHlight=!1,l.pendingOpt!==null&&O(l.pendingValue,l.pendingOpt||{}),l.pendingValue=null,l.pendingOpt=null,fe()},T=s=>{if(n.CommonBase.isBoolean(s)?s={success:s}:(n.CommonBase.isUndefined(s)||!n.CommonBase.isObject(s))&&(s={success:!1}),s.success){q(""),_.value&&_.value.reset();let t=null;l.submitValueDataSnapshot?t=l.submitValueDataSnapshot:d.value&&(t=d.value.getValueData()),n.CommonBase.isUndefined(t)&&(t={});let a="";const u={},p=n.CommonBase.isEmpty(s.data)?{}:s.data,g=n.CommonBase.isUndefined(p.label),m=!g&&(n.CommonBase.isString(p.label)||n.CommonBase.isNumber(p.label));switch(u.label=m?p.label:null,o.type){case"input":case"inputNumber":case"textarea":case"dateTime":case"slider":a=t.value;break;case"selectCascade":{g&&(u.label=t.show||t.value||""),a=t.value?t.value.toString():"",n.CommonBase.isArray(p.list)&&(u.list=p.list);break}case"select":case"radio":case"checkbox":case"selectTag":case"inputTag":{if(G()&&n.CommonBase.isArray(t)){const k=[],y=[];t.forEach(x=>{k.push(x.id),y.push(x.name)}),g&&(u.label=y.join(",")),a=o.type==="inputTag"?y.join(","):k.join(",")}else g&&(u.label=t.name||""),a=o.type==="inputTag"?t.name||"":t.id?t.id.toString():"";n.CommonBase.isArray(p.list)&&(u.list=p.list);break}}l.runStep!=="updateProps"?(l.pendingValue=a,l.pendingOpt=u,l.isPendingHlight=!0,I()):(O(a,u),I()),l.hlightTimer&&clearTimeout(l.hlightTimer),l.hlightTimer=setTimeout(()=>{l.hlightTimer=null,l.isPendingHlight&&(l.isPendingHlight=!1,W())},400)}else q(s.msg),e.nextTick(()=>{w.value&&w.value.loadStop()});l.isSubmitting=!1},ge=()=>{Q(),O(o.value,{label:o.label,list:o.subUnitList})},ve=async()=>{let s=!1;if(o.isCheckValidate&&_.value){try{s=await _.value.validate()===!0}catch(t){s=!1,A.clLog.warn("ClXEditable","表单校验执行异常",t)}if(o.checkValidateCallback&&n.CommonBase.isFunction(o.checkValidateCallback)){const t=U.CommonElement.getElementData(z),a=J();let u=!0;try{u=await o.checkValidateCallback(a,t)}catch(p){u=!1,A.clLog.warn("ClXEditable","checkValidateCallback 执行异常",p)}u=n.CommonBase.isBoolean(u)?u:!0,u||(s=!1)}}else s=!0;return s},$=()=>{let s=!1;return o.submitCallback&&n.CommonBase.isFunction(o.submitCallback)&&(s=!0),s},J=()=>{let s="";return o.type!=="customHtml"&&(s=d.value?d.value.getValue():""),s},Y=()=>{if($()){const s=J(),t=U.CommonElement.getElementData(z),a=o.submitCallback?o.submitCallback(s,t):void 0;if(a&&n.CommonBase.isFunction(a.then))a.then(u=>{T(n.CommonBase.isBoolean(u)?{success:u}:u)}).catch(()=>{T({success:!1,msg:D.value.submitCallback})});else{let u={};n.CommonBase.isUndefined(a)?u={success:!0}:n.CommonBase.isBoolean(a)?u={success:a}:n.CommonBase.isObject(a)&&n.CommonBase.isBoolean(a.success)?u=a:u={success:!1,msg:D.value.submitCallback},T(u)}}};e.onMounted(()=>{e.nextTick(()=>{ge()})}),e.onUnmounted(()=>{l.hlightTimer&&clearTimeout(l.hlightTimer),l.hlightTimer1&&clearTimeout(l.hlightTimer1),l.hlightTimer2&&clearTimeout(l.hlightTimer2),l.resizeEventCustomHtml&&(l.resizeEventCustomHtml.destroy(),l.resizeEventCustomHtml=null),l.resizeEventErrMsg&&(l.resizeEventErrMsg.destroy(),l.resizeEventErrMsg=null),l.resizeEventContent&&(l.resizeEventContent.destroy(),l.resizeEventContent=null)}),e.watch([()=>o.value,()=>o.label,()=>o.subUnitList],([s,t,a],[u,p,g])=>{(s!==u||t!==p||a!==g)&&(s!==u&&(l.runStep="updateProps"),O(s,{label:t,list:a}))}),e.watch(()=>o.subUnitOptions,()=>{Q(),O(i.subUnitValue,{label:o.label,list:o.subUnitList})});const be=()=>{l.isSubmitting||(l.isSubmitting=!0,d.value&&(l.submitValueDataSnapshot=d.value.getValueData()),ve().then(s=>{if(s)if(o.type==="customHtml")l.runStep="first",$()?Y():(A.clLog.warn("ClXEditable","customHtml 类型必须配置 submitCallback 才能提交"),l.isSubmitting=!1,I());else{const t=J(),a=n.CommonBase.isEmpty(t);String(t)!==l.lastValue||a&&i.showText.length>0?(l.runStep="first",$()?Y():(o.isUseOnSubmitCheck||T({success:!0}),pe(t))):(l.isSubmitting=!1,I())}else T({success:!1})}).catch(()=>{T({success:!1})}))},Ce=()=>{I()},b=()=>{f.value&&(f.value.checkIsShowOpen()||f.value.initCompleteOpen())},ye=()=>{l.isPendingHlight&&(l.isPendingHlight=!1,l.hlightTimer&&(clearTimeout(l.hlightTimer),l.hlightTimer=null),l.hlightTimer=setTimeout(()=>{l.hlightTimer=null,W()},150))},ke=s=>{s?(l.lastValue=i.subUnitValue,q(""),e.nextTick(()=>{f.value&&f.value.checkIsShowOpen()&&(o.type==="customHtml"?(b(),F.value&&(l.resizeEventCustomHtml&&l.resizeEventCustomHtml.destroy(),l.resizeEventCustomHtml=new R.Resize({element:F.value,callback:()=>{f.value&&f.value.calculationPosition()}}))):(L.value&&(l.resizeEventContent&&l.resizeEventContent.destroy(),l.resizeEventContent=new R.Resize({element:L.value,callback:()=>{f.value&&f.value.calculationPosition()}})),M.value&&(l.resizeEventErrMsg&&l.resizeEventErrMsg.destroy(),l.resizeEventErrMsg=new R.Resize({element:M.value,callback:()=>{f.value&&f.value.calculationPosition()}}))))})):(l.isPendingHlight||(i.subUnitValue=l.lastValue),l.resizeEventCustomHtml&&(l.resizeEventCustomHtml.destroy(),l.resizeEventCustomHtml=null),l.resizeEventErrMsg&&(l.resizeEventErrMsg.destroy(),l.resizeEventErrMsg=null),l.resizeEventContent&&(l.resizeEventContent.destroy(),l.resizeEventContent=null)),de(s)},Ee=s=>{const t=U.CommonElement.getParent(s.target,".xeditable-click-invalid",s.currentTarget,!1);n.CommonBase.isUndefined(t)||(s.preventDefault(),s.stopPropagation())};return E({setOnSubmitResult:s=>{o.isUseOnSubmitCheck&&n.CommonBase.isUndefined(o.submitCallback)&&l.isSubmitting&&T(s)}}),(s,t)=>(e.openBlock(),e.createBlock(Te._sfc_main,{ref_key:"refElDropdownLayer",ref:f,id:e.unref(ne),classParent:ae.value,classText:c.classNameLabel,classDropDown:ce.value,dropdownArrowPos:"center",dropDownPos:"up",isUseDropdownArrow:!0,isCloseDestroy:!0,isInitDelayComplete:!0,appendContainer:c.appendContainer,onOnChangeOpen:ke,onOnAfterLeave:ye,transitionEnter:"animated fadeIn",transitionLeave:"animated fadeOut"},{label:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(ie.value)},[c.isShowEditValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(oe.value),onClick:t[0]||(t[0]=a=>Ee(a))},[c.isUseEllipsis&&i.showText.length>0?(e.openBlock(),e.createBlock(xe._sfc_main,{key:0,className:ue.value,isUseTooltipAuto:c.isAutoTooltip,text:i.showText,style:e.normalizeStyle(X.value)},null,8,["className","isUseTooltipAuto","text","style"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass({"xeditable-value-hlight":h.status===2}),style:e.normalizeStyle(X.value)},e.toDisplayString(i.showText),7))],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),c.isShowEditIcon||H.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(re.value)},[e.renderSlot(s.$slots,"iconLabel",{},()=>[e.createVNode(Ue._sfc_main,{name:c.editIcon},null,8,["name"])])],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))],2)]),dropdown:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"refElContent",ref:L,class:"xeditable-content"},[e.createElementVNode("div",Me,[e.createElementVNode("div",He,[e.createVNode(Se._sfc_main,{ref_key:"refElForm",ref:_,isScrollToErr:!1},{default:e.withCtx(()=>[c.type==="customHtml"?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"refElCustom",ref:F,class:"xeditable-custom"},[e.renderSlot(s.$slots,"customForm")],512)):(e.openBlock(),e.createElementBlock("div",qe,[e.createVNode(Ve._sfc_main,{isCheck:c.isCheckValidate,checkValue:i.subUnitValue,rules:c.validateRules,msgElementId:K.value?`#${i.keyIndex}_errmsg`:""},{default:e.withCtx(()=>[c.type==="inputNumber"?(e.openBlock(),e.createBlock(ee._sfc_main,e.mergeProps({key:0,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[1]||(t[1]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="input"&&r.value.isNumber?(e.openBlock(),e.createBlock(ee._sfc_main,e.mergeProps({key:1,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[2]||(t[2]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="input"?(e.openBlock(),e.createBlock(we._sfc_main,e.mergeProps({key:2,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[3]||(t[3]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="textarea"?(e.openBlock(),e.createBlock(Oe._sfc_main,e.mergeProps({key:3,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[4]||(t[4]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="select"?(e.openBlock(),e.createBlock(Pe._sfc_main,e.mergeProps({key:4,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[5]||(t[5]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="selectCascade"?(e.openBlock(),e.createBlock(ze._sfc_main,e.mergeProps({key:5,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[6]||(t[6]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="radio"?(e.openBlock(),e.createBlock(Ne._sfc_main,e.mergeProps({key:6,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[7]||(t[7]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="checkbox"?(e.openBlock(),e.createBlock(he._sfc_main,e.mergeProps({key:7,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[8]||(t[8]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="selectTag"?(e.openBlock(),e.createBlock(De._sfc_main,e.mergeProps({key:8,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[9]||(t[9]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="inputTag"?(e.openBlock(),e.createBlock(Ie._sfc_main,e.mergeProps({key:9,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[10]||(t[10]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="dateTime"?(e.openBlock(),e.createBlock(_e._sfc_main,e.mergeProps({key:10,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[11]||(t[11]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="slider"?(e.openBlock(),e.createBlock(Fe._sfc_main,e.mergeProps({key:11,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[12]||(t[12]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:12},[],64))]),_:1},8,["isCheck","checkValue","rules","msgElementId"])]))]),_:3},512)]),e.createElementVNode("div",{class:"xeditable-operate",style:e.normalizeStyle(me.value)},[e.createVNode(Z._sfc_main,{ref_key:"refElSubmit",ref:w,iconName:"check",isShowLoad:!0,loadPos:"zoom-out",loadTheme:"rotaryLine",onOnClick:be},null,512),e.createVNode(Z._sfc_main,{iconName:"close",color:"grayLight",onOnClick:Ce})],4)]),K.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[c.isCheckValidate?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"refElErrMsg",ref:M,id:`${i.keyIndex}_errmsg`,class:"xeditable-errmsg"},null,8,$e)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[i.showMsg.length>0?(e.openBlock(),e.createElementBlock("div",Je,e.toDisplayString(i.showMsg),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))],64))],64)):e.createCommentVNode("",!0)],512)]),_:3},8,["id","classParent","classText","classDropDown","appendContainer"]))}});module.exports=Ae;
|
|
1
|
+
"use strict";const e=require("vue"),A=require("../Shared/log-gqSePaMZ.js"),n=require("../Shared/base-DbuX_Y3x.js"),U=require("../Shared/index-rFJmbgyH.js"),R=require("../Shared/resize-Ds0ycOGI.js"),Be=require("../Shared/language-CBZjQ9dC.js"),Z=require("../Shared/Index.vue_vue_type_script_setup_true_lang-EG5hgxoY.js"),he=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CNLr4FbS.js"),_e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B6mrwacu.js"),Te=require("../Shared/Popup.vue_vue_type_script_setup_true_lang-B1FPgy2w.js"),xe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Butq4gj-.js"),Se=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Db7kCHWV.js"),Ve=require("../Shared/Validate.vue_vue_type_script_setup_true_lang-iQhIBpru.js"),Ue=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DU1H_1lY.js"),we=require("../Shared/Index.vue_vue_type_script_setup_true_lang-fgqA2nof.js"),ee=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DJYEGSnc.js"),Ie=require("../Shared/Index.vue_vue_type_script_setup_true_lang-gR6txSCA.js"),Oe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-RBYo7N7Z.js"),Ne=require("../Shared/Index.vue_vue_type_script_setup_true_lang-BzhSu_r3.js"),Pe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-BnFtwIqC.js"),ze=require("../Shared/Index.vue_vue_type_script_setup_true_lang-BuEtcpnj.js"),De=require("../Shared/Index.vue_vue_type_script_setup_true_lang-_jJNPocq.js"),Fe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CNoHvb2F.js");function Le(c,E){switch(c){case"select":return n.CommonBase.isBoolean(E)?E:!1;case"radio":return!1;case"checkbox":case"selectTag":return!0;case"inputTag":return n.CommonBase.isBoolean(E)?E:!1;default:return!1}}function te(c,E){if(c!==!0)return"";let S="int";if(n.CommonBase.isNumber(E)){const o=Number.parseInt(String(E),10);if(o>0)switch(o.toString()){case"2":S="float2";break;case"3":S="float3";break;default:S="float"}}return S}const Me={class:"xeditable-body"},He={class:"xeditable-form"},qe={key:1,class:"xeditable-element"},$e=["id"],Je={key:0,class:"xeditable-errmsg"},Ae=e.defineComponent({name:"ClXEditable",__name:"Index",props:{id:String,value:[String,Number],className:{type:String,default:""},classNameLabel:{type:String,default:""},type:{type:String,required:!0,validator:c=>["input","inputNumber","select","selectCascade","textarea","radio","checkbox","selectTag","inputTag","dateTime","slider","customHtml"].indexOf(c)!==-1},label:String,subUnitOptions:{type:Object,default:()=>({})},subUnitList:{type:Array,default:()=>[]},isUseOnSubmitCheck:{type:Boolean,default:!1},appendContainer:{type:String,default:""},isCheckValidate:{type:Boolean,default:!1},validateRules:{type:Array,default:()=>[{r:"required"}]},isUseEllipsis:{type:Boolean,default:!1},classNameEllipsis:{type:String,default:""},isAutoTooltip:{type:Boolean,default:!0},clickEditPoint:{type:String,default:"value",validator:c=>["value","icon"].indexOf(c)!==-1},isShowEditValue:{type:Boolean,default:!0},isShowEditIcon:{type:Boolean,default:!1},editIcon:{type:String,default:"edit"},isSubmitCleanValue:{type:Boolean,default:!1},submitCallback:Function,checkValidateCallback:Function},emits:["onSubmit","onChangeOpen"],setup(c,{expose:E,emit:S}){const o=c,j=S,z=e.useAttrs(),se=e.useSlots(),{optPageLanguage:D,getPageLanguage:le}=Be.useLanguage();le("xEditable");const f=e.useTemplateRef("refElDropdownLayer"),_=e.useTemplateRef("refElForm"),d=e.useTemplateRef("refElFormEdit"),w=e.useTemplateRef("refElSubmit"),F=e.useTemplateRef("refElCustom"),L=e.useTemplateRef("refElContent"),M=e.useTemplateRef("refElErrMsg"),ne=o.id,i=e.reactive({keyIndex:`xeditable-${n.CommonBase.getRandom(8)}`,showText:"",subUnitValue:"",subUnitValueType:"",showMsg:"",isShowEmpty:!1,isBtnOperateCenter:!1}),r=e.ref({}),B=e.ref([]),h=e.reactive({status:0,startColor:"#FFFF80",endColor:"var(--cl-transparent, rgba(0, 0, 0, 0))"}),l={lastValue:"",runStep:"",isSubmitting:!1,submitValueDataSnapshot:null,isPendingHlight:!1,pendingValue:null,pendingOpt:null,hlightTimer:null,hlightTimer1:null,hlightTimer2:null,resizeEventCustomHtml:null,resizeEventErrMsg:null,resizeEventContent:null},K=e.computed(()=>{const{type:s}=o;return s==="input"||s==="inputNumber"||s==="select"}),H=e.computed(()=>!n.CommonBase.isUndefined(se.iconLabel)),ae=e.computed(()=>{let s={"panel-x-editable":!0};return s=n.CommonBase.getJsonMerge(s,U.CommonElement.getClassNameJson(o.className)),n.CommonBase.getStringByJson(s," ")}),ie=e.computed(()=>{const s=["xeditable-value"];return i.isShowEmpty&&s.push("xeditable-empty"),(o.isShowEditIcon||H.value)&&s.push("xeditable-edit-icon"),s.join(" ")}),oe=e.computed(()=>{const s=["xeditable-value-label"],{clickEditPoint:t}=o;return t==="value"||i.isShowEmpty?s.push("dropdownLayer-arrow-anchorPoint"):s.push("xeditable-click-invalid"),s.join(" ")}),re=e.computed(()=>{const s=["xeditable-value-editIcon","dropdownLayer-arrow-anchorPoint"];return H.value&&s.push("xeditable-value-editIcon-slot"),s.join(" ")}),ue=e.computed(()=>{const s=["xeditable-ellipsis"];return s.push(o.classNameEllipsis),h.status===2&&s.push("xeditable-value-hlight"),s.join(" ")}),ce=e.computed(()=>{const s=["xeditable-dropdown"];return s.push(`xeditable-dropdown-${o.type}`),s.join(" ")}),me=e.computed(()=>{const s={};return i.isBtnOperateCenter&&(s["text-align"]="center"),s}),X=e.computed(()=>{const s={};switch(h.status){case 1:s["background-color"]=h.startColor;break;case 2:s["background-color"]=h.endColor;break}return s}),pe=s=>{const t=U.CommonElement.getElementData(z);j("onSubmit",s,t)},de=s=>{e.nextTick(()=>{const t=U.CommonElement.getElementData(z);j("onChangeOpen",s,t)})},I=()=>{f.value&&f.value.setOpen(!1),w.value&&w.value.loadStop()},q=s=>{i.showMsg=n.CommonBase.isEmpty(s)?"":s,e.nextTick(()=>{f.value&&f.value.calculationPosition()})},G=()=>Le(o.type,r.value.multiple),Q=()=>{const s=n.CommonBase.getJsonClone(o.subUnitOptions);switch(o.type){case"input":{let t={isClean:!0};t=n.CommonBase.getJsonMerge(t,s);const a=n.CommonBase.isBoolean(t.isNumber)?t.isNumber:!1;i.subUnitValueType=te(a,t.decimal),r.value=t;break}case"inputNumber":{let t={isNumber:!0,isClean:!0};t=n.CommonBase.getJsonMerge(t,s);const a=te(!0,t.decimal)||"int";i.subUnitValueType=a,r.value=t;break}case"select":{let t={multiple:!1,placeholder:D.value.common.pleaseSelect};t=n.CommonBase.getJsonMerge(t,s),r.value=t;break}case"selectCascade":{let t={};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"textarea":{let t={isClean:!0};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"radio":{let t={isInline:!0,name:`${i.keyIndex}-radio`};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=t.isInline;break}case"checkbox":{let t={isInline:!1,name:`${i.keyIndex}-checkbox`};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=t.isInline;break}case"selectTag":{let t={type:"radio"};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"inputTag":{let t={multiple:!0,isAutofill:!0};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"dateTime":{let t={isDropdown:!1};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"slider":{let t={};t=n.CommonBase.getJsonMerge(t,s),r.value=t,i.isBtnOperateCenter=!0;break}case"customHtml":{i.isBtnOperateCenter=!0;break}}},O=(s,t)=>{let a=!1,u=!1;t&&(n.CommonBase.isUndefined(t.label)||(a=!0),n.CommonBase.isUndefined(t.list)||(u=!0));let p="",g="",m="";switch(n.CommonBase.isString(s)?m=s:n.CommonBase.isNumber(s)&&n.CommonBase.isFinite(s)&&s!==void 0&&(m=s.toString()),o.type){case"input":case"inputNumber":case"textarea":{if(!a&&m&&!n.CommonBase.isEmpty(m))if((o.type==="inputNumber"||o.type==="input"&&n.CommonBase.isBoolean(r.value.isNumber)&&r.value.isNumber)&&n.CommonBase.isNumber(m)){const y=i.subUnitValueType==="float"?r.value.decimal:"";p=n.CommonBase.getValueByFormat(m,i.subUnitValueType,{decimalNum:y})}else p=m;g=m;break}case"selectCascade":{if(!a){const k=u?t.list:B.value,y=n.CommonBase.isNonEmptyString(r.value.parentKey)?r.value.parentKey:"parentId",x=n.CommonBase.isNonEmptyString(r.value.topParentValue)?r.value.topParentValue:"0";if(m&&!n.CommonBase.isEmpty(m)){const N={};n.CommonBase.isArray(k)&&k.forEach(C=>{!n.CommonBase.isUndefined(C)&&!n.CommonBase.isUndefined(C.id)&&(N[C.id.toString()]=C)});const V=[],P={};let v=m.toString();for(;!n.CommonBase.isEmpty(v)&&!n.CommonBase.isExistJsonKey(P,v)&&n.CommonBase.isExistJsonKey(N,v);){P[v]=!0;const C=N[v];n.CommonBase.isEmpty(C.name)?(n.CommonBase.isNumber(C.name)||n.CommonBase.isString(C.name))&&V.push(C.name.toString()):V.push(C.name),v=C[y]!==void 0&&C[y]!==null?C[y].toString():"",v===x&&(v="")}V.reverse(),p=V.join(" → ")}}g=m;break}case"select":case"radio":case"checkbox":case"selectTag":case"inputTag":{const k=u?t.list:n.CommonBase.isArray(r.value.list)?r.value.list:B.value;if(!a&&m&&!n.CommonBase.isEmpty(m))if(o.type==="inputTag")p=m;else{const y=G(),x=[],N=y?m.split(","):[m.toString()],V=n.CommonBase.isArray(k)?k.filter(v=>!n.CommonBase.isUndefined(v)&&!n.CommonBase.isUndefined(v.id)):k,P=n.CommonBase.getJsonByList(V);N.forEach(v=>{n.CommonBase.isExistJsonKey(P,v)&&x.push(P[v].name)}),p=x.join(",")}g=m;break}case"dateTime":{a||(p=m),g=m;break}case"slider":{a||(p=m),g=m;break}}o.isSubmitCleanValue&&(g="",_.value&&_.value.reset()),i.showText=a?t.label.toString():p,i.subUnitValue=g,i.isShowEmpty=n.CommonBase.isEmpty(i.showText),l.lastValue=i.subUnitValue,u&&(B.value=t.list)},fe=()=>{l.hlightTimer&&(clearTimeout(l.hlightTimer),l.hlightTimer=null),l.hlightTimer1&&clearTimeout(l.hlightTimer1),l.hlightTimer2&&clearTimeout(l.hlightTimer2),h.status=1,e.nextTick(()=>{l.hlightTimer1=setTimeout(()=>{h.status=2},10),l.hlightTimer2=setTimeout(()=>{h.status=0},1500)})},W=()=>{l.isPendingHlight=!1,l.pendingOpt!==null&&O(l.pendingValue,l.pendingOpt||{}),l.pendingValue=null,l.pendingOpt=null,fe()},T=s=>{if(n.CommonBase.isBoolean(s)?s={success:s}:(n.CommonBase.isUndefined(s)||!n.CommonBase.isObject(s))&&(s={success:!1}),s.success){q(""),_.value&&_.value.reset();let t=null;l.submitValueDataSnapshot?t=l.submitValueDataSnapshot:d.value&&(t=d.value.getValueData()),n.CommonBase.isUndefined(t)&&(t={});let a="";const u={},p=n.CommonBase.isEmpty(s.data)?{}:s.data,g=n.CommonBase.isUndefined(p.label),m=!g&&(n.CommonBase.isString(p.label)||n.CommonBase.isNumber(p.label));switch(u.label=m?p.label:null,o.type){case"input":case"inputNumber":case"textarea":case"dateTime":case"slider":a=t.value;break;case"selectCascade":{g&&(u.label=t.show||t.value||""),a=t.value?t.value.toString():"",n.CommonBase.isArray(p.list)&&(u.list=p.list);break}case"select":case"radio":case"checkbox":case"selectTag":case"inputTag":{if(G()&&n.CommonBase.isArray(t)){const k=[],y=[];t.forEach(x=>{k.push(x.id),y.push(x.name)}),g&&(u.label=y.join(",")),a=o.type==="inputTag"?y.join(","):k.join(",")}else g&&(u.label=t.name||""),a=o.type==="inputTag"?t.name||"":t.id?t.id.toString():"";n.CommonBase.isArray(p.list)&&(u.list=p.list);break}}l.runStep!=="updateProps"?(l.pendingValue=a,l.pendingOpt=u,l.isPendingHlight=!0,I()):(O(a,u),I()),l.hlightTimer&&clearTimeout(l.hlightTimer),l.hlightTimer=setTimeout(()=>{l.hlightTimer=null,l.isPendingHlight&&(l.isPendingHlight=!1,W())},400)}else q(s.msg),e.nextTick(()=>{w.value&&w.value.loadStop()});l.isSubmitting=!1},ge=()=>{Q(),O(o.value,{label:o.label,list:o.subUnitList})},ve=async()=>{let s=!1;if(o.isCheckValidate&&_.value){try{s=await _.value.validate()===!0}catch(t){s=!1,A.clLog.warn("ClXEditable","表单校验执行异常",t)}if(o.checkValidateCallback&&n.CommonBase.isFunction(o.checkValidateCallback)){const t=U.CommonElement.getElementData(z),a=J();let u=!0;try{u=await o.checkValidateCallback(a,t)}catch(p){u=!1,A.clLog.warn("ClXEditable","checkValidateCallback 执行异常",p)}u=n.CommonBase.isBoolean(u)?u:!0,u||(s=!1)}}else s=!0;return s},$=()=>{let s=!1;return o.submitCallback&&n.CommonBase.isFunction(o.submitCallback)&&(s=!0),s},J=()=>{let s="";return o.type!=="customHtml"&&(s=d.value?d.value.getValue():""),s},Y=()=>{if($()){const s=J(),t=U.CommonElement.getElementData(z),a=o.submitCallback?o.submitCallback(s,t):void 0;if(a&&n.CommonBase.isFunction(a.then))a.then(u=>{T(n.CommonBase.isBoolean(u)?{success:u}:u)}).catch(()=>{T({success:!1,msg:D.value.submitCallback})});else{let u={};n.CommonBase.isUndefined(a)?u={success:!0}:n.CommonBase.isBoolean(a)?u={success:a}:n.CommonBase.isObject(a)&&n.CommonBase.isBoolean(a.success)?u=a:u={success:!1,msg:D.value.submitCallback},T(u)}}};e.onMounted(()=>{e.nextTick(()=>{ge()})}),e.onUnmounted(()=>{l.hlightTimer&&clearTimeout(l.hlightTimer),l.hlightTimer1&&clearTimeout(l.hlightTimer1),l.hlightTimer2&&clearTimeout(l.hlightTimer2),l.resizeEventCustomHtml&&(l.resizeEventCustomHtml.destroy(),l.resizeEventCustomHtml=null),l.resizeEventErrMsg&&(l.resizeEventErrMsg.destroy(),l.resizeEventErrMsg=null),l.resizeEventContent&&(l.resizeEventContent.destroy(),l.resizeEventContent=null)}),e.watch([()=>o.value,()=>o.label,()=>o.subUnitList],([s,t,a],[u,p,g])=>{(s!==u||t!==p||a!==g)&&(s!==u&&(l.runStep="updateProps"),O(s,{label:t,list:a}))}),e.watch(()=>o.subUnitOptions,()=>{Q(),O(i.subUnitValue,{label:o.label,list:o.subUnitList})});const be=()=>{l.isSubmitting||(l.isSubmitting=!0,d.value&&(l.submitValueDataSnapshot=d.value.getValueData()),ve().then(s=>{if(s)if(o.type==="customHtml")l.runStep="first",$()?Y():(A.clLog.warn("ClXEditable","customHtml 类型必须配置 submitCallback 才能提交"),l.isSubmitting=!1,I());else{const t=J(),a=n.CommonBase.isEmpty(t);String(t)!==l.lastValue||a&&i.showText.length>0?(l.runStep="first",$()?Y():(o.isUseOnSubmitCheck||T({success:!0}),pe(t))):(l.isSubmitting=!1,I())}else T({success:!1})}).catch(()=>{T({success:!1})}))},Ce=()=>{I()},b=()=>{f.value&&(f.value.checkIsShowOpen()||f.value.initCompleteOpen())},ye=()=>{l.isPendingHlight&&(l.isPendingHlight=!1,l.hlightTimer&&(clearTimeout(l.hlightTimer),l.hlightTimer=null),l.hlightTimer=setTimeout(()=>{l.hlightTimer=null,W()},150))},ke=s=>{s?(l.lastValue=i.subUnitValue,q(""),e.nextTick(()=>{f.value&&f.value.checkIsShowOpen()&&(o.type==="customHtml"?(b(),F.value&&(l.resizeEventCustomHtml&&l.resizeEventCustomHtml.destroy(),l.resizeEventCustomHtml=new R.Resize({element:F.value,callback:()=>{f.value&&f.value.calculationPosition()}}))):(L.value&&(l.resizeEventContent&&l.resizeEventContent.destroy(),l.resizeEventContent=new R.Resize({element:L.value,callback:()=>{f.value&&f.value.calculationPosition()}})),M.value&&(l.resizeEventErrMsg&&l.resizeEventErrMsg.destroy(),l.resizeEventErrMsg=new R.Resize({element:M.value,callback:()=>{f.value&&f.value.calculationPosition()}}))))})):(l.isPendingHlight||(i.subUnitValue=l.lastValue),l.resizeEventCustomHtml&&(l.resizeEventCustomHtml.destroy(),l.resizeEventCustomHtml=null),l.resizeEventErrMsg&&(l.resizeEventErrMsg.destroy(),l.resizeEventErrMsg=null),l.resizeEventContent&&(l.resizeEventContent.destroy(),l.resizeEventContent=null)),de(s)},Ee=s=>{const t=U.CommonElement.getParent(s.target,".xeditable-click-invalid",s.currentTarget,!1);n.CommonBase.isUndefined(t)||(s.preventDefault(),s.stopPropagation())};return E({setOnSubmitResult:s=>{o.isUseOnSubmitCheck&&n.CommonBase.isUndefined(o.submitCallback)&&l.isSubmitting&&T(s)}}),(s,t)=>(e.openBlock(),e.createBlock(Te._sfc_main,{ref_key:"refElDropdownLayer",ref:f,id:e.unref(ne),classParent:ae.value,classText:c.classNameLabel,classDropDown:ce.value,dropdownArrowPos:"center",dropDownPos:"up",isUseDropdownArrow:!0,isCloseDestroy:!0,isInitDelayComplete:!0,appendContainer:c.appendContainer,onOnChangeOpen:ke,onOnAfterLeave:ye,transitionEnter:"animated fadeIn",transitionLeave:"animated fadeOut"},{label:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(ie.value)},[c.isShowEditValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(oe.value),onClick:t[0]||(t[0]=a=>Ee(a))},[c.isUseEllipsis&&i.showText.length>0?(e.openBlock(),e.createBlock(xe._sfc_main,{key:0,className:ue.value,isUseTooltipAuto:c.isAutoTooltip,text:i.showText,style:e.normalizeStyle(X.value)},null,8,["className","isUseTooltipAuto","text","style"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass({"xeditable-value-hlight":h.status===2}),style:e.normalizeStyle(X.value)},e.toDisplayString(i.showText),7))],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),c.isShowEditIcon||H.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(re.value)},[e.renderSlot(s.$slots,"iconLabel",{},()=>[e.createVNode(Ue._sfc_main,{name:c.editIcon},null,8,["name"])])],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[],64))],2)]),dropdown:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"refElContent",ref:L,class:"xeditable-content"},[e.createElementVNode("div",Me,[e.createElementVNode("div",He,[e.createVNode(Se._sfc_main,{ref_key:"refElForm",ref:_,isScrollToErr:!1},{default:e.withCtx(()=>[c.type==="customHtml"?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"refElCustom",ref:F,class:"xeditable-custom"},[e.renderSlot(s.$slots,"customForm")],512)):(e.openBlock(),e.createElementBlock("div",qe,[e.createVNode(Ve._sfc_main,{isCheck:c.isCheckValidate,checkValue:i.subUnitValue,rules:c.validateRules,msgElementId:K.value?`#${i.keyIndex}_errmsg`:""},{default:e.withCtx(()=>[c.type==="inputNumber"?(e.openBlock(),e.createBlock(ee._sfc_main,e.mergeProps({key:0,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[1]||(t[1]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="input"&&r.value.isNumber?(e.openBlock(),e.createBlock(ee._sfc_main,e.mergeProps({key:1,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[2]||(t[2]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="input"?(e.openBlock(),e.createBlock(we._sfc_main,e.mergeProps({key:2,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[3]||(t[3]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="textarea"?(e.openBlock(),e.createBlock(Oe._sfc_main,e.mergeProps({key:3,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[4]||(t[4]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="select"?(e.openBlock(),e.createBlock(Pe._sfc_main,e.mergeProps({key:4,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[5]||(t[5]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="selectCascade"?(e.openBlock(),e.createBlock(ze._sfc_main,e.mergeProps({key:5,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[6]||(t[6]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="radio"?(e.openBlock(),e.createBlock(Ne._sfc_main,e.mergeProps({key:6,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[7]||(t[7]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="checkbox"?(e.openBlock(),e.createBlock(he._sfc_main,e.mergeProps({key:7,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[8]||(t[8]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="selectTag"?(e.openBlock(),e.createBlock(De._sfc_main,e.mergeProps({key:8,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[9]||(t[9]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="inputTag"?(e.openBlock(),e.createBlock(Ie._sfc_main,e.mergeProps({key:9,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[10]||(t[10]=a=>i.subUnitValue=a),list:B.value},r.value,{onOnInit:b}),null,16,["value","list"])):c.type==="dateTime"?(e.openBlock(),e.createBlock(_e._sfc_main,e.mergeProps({key:10,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[11]||(t[11]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):c.type==="slider"?(e.openBlock(),e.createBlock(Fe._sfc_main,e.mergeProps({key:11,ref_key:"refElFormEdit",ref:d,value:i.subUnitValue,"onUpdate:value":t[12]||(t[12]=a=>i.subUnitValue=a)},r.value,{onOnInit:b}),null,16,["value"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:12},[],64))]),_:1},8,["isCheck","checkValue","rules","msgElementId"])]))]),_:3},512)]),e.createElementVNode("div",{class:"xeditable-operate",style:e.normalizeStyle(me.value)},[e.createVNode(Z._sfc_main,{ref_key:"refElSubmit",ref:w,iconName:"check",isShowLoad:!0,loadPos:"zoom-out",loadTheme:"rotaryLine",onOnClick:be},null,512),e.createVNode(Z._sfc_main,{iconName:"close",color:"grayLight",onOnClick:Ce})],4)]),K.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[c.isCheckValidate?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"refElErrMsg",ref:M,id:`${i.keyIndex}_errmsg`,class:"xeditable-errmsg"},null,8,$e)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[i.showMsg.length>0?(e.openBlock(),e.createElementBlock("div",Je,e.toDisplayString(i.showMsg),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))],64))],64)):e.createCommentVNode("",!0)],512)]),_:3},8,["id","classParent","classText","classDropDown","appendContainer"]))}});module.exports=Ae;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default } from '../../types/Web/XEditable/Index.vue.d.ts';
|
|
@@ -8,28 +8,28 @@ import '../../styles/Common/Fade-base.css';
|
|
|
8
8
|
import '../../styles/Common/Overlay-base.css';
|
|
9
9
|
import '../../styles/Web/ClXEditable.css';
|
|
10
10
|
import { defineComponent as Fe, useAttrs as He, useSlots as $e, useTemplateRef as _, reactive as me, ref as fe, computed as S, onMounted as Je, nextTick as D, onUnmounted as Ae, watch as de, openBlock as c, createBlock as v, unref as je, withCtx as R, createElementVNode as J, createVNode as A, createElementBlock as E, renderSlot as pe, mergeProps as k, Fragment as P, normalizeStyle as te, toDisplayString as be, createCommentVNode as Re, normalizeClass as K } from "vue";
|
|
11
|
-
import { c as ie } from "../Shared/log-
|
|
11
|
+
import { c as ie } from "../Shared/log-CSNil8va.js";
|
|
12
12
|
import { C as l } from "../Shared/base-fr2I80sU.js";
|
|
13
13
|
import { C as z } from "../Shared/index-B477PjJ3.js";
|
|
14
14
|
import { R as le } from "../Shared/resize-CyrJxi6F.js";
|
|
15
|
-
import { a as Ke } from "../Shared/language-
|
|
16
|
-
import { _ as ge } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { _ as Xe } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { _ as qe } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { _ as Ge } from "../Shared/Popup.vue_vue_type_script_setup_true_lang-
|
|
20
|
-
import { _ as Qe } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
21
|
-
import { _ as We } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import { _ as Ye } from "../Shared/Validate.vue_vue_type_script_setup_true_lang-
|
|
23
|
-
import { _ as Ze } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
24
|
-
import { _ as et } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
25
|
-
import { _ as ve } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
26
|
-
import { _ as tt } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
27
|
-
import { _ as it } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
28
|
-
import { _ as lt } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
29
|
-
import { _ as st } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
30
|
-
import { _ as at } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
31
|
-
import { _ as nt } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
32
|
-
import { _ as rt } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
15
|
+
import { a as Ke } from "../Shared/language-BaLIp7bA.js";
|
|
16
|
+
import { _ as ge } from "../Shared/Index.vue_vue_type_script_setup_true_lang-B4wLYUS7.js";
|
|
17
|
+
import { _ as Xe } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BeY40OpW.js";
|
|
18
|
+
import { _ as qe } from "../Shared/Index.vue_vue_type_script_setup_true_lang-Br1jq8i6.js";
|
|
19
|
+
import { _ as Ge } from "../Shared/Popup.vue_vue_type_script_setup_true_lang-lq2pb7vN.js";
|
|
20
|
+
import { _ as Qe } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BzuiaXQe.js";
|
|
21
|
+
import { _ as We } from "../Shared/Index.vue_vue_type_script_setup_true_lang-cceO6cqW.js";
|
|
22
|
+
import { _ as Ye } from "../Shared/Validate.vue_vue_type_script_setup_true_lang-BwcOP-Dw.js";
|
|
23
|
+
import { _ as Ze } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BmRO42R2.js";
|
|
24
|
+
import { _ as et } from "../Shared/Index.vue_vue_type_script_setup_true_lang-ef-Lbwxl.js";
|
|
25
|
+
import { _ as ve } from "../Shared/Index.vue_vue_type_script_setup_true_lang-DQBa9Pny.js";
|
|
26
|
+
import { _ as tt } from "../Shared/Index.vue_vue_type_script_setup_true_lang-DX9SitGp.js";
|
|
27
|
+
import { _ as it } from "../Shared/Index.vue_vue_type_script_setup_true_lang-tmqr2c2p.js";
|
|
28
|
+
import { _ as lt } from "../Shared/Index.vue_vue_type_script_setup_true_lang-DjeTtNM6.js";
|
|
29
|
+
import { _ as st } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BtlpTQO-.js";
|
|
30
|
+
import { _ as at } from "../Shared/Index.vue_vue_type_script_setup_true_lang-CCor2Ugz.js";
|
|
31
|
+
import { _ as nt } from "../Shared/Index.vue_vue_type_script_setup_true_lang-CUq-x89X.js";
|
|
32
|
+
import { _ as rt } from "../Shared/Index.vue_vue_type_script_setup_true_lang-f6va8eHF.js";
|
|
33
33
|
function ut(o, U) {
|
|
34
34
|
switch (o) {
|
|
35
35
|
case "select":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../Shared/index-Dc_m9J6h.js");exports.directive=e.directive;exports.name=e.name;
|
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
import '../../../styles/Common/Token.css';
|
|
2
2
|
import '../../../styles/Web/__directive__/CodeHighlight.css';
|
|
3
|
-
|
|
4
|
-
const h = () => (e || (e = import("../../Shared/index.hljs-BNbnNvpp.js").catch((t) => {
|
|
5
|
-
throw e = null, t;
|
|
6
|
-
})), e), r = {
|
|
7
|
-
bind: (t, n) => {
|
|
8
|
-
h().then((i) => {
|
|
9
|
-
t.isConnected && i.highlight(t, n.value);
|
|
10
|
-
}).catch(() => {
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
}, o = "clCodeHighlight", c = () => ({
|
|
14
|
-
deep: !0,
|
|
15
|
-
beforeMount: r.bind
|
|
16
|
-
});
|
|
3
|
+
import { d as r, n as d } from "../../Shared/index-CH1kcNPT.js";
|
|
17
4
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
r as directive,
|
|
6
|
+
d as name
|
|
20
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */const s=require("../../Shared/base-DbuX_Y3x.js"),d=require("@popperjs/core"),h=require("../../Shared/index-rFJmbgyH.js"),u=["click","hover","focus"],c={fade:"fade",show:"show"},f={type:"tooltip",placement:"top",trigger:"click",theme:"white",wrap:"body",template:"",contentBody:"",contentHeader:"",selectorBody:"",selectorHead:"",selectorArrow:".arrow",isLoad:!1,loadOnCallback:null,loadOffCallback:null,isRunTrigger:!0,isStopPropagation:!0,isInitShow:!0,isHtml:!0,className:""};class g{elementModal;optionModal;pageData;pageObject;constructor(e,o){this.elementModal={},this.elementModal.rely=e,this.optionModal=s.CommonBase.getJsonMerge(f,o),this.pageData={isOpen:!1,events:[],scrollParents:[]},this.pageObject=null,["listenerOn","listenerOff","listenerHide","listenerRelatedMouseLeave","onScrollParentScroll"].forEach(a=>{this[a]=this[a].bind(this)}),this.init()}init(){if(!s.CommonBase.isEmpty(this.optionModal.template)){const e=this.getEventType();this.setEventListener(e)}}getEventType(){const e=[],o=[];let a=[];return s.CommonBase.isArray(this.optionModal.trigger)?a=this.optionModal.trigger:s.CommonBase.isString(this.optionModal.trigger)&&(a=this.optionModal.trigger.split(",")),a.forEach(n=>{switch(s.CommonBase.isExistValue(u,n)?n:""){case"hover":e.push("mouseenter"),o.push("mouseleave");break;case"focus":e.push("focus"),o.push("blur");break;case"click":e.push("click"),o.push("click");break}}),{on:e,off:o}}setEventListener(e){s.CommonBase.isEmpty(e.on)||e.on.forEach(o=>{this.pageData.events.push({on:o,func:this.listenerOn,eventName:o}),this.elementModal.rely.addEventListener(o,this.listenerOn)}),s.CommonBase.isEmpty(e.off)||e.off.forEach(o=>{this.pageData.events.push({off:o,func:this.listenerOff,eventName:o}),this.elementModal.rely.addEventListener(o,this.listenerOff)})}listenerOn(e){if(this.optionModal.isInitShow){if(this.optionModal.isStopPropagation&&(e.preventDefault(),e.stopPropagation()),this.pageData.isOpen||!this.optionModal.isRunTrigger)return;e.useOpenToTip=!0,this.show(),this.optionModal.isLoad&&s.CommonBase.isFunction(this.optionModal.loadOnCallback)&&this.optionModal.loadOnCallback()}}listenerOff(e){!this.optionModal.isRunTrigger||s.CommonBase.isBoolean(e.useOpenToTip)&&e.useOpenToTip||(this.hide(e),this.optionModal.isLoad&&s.CommonBase.isFunction(this.optionModal.loadOffCallback)&&this.optionModal.loadOffCallback())}show(){if(s.CommonBase.isString(this.optionModal.wrap)){const e=window.document.querySelector(this.optionModal.wrap);if(s.CommonBase.isUndefined(e))return}this.pageData.isOpen||this.operateShow()}operateShow(){if(!this.pageData.isOpen){if(this.pageData.isOpen=!0,s.CommonBase.isUndefined(this.elementModal.tip)){this.elementModal.tip=this.createElement();const o=this.getWrapElement();s.CommonBase.isUndefined(o)||o.appendChild(this.elementModal.tip);const a={placement:this.optionModal.placement};a.modifiers=[{name:"offset",options:{offset:[0,8]}}],this.pageObject=d.createPopper(this.elementModal.rely,this.elementModal.tip,a)}else this.elementModal.tip.style.opacity="",this.elementModal.tip.style.pointerEvents="",this.pageObject.setOptions({modifiers:[{name:"eventListeners",enabled:!0}]});this.setContentBody(this.optionModal.contentBody),this.setContentHeader(this.optionModal.contentHeader);const e=[c.fade,c.show,`bs-${this.optionModal.type}-${this.optionModal.placement}`,`tooltip-${this.optionModal.theme}`];s.CommonBase.isEmpty(this.optionModal.className)||this.optionModal.className.split(" ").forEach(o=>{s.CommonBase.isEmpty(o)||e.push(o)}),this.elementModal.tip.className=h.CommonElement.getAddClass(this.elementModal.tip.className,e),setTimeout(()=>{this.pageObject.update()},50),this.pageData.scrollParents=this.getScrollParents(),s.CommonBase.isEmpty(this.pageData.scrollParents)||this.pageData.scrollParents.forEach(o=>{o.addEventListener("scroll",this.onScrollParentScroll,{passive:!0})})}}createElement(){const e=window.document.createElement("div");return e.innerHTML=this.optionModal.template,e.childNodes[0]}setContentBody(e){if(!s.CommonBase.isEmpty(this.optionModal.selectorBody)&&!s.CommonBase.isEmpty(e))if(s.CommonBase.isUndefined(this.elementModal.tip))this.optionModal.contentBody=e;else{const o=this.elementModal.tip.querySelector(this.optionModal.selectorBody);if(!s.CommonBase.isUndefined(o)){if(this.optionModal.isHtml){const a=e.replace(/\\n/g,"<br>").replace(/\n/g,"<br>");o.innerHTML=a}else o.innerText=e;this.optionModal.contentBody=e,this.pageObject.update()}}}setInitShow(e){this.optionModal.isInitShow=e}setContentHeader(e){if(!s.CommonBase.isEmpty(this.optionModal.selectorHead)){const o=this.elementModal.tip.querySelector(this.optionModal.selectorHead);if(!s.CommonBase.isUndefined(o)){const a=s.CommonBase.isEmpty(e)?"":e;this.optionModal.isHtml?o.innerHTML=a:o.innerText=a,this.optionModal.contentHeader=a,this.pageObject.update()}}}getWrapElement(){let e;return s.CommonBase.isString(this.optionModal.wrap)?e=window.document.querySelector(this.optionModal.wrap):this.optionModal.wrap===!1&&(e=this.elementModal.rely.parentNode),e}getScrollParents(){const e=[];let o=this.elementModal.rely.parentElement;for(;o;){const a=window.getComputedStyle(o),n=a.overflow+a.overflowX+a.overflowY;/auto|scroll|overlay/.test(n)&&e.push(o),o=o.parentElement}return e}isVisibleInScrollParents(){const e=this.elementModal.rely.getBoundingClientRect();for(const o of this.pageData.scrollParents){const a=o.getBoundingClientRect();if(!!(e.right<=a.left||e.left>=a.right||e.bottom<=a.top||e.top>=a.bottom))return!1}return!0}onScrollParentScroll(){if(!this.pageData.isOpen||!this.elementModal.tip)return;const e=this.isVisibleInScrollParents();this.elementModal.tip.style.opacity=e?"":"0",this.elementModal.tip.style.pointerEvents=e?"":"none"}hide(e){if(!this.pageData.isOpen||!document.body.contains(this.elementModal.tip))return;let o=!0;if(e.type==="mouseleave"){const a=e.relatedreference||e.toElement||e.relatedTarget;this.elementModal.tip.contains(a)&&(o=!1,this.elementModal.tip.addEventListener(e.type,this.listenerRelatedMouseLeave))}o&&this.operateHide()}listenerRelatedMouseLeave(e){const o=e.relatedreference||e.toElement||e.relatedTarget;this.elementModal.tip.removeEventListener(e.type,this.listenerRelatedMouseLeave),this.elementModal.rely.contains(o)||this.hide(e)}operateHide(){this.pageData.isOpen&&(this.pageData.isOpen=!1,s.CommonBase.isEmpty(this.pageData.scrollParents)||(this.pageData.scrollParents.forEach(e=>{e.removeEventListener("scroll",this.onScrollParentScroll)}),this.pageData.scrollParents=[]),this.pageObject.setOptions({modifiers:[{name:"eventListeners",enabled:!1}]}),this.elementModal.tip.className=h.CommonElement.getRemoveClass(this.elementModal.tip.className,c.show),this.elementModal.tip.removeEventListener("mouseenter",this.listenerHide),this.elementModal.tip.removeEventListener("click",this.listenerHide),this.elementModal.tip.parentNode.removeChild(this.elementModal.tip),this.elementModal.tip=null)}listenerHide(){this.operateHide()}setRunTrigger(e){this.optionModal.isRunTrigger=e}dispose(){this.pageData.events.forEach(({eventName:e,func:o})=>{this.elementModal.rely.removeEventListener(e,o)}),this.pageData.events=[],this.pageObject&&(this.operateHide(),this.pageObject.destroy())}clShow(){this.operateShow()}clHide(){this.operateHide()}clToggle(){this.pageData.isOpen?this.operateHide():this.operateShow()}clSetContentBody(e){this.setContentBody(e)}clSetContentHeader(e){this.setContentHeader(e)}clSetRunTrigger(e){this.setRunTrigger(e)}clSetInitShow(e){this.setInitShow(e)}clDispose(){this.dispose()}}const i={positions:{top:"top",topLeft:"top-start",topRight:"top-end",right:"right",rightTop:"right-start",rightBottom:"right-end",bottom:"bottom",bottomLeft:"bottom-start",bottomRight:"bottom-end",left:"left",leftTop:"left-start",leftBottom:"left-end"},triggers:["hover","click","focus"],themes:["white","black"],options:{position:"top",trigger:"hover",theme:"white",template:"<div class='tooltip'><div class='tooltip-inner'></div><div class='arrow' data-popper-arrow></div></div>",selectorBody:".tooltip-inner",selectorArrow:".arrow",isHtml:!0,isRunTrigger:!0,isFixedVisible:!1,isStopPropagation:!0,className:""},bind:(t,e)=>{i.create(t,e)},create:(t,e)=>{if(s.CommonBase.isObject(e)&&!s.CommonBase.isUndefined(e.value)&&i.getIsInit(e)){const a=i._getValueHtml(e.value);if(!s.CommonBase.isEmpty(a)){const n=i.getOptions();n.contentBody=a,n.placement=i.getPosition(e),n.trigger=i.getTrigger(e),n.theme=i.getTheme(e),n.isHtml=i.getIsHtml(e),n.isFixedVisible=i.getFixedVisible(e),n.isStopPropagation=i.getStopPropagation(e),n.className=i.getClassName(e);try{const l=new g(t,n);l._vueEl=t,t._tooltip=l}catch{}}}},getIsInit:t=>s.CommonBase.isObject(t.value)&&s.CommonBase.isBoolean(t.value.init)?t.value.init:!0,getOptions:()=>s.CommonBase.getJsonClone(i.options),_getValueHtml:t=>{let e="";switch(s.CommonBase.getTypeof(t)){case"string":case"number":e=t.toString();break;case"object":s.CommonBase.isEmpty(t.html)||(e=t.html);break;default:e=""}return e},getPosition:t=>{let e=s.CommonBase.isObject(t.value)?t.value.position:"";if(s.CommonBase.isEmpty(e))for(const[o,a]of Object.entries(i.positions))t.modifiers[o]&&(e=a);else s.CommonBase.isExistJsonKey(i.positions,e)&&(e=i.positions[e]);return s.CommonBase.isEmpty(e)?i.options.position:e},getTrigger:t=>{let e=s.CommonBase.isObject(t.value)?t.value.trigger:"";return s.CommonBase.isEmpty(e)&&i.triggers.forEach(o=>{t.modifiers[o]&&(e=o)}),s.CommonBase.isEmpty(e)?i.options.trigger:e},getTheme:t=>{let e=s.CommonBase.isObject(t.value)?t.value.theme:"";return s.CommonBase.isEmpty(e)&&i.themes.forEach(o=>{t.modifiers[o]&&(e=o)}),s.CommonBase.isEmpty(e)?i.options.theme:e},getIsHtml:t=>{const e=s.CommonBase.isObject(t.value)?t.value.isHtml:!0;return s.CommonBase.isBoolean(e)?e:i.options.isHtml},getIsRunTrigger:t=>s.CommonBase.isObject(t)&&s.CommonBase.isBoolean(t.isRunTrigger)?t.isRunTrigger:!0,getFixedVisible:t=>{const e=s.CommonBase.isObject(t.value)?t.value.isFixedVisible:!1;return s.CommonBase.isBoolean(e)?e:i.options.isFixedVisible},getStopPropagation:t=>{const e=s.CommonBase.isObject(t.value)?t.value.isStopPropagation:!1;return s.CommonBase.isBoolean(e)?e:i.options.isStopPropagation},getClassName:t=>{const e=s.CommonBase.isObject(t.value)?t.value.className:"";return s.CommonBase.isEmpty(e)?i.options.className:e},update:(t,e)=>{const o=i.getIsInit(e);if(o){!t._tooltip&&o&&i.create(t,e);const a=i._getValueHtml(e.value),n=i._getValueHtml(e.oldValue),l=s.CommonBase.isObject(e.value);let p=!1;if(a!==n)p=!0;else if(l&&!s.CommonBase.isUndefined(e.value.updRefreshInx)){const r=e.value.updRefreshInx,m=e.oldValue.updRefreshInx;r!==m&&(p=!0)}if(t._tooltip){p&&t._tooltip.clSetContentBody(a),t._tooltip.clSetInitShow(o);const r=i.getIsRunTrigger(e.value),m=i.getIsRunTrigger(e.oldValue);(!r||!o)&&t._tooltip.clHide(),r!==m&&t._tooltip.clSetRunTrigger(r)}}else i.destroy(t)},destroy:t=>{t._tooltip&&(t._tooltip.clDispose(),delete t._tooltip)},show:t=>{t._tooltip&&t._tooltip.clShow()},hide:t=>{t._tooltip&&t._tooltip.clHide()}},C="clTooltip",M=()=>({deep:!0,mounted:i.bind,updated:i.update,unmounted:i.destroy}),v={mounted:i.bind,updated:i.update},B={show:i.show,hide:i.hide};exports.directive=M;exports.name=C;exports.tooltipCommon=B;exports.tooltipDirectives=v;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../Shared/index-CmFWmRVX.js");;/* empty css */require("../../Shared/base-DbuX_Y3x.js");exports.directive=e.directive;exports.name=e.name;exports.tooltipCommon=e.tooltipCommon;exports.tooltipDirectives=e.tooltipDirectives;
|
|
@@ -1,416 +1,12 @@
|
|
|
1
1
|
import '../../../styles/Common/Token.css';
|
|
2
2
|
import '../../../styles/Common/Fade-base.css';
|
|
3
3
|
import '../../../styles/Web/__directive__/Tooltip.css';
|
|
4
|
+
import { d as e, n as m, a as r, t as p } from "../../Shared/index-DoxFaAkn.js";
|
|
4
5
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
import { createPopper as f } from "@popperjs/core";
|
|
7
|
-
import { C as d } from "../../Shared/index-B477PjJ3.js";
|
|
8
|
-
const m = ["click", "hover", "focus"], c = { fade: "fade", show: "show" }, u = {
|
|
9
|
-
type: "tooltip",
|
|
10
|
-
placement: "top",
|
|
11
|
-
trigger: "click",
|
|
12
|
-
theme: "white",
|
|
13
|
-
wrap: "body",
|
|
14
|
-
template: "",
|
|
15
|
-
contentBody: "",
|
|
16
|
-
contentHeader: "",
|
|
17
|
-
selectorBody: "",
|
|
18
|
-
selectorHead: "",
|
|
19
|
-
selectorArrow: ".arrow",
|
|
20
|
-
isLoad: !1,
|
|
21
|
-
loadOnCallback: null,
|
|
22
|
-
loadOffCallback: null,
|
|
23
|
-
isRunTrigger: !0,
|
|
24
|
-
isStopPropagation: !0,
|
|
25
|
-
isInitShow: !0,
|
|
26
|
-
isHtml: !0,
|
|
27
|
-
className: ""
|
|
28
|
-
};
|
|
29
|
-
class g {
|
|
30
|
-
elementModal;
|
|
31
|
-
optionModal;
|
|
32
|
-
pageData;
|
|
33
|
-
pageObject;
|
|
34
|
-
constructor(e, o) {
|
|
35
|
-
this.elementModal = {}, this.elementModal.rely = e, this.optionModal = i.getJsonMerge(u, o), this.pageData = {
|
|
36
|
-
isOpen: !1,
|
|
37
|
-
events: [],
|
|
38
|
-
scrollParents: []
|
|
39
|
-
}, this.pageObject = null, [
|
|
40
|
-
"listenerOn",
|
|
41
|
-
"listenerOff",
|
|
42
|
-
"listenerHide",
|
|
43
|
-
"listenerRelatedMouseLeave",
|
|
44
|
-
"onScrollParentScroll"
|
|
45
|
-
].forEach((l) => {
|
|
46
|
-
this[l] = this[l].bind(this);
|
|
47
|
-
}), this.init();
|
|
48
|
-
}
|
|
49
|
-
init() {
|
|
50
|
-
if (!i.isEmpty(this.optionModal.template)) {
|
|
51
|
-
const e = this.getEventType();
|
|
52
|
-
this.setEventListener(e);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
getEventType() {
|
|
56
|
-
const e = [], o = [];
|
|
57
|
-
let l = [];
|
|
58
|
-
return i.isArray(this.optionModal.trigger) ? l = this.optionModal.trigger : i.isString(this.optionModal.trigger) && (l = this.optionModal.trigger.split(",")), l.forEach((a) => {
|
|
59
|
-
switch (i.isExistValue(m, a) ? a : "") {
|
|
60
|
-
case "hover":
|
|
61
|
-
e.push("mouseenter"), o.push("mouseleave");
|
|
62
|
-
break;
|
|
63
|
-
case "focus":
|
|
64
|
-
e.push("focus"), o.push("blur");
|
|
65
|
-
break;
|
|
66
|
-
case "click":
|
|
67
|
-
e.push("click"), o.push("click");
|
|
68
|
-
break;
|
|
69
|
-
}
|
|
70
|
-
}), { on: e, off: o };
|
|
71
|
-
}
|
|
72
|
-
setEventListener(e) {
|
|
73
|
-
i.isEmpty(e.on) || e.on.forEach((o) => {
|
|
74
|
-
this.pageData.events.push({ on: o, func: this.listenerOn, eventName: o }), this.elementModal.rely.addEventListener(o, this.listenerOn);
|
|
75
|
-
}), i.isEmpty(e.off) || e.off.forEach((o) => {
|
|
76
|
-
this.pageData.events.push({ off: o, func: this.listenerOff, eventName: o }), this.elementModal.rely.addEventListener(o, this.listenerOff);
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
listenerOn(e) {
|
|
80
|
-
if (this.optionModal.isInitShow) {
|
|
81
|
-
if (this.optionModal.isStopPropagation && (e.preventDefault(), e.stopPropagation()), this.pageData.isOpen || !this.optionModal.isRunTrigger)
|
|
82
|
-
return;
|
|
83
|
-
e.useOpenToTip = !0, this.show(), this.optionModal.isLoad && i.isFunction(this.optionModal.loadOnCallback) && this.optionModal.loadOnCallback();
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
listenerOff(e) {
|
|
87
|
-
!this.optionModal.isRunTrigger || i.isBoolean(e.useOpenToTip) && e.useOpenToTip || (this.hide(e), this.optionModal.isLoad && i.isFunction(this.optionModal.loadOffCallback) && this.optionModal.loadOffCallback());
|
|
88
|
-
}
|
|
89
|
-
show() {
|
|
90
|
-
if (i.isString(this.optionModal.wrap)) {
|
|
91
|
-
const e = window.document.querySelector(this.optionModal.wrap);
|
|
92
|
-
if (i.isUndefined(e))
|
|
93
|
-
return;
|
|
94
|
-
}
|
|
95
|
-
this.pageData.isOpen || this.operateShow();
|
|
96
|
-
}
|
|
97
|
-
operateShow() {
|
|
98
|
-
if (!this.pageData.isOpen) {
|
|
99
|
-
if (this.pageData.isOpen = !0, i.isUndefined(this.elementModal.tip)) {
|
|
100
|
-
this.elementModal.tip = this.createElement();
|
|
101
|
-
const o = this.getWrapElement();
|
|
102
|
-
i.isUndefined(o) || o.appendChild(this.elementModal.tip);
|
|
103
|
-
const l = {
|
|
104
|
-
placement: this.optionModal.placement
|
|
105
|
-
};
|
|
106
|
-
l.modifiers = [
|
|
107
|
-
{
|
|
108
|
-
name: "offset",
|
|
109
|
-
options: {
|
|
110
|
-
offset: [0, 8]
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
], this.pageObject = f(
|
|
114
|
-
this.elementModal.rely,
|
|
115
|
-
this.elementModal.tip,
|
|
116
|
-
l
|
|
117
|
-
);
|
|
118
|
-
} else
|
|
119
|
-
this.elementModal.tip.style.opacity = "", this.elementModal.tip.style.pointerEvents = "", this.pageObject.setOptions({
|
|
120
|
-
modifiers: [{ name: "eventListeners", enabled: !0 }]
|
|
121
|
-
});
|
|
122
|
-
this.setContentBody(this.optionModal.contentBody), this.setContentHeader(this.optionModal.contentHeader);
|
|
123
|
-
const e = [
|
|
124
|
-
c.fade,
|
|
125
|
-
c.show,
|
|
126
|
-
`bs-${this.optionModal.type}-${this.optionModal.placement}`,
|
|
127
|
-
`tooltip-${this.optionModal.theme}`
|
|
128
|
-
];
|
|
129
|
-
i.isEmpty(this.optionModal.className) || this.optionModal.className.split(" ").forEach((o) => {
|
|
130
|
-
i.isEmpty(o) || e.push(o);
|
|
131
|
-
}), this.elementModal.tip.className = d.getAddClass(
|
|
132
|
-
this.elementModal.tip.className,
|
|
133
|
-
e
|
|
134
|
-
), setTimeout(() => {
|
|
135
|
-
this.pageObject.update();
|
|
136
|
-
}, 50), this.pageData.scrollParents = this.getScrollParents(), i.isEmpty(this.pageData.scrollParents) || this.pageData.scrollParents.forEach((o) => {
|
|
137
|
-
o.addEventListener("scroll", this.onScrollParentScroll, { passive: !0 });
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
createElement() {
|
|
142
|
-
const e = window.document.createElement("div");
|
|
143
|
-
return e.innerHTML = this.optionModal.template, e.childNodes[0];
|
|
144
|
-
}
|
|
145
|
-
setContentBody(e) {
|
|
146
|
-
if (!i.isEmpty(this.optionModal.selectorBody) && !i.isEmpty(e))
|
|
147
|
-
if (i.isUndefined(this.elementModal.tip))
|
|
148
|
-
this.optionModal.contentBody = e;
|
|
149
|
-
else {
|
|
150
|
-
const o = this.elementModal.tip.querySelector(this.optionModal.selectorBody);
|
|
151
|
-
if (!i.isUndefined(o)) {
|
|
152
|
-
if (this.optionModal.isHtml) {
|
|
153
|
-
const l = e.replace(/\\n/g, "<br>").replace(/\n/g, "<br>");
|
|
154
|
-
o.innerHTML = l;
|
|
155
|
-
} else
|
|
156
|
-
o.innerText = e;
|
|
157
|
-
this.optionModal.contentBody = e, this.pageObject.update();
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
setInitShow(e) {
|
|
162
|
-
this.optionModal.isInitShow = e;
|
|
163
|
-
}
|
|
164
|
-
setContentHeader(e) {
|
|
165
|
-
if (!i.isEmpty(this.optionModal.selectorHead)) {
|
|
166
|
-
const o = this.elementModal.tip.querySelector(this.optionModal.selectorHead);
|
|
167
|
-
if (!i.isUndefined(o)) {
|
|
168
|
-
const l = i.isEmpty(e) ? "" : e;
|
|
169
|
-
this.optionModal.isHtml ? o.innerHTML = l : o.innerText = l, this.optionModal.contentHeader = l, this.pageObject.update();
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
getWrapElement() {
|
|
174
|
-
let e;
|
|
175
|
-
return i.isString(this.optionModal.wrap) ? e = window.document.querySelector(this.optionModal.wrap) : this.optionModal.wrap === !1 && (e = this.elementModal.rely.parentNode), e;
|
|
176
|
-
}
|
|
177
|
-
// 查找触发元素的所有可滚动祖先(overflow: auto/scroll/overlay)
|
|
178
|
-
getScrollParents() {
|
|
179
|
-
const e = [];
|
|
180
|
-
let o = this.elementModal.rely.parentElement;
|
|
181
|
-
for (; o; ) {
|
|
182
|
-
const l = window.getComputedStyle(o), a = l.overflow + l.overflowX + l.overflowY;
|
|
183
|
-
/auto|scroll|overlay/.test(a) && e.push(o), o = o.parentElement;
|
|
184
|
-
}
|
|
185
|
-
return e;
|
|
186
|
-
}
|
|
187
|
-
// 判断触发元素在滚动祖先中是否可见(有任意重叠即视为可见)
|
|
188
|
-
isVisibleInScrollParents() {
|
|
189
|
-
const e = this.elementModal.rely.getBoundingClientRect();
|
|
190
|
-
for (const o of this.pageData.scrollParents) {
|
|
191
|
-
const l = o.getBoundingClientRect();
|
|
192
|
-
if (!!(e.right <= l.left || e.left >= l.right || e.bottom <= l.top || e.top >= l.bottom))
|
|
193
|
-
return !1;
|
|
194
|
-
}
|
|
195
|
-
return !0;
|
|
196
|
-
}
|
|
197
|
-
// 滚动事件回调:按钮滚出可视区 → opacity 隐藏;滚回来 → 恢复
|
|
198
|
-
onScrollParentScroll() {
|
|
199
|
-
if (!this.pageData.isOpen || !this.elementModal.tip)
|
|
200
|
-
return;
|
|
201
|
-
const e = this.isVisibleInScrollParents();
|
|
202
|
-
this.elementModal.tip.style.opacity = e ? "" : "0", this.elementModal.tip.style.pointerEvents = e ? "" : "none";
|
|
203
|
-
}
|
|
204
|
-
hide(e) {
|
|
205
|
-
if (!this.pageData.isOpen || !document.body.contains(this.elementModal.tip))
|
|
206
|
-
return;
|
|
207
|
-
let o = !0;
|
|
208
|
-
if (e.type === "mouseleave") {
|
|
209
|
-
const l = e.relatedreference || e.toElement || e.relatedTarget;
|
|
210
|
-
this.elementModal.tip.contains(l) && (o = !1, this.elementModal.tip.addEventListener(e.type, this.listenerRelatedMouseLeave));
|
|
211
|
-
}
|
|
212
|
-
o && this.operateHide();
|
|
213
|
-
}
|
|
214
|
-
listenerRelatedMouseLeave(e) {
|
|
215
|
-
const o = e.relatedreference || e.toElement || e.relatedTarget;
|
|
216
|
-
this.elementModal.tip.removeEventListener(e.type, this.listenerRelatedMouseLeave), this.elementModal.rely.contains(o) || this.hide(e);
|
|
217
|
-
}
|
|
218
|
-
operateHide() {
|
|
219
|
-
this.pageData.isOpen && (this.pageData.isOpen = !1, i.isEmpty(this.pageData.scrollParents) || (this.pageData.scrollParents.forEach((e) => {
|
|
220
|
-
e.removeEventListener("scroll", this.onScrollParentScroll);
|
|
221
|
-
}), this.pageData.scrollParents = []), this.pageObject.setOptions({
|
|
222
|
-
modifiers: [{ name: "eventListeners", enabled: !1 }]
|
|
223
|
-
}), this.elementModal.tip.className = d.getRemoveClass(
|
|
224
|
-
this.elementModal.tip.className,
|
|
225
|
-
c.show
|
|
226
|
-
), this.elementModal.tip.removeEventListener("mouseenter", this.listenerHide), this.elementModal.tip.removeEventListener("click", this.listenerHide), this.elementModal.tip.parentNode.removeChild(this.elementModal.tip), this.elementModal.tip = null);
|
|
227
|
-
}
|
|
228
|
-
listenerHide() {
|
|
229
|
-
this.operateHide();
|
|
230
|
-
}
|
|
231
|
-
setRunTrigger(e) {
|
|
232
|
-
this.optionModal.isRunTrigger = e;
|
|
233
|
-
}
|
|
234
|
-
dispose() {
|
|
235
|
-
this.pageData.events.forEach(({ eventName: e, func: o }) => {
|
|
236
|
-
this.elementModal.rely.removeEventListener(e, o);
|
|
237
|
-
}), this.pageData.events = [], this.pageObject && (this.operateHide(), this.pageObject.destroy());
|
|
238
|
-
}
|
|
239
|
-
clShow() {
|
|
240
|
-
this.operateShow();
|
|
241
|
-
}
|
|
242
|
-
clHide() {
|
|
243
|
-
this.operateHide();
|
|
244
|
-
}
|
|
245
|
-
clToggle() {
|
|
246
|
-
this.pageData.isOpen ? this.operateHide() : this.operateShow();
|
|
247
|
-
}
|
|
248
|
-
clSetContentBody(e) {
|
|
249
|
-
this.setContentBody(e);
|
|
250
|
-
}
|
|
251
|
-
clSetContentHeader(e) {
|
|
252
|
-
this.setContentHeader(e);
|
|
253
|
-
}
|
|
254
|
-
clSetRunTrigger(e) {
|
|
255
|
-
this.setRunTrigger(e);
|
|
256
|
-
}
|
|
257
|
-
clSetInitShow(e) {
|
|
258
|
-
this.setInitShow(e);
|
|
259
|
-
}
|
|
260
|
-
clDispose() {
|
|
261
|
-
this.dispose();
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
const s = {
|
|
265
|
-
positions: {
|
|
266
|
-
top: "top",
|
|
267
|
-
topLeft: "top-start",
|
|
268
|
-
topRight: "top-end",
|
|
269
|
-
right: "right",
|
|
270
|
-
rightTop: "right-start",
|
|
271
|
-
rightBottom: "right-end",
|
|
272
|
-
bottom: "bottom",
|
|
273
|
-
bottomLeft: "bottom-start",
|
|
274
|
-
bottomRight: "bottom-end",
|
|
275
|
-
left: "left",
|
|
276
|
-
leftTop: "left-start",
|
|
277
|
-
leftBottom: "left-end"
|
|
278
|
-
},
|
|
279
|
-
triggers: ["hover", "click", "focus"],
|
|
280
|
-
themes: ["white", "black"],
|
|
281
|
-
options: {
|
|
282
|
-
position: "top",
|
|
283
|
-
// top | topLeft | topRight | right | rightTop | rightBottom | bottom | bottomLeft | bottomRight | left | leftTop | leftBottom
|
|
284
|
-
trigger: "hover",
|
|
285
|
-
// hover | focus | click
|
|
286
|
-
theme: "white",
|
|
287
|
-
// white | black
|
|
288
|
-
template: "<div class='tooltip'><div class='tooltip-inner'></div><div class='arrow' data-popper-arrow></div></div>",
|
|
289
|
-
selectorBody: ".tooltip-inner",
|
|
290
|
-
selectorArrow: ".arrow",
|
|
291
|
-
isHtml: !0,
|
|
292
|
-
isRunTrigger: !0,
|
|
293
|
-
isFixedVisible: !1,
|
|
294
|
-
// todo 待定
|
|
295
|
-
isStopPropagation: !0,
|
|
296
|
-
className: ""
|
|
297
|
-
},
|
|
298
|
-
bind: (t, e) => {
|
|
299
|
-
s.create(t, e);
|
|
300
|
-
},
|
|
301
|
-
create: (t, e) => {
|
|
302
|
-
if (i.isObject(e) && !i.isUndefined(e.value) && s.getIsInit(e)) {
|
|
303
|
-
const l = s._getValueHtml(e.value);
|
|
304
|
-
if (!i.isEmpty(l)) {
|
|
305
|
-
const a = s.getOptions();
|
|
306
|
-
a.contentBody = l, a.placement = s.getPosition(e), a.trigger = s.getTrigger(e), a.theme = s.getTheme(e), a.isHtml = s.getIsHtml(e), a.isFixedVisible = s.getFixedVisible(e), a.isStopPropagation = s.getStopPropagation(e), a.className = s.getClassName(e);
|
|
307
|
-
try {
|
|
308
|
-
const n = new g(t, a);
|
|
309
|
-
n._vueEl = t, t._tooltip = n;
|
|
310
|
-
} catch {
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
getIsInit: (t) => i.isObject(t.value) && i.isBoolean(t.value.init) ? t.value.init : !0,
|
|
316
|
-
getOptions: () => i.getJsonClone(s.options),
|
|
317
|
-
_getValueHtml: (t) => {
|
|
318
|
-
let e = "";
|
|
319
|
-
switch (i.getTypeof(t)) {
|
|
320
|
-
case "string":
|
|
321
|
-
case "number":
|
|
322
|
-
e = t.toString();
|
|
323
|
-
break;
|
|
324
|
-
case "object":
|
|
325
|
-
i.isEmpty(t.html) || (e = t.html);
|
|
326
|
-
break;
|
|
327
|
-
default:
|
|
328
|
-
e = "";
|
|
329
|
-
}
|
|
330
|
-
return e;
|
|
331
|
-
},
|
|
332
|
-
getPosition: (t) => {
|
|
333
|
-
let e = i.isObject(t.value) ? t.value.position : "";
|
|
334
|
-
if (i.isEmpty(e))
|
|
335
|
-
for (const [o, l] of Object.entries(s.positions))
|
|
336
|
-
t.modifiers[o] && (e = l);
|
|
337
|
-
else
|
|
338
|
-
i.isExistJsonKey(s.positions, e) && (e = s.positions[e]);
|
|
339
|
-
return i.isEmpty(e) ? s.options.position : e;
|
|
340
|
-
},
|
|
341
|
-
getTrigger: (t) => {
|
|
342
|
-
let e = i.isObject(t.value) ? t.value.trigger : "";
|
|
343
|
-
return i.isEmpty(e) && s.triggers.forEach((o) => {
|
|
344
|
-
t.modifiers[o] && (e = o);
|
|
345
|
-
}), i.isEmpty(e) ? s.options.trigger : e;
|
|
346
|
-
},
|
|
347
|
-
getTheme: (t) => {
|
|
348
|
-
let e = i.isObject(t.value) ? t.value.theme : "";
|
|
349
|
-
return i.isEmpty(e) && s.themes.forEach((o) => {
|
|
350
|
-
t.modifiers[o] && (e = o);
|
|
351
|
-
}), i.isEmpty(e) ? s.options.theme : e;
|
|
352
|
-
},
|
|
353
|
-
getIsHtml: (t) => {
|
|
354
|
-
const e = i.isObject(t.value) ? t.value.isHtml : !0;
|
|
355
|
-
return i.isBoolean(e) ? e : s.options.isHtml;
|
|
356
|
-
},
|
|
357
|
-
getIsRunTrigger: (t) => i.isObject(t) && i.isBoolean(t.isRunTrigger) ? t.isRunTrigger : !0,
|
|
358
|
-
getFixedVisible: (t) => {
|
|
359
|
-
const e = i.isObject(t.value) ? t.value.isFixedVisible : !1;
|
|
360
|
-
return i.isBoolean(e) ? e : s.options.isFixedVisible;
|
|
361
|
-
},
|
|
362
|
-
getStopPropagation: (t) => {
|
|
363
|
-
const e = i.isObject(t.value) ? t.value.isStopPropagation : !1;
|
|
364
|
-
return i.isBoolean(e) ? e : s.options.isStopPropagation;
|
|
365
|
-
},
|
|
366
|
-
getClassName: (t) => {
|
|
367
|
-
const e = i.isObject(t.value) ? t.value.className : "";
|
|
368
|
-
return i.isEmpty(e) ? s.options.className : e;
|
|
369
|
-
},
|
|
370
|
-
update: (t, e) => {
|
|
371
|
-
const o = s.getIsInit(e);
|
|
372
|
-
if (o) {
|
|
373
|
-
!t._tooltip && o && s.create(t, e);
|
|
374
|
-
const l = s._getValueHtml(e.value), a = s._getValueHtml(e.oldValue), n = i.isObject(e.value);
|
|
375
|
-
let p = !1;
|
|
376
|
-
if (l !== a)
|
|
377
|
-
p = !0;
|
|
378
|
-
else if (n && !i.isUndefined(e.value.updRefreshInx)) {
|
|
379
|
-
const r = e.value.updRefreshInx, h = e.oldValue.updRefreshInx;
|
|
380
|
-
r !== h && (p = !0);
|
|
381
|
-
}
|
|
382
|
-
if (t._tooltip) {
|
|
383
|
-
p && t._tooltip.clSetContentBody(l), t._tooltip.clSetInitShow(o);
|
|
384
|
-
const r = s.getIsRunTrigger(e.value), h = s.getIsRunTrigger(e.oldValue);
|
|
385
|
-
(!r || !o) && t._tooltip.clHide(), r !== h && t._tooltip.clSetRunTrigger(r);
|
|
386
|
-
}
|
|
387
|
-
} else
|
|
388
|
-
s.destroy(t);
|
|
389
|
-
},
|
|
390
|
-
destroy: (t) => {
|
|
391
|
-
t._tooltip && (t._tooltip.clDispose(), delete t._tooltip);
|
|
392
|
-
},
|
|
393
|
-
show: (t) => {
|
|
394
|
-
t._tooltip && t._tooltip.clShow();
|
|
395
|
-
},
|
|
396
|
-
hide: (t) => {
|
|
397
|
-
t._tooltip && t._tooltip.clHide();
|
|
398
|
-
}
|
|
399
|
-
}, O = "clTooltip", E = () => ({
|
|
400
|
-
deep: !0,
|
|
401
|
-
mounted: s.bind,
|
|
402
|
-
updated: s.update,
|
|
403
|
-
unmounted: s.destroy
|
|
404
|
-
}), S = {
|
|
405
|
-
mounted: s.bind,
|
|
406
|
-
updated: s.update
|
|
407
|
-
}, T = {
|
|
408
|
-
show: s.show,
|
|
409
|
-
hide: s.hide
|
|
410
|
-
};
|
|
6
|
+
import "../../Shared/base-fr2I80sU.js";
|
|
411
7
|
export {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
8
|
+
e as directive,
|
|
9
|
+
m as name,
|
|
10
|
+
r as tooltipCommon,
|
|
11
|
+
p as tooltipDirectives
|
|
416
12
|
};
|