@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
|
@@ -3,10 +3,10 @@ import { Descriptions as z, DescriptionsItem as d } from "@aplus-frontend/antdv"
|
|
|
3
3
|
import { mixinsAttachmentExtraProps as F, transformValue as G, isEmptyWithType as I } from "./helper.mjs";
|
|
4
4
|
import { get as b } from "lodash-unified";
|
|
5
5
|
import "./help-message/index.vue.mjs";
|
|
6
|
-
import "
|
|
6
|
+
import "../../config-provider/index.mjs";
|
|
7
7
|
import L from "./style/index.mjs";
|
|
8
|
-
import { useGlobalConfig as m } from "
|
|
9
|
-
import { useNamespace as M } from "
|
|
8
|
+
import { useGlobalConfig as m } from "../../config-provider/hooks/use-global-config.mjs";
|
|
9
|
+
import { useNamespace as M } from "../../config-provider/hooks/use-namespace.mjs";
|
|
10
10
|
import R from "./help-message/index.vue2.mjs";
|
|
11
11
|
const $ = { key: 0 }, Z = /* @__PURE__ */ V({
|
|
12
12
|
name: "ApDescriptions",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as r, computed as m, createVNode as t, createElementBlock as d, openBlock as o, createBlock as l, createCommentVNode as u, resolveDynamicComponent as f, unref as s, withCtx as h } from "vue";
|
|
2
|
-
import "
|
|
2
|
+
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { QuestionCircleOutlined as b } from "@ant-design/icons-vue";
|
|
4
4
|
import { TypographyText as _, Tooltip as y } from "@aplus-frontend/antdv";
|
|
5
|
-
import { useNamespace as x } from "
|
|
5
|
+
import { useNamespace as x } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
6
6
|
const C = {
|
|
7
7
|
style: {
|
|
8
8
|
display: "inline-flex"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as O, ref as z, useSlots as A, computed as s, unref as t, createBlock as L, openBlock as i, mergeProps as S, withCtx as x, createElementVNode as m, normalizeClass as j, createElementBlock as f, createCommentVNode as u, createVNode as I, renderSlot as F, toDisplayString as T } from "vue";
|
|
2
2
|
import { Button as U } from "@aplus-frontend/antdv";
|
|
3
3
|
import { LoadingOutlined as V } from "@ant-design/icons-vue";
|
|
4
|
-
import "
|
|
4
|
+
import "../../config-provider/index.mjs";
|
|
5
5
|
import { useOssInit as D } from "./hooks/index.mjs";
|
|
6
6
|
import { getFileInfo as g } from "./utils/getFileInfo.mjs";
|
|
7
7
|
import { useStyle as E } from "./hooks/useStyle.mjs";
|
|
8
8
|
import { omit as P } from "lodash-unified";
|
|
9
|
-
import { useLocale as G } from "
|
|
10
|
-
import { useGlobalConfig as y } from "
|
|
9
|
+
import { useLocale as G } from "../../config-provider/hooks/use-locale.mjs";
|
|
10
|
+
import { useGlobalConfig as y } from "../../config-provider/hooks/use-global-config.mjs";
|
|
11
11
|
const M = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "spin"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { computed as o } from "vue";
|
|
2
2
|
import { getHexWithOpacity as c } from "../utils/getFileInfo.mjs";
|
|
3
|
-
import "
|
|
3
|
+
import "../../../config-provider/index.mjs";
|
|
4
4
|
import m from "../style/index.mjs";
|
|
5
|
-
import { useToken as d } from "
|
|
6
|
-
import { useNamespace as w } from "
|
|
5
|
+
import { useToken as d } from "../../../config-provider/hooks/use-token.mjs";
|
|
6
|
+
import { useNamespace as w } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
function g(a, l) {
|
|
8
8
|
const { b: r, bm: e } = w("ap-download"), n = m("ap-download"), { token: p } = d(), s = o(() => ({
|
|
9
9
|
"--download-main-color": p.value?.colorLink,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Image as
|
|
3
|
-
import { DownloadOutlined as
|
|
4
|
-
import { injectLocaleToOss as
|
|
1
|
+
import { defineComponent as M, computed as n, ref as S, watchEffect as U, createBlock as p, openBlock as l, unref as a, mergeProps as f, withCtx as j, renderSlot as B, normalizeProps as E, guardReactiveProps as L, createElementVNode as g, normalizeClass as x, createElementBlock as D, Fragment as P, renderList as R, resolveDynamicComponent as T, createVNode as z } from "vue";
|
|
2
|
+
import { Image as V } from "@aplus-frontend/antdv";
|
|
3
|
+
import { DownloadOutlined as W } from "@ant-design/icons-vue";
|
|
4
|
+
import { injectLocaleToOss as G, getOssInstance as $, getSignatureUrl as q } from "./hooks/useOss.mjs";
|
|
5
5
|
import "../../config-provider/index.mjs";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { omit as
|
|
10
|
-
import { useNamespace as
|
|
6
|
+
import H from "./style/index.mjs";
|
|
7
|
+
import J from "./imgs/admin-fallback.jpg.mjs";
|
|
8
|
+
import K from "./imgs/aplus-fallback.jpg.mjs";
|
|
9
|
+
import { omit as Q } from "lodash-unified";
|
|
10
|
+
import { useNamespace as X } from "../../config-provider/hooks/use-namespace.mjs";
|
|
11
11
|
import { useGlobalConfig as c } from "../../config-provider/hooks/use-global-config.mjs";
|
|
12
|
-
import { useLocale as
|
|
13
|
-
const
|
|
12
|
+
import { useLocale as Y } from "../../config-provider/hooks/use-locale.mjs";
|
|
13
|
+
const ue = /* @__PURE__ */ M({
|
|
14
14
|
__name: "ApImage",
|
|
15
15
|
props: {
|
|
16
16
|
getOssAccess: {},
|
|
@@ -20,20 +20,23 @@ const me = /* @__PURE__ */ S({
|
|
|
20
20
|
fallback: {},
|
|
21
21
|
src: {},
|
|
22
22
|
fileName: {},
|
|
23
|
+
uiMode: {},
|
|
23
24
|
preview: { type: [Boolean, Object], default: !0 }
|
|
24
25
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const { b: i } =
|
|
27
|
-
aplus:
|
|
28
|
-
admin:
|
|
29
|
-
},
|
|
26
|
+
setup(v) {
|
|
27
|
+
const { b: i } = X("ap-image"), m = H("ap-image"), e = v, u = {
|
|
28
|
+
aplus: K,
|
|
29
|
+
admin: J
|
|
30
|
+
}, b = c("apImage", { uiMode: "aplus" }), h = c("apUpload"), d = c(
|
|
30
31
|
"downloadCenterTriggerConfig"
|
|
31
|
-
),
|
|
32
|
+
), k = n(
|
|
33
|
+
() => e.uiMode || b.value?.uiMode
|
|
34
|
+
), { t: w, lang: C } = Y(), O = n(
|
|
32
35
|
() => e.getOssAccess || h.value?.getOssAccess
|
|
33
|
-
),
|
|
34
|
-
() => u[
|
|
35
|
-
),
|
|
36
|
-
|
|
36
|
+
), y = n(
|
|
37
|
+
() => u[k.value] || u.aplus
|
|
38
|
+
), A = n(() => e?.fallback || y.value), s = S("");
|
|
39
|
+
G(w, C), U(async () => {
|
|
37
40
|
if (!e?.src) {
|
|
38
41
|
s.value = "";
|
|
39
42
|
return;
|
|
@@ -43,55 +46,55 @@ const me = /* @__PURE__ */ S({
|
|
|
43
46
|
return;
|
|
44
47
|
}
|
|
45
48
|
try {
|
|
46
|
-
const t = await
|
|
49
|
+
const t = await $(O.value), r = await q({
|
|
47
50
|
oss: t,
|
|
48
51
|
fileName: e.src
|
|
49
52
|
});
|
|
50
|
-
|
|
53
|
+
r && (s.value = r);
|
|
51
54
|
} catch {
|
|
52
55
|
s.value = "";
|
|
53
56
|
}
|
|
54
57
|
});
|
|
55
|
-
async function
|
|
58
|
+
async function N() {
|
|
56
59
|
if (!e?.src)
|
|
57
60
|
return;
|
|
58
|
-
const t = e.src,
|
|
61
|
+
const t = e.src, r = e.fileName ?? e.src;
|
|
59
62
|
if (!e.src?.startsWith("Frontend-Upload")) {
|
|
60
|
-
|
|
63
|
+
I(t, r);
|
|
61
64
|
return;
|
|
62
65
|
}
|
|
63
66
|
if (d.value?.trigger) {
|
|
64
|
-
let
|
|
67
|
+
let o = [
|
|
65
68
|
{
|
|
66
69
|
objectName: t,
|
|
67
|
-
fileName:
|
|
70
|
+
fileName: r
|
|
68
71
|
}
|
|
69
72
|
];
|
|
70
|
-
await d.value?.trigger(
|
|
73
|
+
await d.value?.trigger(o);
|
|
71
74
|
}
|
|
72
75
|
}
|
|
73
|
-
const
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
+
const I = (t, r) => {
|
|
77
|
+
const o = document.createElement("a");
|
|
78
|
+
o.href = t, o.rel = "noopener noreferrer", o.setAttribute("download", r), document.body.appendChild(o), o.click(), document.body.removeChild(o);
|
|
76
79
|
};
|
|
77
|
-
return (t,
|
|
80
|
+
return (t, r) => (l(), p(a(V), f({
|
|
78
81
|
class: [a(i)(), a(m)]
|
|
79
82
|
}, {
|
|
80
|
-
...a(
|
|
81
|
-
fallback:
|
|
83
|
+
...a(Q)(e, ["src", "getOssAccess"]),
|
|
84
|
+
fallback: A.value,
|
|
82
85
|
src: s.value
|
|
83
86
|
}), {
|
|
84
|
-
toolbarRender: j((
|
|
85
|
-
B(t.$slots, "toolbarRender", E(L({ ...
|
|
87
|
+
toolbarRender: j((o) => [
|
|
88
|
+
B(t.$slots, "toolbarRender", E(L({ ...o })), () => [
|
|
86
89
|
g("div", {
|
|
87
|
-
class:
|
|
90
|
+
class: x([a(i)("toolbar"), a(m)])
|
|
88
91
|
}, [
|
|
89
|
-
(l(!0),
|
|
92
|
+
(l(!0), D(P, null, R(o.originalNodes, (_, F) => (l(), p(T(_), f({ ref_for: !0 }, e, { key: F }), null, 16))), 128)),
|
|
90
93
|
g("div", {
|
|
91
94
|
class: "ant-image-preview-operations-operation",
|
|
92
|
-
onClick:
|
|
95
|
+
onClick: N
|
|
93
96
|
}, [
|
|
94
|
-
|
|
97
|
+
z(a(W))
|
|
95
98
|
])
|
|
96
99
|
], 2)
|
|
97
100
|
])
|
|
@@ -101,5 +104,5 @@ const me = /* @__PURE__ */ S({
|
|
|
101
104
|
}
|
|
102
105
|
});
|
|
103
106
|
export {
|
|
104
|
-
|
|
107
|
+
ue as default
|
|
105
108
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { accessCreate } from '@aplus-frontend/oss';
|
|
2
|
+
import { UiModeType } from '../../config-provider';
|
|
2
3
|
export interface ApImageProps {
|
|
3
4
|
getOssAccess?: () => Promise<accessCreate>;
|
|
4
5
|
width?: number | string;
|
|
@@ -7,6 +8,7 @@ export interface ApImageProps {
|
|
|
7
8
|
fallback?: string;
|
|
8
9
|
src?: string;
|
|
9
10
|
fileName?: string;
|
|
11
|
+
uiMode?: UiModeType;
|
|
10
12
|
preview?: boolean | {
|
|
11
13
|
visible?: boolean;
|
|
12
14
|
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { defineComponent as l, createVNode as
|
|
1
|
+
import { defineComponent as l, createVNode as u, mergeProps as o, createTextVNode as m } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import s from "../ApLabel.mjs";
|
|
4
4
|
import { omit as n } from "lodash-unified";
|
|
5
5
|
import { ApLabelGroupProps as i } from "../constans.mjs";
|
|
6
|
-
import "
|
|
6
|
+
import "../../ap-tag/index.mjs";
|
|
7
7
|
import { useNamespace as p } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
8
|
-
import c from "
|
|
8
|
+
import c from "../../ap-tag/ap-tag.vue.mjs";
|
|
9
9
|
const {
|
|
10
10
|
b: f
|
|
11
11
|
} = p("ap-label-group"), _ = /* @__PURE__ */ l({
|
|
12
12
|
name: "ApLabelGroup",
|
|
13
13
|
props: i(),
|
|
14
14
|
setup(r) {
|
|
15
|
-
const a = (e) => (r.tagValue || r.tagValue === 0) && e.tagConfig && e.tagConfig.length > 0 ? () => e.tagConfig.filter((
|
|
15
|
+
const a = (e) => (r.tagValue || r.tagValue === 0) && e.tagConfig && e.tagConfig.length > 0 ? () => e.tagConfig.filter((t) => r.tagValue === t.value).map((t) => u(c, o(n(t, ["type", "size"]), {
|
|
16
16
|
size: "small",
|
|
17
|
-
type: "border"
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
type: "border",
|
|
18
|
+
text: ""
|
|
19
|
+
}), null)) : e.customRender ? () => u("div", null, [e.customRender(r.record)]) : null;
|
|
20
|
+
return () => u("div", {
|
|
20
21
|
class: f()
|
|
21
|
-
}, [r.columns ? r.columns.map((e,
|
|
22
|
-
key:
|
|
22
|
+
}, [r.columns ? r.columns.map((e, t) => u(s, o({
|
|
23
|
+
key: t,
|
|
23
24
|
show: r.value === e.value
|
|
24
25
|
}, n(e, ["value", "tagConfig", "customRender"])), {
|
|
25
26
|
custom: a(e)
|
|
26
|
-
})) :
|
|
27
|
+
})) : u("div", null, [m("columns数组不能为空")])]);
|
|
27
28
|
}
|
|
28
29
|
});
|
|
29
30
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BadgeProps } from '@aplus-frontend/antdv';
|
|
2
2
|
import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
|
|
3
|
-
import { ApTagProps } from '
|
|
3
|
+
import { ApTagProps } from '../ap-tag';
|
|
4
4
|
import { VNode, VNodeChild } from 'vue';
|
|
5
5
|
type Recordable = Record<string, any>;
|
|
6
6
|
export type ApLabelProps = BadgeProps & Partial<{
|
|
@@ -2,16 +2,16 @@ import { defineComponent as j, ref as x, computed as n, unref as p, watch as I,
|
|
|
2
2
|
import { Tooltip as J } from "@aplus-frontend/antdv";
|
|
3
3
|
import K from "@ant-design/icons-vue";
|
|
4
4
|
import "./ap-tag.vue2.mjs";
|
|
5
|
-
import "
|
|
5
|
+
import "../../config-provider/index.mjs";
|
|
6
6
|
import { omit as O } from "lodash-unified";
|
|
7
7
|
import { getTextWidth as W } from "./utils.mjs";
|
|
8
|
-
import "
|
|
9
|
-
import { useDevWarning as Q } from "
|
|
8
|
+
import "../../hooks/index.mjs";
|
|
9
|
+
import { useDevWarning as Q } from "../../utils/warning.mjs";
|
|
10
10
|
import X from "./style/group.mjs";
|
|
11
|
-
import { useToken as Y } from "
|
|
12
|
-
import { useLocale as Z } from "
|
|
13
|
-
import { useNamespace as ee } from "
|
|
14
|
-
import { useResize as te } from "
|
|
11
|
+
import { useToken as Y } from "../../config-provider/hooks/use-token.mjs";
|
|
12
|
+
import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
|
|
13
|
+
import { useNamespace as ee } from "../../config-provider/hooks/use-namespace.mjs";
|
|
14
|
+
import { useResize as te } from "../../hooks/useResize.mjs";
|
|
15
15
|
import oe from "./ap-tag.vue.mjs";
|
|
16
16
|
const xe = /* @__PURE__ */ j({
|
|
17
17
|
__name: "ap-tag-group",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as S, computed as n, createElementBlock as $, openBlock as b, normalizeClass as i, normalizeStyle as w, createElementVNode as B, toDisplayString as _ } from "vue";
|
|
2
|
-
import "
|
|
2
|
+
import "../../config-provider/index.mjs";
|
|
3
3
|
import z from "./style/index.mjs";
|
|
4
|
-
import { useNamespace as I } from "
|
|
4
|
+
import { useNamespace as I } from "../../config-provider/hooks/use-namespace.mjs";
|
|
5
5
|
const v = ["title"], A = /* @__PURE__ */ S({
|
|
6
6
|
name: "ApTag",
|
|
7
7
|
__name: "ap-tag",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GenStyleFunc } from '
|
|
1
|
+
import { GenStyleFunc } from '../../../design-token/interface';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genTagGroupStyle: GenStyleFunc;
|
|
4
4
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GenStyleFunc } from '
|
|
1
|
+
import { GenStyleFunc } from '../../../design-token/interface';
|
|
2
2
|
import { ComputedRef } from 'vue';
|
|
3
3
|
export declare const genApTagStyle: GenStyleFunc;
|
|
4
4
|
declare const _default: (prefixCls: string) => ComputedRef<string>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as y, computed as a, createElementBlock as n, openBlock as l, normalizeClass as r, unref as t, createElementVNode as i, renderSlot as p, Fragment as C, createBlock as M, createCommentVNode as v, toDisplayString as k, withCtx as I, createVNode as S, normalizeStyle as T } from "vue";
|
|
2
2
|
import { Tooltip as $ } from "@aplus-frontend/antdv";
|
|
3
3
|
import { QuestionCircleOutlined as N } from "@ant-design/icons-vue";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
|
-
import
|
|
6
|
-
import { useNamespace as
|
|
5
|
+
import A from "./style/index.mjs";
|
|
6
|
+
import { useNamespace as B } from "../../config-provider/hooks/use-namespace.mjs";
|
|
7
7
|
import { useGlobalConfig as V } from "../../config-provider/hooks/use-global-config.mjs";
|
|
8
|
-
const O = /* @__PURE__ */
|
|
8
|
+
const O = /* @__PURE__ */ y({
|
|
9
9
|
name: "ApTitle",
|
|
10
10
|
__name: "ApTitle",
|
|
11
11
|
props: {
|
|
@@ -13,39 +13,42 @@ const O = /* @__PURE__ */ g({
|
|
|
13
13
|
helpMessage: { default: "" },
|
|
14
14
|
helpIconColor: { default: "" },
|
|
15
15
|
placement: { default: "top" },
|
|
16
|
-
trigger: { default: "hover" }
|
|
16
|
+
trigger: { default: "hover" },
|
|
17
|
+
uiMode: {}
|
|
17
18
|
},
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
20
|
-
|
|
19
|
+
setup(m) {
|
|
20
|
+
const o = m, { b: u, e: s, m: c } = B("ap-title"), d = A("ap-title"), f = V("apTitle", { uiMode: "aplus" }), g = a(
|
|
21
|
+
() => o.uiMode || f.value?.uiMode
|
|
22
|
+
), h = a(() => o.helpIconColor ? {
|
|
23
|
+
color: `${o.helpIconColor}`
|
|
21
24
|
} : {});
|
|
22
|
-
return (e, b) => (
|
|
23
|
-
class:
|
|
25
|
+
return (e, b) => (l(), n("div", {
|
|
26
|
+
class: r([t(u)(), `${t(c)(g.value)}`, t(d)])
|
|
24
27
|
}, [
|
|
25
|
-
|
|
26
|
-
class:
|
|
28
|
+
i("div", {
|
|
29
|
+
class: r(t(s)("prefix"))
|
|
27
30
|
}, [
|
|
28
|
-
e.$slots.prefix ?
|
|
29
|
-
|
|
30
|
-
e.helpMessage ? (
|
|
31
|
+
e.$slots.prefix ? p(e.$slots, "prefix", { key: 0 }) : (l(), n(C, { key: 1 }, [
|
|
32
|
+
i("span", null, k(e.title), 1),
|
|
33
|
+
e.helpMessage ? (l(), M(t($), {
|
|
31
34
|
key: 0,
|
|
32
35
|
title: e.helpMessage,
|
|
33
36
|
placement: e.placement,
|
|
34
37
|
trigger: e.trigger
|
|
35
38
|
}, {
|
|
36
39
|
default: I(() => [
|
|
37
|
-
|
|
38
|
-
style:
|
|
40
|
+
S(t(N), {
|
|
41
|
+
style: T(h.value)
|
|
39
42
|
}, null, 8, ["style"])
|
|
40
43
|
]),
|
|
41
44
|
_: 1
|
|
42
|
-
}, 8, ["title", "placement", "trigger"])) :
|
|
45
|
+
}, 8, ["title", "placement", "trigger"])) : v("", !0)
|
|
43
46
|
], 64))
|
|
44
47
|
], 2),
|
|
45
|
-
|
|
46
|
-
class:
|
|
48
|
+
i("div", {
|
|
49
|
+
class: r(t(s)("suffix"))
|
|
47
50
|
}, [
|
|
48
|
-
|
|
51
|
+
p(e.$slots, "suffix")
|
|
49
52
|
], 2)
|
|
50
53
|
], 2));
|
|
51
54
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as h, ref as m, computed as c, provide as t, createElementBlock as N, openBlock as d, normalizeClass as U, unref as a, createBlock as O, resolveDynamicComponent as R, mergeProps as z, createSlots as j, renderList as A, withCtx as $, renderSlot as k, normalizeProps as B, guardReactiveProps as T } from "vue";
|
|
2
|
-
import "
|
|
2
|
+
import "../../config-provider/index.mjs";
|
|
3
3
|
import "./components/SingleFile.vue.mjs";
|
|
4
4
|
import "./components/MultipleFile.vue.mjs";
|
|
5
5
|
import "./components/Picture.vue.mjs";
|
|
@@ -7,12 +7,12 @@ import { injectLocaleToAccept as w } from "./utils/accept.mjs";
|
|
|
7
7
|
import { injectLocaleToOss as I } from "./hooks/useOss.mjs";
|
|
8
8
|
import { Form as L } from "@aplus-frontend/antdv";
|
|
9
9
|
import q from "./style/index.mjs";
|
|
10
|
-
import { useLocale as P } from "
|
|
11
|
-
import { useNamespace as V } from "
|
|
10
|
+
import { useLocale as P } from "../../config-provider/hooks/use-locale.mjs";
|
|
11
|
+
import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
|
|
12
12
|
import D from "./components/Picture.vue2.mjs";
|
|
13
13
|
import G from "./components/MultipleFile.vue2.mjs";
|
|
14
14
|
import H from "./components/SingleFile.vue2.mjs";
|
|
15
|
-
import { useGlobalConfig as J } from "
|
|
15
|
+
import { useGlobalConfig as J } from "../../config-provider/hooks/use-global-config.mjs";
|
|
16
16
|
const K = ["id"], me = /* @__PURE__ */ h({
|
|
17
17
|
name: "AplusFileUpload",
|
|
18
18
|
__name: "apUpload",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as Q, inject as a, ref as X, watch as Y, nextTick as Z, createElementBlock as U, openBlock as w, normalizeClass as ee, unref as s, createVNode as x, withCtx as k, createElementVNode as I, createTextVNode as oe, toDisplayString as M, withModifiers as te, createCommentVNode as ae, createBlock as se, resolveDynamicComponent as ne } from "vue";
|
|
2
|
-
import "
|
|
2
|
+
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { getPath as re, getName as le, getReturnData as S } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as ie, getOssInstance as L } from "../hooks/useOss.mjs";
|
|
5
5
|
import { message as c, Upload as ue, Button as ce } from "@aplus-frontend/antdv";
|
|
6
6
|
import { UploadOutlined as pe, VerticalAlignBottomOutlined as de } from "@ant-design/icons-vue";
|
|
7
7
|
import { fileMatchesAccept as me, getAcceptText as fe } from "../utils/accept.mjs";
|
|
8
8
|
import ge from "../style/index.mjs";
|
|
9
|
-
import { useGlobalConfig as he } from "
|
|
10
|
-
import { useLocale as ve } from "
|
|
11
|
-
import { useNamespace as we } from "
|
|
9
|
+
import { useGlobalConfig as he } from "../../../config-provider/hooks/use-global-config.mjs";
|
|
10
|
+
import { useLocale as ve } from "../../../config-provider/hooks/use-locale.mjs";
|
|
11
|
+
import { useNamespace as we } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
12
12
|
const xe = { class: "multiple-file-context" }, ye = { key: 0 }, Ce = { key: 1 }, Se = /* @__PURE__ */ Q({
|
|
13
13
|
__name: "MultipleFile",
|
|
14
14
|
setup(Ue, { expose: z }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Z, inject as r, ref as P, watch as F, nextTick as ee, createElementBlock as g, openBlock as h, normalizeClass as te, unref as n, createElementVNode as d, renderSlot as ae, createCommentVNode as I, Fragment as oe, renderList as se, withDirectives as ne, createVNode as k, vShow as ie, toDisplayString as C } from "vue";
|
|
2
|
-
import "
|
|
2
|
+
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { getPath as re, getName as ce, getReturnData as $ } from "../utils/returnData.mjs";
|
|
4
4
|
import { CloseOutlined as ue, PlusOutlined as le } from "@ant-design/icons-vue";
|
|
5
5
|
import { useOss as pe, getOssInstance as V } from "../hooks/useOss.mjs";
|
|
@@ -7,8 +7,8 @@ import { fileMatchesAccept as de, getAcceptText as me } from "../utils/accept.mj
|
|
|
7
7
|
import { message as m, Progress as fe } from "@aplus-frontend/antdv";
|
|
8
8
|
import { omit as ge } from "lodash-unified";
|
|
9
9
|
import he from "../style/index.mjs";
|
|
10
|
-
import { useLocale as ve } from "
|
|
11
|
-
import { useNamespace as xe } from "
|
|
10
|
+
import { useLocale as ve } from "../../../config-provider/hooks/use-locale.mjs";
|
|
11
|
+
import { useNamespace as xe } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
12
12
|
const ye = ["accept"], we = { class: "picture-context" }, _e = { class: "picture-item-box" }, Ue = ["src"], ke = { class: "picture-item-shadow" }, Ce = ["onClick"], Ee = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "picture-item-uploading"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ne, inject as l, ref as g, watch as se, computed as re, createElementBlock as E, openBlock as h, normalizeClass as ie, unref as a, createElementVNode as r, createCommentVNode as N, toDisplayString as x, normalizeStyle as ce, createBlock as ue, withModifiers as pe, createVNode as de } from "vue";
|
|
2
|
-
import "
|
|
2
|
+
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { getName as ve, getReturnData as $ } from "../utils/returnData.mjs";
|
|
4
4
|
import { useOss as fe, useOssInit as me } from "../hooks/useOss.mjs";
|
|
5
5
|
import { fileMatchesAccept as ge, getAcceptText as he } from "../utils/accept.mjs";
|
|
@@ -7,9 +7,9 @@ import { message as c, Progress as _e } from "@aplus-frontend/antdv";
|
|
|
7
7
|
import { DeleteOutlined as ke } from "@ant-design/icons-vue";
|
|
8
8
|
import q from "../assets/single-file-icon.png.mjs";
|
|
9
9
|
import ye from "../style/index.mjs";
|
|
10
|
-
import { useToken as we } from "
|
|
11
|
-
import { useLocale as Ue } from "
|
|
12
|
-
import { useNamespace as Ce } from "
|
|
10
|
+
import { useToken as we } from "../../../config-provider/hooks/use-token.mjs";
|
|
11
|
+
import { useLocale as Ue } from "../../../config-provider/hooks/use-locale.mjs";
|
|
12
|
+
import { useNamespace as Ce } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
13
13
|
const De = ["accept"], Fe = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "state-un"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { accessCreate, Oss } from '@aplus-frontend/oss';
|
|
2
|
-
import { Translator } from '
|
|
2
|
+
import { Translator } from '../../../config-provider';
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
export type { Oss } from '@aplus-frontend/oss';
|
|
5
5
|
export type GetOssAccess = () => Promise<accessCreate>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { genComponentStyleHook as o } from "
|
|
1
|
+
import { genComponentStyleHook as o } from "../../../utils/cssinjs/index.mjs";
|
|
2
2
|
import { singleFileStyle as t } from "./single-file.mjs";
|
|
3
3
|
import { multipleFileStyle as l } from "./multiple-file.mjs";
|
|
4
4
|
import { pictureStyle as m } from "./picture.mjs";
|
|
@@ -18,8 +18,8 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
18
18
|
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
19
|
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
accept: string;
|
|
22
21
|
maxSize: number;
|
|
22
|
+
accept: string;
|
|
23
23
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
25
|
export default _default;
|
|
@@ -4,14 +4,14 @@ import { useViewInject as B } from "../hooks/use-view-provide.mjs";
|
|
|
4
4
|
import { SYSTEM_VIEW_KEY as h } from "../utils/enum.mjs";
|
|
5
5
|
import { Space as C, Popconfirm as F } from "@aplus-frontend/antdv";
|
|
6
6
|
import L from "../icons/line-delete.vue.mjs";
|
|
7
|
-
import "
|
|
7
|
+
import "../../ap-tag/index.mjs";
|
|
8
8
|
import "../../../ap-form/ap-form.vue.mjs";
|
|
9
9
|
import { ApField as M } from "../../../ap-field/index.mjs";
|
|
10
10
|
import P from "../style/index.mjs";
|
|
11
11
|
import { useToken as Y } from "../../../config-provider/hooks/use-token.mjs";
|
|
12
12
|
import { useNamespace as j } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
13
13
|
import { useLocale as A } from "../../../config-provider/hooks/use-locale.mjs";
|
|
14
|
-
import O from "
|
|
14
|
+
import O from "../../ap-tag/ap-tag.vue.mjs";
|
|
15
15
|
import x from "../../../ap-form/ap-form.vue2.mjs";
|
|
16
16
|
const U = { class: "menu-list-content-name" }, W = ["title"], q = {
|
|
17
17
|
key: 0,
|