@gravitee/graphene-core 2.57.0 → 2.58.0-fix-monaco-hover.f2e6e9e
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/USAGE_GUIDE.md +92 -22
- package/dist/{CodeEditor-izUXIn0I.js → CodeEditor-W9JPCQhc.js} +1 -0
- package/dist/{CodeEditorField-2Ph093QR.js → CodeEditorField-cwZAv7Ib.js} +1 -1
- package/dist/code-editor/index.js +1 -1
- package/dist/composed/AppLayout/AppLayout.d.ts +6 -3
- package/dist/composed/AppLayout/AppLayout.d.ts.map +1 -1
- package/dist/composed/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/conditional/useDependencyBranchSync.d.ts +27 -0
- package/dist/composed/JsonSchemaForm/conditional/useDependencyBranchSync.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/object/ObjectField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/oneOf/OneOfField.d.ts.map +1 -1
- package/dist/composed/LayoutSlots/LayoutSlotsContext.d.ts +4 -0
- package/dist/composed/LayoutSlots/LayoutSlotsContext.d.ts.map +1 -1
- package/dist/composed/LayoutSlots/use-layout-config.d.ts +3 -0
- package/dist/composed/LayoutSlots/use-layout-config.d.ts.map +1 -1
- package/dist/composed/PageFocused/PageFocused.d.ts +32 -0
- package/dist/composed/PageFocused/PageFocused.d.ts.map +1 -0
- package/dist/composed/PageFocused/index.d.ts +3 -0
- package/dist/composed/PageFocused/index.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +373 -319
- package/dist/styles/globals.css +1 -1
- package/dist/styles/tailwind-theme.css +2 -0
- package/dist/tokens/component.css +2 -1
- package/package.json +2 -1
- package/snippets/context-sidebar-detail-page.tsx +20 -22
- package/snippets/creation-wizard-page.tsx +120 -0
- package/snippets/json-schema-form-simple.tsx +1 -1
- package/snippets/json-schema-form-with-meta.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -23507,7 +23507,7 @@ function qV({ className: e, ...n }) {
|
|
|
23507
23507
|
function JV({ className: e, ...n }) {
|
|
23508
23508
|
return /* @__PURE__ */ W("main", {
|
|
23509
23509
|
"data-slot": "sidebar-inset",
|
|
23510
|
-
className: t("relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2", e),
|
|
23510
|
+
className: t("relative flex w-full min-w-0 flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2", e),
|
|
23511
23511
|
...n
|
|
23512
23512
|
});
|
|
23513
23513
|
}
|
|
@@ -24814,7 +24814,7 @@ function CU({ className: e, sidebar: n, contextSidebar: r, subheader: i, childre
|
|
|
24814
24814
|
className: t("shrink-0", u && "sticky top-0 z-20 bg-background"),
|
|
24815
24815
|
children: l
|
|
24816
24816
|
}), /* @__PURE__ */ W("div", {
|
|
24817
|
-
className: t("mx-auto w-full", c === "full-bleed" ? "min-h-0 flex-1 p-0" : "px-content pt-4 pb-content"),
|
|
24817
|
+
className: t("mx-auto w-full", c === "full-bleed" ? "min-h-0 flex-1 p-0" : "max-w-content px-content pt-4 pb-content"),
|
|
24818
24818
|
children: a
|
|
24819
24819
|
})]
|
|
24820
24820
|
})]
|
|
@@ -28961,7 +28961,7 @@ function yq({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
|
|
|
28961
28961
|
basePath: c,
|
|
28962
28962
|
disabled: i
|
|
28963
28963
|
},
|
|
28964
|
-
children: /* @__PURE__ */ W(
|
|
28964
|
+
children: /* @__PURE__ */ W(tJ, {
|
|
28965
28965
|
node: n,
|
|
28966
28966
|
name: "",
|
|
28967
28967
|
depth: r + 1
|
|
@@ -29285,16 +29285,55 @@ function Bq({ node: e, name: t }) {
|
|
|
29285
29285
|
});
|
|
29286
29286
|
}
|
|
29287
29287
|
//#endregion
|
|
29288
|
-
//#region src/composed/JsonSchemaForm/
|
|
29288
|
+
//#region src/composed/JsonSchemaForm/conditional/useDependencyBranchSync.ts
|
|
29289
29289
|
function Vq(e, t, n, r) {
|
|
29290
|
+
let i = U(() => t.map((e) => nq(e.showIf, n)), [t, n]), a = U(() => t.map((e) => Array.from(e.properties.keys()).map((e) => n ? `${n}.${e}` : e)), [t, n]), o = U(() => {
|
|
29291
|
+
let e = /* @__PURE__ */ new Set();
|
|
29292
|
+
for (let t of i) for (let n of t.$eq.keys()) e.add(n);
|
|
29293
|
+
return Array.from(e);
|
|
29294
|
+
}, [i]), s = w({
|
|
29295
|
+
control: e,
|
|
29296
|
+
name: o,
|
|
29297
|
+
disabled: o.length === 0
|
|
29298
|
+
}), c = ze(null);
|
|
29299
|
+
Pe(() => {
|
|
29300
|
+
if (i.length === 0 || o.length === 0) return;
|
|
29301
|
+
let t = /* @__PURE__ */ new Map(), n = Array.isArray(s) ? s : [s];
|
|
29302
|
+
o.forEach((e, r) => t.set(e, n[r]));
|
|
29303
|
+
let l = /* @__PURE__ */ new Set();
|
|
29304
|
+
i.forEach((e, n) => {
|
|
29305
|
+
if (ZK(e, t, r)) for (let e of a[n]) l.add(e);
|
|
29306
|
+
});
|
|
29307
|
+
let u = Array.from(l).sort().join("|");
|
|
29308
|
+
if (u === c.current) return;
|
|
29309
|
+
c.current = u;
|
|
29310
|
+
let d = /* @__PURE__ */ new Set();
|
|
29311
|
+
for (let e of a) for (let t of e) d.add(t);
|
|
29312
|
+
for (let t of d) l.has(t) || e.unregister(t);
|
|
29313
|
+
}, [
|
|
29314
|
+
e,
|
|
29315
|
+
s,
|
|
29316
|
+
i,
|
|
29317
|
+
a,
|
|
29318
|
+
o,
|
|
29319
|
+
r
|
|
29320
|
+
]);
|
|
29321
|
+
}
|
|
29322
|
+
function Hq({ branches: e, basePath: t }) {
|
|
29323
|
+
let { control: n, externalContext: r } = D();
|
|
29324
|
+
return Vq(n, e, t, r), null;
|
|
29325
|
+
}
|
|
29326
|
+
//#endregion
|
|
29327
|
+
//#region src/composed/JsonSchemaForm/utils/pickActiveVariant.ts
|
|
29328
|
+
function Uq(e, t, n, r) {
|
|
29290
29329
|
if (e.length === 0) return -1;
|
|
29291
29330
|
let i = n?.get(t);
|
|
29292
|
-
return
|
|
29331
|
+
return Wq(i, e) && Gq(e[i], r) ? i : Kq(e, r);
|
|
29293
29332
|
}
|
|
29294
|
-
function
|
|
29333
|
+
function Wq(e, t) {
|
|
29295
29334
|
return typeof e == "number" && Number.isInteger(e) && t[e] !== void 0;
|
|
29296
29335
|
}
|
|
29297
|
-
function
|
|
29336
|
+
function Gq(e, t) {
|
|
29298
29337
|
return Object.entries(e.properties ?? {}).every(([e, n]) => {
|
|
29299
29338
|
if (n.const !== void 0) return t(e) === n.const;
|
|
29300
29339
|
if (typeof n.pattern == "string") {
|
|
@@ -29304,18 +29343,18 @@ function Uq(e, t) {
|
|
|
29304
29343
|
return !0;
|
|
29305
29344
|
});
|
|
29306
29345
|
}
|
|
29307
|
-
function
|
|
29346
|
+
function Kq(e, t) {
|
|
29308
29347
|
let n = 0, r = {
|
|
29309
29348
|
viable: !1,
|
|
29310
29349
|
matches: -1
|
|
29311
29350
|
};
|
|
29312
29351
|
return e.forEach((e, i) => {
|
|
29313
|
-
let a =
|
|
29314
|
-
|
|
29352
|
+
let a = qq(e, t);
|
|
29353
|
+
Jq(a, r) > 0 && (n = i, r = a);
|
|
29315
29354
|
}), n;
|
|
29316
29355
|
}
|
|
29317
|
-
function
|
|
29318
|
-
return
|
|
29356
|
+
function qq(e, t) {
|
|
29357
|
+
return Gq(e, t) ? {
|
|
29319
29358
|
viable: (e.required ?? []).every((e) => t(e) !== void 0),
|
|
29320
29359
|
matches: Object.keys(e.properties ?? {}).filter((e) => t(e) !== void 0).length
|
|
29321
29360
|
} : {
|
|
@@ -29323,15 +29362,15 @@ function Gq(e, t) {
|
|
|
29323
29362
|
matches: -1
|
|
29324
29363
|
};
|
|
29325
29364
|
}
|
|
29326
|
-
function
|
|
29365
|
+
function Jq(e, t) {
|
|
29327
29366
|
return e.viable === t.viable ? e.matches - t.matches : e.viable ? 1 : -1;
|
|
29328
29367
|
}
|
|
29329
29368
|
//#endregion
|
|
29330
29369
|
//#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
|
|
29331
|
-
function
|
|
29332
|
-
let n = D(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = U(() => e.variants ?? [], [e.variants]), [l, u] = Be(() =>
|
|
29370
|
+
function Yq({ node: e, depth: t }) {
|
|
29371
|
+
let n = D(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = U(() => e.variants ?? [], [e.variants]), [l, u] = Be(() => Uq(c.map((e) => e.raw), a, s, (e) => r._getWatch(a ? `${a}.${e}` : e))), d = U(() => c[l]?.dependencyBranches ?? [], [c, l]);
|
|
29333
29372
|
if (c.length === 0) return null;
|
|
29334
|
-
let f = c[l] ?? c[0], p =
|
|
29373
|
+
let f = c[l] ?? c[0], p = n.disabled || o.readOnly === !0, m = `${a || "root"}-variant`, h = (e) => {
|
|
29335
29374
|
if (e === l) return;
|
|
29336
29375
|
let t = c[l];
|
|
29337
29376
|
if (t) {
|
|
@@ -29339,20 +29378,20 @@ function qq({ node: e, depth: t }) {
|
|
|
29339
29378
|
for (let e of t.dependencyBranches ?? []) for (let t of e.properties.keys()) r.unregister(a ? `${a}.${t}` : t);
|
|
29340
29379
|
}
|
|
29341
29380
|
s.set(a, e), u(e);
|
|
29342
|
-
},
|
|
29381
|
+
}, g = t === 0 ? o.title || "Variant" : null;
|
|
29343
29382
|
return /* @__PURE__ */ G(Ue, { children: [
|
|
29344
29383
|
/* @__PURE__ */ G(M, { children: [
|
|
29345
|
-
|
|
29346
|
-
htmlFor:
|
|
29347
|
-
children:
|
|
29384
|
+
g !== null && /* @__PURE__ */ W(b, {
|
|
29385
|
+
htmlFor: m,
|
|
29386
|
+
children: g
|
|
29348
29387
|
}),
|
|
29349
29388
|
/* @__PURE__ */ G(sV, {
|
|
29350
29389
|
value: String(l),
|
|
29351
|
-
onValueChange: (e) =>
|
|
29352
|
-
disabled:
|
|
29390
|
+
onValueChange: (e) => h(Number(e)),
|
|
29391
|
+
disabled: p,
|
|
29353
29392
|
children: [/* @__PURE__ */ W(uV, {
|
|
29354
|
-
id:
|
|
29355
|
-
"aria-label":
|
|
29393
|
+
id: m,
|
|
29394
|
+
"aria-label": g === null ? "Variant" : void 0,
|
|
29356
29395
|
children: /* @__PURE__ */ W(lV, { placeholder: "Select a variant…" })
|
|
29357
29396
|
}), /* @__PURE__ */ W(dV, { children: c.map((e, t) => /* @__PURE__ */ W(pV, {
|
|
29358
29397
|
value: String(t),
|
|
@@ -29362,19 +29401,22 @@ function qq({ node: e, depth: t }) {
|
|
|
29362
29401
|
t === 0 && o.description && /* @__PURE__ */ W(v, { children: o.description }),
|
|
29363
29402
|
o.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: o.gioConfig.banner })
|
|
29364
29403
|
] }),
|
|
29365
|
-
f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(
|
|
29404
|
+
f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(Xq, {
|
|
29366
29405
|
path: a ? `${a}.${e}` : e,
|
|
29367
29406
|
value: t
|
|
29368
29407
|
}, e)),
|
|
29369
|
-
Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(
|
|
29408
|
+
Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(tJ, {
|
|
29370
29409
|
node: n,
|
|
29371
29410
|
name: e,
|
|
29372
29411
|
depth: t + 1
|
|
29373
29412
|
}, `${l}-${e}`)),
|
|
29374
|
-
|
|
29413
|
+
d.length > 0 && /* @__PURE__ */ W(Hq, {
|
|
29414
|
+
branches: d,
|
|
29415
|
+
basePath: a
|
|
29416
|
+
}),
|
|
29417
|
+
d.map((e, n) => /* @__PURE__ */ W($K, {
|
|
29375
29418
|
condition: nq(e.showIf, a),
|
|
29376
|
-
|
|
29377
|
-
children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W($q, {
|
|
29419
|
+
children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(tJ, {
|
|
29378
29420
|
node: n,
|
|
29379
29421
|
name: e,
|
|
29380
29422
|
depth: t + 1
|
|
@@ -29382,7 +29424,7 @@ function qq({ node: e, depth: t }) {
|
|
|
29382
29424
|
}, `${l}-var-dep-${n}`))
|
|
29383
29425
|
] });
|
|
29384
29426
|
}
|
|
29385
|
-
function
|
|
29427
|
+
function Xq({ path: e, value: t }) {
|
|
29386
29428
|
let { control: n } = D(), { field: r } = A({
|
|
29387
29429
|
control: n,
|
|
29388
29430
|
name: e
|
|
@@ -29393,50 +29435,53 @@ function Jq({ path: e, value: t }) {
|
|
|
29393
29435
|
}
|
|
29394
29436
|
//#endregion
|
|
29395
29437
|
//#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
|
|
29396
|
-
function
|
|
29397
|
-
let r = D(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o = Aq(i) || jq(i), s = U(() => e.dependencyBranches ?? [], [e.dependencyBranches]), c = s.length > 0, l =
|
|
29438
|
+
function Zq({ node: e, name: t, depth: n }) {
|
|
29439
|
+
let r = D(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o = Aq(i) || jq(i), s = U(() => e.dependencyBranches ?? [], [e.dependencyBranches]), c = s.length > 0, l = (e.properties || o || c) && /* @__PURE__ */ W(m.Provider, {
|
|
29398
29440
|
value: {
|
|
29399
29441
|
...r,
|
|
29400
29442
|
basePath: a
|
|
29401
29443
|
},
|
|
29402
29444
|
children: /* @__PURE__ */ G(T, { children: [
|
|
29403
|
-
e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(
|
|
29445
|
+
e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(tJ, {
|
|
29404
29446
|
node: t,
|
|
29405
29447
|
name: e,
|
|
29406
29448
|
depth: n + 1
|
|
29407
29449
|
}, e)),
|
|
29450
|
+
c && /* @__PURE__ */ W(Hq, {
|
|
29451
|
+
branches: s,
|
|
29452
|
+
basePath: a
|
|
29453
|
+
}),
|
|
29408
29454
|
s.map((e, t) => /* @__PURE__ */ W($K, {
|
|
29409
29455
|
condition: nq(e.showIf, a),
|
|
29410
|
-
|
|
29411
|
-
children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W($q, {
|
|
29456
|
+
children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(tJ, {
|
|
29412
29457
|
node: t,
|
|
29413
29458
|
name: e,
|
|
29414
29459
|
depth: n + 1
|
|
29415
29460
|
}, e))
|
|
29416
29461
|
}, `dep-${t}`)),
|
|
29417
|
-
o && /* @__PURE__ */ W(
|
|
29462
|
+
o && /* @__PURE__ */ W(Yq, {
|
|
29418
29463
|
node: e,
|
|
29419
29464
|
depth: n
|
|
29420
29465
|
})
|
|
29421
29466
|
] })
|
|
29422
|
-
}),
|
|
29423
|
-
return n === 0 || !
|
|
29424
|
-
className:
|
|
29467
|
+
}), u = typeof i.title == "string" && i.title.length > 0 || t !== void 0 && t.length > 0, d = i.gioConfig?.uiBorder === "full";
|
|
29468
|
+
return n === 0 || !u ? /* @__PURE__ */ W(Ue, { children: l }) : /* @__PURE__ */ G(N, {
|
|
29469
|
+
className: d ? "rounded-lg border border-border px-5 pt-2 pb-5" : void 0,
|
|
29425
29470
|
children: [
|
|
29426
29471
|
/* @__PURE__ */ W(y, {
|
|
29427
|
-
className:
|
|
29472
|
+
className: d ? "px-2 text-base font-semibold" : "text-base font-semibold",
|
|
29428
29473
|
required: i.isRequired,
|
|
29429
29474
|
children: k(i, t)
|
|
29430
29475
|
}),
|
|
29431
29476
|
i.description && /* @__PURE__ */ W(v, { children: i.description }),
|
|
29432
29477
|
i.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: i.gioConfig.banner }),
|
|
29433
|
-
|
|
29478
|
+
l
|
|
29434
29479
|
]
|
|
29435
29480
|
});
|
|
29436
29481
|
}
|
|
29437
29482
|
//#endregion
|
|
29438
29483
|
//#region src/composed/PasswordInput/PasswordInput.tsx
|
|
29439
|
-
function
|
|
29484
|
+
function Qq({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, ...o }) {
|
|
29440
29485
|
let [s, c] = Be(!1);
|
|
29441
29486
|
return /* @__PURE__ */ G(PA, {
|
|
29442
29487
|
className: e,
|
|
@@ -29462,10 +29507,10 @@ function Xq({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
|
|
|
29462
29507
|
})]
|
|
29463
29508
|
});
|
|
29464
29509
|
}
|
|
29465
|
-
|
|
29510
|
+
Qq.displayName = "PasswordInput";
|
|
29466
29511
|
//#endregion
|
|
29467
29512
|
//#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
|
|
29468
|
-
function
|
|
29513
|
+
function $q({ node: t, name: n }) {
|
|
29469
29514
|
let { control: r, basePath: i, disabled: a } = D(), { schema: o } = t, s = n ? i ? `${i}.${n}` : n : i, { field: c, fieldState: l } = A({
|
|
29470
29515
|
control: r,
|
|
29471
29516
|
name: s
|
|
@@ -29490,7 +29535,7 @@ function Zq({ node: t, name: n }) {
|
|
|
29490
29535
|
children: u
|
|
29491
29536
|
}),
|
|
29492
29537
|
o.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: o.gioConfig.banner }),
|
|
29493
|
-
o.format === "text" ? /* @__PURE__ */ W(e, { ...h }) : o.format === "password" ? /* @__PURE__ */ W(
|
|
29538
|
+
o.format === "text" ? /* @__PURE__ */ W(e, { ...h }) : o.format === "password" ? /* @__PURE__ */ W(Qq, {
|
|
29494
29539
|
...h,
|
|
29495
29540
|
pattern: o.pattern
|
|
29496
29541
|
}) : /* @__PURE__ */ W(NA, {
|
|
@@ -29505,11 +29550,11 @@ function Zq({ node: t, name: n }) {
|
|
|
29505
29550
|
}
|
|
29506
29551
|
//#endregion
|
|
29507
29552
|
//#region src/composed/JsonSchemaForm/SchemaField.tsx
|
|
29508
|
-
var
|
|
29509
|
-
function
|
|
29553
|
+
var eJ = Ae(() => import("./CodeEditorField-cwZAv7Ib.js").then((e) => ({ default: e.CodeEditorField })));
|
|
29554
|
+
function tJ({ node: e, name: t, depth: n = 0 }) {
|
|
29510
29555
|
let { basePath: r } = D(), { schema: i } = e, a = t ?? "", o = t ? r ? `${r}.${t}` : t : r, s = U(() => [o], [o]), c = U(() => e.displayIf ? nq(e.displayIf, r) : void 0, [e.displayIf, r]), l = U(() => e.disableIf ? nq(e.disableIf, r) : void 0, [e.disableIf, r]);
|
|
29511
29556
|
if (i.deprecated === !0) return null;
|
|
29512
|
-
let u =
|
|
29557
|
+
let u = nJ(e, a, t, n);
|
|
29513
29558
|
return u === null ? null : (l && (u = /* @__PURE__ */ W(eq, {
|
|
29514
29559
|
condition: l,
|
|
29515
29560
|
children: u
|
|
@@ -29519,8 +29564,8 @@ function $q({ node: e, name: t, depth: n = 0 }) {
|
|
|
29519
29564
|
children: u
|
|
29520
29565
|
}) : u);
|
|
29521
29566
|
}
|
|
29522
|
-
function
|
|
29523
|
-
let { schema: i } = e, a =
|
|
29567
|
+
function nJ(e, t, n, r) {
|
|
29568
|
+
let { schema: i } = e, a = rJ(i.type);
|
|
29524
29569
|
return Array.isArray(i.enum) && i.enum.length > 0 || Eq(i) ? /* @__PURE__ */ W(Fq, {
|
|
29525
29570
|
node: e,
|
|
29526
29571
|
name: t
|
|
@@ -29532,7 +29577,7 @@ function eJ(e, t, n, r) {
|
|
|
29532
29577
|
name: t
|
|
29533
29578
|
}) : kq(i) ? /* @__PURE__ */ W(Ee, {
|
|
29534
29579
|
fallback: null,
|
|
29535
|
-
children: /* @__PURE__ */ W(
|
|
29580
|
+
children: /* @__PURE__ */ W(eJ, {
|
|
29536
29581
|
node: e,
|
|
29537
29582
|
name: t
|
|
29538
29583
|
})
|
|
@@ -29542,10 +29587,10 @@ function eJ(e, t, n, r) {
|
|
|
29542
29587
|
}) : a === "integer" || a === "number" ? /* @__PURE__ */ W(Bq, {
|
|
29543
29588
|
node: e,
|
|
29544
29589
|
name: t
|
|
29545
|
-
}) : a === "string" ? /* @__PURE__ */ W(
|
|
29590
|
+
}) : a === "string" ? /* @__PURE__ */ W($q, {
|
|
29546
29591
|
node: e,
|
|
29547
29592
|
name: t
|
|
29548
|
-
}) : i.properties || a === "object" || Aq(i) || jq(i) ? /* @__PURE__ */ W(
|
|
29593
|
+
}) : i.properties || a === "object" || Aq(i) || jq(i) ? /* @__PURE__ */ W(Zq, {
|
|
29549
29594
|
node: e,
|
|
29550
29595
|
name: n,
|
|
29551
29596
|
depth: r
|
|
@@ -29553,97 +29598,97 @@ function eJ(e, t, n, r) {
|
|
|
29553
29598
|
node: e,
|
|
29554
29599
|
name: n,
|
|
29555
29600
|
depth: r
|
|
29556
|
-
}) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${
|
|
29601
|
+
}) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${iJ(i)}). Field is omitted.`), null);
|
|
29557
29602
|
}
|
|
29558
|
-
function
|
|
29603
|
+
function rJ(e) {
|
|
29559
29604
|
return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
|
|
29560
29605
|
}
|
|
29561
|
-
function
|
|
29606
|
+
function iJ(e) {
|
|
29562
29607
|
return e.type ? Array.isArray(e.type) ? e.type.join("|") : e.type : e.oneOf ? "oneOf" : e.anyOf ? "anyOf" : e.allOf ? "allOf" : e.const === void 0 ? "unknown" : "const";
|
|
29563
29608
|
}
|
|
29564
29609
|
//#endregion
|
|
29565
29610
|
//#region src/composed/JsonSchemaForm/schema/preprocess/liftRequired.ts
|
|
29566
|
-
function
|
|
29567
|
-
return
|
|
29611
|
+
function aJ(e) {
|
|
29612
|
+
return oJ(e);
|
|
29568
29613
|
}
|
|
29569
|
-
function
|
|
29614
|
+
function oJ(e) {
|
|
29570
29615
|
let t = { ...e };
|
|
29571
29616
|
if (t.properties) {
|
|
29572
29617
|
let e = new Set(t.required ?? []), n = {};
|
|
29573
29618
|
for (let [r, i] of Object.entries(t.properties)) {
|
|
29574
|
-
let t =
|
|
29619
|
+
let t = oJ(i);
|
|
29575
29620
|
e.has(r) && (t.isRequired = !0, t.type === "string" && t.minLength === void 0 && t.const === void 0 && !Array.isArray(t.enum) && !Array.isArray(t.oneOf) && !Array.isArray(t.anyOf) && (t.minLength = 1), t.type === "array" && t.minItems === void 0 && t.const === void 0 && !Array.isArray(t.enum) && (t.minItems = 1)), n[r] = t;
|
|
29576
29621
|
}
|
|
29577
29622
|
t.properties = n;
|
|
29578
29623
|
}
|
|
29579
|
-
return t.items &&= Array.isArray(t.items) ? t.items.map(
|
|
29624
|
+
return t.items &&= Array.isArray(t.items) ? t.items.map(oJ) : oJ(t.items), t.oneOf &&= t.oneOf.map(oJ), t.anyOf &&= t.anyOf.map(oJ), t.allOf &&= t.allOf.map(oJ), t.dependencies &&= rq(t.dependencies, oJ), t;
|
|
29580
29625
|
}
|
|
29581
29626
|
//#endregion
|
|
29582
29627
|
//#region src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts
|
|
29583
|
-
function
|
|
29628
|
+
function sJ(e) {
|
|
29584
29629
|
if (e.deprecated === !0) return { deprecated: !0 };
|
|
29585
29630
|
let t = { ...e };
|
|
29586
29631
|
if (e.properties) {
|
|
29587
29632
|
let n = [];
|
|
29588
29633
|
t.properties = {};
|
|
29589
|
-
for (let [r, i] of Object.entries(e.properties)) i.deprecated === !0 && n.push(r), t.properties[r] =
|
|
29634
|
+
for (let [r, i] of Object.entries(e.properties)) i.deprecated === !0 && n.push(r), t.properties[r] = sJ(i);
|
|
29590
29635
|
n.length > 0 && e.required && (t.required = e.required.filter((e) => !n.includes(e)));
|
|
29591
29636
|
}
|
|
29592
|
-
return e.items && !Array.isArray(e.items) && (t.items =
|
|
29637
|
+
return e.items && !Array.isArray(e.items) && (t.items = sJ(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => e.deprecated !== !0).map(sJ)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => e.deprecated !== !0).map(sJ)), e.dependencies && (t.dependencies = rq(e.dependencies, sJ)), t;
|
|
29593
29638
|
}
|
|
29594
29639
|
//#endregion
|
|
29595
29640
|
//#region src/composed/JsonSchemaForm/schema/buildIndex.ts
|
|
29596
|
-
function
|
|
29597
|
-
let n =
|
|
29641
|
+
function cJ(e, t = "") {
|
|
29642
|
+
let n = aJ(sJ(iq(dq(e)))), r = /* @__PURE__ */ new Map();
|
|
29598
29643
|
return {
|
|
29599
|
-
root:
|
|
29644
|
+
root: lJ(n, "", !1, r, "", t),
|
|
29600
29645
|
nodeByPath: r,
|
|
29601
29646
|
variantIndices: /* @__PURE__ */ new Map()
|
|
29602
29647
|
};
|
|
29603
29648
|
}
|
|
29604
|
-
function
|
|
29649
|
+
function lJ(e, t, n, r, i = "", a = "") {
|
|
29605
29650
|
let o = {
|
|
29606
29651
|
rhfPath: t,
|
|
29607
29652
|
schema: e,
|
|
29608
29653
|
isRequired: n
|
|
29609
29654
|
};
|
|
29610
|
-
if (e.gioConfig?.displayIf && (o.displayIf =
|
|
29655
|
+
if (e.gioConfig?.displayIf && (o.displayIf = mJ(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = mJ(e.gioConfig.disableIf, i, a)), e.properties) {
|
|
29611
29656
|
let n = new Set(e.required ?? []), i = /* @__PURE__ */ new Map();
|
|
29612
29657
|
for (let [o, s] of Object.entries(e.properties)) {
|
|
29613
29658
|
let e = t ? `${t}.${o}` : o;
|
|
29614
|
-
i.set(o,
|
|
29659
|
+
i.set(o, lJ(s, e, n.has(o), r, t, a));
|
|
29615
29660
|
}
|
|
29616
29661
|
o.properties = i;
|
|
29617
29662
|
}
|
|
29618
29663
|
if (e.items && !Array.isArray(e.items)) {
|
|
29619
29664
|
let n = t ? `${t}.*` : "*";
|
|
29620
|
-
o.items =
|
|
29665
|
+
o.items = lJ(e.items, n, !1, r, t, a);
|
|
29621
29666
|
}
|
|
29622
29667
|
let s = e.oneOf ?? e.anyOf;
|
|
29623
|
-
if (Array.isArray(s) && s.length > 0 && (o.variants =
|
|
29624
|
-
let n =
|
|
29668
|
+
if (Array.isArray(s) && s.length > 0 && (o.variants = uJ(s).map((e) => dJ(e, t, a))), e.dependencies) {
|
|
29669
|
+
let n = gJ(e.dependencies, t, a);
|
|
29625
29670
|
n.length > 0 && (o.dependencyBranches = n);
|
|
29626
29671
|
}
|
|
29627
29672
|
return r.set(t, o), o;
|
|
29628
29673
|
}
|
|
29629
|
-
function
|
|
29674
|
+
function uJ(e) {
|
|
29630
29675
|
let t = /* @__PURE__ */ new Set();
|
|
29631
29676
|
return e.filter((e) => typeof e.title == "string" ? t.has(e.title) ? !1 : (t.add(e.title), !0) : !0);
|
|
29632
29677
|
}
|
|
29633
|
-
function
|
|
29678
|
+
function dJ(e, t, n) {
|
|
29634
29679
|
let r = new Set(e.required ?? []), i = /* @__PURE__ */ new Map(), a = [];
|
|
29635
29680
|
for (let [o, s] of Object.entries(e.properties ?? {})) {
|
|
29636
|
-
let e =
|
|
29681
|
+
let e = fJ(s);
|
|
29637
29682
|
e && a.push({
|
|
29638
29683
|
key: o,
|
|
29639
29684
|
value: e.value
|
|
29640
29685
|
});
|
|
29641
29686
|
let c = t ? `${t}.${o}` : o;
|
|
29642
|
-
i.set(o,
|
|
29687
|
+
i.set(o, pJ(s, c, r.has(o), t, n));
|
|
29643
29688
|
}
|
|
29644
29689
|
let o;
|
|
29645
29690
|
if (e.dependencies) {
|
|
29646
|
-
let r =
|
|
29691
|
+
let r = gJ(e.dependencies, t, n);
|
|
29647
29692
|
r.length > 0 && (o = r);
|
|
29648
29693
|
}
|
|
29649
29694
|
return {
|
|
@@ -29654,21 +29699,21 @@ function lJ(e, t, n) {
|
|
|
29654
29699
|
raw: e
|
|
29655
29700
|
};
|
|
29656
29701
|
}
|
|
29657
|
-
function
|
|
29702
|
+
function fJ(e) {
|
|
29658
29703
|
if (e.const !== void 0) return { value: e.const };
|
|
29659
29704
|
if (Array.isArray(e.enum) && e.enum.length === 1) return { value: e.enum[0] };
|
|
29660
29705
|
}
|
|
29661
|
-
function
|
|
29662
|
-
return
|
|
29706
|
+
function pJ(e, t, n, r, i) {
|
|
29707
|
+
return lJ(e, t, n, /* @__PURE__ */ new Map(), r, i);
|
|
29663
29708
|
}
|
|
29664
|
-
function
|
|
29709
|
+
function mJ(e, t, n) {
|
|
29665
29710
|
let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
29666
29711
|
for (let [a, o] of Object.entries(e.$eq)) {
|
|
29667
29712
|
if (a.startsWith("context.")) {
|
|
29668
29713
|
i.set(a.slice(8), o);
|
|
29669
29714
|
continue;
|
|
29670
29715
|
}
|
|
29671
|
-
let e =
|
|
29716
|
+
let e = hJ(a, t, n);
|
|
29672
29717
|
if (e === null) {
|
|
29673
29718
|
console.warn(`[JsonSchemaForm] gioConfig path "${a}" is unsupported (expected value.X / ./X / ../X / context.X).`);
|
|
29674
29719
|
continue;
|
|
@@ -29680,7 +29725,7 @@ function fJ(e, t, n) {
|
|
|
29680
29725
|
$eqContext: i
|
|
29681
29726
|
} : { $eq: r };
|
|
29682
29727
|
}
|
|
29683
|
-
function
|
|
29728
|
+
function hJ(e, t, n) {
|
|
29684
29729
|
let r = null;
|
|
29685
29730
|
if (e.startsWith("value.")) r = e.slice(6);
|
|
29686
29731
|
else if (e.startsWith("./")) {
|
|
@@ -29694,24 +29739,24 @@ function pJ(e, t, n) {
|
|
|
29694
29739
|
}
|
|
29695
29740
|
return r === null ? null : n ? `${n}.${r}` : r;
|
|
29696
29741
|
}
|
|
29697
|
-
function
|
|
29742
|
+
function gJ(e, t, n) {
|
|
29698
29743
|
return Object.entries(e).flatMap(([e, r]) => {
|
|
29699
|
-
let i =
|
|
29744
|
+
let i = _J(e, r);
|
|
29700
29745
|
if (!i) return [];
|
|
29701
29746
|
let a = t ? `${t}.${e}` : e;
|
|
29702
|
-
return i.map((r) =>
|
|
29747
|
+
return i.map((r) => vJ(r, e, a, t, n));
|
|
29703
29748
|
});
|
|
29704
29749
|
}
|
|
29705
|
-
function
|
|
29750
|
+
function _J(e, t) {
|
|
29706
29751
|
let n = typeof t == "object" && t && !Array.isArray(t) ? t : null;
|
|
29707
|
-
return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 &&
|
|
29752
|
+
return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && fJ(t.properties[e]) !== void 0) ? n.oneOf : (console.warn(`[JsonSchemaForm] dependencies."${e}".oneOf has at least one variant missing a \`const\` (or single-value \`enum\`) discriminator on "${e}". Skipping the whole dependency (no partial unfold).`), null) : (console.warn(`[JsonSchemaForm] dependencies."${e}" is not a discriminator-oneOf shape (only \`{ oneOf: [...] }\` with const discriminators is supported). Skipping.`), null);
|
|
29708
29753
|
}
|
|
29709
|
-
function
|
|
29710
|
-
let a =
|
|
29754
|
+
function vJ(e, t, n, r, i) {
|
|
29755
|
+
let a = fJ(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
|
|
29711
29756
|
for (let [n, a] of Object.entries(e.properties ?? {})) {
|
|
29712
29757
|
if (n === t) continue;
|
|
29713
29758
|
let e = r ? `${r}.${n}` : n;
|
|
29714
|
-
s.set(n,
|
|
29759
|
+
s.set(n, pJ(a, e, o.has(n), r, i));
|
|
29715
29760
|
}
|
|
29716
29761
|
let c = i ? `${i}.${n}` : n;
|
|
29717
29762
|
return {
|
|
@@ -29722,12 +29767,12 @@ function gJ(e, t, n, r, i) {
|
|
|
29722
29767
|
}
|
|
29723
29768
|
//#endregion
|
|
29724
29769
|
//#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
|
|
29725
|
-
function
|
|
29770
|
+
function yJ({ schema: e, control: t, name: n = "", disabled: r = !1, context: i }) {
|
|
29726
29771
|
let a = U(() => {
|
|
29727
29772
|
try {
|
|
29728
29773
|
return {
|
|
29729
29774
|
ok: !0,
|
|
29730
|
-
value:
|
|
29775
|
+
value: cJ(e, n)
|
|
29731
29776
|
};
|
|
29732
29777
|
} catch (e) {
|
|
29733
29778
|
return {
|
|
@@ -29756,7 +29801,7 @@ function _J({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
|
|
|
29756
29801
|
]);
|
|
29757
29802
|
return o.ok ? /* @__PURE__ */ W(m.Provider, {
|
|
29758
29803
|
value: o.contextValue,
|
|
29759
|
-
children: /* @__PURE__ */ W(
|
|
29804
|
+
children: /* @__PURE__ */ W(tJ, { node: o.contextValue.index.root })
|
|
29760
29805
|
}) : /* @__PURE__ */ G("p", {
|
|
29761
29806
|
role: "alert",
|
|
29762
29807
|
className: "text-sm text-destructive",
|
|
@@ -29765,7 +29810,7 @@ function _J({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
|
|
|
29765
29810
|
}
|
|
29766
29811
|
//#endregion
|
|
29767
29812
|
//#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
|
|
29768
|
-
function
|
|
29813
|
+
function bJ(...e) {
|
|
29769
29814
|
return async (t, n, r) => {
|
|
29770
29815
|
let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
|
|
29771
29816
|
for (let e of i) Object.assign(a, e.errors);
|
|
@@ -29780,7 +29825,7 @@ function vJ(...e) {
|
|
|
29780
29825
|
}
|
|
29781
29826
|
//#endregion
|
|
29782
29827
|
//#region ../../node_modules/ajv/dist/compile/codegen/code.js
|
|
29783
|
-
var
|
|
29828
|
+
var xJ = /* @__PURE__ */ K(((e) => {
|
|
29784
29829
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.regexpCode = e.getEsmExportName = e.getProperty = e.safeStringify = e.stringify = e.strConcat = e.addCodeArg = e.str = e._ = e.nil = e._Code = e.Name = e.IDENTIFIER = e._CodeOrName = void 0;
|
|
29785
29830
|
var t = class {};
|
|
29786
29831
|
e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
|
|
@@ -29885,9 +29930,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
29885
29930
|
return new r(e.toString());
|
|
29886
29931
|
}
|
|
29887
29932
|
e.regexpCode = g;
|
|
29888
|
-
})),
|
|
29933
|
+
})), SJ = /* @__PURE__ */ K(((e) => {
|
|
29889
29934
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
|
|
29890
|
-
var t =
|
|
29935
|
+
var t = xJ(), n = class extends Error {
|
|
29891
29936
|
constructor(e) {
|
|
29892
29937
|
super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
|
|
29893
29938
|
}
|
|
@@ -29996,9 +30041,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
29996
30041
|
return c;
|
|
29997
30042
|
}
|
|
29998
30043
|
};
|
|
29999
|
-
})),
|
|
30044
|
+
})), CJ = /* @__PURE__ */ K(((e) => {
|
|
30000
30045
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
|
|
30001
|
-
var t =
|
|
30046
|
+
var t = xJ(), n = SJ(), r = xJ();
|
|
30002
30047
|
Object.defineProperty(e, "_", {
|
|
30003
30048
|
enumerable: !0,
|
|
30004
30049
|
get: function() {
|
|
@@ -30040,7 +30085,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30040
30085
|
return r.Name;
|
|
30041
30086
|
}
|
|
30042
30087
|
});
|
|
30043
|
-
var i =
|
|
30088
|
+
var i = SJ();
|
|
30044
30089
|
Object.defineProperty(e, "Scope", {
|
|
30045
30090
|
enumerable: !0,
|
|
30046
30091
|
get: function() {
|
|
@@ -30511,9 +30556,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30511
30556
|
function L(e) {
|
|
30512
30557
|
return e instanceof t.Name ? e : (0, t._)`(${e})`;
|
|
30513
30558
|
}
|
|
30514
|
-
})),
|
|
30559
|
+
})), wJ = /* @__PURE__ */ K(((e) => {
|
|
30515
30560
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.checkStrictMode = e.getErrorPath = e.Type = e.useFunc = e.setEvaluated = e.evaluatedPropsToName = e.mergeEvaluated = e.eachItem = e.unescapeJsonPointer = e.escapeJsonPointer = e.escapeFragment = e.unescapeFragment = e.schemaRefOrVal = e.schemaHasRulesButRef = e.schemaHasRules = e.checkUnknownRules = e.alwaysValidSchema = e.toHash = void 0;
|
|
30516
|
-
var t =
|
|
30561
|
+
var t = CJ(), n = xJ();
|
|
30517
30562
|
function r(e) {
|
|
30518
30563
|
let t = {};
|
|
30519
30564
|
for (let n of e) t[n] = !0;
|
|
@@ -30636,9 +30681,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30636
30681
|
}
|
|
30637
30682
|
}
|
|
30638
30683
|
e.checkStrictMode = x;
|
|
30639
|
-
})),
|
|
30684
|
+
})), TJ = /* @__PURE__ */ K(((e) => {
|
|
30640
30685
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
30641
|
-
var t =
|
|
30686
|
+
var t = CJ();
|
|
30642
30687
|
e.default = {
|
|
30643
30688
|
data: new t.Name("data"),
|
|
30644
30689
|
valCxt: new t.Name("valCxt"),
|
|
@@ -30657,9 +30702,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30657
30702
|
jsonLen: new t.Name("jsonLen"),
|
|
30658
30703
|
jsonPart: new t.Name("jsonPart")
|
|
30659
30704
|
};
|
|
30660
|
-
})),
|
|
30705
|
+
})), EJ = /* @__PURE__ */ K(((e) => {
|
|
30661
30706
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
|
|
30662
|
-
var t =
|
|
30707
|
+
var t = CJ(), n = wJ(), r = TJ();
|
|
30663
30708
|
e.keywordError = { message: ({ keyword: e }) => (0, t.str)`must pass "${e}" keyword validation` }, e.keyword$DataError = { message: ({ keyword: e, schemaType: n }) => n ? (0, t.str)`"${e}" keyword must be ${n} ($data)` : (0, t.str)`"${e}" keyword is invalid ($data)` };
|
|
30664
30709
|
function i(n, r = e.keywordError, i, a) {
|
|
30665
30710
|
let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
|
|
@@ -30721,9 +30766,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30721
30766
|
let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
|
|
30722
30767
|
a.push([u.keyword, o], [u.params, typeof n == "function" ? n(e) : n || (0, t._)`{}`]), d.messages && a.push([u.message, typeof i == "function" ? i(e) : i]), d.verbose && a.push([u.schema, c], [u.parentSchema, (0, t._)`${p}${m}`], [r.default.data, s]), f && a.push([u.propertyName, f]);
|
|
30723
30768
|
}
|
|
30724
|
-
})),
|
|
30769
|
+
})), DJ = /* @__PURE__ */ K(((e) => {
|
|
30725
30770
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
|
|
30726
|
-
var t =
|
|
30771
|
+
var t = EJ(), n = CJ(), r = TJ(), i = { message: "boolean schema is false" };
|
|
30727
30772
|
function a(e) {
|
|
30728
30773
|
let { gen: t, schema: i, validateName: a } = e;
|
|
30729
30774
|
i === !1 ? s(e, !1) : typeof i == "object" && i.$async === !0 ? t.return(r.default.data) : (t.assign((0, n._)`${a}.errors`, null), t.return(!0));
|
|
@@ -30747,7 +30792,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30747
30792
|
};
|
|
30748
30793
|
(0, t.reportError)(o, i, void 0, n);
|
|
30749
30794
|
}
|
|
30750
|
-
})),
|
|
30795
|
+
})), OJ = /* @__PURE__ */ K(((e) => {
|
|
30751
30796
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
|
|
30752
30797
|
var t = new Set([
|
|
30753
30798
|
"string",
|
|
@@ -30801,7 +30846,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30801
30846
|
};
|
|
30802
30847
|
}
|
|
30803
30848
|
e.getRules = r;
|
|
30804
|
-
})),
|
|
30849
|
+
})), kJ = /* @__PURE__ */ K(((e) => {
|
|
30805
30850
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
|
|
30806
30851
|
function t({ schema: e, self: t }, r) {
|
|
30807
30852
|
let i = t.RULES.types[r];
|
|
@@ -30816,9 +30861,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30816
30861
|
return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
|
|
30817
30862
|
}
|
|
30818
30863
|
e.shouldUseRule = r;
|
|
30819
|
-
})),
|
|
30864
|
+
})), AJ = /* @__PURE__ */ K(((e) => {
|
|
30820
30865
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
|
|
30821
|
-
var t =
|
|
30866
|
+
var t = OJ(), n = kJ(), r = EJ(), i = CJ(), a = wJ(), o;
|
|
30822
30867
|
(function(e) {
|
|
30823
30868
|
e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
|
|
30824
30869
|
})(o || (e.DataType = o = {}));
|
|
@@ -30953,9 +30998,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30953
30998
|
it: e
|
|
30954
30999
|
};
|
|
30955
31000
|
}
|
|
30956
|
-
})),
|
|
31001
|
+
})), jJ = /* @__PURE__ */ K(((e) => {
|
|
30957
31002
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
|
|
30958
|
-
var t =
|
|
31003
|
+
var t = CJ(), n = wJ();
|
|
30959
31004
|
function r(e, t) {
|
|
30960
31005
|
let { properties: n, items: r } = e.schema;
|
|
30961
31006
|
if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
|
|
@@ -30973,9 +31018,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30973
31018
|
let u = (0, t._)`${l} === undefined`;
|
|
30974
31019
|
c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
|
|
30975
31020
|
}
|
|
30976
|
-
})),
|
|
31021
|
+
})), MJ = /* @__PURE__ */ K(((e) => {
|
|
30977
31022
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateUnion = e.validateArray = e.usePattern = e.callValidateCode = e.schemaProperties = e.allSchemaProperties = e.noPropertyInData = e.propertyInData = e.isOwnProperty = e.hasPropFunc = e.reportMissingProp = e.checkMissingProp = e.checkReportMissingProp = void 0;
|
|
30978
|
-
var t =
|
|
31023
|
+
var t = CJ(), n = wJ(), r = TJ(), i = wJ();
|
|
30979
31024
|
function a(e, n) {
|
|
30980
31025
|
let { gen: r, data: i, it: a } = e;
|
|
30981
31026
|
r.if(d(r, i, n, a.opts.ownProperties), () => {
|
|
@@ -31077,9 +31122,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31077
31122
|
})), e.result(s, () => e.reset(), () => e.error(!0));
|
|
31078
31123
|
}
|
|
31079
31124
|
e.validateUnion = v;
|
|
31080
|
-
})),
|
|
31125
|
+
})), NJ = /* @__PURE__ */ K(((e) => {
|
|
31081
31126
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
|
|
31082
|
-
var t =
|
|
31127
|
+
var t = CJ(), n = TJ(), r = MJ(), i = EJ();
|
|
31083
31128
|
function a(e, n) {
|
|
31084
31129
|
let { gen: r, keyword: i, schema: a, parentSchema: o, it: s } = e, c = n.macro.call(s.self, a, o, s), l = u(r, i, c);
|
|
31085
31130
|
s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
|
|
@@ -31158,9 +31203,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31158
31203
|
}
|
|
31159
31204
|
}
|
|
31160
31205
|
e.validateKeywordUsage = f;
|
|
31161
|
-
})),
|
|
31206
|
+
})), PJ = /* @__PURE__ */ K(((e) => {
|
|
31162
31207
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
|
|
31163
|
-
var t =
|
|
31208
|
+
var t = CJ(), n = wJ();
|
|
31164
31209
|
function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
|
|
31165
31210
|
if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
|
|
31166
31211
|
if (r !== void 0) {
|
|
@@ -31204,7 +31249,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31204
31249
|
r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
|
|
31205
31250
|
}
|
|
31206
31251
|
e.extendSubschemaMode = a;
|
|
31207
|
-
})),
|
|
31252
|
+
})), FJ = /* @__PURE__ */ K(((e, t) => {
|
|
31208
31253
|
t.exports = function e(t, n) {
|
|
31209
31254
|
if (t === n) return !0;
|
|
31210
31255
|
if (t && n && typeof t == "object" && typeof n == "object") {
|
|
@@ -31228,7 +31273,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31228
31273
|
}
|
|
31229
31274
|
return t !== t && n !== n;
|
|
31230
31275
|
};
|
|
31231
|
-
})),
|
|
31276
|
+
})), IJ = /* @__PURE__ */ K(((e, t) => {
|
|
31232
31277
|
var n = t.exports = function(e, t, n) {
|
|
31233
31278
|
typeof t == "function" && (n = t, t = {}), n = t.cb || n;
|
|
31234
31279
|
var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
|
|
@@ -31291,9 +31336,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31291
31336
|
function i(e) {
|
|
31292
31337
|
return e.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
31293
31338
|
}
|
|
31294
|
-
})),
|
|
31339
|
+
})), LJ = /* @__PURE__ */ K(((e) => {
|
|
31295
31340
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
|
|
31296
|
-
var t =
|
|
31341
|
+
var t = wJ(), n = FJ(), r = IJ(), i = new Set([
|
|
31297
31342
|
"type",
|
|
31298
31343
|
"format",
|
|
31299
31344
|
"pattern",
|
|
@@ -31382,9 +31427,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31382
31427
|
}
|
|
31383
31428
|
}
|
|
31384
31429
|
e.getSchemaRefs = h;
|
|
31385
|
-
})),
|
|
31430
|
+
})), RJ = /* @__PURE__ */ K(((e) => {
|
|
31386
31431
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
|
|
31387
|
-
var t =
|
|
31432
|
+
var t = DJ(), n = AJ(), r = kJ(), i = AJ(), a = jJ(), o = NJ(), s = PJ(), c = CJ(), l = TJ(), u = LJ(), d = wJ(), f = EJ();
|
|
31388
31433
|
function p(e) {
|
|
31389
31434
|
if (S(e) && (w(e), x(e))) {
|
|
31390
31435
|
_(e);
|
|
@@ -31674,23 +31719,23 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31674
31719
|
}
|
|
31675
31720
|
}
|
|
31676
31721
|
e.getData = se;
|
|
31677
|
-
})),
|
|
31722
|
+
})), zJ = /* @__PURE__ */ K(((e) => {
|
|
31678
31723
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
|
|
31679
31724
|
constructor(e) {
|
|
31680
31725
|
super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
|
|
31681
31726
|
}
|
|
31682
31727
|
};
|
|
31683
|
-
})),
|
|
31728
|
+
})), BJ = /* @__PURE__ */ K(((e) => {
|
|
31684
31729
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
31685
|
-
var t =
|
|
31730
|
+
var t = LJ();
|
|
31686
31731
|
e.default = class extends Error {
|
|
31687
31732
|
constructor(e, n, r, i) {
|
|
31688
31733
|
super(i || `can't resolve reference ${r} from id ${n}`), this.missingRef = (0, t.resolveUrl)(e, n, r), this.missingSchema = (0, t.normalizeId)((0, t.getFullPath)(e, this.missingRef));
|
|
31689
31734
|
}
|
|
31690
31735
|
};
|
|
31691
|
-
})),
|
|
31736
|
+
})), VJ = /* @__PURE__ */ K(((e) => {
|
|
31692
31737
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
|
|
31693
|
-
var t =
|
|
31738
|
+
var t = CJ(), n = zJ(), r = TJ(), i = LJ(), a = wJ(), o = RJ(), s = class {
|
|
31694
31739
|
constructor(e) {
|
|
31695
31740
|
this.refs = {}, this.dynamicAnchors = {};
|
|
31696
31741
|
let t;
|
|
@@ -31849,27 +31894,27 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31849
31894
|
baseId: t
|
|
31850
31895
|
}), o.schema !== o.root.schema) return o;
|
|
31851
31896
|
}
|
|
31852
|
-
})),
|
|
31853
|
-
$id: () =>
|
|
31897
|
+
})), HJ = /* @__PURE__ */ it({
|
|
31898
|
+
$id: () => UJ,
|
|
31854
31899
|
additionalProperties: () => !1,
|
|
31855
|
-
default: () =>
|
|
31856
|
-
description: () =>
|
|
31857
|
-
properties: () =>
|
|
31858
|
-
required: () =>
|
|
31859
|
-
type: () =>
|
|
31860
|
-
}),
|
|
31861
|
-
|
|
31900
|
+
default: () => JJ,
|
|
31901
|
+
description: () => WJ,
|
|
31902
|
+
properties: () => qJ,
|
|
31903
|
+
required: () => KJ,
|
|
31904
|
+
type: () => GJ
|
|
31905
|
+
}), UJ, WJ, GJ, KJ, qJ, JJ, YJ = rt((() => {
|
|
31906
|
+
UJ = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", WJ = "Meta-schema for $data reference (JSON AnySchema extension proposal)", GJ = "object", KJ = ["$data"], qJ = { $data: {
|
|
31862
31907
|
type: "string",
|
|
31863
31908
|
anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
|
|
31864
|
-
} },
|
|
31865
|
-
$id:
|
|
31866
|
-
description:
|
|
31867
|
-
type:
|
|
31868
|
-
required:
|
|
31869
|
-
properties:
|
|
31909
|
+
} }, JJ = {
|
|
31910
|
+
$id: UJ,
|
|
31911
|
+
description: WJ,
|
|
31912
|
+
type: GJ,
|
|
31913
|
+
required: KJ,
|
|
31914
|
+
properties: qJ,
|
|
31870
31915
|
additionalProperties: !1
|
|
31871
31916
|
};
|
|
31872
|
-
})),
|
|
31917
|
+
})), XJ = /* @__PURE__ */ K(((e, t) => {
|
|
31873
31918
|
var n = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), r = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u), i = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu), a = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), o = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
|
|
31874
31919
|
function s(e) {
|
|
31875
31920
|
let t = "", n = 0, r = 0;
|
|
@@ -32081,8 +32126,8 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32081
32126
|
normalizeIPv6: f,
|
|
32082
32127
|
stringArrayToHexStripped: s
|
|
32083
32128
|
};
|
|
32084
|
-
})),
|
|
32085
|
-
var { isUUID: n } =
|
|
32129
|
+
})), ZJ = /* @__PURE__ */ K(((e, t) => {
|
|
32130
|
+
var { isUUID: n } = XJ(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
|
|
32086
32131
|
"http",
|
|
32087
32132
|
"https",
|
|
32088
32133
|
"ws",
|
|
@@ -32187,8 +32232,8 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32187
32232
|
isValidSchemeName: a,
|
|
32188
32233
|
getSchemeHandler: y
|
|
32189
32234
|
};
|
|
32190
|
-
})),
|
|
32191
|
-
var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } =
|
|
32235
|
+
})), QJ = /* @__PURE__ */ K(((e, t) => {
|
|
32236
|
+
var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } = XJ(), { SCHEMES: d, getSchemeHandler: f } = ZJ();
|
|
32192
32237
|
function p(e, t) {
|
|
32193
32238
|
return typeof e == "string" ? e = S(e, t) : typeof e == "object" && (e = x(_(e, t), t)), e;
|
|
32194
32239
|
}
|
|
@@ -32302,20 +32347,20 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32302
32347
|
parse: x
|
|
32303
32348
|
};
|
|
32304
32349
|
t.exports = T, t.exports.default = T, t.exports.fastUri = T;
|
|
32305
|
-
})),
|
|
32350
|
+
})), $J = /* @__PURE__ */ K(((e) => {
|
|
32306
32351
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32307
|
-
var t =
|
|
32352
|
+
var t = QJ();
|
|
32308
32353
|
t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
|
|
32309
|
-
})),
|
|
32354
|
+
})), eY = /* @__PURE__ */ K(((e) => {
|
|
32310
32355
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
|
|
32311
|
-
var t =
|
|
32356
|
+
var t = RJ();
|
|
32312
32357
|
Object.defineProperty(e, "KeywordCxt", {
|
|
32313
32358
|
enumerable: !0,
|
|
32314
32359
|
get: function() {
|
|
32315
32360
|
return t.KeywordCxt;
|
|
32316
32361
|
}
|
|
32317
32362
|
});
|
|
32318
|
-
var n =
|
|
32363
|
+
var n = CJ();
|
|
32319
32364
|
Object.defineProperty(e, "_", {
|
|
32320
32365
|
enumerable: !0,
|
|
32321
32366
|
get: function() {
|
|
@@ -32347,7 +32392,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32347
32392
|
return n.CodeGen;
|
|
32348
32393
|
}
|
|
32349
32394
|
});
|
|
32350
|
-
var r =
|
|
32395
|
+
var r = zJ(), i = BJ(), a = OJ(), o = VJ(), s = CJ(), c = LJ(), l = AJ(), u = wJ(), d = (YJ(), st(HJ).default), f = $J(), p = (e, t) => new RegExp(e, t);
|
|
32351
32396
|
p.code = "new RegExp";
|
|
32352
32397
|
var m = [
|
|
32353
32398
|
"removeAdditional",
|
|
@@ -32733,16 +32778,16 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32733
32778
|
function F(e) {
|
|
32734
32779
|
return { anyOf: [e, P] };
|
|
32735
32780
|
}
|
|
32736
|
-
})),
|
|
32781
|
+
})), tY = /* @__PURE__ */ K(((e) => {
|
|
32737
32782
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
32738
32783
|
keyword: "id",
|
|
32739
32784
|
code() {
|
|
32740
32785
|
throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
|
|
32741
32786
|
}
|
|
32742
32787
|
};
|
|
32743
|
-
})),
|
|
32788
|
+
})), nY = /* @__PURE__ */ K(((e) => {
|
|
32744
32789
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
|
|
32745
|
-
var t =
|
|
32790
|
+
var t = BJ(), n = MJ(), r = CJ(), i = TJ(), a = VJ(), o = wJ(), s = {
|
|
32746
32791
|
keyword: "$ref",
|
|
32747
32792
|
schemaType: "string",
|
|
32748
32793
|
code(e) {
|
|
@@ -32815,9 +32860,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32815
32860
|
}
|
|
32816
32861
|
}
|
|
32817
32862
|
e.callRef = l, e.default = s;
|
|
32818
|
-
})),
|
|
32863
|
+
})), rY = /* @__PURE__ */ K(((e) => {
|
|
32819
32864
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32820
|
-
var t =
|
|
32865
|
+
var t = tY(), n = nY();
|
|
32821
32866
|
e.default = [
|
|
32822
32867
|
"$schema",
|
|
32823
32868
|
"$id",
|
|
@@ -32828,9 +32873,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32828
32873
|
t.default,
|
|
32829
32874
|
n.default
|
|
32830
32875
|
];
|
|
32831
|
-
})),
|
|
32876
|
+
})), iY = /* @__PURE__ */ K(((e) => {
|
|
32832
32877
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32833
|
-
var t =
|
|
32878
|
+
var t = CJ(), n = t.operators, r = {
|
|
32834
32879
|
maximum: {
|
|
32835
32880
|
okStr: "<=",
|
|
32836
32881
|
ok: n.LTE,
|
|
@@ -32866,9 +32911,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32866
32911
|
e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
|
|
32867
32912
|
}
|
|
32868
32913
|
};
|
|
32869
|
-
})),
|
|
32914
|
+
})), aY = /* @__PURE__ */ K(((e) => {
|
|
32870
32915
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32871
|
-
var t =
|
|
32916
|
+
var t = CJ();
|
|
32872
32917
|
e.default = {
|
|
32873
32918
|
keyword: "multipleOf",
|
|
32874
32919
|
type: "number",
|
|
@@ -32883,7 +32928,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32883
32928
|
e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
|
|
32884
32929
|
}
|
|
32885
32930
|
};
|
|
32886
|
-
})),
|
|
32931
|
+
})), oY = /* @__PURE__ */ K(((e) => {
|
|
32887
32932
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32888
32933
|
function t(e) {
|
|
32889
32934
|
let t = e.length, n = 0, r = 0, i;
|
|
@@ -32891,9 +32936,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32891
32936
|
return n;
|
|
32892
32937
|
}
|
|
32893
32938
|
e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
|
|
32894
|
-
})),
|
|
32939
|
+
})), sY = /* @__PURE__ */ K(((e) => {
|
|
32895
32940
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32896
|
-
var t =
|
|
32941
|
+
var t = CJ(), n = wJ(), r = oY();
|
|
32897
32942
|
e.default = {
|
|
32898
32943
|
keyword: ["maxLength", "minLength"],
|
|
32899
32944
|
type: "string",
|
|
@@ -32911,9 +32956,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32911
32956
|
e.fail$data((0, t._)`${l} ${c} ${o}`);
|
|
32912
32957
|
}
|
|
32913
32958
|
};
|
|
32914
|
-
})),
|
|
32959
|
+
})), cY = /* @__PURE__ */ K(((e) => {
|
|
32915
32960
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32916
|
-
var t =
|
|
32961
|
+
var t = MJ(), n = wJ(), r = CJ();
|
|
32917
32962
|
e.default = {
|
|
32918
32963
|
keyword: "pattern",
|
|
32919
32964
|
type: "string",
|
|
@@ -32934,9 +32979,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32934
32979
|
}
|
|
32935
32980
|
}
|
|
32936
32981
|
};
|
|
32937
|
-
})),
|
|
32982
|
+
})), lY = /* @__PURE__ */ K(((e) => {
|
|
32938
32983
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32939
|
-
var t =
|
|
32984
|
+
var t = CJ();
|
|
32940
32985
|
e.default = {
|
|
32941
32986
|
keyword: ["maxProperties", "minProperties"],
|
|
32942
32987
|
type: "object",
|
|
@@ -32954,9 +32999,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32954
32999
|
e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
|
|
32955
33000
|
}
|
|
32956
33001
|
};
|
|
32957
|
-
})),
|
|
33002
|
+
})), uY = /* @__PURE__ */ K(((e) => {
|
|
32958
33003
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32959
|
-
var t =
|
|
33004
|
+
var t = MJ(), n = CJ(), r = wJ();
|
|
32960
33005
|
e.default = {
|
|
32961
33006
|
keyword: "required",
|
|
32962
33007
|
type: "object",
|
|
@@ -33002,9 +33047,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33002
33047
|
}
|
|
33003
33048
|
}
|
|
33004
33049
|
};
|
|
33005
|
-
})),
|
|
33050
|
+
})), dY = /* @__PURE__ */ K(((e) => {
|
|
33006
33051
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33007
|
-
var t =
|
|
33052
|
+
var t = CJ();
|
|
33008
33053
|
e.default = {
|
|
33009
33054
|
keyword: ["maxItems", "minItems"],
|
|
33010
33055
|
type: "array",
|
|
@@ -33022,13 +33067,13 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33022
33067
|
e.fail$data((0, t._)`${r}.length ${a} ${i}`);
|
|
33023
33068
|
}
|
|
33024
33069
|
};
|
|
33025
|
-
})),
|
|
33070
|
+
})), fY = /* @__PURE__ */ K(((e) => {
|
|
33026
33071
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33027
|
-
var t =
|
|
33072
|
+
var t = FJ();
|
|
33028
33073
|
t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
|
|
33029
|
-
})),
|
|
33074
|
+
})), pY = /* @__PURE__ */ K(((e) => {
|
|
33030
33075
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33031
|
-
var t =
|
|
33076
|
+
var t = AJ(), n = CJ(), r = wJ(), i = fY();
|
|
33032
33077
|
e.default = {
|
|
33033
33078
|
keyword: "uniqueItems",
|
|
33034
33079
|
type: "array",
|
|
@@ -33069,9 +33114,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33069
33114
|
}
|
|
33070
33115
|
}
|
|
33071
33116
|
};
|
|
33072
|
-
})),
|
|
33117
|
+
})), mY = /* @__PURE__ */ K(((e) => {
|
|
33073
33118
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33074
|
-
var t =
|
|
33119
|
+
var t = CJ(), n = wJ(), r = fY();
|
|
33075
33120
|
e.default = {
|
|
33076
33121
|
keyword: "const",
|
|
33077
33122
|
$data: !0,
|
|
@@ -33084,9 +33129,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33084
33129
|
o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
|
|
33085
33130
|
}
|
|
33086
33131
|
};
|
|
33087
|
-
})),
|
|
33132
|
+
})), hY = /* @__PURE__ */ K(((e) => {
|
|
33088
33133
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33089
|
-
var t =
|
|
33134
|
+
var t = CJ(), n = wJ(), r = fY();
|
|
33090
33135
|
e.default = {
|
|
33091
33136
|
keyword: "enum",
|
|
33092
33137
|
schemaType: "array",
|
|
@@ -33116,9 +33161,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33116
33161
|
}
|
|
33117
33162
|
}
|
|
33118
33163
|
};
|
|
33119
|
-
})),
|
|
33164
|
+
})), gY = /* @__PURE__ */ K(((e) => {
|
|
33120
33165
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33121
|
-
var t =
|
|
33166
|
+
var t = iY(), n = aY(), r = sY(), i = cY(), a = lY(), o = uY(), s = dY(), c = pY(), l = mY(), u = hY();
|
|
33122
33167
|
e.default = [
|
|
33123
33168
|
t.default,
|
|
33124
33169
|
n.default,
|
|
@@ -33139,9 +33184,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33139
33184
|
l.default,
|
|
33140
33185
|
u.default
|
|
33141
33186
|
];
|
|
33142
|
-
})),
|
|
33187
|
+
})), _Y = /* @__PURE__ */ K(((e) => {
|
|
33143
33188
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
|
|
33144
|
-
var t =
|
|
33189
|
+
var t = CJ(), n = wJ(), r = {
|
|
33145
33190
|
keyword: "additionalItems",
|
|
33146
33191
|
type: "array",
|
|
33147
33192
|
schemaType: ["boolean", "object"],
|
|
@@ -33179,9 +33224,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33179
33224
|
}
|
|
33180
33225
|
}
|
|
33181
33226
|
e.validateAdditionalItems = i, e.default = r;
|
|
33182
|
-
})),
|
|
33227
|
+
})), vY = /* @__PURE__ */ K(((e) => {
|
|
33183
33228
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
|
|
33184
|
-
var t =
|
|
33229
|
+
var t = CJ(), n = wJ(), r = MJ(), i = {
|
|
33185
33230
|
keyword: "items",
|
|
33186
33231
|
type: "array",
|
|
33187
33232
|
schemaType: [
|
|
@@ -33216,9 +33261,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33216
33261
|
}
|
|
33217
33262
|
}
|
|
33218
33263
|
e.validateTuple = a, e.default = i;
|
|
33219
|
-
})),
|
|
33264
|
+
})), yY = /* @__PURE__ */ K(((e) => {
|
|
33220
33265
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33221
|
-
var t =
|
|
33266
|
+
var t = vY();
|
|
33222
33267
|
e.default = {
|
|
33223
33268
|
keyword: "prefixItems",
|
|
33224
33269
|
type: "array",
|
|
@@ -33226,9 +33271,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33226
33271
|
before: "uniqueItems",
|
|
33227
33272
|
code: (e) => (0, t.validateTuple)(e, "items")
|
|
33228
33273
|
};
|
|
33229
|
-
})),
|
|
33274
|
+
})), bY = /* @__PURE__ */ K(((e) => {
|
|
33230
33275
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33231
|
-
var t =
|
|
33276
|
+
var t = CJ(), n = wJ(), r = MJ(), i = _Y();
|
|
33232
33277
|
e.default = {
|
|
33233
33278
|
keyword: "items",
|
|
33234
33279
|
type: "array",
|
|
@@ -33243,9 +33288,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33243
33288
|
o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
|
|
33244
33289
|
}
|
|
33245
33290
|
};
|
|
33246
|
-
})),
|
|
33291
|
+
})), xY = /* @__PURE__ */ K(((e) => {
|
|
33247
33292
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33248
|
-
var t =
|
|
33293
|
+
var t = CJ(), n = wJ();
|
|
33249
33294
|
e.default = {
|
|
33250
33295
|
keyword: "contains",
|
|
33251
33296
|
type: "array",
|
|
@@ -33298,9 +33343,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33298
33343
|
}
|
|
33299
33344
|
}
|
|
33300
33345
|
};
|
|
33301
|
-
})),
|
|
33346
|
+
})), SY = /* @__PURE__ */ K(((e) => {
|
|
33302
33347
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
|
|
33303
|
-
var t =
|
|
33348
|
+
var t = CJ(), n = wJ(), r = MJ();
|
|
33304
33349
|
e.error = {
|
|
33305
33350
|
message: ({ params: { property: e, depsCount: n, deps: r } }) => {
|
|
33306
33351
|
let i = n === 1 ? "property" : "properties";
|
|
@@ -33359,9 +33404,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33359
33404
|
}, () => i.var(c, !0)), e.ok(c));
|
|
33360
33405
|
}
|
|
33361
33406
|
e.validateSchemaDeps = s, e.default = i;
|
|
33362
|
-
})),
|
|
33407
|
+
})), CY = /* @__PURE__ */ K(((e) => {
|
|
33363
33408
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33364
|
-
var t =
|
|
33409
|
+
var t = CJ(), n = wJ();
|
|
33365
33410
|
e.default = {
|
|
33366
33411
|
keyword: "propertyNames",
|
|
33367
33412
|
type: "object",
|
|
@@ -33387,9 +33432,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33387
33432
|
}), e.ok(s);
|
|
33388
33433
|
}
|
|
33389
33434
|
};
|
|
33390
|
-
})),
|
|
33435
|
+
})), wY = /* @__PURE__ */ K(((e) => {
|
|
33391
33436
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33392
|
-
var t =
|
|
33437
|
+
var t = MJ(), n = CJ(), r = TJ(), i = wJ();
|
|
33393
33438
|
e.default = {
|
|
33394
33439
|
keyword: "additionalProperties",
|
|
33395
33440
|
type: ["object"],
|
|
@@ -33454,9 +33499,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33454
33499
|
}
|
|
33455
33500
|
}
|
|
33456
33501
|
};
|
|
33457
|
-
})),
|
|
33502
|
+
})), TY = /* @__PURE__ */ K(((e) => {
|
|
33458
33503
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33459
|
-
var t =
|
|
33504
|
+
var t = RJ(), n = MJ(), r = wJ(), i = wY();
|
|
33460
33505
|
e.default = {
|
|
33461
33506
|
keyword: "properties",
|
|
33462
33507
|
type: "object",
|
|
@@ -33483,9 +33528,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33483
33528
|
}
|
|
33484
33529
|
}
|
|
33485
33530
|
};
|
|
33486
|
-
})),
|
|
33531
|
+
})), EY = /* @__PURE__ */ K(((e) => {
|
|
33487
33532
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33488
|
-
var t =
|
|
33533
|
+
var t = MJ(), n = CJ(), r = wJ(), i = wJ();
|
|
33489
33534
|
e.default = {
|
|
33490
33535
|
keyword: "patternProperties",
|
|
33491
33536
|
type: "object",
|
|
@@ -33518,9 +33563,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33518
33563
|
}
|
|
33519
33564
|
}
|
|
33520
33565
|
};
|
|
33521
|
-
})),
|
|
33566
|
+
})), DY = /* @__PURE__ */ K(((e) => {
|
|
33522
33567
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33523
|
-
var t =
|
|
33568
|
+
var t = wJ();
|
|
33524
33569
|
e.default = {
|
|
33525
33570
|
keyword: "not",
|
|
33526
33571
|
schemaType: ["object", "boolean"],
|
|
@@ -33541,17 +33586,17 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33541
33586
|
},
|
|
33542
33587
|
error: { message: "must NOT be valid" }
|
|
33543
33588
|
};
|
|
33544
|
-
})),
|
|
33589
|
+
})), OY = /* @__PURE__ */ K(((e) => {
|
|
33545
33590
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
33546
33591
|
keyword: "anyOf",
|
|
33547
33592
|
schemaType: "array",
|
|
33548
33593
|
trackErrors: !0,
|
|
33549
|
-
code:
|
|
33594
|
+
code: MJ().validateUnion,
|
|
33550
33595
|
error: { message: "must match a schema in anyOf" }
|
|
33551
33596
|
};
|
|
33552
|
-
})),
|
|
33597
|
+
})), kY = /* @__PURE__ */ K(((e) => {
|
|
33553
33598
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33554
|
-
var t =
|
|
33599
|
+
var t = CJ(), n = wJ();
|
|
33555
33600
|
e.default = {
|
|
33556
33601
|
keyword: "oneOf",
|
|
33557
33602
|
schemaType: "array",
|
|
@@ -33581,9 +33626,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33581
33626
|
}
|
|
33582
33627
|
}
|
|
33583
33628
|
};
|
|
33584
|
-
})),
|
|
33629
|
+
})), AY = /* @__PURE__ */ K(((e) => {
|
|
33585
33630
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33586
|
-
var t =
|
|
33631
|
+
var t = wJ();
|
|
33587
33632
|
e.default = {
|
|
33588
33633
|
keyword: "allOf",
|
|
33589
33634
|
schemaType: "array",
|
|
@@ -33602,9 +33647,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33602
33647
|
});
|
|
33603
33648
|
}
|
|
33604
33649
|
};
|
|
33605
|
-
})),
|
|
33650
|
+
})), jY = /* @__PURE__ */ K(((e) => {
|
|
33606
33651
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33607
|
-
var t =
|
|
33652
|
+
var t = CJ(), n = wJ(), r = {
|
|
33608
33653
|
keyword: "if",
|
|
33609
33654
|
schemaType: ["object", "boolean"],
|
|
33610
33655
|
trackErrors: !0,
|
|
@@ -33645,9 +33690,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33645
33690
|
return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
|
|
33646
33691
|
}
|
|
33647
33692
|
e.default = r;
|
|
33648
|
-
})),
|
|
33693
|
+
})), MY = /* @__PURE__ */ K(((e) => {
|
|
33649
33694
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33650
|
-
var t =
|
|
33695
|
+
var t = wJ();
|
|
33651
33696
|
e.default = {
|
|
33652
33697
|
keyword: ["then", "else"],
|
|
33653
33698
|
schemaType: ["object", "boolean"],
|
|
@@ -33655,9 +33700,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33655
33700
|
n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
|
|
33656
33701
|
}
|
|
33657
33702
|
};
|
|
33658
|
-
})),
|
|
33703
|
+
})), NY = /* @__PURE__ */ K(((e) => {
|
|
33659
33704
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33660
|
-
var t =
|
|
33705
|
+
var t = _Y(), n = yY(), r = vY(), i = bY(), a = xY(), o = SY(), s = CY(), c = wY(), l = TY(), u = EY(), d = DY(), f = OY(), p = kY(), m = AY(), h = jY(), g = MY();
|
|
33661
33706
|
function _(e = !1) {
|
|
33662
33707
|
let _ = [
|
|
33663
33708
|
d.default,
|
|
@@ -33675,9 +33720,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33675
33720
|
return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
|
|
33676
33721
|
}
|
|
33677
33722
|
e.default = _;
|
|
33678
|
-
})),
|
|
33723
|
+
})), PY = /* @__PURE__ */ K(((e) => {
|
|
33679
33724
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33680
|
-
var t =
|
|
33725
|
+
var t = CJ();
|
|
33681
33726
|
e.default = {
|
|
33682
33727
|
keyword: "format",
|
|
33683
33728
|
type: ["number", "string"],
|
|
@@ -33750,9 +33795,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33750
33795
|
}
|
|
33751
33796
|
}
|
|
33752
33797
|
};
|
|
33753
|
-
})),
|
|
33754
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [
|
|
33755
|
-
})),
|
|
33798
|
+
})), FY = /* @__PURE__ */ K(((e) => {
|
|
33799
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [PY().default];
|
|
33800
|
+
})), IY = /* @__PURE__ */ K(((e) => {
|
|
33756
33801
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
|
|
33757
33802
|
"title",
|
|
33758
33803
|
"description",
|
|
@@ -33766,9 +33811,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33766
33811
|
"contentEncoding",
|
|
33767
33812
|
"contentSchema"
|
|
33768
33813
|
];
|
|
33769
|
-
})),
|
|
33814
|
+
})), LY = /* @__PURE__ */ K(((e) => {
|
|
33770
33815
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33771
|
-
var t =
|
|
33816
|
+
var t = rY(), n = gY(), r = NY(), i = FY(), a = IY();
|
|
33772
33817
|
e.default = [
|
|
33773
33818
|
t.default,
|
|
33774
33819
|
n.default,
|
|
@@ -33777,15 +33822,15 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33777
33822
|
a.metadataVocabulary,
|
|
33778
33823
|
a.contentVocabulary
|
|
33779
33824
|
];
|
|
33780
|
-
})),
|
|
33825
|
+
})), RY = /* @__PURE__ */ K(((e) => {
|
|
33781
33826
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
|
|
33782
33827
|
var t;
|
|
33783
33828
|
(function(e) {
|
|
33784
33829
|
e.Tag = "tag", e.Mapping = "mapping";
|
|
33785
33830
|
})(t || (e.DiscrError = t = {}));
|
|
33786
|
-
})),
|
|
33831
|
+
})), zY = /* @__PURE__ */ K(((e) => {
|
|
33787
33832
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33788
|
-
var t =
|
|
33833
|
+
var t = CJ(), n = RY(), r = VJ(), i = BJ(), a = wJ();
|
|
33789
33834
|
e.default = {
|
|
33790
33835
|
keyword: "discriminator",
|
|
33791
33836
|
type: "object",
|
|
@@ -33853,16 +33898,16 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33853
33898
|
}
|
|
33854
33899
|
}
|
|
33855
33900
|
};
|
|
33856
|
-
})),
|
|
33857
|
-
$id: () =>
|
|
33858
|
-
$schema: () =>
|
|
33859
|
-
default: () =>
|
|
33860
|
-
definitions: () =>
|
|
33861
|
-
properties: () =>
|
|
33862
|
-
title: () =>
|
|
33863
|
-
type: () =>
|
|
33864
|
-
}),
|
|
33865
|
-
|
|
33901
|
+
})), BY = /* @__PURE__ */ it({
|
|
33902
|
+
$id: () => HY,
|
|
33903
|
+
$schema: () => VY,
|
|
33904
|
+
default: () => qY,
|
|
33905
|
+
definitions: () => WY,
|
|
33906
|
+
properties: () => KY,
|
|
33907
|
+
title: () => UY,
|
|
33908
|
+
type: () => GY
|
|
33909
|
+
}), VY, HY, UY, WY, GY, KY, qY, JY = rt((() => {
|
|
33910
|
+
VY = "http://json-schema.org/draft-07/schema#", HY = "http://json-schema.org/draft-07/schema#", UY = "Core schema meta-schema", WY = {
|
|
33866
33911
|
schemaArray: {
|
|
33867
33912
|
type: "array",
|
|
33868
33913
|
minItems: 1,
|
|
@@ -33888,7 +33933,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33888
33933
|
uniqueItems: !0,
|
|
33889
33934
|
default: []
|
|
33890
33935
|
}
|
|
33891
|
-
},
|
|
33936
|
+
}, GY = ["object", "boolean"], KY = {
|
|
33892
33937
|
$id: {
|
|
33893
33938
|
type: "string",
|
|
33894
33939
|
format: "uri-reference"
|
|
@@ -33987,18 +34032,18 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33987
34032
|
anyOf: { $ref: "#/definitions/schemaArray" },
|
|
33988
34033
|
oneOf: { $ref: "#/definitions/schemaArray" },
|
|
33989
34034
|
not: { $ref: "#" }
|
|
33990
|
-
},
|
|
33991
|
-
$schema:
|
|
33992
|
-
$id:
|
|
33993
|
-
title:
|
|
33994
|
-
definitions:
|
|
33995
|
-
type:
|
|
33996
|
-
properties:
|
|
34035
|
+
}, qY = {
|
|
34036
|
+
$schema: VY,
|
|
34037
|
+
$id: HY,
|
|
34038
|
+
title: UY,
|
|
34039
|
+
definitions: WY,
|
|
34040
|
+
type: GY,
|
|
34041
|
+
properties: KY,
|
|
33997
34042
|
default: !0
|
|
33998
34043
|
};
|
|
33999
|
-
})),
|
|
34044
|
+
})), YY = /* @__PURE__ */ K(((e, t) => {
|
|
34000
34045
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv = void 0;
|
|
34001
|
-
var n =
|
|
34046
|
+
var n = eY(), r = LY(), i = zY(), a = (JY(), st(BY).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
|
|
34002
34047
|
_addVocabularies() {
|
|
34003
34048
|
super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
|
|
34004
34049
|
}
|
|
@@ -34012,14 +34057,14 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34012
34057
|
}
|
|
34013
34058
|
};
|
|
34014
34059
|
e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
|
|
34015
|
-
var l =
|
|
34060
|
+
var l = RJ();
|
|
34016
34061
|
Object.defineProperty(e, "KeywordCxt", {
|
|
34017
34062
|
enumerable: !0,
|
|
34018
34063
|
get: function() {
|
|
34019
34064
|
return l.KeywordCxt;
|
|
34020
34065
|
}
|
|
34021
34066
|
});
|
|
34022
|
-
var u =
|
|
34067
|
+
var u = CJ();
|
|
34023
34068
|
Object.defineProperty(e, "_", {
|
|
34024
34069
|
enumerable: !0,
|
|
34025
34070
|
get: function() {
|
|
@@ -34051,21 +34096,21 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34051
34096
|
return u.CodeGen;
|
|
34052
34097
|
}
|
|
34053
34098
|
});
|
|
34054
|
-
var d =
|
|
34099
|
+
var d = zJ();
|
|
34055
34100
|
Object.defineProperty(e, "ValidationError", {
|
|
34056
34101
|
enumerable: !0,
|
|
34057
34102
|
get: function() {
|
|
34058
34103
|
return d.default;
|
|
34059
34104
|
}
|
|
34060
34105
|
});
|
|
34061
|
-
var f =
|
|
34106
|
+
var f = BJ();
|
|
34062
34107
|
Object.defineProperty(e, "MissingRefError", {
|
|
34063
34108
|
enumerable: !0,
|
|
34064
34109
|
get: function() {
|
|
34065
34110
|
return f.default;
|
|
34066
34111
|
}
|
|
34067
34112
|
});
|
|
34068
|
-
})),
|
|
34113
|
+
})), XY = /* @__PURE__ */ K(((e) => {
|
|
34069
34114
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
|
|
34070
34115
|
function t(e, t) {
|
|
34071
34116
|
return {
|
|
@@ -34217,9 +34262,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34217
34262
|
return !1;
|
|
34218
34263
|
}
|
|
34219
34264
|
}
|
|
34220
|
-
})),
|
|
34265
|
+
})), ZY = /* @__PURE__ */ K(((e) => {
|
|
34221
34266
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
|
|
34222
|
-
var t =
|
|
34267
|
+
var t = YY(), n = CJ(), r = n.operators, i = {
|
|
34223
34268
|
formatMaximum: {
|
|
34224
34269
|
okStr: "<=",
|
|
34225
34270
|
ok: r.LTE,
|
|
@@ -34279,9 +34324,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34279
34324
|
},
|
|
34280
34325
|
dependencies: ["format"]
|
|
34281
34326
|
}, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
|
|
34282
|
-
})),
|
|
34327
|
+
})), QY = /* @__PURE__ */ K(((e, t) => {
|
|
34283
34328
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34284
|
-
var n =
|
|
34329
|
+
var n = XY(), r = ZY(), i = CJ(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
|
|
34285
34330
|
if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
|
|
34286
34331
|
let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
|
|
34287
34332
|
return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
|
|
@@ -34297,9 +34342,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34297
34342
|
for (let r of t) e.addFormat(r, n[r]);
|
|
34298
34343
|
}
|
|
34299
34344
|
t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
|
|
34300
|
-
})),
|
|
34345
|
+
})), $Y = /* @__PURE__ */ ot(YY(), 1), eX = /* @__PURE__ */ ot(QY(), 1), tX = {
|
|
34301
34346
|
required: () => "This field is required",
|
|
34302
|
-
type: (e) => `Should be "${
|
|
34347
|
+
type: (e) => `Should be "${rX(e)}".`,
|
|
34303
34348
|
minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
|
|
34304
34349
|
maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
|
|
34305
34350
|
minimum: (e) => `Should be >= ${e.params.limit}`,
|
|
@@ -34315,77 +34360,77 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34315
34360
|
format: (e) => `Should be a valid ${e.params.format}`,
|
|
34316
34361
|
uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
|
|
34317
34362
|
};
|
|
34318
|
-
function
|
|
34319
|
-
let n =
|
|
34363
|
+
function nX(e, t) {
|
|
34364
|
+
let n = tX[e.keyword];
|
|
34320
34365
|
return n ? n(e, t) : e.message ?? "Invalid value";
|
|
34321
34366
|
}
|
|
34322
|
-
function
|
|
34367
|
+
function rX(e) {
|
|
34323
34368
|
let t = e.params.type;
|
|
34324
34369
|
return String(Array.isArray(t) ? t[0] : t);
|
|
34325
34370
|
}
|
|
34326
34371
|
//#endregion
|
|
34327
34372
|
//#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
|
|
34328
|
-
function
|
|
34373
|
+
function iX(e, t, n) {
|
|
34329
34374
|
let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
|
|
34330
34375
|
for (let e of r) {
|
|
34331
34376
|
if (!i) return {
|
|
34332
34377
|
node: void 0,
|
|
34333
34378
|
value: void 0
|
|
34334
34379
|
};
|
|
34335
|
-
i =
|
|
34380
|
+
i = aX(i, a, n, o), /^\d+$/.test(e) ? (i = i.items, a = Array.isArray(a) ? a[Number(e)] : void 0) : (i = i.properties?.get(e), a = a && typeof a == "object" ? a[e] : void 0), o.push(e);
|
|
34336
34381
|
}
|
|
34337
34382
|
return i ? {
|
|
34338
|
-
node:
|
|
34383
|
+
node: oX(aX(i, a, n, r), r),
|
|
34339
34384
|
value: a
|
|
34340
34385
|
} : {
|
|
34341
34386
|
node: void 0,
|
|
34342
34387
|
value: a
|
|
34343
34388
|
};
|
|
34344
34389
|
}
|
|
34345
|
-
function
|
|
34346
|
-
let i = new Map(e.properties), a = e.variants ?
|
|
34390
|
+
function aX(e, t, n, r) {
|
|
34391
|
+
let i = new Map(e.properties), a = e.variants ? cX(e.variants, t) : void 0;
|
|
34347
34392
|
if (a) for (let [e, t] of a.properties) i.set(e, t);
|
|
34348
34393
|
let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
|
|
34349
34394
|
if (o.length > 0) {
|
|
34350
|
-
for (let e of o) if (
|
|
34395
|
+
for (let e of o) if (sX(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
|
|
34351
34396
|
}
|
|
34352
34397
|
return i.size > (e.properties?.size ?? 0) ? {
|
|
34353
34398
|
...e,
|
|
34354
34399
|
properties: i
|
|
34355
34400
|
} : e;
|
|
34356
34401
|
}
|
|
34357
|
-
function
|
|
34402
|
+
function oX(e, t) {
|
|
34358
34403
|
return e.displayIf ? {
|
|
34359
34404
|
...e,
|
|
34360
34405
|
displayIf: nq(e.displayIf, t.join("."))
|
|
34361
34406
|
} : e;
|
|
34362
34407
|
}
|
|
34363
|
-
function
|
|
34408
|
+
function sX(e, t, n) {
|
|
34364
34409
|
for (let [r, i] of e) {
|
|
34365
34410
|
let e = XK(t, tq(r, n));
|
|
34366
34411
|
if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
|
|
34367
34412
|
}
|
|
34368
34413
|
return !0;
|
|
34369
34414
|
}
|
|
34370
|
-
function
|
|
34415
|
+
function cX(e, t) {
|
|
34371
34416
|
if (typeof t != "object" || !t) return;
|
|
34372
34417
|
let n = t;
|
|
34373
34418
|
return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
|
|
34374
34419
|
}
|
|
34375
34420
|
//#endregion
|
|
34376
34421
|
//#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
|
|
34377
|
-
var
|
|
34422
|
+
var lX = new $Y.default({
|
|
34378
34423
|
strict: !1,
|
|
34379
34424
|
allErrors: !0
|
|
34380
34425
|
});
|
|
34381
|
-
(0,
|
|
34426
|
+
(0, eX.default)(lX), lX.removeKeyword("id"), lX.addKeyword({
|
|
34382
34427
|
keyword: "id",
|
|
34383
34428
|
validate: () => !0
|
|
34384
34429
|
});
|
|
34385
|
-
function
|
|
34430
|
+
function uX(e, t = {}) {
|
|
34386
34431
|
let n;
|
|
34387
34432
|
try {
|
|
34388
|
-
n =
|
|
34433
|
+
n = cJ(e);
|
|
34389
34434
|
} catch (e) {
|
|
34390
34435
|
let t = e instanceof Error ? e.message : "Invalid JSON Schema";
|
|
34391
34436
|
return () => ({
|
|
@@ -34398,7 +34443,7 @@ function cX(e, t = {}) {
|
|
|
34398
34443
|
}
|
|
34399
34444
|
let r = n.root.schema, i = n.variantIndices, a;
|
|
34400
34445
|
try {
|
|
34401
|
-
a =
|
|
34446
|
+
a = lX.compile(r);
|
|
34402
34447
|
} catch (e) {
|
|
34403
34448
|
let t = e instanceof Error ? e.message : "Invalid JSON Schema";
|
|
34404
34449
|
return () => ({
|
|
@@ -34409,15 +34454,15 @@ function cX(e, t = {}) {
|
|
|
34409
34454
|
} }
|
|
34410
34455
|
});
|
|
34411
34456
|
}
|
|
34412
|
-
|
|
34457
|
+
lX.removeSchema(r);
|
|
34413
34458
|
let o = async (e, t, r) => {
|
|
34414
|
-
let o = a(e) ? [] : a.errors ?? [], s =
|
|
34459
|
+
let o = a(e) ? [] : a.errors ?? [], s = _X(n.root, e, "", i), c = [...o, ...s];
|
|
34415
34460
|
return c.length === 0 ? {
|
|
34416
34461
|
values: e,
|
|
34417
34462
|
errors: {}
|
|
34418
34463
|
} : {
|
|
34419
34464
|
values: {},
|
|
34420
|
-
errors:
|
|
34465
|
+
errors: mX(pX(c.filter((t) => !dX(t, n, e))), r.criteriaMode ?? "firstError")
|
|
34421
34466
|
};
|
|
34422
34467
|
};
|
|
34423
34468
|
if (!t.basePath) return o;
|
|
@@ -34433,12 +34478,12 @@ function cX(e, t = {}) {
|
|
|
34433
34478
|
};
|
|
34434
34479
|
};
|
|
34435
34480
|
}
|
|
34436
|
-
function
|
|
34437
|
-
let { node: r, value: i } =
|
|
34481
|
+
function dX(e, t, n) {
|
|
34482
|
+
let { node: r, value: i } = iX(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(uq) : []).join("."), n);
|
|
34438
34483
|
if (!r) return !1;
|
|
34439
34484
|
switch (e.keyword) {
|
|
34440
34485
|
case "const":
|
|
34441
|
-
case "enum": return
|
|
34486
|
+
case "enum": return fX(r.schema, i);
|
|
34442
34487
|
case "required": {
|
|
34443
34488
|
let t = e.params.missingProperty;
|
|
34444
34489
|
return typeof t == "string" && !!r.properties && !r.properties.has(t);
|
|
@@ -34446,46 +34491,46 @@ function lX(e, t, n) {
|
|
|
34446
34491
|
default: return !1;
|
|
34447
34492
|
}
|
|
34448
34493
|
}
|
|
34449
|
-
function
|
|
34494
|
+
function fX(e, t) {
|
|
34450
34495
|
return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
|
|
34451
34496
|
}
|
|
34452
|
-
function
|
|
34497
|
+
function pX(e) {
|
|
34453
34498
|
return e.filter((t) => {
|
|
34454
34499
|
if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
|
|
34455
|
-
let n =
|
|
34500
|
+
let n = hX(t), r = n === "" ? "" : `${n}.`;
|
|
34456
34501
|
return !e.some((e) => {
|
|
34457
34502
|
if (e === t) return !1;
|
|
34458
|
-
let i =
|
|
34503
|
+
let i = hX(e);
|
|
34459
34504
|
return n === "" ? i !== "" : i.startsWith(r);
|
|
34460
34505
|
});
|
|
34461
34506
|
});
|
|
34462
34507
|
}
|
|
34463
|
-
function
|
|
34508
|
+
function mX(e, t) {
|
|
34464
34509
|
let n = /* @__PURE__ */ new Map();
|
|
34465
34510
|
for (let t of e) {
|
|
34466
|
-
let e =
|
|
34511
|
+
let e = hX(t), r = n.get(e) ?? [];
|
|
34467
34512
|
r.push(t), n.set(e, r);
|
|
34468
34513
|
}
|
|
34469
34514
|
let r = {};
|
|
34470
34515
|
for (let [e, i] of n) {
|
|
34471
34516
|
let n = {
|
|
34472
34517
|
type: i[0].keyword,
|
|
34473
|
-
message:
|
|
34518
|
+
message: nX(i[0], e)
|
|
34474
34519
|
};
|
|
34475
34520
|
if (t === "all" && i.length > 0) {
|
|
34476
34521
|
let t = {};
|
|
34477
|
-
for (let n of i) t[n.keyword] =
|
|
34522
|
+
for (let n of i) t[n.keyword] = nX(n, e);
|
|
34478
34523
|
n.types = t;
|
|
34479
34524
|
}
|
|
34480
|
-
|
|
34525
|
+
gX(r, e === "" ? "root" : e, n);
|
|
34481
34526
|
}
|
|
34482
34527
|
return r;
|
|
34483
34528
|
}
|
|
34484
|
-
function
|
|
34529
|
+
function hX(e) {
|
|
34485
34530
|
let t = e.instancePath ? e.instancePath.slice(1).split("/").map(uq) : [];
|
|
34486
34531
|
return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
|
|
34487
34532
|
}
|
|
34488
|
-
function
|
|
34533
|
+
function gX(e, t, n) {
|
|
34489
34534
|
let r = t.split("."), i = e;
|
|
34490
34535
|
for (let e = 0; e < r.length - 1; e++) {
|
|
34491
34536
|
let t = r[e];
|
|
@@ -34493,7 +34538,7 @@ function mX(e, t, n) {
|
|
|
34493
34538
|
}
|
|
34494
34539
|
i[r[r.length - 1]] = n;
|
|
34495
34540
|
}
|
|
34496
|
-
function
|
|
34541
|
+
function _X(e, t, n, r) {
|
|
34497
34542
|
if (!e) return [];
|
|
34498
34543
|
let i = [];
|
|
34499
34544
|
if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
|
|
@@ -34510,18 +34555,18 @@ function hX(e, t, n, r) {
|
|
|
34510
34555
|
}
|
|
34511
34556
|
}
|
|
34512
34557
|
let a = typeof t == "object" && !!t && !Array.isArray(t);
|
|
34513
|
-
if (e.properties && a) for (let [a, o] of e.properties) i.push(...
|
|
34558
|
+
if (e.properties && a) for (let [a, o] of e.properties) i.push(..._X(o, t[a], `${n}/${lq(a)}`, r));
|
|
34514
34559
|
if (e.variants && e.variants.length > 0 && a) {
|
|
34515
|
-
let a = t, o =
|
|
34516
|
-
if (s) for (let [e, t] of s.properties) i.push(...
|
|
34560
|
+
let a = t, o = Uq(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
|
|
34561
|
+
if (s) for (let [e, t] of s.properties) i.push(..._X(t, a[e], `${n}/${lq(e)}`, r));
|
|
34517
34562
|
}
|
|
34518
34563
|
return e.items && Array.isArray(t) && t.forEach((t, a) => {
|
|
34519
|
-
i.push(...
|
|
34564
|
+
i.push(..._X(e.items, t, `${n}/${a}`, r));
|
|
34520
34565
|
}), i;
|
|
34521
34566
|
}
|
|
34522
34567
|
//#endregion
|
|
34523
34568
|
//#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
|
|
34524
|
-
var
|
|
34569
|
+
var vX = {
|
|
34525
34570
|
navigation: null,
|
|
34526
34571
|
contextSidebar: null,
|
|
34527
34572
|
breadcrumbs: [],
|
|
@@ -34531,9 +34576,9 @@ var gX = {
|
|
|
34531
34576
|
contentVariant: "default",
|
|
34532
34577
|
banner: null,
|
|
34533
34578
|
bannerSticky: !1
|
|
34534
|
-
},
|
|
34535
|
-
function
|
|
34536
|
-
let [t, n] = Be(
|
|
34579
|
+
}, yX = De(null);
|
|
34580
|
+
function bX({ children: e }) {
|
|
34581
|
+
let [t, n] = Be(vX), r = je((e, t) => {
|
|
34537
34582
|
n((n) => ({
|
|
34538
34583
|
...n,
|
|
34539
34584
|
[e]: t
|
|
@@ -34545,7 +34590,7 @@ function vX({ children: e }) {
|
|
|
34545
34590
|
}));
|
|
34546
34591
|
}, []), a = je((e) => {
|
|
34547
34592
|
n((t) => {
|
|
34548
|
-
let n = Object.fromEntries(e.map((e) => [e,
|
|
34593
|
+
let n = Object.fromEntries(e.map((e) => [e, vX[e]]));
|
|
34549
34594
|
return {
|
|
34550
34595
|
...t,
|
|
34551
34596
|
...n
|
|
@@ -34562,21 +34607,21 @@ function vX({ children: e }) {
|
|
|
34562
34607
|
i,
|
|
34563
34608
|
a
|
|
34564
34609
|
]);
|
|
34565
|
-
return /* @__PURE__ */ W(
|
|
34610
|
+
return /* @__PURE__ */ W(yX.Provider, {
|
|
34566
34611
|
value: o,
|
|
34567
34612
|
children: e
|
|
34568
34613
|
});
|
|
34569
34614
|
}
|
|
34570
|
-
function
|
|
34571
|
-
let e = Me(
|
|
34615
|
+
function xX() {
|
|
34616
|
+
let e = Me(yX);
|
|
34572
34617
|
if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
|
|
34573
34618
|
return e;
|
|
34574
34619
|
}
|
|
34575
34620
|
//#endregion
|
|
34576
34621
|
//#region src/composed/LayoutSlots/use-layout-config.ts
|
|
34577
|
-
function
|
|
34578
|
-
let { setSlots: n, resetSlots: r } =
|
|
34579
|
-
|
|
34622
|
+
function SX(e, t = []) {
|
|
34623
|
+
let { setSlots: n, resetSlots: r } = xX();
|
|
34624
|
+
Le(() => {
|
|
34580
34625
|
n(e);
|
|
34581
34626
|
let t = Object.keys(e);
|
|
34582
34627
|
return () => {
|
|
@@ -34589,8 +34634,17 @@ function bX(e, t = []) {
|
|
|
34589
34634
|
]);
|
|
34590
34635
|
}
|
|
34591
34636
|
//#endregion
|
|
34637
|
+
//#region src/composed/PageFocused/PageFocused.tsx
|
|
34638
|
+
function CX({ children: e, className: n }) {
|
|
34639
|
+
return /* @__PURE__ */ W("div", {
|
|
34640
|
+
className: t("mx-auto w-full max-w-focused", n),
|
|
34641
|
+
children: e
|
|
34642
|
+
});
|
|
34643
|
+
}
|
|
34644
|
+
CX.displayName = "PageFocused";
|
|
34645
|
+
//#endregion
|
|
34592
34646
|
//#region src/composed/TopNavUser/TopNavUser.tsx
|
|
34593
|
-
var
|
|
34647
|
+
var wX = [
|
|
34594
34648
|
{
|
|
34595
34649
|
value: "light",
|
|
34596
34650
|
label: "Light"
|
|
@@ -34604,7 +34658,7 @@ var xX = [
|
|
|
34604
34658
|
label: "System"
|
|
34605
34659
|
}
|
|
34606
34660
|
];
|
|
34607
|
-
function
|
|
34661
|
+
function TX({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
|
|
34608
34662
|
let s = i ?? e.slice(0, 2).toUpperCase(), { mode: c, setMode: l } = Ce();
|
|
34609
34663
|
return /* @__PURE__ */ G(cI, { children: [/* @__PURE__ */ W(uI, {
|
|
34610
34664
|
asChild: !0,
|
|
@@ -34633,7 +34687,7 @@ function SX({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
|
|
|
34633
34687
|
/* @__PURE__ */ W(hI, {
|
|
34634
34688
|
value: c,
|
|
34635
34689
|
onValueChange: (e) => l(e),
|
|
34636
|
-
children:
|
|
34690
|
+
children: wX.map((e) => /* @__PURE__ */ W(gI, {
|
|
34637
34691
|
value: e.value,
|
|
34638
34692
|
children: e.label
|
|
34639
34693
|
}, e.value))
|
|
@@ -34646,6 +34700,6 @@ function SX({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
|
|
|
34646
34700
|
]
|
|
34647
34701
|
})] });
|
|
34648
34702
|
}
|
|
34649
|
-
|
|
34703
|
+
TX.displayName = "TopNavUser";
|
|
34650
34704
|
//#endregion
|
|
34651
|
-
export { kv as Accordion, Mv as AccordionContent, Av as AccordionItem, jv as AccordionTrigger, d as Alert, i as AlertAction, P as AlertDescription, f as AlertTitle, mU as AppContextBar, wU as AppLayout, OU as AppSidebar, dU as AppSwitcher, Nv as Avatar, Iv as AvatarBadge, Fv as AvatarFallback, Lv as AvatarGroup, Rv as AvatarGroupCount, Pv as AvatarImage, Bv as Badge, CG as BadgeCell, Vv as Breadcrumb, qv as BreadcrumbEllipsis, Uv as BreadcrumbItem, Wv as BreadcrumbLink, Hv as BreadcrumbList, Gv as BreadcrumbPage, Kv as BreadcrumbSeparator, Yv as Button, Zv as ButtonGroup, $v as ButtonGroupSeparator, Qv as ButtonGroupText, fC as Calendar, pC as CalendarDayButton, mC as Card, vC as CardAction, yC as CardContent, _C as CardDescription, bC as CardFooter, hC as CardHeader, gC as CardTitle, xC as Checkbox, SC as Collapsible, wC as CollapsibleContent, CC as CollapsibleTrigger, HA as Combobox, nj as ComboboxChip, tj as ComboboxChips, rj as ComboboxChipsInput, QA as ComboboxCollection, qA as ComboboxContent, $A as ComboboxEmpty, XA as ComboboxGroup, KA as ComboboxInput, YA as ComboboxItem, ZA as ComboboxLabel, JA as ComboboxList, ej as ComboboxSeparator, WA as ComboboxTrigger, UA as ComboboxValue, CP as Command, wP as CommandDialog, DP as CommandEmpty, OP as CommandGroup, TP as CommandInput, AP as CommandItem, EP as CommandList, kP as CommandSeparator, jP as CommandShortcut, NU as ContentHeader, MP as ContextMenu, HP as ContextMenuCheckboxItem, RP as ContextMenuContent, PP as ContextMenuGroup, zP as ContextMenuItem, WP as ContextMenuLabel, FP as ContextMenuPortal, LP as ContextMenuRadioGroup, UP as ContextMenuRadioItem, GP as ContextMenuSeparator, KP as ContextMenuShortcut, IP as ContextMenuSub, VP as ContextMenuSubContent, BP as ContextMenuSubTrigger, NP as ContextMenuTrigger, AU as ContextSidebar, jU as ContextToggleButton, TG as CopyableCell, PU as CopyableText,
|
|
34705
|
+
export { kv as Accordion, Mv as AccordionContent, Av as AccordionItem, jv as AccordionTrigger, d as Alert, i as AlertAction, P as AlertDescription, f as AlertTitle, mU as AppContextBar, wU as AppLayout, OU as AppSidebar, dU as AppSwitcher, Nv as Avatar, Iv as AvatarBadge, Fv as AvatarFallback, Lv as AvatarGroup, Rv as AvatarGroupCount, Pv as AvatarImage, Bv as Badge, CG as BadgeCell, Vv as Breadcrumb, qv as BreadcrumbEllipsis, Uv as BreadcrumbItem, Wv as BreadcrumbLink, Hv as BreadcrumbList, Gv as BreadcrumbPage, Kv as BreadcrumbSeparator, Yv as Button, Zv as ButtonGroup, $v as ButtonGroupSeparator, Qv as ButtonGroupText, fC as Calendar, pC as CalendarDayButton, mC as Card, vC as CardAction, yC as CardContent, _C as CardDescription, bC as CardFooter, hC as CardHeader, gC as CardTitle, xC as Checkbox, SC as Collapsible, wC as CollapsibleContent, CC as CollapsibleTrigger, HA as Combobox, nj as ComboboxChip, tj as ComboboxChips, rj as ComboboxChipsInput, QA as ComboboxCollection, qA as ComboboxContent, $A as ComboboxEmpty, XA as ComboboxGroup, KA as ComboboxInput, YA as ComboboxItem, ZA as ComboboxLabel, JA as ComboboxList, ej as ComboboxSeparator, WA as ComboboxTrigger, UA as ComboboxValue, CP as Command, wP as CommandDialog, DP as CommandEmpty, OP as CommandGroup, TP as CommandInput, AP as CommandItem, EP as CommandList, kP as CommandSeparator, jP as CommandShortcut, NU as ContentHeader, MP as ContextMenu, HP as ContextMenuCheckboxItem, RP as ContextMenuContent, PP as ContextMenuGroup, zP as ContextMenuItem, WP as ContextMenuLabel, FP as ContextMenuPortal, LP as ContextMenuRadioGroup, UP as ContextMenuRadioItem, GP as ContextMenuSeparator, KP as ContextMenuShortcut, IP as ContextMenuSub, VP as ContextMenuSubContent, BP as ContextMenuSubTrigger, NP as ContextMenuTrigger, AU as ContextSidebar, jU as ContextToggleButton, TG as CopyableCell, PU as CopyableText, vX as DEFAULT_SLOTS, mG as DataTable, hG as DataTableColumnHeader, DG as DataTableEmptyState, sG as DataTablePagination, cG as DataTableViewOptions, SG as DateCell, IK as DatePicker, LK as DateRangePicker, BK as DateTimePicker, UK as DateTimeRangePicker, pP as Dialog, gP as DialogClose, vP as DialogContent, SP as DialogDescription, bP as DialogFooter, yP as DialogHeader, _P as DialogOverlay, hP as DialogPortal, xP as DialogTitle, mP as DialogTrigger, QF as Drawer, tI as DrawerClose, rI as DrawerContent, sI as DrawerDescription, aI as DrawerFooter, iI as DrawerHeader, nI as DrawerOverlay, eI as DrawerPortal, oI as DrawerTitle, $F as DrawerTrigger, cI as DropdownMenu, mI as DropdownMenuCheckboxItem, dI as DropdownMenuContent, fI as DropdownMenuGroup, pI as DropdownMenuItem, _I as DropdownMenuLabel, lI as DropdownMenuPortal, hI as DropdownMenuRadioGroup, gI as DropdownMenuRadioItem, vI as DropdownMenuSeparator, yI as DropdownMenuShortcut, bI as DropdownMenuSub, SI as DropdownMenuSubContent, xI as DropdownMenuSubTrigger, uI as DropdownMenuTrigger, CI as Empty, kI as EmptyContent, OI as EmptyDescription, wI as EmptyHeader, EI as EmptyMedia, DI as EmptyTitle, WK as FacetedFilter, M as Field, _ as FieldContent, v as FieldDescription, O as FieldError, T as FieldGroup, b as FieldLabel, y as FieldLegend, p as FieldSeparator, N as FieldSet, I as FieldTitle, YK as FileUpload, CR as FileUploadInput, JK as FileUploadItem, wR as HoverCard, ER as HoverCardContent, kR as HoverCardDescription, DR as HoverCardHeader, OR as HoverCardTitle, TR as HoverCardTrigger, NA as Input, PA as InputGroup, IA as InputGroupAddon, RA as InputGroupButton, BA as InputGroupInput, zA as InputGroupText, VA as InputGroupTextarea, NR as Item, zR as ItemActions, IR as ItemContent, RR as ItemDescription, VR as ItemFooter, AR as ItemGroup, BR as ItemHeader, FR as ItemMedia, jR as ItemSeparator, LR as ItemTitle, yJ as JsonSchemaForm, HR as Kbd, UR as KbdGroup, h as Label, bX as LayoutSlotsProvider, wG as MonoCell, CX as PageFocused, WR as Pagination, GR as PaginationContent, XR as PaginationEllipsis, KR as PaginationItem, qR as PaginationLink, YR as PaginationNext, JR as PaginationPrevious, Qq as PasswordInput, ZR as Popover, ez as PopoverAnchor, $R as PopoverContent, rz as PopoverDescription, tz as PopoverHeader, nz as PopoverTitle, QR as PopoverTrigger, lt as PortalContainerProvider, iz as Progress, oz as Prose, sz as RadioGroup, cz as RadioGroupItem, iV as ResizableHandle, rV as ResizablePanel, nV as ResizablePanelGroup, aV as ScrollArea, oV as ScrollBar, sV as Select, dV as SelectContent, cV as SelectGroup, pV as SelectItem, fV as SelectLabel, gV as SelectScrollDownButton, hV as SelectScrollUpButton, mV as SelectSeparator, uV as SelectTrigger, lV as SelectValue, fU as SelectorDropdown, pU as SelectorTriggerButton, F as Separator, _V as Sheet, yV as SheetClose, SV as SheetContent, EV as SheetDescription, wV as SheetFooter, CV as SheetHeader, TV as SheetTitle, vV as SheetTrigger, GV as Sidebar, $V as SidebarContent, ZV as SidebarFooter, eH as SidebarGroup, nH as SidebarGroupAction, rH as SidebarGroupContent, tH as SidebarGroupLabel, XV as SidebarHeader, YV as SidebarInput, JV as SidebarInset, iH as SidebarMenu, cH as SidebarMenuAction, lH as SidebarMenuBadge, sH as SidebarMenuButton, aH as SidebarMenuItem, uH as SidebarMenuSkeleton, dH as SidebarMenuSub, pH as SidebarMenuSubButton, fH as SidebarMenuSubItem, SU as SidebarModeControl, bU as SidebarModeProvider, kU as SidebarNavigation, WV as SidebarProvider, qV as SidebarRail, QV as SidebarSeparator, KV as SidebarTrigger, n as Skeleton, GH as Spinner, KH as Switch, qH as Table, YH as TableBody, eU as TableCaption, $H as TableCell, XH as TableFooter, QH as TableHead, JH as TableHeader, ZH as TableRow, tU as Tabs, aU as TabsContent, rU as TabsList, iU as TabsTrigger, e as Textarea, we as ThemeProvider, WH as Toaster, sU as Toggle, lU as ToggleGroup, uU as ToggleGroupItem, OV as Tooltip, AV as TooltipContent, DV as TooltipProvider, kV as TooltipTrigger, TX as TopNavUser, EG as TruncatedCell, o as alertVariants, zv as badgeVariants, FU as buildLinearBreadcrumbs, Xv as buttonGroupVariants, Jv as buttonVariants, t as cn, bJ as composeResolvers, mq as extractDefaults, uX as jsonSchemaResolver, nU as tabsListVariants, OH as toast, oU as toggleVariants, ij as useComboboxAnchor, SX as useLayoutConfig, xX as useLayoutSlots, ut as usePortalContainer, UV as useSidebar, _U as useSidebarMode, Ce as useTheme };
|