@aplus-frontend/ui 0.0.1-beta.9 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +196 -138
- package/es/src/ap-action/group/index.vue.mjs +35 -27
- package/es/src/ap-action/interface.d.ts +2 -1
- package/es/src/ap-action/item/index.vue2.mjs +19 -19
- package/es/src/ap-action/item-dropdown/index.vue.mjs +34 -34
- package/es/src/ap-action/style/item.css +6 -1
- package/es/src/ap-custom-column/column-select.vue.d.ts +18 -0
- package/es/src/ap-custom-column/column-select.vue.mjs +102 -0
- package/es/src/ap-custom-column/column-select.vue2.mjs +4 -0
- package/es/src/ap-custom-column/custom-column.vue.d.ts +18 -0
- package/es/src/ap-custom-column/custom-column.vue.mjs +86 -0
- package/es/src/ap-custom-column/custom-column.vue2.mjs +4 -0
- package/es/src/ap-custom-column/index.d.ts +7 -0
- package/es/src/ap-custom-column/index.mjs +9 -0
- package/es/src/ap-custom-column/interfaces.d.ts +41 -0
- package/es/src/ap-custom-column/interfaces.mjs +1 -0
- package/es/src/ap-custom-column/storage.d.ts +8 -0
- package/es/src/ap-custom-column/storage.mjs +29 -0
- package/es/src/ap-custom-column/styles/column-select.css +44 -0
- package/es/src/ap-custom-column/styles/custom-column.css +46 -0
- package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +10 -0
- package/es/src/ap-custom-column/useCacheColumnSetting.mjs +9 -0
- package/es/src/ap-custom-column/utils.d.ts +3 -0
- package/es/src/ap-custom-column/utils.mjs +17 -0
- package/es/src/ap-download/ap-download.vue.d.ts +41 -0
- package/es/src/ap-download/ap-download.vue.mjs +56 -0
- package/es/src/ap-download/ap-download.vue2.mjs +4 -0
- package/es/src/ap-download/hooks/index.d.ts +9 -0
- package/es/src/ap-download/hooks/index.mjs +20 -0
- package/es/src/ap-download/index.d.ts +4 -0
- package/es/src/ap-download/index.mjs +2 -0
- package/es/src/ap-download/interface.d.ts +33 -0
- package/es/src/ap-download/interface.mjs +1 -0
- package/es/src/ap-download/style/ap-download.css +51 -0
- package/es/src/ap-field/checkbox/index.vue.mjs +16 -16
- package/es/src/ap-field/date/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/es/src/ap-field/date-range/index.vue.mjs +54 -48
- package/es/src/ap-field/interface.d.ts +3 -3
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +6 -6
- package/es/src/ap-field/switch/index.vue.d.ts +2 -2
- package/es/src/ap-field/switch/index.vue.mjs +31 -31
- package/es/src/ap-field/text/index.vue.d.ts +4 -1
- package/es/src/ap-field/text/index.vue.mjs +11 -10
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.mjs +8 -8
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +10 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +30 -11
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +60 -2
- package/es/src/ap-form/ap-form-item-group/index.vue2.mjs +2 -56
- package/es/src/ap-form/ap-form-item.vue.d.ts +23 -5
- package/es/src/ap-form/ap-form-item.vue.mjs +149 -2
- package/es/src/ap-form/ap-form-item.vue2.mjs +2 -80
- package/es/src/ap-form/ap-form-list.vue.d.ts +35 -0
- package/es/src/ap-form/ap-form-list.vue.mjs +41 -0
- package/es/src/ap-form/ap-form-list.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form.vue.d.ts +66 -0
- package/es/src/ap-form/ap-form.vue.mjs +4 -0
- package/es/src/ap-form/ap-form.vue2.mjs +89 -0
- package/es/src/ap-form/context.d.ts +11 -0
- package/es/src/ap-form/context.mjs +17 -0
- package/es/src/ap-form/index.d.ts +15 -939
- package/es/src/ap-form/index.mjs +24 -11
- package/es/src/ap-form/interface.d.ts +62 -1
- package/es/src/ap-form/interface.mjs +1 -0
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +47 -0
- package/es/src/ap-form/items/checkbox/index.vue.mjs +61 -0
- package/es/src/ap-form/items/checkbox/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/date/index.vue.d.ts +65 -0
- package/es/src/ap-form/items/date/index.vue.mjs +80 -0
- package/es/src/ap-form/items/date/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/date-range/index.vue.d.ts +64 -0
- package/es/src/ap-form/items/date-range/index.vue.mjs +80 -0
- package/es/src/ap-form/items/date-range/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/index.d.ts +9 -1
- package/es/src/ap-form/items/index.mjs +8 -0
- package/es/src/ap-form/items/interface.d.ts +39 -6
- package/es/src/ap-form/items/number/index.vue.d.ts +63 -0
- package/es/src/ap-form/items/number/index.vue.mjs +84 -0
- package/es/src/ap-form/items/number/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/radio/index.vue.d.ts +50 -0
- package/es/src/ap-form/items/radio/index.vue.mjs +74 -0
- package/es/src/ap-form/items/radio/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/select/index.vue.d.ts +69 -0
- package/es/src/ap-form/items/select/index.vue.mjs +89 -0
- package/es/src/ap-form/items/select/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/switch/index.vue.d.ts +60 -0
- package/es/src/ap-form/items/switch/index.vue.mjs +68 -0
- package/es/src/ap-form/items/switch/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/text/index.vue.d.ts +0 -3
- package/es/src/ap-form/items/text/index.vue.mjs +24 -31
- package/es/src/ap-form/items/text-area/index.vue.d.ts +52 -0
- package/es/src/ap-form/items/text-area/index.vue.mjs +79 -0
- package/es/src/ap-form/items/text-area/index.vue2.mjs +4 -0
- package/es/src/ap-form/modal-form/index.vue.d.ts +378 -0
- package/es/src/ap-form/modal-form/index.vue.mjs +239 -0
- package/es/src/ap-form/modal-form/index.vue2.mjs +4 -0
- package/es/src/ap-form/search-form/index.vue.d.ts +79 -0
- package/es/src/ap-form/search-form/index.vue.mjs +209 -0
- package/es/src/ap-form/search-form/index.vue2.mjs +4 -0
- package/es/src/ap-form/style/ap-form-item.css +46 -0
- package/es/src/ap-form/style/modal-form.css +17 -0
- package/es/src/ap-form/style/search-form.css +3 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +42 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs +62 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue2.mjs +4 -0
- package/es/src/ap-layout/index.d.ts +3 -0
- package/es/src/ap-layout/index.mjs +1 -0
- package/es/src/ap-layout/interface.d.ts +4 -0
- package/es/src/ap-layout/style/ap-info-layout.css +19 -0
- package/es/src/ap-table/ap-table.vue.d.ts +189 -0
- package/es/src/ap-table/ap-table.vue.mjs +267 -0
- package/es/src/ap-table/ap-table.vue2.mjs +4 -0
- package/es/src/ap-table/components/index/index.vue.d.ts +28 -0
- package/es/src/ap-table/components/index/index.vue.mjs +4 -0
- package/es/src/ap-table/components/index/index.vue2.mjs +21 -0
- package/es/src/ap-table/components/interface.d.ts +20 -0
- package/es/src/ap-table/components/style/index.css +12 -0
- package/es/src/ap-table/components/style/pagination.css +12 -0
- package/es/src/ap-table/constants.d.ts +11075 -0
- package/es/src/ap-table/constants.mjs +55 -0
- package/es/src/ap-table/hooks/use-table-paging.d.ts +82 -0
- package/es/src/ap-table/hooks/use-table-paging.mjs +142 -0
- package/es/src/ap-table/index.d.ts +5 -0
- package/es/src/ap-table/index.mjs +6 -0
- package/es/src/ap-table/interface.d.ts +184 -0
- package/es/src/ap-table/interface.mjs +1 -0
- package/es/src/ap-table/style/ap-table.css +46 -0
- package/es/src/ap-table/utils.d.ts +14 -0
- package/es/src/ap-table/utils.mjs +35 -0
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +34 -0
- package/es/src/ap-tag/ap-tag-group.vue.mjs +137 -0
- package/es/src/ap-tag/ap-tag-group.vue2.mjs +4 -0
- package/es/src/ap-tag/ap-tag.vue.d.ts +34 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +41 -0
- package/es/src/ap-tag/ap-tag.vue2.mjs +4 -0
- package/es/src/ap-tag/index.d.ts +5 -0
- package/es/src/ap-tag/index.mjs +3 -0
- package/es/src/ap-tag/interface.d.ts +35 -0
- package/es/src/ap-tag/interface.mjs +1 -0
- package/es/src/ap-tag/style/ap-tag-group.css +6 -0
- package/es/src/ap-tag/style/ap-tag.css +40 -0
- package/es/src/ap-upload/apUpload.vue.d.ts +111 -0
- package/es/src/ap-upload/apUpload.vue.mjs +95 -0
- package/es/src/ap-upload/apUpload.vue2.mjs +4 -0
- package/es/src/ap-upload/apUploadTypes.d.ts +90 -0
- package/es/src/ap-upload/apUploadTypes.mjs +4 -0
- package/es/src/ap-upload/assets/single-file-icon.png.mjs +4 -0
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +4 -0
- package/es/src/ap-upload/components/MultipleFile.vue.mjs +4 -0
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +197 -0
- package/es/src/ap-upload/components/Picture.vue.d.ts +4 -0
- package/es/src/ap-upload/components/Picture.vue.mjs +4 -0
- package/es/src/ap-upload/components/Picture.vue2.mjs +219 -0
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +4 -0
- package/es/src/ap-upload/components/SingleFile.vue.mjs +4 -0
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +213 -0
- package/es/src/ap-upload/hooks/useOss.d.ts +19 -0
- package/es/src/ap-upload/hooks/useOss.mjs +62 -0
- package/es/src/ap-upload/index.d.ts +5 -0
- package/es/src/ap-upload/index.mjs +11 -0
- package/es/src/ap-upload/styles/multiple-file.css +58 -0
- package/es/src/ap-upload/styles/picture.css +112 -0
- package/es/src/ap-upload/styles/single-file.css +98 -0
- package/es/src/ap-upload/styles/upload.css +6 -0
- package/es/src/ap-upload/utils/accept.d.ts +13 -0
- package/es/src/ap-upload/utils/accept.mjs +51 -0
- package/es/src/ap-upload/utils/returnData.d.ts +19 -0
- package/es/src/ap-upload/utils/returnData.mjs +21 -0
- package/es/src/basic/help.vue.d.ts +4 -4
- package/es/src/basic/index.d.ts +8 -8
- package/es/src/components.d.ts +2 -0
- package/es/src/config-provider/config-provider-props.d.ts +1 -1
- package/es/src/config-provider/config-provider.d.ts +11 -11
- package/es/src/config-provider/config-provider.mjs +26 -33
- package/es/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/src/config-provider/index.d.ts +31 -31
- package/es/src/design-token/index.mjs +8 -2
- package/es/src/hooks/useControllableValue.mjs +11 -14
- package/es/src/icon-picker/icon-picker.vue.d.ts +1 -1
- package/es/src/icon-picker/index.d.ts +15 -15
- package/es/src/index.d.ts +7 -0
- package/es/src/index.mjs +226 -161
- package/es/src/locale/lang/en.mjs +14 -1
- package/es/src/locale/lang/zh-cn.mjs +14 -1
- package/es/src/modal/basic.vue.d.ts +1 -2
- package/es/src/modal/basic.vue2.mjs +10 -11
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/index.d.ts +2 -2
- package/es/src/modal/style/index.css +0 -103
- package/es/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +3 -3
- package/es/src/pro-form/index.d.ts +4 -1
- package/es/src/pro-form/index.mjs +12 -9
- package/es/src/pro-form/pro-form.vue.d.ts +1 -1
- package/es/src/pro-form/style/index.css +0 -3
- package/es/src/pro-form/style/table-form.css +104 -0
- package/es/src/pro-form/table-form-inner.vue.d.ts +44 -0
- package/es/src/pro-form/table-form-inner.vue.mjs +176 -0
- package/es/src/pro-form/table-form-inner.vue2.mjs +4 -0
- package/es/src/pro-form/table-form.vue.d.ts +42 -0
- package/es/src/pro-form/table-form.vue.mjs +41 -0
- package/es/src/pro-form/table-form.vue2.mjs +4 -0
- package/es/src/pro-form/types/form.d.ts +1 -1
- package/es/src/pro-form/types/table-form.d.ts +37 -0
- package/es/src/pro-form/types/table-form.mjs +1 -0
- package/es/src/pro-table/hooks/use-data-source.mjs +45 -46
- package/es/src/prompt/utils.d.ts +1 -1
- package/es/src/scroll-bar/index.d.ts +12 -12
- package/es/src/theme/antd-global-overwrite/admin/alert.css +47 -0
- package/es/src/theme/antd-global-overwrite/admin/button.css +38 -0
- package/es/src/theme/antd-global-overwrite/admin/form.css +65 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +536 -0
- package/es/src/theme/antd-global-overwrite/admin/message.css +17 -0
- package/es/src/theme/antd-global-overwrite/admin/modal.css +117 -0
- package/es/src/theme/antd-global-overwrite/admin/pagination.css +68 -0
- package/es/src/theme/antd-global-overwrite/admin/steps.css +103 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +81 -0
- package/es/src/theme/antd-global-overwrite/aplus/alert.css +47 -0
- package/es/src/theme/antd-global-overwrite/aplus/button.css +38 -0
- package/es/src/theme/antd-global-overwrite/aplus/form.css +90 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +565 -0
- package/es/src/theme/antd-global-overwrite/aplus/message.css +17 -0
- package/es/src/theme/antd-global-overwrite/aplus/modal.css +111 -0
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +81 -0
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +103 -0
- package/es/src/theme/antd-global-overwrite/aplus/table.css +78 -0
- package/es/src/theme/ap-action/item.css +6 -1
- package/es/src/theme/ap-download/ap-download.css +51 -0
- package/es/src/theme/ap-form/ap-form-item.css +46 -0
- package/es/src/theme/ap-form/modal-form.css +17 -0
- package/es/src/theme/ap-form/search-form.css +3 -0
- package/es/src/theme/ap-layout/ap-info-layout.css +19 -0
- package/es/src/theme/ap-table/ap-table-index.css +12 -0
- package/es/src/theme/ap-table/ap-table-pagination.css +12 -0
- package/es/src/theme/ap-table/ap-table.css +46 -0
- package/es/src/theme/ap-tag/ap-tag-group.css +6 -0
- package/es/src/theme/ap-tag/ap-tag.css +40 -0
- package/es/src/theme/ap-upload/multiple-file.css +58 -0
- package/es/src/theme/ap-upload/picture.css +112 -0
- package/es/src/theme/ap-upload/single-file.css +98 -0
- package/es/src/theme/ap-upload/upload.css +6 -0
- package/es/src/theme/custom-column/column-select.css +44 -0
- package/es/src/theme/custom-column/custom-column.css +46 -0
- package/es/src/theme/modal/index.css +0 -103
- package/es/src/theme/pro-form/form.css +0 -3
- package/es/src/theme/pro-form/table-form-inner.css +104 -0
- package/es/src/theme/work-order-modal/index.css +3 -0
- package/es/src/utils/config-provider-preset.d.ts +79 -0
- package/es/src/utils/config-provider-preset.mjs +30 -0
- package/es/src/utils/index.d.ts +8 -0
- package/es/src/utils/index.mjs +29 -17
- package/es/src/utils/slot.d.ts +7 -1
- package/es/src/utils/slot.mjs +25 -15
- package/es/src/work-order-modal/createWorkOrder.d.ts +1 -0
- package/es/src/work-order-modal/createWorkOrder.mjs +19 -0
- package/es/src/work-order-modal/help-message.vue.d.ts +3 -0
- package/es/src/work-order-modal/help-message.vue.mjs +4 -0
- package/es/src/work-order-modal/help-message.vue2.mjs +33 -0
- package/es/src/work-order-modal/index.d.ts +5 -0
- package/es/src/work-order-modal/index.mjs +7 -0
- package/es/src/work-order-modal/interfaces.d.ts +23 -0
- package/es/src/work-order-modal/interfaces.mjs +4 -0
- package/es/src/work-order-modal/style/index.css +3 -0
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +18 -0
- package/es/src/work-order-modal/work-order-modal.vue.mjs +182 -0
- package/es/src/work-order-modal/work-order-modal.vue2.mjs +4 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/interface.d.ts +2 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/style/item.css +6 -1
- package/lib/src/ap-custom-column/column-select.vue.d.ts +18 -0
- package/lib/src/ap-custom-column/column-select.vue.js +1 -0
- package/lib/src/ap-custom-column/column-select.vue2.js +1 -0
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +18 -0
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -0
- package/lib/src/ap-custom-column/custom-column.vue2.js +1 -0
- package/lib/src/ap-custom-column/index.d.ts +7 -0
- package/lib/src/ap-custom-column/index.js +1 -0
- package/lib/src/ap-custom-column/interfaces.d.ts +41 -0
- package/lib/src/ap-custom-column/interfaces.js +1 -0
- package/lib/src/ap-custom-column/storage.d.ts +8 -0
- package/lib/src/ap-custom-column/storage.js +1 -0
- package/lib/src/ap-custom-column/styles/column-select.css +44 -0
- package/lib/src/ap-custom-column/styles/custom-column.css +46 -0
- package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +10 -0
- package/lib/src/ap-custom-column/useCacheColumnSetting.js +1 -0
- package/lib/src/ap-custom-column/utils.d.ts +3 -0
- package/lib/src/ap-custom-column/utils.js +1 -0
- package/lib/src/ap-download/ap-download.vue.d.ts +41 -0
- package/lib/src/ap-download/ap-download.vue.js +1 -0
- package/lib/src/ap-download/ap-download.vue2.js +1 -0
- package/lib/src/ap-download/hooks/index.d.ts +9 -0
- package/lib/src/ap-download/hooks/index.js +1 -0
- package/lib/src/ap-download/index.d.ts +4 -0
- package/lib/src/ap-download/index.js +1 -0
- package/lib/src/ap-download/interface.d.ts +33 -0
- package/lib/src/ap-download/interface.js +1 -0
- package/lib/src/ap-download/style/ap-download.css +51 -0
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/interface.d.ts +3 -3
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.d.ts +2 -2
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +4 -1
- package/lib/src/ap-field/text/index.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +10 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue2.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +23 -5
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue2.js +1 -1
- package/lib/src/ap-form/ap-form-list.vue.d.ts +35 -0
- package/lib/src/ap-form/ap-form-list.vue.js +1 -0
- package/lib/src/ap-form/ap-form-list.vue2.js +1 -0
- package/lib/src/ap-form/ap-form.vue.d.ts +66 -0
- package/lib/src/ap-form/ap-form.vue.js +1 -0
- package/lib/src/ap-form/ap-form.vue2.js +1 -0
- package/lib/src/ap-form/context.d.ts +11 -0
- package/lib/src/ap-form/context.js +1 -0
- package/lib/src/ap-form/index.d.ts +15 -939
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +62 -1
- package/lib/src/ap-form/interface.js +1 -0
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +47 -0
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -0
- package/lib/src/ap-form/items/checkbox/index.vue2.js +1 -0
- package/lib/src/ap-form/items/date/index.vue.d.ts +65 -0
- package/lib/src/ap-form/items/date/index.vue.js +1 -0
- package/lib/src/ap-form/items/date/index.vue2.js +1 -0
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +64 -0
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -0
- package/lib/src/ap-form/items/date-range/index.vue2.js +1 -0
- package/lib/src/ap-form/items/index.d.ts +9 -1
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/interface.d.ts +39 -6
- package/lib/src/ap-form/items/number/index.vue.d.ts +63 -0
- package/lib/src/ap-form/items/number/index.vue.js +1 -0
- package/lib/src/ap-form/items/number/index.vue2.js +1 -0
- package/lib/src/ap-form/items/radio/index.vue.d.ts +50 -0
- package/lib/src/ap-form/items/radio/index.vue.js +1 -0
- package/lib/src/ap-form/items/radio/index.vue2.js +1 -0
- package/lib/src/ap-form/items/select/index.vue.d.ts +69 -0
- package/lib/src/ap-form/items/select/index.vue.js +1 -0
- package/lib/src/ap-form/items/select/index.vue2.js +1 -0
- package/lib/src/ap-form/items/switch/index.vue.d.ts +60 -0
- package/lib/src/ap-form/items/switch/index.vue.js +1 -0
- package/lib/src/ap-form/items/switch/index.vue2.js +1 -0
- package/lib/src/ap-form/items/text/index.vue.d.ts +0 -3
- package/lib/src/ap-form/items/text/index.vue.js +1 -1
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +52 -0
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -0
- package/lib/src/ap-form/items/text-area/index.vue2.js +1 -0
- package/lib/src/ap-form/modal-form/index.vue.d.ts +378 -0
- package/lib/src/ap-form/modal-form/index.vue.js +1 -0
- package/lib/src/ap-form/modal-form/index.vue2.js +1 -0
- package/lib/src/ap-form/search-form/index.vue.d.ts +79 -0
- package/lib/src/ap-form/search-form/index.vue.js +1 -0
- package/lib/src/ap-form/search-form/index.vue2.js +1 -0
- package/lib/src/ap-form/style/ap-form-item.css +46 -0
- package/lib/src/ap-form/style/modal-form.css +17 -0
- package/lib/src/ap-form/style/search-form.css +3 -0
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +42 -0
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.js +1 -0
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue2.js +1 -0
- package/lib/src/ap-layout/index.d.ts +3 -0
- package/lib/src/ap-layout/index.js +1 -0
- package/lib/src/ap-layout/interface.d.ts +4 -0
- package/lib/src/ap-layout/style/ap-info-layout.css +19 -0
- package/lib/src/ap-table/ap-table.vue.d.ts +189 -0
- package/lib/src/ap-table/ap-table.vue.js +1 -0
- package/lib/src/ap-table/ap-table.vue2.js +1 -0
- package/lib/src/ap-table/components/index/index.vue.d.ts +28 -0
- package/lib/src/ap-table/components/index/index.vue.js +1 -0
- package/lib/src/ap-table/components/index/index.vue2.js +1 -0
- package/lib/src/ap-table/components/interface.d.ts +20 -0
- package/lib/src/ap-table/components/style/index.css +12 -0
- package/lib/src/ap-table/components/style/pagination.css +12 -0
- package/lib/src/ap-table/constants.d.ts +11075 -0
- package/lib/src/ap-table/constants.js +1 -0
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +82 -0
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -0
- package/lib/src/ap-table/index.d.ts +5 -0
- package/lib/src/ap-table/index.js +1 -0
- package/lib/src/ap-table/interface.d.ts +184 -0
- package/lib/src/ap-table/interface.js +1 -0
- package/lib/src/ap-table/style/ap-table.css +46 -0
- package/lib/src/ap-table/utils.d.ts +14 -0
- package/lib/src/ap-table/utils.js +1 -0
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +34 -0
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -0
- package/lib/src/ap-tag/ap-tag-group.vue2.js +1 -0
- package/lib/src/ap-tag/ap-tag.vue.d.ts +34 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -0
- package/lib/src/ap-tag/ap-tag.vue2.js +1 -0
- package/lib/src/ap-tag/index.d.ts +5 -0
- package/lib/src/ap-tag/index.js +1 -0
- package/lib/src/ap-tag/interface.d.ts +35 -0
- package/lib/src/ap-tag/interface.js +1 -0
- package/lib/src/ap-tag/style/ap-tag-group.css +6 -0
- package/lib/src/ap-tag/style/ap-tag.css +40 -0
- package/lib/src/ap-upload/apUpload.vue.d.ts +111 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -0
- package/lib/src/ap-upload/apUpload.vue2.js +1 -0
- package/lib/src/ap-upload/apUploadTypes.d.ts +90 -0
- package/lib/src/ap-upload/apUploadTypes.js +1 -0
- package/lib/src/ap-upload/assets/single-file-icon.png.js +1 -0
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +4 -0
- package/lib/src/ap-upload/components/MultipleFile.vue.js +1 -0
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -0
- package/lib/src/ap-upload/components/Picture.vue.d.ts +4 -0
- package/lib/src/ap-upload/components/Picture.vue.js +1 -0
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -0
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +4 -0
- package/lib/src/ap-upload/components/SingleFile.vue.js +1 -0
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -0
- package/lib/src/ap-upload/hooks/useOss.d.ts +19 -0
- package/lib/src/ap-upload/hooks/useOss.js +1 -0
- package/lib/src/ap-upload/index.d.ts +5 -0
- package/lib/src/ap-upload/index.js +1 -0
- package/lib/src/ap-upload/styles/multiple-file.css +58 -0
- package/lib/src/ap-upload/styles/picture.css +112 -0
- package/lib/src/ap-upload/styles/single-file.css +98 -0
- package/lib/src/ap-upload/styles/upload.css +6 -0
- package/lib/src/ap-upload/utils/accept.d.ts +13 -0
- package/lib/src/ap-upload/utils/accept.js +1 -0
- package/lib/src/ap-upload/utils/returnData.d.ts +19 -0
- package/lib/src/ap-upload/utils/returnData.js +1 -0
- package/lib/src/basic/help.vue.d.ts +4 -4
- package/lib/src/basic/help.vue2.js +1 -1
- package/lib/src/basic/index.d.ts +8 -8
- package/lib/src/components.d.ts +2 -0
- package/lib/src/config-provider/config-provider-props.d.ts +1 -1
- package/lib/src/config-provider/config-provider.d.ts +11 -11
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/src/config-provider/index.d.ts +31 -31
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue.d.ts +1 -1
- package/lib/src/icon-picker/index.d.ts +15 -15
- package/lib/src/index.d.ts +7 -0
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +1 -2
- package/lib/src/modal/basic.vue2.js +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/index.d.ts +2 -2
- package/lib/src/modal/style/index.css +0 -103
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-cascader.vue.js +1 -1
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-select.vue.js +1 -1
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.js +1 -1
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +3 -3
- package/lib/src/pro-form/index.d.ts +4 -1
- package/lib/src/pro-form/index.js +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
- package/lib/src/pro-form/style/index.css +0 -3
- package/lib/src/pro-form/style/table-form.css +104 -0
- package/lib/src/pro-form/table-form-inner.vue.d.ts +44 -0
- package/lib/src/pro-form/table-form-inner.vue.js +1 -0
- package/lib/src/pro-form/table-form-inner.vue2.js +1 -0
- package/lib/src/pro-form/table-form.vue.d.ts +42 -0
- package/lib/src/pro-form/table-form.vue.js +1 -0
- package/lib/src/pro-form/table-form.vue2.js +1 -0
- package/lib/src/pro-form/types/form.d.ts +1 -1
- package/lib/src/pro-form/types/table-form.d.ts +37 -0
- package/lib/src/pro-form/types/table-form.js +1 -0
- package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/column-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/redo-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/size-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/table-action.vue.js +1 -1
- package/lib/src/pro-table/hooks/use-data-source.js +1 -1
- package/lib/src/prompt/utils.d.ts +1 -1
- package/lib/src/scroll-bar/index.d.ts +12 -12
- package/lib/src/theme/antd-global-overwrite/admin/alert.css +47 -0
- package/lib/src/theme/antd-global-overwrite/admin/button.css +38 -0
- package/lib/src/theme/antd-global-overwrite/admin/form.css +65 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +536 -0
- package/lib/src/theme/antd-global-overwrite/admin/message.css +17 -0
- package/lib/src/theme/antd-global-overwrite/admin/modal.css +117 -0
- package/lib/src/theme/antd-global-overwrite/admin/pagination.css +68 -0
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +103 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +81 -0
- package/lib/src/theme/antd-global-overwrite/aplus/alert.css +47 -0
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +38 -0
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +90 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +565 -0
- package/lib/src/theme/antd-global-overwrite/aplus/message.css +17 -0
- package/lib/src/theme/antd-global-overwrite/aplus/modal.css +111 -0
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +81 -0
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +103 -0
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +78 -0
- package/lib/src/theme/ap-action/item.css +6 -1
- package/lib/src/theme/ap-download/ap-download.css +51 -0
- package/lib/src/theme/ap-form/ap-form-item.css +46 -0
- package/lib/src/theme/ap-form/modal-form.css +17 -0
- package/lib/src/theme/ap-form/search-form.css +3 -0
- package/lib/src/theme/ap-layout/ap-info-layout.css +19 -0
- package/lib/src/theme/ap-table/ap-table-index.css +12 -0
- package/lib/src/theme/ap-table/ap-table-pagination.css +12 -0
- package/lib/src/theme/ap-table/ap-table.css +46 -0
- package/lib/src/theme/ap-tag/ap-tag-group.css +6 -0
- package/lib/src/theme/ap-tag/ap-tag.css +40 -0
- package/lib/src/theme/ap-upload/multiple-file.css +58 -0
- package/lib/src/theme/ap-upload/picture.css +112 -0
- package/lib/src/theme/ap-upload/single-file.css +98 -0
- package/lib/src/theme/ap-upload/upload.css +6 -0
- package/lib/src/theme/custom-column/column-select.css +44 -0
- package/lib/src/theme/custom-column/custom-column.css +46 -0
- package/lib/src/theme/modal/index.css +0 -103
- package/lib/src/theme/pro-form/form.css +0 -3
- package/lib/src/theme/pro-form/table-form-inner.css +104 -0
- package/lib/src/theme/work-order-modal/index.css +3 -0
- package/lib/src/utils/config-provider-preset.d.ts +79 -0
- package/lib/src/utils/config-provider-preset.js +1 -0
- package/lib/src/utils/index.d.ts +8 -0
- package/lib/src/utils/index.js +1 -1
- package/lib/src/utils/slot.d.ts +7 -1
- package/lib/src/utils/slot.js +1 -1
- package/lib/src/work-order-modal/createWorkOrder.d.ts +1 -0
- package/lib/src/work-order-modal/createWorkOrder.js +1 -0
- package/lib/src/work-order-modal/help-message.vue.d.ts +3 -0
- package/lib/src/work-order-modal/help-message.vue.js +1 -0
- package/lib/src/work-order-modal/help-message.vue2.js +1 -0
- package/lib/src/work-order-modal/index.d.ts +5 -0
- package/lib/src/work-order-modal/index.js +1 -0
- package/lib/src/work-order-modal/interfaces.d.ts +23 -0
- package/lib/src/work-order-modal/interfaces.js +1 -0
- package/lib/src/work-order-modal/style/index.css +3 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +18 -0
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -0
- package/lib/src/work-order-modal/work-order-modal.vue2.js +1 -0
- package/package.json +17 -7
- package/es/src/ap-form/ap-form.d.ts +0 -1681
- package/es/src/ap-form/ap-form.mjs +0 -5
- package/lib/src/ap-form/ap-form.d.ts +0 -1681
- package/lib/src/ap-form/ap-form.js +0 -1
package/es/index.mjs
CHANGED
|
@@ -1,71 +1,101 @@
|
|
|
1
1
|
import * as e from "./src/index.mjs";
|
|
2
2
|
import "./src/hooks/index.mjs";
|
|
3
|
-
import { Icon as
|
|
4
|
-
import { configProviderProps as
|
|
5
|
-
import { configProviderContextKey as
|
|
6
|
-
import { keysOf as A, provideGlobalConfig as T, useGlobalConfig as
|
|
7
|
-
import { buildLocaleContext as
|
|
8
|
-
import { defaultNamespace as
|
|
9
|
-
import { ConfigProvider as
|
|
10
|
-
import { APConfigProvider as
|
|
3
|
+
import { Icon as l, SvgIcon as s } from "./src/icon/index.mjs";
|
|
4
|
+
import { configProviderProps as x } from "./src/config-provider/config-provider-props.mjs";
|
|
5
|
+
import { configProviderContextKey as i, tableDefaultConfig as u } from "./src/config-provider/constants.mjs";
|
|
6
|
+
import { keysOf as A, provideGlobalConfig as T, useGlobalConfig as F } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
|
+
import { buildLocaleContext as S, buildTranslator as I, localeContextKey as b, translate as g, useLocale as P } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import { defaultNamespace as v, namespaceContextKey as R, useGetDerivedNamespace as M, useNamespace as h } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { ConfigProvider as k } from "./src/config-provider/config-provider.mjs";
|
|
10
|
+
import { APConfigProvider as G } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { Scrollbar as y } from "./src/scroll-bar/index.mjs";
|
|
12
|
-
import { CollapseContainer as
|
|
13
|
-
import { IconPicker as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { BasicArrow as
|
|
17
|
-
import { default as
|
|
18
|
-
import { ExpandTransition as Z, ExpandXTransition as _, FadeTransition as oo, ScaleRotateTransition as eo, ScaleTransition as ro, ScrollXReverseTransition as to, ScrollXTransition as ao, ScrollYReverseTransition as po, ScrollYTransition as fo, SlideXReverseTransition as
|
|
19
|
-
import { useDescription as
|
|
12
|
+
import { CollapseContainer as X, ScrollContainer as K } from "./src/container/index.mjs";
|
|
13
|
+
import { IconPicker as E } from "./src/icon-picker/index.mjs";
|
|
14
|
+
import { default as H } from "./src/locale/lang/zh-cn.mjs";
|
|
15
|
+
import { default as z } from "./src/locale/lang/en.mjs";
|
|
16
|
+
import { BasicArrow as V, BasicHelp as $, BasicTitle as j } from "./src/basic/index.mjs";
|
|
17
|
+
import { default as J } from "./src/transition/collapse-transition.vue.mjs";
|
|
18
|
+
import { ExpandTransition as Z, ExpandXTransition as _, FadeTransition as oo, ScaleRotateTransition as eo, ScaleTransition as ro, ScrollXReverseTransition as to, ScrollXTransition as ao, ScrollYReverseTransition as po, ScrollYTransition as fo, SlideXReverseTransition as mo, SlideXTransition as lo, SlideYReverseTransition as so, SlideYTransition as xo } from "./src/transition/index.mjs";
|
|
19
|
+
import { useDescription as io } from "./src/description/use-description.mjs";
|
|
20
20
|
import { Description as co } from "./src/description/index.mjs";
|
|
21
21
|
import { useComponentRegister as To } from "./src/pro-form/hooks/use-component-register.mjs";
|
|
22
|
-
import { useForm as
|
|
22
|
+
import { useForm as Co } from "./src/pro-form/hooks/use-form.mjs";
|
|
23
23
|
import { isComponentFormSchema as Io, isSlotFormSchema as bo } from "./src/pro-form/types/form.mjs";
|
|
24
|
-
import { Field as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
24
|
+
import { Field as Po } from "./src/pro-form/index.mjs";
|
|
25
|
+
import { default as vo } from "./src/pro-form/components/api-cascader.vue.mjs";
|
|
26
|
+
import { default as Mo } from "./src/pro-form/components/api-radio-group.vue.mjs";
|
|
27
|
+
import { default as Bo } from "./src/pro-form/components/api-select.vue.mjs";
|
|
28
28
|
import { default as wo } from "./src/pro-form/components/api-transfer.vue.mjs";
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import { default as Te } from "./src/pro-table/
|
|
47
|
-
import { default as
|
|
48
|
-
import {
|
|
49
|
-
import { default as ge } from "./src/
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import { default as he } from "./src/ap-
|
|
53
|
-
import { default as ke } from "./src/ap-
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as Oe } from "./src/ap-
|
|
59
|
-
import { default as
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
29
|
+
import { default as No } from "./src/pro-form/components/api-tree.vue.mjs";
|
|
30
|
+
import { default as Lo } from "./src/pro-form/components/radio-button-group.vue.mjs";
|
|
31
|
+
import { default as Ko } from "./src/pro-form/pro-form.vue.mjs";
|
|
32
|
+
import { default as Eo } from "./src/pro-form/components/api-tree-select.vue.mjs";
|
|
33
|
+
import { default as Ho } from "./src/pro-form/table-form.vue.mjs";
|
|
34
|
+
import { default as zo } from "./src/pro-form/table-form-inner.vue.mjs";
|
|
35
|
+
import { default as Vo } from "./src/base-button/modal-button.vue.mjs";
|
|
36
|
+
import { default as jo } from "./src/base-button/pop-confirm-button.vue.mjs";
|
|
37
|
+
import { BaseButton as Jo } from "./src/base-button/index.mjs";
|
|
38
|
+
import { StrengthMeter as Zo } from "./src/strength-meter/index.mjs";
|
|
39
|
+
import { useModalContext as oe } from "./src/modal/hooks/use-modal-context.mjs";
|
|
40
|
+
import { useModal as re, useModalInner as te } from "./src/modal/hooks/use-modal.mjs";
|
|
41
|
+
import { BaseModal as pe } from "./src/modal/index.mjs";
|
|
42
|
+
import { CropperAvatar as me, CropperImage as le } from "./src/cropper/index.mjs";
|
|
43
|
+
import { CountdownButton as de, CountdownInput as xe } from "./src/count-down/index.mjs";
|
|
44
|
+
import { createPrompt as ie } from "./src/prompt/index.mjs";
|
|
45
|
+
import { Dropdown as ce } from "./src/dropdown/index.mjs";
|
|
46
|
+
import { default as Te } from "./src/pro-table/pro-table.vue.mjs";
|
|
47
|
+
import { default as Ce } from "./src/pro-table/components/table-action.vue.mjs";
|
|
48
|
+
import { default as Ie } from "./src/pro-table/components/edit-table-header-icon.vue.mjs";
|
|
49
|
+
import { default as ge } from "./src/pro-table/components/table-image.vue.mjs";
|
|
50
|
+
import { useTable as De } from "./src/pro-table/hooks/use-table.mjs";
|
|
51
|
+
import { default as Re } from "./src/ap-form/items/text/index.vue.mjs";
|
|
52
|
+
import { default as he } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
53
|
+
import { default as ke } from "./src/ap-form/items/number/index.vue.mjs";
|
|
54
|
+
import { default as Ge } from "./src/ap-form/items/date/index.vue.mjs";
|
|
55
|
+
import { default as ye } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
56
|
+
import { default as Xe } from "./src/ap-form/items/radio/index.vue.mjs";
|
|
57
|
+
import { default as Ye } from "./src/ap-form/items/select/index.vue.mjs";
|
|
58
|
+
import { default as Oe } from "./src/ap-form/items/switch/index.vue.mjs";
|
|
59
|
+
import { default as We } from "./src/ap-form/items/checkbox/index.vue.mjs";
|
|
60
|
+
import { ApForm as Ue } from "./src/ap-form/index.mjs";
|
|
61
|
+
import { default as $e } from "./src/ap-form/ap-form-item.vue.mjs";
|
|
62
|
+
import { default as qe } from "./src/ap-form/ap-form-item-group/index.vue.mjs";
|
|
63
|
+
import { default as Qe } from "./src/ap-form/ap-form-list.vue.mjs";
|
|
64
|
+
import { default as _e } from "./src/ap-form/search-form/index.vue.mjs";
|
|
65
|
+
import { default as er } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
66
|
+
import { ApField as tr } from "./src/ap-field/index.mjs";
|
|
67
|
+
import { default as pr } from "./src/ap-field/text/index.vue.mjs";
|
|
68
|
+
import { default as mr } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
69
|
+
import { default as sr } from "./src/ap-field/date/index.vue.mjs";
|
|
70
|
+
import { default as xr } from "./src/ap-field/number/index.vue.mjs";
|
|
71
|
+
import { default as ir } from "./src/ap-field/radio/index.vue.mjs";
|
|
72
|
+
import { default as cr } from "./src/ap-field/switch/index.vue.mjs";
|
|
73
|
+
import { default as Tr } from "./src/ap-field/text-area/index.vue.mjs";
|
|
74
|
+
import { default as Cr } from "./src/ap-field/date-range/index.vue.mjs";
|
|
75
|
+
import { default as Ir } from "./src/ap-field/select/index.vue.mjs";
|
|
76
|
+
import { adminToken as gr, aplusToken as Pr } from "./src/design-token/index.mjs";
|
|
77
|
+
import { ApActionItem as vr } from "./src/ap-action/index.mjs";
|
|
78
|
+
import { default as Mr } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
79
|
+
import { default as Br } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
80
|
+
import { default as wr } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
81
|
+
import { default as Nr } from "./src/ap-action/group/index.vue.mjs";
|
|
82
|
+
import { generateTableList as Lr } from "./src/ap-custom-column/utils.mjs";
|
|
83
|
+
import { useCacheColumnSetting as Kr } from "./src/ap-custom-column/useCacheColumnSetting.mjs";
|
|
84
|
+
import { default as Er } from "./src/ap-custom-column/custom-column.vue.mjs";
|
|
85
|
+
import { default as Hr } from "./src/ap-custom-column/column-select.vue.mjs";
|
|
86
|
+
import { DictCode as zr } from "./src/work-order-modal/interfaces.mjs";
|
|
87
|
+
import { createWorkOrderModal as Vr } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
88
|
+
import { default as jr } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
89
|
+
import { default as Jr } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
90
|
+
import { default as Zr } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
91
|
+
import { default as ot } from "./src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs";
|
|
92
|
+
import { NeedNameKeyDefault as rt } from "./src/ap-upload/apUploadTypes.mjs";
|
|
93
|
+
import { default as at } from "./src/ap-upload/apUpload.vue.mjs";
|
|
94
|
+
import { default as ft } from "./src/ap-download/ap-download.vue.mjs";
|
|
95
|
+
import { useTablePaging as lt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
96
|
+
import { default as dt } from "./src/ap-table/ap-table.vue.mjs";
|
|
97
|
+
import { useMessage as nt } from "./src/hooks/useMessage.mjs";
|
|
98
|
+
import { useControllableValue as ut } from "./src/hooks/useControllableValue.mjs";
|
|
69
99
|
const p = {
|
|
70
100
|
install: (r) => {
|
|
71
101
|
for (const t in e) {
|
|
@@ -75,84 +105,110 @@ const p = {
|
|
|
75
105
|
}
|
|
76
106
|
};
|
|
77
107
|
export {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
108
|
+
G as APConfigProvider,
|
|
109
|
+
Nr as ApActionGroup,
|
|
110
|
+
vr as ApActionItem,
|
|
111
|
+
wr as ApActionItemDropdown,
|
|
112
|
+
Mr as ApActionItemModal,
|
|
113
|
+
Br as ApActionItemPopconfirm,
|
|
114
|
+
Er as ApCustomColumn,
|
|
115
|
+
Hr as ApCustomSelect,
|
|
116
|
+
ft as ApDownload,
|
|
117
|
+
tr as ApField,
|
|
118
|
+
mr as ApFieldCheckbox,
|
|
119
|
+
sr as ApFieldDate,
|
|
120
|
+
Cr as ApFieldDateRange,
|
|
121
|
+
xr as ApFieldNumber,
|
|
122
|
+
ir as ApFieldRadio,
|
|
123
|
+
Ir as ApFieldSelect,
|
|
124
|
+
cr as ApFieldSwitch,
|
|
125
|
+
pr as ApFieldText,
|
|
126
|
+
Tr as ApFieldTextArea,
|
|
127
|
+
Ue as ApForm,
|
|
128
|
+
$e as ApFormItem,
|
|
129
|
+
We as ApFormItemCheckbox,
|
|
130
|
+
Ge as ApFormItemDate,
|
|
131
|
+
ye as ApFormItemDateRange,
|
|
132
|
+
qe as ApFormItemGroup,
|
|
133
|
+
ke as ApFormItemNumber,
|
|
134
|
+
Xe as ApFormItemRadio,
|
|
135
|
+
Ye as ApFormItemSelect,
|
|
136
|
+
Oe as ApFormItemSwitch,
|
|
137
|
+
Re as ApFormItemText,
|
|
138
|
+
he as ApFormItemTextArea,
|
|
139
|
+
Qe as ApFormList,
|
|
140
|
+
er as ApFormModalForm,
|
|
141
|
+
_e as ApFormSearchForm,
|
|
142
|
+
ot as ApInfoLayout,
|
|
143
|
+
dt as ApTable,
|
|
144
|
+
Jr as ApTag,
|
|
145
|
+
Zr as ApTagGroup,
|
|
146
|
+
at as ApUpload,
|
|
147
|
+
vo as ApiCascader,
|
|
148
|
+
Mo as ApiRadioGroup,
|
|
149
|
+
Bo as ApiSelect,
|
|
101
150
|
wo as ApiTransfer,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
151
|
+
No as ApiTree,
|
|
152
|
+
Eo as ApiTreeSelect,
|
|
153
|
+
Jo as BaseButton,
|
|
154
|
+
pe as BaseModal,
|
|
155
|
+
V as BasicArrow,
|
|
156
|
+
$ as BasicHelp,
|
|
157
|
+
j as BasicTitle,
|
|
158
|
+
X as CollapseContainer,
|
|
159
|
+
J as CollapseTransition,
|
|
160
|
+
k as ConfigProvider,
|
|
161
|
+
de as CountdownButton,
|
|
162
|
+
xe as CountdownInput,
|
|
163
|
+
me as CropperAvatar,
|
|
164
|
+
le as CropperImage,
|
|
116
165
|
co as Description,
|
|
117
|
-
|
|
118
|
-
|
|
166
|
+
zr as DictCode,
|
|
167
|
+
ce as Dropdown,
|
|
168
|
+
Ie as EditTableHeaderIcon,
|
|
119
169
|
Z as ExpandTransition,
|
|
120
170
|
_ as ExpandXTransition,
|
|
121
171
|
oo as FadeTransition,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
172
|
+
Po as Field,
|
|
173
|
+
l as Icon,
|
|
174
|
+
E as IconPicker,
|
|
175
|
+
Vo as ModalButton,
|
|
176
|
+
rt as NeedNameKeyDefault,
|
|
177
|
+
jo as PopConfirmButton,
|
|
178
|
+
Ko as ProForm,
|
|
179
|
+
Te as ProTable,
|
|
180
|
+
Ho as ProTableForm,
|
|
181
|
+
zo as ProTableFormInner,
|
|
182
|
+
Lo as RadioButtonGroup,
|
|
130
183
|
eo as ScaleRotateTransition,
|
|
131
184
|
ro as ScaleTransition,
|
|
132
|
-
|
|
185
|
+
K as ScrollContainer,
|
|
133
186
|
to as ScrollXReverseTransition,
|
|
134
187
|
ao as ScrollXTransition,
|
|
135
188
|
po as ScrollYReverseTransition,
|
|
136
189
|
fo as ScrollYTransition,
|
|
137
190
|
y as Scrollbar,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
191
|
+
mo as SlideXReverseTransition,
|
|
192
|
+
lo as SlideXTransition,
|
|
193
|
+
so as SlideYReverseTransition,
|
|
194
|
+
xo as SlideYTransition,
|
|
195
|
+
Zo as StrengthMeter,
|
|
196
|
+
s as SvgIcon,
|
|
197
|
+
Ce as TableAction,
|
|
198
|
+
ge as TableImg,
|
|
199
|
+
jr as WorkOrderModal,
|
|
200
|
+
gr as adminToken,
|
|
201
|
+
Pr as aplusToken,
|
|
202
|
+
S as buildLocaleContext,
|
|
149
203
|
I as buildTranslator,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
204
|
+
i as configProviderContextKey,
|
|
205
|
+
x as configProviderProps,
|
|
206
|
+
ie as createPrompt,
|
|
207
|
+
Vr as createWorkOrderModal,
|
|
153
208
|
p as default,
|
|
154
|
-
|
|
155
|
-
|
|
209
|
+
v as defaultNamespace,
|
|
210
|
+
z as en,
|
|
211
|
+
Lr as generateTableList,
|
|
156
212
|
Io as isComponentFormSchema,
|
|
157
213
|
bo as isSlotFormSchema,
|
|
158
214
|
A as keysOf,
|
|
@@ -161,18 +217,20 @@ export {
|
|
|
161
217
|
T as provideGlobalConfig,
|
|
162
218
|
u as tableDefaultConfig,
|
|
163
219
|
g as translate,
|
|
220
|
+
Kr as useCacheColumnSetting,
|
|
164
221
|
To as useComponentRegister,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
222
|
+
ut as useControllableValue,
|
|
223
|
+
io as useDescription,
|
|
224
|
+
Co as useForm,
|
|
225
|
+
M as useGetDerivedNamespace,
|
|
226
|
+
F as useGlobalConfig,
|
|
227
|
+
P as useLocale,
|
|
228
|
+
nt as useMessage,
|
|
229
|
+
re as useModal,
|
|
230
|
+
oe as useModalContext,
|
|
231
|
+
te as useModalInner,
|
|
232
|
+
h as useNamespace,
|
|
233
|
+
De as useTable,
|
|
234
|
+
lt as useTablePaging,
|
|
235
|
+
H as zhCn
|
|
178
236
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as h, computed as s, unref as i, openBlock as t, createBlock as r, withCtx as a, createElementBlock as m, Fragment as f, renderList as k, mergeProps as c, createVNode as A, createCommentVNode as v } from "vue";
|
|
2
2
|
import { Space as w } from "ant-design-vue";
|
|
3
3
|
import { MoreOutlined as y } from "@ant-design/icons-vue";
|
|
4
4
|
import "../item/index.vue.mjs";
|
|
5
5
|
import "../item-modal/index.vue2.mjs";
|
|
6
6
|
import "../item-popconfirm/index.vue2.mjs";
|
|
7
7
|
import "../item-dropdown/index.vue2.mjs";
|
|
8
|
+
import { isUndefined as $ } from "lodash-unified";
|
|
8
9
|
import p from "../item-dropdown/index.vue.mjs";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
const
|
|
10
|
+
import b from "../item-modal/index.vue.mjs";
|
|
11
|
+
import B from "../item-popconfirm/index.vue.mjs";
|
|
12
|
+
import C from "../item/index.vue2.mjs";
|
|
13
|
+
const U = /* @__PURE__ */ h({
|
|
13
14
|
name: "ApActionGroup",
|
|
14
15
|
__name: "index",
|
|
15
16
|
props: {
|
|
@@ -18,51 +19,58 @@ const L = /* @__PURE__ */ d({
|
|
|
18
19
|
placement: { default: "bottomRight" },
|
|
19
20
|
actions: { default: () => [] }
|
|
20
21
|
},
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
setup(_) {
|
|
23
|
+
const n = _, l = s(
|
|
24
|
+
() => n.actions.filter(
|
|
25
|
+
(e) => e.visible || $(e.visible)
|
|
26
|
+
)
|
|
27
|
+
), d = s(() => i(l).length > n.count), u = s(() => {
|
|
28
|
+
const e = i(l);
|
|
29
|
+
return e.length <= n.count ? {
|
|
30
|
+
showActions: e,
|
|
31
|
+
menuActions: []
|
|
32
|
+
} : {
|
|
33
|
+
showActions: e.slice(0, n.count - 1),
|
|
34
|
+
menuActions: e.slice(n.count - 1)
|
|
35
|
+
};
|
|
28
36
|
});
|
|
29
|
-
return (
|
|
37
|
+
return (e, P) => (t(), r(i(w), {
|
|
30
38
|
size: 16,
|
|
31
39
|
align: "center"
|
|
32
40
|
}, {
|
|
33
|
-
default:
|
|
34
|
-
(t(!0),
|
|
35
|
-
o.actions ? (t(), r(p,
|
|
41
|
+
default: a(() => [
|
|
42
|
+
(t(!0), m(f, null, k(u.value.showActions, (o, g) => (t(), m(f, { key: g }, [
|
|
43
|
+
o.actions ? (t(), r(p, c({
|
|
36
44
|
key: 0,
|
|
37
45
|
ref_for: !0
|
|
38
|
-
}, o), null, 16)) : o.modalProps ? (t(), r(
|
|
46
|
+
}, o), null, 16)) : o.modalProps ? (t(), r(b, c({
|
|
39
47
|
key: 1,
|
|
40
48
|
ref_for: !0
|
|
41
|
-
}, o), null, 16)) : o.popconfirmProps ? (t(), r(
|
|
49
|
+
}, o), null, 16)) : o.popconfirmProps ? (t(), r(B, c({
|
|
42
50
|
key: 2,
|
|
43
51
|
ref_for: !0
|
|
44
|
-
}, o), null, 16)) : (t(), r(
|
|
52
|
+
}, o), null, 16)) : (t(), r(C, c({
|
|
45
53
|
key: 3,
|
|
46
54
|
ref_for: !0
|
|
47
55
|
}, o), null, 16))
|
|
48
56
|
], 64))), 128)),
|
|
49
|
-
|
|
57
|
+
d.value ? (t(), r(p, {
|
|
50
58
|
key: 0,
|
|
51
|
-
actions:
|
|
59
|
+
actions: u.value.menuActions,
|
|
52
60
|
"show-icon": !1,
|
|
53
|
-
placement:
|
|
54
|
-
trigger:
|
|
61
|
+
placement: e.placement,
|
|
62
|
+
trigger: e.trigger
|
|
55
63
|
}, {
|
|
56
|
-
default:
|
|
57
|
-
|
|
64
|
+
default: a(() => [
|
|
65
|
+
A(i(y), { rotate: 90 })
|
|
58
66
|
]),
|
|
59
67
|
_: 1
|
|
60
|
-
}, 8, ["actions", "placement", "trigger"])) :
|
|
68
|
+
}, 8, ["actions", "placement", "trigger"])) : v("", !0)
|
|
61
69
|
]),
|
|
62
70
|
_: 1
|
|
63
71
|
}));
|
|
64
72
|
}
|
|
65
73
|
});
|
|
66
74
|
export {
|
|
67
|
-
|
|
75
|
+
U as default
|
|
68
76
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { DropdownProps, ModalFuncProps, PopconfirmProps } from 'ant-design-vue';
|
|
2
|
+
import { VNode } from 'vue';
|
|
2
3
|
|
|
3
4
|
export type ActionColor = 'primary' | 'success' | 'error' | 'warn';
|
|
4
5
|
export type ApActionItemProps = {
|
|
5
6
|
/**
|
|
6
7
|
* 文本
|
|
7
8
|
*/
|
|
8
|
-
text?: string;
|
|
9
|
+
text?: string | VNode;
|
|
9
10
|
/**
|
|
10
11
|
* 预定义文本颜色
|
|
11
12
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as y, ref as g, unref as r, computed as s, openBlock as n, createElementBlock as c, normalizeClass as C, createBlock as d, createCommentVNode as u, renderSlot as b, isVNode as v, resolveDynamicComponent as B, toDisplayString as A } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import x from "ant-design-vue/es/button/LoadingIcon";
|
|
4
4
|
import "../style/item.css";
|
|
5
|
-
import { useNamespace as
|
|
6
|
-
const
|
|
5
|
+
import { useNamespace as h } from "../../config-provider/hooks/use-namespace.mjs";
|
|
6
|
+
const I = { key: 1 }, V = /* @__PURE__ */ y({
|
|
7
7
|
name: "ApActionItem",
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: {
|
|
@@ -15,35 +15,35 @@ const S = /* @__PURE__ */ p({
|
|
|
15
15
|
onClick: {},
|
|
16
16
|
loading: { type: Boolean, default: !1 }
|
|
17
17
|
},
|
|
18
|
-
setup(
|
|
19
|
-
const e =
|
|
20
|
-
function
|
|
21
|
-
var
|
|
22
|
-
|
|
18
|
+
setup(f) {
|
|
19
|
+
const e = f, { b: m, m: t } = h("action-item"), l = g(!1);
|
|
20
|
+
function p(o) {
|
|
21
|
+
var i;
|
|
22
|
+
r(a) || e.disabled || ((i = e.onClick) == null || i.call(e, o), e.onAction && (l.value = !0, e.onAction(o).finally(() => l.value = !1)));
|
|
23
23
|
}
|
|
24
|
-
const
|
|
25
|
-
|
|
24
|
+
const a = s(() => e.loading || r(l)), k = s(() => [
|
|
25
|
+
m(),
|
|
26
26
|
t(e.color),
|
|
27
27
|
e.disabled ? t("disabled") : null,
|
|
28
|
-
|
|
28
|
+
a.value ? t("loading") : null
|
|
29
29
|
].filter(Boolean));
|
|
30
|
-
return (o,
|
|
30
|
+
return (o, i) => o.visible ? (n(), c("span", {
|
|
31
31
|
key: 0,
|
|
32
|
-
onClick:
|
|
33
|
-
class: C(
|
|
32
|
+
onClick: p,
|
|
33
|
+
class: C(k.value)
|
|
34
34
|
}, [
|
|
35
|
-
|
|
35
|
+
a.value ? (n(), d(r(x), {
|
|
36
36
|
key: 0,
|
|
37
37
|
prefixCls: "btn",
|
|
38
38
|
existIcon: !1,
|
|
39
39
|
loading: ""
|
|
40
|
-
})) :
|
|
40
|
+
})) : u("", !0),
|
|
41
41
|
b(o.$slots, "default", {}, () => [
|
|
42
|
-
v(B(o.text || ""), 1)
|
|
42
|
+
v(o.text) ? (n(), d(B(o.text), { key: 0 })) : (n(), c("span", I, A(o.text || ""), 1))
|
|
43
43
|
])
|
|
44
|
-
], 2)) :
|
|
44
|
+
], 2)) : u("", !0);
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
export {
|
|
48
|
-
|
|
48
|
+
V as default
|
|
49
49
|
};
|