@aplus-frontend/ui 0.0.1-beta.3 → 0.0.1-beta.30
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 +217 -127
- package/es/src/ap-action/constant.d.ts +0 -0
- package/es/src/ap-action/group/index.vue.d.ts +38 -0
- package/es/src/ap-action/group/index.vue.mjs +76 -0
- package/es/src/ap-action/group/index.vue2.mjs +4 -0
- package/es/src/ap-action/index.d.ts +14 -0
- package/es/src/ap-action/index.mjs +20 -0
- package/es/src/ap-action/interface.d.ts +81 -0
- package/es/src/ap-action/interface.mjs +1 -0
- package/es/src/ap-action/item/index.vue.d.ts +44 -0
- package/es/src/ap-action/item/index.vue.mjs +4 -0
- package/es/src/ap-action/item/index.vue2.mjs +49 -0
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
- package/es/src/ap-action/item-dropdown/index.vue.mjs +95 -0
- package/es/src/ap-action/item-dropdown/index.vue2.mjs +4 -0
- package/es/src/ap-action/item-modal/index.vue.d.ts +41 -0
- package/es/src/ap-action/item-modal/index.vue.mjs +35 -0
- package/es/src/ap-action/item-modal/index.vue2.mjs +4 -0
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +39 -0
- package/es/src/ap-action/item-popconfirm/index.vue2.mjs +4 -0
- package/es/src/ap-action/style/item-dropdown.css +11 -0
- package/es/src/ap-action/style/item.css +33 -0
- package/es/src/ap-custom-column/column-select.vue.d.ts +18 -0
- package/es/src/ap-custom-column/column-select.vue.mjs +102 -0
- package/es/src/ap-custom-column/column-select.vue2.mjs +4 -0
- package/es/src/ap-custom-column/custom-column.vue.d.ts +18 -0
- package/es/src/ap-custom-column/custom-column.vue.mjs +83 -0
- package/es/src/ap-custom-column/custom-column.vue2.mjs +4 -0
- package/es/src/ap-custom-column/index.d.ts +7 -0
- package/es/src/ap-custom-column/index.mjs +9 -0
- package/es/src/ap-custom-column/interfaces.d.ts +41 -0
- package/es/src/ap-custom-column/interfaces.mjs +1 -0
- package/es/src/ap-custom-column/storage.d.ts +8 -0
- package/es/src/ap-custom-column/storage.mjs +29 -0
- package/es/src/ap-custom-column/styles/column-select.css +44 -0
- package/es/src/ap-custom-column/styles/custom-column.css +46 -0
- package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +10 -0
- package/es/src/ap-custom-column/useCacheColumnSetting.mjs +9 -0
- package/es/src/ap-custom-column/utils.d.ts +3 -0
- package/es/src/ap-custom-column/utils.mjs +17 -0
- package/es/src/ap-download/ap-download.vue.d.ts +41 -0
- package/es/src/ap-download/ap-download.vue.mjs +56 -0
- package/es/src/ap-download/ap-download.vue2.mjs +4 -0
- package/es/src/ap-download/hooks/index.d.ts +9 -0
- package/es/src/ap-download/hooks/index.mjs +20 -0
- package/es/src/ap-download/index.d.ts +4 -0
- package/es/src/ap-download/index.mjs +2 -0
- package/es/src/ap-download/interface.d.ts +33 -0
- package/es/src/ap-download/interface.mjs +1 -0
- package/es/src/ap-download/style/ap-download.css +51 -0
- package/es/src/ap-field/checkbox/helper.mjs +5 -0
- package/es/src/ap-field/checkbox/index.vue.d.ts +39 -0
- package/es/src/ap-field/checkbox/index.vue.mjs +63 -0
- package/es/src/ap-field/checkbox/index.vue2.mjs +4 -0
- package/es/src/ap-field/date/constant.d.ts +11 -1
- package/es/src/ap-field/date/constant.mjs +50 -0
- package/es/src/ap-field/date/helper.d.ts +5 -0
- package/es/src/ap-field/date/helper.mjs +10 -0
- package/es/src/ap-field/date/index.vue.d.ts +57 -0
- package/es/src/ap-field/date/index.vue.mjs +74 -0
- package/es/src/ap-field/date/index.vue2.mjs +4 -0
- package/es/src/ap-field/date/interface.d.ts +2 -0
- package/es/src/ap-field/date-range/index.vue.d.ts +59 -0
- package/es/src/ap-field/date-range/index.vue.mjs +93 -0
- package/es/src/ap-field/date-range/index.vue2.mjs +4 -0
- package/es/src/ap-field/index.d.ts +21 -2
- package/es/src/ap-field/index.mjs +42 -0
- package/es/src/ap-field/interface.d.ts +69 -6
- package/es/src/ap-field/interface.mjs +1 -0
- package/es/src/ap-field/number/helper.d.ts +1 -0
- package/es/src/ap-field/number/helper.mjs +14 -0
- package/es/src/ap-field/number/index.vue.d.ts +72 -0
- package/es/src/ap-field/number/index.vue.mjs +106 -0
- package/es/src/ap-field/number/index.vue2.mjs +4 -0
- package/es/src/ap-field/number/style.css +6 -0
- package/es/src/ap-field/radio/helper.d.ts +4 -0
- package/es/src/ap-field/radio/helper.mjs +5 -0
- package/es/src/ap-field/radio/index.vue.d.ts +40 -0
- package/es/src/ap-field/radio/index.vue.mjs +74 -0
- package/es/src/ap-field/radio/index.vue2.mjs +4 -0
- package/es/src/ap-field/select/index.vue.d.ts +235 -0
- package/es/src/ap-field/select/index.vue.mjs +114 -0
- package/es/src/ap-field/select/index.vue2.mjs +4 -0
- package/es/src/ap-field/switch/index.vue.d.ts +54 -0
- package/es/src/ap-field/switch/index.vue.mjs +122 -0
- package/es/src/ap-field/switch/index.vue2.mjs +4 -0
- package/es/src/ap-field/text/index.vue.d.ts +66 -0
- package/es/src/ap-field/text/index.vue.mjs +133 -0
- package/es/src/ap-field/text/index.vue2.mjs +4 -0
- package/es/src/ap-field/text-area/index.vue.d.ts +49 -0
- package/es/src/ap-field/text-area/index.vue.mjs +86 -0
- package/es/src/ap-field/text-area/index.vue2.mjs +4 -0
- package/es/src/ap-field/text-area/style.css +5 -0
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +10 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +30 -11
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +32 -28
- package/es/src/ap-form/ap-form-item.vue.d.ts +26 -5
- package/es/src/ap-form/ap-form-item.vue.mjs +96 -21
- package/es/src/ap-form/ap-form-list.vue.d.ts +35 -0
- package/es/src/ap-form/ap-form-list.vue.mjs +41 -0
- package/es/src/ap-form/ap-form-list.vue2.mjs +4 -0
- package/es/src/ap-form/ap-form.vue.d.ts +66 -0
- package/es/src/ap-form/ap-form.vue.mjs +4 -0
- package/es/src/ap-form/ap-form.vue2.mjs +89 -0
- package/es/src/ap-form/context.d.ts +11 -0
- package/es/src/ap-form/context.mjs +17 -0
- package/es/src/ap-form/index.d.ts +18 -2593
- package/es/src/ap-form/index.mjs +25 -7
- package/es/src/ap-form/interface.d.ts +63 -2
- package/es/src/ap-form/interface.mjs +1 -0
- package/es/src/ap-form/items/date/index.vue.d.ts +65 -0
- package/es/src/ap-form/items/date/index.vue.mjs +80 -0
- package/es/src/ap-form/items/date/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/date-range/index.vue.d.ts +64 -0
- package/es/src/ap-form/items/date-range/index.vue.mjs +80 -0
- package/es/src/ap-form/items/date-range/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/index.d.ts +10 -0
- package/es/src/ap-form/items/index.mjs +8 -0
- package/es/src/ap-form/items/interface.d.ts +41 -0
- package/es/src/ap-form/items/number/index.vue.d.ts +63 -0
- package/es/src/ap-form/items/number/index.vue.mjs +84 -0
- package/es/src/ap-form/items/number/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/radio/index.vue.d.ts +50 -0
- package/es/src/ap-form/items/radio/index.vue.mjs +74 -0
- package/es/src/ap-form/items/radio/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/select/index.vue.d.ts +69 -0
- package/es/src/ap-form/items/select/index.vue.mjs +89 -0
- package/es/src/ap-form/items/select/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/switch/index.vue.d.ts +60 -0
- package/es/src/ap-form/items/switch/index.vue.mjs +68 -0
- package/es/src/ap-form/items/switch/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/text/index.vue.d.ts +66 -0
- package/es/src/ap-form/items/text/index.vue.mjs +95 -0
- package/es/src/ap-form/items/text/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/text-area/index.vue.d.ts +52 -0
- package/es/src/ap-form/items/text-area/index.vue.mjs +79 -0
- package/es/src/ap-form/items/text-area/index.vue2.mjs +4 -0
- package/es/src/ap-form/modal-form/index.vue.d.ts +378 -0
- package/es/src/ap-form/modal-form/index.vue.mjs +239 -0
- package/es/src/ap-form/modal-form/index.vue2.mjs +4 -0
- package/es/src/ap-form/search-form/index.vue.d.ts +76 -0
- package/es/src/ap-form/search-form/index.vue.mjs +201 -0
- package/es/src/ap-form/search-form/index.vue2.mjs +4 -0
- package/es/src/ap-form/style/ap-form-item.css +50 -0
- package/es/src/ap-form/style/modal-form.css +17 -0
- package/es/src/ap-form/style/search-form.css +3 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +41 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs +61 -0
- package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue2.mjs +4 -0
- package/es/src/ap-layout/index.d.ts +3 -0
- package/es/src/ap-layout/index.mjs +1 -0
- package/es/src/ap-layout/interface.d.ts +4 -0
- package/es/src/ap-layout/style/ap-info-layout.css +64 -0
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +34 -0
- package/es/src/ap-tag/ap-tag-group.vue.mjs +137 -0
- package/es/src/ap-tag/ap-tag-group.vue2.mjs +4 -0
- package/es/src/ap-tag/ap-tag.vue.d.ts +34 -0
- package/es/src/ap-tag/ap-tag.vue.mjs +41 -0
- package/es/src/ap-tag/ap-tag.vue2.mjs +4 -0
- package/es/src/ap-tag/index.d.ts +5 -0
- package/es/src/ap-tag/index.mjs +3 -0
- package/es/src/ap-tag/interface.d.ts +35 -0
- package/es/src/ap-tag/interface.mjs +1 -0
- package/es/src/ap-tag/style/ap-tag-group.css +6 -0
- package/es/src/ap-tag/style/ap-tag.css +40 -0
- package/es/src/ap-upload/apUpload.vue.d.ts +111 -0
- package/es/src/ap-upload/apUpload.vue.mjs +95 -0
- package/es/src/ap-upload/apUpload.vue2.mjs +4 -0
- package/es/src/ap-upload/apUploadTypes.d.ts +90 -0
- package/es/src/ap-upload/apUploadTypes.mjs +4 -0
- package/es/src/ap-upload/assets/single-file-icon.png.mjs +4 -0
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +4 -0
- package/es/src/ap-upload/components/MultipleFile.vue.mjs +4 -0
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +197 -0
- package/es/src/ap-upload/components/Picture.vue.d.ts +4 -0
- package/es/src/ap-upload/components/Picture.vue.mjs +4 -0
- package/es/src/ap-upload/components/Picture.vue2.mjs +219 -0
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +4 -0
- package/es/src/ap-upload/components/SingleFile.vue.mjs +4 -0
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +213 -0
- package/es/src/ap-upload/hooks/useOss.d.ts +19 -0
- package/es/src/ap-upload/hooks/useOss.mjs +62 -0
- package/es/src/ap-upload/index.d.ts +5 -0
- package/es/src/ap-upload/index.mjs +11 -0
- package/es/src/ap-upload/styles/multiple-file.css +58 -0
- package/es/src/ap-upload/styles/picture.css +112 -0
- package/es/src/ap-upload/styles/single-file.css +98 -0
- package/es/src/ap-upload/styles/upload.css +6 -0
- package/es/src/ap-upload/utils/accept.d.ts +13 -0
- package/es/src/ap-upload/utils/accept.mjs +51 -0
- package/es/src/ap-upload/utils/returnData.d.ts +19 -0
- package/es/src/ap-upload/utils/returnData.mjs +21 -0
- package/es/src/base-button/button.vue.mjs +2 -58
- package/es/src/base-button/button.vue2.mjs +59 -2
- package/es/src/base-button/index.mjs +8 -8
- package/es/src/base-button/interface.mjs +1 -0
- package/es/src/base-button/modal-button.vue.mjs +12 -11
- package/es/src/base-button/pop-confirm-button.vue.mjs +15 -14
- package/es/src/basic/arrow.vue.mjs +2 -38
- package/es/src/basic/arrow.vue2.mjs +38 -2
- package/es/src/basic/help.vue.d.ts +1 -1
- package/es/src/basic/help.vue.mjs +2 -96
- package/es/src/basic/help.vue2.mjs +96 -2
- package/es/src/basic/index.mjs +11 -7
- package/es/src/basic/interface.mjs +1 -0
- package/es/src/basic/title.vue.mjs +2 -32
- package/es/src/basic/title.vue2.mjs +33 -2
- package/es/src/components.d.ts +2 -0
- package/es/src/config-provider/config-provider-props.d.ts +5 -1
- package/es/src/config-provider/config-provider-props.mjs +7 -3
- package/es/src/config-provider/config-provider.d.ts +22 -13
- package/es/src/config-provider/config-provider.mjs +21 -16
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/es/src/config-provider/hooks/use-locale.mjs +1 -0
- package/es/src/config-provider/index.mjs +26 -12
- package/es/src/container/collapse/header.vue.mjs +2 -49
- package/es/src/container/collapse/header.vue2.mjs +49 -2
- package/es/src/container/collapse/index.vue.mjs +2 -85
- package/es/src/container/collapse/index.vue2.mjs +86 -2
- package/es/src/container/collapse/style/header.css +1 -1
- package/es/src/container/collapse/style/index.css +1 -1
- package/es/src/container/index.mjs +8 -5
- package/es/src/container/interface.mjs +1 -0
- package/es/src/container/scroll-container.vue.mjs +2 -60
- package/es/src/container/scroll-container.vue2.mjs +60 -2
- package/es/src/count-down/button.vue.mjs +2 -44
- package/es/src/count-down/button.vue2.mjs +44 -2
- package/es/src/count-down/index.mjs +8 -5
- package/es/src/count-down/input.vue.mjs +2 -44
- package/es/src/count-down/input.vue2.mjs +45 -2
- package/es/src/count-down/interface.mjs +1 -0
- package/es/src/cropper/cropper-avatar.vue.d.ts +1 -1
- package/es/src/cropper/cropper-avatar.vue.mjs +2 -94
- package/es/src/cropper/cropper-avatar.vue2.mjs +96 -2
- package/es/src/cropper/cropper-image.vue.d.ts +1 -1
- package/es/src/cropper/cropper-image.vue.mjs +2 -129
- package/es/src/cropper/cropper-image.vue2.mjs +129 -2
- package/es/src/cropper/cropper-modal.vue.mjs +2 -270
- package/es/src/cropper/cropper-modal.vue2.mjs +271 -2
- package/es/src/cropper/index.mjs +8 -5
- package/es/src/cropper/interface.mjs +1 -0
- package/es/src/cropper/style/avatar.css +1 -1
- package/es/src/cropper/style/modal.css +2 -2
- package/es/src/description/description.vue.d.ts +1 -1
- package/es/src/description/description.vue.mjs +2 -169
- package/es/src/description/description.vue2.mjs +169 -2
- package/es/src/description/index.mjs +8 -5
- package/es/src/description/interface.mjs +1 -0
- package/es/src/design-token/index.d.ts +4 -0
- package/es/src/design-token/index.mjs +65 -0
- package/es/src/dropdown/dropdown.vue.d.ts +1 -1
- package/es/src/dropdown/dropdown.vue.mjs +2 -92
- package/es/src/dropdown/dropdown.vue2.mjs +92 -2
- package/es/src/dropdown/index.mjs +5 -3
- package/es/src/dropdown/interface.mjs +1 -0
- package/es/src/hooks/index.mjs +6 -0
- package/es/src/hooks/useControllableValue.mjs +13 -16
- package/es/src/hooks/useMessage.mjs +1 -1
- package/es/src/icon/icon.vue.mjs +2 -66
- package/es/src/icon/icon.vue2.mjs +67 -2
- package/es/src/icon/index.mjs +8 -5
- package/es/src/icon/interface.mjs +1 -0
- package/es/src/icon/svg-icon.vue.mjs +2 -32
- package/es/src/icon/svg-icon.vue2.mjs +32 -2
- package/es/src/icon-picker/icon-picker.vue.d.ts +3 -3
- package/es/src/icon-picker/icon-picker.vue.mjs +2 -166
- package/es/src/icon-picker/icon-picker.vue2.mjs +168 -2
- package/es/src/icon-picker/index.mjs +7 -5
- package/es/src/icon-picker/interface.mjs +1 -0
- package/es/src/index.d.ts +9 -0
- package/es/src/index.mjs +217 -120
- package/es/src/locale/index.mjs +7 -0
- package/es/src/locale/interface.mjs +1 -0
- package/es/src/locale/lang/en.mjs +8 -1
- package/es/src/locale/lang/zh-cn.mjs +8 -1
- package/es/src/modal/basic.vue.d.ts +4 -3
- package/es/src/modal/basic.vue.mjs +2 -191
- package/es/src/modal/basic.vue2.mjs +199 -2
- package/es/src/modal/components/modal-close.vue.mjs +2 -72
- package/es/src/modal/components/modal-close.vue2.mjs +72 -2
- package/es/src/modal/components/modal-footer.vue.d.ts +2 -2
- package/es/src/modal/components/modal-footer.vue.mjs +2 -43
- package/es/src/modal/components/modal-footer.vue2.mjs +43 -2
- package/es/src/modal/components/modal-header.vue.mjs +1 -18
- package/es/src/modal/components/modal-header.vue2.mjs +18 -1
- package/es/src/modal/components/modal-wrapper.vue.mjs +2 -99
- package/es/src/modal/components/modal-wrapper.vue2.mjs +102 -2
- package/es/src/modal/components/modal.d.ts +1 -1
- package/es/src/modal/components/modal.mjs +6 -6
- package/es/src/modal/hooks/use-modal-drag.mjs +1 -1
- package/es/src/modal/hooks/use-modal.mjs +8 -8
- package/es/src/modal/index.mjs +10 -8
- package/es/src/modal/interface.mjs +1 -0
- package/es/src/modal/props.mjs +1 -1
- package/es/src/modal/style/index.css +30 -31
- package/es/src/pro-form/component-map.mjs +56 -41
- package/es/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-select.vue.d.ts +3 -3
- package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -1
- package/es/src/pro-form/components/api-tree.vue.d.ts +2 -2
- package/es/src/pro-form/components/form-action.vue.mjs +2 -105
- package/es/src/pro-form/components/form-action.vue2.mjs +105 -2
- package/es/src/pro-form/components/form-item.vue.mjs +2 -352
- package/es/src/pro-form/components/form-item.vue2.mjs +352 -2
- package/es/src/pro-form/components/interface.mjs +1 -0
- package/es/src/pro-form/hooks/use-break-point.mjs +21 -20
- package/es/src/pro-form/hooks/use-component-register.d.ts +4 -0
- package/es/src/pro-form/hooks/use-component-register.mjs +13 -0
- package/es/src/pro-form/hooks/use-form-events.mjs +22 -22
- package/es/src/pro-form/hooks/use-form-values.mjs +12 -12
- package/es/src/pro-form/hooks/use-form.mjs +4 -4
- package/es/src/pro-form/hooks/use-label-width.d.ts +8 -8
- package/es/src/pro-form/index.d.ts +5 -1
- package/es/src/pro-form/index.mjs +37 -34
- package/es/src/pro-form/pro-form.vue.d.ts +3 -3
- package/es/src/pro-form/pro-form.vue.mjs +59 -57
- package/es/src/pro-form/style/table-form.css +101 -0
- package/es/src/pro-form/table-form-inner.vue.d.ts +44 -0
- package/es/src/pro-form/table-form-inner.vue.mjs +176 -0
- package/es/src/pro-form/table-form-inner.vue2.mjs +4 -0
- package/es/src/pro-form/table-form.vue.d.ts +42 -0
- package/es/src/pro-form/table-form.vue.mjs +41 -0
- package/es/src/pro-form/table-form.vue2.mjs +4 -0
- package/es/src/pro-form/types/form-item.mjs +1 -0
- package/es/src/pro-form/types/form.d.ts +8 -8
- package/es/src/pro-form/types/table-form.d.ts +37 -0
- package/es/src/pro-form/types/table-form.mjs +1 -0
- package/es/src/pro-table/component-map.mjs +29 -37
- package/es/src/pro-table/components/editable/editable-cell.vue.mjs +2 -378
- package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +378 -2
- package/es/src/pro-table/components/editable/index.mjs +7 -6
- package/es/src/pro-table/components/header-cell.vue.mjs +2 -43
- package/es/src/pro-table/components/header-cell.vue2.mjs +44 -2
- package/es/src/pro-table/components/settings/column-setting.vue.mjs +2 -307
- package/es/src/pro-table/components/settings/column-setting.vue2.mjs +308 -2
- package/es/src/pro-table/components/settings/full-screen-setting.vue.mjs +2 -30
- package/es/src/pro-table/components/settings/full-screen-setting.vue2.mjs +30 -2
- package/es/src/pro-table/components/settings/index.vue.mjs +2 -59
- package/es/src/pro-table/components/settings/index.vue2.mjs +63 -2
- package/es/src/pro-table/components/settings/redo-setting.vue.mjs +2 -26
- package/es/src/pro-table/components/settings/redo-setting.vue2.mjs +26 -2
- package/es/src/pro-table/components/settings/size-setting.vue.mjs +2 -71
- package/es/src/pro-table/components/settings/size-setting.vue2.mjs +71 -2
- package/es/src/pro-table/components/table-action.vue.mjs +2 -2
- package/es/src/pro-table/components/table-footer.vue.mjs +2 -61
- package/es/src/pro-table/components/table-footer.vue2.mjs +61 -2
- package/es/src/pro-table/components/table-header.vue.mjs +2 -86
- package/es/src/pro-table/components/table-header.vue2.mjs +89 -2
- package/es/src/pro-table/components/table-selection-bar.vue.mjs +2 -40
- package/es/src/pro-table/components/table-selection-bar.vue2.mjs +40 -2
- package/es/src/pro-table/components/table-title.vue.mjs +2 -41
- package/es/src/pro-table/components/table-title.vue2.mjs +41 -2
- package/es/src/pro-table/hooks/use-columns.mjs +27 -27
- package/es/src/pro-table/hooks/use-data-source.mjs +45 -46
- package/es/src/pro-table/hooks/use-pagination.mjs +4 -4
- package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -1
- package/es/src/pro-table/hooks/use-table-footer.mjs +8 -7
- package/es/src/pro-table/hooks/use-table-header.mjs +12 -11
- package/es/src/pro-table/index.mjs +12 -0
- package/es/src/pro-table/interface.d.ts +1 -1
- package/es/src/pro-table/interface.mjs +1 -0
- package/es/src/pro-table/pro-table.vue.d.ts +3 -0
- package/es/src/pro-table/pro-table.vue.mjs +69 -70
- package/es/src/pro-table/types/pagination.mjs +1 -0
- package/es/src/pro-table/types/table-action.mjs +1 -0
- package/es/src/pro-table/types/table.mjs +1 -0
- package/es/src/prompt/dialog.vue.mjs +2 -61
- package/es/src/prompt/dialog.vue2.mjs +58 -2
- package/es/src/prompt/index.mjs +9 -8
- package/es/src/prompt/utils.d.ts +3 -3
- package/es/src/scroll-bar/bar-item.mjs +4 -4
- package/es/src/scroll-bar/index.mjs +5 -3
- package/es/src/scroll-bar/interface.mjs +1 -0
- package/es/src/scroll-bar/scroll-bar.vue.mjs +2 -84
- package/es/src/scroll-bar/scroll-bar.vue2.mjs +84 -2
- package/es/src/strength-meter/index.mjs +5 -3
- package/es/src/strength-meter/interface.mjs +1 -0
- package/es/src/strength-meter/strength-meter.vue.mjs +2 -61
- package/es/src/strength-meter/strength-meter.vue2.mjs +61 -2
- package/es/src/theme/antd-global-overwrite/admin/alert.css +21 -0
- package/es/src/theme/antd-global-overwrite/admin/button.css +38 -0
- package/es/src/theme/antd-global-overwrite/admin/form.css +40 -0
- package/es/src/theme/antd-global-overwrite/admin/index.css +450 -0
- package/es/src/theme/antd-global-overwrite/admin/message.css +17 -0
- package/es/src/theme/antd-global-overwrite/admin/modal.css +120 -0
- package/es/src/theme/antd-global-overwrite/admin/pagination.css +68 -0
- package/es/src/theme/antd-global-overwrite/admin/steps.css +92 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +54 -0
- package/es/src/theme/antd-global-overwrite/aplus/alert.css +21 -0
- package/es/src/theme/antd-global-overwrite/aplus/button.css +38 -0
- package/es/src/theme/antd-global-overwrite/aplus/form.css +40 -0
- package/es/src/theme/antd-global-overwrite/aplus/index.css +466 -0
- package/es/src/theme/antd-global-overwrite/aplus/message.css +17 -0
- package/es/src/theme/antd-global-overwrite/aplus/modal.css +114 -0
- package/es/src/theme/antd-global-overwrite/aplus/pagination.css +81 -0
- package/es/src/theme/antd-global-overwrite/aplus/steps.css +86 -0
- package/es/src/theme/antd-global-overwrite/aplus/table.css +69 -0
- package/es/src/theme/ap-action/item-dropdown.css +11 -0
- package/es/src/theme/ap-action/item.css +33 -0
- package/es/src/theme/ap-download/ap-download.css +51 -0
- package/es/src/theme/ap-field/number.css +6 -0
- package/es/src/theme/ap-field/text-area.css +5 -0
- package/es/src/theme/ap-form/ap-form-item.css +50 -0
- package/es/src/theme/ap-form/modal-form.css +17 -0
- package/es/src/theme/ap-form/search-form.css +3 -0
- package/es/src/theme/ap-layout/ap-info-layout.css +32 -0
- package/es/src/theme/ap-tag/ap-tag-group.css +6 -0
- package/es/src/theme/ap-tag/ap-tag.css +40 -0
- package/es/src/theme/ap-upload/multiple-file.css +58 -0
- package/es/src/theme/ap-upload/picture.css +112 -0
- package/es/src/theme/ap-upload/single-file.css +98 -0
- package/es/src/theme/ap-upload/upload.css +6 -0
- package/es/src/theme/collapse-container/header.css +1 -1
- package/es/src/theme/collapse-container/index.css +1 -1
- package/es/src/theme/cropper/avatar.css +1 -1
- package/es/src/theme/cropper/modal.css +2 -2
- package/es/src/theme/custom-column/column-select.css +44 -0
- package/es/src/theme/custom-column/custom-column.css +46 -0
- package/es/src/theme/modal/index.css +30 -31
- package/es/src/theme/pro-form/table-form-inner.css +101 -0
- package/es/src/theme/work-order-modal/index.css +3 -0
- package/es/src/transition/index.mjs +21 -24
- package/es/src/type.d.ts +4 -1
- package/es/src/utils/config-provider-preset.d.ts +79 -0
- package/es/src/utils/config-provider-preset.mjs +30 -0
- package/es/src/utils/index.d.ts +16 -0
- package/es/src/utils/index.mjs +36 -11
- package/es/src/utils/slot.d.ts +7 -1
- package/es/src/utils/slot.mjs +25 -15
- package/es/src/utils/tree.mjs +103 -13
- package/es/src/utils/uuid.mjs +15 -9
- package/es/src/work-order-modal/createWorkOrder.d.ts +1 -0
- package/es/src/work-order-modal/createWorkOrder.mjs +19 -0
- package/es/src/work-order-modal/help-message.vue.d.ts +3 -0
- package/es/src/work-order-modal/help-message.vue.mjs +4 -0
- package/es/src/work-order-modal/help-message.vue2.mjs +33 -0
- package/es/src/work-order-modal/index.d.ts +5 -0
- package/es/src/work-order-modal/index.mjs +7 -0
- package/es/src/work-order-modal/interfaces.d.ts +23 -0
- package/es/src/work-order-modal/interfaces.mjs +4 -0
- package/es/src/work-order-modal/style/index.css +3 -0
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +18 -0
- package/es/src/work-order-modal/work-order-modal.vue.mjs +169 -0
- package/es/src/work-order-modal/work-order-modal.vue2.mjs +4 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-action/constant.d.ts +0 -0
- package/lib/src/ap-action/group/index.vue.d.ts +38 -0
- package/lib/src/ap-action/group/index.vue.js +1 -0
- package/lib/src/ap-action/group/index.vue2.js +1 -0
- package/lib/src/ap-action/index.d.ts +14 -0
- package/lib/src/ap-action/index.js +1 -0
- package/lib/src/ap-action/interface.d.ts +81 -0
- package/lib/src/ap-action/interface.js +1 -0
- package/lib/src/ap-action/item/index.vue.d.ts +44 -0
- package/lib/src/ap-action/item/index.vue.js +1 -0
- package/lib/src/ap-action/item/index.vue2.js +1 -0
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +57 -0
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -0
- package/lib/src/ap-action/item-dropdown/index.vue2.js +1 -0
- package/lib/src/ap-action/item-modal/index.vue.d.ts +41 -0
- package/lib/src/ap-action/item-modal/index.vue.js +1 -0
- package/lib/src/ap-action/item-modal/index.vue2.js +1 -0
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -0
- package/lib/src/ap-action/item-popconfirm/index.vue2.js +1 -0
- package/lib/src/ap-action/style/item-dropdown.css +11 -0
- package/lib/src/ap-action/style/item.css +33 -0
- package/lib/src/ap-custom-column/column-select.vue.d.ts +18 -0
- package/lib/src/ap-custom-column/column-select.vue.js +1 -0
- package/lib/src/ap-custom-column/column-select.vue2.js +1 -0
- package/lib/src/ap-custom-column/custom-column.vue.d.ts +18 -0
- package/lib/src/ap-custom-column/custom-column.vue.js +1 -0
- package/lib/src/ap-custom-column/custom-column.vue2.js +1 -0
- package/lib/src/ap-custom-column/index.d.ts +7 -0
- package/lib/src/ap-custom-column/index.js +1 -0
- package/lib/src/ap-custom-column/interfaces.d.ts +41 -0
- package/lib/src/ap-custom-column/interfaces.js +1 -0
- package/lib/src/ap-custom-column/storage.d.ts +8 -0
- package/lib/src/ap-custom-column/storage.js +1 -0
- package/lib/src/ap-custom-column/styles/column-select.css +44 -0
- package/lib/src/ap-custom-column/styles/custom-column.css +46 -0
- package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +10 -0
- package/lib/src/ap-custom-column/useCacheColumnSetting.js +1 -0
- package/lib/src/ap-custom-column/utils.d.ts +3 -0
- package/lib/src/ap-custom-column/utils.js +1 -0
- package/lib/src/ap-download/ap-download.vue.d.ts +41 -0
- package/lib/src/ap-download/ap-download.vue.js +1 -0
- package/lib/src/ap-download/ap-download.vue2.js +1 -0
- package/lib/src/ap-download/hooks/index.d.ts +9 -0
- package/lib/src/ap-download/hooks/index.js +1 -0
- package/lib/src/ap-download/index.d.ts +4 -0
- package/lib/src/ap-download/index.js +1 -0
- package/lib/src/ap-download/interface.d.ts +33 -0
- package/lib/src/ap-download/interface.js +1 -0
- package/lib/src/ap-download/style/ap-download.css +51 -0
- package/lib/src/ap-field/checkbox/helper.js +1 -0
- package/lib/src/ap-field/checkbox/index.vue.d.ts +39 -0
- package/lib/src/ap-field/checkbox/index.vue.js +1 -0
- package/lib/src/ap-field/checkbox/index.vue2.js +1 -0
- package/lib/src/ap-field/date/constant.d.ts +11 -1
- package/lib/src/ap-field/date/constant.js +1 -0
- package/lib/src/ap-field/date/helper.d.ts +5 -0
- package/lib/src/ap-field/date/helper.js +1 -0
- package/lib/src/ap-field/date/index.vue.d.ts +57 -0
- package/lib/src/ap-field/date/index.vue.js +1 -0
- package/lib/src/ap-field/date/index.vue2.js +1 -0
- package/lib/src/ap-field/date/interface.d.ts +2 -0
- package/lib/src/ap-field/date-range/index.vue.d.ts +59 -0
- package/lib/src/ap-field/date-range/index.vue.js +1 -0
- package/lib/src/ap-field/date-range/index.vue2.js +1 -0
- package/lib/src/ap-field/index.d.ts +21 -2
- package/lib/src/ap-field/index.js +1 -0
- package/lib/src/ap-field/interface.d.ts +69 -6
- package/lib/src/ap-field/interface.js +1 -0
- package/lib/src/ap-field/number/helper.d.ts +1 -0
- package/lib/src/ap-field/number/helper.js +1 -0
- package/lib/src/ap-field/number/index.vue.d.ts +72 -0
- package/lib/src/ap-field/number/index.vue.js +1 -0
- package/lib/src/ap-field/number/index.vue2.js +1 -0
- package/lib/src/ap-field/number/style.css +6 -0
- package/lib/src/ap-field/radio/helper.d.ts +4 -0
- package/lib/src/ap-field/radio/helper.js +1 -0
- package/lib/src/ap-field/radio/index.vue.d.ts +40 -0
- package/lib/src/ap-field/radio/index.vue.js +1 -0
- package/lib/src/ap-field/radio/index.vue2.js +1 -0
- package/lib/src/ap-field/select/index.vue.d.ts +235 -0
- package/lib/src/ap-field/select/index.vue.js +1 -0
- package/lib/src/ap-field/select/index.vue2.js +1 -0
- package/lib/src/ap-field/switch/index.vue.d.ts +54 -0
- package/lib/src/ap-field/switch/index.vue.js +1 -0
- package/lib/src/ap-field/switch/index.vue2.js +1 -0
- package/lib/src/ap-field/text/index.vue.d.ts +66 -0
- package/lib/src/ap-field/text/index.vue.js +1 -0
- package/lib/src/ap-field/text/index.vue2.js +1 -0
- package/lib/src/ap-field/text-area/index.vue.d.ts +49 -0
- package/lib/src/ap-field/text-area/index.vue.js +1 -0
- package/lib/src/ap-field/text-area/index.vue2.js +1 -0
- package/lib/src/ap-field/text-area/style.css +5 -0
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +10 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -1
- 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 +26 -5
- package/lib/src/ap-form/ap-form-item.vue.js +1 -1
- package/lib/src/ap-form/ap-form-list.vue.d.ts +35 -0
- package/lib/src/ap-form/ap-form-list.vue.js +1 -0
- package/lib/src/ap-form/ap-form-list.vue2.js +1 -0
- package/lib/src/ap-form/ap-form.vue.d.ts +66 -0
- package/lib/src/ap-form/ap-form.vue.js +1 -0
- package/lib/src/ap-form/ap-form.vue2.js +1 -0
- package/lib/src/ap-form/context.d.ts +11 -0
- package/lib/src/ap-form/context.js +1 -0
- package/lib/src/ap-form/index.d.ts +18 -2593
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +63 -2
- package/lib/src/ap-form/interface.js +1 -0
- package/lib/src/ap-form/items/date/index.vue.d.ts +65 -0
- package/lib/src/ap-form/items/date/index.vue.js +1 -0
- package/lib/src/ap-form/items/date/index.vue2.js +1 -0
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +64 -0
- package/lib/src/ap-form/items/date-range/index.vue.js +1 -0
- package/lib/src/ap-form/items/date-range/index.vue2.js +1 -0
- package/lib/src/ap-form/items/index.d.ts +10 -0
- package/lib/src/ap-form/items/index.js +1 -0
- package/lib/src/ap-form/items/interface.d.ts +41 -0
- package/lib/src/ap-form/items/number/index.vue.d.ts +63 -0
- package/lib/src/ap-form/items/number/index.vue.js +1 -0
- package/lib/src/ap-form/items/number/index.vue2.js +1 -0
- package/lib/src/ap-form/items/radio/index.vue.d.ts +50 -0
- package/lib/src/ap-form/items/radio/index.vue.js +1 -0
- package/lib/src/ap-form/items/radio/index.vue2.js +1 -0
- package/lib/src/ap-form/items/select/index.vue.d.ts +69 -0
- package/lib/src/ap-form/items/select/index.vue.js +1 -0
- package/lib/src/ap-form/items/select/index.vue2.js +1 -0
- package/lib/src/ap-form/items/switch/index.vue.d.ts +60 -0
- package/lib/src/ap-form/items/switch/index.vue.js +1 -0
- package/lib/src/ap-form/items/switch/index.vue2.js +1 -0
- package/lib/src/ap-form/items/text/index.vue.d.ts +66 -0
- package/lib/src/ap-form/items/text/index.vue.js +1 -0
- package/lib/src/ap-form/items/text/index.vue2.js +1 -0
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +52 -0
- package/lib/src/ap-form/items/text-area/index.vue.js +1 -0
- package/lib/src/ap-form/items/text-area/index.vue2.js +1 -0
- package/lib/src/ap-form/modal-form/index.vue.d.ts +378 -0
- package/lib/src/ap-form/modal-form/index.vue.js +1 -0
- package/lib/src/ap-form/modal-form/index.vue2.js +1 -0
- package/lib/src/ap-form/search-form/index.vue.d.ts +76 -0
- package/lib/src/ap-form/search-form/index.vue.js +1 -0
- package/lib/src/ap-form/search-form/index.vue2.js +1 -0
- package/lib/src/ap-form/style/ap-form-item.css +50 -0
- package/lib/src/ap-form/style/modal-form.css +17 -0
- package/lib/src/ap-form/style/search-form.css +3 -0
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +41 -0
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.js +1 -0
- package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue2.js +1 -0
- package/lib/src/ap-layout/index.d.ts +3 -0
- package/lib/src/ap-layout/index.js +1 -0
- package/lib/src/ap-layout/interface.d.ts +4 -0
- package/lib/src/ap-layout/style/ap-info-layout.css +64 -0
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +34 -0
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -0
- package/lib/src/ap-tag/ap-tag-group.vue2.js +1 -0
- package/lib/src/ap-tag/ap-tag.vue.d.ts +34 -0
- package/lib/src/ap-tag/ap-tag.vue.js +1 -0
- package/lib/src/ap-tag/ap-tag.vue2.js +1 -0
- package/lib/src/ap-tag/index.d.ts +5 -0
- package/lib/src/ap-tag/index.js +1 -0
- package/lib/src/ap-tag/interface.d.ts +35 -0
- package/lib/src/ap-tag/interface.js +1 -0
- package/lib/src/ap-tag/style/ap-tag-group.css +6 -0
- package/lib/src/ap-tag/style/ap-tag.css +40 -0
- package/lib/src/ap-upload/apUpload.vue.d.ts +111 -0
- package/lib/src/ap-upload/apUpload.vue.js +1 -0
- package/lib/src/ap-upload/apUpload.vue2.js +1 -0
- package/lib/src/ap-upload/apUploadTypes.d.ts +90 -0
- package/lib/src/ap-upload/apUploadTypes.js +1 -0
- package/lib/src/ap-upload/assets/single-file-icon.png.js +1 -0
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +4 -0
- package/lib/src/ap-upload/components/MultipleFile.vue.js +1 -0
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -0
- package/lib/src/ap-upload/components/Picture.vue.d.ts +4 -0
- package/lib/src/ap-upload/components/Picture.vue.js +1 -0
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -0
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +4 -0
- package/lib/src/ap-upload/components/SingleFile.vue.js +1 -0
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -0
- package/lib/src/ap-upload/hooks/useOss.d.ts +19 -0
- package/lib/src/ap-upload/hooks/useOss.js +1 -0
- package/lib/src/ap-upload/index.d.ts +5 -0
- package/lib/src/ap-upload/index.js +1 -0
- package/lib/src/ap-upload/styles/multiple-file.css +58 -0
- package/lib/src/ap-upload/styles/picture.css +112 -0
- package/lib/src/ap-upload/styles/single-file.css +98 -0
- package/lib/src/ap-upload/styles/upload.css +6 -0
- package/lib/src/ap-upload/utils/accept.d.ts +13 -0
- package/lib/src/ap-upload/utils/accept.js +1 -0
- package/lib/src/ap-upload/utils/returnData.d.ts +19 -0
- package/lib/src/ap-upload/utils/returnData.js +1 -0
- package/lib/src/base-button/button.vue.js +1 -1
- package/lib/src/base-button/button.vue2.js +1 -1
- package/lib/src/base-button/index.js +1 -1
- package/lib/src/base-button/interface.js +1 -0
- package/lib/src/base-button/modal-button.vue.js +1 -1
- package/lib/src/base-button/pop-confirm-button.vue.js +1 -1
- package/lib/src/basic/arrow.vue.js +1 -1
- package/lib/src/basic/arrow.vue2.js +1 -1
- package/lib/src/basic/help.vue.d.ts +1 -1
- package/lib/src/basic/help.vue.js +1 -1
- package/lib/src/basic/help.vue2.js +1 -1
- package/lib/src/basic/index.js +1 -1
- package/lib/src/basic/interface.js +1 -0
- package/lib/src/basic/title.vue.js +1 -1
- package/lib/src/basic/title.vue2.js +1 -1
- package/lib/src/components.d.ts +2 -0
- package/lib/src/config-provider/config-provider-props.d.ts +5 -1
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +22 -13
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/lib/src/config-provider/hooks/use-locale.js +1 -1
- package/lib/src/config-provider/index.js +1 -1
- package/lib/src/container/collapse/header.vue.js +1 -1
- package/lib/src/container/collapse/header.vue2.js +1 -1
- package/lib/src/container/collapse/index.vue.js +1 -1
- package/lib/src/container/collapse/index.vue2.js +1 -1
- package/lib/src/container/collapse/style/header.css +1 -1
- package/lib/src/container/collapse/style/index.css +1 -1
- package/lib/src/container/index.js +1 -1
- package/lib/src/container/interface.js +1 -0
- package/lib/src/container/scroll-container.vue.js +1 -1
- package/lib/src/container/scroll-container.vue2.js +1 -1
- package/lib/src/count-down/button.vue.js +1 -1
- package/lib/src/count-down/button.vue2.js +1 -1
- package/lib/src/count-down/index.js +1 -1
- package/lib/src/count-down/input.vue.js +1 -1
- package/lib/src/count-down/input.vue2.js +1 -1
- package/lib/src/count-down/interface.js +1 -0
- package/lib/src/cropper/cropper-avatar.vue.d.ts +1 -1
- package/lib/src/cropper/cropper-avatar.vue.js +1 -1
- package/lib/src/cropper/cropper-avatar.vue2.js +1 -1
- package/lib/src/cropper/cropper-image.vue.d.ts +1 -1
- package/lib/src/cropper/cropper-image.vue.js +1 -1
- package/lib/src/cropper/cropper-image.vue2.js +1 -1
- package/lib/src/cropper/cropper-modal.vue.js +1 -1
- package/lib/src/cropper/cropper-modal.vue2.js +1 -1
- package/lib/src/cropper/index.js +1 -1
- package/lib/src/cropper/interface.js +1 -0
- package/lib/src/cropper/style/avatar.css +1 -1
- package/lib/src/cropper/style/modal.css +2 -2
- package/lib/src/description/description.vue.d.ts +1 -1
- package/lib/src/description/description.vue.js +1 -1
- package/lib/src/description/description.vue2.js +1 -1
- package/lib/src/description/index.js +1 -1
- package/lib/src/description/interface.js +1 -0
- package/lib/src/design-token/index.d.ts +4 -0
- package/lib/src/design-token/index.js +1 -0
- package/lib/src/dropdown/dropdown.vue.d.ts +1 -1
- package/lib/src/dropdown/dropdown.vue.js +1 -1
- package/lib/src/dropdown/dropdown.vue2.js +1 -1
- package/lib/src/dropdown/index.js +1 -1
- package/lib/src/dropdown/interface.js +1 -0
- package/lib/src/hooks/index.js +1 -0
- package/lib/src/hooks/useControllableValue.js +1 -1
- package/lib/src/hooks/useMessage.js +1 -1
- package/lib/src/icon/icon.vue.js +1 -1
- package/lib/src/icon/icon.vue2.js +1 -1
- package/lib/src/icon/index.js +1 -1
- package/lib/src/icon/interface.js +1 -0
- package/lib/src/icon/svg-icon.vue.js +1 -1
- package/lib/src/icon/svg-icon.vue2.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue.d.ts +3 -3
- package/lib/src/icon-picker/icon-picker.vue.js +1 -1
- package/lib/src/icon-picker/icon-picker.vue2.js +1 -1
- package/lib/src/icon-picker/index.js +1 -1
- package/lib/src/icon-picker/interface.js +1 -0
- package/lib/src/index.d.ts +9 -0
- package/lib/src/index.js +1 -1
- package/lib/src/locale/index.js +1 -0
- package/lib/src/locale/interface.js +1 -0
- 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 +4 -3
- package/lib/src/modal/basic.vue.js +1 -1
- package/lib/src/modal/basic.vue2.js +1 -1
- package/lib/src/modal/components/modal-close.vue.js +1 -1
- package/lib/src/modal/components/modal-close.vue2.js +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +2 -2
- package/lib/src/modal/components/modal-footer.vue.js +1 -1
- package/lib/src/modal/components/modal-footer.vue2.js +1 -1
- package/lib/src/modal/components/modal-header.vue.js +1 -1
- package/lib/src/modal/components/modal-header.vue2.js +1 -1
- package/lib/src/modal/components/modal-wrapper.vue.js +1 -1
- package/lib/src/modal/components/modal-wrapper.vue2.js +1 -1
- package/lib/src/modal/components/modal.d.ts +1 -1
- package/lib/src/modal/index.js +1 -1
- package/lib/src/modal/interface.js +1 -0
- package/lib/src/modal/props.js +1 -1
- package/lib/src/modal/style/index.css +30 -31
- package/lib/src/pro-form/component-map.js +1 -1
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-cascader.vue.js +1 -1
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-select.vue.d.ts +3 -3
- package/lib/src/pro-form/components/api-select.vue.js +1 -1
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.js +1 -1
- package/lib/src/pro-form/components/api-tree.vue.d.ts +2 -2
- package/lib/src/pro-form/components/form-action.vue.js +1 -1
- package/lib/src/pro-form/components/form-action.vue2.js +1 -1
- package/lib/src/pro-form/components/form-item.vue.js +1 -1
- package/lib/src/pro-form/components/form-item.vue2.js +1 -1
- package/lib/src/pro-form/components/interface.js +1 -0
- package/lib/src/pro-form/hooks/use-break-point.js +1 -1
- package/lib/src/pro-form/hooks/use-component-register.d.ts +4 -0
- package/lib/src/pro-form/hooks/use-component-register.js +1 -0
- package/lib/src/pro-form/hooks/use-form-events.js +1 -1
- package/lib/src/pro-form/hooks/use-form-values.js +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +8 -8
- package/lib/src/pro-form/index.d.ts +5 -1
- package/lib/src/pro-form/index.js +1 -1
- package/lib/src/pro-form/pro-form.vue.d.ts +3 -3
- package/lib/src/pro-form/pro-form.vue.js +1 -1
- package/lib/src/pro-form/style/table-form.css +101 -0
- package/lib/src/pro-form/table-form-inner.vue.d.ts +44 -0
- package/lib/src/pro-form/table-form-inner.vue.js +1 -0
- package/lib/src/pro-form/table-form-inner.vue2.js +1 -0
- package/lib/src/pro-form/table-form.vue.d.ts +42 -0
- package/lib/src/pro-form/table-form.vue.js +1 -0
- package/lib/src/pro-form/table-form.vue2.js +1 -0
- package/lib/src/pro-form/types/form-item.js +1 -0
- package/lib/src/pro-form/types/form.d.ts +8 -8
- package/lib/src/pro-form/types/table-form.d.ts +37 -0
- package/lib/src/pro-form/types/table-form.js +1 -0
- package/lib/src/pro-table/component-map.js +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.js +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/editable/index.js +1 -1
- package/lib/src/pro-table/components/header-cell.vue.js +1 -1
- package/lib/src/pro-table/components/header-cell.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/column-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/column-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/full-screen-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/full-screen-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/index.vue.js +1 -1
- package/lib/src/pro-table/components/settings/index.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/redo-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/redo-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/settings/size-setting.vue.js +1 -1
- package/lib/src/pro-table/components/settings/size-setting.vue2.js +1 -1
- package/lib/src/pro-table/components/table-action.vue.js +1 -1
- package/lib/src/pro-table/components/table-footer.vue.js +1 -1
- package/lib/src/pro-table/components/table-footer.vue2.js +1 -1
- package/lib/src/pro-table/components/table-header.vue.js +1 -1
- package/lib/src/pro-table/components/table-header.vue2.js +1 -1
- package/lib/src/pro-table/components/table-selection-bar.vue.js +1 -1
- package/lib/src/pro-table/components/table-selection-bar.vue2.js +1 -1
- package/lib/src/pro-table/components/table-title.vue.js +1 -1
- package/lib/src/pro-table/components/table-title.vue2.js +1 -1
- package/lib/src/pro-table/hooks/use-columns.js +1 -1
- package/lib/src/pro-table/hooks/use-data-source.js +1 -1
- package/lib/src/pro-table/hooks/use-table-footer.js +1 -1
- package/lib/src/pro-table/hooks/use-table-header.js +1 -1
- package/lib/src/pro-table/index.js +1 -0
- package/lib/src/pro-table/interface.d.ts +1 -1
- package/lib/src/pro-table/interface.js +1 -0
- package/lib/src/pro-table/pro-table.vue.d.ts +3 -0
- package/lib/src/pro-table/pro-table.vue.js +1 -1
- package/lib/src/pro-table/types/pagination.js +1 -0
- package/lib/src/pro-table/types/table-action.js +1 -0
- package/lib/src/pro-table/types/table.js +1 -0
- package/lib/src/prompt/dialog.vue.js +1 -1
- package/lib/src/prompt/dialog.vue2.js +1 -1
- package/lib/src/prompt/index.js +1 -1
- package/lib/src/prompt/utils.d.ts +3 -3
- package/lib/src/scroll-bar/index.js +1 -1
- package/lib/src/scroll-bar/interface.js +1 -0
- package/lib/src/scroll-bar/scroll-bar.vue.js +1 -1
- package/lib/src/scroll-bar/scroll-bar.vue2.js +1 -1
- package/lib/src/strength-meter/index.js +1 -1
- package/lib/src/strength-meter/interface.js +1 -0
- package/lib/src/strength-meter/strength-meter.vue.js +1 -1
- package/lib/src/strength-meter/strength-meter.vue2.js +1 -1
- package/lib/src/theme/antd-global-overwrite/admin/alert.css +21 -0
- package/lib/src/theme/antd-global-overwrite/admin/button.css +38 -0
- package/lib/src/theme/antd-global-overwrite/admin/form.css +40 -0
- package/lib/src/theme/antd-global-overwrite/admin/index.css +450 -0
- package/lib/src/theme/antd-global-overwrite/admin/message.css +17 -0
- package/lib/src/theme/antd-global-overwrite/admin/modal.css +120 -0
- package/lib/src/theme/antd-global-overwrite/admin/pagination.css +68 -0
- package/lib/src/theme/antd-global-overwrite/admin/steps.css +92 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +54 -0
- package/lib/src/theme/antd-global-overwrite/aplus/alert.css +21 -0
- package/lib/src/theme/antd-global-overwrite/aplus/button.css +38 -0
- package/lib/src/theme/antd-global-overwrite/aplus/form.css +40 -0
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +466 -0
- package/lib/src/theme/antd-global-overwrite/aplus/message.css +17 -0
- package/lib/src/theme/antd-global-overwrite/aplus/modal.css +114 -0
- package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +81 -0
- package/lib/src/theme/antd-global-overwrite/aplus/steps.css +86 -0
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +69 -0
- package/lib/src/theme/ap-action/item-dropdown.css +11 -0
- package/lib/src/theme/ap-action/item.css +33 -0
- package/lib/src/theme/ap-download/ap-download.css +51 -0
- package/lib/src/theme/ap-field/number.css +6 -0
- package/lib/src/theme/ap-field/text-area.css +5 -0
- package/lib/src/theme/ap-form/ap-form-item.css +50 -0
- package/lib/src/theme/ap-form/modal-form.css +17 -0
- package/lib/src/theme/ap-form/search-form.css +3 -0
- package/lib/src/theme/ap-layout/ap-info-layout.css +32 -0
- package/lib/src/theme/ap-tag/ap-tag-group.css +6 -0
- package/lib/src/theme/ap-tag/ap-tag.css +40 -0
- package/lib/src/theme/ap-upload/multiple-file.css +58 -0
- package/lib/src/theme/ap-upload/picture.css +112 -0
- package/lib/src/theme/ap-upload/single-file.css +98 -0
- package/lib/src/theme/ap-upload/upload.css +6 -0
- package/lib/src/theme/collapse-container/header.css +1 -1
- package/lib/src/theme/collapse-container/index.css +1 -1
- package/lib/src/theme/cropper/avatar.css +1 -1
- package/lib/src/theme/cropper/modal.css +2 -2
- package/lib/src/theme/custom-column/column-select.css +44 -0
- package/lib/src/theme/custom-column/custom-column.css +46 -0
- package/lib/src/theme/modal/index.css +30 -31
- package/lib/src/theme/pro-form/table-form-inner.css +101 -0
- package/lib/src/theme/work-order-modal/index.css +3 -0
- package/lib/src/transition/index.js +1 -1
- package/lib/src/type.d.ts +4 -1
- package/lib/src/utils/config-provider-preset.d.ts +79 -0
- package/lib/src/utils/config-provider-preset.js +1 -0
- package/lib/src/utils/index.d.ts +16 -0
- package/lib/src/utils/index.js +1 -1
- package/lib/src/utils/slot.d.ts +7 -1
- package/lib/src/utils/slot.js +1 -1
- package/lib/src/utils/tree.js +1 -1
- package/lib/src/utils/uuid.js +1 -1
- package/lib/src/work-order-modal/createWorkOrder.d.ts +1 -0
- package/lib/src/work-order-modal/createWorkOrder.js +1 -0
- package/lib/src/work-order-modal/help-message.vue.d.ts +3 -0
- package/lib/src/work-order-modal/help-message.vue.js +1 -0
- package/lib/src/work-order-modal/help-message.vue2.js +1 -0
- package/lib/src/work-order-modal/index.d.ts +5 -0
- package/lib/src/work-order-modal/index.js +1 -0
- package/lib/src/work-order-modal/interfaces.d.ts +23 -0
- package/lib/src/work-order-modal/interfaces.js +1 -0
- package/lib/src/work-order-modal/style/index.css +3 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +18 -0
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -0
- package/lib/src/work-order-modal/work-order-modal.vue2.js +1 -0
- package/package.json +16 -6
- package/es/src/ap-form/ap-form.d.ts +0 -1681
- package/es/src/ap-form/ap-form.mjs +0 -5
- package/es/src/base-button/index.d.ts +0 -137
- package/es/src/basic/index.d.ts +0 -278
- package/es/src/button/index.d.ts +0 -51
- package/es/src/config-provider/index.d.ts +0 -672
- package/es/src/container/index.d.ts +0 -178
- package/es/src/count-down/index.d.ts +0 -150
- package/es/src/cropper/index.d.ts +0 -369
- package/es/src/description/index.d.ts +0 -214
- package/es/src/dropdown/index.d.ts +0 -113
- package/es/src/icon/index.d.ts +0 -208
- package/es/src/icon-picker/index.d.ts +0 -190
- package/es/src/modal/index.d.ts +0 -964
- package/es/src/scroll-bar/index.d.ts +0 -176
- package/es/src/strength-meter/index.d.ts +0 -89
- package/es/src/transition/index.d.ts +0 -369
- package/lib/src/ap-form/ap-form.d.ts +0 -1681
- package/lib/src/ap-form/ap-form.js +0 -1
- package/lib/src/base-button/index.d.ts +0 -137
- package/lib/src/basic/index.d.ts +0 -278
- package/lib/src/button/index.d.ts +0 -51
- package/lib/src/config-provider/index.d.ts +0 -672
- package/lib/src/container/index.d.ts +0 -178
- package/lib/src/count-down/index.d.ts +0 -150
- package/lib/src/cropper/index.d.ts +0 -369
- package/lib/src/description/index.d.ts +0 -214
- package/lib/src/dropdown/index.d.ts +0 -113
- package/lib/src/icon/index.d.ts +0 -208
- package/lib/src/icon-picker/index.d.ts +0 -190
- package/lib/src/modal/index.d.ts +0 -964
- package/lib/src/scroll-bar/index.d.ts +0 -176
- package/lib/src/strength-meter/index.d.ts +0 -89
- package/lib/src/transition/index.d.ts +0 -369
|
@@ -1,16 +1,25 @@
|
|
|
1
|
-
import { InputProps, CheckboxGroupProps, DatePickerProps } from 'ant-design-vue';
|
|
1
|
+
import { InputProps, CheckboxGroupProps, DatePickerProps, InputNumberProps, RadioGroupProps, SwitchProps, TextAreaProps, SelectProps, PopconfirmProps } from 'ant-design-vue';
|
|
2
2
|
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
|
+
import { ApFormatPresetType } from './date/interface';
|
|
4
|
+
import { RangeValue } from 'ant-design-vue/es/vc-picker/interface';
|
|
5
|
+
import { RangePickerProps } from 'ant-design-vue/es/date-picker/dayjs';
|
|
6
|
+
import { LiteralUnion } from '../type';
|
|
3
7
|
|
|
4
8
|
export type FieldMode = 'read' | 'edit';
|
|
5
9
|
export type BasicApFieldProps<FieldPropsType = any> = {
|
|
6
10
|
mode?: FieldMode;
|
|
7
11
|
} & FieldPropsType;
|
|
12
|
+
export type ApFieldComposedProps<FieldPropsType = any> = {
|
|
13
|
+
mode?: FieldMode;
|
|
14
|
+
fieldProps?: FieldPropsType;
|
|
15
|
+
};
|
|
8
16
|
export type ApFieldTextProps = BasicApFieldProps<InputProps> & {
|
|
9
17
|
emptyText?: string;
|
|
10
18
|
};
|
|
11
19
|
export type ApFieldTextExpose = {
|
|
12
20
|
focus: (options?: InputFocusOptions) => void;
|
|
13
21
|
blur: () => void;
|
|
22
|
+
input: any;
|
|
14
23
|
setSelectionRange: (start: number, end: number, direction?: 'forward' | 'backward' | 'none') => void;
|
|
15
24
|
select: () => void;
|
|
16
25
|
};
|
|
@@ -18,12 +27,66 @@ export type ApFieldCheckboxProps = BasicApFieldProps<CheckboxGroupProps> & {
|
|
|
18
27
|
emptyText?: string;
|
|
19
28
|
request?: () => Promise<CheckboxGroupProps['options']>;
|
|
20
29
|
};
|
|
21
|
-
export type
|
|
22
|
-
export type ApFieldDateProps = BasicApFieldProps<Omit<DatePickerProps, 'value' | 'onChange' | 'mode' | 'defaultValue' | 'format'>> & {
|
|
30
|
+
export type ApFieldDateProps = ApFieldComposedProps<Omit<DatePickerProps, 'mode' | 'value' | 'defaultValue' | 'onChange' | 'onOk' | 'format' | 'onUpdate:value'>> & {
|
|
23
31
|
emptyText?: string;
|
|
24
32
|
value?: number | null;
|
|
25
|
-
defaultValue?: number
|
|
33
|
+
defaultValue?: number;
|
|
26
34
|
onChange?: (ts: number | null, dayStr: string) => void;
|
|
27
|
-
|
|
28
|
-
format
|
|
35
|
+
onOk?: (ts: number | null) => void;
|
|
36
|
+
format?: LiteralUnion<ApFormatPresetType, string>;
|
|
37
|
+
};
|
|
38
|
+
export type ApFieldNumberProps = BasicApFieldProps<InputNumberProps> & {
|
|
39
|
+
emptyText?: string;
|
|
40
|
+
/**
|
|
41
|
+
* 是否展示千分位,只读模式可用
|
|
42
|
+
*/
|
|
43
|
+
thousands?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* 强制保留指定的小数位,只读模式可用,只有在设置了`precision`才生效
|
|
46
|
+
*/
|
|
47
|
+
limitDecimalsRetain?: boolean;
|
|
48
|
+
};
|
|
49
|
+
export type ApiFieldNumberExpose = {
|
|
50
|
+
focus: () => void;
|
|
51
|
+
blur: () => void;
|
|
52
|
+
};
|
|
53
|
+
export type ApFieldRadioProps = BasicApFieldProps<RadioGroupProps> & {
|
|
54
|
+
emptyText?: string;
|
|
55
|
+
request?: () => Promise<RadioGroupProps['options']>;
|
|
56
|
+
};
|
|
57
|
+
export type ApiFieldRadioExpose = {
|
|
58
|
+
focus: () => void;
|
|
59
|
+
blur: () => void;
|
|
60
|
+
};
|
|
61
|
+
export type ApFieldSwitchProps = BasicApFieldProps<Omit<SwitchProps, 'onClick'>> & {
|
|
62
|
+
emptyText?: string;
|
|
63
|
+
onAction?: (checked: string | boolean | number, e?: Event) => boolean | Promise<boolean>;
|
|
64
|
+
confirm?: Pick<PopconfirmProps, 'title' | 'okText' | 'cancelText' | 'description' | 'showCancel' | 'icon' | 'okType' | 'onCancel'>;
|
|
65
|
+
};
|
|
66
|
+
export type ApFieldTextAreaProps = BasicApFieldProps<TextAreaProps> & {
|
|
67
|
+
emptyText?: string;
|
|
68
|
+
};
|
|
69
|
+
export type ApFieldTextAreaExpose = {
|
|
70
|
+
focus: (options?: InputFocusOptions) => void;
|
|
71
|
+
blur: () => void;
|
|
72
|
+
resizableTextArea: any;
|
|
73
|
+
};
|
|
74
|
+
export type ApFieldDateRangeProps = ApFieldComposedProps<Omit<RangePickerProps, 'value' | 'onChange' | 'onPanelChange' | 'defaultValue' | 'onOk' | 'renderExtraFooter' | 'onUpdate:value'>> & {
|
|
75
|
+
emptyText?: string;
|
|
76
|
+
value?: RangeValue<number>;
|
|
77
|
+
defaultValue?: RangeValue<number>;
|
|
78
|
+
onChange?: (ts: RangeValue<number>, dayStr: [string, string]) => void;
|
|
79
|
+
onOk?: (ts: RangeValue<number>) => void;
|
|
80
|
+
format?: LiteralUnion<ApFormatPresetType, string>;
|
|
81
|
+
};
|
|
82
|
+
export type ApFieldSelectProps = ApFieldComposedProps<Omit<SelectProps, 'mode' | 'value' | 'onUpdate:value' | 'onSearch'>> & {
|
|
83
|
+
emptyText?: string;
|
|
84
|
+
request?: (value?: string) => Promise<SelectProps['options']>;
|
|
85
|
+
multiple?: boolean;
|
|
86
|
+
value?: SelectProps['value'];
|
|
87
|
+
'onUpdate:value'?: SelectProps['onUpdate:value'];
|
|
88
|
+
};
|
|
89
|
+
export type ApFieldSelectSlots = {
|
|
90
|
+
focus: () => void;
|
|
91
|
+
blur: () => void;
|
|
29
92
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function addZeroToDecimalPlaces(numStr: string, precision?: number): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { isNil as i } from "lodash-unified";
|
|
2
|
+
function a(t, r) {
|
|
3
|
+
if (i(r))
|
|
4
|
+
return t;
|
|
5
|
+
let [f, e = ""] = t.split(".");
|
|
6
|
+
if (e.length >= r)
|
|
7
|
+
return t;
|
|
8
|
+
for (let l = e.length; l < r; l++)
|
|
9
|
+
e += "0";
|
|
10
|
+
return f + "." + e;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
a as addZeroToDecimalPlaces
|
|
14
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ApFieldNumberProps } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { ValueType } from 'ant-design-vue/es/input-number/src/utils/MiniDecimal';
|
|
4
|
+
|
|
5
|
+
type ApFieldNumberSlots = {
|
|
6
|
+
addonBefore?: any;
|
|
7
|
+
addonAfter?: any;
|
|
8
|
+
prefix?: any;
|
|
9
|
+
default?: any;
|
|
10
|
+
upIcon?: any;
|
|
11
|
+
downIcon?: any;
|
|
12
|
+
};
|
|
13
|
+
declare function focus(): void;
|
|
14
|
+
declare function blur(): void;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldNumberProps>, {
|
|
16
|
+
emptyText: string;
|
|
17
|
+
thousands: boolean;
|
|
18
|
+
bordered: boolean;
|
|
19
|
+
controls: boolean;
|
|
20
|
+
keyboard: boolean;
|
|
21
|
+
max: number;
|
|
22
|
+
min: number;
|
|
23
|
+
step: number;
|
|
24
|
+
}>, {
|
|
25
|
+
focus: typeof focus;
|
|
26
|
+
blur: typeof blur;
|
|
27
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
|
+
"update:value": (...args: any[]) => void;
|
|
29
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldNumberProps>, {
|
|
30
|
+
emptyText: string;
|
|
31
|
+
thousands: boolean;
|
|
32
|
+
bordered: boolean;
|
|
33
|
+
controls: boolean;
|
|
34
|
+
keyboard: boolean;
|
|
35
|
+
max: number;
|
|
36
|
+
min: number;
|
|
37
|
+
step: number;
|
|
38
|
+
}>>> & {
|
|
39
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
keyboard: boolean;
|
|
42
|
+
bordered: boolean;
|
|
43
|
+
min: ValueType;
|
|
44
|
+
max: ValueType;
|
|
45
|
+
step: ValueType;
|
|
46
|
+
controls: boolean;
|
|
47
|
+
emptyText: string;
|
|
48
|
+
thousands: boolean;
|
|
49
|
+
}, {}>, Readonly<ApFieldNumberSlots> & ApFieldNumberSlots>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
53
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
+
} : {
|
|
56
|
+
type: PropType<T[K]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
type __VLS_WithDefaults<P, D> = {
|
|
61
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
62
|
+
default: D[K];
|
|
63
|
+
}> : P[K];
|
|
64
|
+
};
|
|
65
|
+
type __VLS_Prettify<T> = {
|
|
66
|
+
[K in keyof T]: T[K];
|
|
67
|
+
} & {};
|
|
68
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
|
+
new (): {
|
|
70
|
+
$slots: S;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { defineComponent as h, ref as C, computed as x, unref as o, openBlock as r, createElementBlock as n, Fragment as N, normalizeClass as d, renderSlot as s, createCommentVNode as m, createElementVNode as V, toDisplayString as $, createBlock as D, mergeProps as P, createSlots as R, renderList as A, withCtx as I, normalizeProps as U, guardReactiveProps as z } from "vue";
|
|
2
|
+
import { InputNumber as E } from "ant-design-vue";
|
|
3
|
+
import "../../hooks/index.mjs";
|
|
4
|
+
import { isNil as F, omit as M } from "lodash-unified";
|
|
5
|
+
import { toDecimalMark as T } from "@fruits-chain/utils";
|
|
6
|
+
import { addZeroToDecimalPlaces as _ } from "./helper.mjs";
|
|
7
|
+
import "../../config-provider/index.mjs";
|
|
8
|
+
import "./style.css";
|
|
9
|
+
import { useNamespace as w } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
|
+
import { useControllableValue as L } from "../../hooks/useControllableValue.mjs";
|
|
11
|
+
const Y = /* @__PURE__ */ h({
|
|
12
|
+
name: "ApFieldNumber",
|
|
13
|
+
__name: "index",
|
|
14
|
+
props: {
|
|
15
|
+
mode: {},
|
|
16
|
+
size: {},
|
|
17
|
+
bordered: { type: Boolean, default: !0 },
|
|
18
|
+
placeholder: {},
|
|
19
|
+
name: {},
|
|
20
|
+
id: {},
|
|
21
|
+
type: {},
|
|
22
|
+
addonBefore: {},
|
|
23
|
+
addonAfter: {},
|
|
24
|
+
prefix: {},
|
|
25
|
+
"onUpdate:value": {},
|
|
26
|
+
valueModifiers: {},
|
|
27
|
+
status: {},
|
|
28
|
+
stringMode: { type: Boolean },
|
|
29
|
+
defaultValue: {},
|
|
30
|
+
value: {},
|
|
31
|
+
prefixCls: {},
|
|
32
|
+
min: { default: -1 / 0 },
|
|
33
|
+
max: { default: 1 / 0 },
|
|
34
|
+
step: { default: 1 },
|
|
35
|
+
tabindex: {},
|
|
36
|
+
controls: { type: Boolean, default: !0 },
|
|
37
|
+
readonly: { type: Boolean },
|
|
38
|
+
disabled: { type: Boolean },
|
|
39
|
+
autofocus: { type: Boolean },
|
|
40
|
+
keyboard: { type: Boolean, default: !0 },
|
|
41
|
+
parser: {},
|
|
42
|
+
formatter: {},
|
|
43
|
+
precision: {},
|
|
44
|
+
decimalSeparator: {},
|
|
45
|
+
onInput: {},
|
|
46
|
+
onChange: {},
|
|
47
|
+
onPressEnter: {},
|
|
48
|
+
onStep: {},
|
|
49
|
+
onBlur: {},
|
|
50
|
+
onFocus: {},
|
|
51
|
+
emptyText: { default: "-" },
|
|
52
|
+
thousands: { type: Boolean, default: !1 },
|
|
53
|
+
limitDecimalsRetain: { type: Boolean }
|
|
54
|
+
},
|
|
55
|
+
emits: ["update:value"],
|
|
56
|
+
setup(f, { expose: c, emit: y }) {
|
|
57
|
+
const v = y, { b: i } = w("field-number"), t = f, l = C(), { value: u, updateValue: B } = L(
|
|
58
|
+
t,
|
|
59
|
+
v
|
|
60
|
+
), b = x(() => {
|
|
61
|
+
let e = o(u);
|
|
62
|
+
if (F(e))
|
|
63
|
+
return t.emptyText;
|
|
64
|
+
let a = t.thousands ? T(e, t.precision) : String(e);
|
|
65
|
+
return t.precision && t.limitDecimalsRetain && (a = _(a, t.precision)), a;
|
|
66
|
+
});
|
|
67
|
+
function k() {
|
|
68
|
+
var e;
|
|
69
|
+
(e = l.value) == null || e.focus();
|
|
70
|
+
}
|
|
71
|
+
function g() {
|
|
72
|
+
var e;
|
|
73
|
+
(e = l.value) == null || e.blur();
|
|
74
|
+
}
|
|
75
|
+
return c({ focus: k, blur: g }), (e, a) => e.mode === "read" ? (r(), n(N, { key: 0 }, [
|
|
76
|
+
e.$slots.prefix ? (r(), n("span", {
|
|
77
|
+
key: 0,
|
|
78
|
+
class: d(o(i)("label-left"))
|
|
79
|
+
}, [
|
|
80
|
+
s(e.$slots, "prefix")
|
|
81
|
+
], 2)) : m("", !0),
|
|
82
|
+
V("span", null, $(b.value), 1),
|
|
83
|
+
e.$slots.addonAfter ? (r(), n("span", {
|
|
84
|
+
key: 1,
|
|
85
|
+
class: d(o(i)("label-right"))
|
|
86
|
+
}, [
|
|
87
|
+
s(e.$slots, "addonAfter")
|
|
88
|
+
], 2)) : m("", !0)
|
|
89
|
+
], 64)) : (r(), D(o(E), P({ key: 1 }, o(M)(t, ["value", "onUpdate:value"]), {
|
|
90
|
+
value: o(u),
|
|
91
|
+
"onUpdate:value": o(B),
|
|
92
|
+
ref_key: "inputRef",
|
|
93
|
+
ref: l
|
|
94
|
+
}), R({ _: 2 }, [
|
|
95
|
+
A(e.$slots, (Z, p) => ({
|
|
96
|
+
name: p,
|
|
97
|
+
fn: I((S) => [
|
|
98
|
+
s(e.$slots, p, U(z(S || {})))
|
|
99
|
+
])
|
|
100
|
+
}))
|
|
101
|
+
]), 1040, ["value", "onUpdate:value"]));
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
export {
|
|
105
|
+
Y as default
|
|
106
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ApFieldRadioProps, FieldMode } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
declare function focus(): void;
|
|
5
|
+
declare function blur(): void;
|
|
6
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldRadioProps>, {
|
|
7
|
+
emptyText: string;
|
|
8
|
+
mode: string;
|
|
9
|
+
}>, {
|
|
10
|
+
focus: typeof focus;
|
|
11
|
+
blur: typeof blur;
|
|
12
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
+
"update:value": (...args: any[]) => void;
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldRadioProps>, {
|
|
15
|
+
emptyText: string;
|
|
16
|
+
mode: string;
|
|
17
|
+
}>>> & {
|
|
18
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
mode: FieldMode;
|
|
21
|
+
emptyText: string;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as V, ref as i, onMounted as q, computed as B, unref as o, openBlock as n, createElementBlock as m, Fragment as d, createTextVNode as C, toDisplayString as R, createBlock as f, mergeProps as U } from "vue";
|
|
2
|
+
import { Spin as h, RadioGroup as G } from "ant-design-vue";
|
|
3
|
+
import "../../hooks/index.mjs";
|
|
4
|
+
import { isNil as S, omit as z } from "lodash-unified";
|
|
5
|
+
import { getOptionValue as F, getOptionLabel as N } from "./helper.mjs";
|
|
6
|
+
import { useControllableValue as O } from "../../hooks/useControllableValue.mjs";
|
|
7
|
+
const j = /* @__PURE__ */ V({
|
|
8
|
+
name: "ApFieldRadio",
|
|
9
|
+
__name: "index",
|
|
10
|
+
props: {
|
|
11
|
+
mode: { default: "edit" },
|
|
12
|
+
prefixCls: {},
|
|
13
|
+
value: {},
|
|
14
|
+
size: {},
|
|
15
|
+
options: {},
|
|
16
|
+
disabled: { type: Boolean },
|
|
17
|
+
name: {},
|
|
18
|
+
buttonStyle: {},
|
|
19
|
+
id: {},
|
|
20
|
+
optionType: {},
|
|
21
|
+
onChange: {},
|
|
22
|
+
"onUpdate:value": {},
|
|
23
|
+
emptyText: { default: "-" },
|
|
24
|
+
request: {}
|
|
25
|
+
},
|
|
26
|
+
emits: ["update:value"],
|
|
27
|
+
setup(c, { expose: v, emit: y }) {
|
|
28
|
+
const t = c, g = y, u = i(), l = i((t == null ? void 0 : t.options) || []), { value: s, updateValue: x } = O(t, g), r = i(!1);
|
|
29
|
+
q(() => {
|
|
30
|
+
var e;
|
|
31
|
+
t.request && (r.value = !0, (e = t.request) == null || e.call(t).then((a) => l.value = a).finally(() => {
|
|
32
|
+
r.value = !1;
|
|
33
|
+
}));
|
|
34
|
+
});
|
|
35
|
+
const k = B(() => {
|
|
36
|
+
var p;
|
|
37
|
+
const e = o(s);
|
|
38
|
+
if (S(e))
|
|
39
|
+
return t.emptyText;
|
|
40
|
+
const a = (p = l.value) == null ? void 0 : p.find(
|
|
41
|
+
(_) => e === F(_)
|
|
42
|
+
);
|
|
43
|
+
return N(a) || t.emptyText;
|
|
44
|
+
});
|
|
45
|
+
function b() {
|
|
46
|
+
var e;
|
|
47
|
+
(e = u.value) == null || e.focus();
|
|
48
|
+
}
|
|
49
|
+
function T() {
|
|
50
|
+
var e;
|
|
51
|
+
(e = u.value) == null || e.blur();
|
|
52
|
+
}
|
|
53
|
+
return v({
|
|
54
|
+
focus: b,
|
|
55
|
+
blur: T
|
|
56
|
+
}), (e, a) => e.mode === "read" ? (n(), m(d, { key: 0 }, [
|
|
57
|
+
C(R(k.value), 1)
|
|
58
|
+
], 64)) : (n(), m(d, { key: 1 }, [
|
|
59
|
+
r.value ? (n(), f(o(h), {
|
|
60
|
+
key: 0,
|
|
61
|
+
size: "small"
|
|
62
|
+
})) : (n(), f(o(G), U({ key: 1 }, o(z)(t, ["value", "onUpdate:value", "options", "request"]), {
|
|
63
|
+
value: o(s),
|
|
64
|
+
"onUpdate:value": o(x),
|
|
65
|
+
options: l.value,
|
|
66
|
+
ref_key: "radioGroupRef",
|
|
67
|
+
ref: u
|
|
68
|
+
}), null, 16, ["value", "onUpdate:value", "options"]))
|
|
69
|
+
], 64));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export {
|
|
73
|
+
j as default
|
|
74
|
+
};
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { DefaultOptionType, SelectValue, LabeledValue } from 'ant-design-vue/es/select';
|
|
2
|
+
import { ApFieldSelectProps, FieldMode } from '../interface';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties } 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
|
+
|
|
11
|
+
type ApFieldSelectSlots = {
|
|
12
|
+
notFoundContent: any;
|
|
13
|
+
suffixIcon: any;
|
|
14
|
+
itemIcon: any;
|
|
15
|
+
removeIcon: any;
|
|
16
|
+
clearIcon: any;
|
|
17
|
+
dropdownRender: any;
|
|
18
|
+
option: any;
|
|
19
|
+
placeholder: any;
|
|
20
|
+
tagRender: any;
|
|
21
|
+
maxTagPlaceholder: any;
|
|
22
|
+
optionLabel: any;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
declare function focus(): void;
|
|
26
|
+
declare function blur(): void;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldSelectProps>, {
|
|
28
|
+
fieldProps: () => {};
|
|
29
|
+
emptyText: string;
|
|
30
|
+
mode: string;
|
|
31
|
+
}>, {
|
|
32
|
+
focus: typeof focus;
|
|
33
|
+
blur: typeof blur;
|
|
34
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
35
|
+
"update:value": (...args: any[]) => void;
|
|
36
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFieldSelectProps>, {
|
|
37
|
+
fieldProps: () => {};
|
|
38
|
+
emptyText: string;
|
|
39
|
+
mode: string;
|
|
40
|
+
}>>> & {
|
|
41
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
}, {
|
|
43
|
+
mode: FieldMode;
|
|
44
|
+
emptyText: string;
|
|
45
|
+
fieldProps: Omit<Partial< ExtractPropTypes<{
|
|
46
|
+
value: {
|
|
47
|
+
type: PropType<SelectValue>;
|
|
48
|
+
default: SelectValue;
|
|
49
|
+
};
|
|
50
|
+
defaultValue: {
|
|
51
|
+
type: PropType<SelectValue>;
|
|
52
|
+
default: SelectValue;
|
|
53
|
+
};
|
|
54
|
+
notFoundContent: VueTypeValidableDef<any>;
|
|
55
|
+
suffixIcon: VueTypeValidableDef<any>;
|
|
56
|
+
itemIcon: VueTypeValidableDef<any>;
|
|
57
|
+
size: {
|
|
58
|
+
type: PropType<ButtonSize>;
|
|
59
|
+
default: ButtonSize;
|
|
60
|
+
};
|
|
61
|
+
mode: {
|
|
62
|
+
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
63
|
+
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
64
|
+
};
|
|
65
|
+
bordered: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
transitionName: StringConstructor;
|
|
70
|
+
choiceTransitionName: {
|
|
71
|
+
type: PropType<"">;
|
|
72
|
+
default: "";
|
|
73
|
+
};
|
|
74
|
+
popupClassName: StringConstructor;
|
|
75
|
+
dropdownClassName: StringConstructor;
|
|
76
|
+
placement: {
|
|
77
|
+
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
78
|
+
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
79
|
+
};
|
|
80
|
+
status: {
|
|
81
|
+
type: PropType<"" | "error" | "warning">;
|
|
82
|
+
default: "" | "error" | "warning";
|
|
83
|
+
};
|
|
84
|
+
'onUpdate:value': {
|
|
85
|
+
type: PropType<(val: SelectValue) => void>;
|
|
86
|
+
default: (val: SelectValue) => void;
|
|
87
|
+
};
|
|
88
|
+
children: PropType< VueNode[]>;
|
|
89
|
+
listHeight: NumberConstructor;
|
|
90
|
+
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
91
|
+
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
92
|
+
tabindex: NumberConstructor;
|
|
93
|
+
onClick: PropType<(e: MouseEvent) => void>;
|
|
94
|
+
onFocus: {
|
|
95
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
96
|
+
};
|
|
97
|
+
onBlur: {
|
|
98
|
+
type: PropType<(e: FocusEvent) => void>;
|
|
99
|
+
};
|
|
100
|
+
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
101
|
+
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
102
|
+
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
103
|
+
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
104
|
+
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
105
|
+
open: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: any;
|
|
108
|
+
};
|
|
109
|
+
animation: StringConstructor;
|
|
110
|
+
direction: {
|
|
111
|
+
type: PropType<"ltr" | "rtl">;
|
|
112
|
+
};
|
|
113
|
+
disabled: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: any;
|
|
116
|
+
};
|
|
117
|
+
prefixCls: StringConstructor;
|
|
118
|
+
id: StringConstructor;
|
|
119
|
+
autofocus: BooleanConstructor;
|
|
120
|
+
getPopupContainer: {
|
|
121
|
+
type: PropType<RenderDOMFunc>;
|
|
122
|
+
};
|
|
123
|
+
virtual: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: any;
|
|
126
|
+
};
|
|
127
|
+
dropdownMatchSelectWidth: {
|
|
128
|
+
type: PropType<number | boolean>;
|
|
129
|
+
default: any;
|
|
130
|
+
};
|
|
131
|
+
options: PropType<DefaultOptionType[]>;
|
|
132
|
+
showAction: {
|
|
133
|
+
type: PropType<("click" | "focus")[]>;
|
|
134
|
+
};
|
|
135
|
+
placeholder: VueTypeValidableDef<any>;
|
|
136
|
+
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
137
|
+
loading: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: any;
|
|
140
|
+
};
|
|
141
|
+
clearIcon: VueTypeValidableDef<any>;
|
|
142
|
+
allowClear: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: any;
|
|
145
|
+
};
|
|
146
|
+
onSearch: PropType<(value: string) => void>;
|
|
147
|
+
fieldNames: PropType<FieldNames>;
|
|
148
|
+
dropdownStyle: {
|
|
149
|
+
type: PropType<CSSProperties>;
|
|
150
|
+
};
|
|
151
|
+
dropdownRender: {
|
|
152
|
+
type: PropType<DropdownRender>;
|
|
153
|
+
};
|
|
154
|
+
dropdownAlign: PropType<AlignType>;
|
|
155
|
+
showSearch: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: any;
|
|
158
|
+
};
|
|
159
|
+
searchValue: StringConstructor;
|
|
160
|
+
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
161
|
+
removeIcon: VueTypeValidableDef<any>;
|
|
162
|
+
maxTagCount: {
|
|
163
|
+
type: PropType<number | "responsive">;
|
|
164
|
+
};
|
|
165
|
+
maxTagTextLength: NumberConstructor;
|
|
166
|
+
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
167
|
+
tokenSeparators: {
|
|
168
|
+
type: PropType<string[]>;
|
|
169
|
+
};
|
|
170
|
+
tagRender: {
|
|
171
|
+
type: PropType<(props: CustomTagProps) => any>;
|
|
172
|
+
};
|
|
173
|
+
optionLabelRender: {
|
|
174
|
+
type: PropType<(option: Record<string, any>) => any>;
|
|
175
|
+
};
|
|
176
|
+
onClear: PropType<() => void>;
|
|
177
|
+
defaultOpen: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: any;
|
|
180
|
+
};
|
|
181
|
+
onDropdownVisibleChange: {
|
|
182
|
+
type: PropType<(open: boolean) => void>;
|
|
183
|
+
};
|
|
184
|
+
showArrow: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: any;
|
|
187
|
+
};
|
|
188
|
+
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
189
|
+
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
190
|
+
listItemHeight: NumberConstructor;
|
|
191
|
+
inputValue: StringConstructor;
|
|
192
|
+
autoClearSearchValue: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
default: any;
|
|
195
|
+
};
|
|
196
|
+
filterOption: {
|
|
197
|
+
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
198
|
+
default: any;
|
|
199
|
+
};
|
|
200
|
+
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
201
|
+
optionFilterProp: StringConstructor;
|
|
202
|
+
optionLabelProp: StringConstructor;
|
|
203
|
+
defaultActiveFirstOption: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
default: any;
|
|
206
|
+
};
|
|
207
|
+
labelInValue: {
|
|
208
|
+
type: BooleanConstructor;
|
|
209
|
+
default: any;
|
|
210
|
+
};
|
|
211
|
+
}>>, "mode" | "value" | "onUpdate:value" | "onSearch">;
|
|
212
|
+
}, {}>, Readonly<ApFieldSelectSlots> & ApFieldSelectSlots>;
|
|
213
|
+
export default _default;
|
|
214
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
215
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
216
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
217
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
218
|
+
} : {
|
|
219
|
+
type: PropType<T[K]>;
|
|
220
|
+
required: true;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
type __VLS_WithDefaults<P, D> = {
|
|
224
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
225
|
+
default: D[K];
|
|
226
|
+
}> : P[K];
|
|
227
|
+
};
|
|
228
|
+
type __VLS_Prettify<T> = {
|
|
229
|
+
[K in keyof T]: T[K];
|
|
230
|
+
} & {};
|
|
231
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
232
|
+
new (): {
|
|
233
|
+
$slots: S;
|
|
234
|
+
};
|
|
235
|
+
};
|