@gravitee/graphene-core 2.49.0-graphene-142-code-editor.f63582e → 2.49.0-graphene-142-code-editor.6ff118a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -29972,7 +29972,7 @@ function YJ({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
|
|
|
29972
29972
|
basePath: c,
|
|
29973
29973
|
disabled: i
|
|
29974
29974
|
},
|
|
29975
|
-
children: /* @__PURE__ */ W(
|
|
29975
|
+
children: /* @__PURE__ */ W(jY, {
|
|
29976
29976
|
node: n,
|
|
29977
29977
|
name: "",
|
|
29978
29978
|
depth: r + 1
|
|
@@ -30105,7 +30105,8 @@ function tY({ node: e, name: t }) {
|
|
|
30105
30105
|
}
|
|
30106
30106
|
//#endregion
|
|
30107
30107
|
//#region src/composed/JsonSchemaForm/fields/code-editor/CodeEditorField.tsx
|
|
30108
|
-
|
|
30108
|
+
var nY = 250;
|
|
30109
|
+
function rY(e) {
|
|
30109
30110
|
if (typeof e != "string" || e.trim() === "") return !1;
|
|
30110
30111
|
try {
|
|
30111
30112
|
return JSON.parse(e), !0;
|
|
@@ -30113,11 +30114,11 @@ function nY(e) {
|
|
|
30113
30114
|
return !1;
|
|
30114
30115
|
}
|
|
30115
30116
|
}
|
|
30116
|
-
function
|
|
30117
|
+
function iY({ node: e, name: t }) {
|
|
30117
30118
|
let { control: n, basePath: i, disabled: a } = SJ(), { schema: o } = e, s = t ? i ? `${i}.${t}` : t : i, { field: c, fieldState: l } = Rq({
|
|
30118
30119
|
control: n,
|
|
30119
30120
|
name: s
|
|
30120
|
-
}), u = WJ(o, t), d = l.invalid, f = typeof c.value == "string" ? c.value : "", [p] = U(() => f), m = o.gioConfig?.monacoEditorConfig?.language ?? (
|
|
30121
|
+
}), u = WJ(o, t), d = l.invalid, f = typeof c.value == "string" ? c.value : "", [p] = U(() => f), m = o.gioConfig?.monacoEditorConfig?.language ?? (rY(p) ? "json" : "plaintext");
|
|
30121
30122
|
return /* @__PURE__ */ G(AI, {
|
|
30122
30123
|
"data-invalid": d,
|
|
30123
30124
|
children: [
|
|
@@ -30130,6 +30131,7 @@ function rY({ node: e, name: t }) {
|
|
|
30130
30131
|
/* @__PURE__ */ W(r, {
|
|
30131
30132
|
value: f,
|
|
30132
30133
|
language: m,
|
|
30134
|
+
height: nY,
|
|
30133
30135
|
onChange: (e) => c.onChange(e ?? ""),
|
|
30134
30136
|
readOnly: o.readOnly === !0,
|
|
30135
30137
|
disabled: a,
|
|
@@ -30144,38 +30146,38 @@ function rY({ node: e, name: t }) {
|
|
|
30144
30146
|
}
|
|
30145
30147
|
//#endregion
|
|
30146
30148
|
//#region src/composed/JsonSchemaForm/utils/schemaShape.ts
|
|
30147
|
-
function iY(e) {
|
|
30148
|
-
return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.every((e) => e.const !== void 0);
|
|
30149
|
-
}
|
|
30150
30149
|
function aY(e) {
|
|
30151
|
-
return e.
|
|
30150
|
+
return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.every((e) => e.const !== void 0);
|
|
30152
30151
|
}
|
|
30153
30152
|
function oY(e) {
|
|
30154
|
-
return e.type
|
|
30153
|
+
return e.type !== "array" || e.uniqueItems !== !0 || !e.items || Array.isArray(e.items) ? !1 : Array.isArray(e.items.enum) && e.items.enum.length > 0;
|
|
30155
30154
|
}
|
|
30156
30155
|
function sY(e) {
|
|
30157
|
-
return e.
|
|
30156
|
+
return e.type === "array" && e.gioConfig?.uiType === "gio-headers-array";
|
|
30158
30157
|
}
|
|
30159
30158
|
function cY(e) {
|
|
30160
|
-
return
|
|
30159
|
+
return e.format === "gio-code-editor" ? e.type === "string" || Array.isArray(e.type) && e.type.includes("string") : !1;
|
|
30161
30160
|
}
|
|
30162
30161
|
function lY(e) {
|
|
30162
|
+
return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.some((e) => e.properties !== void 0) && !aY(e);
|
|
30163
|
+
}
|
|
30164
|
+
function uY(e) {
|
|
30163
30165
|
return Array.isArray(e.anyOf) && e.anyOf.length > 0 && e.anyOf.some((e) => e.properties !== void 0);
|
|
30164
30166
|
}
|
|
30165
30167
|
//#endregion
|
|
30166
30168
|
//#region src/composed/JsonSchemaForm/fields/enum/enumOptions.ts
|
|
30167
|
-
function
|
|
30169
|
+
function dY(e, t) {
|
|
30168
30170
|
let n = t?.[String(e)];
|
|
30169
30171
|
return n === void 0 ? e === null ? "—" : String(e) : n;
|
|
30170
30172
|
}
|
|
30171
|
-
function
|
|
30173
|
+
function fY(e, t) {
|
|
30172
30174
|
return e.map((e, n) => ({
|
|
30173
30175
|
raw: e,
|
|
30174
30176
|
key: String(n),
|
|
30175
|
-
label:
|
|
30177
|
+
label: dY(e, t)
|
|
30176
30178
|
}));
|
|
30177
30179
|
}
|
|
30178
|
-
function
|
|
30180
|
+
function pY(e) {
|
|
30179
30181
|
return e.map((e, t) => ({
|
|
30180
30182
|
raw: e.const,
|
|
30181
30183
|
key: String(t),
|
|
@@ -30184,12 +30186,12 @@ function fY(e) {
|
|
|
30184
30186
|
}
|
|
30185
30187
|
//#endregion
|
|
30186
30188
|
//#region src/composed/JsonSchemaForm/fields/enum/EnumField.tsx
|
|
30187
|
-
function
|
|
30189
|
+
function mY({ node: e, name: t }) {
|
|
30188
30190
|
let { control: n, basePath: r, disabled: i } = SJ(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = Rq({
|
|
30189
30191
|
control: n,
|
|
30190
30192
|
name: o,
|
|
30191
30193
|
defaultValue: a.default
|
|
30192
|
-
}), { ref: l, onBlur: u } = s, d = WJ(a, t), f = i || a.readOnly === !0, p =
|
|
30194
|
+
}), { ref: l, onBlur: u } = s, d = WJ(a, t), f = i || a.readOnly === !0, p = hY(a), m = p.find((e) => Object.is(e.raw, s.value))?.key ?? "", h = (e) => p.find((t) => t.key === e)?.raw;
|
|
30193
30195
|
return /* @__PURE__ */ G(AI, {
|
|
30194
30196
|
"data-invalid": c.invalid,
|
|
30195
30197
|
children: [
|
|
@@ -30220,18 +30222,18 @@ function pY({ node: e, name: t }) {
|
|
|
30220
30222
|
]
|
|
30221
30223
|
});
|
|
30222
30224
|
}
|
|
30223
|
-
function
|
|
30224
|
-
return
|
|
30225
|
+
function hY(e) {
|
|
30226
|
+
return aY(e) ? pY(e.oneOf ?? []) : fY(e.enum ?? [], e.gioConfig?.enumLabelMap);
|
|
30225
30227
|
}
|
|
30226
30228
|
//#endregion
|
|
30227
30229
|
//#region src/composed/JsonSchemaForm/fields/enum/MultiSelectField.tsx
|
|
30228
|
-
function
|
|
30230
|
+
function gY({ node: e, name: t }) {
|
|
30229
30231
|
let { control: n, basePath: r, disabled: i } = SJ(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = Rq({
|
|
30230
30232
|
control: n,
|
|
30231
30233
|
name: o,
|
|
30232
30234
|
defaultValue: Array.isArray(a.default) ? a.default : []
|
|
30233
|
-
}), { ref: l, onBlur: u, onChange: d, value: f } = s, p = $A(), m = WJ(a, t), h = i || a.readOnly === !0, g = a.items, _ =
|
|
30234
|
-
return
|
|
30235
|
+
}), { ref: l, onBlur: u, onChange: d, value: f } = s, p = $A(), m = WJ(a, t), h = i || a.readOnly === !0, g = a.items, _ = fY(g.enum ?? [], g.gioConfig?.enumLabelMap), v = _.map((e) => e.label), y = (e) => _.find((t) => t.label === e)?.raw, b = (e) => _.find((t) => Object.is(t.raw, e))?.label, x = (Array.isArray(s.value) ? s.value : []).map((e) => b(e)).filter((e) => e !== void 0);
|
|
30236
|
+
return _Y({
|
|
30235
30237
|
schema: a,
|
|
30236
30238
|
options: _,
|
|
30237
30239
|
value: f,
|
|
@@ -30281,19 +30283,19 @@ function hY({ node: e, name: t }) {
|
|
|
30281
30283
|
]
|
|
30282
30284
|
});
|
|
30283
30285
|
}
|
|
30284
|
-
function
|
|
30286
|
+
function _Y({ schema: e, options: t, value: n, onReset: r }) {
|
|
30285
30287
|
B(() => {
|
|
30286
30288
|
(Array.isArray(n) ? n : []).every((e) => t.some((t) => Object.is(t.raw, e))) || r(Array.isArray(e.default) ? e.default : []);
|
|
30287
30289
|
}, [e]);
|
|
30288
30290
|
}
|
|
30289
30291
|
//#endregion
|
|
30290
30292
|
//#region src/composed/JsonSchemaForm/fields/null/NullField.tsx
|
|
30291
|
-
function
|
|
30293
|
+
function vY() {
|
|
30292
30294
|
return null;
|
|
30293
30295
|
}
|
|
30294
30296
|
//#endregion
|
|
30295
30297
|
//#region src/composed/JsonSchemaForm/fields/number/NumberField.tsx
|
|
30296
|
-
function
|
|
30298
|
+
function yY({ node: e, name: t }) {
|
|
30297
30299
|
let { control: n, basePath: r, disabled: i } = SJ(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = Rq({
|
|
30298
30300
|
control: n,
|
|
30299
30301
|
name: o
|
|
@@ -30336,15 +30338,15 @@ function vY({ node: e, name: t }) {
|
|
|
30336
30338
|
}
|
|
30337
30339
|
//#endregion
|
|
30338
30340
|
//#region src/composed/JsonSchemaForm/utils/pickActiveVariant.ts
|
|
30339
|
-
function
|
|
30341
|
+
function bY(e, t, n, r) {
|
|
30340
30342
|
if (e.length === 0) return -1;
|
|
30341
30343
|
let i = n?.get(t);
|
|
30342
|
-
return
|
|
30344
|
+
return xY(i, e) && SY(e[i], r) ? i : CY(e, r);
|
|
30343
30345
|
}
|
|
30344
|
-
function
|
|
30346
|
+
function xY(e, t) {
|
|
30345
30347
|
return typeof e == "number" && Number.isInteger(e) && t[e] !== void 0;
|
|
30346
30348
|
}
|
|
30347
|
-
function
|
|
30349
|
+
function SY(e, t) {
|
|
30348
30350
|
return Object.entries(e.properties ?? {}).every(([e, n]) => {
|
|
30349
30351
|
if (n.const !== void 0) return t(e) === n.const;
|
|
30350
30352
|
if (typeof n.pattern == "string") {
|
|
@@ -30354,18 +30356,18 @@ function xY(e, t) {
|
|
|
30354
30356
|
return !0;
|
|
30355
30357
|
});
|
|
30356
30358
|
}
|
|
30357
|
-
function
|
|
30359
|
+
function CY(e, t) {
|
|
30358
30360
|
let n = 0, r = {
|
|
30359
30361
|
viable: !1,
|
|
30360
30362
|
matches: -1
|
|
30361
30363
|
};
|
|
30362
30364
|
return e.forEach((e, i) => {
|
|
30363
|
-
let a =
|
|
30364
|
-
|
|
30365
|
+
let a = wY(e, t);
|
|
30366
|
+
TY(a, r) > 0 && (n = i, r = a);
|
|
30365
30367
|
}), n;
|
|
30366
30368
|
}
|
|
30367
|
-
function
|
|
30368
|
-
return
|
|
30369
|
+
function wY(e, t) {
|
|
30370
|
+
return SY(e, t) ? {
|
|
30369
30371
|
viable: (e.required ?? []).every((e) => t(e) !== void 0),
|
|
30370
30372
|
matches: Object.keys(e.properties ?? {}).filter((e) => t(e) !== void 0).length
|
|
30371
30373
|
} : {
|
|
@@ -30373,13 +30375,13 @@ function CY(e, t) {
|
|
|
30373
30375
|
matches: -1
|
|
30374
30376
|
};
|
|
30375
30377
|
}
|
|
30376
|
-
function
|
|
30378
|
+
function TY(e, t) {
|
|
30377
30379
|
return e.viable === t.viable ? e.matches - t.matches : e.viable ? 1 : -1;
|
|
30378
30380
|
}
|
|
30379
30381
|
//#endregion
|
|
30380
30382
|
//#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
|
|
30381
|
-
function
|
|
30382
|
-
let n = SJ(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = H(() => e.variants ?? [], [e.variants]), [l, u] = U(() =>
|
|
30383
|
+
function EY({ node: e, depth: t }) {
|
|
30384
|
+
let n = SJ(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = H(() => e.variants ?? [], [e.variants]), [l, u] = U(() => bY(c.map((e) => e.raw), a, s, (e) => r._getWatch(a ? `${a}.${e}` : e))), d = H(() => c.map((e) => (e.dependencyBranches ?? []).map((e) => Array.from(e.properties.keys()).map((e) => a ? `${a}.${e}` : e))), [c, a]);
|
|
30383
30385
|
if (c.length === 0) return null;
|
|
30384
30386
|
let f = c[l] ?? c[0], p = f.dependencyBranches ?? [], m = n.disabled || o.readOnly === !0, h = `${a || "root"}-variant`, g = (e) => {
|
|
30385
30387
|
if (e === l) return;
|
|
@@ -30412,11 +30414,11 @@ function TY({ node: e, depth: t }) {
|
|
|
30412
30414
|
t === 0 && o.description && /* @__PURE__ */ W(PI, { children: o.description }),
|
|
30413
30415
|
o.gioConfig?.banner && /* @__PURE__ */ W(GJ, { banner: o.gioConfig.banner })
|
|
30414
30416
|
] }),
|
|
30415
|
-
f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(
|
|
30417
|
+
f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(DY, {
|
|
30416
30418
|
path: a ? `${a}.${e}` : e,
|
|
30417
30419
|
value: t
|
|
30418
30420
|
}, e)),
|
|
30419
|
-
Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(
|
|
30421
|
+
Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(jY, {
|
|
30420
30422
|
node: n,
|
|
30421
30423
|
name: e,
|
|
30422
30424
|
depth: t + 1
|
|
@@ -30424,7 +30426,7 @@ function TY({ node: e, depth: t }) {
|
|
|
30424
30426
|
p.map((e, n) => /* @__PURE__ */ W(wJ, {
|
|
30425
30427
|
condition: DJ(e.showIf, a),
|
|
30426
30428
|
unregisterOnHide: d[l]?.[n],
|
|
30427
|
-
children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(
|
|
30429
|
+
children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(jY, {
|
|
30428
30430
|
node: n,
|
|
30429
30431
|
name: e,
|
|
30430
30432
|
depth: t + 1
|
|
@@ -30432,7 +30434,7 @@ function TY({ node: e, depth: t }) {
|
|
|
30432
30434
|
}, `${l}-var-dep-${n}`))
|
|
30433
30435
|
] });
|
|
30434
30436
|
}
|
|
30435
|
-
function
|
|
30437
|
+
function DY({ path: e, value: t }) {
|
|
30436
30438
|
let { control: n } = SJ(), { field: r } = Rq({
|
|
30437
30439
|
control: n,
|
|
30438
30440
|
name: e
|
|
@@ -30443,14 +30445,14 @@ function EY({ path: e, value: t }) {
|
|
|
30443
30445
|
}
|
|
30444
30446
|
//#endregion
|
|
30445
30447
|
//#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
|
|
30446
|
-
function
|
|
30447
|
-
let r = SJ(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o =
|
|
30448
|
+
function OY({ node: e, name: t, depth: n }) {
|
|
30449
|
+
let r = SJ(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o = lY(i) || uY(i), s = H(() => e.dependencyBranches ?? [], [e.dependencyBranches]), c = s.length > 0, l = H(() => s.map((e) => Array.from(e.properties.keys()).map((e) => a ? `${a}.${e}` : e)), [s, a]), u = (e.properties || o || c) && /* @__PURE__ */ W(xJ.Provider, {
|
|
30448
30450
|
value: {
|
|
30449
30451
|
...r,
|
|
30450
30452
|
basePath: a
|
|
30451
30453
|
},
|
|
30452
30454
|
children: /* @__PURE__ */ G(OI, { children: [
|
|
30453
|
-
e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(
|
|
30455
|
+
e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(jY, {
|
|
30454
30456
|
node: t,
|
|
30455
30457
|
name: e,
|
|
30456
30458
|
depth: n + 1
|
|
@@ -30458,13 +30460,13 @@ function DY({ node: e, name: t, depth: n }) {
|
|
|
30458
30460
|
s.map((e, t) => /* @__PURE__ */ W(wJ, {
|
|
30459
30461
|
condition: DJ(e.showIf, a),
|
|
30460
30462
|
unregisterOnHide: l[t],
|
|
30461
|
-
children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(
|
|
30463
|
+
children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(jY, {
|
|
30462
30464
|
node: t,
|
|
30463
30465
|
name: e,
|
|
30464
30466
|
depth: n + 1
|
|
30465
30467
|
}, e))
|
|
30466
30468
|
}, `dep-${t}`)),
|
|
30467
|
-
o && /* @__PURE__ */ W(
|
|
30469
|
+
o && /* @__PURE__ */ W(EY, {
|
|
30468
30470
|
node: e,
|
|
30469
30471
|
depth: n
|
|
30470
30472
|
})
|
|
@@ -30486,7 +30488,7 @@ function DY({ node: e, name: t, depth: n }) {
|
|
|
30486
30488
|
}
|
|
30487
30489
|
//#endregion
|
|
30488
30490
|
//#region src/composed/PasswordInput/PasswordInput.tsx
|
|
30489
|
-
function
|
|
30491
|
+
function kY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, ...o }) {
|
|
30490
30492
|
let [s, c] = U(!1);
|
|
30491
30493
|
return /* @__PURE__ */ G(kA, {
|
|
30492
30494
|
className: e,
|
|
@@ -30512,10 +30514,10 @@ function OY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
|
|
|
30512
30514
|
})]
|
|
30513
30515
|
});
|
|
30514
30516
|
}
|
|
30515
|
-
|
|
30517
|
+
kY.displayName = "PasswordInput";
|
|
30516
30518
|
//#endregion
|
|
30517
30519
|
//#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
|
|
30518
|
-
function
|
|
30520
|
+
function AY({ node: e, name: t }) {
|
|
30519
30521
|
let { control: n, basePath: r, disabled: i } = SJ(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = Rq({
|
|
30520
30522
|
control: n,
|
|
30521
30523
|
name: o
|
|
@@ -30540,7 +30542,7 @@ function kY({ node: e, name: t }) {
|
|
|
30540
30542
|
children: l
|
|
30541
30543
|
}),
|
|
30542
30544
|
a.gioConfig?.banner && /* @__PURE__ */ W(GJ, { banner: a.gioConfig.banner }),
|
|
30543
|
-
a.format === "text" ? /* @__PURE__ */ W(OA, { ...m }) : a.format === "password" ? /* @__PURE__ */ W(
|
|
30545
|
+
a.format === "text" ? /* @__PURE__ */ W(OA, { ...m }) : a.format === "password" ? /* @__PURE__ */ W(kY, {
|
|
30544
30546
|
...m,
|
|
30545
30547
|
pattern: a.pattern
|
|
30546
30548
|
}) : /* @__PURE__ */ W(DA, {
|
|
@@ -30555,10 +30557,10 @@ function kY({ node: e, name: t }) {
|
|
|
30555
30557
|
}
|
|
30556
30558
|
//#endregion
|
|
30557
30559
|
//#region src/composed/JsonSchemaForm/SchemaField.tsx
|
|
30558
|
-
function
|
|
30560
|
+
function jY({ node: e, name: t, depth: n = 0 }) {
|
|
30559
30561
|
let { basePath: r } = SJ(), { schema: i } = e, a = t ?? "", o = t ? r ? `${r}.${t}` : t : r, s = H(() => [o], [o]), c = H(() => e.displayIf ? DJ(e.displayIf, r) : void 0, [e.displayIf, r]), l = H(() => e.disableIf ? DJ(e.disableIf, r) : void 0, [e.disableIf, r]);
|
|
30560
30562
|
if (i.deprecated === !0) return null;
|
|
30561
|
-
let u =
|
|
30563
|
+
let u = MY(e, a, t, n);
|
|
30562
30564
|
return u === null ? null : (l && (u = /* @__PURE__ */ W(TJ, {
|
|
30563
30565
|
condition: l,
|
|
30564
30566
|
children: u
|
|
@@ -30568,30 +30570,30 @@ function AY({ node: e, name: t, depth: n = 0 }) {
|
|
|
30568
30570
|
children: u
|
|
30569
30571
|
}) : u);
|
|
30570
30572
|
}
|
|
30571
|
-
function
|
|
30572
|
-
let { schema: i } = e, a =
|
|
30573
|
-
return Array.isArray(i.enum) && i.enum.length > 0 ||
|
|
30573
|
+
function MY(e, t, n, r) {
|
|
30574
|
+
let { schema: i } = e, a = NY(i.type);
|
|
30575
|
+
return Array.isArray(i.enum) && i.enum.length > 0 || aY(i) ? /* @__PURE__ */ W(mY, {
|
|
30574
30576
|
node: e,
|
|
30575
30577
|
name: t
|
|
30576
|
-
}) :
|
|
30578
|
+
}) : oY(i) ? /* @__PURE__ */ W(gY, {
|
|
30577
30579
|
node: e,
|
|
30578
30580
|
name: t
|
|
30579
|
-
}) :
|
|
30581
|
+
}) : sY(i) ? /* @__PURE__ */ W(ZJ, {
|
|
30580
30582
|
node: e,
|
|
30581
30583
|
name: t
|
|
30582
|
-
}) :
|
|
30584
|
+
}) : cY(i) ? /* @__PURE__ */ W(iY, {
|
|
30583
30585
|
node: e,
|
|
30584
30586
|
name: t
|
|
30585
|
-
}) : a === "null" ? /* @__PURE__ */ W(
|
|
30587
|
+
}) : a === "null" ? /* @__PURE__ */ W(vY, {}) : a === "boolean" ? /* @__PURE__ */ W(tY, {
|
|
30586
30588
|
node: e,
|
|
30587
30589
|
name: t
|
|
30588
|
-
}) : a === "integer" || a === "number" ? /* @__PURE__ */ W(
|
|
30590
|
+
}) : a === "integer" || a === "number" ? /* @__PURE__ */ W(yY, {
|
|
30589
30591
|
node: e,
|
|
30590
30592
|
name: t
|
|
30591
|
-
}) : a === "string" ? /* @__PURE__ */ W(
|
|
30593
|
+
}) : a === "string" ? /* @__PURE__ */ W(AY, {
|
|
30592
30594
|
node: e,
|
|
30593
30595
|
name: t
|
|
30594
|
-
}) : i.properties || a === "object" ||
|
|
30596
|
+
}) : i.properties || a === "object" || lY(i) || uY(i) ? /* @__PURE__ */ W(OY, {
|
|
30595
30597
|
node: e,
|
|
30596
30598
|
name: n,
|
|
30597
30599
|
depth: r
|
|
@@ -30599,97 +30601,97 @@ function jY(e, t, n, r) {
|
|
|
30599
30601
|
node: e,
|
|
30600
30602
|
name: n,
|
|
30601
30603
|
depth: r
|
|
30602
|
-
}) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${
|
|
30604
|
+
}) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${PY(i)}). Field is omitted.`), null);
|
|
30603
30605
|
}
|
|
30604
|
-
function
|
|
30606
|
+
function NY(e) {
|
|
30605
30607
|
return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
|
|
30606
30608
|
}
|
|
30607
|
-
function
|
|
30609
|
+
function PY(e) {
|
|
30608
30610
|
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";
|
|
30609
30611
|
}
|
|
30610
30612
|
//#endregion
|
|
30611
30613
|
//#region src/composed/JsonSchemaForm/schema/preprocess/liftRequired.ts
|
|
30612
|
-
function PY(e) {
|
|
30613
|
-
return FY(e);
|
|
30614
|
-
}
|
|
30615
30614
|
function FY(e) {
|
|
30615
|
+
return IY(e);
|
|
30616
|
+
}
|
|
30617
|
+
function IY(e) {
|
|
30616
30618
|
let t = { ...e };
|
|
30617
30619
|
if (t.properties) {
|
|
30618
30620
|
let e = new Set(t.required ?? []), n = {};
|
|
30619
30621
|
for (let [r, i] of Object.entries(t.properties)) {
|
|
30620
|
-
let t =
|
|
30622
|
+
let t = IY(i);
|
|
30621
30623
|
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;
|
|
30622
30624
|
}
|
|
30623
30625
|
t.properties = n;
|
|
30624
30626
|
}
|
|
30625
|
-
return t.items &&= Array.isArray(t.items) ? t.items.map(
|
|
30627
|
+
return t.items &&= Array.isArray(t.items) ? t.items.map(IY) : IY(t.items), t.oneOf &&= t.oneOf.map(IY), t.anyOf &&= t.anyOf.map(IY), t.allOf &&= t.allOf.map(IY), t.dependencies &&= OJ(t.dependencies, IY), t;
|
|
30626
30628
|
}
|
|
30627
30629
|
//#endregion
|
|
30628
30630
|
//#region src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts
|
|
30629
|
-
function
|
|
30631
|
+
function LY(e) {
|
|
30630
30632
|
if (e.deprecated === !0) return { deprecated: !0 };
|
|
30631
30633
|
let t = { ...e };
|
|
30632
30634
|
if (e.properties) {
|
|
30633
30635
|
let n = [];
|
|
30634
30636
|
t.properties = {};
|
|
30635
|
-
for (let [r, i] of Object.entries(e.properties)) i.deprecated === !0 && n.push(r), t.properties[r] =
|
|
30637
|
+
for (let [r, i] of Object.entries(e.properties)) i.deprecated === !0 && n.push(r), t.properties[r] = LY(i);
|
|
30636
30638
|
n.length > 0 && e.required && (t.required = e.required.filter((e) => !n.includes(e)));
|
|
30637
30639
|
}
|
|
30638
|
-
return e.items && !Array.isArray(e.items) && (t.items =
|
|
30640
|
+
return e.items && !Array.isArray(e.items) && (t.items = LY(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => e.deprecated !== !0).map(LY)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => e.deprecated !== !0).map(LY)), e.dependencies && (t.dependencies = OJ(e.dependencies, LY)), t;
|
|
30639
30641
|
}
|
|
30640
30642
|
//#endregion
|
|
30641
30643
|
//#region src/composed/JsonSchemaForm/schema/buildIndex.ts
|
|
30642
|
-
function
|
|
30643
|
-
let n =
|
|
30644
|
+
function RY(e, t = "") {
|
|
30645
|
+
let n = FY(LY(kJ(IJ(e)))), r = /* @__PURE__ */ new Map();
|
|
30644
30646
|
return {
|
|
30645
|
-
root:
|
|
30647
|
+
root: zY(n, "", !1, r, "", t),
|
|
30646
30648
|
nodeByPath: r,
|
|
30647
30649
|
variantIndices: /* @__PURE__ */ new Map()
|
|
30648
30650
|
};
|
|
30649
30651
|
}
|
|
30650
|
-
function
|
|
30652
|
+
function zY(e, t, n, r, i = "", a = "") {
|
|
30651
30653
|
let o = {
|
|
30652
30654
|
rhfPath: t,
|
|
30653
30655
|
schema: e,
|
|
30654
30656
|
isRequired: n
|
|
30655
30657
|
};
|
|
30656
|
-
if (e.gioConfig?.displayIf && (o.displayIf =
|
|
30658
|
+
if (e.gioConfig?.displayIf && (o.displayIf = WY(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = WY(e.gioConfig.disableIf, i, a)), e.properties) {
|
|
30657
30659
|
let n = new Set(e.required ?? []), i = /* @__PURE__ */ new Map();
|
|
30658
30660
|
for (let [o, s] of Object.entries(e.properties)) {
|
|
30659
30661
|
let e = t ? `${t}.${o}` : o;
|
|
30660
|
-
i.set(o,
|
|
30662
|
+
i.set(o, zY(s, e, n.has(o), r, t, a));
|
|
30661
30663
|
}
|
|
30662
30664
|
o.properties = i;
|
|
30663
30665
|
}
|
|
30664
30666
|
if (e.items && !Array.isArray(e.items)) {
|
|
30665
30667
|
let n = t ? `${t}.*` : "*";
|
|
30666
|
-
o.items =
|
|
30668
|
+
o.items = zY(e.items, n, !1, r, t, a);
|
|
30667
30669
|
}
|
|
30668
30670
|
let s = e.oneOf ?? e.anyOf;
|
|
30669
|
-
if (Array.isArray(s) && s.length > 0 && (o.variants =
|
|
30670
|
-
let n =
|
|
30671
|
+
if (Array.isArray(s) && s.length > 0 && (o.variants = BY(s).map((e) => VY(e, t, a))), e.dependencies) {
|
|
30672
|
+
let n = KY(e.dependencies, t, a);
|
|
30671
30673
|
n.length > 0 && (o.dependencyBranches = n);
|
|
30672
30674
|
}
|
|
30673
30675
|
return r.set(t, o), o;
|
|
30674
30676
|
}
|
|
30675
|
-
function
|
|
30677
|
+
function BY(e) {
|
|
30676
30678
|
let t = /* @__PURE__ */ new Set();
|
|
30677
30679
|
return e.filter((e) => typeof e.title == "string" ? t.has(e.title) ? !1 : (t.add(e.title), !0) : !0);
|
|
30678
30680
|
}
|
|
30679
|
-
function
|
|
30681
|
+
function VY(e, t, n) {
|
|
30680
30682
|
let r = new Set(e.required ?? []), i = /* @__PURE__ */ new Map(), a = [];
|
|
30681
30683
|
for (let [o, s] of Object.entries(e.properties ?? {})) {
|
|
30682
|
-
let e =
|
|
30684
|
+
let e = HY(s);
|
|
30683
30685
|
e && a.push({
|
|
30684
30686
|
key: o,
|
|
30685
30687
|
value: e.value
|
|
30686
30688
|
});
|
|
30687
30689
|
let c = t ? `${t}.${o}` : o;
|
|
30688
|
-
i.set(o,
|
|
30690
|
+
i.set(o, UY(s, c, r.has(o), t, n));
|
|
30689
30691
|
}
|
|
30690
30692
|
let o;
|
|
30691
30693
|
if (e.dependencies) {
|
|
30692
|
-
let r =
|
|
30694
|
+
let r = KY(e.dependencies, t, n);
|
|
30693
30695
|
r.length > 0 && (o = r);
|
|
30694
30696
|
}
|
|
30695
30697
|
return {
|
|
@@ -30700,17 +30702,17 @@ function BY(e, t, n) {
|
|
|
30700
30702
|
raw: e
|
|
30701
30703
|
};
|
|
30702
30704
|
}
|
|
30703
|
-
function
|
|
30705
|
+
function HY(e) {
|
|
30704
30706
|
if (e.const !== void 0) return { value: e.const };
|
|
30705
30707
|
if (Array.isArray(e.enum) && e.enum.length === 1) return { value: e.enum[0] };
|
|
30706
30708
|
}
|
|
30707
|
-
function
|
|
30708
|
-
return
|
|
30709
|
+
function UY(e, t, n, r, i) {
|
|
30710
|
+
return zY(e, t, n, /* @__PURE__ */ new Map(), r, i);
|
|
30709
30711
|
}
|
|
30710
|
-
function
|
|
30712
|
+
function WY(e, t, n) {
|
|
30711
30713
|
let r = /* @__PURE__ */ new Map();
|
|
30712
30714
|
for (let [i, a] of Object.entries(e.$eq)) {
|
|
30713
|
-
let e =
|
|
30715
|
+
let e = GY(i, t, n);
|
|
30714
30716
|
if (e === null) {
|
|
30715
30717
|
console.warn(`[JsonSchemaForm] gioConfig path "${i}" is unsupported (expected value.X / ./X / ../X).`);
|
|
30716
30718
|
continue;
|
|
@@ -30719,7 +30721,7 @@ function UY(e, t, n) {
|
|
|
30719
30721
|
}
|
|
30720
30722
|
return { $eq: r };
|
|
30721
30723
|
}
|
|
30722
|
-
function
|
|
30724
|
+
function GY(e, t, n) {
|
|
30723
30725
|
let r = null;
|
|
30724
30726
|
if (e.startsWith("value.")) r = e.slice(6);
|
|
30725
30727
|
else if (e.startsWith("./")) {
|
|
@@ -30733,24 +30735,24 @@ function WY(e, t, n) {
|
|
|
30733
30735
|
}
|
|
30734
30736
|
return r === null ? null : n ? `${n}.${r}` : r;
|
|
30735
30737
|
}
|
|
30736
|
-
function
|
|
30738
|
+
function KY(e, t, n) {
|
|
30737
30739
|
return Object.entries(e).flatMap(([e, r]) => {
|
|
30738
|
-
let i =
|
|
30740
|
+
let i = qY(e, r);
|
|
30739
30741
|
if (!i) return [];
|
|
30740
30742
|
let a = t ? `${t}.${e}` : e;
|
|
30741
|
-
return i.map((r) =>
|
|
30743
|
+
return i.map((r) => JY(r, e, a, t, n));
|
|
30742
30744
|
});
|
|
30743
30745
|
}
|
|
30744
|
-
function
|
|
30746
|
+
function qY(e, t) {
|
|
30745
30747
|
let n = typeof t == "object" && t && !Array.isArray(t) ? t : null;
|
|
30746
|
-
return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 &&
|
|
30748
|
+
return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && HY(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);
|
|
30747
30749
|
}
|
|
30748
|
-
function
|
|
30749
|
-
let a =
|
|
30750
|
+
function JY(e, t, n, r, i) {
|
|
30751
|
+
let a = HY(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
|
|
30750
30752
|
for (let [n, a] of Object.entries(e.properties ?? {})) {
|
|
30751
30753
|
if (n === t) continue;
|
|
30752
30754
|
let e = r ? `${r}.${n}` : n;
|
|
30753
|
-
s.set(n,
|
|
30755
|
+
s.set(n, UY(a, e, o.has(n), r, i));
|
|
30754
30756
|
}
|
|
30755
30757
|
let c = i ? `${i}.${n}` : n;
|
|
30756
30758
|
return {
|
|
@@ -30761,10 +30763,10 @@ function qY(e, t, n, r, i) {
|
|
|
30761
30763
|
}
|
|
30762
30764
|
//#endregion
|
|
30763
30765
|
//#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
|
|
30764
|
-
function
|
|
30766
|
+
function YY({ schema: e, control: t, name: n = "", disabled: r = !1, context: i }) {
|
|
30765
30767
|
let a = H(() => {
|
|
30766
30768
|
try {
|
|
30767
|
-
let a =
|
|
30769
|
+
let a = RY(e, n);
|
|
30768
30770
|
return {
|
|
30769
30771
|
ok: !0,
|
|
30770
30772
|
contextValue: {
|
|
@@ -30791,7 +30793,7 @@ function JY({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
|
|
|
30791
30793
|
]);
|
|
30792
30794
|
return a.ok ? /* @__PURE__ */ W(xJ.Provider, {
|
|
30793
30795
|
value: a.contextValue,
|
|
30794
|
-
children: /* @__PURE__ */ W(
|
|
30796
|
+
children: /* @__PURE__ */ W(jY, { node: a.root })
|
|
30795
30797
|
}) : /* @__PURE__ */ G("p", {
|
|
30796
30798
|
role: "alert",
|
|
30797
30799
|
className: "text-sm text-destructive",
|
|
@@ -30800,7 +30802,7 @@ function JY({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
|
|
|
30800
30802
|
}
|
|
30801
30803
|
//#endregion
|
|
30802
30804
|
//#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
|
|
30803
|
-
function
|
|
30805
|
+
function XY(...e) {
|
|
30804
30806
|
return async (t, n, r) => {
|
|
30805
30807
|
let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
|
|
30806
30808
|
for (let e of i) Object.assign(a, e.errors);
|
|
@@ -30815,7 +30817,7 @@ function YY(...e) {
|
|
|
30815
30817
|
}
|
|
30816
30818
|
//#endregion
|
|
30817
30819
|
//#region ../../node_modules/ajv/dist/compile/codegen/code.js
|
|
30818
|
-
var
|
|
30820
|
+
var ZY = /* @__PURE__ */ K(((e) => {
|
|
30819
30821
|
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;
|
|
30820
30822
|
var t = class {};
|
|
30821
30823
|
e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
|
|
@@ -30920,9 +30922,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
30920
30922
|
return new r(e.toString());
|
|
30921
30923
|
}
|
|
30922
30924
|
e.regexpCode = g;
|
|
30923
|
-
})),
|
|
30925
|
+
})), QY = /* @__PURE__ */ K(((e) => {
|
|
30924
30926
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
|
|
30925
|
-
var t =
|
|
30927
|
+
var t = ZY(), n = class extends Error {
|
|
30926
30928
|
constructor(e) {
|
|
30927
30929
|
super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
|
|
30928
30930
|
}
|
|
@@ -31031,9 +31033,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31031
31033
|
return c;
|
|
31032
31034
|
}
|
|
31033
31035
|
};
|
|
31034
|
-
})),
|
|
31036
|
+
})), $Y = /* @__PURE__ */ K(((e) => {
|
|
31035
31037
|
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;
|
|
31036
|
-
var t =
|
|
31038
|
+
var t = ZY(), n = QY(), r = ZY();
|
|
31037
31039
|
Object.defineProperty(e, "_", {
|
|
31038
31040
|
enumerable: !0,
|
|
31039
31041
|
get: function() {
|
|
@@ -31075,7 +31077,7 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31075
31077
|
return r.Name;
|
|
31076
31078
|
}
|
|
31077
31079
|
});
|
|
31078
|
-
var i =
|
|
31080
|
+
var i = QY();
|
|
31079
31081
|
Object.defineProperty(e, "Scope", {
|
|
31080
31082
|
enumerable: !0,
|
|
31081
31083
|
get: function() {
|
|
@@ -31546,9 +31548,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31546
31548
|
function L(e) {
|
|
31547
31549
|
return e instanceof t.Name ? e : (0, t._)`(${e})`;
|
|
31548
31550
|
}
|
|
31549
|
-
})),
|
|
31551
|
+
})), eX = /* @__PURE__ */ K(((e) => {
|
|
31550
31552
|
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;
|
|
31551
|
-
var t =
|
|
31553
|
+
var t = $Y(), n = ZY();
|
|
31552
31554
|
function r(e) {
|
|
31553
31555
|
let t = {};
|
|
31554
31556
|
for (let n of e) t[n] = !0;
|
|
@@ -31671,9 +31673,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31671
31673
|
}
|
|
31672
31674
|
}
|
|
31673
31675
|
e.checkStrictMode = x;
|
|
31674
|
-
})),
|
|
31676
|
+
})), tX = /* @__PURE__ */ K(((e) => {
|
|
31675
31677
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
31676
|
-
var t =
|
|
31678
|
+
var t = $Y();
|
|
31677
31679
|
e.default = {
|
|
31678
31680
|
data: new t.Name("data"),
|
|
31679
31681
|
valCxt: new t.Name("valCxt"),
|
|
@@ -31692,9 +31694,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31692
31694
|
jsonLen: new t.Name("jsonLen"),
|
|
31693
31695
|
jsonPart: new t.Name("jsonPart")
|
|
31694
31696
|
};
|
|
31695
|
-
})),
|
|
31697
|
+
})), nX = /* @__PURE__ */ K(((e) => {
|
|
31696
31698
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
|
|
31697
|
-
var t =
|
|
31699
|
+
var t = $Y(), n = eX(), r = tX();
|
|
31698
31700
|
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)` };
|
|
31699
31701
|
function i(n, r = e.keywordError, i, a) {
|
|
31700
31702
|
let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
|
|
@@ -31756,9 +31758,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31756
31758
|
let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
|
|
31757
31759
|
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]);
|
|
31758
31760
|
}
|
|
31759
|
-
})),
|
|
31761
|
+
})), rX = /* @__PURE__ */ K(((e) => {
|
|
31760
31762
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
|
|
31761
|
-
var t =
|
|
31763
|
+
var t = nX(), n = $Y(), r = tX(), i = { message: "boolean schema is false" };
|
|
31762
31764
|
function a(e) {
|
|
31763
31765
|
let { gen: t, schema: i, validateName: a } = e;
|
|
31764
31766
|
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));
|
|
@@ -31782,7 +31784,7 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31782
31784
|
};
|
|
31783
31785
|
(0, t.reportError)(o, i, void 0, n);
|
|
31784
31786
|
}
|
|
31785
|
-
})),
|
|
31787
|
+
})), iX = /* @__PURE__ */ K(((e) => {
|
|
31786
31788
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
|
|
31787
31789
|
var t = new Set([
|
|
31788
31790
|
"string",
|
|
@@ -31836,7 +31838,7 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31836
31838
|
};
|
|
31837
31839
|
}
|
|
31838
31840
|
e.getRules = r;
|
|
31839
|
-
})),
|
|
31841
|
+
})), aX = /* @__PURE__ */ K(((e) => {
|
|
31840
31842
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
|
|
31841
31843
|
function t({ schema: e, self: t }, r) {
|
|
31842
31844
|
let i = t.RULES.types[r];
|
|
@@ -31851,9 +31853,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31851
31853
|
return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
|
|
31852
31854
|
}
|
|
31853
31855
|
e.shouldUseRule = r;
|
|
31854
|
-
})),
|
|
31856
|
+
})), oX = /* @__PURE__ */ K(((e) => {
|
|
31855
31857
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
|
|
31856
|
-
var t =
|
|
31858
|
+
var t = iX(), n = aX(), r = nX(), i = $Y(), a = eX(), o;
|
|
31857
31859
|
(function(e) {
|
|
31858
31860
|
e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
|
|
31859
31861
|
})(o || (e.DataType = o = {}));
|
|
@@ -31988,9 +31990,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
31988
31990
|
it: e
|
|
31989
31991
|
};
|
|
31990
31992
|
}
|
|
31991
|
-
})),
|
|
31993
|
+
})), sX = /* @__PURE__ */ K(((e) => {
|
|
31992
31994
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
|
|
31993
|
-
var t =
|
|
31995
|
+
var t = $Y(), n = eX();
|
|
31994
31996
|
function r(e, t) {
|
|
31995
31997
|
let { properties: n, items: r } = e.schema;
|
|
31996
31998
|
if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
|
|
@@ -32008,9 +32010,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
32008
32010
|
let u = (0, t._)`${l} === undefined`;
|
|
32009
32011
|
c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
|
|
32010
32012
|
}
|
|
32011
|
-
})),
|
|
32013
|
+
})), cX = /* @__PURE__ */ K(((e) => {
|
|
32012
32014
|
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;
|
|
32013
|
-
var t =
|
|
32015
|
+
var t = $Y(), n = eX(), r = tX(), i = eX();
|
|
32014
32016
|
function a(e, n) {
|
|
32015
32017
|
let { gen: r, data: i, it: a } = e;
|
|
32016
32018
|
r.if(d(r, i, n, a.opts.ownProperties), () => {
|
|
@@ -32112,9 +32114,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
32112
32114
|
})), e.result(s, () => e.reset(), () => e.error(!0));
|
|
32113
32115
|
}
|
|
32114
32116
|
e.validateUnion = v;
|
|
32115
|
-
})),
|
|
32117
|
+
})), lX = /* @__PURE__ */ K(((e) => {
|
|
32116
32118
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
|
|
32117
|
-
var t =
|
|
32119
|
+
var t = $Y(), n = tX(), r = cX(), i = nX();
|
|
32118
32120
|
function a(e, n) {
|
|
32119
32121
|
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);
|
|
32120
32122
|
s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
|
|
@@ -32193,9 +32195,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
32193
32195
|
}
|
|
32194
32196
|
}
|
|
32195
32197
|
e.validateKeywordUsage = f;
|
|
32196
|
-
})),
|
|
32198
|
+
})), uX = /* @__PURE__ */ K(((e) => {
|
|
32197
32199
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
|
|
32198
|
-
var t =
|
|
32200
|
+
var t = $Y(), n = eX();
|
|
32199
32201
|
function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
|
|
32200
32202
|
if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
|
|
32201
32203
|
if (r !== void 0) {
|
|
@@ -32239,7 +32241,7 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
32239
32241
|
r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
|
|
32240
32242
|
}
|
|
32241
32243
|
e.extendSubschemaMode = a;
|
|
32242
|
-
})),
|
|
32244
|
+
})), dX = /* @__PURE__ */ K(((e, t) => {
|
|
32243
32245
|
t.exports = function e(t, n) {
|
|
32244
32246
|
if (t === n) return !0;
|
|
32245
32247
|
if (t && n && typeof t == "object" && typeof n == "object") {
|
|
@@ -32263,7 +32265,7 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
32263
32265
|
}
|
|
32264
32266
|
return t !== t && n !== n;
|
|
32265
32267
|
};
|
|
32266
|
-
})),
|
|
32268
|
+
})), fX = /* @__PURE__ */ K(((e, t) => {
|
|
32267
32269
|
var n = t.exports = function(e, t, n) {
|
|
32268
32270
|
typeof t == "function" && (n = t, t = {}), n = t.cb || n;
|
|
32269
32271
|
var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
|
|
@@ -32326,9 +32328,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
32326
32328
|
function i(e) {
|
|
32327
32329
|
return e.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
32328
32330
|
}
|
|
32329
|
-
})),
|
|
32331
|
+
})), pX = /* @__PURE__ */ K(((e) => {
|
|
32330
32332
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
|
|
32331
|
-
var t =
|
|
32333
|
+
var t = eX(), n = dX(), r = fX(), i = new Set([
|
|
32332
32334
|
"type",
|
|
32333
32335
|
"format",
|
|
32334
32336
|
"pattern",
|
|
@@ -32417,9 +32419,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
32417
32419
|
}
|
|
32418
32420
|
}
|
|
32419
32421
|
e.getSchemaRefs = h;
|
|
32420
|
-
})),
|
|
32422
|
+
})), mX = /* @__PURE__ */ K(((e) => {
|
|
32421
32423
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
|
|
32422
|
-
var t =
|
|
32424
|
+
var t = rX(), n = oX(), r = aX(), i = oX(), a = sX(), o = lX(), s = uX(), c = $Y(), l = tX(), u = pX(), d = eX(), f = nX();
|
|
32423
32425
|
function p(e) {
|
|
32424
32426
|
if (S(e) && (w(e), x(e))) {
|
|
32425
32427
|
_(e);
|
|
@@ -32709,23 +32711,23 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
32709
32711
|
}
|
|
32710
32712
|
}
|
|
32711
32713
|
e.getData = ie;
|
|
32712
|
-
})),
|
|
32714
|
+
})), hX = /* @__PURE__ */ K(((e) => {
|
|
32713
32715
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
|
|
32714
32716
|
constructor(e) {
|
|
32715
32717
|
super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
|
|
32716
32718
|
}
|
|
32717
32719
|
};
|
|
32718
|
-
})),
|
|
32720
|
+
})), gX = /* @__PURE__ */ K(((e) => {
|
|
32719
32721
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32720
|
-
var t =
|
|
32722
|
+
var t = pX();
|
|
32721
32723
|
e.default = class extends Error {
|
|
32722
32724
|
constructor(e, n, r, i) {
|
|
32723
32725
|
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));
|
|
32724
32726
|
}
|
|
32725
32727
|
};
|
|
32726
|
-
})),
|
|
32728
|
+
})), _X = /* @__PURE__ */ K(((e) => {
|
|
32727
32729
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
|
|
32728
|
-
var t =
|
|
32730
|
+
var t = $Y(), n = hX(), r = tX(), i = pX(), a = eX(), o = mX(), s = class {
|
|
32729
32731
|
constructor(e) {
|
|
32730
32732
|
this.refs = {}, this.dynamicAnchors = {};
|
|
32731
32733
|
let t;
|
|
@@ -32884,27 +32886,27 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
32884
32886
|
baseId: t
|
|
32885
32887
|
}), o.schema !== o.root.schema) return o;
|
|
32886
32888
|
}
|
|
32887
|
-
})),
|
|
32888
|
-
$id: () =>
|
|
32889
|
+
})), vX = /* @__PURE__ */ Ce({
|
|
32890
|
+
$id: () => yX,
|
|
32889
32891
|
additionalProperties: () => !1,
|
|
32890
|
-
default: () =>
|
|
32891
|
-
description: () =>
|
|
32892
|
-
properties: () =>
|
|
32893
|
-
required: () =>
|
|
32894
|
-
type: () =>
|
|
32895
|
-
}),
|
|
32896
|
-
|
|
32892
|
+
default: () => wX,
|
|
32893
|
+
description: () => bX,
|
|
32894
|
+
properties: () => CX,
|
|
32895
|
+
required: () => SX,
|
|
32896
|
+
type: () => xX
|
|
32897
|
+
}), yX, bX, xX, SX, CX, wX, TX = Se((() => {
|
|
32898
|
+
yX = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", bX = "Meta-schema for $data reference (JSON AnySchema extension proposal)", xX = "object", SX = ["$data"], CX = { $data: {
|
|
32897
32899
|
type: "string",
|
|
32898
32900
|
anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
|
|
32899
|
-
} },
|
|
32900
|
-
$id:
|
|
32901
|
-
description:
|
|
32902
|
-
type:
|
|
32903
|
-
required:
|
|
32904
|
-
properties:
|
|
32901
|
+
} }, wX = {
|
|
32902
|
+
$id: yX,
|
|
32903
|
+
description: bX,
|
|
32904
|
+
type: xX,
|
|
32905
|
+
required: SX,
|
|
32906
|
+
properties: CX,
|
|
32905
32907
|
additionalProperties: !1
|
|
32906
32908
|
};
|
|
32907
|
-
})),
|
|
32909
|
+
})), EX = /* @__PURE__ */ K(((e, t) => {
|
|
32908
32910
|
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);
|
|
32909
32911
|
function s(e) {
|
|
32910
32912
|
let t = "", n = 0, r = 0;
|
|
@@ -33116,8 +33118,8 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33116
33118
|
normalizeIPv6: f,
|
|
33117
33119
|
stringArrayToHexStripped: s
|
|
33118
33120
|
};
|
|
33119
|
-
})),
|
|
33120
|
-
var { isUUID: n } =
|
|
33121
|
+
})), DX = /* @__PURE__ */ K(((e, t) => {
|
|
33122
|
+
var { isUUID: n } = EX(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
|
|
33121
33123
|
"http",
|
|
33122
33124
|
"https",
|
|
33123
33125
|
"ws",
|
|
@@ -33222,8 +33224,8 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33222
33224
|
isValidSchemeName: a,
|
|
33223
33225
|
getSchemeHandler: y
|
|
33224
33226
|
};
|
|
33225
|
-
})),
|
|
33226
|
-
var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } =
|
|
33227
|
+
})), OX = /* @__PURE__ */ K(((e, t) => {
|
|
33228
|
+
var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } = EX(), { SCHEMES: d, getSchemeHandler: f } = DX();
|
|
33227
33229
|
function p(e, t) {
|
|
33228
33230
|
return typeof e == "string" ? e = S(e, t) : typeof e == "object" && (e = x(_(e, t), t)), e;
|
|
33229
33231
|
}
|
|
@@ -33337,20 +33339,20 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33337
33339
|
parse: x
|
|
33338
33340
|
};
|
|
33339
33341
|
t.exports = T, t.exports.default = T, t.exports.fastUri = T;
|
|
33340
|
-
})),
|
|
33342
|
+
})), kX = /* @__PURE__ */ K(((e) => {
|
|
33341
33343
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33342
|
-
var t =
|
|
33344
|
+
var t = OX();
|
|
33343
33345
|
t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
|
|
33344
|
-
})),
|
|
33346
|
+
})), AX = /* @__PURE__ */ K(((e) => {
|
|
33345
33347
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
|
|
33346
|
-
var t =
|
|
33348
|
+
var t = mX();
|
|
33347
33349
|
Object.defineProperty(e, "KeywordCxt", {
|
|
33348
33350
|
enumerable: !0,
|
|
33349
33351
|
get: function() {
|
|
33350
33352
|
return t.KeywordCxt;
|
|
33351
33353
|
}
|
|
33352
33354
|
});
|
|
33353
|
-
var n =
|
|
33355
|
+
var n = $Y();
|
|
33354
33356
|
Object.defineProperty(e, "_", {
|
|
33355
33357
|
enumerable: !0,
|
|
33356
33358
|
get: function() {
|
|
@@ -33382,7 +33384,7 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33382
33384
|
return n.CodeGen;
|
|
33383
33385
|
}
|
|
33384
33386
|
});
|
|
33385
|
-
var r =
|
|
33387
|
+
var r = hX(), i = gX(), a = iX(), o = _X(), s = $Y(), c = pX(), l = oX(), u = eX(), d = (TX(), Ee(vX).default), f = kX(), p = (e, t) => new RegExp(e, t);
|
|
33386
33388
|
p.code = "new RegExp";
|
|
33387
33389
|
var m = [
|
|
33388
33390
|
"removeAdditional",
|
|
@@ -33768,16 +33770,16 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33768
33770
|
function F(e) {
|
|
33769
33771
|
return { anyOf: [e, P] };
|
|
33770
33772
|
}
|
|
33771
|
-
})),
|
|
33773
|
+
})), jX = /* @__PURE__ */ K(((e) => {
|
|
33772
33774
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
33773
33775
|
keyword: "id",
|
|
33774
33776
|
code() {
|
|
33775
33777
|
throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
|
|
33776
33778
|
}
|
|
33777
33779
|
};
|
|
33778
|
-
})),
|
|
33780
|
+
})), MX = /* @__PURE__ */ K(((e) => {
|
|
33779
33781
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
|
|
33780
|
-
var t =
|
|
33782
|
+
var t = gX(), n = cX(), r = $Y(), i = tX(), a = _X(), o = eX(), s = {
|
|
33781
33783
|
keyword: "$ref",
|
|
33782
33784
|
schemaType: "string",
|
|
33783
33785
|
code(e) {
|
|
@@ -33850,9 +33852,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33850
33852
|
}
|
|
33851
33853
|
}
|
|
33852
33854
|
e.callRef = l, e.default = s;
|
|
33853
|
-
})),
|
|
33855
|
+
})), NX = /* @__PURE__ */ K(((e) => {
|
|
33854
33856
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33855
|
-
var t =
|
|
33857
|
+
var t = jX(), n = MX();
|
|
33856
33858
|
e.default = [
|
|
33857
33859
|
"$schema",
|
|
33858
33860
|
"$id",
|
|
@@ -33863,9 +33865,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33863
33865
|
t.default,
|
|
33864
33866
|
n.default
|
|
33865
33867
|
];
|
|
33866
|
-
})),
|
|
33868
|
+
})), PX = /* @__PURE__ */ K(((e) => {
|
|
33867
33869
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33868
|
-
var t =
|
|
33870
|
+
var t = $Y(), n = t.operators, r = {
|
|
33869
33871
|
maximum: {
|
|
33870
33872
|
okStr: "<=",
|
|
33871
33873
|
ok: n.LTE,
|
|
@@ -33901,9 +33903,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33901
33903
|
e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
|
|
33902
33904
|
}
|
|
33903
33905
|
};
|
|
33904
|
-
})),
|
|
33906
|
+
})), FX = /* @__PURE__ */ K(((e) => {
|
|
33905
33907
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33906
|
-
var t =
|
|
33908
|
+
var t = $Y();
|
|
33907
33909
|
e.default = {
|
|
33908
33910
|
keyword: "multipleOf",
|
|
33909
33911
|
type: "number",
|
|
@@ -33918,7 +33920,7 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33918
33920
|
e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
|
|
33919
33921
|
}
|
|
33920
33922
|
};
|
|
33921
|
-
})),
|
|
33923
|
+
})), IX = /* @__PURE__ */ K(((e) => {
|
|
33922
33924
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33923
33925
|
function t(e) {
|
|
33924
33926
|
let t = e.length, n = 0, r = 0, i;
|
|
@@ -33926,9 +33928,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33926
33928
|
return n;
|
|
33927
33929
|
}
|
|
33928
33930
|
e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
|
|
33929
|
-
})),
|
|
33931
|
+
})), LX = /* @__PURE__ */ K(((e) => {
|
|
33930
33932
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33931
|
-
var t =
|
|
33933
|
+
var t = $Y(), n = eX(), r = IX();
|
|
33932
33934
|
e.default = {
|
|
33933
33935
|
keyword: ["maxLength", "minLength"],
|
|
33934
33936
|
type: "string",
|
|
@@ -33946,9 +33948,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33946
33948
|
e.fail$data((0, t._)`${l} ${c} ${o}`);
|
|
33947
33949
|
}
|
|
33948
33950
|
};
|
|
33949
|
-
})),
|
|
33951
|
+
})), RX = /* @__PURE__ */ K(((e) => {
|
|
33950
33952
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33951
|
-
var t =
|
|
33953
|
+
var t = cX(), n = eX(), r = $Y();
|
|
33952
33954
|
e.default = {
|
|
33953
33955
|
keyword: "pattern",
|
|
33954
33956
|
type: "string",
|
|
@@ -33969,9 +33971,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33969
33971
|
}
|
|
33970
33972
|
}
|
|
33971
33973
|
};
|
|
33972
|
-
})),
|
|
33974
|
+
})), zX = /* @__PURE__ */ K(((e) => {
|
|
33973
33975
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33974
|
-
var t =
|
|
33976
|
+
var t = $Y();
|
|
33975
33977
|
e.default = {
|
|
33976
33978
|
keyword: ["maxProperties", "minProperties"],
|
|
33977
33979
|
type: "object",
|
|
@@ -33989,9 +33991,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
33989
33991
|
e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
|
|
33990
33992
|
}
|
|
33991
33993
|
};
|
|
33992
|
-
})),
|
|
33994
|
+
})), BX = /* @__PURE__ */ K(((e) => {
|
|
33993
33995
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33994
|
-
var t =
|
|
33996
|
+
var t = cX(), n = $Y(), r = eX();
|
|
33995
33997
|
e.default = {
|
|
33996
33998
|
keyword: "required",
|
|
33997
33999
|
type: "object",
|
|
@@ -34037,9 +34039,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34037
34039
|
}
|
|
34038
34040
|
}
|
|
34039
34041
|
};
|
|
34040
|
-
})),
|
|
34042
|
+
})), VX = /* @__PURE__ */ K(((e) => {
|
|
34041
34043
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34042
|
-
var t =
|
|
34044
|
+
var t = $Y();
|
|
34043
34045
|
e.default = {
|
|
34044
34046
|
keyword: ["maxItems", "minItems"],
|
|
34045
34047
|
type: "array",
|
|
@@ -34057,13 +34059,13 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34057
34059
|
e.fail$data((0, t._)`${r}.length ${a} ${i}`);
|
|
34058
34060
|
}
|
|
34059
34061
|
};
|
|
34060
|
-
})),
|
|
34062
|
+
})), HX = /* @__PURE__ */ K(((e) => {
|
|
34061
34063
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34062
|
-
var t =
|
|
34064
|
+
var t = dX();
|
|
34063
34065
|
t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
|
|
34064
|
-
})),
|
|
34066
|
+
})), UX = /* @__PURE__ */ K(((e) => {
|
|
34065
34067
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34066
|
-
var t =
|
|
34068
|
+
var t = oX(), n = $Y(), r = eX(), i = HX();
|
|
34067
34069
|
e.default = {
|
|
34068
34070
|
keyword: "uniqueItems",
|
|
34069
34071
|
type: "array",
|
|
@@ -34104,9 +34106,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34104
34106
|
}
|
|
34105
34107
|
}
|
|
34106
34108
|
};
|
|
34107
|
-
})),
|
|
34109
|
+
})), WX = /* @__PURE__ */ K(((e) => {
|
|
34108
34110
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34109
|
-
var t =
|
|
34111
|
+
var t = $Y(), n = eX(), r = HX();
|
|
34110
34112
|
e.default = {
|
|
34111
34113
|
keyword: "const",
|
|
34112
34114
|
$data: !0,
|
|
@@ -34119,9 +34121,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34119
34121
|
o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
|
|
34120
34122
|
}
|
|
34121
34123
|
};
|
|
34122
|
-
})),
|
|
34124
|
+
})), GX = /* @__PURE__ */ K(((e) => {
|
|
34123
34125
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34124
|
-
var t =
|
|
34126
|
+
var t = $Y(), n = eX(), r = HX();
|
|
34125
34127
|
e.default = {
|
|
34126
34128
|
keyword: "enum",
|
|
34127
34129
|
schemaType: "array",
|
|
@@ -34151,9 +34153,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34151
34153
|
}
|
|
34152
34154
|
}
|
|
34153
34155
|
};
|
|
34154
|
-
})),
|
|
34156
|
+
})), KX = /* @__PURE__ */ K(((e) => {
|
|
34155
34157
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34156
|
-
var t =
|
|
34158
|
+
var t = PX(), n = FX(), r = LX(), i = RX(), a = zX(), o = BX(), s = VX(), c = UX(), l = WX(), u = GX();
|
|
34157
34159
|
e.default = [
|
|
34158
34160
|
t.default,
|
|
34159
34161
|
n.default,
|
|
@@ -34174,9 +34176,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34174
34176
|
l.default,
|
|
34175
34177
|
u.default
|
|
34176
34178
|
];
|
|
34177
|
-
})),
|
|
34179
|
+
})), qX = /* @__PURE__ */ K(((e) => {
|
|
34178
34180
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
|
|
34179
|
-
var t =
|
|
34181
|
+
var t = $Y(), n = eX(), r = {
|
|
34180
34182
|
keyword: "additionalItems",
|
|
34181
34183
|
type: "array",
|
|
34182
34184
|
schemaType: ["boolean", "object"],
|
|
@@ -34214,9 +34216,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34214
34216
|
}
|
|
34215
34217
|
}
|
|
34216
34218
|
e.validateAdditionalItems = i, e.default = r;
|
|
34217
|
-
})),
|
|
34219
|
+
})), JX = /* @__PURE__ */ K(((e) => {
|
|
34218
34220
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
|
|
34219
|
-
var t =
|
|
34221
|
+
var t = $Y(), n = eX(), r = cX(), i = {
|
|
34220
34222
|
keyword: "items",
|
|
34221
34223
|
type: "array",
|
|
34222
34224
|
schemaType: [
|
|
@@ -34251,9 +34253,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34251
34253
|
}
|
|
34252
34254
|
}
|
|
34253
34255
|
e.validateTuple = a, e.default = i;
|
|
34254
|
-
})),
|
|
34256
|
+
})), YX = /* @__PURE__ */ K(((e) => {
|
|
34255
34257
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34256
|
-
var t =
|
|
34258
|
+
var t = JX();
|
|
34257
34259
|
e.default = {
|
|
34258
34260
|
keyword: "prefixItems",
|
|
34259
34261
|
type: "array",
|
|
@@ -34261,9 +34263,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34261
34263
|
before: "uniqueItems",
|
|
34262
34264
|
code: (e) => (0, t.validateTuple)(e, "items")
|
|
34263
34265
|
};
|
|
34264
|
-
})),
|
|
34266
|
+
})), XX = /* @__PURE__ */ K(((e) => {
|
|
34265
34267
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34266
|
-
var t =
|
|
34268
|
+
var t = $Y(), n = eX(), r = cX(), i = qX();
|
|
34267
34269
|
e.default = {
|
|
34268
34270
|
keyword: "items",
|
|
34269
34271
|
type: "array",
|
|
@@ -34278,9 +34280,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34278
34280
|
o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
|
|
34279
34281
|
}
|
|
34280
34282
|
};
|
|
34281
|
-
})),
|
|
34283
|
+
})), ZX = /* @__PURE__ */ K(((e) => {
|
|
34282
34284
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34283
|
-
var t =
|
|
34285
|
+
var t = $Y(), n = eX();
|
|
34284
34286
|
e.default = {
|
|
34285
34287
|
keyword: "contains",
|
|
34286
34288
|
type: "array",
|
|
@@ -34333,9 +34335,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34333
34335
|
}
|
|
34334
34336
|
}
|
|
34335
34337
|
};
|
|
34336
|
-
})),
|
|
34338
|
+
})), QX = /* @__PURE__ */ K(((e) => {
|
|
34337
34339
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
|
|
34338
|
-
var t =
|
|
34340
|
+
var t = $Y(), n = eX(), r = cX();
|
|
34339
34341
|
e.error = {
|
|
34340
34342
|
message: ({ params: { property: e, depsCount: n, deps: r } }) => {
|
|
34341
34343
|
let i = n === 1 ? "property" : "properties";
|
|
@@ -34394,9 +34396,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34394
34396
|
}, () => i.var(c, !0)), e.ok(c));
|
|
34395
34397
|
}
|
|
34396
34398
|
e.validateSchemaDeps = s, e.default = i;
|
|
34397
|
-
})),
|
|
34399
|
+
})), $X = /* @__PURE__ */ K(((e) => {
|
|
34398
34400
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34399
|
-
var t =
|
|
34401
|
+
var t = $Y(), n = eX();
|
|
34400
34402
|
e.default = {
|
|
34401
34403
|
keyword: "propertyNames",
|
|
34402
34404
|
type: "object",
|
|
@@ -34422,9 +34424,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34422
34424
|
}), e.ok(s);
|
|
34423
34425
|
}
|
|
34424
34426
|
};
|
|
34425
|
-
})),
|
|
34427
|
+
})), eZ = /* @__PURE__ */ K(((e) => {
|
|
34426
34428
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34427
|
-
var t =
|
|
34429
|
+
var t = cX(), n = $Y(), r = tX(), i = eX();
|
|
34428
34430
|
e.default = {
|
|
34429
34431
|
keyword: "additionalProperties",
|
|
34430
34432
|
type: ["object"],
|
|
@@ -34489,9 +34491,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34489
34491
|
}
|
|
34490
34492
|
}
|
|
34491
34493
|
};
|
|
34492
|
-
})),
|
|
34494
|
+
})), tZ = /* @__PURE__ */ K(((e) => {
|
|
34493
34495
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34494
|
-
var t =
|
|
34496
|
+
var t = mX(), n = cX(), r = eX(), i = eZ();
|
|
34495
34497
|
e.default = {
|
|
34496
34498
|
keyword: "properties",
|
|
34497
34499
|
type: "object",
|
|
@@ -34518,9 +34520,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34518
34520
|
}
|
|
34519
34521
|
}
|
|
34520
34522
|
};
|
|
34521
|
-
})),
|
|
34523
|
+
})), nZ = /* @__PURE__ */ K(((e) => {
|
|
34522
34524
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34523
|
-
var t =
|
|
34525
|
+
var t = cX(), n = $Y(), r = eX(), i = eX();
|
|
34524
34526
|
e.default = {
|
|
34525
34527
|
keyword: "patternProperties",
|
|
34526
34528
|
type: "object",
|
|
@@ -34553,9 +34555,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34553
34555
|
}
|
|
34554
34556
|
}
|
|
34555
34557
|
};
|
|
34556
|
-
})),
|
|
34558
|
+
})), rZ = /* @__PURE__ */ K(((e) => {
|
|
34557
34559
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34558
|
-
var t =
|
|
34560
|
+
var t = eX();
|
|
34559
34561
|
e.default = {
|
|
34560
34562
|
keyword: "not",
|
|
34561
34563
|
schemaType: ["object", "boolean"],
|
|
@@ -34576,17 +34578,17 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34576
34578
|
},
|
|
34577
34579
|
error: { message: "must NOT be valid" }
|
|
34578
34580
|
};
|
|
34579
|
-
})),
|
|
34581
|
+
})), iZ = /* @__PURE__ */ K(((e) => {
|
|
34580
34582
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
34581
34583
|
keyword: "anyOf",
|
|
34582
34584
|
schemaType: "array",
|
|
34583
34585
|
trackErrors: !0,
|
|
34584
|
-
code:
|
|
34586
|
+
code: cX().validateUnion,
|
|
34585
34587
|
error: { message: "must match a schema in anyOf" }
|
|
34586
34588
|
};
|
|
34587
|
-
})),
|
|
34589
|
+
})), aZ = /* @__PURE__ */ K(((e) => {
|
|
34588
34590
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34589
|
-
var t =
|
|
34591
|
+
var t = $Y(), n = eX();
|
|
34590
34592
|
e.default = {
|
|
34591
34593
|
keyword: "oneOf",
|
|
34592
34594
|
schemaType: "array",
|
|
@@ -34616,9 +34618,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34616
34618
|
}
|
|
34617
34619
|
}
|
|
34618
34620
|
};
|
|
34619
|
-
})),
|
|
34621
|
+
})), oZ = /* @__PURE__ */ K(((e) => {
|
|
34620
34622
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34621
|
-
var t =
|
|
34623
|
+
var t = eX();
|
|
34622
34624
|
e.default = {
|
|
34623
34625
|
keyword: "allOf",
|
|
34624
34626
|
schemaType: "array",
|
|
@@ -34637,9 +34639,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34637
34639
|
});
|
|
34638
34640
|
}
|
|
34639
34641
|
};
|
|
34640
|
-
})),
|
|
34642
|
+
})), sZ = /* @__PURE__ */ K(((e) => {
|
|
34641
34643
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34642
|
-
var t =
|
|
34644
|
+
var t = $Y(), n = eX(), r = {
|
|
34643
34645
|
keyword: "if",
|
|
34644
34646
|
schemaType: ["object", "boolean"],
|
|
34645
34647
|
trackErrors: !0,
|
|
@@ -34680,9 +34682,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34680
34682
|
return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
|
|
34681
34683
|
}
|
|
34682
34684
|
e.default = r;
|
|
34683
|
-
})),
|
|
34685
|
+
})), cZ = /* @__PURE__ */ K(((e) => {
|
|
34684
34686
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34685
|
-
var t =
|
|
34687
|
+
var t = eX();
|
|
34686
34688
|
e.default = {
|
|
34687
34689
|
keyword: ["then", "else"],
|
|
34688
34690
|
schemaType: ["object", "boolean"],
|
|
@@ -34690,9 +34692,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34690
34692
|
n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
|
|
34691
34693
|
}
|
|
34692
34694
|
};
|
|
34693
|
-
})),
|
|
34695
|
+
})), lZ = /* @__PURE__ */ K(((e) => {
|
|
34694
34696
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34695
|
-
var t =
|
|
34697
|
+
var t = qX(), n = YX(), r = JX(), i = XX(), a = ZX(), o = QX(), s = $X(), c = eZ(), l = tZ(), u = nZ(), d = rZ(), f = iZ(), p = aZ(), m = oZ(), h = sZ(), g = cZ();
|
|
34696
34698
|
function _(e = !1) {
|
|
34697
34699
|
let _ = [
|
|
34698
34700
|
d.default,
|
|
@@ -34710,9 +34712,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34710
34712
|
return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
|
|
34711
34713
|
}
|
|
34712
34714
|
e.default = _;
|
|
34713
|
-
})),
|
|
34715
|
+
})), uZ = /* @__PURE__ */ K(((e) => {
|
|
34714
34716
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34715
|
-
var t =
|
|
34717
|
+
var t = $Y();
|
|
34716
34718
|
e.default = {
|
|
34717
34719
|
keyword: "format",
|
|
34718
34720
|
type: ["number", "string"],
|
|
@@ -34785,9 +34787,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34785
34787
|
}
|
|
34786
34788
|
}
|
|
34787
34789
|
};
|
|
34788
|
-
})), uZ = /* @__PURE__ */ K(((e) => {
|
|
34789
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [lZ().default];
|
|
34790
34790
|
})), dZ = /* @__PURE__ */ K(((e) => {
|
|
34791
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [uZ().default];
|
|
34792
|
+
})), fZ = /* @__PURE__ */ K(((e) => {
|
|
34791
34793
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
|
|
34792
34794
|
"title",
|
|
34793
34795
|
"description",
|
|
@@ -34801,9 +34803,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34801
34803
|
"contentEncoding",
|
|
34802
34804
|
"contentSchema"
|
|
34803
34805
|
];
|
|
34804
|
-
})),
|
|
34806
|
+
})), pZ = /* @__PURE__ */ K(((e) => {
|
|
34805
34807
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34806
|
-
var t =
|
|
34808
|
+
var t = NX(), n = KX(), r = lZ(), i = dZ(), a = fZ();
|
|
34807
34809
|
e.default = [
|
|
34808
34810
|
t.default,
|
|
34809
34811
|
n.default,
|
|
@@ -34812,15 +34814,15 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34812
34814
|
a.metadataVocabulary,
|
|
34813
34815
|
a.contentVocabulary
|
|
34814
34816
|
];
|
|
34815
|
-
})),
|
|
34817
|
+
})), mZ = /* @__PURE__ */ K(((e) => {
|
|
34816
34818
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
|
|
34817
34819
|
var t;
|
|
34818
34820
|
(function(e) {
|
|
34819
34821
|
e.Tag = "tag", e.Mapping = "mapping";
|
|
34820
34822
|
})(t || (e.DiscrError = t = {}));
|
|
34821
|
-
})),
|
|
34823
|
+
})), hZ = /* @__PURE__ */ K(((e) => {
|
|
34822
34824
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34823
|
-
var t =
|
|
34825
|
+
var t = $Y(), n = mZ(), r = _X(), i = gX(), a = eX();
|
|
34824
34826
|
e.default = {
|
|
34825
34827
|
keyword: "discriminator",
|
|
34826
34828
|
type: "object",
|
|
@@ -34888,16 +34890,16 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34888
34890
|
}
|
|
34889
34891
|
}
|
|
34890
34892
|
};
|
|
34891
|
-
})),
|
|
34892
|
-
$id: () =>
|
|
34893
|
-
$schema: () =>
|
|
34894
|
-
default: () =>
|
|
34895
|
-
definitions: () =>
|
|
34896
|
-
properties: () =>
|
|
34897
|
-
title: () =>
|
|
34898
|
-
type: () =>
|
|
34899
|
-
}),
|
|
34900
|
-
|
|
34893
|
+
})), gZ = /* @__PURE__ */ Ce({
|
|
34894
|
+
$id: () => vZ,
|
|
34895
|
+
$schema: () => _Z,
|
|
34896
|
+
default: () => CZ,
|
|
34897
|
+
definitions: () => bZ,
|
|
34898
|
+
properties: () => SZ,
|
|
34899
|
+
title: () => yZ,
|
|
34900
|
+
type: () => xZ
|
|
34901
|
+
}), _Z, vZ, yZ, bZ, xZ, SZ, CZ, wZ = Se((() => {
|
|
34902
|
+
_Z = "http://json-schema.org/draft-07/schema#", vZ = "http://json-schema.org/draft-07/schema#", yZ = "Core schema meta-schema", bZ = {
|
|
34901
34903
|
schemaArray: {
|
|
34902
34904
|
type: "array",
|
|
34903
34905
|
minItems: 1,
|
|
@@ -34923,7 +34925,7 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
34923
34925
|
uniqueItems: !0,
|
|
34924
34926
|
default: []
|
|
34925
34927
|
}
|
|
34926
|
-
},
|
|
34928
|
+
}, xZ = ["object", "boolean"], SZ = {
|
|
34927
34929
|
$id: {
|
|
34928
34930
|
type: "string",
|
|
34929
34931
|
format: "uri-reference"
|
|
@@ -35022,18 +35024,18 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
35022
35024
|
anyOf: { $ref: "#/definitions/schemaArray" },
|
|
35023
35025
|
oneOf: { $ref: "#/definitions/schemaArray" },
|
|
35024
35026
|
not: { $ref: "#" }
|
|
35025
|
-
},
|
|
35026
|
-
$schema:
|
|
35027
|
-
$id:
|
|
35028
|
-
title:
|
|
35029
|
-
definitions:
|
|
35030
|
-
type:
|
|
35031
|
-
properties:
|
|
35027
|
+
}, CZ = {
|
|
35028
|
+
$schema: _Z,
|
|
35029
|
+
$id: vZ,
|
|
35030
|
+
title: yZ,
|
|
35031
|
+
definitions: bZ,
|
|
35032
|
+
type: xZ,
|
|
35033
|
+
properties: SZ,
|
|
35032
35034
|
default: !0
|
|
35033
35035
|
};
|
|
35034
|
-
})),
|
|
35036
|
+
})), TZ = /* @__PURE__ */ K(((e, t) => {
|
|
35035
35037
|
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;
|
|
35036
|
-
var n =
|
|
35038
|
+
var n = AX(), r = pZ(), i = hZ(), a = (wZ(), Ee(gZ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
|
|
35037
35039
|
_addVocabularies() {
|
|
35038
35040
|
super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
|
|
35039
35041
|
}
|
|
@@ -35047,14 +35049,14 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
35047
35049
|
}
|
|
35048
35050
|
};
|
|
35049
35051
|
e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
|
|
35050
|
-
var l =
|
|
35052
|
+
var l = mX();
|
|
35051
35053
|
Object.defineProperty(e, "KeywordCxt", {
|
|
35052
35054
|
enumerable: !0,
|
|
35053
35055
|
get: function() {
|
|
35054
35056
|
return l.KeywordCxt;
|
|
35055
35057
|
}
|
|
35056
35058
|
});
|
|
35057
|
-
var u =
|
|
35059
|
+
var u = $Y();
|
|
35058
35060
|
Object.defineProperty(e, "_", {
|
|
35059
35061
|
enumerable: !0,
|
|
35060
35062
|
get: function() {
|
|
@@ -35086,21 +35088,21 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
35086
35088
|
return u.CodeGen;
|
|
35087
35089
|
}
|
|
35088
35090
|
});
|
|
35089
|
-
var d =
|
|
35091
|
+
var d = hX();
|
|
35090
35092
|
Object.defineProperty(e, "ValidationError", {
|
|
35091
35093
|
enumerable: !0,
|
|
35092
35094
|
get: function() {
|
|
35093
35095
|
return d.default;
|
|
35094
35096
|
}
|
|
35095
35097
|
});
|
|
35096
|
-
var f =
|
|
35098
|
+
var f = gX();
|
|
35097
35099
|
Object.defineProperty(e, "MissingRefError", {
|
|
35098
35100
|
enumerable: !0,
|
|
35099
35101
|
get: function() {
|
|
35100
35102
|
return f.default;
|
|
35101
35103
|
}
|
|
35102
35104
|
});
|
|
35103
|
-
})),
|
|
35105
|
+
})), EZ = /* @__PURE__ */ K(((e) => {
|
|
35104
35106
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
|
|
35105
35107
|
function t(e, t) {
|
|
35106
35108
|
return {
|
|
@@ -35252,9 +35254,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
35252
35254
|
return !1;
|
|
35253
35255
|
}
|
|
35254
35256
|
}
|
|
35255
|
-
})),
|
|
35257
|
+
})), DZ = /* @__PURE__ */ K(((e) => {
|
|
35256
35258
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
|
|
35257
|
-
var t =
|
|
35259
|
+
var t = TZ(), n = $Y(), r = n.operators, i = {
|
|
35258
35260
|
formatMaximum: {
|
|
35259
35261
|
okStr: "<=",
|
|
35260
35262
|
ok: r.LTE,
|
|
@@ -35314,9 +35316,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
35314
35316
|
},
|
|
35315
35317
|
dependencies: ["format"]
|
|
35316
35318
|
}, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
|
|
35317
|
-
})),
|
|
35319
|
+
})), OZ = /* @__PURE__ */ K(((e, t) => {
|
|
35318
35320
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
35319
|
-
var n =
|
|
35321
|
+
var n = EZ(), r = DZ(), i = $Y(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
|
|
35320
35322
|
if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
|
|
35321
35323
|
let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
|
|
35322
35324
|
return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
|
|
@@ -35332,9 +35334,9 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
35332
35334
|
for (let r of t) e.addFormat(r, n[r]);
|
|
35333
35335
|
}
|
|
35334
35336
|
t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
|
|
35335
|
-
})),
|
|
35337
|
+
})), kZ = /* @__PURE__ */ Te(TZ(), 1), AZ = /* @__PURE__ */ Te(OZ(), 1), jZ = {
|
|
35336
35338
|
required: () => "This field is required",
|
|
35337
|
-
type: (e) => `Should be "${
|
|
35339
|
+
type: (e) => `Should be "${NZ(e)}".`,
|
|
35338
35340
|
minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
|
|
35339
35341
|
maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
|
|
35340
35342
|
minimum: (e) => `Should be >= ${e.params.limit}`,
|
|
@@ -35350,59 +35352,59 @@ var XY = /* @__PURE__ */ K(((e) => {
|
|
|
35350
35352
|
format: (e) => `Should be a valid ${e.params.format}`,
|
|
35351
35353
|
uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
|
|
35352
35354
|
};
|
|
35353
|
-
function
|
|
35354
|
-
let n =
|
|
35355
|
+
function MZ(e, t) {
|
|
35356
|
+
let n = jZ[e.keyword];
|
|
35355
35357
|
return n ? n(e, t) : e.message ?? "Invalid value";
|
|
35356
35358
|
}
|
|
35357
|
-
function
|
|
35359
|
+
function NZ(e) {
|
|
35358
35360
|
let t = e.params.type;
|
|
35359
35361
|
return String(Array.isArray(t) ? t[0] : t);
|
|
35360
35362
|
}
|
|
35361
35363
|
//#endregion
|
|
35362
35364
|
//#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
|
|
35363
|
-
function
|
|
35365
|
+
function PZ(e, t, n) {
|
|
35364
35366
|
let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
|
|
35365
35367
|
for (let e of r) {
|
|
35366
35368
|
if (!i) return {
|
|
35367
35369
|
node: void 0,
|
|
35368
35370
|
value: void 0
|
|
35369
35371
|
};
|
|
35370
|
-
i =
|
|
35372
|
+
i = FZ(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);
|
|
35371
35373
|
}
|
|
35372
35374
|
return i ? {
|
|
35373
|
-
node: FZ(
|
|
35375
|
+
node: IZ(FZ(i, a, n, r), r),
|
|
35374
35376
|
value: a
|
|
35375
35377
|
} : {
|
|
35376
35378
|
node: void 0,
|
|
35377
35379
|
value: a
|
|
35378
35380
|
};
|
|
35379
35381
|
}
|
|
35380
|
-
function
|
|
35381
|
-
let i = new Map(e.properties), a = e.variants ?
|
|
35382
|
+
function FZ(e, t, n, r) {
|
|
35383
|
+
let i = new Map(e.properties), a = e.variants ? zZ(e.variants, t) : void 0;
|
|
35382
35384
|
if (a) for (let [e, t] of a.properties) i.set(e, t);
|
|
35383
35385
|
let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
|
|
35384
35386
|
if (o.length > 0) {
|
|
35385
|
-
for (let e of o) if (
|
|
35387
|
+
for (let e of o) if (LZ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
|
|
35386
35388
|
}
|
|
35387
35389
|
return i.size > (e.properties?.size ?? 0) ? {
|
|
35388
35390
|
...e,
|
|
35389
35391
|
properties: i
|
|
35390
35392
|
} : e;
|
|
35391
35393
|
}
|
|
35392
|
-
function
|
|
35394
|
+
function IZ(e, t) {
|
|
35393
35395
|
return e.displayIf ? {
|
|
35394
35396
|
...e,
|
|
35395
35397
|
displayIf: { $eq: new Map([...e.displayIf.$eq].map(([e, n]) => [EJ(e, t), n])) }
|
|
35396
35398
|
} : e;
|
|
35397
35399
|
}
|
|
35398
|
-
function
|
|
35400
|
+
function LZ(e, t, n) {
|
|
35399
35401
|
for (let [r, i] of e) {
|
|
35400
|
-
let e =
|
|
35402
|
+
let e = RZ(t, EJ(r, n).split("."));
|
|
35401
35403
|
if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
|
|
35402
35404
|
}
|
|
35403
35405
|
return !0;
|
|
35404
35406
|
}
|
|
35405
|
-
function
|
|
35407
|
+
function RZ(e, t) {
|
|
35406
35408
|
let n = e;
|
|
35407
35409
|
for (let e of t) {
|
|
35408
35410
|
if (typeof n != "object" || !n) return;
|
|
@@ -35410,25 +35412,25 @@ function LZ(e, t) {
|
|
|
35410
35412
|
}
|
|
35411
35413
|
return n;
|
|
35412
35414
|
}
|
|
35413
|
-
function
|
|
35415
|
+
function zZ(e, t) {
|
|
35414
35416
|
if (typeof t != "object" || !t) return;
|
|
35415
35417
|
let n = t;
|
|
35416
35418
|
return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
|
|
35417
35419
|
}
|
|
35418
35420
|
//#endregion
|
|
35419
35421
|
//#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
|
|
35420
|
-
var
|
|
35422
|
+
var BZ = new kZ.default({
|
|
35421
35423
|
strict: !1,
|
|
35422
35424
|
allErrors: !0
|
|
35423
35425
|
});
|
|
35424
|
-
(0,
|
|
35426
|
+
(0, AZ.default)(BZ), BZ.removeKeyword("id"), BZ.addKeyword({
|
|
35425
35427
|
keyword: "id",
|
|
35426
35428
|
validate: () => !0
|
|
35427
35429
|
});
|
|
35428
|
-
function
|
|
35430
|
+
function VZ(e, t = {}) {
|
|
35429
35431
|
let n;
|
|
35430
35432
|
try {
|
|
35431
|
-
n =
|
|
35433
|
+
n = RY(e);
|
|
35432
35434
|
} catch (e) {
|
|
35433
35435
|
let t = e instanceof Error ? e.message : "Invalid JSON Schema";
|
|
35434
35436
|
return () => ({
|
|
@@ -35441,7 +35443,7 @@ function BZ(e, t = {}) {
|
|
|
35441
35443
|
}
|
|
35442
35444
|
let r = n.root.schema, i = n.variantIndices, a;
|
|
35443
35445
|
try {
|
|
35444
|
-
a =
|
|
35446
|
+
a = BZ.compile(r);
|
|
35445
35447
|
} catch (e) {
|
|
35446
35448
|
let t = e instanceof Error ? e.message : "Invalid JSON Schema";
|
|
35447
35449
|
return () => ({
|
|
@@ -35452,15 +35454,15 @@ function BZ(e, t = {}) {
|
|
|
35452
35454
|
} }
|
|
35453
35455
|
});
|
|
35454
35456
|
}
|
|
35455
|
-
|
|
35457
|
+
BZ.removeSchema(r);
|
|
35456
35458
|
let o = async (e, t, r) => {
|
|
35457
|
-
let o = a(e) ? [] : a.errors ?? [], s =
|
|
35459
|
+
let o = a(e) ? [] : a.errors ?? [], s = JZ(n.root, e, "", i), c = [...o, ...s];
|
|
35458
35460
|
return c.length === 0 ? {
|
|
35459
35461
|
values: e,
|
|
35460
35462
|
errors: {}
|
|
35461
35463
|
} : {
|
|
35462
35464
|
values: {},
|
|
35463
|
-
errors: WZ(
|
|
35465
|
+
errors: GZ(WZ(c.filter((t) => !HZ(t, n, e))), r.criteriaMode ?? "firstError")
|
|
35464
35466
|
};
|
|
35465
35467
|
};
|
|
35466
35468
|
if (!t.basePath) return o;
|
|
@@ -35476,12 +35478,12 @@ function BZ(e, t = {}) {
|
|
|
35476
35478
|
};
|
|
35477
35479
|
};
|
|
35478
35480
|
}
|
|
35479
|
-
function
|
|
35480
|
-
let { node: r, value: i } =
|
|
35481
|
+
function HZ(e, t, n) {
|
|
35482
|
+
let { node: r, value: i } = PZ(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(FJ) : []).join("."), n);
|
|
35481
35483
|
if (!r) return !1;
|
|
35482
35484
|
switch (e.keyword) {
|
|
35483
35485
|
case "const":
|
|
35484
|
-
case "enum": return
|
|
35486
|
+
case "enum": return UZ(r.schema, i);
|
|
35485
35487
|
case "required": {
|
|
35486
35488
|
let t = e.params.missingProperty;
|
|
35487
35489
|
return typeof t == "string" && !!r.properties && !r.properties.has(t);
|
|
@@ -35489,46 +35491,46 @@ function VZ(e, t, n) {
|
|
|
35489
35491
|
default: return !1;
|
|
35490
35492
|
}
|
|
35491
35493
|
}
|
|
35492
|
-
function
|
|
35494
|
+
function UZ(e, t) {
|
|
35493
35495
|
return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
|
|
35494
35496
|
}
|
|
35495
|
-
function
|
|
35497
|
+
function WZ(e) {
|
|
35496
35498
|
return e.filter((t) => {
|
|
35497
35499
|
if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
|
|
35498
|
-
let n =
|
|
35500
|
+
let n = KZ(t), r = n === "" ? "" : `${n}.`;
|
|
35499
35501
|
return !e.some((e) => {
|
|
35500
35502
|
if (e === t) return !1;
|
|
35501
|
-
let i =
|
|
35503
|
+
let i = KZ(e);
|
|
35502
35504
|
return n === "" ? i !== "" : i.startsWith(r);
|
|
35503
35505
|
});
|
|
35504
35506
|
});
|
|
35505
35507
|
}
|
|
35506
|
-
function
|
|
35508
|
+
function GZ(e, t) {
|
|
35507
35509
|
let n = /* @__PURE__ */ new Map();
|
|
35508
35510
|
for (let t of e) {
|
|
35509
|
-
let e =
|
|
35511
|
+
let e = KZ(t), r = n.get(e) ?? [];
|
|
35510
35512
|
r.push(t), n.set(e, r);
|
|
35511
35513
|
}
|
|
35512
35514
|
let r = {};
|
|
35513
35515
|
for (let [e, i] of n) {
|
|
35514
35516
|
let n = {
|
|
35515
35517
|
type: i[0].keyword,
|
|
35516
|
-
message:
|
|
35518
|
+
message: MZ(i[0], e)
|
|
35517
35519
|
};
|
|
35518
35520
|
if (t === "all" && i.length > 0) {
|
|
35519
35521
|
let t = {};
|
|
35520
|
-
for (let n of i) t[n.keyword] =
|
|
35522
|
+
for (let n of i) t[n.keyword] = MZ(n, e);
|
|
35521
35523
|
n.types = t;
|
|
35522
35524
|
}
|
|
35523
|
-
|
|
35525
|
+
qZ(r, e === "" ? "root" : e, n);
|
|
35524
35526
|
}
|
|
35525
35527
|
return r;
|
|
35526
35528
|
}
|
|
35527
|
-
function
|
|
35529
|
+
function KZ(e) {
|
|
35528
35530
|
let t = e.instancePath ? e.instancePath.slice(1).split("/").map(FJ) : [];
|
|
35529
35531
|
return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
|
|
35530
35532
|
}
|
|
35531
|
-
function
|
|
35533
|
+
function qZ(e, t, n) {
|
|
35532
35534
|
let r = t.split("."), i = e;
|
|
35533
35535
|
for (let e = 0; e < r.length - 1; e++) {
|
|
35534
35536
|
let t = r[e];
|
|
@@ -35536,7 +35538,7 @@ function KZ(e, t, n) {
|
|
|
35536
35538
|
}
|
|
35537
35539
|
i[r[r.length - 1]] = n;
|
|
35538
35540
|
}
|
|
35539
|
-
function
|
|
35541
|
+
function JZ(e, t, n, r) {
|
|
35540
35542
|
if (!e) return [];
|
|
35541
35543
|
let i = [];
|
|
35542
35544
|
if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
|
|
@@ -35553,18 +35555,18 @@ function qZ(e, t, n, r) {
|
|
|
35553
35555
|
}
|
|
35554
35556
|
}
|
|
35555
35557
|
let a = typeof t == "object" && !!t && !Array.isArray(t);
|
|
35556
|
-
if (e.properties && a) for (let [a, o] of e.properties) i.push(...
|
|
35558
|
+
if (e.properties && a) for (let [a, o] of e.properties) i.push(...JZ(o, t[a], `${n}/${PJ(a)}`, r));
|
|
35557
35559
|
if (e.variants && e.variants.length > 0 && a) {
|
|
35558
|
-
let a = t, o =
|
|
35559
|
-
if (s) for (let [e, t] of s.properties) i.push(...
|
|
35560
|
+
let a = t, o = bY(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
|
|
35561
|
+
if (s) for (let [e, t] of s.properties) i.push(...JZ(t, a[e], `${n}/${PJ(e)}`, r));
|
|
35560
35562
|
}
|
|
35561
35563
|
return e.items && Array.isArray(t) && t.forEach((t, a) => {
|
|
35562
|
-
i.push(...
|
|
35564
|
+
i.push(...JZ(e.items, t, `${n}/${a}`, r));
|
|
35563
35565
|
}), i;
|
|
35564
35566
|
}
|
|
35565
35567
|
//#endregion
|
|
35566
35568
|
//#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
|
|
35567
|
-
var
|
|
35569
|
+
var YZ = {
|
|
35568
35570
|
navigation: null,
|
|
35569
35571
|
contextSidebar: null,
|
|
35570
35572
|
breadcrumbs: [],
|
|
@@ -35572,9 +35574,9 @@ var JZ = {
|
|
|
35572
35574
|
viewMode: "global",
|
|
35573
35575
|
contextExpanded: !0,
|
|
35574
35576
|
contentVariant: "default"
|
|
35575
|
-
},
|
|
35576
|
-
function
|
|
35577
|
-
let [t, n] = U(
|
|
35577
|
+
}, XZ = I(null);
|
|
35578
|
+
function ZZ({ children: e }) {
|
|
35579
|
+
let [t, n] = U(YZ), r = R((e, t) => {
|
|
35578
35580
|
n((n) => ({
|
|
35579
35581
|
...n,
|
|
35580
35582
|
[e]: t
|
|
@@ -35586,7 +35588,7 @@ function XZ({ children: e }) {
|
|
|
35586
35588
|
}));
|
|
35587
35589
|
}, []), a = R((e) => {
|
|
35588
35590
|
n((t) => {
|
|
35589
|
-
let n = Object.fromEntries(e.map((e) => [e,
|
|
35591
|
+
let n = Object.fromEntries(e.map((e) => [e, YZ[e]]));
|
|
35590
35592
|
return {
|
|
35591
35593
|
...t,
|
|
35592
35594
|
...n
|
|
@@ -35603,20 +35605,20 @@ function XZ({ children: e }) {
|
|
|
35603
35605
|
i,
|
|
35604
35606
|
a
|
|
35605
35607
|
]);
|
|
35606
|
-
return /* @__PURE__ */ W(
|
|
35608
|
+
return /* @__PURE__ */ W(XZ.Provider, {
|
|
35607
35609
|
value: o,
|
|
35608
35610
|
children: e
|
|
35609
35611
|
});
|
|
35610
35612
|
}
|
|
35611
|
-
function
|
|
35612
|
-
let e = te(
|
|
35613
|
+
function QZ() {
|
|
35614
|
+
let e = te(XZ);
|
|
35613
35615
|
if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
|
|
35614
35616
|
return e;
|
|
35615
35617
|
}
|
|
35616
35618
|
//#endregion
|
|
35617
35619
|
//#region src/composed/LayoutSlots/use-layout-config.ts
|
|
35618
|
-
function
|
|
35619
|
-
let { setSlots: n, resetSlots: r } =
|
|
35620
|
+
function $Z(e, t = []) {
|
|
35621
|
+
let { setSlots: n, resetSlots: r } = QZ();
|
|
35620
35622
|
B(() => {
|
|
35621
35623
|
n(e);
|
|
35622
35624
|
let t = Object.keys(e);
|
|
@@ -35631,7 +35633,7 @@ function QZ(e, t = []) {
|
|
|
35631
35633
|
}
|
|
35632
35634
|
//#endregion
|
|
35633
35635
|
//#region src/composed/TopNavUser/TopNavUser.tsx
|
|
35634
|
-
var
|
|
35636
|
+
var eQ = [
|
|
35635
35637
|
{
|
|
35636
35638
|
value: "light",
|
|
35637
35639
|
label: "Light"
|
|
@@ -35645,7 +35647,7 @@ var $Z = [
|
|
|
35645
35647
|
label: "System"
|
|
35646
35648
|
}
|
|
35647
35649
|
];
|
|
35648
|
-
function
|
|
35650
|
+
function tQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
|
|
35649
35651
|
let s = i ?? e.slice(0, 2).toUpperCase(), { mode: c, setMode: l } = j();
|
|
35650
35652
|
return /* @__PURE__ */ G(rI, { children: [/* @__PURE__ */ W(aI, {
|
|
35651
35653
|
asChild: !0,
|
|
@@ -35674,7 +35676,7 @@ function eQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
|
|
|
35674
35676
|
/* @__PURE__ */ W(uI, {
|
|
35675
35677
|
value: c,
|
|
35676
35678
|
onValueChange: (e) => l(e),
|
|
35677
|
-
children:
|
|
35679
|
+
children: eQ.map((e) => /* @__PURE__ */ W(dI, {
|
|
35678
35680
|
value: e.value,
|
|
35679
35681
|
children: e.label
|
|
35680
35682
|
}, e.value))
|
|
@@ -35687,6 +35689,6 @@ function eQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
|
|
|
35687
35689
|
]
|
|
35688
35690
|
})] });
|
|
35689
35691
|
}
|
|
35690
|
-
|
|
35692
|
+
tQ.displayName = "TopNavUser";
|
|
35691
35693
|
//#endregion
|
|
35692
|
-
export { mv as Accordion, _v as AccordionContent, hv as AccordionItem, gv as AccordionTrigger, Sv as Alert, Tv as AlertAction, wv as AlertDescription, Cv as AlertTitle, xU as AppContextBar, jU as AppLayout, FU as AppSidebar, vU as AppSwitcher, Ev as Avatar, kv as AvatarBadge, Ov as AvatarFallback, Av as AvatarGroup, jv as AvatarGroupCount, Dv as AvatarImage, Nv as Badge, MG as BadgeCell, Pv as Breadcrumb, Bv as BreadcrumbEllipsis, Iv as BreadcrumbItem, Lv as BreadcrumbLink, Fv as BreadcrumbList, Rv as BreadcrumbPage, zv as BreadcrumbSeparator, Hv as Button, Gv as ButtonGroup, qv as ButtonGroupSeparator, Kv as ButtonGroupText, oC as Calendar, sC as CalendarDayButton, cC as Card, fC as CardAction, pC as CardContent, dC as CardDescription, mC as CardFooter, lC as CardHeader, uC as CardTitle, hC as Checkbox, gC as Collapsible, vC as CollapsibleContent, _C as CollapsibleTrigger, LA as Combobox, ZA as ComboboxChip, XA as ComboboxChips, QA as ComboboxChipsInput, qA as ComboboxCollection, HA as ComboboxContent, JA as ComboboxEmpty, GA as ComboboxGroup, VA as ComboboxInput, WA as ComboboxItem, KA as ComboboxLabel, UA as ComboboxList, YA as ComboboxSeparator, zA as ComboboxTrigger, RA as ComboboxValue, vP as Command, yP as CommandDialog, SP as CommandEmpty, CP as CommandGroup, bP as CommandInput, TP as CommandItem, xP as CommandList, wP as CommandSeparator, EP as CommandShortcut, BU as ContentHeader, DP as ContextMenu, LP as ContextMenuCheckboxItem, NP as ContextMenuContent, kP as ContextMenuGroup, PP as ContextMenuItem, zP as ContextMenuLabel, AP as ContextMenuPortal, MP as ContextMenuRadioGroup, RP as ContextMenuRadioItem, BP as ContextMenuSeparator, VP as ContextMenuShortcut, jP as ContextMenuSub, IP as ContextMenuSubContent, FP as ContextMenuSubTrigger, OP as ContextMenuTrigger, LU as ContextSidebar, RU as ContextToggleButton, PG as CopyableCell, VU as CopyableText,
|
|
35694
|
+
export { mv as Accordion, _v as AccordionContent, hv as AccordionItem, gv as AccordionTrigger, Sv as Alert, Tv as AlertAction, wv as AlertDescription, Cv as AlertTitle, xU as AppContextBar, jU as AppLayout, FU as AppSidebar, vU as AppSwitcher, Ev as Avatar, kv as AvatarBadge, Ov as AvatarFallback, Av as AvatarGroup, jv as AvatarGroupCount, Dv as AvatarImage, Nv as Badge, MG as BadgeCell, Pv as Breadcrumb, Bv as BreadcrumbEllipsis, Iv as BreadcrumbItem, Lv as BreadcrumbLink, Fv as BreadcrumbList, Rv as BreadcrumbPage, zv as BreadcrumbSeparator, Hv as Button, Gv as ButtonGroup, qv as ButtonGroupSeparator, Kv as ButtonGroupText, oC as Calendar, sC as CalendarDayButton, cC as Card, fC as CardAction, pC as CardContent, dC as CardDescription, mC as CardFooter, lC as CardHeader, uC as CardTitle, hC as Checkbox, gC as Collapsible, vC as CollapsibleContent, _C as CollapsibleTrigger, LA as Combobox, ZA as ComboboxChip, XA as ComboboxChips, QA as ComboboxChipsInput, qA as ComboboxCollection, HA as ComboboxContent, JA as ComboboxEmpty, GA as ComboboxGroup, VA as ComboboxInput, WA as ComboboxItem, KA as ComboboxLabel, UA as ComboboxList, YA as ComboboxSeparator, zA as ComboboxTrigger, RA as ComboboxValue, vP as Command, yP as CommandDialog, SP as CommandEmpty, CP as CommandGroup, bP as CommandInput, TP as CommandItem, xP as CommandList, wP as CommandSeparator, EP as CommandShortcut, BU as ContentHeader, DP as ContextMenu, LP as ContextMenuCheckboxItem, NP as ContextMenuContent, kP as ContextMenuGroup, PP as ContextMenuItem, zP as ContextMenuLabel, AP as ContextMenuPortal, MP as ContextMenuRadioGroup, RP as ContextMenuRadioItem, BP as ContextMenuSeparator, VP as ContextMenuShortcut, jP as ContextMenuSub, IP as ContextMenuSubContent, FP as ContextMenuSubTrigger, OP as ContextMenuTrigger, LU as ContextSidebar, RU as ContextToggleButton, PG as CopyableCell, VU as CopyableText, YZ as DEFAULT_SLOTS, CG as DataTable, wG as DataTableColumnHeader, IG as DataTableEmptyState, gG as DataTablePagination, _G as DataTableViewOptions, jG as DateCell, GK as DatePicker, KK as DateRangePicker, YK as DateTimePicker, QK as DateTimeRangePicker, cP as Dialog, dP as DialogClose, pP as DialogContent, _P as DialogDescription, hP as DialogFooter, mP as DialogHeader, fP as DialogOverlay, uP as DialogPortal, gP as DialogTitle, lP as DialogTrigger, qF as Drawer, XF as DrawerClose, QF as DrawerContent, nI as DrawerDescription, eI as DrawerFooter, $F as DrawerHeader, ZF as DrawerOverlay, YF as DrawerPortal, tI as DrawerTitle, JF as DrawerTrigger, rI as DropdownMenu, lI as DropdownMenuCheckboxItem, oI as DropdownMenuContent, sI as DropdownMenuGroup, cI as DropdownMenuItem, fI as DropdownMenuLabel, iI as DropdownMenuPortal, uI as DropdownMenuRadioGroup, dI as DropdownMenuRadioItem, pI as DropdownMenuSeparator, mI as DropdownMenuShortcut, hI as DropdownMenuSub, _I as DropdownMenuSubContent, gI as DropdownMenuSubTrigger, aI as DropdownMenuTrigger, vI as Empty, wI as EmptyContent, CI as EmptyDescription, yI as EmptyHeader, xI as EmptyMedia, SI as EmptyTitle, $K as FacetedFilter, AI as Field, jI as FieldContent, PI as FieldDescription, II as FieldError, OI as FieldGroup, MI as FieldLabel, DI as FieldLegend, FI as FieldSeparator, EI as FieldSet, NI as FieldTitle, iq as FileUpload, AR as FileUploadInput, rq as FileUploadItem, jR as HoverCard, NR as HoverCardContent, IR as HoverCardDescription, PR as HoverCardHeader, FR as HoverCardTitle, MR as HoverCardTrigger, DA as Input, kA as InputGroup, jA as InputGroupAddon, NA as InputGroupButton, FA as InputGroupInput, PA as InputGroupText, IA as InputGroupTextarea, BR as Item, KR as ItemActions, UR as ItemContent, GR as ItemDescription, JR as ItemFooter, LR as ItemGroup, qR as ItemHeader, HR as ItemMedia, RR as ItemSeparator, WR as ItemTitle, YY as JsonSchemaForm, YR as Kbd, XR as KbdGroup, TI as Label, ZZ as LayoutSlotsProvider, NG as MonoCell, ZR as Pagination, QR as PaginationContent, rz as PaginationEllipsis, $R as PaginationItem, ez as PaginationLink, nz as PaginationNext, tz as PaginationPrevious, kY as PasswordInput, iz as Popover, sz as PopoverAnchor, oz as PopoverContent, uz as PopoverDescription, cz as PopoverHeader, lz as PopoverTitle, az as PopoverTrigger, Oe as PortalContainerProvider, dz as Progress, pz as Prose, mz as RadioGroup, hz as RadioGroupItem, dV as ResizableHandle, uV as ResizablePanel, lV as ResizablePanelGroup, fV as ScrollArea, pV as ScrollBar, mV as Select, vV as SelectContent, hV as SelectGroup, bV as SelectItem, yV as SelectLabel, CV as SelectScrollDownButton, SV as SelectScrollUpButton, xV as SelectSeparator, _V as SelectTrigger, gV as SelectValue, yU as SelectorDropdown, bU as SelectorTriggerButton, Uv as Separator, wV as Sheet, EV as SheetClose, kV as SheetContent, NV as SheetDescription, jV as SheetFooter, AV as SheetHeader, MV as SheetTitle, TV as SheetTrigger, QV as Sidebar, oH as SidebarContent, iH as SidebarFooter, sH as SidebarGroup, lH as SidebarGroupAction, uH as SidebarGroupContent, cH as SidebarGroupLabel, rH as SidebarHeader, nH as SidebarInput, tH as SidebarInset, dH as SidebarMenu, hH as SidebarMenuAction, gH as SidebarMenuBadge, mH as SidebarMenuButton, fH as SidebarMenuItem, _H as SidebarMenuSkeleton, vH as SidebarMenuSub, bH as SidebarMenuSubButton, yH as SidebarMenuSubItem, kU as SidebarModeControl, DU as SidebarModeProvider, IU as SidebarNavigation, ZV as SidebarProvider, eH as SidebarRail, aH as SidebarSeparator, $V as SidebarTrigger, n as Skeleton, QH as Spinner, $H as Switch, eU as Table, nU as TableBody, sU as TableCaption, oU as TableCell, rU as TableFooter, aU as TableHead, tU as TableHeader, iU as TableRow, cU as Tabs, fU as TabsContent, uU as TabsList, dU as TabsTrigger, OA as Textarea, M as ThemeProvider, ZH as Toaster, mU as Toggle, gU as ToggleGroup, _U as ToggleGroupItem, FV as Tooltip, LV as TooltipContent, PV as TooltipProvider, IV as TooltipTrigger, tQ as TopNavUser, FG as TruncatedCell, xv as alertVariants, Mv as badgeVariants, HU as buildLinearBreadcrumbs, Wv as buttonGroupVariants, Vv as buttonVariants, t as cn, XY as composeResolvers, zJ as extractDefaults, VZ as jsonSchemaResolver, lU as tabsListVariants, FH as toast, pU as toggleVariants, $A as useComboboxAnchor, $Z as useLayoutConfig, QZ as useLayoutSlots, ke as usePortalContainer, XV as useSidebar, wU as useSidebarMode, j as useTheme };
|