@quickflo/quickforms-quasar 1.19.9 → 1.19.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SchemaUtils as gm, ComponentRegistry as D0, rankWith as We, hasConst as q0, hasXRender as Xt, isStringType as P0, isNumberType as _0, isBooleanType as B0, isEnumType as R0, isDateFormat as E0, isTimeFormat as L0, isDateTimeFormat as I0, isRecordType as V0, isJsonType as F0, isObjectType as N0, isArrayType as ch, hasOneOf as H0, hasAnyOf as z0, hasAllOf as j0 } from "@quickflo/quickforms";
|
|
2
2
|
import { ComponentRegistry as I2, SchemaUtils as V2, and as F2, hasAllOf as N2, hasAnyOf as H2, hasConditional as z2, hasConst as j2, hasExtension as W2, hasFormat as Q2, hasOneOf as U2, isArrayType as K2, isBooleanType as Y2, isDateFormat as G2, isDateTimeFormat as J2, isDiscriminatedUnion as X2, isEmailFormat as $2, isEnumType as Z2, isIntegerType as eD, isJsonType as tD, isNullType as iD, isNumberType as nD, isObjectType as rD, isRecordType as oD, isStringType as sD, isTimeFormat as lD, isUrlFormat as aD, not as uD, or as cD, rankWith as hD } from "@quickflo/quickforms";
|
|
3
|
-
import { computed as x, markRaw as pm, defineComponent as Pt, reactive as vm, h as O, withDirectives as
|
|
3
|
+
import { computed as x, markRaw as pm, defineComponent as Pt, reactive as vm, h as O, withDirectives as Vn, getCurrentInstance as je, ref as X, onMounted as Ai, watch as pe, onBeforeUpdate as ym, inject as jo, onBeforeUnmount as ht, nextTick as rt, onDeactivated as Wo, onActivated as ac, Transition as mi, provide as bm, createElementBlock as oe, openBlock as ee, normalizeStyle as kt, createVNode as $, mergeProps as ot, createSlots as Gi, withCtx as ue, createTextVNode as Le, createElementVNode as be, toDisplayString as Ce, toRaw as Un, createCommentVNode as ne, unref as W0, onUnmounted as Q0, Teleport as U0, onBeforeMount as K0, onUpdated as Y0, normalizeProps as G0, guardReactiveProps as J0, createBlock as gi, shallowReactive as X0, vShow as $0, normalizeClass as uc, Fragment as Vt, renderList as Pn, renderSlot as Cn, shallowRef as aa, withModifiers as hh } from "vue";
|
|
4
4
|
import { useFormContext as Z0, useFormField as ey, generateFieldId as ty, FieldRenderer as El, HiddenField as iy } from "@quickflo/quickforms-vue";
|
|
5
5
|
import { useFormContext as fD, useWatchFormValue as mD, useWatchFormValues as gD } from "@quickflo/quickforms-vue";
|
|
6
6
|
const tu = {
|
|
@@ -52,7 +52,7 @@ function ry(i, e) {
|
|
|
52
52
|
}
|
|
53
53
|
return e;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Mn(i, e) {
|
|
56
56
|
return i !== void 0 ? e.concat(i()) : e;
|
|
57
57
|
}
|
|
58
58
|
function oy(i, e) {
|
|
@@ -61,7 +61,7 @@ function oy(i, e) {
|
|
|
61
61
|
function sy(i, e, t, n, r, o) {
|
|
62
62
|
e.key = n + r;
|
|
63
63
|
const s = O(i, e, t);
|
|
64
|
-
return r === !0 ?
|
|
64
|
+
return r === !0 ? Vn(s, o()) : s;
|
|
65
65
|
}
|
|
66
66
|
const dh = "0 0 24 24", ua = (i) => i, ca = (i) => `ionicons ${i}`, xm = {
|
|
67
67
|
"mdi-": (i) => `mdi ${i}`,
|
|
@@ -169,19 +169,19 @@ const dh = "0 0 24 24", ua = (i) => i, ca = (i) => `ionicons ${i}`, xm = {
|
|
|
169
169
|
style: n.value,
|
|
170
170
|
"aria-hidden": "true"
|
|
171
171
|
};
|
|
172
|
-
return o.value.none === !0 ? O(i.tag, s, qt(e.default)) : o.value.img === !0 ? O(i.tag, s,
|
|
172
|
+
return o.value.none === !0 ? O(i.tag, s, qt(e.default)) : o.value.img === !0 ? O(i.tag, s, Mn(e.default, [
|
|
173
173
|
O("img", { src: o.value.src })
|
|
174
|
-
])) : o.value.svg === !0 ? O(i.tag, s,
|
|
174
|
+
])) : o.value.svg === !0 ? O(i.tag, s, Mn(e.default, [
|
|
175
175
|
O("svg", {
|
|
176
176
|
viewBox: o.value.viewBox || "0 0 24 24"
|
|
177
177
|
}, o.value.nodes)
|
|
178
|
-
])) : o.value.svguse === !0 ? O(i.tag, s,
|
|
178
|
+
])) : o.value.svguse === !0 ? O(i.tag, s, Mn(e.default, [
|
|
179
179
|
O("svg", {
|
|
180
180
|
viewBox: o.value.viewBox
|
|
181
181
|
}, [
|
|
182
182
|
O("use", { "xlink:href": o.value.src })
|
|
183
183
|
])
|
|
184
|
-
])) : (o.value.cls !== void 0 && (s.class += " " + o.value.cls), O(i.tag, s,
|
|
184
|
+
])) : (o.value.cls !== void 0 && (s.class += " " + o.value.cls), O(i.tag, s, Mn(e.default, [
|
|
185
185
|
o.value.content
|
|
186
186
|
])));
|
|
187
187
|
};
|
|
@@ -1793,9 +1793,9 @@ function eb(i, e) {
|
|
|
1793
1793
|
const { props: t, slots: n, emit: r, proxy: o } = je(), { $q: s } = o, l = Zi(t, s), a = X(null), { refocusTargetEl: u, refocusTarget: c } = Jy(t, a), h = Il(t, Xy), d = x(
|
|
1794
1794
|
() => t.val !== void 0 && Array.isArray(t.modelValue)
|
|
1795
1795
|
), f = x(() => {
|
|
1796
|
-
const B =
|
|
1797
|
-
return d.value === !0 ? t.modelValue.findIndex((q) =>
|
|
1798
|
-
}), m = x(() => d.value === !0 ? f.value !== -1 :
|
|
1796
|
+
const B = Un(t.val);
|
|
1797
|
+
return d.value === !0 ? t.modelValue.findIndex((q) => Un(q) === B) : -1;
|
|
1798
|
+
}), m = x(() => d.value === !0 ? f.value !== -1 : Un(t.modelValue) === Un(t.trueValue)), p = x(() => d.value === !0 ? f.value === -1 : Un(t.modelValue) === Un(t.falseValue)), g = x(
|
|
1799
1799
|
() => m.value === !1 && p.value === !1
|
|
1800
1800
|
), y = x(() => t.disable === !0 ? -1 : t.tabindex || 0), w = x(
|
|
1801
1801
|
() => `q-${i} cursor-pointer no-outline row inline no-wrap items-center` + (t.disable === !0 ? " disabled" : "") + (l.value === !0 ? ` q-${i}--dark` : "") + (t.dense === !0 ? ` q-${i}--dense` : "") + (t.leftLabel === !0 ? " reverse" : "")
|
|
@@ -1863,7 +1863,7 @@ function eb(i, e) {
|
|
|
1863
1863
|
}, B)
|
|
1864
1864
|
];
|
|
1865
1865
|
u.value !== null && q.push(u.value);
|
|
1866
|
-
const _ = t.label !== void 0 ?
|
|
1866
|
+
const _ = t.label !== void 0 ? Mn(n.default, [t.label]) : qt(n.default);
|
|
1867
1867
|
return _ !== void 0 && q.push(
|
|
1868
1868
|
O("div", {
|
|
1869
1869
|
class: `q-${i}__label q-anchor--skip`
|
|
@@ -3273,7 +3273,7 @@ function Rb(i, e, t) {
|
|
|
3273
3273
|
}
|
|
3274
3274
|
};
|
|
3275
3275
|
}
|
|
3276
|
-
let Zr = 0, pa, va, so, ya = !1, Ih, Vh, Fh,
|
|
3276
|
+
let Zr = 0, pa, va, so, ya = !1, Ih, Vh, Fh, jn = null;
|
|
3277
3277
|
function Eb(i) {
|
|
3278
3278
|
Lb(i) && ct(i);
|
|
3279
3279
|
}
|
|
@@ -3309,16 +3309,16 @@ function Hh(i) {
|
|
|
3309
3309
|
function Ib(i) {
|
|
3310
3310
|
let e = "add";
|
|
3311
3311
|
if (i === !0) {
|
|
3312
|
-
if (Zr++,
|
|
3313
|
-
clearTimeout(
|
|
3312
|
+
if (Zr++, jn !== null) {
|
|
3313
|
+
clearTimeout(jn), jn = null;
|
|
3314
3314
|
return;
|
|
3315
3315
|
}
|
|
3316
3316
|
if (Zr > 1) return;
|
|
3317
3317
|
} else {
|
|
3318
3318
|
if (Zr === 0 || (Zr--, Zr > 0)) return;
|
|
3319
3319
|
if (e = "remove", Tt.is.ios === !0 && Tt.is.nativeMobile === !0) {
|
|
3320
|
-
|
|
3321
|
-
Hh(e),
|
|
3320
|
+
jn !== null && clearTimeout(jn), jn = setTimeout(() => {
|
|
3321
|
+
Hh(e), jn = null;
|
|
3322
3322
|
}, 100);
|
|
3323
3323
|
return;
|
|
3324
3324
|
}
|
|
@@ -4088,7 +4088,7 @@ const Ko = Je({
|
|
|
4088
4088
|
} = jb({
|
|
4089
4089
|
virtualScrollLength: B,
|
|
4090
4090
|
getVirtualScrollTarget: vn,
|
|
4091
|
-
getVirtualScrollEl:
|
|
4091
|
+
getVirtualScrollEl: Nn,
|
|
4092
4092
|
virtualScrollItemSizeComputed: q
|
|
4093
4093
|
}), C = fc(), k = x(() => {
|
|
4094
4094
|
const D = i.mapOptions === !0 && i.multiple !== !0, de = i.modelValue !== void 0 && (i.modelValue !== null || D === !0) ? i.multiple === !0 && Array.isArray(i.modelValue) ? i.modelValue : [i.modelValue] : [];
|
|
@@ -4209,7 +4209,7 @@ const Ko = Je({
|
|
|
4209
4209
|
function Xe(D, de) {
|
|
4210
4210
|
const ge = ze(D);
|
|
4211
4211
|
if (i.multiple !== !0) {
|
|
4212
|
-
i.fillInput === !0 &&
|
|
4212
|
+
i.fillInput === !0 && zn(
|
|
4213
4213
|
Z.value(D),
|
|
4214
4214
|
!0,
|
|
4215
4215
|
!0
|
|
@@ -4229,7 +4229,7 @@ const Ko = Je({
|
|
|
4229
4229
|
if (C.editable.value !== !0 || D === void 0 || ye.value(D) === !0) return;
|
|
4230
4230
|
const ge = at.value(D);
|
|
4231
4231
|
if (i.multiple !== !0) {
|
|
4232
|
-
de !== !0 && (
|
|
4232
|
+
de !== !0 && (zn(
|
|
4233
4233
|
i.fillInput === !0 ? Z.value(D) : "",
|
|
4234
4234
|
!0,
|
|
4235
4235
|
!0
|
|
@@ -4266,7 +4266,7 @@ const Ko = Je({
|
|
|
4266
4266
|
B.value - 1
|
|
4267
4267
|
);
|
|
4268
4268
|
while (ge !== -1 && ge !== l.value && ye.value(i.options[ge]) === !0);
|
|
4269
|
-
l.value !== ge && (K(ge), U(ge), de !== !0 && i.useInput === !0 && i.fillInput === !0 &&
|
|
4269
|
+
l.value !== ge && (K(ge), U(ge), de !== !0 && i.useInput === !0 && i.fillInput === !0 && Hn(
|
|
4270
4270
|
ge >= 0 ? Z.value(i.options[ge]) : y,
|
|
4271
4271
|
!0
|
|
4272
4272
|
));
|
|
@@ -4345,7 +4345,7 @@ const Ko = Je({
|
|
|
4345
4345
|
gt = Qh(gt + 1, -1, Be - 1);
|
|
4346
4346
|
while (gt !== l.value && (ye.value(i.options[gt]) === !0 || Ze.test(Z.value(i.options[gt])) !== !0));
|
|
4347
4347
|
l.value !== gt && rt(() => {
|
|
4348
|
-
K(gt), U(gt), gt >= 0 && i.useInput === !0 && i.fillInput === !0 &&
|
|
4348
|
+
K(gt), U(gt), gt >= 0 && i.useInput === !0 && i.fillInput === !0 && Hn(Z.value(i.options[gt]), !0);
|
|
4349
4349
|
});
|
|
4350
4350
|
return;
|
|
4351
4351
|
}
|
|
@@ -4361,7 +4361,7 @@ const Ko = Je({
|
|
|
4361
4361
|
if (Uh(Ze) !== !0) return;
|
|
4362
4362
|
} else
|
|
4363
4363
|
Ze = i.newValueMode;
|
|
4364
|
-
if (
|
|
4364
|
+
if (zn("", i.multiple !== !0, !0), mt == null) return;
|
|
4365
4365
|
(Ze === "toggle" ? ut : Xe)(mt, Ze === "add-unique"), i.multiple !== !0 && ((mr = T.value) == null || mr.focus(), Fe());
|
|
4366
4366
|
};
|
|
4367
4367
|
if (i.onNewValue !== void 0 ? t("newValue", a.value, $e) : $e(a.value), i.multiple !== !0) return;
|
|
@@ -4369,11 +4369,11 @@ const Ko = Je({
|
|
|
4369
4369
|
o.value === !0 ? ve() : C.innerLoading.value !== !0 && Se();
|
|
4370
4370
|
}
|
|
4371
4371
|
}
|
|
4372
|
-
function
|
|
4372
|
+
function Nn() {
|
|
4373
4373
|
return m === !0 ? z.value : A.value !== null && A.value.contentEl !== null ? A.value.contentEl : void 0;
|
|
4374
4374
|
}
|
|
4375
4375
|
function vn() {
|
|
4376
|
-
return
|
|
4376
|
+
return Nn();
|
|
4377
4377
|
}
|
|
4378
4378
|
function os() {
|
|
4379
4379
|
return i.hideSelected === !0 ? [] : e["selected-item"] !== void 0 ? Bt.value.map((D) => e["selected-item"](D)).slice() : e.selected !== void 0 ? [].concat(e.selected()) : i.useChips === !0 ? Bt.value.map((D, de) => O(Nm, {
|
|
@@ -4411,7 +4411,7 @@ const Ko = Je({
|
|
|
4411
4411
|
)
|
|
4412
4412
|
));
|
|
4413
4413
|
let de = P("div", ft.value.map(D));
|
|
4414
|
-
return e["before-options"] !== void 0 && (de = e["before-options"]().concat(de)),
|
|
4414
|
+
return e["before-options"] !== void 0 && (de = e["before-options"]().concat(de)), Mn(e["after-options"], de);
|
|
4415
4415
|
}
|
|
4416
4416
|
function $r(D, de) {
|
|
4417
4417
|
const ge = de === !0 ? { ..._t.value, ...C.splitAttrs.attributes.value } : void 0, Be = {
|
|
@@ -4434,17 +4434,17 @@ const Ko = Je({
|
|
|
4434
4434
|
return D !== !0 && m === !0 && (Array.isArray(Be.class) === !0 ? Be.class = [...Be.class, "no-pointer-events"] : Be.class += " no-pointer-events"), O("input", Be);
|
|
4435
4435
|
}
|
|
4436
4436
|
function fr(D) {
|
|
4437
|
-
h !== null && (clearTimeout(h), h = null), d !== null && (clearTimeout(d), d = null), !(D && D.target && D.target.qComposing === !0) && (
|
|
4437
|
+
h !== null && (clearTimeout(h), h = null), d !== null && (clearTimeout(d), d = null), !(D && D.target && D.target.qComposing === !0) && (Hn(D.target.value || ""), p = !0, y = a.value, C.focused.value !== !0 && (m !== !0 || u.value === !0) && C.focus(), i.onFilter !== void 0 && (h = setTimeout(() => {
|
|
4438
4438
|
h = null, Ii(a.value);
|
|
4439
4439
|
}, i.inputDebounce)));
|
|
4440
4440
|
}
|
|
4441
|
-
function
|
|
4441
|
+
function Hn(D, de) {
|
|
4442
4442
|
a.value !== D && (a.value = D, de === !0 || i.inputDebounce === 0 || i.inputDebounce === "0" ? t("inputValue", D) : d = setTimeout(() => {
|
|
4443
4443
|
d = null, t("inputValue", D);
|
|
4444
4444
|
}, i.inputDebounce));
|
|
4445
4445
|
}
|
|
4446
|
-
function
|
|
4447
|
-
p = ge !== !0, i.useInput === !0 && (
|
|
4446
|
+
function zn(D, de, ge) {
|
|
4447
|
+
p = ge !== !0, i.useInput === !0 && (Hn(D, !0), (de === !0 || ge !== !0) && (y = D), de !== !0 && Ii(D));
|
|
4448
4448
|
}
|
|
4449
4449
|
function Ii(D, de, ge) {
|
|
4450
4450
|
if (i.onFilter === void 0 || de !== !0 && C.focused.value !== !0) return;
|
|
@@ -4583,7 +4583,7 @@ const Ko = Je({
|
|
|
4583
4583
|
s.value = !1, ve();
|
|
4584
4584
|
}
|
|
4585
4585
|
function bi() {
|
|
4586
|
-
i.useInput === !0 &&
|
|
4586
|
+
i.useInput === !0 && zn(
|
|
4587
4587
|
i.multiple !== !0 && i.fillInput === !0 && k.value.length !== 0 && Z.value(k.value[0]) || "",
|
|
4588
4588
|
!0,
|
|
4589
4589
|
!0
|
|
@@ -4630,7 +4630,7 @@ const Ko = Je({
|
|
|
4630
4630
|
moveOptionSelection: ie,
|
|
4631
4631
|
filter: Ii,
|
|
4632
4632
|
updateMenuPosition: sh,
|
|
4633
|
-
updateInputValue:
|
|
4633
|
+
updateInputValue: zn,
|
|
4634
4634
|
isOptionSelected: Me,
|
|
4635
4635
|
getEmittingOptionValue: ze,
|
|
4636
4636
|
isOptionDisabled: (...D) => ye.value.apply(null, D) === !0,
|
|
@@ -5183,7 +5183,7 @@ const It = Je({
|
|
|
5183
5183
|
})
|
|
5184
5184
|
), y.value === !0 && _.push(
|
|
5185
5185
|
O("span", { class: "block" }, [i.label])
|
|
5186
|
-
), _ =
|
|
5186
|
+
), _ = Mn(e.default, _), i.iconRight !== void 0 && i.round === !1 && _.push(
|
|
5187
5187
|
O(vt, {
|
|
5188
5188
|
name: i.iconRight,
|
|
5189
5189
|
right: i.stack !== !0 && y.value === !0,
|
|
@@ -5218,7 +5218,7 @@ const It = Je({
|
|
|
5218
5218
|
class: "absolute-full flex flex-center"
|
|
5219
5219
|
}, e.loading !== void 0 ? e.loading() : [O(Sm)])
|
|
5220
5220
|
] : null)
|
|
5221
|
-
),
|
|
5221
|
+
), Vn(
|
|
5222
5222
|
O(
|
|
5223
5223
|
u.value,
|
|
5224
5224
|
T.value,
|
|
@@ -5341,7 +5341,7 @@ function r1() {
|
|
|
5341
5341
|
}
|
|
5342
5342
|
};
|
|
5343
5343
|
}
|
|
5344
|
-
const
|
|
5344
|
+
const An = [
|
|
5345
5345
|
-61,
|
|
5346
5346
|
9,
|
|
5347
5347
|
38,
|
|
@@ -5376,20 +5376,20 @@ function Ns(i, e) {
|
|
|
5376
5376
|
return e <= 6 ? 31 : e <= 11 || s1(i) ? 30 : 29;
|
|
5377
5377
|
}
|
|
5378
5378
|
function l1(i) {
|
|
5379
|
-
const e =
|
|
5380
|
-
let t =
|
|
5381
|
-
if (i < t || i >=
|
|
5379
|
+
const e = An.length;
|
|
5380
|
+
let t = An[0], n, r, o, s, l;
|
|
5381
|
+
if (i < t || i >= An[e - 1])
|
|
5382
5382
|
throw new Error("Invalid Jalaali year " + i);
|
|
5383
|
-
for (l = 1; l < e && (n =
|
|
5383
|
+
for (l = 1; l < e && (n = An[l], r = n - t, !(i < n)); l += 1)
|
|
5384
5384
|
t = n;
|
|
5385
5385
|
return s = i - t, r - s < 6 && (s = s - r + nt(r + 4, 33) * 33), o = pi(pi(s + 1, 33) - 1, 4), o === -1 && (o = 4), o;
|
|
5386
5386
|
}
|
|
5387
5387
|
function og(i, e) {
|
|
5388
|
-
const t =
|
|
5389
|
-
let r = -14, o =
|
|
5390
|
-
if (i < o || i >=
|
|
5388
|
+
const t = An.length, n = i + 621;
|
|
5389
|
+
let r = -14, o = An[0], s, l, a, u, c;
|
|
5390
|
+
if (i < o || i >= An[t - 1])
|
|
5391
5391
|
throw new Error("Invalid Jalaali year " + i);
|
|
5392
|
-
for (c = 1; c < t && (s =
|
|
5392
|
+
for (c = 1; c < t && (s = An[c], l = s - o, !(i < s)); c += 1)
|
|
5393
5393
|
r = r + nt(l, 33) * 8 + nt(pi(l, 33), 4), o = s;
|
|
5394
5394
|
u = i - o, r = r + nt(u, 33) * 8 + nt(pi(u, 33) + 3, 4), pi(l, 33) === 4 && l - u === 4 && (r += 1);
|
|
5395
5395
|
const h = nt(n, 4) - nt((nt(n, 100) + 1) * 3, 4) - 150, d = 20 + r - h;
|
|
@@ -6358,9 +6358,9 @@ const mg = Je({
|
|
|
6358
6358
|
}), pe(() => b.value.year + "|" + b.value.month, () => {
|
|
6359
6359
|
t("navigation", { year: b.value.year, month: b.value.month });
|
|
6360
6360
|
}), pe(y, (M) => {
|
|
6361
|
-
|
|
6361
|
+
Hn(M, g.value, "mask"), p.value = M;
|
|
6362
6362
|
}), pe(w, (M) => {
|
|
6363
|
-
|
|
6363
|
+
Hn(p.value, M, "locale"), g.value = M;
|
|
6364
6364
|
});
|
|
6365
6365
|
function ye(M) {
|
|
6366
6366
|
h = JSON.stringify(M);
|
|
@@ -6483,7 +6483,7 @@ const mg = Je({
|
|
|
6483
6483
|
});
|
|
6484
6484
|
}));
|
|
6485
6485
|
}
|
|
6486
|
-
function
|
|
6486
|
+
function Nn(M, I, Q) {
|
|
6487
6487
|
const ae = M !== null && M.length === 1 && i.multiple === !1 ? M[0] : M, { reason: fe, details: De } = os(I, Q);
|
|
6488
6488
|
ye(ae), t("update:modelValue", ae, fe, De);
|
|
6489
6489
|
}
|
|
@@ -6525,7 +6525,7 @@ const mg = Je({
|
|
|
6525
6525
|
}
|
|
6526
6526
|
else
|
|
6527
6527
|
I = en(M);
|
|
6528
|
-
|
|
6528
|
+
Nn(I, "add", M);
|
|
6529
6529
|
}
|
|
6530
6530
|
function fr(M) {
|
|
6531
6531
|
if (i.noUnset === !0) return;
|
|
@@ -6536,13 +6536,13 @@ const mg = Je({
|
|
|
6536
6536
|
(ae) => ae.from !== void 0 ? ae.from !== Q.from && ae.to !== Q.to : !0
|
|
6537
6537
|
) : I = i.modelValue.filter((ae) => ae !== Q), I.length === 0 && (I = null);
|
|
6538
6538
|
}
|
|
6539
|
-
|
|
6539
|
+
Nn(I, "remove", M);
|
|
6540
6540
|
}
|
|
6541
|
-
function
|
|
6541
|
+
function Hn(M, I, Q) {
|
|
6542
6542
|
const ae = P.value.concat(L.value).map((De) => en(De, M, I)).filter((De) => De.from !== void 0 ? De.from.dateHash !== null && De.to.dateHash !== null : De.dateHash !== null), fe = (i.multiple === !0 ? ae : ae[0]) || null;
|
|
6543
6543
|
ye(fe), t("update:modelValue", fe, Q);
|
|
6544
6544
|
}
|
|
6545
|
-
function
|
|
6545
|
+
function zn() {
|
|
6546
6546
|
if (i.minimal !== !0)
|
|
6547
6547
|
return O("div", {
|
|
6548
6548
|
class: "q-date__header " + a.value
|
|
@@ -6887,7 +6887,7 @@ const mg = Je({
|
|
|
6887
6887
|
class: B.value,
|
|
6888
6888
|
...Z.value
|
|
6889
6889
|
}, [
|
|
6890
|
-
|
|
6890
|
+
zn(),
|
|
6891
6891
|
O("div", {
|
|
6892
6892
|
ref: m,
|
|
6893
6893
|
class: "q-date__main col column",
|
|
@@ -6970,7 +6970,7 @@ function y1(i, e, t, n, r, o) {
|
|
|
6970
6970
|
}, {
|
|
6971
6971
|
default: ue(() => [
|
|
6972
6972
|
be("div", v1, [
|
|
6973
|
-
|
|
6973
|
+
Vn($(
|
|
6974
6974
|
It,
|
|
6975
6975
|
{
|
|
6976
6976
|
label: "Close",
|
|
@@ -7299,8 +7299,8 @@ const gg = Je({
|
|
|
7299
7299
|
v.value === "hour" ? N.value === !0 ? (K = 0, ie = 23) : (K = 0, ie = 11, S.value === !1 && (xe = 12)) : (K = 0, ie = 55, Me = 5);
|
|
7300
7300
|
const Ht = [];
|
|
7301
7301
|
for (let qe = K, tt = K; qe <= ie; qe += Me, tt++) {
|
|
7302
|
-
const Rt = qe + xe,
|
|
7303
|
-
Ht.push({ val: Rt, index: tt, disable:
|
|
7302
|
+
const Rt = qe + xe, Nn = (Re == null ? void 0 : Re.includes(Rt)) === !1, vn = v.value === "hour" && qe === 0 ? N.value === !0 ? "00" : "12" : qe;
|
|
7303
|
+
Ht.push({ val: Rt, index: tt, disable: Nn, label: vn });
|
|
7304
7304
|
}
|
|
7305
7305
|
return Ht;
|
|
7306
7306
|
}), F = x(() => [[
|
|
@@ -7629,7 +7629,7 @@ const gg = Je({
|
|
|
7629
7629
|
ref: m,
|
|
7630
7630
|
class: "q-time__container-child fit overflow-hidden"
|
|
7631
7631
|
}, [
|
|
7632
|
-
|
|
7632
|
+
Vn(
|
|
7633
7633
|
O("div", {
|
|
7634
7634
|
class: "q-time__clock cursor-pointer non-selectable",
|
|
7635
7635
|
onClick: Gt,
|
|
@@ -7749,7 +7749,7 @@ function O1(i, e, t, n, r, o) {
|
|
|
7749
7749
|
}, {
|
|
7750
7750
|
default: ue(() => [
|
|
7751
7751
|
be("div", A1, [
|
|
7752
|
-
|
|
7752
|
+
Vn($(
|
|
7753
7753
|
It,
|
|
7754
7754
|
{
|
|
7755
7755
|
label: "Close",
|
|
@@ -8004,7 +8004,7 @@ function _1(i, e, t, n, r, o) {
|
|
|
8004
8004
|
dense: "",
|
|
8005
8005
|
onClick: n.setNow
|
|
8006
8006
|
}),
|
|
8007
|
-
|
|
8007
|
+
Vn($(
|
|
8008
8008
|
It,
|
|
8009
8009
|
{
|
|
8010
8010
|
label: "Done",
|
|
@@ -8108,7 +8108,7 @@ const od = /* @__PURE__ */ Kt(q1, [["render", _1], ["__scopeId", "data-v-76abc7a
|
|
|
8108
8108
|
onLeave: m
|
|
8109
8109
|
}, e.default);
|
|
8110
8110
|
}
|
|
8111
|
-
}),
|
|
8111
|
+
}), Wn = X0({}), R1 = Object.keys(vc), E1 = Je({
|
|
8112
8112
|
name: "QExpansionItem",
|
|
8113
8113
|
props: {
|
|
8114
8114
|
...vc,
|
|
@@ -8199,17 +8199,17 @@ const od = /* @__PURE__ */ Kt(q1, [["render", _1], ["__scopeId", "data-v-76abc7a
|
|
|
8199
8199
|
t("afterHide");
|
|
8200
8200
|
}
|
|
8201
8201
|
function R() {
|
|
8202
|
-
h === void 0 && (h = el()), o.value === !0 && (
|
|
8202
|
+
h === void 0 && (h = el()), o.value === !0 && (Wn[i.group] = h);
|
|
8203
8203
|
const P = pe(o, (U) => {
|
|
8204
|
-
U === !0 ?
|
|
8204
|
+
U === !0 ? Wn[i.group] = h : Wn[i.group] === h && delete Wn[i.group];
|
|
8205
8205
|
}), L = pe(
|
|
8206
|
-
() =>
|
|
8206
|
+
() => Wn[i.group],
|
|
8207
8207
|
(U, F) => {
|
|
8208
8208
|
F === h && U !== void 0 && U !== h && u();
|
|
8209
8209
|
}
|
|
8210
8210
|
);
|
|
8211
8211
|
d = () => {
|
|
8212
|
-
P(), L(),
|
|
8212
|
+
P(), L(), Wn[i.group] === h && delete Wn[i.group], d = void 0;
|
|
8213
8213
|
};
|
|
8214
8214
|
}
|
|
8215
8215
|
function B() {
|
|
@@ -8271,7 +8271,7 @@ const od = /* @__PURE__ */ Kt(q1, [["render", _1], ["__scopeId", "data-v-76abc7a
|
|
|
8271
8271
|
)), O(Mo, P, q);
|
|
8272
8272
|
}
|
|
8273
8273
|
function H() {
|
|
8274
|
-
return
|
|
8274
|
+
return Vn(
|
|
8275
8275
|
O("div", {
|
|
8276
8276
|
key: "e-content",
|
|
8277
8277
|
class: "q-expansion-item__content relative-position",
|
|
@@ -8437,7 +8437,7 @@ function Q1(i, e, t, n, r, o) {
|
|
|
8437
8437
|
}, null, 8, z1)) : ne("v-if", !0)
|
|
8438
8438
|
]),
|
|
8439
8439
|
ne(" Slot for additional header actions (e.g., template toggle buttons) "),
|
|
8440
|
-
|
|
8440
|
+
Cn(i.$slots, "header-actions", {}, void 0, !0)
|
|
8441
8441
|
])
|
|
8442
8442
|
]),
|
|
8443
8443
|
default: ue(() => [
|
|
@@ -8445,7 +8445,7 @@ function Q1(i, e, t, n, r, o) {
|
|
|
8445
8445
|
(ee(!0), oe(
|
|
8446
8446
|
Vt,
|
|
8447
8447
|
null,
|
|
8448
|
-
|
|
8448
|
+
Pn(n.properties, (s) => (ee(), gi(n.FieldRenderer, {
|
|
8449
8449
|
key: s.key,
|
|
8450
8450
|
schema: s.schema,
|
|
8451
8451
|
path: s.path,
|
|
@@ -8806,7 +8806,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
|
|
|
8806
8806
|
}, Z1 = { class: "quickform-array-header-actions" }, ex = {
|
|
8807
8807
|
key: 1,
|
|
8808
8808
|
style: { "text-align": "left", "margin-top": "0.5rem" }
|
|
8809
|
-
}, tx = ["innerHTML"], ix = { class: "quickform-array-content" }, nx = { class: "quickform-array-items" }, rx = { class: "
|
|
8809
|
+
}, tx = ["innerHTML"], ix = { class: "quickform-array-content" }, nx = { class: "quickform-array-items" }, rx = { class: "quickform-array-item-actions" }, ox = { class: "quickform-array-item-content" }, sx = {
|
|
8810
8810
|
key: 0,
|
|
8811
8811
|
class: "quickform-array-empty"
|
|
8812
8812
|
}, lx = {
|
|
@@ -8833,7 +8833,7 @@ function ax(i, e, t, n, r, o) {
|
|
|
8833
8833
|
]),
|
|
8834
8834
|
be("div", Z1, [
|
|
8835
8835
|
ne(" Slot for additional header actions (e.g., template toggle buttons) "),
|
|
8836
|
-
|
|
8836
|
+
Cn(i.$slots, "header-actions", {}, void 0, !0),
|
|
8837
8837
|
ne(" Add button on same line only for top-right "),
|
|
8838
8838
|
n.isTopPosition && n.isRightPosition ? (ee(), gi(n.QBtn, ot({ key: 0 }, n.quickformsFeatures.addButton, {
|
|
8839
8839
|
disable: !n.canAdd,
|
|
@@ -8860,7 +8860,7 @@ function ax(i, e, t, n, r, o) {
|
|
|
8860
8860
|
(ee(!0), oe(
|
|
8861
8861
|
Vt,
|
|
8862
8862
|
null,
|
|
8863
|
-
|
|
8863
|
+
Pn(n.arrayValue, (s, l) => (ee(), gi(
|
|
8864
8864
|
n.QCard,
|
|
8865
8865
|
ot({
|
|
8866
8866
|
key: n.getItemKey(s, l),
|
|
@@ -8871,32 +8871,21 @@ function ax(i, e, t, n, r, o) {
|
|
|
8871
8871
|
default: ue(() => [
|
|
8872
8872
|
$(
|
|
8873
8873
|
n.QCardSection,
|
|
8874
|
-
{ class: "
|
|
8874
|
+
{ class: "quickform-array-item" },
|
|
8875
8875
|
{
|
|
8876
8876
|
default: ue(() => {
|
|
8877
8877
|
var a, u;
|
|
8878
8878
|
return [
|
|
8879
8879
|
be("div", rx, [
|
|
8880
|
-
|
|
8880
|
+
ne(" Slot for additional per-item actions (e.g., template toggle) "),
|
|
8881
|
+
Cn(i.$slots, "item-actions", {
|
|
8881
8882
|
item: s,
|
|
8882
8883
|
index: l,
|
|
8883
|
-
schema: n.itemsSchema,
|
|
8884
8884
|
path: `${t.path}[${l}]`,
|
|
8885
|
-
label: n.getItemLabel(l),
|
|
8886
8885
|
disabled: t.disabled,
|
|
8887
8886
|
readonly: t.readonly,
|
|
8888
8887
|
updateItem: (c) => n.updateItem(l, c)
|
|
8889
|
-
},
|
|
8890
|
-
$(n.FieldRenderer, {
|
|
8891
|
-
schema: n.itemsSchema,
|
|
8892
|
-
path: `${t.path}[${l}]`,
|
|
8893
|
-
label: n.getItemLabel(l),
|
|
8894
|
-
disabled: t.disabled,
|
|
8895
|
-
readonly: t.readonly
|
|
8896
|
-
}, null, 8, ["schema", "path", "label", "disabled", "readonly"])
|
|
8897
|
-
], !0)
|
|
8898
|
-
]),
|
|
8899
|
-
be("div", ox, [
|
|
8888
|
+
}, void 0, !0),
|
|
8900
8889
|
$(n.QBtn, {
|
|
8901
8890
|
flat: "",
|
|
8902
8891
|
round: "",
|
|
@@ -8973,6 +8962,26 @@ function ax(i, e, t, n, r, o) {
|
|
|
8973
8962
|
_: 1
|
|
8974
8963
|
/* STABLE */
|
|
8975
8964
|
}, 16, ["disable", "onClick", "title"])
|
|
8965
|
+
]),
|
|
8966
|
+
be("div", ox, [
|
|
8967
|
+
Cn(i.$slots, "item-content", {
|
|
8968
|
+
item: s,
|
|
8969
|
+
index: l,
|
|
8970
|
+
schema: n.itemsSchema,
|
|
8971
|
+
path: `${t.path}[${l}]`,
|
|
8972
|
+
label: n.getItemLabel(l),
|
|
8973
|
+
disabled: t.disabled,
|
|
8974
|
+
readonly: t.readonly,
|
|
8975
|
+
updateItem: (c) => n.updateItem(l, c)
|
|
8976
|
+
}, () => [
|
|
8977
|
+
$(n.FieldRenderer, {
|
|
8978
|
+
schema: n.itemsSchema,
|
|
8979
|
+
path: `${t.path}[${l}]`,
|
|
8980
|
+
label: n.getItemLabel(l),
|
|
8981
|
+
disabled: t.disabled,
|
|
8982
|
+
readonly: t.readonly
|
|
8983
|
+
}, null, 8, ["schema", "path", "label", "disabled", "readonly"])
|
|
8984
|
+
], !0)
|
|
8976
8985
|
])
|
|
8977
8986
|
];
|
|
8978
8987
|
}),
|
|
@@ -9251,7 +9260,7 @@ function xx(i, e, t, n, r, o) {
|
|
|
9251
9260
|
(ee(!0), oe(
|
|
9252
9261
|
Vt,
|
|
9253
9262
|
null,
|
|
9254
|
-
|
|
9263
|
+
Pn(n.pairs, (s) => {
|
|
9255
9264
|
var l, a;
|
|
9256
9265
|
return ee(), oe("div", {
|
|
9257
9266
|
key: s.id,
|
|
@@ -10084,7 +10093,7 @@ class St extends Yi {
|
|
|
10084
10093
|
let c = Math.min(o.len, a - l);
|
|
10085
10094
|
jt(r, c, -1);
|
|
10086
10095
|
let h = o.ins == -1 ? -1 : o.off == 0 ? o.ins : 0;
|
|
10087
|
-
jt(t, c, h), h > 0 &&
|
|
10096
|
+
jt(t, c, h), h > 0 && On(n, t, o.text), o.forward(c), l += c;
|
|
10088
10097
|
}
|
|
10089
10098
|
let u = e[s++];
|
|
10090
10099
|
for (; l < u; ) {
|
|
@@ -10138,7 +10147,7 @@ class St extends Yi {
|
|
|
10138
10147
|
let m = f ? typeof f == "string" ? He.of(f.split(n || hu)) : f : He.empty, p = m.length;
|
|
10139
10148
|
if (h == d && p == 0)
|
|
10140
10149
|
return;
|
|
10141
|
-
h < s && a(), h > s && jt(r, h - s, -1), jt(r, d - h, p),
|
|
10150
|
+
h < s && a(), h > s && jt(r, h - s, -1), jt(r, d - h, p), On(o, r, m), s = d;
|
|
10142
10151
|
}
|
|
10143
10152
|
}
|
|
10144
10153
|
return u(e), a(!l), l;
|
|
@@ -10188,7 +10197,7 @@ function jt(i, e, t, n = !1) {
|
|
|
10188
10197
|
let r = i.length - 2;
|
|
10189
10198
|
r >= 0 && t <= 0 && t == i[r + 1] ? i[r] += e : r >= 0 && e == 0 && i[r] == 0 ? i[r + 1] += t : n ? (i[r] += e, i[r + 1] += t) : i.push(e, t);
|
|
10190
10199
|
}
|
|
10191
|
-
function
|
|
10200
|
+
function On(i, e, t) {
|
|
10192
10201
|
if (t.length == 0)
|
|
10193
10202
|
return;
|
|
10194
10203
|
let n = e.length - 2 >> 1;
|
|
@@ -10226,7 +10235,7 @@ function fu(i, e, t, n = !1) {
|
|
|
10226
10235
|
let u = l.len;
|
|
10227
10236
|
for (jt(r, l.ins, -1); u; ) {
|
|
10228
10237
|
let c = Math.min(s.len, u);
|
|
10229
|
-
s.ins >= 0 && a < s.i && s.len <= c && (jt(r, 0, s.ins), o &&
|
|
10238
|
+
s.ins >= 0 && a < s.i && s.len <= c && (jt(r, 0, s.ins), o && On(o, r, s.text), a = s.i), s.forward(c), u -= c;
|
|
10230
10239
|
}
|
|
10231
10240
|
l.next();
|
|
10232
10241
|
} else if (s.ins >= 0) {
|
|
@@ -10239,7 +10248,7 @@ function fu(i, e, t, n = !1) {
|
|
|
10239
10248
|
c -= l.len, l.next();
|
|
10240
10249
|
else
|
|
10241
10250
|
break;
|
|
10242
|
-
jt(r, u, a < s.i ? s.ins : 0), o && a < s.i &&
|
|
10251
|
+
jt(r, u, a < s.i ? s.ins : 0), o && a < s.i && On(o, r, s.text), a = s.i, s.forward(s.len - c);
|
|
10243
10252
|
} else {
|
|
10244
10253
|
if (s.done && l.done)
|
|
10245
10254
|
return o ? St.createSet(r, o) : Yi.create(r);
|
|
@@ -10255,7 +10264,7 @@ function Sg(i, e, t = !1) {
|
|
|
10255
10264
|
if (o.ins == 0)
|
|
10256
10265
|
jt(n, o.len, 0, l), o.next();
|
|
10257
10266
|
else if (s.len == 0 && !s.done)
|
|
10258
|
-
jt(n, 0, s.ins, l), r &&
|
|
10267
|
+
jt(n, 0, s.ins, l), r && On(r, n, s.text), s.next();
|
|
10259
10268
|
else {
|
|
10260
10269
|
if (o.done || s.done)
|
|
10261
10270
|
throw new Error("Mismatched change set lengths");
|
|
@@ -10263,8 +10272,8 @@ function Sg(i, e, t = !1) {
|
|
|
10263
10272
|
let a = Math.min(o.len2, s.len), u = n.length;
|
|
10264
10273
|
if (o.ins == -1) {
|
|
10265
10274
|
let c = s.ins == -1 ? -1 : s.off ? 0 : s.ins;
|
|
10266
|
-
jt(n, a, c, l), r && c &&
|
|
10267
|
-
} else s.ins == -1 ? (jt(n, o.off ? 0 : o.len, a, l), r &&
|
|
10275
|
+
jt(n, a, c, l), r && c && On(r, n, s.text);
|
|
10276
|
+
} else s.ins == -1 ? (jt(n, o.off ? 0 : o.len, a, l), r && On(r, n, o.textBit(a))) : (jt(n, o.off ? 0 : o.len, s.off ? 0 : s.ins, l), r && !s.off && On(r, n, s.text));
|
|
10268
10277
|
l = (o.ins > a || s.ins >= 0 && s.len > a) && (l || n.length > u), o.forward2(a), s.forward(a);
|
|
10269
10278
|
}
|
|
10270
10279
|
}
|
|
@@ -10707,7 +10716,7 @@ class Mt {
|
|
|
10707
10716
|
return this;
|
|
10708
10717
|
}
|
|
10709
10718
|
}
|
|
10710
|
-
const
|
|
10719
|
+
const Yn = { lowest: 4, low: 3, default: 2, high: 1, highest: 0 };
|
|
10711
10720
|
function to(i) {
|
|
10712
10721
|
return (e) => new Mg(e, i);
|
|
10713
10722
|
}
|
|
@@ -10716,26 +10725,26 @@ const dr = {
|
|
|
10716
10725
|
The highest precedence level, for extensions that should end up
|
|
10717
10726
|
near the start of the precedence ordering.
|
|
10718
10727
|
*/
|
|
10719
|
-
highest: /* @__PURE__ */ to(
|
|
10728
|
+
highest: /* @__PURE__ */ to(Yn.highest),
|
|
10720
10729
|
/**
|
|
10721
10730
|
A higher-than-default precedence, for extensions that should
|
|
10722
10731
|
come before those with default precedence.
|
|
10723
10732
|
*/
|
|
10724
|
-
high: /* @__PURE__ */ to(
|
|
10733
|
+
high: /* @__PURE__ */ to(Yn.high),
|
|
10725
10734
|
/**
|
|
10726
10735
|
The default precedence, which is also used for extensions
|
|
10727
10736
|
without an explicit precedence.
|
|
10728
10737
|
*/
|
|
10729
|
-
default: /* @__PURE__ */ to(
|
|
10738
|
+
default: /* @__PURE__ */ to(Yn.default),
|
|
10730
10739
|
/**
|
|
10731
10740
|
A lower-than-default precedence.
|
|
10732
10741
|
*/
|
|
10733
|
-
low: /* @__PURE__ */ to(
|
|
10742
|
+
low: /* @__PURE__ */ to(Yn.low),
|
|
10734
10743
|
/**
|
|
10735
10744
|
The lowest precedence level. Meant for things that should end up
|
|
10736
10745
|
near the end of the extension order.
|
|
10737
10746
|
*/
|
|
10738
|
-
lowest: /* @__PURE__ */ to(
|
|
10747
|
+
lowest: /* @__PURE__ */ to(Yn.lowest)
|
|
10739
10748
|
};
|
|
10740
10749
|
class Mg {
|
|
10741
10750
|
constructor(e, t) {
|
|
@@ -10835,7 +10844,7 @@ function qx(i, e, t) {
|
|
|
10835
10844
|
else if (s instanceof Mt)
|
|
10836
10845
|
n[l].push(s), s.provides && o(s.provides, l);
|
|
10837
10846
|
else if (s instanceof js)
|
|
10838
|
-
n[l].push(s), s.facet.extensions && o(s.facet.extensions,
|
|
10847
|
+
n[l].push(s), s.facet.extensions && o(s.facet.extensions, Yn.default);
|
|
10839
10848
|
else {
|
|
10840
10849
|
let u = s.extension;
|
|
10841
10850
|
if (!u)
|
|
@@ -10843,7 +10852,7 @@ function qx(i, e, t) {
|
|
|
10843
10852
|
o(u, l);
|
|
10844
10853
|
}
|
|
10845
10854
|
}
|
|
10846
|
-
return o(i,
|
|
10855
|
+
return o(i, Yn.default), n.reduce((s, l) => s.concat(l));
|
|
10847
10856
|
}
|
|
10848
10857
|
function po(i, e) {
|
|
10849
10858
|
if (e & 1)
|
|
@@ -12016,7 +12025,7 @@ function wu(i, e, t, n) {
|
|
|
12016
12025
|
return n === !0 ? -1 : i.length;
|
|
12017
12026
|
}
|
|
12018
12027
|
const Su = "ͼ", vd = typeof Symbol > "u" ? "__" + Su : Symbol.for(Su), Cu = typeof Symbol > "u" ? "__styleSet" + Math.floor(Math.random() * 1e8) : Symbol("styleSet"), yd = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : {};
|
|
12019
|
-
class
|
|
12028
|
+
class Bn {
|
|
12020
12029
|
// :: (Object<Style>, ?{finish: ?(string) → string})
|
|
12021
12030
|
// Create a style module from the given spec.
|
|
12022
12031
|
//
|
|
@@ -12121,7 +12130,7 @@ class Hx {
|
|
|
12121
12130
|
this.styleTag && this.styleTag.getAttribute("nonce") != e && this.styleTag.setAttribute("nonce", e);
|
|
12122
12131
|
}
|
|
12123
12132
|
}
|
|
12124
|
-
var
|
|
12133
|
+
var Rn = {
|
|
12125
12134
|
8: "Backspace",
|
|
12126
12135
|
9: "Tab",
|
|
12127
12136
|
10: "Enter",
|
|
@@ -12200,13 +12209,13 @@ var Bn = {
|
|
|
12200
12209
|
221: "}",
|
|
12201
12210
|
222: '"'
|
|
12202
12211
|
}, zx = typeof navigator < "u" && /Mac/.test(navigator.platform), jx = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
12203
|
-
for (var Ft = 0; Ft < 10; Ft++)
|
|
12204
|
-
for (var Ft = 1; Ft <= 24; Ft++)
|
|
12212
|
+
for (var Ft = 0; Ft < 10; Ft++) Rn[48 + Ft] = Rn[96 + Ft] = String(Ft);
|
|
12213
|
+
for (var Ft = 1; Ft <= 24; Ft++) Rn[Ft + 111] = "F" + Ft;
|
|
12205
12214
|
for (var Ft = 65; Ft <= 90; Ft++)
|
|
12206
|
-
|
|
12207
|
-
for (var Da in
|
|
12215
|
+
Rn[Ft] = String.fromCharCode(Ft + 32), qo[Ft] = String.fromCharCode(Ft);
|
|
12216
|
+
for (var Da in Rn) qo.hasOwnProperty(Da) || (qo[Da] = Rn[Da]);
|
|
12208
12217
|
function Wx(i) {
|
|
12209
|
-
var e = zx && i.metaKey && i.shiftKey && !i.ctrlKey && !i.altKey || jx && i.shiftKey && i.key && i.key.length == 1 || i.key == "Unidentified", t = !e && i.key || (i.shiftKey ? qo :
|
|
12218
|
+
var e = zx && i.metaKey && i.shiftKey && !i.ctrlKey && !i.altKey || jx && i.shiftKey && i.key && i.key.length == 1 || i.key == "Unidentified", t = !e && i.key || (i.shiftKey ? qo : Rn)[i.keyCode] || i.key || "Unidentified";
|
|
12210
12219
|
return t == "Esc" && (t = "Escape"), t == "Del" && (t = "Delete"), t == "Left" && (t = "ArrowLeft"), t == "Up" && (t = "ArrowUp"), t == "Right" && (t = "ArrowRight"), t == "Down" && (t = "ArrowDown"), t;
|
|
12211
12220
|
}
|
|
12212
12221
|
function Ye() {
|
|
@@ -12412,22 +12421,22 @@ class Gx {
|
|
|
12412
12421
|
this.anchorNode = e, this.anchorOffset = t, this.focusNode = n, this.focusOffset = r;
|
|
12413
12422
|
}
|
|
12414
12423
|
}
|
|
12415
|
-
let
|
|
12416
|
-
ce.safari && ce.safari_version >= 26 && (
|
|
12424
|
+
let Kn = null;
|
|
12425
|
+
ce.safari && ce.safari_version >= 26 && (Kn = !1);
|
|
12417
12426
|
function Fg(i) {
|
|
12418
12427
|
if (i.setActive)
|
|
12419
12428
|
return i.setActive();
|
|
12420
|
-
if (
|
|
12421
|
-
return i.focus(
|
|
12429
|
+
if (Kn)
|
|
12430
|
+
return i.focus(Kn);
|
|
12422
12431
|
let e = [];
|
|
12423
12432
|
for (let t = i; t && (e.push(t, t.scrollTop, t.scrollLeft), t != t.ownerDocument); t = t.parentNode)
|
|
12424
12433
|
;
|
|
12425
|
-
if (i.focus(
|
|
12434
|
+
if (i.focus(Kn == null ? {
|
|
12426
12435
|
get preventScroll() {
|
|
12427
|
-
return
|
|
12436
|
+
return Kn = { preventScroll: !0 }, !0;
|
|
12428
12437
|
}
|
|
12429
|
-
} : void 0), !
|
|
12430
|
-
|
|
12438
|
+
} : void 0), !Kn) {
|
|
12439
|
+
Kn = !1;
|
|
12431
12440
|
for (let t = 0; t < e.length; ) {
|
|
12432
12441
|
let n = e[t++], r = e[t++], o = e[t++];
|
|
12433
12442
|
n.scrollTop != r && (n.scrollTop = r), n.scrollLeft != o && (n.scrollLeft = o);
|
|
@@ -13143,7 +13152,7 @@ class ke extends sr {
|
|
|
13143
13152
|
*/
|
|
13144
13153
|
static widget(e) {
|
|
13145
13154
|
let t = Math.max(-1e4, Math.min(1e4, e.side || 0)), n = !!e.block;
|
|
13146
|
-
return t += n && !e.inlineOrder ? t > 0 ? 3e8 : -4e8 : t > 0 ? 1e8 : -1e8, new
|
|
13155
|
+
return t += n && !e.inlineOrder ? t > 0 ? 3e8 : -4e8 : t > 0 ? 1e8 : -1e8, new En(e, t, t, n, e.widget || null, !1);
|
|
13147
13156
|
}
|
|
13148
13157
|
/**
|
|
13149
13158
|
Create a replace decoration which replaces the given range with
|
|
@@ -13157,7 +13166,7 @@ class ke extends sr {
|
|
|
13157
13166
|
let { start: o, end: s } = Jg(e, t);
|
|
13158
13167
|
n = (o ? t ? -3e8 : -1 : 5e8) - 1, r = (s ? t ? 2e8 : 1 : -6e8) + 1;
|
|
13159
13168
|
}
|
|
13160
|
-
return new
|
|
13169
|
+
return new En(e, n, r, t, e.widget || null, !0);
|
|
13161
13170
|
}
|
|
13162
13171
|
/**
|
|
13163
13172
|
Create a line decoration, which can add DOM attributes to the
|
|
@@ -13213,7 +13222,7 @@ class Xo extends ke {
|
|
|
13213
13222
|
}
|
|
13214
13223
|
Xo.prototype.mapMode = ti.TrackBefore;
|
|
13215
13224
|
Xo.prototype.point = !0;
|
|
13216
|
-
class
|
|
13225
|
+
class En extends ke {
|
|
13217
13226
|
constructor(e, t, n, r, o, s) {
|
|
13218
13227
|
super(t, n, o, e), this.block = r, this.isReplace = s, this.mapMode = r ? t <= 0 ? ti.TrackBefore : ti.TrackAfter : ti.TrackDel;
|
|
13219
13228
|
}
|
|
@@ -13225,7 +13234,7 @@ class Rn extends ke {
|
|
|
13225
13234
|
return this.block || !!this.widget && (this.widget.estimatedHeight >= 5 || this.widget.lineBreaks > 0);
|
|
13226
13235
|
}
|
|
13227
13236
|
eq(e) {
|
|
13228
|
-
return e instanceof
|
|
13237
|
+
return e instanceof En && nk(this.widget, e.widget) && this.block == e.block && this.startSide == e.startSide && this.endSide == e.endSide;
|
|
13229
13238
|
}
|
|
13230
13239
|
range(e, t = e) {
|
|
13231
13240
|
if (this.isReplace && (e > t || e == t && this.startSide > 0 && this.endSide <= 0))
|
|
@@ -13235,7 +13244,7 @@ class Rn extends ke {
|
|
|
13235
13244
|
return super.range(e, t);
|
|
13236
13245
|
}
|
|
13237
13246
|
}
|
|
13238
|
-
|
|
13247
|
+
En.prototype.point = !0;
|
|
13239
13248
|
function Jg(i, e = !1) {
|
|
13240
13249
|
let { inclusiveStart: t, inclusiveEnd: n } = i;
|
|
13241
13250
|
return t == null && (t = i.inclusive), n == null && (n = i.inclusive), { start: t ?? e, end: n ?? e };
|
|
@@ -13477,14 +13486,14 @@ class yo {
|
|
|
13477
13486
|
this.buildText(t - e, n, r), this.pos = t, this.openStart < 0 && (this.openStart = r);
|
|
13478
13487
|
}
|
|
13479
13488
|
point(e, t, n, r, o, s) {
|
|
13480
|
-
if (this.disallowBlockEffectsFor[s] && n instanceof
|
|
13489
|
+
if (this.disallowBlockEffectsFor[s] && n instanceof En) {
|
|
13481
13490
|
if (n.block)
|
|
13482
13491
|
throw new RangeError("Block decorations may not be specified via plugins");
|
|
13483
13492
|
if (t > this.doc.lineAt(this.pos).to)
|
|
13484
13493
|
throw new RangeError("Decorations that replace line breaks may not be specified via plugins");
|
|
13485
13494
|
}
|
|
13486
13495
|
let l = t - e;
|
|
13487
|
-
if (n instanceof
|
|
13496
|
+
if (n instanceof En)
|
|
13488
13497
|
if (n.block)
|
|
13489
13498
|
n.startSide > 0 && !this.posCovered() && this.getLine(), this.addBlockWidget(new hn(n.widget || jr.block, l, n));
|
|
13490
13499
|
else {
|
|
@@ -13542,7 +13551,7 @@ function $g(i) {
|
|
|
13542
13551
|
return i <= 247 ? rk[i] : 1424 <= i && i <= 1524 ? 2 : 1536 <= i && i <= 1785 ? ok[i - 1536] : 1774 <= i && i <= 2220 ? 4 : 8192 <= i && i <= 8204 ? 256 : 64336 <= i && i <= 65023 ? 4 : 1;
|
|
13543
13552
|
}
|
|
13544
13553
|
const sk = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;
|
|
13545
|
-
class
|
|
13554
|
+
class Tn {
|
|
13546
13555
|
/**
|
|
13547
13556
|
The direction of this span.
|
|
13548
13557
|
*/
|
|
@@ -13711,7 +13720,7 @@ function Ru(i, e, t, n, r, o, s) {
|
|
|
13711
13720
|
if (u++, d)
|
|
13712
13721
|
d.push(p);
|
|
13713
13722
|
else {
|
|
13714
|
-
p.from > a && s.push(new
|
|
13723
|
+
p.from > a && s.push(new Tn(a, p.from, f));
|
|
13715
13724
|
let g = p.direction == ur != !(f % 2);
|
|
13716
13725
|
Eu(i, g ? n + 1 : n, r, p.inner, p.from, p.to, s), a = p.to;
|
|
13717
13726
|
}
|
|
@@ -13721,7 +13730,7 @@ function Ru(i, e, t, n, r, o, s) {
|
|
|
13721
13730
|
break;
|
|
13722
13731
|
m++;
|
|
13723
13732
|
}
|
|
13724
|
-
d ? Ru(i, a, m, n + 1, r, d, s) : a < m && s.push(new
|
|
13733
|
+
d ? Ru(i, a, m, n + 1, r, d, s) : a < m && s.push(new Tn(a, m, f)), a = m;
|
|
13725
13734
|
}
|
|
13726
13735
|
else
|
|
13727
13736
|
for (let a = t, u = o.length; a > e; ) {
|
|
@@ -13751,7 +13760,7 @@ function Ru(i, e, t, n, r, o, s) {
|
|
|
13751
13760
|
if (d)
|
|
13752
13761
|
d.push(p);
|
|
13753
13762
|
else {
|
|
13754
|
-
p.to < a && s.push(new
|
|
13763
|
+
p.to < a && s.push(new Tn(p.to, a, f));
|
|
13755
13764
|
let g = p.direction == ur != !(f % 2);
|
|
13756
13765
|
Eu(i, g ? n + 1 : n, r, p.inner, p.from, p.to, s), a = p.from;
|
|
13757
13766
|
}
|
|
@@ -13761,7 +13770,7 @@ function Ru(i, e, t, n, r, o, s) {
|
|
|
13761
13770
|
break;
|
|
13762
13771
|
m--;
|
|
13763
13772
|
}
|
|
13764
|
-
d ? Ru(i, m, a, n + 1, r, d, s) : m < a && s.push(new
|
|
13773
|
+
d ? Ru(i, m, a, n + 1, r, d, s) : m < a && s.push(new Tn(m, a, f)), a = m;
|
|
13765
13774
|
}
|
|
13766
13775
|
}
|
|
13767
13776
|
function Eu(i, e, t, n, r, o, s) {
|
|
@@ -13770,7 +13779,7 @@ function Eu(i, e, t, n, r, o, s) {
|
|
|
13770
13779
|
}
|
|
13771
13780
|
function ck(i, e, t) {
|
|
13772
13781
|
if (!i)
|
|
13773
|
-
return [new
|
|
13782
|
+
return [new Tn(0, 0, e == Bc ? 1 : 0)];
|
|
13774
13783
|
if (e == ur && !t.length && !sk.test(i))
|
|
13775
13784
|
return ep(i.length);
|
|
13776
13785
|
if (t.length)
|
|
@@ -13780,12 +13789,12 @@ function ck(i, e, t) {
|
|
|
13780
13789
|
return Eu(i, r, r, t, 0, i.length, n), n;
|
|
13781
13790
|
}
|
|
13782
13791
|
function ep(i) {
|
|
13783
|
-
return [new
|
|
13792
|
+
return [new Tn(0, i, 0)];
|
|
13784
13793
|
}
|
|
13785
13794
|
let tp = "";
|
|
13786
13795
|
function hk(i, e, t, n, r) {
|
|
13787
13796
|
var o;
|
|
13788
|
-
let s = n.head - i.from, l =
|
|
13797
|
+
let s = n.head - i.from, l = Tn.find(e, s, (o = n.bidiLevel) !== null && o !== void 0 ? o : -1, n.assoc), a = e[l], u = a.side(r, t);
|
|
13789
13798
|
if (s == u) {
|
|
13790
13799
|
let d = l += r ? 1 : -1;
|
|
13791
13800
|
if (d < 0 || d >= e.length)
|
|
@@ -15564,7 +15573,7 @@ class Wi {
|
|
|
15564
15573
|
associated with it.
|
|
15565
15574
|
*/
|
|
15566
15575
|
get widget() {
|
|
15567
|
-
return this._content instanceof
|
|
15576
|
+
return this._content instanceof En ? this._content.widget : null;
|
|
15568
15577
|
}
|
|
15569
15578
|
/**
|
|
15570
15579
|
If this is a textblock, this holds the number of line breaks
|
|
@@ -16336,9 +16345,9 @@ function co(i, e) {
|
|
|
16336
16345
|
let t = e.toDOM(i.top), n = e.toDOM(i.bottom);
|
|
16337
16346
|
return new Wi(i.from, i.length, t, n - t, Array.isArray(i._content) ? i._content.map((r) => co(r, e)) : i._content);
|
|
16338
16347
|
}
|
|
16339
|
-
const Ss = /* @__PURE__ */ me.define({ combine: (i) => i.join(" ") }), Nu = /* @__PURE__ */ me.define({ combine: (i) => i.indexOf(!0) > -1 }), Hu = /* @__PURE__ */
|
|
16348
|
+
const Ss = /* @__PURE__ */ me.define({ combine: (i) => i.join(" ") }), Nu = /* @__PURE__ */ me.define({ combine: (i) => i.indexOf(!0) > -1 }), Hu = /* @__PURE__ */ Bn.newName(), Pp = /* @__PURE__ */ Bn.newName(), _p = /* @__PURE__ */ Bn.newName(), Bp = { "&light": "." + Pp, "&dark": "." + _p };
|
|
16340
16349
|
function zu(i, e, t) {
|
|
16341
|
-
return new
|
|
16350
|
+
return new Bn(e, {
|
|
16342
16351
|
finish(n) {
|
|
16343
16352
|
return /&/.test(n) ? n.replace(/&\w*/, (r) => {
|
|
16344
16353
|
if (r == "&")
|
|
@@ -17312,7 +17321,7 @@ class he {
|
|
|
17312
17321
|
mountStyles() {
|
|
17313
17322
|
this.styleModules = this.state.facet(ao);
|
|
17314
17323
|
let e = this.state.facet(he.cspNonce);
|
|
17315
|
-
|
|
17324
|
+
Bn.mount(this.root, this.styleModules.concat(hw).reverse(), e ? { nonce: e } : void 0);
|
|
17316
17325
|
}
|
|
17317
17326
|
readMeasured() {
|
|
17318
17327
|
if (this.updateState == 2)
|
|
@@ -17521,7 +17530,7 @@ class he {
|
|
|
17521
17530
|
let n = this.docView.coordsAt(e, t);
|
|
17522
17531
|
if (!n || n.left == n.right)
|
|
17523
17532
|
return n;
|
|
17524
|
-
let r = this.state.doc.lineAt(e), o = this.bidiSpans(r), s = o[
|
|
17533
|
+
let r = this.state.doc.lineAt(e), o = this.bidiSpans(r), s = o[Tn.find(o, e - r.from, -1, t)];
|
|
17525
17534
|
return Go(n, s.dir == st.LTR == t > 0);
|
|
17526
17535
|
}
|
|
17527
17536
|
/**
|
|
@@ -17714,7 +17723,7 @@ class he {
|
|
|
17714
17723
|
`&light` when a light theme is active).
|
|
17715
17724
|
*/
|
|
17716
17725
|
static theme(e, t) {
|
|
17717
|
-
let n =
|
|
17726
|
+
let n = Bn.newName(), r = [Ss.of(n), ao.of(zu(`.${n}`, e))];
|
|
17718
17727
|
return t && t.dark && r.push(Nu.of(!0)), r;
|
|
17719
17728
|
}
|
|
17720
17729
|
/**
|
|
@@ -17889,7 +17898,7 @@ function Ep(i, e, t, n) {
|
|
|
17889
17898
|
}, f = i[n], m, p;
|
|
17890
17899
|
return f && (d(f[l + Cs(r, e, !s)]) ? a = !0 : s && (e.altKey || e.metaKey || e.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
|
|
17891
17900
|
!(ce.windows && e.ctrlKey && e.altKey) && // Alt-combinations on macOS tend to be typed characters
|
|
17892
|
-
!(ce.mac && e.altKey && !(e.ctrlKey || e.metaKey)) && (m =
|
|
17901
|
+
!(ce.mac && e.altKey && !(e.ctrlKey || e.metaKey)) && (m = Rn[e.keyCode]) && m != r ? (d(f[l + Cs(m, e, !0)]) || e.shiftKey && (p = qo[e.keyCode]) != r && p != m && d(f[l + Cs(p, e, !1)])) && (a = !0) : s && e.shiftKey && d(f[l + Cs(r, e, !0)]) && (a = !0), !a && d(f._any) && (a = !0)), u && (a = !0), a && c && e.stopPropagation(), ju = null, a;
|
|
17893
17902
|
}
|
|
17894
17903
|
class es {
|
|
17895
17904
|
/**
|
|
@@ -19771,7 +19780,7 @@ class jc {
|
|
|
19771
19780
|
return new jc(this.buffer, this.index);
|
|
19772
19781
|
}
|
|
19773
19782
|
}
|
|
19774
|
-
class
|
|
19783
|
+
class Ln {
|
|
19775
19784
|
/**
|
|
19776
19785
|
Create a tree buffer.
|
|
19777
19786
|
*/
|
|
@@ -19824,7 +19833,7 @@ class En {
|
|
|
19824
19833
|
let u = o[a++] = r[l++] - n;
|
|
19825
19834
|
o[a++] = r[l++] - e, s = Math.max(s, u);
|
|
19826
19835
|
}
|
|
19827
|
-
return new
|
|
19836
|
+
return new Ln(o, s, this.set);
|
|
19828
19837
|
}
|
|
19829
19838
|
}
|
|
19830
19839
|
function Yp(i, e, t, n) {
|
|
@@ -19916,12 +19925,12 @@ class Mi extends Gp {
|
|
|
19916
19925
|
for (let { children: l, positions: a } = s._tree, u = t > 0 ? l.length : -1; e != u; e += t) {
|
|
19917
19926
|
let c = l[e], h = a[e] + s.from;
|
|
19918
19927
|
if (Yp(r, n, h, h + c.length)) {
|
|
19919
|
-
if (c instanceof
|
|
19928
|
+
if (c instanceof Ln) {
|
|
19920
19929
|
if (o & Ot.ExcludeBuffers)
|
|
19921
19930
|
continue;
|
|
19922
19931
|
let d = c.findChild(0, c.buffer.length, t, n - h, r);
|
|
19923
19932
|
if (d > -1)
|
|
19924
|
-
return new
|
|
19933
|
+
return new Dn(new SS(s, c, e, h), null, d);
|
|
19925
19934
|
} else if (o & Ot.IncludeAnonymous || !c.type.isAnonymous || Wc(c)) {
|
|
19926
19935
|
let d;
|
|
19927
19936
|
if (!(o & Ot.IgnoreMounts) && (d = vl.get(c)) && !d.overlay)
|
|
@@ -20054,7 +20063,7 @@ class SS {
|
|
|
20054
20063
|
this.parent = e, this.buffer = t, this.index = n, this.start = r;
|
|
20055
20064
|
}
|
|
20056
20065
|
}
|
|
20057
|
-
class
|
|
20066
|
+
class Dn extends Gp {
|
|
20058
20067
|
get name() {
|
|
20059
20068
|
return this.type.name;
|
|
20060
20069
|
}
|
|
@@ -20069,7 +20078,7 @@ class Tn extends Gp {
|
|
|
20069
20078
|
}
|
|
20070
20079
|
child(e, t, n) {
|
|
20071
20080
|
let { buffer: r } = this.context, o = r.findChild(this.index + 4, r.buffer[this.index + 3], e, t - this.context.start, n);
|
|
20072
|
-
return o < 0 ? null : new
|
|
20081
|
+
return o < 0 ? null : new Dn(this.context, this, o);
|
|
20073
20082
|
}
|
|
20074
20083
|
get firstChild() {
|
|
20075
20084
|
return this.child(
|
|
@@ -20107,7 +20116,7 @@ class Tn extends Gp {
|
|
|
20107
20116
|
if (n & Ot.ExcludeBuffers)
|
|
20108
20117
|
return null;
|
|
20109
20118
|
let { buffer: r } = this.context, o = r.findChild(this.index + 4, r.buffer[this.index + 3], t > 0 ? 1 : -1, e - this.context.start, t);
|
|
20110
|
-
return o < 0 ? null : new
|
|
20119
|
+
return o < 0 ? null : new Dn(this.context, this, o);
|
|
20111
20120
|
}
|
|
20112
20121
|
get parent() {
|
|
20113
20122
|
return this._parent || this.context.parent.nextSignificantParent();
|
|
@@ -20123,11 +20132,11 @@ class Tn extends Gp {
|
|
|
20123
20132
|
}
|
|
20124
20133
|
get nextSibling() {
|
|
20125
20134
|
let { buffer: e } = this.context, t = e.buffer[this.index + 3];
|
|
20126
|
-
return t < (this._parent ? e.buffer[this._parent.index + 3] : e.buffer.length) ? new
|
|
20135
|
+
return t < (this._parent ? e.buffer[this._parent.index + 3] : e.buffer.length) ? new Dn(this.context, this._parent, t) : this.externalSibling(1);
|
|
20127
20136
|
}
|
|
20128
20137
|
get prevSibling() {
|
|
20129
20138
|
let { buffer: e } = this.context, t = this._parent ? this._parent.index + 4 : 0;
|
|
20130
|
-
return this.index == t ? this.externalSibling(-1) : new
|
|
20139
|
+
return this.index == t ? this.externalSibling(-1) : new Dn(this.context, this._parent, e.findChild(
|
|
20131
20140
|
t,
|
|
20132
20141
|
this.index,
|
|
20133
20142
|
-1,
|
|
@@ -20357,7 +20366,7 @@ class Yu {
|
|
|
20357
20366
|
if (t > -1)
|
|
20358
20367
|
for (let o = t + e, s = e < 0 ? -1 : n._tree.children.length; o != s; o += e) {
|
|
20359
20368
|
let l = n._tree.children[o];
|
|
20360
|
-
if (this.mode & Ot.IncludeAnonymous || l instanceof
|
|
20369
|
+
if (this.mode & Ot.IncludeAnonymous || l instanceof Ln || !l.type.isAnonymous || Wc(l))
|
|
20361
20370
|
return !1;
|
|
20362
20371
|
}
|
|
20363
20372
|
return !0;
|
|
@@ -20428,8 +20437,8 @@ class Yu {
|
|
|
20428
20437
|
r = this.stack[--o];
|
|
20429
20438
|
}
|
|
20430
20439
|
for (let r = n; r < this.stack.length; r++)
|
|
20431
|
-
t = new
|
|
20432
|
-
return this.bufferNode = new
|
|
20440
|
+
t = new Dn(this.buffer, t, this.stack[r]);
|
|
20441
|
+
return this.bufferNode = new Dn(this.buffer, t, this.index);
|
|
20433
20442
|
}
|
|
20434
20443
|
/**
|
|
20435
20444
|
Get the [tree](#common.Tree) that represents the current node, if
|
|
@@ -20487,7 +20496,7 @@ class Yu {
|
|
|
20487
20496
|
}
|
|
20488
20497
|
}
|
|
20489
20498
|
function Wc(i) {
|
|
20490
|
-
return i.children.some((e) => e instanceof
|
|
20499
|
+
return i.children.some((e) => e instanceof Ln || !e.type.isAnonymous || Wc(e));
|
|
20491
20500
|
}
|
|
20492
20501
|
function AS(i) {
|
|
20493
20502
|
var e;
|
|
@@ -20512,7 +20521,7 @@ function AS(i) {
|
|
|
20512
20521
|
let C = new Uint16Array(U.size - U.skip), k = l.pos - U.size, E = C.length;
|
|
20513
20522
|
for (; l.pos > k; )
|
|
20514
20523
|
E = y(U.start, C, E);
|
|
20515
|
-
L = new
|
|
20524
|
+
L = new Ln(C, q - U.start, n), F = U.start - S;
|
|
20516
20525
|
} else {
|
|
20517
20526
|
let C = l.pos - _;
|
|
20518
20527
|
l.next();
|
|
@@ -20543,7 +20552,7 @@ function AS(i) {
|
|
|
20543
20552
|
let B = new Uint16Array(V * 4), q = z[z.length - 2];
|
|
20544
20553
|
for (let _ = z.length - 3, H = 0; _ >= 0; _ -= 3)
|
|
20545
20554
|
B[H++] = z[_], B[H++] = z[_ + 1] - q, B[H++] = z[_ + 2] - q, B[H++] = H;
|
|
20546
|
-
A.push(new
|
|
20555
|
+
A.push(new Ln(B, z[2] - q, n)), N.push(q - S);
|
|
20547
20556
|
}
|
|
20548
20557
|
}
|
|
20549
20558
|
function f(S, T) {
|
|
@@ -20620,7 +20629,7 @@ function AS(i) {
|
|
|
20620
20629
|
}
|
|
20621
20630
|
const gf = /* @__PURE__ */ new WeakMap();
|
|
20622
20631
|
function Js(i, e) {
|
|
20623
|
-
if (!i.isAnonymous || e instanceof
|
|
20632
|
+
if (!i.isAnonymous || e instanceof Ln || e.type != i)
|
|
20624
20633
|
return 1;
|
|
20625
20634
|
let t = gf.get(e);
|
|
20626
20635
|
if (t == null) {
|
|
@@ -21008,7 +21017,7 @@ function ES(i) {
|
|
|
21008
21017
|
e = e.next;
|
|
21009
21018
|
return e || null;
|
|
21010
21019
|
}
|
|
21011
|
-
const se = ki.define, Ds = se(), xn = se(), pf = se(xn), vf = se(xn), kn = se(), qs = se(kn), Ha = se(kn), Hi = se(),
|
|
21020
|
+
const se = ki.define, Ds = se(), xn = se(), pf = se(xn), vf = se(xn), kn = se(), qs = se(kn), Ha = se(kn), Hi = se(), Qn = se(Hi), Fi = se(), Ni = se(), Gu = se(), no = se(Gu), Ps = se(), W = {
|
|
21012
21021
|
/**
|
|
21013
21022
|
A comment.
|
|
21014
21023
|
*/
|
|
@@ -21240,31 +21249,31 @@ const se = ki.define, Ds = se(), xn = se(), pf = se(xn), vf = se(xn), kn = se(),
|
|
|
21240
21249
|
/**
|
|
21241
21250
|
[Content](#highlight.tags.content) that represents a heading.
|
|
21242
21251
|
*/
|
|
21243
|
-
heading:
|
|
21252
|
+
heading: Qn,
|
|
21244
21253
|
/**
|
|
21245
21254
|
A level 1 [heading](#highlight.tags.heading).
|
|
21246
21255
|
*/
|
|
21247
|
-
heading1: se(
|
|
21256
|
+
heading1: se(Qn),
|
|
21248
21257
|
/**
|
|
21249
21258
|
A level 2 [heading](#highlight.tags.heading).
|
|
21250
21259
|
*/
|
|
21251
|
-
heading2: se(
|
|
21260
|
+
heading2: se(Qn),
|
|
21252
21261
|
/**
|
|
21253
21262
|
A level 3 [heading](#highlight.tags.heading).
|
|
21254
21263
|
*/
|
|
21255
|
-
heading3: se(
|
|
21264
|
+
heading3: se(Qn),
|
|
21256
21265
|
/**
|
|
21257
21266
|
A level 4 [heading](#highlight.tags.heading).
|
|
21258
21267
|
*/
|
|
21259
|
-
heading4: se(
|
|
21268
|
+
heading4: se(Qn),
|
|
21260
21269
|
/**
|
|
21261
21270
|
A level 5 [heading](#highlight.tags.heading).
|
|
21262
21271
|
*/
|
|
21263
|
-
heading5: se(
|
|
21272
|
+
heading5: se(Qn),
|
|
21264
21273
|
/**
|
|
21265
21274
|
A level 6 [heading](#highlight.tags.heading).
|
|
21266
21275
|
*/
|
|
21267
|
-
heading6: se(
|
|
21276
|
+
heading6: se(Qn),
|
|
21268
21277
|
/**
|
|
21269
21278
|
A prose [content](#highlight.tags.content) separator (such as a horizontal rule).
|
|
21270
21279
|
*/
|
|
@@ -21430,7 +21439,7 @@ class qi {
|
|
|
21430
21439
|
this.data = e, this.name = r, Ee.prototype.hasOwnProperty("tree") || Object.defineProperty(Ee.prototype, "tree", { get() {
|
|
21431
21440
|
return Qt(this);
|
|
21432
21441
|
} }), this.parser = t, this.extension = [
|
|
21433
|
-
|
|
21442
|
+
In.of(this),
|
|
21434
21443
|
Ee.languageData.of((o, s, l) => {
|
|
21435
21444
|
let a = yf(o, s, l), u = a.type.prop(Mr);
|
|
21436
21445
|
if (!u)
|
|
@@ -21460,7 +21469,7 @@ class qi {
|
|
|
21460
21469
|
in this language, when those exist.
|
|
21461
21470
|
*/
|
|
21462
21471
|
findRegions(e) {
|
|
21463
|
-
let t = e.facet(
|
|
21472
|
+
let t = e.facet(In);
|
|
21464
21473
|
if ((t == null ? void 0 : t.data) == this.data)
|
|
21465
21474
|
return [{ from: 0, to: e.doc.length }];
|
|
21466
21475
|
if (!t || !t.allowsNesting)
|
|
@@ -21502,7 +21511,7 @@ class qi {
|
|
|
21502
21511
|
}
|
|
21503
21512
|
qi.setState = /* @__PURE__ */ Ae.define();
|
|
21504
21513
|
function yf(i, e, t) {
|
|
21505
|
-
let n = i.facet(
|
|
21514
|
+
let n = i.facet(In), r = Qt(i).topNode;
|
|
21506
21515
|
if (!n || n.allowsNesting)
|
|
21507
21516
|
for (let o = r; o; o = o.enter(e, t, Ot.ExcludeBuffers))
|
|
21508
21517
|
o.type.isTop && (r = o);
|
|
@@ -21726,7 +21735,7 @@ class Qr {
|
|
|
21726
21735
|
return t.work(20, n) || t.takeTree(), new Qr(t);
|
|
21727
21736
|
}
|
|
21728
21737
|
static init(e) {
|
|
21729
|
-
let t = Math.min(3e3, e.doc.length), n = xl.create(e.facet(
|
|
21738
|
+
let t = Math.min(3e3, e.doc.length), n = xl.create(e.facet(In).parser, e, { from: 0, to: t });
|
|
21730
21739
|
return n.work(20, t) || n.takeTree(), new Qr(n);
|
|
21731
21740
|
}
|
|
21732
21741
|
}
|
|
@@ -21736,7 +21745,7 @@ qi.state = /* @__PURE__ */ Mt.define({
|
|
|
21736
21745
|
for (let t of e.effects)
|
|
21737
21746
|
if (t.is(qi.setState))
|
|
21738
21747
|
return t.value;
|
|
21739
|
-
return e.startState.facet(
|
|
21748
|
+
return e.startState.facet(In) != e.state.facet(In) ? Qr.init(e.state) : i.apply(e);
|
|
21740
21749
|
}
|
|
21741
21750
|
});
|
|
21742
21751
|
let tv = (i) => {
|
|
@@ -21801,7 +21810,7 @@ const ja = typeof navigator < "u" && (!((za = navigator.scheduling) === null ||
|
|
|
21801
21810
|
eventHandlers: { focus() {
|
|
21802
21811
|
this.scheduleWork();
|
|
21803
21812
|
} }
|
|
21804
|
-
}),
|
|
21813
|
+
}), In = /* @__PURE__ */ me.define({
|
|
21805
21814
|
combine(i) {
|
|
21806
21815
|
return i.length ? i[0] : null;
|
|
21807
21816
|
},
|
|
@@ -22295,7 +22304,7 @@ function cC(i = {}) {
|
|
|
22295
22304
|
this.from = s.viewport.from, this.markers = this.buildMarkers(s);
|
|
22296
22305
|
}
|
|
22297
22306
|
update(s) {
|
|
22298
|
-
(s.docChanged || s.viewportChanged || s.startState.facet(
|
|
22307
|
+
(s.docChanged || s.viewportChanged || s.startState.facet(In) != s.state.facet(In) || s.startState.field(cr, !1) != s.state.field(cr, !1) || Qt(s.startState) != Qt(s.state) || e.foldingChanged(s)) && (this.markers = this.buildMarkers(s.view));
|
|
22299
22308
|
}
|
|
22300
22309
|
buildMarkers(s) {
|
|
22301
22310
|
let l = new fn();
|
|
@@ -22353,7 +22362,7 @@ class is {
|
|
|
22353
22362
|
this.specs = e;
|
|
22354
22363
|
let n;
|
|
22355
22364
|
function r(l) {
|
|
22356
|
-
let a =
|
|
22365
|
+
let a = Bn.newName();
|
|
22357
22366
|
return (n || (n = /* @__PURE__ */ Object.create(null)))["." + a] = l, a;
|
|
22358
22367
|
}
|
|
22359
22368
|
const o = typeof t.all == "string" ? t.all : t.all ? r(t.all) : void 0, s = t.scope;
|
|
@@ -22362,7 +22371,7 @@ class is {
|
|
|
22362
22371
|
class: l.class || r(Object.assign({}, l, { tag: null }))
|
|
22363
22372
|
})), {
|
|
22364
22373
|
all: o
|
|
22365
|
-
}).style, this.module = n ? new
|
|
22374
|
+
}).style, this.module = n ? new Bn(n) : null, this.themeType = t.themeType;
|
|
22366
22375
|
}
|
|
22367
22376
|
/**
|
|
22368
22377
|
Create a highlighter style that associates the given styles to
|
|
@@ -23052,7 +23061,7 @@ function Pv(i, e) {
|
|
|
23052
23061
|
return i.dispatch(Ri(n, r), { effects: o }), !0;
|
|
23053
23062
|
}
|
|
23054
23063
|
const Af = (i) => Pv(i, !1), tc = (i) => Pv(i, !0);
|
|
23055
|
-
function
|
|
23064
|
+
function Fn(i, e, t) {
|
|
23056
23065
|
let n = i.lineBlockAt(e.head), r = i.moveToLineBoundary(e, t);
|
|
23057
23066
|
if (r.head == e.head && r.head != (t ? n.to : n.from) && (r = i.moveToLineBoundary(e, t, !1)), !t && r.head == n.from && n.length) {
|
|
23058
23067
|
let o = /^\s*/.exec(i.state.sliceDoc(n.from, Math.min(n.from + 100, n.to)))[0].length;
|
|
@@ -23060,7 +23069,7 @@ function Vn(i, e, t) {
|
|
|
23060
23069
|
}
|
|
23061
23070
|
return r;
|
|
23062
23071
|
}
|
|
23063
|
-
const $C = (i) => Ei(i, (e) =>
|
|
23072
|
+
const $C = (i) => Ei(i, (e) => Fn(i, e, !0)), ZC = (i) => Ei(i, (e) => Fn(i, e, !1)), eM = (i) => Ei(i, (e) => Fn(i, e, !Yt(i))), tM = (i) => Ei(i, (e) => Fn(i, e, Yt(i))), iM = (i) => Ei(i, (e) => G.cursor(i.lineBlockAt(e.head).from, 1)), nM = (i) => Ei(i, (e) => G.cursor(i.lineBlockAt(e.head).to, -1));
|
|
23064
23073
|
function rM(i, e, t) {
|
|
23065
23074
|
let n = !1, r = Jr(i.selection, (o) => {
|
|
23066
23075
|
let s = Qi(i, o.head, -1) || Qi(i, o.head, 1) || o.head > 0 && Qi(i, o.head - 1, 1) || o.head < i.doc.length && Qi(i, o.head + 1, -1);
|
|
@@ -23095,7 +23104,7 @@ const Iv = (i) => Lv(i, !1), Vv = (i) => Lv(i, !0);
|
|
|
23095
23104
|
function Fv(i, e) {
|
|
23096
23105
|
return Ti(i, (t) => i.moveVertically(t, e, qv(i).height));
|
|
23097
23106
|
}
|
|
23098
|
-
const Of = (i) => Fv(i, !1), Tf = (i) => Fv(i, !0), cM = (i) => Ti(i, (e) =>
|
|
23107
|
+
const Of = (i) => Fv(i, !1), Tf = (i) => Fv(i, !0), cM = (i) => Ti(i, (e) => Fn(i, e, !0)), hM = (i) => Ti(i, (e) => Fn(i, e, !1)), dM = (i) => Ti(i, (e) => Fn(i, e, !Yt(i))), fM = (i) => Ti(i, (e) => Fn(i, e, Yt(i))), mM = (i) => Ti(i, (e) => G.cursor(i.lineBlockAt(e.head).from)), gM = (i) => Ti(i, (e) => G.cursor(i.lineBlockAt(e.head).to)), Df = ({ state: i, dispatch: e }) => (e(Ri(i, { anchor: 0 })), !0), qf = ({ state: i, dispatch: e }) => (e(Ri(i, { anchor: i.doc.length })), !0), Pf = ({ state: i, dispatch: e }) => (e(Ri(i, { anchor: i.selection.main.anchor, head: 0 })), !0), _f = ({ state: i, dispatch: e }) => (e(Ri(i, { anchor: i.selection.main.anchor, head: i.doc.length })), !0), pM = ({ state: i, dispatch: e }) => (e(i.update({ selection: { anchor: 0, head: i.doc.length }, userEvent: "select" })), !0), vM = ({ state: i, dispatch: e }) => {
|
|
23099
23108
|
let t = ea(i).map(({ from: n, to: r }) => G.range(n, Math.min(r + 1, i.doc.length)));
|
|
23100
23109
|
return e(i.update({ selection: G.create(t), userEvent: "select" })), !0;
|
|
23101
23110
|
}, yM = ({ state: i, dispatch: e }) => {
|
|
@@ -23931,7 +23940,7 @@ class rA extends e0 {
|
|
|
23931
23940
|
r(o.value.from, o.value.to);
|
|
23932
23941
|
}
|
|
23933
23942
|
}
|
|
23934
|
-
const Fo = /* @__PURE__ */ Ae.define(), $c = /* @__PURE__ */ Ae.define(),
|
|
23943
|
+
const Fo = /* @__PURE__ */ Ae.define(), $c = /* @__PURE__ */ Ae.define(), _n = /* @__PURE__ */ Mt.define({
|
|
23935
23944
|
create(i) {
|
|
23936
23945
|
return new Ga(rc(i).create(), null);
|
|
23937
23946
|
},
|
|
@@ -23949,11 +23958,11 @@ class Ga {
|
|
|
23949
23958
|
}
|
|
23950
23959
|
const oA = /* @__PURE__ */ ke.mark({ class: "cm-searchMatch" }), sA = /* @__PURE__ */ ke.mark({ class: "cm-searchMatch cm-searchMatch-selected" }), lA = /* @__PURE__ */ dt.fromClass(class {
|
|
23951
23960
|
constructor(i) {
|
|
23952
|
-
this.view = i, this.decorations = this.highlight(i.state.field(
|
|
23961
|
+
this.view = i, this.decorations = this.highlight(i.state.field(_n));
|
|
23953
23962
|
}
|
|
23954
23963
|
update(i) {
|
|
23955
|
-
let e = i.state.field(
|
|
23956
|
-
(e != i.startState.field(
|
|
23964
|
+
let e = i.state.field(_n);
|
|
23965
|
+
(e != i.startState.field(_n) || i.docChanged || i.selectionSet || i.viewportChanged) && (this.decorations = this.highlight(e));
|
|
23957
23966
|
}
|
|
23958
23967
|
highlight({ query: i, panel: e }) {
|
|
23959
23968
|
if (!e || !i.spec.valid)
|
|
@@ -23975,7 +23984,7 @@ const oA = /* @__PURE__ */ ke.mark({ class: "cm-searchMatch" }), sA = /* @__PURE
|
|
|
23975
23984
|
});
|
|
23976
23985
|
function rs(i) {
|
|
23977
23986
|
return (e) => {
|
|
23978
|
-
let t = e.state.field(
|
|
23987
|
+
let t = e.state.field(_n, !1);
|
|
23979
23988
|
return t && t.query.spec.valid ? i(e, t) : n0(e);
|
|
23980
23989
|
};
|
|
23981
23990
|
}
|
|
@@ -24077,7 +24086,7 @@ function i0(i) {
|
|
|
24077
24086
|
e && e == i.root.activeElement && e.select();
|
|
24078
24087
|
}
|
|
24079
24088
|
const n0 = (i) => {
|
|
24080
|
-
let e = i.state.field(
|
|
24089
|
+
let e = i.state.field(_n, !1);
|
|
24081
24090
|
if (e && e.panel) {
|
|
24082
24091
|
let t = t0(i);
|
|
24083
24092
|
if (t && t != i.root.activeElement) {
|
|
@@ -24091,7 +24100,7 @@ const n0 = (i) => {
|
|
|
24091
24100
|
] });
|
|
24092
24101
|
return !0;
|
|
24093
24102
|
}, r0 = (i) => {
|
|
24094
|
-
let e = i.state.field(
|
|
24103
|
+
let e = i.state.field(_n, !1);
|
|
24095
24104
|
if (!e || !e.panel)
|
|
24096
24105
|
return !1;
|
|
24097
24106
|
let t = Ro(i, Zc);
|
|
@@ -24108,7 +24117,7 @@ const n0 = (i) => {
|
|
|
24108
24117
|
class dA {
|
|
24109
24118
|
constructor(e) {
|
|
24110
24119
|
this.view = e;
|
|
24111
|
-
let t = this.query = e.state.field(
|
|
24120
|
+
let t = this.query = e.state.field(_n).query.spec;
|
|
24112
24121
|
this.commit = this.commit.bind(this), this.searchField = Ye("input", {
|
|
24113
24122
|
value: t.search,
|
|
24114
24123
|
placeholder: ui(e, "Find"),
|
|
@@ -24255,7 +24264,7 @@ const fA = /* @__PURE__ */ he.baseTheme({
|
|
|
24255
24264
|
"&light .cm-searchMatch-selected": { backgroundColor: "#ff6a0054" },
|
|
24256
24265
|
"&dark .cm-searchMatch-selected": { backgroundColor: "#ff00ff8a" }
|
|
24257
24266
|
}), mA = [
|
|
24258
|
-
|
|
24267
|
+
_n,
|
|
24259
24268
|
/* @__PURE__ */ dr.low(lA),
|
|
24260
24269
|
fA
|
|
24261
24270
|
];
|
|
@@ -25434,7 +25443,7 @@ class Uf {
|
|
|
25434
25443
|
this.from = e, this.to = t, this.diagnostic = n;
|
|
25435
25444
|
}
|
|
25436
25445
|
}
|
|
25437
|
-
class
|
|
25446
|
+
class Gn {
|
|
25438
25447
|
constructor(e, t, n) {
|
|
25439
25448
|
this.diagnostics = e, this.panel = t, this.selected = n;
|
|
25440
25449
|
}
|
|
@@ -25498,7 +25507,7 @@ class Yn {
|
|
|
25498
25507
|
l[v].to <= a && l.splice(v--, 1);
|
|
25499
25508
|
}
|
|
25500
25509
|
let d = s.finish();
|
|
25501
|
-
return new
|
|
25510
|
+
return new Gn(d, t, Kr(d));
|
|
25502
25511
|
}
|
|
25503
25512
|
}
|
|
25504
25513
|
function Kr(i, e = null, t = 0) {
|
|
@@ -25531,7 +25540,7 @@ function tO(i, e) {
|
|
|
25531
25540
|
}
|
|
25532
25541
|
const ia = /* @__PURE__ */ Ae.define(), rh = /* @__PURE__ */ Ae.define(), v0 = /* @__PURE__ */ Ae.define(), vi = /* @__PURE__ */ Mt.define({
|
|
25533
25542
|
create() {
|
|
25534
|
-
return new
|
|
25543
|
+
return new Gn(ke.none, null, null);
|
|
25535
25544
|
},
|
|
25536
25545
|
update(i, e) {
|
|
25537
25546
|
if (e.docChanged && i.diagnostics.size) {
|
|
@@ -25540,13 +25549,13 @@ const ia = /* @__PURE__ */ Ae.define(), rh = /* @__PURE__ */ Ae.define(), v0 = /
|
|
|
25540
25549
|
let o = e.changes.mapPos(i.selected.from, 1);
|
|
25541
25550
|
n = Kr(t, i.selected.diagnostic, o) || Kr(t, null, o);
|
|
25542
25551
|
}
|
|
25543
|
-
!t.size && r && e.state.facet(Ki).autoPanel && (r = null), i = new
|
|
25552
|
+
!t.size && r && e.state.facet(Ki).autoPanel && (r = null), i = new Gn(t, r, n);
|
|
25544
25553
|
}
|
|
25545
25554
|
for (let t of e.effects)
|
|
25546
25555
|
if (t.is(ia)) {
|
|
25547
25556
|
let n = e.state.facet(Ki).autoPanel ? t.value.length ? zo.open : null : i.panel;
|
|
25548
|
-
i =
|
|
25549
|
-
} else t.is(rh) ? i = new
|
|
25557
|
+
i = Gn.init(t.value, n, e.state);
|
|
25558
|
+
} else t.is(rh) ? i = new Gn(i.diagnostics, t.value ? zo.open : null, i.selected) : t.is(v0) && (i = new Gn(i.diagnostics, i.panel, t.value));
|
|
25550
25559
|
return i;
|
|
25551
25560
|
},
|
|
25552
25561
|
provide: (i) => [
|
|
@@ -26127,24 +26136,24 @@ var xO = Object.freeze({ autofocus: !1, disabled: !1, indentWithTab: !0, tabSize
|
|
|
26127
26136
|
(function(i) {
|
|
26128
26137
|
i.Change = "change", i.Update = "update", i.Focus = "focus", i.Blur = "blur", i.Ready = "ready", i.ModelUpdate = "update:modelValue";
|
|
26129
26138
|
})(Zt || (Zt = {}));
|
|
26130
|
-
var
|
|
26131
|
-
|
|
26139
|
+
var Jn = {};
|
|
26140
|
+
Jn[Zt.Change] = function(i, e) {
|
|
26132
26141
|
return !0;
|
|
26133
|
-
},
|
|
26142
|
+
}, Jn[Zt.Update] = function(i) {
|
|
26134
26143
|
return !0;
|
|
26135
|
-
},
|
|
26144
|
+
}, Jn[Zt.Focus] = function(i) {
|
|
26136
26145
|
return !0;
|
|
26137
|
-
},
|
|
26146
|
+
}, Jn[Zt.Blur] = function(i) {
|
|
26138
26147
|
return !0;
|
|
26139
|
-
},
|
|
26148
|
+
}, Jn[Zt.Ready] = function(i) {
|
|
26140
26149
|
return !0;
|
|
26141
26150
|
};
|
|
26142
26151
|
var M0 = {};
|
|
26143
|
-
M0[Zt.ModelUpdate] =
|
|
26144
|
-
var AO = Object.assign(Object.assign({},
|
|
26152
|
+
M0[Zt.ModelUpdate] = Jn[Zt.Change];
|
|
26153
|
+
var AO = Object.assign(Object.assign({}, Jn), M0), OO = Pt({ name: "VueCodemirror", props: Object.assign({}, MO), emits: Object.assign({}, AO), setup: function(i, e) {
|
|
26145
26154
|
var t = aa(), n = aa(), r = aa(), o = Object.assign(Object.assign({}, xO), jo(kO, {})), s = x(function() {
|
|
26146
26155
|
var l = {};
|
|
26147
|
-
return Object.keys(
|
|
26156
|
+
return Object.keys(Un(i)).forEach(function(a) {
|
|
26148
26157
|
var u;
|
|
26149
26158
|
a !== "modelValue" && (l[a] = (u = i[a]) !== null && u !== void 0 ? u : o[a]);
|
|
26150
26159
|
}), l;
|
|
@@ -28485,7 +28494,7 @@ function kT(i, e, t, n) {
|
|
|
28485
28494
|
), v === !0 && b.push(S);
|
|
28486
28495
|
const T = [
|
|
28487
28496
|
O("div", { class: "q-focus-helper", tabindex: -1, ref: s }),
|
|
28488
|
-
O("div", { class: d.value },
|
|
28497
|
+
O("div", { class: d.value }, Mn(e.default, b))
|
|
28489
28498
|
];
|
|
28490
28499
|
return v === !1 && T.push(S), T;
|
|
28491
28500
|
}
|
|
@@ -28512,7 +28521,7 @@ function kT(i, e, t, n) {
|
|
|
28512
28521
|
onKeydown: p,
|
|
28513
28522
|
...b
|
|
28514
28523
|
};
|
|
28515
|
-
return
|
|
28524
|
+
return Vn(
|
|
28516
28525
|
O(v, S, g()),
|
|
28517
28526
|
[[yc, u.value]]
|
|
28518
28527
|
);
|
|
@@ -28818,7 +28827,7 @@ function LT(i, e, t, n, r, o) {
|
|
|
28818
28827
|
(ee(!0), oe(
|
|
28819
28828
|
Vt,
|
|
28820
28829
|
null,
|
|
28821
|
-
|
|
28830
|
+
Pn(n.allSelectOptions, (s) => (ee(), gi(n.QTab, {
|
|
28822
28831
|
key: s.value,
|
|
28823
28832
|
name: s.value,
|
|
28824
28833
|
label: s.label,
|
|
@@ -28871,7 +28880,7 @@ function LT(i, e, t, n, r, o) {
|
|
|
28871
28880
|
n.shouldRenderPropertiesInline ? (ee(!0), oe(
|
|
28872
28881
|
Vt,
|
|
28873
28882
|
{ key: 0 },
|
|
28874
|
-
|
|
28883
|
+
Pn(n.activeProperties, (s) => (ee(), gi(n.FieldRenderer, {
|
|
28875
28884
|
key: `${n.selectedIndex}-${s.key}`,
|
|
28876
28885
|
schema: s.schema,
|
|
28877
28886
|
path: s.path,
|
|
@@ -28963,7 +28972,7 @@ function LT(i, e, t, n, r, o) {
|
|
|
28963
28972
|
n.shouldRenderPropertiesInline ? (ee(!0), oe(
|
|
28964
28973
|
Vt,
|
|
28965
28974
|
{ key: 0 },
|
|
28966
|
-
|
|
28975
|
+
Pn(n.activeProperties, (s) => (ee(), gi(n.FieldRenderer, {
|
|
28967
28976
|
key: `${n.selectedIndex}-${s.key}`,
|
|
28968
28977
|
schema: s.schema,
|
|
28969
28978
|
path: s.path,
|
|
@@ -29191,7 +29200,7 @@ function fm(i, e = {}) {
|
|
|
29191
29200
|
};
|
|
29192
29201
|
}
|
|
29193
29202
|
function wo(i, e) {
|
|
29194
|
-
return typeof i != "object" || i === null ?
|
|
29203
|
+
return typeof i != "object" || i === null ? qn() : "and" in i && Array.isArray(i.and) ? {
|
|
29195
29204
|
id: di(),
|
|
29196
29205
|
type: "group",
|
|
29197
29206
|
logic: "and",
|
|
@@ -29238,13 +29247,13 @@ function WT(i, e) {
|
|
|
29238
29247
|
}
|
|
29239
29248
|
function QT(i, e) {
|
|
29240
29249
|
if (typeof i != "object" || i === null)
|
|
29241
|
-
return
|
|
29250
|
+
return qn();
|
|
29242
29251
|
const t = WT(i, e);
|
|
29243
29252
|
if (t)
|
|
29244
29253
|
return t;
|
|
29245
29254
|
const n = Object.keys(i);
|
|
29246
29255
|
if (n.length === 0)
|
|
29247
|
-
return
|
|
29256
|
+
return qn();
|
|
29248
29257
|
const r = n[0], o = i[r];
|
|
29249
29258
|
if (r === "!" && typeof o == "object" && o !== null && "in" in o) {
|
|
29250
29259
|
const a = o.in;
|
|
@@ -29260,7 +29269,7 @@ function QT(i, e) {
|
|
|
29260
29269
|
}
|
|
29261
29270
|
}
|
|
29262
29271
|
if (!Array.isArray(o))
|
|
29263
|
-
return
|
|
29272
|
+
return qn();
|
|
29264
29273
|
if (r === "in" && o.length >= 2) {
|
|
29265
29274
|
const a = o[0], u = o[1], c = Array.isArray(u), h = typeof u == "object" && u !== null && "var" in u, d = typeof a == "object" && a !== null && "var" in a;
|
|
29266
29275
|
return c ? {
|
|
@@ -29313,7 +29322,7 @@ function QT(i, e) {
|
|
|
29313
29322
|
left: zt(o[0], e.useTemplateSyntax),
|
|
29314
29323
|
operator: l,
|
|
29315
29324
|
right: zt(o[1], e.useTemplateSyntax)
|
|
29316
|
-
} :
|
|
29325
|
+
} : qn();
|
|
29317
29326
|
}
|
|
29318
29327
|
function zt(i, e = !1) {
|
|
29319
29328
|
if (i == null)
|
|
@@ -29332,7 +29341,7 @@ function zt(i, e = !1) {
|
|
|
29332
29341
|
}
|
|
29333
29342
|
return String(i);
|
|
29334
29343
|
}
|
|
29335
|
-
function
|
|
29344
|
+
function qn() {
|
|
29336
29345
|
return {
|
|
29337
29346
|
id: di(),
|
|
29338
29347
|
type: "condition",
|
|
@@ -29346,13 +29355,13 @@ function UT(i = "and") {
|
|
|
29346
29355
|
id: di(),
|
|
29347
29356
|
type: "group",
|
|
29348
29357
|
logic: i,
|
|
29349
|
-
conditions: [
|
|
29358
|
+
conditions: [qn()]
|
|
29350
29359
|
};
|
|
29351
29360
|
}
|
|
29352
29361
|
function mm() {
|
|
29353
29362
|
return {
|
|
29354
29363
|
logic: "and",
|
|
29355
|
-
conditions: [
|
|
29364
|
+
conditions: [qn()]
|
|
29356
29365
|
};
|
|
29357
29366
|
}
|
|
29358
29367
|
const KT = /* @__PURE__ */ Pt({
|
|
@@ -29405,7 +29414,7 @@ const KT = /* @__PURE__ */ Pt({
|
|
|
29405
29414
|
r(k), g.value = JSON.stringify(k, null, 2);
|
|
29406
29415
|
}
|
|
29407
29416
|
function b(k) {
|
|
29408
|
-
k.push(
|
|
29417
|
+
k.push(qn()), v();
|
|
29409
29418
|
}
|
|
29410
29419
|
function S(k) {
|
|
29411
29420
|
k.push(UT()), v();
|
|
@@ -29697,7 +29706,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
29697
29706
|
(ee(!0), oe(
|
|
29698
29707
|
Vt,
|
|
29699
29708
|
null,
|
|
29700
|
-
|
|
29709
|
+
Pn(n.conditionRoot.conditions, (s, l) => {
|
|
29701
29710
|
var a;
|
|
29702
29711
|
return ee(), oe(
|
|
29703
29712
|
Vt,
|
|
@@ -29709,7 +29718,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
29709
29718
|
s.type === "condition" ? (ee(), oe("div", i2, [
|
|
29710
29719
|
be("div", n2, [
|
|
29711
29720
|
ne(" Left value (slot or default input) "),
|
|
29712
|
-
|
|
29721
|
+
Cn(i.$slots, "left-input", {
|
|
29713
29722
|
value: s.left,
|
|
29714
29723
|
onChange: (u) => n.updateConditionLeft(s, u),
|
|
29715
29724
|
disabled: t.disabled,
|
|
@@ -29858,7 +29867,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
29858
29867
|
} : void 0
|
|
29859
29868
|
]), 1032, ["model-value", "options", "disable", "readonly", "onUpdate:modelValue"]),
|
|
29860
29869
|
ne(" Right value (conditional based on operator) "),
|
|
29861
|
-
(a = n.getOperatorInfo(s.operator)) != null && a.rightRequired ?
|
|
29870
|
+
(a = n.getOperatorInfo(s.operator)) != null && a.rightRequired ? Cn(i.$slots, "right-input", {
|
|
29862
29871
|
key: 0,
|
|
29863
29872
|
value: s.right,
|
|
29864
29873
|
onChange: (u) => n.updateConditionRight(s, u),
|
|
@@ -29966,7 +29975,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
29966
29975
|
(ee(!0), oe(
|
|
29967
29976
|
Vt,
|
|
29968
29977
|
null,
|
|
29969
|
-
|
|
29978
|
+
Pn(s.conditions, (u) => {
|
|
29970
29979
|
var c;
|
|
29971
29980
|
return ee(), oe(
|
|
29972
29981
|
Vt,
|
|
@@ -29976,7 +29985,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
29976
29985
|
[
|
|
29977
29986
|
u.type === "condition" ? (ee(), oe("div", h2, [
|
|
29978
29987
|
be("div", d2, [
|
|
29979
|
-
|
|
29988
|
+
Cn(i.$slots, "left-input", {
|
|
29980
29989
|
value: u.left,
|
|
29981
29990
|
onChange: (h) => n.updateConditionLeft(u, h),
|
|
29982
29991
|
disabled: t.disabled,
|
|
@@ -30127,7 +30136,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
30127
30136
|
key: "1"
|
|
30128
30137
|
} : void 0
|
|
30129
30138
|
]), 1032, ["model-value", "options", "disable", "readonly", "onUpdate:modelValue"]),
|
|
30130
|
-
(c = n.getOperatorInfo(u.operator)) != null && c.rightRequired ?
|
|
30139
|
+
(c = n.getOperatorInfo(u.operator)) != null && c.rightRequired ? Cn(i.$slots, "right-input", {
|
|
30131
30140
|
key: 0,
|
|
30132
30141
|
value: u.right,
|
|
30133
30142
|
onChange: (h) => n.updateConditionRight(u, h),
|
|
@@ -30628,7 +30637,7 @@ export {
|
|
|
30628
30637
|
rd as QuasarTimeField,
|
|
30629
30638
|
V2 as SchemaUtils,
|
|
30630
30639
|
F2 as and,
|
|
30631
|
-
|
|
30640
|
+
qn as createEmptyCondition,
|
|
30632
30641
|
UT as createEmptyGroup,
|
|
30633
30642
|
mm as createEmptyRoot,
|
|
30634
30643
|
R2 as createQuasarRegistry,
|