@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
package/es/index.mjs
CHANGED
|
@@ -12,9 +12,9 @@ import { ApFormItemText as k } from "./src/ap-form/items/text/index.mjs";
|
|
|
12
12
|
import { default as B } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
13
13
|
import { default as K } from "./src/ap-form/items/number/index.vue.mjs";
|
|
14
14
|
import { default as U } from "./src/ap-form/items/date/index.vue.mjs";
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
15
|
+
import { default as z } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
16
|
+
import { default as V } from "./src/ap-form/items/radio/index.vue.mjs";
|
|
17
|
+
import { default as j } from "./src/ap-form/items/select/index.vue.mjs";
|
|
18
18
|
import { default as J } from "./src/ap-form/items/switch/index.vue.mjs";
|
|
19
19
|
import { default as X } from "./src/ap-form/items/checkbox/index.vue.mjs";
|
|
20
20
|
import { default as Z } from "./src/ap-form/items/text/password.vue.mjs";
|
|
@@ -39,9 +39,9 @@ import { default as ke } from "./src/ap-field/switch/index.vue.mjs";
|
|
|
39
39
|
import { default as Be } from "./src/ap-field/text-area/index.vue.mjs";
|
|
40
40
|
import { default as Ke } from "./src/ap-field/date-range/index.vue.mjs";
|
|
41
41
|
import { default as Ue } from "./src/ap-field/select/index.vue.mjs";
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
42
|
+
import { default as ze } from "./src/ap-field/text/password.vue.mjs";
|
|
43
|
+
import { default as Ve } from "./src/ap-field/slider/index.vue.mjs";
|
|
44
|
+
import { default as je } from "./src/ap-field/segmented/index.vue.mjs";
|
|
45
45
|
import { default as Je } from "./src/ap-field/rate/index.vue.mjs";
|
|
46
46
|
import { adminToken as Xe, aplusToken as Ye } from "./src/design-token/index.mjs";
|
|
47
47
|
import { ApActionItem as _e } from "./src/ap-action/index.mjs";
|
|
@@ -65,9 +65,9 @@ import { ApModal as vo } from "./src/ap-modal/index.mjs";
|
|
|
65
65
|
import { default as Eo } from "./src/ap-list/index.vue.mjs";
|
|
66
66
|
import { default as Oo } from "./src/ap-button/ap-button.vue.mjs";
|
|
67
67
|
import { default as Wo } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
68
|
-
import { ApDrawer as
|
|
69
|
-
import { ApTransformDataHelper as
|
|
70
|
-
import { default as
|
|
68
|
+
import { ApDrawer as Ho } from "./src/ap-drawer/index.mjs";
|
|
69
|
+
import { ApTransformDataHelper as $o } from "./src/utils/ap-trans-data/index.mjs";
|
|
70
|
+
import { default as qo } from "./src/business/ap-table-modal/index.mjs";
|
|
71
71
|
import { useTableModal as Qo } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
72
72
|
import { useTableSelectModal as Yo } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
73
73
|
import { ApAttachment as _o } from "./src/business/ap-attachment/index.mjs";
|
|
@@ -89,21 +89,22 @@ import { ApStatus as Lr, ApStatusGroup as Mr } from "./src/business/ap-status/in
|
|
|
89
89
|
import { ApTitle as Rr } from "./src/business/ap-title/index.mjs";
|
|
90
90
|
import { usePageListApTable as vr } from "./src/business/hooks/usePageListApTable.mjs";
|
|
91
91
|
import { useTableRefresh as Er } from "./src/business/hooks/useTableRefresh.mjs";
|
|
92
|
-
import { computedRecords as Or, flattenColumns as Ur, formatDataIndex as Wr, formatNumber as
|
|
93
|
-
import { ApSummary as
|
|
94
|
-
import { ApNeedNameKeyDefault as
|
|
92
|
+
import { computedRecords as Or, flattenColumns as Ur, formatDataIndex as Wr, formatNumber as zr } from "./src/business/ap-summary/utils.mjs";
|
|
93
|
+
import { ApSummary as Vr } from "./src/business/ap-summary/index.mjs";
|
|
94
|
+
import { ApNeedNameKeyDefault as jr } from "./src/business/ap-appendix/interface.mjs";
|
|
95
95
|
import { ApAppendix as Jr } from "./src/business/ap-appendix/index.mjs";
|
|
96
96
|
import { ApExtensionSelect as Xr, ApGroupSearch as Yr, ApPopoverSelect as Zr } from "./src/business/ap-group-search/index.mjs";
|
|
97
97
|
import { default as et } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
98
98
|
import { default as rt } from "./src/business/batch-input-group/index.vue.mjs";
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import { default as dt } from "./src/editable-table/
|
|
103
|
-
import { default as st } from "./src/
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
99
|
+
import { ApSizeInput as pt } from "./src/business/ap-size-input/index.mjs";
|
|
100
|
+
import { useTablePaging as ft } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
101
|
+
import { ApTable as lt } from "./src/ap-table/index.mjs";
|
|
102
|
+
import { default as dt } from "./src/editable-table/index.vue.mjs";
|
|
103
|
+
import { default as st } from "./src/editable-table/form-item.vue.mjs";
|
|
104
|
+
import { default as nt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
105
|
+
import { ApScrollBar as ct } from "./src/ap-scroll-bar/index.mjs";
|
|
106
|
+
import { useMessage as bt } from "./src/hooks/useMessage.mjs";
|
|
107
|
+
import { useControllableValue as Tt } from "./src/hooks/useControllableValue.mjs";
|
|
107
108
|
const a = {
|
|
108
109
|
install: (r) => {
|
|
109
110
|
for (const t in o) {
|
|
@@ -127,10 +128,10 @@ export {
|
|
|
127
128
|
Oo as ApButton,
|
|
128
129
|
ar as ApButtonGroup,
|
|
129
130
|
mr as ApCard,
|
|
130
|
-
|
|
131
|
+
nt as ApDescriptions,
|
|
131
132
|
yo as ApDownLoadNeedNameKeyDefault,
|
|
132
133
|
Po as ApDownload,
|
|
133
|
-
|
|
134
|
+
Ho as ApDrawer,
|
|
134
135
|
xr as ApExpandAlert,
|
|
135
136
|
Ar as ApExportGroup,
|
|
136
137
|
ur as ApExportGroupActionType,
|
|
@@ -140,12 +141,12 @@ export {
|
|
|
140
141
|
Ne as ApFieldDate,
|
|
141
142
|
Ke as ApFieldDateRange,
|
|
142
143
|
Le as ApFieldNumber,
|
|
143
|
-
|
|
144
|
+
ze as ApFieldPassword,
|
|
144
145
|
we as ApFieldRadio,
|
|
145
146
|
Je as ApFieldRate,
|
|
146
|
-
|
|
147
|
+
je as ApFieldSegmented,
|
|
147
148
|
Ue as ApFieldSelect,
|
|
148
|
-
|
|
149
|
+
Ve as ApFieldSlider,
|
|
149
150
|
ke as ApFieldSwitch,
|
|
150
151
|
Se as ApFieldText,
|
|
151
152
|
Be as ApFieldTextArea,
|
|
@@ -156,12 +157,12 @@ export {
|
|
|
156
157
|
re as ApFormItem,
|
|
157
158
|
X as ApFormItemCheckbox,
|
|
158
159
|
U as ApFormItemDate,
|
|
159
|
-
|
|
160
|
+
z as ApFormItemDateRange,
|
|
160
161
|
pe as ApFormItemGroup,
|
|
161
162
|
K as ApFormItemNumber,
|
|
162
|
-
|
|
163
|
+
V as ApFormItemRadio,
|
|
163
164
|
Te as ApFormItemRender,
|
|
164
|
-
|
|
165
|
+
j as ApFormItemSelect,
|
|
165
166
|
J as ApFormItemSwitch,
|
|
166
167
|
k as ApFormItemText,
|
|
167
168
|
B as ApFormItemTextArea,
|
|
@@ -179,19 +180,20 @@ export {
|
|
|
179
180
|
Gr as ApLadder,
|
|
180
181
|
Eo as ApList,
|
|
181
182
|
vo as ApModal,
|
|
182
|
-
|
|
183
|
+
jr as ApNeedNameKeyDefault,
|
|
183
184
|
Zr as ApPopoverSelect,
|
|
184
|
-
|
|
185
|
+
ct as ApScrollBar,
|
|
185
186
|
Nr as ApSelectLayout,
|
|
187
|
+
pt as ApSizeInput,
|
|
186
188
|
Lr as ApStatus,
|
|
187
189
|
Mr as ApStatusGroup,
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
190
|
+
Vr as ApSummary,
|
|
191
|
+
lt as ApTable,
|
|
192
|
+
qo as ApTableModal,
|
|
191
193
|
Fo as ApTag,
|
|
192
194
|
Io as ApTagGroup,
|
|
193
195
|
Rr as ApTitle,
|
|
194
|
-
|
|
196
|
+
$o as ApTransformDataHelper,
|
|
195
197
|
ho as ApUpload,
|
|
196
198
|
et as ApUploadSingle,
|
|
197
199
|
rt as BatchInputGroup,
|
|
@@ -199,8 +201,8 @@ export {
|
|
|
199
201
|
Ro as CheckCardGroup,
|
|
200
202
|
P as ConfigProvider,
|
|
201
203
|
xo as DictCode,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
+
dt as EditableTable,
|
|
205
|
+
st as EditableTableFormItem,
|
|
204
206
|
Do as NeedNameKeyDefault,
|
|
205
207
|
io as WorkOrderModal,
|
|
206
208
|
Xe as adminToken,
|
|
@@ -215,7 +217,7 @@ export {
|
|
|
215
217
|
S as defaultNamespace,
|
|
216
218
|
Ur as flattenColumns,
|
|
217
219
|
Wr as formatDataIndex,
|
|
218
|
-
|
|
220
|
+
zr as formatNumber,
|
|
219
221
|
L as globalConfigCached,
|
|
220
222
|
ir as handleExportDownload,
|
|
221
223
|
n as keysOf,
|
|
@@ -226,15 +228,15 @@ export {
|
|
|
226
228
|
l as pathMap,
|
|
227
229
|
i as provideGlobalConfig,
|
|
228
230
|
C as translate,
|
|
229
|
-
|
|
231
|
+
Tt as useControllableValue,
|
|
230
232
|
G as useGetDerivedNamespace,
|
|
231
233
|
c as useGlobalConfig,
|
|
232
234
|
g as useLocale,
|
|
233
|
-
|
|
235
|
+
bt as useMessage,
|
|
234
236
|
y as useNamespace,
|
|
235
237
|
vr as usePageListApTable,
|
|
236
238
|
Qo as useTableModal,
|
|
237
|
-
|
|
239
|
+
ft as useTablePaging,
|
|
238
240
|
Er as useTableRefresh,
|
|
239
241
|
Yo as useTableSelectModal
|
|
240
242
|
};
|
|
@@ -1,38 +1,11 @@
|
|
|
1
1
|
import { ApActionGroupProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
4
4
|
import { GroupActionTypes } from '..';
|
|
5
|
-
declare const _default: DefineComponent<
|
|
6
|
-
count: number;
|
|
7
|
-
trigger: () => string[];
|
|
8
|
-
placement: string;
|
|
9
|
-
actions: () => never[];
|
|
10
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
|
|
11
|
-
count: number;
|
|
12
|
-
trigger: () => string[];
|
|
13
|
-
placement: string;
|
|
14
|
-
actions: () => never[];
|
|
15
|
-
}>>>, {
|
|
5
|
+
declare const _default: DefineComponent<ApActionGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionGroupProps> & Readonly<{}>, {
|
|
16
6
|
placement: "top" | "topLeft" | "bottom" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter";
|
|
17
7
|
count: number;
|
|
18
8
|
trigger: Trigger | Trigger[];
|
|
19
9
|
actions: GroupActionTypes[];
|
|
20
|
-
}, {}>;
|
|
10
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
21
11
|
export default _default;
|
|
22
|
-
type __VLS_WithDefaults<P, D> = {
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
24
|
-
default: D[K];
|
|
25
|
-
}> : P[K];
|
|
26
|
-
};
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_PrettifyLocal<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
@@ -1,49 +1,17 @@
|
|
|
1
1
|
import { ApActionItemProps, ApActionItemSlots } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
import { ActionColor } from '..';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
5
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
6
6
|
refs: {};
|
|
7
|
-
|
|
7
|
+
rootEl: any;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: DefineComponent<
|
|
11
|
-
color: string;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
visible: boolean;
|
|
14
|
-
loading: boolean;
|
|
15
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemProps>, {
|
|
16
|
-
color: string;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
visible: boolean;
|
|
19
|
-
loading: boolean;
|
|
20
|
-
}>>>, {
|
|
21
|
-
visible: boolean;
|
|
22
|
-
color: ActionColor;
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
loading: boolean;
|
|
25
|
-
}, {}>;
|
|
10
|
+
declare const __VLS_component: DefineComponent<ApActionItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
26
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
12
|
export default _default;
|
|
28
|
-
type __VLS_WithDefaults<P, D> = {
|
|
29
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
30
|
-
default: D[K];
|
|
31
|
-
}> : P[K];
|
|
32
|
-
};
|
|
33
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
-
type __VLS_TypePropsToOption<T> = {
|
|
35
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
-
} : {
|
|
38
|
-
type: PropType<T[K]>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
14
|
new (): {
|
|
44
15
|
$slots: S;
|
|
45
16
|
};
|
|
46
17
|
};
|
|
47
|
-
type __VLS_PrettifyLocal<T> = {
|
|
48
|
-
[K in keyof T]: T[K];
|
|
49
|
-
} & {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as b, createPropsRestProxy as k, ref as v, unref as r, computed as c, renderSlot as u, openBlock as l, createElementBlock as f, mergeProps as C, createBlock as m, createCommentVNode as p, isVNode as B, resolveDynamicComponent as A, toDisplayString as h } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
|
-
import
|
|
4
|
-
import { useNamespace as
|
|
5
|
-
const
|
|
3
|
+
import L from "@aplus-frontend/antdv/es/button/LoadingIcon";
|
|
4
|
+
import { useNamespace as N } from "../../config-provider/hooks/use-namespace.mjs";
|
|
5
|
+
const P = { key: 1 }, I = /* @__PURE__ */ b({
|
|
6
6
|
name: "ApActionItem",
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: {
|
|
@@ -10,44 +10,44 @@ const L = { key: 1 }, V = /* @__PURE__ */ y({
|
|
|
10
10
|
color: { default: "primary" },
|
|
11
11
|
disabled: { type: Boolean, default: !1 },
|
|
12
12
|
visible: { type: Boolean, default: !0 },
|
|
13
|
-
onAction: {},
|
|
14
|
-
onClick: {},
|
|
13
|
+
onAction: { type: Function },
|
|
14
|
+
onClick: { type: Function },
|
|
15
15
|
loading: { type: Boolean, default: !1 }
|
|
16
16
|
},
|
|
17
|
-
setup(
|
|
18
|
-
const
|
|
19
|
-
function
|
|
20
|
-
var
|
|
21
|
-
|
|
17
|
+
setup(o) {
|
|
18
|
+
const n = k(o, ["color", "disabled", "visible", "loading"]), { b: g, m: a } = N("action-item"), i = v(!1);
|
|
19
|
+
function d(e) {
|
|
20
|
+
var s;
|
|
21
|
+
r(t) || o.disabled || ((s = n.onClick) == null || s.call(n, e), n.onAction && (i.value = !0, n.onAction(e).finally(() => i.value = !1)));
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const t = c(() => o.loading || r(i)), y = c(() => [
|
|
24
24
|
g(),
|
|
25
|
-
|
|
26
|
-
o.disabled ?
|
|
27
|
-
|
|
25
|
+
a(o.color),
|
|
26
|
+
o.disabled ? a("disabled") : null,
|
|
27
|
+
t.value ? a("loading") : null
|
|
28
28
|
].filter(Boolean));
|
|
29
|
-
return (e,
|
|
30
|
-
loading:
|
|
29
|
+
return (e, s) => u(e.$slots, "trigger", {
|
|
30
|
+
loading: t.value,
|
|
31
31
|
disabled: e.disabled,
|
|
32
|
-
onClick:
|
|
32
|
+
onClick: d
|
|
33
33
|
}, () => [
|
|
34
|
-
e.visible ? (
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
e.visible ? (l(), f("span", C({ key: 0 }, e.$attrs, {
|
|
35
|
+
class: y.value,
|
|
36
|
+
onClick: d
|
|
37
37
|
}), [
|
|
38
|
-
|
|
38
|
+
t.value ? (l(), m(r(L), {
|
|
39
39
|
key: 0,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
"prefix-cls": "btn",
|
|
41
|
+
"exist-icon": !1,
|
|
42
42
|
loading: ""
|
|
43
|
-
})) :
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
})) : p("", !0),
|
|
44
|
+
u(e.$slots, "default", {}, () => [
|
|
45
|
+
B(e.text) ? (l(), m(A(e.text), { key: 0 })) : (l(), f("span", P, h(e.text || ""), 1))
|
|
46
46
|
])
|
|
47
|
-
], 16)) :
|
|
47
|
+
], 16)) : p("", !0)
|
|
48
48
|
]);
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
I as default
|
|
53
53
|
};
|
|
@@ -1,34 +1,17 @@
|
|
|
1
1
|
import { ApActionItemDropdownProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { ActionColor, MixedActionTypes } from '..';
|
|
4
4
|
import { Trigger } from '@aplus-frontend/antdv/es/dropdown/props';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: any;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: DefineComponent<
|
|
14
|
-
color: string;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
visible: boolean;
|
|
17
|
-
loading: boolean;
|
|
18
|
-
trigger: () => string[];
|
|
19
|
-
placement: string;
|
|
20
|
-
actions: () => never[];
|
|
21
|
-
showIcon: boolean;
|
|
22
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemDropdownProps>, {
|
|
23
|
-
color: string;
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
visible: boolean;
|
|
26
|
-
loading: boolean;
|
|
27
|
-
trigger: () => string[];
|
|
28
|
-
placement: string;
|
|
29
|
-
actions: () => never[];
|
|
30
|
-
showIcon: boolean;
|
|
31
|
-
}>>>, {
|
|
14
|
+
declare const __VLS_component: DefineComponent<ApActionItemDropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemDropdownProps> & Readonly<{}>, {
|
|
32
15
|
placement: "top" | "topLeft" | "bottom" | "topRight" | "bottomLeft" | "bottomRight" | "topCenter" | "bottomCenter";
|
|
33
16
|
visible: boolean;
|
|
34
17
|
color: ActionColor;
|
|
@@ -37,28 +20,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
37
20
|
loading: boolean;
|
|
38
21
|
actions: MixedActionTypes[];
|
|
39
22
|
showIcon: boolean;
|
|
40
|
-
}, {}>;
|
|
23
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
41
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
25
|
export default _default;
|
|
43
|
-
type __VLS_WithDefaults<P, D> = {
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
45
|
-
default: D[K];
|
|
46
|
-
}> : P[K];
|
|
47
|
-
};
|
|
48
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
49
|
-
type __VLS_TypePropsToOption<T> = {
|
|
50
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
51
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
52
|
-
} : {
|
|
53
|
-
type: PropType<T[K]>;
|
|
54
|
-
required: true;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
27
|
new (): {
|
|
59
28
|
$slots: S;
|
|
60
29
|
};
|
|
61
30
|
};
|
|
62
|
-
type __VLS_PrettifyLocal<T> = {
|
|
63
|
-
[K in keyof T]: T[K];
|
|
64
|
-
} & {};
|
|
@@ -1,53 +1,25 @@
|
|
|
1
1
|
import { ApActionItemModalProps, ApActionItemSlots } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { ActionColor } from '..';
|
|
4
4
|
import { ModalFuncProps } from '@aplus-frontend/antdv';
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
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
|
-
color: string;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
visible: boolean;
|
|
15
|
-
loading: boolean;
|
|
16
|
-
modalProps: () => {};
|
|
17
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemModalProps>, {
|
|
18
|
-
color: string;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
visible: boolean;
|
|
21
|
-
loading: boolean;
|
|
22
|
-
modalProps: () => {};
|
|
23
|
-
}>>>, {
|
|
12
|
+
declare const __VLS_component: DefineComponent<ApActionItemModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemModalProps> & Readonly<{}>, {
|
|
24
13
|
visible: boolean;
|
|
25
14
|
color: ActionColor;
|
|
26
15
|
disabled: boolean;
|
|
27
16
|
loading: boolean;
|
|
28
17
|
modalProps: Omit< ModalFuncProps, "type">;
|
|
29
|
-
}, {}>;
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
30
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
20
|
export default _default;
|
|
32
|
-
type __VLS_WithDefaults<P, D> = {
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
}> : P[K];
|
|
36
|
-
};
|
|
37
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
-
type __VLS_TypePropsToOption<T> = {
|
|
39
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
-
} : {
|
|
42
|
-
type: PropType<T[K]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
22
|
new (): {
|
|
48
23
|
$slots: S;
|
|
49
24
|
};
|
|
50
25
|
};
|
|
51
|
-
type __VLS_PrettifyLocal<T> = {
|
|
52
|
-
[K in keyof T]: T[K];
|
|
53
|
-
} & {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApActionItemPopconfirmProps, ApActionItemSlots } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { ActionColor } from '..';
|
|
4
4
|
import { LegacyButtonType, ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
|
|
5
5
|
import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
@@ -11,24 +11,13 @@ import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
11
11
|
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
12
12
|
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
14
15
|
slots: Readonly<ApActionItemSlots> & ApActionItemSlots;
|
|
15
16
|
refs: {};
|
|
16
|
-
|
|
17
|
+
rootEl: any;
|
|
17
18
|
};
|
|
18
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: DefineComponent<
|
|
20
|
-
color: string;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
visible: boolean;
|
|
23
|
-
loading: boolean;
|
|
24
|
-
popconfirmProps: () => {};
|
|
25
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemPopconfirmProps>, {
|
|
26
|
-
color: string;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
visible: boolean;
|
|
29
|
-
loading: boolean;
|
|
30
|
-
popconfirmProps: () => {};
|
|
31
|
-
}>>>, {
|
|
20
|
+
declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApActionItemPopconfirmProps> & Readonly<{}>, {
|
|
32
21
|
visible: boolean;
|
|
33
22
|
color: ActionColor;
|
|
34
23
|
disabled: boolean;
|
|
@@ -328,28 +317,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
328
317
|
onOpenChange: PropType<(vis: boolean) => void>;
|
|
329
318
|
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
330
319
|
}>>;
|
|
331
|
-
}, {}>;
|
|
320
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
332
321
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
333
322
|
export default _default;
|
|
334
|
-
type __VLS_WithDefaults<P, D> = {
|
|
335
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
336
|
-
default: D[K];
|
|
337
|
-
}> : P[K];
|
|
338
|
-
};
|
|
339
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
340
|
-
type __VLS_TypePropsToOption<T> = {
|
|
341
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
342
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
343
|
-
} : {
|
|
344
|
-
type: PropType<T[K]>;
|
|
345
|
-
required: true;
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
323
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
349
324
|
new (): {
|
|
350
325
|
$slots: S;
|
|
351
326
|
};
|
|
352
327
|
};
|
|
353
|
-
type __VLS_PrettifyLocal<T> = {
|
|
354
|
-
[K in keyof T]: T[K];
|
|
355
|
-
} & {};
|
|
@@ -23,9 +23,9 @@ const I = /* @__PURE__ */ d({
|
|
|
23
23
|
(t = (r = o.popconfirmProps).onConfirm) == null || t.call(r, n), await ((e = o.onAction) == null ? void 0 : e.call(o, n));
|
|
24
24
|
}
|
|
25
25
|
return (n, r) => (P(), _(i(b), y(o.popconfirmProps, {
|
|
26
|
-
onConfirm: m,
|
|
27
26
|
disabled: !o.popconfirmProps,
|
|
28
|
-
"overlay-style": { zIndex: 1060 }
|
|
27
|
+
"overlay-style": { zIndex: 1060 },
|
|
28
|
+
onConfirm: m
|
|
29
29
|
}), {
|
|
30
30
|
default: a(() => [
|
|
31
31
|
C(h, p(s(i(g)(o, ["popconfirmProps", "onAction"]))), x({ _: 2 }, [
|
|
@@ -1,51 +1,25 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { ApButtonProps } from './interface';
|
|
3
3
|
import { ButtonType } from '@aplus-frontend/antdv/es/button';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: Partial<Record<string, (_: any) => any>>;
|
|
6
7
|
refs: {};
|
|
7
|
-
|
|
8
|
+
rootEl: any;
|
|
8
9
|
};
|
|
9
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: DefineComponent<
|
|
11
|
-
type: string;
|
|
12
|
-
minWidth: boolean;
|
|
13
|
-
loading: undefined;
|
|
14
|
-
lazy: boolean;
|
|
15
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption< ApButtonProps>, {
|
|
16
|
-
type: string;
|
|
17
|
-
minWidth: boolean;
|
|
18
|
-
loading: undefined;
|
|
19
|
-
lazy: boolean;
|
|
20
|
-
}>>>, {
|
|
11
|
+
declare const __VLS_component: DefineComponent<ApButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ApButtonProps> & Readonly<{}>, {
|
|
21
12
|
type: ButtonType | "borderLink";
|
|
22
13
|
minWidth: boolean | number | string;
|
|
23
14
|
loading: boolean | {
|
|
24
15
|
delay?: number;
|
|
25
16
|
};
|
|
26
17
|
lazy: boolean | number;
|
|
27
|
-
}, {}>;
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
28
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
20
|
export default _default;
|
|
30
|
-
type __VLS_WithDefaults<P, D> = {
|
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
32
|
-
default: D[K];
|
|
33
|
-
}> : P[K];
|
|
34
|
-
};
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToOption<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
22
|
new (): {
|
|
46
23
|
$slots: S;
|
|
47
24
|
};
|
|
48
25
|
};
|
|
49
|
-
type __VLS_PrettifyLocal<T> = {
|
|
50
|
-
[K in keyof T]: T[K];
|
|
51
|
-
} & {};
|