@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,361 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
6
|
-
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
7
|
-
import { RenderDOMFunc, DropdownRender, CustomTagProps } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
8
|
-
import { AlignType } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
9
|
-
declare const _default: DefineComponent<__VLS_TypePropsToOption<Omit<Partial< ExtractPropTypes<{
|
|
10
|
-
value: {
|
|
11
|
-
type: PropType<SelectValue>;
|
|
12
|
-
default: SelectValue;
|
|
13
|
-
};
|
|
14
|
-
defaultValue: {
|
|
15
|
-
type: PropType<SelectValue>;
|
|
16
|
-
default: SelectValue;
|
|
17
|
-
};
|
|
18
|
-
notFoundContent: VueTypeValidableDef<any>;
|
|
19
|
-
suffixIcon: VueTypeValidableDef<any>;
|
|
20
|
-
itemIcon: VueTypeValidableDef<any>;
|
|
21
|
-
size: {
|
|
22
|
-
type: PropType<ButtonSize>;
|
|
23
|
-
default: ButtonSize;
|
|
24
|
-
};
|
|
25
|
-
mode: {
|
|
26
|
-
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
27
|
-
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
28
|
-
};
|
|
29
|
-
bordered: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
transitionName: StringConstructor;
|
|
34
|
-
choiceTransitionName: {
|
|
35
|
-
type: PropType<"">;
|
|
36
|
-
default: "";
|
|
37
|
-
};
|
|
38
|
-
popupClassName: StringConstructor;
|
|
39
|
-
dropdownClassName: StringConstructor;
|
|
40
|
-
placement: {
|
|
41
|
-
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
42
|
-
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
43
|
-
};
|
|
44
|
-
status: {
|
|
45
|
-
type: PropType<"" | "error" | "warning">;
|
|
46
|
-
default: "" | "error" | "warning";
|
|
47
|
-
};
|
|
48
|
-
'onUpdate:value': {
|
|
49
|
-
type: PropType<(val: SelectValue) => void>;
|
|
50
|
-
default: (val: SelectValue) => void;
|
|
51
|
-
};
|
|
52
|
-
children: PropType< VueNode[]>;
|
|
53
|
-
listHeight: NumberConstructor;
|
|
54
|
-
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
55
|
-
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
56
|
-
tabindex: NumberConstructor;
|
|
57
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
58
|
-
onFocus: {
|
|
59
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
60
|
-
};
|
|
61
|
-
onBlur: {
|
|
62
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
63
|
-
};
|
|
64
|
-
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
65
|
-
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
66
|
-
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
67
|
-
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
68
|
-
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
69
|
-
open: {
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
default: any;
|
|
72
|
-
};
|
|
73
|
-
animation: StringConstructor;
|
|
74
|
-
direction: {
|
|
75
|
-
type: PropType<"rtl" | "ltr">;
|
|
76
|
-
};
|
|
77
|
-
disabled: {
|
|
78
|
-
type: BooleanConstructor;
|
|
79
|
-
default: any;
|
|
80
|
-
};
|
|
81
|
-
prefixCls: StringConstructor;
|
|
82
|
-
id: StringConstructor;
|
|
83
|
-
autofocus: BooleanConstructor;
|
|
84
|
-
getPopupContainer: {
|
|
85
|
-
type: PropType<RenderDOMFunc>;
|
|
86
|
-
};
|
|
87
|
-
virtual: {
|
|
88
|
-
type: BooleanConstructor;
|
|
89
|
-
default: any;
|
|
90
|
-
};
|
|
91
|
-
dropdownMatchSelectWidth: {
|
|
92
|
-
type: PropType<number | boolean>;
|
|
93
|
-
default: any;
|
|
94
|
-
};
|
|
95
|
-
options: PropType< DefaultOptionType[]>;
|
|
96
|
-
showAction: {
|
|
97
|
-
type: PropType<("click" | "focus")[]>;
|
|
98
|
-
};
|
|
99
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
100
|
-
loading: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: any;
|
|
103
|
-
};
|
|
104
|
-
placeholder: VueTypeValidableDef<any>;
|
|
105
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
106
|
-
allowClear: {
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
default: any;
|
|
109
|
-
};
|
|
110
|
-
onSearch: PropType<(value: string) => void>;
|
|
111
|
-
fieldNames: PropType<FieldNames>;
|
|
112
|
-
dropdownStyle: {
|
|
113
|
-
type: PropType<CSSProperties>;
|
|
114
|
-
};
|
|
115
|
-
dropdownRender: {
|
|
116
|
-
type: PropType<DropdownRender>;
|
|
117
|
-
};
|
|
118
|
-
dropdownAlign: PropType<AlignType>;
|
|
119
|
-
showSearch: {
|
|
120
|
-
type: BooleanConstructor;
|
|
121
|
-
default: any;
|
|
122
|
-
};
|
|
123
|
-
searchValue: StringConstructor;
|
|
124
|
-
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
125
|
-
removeIcon: VueTypeValidableDef<any>;
|
|
126
|
-
maxTagCount: {
|
|
127
|
-
type: PropType<number | "responsive">;
|
|
128
|
-
};
|
|
129
|
-
maxTagTextLength: NumberConstructor;
|
|
130
|
-
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
131
|
-
tokenSeparators: {
|
|
132
|
-
type: PropType<string[]>;
|
|
133
|
-
};
|
|
134
|
-
tagRender: {
|
|
135
|
-
type: PropType<(props: CustomTagProps) => any>;
|
|
136
|
-
};
|
|
137
|
-
optionLabelRender: {
|
|
138
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
139
|
-
};
|
|
140
|
-
onClear: PropType<() => void>;
|
|
141
|
-
defaultOpen: {
|
|
142
|
-
type: BooleanConstructor;
|
|
143
|
-
default: any;
|
|
144
|
-
};
|
|
145
|
-
onDropdownVisibleChange: {
|
|
146
|
-
type: PropType<(open: boolean) => void>;
|
|
147
|
-
};
|
|
148
|
-
showArrow: {
|
|
149
|
-
type: BooleanConstructor;
|
|
150
|
-
default: any;
|
|
151
|
-
};
|
|
152
|
-
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
153
|
-
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
154
|
-
listItemHeight: NumberConstructor;
|
|
155
|
-
inputValue: StringConstructor;
|
|
156
|
-
autoClearSearchValue: {
|
|
157
|
-
type: BooleanConstructor;
|
|
158
|
-
default: any;
|
|
159
|
-
};
|
|
160
|
-
filterOption: {
|
|
161
|
-
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
162
|
-
default: any;
|
|
163
|
-
};
|
|
164
|
-
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
165
|
-
optionFilterProp: StringConstructor;
|
|
166
|
-
optionLabelProp: StringConstructor;
|
|
167
|
-
defaultActiveFirstOption: {
|
|
168
|
-
type: BooleanConstructor;
|
|
169
|
-
default: any;
|
|
170
|
-
};
|
|
171
|
-
labelInValue: {
|
|
172
|
-
type: BooleanConstructor;
|
|
173
|
-
default: any;
|
|
174
|
-
};
|
|
175
|
-
}>>, "mode" | "suffixIcon"> & {
|
|
1
|
+
import { SelectProps } from '@aplus-frontend/antdv';
|
|
2
|
+
import { SelectValue } from '@aplus-frontend/antdv/es/select';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = Omit<SelectProps, 'mode' | 'suffixIcon'> & {
|
|
176
5
|
__parentRef: HTMLElement;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
type: PropType<SelectValue>;
|
|
183
|
-
default: SelectValue;
|
|
184
|
-
};
|
|
185
|
-
defaultValue: {
|
|
186
|
-
type: PropType<SelectValue>;
|
|
187
|
-
default: SelectValue;
|
|
188
|
-
};
|
|
189
|
-
notFoundContent: VueTypeValidableDef<any>;
|
|
190
|
-
suffixIcon: VueTypeValidableDef<any>;
|
|
191
|
-
itemIcon: VueTypeValidableDef<any>;
|
|
192
|
-
size: {
|
|
193
|
-
type: PropType<ButtonSize>;
|
|
194
|
-
default: ButtonSize;
|
|
195
|
-
};
|
|
196
|
-
mode: {
|
|
197
|
-
type: PropType<"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE">;
|
|
198
|
-
default: "multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE";
|
|
199
|
-
};
|
|
200
|
-
bordered: {
|
|
201
|
-
type: BooleanConstructor;
|
|
202
|
-
default: boolean;
|
|
203
|
-
};
|
|
204
|
-
transitionName: StringConstructor;
|
|
205
|
-
choiceTransitionName: {
|
|
206
|
-
type: PropType<"">;
|
|
207
|
-
default: "";
|
|
208
|
-
};
|
|
209
|
-
popupClassName: StringConstructor;
|
|
210
|
-
dropdownClassName: StringConstructor;
|
|
211
|
-
placement: {
|
|
212
|
-
type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
|
|
213
|
-
default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
|
|
214
|
-
};
|
|
215
|
-
status: {
|
|
216
|
-
type: PropType<"" | "error" | "warning">;
|
|
217
|
-
default: "" | "error" | "warning";
|
|
218
|
-
};
|
|
219
|
-
'onUpdate:value': {
|
|
220
|
-
type: PropType<(val: SelectValue) => void>;
|
|
221
|
-
default: (val: SelectValue) => void;
|
|
222
|
-
};
|
|
223
|
-
children: PropType< VueNode[]>;
|
|
224
|
-
listHeight: NumberConstructor;
|
|
225
|
-
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
226
|
-
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
227
|
-
tabindex: NumberConstructor;
|
|
228
|
-
onClick: PropType<(e: MouseEvent) => void>;
|
|
229
|
-
onFocus: {
|
|
230
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
231
|
-
};
|
|
232
|
-
onBlur: {
|
|
233
|
-
type: PropType<(e: FocusEvent) => void>;
|
|
234
|
-
};
|
|
235
|
-
onChange: PropType<(value: SelectValue, option: DefaultOptionType | DefaultOptionType[]) => void>;
|
|
236
|
-
onKeydown: PropType<(e: KeyboardEvent) => void>;
|
|
237
|
-
onKeyup: PropType<(e: KeyboardEvent) => void>;
|
|
238
|
-
onMousedown: PropType<(e: MouseEvent) => void>;
|
|
239
|
-
onSelect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
240
|
-
open: {
|
|
241
|
-
type: BooleanConstructor;
|
|
242
|
-
default: any;
|
|
243
|
-
};
|
|
244
|
-
animation: StringConstructor;
|
|
245
|
-
direction: {
|
|
246
|
-
type: PropType<"rtl" | "ltr">;
|
|
247
|
-
};
|
|
248
|
-
disabled: {
|
|
249
|
-
type: BooleanConstructor;
|
|
250
|
-
default: any;
|
|
251
|
-
};
|
|
252
|
-
prefixCls: StringConstructor;
|
|
253
|
-
id: StringConstructor;
|
|
254
|
-
autofocus: BooleanConstructor;
|
|
255
|
-
getPopupContainer: {
|
|
256
|
-
type: PropType<RenderDOMFunc>;
|
|
257
|
-
};
|
|
258
|
-
virtual: {
|
|
259
|
-
type: BooleanConstructor;
|
|
260
|
-
default: any;
|
|
261
|
-
};
|
|
262
|
-
dropdownMatchSelectWidth: {
|
|
263
|
-
type: PropType<number | boolean>;
|
|
264
|
-
default: any;
|
|
265
|
-
};
|
|
266
|
-
options: PropType< DefaultOptionType[]>;
|
|
267
|
-
showAction: {
|
|
268
|
-
type: PropType<("click" | "focus")[]>;
|
|
269
|
-
};
|
|
270
|
-
onDeselect: PropType<SelectHandler<(string | number) | LabeledValue, DefaultOptionType>>;
|
|
271
|
-
loading: {
|
|
272
|
-
type: BooleanConstructor;
|
|
273
|
-
default: any;
|
|
274
|
-
};
|
|
275
|
-
placeholder: VueTypeValidableDef<any>;
|
|
276
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
277
|
-
allowClear: {
|
|
278
|
-
type: BooleanConstructor;
|
|
279
|
-
default: any;
|
|
280
|
-
};
|
|
281
|
-
onSearch: PropType<(value: string) => void>;
|
|
282
|
-
fieldNames: PropType<FieldNames>;
|
|
283
|
-
dropdownStyle: {
|
|
284
|
-
type: PropType<CSSProperties>;
|
|
285
|
-
};
|
|
286
|
-
dropdownRender: {
|
|
287
|
-
type: PropType<DropdownRender>;
|
|
288
|
-
};
|
|
289
|
-
dropdownAlign: PropType<AlignType>;
|
|
290
|
-
showSearch: {
|
|
291
|
-
type: BooleanConstructor;
|
|
292
|
-
default: any;
|
|
293
|
-
};
|
|
294
|
-
searchValue: StringConstructor;
|
|
295
|
-
onInputKeyDown: PropType<(e: KeyboardEvent) => void>;
|
|
296
|
-
removeIcon: VueTypeValidableDef<any>;
|
|
297
|
-
maxTagCount: {
|
|
298
|
-
type: PropType<number | "responsive">;
|
|
299
|
-
};
|
|
300
|
-
maxTagTextLength: NumberConstructor;
|
|
301
|
-
maxTagPlaceholder: VueTypeValidableDef<any>;
|
|
302
|
-
tokenSeparators: {
|
|
303
|
-
type: PropType<string[]>;
|
|
304
|
-
};
|
|
305
|
-
tagRender: {
|
|
306
|
-
type: PropType<(props: CustomTagProps) => any>;
|
|
307
|
-
};
|
|
308
|
-
optionLabelRender: {
|
|
309
|
-
type: PropType<(option: Record<string, any>) => any>;
|
|
310
|
-
};
|
|
311
|
-
onClear: PropType<() => void>;
|
|
312
|
-
defaultOpen: {
|
|
313
|
-
type: BooleanConstructor;
|
|
314
|
-
default: any;
|
|
315
|
-
};
|
|
316
|
-
onDropdownVisibleChange: {
|
|
317
|
-
type: PropType<(open: boolean) => void>;
|
|
318
|
-
};
|
|
319
|
-
showArrow: {
|
|
320
|
-
type: BooleanConstructor;
|
|
321
|
-
default: any;
|
|
322
|
-
};
|
|
323
|
-
onPopupScroll: PropType<(e: UIEvent) => void>;
|
|
324
|
-
menuItemSelectedIcon: VueTypeValidableDef<any>;
|
|
325
|
-
listItemHeight: NumberConstructor;
|
|
326
|
-
inputValue: StringConstructor;
|
|
327
|
-
autoClearSearchValue: {
|
|
328
|
-
type: BooleanConstructor;
|
|
329
|
-
default: any;
|
|
330
|
-
};
|
|
331
|
-
filterOption: {
|
|
332
|
-
type: PropType<boolean | FilterFunc<DefaultOptionType>>;
|
|
333
|
-
default: any;
|
|
334
|
-
};
|
|
335
|
-
filterSort: PropType<(optionA: DefaultOptionType, optionB: DefaultOptionType) => number>;
|
|
336
|
-
optionFilterProp: StringConstructor;
|
|
337
|
-
optionLabelProp: StringConstructor;
|
|
338
|
-
defaultActiveFirstOption: {
|
|
339
|
-
type: BooleanConstructor;
|
|
340
|
-
default: any;
|
|
341
|
-
};
|
|
342
|
-
labelInValue: {
|
|
343
|
-
type: BooleanConstructor;
|
|
344
|
-
default: any;
|
|
345
|
-
};
|
|
346
|
-
}>>, "mode" | "suffixIcon"> & {
|
|
347
|
-
__parentRef: HTMLElement;
|
|
348
|
-
}>>> & {
|
|
6
|
+
};
|
|
7
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
8
|
+
submit: (value: SelectValue) => any;
|
|
9
|
+
"open-change": (value: boolean) => any;
|
|
10
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
349
11
|
onSubmit?: ((value: SelectValue) => any) | undefined;
|
|
350
12
|
"onOpen-change"?: ((value: boolean) => any) | undefined;
|
|
351
|
-
}, {}, {}>;
|
|
13
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
352
14
|
export default _default;
|
|
353
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
354
|
-
type __VLS_TypePropsToOption<T> = {
|
|
355
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
356
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
357
|
-
} : {
|
|
358
|
-
type: PropType<T[K]>;
|
|
359
|
-
required: true;
|
|
360
|
-
};
|
|
361
|
-
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
2
|
-
`,"\r"],"max-tag-count":200,open:!1,
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("@aplus-frontend/antdv");require("../../../config-provider/index.js");const V=require("../images/icon-line-select.vue.js"),B=require("@aplus-frontend/utils"),b=require("../../../config-provider/hooks/use-locale.js"),x=require("../../../config-provider/hooks/use-global-config.js"),_=require("../../../config-provider/hooks/use-namespace.js"),k=e.defineComponent({__name:"index",props:{value:{},defaultValue:{},notFoundContent:{},itemIcon:{},size:{},bordered:{type:Boolean},transitionName:{},choiceTransitionName:{},popupClassName:{},dropdownClassName:{},placement:{},status:{},"onUpdate:value":{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean},animation:{},direction:{},disabled:{type:Boolean},prefixCls:{},id:{},autofocus:{type:Boolean},getPopupContainer:{},virtual:{type:Boolean},dropdownMatchSelectWidth:{},options:{},showAction:{},onDeselect:{},loading:{type:Boolean},placeholder:{},clearIcon:{},allowClear:{type:Boolean},onSearch:{},fieldNames:{},dropdownStyle:{},dropdownRender:{},dropdownAlign:{},showSearch:{type:Boolean},searchValue:{},onInputKeyDown:{},removeIcon:{},maxTagCount:{},maxTagTextLength:{},maxTagPlaceholder:{},tokenSeparators:{},tagRender:{},optionLabelRender:{},onClear:{},defaultOpen:{type:Boolean},onDropdownVisibleChange:{},showArrow:{type:Boolean},onPopupScroll:{},menuItemSelectedIcon:{},listItemHeight:{},inputValue:{},autoClearSearchValue:{type:Boolean},filterOption:{},filterSort:{},optionFilterProp:{},optionLabelProp:{},defaultActiveFirstOption:{type:Boolean},labelInValue:{type:Boolean},__parentRef:{}},emits:["submit","open-change"],setup(f,{emit:m}){const{t:r}=b.useLocale(),u=x.useGlobalConfig("uiMode","aplus"),l=f,p=m,t=e.ref([]),s=e.ref(!1),c=e.ref();e.watchEffect(()=>{t.value=l.value});const h=o=>l.__parentRef||o,g=o=>{s.value=o,p("open-change",o)},i=()=>{s.value=!1},v=()=>{t.value=[]},C=o=>{t.value=o},y=async()=>{var o;(o=c.value)==null||o.blur(),i(),await B.wait(150),p("submit",t.value)},{b:S,e:w,em:a}=_.useNamespace("ap-popover-select");return(o,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(S)())},[e.createVNode(e.unref(n.Popover),{"overlay-class-name":e.unref(w)("popover"),"get-popup-container":h,trigger:"click",open:s.value,placement:"bottomLeft",onOpenChange:g},{content:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("popover","content"))},[e.createVNode(e.unref(n.Select),e.mergeProps({...l},{ref_key:"selectRef",ref:c,mode:"tags",bordered:!1,value:t.value,placeholder:e.unref(r)("ap.apGroupSearch.tokenSeparatorsPlaceholder"),"token-separators":[",",`
|
|
2
|
+
`,"\r"],"max-tag-count":200,open:!1,onChange:d[0]||(d[0]=N=>C(N))}),null,16,["value","placeholder"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)==="aplus"?e.unref(a)("popover","footer"):e.unref(a)("popover","footer--admin"))},[e.createVNode(e.unref(n.Button),{size:"small",onClick:i},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("ap.apGroupSearch.close")),1)]),_:1}),e.createVNode(e.unref(n.Space),null,{default:e.withCtx(()=>[e.createVNode(e.unref(n.Button),{size:"small",onClick:v},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("ap.apGroupSearch.clear")),1)]),_:1}),e.createVNode(e.unref(n.Button),{size:"small",type:"primary",onClick:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("ap.apGroupSearch.confirm")),1)]),_:1})]),_:1})],2)])]),default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(u)==="aplus"?e.unref(a)("popover","trigger"):e.unref(a)("popover","trigger--admin"))},[e.createVNode(V.default)],2)]),_:1},8,["overlay-class-name","open"])],2))}});exports.default=k;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ApImageProps } from './interface';
|
|
2
2
|
import { ImgInfo } from '@aplus-frontend/antdv/es/vc-image/src/Preview';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
toolbarRender?(_: {
|
|
7
8
|
originalNodes: import("vue/jsx-runtime").JSX.Element[];
|
|
@@ -29,14 +30,10 @@ declare function __VLS_template(): {
|
|
|
29
30
|
}): any;
|
|
30
31
|
};
|
|
31
32
|
refs: {};
|
|
32
|
-
|
|
33
|
+
rootEl: any;
|
|
33
34
|
};
|
|
34
35
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
-
declare const __VLS_component: DefineComponent<
|
|
36
|
-
preview: boolean;
|
|
37
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApImageProps>, {
|
|
38
|
-
preview: boolean;
|
|
39
|
-
}>>>, {
|
|
36
|
+
declare const __VLS_component: DefineComponent<ApImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApImageProps> & Readonly<{}>, {
|
|
40
37
|
preview: boolean | {
|
|
41
38
|
visible?: boolean;
|
|
42
39
|
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
@@ -45,28 +42,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
45
42
|
maskClassName?: string;
|
|
46
43
|
current?: number;
|
|
47
44
|
};
|
|
48
|
-
}, {}>;
|
|
45
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
49
46
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
50
47
|
export default _default;
|
|
51
|
-
type __VLS_WithDefaults<P, D> = {
|
|
52
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
53
|
-
default: D[K];
|
|
54
|
-
}> : P[K];
|
|
55
|
-
};
|
|
56
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
-
type __VLS_TypePropsToOption<T> = {
|
|
58
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
-
} : {
|
|
61
|
-
type: PropType<T[K]>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
48
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
49
|
new (): {
|
|
67
50
|
$slots: S;
|
|
68
51
|
};
|
|
69
52
|
};
|
|
70
|
-
type __VLS_PrettifyLocal<T> = {
|
|
71
|
-
[K in keyof T]: T[K];
|
|
72
|
-
} & {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),N=require("@aplus-frontend/antdv"),y=require("@ant-design/icons-vue"),l=require("./hooks/useOss.js");require("../../config-provider/index.js");const _=require("./imgs/admin-fallback.jpg.js"),A=require("./imgs/aplus-fallback.jpg.js"),B=require("lodash-unified"),S=require("../../config-provider/hooks/use-namespace.js"),i=require("../../config-provider/hooks/use-global-config.js"),F=require("../../config-provider/hooks/use-locale.js"),U=e.defineComponent({__name:"ApImage",props:{getOssAccess:{},width:{},height:{},alt:{},fallback:{},src:{},fileName:{},preview:{type:[Boolean,Object],default:!0}},setup(g){const{b:u}=S.useNamespace("ap-image"),t=g,d={aplus:A.default,admin:_.default},m=i.useGlobalConfig("uiMode"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),N=require("@aplus-frontend/antdv"),y=require("@ant-design/icons-vue"),l=require("./hooks/useOss.js");require("../../config-provider/index.js");const _=require("./imgs/admin-fallback.jpg.js"),A=require("./imgs/aplus-fallback.jpg.js"),B=require("lodash-unified"),S=require("../../config-provider/hooks/use-namespace.js"),i=require("../../config-provider/hooks/use-global-config.js"),F=require("../../config-provider/hooks/use-locale.js"),U=e.defineComponent({__name:"ApImage",props:{getOssAccess:{},width:{},height:{},alt:{},fallback:{},src:{},fileName:{},preview:{type:[Boolean,Object],default:!0}},setup(g){const{b:u}=S.useNamespace("ap-image"),t=g,d={aplus:A.default,admin:_.default},m=i.useGlobalConfig("uiMode"),p=i.useGlobalConfig("apUpload"),f=i.useGlobalConfig("downloadCenterTriggerConfig"),{t:b,lang:v}=F.useLocale(),k=e.computed(()=>{var r;return t.getOssAccess||((r=p.value)==null?void 0:r.getOssAccess)}),C=e.computed(()=>d[m.value]||d.aplus),h=e.computed(()=>(t==null?void 0:t.fallback)||C.value),n=e.ref("");l.injectLocaleToOss(b,v),e.watchEffect(async()=>{var r;if(!(t!=null&&t.src)){n.value="";return}if(!((r=t.src)!=null&&r.startsWith("Frontend-Upload"))){n.value=t.src;return}try{const o=await l.getOssInstance(k.value),a=await l.getSignatureUrl({oss:o,fileName:t.src});a&&(n.value=a)}catch{n.value=""}});async function w(){var a,s,c;if(!(t!=null&&t.src))return;const r=t.src,o=t.fileName??t.src;if(!((a=t.src)!=null&&a.startsWith("Frontend-Upload"))){O(r,o);return}if((s=f.value)!=null&&s.trigger){let q=[{objectName:r,fileName:o}];await((c=f.value)==null?void 0:c.trigger(q))}}const O=(r,o)=>{const a=document.createElement("a");a.href=r,a.rel="noopener noreferrer",a.setAttribute("download",o),document.body.appendChild(a),a.click(),document.body.removeChild(a)};return(r,o)=>(e.openBlock(),e.createBlock(e.unref(N.Image),e.mergeProps({class:[e.unref(u)()]},{...e.unref(B.omit)(t,["src","getOssAccess"]),fallback:h.value,src:n.value}),{toolbarRender:e.withCtx(a=>[e.renderSlot(r.$slots,"toolbarRender",e.normalizeProps(e.guardReactiveProps({...a})),()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(u)("toolbar")])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.originalNodes,(s,c)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s),e.mergeProps({ref_for:!0},t,{key:c}),null,16))),128)),e.createElementVNode("div",{class:"ant-image-preview-operations-operation",onClick:w},[e.createVNode(e.unref(y.DownloadOutlined))])],2)])]),_:3},16,["class"]))}});exports.default=U;
|
|
@@ -1,75 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
+
import { ApImageProps } from './interface';
|
|
3
3
|
import { ImgInfo } from '@aplus-frontend/antdv/es/vc-image/src/Preview';
|
|
4
4
|
export * from './interface';
|
|
5
5
|
declare const ApImage: {
|
|
6
|
-
new (...args: any[]):
|
|
7
|
-
width: {
|
|
8
|
-
type: PropType<string | number>;
|
|
9
|
-
};
|
|
10
|
-
height: {
|
|
11
|
-
type: PropType<string | number>;
|
|
12
|
-
};
|
|
13
|
-
getOssAccess: {
|
|
14
|
-
type: PropType<() => Promise< accessCreate>>;
|
|
15
|
-
};
|
|
16
|
-
fileName: {
|
|
17
|
-
type: PropType<string>;
|
|
18
|
-
};
|
|
19
|
-
src: {
|
|
20
|
-
type: PropType<string>;
|
|
21
|
-
};
|
|
22
|
-
alt: {
|
|
23
|
-
type: PropType<string>;
|
|
24
|
-
};
|
|
25
|
-
fallback: {
|
|
26
|
-
type: PropType<string>;
|
|
27
|
-
};
|
|
28
|
-
preview: {
|
|
29
|
-
type: PropType<boolean | {
|
|
30
|
-
visible?: boolean;
|
|
31
|
-
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
32
|
-
getContainer: string | HTMLElement | (() => HTMLElement);
|
|
33
|
-
src?: string;
|
|
34
|
-
maskClassName?: string;
|
|
35
|
-
current?: number;
|
|
36
|
-
}>;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
40
|
-
width: {
|
|
41
|
-
type: PropType<string | number>;
|
|
42
|
-
};
|
|
43
|
-
height: {
|
|
44
|
-
type: PropType<string | number>;
|
|
45
|
-
};
|
|
46
|
-
getOssAccess: {
|
|
47
|
-
type: PropType<() => Promise< accessCreate>>;
|
|
48
|
-
};
|
|
49
|
-
fileName: {
|
|
50
|
-
type: PropType<string>;
|
|
51
|
-
};
|
|
52
|
-
src: {
|
|
53
|
-
type: PropType<string>;
|
|
54
|
-
};
|
|
55
|
-
alt: {
|
|
56
|
-
type: PropType<string>;
|
|
57
|
-
};
|
|
58
|
-
fallback: {
|
|
59
|
-
type: PropType<string>;
|
|
60
|
-
};
|
|
61
|
-
preview: {
|
|
62
|
-
type: PropType<boolean | {
|
|
63
|
-
visible?: boolean;
|
|
64
|
-
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
65
|
-
getContainer: string | HTMLElement | (() => HTMLElement);
|
|
66
|
-
src?: string;
|
|
67
|
-
maskClassName?: string;
|
|
68
|
-
current?: number;
|
|
69
|
-
}>;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
}>>, {
|
|
6
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ApImageProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
73
7
|
preview: boolean | {
|
|
74
8
|
visible?: boolean;
|
|
75
9
|
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
@@ -78,47 +12,14 @@ declare const ApImage: {
|
|
|
78
12
|
maskClassName?: string;
|
|
79
13
|
current?: number;
|
|
80
14
|
};
|
|
81
|
-
},
|
|
15
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
82
16
|
P: {};
|
|
83
17
|
B: {};
|
|
84
18
|
D: {};
|
|
85
19
|
C: {};
|
|
86
20
|
M: {};
|
|
87
21
|
Defaults: {};
|
|
88
|
-
}, Readonly<
|
|
89
|
-
width: {
|
|
90
|
-
type: PropType<string | number>;
|
|
91
|
-
};
|
|
92
|
-
height: {
|
|
93
|
-
type: PropType<string | number>;
|
|
94
|
-
};
|
|
95
|
-
getOssAccess: {
|
|
96
|
-
type: PropType<() => Promise< accessCreate>>;
|
|
97
|
-
};
|
|
98
|
-
fileName: {
|
|
99
|
-
type: PropType<string>;
|
|
100
|
-
};
|
|
101
|
-
src: {
|
|
102
|
-
type: PropType<string>;
|
|
103
|
-
};
|
|
104
|
-
alt: {
|
|
105
|
-
type: PropType<string>;
|
|
106
|
-
};
|
|
107
|
-
fallback: {
|
|
108
|
-
type: PropType<string>;
|
|
109
|
-
};
|
|
110
|
-
preview: {
|
|
111
|
-
type: PropType<boolean | {
|
|
112
|
-
visible?: boolean;
|
|
113
|
-
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
114
|
-
getContainer: string | HTMLElement | (() => HTMLElement);
|
|
115
|
-
src?: string;
|
|
116
|
-
maskClassName?: string;
|
|
117
|
-
current?: number;
|
|
118
|
-
}>;
|
|
119
|
-
default: boolean;
|
|
120
|
-
};
|
|
121
|
-
}>>, {}, {}, {}, {}, {
|
|
22
|
+
}, Readonly< ApImageProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
122
23
|
preview: boolean | {
|
|
123
24
|
visible?: boolean;
|
|
124
25
|
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
@@ -131,40 +32,7 @@ declare const ApImage: {
|
|
|
131
32
|
__isFragment?: never;
|
|
132
33
|
__isTeleport?: never;
|
|
133
34
|
__isSuspense?: never;
|
|
134
|
-
} & ComponentOptionsBase<Readonly<
|
|
135
|
-
width: {
|
|
136
|
-
type: PropType<string | number>;
|
|
137
|
-
};
|
|
138
|
-
height: {
|
|
139
|
-
type: PropType<string | number>;
|
|
140
|
-
};
|
|
141
|
-
getOssAccess: {
|
|
142
|
-
type: PropType<() => Promise< accessCreate>>;
|
|
143
|
-
};
|
|
144
|
-
fileName: {
|
|
145
|
-
type: PropType<string>;
|
|
146
|
-
};
|
|
147
|
-
src: {
|
|
148
|
-
type: PropType<string>;
|
|
149
|
-
};
|
|
150
|
-
alt: {
|
|
151
|
-
type: PropType<string>;
|
|
152
|
-
};
|
|
153
|
-
fallback: {
|
|
154
|
-
type: PropType<string>;
|
|
155
|
-
};
|
|
156
|
-
preview: {
|
|
157
|
-
type: PropType<boolean | {
|
|
158
|
-
visible?: boolean;
|
|
159
|
-
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
160
|
-
getContainer: string | HTMLElement | (() => HTMLElement);
|
|
161
|
-
src?: string;
|
|
162
|
-
maskClassName?: string;
|
|
163
|
-
current?: number;
|
|
164
|
-
}>;
|
|
165
|
-
default: boolean;
|
|
166
|
-
};
|
|
167
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
35
|
+
} & ComponentOptionsBase<Readonly< ApImageProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
168
36
|
preview: boolean | {
|
|
169
37
|
visible?: boolean;
|
|
170
38
|
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
@@ -173,7 +41,7 @@ declare const ApImage: {
|
|
|
173
41
|
maskClassName?: string;
|
|
174
42
|
current?: number;
|
|
175
43
|
};
|
|
176
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
44
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
177
45
|
$slots: {
|
|
178
46
|
toolbarRender?(_: {
|
|
179
47
|
originalNodes: import("vue/jsx-runtime").JSX.Element[];
|