@aplus-frontend/ui 0.1.8 → 0.1.9
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 +57 -56
- package/es/src/ap-action/group/index.vue.d.ts +30 -3
- package/es/src/ap-action/item/index.vue.d.ts +30 -3
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +39 -10
- package/es/src/ap-action/item-modal/index.vue.d.ts +33 -6
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +33 -7
- package/es/src/ap-custom-column/column-select.vue.d.ts +14 -5
- package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
- package/es/src/ap-custom-column/custom-column.vue.d.ts +14 -5
- package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -2
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +13 -4
- package/es/src/ap-download/ap-download.vue.d.ts +28 -3
- package/es/src/ap-field/checkbox/index.vue.d.ts +31 -40
- package/es/src/ap-field/date/index.vue.d.ts +64 -19
- package/es/src/ap-field/date-range/index.vue.d.ts +66 -20
- package/es/src/ap-field/number/index.vue.d.ts +42 -138
- package/es/src/ap-field/radio/index.vue.d.ts +31 -51
- package/es/src/ap-field/rate/index.vue.d.ts +39 -46
- package/es/src/ap-field/segmented/index.vue.d.ts +32 -47
- package/es/src/ap-field/select/index.vue.d.ts +59 -192
- package/es/src/ap-field/slider/index.vue.d.ts +40 -115
- package/es/src/ap-field/switch/index.vue.d.ts +35 -60
- package/es/src/ap-field/text/index.vue.d.ts +38 -105
- package/es/src/ap-field/text/password.vue.d.ts +45 -113
- package/es/src/ap-field/text-area/index.vue.d.ts +38 -117
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +32 -50
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +25 -30
- package/es/src/ap-form/ap-form-item.vue.d.ts +38 -128
- package/es/src/ap-form/ap-form-item.vue.mjs +52 -42
- package/es/src/ap-form/ap-form-list.vue.d.ts +11 -2
- package/es/src/ap-form/ap-form.vue.d.ts +36 -238
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +37 -7
- package/es/src/ap-form/items/date/index.vue.d.ts +37 -131
- package/es/src/ap-form/items/date-range/index.vue.d.ts +37 -131
- package/es/src/ap-form/items/number/index.vue.d.ts +38 -132
- package/es/src/ap-form/items/radio/index.vue.d.ts +38 -8
- package/es/src/ap-form/items/select/index.vue.d.ts +38 -132
- package/es/src/ap-form/items/switch/index.vue.d.ts +39 -7
- package/es/src/ap-form/items/text/index.vue.d.ts +38 -132
- package/es/src/ap-form/items/text/password.vue.d.ts +38 -132
- package/es/src/ap-form/items/text-area/index.vue.d.ts +38 -9
- package/es/src/ap-form/modal-form/index.vue.d.ts +52 -17
- package/es/src/ap-form/search-form/index.vue.d.ts +50 -254
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +26 -3
- 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 +24 -3
- package/es/src/ap-table/components/status/index.vue.d.ts +11 -2
- package/es/src/ap-table/constants.d.ts +12370 -4527
- 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 +3 -7
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +28 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +88 -88
- package/es/src/ap-tag/ap-tag.vue.d.ts +28 -3
- package/es/src/ap-upload/apUpload.vue.d.ts +48 -23
- 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 +24 -3
- package/es/src/base-button/index.d.ts +110 -7
- package/es/src/base-button/modal-button.vue.d.ts +14 -8
- package/es/src/base-button/pop-confirm-button.vue.d.ts +10 -7
- package/es/src/basic/arrow.vue.d.ts +11 -2
- package/es/src/basic/help.vue.d.ts +50 -324
- package/es/src/basic/index.d.ts +202 -667
- package/es/src/basic/title.vue.d.ts +24 -3
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +11 -2
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +11 -2
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +31 -34
- package/es/src/business/ap-label/ApLabel.vue.d.ts +40 -45
- package/es/src/business/ap-label/ApLabel.vue2.mjs +53 -39
- package/es/src/business/ap-label/ApLabelGroup.d.ts +25 -0
- package/es/src/business/ap-label/ApLabelGroup.mjs +36 -0
- package/es/src/business/ap-label/constans.d.ts +12 -0
- package/es/src/business/ap-label/constans.mjs +13 -0
- package/es/src/business/ap-label/interface.d.ts +16 -2
- package/es/src/business/ap-label/style.css +26 -1
- 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 +28 -3
- package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +30 -3
- package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +73 -6
- package/es/src/business/index.d.ts +965 -201
- package/es/src/business/index.mjs +21 -19
- package/es/src/business/title/ApTitle.vue.d.ts +32 -3
- package/es/src/button/button.vue.d.ts +11 -2
- package/es/src/button/index.d.ts +32 -16
- package/es/src/check-card/group.vue.d.ts +41 -17
- package/es/src/check-card/index.vue.d.ts +35 -20
- package/es/src/config-provider/config-provider.d.ts +137 -41
- package/es/src/config-provider/index.d.ts +545 -161
- package/es/src/container/collapse/header.vue.d.ts +13 -11
- package/es/src/container/collapse/index.vue.d.ts +40 -11
- package/es/src/container/index.d.ts +119 -40
- package/es/src/container/scroll-container.vue.d.ts +12 -3
- package/es/src/count-down/button.vue.d.ts +24 -3
- package/es/src/count-down/index.d.ts +111 -12
- package/es/src/count-down/input.vue.d.ts +24 -3
- package/es/src/cropper/cropper-avatar.vue.d.ts +33 -6
- package/es/src/cropper/cropper-image.vue.d.ts +36 -5
- package/es/src/cropper/cropper-modal.vue.d.ts +21 -13
- package/es/src/cropper/index.d.ts +269 -24
- package/es/src/description/description.vue.d.ts +45 -15
- package/es/src/description/index.d.ts +171 -51
- package/es/src/dropdown/dropdown.vue.d.ts +30 -5
- package/es/src/dropdown/index.d.ts +76 -12
- package/es/src/editable-table/form-item.vue.d.ts +4 -4
- package/es/src/editable-table/index.vue.d.ts +4 -4
- package/es/src/hooks/useControllableValue.d.ts +1 -1
- package/es/src/icon/icon.vue.d.ts +29 -3
- package/es/src/icon/index.d.ts +159 -12
- package/es/src/icon/svg-icon.vue.d.ts +28 -3
- package/es/src/icon-picker/icon-picker.vue.d.ts +38 -5
- package/es/src/icon-picker/index.d.ts +139 -12
- package/es/src/index.mjs +184 -183
- package/es/src/modal/basic.vue.d.ts +117 -147
- package/es/src/modal/components/modal-close.vue.d.ts +26 -5
- package/es/src/modal/components/modal-footer.vue.d.ts +116 -146
- package/es/src/modal/components/modal-header.vue.d.ts +11 -2
- package/es/src/modal/components/modal-wrapper.vue.d.ts +43 -19
- package/es/src/modal/components/modal.d.ts +115 -145
- package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/es/src/modal/index.d.ts +462 -287
- package/es/src/pro-form/components/api-cascader.vue.d.ts +38 -5
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +36 -5
- package/es/src/pro-form/components/api-select.vue.d.ts +38 -5
- package/es/src/pro-form/components/api-transfer.vue.d.ts +40 -5
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +36 -5
- package/es/src/pro-form/components/api-tree.vue.d.ts +28 -5
- package/es/src/pro-form/components/form-action.vue.d.ts +38 -5
- package/es/src/pro-form/components/form-item.vue.d.ts +34 -14
- package/es/src/pro-form/components/radio-button-group.vue.d.ts +24 -3
- package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/es/src/pro-form/pro-form.vue.d.ts +57 -6
- package/es/src/pro-form/table-form-inner.vue.d.ts +34 -5
- package/es/src/pro-form/table-form.vue.d.ts +29 -4
- package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +9 -6
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +26 -96
- package/es/src/pro-table/components/header-cell.vue.d.ts +9 -726
- 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 +11 -8
- 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 +24 -10
- package/es/src/pro-table/components/table-footer.vue.d.ts +30 -5
- package/es/src/pro-table/components/table-header.vue.d.ts +31 -15
- package/es/src/pro-table/components/table-image.vue.d.ts +32 -3
- package/es/src/pro-table/components/table-selection-bar.vue.d.ts +26 -5
- package/es/src/pro-table/components/table-title.vue.d.ts +13 -7
- package/es/src/pro-table/pro-table.vue.d.ts +61 -8
- package/es/src/prompt/dialog.vue.d.ts +11 -2
- package/es/src/scroll-bar/bar-item.d.ts +9 -10
- package/es/src/scroll-bar/index.d.ts +135 -12
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +36 -5
- package/es/src/strength-meter/index.d.ts +55 -12
- package/es/src/strength-meter/strength-meter.vue.d.ts +26 -5
- package/es/src/tests/wrapper.d.ts +6 -3
- package/es/src/theme/ap-label/ap-label.css +26 -1
- package/es/src/transition/collapse-transition.vue.d.ts +2 -2
- package/es/src/transition/create-transition.d.ts +25 -13
- package/es/src/transition/index.d.ts +193 -88
- 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 +15 -6
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +30 -3
- package/lib/src/ap-action/item/index.vue.d.ts +30 -3
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +39 -10
- package/lib/src/ap-action/item-modal/index.vue.d.ts +33 -6
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +33 -7
- package/lib/src/ap-custom-column/column-select.vue.d.ts +14 -5
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +14 -5
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -2
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +13 -4
- package/lib/src/ap-download/ap-download.vue.d.ts +28 -3
- package/lib/src/ap-field/checkbox/index.vue.d.ts +31 -40
- package/lib/src/ap-field/date/index.vue.d.ts +64 -19
- package/lib/src/ap-field/date-range/index.vue.d.ts +66 -20
- package/lib/src/ap-field/number/index.vue.d.ts +42 -138
- package/lib/src/ap-field/radio/index.vue.d.ts +31 -51
- package/lib/src/ap-field/rate/index.vue.d.ts +39 -46
- package/lib/src/ap-field/segmented/index.vue.d.ts +32 -47
- package/lib/src/ap-field/select/index.vue.d.ts +59 -192
- package/lib/src/ap-field/slider/index.vue.d.ts +40 -115
- package/lib/src/ap-field/switch/index.vue.d.ts +35 -60
- package/lib/src/ap-field/text/index.vue.d.ts +38 -105
- package/lib/src/ap-field/text/password.vue.d.ts +45 -113
- package/lib/src/ap-field/text-area/index.vue.d.ts +38 -117
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +32 -50
- 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 +38 -128
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-list.vue.d.ts +11 -2
- package/lib/src/ap-form/ap-form.vue.d.ts +36 -238
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +37 -7
- package/lib/src/ap-form/items/date/index.vue.d.ts +37 -131
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +37 -131
- package/lib/src/ap-form/items/number/index.vue.d.ts +38 -132
- package/lib/src/ap-form/items/radio/index.vue.d.ts +38 -8
- package/lib/src/ap-form/items/select/index.vue.d.ts +38 -132
- package/lib/src/ap-form/items/switch/index.vue.d.ts +39 -7
- package/lib/src/ap-form/items/text/index.vue.d.ts +38 -132
- package/lib/src/ap-form/items/text/password.vue.d.ts +38 -132
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +38 -9
- package/lib/src/ap-form/modal-form/index.vue.d.ts +52 -17
- package/lib/src/ap-form/search-form/index.vue.d.ts +50 -254
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +26 -3
- 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 +24 -3
- package/lib/src/ap-table/components/status/index.vue.d.ts +11 -2
- package/lib/src/ap-table/constants.d.ts +12370 -4527
- 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 +3 -7
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +28 -3
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +28 -3
- package/lib/src/ap-upload/apUpload.vue.d.ts +48 -23
- 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 +24 -3
- package/lib/src/base-button/index.d.ts +110 -7
- package/lib/src/base-button/modal-button.vue.d.ts +14 -8
- package/lib/src/base-button/pop-confirm-button.vue.d.ts +10 -7
- package/lib/src/basic/arrow.vue.d.ts +11 -2
- package/lib/src/basic/help.vue.d.ts +50 -324
- package/lib/src/basic/index.d.ts +202 -667
- package/lib/src/basic/title.vue.d.ts +24 -3
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +11 -2
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +11 -2
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +31 -34
- package/lib/src/business/ap-label/ApLabel.vue.d.ts +40 -45
- package/lib/src/business/ap-label/ApLabel.vue2.js +1 -1
- package/lib/src/business/ap-label/ApLabelGroup.d.ts +25 -0
- package/lib/src/business/ap-label/ApLabelGroup.js +1 -0
- package/lib/src/business/ap-label/constans.d.ts +12 -0
- package/lib/src/business/ap-label/constans.js +1 -0
- package/lib/src/business/ap-label/interface.d.ts +16 -2
- package/lib/src/business/ap-label/style.css +26 -1
- 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 +28 -3
- package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +30 -3
- package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +73 -6
- package/lib/src/business/index.d.ts +965 -201
- package/lib/src/business/index.js +1 -1
- package/lib/src/business/title/ApTitle.vue.d.ts +32 -3
- package/lib/src/button/button.vue.d.ts +11 -2
- package/lib/src/button/index.d.ts +32 -16
- package/lib/src/check-card/group.vue.d.ts +41 -17
- package/lib/src/check-card/index.vue.d.ts +35 -20
- package/lib/src/config-provider/config-provider.d.ts +137 -41
- package/lib/src/config-provider/index.d.ts +545 -161
- package/lib/src/container/collapse/header.vue.d.ts +13 -11
- package/lib/src/container/collapse/index.vue.d.ts +40 -11
- package/lib/src/container/index.d.ts +119 -40
- package/lib/src/container/scroll-container.vue.d.ts +12 -3
- package/lib/src/count-down/button.vue.d.ts +24 -3
- package/lib/src/count-down/index.d.ts +111 -12
- package/lib/src/count-down/input.vue.d.ts +24 -3
- package/lib/src/cropper/cropper-avatar.vue.d.ts +33 -6
- package/lib/src/cropper/cropper-image.vue.d.ts +36 -5
- package/lib/src/cropper/cropper-modal.vue.d.ts +21 -13
- package/lib/src/cropper/index.d.ts +269 -24
- package/lib/src/description/description.vue.d.ts +45 -15
- package/lib/src/description/index.d.ts +171 -51
- package/lib/src/dropdown/dropdown.vue.d.ts +30 -5
- package/lib/src/dropdown/index.d.ts +76 -12
- package/lib/src/editable-table/form-item.vue.d.ts +4 -4
- package/lib/src/editable-table/index.vue.d.ts +4 -4
- package/lib/src/hooks/useControllableValue.d.ts +1 -1
- package/lib/src/icon/icon.vue.d.ts +29 -3
- package/lib/src/icon/index.d.ts +159 -12
- package/lib/src/icon/svg-icon.vue.d.ts +28 -3
- package/lib/src/icon-picker/icon-picker.vue.d.ts +38 -5
- package/lib/src/icon-picker/index.d.ts +139 -12
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +117 -147
- package/lib/src/modal/components/modal-close.vue.d.ts +26 -5
- package/lib/src/modal/components/modal-footer.vue.d.ts +116 -146
- package/lib/src/modal/components/modal-header.vue.d.ts +11 -2
- package/lib/src/modal/components/modal-wrapper.vue.d.ts +43 -19
- package/lib/src/modal/components/modal.d.ts +115 -145
- package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
- package/lib/src/modal/index.d.ts +462 -287
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +38 -5
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +36 -5
- package/lib/src/pro-form/components/api-select.vue.d.ts +38 -5
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +40 -5
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +36 -5
- package/lib/src/pro-form/components/api-tree.vue.d.ts +28 -5
- package/lib/src/pro-form/components/form-action.vue.d.ts +38 -5
- package/lib/src/pro-form/components/form-item.vue.d.ts +34 -14
- package/lib/src/pro-form/components/radio-button-group.vue.d.ts +24 -3
- package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +57 -6
- package/lib/src/pro-form/table-form-inner.vue.d.ts +34 -5
- package/lib/src/pro-form/table-form.vue.d.ts +29 -4
- package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +9 -6
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +26 -96
- package/lib/src/pro-table/components/header-cell.vue.d.ts +9 -726
- 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 +11 -8
- 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 +24 -10
- package/lib/src/pro-table/components/table-footer.vue.d.ts +30 -5
- package/lib/src/pro-table/components/table-header.vue.d.ts +31 -15
- package/lib/src/pro-table/components/table-image.vue.d.ts +32 -3
- package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +26 -5
- package/lib/src/pro-table/components/table-title.vue.d.ts +13 -7
- package/lib/src/pro-table/pro-table.vue.d.ts +61 -8
- package/lib/src/prompt/dialog.vue.d.ts +11 -2
- package/lib/src/scroll-bar/bar-item.d.ts +9 -10
- package/lib/src/scroll-bar/index.d.ts +135 -12
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +36 -5
- package/lib/src/strength-meter/index.d.ts +55 -12
- package/lib/src/strength-meter/strength-meter.vue.d.ts +26 -5
- package/lib/src/tests/wrapper.d.ts +6 -3
- package/lib/src/theme/ap-label/ap-label.css +26 -1
- package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
- package/lib/src/transition/create-transition.d.ts +25 -13
- package/lib/src/transition/index.d.ts +193 -88
- 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 +15 -6
- package/package.json +2 -2
|
@@ -1,15 +1,36 @@
|
|
|
1
1
|
import { BasicTitleProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: DefineComponent<
|
|
6
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BasicTitleProps>, {
|
|
7
|
+
helpMessage: string;
|
|
8
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BasicTitleProps>, {
|
|
9
|
+
helpMessage: string;
|
|
10
|
+
}>>>, {
|
|
7
11
|
helpMessage: string | string[];
|
|
8
|
-
}, {}
|
|
12
|
+
}, {}>;
|
|
9
13
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
10
14
|
export default _default;
|
|
15
|
+
type __VLS_WithDefaults<P, D> = {
|
|
16
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
17
|
+
default: D[K];
|
|
18
|
+
}> : P[K];
|
|
19
|
+
};
|
|
20
|
+
type __VLS_Prettify<T> = {
|
|
21
|
+
[K in keyof T]: T[K];
|
|
22
|
+
} & {};
|
|
11
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
24
|
new (): {
|
|
13
25
|
$slots: S;
|
|
14
26
|
};
|
|
15
27
|
};
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ApBatchActionProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
prefix?(_: {}): any;
|
|
5
5
|
suffix?(_: {}): any;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<ApBatchActionProps
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<ApBatchActionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<ApBatchActionProps>>>, {}, {}>;
|
|
8
8
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
9
|
export default _default;
|
|
10
10
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -12,3 +12,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
12
12
|
$slots: S;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { Props } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<Props
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
|
|
4
4
|
export default _default;
|
|
5
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
|
+
type __VLS_TypePropsToOption<T> = {
|
|
7
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
|
+
} : {
|
|
10
|
+
type: PropType<T[K]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,40 +1,37 @@
|
|
|
1
|
-
import { ApInputRadioProps
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ApInputRadioProps } from './interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApInputRadioProps>, {
|
|
4
|
+
bordered: boolean;
|
|
5
|
+
controls: boolean;
|
|
6
|
+
stringMode: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
8
|
"update:value": (...args: any[]) => void;
|
|
7
|
-
}, string, PublicProps, Readonly<{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
disabled?: boolean | undefined;
|
|
13
|
-
bordered?: boolean | undefined;
|
|
14
|
-
autofocus?: boolean | undefined;
|
|
15
|
-
onPressEnter?: KeyboardEventHandler | undefined;
|
|
16
|
-
stringMode?: boolean | undefined;
|
|
17
|
-
min?: ValueType | undefined;
|
|
18
|
-
max?: ValueType | undefined;
|
|
19
|
-
step?: ValueType | undefined;
|
|
20
|
-
controls?: boolean | undefined;
|
|
21
|
-
formatter?: ((value: ValueType, info: {
|
|
22
|
-
userTyping: boolean;
|
|
23
|
-
input: string;
|
|
24
|
-
}) => string) | undefined;
|
|
25
|
-
precision?: number | undefined;
|
|
26
|
-
decimalSeparator?: string | undefined;
|
|
27
|
-
onStep?: ((value: ValueType, info: {
|
|
28
|
-
offset: ValueType;
|
|
29
|
-
type: "up" | "down";
|
|
30
|
-
}) => void) | undefined;
|
|
31
|
-
} & ApInputValType & {
|
|
32
|
-
options: ApInputRadioOptions;
|
|
33
|
-
} & {
|
|
9
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApInputRadioProps>, {
|
|
10
|
+
bordered: boolean;
|
|
11
|
+
controls: boolean;
|
|
12
|
+
stringMode: boolean;
|
|
13
|
+
}>>> & {
|
|
34
14
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
}
|
|
15
|
+
}, {
|
|
36
16
|
bordered: boolean;
|
|
37
17
|
stringMode: boolean;
|
|
38
18
|
controls: boolean;
|
|
39
|
-
}, {}
|
|
19
|
+
}, {}>;
|
|
40
20
|
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,61 +1,56 @@
|
|
|
1
1
|
import { ApLabelProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
3
|
-
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
4
|
-
import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
5
3
|
import { TooltipPlacement } from 'ant-design-vue/es/tooltip';
|
|
6
|
-
declare function __VLS_template():
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
default: any;
|
|
22
|
-
};
|
|
23
|
-
prefixCls: StringConstructor;
|
|
24
|
-
scrollNumberPrefixCls: StringConstructor;
|
|
25
|
-
status: {
|
|
26
|
-
type: PropType<"error" | "default" | "success" | "processing" | "warning">;
|
|
27
|
-
};
|
|
28
|
-
size: {
|
|
29
|
-
type: PropType<"default" | "small">;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
color: PropType<LiteralUnion<"blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue">>;
|
|
33
|
-
text: VueTypeValidableDef<any>;
|
|
34
|
-
offset: PropType<[string | number, string | number]>;
|
|
35
|
-
numberStyle: {
|
|
36
|
-
type: PropType<CSSProperties>;
|
|
37
|
-
default: CSSProperties;
|
|
38
|
-
};
|
|
39
|
-
title: StringConstructor;
|
|
40
|
-
}>> & Partial<{
|
|
41
|
-
helpMessage: string;
|
|
42
|
-
placement: TooltipPlacement;
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
custom?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApLabelProps>, {
|
|
9
|
+
status: string;
|
|
10
|
+
placement: string;
|
|
11
|
+
iconColor: string;
|
|
12
|
+
iconType: string;
|
|
13
|
+
iconSize: number;
|
|
14
|
+
text: string;
|
|
15
|
+
show: boolean;
|
|
16
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApLabelProps>, {
|
|
17
|
+
status: string;
|
|
18
|
+
placement: string;
|
|
43
19
|
iconColor: string;
|
|
44
|
-
iconType:
|
|
20
|
+
iconType: string;
|
|
45
21
|
iconSize: number;
|
|
46
|
-
|
|
47
|
-
|
|
22
|
+
text: string;
|
|
23
|
+
show: boolean;
|
|
24
|
+
}>>>, {
|
|
48
25
|
placement: TooltipPlacement;
|
|
49
|
-
iconType: "question" | "warning" | "ellipsis";
|
|
26
|
+
iconType: "question" | "warning" | "ellipsis" | "success";
|
|
50
27
|
text: any;
|
|
51
28
|
iconSize: number;
|
|
52
29
|
status: "error" | "default" | "success" | "warning" | "processing";
|
|
30
|
+
show: boolean;
|
|
53
31
|
iconColor: string;
|
|
54
|
-
}, {}
|
|
32
|
+
}, {}>;
|
|
55
33
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
56
34
|
export default _default;
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
57
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
44
|
new (): {
|
|
59
45
|
$slots: S;
|
|
60
46
|
};
|
|
61
47
|
};
|
|
48
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
+
type __VLS_TypePropsToOption<T> = {
|
|
50
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
+
} : {
|
|
53
|
+
type: PropType<T[K]>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Badge as
|
|
3
|
-
import { IconApAdLineAnnotation as
|
|
1
|
+
import { defineComponent as y, computed as A, openBlock as l, createElementBlock as p, normalizeClass as c, unref as t, createElementVNode as u, createVNode as k, normalizeProps as C, guardReactiveProps as g, renderSlot as m, Fragment as h, createBlock as n, withCtx as v, normalizeStyle as a, createCommentVNode as o } from "vue";
|
|
2
|
+
import { Badge as b, Tooltip as z } from "ant-design-vue";
|
|
3
|
+
import { IconApAdLineAnnotation as B, IconApAdFillWarn as F, IconApAdFillExecution as S, IconApAdFillSuccessful as w } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import { omit as
|
|
5
|
+
import { omit as x } from "lodash-unified";
|
|
6
6
|
import "./style.css";
|
|
7
|
-
import { useNamespace as
|
|
8
|
-
const
|
|
7
|
+
import { useNamespace as T } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
|
+
const $ = /* @__PURE__ */ y({
|
|
9
9
|
name: "ApLabel",
|
|
10
10
|
__name: "ApLabel",
|
|
11
11
|
props: {
|
|
@@ -27,44 +27,58 @@ const P = /* @__PURE__ */ m({
|
|
|
27
27
|
iconColor: { default: "#FF4D4F" },
|
|
28
28
|
iconType: { default: "question" },
|
|
29
29
|
iconSize: { default: 16 },
|
|
30
|
-
|
|
30
|
+
show: { type: Boolean, default: !0 }
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const
|
|
32
|
+
setup(d) {
|
|
33
|
+
const s = A(() => ({
|
|
34
34
|
color: e.iconColor,
|
|
35
35
|
"font-size": e.iconSize + "px",
|
|
36
|
-
"margin-left": "
|
|
37
|
-
})), e =
|
|
38
|
-
return (
|
|
39
|
-
|
|
36
|
+
"margin-left": "4px"
|
|
37
|
+
})), e = d, { b: f, e: i } = T("ap-label");
|
|
38
|
+
return (r, N) => e.show ? (l(), p("div", {
|
|
39
|
+
key: 0,
|
|
40
|
+
class: c([t(f)()])
|
|
40
41
|
}, [
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
e.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
style:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
style:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
42
|
+
u("div", {
|
|
43
|
+
class: c([t(i)("content")])
|
|
44
|
+
}, [
|
|
45
|
+
k(t(b), C(g(t(x)(e, ["helpMessage", "placement", "iconColor"]))), null, 16),
|
|
46
|
+
r.$slots.default ? m(r.$slots, "default", { key: 0 }) : (l(), p(h, { key: 1 }, [
|
|
47
|
+
e.helpMessage ? (l(), n(t(z), {
|
|
48
|
+
key: 0,
|
|
49
|
+
placement: e.placement,
|
|
50
|
+
title: e.helpMessage
|
|
51
|
+
}, {
|
|
52
|
+
default: v(() => [
|
|
53
|
+
e.iconType === "question" ? (l(), n(t(B), {
|
|
54
|
+
key: 0,
|
|
55
|
+
style: a(s.value)
|
|
56
|
+
}, null, 8, ["style"])) : o("", !0),
|
|
57
|
+
e.iconType === "warning" ? (l(), n(t(F), {
|
|
58
|
+
key: 1,
|
|
59
|
+
style: a(s.value)
|
|
60
|
+
}, null, 8, ["style"])) : o("", !0),
|
|
61
|
+
e.iconType === "ellipsis" ? (l(), n(t(S), {
|
|
62
|
+
key: 2,
|
|
63
|
+
style: a(s.value)
|
|
64
|
+
}, null, 8, ["style"])) : o("", !0),
|
|
65
|
+
e.iconType === "success" ? (l(), n(t(w), {
|
|
66
|
+
key: 3,
|
|
67
|
+
style: a(s.value)
|
|
68
|
+
}, null, 8, ["style"])) : o("", !0)
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 8, ["placement", "title"])) : o("", !0)
|
|
72
|
+
], 64))
|
|
73
|
+
], 2),
|
|
74
|
+
u("div", {
|
|
75
|
+
class: c([t(i)("custom")])
|
|
76
|
+
}, [
|
|
77
|
+
m(r.$slots, "custom")
|
|
78
|
+
], 2)
|
|
79
|
+
], 2)) : o("", !0);
|
|
66
80
|
}
|
|
67
81
|
});
|
|
68
82
|
export {
|
|
69
|
-
|
|
83
|
+
$ as default
|
|
70
84
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AplabelGroupItemProps } from './interface';
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<{
|
|
4
|
+
value: {
|
|
5
|
+
type: PropType<string | number | undefined>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
columns: {
|
|
9
|
+
type: PropType<Array<AplabelGroupItemProps>>;
|
|
10
|
+
default: null;
|
|
11
|
+
};
|
|
12
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
13
|
+
value: {
|
|
14
|
+
type: PropType<string | number | undefined>;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
columns: {
|
|
18
|
+
type: PropType<Array<AplabelGroupItemProps>>;
|
|
19
|
+
default: null;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
value: string | number | undefined;
|
|
23
|
+
columns: AplabelGroupItemProps[];
|
|
24
|
+
}, {}>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as s, createVNode as o, mergeProps as p, createTextVNode as m } from "vue";
|
|
2
|
+
import "../../config-provider/index.mjs";
|
|
3
|
+
import "./ApLabel.vue.mjs";
|
|
4
|
+
import { omit as a } from "lodash-unified";
|
|
5
|
+
import { ApLabelGroupProps as f } from "./constans.mjs";
|
|
6
|
+
import { Tag as c } from "ant-design-vue";
|
|
7
|
+
import { useNamespace as d } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
|
+
import g from "./ApLabel.vue2.mjs";
|
|
9
|
+
const {
|
|
10
|
+
b: i
|
|
11
|
+
} = d("ap-label-group"), N = /* @__PURE__ */ s({
|
|
12
|
+
name: "ApLabelGroup",
|
|
13
|
+
props: f(),
|
|
14
|
+
setup(e) {
|
|
15
|
+
const l = (r, u) => {
|
|
16
|
+
var t;
|
|
17
|
+
return (t = r.tagConfig) != null && t.text ? () => o(c, a(r == null ? void 0 : r.tagConfig, ["text"]), {
|
|
18
|
+
default: () => {
|
|
19
|
+
var n;
|
|
20
|
+
return [(n = r.tagConfig) == null ? void 0 : n.text];
|
|
21
|
+
}
|
|
22
|
+
}) : r.customRender ? () => o("div", null, [r.customRender(r.value, u)]) : null;
|
|
23
|
+
};
|
|
24
|
+
return () => o("div", {
|
|
25
|
+
class: i()
|
|
26
|
+
}, [e.columns ? e.columns.map((r, u) => o(g, p({
|
|
27
|
+
key: u,
|
|
28
|
+
show: e.value === r.value
|
|
29
|
+
}, a(r, ["value", "tagConfig", "customRender"])), {
|
|
30
|
+
custom: l(r, e.value)
|
|
31
|
+
})) : o("div", null, [m("columns数组不能为空")])]);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
N as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { AplabelGroupItemProps } from './interface';
|
|
3
|
+
export declare const ApLabelGroupProps: () => {
|
|
4
|
+
value: {
|
|
5
|
+
type: PropType<string | number | undefined>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
columns: {
|
|
9
|
+
type: PropType<Array<AplabelGroupItemProps>>;
|
|
10
|
+
default: null;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import { BadgeProps } from 'ant-design-vue';
|
|
2
2
|
import { TooltipPlacement } from 'ant-design-vue/es/Tooltip';
|
|
3
|
+
import { TagProps } from 'ant-design-vue/es/Tag';
|
|
3
4
|
export type ApLabelProps = BadgeProps & Partial<{
|
|
4
5
|
helpMessage: string;
|
|
5
6
|
placement: TooltipPlacement;
|
|
6
7
|
iconColor: string;
|
|
7
|
-
iconType: 'question' | 'warning' | 'ellipsis';
|
|
8
|
+
iconType: 'question' | 'warning' | 'ellipsis' | 'success';
|
|
8
9
|
iconSize: number;
|
|
9
|
-
|
|
10
|
+
show: boolean;
|
|
10
11
|
}>;
|
|
12
|
+
type tagConfigKey = TagProps & {
|
|
13
|
+
text: string;
|
|
14
|
+
};
|
|
15
|
+
export type AplabelGroupItemProps = ApLabelProps & {
|
|
16
|
+
value?: string | number | undefined;
|
|
17
|
+
tagConfig?: tagConfigKey;
|
|
18
|
+
customRender?: (itemVal: AplabelGroupItemProps['value'], currentVal: ApLabelGroupProps['value']) => any;
|
|
19
|
+
};
|
|
20
|
+
export type ApLabelGroupProps = {
|
|
21
|
+
value: string | number | undefined;
|
|
22
|
+
columns: Array<AplabelGroupItemProps> | null;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
.aplus-ap-label {
|
|
2
2
|
display: flex;
|
|
3
|
-
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: start;
|
|
4
5
|
font-size: 14px;
|
|
5
6
|
}
|
|
7
|
+
.aplus-ap-label__content {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
.aplus-ap-label__custom .ant-tag {
|
|
13
|
+
height: 24px;
|
|
14
|
+
line-height: 24px;
|
|
15
|
+
}
|
|
16
|
+
.aplus-ap-label__custom .ant-tag-green {
|
|
17
|
+
color: #34b77c;
|
|
18
|
+
border-color: #34b77c;
|
|
19
|
+
background: rgba(52, 183, 124, 0.06);
|
|
20
|
+
}
|
|
21
|
+
.aplus-ap-label__custom .ant-tag-red {
|
|
22
|
+
color: #FF4D4F;
|
|
23
|
+
border-color: #FF4D4F;
|
|
24
|
+
background: rgba(255, 77, 79, 0.06);
|
|
25
|
+
}
|
|
26
|
+
.aplus-ap-label__custom .ant-tag-blue {
|
|
27
|
+
color: #1890ff;
|
|
28
|
+
border-color: #1890ff;
|
|
29
|
+
background: rgba(24, 144, 255, 0.06);
|
|
30
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly onAfterEnter?: ((el: Element) => any) | undefined;
|
|
8
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<{
|
|
5
|
+
onAfterLeave?: ((el: Element) => any) | undefined;
|
|
6
|
+
onAfterEnter?: ((el: Element) => any) | undefined;
|
|
9
7
|
onOnSelect?: ((value: T) => any) | undefined;
|
|
8
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>> & {
|
|
10
9
|
onAfterLeave?: ((el: Element) => any) | undefined;
|
|
11
10
|
onAfterEnter?: ((el: Element) => any) | undefined;
|
|
12
|
-
|
|
11
|
+
onOnSelect?: ((value: T) => any) | undefined;
|
|
12
|
+
}, never>, "onAfterLeave" | "onAfterEnter" | "onOnSelect"> & ApSelectLayoutProps<T>> & PublicProps;
|
|
13
13
|
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
14
14
|
attrs: any;
|
|
15
15
|
slots: ReturnType<() => {
|