adminizer 5.1.0-build.27 → 5.1.0-build.29
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/assets/{abnfDiagram-VCTEODGH-Bg_8zqPp.js → abnfDiagram-VCTEODGH-CpSXY7qH.js} +1 -1
- package/assets/add-DQWffo5j.js +1 -0
- package/assets/{add-group-CCG3KsbU.js → add-group-OdAd30ej.js} +1 -1
- package/assets/{add-user-C3zbmYCp.js → add-user-C6cqZSzp.js} +1 -1
- package/assets/ai-assistant/agent.es.js +9725 -8297
- package/assets/app-DMN-4aCp.js +138 -0
- package/assets/app-TCCHARSx.css +1 -0
- package/assets/{arc-Eis4jA3C.js → arc-6oG0N2EU.js} +1 -1
- package/assets/{architectureDiagram-5GKGNRK7-vRaEat2I.js → architectureDiagram-5GKGNRK7-BO5E3Osk.js} +1 -1
- package/assets/{blockDiagram-I7D4REHJ-D4p6mNO0.js → blockDiagram-I7D4REHJ-DpKAEeRQ.js} +1 -1
- package/assets/{c4Diagram-7LVT6UL2-Ndcevqf2.js → c4Diagram-7LVT6UL2-K4ilHoqv.js} +1 -1
- package/assets/{catalog-JTO3wxaD.js → catalog-BaSowP5U.js} +3 -3
- package/assets/channel-Dh5UPZKs.js +1 -0
- package/assets/{chunk-2Q5K7J3B-BCBceaUW.js → chunk-2Q5K7J3B-CFvbnPgN.js} +1 -1
- package/assets/{chunk-5VM5RSS4-CYJCrcuC.js → chunk-5VM5RSS4-Cxb3_K7a.js} +1 -1
- package/assets/{chunk-F27PBJKO-CcLD2Xr5.js → chunk-F27PBJKO-Bp-e-RqW.js} +1 -1
- package/assets/{chunk-IMKFNOWR-CnAhNJXV.js → chunk-IMKFNOWR-D03Bbv3p.js} +1 -1
- package/assets/{chunk-JWPE2WC7-DyvpPELY.js → chunk-JWPE2WC7-BQzIFXbt.js} +1 -1
- package/assets/{chunk-POPQ4Y6H-BbZC5GHP.js → chunk-POPQ4Y6H-DGPhwQEk.js} +1 -1
- package/assets/{chunk-SVP7TREG-Bpic-apZ.js → chunk-SVP7TREG-CFG2uzdK.js} +1 -1
- package/assets/{chunk-TICWLB2K-D_HH7iEP.js → chunk-TICWLB2K-BRoATx6O.js} +1 -1
- package/assets/{chunk-XXDRQBXY-BHYuhi0S.js → chunk-XXDRQBXY-MTSPV1jX.js} +1 -1
- package/assets/classDiagram-ZZMXUADV-a_pfQoRf.js +1 -0
- package/assets/classDiagram-v2-VYDZK3BY-a_pfQoRf.js +1 -0
- package/assets/controls/ckeditor.es.js +265 -259
- package/assets/controls/jsoneditor.es.js +182 -185
- package/assets/controls/leaflet.es.js +29 -26
- package/assets/{cose-bilkent-JH36ORCC-VW9sgRDq.js → cose-bilkent-JH36ORCC-Cd04LiHO.js} +1 -1
- package/assets/{cynefin-OW5HDTMX-DCUuRnt0.js → cynefin-OW5HDTMX-Cvk-t4EK.js} +1 -1
- package/assets/{cynefinDiagram-5FMLGOSQ-Bga2ArjW.js → cynefinDiagram-5FMLGOSQ-CHBsEINZ.js} +1 -1
- package/assets/{dagre-GXQ25YYZ-CsS1V8Fd.js → dagre-GXQ25YYZ-Dq-0d5Tl.js} +1 -1
- package/assets/{dashboard-4b-DtCkn.js → dashboard-BZo6F7y9.js} +2 -2
- package/assets/{diagram-S7CK7UJ4-BkgFMSZX.js → diagram-S7CK7UJ4-BKDTPndI.js} +1 -1
- package/assets/{diagram-UQ7AKVKN-BzC2nIdX.js → diagram-UQ7AKVKN-DZYq9mm9.js} +1 -1
- package/assets/{diagram-VSXAHHWV-Dt7D4ksU.js → diagram-VSXAHHWV-CVOsZwCq.js} +1 -1
- package/assets/{diagram-VX7I27RA-0hu_EZ4u.js → diagram-VX7I27RA-BCBXgENw.js} +1 -1
- package/assets/{diagram-Z3DM3KII-fpCB_fIc.js → diagram-Z3DM3KII-ByNHDStX.js} +1 -1
- package/assets/{docs-UOtmhzZS.js → docs-CDmOUM3P.js} +1 -1
- package/assets/{ebnfDiagram-PWID7BFC-C_2xqmKB.js → ebnfDiagram-PWID7BFC-WrVgmCqC.js} +1 -1
- package/assets/{erDiagram-RLTQ6QDP-DFPGs6yp.js → erDiagram-RLTQ6QDP-1QXTF1US.js} +1 -1
- package/assets/{flowDiagram-HODETNUW-DPOGstiG.js → flowDiagram-HODETNUW-DWcydZT-.js} +1 -1
- package/assets/{ganttDiagram-EL5Y4UJY-CypeJ7AX.js → ganttDiagram-EL5Y4UJY-BDrQ3uCR.js} +1 -1
- package/assets/{gitGraphDiagram-WWUBYQGX-DxAhGz-2.js → gitGraphDiagram-WWUBYQGX-oD2bpMWh.js} +1 -1
- package/assets/{history-DMrI0-e9.js → history-CTbCqtJA.js} +1 -1
- package/assets/{infoDiagram-27XIBGKW-BX6gP2sE.js → infoDiagram-27XIBGKW-C8opSvmW.js} +1 -1
- package/assets/{init-user-90rWJO11.js → init-user-DDmp5FmX.js} +1 -1
- package/assets/{ishikawaDiagram-5VMMS53U-HRaXncwz.js → ishikawaDiagram-5VMMS53U-CqOCcw38.js} +1 -1
- package/assets/{journeyDiagram-3NMN7TZE-CsXR3QVf.js → journeyDiagram-3NMN7TZE-B1OlZWx5.js} +1 -1
- package/assets/{kanban-definition-UXKFOSKX-DCIVI8Ji.js → kanban-definition-UXKFOSKX-DIEdmOZD.js} +1 -1
- package/assets/{layout-IGSohxrW.js → layout-Cznoi1Xi.js} +1 -1
- package/assets/{linear-M6iGQUwN.js → linear-DbhwLrTs.js} +1 -1
- package/assets/{list-gbZSukX6.js → list-X8LYs75t.js} +2 -2
- package/assets/{login-CjOSctXD.js → login-D0flIAhA.js} +1 -1
- package/assets/manifest.json +277 -277
- package/assets/{media-manager-_LexG3oh.js → media-manager-cyrZjDu3.js} +1 -1
- package/assets/{mermaid.core-DAck1uaB.js → mermaid.core-DtG9mjld.js} +5 -5
- package/assets/{mindmap-definition-YA3MSWOX-D1EfOJAc.js → mindmap-definition-YA3MSWOX-G8OJl_uT.js} +1 -1
- package/assets/module-D347sEFr.js +1 -0
- package/assets/{notification-BjQO_nNz.js → notification-C7usJcF-.js} +1 -1
- package/assets/{pegDiagram-XKGWAZYB-Cc8Gjl6W.js → pegDiagram-XKGWAZYB-CqOymfUM.js} +1 -1
- package/assets/{pieDiagram-E7YTZNPT-BoNu3GzD.js → pieDiagram-E7YTZNPT-C_nbNUey.js} +1 -1
- package/assets/{quadrantDiagram-AXDQQJYC-BcZvJIwl.js → quadrantDiagram-AXDQQJYC-RDCWL_jp.js} +1 -1
- package/assets/{railroadDiagram-O6MQD6OU-B5509Hzu.js → railroadDiagram-O6MQD6OU-Bi_j7Fb_.js} +1 -1
- package/assets/{register-B8lUjWa4.js → register-DhdaEsna.js} +1 -1
- package/assets/{requirementDiagram-BXWQKSXE-BjD2Lyol.js → requirementDiagram-BXWQKSXE-Cg6IzoFA.js} +1 -1
- package/assets/{ru-Bga9nURh.js → ru-DMAUOdKr.js} +1 -1
- package/assets/{sankeyDiagram-P5KCCOFB-CytF1cEb.js → sankeyDiagram-P5KCCOFB-BNN3S4hm.js} +1 -1
- package/assets/{sequenceDiagram-WJ2MYXX4-D4NPQNvE.js → sequenceDiagram-WJ2MYXX4-C9UEgNLg.js} +1 -1
- package/assets/{sizeCapture-INFHLROL-tYZn2Att.js → sizeCapture-INFHLROL-DH9gM8J8.js} +1 -1
- package/assets/{stateDiagram-D77RDMKH-DeP6-EWJ.js → stateDiagram-D77RDMKH-CzuNaJnp.js} +1 -1
- package/assets/stateDiagram-v2-MP3YSRHH-Cm0oV4uL.js +1 -0
- package/assets/{swimlanes-42K2YHIH-CBwp_Dkj.js → swimlanes-42K2YHIH-DlfHkCIp.js} +1 -1
- package/assets/swimlanesDiagram-VR7AAH4N-Cc5GTkO2.js +8 -0
- package/assets/{timeline-definition-24CTP7MA-yLEcbTCW.js → timeline-definition-24CTP7MA-B45WKY9z.js} +1 -1
- package/assets/{use-appearance-D6-vqhEK.js → use-appearance-DPeAg6kc.js} +1 -1
- package/assets/{user-filters-list-DVP21R0w.js → user-filters-list-B-txVF_a.js} +1 -1
- package/assets/{vennDiagram-4TSXK5OY-D-jH0690.js → vennDiagram-4TSXK5OY-BARlq8EX.js} +1 -1
- package/assets/{wardleyDiagram-VM6X3IG4-pPY5kYLN.js → wardleyDiagram-VM6X3IG4-DSGKYXrr.js} +1 -1
- package/assets/{welcome-DlBvTvMc.js → welcome-Cdhwf3y4.js} +1 -1
- package/assets/with-app-layout-CcoboJFc.js +31 -0
- package/assets/{xychartDiagram-S5SC5T6Z-C8jeu2VX.js → xychartDiagram-S5SC5T6Z-DPA8cj4H.js} +1 -1
- package/controllers/adminLinks.d.ts +7 -0
- package/controllers/adminLinks.js +10 -0
- package/controllers/catalog/FrontendCatalogAdapter.d.ts +5 -5
- package/controllers/catalog/FrontentCatalogAdapter.d.ts +5 -5
- package/helpers/menuHelper.d.ts +11 -1
- package/helpers/menuHelper.js +16 -6
- package/helpers/navigationAccessHelper.d.ts +10 -3
- package/helpers/navigationAccessHelper.js +21 -2
- package/helpers/pathPattern.d.ts +5 -0
- package/helpers/pathPattern.js +10 -0
- package/interfaces/adminpanelConfig.d.ts +23 -0
- package/lib/admin-links/AdminLinkHandler.d.ts +41 -0
- package/lib/admin-links/AdminLinkHandler.js +94 -1
- package/lib/ai-assistant/AiAssistantUiMethodHandler.d.ts +4 -22
- package/lib/ai-assistant/AiAssistantUiMethodHandler.js +3 -47
- package/lib/docs/AbstractDocumentation.js +2 -4
- package/lib/media-manager/helpers/MediaManagerHelper.d.ts +1 -1
- package/lib/notifications/AbstractNotificationService.d.ts +3 -3
- package/package.json +1 -2
- package/system/Router.js +7 -0
- package/system/bindDocs.js +1 -1
- package/system/bindInertia.js +16 -0
- package/ui/components/ui/badge.d.ts +1 -1
- package/ui/components/ui/badge.js +1 -0
- package/ui/components/ui/command.d.ts +3 -1
- package/ui/components/ui/command.js +2 -2
- package/assets/add-CIUloDP7.js +0 -1
- package/assets/app-DPmI-MvN.css +0 -1
- package/assets/app-DcPnWJ2A.js +0 -138
- package/assets/channel-BedsMG7l.js +0 -1
- package/assets/classDiagram-ZZMXUADV-D7IRPQh5.js +0 -1
- package/assets/classDiagram-v2-VYDZK3BY-D7IRPQh5.js +0 -1
- package/assets/module-D5BInbsL.js +0 -1
- package/assets/stateDiagram-v2-MP3YSRHH-C6MIQ0z8.js +0 -1
- package/assets/swimlanesDiagram-VR7AAH4N-CnU6gLkz.js +0 -8
- package/assets/with-app-layout-BUF49K2m.js +0 -31
|
@@ -4693,10 +4693,10 @@ function Tg() {
|
|
|
4693
4693
|
p(L, () => (0, t.topBoolOrEmptySchema)(L));
|
|
4694
4694
|
}
|
|
4695
4695
|
Zs.validateFunctionCode = h;
|
|
4696
|
-
function p({ gen: L, validateName: q, schema: N, schemaEnv: Q, opts: se },
|
|
4696
|
+
function p({ gen: L, validateName: q, schema: N, schemaEnv: Q, opts: se }, je) {
|
|
4697
4697
|
se.code.es5 ? L.func(q, (0, a._)`${l.default.data}, ${l.default.valCxt}`, Q.$async, () => {
|
|
4698
|
-
L.code((0, a._)`"use strict"; ${x(N, se)}`), v(L, se), L.code(
|
|
4699
|
-
}) : L.func(q, (0, a._)`${l.default.data}, ${m(se)}`, Q.$async, () => L.code(x(N, se)).code(
|
|
4698
|
+
L.code((0, a._)`"use strict"; ${x(N, se)}`), v(L, se), L.code(je);
|
|
4699
|
+
}) : L.func(q, (0, a._)`${l.default.data}, ${m(se)}`, Q.$async, () => L.code(x(N, se)).code(je));
|
|
4700
4700
|
}
|
|
4701
4701
|
function m(L) {
|
|
4702
4702
|
return (0, a._)`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${L.dynamicRef ? (0, a._)`, ${l.default.dynamicAnchors}={}` : a.nil}}={}`;
|
|
@@ -4743,8 +4743,8 @@ function Tg() {
|
|
|
4743
4743
|
function j(L, q) {
|
|
4744
4744
|
const { schema: N, gen: Q, opts: se } = L;
|
|
4745
4745
|
se.$comment && N.$comment && J(L), H(L), V(L);
|
|
4746
|
-
const
|
|
4747
|
-
$(L,
|
|
4746
|
+
const je = Q.const("_errs", l.default.errors);
|
|
4747
|
+
$(L, je), Q.var(q, (0, a._)`${je} === ${l.default.errors}`);
|
|
4748
4748
|
}
|
|
4749
4749
|
function C(L) {
|
|
4750
4750
|
(0, d.checkUnknownRules)(L), M(L);
|
|
@@ -4772,41 +4772,41 @@ function Tg() {
|
|
|
4772
4772
|
throw new Error("async schema in sync schema");
|
|
4773
4773
|
}
|
|
4774
4774
|
function J({ gen: L, schemaEnv: q, schema: N, errSchemaPath: Q, opts: se }) {
|
|
4775
|
-
const
|
|
4775
|
+
const je = N.$comment;
|
|
4776
4776
|
if (se.$comment === !0)
|
|
4777
|
-
L.code((0, a._)`${l.default.self}.logger.log(${
|
|
4777
|
+
L.code((0, a._)`${l.default.self}.logger.log(${je})`);
|
|
4778
4778
|
else if (typeof se.$comment == "function") {
|
|
4779
4779
|
const he = (0, a.str)`${Q}/$comment`, ne = L.scopeValue("root", { ref: q.root });
|
|
4780
|
-
L.code((0, a._)`${l.default.self}.opts.$comment(${
|
|
4780
|
+
L.code((0, a._)`${l.default.self}.opts.$comment(${je}, ${he}, ${ne}.schema)`);
|
|
4781
4781
|
}
|
|
4782
4782
|
}
|
|
4783
4783
|
function G(L) {
|
|
4784
|
-
const { gen: q, schemaEnv: N, validateName: Q, ValidationError: se, opts:
|
|
4785
|
-
N.$async ? q.if((0, a._)`${l.default.errors} === 0`, () => q.return(l.default.data), () => q.throw((0, a._)`new ${se}(${l.default.vErrors})`)) : (q.assign((0, a._)`${Q}.errors`, l.default.vErrors),
|
|
4784
|
+
const { gen: q, schemaEnv: N, validateName: Q, ValidationError: se, opts: je } = L;
|
|
4785
|
+
N.$async ? q.if((0, a._)`${l.default.errors} === 0`, () => q.return(l.default.data), () => q.throw((0, a._)`new ${se}(${l.default.vErrors})`)) : (q.assign((0, a._)`${Q}.errors`, l.default.vErrors), je.unevaluated && de(L), q.return((0, a._)`${l.default.errors} === 0`));
|
|
4786
4786
|
}
|
|
4787
4787
|
function de({ gen: L, evaluated: q, props: N, items: Q }) {
|
|
4788
4788
|
N instanceof a.Name && L.assign((0, a._)`${q}.props`, N), Q instanceof a.Name && L.assign((0, a._)`${q}.items`, Q);
|
|
4789
4789
|
}
|
|
4790
4790
|
function Ce(L, q, N, Q) {
|
|
4791
|
-
const { gen: se, schema:
|
|
4792
|
-
if (
|
|
4791
|
+
const { gen: se, schema: je, data: he, allErrors: ne, opts: ke, self: vt } = L, { RULES: Ve } = vt;
|
|
4792
|
+
if (je.$ref && (ke.ignoreKeywordsWithRef || !(0, d.schemaHasRulesButRef)(je, Ve))) {
|
|
4793
4793
|
se.block(() => ee(L, "$ref", Ve.all.$ref.definition));
|
|
4794
4794
|
return;
|
|
4795
4795
|
}
|
|
4796
|
-
|
|
4796
|
+
ke.jtd || ae(L, q), se.block(() => {
|
|
4797
4797
|
for (const st of Ve.rules)
|
|
4798
4798
|
ut(st);
|
|
4799
4799
|
ut(Ve.post);
|
|
4800
4800
|
});
|
|
4801
4801
|
function ut(st) {
|
|
4802
|
-
(0, n.shouldUseGroup)(
|
|
4802
|
+
(0, n.shouldUseGroup)(je, st) && (st.type ? (se.if((0, r.checkDataType)(st.type, he, ke.strictNumbers)), pe(L, st), q.length === 1 && q[0] === st.type && N && (se.else(), (0, r.reportTypeError)(L)), se.endIf()) : pe(L, st), ne || se.if((0, a._)`${l.default.errors} === ${Q || 0}`));
|
|
4803
4803
|
}
|
|
4804
4804
|
}
|
|
4805
4805
|
function pe(L, q) {
|
|
4806
4806
|
const { gen: N, schema: Q, opts: { useDefaults: se } } = L;
|
|
4807
4807
|
se && (0, i.assignDefaults)(L, q.type), N.block(() => {
|
|
4808
|
-
for (const
|
|
4809
|
-
(0, n.shouldUseRule)(Q,
|
|
4808
|
+
for (const je of q.rules)
|
|
4809
|
+
(0, n.shouldUseRule)(Q, je) && ee(L, je.keyword, je.definition, q.type);
|
|
4810
4810
|
});
|
|
4811
4811
|
}
|
|
4812
4812
|
function ae(L, q) {
|
|
@@ -4831,8 +4831,8 @@ function Tg() {
|
|
|
4831
4831
|
for (const Q in N) {
|
|
4832
4832
|
const se = N[Q];
|
|
4833
4833
|
if (typeof se == "object" && (0, n.shouldUseRule)(L.schema, se)) {
|
|
4834
|
-
const { type:
|
|
4835
|
-
|
|
4834
|
+
const { type: je } = se.definition;
|
|
4835
|
+
je.length && !je.some((he) => I(q, he)) && R(L, `missing type "${je.join(",")}" for keyword "${Q}"`);
|
|
4836
4836
|
}
|
|
4837
4837
|
}
|
|
4838
4838
|
}
|
|
@@ -4914,25 +4914,25 @@ function Tg() {
|
|
|
4914
4914
|
check$data(q = a.nil, N = a.nil) {
|
|
4915
4915
|
if (!this.$data)
|
|
4916
4916
|
return;
|
|
4917
|
-
const { gen: Q, schemaCode: se, schemaType:
|
|
4918
|
-
Q.if((0, a.or)((0, a._)`${se} === undefined`, N)), q !== a.nil && Q.assign(q, !0), (
|
|
4917
|
+
const { gen: Q, schemaCode: se, schemaType: je, def: he } = this;
|
|
4918
|
+
Q.if((0, a.or)((0, a._)`${se} === undefined`, N)), q !== a.nil && Q.assign(q, !0), (je.length || he.validateSchema) && (Q.elseIf(this.invalid$data()), this.$dataError(), q !== a.nil && Q.assign(q, !1)), Q.else();
|
|
4919
4919
|
}
|
|
4920
4920
|
invalid$data() {
|
|
4921
|
-
const { gen: q, schemaCode: N, schemaType: Q, def: se, it:
|
|
4921
|
+
const { gen: q, schemaCode: N, schemaType: Q, def: se, it: je } = this;
|
|
4922
4922
|
return (0, a.or)(he(), ne());
|
|
4923
4923
|
function he() {
|
|
4924
4924
|
if (Q.length) {
|
|
4925
4925
|
if (!(N instanceof a.Name))
|
|
4926
4926
|
throw new Error("ajv implementation error");
|
|
4927
|
-
const
|
|
4928
|
-
return (0, a._)`${(0, r.checkDataTypes)(
|
|
4927
|
+
const ke = Array.isArray(Q) ? Q : [Q];
|
|
4928
|
+
return (0, a._)`${(0, r.checkDataTypes)(ke, N, je.opts.strictNumbers, r.DataType.Wrong)}`;
|
|
4929
4929
|
}
|
|
4930
4930
|
return a.nil;
|
|
4931
4931
|
}
|
|
4932
4932
|
function ne() {
|
|
4933
4933
|
if (se.validateSchema) {
|
|
4934
|
-
const
|
|
4935
|
-
return (0, a._)`!${
|
|
4934
|
+
const ke = q.scopeValue("validate$data", { ref: se.validateSchema });
|
|
4935
|
+
return (0, a._)`!${ke}(${N})`;
|
|
4936
4936
|
}
|
|
4937
4937
|
return a.nil;
|
|
4938
4938
|
}
|
|
@@ -4960,13 +4960,13 @@ function Tg() {
|
|
|
4960
4960
|
}
|
|
4961
4961
|
const xe = /^\/(?:[^~]|~0|~1)*$/, Ae = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
|
|
4962
4962
|
function Be(L, { dataLevel: q, dataNames: N, dataPathArr: Q }) {
|
|
4963
|
-
let se,
|
|
4963
|
+
let se, je;
|
|
4964
4964
|
if (L === "")
|
|
4965
4965
|
return l.default.rootData;
|
|
4966
4966
|
if (L[0] === "/") {
|
|
4967
4967
|
if (!xe.test(L))
|
|
4968
4968
|
throw new Error(`Invalid JSON-pointer: ${L}`);
|
|
4969
|
-
se = L,
|
|
4969
|
+
se = L, je = l.default.rootData;
|
|
4970
4970
|
} else {
|
|
4971
4971
|
const vt = Ae.exec(L);
|
|
4972
4972
|
if (!vt)
|
|
@@ -4974,20 +4974,20 @@ function Tg() {
|
|
|
4974
4974
|
const Ve = +vt[1];
|
|
4975
4975
|
if (se = vt[2], se === "#") {
|
|
4976
4976
|
if (Ve >= q)
|
|
4977
|
-
throw new Error(
|
|
4977
|
+
throw new Error(ke("property/index", Ve));
|
|
4978
4978
|
return Q[q - Ve];
|
|
4979
4979
|
}
|
|
4980
4980
|
if (Ve > q)
|
|
4981
|
-
throw new Error(
|
|
4982
|
-
if (
|
|
4983
|
-
return
|
|
4981
|
+
throw new Error(ke("data", Ve));
|
|
4982
|
+
if (je = N[q - Ve], !se)
|
|
4983
|
+
return je;
|
|
4984
4984
|
}
|
|
4985
|
-
let he =
|
|
4985
|
+
let he = je;
|
|
4986
4986
|
const ne = se.split("/");
|
|
4987
4987
|
for (const vt of ne)
|
|
4988
|
-
vt && (
|
|
4988
|
+
vt && (je = (0, a._)`${je}${(0, a.getProperty)((0, d.unescapeJsonPointer)(vt))}`, he = (0, a._)`${he} && ${je}`);
|
|
4989
4989
|
return he;
|
|
4990
|
-
function
|
|
4990
|
+
function ke(vt, Ve) {
|
|
4991
4991
|
return `Cannot access ${vt} ${Ve} levels up, current level is ${q}`;
|
|
4992
4992
|
}
|
|
4993
4993
|
}
|
|
@@ -5723,12 +5723,12 @@ function r9() {
|
|
|
5723
5723
|
} = G(_, O);
|
|
5724
5724
|
if (R || L || F || q || ee || N || xe || Q || Ae || se)
|
|
5725
5725
|
throw new Error(S.error || Be.error || "URI is malformed.");
|
|
5726
|
-
const
|
|
5727
|
-
J(
|
|
5726
|
+
const je = w(S, Be, O, !0), he = p(I && I.scheme || je.scheme), ne = je.host, ke = ne !== void 0 && ne !== "" && (d(ne) || t(ne).isIPV6);
|
|
5727
|
+
J(je, I || {}, he, ke);
|
|
5728
5728
|
const vt = ne && ne.indexOf("%") !== -1 && !new RegExp("\\P{ASCII}", "u").test(ne);
|
|
5729
|
-
if (
|
|
5730
|
-
throw new Error(
|
|
5731
|
-
return O.skipEscape = !0, y(
|
|
5729
|
+
if (je.error && !vt)
|
|
5730
|
+
throw new Error(je.error);
|
|
5731
|
+
return O.skipEscape = !0, y(je, O);
|
|
5732
5732
|
}
|
|
5733
5733
|
function w(P, _, I, O) {
|
|
5734
5734
|
const S = {};
|
|
@@ -5822,27 +5822,24 @@ function r9() {
|
|
|
5822
5822
|
const N = P.match(j);
|
|
5823
5823
|
if (N) {
|
|
5824
5824
|
if (O.scheme = N[1], O.userinfo = N[3], O.host = N[4], O.port = parseInt(N[5], 10), O.path = N[6] || "", O.query = N[7], O.fragment = N[8], O.scheme !== void 0) {
|
|
5825
|
-
const
|
|
5826
|
-
m.test(
|
|
5825
|
+
const je = unescape(O.scheme);
|
|
5826
|
+
m.test(je) ? O.scheme = je.toLowerCase() : (O.error = O.error || v, Ae = !0);
|
|
5827
5827
|
}
|
|
5828
5828
|
R = V(N), R && (O.error = O.error || "URI contains malformed percent-encoding."), isNaN(O.port) && (O.port = N[5]);
|
|
5829
5829
|
const Q = M(O, N);
|
|
5830
5830
|
if (Q !== void 0 && (O.error = O.error || Q, S = !0), O.host)
|
|
5831
5831
|
if (d(O.host) === !1) {
|
|
5832
|
-
const he = H(O.host), ne = O.host.indexOf("[") !== -1 || O.host.indexOf("]") !== -1,
|
|
5833
|
-
Be =
|
|
5832
|
+
const he = H(O.host), ne = O.host.indexOf("[") !== -1 || O.host.indexOf("]") !== -1, ke = t(O.host);
|
|
5833
|
+
Be = ke.isIPV6 || ke.isIPVFuture === !0, xe = ne && (!he || ke.error === !0), O.host = Be ? ke.host : ke.host.toLowerCase(), xe && (O.error = O.error || "URI host is malformed.", S = !0);
|
|
5834
5834
|
} else
|
|
5835
5835
|
Be = !0;
|
|
5836
5836
|
O.scheme === void 0 && O.userinfo === void 0 && O.host === void 0 && O.port === void 0 && O.query === void 0 && !O.path ? O.reference = "same-document" : O.scheme === void 0 ? O.reference = "relative" : O.fragment === void 0 ? O.reference = "absolute" : O.reference = "uri", I.reference && I.reference !== "suffix" && I.reference !== O.reference && (O.error = O.error || "URI is not a " + I.reference + " reference.");
|
|
5837
5837
|
const se = p(I.scheme || O.scheme);
|
|
5838
|
-
if (xe || (ee = J(O, I, se, Be)),
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
O.host = u(ke, Be);
|
|
5842
|
-
}
|
|
5843
|
-
O.path && (O.path = i(O.path)), O.query && (O.query = s(O.query)), O.fragment && (O.fragment = s(O.fragment));
|
|
5838
|
+
if (xe || (ee = J(O, I, se, Be)), P.indexOf("%") !== -1 && O.host !== void 0 && !xe) {
|
|
5839
|
+
let je = Be ? O.host : r(O.host, !0);
|
|
5840
|
+
Be || (je = r(je.toLowerCase())), O.host = u(je, Be);
|
|
5844
5841
|
}
|
|
5845
|
-
se && se.parse && (se.parse(O, I), se === h.urn && O.nid === void 0 && (F = !0));
|
|
5842
|
+
(!se || se && !se.skipNormalize) && (O.path && (O.path = i(O.path)), O.query && (O.query = s(O.query)), O.fragment && (O.fragment = s(O.fragment))), se && se.parse && (se.parse(O, I), se === h.urn && O.nid === void 0 && (F = !0));
|
|
5846
5843
|
} else
|
|
5847
5844
|
O.error = O.error || "URI can not be parsed.";
|
|
5848
5845
|
return { parsed: O, malformedAuthorityOrPort: S, malformedPercentEncoding: R, malformedSchemeSpecific: F, malformedHost: ee, malformedScheme: Ae };
|
|
@@ -5954,7 +5951,7 @@ function o9() {
|
|
|
5954
5951
|
unicode: '"minLength"/"maxLength" account for unicode characters by default.'
|
|
5955
5952
|
}, x = 200;
|
|
5956
5953
|
function w(P) {
|
|
5957
|
-
var _, I, O, S, R, F, ee, xe, Ae, Be, L, q, N, Q, se,
|
|
5954
|
+
var _, I, O, S, R, F, ee, xe, Ae, Be, L, q, N, Q, se, je, he, ne, ke, vt, Ve, ut, st, Fe, mt;
|
|
5958
5955
|
const D = P.strict, K = (_ = P.code) === null || _ === void 0 ? void 0 : _.optimize, Y = K === !0 || K === void 0 ? 1 : K || 0, ce = (O = (I = P.code) === null || I === void 0 ? void 0 : I.regExp) !== null && O !== void 0 ? O : p, be = (S = P.uriResolver) !== null && S !== void 0 ? S : h.default;
|
|
5959
5956
|
return {
|
|
5960
5957
|
strictSchema: (F = (R = P.strictSchema) !== null && R !== void 0 ? R : D) !== null && F !== void 0 ? F : !0,
|
|
@@ -5964,10 +5961,10 @@ function o9() {
|
|
|
5964
5961
|
strictRequired: (Q = (N = P.strictRequired) !== null && N !== void 0 ? N : D) !== null && Q !== void 0 ? Q : !1,
|
|
5965
5962
|
code: P.code ? { ...P.code, optimize: Y, regExp: ce } : { optimize: Y, regExp: ce },
|
|
5966
5963
|
loopRequired: (se = P.loopRequired) !== null && se !== void 0 ? se : x,
|
|
5967
|
-
loopEnum: (
|
|
5964
|
+
loopEnum: (je = P.loopEnum) !== null && je !== void 0 ? je : x,
|
|
5968
5965
|
meta: (he = P.meta) !== null && he !== void 0 ? he : !0,
|
|
5969
5966
|
messages: (ne = P.messages) !== null && ne !== void 0 ? ne : !0,
|
|
5970
|
-
inlineRefs: (
|
|
5967
|
+
inlineRefs: (ke = P.inlineRefs) !== null && ke !== void 0 ? ke : !0,
|
|
5971
5968
|
schemaId: (vt = P.schemaId) !== null && vt !== void 0 ? vt : "$id",
|
|
5972
5969
|
addUsedSchema: (Ve = P.addUsedSchema) !== null && Ve !== void 0 ? Ve : !0,
|
|
5973
5970
|
validateSchema: (ut = P.validateSchema) !== null && ut !== void 0 ? ut : !0,
|
|
@@ -7746,7 +7743,7 @@ function Y9() {
|
|
|
7746
7743
|
function se(D) {
|
|
7747
7744
|
return D >= "a" && D <= "z" || D >= "A" && D <= "Z" || D === "_";
|
|
7748
7745
|
}
|
|
7749
|
-
function
|
|
7746
|
+
function je(D) {
|
|
7750
7747
|
return D >= "0" && D <= "9" || D === "-";
|
|
7751
7748
|
}
|
|
7752
7749
|
function he(D) {
|
|
@@ -7771,7 +7768,7 @@ function Y9() {
|
|
|
7771
7768
|
value: D[this._current],
|
|
7772
7769
|
start: this._current
|
|
7773
7770
|
}), this._current++;
|
|
7774
|
-
else if (
|
|
7771
|
+
else if (je(D[this._current]))
|
|
7775
7772
|
be = this._consumeNumber(D), K.push(be);
|
|
7776
7773
|
else if (D[this._current] === "[")
|
|
7777
7774
|
be = this._consumeLBracket(D), K.push(be);
|
|
@@ -7838,7 +7835,7 @@ function Y9() {
|
|
|
7838
7835
|
_consumeNumber: function(D) {
|
|
7839
7836
|
var K = this._current;
|
|
7840
7837
|
this._current++;
|
|
7841
|
-
for (var Y = D.length;
|
|
7838
|
+
for (var Y = D.length; je(D[this._current]) && this._current < Y; )
|
|
7842
7839
|
this._current++;
|
|
7843
7840
|
var ce = parseInt(D.slice(K, this._current));
|
|
7844
7841
|
return { type: H, value: ce, start: K };
|
|
@@ -7885,8 +7882,8 @@ function Y9() {
|
|
|
7885
7882
|
return !1;
|
|
7886
7883
|
}
|
|
7887
7884
|
};
|
|
7888
|
-
var
|
|
7889
|
-
|
|
7885
|
+
var ke = {};
|
|
7886
|
+
ke[w] = 0, ke[k] = 0, ke[y] = 0, ke[j] = 0, ke[C] = 0, ke[$] = 0, ke[B] = 0, ke[H] = 0, ke[V] = 0, ke[J] = 0, ke[G] = 1, ke[de] = 2, ke[Ce] = 3, ke[pe] = 5, ke[ae] = 5, ke[te] = 5, ke[P] = 5, ke[_] = 5, ke[I] = 5, ke[O] = 9, ke[S] = 20, ke[R] = 21, ke[F] = 40, ke[ee] = 45, ke[xe] = 50, ke[Ae] = 55, ke[Be] = 60;
|
|
7890
7887
|
function vt() {
|
|
7891
7888
|
}
|
|
7892
7889
|
vt.prototype = {
|
|
@@ -7908,7 +7905,7 @@ function Y9() {
|
|
|
7908
7905
|
expression: function(D) {
|
|
7909
7906
|
var K = this._lookaheadToken(0);
|
|
7910
7907
|
this._advance();
|
|
7911
|
-
for (var Y = this.nud(K), ce = this._lookahead(0); D <
|
|
7908
|
+
for (var Y = this.nud(K), ce = this._lookahead(0); D < ke[ce]; )
|
|
7912
7909
|
this._advance(), Y = this.led(ce, Y), ce = this._lookahead(0);
|
|
7913
7910
|
return Y;
|
|
7914
7911
|
},
|
|
@@ -7934,24 +7931,24 @@ function Y9() {
|
|
|
7934
7931
|
throw new Error("Quoted identifier not allowed for function names.");
|
|
7935
7932
|
return be;
|
|
7936
7933
|
case ee:
|
|
7937
|
-
return Y = this.expression(
|
|
7934
|
+
return Y = this.expression(ke.Not), { type: "NotExpression", children: [Y] };
|
|
7938
7935
|
case S:
|
|
7939
|
-
return K = { type: "Identity" }, Y = null, this._lookahead(0) === j ? Y = { type: "Identity" } : Y = this._parseProjectionRHS(
|
|
7936
|
+
return K = { type: "Identity" }, Y = null, this._lookahead(0) === j ? Y = { type: "Identity" } : Y = this._parseProjectionRHS(ke.Star), { type: "ValueProjection", children: [K, Y] };
|
|
7940
7937
|
case R:
|
|
7941
7938
|
return this.led(D.type, { type: "Identity" });
|
|
7942
7939
|
case xe:
|
|
7943
7940
|
return this._parseMultiselectHash();
|
|
7944
7941
|
case O:
|
|
7945
|
-
return K = { type: O, children: [{ type: "Identity" }] }, Y = this._parseProjectionRHS(
|
|
7942
|
+
return K = { type: O, children: [{ type: "Identity" }] }, Y = this._parseProjectionRHS(ke.Flatten), { type: "Projection", children: [K, Y] };
|
|
7946
7943
|
case Ae:
|
|
7947
|
-
return this._lookahead(0) === H || this._lookahead(0) === M ? (Y = this._parseIndexExpression(), this._projectIfSlice({ type: "Identity" }, Y)) : this._lookahead(0) === S && this._lookahead(1) === j ? (this._advance(), this._advance(), Y = this._parseProjectionRHS(
|
|
7944
|
+
return this._lookahead(0) === H || this._lookahead(0) === M ? (Y = this._parseIndexExpression(), this._projectIfSlice({ type: "Identity" }, Y)) : this._lookahead(0) === S && this._lookahead(1) === j ? (this._advance(), this._advance(), Y = this._parseProjectionRHS(ke.Star), {
|
|
7948
7945
|
type: "Projection",
|
|
7949
7946
|
children: [{ type: "Identity" }, Y]
|
|
7950
7947
|
}) : this._parseMultiselectList();
|
|
7951
7948
|
case V:
|
|
7952
7949
|
return { type: V };
|
|
7953
7950
|
case J:
|
|
7954
|
-
return ce = this.expression(
|
|
7951
|
+
return ce = this.expression(ke.Expref), { type: "ExpressionReference", children: [ce] };
|
|
7955
7952
|
case Be:
|
|
7956
7953
|
for (var me = []; this._lookahead(0) !== C; )
|
|
7957
7954
|
this._lookahead(0) === V ? (ce = { type: V }, this._advance()) : ce = this.expression(0), me.push(ce);
|
|
@@ -7964,23 +7961,23 @@ function Y9() {
|
|
|
7964
7961
|
var Y;
|
|
7965
7962
|
switch (D) {
|
|
7966
7963
|
case F:
|
|
7967
|
-
var ce =
|
|
7964
|
+
var ce = ke.Dot;
|
|
7968
7965
|
return this._lookahead(0) !== S ? (Y = this._parseDotRHS(ce), { type: "Subexpression", children: [K, Y] }) : (this._advance(), Y = this._parseProjectionRHS(ce), { type: "ValueProjection", children: [K, Y] });
|
|
7969
7966
|
case G:
|
|
7970
|
-
return Y = this.expression(
|
|
7967
|
+
return Y = this.expression(ke.Pipe), { type: G, children: [K, Y] };
|
|
7971
7968
|
case de:
|
|
7972
|
-
return Y = this.expression(
|
|
7969
|
+
return Y = this.expression(ke.Or), { type: "OrExpression", children: [K, Y] };
|
|
7973
7970
|
case Ce:
|
|
7974
|
-
return Y = this.expression(
|
|
7971
|
+
return Y = this.expression(ke.And), { type: "AndExpression", children: [K, Y] };
|
|
7975
7972
|
case Be:
|
|
7976
7973
|
for (var be = K.name, me = [], Ne, Le; this._lookahead(0) !== C; )
|
|
7977
7974
|
this._lookahead(0) === V ? (Ne = { type: V }, this._advance()) : Ne = this.expression(0), this._lookahead(0) === $ && this._match($), me.push(Ne);
|
|
7978
7975
|
return this._match(C), Le = { type: "Function", name: be, children: me }, Le;
|
|
7979
7976
|
case R:
|
|
7980
7977
|
var Xe = this.expression(0);
|
|
7981
|
-
return this._match(j), this._lookahead(0) === O ? Y = { type: "Identity" } : Y = this._parseProjectionRHS(
|
|
7978
|
+
return this._match(j), this._lookahead(0) === O ? Y = { type: "Identity" } : Y = this._parseProjectionRHS(ke.Filter), { type: "FilterProjection", children: [K, Y, Xe] };
|
|
7982
7979
|
case O:
|
|
7983
|
-
var Qe = { type: O, children: [K] }, we = this._parseProjectionRHS(
|
|
7980
|
+
var Qe = { type: O, children: [K] }, we = this._parseProjectionRHS(ke.Flatten);
|
|
7984
7981
|
return { type: "Projection", children: [Qe, we] };
|
|
7985
7982
|
case pe:
|
|
7986
7983
|
case I:
|
|
@@ -7991,7 +7988,7 @@ function Y9() {
|
|
|
7991
7988
|
return this._parseComparator(K, D);
|
|
7992
7989
|
case Ae:
|
|
7993
7990
|
var Ke = this._lookaheadToken(0);
|
|
7994
|
-
return Ke.type === H || Ke.type === M ? (Y = this._parseIndexExpression(), this._projectIfSlice(K, Y)) : (this._match(S), this._match(j), Y = this._parseProjectionRHS(
|
|
7991
|
+
return Ke.type === H || Ke.type === M ? (Y = this._parseIndexExpression(), this._projectIfSlice(K, Y)) : (this._match(S), this._match(j), Y = this._parseProjectionRHS(ke.Star), { type: "Projection", children: [K, Y] });
|
|
7995
7992
|
default:
|
|
7996
7993
|
this._errorToken(this._lookaheadToken(0));
|
|
7997
7994
|
}
|
|
@@ -8021,7 +8018,7 @@ function Y9() {
|
|
|
8021
8018
|
var Y = { type: "IndexExpression", children: [D, K] };
|
|
8022
8019
|
return K.type === "Slice" ? {
|
|
8023
8020
|
type: "Projection",
|
|
8024
|
-
children: [Y, this._parseProjectionRHS(
|
|
8021
|
+
children: [Y, this._parseProjectionRHS(ke.Star)]
|
|
8025
8022
|
} : Y;
|
|
8026
8023
|
},
|
|
8027
8024
|
_parseSliceExpression: function() {
|
|
@@ -8042,7 +8039,7 @@ function Y9() {
|
|
|
8042
8039
|
};
|
|
8043
8040
|
},
|
|
8044
8041
|
_parseComparator: function(D, K) {
|
|
8045
|
-
var Y = this.expression(
|
|
8042
|
+
var Y = this.expression(ke[K]);
|
|
8046
8043
|
return { type: "Comparator", name: K, children: [D, Y] };
|
|
8047
8044
|
},
|
|
8048
8045
|
_parseDotRHS: function(D) {
|
|
@@ -8056,7 +8053,7 @@ function Y9() {
|
|
|
8056
8053
|
},
|
|
8057
8054
|
_parseProjectionRHS: function(D) {
|
|
8058
8055
|
var K;
|
|
8059
|
-
if (
|
|
8056
|
+
if (ke[this._lookahead(0)] < 10)
|
|
8060
8057
|
K = { type: "Identity" };
|
|
8061
8058
|
else if (this._lookahead(0) === Ae)
|
|
8062
8059
|
K = this.expression(D);
|
|
@@ -29550,17 +29547,17 @@ function Dr(t, e, n, r, i) {
|
|
|
29550
29547
|
}
|
|
29551
29548
|
}
|
|
29552
29549
|
(function(N, Q, se) {
|
|
29553
|
-
for (var
|
|
29550
|
+
for (var je, he = Q.length, ne = Q.length, ke = function() {
|
|
29554
29551
|
var mt = Q[vt];
|
|
29555
29552
|
zu(mt, () => {
|
|
29556
|
-
if (
|
|
29557
|
-
if (
|
|
29553
|
+
if (je) {
|
|
29554
|
+
if (je.pending.delete(mt), je.done.add(mt), je.pending.size === 0) {
|
|
29558
29555
|
var D = N.outrogroups;
|
|
29559
|
-
p0(N, em(
|
|
29556
|
+
p0(N, em(je.done)), D.delete(je), D.size === 0 && (N.outrogroups = null);
|
|
29560
29557
|
}
|
|
29561
29558
|
} else ne -= 1;
|
|
29562
29559
|
}, !1);
|
|
29563
|
-
}, vt = 0; vt < he; vt++)
|
|
29560
|
+
}, vt = 0; vt < he; vt++) ke();
|
|
29564
29561
|
if (ne === 0) {
|
|
29565
29562
|
var Ve = se !== null;
|
|
29566
29563
|
if (Ve) {
|
|
@@ -29570,7 +29567,7 @@ function Dr(t, e, n, r, i) {
|
|
|
29570
29567
|
p0(N, Q, !Ve);
|
|
29571
29568
|
} else {
|
|
29572
29569
|
var Fe;
|
|
29573
|
-
|
|
29570
|
+
je = { pending: new Set(Q), done: /* @__PURE__ */ new Set() }, ((Fe = N.outrogroups) !== null && Fe !== void 0 ? Fe : N.outrogroups = /* @__PURE__ */ new Set()).add(je);
|
|
29574
29571
|
}
|
|
29575
29572
|
})(b, xe, Be);
|
|
29576
29573
|
}
|
|
@@ -33256,7 +33253,7 @@ function Yl(t, e) {
|
|
|
33256
33253
|
var r, i = X(), o = X(), s = X(), a = X(), l = X(), u = X(), d = X(), f = X(), h = X(), p = HB(), m = A(e, "justValue", 12, null), v = A(e, "filter", 8, PF), g = A(e, "getItems", 8, RF), b = A(e, "id", 8, null), x = A(e, "name", 8, null), w = A(e, "container", 12, void 0), k = A(e, "input", 12, void 0), y = A(e, "multiple", 8, !1), j = A(e, "multiFullItemClearable", 8, !1), C = A(e, "disabled", 8, !1), $ = A(e, "focused", 12, !1), M = A(e, "value", 12, null), B = A(e, "filterText", 12, ""), H = A(e, "placeholder", 8, "Please select"), V = A(e, "placeholderAlwaysShow", 8, !1), J = A(e, "items", 12, null), G = A(e, "label", 8, "label"), de = A(e, "itemFilter", 8, (z, oe, ve) => "".concat(z).toLowerCase().includes(oe.toLowerCase())), Ce = A(e, "groupBy", 8, void 0), pe = A(e, "groupFilter", 8, (z) => z), ae = A(e, "groupHeaderSelectable", 8, !1), te = A(e, "itemId", 8, "value"), P = A(e, "loadOptions", 8, void 0), _ = A(e, "containerStyles", 8, ""), I = A(e, "hasError", 8, !1), O = A(e, "filterSelectedItems", 8, !0), S = A(e, "required", 8, !1), R = A(e, "closeListOnChange", 8, !0), F = A(e, "clearFilterTextOnBlur", 8, !0), ee = A(e, "createGroupHeaderItem", 8, (z, oe) => ({ value: z, [G()]: z })), xe = () => c(d), Ae = A(e, "searchable", 8, !0), Be = A(e, "inputStyles", 8, ""), L = A(e, "clearable", 8, !0), q = A(e, "loading", 12, !1), N = A(e, "listOpen", 12, !1), Q = A(e, "debounce", 8, function(z) {
|
|
33257
33254
|
var oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
33258
33255
|
clearTimeout(r), r = setTimeout(z, oe);
|
|
33259
|
-
}), se = A(e, "debounceWait", 8, 300),
|
|
33256
|
+
}), se = A(e, "debounceWait", 8, 300), je = A(e, "hideEmptyState", 8, !1), he = A(e, "inputAttributes", 24, () => ({})), ne = A(e, "listAutoWidth", 8, !0), ke = A(e, "showChevron", 8, !1), vt = A(e, "listOffset", 8, 5), Ve = A(e, "hoverItemIndex", 12, 0), ut = A(e, "floatingConfig", 24, () => ({})), st = A(e, "class", 8, ""), Fe = X(), mt = X(), D = X(), K = X(), Y = X();
|
|
33260
33257
|
function ce(z) {
|
|
33261
33258
|
return z.map((oe, ve) => ({ index: ve, value: oe, label: "".concat(oe) }));
|
|
33262
33259
|
}
|
|
@@ -33558,7 +33555,7 @@ function Yl(t, e) {
|
|
|
33558
33555
|
}), re(kt, nn);
|
|
33559
33556
|
};
|
|
33560
33557
|
Ee(Ze, (kt) => {
|
|
33561
|
-
ie(() => n.list) ? kt(at) : (c(d), ie(() => c(d).length > 0) ? kt(Nt, 1) :
|
|
33558
|
+
ie(() => n.list) ? kt(at) : (c(d), ie(() => c(d).length > 0) ? kt(Nt, 1) : je() || kt(Vt, 2));
|
|
33562
33559
|
});
|
|
33563
33560
|
var yt = le(Ze, 2), Vn = (kt) => {
|
|
33564
33561
|
var nn = _r();
|
|
@@ -33658,7 +33655,7 @@ function Yl(t, e) {
|
|
|
33658
33655
|
}), re(z, oe);
|
|
33659
33656
|
};
|
|
33660
33657
|
Ee(Cn, (z) => {
|
|
33661
|
-
|
|
33658
|
+
ke() && z(Ht);
|
|
33662
33659
|
});
|
|
33663
33660
|
var Yt = le(ti, 2);
|
|
33664
33661
|
$r(Yt, e, "input-hidden", { get value() {
|
|
@@ -33681,7 +33678,7 @@ function Yl(t, e) {
|
|
|
33681
33678
|
T(S()), T(M()), ie(() => S() && (!M() || M().length === 0)) && z(sn);
|
|
33682
33679
|
}), Mi(() => De("pointerup", or, Fa(Nn))), mr(or, (z) => w(z), () => w()), Vi(or, (z) => er?.(z)), We(() => {
|
|
33683
33680
|
var z;
|
|
33684
|
-
Yn = Ft(or, 1, "svelte-select ".concat((z = st()) !== null && z !== void 0 ? z : ""), "svelte-1ul7oo4", Yn, { multi: y(), disabled: C(), focused: $(), "list-open": N(), "show-chevron":
|
|
33681
|
+
Yn = Ft(or, 1, "svelte-select ".concat((z = st()) !== null && z !== void 0 ? z : ""), "svelte-1ul7oo4", Yn, { multi: y(), disabled: C(), focused: $(), "list-open": N(), "show-chevron": ke(), error: I() }), Go(or, _());
|
|
33685
33682
|
}), De("keydown", br, we), De("blur", br, Me), De("focus", br, Ke), eg(br, B), re(t, or), $t(e, "getFilteredItems", xe), $t(e, "handleClear", ir), Ct(zr);
|
|
33686
33683
|
}
|
|
33687
33684
|
zt(`/* over all fonts, sizes, and colors */
|
|
@@ -35512,7 +35509,7 @@ function T1(t, e) {
|
|
|
35512
35509
|
if (!d().readOnly && u()) {
|
|
35513
35510
|
var N = hn(ht(u()));
|
|
35514
35511
|
if (en(c(g), N)) {
|
|
35515
|
-
var Q = (function(
|
|
35512
|
+
var Q = (function(ke, vt) {
|
|
35516
35513
|
var Ve = [];
|
|
35517
35514
|
function ut(me) {
|
|
35518
35515
|
var Ne = c(g).concat(me), Le = d().findElement(Ne);
|
|
@@ -35521,7 +35518,7 @@ function T1(t, e) {
|
|
|
35521
35518
|
if (Array.isArray(o())) {
|
|
35522
35519
|
var st = d().getJson();
|
|
35523
35520
|
if (st === void 0) return;
|
|
35524
|
-
var Fe = pa(st,
|
|
35521
|
+
var Fe = pa(st, ke), mt = dl(st, ke), D = parseInt(rn(Fe), 10), K = parseInt(rn(mt), 10), Y = vt.find((me) => D >= me.start && K <= me.end);
|
|
35525
35522
|
if (!Y) return;
|
|
35526
35523
|
var ce = Y.start, be = Y.end;
|
|
35527
35524
|
yA(ce, Math.min(o().length, be), (me) => ut(String(me)));
|
|
@@ -35531,7 +35528,7 @@ function T1(t, e) {
|
|
|
35531
35528
|
if (h("dragSelectionStart", { selection: u(), items: Q }), Q) {
|
|
35532
35529
|
var se = d().getJson();
|
|
35533
35530
|
if (se !== void 0) {
|
|
35534
|
-
var
|
|
35531
|
+
var je = pa(se, u()), he = Q.findIndex((ke) => en(ke.path, je)), ne = $0({ json: se, selection: d().getSelection(), deltaY: 0, items: Q }).offset;
|
|
35535
35532
|
E(v, { initialTarget: q.target, initialClientY: q.clientY, initialContentTop: H(), selectionStartIndex: he, selectionItemsCount: Cl(se, u()).length, items: Q, offset: ne, didMoveItems: !1 }), hr(hr().dragging = !0), document.addEventListener("mousemove", G, !0), document.addEventListener("mouseup", de);
|
|
35536
35533
|
}
|
|
35537
35534
|
} else h("Cannot drag the current selection (probably spread over multiple sections)");
|
|
@@ -35550,11 +35547,11 @@ function T1(t, e) {
|
|
|
35550
35547
|
if (c(v)) {
|
|
35551
35548
|
var N = d().getJson();
|
|
35552
35549
|
if (N === void 0) return;
|
|
35553
|
-
var Q = V(c(v), q), se = $0({ json: N, selection: d().getSelection(), deltaY: Q, items: c(v).items }),
|
|
35554
|
-
if (
|
|
35550
|
+
var Q = V(c(v), q), se = $0({ json: N, selection: d().getSelection(), deltaY: Q, items: c(v).items }), je = se.operations, he = se.updatedSelection;
|
|
35551
|
+
if (je) d().onPatch(je, (vt, Ve) => ({ state: Ve, selection: he ?? u() }));
|
|
35555
35552
|
else if (q.target === c(v).initialTarget && !c(v).didMoveItems) {
|
|
35556
|
-
var ne = j0(q.target),
|
|
35557
|
-
|
|
35553
|
+
var ne = j0(q.target), ke = _A(q.target);
|
|
35554
|
+
ke && d().onSelect(yS(ne, ke));
|
|
35558
35555
|
}
|
|
35559
35556
|
E(v, void 0), hr(hr().dragging = !1), document.removeEventListener("mousemove", G, !0), document.removeEventListener("mouseup", de);
|
|
35560
35557
|
}
|
|
@@ -35590,19 +35587,19 @@ function T1(t, e) {
|
|
|
35590
35587
|
E(r, c(g).length === 0);
|
|
35591
35588
|
}), Ln(), Ut(!0);
|
|
35592
35589
|
var P, _, I = HU(), O = Z(I), S = (q) => {
|
|
35593
|
-
var N = LU(), Q = Mt(N), se = Z(Q),
|
|
35590
|
+
var N = LU(), Q = Mt(N), se = Z(Q), je = Z(se), he = Z(je), ne = (Me) => {
|
|
35594
35591
|
pn(Me, { get data() {
|
|
35595
35592
|
return Ca;
|
|
35596
35593
|
} });
|
|
35597
|
-
},
|
|
35594
|
+
}, ke = (Me) => {
|
|
35598
35595
|
pn(Me, { get data() {
|
|
35599
35596
|
return tf;
|
|
35600
35597
|
} });
|
|
35601
35598
|
};
|
|
35602
35599
|
Ee(he, (Me) => {
|
|
35603
|
-
c(b) ? Me(ne) : Me(
|
|
35600
|
+
c(b) ? Me(ne) : Me(ke, -1);
|
|
35604
35601
|
});
|
|
35605
|
-
var vt = le(
|
|
35602
|
+
var vt = le(je, 2);
|
|
35606
35603
|
$r(vt, e, "identifier", {}, null);
|
|
35607
35604
|
var Ve = le(vt, 2), ut = (Me) => {
|
|
35608
35605
|
re(Me, I0());
|
|
@@ -35730,21 +35727,21 @@ function T1(t, e) {
|
|
|
35730
35727
|
};
|
|
35731
35728
|
Ee(we, (Me) => {
|
|
35732
35729
|
c(b) && Me(Ke);
|
|
35733
|
-
}), De("click",
|
|
35730
|
+
}), De("click", je, j), re(q, N);
|
|
35734
35731
|
}, R = Xt(() => (T(o()), ie(() => Array.isArray(o())))), F = (q) => {
|
|
35735
|
-
var N = UU(), Q = Mt(N), se = Z(Q),
|
|
35732
|
+
var N = UU(), Q = Mt(N), se = Z(Q), je = Z(se), he = Z(je), ne = (Me) => {
|
|
35736
35733
|
pn(Me, { get data() {
|
|
35737
35734
|
return Ca;
|
|
35738
35735
|
} });
|
|
35739
|
-
},
|
|
35736
|
+
}, ke = (Me) => {
|
|
35740
35737
|
pn(Me, { get data() {
|
|
35741
35738
|
return tf;
|
|
35742
35739
|
} });
|
|
35743
35740
|
};
|
|
35744
35741
|
Ee(he, (Me) => {
|
|
35745
|
-
c(b) ? Me(ne) : Me(
|
|
35742
|
+
c(b) ? Me(ne) : Me(ke, -1);
|
|
35746
35743
|
});
|
|
35747
|
-
var vt = le(
|
|
35744
|
+
var vt = le(je, 2);
|
|
35748
35745
|
$r(vt, e, "identifier", {}, null);
|
|
35749
35746
|
var Ve = le(vt, 2), ut = (Me) => {
|
|
35750
35747
|
re(Me, I0());
|
|
@@ -35905,18 +35902,18 @@ function T1(t, e) {
|
|
|
35905
35902
|
};
|
|
35906
35903
|
Ee(we, (Me) => {
|
|
35907
35904
|
c(b) && Me(Ke);
|
|
35908
|
-
}), De("click",
|
|
35905
|
+
}), De("click", je, j), re(q, N);
|
|
35909
35906
|
}, ee = Xt(() => (T(Rn), T(o()), ie(() => Rn(o())))), xe = (q) => {
|
|
35910
35907
|
var N = VU(), Q = Z(N), se = Z(Q);
|
|
35911
35908
|
$r(se, e, "identifier", {}, null);
|
|
35912
|
-
var
|
|
35909
|
+
var je = le(se, 2), he = (ce) => {
|
|
35913
35910
|
re(ce, I0());
|
|
35914
35911
|
};
|
|
35915
|
-
Ee(
|
|
35912
|
+
Ee(je, (ce) => {
|
|
35916
35913
|
c(r) || ce(he);
|
|
35917
35914
|
});
|
|
35918
|
-
var ne = le(
|
|
35919
|
-
cM(
|
|
35915
|
+
var ne = le(je, 2), ke = Z(ne), vt = ot(() => c(y) ? u() : void 0), Ve = ot(() => (T(ES), T(l()), ie(() => ES(l()))));
|
|
35916
|
+
cM(ke, { get path() {
|
|
35920
35917
|
return c(g);
|
|
35921
35918
|
}, get value() {
|
|
35922
35919
|
return o();
|
|
@@ -35960,9 +35957,9 @@ function T1(t, e) {
|
|
|
35960
35957
|
c(R) ? q(S) : c(ee) ? q(F, 1) : q(xe, -1);
|
|
35961
35958
|
});
|
|
35962
35959
|
var Ae = le(O, 2), Be = (q) => {
|
|
35963
|
-
var N, Q = WU(), se = Z(Q),
|
|
35960
|
+
var N, Q = WU(), se = Z(Q), je = ot(() => (c(y), T(co), T(u()), ie(() => c(y) && co(u()))));
|
|
35964
35961
|
Ua(se, { insert: !0, get selected() {
|
|
35965
|
-
return c(
|
|
35962
|
+
return c(je);
|
|
35966
35963
|
}, onContextMenu: te }), We((he) => {
|
|
35967
35964
|
N = Ft(Q, 1, "jse-insert-area jse-after svelte-1qi6rc1", null, N, he), kn(Q, "title", S0);
|
|
35968
35965
|
}, [() => ({ "jse-hovered": c(p) === Ep, "jse-selected": c(y) && co(u()) })]), re(q, Q);
|
|
@@ -35975,12 +35972,12 @@ function T1(t, e) {
|
|
|
35975
35972
|
if ((q.buttons === 1 || q.buttons === 2) && !((N = q.target).nodeName === "DIV" && N.contentEditable === "true" || q.buttons === 1 && MA(q.target, "BUTTON"))) {
|
|
35976
35973
|
var N;
|
|
35977
35974
|
q.stopPropagation(), q.preventDefault(), d().focus(), document.addEventListener("mousemove", M, !0), document.addEventListener("mouseup", B);
|
|
35978
|
-
var Q = j0(q.target), se = d().getJson(),
|
|
35975
|
+
var Q = j0(q.target), se = d().getJson(), je = d().getDocumentState();
|
|
35979
35976
|
if (!u() || Q === Gn.after || Q === Gn.inside || u().type !== Q && u().type !== Gn.multi || !Cf(se, u(), c(g))) if (hr(hr().selecting = !0), hr(hr().selectionAnchor = c(g)), hr(hr().selectionAnchorType = Q), hr(hr().selectionFocus = c(g)), q.shiftKey) {
|
|
35980
35977
|
var he = d().getSelection();
|
|
35981
35978
|
he && d().onSelect(qi(fc(he), c(g)));
|
|
35982
35979
|
} else if (Q === Gn.multi) if (c(r) && q.target.hasAttribute("data-path")) {
|
|
35983
|
-
var ne = rn(DA(o(),
|
|
35980
|
+
var ne = rn(DA(o(), je));
|
|
35984
35981
|
d().onSelect(j1(ne));
|
|
35985
35982
|
} else d().onSelect(qi(c(g), c(g)));
|
|
35986
35983
|
else se !== void 0 && d().onSelect(yS(Q, c(g)));
|
|
@@ -36680,8 +36677,8 @@ function hM(t, e) {
|
|
|
36680
36677
|
var Q = (N = c(y)) === null || N === void 0 ? void 0 : N.activeItem;
|
|
36681
36678
|
if (o("handleReplace", { replaceText: c(w), activeItem: Q }), c(y) && Q && s() !== void 0) {
|
|
36682
36679
|
E(y, Ue(Ue({}, wS(c(y))), {}, { activeIndex: c(r) }));
|
|
36683
|
-
var se = Zq(s(), a(), c(w), Q, l()),
|
|
36684
|
-
v()(
|
|
36680
|
+
var se = Zq(s(), a(), c(w), Q, l()), je = se.operations, he = se.newSelection;
|
|
36681
|
+
v()(je, (ne, ke) => ({ state: ke, selection: he })), cr(), yield C.flush(), yield I();
|
|
36685
36682
|
}
|
|
36686
36683
|
}
|
|
36687
36684
|
})).apply(this, arguments);
|
|
@@ -36693,8 +36690,8 @@ function hM(t, e) {
|
|
|
36693
36690
|
return (Ce = Rt(function* () {
|
|
36694
36691
|
if (!f()) {
|
|
36695
36692
|
o("handleReplaceAll", { text: c(b), replaceText: c(w) });
|
|
36696
|
-
var N = (function(
|
|
36697
|
-
for (var Ve = jS(ne,
|
|
36693
|
+
var N = (function(je, he, ne, ke, vt) {
|
|
36694
|
+
for (var Ve = jS(ne, je, { maxResults: 1 / 0 }), ut = [], st = 0; st < Ve.length; st++) {
|
|
36698
36695
|
var Fe = Ve[st - 1], mt = Ve[st];
|
|
36699
36696
|
st !== 0 && mt.field === Fe.field && en(mt.path, Fe.path) ? rn(ut).items.push(mt) : ut.push({ path: mt.path, field: mt.field, items: [mt] });
|
|
36700
36697
|
}
|
|
@@ -36703,18 +36700,18 @@ function hM(t, e) {
|
|
|
36703
36700
|
return ut.forEach((Y) => {
|
|
36704
36701
|
var ce = Y.field, be = Y.path, me = Y.items;
|
|
36705
36702
|
if (ce === ps.key) {
|
|
36706
|
-
var Ne = hn(be), Le = tt(
|
|
36707
|
-
K = K.concat(Qe), D = Vu(
|
|
36703
|
+
var Ne = hn(be), Le = tt(je, Ne), Xe = rn(be), Qe = Xf(Ne, Object.keys(Le), Xe, SS(Xe, ke, me));
|
|
36704
|
+
K = K.concat(Qe), D = Vu(je, Qe);
|
|
36708
36705
|
} else {
|
|
36709
36706
|
if (ce !== ps.value) throw new Error("Cannot replace: unknown type of search result field ".concat(ce));
|
|
36710
|
-
var we = tt(
|
|
36707
|
+
var we = tt(je, be);
|
|
36711
36708
|
if (we === void 0) throw new Error("Cannot replace: path not found ".concat(Et(be)));
|
|
36712
|
-
var Ke = typeof we == "string" ? we : String(we), Me = Bs(
|
|
36713
|
-
K = K.concat(Nn), D = Vu(
|
|
36709
|
+
var Ke = typeof we == "string" ? we : String(we), Me = Bs(je, he, be), Tt = SS(Ke, ke, me), Nn = [{ op: "replace", path: Et(be), value: Me ? Tt : id(Tt, vt) }];
|
|
36710
|
+
K = K.concat(Nn), D = Vu(je, Nn);
|
|
36714
36711
|
}
|
|
36715
36712
|
}), { operations: K, newSelection: D };
|
|
36716
36713
|
})(s(), a(), c(b), c(w), l()), Q = N.operations, se = N.newSelection;
|
|
36717
|
-
v()(Q, (
|
|
36714
|
+
v()(Q, (je, he) => ({ state: he, selection: se })), yield I();
|
|
36718
36715
|
}
|
|
36719
36716
|
})).apply(this, arguments);
|
|
36720
36717
|
}
|
|
@@ -36735,8 +36732,8 @@ function hM(t, e) {
|
|
|
36735
36732
|
function _() {
|
|
36736
36733
|
return _ = Rt(function* () {
|
|
36737
36734
|
E(y, c(y) ? (function(N) {
|
|
36738
|
-
var Q = N.activeIndex > 0 ? N.activeIndex - 1 : N.items.length - 1, se = N.items[Q],
|
|
36739
|
-
return Ue(Ue({}, N), {}, { items:
|
|
36735
|
+
var Q = N.activeIndex > 0 ? N.activeIndex - 1 : N.items.length - 1, se = N.items[Q], je = N.items.map((he, ne) => Ue(Ue({}, he), {}, { active: ne === Q }));
|
|
36736
|
+
return Ue(Ue({}, N), {}, { items: je, activeItem: se, activeIndex: Q });
|
|
36740
36737
|
})(c(y)) : void 0), yield I();
|
|
36741
36738
|
}), _.apply(this, arguments);
|
|
36742
36739
|
}
|
|
@@ -36771,13 +36768,13 @@ function hM(t, e) {
|
|
|
36771
36768
|
}
|
|
36772
36769
|
function xe() {
|
|
36773
36770
|
return xe = Rt(function* (N, Q, se) {
|
|
36774
|
-
return N ? (o("applySearch", { showSearch: N, text: Q }), Q === "" ? (o("clearing search result"), c(y) !== void 0 && E(y, void 0), Promise.resolve()) : (x = Q, E(k, !0), new Promise((
|
|
36771
|
+
return N ? (o("applySearch", { showSearch: N, text: Q }), Q === "" ? (o("clearing search result"), c(y) !== void 0 && E(y, void 0), Promise.resolve()) : (x = Q, E(k, !0), new Promise((je) => {
|
|
36775
36772
|
setTimeout(() => {
|
|
36776
36773
|
var he = jS(Q, se, { maxResults: k0, columns: h() });
|
|
36777
|
-
E(y, (function(ne,
|
|
36778
|
-
var vt =
|
|
36774
|
+
E(y, (function(ne, ke) {
|
|
36775
|
+
var vt = ke != null && ke.activeItem ? CS(ke.activeItem) : void 0, Ve = ne.findIndex((Fe) => en(vt, CS(Fe))), ut = Ve !== -1 ? Ve : ke?.activeIndex !== void 0 && ke?.activeIndex < ne.length ? ke?.activeIndex : ne.length > 0 ? 0 : -1, st = ne.map((Fe, mt) => Ue(Ue({ resultIndex: mt }, Fe), {}, { active: mt === ut }));
|
|
36779
36776
|
return { items: st, activeItem: st[ut], activeIndex: ut };
|
|
36780
|
-
})(he, c(y))), E(k, !1),
|
|
36777
|
+
})(he, c(y))), E(k, !1), je();
|
|
36781
36778
|
});
|
|
36782
36779
|
}))) : (c(y) && E(y, void 0), Promise.resolve());
|
|
36783
36780
|
}), xe.apply(this, arguments);
|
|
@@ -36805,16 +36802,16 @@ function hM(t, e) {
|
|
|
36805
36802
|
C(s());
|
|
36806
36803
|
}), Ln(), Ut(!0);
|
|
36807
36804
|
var Be = _r(), L = Mt(Be), q = (N) => {
|
|
36808
|
-
var Q = dV(), se = Z(Q),
|
|
36805
|
+
var Q = dV(), se = Z(Q), je = Z(se), he = (Le) => {
|
|
36809
36806
|
var Xe = cV(), Qe = Z(Xe), we = ot(() => d() ? Ca : tf);
|
|
36810
36807
|
pn(Qe, { get data() {
|
|
36811
36808
|
return c(we);
|
|
36812
36809
|
} }), De("click", Xe, $), re(Le, Xe);
|
|
36813
36810
|
};
|
|
36814
|
-
Ee(
|
|
36811
|
+
Ee(je, (Le) => {
|
|
36815
36812
|
f() || Le(he);
|
|
36816
36813
|
});
|
|
36817
|
-
var ne = Z(le(
|
|
36814
|
+
var ne = Z(le(je, 2)), ke = Z(ne), vt = Z(ke), Ve = (Le) => {
|
|
36818
36815
|
pn(Le, { get data() {
|
|
36819
36816
|
return xR;
|
|
36820
36817
|
}, spin: !0 });
|
|
@@ -36826,7 +36823,7 @@ function hM(t, e) {
|
|
|
36826
36823
|
Ee(vt, (Le) => {
|
|
36827
36824
|
c(k) ? Le(Ve) : Le(ut, -1);
|
|
36828
36825
|
});
|
|
36829
|
-
var st = le(
|
|
36826
|
+
var st = le(ke, 2), Fe = Z(st);
|
|
36830
36827
|
Mi(() => eg(Fe, () => c(b), (Le) => E(b, Le))), Vi(Fe, (Le) => pe?.(Le)), Mi(() => De("paste", Fe, H));
|
|
36831
36828
|
var mt, D = le(st, 2), K = Z(D), Y = le(D, 2);
|
|
36832
36829
|
pn(Z(Y), { get data() {
|
|
@@ -37525,29 +37522,29 @@ function jM(t, e) {
|
|
|
37525
37522
|
}, ae = Xt(() => (T(Dc), c(V), ie(() => Dc(c(V))))), te = (S) => {
|
|
37526
37523
|
var R = kV();
|
|
37527
37524
|
Dr(R, 5, () => (c(V), ie(() => c(V).items)), Kr, (F, ee) => {
|
|
37528
|
-
var xe = _r(), Ae = Mt(xe), Be = (
|
|
37529
|
-
L0(
|
|
37525
|
+
var xe = _r(), Ae = Mt(xe), Be = (ke) => {
|
|
37526
|
+
L0(ke, { className: "left", get item() {
|
|
37530
37527
|
return c(ee);
|
|
37531
37528
|
}, get onRequestClose() {
|
|
37532
37529
|
return r();
|
|
37533
37530
|
} });
|
|
37534
|
-
}, L = Xt(() => (T(ca), c(ee), ie(() => ca(c(ee))))), q = (
|
|
37535
|
-
z0(
|
|
37531
|
+
}, L = Xt(() => (T(ca), c(ee), ie(() => ca(c(ee))))), q = (ke) => {
|
|
37532
|
+
z0(ke, { className: "left", get item() {
|
|
37536
37533
|
return c(ee);
|
|
37537
37534
|
}, get onRequestClose() {
|
|
37538
37535
|
return r();
|
|
37539
37536
|
} });
|
|
37540
|
-
}, N = Xt(() => (T(Dc), c(ee), ie(() => Dc(c(ee))))), Q = (
|
|
37541
|
-
re(
|
|
37542
|
-
}, se = Xt(() => (T(Ka), c(ee), ie(() => Ka(c(ee))))),
|
|
37537
|
+
}, N = Xt(() => (T(Dc), c(ee), ie(() => Dc(c(ee))))), Q = (ke) => {
|
|
37538
|
+
re(ke, B0());
|
|
37539
|
+
}, se = Xt(() => (T(Ka), c(ee), ie(() => Ka(c(ee))))), je = (ke) => {
|
|
37543
37540
|
var vt = jV(), Ve = Z(vt);
|
|
37544
|
-
We(() => Ot(Ve, (c(ee), ie(() => c(ee).text)))), re(
|
|
37545
|
-
}, he = Xt(() => (T(sS), c(ee), ie(() => sS(c(ee))))), ne = (
|
|
37541
|
+
We(() => Ot(Ve, (c(ee), ie(() => c(ee).text)))), re(ke, vt);
|
|
37542
|
+
}, he = Xt(() => (T(sS), c(ee), ie(() => sS(c(ee))))), ne = (ke) => {
|
|
37546
37543
|
var vt = Si();
|
|
37547
|
-
We((Ve) => Ot(vt, Ve), [() => (c(ee), ie(() => a(c(ee))))]), re(
|
|
37544
|
+
We((Ve) => Ot(vt, Ve), [() => (c(ee), ie(() => a(c(ee))))]), re(ke, vt);
|
|
37548
37545
|
};
|
|
37549
|
-
Ee(Ae, (
|
|
37550
|
-
c(L) ?
|
|
37546
|
+
Ee(Ae, (ke) => {
|
|
37547
|
+
c(L) ? ke(Be) : c(N) ? ke(q, 1) : c(se) ? ke(Q, 2) : c(he) ? ke(je, 3) : ke(ne, -1);
|
|
37551
37548
|
}), re(F, xe);
|
|
37552
37549
|
}), re(S, R);
|
|
37553
37550
|
}, P = Xt(() => (T(lS), c(V), ie(() => lS(c(V))))), _ = (S) => {
|
|
@@ -37790,8 +37787,8 @@ function I1(t, e) {
|
|
|
37790
37787
|
}, onBlur: () => {
|
|
37791
37788
|
p = !1, F() && F()();
|
|
37792
37789
|
} });
|
|
37793
|
-
var N = X(void 0, !0), Q = X(void 0, !0), se = void 0,
|
|
37794
|
-
function
|
|
37790
|
+
var N = X(void 0, !0), Q = X(void 0, !0), se = void 0, je = !1, he = X(x1({ json: c(N) }), !0), ne = X(Sf(x()) ? x() : void 0, !0);
|
|
37791
|
+
function ke(W) {
|
|
37795
37792
|
E(ne, W);
|
|
37796
37793
|
}
|
|
37797
37794
|
Ii(() => {
|
|
@@ -37889,7 +37886,7 @@ function I1(t, e) {
|
|
|
37889
37886
|
})(W.text);
|
|
37890
37887
|
}
|
|
37891
37888
|
function on(W) {
|
|
37892
|
-
|
|
37889
|
+
je || (je = !0, E(he, Cc(W, c(he), [])));
|
|
37893
37890
|
}
|
|
37894
37891
|
function gr(W) {
|
|
37895
37892
|
c(ne) && (fo(W, fc(c(ne))) && fo(W, ht(c(ne))) || (r("clearing selection: path does not exist anymore", c(ne)), E(ne, Lc(W, c(he)))));
|
|
@@ -38041,7 +38038,7 @@ function I1(t, e) {
|
|
|
38041
38038
|
}
|
|
38042
38039
|
function Zt() {
|
|
38043
38040
|
return (Zt = Rt(function* (W) {
|
|
38044
|
-
yield xM({ char: W, selectInside: !0, json: c(N), selection: c(ne), readOnly: v(), parser: M(), onPatch: sn, onReplaceJson: z, onSelect:
|
|
38041
|
+
yield xM({ char: W, selectInside: !0, json: c(N), selection: c(ne), readOnly: v(), parser: M(), onPatch: sn, onReplaceJson: z, onSelect: ke });
|
|
38045
38042
|
})).apply(this, arguments);
|
|
38046
38043
|
}
|
|
38047
38044
|
function Cr() {
|
|
@@ -38292,7 +38289,7 @@ function I1(t, e) {
|
|
|
38292
38289
|
}), fe(() => (c(d), IS), () => {
|
|
38293
38290
|
E(n, c(d) ? IS(c(d)) : void 0);
|
|
38294
38291
|
}), fe(() => (T(v()), T(k()), T(M()), c(Ve), T(_()), T(S())), () => {
|
|
38295
|
-
E(ji, { mode: Xr.tree, readOnly: v(), truncateTextSize: k(), parser: M(), normalization: c(Ve), getJson: Nn, getDocumentState: ir, getSelection: tn, findElement: Cn, findNextInside: Or, focus: _t, onPatch: sn, onInsert: Yn, onExpand: ve, onSelect:
|
|
38292
|
+
E(ji, { mode: Xr.tree, readOnly: v(), truncateTextSize: k(), parser: M(), normalization: c(Ve), getJson: Nn, getDocumentState: ir, getSelection: tn, findElement: Cn, findNextInside: Or, focus: _t, onPatch: sn, onInsert: Yn, onExpand: ve, onSelect: ke, onFind: Ze, onExpandSection: at, onPasteJson: Nt, onRenderValue: _(), onContextMenu: yt, onClassName: S() || (() => {
|
|
38296
38293
|
}), onDrag: Er, onDragEnd: ri });
|
|
38297
38294
|
}), fe(() => c(ji), () => {
|
|
38298
38295
|
r("context changed", c(ji));
|
|
@@ -38823,14 +38820,14 @@ function qV(t, e) {
|
|
|
38823
38820
|
St(e, !1);
|
|
38824
38821
|
var o = xi("jsoneditor:TransformModal"), s = A(e, "id", 25, () => "transform-modal-" + ou()), a = A(e, "json", 9), l = A(e, "rootPath", 25, () => []), u = A(e, "indentation", 9), d = A(e, "truncateTextSize", 9), f = A(e, "escapeControlCharacters", 9), h = A(e, "escapeUnicodeCharacters", 9), p = A(e, "parser", 9), m = A(e, "parseMemoizeOne", 9), v = A(e, "validationParser", 9), g = A(e, "pathParser", 9), b = A(e, "queryLanguages", 9), x = A(e, "queryLanguageId", 13), w = A(e, "onChangeQueryLanguage", 9), k = A(e, "onRenderValue", 9), y = A(e, "onRenderMenu", 9), j = A(e, "onRenderContextMenu", 9), C = A(e, "onClassName", 9), $ = A(e, "onTransform", 9), M = A(e, "onClose", 9), B = X(void 0, !0), H = X(SM({ onChange: (se) => E(H, se) }).get(), !0), V = X(void 0, !0), J = X(void 0, !0), G = X(!1, !0), de = "".concat(s(), ":").concat(Et(l())), Ce = (n = Od()[de]) !== null && n !== void 0 ? n : {}, pe = X(Bc().showWizard !== !1, !0), ae = X(Bc().showOriginal !== !1, !0), te = X((r = Ce.queryOptions) !== null && r !== void 0 ? r : {}, !0), P = X(x() === Ce.queryLanguageId && Ce.query ? Ce.query : "", !0), _ = X((i = Ce.isManual) !== null && i !== void 0 && i, !0), I = X(void 0, !0), O = X(void 0, !0), S = X({ text: "" }, !0);
|
|
38825
38822
|
function R(se) {
|
|
38826
|
-
var
|
|
38827
|
-
return (
|
|
38823
|
+
var je;
|
|
38824
|
+
return (je = b().find((he) => he.id === se)) !== null && je !== void 0 ? je : b()[0];
|
|
38828
38825
|
}
|
|
38829
38826
|
function F(se) {
|
|
38830
38827
|
try {
|
|
38831
38828
|
E(te, se), E(P, R(x()).createQuery(c(V), se)), E(I, void 0), E(_, !1), o("updateQueryByWizard", { queryOptions: c(te), query: c(P), isManual: c(_) });
|
|
38832
|
-
} catch (
|
|
38833
|
-
E(I, String(
|
|
38829
|
+
} catch (je) {
|
|
38830
|
+
E(I, String(je));
|
|
38834
38831
|
}
|
|
38835
38832
|
}
|
|
38836
38833
|
function ee(se) {
|
|
@@ -38840,11 +38837,11 @@ function qV(t, e) {
|
|
|
38840
38837
|
var se;
|
|
38841
38838
|
(se = c(B)) === null || se === void 0 || se.focus();
|
|
38842
38839
|
});
|
|
38843
|
-
var xe = fm(function(se,
|
|
38840
|
+
var xe = fm(function(se, je) {
|
|
38844
38841
|
if (se === void 0) return E(S, { text: "" }), void E(O, "Error: No JSON");
|
|
38845
|
-
if (
|
|
38846
|
-
o("previewTransform", { query:
|
|
38847
|
-
var he = R(x()).executeQuery(se,
|
|
38842
|
+
if (je.trim() !== "") try {
|
|
38843
|
+
o("previewTransform", { query: je });
|
|
38844
|
+
var he = R(x()).executeQuery(se, je, p());
|
|
38848
38845
|
E(S, { json: he }), E(O, void 0);
|
|
38849
38846
|
} catch (ne) {
|
|
38850
38847
|
E(S, { text: "" }), E(O, String(ne));
|
|
@@ -38857,8 +38854,8 @@ function qV(t, e) {
|
|
|
38857
38854
|
o("handleTransform", { query: c(P) });
|
|
38858
38855
|
var se = R(x()).executeQuery(c(V), c(P), p());
|
|
38859
38856
|
$()([{ op: "replace", path: Et(l()), value: se }]), M()();
|
|
38860
|
-
} catch (
|
|
38861
|
-
console.error(
|
|
38857
|
+
} catch (je) {
|
|
38858
|
+
console.error(je), E(S, { text: "" }), E(O, String(je));
|
|
38862
38859
|
}
|
|
38863
38860
|
}
|
|
38864
38861
|
function Be() {
|
|
@@ -38888,9 +38885,9 @@ function qV(t, e) {
|
|
|
38888
38885
|
return M();
|
|
38889
38886
|
}, className: "jse-transform-modal", get fullscreen() {
|
|
38890
38887
|
return c(G);
|
|
38891
|
-
}, children: (se,
|
|
38888
|
+
}, children: (se, je) => {
|
|
38892
38889
|
var he = BV();
|
|
38893
|
-
v1(Z(he), { children: (ne,
|
|
38890
|
+
v1(Z(he), { children: (ne, ke) => {
|
|
38894
38891
|
var vt = zV(), Ve = Mt(vt);
|
|
38895
38892
|
(function(xt, cn) {
|
|
38896
38893
|
St(cn, !1);
|
|
@@ -39076,7 +39073,7 @@ function qV(t, e) {
|
|
|
39076
39073
|
Mi(() => De("click", zn, Ae)), Vi(zn, (xt) => q?.(xt)), We((xt) => {
|
|
39077
39074
|
kc(mt, xt), kc(Le, c(P)), Xe = Ft(we, 1, "jse-data-contents svelte-lta8xm", null, Xe, { "jse-hide-original-data": !c(ae) }), Qe = Ft(Ke, 1, "jse-original-data svelte-lta8xm", null, Qe, { "jse-hide": !c(ae) }), zn.disabled = !!c(O);
|
|
39078
39075
|
}, [() => (T(jn), T(l()), T(uo), ie(() => jn(l()) ? "(document root)" : uo(l())))]), De("click", Y, Be), De("input", Le, ee), De("click", Nn, L), re(ne, vt);
|
|
39079
|
-
}, $$slots: { default: !0 } }), Vi(he, (ne,
|
|
39076
|
+
}, $$slots: { default: !0 } }), Vi(he, (ne, ke) => mg?.(ne, ke), () => Q), re(se, he);
|
|
39080
39077
|
}, $$slots: { default: !0 } }), Ct();
|
|
39081
39078
|
}
|
|
39082
39079
|
function Io() {
|
|
@@ -39467,13 +39464,13 @@ function eW(t, e) {
|
|
|
39467
39464
|
St(e, !1);
|
|
39468
39465
|
var n = X(void 0, !0), r = X(void 0, !0), i = A(e, "readOnly", 9), o = A(e, "ariaLabel", 9, void 0), s = A(e, "mainMenuBar", 9), a = A(e, "statusBar", 9), l = A(e, "askToFormat", 9), u = A(e, "externalContent", 9), d = A(e, "externalSelection", 9), f = A(e, "history", 9), h = A(e, "indentation", 9), p = A(e, "tabSize", 9), m = A(e, "escapeUnicodeCharacters", 9), v = A(e, "maxDocumentSize", 9), g = A(e, "parser", 9), b = A(e, "validator", 9), x = A(e, "validationParser", 9), w = A(e, "onChange", 9), k = A(e, "onChangeMode", 9), y = A(e, "onSelect", 9), j = A(e, "onUndo", 9), C = A(e, "onRedo", 9), $ = A(e, "onError", 9), M = A(e, "onFocus", 9), B = A(e, "onBlur", 9), H = A(e, "onRenderMenu", 9), V = A(e, "onSortModal", 9), J = A(e, "onTransformModal", 9), G = xi("jsoneditor:TextMode"), de = { key: "Mod-i", run: Qe, shift: we, preventDefault: !0 }, Ce = typeof window > "u";
|
|
39469
39466
|
G("isSSR:", Ce);
|
|
39470
|
-
var pe, ae = X(void 0, !0), te = X(void 0, !0), P = X(void 0, !0), _ = X(!1, !0), I = X(l(), !0), O = X([], !0), S = X(!1, !0), R = X(0, !0), F = X(0, !0), ee = null, xe = new _s(), Ae = new _s(), Be = new _s(), L = new _s(), q = new _s(), N = new _s(), Q = u(), se = X(g1(Q, h(), g()), !0),
|
|
39467
|
+
var pe, ae = X(void 0, !0), te = X(void 0, !0), P = X(void 0, !0), _ = X(!1, !0), I = X(l(), !0), O = X([], !0), S = X(!1, !0), R = X(0, !0), F = X(0, !0), ee = null, xe = new _s(), Ae = new _s(), Be = new _s(), L = new _s(), q = new _s(), N = new _s(), Q = u(), se = X(g1(Q, h(), g()), !0), je = Ml.define(), he = null;
|
|
39471
39468
|
function ne() {
|
|
39472
39469
|
if (!he || he.length === 0) return !1;
|
|
39473
39470
|
var z = he[0].startState, oe = he[he.length - 1].state, ve = he.map((Ye) => Ye.changes).reduce((Ye, Ze) => Ye.compose(Ze)), Ge = { type: "text", undo: { changes: ve.invert(z.doc).toJSON(), selection: wi(z.selection) }, redo: { changes: ve.toJSON(), selection: wi(oe.selection) } };
|
|
39474
39471
|
return G("add history item", Ge), f().add(Ge), he = null, !0;
|
|
39475
39472
|
}
|
|
39476
|
-
var
|
|
39473
|
+
var ke = X(m(), !0);
|
|
39477
39474
|
Ii(Rt(function* () {
|
|
39478
39475
|
if (!Ce) try {
|
|
39479
39476
|
pe = (function(z) {
|
|
@@ -39482,7 +39479,7 @@ function eW(t, e) {
|
|
|
39482
39479
|
var Ze = (function(Nt, Vt) {
|
|
39483
39480
|
return A0(Nt) ? Nt.ranges.every((yt) => yt.anchor < Vt.length && yt.head < Vt.length) : !1;
|
|
39484
39481
|
})(d(), ve) ? _n(d()) : void 0, at = En.create({ doc: ve, selection: Ze, extensions: [Mm.of([y7, de]), xe.of(xt()), D7(), dD(), pD(), AI(), tL(), Fe(), gI(), jI(), En.allowMultipleSelections.of(!0), VD(), nO(oL, { fallback: !0 }), fL(), Zz(), uB(), BI(), UI(), NI(), tz(), Mm.of([...rB, ...b7, ...kz, { key: "Mod-z", run: tn, preventDefault: !0 }, { key: "Mod-y", mac: "Mod-Shift-z", run: Fn, preventDefault: !0 }, { key: "Ctrl-Shift-z", run: Fn, preventDefault: !0 }, ...YD, ...sE, ...C7]), WV, vB({ hideFirstIndent: !0 }), it.domEventHandlers({ dblclick: zn }), it.updateListener.of((Nt) => {
|
|
39485
|
-
E(P, Nt.state), Nt.docChanged && (Nt.transactions.some((Vt) => !!Vt.annotation(
|
|
39482
|
+
E(P, Nt.state), Nt.docChanged && (Nt.transactions.some((Vt) => !!Vt.annotation(je)) || (he = [...he ?? [], Nt]), zr()), Nt.selectionSet && Sr();
|
|
39486
39483
|
}), Q7(), uz({ top: !0 }), it.lineWrapping, Ae.of(En.readOnly.of(Ge)), L.of(En.tabSize.of(p())), Be.of(Hr(Ye)), q.of(it.theme({}, { dark: cn() })), N.of(tr(o()))] });
|
|
39487
39484
|
return pe = new it({ state: at, parent: oe }), Ze && pe.dispatch(pe.state.update({ selection: Ze.main, scrollIntoView: !0 })), pe;
|
|
39488
39485
|
})({ target: c(ae), initialText: Jr(c(se), v(), c(_)) ? "" : c(n).escapeValue(c(se)), readOnly: i(), indentation: h() });
|
|
@@ -39666,13 +39663,13 @@ function eW(t, e) {
|
|
|
39666
39663
|
if (i()) return !1;
|
|
39667
39664
|
Yn();
|
|
39668
39665
|
var z = f().undo();
|
|
39669
|
-
return G("undo", z), uS(z) ? (pe.dispatch({ annotations:
|
|
39666
|
+
return G("undo", z), uS(z) ? (pe.dispatch({ annotations: je.of("undo"), changes: gi.fromJSON(z.undo.changes), selection: _e.fromJSON(z.undo.selection), scrollIntoView: !0 }), !0) : (j()(z), !1);
|
|
39670
39667
|
}
|
|
39671
39668
|
function Fn() {
|
|
39672
39669
|
if (i()) return !1;
|
|
39673
39670
|
Yn();
|
|
39674
39671
|
var z = f().redo();
|
|
39675
|
-
return G("redo", z), uS(z) ? (pe.dispatch({ annotations:
|
|
39672
|
+
return G("redo", z), uS(z) ? (pe.dispatch({ annotations: je.of("redo"), changes: gi.fromJSON(z.redo.changes), selection: _e.fromJSON(z.redo.selection), scrollIntoView: !0 }), !0) : (C()(z), !1);
|
|
39676
39673
|
}
|
|
39677
39674
|
function on() {
|
|
39678
39675
|
E(_, !0), Jt(u(), !0, !0);
|
|
@@ -39832,8 +39829,8 @@ function eW(t, e) {
|
|
|
39832
39829
|
(function(z) {
|
|
39833
39830
|
pe && (G("updateAriaLabel", z), pe.dispatch({ effects: [N.reconfigure(tr(z))] }));
|
|
39834
39831
|
})(o());
|
|
39835
|
-
}), fe(() => (c(
|
|
39836
|
-
c(
|
|
39832
|
+
}), fe(() => (c(ke), T(m())), () => {
|
|
39833
|
+
c(ke) !== m() && (E(ke, m()), G("forceUpdateText", { escapeUnicodeCharacters: m() }), pe && pe.dispatch({ changes: { from: 0, to: pe.state.doc.length, insert: c(n).escapeValue(c(se)) } }));
|
|
39837
39834
|
}), fe(() => (c(Te), T(i()), hl), () => {
|
|
39838
39835
|
E(r, c(Te) !== iS || i() ? [br] : [{ icon: hl, text: "Auto repair", title: "Automatically repair JSON", onClick: Ke }, br]);
|
|
39839
39836
|
}), Ln();
|
|
@@ -40388,9 +40385,9 @@ function wW(t, e) {
|
|
|
40388
40385
|
}, onBlur: () => {
|
|
40389
40386
|
K = !1, _() && _()();
|
|
40390
40387
|
} });
|
|
40391
|
-
var Be, L = X(void 0, !0), q = X(void 0, !0), N = X(void 0, !0), Q = X(void 0, !0), se = X(void 0, !0),
|
|
40392
|
-
function
|
|
40393
|
-
E(
|
|
40388
|
+
var Be, L = X(void 0, !0), q = X(void 0, !0), N = X(void 0, !0), Q = X(void 0, !0), se = X(void 0, !0), je = X(void 0, !0), he = X(!1, !0), ne = X(!1, !0);
|
|
40389
|
+
function ke(U) {
|
|
40390
|
+
E(je, (Be = U) ? JA(c(L), Be.items) : void 0);
|
|
40394
40391
|
}
|
|
40395
40392
|
function vt(U) {
|
|
40396
40393
|
return Ve.apply(this, arguments);
|
|
@@ -40907,7 +40904,7 @@ function wW(t, e) {
|
|
|
40907
40904
|
return p();
|
|
40908
40905
|
}, get columns() {
|
|
40909
40906
|
return c(Fe);
|
|
40910
|
-
}, onSearch:
|
|
40907
|
+
}, onSearch: ke, onFocus: vt, onPatch: bt, onClose: ut });
|
|
40911
40908
|
var yn = le(Lt, 2), Pr = Z(yn), W = Z(Pr), ue = Z(W), $e = Z(ue), lt = Z($e), Pe = (pt) => {
|
|
40912
40909
|
var Kt = ot(() => (T(zc), c(i), ie(() => {
|
|
40913
40910
|
var Fr;
|
|
@@ -40993,7 +40990,7 @@ function wW(t, e) {
|
|
|
40993
40990
|
var ki = ot(() => (c(r), ie(() => c(r).startIndex + xr))), zi = ot(() => (c(i), T(c(ki)), ie(() => c(i).rows[c(ki)]))), Fr = ot(() => (T(zc), T(c(ki)), T(c(zi)), ie(() => {
|
|
40994
40991
|
var hi;
|
|
40995
40992
|
return zc([String(c(ki))], (hi = c(zi)) === null || hi === void 0 ? void 0 : hi.row);
|
|
40996
|
-
}))), Ci = ot(() => (T(Ps), c(L), c(
|
|
40993
|
+
}))), Ci = ot(() => (T(Ps), c(L), c(je), T(c(ki)), ie(() => Ps(c(L), c(je), [String(c(ki))])))), Ys = mW(), bo = Z(Ys);
|
|
40997
40994
|
dA(bo, () => c(ki), (hi) => {
|
|
40998
40995
|
var ii = dW(), no = Z(ii), Po = le(no), Xs = (On) => {
|
|
40999
40996
|
wu(On, { get validationError() {
|
|
@@ -41043,9 +41040,9 @@ function wW(t, e) {
|
|
|
41043
41040
|
return c(Dl);
|
|
41044
41041
|
}, onEdit: at });
|
|
41045
41042
|
}, lv = Xt(() => (T(Tr), T(c(Gr)), ie(() => Tr(c(Gr))))), Ss = (Qr) => {
|
|
41046
|
-
var Ji = ot(() => (T(Ps), c(L), c(
|
|
41043
|
+
var Ji = ot(() => (T(Ps), c(L), c(je), T(c(On)), ie(() => {
|
|
41047
41044
|
var Ro;
|
|
41048
|
-
return (Ro = Ps(c(L), c(
|
|
41045
|
+
return (Ro = Ps(c(L), c(je), c(On))) === null || Ro === void 0 ? void 0 : Ro.searchResults;
|
|
41049
41046
|
}))), Dl = ot(() => c(Gr) !== void 0 ? c(Gr) : ""), hv = ot(() => (T(Bs), c(L), c(Qe), T(c(On)), ie(() => Bs(c(L), c(Qe), c(On))))), sd = ot(() => c(yo) ? c(we) : void 0);
|
|
41050
41047
|
cM(Qr, { get path() {
|
|
41051
41048
|
return c(On);
|
|
@@ -41269,7 +41266,7 @@ function HS(t, e) {
|
|
|
41269
41266
|
if (c(O)) return c(O).collapse(me, Ne);
|
|
41270
41267
|
throw new Error('Method collapse is not available in mode "'.concat(c(F), '"'));
|
|
41271
41268
|
}
|
|
41272
|
-
function
|
|
41269
|
+
function je(me) {
|
|
41273
41270
|
if (c(O)) c(O).openTransformModal(me);
|
|
41274
41271
|
else if (c(_)) c(_).openTransformModal(me);
|
|
41275
41272
|
else {
|
|
@@ -41286,7 +41283,7 @@ function HS(t, e) {
|
|
|
41286
41283
|
function ne() {
|
|
41287
41284
|
return c(_) ? c(_).acceptAutoRepair() : n();
|
|
41288
41285
|
}
|
|
41289
|
-
function
|
|
41286
|
+
function ke(me) {
|
|
41290
41287
|
if (c(_)) return c(_).scrollTo(me);
|
|
41291
41288
|
if (c(I)) return c(I).scrollTo(me);
|
|
41292
41289
|
throw new Error('Method scrollTo is not available in mode "'.concat(c(F), '"'));
|
|
@@ -41327,7 +41324,7 @@ function HS(t, e) {
|
|
|
41327
41324
|
return (Ne = G()(me, { mode: c(F), modal: C(), readOnly: i(), selection: r() })) !== null && Ne !== void 0 ? Ne : !i() && Le;
|
|
41328
41325
|
});
|
|
41329
41326
|
}), Ln();
|
|
41330
|
-
var Fe = { patch: N, expand: Q, collapse: se, transform:
|
|
41327
|
+
var Fe = { patch: N, expand: Q, collapse: se, transform: je, validate: he, acceptAutoRepair: ne, scrollTo: ke, findElement: vt, focus: Ve, refresh: ut };
|
|
41331
41328
|
Ut();
|
|
41332
41329
|
var mt = _r(), D = Mt(mt), K = (me) => {
|
|
41333
41330
|
mr(eW(me, { get externalContent() {
|
|
@@ -41496,7 +41493,7 @@ function HS(t, e) {
|
|
|
41496
41493
|
};
|
|
41497
41494
|
return Ee(D, (me) => {
|
|
41498
41495
|
c(Y) ? me(K) : (c(F), T(Xr), ie(() => c(F) === Xr.table) ? me(ce, 1) : me(be, -1));
|
|
41499
|
-
}), re(t, mt), $t(e, "patch", N), $t(e, "expand", Q), $t(e, "collapse", se), $t(e, "transform",
|
|
41496
|
+
}), re(t, mt), $t(e, "patch", N), $t(e, "expand", Q), $t(e, "collapse", se), $t(e, "transform", je), $t(e, "validate", he), $t(e, "acceptAutoRepair", ne), $t(e, "scrollTo", ke), $t(e, "findElement", vt), $t(e, "focus", Ve), $t(e, "refresh", ut), Ct(Fe);
|
|
41500
41497
|
}
|
|
41501
41498
|
zt(`/* over all fonts, sizes, and colors */
|
|
41502
41499
|
/* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */
|
|
@@ -41752,7 +41749,7 @@ function RW(t, e) {
|
|
|
41752
41749
|
St(e, !1);
|
|
41753
41750
|
var n = X(void 0, !0), r = xi("jsoneditor:JSONEditor"), i = { text: "" }, o = void 0, s = !1, a = Xr.tree, l = "JSON editor", u = !0, d = !0, f = !0, h = !0, p = !1, m = !1, v = 10485760, g = !0, b = JSON, x = void 0, w = JSON, k = { parse: uF, stringify: uo }, y = [_q], j = y[0].id, C = Io, $ = void 0, M = void 0, B = cF, H = Io, V = Io, J = Io, G = Io, de = (Te) => {
|
|
41754
41751
|
console.error(Te), alert(Te.toString());
|
|
41755
|
-
}, Ce = Io, pe = Io, ae = A(e, "content", 13, i), te = A(e, "selection", 13, o), P = A(e, "readOnly", 13, s), _ = A(e, "indentation", 13, 2), I = A(e, "tabSize", 13, 4), O = A(e, "truncateTextSize", 13, 1e3), S = A(e, "mode", 13, a), R = A(e, "ariaLabel", 13, l), F = A(e, "mainMenuBar", 13, u), ee = A(e, "navigationBar", 13, d), xe = A(e, "statusBar", 13, f), Ae = A(e, "askToFormat", 13, h), Be = A(e, "escapeControlCharacters", 13, p), L = A(e, "escapeUnicodeCharacters", 13, m), q = A(e, "maxDocumentSizeTextMode", 13, v), N = A(e, "flattenColumns", 13, g), Q = A(e, "parser", 13, b), se = A(e, "validator", 13, x),
|
|
41752
|
+
}, Ce = Io, pe = Io, ae = A(e, "content", 13, i), te = A(e, "selection", 13, o), P = A(e, "readOnly", 13, s), _ = A(e, "indentation", 13, 2), I = A(e, "tabSize", 13, 4), O = A(e, "truncateTextSize", 13, 1e3), S = A(e, "mode", 13, a), R = A(e, "ariaLabel", 13, l), F = A(e, "mainMenuBar", 13, u), ee = A(e, "navigationBar", 13, d), xe = A(e, "statusBar", 13, f), Ae = A(e, "askToFormat", 13, h), Be = A(e, "escapeControlCharacters", 13, p), L = A(e, "escapeUnicodeCharacters", 13, m), q = A(e, "maxDocumentSizeTextMode", 13, v), N = A(e, "flattenColumns", 13, g), Q = A(e, "parser", 13, b), se = A(e, "validator", 13, x), je = A(e, "validationParser", 13, w), he = A(e, "pathParser", 13, k), ne = A(e, "queryLanguages", 13, y), ke = A(e, "queryLanguageId", 13, j), vt = A(e, "onChangeQueryLanguage", 13, C), Ve = A(e, "onChange", 13, $), ut = A(e, "onSelect", 13, M), st = A(e, "onRenderValue", 13, B), Fe = A(e, "onClassName", 13, H), mt = A(e, "onRenderMenu", 13, V), D = A(e, "onRenderContextMenu", 13, J), K = A(e, "onChangeMode", 13, G), Y = A(e, "onError", 13, de), ce = A(e, "onFocus", 13, Ce), be = A(e, "onBlur", 13, pe), me = X(ou(), !0), Ne = X(!1, !0), Le = X(void 0, !0), Xe = X(void 0, !0), Qe = X(void 0, !0), we = X(void 0, !0), Ke = X(Q(), !0);
|
|
41756
41753
|
function Me() {
|
|
41757
41754
|
return ae();
|
|
41758
41755
|
}
|
|
@@ -41873,7 +41870,7 @@ function RW(t, e) {
|
|
|
41873
41870
|
se((oe = Te[dt]) !== null && oe !== void 0 ? oe : x);
|
|
41874
41871
|
break;
|
|
41875
41872
|
case "validationParser":
|
|
41876
|
-
|
|
41873
|
+
je((ve = Te[dt]) !== null && ve !== void 0 ? ve : w);
|
|
41877
41874
|
break;
|
|
41878
41875
|
case "pathParser":
|
|
41879
41876
|
he((Ge = Te[dt]) !== null && Ge !== void 0 ? Ge : k);
|
|
@@ -41882,7 +41879,7 @@ function RW(t, e) {
|
|
|
41882
41879
|
ne((Ye = Te[dt]) !== null && Ye !== void 0 ? Ye : y);
|
|
41883
41880
|
break;
|
|
41884
41881
|
case "queryLanguageId":
|
|
41885
|
-
|
|
41882
|
+
ke((Ze = Te[dt]) !== null && Ze !== void 0 ? Ze : j);
|
|
41886
41883
|
break;
|
|
41887
41884
|
case "onChangeQueryLanguage":
|
|
41888
41885
|
vt((at = Te[dt]) !== null && at !== void 0 ? at : C);
|
|
@@ -41923,7 +41920,7 @@ function RW(t, e) {
|
|
|
41923
41920
|
function bn(_t) {
|
|
41924
41921
|
r('Unknown property "'.concat(_t, '"'));
|
|
41925
41922
|
}
|
|
41926
|
-
ne().some((_t) => _t.id ===
|
|
41923
|
+
ne().some((_t) => _t.id === ke()) || ke(ne()[0].id), cr();
|
|
41927
41924
|
}
|
|
41928
41925
|
function Jt() {
|
|
41929
41926
|
return _n.apply(this, arguments);
|
|
@@ -41954,18 +41951,18 @@ function RW(t, e) {
|
|
|
41954
41951
|
})).apply(this, arguments);
|
|
41955
41952
|
}
|
|
41956
41953
|
function zr(Te) {
|
|
41957
|
-
r("handleChangeQueryLanguage", Te),
|
|
41954
|
+
r("handleChangeQueryLanguage", Te), ke(Te), vt()(Te);
|
|
41958
41955
|
}
|
|
41959
41956
|
function Yn(Te) {
|
|
41960
41957
|
var Zt = Te.id, Cr = Te.json, Qt = Te.rootPath, sr = Te.onTransform, di = Te.onClose;
|
|
41961
|
-
P() || E(we, { id: Zt, json: Cr, rootPath: Qt, indentation: _(), truncateTextSize: O(), escapeControlCharacters: Be(), escapeUnicodeCharacters: L(), parser: Q(), parseMemoizeOne: c(n), validationParser:
|
|
41958
|
+
P() || E(we, { id: Zt, json: Cr, rootPath: Qt, indentation: _(), truncateTextSize: O(), escapeControlCharacters: Be(), escapeUnicodeCharacters: L(), parser: Q(), parseMemoizeOne: c(n), validationParser: je(), pathParser: he(), queryLanguages: ne(), queryLanguageId: ke(), onChangeQueryLanguage: zr, onRenderValue: st(), onRenderMenu: (br) => mt()(br, { mode: S(), modal: !0, readOnly: P() }), onRenderContextMenu: (br) => D()(br, { mode: S(), modal: !0, readOnly: P(), selection: te() }), onClassName: Fe(), onTransform: sr, onClose: di });
|
|
41962
41959
|
}
|
|
41963
41960
|
function or(Te) {
|
|
41964
41961
|
P() || E(Qe, Te);
|
|
41965
41962
|
}
|
|
41966
41963
|
function Sr(Te) {
|
|
41967
41964
|
var Zt = Te.content, Cr = Te.path, Qt = Te.onPatch, sr = Te.onClose;
|
|
41968
|
-
r("onJSONEditorModal", { content: Zt, path: Cr }), E(Xe, { content: Zt, path: Cr, onPatch: Qt, readOnly: P(), indentation: _(), tabSize: I(), truncateTextSize: O(), mainMenuBar: F(), navigationBar: ee(), statusBar: xe(), askToFormat: Ae(), escapeControlCharacters: Be(), escapeUnicodeCharacters: L(), maxDocumentSizeTextMode: q(), flattenColumns: N(), parser: Q(), validator: void 0, validationParser:
|
|
41965
|
+
r("onJSONEditorModal", { content: Zt, path: Cr }), E(Xe, { content: Zt, path: Cr, onPatch: Qt, readOnly: P(), indentation: _(), tabSize: I(), truncateTextSize: O(), mainMenuBar: F(), navigationBar: ee(), statusBar: xe(), askToFormat: Ae(), escapeControlCharacters: Be(), escapeUnicodeCharacters: L(), maxDocumentSizeTextMode: q(), flattenColumns: N(), parser: Q(), validator: void 0, validationParser: je(), pathParser: he(), onRenderValue: st(), onClassName: Fe(), onRenderMenu: mt(), onRenderContextMenu: D(), onSortModal: or, onTransformModal: Yn, onClose: sr });
|
|
41969
41966
|
}
|
|
41970
41967
|
function wi(Te) {
|
|
41971
41968
|
Te.stopPropagation();
|
|
@@ -42031,7 +42028,7 @@ function RW(t, e) {
|
|
|
42031
42028
|
}, get validator() {
|
|
42032
42029
|
return se();
|
|
42033
42030
|
}, get validationParser() {
|
|
42034
|
-
return
|
|
42031
|
+
return je();
|
|
42035
42032
|
}, get pathParser() {
|
|
42036
42033
|
return he();
|
|
42037
42034
|
}, insideModal: !1, get onError() {
|