@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
|
@@ -14,48 +14,50 @@
|
|
|
14
14
|
.fullscreen-modal .ant-modal-footer {
|
|
15
15
|
margin-top: 0;
|
|
16
16
|
}
|
|
17
|
-
.
|
|
17
|
+
.aplus-basic-modal {
|
|
18
18
|
width: 520px;
|
|
19
19
|
padding-bottom: 0;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
22
|
-
padding:
|
|
21
|
+
.aplus-basic-modal .ant-modal-body > .aplus-scrollbar {
|
|
22
|
+
padding: 20px;
|
|
23
|
+
padding-bottom: 0;
|
|
23
24
|
}
|
|
24
|
-
.ant-modal-title {
|
|
25
|
+
.aplus-basic-modal .ant-modal-title {
|
|
25
26
|
font-size: 16px;
|
|
26
27
|
font-weight: bold;
|
|
27
28
|
}
|
|
28
|
-
.ant-modal-title .
|
|
29
|
+
.aplus-basic-modal .ant-modal-title .aplus-basic-title {
|
|
29
30
|
cursor: move !important;
|
|
31
|
+
padding-left: 0;
|
|
30
32
|
}
|
|
31
|
-
.
|
|
33
|
+
.aplus-basic-modal .ant-modal-body {
|
|
32
34
|
padding: 0;
|
|
33
35
|
}
|
|
34
|
-
.
|
|
36
|
+
.aplus-basic-modal .ant-modal-body > .aplus-scrollbar > .aplus-scrollbar__bar.is-horizontal {
|
|
35
37
|
display: none;
|
|
36
38
|
}
|
|
37
|
-
.ant-modal-large {
|
|
39
|
+
.aplus-basic-modal .ant-modal-large {
|
|
38
40
|
top: 60px;
|
|
39
41
|
}
|
|
40
|
-
.ant-modal-large--mini {
|
|
42
|
+
.aplus-basic-modal .ant-modal-large .ant-modal--mini {
|
|
41
43
|
top: 16px;
|
|
42
44
|
}
|
|
43
|
-
.ant-modal-header {
|
|
44
|
-
padding:
|
|
45
|
-
|
|
45
|
+
.aplus-basic-modal .ant-modal-header {
|
|
46
|
+
padding: 15px 20px;
|
|
47
|
+
margin-bottom: 0;
|
|
48
|
+
border-bottom: 1px solid #dee4ed;
|
|
46
49
|
}
|
|
47
|
-
.ant-modal-content {
|
|
50
|
+
.aplus-basic-modal .ant-modal-content {
|
|
48
51
|
padding: 0 !important;
|
|
49
|
-
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 #000000;
|
|
50
52
|
}
|
|
51
|
-
.ant-modal-footer {
|
|
52
|
-
padding:
|
|
53
|
-
|
|
53
|
+
.aplus-basic-modal .ant-modal-footer {
|
|
54
|
+
padding: 20px;
|
|
55
|
+
margin-top: 0;
|
|
54
56
|
}
|
|
55
|
-
.ant-modal-footer button + button {
|
|
57
|
+
.aplus-basic-modal .ant-modal-footer button + button {
|
|
56
58
|
margin-left: 10px;
|
|
57
59
|
}
|
|
58
|
-
.ant-modal-close {
|
|
60
|
+
.aplus-basic-modal .ant-modal-close {
|
|
59
61
|
top: 0 !important;
|
|
60
62
|
right: 0 !important;
|
|
61
63
|
width: auto !important;
|
|
@@ -63,41 +65,38 @@
|
|
|
63
65
|
background: transparent !important;
|
|
64
66
|
font-weight: normal;
|
|
65
67
|
}
|
|
66
|
-
.ant-modal-close-x {
|
|
68
|
+
.aplus-basic-modal .ant-modal-close-x {
|
|
67
69
|
display: inline-block;
|
|
68
70
|
width: 96px;
|
|
69
71
|
height: 56px;
|
|
70
72
|
line-height: 56px !important;
|
|
71
73
|
}
|
|
72
|
-
.ant-modal-confirm-body .ant-modal-confirm-content > * {
|
|
74
|
+
.aplus-basic-modal .ant-modal-confirm-body .ant-modal-confirm-content > * {
|
|
73
75
|
color: #909399;
|
|
74
76
|
}
|
|
75
|
-
.ant-modal-confirm-confirm.error .ant-modal-confirm-body > .anticon {
|
|
77
|
+
.aplus-basic-modal .ant-modal-confirm-confirm.error .ant-modal-confirm-body > .anticon {
|
|
76
78
|
color: #ed6f6f;
|
|
77
79
|
}
|
|
78
|
-
.ant-modal-confirm-btns .ant-btn:last-child {
|
|
80
|
+
.aplus-basic-modal .ant-modal-confirm-btns .ant-btn:last-child {
|
|
79
81
|
margin-right: 0;
|
|
80
82
|
}
|
|
81
|
-
.ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
|
|
83
|
+
.aplus-basic-modal .ant-modal-confirm-info .ant-modal-confirm-body > .anticon {
|
|
82
84
|
color: #efbd47;
|
|
83
85
|
}
|
|
84
|
-
.ant-modal-confirm-confirm.success .ant-modal-confirm-body > .anticon {
|
|
86
|
+
.aplus-basic-modal .ant-modal-confirm-confirm.success .ant-modal-confirm-body > .anticon {
|
|
85
87
|
color: #34b77c;
|
|
86
88
|
}
|
|
87
|
-
|
|
88
|
-
padding: 24px !important;
|
|
89
|
-
}
|
|
90
|
-
@media screen and (max-height: 600px) {
|
|
89
|
+
@media screen and (height <= 600px) {
|
|
91
90
|
.ant-modal {
|
|
92
91
|
top: 60px;
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
|
-
@media screen and (
|
|
94
|
+
@media screen and (height <= 540px) {
|
|
96
95
|
.ant-modal {
|
|
97
96
|
top: 30px;
|
|
98
97
|
}
|
|
99
98
|
}
|
|
100
|
-
@media screen and (
|
|
99
|
+
@media screen and (height <= 480px) {
|
|
101
100
|
.ant-modal {
|
|
102
101
|
top: 10px;
|
|
103
102
|
}
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
.aplus-pro-table {
|
|
2
2
|
max-width: 100%;
|
|
3
3
|
height: 100%;
|
|
4
|
+
padding: 16px;
|
|
5
|
+
}
|
|
6
|
+
.aplus-pro-table-no-divide .ant-table-wrapper {
|
|
7
|
+
border-top-left-radius: 0 !important;
|
|
8
|
+
border-top-right-radius: 0 !important;
|
|
4
9
|
}
|
|
5
10
|
.aplus-pro-table-row__striped td {
|
|
6
11
|
background-color: #fafafa !important;
|
|
7
12
|
}
|
|
8
|
-
.aplus-pro-table-form-container {
|
|
9
|
-
padding: 16px;
|
|
10
|
-
}
|
|
11
13
|
.aplus-pro-table-form-container .ant-form {
|
|
12
14
|
width: 100%;
|
|
13
|
-
|
|
14
|
-
padding: 16px 16px 4px;
|
|
15
|
+
padding: 16px 16px 8px;
|
|
15
16
|
border-radius: 2px;
|
|
16
17
|
background-color: #fff;
|
|
17
18
|
}
|
|
19
|
+
.aplus-pro-table-form-container-no-divide .ant-form {
|
|
20
|
+
border-bottom-left-radius: 0 !important;
|
|
21
|
+
border-bottom-right-radius: 0 !important;
|
|
22
|
+
}
|
|
18
23
|
.aplus-pro-table .ant-table-cell .ant-tag {
|
|
19
24
|
margin-right: 0;
|
|
20
25
|
}
|
|
@@ -1,38 +1,35 @@
|
|
|
1
1
|
import { createSimpleTransition as n, createJavascriptTransition as i } from "./create-transition.mjs";
|
|
2
2
|
import t from "./expand-transition.mjs";
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
import "../config-provider/index.mjs";
|
|
6
|
-
import "./style/collapse.css";
|
|
7
|
-
const c = n("fade-transition"), T = n("scale-transition"), d = n("slide-y-transition"), p = n("scroll-y-transition"), x = n(
|
|
3
|
+
import "./collapse-transition.vue2.mjs";
|
|
4
|
+
const e = n("fade-transition"), a = n("scale-transition"), l = n("slide-y-transition"), c = n("scroll-y-transition"), T = n(
|
|
8
5
|
"slide-y-reverse-transition"
|
|
9
|
-
),
|
|
6
|
+
), d = n(
|
|
10
7
|
"scroll-y-reverse-transition"
|
|
11
|
-
),
|
|
8
|
+
), p = n("slide-x-transition"), x = n("scroll-x-transition"), S = n(
|
|
12
9
|
"slide-x-reverse-transition"
|
|
13
|
-
),
|
|
10
|
+
), v = n(
|
|
14
11
|
"scroll-x-reverse-transition"
|
|
15
|
-
),
|
|
12
|
+
), m = n(
|
|
16
13
|
"scale-rotate-transition"
|
|
17
|
-
),
|
|
14
|
+
), R = i(
|
|
18
15
|
"expand-x-transition",
|
|
19
16
|
t("", !0)
|
|
20
|
-
),
|
|
17
|
+
), X = i(
|
|
21
18
|
"expand-transition",
|
|
22
19
|
t("")
|
|
23
20
|
);
|
|
24
21
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
22
|
+
X as ExpandTransition,
|
|
23
|
+
R as ExpandXTransition,
|
|
24
|
+
e as FadeTransition,
|
|
25
|
+
m as ScaleRotateTransition,
|
|
26
|
+
a as ScaleTransition,
|
|
27
|
+
v as ScrollXReverseTransition,
|
|
28
|
+
x as ScrollXTransition,
|
|
29
|
+
d as ScrollYReverseTransition,
|
|
30
|
+
c as ScrollYTransition,
|
|
31
|
+
S as SlideXReverseTransition,
|
|
32
|
+
p as SlideXTransition,
|
|
33
|
+
T as SlideYReverseTransition,
|
|
34
|
+
l as SlideYTransition
|
|
38
35
|
};
|
package/es/src/type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties } from 'vue';
|
|
1
|
+
import { CSSProperties, VNode } from 'vue';
|
|
2
2
|
|
|
3
3
|
export type StyleValue = string | CSSProperties | Array<StyleValue>;
|
|
4
4
|
export type Nullable<T> = T | null;
|
|
@@ -24,4 +24,7 @@ export interface ComponentElRef<T extends HTMLElement = HTMLDivElement> {
|
|
|
24
24
|
}
|
|
25
25
|
export type ComponentRef<T extends HTMLElement = HTMLDivElement> = ComponentElRef<T> | null;
|
|
26
26
|
export type EmitType = ReturnType<typeof defineEmits>;
|
|
27
|
+
type VNodeChildAtom = VNode | string | number | boolean | null | undefined | void;
|
|
28
|
+
export type VueNode = VNodeChildAtom | VNodeChildAtom[] | VNode;
|
|
29
|
+
export type LiteralUnion<T extends U, U> = T | (U & {});
|
|
27
30
|
export {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { TransformCellTextProps } from 'ant-design-vue/lib/table/interface';
|
|
2
|
+
import { ConfigProviderProps } from 'ant-design-vue';
|
|
3
|
+
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
4
|
+
import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
5
|
+
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
6
|
+
import { CSPConfig } from 'ant-design-vue/es/config-provider';
|
|
7
|
+
import { Locale } from 'ant-design-vue/es/locale';
|
|
8
|
+
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
9
|
+
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
10
|
+
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 弹出框(Select, Tooltip, Menu 等等)渲染父节点,默认渲染到 body 上
|
|
14
|
+
* 解决弹出框滚动问题
|
|
15
|
+
* @param trigger
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
export declare const getPopupContainer: (trigger: HTMLElement | undefined) => HTMLElement;
|
|
19
|
+
/**
|
|
20
|
+
* Table 数据渲染前可以再次改变,一般用户空数据的默认配置
|
|
21
|
+
* 解决表格空状态设置为--
|
|
22
|
+
* @param param0
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
export declare const transformCellText: ({ text }: TransformCellTextProps) => any;
|
|
26
|
+
/**
|
|
27
|
+
* 设置为 false 时,移除按钮中 2 个汉字之间的空格
|
|
28
|
+
*/
|
|
29
|
+
export declare const autoInsertSpaceInButton = false;
|
|
30
|
+
/**
|
|
31
|
+
* antdv的configProvider预设
|
|
32
|
+
*/
|
|
33
|
+
export declare const antdConfigProviderPresets: Partial<ConfigProviderProps>;
|
|
34
|
+
/**
|
|
35
|
+
* 预设和antd provider config合并 合并规则,未自定义时才使用默认预设
|
|
36
|
+
* @param config
|
|
37
|
+
* @returns
|
|
38
|
+
*/
|
|
39
|
+
export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
|
|
40
|
+
theme?: ThemeConfig | undefined;
|
|
41
|
+
direction?: "ltr" | "rtl" | undefined;
|
|
42
|
+
input?: {
|
|
43
|
+
autocomplete?: string | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
select?: {
|
|
46
|
+
showSearch?: boolean | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
form?: {
|
|
49
|
+
validateMessages?: ValidateMessages | undefined;
|
|
50
|
+
requiredMark?: RequiredMark | undefined;
|
|
51
|
+
colon?: boolean | undefined;
|
|
52
|
+
} | undefined;
|
|
53
|
+
csp?: CSPConfig | undefined;
|
|
54
|
+
locale?: Locale | undefined;
|
|
55
|
+
pageHeader?: {
|
|
56
|
+
ghost?: boolean | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
space?: {
|
|
59
|
+
size?: number | ButtonSize;
|
|
60
|
+
} | undefined;
|
|
61
|
+
dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
62
|
+
pagination?: {
|
|
63
|
+
showSizeChanger?: boolean | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
wave?: {
|
|
66
|
+
disabled?: boolean | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
getPopupContainer?: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
|
|
69
|
+
prefixCls?: string | undefined;
|
|
70
|
+
iconPrefixCls?: string | undefined;
|
|
71
|
+
getTargetContainer?: (() => Window | HTMLElement) | undefined;
|
|
72
|
+
getPrefixCls?: ((suffixCls?: string | undefined, customizePrefixCls?: string | undefined) => string) | undefined;
|
|
73
|
+
renderEmpty?: __DTS_DEFAULT_0__ | undefined;
|
|
74
|
+
transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
|
|
75
|
+
autoInsertSpaceInButton?: boolean | undefined;
|
|
76
|
+
componentSize?: ButtonSize;
|
|
77
|
+
componentDisabled?: boolean | undefined;
|
|
78
|
+
virtual?: boolean | undefined;
|
|
79
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { isUndefined as u } from "lodash-unified";
|
|
2
|
+
const c = (n) => n != null && n.className && ["ant-tooltip-open"].includes(n == null ? void 0 : n.className) ? document == null ? void 0 : document.body : (n == null ? void 0 : n.parentNode) || (document == null ? void 0 : document.body), a = ({ text: n }) => {
|
|
3
|
+
const o = (s) => s == null || s === "";
|
|
4
|
+
return Array.isArray(n) ? o(n[0]) ? "--" : n[0] : o(n) ? "--" : n;
|
|
5
|
+
}, f = !1, t = {
|
|
6
|
+
getPopupContainer: c,
|
|
7
|
+
transformCellText: a,
|
|
8
|
+
autoInsertSpaceInButton: f
|
|
9
|
+
};
|
|
10
|
+
function l(n) {
|
|
11
|
+
const o = {
|
|
12
|
+
...n
|
|
13
|
+
}, s = Object.keys(
|
|
14
|
+
t
|
|
15
|
+
);
|
|
16
|
+
for (const e of s)
|
|
17
|
+
u(o[e]) && (o[e] = t[e]);
|
|
18
|
+
return o;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
t as antdConfigProviderPresets,
|
|
22
|
+
f as autoInsertSpaceInButton,
|
|
23
|
+
c as getPopupContainer,
|
|
24
|
+
l as mergeAntdProvideConfig,
|
|
25
|
+
a as transformCellText
|
|
26
|
+
};
|
package/es/src/utils/index.d.ts
CHANGED
|
@@ -4,3 +4,11 @@
|
|
|
4
4
|
export declare function getPopupContainer(node?: HTMLElement): HTMLElement;
|
|
5
5
|
export declare function isDef<T = unknown>(val?: T): val is T;
|
|
6
6
|
export declare function getDynamicProps<T extends Record<string, unknown>, U>(props: T): Partial<U>;
|
|
7
|
+
/**
|
|
8
|
+
* 按条件移除
|
|
9
|
+
* @param obj
|
|
10
|
+
* @param when
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
export declare function omitWhen<T extends object, K extends keyof T>(obj: T, fieldList?: K[], when?: (field: string, fieldValue: T[K]) => boolean): Omit<T, K>;
|
|
14
|
+
export declare function isPascalCase(str: string): boolean;
|
package/es/src/utils/index.mjs
CHANGED
|
@@ -1,18 +1,31 @@
|
|
|
1
|
-
import { unref as
|
|
2
|
-
function
|
|
1
|
+
import { unref as s } from "vue";
|
|
2
|
+
function f(t) {
|
|
3
3
|
return (t == null ? void 0 : t.parentNode) ?? document.body;
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function a(t) {
|
|
6
6
|
return typeof t < "u";
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function l(t) {
|
|
9
9
|
const n = {};
|
|
10
10
|
return Object.keys(t).map((e) => {
|
|
11
|
-
n[e] =
|
|
11
|
+
n[e] = s(t[e]);
|
|
12
12
|
}), n;
|
|
13
13
|
}
|
|
14
|
+
function p(t, n = [], e) {
|
|
15
|
+
const r = Object.assign({}, t), i = Object.keys(r);
|
|
16
|
+
for (let c = 0; c < i.length; c += 1) {
|
|
17
|
+
const o = i[c];
|
|
18
|
+
(n.includes(o) || e != null && e(o, r[o])) && delete r[o];
|
|
19
|
+
}
|
|
20
|
+
return r;
|
|
21
|
+
}
|
|
22
|
+
function g(t) {
|
|
23
|
+
return /^[A-Z][A-Za-z]*$/.test(t);
|
|
24
|
+
}
|
|
14
25
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
26
|
+
l as getDynamicProps,
|
|
27
|
+
f as getPopupContainer,
|
|
28
|
+
a as isDef,
|
|
29
|
+
g as isPascalCase,
|
|
30
|
+
p as omitWhen
|
|
18
31
|
};
|
package/es/src/utils/tree.mjs
CHANGED
|
@@ -1,23 +1,113 @@
|
|
|
1
|
-
const
|
|
1
|
+
const d = {
|
|
2
2
|
id: "id",
|
|
3
3
|
children: "children",
|
|
4
4
|
pid: "pid"
|
|
5
|
-
},
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
const
|
|
5
|
+
}, l = (r) => Object.assign({}, d, r);
|
|
6
|
+
function a(r, s = {}) {
|
|
7
|
+
const e = l(s), t = /* @__PURE__ */ new Map(), n = [], { id: o, children: i, pid: u } = e;
|
|
8
|
+
for (const c of r)
|
|
9
|
+
c[i] = c[i] || [], t.set(c[o], c);
|
|
10
|
+
for (const c of r) {
|
|
11
|
+
const h = t.get(c[u]);
|
|
12
|
+
(h ? h[i] : n).push(c);
|
|
13
|
+
}
|
|
14
|
+
return n;
|
|
15
|
+
}
|
|
16
|
+
function w(r, s = {}) {
|
|
17
|
+
s = l(s);
|
|
18
|
+
const { children: e } = s, t = [...r];
|
|
9
19
|
for (let n = 0; n < t.length; n++)
|
|
10
20
|
t[n][e] && t.splice(n + 1, 0, ...t[n][e]);
|
|
11
21
|
return t;
|
|
12
22
|
}
|
|
13
|
-
function
|
|
14
|
-
e =
|
|
15
|
-
const { children: t } = e, n = [...
|
|
16
|
-
for (const o of n)
|
|
17
|
-
|
|
18
|
-
|
|
23
|
+
function A(r, s, e = {}) {
|
|
24
|
+
e = l(e);
|
|
25
|
+
const { children: t } = e, n = [...r];
|
|
26
|
+
for (const o of n) {
|
|
27
|
+
if (s(o))
|
|
28
|
+
return o;
|
|
29
|
+
o[t] && n.push(...o[t]);
|
|
30
|
+
}
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
function T(r, s, e = {}) {
|
|
34
|
+
e = l(e);
|
|
35
|
+
const { children: t } = e, n = [...r], o = [];
|
|
36
|
+
for (const i of n)
|
|
37
|
+
s(i) && o.push(i), i[t] && n.push(...i[t]);
|
|
38
|
+
return o;
|
|
39
|
+
}
|
|
40
|
+
function E(r, s, e = {}) {
|
|
41
|
+
e = l(e);
|
|
42
|
+
const t = [], n = [...r], o = /* @__PURE__ */ new Set(), { children: i } = e;
|
|
43
|
+
for (; n.length; ) {
|
|
44
|
+
const u = n[0];
|
|
45
|
+
if (o.has(u))
|
|
46
|
+
t.pop(), n.shift();
|
|
47
|
+
else if (o.add(u), u[i] && n.unshift(...u[i]), t.push(u), s(u))
|
|
48
|
+
return t;
|
|
49
|
+
}
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
function M(r, s, e = {}) {
|
|
53
|
+
e = l(e);
|
|
54
|
+
const t = [], n = [...r], o = [], i = /* @__PURE__ */ new Set(), { children: u } = e;
|
|
55
|
+
for (; n.length; ) {
|
|
56
|
+
const c = n[0];
|
|
57
|
+
i.has(c) ? (t.pop(), n.shift()) : (i.add(c), c[u] && n.unshift(...c[u]), t.push(c), s(c) && o.push([...t]));
|
|
58
|
+
}
|
|
59
|
+
return o;
|
|
60
|
+
}
|
|
61
|
+
function N(r, s, e = {}) {
|
|
62
|
+
e = l(e);
|
|
63
|
+
const t = e.children;
|
|
64
|
+
function n(o) {
|
|
65
|
+
return o.map((i) => ({ ...i })).filter((i) => (i[t] = i[t] && n(i[t]), s(i) || i[t] && i[t].length));
|
|
66
|
+
}
|
|
67
|
+
return n(r);
|
|
68
|
+
}
|
|
69
|
+
function S(r, s, e = {}) {
|
|
70
|
+
e = l(e);
|
|
71
|
+
const t = [...r], { children: n } = e;
|
|
72
|
+
for (let o = 0; o < t.length; o++) {
|
|
73
|
+
if (s(t[o]))
|
|
74
|
+
return;
|
|
75
|
+
n && t[o][n] && t.splice(o + 1, 0, ...t[o][n]);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function v(r, s) {
|
|
79
|
+
return r.map((e) => f(e, s));
|
|
80
|
+
}
|
|
81
|
+
function f(r, { children: s = "children", conversion: e }) {
|
|
82
|
+
const t = Array.isArray(r[s]) && r[s].length > 0, n = e(r) || {};
|
|
83
|
+
return t ? {
|
|
84
|
+
...n,
|
|
85
|
+
[s]: r[s].map(
|
|
86
|
+
(o) => f(o, {
|
|
87
|
+
children: s,
|
|
88
|
+
conversion: e
|
|
89
|
+
})
|
|
90
|
+
)
|
|
91
|
+
} : {
|
|
92
|
+
...n
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
function p(r, s, e = {}) {
|
|
96
|
+
r.forEach((t) => {
|
|
97
|
+
const n = s(t, e) || t;
|
|
98
|
+
t.children && p(t.children, s, n);
|
|
99
|
+
});
|
|
19
100
|
}
|
|
20
101
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
102
|
+
p as eachTree,
|
|
103
|
+
N as filter,
|
|
104
|
+
A as findNode,
|
|
105
|
+
T as findNodeAll,
|
|
106
|
+
E as findPath,
|
|
107
|
+
M as findPathAll,
|
|
108
|
+
S as forEach,
|
|
109
|
+
a as listToTree,
|
|
110
|
+
v as treeMap,
|
|
111
|
+
f as treeMapEach,
|
|
112
|
+
w as treeToList
|
|
23
113
|
};
|
package/es/src/utils/uuid.mjs
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
const
|
|
2
|
-
for (let
|
|
3
|
-
|
|
4
|
-
function
|
|
5
|
-
let
|
|
6
|
-
for (let
|
|
7
|
-
|
|
8
|
-
return
|
|
1
|
+
const n = [];
|
|
2
|
+
for (let t = 0; t <= 15; t++)
|
|
3
|
+
n[t] = t.toString(16);
|
|
4
|
+
function i() {
|
|
5
|
+
let t = "";
|
|
6
|
+
for (let e = 1; e <= 36; e++)
|
|
7
|
+
e === 9 || e === 14 || e === 19 || e === 24 ? t += "-" : e === 15 ? t += 4 : e === 20 ? t += n[Math.random() * 4 | 8] : t += n[Math.random() * 16 | 0];
|
|
8
|
+
return t.replace(/-/g, "");
|
|
9
|
+
}
|
|
10
|
+
let o = 0;
|
|
11
|
+
function l(t = "") {
|
|
12
|
+
const e = Date.now(), r = Math.floor(Math.random() * 1e9);
|
|
13
|
+
return o++, t + "_" + r + o + String(e);
|
|
9
14
|
}
|
|
10
15
|
export {
|
|
11
|
-
|
|
16
|
+
l as buildShortUUID,
|
|
17
|
+
i as buildUUID
|
|
12
18
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function createWorkOrderModal(api: (args?: any) => Promise<any>, getOssAccess: () => void): void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { render as t, h as m } from "vue";
|
|
2
|
+
import "./work-order-modal.vue2.mjs";
|
|
3
|
+
import i from "./work-order-modal.vue.mjs";
|
|
4
|
+
function p(n, d) {
|
|
5
|
+
const o = document.getElementsByTagName("body")[0], e = document.createElement("div");
|
|
6
|
+
o.appendChild(e), t(m(i, {
|
|
7
|
+
api: n,
|
|
8
|
+
getOssAccess: d,
|
|
9
|
+
onModalClose: r
|
|
10
|
+
}), e);
|
|
11
|
+
function r() {
|
|
12
|
+
setTimeout(() => {
|
|
13
|
+
t(null, e), o.removeChild(e);
|
|
14
|
+
}, 500);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
p as createWorkOrderModal
|
|
19
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { createElementVNode as e, defineComponent as o, openBlock as i, createBlock as n, unref as t, withCtx as l, createVNode as r } from "vue";
|
|
2
|
+
import { QuestionCircleOutlined as s } from "@ant-design/icons-vue";
|
|
3
|
+
import { Tooltip as a } from "ant-design-vue";
|
|
4
|
+
const c = /* @__PURE__ */ e("div", { class: "title" }, [
|
|
5
|
+
/* @__PURE__ */ e("div", { class: "flex" }, [
|
|
6
|
+
/* @__PURE__ */ e("div", null, "1."),
|
|
7
|
+
/* @__PURE__ */ e("div", null, "单个文件大小限制:50MB")
|
|
8
|
+
]),
|
|
9
|
+
/* @__PURE__ */ e("div", { class: "flex" }, [
|
|
10
|
+
/* @__PURE__ */ e("div", null, "2."),
|
|
11
|
+
/* @__PURE__ */ e("div", null, "单次数量限制:10个")
|
|
12
|
+
])
|
|
13
|
+
], -1), v = /* @__PURE__ */ o({
|
|
14
|
+
__name: "help-message",
|
|
15
|
+
setup(d) {
|
|
16
|
+
return (p, m) => (i(), n(t(a), { placement: "right" }, {
|
|
17
|
+
title: l(() => [
|
|
18
|
+
c
|
|
19
|
+
]),
|
|
20
|
+
default: l(() => [
|
|
21
|
+
r(t(s), { style: {
|
|
22
|
+
color: "#1890FF",
|
|
23
|
+
fontSize: "16px",
|
|
24
|
+
transform: "translateX(6px)"
|
|
25
|
+
} })
|
|
26
|
+
]),
|
|
27
|
+
_: 1
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
v as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ModalProps } from 'ant-design-vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 表单项
|
|
5
|
+
*/
|
|
6
|
+
export interface WorkOrderInfo {
|
|
7
|
+
ticketsTitle: string;
|
|
8
|
+
ticketsType: string;
|
|
9
|
+
ticketsContent: string;
|
|
10
|
+
ticketsLevel: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 字典
|
|
14
|
+
*/
|
|
15
|
+
export declare enum DictCode {
|
|
16
|
+
TicketsStatus = "aplus_tickets_status",
|
|
17
|
+
TicketsType = "tickets_type",
|
|
18
|
+
TicketsLevel = "tickets_level"
|
|
19
|
+
}
|
|
20
|
+
export interface WorkOrderModalProps extends ModalProps {
|
|
21
|
+
api: (args?: any) => Promise<any>;
|
|
22
|
+
getOssAccess: () => void;
|
|
23
|
+
}
|