@airalogy/aimd-recorder 1.24.3 → 1.24.5
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/{AimdCodeField-6Qe-i2Fr.js → AimdCodeField-lUbFTqiD.js} +1 -1
- package/dist/{AimdDnaSequenceField-UkWAd5eE.js → AimdDnaSequenceField-CxFtD5Au.js} +2 -2
- package/dist/{AimdEditor.vue_vue_type_style_index_0_lang-BzzZoCeB.js → AimdEditor.vue_vue_type_style_index_0_lang-B0n0inzY.js} +1 -1
- package/dist/{AimdEntityRefField-DSaP0MiW.js → AimdEntityRefField-DCE79vca.js} +1 -1
- package/dist/{AimdMarkdownField-1QfCkIo7.js → AimdMarkdownField-Du0Fh5sG.js} +4 -4
- package/dist/{AimdMarkdownNoteField-DI9CGLRp.js → AimdMarkdownNoteField-YnyNmBvM.js} +3 -3
- package/dist/AimdRequiredMarker.vue_vue_type_script_setup_true_lang-B5qDiOZn.js +25 -0
- package/dist/aimd-recorder.css +1 -1
- package/dist/{arc-DsbVIrtD.js → arc-B0vwJ3nm.js} +1 -1
- package/dist/{architectureDiagram-3BPJPVTR-BoKfuFBs.js → architectureDiagram-3BPJPVTR-B5niz6cr.js} +2 -2
- package/dist/{blockDiagram-GPEHLZMM-CVI9ZAHu.js → blockDiagram-GPEHLZMM-Qtk9HFm8.js} +4 -4
- package/dist/{c4Diagram-AAUBKEIU-DZjOGfIh.js → c4Diagram-AAUBKEIU-DfTlAW2e.js} +2 -2
- package/dist/{channel-ClyYV6L9.js → channel-CTIJccfL.js} +1 -1
- package/dist/{chunk-2J33WTMH-DAiwEd4z.js → chunk-2J33WTMH-9xMy_Pgx.js} +1 -1
- package/dist/{chunk-4BX2VUAB-C86LRjbo.js → chunk-4BX2VUAB-BYosfXC9.js} +1 -1
- package/dist/{chunk-55IACEB6-B240gM_h.js → chunk-55IACEB6-B8fHTImy.js} +1 -1
- package/dist/{chunk-727SXJPM-DLSdClpw.js → chunk-727SXJPM-C83DIicG.js} +5 -5
- package/dist/{chunk-AQP2D5EJ-CrvCTB0u.js → chunk-AQP2D5EJ-C-IOiRzH.js} +3 -3
- package/dist/{chunk-FMBD7UC4-CK8Xlkyf.js → chunk-FMBD7UC4-BtkEX_DM.js} +1 -1
- package/dist/{chunk-ND2GUHAM-BiTVkaJ4.js → chunk-ND2GUHAM-DIB3ib7j.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DfLR8ET3.js → chunk-QZHKN3VN-BRsoqg2B.js} +1 -1
- package/dist/{classDiagram-4FO5ZUOK-CdGgcwcI.js → classDiagram-4FO5ZUOK-D39GKFwR.js} +2 -2
- package/dist/{classDiagram-v2-Q7XG4LA2-CdGgcwcI.js → classDiagram-v2-Q7XG4LA2-D39GKFwR.js} +2 -2
- package/dist/components.js +570 -569
- package/dist/composables.js +2 -2
- package/dist/{cose-bilkent-S5V4N54A-DNovPAAV.js → cose-bilkent-S5V4N54A-CyRaJD1S.js} +1 -1
- package/dist/{dagre-BM42HDAG-B7Y59pTv.js → dagre-BM42HDAG-K85xJEFU.js} +3 -3
- package/dist/{diagram-2AECGRRQ-DedulIP4.js → diagram-2AECGRRQ-DET7fuM5.js} +2 -2
- package/dist/{diagram-5GNKFQAL-CyLxoNz3.js → diagram-5GNKFQAL-Dlba-FRw.js} +3 -3
- package/dist/{diagram-KO2AKTUF-C-cOuKaw.js → diagram-KO2AKTUF-J4PMcx3F.js} +2 -2
- package/dist/{diagram-LMA3HP47-Bkrl6O9n.js → diagram-LMA3HP47-ldR5Az83.js} +2 -2
- package/dist/{diagram-OG6HWLK6-BFgGWMrC.js → diagram-OG6HWLK6-UM1_l5na.js} +3 -3
- package/dist/{erDiagram-TEJ5UH35-CMkLSr99.js → erDiagram-TEJ5UH35-eGmNSbi1.js} +4 -4
- package/dist/{flowDiagram-I6XJVG4X-aBHYqu-v.js → flowDiagram-I6XJVG4X-rHTJn3LZ.js} +6 -6
- package/dist/{ganttDiagram-6RSMTGT7-CPEIeMYJ.js → ganttDiagram-6RSMTGT7-DKmi_hWM.js} +2 -2
- package/dist/{gitGraphDiagram-PVQCEYII-7xsKXhbX.js → gitGraphDiagram-PVQCEYII-DpQ1cu5h.js} +3 -3
- package/dist/{graph-C_zDc2Lu.js → graph-CSRKgcbg.js} +1 -1
- package/dist/index.js +14 -12
- package/dist/{infoDiagram-5YYISTIA-fqTV1DiG.js → infoDiagram-5YYISTIA-v8jIxUL5.js} +1 -1
- package/dist/{ishikawaDiagram-YF4QCWOH-oFqWJGC1.js → ishikawaDiagram-YF4QCWOH-BaV5bCe8.js} +1 -1
- package/dist/{journeyDiagram-JHISSGLW-DXKZrVVD.js → journeyDiagram-JHISSGLW-DeU65SpU.js} +4 -4
- package/dist/{kanban-definition-UN3LZRKU-CyETGwWQ.js → kanban-definition-UN3LZRKU-TGHAcp6_.js} +2 -2
- package/dist/{layout-CJbxE-hP.js → layout-D_sj0Eed.js} +2 -2
- package/dist/{linear-CA6cJfSx.js → linear-TldV7C5w.js} +1 -1
- package/dist/{mermaid.core-BfkFhA7S.js → mermaid.core-CRSTqrrD.js} +34 -34
- package/dist/{mindmap-definition-RKZ34NQL-K9_vO_sM.js → mindmap-definition-RKZ34NQL-CejyEBat.js} +3 -3
- package/dist/{pieDiagram-4H26LBE5-7MAWO90T.js → pieDiagram-4H26LBE5-CWLZWcAW.js} +3 -3
- package/dist/{quadrantDiagram-W4KKPZXB-eKvwOhuh.js → quadrantDiagram-W4KKPZXB-CYidUieH.js} +2 -2
- package/dist/record.js +2 -2
- package/dist/{requirementDiagram-4Y6WPE33-BdTNg93D.js → requirementDiagram-4Y6WPE33-Cw4ko-tB.js} +3 -3
- package/dist/{sankeyDiagram-5OEKKPKP-Co6Zc9b1.js → sankeyDiagram-5OEKKPKP-BnX4Evuh.js} +1 -1
- package/dist/{sequenceDiagram-3UESZ5HK-Aac-pALW.js → sequenceDiagram-3UESZ5HK-BiGVMmS5.js} +3 -3
- package/dist/{stateDiagram-AJRCARHV-CKTvUK5C.js → stateDiagram-AJRCARHV-DIaBI1Uq.js} +4 -4
- package/dist/{stateDiagram-v2-BHNVJYJU-Dn0HRX6t.js → stateDiagram-v2-BHNVJYJU-BgfV-ldT.js} +2 -2
- package/dist/{timeline-definition-PNZ67QCA-4kyjawEk.js → timeline-definition-PNZ67QCA-C0_5OwxD.js} +2 -2
- package/dist/{useFieldRendering-DXdYwpSA.js → useFieldRendering-B2iMfsEA.js} +1 -1
- package/dist/{useVarHelpers-sM7Fe3SM.js → useVarHelpers-CSogsd1T.js} +121 -116
- package/dist/{validation-D8cXKg1z.js → validation-BYjlufCM.js} +1 -1
- package/dist/{vennDiagram-CIIHVFJN-DwkHwkFa.js → vennDiagram-CIIHVFJN-_ktbUOEm.js} +1 -1
- package/dist/{wardleyDiagram-YWT4CUSO-BPWdxrxm.js → wardleyDiagram-YWT4CUSO-iwftOr4-.js} +2 -2
- package/dist/{xychartDiagram-2RQKCTM6-DJVYSAwS.js → xychartDiagram-2RQKCTM6-C_h9QW07.js} +2 -2
- package/package.json +1 -1
- package/src/__tests__/required-marker.test.ts +27 -0
- package/src/__tests__/var-field-render.test.ts +48 -0
- package/src/components/AimdRequiredMarker.vue +1 -0
- package/src/components/AimdVarField.vue +2 -1
- package/src/components/index.ts +2 -0
- package/src/composables/__tests__/useVarHelpers.test.ts +47 -0
- package/src/composables/useVarHelpers.ts +9 -1
- package/src/index.ts +8 -1
- package/src/styles/recorder.css +8 -4
- package/dist/AimdRequiredMarker.vue_vue_type_script_setup_true_lang-oAsIq2Q_.js +0 -24
|
@@ -286,7 +286,7 @@ function yt(e) {
|
|
|
286
286
|
const t = e.replace(/^\./, "").toLowerCase(), n = Ct[t];
|
|
287
287
|
return n ? `.${t},${n}` : `.${t}`;
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function se(e) {
|
|
290
290
|
const t = J(e);
|
|
291
291
|
return t ? Mt[t] : void 0;
|
|
292
292
|
}
|
|
@@ -325,8 +325,8 @@ function Pn(e, t, n) {
|
|
|
325
325
|
return "text";
|
|
326
326
|
if (o.startsWith("fileidpdf") || o.startsWith("fileiddocx") || o.startsWith("fileidxlsx") || o.startsWith("fileidpptx"))
|
|
327
327
|
return "document";
|
|
328
|
-
const s = xt(o), a =
|
|
329
|
-
return a || (o === "file" || o === "upload" || o.startsWith("fileid") ? "file" :
|
|
328
|
+
const s = xt(o), a = se(s);
|
|
329
|
+
return a || (o === "file" || o === "upload" || o.startsWith("fileid") ? "file" : se(et(t, n)));
|
|
330
330
|
}
|
|
331
331
|
function Ee(e) {
|
|
332
332
|
return e ? !!Lt[e] || e.startsWith("fileid") : !1;
|
|
@@ -334,7 +334,7 @@ function Ee(e) {
|
|
|
334
334
|
function xn(e, t, n) {
|
|
335
335
|
const i = $(n?.inputType), r = Ee(i) ? i : C(e), o = et(t, n), s = de(n?.accept) ?? Ze(t, ["accept", "file_accept", "fileAccept"]), a = Lt[r], l = xt(r);
|
|
336
336
|
if (o) {
|
|
337
|
-
const f =
|
|
337
|
+
const f = se(o) ?? "file";
|
|
338
338
|
return {
|
|
339
339
|
kind: f,
|
|
340
340
|
accept: s ?? yt(o),
|
|
@@ -347,7 +347,7 @@ function xn(e, t, n) {
|
|
|
347
347
|
accept: s ?? a.accept
|
|
348
348
|
};
|
|
349
349
|
if (l) {
|
|
350
|
-
const f =
|
|
350
|
+
const f = se(l) ?? "file";
|
|
351
351
|
return {
|
|
352
352
|
kind: f,
|
|
353
353
|
accept: s ?? yt(l),
|
|
@@ -394,7 +394,7 @@ function Rn(e, t, n = {}) {
|
|
|
394
394
|
]) ?? "" : "";
|
|
395
395
|
}
|
|
396
396
|
function wr(e, t, n, i, r) {
|
|
397
|
-
return e?.kind ?? Ln(e?.mimeType) ?? Pn(n, i, r) ??
|
|
397
|
+
return e?.kind ?? Ln(e?.mimeType) ?? Pn(n, i, r) ?? se(gt(e?.filename ?? e?.name ?? e?.downloadName)) ?? se(gt(Bt(t, jn))) ?? "file";
|
|
398
398
|
}
|
|
399
399
|
function zn(e) {
|
|
400
400
|
return !!(e && /^(blob:|data:|https?:|file:|\/|\.\/|\.\.\/)/i.test(e));
|
|
@@ -418,11 +418,11 @@ function Nr(e, t, n) {
|
|
|
418
418
|
const i = $(n?.inputType ?? t?.input_type ?? t?.inputType) || $(e);
|
|
419
419
|
return i === "bool" || i === "boolean" || i === "checkbox";
|
|
420
420
|
}
|
|
421
|
-
const tt = /* @__PURE__ */ Symbol.for("yaml.alias"), Vn = /* @__PURE__ */ Symbol.for("yaml.document"),
|
|
421
|
+
const tt = /* @__PURE__ */ Symbol.for("yaml.alias"), Vn = /* @__PURE__ */ Symbol.for("yaml.document"), U = /* @__PURE__ */ Symbol.for("yaml.map"), zt = /* @__PURE__ */ Symbol.for("yaml.pair"), nt = /* @__PURE__ */ Symbol.for("yaml.scalar"), pe = /* @__PURE__ */ Symbol.for("yaml.seq"), P = /* @__PURE__ */ Symbol.for("yaml.node.type"), Y = (e) => !!e && typeof e == "object" && e[P] === tt, $e = (e) => !!e && typeof e == "object" && e[P] === Vn, Vt = (e) => !!e && typeof e == "object" && e[P] === U, T = (e) => !!e && typeof e == "object" && e[P] === zt, I = (e) => !!e && typeof e == "object" && e[P] === nt, it = (e) => !!e && typeof e == "object" && e[P] === pe;
|
|
422
422
|
function O(e) {
|
|
423
423
|
if (e && typeof e == "object")
|
|
424
424
|
switch (e[P]) {
|
|
425
|
-
case
|
|
425
|
+
case U:
|
|
426
426
|
case pe:
|
|
427
427
|
return !0;
|
|
428
428
|
}
|
|
@@ -432,7 +432,7 @@ function N(e) {
|
|
|
432
432
|
if (e && typeof e == "object")
|
|
433
433
|
switch (e[P]) {
|
|
434
434
|
case tt:
|
|
435
|
-
case
|
|
435
|
+
case U:
|
|
436
436
|
case nt:
|
|
437
437
|
case pe:
|
|
438
438
|
return !0;
|
|
@@ -442,20 +442,20 @@ function N(e) {
|
|
|
442
442
|
const vt = (e) => (I(e) || O(e)) && !!e.anchor, W = /* @__PURE__ */ Symbol("break visit"), vn = /* @__PURE__ */ Symbol("skip children"), fe = /* @__PURE__ */ Symbol("remove node");
|
|
443
443
|
function je(e, t) {
|
|
444
444
|
const n = Wn(t);
|
|
445
|
-
$e(e) ?
|
|
445
|
+
$e(e) ? ne(null, e.contents, n, Object.freeze([e])) === fe && (e.contents = null) : ne(null, e, n, Object.freeze([]));
|
|
446
446
|
}
|
|
447
447
|
je.BREAK = W;
|
|
448
448
|
je.SKIP = vn;
|
|
449
449
|
je.REMOVE = fe;
|
|
450
|
-
function
|
|
450
|
+
function ne(e, t, n, i) {
|
|
451
451
|
const r = Jn(e, t, n, i);
|
|
452
452
|
if (N(r) || T(r))
|
|
453
|
-
return qn(e, i, r),
|
|
453
|
+
return qn(e, i, r), ne(e, r, n, i);
|
|
454
454
|
if (typeof r != "symbol") {
|
|
455
455
|
if (O(t)) {
|
|
456
456
|
i = Object.freeze(i.concat(t));
|
|
457
457
|
for (let o = 0; o < t.items.length; ++o) {
|
|
458
|
-
const s =
|
|
458
|
+
const s = ne(o, t.items[o], n, i);
|
|
459
459
|
if (typeof s == "number")
|
|
460
460
|
o = s - 1;
|
|
461
461
|
else {
|
|
@@ -466,11 +466,11 @@ function Z(e, t, n, i) {
|
|
|
466
466
|
}
|
|
467
467
|
} else if (T(t)) {
|
|
468
468
|
i = Object.freeze(i.concat(t));
|
|
469
|
-
const o =
|
|
469
|
+
const o = ne("key", t.key, n, i);
|
|
470
470
|
if (o === W)
|
|
471
471
|
return W;
|
|
472
472
|
o === fe && (t.key = null);
|
|
473
|
-
const s =
|
|
473
|
+
const s = ne("value", t.value, n, i);
|
|
474
474
|
if (s === W)
|
|
475
475
|
return W;
|
|
476
476
|
s === fe && (t.value = null);
|
|
@@ -504,7 +504,7 @@ function Jn(e, t, n, i) {
|
|
|
504
504
|
return n.Pair?.(e, t, i);
|
|
505
505
|
if (I(t))
|
|
506
506
|
return n.Scalar?.(e, t, i);
|
|
507
|
-
if (
|
|
507
|
+
if (Y(t))
|
|
508
508
|
return n.Alias?.(e, t, i);
|
|
509
509
|
}
|
|
510
510
|
function qn(e, t, n) {
|
|
@@ -516,7 +516,7 @@ function qn(e, t, n) {
|
|
|
516
516
|
else if ($e(i))
|
|
517
517
|
i.contents = n;
|
|
518
518
|
else {
|
|
519
|
-
const r =
|
|
519
|
+
const r = Y(i) ? "alias" : "scalar";
|
|
520
520
|
throw new Error(`Cannot replace node with ${r} parent`);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
@@ -609,7 +609,7 @@ class Kn extends rt {
|
|
|
609
609
|
let i;
|
|
610
610
|
n?.aliasResolveCache ? i = n.aliasResolveCache : (i = [], je(t, {
|
|
611
611
|
Node: (o, s) => {
|
|
612
|
-
(
|
|
612
|
+
(Y(s) || vt(s)) && i.push(s);
|
|
613
613
|
}
|
|
614
614
|
}), n && (n.aliasResolveCache = i));
|
|
615
615
|
let r;
|
|
@@ -653,7 +653,7 @@ class Kn extends rt {
|
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
655
|
function Se(e, t, n) {
|
|
656
|
-
if (
|
|
656
|
+
if (Y(t)) {
|
|
657
657
|
const i = t.resolve(e), r = n && i && n.get(i);
|
|
658
658
|
return r ? r.count * r.aliasCount : 0;
|
|
659
659
|
} else if (O(t)) {
|
|
@@ -693,7 +693,7 @@ function Ie(e, t, n) {
|
|
|
693
693
|
if ($e(e) && (e = e.contents), N(e))
|
|
694
694
|
return e;
|
|
695
695
|
if (T(e)) {
|
|
696
|
-
const c = n.schema[
|
|
696
|
+
const c = n.schema[U].createNode?.(n.schema, null, n);
|
|
697
697
|
return c.items.push(e), c;
|
|
698
698
|
}
|
|
699
699
|
(e instanceof String || e instanceof Number || e instanceof Boolean || typeof BigInt < "u" && e instanceof BigInt) && (e = e.valueOf());
|
|
@@ -710,7 +710,7 @@ function Ie(e, t, n) {
|
|
|
710
710
|
const c = new w(e);
|
|
711
711
|
return l && (l.node = c), c;
|
|
712
712
|
}
|
|
713
|
-
f = e instanceof Map ? s[
|
|
713
|
+
f = e instanceof Map ? s[U] : Symbol.iterator in Object(e) ? s[pe] : s[U];
|
|
714
714
|
}
|
|
715
715
|
o && (o(f), delete n.onTagObj);
|
|
716
716
|
const d = f?.createNode ? f.createNode(n.schema, e, n) : typeof f?.nodeClass?.from == "function" ? f.nodeClass.from(n.schema, e, n) : new w(e);
|
|
@@ -836,7 +836,7 @@ const Qn = (e) => e.replace(/^(?!$)(?: $)?/gm, "#");
|
|
|
836
836
|
function ue(e, t) {
|
|
837
837
|
return /^\n+$/.test(e) ? e.substring(1) : t ? e.replace(/^(?! *$)/gm, t) : e;
|
|
838
838
|
}
|
|
839
|
-
const
|
|
839
|
+
const ie = (e, t, n) => e.endsWith(`
|
|
840
840
|
`) ? ue(n, t) : n.includes(`
|
|
841
841
|
`) ? `
|
|
842
842
|
` + ue(n, t) : (e.endsWith(" ") ? "" : " ") + n, Kt = "flow", Ke = "block", Ae = "quoted";
|
|
@@ -1010,7 +1010,7 @@ function Ue(e, t) {
|
|
|
1010
1010
|
${n}`) + "'";
|
|
1011
1011
|
return t.implicitKey ? i : De(i, n, Kt, Fe(t, !1));
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function re(e, t) {
|
|
1014
1014
|
const { singleQuote: n } = t.options;
|
|
1015
1015
|
let i;
|
|
1016
1016
|
if (n === !1)
|
|
@@ -1033,7 +1033,7 @@ try {
|
|
|
1033
1033
|
function we({ comment: e, type: t, value: n }, i, r, o) {
|
|
1034
1034
|
const { blockQuote: s, commentString: a, lineWidth: l } = i.options;
|
|
1035
1035
|
if (!s || /\n[\t ]+$/.test(n))
|
|
1036
|
-
return
|
|
1036
|
+
return re(n, i);
|
|
1037
1037
|
const f = i.indent || (i.forceBlockIndent || Me(n) ? " " : ""), d = s === "literal" ? !0 : s === "folded" || t === w.BLOCK_FOLDED ? !1 : t === w.BLOCK_LITERAL ? !0 : !Yn(n, l, f.length);
|
|
1038
1038
|
if (!n)
|
|
1039
1039
|
return d ? `|
|
|
@@ -1085,10 +1085,10 @@ function Xn(e, t, n, i) {
|
|
|
1085
1085
|
const { type: r, value: o } = e, { actualString: s, implicitKey: a, indent: l, indentStep: f, inFlow: d } = t;
|
|
1086
1086
|
if (a && o.includes(`
|
|
1087
1087
|
`) || d && /[[\]{},]/.test(o))
|
|
1088
|
-
return
|
|
1088
|
+
return re(o, t);
|
|
1089
1089
|
if (/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))
|
|
1090
1090
|
return a || d || !o.includes(`
|
|
1091
|
-
`) ?
|
|
1091
|
+
`) ? re(o, t) : we(e, t, n, i);
|
|
1092
1092
|
if (!a && !d && r !== w.PLAIN && o.includes(`
|
|
1093
1093
|
`))
|
|
1094
1094
|
return we(e, t, n, i);
|
|
@@ -1096,14 +1096,14 @@ function Xn(e, t, n, i) {
|
|
|
1096
1096
|
if (l === "")
|
|
1097
1097
|
return t.forceBlockIndent = !0, we(e, t, n, i);
|
|
1098
1098
|
if (a && l === f)
|
|
1099
|
-
return
|
|
1099
|
+
return re(o, t);
|
|
1100
1100
|
}
|
|
1101
1101
|
const c = o.replace(/\n+/g, `$&
|
|
1102
1102
|
${l}`);
|
|
1103
1103
|
if (s) {
|
|
1104
1104
|
const m = (u) => u.default && u.tag !== "tag:yaml.org,2002:str" && u.test?.test(c), { compat: g, tags: y } = t.doc.schema;
|
|
1105
1105
|
if (y.some(m) || g?.some(m))
|
|
1106
|
-
return
|
|
1106
|
+
return re(o, t);
|
|
1107
1107
|
}
|
|
1108
1108
|
return a ? c : De(c, l, Kt, Fe(t, !1));
|
|
1109
1109
|
}
|
|
@@ -1115,7 +1115,7 @@ function Hn(e, t, n, i) {
|
|
|
1115
1115
|
switch (d) {
|
|
1116
1116
|
case w.BLOCK_FOLDED:
|
|
1117
1117
|
case w.BLOCK_LITERAL:
|
|
1118
|
-
return r || o ?
|
|
1118
|
+
return r || o ? re(s.value, t) : we(s, t, n, i);
|
|
1119
1119
|
case w.QUOTE_DOUBLE:
|
|
1120
1120
|
return ce(s.value, t);
|
|
1121
1121
|
case w.QUOTE_SINGLE:
|
|
@@ -1209,7 +1209,7 @@ function ti(e, t, { anchors: n, doc: i }) {
|
|
|
1209
1209
|
function Te(e, t, n, i) {
|
|
1210
1210
|
if (T(e))
|
|
1211
1211
|
return e.toString(t, n, i);
|
|
1212
|
-
if (
|
|
1212
|
+
if (Y(e)) {
|
|
1213
1213
|
if (t.doc.directives)
|
|
1214
1214
|
return e.toString(t);
|
|
1215
1215
|
if (t.resolvedAliases?.has(e))
|
|
@@ -1252,9 +1252,9 @@ function ni({ key: e, value: t }, n, i, r) {
|
|
|
1252
1252
|
if (o || t == null)
|
|
1253
1253
|
return y && i && i(), p === "" ? "?" : g ? `? ${p}` : p;
|
|
1254
1254
|
} else if (o && !c || t == null && g)
|
|
1255
|
-
return p = `? ${p}`, m && !y ? p +=
|
|
1256
|
-
y && (m = null), g ? (m && (p +=
|
|
1257
|
-
${a}:`) : (p = `${p}:`, m && (p +=
|
|
1255
|
+
return p = `? ${p}`, m && !y ? p += ie(p, n.indent, f(m)) : u && r && r(), p;
|
|
1256
|
+
y && (m = null), g ? (m && (p += ie(p, n.indent, f(m))), p = `? ${p}
|
|
1257
|
+
${a}:`) : (p = `${p}:`, m && (p += ie(p, n.indent, f(m))));
|
|
1258
1258
|
let b, h, _;
|
|
1259
1259
|
N(t) ? (b = !!t.spaceBefore, h = t.commentBefore, _ = t.comment) : (b = !1, h = null, _ = null, t && typeof t == "object" && (t = s.createNode(t))), n.implicitKey = !1, !g && !m && I(t) && (n.indentAtStart = p.length + 1), u = !1, !d && l.length >= 2 && !n.inFlow && !g && it(t) && !t.flow && !t.tag && !t.anchor && (n.indent = n.indent.substring(2));
|
|
1260
1260
|
let S = !1;
|
|
@@ -1286,7 +1286,7 @@ ${n.indent}`);
|
|
|
1286
1286
|
}
|
|
1287
1287
|
} else (k === "" || k[0] === `
|
|
1288
1288
|
`) && (j = "");
|
|
1289
|
-
return p += j + k, n.inFlow ? S && i && i() : _ && !S ? p +=
|
|
1289
|
+
return p += j + k, n.inFlow ? S && i && i() : _ && !S ? p += ie(p, n.indent, f(_)) : u && r && r(), p;
|
|
1290
1290
|
}
|
|
1291
1291
|
function ii(e, t) {
|
|
1292
1292
|
(e === "debug" || e === "warn") && console.warn(t);
|
|
@@ -1302,7 +1302,7 @@ const ye = "<<", Be = {
|
|
|
1302
1302
|
stringify: () => ye
|
|
1303
1303
|
}, ri = (e, t) => (Be.identify(t) || I(t) && (!t.type || t.type === w.PLAIN) && Be.identify(t.value)) && e?.doc.schema.tags.some((n) => n.tag === Be.tag && n.default);
|
|
1304
1304
|
function Ut(e, t, n) {
|
|
1305
|
-
if (n = e &&
|
|
1305
|
+
if (n = e && Y(n) ? n.resolve(e.doc) : n, it(n))
|
|
1306
1306
|
for (const i of n.items)
|
|
1307
1307
|
Re(e, t, i);
|
|
1308
1308
|
else if (Array.isArray(n))
|
|
@@ -1312,7 +1312,7 @@ function Ut(e, t, n) {
|
|
|
1312
1312
|
Re(e, t, n);
|
|
1313
1313
|
}
|
|
1314
1314
|
function Re(e, t, n) {
|
|
1315
|
-
const i = e &&
|
|
1315
|
+
const i = e && Y(n) ? n.resolve(e.doc) : n;
|
|
1316
1316
|
if (!Vt(i))
|
|
1317
1317
|
throw new Error("Merge sources must be maps or map aliases");
|
|
1318
1318
|
const r = i.toJSON(null, e, Map);
|
|
@@ -1406,7 +1406,7 @@ function si({ comment: e, items: t }, n, { blockItemPrefix: i, flowChars: r, ite
|
|
|
1406
1406
|
}
|
|
1407
1407
|
c = !1;
|
|
1408
1408
|
let b = Te(u, d, () => p = null, () => c = !0);
|
|
1409
|
-
p && (b +=
|
|
1409
|
+
p && (b += ie(b, o, f(p))), c && p && (c = !1), m.push(i + b);
|
|
1410
1410
|
}
|
|
1411
1411
|
let g;
|
|
1412
1412
|
if (m.length === 0)
|
|
@@ -1446,7 +1446,7 @@ function ai({ items: e }, t, { flowChars: n, itemIndent: i }) {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
p && (f = !0);
|
|
1448
1448
|
let b = Te(u, l, () => p = null);
|
|
1449
|
-
y < e.length - 1 && (b += ","), p && (b +=
|
|
1449
|
+
y < e.length - 1 && (b += ","), p && (b += ie(b, i, a(p))), !f && (c.length > d || b.includes(`
|
|
1450
1450
|
`)) && (f = !0), c.push(b), d = c.length;
|
|
1451
1451
|
}
|
|
1452
1452
|
const { start: m, end: g } = n;
|
|
@@ -1479,12 +1479,12 @@ function q(e, t) {
|
|
|
1479
1479
|
if (T(i) && (i.key === t || i.key === n || I(i.key) && i.key.value === n))
|
|
1480
1480
|
return i;
|
|
1481
1481
|
}
|
|
1482
|
-
class
|
|
1482
|
+
class ee extends qt {
|
|
1483
1483
|
static get tagName() {
|
|
1484
1484
|
return "tag:yaml.org,2002:map";
|
|
1485
1485
|
}
|
|
1486
1486
|
constructor(t) {
|
|
1487
|
-
super(
|
|
1487
|
+
super(U, t), this.items = [];
|
|
1488
1488
|
}
|
|
1489
1489
|
/**
|
|
1490
1490
|
* A generic collection parsing method that can be extended
|
|
@@ -1683,7 +1683,7 @@ function li(e, t, n) {
|
|
|
1683
1683
|
}
|
|
1684
1684
|
class st extends Yt {
|
|
1685
1685
|
constructor() {
|
|
1686
|
-
super(), this.add =
|
|
1686
|
+
super(), this.add = ee.prototype.add.bind(this), this.delete = ee.prototype.delete.bind(this), this.get = ee.prototype.get.bind(this), this.has = ee.prototype.has.bind(this), this.set = ee.prototype.set.bind(this), this.tag = st.tag;
|
|
1687
1687
|
}
|
|
1688
1688
|
/**
|
|
1689
1689
|
* If `ctx` is given, the return type is actually `Map<unknown, unknown>`,
|
|
@@ -1708,7 +1708,7 @@ class st extends Yt {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
}
|
|
1710
1710
|
st.tag = "tag:yaml.org,2002:omap";
|
|
1711
|
-
class at extends
|
|
1711
|
+
class at extends ee {
|
|
1712
1712
|
constructor(t) {
|
|
1713
1713
|
super(t), this.tag = at.tag;
|
|
1714
1714
|
}
|
|
@@ -1754,8 +1754,8 @@ new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=
|
|
|
1754
1754
|
new Set(",[]{}");
|
|
1755
1755
|
new Set(` ,[]{}
|
|
1756
1756
|
\r `);
|
|
1757
|
-
var
|
|
1758
|
-
function
|
|
1757
|
+
var G = 1e6, _t = 1e6, me = "[big.js] ", ge = me + "Invalid ", Ce = ge + "decimal places", fi = ge + "rounding mode", Xt = me + "Division by zero", A = {}, R = void 0;
|
|
1758
|
+
function X(e, t, n, i) {
|
|
1759
1759
|
var r = e.c;
|
|
1760
1760
|
if (n === R && (n = e.constructor.RM), n !== 0 && n !== 1 && n !== 2 && n !== 3)
|
|
1761
1761
|
throw Error(fi);
|
|
@@ -1773,7 +1773,7 @@ function Q(e, t, n, i) {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
return e;
|
|
1775
1775
|
}
|
|
1776
|
-
function
|
|
1776
|
+
function H(e, t, n) {
|
|
1777
1777
|
var i = e.e, r = e.c.join(""), o = r.length;
|
|
1778
1778
|
if (t)
|
|
1779
1779
|
r = r.charAt(0) + (o > 1 ? "." + r.slice(1) : "") + (i < 0 ? "e" : "e+") + i;
|
|
@@ -1802,7 +1802,7 @@ A.cmp = function(e) {
|
|
|
1802
1802
|
};
|
|
1803
1803
|
A.div = function(e) {
|
|
1804
1804
|
var t = this, n = t.constructor, i = t.c, r = (e = new n(e)).c, o = t.s == e.s ? 1 : -1, s = n.DP;
|
|
1805
|
-
if (s !== ~~s || s < 0 || s >
|
|
1805
|
+
if (s !== ~~s || s < 0 || s > G)
|
|
1806
1806
|
throw Error(Ce);
|
|
1807
1807
|
if (!r[0])
|
|
1808
1808
|
throw Error(Xt);
|
|
@@ -1834,7 +1834,7 @@ A.div = function(e) {
|
|
|
1834
1834
|
}
|
|
1835
1835
|
h[_++] = d ? f : ++f, u[0] && d ? u[p] = i[g] || 0 : u = [i[g]];
|
|
1836
1836
|
} while ((g++ < y || u[0] !== R) && o--);
|
|
1837
|
-
return !h[0] && _ != 1 && (h.shift(), b.e--, S--), _ > S &&
|
|
1837
|
+
return !h[0] && _ != 1 && (h.shift(), b.e--, S--), _ > S && X(b, S, n.RM, u[0] !== R), b;
|
|
1838
1838
|
};
|
|
1839
1839
|
A.eq = function(e) {
|
|
1840
1840
|
return this.cmp(e) === 0;
|
|
@@ -1914,26 +1914,26 @@ A.pow = function(e) {
|
|
|
1914
1914
|
return r ? n.div(i) : i;
|
|
1915
1915
|
};
|
|
1916
1916
|
A.prec = function(e, t) {
|
|
1917
|
-
if (e !== ~~e || e < 1 || e >
|
|
1917
|
+
if (e !== ~~e || e < 1 || e > G)
|
|
1918
1918
|
throw Error(ge + "precision");
|
|
1919
|
-
return
|
|
1919
|
+
return X(new this.constructor(this), e, t);
|
|
1920
1920
|
};
|
|
1921
1921
|
A.round = function(e, t) {
|
|
1922
1922
|
if (e === R) e = 0;
|
|
1923
|
-
else if (e !== ~~e || e < -
|
|
1923
|
+
else if (e !== ~~e || e < -G || e > G)
|
|
1924
1924
|
throw Error(Ce);
|
|
1925
|
-
return
|
|
1925
|
+
return X(new this.constructor(this), e + this.e + 1, t);
|
|
1926
1926
|
};
|
|
1927
1927
|
A.sqrt = function() {
|
|
1928
1928
|
var e, t, n, i = this, r = i.constructor, o = i.s, s = i.e, a = new r("0.5");
|
|
1929
1929
|
if (!i.c[0]) return new r(i);
|
|
1930
1930
|
if (o < 0)
|
|
1931
1931
|
throw Error(me + "No square root");
|
|
1932
|
-
o = Math.sqrt(+
|
|
1932
|
+
o = Math.sqrt(+H(i, !0, !0)), o === 0 || o === 1 / 0 ? (t = i.c.join(""), t.length + s & 1 || (t += "0"), o = Math.sqrt(t), s = ((s + 1) / 2 | 0) - (s < 0 || s & 1), e = new r((o == 1 / 0 ? "5e" : (o = o.toExponential()).slice(0, o.indexOf("e") + 1)) + s)) : e = new r(o + ""), s = e.e + (r.DP += 4);
|
|
1933
1933
|
do
|
|
1934
1934
|
n = e, e = a.times(n.plus(i.div(n)));
|
|
1935
1935
|
while (n.c.slice(0, s).join("") !== e.c.slice(0, s).join(""));
|
|
1936
|
-
return
|
|
1936
|
+
return X(e, (r.DP -= 4) + e.e + 1, r.RM);
|
|
1937
1937
|
};
|
|
1938
1938
|
A.times = A.mul = function(e) {
|
|
1939
1939
|
var t, n = this, i = n.constructor, r = n.c, o = (e = new i(e)).c, s = r.length, a = o.length, l = n.e, f = e.e;
|
|
@@ -1951,27 +1951,27 @@ A.times = A.mul = function(e) {
|
|
|
1951
1951
|
A.toExponential = function(e, t) {
|
|
1952
1952
|
var n = this, i = n.c[0];
|
|
1953
1953
|
if (e !== R) {
|
|
1954
|
-
if (e !== ~~e || e < 0 || e >
|
|
1954
|
+
if (e !== ~~e || e < 0 || e > G)
|
|
1955
1955
|
throw Error(Ce);
|
|
1956
|
-
for (n =
|
|
1956
|
+
for (n = X(new n.constructor(n), ++e, t); n.c.length < e; ) n.c.push(0);
|
|
1957
1957
|
}
|
|
1958
|
-
return
|
|
1958
|
+
return H(n, !0, !!i);
|
|
1959
1959
|
};
|
|
1960
1960
|
A.toFixed = function(e, t) {
|
|
1961
1961
|
var n = this, i = n.c[0];
|
|
1962
1962
|
if (e !== R) {
|
|
1963
|
-
if (e !== ~~e || e < 0 || e >
|
|
1963
|
+
if (e !== ~~e || e < 0 || e > G)
|
|
1964
1964
|
throw Error(Ce);
|
|
1965
|
-
for (n =
|
|
1965
|
+
for (n = X(new n.constructor(n), e + n.e + 1, t), e = e + n.e + 1; n.c.length < e; ) n.c.push(0);
|
|
1966
1966
|
}
|
|
1967
|
-
return
|
|
1967
|
+
return H(n, !1, !!i);
|
|
1968
1968
|
};
|
|
1969
1969
|
A[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = A.toJSON = A.toString = function() {
|
|
1970
1970
|
var e = this, t = e.constructor;
|
|
1971
|
-
return
|
|
1971
|
+
return H(e, e.e <= t.NE || e.e >= t.PE, !!e.c[0]);
|
|
1972
1972
|
};
|
|
1973
1973
|
A.toNumber = function() {
|
|
1974
|
-
var e = +
|
|
1974
|
+
var e = +H(this, !0, !0);
|
|
1975
1975
|
if (this.constructor.strict === !0 && !this.eq(e.toString()))
|
|
1976
1976
|
throw Error(me + "Imprecise conversion");
|
|
1977
1977
|
return e;
|
|
@@ -1979,17 +1979,17 @@ A.toNumber = function() {
|
|
|
1979
1979
|
A.toPrecision = function(e, t) {
|
|
1980
1980
|
var n = this, i = n.constructor, r = n.c[0];
|
|
1981
1981
|
if (e !== R) {
|
|
1982
|
-
if (e !== ~~e || e < 1 || e >
|
|
1982
|
+
if (e !== ~~e || e < 1 || e > G)
|
|
1983
1983
|
throw Error(ge + "precision");
|
|
1984
|
-
for (n =
|
|
1984
|
+
for (n = X(new i(n), e, t); n.c.length < e; ) n.c.push(0);
|
|
1985
1985
|
}
|
|
1986
|
-
return
|
|
1986
|
+
return H(n, e <= n.e || n.e <= i.NE || n.e >= i.PE, !!r);
|
|
1987
1987
|
};
|
|
1988
1988
|
A.valueOf = function() {
|
|
1989
1989
|
var e = this, t = e.constructor;
|
|
1990
1990
|
if (t.strict === !0)
|
|
1991
1991
|
throw Error(me + "valueOf disallowed");
|
|
1992
|
-
return
|
|
1992
|
+
return H(e, e.e <= t.NE || e.e >= t.PE, !0);
|
|
1993
1993
|
};
|
|
1994
1994
|
function ci() {
|
|
1995
1995
|
return {
|
|
@@ -2620,19 +2620,19 @@ function Gr(e, t) {
|
|
|
2620
2620
|
`)}
|
|
2621
2621
|
`;
|
|
2622
2622
|
}
|
|
2623
|
-
const Vi = Dt(() => import("./AimdDnaSequenceField-
|
|
2623
|
+
const Vi = Dt(() => import("./AimdDnaSequenceField-CxFtD5Au.js")), vi = Dt(() => import("./AimdMarkdownField-Du0Fh5sG.js")), Wi = ki.map((e) => ({
|
|
2624
2624
|
type: e,
|
|
2625
2625
|
inputKind: "code"
|
|
2626
2626
|
}));
|
|
2627
|
-
function
|
|
2627
|
+
function oe(e) {
|
|
2628
2628
|
return String(e).padStart(2, "0");
|
|
2629
2629
|
}
|
|
2630
2630
|
function Ji(e) {
|
|
2631
2631
|
const t = -e.getTimezoneOffset(), n = t >= 0 ? "+" : "-", i = Math.abs(t), r = Math.floor(i / 60), o = i % 60;
|
|
2632
|
-
return `${n}${
|
|
2632
|
+
return `${n}${oe(r)}:${oe(o)}`;
|
|
2633
2633
|
}
|
|
2634
2634
|
function qi(e) {
|
|
2635
|
-
const t = e.getFullYear(), n =
|
|
2635
|
+
const t = e.getFullYear(), n = oe(e.getMonth() + 1), i = oe(e.getDate()), r = oe(e.getHours()), o = oe(e.getMinutes());
|
|
2636
2636
|
return `${t}-${n}-${i}T${r}:${o}${Ji(e)}`;
|
|
2637
2637
|
}
|
|
2638
2638
|
function Ki(e) {
|
|
@@ -2807,7 +2807,7 @@ function Yi(e, t) {
|
|
|
2807
2807
|
return "text";
|
|
2808
2808
|
}
|
|
2809
2809
|
}
|
|
2810
|
-
function
|
|
2810
|
+
function Q(e) {
|
|
2811
2811
|
return C(e);
|
|
2812
2812
|
}
|
|
2813
2813
|
function on(e) {
|
|
@@ -2842,7 +2842,7 @@ function on(e) {
|
|
|
2842
2842
|
function L(e) {
|
|
2843
2843
|
return typeof e == "string" ? e.trim().replace(/\s+/g, "").toLowerCase() : "";
|
|
2844
2844
|
}
|
|
2845
|
-
function
|
|
2845
|
+
function Z(e) {
|
|
2846
2846
|
let t = typeof e == "string" ? e.trim() : "";
|
|
2847
2847
|
for (let n = 0; n < 4; n += 1) {
|
|
2848
2848
|
const r = L(t).match(/^(?:typing\.)?optional\[(.*)\]$/);
|
|
@@ -2879,9 +2879,13 @@ function sn(e) {
|
|
|
2879
2879
|
});
|
|
2880
2880
|
}
|
|
2881
2881
|
function Xi(e) {
|
|
2882
|
-
const t =
|
|
2882
|
+
const t = Q(Z(e));
|
|
2883
2883
|
return t === "float" || t === "int" || t === "integer" || t === "number";
|
|
2884
2884
|
}
|
|
2885
|
+
function no(e) {
|
|
2886
|
+
const t = Q(Z(e));
|
|
2887
|
+
return t === "int" || t === "integer";
|
|
2888
|
+
}
|
|
2885
2889
|
function Nt(e) {
|
|
2886
2890
|
const t = L(e).replace(/^typing\./, "");
|
|
2887
2891
|
if (t === "str" || t === "string" || t === "builtins.str")
|
|
@@ -2909,7 +2913,7 @@ function We(e) {
|
|
|
2909
2913
|
return /^(?:airalogy\.types\.)?entityref(?:\[.*\])?$/.test(t);
|
|
2910
2914
|
}
|
|
2911
2915
|
function Zi(e, t, n) {
|
|
2912
|
-
const i =
|
|
2916
|
+
const i = Z(e), r = L(i).replace(/^typing\./, ""), o = ve(i);
|
|
2913
2917
|
let s = !1, a = o, l = We(i);
|
|
2914
2918
|
const f = r.match(/^(?:list|array)\[(.*)\]$/);
|
|
2915
2919
|
if (f)
|
|
@@ -2930,7 +2934,7 @@ function er(e, t, n) {
|
|
|
2930
2934
|
return Zi(e, t, n) !== void 0;
|
|
2931
2935
|
}
|
|
2932
2936
|
function ft(e) {
|
|
2933
|
-
const t = L(
|
|
2937
|
+
const t = L(Z(e)).replace(/^typing\./, "");
|
|
2934
2938
|
if (t.endsWith("[]"))
|
|
2935
2939
|
return Nt(t.slice(0, -2));
|
|
2936
2940
|
const n = t.match(/^(?:list|array)\[(.*)\]$/);
|
|
@@ -2940,10 +2944,10 @@ function tr(e) {
|
|
|
2940
2944
|
return ft(e) !== void 0;
|
|
2941
2945
|
}
|
|
2942
2946
|
function ct(e) {
|
|
2943
|
-
const t =
|
|
2947
|
+
const t = Z(e), n = L(t).replace(/^typing\./, ""), i = Q(t);
|
|
2944
2948
|
return i === "json" || i === "list" || n.startsWith("list[") || i === "array" || n.startsWith("array[") || i === "dict" || n.startsWith("dict[") || i === "map" || n.startsWith("map[") || i === "object" || i === "record";
|
|
2945
2949
|
}
|
|
2946
|
-
function
|
|
2950
|
+
function io(e, t = {}) {
|
|
2947
2951
|
const n = Yi(t.inputType, t.codeLanguage);
|
|
2948
2952
|
if (n)
|
|
2949
2953
|
return n;
|
|
@@ -2954,7 +2958,7 @@ function no(e, t = {}) {
|
|
|
2954
2958
|
return "entity-ref";
|
|
2955
2959
|
if (tr(e))
|
|
2956
2960
|
return "scalar-list";
|
|
2957
|
-
const r =
|
|
2961
|
+
const r = Z(e), o = Q(r);
|
|
2958
2962
|
return o === "float" || o === "int" || o === "integer" || o === "number" ? "number" : o === "bool" || o === "boolean" || o === "checkbox" ? sn(e) ? "boolean-select" : "checkbox" : o === "date" ? "date" : o === "datetime" || o === "currenttime" ? "datetime" : o === "time" || o === "duration" ? "time" : o === "dnasequence" ? "dna" : o === "md" || o === "markdown" || o === "airalogymarkdown" || ct(e) ? "textarea" : Gi(r, t.kwargs, t.fieldMeta) ? "file" : en(r, { codeLanguage: t.codeLanguage }) ? "code" : "text";
|
|
2959
2963
|
}
|
|
2960
2964
|
function nr(e) {
|
|
@@ -3008,7 +3012,7 @@ function rr(e) {
|
|
|
3008
3012
|
const t = V(e);
|
|
3009
3013
|
return Array.isArray(t) ? t.map((n) => Ot(n)).filter(Boolean).join(", ") : Ot(t);
|
|
3010
3014
|
}
|
|
3011
|
-
function
|
|
3015
|
+
function te(e) {
|
|
3012
3016
|
if (typeof e == "number")
|
|
3013
3017
|
return Number.isFinite(e) ? e : void 0;
|
|
3014
3018
|
if (typeof e == "string" && e.trim()) {
|
|
@@ -3019,10 +3023,10 @@ function H(e) {
|
|
|
3019
3023
|
function fn(e, t) {
|
|
3020
3024
|
if (!Xi(e) || !t)
|
|
3021
3025
|
return {};
|
|
3022
|
-
const n = {}, i =
|
|
3026
|
+
const n = {}, i = te(t.gt), r = te(t.ge), o = te(t.lt), s = te(t.le), a = te(t.multiple_of);
|
|
3023
3027
|
return i !== void 0 && (n.gt = i), r !== void 0 && (n.ge = r), o !== void 0 && (n.lt = o), s !== void 0 && (n.le = s), a !== void 0 && a > 0 && (n.multiple_of = a), n;
|
|
3024
3028
|
}
|
|
3025
|
-
function
|
|
3029
|
+
function ro(e, t) {
|
|
3026
3030
|
const n = fn(e, t), i = [n.gt, n.ge].filter((o) => o !== void 0), r = [n.lt, n.le].filter((o) => o !== void 0);
|
|
3027
3031
|
return {
|
|
3028
3032
|
min: i.length ? Math.max(...i) : void 0,
|
|
@@ -3030,11 +3034,11 @@ function io(e, t) {
|
|
|
3030
3034
|
step: n.multiple_of
|
|
3031
3035
|
};
|
|
3032
3036
|
}
|
|
3033
|
-
function
|
|
3037
|
+
function oo(e, t, n) {
|
|
3034
3038
|
const i = fn(t, n);
|
|
3035
3039
|
if (Object.keys(i).length === 0 || e === null || typeof e > "u" || typeof e == "string" && e.trim() === "")
|
|
3036
3040
|
return null;
|
|
3037
|
-
const r =
|
|
3041
|
+
const r = te(e);
|
|
3038
3042
|
if (r === void 0)
|
|
3039
3043
|
return null;
|
|
3040
3044
|
if (i.gt !== void 0 && !(r > i.gt))
|
|
@@ -3055,7 +3059,7 @@ function ro(e, t, n) {
|
|
|
3055
3059
|
function V(e) {
|
|
3056
3060
|
return Oe(e);
|
|
3057
3061
|
}
|
|
3058
|
-
function
|
|
3062
|
+
function so(e) {
|
|
3059
3063
|
return Cn(e);
|
|
3060
3064
|
}
|
|
3061
3065
|
function cn(e) {
|
|
@@ -3120,12 +3124,12 @@ function ar(e, t) {
|
|
|
3120
3124
|
const r = i.getFullYear(), o = D(i.getMonth() + 1), s = D(i.getDate()), a = D(i.getHours()), l = D(i.getMinutes()), f = D(i.getSeconds());
|
|
3121
3125
|
return t === "date" ? `${r}-${o}-${s}` : t === "time" ? `${a}:${l}:${f}` : `${r}-${o}-${s}T${a}:${l}`;
|
|
3122
3126
|
}
|
|
3123
|
-
function
|
|
3127
|
+
function ao(e, t, n = {}) {
|
|
3124
3128
|
const i = n.typePlugin;
|
|
3125
3129
|
if (i?.getDisplayValue) {
|
|
3126
3130
|
const o = {
|
|
3127
3131
|
type: n.type || "str",
|
|
3128
|
-
normalizedType:
|
|
3132
|
+
normalizedType: Q(n.type),
|
|
3129
3133
|
fieldKey: n.nodeFieldKey ?? "",
|
|
3130
3134
|
node: {},
|
|
3131
3135
|
value: e,
|
|
@@ -3156,12 +3160,12 @@ function so(e, t, n = {}) {
|
|
|
3156
3160
|
ft(n.type) ?? "string"
|
|
3157
3161
|
)) : t === "entity-ref" ? rr(r) : ct(n.type) ? nr(r) : typeof r == "string" ? r : r === null || typeof r > "u" ? "" : String(r);
|
|
3158
3162
|
}
|
|
3159
|
-
function
|
|
3163
|
+
function lo(e, t, n, i = {}) {
|
|
3160
3164
|
const r = i.typePlugin ?? rn(t, i.typePlugins);
|
|
3161
3165
|
if (r?.parseInputValue) {
|
|
3162
3166
|
const a = {
|
|
3163
3167
|
type: t || "str",
|
|
3164
|
-
normalizedType:
|
|
3168
|
+
normalizedType: Q(t),
|
|
3165
3169
|
fieldKey: i.nodeFieldKey ?? "",
|
|
3166
3170
|
node: {},
|
|
3167
3171
|
rawValue: e,
|
|
@@ -3170,7 +3174,7 @@ function ao(e, t, n, i = {}) {
|
|
|
3170
3174
|
};
|
|
3171
3175
|
return r.parseInputValue(a);
|
|
3172
3176
|
}
|
|
3173
|
-
const o = sn(t), s =
|
|
3177
|
+
const o = sn(t), s = Q(Z(t));
|
|
3174
3178
|
if ((n === "date" || n === "datetime" || n === "time") && o && e.trim() === "")
|
|
3175
3179
|
return null;
|
|
3176
3180
|
if (n === "datetime")
|
|
@@ -3245,7 +3249,7 @@ function fr(e) {
|
|
|
3245
3249
|
return 220;
|
|
3246
3250
|
}
|
|
3247
3251
|
}
|
|
3248
|
-
function
|
|
3252
|
+
function fo(e, t) {
|
|
3249
3253
|
const n = Math.max(e.length + 7, 10), o = Math.round(n * 8 + 16), s = un(t);
|
|
3250
3254
|
return `${Math.max(s, o)}px`;
|
|
3251
3255
|
}
|
|
@@ -3264,7 +3268,7 @@ function cr(e, t) {
|
|
|
3264
3268
|
const i = t.fontSize || "16px", r = t.fontFamily || "sans-serif", o = t.fontWeight || "400", s = t.fontStyle || "normal";
|
|
3265
3269
|
return n.font = `${s} ${o} ${i} ${r}`, n.measureText(e).width;
|
|
3266
3270
|
}
|
|
3267
|
-
function
|
|
3271
|
+
function K(e) {
|
|
3268
3272
|
if (typeof window > "u")
|
|
3269
3273
|
return e.scrollWidth;
|
|
3270
3274
|
const t = window.getComputedStyle(e), n = (e.textContent || "").trim(), i = cr(n, t), r = E(t.paddingLeft) + E(t.paddingRight) + E(t.borderLeftWidth) + E(t.borderRightWidth) + E(t.marginLeft) + E(t.marginRight);
|
|
@@ -3277,18 +3281,18 @@ function ur(e) {
|
|
|
3277
3281
|
return E(t.paddingLeft) + E(t.paddingRight) + E(t.borderLeftWidth) + E(t.borderRightWidth) + E(t.marginLeft) + E(t.marginRight);
|
|
3278
3282
|
}
|
|
3279
3283
|
function dr(e) {
|
|
3280
|
-
const t = e.querySelector(".aimd-field__title"), n = e.querySelector(".aimd-field__key"), i = Math.max(
|
|
3281
|
-
|
|
3282
|
-
n ?
|
|
3284
|
+
const t = e.querySelector(".aimd-field__title"), n = e.querySelector(".aimd-field__key"), i = e.querySelector(".aimd-field__required-marker"), r = (t ? K(t) : 0) + (i ? K(i) : 0), o = Math.max(
|
|
3285
|
+
r,
|
|
3286
|
+
n ? K(n) : 0
|
|
3283
3287
|
);
|
|
3284
|
-
return
|
|
3288
|
+
return o > 0 ? o + ur(e) : K(e);
|
|
3285
3289
|
}
|
|
3286
3290
|
function pr(e) {
|
|
3287
3291
|
const t = e.querySelector(".aimd-field__scope--var"), n = e.querySelector(".aimd-field__name"), i = e.querySelector(".aimd-field__id");
|
|
3288
3292
|
if (t && n)
|
|
3289
|
-
return
|
|
3293
|
+
return K(t) + dr(n) + 4;
|
|
3290
3294
|
if (t && i)
|
|
3291
|
-
return
|
|
3295
|
+
return K(t) + K(i) + 4;
|
|
3292
3296
|
const r = e.querySelector(".aimd-field__label");
|
|
3293
3297
|
return r ? r.scrollWidth + 2 : 0;
|
|
3294
3298
|
}
|
|
@@ -3307,7 +3311,7 @@ function jt(e, t, n) {
|
|
|
3307
3311
|
const i = e.querySelector(t);
|
|
3308
3312
|
return i ? i.offsetWidth || n : 0;
|
|
3309
3313
|
}
|
|
3310
|
-
function
|
|
3314
|
+
function co(e) {
|
|
3311
3315
|
if (typeof window > "u")
|
|
3312
3316
|
return;
|
|
3313
3317
|
const t = e.classList.contains("aimd-rec-inline__textarea--stacked-text");
|
|
@@ -3320,7 +3324,7 @@ function fo(e) {
|
|
|
3320
3324
|
const r = E(n.borderTopWidth) + E(n.borderBottomWidth), o = Math.max(i, e.scrollHeight + r);
|
|
3321
3325
|
e.style.height = `${Math.ceil(o)}px`;
|
|
3322
3326
|
}
|
|
3323
|
-
function
|
|
3327
|
+
function uo(e, t) {
|
|
3324
3328
|
const n = e.closest(".aimd-rec-inline--var-stacked");
|
|
3325
3329
|
if (!n || typeof window > "u")
|
|
3326
3330
|
return;
|
|
@@ -3347,8 +3351,8 @@ export {
|
|
|
3347
3351
|
Mr as D,
|
|
3348
3352
|
eo as E,
|
|
3349
3353
|
to as F,
|
|
3350
|
-
|
|
3351
|
-
|
|
3354
|
+
ao as G,
|
|
3355
|
+
io as H,
|
|
3352
3356
|
xr as I,
|
|
3353
3357
|
Gi as J,
|
|
3354
3358
|
tr as K,
|
|
@@ -3374,8 +3378,8 @@ export {
|
|
|
3374
3378
|
di as a1,
|
|
3375
3379
|
_i as a2,
|
|
3376
3380
|
At as a3,
|
|
3377
|
-
|
|
3378
|
-
|
|
3381
|
+
Q as a4,
|
|
3382
|
+
lo as a5,
|
|
3379
3383
|
ui as a6,
|
|
3380
3384
|
be as a7,
|
|
3381
3385
|
$r as a8,
|
|
@@ -3410,8 +3414,8 @@ export {
|
|
|
3410
3414
|
Gr as aa,
|
|
3411
3415
|
jr as ab,
|
|
3412
3416
|
Or as ac,
|
|
3413
|
-
|
|
3414
|
-
|
|
3417
|
+
co as ad,
|
|
3418
|
+
so as ae,
|
|
3415
3419
|
cn as af,
|
|
3416
3420
|
V as ag,
|
|
3417
3421
|
On as ah,
|
|
@@ -3432,28 +3436,29 @@ export {
|
|
|
3432
3436
|
gt as aw,
|
|
3433
3437
|
xt as ax,
|
|
3434
3438
|
xn as ay,
|
|
3435
|
-
|
|
3439
|
+
se as az,
|
|
3436
3440
|
gi as b,
|
|
3437
3441
|
rn as b0,
|
|
3438
3442
|
Zr as b1,
|
|
3439
3443
|
Hr as b2,
|
|
3440
3444
|
Xi as b3,
|
|
3441
|
-
|
|
3445
|
+
oo as b4,
|
|
3442
3446
|
hr as b5,
|
|
3443
3447
|
Sr as b6,
|
|
3444
3448
|
sn as b7,
|
|
3445
3449
|
_r as b8,
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3450
|
+
no as b9,
|
|
3451
|
+
Ii as ba,
|
|
3452
|
+
ro as bb,
|
|
3453
|
+
Zi as bc,
|
|
3454
|
+
Tn as bd,
|
|
3455
|
+
yr as be,
|
|
3456
|
+
br as bf,
|
|
3457
|
+
En as bg,
|
|
3458
|
+
In as bh,
|
|
3459
|
+
uo as c,
|
|
3455
3460
|
Kr as d,
|
|
3456
|
-
|
|
3461
|
+
fo as e,
|
|
3457
3462
|
Br as f,
|
|
3458
3463
|
Jr as g,
|
|
3459
3464
|
lt as h,
|