@aplus-frontend/ui 6.30.1 → 6.31.1

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 (40) hide show
  1. package/es/src/ap-grid/utils/col.d.ts +1 -0
  2. package/es/src/ap-grid/utils/col.mjs +54 -49
  3. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +95 -81
  4. package/es/src/business/ap-appendix/icons/empty-admin-icon.vue.d.ts +3 -0
  5. package/es/src/business/ap-appendix/icons/empty-admin-icon.vue.mjs +20 -0
  6. package/es/src/business/ap-appendix/icons/empty-aplus-icon.vue.d.ts +3 -0
  7. package/es/src/business/ap-appendix/icons/empty-aplus-icon.vue.mjs +20 -0
  8. package/es/src/business/ap-appendix/interface.d.ts +1 -0
  9. package/es/src/business/ap-copy/ApCopy.d.ts +28 -1
  10. package/es/src/business/ap-copy/ApCopy.mjs +42 -38
  11. package/es/src/business/ap-copy/constans.d.ts +12 -0
  12. package/es/src/business/ap-copy/constans.mjs +13 -0
  13. package/es/src/business/ap-copy/index.d.ts +48 -3
  14. package/es/src/business/ap-copy/interface.d.ts +4 -1
  15. package/es/src/locale/lang/en.mjs +2 -1
  16. package/es/src/locale/lang/zh-cn.mjs +2 -1
  17. package/es/src/version.d.ts +1 -1
  18. package/es/src/version.mjs +1 -1
  19. package/lib/src/ap-grid/utils/col.d.ts +1 -0
  20. package/lib/src/ap-grid/utils/col.js +1 -1
  21. package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
  22. package/lib/src/business/ap-appendix/icons/empty-admin-icon.vue.d.ts +3 -0
  23. package/lib/src/business/ap-appendix/icons/empty-admin-icon.vue.js +1 -0
  24. package/lib/src/business/ap-appendix/icons/empty-aplus-icon.vue.d.ts +3 -0
  25. package/lib/src/business/ap-appendix/icons/empty-aplus-icon.vue.js +1 -0
  26. package/lib/src/business/ap-appendix/interface.d.ts +1 -0
  27. package/lib/src/business/ap-copy/ApCopy.d.ts +28 -1
  28. package/lib/src/business/ap-copy/ApCopy.js +1 -1
  29. package/lib/src/business/ap-copy/constans.d.ts +12 -0
  30. package/lib/src/business/ap-copy/constans.js +1 -1
  31. package/lib/src/business/ap-copy/index.d.ts +48 -3
  32. package/lib/src/business/ap-copy/interface.d.ts +4 -1
  33. package/lib/src/locale/lang/en.js +1 -1
  34. package/lib/src/locale/lang/zh-cn.js +1 -1
  35. package/lib/src/version.d.ts +1 -1
  36. package/lib/src/version.js +1 -1
  37. package/package.json +1 -1
  38. package/theme/ap-appendix/ap-appendix.css +15 -0
  39. package/theme/ap-appendix/ap-appendix.less +15 -0
  40. package/theme/index.css +15 -0
@@ -1,6 +1,7 @@
1
1
  import { DataIndex } from '@aplus-frontend/antdv/es/vc-table/interface';
2
2
  import { ApGridColumnType, ColConfigType } from '../interface';
3
3
  import { ValueTypeRenderConfig } from '../../config-provider';
4
+ export declare function getValueByDataIndex(row: any, dataIndex?: DataIndex): any;
4
5
  export declare function dataIndexToField(dataIndex: DataIndex): string | undefined;
5
6
  export declare function transformFixed(fixed: ApGridColumnType['fixed']): "left" | "right" | undefined;
