@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,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("@aplus-frontend/antdv");require("../../../config-provider/index.js");const V=require("../images/icon-line-select.vue.js"),B=require("@aplus-frontend/utils"),b=require("../../../config-provider/hooks/use-locale.js"),x=require("../../../config-provider/hooks/use-global-config.js"),_=require("../../../config-provider/hooks/use-namespace.js"),k=e.defineComponent({__name:"index",props:{value:{},defaultValue:{},notFoundContent:{},itemIcon:{},size:{},bordered:{type:Boolean},transitionName:{},choiceTransitionName:{},popupClassName:{},dropdownClassName:{},placement:{},status:{},"onUpdate:value":{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean},animation:{},direction:{},disabled:{type:Boolean},prefixCls:{},id:{},autofocus:{type:Boolean},getPopupContainer:{},virtual:{type:Boolean},dropdownMatchSelectWidth:{},options:{},showAction:{},onDeselect:{},loading:{type:Boolean},placeholder:{},clearIcon:{},allowClear:{type:Boolean},onSearch:{},fieldNames:{},dropdownStyle:{},dropdownRender:{},dropdownAlign:{},showSearch:{type:Boolean},searchValue:{},onInputKeyDown:{},removeIcon:{},maxTagCount:{},maxTagTextLength:{},maxTagPlaceholder:{},tokenSeparators:{},tagRender:{},optionLabelRender:{},onClear:{},defaultOpen:{type:Boolean},onDropdownVisibleChange:{},showArrow:{type:Boolean},onPopupScroll:{},menuItemSelectedIcon:{},listItemHeight:{},inputValue:{},autoClearSearchValue:{type:Boolean},filterOption:{},filterSort:{},optionFilterProp:{},optionLabelProp:{},defaultActiveFirstOption:{type:Boolean},
|
|
2
|
-
`,"\r"],"max-tag-count":200,open:!1,onChange:d[0]||(d[0]=N=>C(N))}),null,16,["value","placeholder"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("@aplus-frontend/antdv");require("../../../config-provider/index.js");const V=require("../images/icon-line-select.vue.js"),B=require("@aplus-frontend/utils"),b=require("../../../config-provider/hooks/use-locale.js"),x=require("../../../config-provider/hooks/use-global-config.js"),_=require("../../../config-provider/hooks/use-namespace.js"),k=e.defineComponent({__name:"index",props:{value:{},defaultValue:{},notFoundContent:{},itemIcon:{},size:{},bordered:{type:Boolean},transitionName:{},choiceTransitionName:{},popupClassName:{},dropdownClassName:{},placement:{},status:{},"onUpdate:value":{},children:{},listHeight:{},onMouseenter:{},onMouseleave:{},tabindex:{},onClick:{},onFocus:{},onBlur:{},onChange:{},onKeydown:{},onKeyup:{},onMousedown:{},onSelect:{},open:{type:Boolean},animation:{},direction:{},disabled:{type:Boolean},prefixCls:{},id:{},autofocus:{type:Boolean},getPopupContainer:{},virtual:{type:Boolean},dropdownMatchSelectWidth:{},options:{},showAction:{},onDeselect:{},loading:{type:Boolean},placeholder:{},clearIcon:{},allowClear:{type:Boolean},onSearch:{},fieldNames:{},dropdownStyle:{},dropdownRender:{},dropdownAlign:{},showSearch:{type:Boolean},searchValue:{},onInputKeyDown:{},removeIcon:{},maxTagCount:{},maxTagTextLength:{},maxTagPlaceholder:{},tokenSeparators:{},tagRender:{},optionLabelRender:{},onClear:{},defaultOpen:{type:Boolean},onDropdownVisibleChange:{},showArrow:{type:Boolean},onPopupScroll:{},menuItemSelectedIcon:{},listItemHeight:{},inputValue:{},autoClearSearchValue:{type:Boolean},filterOption:{},filterSort:{},optionFilterProp:{},optionLabelProp:{},defaultActiveFirstOption:{type:Boolean},labelInValue:{type:Boolean},__parentRef:{}},emits:["submit","open-change"],setup(f,{emit:m}){const{t:r}=b.useLocale(),u=x.useGlobalConfig("uiMode","aplus"),l=f,p=m,t=e.ref([]),s=e.ref(!1),c=e.ref();e.watchEffect(()=>{t.value=l.value});const h=o=>l.__parentRef||o,g=o=>{s.value=o,p("open-change",o)},i=()=>{s.value=!1},v=()=>{t.value=[]},C=o=>{t.value=o},y=async()=>{var o;(o=c.value)==null||o.blur(),i(),await B.wait(150),p("submit",t.value)},{b:S,e:w,em:a}=_.useNamespace("ap-popover-select");return(o,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(S)())},[e.createVNode(e.unref(n.Popover),{"overlay-class-name":e.unref(w)("popover"),"get-popup-container":h,trigger:"click",open:s.value,placement:"bottomLeft",onOpenChange:g},{content:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a)("popover","content"))},[e.createVNode(e.unref(n.Select),e.mergeProps({...l},{ref_key:"selectRef",ref:c,mode:"tags",bordered:!1,value:t.value,placeholder:e.unref(r)("ap.apGroupSearch.tokenSeparatorsPlaceholder"),"token-separators":[",",`
|
|
2
|
+
`,"\r"],"max-tag-count":200,open:!1,onChange:d[0]||(d[0]=N=>C(N))}),null,16,["value","placeholder"])],2),e.createElementVNode("div",{class:e.normalizeClass(e.unref(u)==="aplus"?e.unref(a)("popover","footer"):e.unref(a)("popover","footer--admin"))},[e.createVNode(e.unref(n.Button),{size:"small",onClick:i},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("ap.apGroupSearch.close")),1)]),_:1}),e.createVNode(e.unref(n.Space),null,{default:e.withCtx(()=>[e.createVNode(e.unref(n.Button),{size:"small",onClick:v},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("ap.apGroupSearch.clear")),1)]),_:1}),e.createVNode(e.unref(n.Button),{size:"small",type:"primary",onClick:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("ap.apGroupSearch.confirm")),1)]),_:1})]),_:1})],2)])]),default:e.withCtx(()=>[e.createElementVNode("span",{class:e.normalizeClass(e.unref(u)==="aplus"?e.unref(a)("popover","trigger"):e.unref(a)("popover","trigger--admin"))},[e.createVNode(V.default)],2)]),_:1},8,["overlay-class-name","open"])],2))}});exports.default=k;
|
|
@@ -2,7 +2,6 @@ import { ApImageProps } from './interface';
|
|
|
2
2
|
import { ImgInfo } from '@aplus-frontend/antdv/es/vc-image/src/Preview';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
-
attrs: Partial<{}>;
|
|
6
5
|
slots: {
|
|
7
6
|
toolbarRender?(_: {
|
|
8
7
|
originalNodes: import("vue/jsx-runtime").JSX.Element[];
|
|
@@ -30,7 +29,7 @@ declare function __VLS_template(): {
|
|
|
30
29
|
}): any;
|
|
31
30
|
};
|
|
32
31
|
refs: {};
|
|
33
|
-
|
|
32
|
+
attrs: Partial<{}>;
|
|
34
33
|
};
|
|
35
34
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
35
|
declare const __VLS_component: DefineComponent<ApImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApImageProps> & Readonly<{}>, {
|
|
@@ -10,5 +10,5 @@ declare const _default: DefineComponent<ApInputRadioProps, {}, {}, {}, {}, Compo
|
|
|
10
10
|
bordered: boolean;
|
|
11
11
|
stringMode: boolean;
|
|
12
12
|
controls: boolean;
|
|
13
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
export default _default;
|
|
@@ -12,7 +12,7 @@ declare const ApInputRadio: {
|
|
|
12
12
|
bordered: boolean;
|
|
13
13
|
stringMode: boolean;
|
|
14
14
|
controls: boolean;
|
|
15
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {},
|
|
15
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
16
16
|
P: {};
|
|
17
17
|
B: {};
|
|
18
18
|
D: {};
|
|
@@ -7,13 +7,12 @@ import { LiteralUnion } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
7
7
|
import { PresetColorType } from '@aplus-frontend/antdv/es/_util/colors';
|
|
8
8
|
import { AlignType, BuildInPlacements } from '@aplus-frontend/antdv/es/vc-trigger/interface';
|
|
9
9
|
declare function __VLS_template(): {
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
10
|
slots: Readonly<ApLadderSlots> & ApLadderSlots;
|
|
12
11
|
refs: {
|
|
13
12
|
wrapperRef: HTMLDivElement;
|
|
14
13
|
valueRefs: HTMLSpanElement;
|
|
15
14
|
};
|
|
16
|
-
|
|
15
|
+
attrs: Partial<{}>;
|
|
17
16
|
};
|
|
18
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
18
|
declare const __VLS_component: DefineComponent<ApLadderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApLadderProps> & Readonly<{}>, {
|
|
@@ -95,10 +94,7 @@ declare const __VLS_component: DefineComponent<ApLadderProps, {}, {}, {}, {}, Co
|
|
|
95
94
|
unitStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
96
95
|
tooltipLabelStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
97
96
|
tooltipValueStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
98
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
99
|
-
wrapperRef: HTMLDivElement;
|
|
100
|
-
valueRefs: HTMLSpanElement;
|
|
101
|
-
}, HTMLDivElement>;
|
|
97
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
102
98
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
103
99
|
export default _default;
|
|
104
100
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -10,5 +10,5 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
10
10
|
type: PropType<ApLadderLabelValue>;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default _default;
|
|
@@ -87,10 +87,7 @@ declare const ApLadder: {
|
|
|
87
87
|
unitStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
88
88
|
tooltipLabelStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
89
89
|
tooltipValueStyles: string | false | CSSProperties | StyleValue[] | null;
|
|
90
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
91
|
-
wrapperRef: HTMLDivElement;
|
|
92
|
-
valueRefs: HTMLSpanElement;
|
|
93
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
90
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
94
91
|
P: {};
|
|
95
92
|
B: {};
|
|
96
93
|
D: {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApSelectItem } from './interface';
|
|
2
|
-
import { PublicProps, ShallowUnwrapRef, VNode, Plugin } from 'vue';
|
|
2
|
+
import { PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement, Plugin } from 'vue';
|
|
3
3
|
export * from './interface';
|
|
4
4
|
declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
5
5
|
attrs: any;
|
|
@@ -38,7 +38,9 @@ declare const ApSelectLayout: (<T extends ApSelectItem>(__VLS_props: NonNullable
|
|
|
38
38
|
(event: "afterEnter", el: Element): void;
|
|
39
39
|
(event: "afterLeave", el: Element): void;
|
|
40
40
|
};
|
|
41
|
-
}>) => VNode
|
|
41
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}> & {
|
|
42
44
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
43
45
|
}) & ( Plugin & (new (...args: any[]) => {
|
|
44
46
|
$props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ApSelectItem, ApSelectLayoutProps } from './interface';
|
|
2
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
3
3
|
declare const _default: <T extends ApSelectItem>(__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<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly onOnSelect?: ((value: T) => any) | undefined;
|
|
6
6
|
readonly onAfterEnter?: ((el: Element) => any) | undefined;
|
|
7
7
|
readonly onAfterLeave?: ((el: Element) => any) | undefined;
|
|
8
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onAfterEnter" | "onAfterLeave" | "onOnSelect"> & ApSelectLayoutProps<T
|
|
8
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onAfterEnter" | "onAfterLeave" | "onOnSelect"> & ApSelectLayoutProps<T>> & PublicProps;
|
|
9
9
|
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
10
10
|
attrs: any;
|
|
11
11
|
slots: {
|
|
@@ -19,7 +19,9 @@ declare const _default: <T extends ApSelectItem>(__VLS_props: NonNullable<Awaite
|
|
|
19
19
|
(event: "afterEnter", el: Element): void;
|
|
20
20
|
(event: "afterLeave", el: Element): void;
|
|
21
21
|
};
|
|
22
|
-
}>) => VNode
|
|
22
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}> & {
|
|
23
25
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
26
|
};
|
|
25
27
|
export default _default;
|
|
@@ -25,6 +25,20 @@ export declare function useCreateTableModal(props: UseCreateTableModalProps): {
|
|
|
25
25
|
toggleSelect: (item: any) => void;
|
|
26
26
|
} | undefined;
|
|
27
27
|
getShownColumns: () => TableColumnsType<any>;
|
|
28
|
+
scrollBar: {
|
|
29
|
+
x: {
|
|
30
|
+
scroll: (percent: number) => void;
|
|
31
|
+
currentScroll: number;
|
|
32
|
+
visible: boolean;
|
|
33
|
+
rootElement: HTMLElement;
|
|
34
|
+
};
|
|
35
|
+
y: {
|
|
36
|
+
scroll: (percent: number) => void;
|
|
37
|
+
currentScroll: number;
|
|
38
|
+
visible: boolean;
|
|
39
|
+
rootElement: HTMLElement;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
28
42
|
} | null | undefined;
|
|
29
43
|
readonly isDestroyed: true;
|
|
30
44
|
};
|
|
@@ -23,6 +23,20 @@ export declare function useTableModal<TableRowType = Record<string, any>>(props:
|
|
|
23
23
|
toggleSelect: (item: any) => void;
|
|
24
24
|
} | undefined;
|
|
25
25
|
getShownColumns: () => TableColumnsType<any>;
|
|
26
|
+
scrollBar: {
|
|
27
|
+
x: {
|
|
28
|
+
scroll: (percent: number) => void;
|
|
29
|
+
currentScroll: number;
|
|
30
|
+
visible: boolean;
|
|
31
|
+
rootElement: HTMLElement;
|
|
32
|
+
};
|
|
33
|
+
y: {
|
|
34
|
+
scroll: (percent: number) => void;
|
|
35
|
+
currentScroll: number;
|
|
36
|
+
visible: boolean;
|
|
37
|
+
rootElement: HTMLElement;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
26
40
|
} | null | undefined;
|
|
27
41
|
isDestroyed: true;
|
|
28
42
|
open: (options?: OpenOptions) => Promise<void>;
|
|
@@ -22,6 +22,20 @@ export declare function useTableSelectModal<TableRowType = Record<string, any>>(
|
|
|
22
22
|
toggleSelect: (item: any) => void;
|
|
23
23
|
} | undefined;
|
|
24
24
|
getShownColumns: () => TableColumnsType<any>;
|
|
25
|
+
scrollBar: {
|
|
26
|
+
x: {
|
|
27
|
+
scroll: (percent: number) => void;
|
|
28
|
+
currentScroll: number;
|
|
29
|
+
visible: boolean;
|
|
30
|
+
rootElement: HTMLElement;
|
|
31
|
+
};
|
|
32
|
+
y: {
|
|
33
|
+
scroll: (percent: number) => void;
|
|
34
|
+
currentScroll: number;
|
|
35
|
+
visible: boolean;
|
|
36
|
+
rootElement: HTMLElement;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
25
39
|
} | null | undefined;
|
|
26
40
|
isDestroyed: true;
|
|
27
41
|
open: (selected?: any[], options?: OpenOptions) => Promise<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useTableModal } from './hooks/use-table-modal';
|
|
2
2
|
import { useTableSelectModal } from './hooks/use-table-select-modal';
|
|
3
|
-
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives,
|
|
3
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
|
|
4
4
|
import { ApTableModalProps, OpenOptions, OpenReturnType } from './interface';
|
|
5
5
|
import { Recordable } from '../../type';
|
|
6
6
|
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
@@ -31,6 +31,20 @@ declare const ApTableModal: {
|
|
|
31
31
|
toggleSelect: (item: any) => void;
|
|
32
32
|
} | undefined;
|
|
33
33
|
getShownColumns: () => TableColumnsType<any>;
|
|
34
|
+
scrollBar: {
|
|
35
|
+
x: {
|
|
36
|
+
scroll: (percent: number) => void;
|
|
37
|
+
currentScroll: number;
|
|
38
|
+
visible: boolean;
|
|
39
|
+
rootElement: HTMLElement;
|
|
40
|
+
};
|
|
41
|
+
y: {
|
|
42
|
+
scroll: (percent: number) => void;
|
|
43
|
+
currentScroll: number;
|
|
44
|
+
visible: boolean;
|
|
45
|
+
rootElement: HTMLElement;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
34
48
|
} | null;
|
|
35
49
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
36
50
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
@@ -51,27 +65,7 @@ declare const ApTableModal: {
|
|
|
51
65
|
focusTriggerAfterClose: boolean;
|
|
52
66
|
maxCount: number;
|
|
53
67
|
isRenderModalTitleSuffix: boolean;
|
|
54
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
55
|
-
apTableRef: ShallowUnwrapRef<{
|
|
56
|
-
submit: () => void;
|
|
57
|
-
reset: () => void;
|
|
58
|
-
refresh: () => void;
|
|
59
|
-
setSearchFormValues: (fields: any) => void;
|
|
60
|
-
getSearchFormValues: (transform?: boolean) => Partial<any> | undefined;
|
|
61
|
-
getShownColumns: () => TableColumnsType<any>;
|
|
62
|
-
dataSource: ComputedRef<any[]>;
|
|
63
|
-
rowSelection: {
|
|
64
|
-
select: (item: any) => void;
|
|
65
|
-
unSelect: (item: any) => void;
|
|
66
|
-
isSelected: (item: any) => boolean;
|
|
67
|
-
selectAll: () => void;
|
|
68
|
-
unSelectAll: () => void;
|
|
69
|
-
clearAll: () => void;
|
|
70
|
-
toggleSelect: (item: any) => void;
|
|
71
|
-
selectedRows: ComputedRef<any[]>;
|
|
72
|
-
};
|
|
73
|
-
}> | null;
|
|
74
|
-
}, any, ComponentProvideOptions, {
|
|
68
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
75
69
|
P: {};
|
|
76
70
|
B: {};
|
|
77
71
|
D: {};
|
|
@@ -101,6 +95,20 @@ declare const ApTableModal: {
|
|
|
101
95
|
toggleSelect: (item: any) => void;
|
|
102
96
|
} | undefined;
|
|
103
97
|
getShownColumns: () => TableColumnsType<any>;
|
|
98
|
+
scrollBar: {
|
|
99
|
+
x: {
|
|
100
|
+
scroll: (percent: number) => void;
|
|
101
|
+
currentScroll: number;
|
|
102
|
+
visible: boolean;
|
|
103
|
+
rootElement: HTMLElement;
|
|
104
|
+
};
|
|
105
|
+
y: {
|
|
106
|
+
scroll: (percent: number) => void;
|
|
107
|
+
currentScroll: number;
|
|
108
|
+
visible: boolean;
|
|
109
|
+
rootElement: HTMLElement;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
104
112
|
} | null;
|
|
105
113
|
}, {}, {}, {}, {
|
|
106
114
|
mask: boolean;
|
|
@@ -146,6 +154,20 @@ declare const ApTableModal: {
|
|
|
146
154
|
toggleSelect: (item: any) => void;
|
|
147
155
|
} | undefined;
|
|
148
156
|
getShownColumns: () => TableColumnsType<any>;
|
|
157
|
+
scrollBar: {
|
|
158
|
+
x: {
|
|
159
|
+
scroll: (percent: number) => void;
|
|
160
|
+
currentScroll: number;
|
|
161
|
+
visible: boolean;
|
|
162
|
+
rootElement: HTMLElement;
|
|
163
|
+
};
|
|
164
|
+
y: {
|
|
165
|
+
scroll: (percent: number) => void;
|
|
166
|
+
currentScroll: number;
|
|
167
|
+
visible: boolean;
|
|
168
|
+
rootElement: HTMLElement;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
149
171
|
} | null;
|
|
150
172
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
151
173
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
3
|
slots: {
|
|
5
4
|
default?(_: {
|
|
6
5
|
maxCount: number;
|
|
@@ -8,7 +7,7 @@ declare function __VLS_template(): {
|
|
|
8
7
|
}): any;
|
|
9
8
|
};
|
|
10
9
|
refs: {};
|
|
11
|
-
|
|
10
|
+
attrs: Partial<{}>;
|
|
12
11
|
};
|
|
13
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
13
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
@@ -37,7 +36,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
37
36
|
type: NumberConstructor;
|
|
38
37
|
required: true;
|
|
39
38
|
};
|
|
40
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
39
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
41
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
41
|
export default _default;
|
|
43
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { TableLayoutConfig } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, VNodeArrayChildren, VNode, RendererNode, RendererElement, ComponentProvideOptions } from 'vue';
|
|
3
|
-
type __VLS_Props = TableLayoutConfig & {
|
|
4
|
-
selectedList: any[];
|
|
5
|
-
};
|
|
6
3
|
declare function __VLS_template(): {
|
|
7
|
-
attrs: Partial<{}>;
|
|
8
4
|
slots: {
|
|
9
5
|
default?(_: {}): any;
|
|
10
6
|
default?(_: {}): any;
|
|
11
7
|
};
|
|
12
8
|
refs: {};
|
|
13
|
-
|
|
9
|
+
attrs: Partial<{}>;
|
|
14
10
|
};
|
|
15
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: DefineComponent<
|
|
12
|
+
declare const __VLS_component: DefineComponent<TableLayoutConfig & {
|
|
13
|
+
selectedList: any[];
|
|
14
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
15
|
clear: () => any;
|
|
18
16
|
deleteItem: (record: any) => any;
|
|
19
|
-
}, string, PublicProps, Readonly<
|
|
17
|
+
}, string, PublicProps, Readonly<TableLayoutConfig & {
|
|
18
|
+
selectedList: any[];
|
|
19
|
+
}> & Readonly<{
|
|
20
20
|
onClear?: (() => any) | undefined;
|
|
21
21
|
onDeleteItem?: ((record: any) => any) | undefined;
|
|
22
22
|
}>, {
|
|
@@ -24,7 +24,7 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
24
24
|
[key: string]: any;
|
|
25
25
|
}> | null;
|
|
26
26
|
selectedList: any[];
|
|
27
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
27
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
29
|
export default _default;
|
|
30
30
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { OpenOptions, OpenReturnType, ApTableModalProps } from './interface';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { Recordable } from '../../type';
|
|
4
4
|
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
5
|
-
|
|
6
|
-
declare const _default: DefineComponent<__VLS_Props, {
|
|
5
|
+
declare const _default: DefineComponent<ApTableModalProps<any>, {
|
|
7
6
|
open: <T>(selected?: any[], options?: OpenOptions) => Promise<OpenReturnType<T>>;
|
|
8
7
|
close: () => void;
|
|
9
8
|
getApTableInstance: () => {
|
|
@@ -24,10 +23,24 @@ declare const _default: DefineComponent<__VLS_Props, {
|
|
|
24
23
|
toggleSelect: (item: any) => void;
|
|
25
24
|
} | undefined;
|
|
26
25
|
getShownColumns: () => TableColumnsType<any>;
|
|
26
|
+
scrollBar: {
|
|
27
|
+
x: {
|
|
28
|
+
scroll: (percent: number) => void;
|
|
29
|
+
currentScroll: number;
|
|
30
|
+
visible: boolean;
|
|
31
|
+
rootElement: HTMLElement;
|
|
32
|
+
};
|
|
33
|
+
y: {
|
|
34
|
+
scroll: (percent: number) => void;
|
|
35
|
+
currentScroll: number;
|
|
36
|
+
visible: boolean;
|
|
37
|
+
rootElement: HTMLElement;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
27
40
|
} | null;
|
|
28
41
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
42
|
finish: (selectedRowKeys: (string | number)[], selectedRows: any[]) => any;
|
|
30
|
-
}, string, PublicProps, Readonly<
|
|
43
|
+
}, string, PublicProps, Readonly<ApTableModalProps<any>> & Readonly<{
|
|
31
44
|
onFinish?: ((selectedRowKeys: (string | number)[], selectedRows: any[]) => any) | undefined;
|
|
32
45
|
}>, {
|
|
33
46
|
mask: boolean;
|
|
@@ -46,25 +59,5 @@ declare const _default: DefineComponent<__VLS_Props, {
|
|
|
46
59
|
focusTriggerAfterClose: boolean;
|
|
47
60
|
maxCount: number;
|
|
48
61
|
isRenderModalTitleSuffix: boolean;
|
|
49
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
50
|
-
apTableRef: ShallowUnwrapRef<{
|
|
51
|
-
submit: () => void;
|
|
52
|
-
reset: () => void;
|
|
53
|
-
refresh: () => void;
|
|
54
|
-
setSearchFormValues: (fields: any) => void;
|
|
55
|
-
getSearchFormValues: (transform?: boolean) => Partial<any> | undefined;
|
|
56
|
-
getShownColumns: () => TableColumnsType<any>;
|
|
57
|
-
dataSource: ComputedRef<any[]>;
|
|
58
|
-
rowSelection: {
|
|
59
|
-
select: (item: any) => void;
|
|
60
|
-
unSelect: (item: any) => void;
|
|
61
|
-
isSelected: (item: any) => boolean;
|
|
62
|
-
selectAll: () => void;
|
|
63
|
-
unSelectAll: () => void;
|
|
64
|
-
clearAll: () => void;
|
|
65
|
-
toggleSelect: (item: any) => void;
|
|
66
|
-
selectedRows: ComputedRef<any[]>;
|
|
67
|
-
};
|
|
68
|
-
}> | null;
|
|
69
|
-
}, any>;
|
|
62
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
70
63
|
export default _default;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ApTitleProps } from './interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
4
|
slots: {
|
|
6
5
|
prefix?(_: {}): any;
|
|
7
6
|
suffix?(_: {}): any;
|
|
8
7
|
};
|
|
9
8
|
refs: {};
|
|
10
|
-
|
|
9
|
+
attrs: Partial<{}>;
|
|
11
10
|
};
|
|
12
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
12
|
declare const __VLS_component: DefineComponent<ApTitleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTitleProps> & Readonly<{}>, {
|
|
@@ -16,7 +15,7 @@ declare const __VLS_component: DefineComponent<ApTitleProps, {}, {}, {}, {}, Com
|
|
|
16
15
|
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
17
16
|
helpMessage: string;
|
|
18
17
|
helpIconColor: string;
|
|
19
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
20
19
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
20
|
export default _default;
|
|
22
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -8,7 +8,7 @@ declare const ApTitle: {
|
|
|
8
8
|
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
9
9
|
helpMessage: string;
|
|
10
10
|
helpIconColor: string;
|
|
11
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {},
|
|
11
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
12
12
|
P: {};
|
|
13
13
|
B: {};
|
|
14
14
|
D: {};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ApUploadFile, ApUploadSingleProps } from '../interface';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
type __VLS_Props = ApUploadSingleProps;
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
|
-
attrs: Partial<{}>;
|
|
6
4
|
slots: {
|
|
7
5
|
default?(_: {
|
|
8
6
|
file: ApUploadFile | undefined;
|
|
@@ -10,12 +8,12 @@ declare function __VLS_template(): {
|
|
|
10
8
|
}): any;
|
|
11
9
|
};
|
|
12
10
|
refs: {};
|
|
13
|
-
|
|
11
|
+
attrs: Partial<{}>;
|
|
14
12
|
};
|
|
15
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: DefineComponent<
|
|
14
|
+
declare const __VLS_component: DefineComponent<ApUploadSingleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
15
|
"update:fileList": (...args: any[]) => void;
|
|
18
|
-
}, string, PublicProps, Readonly<
|
|
16
|
+
}, string, PublicProps, Readonly<ApUploadSingleProps> & Readonly<{
|
|
19
17
|
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
20
18
|
}>, {
|
|
21
19
|
accept: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {},
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
3
|
export default _default;
|