@aplus-frontend/ui 7.13.1 → 7.13.2

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.
Files changed (53) hide show
  1. package/es/src/ag-grid/components/empty/index.vue.d.ts +4 -1
  2. package/es/src/ag-grid/components/empty/index.vue2.mjs +20 -10
  3. package/es/src/ag-grid/editable/form-item.vue.mjs +9 -8
  4. package/es/src/ag-grid/editable/index.vue.mjs +1 -0
  5. package/es/src/ag-grid/index.vue.mjs +47 -45
  6. package/es/src/ag-grid/interface.d.ts +4 -0
  7. package/es/src/ag-grid/style/index.mjs +5 -5
  8. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +135 -128
  9. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -1
  10. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +296 -161
  11. package/es/src/business/ap-export-group/index.d.ts +4 -1
  12. package/es/src/business/ap-export-group/interface.d.ts +31 -0
  13. package/es/src/business/ap-export-group/style/index.d.ts +5 -0
  14. package/es/src/business/ap-export-group/style/index.mjs +17 -0
  15. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +21 -21
  16. package/es/src/business/ap-view/style/index.mjs +3 -2
  17. package/es/src/config-provider/config-provider-props.d.ts +7 -6
  18. package/es/src/config-provider/config-provider-props.mjs +4 -4
  19. package/es/src/config-provider/config-provider.d.ts +35 -11
  20. package/es/src/config-provider/config-provider.mjs +24 -24
  21. package/es/src/config-provider/hooks/use-global-config.d.ts +14 -6
  22. package/es/src/config-provider/index.d.ts +65 -17
  23. package/es/src/locale/lang/en.mjs +5 -2
  24. package/es/src/locale/lang/zh-cn.mjs +4 -1
  25. package/es/src/version.d.ts +1 -1
  26. package/es/src/version.mjs +1 -1
  27. package/lib/src/ag-grid/components/empty/index.vue.d.ts +4 -1
  28. package/lib/src/ag-grid/components/empty/index.vue2.js +1 -1
  29. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  30. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  31. package/lib/src/ag-grid/index.vue.js +1 -1
  32. package/lib/src/ag-grid/interface.d.ts +4 -0
  33. package/lib/src/ag-grid/style/index.js +1 -1
  34. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  35. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -1
  36. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  37. package/lib/src/business/ap-export-group/index.d.ts +4 -1
  38. package/lib/src/business/ap-export-group/interface.d.ts +31 -0
  39. package/lib/src/business/ap-export-group/style/index.d.ts +5 -0
  40. package/lib/src/business/ap-export-group/style/index.js +1 -0
  41. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  42. package/lib/src/business/ap-view/style/index.js +1 -1
  43. package/lib/src/config-provider/config-provider-props.d.ts +7 -6
  44. package/lib/src/config-provider/config-provider-props.js +1 -1
  45. package/lib/src/config-provider/config-provider.d.ts +35 -11
  46. package/lib/src/config-provider/config-provider.js +1 -1
  47. package/lib/src/config-provider/hooks/use-global-config.d.ts +14 -6
  48. package/lib/src/config-provider/index.d.ts +65 -17
  49. package/lib/src/locale/lang/en.js +1 -1
  50. package/lib/src/locale/lang/zh-cn.js +1 -1
  51. package/lib/src/version.d.ts +1 -1
  52. package/lib/src/version.js +1 -1
  53. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
- import { defineComponent as T, ref as y, watch as $, createElementBlock as c, openBlock as m, normalizeClass as V, unref as e, createElementVNode as o, createCommentVNode as f, toDisplayString as r, createVNode as i, withModifiers as L, withCtx as v } from "vue";
2
- import { Space as C, Popconfirm as b } from "@aplus-frontend/antdv";
3
- import { ApField as B } from "../../../ap-field/index.mjs";
1
+ import { defineComponent as T, ref as y, watch as $, createElementBlock as m, openBlock as c, normalizeClass as V, unref as e, createElementVNode as o, createCommentVNode as f, toDisplayString as r, createVNode as i, withModifiers as b, withCtx as v } from "vue";
2
+ import { Space as C, Popconfirm as B } from "@aplus-frontend/antdv";
3
+ import { ApField as F } from "../../../ap-field/index.mjs";
4
4
  import "../../../ap-form/ap-form.vue.mjs";
