@dazhicheng/ui 1.6.62 → 1.6.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/svg/download.svg.js +1 -1
- package/dist/components/tt-area/TtArea.vue.js +1 -1
- package/dist/components/tt-button/index.d.ts +28 -28
- package/dist/components/tt-button/index.vue.d.ts +16 -16
- package/dist/components/tt-custom-export-modal/src/assets/search.svg.js +5 -5
- package/dist/components/tt-custom-export-modal/src/assets/star.svg.js +3 -3
- package/dist/components/tt-custom-export-modal/src/assets/trash.svg.js +7 -7
- package/dist/components/tt-custom-export-modal/src/components/FieldGridSection.vue.js +1 -1
- package/dist/components/tt-custom-export-panel/src/TtCustomExportPanel.vue.js +2 -2
- package/dist/components/tt-drawer/index.d.ts +109 -109
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +60 -60
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.js +2 -2
- package/dist/components/tt-empty/index.d.ts +4 -4
- package/dist/components/tt-form/src/components/FormActions.vue2.js +15 -15
- package/dist/components/tt-form/src/components/FormElInput.vue.d.ts +10 -10
- package/dist/components/tt-form/src/form/FormMessage.vue.js +10 -10
- package/dist/components/tt-form/src/form-render/FormField.vue2.js +77 -79
- package/dist/components/tt-form/src/form-render/FormLabel.vue2.js +1 -1
- package/dist/components/tt-form/src/form-render/rootWrapperClass.js +3 -3
- package/dist/components/tt-form/src/group-form/GroupSection.vue2.js +1 -1
- package/dist/components/tt-icon/index.vue.js +2 -2
- package/dist/components/tt-image/index.d.ts +29 -29
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +20 -20
- package/dist/components/tt-image/tt-image.d.ts +29 -29
- package/dist/components/tt-input-textarea/index.vue.d.ts +40 -40
- package/dist/components/tt-loading/src/loading.vue.js +2 -2
- package/dist/components/tt-modal/index.d.ts +150 -150
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +42 -42
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +17 -17
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +5 -5
- package/dist/components/tt-panel-select/src/index.vue.d.ts +5 -5
- package/dist/components/tt-table/src/TableForm.vue.js +0 -1
- package/dist/components/tt-table/src/components/TableToolbarTools.vue.js +29 -29
- package/dist/components/tt-table/src/hooks/useTableForm.js +2 -0
- package/dist/components/tt-upload/index.d.ts +60 -60
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +37 -37
- package/dist/components/tt-upload/src/typing.d.ts +17 -17
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as he, useTemplateRef as H, unref as
|
|
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";
|
|
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
|
|
7
|
+
import { isString as b, isFunction as $, isObject as Ve } from "../../../../packages/utils/src/is.js";
|
|
8
8
|
import "dayjs";
|
|
9
9
|
import "numeral";
|
|
10
10
|
import { clnm as q } from "../../../../packages/utils/src/tool.js";
|
|
@@ -68,7 +68,7 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
68
68
|
commonComponentProps: {}
|
|
69
69
|
},
|
|
70
70
|
setup(e) {
|
|
71
|
-
const P = H("wrapperRef"), { componentBindEventMap: Z, componentMap: _, isVertical:
|
|
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(() => {
|
|
72
72
|
var t;
|
|
73
73
|
return ((t = te.value) == null ? void 0 : t.length) > 0;
|
|
74
74
|
}), T = be(
|
|
@@ -87,23 +87,23 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
87
87
|
* @param value 新值
|
|
88
88
|
* @returns 是否设置成功
|
|
89
89
|
*/
|
|
90
|
-
set(t, n,
|
|
91
|
-
return Ie(N.value, n,
|
|
90
|
+
set(t, n, o) {
|
|
91
|
+
return Ie(N.value, n, o), le.validateField(n, { warn: !1 }), !0;
|
|
92
92
|
}
|
|
93
93
|
})
|
|
94
94
|
), A = a(() => {
|
|
95
|
-
const t =
|
|
96
|
-
return ye(
|
|
97
|
-
}), { dynamicComponentProps:
|
|
95
|
+
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(
|
|
98
98
|
() => e.dependencies
|
|
99
99
|
), re = a(() => {
|
|
100
100
|
var t;
|
|
101
|
-
return (t = e.labelClass) != null && t.includes("w-") ||
|
|
101
|
+
return (t = e.labelClass) != null && t.includes("w-") || s.value ? {} : {
|
|
102
102
|
width: `${e.labelWidth}px`
|
|
103
103
|
};
|
|
104
104
|
}), D = a(() => {
|
|
105
105
|
const t = ie.value || e.rules;
|
|
106
|
-
return t &&
|
|
106
|
+
return t && F(t);
|
|
107
107
|
}), W = a(() => !e.hide && M.value && U.value), V = a(() => {
|
|
108
108
|
var r, S, u;
|
|
109
109
|
if (!W.value)
|
|
@@ -113,16 +113,16 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
113
113
|
return B.value;
|
|
114
114
|
if (B.value)
|
|
115
115
|
return !0;
|
|
116
|
-
if (
|
|
116
|
+
if (b(t))
|
|
117
117
|
return ["required", "selectRequired"].includes(t);
|
|
118
|
-
const n =
|
|
119
|
-
let
|
|
118
|
+
const n = F(t);
|
|
119
|
+
let o = (r = n == null ? void 0 : n.isOptional) == null ? void 0 : r.call(n);
|
|
120
120
|
const i = n == null ? void 0 : n.def;
|
|
121
121
|
if ((i == null ? void 0 : i.type) === "default" && "innerType" in i) {
|
|
122
122
|
const k = i.innerType;
|
|
123
|
-
k && (
|
|
123
|
+
k && (o = (u = (S = F(k)).isOptional) == null ? void 0 : u.call(S));
|
|
124
124
|
}
|
|
125
|
-
return !
|
|
125
|
+
return !o;
|
|
126
126
|
}), ue = a(() => {
|
|
127
127
|
var i;
|
|
128
128
|
if (!W.value)
|
|
@@ -130,12 +130,12 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
130
130
|
const t = D.value;
|
|
131
131
|
if (!t)
|
|
132
132
|
return B.value ? He(A.value) : null;
|
|
133
|
-
if (
|
|
133
|
+
if (b(t))
|
|
134
134
|
return t;
|
|
135
|
-
let n =
|
|
135
|
+
let n = F(t);
|
|
136
136
|
if (!!V.value) {
|
|
137
137
|
const r = (i = n == null ? void 0 : n.unwrap) == null ? void 0 : i.call(n);
|
|
138
|
-
r && (n =
|
|
138
|
+
r && (n = F(r));
|
|
139
139
|
}
|
|
140
140
|
return Ue(n);
|
|
141
141
|
}), c = a(() => {
|
|
@@ -143,14 +143,14 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
143
143
|
return {
|
|
144
144
|
...e.commonComponentProps,
|
|
145
145
|
...t,
|
|
146
|
-
...
|
|
146
|
+
...oe.value
|
|
147
147
|
};
|
|
148
148
|
}), { selectComponentProps: ce } = Qe(
|
|
149
149
|
a(() => ({
|
|
150
150
|
componentProps: c,
|
|
151
151
|
component: e.component,
|
|
152
152
|
selectWrapRef: P,
|
|
153
|
-
selectRef:
|
|
153
|
+
selectRef: f
|
|
154
154
|
}))
|
|
155
155
|
);
|
|
156
156
|
J(
|
|
@@ -172,29 +172,29 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
172
172
|
const t = ue.value;
|
|
173
173
|
return {
|
|
174
174
|
keepValue: !0,
|
|
175
|
-
label:
|
|
175
|
+
label: b(e.label) ? e.label : "",
|
|
176
176
|
...t ? { rules: t } : {},
|
|
177
177
|
...e.formFieldProps
|
|
178
178
|
};
|
|
179
179
|
});
|
|
180
180
|
function se(t) {
|
|
181
181
|
var S;
|
|
182
|
-
const n = t.componentField.modelValue,
|
|
182
|
+
const n = t.componentField.modelValue, o = t.componentField["onUpdate:modelValue"], i = e.modelPropName || (b(e.component) ? (S = Z.value) == null ? void 0 : S[e.component] : null);
|
|
183
183
|
let r = n;
|
|
184
184
|
if (n && Ve(n) && i) {
|
|
185
185
|
const u = n.target;
|
|
186
186
|
r = Y(n) ? u == null ? void 0 : u[i] : (n == null ? void 0 : n[i]) ?? n;
|
|
187
187
|
}
|
|
188
188
|
return i ? {
|
|
189
|
-
[`onUpdate:${i}`]:
|
|
189
|
+
[`onUpdate:${i}`]: o,
|
|
190
190
|
[i]: r === void 0 ? e.emptyStateValue : r,
|
|
191
191
|
onChange: e.disabledOnChangeListener ? void 0 : (u) => {
|
|
192
192
|
var G;
|
|
193
|
-
const k = Y(u),
|
|
193
|
+
const k = Y(u), g = (G = t == null ? void 0 : t.componentField) == null ? void 0 : G.onChange;
|
|
194
194
|
if (!k)
|
|
195
|
-
return
|
|
195
|
+
return g == null ? void 0 : g(u);
|
|
196
196
|
const I = u.target;
|
|
197
|
-
return
|
|
197
|
+
return g == null ? void 0 : g((I == null ? void 0 : I[i]) ?? u);
|
|
198
198
|
},
|
|
199
199
|
...e.disabledOnInputListener ? { onInput: void 0 } : {}
|
|
200
200
|
} : {
|
|
@@ -204,7 +204,7 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
204
204
|
}
|
|
205
205
|
const fe = /* @__PURE__ */ new Set(["ElCheckbox", "ElCheckboxButton", "ElSwitch"]), ve = /* @__PURE__ */ new Set(["ElInputNumber"]);
|
|
206
206
|
function K(t) {
|
|
207
|
-
const n = se(t),
|
|
207
|
+
const n = se(t), o = {
|
|
208
208
|
...t.componentField,
|
|
209
209
|
...c.value,
|
|
210
210
|
...ce.value,
|
|
@@ -212,43 +212,44 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
212
212
|
...Reflect.has(c.value, "onChange") ? { onChange: c.value.onChange } : {},
|
|
213
213
|
...Reflect.has(c.value, "onInput") ? { onInput: c.value.onInput } : {}
|
|
214
214
|
};
|
|
215
|
-
return Reflect.has(c.value, "name") || delete
|
|
216
|
-
...
|
|
217
|
-
placeholder: R.value ? "" :
|
|
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"), {
|
|
216
|
+
...o,
|
|
217
|
+
placeholder: R.value ? "" : o.placeholder
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
220
|
function pe() {
|
|
221
221
|
var t, n;
|
|
222
|
-
|
|
223
|
-
document.activeElement !==
|
|
222
|
+
f.value && $(f.value.focus) && // 检查当前是否有元素被聚焦
|
|
223
|
+
document.activeElement !== f.value && ((n = (t = f.value) == null ? void 0 : t.focus) == null || n.call(t));
|
|
224
224
|
}
|
|
225
|
-
const
|
|
226
|
-
return J(
|
|
227
|
-
|
|
225
|
+
const v = We();
|
|
226
|
+
return J(f, (t) => {
|
|
227
|
+
v == null || v.set(e.fieldName, t);
|
|
228
228
|
}), ge(() => {
|
|
229
|
-
|
|
230
|
-
}), (t, n) => !e.hide &&
|
|
231
|
-
default:
|
|
232
|
-
Fe(
|
|
229
|
+
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 }), {
|
|
231
|
+
default: h((o) => [
|
|
232
|
+
Fe(x(l(Be), O({
|
|
233
233
|
class: [{
|
|
234
|
-
"form-valid-error":
|
|
234
|
+
"form-valid-error": C.value,
|
|
235
235
|
"form-is-required": V.value,
|
|
236
|
-
"pb-(--form-valid-error-nocompact-padding-bottom)": !
|
|
237
|
-
"pb-
|
|
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)
|
|
238
239
|
}, "relative"]
|
|
239
240
|
}, t.$attrs), {
|
|
240
|
-
default:
|
|
241
|
+
default: h(() => [
|
|
241
242
|
L("div", {
|
|
242
|
-
class: w([{ "flex-col":
|
|
243
|
+
class: w([{ "flex-col": l(s), "flex-row items-center": !l(s) }, "flex"])
|
|
243
244
|
}, [
|
|
244
|
-
e.hideLabel ? d("", !0) : (m(),
|
|
245
|
+
e.hideLabel ? d("", !0) : (m(), p(Je, {
|
|
245
246
|
key: 0,
|
|
246
247
|
class: w(
|
|
247
|
-
|
|
248
|
-
"flex leading-
|
|
248
|
+
l(q)(
|
|
249
|
+
"flex leading-(--tt-line-height)",
|
|
249
250
|
{
|
|
250
|
-
"mr-
|
|
251
|
-
"mb-
|
|
251
|
+
"mr-(--tt-form-label-gap) shrink-0 items-center justify-end text-right": !l(s),
|
|
252
|
+
"mb-(--tt-form-label-gap) flex-row": l(s)
|
|
252
253
|
},
|
|
253
254
|
e.labelClass
|
|
254
255
|
)
|
|
@@ -263,8 +264,8 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
263
264
|
form: T,
|
|
264
265
|
"tool-tip-text": e.toolTipText
|
|
265
266
|
}, {
|
|
266
|
-
default:
|
|
267
|
-
e.label ? (m(),
|
|
267
|
+
default: h(() => [
|
|
268
|
+
e.label ? (m(), p(l(E), {
|
|
268
269
|
key: 0,
|
|
269
270
|
content: e.label
|
|
270
271
|
}, null, 8, ["content"])) : d("", !0)
|
|
@@ -275,36 +276,36 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
275
276
|
L("div", {
|
|
276
277
|
ref_key: "wrapperRef",
|
|
277
278
|
ref: P,
|
|
278
|
-
class: w(
|
|
279
|
+
class: w(l(q)("relative flex w-full items-center", e.wrapperClass))
|
|
279
280
|
}, [
|
|
280
|
-
|
|
281
|
-
class: w(
|
|
281
|
+
x(l(Pe), {
|
|
282
|
+
class: w(l(q)(e.controlClass))
|
|
282
283
|
}, {
|
|
283
|
-
default:
|
|
284
|
+
default: h(() => [
|
|
284
285
|
xe(t.$slots, "default", Se(Ne({
|
|
285
|
-
...
|
|
286
|
-
...K(
|
|
286
|
+
...o,
|
|
287
|
+
...K(o),
|
|
287
288
|
disabled: R.value,
|
|
288
|
-
isInValid:
|
|
289
|
+
isInValid: C.value,
|
|
289
290
|
form: T,
|
|
290
291
|
fieldName: e.fieldName
|
|
291
292
|
})), () => [
|
|
292
|
-
(m(),
|
|
293
|
+
(m(), p(Re(A.value), O({
|
|
293
294
|
ref_key: "fieldComponentRef",
|
|
294
|
-
ref:
|
|
295
|
+
ref: f
|
|
295
296
|
}, {
|
|
296
|
-
...K(
|
|
297
|
+
...K(o),
|
|
297
298
|
disabled: R.value,
|
|
298
|
-
isInValid:
|
|
299
|
+
isInValid: C.value,
|
|
299
300
|
form: T,
|
|
300
301
|
fieldName: e.fieldName
|
|
301
302
|
}, { disabled: R.value }), ke({ _: 2 }, [
|
|
302
303
|
Oe(me.value, (i) => ({
|
|
303
304
|
name: i,
|
|
304
|
-
fn:
|
|
305
|
-
|
|
305
|
+
fn: h((r) => [
|
|
306
|
+
x(l(E), O({
|
|
306
307
|
content: z.value[i]
|
|
307
|
-
}, { ...r, formContext:
|
|
308
|
+
}, { ...r, formContext: o }), null, 16, ["content"])
|
|
308
309
|
])
|
|
309
310
|
}))
|
|
310
311
|
]), 1040, ["disabled"]))
|
|
@@ -313,34 +314,31 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
313
314
|
_: 2
|
|
314
315
|
}, 1032, ["class"]),
|
|
315
316
|
e.suffix ? (m(), Q("div", Ye, [
|
|
316
|
-
|
|
317
|
+
x(l(E), { content: e.suffix }, null, 8, ["content"])
|
|
317
318
|
])) : d("", !0),
|
|
318
|
-
|
|
319
|
+
y.value && C.value ? (m(), p(l($e), {
|
|
319
320
|
key: 1,
|
|
320
321
|
"ref-dom": P.value
|
|
321
322
|
}, null, 8, ["ref-dom"])) : d("", !0)
|
|
322
323
|
], 2)
|
|
323
324
|
])
|
|
324
325
|
], 2),
|
|
325
|
-
e.description || !
|
|
326
|
+
e.description || !y.value ? (m(), Q("div", {
|
|
326
327
|
key: 0,
|
|
327
|
-
style: X(!
|
|
328
|
+
style: X(!l(s) && !e.hideLabel ? { paddingLeft: `calc(${e.labelWidth || 0}px + var(--tt-form-label-gap))` } : {})
|
|
328
329
|
}, [
|
|
329
|
-
e.description ? (m(),
|
|
330
|
+
e.description ? (m(), p(l(Te), {
|
|
330
331
|
key: 0,
|
|
331
332
|
class: "text-[12px]"
|
|
332
333
|
}, {
|
|
333
|
-
default:
|
|
334
|
-
|
|
334
|
+
default: h(() => [
|
|
335
|
+
x(l(E), { content: e.description }, null, 8, ["content"])
|
|
335
336
|
]),
|
|
336
337
|
_: 1
|
|
337
338
|
})) : d("", !0),
|
|
338
|
-
|
|
339
|
-
default:
|
|
340
|
-
!
|
|
341
|
-
key: 0,
|
|
342
|
-
class: "absolute"
|
|
343
|
-
})) : d("", !0)
|
|
339
|
+
x(we, { name: "slide-up" }, {
|
|
340
|
+
default: h(() => [
|
|
341
|
+
!y.value && C.value ? (m(), p(l(qe), { key: 0 })) : d("", !0)
|
|
344
342
|
]),
|
|
345
343
|
_: 1
|
|
346
344
|
})
|
|
@@ -348,7 +346,7 @@ const Xe = { class: "flex-auto overflow-hidden" }, Ye = {
|
|
|
348
346
|
]),
|
|
349
347
|
_: 2
|
|
350
348
|
}, 1040, ["class"]), [
|
|
351
|
-
[Ee,
|
|
349
|
+
[Ee, l(U)]
|
|
352
350
|
])
|
|
353
351
|
]),
|
|
354
352
|
_: 3
|
|
@@ -44,7 +44,7 @@ const N = {
|
|
|
44
44
|
setup(e) {
|
|
45
45
|
const n = e, s = (B(n.label) || C(n.label)) && n.label !== null;
|
|
46
46
|
return (P, S) => (o(), l(t(z), {
|
|
47
|
-
class: T(t(V)("flex items-center text-
|
|
47
|
+
class: T(t(V)("flex items-center text-(--el-font-size-base)", n.class))
|
|
48
48
|
}, {
|
|
49
49
|
default: r(() => [
|
|
50
50
|
e.required ? (o(), i("span", N, "*")) : c("", !0),
|
|
@@ -11,9 +11,9 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mo
|
|
|
11
11
|
import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
|
|
12
12
|
import "lodash-es";
|
|
13
13
|
const s = "grid-cols-1 sm:grid-cols-2 md:grid-cols-3";
|
|
14
|
-
function _(
|
|
15
|
-
const { layout: p, compact:
|
|
16
|
-
return p === "inline" ?
|
|
14
|
+
function _(o) {
|
|
15
|
+
const { layout: p, compact: r, wrapperClass: i } = o, t = ["flex"];
|
|
16
|
+
return p === "inline" ? t.push("flex-wrap gap-x-(--tt-spacing-1)") : t.push(r ? "gap-x-(--tt-spacing-1)" : "gap-x-(--tt-spacing-2)", "flex-col grid"), m(...t, i ?? s);
|
|
17
17
|
}
|
|
18
18
|
export {
|
|
19
19
|
s as FORM_RENDER_DEFAULT_WRAPPER_CLASS,
|
|
@@ -77,7 +77,7 @@ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], ce = "grid-col
|
|
|
77
77
|
scrollElement: o.scrollElement,
|
|
78
78
|
rootMargin: o.rootMargin,
|
|
79
79
|
estimateFieldHeight: o.estimateFieldHeight
|
|
80
|
-
})), he = a(() => r.value ? c("grid gap-x-
|
|
80
|
+
})), he = a(() => r.value ? c("grid gap-x-(--tt-spacing-2)", r.value.wrapperClass || ce) : ""), ye = a(() => w.value ? c("grid gap-x-(--tt-spacing-2) col-span-full", w.value.wrapperClass || ce) : ""), ke = a(() => I.value ? c(s, `${s}--group`, {
|
|
81
81
|
[`${s}--nested`]: o.depth > 0
|
|
82
82
|
}) : V.value ? c(s, `${s}--row`, ye.value) : c(s, `${s}--transparent`));
|
|
83
83
|
function U(e, i) {
|
|
@@ -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
|
|
5
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d731bb93"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
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/
|
|
14
|
-
fit: import('element-plus/es/utils/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
37
|
-
infinite: import('element-plus/es/utils/
|
|
38
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
39
|
-
zoomRate: import('element-plus/es/utils/
|
|
40
|
-
scale: import('element-plus/es/utils/
|
|
41
|
-
minScale: import('element-plus/es/utils/
|
|
42
|
-
maxScale: import('element-plus/es/utils/
|
|
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/
|
|
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/
|
|
64
|
-
fit: import('element-plus/es/utils/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
87
|
-
infinite: import('element-plus/es/utils/
|
|
88
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
89
|
-
zoomRate: import('element-plus/es/utils/
|
|
90
|
-
scale: import('element-plus/es/utils/
|
|
91
|
-
minScale: import('element-plus/es/utils/
|
|
92
|
-
maxScale: import('element-plus/es/utils/
|
|
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/
|
|
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/
|
|
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/
|
|
116
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
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/
|
|
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/
|
|
17
|
-
infinite: import('element-plus/es/utils/
|
|
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/
|
|
21
|
-
zoomRate: import('element-plus/es/utils/
|
|
22
|
-
scale: import('element-plus/es/utils/
|
|
23
|
-
minScale: import('element-plus/es/utils/
|
|
24
|
-
maxScale: import('element-plus/es/utils/
|
|
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/
|
|
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/
|
|
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/
|
|
54
|
-
infinite: import('element-plus/es/utils/
|
|
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/
|
|
58
|
-
zoomRate: import('element-plus/es/utils/
|
|
59
|
-
scale: import('element-plus/es/utils/
|
|
60
|
-
minScale: import('element-plus/es/utils/
|
|
61
|
-
maxScale: import('element-plus/es/utils/
|
|
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/
|
|
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/
|
|
81
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
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;
|