@aplus-frontend/ui 0.1.21 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +176 -170
- package/es/src/ap-action/group/index.vue.d.ts +7 -6
- package/es/src/ap-action/item/index.vue.d.ts +20 -14
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
- package/es/src/ap-action/item-modal/index.vue.d.ts +20 -14
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
- package/es/src/ap-custom-column/column-select.vue.mjs +47 -46
- package/es/src/ap-custom-column/custom-column.vue.mjs +36 -35
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
- package/es/src/ap-download/ap-download.vue.d.ts +17 -12
- package/es/src/ap-field/checkbox/index.vue.d.ts +6 -5
- package/es/src/ap-field/date/index.vue.d.ts +18 -12
- package/es/src/ap-field/date-range/index.vue.d.ts +25 -19
- package/es/src/ap-field/number/index.vue.d.ts +459 -12
- package/es/src/ap-field/radio/index.vue.d.ts +6 -5
- package/es/src/ap-field/rate/index.vue.d.ts +138 -16
- package/es/src/ap-field/segmented/index.vue.d.ts +25 -19
- package/es/src/ap-field/select/index.vue.d.ts +597 -16
- package/es/src/ap-field/select/index.vue.mjs +1 -1
- package/es/src/ap-field/slider/index.vue.d.ts +375 -12
- package/es/src/ap-field/switch/index.vue.d.ts +16 -11
- package/es/src/ap-field/text/index.vue.d.ts +19 -13
- package/es/src/ap-field/text/password.vue.d.ts +19 -13
- package/es/src/ap-field/text-area/index.vue.d.ts +7 -6
- package/es/src/ap-field/text-area/index.vue.mjs +1 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
- package/es/src/ap-form/ap-form-item.vue.d.ts +1008 -12
- package/es/src/ap-form/ap-form-item.vue.mjs +47 -44
- package/es/src/ap-form/ap-form-list.vue.d.ts +12 -7
- package/es/src/ap-form/ap-form.vue.d.ts +884 -13
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
- package/es/src/ap-form/items/date/index.vue.d.ts +40 -35
- package/es/src/ap-form/items/date-range/index.vue.d.ts +39 -34
- package/es/src/ap-form/items/number/index.vue.d.ts +583 -27
- package/es/src/ap-form/items/radio/index.vue.d.ts +217 -13
- package/es/src/ap-form/items/select/index.vue.d.ts +43 -38
- package/es/src/ap-form/items/switch/index.vue.d.ts +24 -19
- package/es/src/ap-form/items/text/index.vue.d.ts +591 -25
- package/es/src/ap-form/items/text/password.vue.d.ts +658 -27
- package/es/src/ap-form/items/text-area/index.vue.d.ts +486 -13
- package/es/src/ap-form/modal-form/index.vue.d.ts +650 -16
- package/es/src/ap-form/search-form/index.vue.d.ts +652 -18
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
- package/es/src/ap-list/index.vue.d.ts +5 -5
- package/es/src/ap-modal/utils/createModal.mjs +4 -4
- package/es/src/ap-table/ap-table.vue.d.ts +5 -5
- package/es/src/ap-table/ap-table.vue.mjs +202 -198
- package/es/src/ap-table/components/index/index.vue.d.ts +4 -4
- package/es/src/ap-table/constants.d.ts +1071 -1072
- package/es/src/ap-table/hooks/use-table-paging.d.ts +2 -1
- package/es/src/ap-table/interface.d.ts +1 -1
- package/es/src/ap-table/style/ap-table.css +3 -0
- package/es/src/ap-table/utils.d.ts +586 -587
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
- package/es/src/ap-tag/ap-tag.vue.d.ts +5 -5
- package/es/src/base-button/button.vue.d.ts +17 -12
- package/es/src/base-button/index.d.ts +30 -30
- package/es/src/basic/index.d.ts +6 -6
- package/es/src/basic/title.vue.d.ts +16 -11
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
- package/es/src/business/ap-image/ApImage.vue.d.ts +22 -1
- package/es/src/business/ap-image/ApImage.vue2.mjs +23 -23
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
- package/es/src/business/ap-label/ApLabel.d.ts +2 -2
- package/es/src/business/ap-label/ApLabel.mjs +8 -7
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/es/src/business/ap-status/ApStatus.vue.d.ts +5 -5
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +41 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.mjs +29 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.mjs +28 -0
- package/es/src/business/ap-table-modal/index.d.ts +538 -0
- package/es/src/business/ap-table-modal/index.mjs +11 -0
- package/es/src/business/ap-table-modal/interface.d.ts +63 -0
- package/es/src/business/ap-table-modal/interface.mjs +4 -0
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
- package/es/src/business/ap-table-modal/modal-title.vue.mjs +4 -0
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +50 -0
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
- package/es/src/business/ap-table-modal/table-modal.vue.mjs +4 -0
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +177 -0
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
- package/es/src/business/index.d.ts +140 -131
- package/es/src/business/index.mjs +18 -16
- package/es/src/business/title/ApTitle.vue.d.ts +17 -12
- package/es/src/button/button.vue.d.ts +12 -7
- package/es/src/button/index.d.ts +2 -2
- package/es/src/check-card/group.vue.d.ts +18 -13
- package/es/src/check-card/index.vue.d.ts +16 -11
- package/es/src/config-provider/config-provider-props.d.ts +6 -4
- package/es/src/config-provider/config-provider.d.ts +5 -5
- package/es/src/config-provider/hooks/use-global-config.d.ts +2 -1
- package/es/src/config-provider/index.d.ts +17 -17
- package/es/src/container/index.d.ts +4 -4
- package/es/src/container/scroll-container.vue.d.ts +181 -8
- package/es/src/count-down/button.vue.d.ts +4 -4
- package/es/src/count-down/index.d.ts +8 -8
- package/es/src/count-down/input.vue.d.ts +16 -11
- package/es/src/cropper/cropper-avatar.vue.d.ts +4 -4
- package/es/src/cropper/cropper-image.vue.d.ts +4 -4
- package/es/src/cropper/index.d.ts +4 -4
- package/es/src/description/index.d.ts +2 -2
- package/es/src/dropdown/dropdown.vue.d.ts +16 -11
- package/es/src/dropdown/index.d.ts +2 -2
- package/es/src/editable-table/form-item.vue.d.ts +5 -5
- package/es/src/editable-table/form-item.vue.mjs +48 -48
- package/es/src/editable-table/hooks/use-get-columns.mjs +64 -56
- package/es/src/editable-table/index.vue.d.ts +6 -6
- package/es/src/editable-table/interface.d.ts +2 -2
- package/es/src/editable-table/utils.mjs +17 -17
- package/es/src/icon/icon.vue.d.ts +4 -5
- package/es/src/icon/index.d.ts +16 -16
- package/es/src/icon/svg-icon.vue.d.ts +4 -4
- package/es/src/icon-picker/icon-picker.vue.d.ts +4 -4
- package/es/src/icon-picker/index.d.ts +2 -2
- package/es/src/index.mjs +69 -63
- package/es/src/locale/lang/en.mjs +25 -0
- package/es/src/locale/lang/zh-cn.mjs +25 -0
- package/es/src/modal/basic.vue.d.ts +210 -5
- package/es/src/modal/components/modal-close.vue.d.ts +4 -4
- package/es/src/modal/components/modal-footer.vue.d.ts +10 -5
- package/es/src/modal/components/modal-wrapper.vue.d.ts +77 -4
- package/es/src/modal/components/modal.d.ts +1 -1
- package/es/src/modal/index.d.ts +5 -5
- package/es/src/pro-form/components/api-cascader.vue.d.ts +4 -4
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
- package/es/src/pro-form/components/api-select.vue.d.ts +16 -11
- package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
- package/es/src/pro-form/components/api-tree.vue.d.ts +16 -11
- package/es/src/pro-form/components/form-action.vue.d.ts +19 -14
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
- package/es/src/pro-form/hooks/use-label-width.d.ts +25 -25
- package/es/src/pro-form/pro-form.vue.d.ts +888 -15
- package/es/src/pro-form/table-form-inner.vue.d.ts +6 -5
- package/es/src/pro-form/table-form.vue.d.ts +6 -5
- package/es/src/pro-form/types/form.d.ts +4 -4
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/es/src/pro-table/components/table-action.vue.d.ts +7 -2
- package/es/src/pro-table/components/table-footer.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-header.vue.d.ts +9 -4
- package/es/src/pro-table/components/table-image.vue.d.ts +4 -4
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
- package/es/src/pro-table/pro-table.vue.d.ts +2049 -28
- package/es/src/prompt/utils.d.ts +1 -1
- package/es/src/scroll-bar/index.d.ts +2 -2
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
- package/es/src/strength-meter/index.d.ts +2 -2
- package/es/src/strength-meter/strength-meter.vue.d.ts +16 -11
- package/es/src/theme/antd-global-overwrite/admin/index.css +1 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +1 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +1 -0
- package/es/src/theme/antd-global-overwrite/aplus/table.css +1 -0
- package/es/src/theme/ap-table/ap-table.css +3 -0
- package/es/src/transition/collapse-transition.vue.d.ts +7 -2
- package/es/src/utils/config-provider-preset.d.ts +5 -5
- package/es/src/work-order-modal/createWorkOrder.mjs +20 -12
- package/es/src/work-order-modal/help-message.vue2.mjs +21 -18
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.mjs +64 -62
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +7 -6
- package/lib/src/ap-action/item/index.vue.d.ts +20 -14
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +21 -15
- package/lib/src/ap-action/item-modal/index.vue.d.ts +20 -14
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +20 -14
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +20 -15
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +12 -7
- package/lib/src/ap-download/ap-download.vue.d.ts +17 -12
- package/lib/src/ap-field/checkbox/index.vue.d.ts +6 -5
- package/lib/src/ap-field/date/index.vue.d.ts +18 -12
- package/lib/src/ap-field/date-range/index.vue.d.ts +25 -19
- package/lib/src/ap-field/number/index.vue.d.ts +459 -12
- package/lib/src/ap-field/radio/index.vue.d.ts +6 -5
- package/lib/src/ap-field/rate/index.vue.d.ts +138 -16
- package/lib/src/ap-field/segmented/index.vue.d.ts +25 -19
- package/lib/src/ap-field/select/index.vue.d.ts +597 -16
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +375 -12
- package/lib/src/ap-field/switch/index.vue.d.ts +16 -11
- package/lib/src/ap-field/text/index.vue.d.ts +19 -13
- package/lib/src/ap-field/text/password.vue.d.ts +19 -13
- package/lib/src/ap-field/text-area/index.vue.d.ts +7 -6
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -14
- package/lib/src/ap-form/ap-form-item.vue.d.ts +1008 -12
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-list.vue.d.ts +12 -7
- package/lib/src/ap-form/ap-form.vue.d.ts +884 -13
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -12
- package/lib/src/ap-form/items/date/index.vue.d.ts +40 -35
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +39 -34
- package/lib/src/ap-form/items/number/index.vue.d.ts +583 -27
- package/lib/src/ap-form/items/radio/index.vue.d.ts +217 -13
- package/lib/src/ap-form/items/select/index.vue.d.ts +43 -38
- package/lib/src/ap-form/items/switch/index.vue.d.ts +24 -19
- package/lib/src/ap-form/items/text/index.vue.d.ts +591 -25
- package/lib/src/ap-form/items/text/password.vue.d.ts +658 -27
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +486 -13
- package/lib/src/ap-form/modal-form/index.vue.d.ts +650 -16
- package/lib/src/ap-form/search-form/index.vue.d.ts +652 -18
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -15
- package/lib/src/ap-list/index.vue.d.ts +5 -5
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +5 -5
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +4 -4
- package/lib/src/ap-table/constants.d.ts +1071 -1072
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +2 -1
- package/lib/src/ap-table/interface.d.ts +1 -1
- package/lib/src/ap-table/style/ap-table.css +3 -0
- package/lib/src/ap-table/utils.d.ts +586 -587
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +18 -11
- package/lib/src/ap-tag/ap-tag.vue.d.ts +5 -5
- package/lib/src/base-button/button.vue.d.ts +17 -12
- package/lib/src/base-button/index.d.ts +30 -30
- package/lib/src/basic/index.d.ts +6 -6
- package/lib/src/basic/title.vue.d.ts +16 -11
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +13 -8
- package/lib/src/business/ap-image/ApImage.vue.d.ts +22 -1
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +4 -4
- package/lib/src/business/ap-label/ApLabel.d.ts +2 -2
- package/lib/src/business/ap-label/ApLabel.js +1 -1
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +5 -5
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +5 -5
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +7 -0
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +7 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.js +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +6 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.js +1 -0
- package/lib/src/business/ap-table-modal/index.d.ts +538 -0
- package/lib/src/business/ap-table-modal/index.js +1 -0
- package/lib/src/business/ap-table-modal/interface.d.ts +63 -0
- package/lib/src/business/ap-table-modal/interface.js +1 -0
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +46 -0
- package/lib/src/business/ap-table-modal/modal-title.vue.js +1 -0
- package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +79 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.js +1 -0
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -0
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +19 -12
- package/lib/src/business/index.d.ts +140 -131
- package/lib/src/business/index.js +1 -1
- package/lib/src/business/title/ApTitle.vue.d.ts +17 -12
- package/lib/src/button/button.vue.d.ts +12 -7
- package/lib/src/button/index.d.ts +2 -2
- package/lib/src/check-card/group.vue.d.ts +18 -13
- package/lib/src/check-card/index.vue.d.ts +16 -11
- package/lib/src/config-provider/config-provider-props.d.ts +6 -4
- package/lib/src/config-provider/config-provider.d.ts +5 -5
- package/lib/src/config-provider/hooks/use-global-config.d.ts +2 -1
- package/lib/src/config-provider/index.d.ts +17 -17
- package/lib/src/container/index.d.ts +4 -4
- package/lib/src/container/scroll-container.vue.d.ts +181 -8
- package/lib/src/count-down/button.vue.d.ts +4 -4
- package/lib/src/count-down/index.d.ts +8 -8
- package/lib/src/count-down/input.vue.d.ts +16 -11
- package/lib/src/cropper/cropper-avatar.vue.d.ts +4 -4
- package/lib/src/cropper/cropper-image.vue.d.ts +4 -4
- package/lib/src/cropper/index.d.ts +4 -4
- package/lib/src/description/index.d.ts +2 -2
- package/lib/src/dropdown/dropdown.vue.d.ts +16 -11
- package/lib/src/dropdown/index.d.ts +2 -2
- package/lib/src/editable-table/form-item.vue.d.ts +5 -5
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +6 -6
- package/lib/src/editable-table/interface.d.ts +2 -2
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/icon/icon.vue.d.ts +4 -5
- package/lib/src/icon/index.d.ts +16 -16
- package/lib/src/icon/svg-icon.vue.d.ts +4 -4
- package/lib/src/icon-picker/icon-picker.vue.d.ts +4 -4
- package/lib/src/icon-picker/index.d.ts +2 -2
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +210 -5
- package/lib/src/modal/components/modal-close.vue.d.ts +4 -4
- package/lib/src/modal/components/modal-footer.vue.d.ts +10 -5
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +77 -4
- package/lib/src/modal/components/modal.d.ts +1 -1
- package/lib/src/modal/index.d.ts +5 -5
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +4 -4
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +4 -4
- package/lib/src/pro-form/components/api-select.vue.d.ts +16 -11
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +16 -11
- package/lib/src/pro-form/components/api-tree.vue.d.ts +16 -11
- package/lib/src/pro-form/components/form-action.vue.d.ts +19 -14
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +4 -4
- package/lib/src/pro-form/hooks/use-label-width.d.ts +25 -25
- package/lib/src/pro-form/pro-form.vue.d.ts +888 -15
- package/lib/src/pro-form/table-form-inner.vue.d.ts +6 -5
- package/lib/src/pro-form/table-form.vue.d.ts +6 -5
- package/lib/src/pro-form/types/form.d.ts +4 -4
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +7 -2
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/lib/src/pro-table/components/table-action.vue.d.ts +7 -2
- package/lib/src/pro-table/components/table-footer.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-header.vue.d.ts +9 -4
- package/lib/src/pro-table/components/table-image.vue.d.ts +4 -4
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +4 -4
- package/lib/src/pro-table/pro-table.vue.d.ts +2049 -28
- package/lib/src/prompt/utils.d.ts +1 -1
- package/lib/src/scroll-bar/index.d.ts +2 -2
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +19 -11
- package/lib/src/strength-meter/index.d.ts +2 -2
- package/lib/src/strength-meter/strength-meter.vue.d.ts +16 -11
- package/lib/src/theme/antd-global-overwrite/admin/index.css +1 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +1 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +1 -0
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +1 -0
- package/lib/src/theme/ap-table/ap-table.css +3 -0
- package/lib/src/transition/collapse-transition.vue.d.ts +7 -2
- package/lib/src/utils/config-provider-preset.d.ts +5 -5
- package/lib/src/work-order-modal/createWorkOrder.js +1 -1
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApActionGroupProps
|
|
1
|
+
import { ApActionGroupProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { Trigger } from 'ant-design-vue/es/dropdown/props';
|
|
4
|
+
import { GroupActionTypes } from '..';
|
|
4
5
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
|
|
5
6
|
count: number;
|
|
6
7
|
trigger: () => string[];
|
|
@@ -12,20 +13,17 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
12
13
|
placement: string;
|
|
13
14
|
actions: () => never[];
|
|
14
15
|
}>>>, {
|
|
15
|
-
placement: "top" | "topLeft" | "
|
|
16
|
+
placement: "top" | "topLeft" | "bottom" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter";
|
|
16
17
|
trigger: Trigger | Trigger[];
|
|
17
18
|
count: number;
|
|
18
19
|
actions: GroupActionTypes[];
|
|
19
20
|
}, {}>;
|
|
20
21
|
export default _default;
|
|
21
22
|
type __VLS_WithDefaults<P, D> = {
|
|
22
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
23
24
|
default: D[K];
|
|
24
25
|
}> : P[K];
|
|
25
26
|
};
|
|
26
|
-
type __VLS_Prettify<T> = {
|
|
27
|
-
[K in keyof T]: T[K];
|
|
28
|
-
} & {};
|
|
29
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
28
|
type __VLS_TypePropsToOption<T> = {
|
|
31
29
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -35,3 +33,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
35
33
|
required: true;
|
|
36
34
|
};
|
|
37
35
|
};
|
|
36
|
+
type __VLS_PrettifyLocal<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import { ApActionItemProps, ApActionItemSlots
|
|
1
|
+
import { ApActionItemProps, ApActionItemSlots } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
3
|
+
import { ActionColor } from '..';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
4
10
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemProps>, {
|
|
5
11
|
color: string;
|
|
6
12
|
disabled: boolean;
|
|
@@ -13,25 +19,17 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
13
19
|
loading: boolean;
|
|
14
20
|
}>>>, {
|
|
15
21
|
visible: boolean;
|
|
16
|
-
loading: boolean;
|
|
17
|
-
disabled: boolean;
|
|
18
22
|
color: ActionColor;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
loading: boolean;
|
|
19
25
|
}, {}>;
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
27
|
export default _default;
|
|
22
28
|
type __VLS_WithDefaults<P, D> = {
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
24
30
|
default: D[K];
|
|
25
31
|
}> : P[K];
|
|
26
32
|
};
|
|
27
|
-
type __VLS_Prettify<T> = {
|
|
28
|
-
[K in keyof T]: T[K];
|
|
29
|
-
} & {};
|
|
30
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
-
new (): {
|
|
32
|
-
$slots: S;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
33
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
34
|
type __VLS_TypePropsToOption<T> = {
|
|
37
35
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -41,3 +39,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
41
39
|
required: true;
|
|
42
40
|
};
|
|
43
41
|
};
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
type __VLS_PrettifyLocal<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { ApActionItemDropdownProps
|
|
1
|
+
import { ApActionItemDropdownProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { ActionColor, MixedActionTypes } from '..';
|
|
3
4
|
import { Trigger } from 'ant-design-vue/es/dropdown/props';
|
|
4
5
|
declare function __VLS_template(): {
|
|
5
|
-
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
attrs: Partial<{}>;
|
|
6
11
|
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
7
13
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemDropdownProps>, {
|
|
8
14
|
color: string;
|
|
9
15
|
disabled: boolean;
|
|
@@ -23,30 +29,22 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
23
29
|
actions: () => never[];
|
|
24
30
|
showIcon: boolean;
|
|
25
31
|
}>>>, {
|
|
26
|
-
placement: "top" | "topLeft" | "
|
|
32
|
+
placement: "top" | "topLeft" | "bottom" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter";
|
|
27
33
|
visible: boolean;
|
|
28
|
-
loading: boolean;
|
|
29
|
-
disabled: boolean;
|
|
30
34
|
color: ActionColor;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
loading: boolean;
|
|
31
37
|
trigger: Trigger | Trigger[];
|
|
32
38
|
showIcon: boolean;
|
|
33
39
|
actions: MixedActionTypes[];
|
|
34
40
|
}, {}>;
|
|
35
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
42
|
export default _default;
|
|
37
43
|
type __VLS_WithDefaults<P, D> = {
|
|
38
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
39
45
|
default: D[K];
|
|
40
46
|
}> : P[K];
|
|
41
47
|
};
|
|
42
|
-
type __VLS_Prettify<T> = {
|
|
43
|
-
[K in keyof T]: T[K];
|
|
44
|
-
} & {};
|
|
45
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
|
-
new (): {
|
|
47
|
-
$slots: S;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
48
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
49
|
type __VLS_TypePropsToOption<T> = {
|
|
52
50
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -56,3 +54,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
56
54
|
required: true;
|
|
57
55
|
};
|
|
58
56
|
};
|
|
57
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
type __VLS_PrettifyLocal<T> = {
|
|
63
|
+
[K in keyof T]: T[K];
|
|
64
|
+
} & {};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import { ApActionItemModalProps, ApActionItemSlots
|
|
1
|
+
import { ApActionItemModalProps, ApActionItemSlots } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { ActionColor } from '..';
|
|
3
4
|
import { ModalFuncProps } from 'ant-design-vue';
|
|
4
|
-
declare function __VLS_template():
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
7
|
+
refs: {};
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
5
11
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemModalProps>, {
|
|
6
12
|
color: string;
|
|
7
13
|
disabled: boolean;
|
|
@@ -16,26 +22,18 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
16
22
|
modalProps: () => {};
|
|
17
23
|
}>>>, {
|
|
18
24
|
visible: boolean;
|
|
19
|
-
loading: boolean;
|
|
20
|
-
disabled: boolean;
|
|
21
25
|
color: ActionColor;
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
loading: boolean;
|
|
22
28
|
modalProps: Omit< ModalFuncProps, "type">;
|
|
23
29
|
}, {}>;
|
|
24
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
31
|
export default _default;
|
|
26
32
|
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
28
34
|
default: D[K];
|
|
29
35
|
}> : P[K];
|
|
30
36
|
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
-
new (): {
|
|
36
|
-
$slots: S;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
37
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
38
|
type __VLS_TypePropsToOption<T> = {
|
|
41
39
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -45,3 +43,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
45
43
|
required: true;
|
|
46
44
|
};
|
|
47
45
|
};
|
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
type __VLS_PrettifyLocal<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ApActionItemPopconfirmProps, ApActionItemSlots
|
|
1
|
+
import { ApActionItemPopconfirmProps, ApActionItemSlots } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
|
|
3
|
+
import { ActionColor } from '..';
|
|
3
4
|
import { LegacyButtonType, ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
4
5
|
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
5
6
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
@@ -9,7 +10,12 @@ import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
|
|
|
9
10
|
import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
10
11
|
import { PresetColorType } from 'ant-design-vue/es/_util/colors';
|
|
11
12
|
import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
|
|
12
|
-
declare function __VLS_template():
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
15
|
+
refs: {};
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
19
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemPopconfirmProps>, {
|
|
14
20
|
color: string;
|
|
15
21
|
disabled: boolean;
|
|
@@ -24,9 +30,9 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
24
30
|
popconfirmProps: () => {};
|
|
25
31
|
}>>>, {
|
|
26
32
|
visible: boolean;
|
|
27
|
-
loading: boolean;
|
|
28
|
-
disabled: boolean;
|
|
29
33
|
color: ActionColor;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
loading: boolean;
|
|
30
36
|
popconfirmProps: Partial< ExtractPropTypes<{
|
|
31
37
|
prefixCls: StringConstructor;
|
|
32
38
|
content: {
|
|
@@ -323,21 +329,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
323
329
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
324
330
|
}>>;
|
|
325
331
|
}, {}>;
|
|
326
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
332
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
327
333
|
export default _default;
|
|
328
334
|
type __VLS_WithDefaults<P, D> = {
|
|
329
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
335
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
330
336
|
default: D[K];
|
|
331
337
|
}> : P[K];
|
|
332
338
|
};
|
|
333
|
-
type __VLS_Prettify<T> = {
|
|
334
|
-
[K in keyof T]: T[K];
|
|
335
|
-
} & {};
|
|
336
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
337
|
-
new (): {
|
|
338
|
-
$slots: S;
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
339
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
342
340
|
type __VLS_TypePropsToOption<T> = {
|
|
343
341
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -347,3 +345,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
347
345
|
required: true;
|
|
348
346
|
};
|
|
349
347
|
};
|
|
348
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
349
|
+
new (): {
|
|
350
|
+
$slots: S;
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
type __VLS_PrettifyLocal<T> = {
|
|
354
|
+
[K in keyof T]: T[K];
|
|
355
|
+
} & {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("ant-design-vue");require("../config-provider/index.js");require("./styles/column-select.css");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("ant-design-vue");require("../config-provider/index.js");require("./styles/column-select.css");const b=require("../config-provider/hooks/use-locale.js"),k=require("../config-provider/hooks/use-global-config.js"),N=require("../config-provider/hooks/use-namespace.js"),V=e.defineComponent({__name:"column-select",props:{columns:{}},emits:["updateColumns"],setup(d,{emit:m}){const o=e.ref(!1),r=e.ref(!1),a=e.ref([]),{t:i}=b.useLocale(),p=k.useGlobalConfig("uiMode"),{b:f,e:c}=N.useNamespace(p.value==="aplus"?"column-select":"column-select-admin"),{columns:n}=d,h=m,v=t=>{const s=t.target.checked;a.value=s?n.map(l=>l.dataIndex):n.filter(l=>l.disabled&&l.selected).map(l=>l.dataIndex)},g=t=>{a.value=t};e.watch(()=>n,()=>{a.value=n.filter(t=>t.selected).map(t=>t.dataIndex)},{deep:!0,immediate:!0}),e.watch(a,()=>{r.value=a.value.length>0&&a.value.length!==n.length,o.value=a.value.length===n.length},{deep:!0,immediate:!0}),e.watch(a,()=>{const t=n.map(s=>({...s,selected:a.value.includes(s.dataIndex)}));h("updateColumns",t)},{deep:!0});const C=e.computed(()=>n.map(t=>({label:t.title,value:t.dataIndex,disabled:t.disabled})));return(t,s)=>(e.openBlock(),e.createBlock(e.unref(u.Flex),{vertical:"",class:e.normalizeClass(e.unref(f)())},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass(e.unref(c)("des"))},e.toDisplayString(e.unref(i)("ap.apCustomColumn.selectDes")),3),e.createVNode(e.unref(u.Flex),{class:e.normalizeClass(e.unref(c)("all")),justify:"space-between",align:"center"},{default:e.withCtx(()=>{var l;return[e.createVNode(e.unref(u.Checkbox),{style:{padding:"0 6px;"},checked:o.value,"onUpdate:checked":s[0]||(s[0]=x=>o.value=x),indeterminate:r.value,onChange:v},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("ap.apCustomColumn.allSelect")),1)]),_:1},8,["checked","indeterminate"]),e.createElementVNode("span",{class:e.normalizeClass(e.unref(c)("statistics"))},e.toDisplayString((l=a.value)==null?void 0:l.length)+"/"+e.toDisplayString(t.columns.length),3)]}),_:1},8,["class"]),e.createVNode(e.unref(u.Divider),{style:{margin:"12px 0 4px 0"}}),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c)("content"))},[e.createVNode(e.unref(u.CheckboxGroup),{value:a.value,"onUpdate:value":g,options:C.value},null,8,["value","options"])],2)]),_:1},8,["class"]))}});exports.default=V;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("@ant-design/icons-vue"),r=require("ant-design-vue");require("./column-select.vue2.js");require("./styles/custom-column.css");require("../config-provider/index.js");const q=require("../config-provider/hooks/use-global-config.js"),w=require("../config-provider/hooks/use-locale.js"),x=require("../config-provider/hooks/use-namespace.js"),D=require("./column-select.vue.js"),N=e.defineComponent({__name:"custom-column",props:{columns:{},baseContainerSelector:{},fullContentSelector:{}},emits:["update:columns"],setup(m,{emit:p}){const f=q.useGlobalConfig("uiMode"),{t:c}=w.useLocale(),{b:C,e:_}=x.useNamespace(f.value==="aplus"?"custom-column":"custom-column-admin"),{baseContainerSelector:a,columns:b,fullContentSelector:h}=m,g=p,v=t=>{g("update:columns",t)},u=e.ref(!1),o=e.ref(0),S=()=>{var t,n;if(a){const l=document.querySelector(a),s=document.querySelector(h);l?o.value=Math.max((t=l==null?void 0:l.getBoundingClientRect())==null?void 0:t.top,((n=s==null?void 0:s.getBoundingClientRect())==null?void 0:n.top)||0):o.value=0}u.value=!0},i=()=>{u.value=!1},y=e.computed(()=>window.innerHeight-o.value-57-40);return(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(C)())},[e.createVNode(e.unref(r.Tooltip),null,{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("ap.apCustomColumn.title")),1)]),default:e.withCtx(()=>[e.createVNode(e.unref(r.Button),{style:{minWidth:"auto"},onClick:S},{icon:e.withCtx(()=>[e.createVNode(e.unref(d.SettingOutlined))]),_:1})]),_:1}),e.createVNode(e.unref(r.Drawer),{open:u.value,width:280,title:e.unref(c)("ap.apCustomColumn.title"),closable:!1,contentWrapperStyle:{top:`${o.value}px`},bodyStyle:{overflow:"hidden",padding:"20px"},mask:!0,"root-class-name":e.unref(_)("drawer"),onClose:i},{extra:e.withCtx(()=>[e.createVNode(e.unref(d.CloseOutlined),{onClick:i})]),default:e.withCtx(()=>[e.createVNode(D.default,{style:e.normalizeStyle({height:`${y.value}px`}),columns:t.columns,onUpdateColumns:v},null,8,["style","columns"])]),_:1},8,["open","title","contentWrapperStyle","root-class-name"])],2))}});exports.default=N;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { DisplayInfoProps } from './interface';
|
|
2
2
|
import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
declare function __VLS_template():
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
slots: Partial<Record<string, (_: {
|
|
5
|
+
index: number;
|
|
6
|
+
item: VNode<RendererNode, RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}> | VNodeChild;
|
|
9
|
+
record: {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
} | undefined;
|
|
12
|
+
}) => any>>;
|
|
13
|
+
refs: {};
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
17
|
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<DisplayInfoProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<DisplayInfoProps>>>, {}, {}>;
|
|
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
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
21
|
type __VLS_TypePropsToOption<T> = {
|
|
22
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -26,3 +26,8 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
26
26
|
required: true;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
-
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
attrs: Partial<{}>;
|
|
4
8
|
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
5
10
|
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<{
|
|
6
11
|
helpMessage?: string;
|
|
7
12
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
8
13
|
helpMessage?: string;
|
|
9
14
|
}>>>, {}, {}>;
|
|
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
|
+
};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { ApDownLoadProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
|
|
4
|
+
slots: {
|
|
5
|
+
icon?(_: {}): 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<ApDownLoadProps<Record<string, string>>>, {
|
|
7
12
|
size: string;
|
|
8
13
|
color: string;
|
|
@@ -13,24 +18,16 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
13
18
|
disabled: boolean;
|
|
14
19
|
}>>>, {
|
|
15
20
|
size: "small" | "middle" | "large";
|
|
16
|
-
disabled: boolean;
|
|
17
21
|
color: string;
|
|
22
|
+
disabled: boolean;
|
|
18
23
|
}, {}>;
|
|
19
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
25
|
export default _default;
|
|
21
26
|
type __VLS_WithDefaults<P, D> = {
|
|
22
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
23
28
|
default: D[K];
|
|
24
29
|
}> : P[K];
|
|
25
30
|
};
|
|
26
|
-
type __VLS_Prettify<T> = {
|
|
27
|
-
[K in keyof T]: T[K];
|
|
28
|
-
} & {};
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
31
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
32
|
type __VLS_TypePropsToOption<T> = {
|
|
36
33
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -40,3 +37,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
40
37
|
required: true;
|
|
41
38
|
};
|
|
42
39
|
};
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
type __VLS_PrettifyLocal<T> = {
|
|
46
|
+
[K in keyof T]: T[K];
|
|
47
|
+
} & {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ApFieldCheckboxProps
|
|
1
|
+
import { ApFieldCheckboxProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { FieldMode } from '..';
|
|
3
4
|
import { CheckboxOptionType } from 'ant-design-vue';
|
|
4
5
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldCheckboxProps>, {
|
|
5
6
|
emptyText: string;
|
|
@@ -20,13 +21,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
20
21
|
}, {}>;
|
|
21
22
|
export default _default;
|
|
22
23
|
type __VLS_WithDefaults<P, D> = {
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
24
25
|
default: D[K];
|
|
25
26
|
}> : P[K];
|
|
26
27
|
};
|
|
27
|
-
type __VLS_Prettify<T> = {
|
|
28
|
-
[K in keyof T]: T[K];
|
|
29
|
-
} & {};
|
|
30
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
29
|
type __VLS_TypePropsToOption<T> = {
|
|
32
30
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -36,3 +34,6 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
36
34
|
required: true;
|
|
37
35
|
};
|
|
38
36
|
};
|
|
37
|
+
type __VLS_PrettifyLocal<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { default as dayjs } from 'dayjs';
|
|
2
|
-
import { ApFieldDateProps
|
|
2
|
+
import { ApFieldDateProps } from '../interface';
|
|
3
3
|
import { ApFormatPresetType } from './interface';
|
|
4
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
|
|
5
|
+
import { FieldMode } from '..';
|
|
5
6
|
import { LiteralUnion } from '../../type';
|
|
6
7
|
import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
|
|
7
8
|
type ApFieldDataSlots = {
|
|
@@ -17,7 +18,12 @@ type ApFieldDataSlots = {
|
|
|
17
18
|
clearIcon?: any;
|
|
18
19
|
default?: any;
|
|
19
20
|
};
|
|
20
|
-
declare function __VLS_template():
|
|
21
|
+
declare function __VLS_template(): {
|
|
22
|
+
slots: Readonly<ApFieldDataSlots> & ApFieldDataSlots;
|
|
23
|
+
refs: {};
|
|
24
|
+
attrs: Partial<{}>;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
27
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateProps>, {
|
|
22
28
|
format: string;
|
|
23
29
|
mode: string;
|
|
@@ -92,21 +98,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
92
98
|
showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
|
|
93
99
|
emptyText: string;
|
|
94
100
|
}, {}>;
|
|
95
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
101
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
96
102
|
export default _default;
|
|
97
103
|
type __VLS_WithDefaults<P, D> = {
|
|
98
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
104
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
99
105
|
default: D[K];
|
|
100
106
|
}> : P[K];
|
|
101
107
|
};
|
|
102
|
-
type __VLS_Prettify<T> = {
|
|
103
|
-
[K in keyof T]: T[K];
|
|
104
|
-
} & {};
|
|
105
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
106
|
-
new (): {
|
|
107
|
-
$slots: S;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
108
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
111
109
|
type __VLS_TypePropsToOption<T> = {
|
|
112
110
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -116,3 +114,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
116
114
|
required: true;
|
|
117
115
|
};
|
|
118
116
|
};
|
|
117
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
118
|
+
new (): {
|
|
119
|
+
$slots: S;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
type __VLS_PrettifyLocal<T> = {
|
|
123
|
+
[K in keyof T]: T[K];
|
|
124
|
+
} & {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ApFieldDateRangeProps
|
|
1
|
+
import { ApFieldDateRangeProps } from '../interface';
|
|
2
2
|
import { ApFormatPresetType } from '../date/interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
|
|
4
|
+
import { FieldMode } from '..';
|
|
4
5
|
import { LiteralUnion } from '../../type';
|
|
5
6
|
type ApFieldDateRangeSlots = {
|
|
6
7
|
suffixIcon?: any;
|
|
@@ -18,7 +19,12 @@ type ApFieldDateRangeSlots = {
|
|
|
18
19
|
readModeSeparator?: any;
|
|
19
20
|
clearIcon?: any;
|
|
20
21
|
};
|
|
21
|
-
declare function __VLS_template():
|
|
22
|
+
declare function __VLS_template(): {
|
|
23
|
+
slots: Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots;
|
|
24
|
+
refs: {};
|
|
25
|
+
attrs: Partial<{}>;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
28
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApFieldDateRangeProps>, {
|
|
23
29
|
emptyText: string;
|
|
24
30
|
mode: string;
|
|
@@ -70,6 +76,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
70
76
|
}, {
|
|
71
77
|
mode: FieldMode;
|
|
72
78
|
open: boolean;
|
|
79
|
+
separator: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
82
|
+
[key: string]: any;
|
|
83
|
+
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
}> | null;
|
|
73
86
|
disabled: boolean | [boolean, boolean];
|
|
74
87
|
suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
75
88
|
[key: string]: any;
|
|
@@ -89,32 +102,17 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
89
102
|
}> | null;
|
|
90
103
|
allowClear: boolean;
|
|
91
104
|
defaultOpen: boolean;
|
|
92
|
-
separator: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
93
|
-
[key: string]: any;
|
|
94
|
-
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
95
|
-
[key: string]: any;
|
|
96
|
-
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
97
|
-
[key: string]: any;
|
|
98
|
-
}> | null;
|
|
99
105
|
format: LiteralUnion<ApFormatPresetType, string>;
|
|
100
106
|
inputReadOnly: boolean;
|
|
101
107
|
emptyText: string;
|
|
102
108
|
}, {}>;
|
|
103
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
109
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
104
110
|
export default _default;
|
|
105
111
|
type __VLS_WithDefaults<P, D> = {
|
|
106
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ?
|
|
112
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
107
113
|
default: D[K];
|
|
108
114
|
}> : P[K];
|
|
109
115
|
};
|
|
110
|
-
type __VLS_Prettify<T> = {
|
|
111
|
-
[K in keyof T]: T[K];
|
|
112
|
-
} & {};
|
|
113
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
114
|
-
new (): {
|
|
115
|
-
$slots: S;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
116
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
119
117
|
type __VLS_TypePropsToOption<T> = {
|
|
120
118
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -124,3 +122,11 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
124
122
|
required: true;
|
|
125
123
|
};
|
|
126
124
|
};
|
|
125
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
126
|
+
new (): {
|
|
127
|
+
$slots: S;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
type __VLS_PrettifyLocal<T> = {
|
|
131
|
+
[K in keyof T]: T[K];
|
|
132
|
+
} & {};
|