@aplus-frontend/ui 0.0.1-beta.2 → 0.0.1-beta.21
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 +206 -118
- package/es/src/ap-action/constant.d.ts +0 -0
- package/es/src/ap-action/group/index.vue.d.ts +38 -0
- package/es/src/ap-action/group/index.vue.mjs +76 -0
- package/es/src/ap-action/group/index.vue2.mjs +4 -0
- package/es/src/ap-action/index.d.ts +14 -0
- package/es/src/ap-action/index.mjs +20 -0
- package/es/src/ap-action/interface.d.ts +81 -0
- package/es/src/ap-action/interface.mjs +1 -0
- package/es/src/ap-action/item/index.vue.d.ts +44 -0
- package/es/src/ap-action/item/index.vue.mjs +4 -0
- package/es/src/ap-action/item/index.vue2.mjs +49 -0
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
- package/es/src/ap-action/item-dropdown/index.vue.mjs +95 -0
- package/es/src/ap-action/item-dropdown/index.vue2.mjs +4 -0
- package/es/src/ap-action/item-modal/index.vue.d.ts +41 -0
- package/es/src/ap-action/item-modal/index.vue.mjs +35 -0
- package/es/src/ap-action/item-modal/index.vue2.mjs +4 -0
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +39 -0
- package/es/src/ap-action/item-popconfirm/index.vue2.mjs +4 -0
- package/es/src/ap-action/style/item-dropdown.css +11 -0
- package/es/src/ap-action/style/item.css +28 -0
- 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 +83 -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-field/checkbox/helper.d.ts +6 -0
- package/es/src/ap-field/checkbox/helper.mjs +5 -0
- package/es/src/ap-field/checkbox/index.vue.d.ts +39 -0
- package/es/src/ap-field/checkbox/index.vue.mjs +63 -0
- package/es/src/ap-field/checkbox/index.vue2.mjs +4 -0
- package/es/src/ap-field/date/constant.d.ts +11 -0
- package/es/src/ap-field/date/constant.mjs +50 -0
- package/es/src/ap-field/date/helper.d.ts +5 -0
- package/es/src/ap-field/date/helper.mjs +10 -0
- package/es/src/ap-field/date/index.vue.d.ts +57 -0
- package/es/src/ap-field/date/index.vue.mjs +74 -0
- package/es/src/ap-field/date/index.vue2.mjs +4 -0
- package/es/src/ap-field/date/interface.d.ts +2 -0
- package/es/src/ap-field/date-range/index.vue.d.ts +59 -0
- package/es/src/ap-field/date-range/index.vue.mjs +93 -0
- package/es/src/ap-field/date-range/index.vue2.mjs +4 -0
- package/es/src/ap-field/index.d.ts +24 -0
- package/es/src/ap-field/index.mjs +42 -0
- package/es/src/ap-field/interface.d.ts +92 -0
- package/es/src/ap-field/interface.mjs +1 -0
- package/es/src/ap-field/number/helper.d.ts +1 -0
- package/es/src/ap-field/number/helper.mjs +14 -0
- package/es/src/ap-field/number/index.vue.d.ts +72 -0
- package/es/src/ap-field/number/index.vue.mjs +106 -0
- package/es/src/ap-field/number/index.vue2.mjs +4 -0
- package/es/src/ap-field/number/style.css +6 -0
- package/es/src/ap-field/radio/helper.d.ts +4 -0
- package/es/src/ap-field/radio/helper.mjs +5 -0
- package/es/src/ap-field/radio/index.vue.d.ts +40 -0
- package/es/src/ap-field/radio/index.vue.mjs +74 -0
- package/es/src/ap-field/radio/index.vue2.mjs +4 -0
- package/es/src/ap-field/select/index.vue.d.ts +235 -0
- package/es/src/ap-field/select/index.vue.mjs +114 -0
- package/es/src/ap-field/select/index.vue2.mjs +4 -0
- package/es/src/ap-field/switch/index.vue.d.ts +54 -0
- package/es/src/ap-field/switch/index.vue.mjs +122 -0
- package/es/src/ap-field/switch/index.vue2.mjs +4 -0
- package/es/src/ap-field/text/index.vue.d.ts +66 -0
- package/es/src/ap-field/text/index.vue.mjs +133 -0
- package/es/src/ap-field/text/index.vue2.mjs +4 -0
- package/es/src/ap-field/text-area/index.vue.d.ts +49 -0
- package/es/src/ap-field/text-area/index.vue.mjs +86 -0
- package/es/src/ap-field/text-area/index.vue2.mjs +4 -0
- package/es/src/ap-field/text-area/style.css +5 -0
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +18 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +33 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +62 -0
- package/es/src/ap-form/ap-form-item-group/index.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form-item.vue.d.ts +68 -0
- package/es/src/ap-form/ap-form-item.vue.mjs +151 -0
- package/es/src/ap-form/ap-form-item.vue2.mjs +4 -0
- 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/constant.d.ts +3 -0
- package/es/src/ap-form/constant.mjs +17 -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 +16 -0
- package/es/src/ap-form/index.mjs +24 -0
- package/es/src/ap-form/interface.d.ts +49 -0
- package/es/src/ap-form/interface.mjs +1 -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 +10 -0
- package/es/src/ap-form/items/index.mjs +8 -0
- package/es/src/ap-form/items/interface.d.ts +41 -0
- 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 +66 -0
- package/es/src/ap-form/items/text/index.vue.mjs +95 -0
- package/es/src/ap-form/items/text/index.vue2.mjs +4 -0
- 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/search-form/index.vue.d.ts +76 -0
- package/es/src/ap-form/search-form/index.vue.mjs +201 -0
- package/es/src/ap-form/search-form/index.vue2.mjs +4 -0
- package/es/src/ap-form/style/ap-form-item-group.css +9 -0
- package/es/src/ap-form/style/ap-form-item.css +49 -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 +41 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs +61 -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 +64 -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/base-button/button.vue.mjs +2 -58
- package/es/src/base-button/button.vue2.mjs +59 -2
- package/es/src/base-button/index.mjs +8 -8
- package/es/src/base-button/interface.mjs +1 -0
- package/es/src/base-button/modal-button.vue.mjs +12 -11
- package/es/src/base-button/pop-confirm-button.vue.mjs +15 -14
- package/es/src/basic/arrow.vue.mjs +2 -38
- package/es/src/basic/arrow.vue2.mjs +38 -2
- package/es/src/basic/help.vue.mjs +2 -96
- package/es/src/basic/help.vue2.mjs +96 -2
- package/es/src/basic/index.mjs +11 -7
- package/es/src/basic/interface.mjs +1 -0
- package/es/src/basic/title.vue.mjs +2 -32
- package/es/src/basic/title.vue2.mjs +33 -2
- package/es/src/config-provider/config-provider-props.d.ts +11 -1
- package/es/src/config-provider/config-provider-props.mjs +12 -4
- package/es/src/config-provider/config-provider.d.ts +25 -3
- package/es/src/config-provider/config-provider.mjs +21 -16
- package/es/src/config-provider/constants.d.ts +3 -0
- package/es/src/config-provider/hooks/use-global-config.d.ts +11 -1
- package/es/src/config-provider/hooks/use-locale.mjs +1 -0
- package/es/src/config-provider/index.mjs +26 -12
- package/es/src/container/collapse/header.vue.mjs +2 -49
- package/es/src/container/collapse/header.vue2.mjs +49 -2
- package/es/src/container/collapse/index.vue.d.ts +1 -1
- package/es/src/container/collapse/index.vue.mjs +2 -85
- package/es/src/container/collapse/index.vue2.mjs +86 -2
- package/es/src/container/collapse/style/header.css +1 -1
- package/es/src/container/collapse/style/index.css +1 -1
- package/es/src/container/index.mjs +8 -5
- package/es/src/container/interface.mjs +1 -0
- package/es/src/container/scroll-container.vue.mjs +2 -60
- package/es/src/container/scroll-container.vue2.mjs +60 -2
- package/es/src/count-down/button.vue.mjs +2 -44
- package/es/src/count-down/button.vue2.mjs +44 -2
- package/es/src/count-down/index.mjs +8 -5
- package/es/src/count-down/input.vue.mjs +2 -44
- package/es/src/count-down/input.vue2.mjs +45 -2
- package/es/src/count-down/interface.mjs +1 -0
- package/es/src/cropper/cropper-avatar.vue.d.ts +1 -1
- package/es/src/cropper/cropper-avatar.vue.mjs +2 -94
- package/es/src/cropper/cropper-avatar.vue2.mjs +96 -2
- package/es/src/cropper/cropper-image.vue.mjs +2 -129
- package/es/src/cropper/cropper-image.vue2.mjs +129 -2
- package/es/src/cropper/cropper-modal.vue.mjs +2 -270
- package/es/src/cropper/cropper-modal.vue2.mjs +271 -2
- package/es/src/cropper/index.mjs +8 -5
- package/es/src/cropper/interface.mjs +1 -0
- package/es/src/cropper/style/avatar.css +1 -1
- package/es/src/cropper/style/modal.css +2 -2
- package/es/src/description/description.vue.d.ts +4 -4
- package/es/src/description/description.vue.mjs +2 -169
- package/es/src/description/description.vue2.mjs +169 -2
- package/es/src/description/index.mjs +8 -5
- package/es/src/description/interface.mjs +1 -0
- package/es/src/design-token/index.d.ts +4 -0
- package/es/src/design-token/index.mjs +65 -0
- package/es/src/dropdown/dropdown.vue.d.ts +1 -1
- package/es/src/dropdown/dropdown.vue.mjs +2 -92
- package/es/src/dropdown/dropdown.vue2.mjs +92 -2
- package/es/src/dropdown/index.mjs +5 -3
- package/es/src/dropdown/interface.mjs +1 -0
- package/es/src/hooks/index.d.ts +1 -0
- package/es/src/hooks/index.mjs +6 -0
- package/es/src/hooks/useControllableValue.d.ts +13 -0
- package/es/src/hooks/useControllableValue.mjs +21 -0
- package/es/src/hooks/useMessage.mjs +1 -1
- package/es/src/icon/icon.vue.mjs +2 -66
- package/es/src/icon/icon.vue2.mjs +67 -2
- package/es/src/icon/index.mjs +8 -5
- package/es/src/icon/interface.mjs +1 -0
- package/es/src/icon/svg-icon.vue.mjs +2 -32
- package/es/src/icon/svg-icon.vue2.mjs +32 -2
- package/es/src/icon-picker/icon-picker.vue.d.ts +1 -1
- package/es/src/icon-picker/icon-picker.vue.mjs +2 -166
- package/es/src/icon-picker/icon-picker.vue2.mjs +168 -2
- package/es/src/icon-picker/index.mjs +7 -5
- package/es/src/icon-picker/interface.mjs +1 -0
- package/es/src/index.d.ts +9 -0
- package/es/src/index.mjs +206 -114
- package/es/src/locale/index.mjs +7 -0
- package/es/src/locale/interface.mjs +1 -0
- package/es/src/locale/lang/en.mjs +8 -1
- package/es/src/locale/lang/zh-cn.mjs +8 -1
- package/es/src/modal/basic.vue.d.ts +3 -2
- package/es/src/modal/basic.vue.mjs +2 -191
- package/es/src/modal/basic.vue2.mjs +199 -2
- package/es/src/modal/components/modal-close.vue.mjs +2 -72
- package/es/src/modal/components/modal-close.vue2.mjs +72 -2
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/components/modal-footer.vue.mjs +2 -43
- package/es/src/modal/components/modal-footer.vue2.mjs +43 -2
- package/es/src/modal/components/modal-header.vue.mjs +1 -18
- package/es/src/modal/components/modal-header.vue2.mjs +18 -1
- package/es/src/modal/components/modal-wrapper.vue.d.ts +1 -1
- package/es/src/modal/components/modal-wrapper.vue.mjs +2 -99
- package/es/src/modal/components/modal-wrapper.vue2.mjs +102 -2
- package/es/src/modal/components/modal.d.ts +1 -1
- package/es/src/modal/components/modal.mjs +6 -6
- package/es/src/modal/hooks/use-modal-drag.mjs +1 -1
- package/es/src/modal/hooks/use-modal.mjs +8 -8
- package/es/src/modal/index.mjs +10 -8
- package/es/src/modal/interface.mjs +1 -0
- package/es/src/modal/props.mjs +1 -1
- package/es/src/modal/style/index.css +30 -31
- package/es/src/pro-form/component-map.mjs +56 -41
- package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -1
- package/es/src/pro-form/components/form-action.vue.mjs +2 -105
- package/es/src/pro-form/components/form-action.vue2.mjs +105 -2
- package/es/src/pro-form/components/form-item.vue.mjs +2 -352
- package/es/src/pro-form/components/form-item.vue2.mjs +352 -2
- package/es/src/pro-form/components/interface.mjs +1 -0
- package/es/src/pro-form/hooks/use-break-point.mjs +21 -20
- package/es/src/pro-form/hooks/use-component-register.d.ts +4 -0
- package/es/src/pro-form/hooks/use-component-register.mjs +13 -0
- package/es/src/pro-form/hooks/use-form-events.mjs +22 -22
- package/es/src/pro-form/hooks/use-form-values.mjs +12 -12
- package/es/src/pro-form/hooks/use-form.mjs +4 -4
- package/es/src/pro-form/hooks/use-label-width.d.ts +9 -9
- package/es/src/pro-form/index.d.ts +1 -0
- package/es/src/pro-form/index.mjs +34 -34
- package/es/src/pro-form/pro-form.vue.d.ts +2 -2
- package/es/src/pro-form/pro-form.vue.mjs +59 -57
- package/es/src/pro-form/types/form-item.mjs +1 -0
- package/es/src/pro-form/types/form.d.ts +8 -8
- package/es/src/pro-table/component-map.mjs +29 -37
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.mjs +2 -378
- package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +378 -2
- package/es/src/pro-table/components/editable/index.mjs +7 -6
- package/es/src/pro-table/components/header-cell.vue.mjs +2 -43
- package/es/src/pro-table/components/header-cell.vue2.mjs +44 -2
- package/es/src/pro-table/components/settings/column-setting.vue.mjs +2 -307
- package/es/src/pro-table/components/settings/column-setting.vue2.mjs +308 -2
- package/es/src/pro-table/components/settings/full-screen-setting.vue.mjs +2 -30
- package/es/src/pro-table/components/settings/full-screen-setting.vue2.mjs +30 -2
- package/es/src/pro-table/components/settings/index.vue.mjs +2 -59
- package/es/src/pro-table/components/settings/index.vue2.mjs +63 -2
- package/es/src/pro-table/components/settings/redo-setting.vue.mjs +2 -26
- package/es/src/pro-table/components/settings/redo-setting.vue2.mjs +26 -2
- package/es/src/pro-table/components/settings/size-setting.vue.mjs +2 -71
- package/es/src/pro-table/components/settings/size-setting.vue2.mjs +71 -2
- package/es/src/pro-table/components/table-action.vue.mjs +2 -2
- package/es/src/pro-table/components/table-footer.vue.mjs +2 -61
- package/es/src/pro-table/components/table-footer.vue2.mjs +61 -2
- package/es/src/pro-table/components/table-header.vue.mjs +2 -86
- package/es/src/pro-table/components/table-header.vue2.mjs +89 -2
- package/es/src/pro-table/components/table-selection-bar.vue.mjs +2 -40
- package/es/src/pro-table/components/table-selection-bar.vue2.mjs +40 -2
- package/es/src/pro-table/components/table-title.vue.mjs +2 -41
- package/es/src/pro-table/components/table-title.vue2.mjs +41 -2
- package/es/src/pro-table/const.d.ts +3 -0
- package/es/src/pro-table/const.mjs +10 -4
- package/es/src/pro-table/hooks/use-columns.mjs +27 -27
- package/es/src/pro-table/hooks/use-data-source.mjs +67 -66
- package/es/src/pro-table/hooks/use-pagination.mjs +4 -4
- package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -1
- package/es/src/pro-table/hooks/use-table-footer.mjs +8 -7
- package/es/src/pro-table/hooks/use-table-header.mjs +12 -11
- package/es/src/pro-table/index.mjs +12 -0
- package/es/src/pro-table/interface.d.ts +5 -1
- package/es/src/pro-table/interface.mjs +1 -0
- package/es/src/pro-table/pro-table.vue.d.ts +7 -1
- package/es/src/pro-table/pro-table.vue.mjs +214 -205
- package/es/src/pro-table/style/pro-table.css +10 -5
- package/es/src/pro-table/types/pagination.mjs +1 -0
- package/es/src/pro-table/types/table-action.mjs +1 -0
- package/es/src/pro-table/types/table.mjs +1 -0
- package/es/src/prompt/dialog.vue.mjs +2 -61
- package/es/src/prompt/dialog.vue2.mjs +58 -2
- package/es/src/prompt/index.mjs +9 -8
- package/es/src/prompt/utils.d.ts +3 -3
- package/es/src/scroll-bar/bar-item.mjs +4 -4
- package/es/src/scroll-bar/index.mjs +5 -3
- package/es/src/scroll-bar/interface.mjs +1 -0
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +0 -3
- package/es/src/scroll-bar/scroll-bar.vue.mjs +2 -84
- package/es/src/scroll-bar/scroll-bar.vue2.mjs +84 -2
- package/es/src/strength-meter/index.mjs +5 -3
- package/es/src/strength-meter/interface.mjs +1 -0
- package/es/src/strength-meter/strength-meter.vue.mjs +2 -61
- package/es/src/strength-meter/strength-meter.vue2.mjs +61 -2
- package/es/src/theme/antd-global-overwrite/admin/alert.css +21 -0
- package/es/src/theme/antd-global-overwrite/admin/button.css +13 -0
- package/es/src/theme/antd-global-overwrite/admin/form.css +40 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +385 -0
- package/es/src/theme/antd-global-overwrite/admin/message.css +17 -0
- package/es/src/theme/antd-global-overwrite/admin/modal.css +107 -0
- package/es/src/theme/antd-global-overwrite/admin/pagination.css +68 -0
- package/es/src/theme/antd-global-overwrite/admin/steps.css +92 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +27 -0
- package/es/src/theme/antd-global-overwrite/aplus/alert.css +21 -0
- package/es/src/theme/antd-global-overwrite/aplus/button.css +13 -0
- package/es/src/theme/antd-global-overwrite/aplus/form.css +40 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +371 -0
- package/es/src/theme/antd-global-overwrite/aplus/message.css +17 -0
- package/es/src/theme/antd-global-overwrite/aplus/modal.css +101 -0
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +81 -0
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +86 -0
- package/es/src/theme/antd-global-overwrite/aplus/table.css +12 -0
- package/es/src/theme/ap-action/item-dropdown.css +11 -0
- package/es/src/theme/ap-action/item.css +28 -0
- package/es/src/theme/ap-field/number.css +6 -0
- package/es/src/theme/ap-field/text-area.css +5 -0
- package/es/src/theme/ap-form/ap-form-item-group.css +9 -0
- package/es/src/theme/ap-form/ap-form-item.css +49 -0
- package/es/src/theme/ap-form/search-form.css +3 -0
- package/es/src/theme/ap-layout/ap-info-layout.css +32 -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/collapse-container/header.css +1 -1
- package/es/src/theme/collapse-container/index.css +1 -1
- package/es/src/theme/cropper/avatar.css +1 -1
- package/es/src/theme/cropper/modal.css +2 -2
- 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 +30 -31
- package/es/src/theme/pro-table/pro-table.css +10 -5
- package/es/src/theme/work-order-modal/index.css +3 -0
- package/es/src/transition/index.mjs +21 -24
- package/es/src/type.d.ts +4 -1
- package/es/src/utils/config-provider-preset.d.ts +79 -0
- package/es/src/utils/config-provider-preset.mjs +26 -0
- package/es/src/utils/index.d.ts +8 -0
- package/es/src/utils/index.mjs +21 -8
- package/es/src/utils/tree.mjs +103 -13
- package/es/src/utils/uuid.mjs +15 -9
- 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 +168 -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/constant.d.ts +0 -0
- package/lib/src/ap-action/group/index.vue.d.ts +38 -0
- package/lib/src/ap-action/group/index.vue.js +1 -0
- package/lib/src/ap-action/group/index.vue2.js +1 -0
- package/lib/src/ap-action/index.d.ts +14 -0
- package/lib/src/ap-action/index.js +1 -0
- package/lib/src/ap-action/interface.d.ts +81 -0
- package/lib/src/ap-action/interface.js +1 -0
- package/lib/src/ap-action/item/index.vue.d.ts +44 -0
- package/lib/src/ap-action/item/index.vue.js +1 -0
- package/lib/src/ap-action/item/index.vue2.js +1 -0
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -0
- package/lib/src/ap-action/item-dropdown/index.vue2.js +1 -0
- package/lib/src/ap-action/item-modal/index.vue.d.ts +41 -0
- package/lib/src/ap-action/item-modal/index.vue.js +1 -0
- package/lib/src/ap-action/item-modal/index.vue2.js +1 -0
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -0
- package/lib/src/ap-action/item-popconfirm/index.vue2.js +1 -0
- package/lib/src/ap-action/style/item-dropdown.css +11 -0
- package/lib/src/ap-action/style/item.css +28 -0
- 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-field/checkbox/helper.d.ts +6 -0
- package/lib/src/ap-field/checkbox/helper.js +1 -0
- package/lib/src/ap-field/checkbox/index.vue.d.ts +39 -0
- package/lib/src/ap-field/checkbox/index.vue.js +1 -0
- package/lib/src/ap-field/checkbox/index.vue2.js +1 -0
- package/lib/src/ap-field/date/constant.d.ts +11 -0
- package/lib/src/ap-field/date/constant.js +1 -0
- package/lib/src/ap-field/date/helper.d.ts +5 -0
- package/lib/src/ap-field/date/helper.js +1 -0
- package/lib/src/ap-field/date/index.vue.d.ts +57 -0
- package/lib/src/ap-field/date/index.vue.js +1 -0
- package/lib/src/ap-field/date/index.vue2.js +1 -0
- package/lib/src/ap-field/date/interface.d.ts +2 -0
- package/lib/src/ap-field/date-range/index.vue.d.ts +59 -0
- package/lib/src/ap-field/date-range/index.vue.js +1 -0
- package/lib/src/ap-field/date-range/index.vue2.js +1 -0
- package/lib/src/ap-field/index.d.ts +24 -0
- package/lib/src/ap-field/index.js +1 -0
- package/lib/src/ap-field/interface.d.ts +92 -0
- package/lib/src/ap-field/interface.js +1 -0
- package/lib/src/ap-field/number/helper.d.ts +1 -0
- package/lib/src/ap-field/number/helper.js +1 -0
- package/lib/src/ap-field/number/index.vue.d.ts +72 -0
- package/lib/src/ap-field/number/index.vue.js +1 -0
- package/lib/src/ap-field/number/index.vue2.js +1 -0
- package/lib/src/ap-field/number/style.css +6 -0
- package/lib/src/ap-field/radio/helper.d.ts +4 -0
- package/lib/src/ap-field/radio/helper.js +1 -0
- package/lib/src/ap-field/radio/index.vue.d.ts +40 -0
- package/lib/src/ap-field/radio/index.vue.js +1 -0
- package/lib/src/ap-field/radio/index.vue2.js +1 -0
- package/lib/src/ap-field/select/index.vue.d.ts +235 -0
- package/lib/src/ap-field/select/index.vue.js +1 -0
- package/lib/src/ap-field/select/index.vue2.js +1 -0
- package/lib/src/ap-field/switch/index.vue.d.ts +54 -0
- package/lib/src/ap-field/switch/index.vue.js +1 -0
- package/lib/src/ap-field/switch/index.vue2.js +1 -0
- package/lib/src/ap-field/text/index.vue.d.ts +66 -0
- package/lib/src/ap-field/text/index.vue.js +1 -0
- package/lib/src/ap-field/text/index.vue2.js +1 -0
- package/lib/src/ap-field/text-area/index.vue.d.ts +49 -0
- package/lib/src/ap-field/text-area/index.vue.js +1 -0
- package/lib/src/ap-field/text-area/index.vue2.js +1 -0
- package/lib/src/ap-field/text-area/style.css +5 -0
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +18 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +45 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item-group/index.vue2.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue.d.ts +68 -0
- package/lib/src/ap-form/ap-form-item.vue.js +1 -0
- package/lib/src/ap-form/ap-form-item.vue2.js +1 -0
- 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/constant.d.ts +3 -0
- package/lib/src/ap-form/constant.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 +16 -0
- package/lib/src/ap-form/index.js +1 -0
- package/lib/src/ap-form/interface.d.ts +49 -0
- package/lib/src/ap-form/interface.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 +10 -0
- package/lib/src/ap-form/items/index.js +1 -0
- package/lib/src/ap-form/items/interface.d.ts +41 -0
- 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 +66 -0
- package/lib/src/ap-form/items/text/index.vue.js +1 -0
- package/lib/src/ap-form/items/text/index.vue2.js +1 -0
- 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/search-form/index.vue.d.ts +76 -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-group.css +9 -0
- package/lib/src/ap-form/style/ap-form-item.css +49 -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 +41 -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 +64 -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/base-button/button.vue.js +1 -1
- package/lib/src/base-button/button.vue2.js +1 -1
- package/lib/src/base-button/index.js +1 -1
- package/lib/src/base-button/interface.js +1 -0
- package/lib/src/base-button/modal-button.vue.js +1 -1
- package/lib/src/base-button/pop-confirm-button.vue.js +1 -1
- package/lib/src/basic/arrow.vue.js +1 -1
- package/lib/src/basic/arrow.vue2.js +1 -1
- package/lib/src/basic/help.vue.js +1 -1
- package/lib/src/basic/help.vue2.js +1 -1
- package/lib/src/basic/index.js +1 -1
- package/lib/src/basic/interface.js +1 -0
- package/lib/src/basic/title.vue.js +1 -1
- package/lib/src/basic/title.vue2.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +11 -1
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +25 -3
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +3 -0
- package/lib/src/config-provider/hooks/use-global-config.d.ts +11 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.js +1 -1
- package/lib/src/container/collapse/header.vue.js +1 -1
- package/lib/src/container/collapse/header.vue2.js +1 -1
- package/lib/src/container/collapse/index.vue.d.ts +1 -1
- package/lib/src/container/collapse/index.vue.js +1 -1
- package/lib/src/container/collapse/index.vue2.js +1 -1
- package/lib/src/container/collapse/style/header.css +1 -1
- package/lib/src/container/collapse/style/index.css +1 -1
- package/lib/src/container/index.js +1 -1
- package/lib/src/container/interface.js +1 -0
- package/lib/src/container/scroll-container.vue.js +1 -1
- package/lib/src/container/scroll-container.vue2.js +1 -1
- package/lib/src/count-down/button.vue.js +1 -1
- package/lib/src/count-down/button.vue2.js +1 -1
- package/lib/src/count-down/index.js +1 -1
- package/lib/src/count-down/input.vue.js +1 -1
- package/lib/src/count-down/input.vue2.js +1 -1
- package/lib/src/count-down/interface.js +1 -0
- package/lib/src/cropper/cropper-avatar.vue.d.ts +1 -1
- package/lib/src/cropper/cropper-avatar.vue.js +1 -1
- package/lib/src/cropper/cropper-avatar.vue2.js +1 -1
- package/lib/src/cropper/cropper-image.vue.js +1 -1
- package/lib/src/cropper/cropper-image.vue2.js +1 -1
- package/lib/src/cropper/cropper-modal.vue.js +1 -1
- package/lib/src/cropper/cropper-modal.vue2.js +1 -1
- package/lib/src/cropper/index.js +1 -1
- package/lib/src/cropper/interface.js +1 -0
- package/lib/src/cropper/style/avatar.css +1 -1
- package/lib/src/cropper/style/modal.css +2 -2
- package/lib/src/description/description.vue.d.ts +4 -4
- package/lib/src/description/description.vue.js +1 -1
- package/lib/src/description/description.vue2.js +1 -1
- package/lib/src/description/index.js +1 -1
- package/lib/src/description/interface.js +1 -0
- package/lib/src/design-token/index.d.ts +4 -0
- package/lib/src/design-token/index.js +1 -0
- package/lib/src/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/src/dropdown/dropdown.vue.js +1 -1
- package/lib/src/dropdown/dropdown.vue2.js +1 -1
- package/lib/src/dropdown/index.js +1 -1
- package/lib/src/dropdown/interface.js +1 -0
- package/lib/src/hooks/index.d.ts +1 -0
- package/lib/src/hooks/index.js +1 -0
- package/lib/src/hooks/useControllableValue.d.ts +13 -0
- package/lib/src/hooks/useControllableValue.js +1 -0
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/icon/icon.vue.js +1 -1
- package/lib/src/icon/icon.vue2.js +1 -1
- package/lib/src/icon/index.js +1 -1
- package/lib/src/icon/interface.js +1 -0
- package/lib/src/icon/svg-icon.vue.js +1 -1
- package/lib/src/icon/svg-icon.vue2.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue.d.ts +1 -1
- package/lib/src/icon-picker/icon-picker.vue.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue2.js +1 -1
- package/lib/src/icon-picker/index.js +1 -1
- package/lib/src/icon-picker/interface.js +1 -0
- package/lib/src/index.d.ts +9 -0
- package/lib/src/index.js +1 -1
- package/lib/src/locale/index.js +1 -0
- package/lib/src/locale/interface.js +1 -0
- 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 +3 -2
- package/lib/src/modal/basic.vue.js +1 -1
- package/lib/src/modal/basic.vue2.js +1 -1
- package/lib/src/modal/components/modal-close.vue.js +1 -1
- package/lib/src/modal/components/modal-close.vue2.js +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/components/modal-footer.vue.js +1 -1
- package/lib/src/modal/components/modal-footer.vue2.js +1 -1
- package/lib/src/modal/components/modal-header.vue.js +1 -1
- package/lib/src/modal/components/modal-header.vue2.js +1 -1
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +1 -1
- package/lib/src/modal/components/modal-wrapper.vue.js +1 -1
- package/lib/src/modal/components/modal-wrapper.vue2.js +1 -1
- package/lib/src/modal/components/modal.d.ts +1 -1
- package/lib/src/modal/index.js +1 -1
- package/lib/src/modal/interface.js +1 -0
- package/lib/src/modal/props.js +1 -1
- package/lib/src/modal/style/index.css +30 -31
- package/lib/src/pro-form/component-map.js +1 -1
- package/lib/src/pro-form/components/api-cascader.vue.js +1 -1
- package/lib/src/pro-form/components/api-select.vue.js +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.js +1 -1
- package/lib/src/pro-form/components/form-action.vue.js +1 -1
- package/lib/src/pro-form/components/form-action.vue2.js +1 -1
- package/lib/src/pro-form/components/form-item.vue.js +1 -1
- package/lib/src/pro-form/components/form-item.vue2.js +1 -1
- package/lib/src/pro-form/components/interface.js +1 -0
- package/lib/src/pro-form/hooks/use-break-point.js +1 -1
- package/lib/src/pro-form/hooks/use-component-register.d.ts +4 -0
- package/lib/src/pro-form/hooks/use-component-register.js +1 -0
- package/lib/src/pro-form/hooks/use-form-events.js +1 -1
- package/lib/src/pro-form/hooks/use-form-values.js +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +9 -9
- package/lib/src/pro-form/index.d.ts +1 -0
- package/lib/src/pro-form/index.js +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +2 -2
- package/lib/src/pro-form/pro-form.vue.js +1 -1
- package/lib/src/pro-form/types/form-item.js +1 -0
- package/lib/src/pro-form/types/form.d.ts +8 -8
- package/lib/src/pro-table/component-map.js +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.js +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/editable/index.js +1 -1
- package/lib/src/pro-table/components/header-cell.vue.js +1 -1
- package/lib/src/pro-table/components/header-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/column-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/column-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/full-screen-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/index.vue.js +1 -1
- package/lib/src/pro-table/components/settings/index.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/redo-setting.vue.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.vue.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/components/table-footer.vue.js +1 -1
- package/lib/src/pro-table/components/table-footer.vue2.js +1 -1
- package/lib/src/pro-table/components/table-header.vue.js +1 -1
- package/lib/src/pro-table/components/table-header.vue2.js +1 -1
- package/lib/src/pro-table/components/table-selection-bar.vue.js +1 -1
- package/lib/src/pro-table/components/table-selection-bar.vue2.js +1 -1
- package/lib/src/pro-table/components/table-title.vue.js +1 -1
- package/lib/src/pro-table/components/table-title.vue2.js +1 -1
- package/lib/src/pro-table/const.d.ts +3 -0
- package/lib/src/pro-table/const.js +1 -1
- package/lib/src/pro-table/hooks/use-columns.js +1 -1
- package/lib/src/pro-table/hooks/use-data-source.js +1 -1
- package/lib/src/pro-table/hooks/use-table-footer.js +1 -1
- package/lib/src/pro-table/hooks/use-table-header.js +1 -1
- package/lib/src/pro-table/index.js +1 -0
- package/lib/src/pro-table/interface.d.ts +5 -1
- package/lib/src/pro-table/interface.js +1 -0
- package/lib/src/pro-table/pro-table.vue.d.ts +7 -1
- package/lib/src/pro-table/pro-table.vue.js +1 -1
- package/lib/src/pro-table/style/pro-table.css +10 -5
- package/lib/src/pro-table/types/pagination.js +1 -0
- package/lib/src/pro-table/types/table-action.js +1 -0
- package/lib/src/pro-table/types/table.js +1 -0
- package/lib/src/prompt/dialog.vue.js +1 -1
- package/lib/src/prompt/dialog.vue2.js +1 -1
- package/lib/src/prompt/index.js +1 -1
- package/lib/src/prompt/utils.d.ts +3 -3
- package/lib/src/scroll-bar/index.js +1 -1
- package/lib/src/scroll-bar/interface.js +1 -0
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +0 -3
- package/lib/src/scroll-bar/scroll-bar.vue.js +1 -1
- package/lib/src/scroll-bar/scroll-bar.vue2.js +1 -1
- package/lib/src/strength-meter/index.js +1 -1
- package/lib/src/strength-meter/interface.js +1 -0
- package/lib/src/strength-meter/strength-meter.vue.js +1 -1
- package/lib/src/strength-meter/strength-meter.vue2.js +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/alert.css +21 -0
- package/lib/src/theme/antd-global-overwrite/admin/button.css +13 -0
- package/lib/src/theme/antd-global-overwrite/admin/form.css +40 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +385 -0
- package/lib/src/theme/antd-global-overwrite/admin/message.css +17 -0
- package/lib/src/theme/antd-global-overwrite/admin/modal.css +107 -0
- package/lib/src/theme/antd-global-overwrite/admin/pagination.css +68 -0
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +92 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +27 -0
- package/lib/src/theme/antd-global-overwrite/aplus/alert.css +21 -0
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +13 -0
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +40 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +371 -0
- package/lib/src/theme/antd-global-overwrite/aplus/message.css +17 -0
- package/lib/src/theme/antd-global-overwrite/aplus/modal.css +101 -0
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +81 -0
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +86 -0
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +12 -0
- package/lib/src/theme/ap-action/item-dropdown.css +11 -0
- package/lib/src/theme/ap-action/item.css +28 -0
- package/lib/src/theme/ap-field/number.css +6 -0
- package/lib/src/theme/ap-field/text-area.css +5 -0
- package/lib/src/theme/ap-form/ap-form-item-group.css +9 -0
- package/lib/src/theme/ap-form/ap-form-item.css +49 -0
- package/lib/src/theme/ap-form/search-form.css +3 -0
- package/lib/src/theme/ap-layout/ap-info-layout.css +32 -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/collapse-container/header.css +1 -1
- package/lib/src/theme/collapse-container/index.css +1 -1
- package/lib/src/theme/cropper/avatar.css +1 -1
- package/lib/src/theme/cropper/modal.css +2 -2
- 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 +30 -31
- package/lib/src/theme/pro-table/pro-table.css +10 -5
- package/lib/src/theme/work-order-modal/index.css +3 -0
- package/lib/src/transition/index.js +1 -1
- package/lib/src/type.d.ts +4 -1
- 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/tree.js +1 -1
- package/lib/src/utils/uuid.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 +16 -6
- package/es/src/base-button/index.d.ts +0 -137
- package/es/src/basic/index.d.ts +0 -278
- package/es/src/button/index.d.ts +0 -51
- package/es/src/config-provider/index.d.ts +0 -645
- package/es/src/constants/component-setting.d.ts +0 -74
- package/es/src/constants/component-setting.mjs +0 -90
- package/es/src/container/index.d.ts +0 -178
- package/es/src/count-down/index.d.ts +0 -150
- package/es/src/cropper/index.d.ts +0 -369
- package/es/src/description/index.d.ts +0 -214
- package/es/src/dropdown/index.d.ts +0 -113
- package/es/src/icon/index.d.ts +0 -208
- package/es/src/icon-picker/index.d.ts +0 -190
- package/es/src/modal/index.d.ts +0 -964
- package/es/src/scroll-bar/index.d.ts +0 -183
- package/es/src/strength-meter/index.d.ts +0 -89
- package/es/src/transition/index.d.ts +0 -369
- package/lib/src/base-button/index.d.ts +0 -137
- package/lib/src/basic/index.d.ts +0 -278
- package/lib/src/button/index.d.ts +0 -51
- package/lib/src/config-provider/index.d.ts +0 -645
- package/lib/src/constants/component-setting.d.ts +0 -74
- package/lib/src/constants/component-setting.js +0 -1
- package/lib/src/container/index.d.ts +0 -178
- package/lib/src/count-down/index.d.ts +0 -150
- package/lib/src/cropper/index.d.ts +0 -369
- package/lib/src/description/index.d.ts +0 -214
- package/lib/src/dropdown/index.d.ts +0 -113
- package/lib/src/icon/index.d.ts +0 -208
- package/lib/src/icon-picker/index.d.ts +0 -190
- package/lib/src/modal/index.d.ts +0 -964
- package/lib/src/scroll-bar/index.d.ts +0 -183
- package/lib/src/strength-meter/index.d.ts +0 -89
- package/lib/src/transition/index.d.ts +0 -369
|
@@ -1,42 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "../../config-provider/index.mjs";
|
|
3
|
-
import { Alert as k, Button as y } from "ant-design-vue";
|
|
4
|
-
import "./style/table-selection-bar.css";
|
|
5
|
-
import { useLocale as B } from "../../config-provider/hooks/use-locale.mjs";
|
|
6
|
-
import { useNamespace as h } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
-
const w = { key: 0 }, C = { key: 1 }, D = /* @__PURE__ */ p({
|
|
8
|
-
name: "TableSelectBar",
|
|
9
|
-
__name: "table-selection-bar",
|
|
10
|
-
props: {
|
|
11
|
-
count: { default: () => 0 },
|
|
12
|
-
clearSelectedRowKeys: {}
|
|
13
|
-
},
|
|
14
|
-
setup(n) {
|
|
15
|
-
const { t } = B(), { b: r } = h("basic-table-select-bar"), o = n;
|
|
16
|
-
return (i, S) => (a(), m(e(k), {
|
|
17
|
-
type: "info",
|
|
18
|
-
showIcon: "",
|
|
19
|
-
class: u(e(r)())
|
|
20
|
-
}, {
|
|
21
|
-
message: s(() => [
|
|
22
|
-
o.count > 0 ? (a(), l("span", w, c(e(t)("ap.table.selectionBarTips", { count: o.count })), 1)) : (a(), l("span", C, c(e(t)("ap.table.selectionBarEmpty")), 1)),
|
|
23
|
-
f(_(e(y), {
|
|
24
|
-
type: "link",
|
|
25
|
-
onClick: i.clearSelectedRowKeys,
|
|
26
|
-
size: "small"
|
|
27
|
-
}, {
|
|
28
|
-
default: s(() => [
|
|
29
|
-
b(c(e(t)("ap.table.selectionBarClear")), 1)
|
|
30
|
-
]),
|
|
31
|
-
_: 1
|
|
32
|
-
}, 8, ["onClick"]), [
|
|
33
|
-
[d, o.count > 0]
|
|
34
|
-
])
|
|
35
|
-
]),
|
|
36
|
-
_: 1
|
|
37
|
-
}, 8, ["class"]));
|
|
38
|
-
}
|
|
39
|
-
});
|
|
1
|
+
import f from "./table-selection-bar.vue2.mjs";
|
|
40
2
|
export {
|
|
41
|
-
|
|
3
|
+
f as default
|
|
42
4
|
};
|
|
@@ -1,4 +1,42 @@
|
|
|
1
|
-
import f from "
|
|
1
|
+
import { defineComponent as p, openBlock as a, createBlock as m, unref as e, normalizeClass as u, withCtx as s, createElementBlock as l, toDisplayString as c, withDirectives as f, createVNode as _, createTextVNode as b, vShow as d } from "vue";
|
|
2
|
+
import "../../config-provider/index.mjs";
|
|
3
|
+
import { Alert as k, Button as y } from "ant-design-vue";
|
|
4
|
+
import "./style/table-selection-bar.css";
|
|
5
|
+
import { useLocale as B } from "../../config-provider/hooks/use-locale.mjs";
|
|
6
|
+
import { useNamespace as h } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
const w = { key: 0 }, C = { key: 1 }, D = /* @__PURE__ */ p({
|
|
8
|
+
name: "TableSelectBar",
|
|
9
|
+
__name: "table-selection-bar",
|
|
10
|
+
props: {
|
|
11
|
+
count: { default: () => 0 },
|
|
12
|
+
clearSelectedRowKeys: {}
|
|
13
|
+
},
|
|
14
|
+
setup(n) {
|
|
15
|
+
const { t } = B(), { b: r } = h("basic-table-select-bar"), o = n;
|
|
16
|
+
return (i, S) => (a(), m(e(k), {
|
|
17
|
+
type: "info",
|
|
18
|
+
showIcon: "",
|
|
19
|
+
class: u(e(r)())
|
|
20
|
+
}, {
|
|
21
|
+
message: s(() => [
|
|
22
|
+
o.count > 0 ? (a(), l("span", w, c(e(t)("ap.table.selectionBarTips", { count: o.count })), 1)) : (a(), l("span", C, c(e(t)("ap.table.selectionBarEmpty")), 1)),
|
|
23
|
+
f(_(e(y), {
|
|
24
|
+
type: "link",
|
|
25
|
+
onClick: i.clearSelectedRowKeys,
|
|
26
|
+
size: "small"
|
|
27
|
+
}, {
|
|
28
|
+
default: s(() => [
|
|
29
|
+
b(c(e(t)("ap.table.selectionBarClear")), 1)
|
|
30
|
+
]),
|
|
31
|
+
_: 1
|
|
32
|
+
}, 8, ["onClick"]), [
|
|
33
|
+
[d, o.count > 0]
|
|
34
|
+
])
|
|
35
|
+
]),
|
|
36
|
+
_: 1
|
|
37
|
+
}, 8, ["class"]));
|
|
38
|
+
}
|
|
39
|
+
});
|
|
2
40
|
export {
|
|
3
|
-
|
|
41
|
+
D as default
|
|
4
42
|
};
|
|
@@ -1,43 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { BasicTitle as y } from "../../basic/index.mjs";
|
|
3
|
-
import "../../config-provider/index.mjs";
|
|
4
|
-
import { isFunction as b } from "lodash-unified";
|
|
5
|
-
import "./style/table-title.css";
|
|
6
|
-
import { useNamespace as S } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
-
const M = /* @__PURE__ */ c({
|
|
8
|
-
name: "BasicTableTitle",
|
|
9
|
-
__name: "table-title",
|
|
10
|
-
props: {
|
|
11
|
-
title: {
|
|
12
|
-
type: [Function, String]
|
|
13
|
-
},
|
|
14
|
-
getSelectRows: {
|
|
15
|
-
type: Function
|
|
16
|
-
},
|
|
17
|
-
helpMessage: {
|
|
18
|
-
type: [String, Array]
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(t) {
|
|
22
|
-
const l = t, { b: r } = S("basic-table-title"), o = n(() => {
|
|
23
|
-
const { title: e, getSelectRows: s = () => [] } = l;
|
|
24
|
-
let a = e;
|
|
25
|
-
return b(e) && (a = e({
|
|
26
|
-
selectRows: s()
|
|
27
|
-
})), a;
|
|
28
|
-
});
|
|
29
|
-
return (e, s) => o.value ? (p(), m(i(y), {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: u(i(r)()),
|
|
32
|
-
helpMessage: t.helpMessage
|
|
33
|
-
}, {
|
|
34
|
-
default: f(() => [
|
|
35
|
-
g(d(o.value), 1)
|
|
36
|
-
]),
|
|
37
|
-
_: 1
|
|
38
|
-
}, 8, ["class", "helpMessage"])) : h("", !0);
|
|
39
|
-
}
|
|
40
|
-
});
|
|
1
|
+
import f from "./table-title.vue2.mjs";
|
|
41
2
|
export {
|
|
42
|
-
|
|
3
|
+
f as default
|
|
43
4
|
};
|
|
@@ -1,4 +1,43 @@
|
|
|
1
|
-
import f from "
|
|
1
|
+
import { defineComponent as c, computed as n, openBlock as p, createBlock as m, unref as i, normalizeClass as u, withCtx as f, createTextVNode as g, toDisplayString as d, createCommentVNode as h } from "vue";
|
|
2
|
+
import { BasicTitle as y } from "../../basic/index.mjs";
|
|
3
|
+
import "../../config-provider/index.mjs";
|
|
4
|
+
import { isFunction as b } from "lodash-unified";
|
|
5
|
+
import "./style/table-title.css";
|
|
6
|
+
import { useNamespace as S } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
const M = /* @__PURE__ */ c({
|
|
8
|
+
name: "BasicTableTitle",
|
|
9
|
+
__name: "table-title",
|
|
10
|
+
props: {
|
|
11
|
+
title: {
|
|
12
|
+
type: [Function, String]
|
|
13
|
+
},
|
|
14
|
+
getSelectRows: {
|
|
15
|
+
type: Function
|
|
16
|
+
},
|
|
17
|
+
helpMessage: {
|
|
18
|
+
type: [String, Array]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(t) {
|
|
22
|
+
const l = t, { b: r } = S("basic-table-title"), o = n(() => {
|
|
23
|
+
const { title: e, getSelectRows: s = () => [] } = l;
|
|
24
|
+
let a = e;
|
|
25
|
+
return b(e) && (a = e({
|
|
26
|
+
selectRows: s()
|
|
27
|
+
})), a;
|
|
28
|
+
});
|
|
29
|
+
return (e, s) => o.value ? (p(), m(i(y), {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: u(i(r)()),
|
|
32
|
+
helpMessage: t.helpMessage
|
|
33
|
+
}, {
|
|
34
|
+
default: f(() => [
|
|
35
|
+
g(d(o.value), 1)
|
|
36
|
+
]),
|
|
37
|
+
_: 1
|
|
38
|
+
}, 8, ["class", "helpMessage"])) : h("", !0);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
2
41
|
export {
|
|
3
|
-
|
|
42
|
+
M as default
|
|
4
43
|
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { SizeType } from './types/table';
|
|
2
|
+
|
|
1
3
|
export declare const ROW_KEY = "key";
|
|
2
4
|
export declare const DEFAULT_ALIGN = "left";
|
|
3
5
|
export declare const INDEX_COLUMN_FLAG = "INDEX";
|
|
4
6
|
export declare const ACTION_COLUMN_FLAG = "ACTION";
|
|
7
|
+
export declare const formTableDivideSpaceMap: Record<SizeType, number>;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = "key", t = "left", l = "INDEX", o = "ACTION", N = {
|
|
2
|
+
default: 16,
|
|
3
|
+
small: 8,
|
|
4
|
+
middle: 12,
|
|
5
|
+
large: 16
|
|
6
|
+
};
|
|
2
7
|
export {
|
|
3
|
-
|
|
8
|
+
o as ACTION_COLUMN_FLAG,
|
|
4
9
|
t as DEFAULT_ALIGN,
|
|
5
|
-
|
|
6
|
-
|
|
10
|
+
l as INDEX_COLUMN_FLAG,
|
|
11
|
+
e as ROW_KEY,
|
|
12
|
+
N as formTableDivideSpaceMap
|
|
7
13
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { unref as C, ref as K, computed as v, reactive as V, watch as W, toRaw as X } from "vue";
|
|
2
2
|
import { renderEditCell as q } from "../components/editable/index.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { isBoolean as b, cloneDeep as F, isFunction as O, isArray as S, isString as R, isEqual as Z, isMap as $ } from "lodash-unified";
|
|
4
|
+
import { DEFAULT_ALIGN as J, ACTION_COLUMN_FLAG as A, INDEX_COLUMN_FLAG as w } from "../const.mjs";
|
|
5
5
|
import Q from "dayjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
7
|
import { useGlobalConfig as Y } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -36,8 +36,8 @@ function dn(t, r) {
|
|
|
36
36
|
const l = Y(), { t: c } = nn(), u = l.value.table.defaultPageSize, I = l.value.table.permissionValidator, h = K(C(t).columns);
|
|
37
37
|
let f = C(t).columns;
|
|
38
38
|
const E = v(() => {
|
|
39
|
-
const n =
|
|
40
|
-
if (
|
|
39
|
+
const n = F(C(h));
|
|
40
|
+
if (G(t, r, n), en(t, n), !n)
|
|
41
41
|
return [];
|
|
42
42
|
const { ellipsis: e } = C(t);
|
|
43
43
|
return n.forEach((s) => {
|
|
@@ -48,12 +48,12 @@ function dn(t, r) {
|
|
|
48
48
|
);
|
|
49
49
|
}), n;
|
|
50
50
|
});
|
|
51
|
-
function
|
|
51
|
+
function j(n) {
|
|
52
52
|
const e = n.ifShow;
|
|
53
53
|
let s = !0;
|
|
54
54
|
return b(e) && (s = e), O(e) && (s = e(n)), s;
|
|
55
55
|
}
|
|
56
|
-
const
|
|
56
|
+
const D = v(() => {
|
|
57
57
|
const n = L(C(E)), e = (o) => {
|
|
58
58
|
const { slots: i, customRender: g, format: a, edit: m, editRow: d, flag: p } = o;
|
|
59
59
|
(!i || !(i != null && i.title)) && (o.customTitle = o.title);
|
|
@@ -61,23 +61,23 @@ function dn(t, r) {
|
|
|
61
61
|
p
|
|
62
62
|
);
|
|
63
63
|
return !g && a && !m && !x && (o.customRender = ({
|
|
64
|
-
text:
|
|
64
|
+
text: y,
|
|
65
65
|
record: B,
|
|
66
66
|
index: H
|
|
67
|
-
}) => tn(
|
|
67
|
+
}) => tn(y, a, B, H)), (m || d) && !x && (o.customRender = q(o)), V(o);
|
|
68
68
|
};
|
|
69
|
-
return
|
|
69
|
+
return F(n).filter((o) => I(o.auth) && j(o)).map((o) => {
|
|
70
70
|
var i;
|
|
71
71
|
return (i = o.children) != null && i.length && (o.children = o.children.map(e)), e(o);
|
|
72
72
|
});
|
|
73
73
|
});
|
|
74
|
-
|
|
74
|
+
W(
|
|
75
75
|
() => C(t).columns,
|
|
76
76
|
(n) => {
|
|
77
77
|
h.value = n, f = (n == null ? void 0 : n.filter((e) => !e.flag)) ?? [];
|
|
78
78
|
}
|
|
79
79
|
);
|
|
80
|
-
function
|
|
80
|
+
function G(n, e, s) {
|
|
81
81
|
const { showIndexColumn: o, indexColumnProps: i, isTreeTable: g } = C(n);
|
|
82
82
|
let a = !1;
|
|
83
83
|
if (C(g) || (s.forEach(() => {
|
|
@@ -97,8 +97,8 @@ function dn(t, r) {
|
|
|
97
97
|
const p = C(e);
|
|
98
98
|
if (b(p))
|
|
99
99
|
return `${d + 1}`;
|
|
100
|
-
const { current: x = 1, pageSize:
|
|
101
|
-
return ((x < 1 ? 1 : x) - 1) *
|
|
100
|
+
const { current: x = 1, pageSize: y = u } = p;
|
|
101
|
+
return ((x < 1 ? 1 : x) - 1) * y + d + 1;
|
|
102
102
|
},
|
|
103
103
|
...m ? {
|
|
104
104
|
fixed: "left"
|
|
@@ -106,7 +106,7 @@ function dn(t, r) {
|
|
|
106
106
|
...i
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function N(n, e) {
|
|
110
110
|
!n || !e || f.forEach((s) => {
|
|
111
111
|
if (s.dataIndex === n) {
|
|
112
112
|
Object.assign(s, e);
|
|
@@ -114,16 +114,16 @@ function dn(t, r) {
|
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
-
function
|
|
118
|
-
const e =
|
|
119
|
-
if (!
|
|
117
|
+
function P(n) {
|
|
118
|
+
const e = F(n);
|
|
119
|
+
if (!S(e))
|
|
120
120
|
return;
|
|
121
121
|
if (e.length <= 0) {
|
|
122
122
|
h.value = [];
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
125
|
const s = e[0], o = f.map((i) => i.dataIndex);
|
|
126
|
-
if (!R(s) && !
|
|
126
|
+
if (!R(s) && !S(s))
|
|
127
127
|
h.value = e;
|
|
128
128
|
else {
|
|
129
129
|
const i = e.map(
|
|
@@ -148,24 +148,24 @@ function dn(t, r) {
|
|
|
148
148
|
let i = X(C(E));
|
|
149
149
|
return e && (i = i.filter((g) => g.flag !== w)), s && (i = i.filter((g) => g.flag !== A)), o && (i = L(i)), i;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function k() {
|
|
152
152
|
return f;
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
154
|
+
function U(n) {
|
|
155
|
+
S(n) && (f = n.filter((e) => !e.flag));
|
|
156
156
|
}
|
|
157
157
|
function z(n, e) {
|
|
158
158
|
e.width = n;
|
|
159
159
|
}
|
|
160
160
|
return {
|
|
161
161
|
getColumnsRef: E,
|
|
162
|
-
getCacheColumns:
|
|
162
|
+
getCacheColumns: k,
|
|
163
163
|
getColumns: M,
|
|
164
|
-
setColumns:
|
|
164
|
+
setColumns: P,
|
|
165
165
|
setColumnWidth: z,
|
|
166
|
-
getViewColumns:
|
|
167
|
-
setCacheColumnsByField:
|
|
168
|
-
setCacheColumns:
|
|
166
|
+
getViewColumns: D,
|
|
167
|
+
setCacheColumnsByField: N,
|
|
168
|
+
setCacheColumns: U
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
171
|
function L(t) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { unref as r, reactive as
|
|
2
|
-
import { useTimeoutFn as
|
|
3
|
-
import { buildUUID as
|
|
4
|
-
import {
|
|
5
|
-
import { ROW_KEY as
|
|
6
|
-
import { parseRowKeyValue as
|
|
1
|
+
import { unref as r, reactive as ie, ref as Y, watchEffect as Z, watch as fe, computed as E, onMounted as se } from "vue";
|
|
2
|
+
import { useTimeoutFn as de } from "@vueuse/core";
|
|
3
|
+
import { buildUUID as q } from "../../utils/uuid.mjs";
|
|
4
|
+
import { isFunction as b, cloneDeep as he, isObject as ge, isBoolean as x, merge as me, get as J } from "lodash-unified";
|
|
5
|
+
import { ROW_KEY as h } from "../const.mjs";
|
|
6
|
+
import { parseRowKeyValue as Q } from "../helper.mjs";
|
|
7
7
|
import "../../config-provider/index.mjs";
|
|
8
|
-
import { useGlobalConfig as
|
|
8
|
+
import { useGlobalConfig as Se } from "../../config-provider/hooks/use-global-config.mjs";
|
|
9
9
|
function Ae(u, {
|
|
10
10
|
getPaginationInfo: R,
|
|
11
11
|
setPagination: g,
|
|
12
12
|
setLoading: O,
|
|
13
|
-
getFieldsValue:
|
|
14
|
-
clearSelectedRowKeys:
|
|
15
|
-
tableData:
|
|
13
|
+
getFieldsValue: V,
|
|
14
|
+
clearSelectedRowKeys: X,
|
|
15
|
+
tableData: $
|
|
16
16
|
}, _) {
|
|
17
|
-
const z =
|
|
17
|
+
const z = Se(), L = r(z).table.fetchSetting, P = r(z).table.defaultPageSize, A = ie({
|
|
18
18
|
sortInfo: {},
|
|
19
19
|
filterInfo: {}
|
|
20
20
|
}), n = Y([]), G = Y({});
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
Z(() => {
|
|
22
|
+
$.value = r(n);
|
|
23
23
|
}), fe(
|
|
24
24
|
() => r(u).dataSource,
|
|
25
25
|
() => {
|
|
@@ -30,9 +30,9 @@ function Ae(u, {
|
|
|
30
30
|
immediate: !0
|
|
31
31
|
}
|
|
32
32
|
);
|
|
33
|
-
function
|
|
33
|
+
function k(e, t, a) {
|
|
34
34
|
const { clearSelectOnPageChange: c, sortFn: o, filterFn: i } = r(u);
|
|
35
|
-
c &&
|
|
35
|
+
c && X(), g(e);
|
|
36
36
|
const l = {};
|
|
37
37
|
if (a && b(o)) {
|
|
38
38
|
const f = o(a);
|
|
@@ -46,31 +46,32 @@ function Ae(u, {
|
|
|
46
46
|
}
|
|
47
47
|
function N(e) {
|
|
48
48
|
!e || !Array.isArray(e) || e.forEach((t) => {
|
|
49
|
-
t[
|
|
49
|
+
t[h] || (t[h] = q()), t.children && t.children.length && N(t.children);
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
const K = E(() => r(u).autoCreateKey && !r(u).rowKey), C = E(() => {
|
|
53
53
|
const { rowKey: e } = r(u);
|
|
54
|
-
return r(K) ?
|
|
55
|
-
})
|
|
56
|
-
|
|
57
|
-
if (!e || e.length === 0)
|
|
58
|
-
return r(n);
|
|
54
|
+
return r(K) ? h : e;
|
|
55
|
+
});
|
|
56
|
+
Z(() => {
|
|
59
57
|
if (r(K)) {
|
|
60
|
-
const t = e[0], a = e[e.length - 1];
|
|
61
|
-
if (t && a && (!t[
|
|
62
|
-
const c =
|
|
58
|
+
const e = r(n), t = e[0], a = e[e.length - 1];
|
|
59
|
+
if (t && a && (!t[h] || !a[h])) {
|
|
60
|
+
const c = he(r(n));
|
|
63
61
|
c.forEach((o) => {
|
|
64
|
-
o[
|
|
62
|
+
o[h] || (o[h] = q()), o.children && o.children.length && N(o.children);
|
|
65
63
|
}), n.value = c;
|
|
66
64
|
}
|
|
67
65
|
}
|
|
68
|
-
return r(n);
|
|
69
66
|
});
|
|
70
|
-
|
|
67
|
+
const j = E(() => {
|
|
68
|
+
const e = r(n);
|
|
69
|
+
return !e || e.length === 0 ? r(n) : r(n);
|
|
70
|
+
});
|
|
71
|
+
async function p(e, t, a) {
|
|
71
72
|
return n.value[e] && (n.value[e][t] = a), n.value[e];
|
|
72
73
|
}
|
|
73
|
-
function
|
|
74
|
+
function ee(e, t) {
|
|
74
75
|
const a = M(e);
|
|
75
76
|
if (a) {
|
|
76
77
|
for (const c in a)
|
|
@@ -78,7 +79,7 @@ function Ae(u, {
|
|
|
78
79
|
return a;
|
|
79
80
|
}
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function te(e) {
|
|
82
83
|
var c;
|
|
83
84
|
if (!n.value || n.value.length == 0)
|
|
84
85
|
return;
|
|
@@ -92,14 +93,14 @@ function Ae(u, {
|
|
|
92
93
|
var T;
|
|
93
94
|
if (s == null)
|
|
94
95
|
return null;
|
|
95
|
-
for (let
|
|
96
|
-
const y = s[
|
|
97
|
-
if (
|
|
98
|
-
return { index:
|
|
96
|
+
for (let S = 0; S < s.length; S++) {
|
|
97
|
+
const y = s[S];
|
|
98
|
+
if (Q(r(C), y) === m)
|
|
99
|
+
return { index: S, data: s };
|
|
99
100
|
if (((T = y.children) == null ? void 0 : T.length) > 0) {
|
|
100
|
-
const
|
|
101
|
-
if (
|
|
102
|
-
return
|
|
101
|
+
const d = f(y.children, m);
|
|
102
|
+
if (d != null)
|
|
103
|
+
return d;
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
106
|
return null;
|
|
@@ -111,7 +112,7 @@ function Ae(u, {
|
|
|
111
112
|
total: (c = r(u).dataSource) == null ? void 0 : c.length
|
|
112
113
|
});
|
|
113
114
|
}
|
|
114
|
-
function
|
|
115
|
+
function re(e, t) {
|
|
115
116
|
var c;
|
|
116
117
|
t = t ?? ((c = n.value) == null ? void 0 : c.length);
|
|
117
118
|
const a = ge(e) ? [e] : e;
|
|
@@ -124,7 +125,7 @@ function Ae(u, {
|
|
|
124
125
|
return ((c) => {
|
|
125
126
|
let o;
|
|
126
127
|
return c.some(function i(l) {
|
|
127
|
-
return
|
|
128
|
+
return Q(r(C), l) === e ? (o = l, !0) : l[t] && l[t].some(i);
|
|
128
129
|
}), o;
|
|
129
130
|
})(n.value);
|
|
130
131
|
}
|
|
@@ -142,34 +143,34 @@ function Ae(u, {
|
|
|
142
143
|
if (!(!t || !b(t)))
|
|
143
144
|
try {
|
|
144
145
|
O(!0);
|
|
145
|
-
const { pageField: m, sizeField: T, listField:
|
|
146
|
+
const { pageField: m, sizeField: T, listField: S, totalField: y } = Object.assign(
|
|
146
147
|
{},
|
|
147
|
-
|
|
148
|
+
L,
|
|
148
149
|
o
|
|
149
150
|
);
|
|
150
|
-
let
|
|
151
|
-
const { current: U = 1, pageSize: B =
|
|
151
|
+
let d = {};
|
|
152
|
+
const { current: U = 1, pageSize: B = P } = r(
|
|
152
153
|
R
|
|
153
154
|
);
|
|
154
|
-
|
|
155
|
-
const { sortInfo:
|
|
155
|
+
x(s) && !s || x(R) ? d = {} : (d[m] = e && e.page || U, d[T] = B);
|
|
156
|
+
const { sortInfo: le = {}, filterInfo: ue } = A;
|
|
156
157
|
let D = me(
|
|
157
|
-
|
|
158
|
-
f ?
|
|
158
|
+
d,
|
|
159
|
+
f ? V() : {},
|
|
159
160
|
a,
|
|
160
161
|
(e == null ? void 0 : e.searchInfo) ?? {},
|
|
161
162
|
c,
|
|
162
|
-
oe,
|
|
163
163
|
le,
|
|
164
|
+
ue,
|
|
164
165
|
(e == null ? void 0 : e.sortInfo) ?? {},
|
|
165
166
|
(e == null ? void 0 : e.filterInfo) ?? {}
|
|
166
167
|
);
|
|
167
168
|
i && b(i) && (D = await i(D) || D);
|
|
168
|
-
const
|
|
169
|
-
G.value =
|
|
170
|
-
const H = Array.isArray(
|
|
171
|
-
let w = H ?
|
|
172
|
-
const F = H ?
|
|
169
|
+
const v = await t(D);
|
|
170
|
+
G.value = v;
|
|
171
|
+
const H = Array.isArray(v);
|
|
172
|
+
let w = H ? v : J(v, S);
|
|
173
|
+
const F = H ? v.length : J(v, y);
|
|
173
174
|
if (Number(F)) {
|
|
174
175
|
const W = Math.ceil(F / B);
|
|
175
176
|
if (U > W)
|
|
@@ -193,37 +194,37 @@ function Ae(u, {
|
|
|
193
194
|
O(!1);
|
|
194
195
|
}
|
|
195
196
|
}
|
|
196
|
-
function
|
|
197
|
+
function ne(e) {
|
|
197
198
|
n.value = e;
|
|
198
199
|
}
|
|
199
|
-
function
|
|
200
|
+
function ae() {
|
|
200
201
|
return j.value;
|
|
201
202
|
}
|
|
202
|
-
function
|
|
203
|
+
function ce() {
|
|
203
204
|
return G.value;
|
|
204
205
|
}
|
|
205
|
-
async function
|
|
206
|
+
async function oe(e) {
|
|
206
207
|
return await I(e);
|
|
207
208
|
}
|
|
208
209
|
return se(() => {
|
|
209
|
-
|
|
210
|
+
de(() => {
|
|
210
211
|
r(u).immediate && I();
|
|
211
212
|
}, 16);
|
|
212
213
|
}), {
|
|
213
214
|
getDataSourceRef: j,
|
|
214
|
-
getDataSource:
|
|
215
|
-
getRawDataSource:
|
|
215
|
+
getDataSource: ae,
|
|
216
|
+
getRawDataSource: ce,
|
|
216
217
|
getRowKey: C,
|
|
217
|
-
setTableData:
|
|
218
|
+
setTableData: ne,
|
|
218
219
|
getAutoCreateKey: K,
|
|
219
220
|
fetch: I,
|
|
220
|
-
reload:
|
|
221
|
-
updateTableData:
|
|
222
|
-
updateTableDataRecord:
|
|
223
|
-
deleteTableDataRecord:
|
|
224
|
-
insertTableDataRecord:
|
|
221
|
+
reload: oe,
|
|
222
|
+
updateTableData: p,
|
|
223
|
+
updateTableDataRecord: ee,
|
|
224
|
+
deleteTableDataRecord: te,
|
|
225
|
+
insertTableDataRecord: re,
|
|
225
226
|
findTableDataRecord: M,
|
|
226
|
-
handleTableChange:
|
|
227
|
+
handleTableChange: k
|
|
227
228
|
};
|
|
228
229
|
}
|
|
229
230
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createVNode as s, ref as c, watch as d, unref as t, computed as w } from "vue";
|
|
2
2
|
import { LeftOutlined as v, RightOutlined as z } from "@ant-design/icons-vue";
|
|
3
3
|
import { isBoolean as a } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -9,12 +9,12 @@ function I({
|
|
|
9
9
|
type: e,
|
|
10
10
|
originalElement: u
|
|
11
11
|
}) {
|
|
12
|
-
return e === "prev" ? o === 0 ? null :
|
|
12
|
+
return e === "prev" ? o === 0 ? null : s(v, null, null) : e === "next" ? o === 1 ? null : s(z, null, null) : u;
|
|
13
13
|
}
|
|
14
14
|
function A(o) {
|
|
15
|
-
const e =
|
|
15
|
+
const e = c({}), {
|
|
16
16
|
t: u
|
|
17
|
-
} = O(), f = b(), g = f.value.table.defaultPageSize, m = f.value.table.pageSizeOptions, r =
|
|
17
|
+
} = O(), f = b(), g = f.value.table.defaultPageSize, m = f.value.table.pageSizeOptions, r = c(!0);
|
|
18
18
|
d(() => t(o).pagination, (n) => {
|
|
19
19
|
!a(n) && n && (e.value = {
|
|
20
20
|
...t(e),
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { computed as c, unref as t, h as y, watchEffect as b, nextTick as
|
|
2
|
-
import
|
|
3
|
-
import { useEventListener as
|
|
4
|
-
|
|
1
|
+
import { computed as c, unref as t, h as y, watchEffect as b, nextTick as p } from "vue";
|
|
2
|
+
import "../components/table-footer.vue.mjs";
|
|
3
|
+
import { useEventListener as d } from "@aplus-frontend/hooks";
|
|
4
|
+
import h from "../components/table-footer.vue2.mjs";
|
|
5
|
+
function g(n, s, m, u) {
|
|
5
6
|
const a = c(() => (t(u) || []).length === 0), i = c(() => {
|
|
6
7
|
const { summaryFunc: r, showSummary: e, summaryData: o } = t(n);
|
|
7
8
|
return e && !t(a) ? () => y(h, { summaryFunc: r, summaryData: o, scroll: t(s) }) : void 0;
|
|
@@ -11,14 +12,14 @@ function E(n, s, m, u) {
|
|
|
11
12
|
});
|
|
12
13
|
function f() {
|
|
13
14
|
const { showSummary: r } = t(n);
|
|
14
|
-
!r || t(a) ||
|
|
15
|
+
!r || t(a) || p(() => {
|
|
15
16
|
const e = t(m);
|
|
16
17
|
if (!e)
|
|
17
18
|
return;
|
|
18
19
|
const o = e.$el.querySelector(
|
|
19
20
|
" .ant-table-content, .ant-table-body"
|
|
20
21
|
);
|
|
21
|
-
|
|
22
|
+
d({
|
|
22
23
|
el: o,
|
|
23
24
|
name: "scroll",
|
|
24
25
|
listener: () => {
|
|
@@ -35,5 +36,5 @@ function E(n, s, m, u) {
|
|
|
35
36
|
return { getFooterProps: i };
|
|
36
37
|
}
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
+
g as useTableFooter
|
|
39
40
|
};
|