@dazhicheng/ui 1.6.70 → 1.6.71

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 (32) hide show
  1. package/dist/assets/svg/download.svg.js +1 -1
  2. package/dist/components/tt-area/TtArea.vue.js +1 -1
  3. package/dist/components/tt-button/index.d.ts +28 -28
  4. package/dist/components/tt-button/index.vue.d.ts +16 -16
  5. package/dist/components/tt-custom-export-modal/src/assets/search.svg.js +5 -5
  6. package/dist/components/tt-custom-export-modal/src/assets/star.svg.js +3 -3
  7. package/dist/components/tt-custom-export-modal/src/assets/trash.svg.js +7 -7
  8. package/dist/components/tt-custom-export-modal/src/components/FieldGridSection.vue.js +1 -1
  9. package/dist/components/tt-drawer/index.d.ts +109 -109
  10. package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +60 -60
  11. package/dist/components/tt-drawer/src/components/DrawerHeader.vue.js +2 -2
  12. package/dist/components/tt-empty/index.d.ts +4 -4
  13. package/dist/components/tt-form/src/components/FormElInput.vue.d.ts +10 -10
  14. package/dist/components/tt-form/src/form/FormMessage.vue.js +5 -5
  15. package/dist/components/tt-form/src/form-render/FormField.vue2.js +85 -81
  16. package/dist/components/tt-form/src/group-form/GroupForm.vue2.js +4 -1
  17. package/dist/components/tt-icon/index.vue.js +2 -2
  18. package/dist/components/tt-image/index.d.ts +29 -29
  19. package/dist/components/tt-image/src/components/ImageViewer.d.ts +20 -20
  20. package/dist/components/tt-image/tt-image.d.ts +29 -29
  21. package/dist/components/tt-input-textarea/index.vue.d.ts +40 -40
  22. package/dist/components/tt-loading/src/loading.vue.js +2 -2
  23. package/dist/components/tt-modal/index.d.ts +150 -150
  24. package/dist/components/tt-modal/src/RenderModal.vue.d.ts +42 -42
  25. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +17 -17
  26. package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +5 -5
  27. package/dist/components/tt-panel-select/src/index.vue.d.ts +5 -5
  28. package/dist/components/tt-upload/index.d.ts +60 -60
  29. package/dist/components/tt-upload/src/TtUpload.vue.d.ts +37 -37
  30. package/dist/components/tt-upload/src/typing.d.ts +17 -17
  31. package/dist/style.css +1 -1
  32. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- import { defineComponent as he, useTemplateRef as H, unref as l, computed as a, reactive as be, markRaw as ye, toRaw as F, watch as J, nextTick as Ce, onUnmounted as ge, createBlock as p, createCommentVNode as d, openBlock as m, mergeProps as O, withCtx as h, withDirectives as Fe, createVNode as x, createElementVNode as L, createElementBlock as Q, normalizeClass as w, normalizeStyle as X, renderSlot as xe, normalizeProps as Se, guardReactiveProps as Ne, resolveDynamicComponent as Re, createSlots as ke, renderList as Oe, Transition as we, vShow as Ee } from "vue";
1
+ import { defineComponent as he, useTemplateRef as J, unref as l, computed as a, reactive as be, markRaw as ye, toRaw as C, watch as Q, nextTick as Ce, onUnmounted as ge, createBlock as p, createCommentVNode as d, openBlock as c, mergeProps as O, withCtx as h, withDirectives as Fe, createVNode as g, createElementVNode as L, createElementBlock as $, normalizeClass as w, normalizeStyle as X, renderSlot as xe, normalizeProps as Se, guardReactiveProps as ke, resolveDynamicComponent as Ne, createSlots as Re, renderList as Oe, Transition as we, vShow as Ee } from "vue";
2
2
  import Pe from "../form/FormControl.vue.js";
3
3
  import Te from "../form/FormDescription.vue.js";
4
4
  import Be from "../form/FormItem.vue.js";
5
5
  import "axios";
6
6
  import "element-plus";
7
- import { isString as b, isFunction as $, isObject as Ve } from "../../../../packages/utils/src/is.js";
7
+ import { isString as b, isFunction as q, isObject as Ve } from "../../../../packages/utils/src/is.js";
8
8
  import "dayjs";
9
9
  import "numeral";
