@aplus-frontend/ui 0.2.29 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +42 -40
- package/es/src/ap-action/group/index.vue.d.ts +3 -30
- package/es/src/ap-action/item/index.vue.d.ts +4 -36
- package/es/src/ap-action/item/index.vue2.mjs +27 -27
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +5 -39
- package/es/src/ap-action/item-modal/index.vue.d.ts +5 -33
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +5 -33
- package/es/src/ap-button/ap-action-button.vue.d.ts +5 -31
- package/es/src/ap-button/ap-button.vue.d.ts +5 -31
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +4 -12
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -15
- package/es/src/ap-download/ap-download.vue.d.ts +8 -31
- package/es/src/ap-field/checkbox/index.vue.d.ts +5 -32
- package/es/src/ap-field/date/index.vue.d.ts +7 -65
- package/es/src/ap-field/date-range/index.vue.d.ts +7 -67
- package/es/src/ap-field/hooks/use-options.d.ts +1 -1
- package/es/src/ap-field/number/index.vue.d.ts +12 -169
- package/es/src/ap-field/radio/index.vue.d.ts +6 -33
- package/es/src/ap-field/rate/index.vue.d.ts +12 -75
- package/es/src/ap-field/segmented/index.vue.d.ts +7 -33
- package/es/src/ap-field/select/index.vue.d.ts +12 -234
- package/es/src/ap-field/slider/index.vue.d.ts +12 -144
- package/es/src/ap-field/switch/index.vue.d.ts +7 -37
- package/es/src/ap-field/text/index.vue.d.ts +8 -40
- package/es/src/ap-field/text/password.vue.d.ts +9 -47
- package/es/src/ap-field/text-area/index.vue.d.ts +6 -39
- package/es/src/ap-form/ap-form.vue.d.ts +21 -274
- package/es/src/ap-form/dependency/index.vue.d.ts +4 -12
- package/es/src/ap-form/drawer-form/index.vue.d.ts +37 -536
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/item/index.vue.d.ts +37 -278
- package/es/src/ap-form/item-group/index.vue.d.ts +5 -29
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +5 -37
- package/es/src/ap-form/items/date/index.vue.d.ts +5 -37
- package/es/src/ap-form/items/date-range/index.vue.d.ts +5 -37
- package/es/src/ap-form/items/number/index.vue.d.ts +53 -510
- package/es/src/ap-form/items/radio/index.vue.d.ts +14 -219
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -38
- package/es/src/ap-form/items/switch/index.vue.d.ts +5 -39
- package/es/src/ap-form/items/text/group.vue.d.ts +5 -25
- package/es/src/ap-form/items/text/index.vue.d.ts +35 -522
- package/es/src/ap-form/items/text/password.vue.d.ts +44 -586
- package/es/src/ap-form/items/text-area/index.vue.d.ts +14 -507
- package/es/src/ap-form/list/index.vue.d.ts +4 -12
- package/es/src/ap-form/modal-form/index.vue.d.ts +37 -535
- package/es/src/ap-form/render/control.vue.d.ts +4 -12
- package/es/src/ap-form/render/item.vue.d.ts +5 -37
- package/es/src/ap-form/search-form/index.vue.d.ts +37 -532
- package/es/src/ap-form/set/index.vue.d.ts +5 -25
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +4 -12
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +5 -27
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +7 -29
- package/es/src/ap-list/index.vue.d.ts +4 -6
- package/es/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
- package/es/src/ap-scroll-bar/index.d.ts +7 -42
- package/es/src/ap-table/ap-table.vue.d.ts +3 -5
- package/es/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +5 -25
- package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
- package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +2 -11
- package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/es/src/ap-table/constants.d.ts +162 -13517
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +11 -3
- package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/es/src/ap-table/utils.d.ts +65 -7907
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +5 -29
- package/es/src/ap-tag/ap-tag-group.vue.mjs +88 -88
- package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/es/src/ap-upload/apUpload.vue.d.ts +9 -8
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/es/src/ap-upload/components/Picture.vue.d.ts +6 -10
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +2 -2
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +10 -10
- package/es/src/business/ap-appendix/index.d.ts +7 -108
- package/es/src/business/ap-attachment/ApAttachment.d.ts +5 -5
- package/es/src/business/ap-attachment/index.d.ts +7 -48
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +4 -12
- package/es/src/business/ap-batch-action/index.d.ts +5 -32
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +3 -11
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -14
- package/es/src/business/ap-batch-action-group/index.d.ts +590 -905
- package/es/src/business/ap-button-group/ApButtonGroup.vue.d.ts +2 -19
- package/es/src/business/ap-button-group/index.d.ts +5 -603
- package/es/src/business/ap-card/ApCard.vue.d.ts +4 -12
- package/es/src/business/ap-card/index.d.ts +5 -33
- package/es/src/business/ap-card/interface.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -10
- package/es/src/business/ap-expand-alert/index.d.ts +6 -8
- package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +3 -24
- package/es/src/business/ap-export-group/index.d.ts +7 -146
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +7 -29
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
- package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +2 -2
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +18 -18
- package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +34 -34
- package/es/src/business/ap-group-search/index.d.ts +711 -2447
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +10 -357
- package/es/src/business/ap-image/ApImage.vue.d.ts +5 -25
- package/es/src/business/ap-image/index.d.ts +7 -139
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +6 -31
- package/es/src/business/ap-input-radio/index.d.ts +14 -339
- package/es/src/business/ap-label/ApLabel.d.ts +5 -5
- package/es/src/business/ap-label/group/ApLabelGroup.d.ts +5 -5
- package/es/src/business/ap-label/index.d.ts +13 -90
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +5 -71
- package/es/src/business/ap-ladder/index.d.ts +7 -479
- package/es/src/business/ap-select-layout/index.d.ts +5 -7
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -12
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +58 -58
- package/es/src/business/ap-size-input/ApSizeInput.d.ts +84 -0
- package/es/src/business/ap-size-input/ApSizeInput.mjs +62 -0
- package/es/src/business/ap-size-input/constans.d.ts +38 -0
- package/es/src/business/ap-size-input/constans.mjs +40 -0
- package/es/src/business/ap-size-input/index.d.ts +155 -0
- package/es/src/business/ap-size-input/index.mjs +7 -0
- package/es/src/business/ap-size-input/interface.d.ts +11 -0
- package/es/src/business/ap-size-input/interface.mjs +1 -0
- package/es/src/business/ap-size-input/style/css.d.ts +0 -0
- package/es/src/business/ap-size-input/style/css.js +1 -0
- package/es/src/business/ap-size-input/style/index.d.ts +0 -0
- package/es/src/business/ap-size-input/style/index.js +1 -0
- package/es/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/es/src/business/ap-status/group/ApStatusGroup.vue.d.ts +3 -30
- package/es/src/business/ap-status/index.d.ts +12 -192
- package/es/src/business/ap-summary/ap-summary.vue.d.ts +3 -28
- package/es/src/business/ap-summary/index.d.ts +7 -87
- package/es/src/business/ap-table-modal/index.d.ts +15 -1056
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +6 -5
- package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +12 -37
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +8 -58
- package/es/src/business/ap-title/ApTitle.vue.d.ts +5 -33
- package/es/src/business/ap-title/index.d.ts +7 -110
- package/es/src/business/ap-title/interface.d.ts +4 -4
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +8 -31
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +2 -2
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +18 -18
- package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +10 -10
- package/es/src/business/batch-input-group/index.vue.d.ts +5 -38
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -0
- package/es/src/business/hooks/usePageListApTable.mjs +41 -33
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +20 -18
- package/es/src/check-card/group.vue.d.ts +7 -45
- package/es/src/check-card/index.vue.d.ts +7 -37
- package/es/src/config-provider/config-provider.d.ts +5 -5
- package/es/src/config-provider/index.d.ts +7 -256
- package/es/src/editable-table/form-item.vue.d.ts +5 -7
- package/es/src/editable-table/index.vue.d.ts +4 -8
- package/es/src/hooks/useControllableValue.d.ts +1 -1
- package/es/src/index.mjs +40 -38
- package/es/src/locale/lang/en.mjs +5 -0
- package/es/src/locale/lang/zh-cn.mjs +5 -0
- package/es/src/path-map.mjs +1 -0
- package/es/src/tests/wrapper.d.ts +6 -6
- package/es/src/utils/ap-trans-data/index.d.ts +1 -1
- package/es/src/utils/ap-trans-data/index.mjs +26 -14
- package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/lib/index.js +1 -1
- package/lib/src/ap-action/group/index.vue.d.ts +3 -30
- package/lib/src/ap-action/item/index.vue.d.ts +4 -36
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +5 -39
- package/lib/src/ap-action/item-modal/index.vue.d.ts +5 -33
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +5 -33
- package/lib/src/ap-button/ap-action-button.vue.d.ts +5 -31
- package/lib/src/ap-button/ap-button.vue.d.ts +5 -31
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +4 -12
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -15
- package/lib/src/ap-download/ap-download.vue.d.ts +8 -31
- package/lib/src/ap-field/checkbox/index.vue.d.ts +5 -32
- package/lib/src/ap-field/date/index.vue.d.ts +7 -65
- package/lib/src/ap-field/date-range/index.vue.d.ts +7 -67
- package/lib/src/ap-field/hooks/use-options.d.ts +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +12 -169
- package/lib/src/ap-field/radio/index.vue.d.ts +6 -33
- package/lib/src/ap-field/rate/index.vue.d.ts +12 -75
- package/lib/src/ap-field/segmented/index.vue.d.ts +7 -33
- package/lib/src/ap-field/select/index.vue.d.ts +12 -234
- package/lib/src/ap-field/slider/index.vue.d.ts +12 -144
- package/lib/src/ap-field/switch/index.vue.d.ts +7 -37
- package/lib/src/ap-field/text/index.vue.d.ts +8 -40
- package/lib/src/ap-field/text/password.vue.d.ts +9 -47
- package/lib/src/ap-field/text-area/index.vue.d.ts +6 -39
- package/lib/src/ap-form/ap-form.vue.d.ts +21 -274
- package/lib/src/ap-form/dependency/index.vue.d.ts +4 -12
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +37 -536
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/item/index.vue.d.ts +37 -278
- package/lib/src/ap-form/item-group/index.vue.d.ts +5 -29
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +5 -37
- package/lib/src/ap-form/items/date/index.vue.d.ts +5 -37
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +5 -37
- package/lib/src/ap-form/items/number/index.vue.d.ts +53 -510
- package/lib/src/ap-form/items/radio/index.vue.d.ts +14 -219
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -38
- package/lib/src/ap-form/items/switch/index.vue.d.ts +5 -39
- package/lib/src/ap-form/items/text/group.vue.d.ts +5 -25
- package/lib/src/ap-form/items/text/index.vue.d.ts +35 -522
- package/lib/src/ap-form/items/text/password.vue.d.ts +44 -586
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +14 -507
- package/lib/src/ap-form/list/index.vue.d.ts +4 -12
- package/lib/src/ap-form/modal-form/index.vue.d.ts +37 -535
- package/lib/src/ap-form/render/control.vue.d.ts +4 -12
- package/lib/src/ap-form/render/item.vue.d.ts +5 -37
- package/lib/src/ap-form/search-form/index.vue.d.ts +37 -532
- package/lib/src/ap-form/set/index.vue.d.ts +5 -25
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +4 -12
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +5 -27
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +7 -29
- package/lib/src/ap-list/index.vue.d.ts +4 -6
- package/lib/src/ap-scroll-bar/ap-scroll-bar.vue.d.ts +3 -24
- package/lib/src/ap-scroll-bar/index.d.ts +7 -42
- package/lib/src/ap-table/ap-table.vue.d.ts +3 -5
- package/lib/src/ap-table/components/index/index.vue.d.ts +3 -24
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +5 -25
- package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +6 -15
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +5 -14
- package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +2 -11
- package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
- package/lib/src/ap-table/constants.d.ts +162 -13517
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +11 -3
- package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
- package/lib/src/ap-table/utils.d.ts +65 -7907
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +5 -29
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
- package/lib/src/ap-upload/apUpload.vue.d.ts +9 -8
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
- package/lib/src/ap-upload/components/Picture.vue.d.ts +6 -10
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +6 -29
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +2 -2
- package/lib/src/business/ap-appendix/icons/file-icon.vue.js +1 -1
- package/lib/src/business/ap-appendix/index.d.ts +7 -108
- package/lib/src/business/ap-attachment/ApAttachment.d.ts +5 -5
- package/lib/src/business/ap-attachment/index.d.ts +7 -48
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +4 -12
- package/lib/src/business/ap-batch-action/index.d.ts +5 -32
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +3 -11
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -14
- package/lib/src/business/ap-batch-action-group/index.d.ts +590 -905
- package/lib/src/business/ap-button-group/ApButtonGroup.vue.d.ts +2 -19
- package/lib/src/business/ap-button-group/index.d.ts +5 -603
- package/lib/src/business/ap-card/ApCard.vue.d.ts +4 -12
- package/lib/src/business/ap-card/index.d.ts +5 -33
- package/lib/src/business/ap-card/interface.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -10
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -8
- package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +3 -24
- package/lib/src/business/ap-export-group/index.d.ts +7 -146
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +7 -29
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +9 -356
- package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +2 -2
- package/lib/src/business/ap-group-search/images/icon-down.vue.js +1 -1
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +2 -2
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.js +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +711 -2447
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +10 -357
- package/lib/src/business/ap-image/ApImage.vue.d.ts +5 -25
- package/lib/src/business/ap-image/index.d.ts +7 -139
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +6 -31
- package/lib/src/business/ap-input-radio/index.d.ts +14 -339
- package/lib/src/business/ap-label/ApLabel.d.ts +5 -5
- package/lib/src/business/ap-label/group/ApLabelGroup.d.ts +5 -5
- package/lib/src/business/ap-label/index.d.ts +13 -90
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +5 -71
- package/lib/src/business/ap-ladder/index.d.ts +7 -479
- package/lib/src/business/ap-select-layout/index.d.ts +5 -7
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -12
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-size-input/ApSizeInput.d.ts +84 -0
- package/lib/src/business/ap-size-input/ApSizeInput.js +1 -0
- package/lib/src/business/ap-size-input/constans.d.ts +38 -0
- package/lib/src/business/ap-size-input/constans.js +1 -0
- package/lib/src/business/ap-size-input/index.d.ts +155 -0
- package/lib/src/business/ap-size-input/index.js +1 -0
- package/lib/src/business/ap-size-input/interface.d.ts +11 -0
- package/lib/src/business/ap-size-input/interface.js +1 -0
- package/lib/src/business/ap-size-input/style/css.d.ts +0 -0
- package/lib/src/business/ap-size-input/style/css.js +1 -0
- package/lib/src/business/ap-size-input/style/index.d.ts +0 -0
- package/lib/src/business/ap-size-input/style/index.js +1 -0
- package/lib/src/business/ap-status/ApStatus.vue.d.ts +3 -28
- package/lib/src/business/ap-status/group/ApStatusGroup.vue.d.ts +3 -30
- package/lib/src/business/ap-status/index.d.ts +12 -192
- package/lib/src/business/ap-summary/ap-summary.vue.d.ts +3 -28
- package/lib/src/business/ap-summary/index.d.ts +7 -87
- package/lib/src/business/ap-table-modal/index.d.ts +15 -1056
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +6 -5
- package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +12 -37
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +8 -58
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +5 -33
- package/lib/src/business/ap-title/index.d.ts +7 -110
- package/lib/src/business/ap-title/interface.d.ts +4 -4
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +8 -31
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +2 -2
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.js +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +2 -2
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +5 -38
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +4 -13
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -0
- package/lib/src/business/hooks/usePageListApTable.js +1 -1
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +7 -45
- package/lib/src/check-card/index.vue.d.ts +7 -37
- package/lib/src/config-provider/config-provider.d.ts +5 -5
- package/lib/src/config-provider/index.d.ts +7 -256
- package/lib/src/editable-table/form-item.vue.d.ts +5 -7
- package/lib/src/editable-table/index.vue.d.ts +4 -8
- package/lib/src/hooks/useControllableValue.d.ts +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/tests/wrapper.d.ts +6 -6
- package/lib/src/utils/ap-trans-data/index.d.ts +1 -1
- package/lib/src/utils/ap-trans-data/index.js +1 -1
- package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
- package/lib/src/work-order-modal/help-message.vue2.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
- package/package.json +8 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as O, ref as r, computed as U, onMounted as W, openBlock as f, createElementBlock as p, normalizeClass as o, unref as t, createVNode as d, Transition as z, withCtx as c, withDirectives as E, createElementVNode as s, toDisplayString as $, createTextVNode as x, Fragment as R, renderList as _, renderSlot as A, vShow as N, createCommentVNode as j } from "vue";
|
|
2
2
|
import "../../ap-field/index.mjs";
|
|
3
3
|
import { IconApLeftarrow as G, IconApMenu as H } from "@aplus-frontend/icon";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -6,7 +6,7 @@ import { Tooltip as V, TypographyText as J } from "@aplus-frontend/antdv";
|
|
|
6
6
|
import { debounce as K } from "lodash-unified";
|
|
7
7
|
import { useNamespace as P } from "../../config-provider/hooks/use-namespace.mjs";
|
|
8
8
|
import { ApFieldText as Q } from "../../ap-field/text/index.mjs";
|
|
9
|
-
const X = ["onClick"], re = /* @__PURE__ */
|
|
9
|
+
const X = ["onClick"], re = /* @__PURE__ */ O({
|
|
10
10
|
__name: "select-layout",
|
|
11
11
|
props: {
|
|
12
12
|
title: {},
|
|
@@ -15,86 +15,86 @@ const X = ["onClick"], re = /* @__PURE__ */ M({
|
|
|
15
15
|
defaultFold: { type: Boolean, default: !1 }
|
|
16
16
|
},
|
|
17
17
|
emits: ["onSelect", "afterEnter", "afterLeave"],
|
|
18
|
-
setup(
|
|
19
|
-
const { b: m, be: h, bem: i } = P("ap-select-layout"), a =
|
|
18
|
+
setup(w, { emit: B }) {
|
|
19
|
+
const { b: m, be: h, bem: i } = P("ap-select-layout"), a = w, y = B, C = r(), v = r(a.defaultFold), g = r(!a.defaultFold), S = r(), T = r(), b = r(), k = r(""), L = () => {
|
|
20
20
|
v.value = !v.value, S.value = !1, T.value = !1;
|
|
21
|
-
}, F = (
|
|
22
|
-
b.value =
|
|
23
|
-
},
|
|
21
|
+
}, F = (n) => {
|
|
22
|
+
b.value = n, y("onSelect", n);
|
|
23
|
+
}, q = K((n) => {
|
|
24
|
+
var e;
|
|
25
|
+
k.value = (e = n.target) == null ? void 0 : e.value;
|
|
26
|
+
}, 500), D = U(() => {
|
|
24
27
|
var n;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return (t = C.value) == null ? void 0 : t.filter((n) => {
|
|
29
|
-
var c, l;
|
|
30
|
-
return a != null && a.onSearch ? (c = a.onSearch) == null ? void 0 : c.call(a, n, k.value) : (l = n == null ? void 0 : n.name) == null ? void 0 : l.includes(k.value);
|
|
28
|
+
return (n = C.value) == null ? void 0 : n.filter((e) => {
|
|
29
|
+
var u, l;
|
|
30
|
+
return a != null && a.onSearch ? (u = a.onSearch) == null ? void 0 : u.call(a, e, k.value) : (l = e == null ? void 0 : e.name) == null ? void 0 : l.includes(k.value);
|
|
31
31
|
});
|
|
32
|
-
}),
|
|
33
|
-
g.value = !0, y("afterEnter",
|
|
34
|
-
},
|
|
35
|
-
g.value = !1, y("afterLeave",
|
|
32
|
+
}), I = (n) => {
|
|
33
|
+
g.value = !0, y("afterEnter", n);
|
|
34
|
+
}, M = (n) => {
|
|
35
|
+
g.value = !1, y("afterLeave", n);
|
|
36
36
|
};
|
|
37
|
-
return
|
|
38
|
-
a.request().then((
|
|
39
|
-
var
|
|
40
|
-
C.value =
|
|
37
|
+
return W(() => {
|
|
38
|
+
a.request().then((n) => {
|
|
39
|
+
var e;
|
|
40
|
+
C.value = n, F((e = C.value) == null ? void 0 : e[0]);
|
|
41
41
|
});
|
|
42
|
-
}), (
|
|
43
|
-
var
|
|
42
|
+
}), (n, e) => {
|
|
43
|
+
var u;
|
|
44
44
|
return f(), p("div", {
|
|
45
|
-
class: o(
|
|
45
|
+
class: o(t(m)())
|
|
46
46
|
}, [
|
|
47
|
-
d(
|
|
47
|
+
d(z, {
|
|
48
48
|
mode: "out-in",
|
|
49
|
-
onAfterEnter:
|
|
50
|
-
onAfterLeave:
|
|
49
|
+
onAfterEnter: I,
|
|
50
|
+
onAfterLeave: M
|
|
51
51
|
}, {
|
|
52
|
-
default:
|
|
52
|
+
default: c(() => [
|
|
53
53
|
E(s("div", {
|
|
54
|
-
class: o(
|
|
54
|
+
class: o(t(m)("side"))
|
|
55
55
|
}, [
|
|
56
56
|
s("div", {
|
|
57
|
-
class: o(
|
|
57
|
+
class: o(t(h)("side", "header"))
|
|
58
58
|
}, [
|
|
59
59
|
s("h3", null, $(a.title), 1),
|
|
60
60
|
s("div", {
|
|
61
|
-
class: o(
|
|
61
|
+
class: o(t(i)("side", "header", "imgWrap"))
|
|
62
62
|
}, [
|
|
63
|
-
d(
|
|
63
|
+
d(t(V), {
|
|
64
64
|
open: S.value,
|
|
65
|
-
"onUpdate:open":
|
|
65
|
+
"onUpdate:open": e[0] || (e[0] = (l) => S.value = l)
|
|
66
66
|
}, {
|
|
67
|
-
title:
|
|
67
|
+
title: c(() => e[2] || (e[2] = [
|
|
68
68
|
x("收起")
|
|
69
|
-
]),
|
|
70
|
-
default:
|
|
71
|
-
d(
|
|
69
|
+
])),
|
|
70
|
+
default: c(() => [
|
|
71
|
+
d(t(G), { onClick: L })
|
|
72
72
|
]),
|
|
73
73
|
_: 1
|
|
74
74
|
}, 8, ["open"])
|
|
75
75
|
], 2)
|
|
76
76
|
], 2),
|
|
77
77
|
s("div", {
|
|
78
|
-
class: o(
|
|
78
|
+
class: o(t(h)("side", "body"))
|
|
79
79
|
}, [
|
|
80
80
|
s("div", {
|
|
81
|
-
class: o(
|
|
81
|
+
class: o(t(i)("side", "body", "search"))
|
|
82
82
|
}, [
|
|
83
|
-
d(
|
|
83
|
+
d(t(Q), {
|
|
84
84
|
placeholder: "请输入",
|
|
85
|
-
onChange:
|
|
85
|
+
onChange: t(q)
|
|
86
86
|
}, null, 8, ["onChange"])
|
|
87
87
|
], 2),
|
|
88
88
|
s("div", {
|
|
89
|
-
class: o(
|
|
89
|
+
class: o(t(i)("side", "body", "scroll"))
|
|
90
90
|
}, [
|
|
91
|
-
(f(!0), p(
|
|
91
|
+
(f(!0), p(R, null, _(D.value, (l) => E((f(), p("div", {
|
|
92
92
|
key: l.value,
|
|
93
|
-
class: o(`${
|
|
93
|
+
class: o(`${t(i)("side", "body", "scroll-item")} ${b.value === l ? "active" : ""}`),
|
|
94
94
|
onClick: (Y) => F(l)
|
|
95
95
|
}, [
|
|
96
|
-
A(
|
|
97
|
-
d(
|
|
96
|
+
A(n.$slots, "itemRender", { item: l }, () => [
|
|
97
|
+
d(t(J), {
|
|
98
98
|
ellipsis: { tooltip: l.name },
|
|
99
99
|
content: `${l.name}`
|
|
100
100
|
}, null, 8, ["ellipsis", "content"])
|
|
@@ -111,33 +111,33 @@ const X = ["onClick"], re = /* @__PURE__ */ M({
|
|
|
111
111
|
_: 3
|
|
112
112
|
}),
|
|
113
113
|
s("div", {
|
|
114
|
-
class: o(
|
|
114
|
+
class: o(t(m)("content"))
|
|
115
115
|
}, [
|
|
116
116
|
s("div", {
|
|
117
|
-
class: o(
|
|
117
|
+
class: o(t(h)("content", "header"))
|
|
118
118
|
}, [
|
|
119
119
|
v.value ? (f(), p("div", {
|
|
120
120
|
key: 0,
|
|
121
|
-
class: o(
|
|
121
|
+
class: o(t(i)("content", "header", "imgWrap"))
|
|
122
122
|
}, [
|
|
123
|
-
d(
|
|
123
|
+
d(t(V), {
|
|
124
124
|
open: T.value,
|
|
125
|
-
"onUpdate:open":
|
|
125
|
+
"onUpdate:open": e[1] || (e[1] = (l) => T.value = l)
|
|
126
126
|
}, {
|
|
127
|
-
title:
|
|
127
|
+
title: c(() => e[3] || (e[3] = [
|
|
128
128
|
x("展开")
|
|
129
|
-
]),
|
|
130
|
-
default:
|
|
131
|
-
d(
|
|
129
|
+
])),
|
|
130
|
+
default: c(() => [
|
|
131
|
+
d(t(H), { onClick: L })
|
|
132
132
|
]),
|
|
133
133
|
_: 1
|
|
134
134
|
}, 8, ["open"])
|
|
135
135
|
], 2)) : j("", !0),
|
|
136
136
|
s("div", {
|
|
137
|
-
class: o(
|
|
138
|
-
}, $((
|
|
137
|
+
class: o(t(i)("content", "header", "title"))
|
|
138
|
+
}, $((u = b.value) == null ? void 0 : u.name), 3)
|
|
139
139
|
], 2),
|
|
140
|
-
A(
|
|
140
|
+
A(n.$slots, "default")
|
|
141
141
|
], 2)
|
|
142
142
|
], 2);
|
|
143
143
|
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
value: {
|
|
4
|
+
type: PropType<Array<string | number>>;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
placeholder: {
|
|
8
|
+
type: PropType<Array<string>>;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
step: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
editable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
perfix: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
onSizeInputChange: {
|
|
24
|
+
type: PropType<(value: Array<string | number>) => void>;
|
|
25
|
+
};
|
|
26
|
+
min: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
max: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
precision: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
39
|
+
value: {
|
|
40
|
+
type: PropType<Array<string | number>>;
|
|
41
|
+
default: () => never[];
|
|
42
|
+
};
|
|
43
|
+
placeholder: {
|
|
44
|
+
type: PropType<Array<string>>;
|
|
45
|
+
default: () => never[];
|
|
46
|
+
};
|
|
47
|
+
step: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
editable: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
perfix: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
onSizeInputChange: {
|
|
60
|
+
type: PropType<(value: Array<string | number>) => void>;
|
|
61
|
+
};
|
|
62
|
+
min: {
|
|
63
|
+
type: NumberConstructor;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
max: {
|
|
67
|
+
type: NumberConstructor;
|
|
68
|
+
default: number;
|
|
69
|
+
};
|
|
70
|
+
precision: {
|
|
71
|
+
type: NumberConstructor;
|
|
72
|
+
default: number;
|
|
73
|
+
};
|
|
74
|
+
}>> & Readonly<{}>, {
|
|
75
|
+
value: (string | number)[];
|
|
76
|
+
placeholder: string[];
|
|
77
|
+
max: number;
|
|
78
|
+
min: number;
|
|
79
|
+
editable: boolean;
|
|
80
|
+
step: number;
|
|
81
|
+
precision: number;
|
|
82
|
+
perfix: string;
|
|
83
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
84
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent as x, toRaw as f, createVNode as l } from "vue";
|
|
2
|
+
import { ApSizeInputProps as g } from "./constans.mjs";
|
|
3
|
+
import "../../ap-field/number/index.vue2.mjs";
|
|
4
|
+
import { Form as r, Space as I } from "@aplus-frontend/antdv";
|
|
5
|
+
import "../../config-provider/index.mjs";
|
|
6
|
+
import { useNamespace as C } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
|
+
import { useLocale as v } from "../../config-provider/hooks/use-locale.mjs";
|
|
8
|
+
import d from "../../ap-field/number/index.vue.mjs";
|
|
9
|
+
const V = /* @__PURE__ */ x({
|
|
10
|
+
name: "ApSizeInput",
|
|
11
|
+
props: g(),
|
|
12
|
+
setup(e, {
|
|
13
|
+
emit: u
|
|
14
|
+
}) {
|
|
15
|
+
const {
|
|
16
|
+
b: h
|
|
17
|
+
} = C("ap-size-input"), {
|
|
18
|
+
t: m
|
|
19
|
+
} = v(), o = r.useInjectFormItemContext(), c = (t, i) => {
|
|
20
|
+
const a = e.value;
|
|
21
|
+
a[t] = i, u("update:value", a), u("SizeInputChange", f(a)), o.onFieldChange();
|
|
22
|
+
};
|
|
23
|
+
return () => l(I, {
|
|
24
|
+
class: [h()]
|
|
25
|
+
}, {
|
|
26
|
+
default: () => {
|
|
27
|
+
var t, i, a;
|
|
28
|
+
return [l(d, {
|
|
29
|
+
mode: e.editable ? "edit" : "read",
|
|
30
|
+
value: (t = e.value) == null ? void 0 : t[0],
|
|
31
|
+
placeholder: e.placeholder && e.placeholder.length >= 3 ? e.placeholder[0] : m("ap.apSizeInput.length"),
|
|
32
|
+
precision: e.precision ? e.precision : 2,
|
|
33
|
+
min: e.min ? e.min : 1,
|
|
34
|
+
max: e.max ? e.max : 999.99,
|
|
35
|
+
onChange: (n) => c(0, n),
|
|
36
|
+
step: e.step ? e.step : 1
|
|
37
|
+
}, null), e.perfix, l(d, {
|
|
38
|
+
mode: e.editable ? "edit" : "read",
|
|
39
|
+
value: (i = e.value) == null ? void 0 : i[1],
|
|
40
|
+
placeholder: e.placeholder && e.placeholder.length >= 3 ? e.placeholder[1] : m("ap.apSizeInput.width"),
|
|
41
|
+
precision: e.precision ? e.precision : 2,
|
|
42
|
+
min: e.min ? e.min : 1,
|
|
43
|
+
max: e.max ? e.max : 999.99,
|
|
44
|
+
onChange: (n) => c(1, n),
|
|
45
|
+
step: e.step ? e.step : 1
|
|
46
|
+
}, null), e.perfix, l(d, {
|
|
47
|
+
mode: e.editable ? "edit" : "read",
|
|
48
|
+
value: (a = e.value) == null ? void 0 : a[2],
|
|
49
|
+
placeholder: e.placeholder && e.placeholder.length >= 3 ? e.placeholder[2] : m("ap.apSizeInput.height"),
|
|
50
|
+
precision: e.precision ? e.precision : 2,
|
|
51
|
+
min: e.min ? e.min : 1,
|
|
52
|
+
max: e.max ? e.max : 999.99,
|
|
53
|
+
onChange: (n) => c(2, n),
|
|
54
|
+
step: e.step ? e.step : 1
|
|
55
|
+
}, null)];
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
V as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const ApSizeInputProps: () => {
|
|
3
|
+
value: {
|
|
4
|
+
type: PropType<Array<string | number>>;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
placeholder: {
|
|
8
|
+
type: PropType<Array<string>>;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
step: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
editable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
perfix: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
onSizeInputChange: {
|
|
24
|
+
type: PropType<(value: Array<string | number>) => void>;
|
|
25
|
+
};
|
|
26
|
+
min: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
max: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
precision: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
default: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const e = () => ({
|
|
2
|
+
value: {
|
|
3
|
+
type: Array,
|
|
4
|
+
default: () => []
|
|
5
|
+
},
|
|
6
|
+
placeholder: {
|
|
7
|
+
type: Array,
|
|
8
|
+
default: () => []
|
|
9
|
+
},
|
|
10
|
+
step: {
|
|
11
|
+
type: Number,
|
|
12
|
+
default: 1
|
|
13
|
+
},
|
|
14
|
+
editable: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !0
|
|
17
|
+
},
|
|
18
|
+
perfix: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "x"
|
|
21
|
+
},
|
|
22
|
+
onSizeInputChange: {
|
|
23
|
+
type: Function
|
|
24
|
+
},
|
|
25
|
+
min: {
|
|
26
|
+
type: Number,
|
|
27
|
+
default: 0
|
|
28
|
+
},
|
|
29
|
+
max: {
|
|
30
|
+
type: Number,
|
|
31
|
+
default: 100
|
|
32
|
+
},
|
|
33
|
+
precision: {
|
|
34
|
+
type: Number,
|
|
35
|
+
default: 2
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
e as ApSizeInputProps
|
|
40
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
2
|
+
export * from './interface';
|
|
3
|
+
declare const ApSizeInput: {
|
|
4
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
5
|
+
value: {
|
|
6
|
+
type: PropType<Array<string | number>>;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
placeholder: {
|
|
10
|
+
type: PropType<Array<string>>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
step: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
editable: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
perfix: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
onSizeInputChange: {
|
|
26
|
+
type: PropType<(value: Array<string | number>) => void>;
|
|
27
|
+
};
|
|
28
|
+
min: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
max: {
|
|
33
|
+
type: NumberConstructor;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
precision: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
41
|
+
value: (string | number)[];
|
|
42
|
+
placeholder: string[];
|
|
43
|
+
max: number;
|
|
44
|
+
min: number;
|
|
45
|
+
editable: boolean;
|
|
46
|
+
step: number;
|
|
47
|
+
precision: number;
|
|
48
|
+
perfix: string;
|
|
49
|
+
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
50
|
+
P: {};
|
|
51
|
+
B: {};
|
|
52
|
+
D: {};
|
|
53
|
+
C: {};
|
|
54
|
+
M: {};
|
|
55
|
+
Defaults: {};
|
|
56
|
+
}, Readonly< ExtractPropTypes<{
|
|
57
|
+
value: {
|
|
58
|
+
type: PropType<Array<string | number>>;
|
|
59
|
+
default: () => never[];
|
|
60
|
+
};
|
|
61
|
+
placeholder: {
|
|
62
|
+
type: PropType<Array<string>>;
|
|
63
|
+
default: () => never[];
|
|
64
|
+
};
|
|
65
|
+
step: {
|
|
66
|
+
type: NumberConstructor;
|
|
67
|
+
default: number;
|
|
68
|
+
};
|
|
69
|
+
editable: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
perfix: {
|
|
74
|
+
type: StringConstructor;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
onSizeInputChange: {
|
|
78
|
+
type: PropType<(value: Array<string | number>) => void>;
|
|
79
|
+
};
|
|
80
|
+
min: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
84
|
+
max: {
|
|
85
|
+
type: NumberConstructor;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
precision: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
93
|
+
value: (string | number)[];
|
|
94
|
+
placeholder: string[];
|
|
95
|
+
max: number;
|
|
96
|
+
min: number;
|
|
97
|
+
editable: boolean;
|
|
98
|
+
step: number;
|
|
99
|
+
precision: number;
|
|
100
|
+
perfix: string;
|
|
101
|
+
}>;
|
|
102
|
+
__isFragment?: never;
|
|
103
|
+
__isTeleport?: never;
|
|
104
|
+
__isSuspense?: never;
|
|
105
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
106
|
+
value: {
|
|
107
|
+
type: PropType<Array<string | number>>;
|
|
108
|
+
default: () => never[];
|
|
109
|
+
};
|
|
110
|
+
placeholder: {
|
|
111
|
+
type: PropType<Array<string>>;
|
|
112
|
+
default: () => never[];
|
|
113
|
+
};
|
|
114
|
+
step: {
|
|
115
|
+
type: NumberConstructor;
|
|
116
|
+
default: number;
|
|
117
|
+
};
|
|
118
|
+
editable: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
perfix: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
onSizeInputChange: {
|
|
127
|
+
type: PropType<(value: Array<string | number>) => void>;
|
|
128
|
+
};
|
|
129
|
+
min: {
|
|
130
|
+
type: NumberConstructor;
|
|
131
|
+
default: number;
|
|
132
|
+
};
|
|
133
|
+
max: {
|
|
134
|
+
type: NumberConstructor;
|
|
135
|
+
default: number;
|
|
136
|
+
};
|
|
137
|
+
precision: {
|
|
138
|
+
type: NumberConstructor;
|
|
139
|
+
default: number;
|
|
140
|
+
};
|
|
141
|
+
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
142
|
+
value: (string | number)[];
|
|
143
|
+
placeholder: string[];
|
|
144
|
+
max: number;
|
|
145
|
+
min: number;
|
|
146
|
+
editable: boolean;
|
|
147
|
+
step: number;
|
|
148
|
+
precision: number;
|
|
149
|
+
perfix: string;
|
|
150
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
|
|
151
|
+
$props: {
|
|
152
|
+
onClick?: () => void;
|
|
153
|
+
};
|
|
154
|
+
}));
|
|
155
|
+
export { ApSizeInput };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type ApSizeInputProps = {
|
|
2
|
+
value?: Array<string | number>;
|
|
3
|
+
placeholder?: Array<string>;
|
|
4
|
+
step?: number;
|
|
5
|
+
editable?: boolean;
|
|
6
|
+
perfix?: string;
|
|
7
|
+
onSizeInputChange?: (value: Array<string | number>) => void;
|
|
8
|
+
min?: number;
|
|
9
|
+
max?: number;
|
|
10
|
+
precision?: number;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@aplus-frontend/ui-theme/dist/ap-size-input/ap-size-input.css';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@aplus-frontend/ui-theme/src/ap-size-input/ap-size-input.less';
|
|
@@ -1,33 +1,8 @@
|
|
|
1
1
|
import { ApStatusProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
-
declare const _default: DefineComponent<
|
|
4
|
-
color: string;
|
|
5
|
-
padding: number;
|
|
6
|
-
show: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApStatusProps>, {
|
|
8
|
-
color: string;
|
|
9
|
-
padding: number;
|
|
10
|
-
show: boolean;
|
|
11
|
-
}>>>, {
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<ApStatusProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApStatusProps> & Readonly<{}>, {
|
|
12
4
|
color: string;
|
|
13
5
|
show: boolean;
|
|
14
6
|
padding: number;
|
|
15
|
-
}, {}>;
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16
8
|
export default _default;
|
|
17
|
-
type __VLS_WithDefaults<P, D> = {
|
|
18
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
19
|
-
default: D[K];
|
|
20
|
-
}> : P[K];
|
|
21
|
-
};
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToOption<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_PrettifyLocal<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|