@aplus-frontend/ui 0.4.17 → 0.4.19
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/item/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-modal/index.vue.d.ts +1 -2
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
- package/es/src/ap-button/ap-action-button.vue.d.ts +1 -2
- package/es/src/ap-button/ap-button.vue.d.ts +1 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
- package/es/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
- package/es/src/ap-download/ap-download.vue.d.ts +3 -5
- package/es/src/ap-field/date/index.vue.d.ts +1 -2
- package/es/src/ap-field/date-range/index.vue.d.ts +1 -2
- package/es/src/ap-field/number/index.vue.d.ts +2 -324
- package/es/src/ap-field/radio/index.vue.d.ts +2 -98
- package/es/src/ap-field/rate/index.vue.d.ts +2 -84
- package/es/src/ap-field/segmented/index.vue.d.ts +1 -2
- package/es/src/ap-field/select/index.vue.d.ts +2 -409
- package/es/src/ap-field/select/index.vue.mjs +6 -7
- package/es/src/ap-field/slider/index.vue.d.ts +2 -259
- package/es/src/ap-field/switch/index.vue.d.ts +1 -2
- package/es/src/ap-field/text/index.vue.d.ts +1 -2
- package/es/src/ap-field/text/password.vue.d.ts +1 -2
- package/es/src/ap-field/text-area/index.vue.d.ts +2 -267
- package/es/src/ap-form/ap-form.vue.d.ts +4 -639
- package/es/src/ap-form/dependency/index.vue.d.ts +1 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +6 -1457
- package/es/src/ap-form/item/index.vue.d.ts +2 -779
- package/es/src/ap-form/item-group/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -785
- package/es/src/ap-form/items/radio/index.vue.d.ts +4 -223
- package/es/src/ap-form/items/select/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +1 -2
- package/es/src/ap-form/items/text/group.vue.d.ts +1 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -141
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -150
- package/es/src/ap-form/items/text-area/index.vue.d.ts +4 -568
- package/es/src/ap-form/list/index.vue.d.ts +1 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +7 -1457
- package/es/src/ap-form/provider/index.vue.d.ts +1 -2
- package/es/src/ap-form/render/control.vue.d.ts +1 -2
- package/es/src/ap-form/render/item.vue.d.ts +1 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +5 -1457
- package/es/src/ap-form/set/index.vue.d.ts +1 -2
- package/es/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -6
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
- package/es/src/ap-list/index.vue.d.ts +5 -3
- package/es/src/ap-table/ap-table.vue.d.ts +10 -3
- package/es/src/ap-table/ap-table.vue2.mjs +72 -68
- package/es/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/modal/index.vue.d.ts +1 -2
- package/es/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/es/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/es/src/ap-table/constants.d.ts +14 -2264
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/interface.d.ts +9 -0
- package/es/src/ap-table/utils.d.ts +8 -1180
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +2 -5
- package/es/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/es/src/ap-upload/apUpload.vue.d.ts +2 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -453
- package/es/src/ap-upload/components/Picture.vue.d.ts +9 -7
- package/es/src/ap-upload/components/SingleFile.vue.d.ts +1 -3
- package/es/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
- package/es/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/index.d.ts +1 -1
- package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +2 -5
- package/es/src/business/ap-batch-action/index.d.ts +1 -3
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
- package/es/src/business/ap-batch-action-group/index.d.ts +5 -887
- package/es/src/business/ap-card/ApCard.vue.d.ts +2 -3
- package/es/src/business/ap-card/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
- package/es/src/business/ap-expand-alert/index.d.ts +6 -4
- package/es/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -5
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +8 -9
- package/es/src/business/ap-group-search/extension-select/index.vue.d.ts +346 -10
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +7 -8
- package/es/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/es/src/business/ap-group-search/index.d.ts +4 -418
- package/es/src/business/ap-group-search/popover-select/index.vue.d.ts +340 -412
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +14 -15
- package/es/src/business/ap-image/ApImage.vue.d.ts +1 -2
- package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/es/src/business/ap-input-radio/index.d.ts +1 -1
- package/es/src/business/ap-ladder/ApLadder.vue.d.ts +2 -6
- package/es/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/es/src/business/ap-ladder/index.d.ts +1 -4
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +5 -3
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +14 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +14 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +14 -0
- package/es/src/business/ap-table-modal/index.d.ts +44 -22
- package/es/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
- package/es/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +18 -25
- package/es/src/business/ap-title/ApTitle.vue.d.ts +2 -3
- package/es/src/business/ap-title/index.d.ts +1 -1
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +3 -5
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/es/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/es/src/business/batch-input-group/index.vue.d.ts +3 -146
- package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +2 -267
- package/es/src/business/hooks/usePageListApTable.d.ts +14 -0
- package/es/src/business/hooks/useTableRefresh.d.ts +4 -1
- package/es/src/business/hooks/useTableRefresh.mjs +33 -12
- package/es/src/check-card/group.vue.d.ts +1 -2
- package/es/src/check-card/index.vue.d.ts +2 -3
- package/es/src/config-provider/config-provider-props.d.ts +3 -0
- package/es/src/config-provider/config-provider-props.mjs +3 -0
- package/es/src/config-provider/config-provider.d.ts +6 -0
- package/es/src/config-provider/config-provider.mjs +24 -23
- package/es/src/config-provider/hooks/use-global-config.d.ts +3 -0
- package/es/src/config-provider/index.d.ts +9 -0
- package/es/src/editable-table/form-item.vue.d.ts +5 -3
- package/es/src/editable-table/index.vue.d.ts +5 -3
- package/es/src/full-screen/index.vue.d.ts +2 -6
- package/es/src/portal/index.vue.d.ts +1 -2
- package/es/src/resize-observer/index.vue.d.ts +1 -2
- package/es/src/scroll-bar/index.vue.d.ts +4 -43
- package/es/src/scroll-bar/index.vue.mjs +51 -49
- package/es/src/scroll-bar/internal.vue.d.ts +1 -5
- package/es/src/scroll-view/index.vue.d.ts +9 -97
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/theme/antd-global-overwrite/admin/index.css +20 -20
- package/es/src/theme/antd-global-overwrite/admin/table.css +20 -20
- package/es/src/theme/antd-global-overwrite/aplus/index.css +20 -20
- package/es/src/theme/antd-global-overwrite/aplus/table.css +20 -20
- package/es/src/utils/index.d.ts +8 -0
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -827
- package/lib/src/ap-action/item/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-modal/index.vue.d.ts +1 -2
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +1 -2
- package/lib/src/ap-button/ap-action-button.vue.d.ts +1 -2
- package/lib/src/ap-button/ap-button.vue.d.ts +1 -2
- package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -3
- package/lib/src/ap-descriptions/help-message/index.vue.d.ts +5 -3
- package/lib/src/ap-download/ap-download.vue.d.ts +3 -5
- package/lib/src/ap-field/date/index.vue.d.ts +1 -2
- package/lib/src/ap-field/date-range/index.vue.d.ts +1 -2
- package/lib/src/ap-field/number/index.vue.d.ts +2 -324
- package/lib/src/ap-field/radio/index.vue.d.ts +2 -98
- package/lib/src/ap-field/rate/index.vue.d.ts +2 -84
- package/lib/src/ap-field/segmented/index.vue.d.ts +1 -2
- package/lib/src/ap-field/select/index.vue.d.ts +2 -409
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.d.ts +2 -259
- package/lib/src/ap-field/switch/index.vue.d.ts +1 -2
- package/lib/src/ap-field/text/index.vue.d.ts +1 -2
- package/lib/src/ap-field/text/password.vue.d.ts +1 -2
- package/lib/src/ap-field/text-area/index.vue.d.ts +2 -267
- package/lib/src/ap-form/ap-form.vue.d.ts +4 -639
- package/lib/src/ap-form/dependency/index.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +6 -1457
- package/lib/src/ap-form/item/index.vue.d.ts +2 -779
- package/lib/src/ap-form/item-group/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/date/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -785
- package/lib/src/ap-form/items/radio/index.vue.d.ts +4 -223
- package/lib/src/ap-form/items/select/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/switch/index.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text/group.vue.d.ts +1 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -141
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -150
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +4 -568
- package/lib/src/ap-form/list/index.vue.d.ts +1 -2
- package/lib/src/ap-form/modal-form/index.vue.d.ts +7 -1457
- package/lib/src/ap-form/provider/index.vue.d.ts +1 -2
- package/lib/src/ap-form/render/control.vue.d.ts +1 -2
- package/lib/src/ap-form/render/item.vue.d.ts +1 -2
- package/lib/src/ap-form/search-form/index.vue.d.ts +5 -1457
- package/lib/src/ap-form/set/index.vue.d.ts +1 -2
- package/lib/src/ap-info-layout/ApInfoLayout.vue.d.ts +2 -3
- package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +2 -6
- package/lib/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue.d.ts +2 -3
- package/lib/src/ap-list/index.vue.d.ts +5 -3
- package/lib/src/ap-table/ap-table.vue.d.ts +10 -3
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/components/index/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/paragraph-ellipsis/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/modal/index.vue.d.ts +1 -2
- package/lib/src/ap-table/components/setting/select-group/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sortable/item.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/sorter/index.vue.d.ts +1 -1
- package/lib/src/ap-table/components/setting/tree-select/index.vue.d.ts +1 -1
- package/lib/src/ap-table/constants.d.ts +14 -2264
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/interface.d.ts +9 -0
- package/lib/src/ap-table/utils.d.ts +8 -1180
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +2 -5
- package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -1
- package/lib/src/ap-upload/apUpload.vue.d.ts +2 -5
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -453
- package/lib/src/ap-upload/components/Picture.vue.d.ts +9 -7
- package/lib/src/ap-upload/components/SingleFile.vue.d.ts +1 -3
- package/lib/src/business/ap-appendix/ap-appendix.vue.d.ts +3 -5
- package/lib/src/business/ap-appendix/icons/file-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/index.d.ts +1 -1
- package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +2 -5
- package/lib/src/business/ap-batch-action/index.d.ts +1 -3
- package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue.d.ts +1 -2
- package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue.d.ts +4 -3
- package/lib/src/business/ap-batch-action-group/index.d.ts +5 -887
- package/lib/src/business/ap-card/ApCard.vue.d.ts +2 -3
- package/lib/src/business/ap-card/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +5 -3
- package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
- package/lib/src/business/ap-group-search/ap-group-search.vue.d.ts +2 -5
- package/lib/src/business/ap-group-search/ap-group-search.vue2.js +1 -1
- package/lib/src/business/ap-group-search/extension-select/index.vue.d.ts +346 -10
- package/lib/src/business/ap-group-search/extension-select/index.vue2.js +1 -1
- package/lib/src/business/ap-group-search/images/icon-down.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/images/icon-line-select.vue.d.ts +1 -1
- package/lib/src/business/ap-group-search/index.d.ts +4 -418
- package/lib/src/business/ap-group-search/popover-select/index.vue.d.ts +340 -412
- package/lib/src/business/ap-group-search/popover-select/index.vue2.js +2 -2
- package/lib/src/business/ap-image/ApImage.vue.d.ts +1 -2
- package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +1 -1
- package/lib/src/business/ap-input-radio/index.d.ts +1 -1
- package/lib/src/business/ap-ladder/ApLadder.vue.d.ts +2 -6
- package/lib/src/business/ap-ladder/HelpMessageIcon.vue.d.ts +1 -1
- package/lib/src/business/ap-ladder/index.d.ts +1 -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 +5 -3
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +14 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +14 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +14 -0
- package/lib/src/business/ap-table-modal/index.d.ts +44 -22
- package/lib/src/business/ap-table-modal/modal-title.vue.d.ts +2 -3
- package/lib/src/business/ap-table-modal/table-layout/index.vue.d.ts +8 -8
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +18 -25
- package/lib/src/business/ap-title/ApTitle.vue.d.ts +2 -3
- package/lib/src/business/ap-title/index.d.ts +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +3 -5
- package/lib/src/business/ap-upload-file/icon/delete-icon.vue.d.ts +1 -1
- package/lib/src/business/ap-upload-file/icon/file-icon.vue.d.ts +1 -1
- package/lib/src/business/batch-input-group/index.vue.d.ts +3 -146
- package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +2 -267
- package/lib/src/business/hooks/usePageListApTable.d.ts +14 -0
- package/lib/src/business/hooks/useTableRefresh.d.ts +4 -1
- package/lib/src/business/hooks/useTableRefresh.js +1 -1
- package/lib/src/check-card/group.vue.d.ts +1 -2
- package/lib/src/check-card/index.vue.d.ts +2 -3
- package/lib/src/config-provider/config-provider-props.d.ts +3 -0
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +6 -0
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +3 -0
- package/lib/src/config-provider/index.d.ts +9 -0
- package/lib/src/editable-table/form-item.vue.d.ts +5 -3
- package/lib/src/editable-table/index.vue.d.ts +5 -3
- package/lib/src/full-screen/index.vue.d.ts +2 -6
- package/lib/src/portal/index.vue.d.ts +1 -2
- package/lib/src/resize-observer/index.vue.d.ts +1 -2
- package/lib/src/scroll-bar/index.vue.d.ts +4 -43
- package/lib/src/scroll-bar/index.vue.js +1 -1
- package/lib/src/scroll-bar/internal.vue.d.ts +1 -5
- package/lib/src/scroll-view/index.vue.d.ts +9 -97
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/theme/antd-global-overwrite/admin/index.css +20 -20
- package/lib/src/theme/antd-global-overwrite/admin/table.css +20 -20
- package/lib/src/theme/antd-global-overwrite/aplus/index.css +20 -20
- package/lib/src/theme/antd-global-overwrite/aplus/table.css +20 -20
- package/lib/src/utils/index.d.ts +8 -0
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -827
- package/package.json +3 -3
- package/theme/antd-global-overwrite/admin/index.css +20 -20
- package/theme/antd-global-overwrite/admin/table.css +20 -20
- package/theme/antd-global-overwrite/admin/table.less +3 -3
- package/theme/antd-global-overwrite/aplus/index.css +20 -20
- package/theme/antd-global-overwrite/aplus/table.css +20 -20
- package/theme/antd-global-overwrite/aplus/table.less +3 -3
- package/theme/ap-scroll-bar/index.css +0 -31
- package/theme/ap-scroll-bar/index.less +0 -39
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { BatchInputGroupProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions
|
|
3
|
-
import { FieldMode
|
|
4
|
-
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
5
|
-
import { FocusEventHandler, ChangeEventHandler, CompositionEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
6
|
-
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
7
|
-
import { InputFocusOptions } from '@aplus-frontend/antdv/es/vc-input/utils/commonUtils';
|
|
8
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { FieldMode } from '../../ap-field';
|
|
9
4
|
declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
5
|
"update:value": (...args: any[]) => void;
|
|
11
6
|
}, string, PublicProps, Readonly<BatchInputGroupProps> & Readonly<{
|
|
@@ -18,143 +13,5 @@ declare const _default: DefineComponent<BatchInputGroupProps, {}, {}, {}, {}, Co
|
|
|
18
13
|
allowClear: boolean;
|
|
19
14
|
emptyText: string;
|
|
20
15
|
hasAll: boolean;
|
|
21
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
22
|
-
containerRef: HTMLDivElement;
|
|
23
|
-
inputRef: ({
|
|
24
|
-
$: ComponentInternalInstance;
|
|
25
|
-
$data: {};
|
|
26
|
-
$props: {
|
|
27
|
-
readonly mode?: FieldMode | undefined;
|
|
28
|
-
readonly class?: unknown;
|
|
29
|
-
readonly style?: unknown;
|
|
30
|
-
readonly type?: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password" | undefined;
|
|
31
|
-
readonly lazy?: boolean | undefined;
|
|
32
|
-
readonly size?: ButtonSize;
|
|
33
|
-
readonly hidden?: boolean | undefined;
|
|
34
|
-
readonly onBlur?: FocusEventHandler | undefined;
|
|
35
|
-
readonly onChange?: ChangeEventHandler | undefined;
|
|
36
|
-
readonly onCompositionend?: CompositionEventHandler | undefined;
|
|
37
|
-
readonly onCompositionstart?: CompositionEventHandler | undefined;
|
|
38
|
-
readonly onFocus?: FocusEventHandler | undefined;
|
|
39
|
-
readonly onInput?: ChangeEventHandler | undefined;
|
|
40
|
-
readonly onKeydown?: KeyboardEventHandler | undefined;
|
|
41
|
-
readonly onKeyup?: KeyboardEventHandler | undefined;
|
|
42
|
-
readonly onMousedown?: MouseEventHandler | undefined;
|
|
43
|
-
readonly value?: string | number | undefined;
|
|
44
|
-
readonly disabled?: boolean | undefined;
|
|
45
|
-
readonly bordered?: boolean | undefined;
|
|
46
|
-
readonly prefixCls?: string | undefined;
|
|
47
|
-
readonly name?: string | undefined;
|
|
48
|
-
readonly autocomplete?: string | undefined;
|
|
49
|
-
readonly status?: "" | "error" | "warning" | undefined;
|
|
50
|
-
readonly id?: string | undefined;
|
|
51
|
-
readonly placeholder?: string | number | undefined;
|
|
52
|
-
readonly prefix?: any;
|
|
53
|
-
readonly loading?: boolean | undefined;
|
|
54
|
-
readonly autofocus?: boolean | undefined;
|
|
55
|
-
readonly 'onUpdate:value'?: (((val: string) => void) & ((...args: any[]) => any)) | undefined;
|
|
56
|
-
readonly suffix?: any;
|
|
57
|
-
readonly focused?: boolean | undefined;
|
|
58
|
-
readonly defaultValue?: string | number | undefined;
|
|
59
|
-
readonly maxlength?: number | undefined;
|
|
60
|
-
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
61
|
-
readonly htmlSize?: number | undefined;
|
|
62
|
-
readonly onPressEnter?: KeyboardEventHandler | undefined;
|
|
63
|
-
readonly onMouseUp?: MouseEventHandler | undefined;
|
|
64
|
-
readonly onRawInput?: ChangeEventHandler | undefined;
|
|
65
|
-
readonly valueModifiers?: Record<string, any> | undefined;
|
|
66
|
-
readonly inputElement?: any;
|
|
67
|
-
readonly triggerFocus?: (() => void) | undefined;
|
|
68
|
-
readonly readonly?: boolean | undefined;
|
|
69
|
-
readonly handleReset?: MouseEventHandler | undefined;
|
|
70
|
-
readonly addonBefore?: any;
|
|
71
|
-
readonly addonAfter?: any;
|
|
72
|
-
readonly clearIcon?: any;
|
|
73
|
-
readonly allowClear?: boolean | undefined;
|
|
74
|
-
readonly emptyText?: string | undefined;
|
|
75
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
76
|
-
$attrs: {
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
};
|
|
79
|
-
$refs: {
|
|
80
|
-
[x: string]: unknown;
|
|
81
|
-
};
|
|
82
|
-
$slots: Readonly<{
|
|
83
|
-
[name: string]: Slot<any> | undefined;
|
|
84
|
-
}>;
|
|
85
|
-
$root: ComponentPublicInstance | null;
|
|
86
|
-
$parent: ComponentPublicInstance | null;
|
|
87
|
-
$host: Element | null;
|
|
88
|
-
$emit: (event: "update:value", ...args: any[]) => void;
|
|
89
|
-
$el: any;
|
|
90
|
-
$options: ComponentOptionsBase<Readonly< ApFieldTextProps> & Readonly<{
|
|
91
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
92
|
-
}>, {
|
|
93
|
-
focus: (options?: InputFocusOptions) => void;
|
|
94
|
-
blur: () => void;
|
|
95
|
-
input: any;
|
|
96
|
-
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
97
|
-
select: () => void;
|
|
98
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
99
|
-
"update:value": (...args: any[]) => void;
|
|
100
|
-
}, string, {
|
|
101
|
-
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
102
|
-
mode: FieldMode;
|
|
103
|
-
disabled: boolean;
|
|
104
|
-
bordered: boolean;
|
|
105
|
-
lazy: boolean;
|
|
106
|
-
allowClear: boolean;
|
|
107
|
-
emptyText: string;
|
|
108
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
109
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
110
|
-
created?: (() => void) | (() => void)[];
|
|
111
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
112
|
-
mounted?: (() => void) | (() => void)[];
|
|
113
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
114
|
-
updated?: (() => void) | (() => void)[];
|
|
115
|
-
activated?: (() => void) | (() => void)[];
|
|
116
|
-
deactivated?: (() => void) | (() => void)[];
|
|
117
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
118
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
119
|
-
destroyed?: (() => void) | (() => void)[];
|
|
120
|
-
unmounted?: (() => void) | (() => void)[];
|
|
121
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
122
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
123
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
124
|
-
};
|
|
125
|
-
$forceUpdate: () => void;
|
|
126
|
-
$nextTick: nextTick;
|
|
127
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
128
|
-
} & Readonly<{
|
|
129
|
-
type: "number" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "checkbox" | "radio" | "color" | "text" | "range" | "tel" | "url" | "email" | "image" | "datetime-local" | "file" | "password";
|
|
130
|
-
mode: FieldMode;
|
|
131
|
-
disabled: boolean;
|
|
132
|
-
bordered: boolean;
|
|
133
|
-
lazy: boolean;
|
|
134
|
-
allowClear: boolean;
|
|
135
|
-
emptyText: string;
|
|
136
|
-
}> & Omit<Readonly< ApFieldTextProps> & Readonly<{
|
|
137
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
138
|
-
}>, "blur" | "focus" | "input" | "select" | ("type" | "mode" | "disabled" | "bordered" | "lazy" | "allowClear" | "emptyText") | "setSelectionRange"> & ShallowUnwrapRef<{
|
|
139
|
-
focus: (options?: InputFocusOptions) => void;
|
|
140
|
-
blur: () => void;
|
|
141
|
-
input: any;
|
|
142
|
-
setSelectionRange: (start: number, end: number, direction?: "forward" | "backward" | "none") => void;
|
|
143
|
-
select: () => void;
|
|
144
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
145
|
-
$slots: Readonly<{
|
|
146
|
-
addonAfter?: any;
|
|
147
|
-
addonBefore?: any;
|
|
148
|
-
prefix?: any;
|
|
149
|
-
suffix?: any;
|
|
150
|
-
clearIcon?: any;
|
|
151
|
-
}> & {
|
|
152
|
-
addonAfter?: any;
|
|
153
|
-
addonBefore?: any;
|
|
154
|
-
prefix?: any;
|
|
155
|
-
suffix?: any;
|
|
156
|
-
clearIcon?: any;
|
|
157
|
-
};
|
|
158
|
-
}) | null;
|
|
159
|
-
}, HTMLDivElement>;
|
|
16
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
160
17
|
export default _default;
|
|
@@ -1,273 +1,8 @@
|
|
|
1
1
|
import { BatchInputGroupPopoverInputProps } from '../interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions
|
|
3
|
-
import { AutoSizeType } from '@aplus-frontend/antdv/es/input/inputProps';
|
|
4
|
-
import { CompositionEventHandler, FocusEventHandler, ChangeEventHandler, KeyboardEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
5
|
-
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
6
|
-
import { ShowCountProps } from '@aplus-frontend/antdv/es/vc-input/inputProps';
|
|
7
|
-
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
8
|
-
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
9
3
|
declare const _default: DefineComponent<BatchInputGroupPopoverInputProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
4
|
"update:value": (...args: any[]) => void;
|
|
11
5
|
}, string, PublicProps, Readonly<BatchInputGroupPopoverInputProps> & Readonly<{
|
|
12
6
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
14
|
-
textAreaRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
15
|
-
rows: NumberConstructor;
|
|
16
|
-
autosize: {
|
|
17
|
-
type: PropType<boolean | AutoSizeType>;
|
|
18
|
-
default: any;
|
|
19
|
-
};
|
|
20
|
-
autoSize: {
|
|
21
|
-
type: PropType<boolean | AutoSizeType>;
|
|
22
|
-
default: any;
|
|
23
|
-
};
|
|
24
|
-
onResize: {
|
|
25
|
-
type: PropType<(size: {
|
|
26
|
-
width: number;
|
|
27
|
-
height: number;
|
|
28
|
-
}) => void>;
|
|
29
|
-
};
|
|
30
|
-
onCompositionstart: {
|
|
31
|
-
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
32
|
-
};
|
|
33
|
-
onCompositionend: {
|
|
34
|
-
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
35
|
-
};
|
|
36
|
-
valueModifiers: ObjectConstructor;
|
|
37
|
-
size: {
|
|
38
|
-
type: PropType<SizeType>;
|
|
39
|
-
};
|
|
40
|
-
value: {
|
|
41
|
-
type: PropType<string | number>;
|
|
42
|
-
default: any;
|
|
43
|
-
};
|
|
44
|
-
name: StringConstructor;
|
|
45
|
-
type: {
|
|
46
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
47
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
48
|
-
};
|
|
49
|
-
onFocus: PropType<FocusEventHandler>;
|
|
50
|
-
onBlur: PropType<FocusEventHandler>;
|
|
51
|
-
onChange: PropType<ChangeEventHandler>;
|
|
52
|
-
onInput: PropType<ChangeEventHandler>;
|
|
53
|
-
onKeydown: PropType<KeyboardEventHandler>;
|
|
54
|
-
onKeyup: PropType<KeyboardEventHandler>;
|
|
55
|
-
onMousedown: {
|
|
56
|
-
type: PropType<MouseEventHandler>;
|
|
57
|
-
default: any;
|
|
58
|
-
};
|
|
59
|
-
focused: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
default: any;
|
|
62
|
-
};
|
|
63
|
-
hidden: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default: any;
|
|
66
|
-
};
|
|
67
|
-
disabled: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: any;
|
|
70
|
-
};
|
|
71
|
-
prefixCls: StringConstructor;
|
|
72
|
-
id: StringConstructor;
|
|
73
|
-
autofocus: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
default: any;
|
|
76
|
-
};
|
|
77
|
-
autocomplete: StringConstructor;
|
|
78
|
-
readonly: {
|
|
79
|
-
type: BooleanConstructor;
|
|
80
|
-
default: any;
|
|
81
|
-
};
|
|
82
|
-
status: PropType<"" | "error" | "warning">;
|
|
83
|
-
defaultValue: {
|
|
84
|
-
type: PropType<string | number>;
|
|
85
|
-
default: any;
|
|
86
|
-
};
|
|
87
|
-
'onUpdate:value': PropType<(val: string) => void>;
|
|
88
|
-
loading: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: any;
|
|
91
|
-
};
|
|
92
|
-
placeholder: {
|
|
93
|
-
type: PropType<string | number>;
|
|
94
|
-
};
|
|
95
|
-
lazy: {
|
|
96
|
-
type: BooleanConstructor;
|
|
97
|
-
default: boolean;
|
|
98
|
-
};
|
|
99
|
-
maxlength: NumberConstructor;
|
|
100
|
-
bordered: {
|
|
101
|
-
type: BooleanConstructor;
|
|
102
|
-
default: any;
|
|
103
|
-
};
|
|
104
|
-
showCount: {
|
|
105
|
-
type: PropType<boolean | ShowCountProps>;
|
|
106
|
-
};
|
|
107
|
-
htmlSize: NumberConstructor;
|
|
108
|
-
onPressEnter: PropType<KeyboardEventHandler>;
|
|
109
|
-
onMouseUp: {
|
|
110
|
-
type: PropType<MouseEventHandler>;
|
|
111
|
-
default: any;
|
|
112
|
-
};
|
|
113
|
-
onRawInput: PropType<ChangeEventHandler>;
|
|
114
|
-
inputElement: VueTypeValidableDef<any>;
|
|
115
|
-
triggerFocus: PropType<() => void>;
|
|
116
|
-
handleReset: PropType<MouseEventHandler>;
|
|
117
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
118
|
-
allowClear: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
default: any;
|
|
121
|
-
};
|
|
122
|
-
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
123
|
-
value: string | number;
|
|
124
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
125
|
-
onMousedown: MouseEventHandler;
|
|
126
|
-
focused: boolean;
|
|
127
|
-
hidden: boolean;
|
|
128
|
-
disabled: boolean;
|
|
129
|
-
autofocus: boolean;
|
|
130
|
-
readonly: boolean;
|
|
131
|
-
defaultValue: string | number;
|
|
132
|
-
loading: boolean;
|
|
133
|
-
lazy: boolean;
|
|
134
|
-
bordered: boolean;
|
|
135
|
-
onMouseUp: MouseEventHandler;
|
|
136
|
-
allowClear: boolean;
|
|
137
|
-
autosize: any;
|
|
138
|
-
autoSize: any;
|
|
139
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
140
|
-
P: {};
|
|
141
|
-
B: {};
|
|
142
|
-
D: {};
|
|
143
|
-
C: {};
|
|
144
|
-
M: {};
|
|
145
|
-
Defaults: {};
|
|
146
|
-
}, Readonly< ExtractPropTypes<{
|
|
147
|
-
rows: NumberConstructor;
|
|
148
|
-
autosize: {
|
|
149
|
-
type: PropType<boolean | AutoSizeType>;
|
|
150
|
-
default: any;
|
|
151
|
-
};
|
|
152
|
-
autoSize: {
|
|
153
|
-
type: PropType<boolean | AutoSizeType>;
|
|
154
|
-
default: any;
|
|
155
|
-
};
|
|
156
|
-
onResize: {
|
|
157
|
-
type: PropType<(size: {
|
|
158
|
-
width: number;
|
|
159
|
-
height: number;
|
|
160
|
-
}) => void>;
|
|
161
|
-
};
|
|
162
|
-
onCompositionstart: {
|
|
163
|
-
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
164
|
-
};
|
|
165
|
-
onCompositionend: {
|
|
166
|
-
type: PropType< CompositionEventHandler | CompositionEventHandler[]>;
|
|
167
|
-
};
|
|
168
|
-
valueModifiers: ObjectConstructor;
|
|
169
|
-
size: {
|
|
170
|
-
type: PropType<SizeType>;
|
|
171
|
-
};
|
|
172
|
-
value: {
|
|
173
|
-
type: PropType<string | number>;
|
|
174
|
-
default: any;
|
|
175
|
-
};
|
|
176
|
-
name: StringConstructor;
|
|
177
|
-
type: {
|
|
178
|
-
type: PropType<"number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel">;
|
|
179
|
-
default: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
180
|
-
};
|
|
181
|
-
onFocus: PropType<FocusEventHandler>;
|
|
182
|
-
onBlur: PropType<FocusEventHandler>;
|
|
183
|
-
onChange: PropType<ChangeEventHandler>;
|
|
184
|
-
onInput: PropType<ChangeEventHandler>;
|
|
185
|
-
onKeydown: PropType<KeyboardEventHandler>;
|
|
186
|
-
onKeyup: PropType<KeyboardEventHandler>;
|
|
187
|
-
onMousedown: {
|
|
188
|
-
type: PropType<MouseEventHandler>;
|
|
189
|
-
default: any;
|
|
190
|
-
};
|
|
191
|
-
focused: {
|
|
192
|
-
type: BooleanConstructor;
|
|
193
|
-
default: any;
|
|
194
|
-
};
|
|
195
|
-
hidden: {
|
|
196
|
-
type: BooleanConstructor;
|
|
197
|
-
default: any;
|
|
198
|
-
};
|
|
199
|
-
disabled: {
|
|
200
|
-
type: BooleanConstructor;
|
|
201
|
-
default: any;
|
|
202
|
-
};
|
|
203
|
-
prefixCls: StringConstructor;
|
|
204
|
-
id: StringConstructor;
|
|
205
|
-
autofocus: {
|
|
206
|
-
type: BooleanConstructor;
|
|
207
|
-
default: any;
|
|
208
|
-
};
|
|
209
|
-
autocomplete: StringConstructor;
|
|
210
|
-
readonly: {
|
|
211
|
-
type: BooleanConstructor;
|
|
212
|
-
default: any;
|
|
213
|
-
};
|
|
214
|
-
status: PropType<"" | "error" | "warning">;
|
|
215
|
-
defaultValue: {
|
|
216
|
-
type: PropType<string | number>;
|
|
217
|
-
default: any;
|
|
218
|
-
};
|
|
219
|
-
'onUpdate:value': PropType<(val: string) => void>;
|
|
220
|
-
loading: {
|
|
221
|
-
type: BooleanConstructor;
|
|
222
|
-
default: any;
|
|
223
|
-
};
|
|
224
|
-
placeholder: {
|
|
225
|
-
type: PropType<string | number>;
|
|
226
|
-
};
|
|
227
|
-
lazy: {
|
|
228
|
-
type: BooleanConstructor;
|
|
229
|
-
default: boolean;
|
|
230
|
-
};
|
|
231
|
-
maxlength: NumberConstructor;
|
|
232
|
-
bordered: {
|
|
233
|
-
type: BooleanConstructor;
|
|
234
|
-
default: any;
|
|
235
|
-
};
|
|
236
|
-
showCount: {
|
|
237
|
-
type: PropType<boolean | ShowCountProps>;
|
|
238
|
-
};
|
|
239
|
-
htmlSize: NumberConstructor;
|
|
240
|
-
onPressEnter: PropType<KeyboardEventHandler>;
|
|
241
|
-
onMouseUp: {
|
|
242
|
-
type: PropType<MouseEventHandler>;
|
|
243
|
-
default: any;
|
|
244
|
-
};
|
|
245
|
-
onRawInput: PropType<ChangeEventHandler>;
|
|
246
|
-
inputElement: VueTypeValidableDef<any>;
|
|
247
|
-
triggerFocus: PropType<() => void>;
|
|
248
|
-
handleReset: PropType<MouseEventHandler>;
|
|
249
|
-
clearIcon: VueTypeValidableDef<any>;
|
|
250
|
-
allowClear: {
|
|
251
|
-
type: BooleanConstructor;
|
|
252
|
-
default: any;
|
|
253
|
-
};
|
|
254
|
-
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
255
|
-
value: string | number;
|
|
256
|
-
type: "number" | "reset" | "submit" | "button" | "time" | "image" | "text" | "search" | "hidden" | "color" | "checkbox" | "radio" | "range" | "date" | "url" | "email" | "week" | "month" | "datetime-local" | "file" | "password" | "tel";
|
|
257
|
-
onMousedown: MouseEventHandler;
|
|
258
|
-
focused: boolean;
|
|
259
|
-
hidden: boolean;
|
|
260
|
-
disabled: boolean;
|
|
261
|
-
autofocus: boolean;
|
|
262
|
-
readonly: boolean;
|
|
263
|
-
defaultValue: string | number;
|
|
264
|
-
loading: boolean;
|
|
265
|
-
lazy: boolean;
|
|
266
|
-
bordered: boolean;
|
|
267
|
-
onMouseUp: MouseEventHandler;
|
|
268
|
-
allowClear: boolean;
|
|
269
|
-
autosize: any;
|
|
270
|
-
autoSize: any;
|
|
271
|
-
}> | null;
|
|
272
|
-
}, HTMLDivElement>;
|
|
7
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
273
8
|
export default _default;
|
|
@@ -49,6 +49,20 @@ export declare function usePageListApTable(props?: UsePageListApTable): [ApTable
|
|
|
49
49
|
toggleSelect: (item: any) => void;
|
|
50
50
|
} | undefined;
|
|
51
51
|
getShownColumns: () => TableColumnsType<any>;
|
|
52
|
+
scrollBar: {
|
|
53
|
+
x: {
|
|
54
|
+
scroll: (percent: number) => void;
|
|
55
|
+
currentScroll: number;
|
|
56
|
+
visible: boolean;
|
|
57
|
+
rootElement: HTMLElement;
|
|
58
|
+
};
|
|
59
|
+
y: {
|
|
60
|
+
scroll: (percent: number) => void;
|
|
61
|
+
currentScroll: number;
|
|
62
|
+
visible: boolean;
|
|
63
|
+
rootElement: HTMLElement;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
52
66
|
} | null | undefined;
|
|
53
67
|
getSearchFormValuesAndSorted: (transform?: boolean) => any;
|
|
54
68
|
clearSelection: () => void;
|
|
@@ -14,4 +14,7 @@ export interface UseTableRefreshOption {
|
|
|
14
14
|
*/
|
|
15
15
|
refreshBefore?: () => boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare function useTableRefresh(option?: UseTableRefreshOption):
|
|
17
|
+
export declare function useTableRefresh(option?: UseTableRefreshOption): {
|
|
18
|
+
tableScrollX: Ref<number, number>;
|
|
19
|
+
tableScrollY: Ref<number, number>;
|
|
20
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue");require("../../index.js");const y=require("../../config-provider/hooks/use-global-config.js");function d(e=""){return document.querySelector(e)}function R(e=""){const l=d(e);return l==null?void 0:l.scrollTop}function Y(e,l=""){const r=d(l);r&&(r.scrollTop=e)}function h(e){const l=y.useGlobalConfig("scrollYDomName"),r=u.ref(0),b=u.ref(0),g=(["reset","submit",void 0].includes(e==null?void 0:e.refreshType)?e==null?void 0:e.refreshType:"submit")??"submit",T=(e==null?void 0:e.refreshBefore)??(()=>!0);let v=!0;return u.onMounted(()=>{u.nextTick(()=>{v=!1})}),u.onActivated(()=>{v||T!=null&&T()&&setTimeout(()=>{var s,c,a,f,m,t,S;(c=(s=e==null?void 0:e.apTableRef)==null?void 0:s.value)==null||c[g](),(S=(t=(m=(f=(a=e==null?void 0:e.apTableRef)==null?void 0:a.value)==null?void 0:f.scrollBar)==null?void 0:m.x)==null?void 0:t.scroll)==null||S.call(t,r.value),Y(b.value,l.value)})}),u.onDeactivated(()=>{var s,c,a,f;v||(r.value=((f=(a=(c=(s=e==null?void 0:e.apTableRef)==null?void 0:s.value)==null?void 0:c.scrollBar)==null?void 0:a.x)==null?void 0:f.currentScroll)??0,b.value=R(l.value)??0)}),{tableScrollX:r,tableScrollY:b}}exports.useTableRefresh=h;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { CheckCardGroupProps, CheckCardValueType } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, CSSProperties, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
4
|
slots: {
|
|
6
5
|
default?(_: {}): any;
|
|
7
6
|
};
|
|
8
7
|
refs: {};
|
|
9
|
-
|
|
8
|
+
attrs: Partial<{}>;
|
|
10
9
|
};
|
|
11
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
11
|
declare const __VLS_component: DefineComponent<CheckCardGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -6,10 +6,9 @@ type CheckCardSlots = {
|
|
|
6
6
|
}): void;
|
|
7
7
|
};
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
-
attrs: Partial<{}>;
|
|
10
9
|
slots: Readonly<CheckCardSlots> & CheckCardSlots;
|
|
11
10
|
refs: {};
|
|
12
|
-
|
|
11
|
+
attrs: Partial<{}>;
|
|
13
12
|
};
|
|
14
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
14
|
declare const __VLS_component: DefineComponent<CheckCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -23,7 +22,7 @@ declare const __VLS_component: DefineComponent<CheckCardProps, {}, {}, {}, {}, C
|
|
|
23
22
|
checked: boolean;
|
|
24
23
|
stopPropagation: boolean | ((event: MouseEvent) => boolean);
|
|
25
24
|
indicatorSize: number;
|
|
26
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
27
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
27
|
export default _default;
|
|
29
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -163,5 +163,8 @@ export declare const configProviderProps: () => {
|
|
|
163
163
|
type: PropType<ExportField>;
|
|
164
164
|
default: boolean;
|
|
165
165
|
};
|
|
166
|
+
scrollYDomName: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
};
|
|
166
169
|
};
|
|
167
170
|
export type ConfigProviderProps = Partial<ExtractPropTypes<ReturnType<typeof configProviderProps>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/antdv/es/config-provider/context"),t=()=>({aplusLocale:{type:Object},namespace:{type:String},api:{type:Object,default:()=>({})},uiMode:{type:String},apUpload:{type:Object,default:()=>({})},apDescriptions:{type:Object,default:()=>({})},valueTypeMap:{type:Object,default:()=>({})},downloadCenterTriggerConfig:{type:Object,default:()=>({})},cssVar:{type:Object,default:()=>({})},exportField:{type:Object,default:!1},...e.configProviderProps()});exports.configProviderProps=t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@aplus-frontend/antdv/es/config-provider/context"),t=()=>({aplusLocale:{type:Object},namespace:{type:String},api:{type:Object,default:()=>({})},uiMode:{type:String},apUpload:{type:Object,default:()=>({})},apDescriptions:{type:Object,default:()=>({})},valueTypeMap:{type:Object,default:()=>({})},downloadCenterTriggerConfig:{type:Object,default:()=>({})},cssVar:{type:Object,default:()=>({})},exportField:{type:Object,default:!1},scrollYDomName:{type:String},...e.configProviderProps()});exports.configProviderProps=t;
|
|
@@ -163,6 +163,9 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
163
163
|
type: PropType<ExportField>;
|
|
164
164
|
default: boolean;
|
|
165
165
|
};
|
|
166
|
+
scrollYDomName: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
};
|
|
166
169
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
167
170
|
iconPrefixCls: StringConstructor;
|
|
168
171
|
getTargetContainer: {
|
|
@@ -313,6 +316,9 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
313
316
|
type: PropType<ExportField>;
|
|
314
317
|
default: boolean;
|
|
315
318
|
};
|
|
319
|
+
scrollYDomName: {
|
|
320
|
+
type: StringConstructor;
|
|
321
|
+
};
|
|
316
322
|
}>> & Readonly<{}>, {
|
|
317
323
|
input: {
|
|
318
324
|
autocomplete?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),v=require("@aplus-frontend/antdv"),i=require("./hooks/use-global-config.js"),P=require("./config-provider-props.js"),b=require("../utils/config-provider-preset.js"),o=require("./css-var.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),v=require("@aplus-frontend/antdv"),i=require("./hooks/use-global-config.js"),P=require("./config-provider-props.js"),b=require("../utils/config-provider-preset.js"),o=require("./css-var.js"),l=require("./constants.js");function V(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!r.isVNode(e)}const a=r.ref({}),M=r.defineComponent({name:"AplusConfigProvider",props:P.configProviderProps(),setup(e,{slots:d}){const u=i.useGlobalConfig("namespace"),c=i.useGlobalConfig("uiMode"),f=r.computed(()=>e.namespace?e.namespace:r.unref(u)?r.unref(u):l.DEFAULT_NAMESPACE),s=r.computed(()=>e.uiMode?e.uiMode:r.unref(c)?r.unref(c):l.DEFAULT_UIMODE),g=r.computed(()=>({namespace:r.unref(f),aplusLocale:e.aplusLocale,api:e.api,uiMode:r.unref(s),apUpload:e.apUpload,apDescriptions:e.apDescriptions,valueTypeMap:e.valueTypeMap,downloadCenterTriggerConfig:e.downloadCenterTriggerConfig,exportField:e.exportField,scrollYDomName:e.scrollYDomName})),t=i.provideGlobalConfig(g);return r.watch(()=>e,n=>{a.value=b.mergeAntdProvideConfig(n)},{deep:!0,immediate:!0}),typeof window<"u"&&r.watch(()=>[r.unref(s),e.cssVar],([n,C])=>{const m=o.generateCssVar(C),p={...n==="aplus"?o.aplusCssVar:o.adminCssVar,...m};o.setCSSVariables(p)},{immediate:!0}),()=>{let n;return r.createVNode(v.ConfigProvider,a.value,V(n=r.renderSlot(d,"default",{config:t==null?void 0:t.value}))?n:{default:()=>[n]})}}});exports.ConfigProvider=M;exports.globalConfigCached=a;
|
|
@@ -273,6 +273,9 @@ export declare const APConfigProvider: {
|
|
|
273
273
|
type: PropType<ExportField>;
|
|
274
274
|
default: boolean;
|
|
275
275
|
};
|
|
276
|
+
scrollYDomName: {
|
|
277
|
+
type: StringConstructor;
|
|
278
|
+
};
|
|
276
279
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
277
280
|
input: {
|
|
278
281
|
autocomplete?: string;
|
|
@@ -679,6 +682,9 @@ export declare const APConfigProvider: {
|
|
|
679
682
|
type: PropType<ExportField>;
|
|
680
683
|
default: boolean;
|
|
681
684
|
};
|
|
685
|
+
scrollYDomName: {
|
|
686
|
+
type: StringConstructor;
|
|
687
|
+
};
|
|
682
688
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
683
689
|
input: {
|
|
684
690
|
autocomplete?: string;
|
|
@@ -977,6 +983,9 @@ export declare const APConfigProvider: {
|
|
|
977
983
|
type: PropType<ExportField>;
|
|
978
984
|
default: boolean;
|
|
979
985
|
};
|
|
986
|
+
scrollYDomName: {
|
|
987
|
+
type: StringConstructor;
|
|
988
|
+
};
|
|
980
989
|
}>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
981
990
|
input: {
|
|
982
991
|
autocomplete?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EditableColumnType, EditableTableFormItemProps } from './interface';
|
|
2
2
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
import { UnwrapRefSimple } from '@vue/reactivity';
|
|
5
5
|
declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableTableFormItemProps<RecordType>> & PublicProps;
|
|
7
7
|
expose(exposed: ShallowUnwrapRef<{
|
|
8
8
|
add: (defaultValue?: any, insertIndex?: number) => void;
|
|
9
9
|
remove: (index: number | number[]) => void;
|
|
@@ -48,7 +48,9 @@ declare const _default: <RecordType = any>(__VLS_props: NonNullable<Awaited<type
|
|
|
48
48
|
}) => void;
|
|
49
49
|
};
|
|
50
50
|
emit: {};
|
|
51
|
-
}>) => VNode
|
|
51
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
}> & {
|
|
52
54
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
53
55
|
};
|
|
54
56
|
export default _default;
|
|
@@ -2,11 +2,11 @@ import { EditableTableProps, EditableColumnType } from './interface';
|
|
|
2
2
|
import { NamePath, ValidateOptions } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { StandardBehaviorOptions } from '../../node_modules/scroll-into-view-if-needed';
|
|
5
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
5
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
6
6
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
8
8
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
9
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & EditableTableProps<RecordType
|
|
9
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:value"> & EditableTableProps<RecordType>> & PublicProps;
|
|
10
10
|
expose(exposed: ShallowUnwrapRef<{
|
|
11
11
|
resetFields: () => void;
|
|
12
12
|
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
@@ -53,7 +53,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
53
53
|
}) => void;
|
|
54
54
|
};
|
|
55
55
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
56
|
-
}>) => VNode
|
|
56
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
}> & {
|
|
57
59
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
58
60
|
};
|
|
59
61
|
export default _default;
|