@quickflo/quickforms-quasar 1.19.2 → 1.19.4
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.
|
@@ -6,6 +6,15 @@ interface Props extends FieldProps {
|
|
|
6
6
|
}
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
8
|
"header-actions"?(_: {}): any;
|
|
9
|
+
"item-content"?(_: {
|
|
10
|
+
item: any;
|
|
11
|
+
index: number;
|
|
12
|
+
schema: import('@quickflo/quickforms').JSONSchema;
|
|
13
|
+
path: string;
|
|
14
|
+
label: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
readonly: boolean;
|
|
17
|
+
}): any;
|
|
9
18
|
};
|
|
10
19
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
11
20
|
disabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuasarArrayField.vue.d.ts","sourceRoot":"","sources":["../../src/components/QuasarArrayField.vue"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAU3D,UAAU,KAAM,SAAQ,UAAU;IAChC,mEAAmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAkPD,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"QuasarArrayField.vue.d.ts","sourceRoot":"","sources":["../../src/components/QuasarArrayField.vue"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAU3D,UAAU,KAAM,SAAQ,UAAU;IAChC,mEAAmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAkPD,iBAAS,cAAc;8BAqcgB,GAAG;;;;;;;;;QACL,GAAG;EAGvC;AAkCD,QAAA,MAAM,eAAe;;;;;;;;;;;eA9tBP,OAAO;4EAouBnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
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 In, 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 Qn, 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 qn, renderSlot as
|
|
3
|
+
import { computed as x, markRaw as pm, defineComponent as Pt, reactive as vm, h as O, withDirectives as In, 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 Qn, 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 qn, renderSlot as Jn, 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 = {
|
|
@@ -605,13 +605,13 @@ function ln(i, e, t) {
|
|
|
605
605
|
r[0].addEventListener(r[1], i[r[2]], At[r[3]]);
|
|
606
606
|
});
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function er(i, e) {
|
|
609
609
|
const t = `__q_${e}_evt`;
|
|
610
610
|
i[t] !== void 0 && (i[t].forEach((n) => {
|
|
611
611
|
n[0].removeEventListener(n[1], i[n[2]], At[n[3]]);
|
|
612
612
|
}), i[t] = void 0);
|
|
613
613
|
}
|
|
614
|
-
let
|
|
614
|
+
let Xn = [], So = [];
|
|
615
615
|
function Tm(i) {
|
|
616
616
|
So = So.filter((e) => e !== i);
|
|
617
617
|
}
|
|
@@ -619,13 +619,13 @@ function Py(i) {
|
|
|
619
619
|
Tm(i), So.push(i);
|
|
620
620
|
}
|
|
621
621
|
function kh(i) {
|
|
622
|
-
Tm(i), So.length === 0 &&
|
|
622
|
+
Tm(i), So.length === 0 && Xn.length !== 0 && (Xn[Xn.length - 1](), Xn = []);
|
|
623
623
|
}
|
|
624
624
|
function Vl(i) {
|
|
625
|
-
So.length === 0 ? i() :
|
|
625
|
+
So.length === 0 ? i() : Xn.push(i);
|
|
626
626
|
}
|
|
627
627
|
function _y(i) {
|
|
628
|
-
|
|
628
|
+
Xn = Xn.filter((e) => e !== i);
|
|
629
629
|
}
|
|
630
630
|
function Co(i) {
|
|
631
631
|
return i != null && ("" + i).length !== 0;
|
|
@@ -1271,7 +1271,7 @@ function Bm(i) {
|
|
|
1271
1271
|
} else t.type === "compositionupdate" && t.target.qComposing !== !0 && typeof t.data == "string" && (Tt.is.firefox === !0 ? zy.test(t.data) === !1 : Fy.test(t.data) === !0 || Ny.test(t.data) === !0 || Hy.test(t.data) === !0) === !0 && (t.target.qComposing = !0);
|
|
1272
1272
|
};
|
|
1273
1273
|
}
|
|
1274
|
-
const
|
|
1274
|
+
const hr = Je({
|
|
1275
1275
|
name: "QInput",
|
|
1276
1276
|
inheritAttrs: !1,
|
|
1277
1277
|
props: {
|
|
@@ -1569,7 +1569,7 @@ const Uy = /* @__PURE__ */ Pt({
|
|
|
1569
1569
|
})), g = x(() => !!u.value.prependIcon), y = x(
|
|
1570
1570
|
() => !m.value && !!u.value.appendIcon
|
|
1571
1571
|
), w = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, quickformsFeatures: u, fieldGap: c, isPasswordVisible: h, inputType: d, isTextarea: f, isPasswordField: m, iconConfig: p, showPrependIcon: g, showAppendIcon: y, get QInput() {
|
|
1572
|
-
return
|
|
1572
|
+
return hr;
|
|
1573
1573
|
}, get QIcon() {
|
|
1574
1574
|
return vt;
|
|
1575
1575
|
} };
|
|
@@ -1685,7 +1685,7 @@ const Mh = /* @__PURE__ */ Kt(Uy, [["render", Ky], ["__file", "/Users/zachsherbo
|
|
|
1685
1685
|
label: t.label,
|
|
1686
1686
|
componentType: "input"
|
|
1687
1687
|
}), c = x(() => t.schema.multipleOf ? t.schema.multipleOf : t.schema.type === "integer" ? 1 : void 0), h = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, step: c, get QInput() {
|
|
1688
|
-
return
|
|
1688
|
+
return hr;
|
|
1689
1689
|
} };
|
|
1690
1690
|
return Object.defineProperty(h, "__isScriptSetup", { enumerable: !1, value: !0 }), h;
|
|
1691
1691
|
}
|
|
@@ -2377,7 +2377,7 @@ const yc = cc(
|
|
|
2377
2377
|
const e = i.__qripple;
|
|
2378
2378
|
e !== void 0 && (e.abort.forEach((t) => {
|
|
2379
2379
|
t();
|
|
2380
|
-
}),
|
|
2380
|
+
}), er(e, "main"), delete i._qripple);
|
|
2381
2381
|
}
|
|
2382
2382
|
}
|
|
2383
2383
|
), mb = {
|
|
@@ -2571,7 +2571,7 @@ function bc({
|
|
|
2571
2571
|
], ln(u, "anchor", m);
|
|
2572
2572
|
});
|
|
2573
2573
|
function c() {
|
|
2574
|
-
|
|
2574
|
+
er(u, "anchor");
|
|
2575
2575
|
}
|
|
2576
2576
|
function h(f) {
|
|
2577
2577
|
for (s.value = f; s.value.classList.contains("q-anchor--skip"); )
|
|
@@ -2880,7 +2880,7 @@ function Ab() {
|
|
|
2880
2880
|
function Ob(i, e = !0) {
|
|
2881
2881
|
return !i || i.nodeType !== Node.ELEMENT_NODE ? !1 : e ? i.scrollHeight > i.clientHeight && (i.classList.contains("scroll") || i.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(i)["overflow-y"])) : i.scrollWidth > i.clientWidth && (i.classList.contains("scroll") || i.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(i)["overflow-x"]));
|
|
2882
2882
|
}
|
|
2883
|
-
const
|
|
2883
|
+
const tr = [];
|
|
2884
2884
|
let Fr;
|
|
2885
2885
|
function Tb(i) {
|
|
2886
2886
|
Fr = i.keyCode === 27;
|
|
@@ -2889,30 +2889,30 @@ function Db() {
|
|
|
2889
2889
|
Fr === !0 && (Fr = !1);
|
|
2890
2890
|
}
|
|
2891
2891
|
function qb(i) {
|
|
2892
|
-
Fr === !0 && (Fr = !1, dn(i, 27) === !0 &&
|
|
2892
|
+
Fr === !0 && (Fr = !1, dn(i, 27) === !0 && tr[tr.length - 1](i));
|
|
2893
2893
|
}
|
|
2894
2894
|
function Km(i) {
|
|
2895
2895
|
window[i]("keydown", Tb), window[i]("blur", Db), window[i]("keyup", qb), Fr = !1;
|
|
2896
2896
|
}
|
|
2897
2897
|
function Ym(i) {
|
|
2898
|
-
Tt.is.desktop === !0 && (
|
|
2898
|
+
Tt.is.desktop === !0 && (tr.push(i), tr.length === 1 && Km("addEventListener"));
|
|
2899
2899
|
}
|
|
2900
2900
|
function il(i) {
|
|
2901
|
-
const e =
|
|
2902
|
-
e !== -1 && (
|
|
2901
|
+
const e = tr.indexOf(i);
|
|
2902
|
+
e !== -1 && (tr.splice(e, 1), tr.length === 0 && Km("removeEventListener"));
|
|
2903
2903
|
}
|
|
2904
|
-
const
|
|
2904
|
+
const ir = [];
|
|
2905
2905
|
function Gm(i) {
|
|
2906
|
-
|
|
2906
|
+
ir[ir.length - 1](i);
|
|
2907
2907
|
}
|
|
2908
2908
|
function Jm(i) {
|
|
2909
|
-
Tt.is.desktop === !0 && (
|
|
2909
|
+
Tt.is.desktop === !0 && (ir.push(i), ir.length === 1 && document.body.addEventListener("focusin", Gm));
|
|
2910
2910
|
}
|
|
2911
2911
|
function ou(i) {
|
|
2912
|
-
const e =
|
|
2913
|
-
e !== -1 && (
|
|
2912
|
+
const e = ir.indexOf(i);
|
|
2913
|
+
e !== -1 && (ir.splice(e, 1), ir.length === 0 && document.body.removeEventListener("focusin", Gm));
|
|
2914
2914
|
}
|
|
2915
|
-
const { notPassiveCapture: nl } = At,
|
|
2915
|
+
const { notPassiveCapture: nl } = At, nr = [];
|
|
2916
2916
|
function rl(i) {
|
|
2917
2917
|
const e = i.target;
|
|
2918
2918
|
if (e === void 0 || e.nodeType === 8 || e.classList.contains("no-pointer-events") === !0) return;
|
|
@@ -2928,8 +2928,8 @@ function rl(i) {
|
|
|
2928
2928
|
if (n.props.seamless !== !0) return;
|
|
2929
2929
|
t--;
|
|
2930
2930
|
}
|
|
2931
|
-
for (let n =
|
|
2932
|
-
const r =
|
|
2931
|
+
for (let n = nr.length - 1; n >= 0; n--) {
|
|
2932
|
+
const r = nr[n];
|
|
2933
2933
|
if ((r.anchorEl.value === null || r.anchorEl.value.contains(e) === !1) && (e === document.body || r.innerRef.value !== null && r.innerRef.value.contains(e) === !1))
|
|
2934
2934
|
i.qClickOutside = !0, r.onClickOutside(i);
|
|
2935
2935
|
else
|
|
@@ -2937,11 +2937,11 @@ function rl(i) {
|
|
|
2937
2937
|
}
|
|
2938
2938
|
}
|
|
2939
2939
|
function Xm(i) {
|
|
2940
|
-
|
|
2940
|
+
nr.push(i), nr.length === 1 && (document.addEventListener("mousedown", rl, nl), document.addEventListener("touchstart", rl, nl));
|
|
2941
2941
|
}
|
|
2942
2942
|
function ol(i) {
|
|
2943
|
-
const e =
|
|
2944
|
-
e !== -1 && (
|
|
2943
|
+
const e = nr.findIndex((t) => t === i);
|
|
2944
|
+
e !== -1 && (nr.splice(e, 1), nr.length === 0 && (document.removeEventListener("mousedown", rl, nl), document.removeEventListener("touchstart", rl, nl)));
|
|
2945
2945
|
}
|
|
2946
2946
|
let Rh, Eh;
|
|
2947
2947
|
function sl(i) {
|
|
@@ -4077,7 +4077,7 @@ const Ko = Je({
|
|
|
4077
4077
|
setup(i, { slots: e, emit: t }) {
|
|
4078
4078
|
const { proxy: n } = je(), { $q: r } = n, o = X(!1), s = X(!1), l = X(-1), a = X(""), u = X(!1), c = X(!1);
|
|
4079
4079
|
let h = null, d = null, f, m, p, g = null, y, w, v, b;
|
|
4080
|
-
const S = X(null), T = X(null), A = X(null), H = X(null), j = X(null), I = _m(i), B = Bm(
|
|
4080
|
+
const S = X(null), T = X(null), A = X(null), H = X(null), j = X(null), I = _m(i), B = Bm(fr), _ = x(() => Array.isArray(i.options) ? i.options.length : 0), q = x(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
|
|
4081
4081
|
virtualScrollSliceRange: P,
|
|
4082
4082
|
virtualScrollSliceSizeComputed: N,
|
|
4083
4083
|
localResetVirtualScroll: z,
|
|
@@ -4173,7 +4173,7 @@ const Ko = Je({
|
|
|
4173
4173
|
() => i.optionsCover === !1 && i.outlined !== !0 && i.standout !== !0 && i.borderless !== !0 && i.rounded !== !0
|
|
4174
4174
|
), Jt = x(() => i.optionsSelectedClass !== void 0 ? i.optionsSelectedClass : i.color !== void 0 ? `text-${i.color}` : ""), at = x(() => xa(i.optionValue, "value")), Z = x(() => xa(i.optionLabel, "label")), ye = x(() => xa(i.optionDisable, "disable")), we = x(() => k.value.map(at.value)), Ue = x(() => {
|
|
4175
4175
|
const D = {
|
|
4176
|
-
onInput:
|
|
4176
|
+
onInput: fr,
|
|
4177
4177
|
// Safari < 10.2 & UIWebView doesn't fire compositionend when
|
|
4178
4178
|
// switching focus before confirming composition choice
|
|
4179
4179
|
// this also fixes the issue where some browsers e.g. iOS Chrome
|
|
@@ -4338,7 +4338,7 @@ const Ko = Je({
|
|
|
4338
4338
|
o.value !== !0 && Se(D);
|
|
4339
4339
|
const $e = D.key.toLocaleLowerCase(), mt = v.length === 1 && v[0] === $e;
|
|
4340
4340
|
b = Date.now() + 1500, mt === !1 && (ct(D), v += $e);
|
|
4341
|
-
const Ze = new RegExp("^" + v.split("").map((
|
|
4341
|
+
const Ze = new RegExp("^" + v.split("").map((mr) => Qb.indexOf(mr) !== -1 ? "\\" + mr : mr).join(".*"), "i");
|
|
4342
4342
|
let gt = l.value;
|
|
4343
4343
|
if (mt === !0 || gt < 0 || Ze.test(Z.value(i.options[gt])) !== !0)
|
|
4344
4344
|
do
|
|
@@ -4356,13 +4356,13 @@ const Ko = Je({
|
|
|
4356
4356
|
}
|
|
4357
4357
|
if (de === !0) {
|
|
4358
4358
|
const $e = (mt, Ze) => {
|
|
4359
|
-
var
|
|
4359
|
+
var mr;
|
|
4360
4360
|
if (Ze) {
|
|
4361
4361
|
if (Uh(Ze) !== !0) return;
|
|
4362
4362
|
} else
|
|
4363
4363
|
Ze = i.newValueMode;
|
|
4364
4364
|
if (Hn("", i.multiple !== !0, !0), mt == null) return;
|
|
4365
|
-
(Ze === "toggle" ? ut : Xe)(mt, Ze === "add-unique"), i.multiple !== !0 && ((
|
|
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;
|
|
4368
4368
|
}
|
|
@@ -4433,7 +4433,7 @@ const Ko = Je({
|
|
|
4433
4433
|
};
|
|
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
|
-
function
|
|
4436
|
+
function fr(D) {
|
|
4437
4437
|
h !== null && (clearTimeout(h), h = null), d !== null && (clearTimeout(d), d = null), !(D && D.target && D.target.qComposing === !0) && (Nn(D.target.value || ""), p = !0, y = a.value, M.focused.value !== !0 && (m !== !0 || u.value === !0) && M.focus(), i.onFilter !== void 0 && (h = setTimeout(() => {
|
|
4438
4438
|
h = null, Ii(a.value);
|
|
4439
4439
|
}, i.inputDebounce)));
|
|
@@ -5057,7 +5057,7 @@ function n1(i) {
|
|
|
5057
5057
|
};
|
|
5058
5058
|
}
|
|
5059
5059
|
const { passiveCapture: xi } = At;
|
|
5060
|
-
let
|
|
5060
|
+
let gr = null, pr = null, vr = null;
|
|
5061
5061
|
const It = Je({
|
|
5062
5062
|
name: "QBtn",
|
|
5063
5063
|
props: {
|
|
@@ -5137,20 +5137,20 @@ const It = Je({
|
|
|
5137
5137
|
}
|
|
5138
5138
|
}
|
|
5139
5139
|
function H(P) {
|
|
5140
|
-
d.value !== null && (t("keydown", P), dn(P, [13, 32]) === !0 &&
|
|
5140
|
+
d.value !== null && (t("keydown", P), dn(P, [13, 32]) === !0 && pr !== d.value && (pr !== null && _(), P.defaultPrevented !== !0 && (P.qAvoidFocus !== !0 && d.value.focus(), pr = d.value, d.value.classList.add("q-btn--active"), document.addEventListener("keyup", B, !0), d.value.addEventListener("blur", B, xi)), ct(P)));
|
|
5141
5141
|
}
|
|
5142
5142
|
function j(P) {
|
|
5143
|
-
d.value !== null && (t("touchstart", P), P.defaultPrevented !== !0 && (
|
|
5143
|
+
d.value !== null && (t("touchstart", P), P.defaultPrevented !== !0 && (gr !== d.value && (gr !== null && _(), gr = d.value, m = P.target, m.addEventListener("touchcancel", B, xi), m.addEventListener("touchend", B, xi)), p = !0, g !== null && clearTimeout(g), g = setTimeout(() => {
|
|
5144
5144
|
g = null, p = !1;
|
|
5145
5145
|
}, 200)));
|
|
5146
5146
|
}
|
|
5147
5147
|
function I(P) {
|
|
5148
|
-
d.value !== null && (P.qSkipRipple = p === !0, t("mousedown", P), P.defaultPrevented !== !0 &&
|
|
5148
|
+
d.value !== null && (P.qSkipRipple = p === !0, t("mousedown", P), P.defaultPrevented !== !0 && vr !== d.value && (vr !== null && _(), vr = d.value, d.value.classList.add("q-btn--active"), document.addEventListener("mouseup", B, xi)));
|
|
5149
5149
|
}
|
|
5150
5150
|
function B(P) {
|
|
5151
5151
|
if (d.value !== null && !((P == null ? void 0 : P.type) === "blur" && document.activeElement === d.value)) {
|
|
5152
5152
|
if ((P == null ? void 0 : P.type) === "keyup") {
|
|
5153
|
-
if (
|
|
5153
|
+
if (pr === d.value && dn(P, [13, 32]) === !0) {
|
|
5154
5154
|
const N = new MouseEvent("click", P);
|
|
5155
5155
|
N.qKeyEvent = !0, P.defaultPrevented === !0 && ei(N), P.cancelBubble === !0 && fi(N), d.value.dispatchEvent(N), ct(P), P.qKeyEvent = !0;
|
|
5156
5156
|
}
|
|
@@ -5162,7 +5162,7 @@ const It = Je({
|
|
|
5162
5162
|
function _(P) {
|
|
5163
5163
|
var z, R;
|
|
5164
5164
|
const N = f.value;
|
|
5165
|
-
P !== !0 && (
|
|
5165
|
+
P !== !0 && (gr === d.value || vr === d.value) && N !== null && N !== document.activeElement && (N.setAttribute("tabindex", -1), N.focus()), gr === d.value && (m !== null && (m.removeEventListener("touchcancel", B, xi), m.removeEventListener("touchend", B, xi)), gr = m = null), vr === d.value && (document.removeEventListener("mouseup", B, xi), vr = null), pr === d.value && (document.removeEventListener("keyup", B, !0), (z = d.value) == null || z.removeEventListener("blur", B, xi), pr = null), (R = d.value) == null || R.classList.remove("q-btn--active");
|
|
5166
5166
|
}
|
|
5167
5167
|
function q(P) {
|
|
5168
5168
|
ct(P), P.qSkipRipple = !0;
|
|
@@ -5854,7 +5854,7 @@ function dg(i, e, t = "days") {
|
|
|
5854
5854
|
function Sa(i) {
|
|
5855
5855
|
return dg(i, rn(i, "year"), "days") + 1;
|
|
5856
5856
|
}
|
|
5857
|
-
function
|
|
5857
|
+
function yr(i) {
|
|
5858
5858
|
if (i >= 11 && i <= 13)
|
|
5859
5859
|
return `${i}th`;
|
|
5860
5860
|
switch (i % 10) {
|
|
@@ -5883,7 +5883,7 @@ const Zh = {
|
|
|
5883
5883
|
},
|
|
5884
5884
|
// Month: 1st, 2nd, ..., 12th
|
|
5885
5885
|
Mo(i) {
|
|
5886
|
-
return
|
|
5886
|
+
return yr(i.getMonth() + 1);
|
|
5887
5887
|
},
|
|
5888
5888
|
// Month: 01, 02, ..., 12
|
|
5889
5889
|
MM(i) {
|
|
@@ -5903,7 +5903,7 @@ const Zh = {
|
|
|
5903
5903
|
},
|
|
5904
5904
|
// Quarter: 1st, 2nd, 3rd, 4th
|
|
5905
5905
|
Qo(i) {
|
|
5906
|
-
return
|
|
5906
|
+
return yr(this.Q(i));
|
|
5907
5907
|
},
|
|
5908
5908
|
// Day of month: 1, 2, ..., 31
|
|
5909
5909
|
D(i) {
|
|
@@ -5911,7 +5911,7 @@ const Zh = {
|
|
|
5911
5911
|
},
|
|
5912
5912
|
// Day of month: 1st, 2nd, ..., 31st
|
|
5913
5913
|
Do(i) {
|
|
5914
|
-
return
|
|
5914
|
+
return yr(i.getDate());
|
|
5915
5915
|
},
|
|
5916
5916
|
// Day of month: 01, 02, ..., 31
|
|
5917
5917
|
DD(i) {
|
|
@@ -5923,7 +5923,7 @@ const Zh = {
|
|
|
5923
5923
|
},
|
|
5924
5924
|
// Day of year: 1st, 2nd, ..., 366th
|
|
5925
5925
|
DDDo(i) {
|
|
5926
|
-
return
|
|
5926
|
+
return yr(Sa(i));
|
|
5927
5927
|
},
|
|
5928
5928
|
// Day of year: 001, 002, ..., 366
|
|
5929
5929
|
DDDD(i) {
|
|
@@ -5935,7 +5935,7 @@ const Zh = {
|
|
|
5935
5935
|
},
|
|
5936
5936
|
// Day of week: 0th, 1st, ..., 6th
|
|
5937
5937
|
do(i) {
|
|
5938
|
-
return
|
|
5938
|
+
return yr(i.getDay());
|
|
5939
5939
|
},
|
|
5940
5940
|
// Day of week: Su, Mo, ...
|
|
5941
5941
|
dd(i, e) {
|
|
@@ -5959,7 +5959,7 @@ const Zh = {
|
|
|
5959
5959
|
},
|
|
5960
5960
|
// Week of Year: 1st 2nd ... 52nd 53rd
|
|
5961
5961
|
wo(i) {
|
|
5962
|
-
return
|
|
5962
|
+
return yr(wa(i));
|
|
5963
5963
|
},
|
|
5964
5964
|
// Week of Year: 01 02 ... 52 53
|
|
5965
5965
|
ww(i) {
|
|
@@ -6052,7 +6052,7 @@ function fg(i, e, t, n, r) {
|
|
|
6052
6052
|
(l, a) => l in Zh ? Zh[l](o, s, n, r) : a === void 0 ? l : a.split("\\]").join("]")
|
|
6053
6053
|
);
|
|
6054
6054
|
}
|
|
6055
|
-
const tn = 20, g1 = ["Calendar", "Years", "Months"], ed = (i) => g1.includes(i), Ca = (i) => /^-?[\d]+\/[0-1]\d$/.test(i),
|
|
6055
|
+
const tn = 20, g1 = ["Calendar", "Years", "Months"], ed = (i) => g1.includes(i), Ca = (i) => /^-?[\d]+\/[0-1]\d$/.test(i), br = " — ";
|
|
6056
6056
|
function yn(i) {
|
|
6057
6057
|
return i.year + "/" + Ne(i.month);
|
|
6058
6058
|
}
|
|
@@ -6154,22 +6154,22 @@ const mg = Je({
|
|
|
6154
6154
|
return i.title;
|
|
6155
6155
|
if (B.value !== null) {
|
|
6156
6156
|
const U = B.value.init, ae = Y.value(U);
|
|
6157
|
-
return g.value.daysShort[ae.getDay()] + ", " + g.value.monthsShort[U.month - 1] + " " + U.day +
|
|
6157
|
+
return g.value.daysShort[ae.getDay()] + ", " + g.value.monthsShort[U.month - 1] + " " + U.day + br + "?";
|
|
6158
6158
|
}
|
|
6159
6159
|
if (M.value === 0)
|
|
6160
|
-
return
|
|
6160
|
+
return br;
|
|
6161
6161
|
if (M.value > 1)
|
|
6162
6162
|
return `${M.value} ${g.value.pluralDay}`;
|
|
6163
6163
|
const C = R.value[0], L = Y.value(C);
|
|
6164
|
-
return isNaN(L.valueOf()) === !0 ?
|
|
6164
|
+
return isNaN(L.valueOf()) === !0 ? br : g.value.headerTitle !== void 0 ? g.value.headerTitle(L, C) : g.value.daysShort[L.getDay()] + ", " + g.value.monthsShort[C.month - 1] + " " + C.day;
|
|
6165
6165
|
}), E = x(() => R.value.concat(V.value.map((L) => L.from)).sort((L, U) => L.year - U.year || L.month - U.month)[0]), W = x(() => R.value.concat(V.value.map((L) => L.to)).sort((L, U) => U.year - L.year || U.month - L.month)[0]), G = x(() => {
|
|
6166
6166
|
if (i.subtitle !== void 0 && i.subtitle !== null && i.subtitle.length !== 0)
|
|
6167
6167
|
return i.subtitle;
|
|
6168
6168
|
if (M.value === 0)
|
|
6169
|
-
return
|
|
6169
|
+
return br;
|
|
6170
6170
|
if (M.value > 1) {
|
|
6171
6171
|
const C = E.value, L = W.value, U = g.value.monthsShort;
|
|
6172
|
-
return U[C.month - 1] + (C.year !== L.year ? " " + C.year +
|
|
6172
|
+
return U[C.month - 1] + (C.year !== L.year ? " " + C.year + br + U[L.month - 1] + " " : C.month !== L.month ? br + U[L.month - 1] : "") + " " + L.year;
|
|
6173
6173
|
}
|
|
6174
6174
|
return R.value[0].year;
|
|
6175
6175
|
}), re = x(() => {
|
|
@@ -6463,7 +6463,7 @@ const mg = Je({
|
|
|
6463
6463
|
}
|
|
6464
6464
|
function qe(C, L) {
|
|
6465
6465
|
const U = _t.value[L];
|
|
6466
|
-
((U == null ? void 0 : U.includes(C.day)) === !0 ?
|
|
6466
|
+
((U == null ? void 0 : U.includes(C.day)) === !0 ? fr : $r)(C);
|
|
6467
6467
|
}
|
|
6468
6468
|
function tt(C) {
|
|
6469
6469
|
return { year: C.year, month: C.month, day: C.day };
|
|
@@ -6527,7 +6527,7 @@ const mg = Je({
|
|
|
6527
6527
|
L = en(C);
|
|
6528
6528
|
Fn(L, "add", C);
|
|
6529
6529
|
}
|
|
6530
|
-
function
|
|
6530
|
+
function fr(C) {
|
|
6531
6531
|
if (i.noUnset === !0) return;
|
|
6532
6532
|
let L = null;
|
|
6533
6533
|
if (i.multiple === !0 && Array.isArray(i.modelValue) === !0) {
|
|
@@ -6834,11 +6834,11 @@ const mg = Je({
|
|
|
6834
6834
|
if (B.value === null) {
|
|
6835
6835
|
const U = at.value.find((fe) => fe.fill !== !0 && fe.i === C);
|
|
6836
6836
|
if (i.noUnset !== !0 && U.range !== void 0) {
|
|
6837
|
-
|
|
6837
|
+
fr({ target: L, from: U.range.from, to: U.range.to });
|
|
6838
6838
|
return;
|
|
6839
6839
|
}
|
|
6840
6840
|
if (U.selected === !0) {
|
|
6841
|
-
|
|
6841
|
+
fr(L);
|
|
6842
6842
|
return;
|
|
6843
6843
|
}
|
|
6844
6844
|
const ae = nn(L);
|
|
@@ -6923,7 +6923,7 @@ const mg = Je({
|
|
|
6923
6923
|
});
|
|
6924
6924
|
n.value === void 0 && (n.value = null);
|
|
6925
6925
|
const c = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, get QInput() {
|
|
6926
|
-
return
|
|
6926
|
+
return hr;
|
|
6927
6927
|
}, get QPopupProxy() {
|
|
6928
6928
|
return Cc;
|
|
6929
6929
|
}, get QDate() {
|
|
@@ -7175,7 +7175,7 @@ const w1 = cc(
|
|
|
7175
7175
|
end(o, s) {
|
|
7176
7176
|
var l;
|
|
7177
7177
|
if (r.event !== void 0) {
|
|
7178
|
-
if (
|
|
7178
|
+
if (er(r, "temp"), Tt.is.firefox === !0 && ma(i, !1), s === !0)
|
|
7179
7179
|
(l = r.styleCleanup) == null || l.call(r), r.event.detected !== !0 && r.initialEvent !== void 0 && r.initialEvent.target.dispatchEvent(r.initialEvent.event);
|
|
7180
7180
|
else if (r.event.detected === !0) {
|
|
7181
7181
|
r.event.isFirst === !0 && r.handler(Ma(o === void 0 ? r.lastEvt : o, r).payload);
|
|
@@ -7207,7 +7207,7 @@ const w1 = cc(
|
|
|
7207
7207
|
beforeUnmount(i) {
|
|
7208
7208
|
var t;
|
|
7209
7209
|
const e = i.__qtouchpan;
|
|
7210
|
-
e !== void 0 && (e.event !== void 0 && e.end(),
|
|
7210
|
+
e !== void 0 && (e.event !== void 0 && e.end(), er(e, "main"), er(e, "temp"), Tt.is.firefox === !0 && ma(i, !1), (t = e.styleCleanup) == null || t.call(e), delete i.__qtouchpan);
|
|
7211
7211
|
}
|
|
7212
7212
|
}
|
|
7213
7213
|
);
|
|
@@ -7702,7 +7702,7 @@ const gg = Je({
|
|
|
7702
7702
|
});
|
|
7703
7703
|
n.value === void 0 && (n.value = null);
|
|
7704
7704
|
const c = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, get QInput() {
|
|
7705
|
-
return
|
|
7705
|
+
return hr;
|
|
7706
7706
|
}, get QPopupProxy() {
|
|
7707
7707
|
return Cc;
|
|
7708
7708
|
}, get QTime() {
|
|
@@ -7918,7 +7918,7 @@ const rd = /* @__PURE__ */ Kt(M1, [["render", O1], ["__file", "/Users/zachsherbo
|
|
|
7918
7918
|
n.value = `${v}-${b}-${S} ${T}:${H} ${A}`;
|
|
7919
7919
|
}
|
|
7920
7920
|
}, get QInput() {
|
|
7921
|
-
return
|
|
7921
|
+
return hr;
|
|
7922
7922
|
}, get QPopupProxy() {
|
|
7923
7923
|
return Cc;
|
|
7924
7924
|
}, get QDate() {
|
|
@@ -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
|
+
Jn(i.$slots, "header-actions", {}, void 0, !0)
|
|
8441
8441
|
])
|
|
8442
8442
|
]),
|
|
8443
8443
|
default: ue(() => [
|
|
@@ -8572,7 +8572,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
|
|
|
8572
8572
|
}, i.transitionDuration);
|
|
8573
8573
|
}
|
|
8574
8574
|
function N() {
|
|
8575
|
-
o !== void 0 && (o.disconnect(), o = void 0), r !== void 0 && (r(), r = void 0), b(),
|
|
8575
|
+
o !== void 0 && (o.disconnect(), o = void 0), r !== void 0 && (r(), r = void 0), b(), er(A, "tooltipTemp");
|
|
8576
8576
|
}
|
|
8577
8577
|
function z() {
|
|
8578
8578
|
wc({
|
|
@@ -8596,7 +8596,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
|
|
|
8596
8596
|
}, i.delay);
|
|
8597
8597
|
}
|
|
8598
8598
|
function V(E) {
|
|
8599
|
-
l.platform.is.mobile === !0 && (
|
|
8599
|
+
l.platform.is.mobile === !0 && (er(A, "tooltipTemp"), tl(), setTimeout(() => {
|
|
8600
8600
|
document.body.classList.remove("non-selectable");
|
|
8601
8601
|
}, 10)), p(() => {
|
|
8602
8602
|
j(E);
|
|
@@ -8830,7 +8830,7 @@ function ax(i, e, t, n, r, o) {
|
|
|
8830
8830
|
]),
|
|
8831
8831
|
be("div", Z1, [
|
|
8832
8832
|
ne(" Slot for additional header actions (e.g., template toggle buttons) "),
|
|
8833
|
-
|
|
8833
|
+
Jn(i.$slots, "header-actions", {}, void 0, !0),
|
|
8834
8834
|
ne(" Add button on same line only for top-right "),
|
|
8835
8835
|
n.isTopPosition && n.isRightPosition ? (ee(), gi(n.QBtn, ot({ key: 0 }, n.quickformsFeatures.addButton, {
|
|
8836
8836
|
disable: !n.canAdd,
|
|
@@ -8874,13 +8874,23 @@ function ax(i, e, t, n, r, o) {
|
|
|
8874
8874
|
var a, u;
|
|
8875
8875
|
return [
|
|
8876
8876
|
be("div", rx, [
|
|
8877
|
-
|
|
8877
|
+
Jn(i.$slots, "item-content", {
|
|
8878
|
+
item: s,
|
|
8879
|
+
index: l,
|
|
8878
8880
|
schema: n.itemsSchema,
|
|
8879
8881
|
path: `${t.path}[${l}]`,
|
|
8880
8882
|
label: n.getItemLabel(l),
|
|
8881
8883
|
disabled: t.disabled,
|
|
8882
8884
|
readonly: t.readonly
|
|
8883
|
-
},
|
|
8885
|
+
}, () => [
|
|
8886
|
+
$(n.FieldRenderer, {
|
|
8887
|
+
schema: n.itemsSchema,
|
|
8888
|
+
path: `${t.path}[${l}]`,
|
|
8889
|
+
label: n.getItemLabel(l),
|
|
8890
|
+
disabled: t.disabled,
|
|
8891
|
+
readonly: t.readonly
|
|
8892
|
+
}, null, 8, ["schema", "path", "label", "disabled", "readonly"])
|
|
8893
|
+
], !0)
|
|
8884
8894
|
]),
|
|
8885
8895
|
be("div", ox, [
|
|
8886
8896
|
$(n.QBtn, {
|
|
@@ -9136,7 +9146,7 @@ const cx = /* @__PURE__ */ Pt({
|
|
|
9136
9146
|
}, set nextId(A) {
|
|
9137
9147
|
y = A;
|
|
9138
9148
|
}, pairs: w, isInternalUpdate: v, addPair: b, removePair: S, get QInput() {
|
|
9139
|
-
return
|
|
9149
|
+
return hr;
|
|
9140
9150
|
}, get QBtn() {
|
|
9141
9151
|
return It;
|
|
9142
9152
|
} };
|
|
@@ -10285,7 +10295,7 @@ class To {
|
|
|
10285
10295
|
this.ins == -1 ? this.forward(e) : e == this.ins ? this.next() : (this.ins -= e, this.off += e);
|
|
10286
10296
|
}
|
|
10287
10297
|
}
|
|
10288
|
-
class
|
|
10298
|
+
class $n {
|
|
10289
10299
|
constructor(e, t, n) {
|
|
10290
10300
|
this.from = e, this.to = t, this.flags = n;
|
|
10291
10301
|
}
|
|
@@ -10342,7 +10352,7 @@ class Xn {
|
|
|
10342
10352
|
*/
|
|
10343
10353
|
map(e, t = -1) {
|
|
10344
10354
|
let n, r;
|
|
10345
|
-
return this.empty ? n = r = e.mapPos(this.from, t) : (n = e.mapPos(this.from, 1), r = e.mapPos(this.to, -1)), n == this.from && r == this.to ? this : new
|
|
10355
|
+
return this.empty ? n = r = e.mapPos(this.from, t) : (n = e.mapPos(this.from, 1), r = e.mapPos(this.to, -1)), n == this.from && r == this.to ? this : new $n(n, r, this.flags);
|
|
10346
10356
|
}
|
|
10347
10357
|
/**
|
|
10348
10358
|
Extend this range to cover at least `from` to `to`.
|
|
@@ -10378,7 +10388,7 @@ class Xn {
|
|
|
10378
10388
|
@internal
|
|
10379
10389
|
*/
|
|
10380
10390
|
static create(e, t, n) {
|
|
10381
|
-
return new
|
|
10391
|
+
return new $n(e, t, n);
|
|
10382
10392
|
}
|
|
10383
10393
|
}
|
|
10384
10394
|
class J {
|
|
@@ -10448,7 +10458,7 @@ class J {
|
|
|
10448
10458
|
static fromJSON(e) {
|
|
10449
10459
|
if (!e || !Array.isArray(e.ranges) || typeof e.main != "number" || e.main >= e.ranges.length)
|
|
10450
10460
|
throw new RangeError("Invalid JSON representation for EditorSelection");
|
|
10451
|
-
return new J(e.ranges.map((t) =>
|
|
10461
|
+
return new J(e.ranges.map((t) => $n.fromJSON(t)), e.main);
|
|
10452
10462
|
}
|
|
10453
10463
|
/**
|
|
10454
10464
|
Create a selection holding a single range.
|
|
@@ -10476,14 +10486,14 @@ class J {
|
|
|
10476
10486
|
safely ignore the optional arguments in most situations.
|
|
10477
10487
|
*/
|
|
10478
10488
|
static cursor(e, t = 0, n, r) {
|
|
10479
|
-
return
|
|
10489
|
+
return $n.create(e, e, (t == 0 ? 0 : t < 0 ? 8 : 16) | (n == null ? 7 : Math.min(6, n)) | (r ?? 16777215) << 6);
|
|
10480
10490
|
}
|
|
10481
10491
|
/**
|
|
10482
10492
|
Create a selection range.
|
|
10483
10493
|
*/
|
|
10484
10494
|
static range(e, t, n, r) {
|
|
10485
10495
|
let o = (n ?? 16777215) << 6 | (r == null ? 7 : Math.min(6, r));
|
|
10486
|
-
return t < e ?
|
|
10496
|
+
return t < e ? $n.create(t, e, 48 | o) : $n.create(e, t, (t > e ? 8 : 0) | o);
|
|
10487
10497
|
}
|
|
10488
10498
|
/**
|
|
10489
10499
|
@internal
|
|
@@ -10697,7 +10707,7 @@ const Kn = { lowest: 4, low: 3, default: 2, high: 1, highest: 0 };
|
|
|
10697
10707
|
function to(i) {
|
|
10698
10708
|
return (e) => new Mg(e, i);
|
|
10699
10709
|
}
|
|
10700
|
-
const
|
|
10710
|
+
const dr = {
|
|
10701
10711
|
/**
|
|
10702
10712
|
The highest precedence level, for extensions that should end up
|
|
10703
10713
|
near the start of the precedence ordering.
|
|
@@ -11432,7 +11442,7 @@ function Bi(i, e, t = {}) {
|
|
|
11432
11442
|
n[r] === void 0 && (n[r] = e[r]);
|
|
11433
11443
|
return n;
|
|
11434
11444
|
}
|
|
11435
|
-
class
|
|
11445
|
+
class sr {
|
|
11436
11446
|
/**
|
|
11437
11447
|
Compare this value with another value. Used when comparing
|
|
11438
11448
|
rangesets. The default implementation compares by identity.
|
|
@@ -11450,9 +11460,9 @@ class or {
|
|
|
11450
11460
|
return bu.create(e, t, this);
|
|
11451
11461
|
}
|
|
11452
11462
|
}
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11463
|
+
sr.prototype.startSide = sr.prototype.endSide = 0;
|
|
11464
|
+
sr.prototype.point = !1;
|
|
11465
|
+
sr.prototype.mapMode = ti.TrackDel;
|
|
11456
11466
|
let bu = class Rg {
|
|
11457
11467
|
constructor(e, t, n) {
|
|
11458
11468
|
this.from = e, this.to = t, this.value = n;
|
|
@@ -12255,12 +12265,12 @@ function Ws(i, e) {
|
|
|
12255
12265
|
}
|
|
12256
12266
|
}
|
|
12257
12267
|
function Hr(i) {
|
|
12258
|
-
return i.nodeType == 3 ?
|
|
12268
|
+
return i.nodeType == 3 ? ar(i, 0, i.nodeValue.length).getClientRects() : i.nodeType == 1 ? i.getClientRects() : [];
|
|
12259
12269
|
}
|
|
12260
12270
|
function vo(i, e, t, n) {
|
|
12261
12271
|
return t ? wd(i, e, t, n, -1) || wd(i, e, t, n, 1) : !1;
|
|
12262
12272
|
}
|
|
12263
|
-
function
|
|
12273
|
+
function lr(i) {
|
|
12264
12274
|
for (var e = 0; ; e++)
|
|
12265
12275
|
if (i = i.previousSibling, !i)
|
|
12266
12276
|
return e;
|
|
@@ -12278,7 +12288,7 @@ function wd(i, e, t, n, r) {
|
|
|
12278
12288
|
let o = i.parentNode;
|
|
12279
12289
|
if (!o || o.nodeType != 1)
|
|
12280
12290
|
return !1;
|
|
12281
|
-
e =
|
|
12291
|
+
e = lr(i) + (r < 0 ? 0 : 1), i = o;
|
|
12282
12292
|
} else if (i.nodeType == 1) {
|
|
12283
12293
|
if (i = i.childNodes[e + (r < 0 ? -1 : 0)], i.nodeType == 1 && i.contentEditable == "false")
|
|
12284
12294
|
return !1;
|
|
@@ -12421,7 +12431,7 @@ function Fg(i) {
|
|
|
12421
12431
|
}
|
|
12422
12432
|
}
|
|
12423
12433
|
let Sd;
|
|
12424
|
-
function
|
|
12434
|
+
function ar(i, e, t = e) {
|
|
12425
12435
|
let n = Sd || (Sd = document.createRange());
|
|
12426
12436
|
return n.setEnd(i, t), n.setStart(i, e), n;
|
|
12427
12437
|
}
|
|
@@ -12458,7 +12468,7 @@ function Xx(i, e) {
|
|
|
12458
12468
|
} else {
|
|
12459
12469
|
if (t == i)
|
|
12460
12470
|
return !0;
|
|
12461
|
-
n =
|
|
12471
|
+
n = lr(t), t = t.parentNode;
|
|
12462
12472
|
}
|
|
12463
12473
|
}
|
|
12464
12474
|
function Hg(i) {
|
|
@@ -12473,7 +12483,7 @@ function zg(i, e) {
|
|
|
12473
12483
|
return null;
|
|
12474
12484
|
t = t.childNodes[n - 1], n = Ji(t);
|
|
12475
12485
|
} else if (t.parentNode && !hl(t))
|
|
12476
|
-
n =
|
|
12486
|
+
n = lr(t), t = t.parentNode;
|
|
12477
12487
|
else
|
|
12478
12488
|
return null;
|
|
12479
12489
|
}
|
|
@@ -12487,7 +12497,7 @@ function jg(i, e) {
|
|
|
12487
12497
|
return null;
|
|
12488
12498
|
t = t.childNodes[n], n = 0;
|
|
12489
12499
|
} else if (t.parentNode && !hl(t))
|
|
12490
|
-
n =
|
|
12500
|
+
n = lr(t) + 1, t = t.parentNode;
|
|
12491
12501
|
else
|
|
12492
12502
|
return null;
|
|
12493
12503
|
}
|
|
@@ -12497,10 +12507,10 @@ class Wt {
|
|
|
12497
12507
|
this.node = e, this.offset = t, this.precise = n;
|
|
12498
12508
|
}
|
|
12499
12509
|
static before(e, t) {
|
|
12500
|
-
return new Wt(e.parentNode,
|
|
12510
|
+
return new Wt(e.parentNode, lr(e), t);
|
|
12501
12511
|
}
|
|
12502
12512
|
static after(e, t) {
|
|
12503
|
-
return new Wt(e.parentNode,
|
|
12513
|
+
return new Wt(e.parentNode, lr(e) + 1, t);
|
|
12504
12514
|
}
|
|
12505
12515
|
}
|
|
12506
12516
|
const _c = [];
|
|
@@ -12807,7 +12817,7 @@ function Zx(i, e, t) {
|
|
|
12807
12817
|
e > n && (e = n);
|
|
12808
12818
|
let r = e, o = e, s = 0;
|
|
12809
12819
|
e == 0 && t < 0 || e == n && t >= 0 ? ce.chrome || ce.gecko || (e ? (r--, s = 1) : o < n && (o++, s = -1)) : t < 0 ? r-- : o < n && o++;
|
|
12810
|
-
let l =
|
|
12820
|
+
let l = ar(i, r, o).getClientRects();
|
|
12811
12821
|
if (!l.length)
|
|
12812
12822
|
return null;
|
|
12813
12823
|
let a = l[(s ? s < 0 : t >= 0) ? 0 : l.length - 1];
|
|
@@ -13101,7 +13111,7 @@ class pn {
|
|
|
13101
13111
|
var ni = /* @__PURE__ */ function(i) {
|
|
13102
13112
|
return i[i.Text = 0] = "Text", i[i.WidgetBefore = 1] = "WidgetBefore", i[i.WidgetAfter = 2] = "WidgetAfter", i[i.WidgetRange = 3] = "WidgetRange", i;
|
|
13103
13113
|
}(ni || (ni = {}));
|
|
13104
|
-
class ke extends
|
|
13114
|
+
class ke extends sr {
|
|
13105
13115
|
constructor(e, t, n, r) {
|
|
13106
13116
|
super(), this.startSide = e, this.endSide = t, this.widget = n, this.spec = r;
|
|
13107
13117
|
}
|
|
@@ -13512,7 +13522,7 @@ jr.block = /* @__PURE__ */ new jr("div");
|
|
|
13512
13522
|
var st = /* @__PURE__ */ function(i) {
|
|
13513
13523
|
return i[i.LTR = 0] = "LTR", i[i.RTL = 1] = "RTL", i;
|
|
13514
13524
|
}(st || (st = {}));
|
|
13515
|
-
const
|
|
13525
|
+
const ur = st.LTR, Bc = st.RTL;
|
|
13516
13526
|
function Xg(i) {
|
|
13517
13527
|
let e = [];
|
|
13518
13528
|
for (let t = 0; t < i.length; t++)
|
|
@@ -13533,7 +13543,7 @@ class On {
|
|
|
13533
13543
|
The direction of this span.
|
|
13534
13544
|
*/
|
|
13535
13545
|
get dir() {
|
|
13536
|
-
return this.level % 2 ? Bc :
|
|
13546
|
+
return this.level % 2 ? Bc : ur;
|
|
13537
13547
|
}
|
|
13538
13548
|
/**
|
|
13539
13549
|
@internal
|
|
@@ -13698,7 +13708,7 @@ function Ru(i, e, t, n, r, o, s) {
|
|
|
13698
13708
|
d.push(p);
|
|
13699
13709
|
else {
|
|
13700
13710
|
p.from > a && s.push(new On(a, p.from, f));
|
|
13701
|
-
let g = p.direction ==
|
|
13711
|
+
let g = p.direction == ur != !(f % 2);
|
|
13702
13712
|
Eu(i, g ? n + 1 : n, r, p.inner, p.from, p.to, s), a = p.to;
|
|
13703
13713
|
}
|
|
13704
13714
|
m = p.to;
|
|
@@ -13738,7 +13748,7 @@ function Ru(i, e, t, n, r, o, s) {
|
|
|
13738
13748
|
d.push(p);
|
|
13739
13749
|
else {
|
|
13740
13750
|
p.to < a && s.push(new On(p.to, a, f));
|
|
13741
|
-
let g = p.direction ==
|
|
13751
|
+
let g = p.direction == ur != !(f % 2);
|
|
13742
13752
|
Eu(i, g ? n + 1 : n, r, p.inner, p.from, p.to, s), a = p.from;
|
|
13743
13753
|
}
|
|
13744
13754
|
m = p.from;
|
|
@@ -13757,12 +13767,12 @@ function Eu(i, e, t, n, r, o, s) {
|
|
|
13757
13767
|
function ck(i, e, t) {
|
|
13758
13768
|
if (!i)
|
|
13759
13769
|
return [new On(0, 0, e == Bc ? 1 : 0)];
|
|
13760
|
-
if (e ==
|
|
13770
|
+
if (e == ur && !t.length && !sk.test(i))
|
|
13761
13771
|
return ep(i.length);
|
|
13762
13772
|
if (t.length)
|
|
13763
13773
|
for (; i.length > Ge.length; )
|
|
13764
13774
|
Ge[Ge.length] = 256;
|
|
13765
|
-
let n = [], r = e ==
|
|
13775
|
+
let n = [], r = e == ur ? 0 : 1;
|
|
13766
13776
|
return Eu(i, r, r, t, 0, i.length, n), n;
|
|
13767
13777
|
}
|
|
13768
13778
|
function ep(i) {
|
|
@@ -13787,11 +13797,11 @@ function dk(i, e, t) {
|
|
|
13787
13797
|
for (let n = e; n < t; n++) {
|
|
13788
13798
|
let r = $g(i.charCodeAt(n));
|
|
13789
13799
|
if (r == 1)
|
|
13790
|
-
return
|
|
13800
|
+
return ur;
|
|
13791
13801
|
if (r == 2 || r == 4)
|
|
13792
13802
|
return Bc;
|
|
13793
13803
|
}
|
|
13794
|
-
return
|
|
13804
|
+
return ur;
|
|
13795
13805
|
}
|
|
13796
13806
|
const ip = /* @__PURE__ */ me.define(), np = /* @__PURE__ */ me.define(), rp = /* @__PURE__ */ me.define(), op = /* @__PURE__ */ me.define(), Lu = /* @__PURE__ */ me.define(), sp = /* @__PURE__ */ me.define(), lp = /* @__PURE__ */ me.define(), Rc = /* @__PURE__ */ me.define(), Ec = /* @__PURE__ */ me.define(), ap = /* @__PURE__ */ me.define({
|
|
13797
13807
|
combine: (i) => i.some((e) => e)
|
|
@@ -14273,7 +14283,7 @@ class Od extends Ke {
|
|
|
14273
14283
|
let o = Nt(r.text, n);
|
|
14274
14284
|
if (o == n)
|
|
14275
14285
|
return null;
|
|
14276
|
-
let s =
|
|
14286
|
+
let s = ar(r.dom, n, o).getClientRects();
|
|
14277
14287
|
for (let l = 0; l < s.length; l++) {
|
|
14278
14288
|
let a = s[l];
|
|
14279
14289
|
if (l == s.length - 1 || a.top < a.bottom && a.left < a.right)
|
|
@@ -14538,7 +14548,7 @@ function Iu(i, e, t) {
|
|
|
14538
14548
|
function qd(i, e, t) {
|
|
14539
14549
|
let n = i.nodeValue.length, r = -1, o = 1e9, s = 0;
|
|
14540
14550
|
for (let l = 0; l < n; l++) {
|
|
14541
|
-
let a =
|
|
14551
|
+
let a = ar(i, l, l + 1).getClientRects();
|
|
14542
14552
|
for (let u = 0; u < a.length; u++) {
|
|
14543
14553
|
let c = a[u];
|
|
14544
14554
|
if (c.top == c.bottom)
|
|
@@ -14548,7 +14558,7 @@ function qd(i, e, t) {
|
|
|
14548
14558
|
if (c.left - 1 <= e && c.right + 1 >= e && h < o) {
|
|
14549
14559
|
let d = e >= (c.left + c.right) / 2, f = d;
|
|
14550
14560
|
if (ce.chrome || ce.gecko) {
|
|
14551
|
-
let m =
|
|
14561
|
+
let m = ar(i, l).getBoundingClientRect();
|
|
14552
14562
|
Math.abs(m.left - c.right) < 0.1 && (f = !d);
|
|
14553
14563
|
}
|
|
14554
14564
|
if (h <= 0)
|
|
@@ -14632,7 +14642,7 @@ function yp(i, e, t) {
|
|
|
14632
14642
|
r = s;
|
|
14633
14643
|
}
|
|
14634
14644
|
}
|
|
14635
|
-
return
|
|
14645
|
+
return ar(i, n - 1, n).getBoundingClientRect().right > t;
|
|
14636
14646
|
}
|
|
14637
14647
|
function Ck(i, e, t) {
|
|
14638
14648
|
return yp(i, e, t);
|
|
@@ -14648,7 +14658,7 @@ function Mk(i, e, t) {
|
|
|
14648
14658
|
break;
|
|
14649
14659
|
r = o;
|
|
14650
14660
|
}
|
|
14651
|
-
let n = i.nodeType == 1 ? i.getBoundingClientRect() :
|
|
14661
|
+
let n = i.nodeType == 1 ? i.getBoundingClientRect() : ar(i, 0, Math.max(i.nodeValue.length, 1)).getBoundingClientRect();
|
|
14652
14662
|
return t - n.left > 5;
|
|
14653
14663
|
}
|
|
14654
14664
|
function Vu(i, e, t) {
|
|
@@ -14827,7 +14837,7 @@ function qk(i, e, t) {
|
|
|
14827
14837
|
return !1;
|
|
14828
14838
|
if (e == i)
|
|
14829
14839
|
return !0;
|
|
14830
|
-
t =
|
|
14840
|
+
t = lr(e) + 1, e = e.parentNode;
|
|
14831
14841
|
}
|
|
14832
14842
|
}
|
|
14833
14843
|
function Pk(i, e) {
|
|
@@ -17711,7 +17721,7 @@ class he {
|
|
|
17711
17721
|
target editors with a dark or light theme.
|
|
17712
17722
|
*/
|
|
17713
17723
|
static baseTheme(e) {
|
|
17714
|
-
return
|
|
17724
|
+
return dr.lowest(ao.of(zu("." + Hu, e, Bp)));
|
|
17715
17725
|
}
|
|
17716
17726
|
/**
|
|
17717
17727
|
Retrieve an editor view instance from the view's DOM
|
|
@@ -17796,7 +17806,7 @@ function yw(i, e) {
|
|
|
17796
17806
|
function Cs(i, e, t) {
|
|
17797
17807
|
return e.altKey && (i = "Alt-" + i), e.ctrlKey && (i = "Ctrl-" + i), e.metaKey && (i = "Meta-" + i), t !== !1 && e.shiftKey && (i = "Shift-" + i), i;
|
|
17798
17808
|
}
|
|
17799
|
-
const bw = /* @__PURE__ */
|
|
17809
|
+
const bw = /* @__PURE__ */ dr.default(/* @__PURE__ */ he.domEventHandlers({
|
|
17800
17810
|
keydown(i, e) {
|
|
17801
17811
|
return Ep(Rp(e.state), i, e, "editor");
|
|
17802
17812
|
}
|
|
@@ -18081,7 +18091,7 @@ const Tw = /* @__PURE__ */ Ip({
|
|
|
18081
18091
|
return i.docChanged || i.selectionSet || i.viewportChanged || Vp(i);
|
|
18082
18092
|
},
|
|
18083
18093
|
class: "cm-selectionLayer"
|
|
18084
|
-
}), Dw = /* @__PURE__ */
|
|
18094
|
+
}), Dw = /* @__PURE__ */ dr.highest(/* @__PURE__ */ he.theme({
|
|
18085
18095
|
".cm-line": {
|
|
18086
18096
|
"& ::selection, &::selection": { backgroundColor: "transparent !important" },
|
|
18087
18097
|
caretColor: "transparent !important"
|
|
@@ -19058,7 +19068,7 @@ function af(i) {
|
|
|
19058
19068
|
const Eo = /* @__PURE__ */ me.define({
|
|
19059
19069
|
enables: zp
|
|
19060
19070
|
});
|
|
19061
|
-
class Xi extends
|
|
19071
|
+
class Xi extends sr {
|
|
19062
19072
|
/**
|
|
19063
19073
|
@internal
|
|
19064
19074
|
*/
|
|
@@ -20655,7 +20665,7 @@ function Qc(i, e, t, n, r, o, s, l, a) {
|
|
|
20655
20665
|
}
|
|
20656
20666
|
return f(e, t, n, r, 0), (l || a)(h, d, s);
|
|
20657
20667
|
}
|
|
20658
|
-
class
|
|
20668
|
+
class rr {
|
|
20659
20669
|
/**
|
|
20660
20670
|
Construct a tree fragment. You'll usually want to use
|
|
20661
20671
|
[`addTree`](#common.TreeFragment^addTree) and
|
|
@@ -20690,7 +20700,7 @@ class nr {
|
|
|
20690
20700
|
true.
|
|
20691
20701
|
*/
|
|
20692
20702
|
static addTree(e, t = [], n = !1) {
|
|
20693
|
-
let r = [new
|
|
20703
|
+
let r = [new rr(0, e.length, e, 0, !1, n)];
|
|
20694
20704
|
for (let o of t)
|
|
20695
20705
|
o.to > e.length && r.push(o);
|
|
20696
20706
|
return r;
|
|
@@ -20711,7 +20721,7 @@ class nr {
|
|
|
20711
20721
|
let d = s;
|
|
20712
20722
|
if (a >= d.from || h <= d.to || u) {
|
|
20713
20723
|
let f = Math.max(d.from, a) - u, m = Math.min(d.to, h) - u;
|
|
20714
|
-
d = f >= m ? null : new
|
|
20724
|
+
d = f >= m ? null : new rr(f, m, d.tree, d.offset + u, l > 0, !!c);
|
|
20715
20725
|
}
|
|
20716
20726
|
if (d && r.push(d), s.to > h)
|
|
20717
20727
|
break;
|
|
@@ -21573,7 +21583,7 @@ class xl {
|
|
|
21573
21583
|
for (this.parse || (this.parse = this.startParse()), t != null && (this.parse.stoppedAt == null || this.parse.stoppedAt > t) && t < this.state.doc.length && this.parse.stopAt(t); ; ) {
|
|
21574
21584
|
let r = this.parse.advance();
|
|
21575
21585
|
if (r)
|
|
21576
|
-
if (this.fragments = this.withoutTempSkipped(
|
|
21586
|
+
if (this.fragments = this.withoutTempSkipped(rr.addTree(r, this.fragments, this.parse.stoppedAt != null)), this.treeLen = (n = this.parse.stoppedAt) !== null && n !== void 0 ? n : this.state.doc.length, this.tree = r, this.parse = null, this.treeLen < (t ?? this.state.doc.length))
|
|
21577
21587
|
this.parse = this.startParse();
|
|
21578
21588
|
else
|
|
21579
21589
|
return !0;
|
|
@@ -21590,7 +21600,7 @@ class xl {
|
|
|
21590
21600
|
this.parse && (e = this.parse.parsedPos) >= this.treeLen && ((this.parse.stoppedAt == null || this.parse.stoppedAt > e) && this.parse.stopAt(e), this.withContext(() => {
|
|
21591
21601
|
for (; !(t = this.parse.advance()); )
|
|
21592
21602
|
;
|
|
21593
|
-
}), this.treeLen = e, this.tree = t, this.fragments = this.withoutTempSkipped(
|
|
21603
|
+
}), this.treeLen = e, this.tree = t, this.fragments = this.withoutTempSkipped(rr.addTree(this.tree, this.fragments, !0)), this.parse = null);
|
|
21594
21604
|
}
|
|
21595
21605
|
withContext(e) {
|
|
21596
21606
|
let t = ro;
|
|
@@ -21613,7 +21623,7 @@ class xl {
|
|
|
21613
21623
|
let { fragments: n, tree: r, treeLen: o, viewport: s, skipped: l } = this;
|
|
21614
21624
|
if (this.takeTree(), !e.empty) {
|
|
21615
21625
|
let a = [];
|
|
21616
|
-
if (e.iterChangedRanges((u, c, h, d) => a.push({ fromA: u, toA: c, fromB: h, toB: d })), n =
|
|
21626
|
+
if (e.iterChangedRanges((u, c, h, d) => a.push({ fromA: u, toA: c, fromB: h, toB: d })), n = rr.applyChanges(n, a), r = xt.empty, o = 0, s = { from: e.mapPos(s.from, -1), to: e.mapPos(s.to, 1) }, this.skipped.length) {
|
|
21617
21627
|
l = [];
|
|
21618
21628
|
for (let u of this.skipped) {
|
|
21619
21629
|
let c = e.mapPos(u.from, 1), h = e.mapPos(u.to, -1);
|
|
@@ -21699,7 +21709,7 @@ class xl {
|
|
|
21699
21709
|
}
|
|
21700
21710
|
}
|
|
21701
21711
|
function bf(i, e, t) {
|
|
21702
|
-
return
|
|
21712
|
+
return rr.applyChanges(i, [{ fromA: e, toA: t, fromB: e, toB: t }]);
|
|
21703
21713
|
}
|
|
21704
21714
|
class Qr {
|
|
21705
21715
|
constructor(e) {
|
|
@@ -22112,7 +22122,7 @@ function sv(i) {
|
|
|
22112
22122
|
e.some((n) => n.from <= t && n.to >= t) || e.push(i.lineBlockAt(t));
|
|
22113
22123
|
return e;
|
|
22114
22124
|
}
|
|
22115
|
-
const
|
|
22125
|
+
const cr = /* @__PURE__ */ Mt.define({
|
|
22116
22126
|
create() {
|
|
22117
22127
|
return ke.none;
|
|
22118
22128
|
},
|
|
@@ -22162,7 +22172,7 @@ function kf(i, e, t = e) {
|
|
|
22162
22172
|
function Sl(i, e, t) {
|
|
22163
22173
|
var n;
|
|
22164
22174
|
let r = null;
|
|
22165
|
-
return (n = i.field(
|
|
22175
|
+
return (n = i.field(cr, !1)) === null || n === void 0 || n.between(e, t, (o, s) => {
|
|
22166
22176
|
(!r || r.from > o) && (r = { from: o, to: s });
|
|
22167
22177
|
}), r;
|
|
22168
22178
|
}
|
|
@@ -22173,7 +22183,7 @@ function tC(i, e, t) {
|
|
|
22173
22183
|
}), n;
|
|
22174
22184
|
}
|
|
22175
22185
|
function lv(i, e) {
|
|
22176
|
-
return i.field(
|
|
22186
|
+
return i.field(cr, !1) ? e : e.concat(Ae.appendConfig.of(cv()));
|
|
22177
22187
|
}
|
|
22178
22188
|
const iC = (i) => {
|
|
22179
22189
|
for (let e of sv(i)) {
|
|
@@ -22183,7 +22193,7 @@ const iC = (i) => {
|
|
|
22183
22193
|
}
|
|
22184
22194
|
return !1;
|
|
22185
22195
|
}, nC = (i) => {
|
|
22186
|
-
if (!i.state.field(
|
|
22196
|
+
if (!i.state.field(cr, !1))
|
|
22187
22197
|
return !1;
|
|
22188
22198
|
let e = [];
|
|
22189
22199
|
for (let t of sv(i)) {
|
|
@@ -22204,7 +22214,7 @@ const rC = (i) => {
|
|
|
22204
22214
|
}
|
|
22205
22215
|
return t.length && i.dispatch({ effects: lv(i.state, t) }), !!t.length;
|
|
22206
22216
|
}, oC = (i) => {
|
|
22207
|
-
let e = i.state.field(
|
|
22217
|
+
let e = i.state.field(cr, !1);
|
|
22208
22218
|
if (!e || !e.size)
|
|
22209
22219
|
return !1;
|
|
22210
22220
|
let t = [];
|
|
@@ -22226,7 +22236,7 @@ const rC = (i) => {
|
|
|
22226
22236
|
}
|
|
22227
22237
|
});
|
|
22228
22238
|
function cv(i) {
|
|
22229
|
-
return [
|
|
22239
|
+
return [cr, hC];
|
|
22230
22240
|
}
|
|
22231
22241
|
function hv(i, e) {
|
|
22232
22242
|
let { state: t } = i, n = t.facet(uv), r = (s) => {
|
|
@@ -22281,7 +22291,7 @@ function cC(i = {}) {
|
|
|
22281
22291
|
this.from = s.viewport.from, this.markers = this.buildMarkers(s);
|
|
22282
22292
|
}
|
|
22283
22293
|
update(s) {
|
|
22284
|
-
(s.docChanged || s.viewportChanged || s.startState.facet(Ln) != s.state.facet(Ln) || s.startState.field(
|
|
22294
|
+
(s.docChanged || s.viewportChanged || s.startState.facet(Ln) != s.state.facet(Ln) || 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));
|
|
22285
22295
|
}
|
|
22286
22296
|
buildMarkers(s) {
|
|
22287
22297
|
let l = new fn();
|
|
@@ -22401,7 +22411,7 @@ class dC {
|
|
|
22401
22411
|
return n.finish();
|
|
22402
22412
|
}
|
|
22403
22413
|
}
|
|
22404
|
-
const fC = /* @__PURE__ */
|
|
22414
|
+
const fC = /* @__PURE__ */ dr.high(/* @__PURE__ */ dt.fromClass(dC, {
|
|
22405
22415
|
decorations: (i) => i.decorations
|
|
22406
22416
|
})), mC = /* @__PURE__ */ is.define([
|
|
22407
22417
|
{
|
|
@@ -23784,7 +23794,7 @@ class Zv {
|
|
|
23784
23794
|
*/
|
|
23785
23795
|
getCursor(e, t = 0, n) {
|
|
23786
23796
|
let r = e.doc ? e : Ee.create({ doc: e });
|
|
23787
|
-
return n == null && (n = r.doc.length), this.regexp ?
|
|
23797
|
+
return n == null && (n = r.doc.length), this.regexp ? kr(this, r, t, n) : xr(this, r, t, n);
|
|
23788
23798
|
}
|
|
23789
23799
|
}
|
|
23790
23800
|
class e0 {
|
|
@@ -23792,7 +23802,7 @@ class e0 {
|
|
|
23792
23802
|
this.spec = e;
|
|
23793
23803
|
}
|
|
23794
23804
|
}
|
|
23795
|
-
function
|
|
23805
|
+
function xr(i, e, t, n) {
|
|
23796
23806
|
return new Ur(e.doc, i.unquoted, t, n, i.caseSensitive ? void 0 : (r) => r.toLowerCase(), i.wholeWord ? tA(e.doc, e.charCategorizer(e.selection.main.head)) : void 0);
|
|
23797
23807
|
}
|
|
23798
23808
|
function tA(i, e) {
|
|
@@ -23803,10 +23813,10 @@ class iA extends e0 {
|
|
|
23803
23813
|
super(e);
|
|
23804
23814
|
}
|
|
23805
23815
|
nextMatch(e, t, n) {
|
|
23806
|
-
let r =
|
|
23816
|
+
let r = xr(this.spec, e, n, e.doc.length).nextOverlapping();
|
|
23807
23817
|
if (r.done) {
|
|
23808
23818
|
let o = Math.min(e.doc.length, t + this.spec.unquoted.length);
|
|
23809
|
-
r =
|
|
23819
|
+
r = xr(this.spec, e, 0, o).nextOverlapping();
|
|
23810
23820
|
}
|
|
23811
23821
|
return r.done || r.value.from == t && r.value.to == n ? null : r.value;
|
|
23812
23822
|
}
|
|
@@ -23814,7 +23824,7 @@ class iA extends e0 {
|
|
|
23814
23824
|
// cursor, done by scanning chunk after chunk forward.
|
|
23815
23825
|
prevMatchInRange(e, t, n) {
|
|
23816
23826
|
for (let r = n; ; ) {
|
|
23817
|
-
let o = Math.max(t, r - 1e4 - this.spec.unquoted.length), s =
|
|
23827
|
+
let o = Math.max(t, r - 1e4 - this.spec.unquoted.length), s = xr(this.spec, e, o, r), l = null;
|
|
23818
23828
|
for (; !s.nextOverlapping().done; )
|
|
23819
23829
|
l = s.value;
|
|
23820
23830
|
if (l)
|
|
@@ -23832,7 +23842,7 @@ class iA extends e0 {
|
|
|
23832
23842
|
return this.spec.unquote(this.spec.replace);
|
|
23833
23843
|
}
|
|
23834
23844
|
matchAll(e, t) {
|
|
23835
|
-
let n =
|
|
23845
|
+
let n = xr(this.spec, e, 0, e.doc.length), r = [];
|
|
23836
23846
|
for (; !n.next().done; ) {
|
|
23837
23847
|
if (r.length >= t)
|
|
23838
23848
|
return null;
|
|
@@ -23841,12 +23851,12 @@ class iA extends e0 {
|
|
|
23841
23851
|
return r;
|
|
23842
23852
|
}
|
|
23843
23853
|
highlight(e, t, n, r) {
|
|
23844
|
-
let o =
|
|
23854
|
+
let o = xr(this.spec, e, Math.max(0, t - this.spec.unquoted.length), Math.min(n + this.spec.unquoted.length, e.doc.length));
|
|
23845
23855
|
for (; !o.next().done; )
|
|
23846
23856
|
r(o.value.from, o.value.to);
|
|
23847
23857
|
}
|
|
23848
23858
|
}
|
|
23849
|
-
function
|
|
23859
|
+
function kr(i, e, t, n) {
|
|
23850
23860
|
return new Xv(e.doc, i.search, {
|
|
23851
23861
|
ignoreCase: !i.caseSensitive,
|
|
23852
23862
|
test: i.wholeWord ? nA(e.charCategorizer(e.selection.main.head)) : void 0
|
|
@@ -23863,8 +23873,8 @@ function nA(i) {
|
|
|
23863
23873
|
}
|
|
23864
23874
|
class rA extends e0 {
|
|
23865
23875
|
nextMatch(e, t, n) {
|
|
23866
|
-
let r =
|
|
23867
|
-
return r.done && (r =
|
|
23876
|
+
let r = kr(this.spec, e, n, e.doc.length).next();
|
|
23877
|
+
return r.done && (r = kr(this.spec, e, 0, t).next()), r.done ? null : r.value;
|
|
23868
23878
|
}
|
|
23869
23879
|
prevMatchInRange(e, t, n) {
|
|
23870
23880
|
for (let r = 1; ; r++) {
|
|
@@ -23872,7 +23882,7 @@ class rA extends e0 {
|
|
|
23872
23882
|
t,
|
|
23873
23883
|
n - r * 1e4
|
|
23874
23884
|
/* FindPrev.ChunkSize */
|
|
23875
|
-
), s =
|
|
23885
|
+
), s = kr(this.spec, e, o, n), l = null;
|
|
23876
23886
|
for (; !s.next().done; )
|
|
23877
23887
|
l = s.value;
|
|
23878
23888
|
if (l && (o == t || l.from > o + 10))
|
|
@@ -23899,7 +23909,7 @@ class rA extends e0 {
|
|
|
23899
23909
|
});
|
|
23900
23910
|
}
|
|
23901
23911
|
matchAll(e, t) {
|
|
23902
|
-
let n =
|
|
23912
|
+
let n = kr(this.spec, e, 0, e.doc.length), r = [];
|
|
23903
23913
|
for (; !n.next().done; ) {
|
|
23904
23914
|
if (r.length >= t)
|
|
23905
23915
|
return null;
|
|
@@ -23908,7 +23918,7 @@ class rA extends e0 {
|
|
|
23908
23918
|
return r;
|
|
23909
23919
|
}
|
|
23910
23920
|
highlight(e, t, n, r) {
|
|
23911
|
-
let o =
|
|
23921
|
+
let o = kr(this.spec, e, Math.max(
|
|
23912
23922
|
0,
|
|
23913
23923
|
t - 250
|
|
23914
23924
|
/* RegExp.HighlightMargin */
|
|
@@ -24242,7 +24252,7 @@ const fA = /* @__PURE__ */ he.baseTheme({
|
|
|
24242
24252
|
"&dark .cm-searchMatch-selected": { backgroundColor: "#ff00ff8a" }
|
|
24243
24253
|
}), mA = [
|
|
24244
24254
|
Pn,
|
|
24245
|
-
/* @__PURE__ */
|
|
24255
|
+
/* @__PURE__ */ dr.low(lA),
|
|
24246
24256
|
fA
|
|
24247
24257
|
];
|
|
24248
24258
|
class o0 {
|
|
@@ -24327,7 +24337,7 @@ class Ff {
|
|
|
24327
24337
|
this.completion = e, this.source = t, this.match = n, this.score = r;
|
|
24328
24338
|
}
|
|
24329
24339
|
}
|
|
24330
|
-
function
|
|
24340
|
+
function or(i) {
|
|
24331
24341
|
return i.selection.main.from;
|
|
24332
24342
|
}
|
|
24333
24343
|
function s0(i, e) {
|
|
@@ -24762,7 +24772,7 @@ class Pl {
|
|
|
24762
24772
|
return new Pl(qA, "cm-ac-" + Math.floor(Math.random() * 2e6).toString(36), null);
|
|
24763
24773
|
}
|
|
24764
24774
|
update(e) {
|
|
24765
|
-
let { state: t } = e, n = t.facet(Dt), o = (n.override || t.languageDataAt("autocomplete",
|
|
24775
|
+
let { state: t } = e, n = t.facet(Dt), o = (n.override || t.languageDataAt("autocomplete", or(t)).map(yA)).map((a) => (this.active.find((c) => c.source == a) || new Si(
|
|
24766
24776
|
a,
|
|
24767
24777
|
this.active.some(
|
|
24768
24778
|
(c) => c.state != 0
|
|
@@ -24866,7 +24876,7 @@ class Si {
|
|
|
24866
24876
|
return this;
|
|
24867
24877
|
}
|
|
24868
24878
|
touches(e) {
|
|
24869
|
-
return e.changes.touchesRange(
|
|
24879
|
+
return e.changes.touchesRange(or(e.state));
|
|
24870
24880
|
}
|
|
24871
24881
|
}
|
|
24872
24882
|
class Er extends Si {
|
|
@@ -24882,15 +24892,15 @@ class Er extends Si {
|
|
|
24882
24892
|
return this.map(e.changes);
|
|
24883
24893
|
let r = this.result;
|
|
24884
24894
|
r.map && !e.changes.empty && (r = r.map(r, e.changes));
|
|
24885
|
-
let o = e.changes.mapPos(this.from), s = e.changes.mapPos(this.to, 1), l =
|
|
24886
|
-
if (l > s || !r || t & 2 && (
|
|
24895
|
+
let o = e.changes.mapPos(this.from), s = e.changes.mapPos(this.to, 1), l = or(e.state);
|
|
24896
|
+
if (l > s || !r || t & 2 && (or(e.startState) == this.from || l < this.limit))
|
|
24887
24897
|
return new Si(
|
|
24888
24898
|
this.source,
|
|
24889
24899
|
t & 4 ? 1 : 0
|
|
24890
24900
|
/* State.Inactive */
|
|
24891
24901
|
);
|
|
24892
24902
|
let a = e.changes.mapPos(this.limit);
|
|
24893
|
-
return PA(r.validFor, e.state, o, s) ? new Er(this.source, this.explicit, a, r, o, s) : r.update && (r = r.update(r, o, s, new o0(e.state, l, !1))) ? new Er(this.source, this.explicit, a, r, r.from, (n = r.to) !== null && n !== void 0 ? n :
|
|
24903
|
+
return PA(r.validFor, e.state, o, s) ? new Er(this.source, this.explicit, a, r, o, s) : r.update && (r = r.update(r, o, s, new o0(e.state, l, !1))) ? new Er(this.source, this.explicit, a, r, r.from, (n = r.to) !== null && n !== void 0 ? n : or(e.state)) : new Si(this.source, 1, this.explicit);
|
|
24894
24904
|
}
|
|
24895
24905
|
map(e) {
|
|
24896
24906
|
return e.empty ? this : (this.result.map ? this.result.map(this.result, e) : this.result) ? new Er(this.source, this.explicit, e.mapPos(this.limit), this.result, e.mapPos(this.from), e.mapPos(this.to, 1)) : new Si(
|
|
@@ -25001,7 +25011,7 @@ const LA = 50, IA = 1e3, VA = /* @__PURE__ */ dt.fromClass(class {
|
|
|
25001
25011
|
this.running.length && e.open && e.open.disabled && (this.debounceAccept = setTimeout(() => this.accept(), this.view.state.facet(Dt).updateSyncTime));
|
|
25002
25012
|
}
|
|
25003
25013
|
startQuery(i) {
|
|
25004
|
-
let { state: e } = this.view, t =
|
|
25014
|
+
let { state: e } = this.view, t = or(e), n = new o0(e, t, i.explicit, this.view), r = new EA(i, n);
|
|
25005
25015
|
this.running.push(r), Promise.resolve(i.source(n)).then((o) => {
|
|
25006
25016
|
r.context.aborted || (r.done = o || null, this.scheduleAccept());
|
|
25007
25017
|
}, (o) => {
|
|
@@ -25022,7 +25032,7 @@ const LA = 50, IA = 1e3, VA = /* @__PURE__ */ dt.fromClass(class {
|
|
|
25022
25032
|
if (o.done === void 0)
|
|
25023
25033
|
continue;
|
|
25024
25034
|
if (this.running.splice(r--, 1), o.done) {
|
|
25025
|
-
let l =
|
|
25035
|
+
let l = or(o.updates.length ? o.updates[0].startState : this.view.state), a = Math.min(l, o.done.from + (o.active.explicit ? 0 : 1)), u = new Er(o.active.source, o.active.explicit, a, o.done, o.done.from, (i = o.done.to) !== null && i !== void 0 ? i : l);
|
|
25026
25036
|
for (let c of o.updates)
|
|
25027
25037
|
u = u.update(c, t);
|
|
25028
25038
|
if (u.hasResult()) {
|
|
@@ -25062,7 +25072,7 @@ const LA = 50, IA = 1e3, VA = /* @__PURE__ */ dt.fromClass(class {
|
|
|
25062
25072
|
this.composing == 3 && setTimeout(() => this.view.dispatch({ effects: ql.of(!1) }), 20), this.composing = 0;
|
|
25063
25073
|
}
|
|
25064
25074
|
}
|
|
25065
|
-
}), FA = typeof navigator == "object" && /* @__PURE__ */ /Win/.test(navigator.platform), NA = /* @__PURE__ */
|
|
25075
|
+
}), FA = typeof navigator == "object" && /* @__PURE__ */ /Win/.test(navigator.platform), NA = /* @__PURE__ */ dr.highest(/* @__PURE__ */ he.domEventHandlers({
|
|
25066
25076
|
keydown(i, e) {
|
|
25067
25077
|
let t = e.state.field(si, !1);
|
|
25068
25078
|
if (!t || !t.open || t.open.disabled || t.open.selected < 0 || i.key.length > 1 || i.ctrlKey && !(FA && i.altKey) || i.metaKey)
|
|
@@ -25197,12 +25207,12 @@ const LA = 50, IA = 1e3, VA = /* @__PURE__ */ dt.fromClass(class {
|
|
|
25197
25207
|
brackets: ["(", "[", "{", "'", '"'],
|
|
25198
25208
|
before: ")]}:;>",
|
|
25199
25209
|
stringPrefixes: []
|
|
25200
|
-
},
|
|
25210
|
+
}, Zn = /* @__PURE__ */ Ae.define({
|
|
25201
25211
|
map(i, e) {
|
|
25202
25212
|
let t = e.mapPos(i, -1, ti.TrackAfter);
|
|
25203
25213
|
return t ?? void 0;
|
|
25204
25214
|
}
|
|
25205
|
-
}), nh = /* @__PURE__ */ new class extends
|
|
25215
|
+
}), nh = /* @__PURE__ */ new class extends sr {
|
|
25206
25216
|
}();
|
|
25207
25217
|
nh.startSide = 1;
|
|
25208
25218
|
nh.endSide = -1;
|
|
@@ -25216,7 +25226,7 @@ const c0 = /* @__PURE__ */ Mt.define({
|
|
|
25216
25226
|
i = i.update({ filter: (n) => n >= t.from && n <= t.to });
|
|
25217
25227
|
}
|
|
25218
25228
|
for (let t of e.effects)
|
|
25219
|
-
t.is(
|
|
25229
|
+
t.is(Zn) && (i = i.update({ add: [nh.range(t.value, t.value + 1)] }));
|
|
25220
25230
|
return i;
|
|
25221
25231
|
}
|
|
25222
25232
|
});
|
|
@@ -25290,13 +25300,13 @@ function GA(i, e, t, n) {
|
|
|
25290
25300
|
if (!s.empty)
|
|
25291
25301
|
return {
|
|
25292
25302
|
changes: [{ insert: e, from: s.from }, { insert: t, from: s.to }],
|
|
25293
|
-
effects:
|
|
25303
|
+
effects: Zn.of(s.to + e.length),
|
|
25294
25304
|
range: J.range(s.anchor + e.length, s.head + e.length)
|
|
25295
25305
|
};
|
|
25296
25306
|
let l = ta(i.doc, s.head);
|
|
25297
25307
|
return !l || /\s/.test(l) || n.indexOf(l) > -1 ? {
|
|
25298
25308
|
changes: { insert: e + t, from: s.head },
|
|
25299
|
-
effects:
|
|
25309
|
+
effects: Zn.of(s.head + e.length),
|
|
25300
25310
|
range: J.cursor(s.head + e.length)
|
|
25301
25311
|
} : { range: r = s };
|
|
25302
25312
|
});
|
|
@@ -25320,7 +25330,7 @@ function XA(i, e, t, n) {
|
|
|
25320
25330
|
if (!l.empty)
|
|
25321
25331
|
return {
|
|
25322
25332
|
changes: [{ insert: e, from: l.from }, { insert: e, from: l.to }],
|
|
25323
|
-
effects:
|
|
25333
|
+
effects: Zn.of(l.to + e.length),
|
|
25324
25334
|
range: J.range(l.anchor + e.length, l.head + e.length)
|
|
25325
25335
|
};
|
|
25326
25336
|
let a = l.head, u = ta(i.doc, a), c;
|
|
@@ -25328,7 +25338,7 @@ function XA(i, e, t, n) {
|
|
|
25328
25338
|
if (Wf(i, a))
|
|
25329
25339
|
return {
|
|
25330
25340
|
changes: { insert: e + e, from: a },
|
|
25331
|
-
effects:
|
|
25341
|
+
effects: Zn.of(a + e.length),
|
|
25332
25342
|
range: J.cursor(a + e.length)
|
|
25333
25343
|
};
|
|
25334
25344
|
if (f0(i, a)) {
|
|
@@ -25342,13 +25352,13 @@ function XA(i, e, t, n) {
|
|
|
25342
25352
|
if (t && i.sliceDoc(a - 2 * e.length, a) == e + e && (c = Qf(i, a - 2 * e.length, r)) > -1 && Wf(i, c))
|
|
25343
25353
|
return {
|
|
25344
25354
|
changes: { insert: e + e + e + e, from: a },
|
|
25345
|
-
effects:
|
|
25355
|
+
effects: Zn.of(a + e.length),
|
|
25346
25356
|
range: J.cursor(a + e.length)
|
|
25347
25357
|
};
|
|
25348
25358
|
if (i.charCategorizer(a)(u) != lt.Word && Qf(i, a, r) > -1 && !$A(i, a, e, r))
|
|
25349
25359
|
return {
|
|
25350
25360
|
changes: { insert: e + e, from: a },
|
|
25351
|
-
effects:
|
|
25361
|
+
effects: Zn.of(a + e.length),
|
|
25352
25362
|
range: J.cursor(a + e.length)
|
|
25353
25363
|
};
|
|
25354
25364
|
}
|
|
@@ -25414,7 +25424,7 @@ const m0 = [
|
|
|
25414
25424
|
{ key: "PageDown", run: /* @__PURE__ */ Es(!0, "page") },
|
|
25415
25425
|
{ key: "PageUp", run: /* @__PURE__ */ Es(!1, "page") },
|
|
25416
25426
|
{ key: "Enter", run: BA }
|
|
25417
|
-
], eO = /* @__PURE__ */
|
|
25427
|
+
], eO = /* @__PURE__ */ dr.highest(/* @__PURE__ */ Zo.computeN([Dt], (i) => i.facet(Dt).defaultKeymap ? [m0] : []));
|
|
25418
25428
|
class Uf {
|
|
25419
25429
|
constructor(e, t, n) {
|
|
25420
25430
|
this.from = e, this.to = t, this.diagnostic = n;
|
|
@@ -26098,13 +26108,13 @@ var xO = Object.freeze({ autofocus: !1, disabled: !1, indentWithTab: !0, tabSize
|
|
|
26098
26108
|
return Ee.create({ doc: o.doc, selection: o.selection, extensions: (Array.isArray(o.extensions) ? o.extensions : [o.extensions]).concat([he.updateListener.of(function(s) {
|
|
26099
26109
|
e(s), s.docChanged && t(s.state.doc.toString(), s), s.focusChanged && (s.view.hasFocus ? n(s) : r(s));
|
|
26100
26110
|
})]) });
|
|
26101
|
-
},
|
|
26111
|
+
}, wr = function(i) {
|
|
26102
26112
|
var e = new Yo();
|
|
26103
26113
|
return { compartment: e, run: function(t) {
|
|
26104
26114
|
e.get(i.state) ? i.dispatch({ effects: e.reconfigure(t) }) : i.dispatch({ effects: Ae.appendConfig.of(e.of(t)) });
|
|
26105
26115
|
} };
|
|
26106
26116
|
}, Jf = function(i, e) {
|
|
26107
|
-
var t =
|
|
26117
|
+
var t = wr(i), n = t.compartment, r = t.run;
|
|
26108
26118
|
return function(o) {
|
|
26109
26119
|
var s = n.get(i.state);
|
|
26110
26120
|
r(o ?? s !== e ? e : []);
|
|
@@ -26151,7 +26161,7 @@ var AO = Object.assign(Object.assign({}, Gn), M0), OO = Pt({ name: "VueCodemirro
|
|
|
26151
26161
|
var a = function(u) {
|
|
26152
26162
|
var c = function() {
|
|
26153
26163
|
return u.state.doc.toString();
|
|
26154
|
-
}, h =
|
|
26164
|
+
}, h = wr(u).run, d = Jf(u, [he.editable.of(!1), Ee.readOnly.of(!0)]), f = Jf(u, Zo.of([NM])), m = wr(u).run, p = wr(u).run, g = wr(u).run, y = wr(u).run;
|
|
26155
26165
|
return { focus: function() {
|
|
26156
26166
|
return u.focus();
|
|
26157
26167
|
}, getDoc: c, setDoc: function(w) {
|
|
@@ -29521,7 +29531,7 @@ const KT = /* @__PURE__ */ Pt({
|
|
|
29521
29531
|
}, get QSelect() {
|
|
29522
29532
|
return Ko;
|
|
29523
29533
|
}, get QInput() {
|
|
29524
|
-
return
|
|
29534
|
+
return hr;
|
|
29525
29535
|
}, get QIcon() {
|
|
29526
29536
|
return vt;
|
|
29527
29537
|
}, get QTooltip() {
|
|
@@ -29695,7 +29705,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
29695
29705
|
s.type === "condition" ? (ee(), oe("div", i2, [
|
|
29696
29706
|
be("div", n2, [
|
|
29697
29707
|
ne(" Left value (slot or default input) "),
|
|
29698
|
-
|
|
29708
|
+
Jn(i.$slots, "left-input", {
|
|
29699
29709
|
value: s.left,
|
|
29700
29710
|
onChange: (u) => n.updateConditionLeft(s, u),
|
|
29701
29711
|
disabled: t.disabled,
|
|
@@ -29844,7 +29854,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
29844
29854
|
} : void 0
|
|
29845
29855
|
]), 1032, ["model-value", "options", "disable", "readonly", "onUpdate:modelValue"]),
|
|
29846
29856
|
ne(" Right value (conditional based on operator) "),
|
|
29847
|
-
(a = n.getOperatorInfo(s.operator)) != null && a.rightRequired ?
|
|
29857
|
+
(a = n.getOperatorInfo(s.operator)) != null && a.rightRequired ? Jn(i.$slots, "right-input", {
|
|
29848
29858
|
key: 0,
|
|
29849
29859
|
value: s.right,
|
|
29850
29860
|
onChange: (u) => n.updateConditionRight(s, u),
|
|
@@ -29962,7 +29972,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
29962
29972
|
[
|
|
29963
29973
|
u.type === "condition" ? (ee(), oe("div", h2, [
|
|
29964
29974
|
be("div", d2, [
|
|
29965
|
-
|
|
29975
|
+
Jn(i.$slots, "left-input", {
|
|
29966
29976
|
value: u.left,
|
|
29967
29977
|
onChange: (h) => n.updateConditionLeft(u, h),
|
|
29968
29978
|
disabled: t.disabled,
|
|
@@ -30113,7 +30123,7 @@ function w2(i, e, t, n, r, o) {
|
|
|
30113
30123
|
key: "1"
|
|
30114
30124
|
} : void 0
|
|
30115
30125
|
]), 1032, ["model-value", "options", "disable", "readonly", "onUpdate:modelValue"]),
|
|
30116
|
-
(c = n.getOperatorInfo(u.operator)) != null && c.rightRequired ?
|
|
30126
|
+
(c = n.getOperatorInfo(u.operator)) != null && c.rightRequired ? Jn(i.$slots, "right-input", {
|
|
30117
30127
|
key: 0,
|
|
30118
30128
|
value: u.right,
|
|
30119
30129
|
onChange: (h) => n.updateConditionRight(u, h),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quickflo/quickforms-quasar",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.4",
|
|
4
4
|
"description": "Quasar UI components for QuickForms - JSON Schema form generator",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@codemirror/view": "^6.38.8",
|
|
39
39
|
"vee-validate": "^4.12.0",
|
|
40
40
|
"vue-codemirror": "^6.1.1",
|
|
41
|
-
"@quickflo/quickforms": "1.19.
|
|
42
|
-
"@quickflo/quickforms-vue": "1.19.
|
|
41
|
+
"@quickflo/quickforms": "1.19.4",
|
|
42
|
+
"@quickflo/quickforms-vue": "1.19.4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@quasar/extras": "^1.17.0",
|