6
7
  /**
@@ -1,19 +1,23 @@
1
- import { createVNode as f, Fragment as p } from "vue";
2
- import { isUndefined as A, isArray as R, isString as y, isBoolean as c, isNumber as N, pick as b } from "lodash-unified";
3
- import { valueEnumToArray as w, objectToString as E, getTableTitle as F, getTableRenderType as O, getTableRenderProps as S, getTableCellRenderNode as $ } from "../../ap-table/utils.mjs";
4
- import { noRenderAsFormItemValueList as M } from "../../ap-table/constants.mjs";
1
+ import { createVNode as o, Fragment as p } from "vue";
2
+ import { isArray as c, isUndefined as N, isString as b, isBoolean as F, isNumber as E, pick as x } from "lodash-unified";
3
+ import { valueEnumToArray as O, objectToString as $, getTableTitle as v, getTableRenderType as w, getTableRenderProps as S, getTableCellRenderNode as V } from "../../ap-table/utils.mjs";
4
+ import { noRenderAsFormItemValueList as B } from "../../ap-table/constants.mjs";
5
5
  import "../../ap-table/components/paragraph-ellipsis/index.vue.mjs";
6
- import V from "../../ap-table/components/paragraph-ellipsis/index.vue2.mjs";
7
- function v(e) {
8
- if (!A(e))
9
- return R(e) ? e.reduce((r, t) => y(t) ? `${r}.${t}` : `${r}[${t}]`, "") : String(e);
6
+ import M from "../../ap-table/components/paragraph-ellipsis/index.vue2.mjs";
7
+ function h(e, r) {
8
+ if (r)
9
+ return c(r) ? r.reduce((t, l) => t?.[l], e) : e?.[r];
10
10
  }
11
- function x(e) {
11
+ function A(e) {
12
+ if (!N(e))
13
+ return c(e) ? e.reduce((r, t) => b(t) ? `${r}${r ? "." : ""}${t}` : `${r}[${t}]`, "") : String(e);
14
+ }
15
+ function R(e) {
12
16
  if (e)
13
17
  return e === !0 ? "left" : e;
14
18
  }
15
19
  function j(e) {
16
- return c(e) ? {
20
+ return F(e) ? {
17
21
  sortable: e
18
22
  } : e ? {
19
23
  sortable: !0,
@@ -25,17 +29,17 @@ function j(e) {
25
29
  }
26
30
  function q(e) {
27
31
  let r;
28
- return c(e.filters) && e.valueEnum ? r = w(e.valueEnum) : r = e.filters, r?.map((t) => ({
29
- label: y(t.text) ? t.text : "",
32
+ return F(e.filters) && e.valueEnum ? r = O(e.valueEnum) : r = e.filters, r?.map((t) => ({
33
+ label: b(t.text) ? t.text : "",
30
34
  value: t.value
31
35
  }));
32
36
  }
33
- function B(e) {
37
+ function W(e) {
34
38
  if (e)
35
39
  return (r) => e(r.value, r.row);
36
40
  }
37
- function W(e, r) {
38
- return e ? N(e) ? {
41
+ function _(e, r) {
42
+ return e ? E(e) ? {
39
43
  tooltip: r,
40
44
  rows: e
41
45
  } : e === !0 || e === "tooltip" ? {
@@ -47,12 +51,12 @@ function W(e, r) {
47
51
  htmlTitle: e === "title" ? r : ""
48
52
  } : !1;
49
53
  }
50
- function _(e, r, t) {
51
- if (M.includes(e.valueType))
54
+ function k(e, r, t) {
55
+ if (B.includes(e.valueType))
52
56
  return t;
53
57
  if (e.copyable || e.ellipsis) {
54
- const l = W(e.ellipsis, r), i = E(r);
55
- return f(V, {
58
+ const l = _(e.ellipsis, r), i = $(r);
59
+ return o(M, {
56
60
  rawValue: i,
57
61
  copyable: e.copyable,
58
62
  ellipsis: l,
@@ -61,78 +65,79 @@ function _(e, r, t) {
61
65
  }
62
66
  return t;
63
67
  }
64
- function h(e, r, t) {
65
- const l = b(e, ["width", "minWidth", "align"]);
66
- return l.field = v(e.dataIndex), l.fixed = x(e.fixed), l.slots = {
67
- header: () => F(e, t, void 0, r)
68
+ function T(e, r, t) {
69
+ const l = x(e, ["width", "minWidth", "align"]);
70
+ return l.field = A(e.dataIndex), l.fixed = R(e.fixed), l.slots = {
71
+ header: () => v(e, t, void 0, r)
68
72
  }, l.headerAlign = e.align, l.showOverflow = !1, l.showFooterOverflow = !1, l;
69
73
  }
70
- const k = ({
74
+ const z = ({
71
75
  value: e,
72
76
  ...r
73
77
  }, t, l, i = !0) => {
74
- const s = O(t), d = S({
78
+ const s = w(t), d = S({
75
79
  ...t,
76
80
  valueType: s
77
81
  }, {
78
82
  value: e,
79
83
  ...r
80
- }), n = $(s, d, r.record, l), a = t.renderText?.({
84
+ }), n = V(s, d, r.record, l), a = t.renderText?.({
81
85
  value: e,
82
86
  ...r
83
- }) || e, u = t.renderText ? f(p, null, [t.renderText?.({
87
+ }) || e, u = t.renderText ? o(p, null, [t.renderText?.({
84
88
  value: e,
85
89
  ...r
86
90
  })]) : n;
87
- let o = i ? _(t, a, u) : u;
88
- return t.customRender && (o = t.customRender({
91
+ let f = i ? k(t, a, u) : u;
92
+ return t.customRender && (f = t.customRender({
89
93
  value: e,
90
94
  ...r,
91
95
  column: t,
92
- originalNode: o,
96
+ originalNode: f,
93
97
  originalText: a
94
- })), f(p, null, [o]);
98
+ })), o(p, null, [f]);
95
99
  };
96
- function T(e, r, t, l) {
97
- const i = b(e, ["width", "minWidth", "align", "resizable", "className", "headerClassName", "footerClassName", "treeNode"]);
98
- i.field = v(e.dataIndex), i.fixed = x(e.fixed), i.headerAlign = e.align, i.footerAlign = e.align, i.showOverflow = !1, i.showFooterOverflow = !1, Object.assign(i, j(e.sorter)), i.filters = q(e), i.filterMultiple = e.filterMultiple, i.filterMethod = B(e.onFilter);
100
+ function y(e, r, t, l) {
101
+ const i = x(e, ["width", "minWidth", "align", "resizable", "className", "headerClassName", "footerClassName", "treeNode"]);
102
+ i.field = A(e.dataIndex), i.fixed = R(e.fixed), i.headerAlign = e.align, i.footerAlign = e.align, i.showOverflow = !1, i.showFooterOverflow = !1, Object.assign(i, j(e.sorter)), i.filters = q(e), i.filterMultiple = e.filterMultiple, i.filterMethod = W(e.onFilter);
99
103
  const s = ({
100
104
  row: d,
101
105
  rowIndex: n
102
- }) => k({
103
- value: d[i.field],
104
- text: d[i.field],
106
+ }) => z({
107
+ value: h(d, e.dataIndex),
108
+ text: h(d, e.dataIndex),
105
109
  record: d,
106
110
  index: n,
107
111
  renderIndex: n,
108
112
  column: e
109
113
  }, e, l);
110
114
  return i.slots = {
111
- header: () => F(e, t, void 0, r),
115
+ header: () => v(e, t, void 0, r),
112
116
  default: s,
113
117
  footer: s
114
118
  }, e.html && (delete i.slots.default, delete i.slots.footer, i.type = "html"), e.seq && (i.type = "seq", i.slots = {}), i;
115
119
  }
116
- function H(e, r, t, l) {
120
+ function J(e, r, t, l) {
117
121
  if (!e.children?.length)
118
- return T(e, r, t, l);
122
+ return y(e, r, t, l);
119
123
  function i(d) {
120
124
  return d.map((n) => {
121
125
  if (n.children?.length) {
122
- const a = h(n, r, t);
126
+ const a = T(n, r, t);
123
127
  return a.children = i(n.children), a;
124
128
  }
125
- return T(n, r, t, l);
129
+ return y(n, r, t, l);
126
130
  });
127
131
  }
128
- const s = h(e, r, t);
132
+ const s = T(e, r, t);
129
133
  return s.children = i(e.children), s;
130
134
  }
131
135
  export {
132
- k as contentCustom,
133
- v as dataIndexToField,
134
- H as transformCol,
135
- x as transformFixed,
136
- h as transformToColGroup,
137
- T as transformToColumn
136
+ z as contentCustom,
137
+ A as dataIndexToField,
138
+ h as getValueByDataIndex,
139
+ J as transformCol,
140
+ R as transformFixed,
141
+ T as transformToColGroup,
142
+ y as transformToColumn
138
143
  };
@@ -1,18 +1,20 @@
1
- import { defineComponent as O, computed as p, ref as I, createElementBlock as m, openBlock as n, mergeProps as T, unref as e, renderSlot as d, createVNode as u, withCtx as g, createElementVNode as r, normalizeClass as o, createBlock as A, createCommentVNode as F, Fragment as V, renderList as S, createSlots as j, createTextVNode as D, toDisplayString as E } from "vue";
2
- import U from "./icons/file-icon.vue.mjs";
3
- import { Tooltip as z, TypographyText as G } from "@aplus-frontend/antdv";
4
- import { IconVariantDownload as P } from "@aplus-frontend/icon";
5
- import { LoadingOutlined as q } from "@ant-design/icons-vue";
1
+ import { defineComponent as T, computed as d, ref as E, createElementBlock as k, openBlock as r, mergeProps as V, unref as e, renderSlot as c, createCommentVNode as C, createVNode as v, withCtx as g, createElementVNode as s, normalizeClass as i, createBlock as p, Fragment as S, renderList as j, createSlots as D, createTextVNode as M, toDisplayString as h } from "vue";
2
+ import U from "./icons/empty-aplus-icon.vue.mjs";
3
+ import z from "./icons/empty-admin-icon.vue.mjs";
4
+ import G from "./icons/file-icon.vue.mjs";
5
+ import { Tooltip as P, TypographyText as q } from "@aplus-frontend/antdv";
6
+ import { IconVariantDownload as H } from "@aplus-frontend/icon";
7
+ import { LoadingOutlined as J } from "@ant-design/icons-vue";
6
8
  import "../ap-title/ApTitle.vue.mjs";
7
9
  import "../../ap-download/ap-download.vue2.mjs";
8
10
  import "../../config-provider/index.mjs";
9
- import { getFileInfo as H } from "./utils/index.mjs";
10
- import { useNamespace as J } from "../../config-provider/hooks/use-namespace.mjs";
11
- import { useLocale as K } from "../../config-provider/hooks/use-locale.mjs";
12
- import { useGlobalConfig as _ } from "../../config-provider/hooks/use-global-config.mjs";
13
- import M from "../ap-title/ApTitle.vue2.mjs";
14
- import Q from "../../ap-download/ap-download.vue.mjs";
15
- const R = ["onClick"], fe = /* @__PURE__ */ O({
11
+ import { getFileInfo as K } from "./utils/index.mjs";
12
+ import { useNamespace as Q } from "../../config-provider/hooks/use-namespace.mjs";
13
+ import { useLocale as R } from "../../config-provider/hooks/use-locale.mjs";
14
+ import { useGlobalConfig as N } from "../../config-provider/hooks/use-global-config.mjs";
15
+ import W from "../ap-title/ApTitle.vue2.mjs";
16
+ import X from "../../ap-download/ap-download.vue.mjs";
17
+ const Y = ["onClick"], ve = /* @__PURE__ */ T({
16
18
  __name: "ap-appendix",
17
19
  props: {
18
20
  fileList: {},
@@ -23,67 +25,67 @@ const R = ["onClick"], fe = /* @__PURE__ */ O({
23
25
  column: { default: 2 },
24
26
  isFileAreaBorder: { type: Boolean, default: !1 }
25
27
  },
26
- setup(h) {
27
- const { b: w, e: a, em: C } = J("ap-appendix"), { t: v } = K(), l = h, $ = _("apUpload"), k = _(
28
+ setup(w) {
29
+ const { b: _, e: l, em: F } = Q("ap-appendix"), { t: m } = R(), x = N("uiMode"), a = w, B = N("apUpload"), $ = N(
28
30
  "downloadCenterTriggerConfig"
29
- ), c = p(
30
- () => H(l?.needName, l?.fileList ?? [])
31
- ), x = p(
32
- () => l.getOssAccess || $.value?.getOssAccess
33
- ), N = p(
34
- () => !(Array.isArray(c.value) && c.value.length)
35
- ), i = I([]), B = p(() => l.title || v("ap.apAppendix.appendix"));
36
- async function b(s, f) {
37
- if (!(i.value.findIndex((t) => t === f) > -1)) {
38
- i.value = [...i.value, f];
31
+ ), f = d(
32
+ () => K(a?.needName, a?.fileList ?? [])
33
+ ), I = d(
34
+ () => a.getOssAccess || B.value?.getOssAccess
35
+ ), y = d(
36
+ () => !(Array.isArray(f.value) && f.value.length)
37
+ ), o = E([]), b = d(() => a.title || m("ap.apAppendix.appendix"));
38
+ async function O(n, u) {
39
+ if (!(o.value.findIndex((t) => t === u) > -1)) {
40
+ o.value = [...o.value, u];
39
41
  try {
40
- if (k.value?.trigger) {
41
- let t = [s].map((L) => ({
42
+ if ($.value?.trigger) {
43
+ let t = [n].map((L) => ({
42
44
  objectName: L.path,
43
45
  fileName: L.fileName
44
46
  }));
45
- await k.value?.trigger(t);
47
+ await $.value?.trigger(t);
46
48
  }
47
49
  } finally {
48
- i.value = i.value.filter((t) => t !== f);
50
+ o.value = o.value.filter((t) => t !== u);
49
51
  }
50
52
  }
51
53
  }
52
- return (s, f) => (n(), m("div", T({
53
- class: [e(w)()]
54
+ return (n, u) => (r(), k("div", V({
55
+ class: [e(_)()]
54
56
  }, {
55
- ...s.$attrs
57
+ ...n.$attrs
56
58
  }, {
57
59
  style: {
58
- "--ap-appendix-column": `repeat(${Number(l?.column || 2)}, 1fr)`
60
+ "--ap-appendix-column": `repeat(${Number(a?.column || 2)}, 1fr)`
59
61
  }
60
62
  }), [
61
- d(s.$slots, "title", {
62
- fileList: l.fileList
63
+ c(n.$slots, "title", {
64
+ fileList: a.fileList
63
65
  }, () => [
64
- u(M, {
65
- title: B.value,
66
- "help-message": l?.tooltip
66
+ v(W, {
67
+ title: b.value,
68
+ "help-message": a?.tooltip
67
69
  }, {
68
70
  suffix: g(() => [
69
- r("div", {
70
- class: o([e(a)("suffix")])
71
+ s("div", {
72
+ class: i([e(l)("suffix")])
71
73
  }, [
72
- d(s.$slots, "titleSuffix", {
73
- fileList: l.fileList
74
+ c(n.$slots, "titleSuffix", {
75
+ fileList: a.fileList
74
76
  }),
75
- d(s.$slots, "titleDownloadAllBtn", {
76
- fileList: l.fileList
77
+ c(n.$slots, "titleDownloadAllBtn", {
78
+ fileList: a.fileList
77
79
  }, () => [
78
- N.value ? F("", !0) : (n(), A(Q, {
80
+ y.value ? C("", !0) : (r(), p(X, {
79
81
  key: 0,
80
- class: o([e(a)("download-all")]),
81
- text: e(v)("ap.apAppendix.downloadAll"),
82
- "get-oss-access": x.value,
83
- "file-name": c.value
82
+ class: i([e(l)("download-all")]),
83
+ text: e(m)("ap.apAppendix.downloadAll"),
84
+ "get-oss-access": I.value,
85
+ "file-name": f.value
84
86
  }, {
85
87
  icon: g(() => [
86
- u(e(P))
88
+ v(e(H))
87
89
  ]),
88
90
  _: 1
89
91
  }, 8, ["class", "text", "get-oss-access", "file-name"]))
@@ -93,67 +95,79 @@ const R = ["onClick"], fe = /* @__PURE__ */ O({
93
95
  _: 3
94
96
  }, 8, ["title", "help-message"])
95
97
  ]),
96
- d(s.$slots, "fileArea", {
97
- fileList: l.fileList
98
+ y.value ? C("", !0) : c(n.$slots, "fileArea", {
99
+ key: 0,
100
+ fileList: a.fileList
98
101
  }, () => [
99
- N.value ? F("", !0) : (n(), m("div", {
100
- key: 0,
101
- class: o({
102
- [e(a)("file-area")]: !0,
103
- [e(C)("file-area", "border")]: !!l.isFileAreaBorder
102
+ s("div", {
103
+ class: i({
104
+ [e(l)("file-area")]: !0,
105
+ [e(F)("file-area", "border")]: !!a.isFileAreaBorder
104
106
  })
105
107
  }, [
106
- r("div", {
107
- class: o([e(a)("file-area-content")])
108
+ s("div", {
109
+ class: i([e(l)("file-area-content")])
108
110
  }, [
109
- (n(!0), m(V, null, S(c.value, (y, t) => (n(), m("div", {
111
+ (r(!0), k(S, null, j(f.value, (A, t) => (r(), k("div", {
110
112
  key: t,
111
- class: o({
112
- [e(a)("file-area-content-item")]: !0,
113
- [e(C)("file-area-content-item", "loading")]: i.value.includes(t)
113
+ class: i({
114
+ [e(l)("file-area-content-item")]: !0,
115
+ [e(F)("file-area-content-item", "loading")]: o.value.includes(t)
114
116
  })
115
117
  }, [
116
- u(e(z), null, j({
118
+ v(e(P), null, D({
117
119
  default: g(() => [
118
- r("div", {
119
- class: o({
120
- [e(a)("file-area-content-item-content")]: !0,
121
- [e(a)("file-area-content-item--loading-content")]: i.value.includes(t)
120
+ s("div", {
121
+ class: i({
122
+ [e(l)("file-area-content-item-content")]: !0,
123
+ [e(l)("file-area-content-item--loading-content")]: o.value.includes(t)
122
124
  }),
123
- onClick: (L) => b(y, t)
125
+ onClick: (L) => O(A, t)
124
126
  }, [
125
- r("div", {
126
- class: o([e(a)("file-area-content-item-icon")])
127
+ s("div", {
128
+ class: i([e(l)("file-area-content-item-icon")])
127
129
  }, [
128
- i.value.includes(t) ? (n(), A(e(q), { key: 0 })) : (n(), A(U, { key: 1 }))
130
+ o.value.includes(t) ? (r(), p(e(J), { key: 0 })) : (r(), p(G, { key: 1 }))
129
131
  ], 2),
130
- r("div", {
131
- class: o([e(a)("file-area-content-item-file-name")])
132
+ s("div", {
133
+ class: i([e(l)("file-area-content-item-file-name")])
132
134
  }, [
133
- u(e(G), {
135
+ v(e(q), {
134
136
  ellipsis: "",
135
- content: y.fileName
137
+ content: A.fileName
136
138
  }, null, 8, ["content"])
137
139
  ], 2)
138
- ], 10, R)
140
+ ], 10, Y)
139
141
  ]),
140
142
  _: 2
141
143
  }, [
142
- i.value.includes(t) ? void 0 : {
144
+ o.value.includes(t) ? void 0 : {
143
145
  name: "title",
144
146
  fn: g(() => [
145
- D(E(e(v)("ap.apAppendix.downloadFile")), 1)
147
+ M(h(e(m)("ap.apAppendix.downloadFile")), 1)
146
148
  ]),
147
149
  key: "0"
148
150
  }
149
151
  ]), 1024)
150
152
  ], 2))), 128))
151
153
  ], 2)
152
- ], 2))
153
- ])
154
+ ], 2)
155
+ ]),
156
+ y.value ? c(n.$slots, "empty", { key: 1 }, () => [
157
+ s("div", {
158
+ class: i([e(l)("empty")])
159
+ }, [
160
+ s("div", {
161
+ class: i([e(l)("empty-content")])
162
+ }, [
163
+ e(x) === "aplus" ? (r(), p(U, { key: 0 })) : (r(), p(z, { key: 1 })),
164
+ s("span", null, h(e(m)("ap.apAppendix.empty")), 1)
165
+ ], 2)
166
+ ], 2)
167
+ ]) : C("", !0)
154
168
  ], 16));
155
169
  }
156
170
  });
157
171
  export {
158
- fe as default
172
+ ve as default
159
173
  };
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
3
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { createElementBlock as l, openBlock as i, createStaticVNode as e } from "vue";
2
+ import Q from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ const o = {}, L = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
6
+ fill: "none",
7
+ version: "1.1",
8
+ width: "88",
9
+ height: "88.5078125",
10
+ viewBox: "0 0 88 88.5078125"
11
+ };
12
+ function r(p, t) {
13
+ return i(), l("svg", L, t[0] || (t[0] = [
14
+ e('<defs><clipPath id="master_svg0_373_19161"><rect x="0" y="33" width="88" height="55.507694244384766" rx="0"></rect></clipPath></defs><g><g clip-path="url(#master_svg0_373_19161)"><g><g><path d="M12.375,72.37709593772888C4.71416,74.08249593772888,0,76.40572593772887,0,78.96611593772889C0,84.20009593772889,19.6995,88.44299593772888,44,88.44299593772888C68.3005,88.44299593772888,88,84.20009593772889,88,78.96611593772889C88,76.40572593772887,83.2858,74.08249593772888,75.625,72.37709608666788C75.625,72.37709608666788,75.625,76.50840593772888,75.625,76.50840593772888C75.625,79.38261593772889,73.81,81.73831593772888,71.5687,81.73831593772888C71.5687,81.73831593772888,16.4312,81.73831593772888,16.4312,81.73831593772888C14.19,81.73831593772888,12.375,79.38126593772888,12.375,76.50840593772888C12.375,76.50840593772888,12.375,72.37709593772888,12.375,72.37709593772888Z" fill="#000000" fill-opacity="0.03999999910593033"></path></g><g><g><path d="M57.2179,55.92138781272888C57.2179,53.74846781272888,58.5846,51.95462166272888,60.28,51.95326781272888C60.28,51.95326781272888,75.625,51.95326781272888,75.625,51.95326781272888C75.625,51.95326781272888,75.625,76.50796781272888,75.625,76.50796781272888C75.625,79.38216781272888,73.81,81.73786781272888,71.5687,81.73786781272888C71.5687,81.73786781272888,16.43125,81.73786781272888,16.43125,81.73786781272888C14.19,81.73786781272888,12.375,79.38086781272888,12.375,76.50796781272888C12.375,76.50796781272888,12.375,51.95326781272888,12.375,51.95326781272888C12.375,51.95326781272888,27.72,51.95326781272888,27.72,51.95326781272888C29.4154,51.95326781272888,30.7821,53.74440781272888,30.7821,55.917327812728885C30.7821,55.917327812728885,30.7821,55.947117812728884,30.7821,55.947117812728884C30.7821,58.12003781272888,32.164,59.874617812728886,33.858000000000004,59.874617812728886C33.858000000000004,59.874617812728886,54.142,59.874617812728886,54.142,59.874617812728886C55.836,59.874617812728886,57.2179,58.10378781272888,57.2179,55.930867812728884C57.2179,55.930867812728884,57.2179,55.92138781272888,57.2179,55.92138781272888C57.2179,55.92138781272888,57.2179,55.92138781272888,57.2179,55.92138781272888Z" fill="#000000" fill-opacity="0.03999999910593033"></path><path d="M57.7179,55.930867812728884L57.7179,55.92138781272888Q57.7179,54.45772781272888,58.5096,53.42769781272888Q59.258,52.45408381272888,60.28,52.45326781272888L75.125,52.45326781272888L75.125,76.50796781272888Q75.125,78.49546781272889,74.0419,79.89476781272889Q73.00229999999999,81.23786781272888,71.5687,81.23786781272888L16.43125,81.23786781272888Q14.997869999999999,81.23786781272888,13.95808,79.89426781272888Q12.875,78.49466781272888,12.875,76.50796781272888L12.875,52.45326781272888L27.72,52.45326781272888Q28.7425,52.45326781272888,29.4906,53.42538781272888Q30.2821,54.45397781272888,30.2821,55.917327812728885L30.2821,55.947117812728884Q30.2821,57.74781781272888,31.2914,59.03433781272888Q32.3429,60.37462781272888,33.858000000000004,60.374617812728886L54.142,60.374617812728886Q55.6567,60.374617812728886,56.7094,59.02511781272888Q57.7179,57.73234781272888,57.7179,55.930867812728884ZM57.7168,52.81828281272888Q56.7179,54.11781781272888,56.7179,55.92138781272888L56.7179,55.930867812728884Q56.7179,57.38843781272888,55.921,58.41005781272888Q55.1685,59.374617812728886,54.142,59.374617812728886L33.858000000000004,59.374617812728886Q32.8294,59.374617812728886,32.078199999999995,58.41708781272888Q31.2821,57.40236781272888,31.2821,55.947117812728884L31.2821,55.917327812728885Q31.2821,54.11374781272888,30.2831,52.81551981272888Q29.2348,51.45326781272888,27.72,51.45326781272888L11.875,51.45326781272888L11.875,76.50796781272888Q11.875,78.83636781272888,13.167231,80.50626781272888Q14.50727,82.23786781272888,16.43125,82.23786781272888L71.5687,82.23786781272888Q73.49289999999999,82.23786781272888,74.8327,80.50676781272888Q76.125,78.83726781272888,76.125,76.50796781272888L76.125,51.45326781272888L60.28,51.45326781272888Q58.765,51.45447781272888,57.7168,52.81828281272888Z" fill-rule="evenodd" fill="#000000" fill-opacity="0.15000000596046448"></path></g><g><path d="M25.9259,36.227007812728885L12.002564,51.77106781272888L12.747436,52.43826781272888L26.726100000000002,36.83247781272888L26.7485,36.79707781272888Q27.676299999999998,35.32826781272888,29.0029,35.32826781272888L58.9971,35.32826781272888Q60.324,35.32826781272888,61.2514,36.798187812728884L61.2738,36.833737812728884L75.2526,52.43696781272888L75.9974,51.76966781272888L62.0741,36.228457812728884Q60.8579,34.32826781272888,58.9971,34.32826781272888L29.0029,34.32826781272888Q27.142699999999998,34.32826781272888,25.9259,36.227007812728885Z" fill-rule="evenodd" fill="#000000" fill-opacity="0.15000000596046448"></path></g></g></g></g></g>', 2)
15
+ ]));
16
+ }
17
+ const g = /* @__PURE__ */ Q(o, [["render", r]]);
18
+ export {
19
+ g as default
20
+ };
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
3
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { createElementBlock as l, openBlock as e, createStaticVNode as i } from "vue";
2
+ import Q from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ const o = {}, L = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
6
+ fill: "none",
7
+ version: "1.1",
8
+ width: "88",
9
+ height: "88.5078125",
10
+ viewBox: "0 0 88 88.5078125"
11
+ };
12
+ function p(r, t) {
13
+ return e(), l("svg", L, t[0] || (t[0] = [
14
+ i('<defs><clipPath id="master_svg0_373_19161"><rect x="0" y="33" width="88" height="55.507694244384766" rx="0"></rect></clipPath></defs><g><g clip-path="url(#master_svg0_373_19161)"><g><g><path d="M12.375,72.37709593772888C4.71416,74.08249593772888,0,76.40572593772887,0,78.96611593772889C0,84.20009593772889,19.6995,88.44299593772888,44,88.44299593772888C68.3005,88.44299593772888,88,84.20009593772889,88,78.96611593772889C88,76.40572593772887,83.2858,74.08249593772888,75.625,72.37709608666788C75.625,72.37709608666788,75.625,76.50840593772888,75.625,76.50840593772888C75.625,79.38261593772889,73.81,81.73831593772888,71.5687,81.73831593772888C71.5687,81.73831593772888,16.4312,81.73831593772888,16.4312,81.73831593772888C14.19,81.73831593772888,12.375,79.38126593772888,12.375,76.50840593772888C12.375,76.50840593772888,12.375,72.37709593772888,12.375,72.37709593772888Z" fill="#F6F6F8" fill-opacity="1"></path></g><g><g><path d="M57.2179,55.92138781272888C57.2179,53.74846781272888,58.5846,51.95462166272888,60.28,51.95326781272888C60.28,51.95326781272888,75.625,51.95326781272888,75.625,51.95326781272888C75.625,51.95326781272888,75.625,76.50796781272888,75.625,76.50796781272888C75.625,79.38216781272888,73.81,81.73786781272888,71.5687,81.73786781272888C71.5687,81.73786781272888,16.43125,81.73786781272888,16.43125,81.73786781272888C14.19,81.73786781272888,12.375,79.38086781272888,12.375,76.50796781272888C12.375,76.50796781272888,12.375,51.95326781272888,12.375,51.95326781272888C12.375,51.95326781272888,27.72,51.95326781272888,27.72,51.95326781272888C29.4154,51.95326781272888,30.7821,53.74440781272888,30.7821,55.917327812728885C30.7821,55.917327812728885,30.7821,55.947117812728884,30.7821,55.947117812728884C30.7821,58.12003781272888,32.164,59.874617812728886,33.858000000000004,59.874617812728886C33.858000000000004,59.874617812728886,54.142,59.874617812728886,54.142,59.874617812728886C55.836,59.874617812728886,57.2179,58.10378781272888,57.2179,55.930867812728884C57.2179,55.930867812728884,57.2179,55.92138781272888,57.2179,55.92138781272888C57.2179,55.92138781272888,57.2179,55.92138781272888,57.2179,55.92138781272888Z" fill="#FAFBFB" fill-opacity="1"></path><path d="M57.7179,55.930867812728884L57.7179,55.92138781272888Q57.7179,54.45772781272888,58.5096,53.42769781272888Q59.258,52.45408381272888,60.28,52.45326781272888L75.125,52.45326781272888L75.125,76.50796781272888Q75.125,78.49546781272889,74.0419,79.89476781272889Q73.00229999999999,81.23786781272888,71.5687,81.23786781272888L16.43125,81.23786781272888Q14.997869999999999,81.23786781272888,13.95808,79.89426781272888Q12.875,78.49466781272888,12.875,76.50796781272888L12.875,52.45326781272888L27.72,52.45326781272888Q28.7425,52.45326781272888,29.4906,53.42538781272888Q30.2821,54.45397781272888,30.2821,55.917327812728885L30.2821,55.947117812728884Q30.2821,57.74781781272888,31.2914,59.03433781272888Q32.3429,60.37462781272888,33.858000000000004,60.374617812728886L54.142,60.374617812728886Q55.6567,60.374617812728886,56.7094,59.02511781272888Q57.7179,57.73234781272888,57.7179,55.930867812728884ZM57.7168,52.81828281272888Q56.7179,54.11781781272888,56.7179,55.92138781272888L56.7179,55.930867812728884Q56.7179,57.38843781272888,55.921,58.41005781272888Q55.1685,59.374617812728886,54.142,59.374617812728886L33.858000000000004,59.374617812728886Q32.8294,59.374617812728886,32.078199999999995,58.41708781272888Q31.2821,57.40236781272888,31.2821,55.947117812728884L31.2821,55.917327812728885Q31.2821,54.11374781272888,30.2831,52.81551981272888Q29.2348,51.45326781272888,27.72,51.45326781272888L11.875,51.45326781272888L11.875,76.50796781272888Q11.875,78.83636781272888,13.167231,80.50626781272888Q14.50727,82.23786781272888,16.43125,82.23786781272888L71.5687,82.23786781272888Q73.49289999999999,82.23786781272888,74.8327,80.50676781272888Q76.125,78.83726781272888,76.125,76.50796781272888L76.125,51.45326781272888L60.28,51.45326781272888Q58.765,51.45447781272888,57.7168,52.81828281272888Z" fill-rule="evenodd" fill="#DBDFE4" fill-opacity="1"></path></g><g><path d="M25.9259,36.227007812728885L12.002564,51.77106781272888L12.747436,52.43826781272888L26.726100000000002,36.83247781272888L26.7485,36.79707781272888Q27.676299999999998,35.32826781272888,29.0029,35.32826781272888L58.9971,35.32826781272888Q60.324,35.32826781272888,61.2514,36.798187812728884L61.2738,36.833737812728884L75.2526,52.43696781272888L75.9974,51.76966781272888L62.0741,36.228457812728884Q60.8579,34.32826781272888,58.9971,34.32826781272888L29.0029,34.32826781272888Q27.142699999999998,34.32826781272888,25.9259,36.227007812728885Z" fill-rule="evenodd" fill="#DBDFE4" fill-opacity="1"></path></g></g></g></g></g>', 2)
15
+ ]));
16
+ }
17
+ const g = /* @__PURE__ */ Q(o, [["render", p]]);
18
+ export {
19
+ g as default
20
+ };
@@ -54,4 +54,5 @@ export interface ApAppendixSlots<FileType = any> {
54
54
  title: (props: ApAppendixBaseSlotProps<FileType>) => any;
55
55
  titleSuffix: (props: ApAppendixBaseSlotProps<FileType>) => any;
56
56
  titleDownloadAllBtn: (props: ApAppendixBaseSlotProps<FileType>) => any;
57
+ empty: () => any;
57
58
  }
@@ -21,6 +21,18 @@ declare const _default: DefineComponent<ExtractPropTypes<{
21
21
  type: PropType< ApCopy["disableCopy"]>;
22
22
  default: boolean;
23
23
  };
24
+ onClick: {
25
+ type: PropType< ApCopy["onClick"]>;
26
+ default: () => void;
27
+ };
28
+ tipMessageSuccess: {
29
+ type: PropType< ApCopy["tipMessageSuccess"]>;
30
+ default: string;
31
+ };
32
+ tipMessageError: {
33
+ type: PropType< ApCopy["tipMessageError"]>;
34
+ default: string;
35
+ };
24
36
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
25
37
  text: {
26
38
  type: PropType< ApCopy["text"]>;
@@ -42,11 +54,26 @@ declare const _default: DefineComponent<ExtractPropTypes<{
42
54
  type: PropType< ApCopy["disableCopy"]>;
43
55
  default: boolean;
44
56
  };
57
+ onClick: {
58
+ type: PropType< ApCopy["onClick"]>;
59
+ default: () => void;
60
+ };
61
+ tipMessageSuccess: {
62
+ type: PropType< ApCopy["tipMessageSuccess"]>;
63
+ default: string;
64
+ };
65
+ tipMessageError: {
66
+ type: PropType< ApCopy["tipMessageError"]>;
67
+ default: string;
68
+ };
45
69
  }>> & Readonly<{}>, {
46
70
  size: number | undefined;
47
- link: string | undefined;
71
+ link: string | boolean | undefined;
72
+ onClick: (() => void) | undefined;
48
73
  text: string | undefined;
49
74
  textStyle: "link" | CSSProperties | "major" | "minor" | undefined;
50
75
  disableCopy: boolean | undefined;
76
+ tipMessageSuccess: string | undefined;
77
+ tipMessageError: string | undefined;
51
78
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
52
79
  export default _default;