@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
|
@@ -1,9 +1,82 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { nextTick, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
|
|
2
2
|
declare function scrollTop(): Promise<void>;
|
|
3
3
|
declare function setModalHeight(): Promise<void>;
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {
|
|
9
|
+
wrapperRef: ({
|
|
10
|
+
$: ComponentInternalInstance;
|
|
11
|
+
$data: {};
|
|
12
|
+
$props: Partial<{}> & Omit<{
|
|
13
|
+
readonly scrollHeight?: number | undefined;
|
|
14
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
15
|
+
scrollHeight: {
|
|
16
|
+
type: PropType<number>;
|
|
17
|
+
};
|
|
18
|
+
}>>, never>;
|
|
19
|
+
$attrs: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
$refs: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
$slots: Readonly<{
|
|
26
|
+
[name: string]: Slot<any> | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
$root: ComponentPublicInstance | null;
|
|
29
|
+
$parent: ComponentPublicInstance | null;
|
|
30
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
31
|
+
$el: any;
|
|
32
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
33
|
+
scrollHeight: {
|
|
34
|
+
type: PropType<number>;
|
|
35
|
+
};
|
|
36
|
+
}>>, {
|
|
37
|
+
scrollTo: (to: number, duration?: number) => void;
|
|
38
|
+
scrollBottom: () => void;
|
|
39
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
40
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
41
|
+
created?: (() => void) | (() => void)[];
|
|
42
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
43
|
+
mounted?: (() => void) | (() => void)[];
|
|
44
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
45
|
+
updated?: (() => void) | (() => void)[];
|
|
46
|
+
activated?: (() => void) | (() => void)[];
|
|
47
|
+
deactivated?: (() => void) | (() => void)[];
|
|
48
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
49
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
50
|
+
destroyed?: (() => void) | (() => void)[];
|
|
51
|
+
unmounted?: (() => void) | (() => void)[];
|
|
52
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
53
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
54
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
55
|
+
};
|
|
56
|
+
$forceUpdate: () => void;
|
|
57
|
+
$nextTick: typeof nextTick;
|
|
58
|
+
$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;
|
|
59
|
+
} & Omit<Readonly< ExtractPropTypes<{
|
|
60
|
+
scrollHeight: {
|
|
61
|
+
type: PropType<number>;
|
|
62
|
+
};
|
|
63
|
+
}>>, "scrollTo" | "scrollBottom"> & ShallowUnwrapRef<{
|
|
64
|
+
scrollTo: (to: number, duration?: number) => void;
|
|
65
|
+
scrollBottom: () => void;
|
|
66
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
67
|
+
$slots: {
|
|
68
|
+
default?(_: {}): any;
|
|
69
|
+
};
|
|
70
|
+
} & {
|
|
71
|
+
$props: {
|
|
72
|
+
onClick?: () => void;
|
|
73
|
+
};
|
|
74
|
+
}) | null;
|
|
75
|
+
spinRef: HTMLDivElement;
|
|
76
|
+
};
|
|
77
|
+
attrs: Partial<{}>;
|
|
6
78
|
};
|
|
79
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
7
80
|
declare const __VLS_component: DefineComponent<{
|
|
8
81
|
loading: {
|
|
9
82
|
type: BooleanConstructor;
|
|
@@ -87,15 +160,15 @@ declare const __VLS_component: DefineComponent<{
|
|
|
87
160
|
"onExt-height"?: ((...args: any[]) => any) | undefined;
|
|
88
161
|
}, {
|
|
89
162
|
open: boolean;
|
|
90
|
-
loading: boolean;
|
|
91
163
|
minHeight: number;
|
|
164
|
+
loading: boolean;
|
|
92
165
|
footerOffset: number;
|
|
93
166
|
modalHeaderHeight: number;
|
|
94
167
|
modalFooterHeight: number;
|
|
95
168
|
fullScreen: boolean;
|
|
96
169
|
useWrapper: boolean;
|
|
97
170
|
}, {}>;
|
|
98
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
171
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
99
172
|
export default _default;
|
|
100
173
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
101
174
|
new (): {
|
|
@@ -232,10 +232,10 @@ declare const _default: DefineComponent<{
|
|
|
232
232
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
233
233
|
}, {
|
|
234
234
|
open: boolean;
|
|
235
|
+
mask: boolean;
|
|
235
236
|
closable: boolean;
|
|
236
237
|
centered: boolean;
|
|
237
238
|
okType: "danger" | ButtonType;
|
|
238
|
-
mask: boolean;
|
|
239
239
|
maskClosable: boolean;
|
|
240
240
|
keyboard: boolean;
|
|
241
241
|
loading: boolean;
|
package/es/src/modal/index.d.ts
CHANGED
|
@@ -446,10 +446,10 @@ export declare const BaseModal: {
|
|
|
446
446
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
447
447
|
}, {
|
|
448
448
|
open: boolean;
|
|
449
|
+
mask: boolean;
|
|
449
450
|
closable: boolean;
|
|
450
451
|
centered: boolean;
|
|
451
452
|
okType: "danger" | ButtonType;
|
|
452
|
-
mask: boolean;
|
|
453
453
|
maskClosable: boolean;
|
|
454
454
|
keyboard: boolean;
|
|
455
455
|
loading: boolean;
|
|
@@ -687,10 +687,10 @@ export declare const BaseModal: {
|
|
|
687
687
|
onRegister?: ((...args: any[]) => any) | undefined;
|
|
688
688
|
}, {}, {}, {}, {}, {
|
|
689
689
|
open: boolean;
|
|
690
|
+
mask: boolean;
|
|
690
691
|
closable: boolean;
|
|
691
692
|
centered: boolean;
|
|
692
693
|
okType: "danger" | ButtonType;
|
|
693
|
-
mask: boolean;
|
|
694
694
|
maskClosable: boolean;
|
|
695
695
|
keyboard: boolean;
|
|
696
696
|
loading: boolean;
|
|
@@ -839,10 +839,10 @@ export declare const BaseModal: {
|
|
|
839
839
|
"update:open": (...args: any[]) => void;
|
|
840
840
|
}, string, {
|
|
841
841
|
open: boolean;
|
|
842
|
+
mask: boolean;
|
|
842
843
|
closable: boolean;
|
|
843
844
|
centered: boolean;
|
|
844
845
|
okType: "danger" | ButtonType;
|
|
845
|
-
mask: boolean;
|
|
846
846
|
maskClosable: boolean;
|
|
847
847
|
keyboard: boolean;
|
|
848
848
|
loading: boolean;
|
|
@@ -856,7 +856,7 @@ export declare const BaseModal: {
|
|
|
856
856
|
wrapperFooterOffset: number;
|
|
857
857
|
showCancelBtn: boolean;
|
|
858
858
|
showOkBtn: boolean;
|
|
859
|
-
}, {}, string, {}> &
|
|
859
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
860
860
|
$slots: Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
861
861
|
default?(_: {}): any;
|
|
862
862
|
};
|
|
@@ -864,7 +864,7 @@ export declare const BaseModal: {
|
|
|
864
864
|
$props: {
|
|
865
865
|
onClick?: () => void;
|
|
866
866
|
};
|
|
867
|
-
}))
|
|
867
|
+
}));
|
|
868
868
|
export { useModalContext } from './hooks/use-modal-context';
|
|
869
869
|
export { useModal, useModalInner } from './hooks/use-modal';
|
|
870
870
|
export * from './interface';
|
|
@@ -33,13 +33,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
33
33
|
}, {}>;
|
|
34
34
|
export default _default;
|
|
35
35
|
type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
37
37
|
default: D[K];
|
|
38
38
|
}> : P[K];
|
|
39
39
|
};
|
|
40
|
-
type __VLS_Prettify<T> = {
|
|
41
|
-
[K in keyof T]: T[K];
|
|
42
|
-
} & {};
|
|
43
40
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
41
|
type __VLS_TypePropsToOption<T> = {
|
|
45
42
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -49,3 +46,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
49
46
|
required: true;
|
|
50
47
|
};
|
|
51
48
|
};
|
|
49
|
+
type __VLS_PrettifyLocal<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
@@ -32,13 +32,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
32
32
|
}, {}>;
|
|
33
33
|
export default _default;
|
|
34
34
|
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
36
36
|
default: D[K];
|
|
37
37
|
}> : P[K];
|
|
38
38
|
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
42
39
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
40
|
type __VLS_TypePropsToOption<T> = {
|
|
44
41
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -48,3 +45,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
48
45
|
required: true;
|
|
49
46
|
};
|
|
50
47
|
};
|
|
48
|
+
type __VLS_PrettifyLocal<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
@@ -14,7 +14,12 @@ type SelectSlotsType = {
|
|
|
14
14
|
optionLabel: any;
|
|
15
15
|
default: any;
|
|
16
16
|
};
|
|
17
|
-
declare function __VLS_template():
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
slots: Partial<Record<NonNullable<keyof SelectSlotsType>, (_: any) => any>>;
|
|
19
|
+
refs: {};
|
|
20
|
+
attrs: Partial<{}>;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
23
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiSelectProps>, {
|
|
19
24
|
params: () => {};
|
|
20
25
|
resultField: string;
|
|
@@ -48,21 +53,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
48
53
|
valueField: string;
|
|
49
54
|
alwaysLoad: boolean;
|
|
50
55
|
}, {}>;
|
|
51
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
56
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
52
57
|
export default _default;
|
|
53
58
|
type __VLS_WithDefaults<P, D> = {
|
|
54
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
59
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
55
60
|
default: D[K];
|
|
56
61
|
}> : P[K];
|
|
57
62
|
};
|
|
58
|
-
type __VLS_Prettify<T> = {
|
|
59
|
-
[K in keyof T]: T[K];
|
|
60
|
-
} & {};
|
|
61
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
-
new (): {
|
|
63
|
-
$slots: S;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
63
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
67
64
|
type __VLS_TypePropsToOption<T> = {
|
|
68
65
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -72,3 +69,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
72
69
|
required: true;
|
|
73
70
|
};
|
|
74
71
|
};
|
|
72
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
type __VLS_PrettifyLocal<T> = {
|
|
78
|
+
[K in keyof T]: T[K];
|
|
79
|
+
} & {};
|
|
@@ -25,8 +25,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
25
25
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
26
26
|
"onOptions-change"?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
immediate: boolean;
|
|
29
28
|
disabled: boolean;
|
|
29
|
+
immediate: boolean;
|
|
30
30
|
resultField: string;
|
|
31
31
|
labelField: string;
|
|
32
32
|
valueField: string;
|
|
@@ -36,13 +36,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
36
36
|
}, {}>;
|
|
37
37
|
export default _default;
|
|
38
38
|
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
40
40
|
default: D[K];
|
|
41
41
|
}> : P[K];
|
|
42
42
|
};
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
46
43
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
44
|
type __VLS_TypePropsToOption<T> = {
|
|
48
45
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -52,3 +49,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
52
49
|
required: true;
|
|
53
50
|
};
|
|
54
51
|
};
|
|
52
|
+
type __VLS_PrettifyLocal<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { ApiTreeSelectProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
type AntdTreeSelectSlotNames = 'title' | 'titleRender' | 'placeholder' | 'maxTagPlaceholder' | 'treeIcon' | 'switcherIcon' | 'notFoundContent' | 'default' | 'leafIcon' | 'tagRender' | 'suffixIcon';
|
|
4
|
-
declare function __VLS_template():
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
slots: Partial<Record<NonNullable<AntdTreeSelectSlotNames>, (_: any) => any>>;
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
5
10
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiTreeSelectProps>, {
|
|
6
11
|
immediate: boolean;
|
|
7
12
|
async: boolean;
|
|
@@ -32,21 +37,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
32
37
|
async: boolean;
|
|
33
38
|
childrenField: string;
|
|
34
39
|
}, {}>;
|
|
35
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
41
|
export default _default;
|
|
37
42
|
type __VLS_WithDefaults<P, D> = {
|
|
38
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
39
44
|
default: D[K];
|
|
40
45
|
}> : P[K];
|
|
41
46
|
};
|
|
42
|
-
type __VLS_Prettify<T> = {
|
|
43
|
-
[K in keyof T]: T[K];
|
|
44
|
-
} & {};
|
|
45
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
-
new (): {
|
|
47
|
-
$slots: S;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
47
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
48
|
type __VLS_TypePropsToOption<T> = {
|
|
52
49
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -56,3 +53,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
56
53
|
required: true;
|
|
57
54
|
};
|
|
58
55
|
};
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
type __VLS_PrettifyLocal<T> = {
|
|
62
|
+
[K in keyof T]: T[K];
|
|
63
|
+
} & {};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { ApiTreeProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
type AntdTreeSlotNames = 'icon' | 'title' | 'switcherIcon' | 'titleRender' | 'default' | 'leafIcon';
|
|
4
|
-
declare function __VLS_template():
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
slots: Partial<Record<NonNullable<AntdTreeSlotNames>, (_: any) => any>>;
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
5
10
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApiTreeProps>, {
|
|
6
11
|
immediate: boolean;
|
|
7
12
|
resultField: string;
|
|
@@ -20,21 +25,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
20
25
|
immediate: boolean;
|
|
21
26
|
resultField: string;
|
|
22
27
|
}, {}>;
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
29
|
export default _default;
|
|
25
30
|
type __VLS_WithDefaults<P, D> = {
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
27
32
|
default: D[K];
|
|
28
33
|
}> : P[K];
|
|
29
34
|
};
|
|
30
|
-
type __VLS_Prettify<T> = {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} & {};
|
|
33
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
-
new (): {
|
|
35
|
-
$slots: S;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
35
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
36
|
type __VLS_TypePropsToOption<T> = {
|
|
40
37
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -44,3 +41,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
44
41
|
required: true;
|
|
45
42
|
};
|
|
46
43
|
};
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_PrettifyLocal<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
@@ -3,11 +3,16 @@ import { ButtonProps } from '../../base-button';
|
|
|
3
3
|
import { FormActionProps } from './interface';
|
|
4
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
slots: {
|
|
7
|
+
resetBefore?(_: {}): any;
|
|
8
|
+
submitBefore?(_: {}): any;
|
|
9
|
+
advanceBefore?(_: {}): any;
|
|
10
|
+
advanceAfter?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
attrs: Partial<{}>;
|
|
10
14
|
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
16
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<FormActionProps>, {
|
|
12
17
|
showActionButtonGroup: boolean;
|
|
13
18
|
showResetButton: boolean;
|
|
@@ -37,21 +42,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
37
42
|
actionColOptions: Partial<ColEx>;
|
|
38
43
|
actionSpan: number;
|
|
39
44
|
}, {}>;
|
|
40
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
46
|
export default _default;
|
|
42
47
|
type __VLS_WithDefaults<P, D> = {
|
|
43
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
44
49
|
default: D[K];
|
|
45
50
|
}> : P[K];
|
|
46
51
|
};
|
|
47
|
-
type __VLS_Prettify<T> = {
|
|
48
|
-
[K in keyof T]: T[K];
|
|
49
|
-
} & {};
|
|
50
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
-
new (): {
|
|
52
|
-
$slots: S;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
52
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
53
|
type __VLS_TypePropsToOption<T> = {
|
|
57
54
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -61,3 +58,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
61
58
|
required: true;
|
|
62
59
|
};
|
|
63
60
|
};
|
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
type __VLS_PrettifyLocal<T> = {
|
|
67
|
+
[K in keyof T]: T[K];
|
|
68
|
+
} & {};
|
|
@@ -9,13 +9,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
9
9
|
}, {}>;
|
|
10
10
|
export default _default;
|
|
11
11
|
type __VLS_WithDefaults<P, D> = {
|
|
12
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
12
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
13
13
|
default: D[K];
|
|
14
14
|
}> : P[K];
|
|
15
15
|
};
|
|
16
|
-
type __VLS_Prettify<T> = {
|
|
17
|
-
[K in keyof T]: T[K];
|
|
18
|
-
} & {};
|
|
19
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
17
|
type __VLS_TypePropsToOption<T> = {
|
|
21
18
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -25,3 +22,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
25
22
|
required: true;
|
|
26
23
|
};
|
|
27
24
|
};
|
|
25
|
+
type __VLS_PrettifyLocal<T> = {
|
|
26
|
+
[K in keyof T]: T[K];
|
|
27
|
+
} & {};
|
|
@@ -97,24 +97,24 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
97
97
|
span?: string | number;
|
|
98
98
|
push?: string | number;
|
|
99
99
|
flex?: string | number;
|
|
100
|
-
prefixCls?: string | undefined;
|
|
101
100
|
order?: string | number;
|
|
102
101
|
offset?: string | number;
|
|
102
|
+
prefixCls?: string | undefined;
|
|
103
103
|
pull?: string | number;
|
|
104
104
|
innerHTML?: string;
|
|
105
105
|
class?: any;
|
|
106
106
|
style: any;
|
|
107
107
|
accesskey?: string;
|
|
108
|
-
contenteditable?: (boolean | "
|
|
108
|
+
contenteditable?: (boolean | "false" | "true") | "inherit" | "plaintext-only";
|
|
109
109
|
contextmenu?: string;
|
|
110
110
|
dir?: string;
|
|
111
|
-
draggable?: boolean | "
|
|
112
|
-
hidden?: (boolean | "
|
|
111
|
+
draggable?: boolean | "false" | "true";
|
|
112
|
+
hidden?: (boolean | "false" | "true") | "" | "hidden" | "until-found";
|
|
113
113
|
id?: string;
|
|
114
|
-
inert?: boolean | "
|
|
114
|
+
inert?: boolean | "false" | "true";
|
|
115
115
|
lang?: string;
|
|
116
116
|
placeholder?: string;
|
|
117
|
-
spellcheck?: boolean | "
|
|
117
|
+
spellcheck?: boolean | "false" | "true";
|
|
118
118
|
tabindex?: string | number;
|
|
119
119
|
title?: string;
|
|
120
120
|
translate?: "yes" | "no";
|
|
@@ -133,7 +133,7 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
133
133
|
autosave?: string;
|
|
134
134
|
color?: string;
|
|
135
135
|
itemprop?: string;
|
|
136
|
-
itemscope?: boolean | "
|
|
136
|
+
itemscope?: boolean | "false" | "true";
|
|
137
137
|
itemtype?: string;
|
|
138
138
|
itemid?: string;
|
|
139
139
|
itemref?: string;
|
|
@@ -143,47 +143,47 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
143
143
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
144
144
|
is?: string;
|
|
145
145
|
'aria-activedescendant'?: string;
|
|
146
|
-
'aria-atomic'?: boolean | "
|
|
146
|
+
'aria-atomic'?: boolean | "false" | "true";
|
|
147
147
|
'aria-autocomplete'?: "none" | "inline" | "list" | "both";
|
|
148
|
-
'aria-busy'?: boolean | "
|
|
149
|
-
'aria-checked'?: (boolean | "
|
|
148
|
+
'aria-busy'?: boolean | "false" | "true";
|
|
149
|
+
'aria-checked'?: (boolean | "false" | "true") | "mixed";
|
|
150
150
|
'aria-colcount'?: string | number;
|
|
151
151
|
'aria-colindex'?: string | number;
|
|
152
152
|
'aria-colspan'?: string | number;
|
|
153
153
|
'aria-controls'?: string;
|
|
154
|
-
'aria-current'?: (boolean | "
|
|
154
|
+
'aria-current'?: (boolean | "false" | "true") | "page" | "step" | "location" | "date" | "time";
|
|
155
155
|
'aria-describedby'?: string;
|
|
156
156
|
'aria-details'?: string;
|
|
157
|
-
'aria-disabled'?: boolean | "
|
|
157
|
+
'aria-disabled'?: boolean | "false" | "true";
|
|
158
158
|
'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup";
|
|
159
159
|
'aria-errormessage'?: string;
|
|
160
|
-
'aria-expanded'?: boolean | "
|
|
160
|
+
'aria-expanded'?: boolean | "false" | "true";
|
|
161
161
|
'aria-flowto'?: string;
|
|
162
|
-
'aria-grabbed'?: boolean | "
|
|
163
|
-
'aria-haspopup'?: (boolean | "
|
|
164
|
-
'aria-hidden'?: boolean | "
|
|
165
|
-
'aria-invalid'?: (boolean | "
|
|
162
|
+
'aria-grabbed'?: boolean | "false" | "true";
|
|
163
|
+
'aria-haspopup'?: (boolean | "false" | "true") | "menu" | "listbox" | "tree" | "grid" | "dialog";
|
|
164
|
+
'aria-hidden'?: boolean | "false" | "true";
|
|
165
|
+
'aria-invalid'?: (boolean | "false" | "true") | "grammar" | "spelling";
|
|
166
166
|
'aria-keyshortcuts'?: string;
|
|
167
167
|
'aria-label'?: string;
|
|
168
168
|
'aria-labelledby'?: string;
|
|
169
169
|
'aria-level'?: string | number;
|
|
170
170
|
'aria-live'?: "off" | "assertive" | "polite";
|
|
171
|
-
'aria-modal'?: boolean | "
|
|
172
|
-
'aria-multiline'?: boolean | "
|
|
173
|
-
'aria-multiselectable'?: boolean | "
|
|
171
|
+
'aria-modal'?: boolean | "false" | "true";
|
|
172
|
+
'aria-multiline'?: boolean | "false" | "true";
|
|
173
|
+
'aria-multiselectable'?: boolean | "false" | "true";
|
|
174
174
|
'aria-orientation'?: "horizontal" | "vertical";
|
|
175
175
|
'aria-owns'?: string;
|
|
176
176
|
'aria-placeholder'?: string;
|
|
177
177
|
'aria-posinset'?: string | number;
|
|
178
|
-
'aria-pressed'?: (boolean | "
|
|
179
|
-
'aria-readonly'?: boolean | "
|
|
178
|
+
'aria-pressed'?: (boolean | "false" | "true") | "mixed";
|
|
179
|
+
'aria-readonly'?: boolean | "false" | "true";
|
|
180
180
|
'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
|
|
181
|
-
'aria-required'?: boolean | "
|
|
181
|
+
'aria-required'?: boolean | "false" | "true";
|
|
182
182
|
'aria-roledescription'?: string;
|
|
183
183
|
'aria-rowcount'?: string | number;
|
|
184
184
|
'aria-rowindex'?: string | number;
|
|
185
185
|
'aria-rowspan'?: string | number;
|
|
186
|
-
'aria-selected'?: boolean | "
|
|
186
|
+
'aria-selected'?: boolean | "false" | "true";
|
|
187
187
|
'aria-setsize'?: string | number;
|
|
188
188
|
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
189
189
|
'aria-valuemax'?: string | number;
|
|
@@ -302,9 +302,9 @@ export declare function useItemLabelWidth(schemaItemRef: Ref<FormSchema>, propsR
|
|
|
302
302
|
span?: string | number;
|
|
303
303
|
push?: string | number;
|
|
304
304
|
flex?: string | number;
|
|
305
|
-
prefixCls?: string | undefined;
|
|
306
305
|
order?: string | number;
|
|
307
306
|
offset?: string | number;
|
|
307
|
+
prefixCls?: string | undefined;
|
|
308
308
|
pull?: string | number;
|
|
309
309
|
style: any;
|
|
310
310
|
};
|