x-runtime-lib 0.9.51 → 0.9.53
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/{i18n-en.dr8fhftl.js → i18n-en.n2njk5co.js} +2 -1
- package/dist/{i18n-zhHans.nrj38btn.js → i18n-zhHans.cd4r40v6.js} +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +540 -436
- package/dist/{rolldown-runtime.jd1hion4.js → rolldown-runtime.i63kqlhj.js} +1 -1
- package/dist/{vendor.gtr2b2v9.js → vendor.g3f2gmug.js} +13914 -13128
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as e,
|
|
2
|
-
import { createAxios as
|
|
1
|
+
import { C as e, S as t, _ as n, a as r, b as i, c as a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y, v as b, w as x, x as S, y as ee } from "./vendor.g3f2gmug.js";
|
|
2
|
+
import { createAxios as te, eventBus as ne, getTypeDefault as re, globalObjects as C, messageError as ie, messageInfo as ae, messageSuccess as oe, messageWarning as se, openConfirmDlg as ce, openPromptDlg as le, useViewStack as ue, waitUtil as de } from "x-essential-lib";
|
|
3
3
|
import { Fragment as fe, computed as w, createBlock as T, createCommentVNode as pe, createElementBlock as E, createElementVNode as me, createSlots as D, createTextVNode as he, createVNode as O, defineComponent as k, h as A, inject as j, isRef as M, mergeModels as ge, mergeProps as _e, nextTick as ve, normalizeClass as ye, normalizeStyle as be, onBeforeMount as xe, onMounted as Se, onUnmounted as Ce, openBlock as N, provide as we, reactive as Te, readonly as Ee, ref as P, renderList as De, renderSlot as F, resolveComponent as I, resolveDirective as Oe, shallowRef as ke, toDisplayString as Ae, unref as L, useAttrs as je, useId as Me, useModel as Ne, useTemplateRef as Pe, watch as Fe, watchEffect as Ie, withCtx as R, withDirectives as Le, withModifiers as Re } from "vue";
|
|
4
4
|
import { CameraHelper as ze, DirectionalLightHelper as Be, PointLightHelper as Ve, SpotLightHelper as He } from "three";
|
|
5
5
|
import { useTheme as Ue } from "vuetify";
|
|
@@ -21,13 +21,13 @@ function Xe(e, t) {
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/meta/base.ts
|
|
23
23
|
var Ze = ["ui", "3d"], Qe = ["ui", "3d"];
|
|
24
|
-
function $e(e,
|
|
24
|
+
function $e(e, t) {
|
|
25
25
|
if (e === "page") {
|
|
26
|
-
if (!Ze.includes(
|
|
26
|
+
if (!Ze.includes(t)) throw Error("invalid page type");
|
|
27
27
|
} else if (e === "comp") {
|
|
28
|
-
if (!Qe.includes(
|
|
28
|
+
if (!Qe.includes(t)) throw Error("invalid comp type");
|
|
29
29
|
} else throw Error("invalid type");
|
|
30
|
-
return `${e}${t
|
|
30
|
+
return `${e}${x(t)}`;
|
|
31
31
|
}
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/meta/items.ts
|
|
@@ -51,13 +51,15 @@ var rt = [
|
|
|
51
51
|
"borderWidthV1",
|
|
52
52
|
"colorV1",
|
|
53
53
|
"elevationV1",
|
|
54
|
+
"heightV1",
|
|
54
55
|
"leftRightV1",
|
|
55
56
|
"marginV1",
|
|
56
57
|
"paddingV1",
|
|
57
58
|
"progressChunkWayV1",
|
|
58
59
|
"sizeV1",
|
|
59
60
|
"tableColumnAlignV1",
|
|
60
|
-
"topBottomV1"
|
|
61
|
+
"topBottomV1",
|
|
62
|
+
"widthV1"
|
|
61
63
|
], at = {};
|
|
62
64
|
function ot(e, t) {
|
|
63
65
|
at[e] = t;
|
|
@@ -113,17 +115,17 @@ function _t(e, t) {
|
|
|
113
115
|
for (let r of pt) gt(r) > gt(e) || !n && t[r] && (n = t[r]);
|
|
114
116
|
return n;
|
|
115
117
|
}
|
|
116
|
-
function vt(
|
|
117
|
-
let
|
|
118
|
-
key:
|
|
119
|
-
name:
|
|
118
|
+
function vt(t) {
|
|
119
|
+
let n = {
|
|
120
|
+
key: t.key,
|
|
121
|
+
name: t.name,
|
|
120
122
|
children: []
|
|
121
123
|
};
|
|
122
124
|
for (let r of ft) {
|
|
123
|
-
let i =
|
|
124
|
-
i.key = r, i.name = mt(r),
|
|
125
|
+
let i = e(t);
|
|
126
|
+
i.key = r, i.name = mt(r), n.children.push(i);
|
|
125
127
|
}
|
|
126
|
-
return
|
|
128
|
+
return n;
|
|
127
129
|
}
|
|
128
130
|
//#endregion
|
|
129
131
|
//#region src/utils/misc.ts
|
|
@@ -272,10 +274,10 @@ function Rt(e, t) {
|
|
|
272
274
|
//#endregion
|
|
273
275
|
//#region src/utils/name.ts
|
|
274
276
|
function H(...e) {
|
|
275
|
-
return e.map((e) =>
|
|
277
|
+
return e.map((e) => C.i18n.global.t(`x-runtime-lib.${e}`)).join(" - ");
|
|
276
278
|
}
|
|
277
279
|
function zt(e, t, n) {
|
|
278
|
-
let { i18n: r } =
|
|
280
|
+
let { i18n: r } = C, i = "";
|
|
279
281
|
return e && (i += e + " / "), t.forEach((e, t) => {
|
|
280
282
|
t > 0 && (i += " - "), n ? i += r.global.t(e) : i += e;
|
|
281
283
|
}), i;
|
|
@@ -408,13 +410,13 @@ function Ht(e, t) {
|
|
|
408
410
|
}
|
|
409
411
|
//#endregion
|
|
410
412
|
//#region src/utils/property.ts
|
|
411
|
-
function Ut(
|
|
412
|
-
if (!
|
|
413
|
-
return
|
|
413
|
+
function Ut(t) {
|
|
414
|
+
if (!t.array) throw Error("property not array");
|
|
415
|
+
return e(t.defaultArray);
|
|
414
416
|
}
|
|
415
|
-
function Wt(
|
|
416
|
-
if (!
|
|
417
|
-
return
|
|
417
|
+
function Wt(t) {
|
|
418
|
+
if (!t.ui) throw Error("property no ui");
|
|
419
|
+
return e(t.default);
|
|
418
420
|
}
|
|
419
421
|
function Gt(e, t) {
|
|
420
422
|
function n(e, t) {
|
|
@@ -499,16 +501,16 @@ function nn(e, t) {
|
|
|
499
501
|
nodes: { [e.basic.id]: e }
|
|
500
502
|
};
|
|
501
503
|
}
|
|
502
|
-
function rn(
|
|
503
|
-
let
|
|
504
|
-
let
|
|
505
|
-
|
|
506
|
-
}, i =
|
|
504
|
+
function rn(t) {
|
|
505
|
+
let n = {}, r = (e) => {
|
|
506
|
+
let t = bt(16);
|
|
507
|
+
n[e.id] = t, e.id = t, e.children?.map((e) => r(e));
|
|
508
|
+
}, i = e(t.nodeLite);
|
|
507
509
|
r(i);
|
|
508
510
|
let a = {};
|
|
509
|
-
return Object.values(
|
|
510
|
-
let r =
|
|
511
|
-
r.basic.id =
|
|
511
|
+
return Object.values(t.nodes).forEach((t) => {
|
|
512
|
+
let r = e(t);
|
|
513
|
+
r.basic.id = n[r.basic.id], a[r.basic.id] = r;
|
|
512
514
|
}), {
|
|
513
515
|
nodeLite: i,
|
|
514
516
|
nodes: a
|
|
@@ -556,7 +558,7 @@ function U(e, t) {
|
|
|
556
558
|
};
|
|
557
559
|
}
|
|
558
560
|
//#endregion
|
|
559
|
-
//#region \0@oxc-project+runtime@0.
|
|
561
|
+
//#region \0@oxc-project+runtime@0.132.0/helpers/usingCtx.js
|
|
560
562
|
function sn() {
|
|
561
563
|
var e = typeof SuppressedError == "function" ? SuppressedError : function(e, t) {
|
|
562
564
|
var n = Error();
|
|
@@ -671,7 +673,7 @@ async function un(e, t) {
|
|
|
671
673
|
async function dn(e, t) {
|
|
672
674
|
let { watchEffect: n } = t;
|
|
673
675
|
for (let t of n.ids) {
|
|
674
|
-
let n =
|
|
676
|
+
let n = b(t);
|
|
675
677
|
await e.callFunctionAsync(`__watchEffect$${n}__`);
|
|
676
678
|
}
|
|
677
679
|
}
|
|
@@ -694,7 +696,7 @@ async function pn(e, t, n) {
|
|
|
694
696
|
async function mn(e, t, n) {
|
|
695
697
|
let { watchEffect: r } = t;
|
|
696
698
|
if (r.triggers[n]) for (let t of r.triggers[n]) {
|
|
697
|
-
let n =
|
|
699
|
+
let n = b(t);
|
|
698
700
|
await e.callFunctionAsync(`__watchEffect$${n}__`);
|
|
699
701
|
}
|
|
700
702
|
}
|
|
@@ -1531,18 +1533,18 @@ var vn = [
|
|
|
1531
1533
|
}
|
|
1532
1534
|
];
|
|
1533
1535
|
function yn() {
|
|
1534
|
-
let
|
|
1536
|
+
let t = {
|
|
1535
1537
|
key: "",
|
|
1536
1538
|
name: "",
|
|
1537
1539
|
ui: "multiTypes",
|
|
1538
1540
|
types: "borderRadiusV1",
|
|
1539
1541
|
default: null
|
|
1540
|
-
},
|
|
1542
|
+
}, n = [];
|
|
1541
1543
|
for (let { key: r, name: i } of vn) {
|
|
1542
|
-
let a =
|
|
1543
|
-
a.key = r, a.name = i,
|
|
1544
|
+
let a = e(t);
|
|
1545
|
+
a.key = r, a.name = i, n.push(a);
|
|
1544
1546
|
}
|
|
1545
|
-
return
|
|
1547
|
+
return n;
|
|
1546
1548
|
}
|
|
1547
1549
|
var bn = {
|
|
1548
1550
|
key: "border",
|
|
@@ -1715,42 +1717,42 @@ var bn = {
|
|
|
1715
1717
|
key: "width",
|
|
1716
1718
|
name: "x-runtime-lib.width",
|
|
1717
1719
|
ui: "multiTypes",
|
|
1718
|
-
types: "
|
|
1720
|
+
types: "widthV1",
|
|
1719
1721
|
default: null
|
|
1720
1722
|
},
|
|
1721
1723
|
{
|
|
1722
1724
|
key: "minWidth",
|
|
1723
1725
|
name: "x-runtime-lib.minWidth",
|
|
1724
1726
|
ui: "multiTypes",
|
|
1725
|
-
types: "
|
|
1727
|
+
types: "widthV1",
|
|
1726
1728
|
default: null
|
|
1727
1729
|
},
|
|
1728
1730
|
{
|
|
1729
1731
|
key: "maxWidth",
|
|
1730
1732
|
name: "x-runtime-lib.maxWidth",
|
|
1731
1733
|
ui: "multiTypes",
|
|
1732
|
-
types: "
|
|
1734
|
+
types: "widthV1",
|
|
1733
1735
|
default: null
|
|
1734
1736
|
},
|
|
1735
1737
|
{
|
|
1736
1738
|
key: "height",
|
|
1737
1739
|
name: "x-runtime-lib.height",
|
|
1738
1740
|
ui: "multiTypes",
|
|
1739
|
-
types: "
|
|
1741
|
+
types: "heightV1",
|
|
1740
1742
|
default: null
|
|
1741
1743
|
},
|
|
1742
1744
|
{
|
|
1743
1745
|
key: "minHeight",
|
|
1744
1746
|
name: "x-runtime-lib.minHeight",
|
|
1745
1747
|
ui: "multiTypes",
|
|
1746
|
-
types: "
|
|
1748
|
+
types: "heightV1",
|
|
1747
1749
|
default: null
|
|
1748
1750
|
},
|
|
1749
1751
|
{
|
|
1750
1752
|
key: "maxHeight",
|
|
1751
1753
|
name: "x-runtime-lib.maxHeight",
|
|
1752
1754
|
ui: "multiTypes",
|
|
1753
|
-
types: "
|
|
1755
|
+
types: "heightV1",
|
|
1754
1756
|
default: null
|
|
1755
1757
|
}
|
|
1756
1758
|
]
|
|
@@ -1871,21 +1873,21 @@ var bn = {
|
|
|
1871
1873
|
key: "width",
|
|
1872
1874
|
name: "x-runtime-lib.width",
|
|
1873
1875
|
ui: "multiTypes",
|
|
1874
|
-
types: "
|
|
1876
|
+
types: "widthV1",
|
|
1875
1877
|
default: null
|
|
1876
1878
|
},
|
|
1877
1879
|
{
|
|
1878
1880
|
key: "minWidth",
|
|
1879
1881
|
name: "x-runtime-lib.minWidth",
|
|
1880
1882
|
ui: "multiTypes",
|
|
1881
|
-
types: "
|
|
1883
|
+
types: "widthV1",
|
|
1882
1884
|
default: null
|
|
1883
1885
|
},
|
|
1884
1886
|
{
|
|
1885
1887
|
key: "maxWidth",
|
|
1886
1888
|
name: "x-runtime-lib.maxWidth",
|
|
1887
1889
|
ui: "multiTypes",
|
|
1888
|
-
types: "
|
|
1890
|
+
types: "widthV1",
|
|
1889
1891
|
default: null
|
|
1890
1892
|
}
|
|
1891
1893
|
]
|
|
@@ -1957,7 +1959,7 @@ var bn = {
|
|
|
1957
1959
|
]
|
|
1958
1960
|
};
|
|
1959
1961
|
//#endregion
|
|
1960
|
-
//#region src/element/_common/types/
|
|
1962
|
+
//#region src/element/_common/types/width/v1/index.ts
|
|
1961
1963
|
ot("borderRadiusV1", [
|
|
1962
1964
|
{
|
|
1963
1965
|
value: "notSet",
|
|
@@ -2118,7 +2120,51 @@ ot("borderRadiusV1", [
|
|
|
2118
2120
|
max: 5,
|
|
2119
2121
|
step: 1,
|
|
2120
2122
|
default: 0
|
|
2121
|
-
}]), ot("
|
|
2123
|
+
}]), ot("heightV1", [
|
|
2124
|
+
{
|
|
2125
|
+
value: "notSet",
|
|
2126
|
+
title: "x-runtime-lib.notSet",
|
|
2127
|
+
validator: xt,
|
|
2128
|
+
trait: "null",
|
|
2129
|
+
default: null
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
value: "pixel",
|
|
2133
|
+
title: "x-runtime-lib.pixel",
|
|
2134
|
+
validator: (e) => Ct(e, "px"),
|
|
2135
|
+
trait: "numberUnit",
|
|
2136
|
+
unit: "px",
|
|
2137
|
+
precision: 0,
|
|
2138
|
+
min: 0,
|
|
2139
|
+
max: Infinity,
|
|
2140
|
+
step: 1,
|
|
2141
|
+
default: "0px"
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
value: "percent",
|
|
2145
|
+
title: "x-runtime-lib.percent",
|
|
2146
|
+
validator: (e) => Ct(e, "%"),
|
|
2147
|
+
trait: "numberUnit",
|
|
2148
|
+
unit: "%",
|
|
2149
|
+
precision: 6,
|
|
2150
|
+
min: 0,
|
|
2151
|
+
max: Infinity,
|
|
2152
|
+
step: 1,
|
|
2153
|
+
default: "0%"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
value: "viewportPercent",
|
|
2157
|
+
title: "x-runtime-lib.viewportPercent",
|
|
2158
|
+
validator: (e) => Ct(e, "vh"),
|
|
2159
|
+
trait: "numberUnit",
|
|
2160
|
+
unit: "vh",
|
|
2161
|
+
precision: 6,
|
|
2162
|
+
min: 0,
|
|
2163
|
+
max: Infinity,
|
|
2164
|
+
step: 1,
|
|
2165
|
+
default: "0vh"
|
|
2166
|
+
}
|
|
2167
|
+
]), ot("leftRightV1", [
|
|
2122
2168
|
{
|
|
2123
2169
|
value: "notSet",
|
|
2124
2170
|
title: "x-runtime-lib.notSet",
|
|
@@ -2326,6 +2372,57 @@ ot("borderRadiusV1", [
|
|
|
2326
2372
|
trait: "word",
|
|
2327
2373
|
default: "bottom"
|
|
2328
2374
|
}
|
|
2375
|
+
]), ot("widthV1", [
|
|
2376
|
+
{
|
|
2377
|
+
value: "notSet",
|
|
2378
|
+
title: "x-runtime-lib.notSet",
|
|
2379
|
+
validator: xt,
|
|
2380
|
+
trait: "null",
|
|
2381
|
+
default: null
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2384
|
+
value: "pixel",
|
|
2385
|
+
title: "x-runtime-lib.pixel",
|
|
2386
|
+
validator: (e) => Ct(e, "px"),
|
|
2387
|
+
trait: "numberUnit",
|
|
2388
|
+
unit: "px",
|
|
2389
|
+
precision: 0,
|
|
2390
|
+
min: 0,
|
|
2391
|
+
max: Infinity,
|
|
2392
|
+
step: 1,
|
|
2393
|
+
default: "0px"
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
value: "percent",
|
|
2397
|
+
title: "x-runtime-lib.percent",
|
|
2398
|
+
validator: (e) => Ct(e, "%"),
|
|
2399
|
+
trait: "numberUnit",
|
|
2400
|
+
unit: "%",
|
|
2401
|
+
precision: 6,
|
|
2402
|
+
min: 0,
|
|
2403
|
+
max: Infinity,
|
|
2404
|
+
step: 1,
|
|
2405
|
+
default: "0%"
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
value: "viewportPercent",
|
|
2409
|
+
title: "x-runtime-lib.viewportPercent",
|
|
2410
|
+
validator: (e) => Ct(e, "vw"),
|
|
2411
|
+
trait: "numberUnit",
|
|
2412
|
+
unit: "vw",
|
|
2413
|
+
precision: 6,
|
|
2414
|
+
min: 0,
|
|
2415
|
+
max: Infinity,
|
|
2416
|
+
step: 1,
|
|
2417
|
+
default: "0vw"
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
value: "spaced",
|
|
2421
|
+
title: "x-runtime-lib.spaced",
|
|
2422
|
+
validator: (e) => e === "spaced",
|
|
2423
|
+
trait: "word",
|
|
2424
|
+
default: "spaced"
|
|
2425
|
+
}
|
|
2329
2426
|
]);
|
|
2330
2427
|
//#endregion
|
|
2331
2428
|
//#region src/element/_pkgs/index.ts
|
|
@@ -2339,13 +2436,15 @@ var kn = { v1: {
|
|
|
2339
2436
|
"borderWidthV1",
|
|
2340
2437
|
"colorV1",
|
|
2341
2438
|
"elevationV1",
|
|
2439
|
+
"heightV1",
|
|
2342
2440
|
"leftRightV1",
|
|
2343
2441
|
"marginV1",
|
|
2344
2442
|
"paddingV1",
|
|
2345
2443
|
"progressChunkWayV1",
|
|
2346
2444
|
"sizeV1",
|
|
2347
2445
|
"tableColumnAlignV1",
|
|
2348
|
-
"topBottomV1"
|
|
2446
|
+
"topBottomV1",
|
|
2447
|
+
"widthV1"
|
|
2349
2448
|
]),
|
|
2350
2449
|
groups: {
|
|
2351
2450
|
pageUi: [
|
|
@@ -2783,7 +2882,7 @@ function Y(e, t, n) {
|
|
|
2783
2882
|
async set(a) {
|
|
2784
2883
|
n && typeof a == "object" && (a = JSON.stringify(a, null, 2));
|
|
2785
2884
|
let o = Ft(e.value, t);
|
|
2786
|
-
|
|
2885
|
+
S(a, o) || (It(e.value, t, a), z(r) && await i?.hooks.onPropertyChange(Wl("elementProperty", e.value.basic.id, Nt(t)), a, o));
|
|
2787
2886
|
}
|
|
2788
2887
|
}) };
|
|
2789
2888
|
}
|
|
@@ -2810,35 +2909,35 @@ function Rn(e) {
|
|
|
2810
2909
|
}
|
|
2811
2910
|
//#endregion
|
|
2812
2911
|
//#region src/composables/runtime/depend.ts
|
|
2813
|
-
function zn(
|
|
2912
|
+
function zn(t, n, r) {
|
|
2814
2913
|
let i = Al(), a = P(-1), o = P(-1);
|
|
2815
2914
|
Ie(() => {
|
|
2816
|
-
if (!
|
|
2817
|
-
a.value = -1,
|
|
2915
|
+
if (!t.value) {
|
|
2916
|
+
a.value = -1, n.value = void 0, o.value = -1, r.value = void 0;
|
|
2818
2917
|
return;
|
|
2819
2918
|
}
|
|
2820
|
-
let s = i.value[
|
|
2919
|
+
let s = i.value[t.value];
|
|
2821
2920
|
if (!s) {
|
|
2822
|
-
a.value = -1,
|
|
2921
|
+
a.value = -1, n.value = void 0, o.value = -1, r.value = void 0, ne.emit("compNotAvail", t.value);
|
|
2823
2922
|
return;
|
|
2824
2923
|
}
|
|
2825
|
-
a.value !== s.metaSeq && (a.value = s.metaSeq,
|
|
2924
|
+
a.value !== s.metaSeq && (a.value = s.metaSeq, n.value = e(s.meta)), o.value !== s.dataSeq && (o.value = s.dataSeq, r.value = e(s.data));
|
|
2826
2925
|
});
|
|
2827
2926
|
}
|
|
2828
2927
|
//#endregion
|
|
2829
2928
|
//#region src/composables/runtime/runtime.ts
|
|
2830
2929
|
async function Bn() {
|
|
2831
|
-
await
|
|
2930
|
+
await ee();
|
|
2832
2931
|
}
|
|
2833
2932
|
function Vn() {
|
|
2834
|
-
let
|
|
2933
|
+
let e;
|
|
2835
2934
|
xe(() => {
|
|
2836
|
-
|
|
2935
|
+
e = i().newRuntime({
|
|
2837
2936
|
memoryLimitBytes: 32 * 1024 * 1024,
|
|
2838
2937
|
maxStackSizeBytes: 1 * 1024 * 1024
|
|
2839
|
-
}), jl(
|
|
2938
|
+
}), jl(e), console.log("runtime created");
|
|
2840
2939
|
}), Ce(async () => {
|
|
2841
|
-
await ve(),
|
|
2940
|
+
await ve(), e && (e.dispose(), console.log("runtime dispose"));
|
|
2842
2941
|
});
|
|
2843
2942
|
}
|
|
2844
2943
|
//#endregion
|
|
@@ -2856,7 +2955,7 @@ function Un(e, t, n) {
|
|
|
2856
2955
|
},
|
|
2857
2956
|
set(r) {
|
|
2858
2957
|
let i = t.globality[n];
|
|
2859
|
-
|
|
2958
|
+
S(r, i) || (t.globality[n] = r, e.hooks.onPropertyChange(Wl("elementProperty", "globality", n), r, i));
|
|
2860
2959
|
}
|
|
2861
2960
|
}) };
|
|
2862
2961
|
}
|
|
@@ -2864,8 +2963,8 @@ function Wn(e, t, n, r, i, a, o, s, c) {
|
|
|
2864
2963
|
let l = dl(), u = pl(), d = $(), f = Sl(), p = gl(), m = vl(), h = Al(), g = Ml(), _ = new ll(e, t, n, r, i, l, u, d, f, {
|
|
2865
2964
|
onReady: y,
|
|
2866
2965
|
onDestroy: b,
|
|
2867
|
-
onPropertyChange:
|
|
2868
|
-
onStateChange:
|
|
2966
|
+
onPropertyChange: x,
|
|
2967
|
+
onStateChange: ee
|
|
2869
2968
|
});
|
|
2870
2969
|
Nl(_), Ce(() => {
|
|
2871
2970
|
_.dispose();
|
|
@@ -2882,29 +2981,29 @@ function Wn(e, t, n, r, i, a, o, s, c) {
|
|
|
2882
2981
|
async function b() {
|
|
2883
2982
|
_.callFunctionSync("__destroy__");
|
|
2884
2983
|
}
|
|
2885
|
-
async function
|
|
2984
|
+
async function x(e, t, n, r) {
|
|
2886
2985
|
if (!_.vm) return;
|
|
2887
2986
|
let { kind: i, nodeId: a, propertyKey: s } = Gl(e);
|
|
2888
2987
|
if (await _.triggerEvent(nu(`${i}ChangeEvent`, a, s), [t, n], r), o.value?.code.reactivity && pn(_, o.value.code.reactivity, uu("propertyTrigger", e)), i === "elementProperty") {
|
|
2889
|
-
if (
|
|
2988
|
+
if (S(s, "settings.value")) {
|
|
2890
2989
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2891
2990
|
e ? qt(e.key) && (e.inlineSlot = t) : console.assert(!1);
|
|
2892
2991
|
}
|
|
2893
|
-
if (
|
|
2992
|
+
if (S(s, "settings.open")) {
|
|
2894
2993
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2895
2994
|
e ? Kt(e.key) && (e.render = t) : console.assert(!1);
|
|
2896
2995
|
}
|
|
2897
|
-
if (
|
|
2996
|
+
if (S(s, "settings.slot")) {
|
|
2898
2997
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2899
2998
|
e ? e.slotId = t : console.assert(!1);
|
|
2900
2999
|
}
|
|
2901
|
-
if (
|
|
3000
|
+
if (S(s, "settings.comp")) {
|
|
2902
3001
|
let e = o.value?.view.nodeLites.find((e) => e.id === a);
|
|
2903
3002
|
e ? e.compId = t : console.assert(!1);
|
|
2904
3003
|
}
|
|
2905
3004
|
}
|
|
2906
3005
|
}
|
|
2907
|
-
async function
|
|
3006
|
+
async function ee(e, t, n) {
|
|
2908
3007
|
_.vm && (await _.triggerEvent(nu("stateChangeEvent", "globality", e), [t, n]), o.value?.code.reactivity && pn(_, o.value.code.reactivity, uu("stateTrigger", e)));
|
|
2909
3008
|
}
|
|
2910
3009
|
Fe(o, () => {
|
|
@@ -2913,13 +3012,13 @@ function Wn(e, t, n, r, i, a, o, s, c) {
|
|
|
2913
3012
|
"runtime.darkMode": m.value
|
|
2914
3013
|
});
|
|
2915
3014
|
}, { immediate: !0 });
|
|
2916
|
-
let { property:
|
|
3015
|
+
let { property: te } = Un(_, s, "runtime.breakpoint");
|
|
2917
3016
|
Fe(p, () => {
|
|
2918
|
-
_.vm && (
|
|
3017
|
+
_.vm && (te.value = ht(p.value.width));
|
|
2919
3018
|
});
|
|
2920
|
-
let { property:
|
|
3019
|
+
let { property: ne } = Un(_, s, "runtime.darkMode");
|
|
2921
3020
|
return Fe(m, async () => {
|
|
2922
|
-
_.vm && (
|
|
3021
|
+
_.vm && (ne.value = m.value);
|
|
2923
3022
|
}), { sandbox: _ };
|
|
2924
3023
|
}
|
|
2925
3024
|
//#endregion
|
|
@@ -2998,7 +3097,7 @@ function Yn(e, t, n, r) {
|
|
|
2998
3097
|
},
|
|
2999
3098
|
set(t) {
|
|
3000
3099
|
let r = s[e][n];
|
|
3001
|
-
|
|
3100
|
+
S(t, r) || (s[e][n] = t, z(i) && c?.hooks.onPropertyChange(Wl("elementProperty", e, n), t, r));
|
|
3002
3101
|
}
|
|
3003
3102
|
}) };
|
|
3004
3103
|
}
|
|
@@ -3083,7 +3182,7 @@ function $n(e, t, n) {
|
|
|
3083
3182
|
}
|
|
3084
3183
|
}
|
|
3085
3184
|
function i() {
|
|
3086
|
-
let { i18n: i } =
|
|
3185
|
+
let { i18n: i } = C;
|
|
3087
3186
|
if (Xe(e, t)) return A("div", null, i.global.t("x-runtime-lib.circularReference"));
|
|
3088
3187
|
if (!n.value) return;
|
|
3089
3188
|
let a = {};
|
|
@@ -3174,16 +3273,16 @@ function er(e) {
|
|
|
3174
3273
|
scale: f
|
|
3175
3274
|
};
|
|
3176
3275
|
}
|
|
3177
|
-
|
|
3276
|
+
a([
|
|
3178
3277
|
m,
|
|
3179
|
-
|
|
3278
|
+
u,
|
|
3180
3279
|
g,
|
|
3181
|
-
|
|
3182
|
-
_,
|
|
3280
|
+
r,
|
|
3183
3281
|
y,
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3282
|
+
_,
|
|
3283
|
+
o,
|
|
3284
|
+
v
|
|
3285
|
+
]), d("dark", {
|
|
3187
3286
|
color: [
|
|
3188
3287
|
"#dd6b66",
|
|
3189
3288
|
"#759aa0",
|
|
@@ -3464,7 +3563,7 @@ l([
|
|
|
3464
3563
|
label: { color: "#eee" },
|
|
3465
3564
|
emphasis: { label: { color: "#eee" } }
|
|
3466
3565
|
}
|
|
3467
|
-
}),
|
|
3566
|
+
}), d("light", {
|
|
3468
3567
|
color: [
|
|
3469
3568
|
"#dd6b66",
|
|
3470
3569
|
"#759aa0",
|
|
@@ -3746,7 +3845,7 @@ l([
|
|
|
3746
3845
|
emphasis: { label: { color: "#eee" } }
|
|
3747
3846
|
}
|
|
3748
3847
|
});
|
|
3749
|
-
var tr =
|
|
3848
|
+
var tr = p;
|
|
3750
3849
|
//#endregion
|
|
3751
3850
|
//#region src/composables/element/piece/chart/legend/v1/index.ts
|
|
3752
3851
|
function nr(e) {
|
|
@@ -3845,24 +3944,19 @@ function sr(e) {
|
|
|
3845
3944
|
//#endregion
|
|
3846
3945
|
//#region src/composables/element/piece/ui/height/v1/index.ts
|
|
3847
3946
|
function cr(e, t) {
|
|
3848
|
-
let n = $(), r = gl()
|
|
3849
|
-
|
|
3850
|
-
return n === "editor" && t && Dt(
|
|
3851
|
-
}
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
let i = e.value.size?.maxHeight;
|
|
3856
|
-
return n === "editor" && t && Dt(i) ? Ot(i) / 100 * r.value.height + "px" : i;
|
|
3857
|
-
});
|
|
3858
|
-
function s(e) {
|
|
3859
|
-
i.value && (e.height = i.value), a.value && (e.minHeight = a.value), o.value && (e.maxHeight = o.value);
|
|
3947
|
+
let n = $(), r = gl();
|
|
3948
|
+
function i(e) {
|
|
3949
|
+
if (typeof e == "string") return n === "editor" && t && Dt(e) ? Ot(e) / 100 * r.value.height + "px" : Ct(e, "vh") ? wt(e, "vh") / 100 * r.value.height + "px" : e;
|
|
3950
|
+
}
|
|
3951
|
+
let a = w(() => i(e.value.size?.height)), o = w(() => i(e.value.size?.minHeight)), s = w(() => i(e.value.size?.maxHeight));
|
|
3952
|
+
function c(e) {
|
|
3953
|
+
a.value && (e.height = a.value), o.value && (e.minHeight = o.value), s.value && (e.maxHeight = s.value);
|
|
3860
3954
|
}
|
|
3861
3955
|
return {
|
|
3862
|
-
height:
|
|
3863
|
-
minHeight:
|
|
3864
|
-
maxHeight:
|
|
3865
|
-
applyHeight:
|
|
3956
|
+
height: a,
|
|
3957
|
+
minHeight: o,
|
|
3958
|
+
maxHeight: s,
|
|
3959
|
+
applyHeight: c
|
|
3866
3960
|
};
|
|
3867
3961
|
}
|
|
3868
3962
|
//#endregion
|
|
@@ -3898,15 +3992,25 @@ function ur(e) {
|
|
|
3898
3992
|
//#endregion
|
|
3899
3993
|
//#region src/composables/element/piece/ui/width/v1/index.ts
|
|
3900
3994
|
function Q(e) {
|
|
3901
|
-
let t =
|
|
3902
|
-
function
|
|
3903
|
-
|
|
3995
|
+
let t = gl();
|
|
3996
|
+
function n(e) {
|
|
3997
|
+
if (typeof e == "string") {
|
|
3998
|
+
if (Ct(e, "vw")) return wt(e, "vw") / 100 * t.value.width + "px";
|
|
3999
|
+
if (e === "spaced") {
|
|
4000
|
+
let e = t.value.width;
|
|
4001
|
+
return e <= 1280 ? e + "px" : e <= 1920 ? "768px" : "1024px";
|
|
4002
|
+
} else return e;
|
|
4003
|
+
}
|
|
4004
|
+
}
|
|
4005
|
+
let r = w(() => n(e.value.size?.width)), i = w(() => n(e.value.size?.minWidth)), a = w(() => n(e.value.size?.maxWidth));
|
|
4006
|
+
function o(e) {
|
|
4007
|
+
r.value && (e.width = r.value), i.value && (e.minWidth = i.value), a.value && (e.maxWidth = a.value);
|
|
3904
4008
|
}
|
|
3905
4009
|
return {
|
|
3906
|
-
width:
|
|
3907
|
-
minWidth:
|
|
3908
|
-
maxWidth:
|
|
3909
|
-
applyWidth:
|
|
4010
|
+
width: r,
|
|
4011
|
+
minWidth: i,
|
|
4012
|
+
maxWidth: a,
|
|
4013
|
+
applyWidth: o
|
|
3910
4014
|
};
|
|
3911
4015
|
}
|
|
3912
4016
|
//#endregion
|
|
@@ -3929,20 +4033,20 @@ var dr = [
|
|
|
3929
4033
|
refContext: {}
|
|
3930
4034
|
},
|
|
3931
4035
|
setup(e) {
|
|
3932
|
-
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = Y(t, ["settings", "left"]), { property: s } = Y(t, ["settings", "right"]), { property:
|
|
4036
|
+
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = Y(t, ["settings", "left"]), { property: s } = Y(t, ["settings", "right"]), { property: l } = Y(t, ["settings", "top"]), { property: u } = Y(t, ["settings", "bottom"]), { property: d } = Y(t, ["settings", "near"]), { property: f } = Y(t, ["settings", "far"]);
|
|
3933
4037
|
return (e, t) => (N(), E("TresOrthographicCamera", {
|
|
3934
|
-
bottom: L(
|
|
3935
|
-
far: L(
|
|
4038
|
+
bottom: L(u),
|
|
4039
|
+
far: L(f),
|
|
3936
4040
|
left: L(o),
|
|
3937
|
-
near: L(
|
|
4041
|
+
near: L(d),
|
|
3938
4042
|
position: L(r),
|
|
3939
4043
|
right: L(s),
|
|
3940
4044
|
rotation: L(i),
|
|
3941
4045
|
scale: L(a),
|
|
3942
|
-
top: L(
|
|
4046
|
+
top: L(l)
|
|
3943
4047
|
}, [
|
|
3944
4048
|
O(L(jn)),
|
|
3945
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4049
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
3946
4050
|
key: 0,
|
|
3947
4051
|
type: L(ze)
|
|
3948
4052
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -3965,18 +4069,18 @@ var dr = [
|
|
|
3965
4069
|
refContext: {}
|
|
3966
4070
|
},
|
|
3967
4071
|
setup(e) {
|
|
3968
|
-
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = Y(t, ["settings", "fov"]), { property: s } = Y(t, ["settings", "aspect"]), { property:
|
|
4072
|
+
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = Y(t, ["settings", "fov"]), { property: s } = Y(t, ["settings", "aspect"]), { property: l } = Y(t, ["settings", "near"]), { property: u } = Y(t, ["settings", "far"]);
|
|
3969
4073
|
return (e, t) => (N(), E("TresPerspectiveCamera", {
|
|
3970
4074
|
aspect: L(s),
|
|
3971
|
-
far: L(
|
|
4075
|
+
far: L(u),
|
|
3972
4076
|
fov: L(o),
|
|
3973
|
-
near: L(
|
|
4077
|
+
near: L(l),
|
|
3974
4078
|
position: L(r),
|
|
3975
4079
|
rotation: L(i),
|
|
3976
4080
|
scale: L(a)
|
|
3977
4081
|
}, [
|
|
3978
4082
|
O(L(jn)),
|
|
3979
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4083
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
3980
4084
|
key: 0,
|
|
3981
4085
|
type: L(ze)
|
|
3982
4086
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -3987,19 +4091,19 @@ var dr = [
|
|
|
3987
4091
|
__name: "index",
|
|
3988
4092
|
setup(e) {
|
|
3989
4093
|
let t = $();
|
|
3990
|
-
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(
|
|
4094
|
+
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(h), { key: 0 }));
|
|
3991
4095
|
}
|
|
3992
4096
|
}), gr = /* @__PURE__ */ k({
|
|
3993
4097
|
__name: "index",
|
|
3994
4098
|
setup(e) {
|
|
3995
4099
|
let t = $();
|
|
3996
|
-
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(
|
|
4100
|
+
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(f), { key: 0 }));
|
|
3997
4101
|
}
|
|
3998
4102
|
}), _r = /* @__PURE__ */ k({
|
|
3999
4103
|
__name: "index",
|
|
4000
4104
|
setup(e) {
|
|
4001
4105
|
let t = $();
|
|
4002
|
-
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(
|
|
4106
|
+
return (e, n) => L(t) === "editor" ? pe("", !0) : (N(), T(L(l), { key: 0 }));
|
|
4003
4107
|
}
|
|
4004
4108
|
}), vr = ["args"], yr = /* @__PURE__ */ k({
|
|
4005
4109
|
__name: "index",
|
|
@@ -4088,7 +4192,7 @@ var dr = [
|
|
|
4088
4192
|
scale: L(a)
|
|
4089
4193
|
}, [
|
|
4090
4194
|
O(L(jn)),
|
|
4091
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4195
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4092
4196
|
key: 0,
|
|
4093
4197
|
type: L(Be)
|
|
4094
4198
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4111,18 +4215,18 @@ var dr = [
|
|
|
4111
4215
|
refContext: {}
|
|
4112
4216
|
},
|
|
4113
4217
|
setup(e) {
|
|
4114
|
-
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = X(t, ["settings", "color"]), { property: s } = Y(t, ["settings", "intensity"]), { property:
|
|
4218
|
+
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = X(t, ["settings", "color"]), { property: s } = Y(t, ["settings", "intensity"]), { property: l } = Y(t, ["settings", "distance"]), { property: u } = Y(t, ["settings", "decay"]);
|
|
4115
4219
|
return (e, t) => (N(), E("TresPointLight", {
|
|
4116
4220
|
color: L(o),
|
|
4117
|
-
decay: L(
|
|
4118
|
-
distance: L(
|
|
4221
|
+
decay: L(u),
|
|
4222
|
+
distance: L(l),
|
|
4119
4223
|
intensity: L(s),
|
|
4120
4224
|
position: L(r),
|
|
4121
4225
|
rotation: L(i),
|
|
4122
4226
|
scale: L(a)
|
|
4123
4227
|
}, [
|
|
4124
4228
|
O(L(jn)),
|
|
4125
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4229
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4126
4230
|
key: 0,
|
|
4127
4231
|
type: L(Ve)
|
|
4128
4232
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4147,14 +4251,14 @@ var dr = [
|
|
|
4147
4251
|
refContext: {}
|
|
4148
4252
|
},
|
|
4149
4253
|
setup(e) {
|
|
4150
|
-
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = X(t, ["settings", "color"]), { property: s } = Y(t, ["settings", "intensity"]), { property:
|
|
4254
|
+
let { node: t } = J(e.nodeId), n = $(), { position: r, rotation: i, scale: a } = er(t), { property: o } = X(t, ["settings", "color"]), { property: s } = Y(t, ["settings", "intensity"]), { property: l } = Y(t, ["settings", "distance"]), { property: u } = Y(t, ["settings", "angle"]), { property: d } = Y(t, ["settings", "penumbra"]), { property: f } = Y(t, ["settings", "decay"]);
|
|
4151
4255
|
return (e, t) => (N(), E("TresSpotLight", {
|
|
4152
|
-
angle: L(
|
|
4256
|
+
angle: L(u),
|
|
4153
4257
|
color: L(o),
|
|
4154
|
-
decay: L(
|
|
4155
|
-
distance: L(
|
|
4258
|
+
decay: L(f),
|
|
4259
|
+
distance: L(l),
|
|
4156
4260
|
intensity: L(s),
|
|
4157
|
-
penumbra: L(
|
|
4261
|
+
penumbra: L(d),
|
|
4158
4262
|
position: L(n) === "editor" ? [
|
|
4159
4263
|
0,
|
|
4160
4264
|
0,
|
|
@@ -4172,7 +4276,7 @@ var dr = [
|
|
|
4172
4276
|
] : L(a)
|
|
4173
4277
|
}, [
|
|
4174
4278
|
O(L(jn)),
|
|
4175
|
-
L(n) === "editor" ? (N(), T(L(
|
|
4279
|
+
L(n) === "editor" ? (N(), T(L(c), {
|
|
4176
4280
|
key: 0,
|
|
4177
4281
|
type: L(He)
|
|
4178
4282
|
}, null, 8, ["type"])) : pe("", !0),
|
|
@@ -4328,7 +4432,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4328
4432
|
position: e.position,
|
|
4329
4433
|
rotation: e.rotation,
|
|
4330
4434
|
scale: e.scale
|
|
4331
|
-
}, [e.label ? (N(), T(L(
|
|
4435
|
+
}, [e.label ? (N(), T(L(s), {
|
|
4332
4436
|
key: 0,
|
|
4333
4437
|
center: "",
|
|
4334
4438
|
transform: ""
|
|
@@ -4345,46 +4449,46 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4345
4449
|
refContext: {},
|
|
4346
4450
|
instance: {}
|
|
4347
4451
|
},
|
|
4348
|
-
setup(
|
|
4349
|
-
console.log(`<element/${
|
|
4350
|
-
console.log(`<element/${
|
|
4452
|
+
setup(t) {
|
|
4453
|
+
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), Ce(() => {
|
|
4454
|
+
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
|
|
4351
4455
|
});
|
|
4352
|
-
let
|
|
4456
|
+
let n = $(), r = wl(), i = El(), a = w(() => e(r.value)), o = w(() => e(i.value));
|
|
4353
4457
|
Tl(o);
|
|
4354
4458
|
let s = Te({});
|
|
4355
|
-
Dl(s), z(
|
|
4356
|
-
function c(
|
|
4357
|
-
let r = dt(
|
|
4358
|
-
if (!r) return console.error(`multipleRefV1/renderNode element not found key = ${
|
|
4359
|
-
if (qt(
|
|
4360
|
-
if (!
|
|
4361
|
-
let
|
|
4362
|
-
for (let n of
|
|
4363
|
-
return
|
|
4364
|
-
} else if (Kt(
|
|
4365
|
-
if (!
|
|
4366
|
-
let
|
|
4367
|
-
for (let r of
|
|
4368
|
-
return
|
|
4459
|
+
Dl(s), z(n) && Wn("multipleRef", t.nodeId, "", t.instance, Pl(), a, o, s);
|
|
4460
|
+
function c(e, n) {
|
|
4461
|
+
let r = dt(e.key);
|
|
4462
|
+
if (!r) return console.error(`multipleRefV1/renderNode element not found key = ${e.key}`), {};
|
|
4463
|
+
if (qt(e.key)) {
|
|
4464
|
+
if (!e.inlineSlot || !e.children) return {};
|
|
4465
|
+
let t = {};
|
|
4466
|
+
for (let n of e.children) Qt(t, c(n, e.inlineSlot));
|
|
4467
|
+
return t;
|
|
4468
|
+
} else if (Kt(e.key)) {
|
|
4469
|
+
if (!e.render || !e.children) return {};
|
|
4470
|
+
let t = {};
|
|
4471
|
+
for (let r of e.children) Qt(t, c(r, n));
|
|
4472
|
+
return t;
|
|
4369
4473
|
} else {
|
|
4370
|
-
let i = { nodeId:
|
|
4371
|
-
Zt(
|
|
4372
|
-
parent:
|
|
4373
|
-
compId:
|
|
4474
|
+
let i = { nodeId: e.id };
|
|
4475
|
+
Zt(e.key) && (i.refContext = {
|
|
4476
|
+
parent: t.refContext,
|
|
4477
|
+
compId: e.compId
|
|
4374
4478
|
});
|
|
4375
4479
|
let a = {};
|
|
4376
|
-
if (Yt(r) &&
|
|
4480
|
+
if (Yt(r) && e.children) for (let t of e.children) Qt(a, c(t, "default"));
|
|
4377
4481
|
return { [n]: [A(r.comp, {
|
|
4378
|
-
key:
|
|
4482
|
+
key: e.id,
|
|
4379
4483
|
...i
|
|
4380
4484
|
}, $t(a))] };
|
|
4381
4485
|
}
|
|
4382
4486
|
}
|
|
4383
4487
|
function l() {
|
|
4384
|
-
let
|
|
4385
|
-
if (o.value) for (let
|
|
4386
|
-
if (
|
|
4387
|
-
if (
|
|
4488
|
+
let e = {};
|
|
4489
|
+
if (o.value) for (let t of o.value.view.nodeLites) Qt(e, c(t, "default"));
|
|
4490
|
+
if (t.subtype === "ui") return A("div", null, $t(e));
|
|
4491
|
+
if (t.subtype === "3d") return A("TresGroup", null, $t(e));
|
|
4388
4492
|
}
|
|
4389
4493
|
return (e, t) => (N(), T(l));
|
|
4390
4494
|
}
|
|
@@ -4442,7 +4546,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4442
4546
|
console.assert(!1, "invalid data");
|
|
4443
4547
|
return;
|
|
4444
4548
|
}
|
|
4445
|
-
let { i18n: n } =
|
|
4549
|
+
let { i18n: n } = C;
|
|
4446
4550
|
if (Xe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4447
4551
|
id: t.id,
|
|
4448
4552
|
style: u.value
|
|
@@ -4488,46 +4592,46 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4488
4592
|
refContext: {},
|
|
4489
4593
|
instance: {}
|
|
4490
4594
|
},
|
|
4491
|
-
setup(
|
|
4492
|
-
console.log(`<element/${
|
|
4493
|
-
console.log(`<element/${
|
|
4595
|
+
setup(t) {
|
|
4596
|
+
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), Ce(() => {
|
|
4597
|
+
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
|
|
4494
4598
|
});
|
|
4495
|
-
let
|
|
4599
|
+
let n = $(), r = wl(), i = El(), a = w(() => e(r.value)), o = w(() => e(i.value));
|
|
4496
4600
|
Tl(o);
|
|
4497
4601
|
let s = Te({});
|
|
4498
|
-
Dl(s), z(
|
|
4499
|
-
function c(
|
|
4500
|
-
let r = dt(
|
|
4501
|
-
if (!r) return console.error(`multipleSlotV1/renderNode element not found key=${
|
|
4502
|
-
if (qt(
|
|
4503
|
-
if (!
|
|
4504
|
-
let
|
|
4505
|
-
for (let n of
|
|
4506
|
-
return
|
|
4507
|
-
} else if (Kt(
|
|
4508
|
-
if (!
|
|
4509
|
-
let
|
|
4510
|
-
for (let r of
|
|
4511
|
-
return
|
|
4602
|
+
Dl(s), z(n) && Wn("multipleCustomSlot", t.nodeId, "", t.instance, Pl(), a, o, s);
|
|
4603
|
+
function c(e, n) {
|
|
4604
|
+
let r = dt(e.key);
|
|
4605
|
+
if (!r) return console.error(`multipleSlotV1/renderNode element not found key=${e.key}`), {};
|
|
4606
|
+
if (qt(e.key)) {
|
|
4607
|
+
if (!e.inlineSlot || !e.children) return {};
|
|
4608
|
+
let t = {};
|
|
4609
|
+
for (let n of e.children) Qt(t, c(n, e.inlineSlot));
|
|
4610
|
+
return t;
|
|
4611
|
+
} else if (Kt(e.key)) {
|
|
4612
|
+
if (!e.render || !e.children) return {};
|
|
4613
|
+
let t = {};
|
|
4614
|
+
for (let r of e.children) Qt(t, c(r, n));
|
|
4615
|
+
return t;
|
|
4512
4616
|
} else {
|
|
4513
|
-
let i = { nodeId:
|
|
4514
|
-
Zt(
|
|
4515
|
-
parent:
|
|
4516
|
-
compId:
|
|
4617
|
+
let i = { nodeId: e.id };
|
|
4618
|
+
Zt(e.key) && (i.refContext = {
|
|
4619
|
+
parent: t.refContext,
|
|
4620
|
+
compId: e.compId
|
|
4517
4621
|
});
|
|
4518
4622
|
let a = {};
|
|
4519
|
-
if (Yt(r) &&
|
|
4623
|
+
if (Yt(r) && e.children) for (let t of e.children) Qt(a, c(t, "default"));
|
|
4520
4624
|
return { [n]: [A(r.comp, {
|
|
4521
|
-
key:
|
|
4625
|
+
key: e.id,
|
|
4522
4626
|
...i
|
|
4523
4627
|
}, $t(a))] };
|
|
4524
4628
|
}
|
|
4525
4629
|
}
|
|
4526
4630
|
function l() {
|
|
4527
|
-
let
|
|
4528
|
-
if (o.value) for (let
|
|
4529
|
-
if (
|
|
4530
|
-
if (
|
|
4631
|
+
let e = {};
|
|
4632
|
+
if (o.value) for (let t of o.value.view.nodeLites) Qt(e, c(t, "default"));
|
|
4633
|
+
if (t.subtype === "ui") return A("div", null, $t(e));
|
|
4634
|
+
if (t.subtype === "3d") return A("TresGroup", null, $t(e));
|
|
4531
4635
|
}
|
|
4532
4636
|
return (e, t) => (N(), T(l));
|
|
4533
4637
|
}
|
|
@@ -4587,7 +4691,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4587
4691
|
console.assert(!1, "invalid data");
|
|
4588
4692
|
return;
|
|
4589
4693
|
}
|
|
4590
|
-
let { i18n: n } =
|
|
4694
|
+
let { i18n: n } = C;
|
|
4591
4695
|
if (Xe(e.refContext, r)) return i.value.type === "ui" ? A("div", {
|
|
4592
4696
|
id: t.id,
|
|
4593
4697
|
style: l.value
|
|
@@ -4697,7 +4801,7 @@ var Hr = /* @__PURE__ */ br(Br, [["render", Vr]]), Ur = [
|
|
|
4697
4801
|
console.error("refV1/render invalid data");
|
|
4698
4802
|
return;
|
|
4699
4803
|
}
|
|
4700
|
-
let { i18n: n } =
|
|
4804
|
+
let { i18n: n } = C;
|
|
4701
4805
|
if (Xe(e.refContext, i)) return a.value.type === "ui" ? A("div", {
|
|
4702
4806
|
id: t.id,
|
|
4703
4807
|
style: f.value
|
|
@@ -4812,7 +4916,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
4812
4916
|
console.error("slotV1/render invalid data");
|
|
4813
4917
|
return;
|
|
4814
4918
|
}
|
|
4815
|
-
let { i18n: n } =
|
|
4919
|
+
let { i18n: n } = C;
|
|
4816
4920
|
if (Xe(e.refContext, i)) return a.value.type === "ui" ? A("div", {
|
|
4817
4921
|
id: t.id,
|
|
4818
4922
|
style: d.value
|
|
@@ -5099,25 +5203,25 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5099
5203
|
"settings",
|
|
5100
5204
|
"style",
|
|
5101
5205
|
"block"
|
|
5102
|
-
]), { property:
|
|
5206
|
+
]), { property: ee } = Y(n, [
|
|
5103
5207
|
"settings",
|
|
5104
5208
|
"style",
|
|
5105
5209
|
"stacked"
|
|
5106
|
-
]), { property:
|
|
5210
|
+
]), { property: te } = Y(n, [
|
|
5107
5211
|
"settings",
|
|
5108
5212
|
"style",
|
|
5109
5213
|
"tile"
|
|
5110
|
-
]), { property:
|
|
5214
|
+
]), { property: ne } = Y(n, [
|
|
5111
5215
|
"settings",
|
|
5112
5216
|
"style",
|
|
5113
5217
|
"ripple"
|
|
5114
|
-
]), { property:
|
|
5218
|
+
]), { property: re } = Z(n, [
|
|
5115
5219
|
"settings",
|
|
5116
5220
|
"style",
|
|
5117
5221
|
"decoration",
|
|
5118
5222
|
"icon",
|
|
5119
5223
|
"prepend"
|
|
5120
|
-
]), { property:
|
|
5224
|
+
]), { property: C } = Z(n, [
|
|
5121
5225
|
"settings",
|
|
5122
5226
|
"style",
|
|
5123
5227
|
"decoration",
|
|
@@ -5167,7 +5271,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5167
5271
|
let a = I("v-btn");
|
|
5168
5272
|
return N(), T(a, _e(L(r), {
|
|
5169
5273
|
"active-color": L(se),
|
|
5170
|
-
"append-icon": L(
|
|
5274
|
+
"append-icon": L(C),
|
|
5171
5275
|
"base-color": L(oe),
|
|
5172
5276
|
block: L(S),
|
|
5173
5277
|
color: L(ae),
|
|
@@ -5181,16 +5285,16 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5181
5285
|
"max-width": L(d),
|
|
5182
5286
|
"min-height": L(p),
|
|
5183
5287
|
"min-width": L(u),
|
|
5184
|
-
"prepend-icon": L(
|
|
5288
|
+
"prepend-icon": L(re),
|
|
5185
5289
|
readonly: L(ue),
|
|
5186
|
-
ripple: L(
|
|
5290
|
+
ripple: L(ne),
|
|
5187
5291
|
size: L(b),
|
|
5188
5292
|
spaced: L(ie),
|
|
5189
|
-
stacked: L(
|
|
5293
|
+
stacked: L(ee),
|
|
5190
5294
|
style: c.value,
|
|
5191
5295
|
text: L(g),
|
|
5192
5296
|
theme: L(t),
|
|
5193
|
-
tile: L(
|
|
5297
|
+
tile: L(te),
|
|
5194
5298
|
type: L(de),
|
|
5195
5299
|
value: L(h),
|
|
5196
5300
|
variant: L(v),
|
|
@@ -5328,27 +5432,27 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5328
5432
|
"settings",
|
|
5329
5433
|
"style",
|
|
5330
5434
|
"tile"
|
|
5331
|
-
]), { property:
|
|
5435
|
+
]), { property: ee } = Y(n, [
|
|
5332
5436
|
"settings",
|
|
5333
5437
|
"style",
|
|
5334
5438
|
"hover"
|
|
5335
|
-
]), { property:
|
|
5439
|
+
]), { property: te } = Z(n, [
|
|
5336
5440
|
"settings",
|
|
5337
5441
|
"style",
|
|
5338
5442
|
"decoration",
|
|
5339
5443
|
"icon",
|
|
5340
5444
|
"prepend"
|
|
5341
|
-
]), { property:
|
|
5445
|
+
]), { property: ne } = Z(n, [
|
|
5342
5446
|
"settings",
|
|
5343
5447
|
"style",
|
|
5344
5448
|
"decoration",
|
|
5345
5449
|
"icon",
|
|
5346
5450
|
"append"
|
|
5347
|
-
]), { property:
|
|
5451
|
+
]), { property: re } = X(n, [
|
|
5348
5452
|
"settings",
|
|
5349
5453
|
"style",
|
|
5350
5454
|
"color"
|
|
5351
|
-
]), { property:
|
|
5455
|
+
]), { property: C } = Y(n, [
|
|
5352
5456
|
"settings",
|
|
5353
5457
|
"misc",
|
|
5354
5458
|
"loading"
|
|
@@ -5363,20 +5467,20 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5363
5467
|
return (e, n) => {
|
|
5364
5468
|
let a = I("v-card");
|
|
5365
5469
|
return N(), T(a, _e(L(r), {
|
|
5366
|
-
"append-icon": L(
|
|
5367
|
-
color: L(
|
|
5470
|
+
"append-icon": L(ne),
|
|
5471
|
+
color: L(re),
|
|
5368
5472
|
density: L(b),
|
|
5369
5473
|
disabled: L(ie),
|
|
5370
5474
|
elevation: L(x),
|
|
5371
5475
|
height: L(f),
|
|
5372
|
-
hover: L(
|
|
5476
|
+
hover: L(ee),
|
|
5373
5477
|
image: L(v),
|
|
5374
|
-
loading: L(
|
|
5478
|
+
loading: L(C),
|
|
5375
5479
|
"max-height": L(m),
|
|
5376
5480
|
"max-width": L(d),
|
|
5377
5481
|
"min-height": L(p),
|
|
5378
5482
|
"min-width": L(u),
|
|
5379
|
-
"prepend-icon": L(
|
|
5483
|
+
"prepend-icon": L(te),
|
|
5380
5484
|
style: c.value,
|
|
5381
5485
|
subtitle: L(g),
|
|
5382
5486
|
text: L(_),
|
|
@@ -5677,29 +5781,29 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5677
5781
|
"decoration",
|
|
5678
5782
|
"avatar",
|
|
5679
5783
|
"append"
|
|
5680
|
-
]), { property:
|
|
5784
|
+
]), { property: ee } = Z(n, [
|
|
5681
5785
|
"settings",
|
|
5682
5786
|
"style",
|
|
5683
5787
|
"decoration",
|
|
5684
5788
|
"icon",
|
|
5685
5789
|
"prepend"
|
|
5686
|
-
]), { property:
|
|
5790
|
+
]), { property: te } = Z(n, [
|
|
5687
5791
|
"settings",
|
|
5688
5792
|
"style",
|
|
5689
5793
|
"decoration",
|
|
5690
5794
|
"icon",
|
|
5691
5795
|
"append"
|
|
5692
|
-
]), { property:
|
|
5796
|
+
]), { property: ne } = X(n, [
|
|
5693
5797
|
"settings",
|
|
5694
5798
|
"style",
|
|
5695
5799
|
"color",
|
|
5696
5800
|
"color"
|
|
5697
|
-
]), { property:
|
|
5801
|
+
]), { property: re } = X(n, [
|
|
5698
5802
|
"settings",
|
|
5699
5803
|
"style",
|
|
5700
5804
|
"color",
|
|
5701
5805
|
"baseColor"
|
|
5702
|
-
]), { property:
|
|
5806
|
+
]), { property: C } = Y(n, [
|
|
5703
5807
|
"settings",
|
|
5704
5808
|
"misc",
|
|
5705
5809
|
"disabled"
|
|
@@ -5714,19 +5818,19 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5714
5818
|
let a = I("v-chip");
|
|
5715
5819
|
return N(), T(a, _e(L(r), {
|
|
5716
5820
|
"append-avatar": L(S),
|
|
5717
|
-
"append-icon": L(
|
|
5718
|
-
"base-color": L(
|
|
5821
|
+
"append-icon": L(te),
|
|
5822
|
+
"base-color": L(re),
|
|
5719
5823
|
closable: L(d),
|
|
5720
5824
|
"close-icon": L(f),
|
|
5721
|
-
color: L(
|
|
5825
|
+
color: L(ne),
|
|
5722
5826
|
density: L(m),
|
|
5723
|
-
disabled: L(
|
|
5827
|
+
disabled: L(C),
|
|
5724
5828
|
draggable: L(u),
|
|
5725
5829
|
elevation: L(g),
|
|
5726
5830
|
label: L(v),
|
|
5727
5831
|
"on-click": L(l) ? ie : void 0,
|
|
5728
5832
|
"prepend-avatar": L(x),
|
|
5729
|
-
"prepend-icon": L(
|
|
5833
|
+
"prepend-icon": L(ee),
|
|
5730
5834
|
ripple: L(b),
|
|
5731
5835
|
rounded: L(_),
|
|
5732
5836
|
size: L(h),
|
|
@@ -5975,21 +6079,21 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
5975
6079
|
"detail",
|
|
5976
6080
|
"counter",
|
|
5977
6081
|
"enable"
|
|
5978
|
-
]), { property:
|
|
6082
|
+
]), { property: ee } = Y(n, [
|
|
5979
6083
|
"settings",
|
|
5980
6084
|
"detail",
|
|
5981
6085
|
"counter",
|
|
5982
6086
|
"max"
|
|
5983
|
-
]),
|
|
6087
|
+
]), te = w(() => S.value ? ee.value : !1), { property: ne } = Y(n, [
|
|
5984
6088
|
"settings",
|
|
5985
6089
|
"detail",
|
|
5986
6090
|
"counter",
|
|
5987
6091
|
"persistent"
|
|
5988
|
-
]), { property:
|
|
6092
|
+
]), { property: re } = Jn(n, [
|
|
5989
6093
|
"settings",
|
|
5990
6094
|
"detail",
|
|
5991
6095
|
"rules"
|
|
5992
|
-
]), { property:
|
|
6096
|
+
]), { property: C } = Y(n, [
|
|
5993
6097
|
"settings",
|
|
5994
6098
|
"style",
|
|
5995
6099
|
"variant"
|
|
@@ -6099,7 +6203,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6099
6203
|
clearable: L(f),
|
|
6100
6204
|
"closable-chips": L(ce),
|
|
6101
6205
|
color: L(me),
|
|
6102
|
-
counter:
|
|
6206
|
+
counter: te.value,
|
|
6103
6207
|
density: L(ie),
|
|
6104
6208
|
disabled: L(j),
|
|
6105
6209
|
"error-messages": L(b),
|
|
@@ -6116,7 +6220,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6116
6220
|
multiple: L(c),
|
|
6117
6221
|
"open-on-clear": L(m),
|
|
6118
6222
|
"persistent-clear": L(p),
|
|
6119
|
-
"persistent-counter": L(
|
|
6223
|
+
"persistent-counter": L(ne),
|
|
6120
6224
|
"persistent-hint": L(v),
|
|
6121
6225
|
"persistent-placeholder": L(d),
|
|
6122
6226
|
placeholder: L(u),
|
|
@@ -6125,11 +6229,11 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6125
6229
|
"prepend-inner-icon": L(fe),
|
|
6126
6230
|
readonly: L(ge),
|
|
6127
6231
|
reverse: L(oe),
|
|
6128
|
-
rules: L(
|
|
6232
|
+
rules: L(re),
|
|
6129
6233
|
"single-line": L(ae),
|
|
6130
6234
|
suffix: L(ue),
|
|
6131
6235
|
theme: L(t),
|
|
6132
|
-
variant: L(
|
|
6236
|
+
variant: L(C),
|
|
6133
6237
|
width: L(r)
|
|
6134
6238
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.append-inner-icon.base-color.bg-color.chips.clear-icon.clearable.closable-chips.color.counter.density.disabled.error-messages.hide-details.hint.icon-color.items.label.loading.max-errors.max-width.messages.min-width.multiple.open-on-clear.persistent-clear.persistent-counter.persistent-hint.persistent-placeholder.placeholder.prefix.prepend-icon.prepend-inner-icon.readonly.reverse.rules.single-line.suffix.theme.variant.width".split("."))]),
|
|
6135
6239
|
_: 1
|
|
@@ -6259,21 +6363,21 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6259
6363
|
"settings",
|
|
6260
6364
|
"style",
|
|
6261
6365
|
"density"
|
|
6262
|
-
]), { property:
|
|
6366
|
+
]), { property: ee } = Y(n, [
|
|
6263
6367
|
"settings",
|
|
6264
6368
|
"style",
|
|
6265
6369
|
"hover"
|
|
6266
|
-
]), { property:
|
|
6370
|
+
]), { property: te } = X(n, [
|
|
6267
6371
|
"settings",
|
|
6268
6372
|
"style",
|
|
6269
6373
|
"color"
|
|
6270
|
-
]), { property:
|
|
6374
|
+
]), { property: ne } = Y(n, [
|
|
6271
6375
|
"settings",
|
|
6272
6376
|
"misc",
|
|
6273
6377
|
"loading"
|
|
6274
|
-
]),
|
|
6378
|
+
]), re = P([]), { property: C } = Y(n, ["slots", "items"]);
|
|
6275
6379
|
z(i) && Ie(() => {
|
|
6276
|
-
|
|
6380
|
+
re.value = C.value;
|
|
6277
6381
|
});
|
|
6278
6382
|
let { property: ie } = Yn(n.value.basic.id, n.value.basic.key, "runtime.selections");
|
|
6279
6383
|
return (n, i) => {
|
|
@@ -6285,7 +6389,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6285
6389
|
"onUpdate:itemsPerPage": i[1] ||= (e) => M(_) ? _.value = e : null,
|
|
6286
6390
|
page: L(h),
|
|
6287
6391
|
"onUpdate:page": i[2] ||= (e) => M(h) ? h.value = e : null,
|
|
6288
|
-
color: L(
|
|
6392
|
+
color: L(te),
|
|
6289
6393
|
density: L(S),
|
|
6290
6394
|
"disable-sort": L(y),
|
|
6291
6395
|
"fixed-footer": L(p),
|
|
@@ -6294,11 +6398,11 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6294
6398
|
height: L(o),
|
|
6295
6399
|
"hide-default-footer": L(m),
|
|
6296
6400
|
"hide-default-header": L(f),
|
|
6297
|
-
hover: L(
|
|
6401
|
+
hover: L(ee),
|
|
6298
6402
|
"item-value": L(u),
|
|
6299
6403
|
items: L(l),
|
|
6300
6404
|
"items-per-page-options": L(v),
|
|
6301
|
-
loading: L(
|
|
6405
|
+
loading: L(ne),
|
|
6302
6406
|
"multi-sort": L(b),
|
|
6303
6407
|
"show-current-page": L(g),
|
|
6304
6408
|
"show-select": L(x),
|
|
@@ -6325,7 +6429,7 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6325
6429
|
fn: R(() => [F(n.$slots, "loading")]),
|
|
6326
6430
|
key: "3"
|
|
6327
6431
|
} : void 0,
|
|
6328
|
-
De(
|
|
6432
|
+
De(re.value, ({ key: t, comp: n }) => ({
|
|
6329
6433
|
name: `item.${t}`,
|
|
6330
6434
|
fn: R(({ value: r }) => [n ? (N(), T(gi, {
|
|
6331
6435
|
key: 0,
|
|
@@ -6463,24 +6567,24 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6463
6567
|
"main",
|
|
6464
6568
|
"sort",
|
|
6465
6569
|
"multiSort"
|
|
6466
|
-
]), { property:
|
|
6570
|
+
]), { property: ee } = Y(n, [
|
|
6467
6571
|
"settings",
|
|
6468
6572
|
"main",
|
|
6469
6573
|
"select",
|
|
6470
6574
|
"enable"
|
|
6471
|
-
]), { property:
|
|
6575
|
+
]), { property: te } = Y(n, [
|
|
6472
6576
|
"settings",
|
|
6473
6577
|
"style",
|
|
6474
6578
|
"density"
|
|
6475
|
-
]), { property:
|
|
6579
|
+
]), { property: ne } = Y(n, [
|
|
6476
6580
|
"settings",
|
|
6477
6581
|
"style",
|
|
6478
6582
|
"hover"
|
|
6479
|
-
]), { property:
|
|
6583
|
+
]), { property: re } = X(n, [
|
|
6480
6584
|
"settings",
|
|
6481
6585
|
"style",
|
|
6482
6586
|
"color"
|
|
6483
|
-
]), { property:
|
|
6587
|
+
]), { property: C } = Y(n, [
|
|
6484
6588
|
"settings",
|
|
6485
6589
|
"misc",
|
|
6486
6590
|
"loading"
|
|
@@ -6501,8 +6605,8 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6501
6605
|
"onUpdate:itemsPerPage": i[1] ||= (e) => M(y) ? y.value = e : null,
|
|
6502
6606
|
page: L(_),
|
|
6503
6607
|
"onUpdate:page": i[2] ||= (e) => M(_) ? _.value = e : null,
|
|
6504
|
-
color: L(
|
|
6505
|
-
density: L(
|
|
6608
|
+
color: L(re),
|
|
6609
|
+
density: L(te),
|
|
6506
6610
|
"disable-sort": L(x),
|
|
6507
6611
|
"fixed-footer": L(h),
|
|
6508
6612
|
"fixed-header": L(p),
|
|
@@ -6510,15 +6614,15 @@ var $r = /* @__PURE__ */ br(Zr, [["render", Qr]]), ei = /* @__PURE__ */ k({
|
|
|
6510
6614
|
height: L(s),
|
|
6511
6615
|
"hide-default-footer": L(g),
|
|
6512
6616
|
"hide-default-header": L(m),
|
|
6513
|
-
hover: L(
|
|
6617
|
+
hover: L(ne),
|
|
6514
6618
|
"item-value": L(f),
|
|
6515
6619
|
items: L(u),
|
|
6516
6620
|
"items-length": L(d),
|
|
6517
6621
|
"items-per-page-options": L(b),
|
|
6518
|
-
loading: L(
|
|
6622
|
+
loading: L(C),
|
|
6519
6623
|
"multi-sort": L(S),
|
|
6520
6624
|
"show-current-page": L(v),
|
|
6521
|
-
"show-select": L(
|
|
6625
|
+
"show-select": L(ee),
|
|
6522
6626
|
theme: L(t),
|
|
6523
6627
|
width: L(o),
|
|
6524
6628
|
"onUpdate:options": se
|
|
@@ -6827,16 +6931,16 @@ var wi = /* @__PURE__ */ k({
|
|
|
6827
6931
|
"settings",
|
|
6828
6932
|
"misc",
|
|
6829
6933
|
"readonly"
|
|
6830
|
-
]), { property: y } = Y(n, ["slots", "title"]), b = w(() => z(r) ? !!y.value : !1), { property: x } = Y(n, ["slots", "text"]), S = w(() => z(r) ? !!x.value : !1),
|
|
6934
|
+
]), { property: y } = Y(n, ["slots", "title"]), b = w(() => z(r) ? !!y.value : !1), { property: x } = Y(n, ["slots", "text"]), S = w(() => z(r) ? !!x.value : !1), ee = Pe("target");
|
|
6831
6935
|
return In(e.nodeId, "prev", () => {
|
|
6832
|
-
|
|
6936
|
+
ee.value?.prev();
|
|
6833
6937
|
}), In(e.nodeId, "next", () => {
|
|
6834
|
-
|
|
6938
|
+
ee.value?.next();
|
|
6835
6939
|
}), (n, r) => {
|
|
6836
|
-
let
|
|
6837
|
-
return N(), T(
|
|
6940
|
+
let te = I("v-expansion-panel"), ne = I("v-expansion-panels");
|
|
6941
|
+
return N(), T(ne, {
|
|
6838
6942
|
ref_key: "target",
|
|
6839
|
-
ref:
|
|
6943
|
+
ref: ee,
|
|
6840
6944
|
modelValue: L(i),
|
|
6841
6945
|
"onUpdate:modelValue": r[0] ||= (e) => M(i) ? i.value = e : null,
|
|
6842
6946
|
"bg-color": L(h),
|
|
@@ -6854,7 +6958,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
6854
6958
|
tile: L(f),
|
|
6855
6959
|
variant: L(l)
|
|
6856
6960
|
}, {
|
|
6857
|
-
default: R(() => [(N(!0), E(fe, null, De(L(a), (t) => (N(), T(
|
|
6961
|
+
default: R(() => [(N(!0), E(fe, null, De(L(a), (t) => (N(), T(te, {
|
|
6858
6962
|
key: t.value,
|
|
6859
6963
|
text: t.text,
|
|
6860
6964
|
title: t.title,
|
|
@@ -7015,25 +7119,25 @@ var wi = /* @__PURE__ */ k({
|
|
|
7015
7119
|
"settings",
|
|
7016
7120
|
"style",
|
|
7017
7121
|
"singleLine"
|
|
7018
|
-
]), { property:
|
|
7122
|
+
]), { property: ee } = Y(t, [
|
|
7019
7123
|
"settings",
|
|
7020
7124
|
"style",
|
|
7021
7125
|
"reverse"
|
|
7022
|
-
]), { property:
|
|
7126
|
+
]), { property: te } = Y(t, [
|
|
7023
7127
|
"settings",
|
|
7024
7128
|
"style",
|
|
7025
7129
|
"tile"
|
|
7026
|
-
]), { property:
|
|
7130
|
+
]), { property: ne } = Y(t, [
|
|
7027
7131
|
"settings",
|
|
7028
7132
|
"style",
|
|
7029
7133
|
"chip"
|
|
7030
|
-
]), { property:
|
|
7134
|
+
]), { property: re } = Z(t, [
|
|
7031
7135
|
"settings",
|
|
7032
7136
|
"style",
|
|
7033
7137
|
"decoration",
|
|
7034
7138
|
"icon",
|
|
7035
7139
|
"prepend"
|
|
7036
|
-
]), { property:
|
|
7140
|
+
]), { property: C } = Z(t, [
|
|
7037
7141
|
"settings",
|
|
7038
7142
|
"style",
|
|
7039
7143
|
"decoration",
|
|
@@ -7094,7 +7198,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
7094
7198
|
"append-inner-icon": L(ae),
|
|
7095
7199
|
"base-color": L(ce),
|
|
7096
7200
|
"bg-color": L(se),
|
|
7097
|
-
chips: L(
|
|
7201
|
+
chips: L(ne),
|
|
7098
7202
|
"clear-icon": L(u),
|
|
7099
7203
|
clearable: L(c),
|
|
7100
7204
|
color: L(oe),
|
|
@@ -7115,13 +7219,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
7115
7219
|
multiple: L(o),
|
|
7116
7220
|
"persistent-clear": L(l),
|
|
7117
7221
|
"persistent-hint": L(h),
|
|
7118
|
-
"prepend-icon": L(
|
|
7119
|
-
"prepend-inner-icon": L(
|
|
7222
|
+
"prepend-icon": L(re),
|
|
7223
|
+
"prepend-inner-icon": L(C),
|
|
7120
7224
|
readonly: L(fe),
|
|
7121
|
-
reverse: L(
|
|
7225
|
+
reverse: L(ee),
|
|
7122
7226
|
"show-size": L(f),
|
|
7123
7227
|
"single-line": L(S),
|
|
7124
|
-
tile: L(
|
|
7228
|
+
tile: L(te),
|
|
7125
7229
|
variant: L(b),
|
|
7126
7230
|
width: L(n)
|
|
7127
7231
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.append-inner-icon.base-color.bg-color.chips.clear-icon.clearable.color.counter.density.disabled.error-messages.hide-details.hide-input.hint.icon-color.label.loading.max-errors.max-width.messages.min-width.multiple.persistent-clear.persistent-hint.prepend-icon.prepend-inner-icon.readonly.reverse.show-size.single-line.tile.variant.width".split("."))]),
|
|
@@ -7602,22 +7706,22 @@ var wi = /* @__PURE__ */ k({
|
|
|
7602
7706
|
"detail",
|
|
7603
7707
|
"error",
|
|
7604
7708
|
"errorMessages"
|
|
7605
|
-
]), { property:
|
|
7709
|
+
]), { property: ee } = Y(n, [
|
|
7606
7710
|
"settings",
|
|
7607
7711
|
"detail",
|
|
7608
7712
|
"error",
|
|
7609
7713
|
"maxErrors"
|
|
7610
|
-
]), { property:
|
|
7714
|
+
]), { property: te } = Y(n, [
|
|
7611
7715
|
"settings",
|
|
7612
7716
|
"detail",
|
|
7613
7717
|
"counter",
|
|
7614
7718
|
"enable"
|
|
7615
|
-
]), { property:
|
|
7719
|
+
]), { property: ne } = Y(n, [
|
|
7616
7720
|
"settings",
|
|
7617
7721
|
"detail",
|
|
7618
7722
|
"counter",
|
|
7619
7723
|
"max"
|
|
7620
|
-
]),
|
|
7724
|
+
]), re = w(() => te.value ? ne.value : !1), { property: C } = Y(n, [
|
|
7621
7725
|
"settings",
|
|
7622
7726
|
"detail",
|
|
7623
7727
|
"counter",
|
|
@@ -7720,9 +7824,9 @@ var wi = /* @__PURE__ */ k({
|
|
|
7720
7824
|
"readonly"
|
|
7721
7825
|
]);
|
|
7722
7826
|
return (e, n) => {
|
|
7723
|
-
let
|
|
7827
|
+
let te = I("v-number-input");
|
|
7724
7828
|
return N(), T(L(Mn), null, {
|
|
7725
|
-
default: R(() => [O(
|
|
7829
|
+
default: R(() => [O(te, {
|
|
7726
7830
|
modelValue: L(s),
|
|
7727
7831
|
"onUpdate:modelValue": n[0] ||= (e) => M(s) ? s.value = e : null,
|
|
7728
7832
|
"append-icon": L(me),
|
|
@@ -7733,7 +7837,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
7733
7837
|
clearable: L(h),
|
|
7734
7838
|
color: L(k),
|
|
7735
7839
|
"control-variant": L(oe),
|
|
7736
|
-
counter:
|
|
7840
|
+
counter: re.value,
|
|
7737
7841
|
density: L(se),
|
|
7738
7842
|
disabled: L(ve),
|
|
7739
7843
|
"error-messages": L(S),
|
|
@@ -7744,13 +7848,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
7744
7848
|
label: L(f),
|
|
7745
7849
|
loading: L(_e),
|
|
7746
7850
|
max: L(u),
|
|
7747
|
-
"max-errors": L(
|
|
7851
|
+
"max-errors": L(ee),
|
|
7748
7852
|
"max-width": L(o),
|
|
7749
7853
|
messages: L(x),
|
|
7750
7854
|
min: L(l),
|
|
7751
7855
|
"min-width": L(a),
|
|
7752
7856
|
"persistent-clear": L(g),
|
|
7753
|
-
"persistent-counter": L(
|
|
7857
|
+
"persistent-counter": L(C),
|
|
7754
7858
|
"persistent-hint": L(b),
|
|
7755
7859
|
"persistent-placeholder": L(m),
|
|
7756
7860
|
placeholder: L(p),
|
|
@@ -8355,14 +8459,14 @@ var wi = /* @__PURE__ */ k({
|
|
|
8355
8459
|
"settings",
|
|
8356
8460
|
"misc",
|
|
8357
8461
|
"disabled"
|
|
8358
|
-
]), { property:
|
|
8462
|
+
]), { property: ee } = Y(n, [
|
|
8359
8463
|
"settings",
|
|
8360
8464
|
"misc",
|
|
8361
8465
|
"readonly"
|
|
8362
8466
|
]);
|
|
8363
8467
|
return Vl({
|
|
8364
8468
|
disabled: S,
|
|
8365
|
-
readonly:
|
|
8469
|
+
readonly: ee
|
|
8366
8470
|
}), In(e.nodeId, "reset", () => {
|
|
8367
8471
|
z(i) && a.value?.reset();
|
|
8368
8472
|
}), In(e.nodeId, "resetValidation", () => {
|
|
@@ -8393,7 +8497,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8393
8497
|
"min-width": L(s),
|
|
8394
8498
|
"persistent-hint": L(p),
|
|
8395
8499
|
"prepend-icon": L(y),
|
|
8396
|
-
readonly: L(
|
|
8500
|
+
readonly: L(ee),
|
|
8397
8501
|
rules: L(_),
|
|
8398
8502
|
theme: L(t),
|
|
8399
8503
|
width: L(o)
|
|
@@ -8451,11 +8555,11 @@ var wi = /* @__PURE__ */ k({
|
|
|
8451
8555
|
refContext: {}
|
|
8452
8556
|
},
|
|
8453
8557
|
setup(e) {
|
|
8454
|
-
let { theme:
|
|
8558
|
+
let { theme: n, node: r } = J(e.nodeId), { width: i, minWidth: a, maxWidth: o } = Q(r), { property: s } = Y(r, [
|
|
8455
8559
|
"settings",
|
|
8456
8560
|
"value",
|
|
8457
8561
|
"start"
|
|
8458
|
-
]), { property: c } = Y(
|
|
8562
|
+
]), { property: c } = Y(r, [
|
|
8459
8563
|
"settings",
|
|
8460
8564
|
"value",
|
|
8461
8565
|
"end"
|
|
@@ -8464,16 +8568,16 @@ var wi = /* @__PURE__ */ k({
|
|
|
8464
8568
|
set: ([e, t]) => {
|
|
8465
8569
|
s.value = e, c.value = t;
|
|
8466
8570
|
}
|
|
8467
|
-
}), { property: u } = Y(
|
|
8571
|
+
}), { property: u } = Y(r, ["settings", "min"]), { property: d } = Y(r, ["settings", "max"]), { property: f } = Y(r, ["settings", "step"]), { property: p } = Y(r, [
|
|
8468
8572
|
"settings",
|
|
8469
8573
|
"main",
|
|
8470
8574
|
"label"
|
|
8471
|
-
]), { property: m } = Y(
|
|
8575
|
+
]), { property: m } = Y(r, [
|
|
8472
8576
|
"settings",
|
|
8473
8577
|
"main",
|
|
8474
8578
|
"track",
|
|
8475
8579
|
"size"
|
|
8476
|
-
]), { property: h } = Y(
|
|
8580
|
+
]), { property: h } = Y(r, [
|
|
8477
8581
|
"settings",
|
|
8478
8582
|
"main",
|
|
8479
8583
|
"tick",
|
|
@@ -8481,7 +8585,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8481
8585
|
]), g = w(() => {
|
|
8482
8586
|
if (h.value === "always") return "always";
|
|
8483
8587
|
if (h.value === "show") return !0;
|
|
8484
|
-
}), { property: _ } = Y(
|
|
8588
|
+
}), { property: _ } = Y(r, [
|
|
8485
8589
|
"settings",
|
|
8486
8590
|
"main",
|
|
8487
8591
|
"tick",
|
|
@@ -8490,13 +8594,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
8490
8594
|
if (!_.value) return;
|
|
8491
8595
|
let e = {};
|
|
8492
8596
|
for (let { value: t, label: n } of _.value) e[t] = n;
|
|
8493
|
-
if (!
|
|
8494
|
-
}), { property: y } = Y(
|
|
8597
|
+
if (!t(e)) return e;
|
|
8598
|
+
}), { property: y } = Y(r, [
|
|
8495
8599
|
"settings",
|
|
8496
8600
|
"main",
|
|
8497
8601
|
"tick",
|
|
8498
8602
|
"size"
|
|
8499
|
-
]), { property: b } = Y(
|
|
8603
|
+
]), { property: b } = Y(r, [
|
|
8500
8604
|
"settings",
|
|
8501
8605
|
"main",
|
|
8502
8606
|
"thumb",
|
|
@@ -8504,120 +8608,120 @@ var wi = /* @__PURE__ */ k({
|
|
|
8504
8608
|
]), x = w(() => {
|
|
8505
8609
|
if (b.value === "always") return "always";
|
|
8506
8610
|
if (b.value === "show") return !0;
|
|
8507
|
-
}), { property: S } = Y(
|
|
8611
|
+
}), { property: S } = Y(r, [
|
|
8508
8612
|
"settings",
|
|
8509
8613
|
"main",
|
|
8510
8614
|
"thumb",
|
|
8511
8615
|
"size"
|
|
8512
|
-
]), { property:
|
|
8616
|
+
]), { property: ee } = Y(r, [
|
|
8513
8617
|
"settings",
|
|
8514
8618
|
"detail",
|
|
8515
8619
|
"hide"
|
|
8516
|
-
]), { property:
|
|
8620
|
+
]), { property: te } = Y(r, [
|
|
8517
8621
|
"settings",
|
|
8518
8622
|
"detail",
|
|
8519
8623
|
"hint",
|
|
8520
8624
|
"content"
|
|
8521
|
-
]), { property:
|
|
8625
|
+
]), { property: ne } = Y(r, [
|
|
8522
8626
|
"settings",
|
|
8523
8627
|
"detail",
|
|
8524
8628
|
"hint",
|
|
8525
8629
|
"persistent"
|
|
8526
|
-
]), { property:
|
|
8630
|
+
]), { property: re } = Y(r, [
|
|
8527
8631
|
"settings",
|
|
8528
8632
|
"detail",
|
|
8529
8633
|
"messages"
|
|
8530
|
-
]), { property:
|
|
8634
|
+
]), { property: C } = Y(r, [
|
|
8531
8635
|
"settings",
|
|
8532
8636
|
"detail",
|
|
8533
8637
|
"error",
|
|
8534
8638
|
"errorMessages"
|
|
8535
|
-
]), { property: ie } = Y(
|
|
8639
|
+
]), { property: ie } = Y(r, [
|
|
8536
8640
|
"settings",
|
|
8537
8641
|
"detail",
|
|
8538
8642
|
"error",
|
|
8539
8643
|
"maxErrors"
|
|
8540
|
-
]), { property: ae } = Jn(
|
|
8644
|
+
]), { property: ae } = Jn(r, [
|
|
8541
8645
|
"settings",
|
|
8542
8646
|
"detail",
|
|
8543
8647
|
"rules"
|
|
8544
|
-
]), { property: oe } = Y(
|
|
8648
|
+
]), { property: oe } = Y(r, [
|
|
8545
8649
|
"settings",
|
|
8546
8650
|
"style",
|
|
8547
8651
|
"density"
|
|
8548
|
-
]), { property: se } = Y(
|
|
8652
|
+
]), { property: se } = Y(r, [
|
|
8549
8653
|
"settings",
|
|
8550
8654
|
"style",
|
|
8551
8655
|
"direction"
|
|
8552
|
-
]), { property: ce } = Y(
|
|
8656
|
+
]), { property: ce } = Y(r, [
|
|
8553
8657
|
"settings",
|
|
8554
8658
|
"style",
|
|
8555
8659
|
"reverse"
|
|
8556
|
-
]), { property: le } = Kn(
|
|
8660
|
+
]), { property: le } = Kn(r, [
|
|
8557
8661
|
"settings",
|
|
8558
8662
|
"style",
|
|
8559
8663
|
"elevation"
|
|
8560
|
-
]), { property: ue } = Y(
|
|
8664
|
+
]), { property: ue } = Y(r, [
|
|
8561
8665
|
"settings",
|
|
8562
8666
|
"style",
|
|
8563
8667
|
"ripple"
|
|
8564
|
-
]), { property: de } = Z(
|
|
8668
|
+
]), { property: de } = Z(r, [
|
|
8565
8669
|
"settings",
|
|
8566
8670
|
"style",
|
|
8567
8671
|
"decoration",
|
|
8568
8672
|
"icon",
|
|
8569
8673
|
"prepend"
|
|
8570
|
-
]), { property: fe } = Z(
|
|
8674
|
+
]), { property: fe } = Z(r, [
|
|
8571
8675
|
"settings",
|
|
8572
8676
|
"style",
|
|
8573
8677
|
"decoration",
|
|
8574
8678
|
"icon",
|
|
8575
8679
|
"append"
|
|
8576
|
-
]), { property: pe } = X(
|
|
8680
|
+
]), { property: pe } = X(r, [
|
|
8577
8681
|
"settings",
|
|
8578
8682
|
"style",
|
|
8579
8683
|
"color",
|
|
8580
8684
|
"color"
|
|
8581
|
-
]), { property: E } = X(
|
|
8685
|
+
]), { property: E } = X(r, [
|
|
8582
8686
|
"settings",
|
|
8583
8687
|
"style",
|
|
8584
8688
|
"color",
|
|
8585
8689
|
"baseColor"
|
|
8586
|
-
]), { property: me } = X(
|
|
8690
|
+
]), { property: me } = X(r, [
|
|
8587
8691
|
"settings",
|
|
8588
8692
|
"style",
|
|
8589
8693
|
"color",
|
|
8590
8694
|
"trackColor"
|
|
8591
|
-
]), { property: D } = X(
|
|
8695
|
+
]), { property: D } = X(r, [
|
|
8592
8696
|
"settings",
|
|
8593
8697
|
"style",
|
|
8594
8698
|
"color",
|
|
8595
8699
|
"trackFillColor"
|
|
8596
|
-
]), { property: he } = X(
|
|
8700
|
+
]), { property: he } = X(r, [
|
|
8597
8701
|
"settings",
|
|
8598
8702
|
"style",
|
|
8599
8703
|
"color",
|
|
8600
8704
|
"thumbColor"
|
|
8601
|
-
]), { property: k } = X(
|
|
8705
|
+
]), { property: k } = X(r, [
|
|
8602
8706
|
"settings",
|
|
8603
8707
|
"style",
|
|
8604
8708
|
"color",
|
|
8605
8709
|
"iconColor"
|
|
8606
|
-
]), { property: A } = Y(
|
|
8710
|
+
]), { property: A } = Y(r, [
|
|
8607
8711
|
"settings",
|
|
8608
8712
|
"misc",
|
|
8609
8713
|
"disabled"
|
|
8610
|
-
]), { property: j } = Y(
|
|
8714
|
+
]), { property: j } = Y(r, [
|
|
8611
8715
|
"settings",
|
|
8612
8716
|
"misc",
|
|
8613
8717
|
"readonly"
|
|
8614
8718
|
]);
|
|
8615
|
-
return (e,
|
|
8616
|
-
let
|
|
8719
|
+
return (e, t) => {
|
|
8720
|
+
let r = I("v-range-slider");
|
|
8617
8721
|
return N(), T(L(Mn), null, {
|
|
8618
|
-
default: R(() => [O(
|
|
8722
|
+
default: R(() => [O(r, {
|
|
8619
8723
|
modelValue: l.value,
|
|
8620
|
-
"onUpdate:modelValue":
|
|
8724
|
+
"onUpdate:modelValue": t[0] ||= (e) => l.value = e,
|
|
8621
8725
|
"append-icon": L(fe),
|
|
8622
8726
|
"base-color": L(E),
|
|
8623
8727
|
color: L(pe),
|
|
@@ -8625,18 +8729,18 @@ var wi = /* @__PURE__ */ k({
|
|
|
8625
8729
|
direction: L(se),
|
|
8626
8730
|
disabled: L(A),
|
|
8627
8731
|
elevation: L(le),
|
|
8628
|
-
"error-messages": L(
|
|
8629
|
-
"hide-details": L(
|
|
8630
|
-
hint: L(
|
|
8732
|
+
"error-messages": L(C),
|
|
8733
|
+
"hide-details": L(ee),
|
|
8734
|
+
hint: L(te),
|
|
8631
8735
|
"icon-color": L(k),
|
|
8632
8736
|
label: L(p),
|
|
8633
8737
|
max: L(d),
|
|
8634
8738
|
"max-errors": L(ie),
|
|
8635
8739
|
"max-width": L(o),
|
|
8636
|
-
messages: L(
|
|
8740
|
+
messages: L(re),
|
|
8637
8741
|
min: L(u),
|
|
8638
8742
|
"min-width": L(a),
|
|
8639
|
-
"persistent-hint": L(
|
|
8743
|
+
"persistent-hint": L(ne),
|
|
8640
8744
|
"prepend-icon": L(de),
|
|
8641
8745
|
readonly: L(j),
|
|
8642
8746
|
reverse: L(ce),
|
|
@@ -8644,7 +8748,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8644
8748
|
rules: L(ae),
|
|
8645
8749
|
"show-ticks": g.value,
|
|
8646
8750
|
step: L(f),
|
|
8647
|
-
theme: L(
|
|
8751
|
+
theme: L(n),
|
|
8648
8752
|
"thumb-color": L(he),
|
|
8649
8753
|
"thumb-label": x.value,
|
|
8650
8754
|
"thumb-size": L(S),
|
|
@@ -8653,7 +8757,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8653
8757
|
"track-color": L(me),
|
|
8654
8758
|
"track-fill-color": L(D),
|
|
8655
8759
|
"track-size": L(m),
|
|
8656
|
-
width: L(
|
|
8760
|
+
width: L(i)
|
|
8657
8761
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.base-color.color.density.direction.disabled.elevation.error-messages.hide-details.hint.icon-color.label.max.max-errors.max-width.messages.min.min-width.persistent-hint.prepend-icon.readonly.reverse.ripple.rules.show-ticks.step.theme.thumb-color.thumb-label.thumb-size.tick-size.ticks.track-color.track-fill-color.track-size.width".split("."))]),
|
|
8658
8762
|
_: 1
|
|
8659
8763
|
});
|
|
@@ -8840,20 +8944,20 @@ var wi = /* @__PURE__ */ k({
|
|
|
8840
8944
|
"detail",
|
|
8841
8945
|
"counter",
|
|
8842
8946
|
"max"
|
|
8843
|
-
]),
|
|
8947
|
+
]), ee = w(() => x.value ? S.value : !1), { property: te } = Y(n, [
|
|
8844
8948
|
"settings",
|
|
8845
8949
|
"detail",
|
|
8846
8950
|
"counter",
|
|
8847
8951
|
"persistent"
|
|
8848
|
-
]), { property:
|
|
8952
|
+
]), { property: ne } = Jn(n, [
|
|
8849
8953
|
"settings",
|
|
8850
8954
|
"detail",
|
|
8851
8955
|
"rules"
|
|
8852
|
-
]), { property:
|
|
8956
|
+
]), { property: re } = Y(n, [
|
|
8853
8957
|
"settings",
|
|
8854
8958
|
"style",
|
|
8855
8959
|
"variant"
|
|
8856
|
-
]), { property:
|
|
8960
|
+
]), { property: C } = Y(n, [
|
|
8857
8961
|
"settings",
|
|
8858
8962
|
"style",
|
|
8859
8963
|
"density"
|
|
@@ -8959,8 +9063,8 @@ var wi = /* @__PURE__ */ k({
|
|
|
8959
9063
|
clearable: L(f),
|
|
8960
9064
|
"closable-chips": L(se),
|
|
8961
9065
|
color: L(E),
|
|
8962
|
-
counter:
|
|
8963
|
-
density: L(
|
|
9066
|
+
counter: ee.value,
|
|
9067
|
+
density: L(C),
|
|
8964
9068
|
disabled: L(A),
|
|
8965
9069
|
"error-messages": L(y),
|
|
8966
9070
|
"hide-details": L(h),
|
|
@@ -8975,7 +9079,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
8975
9079
|
"min-width": L(i),
|
|
8976
9080
|
multiple: L(c),
|
|
8977
9081
|
"persistent-clear": L(p),
|
|
8978
|
-
"persistent-counter": L(
|
|
9082
|
+
"persistent-counter": L(te),
|
|
8979
9083
|
"persistent-hint": L(_),
|
|
8980
9084
|
"persistent-placeholder": L(d),
|
|
8981
9085
|
placeholder: L(u),
|
|
@@ -8984,11 +9088,11 @@ var wi = /* @__PURE__ */ k({
|
|
|
8984
9088
|
"prepend-inner-icon": L(de),
|
|
8985
9089
|
readonly: L(j),
|
|
8986
9090
|
reverse: L(ie),
|
|
8987
|
-
rules: L(
|
|
9091
|
+
rules: L(ne),
|
|
8988
9092
|
"single-line": L(ae),
|
|
8989
9093
|
suffix: L(le),
|
|
8990
9094
|
theme: L(t),
|
|
8991
|
-
variant: L(
|
|
9095
|
+
variant: L(re),
|
|
8992
9096
|
width: L(r)
|
|
8993
9097
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.append-inner-icon.base-color.bg-color.chips.clear-icon.clearable.closable-chips.color.counter.density.disabled.error-messages.hide-details.hint.icon-color.items.label.loading.max-errors.max-width.messages.min-width.multiple.persistent-clear.persistent-counter.persistent-hint.persistent-placeholder.placeholder.prefix.prepend-icon.prepend-inner-icon.readonly.reverse.rules.single-line.suffix.theme.variant.width".split("."))]),
|
|
8994
9098
|
_: 1
|
|
@@ -9150,16 +9254,16 @@ var wi = /* @__PURE__ */ k({
|
|
|
9150
9254
|
refContext: {}
|
|
9151
9255
|
},
|
|
9152
9256
|
setup(e) {
|
|
9153
|
-
let { theme:
|
|
9257
|
+
let { theme: n, node: r } = J(e.nodeId), { width: i, minWidth: a, maxWidth: o } = Q(r), { property: s } = Y(r, ["settings", "value"]), { property: c } = Y(r, ["settings", "min"]), { property: l } = Y(r, ["settings", "max"]), { property: u } = Y(r, ["settings", "step"]), { property: d } = Y(r, [
|
|
9154
9258
|
"settings",
|
|
9155
9259
|
"main",
|
|
9156
9260
|
"label"
|
|
9157
|
-
]), { property: f } = Y(
|
|
9261
|
+
]), { property: f } = Y(r, [
|
|
9158
9262
|
"settings",
|
|
9159
9263
|
"main",
|
|
9160
9264
|
"track",
|
|
9161
9265
|
"size"
|
|
9162
|
-
]), { property: p } = Y(
|
|
9266
|
+
]), { property: p } = Y(r, [
|
|
9163
9267
|
"settings",
|
|
9164
9268
|
"main",
|
|
9165
9269
|
"tick",
|
|
@@ -9167,7 +9271,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
9167
9271
|
]), m = w(() => {
|
|
9168
9272
|
if (p.value === "always") return "always";
|
|
9169
9273
|
if (p.value === "show") return !0;
|
|
9170
|
-
}), { property: h } = Y(
|
|
9274
|
+
}), { property: h } = Y(r, [
|
|
9171
9275
|
"settings",
|
|
9172
9276
|
"main",
|
|
9173
9277
|
"tick",
|
|
@@ -9176,13 +9280,13 @@ var wi = /* @__PURE__ */ k({
|
|
|
9176
9280
|
if (!h.value) return;
|
|
9177
9281
|
let e = {};
|
|
9178
9282
|
for (let { value: t, label: n } of h.value) e[t] = n;
|
|
9179
|
-
if (!
|
|
9180
|
-
}), { property: _ } = Y(
|
|
9283
|
+
if (!t(e)) return e;
|
|
9284
|
+
}), { property: _ } = Y(r, [
|
|
9181
9285
|
"settings",
|
|
9182
9286
|
"main",
|
|
9183
9287
|
"tick",
|
|
9184
9288
|
"size"
|
|
9185
|
-
]), { property: v } = Y(
|
|
9289
|
+
]), { property: v } = Y(r, [
|
|
9186
9290
|
"settings",
|
|
9187
9291
|
"main",
|
|
9188
9292
|
"thumb",
|
|
@@ -9190,120 +9294,120 @@ var wi = /* @__PURE__ */ k({
|
|
|
9190
9294
|
]), y = w(() => {
|
|
9191
9295
|
if (v.value === "always") return "always";
|
|
9192
9296
|
if (v.value === "show") return !0;
|
|
9193
|
-
}), { property: b } = Y(
|
|
9297
|
+
}), { property: b } = Y(r, [
|
|
9194
9298
|
"settings",
|
|
9195
9299
|
"main",
|
|
9196
9300
|
"thumb",
|
|
9197
9301
|
"size"
|
|
9198
|
-
]), { property: x } = Y(
|
|
9302
|
+
]), { property: x } = Y(r, [
|
|
9199
9303
|
"settings",
|
|
9200
9304
|
"detail",
|
|
9201
9305
|
"hide"
|
|
9202
|
-
]), { property: S } = Y(
|
|
9306
|
+
]), { property: S } = Y(r, [
|
|
9203
9307
|
"settings",
|
|
9204
9308
|
"detail",
|
|
9205
9309
|
"hint",
|
|
9206
9310
|
"content"
|
|
9207
|
-
]), { property:
|
|
9311
|
+
]), { property: ee } = Y(r, [
|
|
9208
9312
|
"settings",
|
|
9209
9313
|
"detail",
|
|
9210
9314
|
"hint",
|
|
9211
9315
|
"persistent"
|
|
9212
|
-
]), { property:
|
|
9316
|
+
]), { property: te } = Y(r, [
|
|
9213
9317
|
"settings",
|
|
9214
9318
|
"detail",
|
|
9215
9319
|
"messages"
|
|
9216
|
-
]), { property:
|
|
9320
|
+
]), { property: ne } = Y(r, [
|
|
9217
9321
|
"settings",
|
|
9218
9322
|
"detail",
|
|
9219
9323
|
"error",
|
|
9220
9324
|
"errorMessages"
|
|
9221
|
-
]), { property:
|
|
9325
|
+
]), { property: re } = Y(r, [
|
|
9222
9326
|
"settings",
|
|
9223
9327
|
"detail",
|
|
9224
9328
|
"error",
|
|
9225
9329
|
"maxErrors"
|
|
9226
|
-
]), { property:
|
|
9330
|
+
]), { property: C } = Jn(r, [
|
|
9227
9331
|
"settings",
|
|
9228
9332
|
"detail",
|
|
9229
9333
|
"rules"
|
|
9230
|
-
]), { property: ie } = Y(
|
|
9334
|
+
]), { property: ie } = Y(r, [
|
|
9231
9335
|
"settings",
|
|
9232
9336
|
"style",
|
|
9233
9337
|
"density"
|
|
9234
|
-
]), { property: ae } = Y(
|
|
9338
|
+
]), { property: ae } = Y(r, [
|
|
9235
9339
|
"settings",
|
|
9236
9340
|
"style",
|
|
9237
9341
|
"direction"
|
|
9238
|
-
]), { property: oe } = Y(
|
|
9342
|
+
]), { property: oe } = Y(r, [
|
|
9239
9343
|
"settings",
|
|
9240
9344
|
"style",
|
|
9241
9345
|
"reverse"
|
|
9242
|
-
]), { property: se } = Kn(
|
|
9346
|
+
]), { property: se } = Kn(r, [
|
|
9243
9347
|
"settings",
|
|
9244
9348
|
"style",
|
|
9245
9349
|
"elevation"
|
|
9246
|
-
]), { property: ce } = Y(
|
|
9350
|
+
]), { property: ce } = Y(r, [
|
|
9247
9351
|
"settings",
|
|
9248
9352
|
"style",
|
|
9249
9353
|
"ripple"
|
|
9250
|
-
]), { property: le } = Z(
|
|
9354
|
+
]), { property: le } = Z(r, [
|
|
9251
9355
|
"settings",
|
|
9252
9356
|
"style",
|
|
9253
9357
|
"decoration",
|
|
9254
9358
|
"icon",
|
|
9255
9359
|
"prepend"
|
|
9256
|
-
]), { property: ue } = Z(
|
|
9360
|
+
]), { property: ue } = Z(r, [
|
|
9257
9361
|
"settings",
|
|
9258
9362
|
"style",
|
|
9259
9363
|
"decoration",
|
|
9260
9364
|
"icon",
|
|
9261
9365
|
"append"
|
|
9262
|
-
]), { property: de } = X(
|
|
9366
|
+
]), { property: de } = X(r, [
|
|
9263
9367
|
"settings",
|
|
9264
9368
|
"style",
|
|
9265
9369
|
"color",
|
|
9266
9370
|
"color"
|
|
9267
|
-
]), { property: fe } = X(
|
|
9371
|
+
]), { property: fe } = X(r, [
|
|
9268
9372
|
"settings",
|
|
9269
9373
|
"style",
|
|
9270
9374
|
"color",
|
|
9271
9375
|
"baseColor"
|
|
9272
|
-
]), { property: pe } = X(
|
|
9376
|
+
]), { property: pe } = X(r, [
|
|
9273
9377
|
"settings",
|
|
9274
9378
|
"style",
|
|
9275
9379
|
"color",
|
|
9276
9380
|
"trackColor"
|
|
9277
|
-
]), { property: E } = X(
|
|
9381
|
+
]), { property: E } = X(r, [
|
|
9278
9382
|
"settings",
|
|
9279
9383
|
"style",
|
|
9280
9384
|
"color",
|
|
9281
9385
|
"trackFillColor"
|
|
9282
|
-
]), { property: me } = X(
|
|
9386
|
+
]), { property: me } = X(r, [
|
|
9283
9387
|
"settings",
|
|
9284
9388
|
"style",
|
|
9285
9389
|
"color",
|
|
9286
9390
|
"thumbColor"
|
|
9287
|
-
]), { property: D } = X(
|
|
9391
|
+
]), { property: D } = X(r, [
|
|
9288
9392
|
"settings",
|
|
9289
9393
|
"style",
|
|
9290
9394
|
"color",
|
|
9291
9395
|
"iconColor"
|
|
9292
|
-
]), { property: he } = Y(
|
|
9396
|
+
]), { property: he } = Y(r, [
|
|
9293
9397
|
"settings",
|
|
9294
9398
|
"misc",
|
|
9295
9399
|
"disabled"
|
|
9296
|
-
]), { property: k } = Y(
|
|
9400
|
+
]), { property: k } = Y(r, [
|
|
9297
9401
|
"settings",
|
|
9298
9402
|
"misc",
|
|
9299
9403
|
"readonly"
|
|
9300
9404
|
]);
|
|
9301
|
-
return (e,
|
|
9302
|
-
let
|
|
9405
|
+
return (e, t) => {
|
|
9406
|
+
let r = I("v-slider");
|
|
9303
9407
|
return N(), T(L(Mn), null, {
|
|
9304
|
-
default: R(() => [O(
|
|
9408
|
+
default: R(() => [O(r, {
|
|
9305
9409
|
modelValue: L(s),
|
|
9306
|
-
"onUpdate:modelValue":
|
|
9410
|
+
"onUpdate:modelValue": t[0] ||= (e) => M(s) ? s.value = e : null,
|
|
9307
9411
|
"append-icon": L(ue),
|
|
9308
9412
|
"base-color": L(fe),
|
|
9309
9413
|
color: L(de),
|
|
@@ -9311,26 +9415,26 @@ var wi = /* @__PURE__ */ k({
|
|
|
9311
9415
|
direction: L(ae),
|
|
9312
9416
|
disabled: L(he),
|
|
9313
9417
|
elevation: L(se),
|
|
9314
|
-
"error-messages": L(
|
|
9418
|
+
"error-messages": L(ne),
|
|
9315
9419
|
"hide-details": L(x),
|
|
9316
9420
|
hint: L(S),
|
|
9317
9421
|
"icon-color": L(D),
|
|
9318
9422
|
label: L(d),
|
|
9319
9423
|
max: L(l),
|
|
9320
|
-
"max-errors": L(
|
|
9424
|
+
"max-errors": L(re),
|
|
9321
9425
|
"max-width": L(o),
|
|
9322
|
-
messages: L(
|
|
9426
|
+
messages: L(te),
|
|
9323
9427
|
min: L(c),
|
|
9324
9428
|
"min-width": L(a),
|
|
9325
|
-
"persistent-hint": L(
|
|
9429
|
+
"persistent-hint": L(ee),
|
|
9326
9430
|
"prepend-icon": L(le),
|
|
9327
9431
|
readonly: L(k),
|
|
9328
9432
|
reverse: L(oe),
|
|
9329
9433
|
ripple: L(ce),
|
|
9330
|
-
rules: L(
|
|
9434
|
+
rules: L(C),
|
|
9331
9435
|
"show-ticks": m.value,
|
|
9332
9436
|
step: L(u),
|
|
9333
|
-
theme: L(
|
|
9437
|
+
theme: L(n),
|
|
9334
9438
|
"thumb-color": L(me),
|
|
9335
9439
|
"thumb-label": y.value,
|
|
9336
9440
|
"thumb-size": L(b),
|
|
@@ -9339,7 +9443,7 @@ var wi = /* @__PURE__ */ k({
|
|
|
9339
9443
|
"track-color": L(pe),
|
|
9340
9444
|
"track-fill-color": L(E),
|
|
9341
9445
|
"track-size": L(f),
|
|
9342
|
-
width: L(
|
|
9446
|
+
width: L(i)
|
|
9343
9447
|
}, null, 8, /* @__PURE__ */ "modelValue.append-icon.base-color.color.density.direction.disabled.elevation.error-messages.hide-details.hint.icon-color.label.max.max-errors.max-width.messages.min.min-width.persistent-hint.prepend-icon.readonly.reverse.ripple.rules.show-ticks.step.theme.thumb-color.thumb-label.thumb-size.tick-size.ticks.track-color.track-fill-color.track-size.width".split("."))]),
|
|
9344
9448
|
_: 1
|
|
9345
9449
|
});
|
|
@@ -9531,28 +9635,28 @@ var pa = /* @__PURE__ */ br(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9531
9635
|
"style",
|
|
9532
9636
|
"color",
|
|
9533
9637
|
"baseColor"
|
|
9534
|
-
]), { property:
|
|
9638
|
+
]), { property: ee } = X(n, [
|
|
9535
9639
|
"settings",
|
|
9536
9640
|
"style",
|
|
9537
9641
|
"color",
|
|
9538
9642
|
"iconColor"
|
|
9539
|
-
]), { property:
|
|
9643
|
+
]), { property: te } = Y(n, [
|
|
9540
9644
|
"settings",
|
|
9541
9645
|
"misc",
|
|
9542
9646
|
"loading"
|
|
9543
|
-
]), { property:
|
|
9647
|
+
]), { property: ne } = Y(n, [
|
|
9544
9648
|
"settings",
|
|
9545
9649
|
"misc",
|
|
9546
9650
|
"disabled"
|
|
9547
|
-
]), { property:
|
|
9651
|
+
]), { property: re } = Y(n, [
|
|
9548
9652
|
"settings",
|
|
9549
9653
|
"misc",
|
|
9550
9654
|
"readonly"
|
|
9551
9655
|
]);
|
|
9552
9656
|
return (e, n) => {
|
|
9553
|
-
let
|
|
9657
|
+
let C = I("v-switch");
|
|
9554
9658
|
return N(), T(L(Mn), null, {
|
|
9555
|
-
default: R(() => [O(
|
|
9659
|
+
default: R(() => [O(C, {
|
|
9556
9660
|
modelValue: L(s),
|
|
9557
9661
|
"onUpdate:modelValue": n[0] ||= (e) => M(s) ? s.value = e : null,
|
|
9558
9662
|
indeterminate: L(c),
|
|
@@ -9562,20 +9666,20 @@ var pa = /* @__PURE__ */ br(da, [["render", fa]]), ma = /* @__PURE__ */ k({
|
|
|
9562
9666
|
color: L(x),
|
|
9563
9667
|
density: L(h),
|
|
9564
9668
|
direction: L(g),
|
|
9565
|
-
disabled: L(
|
|
9669
|
+
disabled: L(ne),
|
|
9566
9670
|
"hide-details": L(u),
|
|
9567
9671
|
hint: L(d),
|
|
9568
|
-
"icon-color": L(
|
|
9672
|
+
"icon-color": L(ee),
|
|
9569
9673
|
inline: L(_),
|
|
9570
9674
|
inset: L(v),
|
|
9571
9675
|
label: L(l),
|
|
9572
|
-
loading: L(
|
|
9676
|
+
loading: L(te),
|
|
9573
9677
|
"max-width": L(o),
|
|
9574
9678
|
messages: L(p),
|
|
9575
9679
|
"min-width": L(a),
|
|
9576
9680
|
"persistent-hint": L(f),
|
|
9577
9681
|
"prepend-icon": L(y),
|
|
9578
|
-
readonly: L(
|
|
9682
|
+
readonly: L(re),
|
|
9579
9683
|
rules: L(m),
|
|
9580
9684
|
theme: L(t),
|
|
9581
9685
|
width: L(i)
|
|
@@ -9923,21 +10027,21 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
9923
10027
|
"detail",
|
|
9924
10028
|
"counter",
|
|
9925
10029
|
"enable"
|
|
9926
|
-
]), { property:
|
|
10030
|
+
]), { property: ee } = Y(n, [
|
|
9927
10031
|
"settings",
|
|
9928
10032
|
"detail",
|
|
9929
10033
|
"counter",
|
|
9930
10034
|
"max"
|
|
9931
|
-
]),
|
|
10035
|
+
]), te = w(() => S.value ? ee.value : !1), { property: ne } = Y(n, [
|
|
9932
10036
|
"settings",
|
|
9933
10037
|
"detail",
|
|
9934
10038
|
"counter",
|
|
9935
10039
|
"persistent"
|
|
9936
|
-
]), { property:
|
|
10040
|
+
]), { property: re } = Jn(n, [
|
|
9937
10041
|
"settings",
|
|
9938
10042
|
"detail",
|
|
9939
10043
|
"rules"
|
|
9940
|
-
]), { property:
|
|
10044
|
+
]), { property: C } = Y(n, [
|
|
9941
10045
|
"settings",
|
|
9942
10046
|
"style",
|
|
9943
10047
|
"variant"
|
|
@@ -10069,7 +10173,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10069
10173
|
"clear-icon": L(h),
|
|
10070
10174
|
clearable: L(p),
|
|
10071
10175
|
color: L(he),
|
|
10072
|
-
counter:
|
|
10176
|
+
counter: te.value,
|
|
10073
10177
|
density: L(ie),
|
|
10074
10178
|
disabled: L(ge),
|
|
10075
10179
|
"error-messages": L(b),
|
|
@@ -10084,7 +10188,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10084
10188
|
messages: L(y),
|
|
10085
10189
|
"min-width": L(s),
|
|
10086
10190
|
"persistent-clear": L(m),
|
|
10087
|
-
"persistent-counter": L(
|
|
10191
|
+
"persistent-counter": L(ne),
|
|
10088
10192
|
"persistent-hint": L(v),
|
|
10089
10193
|
"persistent-placeholder": L(f),
|
|
10090
10194
|
placeholder: L(d),
|
|
@@ -10094,11 +10198,11 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10094
10198
|
readonly: L(_e),
|
|
10095
10199
|
reverse: L(ae),
|
|
10096
10200
|
rows: L(se),
|
|
10097
|
-
rules: L(
|
|
10201
|
+
rules: L(re),
|
|
10098
10202
|
"single-line": L(oe),
|
|
10099
10203
|
suffix: L(de),
|
|
10100
10204
|
theme: L(t),
|
|
10101
|
-
variant: L(
|
|
10205
|
+
variant: L(C),
|
|
10102
10206
|
width: L(o)
|
|
10103
10207
|
}, D({ _: 2 }, [
|
|
10104
10208
|
L(r)("label") ? {
|
|
@@ -10231,22 +10335,22 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10231
10335
|
"detail",
|
|
10232
10336
|
"error",
|
|
10233
10337
|
"errorMessages"
|
|
10234
|
-
]), { property:
|
|
10338
|
+
]), { property: ee } = Y(n, [
|
|
10235
10339
|
"settings",
|
|
10236
10340
|
"detail",
|
|
10237
10341
|
"error",
|
|
10238
10342
|
"maxErrors"
|
|
10239
|
-
]), { property:
|
|
10343
|
+
]), { property: te } = Y(n, [
|
|
10240
10344
|
"settings",
|
|
10241
10345
|
"detail",
|
|
10242
10346
|
"counter",
|
|
10243
10347
|
"enable"
|
|
10244
|
-
]), { property:
|
|
10348
|
+
]), { property: ne } = Y(n, [
|
|
10245
10349
|
"settings",
|
|
10246
10350
|
"detail",
|
|
10247
10351
|
"counter",
|
|
10248
10352
|
"max"
|
|
10249
|
-
]),
|
|
10353
|
+
]), re = w(() => te.value ? ne.value : !1), { property: C } = Y(n, [
|
|
10250
10354
|
"settings",
|
|
10251
10355
|
"detail",
|
|
10252
10356
|
"counter",
|
|
@@ -10360,7 +10464,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10360
10464
|
let n = await o.value?.validate(e.silent);
|
|
10361
10465
|
n ? t.result = n.length <= 0 : t.result = !0;
|
|
10362
10466
|
}), (e, n) => {
|
|
10363
|
-
let a = I("v-text-field"),
|
|
10467
|
+
let a = I("v-text-field"), te = Oe("mutate");
|
|
10364
10468
|
return N(), T(L(Mn), null, {
|
|
10365
10469
|
default: R(() => [Le((N(), T(a, _e({
|
|
10366
10470
|
ref_key: "target",
|
|
@@ -10373,7 +10477,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10373
10477
|
"clear-icon": L(_),
|
|
10374
10478
|
clearable: L(h),
|
|
10375
10479
|
color: L(me),
|
|
10376
|
-
counter:
|
|
10480
|
+
counter: re.value,
|
|
10377
10481
|
density: L(oe),
|
|
10378
10482
|
disabled: L(j),
|
|
10379
10483
|
"error-messages": L(S),
|
|
@@ -10382,13 +10486,13 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10382
10486
|
"icon-color": L(k),
|
|
10383
10487
|
label: L(f),
|
|
10384
10488
|
loading: L(A),
|
|
10385
|
-
"max-errors": L(
|
|
10489
|
+
"max-errors": L(ee),
|
|
10386
10490
|
"max-width": L(l),
|
|
10387
10491
|
messages: L(x),
|
|
10388
10492
|
"min-width": L(c),
|
|
10389
10493
|
"model-value": L(u),
|
|
10390
10494
|
"persistent-clear": L(g),
|
|
10391
|
-
"persistent-counter": L(
|
|
10495
|
+
"persistent-counter": L(C),
|
|
10392
10496
|
"persistent-hint": L(b),
|
|
10393
10497
|
"persistent-placeholder": L(m),
|
|
10394
10498
|
placeholder: L(p),
|
|
@@ -10462,7 +10566,7 @@ var Ma = /* @__PURE__ */ br(Aa, [["render", ja]]), Na = /* @__PURE__ */ k({
|
|
|
10462
10566
|
key: "10"
|
|
10463
10567
|
} : void 0
|
|
10464
10568
|
]), 1040, /* @__PURE__ */ "append-icon.append-inner-icon.base-color.bg-color.clear-icon.clearable.color.counter.density.disabled.error-messages.hide-details.hint.icon-color.label.loading.max-errors.max-width.messages.min-width.model-value.persistent-clear.persistent-counter.persistent-hint.persistent-placeholder.placeholder.prefix.prepend-icon.prepend-inner-icon.readonly.reverse.rules.single-line.suffix.theme.type.variant.width".split("."))), [[
|
|
10465
|
-
|
|
10569
|
+
te,
|
|
10466
10570
|
{
|
|
10467
10571
|
handler: xe,
|
|
10468
10572
|
options: { attributeFilter: ["class"] }
|
|
@@ -14207,7 +14311,7 @@ function gs(e, t) {
|
|
|
14207
14311
|
let { n, nodeIds: r } = U(e, t);
|
|
14208
14312
|
return {
|
|
14209
14313
|
nodePairs: [n("ui_dialog_v1", [n("inline_slot_v1", [n("ui_activator_v1", [n("ui_btn_v1", void 0, { "settings.text": "dialog" })])], { "settings.value": "activator" }), n("inline_slot_v1", [n("ui_container_v1", [n("ui_container_v1", [n("ui_container_v1", [], { "size.height": "48px" })], {
|
|
14210
|
-
"size.width": "
|
|
14314
|
+
"size.width": "spaced",
|
|
14211
14315
|
"size.height": "100%",
|
|
14212
14316
|
"margin.left": "auto",
|
|
14213
14317
|
"margin.right": "auto",
|
|
@@ -20426,22 +20530,22 @@ V({
|
|
|
20426
20530
|
});
|
|
20427
20531
|
//#endregion
|
|
20428
20532
|
//#region src/element/finalProperties.ts
|
|
20429
|
-
function Xc(
|
|
20430
|
-
let
|
|
20431
|
-
if (i !== "" && (i += "."), i +=
|
|
20533
|
+
function Xc(t) {
|
|
20534
|
+
let n = [], r = (t, i, a) => {
|
|
20535
|
+
if (i !== "" && (i += "."), i += t.key, a = e(a), a.push(t.name), !t.ui && !t.array) t.children.forEach((e) => r(e, i, a));
|
|
20432
20536
|
else {
|
|
20433
|
-
if (
|
|
20434
|
-
let
|
|
20537
|
+
if (t.ui === "text" && t.static) return;
|
|
20538
|
+
let e = {
|
|
20435
20539
|
keys: i,
|
|
20436
20540
|
names: a,
|
|
20437
|
-
raw:
|
|
20541
|
+
raw: t
|
|
20438
20542
|
};
|
|
20439
|
-
|
|
20543
|
+
n.push(e);
|
|
20440
20544
|
}
|
|
20441
20545
|
};
|
|
20442
|
-
return
|
|
20546
|
+
return t.forEach((e) => {
|
|
20443
20547
|
r(e, "", []);
|
|
20444
|
-
}),
|
|
20548
|
+
}), n;
|
|
20445
20549
|
}
|
|
20446
20550
|
function Zc() {
|
|
20447
20551
|
let e = {}, t = ut();
|
|
@@ -20487,7 +20591,7 @@ function $c(e) {
|
|
|
20487
20591
|
console.log(r, ...i);
|
|
20488
20592
|
}).consume((e) => t.setProp(t.global, "__consoleLogV1__", e)), t.newFunction("__debugTraceV1__", (e) => {
|
|
20489
20593
|
let n = t.dump(e);
|
|
20490
|
-
|
|
20594
|
+
ne.emit("consoleAppend", n);
|
|
20491
20595
|
}).consume((e) => t.setProp(t.global, "__debugTraceV1__", e)), t.newFunction("__messageV1__", (e, n) => {
|
|
20492
20596
|
let r = t.getString(e), i = t.dump(n), a;
|
|
20493
20597
|
a = typeof i == "object" ? JSON.stringify(i) : String(i), r === "info" ? ae(a) : r === "success" ? oe(a) : r === "warning" ? se(a) : r === "error" && ie(a);
|
|
@@ -20514,7 +20618,7 @@ function $c(e) {
|
|
|
20514
20618
|
}
|
|
20515
20619
|
//#endregion
|
|
20516
20620
|
//#region src/api/computebase/instance.ts
|
|
20517
|
-
var el =
|
|
20621
|
+
var el = te({
|
|
20518
20622
|
baseUrl: "http://localhost/computebase/",
|
|
20519
20623
|
onError: (e) => {
|
|
20520
20624
|
ie(Ge(e));
|
|
@@ -20592,11 +20696,11 @@ function il(e) {
|
|
|
20592
20696
|
appId: `${i}${e.env}`,
|
|
20593
20697
|
pageId: a
|
|
20594
20698
|
};
|
|
20595
|
-
|
|
20699
|
+
C.router.replace({
|
|
20596
20700
|
path: t,
|
|
20597
20701
|
query: n
|
|
20598
20702
|
});
|
|
20599
|
-
} else e.mode === "preview" && se(
|
|
20703
|
+
} else e.mode === "preview" && se(C.i18n.global.t("x-runtime-lib.msg.takeEffectOnlyAfterReleased"));
|
|
20600
20704
|
}).consume((e) => t.setProp(t.global, "__navigateToV1__", e)), t.newFunction("__openConfirmDlgV1__", (n, r) => {
|
|
20601
20705
|
let i = t.getString(n), a = t.getString(r), { promise: o, resolve: s } = e.promiseManager.create();
|
|
20602
20706
|
return ce({
|
|
@@ -20656,7 +20760,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20656
20760
|
env;
|
|
20657
20761
|
mode;
|
|
20658
20762
|
type;
|
|
20659
|
-
eventBus =
|
|
20763
|
+
eventBus = n();
|
|
20660
20764
|
hooks;
|
|
20661
20765
|
vm;
|
|
20662
20766
|
promiseManager;
|
|
@@ -20768,12 +20872,12 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20768
20872
|
customProperties = {};
|
|
20769
20873
|
customSlotProperties = {};
|
|
20770
20874
|
resetCustomProperties(e) {
|
|
20771
|
-
if (this.customProperties = {}, !(this.kind !== "ref" && this.kind !== "multipleRef") && this.meta.value?.properties) for (let { id: t, type: n } of this.meta.value.properties) this.customProperties[t] =
|
|
20875
|
+
if (this.customProperties = {}, !(this.kind !== "ref" && this.kind !== "multipleRef") && this.meta.value?.properties) for (let { id: t, type: n } of this.meta.value.properties) this.customProperties[t] = re(n), !(!e || e[t] === void 0) && typeof this.customProperties[t] == typeof e[t] && (this.customProperties[t] = e[t]);
|
|
20772
20876
|
}
|
|
20773
20877
|
resetCustomSlotProperties(e) {
|
|
20774
20878
|
if (this.customSlotProperties = {}, this.kind !== "customSlot" && this.kind !== "multipleCustomSlot" || !this.parent?.meta.value?.slots) return;
|
|
20775
20879
|
let t = this.parent.meta.value.slots.find((e) => e.id === this.slotId);
|
|
20776
|
-
if (!(!t || !t.properties)) for (let { id: n, type: r } of t.properties) this.customSlotProperties[n] =
|
|
20880
|
+
if (!(!t || !t.properties)) for (let { id: n, type: r } of t.properties) this.customSlotProperties[n] = re(r), !(!e || e[n] === void 0) && typeof this.customSlotProperties[n] == typeof e[n] && (this.customSlotProperties[n] = e[n]);
|
|
20777
20881
|
}
|
|
20778
20882
|
getMetaOfElementProperty(e, t) {
|
|
20779
20883
|
if (!this.data.value) return;
|
|
@@ -20865,21 +20969,21 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20865
20969
|
if (!this.isValidOfCustomSlotProperty(n, r, i)) throw console.warn(`Sandbox/getCustomAdaptSlotProperty invalid custom slot property id=${e}`), W.invalidCustomSlotProperty;
|
|
20866
20970
|
return this.customSlotProperties[i];
|
|
20867
20971
|
}
|
|
20868
|
-
async setProperty(
|
|
20869
|
-
let { kind: i, nodeId: a, propertyKey: o } = Gl(
|
|
20972
|
+
async setProperty(t, n, r) {
|
|
20973
|
+
let { kind: i, nodeId: a, propertyKey: o } = Gl(t), s = this.getNode(a);
|
|
20870
20974
|
if (!s) throw W.nodeNotFound;
|
|
20871
|
-
|
|
20975
|
+
n = e(n), i === "elementProperty" ? await this.setElementProperty(t, n, o, s) : i === "refProperty" ? await this.setRefProperty(t, n, a, o) : i === "multipleRefProperty" ? await this.setMultipleRefProperty(t, n, a, o, r) : i === "customSlotProperty" ? await this.setCustomSlotProperty(t, n, a, o) : i === "multipleCustomSlotProperty" ? await this.setMultipleCustomSlotProperty(t, n, a, o, r) : i === "customProperty" ? await this.setCustomProperty(t, n, o) : i === "elementAdaptSlotProperty" ? await this.setElementAdaptSlotProperty(t, n, o) : i === "customAdaptSlotProperty" ? await this.setCustomAdaptSlotProperty(t, n, o) : console.assert(!1), await ve();
|
|
20872
20976
|
}
|
|
20873
20977
|
async setElementProperty(e, t, n, r) {
|
|
20874
20978
|
let i = this.getMetaOfElementProperty(r.basic.key, n);
|
|
20875
20979
|
if (!i) throw console.warn(`Sandbox/setElementProperty invalid element property id=${e}`), W.invalidElementProperty;
|
|
20876
20980
|
if (i.ui === "transient") {
|
|
20877
20981
|
let i = this.transients.value[r.basic.id][n];
|
|
20878
|
-
if (
|
|
20982
|
+
if (S(t, i)) return;
|
|
20879
20983
|
this.transients.value[r.basic.id][n] = t, await this.hooks.onPropertyChange(e, t, i);
|
|
20880
20984
|
} else {
|
|
20881
20985
|
let i = Ft(r, n);
|
|
20882
|
-
if (
|
|
20986
|
+
if (S(t, i)) return;
|
|
20883
20987
|
It(r, n, t), await this.hooks.onPropertyChange(e, t, i);
|
|
20884
20988
|
}
|
|
20885
20989
|
}
|
|
@@ -20888,7 +20992,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20888
20992
|
if (!i) throw W.sandboxNotFound;
|
|
20889
20993
|
if (!i.isValidOfCustomProperty(r)) throw console.warn(`Sandbox/setRefProperty invalid custom property id=${e}`), W.invalidCustomProperty;
|
|
20890
20994
|
let a = i.customProperties[r];
|
|
20891
|
-
|
|
20995
|
+
S(t, a) || (i.customProperties[r] = t, await i.hooks.onPropertyChange(Wl("customProperty", "globality", r), t, a), await this.hooks.onPropertyChange(e, t, a));
|
|
20892
20996
|
}
|
|
20893
20997
|
async setMultipleRefProperty(e, t, n, r, i) {
|
|
20894
20998
|
if (!i) throw W.instanceNotAvailable;
|
|
@@ -20896,7 +21000,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20896
21000
|
if (!a) throw W.sandboxNotFound;
|
|
20897
21001
|
if (!a.isValidOfCustomProperty(r)) throw console.warn(`Sandbox/setMultipleRefProperty invalid custom property id=${e}`), W.invalidCustomProperty;
|
|
20898
21002
|
let o = a.customProperties[r];
|
|
20899
|
-
|
|
21003
|
+
S(t, o) || (a.customProperties[r] = t, await a.hooks.onPropertyChange(Wl("customProperty", "globality", r), t, o, i), await this.hooks.onPropertyChange(e, t, o, i));
|
|
20900
21004
|
}
|
|
20901
21005
|
async setCustomSlotProperty(e, t, n, r) {
|
|
20902
21006
|
let { compId: i, slotId: a, propertyId: o } = Yl(r);
|
|
@@ -20904,7 +21008,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20904
21008
|
let s = this.children[n];
|
|
20905
21009
|
if (!s) throw W.sandboxNotFound;
|
|
20906
21010
|
let c = s.customSlotProperties[o];
|
|
20907
|
-
|
|
21011
|
+
S(t, c) || (s.customSlotProperties[o] = t, await s.hooks.onPropertyChange(Wl("customAdaptSlotProperty", "globality", r), t, c), await this.hooks.onPropertyChange(e, t, c));
|
|
20908
21012
|
}
|
|
20909
21013
|
async setMultipleCustomSlotProperty(e, t, n, r, i) {
|
|
20910
21014
|
if (!i) throw W.instanceNotAvailable;
|
|
@@ -20913,12 +21017,12 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20913
21017
|
let c = this.children[`${n}/${i}`];
|
|
20914
21018
|
if (!c) throw W.sandboxNotFound;
|
|
20915
21019
|
let l = c.customSlotProperties[s];
|
|
20916
|
-
|
|
21020
|
+
S(t, l) || (c.customSlotProperties[s] = t, await c.hooks.onPropertyChange(Wl("customAdaptSlotProperty", "globality", r), t, l, i), await this.hooks.onPropertyChange(e, t, l, i));
|
|
20917
21021
|
}
|
|
20918
21022
|
async setCustomProperty(e, t, n) {
|
|
20919
21023
|
if (!this.isValidOfCustomProperty(n)) throw console.warn(`Sandbox/setCustomProperty invalid custom property id=${e}`), W.invalidCustomProperty;
|
|
20920
21024
|
let r = this.customProperties[n];
|
|
20921
|
-
|
|
21025
|
+
S(t, r) || (this.customProperties[n] = t, await this.hooks.onPropertyChange(e, t, r), this.parent && (this.instance ? await this.parent.hooks.onPropertyChange(Wl("multipleRefProperty", this.nodeId, n), t, r, this.instance) : await this.parent.hooks.onPropertyChange(Wl("refProperty", this.nodeId, n), t, r)));
|
|
20922
21026
|
}
|
|
20923
21027
|
async setElementAdaptSlotProperty(e, t, n) {
|
|
20924
21028
|
if (!this.parent) throw W.notInSlot;
|
|
@@ -20928,7 +21032,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20928
21032
|
let o = { value: void 0 };
|
|
20929
21033
|
this.eventBus.emit(`property/${a}/get`, { result: o });
|
|
20930
21034
|
let s = o.value;
|
|
20931
|
-
|
|
21035
|
+
S(t, s) || (this.eventBus.emit(`property/${a}/set`, t), await this.hooks.onPropertyChange(e, t, s), this.kind === "elementSlot" ? await this.parent.hooks.onPropertyChange(Wl("elementSlotProperty", this.nodeId, n), t, s) : this.kind === "multipleElementSlot" && await this.parent.hooks.onPropertyChange(Wl("multipleElementSlotProperty", this.nodeId, n), t, s, this.instance));
|
|
20932
21036
|
}
|
|
20933
21037
|
async setCustomAdaptSlotProperty(e, t, n) {
|
|
20934
21038
|
if (!this.parent) throw W.notInSlot;
|
|
@@ -20936,7 +21040,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
20936
21040
|
if (!this.isEqualOfCustomSlot(r, i)) throw W.slotIncompatible;
|
|
20937
21041
|
if (!this.isValidOfCustomSlotProperty(r, i, a)) throw console.warn(`Sandbox/setCustomAdaptSlotProperty invalid custom slot property id=${e}`), W.invalidCustomSlotProperty;
|
|
20938
21042
|
let o = this.customSlotProperties[a];
|
|
20939
|
-
|
|
21043
|
+
S(t, o) || (this.customSlotProperties[a] = t, await this.hooks.onPropertyChange(e, t, o), this.kind === "customSlot" ? await this.parent.hooks.onPropertyChange(Wl("customSlotProperty", this.nodeId, n), t, o) : this.kind === "multipleCustomSlot" && await this.parent.hooks.onPropertyChange(Wl("multipleCustomSlotProperty", this.nodeId, n), t, o, this.instance));
|
|
20940
21044
|
}
|
|
20941
21045
|
isValidOfElementMethod(e, t) {
|
|
20942
21046
|
let n = dt(e);
|
|
@@ -21163,7 +21267,7 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21163
21267
|
}
|
|
21164
21268
|
states = {};
|
|
21165
21269
|
resetStates() {
|
|
21166
|
-
if (this.states = {}, this.meta.value?.states) for (let { id: e, type: t } of this.meta.value.states) this.states[e] =
|
|
21270
|
+
if (this.states = {}, this.meta.value?.states) for (let { id: e, type: t } of this.meta.value.states) this.states[e] = re(t);
|
|
21167
21271
|
}
|
|
21168
21272
|
isValidOfState(e) {
|
|
21169
21273
|
return this.meta.value ? !!this.meta.value.states?.find((t) => t.id === e) : !1;
|
|
@@ -21171,10 +21275,10 @@ var ol = "\nlet __events__ = {}\n\nfunction __onEventV1__(id, callback) {\n if
|
|
|
21171
21275
|
async getState(e) {
|
|
21172
21276
|
return this.states[e];
|
|
21173
21277
|
}
|
|
21174
|
-
async setState(
|
|
21175
|
-
if (this.debugTrace("setState",
|
|
21176
|
-
let r = this.states[
|
|
21177
|
-
|
|
21278
|
+
async setState(t, n) {
|
|
21279
|
+
if (this.debugTrace("setState", t, n), !this.isValidOfState(t)) throw console.warn(`Sandbox/setState invalid state id=${t}`), W.invalidState;
|
|
21280
|
+
let r = this.states[t];
|
|
21281
|
+
S(n, r) || (this.states[t] = e(n), await this.hooks.onStateChange(t, n, r), await ve());
|
|
21178
21282
|
}
|
|
21179
21283
|
};
|
|
21180
21284
|
//#endregion
|
|
@@ -21587,8 +21691,8 @@ var Cu = (e, t, n) => {
|
|
|
21587
21691
|
//#region src/i18n/index.ts
|
|
21588
21692
|
async function wu(e) {
|
|
21589
21693
|
return (await Cu(/* @__PURE__ */ Object.assign({
|
|
21590
|
-
"./locales/en/index.ts": () => import("./i18n-en.
|
|
21591
|
-
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.
|
|
21694
|
+
"./locales/en/index.ts": () => import("./i18n-en.n2njk5co.js").then((e) => e.t),
|
|
21695
|
+
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.cd4r40v6.js").then((e) => e.t)
|
|
21592
21696
|
}), `./locales/${e}/index.ts`, 4)).default;
|
|
21593
21697
|
}
|
|
21594
21698
|
//#endregion
|