@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,4 +1,124 @@
|
|
|
1
|
-
import f from "
|
|
1
|
+
import { defineComponent as N, useSlots as _, computed as r, createVNode as a, mergeProps as f, createBlock as c, openBlock as u, createSlots as $, withCtx as m, createCommentVNode as y, renderSlot as h, resolveDynamicComponent as v, renderList as A, unref as j } from "vue";
|
|
2
|
+
import "../../../config-provider/index.mjs";
|
|
3
|
+
import "../card/index.vue.mjs";
|
|
4
|
+
import "../statistic/index.vue.mjs";
|
|
5
|
+
import { mergeClass as b } from "../../../editable-table/utils.mjs";
|
|
6
|
+
import { omit as P } from "lodash-unified";
|
|
7
|
+
import D from "../../style/statistics-card.mjs";
|
|
8
|
+
import { useNamespace as k } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import M from "../statistic/index.vue2.mjs";
|
|
10
|
+
import w from "../card/index.vue2.mjs";
|
|
11
|
+
const K = /* @__PURE__ */ N({
|
|
12
|
+
name: "ApStatisticCard",
|
|
13
|
+
__name: "index",
|
|
14
|
+
props: {
|
|
15
|
+
headStyle: {},
|
|
16
|
+
bodyStyle: {},
|
|
17
|
+
actionsStyle: {},
|
|
18
|
+
headerBordered: {
|
|
19
|
+
type: Boolean
|
|
20
|
+
},
|
|
21
|
+
title: {
|
|
22
|
+
type: [Object, String, Number, Boolean, null, Array]
|
|
23
|
+
},
|
|
24
|
+
tooltip: {
|
|
25
|
+
type: [Object, String, Number, Boolean, null, Array]
|
|
26
|
+
},
|
|
27
|
+
extra: {
|
|
28
|
+
type: [Object, String, Number, Boolean, null, Array]
|
|
29
|
+
},
|
|
30
|
+
layout: {},
|
|
31
|
+
type: {},
|
|
32
|
+
direction: {},
|
|
33
|
+
wrap: {
|
|
34
|
+
type: Boolean
|
|
35
|
+
},
|
|
36
|
+
loading: {
|
|
37
|
+
type: [Boolean, Object, String, Number, null, Array]
|
|
38
|
+
},
|
|
39
|
+
colSpan: {},
|
|
40
|
+
colStyle: {},
|
|
41
|
+
gutter: {},
|
|
42
|
+
actions: {
|
|
43
|
+
type: [Object, String, Number, Boolean, null, Array]
|
|
44
|
+
},
|
|
45
|
+
split: {},
|
|
46
|
+
bordered: {
|
|
47
|
+
type: Boolean
|
|
48
|
+
},
|
|
49
|
+
hoverable: {
|
|
50
|
+
type: Boolean
|
|
51
|
+
},
|
|
52
|
+
ghost: {
|
|
53
|
+
type: Boolean
|
|
54
|
+
},
|
|
55
|
+
collapsible: {
|
|
56
|
+
type: Boolean
|
|
57
|
+
},
|
|
58
|
+
defaultCollapsed: {
|
|
59
|
+
type: Boolean
|
|
60
|
+
},
|
|
61
|
+
collapsed: {
|
|
62
|
+
type: Boolean,
|
|
63
|
+
default: void 0
|
|
64
|
+
},
|
|
65
|
+
collapsibleIconRender: {},
|
|
66
|
+
boxShadow: {
|
|
67
|
+
type: Boolean
|
|
68
|
+
},
|
|
69
|
+
chart: {
|
|
70
|
+
type: [Object, String, Number, Boolean, null, Array]
|
|
71
|
+
},
|
|
72
|
+
statistic: {},
|
|
73
|
+
chartPlacement: {},
|
|
74
|
+
footer: {
|
|
75
|
+
type: [Object, String, Number, Boolean, null, Array]
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
setup(B) {
|
|
79
|
+
const t = B, e = _(), {
|
|
80
|
+
b: n
|
|
81
|
+
} = k("statistic-card"), S = D("statistic-card"), g = r(() => [n(), S.value]), C = r(() => {
|
|
82
|
+
const o = n("chart");
|
|
83
|
+
return b(`${o}`, [t.chartPlacement === "left" ? `${o}-left` : void 0, t.chartPlacement === "right" ? `${o}-right` : void 0].filter(Boolean));
|
|
84
|
+
}), p = r(() => {
|
|
85
|
+
const o = n("content");
|
|
86
|
+
return b(`${o}`, [t.chartPlacement === "left" || t.chartPlacement === "right" ? `${o}-horizontal` : void 0].filter(Boolean));
|
|
87
|
+
}), x = r(() => n("footer")), l = r(() => t.statistic ? a(M, f({
|
|
88
|
+
layout: "vertical"
|
|
89
|
+
}, t.statistic, {
|
|
90
|
+
title: t.statistic?.title || e.statisticTitle?.(),
|
|
91
|
+
prefix: t.statistic?.prefix || e.prefix?.(),
|
|
92
|
+
suffix: t.statistic?.suffix || e.suffix?.(),
|
|
93
|
+
icon: t.statistic?.icon || e.icon?.(),
|
|
94
|
+
tip: t.statistic?.tip || e.tip?.(),
|
|
95
|
+
description: t.statistic?.description || e.description?.()
|
|
96
|
+
}), null) : void 0), i = r(() => t.chart || e.chart ? a("div", {
|
|
97
|
+
class: C.value
|
|
98
|
+
}, [t.chart || e.chart?.()]) : void 0), s = r(() => i.value || l.value ? t.chartPlacement === "left" ? a("div", {
|
|
99
|
+
class: p.value
|
|
100
|
+
}, [i.value, l.value]) : a("div", {
|
|
101
|
+
class: p.value
|
|
102
|
+
}, [l.value, i.value]) : void 0), O = r(() => t.footer || e.footer ? a("div", {
|
|
103
|
+
class: x.value
|
|
104
|
+
}, [t.footer || e.footer?.()]) : void 0);
|
|
105
|
+
return (o, I) => (u(), c(w, f({
|
|
106
|
+
class: g.value
|
|
107
|
+
}, {
|
|
108
|
+
...t
|
|
109
|
+
}), $({
|
|
110
|
+
default: m(() => [s.value ? (u(), c(v(s.value), {
|
|
111
|
+
key: 0
|
|
112
|
+
})) : y("", !0), h(o.$slots, "default"), s.value ? (u(), c(v(O.value), {
|
|
113
|
+
key: 1
|
|
114
|
+
})) : y("", !0)]),
|
|
115
|
+
_: 2
|
|
116
|
+
}, [A(j(P)(e, ["chart", "footer", "description", "default"]), (V, d) => ({
|
|
117
|
+
name: d,
|
|
118
|
+
fn: m(() => [h(o.$slots, d)])
|
|
119
|
+
}))]), 1040, ["class"]));
|
|
120
|
+
}
|
|
121
|
+
});
|
|
2
122
|
export {
|
|
3
|
-
|
|
123
|
+
K as default
|
|
4
124
|
};
|
|
@@ -1,124 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "../../../config-provider/index.mjs";
|
|
3
|
-
import "../card/index.vue.mjs";
|
|
4
|
-
import "../statistic/index.vue.mjs";
|
|
5
|
-
import { mergeClass as b } from "../../../editable-table/utils.mjs";
|
|
6
|
-
import { omit as P } from "lodash-unified";
|
|
7
|
-
import D from "../../style/statistics-card.mjs";
|
|
8
|
-
import { useNamespace as k } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
9
|
-
import M from "../statistic/index.vue2.mjs";
|
|
10
|
-
import w from "../card/index.vue2.mjs";
|
|
11
|
-
const K = /* @__PURE__ */ N({
|
|
12
|
-
name: "ApStatisticCard",
|
|
13
|
-
__name: "index",
|
|
14
|
-
props: {
|
|
15
|
-
headStyle: {},
|
|
16
|
-
bodyStyle: {},
|
|
17
|
-
actionsStyle: {},
|
|
18
|
-
headerBordered: {
|
|
19
|
-
type: Boolean
|
|
20
|
-
},
|
|
21
|
-
title: {
|
|
22
|
-
type: [Object, String, Number, Boolean, null, Array]
|
|
23
|
-
},
|
|
24
|
-
tooltip: {
|
|
25
|
-
type: [Object, String, Number, Boolean, null, Array]
|
|
26
|
-
},
|
|
27
|
-
extra: {
|
|
28
|
-
type: [Object, String, Number, Boolean, null, Array]
|
|
29
|
-
},
|
|
30
|
-
layout: {},
|
|
31
|
-
type: {},
|
|
32
|
-
direction: {},
|
|
33
|
-
wrap: {
|
|
34
|
-
type: Boolean
|
|
35
|
-
},
|
|
36
|
-
loading: {
|
|
37
|
-
type: [Boolean, Object, String, Number, null, Array]
|
|
38
|
-
},
|
|
39
|
-
colSpan: {},
|
|
40
|
-
colStyle: {},
|
|
41
|
-
gutter: {},
|
|
42
|
-
actions: {
|
|
43
|
-
type: [Object, String, Number, Boolean, null, Array]
|
|
44
|
-
},
|
|
45
|
-
split: {},
|
|
46
|
-
bordered: {
|
|
47
|
-
type: Boolean
|
|
48
|
-
},
|
|
49
|
-
hoverable: {
|
|
50
|
-
type: Boolean
|
|
51
|
-
},
|
|
52
|
-
ghost: {
|
|
53
|
-
type: Boolean
|
|
54
|
-
},
|
|
55
|
-
collapsible: {
|
|
56
|
-
type: Boolean
|
|
57
|
-
},
|
|
58
|
-
defaultCollapsed: {
|
|
59
|
-
type: Boolean
|
|
60
|
-
},
|
|
61
|
-
collapsed: {
|
|
62
|
-
type: Boolean,
|
|
63
|
-
default: void 0
|
|
64
|
-
},
|
|
65
|
-
collapsibleIconRender: {},
|
|
66
|
-
boxShadow: {
|
|
67
|
-
type: Boolean
|
|
68
|
-
},
|
|
69
|
-
chart: {
|
|
70
|
-
type: [Object, String, Number, Boolean, null, Array]
|
|
71
|
-
},
|
|
72
|
-
statistic: {},
|
|
73
|
-
chartPlacement: {},
|
|
74
|
-
footer: {
|
|
75
|
-
type: [Object, String, Number, Boolean, null, Array]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
setup(B) {
|
|
79
|
-
const t = B, e = _(), {
|
|
80
|
-
b: n
|
|
81
|
-
} = k("statistic-card"), S = D("statistic-card"), g = r(() => [n(), S.value]), C = r(() => {
|
|
82
|
-
const o = n("chart");
|
|
83
|
-
return b(`${o}`, [t.chartPlacement === "left" ? `${o}-left` : void 0, t.chartPlacement === "right" ? `${o}-right` : void 0].filter(Boolean));
|
|
84
|
-
}), p = r(() => {
|
|
85
|
-
const o = n("content");
|
|
86
|
-
return b(`${o}`, [t.chartPlacement === "left" || t.chartPlacement === "right" ? `${o}-horizontal` : void 0].filter(Boolean));
|
|
87
|
-
}), x = r(() => n("footer")), l = r(() => t.statistic ? a(M, f({
|
|
88
|
-
layout: "vertical"
|
|
89
|
-
}, t.statistic, {
|
|
90
|
-
title: t.statistic?.title || e.statisticTitle?.(),
|
|
91
|
-
prefix: t.statistic?.prefix || e.prefix?.(),
|
|
92
|
-
suffix: t.statistic?.suffix || e.suffix?.(),
|
|
93
|
-
icon: t.statistic?.icon || e.icon?.(),
|
|
94
|
-
tip: t.statistic?.tip || e.tip?.(),
|
|
95
|
-
description: t.statistic?.description || e.description?.()
|
|
96
|
-
}), null) : void 0), i = r(() => t.chart || e.chart ? a("div", {
|
|
97
|
-
class: C.value
|
|
98
|
-
}, [t.chart || e.chart?.()]) : void 0), s = r(() => i.value || l.value ? t.chartPlacement === "left" ? a("div", {
|
|
99
|
-
class: p.value
|
|
100
|
-
}, [i.value, l.value]) : a("div", {
|
|
101
|
-
class: p.value
|
|
102
|
-
}, [l.value, i.value]) : void 0), O = r(() => t.footer || e.footer ? a("div", {
|
|
103
|
-
class: x.value
|
|
104
|
-
}, [t.footer || e.footer?.()]) : void 0);
|
|
105
|
-
return (o, I) => (u(), c(w, f({
|
|
106
|
-
class: g.value
|
|
107
|
-
}, {
|
|
108
|
-
...t
|
|
109
|
-
}), $({
|
|
110
|
-
default: m(() => [s.value ? (u(), c(v(s.value), {
|
|
111
|
-
key: 0
|
|
112
|
-
})) : y("", !0), h(o.$slots, "default"), s.value ? (u(), c(v(O.value), {
|
|
113
|
-
key: 1
|
|
114
|
-
})) : y("", !0)]),
|
|
115
|
-
_: 2
|
|
116
|
-
}, [A(j(P)(e, ["chart", "footer", "description", "default"]), (V, d) => ({
|
|
117
|
-
name: d,
|
|
118
|
-
fn: m(() => [h(o.$slots, d)])
|
|
119
|
-
}))]), 1040, ["class"]));
|
|
120
|
-
}
|
|
121
|
-
});
|
|
1
|
+
import f from "./index.vue.mjs";
|
|
122
2
|
export {
|
|
123
|
-
|
|
3
|
+
f as default
|
|
124
4
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { UiModeType } from '../../../config-provider';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
type?: 'default';
|
|
5
|
+
uiMode?: UiModeType;
|
|
4
6
|
};
|
|
5
7
|
declare function __VLS_template(): {
|
|
6
8
|
attrs: Partial<{}>;
|
|
@@ -13,6 +15,7 @@ declare function __VLS_template(): {
|
|
|
13
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
16
|
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
15
17
|
type: "default";
|
|
18
|
+
uiMode: UiModeType;
|
|
16
19
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
21
|
export default _default;
|
|
@@ -1,29 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as u, computed as r, createElementBlock as i, openBlock as p, normalizeClass as m, renderSlot as c } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
|
-
import { mergeClass as
|
|
4
|
-
import
|
|
5
|
-
import { useNamespace as
|
|
6
|
-
import { useGlobalConfig as
|
|
7
|
-
const
|
|
3
|
+
import { mergeClass as f } from "../../../editable-table/utils.mjs";
|
|
4
|
+
import C from "../../style/title.mjs";
|
|
5
|
+
import { useNamespace as $ } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
6
|
+
import { useGlobalConfig as v } from "../../../config-provider/hooks/use-global-config.mjs";
|
|
7
|
+
const P = /* @__PURE__ */ u({
|
|
8
8
|
name: "ApProCardTitle",
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: {
|
|
11
11
|
type: {
|
|
12
12
|
default: "default"
|
|
13
|
+
},
|
|
14
|
+
uiMode: {
|
|
15
|
+
default: void 0
|
|
13
16
|
}
|
|
14
17
|
},
|
|
15
|
-
setup(
|
|
18
|
+
setup(a) {
|
|
16
19
|
const {
|
|
17
20
|
b: l
|
|
18
|
-
} =
|
|
21
|
+
} = $("pro-card-title"), n = C("pro-card-title"), d = v("apProCard", {
|
|
22
|
+
uiMode: "aplus"
|
|
23
|
+
}), o = a, t = r(() => o.uiMode || d.value?.uiMode), s = r(() => {
|
|
19
24
|
const e = l();
|
|
20
|
-
return
|
|
25
|
+
return f(`${e}`, [o.type ? `${e}-${o.type}` : void 0, t.value ? `${e}-${o.type ?? "default"}-${t.value}` : void 0, n.value].filter(Boolean));
|
|
21
26
|
});
|
|
22
|
-
return (e,
|
|
23
|
-
class:
|
|
24
|
-
}, [
|
|
27
|
+
return (e, y) => (p(), i("div", {
|
|
28
|
+
class: m(s.value)
|
|
29
|
+
}, [c(e.$slots, "default")], 2));
|
|
25
30
|
}
|
|
26
31
|
});
|
|
27
32
|
export {
|
|
28
|
-
|
|
33
|
+
P as default
|
|
29
34
|
};
|
|
@@ -2,7 +2,7 @@ import { default as Card } from './components/card/index.vue';
|
|
|
2
2
|
import { default as Divider } from './components/divider/index.vue';
|
|
3
3
|
import { default as Title } from './components/title/index.vue';
|
|
4
4
|
import { default as Statistic } from './components/statistic/index.vue';
|
|
5
|
-
import { default as StatisticCard } from './
|
|
5
|
+
import { default as StatisticCard } from './statistic-card';
|
|
6
6
|
import { default as Operation } from './components/operation/index.vue';
|
|
7
7
|
export type ApProCardType = typeof Card & {
|
|
8
8
|
isProCard: boolean;
|
|
@@ -2,12 +2,12 @@ import "./components/card/index.vue.mjs";
|
|
|
2
2
|
import "./components/divider/index.vue.mjs";
|
|
3
3
|
import "./components/title/index.vue.mjs";
|
|
4
4
|
import "./components/statistic/index.vue.mjs";
|
|
5
|
-
import "./
|
|
5
|
+
import "./statistic-card/index.mjs";
|
|
6
6
|
import "./components/operation/index.vue.mjs";
|
|
7
7
|
import t from "./components/card/index.vue2.mjs";
|
|
8
8
|
import o from "./components/divider/index.vue2.mjs";
|
|
9
9
|
import m from "./components/title/index.vue2.mjs";
|
|
10
|
-
import p from "./components/statistic-card/index.
|
|
10
|
+
import p from "./components/statistic-card/index.vue.mjs";
|
|
11
11
|
import a from "./components/statistic/index.vue2.mjs";
|
|
12
12
|
import f from "./components/operation/index.vue2.mjs";
|
|
13
13
|
const i = t;
|