@nuwatop/code-canvas-core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -0
- package/dist/_virtual/_plugin-vue_export-helper.esm.js +9 -0
- package/dist/_virtual/_plugin-vue_export-helper.js.js +1 -0
- package/dist/base/actionParser.d.ts +50 -0
- package/dist/base/actionParser.d.ts.map +1 -0
- package/dist/base/actionParser.esm.js +44 -0
- package/dist/base/actionParser.js.js +1 -0
- package/dist/base/baseUtils.d.ts +110 -0
- package/dist/base/baseUtils.d.ts.map +1 -0
- package/dist/base/baseUtils.esm.js +183 -0
- package/dist/base/baseUtils.js.js +1 -0
- package/dist/base/index.d.ts +7 -0
- package/dist/base/index.d.ts.map +1 -0
- package/dist/base/moduleLoader.d.ts +8 -0
- package/dist/base/moduleLoader.d.ts.map +1 -0
- package/dist/base/moduleLoader.esm.js +19 -0
- package/dist/base/moduleLoader.js.js +1 -0
- package/dist/base/mountVueComponent.d.ts +23 -0
- package/dist/base/mountVueComponent.d.ts.map +1 -0
- package/dist/base/mountVueComponent.esm.js +78 -0
- package/dist/base/mountVueComponent.js.js +1 -0
- package/dist/base/store/AndStore.d.ts +17 -0
- package/dist/base/store/AndStore.d.ts.map +1 -0
- package/dist/base/store/andStore.esm.js +76 -0
- package/dist/base/store/andStore.js.js +1 -0
- package/dist/base/useStore.d.ts +121 -0
- package/dist/base/useStore.d.ts.map +1 -0
- package/dist/base/useStore.esm.js +169 -0
- package/dist/base/useStore.js.js +1 -0
- package/dist/components/AndAlert.vue.d.ts +27 -0
- package/dist/components/AndAlert.vue.d.ts.map +1 -0
- package/dist/components/AndAlert.vue.esm.js +61 -0
- package/dist/components/AndAlert.vue.esm2.js +4 -0
- package/dist/components/AndAlert.vue.js.js +1 -0
- package/dist/components/AndAlert.vue.js2.js +1 -0
- package/dist/components/AndAutoComplete.vue.d.ts +40 -0
- package/dist/components/AndAutoComplete.vue.d.ts.map +1 -0
- package/dist/components/AndAutoComplete.vue.esm.js +7 -0
- package/dist/components/AndAutoComplete.vue.esm2.js +74 -0
- package/dist/components/AndAutoComplete.vue.esm3.js +1 -0
- package/dist/components/AndAutoComplete.vue.js.js +1 -0
- package/dist/components/AndAutoComplete.vue.js2.js +1 -0
- package/dist/components/AndAutoComplete.vue.js3.js +1 -0
- package/dist/components/AndAvatar.vue.d.ts +25 -0
- package/dist/components/AndAvatar.vue.d.ts.map +1 -0
- package/dist/components/AndAvatar.vue.esm.js +48 -0
- package/dist/components/AndAvatar.vue.esm2.js +4 -0
- package/dist/components/AndAvatar.vue.js.js +1 -0
- package/dist/components/AndAvatar.vue.js2.js +1 -0
- package/dist/components/AndBreadCrumb.vue.d.ts +20 -0
- package/dist/components/AndBreadCrumb.vue.d.ts.map +1 -0
- package/dist/components/AndBreadCrumb.vue.esm.js +29 -0
- package/dist/components/AndBreadCrumb.vue.esm2.js +4 -0
- package/dist/components/AndBreadCrumb.vue.js.js +1 -0
- package/dist/components/AndBreadCrumb.vue.js2.js +1 -0
- package/dist/components/AndButton.vue.d.ts +28 -0
- package/dist/components/AndButton.vue.d.ts.map +1 -0
- package/dist/components/AndButton.vue.esm.js +57 -0
- package/dist/components/AndButton.vue.esm2.js +4 -0
- package/dist/components/AndButton.vue.js.js +1 -0
- package/dist/components/AndButton.vue.js2.js +1 -0
- package/dist/components/AndCalendar.vue.d.ts +16 -0
- package/dist/components/AndCalendar.vue.d.ts.map +1 -0
- package/dist/components/AndCalendar.vue.esm.js +19 -0
- package/dist/components/AndCalendar.vue.esm2.js +4 -0
- package/dist/components/AndCalendar.vue.js.js +1 -0
- package/dist/components/AndCalendar.vue.js2.js +1 -0
- package/dist/components/AndCard.vue.d.ts +25 -0
- package/dist/components/AndCard.vue.d.ts.map +1 -0
- package/dist/components/AndCard.vue.esm.js +7 -0
- package/dist/components/AndCard.vue.esm2.js +66 -0
- package/dist/components/AndCard.vue.esm3.js +1 -0
- package/dist/components/AndCard.vue.js.js +1 -0
- package/dist/components/AndCard.vue.js2.js +1 -0
- package/dist/components/AndCard.vue.js3.js +1 -0
- package/dist/components/AndCarousel.vue.d.ts +28 -0
- package/dist/components/AndCarousel.vue.d.ts.map +1 -0
- package/dist/components/AndCarousel.vue.esm.js +7 -0
- package/dist/components/AndCarousel.vue.esm2.js +100 -0
- package/dist/components/AndCarousel.vue.esm3.js +1 -0
- package/dist/components/AndCarousel.vue.js.js +1 -0
- package/dist/components/AndCarousel.vue.js2.js +1 -0
- package/dist/components/AndCarousel.vue.js3.js +1 -0
- package/dist/components/AndCascade.vue.d.ts +29 -0
- package/dist/components/AndCascade.vue.d.ts.map +1 -0
- package/dist/components/AndCascade.vue.esm.js +7 -0
- package/dist/components/AndCascade.vue.esm2.js +132 -0
- package/dist/components/AndCascade.vue.esm3.js +1 -0
- package/dist/components/AndCascade.vue.js.js +1 -0
- package/dist/components/AndCascade.vue.js2.js +1 -0
- package/dist/components/AndCascade.vue.js3.js +1 -0
- package/dist/components/AndCheck.vue.d.ts +32 -0
- package/dist/components/AndCheck.vue.d.ts.map +1 -0
- package/dist/components/AndCheck.vue.esm.js +7 -0
- package/dist/components/AndCheck.vue.esm2.js +136 -0
- package/dist/components/AndCheck.vue.esm3.js +1 -0
- package/dist/components/AndCheck.vue.js.js +1 -0
- package/dist/components/AndCheck.vue.js2.js +1 -0
- package/dist/components/AndCheck.vue.js3.js +1 -0
- package/dist/components/AndDatePicker.vue.d.ts +25 -0
- package/dist/components/AndDatePicker.vue.d.ts.map +1 -0
- package/dist/components/AndDatePicker.vue.esm.js +7 -0
- package/dist/components/AndDatePicker.vue.esm2.js +64 -0
- package/dist/components/AndDatePicker.vue.esm3.js +1 -0
- package/dist/components/AndDatePicker.vue.js.js +1 -0
- package/dist/components/AndDatePicker.vue.js2.js +1 -0
- package/dist/components/AndDatePicker.vue.js3.js +1 -0
- package/dist/components/AndDrawer.vue.d.ts +45 -0
- package/dist/components/AndDrawer.vue.d.ts.map +1 -0
- package/dist/components/AndDrawer.vue.esm.js +7 -0
- package/dist/components/AndDrawer.vue.esm2.js +76 -0
- package/dist/components/AndDrawer.vue.esm3.js +1 -0
- package/dist/components/AndDrawer.vue.js.js +1 -0
- package/dist/components/AndDrawer.vue.js2.js +1 -0
- package/dist/components/AndDrawer.vue.js3.js +1 -0
- package/dist/components/AndDropdownMenu.vue.d.ts +22 -0
- package/dist/components/AndDropdownMenu.vue.d.ts.map +1 -0
- package/dist/components/AndDropdownMenu.vue.esm.js +50 -0
- package/dist/components/AndDropdownMenu.vue.esm2.js +4 -0
- package/dist/components/AndDropdownMenu.vue.js.js +1 -0
- package/dist/components/AndDropdownMenu.vue.js2.js +1 -0
- package/dist/components/AndFormItem.vue.d.ts +26 -0
- package/dist/components/AndFormItem.vue.d.ts.map +1 -0
- package/dist/components/AndFormItem.vue.esm.js +45 -0
- package/dist/components/AndFormItem.vue.esm2.js +4 -0
- package/dist/components/AndFormItem.vue.js.js +1 -0
- package/dist/components/AndFormItem.vue.js2.js +1 -0
- package/dist/components/AndIcon.vue.d.ts +39 -0
- package/dist/components/AndIcon.vue.d.ts.map +1 -0
- package/dist/components/AndIcon.vue.esm.js +14 -0
- package/dist/components/AndIcon.vue.esm2.js +4 -0
- package/dist/components/AndIcon.vue.js.js +1 -0
- package/dist/components/AndIcon.vue.js2.js +1 -0
- package/dist/components/AndImage.vue.d.ts +31 -0
- package/dist/components/AndImage.vue.d.ts.map +1 -0
- package/dist/components/AndImage.vue.esm.js +7 -0
- package/dist/components/AndImage.vue.esm2.js +58 -0
- package/dist/components/AndImage.vue.esm3.js +1 -0
- package/dist/components/AndImage.vue.js.js +1 -0
- package/dist/components/AndImage.vue.js2.js +1 -0
- package/dist/components/AndImage.vue.js3.js +1 -0
- package/dist/components/AndImageGroup.vue.d.ts +18 -0
- package/dist/components/AndImageGroup.vue.d.ts.map +1 -0
- package/dist/components/AndImageGroup.vue.esm.js +7 -0
- package/dist/components/AndImageGroup.vue.esm2.js +101 -0
- package/dist/components/AndImageGroup.vue.esm3.js +1 -0
- package/dist/components/AndImageGroup.vue.js.js +1 -0
- package/dist/components/AndImageGroup.vue.js2.js +1 -0
- package/dist/components/AndImageGroup.vue.js3.js +1 -0
- package/dist/components/AndInput.vue.d.ts +36 -0
- package/dist/components/AndInput.vue.d.ts.map +1 -0
- package/dist/components/AndInput.vue.esm.js +7 -0
- package/dist/components/AndInput.vue.esm2.js +106 -0
- package/dist/components/AndInput.vue.esm3.js +1 -0
- package/dist/components/AndInput.vue.js.js +1 -0
- package/dist/components/AndInput.vue.js2.js +1 -0
- package/dist/components/AndInput.vue.js3.js +1 -0
- package/dist/components/AndInputArea.vue.d.ts +23 -0
- package/dist/components/AndInputArea.vue.d.ts.map +1 -0
- package/dist/components/AndInputArea.vue.esm.js +7 -0
- package/dist/components/AndInputArea.vue.esm2.js +55 -0
- package/dist/components/AndInputArea.vue.esm3.js +1 -0
- package/dist/components/AndInputArea.vue.js.js +1 -0
- package/dist/components/AndInputArea.vue.js2.js +1 -0
- package/dist/components/AndInputArea.vue.js3.js +1 -0
- package/dist/components/AndInputNumber.vue.d.ts +29 -0
- package/dist/components/AndInputNumber.vue.d.ts.map +1 -0
- package/dist/components/AndInputNumber.vue.esm.js +7 -0
- package/dist/components/AndInputNumber.vue.esm2.js +88 -0
- package/dist/components/AndInputNumber.vue.esm3.js +1 -0
- package/dist/components/AndInputNumber.vue.js.js +1 -0
- package/dist/components/AndInputNumber.vue.js2.js +1 -0
- package/dist/components/AndInputNumber.vue.js3.js +1 -0
- package/dist/components/AndInputPassword.vue.d.ts +23 -0
- package/dist/components/AndInputPassword.vue.d.ts.map +1 -0
- package/dist/components/AndInputPassword.vue.esm.js +7 -0
- package/dist/components/AndInputPassword.vue.esm2.js +53 -0
- package/dist/components/AndInputPassword.vue.esm3.js +1 -0
- package/dist/components/AndInputPassword.vue.js.js +1 -0
- package/dist/components/AndInputPassword.vue.js2.js +1 -0
- package/dist/components/AndInputPassword.vue.js3.js +1 -0
- package/dist/components/AndInputSearch.vue.d.ts +27 -0
- package/dist/components/AndInputSearch.vue.d.ts.map +1 -0
- package/dist/components/AndInputSearch.vue.esm.js +52 -0
- package/dist/components/AndInputSearch.vue.esm2.js +4 -0
- package/dist/components/AndInputSearch.vue.js.js +1 -0
- package/dist/components/AndInputSearch.vue.js2.js +1 -0
- package/dist/components/AndIterator.vue.d.ts +44 -0
- package/dist/components/AndIterator.vue.d.ts.map +1 -0
- package/dist/components/AndIterator.vue.esm.js +91 -0
- package/dist/components/AndIterator.vue.esm2.js +4 -0
- package/dist/components/AndIterator.vue.js.js +1 -0
- package/dist/components/AndIterator.vue.js2.js +1 -0
- package/dist/components/AndMenu.vue.d.ts +16 -0
- package/dist/components/AndMenu.vue.d.ts.map +1 -0
- package/dist/components/AndMenu.vue.esm.js +22 -0
- package/dist/components/AndMenu.vue.esm2.js +4 -0
- package/dist/components/AndMenu.vue.js.js +1 -0
- package/dist/components/AndMenu.vue.js2.js +1 -0
- package/dist/components/AndModal.vue.d.ts +44 -0
- package/dist/components/AndModal.vue.d.ts.map +1 -0
- package/dist/components/AndModal.vue.esm.js +40 -0
- package/dist/components/AndModal.vue.esm2.js +4 -0
- package/dist/components/AndModal.vue.js.js +1 -0
- package/dist/components/AndModal.vue.js2.js +1 -0
- package/dist/components/AndPagination.vue.d.ts +30 -0
- package/dist/components/AndPagination.vue.d.ts.map +1 -0
- package/dist/components/AndPagination.vue.esm.js +97 -0
- package/dist/components/AndPagination.vue.esm2.js +4 -0
- package/dist/components/AndPagination.vue.js.js +1 -0
- package/dist/components/AndPagination.vue.js2.js +1 -0
- package/dist/components/AndParagraph.vue.d.ts +27 -0
- package/dist/components/AndParagraph.vue.d.ts.map +1 -0
- package/dist/components/AndParagraph.vue.esm.js +46 -0
- package/dist/components/AndParagraph.vue.esm2.js +4 -0
- package/dist/components/AndParagraph.vue.js.js +1 -0
- package/dist/components/AndParagraph.vue.js2.js +1 -0
- package/dist/components/AndProductCategory.vue.d.ts +3 -0
- package/dist/components/AndProductCategory.vue.d.ts.map +1 -0
- package/dist/components/AndProductCategory.vue.esm.js +340 -0
- package/dist/components/AndProductCategory.vue.esm2.js +1 -0
- package/dist/components/AndProductCategory.vue.js.js +1 -0
- package/dist/components/AndProductCategory.vue.js2.js +1 -0
- package/dist/components/AndQRCode.vue.d.ts +37 -0
- package/dist/components/AndQRCode.vue.d.ts.map +1 -0
- package/dist/components/AndQRCode.vue.esm.js +50 -0
- package/dist/components/AndQRCode.vue.esm2.js +4 -0
- package/dist/components/AndQRCode.vue.js.js +1 -0
- package/dist/components/AndQRCode.vue.js2.js +1 -0
- package/dist/components/AndRadio.vue.d.ts +32 -0
- package/dist/components/AndRadio.vue.d.ts.map +1 -0
- package/dist/components/AndRadio.vue.esm.js +7 -0
- package/dist/components/AndRadio.vue.esm2.js +128 -0
- package/dist/components/AndRadio.vue.esm3.js +1 -0
- package/dist/components/AndRadio.vue.js.js +1 -0
- package/dist/components/AndRadio.vue.js2.js +1 -0
- package/dist/components/AndRadio.vue.js3.js +1 -0
- package/dist/components/AndRangePicker.vue.d.ts +16 -0
- package/dist/components/AndRangePicker.vue.d.ts.map +1 -0
- package/dist/components/AndRangePicker.vue.esm.js +54 -0
- package/dist/components/AndRangePicker.vue.esm2.js +4 -0
- package/dist/components/AndRangePicker.vue.js.js +1 -0
- package/dist/components/AndRangePicker.vue.js2.js +1 -0
- package/dist/components/AndRate.vue.d.ts +27 -0
- package/dist/components/AndRate.vue.d.ts.map +1 -0
- package/dist/components/AndRate.vue.esm.js +58 -0
- package/dist/components/AndRate.vue.esm2.js +4 -0
- package/dist/components/AndRate.vue.js.js +1 -0
- package/dist/components/AndRate.vue.js2.js +1 -0
- package/dist/components/AndResult.vue.d.ts +22 -0
- package/dist/components/AndResult.vue.d.ts.map +1 -0
- package/dist/components/AndResult.vue.esm.js +16 -0
- package/dist/components/AndResult.vue.esm2.js +4 -0
- package/dist/components/AndResult.vue.js.js +1 -0
- package/dist/components/AndResult.vue.js2.js +1 -0
- package/dist/components/AndSelect.vue.d.ts +18 -0
- package/dist/components/AndSelect.vue.d.ts.map +1 -0
- package/dist/components/AndSelect.vue.esm.js +7 -0
- package/dist/components/AndSelect.vue.esm2.js +128 -0
- package/dist/components/AndSelect.vue.esm3.js +1 -0
- package/dist/components/AndSelect.vue.js.js +1 -0
- package/dist/components/AndSelect.vue.js2.js +1 -0
- package/dist/components/AndSelect.vue.js3.js +1 -0
- package/dist/components/AndSimpleForm.vue.d.ts +45 -0
- package/dist/components/AndSimpleForm.vue.d.ts.map +1 -0
- package/dist/components/AndSimpleForm.vue.esm.js +7 -0
- package/dist/components/AndSimpleForm.vue.esm2.js +175 -0
- package/dist/components/AndSimpleForm.vue.esm3.js +1 -0
- package/dist/components/AndSimpleForm.vue.js.js +1 -0
- package/dist/components/AndSimpleForm.vue.js2.js +1 -0
- package/dist/components/AndSimpleForm.vue.js3.js +1 -0
- package/dist/components/AndSlider.vue.d.ts +16 -0
- package/dist/components/AndSlider.vue.d.ts.map +1 -0
- package/dist/components/AndSlider.vue.esm.js +7 -0
- package/dist/components/AndSlider.vue.esm2.js +19 -0
- package/dist/components/AndSlider.vue.esm3.js +1 -0
- package/dist/components/AndSlider.vue.js.js +1 -0
- package/dist/components/AndSlider.vue.js2.js +1 -0
- package/dist/components/AndSlider.vue.js3.js +1 -0
- package/dist/components/AndStatistics.vue.d.ts +16 -0
- package/dist/components/AndStatistics.vue.d.ts.map +1 -0
- package/dist/components/AndStatistics.vue.esm.js +19 -0
- package/dist/components/AndStatistics.vue.esm2.js +4 -0
- package/dist/components/AndStatistics.vue.js.js +1 -0
- package/dist/components/AndStatistics.vue.js2.js +1 -0
- package/dist/components/AndStatisticsCountdown.vue.d.ts +16 -0
- package/dist/components/AndStatisticsCountdown.vue.d.ts.map +1 -0
- package/dist/components/AndStatisticsCountdown.vue.esm.js +19 -0
- package/dist/components/AndStatisticsCountdown.vue.esm2.js +4 -0
- package/dist/components/AndStatisticsCountdown.vue.js.js +1 -0
- package/dist/components/AndStatisticsCountdown.vue.js2.js +1 -0
- package/dist/components/AndSteps.vue.d.ts +42 -0
- package/dist/components/AndSteps.vue.d.ts.map +1 -0
- package/dist/components/AndSteps.vue.esm.js +84 -0
- package/dist/components/AndSteps.vue.esm2.js +4 -0
- package/dist/components/AndSteps.vue.js.js +1 -0
- package/dist/components/AndSteps.vue.js2.js +1 -0
- package/dist/components/AndSwitch.vue.d.ts +26 -0
- package/dist/components/AndSwitch.vue.d.ts.map +1 -0
- package/dist/components/AndSwitch.vue.esm.js +49 -0
- package/dist/components/AndSwitch.vue.esm2.js +4 -0
- package/dist/components/AndSwitch.vue.js.js +1 -0
- package/dist/components/AndSwitch.vue.js2.js +1 -0
- package/dist/components/AndTabPane.vue.d.ts +23 -0
- package/dist/components/AndTabPane.vue.d.ts.map +1 -0
- package/dist/components/AndTabPane.vue.esm.js +21 -0
- package/dist/components/AndTabPane.vue.esm2.js +4 -0
- package/dist/components/AndTabPane.vue.js.js +1 -0
- package/dist/components/AndTabPane.vue.js2.js +1 -0
- package/dist/components/AndTable.vue.d.ts +43 -0
- package/dist/components/AndTable.vue.d.ts.map +1 -0
- package/dist/components/AndTable.vue.esm.js +7 -0
- package/dist/components/AndTable.vue.esm2.js +326 -0
- package/dist/components/AndTable.vue.esm3.js +1 -0
- package/dist/components/AndTable.vue.js.js +1 -0
- package/dist/components/AndTable.vue.js2.js +1 -0
- package/dist/components/AndTable.vue.js3.js +1 -0
- package/dist/components/AndTableColumnFilter.vue.d.ts +22 -0
- package/dist/components/AndTableColumnFilter.vue.d.ts.map +1 -0
- package/dist/components/AndTableColumnFilter.vue.esm.js +7 -0
- package/dist/components/AndTableColumnFilter.vue.esm2.js +102 -0
- package/dist/components/AndTableColumnFilter.vue.esm3.js +1 -0
- package/dist/components/AndTableColumnFilter.vue.js.js +1 -0
- package/dist/components/AndTableColumnFilter.vue.js2.js +1 -0
- package/dist/components/AndTableColumnFilter.vue.js3.js +1 -0
- package/dist/components/AndTableFormat.d.ts +56 -0
- package/dist/components/AndTableFormat.d.ts.map +1 -0
- package/dist/components/AndTableFormat.esm.js +118 -0
- package/dist/components/AndTableFormat.js.js +1 -0
- package/dist/components/AndTabs.vue.d.ts +41 -0
- package/dist/components/AndTabs.vue.d.ts.map +1 -0
- package/dist/components/AndTabs.vue.esm.js +113 -0
- package/dist/components/AndTabs.vue.esm2.js +4 -0
- package/dist/components/AndTabs.vue.js.js +1 -0
- package/dist/components/AndTabs.vue.js2.js +1 -0
- package/dist/components/AndTag.vue.d.ts +41 -0
- package/dist/components/AndTag.vue.d.ts.map +1 -0
- package/dist/components/AndTag.vue.esm.js +107 -0
- package/dist/components/AndTag.vue.esm2.js +4 -0
- package/dist/components/AndTag.vue.js.js +1 -0
- package/dist/components/AndTag.vue.js2.js +1 -0
- package/dist/components/AndText.vue.d.ts +33 -0
- package/dist/components/AndText.vue.d.ts.map +1 -0
- package/dist/components/AndText.vue.esm.js +106 -0
- package/dist/components/AndText.vue.esm2.js +4 -0
- package/dist/components/AndText.vue.js.js +1 -0
- package/dist/components/AndText.vue.js2.js +1 -0
- package/dist/components/AndTimePicker.vue.d.ts +16 -0
- package/dist/components/AndTimePicker.vue.d.ts.map +1 -0
- package/dist/components/AndTimePicker.vue.esm.js +19 -0
- package/dist/components/AndTimePicker.vue.esm2.js +4 -0
- package/dist/components/AndTimePicker.vue.js.js +1 -0
- package/dist/components/AndTimePicker.vue.js2.js +1 -0
- package/dist/components/AndTimeline.vue.d.ts +32 -0
- package/dist/components/AndTimeline.vue.d.ts.map +1 -0
- package/dist/components/AndTimeline.vue.esm.js +92 -0
- package/dist/components/AndTimeline.vue.esm2.js +4 -0
- package/dist/components/AndTimeline.vue.js.js +1 -0
- package/dist/components/AndTimeline.vue.js2.js +1 -0
- package/dist/components/AndTitle.vue.d.ts +23 -0
- package/dist/components/AndTitle.vue.d.ts.map +1 -0
- package/dist/components/AndTitle.vue.esm.js +24 -0
- package/dist/components/AndTitle.vue.esm2.js +4 -0
- package/dist/components/AndTitle.vue.js.js +1 -0
- package/dist/components/AndTitle.vue.js2.js +1 -0
- package/dist/components/AndTree.vue.d.ts +48 -0
- package/dist/components/AndTree.vue.d.ts.map +1 -0
- package/dist/components/AndTree.vue.esm.js +64 -0
- package/dist/components/AndTree.vue.esm2.js +4 -0
- package/dist/components/AndTree.vue.js.js +1 -0
- package/dist/components/AndTree.vue.js2.js +1 -0
- package/dist/components/AndTreeSelect.vue.d.ts +16 -0
- package/dist/components/AndTreeSelect.vue.d.ts.map +1 -0
- package/dist/components/AndTreeSelect.vue.esm.js +19 -0
- package/dist/components/AndTreeSelect.vue.esm2.js +4 -0
- package/dist/components/AndTreeSelect.vue.js.js +1 -0
- package/dist/components/AndTreeSelect.vue.js2.js +1 -0
- package/dist/components/AndUpload.vue.d.ts +28 -0
- package/dist/components/AndUpload.vue.d.ts.map +1 -0
- package/dist/components/AndUpload.vue.esm.js +7 -0
- package/dist/components/AndUpload.vue.esm2.js +185 -0
- package/dist/components/AndUpload.vue.esm3.js +1 -0
- package/dist/components/AndUpload.vue.js.js +1 -0
- package/dist/components/AndUpload.vue.js2.js +1 -0
- package/dist/components/AndUpload.vue.js3.js +1 -0
- package/dist/components/TableColumnSetting.vue.d.ts +20 -0
- package/dist/components/TableColumnSetting.vue.d.ts.map +1 -0
- package/dist/components/TableColumnSetting.vue.esm.js +135 -0
- package/dist/components/TableColumnSetting.vue.esm2.js +4 -0
- package/dist/components/TableColumnSetting.vue.js.js +1 -0
- package/dist/components/TableColumnSetting.vue.js2.js +1 -0
- package/dist/components/UploadFile/src/useUpload.d.ts +8 -0
- package/dist/components/UploadFile/src/useUpload.d.ts.map +1 -0
- package/dist/components/UploadFile/src/useUpload.esm.js +12 -0
- package/dist/components/UploadFile/src/useUpload.js.js +1 -0
- package/dist/components/index.d.ts +55 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/config/index.d.ts +43 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.esm.js +25 -0
- package/dist/config/index.js.js +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +181 -0
- package/dist/index.js.js +1 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/extends.esm.js +13 -0
- package/dist/node_modules/.pnpm/@babel_runtime@7.26.0/node_modules/@babel/runtime/helpers/esm/extends.js.js +1 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/calendar/locale/zh_CN.esm.js +4 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/calendar/locale/zh_CN.js.js +1 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/config-provider/context.esm.js +7 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/config-provider/context.js.js +1 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/date-picker/locale/zh_CN.esm.js +22 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/date-picker/locale/zh_CN.js.js +1 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/locale/zh_CN.esm.js +140 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/locale/zh_CN.js.js +1 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/time-picker/locale/zh_CN.esm.js +7 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/time-picker/locale/zh_CN.js.js +1 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/vc-pagination/locale/zh_CN.esm.js +17 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/vc-pagination/locale/zh_CN.js.js +1 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/vc-picker/locale/zh_CN.esm.js +31 -0
- package/dist/node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.12_typescript@5.3.3_/node_modules/ant-design-vue/es/vc-picker/locale/zh_CN.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.esm.js +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Hash.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.esm.js +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_ListCache.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.esm.js +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_MapCache.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.esm.js +18 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Stack.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.esm.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.esm.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayEach.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.esm.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayFilter.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.esm.js +20 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayPush.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.esm.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.esm.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assocIndexOf.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssign.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignIn.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignIn.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.esm.js +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseAssignValue.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.esm.js +65 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseClone.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.esm.js +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseCreate.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.esm.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsArguments.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsMap.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.esm.js +16 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsNative.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsSet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.esm.js +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.esm.js +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.esm.js +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseTimes.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneArrayBuffer.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.esm.js +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneBuffer.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneDataView.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneRegExp.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneSymbol.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_cloneTypedArray.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyArray.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.esm.js +14 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copyObject.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbols.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbolsIn.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_copySymbolsIn.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.esm.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.esm.js +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.esm.js +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeysIn.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeysIn.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getMapData.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getNative.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.esm.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.esm.js +15 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.esm.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbols.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbolsIn.esm.js +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbolsIn.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.esm.js +28 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getValue.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashClear.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashDelete.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.esm.js +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashGet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashHas.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hashSet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneArray.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.esm.js +42 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneByTag.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_initCloneObject.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isIndex.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKeyable.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.esm.js +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isPrototype.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheClear.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.esm.js +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheDelete.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheGet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheHas.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_listCacheSet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.esm.js +13 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheDelete.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheGet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheHas.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheSet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.esm.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeCreate.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.esm.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.esm.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.esm.js +11 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nodeUtil.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.esm.js +5 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackDelete.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackGet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackHas.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.esm.js +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackSet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.esm.js +17 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_toSource.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/cloneDeep.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/eq.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.esm.js +10 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.esm.js +4 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.esm.js +8 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArrayLike.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isBuffer.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.esm.js +12 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isFunction.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isMap.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObject.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSet.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.esm.js +7 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isTypedArray.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keys.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.esm.js +9 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubArray.js.js +1 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.esm.js +6 -0
- package/dist/node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.js.js +1 -0
- package/dist/runtime/Running.d.ts +7 -0
- package/dist/runtime/Running.d.ts.map +1 -0
- package/dist/runtime/Running.esm.js +39 -0
- package/dist/runtime/Running.js.js +1 -0
- package/dist/runtime/index.d.ts +2 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.esm.js +6 -0
- package/dist/runtime/index.js.js +1 -0
- package/dist/style.css +1 -0
- package/dist/types/common.d.ts +18 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/auth.d.ts +3 -0
- package/dist/utils/auth.d.ts.map +1 -0
- package/dist/utils/auth.esm.js +11 -0
- package/dist/utils/auth.js.js +1 -0
- package/dist/utils/base.d.ts +6 -0
- package/dist/utils/base.d.ts.map +1 -0
- package/dist/utils/base.esm.js +15 -0
- package/dist/utils/base.js.js +1 -0
- package/dist/utils/dict.d.ts +3 -0
- package/dist/utils/dict.d.ts.map +1 -0
- package/dist/utils/dict.esm.js +11 -0
- package/dist/utils/dict.js.js +1 -0
- package/dist/utils/formatter.d.ts +60 -0
- package/dist/utils/formatter.d.ts.map +1 -0
- package/dist/utils/formatter.esm.js +594 -0
- package/dist/utils/formatter.js.js +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/is.d.ts +6 -0
- package/dist/utils/is.d.ts.map +1 -0
- package/dist/utils/is.esm.js +10 -0
- package/dist/utils/is.js.js +1 -0
- package/dist/utils/request.d.ts +6 -0
- package/dist/utils/request.d.ts.map +1 -0
- package/dist/utils/request.esm.js +11 -0
- package/dist/utils/request.js.js +1 -0
- package/dist/utils/runCommonUtils.d.ts +73 -0
- package/dist/utils/runCommonUtils.d.ts.map +1 -0
- package/dist/utils/runCommonUtils.esm.js +112 -0
- package/dist/utils/runCommonUtils.js.js +1 -0
- package/package.json +65 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndCascade.vue.d.ts","sourceRoot":"","sources":["../../src/components/AndCascade.vue"],"names":[],"mappings":"AAYA;AASA,UAAU,YAAY;IACpB,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE;QACX,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;;kBAoWe,YAAY;;kBAAZ,YAAY;;AAN5B,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { defineComponent as I, computed as y, watch as M, ref as O, onMounted as N, resolveComponent as U, openBlock as R, createElementBlock as F, createVNode as W, mergeProps as q, unref as A, toDisplayString as z, createCommentVNode as G } from "vue";
|
|
2
|
+
import { request as H } from "../utils/request.esm.js";
|
|
3
|
+
import { useStore as K, useValidateStore as J, useValidateWatchStore as Q } from "../base/useStore.esm.js";
|
|
4
|
+
import { processValidationRules as X, validateData as Y } from "../base/baseUtils.esm.js";
|
|
5
|
+
const Z = { class: "w-full" }, $ = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "explain-error"
|
|
8
|
+
}, se = /* @__PURE__ */ I({
|
|
9
|
+
__name: "AndCascade",
|
|
10
|
+
props: {
|
|
11
|
+
cascadeProps: {}
|
|
12
|
+
},
|
|
13
|
+
setup(j) {
|
|
14
|
+
const a = j, m = K(a.cascadeProps), v = y(() => a.cascadeProps.dataSetField || ""), P = y(() => a.cascadeProps.dataSet || ""), d = J(P.value, v.value), x = Q(P.value);
|
|
15
|
+
M(x, () => {
|
|
16
|
+
g();
|
|
17
|
+
});
|
|
18
|
+
const D = y(() => {
|
|
19
|
+
const e = a.cascadeProps.rules;
|
|
20
|
+
if (!e || !Array.isArray(e))
|
|
21
|
+
return {
|
|
22
|
+
[v.value]: []
|
|
23
|
+
};
|
|
24
|
+
const r = X(e);
|
|
25
|
+
return {
|
|
26
|
+
[v.value]: r
|
|
27
|
+
};
|
|
28
|
+
}), g = () => {
|
|
29
|
+
Y(D, v, m, () => {
|
|
30
|
+
d.value = "";
|
|
31
|
+
}, (e) => {
|
|
32
|
+
d.value = e[0].message;
|
|
33
|
+
});
|
|
34
|
+
}, E = K({
|
|
35
|
+
dataSet: a.cascadeProps.sessionId + "_props",
|
|
36
|
+
dataSetField: a.cascadeProps.dataSet + "_" + a.cascadeProps.dataSetField
|
|
37
|
+
}), h = (e) => !e || typeof e != "string" ? [] : e.includes(",") ? e.split(",").map((r) => r.trim()).filter((r) => r) : [e], L = (e, r) => {
|
|
38
|
+
const t = (s, c, u = []) => {
|
|
39
|
+
for (const l of s) {
|
|
40
|
+
const o = l.value, n = [...u, o];
|
|
41
|
+
if (o === c)
|
|
42
|
+
return n;
|
|
43
|
+
if (l.children && Array.isArray(l.children)) {
|
|
44
|
+
const i = t(l.children, c, n);
|
|
45
|
+
if (i)
|
|
46
|
+
return i;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return null;
|
|
50
|
+
};
|
|
51
|
+
return t(r, e) || [];
|
|
52
|
+
}, T = (e) => e.map((r) => h(r)), k = (e) => e.map((r) => Array.isArray(r) ? r.join(",") : String(r)), S = y({
|
|
53
|
+
get() {
|
|
54
|
+
let e;
|
|
55
|
+
if (a.cascadeProps.dataSet && a.cascadeProps.dataSetField) {
|
|
56
|
+
const r = m.value;
|
|
57
|
+
r != null ? e = r : e = a.cascadeProps.defaultValue || [];
|
|
58
|
+
} else
|
|
59
|
+
e = a.cascadeProps.defaultValue || [];
|
|
60
|
+
return typeof e == "string" ? p() ? h(e).map((s) => L(s, f.value)).filter((s) => Array.isArray(s) && s.length > 0) : [e] : C(e) && p() ? T(e).filter((s) => Array.isArray(s) && s.length > 0) : _(e) && p() ? e.filter((t) => Array.isArray(t) && t.length > 0) : e;
|
|
61
|
+
},
|
|
62
|
+
set(e) {
|
|
63
|
+
let r;
|
|
64
|
+
C(e) && p() ? r = String(e[e.length - 1] || "") : _(e) && p() ? r = k(e) : r = e, a.cascadeProps.dataSet && a.cascadeProps.dataSetField && (m.value = r), g();
|
|
65
|
+
}
|
|
66
|
+
}), p = function() {
|
|
67
|
+
return a.cascadeProps.optionsCfg && a.cascadeProps.optionsCfg.url && f.value.length > 0;
|
|
68
|
+
}, C = function(e) {
|
|
69
|
+
return Array.isArray(e) && e.length > 0 && !Array.isArray(e[0]);
|
|
70
|
+
}, _ = function(e) {
|
|
71
|
+
return Array.isArray(e) && e.length > 0 && Array.isArray(e[0]);
|
|
72
|
+
}, w = y(() => {
|
|
73
|
+
let e = Object.fromEntries(
|
|
74
|
+
Object.entries(a.cascadeProps).filter(([r, t]) => t !== void 0 && r !== "defaultValue" && r !== "rules")
|
|
75
|
+
);
|
|
76
|
+
if (a.cascadeProps.dataSet && a.cascadeProps.dataSetField) {
|
|
77
|
+
const r = E.value;
|
|
78
|
+
if (r && typeof r == "object") {
|
|
79
|
+
const t = { ...e };
|
|
80
|
+
Object.keys(r).forEach((s) => {
|
|
81
|
+
const c = r[s];
|
|
82
|
+
c != null && (t[s] = c);
|
|
83
|
+
}), e = t;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return a.cascadeProps.optionsCfg && a.cascadeProps.optionsCfg.url ? {
|
|
87
|
+
...e,
|
|
88
|
+
options: f.value
|
|
89
|
+
} : e;
|
|
90
|
+
}), V = (e, r, t = 1) => {
|
|
91
|
+
if (!Array.isArray(e))
|
|
92
|
+
return [];
|
|
93
|
+
const { codeKey: s, labelKey: c, childrenKey: u, maxLevel: l } = r;
|
|
94
|
+
return e.map((o) => {
|
|
95
|
+
const n = t < l && Array.isArray(o == null ? void 0 : o[u]) ? V(o[u], r, t + 1) : void 0, i = {
|
|
96
|
+
value: String(o == null ? void 0 : o[s]),
|
|
97
|
+
label: o == null ? void 0 : o[c]
|
|
98
|
+
};
|
|
99
|
+
return n && n.length && (i.children = n), i;
|
|
100
|
+
});
|
|
101
|
+
}, b = O(!1), f = O([]), B = async () => {
|
|
102
|
+
const e = a.cascadeProps.optionsCfg || {}, r = e.url;
|
|
103
|
+
if (r)
|
|
104
|
+
try {
|
|
105
|
+
b.value = !0;
|
|
106
|
+
const t = await H.get({ url: r }), s = t && typeof t == "object" && "data" in t ? t.data : t, c = e.codeKey || "value", u = e.labelKey || "label", l = e.childrenKey || "children", o = e.maxLevel || 5, n = Array.isArray(s) ? s : Array.isArray((s || {}).list) ? s.list : [], i = V(n, { codeKey: c, labelKey: u, childrenKey: l, maxLevel: o });
|
|
107
|
+
f.value = i;
|
|
108
|
+
} catch (t) {
|
|
109
|
+
f.value = [], console.error("加载级联选项失败:", t);
|
|
110
|
+
} finally {
|
|
111
|
+
b.value = !1;
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
return N(() => {
|
|
115
|
+
a.cascadeProps.optionsCfg && a.cascadeProps.optionsCfg.url && B();
|
|
116
|
+
}), (e, r) => {
|
|
117
|
+
const t = U("a-cascader");
|
|
118
|
+
return R(), F("div", Z, [
|
|
119
|
+
W(t, q(w.value, {
|
|
120
|
+
value: S.value,
|
|
121
|
+
"onUpdate:value": r[0] || (r[0] = (s) => S.value = s),
|
|
122
|
+
style: { width: "100%" },
|
|
123
|
+
status: A(d) ? "error" : ""
|
|
124
|
+
}), null, 16, ["value", "status"]),
|
|
125
|
+
A(d) ? (R(), F("div", $, z(A(d)), 1)) : G("", !0)
|
|
126
|
+
]);
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
export {
|
|
131
|
+
se as default
|
|
132
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./AndCascade.vue.js2.js");require("./AndCascade.vue.js3.js");const r=require("../_virtual/_plugin-vue_export-helper.js.js"),t=r(e,[["__scopeId","data-v-2390a414"]]);module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("vue"),E=require("../utils/request.js.js"),m=require("../base/useStore.js.js"),O=require("../base/baseUtils.js.js"),L={class:"w-full"},T={key:0,class:"explain-error"},U=a.defineComponent({__name:"AndCascade",props:{cascadeProps:{}},setup(R){const s=R,A=m.useStore(s.cascadeProps),v=a.computed(()=>s.cascadeProps.dataSetField||""),P=a.computed(()=>s.cascadeProps.dataSet||""),p=m.useValidateStore(P.value,v.value),F=m.useValidateWatchStore(P.value);a.watch(F,()=>{g()});const K=a.computed(()=>{const e=s.cascadeProps.rules;if(!e||!Array.isArray(e))return{[v.value]:[]};const t=O.processValidationRules(e);return{[v.value]:t}}),g=()=>{O.validateData(K,v,A,()=>{p.value=""},e=>{p.value=e[0].message})},j=m.useStore({dataSet:s.cascadeProps.sessionId+"_props",dataSetField:s.cascadeProps.dataSet+"_"+s.cascadeProps.dataSetField}),h=e=>!e||typeof e!="string"?[]:e.includes(",")?e.split(",").map(t=>t.trim()).filter(t=>t):[e],q=(e,t)=>{const r=(o,n,d=[])=>{for(const l of o){const c=l.value,i=[...d,c];if(c===n)return i;if(l.children&&Array.isArray(l.children)){const u=r(l.children,n,i);if(u)return u}}return null};return r(t,e)||[]},x=e=>e.map(t=>h(t)),D=e=>e.map(t=>Array.isArray(t)?t.join(","):String(t)),S=a.computed({get(){let e;if(s.cascadeProps.dataSet&&s.cascadeProps.dataSetField){const t=A.value;t!=null?e=t:e=s.cascadeProps.defaultValue||[]}else e=s.cascadeProps.defaultValue||[];return typeof e=="string"?f()?h(e).map(o=>q(o,y.value)).filter(o=>Array.isArray(o)&&o.length>0):[e]:C(e)&&f()?x(e).filter(o=>Array.isArray(o)&&o.length>0):_(e)&&f()?e.filter(r=>Array.isArray(r)&&r.length>0):e},set(e){let t;C(e)&&f()?t=String(e[e.length-1]||""):_(e)&&f()?t=D(e):t=e,s.cascadeProps.dataSet&&s.cascadeProps.dataSetField&&(A.value=t),g()}}),f=function(){return s.cascadeProps.optionsCfg&&s.cascadeProps.optionsCfg.url&&y.value.length>0},C=function(e){return Array.isArray(e)&&e.length>0&&!Array.isArray(e[0])},_=function(e){return Array.isArray(e)&&e.length>0&&Array.isArray(e[0])},k=a.computed(()=>{let e=Object.fromEntries(Object.entries(s.cascadeProps).filter(([t,r])=>r!==void 0&&t!=="defaultValue"&&t!=="rules"));if(s.cascadeProps.dataSet&&s.cascadeProps.dataSetField){const t=j.value;if(t&&typeof t=="object"){const r={...e};Object.keys(t).forEach(o=>{const n=t[o];n!=null&&(r[o]=n)}),e=r}}return s.cascadeProps.optionsCfg&&s.cascadeProps.optionsCfg.url?{...e,options:y.value}:e}),b=(e,t,r=1)=>{if(!Array.isArray(e))return[];const{codeKey:o,labelKey:n,childrenKey:d,maxLevel:l}=t;return e.map(c=>{const i=r<l&&Array.isArray(c==null?void 0:c[d])?b(c[d],t,r+1):void 0,u={value:String(c==null?void 0:c[o]),label:c==null?void 0:c[n]};return i&&i.length&&(u.children=i),u})},V=a.ref(!1),y=a.ref([]),B=async()=>{const e=s.cascadeProps.optionsCfg||{},t=e.url;if(t)try{V.value=!0;const r=await E.request.get({url:t}),o=r&&typeof r=="object"&&"data"in r?r.data:r,n=e.codeKey||"value",d=e.labelKey||"label",l=e.childrenKey||"children",c=e.maxLevel||5,i=Array.isArray(o)?o:Array.isArray((o||{}).list)?o.list:[],u=b(i,{codeKey:n,labelKey:d,childrenKey:l,maxLevel:c});y.value=u}catch(r){y.value=[],console.error("加载级联选项失败:",r)}finally{V.value=!1}};return a.onMounted(()=>{s.cascadeProps.optionsCfg&&s.cascadeProps.optionsCfg.url&&B()}),(e,t)=>{const r=a.resolveComponent("a-cascader");return a.openBlock(),a.createElementBlock("div",L,[a.createVNode(r,a.mergeProps(k.value,{value:S.value,"onUpdate:value":t[0]||(t[0]=o=>S.value=o),style:{width:"100%"},status:a.unref(p)?"error":""}),null,16,["value","status"]),a.unref(p)?(a.openBlock(),a.createElementBlock("div",T,a.toDisplayString(a.unref(p)),1)):a.createCommentVNode("",!0)])}}});module.exports=U;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CheckboxGroupProps as AntCheckboxGroupProps } from 'ant-design-vue';
|
|
2
|
+
|
|
3
|
+
interface CheckboxGroupProps extends AntCheckboxGroupProps {
|
|
4
|
+
rules?: any[];
|
|
5
|
+
validateOnBlur?: boolean;
|
|
6
|
+
validateOnChange?: boolean;
|
|
7
|
+
dataSet?: string;
|
|
8
|
+
dataSetField?: string;
|
|
9
|
+
defaultValue?: any[];
|
|
10
|
+
enableDict?: boolean;
|
|
11
|
+
dictType?: string;
|
|
12
|
+
changeAction?: string;
|
|
13
|
+
sessionId?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
checkProps: CheckboxGroupProps;
|
|
17
|
+
model?: any;
|
|
18
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
checkProps: CheckboxGroupProps;
|
|
20
|
+
model?: any;
|
|
21
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=AndCheck.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndCheck.vue.d.ts","sourceRoot":"","sources":["../../src/components/AndCheck.vue"],"names":[],"mappings":"AAgBA;AAEE,OAAO,EAAE,KAAK,kBAAkB,IAAI,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAWpF,UAAU,kBAAmB,SAAQ,qBAAqB;IACtD,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;gBA2Sa,kBAAkB;YACtB,GAAG;;gBADC,kBAAkB;YACtB,GAAG;;AAPf,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { defineComponent as x, ref as T, watch as k, computed as a, onMounted as B, resolveComponent as I, openBlock as f, createElementBlock as P, createVNode as R, mergeProps as E, unref as m, toDisplayString as N, createCommentVNode as w } from "vue";
|
|
2
|
+
import { useStore as v, useValidateStore as M, useValidateWatchStore as W } from "../base/useStore.esm.js";
|
|
3
|
+
import { useItemStore as K } from "../base/store/andStore.esm.js";
|
|
4
|
+
import { validateData as U } from "../base/baseUtils.esm.js";
|
|
5
|
+
import { addCommand as q } from "../utils/runCommonUtils.esm.js";
|
|
6
|
+
import { getDictOptions as z } from "../utils/dict.esm.js";
|
|
7
|
+
import { parseChangeAction as G, createCommand as H } from "../base/actionParser.esm.js";
|
|
8
|
+
const J = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "ant-form-item-explain-error"
|
|
11
|
+
}, te = /* @__PURE__ */ x({
|
|
12
|
+
__name: "AndCheck",
|
|
13
|
+
props: {
|
|
14
|
+
checkProps: {},
|
|
15
|
+
model: {}
|
|
16
|
+
},
|
|
17
|
+
setup(S) {
|
|
18
|
+
const e = S, n = T([]), l = v(e.checkProps), y = async () => {
|
|
19
|
+
if (e.checkProps.enableDict && e.checkProps.dictType)
|
|
20
|
+
try {
|
|
21
|
+
const t = await z(e.checkProps.dictType);
|
|
22
|
+
n.value = t || [];
|
|
23
|
+
} catch (t) {
|
|
24
|
+
console.error("Failed to load dict options:", t), n.value = [];
|
|
25
|
+
}
|
|
26
|
+
else
|
|
27
|
+
n.value = [];
|
|
28
|
+
};
|
|
29
|
+
k(
|
|
30
|
+
() => [e.checkProps.enableDict, e.checkProps.dictType],
|
|
31
|
+
() => {
|
|
32
|
+
y();
|
|
33
|
+
},
|
|
34
|
+
{ immediate: !0 }
|
|
35
|
+
);
|
|
36
|
+
const g = a(() => e.checkProps.enableDict && e.checkProps.dictType && n.value.length > 0 ? n.value : e.checkProps.options || []), u = a({
|
|
37
|
+
get() {
|
|
38
|
+
if (e.checkProps.dataSet && e.checkProps.dataSetField) {
|
|
39
|
+
const t = l.value;
|
|
40
|
+
if (t != null)
|
|
41
|
+
return Array.isArray(t) ? t : [];
|
|
42
|
+
}
|
|
43
|
+
return e.checkProps.defaultValue || [];
|
|
44
|
+
},
|
|
45
|
+
set(t) {
|
|
46
|
+
e.checkProps.dataSet && e.checkProps.dataSetField && (l.value = t);
|
|
47
|
+
}
|
|
48
|
+
}), s = a(() => e.checkProps.dataSetField || ""), b = a(() => e.checkProps.dataSet || ""), C = a(() => {
|
|
49
|
+
if (!e.checkProps.dataSet || !s.value)
|
|
50
|
+
return {};
|
|
51
|
+
const t = (e.checkProps.sessionId || "") + "_props", c = (e.checkProps.dataSet || "") + "_" + s.value, r = v({
|
|
52
|
+
dataSet: t,
|
|
53
|
+
dataSetField: c
|
|
54
|
+
}).value;
|
|
55
|
+
return r && typeof r == "object" ? r : {};
|
|
56
|
+
}), _ = a(() => {
|
|
57
|
+
const t = ["enableDict", "dictType"];
|
|
58
|
+
e.checkProps.enableDict && e.checkProps.dictType && t.push("options");
|
|
59
|
+
let c = Object.fromEntries(
|
|
60
|
+
Object.entries(e.checkProps).filter(
|
|
61
|
+
([r, i]) => i !== void 0 && !t.includes(r)
|
|
62
|
+
)
|
|
63
|
+
);
|
|
64
|
+
c.options = g.value;
|
|
65
|
+
const o = C.value;
|
|
66
|
+
if (o && typeof o == "object" && Object.keys(o).length > 0) {
|
|
67
|
+
const r = { ...c };
|
|
68
|
+
return Object.keys(o).forEach((i) => {
|
|
69
|
+
const h = o[i];
|
|
70
|
+
h != null && (r[i] = h);
|
|
71
|
+
}), r;
|
|
72
|
+
}
|
|
73
|
+
return c;
|
|
74
|
+
}), p = M(e.checkProps.dataSet || "", s.value), D = W(b.value);
|
|
75
|
+
k(D, () => {
|
|
76
|
+
d();
|
|
77
|
+
});
|
|
78
|
+
const V = K();
|
|
79
|
+
function O(t) {
|
|
80
|
+
if (e.checkProps.changeAction && !e.model) {
|
|
81
|
+
let { actionName: c, arg: o } = G(e.checkProps.changeAction, t, e.checkProps);
|
|
82
|
+
const r = H(c, o);
|
|
83
|
+
q(e.checkProps.sessionId || "", V, r);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
const A = a(() => {
|
|
87
|
+
const t = e.checkProps.rules;
|
|
88
|
+
if (!t || !Array.isArray(t))
|
|
89
|
+
return {
|
|
90
|
+
[s.value]: []
|
|
91
|
+
};
|
|
92
|
+
const c = t.map((o) => ({
|
|
93
|
+
...o,
|
|
94
|
+
type: o.type || "array"
|
|
95
|
+
// 默认类型为数组
|
|
96
|
+
}));
|
|
97
|
+
return {
|
|
98
|
+
[s.value]: c
|
|
99
|
+
};
|
|
100
|
+
}), F = (t) => {
|
|
101
|
+
e.checkProps.validateOnChange && d(), O(t);
|
|
102
|
+
}, j = () => {
|
|
103
|
+
e.checkProps.validateOnBlur && d();
|
|
104
|
+
}, d = () => {
|
|
105
|
+
U(
|
|
106
|
+
A,
|
|
107
|
+
s,
|
|
108
|
+
u,
|
|
109
|
+
() => {
|
|
110
|
+
p.value = "";
|
|
111
|
+
},
|
|
112
|
+
(t) => {
|
|
113
|
+
p.value = t[0].message;
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
};
|
|
117
|
+
return B(() => {
|
|
118
|
+
e.checkProps.defaultValue && !l.value && (l.value = e.checkProps.defaultValue);
|
|
119
|
+
}), (t, c) => {
|
|
120
|
+
const o = I("a-checkbox-group");
|
|
121
|
+
return f(), P("div", null, [
|
|
122
|
+
R(o, E(_.value, {
|
|
123
|
+
value: u.value,
|
|
124
|
+
"onUpdate:value": c[0] || (c[0] = (r) => u.value = r),
|
|
125
|
+
onChange: F,
|
|
126
|
+
onBlur: j,
|
|
127
|
+
status: m(p) ? "error" : ""
|
|
128
|
+
}), null, 16, ["value", "status"]),
|
|
129
|
+
m(p) ? (f(), P("div", J, N(m(p)), 1)) : w("", !0)
|
|
130
|
+
]);
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
export {
|
|
135
|
+
te as default
|
|
136
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./AndCheck.vue.js2.js");require("./AndCheck.vue.js3.js");const r=require("../_virtual/_plugin-vue_export-helper.js.js"),t=r(e,[["__scopeId","data-v-ee3a7887"]]);module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("vue"),p=require("../base/useStore.js.js"),A=require("../base/store/andStore.js.js"),F=require("../base/baseUtils.js.js"),q=require("../utils/runCommonUtils.js.js"),j=require("../utils/dict.js.js"),P=require("../base/actionParser.js.js"),x={key:0,class:"ant-form-item-explain-error"},B=o.defineComponent({__name:"AndCheck",props:{checkProps:{},model:{}},setup(m){const e=m,n=o.ref([]),l=p.useStore(e.checkProps),v=async()=>{if(e.checkProps.enableDict&&e.checkProps.dictType)try{const t=await j.getDictOptions(e.checkProps.dictType);n.value=t||[]}catch(t){console.error("Failed to load dict options:",t),n.value=[]}else n.value=[]};o.watch(()=>[e.checkProps.enableDict,e.checkProps.dictType],()=>{v()},{immediate:!0});const f=o.computed(()=>e.checkProps.enableDict&&e.checkProps.dictType&&n.value.length>0?n.value:e.checkProps.options||[]),d=o.computed({get(){if(e.checkProps.dataSet&&e.checkProps.dataSetField){const t=l.value;if(t!=null)return Array.isArray(t)?t:[]}return e.checkProps.defaultValue||[]},set(t){e.checkProps.dataSet&&e.checkProps.dataSetField&&(l.value=t)}}),a=o.computed(()=>e.checkProps.dataSetField||""),S=o.computed(()=>e.checkProps.dataSet||""),y=o.computed(()=>{if(!e.checkProps.dataSet||!a.value)return{};const t=(e.checkProps.sessionId||"")+"_props",r=(e.checkProps.dataSet||"")+"_"+a.value,s=p.useStore({dataSet:t,dataSetField:r}).value;return s&&typeof s=="object"?s:{}}),g=o.computed(()=>{const t=["enableDict","dictType"];e.checkProps.enableDict&&e.checkProps.dictType&&t.push("options");let r=Object.fromEntries(Object.entries(e.checkProps).filter(([s,i])=>i!==void 0&&!t.includes(s)));r.options=f.value;const c=y.value;if(c&&typeof c=="object"&&Object.keys(c).length>0){const s={...r};return Object.keys(c).forEach(i=>{const k=c[i];k!=null&&(s[i]=k)}),s}return r}),u=p.useValidateStore(e.checkProps.dataSet||"",a.value),b=p.useValidateWatchStore(S.value);o.watch(b,()=>{h()});const C=A.useItemStore();function _(t){if(e.checkProps.changeAction&&!e.model){let{actionName:r,arg:c}=P.parseChangeAction(e.checkProps.changeAction,t,e.checkProps);const s=P.createCommand(r,c);q.addCommand(e.checkProps.sessionId||"",C,s)}}const D=o.computed(()=>{const t=e.checkProps.rules;if(!t||!Array.isArray(t))return{[a.value]:[]};const r=t.map(c=>({...c,type:c.type||"array"}));return{[a.value]:r}}),V=t=>{e.checkProps.validateOnChange&&h(),_(t)},O=()=>{e.checkProps.validateOnBlur&&h()},h=()=>{F.validateData(D,a,d,()=>{u.value=""},t=>{u.value=t[0].message})};return o.onMounted(()=>{e.checkProps.defaultValue&&!l.value&&(l.value=e.checkProps.defaultValue)}),(t,r)=>{const c=o.resolveComponent("a-checkbox-group");return o.openBlock(),o.createElementBlock("div",null,[o.createVNode(c,o.mergeProps(g.value,{value:d.value,"onUpdate:value":r[0]||(r[0]=s=>d.value=s),onChange:V,onBlur:O,status:o.unref(u)?"error":""}),null,16,["value","status"]),o.unref(u)?(o.openBlock(),o.createElementBlock("div",x,o.toDisplayString(o.unref(u)),1)):o.createCommentVNode("",!0)])}}});module.exports=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DatePickerProps as AntDatePickerProps } from 'ant-design-vue';
|
|
2
|
+
|
|
3
|
+
interface DatePickerProps extends AntDatePickerProps {
|
|
4
|
+
rules?: any[];
|
|
5
|
+
validateOnBlur?: boolean;
|
|
6
|
+
validateOnChange?: boolean;
|
|
7
|
+
dataSet?: string;
|
|
8
|
+
dataSetField?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
datePickerProps: DatePickerProps;
|
|
12
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
datePickerProps: DatePickerProps;
|
|
14
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=AndDatePicker.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndDatePicker.vue.d.ts","sourceRoot":"","sources":["../../src/components/AndDatePicker.vue"],"names":[],"mappings":"AAeA;AAEA,OAAO,EAAE,KAAK,eAAe,IAAI,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAY5E,UAAU,eAAgB,SAAQ,kBAAkB;IAClD,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;;qBA+KkB,eAAe;;qBAAf,eAAe;;AANlC,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent as C, useAttrs as O, computed as s, watch as V, resolveComponent as w, openBlock as p, createElementBlock as v, mergeProps as m, createVNode as B, unref as n, isRef as D, toDisplayString as E, createCommentVNode as b } from "vue";
|
|
2
|
+
import { useStore as j, useValidateStore as x, useValidateWatchStore as W } from "../base/useStore.esm.js";
|
|
3
|
+
import { validateData as y } from "../base/baseUtils.esm.js";
|
|
4
|
+
const F = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "ant-form-item-explain-error"
|
|
7
|
+
}, U = /* @__PURE__ */ C({
|
|
8
|
+
inheritAttrs: !1,
|
|
9
|
+
__name: "AndDatePicker",
|
|
10
|
+
props: {
|
|
11
|
+
datePickerProps: {}
|
|
12
|
+
},
|
|
13
|
+
setup(f) {
|
|
14
|
+
const e = f, d = O(), P = s(() => {
|
|
15
|
+
const t = {};
|
|
16
|
+
return ["id", "class", "style", "data-*", "aria-*"].forEach((a) => {
|
|
17
|
+
Object.keys(d).forEach((r) => {
|
|
18
|
+
(a.includes("*") ? r.startsWith(a.replace("*", "")) : r === a) && (t[r] = d[r]);
|
|
19
|
+
});
|
|
20
|
+
}), t;
|
|
21
|
+
}), i = j(e.datePickerProps), u = s(() => e.datePickerProps.dataSet || ""), c = s(() => e.datePickerProps.dataSetField || ""), k = s(() => Object.fromEntries(
|
|
22
|
+
Object.entries(e.datePickerProps).filter(([, t]) => t !== void 0)
|
|
23
|
+
)), o = x(u.value, c.value), h = W(u.value);
|
|
24
|
+
V(h, () => {
|
|
25
|
+
l();
|
|
26
|
+
});
|
|
27
|
+
const _ = s(() => ({
|
|
28
|
+
[c.value]: e.datePickerProps.rules
|
|
29
|
+
})), S = () => {
|
|
30
|
+
e.datePickerProps.validateOnChange && l();
|
|
31
|
+
}, g = () => {
|
|
32
|
+
e.datePickerProps.validateOnBlur && l();
|
|
33
|
+
}, l = () => {
|
|
34
|
+
y(
|
|
35
|
+
_,
|
|
36
|
+
c,
|
|
37
|
+
i,
|
|
38
|
+
() => {
|
|
39
|
+
o.value = "";
|
|
40
|
+
},
|
|
41
|
+
(t) => {
|
|
42
|
+
o.value = t[0].message;
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
return (t, a) => {
|
|
47
|
+
const r = w("a-date-picker");
|
|
48
|
+
return p(), v("div", m({ class: "and-date-picker-wrapper" }, P.value), [
|
|
49
|
+
B(r, m(k.value, {
|
|
50
|
+
value: n(i),
|
|
51
|
+
"onUpdate:value": a[0] || (a[0] = (A) => D(i) ? i.value = A : null),
|
|
52
|
+
onChange: S,
|
|
53
|
+
onBlur: g,
|
|
54
|
+
style: { width: "100%" },
|
|
55
|
+
status: n(o) ? "error" : ""
|
|
56
|
+
}), null, 16, ["value", "status"]),
|
|
57
|
+
n(o) ? (p(), v("div", F, E(n(o)), 1)) : b("", !0)
|
|
58
|
+
], 16);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
U as default
|
|
64
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./AndDatePicker.vue.js2.js");require("./AndDatePicker.vue.js3.js");const r=require("../_virtual/_plugin-vue_export-helper.js.js"),t=r(e,[["__scopeId","data-v-d72bb270"]]);module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),l=require("../base/useStore.js.js"),_=require("../base/baseUtils.js.js"),g={key:0,class:"ant-form-item-explain-error"},B=e.defineComponent({inheritAttrs:!1,__name:"AndDatePicker",props:{datePickerProps:{}},setup(p){const t=p,u=e.useAttrs(),v=e.computed(()=>{const r={};return["id","class","style","data-*","aria-*"].forEach(a=>{Object.keys(u).forEach(s=>{(a.includes("*")?s.startsWith(a.replace("*","")):s===a)&&(r[s]=u[s])})}),r}),c=l.useStore(t.datePickerProps),d=e.computed(()=>t.datePickerProps.dataSet||""),n=e.computed(()=>t.datePickerProps.dataSetField||""),m=e.computed(()=>Object.fromEntries(Object.entries(t.datePickerProps).filter(([,r])=>r!==void 0))),o=l.useValidateStore(d.value,n.value),P=l.useValidateWatchStore(d.value);e.watch(P,()=>{i()});const f=e.computed(()=>({[n.value]:t.datePickerProps.rules})),k=()=>{t.datePickerProps.validateOnChange&&i()},h=()=>{t.datePickerProps.validateOnBlur&&i()},i=()=>{_.validateData(f,n,c,()=>{o.value=""},r=>{o.value=r[0].message})};return(r,a)=>{const s=e.resolveComponent("a-date-picker");return e.openBlock(),e.createElementBlock("div",e.mergeProps({class:"and-date-picker-wrapper"},v.value),[e.createVNode(s,e.mergeProps(m.value,{value:e.unref(c),"onUpdate:value":a[0]||(a[0]=S=>e.isRef(c)?c.value=S:null),onChange:k,onBlur:h,style:{width:"100%"},status:e.unref(o)?"error":""}),null,16,["value","status"]),e.unref(o)?(e.openBlock(),e.createElementBlock("div",g,e.toDisplayString(e.unref(o)),1)):e.createCommentVNode("",!0)],16)}}});module.exports=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DrawerProps } from '../types/common';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
drawerProps: DrawerProps;
|
|
5
|
+
onClose?: (() => void) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
drawerProps: () => {
|
|
8
|
+
width: number;
|
|
9
|
+
title: string;
|
|
10
|
+
placement: string;
|
|
11
|
+
};
|
|
12
|
+
}>>, {
|
|
13
|
+
cleanup: () => void;
|
|
14
|
+
close: () => void;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
drawerProps: DrawerProps;
|
|
17
|
+
onClose?: (() => void) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
drawerProps: () => {
|
|
20
|
+
width: number;
|
|
21
|
+
title: string;
|
|
22
|
+
placement: string;
|
|
23
|
+
};
|
|
24
|
+
}>>> & Readonly<{}>, {
|
|
25
|
+
drawerProps: DrawerProps;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_WithDefaults<P, D> = {
|
|
38
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
+
default: D[K];
|
|
40
|
+
}> : P[K];
|
|
41
|
+
};
|
|
42
|
+
type __VLS_Prettify<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
45
|
+
//# sourceMappingURL=AndDrawer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndDrawer.vue.d.ts","sourceRoot":"","sources":["../../src/components/AndDrawer.vue"],"names":[],"mappings":"AAmGA;AAGA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;;iBAuOpC,WAAW;qBACR,IAAI;;;;;;;;;;;iBADP,WAAW;qBACR,IAAI;;;;;;;;iBADP,WAAW;;AAP1B,wBAUG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent as h, ref as l, computed as P, onBeforeUnmount as _, resolveComponent as i, openBlock as c, createBlock as d, withCtx as k, createElementVNode as D, resolveDynamicComponent as B, mergeProps as g, createElementBlock as A, createVNode as $, nextTick as E } from "vue";
|
|
2
|
+
const N = {
|
|
3
|
+
key: 1,
|
|
4
|
+
class: "empty-container"
|
|
5
|
+
}, T = /* @__PURE__ */ h({
|
|
6
|
+
__name: "AndDrawer",
|
|
7
|
+
props: {
|
|
8
|
+
drawerProps: { default: () => ({
|
|
9
|
+
width: 600,
|
|
10
|
+
title: "默认标题",
|
|
11
|
+
placement: "right"
|
|
12
|
+
}) },
|
|
13
|
+
onClose: {}
|
|
14
|
+
},
|
|
15
|
+
setup(u, { expose: m }) {
|
|
16
|
+
const r = l(!0), n = l(), o = l(), t = u, f = P(() => ({
|
|
17
|
+
...t.drawerProps.componentProps
|
|
18
|
+
})), a = () => {
|
|
19
|
+
if (o.value) {
|
|
20
|
+
if (typeof o.value.cleanup == "function")
|
|
21
|
+
try {
|
|
22
|
+
o.value.cleanup();
|
|
23
|
+
} catch (e) {
|
|
24
|
+
console.warn("Dynamic component cleanup failed:", e);
|
|
25
|
+
}
|
|
26
|
+
if (typeof o.value.$destroy == "function")
|
|
27
|
+
try {
|
|
28
|
+
o.value.$destroy();
|
|
29
|
+
} catch (e) {
|
|
30
|
+
console.warn("Dynamic component $destroy failed:", e);
|
|
31
|
+
}
|
|
32
|
+
o.value = null;
|
|
33
|
+
}
|
|
34
|
+
}, p = () => {
|
|
35
|
+
r.value = !1, a(), t.onClose && t.onClose();
|
|
36
|
+
}, y = async () => {
|
|
37
|
+
await E(), n.value && (n.value.innerHTML = ""), typeof t.drawerProps.onClose == "function" && t.drawerProps.onClose();
|
|
38
|
+
};
|
|
39
|
+
return _(() => {
|
|
40
|
+
a(), n.value && (n.value = void 0);
|
|
41
|
+
}), m({
|
|
42
|
+
cleanup: a,
|
|
43
|
+
close: p
|
|
44
|
+
}), (e, s) => {
|
|
45
|
+
const v = i("a-empty"), w = i("a-drawer");
|
|
46
|
+
return c(), d(w, {
|
|
47
|
+
open: r.value,
|
|
48
|
+
"onUpdate:open": s[0] || (s[0] = (C) => r.value = C),
|
|
49
|
+
title: e.drawerProps.title,
|
|
50
|
+
placement: "right",
|
|
51
|
+
width: e.drawerProps.width,
|
|
52
|
+
"destroy-on-close": !0,
|
|
53
|
+
onClose: p,
|
|
54
|
+
onAfterClose: y
|
|
55
|
+
}, {
|
|
56
|
+
default: k(() => [
|
|
57
|
+
D("div", {
|
|
58
|
+
ref_key: "container",
|
|
59
|
+
ref: n
|
|
60
|
+
}, [
|
|
61
|
+
e.drawerProps.component ? (c(), d(B(e.drawerProps.component), g({ key: 0 }, f.value, {
|
|
62
|
+
ref_key: "dynamicComponentRef",
|
|
63
|
+
ref: o
|
|
64
|
+
}), null, 16)) : (c(), A("div", N, [
|
|
65
|
+
$(v, { description: "未指定组件" })
|
|
66
|
+
]))
|
|
67
|
+
], 512)
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 8, ["open", "title", "width"]);
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
T as default
|
|
76
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./AndDrawer.vue.js2.js");require("./AndDrawer.vue.js3.js");const r=require("../_virtual/_plugin-vue_export-helper.js.js"),t=r(e,[["__scopeId","data-v-1542e78e"]]);module.exports=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),v={key:1,class:"empty-container"},w=e.defineComponent({__name:"AndDrawer",props:{drawerProps:{default:()=>({width:600,title:"默认标题",placement:"right"})},onClose:{}},setup(p,{expose:i}){const a=e.ref(!0),t=e.ref(),n=e.ref(),r=p,d=e.computed(()=>({...r.drawerProps.componentProps})),c=()=>{if(n.value){if(typeof n.value.cleanup=="function")try{n.value.cleanup()}catch(o){console.warn("Dynamic component cleanup failed:",o)}if(typeof n.value.$destroy=="function")try{n.value.$destroy()}catch(o){console.warn("Dynamic component $destroy failed:",o)}n.value=null}},l=()=>{a.value=!1,c(),r.onClose&&r.onClose()},u=async()=>{await e.nextTick(),t.value&&(t.value.innerHTML=""),typeof r.drawerProps.onClose=="function"&&r.drawerProps.onClose()};return e.onBeforeUnmount(()=>{c(),t.value&&(t.value=void 0)}),i({cleanup:c,close:l}),(o,s)=>{const m=e.resolveComponent("a-empty"),f=e.resolveComponent("a-drawer");return e.openBlock(),e.createBlock(f,{open:a.value,"onUpdate:open":s[0]||(s[0]=y=>a.value=y),title:o.drawerProps.title,placement:"right",width:o.drawerProps.width,"destroy-on-close":!0,onClose:l,onAfterClose:u},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"container",ref:t},[o.drawerProps.component?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.drawerProps.component),e.mergeProps({key:0},d.value,{ref_key:"dynamicComponentRef",ref:n}),null,16)):(e.openBlock(),e.createElementBlock("div",v,[e.createVNode(m,{description:"未指定组件"})]))],512)]),_:1},8,["open","title","width"])}}});module.exports=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|