@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"),t=require("../Shared/base-DbuX_Y3x.js"),ae=require("../Shared/Index.vue_vue_type_script_setup_true_lang-CyYCIkzr.js"),le=require("../Shared/List.vue_vue_type_script_setup_true_lang-DJAqJJnH.js"),Y=require("../Shared/log-C2ZbqiAV.js"),ne=require("../Shared/index-rFJmbgyH.js"),re=require("../Shared/Index.vue_vue_type_script_setup_true_lang-M72THnHz.js"),Q=require("../Shared/One.vue_vue_type_script_setup_true_lang-BKTdt1M7.js"),se=require("../Shared/language-Q4AGYtUe.js"),oe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-B4dpfPSy.js");;/* empty css */const ce=["onClick"],ie=["innerHTML"],me=e.defineComponent({name:"ClSelectMoveSearchUl",__name:"SearchTree",props:{list:{type:Array,default:()=>[]}},emits:{onClick:u=>!0},setup(u,{emit:q}){const a=q,m=`selectmove-search-tree-${t.CommonBase.getRandom(5)}`,A=L=>{t.CommonBase.isUndefined(L)||a("onClick",L.toString())};return(L,N)=>{const h=e.resolveComponent("cl-select-move-search-ul");return e.openBlock(),e.createElementBlock("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.list,(s,T)=>(e.openBlock(),e.createElementBlock("li",{key:`${m}-${s.id}-${T}`},[e.createElementVNode("a",{href:"javascript:",tabindex:"-1",class:e.normalizeClass({"tree-hig":s.isHig,"tree-active":s.isSelected}),onClick:e.withModifiers(P=>A(s.id),["stop"])},[e.createVNode(Q._sfc_main,{value:s.isSelected,indeterminate:s.isIndeterminate},null,8,["value","indeterminate"]),e.createElementVNode("span",{class:"tree-text",innerHTML:s.showTextLabel},null,8,ie)],10,ce),s.list&&s.list.length>0?(e.openBlock(),e.createBlock(h,{key:0,list:s.list,onOnClick:A},null,8,["list"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))]))),128))])}}}),de={class:"selectmove-search-list"},ue={key:1},he={class:"selectmove-search-empty"},pe=1e3,fe=e.defineComponent({name:"ClSelectMoveSearch",__name:"Search",props:{disabled:Boolean,placeholder:String,width:Number,searchKey:{type:Array,default:()=>["name"]},searchKeyType:{type:String,default:"||"},searchIsMultiple:{type:Boolean,default:!1},searchMultipleJoin:{type:String,default:","},searchTextFormat:[String,Array],selectId:{type:Array,default:()=>[]},parentKey:{type:String,default:"parentId"},topParentValue:{type:String,default:"0"}},emits:{onChange:u=>!0},setup(u,{emit:q}){const a=u,m=q,{optPageLanguage:A,getPageLanguage:L}=se.useLanguage();L("common");const N=e.inject("$SelectmoveTop"),h=e.inject("$SelectmoveBase");if(t.CommonBase.isUndefined(N)||t.CommonBase.isUndefined(h))throw new Error("SelectMove.Search 缺少容器依赖($SelectmoveTop/$SelectmoveBase),请确保在 ClSelectMove 内使用");const s=e.reactive({isOpen:!1,isInitSelect:!1}),T=e.ref([]),P=e.ref([]);let D="",F=[];const O={jsonSelectIds:{},jsonSelectHalfIds:{}},R=e.computed(()=>({"selectmove-search-input":!0,"selectmove-search-open":s.isOpen})),W=e.computed(()=>({"selectmove-search-dropdown":!0,"selectmove-search-open":s.isOpen})),r=e.computed(()=>{const l={};return a.width&&a.width>0&&(l.width=`${a.width}px`),l}),f=()=>{m("onChange",P.value.join(","))},g=()=>{s.isOpen=!1,T.value=[]},B=l=>{const v=h.convertSelectHalf(l);P.value=l,O.jsonSelectHalfIds=t.CommonBase.getArrConvertJson(v),O.jsonSelectIds=t.CommonBase.getArrConvertJson(l)},E=l=>{const v=l.toLowerCase().trim();if(v===D)return F;const k=[];if(t.CommonBase.isEmpty(a.searchKey))return Y.clLog.warn("ClSelectMoveSearch","SelectMove.Search searchKey 为空,搜索将无结果"),D=v,F=k,k;const _=t.CommonBase.isNonEmptyString(a.searchMultipleJoin)?a.searchMultipleJoin:",",M=a.searchIsMultiple?v.split(_).map(n=>n.trim()):[v],j=a.searchKey.length,G=a.searchKey,$=N.getDataList();return t.CommonBase.isArray($)?($.forEach(n=>{if(t.CommonBase.isUndefined(n)||t.CommonBase.isUndefined(n.id)||!t.CommonBase.isString(n.id)&&!t.CommonBase.isNumber(n.id))return;const o=n.id.toString(),y=[];let S=0;for(let x=0;x<j;x++){const K=n[G[x]];if(!t.CommonBase.isString(K)){S++;continue}const J=K.toLowerCase();let H=!1;for(let U=0;U<M.length;U++)if(M[U].length>0&&J.indexOf(M[U])>-1){H=!0;break}H&&y.push(!0)}if(y.length>0)switch(a.searchKeyType){case"||":k.push(o);break;case"&&":y.length===j-S&&k.push(o);break;default:Y.clLog.warn("ClSelectMoveSearch",`SelectMove.Search searchKeyType 未知值「${a.searchKeyType}」,按 || 兜底`),k.push(o);break}}),D=v,F=k,k):(D=v,F=k,k)},I=(l,v,k,_,M)=>{const j=[],G=M||[];return t.CommonBase.isExistJsonKey(v,l)&&v[l].forEach($=>{if(G.indexOf($)>-1)return;const n=G.concat([$]),o=t.CommonBase.getJsonClone(N.getDataInfo($));if(t.CommonBase.isEmpty(o))return;let y=t.CommonBase.isNonEmptyString(o.name)?t.CommonBase.encodeHTML(o.name):"";const S=a.searchTextFormat;if(S&&S.length>0){let J="";t.CommonBase.isArray(S)?S.length>k&&(J=S[k]):t.CommonBase.isString(S)&&(J=S),t.CommonBase.isEmpty(J)||(y=t.CommonBase.convertStringFormatEncodeHTML(J,o))}o.showTextLabel=y;let x=!1,K=t.CommonBase.isExistJsonKey(v,$);K?o.list=I($,v,k+1,_,n):(x=!0,o.list=[],N.getDataGroup($).length>0&&(K=!0,x=!1)),o.isIndeterminate=t.CommonBase.isExistJsonKey(O.jsonSelectHalfIds,$),o.isSelected=t.CommonBase.isExistJsonKey(O.jsonSelectIds,$),o.isChild=K,o.isLast=x,o.treeLevel=k,o.isHig=t.CommonBase.isExistJsonKey(_,$),j.push(o)}),j},w=l=>{if(l.length===0)return[];const{parentKey:v,topParentValue:k}=a,_={};let M=[];l.forEach($=>{_[$]=!0;const n=h.getParentIds($);M.push(...n),M.push($)}),M=t.CommonBase.getArrUnique(M);const j={};M.forEach($=>{const n=N.getDataInfo($);if(t.CommonBase.isUndefined(n))return;const o=n[v],y=t.CommonBase.isEmpty(o)?k:o.toString(),S=y===k?N.getTopParentValue():y;t.CommonBase.isExistJsonKey(j,S)||(j[S]=[]),j[S].push($)});const G=N.getTopParentValue();return t.CommonBase.isExistJsonKey(j,G)||Y.clLog.warn("ClSelectMoveSearch","SelectMove.Search 数据存在环或祖先链断裂,搜索结果可能为空"),I(G,j,0,_)},c=()=>{if(s.isInitSelect=!1,!t.CommonBase.isEqualArr(a.selectId,P.value)){const v=h.convertSelectedValue(a.selectId,!0,[]);B(v)}},p=l=>{if(t.CommonBase.isNonEmptyString(l)){s.isInitSelect&&c();const v=E(l),k=w(v);T.value=k,s.isOpen=!0}else g()},d=l=>{const v=[];return l.forEach(k=>{const _=t.CommonBase.getJsonClone(k);if(t.CommonBase.isUndefined(_)||t.CommonBase.isUndefined(_.id))return;const M=_.id.toString();_.isIndeterminate=t.CommonBase.isExistJsonKey(O.jsonSelectHalfIds,M),_.isSelected=t.CommonBase.isExistJsonKey(O.jsonSelectIds,M),_.list&&_.list.length>0&&(_.list=d(_.list)),v.push(_)}),v},i=l=>{if(s.isOpen){const v=ne.CommonElement.getParent(l.target,".selectmove-search");t.CommonBase.isUndefined(v)&&(s.isOpen=!1)}};e.onUnmounted(()=>{document.body.removeEventListener("click",i)}),e.watch(()=>s.isOpen,l=>{l?document.body.addEventListener("click",i):document.body.removeEventListener("click",i)}),e.watch(()=>a.selectId,()=>{s.isInitSelect=!0,s.isOpen&&(c(),T.value=d(T.value))},{immediate:!0}),e.watch(()=>[a.searchKey,a.searchKeyType,a.searchIsMultiple,a.searchMultipleJoin],()=>{D="",F=[]});const C=l=>{p(l)},b=l=>{s.isOpen||p(l)},V=l=>{const v=t.CommonBase.isExistJsonKey(O.jsonSelectIds,l),k=h.convertSelectedValue(l,!v,P.value);B(k),T.value=d(T.value),f()};return(l,v)=>(e.openBlock(),e.createElementBlock("div",{class:"selectmove-search",style:e.normalizeStyle(r.value)},[e.createElementVNode("div",{class:e.normalizeClass(R.value)},[e.createVNode(re._sfc_main,{placeholder:u.placeholder,disabled:u.disabled,changeDelayTime:pe,onOnChange:C,onOnFocus:b},null,8,["placeholder","disabled"])],2),s.isOpen?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(W.value)},[e.createElementVNode("div",de,[T.value.length>0?(e.openBlock(),e.createBlock(me,{key:0,list:T.value,onOnClick:V},null,8,["list"])):(e.openBlock(),e.createElementBlock("ul",ue,[e.createElementVNode("li",he,e.toDisplayString(e.unref(A).noResultsText),1)]))])],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))],4))}}),ge={class:"selectmove-tree"},Ce={class:"selectmove-tree-head"},Se={class:"selectmove-tree-head-title"},Be={class:"selectmove-tree-body"},ye=["onClick"],Ie=["innerHTML"],ee=10,ve=e.defineComponent({name:"ClSelectMoveTree",__name:"Tree",props:{disabled:Boolean,maxWidth:Number,width:Number,treeTitle:{type:Array,default:()=>[]},treeShowMinLevel:{type:Number,default:1},treeTextFormat:[String,Array],selectId:{type:Array,default:()=>[]},dataRefreshIndex:Number},emits:{onChange:u=>!0},setup(u,{emit:q}){const a=u,m=q,A=e.inject("$SelectmoveTop"),L=e.inject("$SelectmoveBase");if(t.CommonBase.isUndefined(A)||t.CommonBase.isUndefined(L))throw new Error("SelectMove.Tree 缺少容器依赖($SelectmoveTop/$SelectmoveBase),请确保在 ClSelectMove 内使用");const N=`selectmove-tree-${t.CommonBase.getRandom(5)}`,h=e.reactive({selectIds:[],HalfSelectIds:[],openActiveId:[]}),s=e.ref([]),T=()=>{m("onChange",h.selectIds.join(","))},P=c=>{let p=0;const d=A.getDataGroup(c);if(d.length>0){const i=[],C=[];d.forEach(b=>{const V=b.id.toString();t.CommonBase.isExistValue(h.selectIds,V)&&i.push(V),t.CommonBase.isExistValue(h.HalfSelectIds,V)&&C.push(V)}),(C.length>0||i.length>0)&&(p=2),i.length>0&&i.length===d.length&&(p=1)}return p},D=(c,p,d)=>{const i={idx:c,pId:p,title:!t.CommonBase.isEmpty(a.treeTitle)&&a.treeTitle.length>c?a.treeTitle[c]:d,list:[],checkAll:0,sty:{}};if(a.width&&a.maxWidth&&a.width>0&&a.maxWidth>0){let C=a.width-3;const b=a.maxWidth/a.width;c+1>=b&&(C+=3),i.sty.width=`${C}px`}if(!t.CommonBase.isEmpty(p)){const C=A.getDataGroup(p);C.length>0&&(i.list=C.map(b=>{const V=b.id.toString(),l=t.CommonBase.getJsonClone(b);l.selected=t.CommonBase.isExistValue(h.selectIds,V),l.indeterminate=t.CommonBase.isExistValue(h.HalfSelectIds,V),l.isActive=t.CommonBase.isExistValue(h.openActiveId,V);const v=A.getDataGroup(V);l.isSub=v.length>0;let k=t.CommonBase.isNonEmptyString(b.name)?t.CommonBase.encodeHTML(b.name):"";const _=a.treeTextFormat;if(_&&_.length>0){let M="";t.CommonBase.isArray(_)?_.length>c&&(M=_[c]):t.CommonBase.isString(_)&&(M=_),t.CommonBase.isEmpty(M)||(k=t.CommonBase.convertStringFormatEncodeHTML(M,l))}return l.showTextLabel=k,l})),i.checkAll=P(p)}return i},F=c=>{const p=L.convertSelectedValue(c,!0,[]),d=L.convertSelectHalf(p);h.selectIds=p,h.HalfSelectIds=d},O=(c,p)=>{const d=[];if(s.value.forEach((i,C)=>{C<=c&&d.push(D(i.idx,i.pId,i.title))}),A.getDataGroup(p).length>0){const i=A.getDataInfo(p),C=t.CommonBase.isNonEmptyString(i&&i.name)?i.name:"";d.push(D(c+1,p,C))}s.value=d},R=(c,p)=>{const d=c.id.toString(),i=t.CommonBase.getArrClone(h.openActiveId);i.splice(p),i.push(d),h.openActiveId=i,O(p,d)},W=(c,p)=>{const d=L.convertSelectedValue(c,p,h.selectIds),i=L.convertSelectHalf(d);h.selectIds=d,h.HalfSelectIds=i,s.value=s.value.map(C=>D(C.idx,C.pId,C.title)),T()},r=c=>{const p=s.value.length,d=c||[];if(p>0&&h.selectIds.length>0){let i,C=-1;for(let b=p-1;b>=0;b--)if(s.value[b].list.some(l=>{if(l.selected||l.indeterminate)return i=l,!0})){C=b;break}if(C>-1&&!t.CommonBase.isUndefined(i)&&i.isSub){const b=i.id.toString();if(d.indexOf(b)>-1)return;d.push(b),R(i,C),r(d)}}},f=()=>{const c=[];return c.push(D(0,A.getTopParentValue(),"")),c};let g=null;const B=()=>{h.openActiveId=[],t.CommonBase.isEmpty(a.selectId)?(h.selectIds=[],h.HalfSelectIds=[]):F(a.selectId),s.value=f(),r(),g=t.CommonBase.getArrClone(a.selectId),a.treeShowMinLevel>1&&h.selectIds.length===0&&e.nextTick(()=>{const c=s.value.length,p=t.CommonBase.isFinite(a.treeShowMinLevel)?Math.min(a.treeShowMinLevel,ee):ee;if(p>c){const d=[];for(let i=c;i<p;i++)d.push(D(i,"",""));s.value=s.value.concat(d)}})};e.onMounted(()=>{e.nextTick(()=>{B()})}),e.watch(()=>a.dataRefreshIndex,()=>{B()}),e.watch(()=>a.selectId,c=>{(t.CommonBase.isUndefined(g)?!1:t.CommonBase.isEqualArr(c,g))||(g=t.CommonBase.getArrClone(c),F(c),s.value=s.value.map(d=>D(d.idx,d.pId,d.title)),r())});const E=(c,p)=>{const d=A.getDataGroup(p.toString()).map(i=>i.id.toString());W(d,c.value)},I=(c,p)=>{W(p.toString(),c.value)},w=(c,p,d)=>{if(a.disabled)return;const i=p.id.toString();if(t.CommonBase.isEmpty(A.getDataGroup(i))){if(ne.CommonElement.getParent(c.target,".selectmove-option-checkbox",".selectmove-option"))return;W(i.toString(),!t.CommonBase.isExistValue(h.selectIds,i))}R(p,d)};return(c,p)=>(e.openBlock(),e.createElementBlock("div",ge,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(d,i)=>(e.openBlock(),e.createElementBlock("div",{key:`${N}-tree-${i}`,class:"selectmove-tree-item",style:e.normalizeStyle(d.sty)},[e.createElementVNode("div",Ce,[e.withDirectives(e.createVNode(Q._sfc_main,{disabled:u.disabled,value:d.checkAll===1,indeterminate:d.checkAll===2,onOnChange:C=>E(C,d.pId)},null,8,["disabled","value","indeterminate","onOnChange"]),[[e.vShow,d.list.length>0]]),e.createElementVNode("div",Se,e.toDisplayString(d.title),1)]),e.createElementVNode("div",Be,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.list,(C,b)=>(e.openBlock(),e.createElementBlock("li",{key:`${N}-${C.id}-${b}`,class:e.normalizeClass({"selectmove-option":!0,active:C.isActive}),onClick:V=>w(V,C,i)},[e.createElementVNode("div",null,[e.createVNode(Q._sfc_main,{className:"selectmove-option-checkbox",disabled:u.disabled,value:C.selected,indeterminate:C.indeterminate,onOnChange:V=>I(V,C.id)},null,8,["disabled","value","indeterminate","onOnChange"]),e.createElementVNode("div",{class:"selectmove-option-text",innerHTML:C.showTextLabel},null,8,Ie),C.isSub?(e.openBlock(),e.createBlock(oe._sfc_main,{key:0,name:"angle-right",className:"sub-icon"})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))])],10,ye))),128))])])],4))),128)),e.renderSlot(c.$slots,"tail")]))}}),Ee={class:"selectmove-result"},xe={class:"selectmove-result-head"},_e=["innerHTML"],ke={class:"selectmove-result-body"},we=["innerHTML"],Te=e.defineComponent({name:"ClSelectMoveResult",__name:"Result",props:{disabled:Boolean,width:Number,resultCountFormat:String,resultTextFormat:String,resultMergeParent:Boolean,selectId:{type:Array,default:()=>[]},dataRefreshIndex:Number},emits:{onChange:u=>!0},setup(u,{emit:q}){const a=u,m=q,{optPageLanguage:A,getPageLanguage:L}=se.useLanguage();L("common");const N=e.inject("$SelectmoveTop"),h=e.inject("$SelectmoveBase");if(t.CommonBase.isUndefined(N)||t.CommonBase.isUndefined(h))throw new Error("SelectMove.Result 缺少容器依赖($SelectmoveTop/$SelectmoveBase),请确保在 ClSelectMove 内使用");const s=`selectmove-result-${t.CommonBase.getRandom(5)}`,T=e.ref([]),P=e.computed(()=>T.value.length),D=e.computed(()=>t.CommonBase.isNonEmptyString(a.resultCountFormat)?t.CommonBase.convertStringFormat(a.resultCountFormat,{_count:P.value}):`${A.value.selected} ${P.value} ${A.value.count}`),F=e.computed(()=>{const f={};return a.width&&a.width>0&&(f.width=`${a.width}px`),f}),O=f=>{m("onChange",f.join(","))},R=f=>{if(t.CommonBase.isEmpty(f))return[];const g=f.filter(I=>!t.CommonBase.isUndefined(I)&&!t.CommonBase.isEmpty(I)),B=a.resultMergeParent?h.getValueMergeParent(g):h.getValueSplitChild(g),E=[];return B.forEach(I=>{const w=N.getDataInfo(I);if(t.CommonBase.isUndefined(w))return;const c=t.CommonBase.getJsonClone(w);t.CommonBase.isNonEmptyString(a.resultTextFormat)?c.showTextLabel=t.CommonBase.convertStringFormatEncodeHTML(a.resultTextFormat,c):t.CommonBase.isNonEmptyString(c.name)?c.showTextLabel=t.CommonBase.encodeHTML(c.name):c.showTextLabel="",E.push(c)}),E};e.watch(()=>a.selectId,f=>{const B=(t.CommonBase.isEmpty(f)?[]:f).filter(w=>!t.CommonBase.isUndefined(w)&&!t.CommonBase.isEmpty(w)),E=T.value.map(w=>w.id.toString());t.CommonBase.isEqualArr(B,E)||(T.value=R(B))},{immediate:!0}),e.watch(()=>a.dataRefreshIndex,()=>{T.value=R(a.selectId)}),e.watch(()=>a.resultMergeParent,()=>{T.value=R(a.selectId)});const W=()=>{T.value=[],O([])},r=f=>{const g=[],B=[],E=f.id.toString();T.value.forEach(I=>{const w=I.id.toString();w!==E&&(B.push(I),g.push(w))}),T.value=B,O(g)};return(f,g)=>(e.openBlock(),e.createElementBlock("div",Ee,[e.createElementVNode("div",{class:"selectmove-result-container",style:e.normalizeStyle(F.value)},[e.createElementVNode("div",xe,[e.createElementVNode("span",null,[u.disabled?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):(e.openBlock(),e.createElementBlock("button",{key:0,class:"btn-cleanAll",type:"button",onClick:W},e.toDisplayString(e.unref(A).deleteAll),1))]),e.createElementVNode("span",{innerHTML:D.value},null,8,_e)]),e.createElementVNode("div",ke,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(B,E)=>(e.openBlock(),e.createElementBlock("li",{key:`${s}-${B.id}-${E}`},[e.createElementVNode("div",null,[e.createElementVNode("div",{innerHTML:B.showTextLabel},null,8,we),u.disabled?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):(e.openBlock(),e.createBlock(oe._sfc_main,{key:0,name:"close",className:"btn-clean",onClick:I=>r(B)},null,8,["onClick"]))])]))),128))])])],4)]))}}),be={class:"selectmove-body"},Me={key:0,class:"selectmove-result"},Le=100,Ve=175,te=e.defineComponent({name:"ClSelectMoveContainer",__name:"Container",props:{disabled:Boolean,width:Number,isSearch:{type:Boolean,default:!0},searchPlaceholder:String,searchKey:{type:Array,default:()=>["name"]},searchKeyType:{type:String,default:"||"},searchIsMultiple:{type:Boolean,default:!1},searchMultipleJoin:{type:String,default:","},searchTextFormat:[String,Array],treeTitle:{type:Array,default:()=>[]},treeShowMinLevel:{type:Number,default:1},treeTextFormat:[String,Array],resultIsShowSlot:Boolean,resultIsShowSubUnit:Boolean,resultTextFormat:String,resultCountFormat:String,resultMergeParent:{type:Boolean,default:!0},dataRefreshIndex:{type:Number,default:0},selectId:{type:Array,default:()=>[]},parentKey:{type:String,default:"parentId"},topParentValue:{type:String,default:"0"}},emits:{onSelectValue:u=>!0,onInitComplete:()=>!0},setup(u,{emit:q}){const a=u,m=q;let A=!1;const L=e.inject("$SelectmoveTop");if(t.CommonBase.isUndefined(L))throw new Error("SelectMove.Container 缺少容器依赖($SelectmoveTop),请确保在 ClSelectMove 内使用");const N=e.reactive({searchWidth:0,treeWidth:0,resultWidth:0}),h={parentIdsJson:Object.create(null),childIdJson:Object.create(null),childIdsJson:Object.create(null)},s=r=>{m("onSelectValue",r)},T=()=>{e.nextTick(()=>{A||m("onInitComplete")})},P=r=>{let f=[];return t.CommonBase.isExistJsonKey(h.childIdJson,r)?f=h.childIdJson[r]:L.isCheckChildren(r)&&(L.getDataGroup(r).forEach(g=>{t.CommonBase.isUndefined(g)||t.CommonBase.isUndefined(g.id)||f.push(g.id.toString())}),h.childIdJson[r]=f),f},D=(r,f)=>{let g=[];const B=f||[];return B.indexOf(r)>-1||(B.push(r),t.CommonBase.isExistJsonKey(h.childIdsJson,r)?g=h.childIdsJson[r]:(L.isCheckChildren(r)&&L.getDataGroup(r).forEach(E=>{if(t.CommonBase.isUndefined(E)||t.CommonBase.isUndefined(E.id))return;const I=E.id.toString();g.push(I);const w=D(I,B);w.length>0&&(g=g.concat(w))}),h.childIdsJson[r]=g)),g},F=(r,f)=>{const{parentKey:g,topParentValue:B}=a;let E=[];const I=f||[];if(I.indexOf(r)>-1)return E;if(I.push(r),t.CommonBase.isExistJsonKey(h.parentIdsJson,r))E=h.parentIdsJson[r];else{const w=L.getDataInfo(r);if(!t.CommonBase.isUndefined(w)){const c=w[g],p=t.CommonBase.isEmpty(c)?B:c.toString();if(p!==B&&!t.CommonBase.isUndefined(L.getDataInfo(p))){E.push(p);const d=F(p,I);d.length>0&&(E=E.concat(d))}}h.parentIdsJson[r]=E}return E},O=(r,f,g)=>{const B=(t.CommonBase.isUndefined(g)?[]:g).filter(i=>!t.CommonBase.isUndefined(i));if(t.CommonBase.isUndefined(r))return t.CommonBase.getArrClone(B);const E=t.CommonBase.isObject(r)?r:[r];if(!t.CommonBase.isArray(E))return t.CommonBase.getArrClone(B);const I=t.CommonBase.getArrConvertJson(B),w={},c=[],p=[];E.forEach(i=>{if(t.CommonBase.isUndefined(i))return;const C=[],b=[],V=i.toString();if(f){if(!(t.CommonBase.isExistJsonKey(I,V)||t.CommonBase.isExistJsonKey(w,V))){C.push(V);const v=D(V);v&&v.length>0&&C.push(...v);const k=F(V);for(let _=0;_<k.length;_++){const M=k[_].toString();if(t.CommonBase.isExistJsonKey(I,M)||t.CommonBase.isExistJsonKey(w,M))break;const j=P(M),G=[];if(j.forEach($=>{const n=$.toString();(t.CommonBase.isExistJsonKey(I,n)||t.CommonBase.isExistJsonKey(w,n)||C.indexOf(n)>-1)&&G.push(n)}),j.length===G.length)C.push(M);else break}}}else{b.push(V);const l=D(V);l&&l.length>0&&b.push(...l);const v=F(V);b.push(...v)}C.length>0&&C.forEach(l=>{c.push(l),w[l]=!0}),b.length>0&&b.forEach(l=>{p.push(l)})});let d=t.CommonBase.getArrClone(B);return d.push(...c),d=t.CommonBase.getArrUnique(d),d=t.CommonBase.getArrRemoveById(d,p),d},R=r=>{if(t.CommonBase.isUndefined(r)||!t.CommonBase.isArray(r))return[];const f=[],g={};r.forEach(I=>{g[I]=!0;const w=F(I);f.push(...w)});const B=[],E={};return f.forEach(I=>{!t.CommonBase.isExistJsonKey(E,I)&&!t.CommonBase.isExistJsonKey(g,I)&&(E[I]=!0,B.push(I))}),B},W=()=>{const r=a.width;if(r!==void 0&&t.CommonBase.isFinite(r)&&r>=350){const f=Math.floor(r/Ve),g=Math.floor(r/f);N.searchWidth=r,N.treeWidth=g,N.resultWidth=g}};return e.onMounted(()=>{W(),T()}),e.onBeforeUnmount(()=>{A=!0}),e.watch(()=>a.dataRefreshIndex,()=>{h.parentIdsJson=Object.create(null),h.childIdJson=Object.create(null),h.childIdsJson=Object.create(null)}),e.watch(()=>a.width,()=>{W()}),e.provide("$SelectmoveBase",{convertSelectedValue:(r,f,g)=>{let B=!1;if(f&&t.CommonBase.isObject(r)&&r.length>Le&&(B=!0),B){const E=L.getValueMergeParent(r);return O(E,f,g)}else return O(r,f,g)},convertSelectHalf:R,getChildIds:D,getParentIds:F,getLastChildIds:(r,f)=>L.getLastChildIds(r,f),getValueMergeParent:r=>L.getValueMergeParent(r),getValueSplitChild:r=>L.getValueSplitChild(r)}),(r,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[u.isSearch?(e.openBlock(),e.createBlock(fe,{key:0,disabled:u.disabled,width:N.searchWidth,placeholder:u.searchPlaceholder,searchKey:u.searchKey,searchKeyType:u.searchKeyType,searchIsMultiple:u.searchIsMultiple,searchMultipleJoin:u.searchMultipleJoin,searchTextFormat:u.searchTextFormat,selectId:u.selectId,parentKey:u.parentKey,topParentValue:u.topParentValue,onOnChange:s},null,8,["disabled","width","placeholder","searchKey","searchKeyType","searchIsMultiple","searchMultipleJoin","searchTextFormat","selectId","parentKey","topParentValue"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),e.createElementVNode("div",be,[e.createVNode(ve,{disabled:u.disabled,maxWidth:N.searchWidth,width:N.treeWidth,treeTitle:u.treeTitle,treeShowMinLevel:u.treeShowMinLevel,treeTextFormat:u.treeTextFormat,selectId:u.selectId,dataRefreshIndex:u.dataRefreshIndex,onOnChange:s},{tail:e.withCtx(()=>[u.resultIsShowSlot?(e.openBlock(),e.createElementBlock("div",Me,[e.renderSlot(r.$slots,"resultSelect")])):u.resultIsShowSubUnit?(e.openBlock(),e.createBlock(Te,{key:1,disabled:u.disabled,width:N.resultWidth,resultTextFormat:u.resultTextFormat,resultCountFormat:u.resultCountFormat,resultMergeParent:u.resultMergeParent,selectId:u.selectId,dataRefreshIndex:u.dataRefreshIndex,onOnChange:s},null,8,["disabled","width","resultTextFormat","resultCountFormat","resultMergeParent","selectId","dataRefreshIndex"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[],64))]),_:3},8,["disabled","maxWidth","width","treeTitle","treeShowMinLevel","treeTextFormat","selectId","dataRefreshIndex"])])],64))}}),Ae=["id"],Ne={className:"selectmove-text-num"},Je={class:"selectmove-container"},Ke=["id"],Pe=e.defineComponent({name:"ClSelectMove",__name:"Index",props:{id:String,value:String,className:String,disabled:{type:Boolean,default:!1},list:{type:Array,default:()=>[]},isDropdown:{type:Boolean,default:!1},placeholder:String,isClear:{type:Boolean,default:!1},containerWidth:{type:Number,default:350},isSearch:{type:Boolean,default:!0},searchPlaceholder:String,searchKey:{type:Array,default:()=>["name"]},searchKeyType:{type:String,default:"||"},searchIsMultiple:{type:Boolean,default:!1},searchMultipleJoin:{type:String,default:","},searchTextFormat:[String,Array],treeTitle:{type:Array,default:()=>[]},treeShowMinLevel:{type:Number,default:1},treeTextFormat:[String,Array],resultIsShow:{type:Boolean,default:!0},resultTextFormat:String,resultCountFormat:String,resultMergeParent:{type:Boolean,default:!0},isOutMerge:{type:Boolean,default:!0},parentKey:{type:String,default:"parentId"},topParentValue:{type:String,default:"0"},isPlaintext:{type:Boolean,default:!1},plaintextSeparator:{type:String,default:","},plaintextLevelSeparator:{type:String,default:" > "},appendContainer:{type:String,default:""}},emits:{"update:value":u=>!0,"update:modelValue":u=>!0,onChange:(u,q)=>!0,onInit:()=>!0},setup(u,{expose:q,emit:a}){const m=u,A=a,L=e.useSlots(),N=m.id,h=e.useTemplateRef("refElDropdownLayer"),s=e.reactive({dataRefreshIndex:0,selectedIds:[],IsShowResultSlot:!t.CommonBase.isUndefined(L.resultSelect),isInitEmitDone:!1}),T=e.ref([]),P={dataJson:{},dataGroup:{},childLastIdsJson:{}},D=e.computed(()=>({disabled:m.disabled,width:m.containerWidth,isSearch:m.isSearch,searchPlaceholder:m.searchPlaceholder,searchKey:m.searchKey,searchKeyType:m.searchKeyType,searchIsMultiple:m.searchIsMultiple,searchMultipleJoin:m.searchMultipleJoin,searchTextFormat:m.searchTextFormat,treeTitle:m.treeTitle,treeShowMinLevel:m.treeShowMinLevel,treeTextFormat:m.treeTextFormat,resultIsShowSubUnit:m.resultIsShow,resultIsShowSlot:s.IsShowResultSlot,resultTextFormat:m.resultTextFormat,resultCountFormat:m.resultCountFormat,resultMergeParent:m.resultMergeParent,parentKey:m.parentKey,topParentValue:m.topParentValue})),F=e.computed(()=>{let n="panel-selectmove ";return t.CommonBase.isNonEmptyString(m.className)&&(n+=m.className),m.isDropdown||m.disabled&&(n+=" selectmove-disabled "),n}),O=n=>{A("update:value",n),A("update:modelValue",n)},R=(n,o)=>{O(n),A("onChange",n,o)},W=()=>{A("onInit")},r=()=>m.list,f=n=>t.CommonBase.isExistJsonKey(P.dataGroup,n.toString()),g=n=>{const o=n.toString();return f(o)?P.dataGroup[o]:[]},B=n=>{const o=n.toString();return t.CommonBase.isExistJsonKey(P.dataJson,o)?P.dataJson[o]:null},E=()=>`top_${m.topParentValue}`,I=n=>{const{parentKey:o,topParentValue:y}=m,S={},x={};!t.CommonBase.isEmpty(n)&&t.CommonBase.isArray(n)&&n.forEach(K=>{const J=t.CommonBase.getJsonClone(K);if(!t.CommonBase.isString(J.id)&&!t.CommonBase.isNumber(J.id))return;const H=J.id.toString(),U=t.CommonBase.isEmpty(J[o])?y:J[o].toString();S[H]=J;const z=U===y?E():U;t.CommonBase.isExistJsonKey(x,z)||(x[z]=[]),x[z].push(J)}),P.dataJson=S,P.dataGroup=x,P.childLastIdsJson={}};I(m.list);const w=(n,o)=>{let y=[];const S=o||[];return S.indexOf(n)>-1||(S.push(n),t.CommonBase.isExistJsonKey(P.childLastIdsJson,n)&&P.childLastIdsJson[n].length>0?y=P.childLastIdsJson[n]:(f(n)?g(n).forEach(x=>{const K=w(x.id.toString(),S);K.length>0&&(y=y.concat(K))}):y.push(n),P.childLastIdsJson[n]=y)),y},c=(n,o)=>{const{parentKey:y,topParentValue:S}=m,x=o||[],K={},J=[];let H=[];if(n.forEach(U=>{const z=B(U);if(!t.CommonBase.isUndefined(z)){const Z=z[y],X=t.CommonBase.isUndefined(Z)?S:Z.toString();X===S?H.push(U):(t.CommonBase.isExistJsonKey(K,X)||(K[X]=[]),K[X].push(U))}}),!t.CommonBase.isEmpty(K))for(const[U,z]of Object.entries(K))z.length===g(U).length&&x.indexOf(U)===-1?J.push(U):H=H.concat(z);if(J.length>0){H.push(...J);const U=t.CommonBase.getArrUnique(H);return c(U,x.concat(J))}else return H},p=n=>{const o=[],y=t.CommonBase.getArrConvertJson(n);return n.forEach(x=>{const K=g(x);if(t.CommonBase.isEmpty(K))o.push(x);else{const J=[];K.forEach(H=>{t.CommonBase.isExistJsonKey(y,H.id.toString())&&J.push(H.id)}),K.length!==J.length&&o.push(x)}}),c(o)},d=n=>{let o=[];return n.forEach(y=>{const S=w(y);o.push(...S)}),o=t.CommonBase.getArrUnique(o),o},i=(n,o)=>(t.CommonBase.isBoolean(o)?o:m.isOutMerge)?p(n):d(n),C=n=>{const o=[],y=[];return n.forEach(S=>{const x=B(S);t.CommonBase.isUndefined(x)||(o.push(x),y.push(t.CommonBase.isNonEmptyString(x.name)?t.CommonBase.encodeHTML(x.name):""))}),{list:o,label:y}},b=n=>{const o=[],y=new Set;let S=n;for(;t.CommonBase.isNonEmptyString(S)&&!y.has(S);){y.add(S);const x=B(S);if(!x)break;t.CommonBase.isNonEmptyString(x.name)&&o.unshift(x.name);const K=x[m.parentKey],J=K!=null?String(K):"";if(J===""||J===String(m.topParentValue))break;S=J}return o},V=e.computed(()=>{if(m.list,t.CommonBase.isEmpty(s.selectedIds))return"";const n=t.CommonBase.isString(m.plaintextLevelSeparator)?m.plaintextLevelSeparator:" > ",o=t.CommonBase.isString(m.plaintextSeparator)?m.plaintextSeparator:",";return i(s.selectedIds,m.resultMergeParent).map(S=>{const x=b(S);return t.CommonBase.removeHTMLTags(x.length>0?x.join(n):S)}).join(o)}),l=()=>{if(m.isDropdown)if(t.CommonBase.isEmpty(s.selectedIds))T.value=[];else{const n=i(s.selectedIds,m.resultMergeParent);T.value=C(n).label}};(()=>{t.CommonBase.isNonEmptyString(m.value)&&(s.selectedIds=t.CommonBase.split(m.value)),l()})(),e.watch(()=>m.value,(n,o)=>{if(n!==o){const y=t.CommonBase.isNonEmptyString(n)?t.CommonBase.split(n):[],S=i(s.selectedIds);t.CommonBase.isEqualArr(y,S)||(s.selectedIds=t.CommonBase.isEmpty(y)?[]:y,l())}}),e.watch(()=>m.list,n=>{t.CommonBase.isArray(n)&&(I(n),s.selectedIds=s.selectedIds.filter(o=>!t.CommonBase.isUndefined(B(o))),s.dataRefreshIndex++,l())}),e.watch(()=>m.resultMergeParent,()=>{l()});const k=()=>{m.disabled||(s.selectedIds=[],l(),R("",[]))},_=()=>{m.isDropdown&&(l(),h.value&&(h.value.checkIsShowOpen()||h.value.initCompleteOpen())),s.isInitEmitDone||(s.isInitEmitDone=!0,W())},M=n=>{const o=t.CommonBase.isEmpty(n)?[]:t.CommonBase.split(n);s.selectedIds=o;const y=i(o),S=C(y);l(),R(y.join(","),S.list)};return e.provide("$SelectmoveTop",{isCheckChildren:f,getDataGroup:g,getDataInfo:B,getDataList:r,getLastChildIds:w,getValueMergeParent:p,getValueSplitChild:d,getTopParentValue:E}),q({getValue:()=>i(s.selectedIds).join(","),getValueData:()=>{const n=i(s.selectedIds);return C(n).list},setValue:n=>{s.selectedIds=t.CommonBase.isString(n)&&!t.CommonBase.isEmpty(n)?t.CommonBase.split(n):[],l()}}),(n,o)=>u.isPlaintext?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(N),class:"cl-plaintext-value"},e.toDisplayString(V.value),9,Ae)):u.isDropdown?(e.openBlock(),e.createBlock(le._sfc_main,{key:1,id:e.unref(N),ref_key:"refElDropdownLayer",ref:h,classParent:F.value,classText:"selectmove-text",classDropDown:"selectmove-dropdown",placeholder:u.placeholder,isDisabled:u.disabled,isClear:u.isClear,textLabel:T.value.join(","),textArrowDirection:"right",isUseDropdownArrow:!0,appendContainer:u.appendContainer,onOnClear:k},{textExtend:e.withCtx(()=>[e.createElementVNode("span",Ne,[T.value.length>1?(e.openBlock(),e.createBlock(ae._sfc_main,{key:0,num:T.value.length},null,8,["num"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))])]),dropdown:e.withCtx(()=>[e.createElementVNode("div",Je,[e.createVNode(te,e.mergeProps(D.value,{dataRefreshIndex:s.dataRefreshIndex,selectId:s.selectedIds,onOnSelectValue:M,onOnInitComplete:_}),{resultSelect:e.withCtx(()=>[e.renderSlot(n.$slots,"resultSelect")]),_:3},16,["dataRefreshIndex","selectId"])])]),_:3},8,["id","classParent","placeholder","isDisabled","isClear","textLabel","appendContainer"])):(e.openBlock(),e.createElementBlock("div",{key:2,id:e.unref(N),class:e.normalizeClass(F.value)},[e.createVNode(te,e.mergeProps(D.value,{dataRefreshIndex:s.dataRefreshIndex,selectId:s.selectedIds,onOnSelectValue:M,onOnInitComplete:_}),{resultSelect:e.withCtx(()=>[e.renderSlot(n.$slots,"resultSelect")]),_:3},16,["dataRefreshIndex","selectId"])],10,Ke))}});module.exports=Pe;
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../Shared/base-DbuX_Y3x.js"),ae=require("../Shared/Index.vue_vue_type_script_setup_true_lang-KKIG3pkE.js"),le=require("../Shared/List.vue_vue_type_script_setup_true_lang-G2klceWn.js"),Y=require("../Shared/log-gqSePaMZ.js"),ne=require("../Shared/index-rFJmbgyH.js"),re=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DfHi5Zuv.js"),Q=require("../Shared/One.vue_vue_type_script_setup_true_lang-D89MNwcx.js"),se=require("../Shared/language-CBZjQ9dC.js"),oe=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DU1H_1lY.js");;/* empty css */const ce=["onClick"],ie=["innerHTML"],me=e.defineComponent({name:"ClSelectMoveSearchUl",__name:"SearchTree",props:{list:{type:Array,default:()=>[]}},emits:{onClick:u=>!0},setup(u,{emit:q}){const a=q,m=`selectmove-search-tree-${t.CommonBase.getRandom(5)}`,A=L=>{t.CommonBase.isUndefined(L)||a("onClick",L.toString())};return(L,N)=>{const h=e.resolveComponent("cl-select-move-search-ul");return e.openBlock(),e.createElementBlock("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.list,(s,T)=>(e.openBlock(),e.createElementBlock("li",{key:`${m}-${s.id}-${T}`},[e.createElementVNode("a",{href:"javascript:",tabindex:"-1",class:e.normalizeClass({"tree-hig":s.isHig,"tree-active":s.isSelected}),onClick:e.withModifiers(P=>A(s.id),["stop"])},[e.createVNode(Q._sfc_main,{value:s.isSelected,indeterminate:s.isIndeterminate},null,8,["value","indeterminate"]),e.createElementVNode("span",{class:"tree-text",innerHTML:s.showTextLabel},null,8,ie)],10,ce),s.list&&s.list.length>0?(e.openBlock(),e.createBlock(h,{key:0,list:s.list,onOnClick:A},null,8,["list"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))]))),128))])}}}),de={class:"selectmove-search-list"},ue={key:1},he={class:"selectmove-search-empty"},pe=1e3,fe=e.defineComponent({name:"ClSelectMoveSearch",__name:"Search",props:{disabled:Boolean,placeholder:String,width:Number,searchKey:{type:Array,default:()=>["name"]},searchKeyType:{type:String,default:"||"},searchIsMultiple:{type:Boolean,default:!1},searchMultipleJoin:{type:String,default:","},searchTextFormat:[String,Array],selectId:{type:Array,default:()=>[]},parentKey:{type:String,default:"parentId"},topParentValue:{type:String,default:"0"}},emits:{onChange:u=>!0},setup(u,{emit:q}){const a=u,m=q,{optPageLanguage:A,getPageLanguage:L}=se.useLanguage();L("common");const N=e.inject("$SelectmoveTop"),h=e.inject("$SelectmoveBase");if(t.CommonBase.isUndefined(N)||t.CommonBase.isUndefined(h))throw new Error("SelectMove.Search 缺少容器依赖($SelectmoveTop/$SelectmoveBase),请确保在 ClSelectMove 内使用");const s=e.reactive({isOpen:!1,isInitSelect:!1}),T=e.ref([]),P=e.ref([]);let D="",F=[];const O={jsonSelectIds:{},jsonSelectHalfIds:{}},R=e.computed(()=>({"selectmove-search-input":!0,"selectmove-search-open":s.isOpen})),W=e.computed(()=>({"selectmove-search-dropdown":!0,"selectmove-search-open":s.isOpen})),r=e.computed(()=>{const l={};return a.width&&a.width>0&&(l.width=`${a.width}px`),l}),f=()=>{m("onChange",P.value.join(","))},g=()=>{s.isOpen=!1,T.value=[]},B=l=>{const v=h.convertSelectHalf(l);P.value=l,O.jsonSelectHalfIds=t.CommonBase.getArrConvertJson(v),O.jsonSelectIds=t.CommonBase.getArrConvertJson(l)},E=l=>{const v=l.toLowerCase().trim();if(v===D)return F;const k=[];if(t.CommonBase.isEmpty(a.searchKey))return Y.clLog.warn("ClSelectMoveSearch","SelectMove.Search searchKey 为空,搜索将无结果"),D=v,F=k,k;const _=t.CommonBase.isNonEmptyString(a.searchMultipleJoin)?a.searchMultipleJoin:",",M=a.searchIsMultiple?v.split(_).map(n=>n.trim()):[v],j=a.searchKey.length,G=a.searchKey,$=N.getDataList();return t.CommonBase.isArray($)?($.forEach(n=>{if(t.CommonBase.isUndefined(n)||t.CommonBase.isUndefined(n.id)||!t.CommonBase.isString(n.id)&&!t.CommonBase.isNumber(n.id))return;const o=n.id.toString(),y=[];let S=0;for(let x=0;x<j;x++){const K=n[G[x]];if(!t.CommonBase.isString(K)){S++;continue}const J=K.toLowerCase();let H=!1;for(let U=0;U<M.length;U++)if(M[U].length>0&&J.indexOf(M[U])>-1){H=!0;break}H&&y.push(!0)}if(y.length>0)switch(a.searchKeyType){case"||":k.push(o);break;case"&&":y.length===j-S&&k.push(o);break;default:Y.clLog.warn("ClSelectMoveSearch",`SelectMove.Search searchKeyType 未知值「${a.searchKeyType}」,按 || 兜底`),k.push(o);break}}),D=v,F=k,k):(D=v,F=k,k)},I=(l,v,k,_,M)=>{const j=[],G=M||[];return t.CommonBase.isExistJsonKey(v,l)&&v[l].forEach($=>{if(G.indexOf($)>-1)return;const n=G.concat([$]),o=t.CommonBase.getJsonClone(N.getDataInfo($));if(t.CommonBase.isEmpty(o))return;let y=t.CommonBase.isNonEmptyString(o.name)?t.CommonBase.encodeHTML(o.name):"";const S=a.searchTextFormat;if(S&&S.length>0){let J="";t.CommonBase.isArray(S)?S.length>k&&(J=S[k]):t.CommonBase.isString(S)&&(J=S),t.CommonBase.isEmpty(J)||(y=t.CommonBase.convertStringFormatEncodeHTML(J,o))}o.showTextLabel=y;let x=!1,K=t.CommonBase.isExistJsonKey(v,$);K?o.list=I($,v,k+1,_,n):(x=!0,o.list=[],N.getDataGroup($).length>0&&(K=!0,x=!1)),o.isIndeterminate=t.CommonBase.isExistJsonKey(O.jsonSelectHalfIds,$),o.isSelected=t.CommonBase.isExistJsonKey(O.jsonSelectIds,$),o.isChild=K,o.isLast=x,o.treeLevel=k,o.isHig=t.CommonBase.isExistJsonKey(_,$),j.push(o)}),j},w=l=>{if(l.length===0)return[];const{parentKey:v,topParentValue:k}=a,_={};let M=[];l.forEach($=>{_[$]=!0;const n=h.getParentIds($);M.push(...n),M.push($)}),M=t.CommonBase.getArrUnique(M);const j={};M.forEach($=>{const n=N.getDataInfo($);if(t.CommonBase.isUndefined(n))return;const o=n[v],y=t.CommonBase.isEmpty(o)?k:o.toString(),S=y===k?N.getTopParentValue():y;t.CommonBase.isExistJsonKey(j,S)||(j[S]=[]),j[S].push($)});const G=N.getTopParentValue();return t.CommonBase.isExistJsonKey(j,G)||Y.clLog.warn("ClSelectMoveSearch","SelectMove.Search 数据存在环或祖先链断裂,搜索结果可能为空"),I(G,j,0,_)},c=()=>{if(s.isInitSelect=!1,!t.CommonBase.isEqualArr(a.selectId,P.value)){const v=h.convertSelectedValue(a.selectId,!0,[]);B(v)}},p=l=>{if(t.CommonBase.isNonEmptyString(l)){s.isInitSelect&&c();const v=E(l),k=w(v);T.value=k,s.isOpen=!0}else g()},d=l=>{const v=[];return l.forEach(k=>{const _=t.CommonBase.getJsonClone(k);if(t.CommonBase.isUndefined(_)||t.CommonBase.isUndefined(_.id))return;const M=_.id.toString();_.isIndeterminate=t.CommonBase.isExistJsonKey(O.jsonSelectHalfIds,M),_.isSelected=t.CommonBase.isExistJsonKey(O.jsonSelectIds,M),_.list&&_.list.length>0&&(_.list=d(_.list)),v.push(_)}),v},i=l=>{if(s.isOpen){const v=ne.CommonElement.getParent(l.target,".selectmove-search");t.CommonBase.isUndefined(v)&&(s.isOpen=!1)}};e.onUnmounted(()=>{document.body.removeEventListener("click",i)}),e.watch(()=>s.isOpen,l=>{l?document.body.addEventListener("click",i):document.body.removeEventListener("click",i)}),e.watch(()=>a.selectId,()=>{s.isInitSelect=!0,s.isOpen&&(c(),T.value=d(T.value))},{immediate:!0}),e.watch(()=>[a.searchKey,a.searchKeyType,a.searchIsMultiple,a.searchMultipleJoin],()=>{D="",F=[]});const C=l=>{p(l)},b=l=>{s.isOpen||p(l)},V=l=>{const v=t.CommonBase.isExistJsonKey(O.jsonSelectIds,l),k=h.convertSelectedValue(l,!v,P.value);B(k),T.value=d(T.value),f()};return(l,v)=>(e.openBlock(),e.createElementBlock("div",{class:"selectmove-search",style:e.normalizeStyle(r.value)},[e.createElementVNode("div",{class:e.normalizeClass(R.value)},[e.createVNode(re._sfc_main,{placeholder:u.placeholder,disabled:u.disabled,changeDelayTime:pe,onOnChange:C,onOnFocus:b},null,8,["placeholder","disabled"])],2),s.isOpen?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(W.value)},[e.createElementVNode("div",de,[T.value.length>0?(e.openBlock(),e.createBlock(me,{key:0,list:T.value,onOnClick:V},null,8,["list"])):(e.openBlock(),e.createElementBlock("ul",ue,[e.createElementVNode("li",he,e.toDisplayString(e.unref(A).noResultsText),1)]))])],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))],4))}}),ge={class:"selectmove-tree"},Ce={class:"selectmove-tree-head"},Se={class:"selectmove-tree-head-title"},Be={class:"selectmove-tree-body"},ye=["onClick"],Ie=["innerHTML"],ee=10,ve=e.defineComponent({name:"ClSelectMoveTree",__name:"Tree",props:{disabled:Boolean,maxWidth:Number,width:Number,treeTitle:{type:Array,default:()=>[]},treeShowMinLevel:{type:Number,default:1},treeTextFormat:[String,Array],selectId:{type:Array,default:()=>[]},dataRefreshIndex:Number},emits:{onChange:u=>!0},setup(u,{emit:q}){const a=u,m=q,A=e.inject("$SelectmoveTop"),L=e.inject("$SelectmoveBase");if(t.CommonBase.isUndefined(A)||t.CommonBase.isUndefined(L))throw new Error("SelectMove.Tree 缺少容器依赖($SelectmoveTop/$SelectmoveBase),请确保在 ClSelectMove 内使用");const N=`selectmove-tree-${t.CommonBase.getRandom(5)}`,h=e.reactive({selectIds:[],HalfSelectIds:[],openActiveId:[]}),s=e.ref([]),T=()=>{m("onChange",h.selectIds.join(","))},P=c=>{let p=0;const d=A.getDataGroup(c);if(d.length>0){const i=[],C=[];d.forEach(b=>{const V=b.id.toString();t.CommonBase.isExistValue(h.selectIds,V)&&i.push(V),t.CommonBase.isExistValue(h.HalfSelectIds,V)&&C.push(V)}),(C.length>0||i.length>0)&&(p=2),i.length>0&&i.length===d.length&&(p=1)}return p},D=(c,p,d)=>{const i={idx:c,pId:p,title:!t.CommonBase.isEmpty(a.treeTitle)&&a.treeTitle.length>c?a.treeTitle[c]:d,list:[],checkAll:0,sty:{}};if(a.width&&a.maxWidth&&a.width>0&&a.maxWidth>0){let C=a.width-3;const b=a.maxWidth/a.width;c+1>=b&&(C+=3),i.sty.width=`${C}px`}if(!t.CommonBase.isEmpty(p)){const C=A.getDataGroup(p);C.length>0&&(i.list=C.map(b=>{const V=b.id.toString(),l=t.CommonBase.getJsonClone(b);l.selected=t.CommonBase.isExistValue(h.selectIds,V),l.indeterminate=t.CommonBase.isExistValue(h.HalfSelectIds,V),l.isActive=t.CommonBase.isExistValue(h.openActiveId,V);const v=A.getDataGroup(V);l.isSub=v.length>0;let k=t.CommonBase.isNonEmptyString(b.name)?t.CommonBase.encodeHTML(b.name):"";const _=a.treeTextFormat;if(_&&_.length>0){let M="";t.CommonBase.isArray(_)?_.length>c&&(M=_[c]):t.CommonBase.isString(_)&&(M=_),t.CommonBase.isEmpty(M)||(k=t.CommonBase.convertStringFormatEncodeHTML(M,l))}return l.showTextLabel=k,l})),i.checkAll=P(p)}return i},F=c=>{const p=L.convertSelectedValue(c,!0,[]),d=L.convertSelectHalf(p);h.selectIds=p,h.HalfSelectIds=d},O=(c,p)=>{const d=[];if(s.value.forEach((i,C)=>{C<=c&&d.push(D(i.idx,i.pId,i.title))}),A.getDataGroup(p).length>0){const i=A.getDataInfo(p),C=t.CommonBase.isNonEmptyString(i&&i.name)?i.name:"";d.push(D(c+1,p,C))}s.value=d},R=(c,p)=>{const d=c.id.toString(),i=t.CommonBase.getArrClone(h.openActiveId);i.splice(p),i.push(d),h.openActiveId=i,O(p,d)},W=(c,p)=>{const d=L.convertSelectedValue(c,p,h.selectIds),i=L.convertSelectHalf(d);h.selectIds=d,h.HalfSelectIds=i,s.value=s.value.map(C=>D(C.idx,C.pId,C.title)),T()},r=c=>{const p=s.value.length,d=c||[];if(p>0&&h.selectIds.length>0){let i,C=-1;for(let b=p-1;b>=0;b--)if(s.value[b].list.some(l=>{if(l.selected||l.indeterminate)return i=l,!0})){C=b;break}if(C>-1&&!t.CommonBase.isUndefined(i)&&i.isSub){const b=i.id.toString();if(d.indexOf(b)>-1)return;d.push(b),R(i,C),r(d)}}},f=()=>{const c=[];return c.push(D(0,A.getTopParentValue(),"")),c};let g=null;const B=()=>{h.openActiveId=[],t.CommonBase.isEmpty(a.selectId)?(h.selectIds=[],h.HalfSelectIds=[]):F(a.selectId),s.value=f(),r(),g=t.CommonBase.getArrClone(a.selectId),a.treeShowMinLevel>1&&h.selectIds.length===0&&e.nextTick(()=>{const c=s.value.length,p=t.CommonBase.isFinite(a.treeShowMinLevel)?Math.min(a.treeShowMinLevel,ee):ee;if(p>c){const d=[];for(let i=c;i<p;i++)d.push(D(i,"",""));s.value=s.value.concat(d)}})};e.onMounted(()=>{e.nextTick(()=>{B()})}),e.watch(()=>a.dataRefreshIndex,()=>{B()}),e.watch(()=>a.selectId,c=>{(t.CommonBase.isUndefined(g)?!1:t.CommonBase.isEqualArr(c,g))||(g=t.CommonBase.getArrClone(c),F(c),s.value=s.value.map(d=>D(d.idx,d.pId,d.title)),r())});const E=(c,p)=>{const d=A.getDataGroup(p.toString()).map(i=>i.id.toString());W(d,c.value)},I=(c,p)=>{W(p.toString(),c.value)},w=(c,p,d)=>{if(a.disabled)return;const i=p.id.toString();if(t.CommonBase.isEmpty(A.getDataGroup(i))){if(ne.CommonElement.getParent(c.target,".selectmove-option-checkbox",".selectmove-option"))return;W(i.toString(),!t.CommonBase.isExistValue(h.selectIds,i))}R(p,d)};return(c,p)=>(e.openBlock(),e.createElementBlock("div",ge,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(d,i)=>(e.openBlock(),e.createElementBlock("div",{key:`${N}-tree-${i}`,class:"selectmove-tree-item",style:e.normalizeStyle(d.sty)},[e.createElementVNode("div",Ce,[e.withDirectives(e.createVNode(Q._sfc_main,{disabled:u.disabled,value:d.checkAll===1,indeterminate:d.checkAll===2,onOnChange:C=>E(C,d.pId)},null,8,["disabled","value","indeterminate","onOnChange"]),[[e.vShow,d.list.length>0]]),e.createElementVNode("div",Se,e.toDisplayString(d.title),1)]),e.createElementVNode("div",Be,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.list,(C,b)=>(e.openBlock(),e.createElementBlock("li",{key:`${N}-${C.id}-${b}`,class:e.normalizeClass({"selectmove-option":!0,active:C.isActive}),onClick:V=>w(V,C,i)},[e.createElementVNode("div",null,[e.createVNode(Q._sfc_main,{className:"selectmove-option-checkbox",disabled:u.disabled,value:C.selected,indeterminate:C.indeterminate,onOnChange:V=>I(V,C.id)},null,8,["disabled","value","indeterminate","onOnChange"]),e.createElementVNode("div",{class:"selectmove-option-text",innerHTML:C.showTextLabel},null,8,Ie),C.isSub?(e.openBlock(),e.createBlock(oe._sfc_main,{key:0,name:"angle-right",className:"sub-icon"})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))])],10,ye))),128))])])],4))),128)),e.renderSlot(c.$slots,"tail")]))}}),Ee={class:"selectmove-result"},xe={class:"selectmove-result-head"},_e=["innerHTML"],ke={class:"selectmove-result-body"},we=["innerHTML"],Te=e.defineComponent({name:"ClSelectMoveResult",__name:"Result",props:{disabled:Boolean,width:Number,resultCountFormat:String,resultTextFormat:String,resultMergeParent:Boolean,selectId:{type:Array,default:()=>[]},dataRefreshIndex:Number},emits:{onChange:u=>!0},setup(u,{emit:q}){const a=u,m=q,{optPageLanguage:A,getPageLanguage:L}=se.useLanguage();L("common");const N=e.inject("$SelectmoveTop"),h=e.inject("$SelectmoveBase");if(t.CommonBase.isUndefined(N)||t.CommonBase.isUndefined(h))throw new Error("SelectMove.Result 缺少容器依赖($SelectmoveTop/$SelectmoveBase),请确保在 ClSelectMove 内使用");const s=`selectmove-result-${t.CommonBase.getRandom(5)}`,T=e.ref([]),P=e.computed(()=>T.value.length),D=e.computed(()=>t.CommonBase.isNonEmptyString(a.resultCountFormat)?t.CommonBase.convertStringFormat(a.resultCountFormat,{_count:P.value}):`${A.value.selected} ${P.value} ${A.value.count}`),F=e.computed(()=>{const f={};return a.width&&a.width>0&&(f.width=`${a.width}px`),f}),O=f=>{m("onChange",f.join(","))},R=f=>{if(t.CommonBase.isEmpty(f))return[];const g=f.filter(I=>!t.CommonBase.isUndefined(I)&&!t.CommonBase.isEmpty(I)),B=a.resultMergeParent?h.getValueMergeParent(g):h.getValueSplitChild(g),E=[];return B.forEach(I=>{const w=N.getDataInfo(I);if(t.CommonBase.isUndefined(w))return;const c=t.CommonBase.getJsonClone(w);t.CommonBase.isNonEmptyString(a.resultTextFormat)?c.showTextLabel=t.CommonBase.convertStringFormatEncodeHTML(a.resultTextFormat,c):t.CommonBase.isNonEmptyString(c.name)?c.showTextLabel=t.CommonBase.encodeHTML(c.name):c.showTextLabel="",E.push(c)}),E};e.watch(()=>a.selectId,f=>{const B=(t.CommonBase.isEmpty(f)?[]:f).filter(w=>!t.CommonBase.isUndefined(w)&&!t.CommonBase.isEmpty(w)),E=T.value.map(w=>w.id.toString());t.CommonBase.isEqualArr(B,E)||(T.value=R(B))},{immediate:!0}),e.watch(()=>a.dataRefreshIndex,()=>{T.value=R(a.selectId)}),e.watch(()=>a.resultMergeParent,()=>{T.value=R(a.selectId)});const W=()=>{T.value=[],O([])},r=f=>{const g=[],B=[],E=f.id.toString();T.value.forEach(I=>{const w=I.id.toString();w!==E&&(B.push(I),g.push(w))}),T.value=B,O(g)};return(f,g)=>(e.openBlock(),e.createElementBlock("div",Ee,[e.createElementVNode("div",{class:"selectmove-result-container",style:e.normalizeStyle(F.value)},[e.createElementVNode("div",xe,[e.createElementVNode("span",null,[u.disabled?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):(e.openBlock(),e.createElementBlock("button",{key:0,class:"btn-cleanAll",type:"button",onClick:W},e.toDisplayString(e.unref(A).deleteAll),1))]),e.createElementVNode("span",{innerHTML:D.value},null,8,_e)]),e.createElementVNode("div",ke,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(B,E)=>(e.openBlock(),e.createElementBlock("li",{key:`${s}-${B.id}-${E}`},[e.createElementVNode("div",null,[e.createElementVNode("div",{innerHTML:B.showTextLabel},null,8,we),u.disabled?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)):(e.openBlock(),e.createBlock(oe._sfc_main,{key:0,name:"close",className:"btn-clean",onClick:I=>r(B)},null,8,["onClick"]))])]))),128))])])],4)]))}}),be={class:"selectmove-body"},Me={key:0,class:"selectmove-result"},Le=100,Ve=175,te=e.defineComponent({name:"ClSelectMoveContainer",__name:"Container",props:{disabled:Boolean,width:Number,isSearch:{type:Boolean,default:!0},searchPlaceholder:String,searchKey:{type:Array,default:()=>["name"]},searchKeyType:{type:String,default:"||"},searchIsMultiple:{type:Boolean,default:!1},searchMultipleJoin:{type:String,default:","},searchTextFormat:[String,Array],treeTitle:{type:Array,default:()=>[]},treeShowMinLevel:{type:Number,default:1},treeTextFormat:[String,Array],resultIsShowSlot:Boolean,resultIsShowSubUnit:Boolean,resultTextFormat:String,resultCountFormat:String,resultMergeParent:{type:Boolean,default:!0},dataRefreshIndex:{type:Number,default:0},selectId:{type:Array,default:()=>[]},parentKey:{type:String,default:"parentId"},topParentValue:{type:String,default:"0"}},emits:{onSelectValue:u=>!0,onInitComplete:()=>!0},setup(u,{emit:q}){const a=u,m=q;let A=!1;const L=e.inject("$SelectmoveTop");if(t.CommonBase.isUndefined(L))throw new Error("SelectMove.Container 缺少容器依赖($SelectmoveTop),请确保在 ClSelectMove 内使用");const N=e.reactive({searchWidth:0,treeWidth:0,resultWidth:0}),h={parentIdsJson:Object.create(null),childIdJson:Object.create(null),childIdsJson:Object.create(null)},s=r=>{m("onSelectValue",r)},T=()=>{e.nextTick(()=>{A||m("onInitComplete")})},P=r=>{let f=[];return t.CommonBase.isExistJsonKey(h.childIdJson,r)?f=h.childIdJson[r]:L.isCheckChildren(r)&&(L.getDataGroup(r).forEach(g=>{t.CommonBase.isUndefined(g)||t.CommonBase.isUndefined(g.id)||f.push(g.id.toString())}),h.childIdJson[r]=f),f},D=(r,f)=>{let g=[];const B=f||[];return B.indexOf(r)>-1||(B.push(r),t.CommonBase.isExistJsonKey(h.childIdsJson,r)?g=h.childIdsJson[r]:(L.isCheckChildren(r)&&L.getDataGroup(r).forEach(E=>{if(t.CommonBase.isUndefined(E)||t.CommonBase.isUndefined(E.id))return;const I=E.id.toString();g.push(I);const w=D(I,B);w.length>0&&(g=g.concat(w))}),h.childIdsJson[r]=g)),g},F=(r,f)=>{const{parentKey:g,topParentValue:B}=a;let E=[];const I=f||[];if(I.indexOf(r)>-1)return E;if(I.push(r),t.CommonBase.isExistJsonKey(h.parentIdsJson,r))E=h.parentIdsJson[r];else{const w=L.getDataInfo(r);if(!t.CommonBase.isUndefined(w)){const c=w[g],p=t.CommonBase.isEmpty(c)?B:c.toString();if(p!==B&&!t.CommonBase.isUndefined(L.getDataInfo(p))){E.push(p);const d=F(p,I);d.length>0&&(E=E.concat(d))}}h.parentIdsJson[r]=E}return E},O=(r,f,g)=>{const B=(t.CommonBase.isUndefined(g)?[]:g).filter(i=>!t.CommonBase.isUndefined(i));if(t.CommonBase.isUndefined(r))return t.CommonBase.getArrClone(B);const E=t.CommonBase.isObject(r)?r:[r];if(!t.CommonBase.isArray(E))return t.CommonBase.getArrClone(B);const I=t.CommonBase.getArrConvertJson(B),w={},c=[],p=[];E.forEach(i=>{if(t.CommonBase.isUndefined(i))return;const C=[],b=[],V=i.toString();if(f){if(!(t.CommonBase.isExistJsonKey(I,V)||t.CommonBase.isExistJsonKey(w,V))){C.push(V);const v=D(V);v&&v.length>0&&C.push(...v);const k=F(V);for(let _=0;_<k.length;_++){const M=k[_].toString();if(t.CommonBase.isExistJsonKey(I,M)||t.CommonBase.isExistJsonKey(w,M))break;const j=P(M),G=[];if(j.forEach($=>{const n=$.toString();(t.CommonBase.isExistJsonKey(I,n)||t.CommonBase.isExistJsonKey(w,n)||C.indexOf(n)>-1)&&G.push(n)}),j.length===G.length)C.push(M);else break}}}else{b.push(V);const l=D(V);l&&l.length>0&&b.push(...l);const v=F(V);b.push(...v)}C.length>0&&C.forEach(l=>{c.push(l),w[l]=!0}),b.length>0&&b.forEach(l=>{p.push(l)})});let d=t.CommonBase.getArrClone(B);return d.push(...c),d=t.CommonBase.getArrUnique(d),d=t.CommonBase.getArrRemoveById(d,p),d},R=r=>{if(t.CommonBase.isUndefined(r)||!t.CommonBase.isArray(r))return[];const f=[],g={};r.forEach(I=>{g[I]=!0;const w=F(I);f.push(...w)});const B=[],E={};return f.forEach(I=>{!t.CommonBase.isExistJsonKey(E,I)&&!t.CommonBase.isExistJsonKey(g,I)&&(E[I]=!0,B.push(I))}),B},W=()=>{const r=a.width;if(r!==void 0&&t.CommonBase.isFinite(r)&&r>=350){const f=Math.floor(r/Ve),g=Math.floor(r/f);N.searchWidth=r,N.treeWidth=g,N.resultWidth=g}};return e.onMounted(()=>{W(),T()}),e.onBeforeUnmount(()=>{A=!0}),e.watch(()=>a.dataRefreshIndex,()=>{h.parentIdsJson=Object.create(null),h.childIdJson=Object.create(null),h.childIdsJson=Object.create(null)}),e.watch(()=>a.width,()=>{W()}),e.provide("$SelectmoveBase",{convertSelectedValue:(r,f,g)=>{let B=!1;if(f&&t.CommonBase.isObject(r)&&r.length>Le&&(B=!0),B){const E=L.getValueMergeParent(r);return O(E,f,g)}else return O(r,f,g)},convertSelectHalf:R,getChildIds:D,getParentIds:F,getLastChildIds:(r,f)=>L.getLastChildIds(r,f),getValueMergeParent:r=>L.getValueMergeParent(r),getValueSplitChild:r=>L.getValueSplitChild(r)}),(r,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[u.isSearch?(e.openBlock(),e.createBlock(fe,{key:0,disabled:u.disabled,width:N.searchWidth,placeholder:u.searchPlaceholder,searchKey:u.searchKey,searchKeyType:u.searchKeyType,searchIsMultiple:u.searchIsMultiple,searchMultipleJoin:u.searchMultipleJoin,searchTextFormat:u.searchTextFormat,selectId:u.selectId,parentKey:u.parentKey,topParentValue:u.topParentValue,onOnChange:s},null,8,["disabled","width","placeholder","searchKey","searchKeyType","searchIsMultiple","searchMultipleJoin","searchTextFormat","selectId","parentKey","topParentValue"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),e.createElementVNode("div",be,[e.createVNode(ve,{disabled:u.disabled,maxWidth:N.searchWidth,width:N.treeWidth,treeTitle:u.treeTitle,treeShowMinLevel:u.treeShowMinLevel,treeTextFormat:u.treeTextFormat,selectId:u.selectId,dataRefreshIndex:u.dataRefreshIndex,onOnChange:s},{tail:e.withCtx(()=>[u.resultIsShowSlot?(e.openBlock(),e.createElementBlock("div",Me,[e.renderSlot(r.$slots,"resultSelect")])):u.resultIsShowSubUnit?(e.openBlock(),e.createBlock(Te,{key:1,disabled:u.disabled,width:N.resultWidth,resultTextFormat:u.resultTextFormat,resultCountFormat:u.resultCountFormat,resultMergeParent:u.resultMergeParent,selectId:u.selectId,dataRefreshIndex:u.dataRefreshIndex,onOnChange:s},null,8,["disabled","width","resultTextFormat","resultCountFormat","resultMergeParent","selectId","dataRefreshIndex"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[],64))]),_:3},8,["disabled","maxWidth","width","treeTitle","treeShowMinLevel","treeTextFormat","selectId","dataRefreshIndex"])])],64))}}),Ae=["id"],Ne={className:"selectmove-text-num"},Je={class:"selectmove-container"},Ke=["id"],Pe=e.defineComponent({name:"ClSelectMove",__name:"Index",props:{id:String,value:String,className:String,disabled:{type:Boolean,default:!1},list:{type:Array,default:()=>[]},isDropdown:{type:Boolean,default:!1},placeholder:String,isClear:{type:Boolean,default:!1},containerWidth:{type:Number,default:350},isSearch:{type:Boolean,default:!0},searchPlaceholder:String,searchKey:{type:Array,default:()=>["name"]},searchKeyType:{type:String,default:"||"},searchIsMultiple:{type:Boolean,default:!1},searchMultipleJoin:{type:String,default:","},searchTextFormat:[String,Array],treeTitle:{type:Array,default:()=>[]},treeShowMinLevel:{type:Number,default:1},treeTextFormat:[String,Array],resultIsShow:{type:Boolean,default:!0},resultTextFormat:String,resultCountFormat:String,resultMergeParent:{type:Boolean,default:!0},isOutMerge:{type:Boolean,default:!0},parentKey:{type:String,default:"parentId"},topParentValue:{type:String,default:"0"},isPlaintext:{type:Boolean,default:!1},plaintextSeparator:{type:String,default:","},plaintextLevelSeparator:{type:String,default:" > "},appendContainer:{type:String,default:""}},emits:{"update:value":u=>!0,"update:modelValue":u=>!0,onChange:(u,q)=>!0,onInit:()=>!0},setup(u,{expose:q,emit:a}){const m=u,A=a,L=e.useSlots(),N=m.id,h=e.useTemplateRef("refElDropdownLayer"),s=e.reactive({dataRefreshIndex:0,selectedIds:[],IsShowResultSlot:!t.CommonBase.isUndefined(L.resultSelect),isInitEmitDone:!1}),T=e.ref([]),P={dataJson:{},dataGroup:{},childLastIdsJson:{}},D=e.computed(()=>({disabled:m.disabled,width:m.containerWidth,isSearch:m.isSearch,searchPlaceholder:m.searchPlaceholder,searchKey:m.searchKey,searchKeyType:m.searchKeyType,searchIsMultiple:m.searchIsMultiple,searchMultipleJoin:m.searchMultipleJoin,searchTextFormat:m.searchTextFormat,treeTitle:m.treeTitle,treeShowMinLevel:m.treeShowMinLevel,treeTextFormat:m.treeTextFormat,resultIsShowSubUnit:m.resultIsShow,resultIsShowSlot:s.IsShowResultSlot,resultTextFormat:m.resultTextFormat,resultCountFormat:m.resultCountFormat,resultMergeParent:m.resultMergeParent,parentKey:m.parentKey,topParentValue:m.topParentValue})),F=e.computed(()=>{let n="panel-selectmove ";return t.CommonBase.isNonEmptyString(m.className)&&(n+=m.className),m.isDropdown||m.disabled&&(n+=" selectmove-disabled "),n}),O=n=>{A("update:value",n),A("update:modelValue",n)},R=(n,o)=>{O(n),A("onChange",n,o)},W=()=>{A("onInit")},r=()=>m.list,f=n=>t.CommonBase.isExistJsonKey(P.dataGroup,n.toString()),g=n=>{const o=n.toString();return f(o)?P.dataGroup[o]:[]},B=n=>{const o=n.toString();return t.CommonBase.isExistJsonKey(P.dataJson,o)?P.dataJson[o]:null},E=()=>`top_${m.topParentValue}`,I=n=>{const{parentKey:o,topParentValue:y}=m,S={},x={};!t.CommonBase.isEmpty(n)&&t.CommonBase.isArray(n)&&n.forEach(K=>{const J=t.CommonBase.getJsonClone(K);if(!t.CommonBase.isString(J.id)&&!t.CommonBase.isNumber(J.id))return;const H=J.id.toString(),U=t.CommonBase.isEmpty(J[o])?y:J[o].toString();S[H]=J;const z=U===y?E():U;t.CommonBase.isExistJsonKey(x,z)||(x[z]=[]),x[z].push(J)}),P.dataJson=S,P.dataGroup=x,P.childLastIdsJson={}};I(m.list);const w=(n,o)=>{let y=[];const S=o||[];return S.indexOf(n)>-1||(S.push(n),t.CommonBase.isExistJsonKey(P.childLastIdsJson,n)&&P.childLastIdsJson[n].length>0?y=P.childLastIdsJson[n]:(f(n)?g(n).forEach(x=>{const K=w(x.id.toString(),S);K.length>0&&(y=y.concat(K))}):y.push(n),P.childLastIdsJson[n]=y)),y},c=(n,o)=>{const{parentKey:y,topParentValue:S}=m,x=o||[],K={},J=[];let H=[];if(n.forEach(U=>{const z=B(U);if(!t.CommonBase.isUndefined(z)){const Z=z[y],X=t.CommonBase.isUndefined(Z)?S:Z.toString();X===S?H.push(U):(t.CommonBase.isExistJsonKey(K,X)||(K[X]=[]),K[X].push(U))}}),!t.CommonBase.isEmpty(K))for(const[U,z]of Object.entries(K))z.length===g(U).length&&x.indexOf(U)===-1?J.push(U):H=H.concat(z);if(J.length>0){H.push(...J);const U=t.CommonBase.getArrUnique(H);return c(U,x.concat(J))}else return H},p=n=>{const o=[],y=t.CommonBase.getArrConvertJson(n);return n.forEach(x=>{const K=g(x);if(t.CommonBase.isEmpty(K))o.push(x);else{const J=[];K.forEach(H=>{t.CommonBase.isExistJsonKey(y,H.id.toString())&&J.push(H.id)}),K.length!==J.length&&o.push(x)}}),c(o)},d=n=>{let o=[];return n.forEach(y=>{const S=w(y);o.push(...S)}),o=t.CommonBase.getArrUnique(o),o},i=(n,o)=>(t.CommonBase.isBoolean(o)?o:m.isOutMerge)?p(n):d(n),C=n=>{const o=[],y=[];return n.forEach(S=>{const x=B(S);t.CommonBase.isUndefined(x)||(o.push(x),y.push(t.CommonBase.isNonEmptyString(x.name)?t.CommonBase.encodeHTML(x.name):""))}),{list:o,label:y}},b=n=>{const o=[],y=new Set;let S=n;for(;t.CommonBase.isNonEmptyString(S)&&!y.has(S);){y.add(S);const x=B(S);if(!x)break;t.CommonBase.isNonEmptyString(x.name)&&o.unshift(x.name);const K=x[m.parentKey],J=K!=null?String(K):"";if(J===""||J===String(m.topParentValue))break;S=J}return o},V=e.computed(()=>{if(m.list,t.CommonBase.isEmpty(s.selectedIds))return"";const n=t.CommonBase.isString(m.plaintextLevelSeparator)?m.plaintextLevelSeparator:" > ",o=t.CommonBase.isString(m.plaintextSeparator)?m.plaintextSeparator:",";return i(s.selectedIds,m.resultMergeParent).map(S=>{const x=b(S);return t.CommonBase.removeHTMLTags(x.length>0?x.join(n):S)}).join(o)}),l=()=>{if(m.isDropdown)if(t.CommonBase.isEmpty(s.selectedIds))T.value=[];else{const n=i(s.selectedIds,m.resultMergeParent);T.value=C(n).label}};(()=>{t.CommonBase.isNonEmptyString(m.value)&&(s.selectedIds=t.CommonBase.split(m.value)),l()})(),e.watch(()=>m.value,(n,o)=>{if(n!==o){const y=t.CommonBase.isNonEmptyString(n)?t.CommonBase.split(n):[],S=i(s.selectedIds);t.CommonBase.isEqualArr(y,S)||(s.selectedIds=t.CommonBase.isEmpty(y)?[]:y,l())}}),e.watch(()=>m.list,n=>{t.CommonBase.isArray(n)&&(I(n),s.selectedIds=s.selectedIds.filter(o=>!t.CommonBase.isUndefined(B(o))),s.dataRefreshIndex++,l())}),e.watch(()=>m.resultMergeParent,()=>{l()});const k=()=>{m.disabled||(s.selectedIds=[],l(),R("",[]))},_=()=>{m.isDropdown&&(l(),h.value&&(h.value.checkIsShowOpen()||h.value.initCompleteOpen())),s.isInitEmitDone||(s.isInitEmitDone=!0,W())},M=n=>{const o=t.CommonBase.isEmpty(n)?[]:t.CommonBase.split(n);s.selectedIds=o;const y=i(o),S=C(y);l(),R(y.join(","),S.list)};return e.provide("$SelectmoveTop",{isCheckChildren:f,getDataGroup:g,getDataInfo:B,getDataList:r,getLastChildIds:w,getValueMergeParent:p,getValueSplitChild:d,getTopParentValue:E}),q({getValue:()=>i(s.selectedIds).join(","),getValueData:()=>{const n=i(s.selectedIds);return C(n).list},setValue:n=>{s.selectedIds=t.CommonBase.isString(n)&&!t.CommonBase.isEmpty(n)?t.CommonBase.split(n):[],l()}}),(n,o)=>u.isPlaintext?(e.openBlock(),e.createElementBlock("div",{key:0,id:e.unref(N),class:"cl-plaintext-value"},e.toDisplayString(V.value),9,Ae)):u.isDropdown?(e.openBlock(),e.createBlock(le._sfc_main,{key:1,id:e.unref(N),ref_key:"refElDropdownLayer",ref:h,classParent:F.value,classText:"selectmove-text",classDropDown:"selectmove-dropdown",placeholder:u.placeholder,isDisabled:u.disabled,isClear:u.isClear,textLabel:T.value.join(","),textArrowDirection:"right",isUseDropdownArrow:!0,appendContainer:u.appendContainer,onOnClear:k},{textExtend:e.withCtx(()=>[e.createElementVNode("span",Ne,[T.value.length>1?(e.openBlock(),e.createBlock(ae._sfc_main,{key:0,num:T.value.length},null,8,["num"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))])]),dropdown:e.withCtx(()=>[e.createElementVNode("div",Je,[e.createVNode(te,e.mergeProps(D.value,{dataRefreshIndex:s.dataRefreshIndex,selectId:s.selectedIds,onOnSelectValue:M,onOnInitComplete:_}),{resultSelect:e.withCtx(()=>[e.renderSlot(n.$slots,"resultSelect")]),_:3},16,["dataRefreshIndex","selectId"])])]),_:3},8,["id","classParent","placeholder","isDisabled","isClear","textLabel","appendContainer"])):(e.openBlock(),e.createElementBlock("div",{key:2,id:e.unref(N),class:e.normalizeClass(F.value)},[e.createVNode(te,e.mergeProps(D.value,{dataRefreshIndex:s.dataRefreshIndex,selectId:s.selectedIds,onOnSelectValue:M,onOnInitComplete:_}),{resultSelect:e.withCtx(()=>[e.renderSlot(n.$slots,"resultSelect")]),_:3},16,["dataRefreshIndex","selectId"])],10,Ke))}});module.exports=Pe;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default } from '../../types/Web/SelectMove/Index.vue.d.ts';
|
|
@@ -5,14 +5,14 @@ import '../../styles/Common/Fade-base.css';
|
|
|
5
5
|
import '../../styles/Web/ClSelectMove.css';
|
|
6
6
|
import { defineComponent as le, resolveComponent as be, openBlock as T, createElementBlock as K, Fragment as q, renderList as de, createElementVNode as N, withModifiers as Me, normalizeClass as oe, createVNode as se, createBlock as te, inject as ne, reactive as he, ref as ie, computed as ee, onUnmounted as Le, watch as z, normalizeStyle as Se, toDisplayString as pe, unref as re, onMounted as Ee, nextTick as me, withDirectives as ke, vShow as Ae, renderSlot as ue, onBeforeUnmount as Je, provide as Ce, withCtx as ae, useSlots as Ke, useTemplateRef as Ve, mergeProps as Ie } from "vue";
|
|
7
7
|
import { C as e } from "../Shared/base-fr2I80sU.js";
|
|
8
|
-
import { _ as $e } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as Pe } from "../Shared/List.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { c as fe } from "../Shared/log-
|
|
8
|
+
import { _ as $e } from "../Shared/Index.vue_vue_type_script_setup_true_lang-vm_cblnn.js";
|
|
9
|
+
import { _ as Pe } from "../Shared/List.vue_vue_type_script_setup_true_lang-0EtOdp73.js";
|
|
10
|
+
import { c as fe } from "../Shared/log-CSNil8va.js";
|
|
11
11
|
import { C as Te } from "../Shared/index-B477PjJ3.js";
|
|
12
|
-
import { _ as De } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as ge } from "../Shared/One.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { a as we } from "../Shared/language-
|
|
15
|
-
import { _ as _e } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as De } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BPu2Wq9y.js";
|
|
13
|
+
import { _ as ge } from "../Shared/One.vue_vue_type_script_setup_true_lang-CREhY2it.js";
|
|
14
|
+
import { a as we } from "../Shared/language-BaLIp7bA.js";
|
|
15
|
+
import { _ as _e } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BmRO42R2.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
const Oe = ["onClick"], Fe = ["innerHTML"], Ue = /* @__PURE__ */ le({
|
|
18
18
|
name: "ClSelectMoveSearchUl",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";const e=require("../Shared/Index.vue_vue_type_script_setup_true_lang-_jJNPocq.js");module.exports=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default } from '../../types/Web/SelectTag/Index.vue.d.ts';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../styles/Common/Token.css';
|
|
2
2
|
import '../../styles/Common/Input-base.css';
|
|
3
3
|
import '../../styles/Web/ClSelectTag.css';
|
|
4
|
-
import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as f } from "../Shared/Index.vue_vue_type_script_setup_true_lang-CUq-x89X.js";
|
|
5
5
|
export {
|
|
6
6
|
f as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("vue"),s=require("../Shared/base-DbuX_Y3x.js"),b=require("../Shared/index-rFJmbgyH.js"),Z=require("../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";const r=require("vue"),s=require("../Shared/base-DbuX_Y3x.js"),b=require("../Shared/index-rFJmbgyH.js"),Z=require("../Shared/Index.vue_vue_type_script_setup_true_lang-KKIG3pkE.js"),ee=require("../Shared/List.vue_vue_type_script_setup_true_lang-G2klceWn.js"),te=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DfHi5Zuv.js"),ne=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DuZNkaR0.js");;/* empty css */const re=["id"],ae={key:0,class:"selectTree-inText-num"},se={class:"selectTree-inDropdown-container"},oe={class:"selectTree-inDropdown-search"},ie={class:"selectTree-inDropdown-body"},le=r.defineComponent({name:"ClSelectTree",__name:"Index",props:{id:String,value:[String,Number],className:String,disabled:{type:Boolean,default:!1},list:{type:Array,default:()=>[]},placeholder:String,classDropDown:String,multiple:{type:Boolean,default:!1},isClear:{type:Boolean,default:!1},arrowDirection:{type:String,default:"right"},searchPlaceholder:String,searchKey:{type:Array,default:()=>["name"]},searchKeyType:{type:String,default:"||",validator:i=>["||","&&"].includes(i)},showTextFormat:String,showDropDownTextFormat:String,isSingleSelectParent:{type:Boolean,default:!1},isOutMerge:{type:Boolean,default:!0},parentKey:{type:String,default:"parentId"},topParentValue:{type:String,default:"0"},onOpenBefore:Function,highlightMode:{type:String,default:"full"},highlightColor:{type:String,default:""},isPlaintext:{type:Boolean,default:!1},plaintextSeparator:{type:String,default:","},plaintextLevelSeparator:{type:String,default:" > "},appendContainer:{type:String,default:""}},emits:{"update:value":i=>!0,"update:modelValue":i=>!0,onChange:(i,v)=>!0,onInit:()=>!0,onOpen:i=>!0},setup(i,{expose:v,emit:k}){const o=i,h=k,L=o.id,S=r.useTemplateRef("refElDropdownLayer"),y=r.useTemplateRef("refElList"),n=r.reactive({isOpen:!1,isFirstDataFinish:!1,selectIds:"",selectLabel:[],filterList:[],searchOpenParentIds:"",searchFoldParentIds:"",searchKeyword:""}),d={prevSelectIds:[],originalList:[],dataJson:{}},F=r.computed(()=>{let e={"panel-select-tree":!0};return e=s.CommonBase.getJsonMerge(e,b.CommonElement.getClassNameJson(o.className)),s.CommonBase.getStringByJson(e," ")}),K=r.computed(()=>{let e={"selectTree-inDropdown":!0};return e=s.CommonBase.getJsonMerge(e,b.CommonElement.getClassNameJson(o.classDropDown)),s.CommonBase.getStringByJson(e," ")}),A=e=>{h("update:value",e),h("update:modelValue",e)},M=(e,t)=>{A(e),h("onChange",e,t)},N=()=>{r.nextTick(()=>{h("onInit")})},J=e=>{r.nextTick(()=>{h("onOpen",e)})},x=()=>{if(!n.isOpen){const e=n.selectIds,t=e.split(",");if(!s.CommonBase.isEqualArr(t,d.prevSelectIds)){d.prevSelectIds=t;const l=y.value?y.value.getValueData():[];M(e,l)}}},P=e=>{const t=o.showTextFormat;let a="";return s.CommonBase.isNonEmptyString(t)?a=t.replace(/\$\{(\w+)\}/g,(l,u)=>s.CommonBase.isString(e?.[u])?e[u]:l):a=s.CommonBase.isString(e?.name)?e.name:"",s.CommonBase.encodeHTML(a)},B=e=>s.CommonBase.isEmpty(e)?[]:e.split(",").map(t=>{const a=d.dataJson[t];return a?P(a):s.CommonBase.encodeHTML(t)}),q=e=>{const t=[],a=new Set;let l=e;for(;s.CommonBase.isNonEmptyString(l)&&!a.has(l);){a.add(l);const u=d.dataJson[l];if(!u)break;s.CommonBase.isNonEmptyString(u.name)&&t.unshift(u.name);const f=u[o.parentKey],g=f!=null?String(f):"";if(g===""||g===String(o.topParentValue))break;l=g}return t},j=r.computed(()=>{o.list;const e=s.CommonBase.isString(n.selectIds)?n.selectIds:"";if(s.CommonBase.isEmpty(e))return"";const t=s.CommonBase.isString(o.plaintextLevelSeparator)?o.plaintextLevelSeparator:" > ",a=s.CommonBase.isString(o.plaintextSeparator)?o.plaintextSeparator:",";return e.split(",").map(l=>{const u=q(l);return s.CommonBase.removeHTMLTags(u.length>0?u.join(t):l)}).join(a)}),U=e=>Array.isArray(e)?e.filter(t=>{if(!t)return!1;const a=!s.CommonBase.isUndefined(t.id)&&t.id!==null,l=!s.CommonBase.isEmpty(t[o.parentKey]);return a&&l}):[],_=e=>e===null?"":s.CommonBase.isString(e)||s.CommonBase.isFinite(e)?String(e):"",H=e=>{const t={};return Array.isArray(e)&&e.forEach(a=>{a&&!s.CommonBase.isUndefined(a.id)&&a.id!==null&&(t[String(a.id)]=a)}),t},$=()=>{const e=_(o.value);n.selectIds!==e&&(n.selectIds=e,n.selectLabel=B(e),d.prevSelectIds=e.split(","))},w=(e,t)=>{const a=[];return t===void 0&&(t=new Set),t.has(e)||(t.add(e),d.originalList.forEach(l=>{if(!l)return;const u=l[o.parentKey];s.CommonBase.isUndefined(u)||String(u)===o.topParentValue||String(u)===String(e)&&(a.push(String(l.id)),a.push(...w(String(l.id),t)))})),a},R=(e,t)=>{if(s.CommonBase.isEmpty(t))return n.searchOpenParentIds="",n.searchFoldParentIds="",e;const a=Array.isArray(o.searchKey)?o.searchKey.filter(c=>s.CommonBase.isString(c)):[];if(a.length===0)return n.searchOpenParentIds="",n.searchFoldParentIds="",e;const l=o.searchKeyType==="&&",u=e.filter(c=>{if(!c)return!1;const p=a.map(m=>{const C=c?.[m];return s.CommonBase.isString(C)?C.includes(t):!1});return l?p.every(Boolean):p.some(Boolean)});if(u.length===0)return n.searchOpenParentIds="",n.searchFoldParentIds="",e;const f={};e.forEach(c=>{c&&(f[String(c.id)]=c)});const g=new Set,I=new Set,O=c=>{const p=f[String(c)];if(!p)return;const m=p[o.parentKey];!s.CommonBase.isUndefined(m)&&String(m)!==o.topParentValue&&(g.add(String(m)),I.add(String(m)),O(String(m)))};u.forEach(c=>{const p=String(c.id);g.add(p),O(p),w(p).forEach(m=>g.add(m))});const E=e.filter(c=>c&&g.has(String(c.id)));n.searchOpenParentIds=Array.from(I).join(",");const T=new Set;return E.forEach(c=>{if(!c)return;const p=String(c.id);if(I.has(p))return;d.originalList.some(C=>{if(!C)return!1;const V=C[o.parentKey];return!s.CommonBase.isUndefined(V)&&String(V)===p})&&T.add(p)}),n.searchFoldParentIds=Array.from(T).join(","),E},D=()=>{n.isFirstDataFinish||(n.isFirstDataFinish=!0,N())},z=()=>{s.CommonBase.isEmpty(o.list)||D()};r.onMounted(()=>{r.nextTick(()=>{z()})}),r.watch([()=>o.value,()=>o.list],([e,t],[a,l])=>{t!==l&&(d.originalList=U(o.list),d.dataJson=H(d.originalList),n.filterList=d.originalList,n.selectLabel=B(n.selectIds),d.originalList.length>0&&D()),e!==a&&$()},{immediate:!0});const G=e=>{o.disabled||(n.isOpen=e,e?(d.prevSelectIds=n.selectIds.split(","),n.filterList=d.originalList):(n.searchKeyword="",n.searchOpenParentIds="",n.searchFoldParentIds="",x()),J(e))},Q=()=>{o.disabled||(n.selectIds="",n.selectLabel=[],d.prevSelectIds=[],x())},W=()=>{S.value&&(S.value.checkIsShowOpen()||S.value.initCompleteOpen())},X=e=>{const t=s.CommonBase.isString(e)?e:"";n.searchKeyword=t,n.filterList=R(d.originalList,t)},Y=(e,t)=>{const a=Array.isArray(t)?t:[];n.selectLabel=a.map(l=>P(l)),o.multiple||S.value?.setOpen(!1)};return v({getValue:()=>n.selectIds,getValueData:()=>y.value?y.value.getValueData():[],setValue:e=>{const t=_(e);n.selectIds=t,n.selectLabel=B(t),d.prevSelectIds=t.split(",")}}),(e,t)=>i.isPlaintext?(r.openBlock(),r.createElementBlock("div",{key:0,id:r.unref(L),class:"cl-plaintext-value"},r.toDisplayString(j.value),9,re)):(r.openBlock(),r.createBlock(ee._sfc_main,{key:1,ref_key:"refElDropdownLayer",ref:S,id:r.unref(L),classParent:F.value,classText:"selectTree-inText",classDropDown:K.value,placeholder:i.placeholder,isDisabled:i.disabled,isClear:i.isClear,textLabel:n.selectLabel.join(","),textArrowDirection:i.arrowDirection,appendContainer:i.appendContainer,onOpenBeforeCallback:i.onOpenBefore,onOnChangeOpen:G,onOnClear:Q},{textExtend:r.withCtx(()=>[i.multiple?(r.openBlock(),r.createElementBlock("span",ae,[i.multiple&&n.selectLabel.length>1?(r.openBlock(),r.createBlock(Z._sfc_main,{key:0,num:n.selectLabel.length},null,8,["num"])):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[],64))])):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[],64))]),dropdown:r.withCtx(()=>[r.createElementVNode("div",se,[r.createElementVNode("div",oe,[r.createVNode(te._sfc_main,{placeholder:i.searchPlaceholder,onOnChange:X},null,8,["placeholder"])]),r.createElementVNode("div",ie,[r.createVNode(ne._sfc_main,{ref_key:"refElList",ref:y,list:n.filterList,value:n.selectIds,"onUpdate:value":t[0]||(t[0]=a=>n.selectIds=a),multiple:i.multiple,textFormat:i.showDropDownTextFormat,isSingleSelectParent:i.isSingleSelectParent,isOutMerge:i.isOutMerge,parentKey:i.parentKey,topParentValue:i.topParentValue,searchOpenParentIds:n.searchOpenParentIds,searchFoldParentIds:n.searchFoldParentIds,searchKeyword:n.searchKeyword,highlightMode:i.highlightMode,highlightColor:i.highlightColor,onOnChange:Y,onOnInit:W},null,8,["list","value","multiple","textFormat","isSingleSelectParent","isOutMerge","parentKey","topParentValue","searchOpenParentIds","searchFoldParentIds","searchKeyword","highlightMode","highlightColor"])])])]),_:1},8,["id","classParent","classDropDown","placeholder","isDisabled","isClear","textLabel","textArrowDirection","appendContainer","onOpenBeforeCallback"]))}});module.exports=le;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default } from '../../types/Web/SelectTree/Index.vue.d.ts';
|
|
@@ -5,10 +5,10 @@ import '../../styles/Web/ClSelectTree.css';
|
|
|
5
5
|
import { defineComponent as ce, useTemplateRef as M, reactive as de, computed as w, onMounted as ue, nextTick as D, watch as pe, openBlock as h, createElementBlock as C, unref as _, toDisplayString as fe, createBlock as N, withCtx as J, createElementVNode as v, createVNode as j, Fragment as U } from "vue";
|
|
6
6
|
import { C as a } from "../Shared/base-fr2I80sU.js";
|
|
7
7
|
import { C as $ } from "../Shared/index-B477PjJ3.js";
|
|
8
|
-
import { _ as ge } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as he } from "../Shared/List.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { _ as Se } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as me } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as ge } from "../Shared/Index.vue_vue_type_script_setup_true_lang-vm_cblnn.js";
|
|
9
|
+
import { _ as he } from "../Shared/List.vue_vue_type_script_setup_true_lang-0EtOdp73.js";
|
|
10
|
+
import { _ as Se } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BPu2Wq9y.js";
|
|
11
|
+
import { _ as me } from "../Shared/Index.vue_vue_type_script_setup_true_lang-B2xxe-gj.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
const ye = ["id"], Ie = {
|
|
14
14
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("../Shared/base-DbuX_Y3x.js"),I=require("../Shared/index-rFJmbgyH.js"),M=require("../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";const e=require("vue"),s=require("../Shared/base-DbuX_Y3x.js"),I=require("../Shared/index-rFJmbgyH.js"),M=require("../Shared/Index.vue_vue_type_script_setup_true_lang-Cl7fkQ6_.js"),P=require("../Shared/Index.vue_vue_type_script_setup_true_lang-DU1H_1lY.js"),b=require("../Shared/SlideUpDown.vue_vue_type_script_setup_true_lang-Cp45S0a9.js");;/* empty css */const J={key:0,class:"sideNav-menu-iconOperate"},E=e.defineComponent({name:"ClSideMenuMenu",__name:"Menu",props:{activeId:{type:String,default:""},activePId:{type:Array,default:()=>[]},openId:{type:Array,default:()=>[]},list:{type:Array,default:()=>[]}},emits:{onClick:r=>!0},setup(r,{emit:_}){const p=_,y=`sideMenu-${s.CommonBase.getRandom(5)}`,u=d=>!!(d&&d.list&&d.list.length>0),n=d=>{p("onClick",d)};return(d,v)=>(e.openBlock(),e.createElementBlock("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.list,(a,k)=>(e.openBlock(),e.createElementBlock("li",{key:`${y}-${a.id}-${k}`,class:e.normalizeClass({"sideNav-menu-submenu":u(a),"sideNav-menu-active":!u(a)&&r.activeId===a.id,"sideNav-menu-parent-active":u(a)&&r.activePId.includes(a.id)})},[e.createVNode(M._sfc_main,{"aria-haspopup":u(a)?"true":void 0,"aria-expanded":u(a)?String(r.openId.includes(a.id)):void 0,"aria-current":u(a)?void 0:r.activeId===a.id?"page":void 0,onOnClick:C=>n(a)},{default:e.withCtx(()=>[u(a)?(e.openBlock(),e.createElementBlock("span",J,[e.createVNode(P._sfc_main,{name:"caret-right",class:e.normalizeClass(["icon-rotate",{"rotate-90":r.openId.includes(a.id)}])},null,8,["class"])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64)),e.createElementVNode("span",null,e.toDisplayString(a.name),1)]),_:2},1032,["aria-haspopup","aria-expanded","aria-current","onOnClick"]),u(a)?(e.openBlock(),e.createBlock(b._sfc_main,{key:0},{default:e.withCtx(()=>[r.openId.includes(a.id)?(e.openBlock(),e.createBlock(E,{key:0,activeId:r.activeId,activePId:r.activePId,openId:r.openId,list:a.list,onOnClick:n},null,8,["activeId","activePId","openId","list"])):e.createCommentVNode("",!0)]),_:2},1024)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))],2))),128))]))}}),$=["id"],w={class:"sideNav-wrapper sideNav-wrapper-rowMult"},V=e.defineComponent({name:"ClSideMenu",inheritAttrs:!1,__name:"Index",props:{id:String,className:String,active:String,list:{type:Array,required:!0,default:()=>[]}},emits:{onChangeMenu:r=>!0},setup(r,{emit:_}){const p=r,y=_,u=p.id,n=e.reactive({isMenushrink:!1,menuActive:s.CommonBase.isNonEmptyString(p.active)?p.active:"",menuActiveParent:[],menuOpenPid:[]}),d=e.ref([]),v={menuJson:{}},a=e.computed(()=>{let t={"panel-side-menu":!0};return t=s.CommonBase.getJsonMerge(t,I.CommonElement.getClassNameJson(p.className)),t}),k=t=>{y("onChangeMenu",t)},C=()=>{const t=s.CommonBase.getTreeLastParent(n.menuActive,v.menuJson,!1);let i=[];return t.length>0&&(i=t.map(o=>o.id)),n.menuActiveParent=i,i},f=(t,i,o,g=0)=>{g>50||t.forEach(m=>{if(s.CommonBase.isEmpty(m))return;const{id:c,name:h}=m;if(!s.CommonBase.isNonEmptyString(c)||!s.CommonBase.isUndefined(o[c]))return;const l=m.list,B=s.CommonBase.isArray(l);!B&&!s.CommonBase.isUndefined(l)&&(m.list=void 0),o[c]={id:c,name:h,parentId:i,hasChild:B&&l&&l.length>0},B&&l&&l.length>0&&f(l,c,o,g+1)})},N=t=>t.filter(i=>s.CommonBase.isNonEmptyString(i?.id)).map(i=>{const o=i.list;return s.CommonBase.isArray(o)&&o&&o.length>0&&(i.list=N(o)),i}),A=()=>{const t=N(s.CommonBase.getJsonClone(p.list,!0));if(s.CommonBase.isEmpty(t)){n.menuActive="",n.menuActiveParent=[],n.menuOpenPid=[],v.menuJson={},d.value=[];return}const i=v.menuJson,o=n.menuOpenPid.slice(),g=n.menuActive,m={};f(t,"",m);let c=g;(!s.CommonBase.isNonEmptyString(c)||s.CommonBase.isUndefined(m[c]))&&(c=s.CommonBase.isNonEmptyString(t[0].id)?t[0].id:"");const h=[];Object.keys(m).forEach(l=>{m[l].hasChild&&(s.CommonBase.isUndefined(i[l])||o.includes(l))&&h.push(l)}),v.menuJson=m,d.value=t,n.menuActive=c,n.menuOpenPid=h,c!==g?(C(),s.CommonBase.isNonEmptyString(c)&&k(c)):C()},O=()=>{A()};e.onMounted(()=>{O()}),e.watch(()=>p.list,()=>{A()},{deep:!0}),e.watch(()=>p.active,t=>{if(s.CommonBase.isNonEmptyString(t)&&!s.CommonBase.isUndefined(v.menuJson[t])){n.menuActive=t;const i=C();i.length>0&&i.forEach(o=>{n.menuOpenPid.indexOf(o)===-1&&n.menuOpenPid.push(o)})}});const S=()=>{n.isMenushrink=!n.isMenushrink},x=t=>{const i=t.id;if(s.CommonBase.isNonEmptyString(i))if(t.list&&t.list.length>0){const o=n.menuOpenPid.indexOf(i);o>-1?n.menuOpenPid.splice(o,1):n.menuOpenPid.push(i)}else{if(n.menuActive===i)return;n.menuActive=i,C(),k(n.menuActive)}};return(t,i)=>n.menuActive.length>0?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0,id:e.unref(u),class:a.value},t.$attrs),[e.createElementVNode("div",{class:e.normalizeClass({"sideNav-menu":!0,"sideNav-visible":!n.isMenushrink})},[e.createVNode(E,{list:d.value,activeId:n.menuActive,activePId:n.menuActiveParent,openId:n.menuOpenPid,onOnClick:x},null,8,["list","activeId","activePId","openId"])],2),e.createElementVNode("div",w,[e.createVNode(M._sfc_main,{className:"sideNav-menu-footer-bar","aria-label":"展开或收起菜单","aria-expanded":String(!n.isMenushrink),onOnClick:S},{default:e.withCtx(()=>[e.createVNode(P._sfc_main,{name:n.isMenushrink?"angle-double-right":"angle-double-left"},null,8,["name"])]),_:1},8,["aria-expanded"]),e.renderSlot(t.$slots,"default")])],16,$)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[],64))}});module.exports=V;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default } from '../../types/Web/SideMenu/Index.vue.d.ts';
|
|
@@ -7,8 +7,8 @@ import '../../styles/Web/ClSideMenu.css';
|
|
|
7
7
|
import { defineComponent as b, openBlock as m, createElementBlock as v, Fragment as M, renderList as D, normalizeClass as O, createVNode as y, withCtx as _, createElementVNode as S, toDisplayString as j, createBlock as I, createCommentVNode as q, reactive as z, ref as F, computed as R, onMounted as G, watch as J, mergeProps as H, unref as K, renderSlot as Q } from "vue";
|
|
8
8
|
import { C as i } from "../Shared/base-fr2I80sU.js";
|
|
9
9
|
import { C as W } from "../Shared/index-B477PjJ3.js";
|
|
10
|
-
import { _ as L } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { _ as B } from "../Shared/Index.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { _ as L } from "../Shared/Index.vue_vue_type_script_setup_true_lang-xW9nixd_.js";
|
|
11
|
+
import { _ as B } from "../Shared/Index.vue_vue_type_script_setup_true_lang-BmRO42R2.js";
|
|
12
12
|
import { _ as X } from "../Shared/SlideUpDown.vue_vue_type_script_setup_true_lang-CRzacfx9.js";
|
|
13
13
|
/* empty css */
|
|
14
14
|
const Y = {
|