@aplus-frontend/ui 0.1.20 → 0.1.22
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/interface.d.ts +3 -3
- 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 +107 -107
- 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/constants.mjs +11 -9
- package/es/src/ap-table/hooks/use-table-paging.d.ts +14 -3
- package/es/src/ap-table/hooks/use-table-paging.mjs +115 -103
- package/es/src/ap-table/interface.d.ts +13 -4
- package/es/src/ap-table/style/ap-table.css +9 -0
- package/es/src/ap-table/utils.d.ts +597 -598
- package/es/src/ap-table/utils.mjs +44 -39
- 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 +31 -62
- package/es/src/business/ap-image/ApImage.vue2.mjs +30 -26
- package/es/src/business/ap-image/interface.d.ts +17 -0
- 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-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 +160 -152
- 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/config-provider.mjs +9 -9
- 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/index.vue.d.ts +6 -6
- 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 +29 -2
- package/es/src/locale/lang/zh-cn.mjs +29 -2
- 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 +9 -0
- package/es/src/theme/css-var/index.mjs +23 -7
- 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/interface.d.ts +3 -3
- 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/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +14 -3
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
- package/lib/src/ap-table/interface.d.ts +13 -4
- package/lib/src/ap-table/style/ap-table.css +9 -0
- package/lib/src/ap-table/utils.d.ts +597 -598
- package/lib/src/ap-table/utils.js +1 -1
- 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 +31 -62
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/interface.d.ts +17 -0
- 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-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 +160 -152
- 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/config-provider.js +1 -1
- 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/index.vue.d.ts +6 -6
- 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 +9 -0
- package/lib/src/theme/css-var/index.js +1 -1
- 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 +4 -4
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { isVNode as d, createVNode as
|
|
2
|
-
import { isObject as
|
|
1
|
+
import { isVNode as d, createVNode as u, mergeProps as a, cloneVNode as T, Fragment as b } from "vue";
|
|
2
|
+
import { isObject as l, isArray as f, isUndefined as y, isFunction as g, omit as h, isBoolean as j, isString as c } from "lodash-unified";
|
|
3
3
|
import { apTableRenderItemMap as F, apTableFormItemMap as O, ellipsisTitleStyle as E } from "./constants.mjs";
|
|
4
4
|
import { isType as S } from "@fruits-chain/utils";
|
|
5
5
|
import "../ap-form/index.mjs";
|
|
6
|
-
import { Tooltip as
|
|
7
|
-
import { QuestionCircleOutlined as
|
|
8
|
-
import
|
|
9
|
-
function
|
|
6
|
+
import { Tooltip as x } from "ant-design-vue";
|
|
7
|
+
import { QuestionCircleOutlined as N } from "@ant-design/icons-vue";
|
|
8
|
+
import I from "../ap-form/ap-form-item.vue.mjs";
|
|
9
|
+
function v(t) {
|
|
10
10
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !d(t);
|
|
11
11
|
}
|
|
12
12
|
const C = (t, e, n) => {
|
|
13
13
|
let o = {};
|
|
14
|
-
return
|
|
15
|
-
|
|
14
|
+
return l(t) ? Object.keys(t).forEach((i) => {
|
|
15
|
+
l(t[i]) ? o[i] = C(t[i], e[i], n) : o[i] = n(t[i], e);
|
|
16
16
|
}) : o = n(t, e), o;
|
|
17
17
|
}, J = (t, e) => {
|
|
18
18
|
switch (t) {
|
|
@@ -26,7 +26,7 @@ const C = (t, e, n) => {
|
|
|
26
26
|
}
|
|
27
27
|
case "multiple":
|
|
28
28
|
case "multipleNumber":
|
|
29
|
-
return
|
|
29
|
+
return f(e) ? e : [e];
|
|
30
30
|
case "boolean":
|
|
31
31
|
return e;
|
|
32
32
|
case "object":
|
|
@@ -36,7 +36,7 @@ const C = (t, e, n) => {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
function L(t) {
|
|
39
|
-
return
|
|
39
|
+
return f(t) ? t.join(".") : t;
|
|
40
40
|
}
|
|
41
41
|
function P(t) {
|
|
42
42
|
const e = Object.prototype.toString.call(t).match(/^\[object (.*)\]$/)[1].toLowerCase();
|
|
@@ -44,13 +44,13 @@ function P(t) {
|
|
|
44
44
|
}
|
|
45
45
|
const V = (t) => P(t) === "map" ? t : new Map(Object.entries(t || {})), p = (t) => {
|
|
46
46
|
const e = [], n = V(t);
|
|
47
|
-
return n.forEach((o,
|
|
48
|
-
const r = n.get(
|
|
47
|
+
return n.forEach((o, i) => {
|
|
48
|
+
const r = n.get(i) || n.get(`${i}`);
|
|
49
49
|
if (r) {
|
|
50
50
|
if (typeof r == "object" && (r != null && r.text)) {
|
|
51
51
|
e.push({
|
|
52
52
|
text: r == null ? void 0 : r.text,
|
|
53
|
-
value:
|
|
53
|
+
value: i,
|
|
54
54
|
label: r == null ? void 0 : r.text,
|
|
55
55
|
disabled: r.disabled
|
|
56
56
|
});
|
|
@@ -59,46 +59,46 @@ const V = (t) => P(t) === "map" ? t : new Map(Object.entries(t || {})), p = (t)
|
|
|
59
59
|
e.push({
|
|
60
60
|
text: r,
|
|
61
61
|
label: r,
|
|
62
|
-
value:
|
|
62
|
+
value: i
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
}), e;
|
|
66
|
-
}, Q = (t) =>
|
|
66
|
+
}, Q = (t) => y(t) || t < 0 ? 0 : t, U = (t, e, n) => {
|
|
67
67
|
if (n)
|
|
68
68
|
return n;
|
|
69
|
-
const o = ["select", "date"],
|
|
69
|
+
const o = ["select", "date"], i = ["text", "textArea", "number"];
|
|
70
70
|
if (e === "dateRange")
|
|
71
71
|
return [t("ap.common.chooseText"), t("ap.common.chooseText")];
|
|
72
72
|
if (o.includes(e))
|
|
73
73
|
return t("ap.common.chooseText");
|
|
74
|
-
if (
|
|
74
|
+
if (i.includes(e))
|
|
75
75
|
return t("ap.common.inputText");
|
|
76
76
|
};
|
|
77
77
|
function w(t, e) {
|
|
78
|
-
return !t || !
|
|
78
|
+
return !t || !g(t) ? t : t(e);
|
|
79
79
|
}
|
|
80
80
|
function z(t) {
|
|
81
81
|
let e = t.valueType || "text";
|
|
82
82
|
return t.valueEnum && (e = "status"), e;
|
|
83
83
|
}
|
|
84
84
|
function G(t, e, n, o) {
|
|
85
|
-
var
|
|
86
|
-
const
|
|
87
|
-
if (
|
|
88
|
-
return
|
|
85
|
+
var s;
|
|
86
|
+
const i = F[t];
|
|
87
|
+
if (i)
|
|
88
|
+
return u(i, a(e, {
|
|
89
89
|
mode: "read"
|
|
90
90
|
}), null);
|
|
91
91
|
const r = o == null ? void 0 : o[t];
|
|
92
|
-
return ((
|
|
92
|
+
return ((s = r == null ? void 0 : r.render) == null ? void 0 : s.call(r, e.value, n, e)) || e.value;
|
|
93
93
|
}
|
|
94
94
|
function K(t, e) {
|
|
95
95
|
if (t.customRenderFormItem)
|
|
96
96
|
return () => {
|
|
97
|
-
const
|
|
98
|
-
return T(
|
|
97
|
+
const i = t.customRenderFormItem(t);
|
|
98
|
+
return T(i, {
|
|
99
99
|
...t.fieldProps,
|
|
100
100
|
span: t.span,
|
|
101
|
-
...
|
|
101
|
+
...i.props || {}
|
|
102
102
|
});
|
|
103
103
|
};
|
|
104
104
|
const n = O[t.valueType];
|
|
@@ -107,30 +107,30 @@ function K(t, e) {
|
|
|
107
107
|
const o = e == null ? void 0 : e[t.valueType];
|
|
108
108
|
return () => {
|
|
109
109
|
var r;
|
|
110
|
-
const
|
|
111
|
-
return
|
|
110
|
+
const i = (r = o == null ? void 0 : o.renderFormItem) == null ? void 0 : r.call(o, t.fieldProps.field);
|
|
111
|
+
return i ? u(I, a(t.fieldProps, {
|
|
112
112
|
span: t.span
|
|
113
|
-
}),
|
|
114
|
-
default: () => [
|
|
113
|
+
}), v(i) ? i : {
|
|
114
|
+
default: () => [i]
|
|
115
115
|
}) : null;
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
function W(t, e) {
|
|
119
|
-
const n = w(t.fieldProps, e), o = (n == null ? void 0 : n.field) || n || {},
|
|
119
|
+
const n = w(t.fieldProps, e), o = (n == null ? void 0 : n.field) || n || {}, i = t.valueType === "switch", r = t.valueType === "index", s = i ? {
|
|
120
120
|
checked: e.value
|
|
121
121
|
} : {
|
|
122
122
|
value: r ? e.index + 1 : e.value
|
|
123
123
|
};
|
|
124
124
|
return t.valueEnum && (o.valueEnum = t.valueEnum), {
|
|
125
|
-
...
|
|
126
|
-
...
|
|
125
|
+
...h(o, ["request"]),
|
|
126
|
+
...s
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
129
|
function X(t) {
|
|
130
130
|
const e = {
|
|
131
131
|
...t
|
|
132
132
|
};
|
|
133
|
-
return
|
|
133
|
+
return j(t.filters) && t.filters && t.valueEnum && (e.filters = p(t.valueEnum)), e;
|
|
134
134
|
}
|
|
135
135
|
function Y(t, e) {
|
|
136
136
|
var o;
|
|
@@ -156,14 +156,19 @@ function k(t, e, n) {
|
|
|
156
156
|
});
|
|
157
157
|
if (o && (o.length > 1 || o[0].children !== "v-if"))
|
|
158
158
|
return o;
|
|
159
|
-
const r =
|
|
159
|
+
const r = c(t.title) ? u("span", {
|
|
160
160
|
style: E,
|
|
161
161
|
title: t.title
|
|
162
|
-
}, [t.title]),
|
|
163
|
-
|
|
162
|
+
}, [t.title]) : t.title, s = t.tooltip ? c(t.tooltip) ? u(b, null, [t.tooltip]) : t.tooltip(t) : null, m = () => u("span", {
|
|
163
|
+
style: {
|
|
164
|
+
display: "inline-flex",
|
|
165
|
+
alignItems: "center"
|
|
166
|
+
}
|
|
167
|
+
}, [r, u(x, {
|
|
168
|
+
title: s,
|
|
164
169
|
placement: "bottom"
|
|
165
170
|
}, {
|
|
166
|
-
default: () => [
|
|
171
|
+
default: () => [u(N, {
|
|
167
172
|
style: {
|
|
168
173
|
padding: "4px",
|
|
169
174
|
color: n,
|
|
@@ -171,7 +176,7 @@ function k(t, e, n) {
|
|
|
171
176
|
}
|
|
172
177
|
}, null)]
|
|
173
178
|
})]);
|
|
174
|
-
return
|
|
179
|
+
return s ? m : r;
|
|
175
180
|
}
|
|
176
181
|
export {
|
|
177
182
|
X as apColumnToColumn,
|
|
@@ -5,7 +5,14 @@ type ApTagGroupSlots = {
|
|
|
5
5
|
tags: ApTagProps[];
|
|
6
6
|
}) => void;
|
|
7
7
|
};
|
|
8
|
-
declare function __VLS_template():
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
slots: Readonly<ApTagGroupSlots> & ApTagGroupSlots;
|
|
10
|
+
refs: {
|
|
11
|
+
container: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
16
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagGroupProps>, {
|
|
10
17
|
list: () => ApTagProps[];
|
|
11
18
|
space: number;
|
|
@@ -19,21 +26,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
19
26
|
space: number;
|
|
20
27
|
list: ApTagProps[];
|
|
21
28
|
}, {}>;
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
30
|
export default _default;
|
|
24
31
|
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[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] & {
|
|
26
33
|
default: D[K];
|
|
27
34
|
}> : P[K];
|
|
28
35
|
};
|
|
29
|
-
type __VLS_Prettify<T> = {
|
|
30
|
-
[K in keyof T]: T[K];
|
|
31
|
-
} & {};
|
|
32
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
36
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
37
|
type __VLS_TypePropsToOption<T> = {
|
|
39
38
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -43,3 +42,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
43
42
|
required: true;
|
|
44
43
|
};
|
|
45
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
|
+
} & {};
|
|
@@ -10,18 +10,15 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
}>>>, {
|
|
12
12
|
size: "small" | "middle" | "large";
|
|
13
|
-
disabled: boolean;
|
|
14
13
|
color: string;
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
}, {}>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
18
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
19
19
|
default: D[K];
|
|
20
20
|
}> : P[K];
|
|
21
21
|
};
|
|
22
|
-
type __VLS_Prettify<T> = {
|
|
23
|
-
[K in keyof T]: T[K];
|
|
24
|
-
} & {};
|
|
25
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
23
|
type __VLS_TypePropsToOption<T> = {
|
|
27
24
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -31,3 +28,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
31
28
|
required: true;
|
|
32
29
|
};
|
|
33
30
|
};
|
|
31
|
+
type __VLS_PrettifyLocal<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { ComponentOptionsMixin, DefineComponent, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { ButtonProps } from './interface';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
slots: {
|
|
5
|
+
icon?(_: {}): any;
|
|
6
|
+
default?(_: any): 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<ButtonProps>, {
|
|
8
13
|
iconSize: number;
|
|
9
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
|
@@ -11,21 +16,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
11
16
|
}>>>, {
|
|
12
17
|
iconSize: number;
|
|
13
18
|
}, {}>;
|
|
14
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
20
|
export default _default;
|
|
16
21
|
type __VLS_WithDefaults<P, D> = {
|
|
17
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
18
23
|
default: D[K];
|
|
19
24
|
}> : P[K];
|
|
20
25
|
};
|
|
21
|
-
type __VLS_Prettify<T> = {
|
|
22
|
-
[K in keyof T]: T[K];
|
|
23
|
-
} & {};
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
26
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
27
|
type __VLS_TypePropsToOption<T> = {
|
|
31
28
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -35,3 +32,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
35
32
|
required: true;
|
|
36
33
|
};
|
|
37
34
|
};
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_PrettifyLocal<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
@@ -8,17 +8,17 @@ export declare const BaseButton: {
|
|
|
8
8
|
onClick: {
|
|
9
9
|
type: PropType<() => void>;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
type: PropType<
|
|
13
|
-
};
|
|
14
|
-
disabled: {
|
|
15
|
-
type: PropType<boolean>;
|
|
11
|
+
color: {
|
|
12
|
+
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
16
13
|
};
|
|
17
14
|
text: {
|
|
18
15
|
type: PropType<string>;
|
|
19
16
|
};
|
|
20
|
-
|
|
21
|
-
type: PropType<
|
|
17
|
+
disabled: {
|
|
18
|
+
type: PropType<boolean>;
|
|
19
|
+
};
|
|
20
|
+
loading: {
|
|
21
|
+
type: PropType<boolean>;
|
|
22
22
|
};
|
|
23
23
|
preIcon: {
|
|
24
24
|
type: PropType<string>;
|
|
@@ -34,17 +34,17 @@ export declare const BaseButton: {
|
|
|
34
34
|
onClick: {
|
|
35
35
|
type: PropType<() => void>;
|
|
36
36
|
};
|
|
37
|
-
|
|
38
|
-
type: PropType<
|
|
39
|
-
};
|
|
40
|
-
disabled: {
|
|
41
|
-
type: PropType<boolean>;
|
|
37
|
+
color: {
|
|
38
|
+
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
42
39
|
};
|
|
43
40
|
text: {
|
|
44
41
|
type: PropType<string>;
|
|
45
42
|
};
|
|
46
|
-
|
|
47
|
-
type: PropType<
|
|
43
|
+
disabled: {
|
|
44
|
+
type: PropType<boolean>;
|
|
45
|
+
};
|
|
46
|
+
loading: {
|
|
47
|
+
type: PropType<boolean>;
|
|
48
48
|
};
|
|
49
49
|
preIcon: {
|
|
50
50
|
type: PropType<string>;
|
|
@@ -69,17 +69,17 @@ export declare const BaseButton: {
|
|
|
69
69
|
onClick: {
|
|
70
70
|
type: PropType<() => void>;
|
|
71
71
|
};
|
|
72
|
-
|
|
73
|
-
type: PropType<
|
|
74
|
-
};
|
|
75
|
-
disabled: {
|
|
76
|
-
type: PropType<boolean>;
|
|
72
|
+
color: {
|
|
73
|
+
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
77
74
|
};
|
|
78
75
|
text: {
|
|
79
76
|
type: PropType<string>;
|
|
80
77
|
};
|
|
81
|
-
|
|
82
|
-
type: PropType<
|
|
78
|
+
disabled: {
|
|
79
|
+
type: PropType<boolean>;
|
|
80
|
+
};
|
|
81
|
+
loading: {
|
|
82
|
+
type: PropType<boolean>;
|
|
83
83
|
};
|
|
84
84
|
preIcon: {
|
|
85
85
|
type: PropType<string>;
|
|
@@ -101,17 +101,17 @@ export declare const BaseButton: {
|
|
|
101
101
|
onClick: {
|
|
102
102
|
type: PropType<() => void>;
|
|
103
103
|
};
|
|
104
|
-
|
|
105
|
-
type: PropType<
|
|
106
|
-
};
|
|
107
|
-
disabled: {
|
|
108
|
-
type: PropType<boolean>;
|
|
104
|
+
color: {
|
|
105
|
+
type: PropType<"error" | "success" | "warning" | "primary">;
|
|
109
106
|
};
|
|
110
107
|
text: {
|
|
111
108
|
type: PropType<string>;
|
|
112
109
|
};
|
|
113
|
-
|
|
114
|
-
type: PropType<
|
|
110
|
+
disabled: {
|
|
111
|
+
type: PropType<boolean>;
|
|
112
|
+
};
|
|
113
|
+
loading: {
|
|
114
|
+
type: PropType<boolean>;
|
|
115
115
|
};
|
|
116
116
|
preIcon: {
|
|
117
117
|
type: PropType<string>;
|
|
@@ -125,7 +125,7 @@ export declare const BaseButton: {
|
|
|
125
125
|
};
|
|
126
126
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
127
127
|
iconSize: number;
|
|
128
|
-
}, {}, string, {}> &
|
|
128
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
129
129
|
$slots: {
|
|
130
130
|
icon?(_: {}): any;
|
|
131
131
|
default?(_: any): any;
|
|
@@ -134,4 +134,4 @@ export declare const BaseButton: {
|
|
|
134
134
|
$props: {
|
|
135
135
|
onClick?: () => void;
|
|
136
136
|
};
|
|
137
|
-
}))
|
|
137
|
+
}));
|
package/es/src/basic/index.d.ts
CHANGED
|
@@ -123,11 +123,11 @@ export declare const BasicHelp: {
|
|
|
123
123
|
fontSize: string;
|
|
124
124
|
maxWidth: string;
|
|
125
125
|
showIndex: boolean;
|
|
126
|
-
}, {}, string, {}> &
|
|
126
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
127
127
|
$props: {
|
|
128
128
|
onClick?: () => void;
|
|
129
129
|
};
|
|
130
|
-
}))
|
|
130
|
+
}));
|
|
131
131
|
export declare const BasicTitle: {
|
|
132
132
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
133
133
|
span: {
|
|
@@ -190,7 +190,7 @@ export declare const BasicTitle: {
|
|
|
190
190
|
};
|
|
191
191
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
192
192
|
helpMessage: string | string[];
|
|
193
|
-
}, {}, string, {}> &
|
|
193
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
194
194
|
$slots: {
|
|
195
195
|
default?(_: {}): any;
|
|
196
196
|
};
|
|
@@ -198,7 +198,7 @@ export declare const BasicTitle: {
|
|
|
198
198
|
$props: {
|
|
199
199
|
onClick?: () => void;
|
|
200
200
|
};
|
|
201
|
-
}))
|
|
201
|
+
}));
|
|
202
202
|
export declare const BasicArrow: {
|
|
203
203
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
204
204
|
expand: {
|
|
@@ -263,8 +263,8 @@ export declare const BasicArrow: {
|
|
|
263
263
|
inset: {
|
|
264
264
|
type: PropType<boolean>;
|
|
265
265
|
};
|
|
266
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> &
|
|
266
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
267
267
|
$props: {
|
|
268
268
|
onClick?: () => void;
|
|
269
269
|
};
|
|
270
|
-
}))
|
|
270
|
+
}));
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { BasicTitleProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
5
9
|
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
6
11
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BasicTitleProps>, {
|
|
7
12
|
helpMessage: string;
|
|
8
13
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BasicTitleProps>, {
|
|
@@ -10,21 +15,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
10
15
|
}>>>, {
|
|
11
16
|
helpMessage: string | string[];
|
|
12
17
|
}, {}>;
|
|
13
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
19
|
export default _default;
|
|
15
20
|
type __VLS_WithDefaults<P, D> = {
|
|
16
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
21
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
17
22
|
default: D[K];
|
|
18
23
|
}> : P[K];
|
|
19
24
|
};
|
|
20
|
-
type __VLS_Prettify<T> = {
|
|
21
|
-
[K in keyof T]: T[K];
|
|
22
|
-
} & {};
|
|
23
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
-
new (): {
|
|
25
|
-
$slots: S;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
26
|
type __VLS_TypePropsToOption<T> = {
|
|
30
27
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -34,3 +31,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
34
31
|
required: true;
|
|
35
32
|
};
|
|
36
33
|
};
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_PrettifyLocal<T> = {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} & {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ApBatchActionProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
slots: {
|
|
5
|
+
prefix?(_: {}): any;
|
|
6
|
+
suffix?(_: {}): 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_TypePropsToOption<ApBatchActionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ApBatchActionProps>>>, {}, {}>;
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
9
14
|
export default _default;
|
|
10
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
-
new (): {
|
|
12
|
-
$slots: S;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
16
|
type __VLS_TypePropsToOption<T> = {
|
|
17
17
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -21,3 +21,8 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,65 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { ApImageProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApImageProps>, {
|
|
4
|
+
preview: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApImageProps>, {
|
|
6
|
+
preview: boolean;
|
|
7
|
+
}>>>, {
|
|
8
|
+
preview: boolean | {
|
|
9
|
+
visible?: boolean;
|
|
10
|
+
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
11
|
+
getContainer: string | HTMLElement | (() => HTMLElement);
|
|
12
|
+
src?: string;
|
|
13
|
+
maskClassName?: string;
|
|
14
|
+
current?: number;
|
|
13
15
|
};
|
|
14
|
-
rootClassName: StringConstructor;
|
|
15
|
-
prefixCls: StringConstructor;
|
|
16
|
-
previewPrefixCls: StringConstructor;
|
|
17
|
-
previewMask: {
|
|
18
|
-
type: PropType<false | (() => any)>;
|
|
19
|
-
default: any;
|
|
20
|
-
};
|
|
21
|
-
placeholder: VueTypeValidableDef<any>;
|
|
22
|
-
fallback: StringConstructor;
|
|
23
|
-
preview: {
|
|
24
|
-
type: PropType<boolean | ImagePreviewType>;
|
|
25
|
-
default: boolean | ImagePreviewType;
|
|
26
|
-
};
|
|
27
|
-
onClick: {
|
|
28
|
-
type: PropType< MouseEventHandler>;
|
|
29
|
-
};
|
|
30
|
-
onError: {
|
|
31
|
-
type: PropType<OnErrorEventHandlerNonNull>;
|
|
32
|
-
};
|
|
33
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
34
|
-
getOssAccess: PropType<() => Promise<accessCreate>>;
|
|
35
|
-
src: StringConstructor;
|
|
36
|
-
wrapperClassName: StringConstructor;
|
|
37
|
-
wrapperStyle: {
|
|
38
|
-
type: PropType< CSSProperties>;
|
|
39
|
-
default: CSSProperties;
|
|
40
|
-
};
|
|
41
|
-
rootClassName: StringConstructor;
|
|
42
|
-
prefixCls: StringConstructor;
|
|
43
|
-
previewPrefixCls: StringConstructor;
|
|
44
|
-
previewMask: {
|
|
45
|
-
type: PropType<false | (() => any)>;
|
|
46
|
-
default: any;
|
|
47
|
-
};
|
|
48
|
-
placeholder: VueTypeValidableDef<any>;
|
|
49
|
-
fallback: StringConstructor;
|
|
50
|
-
preview: {
|
|
51
|
-
type: PropType<boolean | ImagePreviewType>;
|
|
52
|
-
default: boolean | ImagePreviewType;
|
|
53
|
-
};
|
|
54
|
-
onClick: {
|
|
55
|
-
type: PropType< MouseEventHandler>;
|
|
56
|
-
};
|
|
57
|
-
onError: {
|
|
58
|
-
type: PropType<OnErrorEventHandlerNonNull>;
|
|
59
|
-
};
|
|
60
|
-
}>>, {
|
|
61
|
-
preview: boolean | ImagePreviewType;
|
|
62
|
-
wrapperStyle: CSSProperties;
|
|
63
|
-
previewMask: false | (() => any);
|
|
64
16
|
}, {}>;
|
|
65
17
|
export default _default;
|
|
18
|
+
type __VLS_WithDefaults<P, D> = {
|
|
19
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
20
|
+
default: D[K];
|
|
21
|
+
}> : P[K];
|
|
22
|
+
};
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToOption<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
type __VLS_PrettifyLocal<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|