@aplus-frontend/ui 0.1.0 → 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 +21 -22
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
- package/es/src/ap-action/item-modal/index.vue.d.ts +16 -15
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
- package/es/src/ap-action/style/item.css +5 -5
- package/es/src/ap-custom-column/column-select.vue.d.ts +3 -4
- package/es/src/ap-custom-column/custom-column.vue.d.ts +3 -4
- package/es/src/ap-custom-column/index.d.ts +0 -1
- package/es/src/ap-custom-column/interfaces.d.ts +0 -1
- package/es/src/ap-custom-column/storage.mjs +11 -11
- package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
- package/es/src/ap-custom-column/utils.d.ts +0 -1
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
- package/es/src/ap-descriptions/formatter/index.d.ts +0 -1
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
- package/es/src/ap-descriptions/helper.d.ts +0 -1
- package/es/src/ap-descriptions/index.d.ts +0 -1
- package/es/src/ap-descriptions/interface.d.ts +0 -1
- package/es/src/ap-download/ap-download.vue.d.ts +18 -17
- package/es/src/ap-download/ap-download.vue.mjs +4 -1
- package/es/src/ap-download/hooks/index.d.ts +0 -1
- package/es/src/ap-download/index.d.ts +0 -1
- package/es/src/ap-download/interface.d.ts +0 -1
- package/es/src/ap-field/checkbox/helper.d.ts +0 -1
- package/es/src/ap-field/checkbox/index.vue.d.ts +11 -12
- package/es/src/ap-field/date/constant.d.ts +0 -1
- package/es/src/ap-field/date/helper.d.ts +0 -1
- package/es/src/ap-field/date/index.vue.d.ts +25 -24
- package/es/src/ap-field/date/index.vue.mjs +4 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +23 -22
- package/es/src/ap-field/date-range/index.vue.mjs +7 -1
- package/es/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
- package/es/src/ap-field/index.d.ts +0 -1
- package/es/src/ap-field/interface.d.ts +0 -1
- package/es/src/ap-field/number/helper.d.ts +0 -1
- package/es/src/ap-field/number/index.vue.d.ts +14 -13
- package/es/src/ap-field/radio/helper.d.ts +0 -1
- package/es/src/ap-field/radio/index.vue.d.ts +11 -12
- package/es/src/ap-field/rate/index.vue.d.ts +19 -18
- package/es/src/ap-field/segmented/index.vue.d.ts +23 -22
- package/es/src/ap-field/select/index.vue.d.ts +20 -19
- package/es/src/ap-field/slider/index.vue.d.ts +14 -13
- package/es/src/ap-field/slider/index.vue.mjs +1 -4
- package/es/src/ap-field/switch/index.vue.d.ts +15 -14
- package/es/src/ap-field/text/index.d.ts +0 -1
- package/es/src/ap-field/text/index.vue.d.ts +17 -16
- package/es/src/ap-field/text/input-password-props.d.ts +0 -1
- package/es/src/ap-field/text/password.vue.d.ts +18 -17
- package/es/src/ap-field/text-area/index.vue.d.ts +13 -14
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
- package/es/src/ap-form/ap-form-item.vue.d.ts +15 -14
- package/es/src/ap-form/ap-form-list.vue.d.ts +9 -8
- package/es/src/ap-form/ap-form.vue.d.ts +22 -21
- package/es/src/ap-form/constant.d.ts +0 -1
- package/es/src/ap-form/context.d.ts +0 -1
- package/es/src/ap-form/hooks/use-watch.d.ts +0 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +0 -1
- package/es/src/ap-form/interface.d.ts +0 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
- package/es/src/ap-form/items/date/index.vue.d.ts +38 -37
- package/es/src/ap-form/items/date-range/index.vue.d.ts +38 -37
- package/es/src/ap-form/items/index.d.ts +0 -1
- package/es/src/ap-form/items/interface.d.ts +0 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -30
- package/es/src/ap-form/items/radio/index.vue.d.ts +17 -16
- package/es/src/ap-form/items/select/index.vue.d.ts +41 -40
- package/es/src/ap-form/items/switch/index.vue.d.ts +25 -24
- package/es/src/ap-form/items/text/index.d.ts +0 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +31 -30
- package/es/src/ap-form/items/text/password.vue.d.ts +31 -30
- package/es/src/ap-form/items/text-area/index.vue.d.ts +18 -17
- package/es/src/ap-form/modal-form/index.vue.d.ts +30 -29
- package/es/src/ap-form/search-form/index.vue.d.ts +23 -22
- package/es/src/ap-form/search-form/utils.d.ts +0 -1
- package/es/src/ap-form/search-form/utils.mjs +1 -2
- package/es/src/ap-form/style/ap-form-item.css +6 -6
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
- package/es/src/ap-layout/index.d.ts +0 -1
- package/es/src/ap-list/hooks/use-offline-list.d.ts +0 -1
- package/es/src/ap-list/index.d.ts +0 -1
- package/es/src/ap-list/index.vue.d.ts +9 -122
- package/es/src/ap-list/interface.d.ts +0 -1
- package/es/src/ap-modal/index.d.ts +0 -1
- package/es/src/ap-modal/type.d.ts +0 -1
- package/es/src/ap-modal/utils/createModal.d.ts +0 -1
- package/es/src/ap-table/ap-table.vue.d.ts +16 -2222
- package/es/src/ap-table/components/index/index.vue.d.ts +11 -12
- package/es/src/ap-table/components/interface.d.ts +0 -1
- package/es/src/ap-table/components/status/index.vue.d.ts +2 -3
- package/es/src/ap-table/constants.d.ts +4804 -6359
- package/es/src/ap-table/hooks/use-table-paging.d.ts +0 -1
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
- package/es/src/ap-table/index.d.ts +0 -1
- package/es/src/ap-table/interface.d.ts +0 -1
- package/es/src/ap-table/style/ap-table.css +1 -1
- package/es/src/ap-table/utils.d.ts +1 -2
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -7
- package/es/src/ap-tag/ap-tag.vue.d.ts +13 -14
- package/es/src/ap-tag/index.d.ts +0 -1
- package/es/src/ap-tag/interface.d.ts +0 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +2 -3
- package/es/src/ap-upload/apUpload.vue.mjs +4 -1
- package/es/src/ap-upload/apUploadTypes.d.ts +0 -1
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
- package/es/src/ap-upload/components/Picture.vue.d.ts +0 -1
- package/es/src/ap-upload/components/Picture.vue2.mjs +15 -5
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +5 -1
- package/es/src/ap-upload/hooks/useOss.d.ts +0 -1
- package/es/src/ap-upload/index.d.ts +0 -1
- package/es/src/ap-upload/utils/accept.d.ts +0 -1
- package/es/src/ap-upload/utils/accept.mjs +1 -2
- package/es/src/base-button/button.vue.d.ts +17 -16
- package/es/src/base-button/constants.d.ts +0 -1
- package/es/src/base-button/index.d.ts +55 -55
- package/es/src/base-button/interface.d.ts +0 -1
- package/es/src/basic/arrow.vue.d.ts +2 -3
- package/es/src/basic/help.vue.d.ts +4 -9
- package/es/src/basic/index.d.ts +27 -35
- package/es/src/basic/interface.d.ts +0 -1
- package/es/src/basic/title.vue.d.ts +16 -15
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +1 -2
- package/es/src/business/ap-export-group/interface.d.ts +0 -1
- package/es/src/business/ap-label/ApLabel.vue.d.ts +17 -16
- package/es/src/business/ap-label/index.d.ts +0 -1
- package/es/src/business/ap-label/interface.d.ts +0 -1
- package/es/src/business/ap-select-layout/index.css +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/index.d.ts +0 -1
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
- package/es/src/business/index.d.ts +213 -248
- package/es/src/business/title/ApTitle.vue.d.ts +19 -18
- package/es/src/button/button.vue.d.ts +25 -0
- package/es/src/button/index.d.ts +7 -7
- package/es/src/check-card/checked.svg.mjs +2 -2
- package/es/src/check-card/context.d.ts +0 -1
- package/es/src/check-card/group.vue.d.ts +21 -20
- package/es/src/check-card/index.d.ts +0 -1
- package/es/src/check-card/index.vue.d.ts +16 -15
- package/es/src/check-card/index.vue2.mjs +16 -16
- package/es/src/check-card/interface.d.ts +0 -1
- package/es/src/check-card/style/index.css +5 -5
- package/es/src/config-provider/config-provider-props.d.ts +22 -23
- package/es/src/config-provider/config-provider.d.ts +59 -204
- package/es/src/config-provider/constants.d.ts +0 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +24 -25
- package/es/src/config-provider/hooks/use-locale.d.ts +0 -1
- package/es/src/config-provider/hooks/use-namespace.d.ts +0 -1
- package/es/src/config-provider/index.d.ts +129 -130
- package/es/src/container/collapse/header.vue.d.ts +4 -5
- package/es/src/container/collapse/index.vue.d.ts +5 -6
- package/es/src/container/index.d.ts +26 -26
- package/es/src/container/scroll-container.vue.d.ts +13 -12
- package/es/src/count-down/button.vue.d.ts +11 -12
- package/es/src/count-down/index.d.ts +13 -13
- package/es/src/count-down/input.vue.d.ts +14 -13
- package/es/src/count-down/interface.d.ts +0 -1
- package/es/src/cropper/cropper-avatar.vue.d.ts +12 -13
- package/es/src/cropper/cropper-image.vue.d.ts +12 -13
- package/es/src/cropper/cropper-modal.vue.d.ts +0 -1
- package/es/src/cropper/index.d.ts +63 -63
- package/es/src/cropper/interface.d.ts +0 -1
- package/es/src/description/description.vue.d.ts +1 -2
- package/es/src/description/index.d.ts +10 -10
- package/es/src/description/interface.d.ts +0 -1
- package/es/src/description/use-description.d.ts +0 -1
- package/es/src/design-token/index.d.ts +0 -1
- package/es/src/dropdown/dropdown.vue.d.ts +18 -17
- package/es/src/dropdown/index.d.ts +18 -18
- package/es/src/dropdown/interface.d.ts +0 -1
- package/es/src/editable-table/form-item.vue.d.ts +14 -915
- package/es/src/editable-table/hooks/use-get-columns.d.ts +0 -1
- package/es/src/editable-table/index.d.ts +0 -1
- package/es/src/editable-table/index.vue.d.ts +18 -568
- package/es/src/editable-table/interface.d.ts +0 -1
- package/es/src/editable-table/style/index.css +1 -1
- package/es/src/editable-table/utils.d.ts +0 -1
- package/es/src/hooks/useControllableValue.d.ts +0 -1
- package/es/src/hooks/useMessage.d.ts +0 -1
- package/es/src/icon/icon.vue.d.ts +12 -12
- package/es/src/icon/icon.vue2.mjs +3 -6
- package/es/src/icon/index.d.ts +36 -36
- package/es/src/icon/svg-icon.vue.d.ts +11 -12
- package/es/src/icon-picker/icon-picker.vue.d.ts +12 -13
- package/es/src/icon-picker/index.d.ts +25 -25
- package/es/src/locale/index.d.ts +0 -1
- package/es/src/locale/lang/en.d.ts +0 -1
- package/es/src/locale/lang/zh-cn.d.ts +0 -1
- package/es/src/modal/basic.vue.d.ts +18 -206
- package/es/src/modal/components/modal-close.vue.d.ts +11 -12
- package/es/src/modal/components/modal-footer.vue.d.ts +20 -209
- package/es/src/modal/components/modal-header.vue.d.ts +2 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +7 -5
- package/es/src/modal/components/modal-wrapper.vue2.mjs +4 -8
- package/es/src/modal/components/modal.d.ts +11 -201
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
- package/es/src/modal/hooks/use-modal-drag.d.ts +0 -1
- package/es/src/modal/hooks/use-modal-drag.mjs +3 -6
- package/es/src/modal/hooks/use-modal.d.ts +0 -1
- package/es/src/modal/hooks/use-modal.mjs +1 -2
- package/es/src/modal/index.d.ts +37 -130
- package/es/src/modal/interface.d.ts +0 -1
- package/es/src/modal/props.d.ts +6 -103
- package/es/src/pro-form/component-map.d.ts +0 -1
- package/es/src/pro-form/components/api-cascader.vue.d.ts +11 -12
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
- package/es/src/pro-form/components/api-select.vue.d.ts +15 -14
- package/es/src/pro-form/components/api-transfer.vue.d.ts +14 -15
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
- package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -2
- package/es/src/pro-form/components/api-tree.vue.d.ts +15 -14
- package/es/src/pro-form/components/api-tree.vue.mjs +1 -2
- package/es/src/pro-form/components/form-action.vue.d.ts +19 -18
- package/es/src/pro-form/components/form-item.vue.d.ts +0 -1
- package/es/src/pro-form/components/interface.d.ts +0 -1
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
- package/es/src/pro-form/helper.d.ts +1 -2
- package/es/src/pro-form/helper.mjs +4 -4
- package/es/src/pro-form/hooks/use-advanced.d.ts +0 -1
- package/es/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
- package/es/src/pro-form/hooks/use-component-register.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form-events.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form-events.mjs +11 -11
- package/es/src/pro-form/hooks/use-form-item.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form-values.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form.d.ts +0 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +122 -123
- package/es/src/pro-form/index.d.ts +0 -1
- package/es/src/pro-form/pro-form.vue.d.ts +24 -23
- package/es/src/pro-form/table-form-inner.vue.d.ts +13 -14
- package/es/src/pro-form/table-form.vue.d.ts +12 -13
- package/es/src/pro-form/types/form-item.d.ts +0 -1
- package/es/src/pro-form/types/form.d.ts +0 -1
- package/es/src/pro-form/types/index.d.ts +37 -38
- package/es/src/pro-form/types/table-form.d.ts +0 -1
- package/es/src/pro-table/component-map.d.ts +0 -1
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
- package/es/src/pro-table/components/editable/cell-component.d.ts +0 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
- package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +38 -42
- package/es/src/pro-table/components/editable/helper.d.ts +0 -1
- package/es/src/pro-table/components/editable/index.d.ts +0 -1
- package/es/src/pro-table/components/header-cell.vue.d.ts +0 -1
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
- package/es/src/pro-table/components/settings/index.vue.d.ts +0 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +7 -6
- package/es/src/pro-table/components/table-action.vue.mjs +4 -3
- package/es/src/pro-table/components/table-footer.vue.d.ts +19 -20
- package/es/src/pro-table/components/table-header.vue.d.ts +11 -10
- package/es/src/pro-table/components/table-image.vue.d.ts +12 -13
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
- package/es/src/pro-table/components/table-title.vue.d.ts +0 -1
- package/es/src/pro-table/const.d.ts +0 -1
- package/es/src/pro-table/directives/click-outside.d.ts +0 -1
- package/es/src/pro-table/helper.d.ts +0 -1
- package/es/src/pro-table/hooks/use-columns.d.ts +0 -1
- package/es/src/pro-table/hooks/use-columns.mjs +3 -6
- package/es/src/pro-table/hooks/use-custom-row.d.ts +0 -1
- package/es/src/pro-table/hooks/use-custom-row.mjs +4 -8
- package/es/src/pro-table/hooks/use-data-source.d.ts +1 -2
- package/es/src/pro-table/hooks/use-data-source.mjs +2 -4
- package/es/src/pro-table/hooks/use-loading.d.ts +0 -1
- package/es/src/pro-table/hooks/use-pagination.d.ts +0 -1
- package/es/src/pro-table/hooks/use-row-selection.d.ts +0 -1
- package/es/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
- package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -2
- package/es/src/pro-table/hooks/use-table-context.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-expand.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-footer.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-footer.mjs +1 -2
- package/es/src/pro-table/hooks/use-table-form.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-header.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
- package/es/src/pro-table/hooks/use-table-scroll.mjs +25 -27
- package/es/src/pro-table/hooks/use-table-style.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table.d.ts +0 -1
- package/es/src/pro-table/interface.d.ts +0 -1
- package/es/src/pro-table/pro-table.vue.d.ts +43 -42
- package/es/src/pro-table/types/pagination.d.ts +0 -1
- package/es/src/pro-table/types/table-action.d.ts +0 -1
- package/es/src/pro-table/types/table.d.ts +0 -1
- package/es/src/prompt/dialog.vue.d.ts +2 -3
- package/es/src/prompt/index.d.ts +0 -1
- package/es/src/prompt/interface.d.ts +0 -1
- package/es/src/prompt/utils.d.ts +2 -2
- package/es/src/scroll-bar/bar-item.d.ts +0 -1
- package/es/src/scroll-bar/bar-item.mjs +2 -4
- package/es/src/scroll-bar/index.d.ts +27 -27
- package/es/src/scroll-bar/interface.d.ts +0 -1
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
- package/es/src/scroll-bar/scroll-bar.vue2.mjs +1 -2
- package/es/src/scroll-bar/utils.d.ts +0 -1
- package/es/src/strength-meter/index.d.ts +19 -19
- package/es/src/strength-meter/strength-meter.vue.d.ts +14 -13
- package/es/src/strength-meter/strength-meter.vue2.mjs +1 -2
- package/es/src/tests/wrapper.d.ts +8 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +5 -5
- package/es/src/theme/antd-global-overwrite/admin/steps.css +5 -5
- package/es/src/theme/antd-global-overwrite/aplus/form.css +1 -1
- package/es/src/theme/antd-global-overwrite/aplus/index.css +6 -6
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
- package/es/src/theme/ap-action/item.css +5 -5
- package/es/src/theme/ap-form/ap-form-item.css +6 -6
- package/es/src/theme/ap-select-layout/ap-select-layout.css +8 -0
- package/es/src/theme/ap-table/ap-table.css +1 -1
- package/es/src/theme/check-card/index.css +5 -5
- package/es/src/theme/editable-table/index.css +1 -1
- package/es/src/transition/collapse-transition.vue.d.ts +4 -3
- package/es/src/transition/create-transition.d.ts +0 -1
- package/es/src/type.d.ts +0 -1
- package/es/src/utils/config-provider-preset.d.ts +16 -17
- package/es/src/utils/index.d.ts +0 -1
- package/es/src/utils/slot.d.ts +0 -1
- package/es/src/utils/slot.mjs +1 -2
- package/es/src/utils/tree.d.ts +0 -1
- package/es/src/utils/tree.mjs +1 -2
- package/es/src/work-order-modal/createWorkOrder.d.ts +0 -1
- package/es/src/work-order-modal/index.d.ts +0 -1
- package/es/src/work-order-modal/interfaces.d.ts +0 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
- package/lib/index.d.ts +0 -1
- package/lib/src/ap-action/group/index.vue.d.ts +12 -13
- package/lib/src/ap-action/index.d.ts +0 -1
- package/lib/src/ap-action/interface.d.ts +0 -1
- package/lib/src/ap-action/item/index.vue.d.ts +16 -15
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
- package/lib/src/ap-action/item-modal/index.vue.d.ts +16 -15
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
- package/lib/src/ap-action/style/item.css +5 -5
- package/lib/src/ap-custom-column/column-select.vue.d.ts +3 -4
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +3 -4
- package/lib/src/ap-custom-column/index.d.ts +0 -1
- package/lib/src/ap-custom-column/interfaces.d.ts +0 -1
- package/lib/src/ap-custom-column/storage.js +1 -1
- package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
- package/lib/src/ap-custom-column/utils.d.ts +0 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
- package/lib/src/ap-descriptions/formatter/index.d.ts +0 -1
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
- package/lib/src/ap-descriptions/helper.d.ts +0 -1
- package/lib/src/ap-descriptions/index.d.ts +0 -1
- package/lib/src/ap-descriptions/interface.d.ts +0 -1
- package/lib/src/ap-download/ap-download.vue.d.ts +18 -17
- package/lib/src/ap-download/hooks/index.d.ts +0 -1
- package/lib/src/ap-download/index.d.ts +0 -1
- package/lib/src/ap-download/interface.d.ts +0 -1
- package/lib/src/ap-field/checkbox/helper.d.ts +0 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +11 -12
- package/lib/src/ap-field/date/constant.d.ts +0 -1
- package/lib/src/ap-field/date/helper.d.ts +0 -1
- package/lib/src/ap-field/date/index.vue.d.ts +25 -24
- package/lib/src/ap-field/date-range/index.vue.d.ts +23 -22
- package/lib/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
- package/lib/src/ap-field/index.d.ts +0 -1
- package/lib/src/ap-field/interface.d.ts +0 -1
- package/lib/src/ap-field/number/helper.d.ts +0 -1
- package/lib/src/ap-field/number/index.vue.d.ts +14 -13
- package/lib/src/ap-field/radio/helper.d.ts +0 -1
- package/lib/src/ap-field/radio/index.vue.d.ts +11 -12
- package/lib/src/ap-field/rate/index.vue.d.ts +19 -18
- package/lib/src/ap-field/segmented/index.vue.d.ts +23 -22
- package/lib/src/ap-field/select/index.vue.d.ts +20 -19
- package/lib/src/ap-field/slider/index.vue.d.ts +14 -13
- package/lib/src/ap-field/switch/index.vue.d.ts +15 -14
- package/lib/src/ap-field/text/index.d.ts +0 -1
- package/lib/src/ap-field/text/index.vue.d.ts +17 -16
- package/lib/src/ap-field/text/input-password-props.d.ts +0 -1
- package/lib/src/ap-field/text/password.vue.d.ts +18 -17
- package/lib/src/ap-field/text-area/index.vue.d.ts +13 -14
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
- package/lib/src/ap-form/ap-form-item.vue.d.ts +15 -14
- package/lib/src/ap-form/ap-form-list.vue.d.ts +9 -8
- package/lib/src/ap-form/ap-form.vue.d.ts +22 -21
- package/lib/src/ap-form/constant.d.ts +0 -1
- package/lib/src/ap-form/context.d.ts +0 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +0 -1
- package/lib/src/ap-form/index.d.ts +0 -1
- package/lib/src/ap-form/interface.d.ts +0 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
- package/lib/src/ap-form/items/date/index.vue.d.ts +38 -37
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +38 -37
- package/lib/src/ap-form/items/index.d.ts +0 -1
- package/lib/src/ap-form/items/interface.d.ts +0 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -30
- package/lib/src/ap-form/items/radio/index.vue.d.ts +17 -16
- package/lib/src/ap-form/items/select/index.vue.d.ts +41 -40
- package/lib/src/ap-form/items/switch/index.vue.d.ts +25 -24
- package/lib/src/ap-form/items/text/index.d.ts +0 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +31 -30
- package/lib/src/ap-form/items/text/password.vue.d.ts +31 -30
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +18 -17
- package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -29
- package/lib/src/ap-form/search-form/index.vue.d.ts +23 -22
- package/lib/src/ap-form/search-form/utils.d.ts +0 -1
- package/lib/src/ap-form/style/ap-form-item.css +6 -6
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
- package/lib/src/ap-layout/index.d.ts +0 -1
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +0 -1
- package/lib/src/ap-list/index.d.ts +0 -1
- package/lib/src/ap-list/index.vue.d.ts +9 -122
- package/lib/src/ap-list/interface.d.ts +0 -1
- package/lib/src/ap-modal/index.d.ts +0 -1
- package/lib/src/ap-modal/type.d.ts +0 -1
- package/lib/src/ap-modal/utils/createModal.d.ts +0 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +16 -2222
- package/lib/src/ap-table/components/index/index.vue.d.ts +11 -12
- package/lib/src/ap-table/components/interface.d.ts +0 -1
- package/lib/src/ap-table/components/status/index.vue.d.ts +2 -3
- package/lib/src/ap-table/constants.d.ts +4804 -6359
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +0 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
- package/lib/src/ap-table/index.d.ts +0 -1
- package/lib/src/ap-table/interface.d.ts +0 -1
- package/lib/src/ap-table/style/ap-table.css +1 -1
- package/lib/src/ap-table/utils.d.ts +1 -2
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
- package/lib/src/ap-tag/ap-tag.vue.d.ts +13 -14
- package/lib/src/ap-tag/index.d.ts +0 -1
- package/lib/src/ap-tag/interface.d.ts +0 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +2 -3
- package/lib/src/ap-upload/apUploadTypes.d.ts +0 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +0 -1
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
- package/lib/src/ap-upload/hooks/useOss.d.ts +0 -1
- package/lib/src/ap-upload/index.d.ts +0 -1
- package/lib/src/ap-upload/utils/accept.d.ts +0 -1
- package/lib/src/base-button/button.vue.d.ts +17 -16
- package/lib/src/base-button/constants.d.ts +0 -1
- package/lib/src/base-button/index.d.ts +55 -55
- package/lib/src/base-button/interface.d.ts +0 -1
- package/lib/src/basic/arrow.vue.d.ts +2 -3
- package/lib/src/basic/help.vue.d.ts +4 -9
- package/lib/src/basic/index.d.ts +27 -35
- package/lib/src/basic/interface.d.ts +0 -1
- package/lib/src/basic/title.vue.d.ts +16 -15
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
- package/lib/src/business/ap-export-group/interface.d.ts +0 -1
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +17 -16
- package/lib/src/business/ap-label/index.d.ts +0 -1
- package/lib/src/business/ap-label/interface.d.ts +0 -1
- package/lib/src/business/ap-select-layout/index.css +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/index.d.ts +0 -1
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
- package/lib/src/business/index.d.ts +213 -248
- package/lib/src/business/title/ApTitle.vue.d.ts +19 -18
- package/lib/src/button/button.vue.d.ts +25 -0
- package/lib/src/button/index.d.ts +7 -7
- package/lib/src/check-card/checked.svg.js +1 -1
- package/lib/src/check-card/context.d.ts +0 -1
- package/lib/src/check-card/group.vue.d.ts +21 -20
- package/lib/src/check-card/index.d.ts +0 -1
- package/lib/src/check-card/index.vue.d.ts +16 -15
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/check-card/interface.d.ts +0 -1
- package/lib/src/check-card/style/index.css +5 -5
- package/lib/src/config-provider/config-provider-props.d.ts +22 -23
- package/lib/src/config-provider/config-provider.d.ts +59 -204
- package/lib/src/config-provider/constants.d.ts +0 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +24 -25
- package/lib/src/config-provider/hooks/use-locale.d.ts +0 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +0 -1
- package/lib/src/config-provider/index.d.ts +129 -130
- package/lib/src/container/collapse/header.vue.d.ts +4 -5
- package/lib/src/container/collapse/index.vue.d.ts +5 -6
- package/lib/src/container/index.d.ts +26 -26
- package/lib/src/container/scroll-container.vue.d.ts +13 -12
- package/lib/src/count-down/button.vue.d.ts +11 -12
- package/lib/src/count-down/index.d.ts +13 -13
- package/lib/src/count-down/input.vue.d.ts +14 -13
- package/lib/src/count-down/interface.d.ts +0 -1
- package/lib/src/cropper/cropper-avatar.vue.d.ts +12 -13
- package/lib/src/cropper/cropper-image.vue.d.ts +12 -13
- package/lib/src/cropper/cropper-modal.vue.d.ts +0 -1
- package/lib/src/cropper/index.d.ts +63 -63
- package/lib/src/cropper/interface.d.ts +0 -1
- package/lib/src/description/description.vue.d.ts +1 -2
- package/lib/src/description/index.d.ts +10 -10
- package/lib/src/description/interface.d.ts +0 -1
- package/lib/src/description/use-description.d.ts +0 -1
- package/lib/src/design-token/index.d.ts +0 -1
- package/lib/src/dropdown/dropdown.vue.d.ts +18 -17
- package/lib/src/dropdown/index.d.ts +18 -18
- package/lib/src/dropdown/interface.d.ts +0 -1
- package/lib/src/editable-table/form-item.vue.d.ts +14 -915
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +0 -1
- package/lib/src/editable-table/index.d.ts +0 -1
- package/lib/src/editable-table/index.vue.d.ts +18 -568
- package/lib/src/editable-table/interface.d.ts +0 -1
- package/lib/src/editable-table/style/index.css +1 -1
- package/lib/src/editable-table/utils.d.ts +0 -1
- package/lib/src/hooks/useControllableValue.d.ts +0 -1
- package/lib/src/hooks/useMessage.d.ts +0 -1
- package/lib/src/icon/icon.vue.d.ts +12 -12
- package/lib/src/icon/index.d.ts +36 -36
- package/lib/src/icon/svg-icon.vue.d.ts +11 -12
- package/lib/src/icon-picker/icon-picker.vue.d.ts +12 -13
- package/lib/src/icon-picker/index.d.ts +25 -25
- package/lib/src/locale/index.d.ts +0 -1
- package/lib/src/locale/lang/en.d.ts +0 -1
- package/lib/src/locale/lang/zh-cn.d.ts +0 -1
- package/lib/src/modal/basic.vue.d.ts +18 -206
- package/lib/src/modal/components/modal-close.vue.d.ts +11 -12
- package/lib/src/modal/components/modal-footer.vue.d.ts +20 -209
- package/lib/src/modal/components/modal-header.vue.d.ts +2 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +7 -5
- package/lib/src/modal/components/modal.d.ts +11 -201
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
- package/lib/src/modal/hooks/use-modal-drag.d.ts +0 -1
- package/lib/src/modal/hooks/use-modal.d.ts +0 -1
- package/lib/src/modal/index.d.ts +37 -130
- package/lib/src/modal/interface.d.ts +0 -1
- package/lib/src/modal/props.d.ts +6 -103
- package/lib/src/pro-form/component-map.d.ts +0 -1
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +11 -12
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
- package/lib/src/pro-form/components/api-select.vue.d.ts +15 -14
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +14 -15
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
- package/lib/src/pro-form/components/api-tree.vue.d.ts +15 -14
- package/lib/src/pro-form/components/form-action.vue.d.ts +19 -18
- package/lib/src/pro-form/components/form-item.vue.d.ts +0 -1
- package/lib/src/pro-form/components/interface.d.ts +0 -1
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
- package/lib/src/pro-form/helper.d.ts +1 -2
- package/lib/src/pro-form/helper.js +1 -1
- package/lib/src/pro-form/hooks/use-advanced.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-component-register.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form-events.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form-events.js +1 -1
- package/lib/src/pro-form/hooks/use-form-item.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form-values.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +122 -123
- package/lib/src/pro-form/index.d.ts +0 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +24 -23
- package/lib/src/pro-form/table-form-inner.vue.d.ts +13 -14
- package/lib/src/pro-form/table-form.vue.d.ts +12 -13
- package/lib/src/pro-form/types/form-item.d.ts +0 -1
- package/lib/src/pro-form/types/form.d.ts +0 -1
- package/lib/src/pro-form/types/index.d.ts +37 -38
- package/lib/src/pro-form/types/table-form.d.ts +0 -1
- package/lib/src/pro-table/component-map.d.ts +0 -1
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
- package/lib/src/pro-table/components/editable/cell-component.d.ts +0 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
- package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/editable/helper.d.ts +0 -1
- package/lib/src/pro-table/components/editable/index.d.ts +0 -1
- package/lib/src/pro-table/components/header-cell.vue.d.ts +0 -1
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
- package/lib/src/pro-table/components/settings/index.vue.d.ts +0 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +7 -6
- package/lib/src/pro-table/components/table-footer.vue.d.ts +19 -20
- package/lib/src/pro-table/components/table-header.vue.d.ts +11 -10
- package/lib/src/pro-table/components/table-image.vue.d.ts +12 -13
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
- package/lib/src/pro-table/components/table-title.vue.d.ts +0 -1
- package/lib/src/pro-table/const.d.ts +0 -1
- package/lib/src/pro-table/directives/click-outside.d.ts +0 -1
- package/lib/src/pro-table/helper.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-columns.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-custom-row.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +1 -2
- package/lib/src/pro-table/hooks/use-loading.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-pagination.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-row-selection.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-context.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-expand.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-footer.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-form.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-header.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
- package/lib/src/pro-table/hooks/use-table-scroll.js +1 -1
- package/lib/src/pro-table/hooks/use-table-style.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table.d.ts +0 -1
- package/lib/src/pro-table/interface.d.ts +0 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +43 -42
- package/lib/src/pro-table/types/pagination.d.ts +0 -1
- package/lib/src/pro-table/types/table-action.d.ts +0 -1
- package/lib/src/pro-table/types/table.d.ts +0 -1
- package/lib/src/prompt/dialog.vue.d.ts +2 -3
- package/lib/src/prompt/index.d.ts +0 -1
- package/lib/src/prompt/interface.d.ts +0 -1
- package/lib/src/prompt/utils.d.ts +2 -2
- package/lib/src/scroll-bar/bar-item.d.ts +0 -1
- package/lib/src/scroll-bar/index.d.ts +27 -27
- package/lib/src/scroll-bar/interface.d.ts +0 -1
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
- package/lib/src/scroll-bar/utils.d.ts +0 -1
- package/lib/src/strength-meter/index.d.ts +19 -19
- package/lib/src/strength-meter/strength-meter.vue.d.ts +14 -13
- package/lib/src/tests/wrapper.d.ts +8 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +5 -5
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +5 -5
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +1 -1
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +6 -6
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
- package/lib/src/theme/ap-action/item.css +5 -5
- package/lib/src/theme/ap-form/ap-form-item.css +6 -6
- package/lib/src/theme/ap-select-layout/ap-select-layout.css +8 -0
- package/lib/src/theme/ap-table/ap-table.css +1 -1
- package/lib/src/theme/check-card/index.css +5 -5
- package/lib/src/theme/editable-table/index.css +1 -1
- package/lib/src/transition/collapse-transition.vue.d.ts +4 -3
- package/lib/src/transition/create-transition.d.ts +0 -1
- package/lib/src/type.d.ts +0 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -17
- package/lib/src/utils/index.d.ts +0 -1
- package/lib/src/utils/slot.d.ts +0 -1
- package/lib/src/utils/tree.d.ts +0 -1
- package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -1
- package/lib/src/work-order-modal/index.d.ts +0 -1
- package/lib/src/work-order-modal/interfaces.d.ts +0 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
- package/package.json +2 -2
|
@@ -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
|
} : {
|
package/es/src/prompt/index.d.ts
CHANGED
package/es/src/prompt/utils.d.ts
CHANGED
|
@@ -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;
|
|
@@ -28,11 +28,9 @@ const { e: w, is: A } = y("scrollbar"), _ = S({
|
|
|
28
28
|
t.stopImmediatePropagation(), c.value = !0, h(document, "mousemove", f), h(document, "mouseup", d), document.onselectstart = () => !1;
|
|
29
29
|
}, f = (t) => {
|
|
30
30
|
var g, p;
|
|
31
|
-
if (c.value === !1)
|
|
32
|
-
return;
|
|
31
|
+
if (c.value === !1) return;
|
|
33
32
|
const l = s.value[e.value.axis];
|
|
34
|
-
if (!l)
|
|
35
|
-
return;
|
|
33
|
+
if (!l) return;
|
|
36
34
|
const i = (((g = o == null ? void 0 : o.vnode.el) == null ? void 0 : g.getBoundingClientRect()[e.value.direction]) - t[e.value.client]) * -1, v = r.value[e.value.offset] - l, u = (i - v) * 100 / ((p = o == null ? void 0 : o.vnode.el) == null ? void 0 : p[e.value.offset]);
|
|
37
35
|
n.value[e.value.scroll] = u * n.value[e.value.scrollSize] / 100;
|
|
38
36
|
};
|
|
@@ -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
|
+
};
|
|
@@ -25,8 +25,7 @@ const x = /* @__PURE__ */ W({
|
|
|
25
25
|
const E = () => {
|
|
26
26
|
r.value || (f.value = e(t).scrollTop * 100 / e(t).clientHeight, d.value = e(t).scrollLeft * 100 / e(t).clientWidth);
|
|
27
27
|
}, o = () => {
|
|
28
|
-
if (!e(t))
|
|
29
|
-
return;
|
|
28
|
+
if (!e(t)) return;
|
|
30
29
|
const l = e(t).clientHeight * 100 / e(t).scrollHeight, n = e(t).clientWidth * 100 / e(t).scrollWidth;
|
|
31
30
|
m.value = l < 100 ? l + "%" : "", v.value = n < 100 ? n + "%" : "";
|
|
32
31
|
};
|
|
@@ -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
|
+
}))));
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
import { StrengthMeterProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const
|
|
3
|
+
declare function __VLS_template(): Partial<Record<string, (_: any) => any>>;
|
|
4
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<StrengthMeterProps>, {
|
|
5
5
|
showInput: boolean;
|
|
6
6
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
7
|
change: (...args: any[]) => void;
|
|
8
8
|
"score-change": (...args: any[]) => void;
|
|
9
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
9
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<StrengthMeterProps>, {
|
|
10
10
|
showInput: boolean;
|
|
11
11
|
}>>> & {
|
|
12
12
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
13
13
|
"onScore-change"?: ((...args: any[]) => any) | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
showInput: boolean;
|
|
16
|
-
}, {}
|
|
16
|
+
}, {}>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
17
18
|
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
19
|
type __VLS_WithDefaults<P, D> = {
|
|
28
20
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
21
|
default: D[K];
|
|
@@ -37,3 +29,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
37
29
|
$slots: S;
|
|
38
30
|
};
|
|
39
31
|
};
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToOption<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
|
+
};
|
|
@@ -16,8 +16,7 @@ const A = ["data-score"], G = /* @__PURE__ */ v({
|
|
|
16
16
|
setup(i, { emit: m }) {
|
|
17
17
|
const s = i, n = m, r = b(""), { b: l, bm: d } = j("strength-meter"), p = w(() => {
|
|
18
18
|
const { disabled: e } = s;
|
|
19
|
-
if (e)
|
|
20
|
-
return -1;
|
|
19
|
+
if (e) return -1;
|
|
21
20
|
const a = t(r) ? R(t(r)).score : -1;
|
|
22
21
|
return n("score-change", a), a;
|
|
23
22
|
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps } from 'vue';
|
|
2
|
+
export declare const Wrapper: DefineComponent<{
|
|
3
|
+
uiMode?: ("admin" | "aplus") | undefined;
|
|
4
|
+
lang?: ("en" | "zh-cn") | undefined;
|
|
5
|
+
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
6
|
+
uiMode?: ("admin" | "aplus") | undefined;
|
|
7
|
+
lang?: ("en" | "zh-cn") | undefined;
|
|
8
|
+
}>, {}, {}>;
|
|
@@ -365,11 +365,11 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
365
365
|
display: flex;
|
|
366
366
|
}
|
|
367
367
|
.ant-steps .ant-steps-item-icon {
|
|
368
|
-
|
|
368
|
+
flex-shrink: 0;
|
|
369
369
|
width: 28px;
|
|
370
370
|
height: 28px;
|
|
371
371
|
margin-top: 3px;
|
|
372
|
-
|
|
372
|
+
line-height: 27px;
|
|
373
373
|
}
|
|
374
374
|
.ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-icon .ant-steps-icon {
|
|
375
375
|
font-weight: 500;
|
|
@@ -467,10 +467,10 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
467
467
|
margin-top: 3px;
|
|
468
468
|
}
|
|
469
469
|
.ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item-icon {
|
|
470
|
-
line-height: 25px;
|
|
471
470
|
width: 24px;
|
|
472
471
|
height: 24px;
|
|
473
472
|
margin-top: 3px;
|
|
473
|
+
line-height: 25px;
|
|
474
474
|
}
|
|
475
475
|
.ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-content {
|
|
476
476
|
margin-top: 2px;
|
|
@@ -480,10 +480,10 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
|
|
|
480
480
|
margin: 3px -1px;
|
|
481
481
|
}
|
|
482
482
|
.ant-steps.ant-steps-horizontal.ant-steps-small .ant-steps-item-icon {
|
|
483
|
-
|
|
483
|
+
flex-shrink: 0;
|
|
484
484
|
width: 24px;
|
|
485
485
|
height: 24px;
|
|
486
|
-
|
|
486
|
+
line-height: 25px;
|
|
487
487
|
}
|
|
488
488
|
[class$='-basic-table'],
|
|
489
489
|
[class$='-basic-table-form-container'] {
|