@aplus-frontend/ui 0.2.0-beta.3 → 0.2.0-beta.5

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 (89) hide show
  1. package/es/src/ap-field/hooks/use-default-placeholder.mjs +14 -14
  2. package/es/src/ap-form/item-text/style/css.d.ts +0 -1
  3. package/es/src/ap-form/item-text/style/css.js +1 -1
  4. package/es/src/ap-form/item-text/style/index.d.ts +0 -1
  5. package/es/src/ap-form/item-text/style/index.js +1 -1
  6. package/es/src/ap-form/item-text-group/style/css.d.ts +0 -0
  7. package/es/src/ap-form/item-text-group/style/css.js +1 -0
  8. package/es/src/ap-form/item-text-group/style/index.d.ts +0 -0
  9. package/es/src/ap-form/item-text-group/style/index.js +1 -0
  10. package/es/src/ap-form/items/checkbox/index.vue.d.ts +1 -1
  11. package/es/src/ap-form/items/date/index.vue.d.ts +1 -1
  12. package/es/src/ap-form/items/date-range/index.vue.d.ts +1 -1
  13. package/es/src/ap-form/items/interface.d.ts +11 -0
  14. package/es/src/ap-form/items/number/index.vue.d.ts +1 -1
  15. package/es/src/ap-form/items/radio/index.vue.d.ts +1 -1
  16. package/es/src/ap-form/items/select/index.vue.d.ts +1 -1
  17. package/es/src/ap-form/items/switch/index.vue.d.ts +1 -1
  18. package/es/src/ap-form/items/text/group.vue.d.ts +42 -0
  19. package/es/src/ap-form/items/text/group.vue.mjs +4 -0
  20. package/es/src/ap-form/items/text/group.vue2.mjs +26 -0
  21. package/es/src/ap-form/items/text/index.d.ts +3 -1
  22. package/es/src/ap-form/items/text/index.mjs +10 -6
  23. package/es/src/ap-form/items/text/index.vue.d.ts +1 -1
  24. package/es/src/ap-form/items/text/password.vue.d.ts +1 -1
  25. package/es/src/ap-form/items/text-area/index.vue.d.ts +1 -1
  26. package/es/src/ap-table/ap-table.vue.mjs +103 -108
  27. package/es/src/ap-table/constants.d.ts +192 -190
  28. package/es/src/ap-table/utils.d.ts +197 -233
  29. package/es/src/ap-table/utils.mjs +69 -80
  30. package/es/src/ap-upload/apUpload.vue.d.ts +18 -2
  31. package/es/src/ap-upload/apUpload.vue.mjs +54 -42
  32. package/es/src/ap-upload/apUploadTypes.d.ts +24 -1
  33. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +4 -1
  34. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +97 -91
  35. package/es/src/ap-upload/components/Picture.vue.d.ts +44 -1
  36. package/es/src/ap-upload/components/Picture.vue2.mjs +182 -153
  37. package/es/src/ap-upload/components/SingleFile.vue.d.ts +4 -1
  38. package/es/src/ap-upload/components/SingleFile.vue2.mjs +84 -86
  39. package/es/src/business/ap-label/constans.d.ts +1 -1
  40. package/es/src/business/ap-label/interface.d.ts +2 -2
  41. package/es/src/editable-table/hooks/use-get-columns.mjs +29 -34
  42. package/es/src/locale/lang/en.mjs +4 -0
  43. package/es/src/locale/lang/zh-cn.mjs +4 -0
  44. package/es/src/path-map.mjs +3 -1
  45. package/lib/src/ap-field/hooks/use-default-placeholder.js +1 -1
  46. package/lib/src/ap-form/item-text/style/css.d.ts +0 -1
  47. package/lib/src/ap-form/item-text/style/css.js +1 -1
  48. package/lib/src/ap-form/item-text/style/index.d.ts +0 -1
  49. package/lib/src/ap-form/item-text/style/index.js +1 -1
  50. package/lib/src/ap-form/item-text-group/style/css.d.ts +0 -0
  51. package/lib/src/ap-form/item-text-group/style/css.js +1 -0
  52. package/lib/src/ap-form/item-text-group/style/index.d.ts +0 -0
  53. package/lib/src/ap-form/item-text-group/style/index.js +1 -0
  54. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +1 -1
  55. package/lib/src/ap-form/items/date/index.vue.d.ts +1 -1
  56. package/lib/src/ap-form/items/date-range/index.vue.d.ts +1 -1
  57. package/lib/src/ap-form/items/interface.d.ts +11 -0
  58. package/lib/src/ap-form/items/number/index.vue.d.ts +1 -1
  59. package/lib/src/ap-form/items/radio/index.vue.d.ts +1 -1
  60. package/lib/src/ap-form/items/select/index.vue.d.ts +1 -1
  61. package/lib/src/ap-form/items/switch/index.vue.d.ts +1 -1
  62. package/lib/src/ap-form/items/text/group.vue.d.ts +42 -0
  63. package/lib/src/ap-form/items/text/group.vue.js +1 -0
  64. package/lib/src/ap-form/items/text/group.vue2.js +1 -0
  65. package/lib/src/ap-form/items/text/index.d.ts +3 -1
  66. package/lib/src/ap-form/items/text/index.js +1 -1
  67. package/lib/src/ap-form/items/text/index.vue.d.ts +1 -1
  68. package/lib/src/ap-form/items/text/password.vue.d.ts +1 -1
  69. package/lib/src/ap-form/items/text-area/index.vue.d.ts +1 -1
  70. package/lib/src/ap-table/ap-table.vue.js +1 -1
  71. package/lib/src/ap-table/constants.d.ts +192 -190
  72. package/lib/src/ap-table/utils.d.ts +197 -233
  73. package/lib/src/ap-table/utils.js +1 -1
  74. package/lib/src/ap-upload/apUpload.vue.d.ts +18 -2
  75. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  76. package/lib/src/ap-upload/apUploadTypes.d.ts +24 -1
  77. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +4 -1
  78. package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
  79. package/lib/src/ap-upload/components/Picture.vue.d.ts +44 -1
  80. package/lib/src/ap-upload/components/Picture.vue2.js +1 -1
  81. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +4 -1
  82. package/lib/src/ap-upload/components/SingleFile.vue2.js +1 -1
  83. package/lib/src/business/ap-label/constans.d.ts +1 -1
  84. package/lib/src/business/ap-label/interface.d.ts +2 -2
  85. package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
  86. package/lib/src/locale/lang/en.js +1 -1
  87. package/lib/src/locale/lang/zh-cn.js +1 -1
  88. package/lib/src/path-map.js +1 -1
  89. package/package.json +4 -4
