@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,56 @@
|
|
|
1
|
+
import { ColumnType } from 'ant-design-vue/es/table';
|
|
2
|
+
|
|
3
|
+
export interface ExtendedColumnType extends ColumnType<any> {
|
|
4
|
+
visible?: boolean;
|
|
5
|
+
specialFields?: boolean;
|
|
6
|
+
renderType?: 'image' | 'money' | 'date' | 'dict' | 'array';
|
|
7
|
+
filterType?: string;
|
|
8
|
+
dateType?: string;
|
|
9
|
+
selectedDate?: any;
|
|
10
|
+
dateFormat?: string;
|
|
11
|
+
searchQuery?: string;
|
|
12
|
+
filterSearch?: boolean;
|
|
13
|
+
selectedValue?: any;
|
|
14
|
+
multipleChoices?: boolean;
|
|
15
|
+
dictType?: string;
|
|
16
|
+
columnDictType?: string;
|
|
17
|
+
imageWidthHeight?: string;
|
|
18
|
+
currencySymbol?: string;
|
|
19
|
+
showCommaSeparator?: boolean;
|
|
20
|
+
minDecimalPlace?: number;
|
|
21
|
+
maxDecimalPlace?: number;
|
|
22
|
+
arraySeparator?: string;
|
|
23
|
+
actions?: any[];
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* 处理图片列的函数
|
|
27
|
+
* @param col 列配置对�?
|
|
28
|
+
*/
|
|
29
|
+
export declare const renderImageColumn: (col: ExtendedColumnType) => void;
|
|
30
|
+
/**
|
|
31
|
+
* 处理金额列的函数
|
|
32
|
+
* @param col 列配置对�?
|
|
33
|
+
*/
|
|
34
|
+
export declare const renderMoneyColumn: (col: ExtendedColumnType) => void;
|
|
35
|
+
/**
|
|
36
|
+
* 处理日期列的函数
|
|
37
|
+
* @param col 列配置对�?
|
|
38
|
+
*/
|
|
39
|
+
export declare const renderDateColumn: (col: ExtendedColumnType) => void;
|
|
40
|
+
/**
|
|
41
|
+
* 处理数据字典列的函数
|
|
42
|
+
* @param col 列配置对�?
|
|
43
|
+
*/
|
|
44
|
+
export declare const renderDictColumn: (col: ExtendedColumnType) => void;
|
|
45
|
+
/**
|
|
46
|
+
* 处理数组列的函数
|
|
47
|
+
* @param col 列配置对�?
|
|
48
|
+
*/
|
|
49
|
+
export declare const renderArrayColumn: (col: ExtendedColumnType) => void;
|
|
50
|
+
/**
|
|
51
|
+
* 应用列格式化处理
|
|
52
|
+
* @param columns 列配置数�?
|
|
53
|
+
* @returns 处理后的列配置数�?
|
|
54
|
+
*/
|
|
55
|
+
export declare const applyColumnFormatting: (columns: ExtendedColumnType[]) => ExtendedColumnType[];
|
|
56
|
+
//# sourceMappingURL=AndTableFormat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndTableFormat.d.ts","sourceRoot":"","sources":["../../src/components/AndTableFormat.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAK1D,MAAM,WAAW,kBAAmB,SAAQ,UAAU,CAAC,GAAG,CAAC;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC;CACjB;AA0BD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAAS,kBAAkB,SAsDxD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAAS,kBAAkB,SAgCxD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,QAAS,kBAAkB,SAwBvD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,QAAS,kBAAkB,SA4BvD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,QAAS,kBAAkB,SA0BxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,YAAa,kBAAkB,EAAE,KAAG,kBAAkB,EA0BvF,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { h as o } from "vue";
|
|
2
|
+
import { Image as c } from "ant-design-vue";
|
|
3
|
+
import u from "dayjs";
|
|
4
|
+
import { getDictOptions as d } from "../utils/dict.esm.js";
|
|
5
|
+
import { getAccessToken as f } from "../utils/auth.esm.js";
|
|
6
|
+
const y = (r) => {
|
|
7
|
+
if (!r)
|
|
8
|
+
return r;
|
|
9
|
+
const n = f();
|
|
10
|
+
if (n && !r.includes("token=")) {
|
|
11
|
+
const t = r.includes("?") ? "&" : "?";
|
|
12
|
+
r = `${r}${t}token=${n}`;
|
|
13
|
+
}
|
|
14
|
+
return r;
|
|
15
|
+
}, g = (r) => {
|
|
16
|
+
const [n, e] = (r.imageWidthHeight || "").split(/\s*[,,]\s*/), t = n || "50", s = e || "50";
|
|
17
|
+
r.customRender = ({ text: a }) => {
|
|
18
|
+
let m = [];
|
|
19
|
+
if (Array.isArray(a))
|
|
20
|
+
m = a.slice(0, 3);
|
|
21
|
+
else if (typeof a == "string")
|
|
22
|
+
m = [a];
|
|
23
|
+
else
|
|
24
|
+
return o("span", {}, "无图片");
|
|
25
|
+
if (m.length === 0)
|
|
26
|
+
return o("span", {}, "无图片");
|
|
27
|
+
const p = m.map((i) => y(i));
|
|
28
|
+
if (p.length === 1) {
|
|
29
|
+
const i = p[0];
|
|
30
|
+
return o(c, {
|
|
31
|
+
src: i,
|
|
32
|
+
alt: "image",
|
|
33
|
+
width: t + "px",
|
|
34
|
+
height: s + "px",
|
|
35
|
+
preview: { src: i }
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
return o(c.PreviewGroup, {}, () => p.map(
|
|
39
|
+
(i, l) => o(c, {
|
|
40
|
+
key: l,
|
|
41
|
+
src: i,
|
|
42
|
+
alt: `image-${l}`,
|
|
43
|
+
width: t + "px",
|
|
44
|
+
height: s + "px",
|
|
45
|
+
style: { marginRight: "8px", marginBottom: "8px" }
|
|
46
|
+
})
|
|
47
|
+
));
|
|
48
|
+
};
|
|
49
|
+
}, h = (r) => {
|
|
50
|
+
r.customRender = ({ text: n }) => {
|
|
51
|
+
let e = parseFloat(n);
|
|
52
|
+
if (isNaN(e))
|
|
53
|
+
return o("span", {}, "无效金额");
|
|
54
|
+
const t = r.currencySymbol || "", s = r.showCommaSeparator || !1, a = r.minDecimalPlace || 0, m = r.maxDecimalPlace || 2;
|
|
55
|
+
Number.isInteger(e) && a > 0 && (e = parseFloat(e.toFixed(a)));
|
|
56
|
+
const p = {
|
|
57
|
+
style: "decimal",
|
|
58
|
+
// 使用数字格式
|
|
59
|
+
minimumFractionDigits: a,
|
|
60
|
+
maximumFractionDigits: m,
|
|
61
|
+
useGrouping: s
|
|
62
|
+
// 是否显示千位分隔�?
|
|
63
|
+
};
|
|
64
|
+
let i = new Intl.NumberFormat("zh-CN", p).format(e);
|
|
65
|
+
return t && (i = t + i), o("span", {}, i);
|
|
66
|
+
};
|
|
67
|
+
}, T = (r) => {
|
|
68
|
+
r.customRender = ({ text: n }) => {
|
|
69
|
+
let e = "";
|
|
70
|
+
try {
|
|
71
|
+
const t = u(n);
|
|
72
|
+
t.isValid() && (r.dateFormat === "date" ? e = t.format("YYYY-MM-DD") : r.dateFormat === "time" ? e = t.format("HH:mm:ss") : r.dateFormat === "datetime" && (e = t.format("YYYY-MM-DD HH:mm:ss")));
|
|
73
|
+
} catch {
|
|
74
|
+
e = "";
|
|
75
|
+
}
|
|
76
|
+
return o("span", {}, e);
|
|
77
|
+
};
|
|
78
|
+
}, D = (r) => {
|
|
79
|
+
r.customRender = ({ text: n }) => {
|
|
80
|
+
if (!r.columnDictType || n === null || n === void 0 || n === "")
|
|
81
|
+
return o("span", {}, n || "");
|
|
82
|
+
try {
|
|
83
|
+
const t = d(r.columnDictType).find((a) => a.value === n + ""), s = t ? t.label : n;
|
|
84
|
+
return o("span", {
|
|
85
|
+
title: t ? `${t.label} (${n})` : n,
|
|
86
|
+
// 添加tooltip显示原始�?
|
|
87
|
+
class: (t == null ? void 0 : t.cssClass) || "",
|
|
88
|
+
// 应用字典项的CSS�?
|
|
89
|
+
style: t != null && t.colorType ? { color: `var(--el-color-${t.colorType})` } : {}
|
|
90
|
+
// 应用字典项的颜色
|
|
91
|
+
}, s);
|
|
92
|
+
} catch (e) {
|
|
93
|
+
return console.error(`Failed to get dict options for type ${r.columnDictType} and value ${n}:`, e), o("span", {}, n);
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
}, F = (r) => {
|
|
97
|
+
r.customRender = ({ text: n }) => {
|
|
98
|
+
if (n == null || n === "")
|
|
99
|
+
return o("span", {}, "");
|
|
100
|
+
const e = r.arraySeparator || ",";
|
|
101
|
+
if (Array.isArray(n)) {
|
|
102
|
+
const t = n.join(e);
|
|
103
|
+
return o("span", {}, t);
|
|
104
|
+
}
|
|
105
|
+
return typeof n == "string" ? o("span", {}, n) : o("span", {}, String(n));
|
|
106
|
+
};
|
|
107
|
+
}, b = (r) => r.map((n) => {
|
|
108
|
+
const e = { ...n };
|
|
109
|
+
return e.specialFields === !0 && e.renderType && (e.renderType === "image" && g(e), e.renderType === "money" && h(e), e.renderType === "date" && T(e), e.renderType === "dict" && D(e), e.renderType === "array" && F(e)), e;
|
|
110
|
+
});
|
|
111
|
+
export {
|
|
112
|
+
b as applyColumnFormatting,
|
|
113
|
+
F as renderArrayColumn,
|
|
114
|
+
T as renderDateColumn,
|
|
115
|
+
D as renderDictColumn,
|
|
116
|
+
g as renderImageColumn,
|
|
117
|
+
h as renderMoneyColumn
|
|
118
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),l=require("ant-design-vue"),f=require("dayjs"),D=require("../utils/dict.js.js"),T=require("../utils/auth.js.js"),C=r=>{if(!r)return r;const n=T.getAccessToken();if(n&&!r.includes("token=")){const t=r.includes("?")?"&":"?";r=`${r}${t}token=${n}`}return r},p=r=>{const[n,e]=(r.imageWidthHeight||"").split(/\s*[,,]\s*/),t=n||"50",s=e||"50";r.customRender=({text:o})=>{let m=[];if(Array.isArray(o))m=o.slice(0,3);else if(typeof o=="string")m=[o];else return a.h("span",{},"无图片");if(m.length===0)return a.h("span",{},"无图片");const c=m.map(i=>C(i));if(c.length===1){const i=c[0];return a.h(l.Image,{src:i,alt:"image",width:t+"px",height:s+"px",preview:{src:i}})}return a.h(l.Image.PreviewGroup,{},()=>c.map((i,u)=>a.h(l.Image,{key:u,src:i,alt:`image-${u}`,width:t+"px",height:s+"px",style:{marginRight:"8px",marginBottom:"8px"}})))}},d=r=>{r.customRender=({text:n})=>{let e=parseFloat(n);if(isNaN(e))return a.h("span",{},"无效金额");const t=r.currencySymbol||"",s=r.showCommaSeparator||!1,o=r.minDecimalPlace||0,m=r.maxDecimalPlace||2;Number.isInteger(e)&&o>0&&(e=parseFloat(e.toFixed(o)));const c={style:"decimal",minimumFractionDigits:o,maximumFractionDigits:m,useGrouping:s};let i=new Intl.NumberFormat("zh-CN",c).format(e);return t&&(i=t+i),a.h("span",{},i)}},y=r=>{r.customRender=({text:n})=>{let e="";try{const t=f(n);t.isValid()&&(r.dateFormat==="date"?e=t.format("YYYY-MM-DD"):r.dateFormat==="time"?e=t.format("HH:mm:ss"):r.dateFormat==="datetime"&&(e=t.format("YYYY-MM-DD HH:mm:ss")))}catch{e=""}return a.h("span",{},e)}},h=r=>{r.customRender=({text:n})=>{if(!r.columnDictType||n===null||n===void 0||n==="")return a.h("span",{},n||"");try{const t=D.getDictOptions(r.columnDictType).find(o=>o.value===n+""),s=t?t.label:n;return a.h("span",{title:t?`${t.label} (${n})`:n,class:(t==null?void 0:t.cssClass)||"",style:t!=null&&t.colorType?{color:`var(--el-color-${t.colorType})`}:{}},s)}catch(e){return console.error(`Failed to get dict options for type ${r.columnDictType} and value ${n}:`,e),a.h("span",{},n)}}},g=r=>{r.customRender=({text:n})=>{if(n==null||n==="")return a.h("span",{},"");const e=r.arraySeparator||",";if(Array.isArray(n)){const t=n.join(e);return a.h("span",{},t)}return typeof n=="string"?a.h("span",{},n):a.h("span",{},String(n))}},F=r=>r.map(n=>{const e={...n};return e.specialFields===!0&&e.renderType&&(e.renderType==="image"&&p(e),e.renderType==="money"&&d(e),e.renderType==="date"&&y(e),e.renderType==="dict"&&h(e),e.renderType==="array"&&g(e)),e});exports.applyColumnFormatting=F;exports.renderArrayColumn=g;exports.renderDateColumn=y;exports.renderDictColumn=h;exports.renderImageColumn=p;exports.renderMoneyColumn=d;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
interface TabProps {
|
|
2
|
+
tabs: Array<{
|
|
3
|
+
tab: string;
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}>;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
dev?: boolean;
|
|
8
|
+
changeAction?: string;
|
|
9
|
+
sessionId?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
tabProps: TabProps;
|
|
13
|
+
subContainers?: HTMLElement[] | undefined;
|
|
14
|
+
el?: HTMLElement | undefined;
|
|
15
|
+
editor?: object | undefined;
|
|
16
|
+
model?: any;
|
|
17
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
tabProps: TabProps;
|
|
19
|
+
subContainers?: HTMLElement[] | undefined;
|
|
20
|
+
el?: HTMLElement | undefined;
|
|
21
|
+
editor?: object | undefined;
|
|
22
|
+
model?: any;
|
|
23
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
24
|
+
default?(_: {}): any;
|
|
25
|
+
}>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=AndTabs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndTabs.vue.d.ts","sourceRoot":"","sources":["../../src/components/AndTabs.vue"],"names":[],"mappings":"AAUA;AAWA,UAAU,QAAQ;IAChB,IAAI,EAAE,KAAK,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAA,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,CAAC;IAChD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;;;;;;;;;;;;;;;AA+PD,wBAAwG;AACxG,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,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { defineComponent as v, ref as y, computed as E, onMounted as w, watch as A, nextTick as T, resolveComponent as u, openBlock as d, createBlock as h, mergeProps as $, withCtx as B, createElementBlock as I, Fragment as L, renderList as M, renderSlot as S } from "vue";
|
|
2
|
+
import { useItemStore as j } from "../base/store/andStore.esm.js";
|
|
3
|
+
import { addCommand as x } from "../utils/runCommonUtils.esm.js";
|
|
4
|
+
import { parseChangeAction as z, createCommand as O } from "../base/actionParser.esm.js";
|
|
5
|
+
const q = /* @__PURE__ */ v({
|
|
6
|
+
__name: "AndTabs",
|
|
7
|
+
props: {
|
|
8
|
+
tabProps: {},
|
|
9
|
+
subContainers: {},
|
|
10
|
+
el: {},
|
|
11
|
+
editor: {},
|
|
12
|
+
model: {}
|
|
13
|
+
},
|
|
14
|
+
setup(C) {
|
|
15
|
+
const i = y([]), o = C, b = E(() => Object.fromEntries(
|
|
16
|
+
Object.entries(o.tabProps).filter(([, t]) => t !== void 0)
|
|
17
|
+
)), P = j();
|
|
18
|
+
function _(e) {
|
|
19
|
+
if (o.tabProps.changeAction && !o.model) {
|
|
20
|
+
let { actionName: t, arg: s } = z(o.tabProps.changeAction, e, o.tabProps);
|
|
21
|
+
const c = O(t, s);
|
|
22
|
+
x(o.tabProps.sessionId || "", P, c);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
const k = (e) => {
|
|
26
|
+
_(e);
|
|
27
|
+
};
|
|
28
|
+
w(() => {
|
|
29
|
+
m();
|
|
30
|
+
});
|
|
31
|
+
function m() {
|
|
32
|
+
var c;
|
|
33
|
+
if (!o.tabProps.dev)
|
|
34
|
+
return;
|
|
35
|
+
if (!o.model) {
|
|
36
|
+
g();
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const e = (c = o.model) == null ? void 0 : c.components();
|
|
40
|
+
if (!e) {
|
|
41
|
+
console.error("Component model is not available.");
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const t = new Map(e.models.map((n) => {
|
|
45
|
+
var a, r;
|
|
46
|
+
return [(r = (a = n.attributes) == null ? void 0 : a.attributes) == null ? void 0 : r["tab-key"], n];
|
|
47
|
+
})), s = i.value;
|
|
48
|
+
if (!s) {
|
|
49
|
+
console.error("Container placeholders are not available."), t.forEach((n) => {
|
|
50
|
+
e.remove(n);
|
|
51
|
+
}), t.clear();
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
o.tabProps.tabs.forEach((n, a) => {
|
|
55
|
+
if (a >= s.length) {
|
|
56
|
+
console.warn(`Tab index ${a} exceeds the number of container placeholders.`);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const r = s[a];
|
|
60
|
+
let p = (r == null ? void 0 : r.$el) || r;
|
|
61
|
+
if (!r || !p) {
|
|
62
|
+
console.warn(`Container at index ${a} is not available.`);
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (p.children.length > 0)
|
|
66
|
+
return;
|
|
67
|
+
let l = t.get(n.key);
|
|
68
|
+
l || (l = e.add({
|
|
69
|
+
type: "and-tab-pane",
|
|
70
|
+
attributes: {
|
|
71
|
+
"tab-key": n.key
|
|
72
|
+
}
|
|
73
|
+
}), t.set(n.key, l));
|
|
74
|
+
const f = l.getEl();
|
|
75
|
+
f && p.appendChild(f);
|
|
76
|
+
}), t.forEach((n, a) => {
|
|
77
|
+
o.tabProps.tabs.some((r) => r.key === a) || (e.remove(n), t.delete(a));
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
const g = () => {
|
|
81
|
+
var t;
|
|
82
|
+
const e = i.value;
|
|
83
|
+
(t = o.subContainers) == null || t.forEach((s, c) => {
|
|
84
|
+
var a;
|
|
85
|
+
(((a = e[c]) == null ? void 0 : a.$el) || e[c]).appendChild(s);
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
return A(() => o.tabProps.tabs, async (e) => {
|
|
89
|
+
await T(), m();
|
|
90
|
+
}, { deep: !0 }), (e, t) => {
|
|
91
|
+
const s = u("a-tab-pane"), c = u("a-tabs");
|
|
92
|
+
return d(), h(c, $(b.value, {
|
|
93
|
+
tabBarStyle: { "padding-left": "5px" },
|
|
94
|
+
onChange: k
|
|
95
|
+
}), {
|
|
96
|
+
default: B(() => [
|
|
97
|
+
e.tabProps.dev ? (d(!0), I(L, { key: 0 }, M(b.value.tabs, (n) => (d(), h(s, {
|
|
98
|
+
key: n.key,
|
|
99
|
+
tab: n.tab,
|
|
100
|
+
forceRender: "",
|
|
101
|
+
ref_for: !0,
|
|
102
|
+
ref_key: "tabPanes",
|
|
103
|
+
ref: i
|
|
104
|
+
}, null, 8, ["tab"]))), 128)) : S(e.$slots, "default", { key: 1 })
|
|
105
|
+
]),
|
|
106
|
+
_: 3
|
|
107
|
+
}, 16);
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
export {
|
|
112
|
+
q as default
|
|
113
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),v=require("../base/store/andStore.js.js"),g=require("../utils/runCommonUtils.js.js"),f=require("../base/actionParser.js.js"),y=e.defineComponent({__name:"AndTabs",props:{tabProps:{},subContainers:{},el:{},editor:{},model:{}},setup(h){const p=e.ref([]),a=h,b=e.computed(()=>Object.fromEntries(Object.entries(a.tabProps).filter(([,n])=>n!==void 0))),C=v.useItemStore();function k(t){if(a.tabProps.changeAction&&!a.model){let{actionName:n,arg:c}=f.parseChangeAction(a.tabProps.changeAction,t,a.tabProps);const l=f.createCommand(n,c);g.addCommand(a.tabProps.sessionId||"",C,l)}}const P=t=>{k(t)};e.onMounted(()=>{u()});function u(){var l;if(!a.tabProps.dev)return;if(!a.model){_();return}const t=(l=a.model)==null?void 0:l.components();if(!t){console.error("Component model is not available.");return}const n=new Map(t.models.map(o=>{var r,s;return[(s=(r=o.attributes)==null?void 0:r.attributes)==null?void 0:s["tab-key"],o]})),c=p.value;if(!c){console.error("Container placeholders are not available."),n.forEach(o=>{t.remove(o)}),n.clear();return}a.tabProps.tabs.forEach((o,r)=>{if(r>=c.length){console.warn(`Tab index ${r} exceeds the number of container placeholders.`);return}const s=c[r];let d=(s==null?void 0:s.$el)||s;if(!s||!d){console.warn(`Container at index ${r} is not available.`);return}if(d.children.length>0)return;let i=n.get(o.key);i||(i=t.add({type:"and-tab-pane",attributes:{"tab-key":o.key}}),n.set(o.key,i));const m=i.getEl();m&&d.appendChild(m)}),n.forEach((o,r)=>{a.tabProps.tabs.some(s=>s.key===r)||(t.remove(o),n.delete(r))})}const _=()=>{var n;const t=p.value;(n=a.subContainers)==null||n.forEach((c,l)=>{var r;(((r=t[l])==null?void 0:r.$el)||t[l]).appendChild(c)})};return e.watch(()=>a.tabProps.tabs,async t=>{await e.nextTick(),u()},{deep:!0}),(t,n)=>{const c=e.resolveComponent("a-tab-pane"),l=e.resolveComponent("a-tabs");return e.openBlock(),e.createBlock(l,e.mergeProps(b.value,{tabBarStyle:{"padding-left":"5px"},onChange:P}),{default:e.withCtx(()=>[t.tabProps.dev?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(b.value.tabs,o=>(e.openBlock(),e.createBlock(c,{key:o.key,tab:o.tab,forceRender:"",ref_for:!0,ref_key:"tabPanes",ref:p},null,8,["tab"]))),128)):e.renderSlot(t.$slots,"default",{key:1})]),_:3},16)}}});module.exports=y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./AndTabs.vue.js.js");module.exports=e;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* closable:标签是否可关闭,默认 false
|
|
3
|
+
* color:标签背景色
|
|
4
|
+
* icon:图标(VNode 或自定义插槽)
|
|
5
|
+
* bordered:是否有边框,默认 true(若为 false,可通过 style 控制边框为 none)
|
|
6
|
+
*/
|
|
7
|
+
interface TagProps {
|
|
8
|
+
closable?: boolean;
|
|
9
|
+
color?: string;
|
|
10
|
+
icon?: any;
|
|
11
|
+
bordered?: boolean;
|
|
12
|
+
text?: string;
|
|
13
|
+
iconName?: string;
|
|
14
|
+
dataSet?: string;
|
|
15
|
+
dataSetField?: string;
|
|
16
|
+
dev?: boolean;
|
|
17
|
+
sessionId?: string;
|
|
18
|
+
closeAction?: string;
|
|
19
|
+
enableDict?: boolean;
|
|
20
|
+
dictType?: string;
|
|
21
|
+
formatType?: string;
|
|
22
|
+
formatValue?: string | Record<string, any>;
|
|
23
|
+
}
|
|
24
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
25
|
+
tagProps: TagProps;
|
|
26
|
+
model?: any;
|
|
27
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
28
|
+
tagProps: TagProps;
|
|
29
|
+
model?: any;
|
|
30
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=AndTag.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndTag.vue.d.ts","sourceRoot":"","sources":["../../src/components/AndTag.vue"],"names":[],"mappings":"AAQA;AAcA;;;;;GAKG;AACH,UAAU,QAAQ;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5C;;cAyOW,QAAQ;YACV,GAAG;;cADD,QAAQ;YACV,GAAG;;AAPb,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,107 @@
|
|
|
1
|
+
import { defineComponent as b, ref as V, watch as h, computed as i, h as d, resolveComponent as F, openBlock as O, createBlock as C, mergeProps as D, withCtx as I, createTextVNode as N, toDisplayString as j } from "vue";
|
|
2
|
+
import * as u from "@ant-design/icons-vue";
|
|
3
|
+
import { useStore as m } from "../base/useStore.esm.js";
|
|
4
|
+
import { useItemStore as A } from "../base/store/andStore.esm.js";
|
|
5
|
+
import { addCommand as w } from "../utils/runCommonUtils.esm.js";
|
|
6
|
+
import { getDictOptions as B } from "../utils/dict.esm.js";
|
|
7
|
+
import { parseClickAction as k, createCommand as E } from "../base/actionParser.esm.js";
|
|
8
|
+
import { getIndexPlusOne as J } from "../base/baseUtils.esm.js";
|
|
9
|
+
import { useFormatterByType as K } from "../utils/formatter.esm.js";
|
|
10
|
+
const U = /* @__PURE__ */ b({
|
|
11
|
+
__name: "AndTag",
|
|
12
|
+
props: {
|
|
13
|
+
tagProps: {},
|
|
14
|
+
model: {}
|
|
15
|
+
},
|
|
16
|
+
setup(f) {
|
|
17
|
+
const t = f, s = V([]), g = m(t.tagProps), P = async () => {
|
|
18
|
+
if (t.tagProps.enableDict && t.tagProps.dictType)
|
|
19
|
+
try {
|
|
20
|
+
const e = await B(t.tagProps.dictType);
|
|
21
|
+
s.value = e || [];
|
|
22
|
+
} catch (e) {
|
|
23
|
+
console.error("Failed to load dict options:", e), s.value = [];
|
|
24
|
+
}
|
|
25
|
+
else
|
|
26
|
+
s.value = [];
|
|
27
|
+
};
|
|
28
|
+
h(
|
|
29
|
+
() => [t.tagProps.enableDict, t.tagProps.dictType],
|
|
30
|
+
() => {
|
|
31
|
+
P();
|
|
32
|
+
},
|
|
33
|
+
{ immediate: !0 }
|
|
34
|
+
);
|
|
35
|
+
const v = m({
|
|
36
|
+
dataSet: t.tagProps.sessionId + "_props",
|
|
37
|
+
dataSetField: t.tagProps.dataSet + "_" + t.tagProps.dataSetField
|
|
38
|
+
}), y = A(), l = i(() => t.tagProps.text || "标签"), p = i(() => {
|
|
39
|
+
if (t.tagProps.dev)
|
|
40
|
+
return l.value;
|
|
41
|
+
if (t.tagProps.dataSet && t.tagProps.dataSetField) {
|
|
42
|
+
if (t.tagProps.dataSetField === "@index")
|
|
43
|
+
return J(t.tagProps.dataSet);
|
|
44
|
+
const e = g.value;
|
|
45
|
+
if (e != null) {
|
|
46
|
+
if (t.tagProps.enableDict && t.tagProps.dictType && s.value.length > 0) {
|
|
47
|
+
const a = s.value.find((o) => o.value === String(e));
|
|
48
|
+
if (a)
|
|
49
|
+
return a.label;
|
|
50
|
+
}
|
|
51
|
+
return e;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return l.value;
|
|
55
|
+
}), T = i(() => {
|
|
56
|
+
if (!t.tagProps.formatValue)
|
|
57
|
+
return {};
|
|
58
|
+
if (typeof t.tagProps.formatValue == "string")
|
|
59
|
+
try {
|
|
60
|
+
return JSON.parse(t.tagProps.formatValue);
|
|
61
|
+
} catch (e) {
|
|
62
|
+
return console.error("Failed to parse formatValue:", e), {};
|
|
63
|
+
}
|
|
64
|
+
return t.tagProps.formatValue || {};
|
|
65
|
+
}), S = i(() => t.tagProps.dev || !t.tagProps.formatType ? p.value ?? "" : K(
|
|
66
|
+
p.value,
|
|
67
|
+
t.tagProps.formatType,
|
|
68
|
+
T.value
|
|
69
|
+
).value ?? "");
|
|
70
|
+
function x() {
|
|
71
|
+
if (t.tagProps.closeAction && !t.model) {
|
|
72
|
+
let { actionName: e, arg: a } = k(t.tagProps.closeAction, t.tagProps);
|
|
73
|
+
const o = E(e, a);
|
|
74
|
+
w(t.tagProps.sessionId || "", y, o);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
const _ = i(() => {
|
|
78
|
+
const e = ["text", "enableDict", "dictType", "formatType", "formatValue"];
|
|
79
|
+
let a = Object.fromEntries(
|
|
80
|
+
Object.entries(t.tagProps).filter(([o, r]) => r !== void 0 && !e.includes(o)).map(([o, r]) => o === "iconName" && r ? ["icon", d(u[r])] : [o, r])
|
|
81
|
+
);
|
|
82
|
+
if (t.tagProps.dataSet && t.tagProps.dataSetField) {
|
|
83
|
+
const o = v.value;
|
|
84
|
+
if (o && typeof o == "object") {
|
|
85
|
+
const r = { ...a };
|
|
86
|
+
return Object.keys(o).forEach((c) => {
|
|
87
|
+
const n = o[c];
|
|
88
|
+
n != null && (c === "iconName" && n ? r.icon = d(u[n]) : r[c] = n);
|
|
89
|
+
}), r;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return a;
|
|
93
|
+
});
|
|
94
|
+
return (e, a) => {
|
|
95
|
+
const o = F("a-tag");
|
|
96
|
+
return O(), C(o, D(_.value, { onClose: x }), {
|
|
97
|
+
default: I(() => [
|
|
98
|
+
N(j(S.value), 1)
|
|
99
|
+
]),
|
|
100
|
+
_: 1
|
|
101
|
+
}, 16);
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
export {
|
|
106
|
+
U as default
|
|
107
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),O=require("@ant-design/icons-vue"),f=require("../base/useStore.js.js"),x=require("../base/store/andStore.js.js"),h=require("../utils/runCommonUtils.js.js"),D=require("../utils/dict.js.js"),m=require("../base/actionParser.js.js"),V=require("../base/baseUtils.js.js"),q=require("../utils/formatter.js.js");function C(c){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(c){for(const a in c)if(a!=="default"){const u=Object.getOwnPropertyDescriptor(c,a);Object.defineProperty(t,a,u.get?u:{enumerable:!0,get:()=>c[a]})}}return t.default=c,Object.freeze(t)}const g=C(O),F=e.defineComponent({__name:"AndTag",props:{tagProps:{},model:{}},setup(c){const t=c,a=e.ref([]),u=f.useStore(t.tagProps),P=async()=>{if(t.tagProps.enableDict&&t.tagProps.dictType)try{const o=await D.getDictOptions(t.tagProps.dictType);a.value=o||[]}catch(o){console.error("Failed to load dict options:",o),a.value=[]}else a.value=[]};e.watch(()=>[t.tagProps.enableDict,t.tagProps.dictType],()=>{P()},{immediate:!0});const v=f.useStore({dataSet:t.tagProps.sessionId+"_props",dataSetField:t.tagProps.dataSet+"_"+t.tagProps.dataSetField}),S=x.useItemStore(),d=e.computed(()=>t.tagProps.text||"标签"),p=e.computed(()=>{if(t.tagProps.dev)return d.value;if(t.tagProps.dataSet&&t.tagProps.dataSetField){if(t.tagProps.dataSetField==="@index")return V.getIndexPlusOne(t.tagProps.dataSet);const o=u.value;if(o!=null){if(t.tagProps.enableDict&&t.tagProps.dictType&&a.value.length>0){const n=a.value.find(r=>r.value===String(o));if(n)return n.label}return o}}return d.value}),y=e.computed(()=>{if(!t.tagProps.formatValue)return{};if(typeof t.tagProps.formatValue=="string")try{return JSON.parse(t.tagProps.formatValue)}catch(o){return console.error("Failed to parse formatValue:",o),{}}return t.tagProps.formatValue||{}}),T=e.computed(()=>t.tagProps.dev||!t.tagProps.formatType?p.value??"":q.useFormatterByType(p.value,t.tagProps.formatType,y.value).value??"");function b(){if(t.tagProps.closeAction&&!t.model){let{actionName:o,arg:n}=m.parseClickAction(t.tagProps.closeAction,t.tagProps);const r=m.createCommand(o,n);h.addCommand(t.tagProps.sessionId||"",S,r)}}const _=e.computed(()=>{const o=["text","enableDict","dictType","formatType","formatValue"];let n=Object.fromEntries(Object.entries(t.tagProps).filter(([r,s])=>s!==void 0&&!o.includes(r)).map(([r,s])=>r==="iconName"&&s?["icon",e.h(g[s])]:[r,s]));if(t.tagProps.dataSet&&t.tagProps.dataSetField){const r=v.value;if(r&&typeof r=="object"){const s={...n};return Object.keys(r).forEach(l=>{const i=r[l];i!=null&&(l==="iconName"&&i?s.icon=e.h(g[i]):s[l]=i)}),s}}return n});return(o,n)=>{const r=e.resolveComponent("a-tag");return e.openBlock(),e.createBlock(r,e.mergeProps(_.value,{onClose:b}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(T.value),1)]),_:1},16)}}});module.exports=F;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./AndTag.vue.js.js");module.exports=e;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TextProps as AndTextProps } from 'ant-design-vue/es/typography/Text';
|
|
2
|
+
|
|
3
|
+
interface TextProps extends AndTextProps {
|
|
4
|
+
validateOnBlur?: boolean;
|
|
5
|
+
validateOnChange?: boolean;
|
|
6
|
+
fontSize?: number;
|
|
7
|
+
color?: string;
|
|
8
|
+
dev?: boolean;
|
|
9
|
+
formatType?: string;
|
|
10
|
+
formatValue?: string | Record<string, any>;
|
|
11
|
+
content?: string;
|
|
12
|
+
dataSet?: string;
|
|
13
|
+
dataSetField?: string;
|
|
14
|
+
enableDict?: boolean;
|
|
15
|
+
dictType?: string;
|
|
16
|
+
fallbackDisplay?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
textProps: TextProps;
|
|
20
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
+
textProps: TextProps;
|
|
22
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=AndText.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndText.vue.d.ts","sourceRoot":"","sources":["../../src/components/AndText.vue"],"names":[],"mappings":"AASA;AAEA,OAAO,EAAE,KAAK,SAAS,IAAI,YAAY,EAAE,MAAM,mCAAmC,CAAC;AASnF,UAAU,SAAU,SAAQ,YAAY;IACtC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;;eAyPY,SAAS;;eAAT,SAAS;;AANtB,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"}
|