@aplus-frontend/ui 0.0.40 → 0.1.1
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 +24 -26
- 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-modal/index.vue.mjs +7 -6
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
- package/es/src/ap-action/style/item.css +10 -25
- 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/checkbox/index.vue.mjs +32 -27
- package/es/src/ap-field/checkbox/style.css +7 -0
- 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 +2 -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 +14 -12
- package/es/src/ap-field/radio/index.vue.mjs +44 -29
- package/es/src/ap-field/radio/style.css +4 -0
- 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/ap-table.vue.mjs +125 -126
- 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 +4816 -6356
- 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 -21
- 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 +8 -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/ApStatusGroup.vue2.mjs +10 -9
- 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 +45 -49
- package/es/src/check-card/interface.d.ts +0 -1
- package/es/src/check-card/style/index.css +10 -42
- 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/design-token/index.mjs +4 -2
- 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/form-item.vue.mjs +57 -58
- 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/index.vue.mjs +54 -55
- package/es/src/editable-table/interface.d.ts +0 -1
- package/es/src/editable-table/style/index.css +1 -21
- 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 +1 -1
- 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 +10 -25
- package/es/src/theme/ap-field/checkbox.css +7 -0
- package/es/src/theme/ap-field/radio.css +4 -0
- package/es/src/theme/ap-form/ap-form-item.css +6 -6
- package/es/src/theme/ap-select-layout/ap-select-layout.css +8 -0
- package/es/src/theme/ap-table/ap-table.css +1 -21
- package/es/src/theme/check-card/index.css +10 -42
- package/es/src/theme/css-var/index.mjs +83 -19
- package/es/src/theme/editable-table/index.css +1 -21
- 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-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
- package/lib/src/ap-action/style/item.css +10 -25
- 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/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/style.css +7 -0
- 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 +2 -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 +14 -12
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/radio/style.css +4 -0
- 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/ap-table.vue.js +1 -1
- 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 +4816 -6356
- 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 -21
- 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 +8 -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/ApStatusGroup.vue2.js +1 -1
- 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 +10 -42
- 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/design-token/index.js +1 -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/form-item.vue.js +1 -1
- 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/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +0 -1
- package/lib/src/editable-table/style/index.css +1 -21
- 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 +10 -25
- package/lib/src/theme/ap-field/checkbox.css +7 -0
- package/lib/src/theme/ap-field/radio.css +4 -0
- package/lib/src/theme/ap-form/ap-form-item.css +6 -6
- package/lib/src/theme/ap-select-layout/ap-select-layout.css +8 -0
- package/lib/src/theme/ap-table/ap-table.css +1 -21
- package/lib/src/theme/check-card/index.css +10 -42
- package/lib/src/theme/css-var/index.js +1 -1
- package/lib/src/theme/editable-table/index.css +1 -21
- 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 +3 -3
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ApFieldNumberProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
|
|
4
|
-
|
|
5
4
|
type ApFieldNumberSlots = {
|
|
6
5
|
addonBefore?: any;
|
|
7
6
|
addonAfter?: any;
|
|
@@ -12,7 +11,8 @@ type ApFieldNumberSlots = {
|
|
|
12
11
|
};
|
|
13
12
|
declare function focus(): void;
|
|
14
13
|
declare function blur(): void;
|
|
15
|
-
declare
|
|
14
|
+
declare function __VLS_template(): Readonly<ApFieldNumberSlots> & ApFieldNumberSlots;
|
|
15
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldNumberProps>, {
|
|
16
16
|
emptyText: string;
|
|
17
17
|
thousands: boolean;
|
|
18
18
|
bordered: boolean;
|
|
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
26
26
|
blur: typeof blur;
|
|
27
27
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
28
|
"update:value": (...args: any[]) => void;
|
|
29
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
29
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldNumberProps>, {
|
|
30
30
|
emptyText: string;
|
|
31
31
|
thousands: boolean;
|
|
32
32
|
bordered: boolean;
|
|
@@ -46,17 +46,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
46
46
|
controls: boolean;
|
|
47
47
|
emptyText: string;
|
|
48
48
|
thousands: boolean;
|
|
49
|
-
}, {}
|
|
49
|
+
}, {}>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
50
51
|
export default _default;
|
|
51
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
53
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
-
} : {
|
|
56
|
-
type: PropType<T[K]>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
52
|
type __VLS_WithDefaults<P, D> = {
|
|
61
53
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
62
54
|
default: D[K];
|
|
@@ -70,3 +62,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
70
62
|
$slots: S;
|
|
71
63
|
};
|
|
72
64
|
};
|
|
65
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
66
|
+
type __VLS_TypePropsToOption<T> = {
|
|
67
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
68
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
69
|
+
} : {
|
|
70
|
+
type: PropType<T[K]>;
|
|
71
|
+
required: true;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
@@ -1,35 +1,28 @@
|
|
|
1
1
|
import { ApFieldRadioProps, FieldMode } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function focus(): void;
|
|
5
4
|
declare function blur(): void;
|
|
6
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<
|
|
5
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRadioProps>, {
|
|
7
6
|
emptyText: string;
|
|
8
7
|
mode: string;
|
|
8
|
+
vertical: boolean;
|
|
9
9
|
}>, {
|
|
10
10
|
focus: typeof focus;
|
|
11
11
|
blur: typeof blur;
|
|
12
12
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
13
|
"update:value": (...args: any[]) => void;
|
|
14
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRadioProps>, {
|
|
15
15
|
emptyText: string;
|
|
16
16
|
mode: string;
|
|
17
|
+
vertical: boolean;
|
|
17
18
|
}>>> & {
|
|
18
19
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
19
20
|
}, {
|
|
20
21
|
mode: FieldMode;
|
|
22
|
+
vertical: boolean;
|
|
21
23
|
emptyText: string;
|
|
22
24
|
}, {}>;
|
|
23
25
|
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
26
|
type __VLS_WithDefaults<P, D> = {
|
|
34
27
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
28
|
default: D[K];
|
|
@@ -38,3 +31,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
38
31
|
type __VLS_Prettify<T> = {
|
|
39
32
|
[K in keyof T]: T[K];
|
|
40
33
|
} & {};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Spin as
|
|
1
|
+
import { defineComponent as _, ref as i, onMounted as q, computed as C, unref as o, openBlock as l, createElementBlock as m, Fragment as c, createTextVNode as R, toDisplayString as U, createBlock as d, mergeProps as h } from "vue";
|
|
2
|
+
import { Spin as G, RadioGroup as N } from "ant-design-vue";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
4
|
import { isNil as S, omit as z } from "lodash-unified";
|
|
5
|
-
import { getOptionValue as F, getOptionLabel as
|
|
6
|
-
import
|
|
7
|
-
|
|
5
|
+
import { getOptionValue as F, getOptionLabel as O } from "./helper.mjs";
|
|
6
|
+
import "./style.css";
|
|
7
|
+
import "../../config-provider/index.mjs";
|
|
8
|
+
import { useControllableValue as A } from "../../hooks/useControllableValue.mjs";
|
|
9
|
+
import { useNamespace as D } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
const K = /* @__PURE__ */ _({
|
|
8
11
|
name: "ApFieldRadio",
|
|
9
12
|
__name: "index",
|
|
10
13
|
props: {
|
|
@@ -23,54 +26,66 @@ const j = /* @__PURE__ */ V({
|
|
|
23
26
|
onChange: {},
|
|
24
27
|
"onUpdate:value": {},
|
|
25
28
|
emptyText: { default: "--" },
|
|
26
|
-
request: {}
|
|
29
|
+
request: {},
|
|
30
|
+
vertical: { type: Boolean, default: !1 }
|
|
27
31
|
},
|
|
28
32
|
emits: ["update:value"],
|
|
29
|
-
setup(
|
|
30
|
-
const t =
|
|
33
|
+
setup(f, { expose: v, emit: y }) {
|
|
34
|
+
const t = f, g = y, n = i(), u = i((t == null ? void 0 : t.options) || []), { value: s, updateValue: k } = A(t, g), { m: x } = D("field-radio"), r = i(!1);
|
|
31
35
|
q(() => {
|
|
32
36
|
var e;
|
|
33
37
|
t.request && (r.value = !0, (e = t.request) == null || e.call(t).then((a) => u.value = a).finally(() => {
|
|
34
38
|
r.value = !1;
|
|
35
39
|
}));
|
|
36
40
|
});
|
|
37
|
-
const
|
|
41
|
+
const b = C(() => {
|
|
38
42
|
var p;
|
|
39
43
|
const e = o(s);
|
|
40
44
|
if (S(e))
|
|
41
45
|
return t.emptyText;
|
|
42
46
|
const a = (p = u.value) == null ? void 0 : p.find(
|
|
43
|
-
(
|
|
47
|
+
(V) => e === F(V)
|
|
44
48
|
);
|
|
45
|
-
return
|
|
49
|
+
return O(a) || t.emptyText;
|
|
46
50
|
});
|
|
47
|
-
function
|
|
51
|
+
function T() {
|
|
48
52
|
var e;
|
|
49
|
-
(e =
|
|
53
|
+
(e = n.value) == null || e.focus();
|
|
50
54
|
}
|
|
51
|
-
function
|
|
55
|
+
function B() {
|
|
52
56
|
var e;
|
|
53
|
-
(e =
|
|
57
|
+
(e = n.value) == null || e.blur();
|
|
54
58
|
}
|
|
55
59
|
return v({
|
|
56
|
-
focus:
|
|
57
|
-
blur:
|
|
58
|
-
}), (e, a) => e.mode === "read" ? (
|
|
59
|
-
|
|
60
|
-
], 64)) : (
|
|
61
|
-
r.value ? (
|
|
60
|
+
focus: T,
|
|
61
|
+
blur: B
|
|
62
|
+
}), (e, a) => e.mode === "read" ? (l(), m(c, { key: 0 }, [
|
|
63
|
+
R(U(b.value), 1)
|
|
64
|
+
], 64)) : (l(), m(c, { key: 1 }, [
|
|
65
|
+
r.value ? (l(), d(o(G), {
|
|
62
66
|
key: 0,
|
|
63
67
|
size: "small"
|
|
64
|
-
})) : (
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
})) : (l(), d(o(N), h(
|
|
69
|
+
{ key: 1 },
|
|
70
|
+
o(z)(t, [
|
|
71
|
+
"value",
|
|
72
|
+
"onUpdate:value",
|
|
73
|
+
"options",
|
|
74
|
+
"request",
|
|
75
|
+
"vertical"
|
|
76
|
+
]),
|
|
77
|
+
{
|
|
78
|
+
value: o(s),
|
|
79
|
+
"onUpdate:value": o(k),
|
|
80
|
+
options: u.value,
|
|
81
|
+
ref_key: "radioGroupRef",
|
|
82
|
+
ref: n,
|
|
83
|
+
class: e.vertical ? o(x)("vertical") : null
|
|
84
|
+
}
|
|
85
|
+
), null, 16, ["value", "onUpdate:value", "options", "class"]))
|
|
71
86
|
], 64));
|
|
72
87
|
}
|
|
73
88
|
});
|
|
74
89
|
export {
|
|
75
|
-
|
|
90
|
+
K as default
|
|
76
91
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { ApFieldRateProps, FieldMode } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function focus(): void;
|
|
5
4
|
declare function blur(): void;
|
|
6
|
-
declare
|
|
5
|
+
declare function __VLS_template(): Readonly<{
|
|
6
|
+
character: any;
|
|
7
|
+
}> & {
|
|
8
|
+
character: any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRateProps>, {
|
|
7
11
|
mode: string;
|
|
8
12
|
allowClear: boolean;
|
|
9
13
|
allowHalf: boolean;
|
|
@@ -16,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
16
20
|
blur: typeof blur;
|
|
17
21
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
22
|
"update:value": (...args: any[]) => void;
|
|
19
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
23
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldRateProps>, {
|
|
20
24
|
mode: string;
|
|
21
25
|
allowClear: boolean;
|
|
22
26
|
allowHalf: boolean;
|
|
@@ -27,28 +31,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
27
31
|
}>>> & {
|
|
28
32
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
29
33
|
}, {
|
|
34
|
+
mode: FieldMode;
|
|
30
35
|
disabled: boolean;
|
|
31
36
|
autofocus: boolean;
|
|
32
|
-
mode: FieldMode;
|
|
33
37
|
allowClear: boolean;
|
|
34
38
|
count: number;
|
|
35
|
-
character: any;
|
|
36
39
|
allowHalf: boolean;
|
|
37
|
-
}, {}>, Readonly<{
|
|
38
40
|
character: any;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
}>;
|
|
41
|
+
}, {}>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
43
|
export default _default;
|
|
43
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
-
type __VLS_TypePropsToRuntimeProps<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
|
-
};
|
|
52
44
|
type __VLS_WithDefaults<P, D> = {
|
|
53
45
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
46
|
default: D[K];
|
|
@@ -62,3 +54,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
62
54
|
$slots: S;
|
|
63
55
|
};
|
|
64
56
|
};
|
|
57
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
+
type __VLS_TypePropsToOption<T> = {
|
|
59
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
+
} : {
|
|
62
|
+
type: PropType<T[K]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { ApFieldSegmentedProps, FieldMode } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
label?(_: {
|
|
5
|
+
value: string | number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
payload?: any;
|
|
8
|
+
title?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
}): any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSegmentedProps>, {
|
|
5
13
|
mode: string;
|
|
6
14
|
emptyText: string;
|
|
7
15
|
block: undefined;
|
|
8
16
|
disabled: undefined;
|
|
9
17
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
18
|
"update:value": (...args: any[]) => void;
|
|
11
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
19
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSegmentedProps>, {
|
|
12
20
|
mode: string;
|
|
13
21
|
emptyText: string;
|
|
14
22
|
block: undefined;
|
|
@@ -16,29 +24,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
16
24
|
}>>> & {
|
|
17
25
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
18
26
|
}, {
|
|
19
|
-
disabled: boolean;
|
|
20
27
|
mode: FieldMode;
|
|
28
|
+
disabled: boolean;
|
|
21
29
|
block: boolean;
|
|
22
30
|
emptyText: string;
|
|
23
|
-
}, {}
|
|
24
|
-
|
|
25
|
-
value: string | number;
|
|
26
|
-
disabled?: boolean | undefined;
|
|
27
|
-
payload?: any;
|
|
28
|
-
title?: string | undefined;
|
|
29
|
-
className?: string | undefined;
|
|
30
|
-
}): any;
|
|
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,6 +1,5 @@
|
|
|
1
1
|
import { ApFieldSelectProps, FieldMode } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
type ApFieldSelectSlots = {
|
|
5
4
|
notFoundContent: any;
|
|
6
5
|
suffixIcon: any;
|
|
@@ -18,7 +17,8 @@ type ApFieldSelectSlots = {
|
|
|
18
17
|
declare function requestIfNeeded(clear?: boolean): Promise<void>;
|
|
19
18
|
declare function focus(): void;
|
|
20
19
|
declare function blur(): void;
|
|
21
|
-
declare
|
|
20
|
+
declare function __VLS_template(): Readonly<ApFieldSelectSlots> & ApFieldSelectSlots;
|
|
21
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSelectProps>, {
|
|
22
22
|
mode: string;
|
|
23
23
|
emptyText: string;
|
|
24
24
|
bordered: undefined;
|
|
@@ -42,7 +42,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
42
42
|
request: typeof requestIfNeeded;
|
|
43
43
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
44
44
|
"update:value": (...args: any[]) => void;
|
|
45
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
45
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSelectProps>, {
|
|
46
46
|
mode: string;
|
|
47
47
|
emptyText: string;
|
|
48
48
|
bordered: undefined;
|
|
@@ -63,34 +63,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
63
63
|
}>>> & {
|
|
64
64
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
65
65
|
}, {
|
|
66
|
-
disabled: boolean;
|
|
67
|
-
loading: boolean;
|
|
68
|
-
open: boolean;
|
|
69
|
-
autofocus: boolean;
|
|
70
|
-
multiple: boolean;
|
|
71
66
|
mode: FieldMode;
|
|
72
67
|
virtual: boolean;
|
|
73
|
-
|
|
68
|
+
open: boolean;
|
|
69
|
+
loading: boolean;
|
|
70
|
+
disabled: boolean;
|
|
74
71
|
bordered: boolean;
|
|
72
|
+
autofocus: boolean;
|
|
75
73
|
allowClear: boolean;
|
|
74
|
+
showSearch: boolean;
|
|
76
75
|
defaultOpen: boolean;
|
|
77
76
|
showArrow: boolean;
|
|
78
77
|
autoClearSearchValue: boolean;
|
|
79
78
|
defaultActiveFirstOption: boolean;
|
|
80
79
|
labelInValue: boolean;
|
|
80
|
+
multiple: boolean;
|
|
81
81
|
emptyText: string;
|
|
82
82
|
searchMode: "filter" | "request";
|
|
83
|
-
}, {}
|
|
83
|
+
}, {}>;
|
|
84
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
84
85
|
export default _default;
|
|
85
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
86
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
87
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
88
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
89
|
-
} : {
|
|
90
|
-
type: PropType<T[K]>;
|
|
91
|
-
required: true;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
86
|
type __VLS_WithDefaults<P, D> = {
|
|
95
87
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
96
88
|
default: D[K];
|
|
@@ -104,3 +96,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
104
96
|
$slots: S;
|
|
105
97
|
};
|
|
106
98
|
};
|
|
99
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
100
|
+
type __VLS_TypePropsToOption<T> = {
|
|
101
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
102
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
103
|
+
} : {
|
|
104
|
+
type: PropType<T[K]>;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ApFieldSliderProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
type ApFieldSliderSlots = {
|
|
5
4
|
default?: any;
|
|
6
5
|
mark?: (option: {
|
|
@@ -10,7 +9,8 @@ type ApFieldSliderSlots = {
|
|
|
10
9
|
};
|
|
11
10
|
declare function focus(): void;
|
|
12
11
|
declare function blur(): void;
|
|
13
|
-
declare
|
|
12
|
+
declare function __VLS_template(): Readonly<ApFieldSliderSlots> & ApFieldSliderSlots;
|
|
13
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSliderProps>, {
|
|
14
14
|
included: boolean;
|
|
15
15
|
min: number;
|
|
16
16
|
max: number;
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
23
23
|
blur: typeof blur;
|
|
24
24
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
25
|
"update:value": (...args: any[]) => void;
|
|
26
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
26
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldSliderProps>, {
|
|
27
27
|
included: boolean;
|
|
28
28
|
min: number;
|
|
29
29
|
max: number;
|
|
@@ -41,17 +41,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
41
41
|
tooltipOpen: boolean;
|
|
42
42
|
tooltipVisible: boolean;
|
|
43
43
|
emptyText: string;
|
|
44
|
-
}, {}
|
|
44
|
+
}, {}>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
45
46
|
export default _default;
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
47
|
type __VLS_WithDefaults<P, D> = {
|
|
56
48
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
49
|
default: D[K];
|
|
@@ -65,3 +57,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
65
57
|
$slots: S;
|
|
66
58
|
};
|
|
67
59
|
};
|
|
60
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
+
type __VLS_TypePropsToOption<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
|
+
};
|
|
@@ -42,10 +42,7 @@ const I = /* @__PURE__ */ x({
|
|
|
42
42
|
},
|
|
43
43
|
emits: ["update:value"],
|
|
44
44
|
setup(p, { expose: s, emit: i }) {
|
|
45
|
-
const d = g(), l = k(), a = p, f = i, { value: r, updateValue: m } = E(
|
|
46
|
-
a,
|
|
47
|
-
f
|
|
48
|
-
), c = C(() => {
|
|
45
|
+
const d = g(), l = k(), a = p, f = i, { value: r, updateValue: m } = E(a, f), c = C(() => {
|
|
49
46
|
const e = o(r);
|
|
50
47
|
return w(e) ? a.emptyText : z(e) ? `${e[0]}-${e[1]}` : e;
|
|
51
48
|
});
|
|
@@ -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
|
+
};
|