@aplus-frontend/ui 0.2.29 → 0.3.0
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 +27 -27
- 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-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/help-message/index.vue.d.ts +4 -15
- package/es/src/ap-download/ap-download.vue.d.ts +8 -31
- package/es/src/ap-field/checkbox/index.vue.d.ts +5 -32
- package/es/src/ap-field/date/index.vue.d.ts +7 -65
- package/es/src/ap-field/date-range/index.vue.d.ts +7 -67
- 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/radio/index.vue.d.ts +6 -33
- package/es/src/ap-field/rate/index.vue.d.ts +12 -75
- package/es/src/ap-field/segmented/index.vue.d.ts +7 -33
- package/es/src/ap-field/select/index.vue.d.ts +12 -234
- package/es/src/ap-field/slider/index.vue.d.ts +12 -144
- package/es/src/ap-field/switch/index.vue.d.ts +7 -37
- 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-form/ap-form.vue.d.ts +21 -274
- 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/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/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/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-aplus/ap-info-layout.vue.d.ts +7 -29
- package/es/src/ap-list/index.vue.d.ts +4 -6
- package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
- 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/components/index/index.vue.d.ts +3 -24
- 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/select-group/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
- 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/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-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 +9 -8
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/ap-upload/components/Picture.vue.d.ts +6 -10
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
- 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/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/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/index.d.ts +7 -146
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +7 -29
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
- 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-image/ApImage.vue.d.ts +5 -25
- 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/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-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 +8 -31
- 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/batch-input-group/index.vue.d.ts +5 -38
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
- 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/index.vue.d.ts +4 -8
- 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/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-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/help-message/index.vue.d.ts +4 -15
- package/lib/src/ap-download/ap-download.vue.d.ts +8 -31
- package/lib/src/ap-field/checkbox/index.vue.d.ts +5 -32
- package/lib/src/ap-field/date/index.vue.d.ts +7 -65
- package/lib/src/ap-field/date-range/index.vue.d.ts +7 -67
- 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/radio/index.vue.d.ts +6 -33
- package/lib/src/ap-field/rate/index.vue.d.ts +12 -75
- package/lib/src/ap-field/segmented/index.vue.d.ts +7 -33
- package/lib/src/ap-field/select/index.vue.d.ts +12 -234
- package/lib/src/ap-field/slider/index.vue.d.ts +12 -144
- package/lib/src/ap-field/switch/index.vue.d.ts +7 -37
- 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-form/ap-form.vue.d.ts +21 -274
- 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/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/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/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-aplus/ap-info-layout.vue.d.ts +7 -29
- package/lib/src/ap-list/index.vue.d.ts +4 -6
- package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
- 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/components/index/index.vue.d.ts +3 -24
- 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/select-group/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
- 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/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-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 +9 -8
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/Picture.vue.d.ts +6 -10
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
- 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/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/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/index.d.ts +7 -146
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +7 -29
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
- 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-image/ApImage.vue.d.ts +5 -25
- 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/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-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 +8 -31
- 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/batch-input-group/index.vue.d.ts +5 -38
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
- 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/index.vue.d.ts +4 -8
- 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/package.json +8 -8
|
@@ -1,52 +1,28 @@
|
|
|
1
1
|
import { ApTagGroupProps, ApTagProps, EllipsisProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type ApTagGroupSlots = {
|
|
4
4
|
tooltip?: (props: {
|
|
5
5
|
tags: ApTagProps[];
|
|
6
6
|
}) => void;
|
|
7
7
|
};
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: Readonly<ApTagGroupSlots> & ApTagGroupSlots;
|
|
10
11
|
refs: {
|
|
11
12
|
container: HTMLDivElement;
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
+
rootEl: any;
|
|
14
15
|
};
|
|
15
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: DefineComponent<
|
|
17
|
-
list: () => ApTagProps[];
|
|
18
|
-
space: number;
|
|
19
|
-
ellipsis: () => {};
|
|
20
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagGroupProps>, {
|
|
21
|
-
list: () => ApTagProps[];
|
|
22
|
-
space: number;
|
|
23
|
-
ellipsis: () => {};
|
|
24
|
-
}>>>, {
|
|
17
|
+
declare const __VLS_component: DefineComponent<ApTagGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagGroupProps> & Readonly<{}>, {
|
|
25
18
|
ellipsis: EllipsisProps;
|
|
26
19
|
space: number;
|
|
27
20
|
list: ApTagProps[];
|
|
28
|
-
}, {}>;
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
29
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
23
|
export default _default;
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
-
type __VLS_TypePropsToOption<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
-
} : {
|
|
41
|
-
type: PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
46
25
|
new (): {
|
|
47
26
|
$slots: S;
|
|
48
27
|
};
|
|
49
28
|
};
|
|
50
|
-
type __VLS_PrettifyLocal<T> = {
|
|
51
|
-
[K in keyof T]: T[K];
|
|
52
|
-
} & {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent as D, ref as C, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G, openBlock as c, createBlock as d, mergeProps as b, withCtx as g, renderSlot as R, createTextVNode as A, toDisplayString as k, createElementVNode as o, normalizeClass as W, normalizeStyle as _, createElementBlock as T, Fragment as F, renderList as I, createCommentVNode as U } from "vue";
|
|
2
2
|
import { Tooltip as q } from "@aplus-frontend/antdv";
|
|
3
3
|
import H from "@ant-design/icons-vue";
|
|
4
4
|
import "./ap-tag.vue2.mjs";
|
|
@@ -8,59 +8,7 @@ import { useLocale as K } from "../config-provider/hooks/use-locale.mjs";
|
|
|
8
8
|
import { useGlobalConfig as O } from "../config-provider/hooks/use-global-config.mjs";
|
|
9
9
|
import { useNamespace as Q } from "../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
import X from "./ap-tag.vue.mjs";
|
|
11
|
-
const
|
|
12
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
-
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
14
|
-
fill: "none",
|
|
15
|
-
version: "1.1",
|
|
16
|
-
width: "16",
|
|
17
|
-
height: "16",
|
|
18
|
-
viewBox: "0 0 16 16"
|
|
19
|
-
}, [
|
|
20
|
-
/* @__PURE__ */ t("defs", null, [
|
|
21
|
-
/* @__PURE__ */ t("clipPath", { id: "master_svg0_1133_24991" }, [
|
|
22
|
-
/* @__PURE__ */ t("rect", {
|
|
23
|
-
x: "0",
|
|
24
|
-
y: "0",
|
|
25
|
-
width: "16",
|
|
26
|
-
height: "16",
|
|
27
|
-
rx: "0"
|
|
28
|
-
})
|
|
29
|
-
])
|
|
30
|
-
]),
|
|
31
|
-
/* @__PURE__ */ t("g", { "clip-path": "url(#master_svg0_1133_24991)" }, [
|
|
32
|
-
/* @__PURE__ */ t("g", null, [
|
|
33
|
-
/* @__PURE__ */ t("ellipse", {
|
|
34
|
-
cx: "8",
|
|
35
|
-
cy: "8",
|
|
36
|
-
rx: "1",
|
|
37
|
-
ry: "1",
|
|
38
|
-
fill: "currentColor",
|
|
39
|
-
"fill-opacity": "1"
|
|
40
|
-
})
|
|
41
|
-
]),
|
|
42
|
-
/* @__PURE__ */ t("g", null, [
|
|
43
|
-
/* @__PURE__ */ t("ellipse", {
|
|
44
|
-
cx: "3.25",
|
|
45
|
-
cy: "8",
|
|
46
|
-
rx: "1",
|
|
47
|
-
ry: "1",
|
|
48
|
-
fill: "currentColor",
|
|
49
|
-
"fill-opacity": "1"
|
|
50
|
-
})
|
|
51
|
-
]),
|
|
52
|
-
/* @__PURE__ */ t("g", null, [
|
|
53
|
-
/* @__PURE__ */ t("ellipse", {
|
|
54
|
-
cx: "12.75",
|
|
55
|
-
cy: "8",
|
|
56
|
-
rx: "1",
|
|
57
|
-
ry: "1",
|
|
58
|
-
fill: "currentColor",
|
|
59
|
-
"fill-opacity": "1"
|
|
60
|
-
})
|
|
61
|
-
])
|
|
62
|
-
])
|
|
63
|
-
], -1), pe = /* @__PURE__ */ D({
|
|
11
|
+
const ue = /* @__PURE__ */ D({
|
|
64
12
|
__name: "ap-tag-group",
|
|
65
13
|
props: {
|
|
66
14
|
list: { default: () => [] },
|
|
@@ -69,46 +17,46 @@ const Y = /* @__PURE__ */ t("svg", {
|
|
|
69
17
|
ellipsis: { default: () => ({}) }
|
|
70
18
|
},
|
|
71
19
|
setup(E) {
|
|
72
|
-
const { t: z } = K(), i = E, B = O("uiMode"), { b: V, bm:
|
|
20
|
+
const { t: z } = K(), i = E, B = O("uiMode"), { b: V, bm: v } = Q("tag-group"), u = C(), r = n(() => ({
|
|
73
21
|
...{
|
|
74
22
|
iconColor: "#34B77C",
|
|
75
23
|
symbol: "icon",
|
|
76
24
|
text: z("ap.common.more")
|
|
77
25
|
},
|
|
78
26
|
...i.ellipsis
|
|
79
|
-
})), $ = n(() =>
|
|
80
|
-
let
|
|
81
|
-
const l =
|
|
27
|
+
})), $ = n(() => r.value.tooltip && typeof r.value.tooltip == "object" ? J(r.value.tooltip, ["trigger", "title"]) : {}), p = n(() => f(m) < i.list.length), m = C(0), L = n(() => i.list.map((e) => e.text).join("、")), M = n(() => [V()].filter(Boolean)), P = n(() => B.value === "aplus" ? [v("ellipsis-text", "aplus")] : [v("ellipsis-text", "admin")]), h = (e, t) => {
|
|
28
|
+
let s = document.createElement("canvas");
|
|
29
|
+
const l = s.getContext("2d");
|
|
82
30
|
l.font = `${e}px system-ui`;
|
|
83
|
-
const a = l.measureText(
|
|
31
|
+
const a = l.measureText(t);
|
|
84
32
|
return setTimeout(() => {
|
|
85
|
-
|
|
33
|
+
s = null;
|
|
86
34
|
}, 0), a.width;
|
|
87
35
|
}, x = () => {
|
|
88
|
-
let e = 0,
|
|
36
|
+
let e = 0, t = 0;
|
|
89
37
|
if (!u.value) return;
|
|
90
|
-
const
|
|
38
|
+
const s = u.value.offsetWidth;
|
|
91
39
|
for (let l of i.list) {
|
|
92
|
-
const a = l.size === "large" ? 16 : 12, w =
|
|
40
|
+
const a = l.size === "large" ? 16 : 12, w = h(
|
|
93
41
|
l.size === "large" ? 14 : 12,
|
|
94
42
|
l.text
|
|
95
43
|
) + a + 2 + i.space;
|
|
96
|
-
if (e += w, e >
|
|
44
|
+
if (e += w, e > s) {
|
|
97
45
|
e -= w;
|
|
98
46
|
break;
|
|
99
47
|
}
|
|
100
|
-
|
|
48
|
+
t++;
|
|
101
49
|
}
|
|
102
|
-
if (
|
|
103
|
-
const a =
|
|
104
|
-
i.ellipsis.symbol === "icon" ? e += 16 : e += a, e >
|
|
50
|
+
if (t < i.list.length) {
|
|
51
|
+
const a = h(12, r.value.text);
|
|
52
|
+
i.ellipsis.symbol === "icon" ? e += 16 : e += a, e > s && t--;
|
|
105
53
|
}
|
|
106
|
-
m.value =
|
|
54
|
+
m.value = t;
|
|
107
55
|
};
|
|
108
56
|
N(
|
|
109
57
|
() => i.list,
|
|
110
|
-
(e,
|
|
111
|
-
e !==
|
|
58
|
+
(e, t) => {
|
|
59
|
+
e !== t && S(() => {
|
|
112
60
|
x();
|
|
113
61
|
});
|
|
114
62
|
},
|
|
@@ -121,49 +69,101 @@ const Y = /* @__PURE__ */ t("svg", {
|
|
|
121
69
|
};
|
|
122
70
|
return j(() => {
|
|
123
71
|
[["ellipsisColor", "ellipse.color"]].forEach(
|
|
124
|
-
([e,
|
|
72
|
+
([e, t]) => {
|
|
125
73
|
i[e] && console.error(
|
|
126
|
-
`[ApTagGroup]: \`${e}\` is deprecated, please use \`${
|
|
74
|
+
`[ApTagGroup]: \`${e}\` is deprecated, please use \`${t}\` instead.`
|
|
127
75
|
);
|
|
128
76
|
}
|
|
129
77
|
), window.addEventListener("resize", y);
|
|
130
78
|
}), G(() => {
|
|
131
79
|
window.removeEventListener("resize", y);
|
|
132
|
-
}), (e,
|
|
80
|
+
}), (e, t) => (c(), d(f(q), b({ trigger: "hover" }, $.value), {
|
|
133
81
|
title: g(() => [
|
|
134
82
|
R(e.$slots, "tooltip", { tags: e.list }, () => [
|
|
135
|
-
A(
|
|
83
|
+
A(k(L.value), 1)
|
|
136
84
|
])
|
|
137
85
|
]),
|
|
138
86
|
default: g(() => [
|
|
139
|
-
|
|
140
|
-
class:
|
|
87
|
+
o("div", {
|
|
88
|
+
class: W(M.value),
|
|
141
89
|
ref_key: "container",
|
|
142
90
|
ref: u,
|
|
143
|
-
style:
|
|
91
|
+
style: _({
|
|
144
92
|
pointerEvents: p.value ? "auto" : "none"
|
|
145
93
|
// opacity: isUpdating ? '0' : '1'
|
|
146
94
|
})
|
|
147
95
|
}, [
|
|
148
|
-
(c(!0), T(F, null, I(e.list, (
|
|
96
|
+
(c(!0), T(F, null, I(e.list, (s, l) => (c(), d(X, b({ ref_for: !0 }, s, {
|
|
149
97
|
key: l,
|
|
150
98
|
style: {
|
|
151
99
|
display: l >= m.value ? "none" : "inline-block",
|
|
152
100
|
marginRight: `${e.space}px`
|
|
153
101
|
}
|
|
154
102
|
}), null, 16, ["style"]))), 128)),
|
|
155
|
-
p.value &&
|
|
103
|
+
p.value && r.value.symbol === "icon" ? (c(), d(f(H), {
|
|
156
104
|
key: 0,
|
|
157
|
-
style:
|
|
105
|
+
style: _({ color: e.ellipsisColor || r.value.iconColor })
|
|
158
106
|
}, {
|
|
159
|
-
component: g(() => [
|
|
160
|
-
|
|
161
|
-
|
|
107
|
+
component: g(() => t[0] || (t[0] = [
|
|
108
|
+
o("svg", {
|
|
109
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
110
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
111
|
+
fill: "none",
|
|
112
|
+
version: "1.1",
|
|
113
|
+
width: "16",
|
|
114
|
+
height: "16",
|
|
115
|
+
viewBox: "0 0 16 16"
|
|
116
|
+
}, [
|
|
117
|
+
o("defs", null, [
|
|
118
|
+
o("clipPath", { id: "master_svg0_1133_24991" }, [
|
|
119
|
+
o("rect", {
|
|
120
|
+
x: "0",
|
|
121
|
+
y: "0",
|
|
122
|
+
width: "16",
|
|
123
|
+
height: "16",
|
|
124
|
+
rx: "0"
|
|
125
|
+
})
|
|
126
|
+
])
|
|
127
|
+
]),
|
|
128
|
+
o("g", { "clip-path": "url(#master_svg0_1133_24991)" }, [
|
|
129
|
+
o("g", null, [
|
|
130
|
+
o("ellipse", {
|
|
131
|
+
cx: "8",
|
|
132
|
+
cy: "8",
|
|
133
|
+
rx: "1",
|
|
134
|
+
ry: "1",
|
|
135
|
+
fill: "currentColor",
|
|
136
|
+
"fill-opacity": "1"
|
|
137
|
+
})
|
|
138
|
+
]),
|
|
139
|
+
o("g", null, [
|
|
140
|
+
o("ellipse", {
|
|
141
|
+
cx: "3.25",
|
|
142
|
+
cy: "8",
|
|
143
|
+
rx: "1",
|
|
144
|
+
ry: "1",
|
|
145
|
+
fill: "currentColor",
|
|
146
|
+
"fill-opacity": "1"
|
|
147
|
+
})
|
|
148
|
+
]),
|
|
149
|
+
o("g", null, [
|
|
150
|
+
o("ellipse", {
|
|
151
|
+
cx: "12.75",
|
|
152
|
+
cy: "8",
|
|
153
|
+
rx: "1",
|
|
154
|
+
ry: "1",
|
|
155
|
+
fill: "currentColor",
|
|
156
|
+
"fill-opacity": "1"
|
|
157
|
+
})
|
|
158
|
+
])
|
|
159
|
+
])
|
|
160
|
+
], -1)
|
|
161
|
+
])),
|
|
162
162
|
_: 1
|
|
163
|
-
}, 8, ["style"])) : p.value &&
|
|
163
|
+
}, 8, ["style"])) : p.value && r.value.symbol === "text" ? (c(), T("span", {
|
|
164
164
|
key: 1,
|
|
165
|
-
class:
|
|
166
|
-
},
|
|
165
|
+
class: W(P.value)
|
|
166
|
+
}, k(r.value.text), 3)) : U("", !0)
|
|
167
167
|
], 6)
|
|
168
168
|
]),
|
|
169
169
|
_: 3
|
|
@@ -171,5 +171,5 @@ const Y = /* @__PURE__ */ t("svg", {
|
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
export {
|
|
174
|
-
|
|
174
|
+
ue as default
|
|
175
175
|
};
|
|
@@ -1,33 +1,8 @@
|
|
|
1
1
|
import { ApTagProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
4
|
-
size: string;
|
|
5
|
-
color: string;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagProps>, {
|
|
8
|
-
size: string;
|
|
9
|
-
color: string;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
}>>>, {
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ApTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagProps> & Readonly<{}>, {
|
|
12
4
|
size: "small" | "middle" | "large";
|
|
13
5
|
color: string;
|
|
14
6
|
disabled: boolean;
|
|
15
|
-
}, {}>;
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
16
8
|
export default _default;
|
|
17
|
-
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToOption<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_PrettifyLocal<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { PropType, VNode, DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { PropType, VNode, DefineComponent, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, RendererNode, RendererElement, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { FileUploadType, BeforeUpload, CustomRequest, ApUploadSlots } from './apUploadTypes';
|
|
3
3
|
import { GetOssAccess } from './hooks/useOss';
|
|
4
4
|
declare function clear(): void;
|
|
5
5
|
declare function setValue(val: any): void;
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Readonly<ApUploadSlots> & ApUploadSlots;
|
|
8
9
|
refs: {
|
|
9
10
|
uploadRef: unknown;
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: DefineComponent<{
|
|
15
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
15
16
|
dirName: {
|
|
16
17
|
type: StringConstructor;
|
|
17
18
|
};
|
|
@@ -57,11 +58,11 @@ declare const __VLS_component: DefineComponent<{
|
|
|
57
58
|
maxSizeErrorMsg: StringConstructor;
|
|
58
59
|
maxCountErrorMsg: StringConstructor;
|
|
59
60
|
acceptErrorMsg: StringConstructor;
|
|
60
|
-
}
|
|
61
|
+
}>, {
|
|
61
62
|
done: ComputedRef<boolean>;
|
|
62
63
|
clear: typeof clear;
|
|
63
64
|
setValue: typeof setValue;
|
|
64
|
-
},
|
|
65
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
65
66
|
"update:value": (...args: any[]) => void;
|
|
66
67
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
67
68
|
dirName: {
|
|
@@ -109,9 +110,9 @@ declare const __VLS_component: DefineComponent<{
|
|
|
109
110
|
maxSizeErrorMsg: StringConstructor;
|
|
110
111
|
maxCountErrorMsg: StringConstructor;
|
|
111
112
|
acceptErrorMsg: StringConstructor;
|
|
112
|
-
}>> & {
|
|
113
|
+
}>> & Readonly<{
|
|
113
114
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
114
|
-
}
|
|
115
|
+
}>, {
|
|
115
116
|
type: FileUploadType;
|
|
116
117
|
title: string;
|
|
117
118
|
value: string | unknown[] | Record<string, any>;
|
|
@@ -119,7 +120,7 @@ declare const __VLS_component: DefineComponent<{
|
|
|
119
120
|
subTitle: string | VNode< RendererNode, RendererElement, {
|
|
120
121
|
[key: string]: any;
|
|
121
122
|
}>;
|
|
122
|
-
}, {}>;
|
|
123
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
123
124
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
124
125
|
export default _default;
|
|
125
126
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -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,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,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,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,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;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { openBlock as t, createElementBlock as e, createStaticVNode as r } from "vue";
|
|
2
|
+
import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
3
|
+
const i = {}, o = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
6
6
|
fill: "none",
|
|
7
7
|
version: "1.1",
|
|
8
8
|
viewBox: "0 0 16 16"
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
};
|
|
10
|
+
function c(n, Q) {
|
|
11
|
+
return t(), e("svg", o, Q[0] || (Q[0] = [
|
|
12
|
+
r('<defs><clipPath id="master_svg0_183_82058/183_76208"><rect x="0" y="0" width="16" height="16" rx="0"></rect></clipPath></defs><g clip-path="url(#master_svg0_183_82058/183_76208)"><g><rect x="0" y="0" width="16" height="16" rx="0" fill="#FFFFFF" fill-opacity="0.009999999776482582" style="mix-blend-mode:passthrough;"></rect></g><g><path d="M6.4678965625,11.32002357421875L11.4176265625,6.37025357421875Q11.4879565625,6.29993357421875,11.5260165625,6.20804357421875Q11.5640765625,6.11616357421875,11.5640765625,6.0167035742187505Q11.5640765625,5.967463574218749,11.5544665625,5.91916357421875Q11.5448565625,5.87086357421875,11.5260165625,5.82536357421875Q11.5071665625,5.77986357421875,11.4798065625,5.7389235742187505Q11.4524465625,5.69797357421875,11.4176265625,5.66315357421875Q11.3828065625,5.62833357421875,11.3418565625,5.6009735742187505Q11.3009165625,5.57361357421875,11.2554165625,5.55476357421875Q11.2099165625,5.535923574218749,11.1616165625,5.52631357421875Q11.1133165625,5.5167035742187505,11.0640765625,5.5167035742187505Q10.9646165625,5.5167035742187505,10.8727365625,5.55476357421875Q10.7808465625,5.59282357421875,10.7105265625,5.66315357421875L10.7102665625,5.66341357421875L5.7607865625,10.612923574218751Q5.4072265625,10.96648357421875,5.0536665625,10.612923574218751Q4.7001265624999995,10.25935357421875,5.0536765625,9.905773574218749L10.9462265625,4.01326057421875Q11.3855665625,3.57391357421875,12.0068765625,3.57391357421875Q12.6282265625,3.57391357421875,13.0675265625,4.01326157421875Q13.5069265625,4.45258357421875,13.5069265625,5.07391357421875Q13.5069265625,5.69523357421875,13.0675265625,6.13459357421875L7.1749865625,12.02712357421875Q6.4427665625,12.75934357421875,5.4072265625,12.75934357421875Q4.3716865625,12.75934357421875,3.6394565625,12.02712357421875Q2.9072265625,11.29489357421875,2.9072265625,10.25935357421875Q2.9072265625,9.22382357421875,3.6394565625,8.49159357421875L8.5891965625,3.5418455742187502Q8.6595265625,3.47151957421875,8.6975865625,3.37963357421875Q8.735646562500001,3.28774857421875,8.735646562500001,3.18829257421875Q8.735646562500001,3.13904677421875,8.7260365625,3.09074737421875Q8.7164265625,3.04244787421875,8.6975865625,2.99695077421875Q8.6787365625,2.95145357421875,8.651376562500001,2.91050757421875Q8.6240165625,2.86956157421875,8.5891965625,2.83473957421875Q8.5543765625,2.79991757421875,8.513426562500001,2.77255757421875Q8.472476562499999,2.74519857421875,8.4269865625,2.72635257421875Q8.381486562500001,2.70750757421875,8.3331865625,2.69789957421875Q8.284886562499999,2.68829257421875,8.235646562500001,2.68829257421875Q8.1361865625,2.68829257421875,8.0442965625,2.72635257421875Q7.9524165625,2.76441257421875,7.8820865625,2.83473957421875L7.8816965625,2.83512857421875L2.9323545625,7.78448357421875Q1.9072265625,8.80960357421875,1.9072265625,10.25935357421875Q1.9072265625,11.70910357421875,2.9323525625,12.73422357421875Q3.9574765625,13.75931357421875,5.4072265625,13.75931357421875Q6.8569765625,13.75931357421875,7.8820965625,12.73422357421875L13.7746265625,6.8416835742187505Q14.5069265625,6.10944357421875,14.5069265625,5.07391357421875Q14.5069265625,4.03837257421875,13.7746265625,3.30615057421875Q13.0424265625,2.57391357421875,12.0068765625,2.57391357421875Q10.9713365625,2.57391357421875,10.239126562500001,3.30615157421875L4.3465365625,9.19870357421875Q3.9072365625,9.638043574218749,3.9072365625,10.25935357421875Q3.9072365625,10.880663574218751,4.3465565625,11.32002357421875Q4.7859065625,11.75937357421875,5.4072265625,11.75937357421875Q6.0285465625,11.75937357421875,6.4678965625,11.32002357421875Z" fill-rule="evenodd" fill="currentColor" fill-opacity="1"></path></g></g>', 2)
|
|
13
|
+
]));
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const _ = /* @__PURE__ */ l(i, [["render", c]]);
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
_ as default
|
|
18
18
|
};
|