@gravitee/graphene-core 2.58.0 → 2.59.0-jsf-deprecated.ec5476a
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/{CodeEditor-izUXIn0I.js → CodeEditor-W9JPCQhc.js} +1 -0
- package/dist/{CodeEditorField-2Ph093QR.js → CodeEditorField-cwZAv7Ib.js} +1 -1
- package/dist/code-editor/index.js +1 -1
- package/dist/composed/CodeEditor/CodeEditor.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/conditional/useDependencyBranchSync.d.ts +27 -0
- package/dist/composed/JsonSchemaForm/conditional/useDependencyBranchSync.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/object/ObjectField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/oneOf/OneOfField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/form-bindings/extractDefaults.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.d.ts +7 -5
- package/dist/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/utils/schemaShape.d.ts +2 -1
- package/dist/composed/JsonSchemaForm/utils/schemaShape.d.ts.map +1 -1
- package/dist/index.js +442 -388
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -28815,29 +28815,58 @@ function pq(e, t) {
|
|
|
28815
28815
|
return r;
|
|
28816
28816
|
}
|
|
28817
28817
|
//#endregion
|
|
28818
|
-
//#region src/composed/JsonSchemaForm/
|
|
28818
|
+
//#region src/composed/JsonSchemaForm/utils/schemaShape.ts
|
|
28819
28819
|
function mq(e) {
|
|
28820
|
+
return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.every((e) => e.const !== void 0);
|
|
28821
|
+
}
|
|
28822
|
+
function hq(e) {
|
|
28823
|
+
return e.type !== "array" || e.uniqueItems !== !0 || !e.items || Array.isArray(e.items) ? !1 : Array.isArray(e.items.enum) && e.items.enum.length > 0;
|
|
28824
|
+
}
|
|
28825
|
+
function gq(e) {
|
|
28826
|
+
return e.type === "array" && e.gioConfig?.uiType === "gio-headers-array";
|
|
28827
|
+
}
|
|
28828
|
+
function _q(e) {
|
|
28829
|
+
let t = e.deprecated;
|
|
28830
|
+
if (t === !0) return !0;
|
|
28831
|
+
if (typeof t == "string") {
|
|
28832
|
+
let e = t.trim().toLowerCase();
|
|
28833
|
+
return e !== "" && e !== "false";
|
|
28834
|
+
}
|
|
28835
|
+
return !1;
|
|
28836
|
+
}
|
|
28837
|
+
function vq(e) {
|
|
28838
|
+
return e.format === "gio-code-editor" ? e.type === "string" || Array.isArray(e.type) && e.type.includes("string") : !1;
|
|
28839
|
+
}
|
|
28840
|
+
function yq(e) {
|
|
28841
|
+
return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.some((e) => e.properties !== void 0) && !mq(e);
|
|
28842
|
+
}
|
|
28843
|
+
function bq(e) {
|
|
28844
|
+
return Array.isArray(e.anyOf) && e.anyOf.length > 0 && e.anyOf.some((e) => e.properties !== void 0);
|
|
28845
|
+
}
|
|
28846
|
+
//#endregion
|
|
28847
|
+
//#region src/composed/JsonSchemaForm/form-bindings/extractDefaults.ts
|
|
28848
|
+
function xq(e) {
|
|
28820
28849
|
let t;
|
|
28821
28850
|
try {
|
|
28822
28851
|
t = iq(dq(e));
|
|
28823
28852
|
} catch {
|
|
28824
28853
|
return;
|
|
28825
28854
|
}
|
|
28826
|
-
return
|
|
28855
|
+
return Sq(t);
|
|
28827
28856
|
}
|
|
28828
|
-
function
|
|
28829
|
-
if (e
|
|
28857
|
+
function Sq(e) {
|
|
28858
|
+
if (_q(e)) return;
|
|
28830
28859
|
if (Object.prototype.hasOwnProperty.call(e, "default")) return e.default;
|
|
28831
28860
|
let t = {};
|
|
28832
28861
|
if (e.properties) for (let [n, r] of Object.entries(e.properties)) {
|
|
28833
|
-
let e =
|
|
28862
|
+
let e = Sq(r);
|
|
28834
28863
|
e !== void 0 && (t[n] = e);
|
|
28835
28864
|
}
|
|
28836
|
-
let n = (e.oneOf ?? e.anyOf)?.find((e) => e
|
|
28865
|
+
let n = (e.oneOf ?? e.anyOf)?.find((e) => !_q(e));
|
|
28837
28866
|
if (n?.properties) {
|
|
28838
28867
|
for (let [e, r] of Object.entries(n.properties)) if (r.const !== void 0) t[e] = r.const;
|
|
28839
28868
|
else if (!(e in t)) {
|
|
28840
|
-
let n =
|
|
28869
|
+
let n = Sq(r);
|
|
28841
28870
|
n !== void 0 && (t[e] = n);
|
|
28842
28871
|
}
|
|
28843
28872
|
}
|
|
@@ -28845,7 +28874,7 @@ function hq(e) {
|
|
|
28845
28874
|
}
|
|
28846
28875
|
//#endregion
|
|
28847
28876
|
//#region src/composed/JsonSchemaForm/fields/array/buildDefaultForType.ts
|
|
28848
|
-
function
|
|
28877
|
+
function Cq(e) {
|
|
28849
28878
|
if (e.default !== void 0) return e.default;
|
|
28850
28879
|
switch (e.type) {
|
|
28851
28880
|
case "string": return "";
|
|
@@ -28860,7 +28889,7 @@ function gq(e) {
|
|
|
28860
28889
|
}
|
|
28861
28890
|
//#endregion
|
|
28862
28891
|
//#region src/composed/JsonSchemaForm/fields/array/use-array-field.ts
|
|
28863
|
-
function
|
|
28892
|
+
function wq(e, t) {
|
|
28864
28893
|
let n = D(), r = t ? n.basePath ? `${n.basePath}.${t}` : t : n.basePath, { fields: i, append: a, remove: o } = g({
|
|
28865
28894
|
control: n.control,
|
|
28866
28895
|
name: r
|
|
@@ -28882,10 +28911,10 @@ function _q(e, t) {
|
|
|
28882
28911
|
}
|
|
28883
28912
|
//#endregion
|
|
28884
28913
|
//#region src/composed/JsonSchemaForm/fields/array/ArrayField.tsx
|
|
28885
|
-
function
|
|
28886
|
-
let { schema: r } = e, { ctx: i, path: a, fields: o, append: s, remove: c, fieldState: l, isDisabled: u, atMin: d, atMax: f } =
|
|
28914
|
+
function Tq({ node: e, name: t, depth: n }) {
|
|
28915
|
+
let { schema: r } = e, { ctx: i, path: a, fields: o, append: s, remove: c, fieldState: l, isDisabled: u, atMin: d, atMax: f } = wq(r, t), p = r.items, m = e.items, h = k(r, t), g = r.gioConfig?.uiBorder === "full";
|
|
28887
28916
|
function _() {
|
|
28888
|
-
s(
|
|
28917
|
+
s(Dq(p), { shouldFocus: !1 });
|
|
28889
28918
|
}
|
|
28890
28919
|
return /* @__PURE__ */ G(N, {
|
|
28891
28920
|
"aria-required": r.isRequired || void 0,
|
|
@@ -28900,7 +28929,7 @@ function vq({ node: e, name: t, depth: n }) {
|
|
|
28900
28929
|
r.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: r.gioConfig.banner }),
|
|
28901
28930
|
/* @__PURE__ */ W("div", {
|
|
28902
28931
|
className: "flex flex-col",
|
|
28903
|
-
children: o.map((e, t) => /* @__PURE__ */ W(
|
|
28932
|
+
children: o.map((e, t) => /* @__PURE__ */ W(Eq, {
|
|
28904
28933
|
index: t,
|
|
28905
28934
|
path: a,
|
|
28906
28935
|
itemsNode: m,
|
|
@@ -28926,7 +28955,7 @@ function vq({ node: e, name: t, depth: n }) {
|
|
|
28926
28955
|
]
|
|
28927
28956
|
});
|
|
28928
28957
|
}
|
|
28929
|
-
function
|
|
28958
|
+
function Eq({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove: a, onRemove: o, ctx: s }) {
|
|
28930
28959
|
let c = `${t}.${e}`;
|
|
28931
28960
|
return /* @__PURE__ */ G(SC, {
|
|
28932
28961
|
defaultOpen: !0,
|
|
@@ -28961,7 +28990,7 @@ function yq({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
|
|
|
28961
28990
|
basePath: c,
|
|
28962
28991
|
disabled: i
|
|
28963
28992
|
},
|
|
28964
|
-
children: /* @__PURE__ */ W(
|
|
28993
|
+
children: /* @__PURE__ */ W(nJ, {
|
|
28965
28994
|
node: n,
|
|
28966
28995
|
name: "",
|
|
28967
28996
|
depth: r + 1
|
|
@@ -28970,17 +28999,17 @@ function yq({ index: e, path: t, itemsNode: n, depth: r, disabled: i, canRemove:
|
|
|
28970
28999
|
}) })]
|
|
28971
29000
|
});
|
|
28972
29001
|
}
|
|
28973
|
-
function
|
|
28974
|
-
let t =
|
|
28975
|
-
return t === void 0 ?
|
|
29002
|
+
function Dq(e) {
|
|
29003
|
+
let t = xq(e);
|
|
29004
|
+
return t === void 0 ? Cq(e) : t;
|
|
28976
29005
|
}
|
|
28977
29006
|
//#endregion
|
|
28978
29007
|
//#region src/composed/JsonSchemaForm/fields/array/HeadersArrayField.tsx
|
|
28979
|
-
function
|
|
28980
|
-
let { schema: n } = e, { path: r, fields: i, append: a, remove: o, fieldState: s, isDisabled: c, atMin: l, atMax: u } =
|
|
29008
|
+
function Oq({ node: e, name: t }) {
|
|
29009
|
+
let { schema: n } = e, { path: r, fields: i, append: a, remove: o, fieldState: s, isDisabled: c, atMin: l, atMax: u } = wq(n, t), d = n.items, f = d && !Array.isArray(d) ? d.properties ?? {} : {}, p = Object.keys(f), m = k(n, t);
|
|
28981
29010
|
function h() {
|
|
28982
29011
|
let e = {};
|
|
28983
|
-
for (let t of p) e[t] =
|
|
29012
|
+
for (let t of p) e[t] = Cq(f[t]);
|
|
28984
29013
|
a(e, { shouldFocus: !1 });
|
|
28985
29014
|
}
|
|
28986
29015
|
return /* @__PURE__ */ G(N, {
|
|
@@ -28997,11 +29026,11 @@ function xq({ node: e, name: t }) {
|
|
|
28997
29026
|
className: "overflow-hidden rounded-lg border",
|
|
28998
29027
|
children: /* @__PURE__ */ G(qH, { children: [/* @__PURE__ */ W(JH, { children: /* @__PURE__ */ G(ZH, { children: [p.map((e) => /* @__PURE__ */ W(QH, {
|
|
28999
29028
|
scope: "col",
|
|
29000
|
-
children:
|
|
29029
|
+
children: jq(f[e], e)
|
|
29001
29030
|
}, e)), /* @__PURE__ */ W(QH, {
|
|
29002
29031
|
"aria-hidden": "true",
|
|
29003
29032
|
className: "w-px"
|
|
29004
|
-
})] }) }), /* @__PURE__ */ W(YH, { children: i.map((e, t) => /* @__PURE__ */ W(
|
|
29033
|
+
})] }) }), /* @__PURE__ */ W(YH, { children: i.map((e, t) => /* @__PURE__ */ W(kq, {
|
|
29005
29034
|
rowIndex: t,
|
|
29006
29035
|
rowPath: `${r}.${t}`,
|
|
29007
29036
|
columnKeys: p,
|
|
@@ -29023,8 +29052,8 @@ function xq({ node: e, name: t }) {
|
|
|
29023
29052
|
]
|
|
29024
29053
|
});
|
|
29025
29054
|
}
|
|
29026
|
-
function
|
|
29027
|
-
return /* @__PURE__ */ G(ZH, { children: [n.map((n) => /* @__PURE__ */ W(
|
|
29055
|
+
function kq({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disabled: i, canRemove: a, onRemove: o }) {
|
|
29056
|
+
return /* @__PURE__ */ G(ZH, { children: [n.map((n) => /* @__PURE__ */ W(Aq, {
|
|
29028
29057
|
columnKey: n,
|
|
29029
29058
|
cellPath: `${t}.${n}`,
|
|
29030
29059
|
propSchema: r[n],
|
|
@@ -29043,7 +29072,7 @@ function Sq({ rowIndex: e, rowPath: t, columnKeys: n, itemProperties: r, disable
|
|
|
29043
29072
|
})
|
|
29044
29073
|
})] });
|
|
29045
29074
|
}
|
|
29046
|
-
function
|
|
29075
|
+
function Aq({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i }) {
|
|
29047
29076
|
let { control: a } = D(), { field: o, fieldState: s } = A({
|
|
29048
29077
|
control: a,
|
|
29049
29078
|
name: t
|
|
@@ -29056,16 +29085,16 @@ function Cq({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i
|
|
|
29056
29085
|
onBlur: l,
|
|
29057
29086
|
disabled: i,
|
|
29058
29087
|
"aria-invalid": s.invalid,
|
|
29059
|
-
"aria-label": `${
|
|
29088
|
+
"aria-label": `${jq(n, e)} for row ${r + 1}`,
|
|
29060
29089
|
placeholder: typeof n.title == "string" ? n.title : void 0
|
|
29061
29090
|
}) });
|
|
29062
29091
|
}
|
|
29063
|
-
function
|
|
29092
|
+
function jq(e, t) {
|
|
29064
29093
|
return typeof e.title == "string" ? e.title : t.charAt(0).toUpperCase() + t.slice(1);
|
|
29065
29094
|
}
|
|
29066
29095
|
//#endregion
|
|
29067
29096
|
//#region src/composed/JsonSchemaForm/fields/boolean/BooleanField.tsx
|
|
29068
|
-
function
|
|
29097
|
+
function Mq({ node: e, name: t }) {
|
|
29069
29098
|
let { control: n, basePath: r, disabled: i } = D(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = A({
|
|
29070
29099
|
control: n,
|
|
29071
29100
|
name: o,
|
|
@@ -29093,39 +29122,19 @@ function Tq({ node: e, name: t }) {
|
|
|
29093
29122
|
});
|
|
29094
29123
|
}
|
|
29095
29124
|
//#endregion
|
|
29096
|
-
//#region src/composed/JsonSchemaForm/utils/schemaShape.ts
|
|
29097
|
-
function Eq(e) {
|
|
29098
|
-
return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.every((e) => e.const !== void 0);
|
|
29099
|
-
}
|
|
29100
|
-
function Dq(e) {
|
|
29101
|
-
return e.type !== "array" || e.uniqueItems !== !0 || !e.items || Array.isArray(e.items) ? !1 : Array.isArray(e.items.enum) && e.items.enum.length > 0;
|
|
29102
|
-
}
|
|
29103
|
-
function Oq(e) {
|
|
29104
|
-
return e.type === "array" && e.gioConfig?.uiType === "gio-headers-array";
|
|
29105
|
-
}
|
|
29106
|
-
function kq(e) {
|
|
29107
|
-
return e.format === "gio-code-editor" ? e.type === "string" || Array.isArray(e.type) && e.type.includes("string") : !1;
|
|
29108
|
-
}
|
|
29109
|
-
function Aq(e) {
|
|
29110
|
-
return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.some((e) => e.properties !== void 0) && !Eq(e);
|
|
29111
|
-
}
|
|
29112
|
-
function jq(e) {
|
|
29113
|
-
return Array.isArray(e.anyOf) && e.anyOf.length > 0 && e.anyOf.some((e) => e.properties !== void 0);
|
|
29114
|
-
}
|
|
29115
|
-
//#endregion
|
|
29116
29125
|
//#region src/composed/JsonSchemaForm/fields/enum/enumOptions.ts
|
|
29117
|
-
function
|
|
29126
|
+
function Nq(e, t) {
|
|
29118
29127
|
let n = t?.[String(e)];
|
|
29119
29128
|
return n === void 0 ? e === null ? "—" : String(e) : n;
|
|
29120
29129
|
}
|
|
29121
|
-
function
|
|
29130
|
+
function Pq(e, t) {
|
|
29122
29131
|
return e.map((e, n) => ({
|
|
29123
29132
|
raw: e,
|
|
29124
29133
|
key: String(n),
|
|
29125
|
-
label:
|
|
29134
|
+
label: Nq(e, t)
|
|
29126
29135
|
}));
|
|
29127
29136
|
}
|
|
29128
|
-
function
|
|
29137
|
+
function Fq(e) {
|
|
29129
29138
|
return e.map((e, t) => ({
|
|
29130
29139
|
raw: e.const,
|
|
29131
29140
|
key: String(t),
|
|
@@ -29134,12 +29143,12 @@ function Pq(e) {
|
|
|
29134
29143
|
}
|
|
29135
29144
|
//#endregion
|
|
29136
29145
|
//#region src/composed/JsonSchemaForm/fields/enum/EnumField.tsx
|
|
29137
|
-
function
|
|
29146
|
+
function Iq({ node: e, name: t }) {
|
|
29138
29147
|
let { control: n, basePath: r, disabled: i } = D(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = A({
|
|
29139
29148
|
control: n,
|
|
29140
29149
|
name: o,
|
|
29141
29150
|
defaultValue: a.default
|
|
29142
|
-
}), { ref: l, onBlur: u } = s, d = k(a, t), f = i || a.readOnly === !0, p =
|
|
29151
|
+
}), { ref: l, onBlur: u } = s, d = k(a, t), f = i || a.readOnly === !0, p = Lq(a), m = p.find((e) => Object.is(e.raw, s.value))?.key ?? "", h = (e) => p.find((t) => t.key === e)?.raw;
|
|
29143
29152
|
return /* @__PURE__ */ G(M, {
|
|
29144
29153
|
"data-invalid": c.invalid,
|
|
29145
29154
|
children: [
|
|
@@ -29170,18 +29179,18 @@ function Fq({ node: e, name: t }) {
|
|
|
29170
29179
|
]
|
|
29171
29180
|
});
|
|
29172
29181
|
}
|
|
29173
|
-
function
|
|
29174
|
-
return
|
|
29182
|
+
function Lq(e) {
|
|
29183
|
+
return mq(e) ? Fq(e.oneOf ?? []) : Pq(e.enum ?? [], e.gioConfig?.enumLabelMap);
|
|
29175
29184
|
}
|
|
29176
29185
|
//#endregion
|
|
29177
29186
|
//#region src/composed/JsonSchemaForm/fields/enum/MultiSelectField.tsx
|
|
29178
|
-
function
|
|
29187
|
+
function Rq({ node: e, name: t }) {
|
|
29179
29188
|
let { control: n, basePath: r, disabled: i } = D(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = A({
|
|
29180
29189
|
control: n,
|
|
29181
29190
|
name: o,
|
|
29182
29191
|
defaultValue: Array.isArray(a.default) ? a.default : []
|
|
29183
|
-
}), { ref: l, onBlur: u, onChange: d, value: f } = s, p = ij(), m = k(a, t), h = i || a.readOnly === !0, g = a.items, _ =
|
|
29184
|
-
return
|
|
29192
|
+
}), { ref: l, onBlur: u, onChange: d, value: f } = s, p = ij(), m = k(a, t), h = i || a.readOnly === !0, g = a.items, _ = Pq(g.enum ?? [], g.gioConfig?.enumLabelMap), y = _.map((e) => e.label), S = (e) => _.find((t) => t.label === e)?.raw, C = (e) => _.find((t) => Object.is(t.raw, e))?.label, w = (Array.isArray(s.value) ? s.value : []).map((e) => C(e)).filter((e) => e !== void 0);
|
|
29193
|
+
return zq({
|
|
29185
29194
|
schema: a,
|
|
29186
29195
|
options: _,
|
|
29187
29196
|
value: f,
|
|
@@ -29231,19 +29240,19 @@ function Lq({ node: e, name: t }) {
|
|
|
29231
29240
|
]
|
|
29232
29241
|
});
|
|
29233
29242
|
}
|
|
29234
|
-
function
|
|
29243
|
+
function zq({ schema: e, options: t, value: n, onReset: r }) {
|
|
29235
29244
|
Pe(() => {
|
|
29236
29245
|
(Array.isArray(n) ? n : []).every((e) => t.some((t) => Object.is(t.raw, e))) || r(Array.isArray(e.default) ? e.default : []);
|
|
29237
29246
|
}, [e]);
|
|
29238
29247
|
}
|
|
29239
29248
|
//#endregion
|
|
29240
29249
|
//#region src/composed/JsonSchemaForm/fields/null/NullField.tsx
|
|
29241
|
-
function
|
|
29250
|
+
function Bq() {
|
|
29242
29251
|
return null;
|
|
29243
29252
|
}
|
|
29244
29253
|
//#endregion
|
|
29245
29254
|
//#region src/composed/JsonSchemaForm/fields/number/NumberField.tsx
|
|
29246
|
-
function
|
|
29255
|
+
function Vq({ node: e, name: t }) {
|
|
29247
29256
|
let { control: n, basePath: r, disabled: i } = D(), { schema: a } = e, o = t ? r ? `${r}.${t}` : t : r, { field: s, fieldState: c } = A({
|
|
29248
29257
|
control: n,
|
|
29249
29258
|
name: o
|
|
@@ -29285,16 +29294,55 @@ function Bq({ node: e, name: t }) {
|
|
|
29285
29294
|
});
|
|
29286
29295
|
}
|
|
29287
29296
|
//#endregion
|
|
29297
|
+
//#region src/composed/JsonSchemaForm/conditional/useDependencyBranchSync.ts
|
|
29298
|
+
function Hq(e, t, n, r) {
|
|
29299
|
+
let i = U(() => t.map((e) => nq(e.showIf, n)), [t, n]), a = U(() => t.map((e) => Array.from(e.properties.keys()).map((e) => n ? `${n}.${e}` : e)), [t, n]), o = U(() => {
|
|
29300
|
+
let e = /* @__PURE__ */ new Set();
|
|
29301
|
+
for (let t of i) for (let n of t.$eq.keys()) e.add(n);
|
|
29302
|
+
return Array.from(e);
|
|
29303
|
+
}, [i]), s = w({
|
|
29304
|
+
control: e,
|
|
29305
|
+
name: o,
|
|
29306
|
+
disabled: o.length === 0
|
|
29307
|
+
}), c = ze(null);
|
|
29308
|
+
Pe(() => {
|
|
29309
|
+
if (i.length === 0 || o.length === 0) return;
|
|
29310
|
+
let t = /* @__PURE__ */ new Map(), n = Array.isArray(s) ? s : [s];
|
|
29311
|
+
o.forEach((e, r) => t.set(e, n[r]));
|
|
29312
|
+
let l = /* @__PURE__ */ new Set();
|
|
29313
|
+
i.forEach((e, n) => {
|
|
29314
|
+
if (ZK(e, t, r)) for (let e of a[n]) l.add(e);
|
|
29315
|
+
});
|
|
29316
|
+
let u = Array.from(l).sort().join("|");
|
|
29317
|
+
if (u === c.current) return;
|
|
29318
|
+
c.current = u;
|
|
29319
|
+
let d = /* @__PURE__ */ new Set();
|
|
29320
|
+
for (let e of a) for (let t of e) d.add(t);
|
|
29321
|
+
for (let t of d) l.has(t) || e.unregister(t);
|
|
29322
|
+
}, [
|
|
29323
|
+
e,
|
|
29324
|
+
s,
|
|
29325
|
+
i,
|
|
29326
|
+
a,
|
|
29327
|
+
o,
|
|
29328
|
+
r
|
|
29329
|
+
]);
|
|
29330
|
+
}
|
|
29331
|
+
function Uq({ branches: e, basePath: t }) {
|
|
29332
|
+
let { control: n, externalContext: r } = D();
|
|
29333
|
+
return Hq(n, e, t, r), null;
|
|
29334
|
+
}
|
|
29335
|
+
//#endregion
|
|
29288
29336
|
//#region src/composed/JsonSchemaForm/utils/pickActiveVariant.ts
|
|
29289
|
-
function
|
|
29337
|
+
function Wq(e, t, n, r) {
|
|
29290
29338
|
if (e.length === 0) return -1;
|
|
29291
29339
|
let i = n?.get(t);
|
|
29292
|
-
return
|
|
29340
|
+
return Gq(i, e) && Kq(e[i], r) ? i : qq(e, r);
|
|
29293
29341
|
}
|
|
29294
|
-
function
|
|
29342
|
+
function Gq(e, t) {
|
|
29295
29343
|
return typeof e == "number" && Number.isInteger(e) && t[e] !== void 0;
|
|
29296
29344
|
}
|
|
29297
|
-
function
|
|
29345
|
+
function Kq(e, t) {
|
|
29298
29346
|
return Object.entries(e.properties ?? {}).every(([e, n]) => {
|
|
29299
29347
|
if (n.const !== void 0) return t(e) === n.const;
|
|
29300
29348
|
if (typeof n.pattern == "string") {
|
|
@@ -29304,18 +29352,18 @@ function Uq(e, t) {
|
|
|
29304
29352
|
return !0;
|
|
29305
29353
|
});
|
|
29306
29354
|
}
|
|
29307
|
-
function
|
|
29355
|
+
function qq(e, t) {
|
|
29308
29356
|
let n = 0, r = {
|
|
29309
29357
|
viable: !1,
|
|
29310
29358
|
matches: -1
|
|
29311
29359
|
};
|
|
29312
29360
|
return e.forEach((e, i) => {
|
|
29313
|
-
let a =
|
|
29314
|
-
|
|
29361
|
+
let a = Jq(e, t);
|
|
29362
|
+
Yq(a, r) > 0 && (n = i, r = a);
|
|
29315
29363
|
}), n;
|
|
29316
29364
|
}
|
|
29317
|
-
function
|
|
29318
|
-
return
|
|
29365
|
+
function Jq(e, t) {
|
|
29366
|
+
return Kq(e, t) ? {
|
|
29319
29367
|
viable: (e.required ?? []).every((e) => t(e) !== void 0),
|
|
29320
29368
|
matches: Object.keys(e.properties ?? {}).filter((e) => t(e) !== void 0).length
|
|
29321
29369
|
} : {
|
|
@@ -29323,15 +29371,15 @@ function Gq(e, t) {
|
|
|
29323
29371
|
matches: -1
|
|
29324
29372
|
};
|
|
29325
29373
|
}
|
|
29326
|
-
function
|
|
29374
|
+
function Yq(e, t) {
|
|
29327
29375
|
return e.viable === t.viable ? e.matches - t.matches : e.viable ? 1 : -1;
|
|
29328
29376
|
}
|
|
29329
29377
|
//#endregion
|
|
29330
29378
|
//#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
|
|
29331
|
-
function
|
|
29332
|
-
let n = D(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = U(() => e.variants ?? [], [e.variants]), [l, u] = Be(() =>
|
|
29379
|
+
function Xq({ node: e, depth: t }) {
|
|
29380
|
+
let n = D(), { control: r, index: i, basePath: a } = n, { schema: o } = e, s = i.variantIndices, c = U(() => e.variants ?? [], [e.variants]), [l, u] = Be(() => Wq(c.map((e) => e.raw), a, s, (e) => r._getWatch(a ? `${a}.${e}` : e))), d = U(() => c[l]?.dependencyBranches ?? [], [c, l]);
|
|
29333
29381
|
if (c.length === 0) return null;
|
|
29334
|
-
let f = c[l] ?? c[0], p =
|
|
29382
|
+
let f = c[l] ?? c[0], p = n.disabled || o.readOnly === !0, m = `${a || "root"}-variant`, h = (e) => {
|
|
29335
29383
|
if (e === l) return;
|
|
29336
29384
|
let t = c[l];
|
|
29337
29385
|
if (t) {
|
|
@@ -29339,20 +29387,20 @@ function qq({ node: e, depth: t }) {
|
|
|
29339
29387
|
for (let e of t.dependencyBranches ?? []) for (let t of e.properties.keys()) r.unregister(a ? `${a}.${t}` : t);
|
|
29340
29388
|
}
|
|
29341
29389
|
s.set(a, e), u(e);
|
|
29342
|
-
},
|
|
29390
|
+
}, g = t === 0 ? o.title || "Variant" : null;
|
|
29343
29391
|
return /* @__PURE__ */ G(Ue, { children: [
|
|
29344
29392
|
/* @__PURE__ */ G(M, { children: [
|
|
29345
|
-
|
|
29346
|
-
htmlFor:
|
|
29347
|
-
children:
|
|
29393
|
+
g !== null && /* @__PURE__ */ W(b, {
|
|
29394
|
+
htmlFor: m,
|
|
29395
|
+
children: g
|
|
29348
29396
|
}),
|
|
29349
29397
|
/* @__PURE__ */ G(sV, {
|
|
29350
29398
|
value: String(l),
|
|
29351
|
-
onValueChange: (e) =>
|
|
29352
|
-
disabled:
|
|
29399
|
+
onValueChange: (e) => h(Number(e)),
|
|
29400
|
+
disabled: p,
|
|
29353
29401
|
children: [/* @__PURE__ */ W(uV, {
|
|
29354
|
-
id:
|
|
29355
|
-
"aria-label":
|
|
29402
|
+
id: m,
|
|
29403
|
+
"aria-label": g === null ? "Variant" : void 0,
|
|
29356
29404
|
children: /* @__PURE__ */ W(lV, { placeholder: "Select a variant…" })
|
|
29357
29405
|
}), /* @__PURE__ */ W(dV, { children: c.map((e, t) => /* @__PURE__ */ W(pV, {
|
|
29358
29406
|
value: String(t),
|
|
@@ -29362,19 +29410,22 @@ function qq({ node: e, depth: t }) {
|
|
|
29362
29410
|
t === 0 && o.description && /* @__PURE__ */ W(v, { children: o.description }),
|
|
29363
29411
|
o.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: o.gioConfig.banner })
|
|
29364
29412
|
] }),
|
|
29365
|
-
f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(
|
|
29413
|
+
f.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(Zq, {
|
|
29366
29414
|
path: a ? `${a}.${e}` : e,
|
|
29367
29415
|
value: t
|
|
29368
29416
|
}, e)),
|
|
29369
|
-
Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(
|
|
29417
|
+
Array.from(f.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(nJ, {
|
|
29370
29418
|
node: n,
|
|
29371
29419
|
name: e,
|
|
29372
29420
|
depth: t + 1
|
|
29373
29421
|
}, `${l}-${e}`)),
|
|
29374
|
-
|
|
29422
|
+
d.length > 0 && /* @__PURE__ */ W(Uq, {
|
|
29423
|
+
branches: d,
|
|
29424
|
+
basePath: a
|
|
29425
|
+
}),
|
|
29426
|
+
d.map((e, n) => /* @__PURE__ */ W($K, {
|
|
29375
29427
|
condition: nq(e.showIf, a),
|
|
29376
|
-
|
|
29377
|
-
children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W($q, {
|
|
29428
|
+
children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(nJ, {
|
|
29378
29429
|
node: n,
|
|
29379
29430
|
name: e,
|
|
29380
29431
|
depth: t + 1
|
|
@@ -29382,7 +29433,7 @@ function qq({ node: e, depth: t }) {
|
|
|
29382
29433
|
}, `${l}-var-dep-${n}`))
|
|
29383
29434
|
] });
|
|
29384
29435
|
}
|
|
29385
|
-
function
|
|
29436
|
+
function Zq({ path: e, value: t }) {
|
|
29386
29437
|
let { control: n } = D(), { field: r } = A({
|
|
29387
29438
|
control: n,
|
|
29388
29439
|
name: e
|
|
@@ -29393,50 +29444,53 @@ function Jq({ path: e, value: t }) {
|
|
|
29393
29444
|
}
|
|
29394
29445
|
//#endregion
|
|
29395
29446
|
//#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
|
|
29396
|
-
function
|
|
29397
|
-
let r = D(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o =
|
|
29447
|
+
function Qq({ node: e, name: t, depth: n }) {
|
|
29448
|
+
let r = D(), { schema: i } = e, a = t ? r.basePath ? `${r.basePath}.${t}` : t : r.basePath, o = yq(i) || bq(i), s = U(() => e.dependencyBranches ?? [], [e.dependencyBranches]), c = s.length > 0, l = (e.properties || o || c) && /* @__PURE__ */ W(m.Provider, {
|
|
29398
29449
|
value: {
|
|
29399
29450
|
...r,
|
|
29400
29451
|
basePath: a
|
|
29401
29452
|
},
|
|
29402
29453
|
children: /* @__PURE__ */ G(T, { children: [
|
|
29403
|
-
e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(
|
|
29454
|
+
e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(nJ, {
|
|
29404
29455
|
node: t,
|
|
29405
29456
|
name: e,
|
|
29406
29457
|
depth: n + 1
|
|
29407
29458
|
}, e)),
|
|
29459
|
+
c && /* @__PURE__ */ W(Uq, {
|
|
29460
|
+
branches: s,
|
|
29461
|
+
basePath: a
|
|
29462
|
+
}),
|
|
29408
29463
|
s.map((e, t) => /* @__PURE__ */ W($K, {
|
|
29409
29464
|
condition: nq(e.showIf, a),
|
|
29410
|
-
|
|
29411
|
-
children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W($q, {
|
|
29465
|
+
children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(nJ, {
|
|
29412
29466
|
node: t,
|
|
29413
29467
|
name: e,
|
|
29414
29468
|
depth: n + 1
|
|
29415
29469
|
}, e))
|
|
29416
29470
|
}, `dep-${t}`)),
|
|
29417
|
-
o && /* @__PURE__ */ W(
|
|
29471
|
+
o && /* @__PURE__ */ W(Xq, {
|
|
29418
29472
|
node: e,
|
|
29419
29473
|
depth: n
|
|
29420
29474
|
})
|
|
29421
29475
|
] })
|
|
29422
|
-
}),
|
|
29423
|
-
return n === 0 || !
|
|
29424
|
-
className:
|
|
29476
|
+
}), u = typeof i.title == "string" && i.title.length > 0 || t !== void 0 && t.length > 0, d = i.gioConfig?.uiBorder === "full";
|
|
29477
|
+
return n === 0 || !u ? /* @__PURE__ */ W(Ue, { children: l }) : /* @__PURE__ */ G(N, {
|
|
29478
|
+
className: d ? "rounded-lg border border-border px-5 pt-2 pb-5" : void 0,
|
|
29425
29479
|
children: [
|
|
29426
29480
|
/* @__PURE__ */ W(y, {
|
|
29427
|
-
className:
|
|
29481
|
+
className: d ? "px-2 text-base font-semibold" : "text-base font-semibold",
|
|
29428
29482
|
required: i.isRequired,
|
|
29429
29483
|
children: k(i, t)
|
|
29430
29484
|
}),
|
|
29431
29485
|
i.description && /* @__PURE__ */ W(v, { children: i.description }),
|
|
29432
29486
|
i.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: i.gioConfig.banner }),
|
|
29433
|
-
|
|
29487
|
+
l
|
|
29434
29488
|
]
|
|
29435
29489
|
});
|
|
29436
29490
|
}
|
|
29437
29491
|
//#endregion
|
|
29438
29492
|
//#region src/composed/PasswordInput/PasswordInput.tsx
|
|
29439
|
-
function
|
|
29493
|
+
function $q({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, ...o }) {
|
|
29440
29494
|
let [s, c] = Be(!1);
|
|
29441
29495
|
return /* @__PURE__ */ G(PA, {
|
|
29442
29496
|
className: e,
|
|
@@ -29462,10 +29516,10 @@ function Xq({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
|
|
|
29462
29516
|
})]
|
|
29463
29517
|
});
|
|
29464
29518
|
}
|
|
29465
|
-
|
|
29519
|
+
$q.displayName = "PasswordInput";
|
|
29466
29520
|
//#endregion
|
|
29467
29521
|
//#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
|
|
29468
|
-
function
|
|
29522
|
+
function eJ({ node: t, name: n }) {
|
|
29469
29523
|
let { control: r, basePath: i, disabled: a } = D(), { schema: o } = t, s = n ? i ? `${i}.${n}` : n : i, { field: c, fieldState: l } = A({
|
|
29470
29524
|
control: r,
|
|
29471
29525
|
name: s
|
|
@@ -29490,7 +29544,7 @@ function Zq({ node: t, name: n }) {
|
|
|
29490
29544
|
children: u
|
|
29491
29545
|
}),
|
|
29492
29546
|
o.gioConfig?.banner && /* @__PURE__ */ W(j, { banner: o.gioConfig.banner }),
|
|
29493
|
-
o.format === "text" ? /* @__PURE__ */ W(e, { ...h }) : o.format === "password" ? /* @__PURE__ */ W(
|
|
29547
|
+
o.format === "text" ? /* @__PURE__ */ W(e, { ...h }) : o.format === "password" ? /* @__PURE__ */ W($q, {
|
|
29494
29548
|
...h,
|
|
29495
29549
|
pattern: o.pattern
|
|
29496
29550
|
}) : /* @__PURE__ */ W(NA, {
|
|
@@ -29505,11 +29559,11 @@ function Zq({ node: t, name: n }) {
|
|
|
29505
29559
|
}
|
|
29506
29560
|
//#endregion
|
|
29507
29561
|
//#region src/composed/JsonSchemaForm/SchemaField.tsx
|
|
29508
|
-
var
|
|
29509
|
-
function
|
|
29562
|
+
var tJ = Ae(() => import("./CodeEditorField-cwZAv7Ib.js").then((e) => ({ default: e.CodeEditorField })));
|
|
29563
|
+
function nJ({ node: e, name: t, depth: n = 0 }) {
|
|
29510
29564
|
let { basePath: r } = D(), { schema: i } = e, a = t ?? "", o = t ? r ? `${r}.${t}` : t : r, s = U(() => [o], [o]), c = U(() => e.displayIf ? nq(e.displayIf, r) : void 0, [e.displayIf, r]), l = U(() => e.disableIf ? nq(e.disableIf, r) : void 0, [e.disableIf, r]);
|
|
29511
29565
|
if (i.deprecated === !0) return null;
|
|
29512
|
-
let u =
|
|
29566
|
+
let u = rJ(e, a, t, n);
|
|
29513
29567
|
return u === null ? null : (l && (u = /* @__PURE__ */ W(eq, {
|
|
29514
29568
|
condition: l,
|
|
29515
29569
|
children: u
|
|
@@ -29519,131 +29573,131 @@ function $q({ node: e, name: t, depth: n = 0 }) {
|
|
|
29519
29573
|
children: u
|
|
29520
29574
|
}) : u);
|
|
29521
29575
|
}
|
|
29522
|
-
function
|
|
29523
|
-
let { schema: i } = e, a =
|
|
29524
|
-
return Array.isArray(i.enum) && i.enum.length > 0 ||
|
|
29576
|
+
function rJ(e, t, n, r) {
|
|
29577
|
+
let { schema: i } = e, a = iJ(i.type);
|
|
29578
|
+
return Array.isArray(i.enum) && i.enum.length > 0 || mq(i) ? /* @__PURE__ */ W(Iq, {
|
|
29525
29579
|
node: e,
|
|
29526
29580
|
name: t
|
|
29527
|
-
}) :
|
|
29581
|
+
}) : hq(i) ? /* @__PURE__ */ W(Rq, {
|
|
29528
29582
|
node: e,
|
|
29529
29583
|
name: t
|
|
29530
|
-
}) :
|
|
29584
|
+
}) : gq(i) ? /* @__PURE__ */ W(Oq, {
|
|
29531
29585
|
node: e,
|
|
29532
29586
|
name: t
|
|
29533
|
-
}) :
|
|
29587
|
+
}) : vq(i) ? /* @__PURE__ */ W(Ee, {
|
|
29534
29588
|
fallback: null,
|
|
29535
|
-
children: /* @__PURE__ */ W(
|
|
29589
|
+
children: /* @__PURE__ */ W(tJ, {
|
|
29536
29590
|
node: e,
|
|
29537
29591
|
name: t
|
|
29538
29592
|
})
|
|
29539
|
-
}) : a === "null" ? /* @__PURE__ */ W(
|
|
29593
|
+
}) : a === "null" ? /* @__PURE__ */ W(Bq, {}) : a === "boolean" ? /* @__PURE__ */ W(Mq, {
|
|
29540
29594
|
node: e,
|
|
29541
29595
|
name: t
|
|
29542
|
-
}) : a === "integer" || a === "number" ? /* @__PURE__ */ W(
|
|
29596
|
+
}) : a === "integer" || a === "number" ? /* @__PURE__ */ W(Vq, {
|
|
29543
29597
|
node: e,
|
|
29544
29598
|
name: t
|
|
29545
|
-
}) : a === "string" ? /* @__PURE__ */ W(
|
|
29599
|
+
}) : a === "string" ? /* @__PURE__ */ W(eJ, {
|
|
29546
29600
|
node: e,
|
|
29547
29601
|
name: t
|
|
29548
|
-
}) : i.properties || a === "object" ||
|
|
29602
|
+
}) : i.properties || a === "object" || yq(i) || bq(i) ? /* @__PURE__ */ W(Qq, {
|
|
29549
29603
|
node: e,
|
|
29550
29604
|
name: n,
|
|
29551
29605
|
depth: r
|
|
29552
|
-
}) : a === "array" && i.items && !Array.isArray(i.items) ? /* @__PURE__ */ W(
|
|
29606
|
+
}) : a === "array" && i.items && !Array.isArray(i.items) ? /* @__PURE__ */ W(Tq, {
|
|
29553
29607
|
node: e,
|
|
29554
29608
|
name: n,
|
|
29555
29609
|
depth: r
|
|
29556
|
-
}) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${
|
|
29610
|
+
}) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${aJ(i)}). Field is omitted.`), null);
|
|
29557
29611
|
}
|
|
29558
|
-
function
|
|
29612
|
+
function iJ(e) {
|
|
29559
29613
|
return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
|
|
29560
29614
|
}
|
|
29561
|
-
function
|
|
29615
|
+
function aJ(e) {
|
|
29562
29616
|
return e.type ? Array.isArray(e.type) ? e.type.join("|") : e.type : e.oneOf ? "oneOf" : e.anyOf ? "anyOf" : e.allOf ? "allOf" : e.const === void 0 ? "unknown" : "const";
|
|
29563
29617
|
}
|
|
29564
29618
|
//#endregion
|
|
29565
29619
|
//#region src/composed/JsonSchemaForm/schema/preprocess/liftRequired.ts
|
|
29566
|
-
function
|
|
29567
|
-
return
|
|
29620
|
+
function oJ(e) {
|
|
29621
|
+
return sJ(e);
|
|
29568
29622
|
}
|
|
29569
|
-
function
|
|
29623
|
+
function sJ(e) {
|
|
29570
29624
|
let t = { ...e };
|
|
29571
29625
|
if (t.properties) {
|
|
29572
29626
|
let e = new Set(t.required ?? []), n = {};
|
|
29573
29627
|
for (let [r, i] of Object.entries(t.properties)) {
|
|
29574
|
-
let t =
|
|
29628
|
+
let t = sJ(i);
|
|
29575
29629
|
e.has(r) && (t.isRequired = !0, t.type === "string" && t.minLength === void 0 && t.const === void 0 && !Array.isArray(t.enum) && !Array.isArray(t.oneOf) && !Array.isArray(t.anyOf) && (t.minLength = 1), t.type === "array" && t.minItems === void 0 && t.const === void 0 && !Array.isArray(t.enum) && (t.minItems = 1)), n[r] = t;
|
|
29576
29630
|
}
|
|
29577
29631
|
t.properties = n;
|
|
29578
29632
|
}
|
|
29579
|
-
return t.items &&= Array.isArray(t.items) ? t.items.map(
|
|
29633
|
+
return t.items &&= Array.isArray(t.items) ? t.items.map(sJ) : sJ(t.items), t.oneOf &&= t.oneOf.map(sJ), t.anyOf &&= t.anyOf.map(sJ), t.allOf &&= t.allOf.map(sJ), t.dependencies &&= rq(t.dependencies, sJ), t;
|
|
29580
29634
|
}
|
|
29581
29635
|
//#endregion
|
|
29582
29636
|
//#region src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts
|
|
29583
|
-
function
|
|
29584
|
-
if (e
|
|
29637
|
+
function cJ(e) {
|
|
29638
|
+
if (_q(e)) return { deprecated: !0 };
|
|
29585
29639
|
let t = { ...e };
|
|
29586
29640
|
if (e.properties) {
|
|
29587
29641
|
let n = [];
|
|
29588
29642
|
t.properties = {};
|
|
29589
|
-
for (let [r, i] of Object.entries(e.properties)) i
|
|
29643
|
+
for (let [r, i] of Object.entries(e.properties)) _q(i) && n.push(r), t.properties[r] = cJ(i);
|
|
29590
29644
|
n.length > 0 && e.required && (t.required = e.required.filter((e) => !n.includes(e)));
|
|
29591
29645
|
}
|
|
29592
|
-
return e.items && !Array.isArray(e.items) && (t.items =
|
|
29646
|
+
return e.items && !Array.isArray(e.items) && (t.items = cJ(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => !_q(e)).map(cJ)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => !_q(e)).map(cJ)), e.dependencies && (t.dependencies = rq(e.dependencies, cJ)), t;
|
|
29593
29647
|
}
|
|
29594
29648
|
//#endregion
|
|
29595
29649
|
//#region src/composed/JsonSchemaForm/schema/buildIndex.ts
|
|
29596
|
-
function
|
|
29597
|
-
let n =
|
|
29650
|
+
function lJ(e, t = "") {
|
|
29651
|
+
let n = oJ(cJ(iq(dq(e)))), r = /* @__PURE__ */ new Map();
|
|
29598
29652
|
return {
|
|
29599
|
-
root:
|
|
29653
|
+
root: uJ(n, "", !1, r, "", t),
|
|
29600
29654
|
nodeByPath: r,
|
|
29601
29655
|
variantIndices: /* @__PURE__ */ new Map()
|
|
29602
29656
|
};
|
|
29603
29657
|
}
|
|
29604
|
-
function
|
|
29658
|
+
function uJ(e, t, n, r, i = "", a = "") {
|
|
29605
29659
|
let o = {
|
|
29606
29660
|
rhfPath: t,
|
|
29607
29661
|
schema: e,
|
|
29608
29662
|
isRequired: n
|
|
29609
29663
|
};
|
|
29610
|
-
if (e.gioConfig?.displayIf && (o.displayIf =
|
|
29664
|
+
if (e.gioConfig?.displayIf && (o.displayIf = hJ(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = hJ(e.gioConfig.disableIf, i, a)), e.properties) {
|
|
29611
29665
|
let n = new Set(e.required ?? []), i = /* @__PURE__ */ new Map();
|
|
29612
29666
|
for (let [o, s] of Object.entries(e.properties)) {
|
|
29613
29667
|
let e = t ? `${t}.${o}` : o;
|
|
29614
|
-
i.set(o,
|
|
29668
|
+
i.set(o, uJ(s, e, n.has(o), r, t, a));
|
|
29615
29669
|
}
|
|
29616
29670
|
o.properties = i;
|
|
29617
29671
|
}
|
|
29618
29672
|
if (e.items && !Array.isArray(e.items)) {
|
|
29619
29673
|
let n = t ? `${t}.*` : "*";
|
|
29620
|
-
o.items =
|
|
29674
|
+
o.items = uJ(e.items, n, !1, r, t, a);
|
|
29621
29675
|
}
|
|
29622
29676
|
let s = e.oneOf ?? e.anyOf;
|
|
29623
|
-
if (Array.isArray(s) && s.length > 0 && (o.variants =
|
|
29624
|
-
let n =
|
|
29677
|
+
if (Array.isArray(s) && s.length > 0 && (o.variants = dJ(s).map((e) => fJ(e, t, a))), e.dependencies) {
|
|
29678
|
+
let n = _J(e.dependencies, t, a);
|
|
29625
29679
|
n.length > 0 && (o.dependencyBranches = n);
|
|
29626
29680
|
}
|
|
29627
29681
|
return r.set(t, o), o;
|
|
29628
29682
|
}
|
|
29629
|
-
function
|
|
29683
|
+
function dJ(e) {
|
|
29630
29684
|
let t = /* @__PURE__ */ new Set();
|
|
29631
29685
|
return e.filter((e) => typeof e.title == "string" ? t.has(e.title) ? !1 : (t.add(e.title), !0) : !0);
|
|
29632
29686
|
}
|
|
29633
|
-
function
|
|
29687
|
+
function fJ(e, t, n) {
|
|
29634
29688
|
let r = new Set(e.required ?? []), i = /* @__PURE__ */ new Map(), a = [];
|
|
29635
29689
|
for (let [o, s] of Object.entries(e.properties ?? {})) {
|
|
29636
|
-
let e =
|
|
29690
|
+
let e = pJ(s);
|
|
29637
29691
|
e && a.push({
|
|
29638
29692
|
key: o,
|
|
29639
29693
|
value: e.value
|
|
29640
29694
|
});
|
|
29641
29695
|
let c = t ? `${t}.${o}` : o;
|
|
29642
|
-
i.set(o,
|
|
29696
|
+
i.set(o, mJ(s, c, r.has(o), t, n));
|
|
29643
29697
|
}
|
|
29644
29698
|
let o;
|
|
29645
29699
|
if (e.dependencies) {
|
|
29646
|
-
let r =
|
|
29700
|
+
let r = _J(e.dependencies, t, n);
|
|
29647
29701
|
r.length > 0 && (o = r);
|
|
29648
29702
|
}
|
|
29649
29703
|
return {
|
|
@@ -29654,21 +29708,21 @@ function lJ(e, t, n) {
|
|
|
29654
29708
|
raw: e
|
|
29655
29709
|
};
|
|
29656
29710
|
}
|
|
29657
|
-
function
|
|
29711
|
+
function pJ(e) {
|
|
29658
29712
|
if (e.const !== void 0) return { value: e.const };
|
|
29659
29713
|
if (Array.isArray(e.enum) && e.enum.length === 1) return { value: e.enum[0] };
|
|
29660
29714
|
}
|
|
29661
|
-
function
|
|
29662
|
-
return
|
|
29715
|
+
function mJ(e, t, n, r, i) {
|
|
29716
|
+
return uJ(e, t, n, /* @__PURE__ */ new Map(), r, i);
|
|
29663
29717
|
}
|
|
29664
|
-
function
|
|
29718
|
+
function hJ(e, t, n) {
|
|
29665
29719
|
let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
29666
29720
|
for (let [a, o] of Object.entries(e.$eq)) {
|
|
29667
29721
|
if (a.startsWith("context.")) {
|
|
29668
29722
|
i.set(a.slice(8), o);
|
|
29669
29723
|
continue;
|
|
29670
29724
|
}
|
|
29671
|
-
let e =
|
|
29725
|
+
let e = gJ(a, t, n);
|
|
29672
29726
|
if (e === null) {
|
|
29673
29727
|
console.warn(`[JsonSchemaForm] gioConfig path "${a}" is unsupported (expected value.X / ./X / ../X / context.X).`);
|
|
29674
29728
|
continue;
|
|
@@ -29680,7 +29734,7 @@ function fJ(e, t, n) {
|
|
|
29680
29734
|
$eqContext: i
|
|
29681
29735
|
} : { $eq: r };
|
|
29682
29736
|
}
|
|
29683
|
-
function
|
|
29737
|
+
function gJ(e, t, n) {
|
|
29684
29738
|
let r = null;
|
|
29685
29739
|
if (e.startsWith("value.")) r = e.slice(6);
|
|
29686
29740
|
else if (e.startsWith("./")) {
|
|
@@ -29694,24 +29748,24 @@ function pJ(e, t, n) {
|
|
|
29694
29748
|
}
|
|
29695
29749
|
return r === null ? null : n ? `${n}.${r}` : r;
|
|
29696
29750
|
}
|
|
29697
|
-
function
|
|
29751
|
+
function _J(e, t, n) {
|
|
29698
29752
|
return Object.entries(e).flatMap(([e, r]) => {
|
|
29699
|
-
let i =
|
|
29753
|
+
let i = vJ(e, r);
|
|
29700
29754
|
if (!i) return [];
|
|
29701
29755
|
let a = t ? `${t}.${e}` : e;
|
|
29702
|
-
return i.map((r) =>
|
|
29756
|
+
return i.map((r) => yJ(r, e, a, t, n));
|
|
29703
29757
|
});
|
|
29704
29758
|
}
|
|
29705
|
-
function
|
|
29759
|
+
function vJ(e, t) {
|
|
29706
29760
|
let n = typeof t == "object" && t && !Array.isArray(t) ? t : null;
|
|
29707
|
-
return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 &&
|
|
29761
|
+
return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && pJ(t.properties[e]) !== void 0) ? n.oneOf : (console.warn(`[JsonSchemaForm] dependencies."${e}".oneOf has at least one variant missing a \`const\` (or single-value \`enum\`) discriminator on "${e}". Skipping the whole dependency (no partial unfold).`), null) : (console.warn(`[JsonSchemaForm] dependencies."${e}" is not a discriminator-oneOf shape (only \`{ oneOf: [...] }\` with const discriminators is supported). Skipping.`), null);
|
|
29708
29762
|
}
|
|
29709
|
-
function
|
|
29710
|
-
let a =
|
|
29763
|
+
function yJ(e, t, n, r, i) {
|
|
29764
|
+
let a = pJ(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
|
|
29711
29765
|
for (let [n, a] of Object.entries(e.properties ?? {})) {
|
|
29712
29766
|
if (n === t) continue;
|
|
29713
29767
|
let e = r ? `${r}.${n}` : n;
|
|
29714
|
-
s.set(n,
|
|
29768
|
+
s.set(n, mJ(a, e, o.has(n), r, i));
|
|
29715
29769
|
}
|
|
29716
29770
|
let c = i ? `${i}.${n}` : n;
|
|
29717
29771
|
return {
|
|
@@ -29722,12 +29776,12 @@ function gJ(e, t, n, r, i) {
|
|
|
29722
29776
|
}
|
|
29723
29777
|
//#endregion
|
|
29724
29778
|
//#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
|
|
29725
|
-
function
|
|
29779
|
+
function bJ({ schema: e, control: t, name: n = "", disabled: r = !1, context: i }) {
|
|
29726
29780
|
let a = U(() => {
|
|
29727
29781
|
try {
|
|
29728
29782
|
return {
|
|
29729
29783
|
ok: !0,
|
|
29730
|
-
value:
|
|
29784
|
+
value: lJ(e, n)
|
|
29731
29785
|
};
|
|
29732
29786
|
} catch (e) {
|
|
29733
29787
|
return {
|
|
@@ -29756,7 +29810,7 @@ function _J({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
|
|
|
29756
29810
|
]);
|
|
29757
29811
|
return o.ok ? /* @__PURE__ */ W(m.Provider, {
|
|
29758
29812
|
value: o.contextValue,
|
|
29759
|
-
children: /* @__PURE__ */ W(
|
|
29813
|
+
children: /* @__PURE__ */ W(nJ, { node: o.contextValue.index.root })
|
|
29760
29814
|
}) : /* @__PURE__ */ G("p", {
|
|
29761
29815
|
role: "alert",
|
|
29762
29816
|
className: "text-sm text-destructive",
|
|
@@ -29765,7 +29819,7 @@ function _J({ schema: e, control: t, name: n = "", disabled: r = !1, context: i
|
|
|
29765
29819
|
}
|
|
29766
29820
|
//#endregion
|
|
29767
29821
|
//#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
|
|
29768
|
-
function
|
|
29822
|
+
function xJ(...e) {
|
|
29769
29823
|
return async (t, n, r) => {
|
|
29770
29824
|
let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
|
|
29771
29825
|
for (let e of i) Object.assign(a, e.errors);
|
|
@@ -29780,7 +29834,7 @@ function vJ(...e) {
|
|
|
29780
29834
|
}
|
|
29781
29835
|
//#endregion
|
|
29782
29836
|
//#region ../../node_modules/ajv/dist/compile/codegen/code.js
|
|
29783
|
-
var
|
|
29837
|
+
var SJ = /* @__PURE__ */ K(((e) => {
|
|
29784
29838
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.regexpCode = e.getEsmExportName = e.getProperty = e.safeStringify = e.stringify = e.strConcat = e.addCodeArg = e.str = e._ = e.nil = e._Code = e.Name = e.IDENTIFIER = e._CodeOrName = void 0;
|
|
29785
29839
|
var t = class {};
|
|
29786
29840
|
e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
|
|
@@ -29885,9 +29939,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
29885
29939
|
return new r(e.toString());
|
|
29886
29940
|
}
|
|
29887
29941
|
e.regexpCode = g;
|
|
29888
|
-
})),
|
|
29942
|
+
})), CJ = /* @__PURE__ */ K(((e) => {
|
|
29889
29943
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
|
|
29890
|
-
var t =
|
|
29944
|
+
var t = SJ(), n = class extends Error {
|
|
29891
29945
|
constructor(e) {
|
|
29892
29946
|
super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
|
|
29893
29947
|
}
|
|
@@ -29996,9 +30050,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
29996
30050
|
return c;
|
|
29997
30051
|
}
|
|
29998
30052
|
};
|
|
29999
|
-
})),
|
|
30053
|
+
})), wJ = /* @__PURE__ */ K(((e) => {
|
|
30000
30054
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
|
|
30001
|
-
var t =
|
|
30055
|
+
var t = SJ(), n = CJ(), r = SJ();
|
|
30002
30056
|
Object.defineProperty(e, "_", {
|
|
30003
30057
|
enumerable: !0,
|
|
30004
30058
|
get: function() {
|
|
@@ -30040,7 +30094,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30040
30094
|
return r.Name;
|
|
30041
30095
|
}
|
|
30042
30096
|
});
|
|
30043
|
-
var i =
|
|
30097
|
+
var i = CJ();
|
|
30044
30098
|
Object.defineProperty(e, "Scope", {
|
|
30045
30099
|
enumerable: !0,
|
|
30046
30100
|
get: function() {
|
|
@@ -30511,9 +30565,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30511
30565
|
function L(e) {
|
|
30512
30566
|
return e instanceof t.Name ? e : (0, t._)`(${e})`;
|
|
30513
30567
|
}
|
|
30514
|
-
})),
|
|
30568
|
+
})), TJ = /* @__PURE__ */ K(((e) => {
|
|
30515
30569
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.checkStrictMode = e.getErrorPath = e.Type = e.useFunc = e.setEvaluated = e.evaluatedPropsToName = e.mergeEvaluated = e.eachItem = e.unescapeJsonPointer = e.escapeJsonPointer = e.escapeFragment = e.unescapeFragment = e.schemaRefOrVal = e.schemaHasRulesButRef = e.schemaHasRules = e.checkUnknownRules = e.alwaysValidSchema = e.toHash = void 0;
|
|
30516
|
-
var t =
|
|
30570
|
+
var t = wJ(), n = SJ();
|
|
30517
30571
|
function r(e) {
|
|
30518
30572
|
let t = {};
|
|
30519
30573
|
for (let n of e) t[n] = !0;
|
|
@@ -30636,9 +30690,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30636
30690
|
}
|
|
30637
30691
|
}
|
|
30638
30692
|
e.checkStrictMode = x;
|
|
30639
|
-
})),
|
|
30693
|
+
})), EJ = /* @__PURE__ */ K(((e) => {
|
|
30640
30694
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
30641
|
-
var t =
|
|
30695
|
+
var t = wJ();
|
|
30642
30696
|
e.default = {
|
|
30643
30697
|
data: new t.Name("data"),
|
|
30644
30698
|
valCxt: new t.Name("valCxt"),
|
|
@@ -30657,9 +30711,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30657
30711
|
jsonLen: new t.Name("jsonLen"),
|
|
30658
30712
|
jsonPart: new t.Name("jsonPart")
|
|
30659
30713
|
};
|
|
30660
|
-
})),
|
|
30714
|
+
})), DJ = /* @__PURE__ */ K(((e) => {
|
|
30661
30715
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
|
|
30662
|
-
var t =
|
|
30716
|
+
var t = wJ(), n = TJ(), r = EJ();
|
|
30663
30717
|
e.keywordError = { message: ({ keyword: e }) => (0, t.str)`must pass "${e}" keyword validation` }, e.keyword$DataError = { message: ({ keyword: e, schemaType: n }) => n ? (0, t.str)`"${e}" keyword must be ${n} ($data)` : (0, t.str)`"${e}" keyword is invalid ($data)` };
|
|
30664
30718
|
function i(n, r = e.keywordError, i, a) {
|
|
30665
30719
|
let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
|
|
@@ -30721,9 +30775,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30721
30775
|
let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
|
|
30722
30776
|
a.push([u.keyword, o], [u.params, typeof n == "function" ? n(e) : n || (0, t._)`{}`]), d.messages && a.push([u.message, typeof i == "function" ? i(e) : i]), d.verbose && a.push([u.schema, c], [u.parentSchema, (0, t._)`${p}${m}`], [r.default.data, s]), f && a.push([u.propertyName, f]);
|
|
30723
30777
|
}
|
|
30724
|
-
})),
|
|
30778
|
+
})), OJ = /* @__PURE__ */ K(((e) => {
|
|
30725
30779
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
|
|
30726
|
-
var t =
|
|
30780
|
+
var t = DJ(), n = wJ(), r = EJ(), i = { message: "boolean schema is false" };
|
|
30727
30781
|
function a(e) {
|
|
30728
30782
|
let { gen: t, schema: i, validateName: a } = e;
|
|
30729
30783
|
i === !1 ? s(e, !1) : typeof i == "object" && i.$async === !0 ? t.return(r.default.data) : (t.assign((0, n._)`${a}.errors`, null), t.return(!0));
|
|
@@ -30747,7 +30801,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30747
30801
|
};
|
|
30748
30802
|
(0, t.reportError)(o, i, void 0, n);
|
|
30749
30803
|
}
|
|
30750
|
-
})),
|
|
30804
|
+
})), kJ = /* @__PURE__ */ K(((e) => {
|
|
30751
30805
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
|
|
30752
30806
|
var t = new Set([
|
|
30753
30807
|
"string",
|
|
@@ -30801,7 +30855,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30801
30855
|
};
|
|
30802
30856
|
}
|
|
30803
30857
|
e.getRules = r;
|
|
30804
|
-
})),
|
|
30858
|
+
})), AJ = /* @__PURE__ */ K(((e) => {
|
|
30805
30859
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
|
|
30806
30860
|
function t({ schema: e, self: t }, r) {
|
|
30807
30861
|
let i = t.RULES.types[r];
|
|
@@ -30816,9 +30870,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30816
30870
|
return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
|
|
30817
30871
|
}
|
|
30818
30872
|
e.shouldUseRule = r;
|
|
30819
|
-
})),
|
|
30873
|
+
})), jJ = /* @__PURE__ */ K(((e) => {
|
|
30820
30874
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
|
|
30821
|
-
var t =
|
|
30875
|
+
var t = kJ(), n = AJ(), r = DJ(), i = wJ(), a = TJ(), o;
|
|
30822
30876
|
(function(e) {
|
|
30823
30877
|
e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
|
|
30824
30878
|
})(o || (e.DataType = o = {}));
|
|
@@ -30953,9 +31007,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30953
31007
|
it: e
|
|
30954
31008
|
};
|
|
30955
31009
|
}
|
|
30956
|
-
})),
|
|
31010
|
+
})), MJ = /* @__PURE__ */ K(((e) => {
|
|
30957
31011
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
|
|
30958
|
-
var t =
|
|
31012
|
+
var t = wJ(), n = TJ();
|
|
30959
31013
|
function r(e, t) {
|
|
30960
31014
|
let { properties: n, items: r } = e.schema;
|
|
30961
31015
|
if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
|
|
@@ -30973,9 +31027,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
30973
31027
|
let u = (0, t._)`${l} === undefined`;
|
|
30974
31028
|
c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
|
|
30975
31029
|
}
|
|
30976
|
-
})),
|
|
31030
|
+
})), NJ = /* @__PURE__ */ K(((e) => {
|
|
30977
31031
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateUnion = e.validateArray = e.usePattern = e.callValidateCode = e.schemaProperties = e.allSchemaProperties = e.noPropertyInData = e.propertyInData = e.isOwnProperty = e.hasPropFunc = e.reportMissingProp = e.checkMissingProp = e.checkReportMissingProp = void 0;
|
|
30978
|
-
var t =
|
|
31032
|
+
var t = wJ(), n = TJ(), r = EJ(), i = TJ();
|
|
30979
31033
|
function a(e, n) {
|
|
30980
31034
|
let { gen: r, data: i, it: a } = e;
|
|
30981
31035
|
r.if(d(r, i, n, a.opts.ownProperties), () => {
|
|
@@ -31077,9 +31131,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31077
31131
|
})), e.result(s, () => e.reset(), () => e.error(!0));
|
|
31078
31132
|
}
|
|
31079
31133
|
e.validateUnion = v;
|
|
31080
|
-
})),
|
|
31134
|
+
})), PJ = /* @__PURE__ */ K(((e) => {
|
|
31081
31135
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
|
|
31082
|
-
var t =
|
|
31136
|
+
var t = wJ(), n = EJ(), r = NJ(), i = DJ();
|
|
31083
31137
|
function a(e, n) {
|
|
31084
31138
|
let { gen: r, keyword: i, schema: a, parentSchema: o, it: s } = e, c = n.macro.call(s.self, a, o, s), l = u(r, i, c);
|
|
31085
31139
|
s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
|
|
@@ -31158,9 +31212,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31158
31212
|
}
|
|
31159
31213
|
}
|
|
31160
31214
|
e.validateKeywordUsage = f;
|
|
31161
|
-
})),
|
|
31215
|
+
})), FJ = /* @__PURE__ */ K(((e) => {
|
|
31162
31216
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
|
|
31163
|
-
var t =
|
|
31217
|
+
var t = wJ(), n = TJ();
|
|
31164
31218
|
function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
|
|
31165
31219
|
if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
|
|
31166
31220
|
if (r !== void 0) {
|
|
@@ -31204,7 +31258,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31204
31258
|
r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
|
|
31205
31259
|
}
|
|
31206
31260
|
e.extendSubschemaMode = a;
|
|
31207
|
-
})),
|
|
31261
|
+
})), IJ = /* @__PURE__ */ K(((e, t) => {
|
|
31208
31262
|
t.exports = function e(t, n) {
|
|
31209
31263
|
if (t === n) return !0;
|
|
31210
31264
|
if (t && n && typeof t == "object" && typeof n == "object") {
|
|
@@ -31228,7 +31282,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31228
31282
|
}
|
|
31229
31283
|
return t !== t && n !== n;
|
|
31230
31284
|
};
|
|
31231
|
-
})),
|
|
31285
|
+
})), LJ = /* @__PURE__ */ K(((e, t) => {
|
|
31232
31286
|
var n = t.exports = function(e, t, n) {
|
|
31233
31287
|
typeof t == "function" && (n = t, t = {}), n = t.cb || n;
|
|
31234
31288
|
var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
|
|
@@ -31291,9 +31345,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31291
31345
|
function i(e) {
|
|
31292
31346
|
return e.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
31293
31347
|
}
|
|
31294
|
-
})),
|
|
31348
|
+
})), RJ = /* @__PURE__ */ K(((e) => {
|
|
31295
31349
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
|
|
31296
|
-
var t =
|
|
31350
|
+
var t = TJ(), n = IJ(), r = LJ(), i = new Set([
|
|
31297
31351
|
"type",
|
|
31298
31352
|
"format",
|
|
31299
31353
|
"pattern",
|
|
@@ -31382,9 +31436,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31382
31436
|
}
|
|
31383
31437
|
}
|
|
31384
31438
|
e.getSchemaRefs = h;
|
|
31385
|
-
})),
|
|
31439
|
+
})), zJ = /* @__PURE__ */ K(((e) => {
|
|
31386
31440
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
|
|
31387
|
-
var t =
|
|
31441
|
+
var t = OJ(), n = jJ(), r = AJ(), i = jJ(), a = MJ(), o = PJ(), s = FJ(), c = wJ(), l = EJ(), u = RJ(), d = TJ(), f = DJ();
|
|
31388
31442
|
function p(e) {
|
|
31389
31443
|
if (S(e) && (w(e), x(e))) {
|
|
31390
31444
|
_(e);
|
|
@@ -31674,23 +31728,23 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31674
31728
|
}
|
|
31675
31729
|
}
|
|
31676
31730
|
e.getData = se;
|
|
31677
|
-
})),
|
|
31731
|
+
})), BJ = /* @__PURE__ */ K(((e) => {
|
|
31678
31732
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
|
|
31679
31733
|
constructor(e) {
|
|
31680
31734
|
super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
|
|
31681
31735
|
}
|
|
31682
31736
|
};
|
|
31683
|
-
})),
|
|
31737
|
+
})), VJ = /* @__PURE__ */ K(((e) => {
|
|
31684
31738
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
31685
|
-
var t =
|
|
31739
|
+
var t = RJ();
|
|
31686
31740
|
e.default = class extends Error {
|
|
31687
31741
|
constructor(e, n, r, i) {
|
|
31688
31742
|
super(i || `can't resolve reference ${r} from id ${n}`), this.missingRef = (0, t.resolveUrl)(e, n, r), this.missingSchema = (0, t.normalizeId)((0, t.getFullPath)(e, this.missingRef));
|
|
31689
31743
|
}
|
|
31690
31744
|
};
|
|
31691
|
-
})),
|
|
31745
|
+
})), HJ = /* @__PURE__ */ K(((e) => {
|
|
31692
31746
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
|
|
31693
|
-
var t =
|
|
31747
|
+
var t = wJ(), n = BJ(), r = EJ(), i = RJ(), a = TJ(), o = zJ(), s = class {
|
|
31694
31748
|
constructor(e) {
|
|
31695
31749
|
this.refs = {}, this.dynamicAnchors = {};
|
|
31696
31750
|
let t;
|
|
@@ -31849,27 +31903,27 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
31849
31903
|
baseId: t
|
|
31850
31904
|
}), o.schema !== o.root.schema) return o;
|
|
31851
31905
|
}
|
|
31852
|
-
})),
|
|
31853
|
-
$id: () =>
|
|
31906
|
+
})), UJ = /* @__PURE__ */ it({
|
|
31907
|
+
$id: () => WJ,
|
|
31854
31908
|
additionalProperties: () => !1,
|
|
31855
|
-
default: () =>
|
|
31856
|
-
description: () =>
|
|
31857
|
-
properties: () =>
|
|
31858
|
-
required: () =>
|
|
31859
|
-
type: () =>
|
|
31860
|
-
}),
|
|
31861
|
-
|
|
31909
|
+
default: () => YJ,
|
|
31910
|
+
description: () => GJ,
|
|
31911
|
+
properties: () => JJ,
|
|
31912
|
+
required: () => qJ,
|
|
31913
|
+
type: () => KJ
|
|
31914
|
+
}), WJ, GJ, KJ, qJ, JJ, YJ, XJ = rt((() => {
|
|
31915
|
+
WJ = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", GJ = "Meta-schema for $data reference (JSON AnySchema extension proposal)", KJ = "object", qJ = ["$data"], JJ = { $data: {
|
|
31862
31916
|
type: "string",
|
|
31863
31917
|
anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
|
|
31864
|
-
} },
|
|
31865
|
-
$id:
|
|
31866
|
-
description:
|
|
31867
|
-
type:
|
|
31868
|
-
required:
|
|
31869
|
-
properties:
|
|
31918
|
+
} }, YJ = {
|
|
31919
|
+
$id: WJ,
|
|
31920
|
+
description: GJ,
|
|
31921
|
+
type: KJ,
|
|
31922
|
+
required: qJ,
|
|
31923
|
+
properties: JJ,
|
|
31870
31924
|
additionalProperties: !1
|
|
31871
31925
|
};
|
|
31872
|
-
})),
|
|
31926
|
+
})), ZJ = /* @__PURE__ */ K(((e, t) => {
|
|
31873
31927
|
var n = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), r = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u), i = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu), a = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), o = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
|
|
31874
31928
|
function s(e) {
|
|
31875
31929
|
let t = "", n = 0, r = 0;
|
|
@@ -32081,8 +32135,8 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32081
32135
|
normalizeIPv6: f,
|
|
32082
32136
|
stringArrayToHexStripped: s
|
|
32083
32137
|
};
|
|
32084
|
-
})),
|
|
32085
|
-
var { isUUID: n } =
|
|
32138
|
+
})), QJ = /* @__PURE__ */ K(((e, t) => {
|
|
32139
|
+
var { isUUID: n } = ZJ(), r = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, i = [
|
|
32086
32140
|
"http",
|
|
32087
32141
|
"https",
|
|
32088
32142
|
"ws",
|
|
@@ -32187,8 +32241,8 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32187
32241
|
isValidSchemeName: a,
|
|
32188
32242
|
getSchemeHandler: y
|
|
32189
32243
|
};
|
|
32190
|
-
})),
|
|
32191
|
-
var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } =
|
|
32244
|
+
})), $J = /* @__PURE__ */ K(((e, t) => {
|
|
32245
|
+
var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, escapePreservingEscapes: s, reescapeHostDelimiters: c, isIPv4: l, nonSimpleDomain: u } = ZJ(), { SCHEMES: d, getSchemeHandler: f } = QJ();
|
|
32192
32246
|
function p(e, t) {
|
|
32193
32247
|
return typeof e == "string" ? e = S(e, t) : typeof e == "object" && (e = x(_(e, t), t)), e;
|
|
32194
32248
|
}
|
|
@@ -32302,20 +32356,20 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32302
32356
|
parse: x
|
|
32303
32357
|
};
|
|
32304
32358
|
t.exports = T, t.exports.default = T, t.exports.fastUri = T;
|
|
32305
|
-
})),
|
|
32359
|
+
})), eY = /* @__PURE__ */ K(((e) => {
|
|
32306
32360
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32307
|
-
var t =
|
|
32361
|
+
var t = $J();
|
|
32308
32362
|
t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
|
|
32309
|
-
})),
|
|
32363
|
+
})), tY = /* @__PURE__ */ K(((e) => {
|
|
32310
32364
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
|
|
32311
|
-
var t =
|
|
32365
|
+
var t = zJ();
|
|
32312
32366
|
Object.defineProperty(e, "KeywordCxt", {
|
|
32313
32367
|
enumerable: !0,
|
|
32314
32368
|
get: function() {
|
|
32315
32369
|
return t.KeywordCxt;
|
|
32316
32370
|
}
|
|
32317
32371
|
});
|
|
32318
|
-
var n =
|
|
32372
|
+
var n = wJ();
|
|
32319
32373
|
Object.defineProperty(e, "_", {
|
|
32320
32374
|
enumerable: !0,
|
|
32321
32375
|
get: function() {
|
|
@@ -32347,7 +32401,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32347
32401
|
return n.CodeGen;
|
|
32348
32402
|
}
|
|
32349
32403
|
});
|
|
32350
|
-
var r =
|
|
32404
|
+
var r = BJ(), i = VJ(), a = kJ(), o = HJ(), s = wJ(), c = RJ(), l = jJ(), u = TJ(), d = (XJ(), st(UJ).default), f = eY(), p = (e, t) => new RegExp(e, t);
|
|
32351
32405
|
p.code = "new RegExp";
|
|
32352
32406
|
var m = [
|
|
32353
32407
|
"removeAdditional",
|
|
@@ -32733,16 +32787,16 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32733
32787
|
function F(e) {
|
|
32734
32788
|
return { anyOf: [e, P] };
|
|
32735
32789
|
}
|
|
32736
|
-
})),
|
|
32790
|
+
})), nY = /* @__PURE__ */ K(((e) => {
|
|
32737
32791
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
32738
32792
|
keyword: "id",
|
|
32739
32793
|
code() {
|
|
32740
32794
|
throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
|
|
32741
32795
|
}
|
|
32742
32796
|
};
|
|
32743
|
-
})),
|
|
32797
|
+
})), rY = /* @__PURE__ */ K(((e) => {
|
|
32744
32798
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
|
|
32745
|
-
var t =
|
|
32799
|
+
var t = VJ(), n = NJ(), r = wJ(), i = EJ(), a = HJ(), o = TJ(), s = {
|
|
32746
32800
|
keyword: "$ref",
|
|
32747
32801
|
schemaType: "string",
|
|
32748
32802
|
code(e) {
|
|
@@ -32815,9 +32869,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32815
32869
|
}
|
|
32816
32870
|
}
|
|
32817
32871
|
e.callRef = l, e.default = s;
|
|
32818
|
-
})),
|
|
32872
|
+
})), iY = /* @__PURE__ */ K(((e) => {
|
|
32819
32873
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32820
|
-
var t =
|
|
32874
|
+
var t = nY(), n = rY();
|
|
32821
32875
|
e.default = [
|
|
32822
32876
|
"$schema",
|
|
32823
32877
|
"$id",
|
|
@@ -32828,9 +32882,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32828
32882
|
t.default,
|
|
32829
32883
|
n.default
|
|
32830
32884
|
];
|
|
32831
|
-
})),
|
|
32885
|
+
})), aY = /* @__PURE__ */ K(((e) => {
|
|
32832
32886
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32833
|
-
var t =
|
|
32887
|
+
var t = wJ(), n = t.operators, r = {
|
|
32834
32888
|
maximum: {
|
|
32835
32889
|
okStr: "<=",
|
|
32836
32890
|
ok: n.LTE,
|
|
@@ -32866,9 +32920,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32866
32920
|
e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
|
|
32867
32921
|
}
|
|
32868
32922
|
};
|
|
32869
|
-
})),
|
|
32923
|
+
})), oY = /* @__PURE__ */ K(((e) => {
|
|
32870
32924
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32871
|
-
var t =
|
|
32925
|
+
var t = wJ();
|
|
32872
32926
|
e.default = {
|
|
32873
32927
|
keyword: "multipleOf",
|
|
32874
32928
|
type: "number",
|
|
@@ -32883,7 +32937,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32883
32937
|
e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
|
|
32884
32938
|
}
|
|
32885
32939
|
};
|
|
32886
|
-
})),
|
|
32940
|
+
})), sY = /* @__PURE__ */ K(((e) => {
|
|
32887
32941
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32888
32942
|
function t(e) {
|
|
32889
32943
|
let t = e.length, n = 0, r = 0, i;
|
|
@@ -32891,9 +32945,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32891
32945
|
return n;
|
|
32892
32946
|
}
|
|
32893
32947
|
e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
|
|
32894
|
-
})),
|
|
32948
|
+
})), cY = /* @__PURE__ */ K(((e) => {
|
|
32895
32949
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32896
|
-
var t =
|
|
32950
|
+
var t = wJ(), n = TJ(), r = sY();
|
|
32897
32951
|
e.default = {
|
|
32898
32952
|
keyword: ["maxLength", "minLength"],
|
|
32899
32953
|
type: "string",
|
|
@@ -32911,9 +32965,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32911
32965
|
e.fail$data((0, t._)`${l} ${c} ${o}`);
|
|
32912
32966
|
}
|
|
32913
32967
|
};
|
|
32914
|
-
})),
|
|
32968
|
+
})), lY = /* @__PURE__ */ K(((e) => {
|
|
32915
32969
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32916
|
-
var t =
|
|
32970
|
+
var t = NJ(), n = TJ(), r = wJ();
|
|
32917
32971
|
e.default = {
|
|
32918
32972
|
keyword: "pattern",
|
|
32919
32973
|
type: "string",
|
|
@@ -32934,9 +32988,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32934
32988
|
}
|
|
32935
32989
|
}
|
|
32936
32990
|
};
|
|
32937
|
-
})),
|
|
32991
|
+
})), uY = /* @__PURE__ */ K(((e) => {
|
|
32938
32992
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32939
|
-
var t =
|
|
32993
|
+
var t = wJ();
|
|
32940
32994
|
e.default = {
|
|
32941
32995
|
keyword: ["maxProperties", "minProperties"],
|
|
32942
32996
|
type: "object",
|
|
@@ -32954,9 +33008,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
32954
33008
|
e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
|
|
32955
33009
|
}
|
|
32956
33010
|
};
|
|
32957
|
-
})),
|
|
33011
|
+
})), dY = /* @__PURE__ */ K(((e) => {
|
|
32958
33012
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
32959
|
-
var t =
|
|
33013
|
+
var t = NJ(), n = wJ(), r = TJ();
|
|
32960
33014
|
e.default = {
|
|
32961
33015
|
keyword: "required",
|
|
32962
33016
|
type: "object",
|
|
@@ -33002,9 +33056,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33002
33056
|
}
|
|
33003
33057
|
}
|
|
33004
33058
|
};
|
|
33005
|
-
})),
|
|
33059
|
+
})), fY = /* @__PURE__ */ K(((e) => {
|
|
33006
33060
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33007
|
-
var t =
|
|
33061
|
+
var t = wJ();
|
|
33008
33062
|
e.default = {
|
|
33009
33063
|
keyword: ["maxItems", "minItems"],
|
|
33010
33064
|
type: "array",
|
|
@@ -33022,13 +33076,13 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33022
33076
|
e.fail$data((0, t._)`${r}.length ${a} ${i}`);
|
|
33023
33077
|
}
|
|
33024
33078
|
};
|
|
33025
|
-
})),
|
|
33079
|
+
})), pY = /* @__PURE__ */ K(((e) => {
|
|
33026
33080
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33027
|
-
var t =
|
|
33081
|
+
var t = IJ();
|
|
33028
33082
|
t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
|
|
33029
|
-
})),
|
|
33083
|
+
})), mY = /* @__PURE__ */ K(((e) => {
|
|
33030
33084
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33031
|
-
var t =
|
|
33085
|
+
var t = jJ(), n = wJ(), r = TJ(), i = pY();
|
|
33032
33086
|
e.default = {
|
|
33033
33087
|
keyword: "uniqueItems",
|
|
33034
33088
|
type: "array",
|
|
@@ -33069,9 +33123,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33069
33123
|
}
|
|
33070
33124
|
}
|
|
33071
33125
|
};
|
|
33072
|
-
})),
|
|
33126
|
+
})), hY = /* @__PURE__ */ K(((e) => {
|
|
33073
33127
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33074
|
-
var t =
|
|
33128
|
+
var t = wJ(), n = TJ(), r = pY();
|
|
33075
33129
|
e.default = {
|
|
33076
33130
|
keyword: "const",
|
|
33077
33131
|
$data: !0,
|
|
@@ -33084,9 +33138,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33084
33138
|
o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
|
|
33085
33139
|
}
|
|
33086
33140
|
};
|
|
33087
|
-
})),
|
|
33141
|
+
})), gY = /* @__PURE__ */ K(((e) => {
|
|
33088
33142
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33089
|
-
var t =
|
|
33143
|
+
var t = wJ(), n = TJ(), r = pY();
|
|
33090
33144
|
e.default = {
|
|
33091
33145
|
keyword: "enum",
|
|
33092
33146
|
schemaType: "array",
|
|
@@ -33116,9 +33170,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33116
33170
|
}
|
|
33117
33171
|
}
|
|
33118
33172
|
};
|
|
33119
|
-
})),
|
|
33173
|
+
})), _Y = /* @__PURE__ */ K(((e) => {
|
|
33120
33174
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33121
|
-
var t =
|
|
33175
|
+
var t = aY(), n = oY(), r = cY(), i = lY(), a = uY(), o = dY(), s = fY(), c = mY(), l = hY(), u = gY();
|
|
33122
33176
|
e.default = [
|
|
33123
33177
|
t.default,
|
|
33124
33178
|
n.default,
|
|
@@ -33139,9 +33193,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33139
33193
|
l.default,
|
|
33140
33194
|
u.default
|
|
33141
33195
|
];
|
|
33142
|
-
})),
|
|
33196
|
+
})), vY = /* @__PURE__ */ K(((e) => {
|
|
33143
33197
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
|
|
33144
|
-
var t =
|
|
33198
|
+
var t = wJ(), n = TJ(), r = {
|
|
33145
33199
|
keyword: "additionalItems",
|
|
33146
33200
|
type: "array",
|
|
33147
33201
|
schemaType: ["boolean", "object"],
|
|
@@ -33179,9 +33233,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33179
33233
|
}
|
|
33180
33234
|
}
|
|
33181
33235
|
e.validateAdditionalItems = i, e.default = r;
|
|
33182
|
-
})),
|
|
33236
|
+
})), yY = /* @__PURE__ */ K(((e) => {
|
|
33183
33237
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
|
|
33184
|
-
var t =
|
|
33238
|
+
var t = wJ(), n = TJ(), r = NJ(), i = {
|
|
33185
33239
|
keyword: "items",
|
|
33186
33240
|
type: "array",
|
|
33187
33241
|
schemaType: [
|
|
@@ -33216,9 +33270,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33216
33270
|
}
|
|
33217
33271
|
}
|
|
33218
33272
|
e.validateTuple = a, e.default = i;
|
|
33219
|
-
})),
|
|
33273
|
+
})), bY = /* @__PURE__ */ K(((e) => {
|
|
33220
33274
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33221
|
-
var t =
|
|
33275
|
+
var t = yY();
|
|
33222
33276
|
e.default = {
|
|
33223
33277
|
keyword: "prefixItems",
|
|
33224
33278
|
type: "array",
|
|
@@ -33226,9 +33280,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33226
33280
|
before: "uniqueItems",
|
|
33227
33281
|
code: (e) => (0, t.validateTuple)(e, "items")
|
|
33228
33282
|
};
|
|
33229
|
-
})),
|
|
33283
|
+
})), xY = /* @__PURE__ */ K(((e) => {
|
|
33230
33284
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33231
|
-
var t =
|
|
33285
|
+
var t = wJ(), n = TJ(), r = NJ(), i = vY();
|
|
33232
33286
|
e.default = {
|
|
33233
33287
|
keyword: "items",
|
|
33234
33288
|
type: "array",
|
|
@@ -33243,9 +33297,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33243
33297
|
o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
|
|
33244
33298
|
}
|
|
33245
33299
|
};
|
|
33246
|
-
})),
|
|
33300
|
+
})), SY = /* @__PURE__ */ K(((e) => {
|
|
33247
33301
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33248
|
-
var t =
|
|
33302
|
+
var t = wJ(), n = TJ();
|
|
33249
33303
|
e.default = {
|
|
33250
33304
|
keyword: "contains",
|
|
33251
33305
|
type: "array",
|
|
@@ -33298,9 +33352,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33298
33352
|
}
|
|
33299
33353
|
}
|
|
33300
33354
|
};
|
|
33301
|
-
})),
|
|
33355
|
+
})), CY = /* @__PURE__ */ K(((e) => {
|
|
33302
33356
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
|
|
33303
|
-
var t =
|
|
33357
|
+
var t = wJ(), n = TJ(), r = NJ();
|
|
33304
33358
|
e.error = {
|
|
33305
33359
|
message: ({ params: { property: e, depsCount: n, deps: r } }) => {
|
|
33306
33360
|
let i = n === 1 ? "property" : "properties";
|
|
@@ -33359,9 +33413,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33359
33413
|
}, () => i.var(c, !0)), e.ok(c));
|
|
33360
33414
|
}
|
|
33361
33415
|
e.validateSchemaDeps = s, e.default = i;
|
|
33362
|
-
})),
|
|
33416
|
+
})), wY = /* @__PURE__ */ K(((e) => {
|
|
33363
33417
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33364
|
-
var t =
|
|
33418
|
+
var t = wJ(), n = TJ();
|
|
33365
33419
|
e.default = {
|
|
33366
33420
|
keyword: "propertyNames",
|
|
33367
33421
|
type: "object",
|
|
@@ -33387,9 +33441,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33387
33441
|
}), e.ok(s);
|
|
33388
33442
|
}
|
|
33389
33443
|
};
|
|
33390
|
-
})),
|
|
33444
|
+
})), TY = /* @__PURE__ */ K(((e) => {
|
|
33391
33445
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33392
|
-
var t =
|
|
33446
|
+
var t = NJ(), n = wJ(), r = EJ(), i = TJ();
|
|
33393
33447
|
e.default = {
|
|
33394
33448
|
keyword: "additionalProperties",
|
|
33395
33449
|
type: ["object"],
|
|
@@ -33454,9 +33508,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33454
33508
|
}
|
|
33455
33509
|
}
|
|
33456
33510
|
};
|
|
33457
|
-
})),
|
|
33511
|
+
})), EY = /* @__PURE__ */ K(((e) => {
|
|
33458
33512
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33459
|
-
var t =
|
|
33513
|
+
var t = zJ(), n = NJ(), r = TJ(), i = TY();
|
|
33460
33514
|
e.default = {
|
|
33461
33515
|
keyword: "properties",
|
|
33462
33516
|
type: "object",
|
|
@@ -33483,9 +33537,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33483
33537
|
}
|
|
33484
33538
|
}
|
|
33485
33539
|
};
|
|
33486
|
-
})),
|
|
33540
|
+
})), DY = /* @__PURE__ */ K(((e) => {
|
|
33487
33541
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33488
|
-
var t =
|
|
33542
|
+
var t = NJ(), n = wJ(), r = TJ(), i = TJ();
|
|
33489
33543
|
e.default = {
|
|
33490
33544
|
keyword: "patternProperties",
|
|
33491
33545
|
type: "object",
|
|
@@ -33518,9 +33572,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33518
33572
|
}
|
|
33519
33573
|
}
|
|
33520
33574
|
};
|
|
33521
|
-
})),
|
|
33575
|
+
})), OY = /* @__PURE__ */ K(((e) => {
|
|
33522
33576
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33523
|
-
var t =
|
|
33577
|
+
var t = TJ();
|
|
33524
33578
|
e.default = {
|
|
33525
33579
|
keyword: "not",
|
|
33526
33580
|
schemaType: ["object", "boolean"],
|
|
@@ -33541,17 +33595,17 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33541
33595
|
},
|
|
33542
33596
|
error: { message: "must NOT be valid" }
|
|
33543
33597
|
};
|
|
33544
|
-
})),
|
|
33598
|
+
})), kY = /* @__PURE__ */ K(((e) => {
|
|
33545
33599
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
33546
33600
|
keyword: "anyOf",
|
|
33547
33601
|
schemaType: "array",
|
|
33548
33602
|
trackErrors: !0,
|
|
33549
|
-
code:
|
|
33603
|
+
code: NJ().validateUnion,
|
|
33550
33604
|
error: { message: "must match a schema in anyOf" }
|
|
33551
33605
|
};
|
|
33552
|
-
})),
|
|
33606
|
+
})), AY = /* @__PURE__ */ K(((e) => {
|
|
33553
33607
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33554
|
-
var t =
|
|
33608
|
+
var t = wJ(), n = TJ();
|
|
33555
33609
|
e.default = {
|
|
33556
33610
|
keyword: "oneOf",
|
|
33557
33611
|
schemaType: "array",
|
|
@@ -33581,9 +33635,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33581
33635
|
}
|
|
33582
33636
|
}
|
|
33583
33637
|
};
|
|
33584
|
-
})),
|
|
33638
|
+
})), jY = /* @__PURE__ */ K(((e) => {
|
|
33585
33639
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33586
|
-
var t =
|
|
33640
|
+
var t = TJ();
|
|
33587
33641
|
e.default = {
|
|
33588
33642
|
keyword: "allOf",
|
|
33589
33643
|
schemaType: "array",
|
|
@@ -33602,9 +33656,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33602
33656
|
});
|
|
33603
33657
|
}
|
|
33604
33658
|
};
|
|
33605
|
-
})),
|
|
33659
|
+
})), MY = /* @__PURE__ */ K(((e) => {
|
|
33606
33660
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33607
|
-
var t =
|
|
33661
|
+
var t = wJ(), n = TJ(), r = {
|
|
33608
33662
|
keyword: "if",
|
|
33609
33663
|
schemaType: ["object", "boolean"],
|
|
33610
33664
|
trackErrors: !0,
|
|
@@ -33645,9 +33699,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33645
33699
|
return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
|
|
33646
33700
|
}
|
|
33647
33701
|
e.default = r;
|
|
33648
|
-
})),
|
|
33702
|
+
})), NY = /* @__PURE__ */ K(((e) => {
|
|
33649
33703
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33650
|
-
var t =
|
|
33704
|
+
var t = TJ();
|
|
33651
33705
|
e.default = {
|
|
33652
33706
|
keyword: ["then", "else"],
|
|
33653
33707
|
schemaType: ["object", "boolean"],
|
|
@@ -33655,9 +33709,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33655
33709
|
n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
|
|
33656
33710
|
}
|
|
33657
33711
|
};
|
|
33658
|
-
})),
|
|
33712
|
+
})), PY = /* @__PURE__ */ K(((e) => {
|
|
33659
33713
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33660
|
-
var t =
|
|
33714
|
+
var t = vY(), n = bY(), r = yY(), i = xY(), a = SY(), o = CY(), s = wY(), c = TY(), l = EY(), u = DY(), d = OY(), f = kY(), p = AY(), m = jY(), h = MY(), g = NY();
|
|
33661
33715
|
function _(e = !1) {
|
|
33662
33716
|
let _ = [
|
|
33663
33717
|
d.default,
|
|
@@ -33675,9 +33729,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33675
33729
|
return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
|
|
33676
33730
|
}
|
|
33677
33731
|
e.default = _;
|
|
33678
|
-
})),
|
|
33732
|
+
})), FY = /* @__PURE__ */ K(((e) => {
|
|
33679
33733
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33680
|
-
var t =
|
|
33734
|
+
var t = wJ();
|
|
33681
33735
|
e.default = {
|
|
33682
33736
|
keyword: "format",
|
|
33683
33737
|
type: ["number", "string"],
|
|
@@ -33750,9 +33804,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33750
33804
|
}
|
|
33751
33805
|
}
|
|
33752
33806
|
};
|
|
33753
|
-
})),
|
|
33754
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [
|
|
33755
|
-
})),
|
|
33807
|
+
})), IY = /* @__PURE__ */ K(((e) => {
|
|
33808
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [FY().default];
|
|
33809
|
+
})), LY = /* @__PURE__ */ K(((e) => {
|
|
33756
33810
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
|
|
33757
33811
|
"title",
|
|
33758
33812
|
"description",
|
|
@@ -33766,9 +33820,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33766
33820
|
"contentEncoding",
|
|
33767
33821
|
"contentSchema"
|
|
33768
33822
|
];
|
|
33769
|
-
})),
|
|
33823
|
+
})), RY = /* @__PURE__ */ K(((e) => {
|
|
33770
33824
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33771
|
-
var t =
|
|
33825
|
+
var t = iY(), n = _Y(), r = PY(), i = IY(), a = LY();
|
|
33772
33826
|
e.default = [
|
|
33773
33827
|
t.default,
|
|
33774
33828
|
n.default,
|
|
@@ -33777,15 +33831,15 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33777
33831
|
a.metadataVocabulary,
|
|
33778
33832
|
a.contentVocabulary
|
|
33779
33833
|
];
|
|
33780
|
-
})),
|
|
33834
|
+
})), zY = /* @__PURE__ */ K(((e) => {
|
|
33781
33835
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
|
|
33782
33836
|
var t;
|
|
33783
33837
|
(function(e) {
|
|
33784
33838
|
e.Tag = "tag", e.Mapping = "mapping";
|
|
33785
33839
|
})(t || (e.DiscrError = t = {}));
|
|
33786
|
-
})),
|
|
33840
|
+
})), BY = /* @__PURE__ */ K(((e) => {
|
|
33787
33841
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
33788
|
-
var t =
|
|
33842
|
+
var t = wJ(), n = zY(), r = HJ(), i = VJ(), a = TJ();
|
|
33789
33843
|
e.default = {
|
|
33790
33844
|
keyword: "discriminator",
|
|
33791
33845
|
type: "object",
|
|
@@ -33853,16 +33907,16 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33853
33907
|
}
|
|
33854
33908
|
}
|
|
33855
33909
|
};
|
|
33856
|
-
})),
|
|
33857
|
-
$id: () =>
|
|
33858
|
-
$schema: () =>
|
|
33859
|
-
default: () =>
|
|
33860
|
-
definitions: () =>
|
|
33861
|
-
properties: () =>
|
|
33862
|
-
title: () =>
|
|
33863
|
-
type: () =>
|
|
33864
|
-
}),
|
|
33865
|
-
|
|
33910
|
+
})), VY = /* @__PURE__ */ it({
|
|
33911
|
+
$id: () => UY,
|
|
33912
|
+
$schema: () => HY,
|
|
33913
|
+
default: () => JY,
|
|
33914
|
+
definitions: () => GY,
|
|
33915
|
+
properties: () => qY,
|
|
33916
|
+
title: () => WY,
|
|
33917
|
+
type: () => KY
|
|
33918
|
+
}), HY, UY, WY, GY, KY, qY, JY, YY = rt((() => {
|
|
33919
|
+
HY = "http://json-schema.org/draft-07/schema#", UY = "http://json-schema.org/draft-07/schema#", WY = "Core schema meta-schema", GY = {
|
|
33866
33920
|
schemaArray: {
|
|
33867
33921
|
type: "array",
|
|
33868
33922
|
minItems: 1,
|
|
@@ -33888,7 +33942,7 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33888
33942
|
uniqueItems: !0,
|
|
33889
33943
|
default: []
|
|
33890
33944
|
}
|
|
33891
|
-
},
|
|
33945
|
+
}, KY = ["object", "boolean"], qY = {
|
|
33892
33946
|
$id: {
|
|
33893
33947
|
type: "string",
|
|
33894
33948
|
format: "uri-reference"
|
|
@@ -33987,18 +34041,18 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
33987
34041
|
anyOf: { $ref: "#/definitions/schemaArray" },
|
|
33988
34042
|
oneOf: { $ref: "#/definitions/schemaArray" },
|
|
33989
34043
|
not: { $ref: "#" }
|
|
33990
|
-
},
|
|
33991
|
-
$schema:
|
|
33992
|
-
$id:
|
|
33993
|
-
title:
|
|
33994
|
-
definitions:
|
|
33995
|
-
type:
|
|
33996
|
-
properties:
|
|
34044
|
+
}, JY = {
|
|
34045
|
+
$schema: HY,
|
|
34046
|
+
$id: UY,
|
|
34047
|
+
title: WY,
|
|
34048
|
+
definitions: GY,
|
|
34049
|
+
type: KY,
|
|
34050
|
+
properties: qY,
|
|
33997
34051
|
default: !0
|
|
33998
34052
|
};
|
|
33999
|
-
})),
|
|
34053
|
+
})), XY = /* @__PURE__ */ K(((e, t) => {
|
|
34000
34054
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv = void 0;
|
|
34001
|
-
var n =
|
|
34055
|
+
var n = tY(), r = RY(), i = BY(), a = (YY(), st(VY).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
|
|
34002
34056
|
_addVocabularies() {
|
|
34003
34057
|
super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
|
|
34004
34058
|
}
|
|
@@ -34012,14 +34066,14 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34012
34066
|
}
|
|
34013
34067
|
};
|
|
34014
34068
|
e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
|
|
34015
|
-
var l =
|
|
34069
|
+
var l = zJ();
|
|
34016
34070
|
Object.defineProperty(e, "KeywordCxt", {
|
|
34017
34071
|
enumerable: !0,
|
|
34018
34072
|
get: function() {
|
|
34019
34073
|
return l.KeywordCxt;
|
|
34020
34074
|
}
|
|
34021
34075
|
});
|
|
34022
|
-
var u =
|
|
34076
|
+
var u = wJ();
|
|
34023
34077
|
Object.defineProperty(e, "_", {
|
|
34024
34078
|
enumerable: !0,
|
|
34025
34079
|
get: function() {
|
|
@@ -34051,21 +34105,21 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34051
34105
|
return u.CodeGen;
|
|
34052
34106
|
}
|
|
34053
34107
|
});
|
|
34054
|
-
var d =
|
|
34108
|
+
var d = BJ();
|
|
34055
34109
|
Object.defineProperty(e, "ValidationError", {
|
|
34056
34110
|
enumerable: !0,
|
|
34057
34111
|
get: function() {
|
|
34058
34112
|
return d.default;
|
|
34059
34113
|
}
|
|
34060
34114
|
});
|
|
34061
|
-
var f =
|
|
34115
|
+
var f = VJ();
|
|
34062
34116
|
Object.defineProperty(e, "MissingRefError", {
|
|
34063
34117
|
enumerable: !0,
|
|
34064
34118
|
get: function() {
|
|
34065
34119
|
return f.default;
|
|
34066
34120
|
}
|
|
34067
34121
|
});
|
|
34068
|
-
})),
|
|
34122
|
+
})), ZY = /* @__PURE__ */ K(((e) => {
|
|
34069
34123
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
|
|
34070
34124
|
function t(e, t) {
|
|
34071
34125
|
return {
|
|
@@ -34217,9 +34271,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34217
34271
|
return !1;
|
|
34218
34272
|
}
|
|
34219
34273
|
}
|
|
34220
|
-
})),
|
|
34274
|
+
})), QY = /* @__PURE__ */ K(((e) => {
|
|
34221
34275
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
|
|
34222
|
-
var t =
|
|
34276
|
+
var t = XY(), n = wJ(), r = n.operators, i = {
|
|
34223
34277
|
formatMaximum: {
|
|
34224
34278
|
okStr: "<=",
|
|
34225
34279
|
ok: r.LTE,
|
|
@@ -34279,9 +34333,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34279
34333
|
},
|
|
34280
34334
|
dependencies: ["format"]
|
|
34281
34335
|
}, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
|
|
34282
|
-
})),
|
|
34336
|
+
})), $Y = /* @__PURE__ */ K(((e, t) => {
|
|
34283
34337
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
34284
|
-
var n =
|
|
34338
|
+
var n = ZY(), r = QY(), i = wJ(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
|
|
34285
34339
|
if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
|
|
34286
34340
|
let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
|
|
34287
34341
|
return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
|
|
@@ -34297,9 +34351,9 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34297
34351
|
for (let r of t) e.addFormat(r, n[r]);
|
|
34298
34352
|
}
|
|
34299
34353
|
t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
|
|
34300
|
-
})),
|
|
34354
|
+
})), eX = /* @__PURE__ */ ot(XY(), 1), tX = /* @__PURE__ */ ot($Y(), 1), nX = {
|
|
34301
34355
|
required: () => "This field is required",
|
|
34302
|
-
type: (e) => `Should be "${
|
|
34356
|
+
type: (e) => `Should be "${iX(e)}".`,
|
|
34303
34357
|
minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
|
|
34304
34358
|
maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
|
|
34305
34359
|
minimum: (e) => `Should be >= ${e.params.limit}`,
|
|
@@ -34315,77 +34369,77 @@ var yJ = /* @__PURE__ */ K(((e) => {
|
|
|
34315
34369
|
format: (e) => `Should be a valid ${e.params.format}`,
|
|
34316
34370
|
uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
|
|
34317
34371
|
};
|
|
34318
|
-
function
|
|
34319
|
-
let n =
|
|
34372
|
+
function rX(e, t) {
|
|
34373
|
+
let n = nX[e.keyword];
|
|
34320
34374
|
return n ? n(e, t) : e.message ?? "Invalid value";
|
|
34321
34375
|
}
|
|
34322
|
-
function
|
|
34376
|
+
function iX(e) {
|
|
34323
34377
|
let t = e.params.type;
|
|
34324
34378
|
return String(Array.isArray(t) ? t[0] : t);
|
|
34325
34379
|
}
|
|
34326
34380
|
//#endregion
|
|
34327
34381
|
//#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
|
|
34328
|
-
function
|
|
34382
|
+
function aX(e, t, n) {
|
|
34329
34383
|
let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
|
|
34330
34384
|
for (let e of r) {
|
|
34331
34385
|
if (!i) return {
|
|
34332
34386
|
node: void 0,
|
|
34333
34387
|
value: void 0
|
|
34334
34388
|
};
|
|
34335
|
-
i =
|
|
34389
|
+
i = oX(i, a, n, o), /^\d+$/.test(e) ? (i = i.items, a = Array.isArray(a) ? a[Number(e)] : void 0) : (i = i.properties?.get(e), a = a && typeof a == "object" ? a[e] : void 0), o.push(e);
|
|
34336
34390
|
}
|
|
34337
34391
|
return i ? {
|
|
34338
|
-
node:
|
|
34392
|
+
node: sX(oX(i, a, n, r), r),
|
|
34339
34393
|
value: a
|
|
34340
34394
|
} : {
|
|
34341
34395
|
node: void 0,
|
|
34342
34396
|
value: a
|
|
34343
34397
|
};
|
|
34344
34398
|
}
|
|
34345
|
-
function
|
|
34346
|
-
let i = new Map(e.properties), a = e.variants ?
|
|
34399
|
+
function oX(e, t, n, r) {
|
|
34400
|
+
let i = new Map(e.properties), a = e.variants ? lX(e.variants, t) : void 0;
|
|
34347
34401
|
if (a) for (let [e, t] of a.properties) i.set(e, t);
|
|
34348
34402
|
let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
|
|
34349
34403
|
if (o.length > 0) {
|
|
34350
|
-
for (let e of o) if (
|
|
34404
|
+
for (let e of o) if (cX(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
|
|
34351
34405
|
}
|
|
34352
34406
|
return i.size > (e.properties?.size ?? 0) ? {
|
|
34353
34407
|
...e,
|
|
34354
34408
|
properties: i
|
|
34355
34409
|
} : e;
|
|
34356
34410
|
}
|
|
34357
|
-
function
|
|
34411
|
+
function sX(e, t) {
|
|
34358
34412
|
return e.displayIf ? {
|
|
34359
34413
|
...e,
|
|
34360
34414
|
displayIf: nq(e.displayIf, t.join("."))
|
|
34361
34415
|
} : e;
|
|
34362
34416
|
}
|
|
34363
|
-
function
|
|
34417
|
+
function cX(e, t, n) {
|
|
34364
34418
|
for (let [r, i] of e) {
|
|
34365
34419
|
let e = XK(t, tq(r, n));
|
|
34366
34420
|
if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
|
|
34367
34421
|
}
|
|
34368
34422
|
return !0;
|
|
34369
34423
|
}
|
|
34370
|
-
function
|
|
34424
|
+
function lX(e, t) {
|
|
34371
34425
|
if (typeof t != "object" || !t) return;
|
|
34372
34426
|
let n = t;
|
|
34373
34427
|
return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
|
|
34374
34428
|
}
|
|
34375
34429
|
//#endregion
|
|
34376
34430
|
//#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
|
|
34377
|
-
var
|
|
34431
|
+
var uX = new eX.default({
|
|
34378
34432
|
strict: !1,
|
|
34379
34433
|
allErrors: !0
|
|
34380
34434
|
});
|
|
34381
|
-
(0,
|
|
34435
|
+
(0, tX.default)(uX), uX.removeKeyword("id"), uX.addKeyword({
|
|
34382
34436
|
keyword: "id",
|
|
34383
34437
|
validate: () => !0
|
|
34384
34438
|
});
|
|
34385
|
-
function
|
|
34439
|
+
function dX(e, t = {}) {
|
|
34386
34440
|
let n;
|
|
34387
34441
|
try {
|
|
34388
|
-
n =
|
|
34442
|
+
n = lJ(e);
|
|
34389
34443
|
} catch (e) {
|
|
34390
34444
|
let t = e instanceof Error ? e.message : "Invalid JSON Schema";
|
|
34391
34445
|
return () => ({
|
|
@@ -34398,7 +34452,7 @@ function cX(e, t = {}) {
|
|
|
34398
34452
|
}
|
|
34399
34453
|
let r = n.root.schema, i = n.variantIndices, a;
|
|
34400
34454
|
try {
|
|
34401
|
-
a =
|
|
34455
|
+
a = uX.compile(r);
|
|
34402
34456
|
} catch (e) {
|
|
34403
34457
|
let t = e instanceof Error ? e.message : "Invalid JSON Schema";
|
|
34404
34458
|
return () => ({
|
|
@@ -34409,15 +34463,15 @@ function cX(e, t = {}) {
|
|
|
34409
34463
|
} }
|
|
34410
34464
|
});
|
|
34411
34465
|
}
|
|
34412
|
-
|
|
34466
|
+
uX.removeSchema(r);
|
|
34413
34467
|
let o = async (e, t, r) => {
|
|
34414
|
-
let o = a(e) ? [] : a.errors ?? [], s =
|
|
34468
|
+
let o = a(e) ? [] : a.errors ?? [], s = vX(n.root, e, "", i), c = [...o, ...s];
|
|
34415
34469
|
return c.length === 0 ? {
|
|
34416
34470
|
values: e,
|
|
34417
34471
|
errors: {}
|
|
34418
34472
|
} : {
|
|
34419
34473
|
values: {},
|
|
34420
|
-
errors:
|
|
34474
|
+
errors: hX(mX(c.filter((t) => !fX(t, n, e))), r.criteriaMode ?? "firstError")
|
|
34421
34475
|
};
|
|
34422
34476
|
};
|
|
34423
34477
|
if (!t.basePath) return o;
|
|
@@ -34433,12 +34487,12 @@ function cX(e, t = {}) {
|
|
|
34433
34487
|
};
|
|
34434
34488
|
};
|
|
34435
34489
|
}
|
|
34436
|
-
function
|
|
34437
|
-
let { node: r, value: i } =
|
|
34490
|
+
function fX(e, t, n) {
|
|
34491
|
+
let { node: r, value: i } = aX(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(uq) : []).join("."), n);
|
|
34438
34492
|
if (!r) return !1;
|
|
34439
34493
|
switch (e.keyword) {
|
|
34440
34494
|
case "const":
|
|
34441
|
-
case "enum": return
|
|
34495
|
+
case "enum": return pX(r.schema, i);
|
|
34442
34496
|
case "required": {
|
|
34443
34497
|
let t = e.params.missingProperty;
|
|
34444
34498
|
return typeof t == "string" && !!r.properties && !r.properties.has(t);
|
|
@@ -34446,46 +34500,46 @@ function lX(e, t, n) {
|
|
|
34446
34500
|
default: return !1;
|
|
34447
34501
|
}
|
|
34448
34502
|
}
|
|
34449
|
-
function
|
|
34503
|
+
function pX(e, t) {
|
|
34450
34504
|
return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
|
|
34451
34505
|
}
|
|
34452
|
-
function
|
|
34506
|
+
function mX(e) {
|
|
34453
34507
|
return e.filter((t) => {
|
|
34454
34508
|
if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
|
|
34455
|
-
let n =
|
|
34509
|
+
let n = gX(t), r = n === "" ? "" : `${n}.`;
|
|
34456
34510
|
return !e.some((e) => {
|
|
34457
34511
|
if (e === t) return !1;
|
|
34458
|
-
let i =
|
|
34512
|
+
let i = gX(e);
|
|
34459
34513
|
return n === "" ? i !== "" : i.startsWith(r);
|
|
34460
34514
|
});
|
|
34461
34515
|
});
|
|
34462
34516
|
}
|
|
34463
|
-
function
|
|
34517
|
+
function hX(e, t) {
|
|
34464
34518
|
let n = /* @__PURE__ */ new Map();
|
|
34465
34519
|
for (let t of e) {
|
|
34466
|
-
let e =
|
|
34520
|
+
let e = gX(t), r = n.get(e) ?? [];
|
|
34467
34521
|
r.push(t), n.set(e, r);
|
|
34468
34522
|
}
|
|
34469
34523
|
let r = {};
|
|
34470
34524
|
for (let [e, i] of n) {
|
|
34471
34525
|
let n = {
|
|
34472
34526
|
type: i[0].keyword,
|
|
34473
|
-
message:
|
|
34527
|
+
message: rX(i[0], e)
|
|
34474
34528
|
};
|
|
34475
34529
|
if (t === "all" && i.length > 0) {
|
|
34476
34530
|
let t = {};
|
|
34477
|
-
for (let n of i) t[n.keyword] =
|
|
34531
|
+
for (let n of i) t[n.keyword] = rX(n, e);
|
|
34478
34532
|
n.types = t;
|
|
34479
34533
|
}
|
|
34480
|
-
|
|
34534
|
+
_X(r, e === "" ? "root" : e, n);
|
|
34481
34535
|
}
|
|
34482
34536
|
return r;
|
|
34483
34537
|
}
|
|
34484
|
-
function
|
|
34538
|
+
function gX(e) {
|
|
34485
34539
|
let t = e.instancePath ? e.instancePath.slice(1).split("/").map(uq) : [];
|
|
34486
34540
|
return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
|
|
34487
34541
|
}
|
|
34488
|
-
function
|
|
34542
|
+
function _X(e, t, n) {
|
|
34489
34543
|
let r = t.split("."), i = e;
|
|
34490
34544
|
for (let e = 0; e < r.length - 1; e++) {
|
|
34491
34545
|
let t = r[e];
|
|
@@ -34493,7 +34547,7 @@ function mX(e, t, n) {
|
|
|
34493
34547
|
}
|
|
34494
34548
|
i[r[r.length - 1]] = n;
|
|
34495
34549
|
}
|
|
34496
|
-
function
|
|
34550
|
+
function vX(e, t, n, r) {
|
|
34497
34551
|
if (!e) return [];
|
|
34498
34552
|
let i = [];
|
|
34499
34553
|
if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
|
|
@@ -34510,18 +34564,18 @@ function hX(e, t, n, r) {
|
|
|
34510
34564
|
}
|
|
34511
34565
|
}
|
|
34512
34566
|
let a = typeof t == "object" && !!t && !Array.isArray(t);
|
|
34513
|
-
if (e.properties && a) for (let [a, o] of e.properties) i.push(...
|
|
34567
|
+
if (e.properties && a) for (let [a, o] of e.properties) i.push(...vX(o, t[a], `${n}/${lq(a)}`, r));
|
|
34514
34568
|
if (e.variants && e.variants.length > 0 && a) {
|
|
34515
|
-
let a = t, o =
|
|
34516
|
-
if (s) for (let [e, t] of s.properties) i.push(...
|
|
34569
|
+
let a = t, o = Wq(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
|
|
34570
|
+
if (s) for (let [e, t] of s.properties) i.push(...vX(t, a[e], `${n}/${lq(e)}`, r));
|
|
34517
34571
|
}
|
|
34518
34572
|
return e.items && Array.isArray(t) && t.forEach((t, a) => {
|
|
34519
|
-
i.push(...
|
|
34573
|
+
i.push(...vX(e.items, t, `${n}/${a}`, r));
|
|
34520
34574
|
}), i;
|
|
34521
34575
|
}
|
|
34522
34576
|
//#endregion
|
|
34523
34577
|
//#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
|
|
34524
|
-
var
|
|
34578
|
+
var yX = {
|
|
34525
34579
|
navigation: null,
|
|
34526
34580
|
contextSidebar: null,
|
|
34527
34581
|
breadcrumbs: [],
|
|
@@ -34531,9 +34585,9 @@ var gX = {
|
|
|
34531
34585
|
contentVariant: "default",
|
|
34532
34586
|
banner: null,
|
|
34533
34587
|
bannerSticky: !1
|
|
34534
|
-
},
|
|
34535
|
-
function
|
|
34536
|
-
let [t, n] = Be(
|
|
34588
|
+
}, bX = De(null);
|
|
34589
|
+
function xX({ children: e }) {
|
|
34590
|
+
let [t, n] = Be(yX), r = je((e, t) => {
|
|
34537
34591
|
n((n) => ({
|
|
34538
34592
|
...n,
|
|
34539
34593
|
[e]: t
|
|
@@ -34545,7 +34599,7 @@ function vX({ children: e }) {
|
|
|
34545
34599
|
}));
|
|
34546
34600
|
}, []), a = je((e) => {
|
|
34547
34601
|
n((t) => {
|
|
34548
|
-
let n = Object.fromEntries(e.map((e) => [e,
|
|
34602
|
+
let n = Object.fromEntries(e.map((e) => [e, yX[e]]));
|
|
34549
34603
|
return {
|
|
34550
34604
|
...t,
|
|
34551
34605
|
...n
|
|
@@ -34562,20 +34616,20 @@ function vX({ children: e }) {
|
|
|
34562
34616
|
i,
|
|
34563
34617
|
a
|
|
34564
34618
|
]);
|
|
34565
|
-
return /* @__PURE__ */ W(
|
|
34619
|
+
return /* @__PURE__ */ W(bX.Provider, {
|
|
34566
34620
|
value: o,
|
|
34567
34621
|
children: e
|
|
34568
34622
|
});
|
|
34569
34623
|
}
|
|
34570
|
-
function
|
|
34571
|
-
let e = Me(
|
|
34624
|
+
function SX() {
|
|
34625
|
+
let e = Me(bX);
|
|
34572
34626
|
if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
|
|
34573
34627
|
return e;
|
|
34574
34628
|
}
|
|
34575
34629
|
//#endregion
|
|
34576
34630
|
//#region src/composed/LayoutSlots/use-layout-config.ts
|
|
34577
|
-
function
|
|
34578
|
-
let { setSlots: n, resetSlots: r } =
|
|
34631
|
+
function CX(e, t = []) {
|
|
34632
|
+
let { setSlots: n, resetSlots: r } = SX();
|
|
34579
34633
|
Le(() => {
|
|
34580
34634
|
n(e);
|
|
34581
34635
|
let t = Object.keys(e);
|
|
@@ -34590,16 +34644,16 @@ function bX(e, t = []) {
|
|
|
34590
34644
|
}
|
|
34591
34645
|
//#endregion
|
|
34592
34646
|
//#region src/composed/PageFocused/PageFocused.tsx
|
|
34593
|
-
function
|
|
34647
|
+
function wX({ children: e, className: n }) {
|
|
34594
34648
|
return /* @__PURE__ */ W("div", {
|
|
34595
34649
|
className: t("mx-auto w-full max-w-focused", n),
|
|
34596
34650
|
children: e
|
|
34597
34651
|
});
|
|
34598
34652
|
}
|
|
34599
|
-
|
|
34653
|
+
wX.displayName = "PageFocused";
|
|
34600
34654
|
//#endregion
|
|
34601
34655
|
//#region src/composed/TopNavUser/TopNavUser.tsx
|
|
34602
|
-
var
|
|
34656
|
+
var TX = [
|
|
34603
34657
|
{
|
|
34604
34658
|
value: "light",
|
|
34605
34659
|
label: "Light"
|
|
@@ -34613,7 +34667,7 @@ var SX = [
|
|
|
34613
34667
|
label: "System"
|
|
34614
34668
|
}
|
|
34615
34669
|
];
|
|
34616
|
-
function
|
|
34670
|
+
function EX({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
|
|
34617
34671
|
let s = i ?? e.slice(0, 2).toUpperCase(), { mode: c, setMode: l } = Ce();
|
|
34618
34672
|
return /* @__PURE__ */ G(cI, { children: [/* @__PURE__ */ W(uI, {
|
|
34619
34673
|
asChild: !0,
|
|
@@ -34642,7 +34696,7 @@ function CX({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
|
|
|
34642
34696
|
/* @__PURE__ */ W(hI, {
|
|
34643
34697
|
value: c,
|
|
34644
34698
|
onValueChange: (e) => l(e),
|
|
34645
|
-
children:
|
|
34699
|
+
children: TX.map((e) => /* @__PURE__ */ W(gI, {
|
|
34646
34700
|
value: e.value,
|
|
34647
34701
|
children: e.label
|
|
34648
34702
|
}, e.value))
|
|
@@ -34655,6 +34709,6 @@ function CX({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
|
|
|
34655
34709
|
]
|
|
34656
34710
|
})] });
|
|
34657
34711
|
}
|
|
34658
|
-
|
|
34712
|
+
EX.displayName = "TopNavUser";
|
|
34659
34713
|
//#endregion
|
|
34660
|
-
export { kv as Accordion, Mv as AccordionContent, Av as AccordionItem, jv as AccordionTrigger, d as Alert, i as AlertAction, P as AlertDescription, f as AlertTitle, mU as AppContextBar, wU as AppLayout, OU as AppSidebar, dU as AppSwitcher, Nv as Avatar, Iv as AvatarBadge, Fv as AvatarFallback, Lv as AvatarGroup, Rv as AvatarGroupCount, Pv as AvatarImage, Bv as Badge, CG as BadgeCell, Vv as Breadcrumb, qv as BreadcrumbEllipsis, Uv as BreadcrumbItem, Wv as BreadcrumbLink, Hv as BreadcrumbList, Gv as BreadcrumbPage, Kv as BreadcrumbSeparator, Yv as Button, Zv as ButtonGroup, $v as ButtonGroupSeparator, Qv as ButtonGroupText, fC as Calendar, pC as CalendarDayButton, mC as Card, vC as CardAction, yC as CardContent, _C as CardDescription, bC as CardFooter, hC as CardHeader, gC as CardTitle, xC as Checkbox, SC as Collapsible, wC as CollapsibleContent, CC as CollapsibleTrigger, HA as Combobox, nj as ComboboxChip, tj as ComboboxChips, rj as ComboboxChipsInput, QA as ComboboxCollection, qA as ComboboxContent, $A as ComboboxEmpty, XA as ComboboxGroup, KA as ComboboxInput, YA as ComboboxItem, ZA as ComboboxLabel, JA as ComboboxList, ej as ComboboxSeparator, WA as ComboboxTrigger, UA as ComboboxValue, CP as Command, wP as CommandDialog, DP as CommandEmpty, OP as CommandGroup, TP as CommandInput, AP as CommandItem, EP as CommandList, kP as CommandSeparator, jP as CommandShortcut, NU as ContentHeader, MP as ContextMenu, HP as ContextMenuCheckboxItem, RP as ContextMenuContent, PP as ContextMenuGroup, zP as ContextMenuItem, WP as ContextMenuLabel, FP as ContextMenuPortal, LP as ContextMenuRadioGroup, UP as ContextMenuRadioItem, GP as ContextMenuSeparator, KP as ContextMenuShortcut, IP as ContextMenuSub, VP as ContextMenuSubContent, BP as ContextMenuSubTrigger, NP as ContextMenuTrigger, AU as ContextSidebar, jU as ContextToggleButton, TG as CopyableCell, PU as CopyableText,
|
|
34714
|
+
export { kv as Accordion, Mv as AccordionContent, Av as AccordionItem, jv as AccordionTrigger, d as Alert, i as AlertAction, P as AlertDescription, f as AlertTitle, mU as AppContextBar, wU as AppLayout, OU as AppSidebar, dU as AppSwitcher, Nv as Avatar, Iv as AvatarBadge, Fv as AvatarFallback, Lv as AvatarGroup, Rv as AvatarGroupCount, Pv as AvatarImage, Bv as Badge, CG as BadgeCell, Vv as Breadcrumb, qv as BreadcrumbEllipsis, Uv as BreadcrumbItem, Wv as BreadcrumbLink, Hv as BreadcrumbList, Gv as BreadcrumbPage, Kv as BreadcrumbSeparator, Yv as Button, Zv as ButtonGroup, $v as ButtonGroupSeparator, Qv as ButtonGroupText, fC as Calendar, pC as CalendarDayButton, mC as Card, vC as CardAction, yC as CardContent, _C as CardDescription, bC as CardFooter, hC as CardHeader, gC as CardTitle, xC as Checkbox, SC as Collapsible, wC as CollapsibleContent, CC as CollapsibleTrigger, HA as Combobox, nj as ComboboxChip, tj as ComboboxChips, rj as ComboboxChipsInput, QA as ComboboxCollection, qA as ComboboxContent, $A as ComboboxEmpty, XA as ComboboxGroup, KA as ComboboxInput, YA as ComboboxItem, ZA as ComboboxLabel, JA as ComboboxList, ej as ComboboxSeparator, WA as ComboboxTrigger, UA as ComboboxValue, CP as Command, wP as CommandDialog, DP as CommandEmpty, OP as CommandGroup, TP as CommandInput, AP as CommandItem, EP as CommandList, kP as CommandSeparator, jP as CommandShortcut, NU as ContentHeader, MP as ContextMenu, HP as ContextMenuCheckboxItem, RP as ContextMenuContent, PP as ContextMenuGroup, zP as ContextMenuItem, WP as ContextMenuLabel, FP as ContextMenuPortal, LP as ContextMenuRadioGroup, UP as ContextMenuRadioItem, GP as ContextMenuSeparator, KP as ContextMenuShortcut, IP as ContextMenuSub, VP as ContextMenuSubContent, BP as ContextMenuSubTrigger, NP as ContextMenuTrigger, AU as ContextSidebar, jU as ContextToggleButton, TG as CopyableCell, PU as CopyableText, yX as DEFAULT_SLOTS, mG as DataTable, hG as DataTableColumnHeader, DG as DataTableEmptyState, sG as DataTablePagination, cG as DataTableViewOptions, SG as DateCell, IK as DatePicker, LK as DateRangePicker, BK as DateTimePicker, UK as DateTimeRangePicker, pP as Dialog, gP as DialogClose, vP as DialogContent, SP as DialogDescription, bP as DialogFooter, yP as DialogHeader, _P as DialogOverlay, hP as DialogPortal, xP as DialogTitle, mP as DialogTrigger, QF as Drawer, tI as DrawerClose, rI as DrawerContent, sI as DrawerDescription, aI as DrawerFooter, iI as DrawerHeader, nI as DrawerOverlay, eI as DrawerPortal, oI as DrawerTitle, $F as DrawerTrigger, cI as DropdownMenu, mI as DropdownMenuCheckboxItem, dI as DropdownMenuContent, fI as DropdownMenuGroup, pI as DropdownMenuItem, _I as DropdownMenuLabel, lI as DropdownMenuPortal, hI as DropdownMenuRadioGroup, gI as DropdownMenuRadioItem, vI as DropdownMenuSeparator, yI as DropdownMenuShortcut, bI as DropdownMenuSub, SI as DropdownMenuSubContent, xI as DropdownMenuSubTrigger, uI as DropdownMenuTrigger, CI as Empty, kI as EmptyContent, OI as EmptyDescription, wI as EmptyHeader, EI as EmptyMedia, DI as EmptyTitle, WK as FacetedFilter, M as Field, _ as FieldContent, v as FieldDescription, O as FieldError, T as FieldGroup, b as FieldLabel, y as FieldLegend, p as FieldSeparator, N as FieldSet, I as FieldTitle, YK as FileUpload, CR as FileUploadInput, JK as FileUploadItem, wR as HoverCard, ER as HoverCardContent, kR as HoverCardDescription, DR as HoverCardHeader, OR as HoverCardTitle, TR as HoverCardTrigger, NA as Input, PA as InputGroup, IA as InputGroupAddon, RA as InputGroupButton, BA as InputGroupInput, zA as InputGroupText, VA as InputGroupTextarea, NR as Item, zR as ItemActions, IR as ItemContent, RR as ItemDescription, VR as ItemFooter, AR as ItemGroup, BR as ItemHeader, FR as ItemMedia, jR as ItemSeparator, LR as ItemTitle, bJ as JsonSchemaForm, HR as Kbd, UR as KbdGroup, h as Label, xX as LayoutSlotsProvider, wG as MonoCell, wX as PageFocused, WR as Pagination, GR as PaginationContent, XR as PaginationEllipsis, KR as PaginationItem, qR as PaginationLink, YR as PaginationNext, JR as PaginationPrevious, $q as PasswordInput, ZR as Popover, ez as PopoverAnchor, $R as PopoverContent, rz as PopoverDescription, tz as PopoverHeader, nz as PopoverTitle, QR as PopoverTrigger, lt as PortalContainerProvider, iz as Progress, oz as Prose, sz as RadioGroup, cz as RadioGroupItem, iV as ResizableHandle, rV as ResizablePanel, nV as ResizablePanelGroup, aV as ScrollArea, oV as ScrollBar, sV as Select, dV as SelectContent, cV as SelectGroup, pV as SelectItem, fV as SelectLabel, gV as SelectScrollDownButton, hV as SelectScrollUpButton, mV as SelectSeparator, uV as SelectTrigger, lV as SelectValue, fU as SelectorDropdown, pU as SelectorTriggerButton, F as Separator, _V as Sheet, yV as SheetClose, SV as SheetContent, EV as SheetDescription, wV as SheetFooter, CV as SheetHeader, TV as SheetTitle, vV as SheetTrigger, GV as Sidebar, $V as SidebarContent, ZV as SidebarFooter, eH as SidebarGroup, nH as SidebarGroupAction, rH as SidebarGroupContent, tH as SidebarGroupLabel, XV as SidebarHeader, YV as SidebarInput, JV as SidebarInset, iH as SidebarMenu, cH as SidebarMenuAction, lH as SidebarMenuBadge, sH as SidebarMenuButton, aH as SidebarMenuItem, uH as SidebarMenuSkeleton, dH as SidebarMenuSub, pH as SidebarMenuSubButton, fH as SidebarMenuSubItem, SU as SidebarModeControl, bU as SidebarModeProvider, kU as SidebarNavigation, WV as SidebarProvider, qV as SidebarRail, QV as SidebarSeparator, KV as SidebarTrigger, n as Skeleton, GH as Spinner, KH as Switch, qH as Table, YH as TableBody, eU as TableCaption, $H as TableCell, XH as TableFooter, QH as TableHead, JH as TableHeader, ZH as TableRow, tU as Tabs, aU as TabsContent, rU as TabsList, iU as TabsTrigger, e as Textarea, we as ThemeProvider, WH as Toaster, sU as Toggle, lU as ToggleGroup, uU as ToggleGroupItem, OV as Tooltip, AV as TooltipContent, DV as TooltipProvider, kV as TooltipTrigger, EX as TopNavUser, EG as TruncatedCell, o as alertVariants, zv as badgeVariants, FU as buildLinearBreadcrumbs, Xv as buttonGroupVariants, Jv as buttonVariants, t as cn, xJ as composeResolvers, xq as extractDefaults, dX as jsonSchemaResolver, nU as tabsListVariants, OH as toast, oU as toggleVariants, ij as useComboboxAnchor, CX as useLayoutConfig, SX as useLayoutSlots, ut as usePortalContainer, UV as useSidebar, _U as useSidebarMode, Ce as useTheme };
|