@aplus-frontend/ui 0.1.0 → 0.1.2
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.d.ts +0 -1
- package/es/src/ap-action/group/index.vue.d.ts +12 -13
- package/es/src/ap-action/index.d.ts +0 -1
- package/es/src/ap-action/interface.d.ts +0 -1
- package/es/src/ap-action/item/index.vue.d.ts +16 -15
- package/es/src/ap-action/item/index.vue2.mjs +18 -19
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
- package/es/src/ap-action/item-modal/index.vue.d.ts +16 -15
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
- package/es/src/ap-action/style/item.css +5 -5
- package/es/src/ap-custom-column/column-select.vue.d.ts +3 -4
- package/es/src/ap-custom-column/custom-column.vue.d.ts +3 -4
- package/es/src/ap-custom-column/index.d.ts +0 -1
- package/es/src/ap-custom-column/interfaces.d.ts +0 -1
- package/es/src/ap-custom-column/storage.mjs +11 -11
- package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
- package/es/src/ap-custom-column/utils.d.ts +0 -1
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
- package/es/src/ap-descriptions/formatter/index.d.ts +0 -1
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
- package/es/src/ap-descriptions/helper.d.ts +0 -1
- package/es/src/ap-descriptions/index.d.ts +0 -1
- package/es/src/ap-descriptions/interface.d.ts +0 -1
- package/es/src/ap-download/ap-download.vue.d.ts +18 -17
- package/es/src/ap-download/ap-download.vue.mjs +4 -1
- package/es/src/ap-download/hooks/index.d.ts +0 -1
- package/es/src/ap-download/index.d.ts +0 -1
- package/es/src/ap-download/interface.d.ts +0 -1
- package/es/src/ap-field/checkbox/helper.d.ts +0 -1
- package/es/src/ap-field/checkbox/index.vue.d.ts +11 -12
- package/es/src/ap-field/date/constant.d.ts +0 -1
- package/es/src/ap-field/date/helper.d.ts +0 -1
- package/es/src/ap-field/date/index.vue.d.ts +25 -24
- package/es/src/ap-field/date/index.vue.mjs +4 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +23 -22
- package/es/src/ap-field/date-range/index.vue.mjs +7 -1
- package/es/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
- package/es/src/ap-field/index.d.ts +0 -1
- package/es/src/ap-field/interface.d.ts +0 -1
- package/es/src/ap-field/number/helper.d.ts +0 -1
- package/es/src/ap-field/number/index.vue.d.ts +14 -13
- package/es/src/ap-field/radio/helper.d.ts +0 -1
- package/es/src/ap-field/radio/index.vue.d.ts +11 -12
- package/es/src/ap-field/rate/index.vue.d.ts +19 -18
- package/es/src/ap-field/segmented/index.vue.d.ts +23 -22
- package/es/src/ap-field/select/index.vue.d.ts +20 -19
- package/es/src/ap-field/slider/index.vue.d.ts +14 -13
- package/es/src/ap-field/slider/index.vue.mjs +1 -4
- package/es/src/ap-field/switch/index.vue.d.ts +15 -14
- package/es/src/ap-field/text/index.d.ts +0 -1
- package/es/src/ap-field/text/index.vue.d.ts +17 -16
- package/es/src/ap-field/text/input-password-props.d.ts +0 -1
- package/es/src/ap-field/text/password.vue.d.ts +18 -17
- package/es/src/ap-field/text-area/index.vue.d.ts +13 -14
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
- package/es/src/ap-form/ap-form-item.vue.d.ts +15 -14
- package/es/src/ap-form/ap-form-list.vue.d.ts +9 -8
- package/es/src/ap-form/ap-form.vue.d.ts +22 -21
- package/es/src/ap-form/constant.d.ts +0 -1
- package/es/src/ap-form/context.d.ts +0 -1
- package/es/src/ap-form/hooks/use-watch.d.ts +0 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +0 -1
- package/es/src/ap-form/interface.d.ts +0 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
- package/es/src/ap-form/items/date/index.vue.d.ts +38 -37
- package/es/src/ap-form/items/date-range/index.vue.d.ts +38 -37
- package/es/src/ap-form/items/index.d.ts +0 -1
- package/es/src/ap-form/items/interface.d.ts +0 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -30
- package/es/src/ap-form/items/radio/index.vue.d.ts +17 -16
- package/es/src/ap-form/items/select/index.vue.d.ts +41 -40
- package/es/src/ap-form/items/switch/index.vue.d.ts +25 -24
- package/es/src/ap-form/items/text/index.d.ts +0 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +31 -30
- package/es/src/ap-form/items/text/password.vue.d.ts +31 -30
- package/es/src/ap-form/items/text-area/index.vue.d.ts +18 -17
- package/es/src/ap-form/modal-form/index.vue.d.ts +30 -29
- package/es/src/ap-form/search-form/index.vue.d.ts +23 -22
- package/es/src/ap-form/search-form/utils.d.ts +0 -1
- package/es/src/ap-form/search-form/utils.mjs +1 -2
- package/es/src/ap-form/style/ap-form-item.css +6 -6
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
- package/es/src/ap-layout/index.d.ts +0 -1
- package/es/src/ap-list/hooks/use-offline-list.d.ts +0 -1
- package/es/src/ap-list/index.d.ts +0 -1
- package/es/src/ap-list/index.vue.d.ts +9 -122
- package/es/src/ap-list/interface.d.ts +0 -1
- package/es/src/ap-modal/index.d.ts +0 -1
- package/es/src/ap-modal/type.d.ts +0 -1
- package/es/src/ap-modal/utils/createModal.d.ts +0 -1
- package/es/src/ap-table/ap-table.vue.d.ts +16 -2222
- package/es/src/ap-table/components/index/index.vue.d.ts +11 -12
- package/es/src/ap-table/components/interface.d.ts +0 -1
- package/es/src/ap-table/components/status/index.vue.d.ts +2 -3
- package/es/src/ap-table/constants.d.ts +4804 -6359
- package/es/src/ap-table/hooks/use-table-paging.d.ts +0 -1
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
- package/es/src/ap-table/index.d.ts +0 -1
- package/es/src/ap-table/interface.d.ts +0 -1
- package/es/src/ap-table/style/ap-table.css +1 -1
- package/es/src/ap-table/utils.d.ts +1 -2
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -7
- package/es/src/ap-tag/ap-tag.vue.d.ts +13 -14
- package/es/src/ap-tag/index.d.ts +0 -1
- package/es/src/ap-tag/interface.d.ts +0 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +2 -3
- package/es/src/ap-upload/apUpload.vue.mjs +4 -1
- package/es/src/ap-upload/apUploadTypes.d.ts +0 -1
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
- package/es/src/ap-upload/components/Picture.vue.d.ts +0 -1
- package/es/src/ap-upload/components/Picture.vue2.mjs +15 -5
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +5 -1
- package/es/src/ap-upload/hooks/useOss.d.ts +0 -1
- package/es/src/ap-upload/index.d.ts +0 -1
- package/es/src/ap-upload/utils/accept.d.ts +0 -1
- package/es/src/ap-upload/utils/accept.mjs +1 -2
- package/es/src/base-button/button.vue.d.ts +17 -16
- package/es/src/base-button/constants.d.ts +0 -1
- package/es/src/base-button/index.d.ts +55 -55
- package/es/src/base-button/interface.d.ts +0 -1
- package/es/src/basic/arrow.vue.d.ts +2 -3
- package/es/src/basic/help.vue.d.ts +4 -9
- package/es/src/basic/index.d.ts +27 -35
- package/es/src/basic/interface.d.ts +0 -1
- package/es/src/basic/title.vue.d.ts +16 -15
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +1 -2
- package/es/src/business/ap-export-group/interface.d.ts +0 -1
- package/es/src/business/ap-label/ApLabel.vue.d.ts +17 -16
- package/es/src/business/ap-label/index.d.ts +0 -1
- package/es/src/business/ap-label/interface.d.ts +0 -1
- package/es/src/business/ap-select-layout/index.css +9 -0
- package/es/src/business/ap-select-layout/index.d.ts +0 -1
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
- package/es/src/business/ap-status/ApStatus.vue.d.ts +11 -12
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
- package/es/src/business/ap-status/index.d.ts +0 -1
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
- package/es/src/business/index.d.ts +213 -248
- package/es/src/business/title/ApTitle.vue.d.ts +19 -18
- package/es/src/button/button.vue.d.ts +25 -0
- package/es/src/button/index.d.ts +7 -7
- package/es/src/check-card/checked.svg.mjs +2 -2
- package/es/src/check-card/context.d.ts +0 -1
- package/es/src/check-card/group.vue.d.ts +21 -20
- package/es/src/check-card/index.d.ts +0 -1
- package/es/src/check-card/index.vue.d.ts +16 -15
- package/es/src/check-card/index.vue2.mjs +16 -16
- package/es/src/check-card/interface.d.ts +0 -1
- package/es/src/check-card/style/index.css +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +22 -23
- package/es/src/config-provider/config-provider.d.ts +59 -204
- package/es/src/config-provider/constants.d.ts +0 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +24 -25
- package/es/src/config-provider/hooks/use-locale.d.ts +0 -1
- package/es/src/config-provider/hooks/use-namespace.d.ts +0 -1
- package/es/src/config-provider/index.d.ts +129 -130
- package/es/src/container/collapse/header.vue.d.ts +4 -5
- package/es/src/container/collapse/index.vue.d.ts +5 -6
- package/es/src/container/index.d.ts +26 -26
- package/es/src/container/scroll-container.vue.d.ts +13 -12
- package/es/src/count-down/button.vue.d.ts +11 -12
- package/es/src/count-down/index.d.ts +13 -13
- package/es/src/count-down/input.vue.d.ts +14 -13
- package/es/src/count-down/interface.d.ts +0 -1
- package/es/src/cropper/cropper-avatar.vue.d.ts +12 -13
- package/es/src/cropper/cropper-image.vue.d.ts +12 -13
- package/es/src/cropper/cropper-modal.vue.d.ts +0 -1
- package/es/src/cropper/index.d.ts +63 -63
- package/es/src/cropper/interface.d.ts +0 -1
- package/es/src/description/description.vue.d.ts +1 -2
- package/es/src/description/index.d.ts +10 -10
- package/es/src/description/interface.d.ts +0 -1
- package/es/src/description/use-description.d.ts +0 -1
- package/es/src/design-token/index.d.ts +0 -1
- package/es/src/dropdown/dropdown.vue.d.ts +18 -17
- package/es/src/dropdown/index.d.ts +18 -18
- package/es/src/dropdown/interface.d.ts +0 -1
- package/es/src/editable-table/form-item.vue.d.ts +14 -915
- package/es/src/editable-table/hooks/use-get-columns.d.ts +0 -1
- package/es/src/editable-table/index.d.ts +0 -1
- package/es/src/editable-table/index.vue.d.ts +18 -568
- package/es/src/editable-table/interface.d.ts +0 -1
- package/es/src/editable-table/style/index.css +1 -1
- package/es/src/editable-table/utils.d.ts +0 -1
- package/es/src/hooks/useControllableValue.d.ts +0 -1
- package/es/src/hooks/useMessage.d.ts +0 -1
- package/es/src/icon/icon.vue.d.ts +12 -12
- package/es/src/icon/icon.vue2.mjs +3 -6
- package/es/src/icon/index.d.ts +36 -36
- package/es/src/icon/svg-icon.vue.d.ts +11 -12
- package/es/src/icon-picker/icon-picker.vue.d.ts +12 -13
- package/es/src/icon-picker/index.d.ts +25 -25
- package/es/src/locale/index.d.ts +0 -1
- package/es/src/locale/lang/en.d.ts +0 -1
- package/es/src/locale/lang/en.mjs +22 -22
- package/es/src/locale/lang/zh-cn.d.ts +0 -1
- package/es/src/locale/lang/zh-cn.mjs +22 -22
- package/es/src/modal/basic.vue.d.ts +18 -206
- package/es/src/modal/components/modal-close.vue.d.ts +11 -12
- package/es/src/modal/components/modal-footer.vue.d.ts +20 -209
- package/es/src/modal/components/modal-header.vue.d.ts +2 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +7 -5
- package/es/src/modal/components/modal-wrapper.vue2.mjs +4 -8
- package/es/src/modal/components/modal.d.ts +11 -201
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
- package/es/src/modal/hooks/use-modal-drag.d.ts +0 -1
- package/es/src/modal/hooks/use-modal-drag.mjs +3 -6
- package/es/src/modal/hooks/use-modal.d.ts +0 -1
- package/es/src/modal/hooks/use-modal.mjs +1 -2
- package/es/src/modal/index.d.ts +37 -130
- package/es/src/modal/interface.d.ts +0 -1
- package/es/src/modal/props.d.ts +6 -103
- package/es/src/pro-form/component-map.d.ts +0 -1
- package/es/src/pro-form/components/api-cascader.vue.d.ts +11 -12
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
- package/es/src/pro-form/components/api-select.vue.d.ts +15 -14
- package/es/src/pro-form/components/api-transfer.vue.d.ts +14 -15
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
- package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -2
- package/es/src/pro-form/components/api-tree.vue.d.ts +15 -14
- package/es/src/pro-form/components/api-tree.vue.mjs +1 -2
- package/es/src/pro-form/components/form-action.vue.d.ts +19 -18
- package/es/src/pro-form/components/form-item.vue.d.ts +0 -1
- package/es/src/pro-form/components/interface.d.ts +0 -1
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
- package/es/src/pro-form/helper.d.ts +1 -2
- package/es/src/pro-form/helper.mjs +4 -4
- package/es/src/pro-form/hooks/use-advanced.d.ts +0 -1
- package/es/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
- package/es/src/pro-form/hooks/use-component-register.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form-events.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form-events.mjs +11 -11
- package/es/src/pro-form/hooks/use-form-item.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form-values.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form.d.ts +0 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +122 -123
- package/es/src/pro-form/index.d.ts +0 -1
- package/es/src/pro-form/pro-form.vue.d.ts +24 -23
- package/es/src/pro-form/table-form-inner.vue.d.ts +13 -14
- package/es/src/pro-form/table-form.vue.d.ts +12 -13
- package/es/src/pro-form/types/form-item.d.ts +0 -1
- package/es/src/pro-form/types/form.d.ts +0 -1
- package/es/src/pro-form/types/index.d.ts +37 -38
- package/es/src/pro-form/types/table-form.d.ts +0 -1
- package/es/src/pro-table/component-map.d.ts +0 -1
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
- package/es/src/pro-table/components/editable/cell-component.d.ts +0 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
- package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +38 -42
- package/es/src/pro-table/components/editable/helper.d.ts +0 -1
- package/es/src/pro-table/components/editable/index.d.ts +0 -1
- package/es/src/pro-table/components/header-cell.vue.d.ts +0 -1
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
- package/es/src/pro-table/components/settings/index.vue.d.ts +0 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +7 -6
- package/es/src/pro-table/components/table-action.vue.mjs +4 -3
- package/es/src/pro-table/components/table-footer.vue.d.ts +19 -20
- package/es/src/pro-table/components/table-header.vue.d.ts +11 -10
- package/es/src/pro-table/components/table-image.vue.d.ts +12 -13
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
- package/es/src/pro-table/components/table-title.vue.d.ts +0 -1
- package/es/src/pro-table/const.d.ts +0 -1
- package/es/src/pro-table/directives/click-outside.d.ts +0 -1
- package/es/src/pro-table/helper.d.ts +0 -1
- package/es/src/pro-table/hooks/use-columns.d.ts +0 -1
- package/es/src/pro-table/hooks/use-columns.mjs +3 -6
- package/es/src/pro-table/hooks/use-custom-row.d.ts +0 -1
- package/es/src/pro-table/hooks/use-custom-row.mjs +4 -8
- package/es/src/pro-table/hooks/use-data-source.d.ts +1 -2
- package/es/src/pro-table/hooks/use-data-source.mjs +2 -4
- package/es/src/pro-table/hooks/use-loading.d.ts +0 -1
- package/es/src/pro-table/hooks/use-pagination.d.ts +0 -1
- package/es/src/pro-table/hooks/use-row-selection.d.ts +0 -1
- package/es/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
- package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -2
- package/es/src/pro-table/hooks/use-table-context.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-expand.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-footer.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-footer.mjs +1 -2
- package/es/src/pro-table/hooks/use-table-form.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-header.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
- package/es/src/pro-table/hooks/use-table-scroll.mjs +25 -27
- package/es/src/pro-table/hooks/use-table-style.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table.d.ts +0 -1
- package/es/src/pro-table/interface.d.ts +0 -1
- package/es/src/pro-table/pro-table.vue.d.ts +43 -42
- package/es/src/pro-table/types/pagination.d.ts +0 -1
- package/es/src/pro-table/types/table-action.d.ts +0 -1
- package/es/src/pro-table/types/table.d.ts +0 -1
- package/es/src/prompt/dialog.vue.d.ts +2 -3
- package/es/src/prompt/index.d.ts +0 -1
- package/es/src/prompt/interface.d.ts +0 -1
- package/es/src/prompt/utils.d.ts +2 -2
- package/es/src/scroll-bar/bar-item.d.ts +0 -1
- package/es/src/scroll-bar/bar-item.mjs +2 -4
- package/es/src/scroll-bar/index.d.ts +27 -27
- package/es/src/scroll-bar/interface.d.ts +0 -1
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
- package/es/src/scroll-bar/scroll-bar.vue2.mjs +1 -2
- package/es/src/scroll-bar/utils.d.ts +0 -1
- package/es/src/strength-meter/index.d.ts +19 -19
- package/es/src/strength-meter/strength-meter.vue.d.ts +14 -13
- package/es/src/strength-meter/strength-meter.vue2.mjs +1 -2
- package/es/src/tests/wrapper.d.ts +8 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +5 -5
- package/es/src/theme/antd-global-overwrite/admin/steps.css +5 -5
- package/es/src/theme/antd-global-overwrite/aplus/form.css +1 -1
- package/es/src/theme/antd-global-overwrite/aplus/index.css +6 -6
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
- package/es/src/theme/ap-action/item.css +5 -5
- package/es/src/theme/ap-form/ap-form-item.css +6 -6
- package/es/src/theme/ap-select-layout/ap-select-layout.css +9 -0
- package/es/src/theme/ap-table/ap-table.css +1 -1
- package/es/src/theme/check-card/index.css +5 -5
- package/es/src/theme/editable-table/index.css +1 -1
- package/es/src/transition/collapse-transition.vue.d.ts +4 -3
- package/es/src/transition/create-transition.d.ts +0 -1
- package/es/src/type.d.ts +0 -1
- package/es/src/utils/config-provider-preset.d.ts +16 -17
- package/es/src/utils/index.d.ts +0 -1
- package/es/src/utils/slot.d.ts +0 -1
- package/es/src/utils/slot.mjs +1 -2
- package/es/src/utils/tree.d.ts +0 -1
- package/es/src/utils/tree.mjs +1 -2
- package/es/src/work-order-modal/createWorkOrder.d.ts +0 -1
- package/es/src/work-order-modal/index.d.ts +0 -1
- package/es/src/work-order-modal/interfaces.d.ts +0 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
- package/lib/index.d.ts +0 -1
- package/lib/src/ap-action/group/index.vue.d.ts +12 -13
- package/lib/src/ap-action/index.d.ts +0 -1
- package/lib/src/ap-action/interface.d.ts +0 -1
- package/lib/src/ap-action/item/index.vue.d.ts +16 -15
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
- package/lib/src/ap-action/item-modal/index.vue.d.ts +16 -15
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
- package/lib/src/ap-action/style/item.css +5 -5
- package/lib/src/ap-custom-column/column-select.vue.d.ts +3 -4
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +3 -4
- package/lib/src/ap-custom-column/index.d.ts +0 -1
- package/lib/src/ap-custom-column/interfaces.d.ts +0 -1
- package/lib/src/ap-custom-column/storage.js +1 -1
- package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
- package/lib/src/ap-custom-column/utils.d.ts +0 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
- package/lib/src/ap-descriptions/formatter/index.d.ts +0 -1
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
- package/lib/src/ap-descriptions/helper.d.ts +0 -1
- package/lib/src/ap-descriptions/index.d.ts +0 -1
- package/lib/src/ap-descriptions/interface.d.ts +0 -1
- package/lib/src/ap-download/ap-download.vue.d.ts +18 -17
- package/lib/src/ap-download/hooks/index.d.ts +0 -1
- package/lib/src/ap-download/index.d.ts +0 -1
- package/lib/src/ap-download/interface.d.ts +0 -1
- package/lib/src/ap-field/checkbox/helper.d.ts +0 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +11 -12
- package/lib/src/ap-field/date/constant.d.ts +0 -1
- package/lib/src/ap-field/date/helper.d.ts +0 -1
- package/lib/src/ap-field/date/index.vue.d.ts +25 -24
- package/lib/src/ap-field/date-range/index.vue.d.ts +23 -22
- package/lib/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
- package/lib/src/ap-field/index.d.ts +0 -1
- package/lib/src/ap-field/interface.d.ts +0 -1
- package/lib/src/ap-field/number/helper.d.ts +0 -1
- package/lib/src/ap-field/number/index.vue.d.ts +14 -13
- package/lib/src/ap-field/radio/helper.d.ts +0 -1
- package/lib/src/ap-field/radio/index.vue.d.ts +11 -12
- package/lib/src/ap-field/rate/index.vue.d.ts +19 -18
- package/lib/src/ap-field/segmented/index.vue.d.ts +23 -22
- package/lib/src/ap-field/select/index.vue.d.ts +20 -19
- package/lib/src/ap-field/slider/index.vue.d.ts +14 -13
- package/lib/src/ap-field/switch/index.vue.d.ts +15 -14
- package/lib/src/ap-field/text/index.d.ts +0 -1
- package/lib/src/ap-field/text/index.vue.d.ts +17 -16
- package/lib/src/ap-field/text/input-password-props.d.ts +0 -1
- package/lib/src/ap-field/text/password.vue.d.ts +18 -17
- package/lib/src/ap-field/text-area/index.vue.d.ts +13 -14
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
- package/lib/src/ap-form/ap-form-item.vue.d.ts +15 -14
- package/lib/src/ap-form/ap-form-list.vue.d.ts +9 -8
- package/lib/src/ap-form/ap-form.vue.d.ts +22 -21
- package/lib/src/ap-form/constant.d.ts +0 -1
- package/lib/src/ap-form/context.d.ts +0 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +0 -1
- package/lib/src/ap-form/index.d.ts +0 -1
- package/lib/src/ap-form/interface.d.ts +0 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
- package/lib/src/ap-form/items/date/index.vue.d.ts +38 -37
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +38 -37
- package/lib/src/ap-form/items/index.d.ts +0 -1
- package/lib/src/ap-form/items/interface.d.ts +0 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -30
- package/lib/src/ap-form/items/radio/index.vue.d.ts +17 -16
- package/lib/src/ap-form/items/select/index.vue.d.ts +41 -40
- package/lib/src/ap-form/items/switch/index.vue.d.ts +25 -24
- package/lib/src/ap-form/items/text/index.d.ts +0 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +31 -30
- package/lib/src/ap-form/items/text/password.vue.d.ts +31 -30
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +18 -17
- package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -29
- package/lib/src/ap-form/search-form/index.vue.d.ts +23 -22
- package/lib/src/ap-form/search-form/utils.d.ts +0 -1
- package/lib/src/ap-form/style/ap-form-item.css +6 -6
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
- package/lib/src/ap-layout/index.d.ts +0 -1
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +0 -1
- package/lib/src/ap-list/index.d.ts +0 -1
- package/lib/src/ap-list/index.vue.d.ts +9 -122
- package/lib/src/ap-list/interface.d.ts +0 -1
- package/lib/src/ap-modal/index.d.ts +0 -1
- package/lib/src/ap-modal/type.d.ts +0 -1
- package/lib/src/ap-modal/utils/createModal.d.ts +0 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +16 -2222
- package/lib/src/ap-table/components/index/index.vue.d.ts +11 -12
- package/lib/src/ap-table/components/interface.d.ts +0 -1
- package/lib/src/ap-table/components/status/index.vue.d.ts +2 -3
- package/lib/src/ap-table/constants.d.ts +4804 -6359
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +0 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
- package/lib/src/ap-table/index.d.ts +0 -1
- package/lib/src/ap-table/interface.d.ts +0 -1
- package/lib/src/ap-table/style/ap-table.css +1 -1
- package/lib/src/ap-table/utils.d.ts +1 -2
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
- package/lib/src/ap-tag/ap-tag.vue.d.ts +13 -14
- package/lib/src/ap-tag/index.d.ts +0 -1
- package/lib/src/ap-tag/interface.d.ts +0 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +2 -3
- package/lib/src/ap-upload/apUploadTypes.d.ts +0 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +0 -1
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
- package/lib/src/ap-upload/hooks/useOss.d.ts +0 -1
- package/lib/src/ap-upload/index.d.ts +0 -1
- package/lib/src/ap-upload/utils/accept.d.ts +0 -1
- package/lib/src/base-button/button.vue.d.ts +17 -16
- package/lib/src/base-button/constants.d.ts +0 -1
- package/lib/src/base-button/index.d.ts +55 -55
- package/lib/src/base-button/interface.d.ts +0 -1
- package/lib/src/basic/arrow.vue.d.ts +2 -3
- package/lib/src/basic/help.vue.d.ts +4 -9
- package/lib/src/basic/index.d.ts +27 -35
- package/lib/src/basic/interface.d.ts +0 -1
- package/lib/src/basic/title.vue.d.ts +16 -15
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
- package/lib/src/business/ap-export-group/interface.d.ts +0 -1
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +17 -16
- package/lib/src/business/ap-label/index.d.ts +0 -1
- package/lib/src/business/ap-label/interface.d.ts +0 -1
- package/lib/src/business/ap-select-layout/index.css +9 -0
- package/lib/src/business/ap-select-layout/index.d.ts +0 -1
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +11 -12
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
- package/lib/src/business/ap-status/index.d.ts +0 -1
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
- package/lib/src/business/index.d.ts +213 -248
- package/lib/src/business/title/ApTitle.vue.d.ts +19 -18
- package/lib/src/button/button.vue.d.ts +25 -0
- package/lib/src/button/index.d.ts +7 -7
- package/lib/src/check-card/checked.svg.js +1 -1
- package/lib/src/check-card/context.d.ts +0 -1
- package/lib/src/check-card/group.vue.d.ts +21 -20
- package/lib/src/check-card/index.d.ts +0 -1
- package/lib/src/check-card/index.vue.d.ts +16 -15
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/check-card/interface.d.ts +0 -1
- package/lib/src/check-card/style/index.css +5 -5
- package/lib/src/config-provider/config-provider-props.d.ts +22 -23
- package/lib/src/config-provider/config-provider.d.ts +59 -204
- package/lib/src/config-provider/constants.d.ts +0 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +24 -25
- package/lib/src/config-provider/hooks/use-locale.d.ts +0 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +0 -1
- package/lib/src/config-provider/index.d.ts +129 -130
- package/lib/src/container/collapse/header.vue.d.ts +4 -5
- package/lib/src/container/collapse/index.vue.d.ts +5 -6
- package/lib/src/container/index.d.ts +26 -26
- package/lib/src/container/scroll-container.vue.d.ts +13 -12
- package/lib/src/count-down/button.vue.d.ts +11 -12
- package/lib/src/count-down/index.d.ts +13 -13
- package/lib/src/count-down/input.vue.d.ts +14 -13
- package/lib/src/count-down/interface.d.ts +0 -1
- package/lib/src/cropper/cropper-avatar.vue.d.ts +12 -13
- package/lib/src/cropper/cropper-image.vue.d.ts +12 -13
- package/lib/src/cropper/cropper-modal.vue.d.ts +0 -1
- package/lib/src/cropper/index.d.ts +63 -63
- package/lib/src/cropper/interface.d.ts +0 -1
- package/lib/src/description/description.vue.d.ts +1 -2
- package/lib/src/description/index.d.ts +10 -10
- package/lib/src/description/interface.d.ts +0 -1
- package/lib/src/description/use-description.d.ts +0 -1
- package/lib/src/design-token/index.d.ts +0 -1
- package/lib/src/dropdown/dropdown.vue.d.ts +18 -17
- package/lib/src/dropdown/index.d.ts +18 -18
- package/lib/src/dropdown/interface.d.ts +0 -1
- package/lib/src/editable-table/form-item.vue.d.ts +14 -915
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +0 -1
- package/lib/src/editable-table/index.d.ts +0 -1
- package/lib/src/editable-table/index.vue.d.ts +18 -568
- package/lib/src/editable-table/interface.d.ts +0 -1
- package/lib/src/editable-table/style/index.css +1 -1
- package/lib/src/editable-table/utils.d.ts +0 -1
- package/lib/src/hooks/useControllableValue.d.ts +0 -1
- package/lib/src/hooks/useMessage.d.ts +0 -1
- package/lib/src/icon/icon.vue.d.ts +12 -12
- package/lib/src/icon/index.d.ts +36 -36
- package/lib/src/icon/svg-icon.vue.d.ts +11 -12
- package/lib/src/icon-picker/icon-picker.vue.d.ts +12 -13
- package/lib/src/icon-picker/index.d.ts +25 -25
- package/lib/src/locale/index.d.ts +0 -1
- package/lib/src/locale/lang/en.d.ts +0 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.d.ts +0 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +18 -206
- package/lib/src/modal/components/modal-close.vue.d.ts +11 -12
- package/lib/src/modal/components/modal-footer.vue.d.ts +20 -209
- package/lib/src/modal/components/modal-header.vue.d.ts +2 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +7 -5
- package/lib/src/modal/components/modal.d.ts +11 -201
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
- package/lib/src/modal/hooks/use-modal-drag.d.ts +0 -1
- package/lib/src/modal/hooks/use-modal.d.ts +0 -1
- package/lib/src/modal/index.d.ts +37 -130
- package/lib/src/modal/interface.d.ts +0 -1
- package/lib/src/modal/props.d.ts +6 -103
- package/lib/src/pro-form/component-map.d.ts +0 -1
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +11 -12
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
- package/lib/src/pro-form/components/api-select.vue.d.ts +15 -14
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +14 -15
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
- package/lib/src/pro-form/components/api-tree.vue.d.ts +15 -14
- package/lib/src/pro-form/components/form-action.vue.d.ts +19 -18
- package/lib/src/pro-form/components/form-item.vue.d.ts +0 -1
- package/lib/src/pro-form/components/interface.d.ts +0 -1
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
- package/lib/src/pro-form/helper.d.ts +1 -2
- package/lib/src/pro-form/helper.js +1 -1
- package/lib/src/pro-form/hooks/use-advanced.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-component-register.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form-events.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form-events.js +1 -1
- package/lib/src/pro-form/hooks/use-form-item.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form-values.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +122 -123
- package/lib/src/pro-form/index.d.ts +0 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +24 -23
- package/lib/src/pro-form/table-form-inner.vue.d.ts +13 -14
- package/lib/src/pro-form/table-form.vue.d.ts +12 -13
- package/lib/src/pro-form/types/form-item.d.ts +0 -1
- package/lib/src/pro-form/types/form.d.ts +0 -1
- package/lib/src/pro-form/types/index.d.ts +37 -38
- package/lib/src/pro-form/types/table-form.d.ts +0 -1
- package/lib/src/pro-table/component-map.d.ts +0 -1
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
- package/lib/src/pro-table/components/editable/cell-component.d.ts +0 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
- package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/editable/helper.d.ts +0 -1
- package/lib/src/pro-table/components/editable/index.d.ts +0 -1
- package/lib/src/pro-table/components/header-cell.vue.d.ts +0 -1
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
- package/lib/src/pro-table/components/settings/index.vue.d.ts +0 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +7 -6
- package/lib/src/pro-table/components/table-footer.vue.d.ts +19 -20
- package/lib/src/pro-table/components/table-header.vue.d.ts +11 -10
- package/lib/src/pro-table/components/table-image.vue.d.ts +12 -13
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
- package/lib/src/pro-table/components/table-title.vue.d.ts +0 -1
- package/lib/src/pro-table/const.d.ts +0 -1
- package/lib/src/pro-table/directives/click-outside.d.ts +0 -1
- package/lib/src/pro-table/helper.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-columns.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-custom-row.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +1 -2
- package/lib/src/pro-table/hooks/use-loading.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-pagination.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-row-selection.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-context.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-expand.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-footer.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-form.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-header.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
- package/lib/src/pro-table/hooks/use-table-scroll.js +1 -1
- package/lib/src/pro-table/hooks/use-table-style.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table.d.ts +0 -1
- package/lib/src/pro-table/interface.d.ts +0 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +43 -42
- package/lib/src/pro-table/types/pagination.d.ts +0 -1
- package/lib/src/pro-table/types/table-action.d.ts +0 -1
- package/lib/src/pro-table/types/table.d.ts +0 -1
- package/lib/src/prompt/dialog.vue.d.ts +2 -3
- package/lib/src/prompt/index.d.ts +0 -1
- package/lib/src/prompt/interface.d.ts +0 -1
- package/lib/src/prompt/utils.d.ts +2 -2
- package/lib/src/scroll-bar/bar-item.d.ts +0 -1
- package/lib/src/scroll-bar/index.d.ts +27 -27
- package/lib/src/scroll-bar/interface.d.ts +0 -1
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
- package/lib/src/scroll-bar/utils.d.ts +0 -1
- package/lib/src/strength-meter/index.d.ts +19 -19
- package/lib/src/strength-meter/strength-meter.vue.d.ts +14 -13
- package/lib/src/tests/wrapper.d.ts +8 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +5 -5
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +5 -5
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +1 -1
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +6 -6
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
- package/lib/src/theme/ap-action/item.css +5 -5
- package/lib/src/theme/ap-form/ap-form-item.css +6 -6
- package/lib/src/theme/ap-select-layout/ap-select-layout.css +9 -0
- package/lib/src/theme/ap-table/ap-table.css +1 -1
- package/lib/src/theme/check-card/index.css +5 -5
- package/lib/src/theme/editable-table/index.css +1 -1
- package/lib/src/transition/collapse-transition.vue.d.ts +4 -3
- package/lib/src/transition/create-transition.d.ts +0 -1
- package/lib/src/type.d.ts +0 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -17
- package/lib/src/utils/index.d.ts +0 -1
- package/lib/src/utils/slot.d.ts +0 -1
- package/lib/src/utils/tree.d.ts +0 -1
- package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -1
- package/lib/src/work-order-modal/index.d.ts +0 -1
- package/lib/src/work-order-modal/interfaces.d.ts +0 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
- package/package.json +5 -5
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ApFieldSwitchProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
type ApFieldSwitchSlots = {
|
|
5
4
|
checkedChildren: any;
|
|
6
5
|
unCheckedChildren: any;
|
|
7
6
|
default: any;
|
|
8
7
|
};
|
|
9
|
-
declare
|
|
8
|
+
declare function __VLS_template(): Readonly<ApFieldSwitchSlots> & ApFieldSwitchSlots;
|
|
9
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSwitchProps>, {
|
|
10
10
|
emptyText: string;
|
|
11
11
|
checkedValue: boolean;
|
|
12
12
|
unCheckedValue: boolean;
|
|
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
14
14
|
loading: undefined;
|
|
15
15
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
16
|
"update:checked": (...args: any[]) => void;
|
|
17
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
17
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSwitchProps>, {
|
|
18
18
|
emptyText: string;
|
|
19
19
|
checkedValue: boolean;
|
|
20
20
|
unCheckedValue: boolean;
|
|
@@ -23,22 +23,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
23
23
|
}>>> & {
|
|
24
24
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
}, {
|
|
26
|
+
size: "small" | "default";
|
|
26
27
|
loading: boolean;
|
|
27
|
-
size: "default" | "small";
|
|
28
28
|
checkedValue: string | number | boolean;
|
|
29
29
|
unCheckedValue: string | number | boolean;
|
|
30
30
|
emptyText: string;
|
|
31
|
-
}, {}
|
|
31
|
+
}, {}>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
32
33
|
export default _default;
|
|
33
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
-
} : {
|
|
38
|
-
type: PropType<T[K]>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
34
|
type __VLS_WithDefaults<P, D> = {
|
|
43
35
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
36
|
default: D[K];
|
|
@@ -52,3 +44,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
52
44
|
$slots: S;
|
|
53
45
|
};
|
|
54
46
|
};
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToOption<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ApFieldTextProps, FieldMode } from '../interface';
|
|
2
2
|
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
|
|
5
4
|
type ApFieldTextSlots = {
|
|
6
5
|
addonAfter: any;
|
|
7
6
|
addonBefore: any;
|
|
@@ -9,7 +8,8 @@ type ApFieldTextSlots = {
|
|
|
9
8
|
suffix: any;
|
|
10
9
|
clearIcon: any;
|
|
11
10
|
};
|
|
12
|
-
declare
|
|
11
|
+
declare function __VLS_template(): Readonly<ApFieldTextSlots> & ApFieldTextSlots;
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextProps>, {
|
|
13
13
|
emptyText: string;
|
|
14
14
|
mode: string;
|
|
15
15
|
bordered: boolean;
|
|
@@ -17,14 +17,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
17
17
|
lazy: boolean;
|
|
18
18
|
allowClear: boolean;
|
|
19
19
|
}>, {
|
|
20
|
-
focus: (options?: InputFocusOptions
|
|
20
|
+
focus: (options?: InputFocusOptions) => void;
|
|
21
21
|
blur: () => void;
|
|
22
22
|
input: any;
|
|
23
|
-
setSelectionRange: (start: number, end: number, direction?: "
|
|
23
|
+
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
24
24
|
select: () => void;
|
|
25
25
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
26
|
"update:value": (...args: any[]) => void;
|
|
27
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
27
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextProps>, {
|
|
28
28
|
emptyText: string;
|
|
29
29
|
mode: string;
|
|
30
30
|
bordered: boolean;
|
|
@@ -34,23 +34,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
34
34
|
}>>> & {
|
|
35
35
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
type: "number" | "
|
|
37
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "text" | "image" | "color" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
|
|
38
38
|
mode: FieldMode;
|
|
39
39
|
bordered: boolean;
|
|
40
40
|
allowClear: boolean;
|
|
41
41
|
lazy: boolean;
|
|
42
42
|
emptyText: string;
|
|
43
|
-
}, {}
|
|
43
|
+
}, {}>;
|
|
44
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
44
45
|
export default _default;
|
|
45
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
47
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
-
} : {
|
|
50
|
-
type: PropType<T[K]>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
46
|
type __VLS_WithDefaults<P, D> = {
|
|
55
47
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
56
48
|
default: D[K];
|
|
@@ -64,3 +56,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
64
56
|
$slots: S;
|
|
65
57
|
};
|
|
66
58
|
};
|
|
59
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
60
|
+
type __VLS_TypePropsToOption<T> = {
|
|
61
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
62
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
63
|
+
} : {
|
|
64
|
+
type: PropType<T[K]>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ApFieldTextPasswordProps, FieldMode } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
type ApFieldTextPasswordSlots = {
|
|
5
4
|
addonAfter: any;
|
|
6
5
|
addonBefore: any;
|
|
@@ -9,7 +8,8 @@ type ApFieldTextPasswordSlots = {
|
|
|
9
8
|
clearIcon: any;
|
|
10
9
|
iconRender: any;
|
|
11
10
|
};
|
|
12
|
-
declare
|
|
11
|
+
declare function __VLS_template(): Readonly<ApFieldTextPasswordSlots> & ApFieldTextPasswordSlots;
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextPasswordProps>, {
|
|
13
13
|
emptyText: string;
|
|
14
14
|
mode: string;
|
|
15
15
|
bordered: boolean;
|
|
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
25
25
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
26
|
"update:value": (...args: any[]) => void;
|
|
27
27
|
"update:visible": (...args: any[]) => void;
|
|
28
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
28
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextPasswordProps>, {
|
|
29
29
|
emptyText: string;
|
|
30
30
|
mode: string;
|
|
31
31
|
bordered: boolean;
|
|
@@ -39,26 +39,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
39
39
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
41
41
|
}, {
|
|
42
|
-
|
|
43
|
-
type: "number" | "text" | "color" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "image" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
42
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "text" | "image" | "color" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
|
|
44
43
|
mode: FieldMode;
|
|
44
|
+
visible: boolean;
|
|
45
45
|
bordered: boolean;
|
|
46
46
|
allowClear: boolean;
|
|
47
|
-
action: string;
|
|
48
47
|
lazy: boolean;
|
|
49
|
-
|
|
48
|
+
action: string;
|
|
50
49
|
visibilityToggle: boolean;
|
|
51
|
-
|
|
50
|
+
emptyText: string;
|
|
51
|
+
}, {}>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
52
53
|
export default _default;
|
|
53
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
55
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
-
} : {
|
|
58
|
-
type: PropType<T[K]>;
|
|
59
|
-
required: true;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
54
|
type __VLS_WithDefaults<P, D> = {
|
|
63
55
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
64
56
|
default: D[K];
|
|
@@ -72,3 +64,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
72
64
|
$slots: S;
|
|
73
65
|
};
|
|
74
66
|
};
|
|
67
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
68
|
+
type __VLS_TypePropsToOption<T> = {
|
|
69
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
70
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
71
|
+
} : {
|
|
72
|
+
type: PropType<T[K]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ApFieldTextAreaProps, FieldMode } from '../interface';
|
|
2
2
|
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
3
|
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
|
|
5
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldTextAreaProps>, {
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextAreaProps>, {
|
|
6
5
|
emptyText: string;
|
|
7
6
|
bordered: boolean;
|
|
8
7
|
mode: string;
|
|
@@ -10,12 +9,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
10
9
|
lazy: boolean;
|
|
11
10
|
allowClear: boolean;
|
|
12
11
|
}>, {
|
|
13
|
-
focus: (options?: InputFocusOptions
|
|
12
|
+
focus: (options?: InputFocusOptions) => void;
|
|
14
13
|
blur: () => void;
|
|
15
14
|
resizableTextArea: ComputedRef<any>;
|
|
16
15
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
16
|
"update:value": (...args: any[]) => void;
|
|
18
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
17
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldTextAreaProps>, {
|
|
19
18
|
emptyText: string;
|
|
20
19
|
bordered: boolean;
|
|
21
20
|
mode: string;
|
|
@@ -25,7 +24,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
25
24
|
}>>> & {
|
|
26
25
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
27
26
|
}, {
|
|
28
|
-
type: "number" | "
|
|
27
|
+
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "text" | "image" | "color" | "tel" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password";
|
|
29
28
|
mode: FieldMode;
|
|
30
29
|
bordered: boolean;
|
|
31
30
|
allowClear: boolean;
|
|
@@ -33,15 +32,6 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
33
32
|
emptyText: string;
|
|
34
33
|
}, {}>;
|
|
35
34
|
export default _default;
|
|
36
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
-
} : {
|
|
41
|
-
type: PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
35
|
type __VLS_WithDefaults<P, D> = {
|
|
46
36
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
37
|
default: D[K];
|
|
@@ -50,3 +40,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
50
40
|
type __VLS_Prettify<T> = {
|
|
51
41
|
[K in keyof T]: T[K];
|
|
52
42
|
} & {};
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToOption<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -2,34 +2,26 @@ import { ApFormItemGroupProps } from '../interface';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { Breakpoint } from 'ant-design-vue/es/_util/responsiveObserve';
|
|
4
4
|
import { Gutter } from 'ant-design-vue/es/grid/Row';
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
declare function __VLS_template(): Readonly<{
|
|
6
|
+
default(): any[];
|
|
7
|
+
}> & {
|
|
8
|
+
default(): any[];
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemGroupProps>, {
|
|
7
11
|
countPerRow: number;
|
|
8
12
|
gutter: number;
|
|
9
13
|
wrap: undefined;
|
|
10
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
14
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemGroupProps>, {
|
|
11
15
|
countPerRow: number;
|
|
12
16
|
gutter: number;
|
|
13
17
|
wrap: undefined;
|
|
14
18
|
}>>>, {
|
|
15
|
-
gutter: number | Partial<Record< Breakpoint, number>> | [ Gutter, Gutter];
|
|
16
19
|
wrap: boolean;
|
|
20
|
+
gutter: number | Partial<Record< Breakpoint, number>> | [ Gutter, Gutter];
|
|
17
21
|
countPerRow: number;
|
|
18
|
-
}, {}
|
|
19
|
-
|
|
20
|
-
}> & {
|
|
21
|
-
default(): any[];
|
|
22
|
-
}>;
|
|
22
|
+
}, {}>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
24
|
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
25
|
type __VLS_WithDefaults<P, D> = {
|
|
34
26
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
27
|
default: D[K];
|
|
@@ -43,3 +35,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
43
35
|
$slots: S;
|
|
44
36
|
};
|
|
45
37
|
};
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToOption<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ApFormItemProps, ApFormItemSlots } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function onFieldBlur(): void;
|
|
5
4
|
declare function onFieldChange(): void;
|
|
6
5
|
declare function clearValidate(): void;
|
|
7
6
|
declare function resetField(): void;
|
|
8
7
|
declare function getFieldValue(): any;
|
|
9
|
-
declare
|
|
8
|
+
declare function __VLS_template(): Readonly<ApFormItemSlots> & ApFormItemSlots;
|
|
9
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemProps>, {
|
|
10
10
|
hasFeedback: boolean;
|
|
11
11
|
colon: undefined;
|
|
12
12
|
autoLink: boolean;
|
|
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
20
20
|
clearValidate: typeof clearValidate;
|
|
21
21
|
resetField: typeof resetField;
|
|
22
22
|
getFieldValue: typeof getFieldValue;
|
|
23
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
23
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemProps>, {
|
|
24
24
|
hasFeedback: boolean;
|
|
25
25
|
colon: undefined;
|
|
26
26
|
autoLink: boolean;
|
|
@@ -31,22 +31,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
31
31
|
}>>>, {
|
|
32
32
|
required: boolean;
|
|
33
33
|
bordered: boolean;
|
|
34
|
-
hasFeedback: boolean;
|
|
35
34
|
colon: boolean;
|
|
35
|
+
hasFeedback: boolean;
|
|
36
36
|
autoLink: boolean;
|
|
37
37
|
validateFirst: boolean;
|
|
38
38
|
valuePropName: string;
|
|
39
|
-
}, {}
|
|
39
|
+
}, {}>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
41
|
export default _default;
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
42
|
type __VLS_WithDefaults<P, D> = {
|
|
51
43
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
44
|
default: D[K];
|
|
@@ -60,3 +52,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
60
52
|
$slots: S;
|
|
61
53
|
};
|
|
62
54
|
};
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
+
type __VLS_TypePropsToOption<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
+
} : {
|
|
60
|
+
type: PropType<T[K]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ApFormListProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
type FormListField = {
|
|
5
4
|
key: number;
|
|
6
5
|
name: (string | number)[];
|
|
@@ -17,10 +16,17 @@ type ApFormListSlots = {
|
|
|
17
16
|
actions: FormListActions;
|
|
18
17
|
}): any;
|
|
19
18
|
};
|
|
20
|
-
declare
|
|
19
|
+
declare function __VLS_template(): Readonly<ApFormListSlots> & ApFormListSlots;
|
|
20
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<ApFormListProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ApFormListProps>>>, {}, {}>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
22
|
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
22
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type
|
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
|
24
30
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
31
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
32
|
} : {
|
|
@@ -28,8 +34,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
28
34
|
required: true;
|
|
29
35
|
};
|
|
30
36
|
};
|
|
31
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
-
new (): {
|
|
33
|
-
$slots: S;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ApFormProps, RegistedFieldType, WatchFunc } from './interface';
|
|
2
2
|
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
|
|
5
4
|
/**
|
|
6
5
|
* 订阅事件
|
|
7
6
|
*/
|
|
@@ -15,7 +14,10 @@ declare function getInternalInstance(mark: string): {
|
|
|
15
14
|
registerField: typeof registerField;
|
|
16
15
|
registerWatch: typeof registerWatch;
|
|
17
16
|
} | undefined;
|
|
18
|
-
declare
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormProps>, {
|
|
19
21
|
layout: string;
|
|
20
22
|
hideRequiredMark: boolean;
|
|
21
23
|
colon: boolean;
|
|
@@ -24,14 +26,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
24
26
|
validateTrigger: string;
|
|
25
27
|
}>, {
|
|
26
28
|
resetFields: () => Promise<void>;
|
|
27
|
-
clearValidate: (name?: NamePath
|
|
28
|
-
validateFields: (nameList?:
|
|
29
|
+
clearValidate: (name?: NamePath) => void;
|
|
30
|
+
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<{
|
|
29
31
|
[key: string]: any;
|
|
30
32
|
}> | undefined;
|
|
31
|
-
getFieldsValue: (nameList?:
|
|
33
|
+
getFieldsValue: (nameList?: InternalNamePath[] | true) => {
|
|
32
34
|
[key: string]: any;
|
|
33
35
|
} | undefined;
|
|
34
|
-
validate: (nameList?:
|
|
36
|
+
validate: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<{
|
|
35
37
|
[key: string]: any;
|
|
36
38
|
}> | undefined;
|
|
37
39
|
scrollToField: (name: NamePath, options?: {}) => void;
|
|
@@ -39,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
39
41
|
setFieldValue: (key: any, newValue: any) => void;
|
|
40
42
|
registerWatch: typeof registerWatch;
|
|
41
43
|
getInternalInstance: typeof getInternalInstance;
|
|
42
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
44
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormProps>, {
|
|
43
45
|
layout: string;
|
|
44
46
|
hideRequiredMark: boolean;
|
|
45
47
|
colon: boolean;
|
|
@@ -47,25 +49,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
47
49
|
validateOnRuleChange: boolean;
|
|
48
50
|
validateTrigger: string;
|
|
49
51
|
}>>>, {
|
|
52
|
+
layout: string;
|
|
53
|
+
validateTrigger: string | string[];
|
|
50
54
|
colon: boolean;
|
|
51
55
|
labelAlign: FormLabelAlign;
|
|
52
|
-
validateTrigger: string | string[];
|
|
53
|
-
layout: string;
|
|
54
56
|
hideRequiredMark: boolean;
|
|
55
57
|
validateOnRuleChange: boolean;
|
|
56
|
-
}, {}
|
|
57
|
-
|
|
58
|
-
}>;
|
|
58
|
+
}, {}>;
|
|
59
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
59
60
|
export default _default;
|
|
60
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
62
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
-
} : {
|
|
65
|
-
type: PropType<T[K]>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
61
|
type __VLS_WithDefaults<P, D> = {
|
|
70
62
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
71
63
|
default: D[K];
|
|
@@ -79,3 +71,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
79
71
|
$slots: S;
|
|
80
72
|
};
|
|
81
73
|
};
|
|
74
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
75
|
+
type __VLS_TypePropsToOption<T> = {
|
|
76
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
77
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
78
|
+
} : {
|
|
79
|
+
type: PropType<T[K]>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NamePath } from 'ant-design-vue/es/form/interface';
|
|
2
2
|
import { ApFormExpose } from '../interface';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
|
-
|
|
5
4
|
type ApFormIns<T> = ApFormExpose<T>;
|
|
6
5
|
declare const useWatch: <ValueType = any, StoreType = any>(name: NamePath, form?: Ref<ApFormIns<StoreType> | undefined>) => Ref<ValueType | undefined>;
|
|
7
6
|
export default useWatch;
|
|
@@ -5,7 +5,6 @@ import { default as ApFormList } from './ap-form-list.vue';
|
|
|
5
5
|
import { default as ApFormSearchForm } from './search-form/index.vue';
|
|
6
6
|
import { default as ApFormModalForm } from './modal-form/index.vue';
|
|
7
7
|
import { default as useWatch } from './hooks/use-watch';
|
|
8
|
-
|
|
9
8
|
type ApFormMixedProps = typeof _ApForm & {
|
|
10
9
|
FormItem: typeof ApFormItem;
|
|
11
10
|
FormItemGroup: typeof ApFormItemGroup;
|
|
@@ -3,7 +3,6 @@ import { FormItemExpose } from 'ant-design-vue/es/form/FormItem';
|
|
|
3
3
|
import { InternalNamePath, NamePath, ValidateOptions } from 'ant-design-vue/es/form/interface';
|
|
4
4
|
import { Recordable } from '../type';
|
|
5
5
|
import { VNode } from 'vue';
|
|
6
|
-
|
|
7
6
|
export type ApFormColProps = Omit<ColProps, 'prefixCls'>;
|
|
8
7
|
export type ApFormItemProps = FormItemProps & Partial<ApFormColProps> & {
|
|
9
8
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ApFormItemCheckboxProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { ApFieldCheckboxProps } from '
|
|
5
|
-
|
|
4
|
+
import { ApFieldCheckboxProps } from '../../../ap-field';
|
|
6
5
|
type ApFormItemCheckboxSlots = Omit<ApFormItemSlots, 'default'>;
|
|
7
|
-
declare
|
|
6
|
+
declare function __VLS_template(): Readonly<ApFormItemCheckboxSlots> & ApFormItemCheckboxSlots;
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemCheckboxProps>, {
|
|
8
8
|
hasFeedback: boolean;
|
|
9
9
|
colon: undefined;
|
|
10
10
|
autoLink: boolean;
|
|
@@ -12,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12
12
|
validateFirst: undefined;
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
field: () => {};
|
|
15
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
15
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFormItemCheckboxProps>, {
|
|
16
16
|
hasFeedback: boolean;
|
|
17
17
|
colon: undefined;
|
|
18
18
|
autoLink: boolean;
|
|
@@ -23,22 +23,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
23
23
|
}>>>, {
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
required: boolean;
|
|
26
|
-
|
|
26
|
+
field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
|
|
27
27
|
colon: boolean;
|
|
28
|
+
hasFeedback: boolean;
|
|
28
29
|
autoLink: boolean;
|
|
29
30
|
validateFirst: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
}, {}>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
32
33
|
export default _default;
|
|
33
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
-
} : {
|
|
38
|
-
type: PropType<T[K]>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
34
|
type __VLS_WithDefaults<P, D> = {
|
|
43
35
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
36
|
default: D[K];
|
|
@@ -52,3 +44,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
52
44
|
$slots: S;
|
|
53
45
|
};
|
|
54
46
|
};
|
|
47
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
+
type __VLS_TypePropsToOption<T> = {
|
|
49
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
+
} : {
|
|
52
|
+
type: PropType<T[K]>;
|
|
53
|
+
required: true;
|
|
54
|
+
};
|
|
55
|
+
};
|