@aplus-frontend/ui 0.1.4 → 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/index.mjs +60 -59
- 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/interface.d.ts +4 -0
- 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 +60 -53
- 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 +4014 -11845
- 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 +14 -0
- package/es/src/business/ap-batch-action/ApBatchAction.vue.mjs +4 -0
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +46 -0
- package/es/src/business/ap-batch-action/index.css +24 -0
- 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 +211 -896
- package/es/src/business/index.mjs +14 -11
- 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/editable-table/utils.mjs +1 -1
- 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/index.mjs +176 -175
- package/es/src/locale/lang/en.mjs +5 -0
- package/es/src/locale/lang/zh-cn.mjs +5 -0
- 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/theme/ap-batch-action/ap-batch-action.css +24 -0
- package/es/src/theme/css-var/index.mjs +17 -5
- 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/index.js +1 -1
- 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/interface.d.ts +4 -0
- 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 +4014 -11845
- 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 +14 -0
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.js +1 -0
- package/lib/src/business/ap-batch-action/ApBatchAction.vue2.js +1 -0
- package/lib/src/business/ap-batch-action/index.css +24 -0
- 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 +211 -896
- package/lib/src/business/index.js +1 -1
- 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/editable-table/utils.js +1 -1
- 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/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 +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/theme/ap-batch-action/ap-batch-action.css +24 -0
- package/lib/src/theme/css-var/index.js +1 -1
- 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 +4 -4
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { DefaultOptionType, SelectValue, LabeledValue } from 'ant-design-vue/es/select';
|
|
1
2
|
import { ApFieldSelectProps, FieldMode } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
4
|
+
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
|
+
import { ButtonSize } from 'ant-design-vue/es/button';
|
|
6
|
+
import { VueNode } from 'ant-design-vue/es/_util/type';
|
|
7
|
+
import { SelectHandler, FieldNames, FilterFunc } from 'ant-design-vue/es/vc-select/Select';
|
|
8
|
+
import { RenderDOMFunc, DropdownRender, CustomTagProps } from 'ant-design-vue/es/vc-select/BaseSelect';
|
|
9
|
+
import { AlignType } from 'ant-design-vue/es/vc-trigger/interface';
|
|
10
|
+
import { SelectProps } from 'ant-design-vue';
|
|
3
11
|
type ApFieldSelectSlots = {
|
|
4
12
|
notFoundContent: any;
|
|
5
13
|
suffixIcon: any;
|
|
@@ -18,51 +26,193 @@ declare function requestIfNeeded(clear?: boolean): Promise<void>;
|
|
|
18
26
|
declare function focus(): void;
|
|
19
27
|
declare function blur(): void;
|
|
20
28
|
declare function __VLS_template(): Readonly<ApFieldSelectSlots> & ApFieldSelectSlots;
|
|
21
|
-
declare const __VLS_component: DefineComponent<
|
|
22
|
-
mode: string;
|
|
23
|
-
emptyText: string;
|
|
24
|
-
bordered: undefined;
|
|
25
|
-
open: undefined;
|
|
26
|
-
disabled: undefined;
|
|
27
|
-
autofocus: undefined;
|
|
28
|
-
virtual: undefined;
|
|
29
|
-
loading: undefined;
|
|
30
|
-
allowClear: boolean;
|
|
31
|
-
showSearch: undefined;
|
|
32
|
-
defaultOpen: undefined;
|
|
33
|
-
showArrow: undefined;
|
|
34
|
-
autoClearSearchValue: undefined;
|
|
35
|
-
defaultActiveFirstOption: undefined;
|
|
36
|
-
labelInValue: undefined;
|
|
37
|
-
multiple: undefined;
|
|
38
|
-
searchMode: string;
|
|
39
|
-
}>, {
|
|
29
|
+
declare const __VLS_component: DefineComponent<ApFieldSelectProps, {
|
|
40
30
|
focus: typeof focus;
|
|
41
31
|
blur: typeof blur;
|
|
42
32
|
request: typeof requestIfNeeded;
|
|
43
|
-
},
|
|
33
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
44
34
|
"update:value": (...args: any[]) => void;
|
|
45
|
-
}, string, PublicProps, Readonly<
|
|
46
|
-
mode
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
35
|
+
}, string, PublicProps, Readonly<{
|
|
36
|
+
mode?: FieldMode;
|
|
37
|
+
class?: unknown;
|
|
38
|
+
style?: unknown;
|
|
39
|
+
} & Omit<Partial< ExtractPropTypes<{
|
|
40
|
+
value: {
|
|
41
|
+
type: PropType<SelectValue>;
|
|
42
|
+
default: SelectValue;
|
|
43
|
+
};
|
|
44
|
+
defaultValue: {
|
|
45
|
+
type: PropType<SelectValue>;
|
|
46
|
+
default: SelectValue;
|
|
47
|
+
};
|
|
48
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
49
|
+
suffixIcon: VueTypeValidableDef<any>;
|
|
50
|
+
itemIcon: VueTypeValidableDef<any>;
|
|
51
|
+
size: {
|
|
52
|
+
type: PropType<ButtonSize>;
|
|
53
|
+
default: ButtonSize;
|
|
54
|
+
};
|
|
55
|
+
mode: {
|
|
56
|
+
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
57
|
+
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
58
|
+
};
|
|
59
|
+
bordered: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
transitionName: StringConstructor;
|
|
64
|
+
choiceTransitionName: {
|
|
65
|
+
type: PropType<"">;
|
|
66
|
+
default: "";
|
|
67
|
+
};
|
|
68
|
+
popupClassName: StringConstructor;
|
|
69
|
+
dropdownClassName: StringConstructor;
|
|
70
|
+
placement: {
|
|
71
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
72
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
73
|
+
};
|
|
74
|
+
status: {
|
|
75
|
+
type: PropType<"" | "error" | "warning">;
|
|
76
|
+
default: "" | "error" | "warning";
|
|
77
|
+
};
|
|
78
|
+
'onUpdate:value': {
|
|
79
|
+
type: PropType<(val: SelectValue) => void>;
|
|
80
|
+
default: (val: SelectValue) => void;
|
|
81
|
+
};
|
|
82
|
+
children: PropType< VueNode[]>;
|
|
83
|
+
listHeight: NumberConstructor;
|
|
84
|
+
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
85
|
+
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
86
|
+
tabindex: NumberConstructor;
|
|
87
|
+
onClick: PropType<(e: MouseEvent) => void>;
|
|
88
|
+
onFocus: {
|
|
89
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
90
|
+
};
|
|
91
|
+
onBlur: {
|
|
92
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
93
|
+
};
|
|
94
|
+
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
95
|
+
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
96
|
+
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
97
|
+
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
98
|
+
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
99
|
+
open: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: any;
|
|
102
|
+
};
|
|
103
|
+
animation: StringConstructor;
|
|
104
|
+
direction: {
|
|
105
|
+
type: PropType<"rtl" | "ltr">;
|
|
106
|
+
};
|
|
107
|
+
disabled: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: any;
|
|
110
|
+
};
|
|
111
|
+
prefixCls: StringConstructor;
|
|
112
|
+
id: StringConstructor;
|
|
113
|
+
autofocus: BooleanConstructor;
|
|
114
|
+
getPopupContainer: {
|
|
115
|
+
type: PropType<RenderDOMFunc>;
|
|
116
|
+
};
|
|
117
|
+
virtual: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: any;
|
|
120
|
+
};
|
|
121
|
+
dropdownMatchSelectWidth: {
|
|
122
|
+
type: PropType<number | boolean>;
|
|
123
|
+
default: any;
|
|
124
|
+
};
|
|
125
|
+
options: PropType<DefaultOptionType[]>;
|
|
126
|
+
showAction: {
|
|
127
|
+
type: PropType<("click" | "focus")[]>;
|
|
128
|
+
};
|
|
129
|
+
placeholder: VueTypeValidableDef<any>;
|
|
130
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
131
|
+
loading: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: any;
|
|
134
|
+
};
|
|
135
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
136
|
+
allowClear: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: any;
|
|
139
|
+
};
|
|
140
|
+
onSearch: PropType<(value: string) => void>;
|
|
141
|
+
fieldNames: PropType<FieldNames>;
|
|
142
|
+
dropdownStyle: {
|
|
143
|
+
type: PropType<CSSProperties>;
|
|
144
|
+
};
|
|
145
|
+
dropdownRender: {
|
|
146
|
+
type: PropType<DropdownRender>;
|
|
147
|
+
};
|
|
148
|
+
dropdownAlign: PropType<AlignType>;
|
|
149
|
+
showSearch: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: any;
|
|
152
|
+
};
|
|
153
|
+
searchValue: StringConstructor;
|
|
154
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
155
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
156
|
+
maxTagCount: {
|
|
157
|
+
type: PropType<number | "responsive">;
|
|
158
|
+
};
|
|
159
|
+
maxTagTextLength: NumberConstructor;
|
|
160
|
+
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
161
|
+
tokenSeparators: {
|
|
162
|
+
type: PropType<string[]>;
|
|
163
|
+
};
|
|
164
|
+
tagRender: {
|
|
165
|
+
type: PropType<(props: CustomTagProps) => any>;
|
|
166
|
+
};
|
|
167
|
+
optionLabelRender: {
|
|
168
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
169
|
+
};
|
|
170
|
+
onClear: PropType<() => void>;
|
|
171
|
+
defaultOpen: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: any;
|
|
174
|
+
};
|
|
175
|
+
onDropdownVisibleChange: {
|
|
176
|
+
type: PropType<(open: boolean) => void>;
|
|
177
|
+
};
|
|
178
|
+
showArrow: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: any;
|
|
181
|
+
};
|
|
182
|
+
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
183
|
+
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
184
|
+
listItemHeight: NumberConstructor;
|
|
185
|
+
inputValue: StringConstructor;
|
|
186
|
+
autoClearSearchValue: {
|
|
187
|
+
type: BooleanConstructor;
|
|
188
|
+
default: any;
|
|
189
|
+
};
|
|
190
|
+
filterOption: {
|
|
191
|
+
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
192
|
+
default: any;
|
|
193
|
+
};
|
|
194
|
+
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
195
|
+
optionFilterProp: StringConstructor;
|
|
196
|
+
optionLabelProp: StringConstructor;
|
|
197
|
+
defaultActiveFirstOption: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
default: any;
|
|
200
|
+
};
|
|
201
|
+
labelInValue: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: any;
|
|
204
|
+
};
|
|
205
|
+
}>>, "mode" | "value" | "onUpdate:value" | "onSearch"> & {
|
|
206
|
+
emptyText?: string;
|
|
207
|
+
request?: (value?: string) => Promise< SelectProps["options"]>;
|
|
208
|
+
multiple?: boolean;
|
|
209
|
+
value?: SelectProps["value"];
|
|
210
|
+
'onUpdate:value'?: SelectProps["onUpdate:value"];
|
|
211
|
+
searchMode?: "filter" | "request";
|
|
212
|
+
refetchOnFocus?: boolean;
|
|
213
|
+
} & {
|
|
64
214
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
}
|
|
215
|
+
}>, {
|
|
66
216
|
mode: FieldMode;
|
|
67
217
|
virtual: boolean;
|
|
68
218
|
open: boolean;
|
|
@@ -80,28 +230,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
80
230
|
multiple: boolean;
|
|
81
231
|
emptyText: string;
|
|
82
232
|
searchMode: "filter" | "request";
|
|
83
|
-
}, {}>;
|
|
233
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
84
234
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
85
235
|
export default _default;
|
|
86
|
-
type __VLS_WithDefaults<P, D> = {
|
|
87
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
88
|
-
default: D[K];
|
|
89
|
-
}> : P[K];
|
|
90
|
-
};
|
|
91
|
-
type __VLS_Prettify<T> = {
|
|
92
|
-
[K in keyof T]: T[K];
|
|
93
|
-
} & {};
|
|
94
236
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
95
237
|
new (): {
|
|
96
238
|
$slots: S;
|
|
97
239
|
};
|
|
98
240
|
};
|
|
99
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
100
|
-
type __VLS_TypePropsToOption<T> = {
|
|
101
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
102
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
103
|
-
} : {
|
|
104
|
-
type: PropType<T[K]>;
|
|
105
|
-
required: true;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as k, ref as
|
|
2
|
-
import { debounce as
|
|
3
|
-
import { Select as
|
|
1
|
+
import { defineComponent as k, ref as f, onMounted as q, computed as m, unref as r, openBlock as v, createElementBlock as A, toDisplayString as M, createBlock as T, mergeProps as _, createSlots as R, renderList as D, withCtx as h, renderSlot as U, normalizeProps as L, guardReactiveProps as z, createVNode as K } from "vue";
|
|
2
|
+
import { debounce as H, isFunction as y, isArray as $, isNil as j, omit as E } from "lodash-unified";
|
|
3
|
+
import { Select as W, Spin as G } from "ant-design-vue";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
5
|
-
import { omitUndefined as
|
|
6
|
-
import { useDefaultPlaceholder as
|
|
7
|
-
import { useControllableValue as
|
|
8
|
-
const
|
|
5
|
+
import { omitUndefined as J } from "../../utils/index.mjs";
|
|
6
|
+
import { useDefaultPlaceholder as Q } from "../hooks/use-default-placeholder.mjs";
|
|
7
|
+
import { useControllableValue as X } from "../../hooks/useControllableValue.mjs";
|
|
8
|
+
const Y = { key: 0 }, re = /* @__PURE__ */ k({
|
|
9
9
|
name: "ApFieldSelect",
|
|
10
10
|
__name: "index",
|
|
11
11
|
props: {
|
|
@@ -88,56 +88,61 @@ const X = { key: 0 }, ae = /* @__PURE__ */ k({
|
|
|
88
88
|
multiple: { type: Boolean, default: void 0 },
|
|
89
89
|
value: {},
|
|
90
90
|
"onUpdate:value": {},
|
|
91
|
-
searchMode: { default: "filter" }
|
|
91
|
+
searchMode: { default: "filter" },
|
|
92
|
+
refetchOnFocus: { type: Boolean }
|
|
92
93
|
},
|
|
93
94
|
emits: ["update:value"],
|
|
94
95
|
setup(w, { expose: S, emit: g }) {
|
|
95
|
-
let
|
|
96
|
-
const B =
|
|
96
|
+
let u = 0;
|
|
97
|
+
const B = H((o) => {
|
|
97
98
|
if (!y(e.request))
|
|
98
99
|
return;
|
|
99
|
-
|
|
100
|
-
const t =
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
u += 1;
|
|
101
|
+
const t = u;
|
|
102
|
+
i.value = [], n.value = !0, e.request(o).then((l) => {
|
|
103
|
+
u === t && (i.value = l);
|
|
103
104
|
}).finally(() => {
|
|
104
|
-
|
|
105
|
+
n.value = !1;
|
|
105
106
|
});
|
|
106
|
-
}, 300), e = w,
|
|
107
|
-
var
|
|
108
|
-
const l = ((
|
|
107
|
+
}, 300), e = w, F = (o, t) => {
|
|
108
|
+
var a;
|
|
109
|
+
const l = ((a = e.fieldNames) == null ? void 0 : a.label) || "label";
|
|
109
110
|
return typeof (t == null ? void 0 : t.label) == "string" && t[l].indexOf(o) > -1;
|
|
110
|
-
},
|
|
111
|
-
async function
|
|
111
|
+
}, i = f((e == null ? void 0 : e.options) || []), d = f(), n = f((e == null ? void 0 : e.loading) || !1), b = g;
|
|
112
|
+
async function s(o = !0) {
|
|
112
113
|
if (!y(e.request))
|
|
113
114
|
return;
|
|
114
|
-
|
|
115
|
-
const t =
|
|
115
|
+
n.value = !0, u += 1;
|
|
116
|
+
const t = u;
|
|
116
117
|
try {
|
|
117
|
-
o && (
|
|
118
|
+
o && (i.value = []);
|
|
118
119
|
const l = await e.request();
|
|
119
|
-
if (t !==
|
|
120
|
+
if (t !== u)
|
|
120
121
|
return;
|
|
121
|
-
|
|
122
|
+
i.value = l;
|
|
122
123
|
} finally {
|
|
123
|
-
|
|
124
|
+
n.value = !1;
|
|
124
125
|
}
|
|
125
126
|
}
|
|
127
|
+
function C(o) {
|
|
128
|
+
var t;
|
|
129
|
+
(t = e.onFocus) == null || t.call(e, o), e.refetchOnFocus && u > 0 && !n.value && s(!0);
|
|
130
|
+
}
|
|
126
131
|
q(() => {
|
|
127
|
-
|
|
132
|
+
s();
|
|
128
133
|
});
|
|
129
|
-
const { value: p, updateValue: x } =
|
|
130
|
-
const o =
|
|
134
|
+
const { value: p, updateValue: x } = X(e, b), I = Q("Select", e), O = m(() => {
|
|
135
|
+
const o = r(p);
|
|
131
136
|
if (!o)
|
|
132
137
|
return e.emptyText;
|
|
133
|
-
if (
|
|
138
|
+
if ($(o))
|
|
134
139
|
return o.map(
|
|
135
140
|
(l) => {
|
|
136
|
-
var
|
|
137
|
-
return (
|
|
141
|
+
var a;
|
|
142
|
+
return (a = r(i).find((c) => c.value === l)) == null ? void 0 : a.label;
|
|
138
143
|
}
|
|
139
144
|
).filter(Boolean).join("、") || e.emptyText;
|
|
140
|
-
const t =
|
|
145
|
+
const t = r(i).find((l) => l.value === o);
|
|
141
146
|
return (t == null ? void 0 : t.label) || e.emptyText;
|
|
142
147
|
}), P = m(() => {
|
|
143
148
|
const o = !!(e != null && e.showSearch), t = e.searchMode;
|
|
@@ -146,22 +151,23 @@ const X = { key: 0 }, ae = /* @__PURE__ */ k({
|
|
|
146
151
|
showArrow: !1,
|
|
147
152
|
defaultActiveFirstOption: !1,
|
|
148
153
|
onSearch: B,
|
|
149
|
-
notFoundContent:
|
|
154
|
+
notFoundContent: n.value ? void 0 : null
|
|
150
155
|
} : {
|
|
151
156
|
showArrow: !0,
|
|
152
|
-
filterOption:
|
|
157
|
+
filterOption: j(e == null ? void 0 : e.filterOption) ? F : e == null ? void 0 : e.filterOption
|
|
153
158
|
}), {
|
|
154
|
-
...
|
|
155
|
-
|
|
159
|
+
...J(
|
|
160
|
+
E(e, [
|
|
156
161
|
"mode",
|
|
157
162
|
"value",
|
|
158
163
|
"onUpdate:value",
|
|
159
164
|
"onSearch",
|
|
160
165
|
"request",
|
|
161
|
-
"searchMode"
|
|
166
|
+
"searchMode",
|
|
167
|
+
"onFocus"
|
|
162
168
|
])
|
|
163
169
|
),
|
|
164
|
-
placeholder:
|
|
170
|
+
placeholder: r(I),
|
|
165
171
|
...l
|
|
166
172
|
};
|
|
167
173
|
});
|
|
@@ -176,29 +182,30 @@ const X = { key: 0 }, ae = /* @__PURE__ */ k({
|
|
|
176
182
|
return S({
|
|
177
183
|
focus: V,
|
|
178
184
|
blur: N,
|
|
179
|
-
request:
|
|
180
|
-
}), (o, t) => o.mode === "read" ? (v(), A("span",
|
|
185
|
+
request: s
|
|
186
|
+
}), (o, t) => o.mode === "read" ? (v(), A("span", Y, M(O.value), 1)) : (v(), T(r(W), _({
|
|
181
187
|
key: 1,
|
|
182
188
|
"allow-clear": "",
|
|
183
189
|
ref_key: "selectRef",
|
|
184
190
|
ref: d
|
|
185
191
|
}, P.value, {
|
|
186
192
|
mode: o.multiple ? "multiple" : void 0,
|
|
187
|
-
value:
|
|
188
|
-
"onUpdate:value":
|
|
189
|
-
options:
|
|
190
|
-
loading:
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
value: r(p),
|
|
194
|
+
"onUpdate:value": r(x),
|
|
195
|
+
options: i.value,
|
|
196
|
+
loading: n.value,
|
|
197
|
+
onFocus: C
|
|
198
|
+
}), R({ _: 2 }, [
|
|
199
|
+
D(o.$slots, (l, a) => ({
|
|
200
|
+
name: a,
|
|
201
|
+
fn: h((c) => [
|
|
202
|
+
U(o.$slots, a, L(z(c || {})))
|
|
196
203
|
])
|
|
197
204
|
})),
|
|
198
|
-
|
|
205
|
+
n.value ? {
|
|
199
206
|
name: "notFoundContent",
|
|
200
207
|
fn: h(() => [
|
|
201
|
-
|
|
208
|
+
K(r(G), { size: "small" })
|
|
202
209
|
]),
|
|
203
210
|
key: "0"
|
|
204
211
|
} : void 0
|
|
@@ -206,5 +213,5 @@ const X = { key: 0 }, ae = /* @__PURE__ */ k({
|
|
|
206
213
|
}
|
|
207
214
|
});
|
|
208
215
|
export {
|
|
209
|
-
|
|
216
|
+
re as default
|
|
210
217
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { ApFieldSliderProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
1
|
+
import { ApFieldSliderProps, FieldMode } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { SliderRange, SliderMarks } from 'ant-design-vue/es/slider';
|
|
4
|
+
import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
|
|
5
|
+
import { FocusEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
3
6
|
type ApFieldSliderSlots = {
|
|
4
7
|
default?: any;
|
|
5
8
|
mark?: (option: {
|
|
@@ -10,30 +13,119 @@ type ApFieldSliderSlots = {
|
|
|
10
13
|
declare function focus(): void;
|
|
11
14
|
declare function blur(): void;
|
|
12
15
|
declare function __VLS_template(): Readonly<ApFieldSliderSlots> & ApFieldSliderSlots;
|
|
13
|
-
declare const __VLS_component: DefineComponent<
|
|
14
|
-
included: boolean;
|
|
15
|
-
min: number;
|
|
16
|
-
max: number;
|
|
17
|
-
step: number;
|
|
18
|
-
tooltipOpen: undefined;
|
|
19
|
-
tooltipVisible: undefined;
|
|
20
|
-
emptyText: string;
|
|
21
|
-
}>, {
|
|
16
|
+
declare const __VLS_component: DefineComponent<ApFieldSliderProps, {
|
|
22
17
|
focus: typeof focus;
|
|
23
18
|
blur: typeof blur;
|
|
24
|
-
},
|
|
19
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
20
|
"update:value": (...args: any[]) => void;
|
|
26
|
-
}, string, PublicProps, Readonly<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
}, string, PublicProps, Readonly<{
|
|
22
|
+
mode?: FieldMode;
|
|
23
|
+
class?: unknown;
|
|
24
|
+
style?: unknown;
|
|
25
|
+
} & Partial< ExtractPropTypes<{
|
|
26
|
+
id: StringConstructor;
|
|
27
|
+
prefixCls: StringConstructor;
|
|
28
|
+
tooltipPrefixCls: StringConstructor;
|
|
29
|
+
range: {
|
|
30
|
+
type: PropType<boolean | SliderRange>;
|
|
31
|
+
default: boolean | SliderRange;
|
|
32
|
+
};
|
|
33
|
+
reverse: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
min: NumberConstructor;
|
|
38
|
+
max: NumberConstructor;
|
|
39
|
+
step: {
|
|
40
|
+
type: PropType<number>;
|
|
41
|
+
default: number;
|
|
42
|
+
};
|
|
43
|
+
marks: {
|
|
44
|
+
type: PropType<SliderMarks>;
|
|
45
|
+
default: SliderMarks;
|
|
46
|
+
};
|
|
47
|
+
dots: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
value: {
|
|
52
|
+
type: PropType<number | [number, number]>;
|
|
53
|
+
default: number | [number, number];
|
|
54
|
+
};
|
|
55
|
+
defaultValue: {
|
|
56
|
+
type: PropType<number | [number, number]>;
|
|
57
|
+
default: number | [number, number];
|
|
58
|
+
};
|
|
59
|
+
included: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
disabled: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
vertical: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
tipFormatter: {
|
|
72
|
+
type: PropType<(value?: number) => any>;
|
|
73
|
+
default: (value?: number) => any;
|
|
74
|
+
};
|
|
75
|
+
tooltipOpen: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
tooltipVisible: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
tooltipPlacement: {
|
|
84
|
+
type: PropType<TooltipPlacement>;
|
|
85
|
+
default: TooltipPlacement;
|
|
86
|
+
};
|
|
87
|
+
getTooltipPopupContainer: {
|
|
88
|
+
type: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
89
|
+
default: (triggerNode: HTMLElement) => HTMLElement;
|
|
90
|
+
};
|
|
91
|
+
autofocus: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
handleStyle: {
|
|
96
|
+
type: PropType< CSSProperties | CSSProperties[]>;
|
|
97
|
+
default: CSSProperties | CSSProperties[];
|
|
98
|
+
};
|
|
99
|
+
trackStyle: {
|
|
100
|
+
type: PropType< CSSProperties | CSSProperties[]>;
|
|
101
|
+
default: CSSProperties | CSSProperties[];
|
|
102
|
+
};
|
|
103
|
+
onChange: {
|
|
104
|
+
type: PropType<(value: number | [number, number]) => void>;
|
|
105
|
+
default: (value: number | [number, number]) => void;
|
|
106
|
+
};
|
|
107
|
+
onAfterChange: {
|
|
108
|
+
type: PropType<(value: number | [number, number]) => void>;
|
|
109
|
+
default: (value: number | [number, number]) => void;
|
|
110
|
+
};
|
|
111
|
+
onFocus: {
|
|
112
|
+
type: PropType<FocusEventHandler>;
|
|
113
|
+
default: FocusEventHandler;
|
|
114
|
+
};
|
|
115
|
+
onBlur: {
|
|
116
|
+
type: PropType<FocusEventHandler>;
|
|
117
|
+
default: FocusEventHandler;
|
|
118
|
+
};
|
|
119
|
+
'onUpdate:value': {
|
|
120
|
+
type: PropType<(value: number | [number, number]) => void>;
|
|
121
|
+
default: (value: number | [number, number]) => void;
|
|
122
|
+
};
|
|
123
|
+
}>> & {
|
|
124
|
+
emptyText?: string;
|
|
125
|
+
defaultValue?: number | [number, number];
|
|
126
|
+
} & {
|
|
35
127
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
}
|
|
128
|
+
}>, {
|
|
37
129
|
min: number;
|
|
38
130
|
max: number;
|
|
39
131
|
step: number;
|
|
@@ -41,28 +133,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
41
133
|
tooltipOpen: boolean;
|
|
42
134
|
tooltipVisible: boolean;
|
|
43
135
|
emptyText: string;
|
|
44
|
-
}, {}>;
|
|
136
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
|
|
45
137
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
46
138
|
export default _default;
|
|
47
|
-
type __VLS_WithDefaults<P, D> = {
|
|
48
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
-
default: D[K];
|
|
50
|
-
}> : P[K];
|
|
51
|
-
};
|
|
52
|
-
type __VLS_Prettify<T> = {
|
|
53
|
-
[K in keyof T]: T[K];
|
|
54
|
-
} & {};
|
|
55
139
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
140
|
new (): {
|
|
57
141
|
$slots: S;
|
|
58
142
|
};
|
|
59
143
|
};
|
|
60
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
-
type __VLS_TypePropsToOption<T> = {
|
|
62
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
-
} : {
|
|
65
|
-
type: PropType<T[K]>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
};
|