@aplus-frontend/ui 0.2.29 → 0.3.1
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 +42 -40
- package/es/src/ap-action/group/index.vue.d.ts +3 -30
- package/es/src/ap-action/item/index.vue.d.ts +4 -36
- package/es/src/ap-action/item/index.vue2.mjs +29 -29
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +5 -39
- package/es/src/ap-action/item-modal/index.vue.d.ts +5 -33
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +5 -33
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.d.ts +5 -31
- package/es/src/ap-button/ap-button.vue.d.ts +5 -31
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +4 -12
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +24 -24
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -15
- package/es/src/ap-download/ap-download.vue.d.ts +8 -31
- package/es/src/ap-drawer/utils/createDrawer.mjs +10 -10
- package/es/src/ap-field/checkbox/index.vue.d.ts +5 -32
- package/es/src/ap-field/checkbox/index.vue.mjs +3 -3
- package/es/src/ap-field/date/index.vue.d.ts +7 -65
- package/es/src/ap-field/date/index.vue.mjs +2 -2
- package/es/src/ap-field/date-range/index.vue.d.ts +7 -67
- package/es/src/ap-field/date-range/index.vue.mjs +2 -2
- package/es/src/ap-field/hooks/use-options.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.d.ts +12 -169
- package/es/src/ap-field/number/index.vue.mjs +3 -3
- package/es/src/ap-field/radio/index.vue.d.ts +6 -33
- package/es/src/ap-field/radio/index.vue.mjs +5 -5
- package/es/src/ap-field/rate/index.vue.d.ts +12 -75
- package/es/src/ap-field/rate/index.vue.mjs +4 -4
- package/es/src/ap-field/segmented/index.vue.d.ts +7 -33
- package/es/src/ap-field/segmented/index.vue.mjs +3 -3
- package/es/src/ap-field/select/index.vue.d.ts +12 -234
- package/es/src/ap-field/select/index.vue.mjs +4 -4
- package/es/src/ap-field/slider/index.vue.d.ts +12 -144
- package/es/src/ap-field/slider/index.vue.mjs +3 -3
- package/es/src/ap-field/switch/index.vue.d.ts +7 -37
- package/es/src/ap-field/switch/index.vue.mjs +4 -4
- package/es/src/ap-field/text/index.vue.d.ts +8 -40
- package/es/src/ap-field/text/password.vue.d.ts +9 -47
- package/es/src/ap-field/text-area/index.vue.d.ts +6 -39
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-form/ap-form.vue.d.ts +21 -274
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/dependency/index.vue.d.ts +4 -12
- package/es/src/ap-form/drawer-form/index.vue.d.ts +37 -536
- package/es/src/ap-form/drawer-form/index.vue.mjs +2 -2
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/item/index.vue.d.ts +37 -278
- package/es/src/ap-form/item-group/index.vue.d.ts +5 -29
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +5 -37
- package/es/src/ap-form/items/date/index.vue.d.ts +5 -37
- package/es/src/ap-form/items/date-range/index.vue.d.ts +5 -37
- package/es/src/ap-form/items/number/index.vue.d.ts +53 -510
- package/es/src/ap-form/items/radio/index.vue.d.ts +14 -219
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -38
- package/es/src/ap-form/items/switch/index.vue.d.ts +5 -39
- package/es/src/ap-form/items/text/group.vue.d.ts +5 -25
- package/es/src/ap-form/items/text/index.vue.d.ts +35 -522
- package/es/src/ap-form/items/text/password.vue.d.ts +44 -586
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -507
- package/es/src/ap-form/list/index.vue.d.ts +4 -12
- package/es/src/ap-form/modal-form/index.vue.d.ts +37 -535
- package/es/src/ap-form/modal-form/index.vue.mjs +3 -3
- package/es/src/ap-form/render/control.vue.d.ts +4 -12
- package/es/src/ap-form/render/item.vue.d.ts +5 -37
- package/es/src/ap-form/search-form/index.vue.d.ts +37 -532
- package/es/src/ap-form/search-form/index.vue.mjs +2 -2
- package/es/src/ap-form/set/index.vue.d.ts +5 -25
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +4 -12
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +5 -27
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +6 -6
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +7 -29
- package/es/src/ap-list/index.vue.d.ts +4 -6
- package/es/src/ap-list/index.vue.mjs +27 -27
- package/es/src/ap-modal/utils/createModal.mjs +10 -10
- package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
- package/es/src/ap-scroll-bar/ap-scroll-bar.vue2.mjs +3 -3
- package/es/src/ap-scroll-bar/index.d.ts +7 -42
- package/es/src/ap-table/ap-table.vue.d.ts +3 -5
- package/es/src/ap-table/ap-table.vue2.mjs +3 -3
- package/es/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/es/src/ap-table/components/index/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +5 -25
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +4 -4
- package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +8 -8
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +6 -6
- package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/status/index.vue2.mjs +4 -4
- package/es/src/ap-table/constants.d.ts +162 -13517
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +11 -3
- package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-content-height.mjs +13 -11
- package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/es/src/ap-table/utils.d.ts +65 -7907
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +5 -29
- package/es/src/ap-tag/ap-tag-group.vue.mjs +88 -88
- package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/es/src/ap-upload/apUpload.vue.d.ts +66 -16
- package/es/src/ap-upload/apUpload.vue.mjs +56 -37
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +10 -10
- package/es/src/ap-upload/components/Picture.vue.d.ts +6 -10
- package/es/src/ap-upload/components/Picture.vue2.mjs +26 -26
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +27 -27
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +49 -49
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +2 -2
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +10 -10
- package/es/src/business/ap-appendix/index.d.ts +7 -108
- package/es/src/business/ap-attachment/ApAttachment.d.ts +5 -5
- package/es/src/business/ap-attachment/index.d.ts +7 -48
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +4 -12
- package/es/src/business/ap-batch-action/index.d.ts +5 -32
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +3 -11
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -14
- package/es/src/business/ap-batch-action-group/index.d.ts +590 -905
- package/es/src/business/ap-button-group/ApButtonGroup.vue.d.ts +2 -19
- package/es/src/business/ap-button-group/index.d.ts +5 -603
- package/es/src/business/ap-card/ApCard.vue.d.ts +4 -12
- package/es/src/business/ap-card/index.d.ts +5 -33
- package/es/src/business/ap-card/interface.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -10
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +5 -5
- package/es/src/business/ap-expand-alert/index.d.ts +6 -8
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +3 -24
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +11 -11
- package/es/src/business/ap-export-group/index.d.ts +7 -146
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +8 -30
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +26 -26
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +15 -15
- package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +2 -2
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +18 -18
- package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +34 -34
- package/es/src/business/ap-group-search/index.d.ts +711 -2447
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +10 -357
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +15 -15
- package/es/src/business/ap-image/ApImage.vue.d.ts +5 -25
- package/es/src/business/ap-image/ApImage.vue2.mjs +28 -28
- package/es/src/business/ap-image/index.d.ts +7 -139
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +6 -31
- package/es/src/business/ap-input-radio/index.d.ts +14 -339
- package/es/src/business/ap-label/ApLabel.d.ts +5 -5
- package/es/src/business/ap-label/group/ApLabelGroup.d.ts +5 -5
- package/es/src/business/ap-label/index.d.ts +13 -90
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +5 -71
- package/es/src/business/ap-ladder/index.d.ts +7 -479
- package/es/src/business/ap-select-layout/index.d.ts +5 -7
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -12
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +58 -58
- package/es/src/business/ap-size-input/ApSizeInput.d.ts +84 -0
- package/es/src/business/ap-size-input/ApSizeInput.mjs +62 -0
- package/es/src/business/ap-size-input/constans.d.ts +38 -0
- package/es/src/business/ap-size-input/constans.mjs +40 -0
- package/es/src/business/ap-size-input/index.d.ts +155 -0
- package/es/src/business/ap-size-input/index.mjs +7 -0
- package/es/src/business/ap-size-input/interface.d.ts +11 -0
- package/es/src/business/ap-size-input/interface.mjs +1 -0
- package/es/src/business/ap-size-input/style/css.d.ts +0 -0
- package/es/src/business/ap-size-input/style/css.js +1 -0
- package/es/src/business/ap-size-input/style/index.d.ts +0 -0
- package/es/src/business/ap-size-input/style/index.js +1 -0
- package/es/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/es/src/business/ap-status/group/ApStatusGroup.vue.d.ts +3 -30
- package/es/src/business/ap-status/index.d.ts +12 -192
- package/es/src/business/ap-summary/ap-summary.vue.d.ts +3 -28
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-summary/index.d.ts +7 -87
- package/es/src/business/ap-table-modal/index.d.ts +15 -1056
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +6 -5
- package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +12 -37
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +8 -58
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +8 -9
- package/es/src/business/ap-title/ApTitle.vue.d.ts +5 -33
- package/es/src/business/ap-title/index.d.ts +7 -110
- package/es/src/business/ap-title/interface.d.ts +4 -4
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +13 -33
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +74 -70
- package/es/src/business/ap-upload-file/hook/useProps.mjs +8 -8
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +2 -2
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +18 -18
- package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +10 -10
- package/es/src/business/ap-upload-file/interface.d.ts +2 -0
- package/es/src/business/ap-upload-file/utils/fileList.d.ts +2 -2
- package/es/src/business/ap-upload-file/utils/fileList.mjs +12 -12
- package/es/src/business/ap-upload-file/utils/upload.d.ts +3 -0
- package/es/src/business/ap-upload-file/utils/upload.mjs +23 -23
- package/es/src/business/batch-input-group/index.vue.d.ts +5 -38
- package/es/src/business/batch-input-group/index.vue.mjs +5 -5
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +15 -15
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -0
- package/es/src/business/hooks/usePageListApTable.mjs +41 -33
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +20 -18
- package/es/src/check-card/group.vue.d.ts +7 -45
- package/es/src/check-card/index.vue.d.ts +7 -37
- package/es/src/config-provider/config-provider.d.ts +5 -5
- package/es/src/config-provider/index.d.ts +7 -256
- package/es/src/editable-table/form-item.vue.d.ts +5 -7
- package/es/src/editable-table/form-item.vue.mjs +3 -3
- package/es/src/editable-table/index.vue.d.ts +4 -8
- package/es/src/editable-table/index.vue.mjs +6 -6
- package/es/src/hooks/useControllableValue.d.ts +1 -1
- package/es/src/index.mjs +40 -38
- package/es/src/locale/lang/en.mjs +5 -0
- package/es/src/locale/lang/zh-cn.mjs +5 -0
- package/es/src/path-map.mjs +1 -0
- package/es/src/tests/wrapper.d.ts +6 -6
- package/es/src/utils/ap-trans-data/index.d.ts +1 -1
- package/es/src/utils/ap-trans-data/index.mjs +26 -14
- package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/es/src/work-order-modal/work-order-modal.vue.mjs +28 -28
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item/index.vue.d.ts +4 -36
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +5 -39
- package/lib/src/ap-action/item-modal/index.vue.d.ts +5 -33
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +5 -33
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +5 -31
- package/lib/src/ap-button/ap-button.vue.d.ts +5 -31
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +4 -12
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +1 -1
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -15
- package/lib/src/ap-download/ap-download.vue.d.ts +8 -31
- package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.d.ts +5 -32
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +7 -65
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.d.ts +7 -67
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/hooks/use-options.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +12 -169
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/index.vue.d.ts +6 -33
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.d.ts +12 -75
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/segmented/index.vue.d.ts +7 -33
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +12 -234
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +12 -144
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.d.ts +7 -37
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +8 -40
- package/lib/src/ap-field/text/password.vue.d.ts +9 -47
- package/lib/src/ap-field/text-area/index.vue.d.ts +6 -39
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +21 -274
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/dependency/index.vue.d.ts +4 -12
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +37 -536
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/item/index.vue.d.ts +37 -278
- package/lib/src/ap-form/item-group/index.vue.d.ts +5 -29
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +5 -37
- package/lib/src/ap-form/items/date/index.vue.d.ts +5 -37
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +5 -37
- package/lib/src/ap-form/items/number/index.vue.d.ts +53 -510
- package/lib/src/ap-form/items/radio/index.vue.d.ts +14 -219
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -38
- package/lib/src/ap-form/items/switch/index.vue.d.ts +5 -39
- package/lib/src/ap-form/items/text/group.vue.d.ts +5 -25
- package/lib/src/ap-form/items/text/index.vue.d.ts +35 -522
- package/lib/src/ap-form/items/text/password.vue.d.ts +44 -586
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -507
- package/lib/src/ap-form/list/index.vue.d.ts +4 -12
- package/lib/src/ap-form/modal-form/index.vue.d.ts +37 -535
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/render/control.vue.d.ts +4 -12
- package/lib/src/ap-form/render/item.vue.d.ts +5 -37
- package/lib/src/ap-form/search-form/index.vue.d.ts +37 -532
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-form/set/index.vue.d.ts +5 -25
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +4 -12
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +5 -27
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.js +1 -1
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +7 -29
- package/lib/src/ap-list/index.vue.d.ts +4 -6
- package/lib/src/ap-list/index.vue.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
- package/lib/src/ap-scroll-bar/ap-scroll-bar.vue2.js +1 -1
- package/lib/src/ap-scroll-bar/index.d.ts +7 -42
- package/lib/src/ap-table/ap-table.vue.d.ts +3 -5
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/lib/src/ap-table/components/index/index.vue2.js +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +5 -25
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/setting/select-group/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/setting/sortable/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
- package/lib/src/ap-table/components/setting/sortable/item.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
- package/lib/src/ap-table/components/setting/sorter/index.vue2.js +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/status/index.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +162 -13517
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +11 -3
- package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-content-height.js +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/lib/src/ap-table/utils.d.ts +65 -7907
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +5 -29
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/lib/src/ap-upload/apUpload.vue.d.ts +66 -16
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +6 -10
- package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +2 -2
- package/lib/src/business/ap-appendix/icons/file-icon.vue.js +1 -1
- package/lib/src/business/ap-appendix/index.d.ts +7 -108
- package/lib/src/business/ap-attachment/ApAttachment.d.ts +5 -5
- package/lib/src/business/ap-attachment/index.d.ts +7 -48
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +4 -12
- package/lib/src/business/ap-batch-action/index.d.ts +5 -32
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +3 -11
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -14
- package/lib/src/business/ap-batch-action-group/index.d.ts +590 -905
- package/lib/src/business/ap-button-group/ApButtonGroup.vue.d.ts +2 -19
- package/lib/src/business/ap-button-group/index.d.ts +5 -603
- package/lib/src/business/ap-card/ApCard.vue.d.ts +4 -12
- package/lib/src/business/ap-card/index.d.ts +5 -33
- package/lib/src/business/ap-card/interface.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -10
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -8
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +3 -24
- package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
- package/lib/src/business/ap-export-group/index.d.ts +7 -146
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +8 -30
- package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
- package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
- package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +2 -2
- package/lib/src/business/ap-group-search/images/icon-down.vue.js +1 -1
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +2 -2
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.js +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +711 -2447
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +10 -357
- package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
- package/lib/src/business/ap-image/ApImage.vue.d.ts +5 -25
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/index.d.ts +7 -139
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +6 -31
- package/lib/src/business/ap-input-radio/index.d.ts +14 -339
- package/lib/src/business/ap-label/ApLabel.d.ts +5 -5
- package/lib/src/business/ap-label/group/ApLabelGroup.d.ts +5 -5
- package/lib/src/business/ap-label/index.d.ts +13 -90
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +5 -71
- package/lib/src/business/ap-ladder/index.d.ts +7 -479
- package/lib/src/business/ap-select-layout/index.d.ts +5 -7
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -12
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.d.ts +84 -0
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -0
- package/lib/src/business/ap-size-input/constans.d.ts +38 -0
- package/lib/src/business/ap-size-input/constans.js +1 -0
- package/lib/src/business/ap-size-input/index.d.ts +155 -0
- package/lib/src/business/ap-size-input/index.js +1 -0
- package/lib/src/business/ap-size-input/interface.d.ts +11 -0
- package/lib/src/business/ap-size-input/interface.js +1 -0
- package/lib/src/business/ap-size-input/style/css.d.ts +0 -0
- package/lib/src/business/ap-size-input/style/css.js +1 -0
- package/lib/src/business/ap-size-input/style/index.d.ts +0 -0
- package/lib/src/business/ap-size-input/style/index.js +1 -0
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/lib/src/business/ap-status/group/ApStatusGroup.vue.d.ts +3 -30
- package/lib/src/business/ap-status/index.d.ts +12 -192
- package/lib/src/business/ap-summary/ap-summary.vue.d.ts +3 -28
- package/lib/src/business/ap-summary/ap-summary.vue2.js +1 -1
- package/lib/src/business/ap-summary/index.d.ts +7 -87
- package/lib/src/business/ap-table-modal/index.d.ts +15 -1056
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +6 -5
- package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +12 -37
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +8 -58
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +5 -33
- package/lib/src/business/ap-title/index.d.ts +7 -110
- package/lib/src/business/ap-title/interface.d.ts +4 -4
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +13 -33
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.js +1 -1
- package/lib/src/business/ap-upload-file/hook/useProps.js +1 -1
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +2 -2
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.js +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +2 -2
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.js +1 -1
- package/lib/src/business/ap-upload-file/interface.d.ts +2 -0
- package/lib/src/business/ap-upload-file/utils/fileList.d.ts +2 -2
- package/lib/src/business/ap-upload-file/utils/fileList.js +1 -1
- package/lib/src/business/ap-upload-file/utils/upload.d.ts +3 -0
- package/lib/src/business/ap-upload-file/utils/upload.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +5 -38
- package/lib/src/business/batch-input-group/index.vue.js +1 -1
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -0
- package/lib/src/business/hooks/usePageListApTable.js +1 -1
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +7 -45
- package/lib/src/check-card/index.vue.d.ts +7 -37
- package/lib/src/config-provider/config-provider.d.ts +5 -5
- package/lib/src/config-provider/index.d.ts +7 -256
- package/lib/src/editable-table/form-item.vue.d.ts +5 -7
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +4 -8
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/hooks/useControllableValue.d.ts +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/tests/wrapper.d.ts +6 -6
- package/lib/src/utils/ap-trans-data/index.d.ts +1 -1
- package/lib/src/utils/ap-trans-data/index.js +1 -1
- package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApFieldNumberProps } from '../interface';
|
|
2
|
-
import {
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
3
3
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
5
5
|
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
@@ -16,9 +16,10 @@ type ApFieldNumberSlots = {
|
|
|
16
16
|
declare function focus(): void;
|
|
17
17
|
declare function blur(): void;
|
|
18
18
|
declare function __VLS_template(): {
|
|
19
|
+
attrs: Partial<{}>;
|
|
19
20
|
slots: Readonly<ApFieldNumberSlots> & ApFieldNumberSlots;
|
|
20
21
|
refs: {
|
|
21
|
-
inputRef:
|
|
22
|
+
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
22
23
|
size: {
|
|
23
24
|
type: PropType<ButtonSize>;
|
|
24
25
|
default: ButtonSize;
|
|
@@ -139,128 +140,7 @@ declare function __VLS_template(): {
|
|
|
139
140
|
type: PropType<(e: FocusEvent) => void>;
|
|
140
141
|
default: (e: FocusEvent) => void;
|
|
141
142
|
};
|
|
142
|
-
}
|
|
143
|
-
size: {
|
|
144
|
-
type: PropType<ButtonSize>;
|
|
145
|
-
default: ButtonSize;
|
|
146
|
-
};
|
|
147
|
-
bordered: {
|
|
148
|
-
type: BooleanConstructor;
|
|
149
|
-
default: boolean;
|
|
150
|
-
};
|
|
151
|
-
placeholder: StringConstructor;
|
|
152
|
-
name: StringConstructor;
|
|
153
|
-
id: StringConstructor;
|
|
154
|
-
type: StringConstructor;
|
|
155
|
-
addonBefore: VueTypeValidableDef<any>;
|
|
156
|
-
addonAfter: VueTypeValidableDef<any>;
|
|
157
|
-
prefix: VueTypeValidableDef<any>;
|
|
158
|
-
suffix: VueTypeValidableDef<any>;
|
|
159
|
-
'onUpdate:value': {
|
|
160
|
-
type: PropType<(value: ValueType) => void>;
|
|
161
|
-
default: (value: ValueType) => void;
|
|
162
|
-
};
|
|
163
|
-
valueModifiers: ObjectConstructor;
|
|
164
|
-
status: {
|
|
165
|
-
type: PropType<"" | "error" | "warning">;
|
|
166
|
-
default: "" | "error" | "warning";
|
|
167
|
-
};
|
|
168
|
-
stringMode: {
|
|
169
|
-
type: BooleanConstructor;
|
|
170
|
-
default: boolean;
|
|
171
|
-
};
|
|
172
|
-
defaultValue: {
|
|
173
|
-
type: PropType<ValueType>;
|
|
174
|
-
default: ValueType;
|
|
175
|
-
};
|
|
176
|
-
value: {
|
|
177
|
-
type: PropType<ValueType>;
|
|
178
|
-
default: ValueType;
|
|
179
|
-
};
|
|
180
|
-
prefixCls: {
|
|
181
|
-
type: PropType<string>;
|
|
182
|
-
default: string;
|
|
183
|
-
};
|
|
184
|
-
min: {
|
|
185
|
-
type: PropType<ValueType>;
|
|
186
|
-
default: ValueType;
|
|
187
|
-
};
|
|
188
|
-
max: {
|
|
189
|
-
type: PropType<ValueType>;
|
|
190
|
-
default: ValueType;
|
|
191
|
-
};
|
|
192
|
-
step: {
|
|
193
|
-
type: PropType<ValueType>;
|
|
194
|
-
default: ValueType;
|
|
195
|
-
};
|
|
196
|
-
tabindex: NumberConstructor;
|
|
197
|
-
controls: {
|
|
198
|
-
type: BooleanConstructor;
|
|
199
|
-
default: boolean;
|
|
200
|
-
};
|
|
201
|
-
readonly: {
|
|
202
|
-
type: BooleanConstructor;
|
|
203
|
-
default: boolean;
|
|
204
|
-
};
|
|
205
|
-
disabled: {
|
|
206
|
-
type: BooleanConstructor;
|
|
207
|
-
default: boolean;
|
|
208
|
-
};
|
|
209
|
-
autofocus: {
|
|
210
|
-
type: BooleanConstructor;
|
|
211
|
-
default: boolean;
|
|
212
|
-
};
|
|
213
|
-
keyboard: {
|
|
214
|
-
type: BooleanConstructor;
|
|
215
|
-
default: boolean;
|
|
216
|
-
};
|
|
217
|
-
parser: {
|
|
218
|
-
type: PropType<(displayValue: string) => ValueType>;
|
|
219
|
-
default: (displayValue: string) => ValueType;
|
|
220
|
-
};
|
|
221
|
-
formatter: {
|
|
222
|
-
type: PropType<(value: ValueType, info: {
|
|
223
|
-
userTyping: boolean;
|
|
224
|
-
input: string;
|
|
225
|
-
}) => string>;
|
|
226
|
-
default: (value: ValueType, info: {
|
|
227
|
-
userTyping: boolean;
|
|
228
|
-
input: string;
|
|
229
|
-
}) => string;
|
|
230
|
-
};
|
|
231
|
-
precision: NumberConstructor;
|
|
232
|
-
decimalSeparator: StringConstructor;
|
|
233
|
-
onInput: {
|
|
234
|
-
type: PropType<(text: string) => void>;
|
|
235
|
-
default: (text: string) => void;
|
|
236
|
-
};
|
|
237
|
-
onChange: {
|
|
238
|
-
type: PropType<(value: ValueType) => void>;
|
|
239
|
-
default: (value: ValueType) => void;
|
|
240
|
-
};
|
|
241
|
-
onPressEnter: {
|
|
242
|
-
type: PropType<KeyboardEventHandler>;
|
|
243
|
-
default: KeyboardEventHandler;
|
|
244
|
-
};
|
|
245
|
-
onStep: {
|
|
246
|
-
type: PropType<(value: ValueType, info: {
|
|
247
|
-
offset: ValueType;
|
|
248
|
-
type: "up" | "down";
|
|
249
|
-
}) => void>;
|
|
250
|
-
default: (value: ValueType, info: {
|
|
251
|
-
offset: ValueType;
|
|
252
|
-
type: "up" | "down";
|
|
253
|
-
}) => void;
|
|
254
|
-
};
|
|
255
|
-
onBlur: {
|
|
256
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
257
|
-
default: (e: FocusEvent) => void;
|
|
258
|
-
};
|
|
259
|
-
onFocus: {
|
|
260
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
261
|
-
default: (e: FocusEvent) => void;
|
|
262
|
-
};
|
|
263
|
-
}>>, {
|
|
143
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
264
144
|
size: ButtonSize;
|
|
265
145
|
value: ValueType;
|
|
266
146
|
onFocus: (e: FocusEvent) => void;
|
|
@@ -299,7 +179,7 @@ declare function __VLS_template(): {
|
|
|
299
179
|
default?: any;
|
|
300
180
|
upIcon?: any;
|
|
301
181
|
downIcon?: any;
|
|
302
|
-
}>, {
|
|
182
|
+
}>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
303
183
|
P: {};
|
|
304
184
|
B: {};
|
|
305
185
|
D: {};
|
|
@@ -427,7 +307,7 @@ declare function __VLS_template(): {
|
|
|
427
307
|
type: PropType<(e: FocusEvent) => void>;
|
|
428
308
|
default: (e: FocusEvent) => void;
|
|
429
309
|
};
|
|
430
|
-
}
|
|
310
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
431
311
|
size: ButtonSize;
|
|
432
312
|
value: ValueType;
|
|
433
313
|
onFocus: (e: FocusEvent) => void;
|
|
@@ -460,37 +340,17 @@ declare function __VLS_template(): {
|
|
|
460
340
|
parser: (displayValue: string) => ValueType;
|
|
461
341
|
}> | null;
|
|
462
342
|
};
|
|
463
|
-
|
|
343
|
+
rootEl: any;
|
|
464
344
|
};
|
|
465
345
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
466
|
-
declare const __VLS_component: DefineComponent<
|
|
467
|
-
emptyText: string;
|
|
468
|
-
thousands: boolean;
|
|
469
|
-
bordered: boolean;
|
|
470
|
-
controls: boolean;
|
|
471
|
-
keyboard: boolean;
|
|
472
|
-
max: number;
|
|
473
|
-
min: number;
|
|
474
|
-
step: number;
|
|
475
|
-
disabled: undefined;
|
|
476
|
-
}>, {
|
|
346
|
+
declare const __VLS_component: DefineComponent<ApFieldNumberProps, {
|
|
477
347
|
focus: typeof focus;
|
|
478
348
|
blur: typeof blur;
|
|
479
|
-
},
|
|
349
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
480
350
|
"update:value": (...args: any[]) => void;
|
|
481
|
-
}, string, PublicProps, Readonly<
|
|
482
|
-
emptyText: string;
|
|
483
|
-
thousands: boolean;
|
|
484
|
-
bordered: boolean;
|
|
485
|
-
controls: boolean;
|
|
486
|
-
keyboard: boolean;
|
|
487
|
-
max: number;
|
|
488
|
-
min: number;
|
|
489
|
-
step: number;
|
|
490
|
-
disabled: undefined;
|
|
491
|
-
}>>> & {
|
|
351
|
+
}, string, PublicProps, Readonly<ApFieldNumberProps> & Readonly<{
|
|
492
352
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
493
|
-
}
|
|
353
|
+
}>, {
|
|
494
354
|
disabled: boolean;
|
|
495
355
|
bordered: boolean;
|
|
496
356
|
keyboard: boolean;
|
|
@@ -500,28 +360,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
500
360
|
controls: boolean;
|
|
501
361
|
emptyText: string;
|
|
502
362
|
thousands: boolean;
|
|
503
|
-
}, {}>;
|
|
363
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
504
364
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
505
365
|
export default _default;
|
|
506
|
-
type __VLS_WithDefaults<P, D> = {
|
|
507
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
508
|
-
default: D[K];
|
|
509
|
-
}> : P[K];
|
|
510
|
-
};
|
|
511
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
512
|
-
type __VLS_TypePropsToOption<T> = {
|
|
513
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
514
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
515
|
-
} : {
|
|
516
|
-
type: PropType<T[K]>;
|
|
517
|
-
required: true;
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
366
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
521
367
|
new (): {
|
|
522
368
|
$slots: S;
|
|
523
369
|
};
|
|
524
370
|
};
|
|
525
|
-
type __VLS_PrettifyLocal<T> = {
|
|
526
|
-
[K in keyof T]: T[K];
|
|
527
|
-
} & {};
|
|
@@ -91,11 +91,11 @@ const te = /* @__PURE__ */ x({
|
|
|
91
91
|
s(e.$slots, "addonAfter")
|
|
92
92
|
], 2)) : m("", !0)
|
|
93
93
|
], 64)) : (r(), $(t(F), R({ key: 1 }, t(T)(o, ["value", "onUpdate:value"]), {
|
|
94
|
+
ref_key: "inputRef",
|
|
95
|
+
ref: l,
|
|
94
96
|
placeholder: t(B),
|
|
95
97
|
value: t(u),
|
|
96
|
-
"onUpdate:value": t(b)
|
|
97
|
-
ref_key: "inputRef",
|
|
98
|
-
ref: l
|
|
98
|
+
"onUpdate:value": t(b)
|
|
99
99
|
}), A({ _: 2 }, [
|
|
100
100
|
I(e.$slots, (q, p) => ({
|
|
101
101
|
name: p,
|
|
@@ -1,46 +1,19 @@
|
|
|
1
1
|
import { ApFieldRadioProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { FieldMode } from '..';
|
|
4
4
|
declare function focus(): void;
|
|
5
5
|
declare function blur(): void;
|
|
6
|
-
declare const _default: DefineComponent<
|
|
7
|
-
emptyText: string;
|
|
8
|
-
mode: string;
|
|
9
|
-
vertical: boolean;
|
|
10
|
-
disabled: undefined;
|
|
11
|
-
}>, {
|
|
6
|
+
declare const _default: DefineComponent<ApFieldRadioProps, {
|
|
12
7
|
focus: typeof focus;
|
|
13
8
|
blur: typeof blur;
|
|
14
|
-
},
|
|
9
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
10
|
"update:value": (...args: any[]) => void;
|
|
16
|
-
}, string, PublicProps, Readonly<
|
|
17
|
-
emptyText: string;
|
|
18
|
-
mode: string;
|
|
19
|
-
vertical: boolean;
|
|
20
|
-
disabled: undefined;
|
|
21
|
-
}>>> & {
|
|
11
|
+
}, string, PublicProps, Readonly<ApFieldRadioProps> & Readonly<{
|
|
22
12
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
}
|
|
13
|
+
}>, {
|
|
24
14
|
mode: FieldMode;
|
|
25
15
|
vertical: boolean;
|
|
26
16
|
disabled: boolean;
|
|
27
17
|
emptyText: string;
|
|
28
|
-
}, {}>;
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
29
19
|
export default _default;
|
|
30
|
-
type __VLS_WithDefaults<P, D> = {
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
}> : P[K];
|
|
34
|
-
};
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type __VLS_PrettifyLocal<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
@@ -75,14 +75,14 @@ const W = /* @__PURE__ */ q({
|
|
|
75
75
|
"vertical"
|
|
76
76
|
]),
|
|
77
77
|
{
|
|
78
|
-
value: o(i),
|
|
79
|
-
"onUpdate:value": o(x),
|
|
80
|
-
options: o(u),
|
|
81
78
|
ref_key: "radioGroupRef",
|
|
82
79
|
ref: n,
|
|
83
|
-
|
|
80
|
+
value: o(i),
|
|
81
|
+
options: o(u),
|
|
82
|
+
class: e.vertical ? o(b)("vertical") : null,
|
|
83
|
+
"onUpdate:value": o(x)
|
|
84
84
|
}
|
|
85
|
-
), null, 16, ["value", "
|
|
85
|
+
), null, 16, ["value", "options", "class", "onUpdate:value"]))
|
|
86
86
|
], 64));
|
|
87
87
|
}
|
|
88
88
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApFieldRateProps } from '../interface';
|
|
2
|
-
import {
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
3
3
|
import { VueTypeValidableDef, VueTypeDef } from '../../../node_modules/vue-types';
|
|
4
4
|
import { Direction } from '@aplus-frontend/antdv/es/config-provider';
|
|
5
5
|
import { FocusEventHandler, KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
@@ -8,13 +8,14 @@ import { FieldMode } from '..';
|
|
|
8
8
|
declare function focus(): void;
|
|
9
9
|
declare function blur(): void;
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
11
12
|
slots: Readonly<{
|
|
12
13
|
character: any;
|
|
13
14
|
}> & {
|
|
14
15
|
character: any;
|
|
15
16
|
};
|
|
16
17
|
refs: {
|
|
17
|
-
rateRef:
|
|
18
|
+
rateRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
18
19
|
prefixCls: StringConstructor;
|
|
19
20
|
count: NumberConstructor;
|
|
20
21
|
value: NumberConstructor;
|
|
@@ -45,43 +46,12 @@ declare function __VLS_template(): {
|
|
|
45
46
|
onFocus: PropType<FocusEventHandler>;
|
|
46
47
|
onBlur: PropType<FocusEventHandler>;
|
|
47
48
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
48
|
-
}
|
|
49
|
-
prefixCls: StringConstructor;
|
|
50
|
-
count: NumberConstructor;
|
|
51
|
-
value: NumberConstructor;
|
|
52
|
-
allowHalf: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: any;
|
|
55
|
-
};
|
|
56
|
-
allowClear: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: any;
|
|
59
|
-
};
|
|
60
|
-
tooltips: PropType<string[]>;
|
|
61
|
-
disabled: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
default: any;
|
|
64
|
-
};
|
|
65
|
-
character: VueTypeValidableDef<any>;
|
|
66
|
-
autofocus: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
default: any;
|
|
69
|
-
};
|
|
70
|
-
tabindex: VueTypeDef<string | number>;
|
|
71
|
-
direction: PropType<Direction>;
|
|
72
|
-
id: StringConstructor;
|
|
73
|
-
onChange: PropType<(value: number) => void>;
|
|
74
|
-
onHoverChange: PropType<(value: number) => void>;
|
|
75
|
-
'onUpdate:value': PropType<(value: number) => void>;
|
|
76
|
-
onFocus: PropType<FocusEventHandler>;
|
|
77
|
-
onBlur: PropType<FocusEventHandler>;
|
|
78
|
-
onKeydown: PropType<KeyboardEventHandler>;
|
|
79
|
-
}>>, {
|
|
49
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
80
50
|
disabled: boolean;
|
|
81
51
|
autofocus: boolean;
|
|
82
52
|
allowClear: boolean;
|
|
83
53
|
allowHalf: boolean;
|
|
84
|
-
}, true, {}, {}, {
|
|
54
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
85
55
|
P: {};
|
|
86
56
|
B: {};
|
|
87
57
|
D: {};
|
|
@@ -119,40 +89,24 @@ declare function __VLS_template(): {
|
|
|
119
89
|
onFocus: PropType<FocusEventHandler>;
|
|
120
90
|
onBlur: PropType<FocusEventHandler>;
|
|
121
91
|
onKeydown: PropType<KeyboardEventHandler>;
|
|
122
|
-
}
|
|
92
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
123
93
|
disabled: boolean;
|
|
124
94
|
autofocus: boolean;
|
|
125
95
|
allowClear: boolean;
|
|
126
96
|
allowHalf: boolean;
|
|
127
97
|
}> | null;
|
|
128
98
|
};
|
|
129
|
-
|
|
99
|
+
rootEl: any;
|
|
130
100
|
};
|
|
131
101
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
132
|
-
declare const __VLS_component: DefineComponent<
|
|
133
|
-
mode: string;
|
|
134
|
-
allowClear: boolean;
|
|
135
|
-
allowHalf: boolean;
|
|
136
|
-
autofocus: boolean;
|
|
137
|
-
count: number;
|
|
138
|
-
character: undefined;
|
|
139
|
-
disabled: undefined;
|
|
140
|
-
}>, {
|
|
102
|
+
declare const __VLS_component: DefineComponent<ApFieldRateProps, {
|
|
141
103
|
focus: typeof focus;
|
|
142
104
|
blur: typeof blur;
|
|
143
|
-
},
|
|
105
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
144
106
|
"update:value": (...args: any[]) => void;
|
|
145
|
-
}, string, PublicProps, Readonly<
|
|
146
|
-
mode: string;
|
|
147
|
-
allowClear: boolean;
|
|
148
|
-
allowHalf: boolean;
|
|
149
|
-
autofocus: boolean;
|
|
150
|
-
count: number;
|
|
151
|
-
character: undefined;
|
|
152
|
-
disabled: undefined;
|
|
153
|
-
}>>> & {
|
|
107
|
+
}, string, PublicProps, Readonly<ApFieldRateProps> & Readonly<{
|
|
154
108
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
155
|
-
}
|
|
109
|
+
}>, {
|
|
156
110
|
mode: FieldMode;
|
|
157
111
|
disabled: boolean;
|
|
158
112
|
count: number;
|
|
@@ -160,28 +114,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
160
114
|
allowClear: boolean;
|
|
161
115
|
allowHalf: boolean;
|
|
162
116
|
character: any;
|
|
163
|
-
}, {}>;
|
|
117
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
164
118
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
165
119
|
export default _default;
|
|
166
|
-
type __VLS_WithDefaults<P, D> = {
|
|
167
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
168
|
-
default: D[K];
|
|
169
|
-
}> : P[K];
|
|
170
|
-
};
|
|
171
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
172
|
-
type __VLS_TypePropsToOption<T> = {
|
|
173
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
174
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
175
|
-
} : {
|
|
176
|
-
type: PropType<T[K]>;
|
|
177
|
-
required: true;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
120
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
181
121
|
new (): {
|
|
182
122
|
$slots: S;
|
|
183
123
|
};
|
|
184
124
|
};
|
|
185
|
-
type __VLS_PrettifyLocal<T> = {
|
|
186
|
-
[K in keyof T]: T[K];
|
|
187
|
-
} & {};
|
|
@@ -45,11 +45,11 @@ const D = /* @__PURE__ */ v({
|
|
|
45
45
|
focus: p,
|
|
46
46
|
blur: m
|
|
47
47
|
}), (e, t) => (B(), C(o(R), _(o(w)(a, ["mode", "defaultValue"]), {
|
|
48
|
+
ref_key: "rateRef",
|
|
49
|
+
ref: l,
|
|
48
50
|
value: o(f),
|
|
49
|
-
"onUpdate:value": o(c),
|
|
50
51
|
disabled: i.value,
|
|
51
|
-
|
|
52
|
-
ref: l
|
|
52
|
+
"onUpdate:value": o(c)
|
|
53
53
|
}), x({ _: 2 }, [
|
|
54
54
|
s.character ? {
|
|
55
55
|
name: "character",
|
|
@@ -58,7 +58,7 @@ const D = /* @__PURE__ */ v({
|
|
|
58
58
|
]),
|
|
59
59
|
key: "0"
|
|
60
60
|
} : void 0
|
|
61
|
-
]), 1040, ["value", "
|
|
61
|
+
]), 1040, ["value", "disabled", "onUpdate:value"]));
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
64
|
export {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ApFieldSegmentedProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { FieldMode } from '..';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
label?(_: {
|
|
7
8
|
value: string | number;
|
|
@@ -12,50 +13,23 @@ declare function __VLS_template(): {
|
|
|
12
13
|
}): any;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: any;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: DefineComponent<
|
|
19
|
-
mode: string;
|
|
20
|
-
emptyText: string;
|
|
21
|
-
block: undefined;
|
|
22
|
-
disabled: undefined;
|
|
23
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
|
+
declare const __VLS_component: DefineComponent<ApFieldSegmentedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
20
|
"update:value": (...args: any[]) => void;
|
|
25
|
-
}, string, PublicProps, Readonly<
|
|
26
|
-
mode: string;
|
|
27
|
-
emptyText: string;
|
|
28
|
-
block: undefined;
|
|
29
|
-
disabled: undefined;
|
|
30
|
-
}>>> & {
|
|
21
|
+
}, string, PublicProps, Readonly<ApFieldSegmentedProps> & Readonly<{
|
|
31
22
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
}
|
|
23
|
+
}>, {
|
|
33
24
|
mode: FieldMode;
|
|
34
25
|
block: boolean;
|
|
35
26
|
disabled: boolean;
|
|
36
27
|
emptyText: string;
|
|
37
|
-
}, {}>;
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
38
29
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
39
30
|
export default _default;
|
|
40
|
-
type __VLS_WithDefaults<P, D> = {
|
|
41
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
42
|
-
default: D[K];
|
|
43
|
-
}> : P[K];
|
|
44
|
-
};
|
|
45
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
|
-
type __VLS_TypePropsToOption<T> = {
|
|
47
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
48
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
49
|
-
} : {
|
|
50
|
-
type: PropType<T[K]>;
|
|
51
|
-
required: true;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
31
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
32
|
new (): {
|
|
56
33
|
$slots: S;
|
|
57
34
|
};
|
|
58
35
|
};
|
|
59
|
-
type __VLS_PrettifyLocal<T> = {
|
|
60
|
-
[K in keyof T]: T[K];
|
|
61
|
-
} & {};
|
|
@@ -74,12 +74,12 @@ const L = /* @__PURE__ */ S({
|
|
|
74
74
|
key: 1
|
|
75
75
|
}, l(E)(o, ["onUpdate:value", "value", "defaultValue", "options"]), {
|
|
76
76
|
value: l(p),
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
options: l(m),
|
|
78
|
+
"onUpdate:value": l(b)
|
|
79
79
|
}), {
|
|
80
80
|
label: z((n) => [F(e.$slots, "label", P(T(n)))]),
|
|
81
81
|
_: 3
|
|
82
|
-
}, 16, ["value", "
|
|
82
|
+
}, 16, ["value", "options", "onUpdate:value"]))], 64));
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
export {
|