@aplus-frontend/ui 7.1.1 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.mjs +207 -211
- package/es/src/ag-grid/index.vue.mjs +247 -239
- package/es/src/ap-form/style/search-form-sorter.mjs +1 -1
- package/es/src/ap-grid/index.vue.mjs +197 -197
- package/es/src/ap-pro-card/components/statistic-card/index.vue.mjs +122 -2
- package/es/src/ap-pro-card/components/statistic-card/index.vue2.mjs +2 -122
- package/es/src/ap-pro-card/components/title/index.vue.d.ts +3 -0
- package/es/src/ap-pro-card/components/title/index.vue2.mjs +18 -13
- package/es/src/ap-pro-card/index.d.ts +1 -1
- package/es/src/ap-pro-card/index.mjs +2 -2
- package/es/src/ap-pro-card/statistic-card/index.d.ts +2 -0
- package/es/src/ap-pro-card/statistic-card/index.mjs +5 -0
- package/es/src/ap-table/ap-table.vue2.mjs +190 -190
- package/es/src/business/ag-grid-modal/hooks/use-modal-title.mjs +16 -13
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +2 -2
- package/es/src/business/ap-attachment/ApAttachment.mjs +2 -2
- package/es/src/business/ap-attachment/interface.d.ts +1 -1
- package/es/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue.mjs +3 -3
- package/es/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue2.mjs +2 -2
- package/es/src/{ap-descriptions → business/ap-descriptions}/style/index.mjs +1 -1
- package/es/src/{ap-download → business/ap-download}/ap-download.vue.mjs +3 -3
- package/es/src/{ap-download → business/ap-download}/hooks/useStyle.mjs +3 -3
- package/es/src/{ap-download → business/ap-download}/style/index.mjs +1 -1
- package/es/src/business/ap-image/ApImage.vue2.mjs +45 -42
- package/es/src/business/ap-image/interface.d.ts +2 -0
- package/es/src/business/ap-label/group/ApLabelGroup.mjs +11 -10
- package/es/src/business/ap-label/interface.d.ts +1 -1
- package/es/src/{ap-tag → business/ap-tag}/ap-tag-group.vue.mjs +7 -7
- package/es/src/{ap-tag → business/ap-tag}/ap-tag.vue.mjs +2 -2
- package/es/src/{ap-tag → business/ap-tag}/style/group.d.ts +1 -1
- package/es/src/{ap-tag → business/ap-tag}/style/group.mjs +1 -1
- package/{lib/src → es/src/business}/ap-tag/style/index.d.ts +1 -1
- package/es/src/{ap-tag → business/ap-tag}/style/index.mjs +1 -1
- package/es/src/business/ap-title/ApTitle.vue2.mjs +24 -21
- package/es/src/business/ap-title/interface.d.ts +2 -0
- package/es/src/{ap-upload → business/ap-upload}/apUpload.vue.mjs +4 -4
- package/es/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue2.mjs +4 -4
- package/es/src/{ap-upload → business/ap-upload}/components/Picture.vue2.mjs +3 -3
- package/es/src/{ap-upload → business/ap-upload}/components/SingleFile.vue2.mjs +4 -4
- package/es/src/{ap-upload → business/ap-upload}/hooks/useOss.d.ts +1 -1
- package/es/src/{ap-upload → business/ap-upload}/style/index.mjs +1 -1
- package/es/src/business/ap-upload/style/multiple-file.d.ts +2 -0
- package/es/src/business/ap-upload/style/picture.d.ts +2 -0
- package/es/src/business/ap-upload/style/single-file.d.ts +2 -0
- package/{lib/src → es/src/business}/ap-upload/utils/accept.d.ts +1 -1
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +1 -1
- package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +2 -2
- package/es/src/business/hooks/index.d.ts +0 -2
- package/es/src/business/hooks/index.mjs +5 -9
- package/es/src/business/hooks/usePageListApGrid.d.ts +1 -2
- package/es/src/business/hooks/usePageListApGrid.mjs +35 -44
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -2
- package/es/src/business/hooks/usePageListApTable.mjs +46 -48
- package/es/src/business/index.d.ts +4 -0
- package/es/src/business/index.mjs +58 -54
- package/es/src/config-provider/config-provider-props.d.ts +20 -3
- package/es/src/config-provider/config-provider-props.mjs +12 -0
- package/es/src/config-provider/config-provider.d.ts +33 -3
- package/es/src/config-provider/config-provider.mjs +35 -35
- package/es/src/config-provider/constants.d.ts +1 -0
- package/es/src/config-provider/hooks/use-global-config.d.ts +17 -2
- package/es/src/config-provider/hooks/use-locale.d.ts +2 -2
- package/es/src/config-provider/index.d.ts +49 -4
- package/es/src/index.d.ts +0 -4
- package/es/src/index.mjs +297 -305
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ap-form/style/search-form-sorter.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue.js +1 -1
- package/lib/src/ap-pro-card/components/statistic-card/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/components/title/index.vue.d.ts +3 -0
- package/lib/src/ap-pro-card/components/title/index.vue2.js +1 -1
- package/lib/src/ap-pro-card/index.d.ts +1 -1
- package/lib/src/ap-pro-card/index.js +1 -1
- package/lib/src/ap-pro-card/statistic-card/index.d.ts +2 -0
- package/lib/src/ap-pro-card/statistic-card/index.js +1 -0
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-modal-title.js +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/interface.d.ts +1 -1
- package/lib/src/business/ap-descriptions/ap-descriptions.vue.js +1 -0
- package/lib/src/business/ap-descriptions/help-message/index.vue2.js +1 -0
- package/lib/src/business/ap-descriptions/style/index.js +1 -0
- package/lib/src/business/ap-download/ap-download.vue.js +1 -0
- package/lib/src/business/ap-download/hooks/useStyle.js +1 -0
- package/lib/src/business/ap-download/style/index.js +1 -0
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-image/interface.d.ts +2 -0
- package/lib/src/business/ap-label/group/ApLabelGroup.js +1 -1
- package/lib/src/business/ap-label/interface.d.ts +1 -1
- package/lib/src/business/ap-tag/ap-tag-group.vue.js +1 -0
- package/lib/src/business/ap-tag/ap-tag.vue.js +1 -0
- package/lib/src/{ap-tag → business/ap-tag}/style/group.d.ts +1 -1
- package/lib/src/business/ap-tag/style/group.js +1 -0
- package/{es/src → lib/src/business}/ap-tag/style/index.d.ts +1 -1
- package/lib/src/business/ap-tag/style/index.js +1 -0
- package/lib/src/business/ap-title/ApTitle.vue2.js +1 -1
- package/lib/src/business/ap-title/interface.d.ts +2 -0
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -0
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -0
- package/lib/src/business/ap-upload/components/Picture.vue2.js +1 -0
- package/lib/src/business/ap-upload/components/SingleFile.vue2.js +1 -0
- package/lib/src/{ap-upload → business/ap-upload}/hooks/useOss.d.ts +1 -1
- package/lib/src/business/ap-upload/style/index.js +1 -0
- package/lib/src/business/ap-upload/style/multiple-file.d.ts +2 -0
- package/lib/src/business/ap-upload/style/picture.d.ts +2 -0
- package/lib/src/business/ap-upload/style/single-file.d.ts +2 -0
- package/{es/src → lib/src/business}/ap-upload/utils/accept.d.ts +1 -1
- package/lib/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.d.ts +1 -1
- package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
- package/lib/src/business/hooks/index.d.ts +0 -2
- package/lib/src/business/hooks/index.js +1 -1
- package/lib/src/business/hooks/usePageListApGrid.d.ts +1 -2
- package/lib/src/business/hooks/usePageListApGrid.js +1 -1
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -2
- package/lib/src/business/hooks/usePageListApTable.js +1 -1
- package/lib/src/business/index.d.ts +4 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +20 -3
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +33 -3
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/constants.d.ts +1 -0
- package/lib/src/config-provider/hooks/use-global-config.d.ts +17 -2
- package/lib/src/config-provider/hooks/use-locale.d.ts +2 -2
- package/lib/src/config-provider/index.d.ts +49 -4
- package/lib/src/index.d.ts +0 -4
- package/lib/src/index.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +6 -5
- package/es/src/ap-upload/style/multiple-file.d.ts +0 -2
- package/es/src/ap-upload/style/picture.d.ts +0 -2
- package/es/src/ap-upload/style/single-file.d.ts +0 -2
- package/es/src/business/hooks/useGridRefresh.d.ts +0 -17
- package/es/src/business/hooks/useGridRefresh.mjs +0 -16
- package/es/src/business/hooks/useTableRefresh.d.ts +0 -20
- package/es/src/business/hooks/useTableRefresh.mjs +0 -57
- package/lib/src/ap-descriptions/ap-descriptions.vue.js +0 -1
- package/lib/src/ap-descriptions/help-message/index.vue2.js +0 -1
- package/lib/src/ap-descriptions/style/index.js +0 -1
- package/lib/src/ap-download/ap-download.vue.js +0 -1
- package/lib/src/ap-download/hooks/useStyle.js +0 -1
- package/lib/src/ap-download/style/index.js +0 -1
- package/lib/src/ap-tag/ap-tag-group.vue.js +0 -1
- package/lib/src/ap-tag/ap-tag.vue.js +0 -1
- package/lib/src/ap-tag/style/group.js +0 -1
- package/lib/src/ap-tag/style/index.js +0 -1
- package/lib/src/ap-upload/apUpload.vue.js +0 -1
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +0 -1
- package/lib/src/ap-upload/components/Picture.vue2.js +0 -1
- package/lib/src/ap-upload/components/SingleFile.vue2.js +0 -1
- package/lib/src/ap-upload/style/index.js +0 -1
- package/lib/src/ap-upload/style/multiple-file.d.ts +0 -2
- package/lib/src/ap-upload/style/picture.d.ts +0 -2
- package/lib/src/ap-upload/style/single-file.d.ts +0 -2
- package/lib/src/business/hooks/useGridRefresh.d.ts +0 -17
- package/lib/src/business/hooks/useGridRefresh.js +0 -1
- package/lib/src/business/hooks/useTableRefresh.d.ts +0 -20
- package/lib/src/business/hooks/useTableRefresh.js +0 -1
- package/es/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue.d.ts +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue2.mjs +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/formatter/index.d.ts +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/formatter/index.mjs +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/formatter/utils.d.ts +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/formatter/utils.mjs +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue.d.ts +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue.mjs +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/helper.d.ts +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/helper.mjs +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/index.d.ts +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/index.mjs +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/interface.d.ts +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/interface.mjs +0 -0
- package/es/src/{ap-descriptions → business/ap-descriptions}/style/index.d.ts +0 -0
- package/es/src/{ap-download → business/ap-download}/ap-download.vue.d.ts +0 -0
- package/es/src/{ap-download → business/ap-download}/ap-download.vue2.mjs +0 -0
- package/es/src/{ap-download → business/ap-download}/hooks/index.d.ts +0 -0
- package/es/src/{ap-download → business/ap-download}/hooks/index.mjs +0 -0
- package/es/src/{ap-download → business/ap-download}/hooks/useStyle.d.ts +0 -0
- package/es/src/{ap-download → business/ap-download}/index.d.ts +0 -0
- package/es/src/{ap-download → business/ap-download}/index.mjs +0 -0
- package/es/src/{ap-download → business/ap-download}/interface.d.ts +0 -0
- package/es/src/{ap-download → business/ap-download}/interface.mjs +0 -0
- package/es/src/{ap-download → business/ap-download}/style/index.d.ts +0 -0
- package/es/src/{ap-download → business/ap-download}/utils/getFileInfo.d.ts +0 -0
- package/es/src/{ap-download → business/ap-download}/utils/getFileInfo.mjs +0 -0
- package/es/src/{ap-tag → business/ap-tag}/ap-tag-group.vue.d.ts +0 -0
- package/es/src/{ap-tag → business/ap-tag}/ap-tag-group.vue2.mjs +0 -0
- package/es/src/{ap-tag → business/ap-tag}/ap-tag.vue.d.ts +0 -0
- package/es/src/{ap-tag → business/ap-tag}/ap-tag.vue2.mjs +0 -0
- package/es/src/{ap-tag → business/ap-tag}/index.d.ts +0 -0
- package/es/src/{ap-tag → business/ap-tag}/index.mjs +0 -0
- package/es/src/{ap-tag → business/ap-tag}/interface.d.ts +0 -0
- package/es/src/{ap-tag → business/ap-tag}/interface.mjs +0 -0
- package/es/src/{ap-tag → business/ap-tag}/utils.d.ts +0 -0
- package/es/src/{ap-tag → business/ap-tag}/utils.mjs +0 -0
- package/{lib/src → es/src/business}/ap-upload/apUpload.vue.d.ts +2 -2
- package/es/src/{ap-upload → business/ap-upload}/apUpload.vue2.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/apUploadTypes.d.ts +0 -0
- package/es/src/{ap-upload → business/ap-upload}/apUploadTypes.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/assets/single-file-icon.png.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue.d.ts +0 -0
- package/es/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/components/Picture.vue.d.ts +0 -0
- package/es/src/{ap-upload → business/ap-upload}/components/Picture.vue.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/components/SingleFile.vue.d.ts +0 -0
- package/es/src/{ap-upload → business/ap-upload}/components/SingleFile.vue.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/hooks/useOss.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/index.d.ts +0 -0
- package/es/src/{ap-upload → business/ap-upload}/index.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/style/index.d.ts +0 -0
- package/es/src/{ap-upload → business/ap-upload}/style/multiple-file.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/style/picture.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/style/single-file.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/utils/accept.mjs +0 -0
- package/es/src/{ap-upload → business/ap-upload}/utils/returnData.d.ts +0 -0
- package/es/src/{ap-upload → business/ap-upload}/utils/returnData.mjs +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue.d.ts +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/ap-descriptions.vue2.js +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/formatter/index.d.ts +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/formatter/index.js +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/formatter/utils.d.ts +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/formatter/utils.js +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue.d.ts +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/help-message/index.vue.js +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/helper.d.ts +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/helper.js +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/index.d.ts +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/index.js +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/interface.d.ts +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/interface.js +0 -0
- package/lib/src/{ap-descriptions → business/ap-descriptions}/style/index.d.ts +0 -0
- package/lib/src/{ap-download → business/ap-download}/ap-download.vue.d.ts +0 -0
- package/lib/src/{ap-download → business/ap-download}/ap-download.vue2.js +0 -0
- package/lib/src/{ap-download → business/ap-download}/hooks/index.d.ts +0 -0
- package/lib/src/{ap-download → business/ap-download}/hooks/index.js +0 -0
- package/lib/src/{ap-download → business/ap-download}/hooks/useStyle.d.ts +0 -0
- package/lib/src/{ap-download → business/ap-download}/index.d.ts +0 -0
- package/lib/src/{ap-download → business/ap-download}/index.js +0 -0
- package/lib/src/{ap-download → business/ap-download}/interface.d.ts +0 -0
- package/lib/src/{ap-download → business/ap-download}/interface.js +0 -0
- package/lib/src/{ap-download → business/ap-download}/style/index.d.ts +0 -0
- package/lib/src/{ap-download → business/ap-download}/utils/getFileInfo.d.ts +0 -0
- package/lib/src/{ap-download → business/ap-download}/utils/getFileInfo.js +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/ap-tag-group.vue.d.ts +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/ap-tag-group.vue2.js +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/ap-tag.vue.d.ts +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/ap-tag.vue2.js +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/index.d.ts +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/index.js +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/interface.d.ts +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/interface.js +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/utils.d.ts +0 -0
- package/lib/src/{ap-tag → business/ap-tag}/utils.js +0 -0
- package/{es/src → lib/src/business}/ap-upload/apUpload.vue.d.ts +2 -2
- /package/lib/src/{ap-upload → business/ap-upload}/apUpload.vue2.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/apUploadTypes.d.ts +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/apUploadTypes.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/assets/single-file-icon.png.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue.d.ts +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/components/MultipleFile.vue.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/components/Picture.vue.d.ts +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/components/Picture.vue.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/components/SingleFile.vue.d.ts +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/components/SingleFile.vue.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/hooks/useOss.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/index.d.ts +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/index.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/style/index.d.ts +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/style/multiple-file.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/style/picture.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/style/single-file.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/utils/accept.js +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/utils/returnData.d.ts +0 -0
- /package/lib/src/{ap-upload → business/ap-upload}/utils/returnData.js +0 -0
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { usePageListApTable as o } from "./usePageListApTable.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { useGridRefresh as a } from "./useGridRefresh.mjs";
|
|
5
|
-
import { usePageListAgGrid as u } from "./usePageListAgGrid.mjs";
|
|
2
|
+
import { usePageListApGrid as t } from "./usePageListApGrid.mjs";
|
|
3
|
+
import { usePageListAgGrid as p } from "./usePageListAgGrid.mjs";
|
|
6
4
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
o as usePageListApTable,
|
|
11
|
-
t as useTableRefresh
|
|
5
|
+
p as usePageListAgGrid,
|
|
6
|
+
t as usePageListApGrid,
|
|
7
|
+
o as usePageListApTable
|
|
12
8
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { UseTableRefreshOption } from '..';
|
|
2
1
|
import { ApGridExpose, ApGridProps } from '../../ap-grid';
|
|
3
2
|
export interface UsePageListApGrid extends ApGridProps {
|
|
4
3
|
/** 是否显示默认的行选择配置
|
|
@@ -18,7 +17,7 @@ export interface UsePageListApGrid extends ApGridProps {
|
|
|
18
17
|
/**
|
|
19
18
|
* 表格刷新相关
|
|
20
19
|
*/
|
|
21
|
-
tableRefresh?: boolean |
|
|
20
|
+
tableRefresh?: boolean | (() => boolean);
|
|
22
21
|
/** 是否需要在deactivated的时候清空数据
|
|
23
22
|
* @default true
|
|
24
23
|
*/
|
|
@@ -1,75 +1,71 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import { merge as i, cloneDeep as F } from "lodash-unified";
|
|
1
|
+
import { isFunction as F, merge as l, cloneDeep as w } from "lodash-unified";
|
|
3
2
|
import { ref as R } from "vue";
|
|
4
|
-
import { useKeepAliveFlag as
|
|
5
|
-
|
|
6
|
-
function W(a) {
|
|
3
|
+
import { useKeepAliveFlag as V } from "./useKeepAliveFlag.mjs";
|
|
4
|
+
function B(u) {
|
|
7
5
|
const r = R(null), {
|
|
8
|
-
isShowRowSelection:
|
|
6
|
+
isShowRowSelection: d = !0,
|
|
9
7
|
clearSelectionOnRequest: f = !0,
|
|
10
8
|
transformSearchFormValues: o,
|
|
11
|
-
api:
|
|
12
|
-
tableRefresh:
|
|
13
|
-
virtual:
|
|
14
|
-
clearDataOnDeactivated:
|
|
15
|
-
...
|
|
16
|
-
} =
|
|
17
|
-
let
|
|
18
|
-
const
|
|
9
|
+
api: a,
|
|
10
|
+
tableRefresh: s = !0,
|
|
11
|
+
virtual: p,
|
|
12
|
+
clearDataOnDeactivated: m = !0,
|
|
13
|
+
...v
|
|
14
|
+
} = u || {};
|
|
15
|
+
let n = null;
|
|
16
|
+
const c = () => {
|
|
19
17
|
r.value?.rowSelection?.clearAll();
|
|
20
|
-
}
|
|
21
|
-
V({
|
|
22
|
-
...b(d),
|
|
23
|
-
apTableRef: r
|
|
24
|
-
});
|
|
25
|
-
const u = () => {
|
|
18
|
+
}, i = () => {
|
|
26
19
|
r.value?.submitWith(!0);
|
|
27
|
-
},
|
|
20
|
+
}, S = () => {
|
|
28
21
|
r.value?.reset();
|
|
29
|
-
}, { isDeactivated:
|
|
30
|
-
|
|
22
|
+
}, { isDeactivated: h } = V({
|
|
23
|
+
afterActivated() {
|
|
24
|
+
(F(s) ? s() : s) && i();
|
|
25
|
+
},
|
|
26
|
+
afterDeactivated: i
|
|
31
27
|
});
|
|
32
|
-
return [
|
|
28
|
+
return [l(
|
|
33
29
|
{
|
|
34
30
|
// scroll,tableLayout,columnResizable设置表格可拖动
|
|
35
31
|
scroll: { x: "100%", y: "100%" },
|
|
36
32
|
columnResizable: !0,
|
|
37
|
-
request:
|
|
38
|
-
if (
|
|
33
|
+
request: a ? async (e) => {
|
|
34
|
+
if (h() && m)
|
|
39
35
|
return {
|
|
40
36
|
data: [],
|
|
41
37
|
total: 0
|
|
42
38
|
};
|
|
43
|
-
|
|
39
|
+
n = e.sort;
|
|
44
40
|
const t = o ? o(e) : e;
|
|
45
|
-
if (!
|
|
46
|
-
const { records: g, total: A } = await
|
|
47
|
-
return f &&
|
|
41
|
+
if (!a) throw new Error("api is not defined");
|
|
42
|
+
const { records: g, total: A } = await a(t);
|
|
43
|
+
return f && c(), {
|
|
48
44
|
data: g,
|
|
49
45
|
total: A
|
|
50
46
|
};
|
|
51
47
|
} : void 0,
|
|
52
|
-
rowSelection:
|
|
48
|
+
rowSelection: d ? {
|
|
53
49
|
fixed: "left",
|
|
54
50
|
columnWidth: 38
|
|
55
51
|
} : void 0,
|
|
56
52
|
ref(e) {
|
|
57
53
|
r.value = e;
|
|
58
54
|
},
|
|
59
|
-
virtual:
|
|
55
|
+
virtual: l(
|
|
60
56
|
{
|
|
61
57
|
oSize: 20,
|
|
62
58
|
y: 20
|
|
63
59
|
},
|
|
64
|
-
|
|
60
|
+
p
|
|
65
61
|
),
|
|
66
62
|
// 新UI规范,需要都添加分割线
|
|
67
63
|
card: !0
|
|
68
64
|
},
|
|
69
|
-
|
|
65
|
+
v
|
|
70
66
|
), {
|
|
71
|
-
reload:
|
|
72
|
-
reset:
|
|
67
|
+
reload: i,
|
|
68
|
+
reset: S,
|
|
73
69
|
getSearchFormValues: (e = !0) => {
|
|
74
70
|
const t = r.value?.getSearchFormValues(!!e) || {};
|
|
75
71
|
return o ? o(t) : t;
|
|
@@ -77,16 +73,11 @@ function W(a) {
|
|
|
77
73
|
getApGridInstance: () => r.value,
|
|
78
74
|
getSearchFormValuesAndSorted: (e = !0) => {
|
|
79
75
|
const t = r.value?.getSearchFormValues(!!e) || {};
|
|
80
|
-
return t.sort =
|
|
76
|
+
return t.sort = n && w(n), o ? o(t) : t;
|
|
81
77
|
},
|
|
82
|
-
clearSelection:
|
|
78
|
+
clearSelection: c
|
|
83
79
|
}];
|
|
84
80
|
}
|
|
85
|
-
function b(a) {
|
|
86
|
-
return a === !0 ? {} : a === !1 ? {
|
|
87
|
-
refreshBefore: () => !1
|
|
88
|
-
} : a;
|
|
89
|
-
}
|
|
90
81
|
export {
|
|
91
|
-
|
|
82
|
+
B as usePageListApGrid
|
|
92
83
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ApTableProps } from '../../';
|
|
2
|
-
import { UseTableRefreshOption } from './useTableRefresh';
|
|
3
2
|
import { Recordable } from '../../type';
|
|
4
3
|
import { TableColumnsType } from '@aplus-frontend/antdv';
|
|
5
4
|
import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
|
|
@@ -22,7 +21,7 @@ export interface UsePageListApTable extends ApTableProps {
|
|
|
22
21
|
/**
|
|
23
22
|
* 表格刷新相关
|
|
24
23
|
*/
|
|
25
|
-
tableRefresh?: boolean |
|
|
24
|
+
tableRefresh?: boolean | (() => boolean);
|
|
26
25
|
}
|
|
27
26
|
/**
|
|
28
27
|
* 集成了列表页面的ApTable的默认配置
|
|
@@ -1,29 +1,42 @@
|
|
|
1
|
-
import { merge as
|
|
2
|
-
import { ref as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
transformSearchFormValues: a,
|
|
15
|
-
api: s,
|
|
16
|
-
tableRefresh: f = !1,
|
|
17
|
-
...m
|
|
18
|
-
} = o || {};
|
|
1
|
+
import { isFunction as g, merge as v, cloneDeep as b } from "lodash-unified";
|
|
2
|
+
import { ref as A } from "vue";
|
|
3
|
+
import { warning as F } from "../../utils/warning.mjs";
|
|
4
|
+
import { useKeepAliveFlag as w } from "./useKeepAliveFlag.mjs";
|
|
5
|
+
function k(u) {
|
|
6
|
+
const r = A(null), {
|
|
7
|
+
isShowRowSelection: f = !0,
|
|
8
|
+
clearSelectionOnRequest: m = !0,
|
|
9
|
+
transformSearchFormValues: o,
|
|
10
|
+
api: a,
|
|
11
|
+
tableRefresh: s = !1,
|
|
12
|
+
...p
|
|
13
|
+
} = u || {};
|
|
19
14
|
let l = null;
|
|
20
15
|
const c = () => {
|
|
21
16
|
r.value?.rowSelection?.clearAll();
|
|
17
|
+
}, d = async (e) => {
|
|
18
|
+
l = e.sort;
|
|
19
|
+
const t = o ? o(e) : e;
|
|
20
|
+
try {
|
|
21
|
+
if (!a) throw new Error("api is not defined");
|
|
22
|
+
const { records: n, total: S } = await a(t);
|
|
23
|
+
return m && c(), {
|
|
24
|
+
data: n,
|
|
25
|
+
total: S
|
|
26
|
+
};
|
|
27
|
+
} catch (n) {
|
|
28
|
+
return F(!1, n), {
|
|
29
|
+
data: [],
|
|
30
|
+
total: 0
|
|
31
|
+
};
|
|
32
|
+
}
|
|
22
33
|
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
w({
|
|
35
|
+
afterActivated() {
|
|
36
|
+
(g(s) ? s() : s) && i();
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
const h = v(
|
|
27
40
|
{
|
|
28
41
|
// scroll,tableLayout,columnResizable设置表格可拖动
|
|
29
42
|
scroll: { x: "100%", y: "100%" },
|
|
@@ -31,24 +44,8 @@ function O(o) {
|
|
|
31
44
|
columnResizable: !0,
|
|
32
45
|
// 表格header吸顶效果
|
|
33
46
|
class: "ap-table--sticky",
|
|
34
|
-
request:
|
|
35
|
-
|
|
36
|
-
const t = a ? a(e) : e;
|
|
37
|
-
try {
|
|
38
|
-
if (!s) throw new Error("api is not defined");
|
|
39
|
-
const { records: n, total: p } = await s(t);
|
|
40
|
-
return i && c(), {
|
|
41
|
-
data: n,
|
|
42
|
-
total: p
|
|
43
|
-
};
|
|
44
|
-
} catch (n) {
|
|
45
|
-
return g(!1, n), {
|
|
46
|
-
data: [],
|
|
47
|
-
total: 0
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
} : void 0,
|
|
51
|
-
rowSelection: u ? {
|
|
47
|
+
request: a ? d : void 0,
|
|
48
|
+
rowSelection: f ? {
|
|
52
49
|
mode: "internal",
|
|
53
50
|
fixed: "left",
|
|
54
51
|
columnWidth: 50
|
|
@@ -59,26 +56,27 @@ function O(o) {
|
|
|
59
56
|
// 新UI规范,需要都添加分割线
|
|
60
57
|
card: !0
|
|
61
58
|
},
|
|
62
|
-
|
|
63
|
-
), {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
p
|
|
60
|
+
), i = () => {
|
|
61
|
+
r.value?.submit();
|
|
62
|
+
};
|
|
63
|
+
return [h, {
|
|
64
|
+
reload: i,
|
|
67
65
|
reset: () => {
|
|
68
66
|
r.value?.reset();
|
|
69
67
|
},
|
|
70
68
|
getSearchFormValues: (e) => {
|
|
71
69
|
const t = r.value?.getSearchFormValues(e) || {};
|
|
72
|
-
return
|
|
70
|
+
return o ? o(t) : t;
|
|
73
71
|
},
|
|
74
72
|
getApTableInstance: () => r.value,
|
|
75
73
|
getSearchFormValuesAndSorted: (e) => {
|
|
76
74
|
const t = r.value?.getSearchFormValues(e) || {};
|
|
77
|
-
return t.sort = l &&
|
|
75
|
+
return t.sort = l && b(l), o ? o(t) : t;
|
|
78
76
|
},
|
|
79
77
|
clearSelection: c
|
|
80
78
|
}];
|
|
81
79
|
}
|
|
82
80
|
export {
|
|
83
|
-
|
|
81
|
+
k as usePageListApTable
|
|
84
82
|
};
|
|
@@ -28,3 +28,7 @@ export * from './ap-draggable-grid';
|
|
|
28
28
|
export * from './ap-value-select-card';
|
|
29
29
|
export { ApTransformDataHelper } from '../utils/ap-trans-data';
|
|
30
30
|
export * from './ag-grid-modal';
|
|
31
|
+
export * from './ap-tag';
|
|
32
|
+
export * from './ap-upload';
|
|
33
|
+
export * from './ap-download';
|
|
34
|
+
export * from './ap-descriptions';
|
|
@@ -1,60 +1,64 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { ApAttachment as
|
|
3
|
-
import { ApBatchAction as
|
|
4
|
-
import { ApBatchActionGroup as
|
|
5
|
-
import { ApButtonGroup as
|
|
6
|
-
import { ApCard as
|
|
7
|
-
import { ApExpandAlert as
|
|
8
|
-
import { ApExportGroup as
|
|
9
|
-
import { ApImage as
|
|
10
|
-
import { ApInputRadio as
|
|
11
|
-
import { ApLabel as
|
|
12
|
-
import { ApLadder as
|
|
13
|
-
import { ApSelectLayout as
|
|
14
|
-
import { ApStatus as
|
|
15
|
-
import { ApTitle as
|
|
1
|
+
import { default as i } from "./ap-table-modal/index.mjs";
|
|
2
|
+
import { ApAttachment as l } from "./ap-attachment/index.mjs";
|
|
3
|
+
import { ApBatchAction as n } from "./ap-batch-action/index.mjs";
|
|
4
|
+
import { ApBatchActionGroup as G } from "./ap-batch-action-group/index.mjs";
|
|
5
|
+
import { ApButtonGroup as b } from "./ap-button-group/index.mjs";
|
|
6
|
+
import { ApCard as I } from "./ap-card/index.mjs";
|
|
7
|
+
import { ApExpandAlert as g } from "./ap-expand-alert/index.mjs";
|
|
8
|
+
import { ApExportGroup as y } from "./ap-export-group/index.mjs";
|
|
9
|
+
import { ApImage as C } from "./ap-image/index.mjs";
|
|
10
|
+
import { ApInputRadio as D } from "./ap-input-radio/index.mjs";
|
|
11
|
+
import { ApLabel as R, ApLabelGroup as V } from "./ap-label/index.mjs";
|
|
12
|
+
import { ApLadder as w } from "./ap-ladder/index.mjs";
|
|
13
|
+
import { ApSelectLayout as H } from "./ap-select-layout/index.mjs";
|
|
14
|
+
import { ApStatus as M, ApStatusGroup as P } from "./ap-status/index.mjs";
|
|
15
|
+
import { ApTitle as k } from "./ap-title/index.mjs";
|
|
16
16
|
import "./hooks/index.mjs";
|
|
17
|
-
import { ApSummary as
|
|
18
|
-
import { ApAppendix as
|
|
17
|
+
import { ApSummary as F } from "./ap-summary/index.mjs";
|
|
18
|
+
import { ApAppendix as N } from "./ap-appendix/index.mjs";
|
|
19
19
|
import "./ap-upload-file/index.mjs";
|
|
20
20
|
import "./batch-input-group/index.mjs";
|
|
21
|
-
import { ApSizeInput as
|
|
22
|
-
import { ApProductInfo as
|
|
23
|
-
import { ApCopy as
|
|
24
|
-
import { ApView as
|
|
25
|
-
import { ApRadioGroup as
|
|
26
|
-
import { ApKeepAlive as
|
|
27
|
-
import { ApDraggableGrid as
|
|
28
|
-
import { ApValueSelectCard as
|
|
29
|
-
import { ApTransformDataHelper as
|
|
21
|
+
import { ApSizeInput as Q } from "./ap-size-input/index.mjs";
|
|
22
|
+
import { ApProductInfo as W } from "./ap-product-info/index.mjs";
|
|
23
|
+
import { ApCopy as Y } from "./ap-copy/index.mjs";
|
|
24
|
+
import { ApView as _ } from "./ap-view/index.mjs";
|
|
25
|
+
import { ApRadioGroup as oo } from "./ap-radio-group/index.mjs";
|
|
26
|
+
import { ApKeepAlive as po } from "./ap-keep-alive/index.mjs";
|
|
27
|
+
import { ApDraggableGrid as eo } from "./ap-draggable-grid/index.mjs";
|
|
28
|
+
import { ApValueSelectCard as Ao } from "./ap-value-select-card/index.mjs";
|
|
29
|
+
import { ApTransformDataHelper as xo } from "../utils/ap-trans-data/index.mjs";
|
|
30
30
|
import "./ag-grid-modal/index.mjs";
|
|
31
|
+
import "./ap-tag/index.mjs";
|
|
32
|
+
import "./ap-upload/index.mjs";
|
|
33
|
+
import "./ap-download/index.mjs";
|
|
34
|
+
import "./ap-descriptions/index.mjs";
|
|
31
35
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
36
|
+
N as ApAppendix,
|
|
37
|
+
l as ApAttachment,
|
|
38
|
+
n as ApBatchAction,
|
|
39
|
+
G as ApBatchActionGroup,
|
|
40
|
+
b as ApButtonGroup,
|
|
41
|
+
I as ApCard,
|
|
42
|
+
Y as ApCopy,
|
|
43
|
+
eo as ApDraggableGrid,
|
|
44
|
+
g as ApExpandAlert,
|
|
45
|
+
y as ApExportGroup,
|
|
46
|
+
C as ApImage,
|
|
47
|
+
D as ApInputRadio,
|
|
48
|
+
po as ApKeepAlive,
|
|
49
|
+
R as ApLabel,
|
|
50
|
+
V as ApLabelGroup,
|
|
51
|
+
w as ApLadder,
|
|
52
|
+
W as ApProductInfo,
|
|
53
|
+
oo as ApRadioGroup,
|
|
54
|
+
H as ApSelectLayout,
|
|
55
|
+
Q as ApSizeInput,
|
|
56
|
+
M as ApStatus,
|
|
57
|
+
P as ApStatusGroup,
|
|
58
|
+
F as ApSummary,
|
|
59
|
+
i as ApTableModal,
|
|
60
|
+
k as ApTitle,
|
|
61
|
+
xo as ApTransformDataHelper,
|
|
62
|
+
Ao as ApValueSelectCard,
|
|
63
|
+
_ as ApView
|
|
60
64
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { LocaleType } from '../locale/interface';
|
|
3
|
-
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
|
|
3
|
+
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig, UiModeType } from './constants';
|
|
4
4
|
import { ApGridProps } from '../ap-grid';
|
|
5
5
|
import { AgGridProps } from '../ag-grid';
|
|
6
|
-
import { ViewCacheOption } from '../business';
|
|
6
|
+
import { ApImageProps, ApTitleProps, ViewCacheOption } from '../business';
|
|
7
7
|
import { FullToken } from '../design-token/interface';
|
|
8
8
|
import { RecursivePartial } from '../type';
|
|
9
9
|
import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
|
|
@@ -14,6 +14,11 @@ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
|
14
14
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
15
15
|
type ApGridConfig = Pick<ApGridProps, 'rowSelection'>;
|
|
16
16
|
type AgGridConfig = Pick<AgGridProps, 'rowSelection'>;
|
|
17
|
+
type ApProCardConfig = {
|
|
18
|
+
uiMode?: UiModeType;
|
|
19
|
+
};
|
|
20
|
+
type ApImageConfig = Pick<ApImageProps, 'uiMode'>;
|
|
21
|
+
type ApTitleConfig = Pick<ApTitleProps, 'uiMode'>;
|
|
17
22
|
export declare const configProviderProps: () => {
|
|
18
23
|
iconPrefixCls: StringConstructor;
|
|
19
24
|
getTargetContainer: {
|
|
@@ -152,6 +157,15 @@ export declare const configProviderProps: () => {
|
|
|
152
157
|
agGrid: {
|
|
153
158
|
type: PropType<AgGridConfig>;
|
|
154
159
|
};
|
|
160
|
+
apProCard: {
|
|
161
|
+
type: PropType<ApProCardConfig>;
|
|
162
|
+
};
|
|
163
|
+
apImage: {
|
|
164
|
+
type: PropType<ApImageConfig>;
|
|
165
|
+
};
|
|
166
|
+
apTitle: {
|
|
167
|
+
type: PropType<ApTitleConfig>;
|
|
168
|
+
};
|
|
155
169
|
/**
|
|
156
170
|
* @description aplus-ui的locale
|
|
157
171
|
*/
|
|
@@ -171,8 +185,11 @@ export declare const configProviderProps: () => {
|
|
|
171
185
|
type: PropType<ApiType>;
|
|
172
186
|
default: () => {};
|
|
173
187
|
};
|
|
188
|
+
/**
|
|
189
|
+
* @deprecated 已废弃,请使用各自组件的uiMode属性
|
|
190
|
+
*/
|
|
174
191
|
uiMode: {
|
|
175
|
-
type: PropType<
|
|
192
|
+
type: PropType<UiModeType>;
|
|
176
193
|
};
|
|
177
194
|
apUpload: {
|
|
178
195
|
type: PropType<ApUploadConfig>;
|
|
@@ -5,6 +5,15 @@ const t = () => ({
|
|
|
5
5
|
},
|
|
6
6
|
agGrid: {
|
|
7
7
|
type: Object
|
|
8
|
+
},
|
|
9
|
+
apProCard: {
|
|
10
|
+
type: Object
|
|
11
|
+
},
|
|
12
|
+
apImage: {
|
|
13
|
+
type: Object
|
|
14
|
+
},
|
|
15
|
+
apTitle: {
|
|
16
|
+
type: Object
|
|
8
17
|
}
|
|
9
18
|
}), o = () => ({
|
|
10
19
|
/**
|
|
@@ -26,6 +35,9 @@ const t = () => ({
|
|
|
26
35
|
type: Object,
|
|
27
36
|
default: () => ({})
|
|
28
37
|
},
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated 已废弃,请使用各自组件的uiMode属性
|
|
40
|
+
*/
|
|
29
41
|
uiMode: {
|
|
30
42
|
type: String
|
|
31
43
|
},
|
|
@@ -7,9 +7,9 @@ import { Locale } from '@aplus-frontend/antdv/es/locale';
|
|
|
7
7
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
8
8
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
9
|
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
|
|
10
|
+
import { UiModeType, ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
|
|
10
11
|
import { LocaleType } from '../locale';
|
|
11
12
|
import { RecursivePartial } from '../type';
|
|
12
|
-
import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
|
|
13
13
|
export declare const globalConfigCached: Ref<ConfigProviderProps>;
|
|
14
14
|
export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
15
15
|
iconPrefixCls: StringConstructor;
|
|
@@ -153,6 +153,21 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
153
153
|
rowSelection?: true | AgGridRowSelection<any> | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
};
|
|
156
|
+
apProCard: {
|
|
157
|
+
type: PropType<{
|
|
158
|
+
uiMode?: UiModeType;
|
|
159
|
+
}>;
|
|
160
|
+
};
|
|
161
|
+
apImage: {
|
|
162
|
+
type: PropType<{
|
|
163
|
+
uiMode?: UiModeType | undefined;
|
|
164
|
+
}>;
|
|
165
|
+
};
|
|
166
|
+
apTitle: {
|
|
167
|
+
type: PropType<{
|
|
168
|
+
uiMode?: UiModeType | undefined;
|
|
169
|
+
}>;
|
|
170
|
+
};
|
|
156
171
|
aplusLocale: {
|
|
157
172
|
type: PropType<LocaleType>;
|
|
158
173
|
};
|
|
@@ -167,7 +182,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
167
182
|
default: () => {};
|
|
168
183
|
};
|
|
169
184
|
uiMode: {
|
|
170
|
-
type: PropType<
|
|
185
|
+
type: PropType<UiModeType>;
|
|
171
186
|
};
|
|
172
187
|
apUpload: {
|
|
173
188
|
type: PropType<ApUploadConfig>;
|
|
@@ -342,6 +357,21 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
342
357
|
rowSelection?: true | AgGridRowSelection<any> | undefined;
|
|
343
358
|
}>;
|
|
344
359
|
};
|
|
360
|
+
apProCard: {
|
|
361
|
+
type: PropType<{
|
|
362
|
+
uiMode?: UiModeType;
|
|
363
|
+
}>;
|
|
364
|
+
};
|
|
365
|
+
apImage: {
|
|
366
|
+
type: PropType<{
|
|
367
|
+
uiMode?: UiModeType | undefined;
|
|
368
|
+
}>;
|
|
369
|
+
};
|
|
370
|
+
apTitle: {
|
|
371
|
+
type: PropType<{
|
|
372
|
+
uiMode?: UiModeType | undefined;
|
|
373
|
+
}>;
|
|
374
|
+
};
|
|
345
375
|
aplusLocale: {
|
|
346
376
|
type: PropType<LocaleType>;
|
|
347
377
|
};
|
|
@@ -356,7 +386,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
356
386
|
default: () => {};
|
|
357
387
|
};
|
|
358
388
|
uiMode: {
|
|
359
|
-
type: PropType<
|
|
389
|
+
type: PropType<UiModeType>;
|
|
360
390
|
};
|
|
361
391
|
apUpload: {
|
|
362
392
|
type: PropType<ApUploadConfig>;
|