@aplus-frontend/ui 0.1.21 → 0.1.23
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 +176 -170
- package/es/src/ap-action/group/index.vue.d.ts +7 -6
- package/es/src/ap-action/item/index.vue.d.ts +20 -14
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
- package/es/src/ap-action/item-modal/index.vue.d.ts +20 -14
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
- package/es/src/ap-custom-column/column-select.vue.mjs +47 -46
- package/es/src/ap-custom-column/custom-column.vue.mjs +36 -35
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
- package/es/src/ap-download/ap-download.vue.d.ts +17 -12
- package/es/src/ap-field/checkbox/index.vue.d.ts +6 -5
- package/es/src/ap-field/date/index.vue.d.ts +18 -12
- package/es/src/ap-field/date-range/index.vue.d.ts +25 -19
- package/es/src/ap-field/number/index.vue.d.ts +459 -12
- package/es/src/ap-field/radio/index.vue.d.ts +6 -5
- package/es/src/ap-field/rate/index.vue.d.ts +138 -16
- package/es/src/ap-field/segmented/index.vue.d.ts +25 -19
- package/es/src/ap-field/select/index.vue.d.ts +597 -16
- package/es/src/ap-field/select/index.vue.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +375 -12
- package/es/src/ap-field/switch/index.vue.d.ts +16 -11
- package/es/src/ap-field/text/index.vue.d.ts +19 -13
- package/es/src/ap-field/text/password.vue.d.ts +19 -13
- package/es/src/ap-field/text-area/index.vue.d.ts +7 -6
- package/es/src/ap-field/text-area/index.vue.mjs +1 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
- package/es/src/ap-form/ap-form-item.vue.d.ts +1008 -12
- package/es/src/ap-form/ap-form-item.vue.mjs +47 -44
- package/es/src/ap-form/ap-form-list.vue.d.ts +12 -7
- package/es/src/ap-form/ap-form.vue.d.ts +884 -13
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
- package/es/src/ap-form/items/date/index.vue.d.ts +40 -35
- package/es/src/ap-form/items/date-range/index.vue.d.ts +39 -34
- package/es/src/ap-form/items/number/index.vue.d.ts +583 -27
- package/es/src/ap-form/items/radio/index.vue.d.ts +217 -13
- package/es/src/ap-form/items/select/index.vue.d.ts +43 -38
- package/es/src/ap-form/items/switch/index.vue.d.ts +24 -19
- package/es/src/ap-form/items/text/index.vue.d.ts +591 -25
- package/es/src/ap-form/items/text/password.vue.d.ts +658 -27
- package/es/src/ap-form/items/text-area/index.vue.d.ts +486 -13
- package/es/src/ap-form/modal-form/index.vue.d.ts +650 -16
- package/es/src/ap-form/search-form/index.vue.d.ts +652 -18
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
- package/es/src/ap-list/index.vue.d.ts +5 -5
- package/es/src/ap-modal/utils/createModal.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +5 -5
- package/es/src/ap-table/ap-table.vue.mjs +202 -198
- package/es/src/ap-table/components/index/index.vue.d.ts +4 -4
- package/es/src/ap-table/constants.d.ts +1071 -1072
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -1
- package/es/src/ap-table/interface.d.ts +1 -1
- package/es/src/ap-table/style/ap-table.css +3 -0
- package/es/src/ap-table/utils.d.ts +586 -587
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
- package/es/src/ap-tag/ap-tag.vue.d.ts +5 -5
- package/es/src/base-button/button.vue.d.ts +17 -12
- package/es/src/base-button/index.d.ts +30 -30
- package/es/src/basic/index.d.ts +6 -6
- package/es/src/basic/title.vue.d.ts +16 -11
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
- package/es/src/business/ap-image/ApImage.vue.d.ts +22 -1
- package/es/src/business/ap-image/ApImage.vue2.mjs +23 -23
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
- package/es/src/business/ap-label/ApLabel.d.ts +2 -2
- package/es/src/business/ap-label/ApLabel.mjs +8 -7
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/es/src/business/ap-status/ApStatus.vue.d.ts +5 -5
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +41 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +29 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +28 -0
- package/es/src/business/ap-table-modal/index.d.ts +538 -0
- package/es/src/business/ap-table-modal/index.mjs +11 -0
- package/es/src/business/ap-table-modal/interface.d.ts +63 -0
- package/es/src/business/ap-table-modal/interface.mjs +4 -0
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
- package/es/src/business/ap-table-modal/modal-title.vue.mjs +4 -0
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +50 -0
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
- package/es/src/business/ap-table-modal/table-modal.vue.mjs +4 -0
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +177 -0
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
- package/es/src/business/index.d.ts +140 -131
- package/es/src/business/index.mjs +18 -16
- package/es/src/business/title/ApTitle.vue.d.ts +17 -12
- package/es/src/button/button.vue.d.ts +12 -7
- package/es/src/button/index.d.ts +2 -2
- package/es/src/check-card/group.vue.d.ts +18 -13
- package/es/src/check-card/index.vue.d.ts +16 -11
- package/es/src/config-provider/config-provider-props.d.ts +6 -4
- package/es/src/config-provider/config-provider.d.ts +5 -5
- package/es/src/config-provider/hooks/use-global-config.d.ts +2 -1
- package/es/src/config-provider/index.d.ts +17 -17
- package/es/src/container/index.d.ts +4 -4
- package/es/src/container/scroll-container.vue.d.ts +181 -8
- package/es/src/count-down/button.vue.d.ts +4 -4
- package/es/src/count-down/index.d.ts +8 -8
- package/es/src/count-down/input.vue.d.ts +16 -11
- package/es/src/cropper/cropper-avatar.vue.d.ts +4 -4
- package/es/src/cropper/cropper-image.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +4 -4
- package/es/src/description/index.d.ts +2 -2
- package/es/src/dropdown/dropdown.vue.d.ts +16 -11
- package/es/src/dropdown/index.d.ts +2 -2
- package/es/src/editable-table/form-item.vue.d.ts +5 -5
- package/es/src/editable-table/form-item.vue.mjs +48 -48
- package/es/src/editable-table/hooks/use-get-columns.mjs +64 -56
- package/es/src/editable-table/index.vue.d.ts +6 -6
- package/es/src/editable-table/interface.d.ts +2 -2
- package/es/src/editable-table/utils.mjs +17 -17
- package/es/src/icon/icon.vue.d.ts +4 -5
- package/es/src/icon/index.d.ts +16 -16
- package/es/src/icon/svg-icon.vue.d.ts +4 -4
- package/es/src/icon-picker/icon-picker.vue.d.ts +4 -4
- package/es/src/icon-picker/index.d.ts +2 -2
- package/es/src/index.mjs +69 -63
- package/es/src/locale/lang/en.mjs +25 -0
- package/es/src/locale/lang/zh-cn.mjs +25 -0
- package/es/src/modal/basic.vue.d.ts +210 -5
- package/es/src/modal/components/modal-close.vue.d.ts +4 -4
- package/es/src/modal/components/modal-footer.vue.d.ts +10 -5
- package/es/src/modal/components/modal-wrapper.vue.d.ts +77 -4
- package/es/src/modal/components/modal.d.ts +1 -1
- package/es/src/modal/index.d.ts +5 -5
- package/es/src/pro-form/components/api-cascader.vue.d.ts +4 -4
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
- package/es/src/pro-form/components/api-select.vue.d.ts +16 -11
- package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
- package/es/src/pro-form/components/api-tree.vue.d.ts +16 -11
- package/es/src/pro-form/components/form-action.vue.d.ts +19 -14
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
- package/es/src/pro-form/hooks/use-label-width.d.ts +25 -25
- package/es/src/pro-form/pro-form.vue.d.ts +888 -15
- package/es/src/pro-form/table-form-inner.vue.d.ts +6 -5
- package/es/src/pro-form/table-form.vue.d.ts +6 -5
- package/es/src/pro-form/types/form.d.ts +4 -4
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +7 -2
- package/es/src/pro-table/components/table-footer.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-header.vue.d.ts +9 -4
- package/es/src/pro-table/components/table-image.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
- package/es/src/pro-table/pro-table.vue.d.ts +2049 -28
- package/es/src/prompt/utils.d.ts +1 -1
- package/es/src/scroll-bar/index.d.ts +2 -2
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
- package/es/src/strength-meter/index.d.ts +2 -2
- package/es/src/strength-meter/strength-meter.vue.d.ts +16 -11
- package/es/src/theme/antd-global-overwrite/admin/index.css +1 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +1 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +1 -0
- package/es/src/theme/antd-global-overwrite/aplus/table.css +1 -0
- package/es/src/theme/ap-table/ap-table.css +3 -0
- package/es/src/transition/collapse-transition.vue.d.ts +7 -2
- package/es/src/utils/config-provider-preset.d.ts +5 -5
- package/es/src/work-order-modal/createWorkOrder.mjs +20 -12
- package/es/src/work-order-modal/help-message.vue2.mjs +21 -18
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.mjs +64 -62
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +7 -6
- package/lib/src/ap-action/item/index.vue.d.ts +20 -14
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
- package/lib/src/ap-action/item-modal/index.vue.d.ts +20 -14
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
- package/lib/src/ap-download/ap-download.vue.d.ts +17 -12
- package/lib/src/ap-field/checkbox/index.vue.d.ts +6 -5
- package/lib/src/ap-field/date/index.vue.d.ts +18 -12
- package/lib/src/ap-field/date-range/index.vue.d.ts +25 -19
- package/lib/src/ap-field/number/index.vue.d.ts +459 -12
- package/lib/src/ap-field/radio/index.vue.d.ts +6 -5
- package/lib/src/ap-field/rate/index.vue.d.ts +138 -16
- package/lib/src/ap-field/segmented/index.vue.d.ts +25 -19
- package/lib/src/ap-field/select/index.vue.d.ts +597 -16
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +375 -12
- package/lib/src/ap-field/switch/index.vue.d.ts +16 -11
- package/lib/src/ap-field/text/index.vue.d.ts +19 -13
- package/lib/src/ap-field/text/password.vue.d.ts +19 -13
- package/lib/src/ap-field/text-area/index.vue.d.ts +7 -6
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
- package/lib/src/ap-form/ap-form-item.vue.d.ts +1008 -12
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-list.vue.d.ts +12 -7
- package/lib/src/ap-form/ap-form.vue.d.ts +884 -13
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
- package/lib/src/ap-form/items/date/index.vue.d.ts +40 -35
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +39 -34
- package/lib/src/ap-form/items/number/index.vue.d.ts +583 -27
- package/lib/src/ap-form/items/radio/index.vue.d.ts +217 -13
- package/lib/src/ap-form/items/select/index.vue.d.ts +43 -38
- package/lib/src/ap-form/items/switch/index.vue.d.ts +24 -19
- package/lib/src/ap-form/items/text/index.vue.d.ts +591 -25
- package/lib/src/ap-form/items/text/password.vue.d.ts +658 -27
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +486 -13
- package/lib/src/ap-form/modal-form/index.vue.d.ts +650 -16
- package/lib/src/ap-form/search-form/index.vue.d.ts +652 -18
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
- package/lib/src/ap-list/index.vue.d.ts +5 -5
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +5 -5
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +4 -4
- package/lib/src/ap-table/constants.d.ts +1071 -1072
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -1
- package/lib/src/ap-table/interface.d.ts +1 -1
- package/lib/src/ap-table/style/ap-table.css +3 -0
- package/lib/src/ap-table/utils.d.ts +586 -587
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
- package/lib/src/ap-tag/ap-tag.vue.d.ts +5 -5
- package/lib/src/base-button/button.vue.d.ts +17 -12
- package/lib/src/base-button/index.d.ts +30 -30
- package/lib/src/basic/index.d.ts +6 -6
- package/lib/src/basic/title.vue.d.ts +16 -11
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
- package/lib/src/business/ap-image/ApImage.vue.d.ts +22 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
- package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +5 -5
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -0
- package/lib/src/business/ap-table-modal/index.d.ts +538 -0
- package/lib/src/business/ap-table-modal/index.js +1 -0
- package/lib/src/business/ap-table-modal/interface.d.ts +63 -0
- package/lib/src/business/ap-table-modal/interface.js +1 -0
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
- package/lib/src/business/ap-table-modal/modal-title.vue.js +1 -0
- package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.js +1 -0
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -0
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
- package/lib/src/business/index.d.ts +140 -131
- package/lib/src/business/index.js +1 -1
- package/lib/src/business/title/ApTitle.vue.d.ts +17 -12
- package/lib/src/button/button.vue.d.ts +12 -7
- package/lib/src/button/index.d.ts +2 -2
- package/lib/src/check-card/group.vue.d.ts +18 -13
- package/lib/src/check-card/index.vue.d.ts +16 -11
- package/lib/src/config-provider/config-provider-props.d.ts +6 -4
- package/lib/src/config-provider/config-provider.d.ts +5 -5
- package/lib/src/config-provider/hooks/use-global-config.d.ts +2 -1
- package/lib/src/config-provider/index.d.ts +17 -17
- package/lib/src/container/index.d.ts +4 -4
- package/lib/src/container/scroll-container.vue.d.ts +181 -8
- package/lib/src/count-down/button.vue.d.ts +4 -4
- package/lib/src/count-down/index.d.ts +8 -8
- package/lib/src/count-down/input.vue.d.ts +16 -11
- package/lib/src/cropper/cropper-avatar.vue.d.ts +4 -4
- package/lib/src/cropper/cropper-image.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +4 -4
- package/lib/src/description/index.d.ts +2 -2
- package/lib/src/dropdown/dropdown.vue.d.ts +16 -11
- package/lib/src/dropdown/index.d.ts +2 -2
- package/lib/src/editable-table/form-item.vue.d.ts +5 -5
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +6 -6
- package/lib/src/editable-table/interface.d.ts +2 -2
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/icon/icon.vue.d.ts +4 -5
- package/lib/src/icon/index.d.ts +16 -16
- package/lib/src/icon/svg-icon.vue.d.ts +4 -4
- package/lib/src/icon-picker/icon-picker.vue.d.ts +4 -4
- package/lib/src/icon-picker/index.d.ts +2 -2
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +210 -5
- package/lib/src/modal/components/modal-close.vue.d.ts +4 -4
- package/lib/src/modal/components/modal-footer.vue.d.ts +10 -5
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +77 -4
- package/lib/src/modal/components/modal.d.ts +1 -1
- package/lib/src/modal/index.d.ts +5 -5
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +4 -4
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
- package/lib/src/pro-form/components/api-select.vue.d.ts +16 -11
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
- package/lib/src/pro-form/components/api-tree.vue.d.ts +16 -11
- package/lib/src/pro-form/components/form-action.vue.d.ts +19 -14
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
- package/lib/src/pro-form/hooks/use-label-width.d.ts +25 -25
- package/lib/src/pro-form/pro-form.vue.d.ts +888 -15
- package/lib/src/pro-form/table-form-inner.vue.d.ts +6 -5
- package/lib/src/pro-form/table-form.vue.d.ts +6 -5
- package/lib/src/pro-form/types/form.d.ts +4 -4
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +7 -2
- package/lib/src/pro-table/components/table-footer.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-header.vue.d.ts +9 -4
- package/lib/src/pro-table/components/table-image.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
- package/lib/src/pro-table/pro-table.vue.d.ts +2049 -28
- package/lib/src/prompt/utils.d.ts +1 -1
- package/lib/src/scroll-bar/index.d.ts +2 -2
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
- package/lib/src/strength-meter/index.d.ts +2 -2
- package/lib/src/strength-meter/strength-meter.vue.d.ts +16 -11
- package/lib/src/theme/antd-global-overwrite/admin/index.css +1 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +1 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +1 -0
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +1 -0
- package/lib/src/theme/ap-table/ap-table.css +3 -0
- package/lib/src/transition/collapse-transition.vue.d.ts +7 -2
- package/lib/src/utils/config-provider-preset.d.ts +5 -5
- package/lib/src/work-order-modal/createWorkOrder.js +1 -1
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +3 -3
package/es/src/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Icon as n, SvgIcon as A } from "./icon/index.mjs";
|
|
2
2
|
import { APConfigProvider as T } from "./config-provider/index.mjs";
|
|
3
3
|
import { Scrollbar as C } from "./scroll-bar/index.mjs";
|
|
4
|
-
import { CollapseContainer as
|
|
4
|
+
import { CollapseContainer as b, ScrollContainer as I } from "./container/index.mjs";
|
|
5
5
|
import { IconPicker as D } from "./icon-picker/index.mjs";
|
|
6
6
|
import "./locale/index.mjs";
|
|
7
|
-
import { BasicArrow as h, BasicHelp as
|
|
8
|
-
import { ExpandTransition as
|
|
7
|
+
import { BasicArrow as h, BasicHelp as M, BasicTitle as R } from "./basic/index.mjs";
|
|
8
|
+
import { ExpandTransition as v, ExpandXTransition as B, FadeTransition as w, ScaleRotateTransition as k, ScaleTransition as L, ScrollXReverseTransition as N, ScrollXTransition as y, ScrollYReverseTransition as E, ScrollYTransition as K, SlideXReverseTransition as X, SlideXTransition as Y, SlideYReverseTransition as H, SlideYTransition as O } from "./transition/index.mjs";
|
|
9
9
|
import { Description as z } from "./description/index.mjs";
|
|
10
10
|
import { Field as j } from "./pro-form/index.mjs";
|
|
11
11
|
import { BaseButton as J } from "./base-button/index.mjs";
|
|
@@ -16,7 +16,7 @@ import { CountdownButton as to, CountdownInput as ao } from "./count-down/index.
|
|
|
16
16
|
import { createPrompt as fo } from "./prompt/index.mjs";
|
|
17
17
|
import { Dropdown as lo } from "./dropdown/index.mjs";
|
|
18
18
|
import "./pro-table/index.mjs";
|
|
19
|
-
import { ApForm as
|
|
19
|
+
import { ApForm as xo } from "./ap-form/index.mjs";
|
|
20
20
|
import { ApField as uo } from "./ap-field/index.mjs";
|
|
21
21
|
import { adminToken as Ao, aplusToken as co } from "./design-token/index.mjs";
|
|
22
22
|
import { ApActionItem as Fo } from "./ap-action/index.mjs";
|
|
@@ -27,9 +27,9 @@ import "./ap-layout/index.mjs";
|
|
|
27
27
|
import "./ap-upload/index.mjs";
|
|
28
28
|
import "./ap-download/index.mjs";
|
|
29
29
|
import { CheckCard as So } from "./check-card/index.mjs";
|
|
30
|
-
import { ApModal as
|
|
30
|
+
import { ApModal as Io } from "./ap-modal/index.mjs";
|
|
31
31
|
import "./ap-list/index.mjs";
|
|
32
|
-
import { ApBatchAction as Do, ApBatchActionGroup as Po, ApExpandAlert as ho, ApExportGroup as
|
|
32
|
+
import { ApBatchAction as Do, ApBatchActionGroup as Po, ApExpandAlert as ho, ApExportGroup as Mo, ApImage as Ro, ApInputRadio as Go, ApLabel as vo, ApLabelGroup as Bo, ApSelectLayout as wo, ApStatus as ko, ApStatusGroup as Lo, ApTitle as No } from "./business/index.mjs";
|
|
33
33
|
import "./ap-table/index.mjs";
|
|
34
34
|
import "./editable-table/index.mjs";
|
|
35
35
|
import "./ap-descriptions/index.mjs";
|
|
@@ -42,16 +42,16 @@ import { ConfigProvider as te, globalConfigCached as ae } from "./config-provide
|
|
|
42
42
|
import { default as fe } from "./locale/lang/zh-cn.mjs";
|
|
43
43
|
import { default as le } from "./locale/lang/en.mjs";
|
|
44
44
|
import { default as se } from "./transition/collapse-transition.vue.mjs";
|
|
45
|
-
import { useDescription as
|
|
45
|
+
import { useDescription as ie } from "./description/use-description.mjs";
|
|
46
46
|
import { useComponentRegister as ne } from "./pro-form/hooks/use-component-register.mjs";
|
|
47
47
|
import { useForm as ce } from "./pro-form/hooks/use-form.mjs";
|
|
48
48
|
import { isComponentFormSchema as Fe, isSlotFormSchema as Ce } from "./pro-form/types/form.mjs";
|
|
49
|
-
import { default as
|
|
49
|
+
import { default as be } from "./pro-form/components/api-cascader.vue.mjs";
|
|
50
50
|
import { default as ge } from "./pro-form/components/api-radio-group.vue.mjs";
|
|
51
51
|
import { default as Pe } from "./pro-form/components/api-select.vue.mjs";
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
52
|
+
import { default as Me } from "./pro-form/components/api-transfer.vue.mjs";
|
|
53
|
+
import { default as Ge } from "./pro-form/components/api-tree.vue.mjs";
|
|
54
|
+
import { default as Be } from "./pro-form/components/radio-button-group.vue.mjs";
|
|
55
55
|
import { default as ke } from "./pro-form/pro-form.vue.mjs";
|
|
56
56
|
import { default as Ne } from "./pro-form/components/api-tree-select.vue.mjs";
|
|
57
57
|
import { default as Ee } from "./pro-form/table-form.vue.mjs";
|
|
@@ -68,17 +68,17 @@ import { useTable as ar } from "./pro-table/hooks/use-table.mjs";
|
|
|
68
68
|
import { ApFormItemText as fr } from "./ap-form/items/text/index.mjs";
|
|
69
69
|
import { default as lr } from "./ap-form/items/text-area/index.vue.mjs";
|
|
70
70
|
import { default as sr } from "./ap-form/items/number/index.vue.mjs";
|
|
71
|
-
import { default as
|
|
71
|
+
import { default as ir } from "./ap-form/items/date/index.vue.mjs";
|
|
72
72
|
import { default as nr } from "./ap-form/items/date-range/index.vue.mjs";
|
|
73
73
|
import { default as cr } from "./ap-form/items/radio/index.vue.mjs";
|
|
74
74
|
import { default as Fr } from "./ap-form/items/select/index.vue.mjs";
|
|
75
75
|
import { default as Sr } from "./ap-form/items/switch/index.vue.mjs";
|
|
76
|
-
import { default as
|
|
76
|
+
import { default as Ir } from "./ap-form/items/checkbox/index.vue.mjs";
|
|
77
77
|
import { default as Dr } from "./ap-form/items/text/password.vue.mjs";
|
|
78
78
|
import { default as hr } from "./ap-form/ap-form-item.vue.mjs";
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
79
|
+
import { default as Rr } from "./ap-form/ap-form-item-group/index.vue.mjs";
|
|
80
|
+
import { default as vr } from "./ap-form/ap-form-list.vue.mjs";
|
|
81
|
+
import { default as wr } from "./ap-form/search-form/index.vue.mjs";
|
|
82
82
|
import { default as Lr } from "./ap-form/modal-form/index.vue.mjs";
|
|
83
83
|
import { ApFieldText as yr } from "./ap-field/text/index.mjs";
|
|
84
84
|
import { default as Kr } from "./ap-field/checkbox/index.vue.mjs";
|
|
@@ -95,17 +95,17 @@ import { default as at } from "./ap-field/segmented/index.vue.mjs";
|
|
|
95
95
|
import { default as ft } from "./ap-field/rate/index.vue.mjs";
|
|
96
96
|
import { default as lt } from "./ap-action/item-modal/index.vue.mjs";
|
|
97
97
|
import { default as st } from "./ap-action/item-popconfirm/index.vue.mjs";
|
|
98
|
-
import { default as
|
|
98
|
+
import { default as it } from "./ap-action/item-dropdown/index.vue.mjs";
|
|
99
99
|
import { default as nt } from "./ap-action/group/index.vue.mjs";
|
|
100
100
|
import { generateTableList as ct } from "./ap-custom-column/utils.mjs";
|
|
101
101
|
import { useCacheColumnSetting as Ft } from "./ap-custom-column/useCacheColumnSetting.mjs";
|
|
102
102
|
import { default as St } from "./ap-custom-column/custom-column.vue.mjs";
|
|
103
|
-
import { default as
|
|
103
|
+
import { default as It } from "./ap-custom-column/column-select.vue.mjs";
|
|
104
104
|
import { DictCode as Dt } from "./work-order-modal/interfaces.mjs";
|
|
105
105
|
import { createWorkOrderModal as ht } from "./work-order-modal/createWorkOrder.mjs";
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as
|
|
108
|
-
import { default as
|
|
106
|
+
import { default as Rt } from "./work-order-modal/work-order-modal.vue.mjs";
|
|
107
|
+
import { default as vt } from "./ap-tag/ap-tag.vue.mjs";
|
|
108
|
+
import { default as wt } from "./ap-tag/ap-tag-group.vue.mjs";
|
|
109
109
|
import { default as Lt } from "./ap-layout/ap-info-layout/ap-info-layout.vue.mjs";
|
|
110
110
|
import { NeedNameKeyDefault as yt } from "./ap-upload/apUploadTypes.mjs";
|
|
111
111
|
import { default as Kt } from "./ap-upload/apUpload.vue.mjs";
|
|
@@ -113,28 +113,31 @@ import { ApDownLoadNeedNameKeyDefault as Yt } from "./ap-download/interface.mjs"
|
|
|
113
113
|
import { default as Ot } from "./ap-download/ap-download.vue.mjs";
|
|
114
114
|
import { default as zt } from "./check-card/group.vue.mjs";
|
|
115
115
|
import { default as jt } from "./ap-list/index.vue.mjs";
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import { default as aa } from "./ap-
|
|
116
|
+
import { default as Jt } from "./business/ap-table-modal/index.mjs";
|
|
117
|
+
import { useTableModal as Vt } from "./business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
118
|
+
import { useTableSelectModal as _t } from "./business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
119
|
+
import { ApTransformDataHelper as oa } from "./utils/ap-trans-data/index.mjs";
|
|
120
|
+
import { useTablePaging as ra } from "./ap-table/hooks/use-table-paging.mjs";
|
|
121
|
+
import { default as aa } from "./ap-table/ap-table.vue.mjs";
|
|
122
|
+
import { default as fa } from "./editable-table/index.vue.mjs";
|
|
123
|
+
import { default as la } from "./editable-table/form-item.vue.mjs";
|
|
124
|
+
import { default as sa } from "./ap-descriptions/ap-descriptions.vue.mjs";
|
|
122
125
|
export {
|
|
123
126
|
T as APConfigProvider,
|
|
124
127
|
nt as ApActionGroup,
|
|
125
128
|
Fo as ApActionItem,
|
|
126
|
-
|
|
129
|
+
it as ApActionItemDropdown,
|
|
127
130
|
lt as ApActionItemModal,
|
|
128
131
|
st as ApActionItemPopconfirm,
|
|
129
132
|
Do as ApBatchAction,
|
|
130
133
|
Po as ApBatchActionGroup,
|
|
131
134
|
St as ApCustomColumn,
|
|
132
|
-
|
|
133
|
-
|
|
135
|
+
It as ApCustomSelect,
|
|
136
|
+
sa as ApDescriptions,
|
|
134
137
|
Yt as ApDownLoadNeedNameKeyDefault,
|
|
135
138
|
Ot as ApDownload,
|
|
136
139
|
ho as ApExpandAlert,
|
|
137
|
-
|
|
140
|
+
Mo as ApExportGroup,
|
|
138
141
|
uo as ApField,
|
|
139
142
|
Kr as ApFieldCheckbox,
|
|
140
143
|
Yr as ApFieldDate,
|
|
@@ -149,12 +152,12 @@ export {
|
|
|
149
152
|
jr as ApFieldSwitch,
|
|
150
153
|
yr as ApFieldText,
|
|
151
154
|
Jr as ApFieldTextArea,
|
|
152
|
-
|
|
155
|
+
xo as ApForm,
|
|
153
156
|
hr as ApFormItem,
|
|
154
|
-
|
|
155
|
-
|
|
157
|
+
Ir as ApFormItemCheckbox,
|
|
158
|
+
ir as ApFormItemDate,
|
|
156
159
|
nr as ApFormItemDateRange,
|
|
157
|
-
|
|
160
|
+
Rr as ApFormItemGroup,
|
|
158
161
|
sr as ApFormItemNumber,
|
|
159
162
|
cr as ApFormItemRadio,
|
|
160
163
|
Fr as ApFormItemSelect,
|
|
@@ -162,39 +165,40 @@ export {
|
|
|
162
165
|
fr as ApFormItemText,
|
|
163
166
|
lr as ApFormItemTextArea,
|
|
164
167
|
Dr as ApFormItemTextPassword,
|
|
165
|
-
|
|
168
|
+
vr as ApFormList,
|
|
166
169
|
Lr as ApFormModalForm,
|
|
167
|
-
|
|
168
|
-
|
|
170
|
+
wr as ApFormSearchForm,
|
|
171
|
+
Ro as ApImage,
|
|
169
172
|
Lt as ApInfoLayout,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
+
Go as ApInputRadio,
|
|
174
|
+
vo as ApLabel,
|
|
175
|
+
Bo as ApLabelGroup,
|
|
173
176
|
jt as ApList,
|
|
174
|
-
|
|
175
|
-
|
|
177
|
+
Io as ApModal,
|
|
178
|
+
wo as ApSelectLayout,
|
|
176
179
|
ko as ApStatus,
|
|
177
180
|
Lo as ApStatusGroup,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
+
aa as ApTable,
|
|
182
|
+
Jt as ApTableModal,
|
|
183
|
+
vt as ApTag,
|
|
184
|
+
wt as ApTagGroup,
|
|
181
185
|
No as ApTitle,
|
|
182
|
-
|
|
186
|
+
oa as ApTransformDataHelper,
|
|
183
187
|
Kt as ApUpload,
|
|
184
|
-
|
|
188
|
+
be as ApiCascader,
|
|
185
189
|
ge as ApiRadioGroup,
|
|
186
190
|
Pe as ApiSelect,
|
|
187
|
-
|
|
188
|
-
|
|
191
|
+
Me as ApiTransfer,
|
|
192
|
+
Ge as ApiTree,
|
|
189
193
|
Ne as ApiTreeSelect,
|
|
190
194
|
J as BaseButton,
|
|
191
195
|
_ as BaseModal,
|
|
192
196
|
h as BasicArrow,
|
|
193
|
-
|
|
194
|
-
|
|
197
|
+
M as BasicHelp,
|
|
198
|
+
R as BasicTitle,
|
|
195
199
|
So as CheckCard,
|
|
196
200
|
zt as CheckCardGroup,
|
|
197
|
-
|
|
201
|
+
b as CollapseContainer,
|
|
198
202
|
se as CollapseTransition,
|
|
199
203
|
te as ConfigProvider,
|
|
200
204
|
to as CountdownButton,
|
|
@@ -205,11 +209,11 @@ export {
|
|
|
205
209
|
Dt as DictCode,
|
|
206
210
|
lo as Dropdown,
|
|
207
211
|
or as EditTableHeaderIcon,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
212
|
+
fa as EditableTable,
|
|
213
|
+
la as EditableTableFormItem,
|
|
214
|
+
v as ExpandTransition,
|
|
215
|
+
B as ExpandXTransition,
|
|
216
|
+
w as FadeTransition,
|
|
213
217
|
j as Field,
|
|
214
218
|
n as Icon,
|
|
215
219
|
D as IconPicker,
|
|
@@ -220,10 +224,10 @@ export {
|
|
|
220
224
|
Ve as ProTable,
|
|
221
225
|
Ee as ProTableForm,
|
|
222
226
|
Xe as ProTableFormInner,
|
|
223
|
-
|
|
227
|
+
Be as RadioButtonGroup,
|
|
224
228
|
k as ScaleRotateTransition,
|
|
225
229
|
L as ScaleTransition,
|
|
226
|
-
|
|
230
|
+
I as ScrollContainer,
|
|
227
231
|
N as ScrollXReverseTransition,
|
|
228
232
|
y as ScrollXTransition,
|
|
229
233
|
E as ScrollYReverseTransition,
|
|
@@ -237,7 +241,7 @@ export {
|
|
|
237
241
|
A as SvgIcon,
|
|
238
242
|
_e as TableAction,
|
|
239
243
|
rr as TableImg,
|
|
240
|
-
|
|
244
|
+
Rt as WorkOrderModal,
|
|
241
245
|
Ao as adminToken,
|
|
242
246
|
co as aplusToken,
|
|
243
247
|
jo as buildLocaleContext,
|
|
@@ -260,7 +264,7 @@ export {
|
|
|
260
264
|
Qo as translate,
|
|
261
265
|
Ft as useCacheColumnSetting,
|
|
262
266
|
ne as useComponentRegister,
|
|
263
|
-
|
|
267
|
+
ie as useDescription,
|
|
264
268
|
ce as useForm,
|
|
265
269
|
oe as useGetDerivedNamespace,
|
|
266
270
|
zo as useGlobalConfig,
|
|
@@ -270,6 +274,8 @@ export {
|
|
|
270
274
|
Je as useModalInner,
|
|
271
275
|
ee as useNamespace,
|
|
272
276
|
ar as useTable,
|
|
273
|
-
Vt as
|
|
277
|
+
Vt as useTableModal,
|
|
278
|
+
ra as useTablePaging,
|
|
279
|
+
_t as useTableSelectModal,
|
|
274
280
|
fe as zhCn
|
|
275
281
|
};
|
|
@@ -111,6 +111,11 @@ const e = {
|
|
|
111
111
|
clickOrDragUpload: "Click or drag the file",
|
|
112
112
|
foldersNotSupported: "Do not support uploading folders"
|
|
113
113
|
},
|
|
114
|
+
apCustomColumn: {
|
|
115
|
+
title: "Custom table",
|
|
116
|
+
selectDes: "Please select the fields that you want to display in the table",
|
|
117
|
+
allSelect: "check all"
|
|
118
|
+
},
|
|
114
119
|
apExportGroup: {
|
|
115
120
|
exportError: "Export error",
|
|
116
121
|
exportSelected: "Export selected",
|
|
@@ -124,6 +129,26 @@ const e = {
|
|
|
124
129
|
},
|
|
125
130
|
apApBatchActionGroup: {
|
|
126
131
|
batchOperation: "Batch operation"
|
|
132
|
+
},
|
|
133
|
+
workOrderModal: {
|
|
134
|
+
createTickets: "Create ticket",
|
|
135
|
+
submit: "Confirm",
|
|
136
|
+
cancel: "Cancel",
|
|
137
|
+
ticketsTitle: "Ticket Title",
|
|
138
|
+
noEmpty: "No empty",
|
|
139
|
+
pleaseEntry: "please enter",
|
|
140
|
+
ticketsType: "Ticket Type",
|
|
141
|
+
ticketsDetail: "Ticket Detail",
|
|
142
|
+
ticketsLevel: "Priority",
|
|
143
|
+
operationSuccess: "operate successfully",
|
|
144
|
+
fileSizeMax: "Single file size limit",
|
|
145
|
+
fileCountMax: "Limit the number to {x} at a time"
|
|
146
|
+
},
|
|
147
|
+
apTableModal: {
|
|
148
|
+
titleSuffixOne: "You can add up to {maxCount},",
|
|
149
|
+
titleSuffixTwo: "Added",
|
|
150
|
+
titleSuffixThree: "",
|
|
151
|
+
messageMaxCount: "You can select up to {maxCount} data entries"
|
|
127
152
|
}
|
|
128
153
|
}
|
|
129
154
|
};
|
|
@@ -111,6 +111,11 @@ const e = {
|
|
|
111
111
|
clickOrDragUpload: "点击或将文件拖拽到这里上传",
|
|
112
112
|
foldersNotSupported: "不支持上传文件夹"
|
|
113
113
|
},
|
|
114
|
+
apCustomColumn: {
|
|
115
|
+
title: "自定义表格",
|
|
116
|
+
selectDes: "请选择需要展示在表格的字段",
|
|
117
|
+
allSelect: "全选"
|
|
118
|
+
},
|
|
114
119
|
apExportGroup: {
|
|
115
120
|
exportError: "导出失败",
|
|
116
121
|
exportSelected: "导出所选",
|
|
@@ -124,6 +129,26 @@ const e = {
|
|
|
124
129
|
},
|
|
125
130
|
apApBatchActionGroup: {
|
|
126
131
|
batchOperation: "批量操作"
|
|
132
|
+
},
|
|
133
|
+
workOrderModal: {
|
|
134
|
+
createTickets: "创建工单",
|
|
135
|
+
submit: "确定",
|
|
136
|
+
cancel: "取消",
|
|
137
|
+
ticketsTitle: "工单标题",
|
|
138
|
+
noEmpty: "不可为空",
|
|
139
|
+
pleaseEntry: "请输入",
|
|
140
|
+
ticketsType: "工单类型",
|
|
141
|
+
ticketsDetail: "工单详情",
|
|
142
|
+
ticketsLevel: "优先级",
|
|
143
|
+
operationSuccess: "操作成功",
|
|
144
|
+
fileSizeMax: "单个文件大小限制",
|
|
145
|
+
fileCountMax: "单次数量限制 {x} 个"
|
|
146
|
+
},
|
|
147
|
+
apTableModal: {
|
|
148
|
+
titleSuffixOne: "最多可添加{maxCount}个,",
|
|
149
|
+
titleSuffixTwo: "已添加",
|
|
150
|
+
titleSuffixThree: "个",
|
|
151
|
+
messageMaxCount: "最多选择{maxCount}条数据"
|
|
127
152
|
}
|
|
128
153
|
}
|
|
129
154
|
};
|
|
@@ -1,10 +1,215 @@
|
|
|
1
|
-
import { DefineComponent, PropType, VNodeChild, VNode, RendererNode, RendererElement, CSSProperties,
|
|
1
|
+
import { nextTick, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PropType, VNodeChild, VNode, RendererNode, RendererElement, CSSProperties, PublicProps } from 'vue';
|
|
2
2
|
import { ModalWrapperProps } from './interface';
|
|
3
3
|
import { ButtonType } from 'ant-design-vue/es/button';
|
|
4
4
|
import { ButtonProps } from 'ant-design-vue';
|
|
5
|
-
declare function __VLS_template():
|
|
6
|
-
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {
|
|
10
|
+
modalWrapperRef: ({
|
|
11
|
+
$: ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: Partial<{
|
|
14
|
+
open: boolean;
|
|
15
|
+
minHeight: number;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
footerOffset: number;
|
|
18
|
+
modalHeaderHeight: number;
|
|
19
|
+
modalFooterHeight: number;
|
|
20
|
+
fullScreen: boolean;
|
|
21
|
+
useWrapper: boolean;
|
|
22
|
+
}> & Omit<{
|
|
23
|
+
readonly open: boolean;
|
|
24
|
+
readonly minHeight: number;
|
|
25
|
+
readonly loading: boolean;
|
|
26
|
+
readonly footerOffset: number;
|
|
27
|
+
readonly modalHeaderHeight: number;
|
|
28
|
+
readonly modalFooterHeight: number;
|
|
29
|
+
readonly fullScreen: boolean;
|
|
30
|
+
readonly useWrapper: boolean;
|
|
31
|
+
readonly height?: number | undefined;
|
|
32
|
+
readonly loadingTip?: string | undefined;
|
|
33
|
+
"onHeight-change"?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
"onExt-height"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
36
|
+
loading: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
};
|
|
39
|
+
useWrapper: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
modalHeaderHeight: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
modalFooterHeight: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
minHeight: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
height: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
};
|
|
58
|
+
footerOffset: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
open: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
};
|
|
65
|
+
fullScreen: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
};
|
|
68
|
+
loadingTip: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
};
|
|
71
|
+
}>> & {
|
|
72
|
+
"onHeight-change"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
"onExt-height"?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
}, "open" | "minHeight" | "loading" | "footerOffset" | "modalHeaderHeight" | "modalFooterHeight" | "fullScreen" | "useWrapper">;
|
|
75
|
+
$attrs: {
|
|
76
|
+
[x: string]: unknown;
|
|
77
|
+
};
|
|
78
|
+
$refs: {
|
|
79
|
+
[x: string]: unknown;
|
|
80
|
+
};
|
|
81
|
+
$slots: Readonly<{
|
|
82
|
+
[name: string]: Slot<any> | undefined;
|
|
83
|
+
}>;
|
|
84
|
+
$root: ComponentPublicInstance | null;
|
|
85
|
+
$parent: ComponentPublicInstance | null;
|
|
86
|
+
$emit: ((event: "height-change", ...args: any[]) => void) & ((event: "ext-height", ...args: any[]) => void);
|
|
87
|
+
$el: any;
|
|
88
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
89
|
+
loading: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
};
|
|
92
|
+
useWrapper: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
modalHeaderHeight: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: number;
|
|
99
|
+
};
|
|
100
|
+
modalFooterHeight: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
minHeight: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
height: {
|
|
109
|
+
type: NumberConstructor;
|
|
110
|
+
};
|
|
111
|
+
footerOffset: {
|
|
112
|
+
type: NumberConstructor;
|
|
113
|
+
default: number;
|
|
114
|
+
};
|
|
115
|
+
open: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
};
|
|
118
|
+
fullScreen: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
};
|
|
121
|
+
loadingTip: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
};
|
|
124
|
+
}>> & {
|
|
125
|
+
"onHeight-change"?: ((...args: any[]) => any) | undefined;
|
|
126
|
+
"onExt-height"?: ((...args: any[]) => any) | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
scrollTop: () => Promise<void>;
|
|
129
|
+
setModalHeight: () => Promise<void>;
|
|
130
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
131
|
+
"height-change": (...args: any[]) => void;
|
|
132
|
+
"ext-height": (...args: any[]) => void;
|
|
133
|
+
}, string, {
|
|
134
|
+
open: boolean;
|
|
135
|
+
minHeight: number;
|
|
136
|
+
loading: boolean;
|
|
137
|
+
footerOffset: number;
|
|
138
|
+
modalHeaderHeight: number;
|
|
139
|
+
modalFooterHeight: number;
|
|
140
|
+
fullScreen: boolean;
|
|
141
|
+
useWrapper: boolean;
|
|
142
|
+
}, {}, string, {}> & {
|
|
143
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
144
|
+
created?: (() => void) | (() => void)[];
|
|
145
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
146
|
+
mounted?: (() => void) | (() => void)[];
|
|
147
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
148
|
+
updated?: (() => void) | (() => void)[];
|
|
149
|
+
activated?: (() => void) | (() => void)[];
|
|
150
|
+
deactivated?: (() => void) | (() => void)[];
|
|
151
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
152
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
153
|
+
destroyed?: (() => void) | (() => void)[];
|
|
154
|
+
unmounted?: (() => void) | (() => void)[];
|
|
155
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
156
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
157
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
158
|
+
};
|
|
159
|
+
$forceUpdate: () => void;
|
|
160
|
+
$nextTick: typeof nextTick;
|
|
161
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, (cleanupFn: () => void) => void]) => any : (...args: [any, any, (cleanupFn: () => void) => void]) => any, options?: WatchOptions): WatchStopHandle;
|
|
162
|
+
} & Omit<Readonly< ExtractPropTypes<{
|
|
163
|
+
loading: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
};
|
|
166
|
+
useWrapper: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
modalHeaderHeight: {
|
|
171
|
+
type: NumberConstructor;
|
|
172
|
+
default: number;
|
|
173
|
+
};
|
|
174
|
+
modalFooterHeight: {
|
|
175
|
+
type: NumberConstructor;
|
|
176
|
+
default: number;
|
|
177
|
+
};
|
|
178
|
+
minHeight: {
|
|
179
|
+
type: NumberConstructor;
|
|
180
|
+
default: number;
|
|
181
|
+
};
|
|
182
|
+
height: {
|
|
183
|
+
type: NumberConstructor;
|
|
184
|
+
};
|
|
185
|
+
footerOffset: {
|
|
186
|
+
type: NumberConstructor;
|
|
187
|
+
default: number;
|
|
188
|
+
};
|
|
189
|
+
open: {
|
|
190
|
+
type: BooleanConstructor;
|
|
191
|
+
};
|
|
192
|
+
fullScreen: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
};
|
|
195
|
+
loadingTip: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
};
|
|
198
|
+
}>> & {
|
|
199
|
+
"onHeight-change"?: ((...args: any[]) => any) | undefined;
|
|
200
|
+
"onExt-height"?: ((...args: any[]) => any) | undefined;
|
|
201
|
+
}, "scrollTop" | "setModalHeight"> & ShallowUnwrapRef<{
|
|
202
|
+
scrollTop: () => Promise<void>;
|
|
203
|
+
setModalHeight: () => Promise<void>;
|
|
204
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
205
|
+
$slots: {
|
|
206
|
+
default?(_: {}): any;
|
|
207
|
+
};
|
|
208
|
+
}) | null;
|
|
209
|
+
};
|
|
210
|
+
attrs: Partial<{}>;
|
|
7
211
|
};
|
|
212
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
8
213
|
declare const __VLS_component: DefineComponent<{
|
|
9
214
|
open: {
|
|
10
215
|
type: BooleanConstructor;
|
|
@@ -249,10 +454,10 @@ declare const __VLS_component: DefineComponent<{
|
|
|
249
454
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
250
455
|
}, {
|
|
251
456
|
open: boolean;
|
|
457
|
+
mask: boolean;
|
|
252
458
|
closable: boolean;
|
|
253
459
|
centered: boolean;
|
|
254
460
|
okType: "danger" | ButtonType;
|
|
255
|
-
mask: boolean;
|
|
256
461
|
maskClosable: boolean;
|
|
257
462
|
keyboard: boolean;
|
|
258
463
|
loading: boolean;
|
|
@@ -267,7 +472,7 @@ declare const __VLS_component: DefineComponent<{
|
|
|
267
472
|
showCancelBtn: boolean;
|
|
268
473
|
showOkBtn: boolean;
|
|
269
474
|
}, {}>;
|
|
270
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
475
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
271
476
|
export default _default;
|
|
272
477
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
273
478
|
new (): {
|
|
@@ -15,13 +15,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
15
15
|
}, {}>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
18
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
19
19
|
default: D[K];
|
|
20
20
|
}> : P[K];
|
|
21
21
|
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
25
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
23
|
type __VLS_TypePropsToOption<T> = {
|
|
27
24
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -31,3 +28,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
31
28
|
required: true;
|
|
32
29
|
};
|
|
33
30
|
};
|
|
31
|
+
type __VLS_PrettifyLocal<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -3,10 +3,15 @@ import { DefineComponent, PropType, VNodeChild, VNode, RendererNode, RendererEle
|
|
|
3
3
|
import { ModalWrapperProps } from '..';
|
|
4
4
|
import { ButtonProps } from 'ant-design-vue';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
slots: {
|
|
7
|
+
insertFooter?(_: {}): any;
|
|
8
|
+
centerFooter?(_: {}): any;
|
|
9
|
+
appendFooter?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
attrs: Partial<{}>;
|
|
9
13
|
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
15
|
declare const __VLS_component: DefineComponent<{
|
|
11
16
|
open: {
|
|
12
17
|
type: BooleanConstructor;
|
|
@@ -241,10 +246,10 @@ declare const __VLS_component: DefineComponent<{
|
|
|
241
246
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
242
247
|
}, {
|
|
243
248
|
open: boolean;
|
|
249
|
+
mask: boolean;
|
|
244
250
|
closable: boolean;
|
|
245
251
|
centered: boolean;
|
|
246
252
|
okType: "danger" | ButtonType;
|
|
247
|
-
mask: boolean;
|
|
248
253
|
maskClosable: boolean;
|
|
249
254
|
keyboard: boolean;
|
|
250
255
|
loading: boolean;
|
|
@@ -259,7 +264,7 @@ declare const __VLS_component: DefineComponent<{
|
|
|
259
264
|
showCancelBtn: boolean;
|
|
260
265
|
showOkBtn: boolean;
|
|
261
266
|
}, {}>;
|
|
262
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
267
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
263
268
|
export default _default;
|
|
264
269
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
265
270
|
new (): {
|