10
- import { clnm as q } from "../../../../packages/utils/src/tool.js";
10
+ import { clnm as j } from "../../../../packages/utils/src/tool.js";
11
11
  import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
12
12
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
13
13
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
@@ -31,7 +31,10 @@ import { isEventObjectLike as Y } from "./helper.js";
31
31
  const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
32
32
  key: 0,
33
33
  class: "ml-1"
34
- }, wt = /* @__PURE__ */ he({
34
+ }, Ze = {
35
+ key: 1,
36
+ class: "min-h-(--form-valid-error-nocompact-padding-bottom)"
37
+ }, Et = /* @__PURE__ */ he({
35
38
  __name: "FormField",
36
39
  props: {
37
40
  component: {},
@@ -68,7 +71,7 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
68
71
  commonComponentProps: {}
69
72
  },
70
73
  setup(e) {
71
- const P = H("wrapperRef"), { componentBindEventMap: Z, componentMap: _, isVertical: s } = ze(), ee = Ke(), N = je(), te = Ae(e.fieldName), f = H("fieldComponentRef"), [ne, le] = De(), j = l(ne).formApi, y = a(() => ee.compact), C = a(() => {
74
+ const P = J("wrapperRef"), { componentBindEventMap: Z, componentMap: _, isVertical: s } = ze(), ee = Ke(), k = je(), te = Ae(e.fieldName), f = J("fieldComponentRef"), [ne, le] = De(), A = l(ne).formApi, F = a(() => ee.compact), x = a(() => {
72
75
  var t;
73
76
  return ((t = te.value) == null ? void 0 : t.length) > 0;
74
77
  }), T = be(
@@ -79,7 +82,7 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
79
82
  * @returns 当前表单值
80
83
  */
81
84
  get(t, n) {
82
- return Le(N.value, n);
85
+ return Le(k.value, n);
83
86
  },
84
87
  /**
85
88
  * @param _target 代理目标
@@ -88,58 +91,58 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
88
91
  * @returns 是否设置成功
89
92
  */
90
93
  set(t, n, o) {
91
- return Ie(N.value, n, o), le.validateField(n, { warn: !1 }), !0;
94
+ return Ie(k.value, n, o), le.validateField(n, { warn: !1 }), !0;
92
95
  }
93
96
  })
94
- ), A = a(() => {
97
+ ), M = a(() => {
95
98
  const t = b(e.component) ? _.value[e.component] : e.component;
96
- return ye(F(t));
97
- }), { dynamicComponentProps: oe, dynamicRules: ie, isDisabled: ae, isIf: M, isRequired: B, isShow: U } = Ge(
99
+ return ye(C(t));
100
+ }), { dynamicComponentProps: oe, dynamicRules: ie, isDisabled: ae, isIf: U, isRequired: B, isShow: D } = Ge(
98
101
  () => e.dependencies
99
102
  ), re = a(() => {
100
103
  var t;
101
104
  return (t = e.labelClass) != null && t.includes("w-") || s.value ? {} : {
102
105
  width: `${e.labelWidth}px`
103
106
  };
104
- }), D = a(() => {
107
+ }), W = a(() => {
105
108
  const t = ie.value || e.rules;
106
- return t && F(t);
107
- }), W = a(() => !e.hide && M.value && U.value), V = a(() => {
109
+ return t && C(t);
110
+ }), z = a(() => !e.hide && U.value && D.value), V = a(() => {
108
111
  var r, S, u;
109
- if (!W.value)
112
+ if (!z.value)
110
113
  return !1;
111
- const t = D.value;
114
+ const t = W.value;
112
115
  if (!t)
113
116
  return B.value;
114
117
  if (B.value)
115
118
  return !0;
116
119
  if (b(t))
117
120
  return ["required", "selectRequired"].includes(t);
118
- const n = F(t);
121
+ const n = C(t);
119
122
  let o = (r = n == null ? void 0 : n.isOptional) == null ? void 0 : r.call(n);
120
123
  const i = n == null ? void 0 : n.def;
121
124
  if ((i == null ? void 0 : i.type) === "default" && "innerType" in i) {
122
- const k = i.innerType;
123
- k && (o = (u = (S = F(k)).isOptional) == null ? void 0 : u.call(S));
125
+ const R = i.innerType;
126
+ R && (o = (u = (S = C(R)).isOptional) == null ? void 0 : u.call(S));
124
127
  }
125
128
  return !o;
126
129
  }), ue = a(() => {
127
130
  var i;
128
- if (!W.value)
131
+ if (!z.value)
129
132
  return null;
130
- const t = D.value;
133
+ const t = W.value;
131
134
  if (!t)
132
- return B.value ? He(A.value) : null;
135
+ return B.value ? He(M.value) : null;
133
136
  if (b(t))
134
137
  return t;
135
- let n = F(t);
138
+ let n = C(t);
136
139
  if (!!V.value) {
137
140
  const r = (i = n == null ? void 0 : n.unwrap) == null ? void 0 : i.call(n);
138
- r && (n = F(r));
141
+ r && (n = C(r));
139
142
  }
140
143
  return Ue(n);
141
- }), c = a(() => {
142
- const t = $(e.componentProps) ? e.componentProps(N.value, j) : e.componentProps;
144
+ }), m = a(() => {
145
+ const t = q(e.componentProps) ? e.componentProps(k.value, A) : e.componentProps;
143
146
  return {
144
147
  ...e.commonComponentProps,
145
148
  ...t,
@@ -147,16 +150,16 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
147
150
  };
148
151
  }), { selectComponentProps: ce } = Qe(
149
152
  a(() => ({
150
- componentProps: c,
153
+ componentProps: m,
151
154
  component: e.component,
152
155
  selectWrapRef: P,
153
156
  selectRef: f
154
157
  }))
155
158
  );
156
- J(
159
+ Q(
157
160
  () => {
158
161
  var t;
159
- return (t = c.value) == null ? void 0 : t.autofocus;
162
+ return (t = m.value) == null ? void 0 : t.autofocus;
160
163
  },
161
164
  (t) => {
162
165
  t === !0 && Ce(() => {
@@ -165,10 +168,10 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
165
168
  },
166
169
  { immediate: !0 }
167
170
  );
168
- const R = a(() => {
171
+ const N = a(() => {
169
172
  var t;
170
- return ae.value || e.disabled || ((t = c.value) == null ? void 0 : t.disabled);
171
- }), z = a(() => $(e.renderComponentContent) ? e.renderComponentContent(N.value, j) : {}), me = a(() => Object.keys(z.value)), de = a(() => {
173
+ return ae.value || e.disabled || ((t = m.value) == null ? void 0 : t.disabled);
174
+ }), K = a(() => q(e.renderComponentContent) ? e.renderComponentContent(k.value, A) : {}), me = a(() => Object.keys(K.value)), de = a(() => {
172
175
  const t = ue.value;
173
176
  return {
174
177
  keepValue: !0,
@@ -189,12 +192,12 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
189
192
  [`onUpdate:${i}`]: o,
190
193
  [i]: r === void 0 ? e.emptyStateValue : r,
191
194
  onChange: e.disabledOnChangeListener ? void 0 : (u) => {
192
- var G;
193
- const k = Y(u), g = (G = t == null ? void 0 : t.componentField) == null ? void 0 : G.onChange;
194
- if (!k)
195
- return g == null ? void 0 : g(u);
195
+ var H;
196
+ const R = Y(u), y = (H = t == null ? void 0 : t.componentField) == null ? void 0 : H.onChange;
197
+ if (!R)
198
+ return y == null ? void 0 : y(u);
196
199
  const I = u.target;
197
- return g == null ? void 0 : g((I == null ? void 0 : I[i]) ?? u);
200
+ return y == null ? void 0 : y((I == null ? void 0 : I[i]) ?? u);
198
201
  },
199
202
  ...e.disabledOnInputListener ? { onInput: void 0 } : {}
200
203
  } : {
@@ -203,49 +206,48 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
203
206
  };
204
207
  }
205
208
  const fe = /* @__PURE__ */ new Set(["ElCheckbox", "ElCheckboxButton", "ElSwitch"]), ve = /* @__PURE__ */ new Set(["ElInputNumber"]);
206
- function K(t) {
209
+ function G(t) {
207
210
  const n = se(t), o = {
208
211
  ...t.componentField,
209
- ...c.value,
212
+ ...m.value,
210
213
  ...ce.value,
211
214
  ...n,
212
- ...Reflect.has(c.value, "onChange") ? { onChange: c.value.onChange } : {},
213
- ...Reflect.has(c.value, "onInput") ? { onInput: c.value.onInput } : {}
215
+ ...Reflect.has(m.value, "onChange") ? { onChange: m.value.onChange } : {},
216
+ ...Reflect.has(m.value, "onInput") ? { onInput: m.value.onInput } : {}
214
217
  };
215
- return Reflect.has(c.value, "name") || delete o.name, b(e.component) && fe.has(e.component) && o.modelValue === void 0 && (o.modelValue = !1), b(e.component) && ve.has(e.component) && (o.controls = !1, o.align = "left"), {
218
+ return Reflect.has(m.value, "name") || delete o.name, b(e.component) && fe.has(e.component) && o.modelValue === void 0 && (o.modelValue = !1), b(e.component) && ve.has(e.component) && (o.controls = !1, o.align = "left"), {
216
219
  ...o,
217
- placeholder: R.value ? "" : o.placeholder
220
+ placeholder: N.value ? "" : o.placeholder
218
221
  };
219
222
  }
220
223
  function pe() {
221
224
  var t, n;
222
- f.value && $(f.value.focus) && // 检查当前是否有元素被聚焦
225
+ f.value && q(f.value.focus) && // 检查当前是否有元素被聚焦
223
226
  document.activeElement !== f.value && ((n = (t = f.value) == null ? void 0 : t.focus) == null || n.call(t));
224
227
  }
225
228
  const v = We();
226
- return J(f, (t) => {
229
+ return Q(f, (t) => {
227
230
  v == null || v.set(e.fieldName, t);
228
231
  }), ge(() => {
229
232
  v != null && v.has(e.fieldName) && v.delete(e.fieldName);
230
- }), (t, n) => !e.hide && l(M) ? (m(), p(l(Me), O({ key: 0 }, de.value, { name: e.fieldName }), {
233
+ }), (t, n) => !e.hide && l(U) ? (c(), p(l(Me), O({ key: 0 }, de.value, { name: e.fieldName }), {
231
234
  default: h((o) => [
232
- Fe(x(l(Be), O({
235
+ Fe(g(l(Be), O({
233
236
  class: [{
234
- "form-valid-error": C.value,
237
+ "form-valid-error": x.value,
235
238
  "form-is-required": V.value,
236
- "pb-(--form-valid-error-nocompact-padding-bottom)": !y.value && !C.value,
237
- "pb-(--tt-spacing-1)": y.value,
238
- "self-center": y.value && !l(s)
239
+ "pb-(--tt-spacing-1)": F.value,
240
+ "self-center": F.value && !l(s)
239
241
  }, "relative"]
240
242
  }, t.$attrs), {
241
243
  default: h(() => [
242
244
  L("div", {
243
245
  class: w([{ "flex-col": l(s), "flex-row items-center": !l(s) }, "flex"])
244
246
  }, [
245
- e.hideLabel ? d("", !0) : (m(), p(Je, {
247
+ e.hideLabel ? d("", !0) : (c(), p(Je, {
246
248
  key: 0,
247
249
  class: w(
248
- l(q)(
250
+ l(j)(
249
251
  "flex leading-(--tt-line-height)",
250
252
  {
251
253
  "mr-(--tt-form-label-gap) shrink-0 items-center justify-end text-right": !l(s),
@@ -265,7 +267,7 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
265
267
  "tool-tip-text": e.toolTipText
266
268
  }, {
267
269
  default: h(() => [
268
- e.label ? (m(), p(l(E), {
270
+ e.label ? (c(), p(l(E), {
269
271
  key: 0,
270
272
  content: e.label
271
273
  }, null, 8, ["content"])) : d("", !0)
@@ -276,35 +278,35 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
276
278
  L("div", {
277
279
  ref_key: "wrapperRef",
278
280
  ref: P,
279
- class: w(l(q)("relative flex w-full items-center", e.wrapperClass))
281
+ class: w(l(j)("relative flex w-full items-center", e.wrapperClass))
280
282
  }, [
281
- x(l(Pe), {
282
- class: w(l(q)(e.controlClass))
283
+ g(l(Pe), {
284
+ class: w(l(j)(e.controlClass))
283
285
  }, {
284
286
  default: h(() => [
285
- xe(t.$slots, "default", Se(Ne({
287
+ xe(t.$slots, "default", Se(ke({
286
288
  ...o,
287
- ...K(o),
288
- disabled: R.value,
289
- isInValid: C.value,
289
+ ...G(o),
290
+ disabled: N.value,
291
+ isInValid: x.value,
290
292
  form: T,
291
293
  fieldName: e.fieldName
292
294
  })), () => [
293
- (m(), p(Re(A.value), O({
295
+ (c(), p(Ne(M.value), O({
294
296
  ref_key: "fieldComponentRef",
295
297
  ref: f
296
298
  }, {
297
- ...K(o),
298
- disabled: R.value,
299
- isInValid: C.value,
299
+ ...G(o),
300
+ disabled: N.value,
301
+ isInValid: x.value,
300
302
  form: T,
301
303
  fieldName: e.fieldName
302
- }, { disabled: R.value }), ke({ _: 2 }, [
304
+ }, { disabled: N.value }), Re({ _: 2 }, [
303
305
  Oe(me.value, (i) => ({
304
306
  name: i,
305
307
  fn: h((r) => [
306
- x(l(E), O({
307
- content: z.value[i]
308
+ g(l(E), O({
309
+ content: K.value[i]
308
310
  }, { ...r, formContext: o }), null, 16, ["content"])
309
311
  ])
310
312
  }))
@@ -313,42 +315,44 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
313
315
  ]),
314
316
  _: 2
315
317
  }, 1032, ["class"]),
316
- e.suffix ? (m(), Q("div", Ye, [
317
- x(l(E), { content: e.suffix }, null, 8, ["content"])
318
+ e.suffix ? (c(), $("div", Ye, [
319
+ g(l(E), { content: e.suffix }, null, 8, ["content"])
318
320
  ])) : d("", !0),
319
- y.value && C.value ? (m(), p(l($e), {
321
+ F.value && x.value ? (c(), p(l($e), {
320
322
  key: 1,
321
323
  "ref-dom": P.value
322
324
  }, null, 8, ["ref-dom"])) : d("", !0)
323
325
  ], 2)
324
326
  ])
325
327
  ], 2),
326
- e.description || !y.value ? (m(), Q("div", {
328
+ e.description || !F.value ? (c(), $("div", {
327
329
  key: 0,
328
330
  style: X(
329
331
  !l(s) && !e.hideLabel ? { paddingLeft: `calc(${e.labelWidth || 0}px + var(--tt-form-label-gap))` } : {}
330
332
  )
331
333
  }, [
332
- e.description ? (m(), p(l(Te), {
334
+ e.description ? (c(), p(l(Te), {
333
335
  key: 0,
334
336
  class: "text-[12px]"
335
337
  }, {
336
338
  default: h(() => [
337
- x(l(E), { content: e.description }, null, 8, ["content"])
339
+ g(l(E), { content: e.description }, null, 8, ["content"])
338
340
  ]),
339
341
  _: 1
340
342
  })) : d("", !0),
341
- x(we, { name: "slide-up" }, {
342
- default: h(() => [
343
- !y.value && C.value ? (m(), p(l(qe), { key: 0 })) : d("", !0)
344
- ]),
345
- _: 1
346
- })
343
+ F.value ? d("", !0) : (c(), $("div", Ze, [
344
+ g(we, { name: "slide-up" }, {
345
+ default: h(() => [
346
+ x.value ? (c(), p(l(qe), { key: 0 })) : d("", !0)
347
+ ]),
348
+ _: 1
349
+ })
350
+ ]))
347
351
  ], 4)) : d("", !0)
348
352
  ]),
349
353
  _: 2
350
354
  }, 1040, ["class"]), [
351
- [Ee, l(U)]
355
+ [Ee, l(D)]
352
356
  ])
353
357
  ]),
354
358
  _: 3
@@ -356,5 +360,5 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
356
360
  }
357
361
  });
358
362
  export {
359
- wt as default
363
+ Et as default
360
364
  };
@@ -85,7 +85,10 @@ const Le = 5, Ve = 500, fo = /* @__PURE__ */ ae({
85
85
  componentBindEventMap: Ee,
86
86
  form: v,
87
87
  layout: r.value.layout,
88
- compact: r.value.compact,
88
+ /** 保留响应式读取,让已挂载和后续懒挂载字段都使用最新的紧凑模式。 */
89
+ get compact() {
90
+ return r.value.compact;
91
+ },
89
92
  wrapperClass: r.value.wrapperClass
90
93
  }), Me(M), g.formApi.mount(v, M);
91
94
  const f = ie("scrollRef"), y = a(() => {
@@ -2,7 +2,7 @@ import o from "./index.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6dba01d4"]]);
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d731bb93"]]);
6
6
  export {
7
- _ as default
7
+ a as default
8
8
  };
@@ -10,22 +10,22 @@ export declare const TtImage: import('../../../../utils/src').SFCWithInstall<imp
10
10
  default: string;
11
11
  };
12
12
  hideOnClickModal: BooleanConstructor;
13
- src: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
14
- fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
13
+ src: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
14
+ fit: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
15
15
  loading: {
16
- readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
16
+ readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
17
17
  readonly required: false;
18
18
  readonly validator: ((val: unknown) => boolean) | undefined;
19
19
  __epPropKey: true;
20
20
  };
21
21
  lazy: BooleanConstructor;
22
22
  scrollContainer: {
23
- readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined)) | null)[], unknown, unknown>>;
23
+ readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined)) | null)[], unknown, unknown>>;
24
24
  readonly required: false;
25
25
  readonly validator: ((val: unknown) => boolean) | undefined;
26
26
  __epPropKey: true;
27
27
  };
28
- previewSrcList: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
28
+ previewSrcList: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
29
29
  previewTeleported: BooleanConstructor;
30
30
  zIndex: {
31
31
  readonly type: import('vue').PropType<number>;
@@ -33,16 +33,16 @@ export declare const TtImage: import('../../../../utils/src').SFCWithInstall<imp
33
33
  readonly validator: ((val: unknown) => boolean) | undefined;
34
34
  __epPropKey: true;
35
35
  };
36
- initialIndex: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
37
- infinite: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
38
- closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
39
- zoomRate: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
40
- scale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
41
- minScale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
42
- maxScale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
36
+ initialIndex: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
37
+ infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
38
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
39
+ zoomRate: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
40
+ scale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
41
+ minScale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
42
+ maxScale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
43
43
  showProgress: BooleanConstructor;
44
44
  crossorigin: {
45
- readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin)) | null)[], unknown, unknown>>;
45
+ readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin)) | null)[], unknown, unknown>>;
46
46
  readonly required: false;
47
47
  readonly validator: ((val: unknown) => boolean) | undefined;
48
48
  __epPropKey: true;
@@ -60,22 +60,22 @@ export declare const TtImage: import('../../../../utils/src').SFCWithInstall<imp
60
60
  default: string;
61
61
  };
62
62
  hideOnClickModal: BooleanConstructor;
63
- src: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
64
- fit: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
63
+ src: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
64
+ fit: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown, "", boolean>;
65
65
  loading: {
66
- readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
66
+ readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "lazy" | "eager", unknown>>;
67
67
  readonly required: false;
68
68
  readonly validator: ((val: unknown) => boolean) | undefined;
69
69
  __epPropKey: true;
70
70
  };
71
71
  lazy: BooleanConstructor;
72
72
  scrollContainer: {
73
- readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined)) | null)[], unknown, unknown>>;
73
+ readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement | undefined)) | null)[], unknown, unknown>>;
74
74
  readonly required: false;
75
75
  readonly validator: ((val: unknown) => boolean) | undefined;
76
76
  __epPropKey: true;
77
77
  };
78
- previewSrcList: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
78
+ previewSrcList: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
79
79
  previewTeleported: BooleanConstructor;
80
80
  zIndex: {
81
81
  readonly type: import('vue').PropType<number>;
@@ -83,16 +83,16 @@ export declare const TtImage: import('../../../../utils/src').SFCWithInstall<imp
83
83
  readonly validator: ((val: unknown) => boolean) | undefined;
84
84
  __epPropKey: true;
85
85
  };
86
- initialIndex: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
87
- infinite: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
88
- closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
89
- zoomRate: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
90
- scale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
91
- minScale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
92
- maxScale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
86
+ initialIndex: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
87
+ infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
88
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
89
+ zoomRate: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
90
+ scale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
91
+ minScale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
92
+ maxScale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
93
93
  showProgress: BooleanConstructor;
94
94
  crossorigin: {
95
- readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin)) | null)[], unknown, unknown>>;
95
+ readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageCrossorigin)) | null)[], unknown, unknown>>;
96
96
  readonly required: false;
97
97
  readonly validator: ((val: unknown) => boolean) | undefined;
98
98
  __epPropKey: true;
@@ -107,13 +107,13 @@ export declare const TtImage: import('../../../../utils/src').SFCWithInstall<imp
107
107
  src: string;
108
108
  status: ImageStatus;
109
109
  hideOnClickModal: boolean;
110
- fit: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
110
+ fit: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<StringConstructor, "" | "fill" | "none" | "contain" | "cover" | "scale-down", unknown>;
111
111
  lazy: boolean;
112
112
  previewSrcList: string[];
113
113
  previewTeleported: boolean;
114
114
  initialIndex: number;
115
- infinite: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
116
- closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
115
+ infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
116
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
117
117
  zoomRate: number;
118
118
  scale: number;
119
119
  minScale: number;
@@ -6,25 +6,25 @@ export declare const TtImageViewer: import('../../../../../../utils/src').SFCWit
6
6
  type: BooleanConstructor;
7
7
  default: boolean;
8
8
  };
9
- urlList: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
9
+ urlList: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
10
10
  zIndex: {
11
11
  readonly type: import('vue').PropType<number>;
12
12
  readonly required: false;
13
13
  readonly validator: ((val: unknown) => boolean) | undefined;
14
14
  __epPropKey: true;
15
15
  };
16
- initialIndex: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
17
- infinite: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
16
+ initialIndex: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
17
+ infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
18
18
  hideOnClickModal: BooleanConstructor;
19
19
  teleported: BooleanConstructor;
20
- closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
21
- zoomRate: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
22
- scale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
23
- minScale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
24
- maxScale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
20
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
21
+ zoomRate: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
22
+ scale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
23
+ minScale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
24
+ maxScale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
25
25
  showProgress: BooleanConstructor;
26
26
  crossorigin: {
27
- readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin)) | null)[], unknown, unknown>>;
27
+ readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin)) | null)[], unknown, unknown>>;
28
28
  readonly required: false;
29
29
  readonly validator: ((val: unknown) => boolean) | undefined;
30
30
  __epPropKey: true;
@@ -43,25 +43,25 @@ export declare const TtImageViewer: import('../../../../../../utils/src').SFCWit
43
43
  type: BooleanConstructor;
44
44
  default: boolean;
45
45
  };
46
- urlList: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
46
+ urlList: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
47
47
  zIndex: {
48
48
  readonly type: import('vue').PropType<number>;
49
49
  readonly required: false;
50
50
  readonly validator: ((val: unknown) => boolean) | undefined;
51
51
  __epPropKey: true;
52
52
  };
53
- initialIndex: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
54
- infinite: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
53
+ initialIndex: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
54
+ infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
55
55
  hideOnClickModal: BooleanConstructor;
56
56
  teleported: BooleanConstructor;
57
- closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
58
- zoomRate: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
59
- scale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
60
- minScale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
61
- maxScale: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
57
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
58
+ zoomRate: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
59
+ scale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
60
+ minScale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
61
+ maxScale: import('element-plus/es/utils/vue/props/types.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
62
62
  showProgress: BooleanConstructor;
63
63
  crossorigin: {
64
- readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin)) | null)[], unknown, unknown>>;
64
+ readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin)) | null)[], unknown, unknown>>;
65
65
  readonly required: false;
66
66
  readonly validator: ((val: unknown) => boolean) | undefined;
67
67
  __epPropKey: true;
@@ -77,8 +77,8 @@ export declare const TtImageViewer: import('../../../../../../utils/src').SFCWit
77
77
  teleported: boolean;
78
78
  hideOnClickModal: boolean;
79
79
  initialIndex: number;
80
- infinite: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
81
- closeOnPressEscape: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
80
+ infinite: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
81
+ closeOnPressEscape: import('element-plus/es/utils/vue/props/types.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
82
82
  zoomRate: number;
83
83
  scale: number;
84
84
  minScale: number;