5
5
  import "../../../config-provider/index.mjs";
6
- import { useToken as F } from "../../../config-provider/hooks/use-token.mjs";
6
+ import { useToken as L } from "../../../config-provider/hooks/use-token.mjs";
7
7
  import "../../ap-tag/index.mjs";
8
8
  import { useViewInject as M } from "../hooks/use-view-provide.mjs";
9
- import Y from "../icons/line-delete.vue.mjs";
10
- import j from "../style/index.mjs";
9
+ import P from "../icons/line-delete.vue.mjs";
10
+ import Y from "../style/index.mjs";
11
11
  import { SYSTEM_VIEW_KEY as h } from "../utils/enum.mjs";
12
- import { useNamespace as A } from "../../../config-provider/hooks/use-namespace.mjs";
13
- import { useLocale as O } from "../../../config-provider/hooks/use-locale.mjs";
14
- import P from "../../ap-tag/ap-tag.vue.mjs";
12
+ import { useNamespace as j } from "../../../config-provider/hooks/use-namespace.mjs";
13
+ import { useLocale as A } from "../../../config-provider/hooks/use-locale.mjs";
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,
@@ -22,7 +22,7 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
22
22
  view: {}
23
23
  },
24
24
  setup(N) {
25
- const { b: s } = A("ap-view"), d = j("ap-view"), { token: K } = F(), { t: n } = O(), t = N, {
25
+ const { b: s } = j("ap-view"), d = Y("ap-view"), { token: K } = L(), { t: n } = A(), t = N, {
26
26
  currentViewKey: D,
27
27
  changeCurrentViewKey: S,
28
28
  viewListCRUD: p,
@@ -54,7 +54,7 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
54
54
  (u) => {
55
55
  u && (l.value = !1);
56
56
  }
57
- ), (u, a) => l.value === !1 ? (m(), c("div", {
57
+ ), (u, a) => l.value === !1 ? (c(), m("div", {
58
58
  key: 0,
59
59
  class: V({
60
60
  [e(s)()]: !0,
@@ -69,17 +69,17 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
69
69
  title: t.view?.viewName
70
70
  }, r(t.view?.viewName), 9, W)
71
71
  ]),
72
- t.view?.viewKey !== e(h) && t.view?.isDefault ? (m(), c("div", q, [
73
- i(e(P), {
72
+ t.view?.viewKey !== e(h) && t.view?.isDefault ? (c(), m("div", q, [
73
+ i(e(O), {
74
74
  text: e(n)("ap.apView.default"),
75
75
  size: "small",
76
- color: e(K).colorLink
76
+ color: e(K).colorPrimary
77
77
  }, null, 8, ["text", "color"])
78
78
  ])) : f("", !0),
79
- t.view?.viewKey !== e(h) ? (m(), c("div", {
79
+ t.view?.viewKey !== e(h) ? (c(), m("div", {
80
80
  key: 1,
81
81
  class: "menu-list-content-action",
82
- onClick: a[1] || (a[1] = L(() => {
82
+ onClick: a[1] || (a[1] = b(() => {
83
83
  }, ["stop"]))
84
84
  }, [
85
85
  i(e(C), { size: 8 }, {
@@ -88,19 +88,19 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
88
88
  class: "menu-list-content-action-text",
89
89
  onClick: a[0] || (a[0] = (R) => l.value = !0)
90
90
  }, r(e(n)("ap.apView.rename")), 1),
91
- t.view?.isDefault ? f("", !0) : (m(), c("div", {
91
+ t.view?.isDefault ? f("", !0) : (c(), m("div", {
92
92
  key: 0,
93
93
  class: "menu-list-content-action-text",
94
94
  onClick: E
95
95
  }, r(e(n)("ap.apView.setDefault")), 1)),
96
96
  o("div", G, [
97
- i(e(b), {
97
+ i(e(B), {
98
98
  title: e(n)("ap.apView.deleteTip"),
99
99
  "ok-text": e(n)("ap.apView.ok"),
100
100
  onConfirm: z
101
101
  }, {
102
102
  default: v(() => [
103
- i(Y)
103
+ i(P)
104
104
  ]),
105
105
  _: 1
106
106
  }, 8, ["title", "ok-text"])
@@ -109,7 +109,7 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
109
109
  _: 1
110
110
  })
111
111
  ])) : f("", !0)
112
- ], 2)) : (m(), c("div", {
112
+ ], 2)) : (c(), m("div", {
113
113
  key: 1,
114
114
  class: V([e(s)("menu-list-content"), e(s)("menu-list-content-edit"), e(d)])
115
115
  }, [
@@ -126,7 +126,7 @@ const U = { class: "menu-list-content-name" }, W = ["title"], q = {
126
126
  default: v(() => [
127
127
  i(x.FormItem, { name: "viewName" }, {
128
128
  default: v(() => [
129
- i(e(B).Text, { maxlength: 20 })
129
+ i(e(F).Text, { maxlength: 20 })
130
130
  ]),
131
131
  _: 1
132
132
  }),
@@ -93,7 +93,7 @@ const i = (e) => {
93
93
  fontSize: e.fontSize,
94
94
  display: "flex",
95
95
  alignItems: "center",
96
- color: e.colorLink
96
+ color: e.colorPrimary
97
97
  },
98
98
  "&-delete": {
99
99
  cursor: "pointer",
@@ -130,8 +130,9 @@ const i = (e) => {
130
130
  }
131
131
  },
132
132
  [`${t}-menu-list-content-active`]: {
133
+ background: `${e.calc(e.colorPrimary).colorMix(8)} !important`,
133
134
  ".menu-list-content-name": {
134
- color: e.colorLink
135
+ color: e.colorPrimary
135
136
  }
136
137
  }
137
138
  }
@@ -2,11 +2,11 @@ import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { ApFilePreviewProps } from '../business/ap-file-preview/interface';
3
3
  import { AgGridProps } from '../ag-grid';
4
4
  import { ApGridProps } from '../ap-grid';
5
- import { ApImageProps, ApTitleProps, ViewCacheOption } from '../business';
5
+ import { ApExportGroupListItem, ApImageProps, ApTitleProps, ViewCacheOption } from '../business';
6
6
  import { FullToken } from '../design-token/interface';
7
7
  import { LocaleType } from '../locale/interface';
8
8
  import { RecursivePartial } from '../type';
9
- import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig, UiModeType } from './constants';
9
+ import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, SearchFormGlobalConfig, UiModeType } from './constants';
10
10
  import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
11
11
  import { TransformCellTextProps } from '@aplus-frontend/antdv/es/table/interface';
12
12
  import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
@@ -21,6 +21,7 @@ type ApProCardConfig = {
21
21
  type ApImageConfig = Pick<ApImageProps, 'uiMode'>;
22
22
  type ApTitleConfig = Pick<ApTitleProps, 'uiMode'>;
23
23
  type ApFilePreviewConfig = Pick<ApFilePreviewProps, 'parserPlugin'>;
24
+ type ApExportGroupConfig = Pick<ApExportGroupListItem, 'dateValidate' | 'exportField'>;
24
25
  export declare const configProviderProps: () => {
25
26
  iconPrefixCls: StringConstructor;
26
27
  getTargetContainer: {
@@ -212,6 +213,10 @@ export declare const configProviderProps: () => {
212
213
  type: PropType<ApFilePreviewConfig>;
213
214
  default: () => {};
214
215
  };
216
+ apExportGroup: {
217
+ type: PropType<ApExportGroupConfig>;
218
+ default: () => {};
219
+ };
215
220
  /**
216
221
  * @description aplus-ui的locale
217
222
  */
@@ -245,10 +250,6 @@ export declare const configProviderProps: () => {
245
250
  type: PropType<downloadCenterTriggerConfig>;
246
251
  default: () => {};
247
252
  };
248
- exportField: {
249
- type: PropType<ExportField>;
250
- default: boolean;
251
- };
252
253
  scrollYDomName: {
253
254
  type: StringConstructor;
254
255
  };
@@ -30,6 +30,10 @@ const t = () => ({
30
30
  apFilePreview: {
31
31
  type: Object,
32
32
  default: () => ({})
33
+ },
34
+ apExportGroup: {
35
+ type: Object,
36
+ default: () => ({})
33
37
  }
34
38
  }), a = () => ({
35
39
  /**
@@ -65,10 +69,6 @@ const t = () => ({
65
69
  type: Object,
66
70
  default: () => ({})
67
71
  },
68
- exportField: {
69
- type: [Object, Boolean],
70
- default: !1
71
- },
72
72
  scrollYDomName: {
73
73
  type: String
74
74
  },
@@ -6,8 +6,8 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
6
6
  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, TableConfig, TooltipConfig, PopoverConfig, PopconfirmConfig, ModalConfig, DrawerConfig, ImageConfig } from '@aplus-frontend/antdv/es/config-provider/context';
9
- import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
10
- import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from './constants';
9
+ import { ApGridRowSelection, AgGridRowSelection, ApExportGroupDateValidate, FullToken, ViewCacheOption } from '..';
10
+ import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig } from './constants';
11
11
  import { ApFilePreviewParser } from '../business/ap-file-preview/interface';
12
12
  import { LocaleType } from '../locale';
13
13
  import { RecursivePartial } from '../type';
@@ -215,6 +215,18 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
215
215
  }>;
216
216
  default: () => {};
217
217
  };
218
+ apExportGroup: {
219
+ type: PropType<{
220
+ dateValidate?: ApExportGroupDateValidate | undefined;
221
+ exportField?: boolean | {
222
+ key?: string;
223
+ convertField?: {
224
+ [key: string]: string[];
225
+ };
226
+ } | undefined;
227
+ }>;
228
+ default: () => {};
229
+ };
218
230
  aplusLocale: {
219
231
  type: PropType<LocaleType>;
220
232
  };
@@ -239,10 +251,6 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
239
251
  type: PropType<downloadCenterTriggerConfig>;
240
252
  default: () => {};
241
253
  };
242
- exportField: {
243
- type: PropType<ExportField>;
244
- default: boolean;
245
- };
246
254
  scrollYDomName: {
247
255
  type: StringConstructor;
248
256
  };
@@ -453,6 +461,18 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
453
461
  }>;
454
462
  default: () => {};
455
463
  };
464
+ apExportGroup: {
465
+ type: PropType<{
466
+ dateValidate?: ApExportGroupDateValidate | undefined;
467
+ exportField?: boolean | {
468
+ key?: string;
469
+ convertField?: {
470
+ [key: string]: string[];
471
+ };
472
+ } | undefined;
473
+ }>;
474
+ default: () => {};
475
+ };
456
476
  aplusLocale: {
457
477
  type: PropType<LocaleType>;
458
478
  };
@@ -477,10 +497,6 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
477
497
  type: PropType<downloadCenterTriggerConfig>;
478
498
  default: () => {};
479
499
  };
480
- exportField: {
481
- type: PropType<ExportField>;
482
- default: boolean;
483
- };
484
500
  scrollYDomName: {
485
501
  type: StringConstructor;
486
502
  };
@@ -532,10 +548,18 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
532
548
  apFilePreview: {
533
549
  parserPlugin?: ApFilePreviewParser[] | undefined;
534
550
  };
551
+ apExportGroup: {
552
+ dateValidate?: ApExportGroupDateValidate | undefined;
553
+ exportField?: boolean | {
554
+ key?: string;
555
+ convertField?: {
556
+ [key: string]: string[];
557
+ };
558
+ } | undefined;
559
+ };
535
560
  api: ApiType;
536
561
  valueTypeMap: Record<string, ValueTypeRenderConfig>;
537
562
  downloadCenterTriggerConfig: downloadCenterTriggerConfig;
538
- exportField: ExportField;
539
563
  viewCacheOption: ViewCacheOption;
540
564
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
541
565
  export type ConfigProviderInstance = InstanceType<typeof ConfigProvider>;
@@ -1,26 +1,26 @@
1
1
  import { isVNode as f, ref as s, defineComponent as v, computed as n, watch as C, onActivated as P, createVNode as h, renderSlot as T } from "vue";
2
2
  import { ConfigProvider as w } from "@aplus-frontend/antdv";
3
3
  import { merge as b, cloneDeep as A } from "lodash-unified";
4
- import { useDevWarning as F } from "../utils/warning.mjs";
5
- import { mergeAntdProviderConfigWithCache as l, mergeAntdProvideConfig as u } from "../utils/config-provider-preset.mjs";
4
+ import { useDevWarning as G } from "../utils/warning.mjs";
5
+ import { mergeAntdProviderConfigWithCache as l, mergeAntdProvideConfig as p } from "../utils/config-provider-preset.mjs";
6
6
  import { configProviderProps as D } from "./config-provider-props.mjs";
7
- import { DEFAULT_NAMESPACE as G } from "./constants.mjs";
8
- import { useGlobalConfig as k, provideGlobalConfig as M } from "./hooks/use-global-config.mjs";
9
- function N(e) {
7
+ import { DEFAULT_NAMESPACE as F } from "./constants.mjs";
8
+ import { useGlobalConfig as k, provideGlobalConfig as E } from "./hooks/use-global-config.mjs";
9
+ function M(e) {
10
10
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !f(e);
11
11
  }
12
- const i = s({}), _ = /* @__PURE__ */ v({
12
+ const a = s({}), _ = /* @__PURE__ */ v({
13
13
  name: "AplusConfigProvider",
14
14
  props: D(),
15
15
  setup(e, {
16
- slots: d
16
+ slots: u
17
17
  }) {
18
- F("ConfigProvider")(!e.uiMode, "breaking", "uiMode has been remove, see migrate guild https://aplus.aplnk.com/aplus-ui/guild/migrate-7.2.html");
19
- function o(a, c) {
20
- return e[a] ?? r.value?.[a] ?? c;
18
+ G("ConfigProvider")(!e.uiMode, "breaking", "uiMode has been remove, see migrate guild https://aplus.aplnk.com/aplus-ui/guild/migrate-7.2.html");
19
+ function o(r, c) {
20
+ return e[r] ?? i.value?.[r] ?? c;
21
21
  }
22
- const r = k(), p = n(() => b(A(r.value?.aplusToken || {}), e.aplusToken)), g = n(() => ({
23
- namespace: o("namespace", G),
22
+ const i = k(), g = n(() => b(A(i.value?.aplusToken || {}), e.aplusToken)), m = n(() => ({
23
+ namespace: o("namespace", F),
24
24
  apGrid: o("apGrid"),
25
25
  agGrid: o("agGrid"),
26
26
  apProCard: o("apProCard"),
@@ -30,18 +30,18 @@ const i = s({}), _ = /* @__PURE__ */ v({
30
30
  apUpload: o("apUpload"),
31
31
  apDescriptions: o("apDescriptions"),
32
32
  apFilePreview: o("apFilePreview"),
33
+ apExportGroup: o("apExportGroup"),
33
34
  aplusLocale: e.aplusLocale,
34
- aplusToken: p.value,
35
+ aplusToken: g.value,
35
36
  api: e.api,
36
37
  valueTypeMap: e.valueTypeMap,
37
38
  downloadCenterTriggerConfig: e.downloadCenterTriggerConfig,
38
- exportField: e.exportField,
39
39
  scrollYDomName: e.scrollYDomName,
40
40
  viewCacheOption: e.viewCacheOption
41
- })), m = M(g);
41
+ })), d = E(m);
42
42
  let t = !0;
43
- return C(() => e, (a) => {
44
- i.value = l(u(a), i.value);
43
+ return C(() => e, (r) => {
44
+ a.value = l(p(r), a.value);
45
45
  }, {
46
46
  deep: !0,
47
47
  immediate: !0
@@ -50,18 +50,18 @@ const i = s({}), _ = /* @__PURE__ */ v({
50
50
  t = !1;
51
51
  return;
52
52
  }
53
- i.value = l(u(e), i.value);
53
+ a.value = l(p(e), a.value);
54
54
  }), () => {
55
- let a;
56
- return h(w, i.value, N(a = T(d, "default", {
57
- config: m?.value
58
- })) ? a : {
59
- default: () => [a]
55
+ let r;
56
+ return h(w, a.value, M(r = T(u, "default", {
57
+ config: d?.value
58
+ })) ? r : {
59
+ default: () => [r]
60
60
  });
61
61
  };
62
62
  }
63
63
  });
64
64
  export {
65
65
  _ as ConfigProvider,
66
- i as globalConfigCached
66
+ a as globalConfigCached
67
67
  };
@@ -7,8 +7,8 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
7
7
  import { Locale } from '@aplus-frontend/antdv/es/locale';
8
8
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
9
9
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig, TableConfig, TooltipConfig, PopoverConfig, PopconfirmConfig, ModalConfig, DrawerConfig, ImageConfig } from '@aplus-frontend/antdv/es/config-provider/context';
10
- import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '../..';
11
- import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from '..';
10
+ import { ApGridRowSelection, AgGridRowSelection, ApExportGroupDateValidate, FullToken, ViewCacheOption } from '../..';
11
+ import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig } from '..';
12
12
  import { ApFilePreviewParser } from '../../business/ap-file-preview/interface';
13
13
  import { LocaleType } from '../../locale';
14
14
  import { RecursivePartial } from '../../type';
@@ -218,6 +218,18 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
218
218
  }>;
219
219
  default: () => {};
220
220
  };
221
+ apExportGroup: {
222
+ type: PropType<{
223
+ dateValidate?: ApExportGroupDateValidate | undefined;
224
+ exportField?: boolean | {
225
+ key?: string;
226
+ convertField?: {
227
+ [key: string]: string[];
228
+ };
229
+ } | undefined;
230
+ }>;
231
+ default: () => {};
232
+ };
221
233
  aplusLocale: {
222
234
  type: PropType<LocaleType>;
223
235
  };
@@ -242,10 +254,6 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
242
254
  type: PropType<downloadCenterTriggerConfig>;
243
255
  default: () => {};
244
256
  };
245
- exportField: {
246
- type: PropType<ExportField>;
247
- default: boolean;
248
- };
249
257
  scrollYDomName: {
250
258
  type: StringConstructor;
251
259
  };
@@ -5,8 +5,8 @@ import { CSPConfig } from '@aplus-frontend/antdv/es/config-provider';
5
5
  import { Locale } from '@aplus-frontend/antdv/es/locale';
6
6
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
7
7
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig, TableConfig, TooltipConfig, PopoverConfig, PopconfirmConfig, ModalConfig, DrawerConfig, ImageConfig } from '@aplus-frontend/antdv/es/config-provider/context';
8
- import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
9
- import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from './constants';
8
+ import { ApGridRowSelection, AgGridRowSelection, ApExportGroupDateValidate, FullToken, ViewCacheOption } from '..';
9
+ import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig } from './constants';
10
10
  import { ApFilePreviewParser } from '../business/ap-file-preview/interface';
11
11
  import { LocaleType } from '../locale';
12
12
  import { RecursivePartial } from '../type';
@@ -220,6 +220,18 @@ export declare const APConfigProvider: {
220
220
  }>;
221
221
  default: () => {};
222
222
  };
223
+ apExportGroup: {
224
+ type: PropType<{
225
+ dateValidate?: ApExportGroupDateValidate | undefined;
226
+ exportField?: boolean | {
227
+ key?: string;
228
+ convertField?: {
229
+ [key: string]: string[];
230
+ };
231
+ } | undefined;
232
+ }>;
233
+ default: () => {};
234
+ };
223
235
  aplusLocale: {
224
236
  type: PropType<LocaleType>;
225
237
  };
@@ -244,10 +256,6 @@ export declare const APConfigProvider: {
244
256
  type: PropType<downloadCenterTriggerConfig>;
245
257
  default: () => {};
246
258
  };
247
- exportField: {
248
- type: PropType<ExportField>;
249
- default: boolean;
250
- };
251
259
  scrollYDomName: {
252
260
  type: StringConstructor;
253
261
  };
@@ -299,10 +307,18 @@ export declare const APConfigProvider: {
299
307
  apFilePreview: {
300
308
  parserPlugin?: ApFilePreviewParser[] | undefined;
301
309
  };
310
+ apExportGroup: {
311
+ dateValidate?: ApExportGroupDateValidate | undefined;
312
+ exportField?: boolean | {
313
+ key?: string;
314
+ convertField?: {
315
+ [key: string]: string[];
316
+ };
317
+ } | undefined;
318
+ };
302
319
  api: ApiType;
303
320
  valueTypeMap: Record<string, ValueTypeRenderConfig>;
304
321
  downloadCenterTriggerConfig: downloadCenterTriggerConfig;
305
- exportField: ExportField;
306
322
  viewCacheOption: ViewCacheOption;
307
323
  }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
308
324
  P: {};
@@ -514,6 +530,18 @@ export declare const APConfigProvider: {
514
530
  }>;
515
531
  default: () => {};
516
532
  };
533
+ apExportGroup: {
534
+ type: PropType<{
535
+ dateValidate?: ApExportGroupDateValidate | undefined;
536
+ exportField?: boolean | {
537
+ key?: string;
538
+ convertField?: {
539
+ [key: string]: string[];
540
+ };
541
+ } | undefined;
542
+ }>;
543
+ default: () => {};
544
+ };
517
545
  aplusLocale: {
518
546
  type: PropType<LocaleType>;
519
547
  };
@@ -538,10 +566,6 @@ export declare const APConfigProvider: {
538
566
  type: PropType<downloadCenterTriggerConfig>;
539
567
  default: () => {};
540
568
  };
541
- exportField: {
542
- type: PropType<ExportField>;
543
- default: boolean;
544
- };
545
569
  scrollYDomName: {
546
570
  type: StringConstructor;
547
571
  };
@@ -593,10 +617,18 @@ export declare const APConfigProvider: {
593
617
  apFilePreview: {
594
618
  parserPlugin?: ApFilePreviewParser[] | undefined;
595
619
  };
620
+ apExportGroup: {
621
+ dateValidate?: ApExportGroupDateValidate | undefined;
622
+ exportField?: boolean | {
623
+ key?: string;
624
+ convertField?: {
625
+ [key: string]: string[];
626
+ };
627
+ } | undefined;
628
+ };
596
629
  api: ApiType;
597
630
  valueTypeMap: Record<string, ValueTypeRenderConfig>;
598
631
  downloadCenterTriggerConfig: downloadCenterTriggerConfig;
599
- exportField: ExportField;
600
632
  viewCacheOption: ViewCacheOption;
601
633
  }>;
602
634
  __isFragment?: never;
@@ -805,6 +837,18 @@ export declare const APConfigProvider: {
805
837
  }>;
806
838
  default: () => {};
807
839
  };
840
+ apExportGroup: {
841
+ type: PropType<{
842
+ dateValidate?: ApExportGroupDateValidate | undefined;
843
+ exportField?: boolean | {
844
+ key?: string;
845
+ convertField?: {
846
+ [key: string]: string[];
847
+ };
848
+ } | undefined;
849
+ }>;
850
+ default: () => {};
851
+ };
808
852
  aplusLocale: {
809
853
  type: PropType<LocaleType>;
810
854
  };
@@ -829,10 +873,6 @@ export declare const APConfigProvider: {
829
873
  type: PropType<downloadCenterTriggerConfig>;
830
874
  default: () => {};
831
875
  };
832
- exportField: {
833
- type: PropType<ExportField>;
834
- default: boolean;
835
- };
836
876
  scrollYDomName: {
837
877
  type: StringConstructor;
838
878
  };
@@ -884,10 +924,18 @@ export declare const APConfigProvider: {
884
924
  apFilePreview: {
885
925
  parserPlugin?: ApFilePreviewParser[] | undefined;
886
926
  };
927
+ apExportGroup: {
928
+ dateValidate?: ApExportGroupDateValidate | undefined;
929
+ exportField?: boolean | {
930
+ key?: string;
931
+ convertField?: {
932
+ [key: string]: string[];
933
+ };
934
+ } | undefined;
935
+ };
887
936
  api: ApiType;
888
937
  valueTypeMap: Record<string, ValueTypeRenderConfig>;
889
938
  downloadCenterTriggerConfig: downloadCenterTriggerConfig;
890
- exportField: ExportField;
891
939
  viewCacheOption: ViewCacheOption;
892
940
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & ( Plugin & (new (...args: any[]) => {
893
941
  $props: {
@@ -105,7 +105,10 @@ const a = {
105
105
  exportSelected: "Export selected",
106
106
  exportAll: "Export all",
107
107
  export: "Export",
108
- exportSuccess: "The task has been submitted,please go to the download center to check the progress"
108
+ exportSuccess: "The task has been submitted,please go to the download center to check the progress",
109
+ emptyTooltip: "You queried a long time span, this time you have exported the data for the last {maxDayRange} days",
110
+ maxDayRangeTooltip: "Exceeding the {maxDayRange}-day data range! It has been automatically adjusted to data within {maxDayRange} days from the start time. For longer periods, please export in segments",
111
+ maxMessage: "You can export up to {maxDayRange} days of data"
109
112
  },
110
113
  apBatchAction: {
111
114
  selected: "Selected",
@@ -170,7 +173,7 @@ const a = {
170
173
  systemView: "System view",
171
174
  saveView: "Save view",
172
175
  maxTip: "The maximum number of views that can be saved has been reached. Please delete them before saving a new view",
173
- saveNewView: "Save as new wiew",
176
+ saveNewView: "Save as new view",
174
177
  newView: "New view",
175
178
  setDefault: "Default",
176
179
  viewName: "View name",
@@ -114,7 +114,10 @@ const a = {
114
114
  exportSelected: "导出所选",
115
115
  exportAll: "导出全部",
116
116
  export: "导出",
117
- exportSuccess: "任务已提交,前往下载中心查看进度"
117
+ exportSuccess: "任务已提交,前往下载中心查看进度",
118
+ emptyTooltip: "您查询的时间跨度较长,本次已为您导出最近{maxDayRange}天的数据",
119
+ maxDayRangeTooltip: "超出{maxDayRange}天数据范围!已自动调整为开始时间起{maxDayRange}天内的数据,如需更长周期请分段导出",
120
+ maxMessage: "最多可导{maxDayRange}天数据"
118
121
  },
119
122
  apBatchAction: {
120
123
  selected: "已选",
@@ -1,2 +1,2 @@
1
- declare const _default: "7.13.1";
1
+ declare const _default: "7.13.2";
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- const e = "7.13.1";
1
+ const e = "7.13.2";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1,3 +1,6 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ type __VLS_Props = {
3
+ params: any;
4
+ };
5
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
3
6
  export default _default;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("@aplus-frontend/antdv"),n=e.defineComponent({__name:"index",setup(r){return(u,o)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(t.Empty),{image:e.unref(t.Empty).PRESENTED_IMAGE_SIMPLE},null,8,["image"])]))}});exports.default=n;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),r=require("@aplus-frontend/antdv");require("../../../config-provider/index.js");const t=require("../../../config-provider/hooks/use-namespace.js"),a=e.defineComponent({__name:"index",props:{params:{}},setup(s){const{b:o}=t.useNamespace("ag-grid");return(n,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(o)("empty"))},[n.params.emptyComponent?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.params.emptyComponent),{key:0})):(e.openBlock(),e.createBlock(e.unref(r.Empty),{key:1,image:e.unref(r.Empty).PRESENTED_IMAGE_SIMPLE,description:n.params.emptyText},null,8,["image","description"]))],2))}});exports.default=a;