@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
|
@@ -2,7 +2,6 @@ import { ComputedRef, Ref } from 'vue';
|
|
|
2
2
|
import { BasicTableProps } from '../types/table';
|
|
3
3
|
import { Key } from 'ant-design-vue/lib/table/interface';
|
|
4
4
|
import { EmitType, Recordable } from '../../type';
|
|
5
|
-
|
|
6
5
|
export declare function useTableExpand(propsRef: ComputedRef<BasicTableProps>, tableData: Ref<Recordable[]>, emit: EmitType): {
|
|
7
6
|
getExpandOption: ComputedRef<{
|
|
8
7
|
expandedRowKeys?: undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { BasicTableProps } from '../types/table';
|
|
3
3
|
import { ComponentRef, Recordable } from '../../type';
|
|
4
|
-
|
|
5
4
|
export declare function useTableFooter(propsRef: ComputedRef<BasicTableProps>, scrollRef: ComputedRef<BasicTableProps['scroll']>, tableElRef: Ref<ComponentRef>, getDataSourceRef: ComputedRef<Recordable>): {
|
|
6
5
|
getFooterProps: ComputedRef<Recordable | undefined>;
|
|
7
6
|
};
|
|
@@ -2,7 +2,6 @@ import { ComputedRef, Slots } from 'vue';
|
|
|
2
2
|
import { BasicTableProps, FetchParams } from '../types/table';
|
|
3
3
|
import { ProFormProps } from '../../pro-form';
|
|
4
4
|
import { Recordable } from '../../type';
|
|
5
|
-
|
|
6
5
|
export declare function useTableForm(propsRef: ComputedRef<BasicTableProps>, slots: Slots, fetch: (opt?: FetchParams | undefined) => Promise<Recordable<any>[] | undefined>, getLoading: ComputedRef<boolean | undefined>): {
|
|
7
6
|
getFormProps: ComputedRef<Partial<ProFormProps>>;
|
|
8
7
|
replaceFormSlotKey: (key: string) => string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, Slots } from 'vue';
|
|
2
2
|
import { BasicTableProps, InnerHandlers, InnerMethods } from '../types/table';
|
|
3
3
|
import { Recordable } from '../../type';
|
|
4
|
-
|
|
5
4
|
export declare function useTableHeader(propsRef: ComputedRef<BasicTableProps>, slots: Slots, handlers: InnerHandlers, methods: InnerMethods): {
|
|
6
5
|
getHeaderProps: ComputedRef<Recordable>;
|
|
7
6
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { BasicTableProps, TableRowSelection, BasicColumn } from '../types/table';
|
|
2
2
|
import { Ref, ComputedRef } from 'vue';
|
|
3
3
|
import { ComponentRef, Recordable } from '../../type';
|
|
4
|
-
|
|
5
4
|
export declare function useTableScroll(propsRef: ComputedRef<BasicTableProps>, tableElRef: Ref<ComponentRef>, columnsRef: ComputedRef<BasicColumn[]>, rowSelectionRef: ComputedRef<TableRowSelection | null>, getDataSourceRef: ComputedRef<Recordable[]>, wrapRef: Ref<HTMLElement | null>, formRef: Ref<ComponentRef>): {
|
|
6
5
|
getScrollRef: ComputedRef<({
|
|
7
|
-
x?: string | number | true
|
|
8
|
-
y?: string | number
|
|
6
|
+
x?: string | number | true;
|
|
7
|
+
y?: string | number;
|
|
9
8
|
} & {
|
|
10
|
-
scrollToFirstRowOnChange?: boolean
|
|
9
|
+
scrollToFirstRowOnChange?: boolean;
|
|
11
10
|
}) | undefined>;
|
|
12
11
|
redoHeight: () => void;
|
|
13
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),M=require("@aplus-frontend/utils"),C=require("lodash-unified"),W=require("@aplus-frontend/hooks");require("../../modal/index.js");const X=require("@vueuse/core"),j=require("../../modal/hooks/use-modal-context.js");function U(a,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),M=require("@aplus-frontend/utils"),C=require("lodash-unified"),W=require("@aplus-frontend/hooks");require("../../modal/index.js");const X=require("@vueuse/core"),j=require("../../modal/hooks/use-modal-context.js");function U(a,p,I,P,T,H,z){const q=n.ref(167),f=j.useModalContext(),B=X.useDebounceFn(x,100),w=n.computed(()=>{const{canResize:t,scroll:e}=n.unref(a);return t&&!(e||{}).y});n.watch(()=>{var t;return[n.unref(w),(t=n.unref(T))==null?void 0:t.length]},()=>{B()},{flush:"post"});function x(){n.nextTick(()=>{y()})}function O(t){var e;q.value=t,(e=f==null?void 0:f.redoModalHeight)==null||e.call(f)}let h,m,d;const b=6;function v(t,e){const o=t.scrollHeight>t.clientHeight,r=t.scrollWidth>t.clientWidth;o?e.classList.contains("hide-scrollbar-y")&&e.classList.remove("hide-scrollbar-y"):!e.classList.contains("hide-scrollbar-y")&&e.classList.add("hide-scrollbar-y"),r?e.classList.contains("hide-scrollbar-x")&&e.classList.remove("hide-scrollbar-x"):!e.classList.contains("hide-scrollbar-x")&&e.classList.add("hide-scrollbar-x")}function k(t){const{pagination:e}=n.unref(a);let o=0;if(C.isBoolean(e))o=0;else if(h||(h=t.querySelector(".ant-pagination")),h){const r=parseInt(getComputedStyle(h).marginTop);o=h.offsetHeight+r}else o=34;return o}function F(t){const{pagination:e}=n.unref(a);let o=0;if(!C.isBoolean(e))if(!m)m=t.querySelector(".ant-table-footer");else{const r=m.offsetHeight;o+=r||0}return o}function A(t){let e=0;return t&&(e=t.offsetHeight),e}function $(t,e){var i,l;const{isCanResizeParent:o}=n.unref(a);let r=0;if(n.unref(H)&&o){const u=((i=n.unref(H))==null?void 0:i.offsetHeight)??0;let s=((l=n.unref(z))==null?void 0:l.$el.offsetHeight)??0;s&&(s+=16+16*2),r=u-b-s}else r=M.getViewportOffset(e).bottomIncludeBody;return r}function D(t){let e=null,o=null,r=null,i=t.parentElement,l=!1;for(;i!==document.body;){if(i.classList.contains("ant-modal")){e=i,o=e.parentElement,r=i.querySelector(".ant-modal-content>.ant-modal-footer"),l=(o==null?void 0:o.classList.contains("fullscreen-modal"))??!1;break}i=i.parentElement}if(e){const{top:u=0}=e?M.getViewportOffset(e):{},s=l?0:24,c=(r==null?void 0:r.offsetHeight)??0,S=r?l?0:parseInt(getComputedStyle(r).marginTop):0;return(u>s?u:s)+c+S+14}return 0}function N(){const{isCanResizeParent:t}=n.unref(a);return n.unref(H)&&t?b:b+16}async function y(){const{resizeHeightOffset:t,maxHeight:e}=n.unref(a),o=n.unref(T),r=n.unref(p);if(!r)return;const i=r.$el;if(!i||!d&&(d=i.querySelector(".ant-table-body"),!d)||(v(d,i),d.style.height="unset",!n.unref(w)||!n.unref(o)||o.length===0))return;await n.nextTick();const l=i.querySelector(".ant-table-thead");if(!l)return;const u=k(i),s=F(i),c=A(l),S=$(i,l),L=D(i),V=N();let g=Math.floor(S-(t||0)-u-s-c-L-V-1);g=(g>e?e:g)??g,O(g)}W.useWindowSizeFn(y,{wait:280}),W.onMountedOrActivated(()=>{y(),n.nextTick(()=>{B()})});const R=n.computed(()=>{var s;let t=0;n.unref(P)&&(t+=60);const e=150,o=n.unref(I).filter(c=>!c.defaultHidden);o.forEach(c=>{t+=Number.parseFloat(c.width)||0});const i=o.filter(c=>!Reflect.has(c,"width")&&c.ifShow!==!1).length;i!==0&&(t+=i*e);const l=n.unref(p);return(((s=l==null?void 0:l.$el)==null?void 0:s.offsetWidth)??0)>t?"100%":t});return{getScrollRef:n.computed(()=>{const t=n.unref(q),{canResize:e,scroll:o}=n.unref(a);return{x:n.unref(R),y:e?t:null,scrollToFirstRowOnChange:!1,...o}}),redoHeight:x}}exports.useTableScroll=U;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
2
|
import { BasicTableProps, TableCustomRecord } from '../types/table';
|
|
3
|
-
|
|
4
3
|
export declare function useTableStyle(propsRef: ComputedRef<BasicTableProps>, prefixCls: string): {
|
|
5
4
|
getRowClassName: (record: TableCustomRecord<any>, index: number) => string;
|
|
6
5
|
};
|
|
@@ -2,7 +2,6 @@ import { ProFormProps } from '../pro-form/types/form';
|
|
|
2
2
|
import { BasicColumn, BasicTableProps, FetchSetting, SizeType, SorterResult, TableCustomRecord, TableRowSelection, TableSetting } from './types/table';
|
|
3
3
|
import { Fn, Recordable } from '../type';
|
|
4
4
|
import { PaginationProps } from './types/pagination';
|
|
5
|
-
|
|
6
5
|
type Key = string | number;
|
|
7
6
|
export type ProTableProps = {
|
|
8
7
|
clickToRowSelect?: boolean;
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
import { BasicTableProps, SizeType, FetchParams, GetColumnsParams, BasicColumn, TableRowSelection, TableSetting } from './types/table';
|
|
2
2
|
import { ProTableProps } from './interface';
|
|
3
|
+
import { TableColumnType, ColumnType } from 'ant-design-vue';
|
|
3
4
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { Recordable } from '
|
|
5
|
+
import { Recordable } from '../type';
|
|
5
6
|
import { Key } from 'ant-design-vue/es/table/interface';
|
|
6
|
-
import { PaginationProps } from '
|
|
7
|
+
import { PaginationProps } from '.';
|
|
7
8
|
import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
|
|
8
|
-
import { TableColumnType } from 'ant-design-vue';
|
|
9
|
-
|
|
10
9
|
type ProTableSlots = 'emptyText' | 'expandIcon' | 'title' | 'footer' | 'summary' | 'bodyCell' | 'expandColumnTitle' | 'headerCell' | 'customFilterIcon' | 'customFilterDropdown';
|
|
11
|
-
declare
|
|
10
|
+
declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Partial<Record<NonNullable<ProTableSlots>, (_: any) => any>> & {
|
|
11
|
+
headerCell?(_: {
|
|
12
|
+
column: TableColumnType<any>;
|
|
13
|
+
}): any;
|
|
14
|
+
bodyCell?(_: {
|
|
15
|
+
text: any;
|
|
16
|
+
value: any;
|
|
17
|
+
record: Record<string, any>;
|
|
18
|
+
index: number;
|
|
19
|
+
column: ColumnType<any>;
|
|
20
|
+
}): any;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ProTableProps>, {
|
|
12
23
|
clickToRowSelect: boolean;
|
|
13
24
|
tableSetting: () => {};
|
|
14
25
|
autoCreateKey: boolean;
|
|
@@ -27,7 +38,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
27
38
|
divideSpace: string;
|
|
28
39
|
pagination: null;
|
|
29
40
|
}>, {
|
|
30
|
-
reload: (opt?: FetchParams
|
|
41
|
+
reload: (opt?: FetchParams) => Promise< Recordable<any>[] | undefined>;
|
|
31
42
|
setSelectedRows: (rows: Recordable[]) => void;
|
|
32
43
|
getSelectRows: <T = Recordable>() => T[];
|
|
33
44
|
clearSelectedRowKeys: () => void;
|
|
@@ -39,29 +50,29 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
39
50
|
getSelectRowKeys: () => Key[];
|
|
40
51
|
deleteSelectRowByKey: (keyValue: Key) => void;
|
|
41
52
|
setPagination: (info: Partial< PaginationProps>) => void;
|
|
42
|
-
setTableData: <
|
|
43
|
-
updateTableDataRecord: (keyValue: Key, record: Recordable) =>
|
|
53
|
+
setTableData: <T = Recordable>(values: T[]) => void;
|
|
54
|
+
updateTableDataRecord: (keyValue: Key, record: Recordable) => Recordable | void;
|
|
44
55
|
deleteTableDataRecord: (keyValues: Key | Key[]) => void;
|
|
45
|
-
insertTableDataRecord: (record: Recordable | Recordable[], index?: number
|
|
46
|
-
findTableDataRecord: (keyValue: Key) =>
|
|
47
|
-
getColumns: (opt?: GetColumnsParams
|
|
48
|
-
setColumns: (columns:
|
|
49
|
-
getDataSource: <
|
|
50
|
-
getRawDataSource: <
|
|
56
|
+
insertTableDataRecord: (record: Recordable | Recordable[], index?: number) => Recordable[] | void;
|
|
57
|
+
findTableDataRecord: (keyValue: Key) => Recordable | void;
|
|
58
|
+
getColumns: (opt?: GetColumnsParams) => BasicColumn[];
|
|
59
|
+
setColumns: (columns: BasicColumn[] | string[]) => void;
|
|
60
|
+
getDataSource: <T = Recordable>() => T[];
|
|
61
|
+
getRawDataSource: <T = Recordable>() => T;
|
|
51
62
|
setLoading: (loading: boolean) => void;
|
|
52
|
-
setProps: (props: Partial<BasicTableProps
|
|
63
|
+
setProps: (props: Partial<BasicTableProps>) => void;
|
|
53
64
|
redoHeight: () => void;
|
|
54
65
|
setSelectedRowKeys: (keyValues: Key[]) => void;
|
|
55
|
-
getPaginationRef: () =>
|
|
66
|
+
getPaginationRef: () => PaginationProps | boolean;
|
|
56
67
|
getSize: () => SizeType;
|
|
57
68
|
getRowSelection: () => TableRowSelection<Recordable>;
|
|
58
69
|
getCacheColumns: () => BasicColumn[];
|
|
59
|
-
emit?:
|
|
70
|
+
emit?: ReturnType<typeof globalThis.defineEmits>;
|
|
60
71
|
updateTableData: (index: number, key: string, value: any) => Recordable;
|
|
61
72
|
setShowPagination: (show: boolean) => Promise<void>;
|
|
62
73
|
getShowPagination: () => boolean;
|
|
63
|
-
setCacheColumnsByField?: (
|
|
64
|
-
setCacheColumns?: (
|
|
74
|
+
setCacheColumnsByField?: (dataIndex: string | undefined, value: BasicColumn) => void;
|
|
75
|
+
setCacheColumns?: (columns: BasicColumn[]) => void;
|
|
65
76
|
tableElRef: Ref<null>;
|
|
66
77
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
67
78
|
change: (...args: any[]) => void;
|
|
@@ -80,7 +91,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
80
91
|
"row-mouseleave": (...args: any[]) => void;
|
|
81
92
|
"columns-change": (...args: any[]) => void;
|
|
82
93
|
"expanded-rows-change": (...args: any[]) => void;
|
|
83
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
94
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ProTableProps>, {
|
|
84
95
|
clickToRowSelect: boolean;
|
|
85
96
|
tableSetting: () => {};
|
|
86
97
|
autoCreateKey: boolean;
|
|
@@ -117,7 +128,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
117
128
|
"onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
|
|
118
129
|
}, {
|
|
119
130
|
ellipsis: boolean;
|
|
120
|
-
pagination:
|
|
131
|
+
pagination: PaginationProps | boolean | null;
|
|
121
132
|
immediate: boolean;
|
|
122
133
|
columns: BasicColumn[];
|
|
123
134
|
rowKey: string | GetRowKey<any>;
|
|
@@ -133,28 +144,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
133
144
|
canColDrag: boolean;
|
|
134
145
|
emptyDataIsShowTable: boolean;
|
|
135
146
|
divideSpace: number | SizeType;
|
|
136
|
-
}, {}
|
|
137
|
-
|
|
138
|
-
column: TableColumnType<any>;
|
|
139
|
-
}): any;
|
|
140
|
-
bodyCell?(_: {
|
|
141
|
-
text: any;
|
|
142
|
-
value: any;
|
|
143
|
-
record: Record<string, any>;
|
|
144
|
-
index: number;
|
|
145
|
-
column: TableColumnType<any>;
|
|
146
|
-
}): any;
|
|
147
|
-
}>;
|
|
147
|
+
}, {}>;
|
|
148
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
148
149
|
export default _default;
|
|
149
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
150
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
151
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
152
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
153
|
-
} : {
|
|
154
|
-
type: PropType<T[K]>;
|
|
155
|
-
required: true;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
150
|
type __VLS_WithDefaults<P, D> = {
|
|
159
151
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
160
152
|
default: D[K];
|
|
@@ -168,3 +160,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
168
160
|
$slots: S;
|
|
169
161
|
};
|
|
170
162
|
};
|
|
163
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
164
|
+
type __VLS_TypePropsToOption<T> = {
|
|
165
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
166
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
167
|
+
} : {
|
|
168
|
+
type: PropType<T[K]>;
|
|
169
|
+
required: true;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
@@ -6,7 +6,6 @@ import { ProFormProps } from '../../pro-form';
|
|
|
6
6
|
import { PaginationProps } from './pagination';
|
|
7
7
|
import { TableRowSelection as AntdTableRowSelection, Key } from 'ant-design-vue/es/table/interface';
|
|
8
8
|
import { FixedType } from 'ant-design-vue/es/vc-table/interface';
|
|
9
|
-
|
|
10
9
|
export type CellFormat = string | ((text: string, record: Recordable, index: number) => string | number) | Map<string | number, any>;
|
|
11
10
|
export interface BasicColumn extends Omit<ColumnProps<Recordable>, 'filters'> {
|
|
12
11
|
children?: BasicColumn[];
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { PromptDialogProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<PromptDialogProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PromptDialogProps>>>, {}, {}>;
|
|
3
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<PromptDialogProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PromptDialogProps>>>, {}, {}>;
|
|
5
4
|
export default _default;
|
|
6
5
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type
|
|
6
|
+
type __VLS_TypePropsToOption<T> = {
|
|
8
7
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
8
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
9
|
} : {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentFormSchema } from '
|
|
2
|
-
import { ComponentProps } from '
|
|
1
|
+
import { ComponentFormSchema } from '../pro-form';
|
|
2
|
+
import { ComponentProps } from '../pro-form/types';
|
|
3
3
|
type InputType = 'InputTextArea' | 'InputNumber' | 'Input';
|
|
4
4
|
interface GenFormSchemasOptions {
|
|
5
5
|
label?: string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
|
|
2
|
-
import { StyleValue } from '
|
|
2
|
+
import { StyleValue } from '../type';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
export declare const Scrollbar: {
|
|
5
5
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
6
6
|
native: {
|
|
7
7
|
type: PropType<boolean>;
|
|
8
8
|
};
|
|
9
|
-
wrapStyle: {
|
|
10
|
-
type: PropType<StyleValue>;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
9
|
scrollHeight: {
|
|
14
10
|
type: PropType<number>;
|
|
15
11
|
default: number;
|
|
16
12
|
};
|
|
13
|
+
wrapStyle: {
|
|
14
|
+
type: PropType<StyleValue>;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
17
|
wrapClass: {
|
|
18
18
|
type: PropType<string | string[]>;
|
|
19
19
|
default: string;
|
|
@@ -39,14 +39,14 @@ export declare const Scrollbar: {
|
|
|
39
39
|
native: {
|
|
40
40
|
type: PropType<boolean>;
|
|
41
41
|
};
|
|
42
|
-
wrapStyle: {
|
|
43
|
-
type: PropType<StyleValue>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
42
|
scrollHeight: {
|
|
47
43
|
type: PropType<number>;
|
|
48
44
|
default: number;
|
|
49
45
|
};
|
|
46
|
+
wrapStyle: {
|
|
47
|
+
type: PropType<StyleValue>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
50
|
wrapClass: {
|
|
51
51
|
type: PropType<string | string[]>;
|
|
52
52
|
default: string;
|
|
@@ -67,8 +67,8 @@ export declare const Scrollbar: {
|
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
69
69
|
}>>, {
|
|
70
|
-
wrapStyle: StyleValue;
|
|
71
70
|
scrollHeight: number;
|
|
71
|
+
wrapStyle: StyleValue;
|
|
72
72
|
wrapClass: string | string[];
|
|
73
73
|
viewClass: string | string[];
|
|
74
74
|
viewStyle: string | string[];
|
|
@@ -84,14 +84,14 @@ export declare const Scrollbar: {
|
|
|
84
84
|
native: {
|
|
85
85
|
type: PropType<boolean>;
|
|
86
86
|
};
|
|
87
|
-
wrapStyle: {
|
|
88
|
-
type: PropType<StyleValue>;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
87
|
scrollHeight: {
|
|
92
88
|
type: PropType<number>;
|
|
93
89
|
default: number;
|
|
94
90
|
};
|
|
91
|
+
wrapStyle: {
|
|
92
|
+
type: PropType<StyleValue>;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
95
|
wrapClass: {
|
|
96
96
|
type: PropType<string | string[]>;
|
|
97
97
|
default: string;
|
|
@@ -114,28 +114,28 @@ export declare const Scrollbar: {
|
|
|
114
114
|
}>>, {
|
|
115
115
|
wrap: Ref<any>;
|
|
116
116
|
}, {}, {}, {}, {
|
|
117
|
-
wrapStyle: StyleValue;
|
|
118
117
|
scrollHeight: number;
|
|
118
|
+
wrapStyle: StyleValue;
|
|
119
119
|
wrapClass: string | string[];
|
|
120
120
|
viewClass: string | string[];
|
|
121
121
|
viewStyle: string | string[];
|
|
122
122
|
tag: string;
|
|
123
123
|
}>;
|
|
124
|
-
__isFragment?:
|
|
125
|
-
__isTeleport?:
|
|
126
|
-
__isSuspense?:
|
|
124
|
+
__isFragment?: never;
|
|
125
|
+
__isTeleport?: never;
|
|
126
|
+
__isSuspense?: never;
|
|
127
127
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
128
128
|
native: {
|
|
129
129
|
type: PropType<boolean>;
|
|
130
130
|
};
|
|
131
|
-
wrapStyle: {
|
|
132
|
-
type: PropType<StyleValue>;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
135
131
|
scrollHeight: {
|
|
136
132
|
type: PropType<number>;
|
|
137
133
|
default: number;
|
|
138
134
|
};
|
|
135
|
+
wrapStyle: {
|
|
136
|
+
type: PropType<StyleValue>;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
139
|
wrapClass: {
|
|
140
140
|
type: PropType<string | string[]>;
|
|
141
141
|
default: string;
|
|
@@ -158,19 +158,19 @@ export declare const Scrollbar: {
|
|
|
158
158
|
}>>, {
|
|
159
159
|
wrap: Ref<any>;
|
|
160
160
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
161
|
-
wrapStyle: StyleValue;
|
|
162
161
|
scrollHeight: number;
|
|
162
|
+
wrapStyle: StyleValue;
|
|
163
163
|
wrapClass: string | string[];
|
|
164
164
|
viewClass: string | string[];
|
|
165
165
|
viewStyle: string | string[];
|
|
166
166
|
tag: string;
|
|
167
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
167
|
+
}, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
|
|
168
168
|
$slots: {
|
|
169
169
|
default?(_: {}): any;
|
|
170
170
|
};
|
|
171
|
-
}) & Plugin & (new (...args: any[]) => {
|
|
171
|
+
}) & ( Plugin & (new (...args: any[]) => {
|
|
172
172
|
$props: {
|
|
173
|
-
onClick?: (
|
|
173
|
+
onClick?: () => void;
|
|
174
174
|
};
|
|
175
|
-
});
|
|
175
|
+
}))));
|
|
176
176
|
export default Scrollbar;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { ScrollbarProps } from './interface';
|
|
2
2
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import { StyleValue } from '
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { StyleValue } from '../type';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ScrollbarProps>, {
|
|
6
8
|
wrapStyle: string;
|
|
7
9
|
wrapClass: string;
|
|
8
10
|
viewStyle: string;
|
|
@@ -11,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
11
13
|
scrollHeight: number;
|
|
12
14
|
}>, {
|
|
13
15
|
wrap: Ref<any>;
|
|
14
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
16
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ScrollbarProps>, {
|
|
15
17
|
wrapStyle: string;
|
|
16
18
|
wrapClass: string;
|
|
17
19
|
viewStyle: string;
|
|
@@ -19,25 +21,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
19
21
|
tag: string;
|
|
20
22
|
scrollHeight: number;
|
|
21
23
|
}>>>, {
|
|
22
|
-
wrapStyle: StyleValue;
|
|
23
24
|
scrollHeight: number;
|
|
25
|
+
wrapStyle: StyleValue;
|
|
24
26
|
wrapClass: string | string[];
|
|
25
27
|
viewClass: string | string[];
|
|
26
28
|
viewStyle: string | string[];
|
|
27
29
|
tag: string;
|
|
28
|
-
}, {}
|
|
29
|
-
|
|
30
|
-
}>;
|
|
30
|
+
}, {}>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
31
32
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
33
|
type __VLS_WithDefaults<P, D> = {
|
|
42
34
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
35
|
default: D[K];
|
|
@@ -51,3 +43,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
51
43
|
$slots: S;
|
|
52
44
|
};
|
|
53
45
|
};
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToOption<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
|
+
};
|
|
@@ -2,12 +2,12 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
2
2
|
export * from './interface';
|
|
3
3
|
export declare const StrengthMeter: {
|
|
4
4
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
5
|
-
disabled: {
|
|
6
|
-
type: PropType<boolean>;
|
|
7
|
-
};
|
|
8
5
|
value: {
|
|
9
6
|
type: PropType<string>;
|
|
10
7
|
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
11
11
|
showInput: {
|
|
12
12
|
type: PropType<boolean>;
|
|
13
13
|
default: boolean;
|
|
@@ -19,12 +19,12 @@ export declare const StrengthMeter: {
|
|
|
19
19
|
change: (...args: any[]) => void;
|
|
20
20
|
"score-change": (...args: any[]) => void;
|
|
21
21
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
22
|
-
disabled: {
|
|
23
|
-
type: PropType<boolean>;
|
|
24
|
-
};
|
|
25
22
|
value: {
|
|
26
23
|
type: PropType<string>;
|
|
27
24
|
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: PropType<boolean>;
|
|
27
|
+
};
|
|
28
28
|
showInput: {
|
|
29
29
|
type: PropType<boolean>;
|
|
30
30
|
default: boolean;
|
|
@@ -42,12 +42,12 @@ export declare const StrengthMeter: {
|
|
|
42
42
|
M: {};
|
|
43
43
|
Defaults: {};
|
|
44
44
|
}, Readonly< ExtractPropTypes<{
|
|
45
|
-
disabled: {
|
|
46
|
-
type: PropType<boolean>;
|
|
47
|
-
};
|
|
48
45
|
value: {
|
|
49
46
|
type: PropType<string>;
|
|
50
47
|
};
|
|
48
|
+
disabled: {
|
|
49
|
+
type: PropType<boolean>;
|
|
50
|
+
};
|
|
51
51
|
showInput: {
|
|
52
52
|
type: PropType<boolean>;
|
|
53
53
|
default: boolean;
|
|
@@ -58,16 +58,16 @@ export declare const StrengthMeter: {
|
|
|
58
58
|
}, {}, {}, {}, {}, {
|
|
59
59
|
showInput: boolean;
|
|
60
60
|
}>;
|
|
61
|
-
__isFragment?:
|
|
62
|
-
__isTeleport?:
|
|
63
|
-
__isSuspense?:
|
|
61
|
+
__isFragment?: never;
|
|
62
|
+
__isTeleport?: never;
|
|
63
|
+
__isSuspense?: never;
|
|
64
64
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
65
|
-
disabled: {
|
|
66
|
-
type: PropType<boolean>;
|
|
67
|
-
};
|
|
68
65
|
value: {
|
|
69
66
|
type: PropType<string>;
|
|
70
67
|
};
|
|
68
|
+
disabled: {
|
|
69
|
+
type: PropType<boolean>;
|
|
70
|
+
};
|
|
71
71
|
showInput: {
|
|
72
72
|
type: PropType<boolean>;
|
|
73
73
|
default: boolean;
|
|
@@ -80,10 +80,10 @@ export declare const StrengthMeter: {
|
|
|
80
80
|
"score-change": (...args: any[]) => void;
|
|
81
81
|
}, string, {
|
|
82
82
|
showInput: boolean;
|
|
83
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
83
|
+
}, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
|
|
84
84
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
85
|
-
}) & Plugin & (new (...args: any[]) => {
|
|
85
|
+
}) & ( Plugin & (new (...args: any[]) => {
|
|
86
86
|
$props: {
|
|
87
|
-
onClick?: (
|
|
87
|
+
onClick?: () => void;
|
|
88
88
|
};
|
|
89
|
-
});
|
|
89
|
+
}))));
|