@aplus-frontend/ui 0.0.40 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.d.ts +0 -1
- package/es/src/ap-action/group/index.vue.d.ts +12 -13
- package/es/src/ap-action/index.d.ts +0 -1
- package/es/src/ap-action/interface.d.ts +0 -1
- package/es/src/ap-action/item/index.vue.d.ts +16 -15
- package/es/src/ap-action/item/index.vue2.mjs +24 -26
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
- package/es/src/ap-action/item-modal/index.vue.d.ts +16 -15
- package/es/src/ap-action/item-modal/index.vue.mjs +7 -6
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
- package/es/src/ap-action/style/item.css +10 -25
- package/es/src/ap-custom-column/column-select.vue.d.ts +3 -4
- package/es/src/ap-custom-column/custom-column.vue.d.ts +3 -4
- package/es/src/ap-custom-column/index.d.ts +0 -1
- package/es/src/ap-custom-column/interfaces.d.ts +0 -1
- package/es/src/ap-custom-column/storage.mjs +11 -11
- package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
- package/es/src/ap-custom-column/utils.d.ts +0 -1
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
- package/es/src/ap-descriptions/formatter/index.d.ts +0 -1
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
- package/es/src/ap-descriptions/helper.d.ts +0 -1
- package/es/src/ap-descriptions/index.d.ts +0 -1
- package/es/src/ap-descriptions/interface.d.ts +0 -1
- package/es/src/ap-download/ap-download.vue.d.ts +18 -17
- package/es/src/ap-download/ap-download.vue.mjs +4 -1
- package/es/src/ap-download/hooks/index.d.ts +0 -1
- package/es/src/ap-download/index.d.ts +0 -1
- package/es/src/ap-download/interface.d.ts +0 -1
- package/es/src/ap-field/checkbox/helper.d.ts +0 -1
- package/es/src/ap-field/checkbox/index.vue.d.ts +11 -12
- package/es/src/ap-field/checkbox/index.vue.mjs +32 -27
- package/es/src/ap-field/checkbox/style.css +7 -0
- package/es/src/ap-field/date/constant.d.ts +0 -1
- package/es/src/ap-field/date/helper.d.ts +0 -1
- package/es/src/ap-field/date/index.vue.d.ts +25 -24
- package/es/src/ap-field/date/index.vue.mjs +4 -1
- package/es/src/ap-field/date-range/index.vue.d.ts +23 -22
- package/es/src/ap-field/date-range/index.vue.mjs +7 -1
- package/es/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
- package/es/src/ap-field/index.d.ts +0 -1
- package/es/src/ap-field/interface.d.ts +2 -1
- package/es/src/ap-field/number/helper.d.ts +0 -1
- package/es/src/ap-field/number/index.vue.d.ts +14 -13
- package/es/src/ap-field/radio/helper.d.ts +0 -1
- package/es/src/ap-field/radio/index.vue.d.ts +14 -12
- package/es/src/ap-field/radio/index.vue.mjs +44 -29
- package/es/src/ap-field/radio/style.css +4 -0
- package/es/src/ap-field/rate/index.vue.d.ts +19 -18
- package/es/src/ap-field/segmented/index.vue.d.ts +23 -22
- package/es/src/ap-field/select/index.vue.d.ts +20 -19
- package/es/src/ap-field/slider/index.vue.d.ts +14 -13
- package/es/src/ap-field/slider/index.vue.mjs +1 -4
- package/es/src/ap-field/switch/index.vue.d.ts +15 -14
- package/es/src/ap-field/text/index.d.ts +0 -1
- package/es/src/ap-field/text/index.vue.d.ts +17 -16
- package/es/src/ap-field/text/input-password-props.d.ts +0 -1
- package/es/src/ap-field/text/password.vue.d.ts +18 -17
- package/es/src/ap-field/text-area/index.vue.d.ts +13 -14
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
- package/es/src/ap-form/ap-form-item.vue.d.ts +15 -14
- package/es/src/ap-form/ap-form-list.vue.d.ts +9 -8
- package/es/src/ap-form/ap-form.vue.d.ts +22 -21
- package/es/src/ap-form/constant.d.ts +0 -1
- package/es/src/ap-form/context.d.ts +0 -1
- package/es/src/ap-form/hooks/use-watch.d.ts +0 -1
- package/es/src/ap-form/hooks/use-watch.mjs +7 -7
- package/es/src/ap-form/index.d.ts +0 -1
- package/es/src/ap-form/interface.d.ts +0 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
- package/es/src/ap-form/items/date/index.vue.d.ts +38 -37
- package/es/src/ap-form/items/date-range/index.vue.d.ts +38 -37
- package/es/src/ap-form/items/index.d.ts +0 -1
- package/es/src/ap-form/items/interface.d.ts +0 -1
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -30
- package/es/src/ap-form/items/radio/index.vue.d.ts +17 -16
- package/es/src/ap-form/items/select/index.vue.d.ts +41 -40
- package/es/src/ap-form/items/switch/index.vue.d.ts +25 -24
- package/es/src/ap-form/items/text/index.d.ts +0 -1
- package/es/src/ap-form/items/text/index.vue.d.ts +31 -30
- package/es/src/ap-form/items/text/password.vue.d.ts +31 -30
- package/es/src/ap-form/items/text-area/index.vue.d.ts +18 -17
- package/es/src/ap-form/modal-form/index.vue.d.ts +30 -29
- package/es/src/ap-form/search-form/index.vue.d.ts +23 -22
- package/es/src/ap-form/search-form/utils.d.ts +0 -1
- package/es/src/ap-form/search-form/utils.mjs +1 -2
- package/es/src/ap-form/style/ap-form-item.css +6 -6
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
- package/es/src/ap-layout/index.d.ts +0 -1
- package/es/src/ap-list/hooks/use-offline-list.d.ts +0 -1
- package/es/src/ap-list/index.d.ts +0 -1
- package/es/src/ap-list/index.vue.d.ts +9 -122
- package/es/src/ap-list/interface.d.ts +0 -1
- package/es/src/ap-modal/index.d.ts +0 -1
- package/es/src/ap-modal/type.d.ts +0 -1
- package/es/src/ap-modal/utils/createModal.d.ts +0 -1
- package/es/src/ap-table/ap-table.vue.d.ts +16 -2222
- package/es/src/ap-table/ap-table.vue.mjs +125 -126
- package/es/src/ap-table/components/index/index.vue.d.ts +11 -12
- package/es/src/ap-table/components/interface.d.ts +0 -1
- package/es/src/ap-table/components/status/index.vue.d.ts +2 -3
- package/es/src/ap-table/constants.d.ts +4816 -6356
- package/es/src/ap-table/hooks/use-table-paging.d.ts +0 -1
- package/es/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
- package/es/src/ap-table/index.d.ts +0 -1
- package/es/src/ap-table/interface.d.ts +0 -1
- package/es/src/ap-table/style/ap-table.css +1 -21
- package/es/src/ap-table/utils.d.ts +1 -2
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -7
- package/es/src/ap-tag/ap-tag.vue.d.ts +13 -14
- package/es/src/ap-tag/index.d.ts +0 -1
- package/es/src/ap-tag/interface.d.ts +0 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +2 -3
- package/es/src/ap-upload/apUpload.vue.mjs +4 -1
- package/es/src/ap-upload/apUploadTypes.d.ts +0 -1
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
- package/es/src/ap-upload/components/Picture.vue.d.ts +0 -1
- package/es/src/ap-upload/components/Picture.vue2.mjs +15 -5
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +5 -1
- package/es/src/ap-upload/hooks/useOss.d.ts +0 -1
- package/es/src/ap-upload/index.d.ts +0 -1
- package/es/src/ap-upload/utils/accept.d.ts +0 -1
- package/es/src/ap-upload/utils/accept.mjs +1 -2
- package/es/src/base-button/button.vue.d.ts +17 -16
- package/es/src/base-button/constants.d.ts +0 -1
- package/es/src/base-button/index.d.ts +55 -55
- package/es/src/base-button/interface.d.ts +0 -1
- package/es/src/basic/arrow.vue.d.ts +2 -3
- package/es/src/basic/help.vue.d.ts +4 -9
- package/es/src/basic/index.d.ts +27 -35
- package/es/src/basic/interface.d.ts +0 -1
- package/es/src/basic/title.vue.d.ts +16 -15
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +1 -2
- package/es/src/business/ap-export-group/interface.d.ts +0 -1
- package/es/src/business/ap-label/ApLabel.vue.d.ts +17 -16
- package/es/src/business/ap-label/index.d.ts +0 -1
- package/es/src/business/ap-label/interface.d.ts +0 -1
- package/es/src/business/ap-select-layout/index.css +8 -0
- package/es/src/business/ap-select-layout/index.d.ts +0 -1
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
- package/es/src/business/ap-status/ApStatus.vue.d.ts +11 -12
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
- package/es/src/business/ap-status/ApStatusGroup.vue2.mjs +10 -9
- package/es/src/business/ap-status/index.d.ts +0 -1
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
- package/es/src/business/index.d.ts +213 -248
- package/es/src/business/title/ApTitle.vue.d.ts +19 -18
- package/es/src/button/button.vue.d.ts +25 -0
- package/es/src/button/index.d.ts +7 -7
- package/es/src/check-card/checked.svg.mjs +2 -2
- package/es/src/check-card/context.d.ts +0 -1
- package/es/src/check-card/group.vue.d.ts +21 -20
- package/es/src/check-card/index.d.ts +0 -1
- package/es/src/check-card/index.vue.d.ts +16 -15
- package/es/src/check-card/index.vue2.mjs +45 -49
- package/es/src/check-card/interface.d.ts +0 -1
- package/es/src/check-card/style/index.css +10 -42
- package/es/src/config-provider/config-provider-props.d.ts +22 -23
- package/es/src/config-provider/config-provider.d.ts +59 -204
- package/es/src/config-provider/constants.d.ts +0 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +24 -25
- package/es/src/config-provider/hooks/use-locale.d.ts +0 -1
- package/es/src/config-provider/hooks/use-namespace.d.ts +0 -1
- package/es/src/config-provider/index.d.ts +129 -130
- package/es/src/container/collapse/header.vue.d.ts +4 -5
- package/es/src/container/collapse/index.vue.d.ts +5 -6
- package/es/src/container/index.d.ts +26 -26
- package/es/src/container/scroll-container.vue.d.ts +13 -12
- package/es/src/count-down/button.vue.d.ts +11 -12
- package/es/src/count-down/index.d.ts +13 -13
- package/es/src/count-down/input.vue.d.ts +14 -13
- package/es/src/count-down/interface.d.ts +0 -1
- package/es/src/cropper/cropper-avatar.vue.d.ts +12 -13
- package/es/src/cropper/cropper-image.vue.d.ts +12 -13
- package/es/src/cropper/cropper-modal.vue.d.ts +0 -1
- package/es/src/cropper/index.d.ts +63 -63
- package/es/src/cropper/interface.d.ts +0 -1
- package/es/src/description/description.vue.d.ts +1 -2
- package/es/src/description/index.d.ts +10 -10
- package/es/src/description/interface.d.ts +0 -1
- package/es/src/description/use-description.d.ts +0 -1
- package/es/src/design-token/index.d.ts +0 -1
- package/es/src/design-token/index.mjs +4 -2
- package/es/src/dropdown/dropdown.vue.d.ts +18 -17
- package/es/src/dropdown/index.d.ts +18 -18
- package/es/src/dropdown/interface.d.ts +0 -1
- package/es/src/editable-table/form-item.vue.d.ts +14 -915
- package/es/src/editable-table/form-item.vue.mjs +57 -58
- package/es/src/editable-table/hooks/use-get-columns.d.ts +0 -1
- package/es/src/editable-table/index.d.ts +0 -1
- package/es/src/editable-table/index.vue.d.ts +18 -568
- package/es/src/editable-table/index.vue.mjs +54 -55
- package/es/src/editable-table/interface.d.ts +0 -1
- package/es/src/editable-table/style/index.css +1 -21
- package/es/src/editable-table/utils.d.ts +0 -1
- package/es/src/hooks/useControllableValue.d.ts +0 -1
- package/es/src/hooks/useMessage.d.ts +0 -1
- package/es/src/icon/icon.vue.d.ts +12 -12
- package/es/src/icon/icon.vue2.mjs +3 -6
- package/es/src/icon/index.d.ts +36 -36
- package/es/src/icon/svg-icon.vue.d.ts +11 -12
- package/es/src/icon-picker/icon-picker.vue.d.ts +12 -13
- package/es/src/icon-picker/index.d.ts +25 -25
- package/es/src/locale/index.d.ts +0 -1
- package/es/src/locale/lang/en.d.ts +0 -1
- package/es/src/locale/lang/en.mjs +1 -1
- package/es/src/locale/lang/zh-cn.d.ts +0 -1
- package/es/src/locale/lang/zh-cn.mjs +22 -22
- package/es/src/modal/basic.vue.d.ts +18 -206
- package/es/src/modal/components/modal-close.vue.d.ts +11 -12
- package/es/src/modal/components/modal-footer.vue.d.ts +20 -209
- package/es/src/modal/components/modal-header.vue.d.ts +2 -3
- package/es/src/modal/components/modal-wrapper.vue.d.ts +7 -5
- package/es/src/modal/components/modal-wrapper.vue2.mjs +4 -8
- package/es/src/modal/components/modal.d.ts +11 -201
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
- package/es/src/modal/hooks/use-modal-drag.d.ts +0 -1
- package/es/src/modal/hooks/use-modal-drag.mjs +3 -6
- package/es/src/modal/hooks/use-modal.d.ts +0 -1
- package/es/src/modal/hooks/use-modal.mjs +1 -2
- package/es/src/modal/index.d.ts +37 -130
- package/es/src/modal/interface.d.ts +0 -1
- package/es/src/modal/props.d.ts +6 -103
- package/es/src/pro-form/component-map.d.ts +0 -1
- package/es/src/pro-form/components/api-cascader.vue.d.ts +11 -12
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
- package/es/src/pro-form/components/api-select.vue.d.ts +15 -14
- package/es/src/pro-form/components/api-transfer.vue.d.ts +14 -15
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
- package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -2
- package/es/src/pro-form/components/api-tree.vue.d.ts +15 -14
- package/es/src/pro-form/components/api-tree.vue.mjs +1 -2
- package/es/src/pro-form/components/form-action.vue.d.ts +19 -18
- package/es/src/pro-form/components/form-item.vue.d.ts +0 -1
- package/es/src/pro-form/components/interface.d.ts +0 -1
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
- package/es/src/pro-form/helper.d.ts +1 -2
- package/es/src/pro-form/helper.mjs +4 -4
- package/es/src/pro-form/hooks/use-advanced.d.ts +0 -1
- package/es/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
- package/es/src/pro-form/hooks/use-component-register.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form-events.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form-events.mjs +11 -11
- package/es/src/pro-form/hooks/use-form-item.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form-values.d.ts +0 -1
- package/es/src/pro-form/hooks/use-form.d.ts +0 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +122 -123
- package/es/src/pro-form/index.d.ts +0 -1
- package/es/src/pro-form/pro-form.vue.d.ts +24 -23
- package/es/src/pro-form/table-form-inner.vue.d.ts +13 -14
- package/es/src/pro-form/table-form.vue.d.ts +12 -13
- package/es/src/pro-form/types/form-item.d.ts +0 -1
- package/es/src/pro-form/types/form.d.ts +0 -1
- package/es/src/pro-form/types/index.d.ts +37 -38
- package/es/src/pro-form/types/table-form.d.ts +0 -1
- package/es/src/pro-table/component-map.d.ts +0 -1
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
- package/es/src/pro-table/components/editable/cell-component.d.ts +0 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
- package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +38 -42
- package/es/src/pro-table/components/editable/helper.d.ts +0 -1
- package/es/src/pro-table/components/editable/index.d.ts +0 -1
- package/es/src/pro-table/components/header-cell.vue.d.ts +0 -1
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
- package/es/src/pro-table/components/settings/index.vue.d.ts +0 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +7 -6
- package/es/src/pro-table/components/table-action.vue.mjs +4 -3
- package/es/src/pro-table/components/table-footer.vue.d.ts +19 -20
- package/es/src/pro-table/components/table-header.vue.d.ts +11 -10
- package/es/src/pro-table/components/table-image.vue.d.ts +12 -13
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
- package/es/src/pro-table/components/table-title.vue.d.ts +0 -1
- package/es/src/pro-table/const.d.ts +0 -1
- package/es/src/pro-table/directives/click-outside.d.ts +0 -1
- package/es/src/pro-table/helper.d.ts +0 -1
- package/es/src/pro-table/hooks/use-columns.d.ts +0 -1
- package/es/src/pro-table/hooks/use-columns.mjs +3 -6
- package/es/src/pro-table/hooks/use-custom-row.d.ts +0 -1
- package/es/src/pro-table/hooks/use-custom-row.mjs +4 -8
- package/es/src/pro-table/hooks/use-data-source.d.ts +1 -2
- package/es/src/pro-table/hooks/use-data-source.mjs +2 -4
- package/es/src/pro-table/hooks/use-loading.d.ts +0 -1
- package/es/src/pro-table/hooks/use-pagination.d.ts +0 -1
- package/es/src/pro-table/hooks/use-row-selection.d.ts +0 -1
- package/es/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
- package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -2
- package/es/src/pro-table/hooks/use-table-context.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-expand.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-footer.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-footer.mjs +1 -2
- package/es/src/pro-table/hooks/use-table-form.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-header.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
- package/es/src/pro-table/hooks/use-table-scroll.mjs +25 -27
- package/es/src/pro-table/hooks/use-table-style.d.ts +0 -1
- package/es/src/pro-table/hooks/use-table.d.ts +0 -1
- package/es/src/pro-table/interface.d.ts +0 -1
- package/es/src/pro-table/pro-table.vue.d.ts +43 -42
- package/es/src/pro-table/types/pagination.d.ts +0 -1
- package/es/src/pro-table/types/table-action.d.ts +0 -1
- package/es/src/pro-table/types/table.d.ts +0 -1
- package/es/src/prompt/dialog.vue.d.ts +2 -3
- package/es/src/prompt/index.d.ts +0 -1
- package/es/src/prompt/interface.d.ts +0 -1
- package/es/src/prompt/utils.d.ts +2 -2
- package/es/src/scroll-bar/bar-item.d.ts +0 -1
- package/es/src/scroll-bar/bar-item.mjs +2 -4
- package/es/src/scroll-bar/index.d.ts +27 -27
- package/es/src/scroll-bar/interface.d.ts +0 -1
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
- package/es/src/scroll-bar/scroll-bar.vue2.mjs +1 -2
- package/es/src/scroll-bar/utils.d.ts +0 -1
- package/es/src/strength-meter/index.d.ts +19 -19
- package/es/src/strength-meter/strength-meter.vue.d.ts +14 -13
- package/es/src/strength-meter/strength-meter.vue2.mjs +1 -2
- package/es/src/tests/wrapper.d.ts +8 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +5 -5
- package/es/src/theme/antd-global-overwrite/admin/steps.css +5 -5
- package/es/src/theme/antd-global-overwrite/aplus/form.css +1 -1
- package/es/src/theme/antd-global-overwrite/aplus/index.css +6 -6
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
- package/es/src/theme/ap-action/item.css +10 -25
- package/es/src/theme/ap-field/checkbox.css +7 -0
- package/es/src/theme/ap-field/radio.css +4 -0
- package/es/src/theme/ap-form/ap-form-item.css +6 -6
- package/es/src/theme/ap-select-layout/ap-select-layout.css +8 -0
- package/es/src/theme/ap-table/ap-table.css +1 -21
- package/es/src/theme/check-card/index.css +10 -42
- package/es/src/theme/css-var/index.mjs +83 -19
- package/es/src/theme/editable-table/index.css +1 -21
- package/es/src/transition/collapse-transition.vue.d.ts +4 -3
- package/es/src/transition/create-transition.d.ts +0 -1
- package/es/src/type.d.ts +0 -1
- package/es/src/utils/config-provider-preset.d.ts +16 -17
- package/es/src/utils/index.d.ts +0 -1
- package/es/src/utils/slot.d.ts +0 -1
- package/es/src/utils/slot.mjs +1 -2
- package/es/src/utils/tree.d.ts +0 -1
- package/es/src/utils/tree.mjs +1 -2
- package/es/src/work-order-modal/createWorkOrder.d.ts +0 -1
- package/es/src/work-order-modal/index.d.ts +0 -1
- package/es/src/work-order-modal/interfaces.d.ts +0 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
- package/lib/index.d.ts +0 -1
- package/lib/src/ap-action/group/index.vue.d.ts +12 -13
- package/lib/src/ap-action/index.d.ts +0 -1
- package/lib/src/ap-action/interface.d.ts +0 -1
- package/lib/src/ap-action/item/index.vue.d.ts +16 -15
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
- package/lib/src/ap-action/item-modal/index.vue.d.ts +16 -15
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
- package/lib/src/ap-action/style/item.css +10 -25
- package/lib/src/ap-custom-column/column-select.vue.d.ts +3 -4
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +3 -4
- package/lib/src/ap-custom-column/index.d.ts +0 -1
- package/lib/src/ap-custom-column/interfaces.d.ts +0 -1
- package/lib/src/ap-custom-column/storage.js +1 -1
- package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
- package/lib/src/ap-custom-column/utils.d.ts +0 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
- package/lib/src/ap-descriptions/formatter/index.d.ts +0 -1
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
- package/lib/src/ap-descriptions/helper.d.ts +0 -1
- package/lib/src/ap-descriptions/index.d.ts +0 -1
- package/lib/src/ap-descriptions/interface.d.ts +0 -1
- package/lib/src/ap-download/ap-download.vue.d.ts +18 -17
- package/lib/src/ap-download/hooks/index.d.ts +0 -1
- package/lib/src/ap-download/index.d.ts +0 -1
- package/lib/src/ap-download/interface.d.ts +0 -1
- package/lib/src/ap-field/checkbox/helper.d.ts +0 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +11 -12
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/checkbox/style.css +7 -0
- package/lib/src/ap-field/date/constant.d.ts +0 -1
- package/lib/src/ap-field/date/helper.d.ts +0 -1
- package/lib/src/ap-field/date/index.vue.d.ts +25 -24
- package/lib/src/ap-field/date-range/index.vue.d.ts +23 -22
- package/lib/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
- package/lib/src/ap-field/index.d.ts +0 -1
- package/lib/src/ap-field/interface.d.ts +2 -1
- package/lib/src/ap-field/number/helper.d.ts +0 -1
- package/lib/src/ap-field/number/index.vue.d.ts +14 -13
- package/lib/src/ap-field/radio/helper.d.ts +0 -1
- package/lib/src/ap-field/radio/index.vue.d.ts +14 -12
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/radio/style.css +4 -0
- package/lib/src/ap-field/rate/index.vue.d.ts +19 -18
- package/lib/src/ap-field/segmented/index.vue.d.ts +23 -22
- package/lib/src/ap-field/select/index.vue.d.ts +20 -19
- package/lib/src/ap-field/slider/index.vue.d.ts +14 -13
- package/lib/src/ap-field/switch/index.vue.d.ts +15 -14
- package/lib/src/ap-field/text/index.d.ts +0 -1
- package/lib/src/ap-field/text/index.vue.d.ts +17 -16
- package/lib/src/ap-field/text/input-password-props.d.ts +0 -1
- package/lib/src/ap-field/text/password.vue.d.ts +18 -17
- package/lib/src/ap-field/text-area/index.vue.d.ts +13 -14
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
- package/lib/src/ap-form/ap-form-item.vue.d.ts +15 -14
- package/lib/src/ap-form/ap-form-list.vue.d.ts +9 -8
- package/lib/src/ap-form/ap-form.vue.d.ts +22 -21
- package/lib/src/ap-form/constant.d.ts +0 -1
- package/lib/src/ap-form/context.d.ts +0 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +0 -1
- package/lib/src/ap-form/index.d.ts +0 -1
- package/lib/src/ap-form/interface.d.ts +0 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
- package/lib/src/ap-form/items/date/index.vue.d.ts +38 -37
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +38 -37
- package/lib/src/ap-form/items/index.d.ts +0 -1
- package/lib/src/ap-form/items/interface.d.ts +0 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -30
- package/lib/src/ap-form/items/radio/index.vue.d.ts +17 -16
- package/lib/src/ap-form/items/select/index.vue.d.ts +41 -40
- package/lib/src/ap-form/items/switch/index.vue.d.ts +25 -24
- package/lib/src/ap-form/items/text/index.d.ts +0 -1
- package/lib/src/ap-form/items/text/index.vue.d.ts +31 -30
- package/lib/src/ap-form/items/text/password.vue.d.ts +31 -30
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +18 -17
- package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -29
- package/lib/src/ap-form/search-form/index.vue.d.ts +23 -22
- package/lib/src/ap-form/search-form/utils.d.ts +0 -1
- package/lib/src/ap-form/style/ap-form-item.css +6 -6
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
- package/lib/src/ap-layout/index.d.ts +0 -1
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +0 -1
- package/lib/src/ap-list/index.d.ts +0 -1
- package/lib/src/ap-list/index.vue.d.ts +9 -122
- package/lib/src/ap-list/interface.d.ts +0 -1
- package/lib/src/ap-modal/index.d.ts +0 -1
- package/lib/src/ap-modal/type.d.ts +0 -1
- package/lib/src/ap-modal/utils/createModal.d.ts +0 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +16 -2222
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +11 -12
- package/lib/src/ap-table/components/interface.d.ts +0 -1
- package/lib/src/ap-table/components/status/index.vue.d.ts +2 -3
- package/lib/src/ap-table/constants.d.ts +4816 -6356
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +0 -1
- package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
- package/lib/src/ap-table/index.d.ts +0 -1
- package/lib/src/ap-table/interface.d.ts +0 -1
- package/lib/src/ap-table/style/ap-table.css +1 -21
- package/lib/src/ap-table/utils.d.ts +1 -2
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
- package/lib/src/ap-tag/ap-tag.vue.d.ts +13 -14
- package/lib/src/ap-tag/index.d.ts +0 -1
- package/lib/src/ap-tag/interface.d.ts +0 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +2 -3
- package/lib/src/ap-upload/apUploadTypes.d.ts +0 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +0 -1
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
- package/lib/src/ap-upload/hooks/useOss.d.ts +0 -1
- package/lib/src/ap-upload/index.d.ts +0 -1
- package/lib/src/ap-upload/utils/accept.d.ts +0 -1
- package/lib/src/base-button/button.vue.d.ts +17 -16
- package/lib/src/base-button/constants.d.ts +0 -1
- package/lib/src/base-button/index.d.ts +55 -55
- package/lib/src/base-button/interface.d.ts +0 -1
- package/lib/src/basic/arrow.vue.d.ts +2 -3
- package/lib/src/basic/help.vue.d.ts +4 -9
- package/lib/src/basic/index.d.ts +27 -35
- package/lib/src/basic/interface.d.ts +0 -1
- package/lib/src/basic/title.vue.d.ts +16 -15
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
- package/lib/src/business/ap-export-group/interface.d.ts +0 -1
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +17 -16
- package/lib/src/business/ap-label/index.d.ts +0 -1
- package/lib/src/business/ap-label/interface.d.ts +0 -1
- package/lib/src/business/ap-select-layout/index.css +8 -0
- package/lib/src/business/ap-select-layout/index.d.ts +0 -1
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +11 -12
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
- package/lib/src/business/ap-status/ApStatusGroup.vue2.js +1 -1
- package/lib/src/business/ap-status/index.d.ts +0 -1
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
- package/lib/src/business/index.d.ts +213 -248
- package/lib/src/business/title/ApTitle.vue.d.ts +19 -18
- package/lib/src/button/button.vue.d.ts +25 -0
- package/lib/src/button/index.d.ts +7 -7
- package/lib/src/check-card/checked.svg.js +1 -1
- package/lib/src/check-card/context.d.ts +0 -1
- package/lib/src/check-card/group.vue.d.ts +21 -20
- package/lib/src/check-card/index.d.ts +0 -1
- package/lib/src/check-card/index.vue.d.ts +16 -15
- package/lib/src/check-card/index.vue2.js +1 -1
- package/lib/src/check-card/interface.d.ts +0 -1
- package/lib/src/check-card/style/index.css +10 -42
- package/lib/src/config-provider/config-provider-props.d.ts +22 -23
- package/lib/src/config-provider/config-provider.d.ts +59 -204
- package/lib/src/config-provider/constants.d.ts +0 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +24 -25
- package/lib/src/config-provider/hooks/use-locale.d.ts +0 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +0 -1
- package/lib/src/config-provider/index.d.ts +129 -130
- package/lib/src/container/collapse/header.vue.d.ts +4 -5
- package/lib/src/container/collapse/index.vue.d.ts +5 -6
- package/lib/src/container/index.d.ts +26 -26
- package/lib/src/container/scroll-container.vue.d.ts +13 -12
- package/lib/src/count-down/button.vue.d.ts +11 -12
- package/lib/src/count-down/index.d.ts +13 -13
- package/lib/src/count-down/input.vue.d.ts +14 -13
- package/lib/src/count-down/interface.d.ts +0 -1
- package/lib/src/cropper/cropper-avatar.vue.d.ts +12 -13
- package/lib/src/cropper/cropper-image.vue.d.ts +12 -13
- package/lib/src/cropper/cropper-modal.vue.d.ts +0 -1
- package/lib/src/cropper/index.d.ts +63 -63
- package/lib/src/cropper/interface.d.ts +0 -1
- package/lib/src/description/description.vue.d.ts +1 -2
- package/lib/src/description/index.d.ts +10 -10
- package/lib/src/description/interface.d.ts +0 -1
- package/lib/src/description/use-description.d.ts +0 -1
- package/lib/src/design-token/index.d.ts +0 -1
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/dropdown/dropdown.vue.d.ts +18 -17
- package/lib/src/dropdown/index.d.ts +18 -18
- package/lib/src/dropdown/interface.d.ts +0 -1
- package/lib/src/editable-table/form-item.vue.d.ts +14 -915
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +0 -1
- package/lib/src/editable-table/index.d.ts +0 -1
- package/lib/src/editable-table/index.vue.d.ts +18 -568
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/interface.d.ts +0 -1
- package/lib/src/editable-table/style/index.css +1 -21
- package/lib/src/editable-table/utils.d.ts +0 -1
- package/lib/src/hooks/useControllableValue.d.ts +0 -1
- package/lib/src/hooks/useMessage.d.ts +0 -1
- package/lib/src/icon/icon.vue.d.ts +12 -12
- package/lib/src/icon/index.d.ts +36 -36
- package/lib/src/icon/svg-icon.vue.d.ts +11 -12
- package/lib/src/icon-picker/icon-picker.vue.d.ts +12 -13
- package/lib/src/icon-picker/index.d.ts +25 -25
- package/lib/src/locale/index.d.ts +0 -1
- package/lib/src/locale/lang/en.d.ts +0 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.d.ts +0 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +18 -206
- package/lib/src/modal/components/modal-close.vue.d.ts +11 -12
- package/lib/src/modal/components/modal-footer.vue.d.ts +20 -209
- package/lib/src/modal/components/modal-header.vue.d.ts +2 -3
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +7 -5
- package/lib/src/modal/components/modal.d.ts +11 -201
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
- package/lib/src/modal/hooks/use-modal-drag.d.ts +0 -1
- package/lib/src/modal/hooks/use-modal.d.ts +0 -1
- package/lib/src/modal/index.d.ts +37 -130
- package/lib/src/modal/interface.d.ts +0 -1
- package/lib/src/modal/props.d.ts +6 -103
- package/lib/src/pro-form/component-map.d.ts +0 -1
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +11 -12
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
- package/lib/src/pro-form/components/api-select.vue.d.ts +15 -14
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +14 -15
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
- package/lib/src/pro-form/components/api-tree.vue.d.ts +15 -14
- package/lib/src/pro-form/components/form-action.vue.d.ts +19 -18
- package/lib/src/pro-form/components/form-item.vue.d.ts +0 -1
- package/lib/src/pro-form/components/interface.d.ts +0 -1
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
- package/lib/src/pro-form/helper.d.ts +1 -2
- package/lib/src/pro-form/helper.js +1 -1
- package/lib/src/pro-form/hooks/use-advanced.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-component-register.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form-events.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form-events.js +1 -1
- package/lib/src/pro-form/hooks/use-form-item.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form-values.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-form.d.ts +0 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +122 -123
- package/lib/src/pro-form/index.d.ts +0 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +24 -23
- package/lib/src/pro-form/table-form-inner.vue.d.ts +13 -14
- package/lib/src/pro-form/table-form.vue.d.ts +12 -13
- package/lib/src/pro-form/types/form-item.d.ts +0 -1
- package/lib/src/pro-form/types/form.d.ts +0 -1
- package/lib/src/pro-form/types/index.d.ts +37 -38
- package/lib/src/pro-form/types/table-form.d.ts +0 -1
- package/lib/src/pro-table/component-map.d.ts +0 -1
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
- package/lib/src/pro-table/components/editable/cell-component.d.ts +0 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
- package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/editable/helper.d.ts +0 -1
- package/lib/src/pro-table/components/editable/index.d.ts +0 -1
- package/lib/src/pro-table/components/header-cell.vue.d.ts +0 -1
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
- package/lib/src/pro-table/components/settings/index.vue.d.ts +0 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +7 -6
- package/lib/src/pro-table/components/table-footer.vue.d.ts +19 -20
- package/lib/src/pro-table/components/table-header.vue.d.ts +11 -10
- package/lib/src/pro-table/components/table-image.vue.d.ts +12 -13
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
- package/lib/src/pro-table/components/table-title.vue.d.ts +0 -1
- package/lib/src/pro-table/const.d.ts +0 -1
- package/lib/src/pro-table/directives/click-outside.d.ts +0 -1
- package/lib/src/pro-table/helper.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-columns.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-custom-row.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +1 -2
- package/lib/src/pro-table/hooks/use-loading.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-pagination.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-row-selection.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-context.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-expand.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-footer.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-form.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-header.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
- package/lib/src/pro-table/hooks/use-table-scroll.js +1 -1
- package/lib/src/pro-table/hooks/use-table-style.d.ts +0 -1
- package/lib/src/pro-table/hooks/use-table.d.ts +0 -1
- package/lib/src/pro-table/interface.d.ts +0 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +43 -42
- package/lib/src/pro-table/types/pagination.d.ts +0 -1
- package/lib/src/pro-table/types/table-action.d.ts +0 -1
- package/lib/src/pro-table/types/table.d.ts +0 -1
- package/lib/src/prompt/dialog.vue.d.ts +2 -3
- package/lib/src/prompt/index.d.ts +0 -1
- package/lib/src/prompt/interface.d.ts +0 -1
- package/lib/src/prompt/utils.d.ts +2 -2
- package/lib/src/scroll-bar/bar-item.d.ts +0 -1
- package/lib/src/scroll-bar/index.d.ts +27 -27
- package/lib/src/scroll-bar/interface.d.ts +0 -1
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
- package/lib/src/scroll-bar/utils.d.ts +0 -1
- package/lib/src/strength-meter/index.d.ts +19 -19
- package/lib/src/strength-meter/strength-meter.vue.d.ts +14 -13
- package/lib/src/tests/wrapper.d.ts +8 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +5 -5
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +5 -5
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +1 -1
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +6 -6
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
- package/lib/src/theme/ap-action/item.css +10 -25
- package/lib/src/theme/ap-field/checkbox.css +7 -0
- package/lib/src/theme/ap-field/radio.css +4 -0
- package/lib/src/theme/ap-form/ap-form-item.css +6 -6
- package/lib/src/theme/ap-select-layout/ap-select-layout.css +8 -0
- package/lib/src/theme/ap-table/ap-table.css +1 -21
- package/lib/src/theme/check-card/index.css +10 -42
- package/lib/src/theme/css-var/index.js +1 -1
- package/lib/src/theme/editable-table/index.css +1 -21
- package/lib/src/transition/collapse-transition.vue.d.ts +4 -3
- package/lib/src/transition/create-transition.d.ts +0 -1
- package/lib/src/type.d.ts +0 -1
- package/lib/src/utils/config-provider-preset.d.ts +16 -17
- package/lib/src/utils/index.d.ts +0 -1
- package/lib/src/utils/slot.d.ts +0 -1
- package/lib/src/utils/tree.d.ts +0 -1
- package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -1
- package/lib/src/work-order-modal/index.d.ts +0 -1
- package/lib/src/work-order-modal/interfaces.d.ts +0 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
- package/package.json +3 -3
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { defineComponent as q, useSlots as
|
|
2
|
-
import { Table as
|
|
1
|
+
import { defineComponent as q, useSlots as H, ref as w, watch as U, unref as o, openBlock as y, createBlock as W, withCtx as c, createVNode as v, mergeProps as $, createSlots as G, createElementBlock as M, Fragment as J, createElementVNode as b, normalizeClass as Q, toDisplayString as X, createCommentVNode as Y, renderList as Z, renderSlot as ee, normalizeProps as te, guardReactiveProps as ae } from "vue";
|
|
2
|
+
import { Table as ne } from "ant-design-vue";
|
|
3
3
|
import { ApForm as f } from "../ap-form/index.mjs";
|
|
4
|
-
import { isNumber as p, cloneDeep as h, omit as
|
|
4
|
+
import { isNumber as p, cloneDeep as h, omit as oe } from "lodash-unified";
|
|
5
5
|
import "../config-provider/index.mjs";
|
|
6
6
|
import "../hooks/index.mjs";
|
|
7
7
|
import { isDef as x } from "../utils/index.mjs";
|
|
8
|
-
import { scrollToRowIndex as
|
|
9
|
-
import
|
|
8
|
+
import { scrollToRowIndex as le, getColumnIsRequired as re } from "./utils.mjs";
|
|
9
|
+
import se from "./hooks/use-get-columns.mjs";
|
|
10
10
|
import "./style/index.css";
|
|
11
|
-
import { useNamespace as
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
const Fe = /* @__PURE__ */ q({
|
|
11
|
+
import { useNamespace as ue } from "../config-provider/hooks/use-namespace.mjs";
|
|
12
|
+
import { useControllableValue as de } from "../hooks/useControllableValue.mjs";
|
|
13
|
+
const be = /* @__PURE__ */ q({
|
|
15
14
|
name: "EditableTable",
|
|
16
15
|
__name: "index",
|
|
17
16
|
props: {
|
|
@@ -110,32 +109,32 @@ const Fe = /* @__PURE__ */ q({
|
|
|
110
109
|
onFieldChange: {}
|
|
111
110
|
},
|
|
112
111
|
emits: ["update:value"],
|
|
113
|
-
setup(
|
|
114
|
-
expose:
|
|
115
|
-
emit:
|
|
112
|
+
setup(R, {
|
|
113
|
+
expose: B,
|
|
114
|
+
emit: F
|
|
116
115
|
}) {
|
|
117
|
-
const l =
|
|
118
|
-
b:
|
|
116
|
+
const l = R, {
|
|
117
|
+
b: D,
|
|
119
118
|
em: _
|
|
120
|
-
} =
|
|
119
|
+
} = ue("editable-table"), k = H(), E = F, g = w(), {
|
|
121
120
|
value: s,
|
|
122
|
-
updateValue:
|
|
123
|
-
} =
|
|
124
|
-
|
|
121
|
+
updateValue: L
|
|
122
|
+
} = de(l, E), u = w(), N = f.useWatch(l.name, u);
|
|
123
|
+
U(() => N.value, (e) => {
|
|
125
124
|
var a;
|
|
126
|
-
|
|
125
|
+
L(e), (a = l.onChange) == null || a.call(l, e);
|
|
127
126
|
});
|
|
128
|
-
const
|
|
129
|
-
function
|
|
127
|
+
const S = se(l);
|
|
128
|
+
function V() {
|
|
130
129
|
var e;
|
|
131
130
|
(e = u.value) == null || e.resetFields();
|
|
132
131
|
}
|
|
133
|
-
async function
|
|
132
|
+
async function T(e, a) {
|
|
134
133
|
var t;
|
|
135
134
|
const n = await ((t = u.value) == null ? void 0 : t.validateFields(e, a));
|
|
136
135
|
return n == null ? void 0 : n[l.name];
|
|
137
136
|
}
|
|
138
|
-
function
|
|
137
|
+
function z(e, a) {
|
|
139
138
|
var r, d, i;
|
|
140
139
|
const n = ((r = o(s)) == null ? void 0 : r.length) || 0;
|
|
141
140
|
if (x(l.maxLength) && n >= l.maxLength)
|
|
@@ -147,28 +146,28 @@ const Fe = /* @__PURE__ */ q({
|
|
|
147
146
|
...e || {}
|
|
148
147
|
}), (i = (d = u.value) == null ? void 0 : d.setFieldValue) == null || i.call(d, l.name, t);
|
|
149
148
|
}
|
|
150
|
-
function
|
|
151
|
-
var i, m,
|
|
149
|
+
function I(e, a = "suffix") {
|
|
150
|
+
var i, m, C;
|
|
152
151
|
const n = ((i = o(s)) == null ? void 0 : i.length) || 0, t = p(e) ? e : e.length;
|
|
153
152
|
if (x(l.maxLength) && n + t > l.maxLength)
|
|
154
153
|
return;
|
|
155
154
|
const r = [...o(s) || []], d = p(e) ? new Array(e).fill({}) : h(e);
|
|
156
|
-
a === "suffix" ? r.push(...d) : r.unshift(...d), (
|
|
155
|
+
a === "suffix" ? r.push(...d) : r.unshift(...d), (C = (m = u.value) == null ? void 0 : m.setFieldValue) == null || C.call(m, l.name, r);
|
|
157
156
|
}
|
|
158
|
-
function
|
|
157
|
+
function P(e) {
|
|
159
158
|
var t, r;
|
|
160
159
|
let a = h(o(s) || []);
|
|
161
160
|
const n = p(e) ? [e] : e;
|
|
162
161
|
a = a.filter((d, i) => !n.includes(i)), (r = (t = u.value) == null ? void 0 : t.setFieldValue) == null || r.call(t, l.name, a);
|
|
163
162
|
}
|
|
164
|
-
function
|
|
163
|
+
function j() {
|
|
165
164
|
return o(s);
|
|
166
165
|
}
|
|
167
|
-
function
|
|
166
|
+
function A(e) {
|
|
168
167
|
var a;
|
|
169
168
|
return (a = o(s)) == null ? void 0 : a[e];
|
|
170
169
|
}
|
|
171
|
-
function
|
|
170
|
+
function O(e, a) {
|
|
172
171
|
var t, r;
|
|
173
172
|
const n = h(o(s));
|
|
174
173
|
n[e] && (n[e] = {
|
|
@@ -176,22 +175,22 @@ const Fe = /* @__PURE__ */ q({
|
|
|
176
175
|
...a
|
|
177
176
|
}, (r = (t = u.value) == null ? void 0 : t.setFieldValue) == null || r.call(t, l.name, [...n]));
|
|
178
177
|
}
|
|
179
|
-
function
|
|
178
|
+
function K(e, a) {
|
|
180
179
|
var t;
|
|
181
180
|
const n = e === "end" ? s.value.length - 1 : e;
|
|
182
|
-
|
|
181
|
+
le(n, (t = g.value) == null ? void 0 : t.$el, a);
|
|
183
182
|
}
|
|
184
|
-
return
|
|
185
|
-
resetFields:
|
|
186
|
-
validateFields:
|
|
187
|
-
add:
|
|
188
|
-
remove:
|
|
189
|
-
getRowData:
|
|
190
|
-
getRowsData:
|
|
191
|
-
setRowData:
|
|
192
|
-
addMultiple:
|
|
193
|
-
scrollTo:
|
|
194
|
-
}), (e, a) => (
|
|
183
|
+
return B({
|
|
184
|
+
resetFields: V,
|
|
185
|
+
validateFields: T,
|
|
186
|
+
add: z,
|
|
187
|
+
remove: P,
|
|
188
|
+
getRowData: A,
|
|
189
|
+
getRowsData: j,
|
|
190
|
+
setRowData: O,
|
|
191
|
+
addMultiple: I,
|
|
192
|
+
scrollTo: K
|
|
193
|
+
}), (e, a) => (y(), W(o(f), {
|
|
195
194
|
"initial-values": {
|
|
196
195
|
[l.name]: o(s)
|
|
197
196
|
},
|
|
@@ -202,24 +201,24 @@ const Fe = /* @__PURE__ */ q({
|
|
|
202
201
|
name: e.name,
|
|
203
202
|
"no-style": ""
|
|
204
203
|
}, {
|
|
205
|
-
default: c(() => [v(o(
|
|
206
|
-
class:
|
|
207
|
-
columns: o(
|
|
204
|
+
default: c(() => [v(o(ne), $(o(oe)(l, ["name", "value", "onUpdate:value", "maxLength", "onChange"]), {
|
|
205
|
+
class: o(D)(),
|
|
206
|
+
columns: o(S),
|
|
208
207
|
"data-source": o(s),
|
|
209
208
|
ref_key: "tableRef",
|
|
210
|
-
ref:
|
|
211
|
-
}),
|
|
209
|
+
ref: g
|
|
210
|
+
}), G({
|
|
212
211
|
headerCell: c(({
|
|
213
212
|
column: n
|
|
214
|
-
}) => [o(
|
|
213
|
+
}) => [o(re)(n) ? (y(), M(J, {
|
|
215
214
|
key: 0
|
|
216
|
-
}, [
|
|
217
|
-
class:
|
|
218
|
-
}, "*", 2),
|
|
215
|
+
}, [b("span", {
|
|
216
|
+
class: Q(o(_)("header-cell", "required"))
|
|
217
|
+
}, "*", 2), b("span", null, X(n.title), 1)], 64)) : Y("", !0)]),
|
|
219
218
|
_: 2
|
|
220
|
-
}, [
|
|
219
|
+
}, [Z(k, (n, t) => ({
|
|
221
220
|
name: t,
|
|
222
|
-
fn: c((r) => [
|
|
221
|
+
fn: c((r) => [ee(e.$slots, t, te(ae(r || {})))])
|
|
223
222
|
}))]), 1040, ["class", "columns", "data-source"])]),
|
|
224
223
|
_: 3
|
|
225
224
|
}, 8, ["name"])]),
|
|
@@ -228,5 +227,5 @@ const Fe = /* @__PURE__ */ q({
|
|
|
228
227
|
}
|
|
229
228
|
});
|
|
230
229
|
export {
|
|
231
|
-
|
|
230
|
+
be as default
|
|
232
231
|
};
|
|
@@ -6,7 +6,6 @@ import { FormItemProps } from 'ant-design-vue';
|
|
|
6
6
|
import { VNode } from 'vue';
|
|
7
7
|
import { EllipsisConfig } from 'ant-design-vue/es/typography/Base';
|
|
8
8
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
9
|
-
|
|
10
9
|
export type EditableColumnType<RecordType = any, ValueType extends ApTableValueTypes = ApTableValueTypes> = ValueType extends ApTableValueTypes ? Omit<ColumnType<RecordType>, 'children' | 'customRender' | 'ellipsis'> & {
|
|
11
10
|
children?: EditableColumnType<RecordType, ValueType>;
|
|
12
11
|
/**
|
|
@@ -12,31 +12,11 @@
|
|
|
12
12
|
flex: 1;
|
|
13
13
|
}
|
|
14
14
|
.aplus-editable-table tr > th.ant-table-cell {
|
|
15
|
-
background-color: #F2F6F9;
|
|
16
|
-
border-bottom-color: #E9EDF3;
|
|
15
|
+
background-color: var(--ap-table-header-bg, #F2F6F9);
|
|
17
16
|
}
|
|
18
17
|
.aplus-editable-table tr > th.ant-table-cell::before {
|
|
19
18
|
display: none;
|
|
20
19
|
}
|
|
21
|
-
.aplus-editable-table tr > td.ant-table-cell {
|
|
22
|
-
border-top-color: #E9EDF3;
|
|
23
|
-
}
|
|
24
|
-
.aplus-editable-table-admin .ant-pagination {
|
|
25
|
-
margin-bottom: 0 !important;
|
|
26
|
-
}
|
|
27
|
-
.aplus-editable-table-admin .ant-pagination .ant-pagination-total-text {
|
|
28
|
-
flex: 1;
|
|
29
|
-
}
|
|
30
|
-
.aplus-editable-table-admin tr > th.ant-table-cell {
|
|
31
|
-
background-color: #FAFAFA;
|
|
32
|
-
border-bottom-color: #E9E9E9;
|
|
33
|
-
}
|
|
34
|
-
.aplus-editable-table-admin tr > th.ant-table-cell::before {
|
|
35
|
-
display: none;
|
|
36
|
-
}
|
|
37
|
-
.aplus-editable-table-admin tr > td.ant-table-cell {
|
|
38
|
-
border-top-color: #E9E9E9;
|
|
39
|
-
}
|
|
40
20
|
.aplus-editable-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell:has(.is-editable) {
|
|
41
21
|
padding: 20px 16px 0px;
|
|
42
22
|
}
|
|
@@ -2,7 +2,6 @@ import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
|
|
2
2
|
import { NotificationArgsProps, ConfigProps } from 'ant-design-vue/lib/notification';
|
|
3
3
|
import { ModalFuncProps } from 'ant-design-vue';
|
|
4
4
|
import { MessageApi } from 'ant-design-vue/es/message';
|
|
5
|
-
|
|
6
5
|
export interface NotifyApi {
|
|
7
6
|
info(config: NotificationArgsProps): void;
|
|
8
7
|
success(config: NotificationArgsProps): void;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { IconProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconProps>, {
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<IconProps>, {
|
|
5
4
|
size: number;
|
|
6
5
|
prefix: string;
|
|
7
6
|
spin: boolean;
|
|
8
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
7
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<IconProps>, {
|
|
9
8
|
size: number;
|
|
10
9
|
prefix: string;
|
|
11
10
|
spin: boolean;
|
|
@@ -15,15 +14,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
15
14
|
spin: boolean;
|
|
16
15
|
}, {}>;
|
|
17
16
|
export default _default;
|
|
18
|
-
|
|
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
|
-
};
|
|
17
|
+
|
|
27
18
|
type __VLS_WithDefaults<P, D> = {
|
|
28
19
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
20
|
default: D[K];
|
|
@@ -32,3 +23,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
32
23
|
type __VLS_Prettify<T> = {
|
|
33
24
|
[K in keyof T]: T[K];
|
|
34
25
|
} & {};
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -23,15 +23,12 @@ const y = "|svg", F = /* @__PURE__ */ S({
|
|
|
23
23
|
}), x = i(() => t.icon.replace(y, "")), z = i(
|
|
24
24
|
() => `${t.prefix ? t.prefix + ":" : ""}${t.icon}`
|
|
25
25
|
), f = async () => {
|
|
26
|
-
if (o(p))
|
|
27
|
-
return;
|
|
26
|
+
if (o(p)) return;
|
|
28
27
|
const e = o(l);
|
|
29
|
-
if (!e)
|
|
30
|
-
return;
|
|
28
|
+
if (!e) return;
|
|
31
29
|
await k();
|
|
32
30
|
const n = o(z);
|
|
33
|
-
if (!n)
|
|
34
|
-
return;
|
|
31
|
+
if (!n) return;
|
|
35
32
|
r.iconExists(n) || await r.loadIcon(n);
|
|
36
33
|
const m = r.renderSVG(n, {});
|
|
37
34
|
if (m)
|
package/es/src/icon/index.d.ts
CHANGED
|
@@ -2,41 +2,41 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
|
|
|
2
2
|
export * from './interface';
|
|
3
3
|
export declare const Icon: {
|
|
4
4
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
5
|
-
|
|
6
|
-
type: PropType<string>;
|
|
5
|
+
size: {
|
|
6
|
+
type: PropType<string | number>;
|
|
7
|
+
default: number;
|
|
7
8
|
};
|
|
8
9
|
icon: {
|
|
9
10
|
type: PropType<string>;
|
|
10
11
|
required: true;
|
|
11
12
|
};
|
|
12
|
-
size: {
|
|
13
|
-
type: PropType<string | number>;
|
|
14
|
-
default: number;
|
|
15
|
-
};
|
|
16
13
|
prefix: {
|
|
17
14
|
type: PropType<string>;
|
|
18
15
|
default: string;
|
|
19
16
|
};
|
|
17
|
+
color: {
|
|
18
|
+
type: PropType<string>;
|
|
19
|
+
};
|
|
20
20
|
spin: {
|
|
21
21
|
type: PropType<boolean>;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
24
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
25
|
-
|
|
26
|
-
type: PropType<string>;
|
|
25
|
+
size: {
|
|
26
|
+
type: PropType<string | number>;
|
|
27
|
+
default: number;
|
|
27
28
|
};
|
|
28
29
|
icon: {
|
|
29
30
|
type: PropType<string>;
|
|
30
31
|
required: true;
|
|
31
32
|
};
|
|
32
|
-
size: {
|
|
33
|
-
type: PropType<string | number>;
|
|
34
|
-
default: number;
|
|
35
|
-
};
|
|
36
33
|
prefix: {
|
|
37
34
|
type: PropType<string>;
|
|
38
35
|
default: string;
|
|
39
36
|
};
|
|
37
|
+
color: {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
};
|
|
40
40
|
spin: {
|
|
41
41
|
type: PropType<boolean>;
|
|
42
42
|
default: boolean;
|
|
@@ -53,21 +53,21 @@ export declare const Icon: {
|
|
|
53
53
|
M: {};
|
|
54
54
|
Defaults: {};
|
|
55
55
|
}, Readonly< ExtractPropTypes<{
|
|
56
|
-
|
|
57
|
-
type: PropType<string>;
|
|
56
|
+
size: {
|
|
57
|
+
type: PropType<string | number>;
|
|
58
|
+
default: number;
|
|
58
59
|
};
|
|
59
60
|
icon: {
|
|
60
61
|
type: PropType<string>;
|
|
61
62
|
required: true;
|
|
62
63
|
};
|
|
63
|
-
size: {
|
|
64
|
-
type: PropType<string | number>;
|
|
65
|
-
default: number;
|
|
66
|
-
};
|
|
67
64
|
prefix: {
|
|
68
65
|
type: PropType<string>;
|
|
69
66
|
default: string;
|
|
70
67
|
};
|
|
68
|
+
color: {
|
|
69
|
+
type: PropType<string>;
|
|
70
|
+
};
|
|
71
71
|
spin: {
|
|
72
72
|
type: PropType<boolean>;
|
|
73
73
|
default: boolean;
|
|
@@ -77,25 +77,25 @@ export declare const Icon: {
|
|
|
77
77
|
prefix: string;
|
|
78
78
|
spin: boolean;
|
|
79
79
|
}>;
|
|
80
|
-
__isFragment?:
|
|
81
|
-
__isTeleport?:
|
|
82
|
-
__isSuspense?:
|
|
80
|
+
__isFragment?: never;
|
|
81
|
+
__isTeleport?: never;
|
|
82
|
+
__isSuspense?: never;
|
|
83
83
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
84
|
-
|
|
85
|
-
type: PropType<string>;
|
|
84
|
+
size: {
|
|
85
|
+
type: PropType<string | number>;
|
|
86
|
+
default: number;
|
|
86
87
|
};
|
|
87
88
|
icon: {
|
|
88
89
|
type: PropType<string>;
|
|
89
90
|
required: true;
|
|
90
91
|
};
|
|
91
|
-
size: {
|
|
92
|
-
type: PropType<string | number>;
|
|
93
|
-
default: number;
|
|
94
|
-
};
|
|
95
92
|
prefix: {
|
|
96
93
|
type: PropType<string>;
|
|
97
94
|
default: string;
|
|
98
95
|
};
|
|
96
|
+
color: {
|
|
97
|
+
type: PropType<string>;
|
|
98
|
+
};
|
|
99
99
|
spin: {
|
|
100
100
|
type: PropType<boolean>;
|
|
101
101
|
default: boolean;
|
|
@@ -104,11 +104,11 @@ export declare const Icon: {
|
|
|
104
104
|
size: string | number;
|
|
105
105
|
prefix: string;
|
|
106
106
|
spin: boolean;
|
|
107
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin & (new (...args: any[]) => {
|
|
107
|
+
}, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
108
108
|
$props: {
|
|
109
|
-
onClick?: (
|
|
109
|
+
onClick?: () => void;
|
|
110
110
|
};
|
|
111
|
-
});
|
|
111
|
+
}))));
|
|
112
112
|
export declare const SvgIcon: {
|
|
113
113
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
114
114
|
size: {
|
|
@@ -177,9 +177,9 @@ export declare const SvgIcon: {
|
|
|
177
177
|
prefix: string;
|
|
178
178
|
spin: boolean;
|
|
179
179
|
}>;
|
|
180
|
-
__isFragment?:
|
|
181
|
-
__isTeleport?:
|
|
182
|
-
__isSuspense?:
|
|
180
|
+
__isFragment?: never;
|
|
181
|
+
__isTeleport?: never;
|
|
182
|
+
__isSuspense?: never;
|
|
183
183
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
184
184
|
size: {
|
|
185
185
|
type: PropType<string | number>;
|
|
@@ -201,8 +201,8 @@ export declare const SvgIcon: {
|
|
|
201
201
|
size: string | number;
|
|
202
202
|
prefix: string;
|
|
203
203
|
spin: boolean;
|
|
204
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & Plugin & (new (...args: any[]) => {
|
|
204
|
+
}, {}, string, {}> & ( VNodeProps & ( AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
205
205
|
$props: {
|
|
206
|
-
onClick?: (
|
|
206
|
+
onClick?: () => void;
|
|
207
207
|
};
|
|
208
|
-
});
|
|
208
|
+
}))));
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { SvgIconProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SvgIconProps>, {
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SvgIconProps>, {
|
|
5
4
|
prefix: string;
|
|
6
5
|
size: number;
|
|
7
6
|
spin: boolean;
|
|
8
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
7
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SvgIconProps>, {
|
|
9
8
|
prefix: string;
|
|
10
9
|
size: number;
|
|
11
10
|
spin: boolean;
|
|
@@ -15,15 +14,6 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
15
14
|
spin: boolean;
|
|
16
15
|
}, {}>;
|
|
17
16
|
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
17
|
type __VLS_WithDefaults<P, D> = {
|
|
28
18
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
19
|
default: D[K];
|
|
@@ -32,3 +22,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
32
22
|
type __VLS_Prettify<T> = {
|
|
33
23
|
[K in keyof T]: T[K];
|
|
34
24
|
} & {};
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IconPickerProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconPickerProps>, {
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<IconPickerProps>, {
|
|
5
4
|
value: string;
|
|
6
5
|
width: string;
|
|
7
6
|
pageSize: number;
|
|
@@ -12,7 +11,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
12
11
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
12
|
change: (...args: any[]) => void;
|
|
14
13
|
"update:value": (...args: any[]) => void;
|
|
15
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<IconPickerProps>, {
|
|
16
15
|
value: string;
|
|
17
16
|
width: string;
|
|
18
17
|
pageSize: number;
|
|
@@ -24,24 +23,15 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
24
23
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
25
24
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
26
25
|
}, {
|
|
27
|
-
mode: "svg" | "iconify";
|
|
28
26
|
width: string;
|
|
29
27
|
copy: boolean;
|
|
28
|
+
mode: "svg" | "iconify";
|
|
30
29
|
value: string;
|
|
31
30
|
readonly: boolean;
|
|
32
31
|
allowClear: boolean;
|
|
33
32
|
pageSize: number;
|
|
34
33
|
}, {}>;
|
|
35
34
|
export default _default;
|
|
36
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
-
} : {
|
|
41
|
-
type: PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
35
|
type __VLS_WithDefaults<P, D> = {
|
|
46
36
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
37
|
default: D[K];
|
|
@@ -50,3 +40,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
50
40
|
type __VLS_Prettify<T> = {
|
|
51
41
|
[K in keyof T]: T[K];
|
|
52
42
|
} & {};
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToOption<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|