@aplus-frontend/ui 0.1.21 → 0.1.23
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.mjs +176 -170
- package/es/src/ap-action/group/index.vue.d.ts +7 -6
- package/es/src/ap-action/item/index.vue.d.ts +20 -14
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
- package/es/src/ap-action/item-modal/index.vue.d.ts +20 -14
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
- package/es/src/ap-custom-column/column-select.vue.mjs +47 -46
- package/es/src/ap-custom-column/custom-column.vue.mjs +36 -35
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
- package/es/src/ap-download/ap-download.vue.d.ts +17 -12
- package/es/src/ap-field/checkbox/index.vue.d.ts +6 -5
- package/es/src/ap-field/date/index.vue.d.ts +18 -12
- package/es/src/ap-field/date-range/index.vue.d.ts +25 -19
- package/es/src/ap-field/number/index.vue.d.ts +459 -12
- package/es/src/ap-field/radio/index.vue.d.ts +6 -5
- package/es/src/ap-field/rate/index.vue.d.ts +138 -16
- package/es/src/ap-field/segmented/index.vue.d.ts +25 -19
- package/es/src/ap-field/select/index.vue.d.ts +597 -16
- package/es/src/ap-field/select/index.vue.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +375 -12
- package/es/src/ap-field/switch/index.vue.d.ts +16 -11
- package/es/src/ap-field/text/index.vue.d.ts +19 -13
- package/es/src/ap-field/text/password.vue.d.ts +19 -13
- package/es/src/ap-field/text-area/index.vue.d.ts +7 -6
- package/es/src/ap-field/text-area/index.vue.mjs +1 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
- package/es/src/ap-form/ap-form-item.vue.d.ts +1008 -12
- package/es/src/ap-form/ap-form-item.vue.mjs +47 -44
- package/es/src/ap-form/ap-form-list.vue.d.ts +12 -7
- package/es/src/ap-form/ap-form.vue.d.ts +884 -13
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
- package/es/src/ap-form/items/date/index.vue.d.ts +40 -35
- package/es/src/ap-form/items/date-range/index.vue.d.ts +39 -34
- package/es/src/ap-form/items/number/index.vue.d.ts +583 -27
- package/es/src/ap-form/items/radio/index.vue.d.ts +217 -13
- package/es/src/ap-form/items/select/index.vue.d.ts +43 -38
- package/es/src/ap-form/items/switch/index.vue.d.ts +24 -19
- package/es/src/ap-form/items/text/index.vue.d.ts +591 -25
- package/es/src/ap-form/items/text/password.vue.d.ts +658 -27
- package/es/src/ap-form/items/text-area/index.vue.d.ts +486 -13
- package/es/src/ap-form/modal-form/index.vue.d.ts +650 -16
- package/es/src/ap-form/search-form/index.vue.d.ts +652 -18
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
- package/es/src/ap-list/index.vue.d.ts +5 -5
- package/es/src/ap-modal/utils/createModal.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +5 -5
- package/es/src/ap-table/ap-table.vue.mjs +202 -198
- package/es/src/ap-table/components/index/index.vue.d.ts +4 -4
- package/es/src/ap-table/constants.d.ts +1071 -1072
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -1
- package/es/src/ap-table/interface.d.ts +1 -1
- package/es/src/ap-table/style/ap-table.css +3 -0
- package/es/src/ap-table/utils.d.ts +586 -587
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
- package/es/src/ap-tag/ap-tag.vue.d.ts +5 -5
- package/es/src/base-button/button.vue.d.ts +17 -12
- package/es/src/base-button/index.d.ts +30 -30
- package/es/src/basic/index.d.ts +6 -6
- package/es/src/basic/title.vue.d.ts +16 -11
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
- package/es/src/business/ap-image/ApImage.vue.d.ts +22 -1
- package/es/src/business/ap-image/ApImage.vue2.mjs +23 -23
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
- package/es/src/business/ap-label/ApLabel.d.ts +2 -2
- package/es/src/business/ap-label/ApLabel.mjs +8 -7
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/es/src/business/ap-status/ApStatus.vue.d.ts +5 -5
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +41 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +29 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +28 -0
- package/es/src/business/ap-table-modal/index.d.ts +538 -0
- package/es/src/business/ap-table-modal/index.mjs +11 -0
- package/es/src/business/ap-table-modal/interface.d.ts +63 -0
- package/es/src/business/ap-table-modal/interface.mjs +4 -0
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
- package/es/src/business/ap-table-modal/modal-title.vue.mjs +4 -0
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +50 -0
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
- package/es/src/business/ap-table-modal/table-modal.vue.mjs +4 -0
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +177 -0
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
- package/es/src/business/index.d.ts +140 -131
- package/es/src/business/index.mjs +18 -16
- package/es/src/business/title/ApTitle.vue.d.ts +17 -12
- package/es/src/button/button.vue.d.ts +12 -7
- package/es/src/button/index.d.ts +2 -2
- package/es/src/check-card/group.vue.d.ts +18 -13
- package/es/src/check-card/index.vue.d.ts +16 -11
- package/es/src/config-provider/config-provider-props.d.ts +6 -4
- package/es/src/config-provider/config-provider.d.ts +5 -5
- package/es/src/config-provider/hooks/use-global-config.d.ts +2 -1
- package/es/src/config-provider/index.d.ts +17 -17
- package/es/src/container/index.d.ts +4 -4
- package/es/src/container/scroll-container.vue.d.ts +181 -8
- package/es/src/count-down/button.vue.d.ts +4 -4
- package/es/src/count-down/index.d.ts +8 -8
- package/es/src/count-down/input.vue.d.ts +16 -11
- package/es/src/cropper/cropper-avatar.vue.d.ts +4 -4
- package/es/src/cropper/cropper-image.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +4 -4
- package/es/src/description/index.d.ts +2 -2
- package/es/src/dropdown/dropdown.vue.d.ts +16 -11
- package/es/src/dropdown/index.d.ts +2 -2
- package/es/src/editable-table/form-item.vue.d.ts +5 -5
- package/es/src/editable-table/form-item.vue.mjs +48 -48
- package/es/src/editable-table/hooks/use-get-columns.mjs +64 -56
- package/es/src/editable-table/index.vue.d.ts +6 -6
- package/es/src/editable-table/interface.d.ts +2 -2
- package/es/src/editable-table/utils.mjs +17 -17
- package/es/src/icon/icon.vue.d.ts +4 -5
- package/es/src/icon/index.d.ts +16 -16
- package/es/src/icon/svg-icon.vue.d.ts +4 -4
- package/es/src/icon-picker/icon-picker.vue.d.ts +4 -4
- package/es/src/icon-picker/index.d.ts +2 -2
- package/es/src/index.mjs +69 -63
- package/es/src/locale/lang/en.mjs +25 -0
- package/es/src/locale/lang/zh-cn.mjs +25 -0
- package/es/src/modal/basic.vue.d.ts +210 -5
- package/es/src/modal/components/modal-close.vue.d.ts +4 -4
- package/es/src/modal/components/modal-footer.vue.d.ts +10 -5
- package/es/src/modal/components/modal-wrapper.vue.d.ts +77 -4
- package/es/src/modal/components/modal.d.ts +1 -1
- package/es/src/modal/index.d.ts +5 -5
- package/es/src/pro-form/components/api-cascader.vue.d.ts +4 -4
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
- package/es/src/pro-form/components/api-select.vue.d.ts +16 -11
- package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
- package/es/src/pro-form/components/api-tree.vue.d.ts +16 -11
- package/es/src/pro-form/components/form-action.vue.d.ts +19 -14
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
- package/es/src/pro-form/hooks/use-label-width.d.ts +25 -25
- package/es/src/pro-form/pro-form.vue.d.ts +888 -15
- package/es/src/pro-form/table-form-inner.vue.d.ts +6 -5
- package/es/src/pro-form/table-form.vue.d.ts +6 -5
- package/es/src/pro-form/types/form.d.ts +4 -4
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +7 -2
- package/es/src/pro-table/components/table-footer.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-header.vue.d.ts +9 -4
- package/es/src/pro-table/components/table-image.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
- package/es/src/pro-table/pro-table.vue.d.ts +2049 -28
- package/es/src/prompt/utils.d.ts +1 -1
- package/es/src/scroll-bar/index.d.ts +2 -2
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
- package/es/src/strength-meter/index.d.ts +2 -2
- package/es/src/strength-meter/strength-meter.vue.d.ts +16 -11
- package/es/src/theme/antd-global-overwrite/admin/index.css +1 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +1 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +1 -0
- package/es/src/theme/antd-global-overwrite/aplus/table.css +1 -0
- package/es/src/theme/ap-table/ap-table.css +3 -0
- package/es/src/transition/collapse-transition.vue.d.ts +7 -2
- package/es/src/utils/config-provider-preset.d.ts +5 -5
- package/es/src/work-order-modal/createWorkOrder.mjs +20 -12
- package/es/src/work-order-modal/help-message.vue2.mjs +21 -18
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.mjs +64 -62
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +7 -6
- package/lib/src/ap-action/item/index.vue.d.ts +20 -14
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
- package/lib/src/ap-action/item-modal/index.vue.d.ts +20 -14
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
- package/lib/src/ap-download/ap-download.vue.d.ts +17 -12
- package/lib/src/ap-field/checkbox/index.vue.d.ts +6 -5
- package/lib/src/ap-field/date/index.vue.d.ts +18 -12
- package/lib/src/ap-field/date-range/index.vue.d.ts +25 -19
- package/lib/src/ap-field/number/index.vue.d.ts +459 -12
- package/lib/src/ap-field/radio/index.vue.d.ts +6 -5
- package/lib/src/ap-field/rate/index.vue.d.ts +138 -16
- package/lib/src/ap-field/segmented/index.vue.d.ts +25 -19
- package/lib/src/ap-field/select/index.vue.d.ts +597 -16
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +375 -12
- package/lib/src/ap-field/switch/index.vue.d.ts +16 -11
- package/lib/src/ap-field/text/index.vue.d.ts +19 -13
- package/lib/src/ap-field/text/password.vue.d.ts +19 -13
- package/lib/src/ap-field/text-area/index.vue.d.ts +7 -6
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
- package/lib/src/ap-form/ap-form-item.vue.d.ts +1008 -12
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-list.vue.d.ts +12 -7
- package/lib/src/ap-form/ap-form.vue.d.ts +884 -13
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
- package/lib/src/ap-form/items/date/index.vue.d.ts +40 -35
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +39 -34
- package/lib/src/ap-form/items/number/index.vue.d.ts +583 -27
- package/lib/src/ap-form/items/radio/index.vue.d.ts +217 -13
- package/lib/src/ap-form/items/select/index.vue.d.ts +43 -38
- package/lib/src/ap-form/items/switch/index.vue.d.ts +24 -19
- package/lib/src/ap-form/items/text/index.vue.d.ts +591 -25
- package/lib/src/ap-form/items/text/password.vue.d.ts +658 -27
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +486 -13
- package/lib/src/ap-form/modal-form/index.vue.d.ts +650 -16
- package/lib/src/ap-form/search-form/index.vue.d.ts +652 -18
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
- package/lib/src/ap-list/index.vue.d.ts +5 -5
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +5 -5
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +4 -4
- package/lib/src/ap-table/constants.d.ts +1071 -1072
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -1
- package/lib/src/ap-table/interface.d.ts +1 -1
- package/lib/src/ap-table/style/ap-table.css +3 -0
- package/lib/src/ap-table/utils.d.ts +586 -587
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
- package/lib/src/ap-tag/ap-tag.vue.d.ts +5 -5
- package/lib/src/base-button/button.vue.d.ts +17 -12
- package/lib/src/base-button/index.d.ts +30 -30
- package/lib/src/basic/index.d.ts +6 -6
- package/lib/src/basic/title.vue.d.ts +16 -11
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
- package/lib/src/business/ap-image/ApImage.vue.d.ts +22 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
- package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +5 -5
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -0
- package/lib/src/business/ap-table-modal/index.d.ts +538 -0
- package/lib/src/business/ap-table-modal/index.js +1 -0
- package/lib/src/business/ap-table-modal/interface.d.ts +63 -0
- package/lib/src/business/ap-table-modal/interface.js +1 -0
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
- package/lib/src/business/ap-table-modal/modal-title.vue.js +1 -0
- package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.js +1 -0
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -0
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
- package/lib/src/business/index.d.ts +140 -131
- package/lib/src/business/index.js +1 -1
- package/lib/src/business/title/ApTitle.vue.d.ts +17 -12
- package/lib/src/button/button.vue.d.ts +12 -7
- package/lib/src/button/index.d.ts +2 -2
- package/lib/src/check-card/group.vue.d.ts +18 -13
- package/lib/src/check-card/index.vue.d.ts +16 -11
- package/lib/src/config-provider/config-provider-props.d.ts +6 -4
- package/lib/src/config-provider/config-provider.d.ts +5 -5
- package/lib/src/config-provider/hooks/use-global-config.d.ts +2 -1
- package/lib/src/config-provider/index.d.ts +17 -17
- package/lib/src/container/index.d.ts +4 -4
- package/lib/src/container/scroll-container.vue.d.ts +181 -8
- package/lib/src/count-down/button.vue.d.ts +4 -4
- package/lib/src/count-down/index.d.ts +8 -8
- package/lib/src/count-down/input.vue.d.ts +16 -11
- package/lib/src/cropper/cropper-avatar.vue.d.ts +4 -4
- package/lib/src/cropper/cropper-image.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +4 -4
- package/lib/src/description/index.d.ts +2 -2
- package/lib/src/dropdown/dropdown.vue.d.ts +16 -11
- package/lib/src/dropdown/index.d.ts +2 -2
- package/lib/src/editable-table/form-item.vue.d.ts +5 -5
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +6 -6
- package/lib/src/editable-table/interface.d.ts +2 -2
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/icon/icon.vue.d.ts +4 -5
- package/lib/src/icon/index.d.ts +16 -16
- package/lib/src/icon/svg-icon.vue.d.ts +4 -4
- package/lib/src/icon-picker/icon-picker.vue.d.ts +4 -4
- package/lib/src/icon-picker/index.d.ts +2 -2
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +210 -5
- package/lib/src/modal/components/modal-close.vue.d.ts +4 -4
- package/lib/src/modal/components/modal-footer.vue.d.ts +10 -5
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +77 -4
- package/lib/src/modal/components/modal.d.ts +1 -1
- package/lib/src/modal/index.d.ts +5 -5
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +4 -4
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
- package/lib/src/pro-form/components/api-select.vue.d.ts +16 -11
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
- package/lib/src/pro-form/components/api-tree.vue.d.ts +16 -11
- package/lib/src/pro-form/components/form-action.vue.d.ts +19 -14
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
- package/lib/src/pro-form/hooks/use-label-width.d.ts +25 -25
- package/lib/src/pro-form/pro-form.vue.d.ts +888 -15
- package/lib/src/pro-form/table-form-inner.vue.d.ts +6 -5
- package/lib/src/pro-form/table-form.vue.d.ts +6 -5
- package/lib/src/pro-form/types/form.d.ts +4 -4
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +7 -2
- package/lib/src/pro-table/components/table-footer.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-header.vue.d.ts +9 -4
- package/lib/src/pro-table/components/table-image.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
- package/lib/src/pro-table/pro-table.vue.d.ts +2049 -28
- package/lib/src/prompt/utils.d.ts +1 -1
- package/lib/src/scroll-bar/index.d.ts +2 -2
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
- package/lib/src/strength-meter/index.d.ts +2 -2
- package/lib/src/strength-meter/strength-meter.vue.d.ts +16 -11
- package/lib/src/theme/antd-global-overwrite/admin/index.css +1 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +1 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +1 -0
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +1 -0
- package/lib/src/theme/ap-table/ap-table.css +3 -0
- package/lib/src/transition/collapse-transition.vue.d.ts +7 -2
- package/lib/src/utils/config-provider-preset.d.ts +5 -5
- package/lib/src/work-order-modal/createWorkOrder.js +1 -1
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +3 -3
|
@@ -1,19 +1,187 @@
|
|
|
1
|
+
import { nextTick, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, Ref, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
|
|
1
2
|
import { ScrollContainerProps } from './interface';
|
|
2
|
-
import {
|
|
3
|
+
import { StyleValue } from '../type';
|
|
3
4
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {
|
|
9
|
+
scrollbarRef: ({
|
|
10
|
+
$: ComponentInternalInstance;
|
|
11
|
+
$data: {};
|
|
12
|
+
$props: Partial<{
|
|
13
|
+
scrollHeight: number;
|
|
14
|
+
wrapStyle: StyleValue;
|
|
15
|
+
wrapClass: string | string[];
|
|
16
|
+
viewClass: string | string[];
|
|
17
|
+
viewStyle: string | string[];
|
|
18
|
+
tag: string;
|
|
19
|
+
}> & Omit<{
|
|
20
|
+
readonly scrollHeight: number;
|
|
21
|
+
readonly wrapStyle: StyleValue;
|
|
22
|
+
readonly wrapClass: string | string[];
|
|
23
|
+
readonly viewClass: string | string[];
|
|
24
|
+
readonly viewStyle: string | string[];
|
|
25
|
+
readonly tag: string;
|
|
26
|
+
readonly native?: boolean | undefined;
|
|
27
|
+
readonly noresize?: boolean | undefined;
|
|
28
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
29
|
+
native: {
|
|
30
|
+
type: PropType<boolean>;
|
|
31
|
+
};
|
|
32
|
+
scrollHeight: {
|
|
33
|
+
type: PropType<number>;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
wrapStyle: {
|
|
37
|
+
type: PropType<StyleValue>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
wrapClass: {
|
|
41
|
+
type: PropType<string | string[]>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
viewClass: {
|
|
45
|
+
type: PropType<string | string[]>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
viewStyle: {
|
|
49
|
+
type: PropType<string | string[]>;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
noresize: {
|
|
53
|
+
type: PropType<boolean>;
|
|
54
|
+
};
|
|
55
|
+
tag: {
|
|
56
|
+
type: PropType<string>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
}>>, "scrollHeight" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "tag">;
|
|
60
|
+
$attrs: {
|
|
61
|
+
[x: string]: unknown;
|
|
62
|
+
};
|
|
63
|
+
$refs: {
|
|
64
|
+
[x: string]: unknown;
|
|
65
|
+
};
|
|
66
|
+
$slots: Readonly<{
|
|
67
|
+
[name: string]: Slot<any> | undefined;
|
|
68
|
+
}>;
|
|
69
|
+
$root: ComponentPublicInstance | null;
|
|
70
|
+
$parent: ComponentPublicInstance | null;
|
|
71
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
72
|
+
$el: any;
|
|
73
|
+
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
74
|
+
native: {
|
|
75
|
+
type: PropType<boolean>;
|
|
76
|
+
};
|
|
77
|
+
scrollHeight: {
|
|
78
|
+
type: PropType<number>;
|
|
79
|
+
default: number;
|
|
80
|
+
};
|
|
81
|
+
wrapStyle: {
|
|
82
|
+
type: PropType<StyleValue>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
wrapClass: {
|
|
86
|
+
type: PropType<string | string[]>;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
viewClass: {
|
|
90
|
+
type: PropType<string | string[]>;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
viewStyle: {
|
|
94
|
+
type: PropType<string | string[]>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
noresize: {
|
|
98
|
+
type: PropType<boolean>;
|
|
99
|
+
};
|
|
100
|
+
tag: {
|
|
101
|
+
type: PropType<string>;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
}>>, {
|
|
105
|
+
wrap: Ref<any>;
|
|
106
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
107
|
+
scrollHeight: number;
|
|
108
|
+
wrapStyle: StyleValue;
|
|
109
|
+
wrapClass: string | string[];
|
|
110
|
+
viewClass: string | string[];
|
|
111
|
+
viewStyle: string | string[];
|
|
112
|
+
tag: string;
|
|
113
|
+
}, {}, string, {}> & {
|
|
114
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
115
|
+
created?: (() => void) | (() => void)[];
|
|
116
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
117
|
+
mounted?: (() => void) | (() => void)[];
|
|
118
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
119
|
+
updated?: (() => void) | (() => void)[];
|
|
120
|
+
activated?: (() => void) | (() => void)[];
|
|
121
|
+
deactivated?: (() => void) | (() => void)[];
|
|
122
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
123
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
124
|
+
destroyed?: (() => void) | (() => void)[];
|
|
125
|
+
unmounted?: (() => void) | (() => void)[];
|
|
126
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
127
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
128
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
129
|
+
};
|
|
130
|
+
$forceUpdate: () => void;
|
|
131
|
+
$nextTick: typeof nextTick;
|
|
132
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, (cleanupFn: () => void) => void]) => any : (...args: [any, any, (cleanupFn: () => void) => void]) => any, options?: WatchOptions): WatchStopHandle;
|
|
133
|
+
} & Omit<Readonly< ExtractPropTypes<{
|
|
134
|
+
native: {
|
|
135
|
+
type: PropType<boolean>;
|
|
136
|
+
};
|
|
137
|
+
scrollHeight: {
|
|
138
|
+
type: PropType<number>;
|
|
139
|
+
default: number;
|
|
140
|
+
};
|
|
141
|
+
wrapStyle: {
|
|
142
|
+
type: PropType<StyleValue>;
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
wrapClass: {
|
|
146
|
+
type: PropType<string | string[]>;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
viewClass: {
|
|
150
|
+
type: PropType<string | string[]>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
viewStyle: {
|
|
154
|
+
type: PropType<string | string[]>;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
noresize: {
|
|
158
|
+
type: PropType<boolean>;
|
|
159
|
+
};
|
|
160
|
+
tag: {
|
|
161
|
+
type: PropType<string>;
|
|
162
|
+
default: string;
|
|
163
|
+
};
|
|
164
|
+
}>>, "wrap"> & ShallowUnwrapRef<{
|
|
165
|
+
wrap: Ref<any>;
|
|
166
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
167
|
+
$slots: {
|
|
168
|
+
default?(_: {}): any;
|
|
169
|
+
};
|
|
170
|
+
} & {
|
|
171
|
+
$props: {
|
|
172
|
+
onClick?: () => void;
|
|
173
|
+
};
|
|
174
|
+
}) | null;
|
|
175
|
+
};
|
|
176
|
+
attrs: Partial<{}>;
|
|
5
177
|
};
|
|
178
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
6
179
|
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<ScrollContainerProps>, {
|
|
7
180
|
scrollTo: (to: number, duration?: number) => void;
|
|
8
181
|
scrollBottom: () => void;
|
|
9
182
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ScrollContainerProps>>>, {}, {}>;
|
|
10
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
183
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
184
|
export default _default;
|
|
12
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
185
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
186
|
type __VLS_TypePropsToOption<T> = {
|
|
19
187
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -23,3 +191,8 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
23
191
|
required: true;
|
|
24
192
|
};
|
|
25
193
|
};
|
|
194
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
195
|
+
new (): {
|
|
196
|
+
$slots: S;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
@@ -9,13 +9,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
9
9
|
}, {}>;
|
|
10
10
|
export default _default;
|
|
11
11
|
type __VLS_WithDefaults<P, D> = {
|
|
12
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
12
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
13
13
|
default: D[K];
|
|
14
14
|
}> : P[K];
|
|
15
15
|
};
|
|
16
|
-
type __VLS_Prettify<T> = {
|
|
17
|
-
[K in keyof T]: T[K];
|
|
18
|
-
} & {};
|
|
19
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
17
|
type __VLS_TypePropsToOption<T> = {
|
|
21
18
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -25,3 +22,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
25
22
|
required: true;
|
|
26
23
|
};
|
|
27
24
|
};
|
|
25
|
+
type __VLS_PrettifyLocal<T> = {
|
|
26
|
+
[K in keyof T]: T[K];
|
|
27
|
+
} & {};
|
|
@@ -62,15 +62,15 @@ export declare const CountdownButton: {
|
|
|
62
62
|
};
|
|
63
63
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
64
64
|
count: number;
|
|
65
|
-
}, {}, string, {}> &
|
|
65
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
66
66
|
$props: {
|
|
67
67
|
onClick?: () => void;
|
|
68
68
|
};
|
|
69
|
-
}))
|
|
69
|
+
}));
|
|
70
70
|
export declare const CountdownInput: {
|
|
71
71
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
72
72
|
size: {
|
|
73
|
-
type: PropType<"small" | "
|
|
73
|
+
type: PropType<"small" | "large" | "middle">;
|
|
74
74
|
};
|
|
75
75
|
value: {
|
|
76
76
|
type: PropType<string>;
|
|
@@ -84,7 +84,7 @@ export declare const CountdownInput: {
|
|
|
84
84
|
};
|
|
85
85
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
86
86
|
size: {
|
|
87
|
-
type: PropType<"small" | "
|
|
87
|
+
type: PropType<"small" | "large" | "middle">;
|
|
88
88
|
};
|
|
89
89
|
value: {
|
|
90
90
|
type: PropType<string>;
|
|
@@ -107,7 +107,7 @@ export declare const CountdownInput: {
|
|
|
107
107
|
Defaults: {};
|
|
108
108
|
}, Readonly< ExtractPropTypes<{
|
|
109
109
|
size: {
|
|
110
|
-
type: PropType<"small" | "
|
|
110
|
+
type: PropType<"small" | "large" | "middle">;
|
|
111
111
|
};
|
|
112
112
|
value: {
|
|
113
113
|
type: PropType<string>;
|
|
@@ -127,7 +127,7 @@ export declare const CountdownInput: {
|
|
|
127
127
|
__isSuspense?: never;
|
|
128
128
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
129
129
|
size: {
|
|
130
|
-
type: PropType<"small" | "
|
|
130
|
+
type: PropType<"small" | "large" | "middle">;
|
|
131
131
|
};
|
|
132
132
|
value: {
|
|
133
133
|
type: PropType<string>;
|
|
@@ -141,10 +141,10 @@ export declare const CountdownInput: {
|
|
|
141
141
|
};
|
|
142
142
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
143
143
|
count: number;
|
|
144
|
-
}, {}, string, {}> &
|
|
144
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
145
145
|
$slots: Partial<Record<string, (_: any) => any>>;
|
|
146
146
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
147
147
|
$props: {
|
|
148
148
|
onClick?: () => void;
|
|
149
149
|
};
|
|
150
|
-
}))
|
|
150
|
+
}));
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { CountdownInputProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
declare function __VLS_template():
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: Partial<Record<string, (_: any) => any>>;
|
|
5
|
+
refs: {};
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
4
9
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CountdownInputProps>, {
|
|
5
10
|
count: number;
|
|
6
11
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CountdownInputProps>, {
|
|
@@ -8,21 +13,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
8
13
|
}>>>, {
|
|
9
14
|
count: number;
|
|
10
15
|
}, {}>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
17
|
export default _default;
|
|
13
18
|
type __VLS_WithDefaults<P, D> = {
|
|
14
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
19
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
15
20
|
default: D[K];
|
|
16
21
|
}> : P[K];
|
|
17
22
|
};
|
|
18
|
-
type __VLS_Prettify<T> = {
|
|
19
|
-
[K in keyof T]: T[K];
|
|
20
|
-
} & {};
|
|
21
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
24
|
type __VLS_TypePropsToOption<T> = {
|
|
28
25
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -32,3 +29,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
32
29
|
required: true;
|
|
33
30
|
};
|
|
34
31
|
};
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_PrettifyLocal<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -27,13 +27,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
27
27
|
}, {}>;
|
|
28
28
|
export default _default;
|
|
29
29
|
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
30
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
31
31
|
default: D[K];
|
|
32
32
|
}> : P[K];
|
|
33
33
|
};
|
|
34
|
-
type __VLS_Prettify<T> = {
|
|
35
|
-
[K in keyof T]: T[K];
|
|
36
|
-
} & {};
|
|
37
34
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
35
|
type __VLS_TypePropsToOption<T> = {
|
|
39
36
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -43,3 +40,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
43
40
|
required: true;
|
|
44
41
|
};
|
|
45
42
|
};
|
|
43
|
+
type __VLS_PrettifyLocal<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|
|
@@ -32,13 +32,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
32
32
|
}, {}>;
|
|
33
33
|
export default _default;
|
|
34
34
|
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
36
36
|
default: D[K];
|
|
37
37
|
}> : P[K];
|
|
38
38
|
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
42
39
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
43
40
|
type __VLS_TypePropsToOption<T> = {
|
|
44
41
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -48,3 +45,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
48
45
|
required: true;
|
|
49
46
|
};
|
|
50
47
|
};
|
|
48
|
+
type __VLS_PrettifyLocal<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
@@ -187,11 +187,11 @@ export declare const CropperImage: {
|
|
|
187
187
|
circled: boolean;
|
|
188
188
|
realTimePreview: boolean;
|
|
189
189
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
190
|
-
}, {}, string, {}> &
|
|
190
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
191
191
|
$props: {
|
|
192
192
|
onClick?: () => void;
|
|
193
193
|
};
|
|
194
|
-
}))
|
|
194
|
+
}));
|
|
195
195
|
export declare const CropperAvatar: {
|
|
196
196
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
197
197
|
size: {
|
|
@@ -362,8 +362,8 @@ export declare const CropperAvatar: {
|
|
|
362
362
|
width: string | number;
|
|
363
363
|
showBtn: boolean;
|
|
364
364
|
btnText: string;
|
|
365
|
-
}, {}, string, {}> &
|
|
365
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
366
366
|
$props: {
|
|
367
367
|
onClick?: () => void;
|
|
368
368
|
};
|
|
369
|
-
}))
|
|
369
|
+
}));
|
|
@@ -207,8 +207,8 @@ export declare const Description: {
|
|
|
207
207
|
schema: DescItem[];
|
|
208
208
|
useCollapse: boolean;
|
|
209
209
|
collapseOptions: CollapseContainerOptions;
|
|
210
|
-
}, {}, string, {}> &
|
|
210
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
211
211
|
$props: {
|
|
212
212
|
onClick?: () => void;
|
|
213
213
|
};
|
|
214
|
-
}))
|
|
214
|
+
}));
|
|
@@ -2,8 +2,13 @@ import { DropdownProps, DropMenu } from './interface';
|
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
attrs: Partial<{}>;
|
|
6
10
|
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
7
12
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DropdownProps>, {
|
|
8
13
|
trigger: () => string[];
|
|
9
14
|
dropMenuList: () => never[];
|
|
@@ -21,21 +26,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
21
26
|
selectedKeys: string[];
|
|
22
27
|
dropMenuList: Array<DropMenu & Recordable<any>>;
|
|
23
28
|
}, {}>;
|
|
24
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
30
|
export default _default;
|
|
26
31
|
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
28
33
|
default: D[K];
|
|
29
34
|
}> : P[K];
|
|
30
35
|
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
-
new (): {
|
|
36
|
-
$slots: S;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
36
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
37
|
type __VLS_TypePropsToOption<T> = {
|
|
41
38
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -45,3 +42,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
45
42
|
required: true;
|
|
46
43
|
};
|
|
47
44
|
};
|
|
45
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
+
new (): {
|
|
47
|
+
$slots: S;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
type __VLS_PrettifyLocal<T> = {
|
|
51
|
+
[K in keyof T]: T[K];
|
|
52
|
+
} & {};
|
|
@@ -102,7 +102,7 @@ export declare const Dropdown: {
|
|
|
102
102
|
trigger: Array<"contextmenu" | "click" | "hover">;
|
|
103
103
|
selectedKeys: string[];
|
|
104
104
|
dropMenuList: Array< DropMenu & Recordable<any>>;
|
|
105
|
-
}, {}, string, {}> &
|
|
105
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
106
106
|
$slots: {
|
|
107
107
|
default?(_: {}): any;
|
|
108
108
|
};
|
|
@@ -110,4 +110,4 @@ export declare const Dropdown: {
|
|
|
110
110
|
$props: {
|
|
111
111
|
onClick?: () => void;
|
|
112
112
|
};
|
|
113
|
-
}))
|
|
113
|
+
}));
|
|
@@ -2,8 +2,8 @@ import { EditableColumnType, EditableTableFormItemProps } from './interface';
|
|
|
2
2
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
3
3
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
import { UnwrapRefSimple } from '@vue/reactivity';
|
|
5
|
-
declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
6
|
-
props:
|
|
5
|
+
declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>>, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
|
|
7
7
|
expose(exposed: ShallowUnwrapRef<{
|
|
8
8
|
add: (defaultValue?: any, insertIndex?: number) => void;
|
|
9
9
|
remove: (index: number | number[]) => void;
|
|
@@ -14,7 +14,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
14
14
|
scrollTo: (index: number | "end", options?: StandardBehaviorOptions) => void;
|
|
15
15
|
}>): void;
|
|
16
16
|
attrs: any;
|
|
17
|
-
slots:
|
|
17
|
+
slots: Readonly<{
|
|
18
18
|
default: any;
|
|
19
19
|
emptyText?: any;
|
|
20
20
|
expandIcon?: any;
|
|
@@ -44,7 +44,7 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
44
44
|
title: any;
|
|
45
45
|
column: EditableColumnType;
|
|
46
46
|
}) => void;
|
|
47
|
-
}
|
|
47
|
+
};
|
|
48
48
|
emit: {};
|
|
49
49
|
}>) => VNode<RendererNode, RendererElement, {
|
|
50
50
|
[key: string]: any;
|
|
@@ -52,6 +52,6 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
52
52
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
53
53
|
};
|
|
54
54
|
export default _default;
|
|
55
|
-
type
|
|
55
|
+
type __VLS_PrettifyLocal<T> = {
|
|
56
56
|
[K in keyof T]: T[K];
|
|
57
57
|
} & {};
|