@aplus-frontend/ui 6.19.0 → 6.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +2 -31
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +7 -11
- package/es/src/ap-button/ap-button.vue.mjs +20 -24
- package/es/src/ap-button/ap-confirm-button.vue.mjs +11 -15
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +18 -21
- package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +13 -13
- package/es/src/ap-field/date-range/index.vue.mjs +16 -16
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.d.ts +29 -29
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.d.ts +4 -4
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +12 -17
- package/es/src/ap-field/select/index.vue.d.ts +97 -97
- package/es/src/ap-field/select/index.vue.mjs +10 -10
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.d.ts +8 -8
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/es/src/ap-field/text-area/index.vue.mjs +12 -12
- package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/es/src/ap-field/tree-select/index.vue.mjs +19 -19
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +15 -14
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +19 -18
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +107 -107
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +20 -48
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +10 -29
- package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
- package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
- package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +19 -18
- package/es/src/ap-form/search-form/index.vue.mjs +1 -1
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.mjs +40 -40
- package/es/src/ap-list/index.vue.d.ts +4 -2
- package/es/src/ap-list/index.vue.mjs +1 -1
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/ap-table.vue2.mjs +14 -13
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +332 -332
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +30 -46
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +3 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +11 -33
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +212 -398
- package/es/src/business/ap-draggable-grid/constans.mjs +1 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +5 -2
- package/es/src/business/ap-draggable-grid/interface.d.ts +3 -2
- package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
- package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.mjs +14 -0
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
- package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
- package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/index.d.ts +5 -17
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +11 -10
- package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +11 -10
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
- package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
- package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/config-provider-props.d.ts +5 -4
- package/es/src/config-provider/config-provider.d.ts +9 -8
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -4
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/config-provider/index.d.ts +14 -13
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/form-item.vue.mjs +38 -37
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.mjs +16 -15
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/splitter/Panel.vue2.mjs +4 -4
- package/es/src/splitter/SplitBar.vue2.mjs +7 -7
- package/es/src/splitter/Splitter.vue2.mjs +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +5 -5
- package/es/src/utils/config-provider-preset.d.ts +6 -5
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +11 -10
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +2 -31
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-button/ap-button.vue.js +1 -1
- package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
- package/lib/src/ap-download/ap-download.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/index.js +1 -1
- package/lib/src/ap-field/number/index.vue.d.ts +29 -29
- package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +97 -97
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
- package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
- package/lib/src/ap-field/tree-select/index.vue.js +1 -1
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +15 -14
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +19 -18
- package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
- package/lib/src/ap-form/items/select/index.vue.d.ts +107 -107
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
- package/lib/src/ap-form/modal-form/index.vue.d.ts +20 -48
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +10 -29
- package/lib/src/ap-form/search-form/index.vue.d.ts +19 -18
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +332 -332
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-tag/ap-tag.vue.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
- package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +11 -33
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
- package/lib/src/business/ap-draggable-grid/constans.js +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +5 -2
- package/lib/src/business/ap-draggable-grid/interface.d.ts +3 -2
- package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
- package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.js +1 -0
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/business/ap-table-modal/index.d.ts +5 -17
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +11 -10
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +11 -10
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
- package/lib/src/config-provider/config-provider-props.d.ts +5 -4
- package/lib/src/config-provider/config-provider.d.ts +9 -8
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -4
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/config-provider/index.d.ts +14 -13
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/config-provider-preset.d.ts +6 -5
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +11 -10
- package/package.json +1 -1
- package/theme/antd-global-overwrite/admin/alert.css +37 -0
- package/theme/antd-global-overwrite/admin/alert.less +51 -0
- package/theme/antd-global-overwrite/admin/button.css +27 -0
- package/theme/antd-global-overwrite/admin/button.less +31 -0
- package/theme/antd-global-overwrite/admin/field.css +42 -0
- package/theme/antd-global-overwrite/admin/field.less +43 -0
- package/theme/antd-global-overwrite/admin/form.css +57 -0
- package/theme/antd-global-overwrite/admin/form.less +97 -0
- package/theme/antd-global-overwrite/admin/message.css +10 -0
- package/theme/antd-global-overwrite/admin/message.less +13 -0
- package/theme/antd-global-overwrite/admin/modal.css +94 -0
- package/theme/antd-global-overwrite/admin/modal.less +128 -0
- package/theme/antd-global-overwrite/admin/pagination.css +122 -0
- package/theme/antd-global-overwrite/admin/pagination.less +91 -0
- package/theme/antd-global-overwrite/admin/steps.css +127 -0
- package/theme/antd-global-overwrite/admin/steps.less +197 -0
- package/theme/antd-global-overwrite/admin/table.css +78 -0
- package/theme/antd-global-overwrite/admin/table.less +62 -0
- package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
- package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
- package/theme/antd-global-overwrite/aplus/alert.css +40 -0
- package/theme/antd-global-overwrite/aplus/alert.less +55 -0
- package/theme/antd-global-overwrite/aplus/button.css +27 -0
- package/theme/antd-global-overwrite/aplus/button.less +31 -0
- package/theme/antd-global-overwrite/aplus/field.css +42 -0
- package/theme/antd-global-overwrite/aplus/field.less +43 -0
- package/theme/antd-global-overwrite/aplus/form.css +87 -0
- package/theme/antd-global-overwrite/aplus/form.less +133 -0
- package/theme/antd-global-overwrite/aplus/message.css +10 -0
- package/theme/antd-global-overwrite/aplus/message.less +13 -0
- package/theme/antd-global-overwrite/aplus/modal.css +87 -0
- package/theme/antd-global-overwrite/aplus/modal.less +120 -0
- package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
- package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
- package/theme/antd-global-overwrite/aplus/steps.css +125 -0
- package/theme/antd-global-overwrite/aplus/steps.less +198 -0
- package/theme/antd-global-overwrite/aplus/table.css +78 -0
- package/theme/antd-global-overwrite/aplus/table.less +61 -0
- package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
- package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
- package/theme/ap-draggable-grid/ap-draggable-grid.css +3 -3
- package/theme/ap-draggable-grid/ap-draggable-grid.less +3 -4
- package/theme/ap-table/ap-table-pagination.css +12 -0
- package/theme/ap-table/ap-table-pagination.less +14 -0
- package/theme/ap-tag/ap-tag.css +4 -3
- package/theme/ap-tag/ap-tag.less +4 -3
- package/theme/index.css +7 -6
- package/theme/ui-mode.css +60 -0
- package/theme/ui-mode.less +109 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
|
|
2
2
|
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
|
|
3
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
|
-
import { SizeType, ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
|
|
3
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
|
|
5
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
6
5
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
6
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
7
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
9
8
|
import { Recordable } from '../../type';
|
|
10
9
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
10
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
|
+
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
13
14
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -27,7 +28,7 @@ declare function __VLS_template(): {
|
|
|
27
28
|
$: ComponentInternalInstance;
|
|
28
29
|
$data: {};
|
|
29
30
|
$props: {
|
|
30
|
-
readonly size?:
|
|
31
|
+
readonly size?: "small" | "large" | "middle" | undefined;
|
|
31
32
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
32
33
|
readonly layout?: string | undefined;
|
|
33
34
|
readonly disabled?: boolean | undefined;
|
|
@@ -117,7 +118,7 @@ declare function __VLS_template(): {
|
|
|
117
118
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
118
119
|
readonly initialValues?: Recordable | undefined;
|
|
119
120
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
120
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
121
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
121
122
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
122
123
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
123
124
|
$attrs: {
|
|
@@ -322,8 +323,8 @@ declare function __VLS_template(): {
|
|
|
322
323
|
default: string | string[];
|
|
323
324
|
};
|
|
324
325
|
size: {
|
|
325
|
-
type: PropType<
|
|
326
|
-
default:
|
|
326
|
+
type: PropType<SizeType>;
|
|
327
|
+
default: SizeType;
|
|
327
328
|
};
|
|
328
329
|
disabled: {
|
|
329
330
|
type: BooleanConstructor;
|
|
@@ -350,7 +351,7 @@ declare function __VLS_template(): {
|
|
|
350
351
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
351
352
|
};
|
|
352
353
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
353
|
-
size:
|
|
354
|
+
size: SizeType;
|
|
354
355
|
onSubmit: (e: Event) => void;
|
|
355
356
|
disabled: boolean;
|
|
356
357
|
validateTrigger: string | string[];
|
|
@@ -642,8 +643,8 @@ declare function __VLS_template(): {
|
|
|
642
643
|
default: string | string[];
|
|
643
644
|
};
|
|
644
645
|
size: {
|
|
645
|
-
type: PropType<
|
|
646
|
-
default:
|
|
646
|
+
type: PropType<SizeType>;
|
|
647
|
+
default: SizeType;
|
|
647
648
|
};
|
|
648
649
|
disabled: {
|
|
649
650
|
type: BooleanConstructor;
|
|
@@ -670,7 +671,7 @@ declare function __VLS_template(): {
|
|
|
670
671
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
671
672
|
};
|
|
672
673
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
673
|
-
size:
|
|
674
|
+
size: SizeType;
|
|
674
675
|
onSubmit: (e: Event) => void;
|
|
675
676
|
disabled: boolean;
|
|
676
677
|
validateTrigger: string | string[];
|
|
@@ -975,7 +976,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
975
976
|
$: ComponentInternalInstance;
|
|
976
977
|
$data: {};
|
|
977
978
|
$props: {
|
|
978
|
-
readonly size?:
|
|
979
|
+
readonly size?: "small" | "large" | "middle" | undefined;
|
|
979
980
|
readonly onSubmit?: ((e: Event) => void) | undefined;
|
|
980
981
|
readonly layout?: string | undefined;
|
|
981
982
|
readonly disabled?: boolean | undefined;
|
|
@@ -1065,7 +1066,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1065
1066
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1066
1067
|
readonly initialValues?: Recordable | undefined;
|
|
1067
1068
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1068
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1069
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1069
1070
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1070
1071
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1071
1072
|
$attrs: {
|
|
@@ -1270,8 +1271,8 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1270
1271
|
default: string | string[];
|
|
1271
1272
|
};
|
|
1272
1273
|
size: {
|
|
1273
|
-
type: PropType<
|
|
1274
|
-
default:
|
|
1274
|
+
type: PropType<SizeType>;
|
|
1275
|
+
default: SizeType;
|
|
1275
1276
|
};
|
|
1276
1277
|
disabled: {
|
|
1277
1278
|
type: BooleanConstructor;
|
|
@@ -1298,7 +1299,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1298
1299
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1299
1300
|
};
|
|
1300
1301
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
1301
|
-
size:
|
|
1302
|
+
size: SizeType;
|
|
1302
1303
|
onSubmit: (e: Event) => void;
|
|
1303
1304
|
disabled: boolean;
|
|
1304
1305
|
validateTrigger: string | string[];
|
|
@@ -1590,8 +1591,8 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1590
1591
|
default: string | string[];
|
|
1591
1592
|
};
|
|
1592
1593
|
size: {
|
|
1593
|
-
type: PropType<
|
|
1594
|
-
default:
|
|
1594
|
+
type: PropType<SizeType>;
|
|
1595
|
+
default: SizeType;
|
|
1595
1596
|
};
|
|
1596
1597
|
disabled: {
|
|
1597
1598
|
type: BooleanConstructor;
|
|
@@ -1618,7 +1619,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1618
1619
|
default: (name: string | number | string[] | number[], status: boolean, errors: string[]) => void;
|
|
1619
1620
|
};
|
|
1620
1621
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
1621
|
-
size:
|
|
1622
|
+
size: SizeType;
|
|
1622
1623
|
onSubmit: (e: Event) => void;
|
|
1623
1624
|
disabled: boolean;
|
|
1624
1625
|
validateTrigger: string | string[];
|
|
@@ -2,9 +2,9 @@ import { ApFormItemNumberProps } from '../interface';
|
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
|
|
4
4
|
import { FieldMode, ApFieldNumberProps } from '../../..';
|
|
5
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
6
5
|
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
7
6
|
import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
|
+
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
8
8
|
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
9
9
|
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
10
10
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -33,7 +33,7 @@ declare function __VLS_template(): {
|
|
|
33
33
|
readonly mode?: FieldMode | undefined;
|
|
34
34
|
readonly class?: unknown;
|
|
35
35
|
readonly style?: unknown;
|
|
36
|
-
readonly size?:
|
|
36
|
+
readonly size?: "small" | "large" | "middle" | undefined;
|
|
37
37
|
readonly step?: ValueType | undefined;
|
|
38
38
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
39
39
|
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
@@ -87,8 +87,8 @@ declare function __VLS_template(): {
|
|
|
87
87
|
} & {
|
|
88
88
|
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
89
89
|
size: {
|
|
90
|
-
type: PropType<
|
|
91
|
-
default:
|
|
90
|
+
type: PropType<ButtonSize>;
|
|
91
|
+
default: ButtonSize;
|
|
92
92
|
};
|
|
93
93
|
bordered: {
|
|
94
94
|
type: BooleanConstructor;
|
|
@@ -207,7 +207,7 @@ declare function __VLS_template(): {
|
|
|
207
207
|
default: (e: FocusEvent) => void;
|
|
208
208
|
};
|
|
209
209
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
210
|
-
size:
|
|
210
|
+
size: ButtonSize;
|
|
211
211
|
value: ValueType;
|
|
212
212
|
onFocus: (e: FocusEvent) => void;
|
|
213
213
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -217,13 +217,13 @@ declare function __VLS_template(): {
|
|
|
217
217
|
max: ValueType;
|
|
218
218
|
min: ValueType;
|
|
219
219
|
prefixCls: string;
|
|
220
|
-
bordered: boolean;
|
|
221
|
-
defaultValue: ValueType;
|
|
222
|
-
status: "" | "error" | "warning";
|
|
223
|
-
step: ValueType;
|
|
224
220
|
autofocus: boolean;
|
|
225
221
|
readonly: boolean;
|
|
222
|
+
status: "" | "error" | "warning";
|
|
223
|
+
defaultValue: ValueType;
|
|
226
224
|
'onUpdate:value': (value: ValueType) => void;
|
|
225
|
+
step: ValueType;
|
|
226
|
+
bordered: boolean;
|
|
227
227
|
onPressEnter: KeyboardEventHandler;
|
|
228
228
|
formatter: (value: ValueType, info: {
|
|
229
229
|
userTyping: boolean;
|
|
@@ -254,8 +254,8 @@ declare function __VLS_template(): {
|
|
|
254
254
|
Defaults: {};
|
|
255
255
|
}, Readonly< ExtractPropTypes<{
|
|
256
256
|
size: {
|
|
257
|
-
type: PropType<
|
|
258
|
-
default:
|
|
257
|
+
type: PropType<ButtonSize>;
|
|
258
|
+
default: ButtonSize;
|
|
259
259
|
};
|
|
260
260
|
bordered: {
|
|
261
261
|
type: BooleanConstructor;
|
|
@@ -374,7 +374,7 @@ declare function __VLS_template(): {
|
|
|
374
374
|
default: (e: FocusEvent) => void;
|
|
375
375
|
};
|
|
376
376
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
377
|
-
size:
|
|
377
|
+
size: ButtonSize;
|
|
378
378
|
value: ValueType;
|
|
379
379
|
onFocus: (e: FocusEvent) => void;
|
|
380
380
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -384,13 +384,13 @@ declare function __VLS_template(): {
|
|
|
384
384
|
max: ValueType;
|
|
385
385
|
min: ValueType;
|
|
386
386
|
prefixCls: string;
|
|
387
|
-
bordered: boolean;
|
|
388
|
-
defaultValue: ValueType;
|
|
389
|
-
status: "" | "error" | "warning";
|
|
390
|
-
step: ValueType;
|
|
391
387
|
autofocus: boolean;
|
|
392
388
|
readonly: boolean;
|
|
389
|
+
status: "" | "error" | "warning";
|
|
390
|
+
defaultValue: ValueType;
|
|
393
391
|
'onUpdate:value': (value: ValueType) => void;
|
|
392
|
+
step: ValueType;
|
|
393
|
+
bordered: boolean;
|
|
394
394
|
onPressEnter: KeyboardEventHandler;
|
|
395
395
|
formatter: (value: ValueType, info: {
|
|
396
396
|
userTyping: boolean;
|
|
@@ -506,7 +506,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
506
506
|
readonly mode?: FieldMode | undefined;
|
|
507
507
|
readonly class?: unknown;
|
|
508
508
|
readonly style?: unknown;
|
|
509
|
-
readonly size?:
|
|
509
|
+
readonly size?: "small" | "large" | "middle" | undefined;
|
|
510
510
|
readonly step?: ValueType | undefined;
|
|
511
511
|
readonly onBlur?: ((e: FocusEvent) => void) | undefined;
|
|
512
512
|
readonly onChange?: ((value: ValueType) => void) | undefined;
|
|
@@ -560,8 +560,8 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
560
560
|
} & {
|
|
561
561
|
inputRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
562
562
|
size: {
|
|
563
|
-
type: PropType<
|
|
564
|
-
default:
|
|
563
|
+
type: PropType<ButtonSize>;
|
|
564
|
+
default: ButtonSize;
|
|
565
565
|
};
|
|
566
566
|
bordered: {
|
|
567
567
|
type: BooleanConstructor;
|
|
@@ -680,7 +680,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
680
680
|
default: (e: FocusEvent) => void;
|
|
681
681
|
};
|
|
682
682
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
683
|
-
size:
|
|
683
|
+
size: ButtonSize;
|
|
684
684
|
value: ValueType;
|
|
685
685
|
onFocus: (e: FocusEvent) => void;
|
|
686
686
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -690,13 +690,13 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
690
690
|
max: ValueType;
|
|
691
691
|
min: ValueType;
|
|
692
692
|
prefixCls: string;
|
|
693
|
-
bordered: boolean;
|
|
694
|
-
defaultValue: ValueType;
|
|
695
|
-
status: "" | "error" | "warning";
|
|
696
|
-
step: ValueType;
|
|
697
693
|
autofocus: boolean;
|
|
698
694
|
readonly: boolean;
|
|
695
|
+
status: "" | "error" | "warning";
|
|
696
|
+
defaultValue: ValueType;
|
|
699
697
|
'onUpdate:value': (value: ValueType) => void;
|
|
698
|
+
step: ValueType;
|
|
699
|
+
bordered: boolean;
|
|
700
700
|
onPressEnter: KeyboardEventHandler;
|
|
701
701
|
formatter: (value: ValueType, info: {
|
|
702
702
|
userTyping: boolean;
|
|
@@ -727,8 +727,8 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
727
727
|
Defaults: {};
|
|
728
728
|
}, Readonly< ExtractPropTypes<{
|
|
729
729
|
size: {
|
|
730
|
-
type: PropType<
|
|
731
|
-
default:
|
|
730
|
+
type: PropType<ButtonSize>;
|
|
731
|
+
default: ButtonSize;
|
|
732
732
|
};
|
|
733
733
|
bordered: {
|
|
734
734
|
type: BooleanConstructor;
|
|
@@ -847,7 +847,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
847
847
|
default: (e: FocusEvent) => void;
|
|
848
848
|
};
|
|
849
849
|
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
850
|
-
size:
|
|
850
|
+
size: ButtonSize;
|
|
851
851
|
value: ValueType;
|
|
852
852
|
onFocus: (e: FocusEvent) => void;
|
|
853
853
|
onBlur: (e: FocusEvent) => void;
|
|
@@ -857,13 +857,13 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
857
857
|
max: ValueType;
|
|
858
858
|
min: ValueType;
|
|
859
859
|
prefixCls: string;
|
|
860
|
-
bordered: boolean;
|
|
861
|
-
defaultValue: ValueType;
|
|
862
|
-
status: "" | "error" | "warning";
|
|
863
|
-
step: ValueType;
|
|
864
860
|
autofocus: boolean;
|
|
865
861
|
readonly: boolean;
|
|
862
|
+
status: "" | "error" | "warning";
|
|
863
|
+
defaultValue: ValueType;
|
|
866
864
|
'onUpdate:value': (value: ValueType) => void;
|
|
865
|
+
step: ValueType;
|
|
866
|
+
bordered: boolean;
|
|
867
867
|
onPressEnter: KeyboardEventHandler;
|
|
868
868
|
formatter: (value: ValueType, info: {
|
|
869
869
|
userTyping: boolean;
|