@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,17 +1,8 @@
|
|
|
1
1
|
import { BatchInputGroupPopoverInputProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
4
|
"update:value": (...args: any[]) => void;
|
|
5
|
-
}, string, PublicProps, Readonly<
|
|
5
|
+
}, string, PublicProps, Readonly<BatchInputGroupPopoverInputProps> & Readonly<{
|
|
6
6
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
7
|
-
}, {}, {}>;
|
|
7
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
8
|
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToOption<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
import { merge as
|
|
2
|
-
import { ref as
|
|
3
|
-
import { useTableRefresh as
|
|
4
|
-
function
|
|
1
|
+
import { merge as d, cloneDeep as h } from "lodash-unified";
|
|
2
|
+
import { ref as S } from "vue";
|
|
3
|
+
import { useTableRefresh as b } from "./useTableRefresh.mjs";
|
|
4
|
+
function g(a) {
|
|
5
5
|
return a === !0 ? {} : a === !1 ? {
|
|
6
6
|
refreshBefore: () => !1
|
|
7
7
|
} : a;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
const
|
|
11
|
-
isShowRowSelection:
|
|
12
|
-
clearSelectionOnRequest:
|
|
9
|
+
function I(a) {
|
|
10
|
+
const t = S(null), {
|
|
11
|
+
isShowRowSelection: u = !0,
|
|
12
|
+
clearSelectionOnRequest: i = !0,
|
|
13
13
|
transformSearchFormValues: o,
|
|
14
14
|
api: s,
|
|
15
|
-
tableRefresh:
|
|
16
|
-
...
|
|
17
|
-
} = a || {}
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
tableRefresh: f = !1,
|
|
16
|
+
...m
|
|
17
|
+
} = a || {};
|
|
18
|
+
let l = null;
|
|
19
|
+
const c = () => {
|
|
20
|
+
var e, r;
|
|
21
|
+
(r = (e = t.value) == null ? void 0 : e.rowSelection) == null || r.clearAll();
|
|
20
22
|
};
|
|
21
|
-
return
|
|
22
|
-
...
|
|
23
|
-
apTableRef:
|
|
24
|
-
}), [
|
|
23
|
+
return b({
|
|
24
|
+
...g(f),
|
|
25
|
+
apTableRef: t
|
|
26
|
+
}), [d(
|
|
25
27
|
{
|
|
26
28
|
// scroll,tableLayout,columnResizable设置表格可拖动
|
|
27
29
|
scroll: { x: "100%", y: "100%" },
|
|
@@ -30,49 +32,55 @@ function F(a) {
|
|
|
30
32
|
// 表格header吸顶效果
|
|
31
33
|
class: "ap-table--sticky",
|
|
32
34
|
request: s ? async (e) => {
|
|
33
|
-
|
|
35
|
+
l = e.sort;
|
|
36
|
+
const r = o ? o(e) : e;
|
|
34
37
|
try {
|
|
35
38
|
if (!s) throw new Error("api is not defined");
|
|
36
|
-
const { records:
|
|
37
|
-
return
|
|
38
|
-
data:
|
|
39
|
+
const { records: n, total: p } = await s(r);
|
|
40
|
+
return i && c(), {
|
|
41
|
+
data: n,
|
|
39
42
|
total: p
|
|
40
43
|
};
|
|
41
|
-
} catch (
|
|
42
|
-
return console.error(
|
|
44
|
+
} catch (n) {
|
|
45
|
+
return console.error(n), {
|
|
43
46
|
data: [],
|
|
44
47
|
total: 0
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
} : void 0,
|
|
48
|
-
rowSelection:
|
|
51
|
+
rowSelection: u ? {
|
|
49
52
|
mode: "internal",
|
|
50
53
|
fixed: "left",
|
|
51
54
|
columnWidth: 50
|
|
52
55
|
} : void 0,
|
|
53
56
|
ref(e) {
|
|
54
|
-
|
|
57
|
+
t.value = e;
|
|
55
58
|
}
|
|
56
59
|
},
|
|
57
|
-
|
|
60
|
+
m
|
|
58
61
|
), {
|
|
59
62
|
reload: () => {
|
|
60
63
|
var e;
|
|
61
|
-
(e =
|
|
64
|
+
(e = t.value) == null || e.submit();
|
|
62
65
|
},
|
|
63
66
|
reset: () => {
|
|
64
67
|
var e;
|
|
65
|
-
(e =
|
|
68
|
+
(e = t.value) == null || e.reset();
|
|
66
69
|
},
|
|
67
70
|
getSearchFormValues: () => {
|
|
68
|
-
var
|
|
69
|
-
const e = ((
|
|
71
|
+
var r;
|
|
72
|
+
const e = ((r = t.value) == null ? void 0 : r.getSearchFormValues()) || {};
|
|
70
73
|
return o ? o(e) : e;
|
|
71
74
|
},
|
|
72
|
-
getApTableInstance: () =>
|
|
73
|
-
|
|
75
|
+
getApTableInstance: () => t.value,
|
|
76
|
+
getSearchFormValuesAndSorted: () => {
|
|
77
|
+
var r;
|
|
78
|
+
const e = ((r = t.value) == null ? void 0 : r.getSearchFormValues()) || {};
|
|
79
|
+
return e.sort = l && h(l), o ? o(e) : e;
|
|
80
|
+
},
|
|
81
|
+
clearSelection: c
|
|
74
82
|
}];
|
|
75
83
|
}
|
|
76
84
|
export {
|
|
77
|
-
|
|
85
|
+
I as usePageListApTable
|
|
78
86
|
};
|
|
@@ -2,30 +2,31 @@ import { default as A } from "./ap-table-modal/index.mjs";
|
|
|
2
2
|
import { ApAttachment as x } from "./ap-attachment/index.mjs";
|
|
3
3
|
import { ApBatchAction as f } from "./ap-batch-action/index.mjs";
|
|
4
4
|
import { ApBatchActionGroup as l } from "./ap-batch-action-group/index.mjs";
|
|
5
|
-
import { ApButtonGroup as
|
|
5
|
+
import { ApButtonGroup as i } from "./ap-button-group/index.mjs";
|
|
6
6
|
import { ApCard as d } from "./ap-card/index.mjs";
|
|
7
7
|
import { ApExpandAlert as G } from "./ap-expand-alert/index.mjs";
|
|
8
8
|
import { ApExportGroup as h } from "./ap-export-group/index.mjs";
|
|
9
9
|
import { ApImage as b } from "./ap-image/index.mjs";
|
|
10
10
|
import { ApInputRadio as E } from "./ap-input-radio/index.mjs";
|
|
11
|
-
import { ApLabel as
|
|
11
|
+
import { ApLabel as T, ApLabelGroup as y } from "./ap-label/index.mjs";
|
|
12
12
|
import { ApLadder as v } from "./ap-ladder/index.mjs";
|
|
13
|
-
import { ApSelectLayout as
|
|
14
|
-
import { ApStatus as
|
|
15
|
-
import { ApTitle as
|
|
13
|
+
import { ApSelectLayout as C } from "./ap-select-layout/index.mjs";
|
|
14
|
+
import { ApStatus as H, ApStatusGroup as M } from "./ap-status/index.mjs";
|
|
15
|
+
import { ApTitle as R } from "./ap-title/index.mjs";
|
|
16
16
|
import "./hooks/index.mjs";
|
|
17
|
-
import { ApSummary as
|
|
18
|
-
import { ApAppendix as
|
|
17
|
+
import { ApSummary as k } from "./ap-summary/index.mjs";
|
|
18
|
+
import { ApAppendix as w } from "./ap-appendix/index.mjs";
|
|
19
19
|
import { ApExtensionSelect as J, ApGroupSearch as K, ApPopoverSelect as N } from "./ap-group-search/index.mjs";
|
|
20
20
|
import "./ap-upload-file/index.mjs";
|
|
21
21
|
import "./batch-input-group/index.mjs";
|
|
22
|
-
import {
|
|
22
|
+
import { ApSizeInput as Q } from "./ap-size-input/index.mjs";
|
|
23
|
+
import { ApTransformDataHelper as V } from "../utils/ap-trans-data/index.mjs";
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
+
w as ApAppendix,
|
|
25
26
|
x as ApAttachment,
|
|
26
27
|
f as ApBatchAction,
|
|
27
28
|
l as ApBatchActionGroup,
|
|
28
|
-
|
|
29
|
+
i as ApButtonGroup,
|
|
29
30
|
d as ApCard,
|
|
30
31
|
G as ApExpandAlert,
|
|
31
32
|
h as ApExportGroup,
|
|
@@ -33,15 +34,16 @@ export {
|
|
|
33
34
|
K as ApGroupSearch,
|
|
34
35
|
b as ApImage,
|
|
35
36
|
E as ApInputRadio,
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
T as ApLabel,
|
|
38
|
+
y as ApLabelGroup,
|
|
38
39
|
v as ApLadder,
|
|
39
40
|
N as ApPopoverSelect,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
C as ApSelectLayout,
|
|
42
|
+
Q as ApSizeInput,
|
|
43
|
+
H as ApStatus,
|
|
44
|
+
M as ApStatusGroup,
|
|
45
|
+
k as ApSummary,
|
|
44
46
|
A as ApTableModal,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
+
R as ApTitle,
|
|
48
|
+
V as ApTransformDataHelper
|
|
47
49
|
};
|
|
@@ -1,40 +1,19 @@
|
|
|
1
1
|
import { CheckCardGroupProps, CheckCardValueType } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
4
5
|
slots: {
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
};
|
|
7
8
|
refs: {};
|
|
8
|
-
|
|
9
|
+
rootEl: any;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: DefineComponent<
|
|
12
|
-
value: undefined;
|
|
13
|
-
multiple: boolean;
|
|
14
|
-
bordered: undefined;
|
|
15
|
-
disabled: undefined;
|
|
16
|
-
loading: undefined;
|
|
17
|
-
size: undefined;
|
|
18
|
-
stopPropagation: undefined;
|
|
19
|
-
defaultValue: undefined;
|
|
20
|
-
indicatorSize: undefined;
|
|
21
|
-
style: undefined;
|
|
22
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
declare const __VLS_component: DefineComponent<CheckCardGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
23
13
|
"update:value": (...args: any[]) => void;
|
|
24
|
-
}, string, PublicProps, Readonly<
|
|
25
|
-
value: undefined;
|
|
26
|
-
multiple: boolean;
|
|
27
|
-
bordered: undefined;
|
|
28
|
-
disabled: undefined;
|
|
29
|
-
loading: undefined;
|
|
30
|
-
size: undefined;
|
|
31
|
-
stopPropagation: undefined;
|
|
32
|
-
defaultValue: undefined;
|
|
33
|
-
indicatorSize: undefined;
|
|
34
|
-
style: undefined;
|
|
35
|
-
}>>> & {
|
|
14
|
+
}, string, PublicProps, Readonly<CheckCardGroupProps> & Readonly<{
|
|
36
15
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}
|
|
16
|
+
}>, {
|
|
38
17
|
size: "middle" | "small";
|
|
39
18
|
style: CSSProperties;
|
|
40
19
|
value: CheckCardValueType | CheckCardValueType[];
|
|
@@ -45,28 +24,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
45
24
|
defaultValue: CheckCardValueType | CheckCardValueType[];
|
|
46
25
|
stopPropagation: boolean | ((event: MouseEvent) => boolean);
|
|
47
26
|
indicatorSize: number;
|
|
48
|
-
}, {}>;
|
|
27
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
49
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
50
29
|
export default _default;
|
|
51
|
-
type __VLS_WithDefaults<P, D> = {
|
|
52
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
53
|
-
default: D[K];
|
|
54
|
-
}> : P[K];
|
|
55
|
-
};
|
|
56
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
-
type __VLS_TypePropsToOption<T> = {
|
|
58
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
-
} : {
|
|
61
|
-
type: PropType<T[K]>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
31
|
new (): {
|
|
67
32
|
$slots: S;
|
|
68
33
|
};
|
|
69
34
|
};
|
|
70
|
-
type __VLS_PrettifyLocal<T> = {
|
|
71
|
-
[K in keyof T]: T[K];
|
|
72
|
-
} & {};
|
|
@@ -1,63 +1,33 @@
|
|
|
1
1
|
import { CheckCardProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type CheckCardSlots = {
|
|
4
4
|
default(config: {
|
|
5
5
|
checked: boolean;
|
|
6
6
|
}): void;
|
|
7
7
|
};
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: Readonly<CheckCardSlots> & CheckCardSlots;
|
|
10
11
|
refs: {};
|
|
11
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
-
declare const __VLS_component: DefineComponent<
|
|
15
|
-
bordered: boolean;
|
|
16
|
-
size: string;
|
|
17
|
-
checked: undefined;
|
|
18
|
-
style: undefined;
|
|
19
|
-
stopPropagation: boolean;
|
|
20
|
-
indicatorSize: undefined;
|
|
21
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
|
+
declare const __VLS_component: DefineComponent<CheckCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
16
|
"update:checked": (...args: any[]) => void;
|
|
23
|
-
}, string, PublicProps, Readonly<
|
|
24
|
-
bordered: boolean;
|
|
25
|
-
size: string;
|
|
26
|
-
checked: undefined;
|
|
27
|
-
style: undefined;
|
|
28
|
-
stopPropagation: boolean;
|
|
29
|
-
indicatorSize: undefined;
|
|
30
|
-
}>>> & {
|
|
17
|
+
}, string, PublicProps, Readonly<CheckCardProps> & Readonly<{
|
|
31
18
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
}
|
|
19
|
+
}>, {
|
|
33
20
|
size: "middle" | "small";
|
|
34
21
|
style: CSSProperties;
|
|
35
22
|
bordered: boolean;
|
|
36
23
|
checked: boolean;
|
|
37
24
|
stopPropagation: boolean | ((event: MouseEvent) => boolean);
|
|
38
25
|
indicatorSize: number;
|
|
39
|
-
}, {}>;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
28
|
export default _default;
|
|
42
|
-
type __VLS_WithDefaults<P, D> = {
|
|
43
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
44
|
-
default: D[K];
|
|
45
|
-
}> : P[K];
|
|
46
|
-
};
|
|
47
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
-
type __VLS_TypePropsToOption<T> = {
|
|
49
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
-
} : {
|
|
52
|
-
type: PropType<T[K]>;
|
|
53
|
-
required: true;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
30
|
new (): {
|
|
58
31
|
$slots: S;
|
|
59
32
|
};
|
|
60
33
|
};
|
|
61
|
-
type __VLS_PrettifyLocal<T> = {
|
|
62
|
-
[K in keyof T]: T[K];
|
|
63
|
-
} & {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref, DefineComponent, PropType, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { Ref, DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { ConfigProviderProps } from './config-provider-props';
|
|
3
3
|
import { CssVarType } from './css-var';
|
|
4
4
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
@@ -13,7 +13,7 @@ import { LocaleType } from '../locale';
|
|
|
13
13
|
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig } from './constants';
|
|
14
14
|
import { RecursivePartial } from '../type';
|
|
15
15
|
export declare const globalConfigCached: Ref<ConfigProviderProps>;
|
|
16
|
-
export declare const ConfigProvider: DefineComponent<{
|
|
16
|
+
export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
17
17
|
iconPrefixCls: StringConstructor;
|
|
18
18
|
getTargetContainer: {
|
|
19
19
|
type: PropType<() => HTMLElement | Window>;
|
|
@@ -161,7 +161,7 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
161
161
|
type: PropType<CssVarType>;
|
|
162
162
|
default: () => {};
|
|
163
163
|
};
|
|
164
|
-
}
|
|
164
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
165
165
|
iconPrefixCls: StringConstructor;
|
|
166
166
|
getTargetContainer: {
|
|
167
167
|
type: PropType<() => HTMLElement | Window>;
|
|
@@ -309,7 +309,7 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
309
309
|
type: PropType<CssVarType>;
|
|
310
310
|
default: () => {};
|
|
311
311
|
};
|
|
312
|
-
}
|
|
312
|
+
}>> & Readonly<{}>, {
|
|
313
313
|
input: {
|
|
314
314
|
autocomplete?: string;
|
|
315
315
|
};
|
|
@@ -450,5 +450,5 @@ export declare const ConfigProvider: DefineComponent<{
|
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
452
|
}>;
|
|
453
|
-
}, {}>;
|
|
453
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
454
454
|
export type ConfigProviderInstance = InstanceType<typeof ConfigProvider>;
|