@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 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/utils");require("./title/ApTitle.vue.js");require("./expandAlert/ApExpandAlert.vue.js");const t=require("./ap-label/ApLabel.js"),u=require("./ap-label/ApLabelGroup.js");require("./ap-status/ApStatus.vue.js");require("./ap-status/ApStatusGroup.vue.js");require("./ap-select-layout/select-layout.vue.js");require("./ap-export-group/ApExportGroup.vue.js");require("./ap-input-radio/ApInputRadio.vue.js");require("./ap-batch-action/ApBatchAction.vue.js");require("./ap-batch-action-group/ApBatchActionGroup.vue.js");require("./ap-image/ApImage.vue.js");const r=require("../utils/ap-trans-data/index.js");require("./ap-batch-action-group/interface.js");const p=require("./title/ApTitle.vue2.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/utils");require("./title/ApTitle.vue.js");require("./expandAlert/ApExpandAlert.vue.js");const t=require("./ap-label/ApLabel.js"),u=require("./ap-label/ApLabelGroup.js");require("./ap-status/ApStatus.vue.js");require("./ap-status/ApStatusGroup.vue.js");require("./ap-select-layout/select-layout.vue.js");require("./ap-export-group/ApExportGroup.vue.js");require("./ap-input-radio/ApInputRadio.vue.js");require("./ap-batch-action/ApBatchAction.vue.js");require("./ap-batch-action-group/ApBatchActionGroup.vue.js");require("./ap-image/ApImage.vue.js");const r=require("../utils/ap-trans-data/index.js");require("./ap-batch-action-group/interface.js");const p=require("./ap-table-modal/index.js"),_=require("./title/ApTitle.vue2.js"),a=require("./expandAlert/ApExpandAlert.vue2.js"),s=require("./ap-status/ApStatus.vue2.js"),n=require("./ap-status/ApStatusGroup.vue2.js"),o=require("./ap-select-layout/select-layout.vue2.js"),i=require("./ap-export-group/ApExportGroup.vue2.js"),l=require("./ap-input-radio/ApInputRadio.vue2.js"),c=require("./ap-batch-action/ApBatchAction.vue2.js"),A=require("./ap-batch-action-group/ApBatchActionGroup.vue2.js"),q=require("./ap-image/ApImage.vue2.js"),d=e.withInstall(_.default),v=a.default,f=e.withInstall(t.default),g=e.withInstall(s.default),y=e.withInstall(n.default),h=e.withInstall(o.default),G=e.withInstall(i.default),I=l.default,S=c.default,b=u.default,L=A.default,x=q.default;exports.ApTransformDataHelper=r.ApTransformDataHelper;exports.ApTableModal=p.default;exports.ApBatchAction=S;exports.ApBatchActionGroup=L;exports.ApExpandAlert=v;exports.ApExportGroup=G;exports.ApImage=x;exports.ApInputRadio=I;exports.ApLabel=f;exports.ApLabelGroup=b;exports.ApSelectLayout=h;exports.ApStatus=g;exports.ApStatusGroup=y;exports.ApTitle=d;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { ApTitleProps } 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_WithDefaults<__VLS_TypePropsToOption<ApTitleProps>, {
|
|
8
13
|
title: string;
|
|
9
14
|
helpMessage: string;
|
|
@@ -23,21 +28,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
23
28
|
helpMessage: string;
|
|
24
29
|
helpIconColor: string;
|
|
25
30
|
}, {}>;
|
|
26
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
32
|
export default _default;
|
|
28
33
|
type __VLS_WithDefaults<P, D> = {
|
|
29
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
30
35
|
default: D[K];
|
|
31
36
|
}> : P[K];
|
|
32
37
|
};
|
|
33
|
-
type __VLS_Prettify<T> = {
|
|
34
|
-
[K in keyof T]: T[K];
|
|
35
|
-
} & {};
|
|
36
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
-
new (): {
|
|
38
|
-
$slots: S;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
38
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
39
|
type __VLS_TypePropsToOption<T> = {
|
|
43
40
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -47,3 +44,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
47
44
|
required: true;
|
|
48
45
|
};
|
|
49
46
|
};
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_PrettifyLocal<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
@@ -4,16 +4,16 @@ type ButtonProps = {
|
|
|
4
4
|
size?: string;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
-
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
attrs: Partial<{}>;
|
|
8
12
|
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
14
|
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<ButtonProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ButtonProps>>>, {}, {}>;
|
|
10
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
16
|
export default _default;
|
|
12
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
-
new (): {
|
|
14
|
-
$slots: S;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
18
|
type __VLS_TypePropsToOption<T> = {
|
|
19
19
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -23,3 +23,8 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -39,7 +39,7 @@ export declare const Button: {
|
|
|
39
39
|
size: {
|
|
40
40
|
type: PropType<string>;
|
|
41
41
|
};
|
|
42
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> &
|
|
42
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
43
43
|
$slots: {
|
|
44
44
|
default?(_: {}): any;
|
|
45
45
|
};
|
|
@@ -47,5 +47,5 @@ export declare const Button: {
|
|
|
47
47
|
$props: {
|
|
48
48
|
onClick?: () => void;
|
|
49
49
|
};
|
|
50
|
-
}))
|
|
50
|
+
}));
|
|
51
51
|
export default Button;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { CheckCardGroupProps, CheckCardValueType } 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<CheckCardGroupProps>, {
|
|
7
12
|
value: undefined;
|
|
8
13
|
multiple: boolean;
|
|
@@ -28,28 +33,20 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
28
33
|
}, {
|
|
29
34
|
size: "middle" | "small";
|
|
30
35
|
value: CheckCardValueType | CheckCardValueType[];
|
|
31
|
-
|
|
36
|
+
multiple: boolean;
|
|
32
37
|
disabled: boolean;
|
|
38
|
+
loading: boolean;
|
|
33
39
|
defaultValue: CheckCardValueType | CheckCardValueType[];
|
|
34
40
|
bordered: boolean;
|
|
35
|
-
multiple: boolean;
|
|
36
41
|
stopPropagation: boolean | ((event: MouseEvent) => boolean);
|
|
37
42
|
}, {}>;
|
|
38
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
43
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
44
|
export default _default;
|
|
40
45
|
type __VLS_WithDefaults<P, D> = {
|
|
41
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
46
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
42
47
|
default: D[K];
|
|
43
48
|
}> : P[K];
|
|
44
49
|
};
|
|
45
|
-
type __VLS_Prettify<T> = {
|
|
46
|
-
[K in keyof T]: T[K];
|
|
47
|
-
} & {};
|
|
48
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
49
|
-
new (): {
|
|
50
|
-
$slots: S;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
50
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
51
|
type __VLS_TypePropsToOption<T> = {
|
|
55
52
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -59,3 +56,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
59
56
|
required: true;
|
|
60
57
|
};
|
|
61
58
|
};
|
|
59
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
60
|
+
new (): {
|
|
61
|
+
$slots: S;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
type __VLS_PrettifyLocal<T> = {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} & {};
|
|
@@ -5,7 +5,12 @@ type CheckCardSlots = {
|
|
|
5
5
|
checked: boolean;
|
|
6
6
|
}): void;
|
|
7
7
|
};
|
|
8
|
-
declare function __VLS_template():
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
slots: Readonly<CheckCardSlots> & CheckCardSlots;
|
|
10
|
+
refs: {};
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
14
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CheckCardProps>, {
|
|
10
15
|
bordered: boolean;
|
|
11
16
|
size: string;
|
|
@@ -29,21 +34,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
29
34
|
checked: boolean;
|
|
30
35
|
stopPropagation: boolean | ((event: MouseEvent) => boolean);
|
|
31
36
|
}, {}>;
|
|
32
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
38
|
export default _default;
|
|
34
39
|
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
36
41
|
default: D[K];
|
|
37
42
|
}> : P[K];
|
|
38
43
|
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
42
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
-
new (): {
|
|
44
|
-
$slots: S;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
44
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
45
|
type __VLS_TypePropsToOption<T> = {
|
|
49
46
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -53,3 +50,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
53
50
|
required: true;
|
|
54
51
|
};
|
|
55
52
|
};
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
type __VLS_PrettifyLocal<T> = {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} & {};
|
|
@@ -3,10 +3,12 @@ import { LocaleType } from '../locale/interface';
|
|
|
3
3
|
import { ApiType, ScrollbarGlobalConfig, TableDefaultConfig, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig } from './constants';
|
|
4
4
|
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
5
5
|
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
6
|
-
import { CSPConfig
|
|
6
|
+
import { CSPConfig } from 'ant-design-vue/es/config-provider';
|
|
7
7
|
import { Locale } from 'ant-design-vue/es/locale';
|
|
8
|
+
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
8
9
|
import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
9
10
|
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
11
|
+
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
10
12
|
export declare const configProviderProps: () => {
|
|
11
13
|
iconPrefixCls: StringConstructor;
|
|
12
14
|
getTargetContainer: {
|
|
@@ -54,7 +56,7 @@ export declare const configProviderProps: () => {
|
|
|
54
56
|
};
|
|
55
57
|
};
|
|
56
58
|
componentSize: {
|
|
57
|
-
type: PropType<
|
|
59
|
+
type: PropType< ButtonSize>;
|
|
58
60
|
};
|
|
59
61
|
componentDisabled: {
|
|
60
62
|
type: BooleanConstructor;
|
|
@@ -66,10 +68,10 @@ export declare const configProviderProps: () => {
|
|
|
66
68
|
};
|
|
67
69
|
space: {
|
|
68
70
|
type: PropType<{
|
|
69
|
-
size?:
|
|
71
|
+
size?: ButtonSize | number;
|
|
70
72
|
}>;
|
|
71
73
|
default: {
|
|
72
|
-
size?:
|
|
74
|
+
size?: ButtonSize | number;
|
|
73
75
|
};
|
|
74
76
|
};
|
|
75
77
|
virtual: {
|
|
@@ -321,6 +321,11 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
321
321
|
requiredMark?: RequiredMark;
|
|
322
322
|
colon?: boolean;
|
|
323
323
|
};
|
|
324
|
+
space: {
|
|
325
|
+
size?: ButtonSize | number;
|
|
326
|
+
};
|
|
327
|
+
scrollbar: ScrollbarGlobalConfig;
|
|
328
|
+
direction: "ltr" | "rtl";
|
|
324
329
|
csp: CSPConfig;
|
|
325
330
|
autoInsertSpaceInButton: boolean;
|
|
326
331
|
locale: Locale;
|
|
@@ -328,10 +333,6 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
328
333
|
ghost?: boolean;
|
|
329
334
|
};
|
|
330
335
|
componentDisabled: boolean;
|
|
331
|
-
direction: "ltr" | "rtl";
|
|
332
|
-
space: {
|
|
333
|
-
size?: ButtonSize | number;
|
|
334
|
-
};
|
|
335
336
|
virtual: boolean;
|
|
336
337
|
dropdownMatchSelectWidth: number | boolean;
|
|
337
338
|
pagination: {
|
|
@@ -343,7 +344,6 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
343
344
|
};
|
|
344
345
|
namespace: string;
|
|
345
346
|
api: ApiType;
|
|
346
|
-
scrollbar: ScrollbarGlobalConfig;
|
|
347
347
|
uiMode: "aplus" | "admin";
|
|
348
348
|
apUpload: ApUploadConfig;
|
|
349
349
|
apDescriptions: ApDescriptionsConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),u=require("ant-design-vue"),c=require("./hooks/use-global-config.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),u=require("ant-design-vue"),c=require("./hooks/use-global-config.js"),d=require("./config-provider-props.js"),s=require("./constants.js"),f=require("../utils/config-provider-preset.js"),a=require("../theme/css-var/index.js");function g(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!o.isVNode(e)}const n=o.ref({}),v=o.defineComponent({name:"AplusConfigProvider",props:d.configProviderProps(),setup(e,{slots:r}){const l=o.computed(()=>({namespace:e.namespace,aplusLocale:e.aplusLocale,api:e.api,table:{...s.tableDefaultConfig,...e.table||{}},scrollbar:e.scrollbar,uiMode:e.uiMode,apUpload:e.apUpload,apDescriptions:e.apDescriptions,valueTypeMap:e.valueTypeMap})),i=c.provideGlobalConfig(l);return o.watch(()=>e,t=>{n.value=f.mergeAntdProvideConfig(t)},{deep:!0,immediate:!0}),typeof window<"u"&&o.watch(()=>e.uiMode,t=>{a.setCSSVariables(t==="aplus"?a.aplusCssVar:a.adminCssVar)},{immediate:!0}),()=>{let t;return o.createVNode(u.ConfigProvider,n.value,g(t=o.renderSlot(r,"default",{config:i==null?void 0:i.value}))?t:{default:()=>[t]})}}});exports.ConfigProvider=v;exports.globalConfigCached=n;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MaybeRef } from '@aplus-frontend/utils';
|
|
2
2
|
import { App, Ref, ComputedRef, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
import { ConfigProviderContext
|
|
3
|
+
import { ConfigProviderContext } from '../constants';
|
|
4
4
|
import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
|
|
5
5
|
import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
|
|
6
6
|
import { CSPConfig } from 'ant-design-vue/es/config-provider';
|
|
@@ -10,6 +10,7 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
|
10
10
|
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
|
11
11
|
import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
|
|
12
12
|
import { LocaleType } from '../..';
|
|
13
|
+
import { ApiType, TableDefaultConfig, ScrollbarGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig } from '..';
|
|
13
14
|
export declare const keysOf: <T extends Record<string, any>>(arr: T) => Array<keyof T>;
|
|
14
15
|
export declare function useGlobalConfig<K extends keyof ConfigProviderContext, D extends ConfigProviderContext[K]>(key: K, defaultValue?: D): Ref<Exclude<ConfigProviderContext[K], undefined> | D>;
|
|
15
16
|
export declare function useGlobalConfig(): Ref<ConfigProviderContext>;
|
|
@@ -326,6 +326,11 @@ export declare const APConfigProvider: {
|
|
|
326
326
|
requiredMark?: RequiredMark;
|
|
327
327
|
colon?: boolean;
|
|
328
328
|
};
|
|
329
|
+
space: {
|
|
330
|
+
size?: ButtonSize | number;
|
|
331
|
+
};
|
|
332
|
+
scrollbar: ScrollbarGlobalConfig;
|
|
333
|
+
direction: "ltr" | "rtl";
|
|
329
334
|
csp: CSPConfig;
|
|
330
335
|
autoInsertSpaceInButton: boolean;
|
|
331
336
|
locale: Locale;
|
|
@@ -333,10 +338,6 @@ export declare const APConfigProvider: {
|
|
|
333
338
|
ghost?: boolean;
|
|
334
339
|
};
|
|
335
340
|
componentDisabled: boolean;
|
|
336
|
-
direction: "ltr" | "rtl";
|
|
337
|
-
space: {
|
|
338
|
-
size?: ButtonSize | number;
|
|
339
|
-
};
|
|
340
341
|
virtual: boolean;
|
|
341
342
|
dropdownMatchSelectWidth: number | boolean;
|
|
342
343
|
pagination: {
|
|
@@ -348,7 +349,6 @@ export declare const APConfigProvider: {
|
|
|
348
349
|
};
|
|
349
350
|
namespace: string;
|
|
350
351
|
api: ApiType;
|
|
351
|
-
scrollbar: ScrollbarGlobalConfig;
|
|
352
352
|
uiMode: "aplus" | "admin";
|
|
353
353
|
apUpload: ApUploadConfig;
|
|
354
354
|
apDescriptions: ApDescriptionsConfig;
|
|
@@ -521,6 +521,11 @@ export declare const APConfigProvider: {
|
|
|
521
521
|
requiredMark?: RequiredMark;
|
|
522
522
|
colon?: boolean;
|
|
523
523
|
};
|
|
524
|
+
space: {
|
|
525
|
+
size?: ButtonSize | number;
|
|
526
|
+
};
|
|
527
|
+
scrollbar: ScrollbarGlobalConfig;
|
|
528
|
+
direction: "ltr" | "rtl";
|
|
524
529
|
csp: CSPConfig;
|
|
525
530
|
autoInsertSpaceInButton: boolean;
|
|
526
531
|
locale: Locale;
|
|
@@ -528,10 +533,6 @@ export declare const APConfigProvider: {
|
|
|
528
533
|
ghost?: boolean;
|
|
529
534
|
};
|
|
530
535
|
componentDisabled: boolean;
|
|
531
|
-
direction: "ltr" | "rtl";
|
|
532
|
-
space: {
|
|
533
|
-
size?: ButtonSize | number;
|
|
534
|
-
};
|
|
535
536
|
virtual: boolean;
|
|
536
537
|
dropdownMatchSelectWidth: number | boolean;
|
|
537
538
|
pagination: {
|
|
@@ -543,7 +544,6 @@ export declare const APConfigProvider: {
|
|
|
543
544
|
};
|
|
544
545
|
namespace: string;
|
|
545
546
|
api: ApiType;
|
|
546
|
-
scrollbar: ScrollbarGlobalConfig;
|
|
547
547
|
uiMode: "aplus" | "admin";
|
|
548
548
|
apUpload: ApUploadConfig;
|
|
549
549
|
apDescriptions: ApDescriptionsConfig;
|
|
@@ -713,6 +713,11 @@ export declare const APConfigProvider: {
|
|
|
713
713
|
requiredMark?: RequiredMark;
|
|
714
714
|
colon?: boolean;
|
|
715
715
|
};
|
|
716
|
+
space: {
|
|
717
|
+
size?: ButtonSize | number;
|
|
718
|
+
};
|
|
719
|
+
scrollbar: ScrollbarGlobalConfig;
|
|
720
|
+
direction: "ltr" | "rtl";
|
|
716
721
|
csp: CSPConfig;
|
|
717
722
|
autoInsertSpaceInButton: boolean;
|
|
718
723
|
locale: Locale;
|
|
@@ -720,10 +725,6 @@ export declare const APConfigProvider: {
|
|
|
720
725
|
ghost?: boolean;
|
|
721
726
|
};
|
|
722
727
|
componentDisabled: boolean;
|
|
723
|
-
direction: "ltr" | "rtl";
|
|
724
|
-
space: {
|
|
725
|
-
size?: ButtonSize | number;
|
|
726
|
-
};
|
|
727
728
|
virtual: boolean;
|
|
728
729
|
dropdownMatchSelectWidth: number | boolean;
|
|
729
730
|
pagination: {
|
|
@@ -735,14 +736,13 @@ export declare const APConfigProvider: {
|
|
|
735
736
|
};
|
|
736
737
|
namespace: string;
|
|
737
738
|
api: ApiType;
|
|
738
|
-
scrollbar: ScrollbarGlobalConfig;
|
|
739
739
|
uiMode: "aplus" | "admin";
|
|
740
740
|
apUpload: ApUploadConfig;
|
|
741
741
|
apDescriptions: ApDescriptionsConfig;
|
|
742
742
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
743
|
-
}, {}, string, {}> &
|
|
743
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
744
744
|
$props: {
|
|
745
745
|
onClick?: () => void;
|
|
746
746
|
};
|
|
747
|
-
}))
|
|
747
|
+
}));
|
|
748
748
|
export default APConfigProvider;
|
|
@@ -37,7 +37,7 @@ export declare const ScrollContainer: {
|
|
|
37
37
|
}>>, {
|
|
38
38
|
scrollTo: (to: number, duration?: number) => void;
|
|
39
39
|
scrollBottom: () => void;
|
|
40
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> &
|
|
40
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
41
41
|
$slots: {
|
|
42
42
|
default?(_: {}): any;
|
|
43
43
|
};
|
|
@@ -45,7 +45,7 @@ export declare const ScrollContainer: {
|
|
|
45
45
|
$props: {
|
|
46
46
|
onClick?: () => void;
|
|
47
47
|
};
|
|
48
|
-
}))
|
|
48
|
+
}));
|
|
49
49
|
export declare const CollapseContainer: {
|
|
50
50
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
51
51
|
title: {
|
|
@@ -171,8 +171,8 @@ export declare const CollapseContainer: {
|
|
|
171
171
|
canExpand: boolean;
|
|
172
172
|
triggerWindowResize: boolean;
|
|
173
173
|
lazyTime: number;
|
|
174
|
-
}, {}, string, {}> &
|
|
174
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
175
175
|
$props: {
|
|
176
176
|
onClick?: () => void;
|
|
177
177
|
};
|
|
178
|
-
}))
|
|
178
|
+
}));
|
|
@@ -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
|
+
};
|