@vtj/ui 0.7.2 → 0.7.3
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/index.cjs +3 -3
- package/dist/index.iife.js +2 -2
- package/dist/index.mjs +138 -130
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +6 -6
- package/types/components/dialog/Dialog.d.ts +2 -2
- package/types/components/dialog/types.d.ts +1 -1
- package/types/components/field/Field.d.ts +7 -0
- package/types/components/field/types.d.ts +6 -0
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, useAttrs as Je, getCurrentInstance as pe, computed as y, markRaw as ke, openBlock as u, createBlock as g, unref as n, normalizeClass as
|
|
1
|
+
import { defineComponent as P, useAttrs as Je, getCurrentInstance as pe, computed as y, markRaw as ke, openBlock as u, createBlock as g, unref as n, normalizeClass as W, normalizeStyle as fe, withCtx as d, renderSlot as x, resolveDynamicComponent as J, createCommentVNode as v, createElementBlock as C, mergeProps as F, createElementVNode as H, toDisplayString as O, Fragment as Q, renderList as Y, isVNode as Ut, h as ae, shallowRef as Ve, ref as D, watch as L, toRef as Ae, createTextVNode as R, useSlots as Ht, toRaw as ge, createVNode as _, normalizeProps as le, guardReactiveProps as be, effectScope as mt, reactive as Re, onMounted as gt, onUnmounted as yt, watchEffect as Qe, nextTick as ye, Teleport as vt, withDirectives as G, createSlots as he, render as nt, vShow as ne, isRef as Be, withModifiers as bt, KeepAlive as Kt, provide as ze, inject as xe, withKeys as Lt } from "vue";
|
|
2
2
|
import { ElIcon as Wt, ElSubMenu as Jt, ElBadge as Ke, ElMenuItem as Qt, ElMenu as Zt, ElButton as ie, ElDropdown as Gt, ElDropdownMenu as Yt, ElDropdownItem as qt, ElTooltip as ht, ElDivider as se, ElSwitch as Ze, ElInput as Ce, ElEmpty as _t, ElTabs as kt, ElTabPane as Le, ElPopover as wt, ElAvatar as eo, ElMessageBox as Ne, ElSelect as to, ElOption as oo, ElCheckboxButton as no, ElCheckbox as ao, ElCheckboxGroup as so, ElRadioButton as lo, ElRadio as io, ElRadioGroup as ro, ElInputNumber as co, ElDatePicker as at, ElTimePicker as uo, ElRate as po, ElSlider as fo, ElCascader as mo, formContextKey as go, ElFormItem as yo, ElForm as vo, ElImage as bo, ElInfiniteScroll as st, ElPagination as ho, ElDescriptions as lt, ElDescriptionsItem as Xe, ElMessage as it } from "element-plus";
|
|
3
3
|
import { ArrowRight as _o, Minimize as ko, Popup as wo, Maximize as xo, RawClose as So, StarFilled as xt, Menu as zo, Search as We, Close as St, Expand as Co, Fold as To, Star as zt, Document as me, Refresh as $o, CopyDocument as Mo, Moon as Eo, Sunny as Io, MoreFilled as Bo, UserFilled as Po, HomeFilled as Vo, WarningFilled as Ao } from "@vtj/icons";
|
|
4
4
|
import { useDraggable as Do, useMouseInElement as Ro, useEventListener as De, useElementSize as Ct, useDark as Oo, useResizeObserver as Fo, useVirtualList as jo } from "@vueuse/core";
|
|
@@ -8,10 +8,10 @@ import { useRouter as qe, RouterView as Lo, useRoute as Mt, routeLocationKey as
|
|
|
8
8
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
9
9
|
* @name @vtj/ui
|
|
10
10
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
11
|
-
* @version 0.7.
|
|
11
|
+
* @version 0.7.2
|
|
12
12
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
13
13
|
*/
|
|
14
|
-
const
|
|
14
|
+
const Aa = "0.7.2", Jo = {
|
|
15
15
|
default: 14,
|
|
16
16
|
small: 12,
|
|
17
17
|
large: 18
|
|
@@ -55,7 +55,7 @@ function rt(a, o = {}) {
|
|
|
55
55
|
const e = { ...o };
|
|
56
56
|
return typeof a == "boolean" ? e : Object.assign(e, a || {});
|
|
57
57
|
}
|
|
58
|
-
const ct = Symbol("INSTALLED_KEY"),
|
|
58
|
+
const ct = Symbol("INSTALLED_KEY"), Da = (a = []) => ({
|
|
59
59
|
install: (e) => {
|
|
60
60
|
e[ct] || (e[ct] = !0, a.forEach((t) => {
|
|
61
61
|
t.name && e.component(t.name, t);
|
|
@@ -82,14 +82,14 @@ const ct = Symbol("INSTALLED_KEY"), Ra = (a = []) => ({
|
|
|
82
82
|
padding: o.padding ? q(o.padding) : void 0
|
|
83
83
|
})), i = y(() => typeof o.size == "number" ? o.size : Jo[o.size] ?? void 0);
|
|
84
84
|
return (r, p) => (u(), g(n(Wt), {
|
|
85
|
-
class:
|
|
85
|
+
class: W(["x-icon", s.value]),
|
|
86
86
|
color: o.color,
|
|
87
87
|
size: i.value,
|
|
88
88
|
style: fe(c.value)
|
|
89
89
|
}, {
|
|
90
90
|
default: d(() => [
|
|
91
91
|
x(r.$slots, "default", {}, () => [
|
|
92
|
-
l.value ? (u(), g(
|
|
92
|
+
l.value ? (u(), g(J(l.value), { key: 0 })) : v("", !0),
|
|
93
93
|
o.src ? (u(), C("img", {
|
|
94
94
|
key: 1,
|
|
95
95
|
src: o.src
|
|
@@ -144,7 +144,7 @@ const ct = Symbol("INSTALLED_KEY"), Ra = (a = []) => ({
|
|
|
144
144
|
])
|
|
145
145
|
]),
|
|
146
146
|
default: d(() => [
|
|
147
|
-
(u(!0), C(
|
|
147
|
+
(u(!0), C(Q, null, Y(s(o.item.children), (r) => (u(), g(n(Et), {
|
|
148
148
|
key: r.id,
|
|
149
149
|
item: r,
|
|
150
150
|
subMenu: o.subMenu,
|
|
@@ -208,7 +208,7 @@ const ct = Symbol("INSTALLED_KEY"), Ra = (a = []) => ({
|
|
|
208
208
|
};
|
|
209
209
|
return (i, r) => (u(), g(n(Zt), F({ class: "x-menu" }, i.$attrs, { onSelect: c }), {
|
|
210
210
|
default: d(() => [
|
|
211
|
-
(u(!0), C(
|
|
211
|
+
(u(!0), C(Q, null, Y(l.value, (p) => (u(), g(n(Et), {
|
|
212
212
|
item: { ...p, icon: p.icon },
|
|
213
213
|
defaultIcon: e.defaultIcon,
|
|
214
214
|
subMenu: e.subMenu
|
|
@@ -410,10 +410,10 @@ const rn = { key: 0 }, cn = /* @__PURE__ */ P({
|
|
|
410
410
|
_: 1
|
|
411
411
|
}, 16, ["icon", "type", "size", "disabled"])) : (u(), C("div", {
|
|
412
412
|
key: 1,
|
|
413
|
-
class:
|
|
413
|
+
class: W(["x-action__inner", c.value]),
|
|
414
414
|
onClick: i
|
|
415
415
|
}, [
|
|
416
|
-
(u(), g(
|
|
416
|
+
(u(), g(J(n(l)))),
|
|
417
417
|
r.label ? (u(), C("span", rn, O(r.label), 1)) : v("", !0)
|
|
418
418
|
], 2));
|
|
419
419
|
}
|
|
@@ -455,9 +455,9 @@ const rn = { key: 0 }, cn = /* @__PURE__ */ P({
|
|
|
455
455
|
return c.value && (z = h(z)), i.value && (z = b(z)), s.value && (z = w(z)), z;
|
|
456
456
|
});
|
|
457
457
|
return (z, I) => (u(), C("div", {
|
|
458
|
-
class:
|
|
458
|
+
class: W(["x-action", p.value])
|
|
459
459
|
}, [
|
|
460
|
-
(u(), g(
|
|
460
|
+
(u(), g(J(M.value)))
|
|
461
461
|
], 2));
|
|
462
462
|
}
|
|
463
463
|
}), un = {
|
|
@@ -557,7 +557,7 @@ const rn = { key: 0 }, cn = /* @__PURE__ */ P({
|
|
|
557
557
|
align: "center"
|
|
558
558
|
}, {
|
|
559
559
|
default: d(() => [
|
|
560
|
-
(u(!0), C(
|
|
560
|
+
(u(!0), C(Q, null, Y(l.value, (p) => (u(), C(Q, null, [
|
|
561
561
|
p === "|" ? (u(), g(n(se), {
|
|
562
562
|
key: 0,
|
|
563
563
|
direction: "vertical",
|
|
@@ -731,8 +731,8 @@ const rn = { key: 0 }, cn = /* @__PURE__ */ P({
|
|
|
731
731
|
height: r ? q(r) : void 0
|
|
732
732
|
};
|
|
733
733
|
});
|
|
734
|
-
return (i, r) => (u(), g(
|
|
735
|
-
class:
|
|
734
|
+
return (i, r) => (u(), g(J(o.tag), {
|
|
735
|
+
class: W(["x-container", s.value]),
|
|
736
736
|
style: fe(c.value)
|
|
737
737
|
}, {
|
|
738
738
|
default: d(() => [
|
|
@@ -777,18 +777,18 @@ const rn = { key: 0 }, cn = /* @__PURE__ */ P({
|
|
|
777
777
|
"is-pointer": !!t.onClick
|
|
778
778
|
}));
|
|
779
779
|
return (s, c) => (u(), g(n(E), {
|
|
780
|
-
class:
|
|
780
|
+
class: W(["x-header", l.value]),
|
|
781
781
|
justify: "space-between",
|
|
782
782
|
align: "center"
|
|
783
783
|
}, {
|
|
784
784
|
default: d(() => [
|
|
785
785
|
_(n(E), {
|
|
786
786
|
align: "center",
|
|
787
|
-
class:
|
|
787
|
+
class: W(["x-header__wrapper", l.value]),
|
|
788
788
|
grow: ""
|
|
789
789
|
}, {
|
|
790
790
|
default: d(() => [
|
|
791
|
-
n(e) ? (u(), g(
|
|
791
|
+
n(e) ? (u(), g(J(n(e)), {
|
|
792
792
|
key: 0,
|
|
793
793
|
class: "x-header__icon",
|
|
794
794
|
onClick: n(t).onClickIcon || n(t).onClick
|
|
@@ -913,7 +913,7 @@ const rn = { key: 0 }, cn = /* @__PURE__ */ P({
|
|
|
913
913
|
return o({
|
|
914
914
|
bodyRef: t
|
|
915
915
|
}), (i, r) => (u(), g(n(E), {
|
|
916
|
-
class:
|
|
916
|
+
class: W(["x-panel", l.value]),
|
|
917
917
|
direction: "column",
|
|
918
918
|
fit: e.fit,
|
|
919
919
|
width: e.width,
|
|
@@ -1385,14 +1385,14 @@ const xn = ["src"], tt = /* @__PURE__ */ P({
|
|
|
1385
1385
|
submit: T,
|
|
1386
1386
|
cancel: j,
|
|
1387
1387
|
componentInstance: K
|
|
1388
|
-
}), (
|
|
1388
|
+
}), (Z, ee) => t.modelValue ? (u(), g(vt, {
|
|
1389
1389
|
key: 0,
|
|
1390
1390
|
to: "body"
|
|
1391
1391
|
}, [
|
|
1392
1392
|
H("div", {
|
|
1393
1393
|
ref_key: "wrapper",
|
|
1394
1394
|
ref: c,
|
|
1395
|
-
class:
|
|
1395
|
+
class: W(["x-dialog__wrapper", n(w)])
|
|
1396
1396
|
}, [
|
|
1397
1397
|
t.modal ? (u(), C("div", {
|
|
1398
1398
|
key: 0,
|
|
@@ -1413,12 +1413,12 @@ const xn = ["src"], tt = /* @__PURE__ */ P({
|
|
|
1413
1413
|
size: t.size,
|
|
1414
1414
|
body: { padding: t.bodyPadding },
|
|
1415
1415
|
onClick: n(I)
|
|
1416
|
-
},
|
|
1416
|
+
}, Z.$attrs), he({
|
|
1417
1417
|
title: d(() => [
|
|
1418
1418
|
R(O(t.title), 1)
|
|
1419
1419
|
]),
|
|
1420
1420
|
actions: d(() => [
|
|
1421
|
-
x(
|
|
1421
|
+
x(Z.$slots, "actions"),
|
|
1422
1422
|
t.minimizable ? (u(), g(n(te), {
|
|
1423
1423
|
key: 0,
|
|
1424
1424
|
icon: n(ko),
|
|
@@ -1428,7 +1428,7 @@ const xn = ["src"], tt = /* @__PURE__ */ P({
|
|
|
1428
1428
|
background: "hover",
|
|
1429
1429
|
onClick: ee[0] || (ee[0] = (ue) => n(z)("minimized"))
|
|
1430
1430
|
}, null, 8, ["icon", "size"])) : v("", !0),
|
|
1431
|
-
t.maximizable ? (u(), C(
|
|
1431
|
+
t.maximizable ? (u(), C(Q, { key: 1 }, [
|
|
1432
1432
|
n(m) ? (u(), g(n(te), {
|
|
1433
1433
|
key: 1,
|
|
1434
1434
|
icon: n(xo),
|
|
@@ -1458,8 +1458,8 @@ const xn = ["src"], tt = /* @__PURE__ */ P({
|
|
|
1458
1458
|
}, null, 8, ["icon", "size", "onClick"])) : v("", !0)
|
|
1459
1459
|
]),
|
|
1460
1460
|
default: d(() => [
|
|
1461
|
-
x(
|
|
1462
|
-
t.content ? (u(), g(
|
|
1461
|
+
x(Z.$slots, "default", {}, () => [
|
|
1462
|
+
t.content ? (u(), g(J(t.content), { key: 0 })) : v("", !0),
|
|
1463
1463
|
t.src ? (u(), C("iframe", {
|
|
1464
1464
|
key: 1,
|
|
1465
1465
|
src: t.src,
|
|
@@ -1469,19 +1469,19 @@ const xn = ["src"], tt = /* @__PURE__ */ P({
|
|
|
1469
1469
|
]),
|
|
1470
1470
|
_: 2
|
|
1471
1471
|
}, [
|
|
1472
|
-
t.cancel || t.submit ||
|
|
1472
|
+
t.cancel || t.submit || Z.$slots.footer || Z.$slots.extra || Z.$slots.handle ? {
|
|
1473
1473
|
name: "footer",
|
|
1474
1474
|
fn: d(() => [
|
|
1475
|
-
x(
|
|
1475
|
+
x(Z.$slots, "footer", {}, () => [
|
|
1476
1476
|
_(n(E), { align: "center" }, {
|
|
1477
1477
|
default: d(() => [
|
|
1478
|
-
x(
|
|
1478
|
+
x(Z.$slots, "extra")
|
|
1479
1479
|
]),
|
|
1480
1480
|
_: 3
|
|
1481
1481
|
}),
|
|
1482
1482
|
_(n(E), { align: "center" }, {
|
|
1483
1483
|
default: d(() => [
|
|
1484
|
-
x(
|
|
1484
|
+
x(Z.$slots, "handle"),
|
|
1485
1485
|
t.cancel ? (u(), g(n(ie), {
|
|
1486
1486
|
key: 0,
|
|
1487
1487
|
type: "default",
|
|
@@ -1540,7 +1540,7 @@ const Sn = /* @__PURE__ */ H("div", { class: "x-mask-sidebar__helper" }, null, -
|
|
|
1540
1540
|
setup(a) {
|
|
1541
1541
|
const o = a;
|
|
1542
1542
|
return (e, t) => G((u(), g(n(E), {
|
|
1543
|
-
class:
|
|
1543
|
+
class: W(["x-mask-sidebar", { "is-collapsed": o.collapsed }]),
|
|
1544
1544
|
grow: !1,
|
|
1545
1545
|
flex: "",
|
|
1546
1546
|
direction: "column"
|
|
@@ -1639,7 +1639,7 @@ const Sn = /* @__PURE__ */ H("div", { class: "x-mask-sidebar__helper" }, null, -
|
|
|
1639
1639
|
_: 1
|
|
1640
1640
|
})),
|
|
1641
1641
|
_(n(E), {
|
|
1642
|
-
class:
|
|
1642
|
+
class: W(["x-mask-switch-bar__right", { "is-collasped": e.collasped }]),
|
|
1643
1643
|
flex: "",
|
|
1644
1644
|
align: "center",
|
|
1645
1645
|
justify: "center"
|
|
@@ -1692,7 +1692,7 @@ const Sn = /* @__PURE__ */ H("div", { class: "x-mask-sidebar__helper" }, null, -
|
|
|
1692
1692
|
o.url && e.push(o.url);
|
|
1693
1693
|
};
|
|
1694
1694
|
return (l, s) => (u(), g(n(E), {
|
|
1695
|
-
class:
|
|
1695
|
+
class: W(["x-mask-brand", { "is-collapsed": o.collapsed }]),
|
|
1696
1696
|
align: "center"
|
|
1697
1697
|
}, {
|
|
1698
1698
|
default: d(() => [
|
|
@@ -1776,7 +1776,7 @@ const Sn = /* @__PURE__ */ H("div", { class: "x-mask-sidebar__helper" }, null, -
|
|
|
1776
1776
|
}), r = (p) => {
|
|
1777
1777
|
l("select", p);
|
|
1778
1778
|
};
|
|
1779
|
-
return (p, f) => (u(), C(
|
|
1779
|
+
return (p, f) => (u(), C(Q, null, [
|
|
1780
1780
|
G(_(n(E), {
|
|
1781
1781
|
class: "x-mask-menu",
|
|
1782
1782
|
grow: "",
|
|
@@ -2094,13 +2094,13 @@ const Sn = /* @__PURE__ */ H("div", { class: "x-mask-sidebar__helper" }, null, -
|
|
|
2094
2094
|
}, {
|
|
2095
2095
|
label: d(() => [
|
|
2096
2096
|
H("div", Vn, [
|
|
2097
|
-
e.home.icon ? (u(), g(
|
|
2097
|
+
e.home.icon ? (u(), g(J(n(_e)(e.home.icon)), { key: 0 })) : v("", !0),
|
|
2098
2098
|
e.home.title ? (u(), C("span", An, O(e.home.title), 1)) : v("", !0)
|
|
2099
2099
|
])
|
|
2100
2100
|
]),
|
|
2101
2101
|
_: 1
|
|
2102
2102
|
}, 8, ["name"])) : v("", !0),
|
|
2103
|
-
(u(!0), C(
|
|
2103
|
+
(u(!0), C(Q, null, Y(e.tabs, (h) => (u(), g(n(Le), {
|
|
2104
2104
|
key: h.id,
|
|
2105
2105
|
name: h.id,
|
|
2106
2106
|
lazy: "",
|
|
@@ -2121,7 +2121,7 @@ const Sn = /* @__PURE__ */ H("div", { class: "x-mask-sidebar__helper" }, null, -
|
|
|
2121
2121
|
onDragstart: (b) => r(h, b),
|
|
2122
2122
|
onDragend: (b) => p(h, b)
|
|
2123
2123
|
}, [
|
|
2124
|
-
h.icon ? (u(), g(
|
|
2124
|
+
h.icon ? (u(), g(J(n(_e)(h.icon)), { key: 0 })) : v("", !0),
|
|
2125
2125
|
h.title ? (u(), C("span", Rn, O(h.title), 1)) : v("", !0)
|
|
2126
2126
|
], 40, Dn)
|
|
2127
2127
|
]),
|
|
@@ -2310,7 +2310,7 @@ const Sn = /* @__PURE__ */ H("div", { class: "x-mask-sidebar__helper" }, null, -
|
|
|
2310
2310
|
(u(), g(Kt, {
|
|
2311
2311
|
exclude: o.exclude
|
|
2312
2312
|
}, [
|
|
2313
|
-
l ? (u(), g(
|
|
2313
|
+
l ? (u(), g(J(o.createView(l, s)), {
|
|
2314
2314
|
key: s.fullPath
|
|
2315
2315
|
})) : v("", !0)
|
|
2316
2316
|
], 1032, ["exclude"]))
|
|
@@ -2440,7 +2440,7 @@ function Ln(a, o, e, t, l) {
|
|
|
2440
2440
|
return;
|
|
2441
2441
|
const A = r.value;
|
|
2442
2442
|
return r.value = [], B(l.value), A;
|
|
2443
|
-
},
|
|
2443
|
+
}, Z = async () => {
|
|
2444
2444
|
if (!await Ne.confirm("是否关闭其他页签", "提示", {
|
|
2445
2445
|
type: "warning"
|
|
2446
2446
|
}).catch(() => !1))
|
|
@@ -2477,7 +2477,7 @@ function Ln(a, o, e, t, l) {
|
|
|
2477
2477
|
activeTab: B,
|
|
2478
2478
|
dropdownTabs: b,
|
|
2479
2479
|
removeAllTabs: ce,
|
|
2480
|
-
removeOtherTabs:
|
|
2480
|
+
removeOtherTabs: Z,
|
|
2481
2481
|
moveToShow: ee
|
|
2482
2482
|
};
|
|
2483
2483
|
}
|
|
@@ -2588,7 +2588,7 @@ const Jn = /* @__PURE__ */ P({
|
|
|
2588
2588
|
removeOtherTabs: U,
|
|
2589
2589
|
dropdownTabs: K,
|
|
2590
2590
|
moveToShow: ce
|
|
2591
|
-
} = Ln(e, t, f, m, l), { createView:
|
|
2591
|
+
} = Ln(e, t, f, m, l), { createView: Z, openDialog: ee, refresh: ue, exclude: $, cleanCache: A, closeDialogs: N } = Wn({
|
|
2592
2592
|
tabs: S,
|
|
2593
2593
|
updateTab: B,
|
|
2594
2594
|
isCurrentTab: T,
|
|
@@ -2614,20 +2614,20 @@ const Jn = /* @__PURE__ */ P({
|
|
|
2614
2614
|
active: m,
|
|
2615
2615
|
currentTab: z
|
|
2616
2616
|
}), (X, oe) => (u(), g(n(E), {
|
|
2617
|
-
class:
|
|
2617
|
+
class: W(["x-mask", { "is-disabled": e.disabled }]),
|
|
2618
2618
|
fit: ""
|
|
2619
2619
|
}, {
|
|
2620
2620
|
default: d(() => [
|
|
2621
2621
|
e.disabled ? (u(), g(ft, {
|
|
2622
2622
|
key: 1,
|
|
2623
|
-
createView: n(
|
|
2623
|
+
createView: n(Z),
|
|
2624
2624
|
exclude: n($)
|
|
2625
2625
|
}, {
|
|
2626
2626
|
default: d(() => [
|
|
2627
2627
|
X.$slots.default ? x(X.$slots, "default", { key: 0 }) : v("", !0)
|
|
2628
2628
|
]),
|
|
2629
2629
|
_: 3
|
|
2630
|
-
}, 8, ["createView", "exclude"])) : (u(), C(
|
|
2630
|
+
}, 8, ["createView", "exclude"])) : (u(), C(Q, { key: 0 }, [
|
|
2631
2631
|
_(zn, { collapsed: n(s) }, {
|
|
2632
2632
|
brand: d(() => [
|
|
2633
2633
|
_(Mn, {
|
|
@@ -2716,7 +2716,7 @@ const Jn = /* @__PURE__ */ P({
|
|
|
2716
2716
|
_: 3
|
|
2717
2717
|
}),
|
|
2718
2718
|
_(ft, {
|
|
2719
|
-
createView: n(
|
|
2719
|
+
createView: n(Z),
|
|
2720
2720
|
exclude: n($)
|
|
2721
2721
|
}, {
|
|
2722
2722
|
default: d(() => [
|
|
@@ -2733,7 +2733,7 @@ const Jn = /* @__PURE__ */ P({
|
|
|
2733
2733
|
}, 8, ["class"]));
|
|
2734
2734
|
}
|
|
2735
2735
|
});
|
|
2736
|
-
function
|
|
2736
|
+
function Ra(a = {}) {
|
|
2737
2737
|
const o = Mt(), e = xe(Vt, null), t = xe(At, null);
|
|
2738
2738
|
if (e) {
|
|
2739
2739
|
const s = typeof a == "function" ? a : async () => a;
|
|
@@ -2753,7 +2753,7 @@ const Qn = /* @__PURE__ */ P({
|
|
|
2753
2753
|
const o = a;
|
|
2754
2754
|
return (e, t) => (u(), g(n(to), le(be(e.$attrs)), {
|
|
2755
2755
|
default: d(() => [
|
|
2756
|
-
(u(!0), C(
|
|
2756
|
+
(u(!0), C(Q, null, Y(o.options, (l, s) => (u(), g(n(oo), F({
|
|
2757
2757
|
key: `item_${s}_${l.value}`
|
|
2758
2758
|
}, l), he({ _: 2 }, [
|
|
2759
2759
|
e.$slots.option ? {
|
|
@@ -2780,7 +2780,7 @@ const Qn = /* @__PURE__ */ P({
|
|
|
2780
2780
|
);
|
|
2781
2781
|
return (t, l) => (u(), g(n(so), le(be(t.$attrs)), {
|
|
2782
2782
|
default: d(() => [
|
|
2783
|
-
(u(!0), C(
|
|
2783
|
+
(u(!0), C(Q, null, Y(o.options, (s, c) => (u(), g(J(e.value), {
|
|
2784
2784
|
key: `item_${c}_${s.value}`,
|
|
2785
2785
|
label: s.value
|
|
2786
2786
|
}, {
|
|
@@ -2805,7 +2805,7 @@ const Qn = /* @__PURE__ */ P({
|
|
|
2805
2805
|
);
|
|
2806
2806
|
return (t, l) => (u(), g(n(ro), le(be(t.$attrs)), {
|
|
2807
2807
|
default: d(() => [
|
|
2808
|
-
(u(!0), C(
|
|
2808
|
+
(u(!0), C(Q, null, Y(o.options, (s, c) => (u(), g(J(e.value), {
|
|
2809
2809
|
key: `item_${c}_${s.value}`,
|
|
2810
2810
|
label: s.value
|
|
2811
2811
|
}, {
|
|
@@ -2995,6 +2995,12 @@ const Qn = /* @__PURE__ */ P({
|
|
|
2995
2995
|
*/
|
|
2996
2996
|
tip: {
|
|
2997
2997
|
type: String
|
|
2998
|
+
},
|
|
2999
|
+
/**
|
|
3000
|
+
* 表单项内容采用inline布局
|
|
3001
|
+
*/
|
|
3002
|
+
inline: {
|
|
3003
|
+
type: Boolean
|
|
2998
3004
|
}
|
|
2999
3005
|
};
|
|
3000
3006
|
async function qn(a, o) {
|
|
@@ -3045,7 +3051,7 @@ function ea(a, o, e, t, l) {
|
|
|
3045
3051
|
const ta = {
|
|
3046
3052
|
key: 1,
|
|
3047
3053
|
class: "el-form-item__error"
|
|
3048
|
-
}, oa = {
|
|
3054
|
+
}, oa = {
|
|
3049
3055
|
key: 0,
|
|
3050
3056
|
class: "x-field__tip"
|
|
3051
3057
|
}, Ot = /* @__PURE__ */ P({
|
|
@@ -3146,9 +3152,11 @@ const ta = {
|
|
|
3146
3152
|
])
|
|
3147
3153
|
]),
|
|
3148
3154
|
default: d(() => [
|
|
3149
|
-
H("div",
|
|
3155
|
+
H("div", {
|
|
3156
|
+
class: W(["x-field__editor_wrap", { "is-inline": t.inline }])
|
|
3157
|
+
}, [
|
|
3150
3158
|
x(k.$slots, "editor", { editor: B.value }, () => [
|
|
3151
|
-
n(m).component ? (u(), g(
|
|
3159
|
+
n(m).component ? (u(), g(J(n(m).component), F({
|
|
3152
3160
|
key: 0,
|
|
3153
3161
|
class: "x-field__editor",
|
|
3154
3162
|
ref_key: "editorRef",
|
|
@@ -3165,12 +3173,12 @@ const ta = {
|
|
|
3165
3173
|
} : void 0
|
|
3166
3174
|
]), 1040, ["modelValue"])) : v("", !0)
|
|
3167
3175
|
]),
|
|
3168
|
-
t.tip || k.$slots.tip ? (u(), C("div",
|
|
3176
|
+
t.tip || k.$slots.tip ? (u(), C("div", oa, [
|
|
3169
3177
|
x(k.$slots, "tip", {}, () => [
|
|
3170
3178
|
R(O(t.tip), 1)
|
|
3171
3179
|
])
|
|
3172
3180
|
])) : v("", !0)
|
|
3173
|
-
]),
|
|
3181
|
+
], 2),
|
|
3174
3182
|
x(k.$slots, "default")
|
|
3175
3183
|
]),
|
|
3176
3184
|
_: 2
|
|
@@ -3184,7 +3192,7 @@ const ta = {
|
|
|
3184
3192
|
} : void 0
|
|
3185
3193
|
]), 1040, ["prop", "label", "size", "class", "style"])) : v("", !0);
|
|
3186
3194
|
}
|
|
3187
|
-
}),
|
|
3195
|
+
}), na = {
|
|
3188
3196
|
/**
|
|
3189
3197
|
* 表单模型
|
|
3190
3198
|
*/
|
|
@@ -3243,7 +3251,7 @@ const ta = {
|
|
|
3243
3251
|
}, Ft = Symbol("formInstanceKey"), jt = Symbol("formModelKey"), Nt = /* @__PURE__ */ P({
|
|
3244
3252
|
name: "XForm",
|
|
3245
3253
|
__name: "Form",
|
|
3246
|
-
props:
|
|
3254
|
+
props: na,
|
|
3247
3255
|
emits: ["change", "submit", "reset"],
|
|
3248
3256
|
setup(a, { expose: o, emit: e }) {
|
|
3249
3257
|
const t = a, l = e, s = pe(), c = D(), i = Re(t.model || {}), r = D(!1);
|
|
@@ -3316,7 +3324,7 @@ const ta = {
|
|
|
3316
3324
|
_: 3
|
|
3317
3325
|
}, 16, ["inline", "model"]));
|
|
3318
3326
|
}
|
|
3319
|
-
}),
|
|
3327
|
+
}), aa = {
|
|
3320
3328
|
modelValue: {
|
|
3321
3329
|
type: Boolean,
|
|
3322
3330
|
default: !0
|
|
@@ -3353,10 +3361,10 @@ const ta = {
|
|
|
3353
3361
|
submitMethod: {
|
|
3354
3362
|
type: Function
|
|
3355
3363
|
}
|
|
3356
|
-
},
|
|
3364
|
+
}, sa = /* @__PURE__ */ P({
|
|
3357
3365
|
name: "XDialogForm",
|
|
3358
3366
|
__name: "DialogForm",
|
|
3359
|
-
props:
|
|
3367
|
+
props: aa,
|
|
3360
3368
|
emits: ["update:modelValue", "submit", "close"],
|
|
3361
3369
|
setup(a, { expose: o, emit: e }) {
|
|
3362
3370
|
const t = a, l = e, s = D(), c = D(), i = y(() => c.value?.$vtjEl), r = () => {
|
|
@@ -3430,7 +3438,7 @@ const ta = {
|
|
|
3430
3438
|
} : void 0
|
|
3431
3439
|
]), 1040, ["model-value", "submit", "cancel", "size"]));
|
|
3432
3440
|
}
|
|
3433
|
-
}),
|
|
3441
|
+
}), la = {
|
|
3434
3442
|
items: {
|
|
3435
3443
|
type: Array,
|
|
3436
3444
|
default() {
|
|
@@ -3440,10 +3448,10 @@ const ta = {
|
|
|
3440
3448
|
border: {
|
|
3441
3449
|
type: Boolean
|
|
3442
3450
|
}
|
|
3443
|
-
},
|
|
3451
|
+
}, ia = /* @__PURE__ */ P({
|
|
3444
3452
|
name: "XTabs",
|
|
3445
3453
|
__name: "Tabs",
|
|
3446
|
-
props:
|
|
3454
|
+
props: la,
|
|
3447
3455
|
setup(a) {
|
|
3448
3456
|
const o = a, e = (l) => {
|
|
3449
3457
|
const { label: s, name: c, value: i, disabled: r, closable: p, lazy: f } = l;
|
|
@@ -3461,12 +3469,12 @@ const ta = {
|
|
|
3461
3469
|
class: ["x-tabs", t.value]
|
|
3462
3470
|
}, l.$attrs), {
|
|
3463
3471
|
default: d(() => [
|
|
3464
|
-
(u(!0), C(
|
|
3472
|
+
(u(!0), C(Q, null, Y(o.items, (c) => (u(), g(n(Le), F({
|
|
3465
3473
|
key: c.value ?? c.name
|
|
3466
3474
|
}, e(c)), {
|
|
3467
3475
|
label: d(() => [
|
|
3468
3476
|
x(l.$slots, "label", le(be(c)), () => [
|
|
3469
|
-
c.icon ? (u(), g(
|
|
3477
|
+
c.icon ? (u(), g(J(n(_e)(c.icon)), {
|
|
3470
3478
|
key: 0,
|
|
3471
3479
|
class: "x-tabs__icon"
|
|
3472
3480
|
})) : v("", !0),
|
|
@@ -3475,7 +3483,7 @@ const ta = {
|
|
|
3475
3483
|
]),
|
|
3476
3484
|
default: d(() => [
|
|
3477
3485
|
x(l.$slots, "default", le(be(c)), () => [
|
|
3478
|
-
c.component ? (u(), g(
|
|
3486
|
+
c.component ? (u(), g(J(c.component), le(F({ key: 0 }, c.props)), null, 16)) : v("", !0)
|
|
3479
3487
|
])
|
|
3480
3488
|
]),
|
|
3481
3489
|
_: 2
|
|
@@ -3484,7 +3492,7 @@ const ta = {
|
|
|
3484
3492
|
_: 3
|
|
3485
3493
|
}, 16, ["class"]));
|
|
3486
3494
|
}
|
|
3487
|
-
}),
|
|
3495
|
+
}), ra = {
|
|
3488
3496
|
direction: {
|
|
3489
3497
|
type: String,
|
|
3490
3498
|
default: "column"
|
|
@@ -3522,19 +3530,19 @@ const ta = {
|
|
|
3522
3530
|
onTitleClick: {
|
|
3523
3531
|
type: Function
|
|
3524
3532
|
}
|
|
3525
|
-
},
|
|
3533
|
+
}, ca = { class: "x-data-item__title" }, ua = {
|
|
3526
3534
|
key: 1,
|
|
3527
3535
|
class: "x-data-item__section x-data-item__desc"
|
|
3528
|
-
},
|
|
3536
|
+
}, da = {
|
|
3529
3537
|
key: 2,
|
|
3530
3538
|
class: "x-data-item__section x-data-item__extra"
|
|
3531
|
-
},
|
|
3539
|
+
}, pa = {
|
|
3532
3540
|
key: 3,
|
|
3533
3541
|
class: "x-data-item__section x-data-item__actions"
|
|
3534
|
-
},
|
|
3542
|
+
}, fa = /* @__PURE__ */ P({
|
|
3535
3543
|
name: "XDataItem",
|
|
3536
3544
|
__name: "DataItem",
|
|
3537
|
-
props:
|
|
3545
|
+
props: ra,
|
|
3538
3546
|
emits: ["imageClick", "titleClick", "actionClick", "actionCommand"],
|
|
3539
3547
|
setup(a, { emit: o }) {
|
|
3540
3548
|
const e = a, t = o, l = y(() => {
|
|
@@ -3555,7 +3563,7 @@ const ta = {
|
|
|
3555
3563
|
...e.actionBarProps
|
|
3556
3564
|
})), i = () => t("imageClick"), r = () => t("titleClick"), p = (m) => t("actionClick", m), f = (m, h) => t("actionCommand", m, h);
|
|
3557
3565
|
return (m, h) => (u(), g(n(E), {
|
|
3558
|
-
class:
|
|
3566
|
+
class: W(["x-data-item", s.value]),
|
|
3559
3567
|
direction: e.direction
|
|
3560
3568
|
}, {
|
|
3561
3569
|
default: d(() => [
|
|
@@ -3591,11 +3599,11 @@ const ta = {
|
|
|
3591
3599
|
onClick: e.onTitleClick ? r : void 0
|
|
3592
3600
|
}, {
|
|
3593
3601
|
default: d(() => [
|
|
3594
|
-
e.icon ? (u(), g(
|
|
3602
|
+
e.icon ? (u(), g(J(n(_e)(e.icon)), {
|
|
3595
3603
|
key: 0,
|
|
3596
3604
|
class: "x-data-item__icon"
|
|
3597
3605
|
})) : v("", !0),
|
|
3598
|
-
H("span",
|
|
3606
|
+
H("span", ca, [
|
|
3599
3607
|
x(m.$slots, "title", {}, () => [
|
|
3600
3608
|
R(O(e.title), 1)
|
|
3601
3609
|
])
|
|
@@ -3603,15 +3611,15 @@ const ta = {
|
|
|
3603
3611
|
]),
|
|
3604
3612
|
_: 3
|
|
3605
3613
|
}, 8, ["onClick"])) : v("", !0),
|
|
3606
|
-
e.description || m.$slots.description ? (u(), C("div",
|
|
3614
|
+
e.description || m.$slots.description ? (u(), C("div", ua, [
|
|
3607
3615
|
x(m.$slots, "description", {}, () => [
|
|
3608
3616
|
R(O(e.description), 1)
|
|
3609
3617
|
])
|
|
3610
3618
|
])) : v("", !0),
|
|
3611
|
-
m.$slots.default ? (u(), C("div",
|
|
3619
|
+
m.$slots.default ? (u(), C("div", da, [
|
|
3612
3620
|
x(m.$slots, "default")
|
|
3613
3621
|
])) : v("", !0),
|
|
3614
|
-
e.actions || e.actionBarProps || m.$slots.actions ? (u(), C("div",
|
|
3622
|
+
e.actions || e.actionBarProps || m.$slots.actions ? (u(), C("div", pa, [
|
|
3615
3623
|
x(m.$slots, "actions", {}, () => [
|
|
3616
3624
|
_(n(Oe), F(c.value, {
|
|
3617
3625
|
onClick: p,
|
|
@@ -3626,7 +3634,7 @@ const ta = {
|
|
|
3626
3634
|
_: 3
|
|
3627
3635
|
}, 8, ["direction", "class"]));
|
|
3628
3636
|
}
|
|
3629
|
-
}),
|
|
3637
|
+
}), ma = {
|
|
3630
3638
|
option: {
|
|
3631
3639
|
type: Object
|
|
3632
3640
|
},
|
|
@@ -3639,13 +3647,13 @@ const ta = {
|
|
|
3639
3647
|
default: "400px"
|
|
3640
3648
|
}
|
|
3641
3649
|
};
|
|
3642
|
-
function
|
|
3650
|
+
function ga() {
|
|
3643
3651
|
return import("echarts");
|
|
3644
3652
|
}
|
|
3645
|
-
function
|
|
3653
|
+
function ya(a, o) {
|
|
3646
3654
|
const e = D(), t = Ve();
|
|
3647
3655
|
return gt(async () => {
|
|
3648
|
-
t.value = await
|
|
3656
|
+
t.value = await ga();
|
|
3649
3657
|
const l = n(a);
|
|
3650
3658
|
l && (e.value || (e.value = ke(t.value.init(l))), e.value && e.value.setOption(o.option || {}));
|
|
3651
3659
|
}), yt(() => {
|
|
@@ -3666,12 +3674,12 @@ function va(a, o) {
|
|
|
3666
3674
|
echarts: t
|
|
3667
3675
|
};
|
|
3668
3676
|
}
|
|
3669
|
-
const
|
|
3677
|
+
const va = /* @__PURE__ */ P({
|
|
3670
3678
|
name: "XChart",
|
|
3671
3679
|
__name: "Chart",
|
|
3672
|
-
props:
|
|
3680
|
+
props: ma,
|
|
3673
3681
|
setup(a, { expose: o }) {
|
|
3674
|
-
const e = a, t = D(), { echartsInstance: l, echarts: s } =
|
|
3682
|
+
const e = a, t = D(), { echartsInstance: l, echarts: s } = ya(t, e), c = y(() => ({
|
|
3675
3683
|
width: q(e.width),
|
|
3676
3684
|
height: q(e.height)
|
|
3677
3685
|
}));
|
|
@@ -3685,7 +3693,7 @@ const ba = /* @__PURE__ */ P({
|
|
|
3685
3693
|
style: fe(c.value)
|
|
3686
3694
|
}, null, 4));
|
|
3687
3695
|
}
|
|
3688
|
-
}),
|
|
3696
|
+
}), ba = {
|
|
3689
3697
|
data: {
|
|
3690
3698
|
type: [Object, Function],
|
|
3691
3699
|
default() {
|
|
@@ -3723,25 +3731,25 @@ const ba = /* @__PURE__ */ P({
|
|
|
3723
3731
|
infiniteScroll: {
|
|
3724
3732
|
type: [Boolean, Object]
|
|
3725
3733
|
}
|
|
3726
|
-
},
|
|
3734
|
+
}, ha = {
|
|
3727
3735
|
key: 0,
|
|
3728
3736
|
class: "x-list__loading"
|
|
3729
|
-
},
|
|
3737
|
+
}, _a = {
|
|
3730
3738
|
key: 1,
|
|
3731
3739
|
class: "x-list__nomore"
|
|
3732
|
-
},
|
|
3740
|
+
}, ka = {
|
|
3733
3741
|
key: 0,
|
|
3734
3742
|
class: "x-list__loading"
|
|
3735
|
-
},
|
|
3743
|
+
}, wa = {
|
|
3736
3744
|
key: 1,
|
|
3737
3745
|
class: "x-list__nomore"
|
|
3738
|
-
},
|
|
3746
|
+
}, xa = {
|
|
3739
3747
|
key: 1,
|
|
3740
3748
|
class: "x-list__pager"
|
|
3741
|
-
},
|
|
3749
|
+
}, Sa = /* @__PURE__ */ P({
|
|
3742
3750
|
name: "XList",
|
|
3743
3751
|
__name: "List",
|
|
3744
|
-
props:
|
|
3752
|
+
props: ba,
|
|
3745
3753
|
emits: ["load"],
|
|
3746
3754
|
setup(a, { expose: o, emit: e }) {
|
|
3747
3755
|
const t = a, l = e, s = Re({
|
|
@@ -3790,7 +3798,7 @@ const ba = /* @__PURE__ */ P({
|
|
|
3790
3798
|
data: c,
|
|
3791
3799
|
getKey: B
|
|
3792
3800
|
}), (T, j) => (u(), C("div", {
|
|
3793
|
-
class:
|
|
3801
|
+
class: W(["x-list", h.value]),
|
|
3794
3802
|
style: fe(m.value)
|
|
3795
3803
|
}, [
|
|
3796
3804
|
!n(c).total && !n(i) ? x(T.$slots, "empty", { key: 0 }, () => [
|
|
@@ -3803,17 +3811,17 @@ const ba = /* @__PURE__ */ P({
|
|
|
3803
3811
|
ref_key: "wrapperRef",
|
|
3804
3812
|
ref: f
|
|
3805
3813
|
}, { ...n(I), ...b.value }), [
|
|
3806
|
-
(u(!0), C(
|
|
3814
|
+
(u(!0), C(Q, null, Y(n(M), (k, U) => x(T.$slots, "default", le(F({
|
|
3807
3815
|
key: B(k.data)
|
|
3808
3816
|
}, { item: k.data, index: U })), () => [
|
|
3809
3817
|
H("div", null, O(k), 1)
|
|
3810
3818
|
])), 128)),
|
|
3811
|
-
n(i) ? (u(), C("div",
|
|
3819
|
+
n(i) ? (u(), C("div", ha, [
|
|
3812
3820
|
x(T.$slots, "loading", {}, () => [
|
|
3813
3821
|
R(" 正在加载数据... ")
|
|
3814
3822
|
])
|
|
3815
3823
|
])) : v("", !0),
|
|
3816
|
-
p.value ? (u(), C("div",
|
|
3824
|
+
p.value ? (u(), C("div", _a, [
|
|
3817
3825
|
x(T.$slots, "nomore", {}, () => [
|
|
3818
3826
|
R(" 没有更多数据 ")
|
|
3819
3827
|
])
|
|
@@ -3824,17 +3832,17 @@ const ba = /* @__PURE__ */ P({
|
|
|
3824
3832
|
key: 1,
|
|
3825
3833
|
class: "x-list__wrapper"
|
|
3826
3834
|
}, b.value), [
|
|
3827
|
-
(u(!0), C(
|
|
3835
|
+
(u(!0), C(Q, null, Y(n(c).list, (k, U) => x(T.$slots, "default", le(F({
|
|
3828
3836
|
key: B(k)
|
|
3829
3837
|
}, { item: k, index: U })), () => [
|
|
3830
3838
|
H("div", null, O(k), 1)
|
|
3831
3839
|
])), 128)),
|
|
3832
|
-
n(i) ? (u(), C("div",
|
|
3840
|
+
n(i) ? (u(), C("div", ka, [
|
|
3833
3841
|
x(T.$slots, "loading", {}, () => [
|
|
3834
3842
|
R(" 正在加载数据... ")
|
|
3835
3843
|
])
|
|
3836
3844
|
])) : v("", !0),
|
|
3837
|
-
p.value ? (u(), C("div",
|
|
3845
|
+
p.value ? (u(), C("div", wa, [
|
|
3838
3846
|
x(T.$slots, "nomore", {}, () => [
|
|
3839
3847
|
R(" 没有更多数据 ")
|
|
3840
3848
|
])
|
|
@@ -3843,7 +3851,7 @@ const ba = /* @__PURE__ */ P({
|
|
|
3843
3851
|
[n(st), S]
|
|
3844
3852
|
])
|
|
3845
3853
|
], 16),
|
|
3846
|
-
t.pager ? (u(), C("div",
|
|
3854
|
+
t.pager ? (u(), C("div", xa, [
|
|
3847
3855
|
_(n(ho), F({
|
|
3848
3856
|
small: "",
|
|
3849
3857
|
background: "",
|
|
@@ -3859,7 +3867,7 @@ const ba = /* @__PURE__ */ P({
|
|
|
3859
3867
|
])) : v("", !0)
|
|
3860
3868
|
], 6));
|
|
3861
3869
|
}
|
|
3862
|
-
}),
|
|
3870
|
+
}), za = {
|
|
3863
3871
|
stringProp: {
|
|
3864
3872
|
type: String
|
|
3865
3873
|
},
|
|
@@ -3890,10 +3898,10 @@ const ba = /* @__PURE__ */ P({
|
|
|
3890
3898
|
syncProp: {
|
|
3891
3899
|
type: String
|
|
3892
3900
|
}
|
|
3893
|
-
},
|
|
3901
|
+
}, Ca = { class: "x-test__slot" }, Ta = { class: "x-test__slot" }, $a = /* @__PURE__ */ P({
|
|
3894
3902
|
name: "XTest",
|
|
3895
3903
|
__name: "Test",
|
|
3896
|
-
props:
|
|
3904
|
+
props: za,
|
|
3897
3905
|
emits: ["click", "submit", "change", "update:modelValue", "update:syncProp"],
|
|
3898
3906
|
setup(a, { expose: o, emit: e }) {
|
|
3899
3907
|
const t = a, l = e, s = y(() => Object.entries(t)), c = y({
|
|
@@ -3957,7 +3965,7 @@ const ba = /* @__PURE__ */ P({
|
|
|
3957
3965
|
border: ""
|
|
3958
3966
|
}, {
|
|
3959
3967
|
default: d(() => [
|
|
3960
|
-
(u(!0), C(
|
|
3968
|
+
(u(!0), C(Q, null, Y(s.value, ([M, z]) => (u(), g(n(Xe), { label: M }, {
|
|
3961
3969
|
default: d(() => [
|
|
3962
3970
|
H("pre", null, O(JSON.stringify(z, null, 2)), 1)
|
|
3963
3971
|
]),
|
|
@@ -3984,7 +3992,7 @@ const ba = /* @__PURE__ */ P({
|
|
|
3984
3992
|
card: ""
|
|
3985
3993
|
}, {
|
|
3986
3994
|
default: d(() => [
|
|
3987
|
-
H("div",
|
|
3995
|
+
H("div", Ca, [
|
|
3988
3996
|
x(b.$slots, "default", {
|
|
3989
3997
|
props: t,
|
|
3990
3998
|
data: r.value
|
|
@@ -4001,7 +4009,7 @@ const ba = /* @__PURE__ */ P({
|
|
|
4001
4009
|
card: ""
|
|
4002
4010
|
}, {
|
|
4003
4011
|
default: d(() => [
|
|
4004
|
-
H("div",
|
|
4012
|
+
H("div", Ta, [
|
|
4005
4013
|
x(b.$slots, "extra", {
|
|
4006
4014
|
props: t,
|
|
4007
4015
|
data: r.value
|
|
@@ -4085,7 +4093,7 @@ const ba = /* @__PURE__ */ P({
|
|
|
4085
4093
|
_: 3
|
|
4086
4094
|
}));
|
|
4087
4095
|
}
|
|
4088
|
-
}),
|
|
4096
|
+
}), Oa = [
|
|
4089
4097
|
re,
|
|
4090
4098
|
de,
|
|
4091
4099
|
te,
|
|
@@ -4097,12 +4105,12 @@ const ba = /* @__PURE__ */ P({
|
|
|
4097
4105
|
Jn,
|
|
4098
4106
|
Ot,
|
|
4099
4107
|
Nt,
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4108
|
+
sa,
|
|
4109
|
+
ia,
|
|
4110
|
+
fa,
|
|
4111
|
+
va,
|
|
4112
|
+
Sa,
|
|
4113
|
+
$a
|
|
4106
4114
|
];
|
|
4107
4115
|
export {
|
|
4108
4116
|
dt as Draggable,
|
|
@@ -4111,50 +4119,50 @@ export {
|
|
|
4111
4119
|
pt as Resizable,
|
|
4112
4120
|
Vt as TAB_CREATORS_KEY,
|
|
4113
4121
|
Bn as TAB_ITEM_WIDTH,
|
|
4114
|
-
|
|
4122
|
+
Aa as VTJ_UI_VERSION,
|
|
4115
4123
|
te as XAction,
|
|
4116
4124
|
Oe as XActionBar,
|
|
4117
|
-
|
|
4125
|
+
va as XChart,
|
|
4118
4126
|
E as XContainer,
|
|
4119
|
-
|
|
4127
|
+
fa as XDataItem,
|
|
4120
4128
|
tt as XDialog,
|
|
4121
|
-
|
|
4129
|
+
sa as XDialogForm,
|
|
4122
4130
|
Ot as XField,
|
|
4123
4131
|
Nt as XForm,
|
|
4124
4132
|
Bt as XHeader,
|
|
4125
4133
|
re as XIcon,
|
|
4126
|
-
|
|
4134
|
+
Sa as XList,
|
|
4127
4135
|
Jn as XMask,
|
|
4128
4136
|
de as XMenu,
|
|
4129
4137
|
Se as XPanel,
|
|
4130
|
-
|
|
4131
|
-
|
|
4138
|
+
ia as XTabs,
|
|
4139
|
+
$a as XTest,
|
|
4132
4140
|
un as actionBarProps,
|
|
4133
4141
|
It as actionProps,
|
|
4134
4142
|
Rt as builtinFieldEditors,
|
|
4135
|
-
|
|
4136
|
-
|
|
4143
|
+
ma as chartProps,
|
|
4144
|
+
Oa as components,
|
|
4137
4145
|
dn as containerProps,
|
|
4138
4146
|
ot as createDialog,
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4147
|
+
ra as dataItemProps,
|
|
4148
|
+
Ra as defineTab,
|
|
4149
|
+
aa as dialogFormProps,
|
|
4142
4150
|
yn as dialogProps,
|
|
4143
4151
|
Yn as fieldProps,
|
|
4144
4152
|
Ft as formInstanceKey,
|
|
4145
4153
|
jt as formModelKey,
|
|
4146
|
-
|
|
4154
|
+
na as formProps,
|
|
4147
4155
|
q as getSizeValue,
|
|
4148
4156
|
pn as headerProps,
|
|
4149
4157
|
Qo as iconProps,
|
|
4150
4158
|
Jo as iconSizeMap,
|
|
4151
|
-
|
|
4152
|
-
|
|
4159
|
+
ba as listProps,
|
|
4160
|
+
Da as makeInstaller,
|
|
4153
4161
|
Pn as maskProps,
|
|
4154
4162
|
mn as panelProps,
|
|
4155
4163
|
Me as parseSize,
|
|
4156
|
-
|
|
4157
|
-
|
|
4164
|
+
la as tabsProps,
|
|
4165
|
+
za as testProps,
|
|
4158
4166
|
rt as toObjectProps,
|
|
4159
4167
|
et as useDisabled,
|
|
4160
4168
|
_e as useIcon,
|