@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,6 +1,6 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare function setValue(val: (string | Record<string, any>)[]): void;
|
|
3
3
|
declare const _default: DefineComponent<{}, {
|
|
4
4
|
setValue: typeof setValue;
|
|
5
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
5
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
6
6
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, inject as s, ref as G, watch as H, nextTick as J, openBlock as x, createElementBlock as
|
|
1
|
+
import { defineComponent as W, inject as s, ref as G, watch as H, nextTick as J, openBlock as x, createElementBlock as k, normalizeClass as K, unref as n, createVNode as C, withCtx as T, createElementVNode as b, createTextVNode as Q, toDisplayString as S, withModifiers as X, createBlock as Y, resolveDynamicComponent as Z, createCommentVNode as ee } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { getPath as te, getName as oe, getReturnData as L } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as ae, getOssInstance as se } from "../hooks/useOss.mjs";
|
|
@@ -165,32 +165,32 @@ const me = { class: "multiple-file-context" }, de = { key: 0 }, fe = { key: 1 },
|
|
|
165
165
|
);
|
|
166
166
|
return p.splice(t, 1), Promise.resolve(!0);
|
|
167
167
|
}
|
|
168
|
-
return (e, t) => (x(),
|
|
168
|
+
return (e, t) => (x(), k("div", {
|
|
169
169
|
class: K({
|
|
170
170
|
[n(U)()]: !0,
|
|
171
171
|
[n(U)("admin")]: n(R) === "admin"
|
|
172
172
|
})
|
|
173
173
|
}, [
|
|
174
|
-
|
|
174
|
+
C(n(ne), {
|
|
175
175
|
ref_key: "uploadRef",
|
|
176
176
|
ref: l,
|
|
177
177
|
accept: n(h),
|
|
178
178
|
multiple: "",
|
|
179
|
-
|
|
179
|
+
"max-count": n(i),
|
|
180
180
|
progress: {
|
|
181
181
|
strokeWidth: 3,
|
|
182
182
|
showInfo: !1,
|
|
183
183
|
strokeColor: "#0070FF"
|
|
184
184
|
},
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
"before-upload": $,
|
|
186
|
+
"custom-request": j,
|
|
187
187
|
onRemove: V
|
|
188
188
|
}, {
|
|
189
189
|
default: T(() => [
|
|
190
190
|
b("div", me, [
|
|
191
|
-
|
|
191
|
+
C(n(re), { class: "file-btn" }, {
|
|
192
192
|
default: T(() => [
|
|
193
|
-
|
|
193
|
+
C(n(ie)),
|
|
194
194
|
Q(" " + S(n(I)), 1)
|
|
195
195
|
]),
|
|
196
196
|
_: 1
|
|
@@ -200,14 +200,14 @@ const me = { class: "multiple-file-context" }, de = { key: 0 }, fe = { key: 1 },
|
|
|
200
200
|
onClick: t[0] || (t[0] = X(() => {
|
|
201
201
|
}, ["stop"]))
|
|
202
202
|
}, [
|
|
203
|
-
typeof n(f) == "string" ? (x(),
|
|
203
|
+
typeof n(f) == "string" ? (x(), k("div", de, S(n(f) || `${n(r)("ap.apUpload.supportExtension")}:${n(ue)(n(h))}`), 1)) : n(f) ? (x(), k("div", fe, [
|
|
204
204
|
(x(), Y(Z(n(f))))
|
|
205
205
|
])) : ee("", !0)
|
|
206
206
|
])
|
|
207
207
|
])
|
|
208
208
|
]),
|
|
209
209
|
_: 1
|
|
210
|
-
}, 8, ["accept", "
|
|
210
|
+
}, 8, ["accept", "max-count"])
|
|
211
211
|
], 2));
|
|
212
212
|
}
|
|
213
213
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Oss } from '../hooks/useOss';
|
|
2
|
-
import {
|
|
2
|
+
import { actionResponse } from '@aplus-frontend/oss';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
4
|
declare function setValue(val?: (string | Record<string, any>)[]): void;
|
|
4
5
|
interface UploadFile extends File {
|
|
5
6
|
uid: string;
|
|
@@ -12,17 +13,12 @@ interface UploadFile extends File {
|
|
|
12
13
|
}
|
|
13
14
|
declare function handleRemove(uploadFile: UploadFile): Promise<boolean>;
|
|
14
15
|
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
15
17
|
slots: {
|
|
16
18
|
pictureContext?(_: {
|
|
17
19
|
fileList: {
|
|
18
20
|
oss: {
|
|
19
|
-
pauseUpload: (() => Promise<
|
|
20
|
-
status: number;
|
|
21
|
-
previewUrl?: string;
|
|
22
|
-
saveUrl?: string;
|
|
23
|
-
originalFileName?: string;
|
|
24
|
-
message: string;
|
|
25
|
-
}>) | undefined;
|
|
21
|
+
pauseUpload: (() => Promise< actionResponse>) | undefined;
|
|
26
22
|
};
|
|
27
23
|
}[];
|
|
28
24
|
remove: typeof handleRemove;
|
|
@@ -31,12 +27,12 @@ declare function __VLS_template(): {
|
|
|
31
27
|
refs: {
|
|
32
28
|
fileRef: HTMLInputElement;
|
|
33
29
|
};
|
|
34
|
-
|
|
30
|
+
rootEl: HTMLDivElement;
|
|
35
31
|
};
|
|
36
32
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
37
33
|
declare const __VLS_component: DefineComponent<{}, {
|
|
38
34
|
setValue: typeof setValue;
|
|
39
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
35
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
40
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
37
|
export default _default;
|
|
42
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as X, inject as c, ref as R, watch as Y, nextTick as Z, openBlock as g, createElementBlock as h, normalizeClass as F, unref as i, createElementVNode as d, renderSlot as ee, Fragment as te, renderList as ne, withDirectives as ae, createVNode as
|
|
1
|
+
import { defineComponent as X, inject as c, ref as R, watch as Y, nextTick as Z, openBlock as g, createElementBlock as h, normalizeClass as F, unref as i, createElementVNode as d, renderSlot as ee, Fragment as te, renderList as ne, withDirectives as ae, createVNode as U, createCommentVNode as M, vShow as se, toDisplayString as k } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import { getPath as oe, getName as ie, getReturnData as
|
|
3
|
+
import { getPath as oe, getName as ie, getReturnData as $ } from "../utils/returnData.mjs";
|
|
4
4
|
import { CloseOutlined as re, PlusOutlined as ce } from "@ant-design/icons-vue";
|
|
5
|
-
import { useOss as ue, getOssInstance as
|
|
5
|
+
import { useOss as ue, getOssInstance as I } from "../hooks/useOss.mjs";
|
|
6
6
|
import { fileMatchesAccept as le, getAcceptText as pe } from "../utils/accept.mjs";
|
|
7
7
|
import { message as m, Progress as de } from "@aplus-frontend/antdv";
|
|
8
8
|
import { omit as me } from "lodash-unified";
|
|
9
9
|
import { useLocale as fe } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
import { useNamespace as ge } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
|
-
const he = ["accept"], ve = { class: "picture-context" }, xe = { class: "picture-item-box" }, ye = ["src"], _e = { class: "picture-item-shadow" }, we = ["onClick"],
|
|
11
|
+
const he = ["accept"], ve = { class: "picture-context" }, xe = { class: "picture-item-box" }, ye = ["src"], _e = { class: "picture-item-shadow" }, we = ["onClick"], Ue = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "picture-item-uploading"
|
|
14
|
-
},
|
|
14
|
+
}, ke = { class: "picture-title" }, Ce = { key: 0 }, Se = { key: 1 }, De = /* @__PURE__ */ X({
|
|
15
15
|
__name: "Picture",
|
|
16
16
|
setup(Ee, { expose: T }) {
|
|
17
|
-
const { t: u } = fe(), { b:
|
|
17
|
+
const { t: u } = fe(), { b: C } = ge("ap-upload-picture"), { put: D } = ue(), O = c("theme"), B = c("dirName"), _ = c("accept") || "image/*", w = c("maxSize") ?? 5, S = c("title"), l = c("maxCount") ?? 10, v = c("uploadingCount"), E = c("beforeUpload"), b = c("customRequest"), z = c("getOssAccess"), L = c("maxSizeErrorMsg"), q = c("maxCountErrorMsg"), V = c("acceptErrorMsg"), x = R(null), r = c("value"), y = c("needName");
|
|
18
18
|
let s = R([]);
|
|
19
19
|
const f = [];
|
|
20
20
|
Y(
|
|
@@ -33,7 +33,7 @@ const he = ["accept"], ve = { class: "picture-context" }, xe = { class: "picture
|
|
|
33
33
|
Z(async () => {
|
|
34
34
|
const a = [];
|
|
35
35
|
for (let t of e) {
|
|
36
|
-
const n = oe(y, t), o = ie(y, t), p = await
|
|
36
|
+
const n = oe(y, t), o = ie(y, t), p = await I(z), Q = await p.getSignatureUrl(n), W = {
|
|
37
37
|
...typeof t == "string" ? {} : t,
|
|
38
38
|
...new File([t], o, {}),
|
|
39
39
|
uid: `${(/* @__PURE__ */ new Date()).getTime()}-${Math.random()}`,
|
|
@@ -125,7 +125,7 @@ const he = ["accept"], ve = { class: "picture-context" }, xe = { class: "picture
|
|
|
125
125
|
const n = s.value.find((o) => o.uid === e.uid);
|
|
126
126
|
n && (n.status = "success", n.path = t), r.value = [
|
|
127
127
|
...r.value || [],
|
|
128
|
-
|
|
128
|
+
$(y, t, a.name)
|
|
129
129
|
], f.push({
|
|
130
130
|
uid: e.uid,
|
|
131
131
|
path: t
|
|
@@ -136,7 +136,7 @@ const he = ["accept"], ve = { class: "picture-context" }, xe = { class: "picture
|
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
138
|
try {
|
|
139
|
-
const t = await
|
|
139
|
+
const t = await I(z);
|
|
140
140
|
e.oss = t, s.value.push(e), D({
|
|
141
141
|
file: a,
|
|
142
142
|
dirName: B,
|
|
@@ -145,7 +145,7 @@ const he = ["accept"], ve = { class: "picture-context" }, xe = { class: "picture
|
|
|
145
145
|
const o = s.value.find((p) => p.uid === e.uid);
|
|
146
146
|
o && (o.status = "success", o.path = n), r.value = [
|
|
147
147
|
...r.value || [],
|
|
148
|
-
|
|
148
|
+
$(y, n, a.name)
|
|
149
149
|
], f.push({
|
|
150
150
|
uid: e.uid,
|
|
151
151
|
path: n
|
|
@@ -189,15 +189,15 @@ const he = ["accept"], ve = { class: "picture-context" }, xe = { class: "picture
|
|
|
189
189
|
}
|
|
190
190
|
return (e, a) => (g(), h("div", {
|
|
191
191
|
class: F({
|
|
192
|
-
[i(
|
|
193
|
-
[i(
|
|
192
|
+
[i(C)()]: !0,
|
|
193
|
+
[i(C)("admin")]: i(O) === "admin"
|
|
194
194
|
})
|
|
195
195
|
}, [
|
|
196
196
|
d("input", {
|
|
197
|
-
style: { display: "none" },
|
|
198
|
-
type: "file",
|
|
199
197
|
ref_key: "fileRef",
|
|
200
198
|
ref: x,
|
|
199
|
+
style: { display: "none" },
|
|
200
|
+
type: "file",
|
|
201
201
|
accept: i(_),
|
|
202
202
|
onChange: G
|
|
203
203
|
}, null, 40, he),
|
|
@@ -228,17 +228,17 @@ const he = ["accept"], ve = { class: "picture-context" }, xe = { class: "picture
|
|
|
228
228
|
class: "picture-item-close",
|
|
229
229
|
onClick: (n) => P(t)
|
|
230
230
|
}, [
|
|
231
|
-
|
|
231
|
+
U(i(re))
|
|
232
232
|
], 8, we),
|
|
233
|
-
t.status === "uploading" ? (g(), h("div",
|
|
234
|
-
|
|
233
|
+
t.status === "uploading" ? (g(), h("div", Ue, [
|
|
234
|
+
U(i(de), {
|
|
235
235
|
percent: t.percent,
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
"stroke-color": "#ffffff",
|
|
237
|
+
"trail-color": "rgba(255, 255, 255, 0.3)",
|
|
238
238
|
size: 4,
|
|
239
|
-
|
|
239
|
+
"show-info": !1
|
|
240
240
|
}, null, 8, ["percent"])
|
|
241
|
-
])) :
|
|
241
|
+
])) : M("", !0)
|
|
242
242
|
], 512), [
|
|
243
243
|
[se, t.status === "uploading"]
|
|
244
244
|
])
|
|
@@ -250,12 +250,12 @@ const he = ["accept"], ve = { class: "picture-context" }, xe = { class: "picture
|
|
|
250
250
|
class: "picture-upload",
|
|
251
251
|
onClick: j
|
|
252
252
|
}, [
|
|
253
|
-
|
|
254
|
-
d("div", null,
|
|
255
|
-
])) :
|
|
253
|
+
U(i(ce)),
|
|
254
|
+
d("div", null, k(i(u)("ap.apUpload.update")), 1)
|
|
255
|
+
])) : M("", !0)
|
|
256
256
|
]),
|
|
257
|
-
d("div",
|
|
258
|
-
i(S) ? (g(), h("div",
|
|
257
|
+
d("div", ke, [
|
|
258
|
+
i(S) ? (g(), h("div", Ce, k(i(S)), 1)) : (g(), h("div", Se, k(`${i(u)("ap.apUpload.supportExtension")}:${i(pe)(i(_))},${i(u)(
|
|
259
259
|
"ap.apUpload.maxUploadPictureSize",
|
|
260
260
|
{ maxSize: i(w) }
|
|
261
261
|
)}`), 1))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare function setValue(val?: string | Record<string, any>): void;
|
|
3
3
|
declare const _default: DefineComponent<{}, {
|
|
4
4
|
setValue: typeof setValue;
|
|
5
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
5
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
6
6
|
export default _default;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as ne, inject as s, ref as h, watch as oe, computed as le, openBlock as _, createElementBlock as x, normalizeClass as se, unref as a, createElementVNode as i, toDisplayString as z, createCommentVNode as A, normalizeStyle as re, createBlock as ie, withModifiers as ce, createVNode as ue } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import { getName as pe, getReturnData as
|
|
3
|
+
import { getName as pe, getReturnData as q } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as ve, useOssInit as de } from "../hooks/useOss.mjs";
|
|
5
5
|
import { fileMatchesAccept as fe, getAcceptText as me } from "../utils/accept.mjs";
|
|
6
6
|
import { message as u, Progress as ge } from "@aplus-frontend/antdv";
|
|
7
7
|
import { DeleteOutlined as he } from "@ant-design/icons-vue";
|
|
8
|
-
import
|
|
8
|
+
import I from "../assets/single-file-icon.png.mjs";
|
|
9
9
|
import { useLocale as _e } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
10
|
import { useNamespace as ke } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
11
|
const ye = ["accept"], we = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "state-un"
|
|
14
|
-
}, De = ["src"],
|
|
14
|
+
}, De = ["src"], Ue = { class: "state-un-title" }, Fe = { class: "state-un-subtitle" }, Ce = {
|
|
15
15
|
key: 1,
|
|
16
16
|
class: "state-ing"
|
|
17
|
-
}, Ee = { class: "left" }, Se = ["src"], Ne = { class: "center" }, xe = { class: "center-progress" },
|
|
17
|
+
}, Ee = { class: "left" }, Se = ["src"], Ne = { class: "center" }, xe = { class: "center-progress" }, qe = /* @__PURE__ */ ne({
|
|
18
18
|
__name: "SingleFile",
|
|
19
19
|
setup(ze, { expose: j }) {
|
|
20
|
-
const { t: r } = _e(), { b: k } = ke("ap-upload-single-file"), { put: G, client: b } = ve(), y = s("theme"), W = s("dirName"), w = s("accept") || "*", D = s("maxSize") ?? 500, H = s("title") || r("ap.apUpload.clickOrDragUpload"),
|
|
20
|
+
const { t: r } = _e(), { b: k } = ke("ap-upload-single-file"), { put: G, client: b } = ve(), y = s("theme"), W = s("dirName"), w = s("accept") || "*", D = s("maxSize") ?? 500, H = s("title") || r("ap.apUpload.clickOrDragUpload"), U = s("subTitle"), n = s("value"), F = s("needName"), p = s("uploadingCount"), B = s("beforeUpload"), R = s("customRequest"), J = s("getOssAccess"), K = s("maxSizeErrorMsg"), Q = s("acceptErrorMsg"), o = h(null);
|
|
21
21
|
oe(
|
|
22
22
|
() => n == null ? void 0 : n.value,
|
|
23
23
|
function(e) {
|
|
@@ -27,7 +27,7 @@ const ye = ["accept"], we = {
|
|
|
27
27
|
);
|
|
28
28
|
function M(e) {
|
|
29
29
|
e ? setTimeout(() => {
|
|
30
|
-
const t = pe(
|
|
30
|
+
const t = pe(F, e);
|
|
31
31
|
l.value = 3, o.value = new File([e], t, {}), n.value = e;
|
|
32
32
|
}) : (l.value = 1, o.value = null, n.value = void 0);
|
|
33
33
|
}
|
|
@@ -49,20 +49,20 @@ const ye = ["accept"], we = {
|
|
|
49
49
|
function V(e) {
|
|
50
50
|
if (e.preventDefault(), e.stopPropagation(), l.value !== 1)
|
|
51
51
|
return;
|
|
52
|
-
var t = e.dataTransfer, c = [], L = 0,
|
|
52
|
+
var t = e.dataTransfer, c = [], L = 0, $ = t.files.length;
|
|
53
53
|
function v() {
|
|
54
|
-
L ===
|
|
54
|
+
L === $ - 1 && Z(c), L++;
|
|
55
55
|
}
|
|
56
56
|
if (t.items !== void 0)
|
|
57
|
-
for (var
|
|
58
|
-
var E = t.items[
|
|
57
|
+
for (var C = 0; C < t.items.length; C++) {
|
|
58
|
+
var E = t.items[C];
|
|
59
59
|
if (E.kind === "file" && E.webkitGetAsEntry().isFile) {
|
|
60
60
|
var ae = E.getAsFile();
|
|
61
61
|
c.push(ae), v();
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
else
|
|
65
|
-
for (let N = 0; N <
|
|
65
|
+
for (let N = 0; N < $; N++) {
|
|
66
66
|
var g = t.files[N];
|
|
67
67
|
if (g.type)
|
|
68
68
|
c.push(g), v();
|
|
@@ -118,8 +118,8 @@ const ye = ["accept"], we = {
|
|
|
118
118
|
u.warning(t || r("ap.apUpload.networkAnomaly")), l.value = 1, o.value = null, p.value--;
|
|
119
119
|
},
|
|
120
120
|
onSuccess: (t) => {
|
|
121
|
-
n.value =
|
|
122
|
-
|
|
121
|
+
n.value = q(
|
|
122
|
+
F,
|
|
123
123
|
t,
|
|
124
124
|
o.value.name
|
|
125
125
|
), l.value = 3, p.value--;
|
|
@@ -134,8 +134,8 @@ const ye = ["accept"], we = {
|
|
|
134
134
|
dirName: W,
|
|
135
135
|
oss: b,
|
|
136
136
|
successCallBack(t) {
|
|
137
|
-
n.value =
|
|
138
|
-
|
|
137
|
+
n.value = q(
|
|
138
|
+
F,
|
|
139
139
|
t,
|
|
140
140
|
o.value.name
|
|
141
141
|
), l.value = 3, p.value--;
|
|
@@ -172,28 +172,28 @@ const ye = ["accept"], we = {
|
|
|
172
172
|
onDrop: V
|
|
173
173
|
}, [
|
|
174
174
|
i("input", {
|
|
175
|
-
style: { display: "none" },
|
|
176
|
-
type: "file",
|
|
177
175
|
ref_key: "fileRef",
|
|
178
176
|
ref: m,
|
|
177
|
+
style: { display: "none" },
|
|
178
|
+
type: "file",
|
|
179
179
|
accept: a(w),
|
|
180
180
|
onChange: ee
|
|
181
181
|
}, null, 40, ye),
|
|
182
182
|
l.value === 1 ? (_(), x("div", we, [
|
|
183
183
|
i("img", {
|
|
184
184
|
class: "state-un-icon",
|
|
185
|
-
src: a(
|
|
185
|
+
src: a(I)
|
|
186
186
|
}, null, 8, De),
|
|
187
|
-
i("div",
|
|
188
|
-
i("div",
|
|
187
|
+
i("div", Ue, z(a(H)), 1),
|
|
188
|
+
i("div", Fe, z(typeof a(U) == "string" && a(U).length > 0 ? a(U) : `${a(r)("ap.apUpload.supportExtension")}:${a(me)(
|
|
189
189
|
a(w)
|
|
190
190
|
)},${a(r)("ap.apUpload.maxWarnUploadFileSize", {
|
|
191
191
|
maxSize: a(D)
|
|
192
192
|
})}`), 1)
|
|
193
193
|
])) : A("", !0),
|
|
194
|
-
[2, 3].includes(l.value) ? (_(), x("div",
|
|
194
|
+
[2, 3].includes(l.value) ? (_(), x("div", Ce, [
|
|
195
195
|
i("div", Ee, [
|
|
196
|
-
i("img", { src: a(
|
|
196
|
+
i("img", { src: a(I) }, null, 8, Se)
|
|
197
197
|
]),
|
|
198
198
|
i("div", Ne, [
|
|
199
199
|
i("div", {
|
|
@@ -207,10 +207,10 @@ const ye = ["accept"], we = {
|
|
|
207
207
|
key: 0,
|
|
208
208
|
percent: f.value,
|
|
209
209
|
size: 4,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}, null, 8, ["percent", "
|
|
210
|
+
"show-info": !1,
|
|
211
|
+
"trail-color": a(y) === "admin" ? "#D9D9D9" : "#DEE4ED",
|
|
212
|
+
"stroke-color": a(y) === "admin" ? "#34B77C" : "#0070FF"
|
|
213
|
+
}, null, 8, ["percent", "trail-color", "stroke-color"]))
|
|
214
214
|
])
|
|
215
215
|
]),
|
|
216
216
|
i("div", {
|
|
@@ -225,5 +225,5 @@ const ye = ["accept"], we = {
|
|
|
225
225
|
}
|
|
226
226
|
});
|
|
227
227
|
export {
|
|
228
|
-
|
|
228
|
+
qe as default
|
|
229
229
|
};
|
|
@@ -1,45 +1,22 @@
|
|
|
1
1
|
import { ApAppendixProps, ApAppendixSlots, ApNeedNameModel } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = ApAppendixProps;
|
|
3
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
4
6
|
slots: Readonly<ApAppendixSlots<any>> & ApAppendixSlots<any>;
|
|
5
7
|
refs: {};
|
|
6
|
-
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
7
9
|
};
|
|
8
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: DefineComponent<
|
|
10
|
-
needName: boolean;
|
|
11
|
-
column: number;
|
|
12
|
-
isFileAreaBorder: boolean;
|
|
13
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApAppendixProps<any>>, {
|
|
14
|
-
needName: boolean;
|
|
15
|
-
column: number;
|
|
16
|
-
isFileAreaBorder: boolean;
|
|
17
|
-
}>>>, {
|
|
11
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
18
12
|
column: number;
|
|
19
13
|
needName: ApNeedNameModel;
|
|
20
14
|
isFileAreaBorder: boolean;
|
|
21
|
-
}, {}>;
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
17
|
export default _default;
|
|
24
|
-
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
26
|
-
default: D[K];
|
|
27
|
-
}> : P[K];
|
|
28
|
-
};
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToOption<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
19
|
new (): {
|
|
40
20
|
$slots: S;
|
|
41
21
|
};
|
|
42
22
|
};
|
|
43
|
-
type __VLS_PrettifyLocal<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as T, computed as d, ref as V, openBlock as s, createElementBlock as u, mergeProps as S, unref as t, renderSlot as p, createVNode as g, withCtx as v, createElementVNode as c, normalizeClass as n, createBlock as
|
|
2
|
-
import
|
|
3
|
-
import { Tooltip as
|
|
4
|
-
import { IconVariantDownload as
|
|
5
|
-
import { LoadingOutlined as
|
|
1
|
+
import { defineComponent as T, computed as d, ref as V, openBlock as s, createElementBlock as u, mergeProps as S, unref as t, renderSlot as p, createVNode as g, withCtx as v, createElementVNode as c, normalizeClass as n, createBlock as C, createCommentVNode as h, Fragment as j, renderList as D, createSlots as E, createTextVNode as U, toDisplayString as z } from "vue";
|
|
2
|
+
import G from "./icons/file-icon.vue.mjs";
|
|
3
|
+
import { Tooltip as P, TypographyText as q } from "@aplus-frontend/antdv";
|
|
4
|
+
import { IconVariantDownload as H } from "@aplus-frontend/icon";
|
|
5
|
+
import { LoadingOutlined as J } from "@ant-design/icons-vue";
|
|
6
6
|
import "../ap-title/ApTitle.vue.mjs";
|
|
7
7
|
import "../../ap-download/ap-download.vue2.mjs";
|
|
8
8
|
import "../../config-provider/index.mjs";
|
|
9
|
-
import { getFileInfo as
|
|
10
|
-
import { useNamespace as
|
|
9
|
+
import { getFileInfo as K } from "./utils/index.mjs";
|
|
10
|
+
import { useNamespace as M } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
11
|
import { useLocale as Q } from "../../config-provider/hooks/use-locale.mjs";
|
|
12
12
|
import { useGlobalConfig as w } from "../../config-provider/hooks/use-global-config.mjs";
|
|
13
13
|
import R from "../ap-title/ApTitle.vue2.mjs";
|
|
@@ -23,38 +23,38 @@ const X = ["onClick"], de = /* @__PURE__ */ T({
|
|
|
23
23
|
column: { default: 2 },
|
|
24
24
|
isFileAreaBorder: { type: Boolean, default: !1 }
|
|
25
25
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const { b:
|
|
26
|
+
setup($) {
|
|
27
|
+
const { b: x, e: a, em: k } = M("ap-appendix"), { t: y } = Q(), e = $, B = w("apUpload"), N = w(
|
|
28
28
|
"downloadCenterTriggerConfig"
|
|
29
29
|
), f = d(
|
|
30
|
-
() =>
|
|
31
|
-
),
|
|
30
|
+
() => K(e == null ? void 0 : e.needName, (e == null ? void 0 : e.fileList) ?? [])
|
|
31
|
+
), b = d(
|
|
32
32
|
() => {
|
|
33
33
|
var l;
|
|
34
|
-
return e.getOssAccess || ((l =
|
|
34
|
+
return e.getOssAccess || ((l = B.value) == null ? void 0 : l.getOssAccess);
|
|
35
35
|
}
|
|
36
36
|
), F = d(
|
|
37
37
|
() => !(Array.isArray(f.value) && f.value.length)
|
|
38
|
-
),
|
|
38
|
+
), i = V([]), O = d(() => e.title || y("ap.apAppendix.appendix"));
|
|
39
39
|
async function I(l, m) {
|
|
40
|
-
var o,
|
|
41
|
-
if (!(
|
|
42
|
-
|
|
40
|
+
var o, A;
|
|
41
|
+
if (!(i.value.findIndex((r) => r === m) > -1)) {
|
|
42
|
+
i.value = [...i.value, m];
|
|
43
43
|
try {
|
|
44
|
-
if ((o =
|
|
44
|
+
if ((o = N.value) != null && o.trigger) {
|
|
45
45
|
let r = [l].map((_) => ({
|
|
46
46
|
objectName: _.path,
|
|
47
47
|
fileName: _.fileName
|
|
48
48
|
}));
|
|
49
|
-
await ((
|
|
49
|
+
await ((A = N.value) == null ? void 0 : A.trigger(r));
|
|
50
50
|
}
|
|
51
51
|
} finally {
|
|
52
|
-
|
|
52
|
+
i.value = i.value.filter((r) => r !== m);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
return (l, m) => (s(), u("div", S({
|
|
57
|
-
class: [t(
|
|
57
|
+
class: [t(x)()]
|
|
58
58
|
}, {
|
|
59
59
|
...l.$attrs
|
|
60
60
|
}, {
|
|
@@ -66,12 +66,12 @@ const X = ["onClick"], de = /* @__PURE__ */ T({
|
|
|
66
66
|
fileList: e.fileList
|
|
67
67
|
}, () => [
|
|
68
68
|
g(R, {
|
|
69
|
-
title:
|
|
70
|
-
|
|
69
|
+
title: O.value,
|
|
70
|
+
"help-message": e == null ? void 0 : e.tooltip
|
|
71
71
|
}, {
|
|
72
72
|
suffix: v(() => [
|
|
73
73
|
c("div", {
|
|
74
|
-
class: n([t(
|
|
74
|
+
class: n([t(a)("suffix")])
|
|
75
75
|
}, [
|
|
76
76
|
p(l.$slots, "titleSuffix", {
|
|
77
77
|
fileList: e.fileList
|
|
@@ -79,23 +79,23 @@ const X = ["onClick"], de = /* @__PURE__ */ T({
|
|
|
79
79
|
p(l.$slots, "titleDownloadAllBtn", {
|
|
80
80
|
fileList: e.fileList
|
|
81
81
|
}, () => [
|
|
82
|
-
F.value ? h("", !0) : (s(),
|
|
82
|
+
F.value ? h("", !0) : (s(), C(W, {
|
|
83
83
|
key: 0,
|
|
84
|
-
class: n([t(
|
|
84
|
+
class: n([t(a)("download-all")]),
|
|
85
85
|
text: t(y)("ap.apAppendix.downloadAll"),
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
"get-oss-access": b.value,
|
|
87
|
+
"file-name": f.value
|
|
88
88
|
}, {
|
|
89
89
|
icon: v(() => [
|
|
90
|
-
g(t(
|
|
90
|
+
g(t(H))
|
|
91
91
|
]),
|
|
92
92
|
_: 1
|
|
93
|
-
}, 8, ["class", "text", "
|
|
93
|
+
}, 8, ["class", "text", "get-oss-access", "file-name"]))
|
|
94
94
|
])
|
|
95
95
|
], 2)
|
|
96
96
|
]),
|
|
97
97
|
_: 3
|
|
98
|
-
}, 8, ["title", "
|
|
98
|
+
}, 8, ["title", "help-message"])
|
|
99
99
|
]),
|
|
100
100
|
p(l.$slots, "fileArea", {
|
|
101
101
|
fileList: e.fileList
|
|
@@ -103,50 +103,50 @@ const X = ["onClick"], de = /* @__PURE__ */ T({
|
|
|
103
103
|
F.value ? h("", !0) : (s(), u("div", {
|
|
104
104
|
key: 0,
|
|
105
105
|
class: n({
|
|
106
|
-
[t(
|
|
107
|
-
[t(
|
|
106
|
+
[t(a)("file-area")]: !0,
|
|
107
|
+
[t(k)("file-area", "border")]: !!e.isFileAreaBorder
|
|
108
108
|
})
|
|
109
109
|
}, [
|
|
110
110
|
c("div", {
|
|
111
|
-
class: n([t(
|
|
111
|
+
class: n([t(a)("file-area-content")])
|
|
112
112
|
}, [
|
|
113
|
-
(s(!0), u(j, null, D(f.value, (
|
|
113
|
+
(s(!0), u(j, null, D(f.value, (L, o) => (s(), u("div", {
|
|
114
|
+
key: o,
|
|
114
115
|
class: n({
|
|
115
|
-
[t(
|
|
116
|
-
[t(
|
|
117
|
-
})
|
|
118
|
-
key: o
|
|
116
|
+
[t(a)("file-area-content-item")]: !0,
|
|
117
|
+
[t(k)("file-area-content-item", "loading")]: i.value.includes(o)
|
|
118
|
+
})
|
|
119
119
|
}, [
|
|
120
|
-
g(t(
|
|
120
|
+
g(t(P), null, E({
|
|
121
121
|
default: v(() => [
|
|
122
122
|
c("div", {
|
|
123
123
|
class: n({
|
|
124
|
-
[t(
|
|
125
|
-
[t(
|
|
124
|
+
[t(a)("file-area-content-item-content")]: !0,
|
|
125
|
+
[t(a)("file-area-content-item--loading-content")]: i.value.includes(o)
|
|
126
126
|
}),
|
|
127
|
-
onClick: (
|
|
127
|
+
onClick: (A) => I(L, o)
|
|
128
128
|
}, [
|
|
129
129
|
c("div", {
|
|
130
|
-
class: n([t(
|
|
130
|
+
class: n([t(a)("file-area-content-item-icon")])
|
|
131
131
|
}, [
|
|
132
|
-
|
|
132
|
+
i.value.includes(o) ? (s(), C(t(J), { key: 0 })) : (s(), C(G, { key: 1 }))
|
|
133
133
|
], 2),
|
|
134
134
|
c("div", {
|
|
135
|
-
class: n([t(
|
|
135
|
+
class: n([t(a)("file-area-content-item-file-name")])
|
|
136
136
|
}, [
|
|
137
|
-
g(t(
|
|
137
|
+
g(t(q), {
|
|
138
138
|
ellipsis: "",
|
|
139
|
-
content:
|
|
139
|
+
content: L.fileName
|
|
140
140
|
}, null, 8, ["content"])
|
|
141
141
|
], 2)
|
|
142
142
|
], 10, X)
|
|
143
143
|
]),
|
|
144
144
|
_: 2
|
|
145
145
|
}, [
|
|
146
|
-
|
|
146
|
+
i.value.includes(o) ? void 0 : {
|
|
147
147
|
name: "title",
|
|
148
148
|
fn: v(() => [
|
|
149
|
-
|
|
149
|
+
U(z(t(y)("ap.apAppendix.downloadFile")), 1)
|
|
150
150
|
]),
|
|
151
151
|
key: "0"
|
|
152
152
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
3
3
|
export default _default;
|