@@ -1,240 +1,269 @@
1
- import { defineComponent as J, inject as u, ref as R, watch as K, openBlock as f, createElementBlock as h, normalizeClass as Q, unref as i, createElementVNode as p, Fragment as W, renderList as X, withDirectives as Y, createVNode as C, createCommentVNode as $, vShow as Z, toDisplayString as U } from "vue";
1
+ import { defineComponent as K, inject as u, ref as R, watch as Q, nextTick as W, openBlock as h, createElementBlock as g, normalizeClass as X, unref as i, createElementVNode as d, renderSlot as Y, Fragment as Z, renderList as F, withDirectives as ee, createVNode as k, createCommentVNode as $, vShow as te, toDisplayString as C } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
- import { getPath as F, getName as ee, getReturnData as w } from "../utils/returnData.mjs";
4
- import { CloseOutlined as te, PlusOutlined as ne } from "@ant-design/icons-vue";
5
- import { useOss as ae, getOssInstance as D } from "../hooks/useOss.mjs";
6
- import { fileMatchesAccept as se, getAcceptText as oe } from "../utils/accept.mjs";
7
- import { message as d, Progress as ie } from "ant-design-vue";
8
- import { useLocale as ce } from "../../config-provider/hooks/use-locale.mjs";
9
- import { useNamespace as ue } from "../../config-provider/hooks/use-namespace.mjs";
10
- const re = ["accept"], le = { class: "picture-context" }, pe = { class: "picture-item-box" }, de = ["src"], me = { class: "picture-item-shadow" }, fe = ["onClick"], he = {
3
+ import { getPath as ne, getName as ae, getReturnData as T } from "../utils/returnData.mjs";
4
+ import { CloseOutlined as se, PlusOutlined as oe } from "@ant-design/icons-vue";
5
+ import { useOss as ie, getOssInstance as D } from "../hooks/useOss.mjs";
6
+ import { fileMatchesAccept as ce, getAcceptText as ue } from "../utils/accept.mjs";
7
+ import { message as m, Progress as re } from "ant-design-vue";
8
+ import { omit as le } from "lodash-unified";
9
+ import { useLocale as pe } from "../../config-provider/hooks/use-locale.mjs";
10
+ import { useNamespace as de } from "../../config-provider/hooks/use-namespace.mjs";
11
+ const me = ["accept"], fe = { class: "picture-context" }, he = { class: "picture-item-box" }, ge = ["src"], ve = { class: "picture-item-shadow" }, xe = ["onClick"], _e = {
11
12
  key: 0,
12
13
  class: "picture-item-uploading"
13
- }, ge = { class: "picture-title" }, ve = { key: 0 }, _e = { key: 1 }, be = /* @__PURE__ */ J({
14
+ }, ye = { class: "picture-title" }, we = { key: 0 }, ke = { key: 1 }, Te = /* @__PURE__ */ K({
14
15
  __name: "Picture",
15
- setup(xe) {
16
- const { t: r } = ce(), { b: A } = ue("ap-upload-picture"), { put: E } = ae(), O = u("theme"), T = u("dirName"), y = u("accept") || "image/*", k = u("maxSize") ?? 5, N = u("title"), l = u("maxCount") ?? 10, g = u("uploadingCount"), P = u("beforeUpload"), S = u("customRequest"), b = u("getOssAccess"), x = R(null), c = u("value"), v = u("needName");
17
- let o = R([]);
18
- const _ = [];
19
- K(
16
+ setup(Ce, { expose: E }) {
17
+ const { t: r } = pe(), { b: U } = de("ap-upload-picture"), { put: O } = ie(), B = u("theme"), L = u("dirName"), y = u("accept") || "image/*", w = u("maxSize") ?? 5, A = u("title"), l = u("maxCount") ?? 10, v = u("uploadingCount"), N = u("beforeUpload"), P = u("customRequest"), S = u("getOssAccess"), x = R(null), c = u("value"), _ = u("needName");
18
+ let s = R([]);
19
+ const f = [];
20
+ Q(
20
21
  () => c == null ? void 0 : c.value,
21
22
  async function(e) {
22
23
  var a;
23
- if (!((a = o == null ? void 0 : o.value) != null && a.length) && e) {
24
- const n = [];
25
- for (let t of e) {
26
- const s = F(v, t), m = ee(v, t), I = await D(b), G = await I.getSignatureUrl(s), H = {
27
- ...new File([t], m, {}),
28
- uid: `${(/* @__PURE__ */ new Date()).getTime()}-${Math.random()}`,
29
- thumbUrl: G,
30
- status: "success",
31
- percent: 100,
32
- path: s
33
- };
34
- n.push(H), I.destroy();
35
- }
36
- if (l && n.length > l) {
37
- d.warning(
38
- r("ap.apUpload.fileInitializationException", {
39
- maxCount: l
40
- })
41
- );
42
- return;
43
- }
44
- n.forEach((t) => {
45
- o.value.push(t), _.push({
46
- uid: t.uid,
47
- path: t.path
48
- });
49
- });
50
- }
24
+ !((a = s == null ? void 0 : s.value) != null && a.length) && e && b(e);
51
25
  },
52
26
  { immediate: !0 }
53
27
  );
54
- function B() {
28
+ function b(e) {
29
+ if (!e) {
30
+ c.value = void 0, f.splice(0, f.length), s.value = [];
31
+ return;
32
+ }
33
+ W(async () => {
34
+ const a = [];
35
+ for (let t of e) {
36
+ const n = ne(_, t), o = ae(_, t), p = await D(S), H = await p.getSignatureUrl(n), J = {
37
+ ...typeof t == "string" ? {} : t,
38
+ ...new File([t], o, {}),
39
+ uid: `${(/* @__PURE__ */ new Date()).getTime()}-${Math.random()}`,
40
+ thumbUrl: H,
41
+ status: "success",
42
+ percent: 100,
43
+ path: n
44
+ };
45
+ a.push(J), p.destroy();
46
+ }
47
+ if (l && a.length > l) {
48
+ m.warning(
49
+ r("ap.apUpload.fileInitializationException", {
50
+ maxCount: l
51
+ })
52
+ );
53
+ return;
54
+ }
55
+ a.forEach((t) => {
56
+ s.value.push(t), f.push({
57
+ uid: t.uid,
58
+ path: t.path
59
+ });
60
+ }), c.value = e;
61
+ });
62
+ }
63
+ E({ setValue: b });
64
+ function q() {
55
65
  var e;
56
66
  (e = x.value) == null || e.click();
57
67
  }
58
- function q(e) {
68
+ function M(e) {
59
69
  const a = e.target;
60
- L(a == null ? void 0 : a.files);
70
+ V(a == null ? void 0 : a.files);
61
71
  }
62
- function L(e) {
72
+ function V(e) {
63
73
  if (e != null && e.length)
64
74
  for (let a = 0; a < e.length; a++)
65
- M(e[a]);
75
+ j(e[a]);
66
76
  x.value && (x.value.value = "");
67
77
  }
68
78
  let z;
69
- function M(e) {
70
- if (l && l > 1 && o.value.length >= l)
79
+ function j(e) {
80
+ if (l && l > 1 && s.value.length >= l)
71
81
  return clearTimeout(z), z = setTimeout(() => {
72
- d.warning(
82
+ m.warning(
73
83
  r("ap.apUpload.maxUploadPicture", { maxCount: l })
74
84
  );
75
85
  }), !1;
76
- if (typeof P == "function") {
77
- if (P(e) === !1)
86
+ if (typeof N == "function") {
87
+ if (N(e) === !1)
78
88
  return !1;
79
89
  } else {
80
- if (e.size > k * 1024 * 1024)
81
- return d.warning(
82
- r("ap.apUpload.maxUploadFileSize", { maxSize: k })
90
+ if (e.size > w * 1024 * 1024)
91
+ return m.warning(
92
+ r("ap.apUpload.maxUploadFileSize", { maxSize: w })
83
93
  ), !1;
84
- if (!/image\/\w+/.test(e.type) || !se(e, y))
85
- return d.warning(r("ap.apUpload.pictureFormatNotSupported")), !1;
94
+ if (!/image\/\w+/.test(e.type) || !ce(e, y))
95
+ return m.warning(r("ap.apUpload.pictureFormatNotSupported")), !1;
86
96
  }
87
97
  const a = new FileReader();
88
98
  a.readAsDataURL(e), a.onload = function() {
89
- const n = {
99
+ const t = {
90
100
  ...e,
91
101
  uid: `${(/* @__PURE__ */ new Date()).getTime()}-${Math.random()}`,
92
102
  thumbUrl: this.result,
93
103
  status: "uploading",
94
104
  percent: 0
95
105
  };
96
- V(n, e);
106
+ G(t, e);
97
107
  }, a.onerror = function() {
98
- d.warning(r("ap.apUpload.imageParsingFailed"));
108
+ m.warning(r("ap.apUpload.imageParsingFailed"));
99
109
  };
100
110
  }
101
- async function V(e, a) {
102
- if (g.value++, typeof S == "function") {
103
- S({
104
- onProgress: (n) => {
105
- const t = o.value.find((s) => s.uid === e.uid);
106
- t && (t.percent = n);
111
+ async function G(e, a) {
112
+ if (v.value++, typeof P == "function") {
113
+ P({
114
+ onProgress: (t) => {
115
+ const n = s.value.find((o) => o.uid === e.uid);
116
+ n && (n.percent = t);
107
117
  },
108
- onError: (n) => {
109
- d.warning(n || r("ap.apUpload.networkAnomaly"));
110
- const t = o.value.findIndex(
111
- (s) => s.uid === e.uid
118
+ onError: (t) => {
119
+ m.warning(t || r("ap.apUpload.networkAnomaly"));
120
+ const n = s.value.findIndex(
121
+ (o) => o.uid === e.uid
112
122
  );
113
- t > -1 && o.value.splice(t, 1), g.value--;
123
+ n > -1 && s.value.splice(n, 1), v.value--;
114
124
  },
115
- onSuccess: (n) => {
116
- const t = o.value.find((s) => s.uid === e.uid);
117
- t && (t.status = "success", t.path = n), c.value ? c.value.push(w(v, n, a.name)) : c.value = [w(v, n, a.name)], _.push({
125
+ onSuccess: (t) => {
126
+ const n = s.value.find((o) => o.uid === e.uid);
127
+ n && (n.status = "success", n.path = t), c.value = [
128
+ ...c.value || [],
129
+ T(_, t, a.name)
130
+ ], f.push({
118
131
  uid: e.uid,
119
- path: n
120
- }), g.value--;
132
+ path: t
133
+ }), v.value--;
121
134
  },
122
135
  file: a
123
136
  });
124
137
  return;
125
138
  }
126
139
  try {
127
- const n = await D(b);
128
- e.oss = n, o.value.push(e), E({
140
+ const t = await D(S);
141
+ e.oss = t, s.value.push(e), O({
129
142
  file: a,
130
- dirName: T,
131
- oss: n,
132
- successCallBack(t) {
133
- const s = o.value.find((m) => m.uid === e.uid);
134
- s && (s.status = "success", s.path = t), c.value ? c.value.push(w(v, t, a.name)) : c.value = [w(v, t, a.name)], _.push({
143
+ dirName: L,
144
+ oss: t,
145
+ successCallBack(n) {
146
+ const o = s.value.find((p) => p.uid === e.uid);
147
+ o && (o.status = "success", o.path = n), c.value = [
148
+ ...c.value || [],
149
+ T(_, n, a.name)
150
+ ], f.push({
135
151
  uid: e.uid,
136
- path: t
137
- }), g.value--;
152
+ path: n
153
+ }), v.value--;
138
154
  },
139
- errorCallBack(t) {
140
- d.warning(t || r("ap.apUpload.networkAnomaly"));
141
- const s = o.value.findIndex(
142
- (m) => m.uid === e.uid
155
+ errorCallBack(n) {
156
+ m.warning(n || r("ap.apUpload.networkAnomaly"));
157
+ const o = s.value.findIndex(
158
+ (p) => p.uid === e.uid
143
159
  );
144
- s > -1 && o.value.splice(s, 1), g.value--;
160
+ o > -1 && s.value.splice(o, 1), v.value--;
145
161
  },
146
- progressCallBack(t) {
147
- const s = o.value.find((m) => m.uid === e.uid);
148
- s && (s.percent = t);
162
+ progressCallBack(n) {
163
+ const o = s.value.find((p) => p.uid === e.uid);
164
+ o && (o.percent = n);
149
165
  }
150
166
  });
151
- } catch (n) {
152
- d.warning(
153
- typeof (n == null ? void 0 : n.message) == "string" ? n.message : r("ap.apUpload.networkAnomaly")
167
+ } catch (t) {
168
+ m.warning(
169
+ typeof (t == null ? void 0 : t.message) == "string" ? t.message : r("ap.apUpload.networkAnomaly")
154
170
  );
155
- const t = o.value.findIndex((s) => s.uid === e.uid);
156
- t > -1 && o.value.splice(t, 1), g.value--;
171
+ const n = s.value.findIndex((o) => o.uid === e.uid);
172
+ n > -1 && s.value.splice(n, 1), v.value--;
157
173
  }
158
174
  }
159
- function j(e) {
160
- var n;
175
+ function I(e) {
176
+ var t;
161
177
  if (e.path) {
162
178
  if (Array.isArray(c.value)) {
163
- const t = _.findIndex(
164
- (s) => s.uid === e.uid
179
+ const n = f.findIndex(
180
+ (o) => o.uid === e.uid
165
181
  );
166
- t >= 0 && (c == null || c.value.splice(t, 1), _.splice(t, 1)), c.value.length === 0 && (c.value = void 0);
182
+ n >= 0 && (c == null || c.value.splice(n, 1), f.splice(n, 1)), c.value.length === 0 && (c.value = void 0);
167
183
  }
168
184
  } else
169
- (n = e == null ? void 0 : e.oss) == null || n.pauseUpload();
170
- const a = o.value.findIndex(
171
- (t) => t.uid === e.uid
185
+ (t = e == null ? void 0 : e.oss) == null || t.pauseUpload();
186
+ const a = s.value.findIndex(
187
+ (n) => n.uid === e.uid
172
188
  );
173
- return o.value.splice(a, 1), Promise.resolve(!0);
189
+ return s.value.splice(a, 1), Promise.resolve(!0);
174
190
  }
175
- return (e, a) => (f(), h("div", {
176
- class: Q({
177
- [i(A)()]: !0,
178
- [i(A)("admin")]: i(O) === "admin"
191
+ return (e, a) => (h(), g("div", {
192
+ class: X({
193
+ [i(U)()]: !0,
194
+ [i(U)("admin")]: i(B) === "admin"
179
195
  })
180
196
  }, [
181
- p("input", {
197
+ d("input", {
182
198
  style: { display: "none" },
183
199
  type: "file",
184
200
  ref_key: "fileRef",
185
201
  ref: x,
186
202
  accept: i(y),
187
- onChange: q
188
- }, null, 40, re),
189
- p("div", le, [
190
- (f(!0), h(W, null, X(i(o), (n) => (f(), h("div", {
191
- class: "picture-item",
192
- key: n.uid
193
- }, [
194
- p("div", pe, [
195
- p("img", {
196
- src: n.thumbUrl,
197
- alt: ""
198
- }, null, 8, de),
199
- Y(p("div", me, [
200
- p("div", {
201
- class: "picture-item-close",
202
- onClick: (t) => j(n)
203
- }, [
204
- C(i(te))
205
- ], 8, fe),
206
- n.status === "uploading" ? (f(), h("div", he, [
207
- C(i(ie), {
208
- percent: n.percent,
209
- strokeColor: "#ffffff",
210
- trailColor: "rgba(255, 255, 255, 0.3)",
211
- size: 4,
212
- showInfo: !1
213
- }, null, 8, ["percent"])
214
- ])) : $("", !0)
215
- ], 512), [
216
- [Z, n.status === "uploading"]
203
+ onChange: M
204
+ }, null, 40, me),
205
+ d("div", fe, [
206
+ Y(e.$slots, "pictureContext", {
207
+ fileList: i(s).map((t) => {
208
+ var n;
209
+ return {
210
+ ...i(le)(t, "oss"),
211
+ oss: {
212
+ pauseUpload: (n = t == null ? void 0 : t.oss) == null ? void 0 : n.pauseUpload
213
+ }
214
+ };
215
+ }),
216
+ remove: I
217
+ }, () => [
218
+ (h(!0), g(Z, null, F(i(s), (t) => (h(), g("div", {
219
+ key: t.uid,
220
+ class: "picture-item"
221
+ }, [
222
+ d("div", he, [
223
+ d("img", {
224
+ src: t.thumbUrl,
225
+ alt: ""
226
+ }, null, 8, ge),
227
+ ee(d("div", ve, [
228
+ d("div", {
229
+ class: "picture-item-close",
230
+ onClick: (n) => I(t)
231
+ }, [
232
+ k(i(se))
233
+ ], 8, xe),
234
+ t.status === "uploading" ? (h(), g("div", _e, [
235
+ k(i(re), {
236
+ percent: t.percent,
237
+ strokeColor: "#ffffff",
238
+ trailColor: "rgba(255, 255, 255, 0.3)",
239
+ size: 4,
240
+ showInfo: !1
241
+ }, null, 8, ["percent"])
242
+ ])) : $("", !0)
243
+ ], 512), [
244
+ [te, t.status === "uploading"]
245
+ ])
217
246
  ])
218
- ])
219
- ]))), 128)),
220
- i(l) === void 0 || i(o).length < i(l) ? (f(), h("div", {
247
+ ]))), 128))
248
+ ]),
249
+ i(l) === void 0 || i(s).length < i(l) ? (h(), g("div", {
221
250
  key: 0,
222
251
  class: "picture-upload",
223
- onClick: B
252
+ onClick: q
224
253
  }, [
225
- C(i(ne)),
226
- p("div", null, U(i(r)("ap.apUpload.update")), 1)
254
+ k(i(oe)),
255
+ d("div", null, C(i(r)("ap.apUpload.update")), 1)
227
256
  ])) : $("", !0)
228
257
  ]),
229
- p("div", ge, [
230
- i(N) ? (f(), h("div", ve, U(i(N)), 1)) : (f(), h("div", _e, U(`${i(r)("ap.apUpload.supportExtension")}:${i(oe)(i(y))},${i(r)(
258
+ d("div", ye, [
259
+ i(A) ? (h(), g("div", we, C(i(A)), 1)) : (h(), g("div", ke, C(`${i(r)("ap.apUpload.supportExtension")}:${i(ue)(i(y))},${i(r)(
231
260
  "ap.apUpload.maxUploadPictureSize",
232
- { maxSize: i(k) }
261
+ { maxSize: i(w) }
233
262
  )}`), 1))
234
263
  ])
235
264
  ], 2));
236
265
  }
237
266
  });
238
267
  export {
239
- be as default
268
+ Te as default
240
269
  };
@@ -1,3 +1,6 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
2
+ declare function setValue(val?: string | Record<string, any>): void;
3
+ declare const _default: DefineComponent<{}, {
4
+ setValue: typeof setValue;
5
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
3
6
  export default _default;