@aplus-frontend/ui 0.2.28 → 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 +20 -177
- 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/select/index.vue.mjs +10 -10
- 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/index.vue2.mjs +23 -20
- package/es/src/ap-field/text/password.vue.d.ts +9 -47
- package/es/src/ap-field/text/password.vue.mjs +19 -16
- package/es/src/ap-field/text-area/index.vue.d.ts +6 -39
- package/es/src/ap-field/text-area/index.vue.mjs +7 -4
- 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 +38 -495
- package/es/src/ap-form/items/text/password.vue.d.ts +47 -559
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -480
- 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 -13427
- 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/index.vue.mjs +35 -32
- 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 +20 -177
- 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/select/index.vue.js +1 -1
- 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/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +9 -47
- package/lib/src/ap-field/text/password.vue.js +1 -1
- 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/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 +38 -495
- package/lib/src/ap-form/items/text/password.vue.d.ts +47 -559
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -480
- 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 -13427
- 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/index.vue.js +2 -2
- 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,13 +1,12 @@
|
|
|
1
1
|
import { ApFormProps, RegistedFieldType, WatchFunc } from './interface';
|
|
2
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign,
|
|
2
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
|
-
import {
|
|
4
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
5
5
|
import { VueTypeDef, VueTypeValidableDef } from '../../node_modules/vue-types';
|
|
6
6
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
9
9
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
10
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
10
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
12
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
13
12
|
/**
|
|
@@ -24,234 +23,12 @@ declare function getInternalInstance(mark: string): {
|
|
|
24
23
|
registerWatch: typeof registerWatch;
|
|
25
24
|
} | undefined;
|
|
26
25
|
declare function __VLS_template(): {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
27
|
slots: {
|
|
28
28
|
default?(_: {}): any;
|
|
29
29
|
};
|
|
30
30
|
refs: {
|
|
31
|
-
formRef:
|
|
32
|
-
layout: VueTypeDef<string>;
|
|
33
|
-
labelCol: {
|
|
34
|
-
type: PropType<Partial< ExtractPropTypes<{
|
|
35
|
-
span: (StringConstructor | NumberConstructor)[];
|
|
36
|
-
order: (StringConstructor | NumberConstructor)[];
|
|
37
|
-
offset: (StringConstructor | NumberConstructor)[];
|
|
38
|
-
push: (StringConstructor | NumberConstructor)[];
|
|
39
|
-
pull: (StringConstructor | NumberConstructor)[];
|
|
40
|
-
xs: {
|
|
41
|
-
type: PropType<string | number | ColSize>;
|
|
42
|
-
default: string | number | ColSize;
|
|
43
|
-
};
|
|
44
|
-
sm: {
|
|
45
|
-
type: PropType<string | number | ColSize>;
|
|
46
|
-
default: string | number | ColSize;
|
|
47
|
-
};
|
|
48
|
-
md: {
|
|
49
|
-
type: PropType<string | number | ColSize>;
|
|
50
|
-
default: string | number | ColSize;
|
|
51
|
-
};
|
|
52
|
-
lg: {
|
|
53
|
-
type: PropType<string | number | ColSize>;
|
|
54
|
-
default: string | number | ColSize;
|
|
55
|
-
};
|
|
56
|
-
xl: {
|
|
57
|
-
type: PropType<string | number | ColSize>;
|
|
58
|
-
default: string | number | ColSize;
|
|
59
|
-
};
|
|
60
|
-
xxl: {
|
|
61
|
-
type: PropType<string | number | ColSize>;
|
|
62
|
-
default: string | number | ColSize;
|
|
63
|
-
};
|
|
64
|
-
prefixCls: StringConstructor;
|
|
65
|
-
flex: (StringConstructor | NumberConstructor)[];
|
|
66
|
-
}>> & HTMLAttributes>;
|
|
67
|
-
default: Partial< ExtractPropTypes<{
|
|
68
|
-
span: (StringConstructor | NumberConstructor)[];
|
|
69
|
-
order: (StringConstructor | NumberConstructor)[];
|
|
70
|
-
offset: (StringConstructor | NumberConstructor)[];
|
|
71
|
-
push: (StringConstructor | NumberConstructor)[];
|
|
72
|
-
pull: (StringConstructor | NumberConstructor)[];
|
|
73
|
-
xs: {
|
|
74
|
-
type: PropType<string | number | ColSize>;
|
|
75
|
-
default: string | number | ColSize;
|
|
76
|
-
};
|
|
77
|
-
sm: {
|
|
78
|
-
type: PropType<string | number | ColSize>;
|
|
79
|
-
default: string | number | ColSize;
|
|
80
|
-
};
|
|
81
|
-
md: {
|
|
82
|
-
type: PropType<string | number | ColSize>;
|
|
83
|
-
default: string | number | ColSize;
|
|
84
|
-
};
|
|
85
|
-
lg: {
|
|
86
|
-
type: PropType<string | number | ColSize>;
|
|
87
|
-
default: string | number | ColSize;
|
|
88
|
-
};
|
|
89
|
-
xl: {
|
|
90
|
-
type: PropType<string | number | ColSize>;
|
|
91
|
-
default: string | number | ColSize;
|
|
92
|
-
};
|
|
93
|
-
xxl: {
|
|
94
|
-
type: PropType<string | number | ColSize>;
|
|
95
|
-
default: string | number | ColSize;
|
|
96
|
-
};
|
|
97
|
-
prefixCls: StringConstructor;
|
|
98
|
-
flex: (StringConstructor | NumberConstructor)[];
|
|
99
|
-
}>> & HTMLAttributes;
|
|
100
|
-
};
|
|
101
|
-
wrapperCol: {
|
|
102
|
-
type: PropType<Partial< ExtractPropTypes<{
|
|
103
|
-
span: (StringConstructor | NumberConstructor)[];
|
|
104
|
-
order: (StringConstructor | NumberConstructor)[];
|
|
105
|
-
offset: (StringConstructor | NumberConstructor)[];
|
|
106
|
-
push: (StringConstructor | NumberConstructor)[];
|
|
107
|
-
pull: (StringConstructor | NumberConstructor)[];
|
|
108
|
-
xs: {
|
|
109
|
-
type: PropType<string | number | ColSize>;
|
|
110
|
-
default: string | number | ColSize;
|
|
111
|
-
};
|
|
112
|
-
sm: {
|
|
113
|
-
type: PropType<string | number | ColSize>;
|
|
114
|
-
default: string | number | ColSize;
|
|
115
|
-
};
|
|
116
|
-
md: {
|
|
117
|
-
type: PropType<string | number | ColSize>;
|
|
118
|
-
default: string | number | ColSize;
|
|
119
|
-
};
|
|
120
|
-
lg: {
|
|
121
|
-
type: PropType<string | number | ColSize>;
|
|
122
|
-
default: string | number | ColSize;
|
|
123
|
-
};
|
|
124
|
-
xl: {
|
|
125
|
-
type: PropType<string | number | ColSize>;
|
|
126
|
-
default: string | number | ColSize;
|
|
127
|
-
};
|
|
128
|
-
xxl: {
|
|
129
|
-
type: PropType<string | number | ColSize>;
|
|
130
|
-
default: string | number | ColSize;
|
|
131
|
-
};
|
|
132
|
-
prefixCls: StringConstructor;
|
|
133
|
-
flex: (StringConstructor | NumberConstructor)[];
|
|
134
|
-
}>> & HTMLAttributes>;
|
|
135
|
-
default: Partial< ExtractPropTypes<{
|
|
136
|
-
span: (StringConstructor | NumberConstructor)[];
|
|
137
|
-
order: (StringConstructor | NumberConstructor)[];
|
|
138
|
-
offset: (StringConstructor | NumberConstructor)[];
|
|
139
|
-
push: (StringConstructor | NumberConstructor)[];
|
|
140
|
-
pull: (StringConstructor | NumberConstructor)[];
|
|
141
|
-
xs: {
|
|
142
|
-
type: PropType<string | number | ColSize>;
|
|
143
|
-
default: string | number | ColSize;
|
|
144
|
-
};
|
|
145
|
-
sm: {
|
|
146
|
-
type: PropType<string | number | ColSize>;
|
|
147
|
-
default: string | number | ColSize;
|
|
148
|
-
};
|
|
149
|
-
md: {
|
|
150
|
-
type: PropType<string | number | ColSize>;
|
|
151
|
-
default: string | number | ColSize;
|
|
152
|
-
};
|
|
153
|
-
lg: {
|
|
154
|
-
type: PropType<string | number | ColSize>;
|
|
155
|
-
default: string | number | ColSize;
|
|
156
|
-
};
|
|
157
|
-
xl: {
|
|
158
|
-
type: PropType<string | number | ColSize>;
|
|
159
|
-
default: string | number | ColSize;
|
|
160
|
-
};
|
|
161
|
-
xxl: {
|
|
162
|
-
type: PropType<string | number | ColSize>;
|
|
163
|
-
default: string | number | ColSize;
|
|
164
|
-
};
|
|
165
|
-
prefixCls: StringConstructor;
|
|
166
|
-
flex: (StringConstructor | NumberConstructor)[];
|
|
167
|
-
}>> & HTMLAttributes;
|
|
168
|
-
};
|
|
169
|
-
colon: {
|
|
170
|
-
type: BooleanConstructor;
|
|
171
|
-
default: boolean;
|
|
172
|
-
};
|
|
173
|
-
labelAlign: {
|
|
174
|
-
type: PropType<FormLabelAlign>;
|
|
175
|
-
default: FormLabelAlign;
|
|
176
|
-
};
|
|
177
|
-
labelWrap: {
|
|
178
|
-
type: BooleanConstructor;
|
|
179
|
-
default: boolean;
|
|
180
|
-
};
|
|
181
|
-
prefixCls: StringConstructor;
|
|
182
|
-
requiredMark: {
|
|
183
|
-
type: PropType<"" | RequiredMark>;
|
|
184
|
-
default: "" | RequiredMark;
|
|
185
|
-
};
|
|
186
|
-
hideRequiredMark: {
|
|
187
|
-
type: BooleanConstructor;
|
|
188
|
-
default: boolean;
|
|
189
|
-
};
|
|
190
|
-
model: VueTypeValidableDef<{
|
|
191
|
-
[key: string]: any;
|
|
192
|
-
}> & {
|
|
193
|
-
default: () => {
|
|
194
|
-
[key: string]: any;
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
rules: {
|
|
198
|
-
type: PropType<{
|
|
199
|
-
[k: string]: RuleObject | RuleObject[];
|
|
200
|
-
}>;
|
|
201
|
-
default: {
|
|
202
|
-
[k: string]: RuleObject | RuleObject[];
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
validateMessages: {
|
|
206
|
-
type: PropType<ValidateMessages>;
|
|
207
|
-
default: ValidateMessages;
|
|
208
|
-
};
|
|
209
|
-
validateOnRuleChange: {
|
|
210
|
-
type: BooleanConstructor;
|
|
211
|
-
default: boolean;
|
|
212
|
-
};
|
|
213
|
-
scrollToFirstError: {
|
|
214
|
-
default: boolean | Options<any>;
|
|
215
|
-
type: PropType<boolean | Options<any>>;
|
|
216
|
-
};
|
|
217
|
-
onSubmit: {
|
|
218
|
-
type: PropType<(e: Event) => void>;
|
|
219
|
-
default: (e: Event) => void;
|
|
220
|
-
};
|
|
221
|
-
name: StringConstructor;
|
|
222
|
-
validateTrigger: {
|
|
223
|
-
type: PropType<string | string[]>;
|
|
224
|
-
default: string | string[];
|
|
225
|
-
};
|
|
226
|
-
size: {
|
|
227
|
-
type: PropType<SizeType>;
|
|
228
|
-
default: SizeType;
|
|
229
|
-
};
|
|
230
|
-
disabled: {
|
|
231
|
-
type: BooleanConstructor;
|
|
232
|
-
default: boolean;
|
|
233
|
-
};
|
|
234
|
-
onValuesChange: {
|
|
235
|
-
type: PropType<(changedValues: any, values: any) => void>;
|
|
236
|
-
default: (changedValues: any, values: any) => void;
|
|
237
|
-
};
|
|
238
|
-
onFieldsChange: {
|
|
239
|
-
type: PropType<(changedFields: FieldData[], allFields: FieldData[]) => void>;
|
|
240
|
-
default: (changedFields: FieldData[], allFields: FieldData[]) => void;
|
|
241
|
-
};
|
|
242
|
-
onFinish: {
|
|
243
|
-
type: PropType<(values: any) => void>;
|
|
244
|
-
default: (values: any) => void;
|
|
245
|
-
};
|
|
246
|
-
onFinishFailed: {
|
|
247
|
-
type: PropType<(errorInfo: ValidateErrorEntity<any>) => void>;
|
|
248
|
-
default: (errorInfo: ValidateErrorEntity<any>) => void;
|
|
249
|
-
};
|
|
250
|
-
onValidate: {
|
|
251
|
-
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
252
|
-
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
253
|
-
};
|
|
254
|
-
}>>, () => VueNode, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
31
|
+
formRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
255
32
|
layout: VueTypeDef<string>;
|
|
256
33
|
labelCol: {
|
|
257
34
|
type: PropType<Partial< ExtractPropTypes<{
|
|
@@ -474,12 +251,15 @@ declare function __VLS_template(): {
|
|
|
474
251
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
475
252
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
476
253
|
};
|
|
477
|
-
}
|
|
254
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
478
255
|
size: SizeType;
|
|
479
256
|
onSubmit: (e: Event) => void;
|
|
480
257
|
disabled: boolean;
|
|
481
258
|
validateTrigger: string | string[];
|
|
482
259
|
onFinish: (values: any) => void;
|
|
260
|
+
validateMessages: ValidateMessages;
|
|
261
|
+
requiredMark: "" | RequiredMark;
|
|
262
|
+
colon: boolean;
|
|
483
263
|
labelCol: Partial< ExtractPropTypes<{
|
|
484
264
|
span: (StringConstructor | NumberConstructor)[];
|
|
485
265
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -512,10 +292,11 @@ declare function __VLS_template(): {
|
|
|
512
292
|
};
|
|
513
293
|
prefixCls: StringConstructor;
|
|
514
294
|
flex: (StringConstructor | NumberConstructor)[];
|
|
515
|
-
}>> &
|
|
295
|
+
}>> & **
|
|
296
|
+
* 注册表单项
|
|
297
|
+
* @param field
|
|
298
|
+
*/).HTMLAttributes;
|
|
516
299
|
labelAlign: FormLabelAlign;
|
|
517
|
-
colon: boolean;
|
|
518
|
-
requiredMark: "" | RequiredMark;
|
|
519
300
|
labelWrap: boolean;
|
|
520
301
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
521
302
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -561,10 +342,9 @@ declare function __VLS_template(): {
|
|
|
561
342
|
model: {
|
|
562
343
|
[key: string]: any;
|
|
563
344
|
};
|
|
564
|
-
validateMessages: ValidateMessages;
|
|
565
345
|
validateOnRuleChange: boolean;
|
|
566
346
|
scrollToFirstError: boolean | Options<any>;
|
|
567
|
-
}, true, {}, {}, {
|
|
347
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
568
348
|
P: {};
|
|
569
349
|
B: {};
|
|
570
350
|
D: {};
|
|
@@ -794,12 +574,15 @@ declare function __VLS_template(): {
|
|
|
794
574
|
type: PropType<(name: string | number | string[] | number[], status: boolean, errors: string[]) => void>;
|
|
795
575
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
796
576
|
};
|
|
797
|
-
}
|
|
577
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
798
578
|
size: SizeType;
|
|
799
579
|
onSubmit: (e: Event) => void;
|
|
800
580
|
disabled: boolean;
|
|
801
581
|
validateTrigger: string | string[];
|
|
802
582
|
onFinish: (values: any) => void;
|
|
583
|
+
validateMessages: ValidateMessages;
|
|
584
|
+
requiredMark: "" | RequiredMark;
|
|
585
|
+
colon: boolean;
|
|
803
586
|
labelCol: Partial< ExtractPropTypes<{
|
|
804
587
|
span: (StringConstructor | NumberConstructor)[];
|
|
805
588
|
order: (StringConstructor | NumberConstructor)[];
|
|
@@ -834,8 +617,6 @@ declare function __VLS_template(): {
|
|
|
834
617
|
flex: (StringConstructor | NumberConstructor)[];
|
|
835
618
|
}>> & HTMLAttributes;
|
|
836
619
|
labelAlign: FormLabelAlign;
|
|
837
|
-
colon: boolean;
|
|
838
|
-
requiredMark: "" | RequiredMark;
|
|
839
620
|
labelWrap: boolean;
|
|
840
621
|
wrapperCol: Partial< ExtractPropTypes<{
|
|
841
622
|
span: (StringConstructor | NumberConstructor)[];
|
|
@@ -881,23 +662,14 @@ declare function __VLS_template(): {
|
|
|
881
662
|
model: {
|
|
882
663
|
[key: string]: any;
|
|
883
664
|
};
|
|
884
|
-
validateMessages: ValidateMessages;
|
|
885
665
|
validateOnRuleChange: boolean;
|
|
886
666
|
scrollToFirstError: boolean | Options<any>;
|
|
887
667
|
}> | null;
|
|
888
668
|
};
|
|
889
|
-
|
|
669
|
+
rootEl: any;
|
|
890
670
|
};
|
|
891
671
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
892
|
-
declare const __VLS_component: DefineComponent<
|
|
893
|
-
layout: string;
|
|
894
|
-
hideRequiredMark: boolean;
|
|
895
|
-
colon: boolean;
|
|
896
|
-
labelAlign: string;
|
|
897
|
-
validateOnRuleChange: boolean;
|
|
898
|
-
validateTrigger: string;
|
|
899
|
-
syncToUrl: boolean;
|
|
900
|
-
}>, {
|
|
672
|
+
declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
901
673
|
resetFields: () => Promise<void>;
|
|
902
674
|
clearValidate: (name?: NamePath | NamePath[]) => void;
|
|
903
675
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<{
|
|
@@ -916,15 +688,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
916
688
|
validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
917
689
|
getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;
|
|
918
690
|
getInternalInstance: typeof getInternalInstance;
|
|
919
|
-
},
|
|
920
|
-
layout: string;
|
|
921
|
-
hideRequiredMark: boolean;
|
|
922
|
-
colon: boolean;
|
|
923
|
-
labelAlign: string;
|
|
924
|
-
validateOnRuleChange: boolean;
|
|
925
|
-
validateTrigger: string;
|
|
926
|
-
syncToUrl: boolean;
|
|
927
|
-
}>>>, {
|
|
691
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormProps> & Readonly<{}>, {
|
|
928
692
|
layout: string;
|
|
929
693
|
colon: boolean;
|
|
930
694
|
labelAlign: FormLabelAlign;
|
|
@@ -932,28 +696,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
932
696
|
hideRequiredMark: boolean;
|
|
933
697
|
validateOnRuleChange: boolean;
|
|
934
698
|
syncToUrl: boolean | ((values: Recordable, type: "get" | "set") => Recordable);
|
|
935
|
-
}, {}>;
|
|
699
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
936
700
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
937
701
|
export default _default;
|
|
938
|
-
type __VLS_WithDefaults<P, D> = {
|
|
939
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
940
|
-
default: D[K];
|
|
941
|
-
}> : P[K];
|
|
942
|
-
};
|
|
943
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
944
|
-
type __VLS_TypePropsToOption<T> = {
|
|
945
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
946
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
947
|
-
} : {
|
|
948
|
-
type: PropType<T[K]>;
|
|
949
|
-
required: true;
|
|
950
|
-
};
|
|
951
|
-
};
|
|
952
702
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
953
703
|
new (): {
|
|
954
704
|
$slots: S;
|
|
955
705
|
};
|
|
956
706
|
};
|
|
957
|
-
type __VLS_PrettifyLocal<T> = {
|
|
958
|
-
[K in keyof T]: T[K];
|
|
959
|
-
} & {};
|
|
@@ -1,26 +1,18 @@
|
|
|
1
1
|
import { ApFormDependencyProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type ApFormDependencySlots = {
|
|
4
4
|
default(values: Record<string, any>): any;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Readonly<ApFormDependencySlots> & ApFormDependencySlots;
|
|
8
9
|
refs: {};
|
|
9
|
-
|
|
10
|
+
rootEl: any;
|
|
10
11
|
};
|
|
11
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: DefineComponent<
|
|
13
|
+
declare const __VLS_component: DefineComponent<ApFormDependencyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormDependencyProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
15
|
export default _default;
|
|
15
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type __VLS_TypePropsToOption<T> = {
|
|
17
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
-
} : {
|
|
20
|
-
type: PropType<T[K]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
17
|
new (): {
|
|
26
18
|
$slots: S;
|