@aplus-frontend/ui 0.1.5 → 0.1.6
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/src/ap-action/group/index.vue.d.ts +3 -30
- package/es/src/ap-action/item/index.vue.d.ts +3 -30
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
- package/es/src/ap-action/item-modal/index.vue.d.ts +6 -33
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
- package/es/src/ap-custom-column/column-select.vue.d.ts +5 -14
- package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
- package/es/src/ap-custom-column/custom-column.vue.d.ts +5 -14
- package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
- package/es/src/ap-download/ap-download.vue.d.ts +3 -28
- package/es/src/ap-field/checkbox/index.vue.d.ts +40 -31
- package/es/src/ap-field/date/index.vue.d.ts +19 -64
- package/es/src/ap-field/date-range/index.vue.d.ts +20 -66
- package/es/src/ap-field/number/index.vue.d.ts +138 -42
- package/es/src/ap-field/radio/index.vue.d.ts +51 -31
- package/es/src/ap-field/rate/index.vue.d.ts +46 -39
- package/es/src/ap-field/segmented/index.vue.d.ts +47 -32
- package/es/src/ap-field/select/index.vue.d.ts +192 -59
- package/es/src/ap-field/select/index.vue.mjs +10 -8
- package/es/src/ap-field/slider/index.vue.d.ts +115 -40
- package/es/src/ap-field/switch/index.vue.d.ts +60 -35
- package/es/src/ap-field/text/index.vue.d.ts +105 -38
- package/es/src/ap-field/text/password.vue.d.ts +113 -45
- package/es/src/ap-field/text-area/index.vue.d.ts +117 -38
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +30 -28
- package/es/src/ap-form/ap-form-item.vue.d.ts +128 -38
- package/es/src/ap-form/ap-form-list.vue.d.ts +2 -11
- package/es/src/ap-form/ap-form.vue.d.ts +238 -36
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
- package/es/src/ap-form/items/date/index.vue.d.ts +131 -37
- package/es/src/ap-form/items/date-range/index.vue.d.ts +131 -37
- package/es/src/ap-form/items/number/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/radio/index.vue.d.ts +8 -38
- package/es/src/ap-form/items/select/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/switch/index.vue.d.ts +7 -39
- package/es/src/ap-form/items/text/index.vue.d.ts +132 -38
- package/es/src/ap-form/items/text/password.vue.d.ts +132 -38
- package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -38
- package/es/src/ap-form/modal-form/index.vue.d.ts +17 -52
- package/es/src/ap-form/search-form/index.vue.d.ts +254 -50
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
- package/es/src/ap-list/index.vue.d.ts +3 -3
- package/es/src/ap-table/ap-table.vue.d.ts +2 -2
- package/es/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/es/src/ap-table/constants.d.ts +4015 -11858
- package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
- package/es/src/ap-tag/ap-tag-group.vue.mjs +78 -78
- package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/es/src/ap-upload/apUpload.vue.d.ts +23 -48
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -2
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/es/src/base-button/button.vue.d.ts +3 -24
- package/es/src/base-button/index.d.ts +7 -110
- package/es/src/base-button/modal-button.vue.d.ts +8 -14
- package/es/src/base-button/pop-confirm-button.vue.d.ts +7 -10
- package/es/src/basic/arrow.vue.d.ts +2 -11
- package/es/src/basic/help.vue.d.ts +324 -50
- package/es/src/basic/index.d.ts +667 -202
- package/es/src/basic/title.vue.d.ts +3 -24
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
- package/es/src/business/ap-batch-action/interface.d.ts +10 -0
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
- package/es/src/business/ap-label/ApLabel.vue.d.ts +43 -32
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +23 -23
- package/es/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
- package/es/src/business/index.d.ts +196 -927
- package/es/src/business/title/ApTitle.vue.d.ts +3 -32
- package/es/src/button/button.vue.d.ts +2 -11
- package/es/src/button/index.d.ts +16 -32
- package/es/src/check-card/group.vue.d.ts +17 -41
- package/es/src/check-card/index.vue.d.ts +20 -35
- package/es/src/config-provider/config-provider.d.ts +41 -137
- package/es/src/config-provider/index.d.ts +161 -545
- package/es/src/container/collapse/header.vue.d.ts +11 -13
- package/es/src/container/collapse/index.vue.d.ts +11 -40
- package/es/src/container/index.d.ts +40 -119
- package/es/src/container/scroll-container.vue.d.ts +3 -12
- package/es/src/count-down/button.vue.d.ts +3 -24
- package/es/src/count-down/index.d.ts +12 -111
- package/es/src/count-down/input.vue.d.ts +3 -24
- package/es/src/cropper/cropper-avatar.vue.d.ts +6 -33
- package/es/src/cropper/cropper-image.vue.d.ts +5 -36
- package/es/src/cropper/cropper-modal.vue.d.ts +13 -21
- package/es/src/cropper/index.d.ts +24 -269
- package/es/src/description/description.vue.d.ts +15 -45
- package/es/src/description/index.d.ts +51 -171
- package/es/src/dropdown/dropdown.vue.d.ts +5 -30
- package/es/src/dropdown/index.d.ts +12 -76
- package/es/src/editable-table/form-item.vue.d.ts +4 -4
- package/es/src/editable-table/index.vue.d.ts +6 -7
- package/es/src/hooks/useControllableValue.d.ts +2 -2
- package/es/src/icon/icon.vue.d.ts +3 -29
- package/es/src/icon/index.d.ts +12 -159
- package/es/src/icon/svg-icon.vue.d.ts +3 -28
- package/es/src/icon-picker/icon-picker.vue.d.ts +5 -38
- package/es/src/icon-picker/index.d.ts +12 -139
- package/es/src/modal/basic.vue.d.ts +147 -117
- package/es/src/modal/components/modal-close.vue.d.ts +5 -26
- package/es/src/modal/components/modal-footer.vue.d.ts +146 -116
- package/es/src/modal/components/modal-header.vue.d.ts +2 -11
- package/es/src/modal/components/modal-wrapper.vue.d.ts +19 -43
- package/es/src/modal/components/modal.d.ts +145 -115
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/es/src/modal/index.d.ts +287 -462
- package/es/src/pro-form/components/api-cascader.vue.d.ts +5 -38
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
- package/es/src/pro-form/components/api-select.vue.d.ts +5 -38
- package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -40
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
- package/es/src/pro-form/components/api-tree.vue.d.ts +5 -28
- package/es/src/pro-form/components/form-action.vue.d.ts +5 -38
- package/es/src/pro-form/components/form-item.vue.d.ts +14 -34
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
- package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/es/src/pro-form/pro-form.vue.d.ts +6 -57
- package/es/src/pro-form/table-form-inner.vue.d.ts +5 -34
- package/es/src/pro-form/table-form.vue.d.ts +4 -29
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
- package/es/src/pro-table/components/header-cell.vue.d.ts +726 -9
- package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
- package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/settings/index.vue.d.ts +8 -11
- package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-action.vue.d.ts +10 -24
- package/es/src/pro-table/components/table-footer.vue.d.ts +5 -30
- package/es/src/pro-table/components/table-header.vue.d.ts +15 -31
- package/es/src/pro-table/components/table-image.vue.d.ts +3 -32
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
- package/es/src/pro-table/components/table-title.vue.d.ts +7 -13
- package/es/src/pro-table/pro-table.vue.d.ts +8 -61
- package/es/src/prompt/dialog.vue.d.ts +2 -11
- package/es/src/scroll-bar/bar-item.d.ts +10 -9
- package/es/src/scroll-bar/index.d.ts +12 -135
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
- package/es/src/strength-meter/index.d.ts +12 -55
- package/es/src/strength-meter/strength-meter.vue.d.ts +5 -26
- package/es/src/tests/wrapper.d.ts +3 -6
- package/es/src/transition/collapse-transition.vue.d.ts +2 -2
- package/es/src/transition/create-transition.d.ts +13 -25
- package/es/src/transition/index.d.ts +88 -193
- package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/lib/src/ap-action/group/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
- package/lib/src/ap-action/item-modal/index.vue.d.ts +6 -33
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
- package/lib/src/ap-custom-column/column-select.vue.d.ts +5 -14
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +5 -14
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
- package/lib/src/ap-download/ap-download.vue.d.ts +3 -28
- package/lib/src/ap-field/checkbox/index.vue.d.ts +40 -31
- package/lib/src/ap-field/date/index.vue.d.ts +19 -64
- package/lib/src/ap-field/date-range/index.vue.d.ts +20 -66
- package/lib/src/ap-field/number/index.vue.d.ts +138 -42
- package/lib/src/ap-field/radio/index.vue.d.ts +51 -31
- package/lib/src/ap-field/rate/index.vue.d.ts +46 -39
- package/lib/src/ap-field/segmented/index.vue.d.ts +47 -32
- package/lib/src/ap-field/select/index.vue.d.ts +192 -59
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +115 -40
- package/lib/src/ap-field/switch/index.vue.d.ts +60 -35
- package/lib/src/ap-field/text/index.vue.d.ts +105 -38
- package/lib/src/ap-field/text/password.vue.d.ts +113 -45
- package/lib/src/ap-field/text-area/index.vue.d.ts +117 -38
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +128 -38
- package/lib/src/ap-form/ap-form-list.vue.d.ts +2 -11
- package/lib/src/ap-form/ap-form.vue.d.ts +238 -36
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
- package/lib/src/ap-form/items/date/index.vue.d.ts +131 -37
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +131 -37
- package/lib/src/ap-form/items/number/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/radio/index.vue.d.ts +8 -38
- package/lib/src/ap-form/items/select/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/switch/index.vue.d.ts +7 -39
- package/lib/src/ap-form/items/text/index.vue.d.ts +132 -38
- package/lib/src/ap-form/items/text/password.vue.d.ts +132 -38
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -38
- package/lib/src/ap-form/modal-form/index.vue.d.ts +17 -52
- package/lib/src/ap-form/search-form/index.vue.d.ts +254 -50
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
- package/lib/src/ap-list/index.vue.d.ts +3 -3
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
- package/lib/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/lib/src/ap-table/constants.d.ts +4015 -11858
- package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/lib/src/ap-upload/apUpload.vue.d.ts +23 -48
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/lib/src/base-button/button.vue.d.ts +3 -24
- package/lib/src/base-button/index.d.ts +7 -110
- package/lib/src/base-button/modal-button.vue.d.ts +8 -14
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +7 -10
- package/lib/src/basic/arrow.vue.d.ts +2 -11
- package/lib/src/basic/help.vue.d.ts +324 -50
- package/lib/src/basic/index.d.ts +667 -202
- package/lib/src/basic/title.vue.d.ts +3 -24
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
- package/lib/src/business/ap-batch-action/interface.d.ts +10 -0
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +43 -32
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
- package/lib/src/business/index.d.ts +196 -927
- package/lib/src/business/title/ApTitle.vue.d.ts +3 -32
- package/lib/src/button/button.vue.d.ts +2 -11
- package/lib/src/button/index.d.ts +16 -32
- package/lib/src/check-card/group.vue.d.ts +17 -41
- package/lib/src/check-card/index.vue.d.ts +20 -35
- package/lib/src/config-provider/config-provider.d.ts +41 -137
- package/lib/src/config-provider/index.d.ts +161 -545
- package/lib/src/container/collapse/header.vue.d.ts +11 -13
- package/lib/src/container/collapse/index.vue.d.ts +11 -40
- package/lib/src/container/index.d.ts +40 -119
- package/lib/src/container/scroll-container.vue.d.ts +3 -12
- package/lib/src/count-down/button.vue.d.ts +3 -24
- package/lib/src/count-down/index.d.ts +12 -111
- package/lib/src/count-down/input.vue.d.ts +3 -24
- package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -33
- package/lib/src/cropper/cropper-image.vue.d.ts +5 -36
- package/lib/src/cropper/cropper-modal.vue.d.ts +13 -21
- package/lib/src/cropper/index.d.ts +24 -269
- package/lib/src/description/description.vue.d.ts +15 -45
- package/lib/src/description/index.d.ts +51 -171
- package/lib/src/dropdown/dropdown.vue.d.ts +5 -30
- package/lib/src/dropdown/index.d.ts +12 -76
- package/lib/src/editable-table/form-item.vue.d.ts +4 -4
- package/lib/src/editable-table/index.vue.d.ts +6 -7
- package/lib/src/hooks/useControllableValue.d.ts +2 -2
- package/lib/src/icon/icon.vue.d.ts +3 -29
- package/lib/src/icon/index.d.ts +12 -159
- package/lib/src/icon/svg-icon.vue.d.ts +3 -28
- package/lib/src/icon-picker/icon-picker.vue.d.ts +5 -38
- package/lib/src/icon-picker/index.d.ts +12 -139
- package/lib/src/modal/basic.vue.d.ts +147 -117
- package/lib/src/modal/components/modal-close.vue.d.ts +5 -26
- package/lib/src/modal/components/modal-footer.vue.d.ts +146 -116
- package/lib/src/modal/components/modal-header.vue.d.ts +2 -11
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +19 -43
- package/lib/src/modal/components/modal.d.ts +145 -115
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/lib/src/modal/index.d.ts +287 -462
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +5 -38
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
- package/lib/src/pro-form/components/api-select.vue.d.ts +5 -38
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -40
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
- package/lib/src/pro-form/components/api-tree.vue.d.ts +5 -28
- package/lib/src/pro-form/components/form-action.vue.d.ts +5 -38
- package/lib/src/pro-form/components/form-item.vue.d.ts +14 -34
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
- package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +6 -57
- package/lib/src/pro-form/table-form-inner.vue.d.ts +5 -34
- package/lib/src/pro-form/table-form.vue.d.ts +4 -29
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
- package/lib/src/pro-table/components/header-cell.vue.d.ts +726 -9
- package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/settings/index.vue.d.ts +8 -11
- package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-action.vue.d.ts +10 -24
- package/lib/src/pro-table/components/table-footer.vue.d.ts +5 -30
- package/lib/src/pro-table/components/table-header.vue.d.ts +15 -31
- package/lib/src/pro-table/components/table-image.vue.d.ts +3 -32
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
- package/lib/src/pro-table/components/table-title.vue.d.ts +7 -13
- package/lib/src/pro-table/pro-table.vue.d.ts +8 -61
- package/lib/src/prompt/dialog.vue.d.ts +2 -11
- package/lib/src/scroll-bar/bar-item.d.ts +10 -9
- package/lib/src/scroll-bar/index.d.ts +12 -135
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
- package/lib/src/strength-meter/index.d.ts +12 -55
- package/lib/src/strength-meter/strength-meter.vue.d.ts +5 -26
- package/lib/src/tests/wrapper.d.ts +3 -6
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
- package/lib/src/transition/create-transition.d.ts +13 -25
- package/lib/src/transition/index.d.ts +88 -193
- package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/package.json +2 -2
|
@@ -1,37 +1,10 @@
|
|
|
1
1
|
import { ApActionGroupProps, GroupActionTypes } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { Trigger } from 'ant-design-vue/es/dropdown/props';
|
|
4
|
-
declare const _default: DefineComponent<
|
|
5
|
-
count: number;
|
|
6
|
-
trigger: () => string[];
|
|
7
|
-
placement: string;
|
|
8
|
-
actions: () => never[];
|
|
9
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
|
|
10
|
-
count: number;
|
|
11
|
-
trigger: () => string[];
|
|
12
|
-
placement: string;
|
|
13
|
-
actions: () => never[];
|
|
14
|
-
}>>>, {
|
|
4
|
+
declare const _default: DefineComponent<ApActionGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionGroupProps & {}>, {
|
|
15
5
|
placement: "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "bottom" | "topCenter" | "bottomCenter";
|
|
16
6
|
trigger: Trigger | Trigger[];
|
|
17
7
|
count: number;
|
|
18
8
|
actions: GroupActionTypes[];
|
|
19
|
-
}, {}>;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
20
10
|
export default _default;
|
|
21
|
-
type __VLS_WithDefaults<P, D> = {
|
|
22
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
23
|
-
default: D[K];
|
|
24
|
-
}> : P[K];
|
|
25
|
-
};
|
|
26
|
-
type __VLS_Prettify<T> = {
|
|
27
|
-
[K in keyof T]: T[K];
|
|
28
|
-
} & {};
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToOption<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,43 +1,16 @@
|
|
|
1
1
|
import { ApActionItemProps, ApActionItemSlots, ActionColor } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
4
|
-
declare const __VLS_component: DefineComponent<
|
|
5
|
-
color: string;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
visible: boolean;
|
|
8
|
-
loading: boolean;
|
|
9
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemProps>, {
|
|
10
|
-
color: string;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
visible: boolean;
|
|
13
|
-
loading: boolean;
|
|
14
|
-
}>>>, {
|
|
4
|
+
declare const __VLS_component: DefineComponent<ApActionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemProps & {}>, {
|
|
15
5
|
visible: boolean;
|
|
16
6
|
loading: boolean;
|
|
17
7
|
disabled: boolean;
|
|
18
8
|
color: ActionColor;
|
|
19
|
-
}, {}>;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
20
10
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
11
|
export default _default;
|
|
22
|
-
type __VLS_WithDefaults<P, D> = {
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
-
default: D[K];
|
|
25
|
-
}> : P[K];
|
|
26
|
-
};
|
|
27
|
-
type __VLS_Prettify<T> = {
|
|
28
|
-
[K in keyof T]: T[K];
|
|
29
|
-
} & {};
|
|
30
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
13
|
new (): {
|
|
32
14
|
$slots: S;
|
|
33
15
|
};
|
|
34
16
|
};
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,28 +1,16 @@
|
|
|
1
|
-
import { ApActionItemDropdownProps,
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { ApActionItemDropdownProps, MixedActionTypes, ApActionItemProps, ActionColor } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { DropdownProps } from 'ant-design-vue';
|
|
3
4
|
import { Trigger } from 'ant-design-vue/es/dropdown/props';
|
|
4
5
|
declare function __VLS_template(): {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
placement: string;
|
|
14
|
-
actions: () => never[];
|
|
15
|
-
showIcon: boolean;
|
|
16
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemDropdownProps>, {
|
|
17
|
-
color: string;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
visible: boolean;
|
|
20
|
-
loading: boolean;
|
|
21
|
-
trigger: () => string[];
|
|
22
|
-
placement: string;
|
|
23
|
-
actions: () => never[];
|
|
24
|
-
showIcon: boolean;
|
|
25
|
-
}>>>, {
|
|
8
|
+
declare const __VLS_component: DefineComponent<ApActionItemDropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
9
|
+
trigger?: DropdownProps["trigger"];
|
|
10
|
+
placement?: DropdownProps["placement"];
|
|
11
|
+
actions?: MixedActionTypes[];
|
|
12
|
+
showIcon?: boolean;
|
|
13
|
+
} & Omit< ApActionItemProps, "onAction"> & {}>, {
|
|
26
14
|
placement: "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "bottom" | "topCenter" | "bottomCenter";
|
|
27
15
|
visible: boolean;
|
|
28
16
|
loading: boolean;
|
|
@@ -31,28 +19,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
31
19
|
trigger: Trigger | Trigger[];
|
|
32
20
|
showIcon: boolean;
|
|
33
21
|
actions: MixedActionTypes[];
|
|
34
|
-
}, {}>;
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
35
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
36
24
|
export default _default;
|
|
37
|
-
type __VLS_WithDefaults<P, D> = {
|
|
38
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
-
default: D[K];
|
|
40
|
-
}> : P[K];
|
|
41
|
-
};
|
|
42
|
-
type __VLS_Prettify<T> = {
|
|
43
|
-
[K in keyof T]: T[K];
|
|
44
|
-
} & {};
|
|
45
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
26
|
new (): {
|
|
47
27
|
$slots: S;
|
|
48
28
|
};
|
|
49
29
|
};
|
|
50
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
-
type __VLS_TypePropsToOption<T> = {
|
|
52
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
-
} : {
|
|
55
|
-
type: PropType<T[K]>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
@@ -1,47 +1,20 @@
|
|
|
1
|
-
import { ApActionItemModalProps, ApActionItemSlots, ActionColor } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { ApActionItemModalProps, ApActionItemSlots, ApActionItemProps, ActionColor } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { ModalFuncProps } from 'ant-design-vue';
|
|
4
4
|
declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
5
|
-
declare const __VLS_component: DefineComponent<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
visible: boolean;
|
|
9
|
-
loading: boolean;
|
|
10
|
-
modalProps: () => {};
|
|
11
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemModalProps>, {
|
|
12
|
-
color: string;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
visible: boolean;
|
|
15
|
-
loading: boolean;
|
|
16
|
-
modalProps: () => {};
|
|
17
|
-
}>>>, {
|
|
5
|
+
declare const __VLS_component: DefineComponent<ApActionItemModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApActionItemProps & {
|
|
6
|
+
modalProps?: Omit< ModalFuncProps, "type">;
|
|
7
|
+
} & {}>, {
|
|
18
8
|
visible: boolean;
|
|
19
9
|
loading: boolean;
|
|
20
10
|
disabled: boolean;
|
|
21
11
|
color: ActionColor;
|
|
22
12
|
modalProps: Omit< ModalFuncProps, "type">;
|
|
23
|
-
}, {}>;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
24
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
15
|
export default _default;
|
|
26
|
-
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
-
default: D[K];
|
|
29
|
-
}> : P[K];
|
|
30
|
-
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
17
|
new (): {
|
|
36
18
|
$slots: S;
|
|
37
19
|
};
|
|
38
20
|
};
|
|
39
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
-
type __VLS_TypePropsToOption<T> = {
|
|
41
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
-
} : {
|
|
44
|
-
type: PropType<T[K]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ApActionItemPopconfirmProps, ApActionItemSlots, ActionColor } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
|
|
1
|
+
import { ApActionItemPopconfirmProps, ApActionItemSlots, ApActionItemProps, ActionColor } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { PopconfirmProps } from 'ant-design-vue';
|
|
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';
|
|
@@ -10,19 +11,9 @@ 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
13
|
declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
13
|
-
declare const __VLS_component: DefineComponent<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
visible: boolean;
|
|
17
|
-
loading: boolean;
|
|
18
|
-
popconfirmProps: () => {};
|
|
19
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemPopconfirmProps>, {
|
|
20
|
-
color: string;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
visible: boolean;
|
|
23
|
-
loading: boolean;
|
|
24
|
-
popconfirmProps: () => {};
|
|
25
|
-
}>>>, {
|
|
14
|
+
declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApActionItemProps & {
|
|
15
|
+
popconfirmProps?: PopconfirmProps;
|
|
16
|
+
} & {}>, {
|
|
26
17
|
visible: boolean;
|
|
27
18
|
loading: boolean;
|
|
28
19
|
disabled: boolean;
|
|
@@ -322,28 +313,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
322
313
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
323
314
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
324
315
|
}>>;
|
|
325
|
-
}, {}>;
|
|
316
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
326
317
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
327
318
|
export default _default;
|
|
328
|
-
type __VLS_WithDefaults<P, D> = {
|
|
329
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
330
|
-
default: D[K];
|
|
331
|
-
}> : P[K];
|
|
332
|
-
};
|
|
333
|
-
type __VLS_Prettify<T> = {
|
|
334
|
-
[K in keyof T]: T[K];
|
|
335
|
-
} & {};
|
|
336
319
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
337
320
|
new (): {
|
|
338
321
|
$slots: S;
|
|
339
322
|
};
|
|
340
323
|
};
|
|
341
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
342
|
-
type __VLS_TypePropsToOption<T> = {
|
|
343
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
344
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
345
|
-
} : {
|
|
346
|
-
type: PropType<T[K]>;
|
|
347
|
-
required: true;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import { ColumnSelectProps, FieldInfo } from './interfaces';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
4
|
-
updateColumns: (list: FieldInfo[]) =>
|
|
5
|
-
}, string, PublicProps, Readonly<
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ColumnSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
updateColumns: (list: FieldInfo[]) => any;
|
|
5
|
+
}, string, PublicProps, Readonly<ColumnSelectProps & {
|
|
6
6
|
onUpdateColumns?: ((list: FieldInfo[]) => any) | undefined;
|
|
7
|
-
}, {}, {}>;
|
|
7
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
8
8
|
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToOption<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as w, ref as i, watch as m, computed as V, openBlock as A, createBlock as B, unref as
|
|
1
|
+
import { defineComponent as w, ref as i, watch as m, computed as V, openBlock as A, createBlock as B, unref as l, normalizeClass as c, withCtx as r, createElementVNode as p, createVNode as o, createTextVNode as D, toDisplayString as h } from "vue";
|
|
2
2
|
import { Flex as f, Checkbox as G, Divider as M, CheckboxGroup as S } from "ant-design-vue";
|
|
3
3
|
import "../config-provider/index.mjs";
|
|
4
4
|
import "./styles/column-select.css";
|
|
@@ -10,83 +10,83 @@ const H = /* @__PURE__ */ w({
|
|
|
10
10
|
columns: {}
|
|
11
11
|
},
|
|
12
12
|
emits: ["updateColumns"],
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
),
|
|
17
|
-
const
|
|
18
|
-
t.value =
|
|
13
|
+
setup(s, { emit: g }) {
|
|
14
|
+
const d = i(!1), v = i(!1), t = i([]), x = U("uiMode"), { b: C, e: u } = j(
|
|
15
|
+
x.value === "aplus" ? "column-select" : "column-select-admin"
|
|
16
|
+
), k = g, b = (e) => {
|
|
17
|
+
const a = e.target.checked;
|
|
18
|
+
t.value = a ? s.columns.map((n) => n.dataIndex) : s.columns.filter((n) => n.disabled && n.selected).map((n) => n.dataIndex);
|
|
19
19
|
}, I = (e) => {
|
|
20
20
|
t.value = e;
|
|
21
21
|
};
|
|
22
22
|
m(
|
|
23
|
-
|
|
23
|
+
() => s.columns,
|
|
24
24
|
() => {
|
|
25
|
-
t.value =
|
|
25
|
+
t.value = s.columns.filter((e) => e.selected).map((e) => e.dataIndex);
|
|
26
26
|
},
|
|
27
27
|
{ deep: !0, immediate: !0 }
|
|
28
28
|
), m(
|
|
29
29
|
t,
|
|
30
30
|
() => {
|
|
31
|
-
v.value = t.value.length > 0 && t.value.length !==
|
|
31
|
+
v.value = t.value.length > 0 && t.value.length !== s.columns.length, d.value = t.value.length === s.columns.length;
|
|
32
32
|
},
|
|
33
33
|
{ deep: !0, immediate: !0 }
|
|
34
34
|
), m(
|
|
35
35
|
t,
|
|
36
36
|
() => {
|
|
37
|
-
const e =
|
|
38
|
-
...
|
|
39
|
-
selected: t.value.includes(
|
|
37
|
+
const e = s.columns.map((a) => ({
|
|
38
|
+
...a,
|
|
39
|
+
selected: t.value.includes(a.dataIndex)
|
|
40
40
|
}));
|
|
41
|
-
|
|
41
|
+
k("updateColumns", e);
|
|
42
42
|
},
|
|
43
43
|
{ deep: !0 }
|
|
44
44
|
);
|
|
45
|
-
const y = V(() =>
|
|
45
|
+
const y = V(() => s.columns.map((e) => ({
|
|
46
46
|
label: e.title,
|
|
47
47
|
value: e.dataIndex,
|
|
48
48
|
disabled: e.disabled
|
|
49
49
|
})));
|
|
50
|
-
return (e,
|
|
50
|
+
return (e, a) => (A(), B(l(f), {
|
|
51
51
|
vertical: "",
|
|
52
|
-
class: c(
|
|
52
|
+
class: c(l(C)())
|
|
53
53
|
}, {
|
|
54
54
|
default: r(() => [
|
|
55
55
|
p("p", {
|
|
56
|
-
class: c(
|
|
56
|
+
class: c(l(u)("des"))
|
|
57
57
|
}, "请选择需要展示在表格的字段", 2),
|
|
58
|
-
|
|
59
|
-
class: c(
|
|
58
|
+
o(l(f), {
|
|
59
|
+
class: c(l(u)("all")),
|
|
60
60
|
justify: "space-between",
|
|
61
61
|
align: "center"
|
|
62
62
|
}, {
|
|
63
63
|
default: r(() => {
|
|
64
|
-
var
|
|
64
|
+
var n;
|
|
65
65
|
return [
|
|
66
|
-
|
|
66
|
+
o(l(G), {
|
|
67
67
|
style: { padding: "0 6px;" },
|
|
68
|
-
checked:
|
|
69
|
-
"onUpdate:checked":
|
|
68
|
+
checked: d.value,
|
|
69
|
+
"onUpdate:checked": a[0] || (a[0] = (N) => d.value = N),
|
|
70
70
|
indeterminate: v.value,
|
|
71
|
-
onChange:
|
|
71
|
+
onChange: b
|
|
72
72
|
}, {
|
|
73
|
-
default: r(() => [
|
|
73
|
+
default: r(() => a[1] || (a[1] = [
|
|
74
74
|
D("全选")
|
|
75
|
-
]),
|
|
75
|
+
])),
|
|
76
76
|
_: 1
|
|
77
77
|
}, 8, ["checked", "indeterminate"]),
|
|
78
78
|
p("span", {
|
|
79
|
-
class: c(
|
|
80
|
-
}, h((
|
|
79
|
+
class: c(l(u)("statistics"))
|
|
80
|
+
}, h((n = t.value) == null ? void 0 : n.length) + "/" + h(e.columns.length), 3)
|
|
81
81
|
];
|
|
82
82
|
}),
|
|
83
83
|
_: 1
|
|
84
84
|
}, 8, ["class"]),
|
|
85
|
-
|
|
85
|
+
o(l(M), { style: { margin: "12px 0 4px 0" } }),
|
|
86
86
|
p("div", {
|
|
87
|
-
class: c(
|
|
87
|
+
class: c(l(u)("content"))
|
|
88
88
|
}, [
|
|
89
|
-
|
|
89
|
+
o(l(S), {
|
|
90
90
|
value: t.value,
|
|
91
91
|
"onUpdate:value": I,
|
|
92
92
|
options: y.value
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import { CustomColumnProps, FieldInfo } from './interfaces';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
4
|
-
"update:columns": (list: FieldInfo[]) =>
|
|
5
|
-
}, string, PublicProps, Readonly<
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<CustomColumnProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
"update:columns": (list: FieldInfo[]) => any;
|
|
5
|
+
}, string, PublicProps, Readonly<CustomColumnProps & {
|
|
6
6
|
"onUpdate:columns"?: ((list: FieldInfo[]) => any) | undefined;
|
|
7
|
-
}, {}, {}>;
|
|
7
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
8
8
|
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToOption<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { SettingOutlined as
|
|
3
|
-
import { Tooltip as
|
|
1
|
+
import { defineComponent as y, ref as m, computed as D, openBlock as x, createElementBlock as H, normalizeClass as _, unref as t, createVNode as n, withCtx as l, createTextVNode as b, normalizeStyle as w } from "vue";
|
|
2
|
+
import { SettingOutlined as B, CloseOutlined as E } from "@ant-design/icons-vue";
|
|
3
|
+
import { Tooltip as k, Button as G, Drawer as N } from "ant-design-vue";
|
|
4
4
|
import "./column-select.vue2.mjs";
|
|
5
5
|
import "./styles/custom-column.css";
|
|
6
6
|
import "../config-provider/index.mjs";
|
|
7
|
-
import { useGlobalConfig as
|
|
8
|
-
import { useNamespace as
|
|
9
|
-
import
|
|
10
|
-
const
|
|
7
|
+
import { useGlobalConfig as T } from "../config-provider/hooks/use-global-config.mjs";
|
|
8
|
+
import { useNamespace as A } from "../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import I from "./column-select.vue.mjs";
|
|
10
|
+
const Y = /* @__PURE__ */ y({
|
|
11
11
|
__name: "custom-column",
|
|
12
12
|
props: {
|
|
13
13
|
columns: {},
|
|
@@ -15,65 +15,65 @@ const F = /* @__PURE__ */ D({
|
|
|
15
15
|
fullContentSelector: {}
|
|
16
16
|
},
|
|
17
17
|
emits: ["update:columns"],
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
),
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
var e,
|
|
25
|
-
if (r) {
|
|
26
|
-
const
|
|
27
|
-
|
|
18
|
+
setup(r, { emit: d }) {
|
|
19
|
+
const p = T("uiMode"), { b: f, e: C } = A(
|
|
20
|
+
p.value === "aplus" ? "custom-column" : "custom-column-admin"
|
|
21
|
+
), h = d, S = (e) => {
|
|
22
|
+
h("update:columns", e);
|
|
23
|
+
}, u = m(!1), a = m(0), g = () => {
|
|
24
|
+
var e, o;
|
|
25
|
+
if (r.baseContainerSelector) {
|
|
26
|
+
const s = document.querySelector(r.baseContainerSelector), c = document.querySelector(
|
|
27
|
+
r.fullContentSelector
|
|
28
28
|
);
|
|
29
|
-
|
|
30
|
-
(e =
|
|
31
|
-
((
|
|
32
|
-
) :
|
|
29
|
+
s ? a.value = Math.max(
|
|
30
|
+
(e = s == null ? void 0 : s.getBoundingClientRect()) == null ? void 0 : e.top,
|
|
31
|
+
((o = c == null ? void 0 : c.getBoundingClientRect()) == null ? void 0 : o.top) || 0
|
|
32
|
+
) : a.value = 0;
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
u.value = !0;
|
|
35
35
|
}, i = () => {
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
return (e,
|
|
39
|
-
class:
|
|
36
|
+
u.value = !1;
|
|
37
|
+
}, v = D(() => window.innerHeight - a.value - 57 - 40);
|
|
38
|
+
return (e, o) => (x(), H("div", {
|
|
39
|
+
class: _(t(f)())
|
|
40
40
|
}, [
|
|
41
|
-
|
|
42
|
-
title:
|
|
43
|
-
|
|
44
|
-
]),
|
|
45
|
-
default:
|
|
46
|
-
|
|
41
|
+
n(t(k), null, {
|
|
42
|
+
title: l(() => o[0] || (o[0] = [
|
|
43
|
+
b("自定义表格")
|
|
44
|
+
])),
|
|
45
|
+
default: l(() => [
|
|
46
|
+
n(t(G), {
|
|
47
47
|
style: { minWidth: "auto" },
|
|
48
|
-
onClick:
|
|
48
|
+
onClick: g
|
|
49
49
|
}, {
|
|
50
|
-
icon:
|
|
51
|
-
|
|
50
|
+
icon: l(() => [
|
|
51
|
+
n(t(B))
|
|
52
52
|
]),
|
|
53
53
|
_: 1
|
|
54
54
|
})
|
|
55
55
|
]),
|
|
56
56
|
_: 1
|
|
57
57
|
}),
|
|
58
|
-
|
|
59
|
-
open:
|
|
58
|
+
n(t(N), {
|
|
59
|
+
open: u.value,
|
|
60
60
|
width: 280,
|
|
61
61
|
title: "自定义表格",
|
|
62
62
|
closable: !1,
|
|
63
|
-
contentWrapperStyle: { top: `${
|
|
63
|
+
contentWrapperStyle: { top: `${a.value}px` },
|
|
64
64
|
bodyStyle: { overflow: "hidden", padding: "20px" },
|
|
65
65
|
mask: !0,
|
|
66
|
-
"root-class-name": t(
|
|
66
|
+
"root-class-name": t(C)("drawer"),
|
|
67
67
|
onClose: i
|
|
68
68
|
}, {
|
|
69
|
-
extra:
|
|
70
|
-
|
|
69
|
+
extra: l(() => [
|
|
70
|
+
n(t(E), { onClick: i })
|
|
71
71
|
]),
|
|
72
|
-
default:
|
|
73
|
-
|
|
74
|
-
style:
|
|
72
|
+
default: l(() => [
|
|
73
|
+
n(I, {
|
|
74
|
+
style: w({ height: `${v.value}px` }),
|
|
75
75
|
columns: e.columns,
|
|
76
|
-
onUpdateColumns:
|
|
76
|
+
onUpdateColumns: S
|
|
77
77
|
}, null, 8, ["style", "columns"])
|
|
78
78
|
]),
|
|
79
79
|
_: 1
|
|
@@ -82,5 +82,5 @@ const F = /* @__PURE__ */ D({
|
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
export {
|
|
85
|
-
|
|
85
|
+
Y as default
|
|
86
86
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DisplayInfoProps } from './interface';
|
|
2
|
-
import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { VNode, RendererNode, RendererElement, VNodeChild, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): Partial<Record<string, (_: {
|
|
4
4
|
index: number;
|
|
5
5
|
item: VNode<RendererNode, RendererElement, {
|
|
@@ -9,7 +9,7 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
9
9
|
[x: string]: any;
|
|
10
10
|
} | undefined;
|
|
11
11
|
}) => any>>;
|
|
12
|
-
declare const __VLS_component: DefineComponent<
|
|
12
|
+
declare const __VLS_component: DefineComponent<DisplayInfoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DisplayInfoProps & {}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -17,12 +17,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
17
17
|
$slots: S;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToOption<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: DefineComponent<
|
|
5
|
+
declare const __VLS_component: DefineComponent<{
|
|
6
6
|
helpMessage?: string;
|
|
7
|
-
}
|
|
7
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
8
8
|
helpMessage?: string;
|
|
9
|
-
}
|
|
9
|
+
} & {}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
10
10
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -14,12 +14,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
14
14
|
$slots: S;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToOption<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|