@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,6 +1,6 @@
|
|
|
1
1
|
import { ApFieldTextProps } from '../interface';
|
|
2
2
|
import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { FieldMode } from '..';
|
|
5
5
|
type ApFieldTextSlots = {
|
|
6
6
|
addonAfter?: any;
|
|
@@ -10,38 +10,23 @@ type ApFieldTextSlots = {
|
|
|
10
10
|
clearIcon?: any;
|
|
11
11
|
};
|
|
12
12
|
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
13
14
|
slots: Readonly<ApFieldTextSlots> & ApFieldTextSlots;
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: any;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: DefineComponent<
|
|
19
|
-
emptyText: string;
|
|
20
|
-
mode: string;
|
|
21
|
-
bordered: boolean;
|
|
22
|
-
type: string;
|
|
23
|
-
lazy: boolean;
|
|
24
|
-
allowClear: boolean;
|
|
25
|
-
disabled: undefined;
|
|
26
|
-
}>, {
|
|
19
|
+
declare const __VLS_component: DefineComponent<ApFieldTextProps, {
|
|
27
20
|
focus: (options?: InputFocusOptions) => void;
|
|
28
21
|
blur: () => void;
|
|
29
22
|
input: any;
|
|
30
23
|
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
31
24
|
select: () => void;
|
|
32
|
-
},
|
|
25
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
33
26
|
"update:value": (...args: any[]) => void;
|
|
34
|
-
}, string, PublicProps, Readonly<
|
|
35
|
-
emptyText: string;
|
|
36
|
-
mode: string;
|
|
37
|
-
bordered: boolean;
|
|
38
|
-
type: string;
|
|
39
|
-
lazy: boolean;
|
|
40
|
-
allowClear: boolean;
|
|
41
|
-
disabled: undefined;
|
|
42
|
-
}>>> & {
|
|
27
|
+
}, string, PublicProps, Readonly<ApFieldTextProps> & Readonly<{
|
|
43
28
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
}
|
|
29
|
+
}>, {
|
|
45
30
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
46
31
|
mode: FieldMode;
|
|
47
32
|
disabled: boolean;
|
|
@@ -49,28 +34,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
49
34
|
lazy: boolean;
|
|
50
35
|
allowClear: boolean;
|
|
51
36
|
emptyText: string;
|
|
52
|
-
}, {}>;
|
|
37
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
53
38
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
39
|
export default _default;
|
|
55
|
-
type __VLS_WithDefaults<P, D> = {
|
|
56
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
57
|
-
default: D[K];
|
|
58
|
-
}> : P[K];
|
|
59
|
-
};
|
|
60
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
-
type __VLS_TypePropsToOption<T> = {
|
|
62
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
-
} : {
|
|
65
|
-
type: PropType<T[K]>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
40
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
41
|
new (): {
|
|
71
42
|
$slots: S;
|
|
72
43
|
};
|
|
73
44
|
};
|
|
74
|
-
type __VLS_PrettifyLocal<T> = {
|
|
75
|
-
[K in keyof T]: T[K];
|
|
76
|
-
} & {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { isVNode as v, defineComponent as B, ref as g, useSlots as h, computed as b, createVNode as d, mergeProps as C, unref as u, Fragment as S, openBlock as _, createBlock as R, resolveDynamicComponent as
|
|
2
|
-
import { Input as
|
|
1
|
+
import { isVNode as v, defineComponent as B, ref as g, useSlots as h, computed as b, createVNode as d, mergeProps as C, unref as u, Fragment as S, openBlock as _, createBlock as R, resolveDynamicComponent as w } from "vue";
|
|
2
|
+
import { Input as T } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
|
-
import { omit as
|
|
5
|
-
import { useDefaultPlaceholder as
|
|
6
|
-
import { useControllableValue as
|
|
7
|
-
function
|
|
4
|
+
import { omit as V } from "lodash-unified";
|
|
5
|
+
import { useDefaultPlaceholder as j } from "../hooks/use-default-placeholder.mjs";
|
|
6
|
+
import { useControllableValue as F } from "../../hooks/useControllableValue.mjs";
|
|
7
|
+
function I(l) {
|
|
8
8
|
return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !v(l);
|
|
9
9
|
}
|
|
10
|
-
const
|
|
10
|
+
const K = /* @__PURE__ */ B({
|
|
11
11
|
name: "ApFieldText",
|
|
12
12
|
__name: "index",
|
|
13
13
|
props: {
|
|
@@ -46,10 +46,13 @@ const M = /* @__PURE__ */ B({
|
|
|
46
46
|
onPressEnter: {},
|
|
47
47
|
onKeydown: {},
|
|
48
48
|
onKeyup: {},
|
|
49
|
+
onMousedown: {},
|
|
50
|
+
onMouseUp: {},
|
|
49
51
|
onFocus: {},
|
|
50
52
|
onBlur: {},
|
|
51
53
|
onChange: {},
|
|
52
54
|
onInput: {},
|
|
55
|
+
onRawInput: {},
|
|
53
56
|
"onUpdate:value": {},
|
|
54
57
|
onCompositionstart: {},
|
|
55
58
|
onCompositionend: {},
|
|
@@ -92,19 +95,19 @@ const M = /* @__PURE__ */ B({
|
|
|
92
95
|
expose: i,
|
|
93
96
|
emit: c
|
|
94
97
|
}) {
|
|
95
|
-
const a = g(),
|
|
98
|
+
const a = g(), o = h();
|
|
96
99
|
i({
|
|
97
100
|
focus: (e) => {
|
|
98
|
-
var
|
|
99
|
-
(
|
|
101
|
+
var t;
|
|
102
|
+
(t = a.value) == null || t.focus(e);
|
|
100
103
|
},
|
|
101
104
|
blur: () => {
|
|
102
105
|
var e;
|
|
103
106
|
(e = a.value) == null || e.blur();
|
|
104
107
|
},
|
|
105
|
-
setSelectionRange: (e,
|
|
108
|
+
setSelectionRange: (e, t, x) => {
|
|
106
109
|
var p;
|
|
107
|
-
(p = a.value) == null || p.setSelectionRange(e,
|
|
110
|
+
(p = a.value) == null || p.setSelectionRange(e, t, x);
|
|
108
111
|
},
|
|
109
112
|
select: () => {
|
|
110
113
|
var e;
|
|
@@ -118,21 +121,21 @@ const M = /* @__PURE__ */ B({
|
|
|
118
121
|
const f = c, n = l, {
|
|
119
122
|
value: r,
|
|
120
123
|
updateValue: s
|
|
121
|
-
} =
|
|
124
|
+
} = F(n, f), m = j("Text", n);
|
|
122
125
|
function y() {
|
|
123
|
-
var e,
|
|
124
|
-
return n.mode === "edit" ? d(
|
|
126
|
+
var e, t;
|
|
127
|
+
return n.mode === "edit" ? d(T, C(V(n, ["mode", "emptyText", "value", "onUpdate:value"]), {
|
|
125
128
|
placeholder: u(m),
|
|
126
129
|
value: u(r),
|
|
127
130
|
"onUpdate:value": s,
|
|
128
131
|
ref: a
|
|
129
|
-
}),
|
|
130
|
-
default: () => [
|
|
131
|
-
}) : d(S, null, [n.prefix || ((e =
|
|
132
|
+
}), I(o) ? o : {
|
|
133
|
+
default: () => [o]
|
|
134
|
+
}) : d(S, null, [n.prefix || ((e = o == null ? void 0 : o.prefix) == null ? void 0 : e.call(o)), u(r) || n.emptyText, n.suffix || ((t = o == null ? void 0 : o.suffix) == null ? void 0 : t.call(o))]);
|
|
132
135
|
}
|
|
133
|
-
return (e,
|
|
136
|
+
return (e, t) => (_(), R(w(y())));
|
|
134
137
|
}
|
|
135
138
|
});
|
|
136
139
|
export {
|
|
137
|
-
|
|
140
|
+
K as default
|
|
138
141
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApFieldTextPasswordProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { FieldMode } from '..';
|
|
4
4
|
type ApFieldTextPasswordSlots = {
|
|
5
5
|
addonAfter: any;
|
|
@@ -10,43 +10,22 @@ type ApFieldTextPasswordSlots = {
|
|
|
10
10
|
iconRender: any;
|
|
11
11
|
};
|
|
12
12
|
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
13
14
|
slots: Readonly<ApFieldTextPasswordSlots> & ApFieldTextPasswordSlots;
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: any;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: DefineComponent<
|
|
19
|
-
emptyText: string;
|
|
20
|
-
mode: string;
|
|
21
|
-
bordered: boolean;
|
|
22
|
-
type: string;
|
|
23
|
-
lazy: boolean;
|
|
24
|
-
allowClear: boolean;
|
|
25
|
-
visibilityToggle: boolean;
|
|
26
|
-
action: string;
|
|
27
|
-
visible: undefined;
|
|
28
|
-
disabled: undefined;
|
|
29
|
-
}>, {
|
|
19
|
+
declare const __VLS_component: DefineComponent<ApFieldTextPasswordProps, {
|
|
30
20
|
focus: () => void;
|
|
31
21
|
blur: () => void;
|
|
32
|
-
},
|
|
22
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
33
23
|
"update:value": (...args: any[]) => void;
|
|
34
24
|
"update:visible": (...args: any[]) => void;
|
|
35
|
-
}, string, PublicProps, Readonly<
|
|
36
|
-
emptyText: string;
|
|
37
|
-
mode: string;
|
|
38
|
-
bordered: boolean;
|
|
39
|
-
type: string;
|
|
40
|
-
lazy: boolean;
|
|
41
|
-
allowClear: boolean;
|
|
42
|
-
visibilityToggle: boolean;
|
|
43
|
-
action: string;
|
|
44
|
-
visible: undefined;
|
|
45
|
-
disabled: undefined;
|
|
46
|
-
}>>> & {
|
|
47
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}, string, PublicProps, Readonly<ApFieldTextPasswordProps> & Readonly<{
|
|
48
26
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
|
|
27
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
28
|
+
}>, {
|
|
50
29
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
51
30
|
mode: FieldMode;
|
|
52
31
|
visible: boolean;
|
|
@@ -57,28 +36,11 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
57
36
|
emptyText: string;
|
|
58
37
|
action: string;
|
|
59
38
|
visibilityToggle: boolean;
|
|
60
|
-
}, {}>;
|
|
39
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
61
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
62
41
|
export default _default;
|
|
63
|
-
type __VLS_WithDefaults<P, D> = {
|
|
64
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
65
|
-
default: D[K];
|
|
66
|
-
}> : P[K];
|
|
67
|
-
};
|
|
68
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
|
-
type __VLS_TypePropsToOption<T> = {
|
|
70
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
71
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
72
|
-
} : {
|
|
73
|
-
type: PropType<T[K]>;
|
|
74
|
-
required: true;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
78
43
|
new (): {
|
|
79
44
|
$slots: S;
|
|
80
45
|
};
|
|
81
46
|
};
|
|
82
|
-
type __VLS_PrettifyLocal<T> = {
|
|
83
|
-
[K in keyof T]: T[K];
|
|
84
|
-
} & {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as
|
|
2
|
-
import { Input as
|
|
1
|
+
import { isVNode as x, defineComponent as h, ref as C, useSlots as g, unref as i, createVNode as o, mergeProps as w, Fragment as P, openBlock as U, createBlock as V, resolveDynamicComponent as _ } from "vue";
|
|
2
|
+
import { Input as S, Space as T } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../hooks/index.mjs";
|
|
4
|
-
import { omit as
|
|
5
|
-
import { EyeOutlined as
|
|
6
|
-
import { useDefaultPlaceholder as
|
|
7
|
-
import { useControllableValue as
|
|
8
|
-
function
|
|
4
|
+
import { omit as I } from "lodash-unified";
|
|
5
|
+
import { EyeOutlined as O, EyeInvisibleOutlined as j } from "@ant-design/icons-vue";
|
|
6
|
+
import { useDefaultPlaceholder as k } from "../hooks/use-default-placeholder.mjs";
|
|
7
|
+
import { useControllableValue as d } from "../../hooks/useControllableValue.mjs";
|
|
8
|
+
function E(l) {
|
|
9
9
|
return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !x(l);
|
|
10
10
|
}
|
|
11
11
|
const G = /* @__PURE__ */ h({
|
|
@@ -47,10 +47,13 @@ const G = /* @__PURE__ */ h({
|
|
|
47
47
|
onPressEnter: {},
|
|
48
48
|
onKeydown: {},
|
|
49
49
|
onKeyup: {},
|
|
50
|
+
onMousedown: {},
|
|
51
|
+
onMouseUp: {},
|
|
50
52
|
onFocus: {},
|
|
51
53
|
onBlur: {},
|
|
52
54
|
onChange: {},
|
|
53
55
|
onInput: {},
|
|
56
|
+
onRawInput: {},
|
|
54
57
|
"onUpdate:value": {},
|
|
55
58
|
onCompositionstart: {},
|
|
56
59
|
onCompositionend: {},
|
|
@@ -120,36 +123,36 @@ const G = /* @__PURE__ */ h({
|
|
|
120
123
|
const s = f, t = l, {
|
|
121
124
|
value: m,
|
|
122
125
|
updateValue: y
|
|
123
|
-
} =
|
|
126
|
+
} = d(t, s), v = k("TextPassword", t), {
|
|
124
127
|
value: b,
|
|
125
128
|
updateValue: r
|
|
126
|
-
} =
|
|
129
|
+
} = d(t, s, {
|
|
127
130
|
valuePropName: "visible"
|
|
128
131
|
});
|
|
129
132
|
function B() {
|
|
130
133
|
const e = i(m), n = i(b);
|
|
131
134
|
if (t.mode === "edit")
|
|
132
|
-
return o(
|
|
135
|
+
return o(S.Password, w(I(t, ["mode", "emptyText", "value", "onUpdate:value", "visible", "onUpdate:visible"]), {
|
|
133
136
|
placeholder: i(v),
|
|
134
137
|
value: e,
|
|
135
138
|
"onUpdate:value": y,
|
|
136
139
|
visible: n,
|
|
137
140
|
"onUpdate:visible": r,
|
|
138
141
|
ref: a
|
|
139
|
-
}),
|
|
142
|
+
}), E(u) ? u : {
|
|
140
143
|
default: () => [u]
|
|
141
144
|
});
|
|
142
|
-
let
|
|
143
|
-
return e && (
|
|
145
|
+
let p = o(P, null, [t.emptyText]);
|
|
146
|
+
return e && (p = o(T, null, {
|
|
144
147
|
default: () => [o("span", null, [n ? e : "********"]), o("span", {
|
|
145
148
|
style: {
|
|
146
149
|
cursor: "pointer"
|
|
147
150
|
},
|
|
148
151
|
onClick: () => r(!n)
|
|
149
|
-
}, [n ? o(
|
|
150
|
-
})),
|
|
152
|
+
}, [n ? o(O, null, null) : o(j, null, null)])]
|
|
153
|
+
})), p;
|
|
151
154
|
}
|
|
152
|
-
return (e, n) => (
|
|
155
|
+
return (e, n) => (U(), V(_(B())));
|
|
153
156
|
}
|
|
154
157
|
});
|
|
155
158
|
export {
|
|
@@ -1,32 +1,16 @@
|
|
|
1
1
|
import { ApFieldTextAreaProps } from '../interface';
|
|
2
2
|
import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
|
|
3
|
-
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { FieldMode } from '..';
|
|
5
|
-
declare const _default: DefineComponent<
|
|
6
|
-
emptyText: string;
|
|
7
|
-
bordered: boolean;
|
|
8
|
-
mode: string;
|
|
9
|
-
type: string;
|
|
10
|
-
lazy: boolean;
|
|
11
|
-
allowClear: boolean;
|
|
12
|
-
disabled: undefined;
|
|
13
|
-
}>, {
|
|
5
|
+
declare const _default: DefineComponent<ApFieldTextAreaProps, {
|
|
14
6
|
focus: (options?: InputFocusOptions) => void;
|
|
15
7
|
blur: () => void;
|
|
16
8
|
resizableTextArea: ComputedRef<any>;
|
|
17
|
-
},
|
|
9
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
10
|
"update:value": (...args: any[]) => void;
|
|
19
|
-
}, string, PublicProps, Readonly<
|
|
20
|
-
emptyText: string;
|
|
21
|
-
bordered: boolean;
|
|
22
|
-
mode: string;
|
|
23
|
-
type: string;
|
|
24
|
-
lazy: boolean;
|
|
25
|
-
allowClear: boolean;
|
|
26
|
-
disabled: undefined;
|
|
27
|
-
}>>> & {
|
|
11
|
+
}, string, PublicProps, Readonly<ApFieldTextAreaProps> & Readonly<{
|
|
28
12
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
}
|
|
13
|
+
}>, {
|
|
30
14
|
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
31
15
|
mode: FieldMode;
|
|
32
16
|
disabled: boolean;
|
|
@@ -34,22 +18,5 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOpti
|
|
|
34
18
|
lazy: boolean;
|
|
35
19
|
allowClear: boolean;
|
|
36
20
|
emptyText: string;
|
|
37
|
-
}, {}>;
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
38
22
|
export default _default;
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
}> : P[K];
|
|
43
|
-
};
|
|
44
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
-
type __VLS_TypePropsToOption<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
type __VLS_PrettifyLocal<T> = {
|
|
54
|
-
[K in keyof T]: T[K];
|
|
55
|
-
} & {};
|
|
@@ -5,8 +5,8 @@ import "../../config-provider/index.mjs";
|
|
|
5
5
|
import { Input as g } from "@aplus-frontend/antdv";
|
|
6
6
|
import { useDefaultPlaceholder as T } from "../hooks/use-default-placeholder.mjs";
|
|
7
7
|
import { useControllableValue as k } from "../../hooks/useControllableValue.mjs";
|
|
8
|
-
import { useNamespace as
|
|
9
|
-
const
|
|
8
|
+
import { useNamespace as w } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
const S = /* @__PURE__ */ f({
|
|
10
10
|
name: "ApFieldTextArea",
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: {
|
|
@@ -29,6 +29,7 @@ const V = /* @__PURE__ */ f({
|
|
|
29
29
|
onInput: {},
|
|
30
30
|
onKeydown: {},
|
|
31
31
|
onKeyup: {},
|
|
32
|
+
onMousedown: {},
|
|
32
33
|
focused: { type: Boolean },
|
|
33
34
|
hidden: { type: Boolean },
|
|
34
35
|
disabled: { type: Boolean, default: void 0 },
|
|
@@ -48,6 +49,8 @@ const V = /* @__PURE__ */ f({
|
|
|
48
49
|
showCount: { type: [Boolean, Object] },
|
|
49
50
|
htmlSize: {},
|
|
50
51
|
onPressEnter: {},
|
|
52
|
+
onMouseUp: {},
|
|
53
|
+
onRawInput: {},
|
|
51
54
|
inputElement: {},
|
|
52
55
|
triggerFocus: {},
|
|
53
56
|
handleReset: {},
|
|
@@ -57,7 +60,7 @@ const V = /* @__PURE__ */ f({
|
|
|
57
60
|
},
|
|
58
61
|
emits: ["update:value"],
|
|
59
62
|
setup(u, { expose: p, emit: s }) {
|
|
60
|
-
const t = y(), l = u, d = s, { value: a, updateValue: i } = k(l, d), { b: m } =
|
|
63
|
+
const t = y(), l = u, d = s, { value: a, updateValue: i } = k(l, d), { b: m } = w("field-text-area"), c = T("TextArea", l);
|
|
61
64
|
return p({
|
|
62
65
|
focus: (e) => {
|
|
63
66
|
var n;
|
|
@@ -84,5 +87,5 @@ const V = /* @__PURE__ */ f({
|
|
|
84
87
|
}
|
|
85
88
|
});
|
|
86
89
|
export {
|
|
87
|
-
|
|
90
|
+
S as default
|
|
88
91
|
};
|