@quickflo/quickforms-vue 0.3.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { provide as Zs, inject as Ys, computed as J, defineComponent as me, ref as fe, createElementBlock as M, openBlock as I, createElementVNode as U, withDirectives as ze, createCommentVNode as G, createTextVNode as Ae, toDisplayString as X, vModelText as Ln, normalizeClass as Qs, vModelDynamic as wr, vModelCheckbox as Xs, Fragment as je, renderList as We, vModelSelect as ea, createBlock as Dt, resolveDynamicComponent as ta, createVNode as Hn, onMounted as Kn, reactive as ra, toRaw as na, markRaw as sa, watch as ir, renderSlot as aa } from "vue";
2
- import { useField as oa, useForm as ia } from "vee-validate";
3
- class la {
1
+ import { provide as Zs, inject as Ys, computed as J, defineComponent as me, ref as fe, createElementBlock as M, openBlock as I, createElementVNode as U, withDirectives as ze, createCommentVNode as G, createTextVNode as Ae, toDisplayString as X, vModelText as Ln, normalizeClass as Qs, vModelDynamic as wr, vModelCheckbox as Xs, Fragment as je, renderList as We, vModelSelect as ea, createBlock as Dt, resolveDynamicComponent as ta, createVNode as Hn, onMounted as Kn, reactive as ra, toRaw as na, markRaw as sa, watch as ir } from "vue";
2
+ import { useField as aa, useForm as oa } from "vee-validate";
3
+ class ia {
4
4
  constructor() {
5
5
  this.components = /* @__PURE__ */ new Map();
6
6
  }
@@ -57,7 +57,7 @@ class la {
57
57
  this.components.clear();
58
58
  }
59
59
  }
60
- const pe = (e, t) => t ? e : -1, Qe = (e) => e.type === "string" || e.const !== void 0 && typeof e.const == "string", da = (e) => e.type === "number" || e.type === "integer" || e.const !== void 0 && typeof e.const == "number", jf = (e) => e.type === "integer", ca = (e) => e.type === "boolean" || e.const !== void 0 && typeof e.const == "boolean", ua = (e) => e.type === "object" || e.type === void 0 && e.properties !== void 0, fa = (e) => e.type === "array", Nf = (e) => e.type === "null", ma = (e) => e.const !== void 0, ha = (e) => Array.isArray(e.enum) && e.enum.length > 0, If = (e) => (t) => t.format === e, qf = (e) => Qe(e) && e.format === "email", pa = (e) => Qe(e) && e.format === "date", Mf = (e) => Qe(e) && e.format === "time", Tf = (e) => Qe(e) && e.format === "date-time", Rf = (e) => Qe(e) && (e.format === "url" || e.format === "uri"), Bn = (e) => Array.isArray(e.oneOf) && e.oneOf.length > 0, ya = (e) => Array.isArray(e.anyOf) && e.anyOf.length > 0, va = (e) => Array.isArray(e.allOf) && e.allOf.length > 0, Af = (e) => Bn(e) && e.discriminator !== void 0, Cf = (e) => e.if !== void 0, Vf = (e) => (t) => t[e] !== void 0, Df = (...e) => (t) => e.every((r) => r(t)), Ff = (...e) => (t) => e.some((r) => r(t)), zf = (e) => (t) => !e(t);
60
+ const pe = (e, t) => t ? e : -1, Qe = (e) => e.type === "string" || e.const !== void 0 && typeof e.const == "string", la = (e) => e.type === "number" || e.type === "integer" || e.const !== void 0 && typeof e.const == "number", Ef = (e) => e.type === "integer", da = (e) => e.type === "boolean" || e.const !== void 0 && typeof e.const == "boolean", ca = (e) => e.type === "object" || e.type === void 0 && e.properties !== void 0, ua = (e) => e.type === "array", Pf = (e) => e.type === "null", fa = (e) => e.const !== void 0, ma = (e) => Array.isArray(e.enum) && e.enum.length > 0, Of = (e) => (t) => t.format === e, jf = (e) => Qe(e) && e.format === "email", ha = (e) => Qe(e) && e.format === "date", Nf = (e) => Qe(e) && e.format === "time", If = (e) => Qe(e) && e.format === "date-time", qf = (e) => Qe(e) && (e.format === "url" || e.format === "uri"), Bn = (e) => Array.isArray(e.oneOf) && e.oneOf.length > 0, pa = (e) => Array.isArray(e.anyOf) && e.anyOf.length > 0, ya = (e) => Array.isArray(e.allOf) && e.allOf.length > 0, Mf = (e) => Bn(e) && e.discriminator !== void 0, Tf = (e) => e.if !== void 0, Rf = (e) => (t) => t[e] !== void 0, Af = (...e) => (t) => e.every((r) => r(t)), Cf = (...e) => (t) => e.some((r) => r(t)), Vf = (e) => (t) => !e(t);
61
61
  function Gn(e) {
62
62
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
63
63
  }
@@ -865,18 +865,18 @@ var hr = {};
865
865
  var N = {};
866
866
  Object.defineProperty(N, "__esModule", { value: !0 });
867
867
  N.checkStrictMode = N.getErrorPath = N.Type = N.useFunc = N.setEvaluated = N.evaluatedPropsToName = N.mergeEvaluated = N.eachItem = N.unescapeJsonPointer = N.escapeJsonPointer = N.escapeFragment = N.unescapeFragment = N.schemaRefOrVal = N.schemaHasRulesButRef = N.schemaHasRules = N.checkUnknownRules = N.alwaysValidSchema = N.toHash = void 0;
868
- const Y = H, _a = mt;
869
- function ga(e) {
868
+ const Y = H, va = mt;
869
+ function _a(e) {
870
870
  const t = {};
871
871
  for (const r of e)
872
872
  t[r] = !0;
873
873
  return t;
874
874
  }
875
- N.toHash = ga;
876
- function ba(e, t) {
875
+ N.toHash = _a;
876
+ function ga(e, t) {
877
877
  return typeof t == "boolean" ? t : Object.keys(t).length === 0 ? !0 : (xn(e, t), !Wn(t, e.self.RULES.all));
878
878
  }
879
- N.alwaysValidSchema = ba;
879
+ N.alwaysValidSchema = ga;
880
880
  function xn(e, t = e.schema) {
881
881
  const { opts: r, self: n } = e;
882
882
  if (!r.strictSchema || typeof t == "boolean")
@@ -895,7 +895,7 @@ function Wn(e, t) {
895
895
  return !1;
896
896
  }
897
897
  N.schemaHasRules = Wn;
898
- function $a(e, t) {
898
+ function ba(e, t) {
899
899
  if (typeof e == "boolean")
900
900
  return !e;
901
901
  for (const r in e)
@@ -903,8 +903,8 @@ function $a(e, t) {
903
903
  return !0;
904
904
  return !1;
905
905
  }
906
- N.schemaHasRulesButRef = $a;
907
- function wa({ topSchemaRef: e, schemaPath: t }, r, n, s) {
906
+ N.schemaHasRulesButRef = ba;
907
+ function $a({ topSchemaRef: e, schemaPath: t }, r, n, s) {
908
908
  if (!s) {
909
909
  if (typeof r == "number" || typeof r == "boolean")
910
910
  return r;
@@ -913,15 +913,15 @@ function wa({ topSchemaRef: e, schemaPath: t }, r, n, s) {
913
913
  }
914
914
  return (0, Y._)`${e}${t}${(0, Y.getProperty)(n)}`;
915
915
  }
916
- N.schemaRefOrVal = wa;
917
- function Sa(e) {
916
+ N.schemaRefOrVal = $a;
917
+ function wa(e) {
918
918
  return Zn(decodeURIComponent(e));
919
919
  }
920
- N.unescapeFragment = Sa;
921
- function ka(e) {
920
+ N.unescapeFragment = wa;
921
+ function Sa(e) {
922
922
  return encodeURIComponent(Sr(e));
923
923
  }
924
- N.escapeFragment = ka;
924
+ N.escapeFragment = Sa;
925
925
  function Sr(e) {
926
926
  return typeof e == "number" ? `${e}` : e.replace(/~/g, "~0").replace(/\//g, "~1");
927
927
  }
@@ -930,14 +930,14 @@ function Zn(e) {
930
930
  return e.replace(/~1/g, "/").replace(/~0/g, "~");
931
931
  }
932
932
  N.unescapeJsonPointer = Zn;
933
- function Ea(e, t) {
933
+ function ka(e, t) {
934
934
  if (Array.isArray(e))
935
935
  for (const r of e)
936
936
  t(r);
937
937
  else
938
938
  t(e);
939
939
  }
940
- N.eachItem = Ea;
940
+ N.eachItem = ka;
941
941
  function yn({ mergeNames: e, mergeToName: t, mergeValues: r, resultToName: n }) {
942
942
  return (s, a, o, i) => {
943
943
  const d = o === void 0 ? a : o instanceof Y.Name ? (a instanceof Y.Name ? e(s, a, o) : t(s, a, o), o) : a instanceof Y.Name ? (t(s, o, a), a) : r(a, o);
@@ -974,25 +974,25 @@ function kr(e, t, r) {
974
974
  }
975
975
  N.setEvaluated = kr;
976
976
  const vn = {};
977
- function Pa(e, t) {
977
+ function Ea(e, t) {
978
978
  return e.scopeValue("func", {
979
979
  ref: t,
980
- code: vn[t.code] || (vn[t.code] = new _a._Code(t.code))
980
+ code: vn[t.code] || (vn[t.code] = new va._Code(t.code))
981
981
  });
982
982
  }
983
- N.useFunc = Pa;
983
+ N.useFunc = Ea;
984
984
  var pr;
985
985
  (function(e) {
986
986
  e[e.Num = 0] = "Num", e[e.Str = 1] = "Str";
987
987
  })(pr || (N.Type = pr = {}));
988
- function Oa(e, t, r) {
988
+ function Pa(e, t, r) {
989
989
  if (e instanceof Y.Name) {
990
990
  const n = t === pr.Num;
991
991
  return r ? n ? (0, Y._)`"[" + ${e} + "]"` : (0, Y._)`"['" + ${e} + "']"` : n ? (0, Y._)`"/" + ${e}` : (0, Y._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`;
992
992
  }
993
993
  return r ? (0, Y.getProperty)(e).toString() : "/" + Sr(e);
994
994
  }
995
- N.getErrorPath = Oa;
995
+ N.getErrorPath = Pa;
996
996
  function Qn(e, t, r = e.opts.strictSchema) {
997
997
  if (r) {
998
998
  if (t = `strict mode: ${t}`, r === !0)
@@ -1003,7 +1003,7 @@ function Qn(e, t, r = e.opts.strictSchema) {
1003
1003
  N.checkStrictMode = Qn;
1004
1004
  var ke = {};
1005
1005
  Object.defineProperty(ke, "__esModule", { value: !0 });
1006
- const ie = H, ja = {
1006
+ const ie = H, Oa = {
1007
1007
  // validation function arguments
1008
1008
  data: new ie.Name("data"),
1009
1009
  // data passed to validation function
@@ -1032,7 +1032,7 @@ const ie = H, ja = {
1032
1032
  jsonLen: new ie.Name("jsonLen"),
1033
1033
  jsonPart: new ie.Name("jsonPart")
1034
1034
  };
1035
- ke.default = ja;
1035
+ ke.default = Oa;
1036
1036
  (function(e) {
1037
1037
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
1038
1038
  const t = H, r = N, n = ke;
@@ -1108,19 +1108,19 @@ ke.default = ja;
1108
1108
  })(ht);
1109
1109
  Object.defineProperty(Ze, "__esModule", { value: !0 });
1110
1110
  Ze.boolOrEmptySchema = Ze.topBoolOrEmptySchema = void 0;
1111
- const Na = ht, Ia = H, qa = ke, Ma = {
1111
+ const ja = ht, Na = H, Ia = ke, qa = {
1112
1112
  message: "boolean schema is false"
1113
1113
  };
1114
- function Ta(e) {
1114
+ function Ma(e) {
1115
1115
  const { gen: t, schema: r, validateName: n } = e;
1116
- r === !1 ? Xn(e, !1) : typeof r == "object" && r.$async === !0 ? t.return(qa.default.data) : (t.assign((0, Ia._)`${n}.errors`, null), t.return(!0));
1116
+ r === !1 ? Xn(e, !1) : typeof r == "object" && r.$async === !0 ? t.return(Ia.default.data) : (t.assign((0, Na._)`${n}.errors`, null), t.return(!0));
1117
1117
  }
1118
- Ze.topBoolOrEmptySchema = Ta;
1119
- function Ra(e, t) {
1118
+ Ze.topBoolOrEmptySchema = Ma;
1119
+ function Ta(e, t) {
1120
1120
  const { gen: r, schema: n } = e;
1121
1121
  n === !1 ? (r.var(t, !1), Xn(e)) : r.var(t, !0);
1122
1122
  }
1123
- Ze.boolOrEmptySchema = Ra;
1123
+ Ze.boolOrEmptySchema = Ta;
1124
1124
  function Xn(e, t) {
1125
1125
  const { gen: r, data: n } = e, s = {
1126
1126
  gen: r,
@@ -1132,17 +1132,17 @@ function Xn(e, t) {
1132
1132
  params: {},
1133
1133
  it: e
1134
1134
  };
1135
- (0, Na.reportError)(s, Ma, void 0, t);
1135
+ (0, ja.reportError)(s, qa, void 0, t);
1136
1136
  }
1137
1137
  var te = {}, Ue = {};
1138
1138
  Object.defineProperty(Ue, "__esModule", { value: !0 });
1139
1139
  Ue.getRules = Ue.isJSONType = void 0;
1140
- const Aa = ["string", "number", "integer", "boolean", "null", "object", "array"], Ca = new Set(Aa);
1141
- function Va(e) {
1142
- return typeof e == "string" && Ca.has(e);
1140
+ const Ra = ["string", "number", "integer", "boolean", "null", "object", "array"], Aa = new Set(Ra);
1141
+ function Ca(e) {
1142
+ return typeof e == "string" && Aa.has(e);
1143
1143
  }
1144
- Ue.isJSONType = Va;
1145
- function Da() {
1144
+ Ue.isJSONType = Ca;
1145
+ function Va() {
1146
1146
  const e = {
1147
1147
  number: { type: "number", rules: [] },
1148
1148
  string: { type: "string", rules: [] },
@@ -1157,15 +1157,15 @@ function Da() {
1157
1157
  keywords: {}
1158
1158
  };
1159
1159
  }
1160
- Ue.getRules = Da;
1160
+ Ue.getRules = Va;
1161
1161
  var Pe = {};
1162
1162
  Object.defineProperty(Pe, "__esModule", { value: !0 });
1163
1163
  Pe.shouldUseRule = Pe.shouldUseGroup = Pe.schemaHasRulesForType = void 0;
1164
- function Fa({ schema: e, self: t }, r) {
1164
+ function Da({ schema: e, self: t }, r) {
1165
1165
  const n = t.RULES.types[r];
1166
1166
  return n && n !== !0 && es(e, n);
1167
1167
  }
1168
- Pe.schemaHasRulesForType = Fa;
1168
+ Pe.schemaHasRulesForType = Da;
1169
1169
  function es(e, t) {
1170
1170
  return t.rules.some((r) => ts(e, r));
1171
1171
  }
@@ -1177,12 +1177,12 @@ function ts(e, t) {
1177
1177
  Pe.shouldUseRule = ts;
1178
1178
  Object.defineProperty(te, "__esModule", { value: !0 });
1179
1179
  te.reportTypeError = te.checkDataTypes = te.checkDataType = te.coerceAndCheckDataType = te.getJSONTypes = te.getSchemaTypes = te.DataType = void 0;
1180
- const za = Ue, Ua = Pe, La = ht, L = H, rs = N;
1180
+ const Fa = Ue, za = Pe, Ua = ht, L = H, rs = N;
1181
1181
  var Je;
1182
1182
  (function(e) {
1183
1183
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
1184
1184
  })(Je || (te.DataType = Je = {}));
1185
- function Ha(e) {
1185
+ function La(e) {
1186
1186
  const t = ns(e.type);
1187
1187
  if (t.includes("null")) {
1188
1188
  if (e.nullable === !1)
@@ -1194,36 +1194,36 @@ function Ha(e) {
1194
1194
  }
1195
1195
  return t;
1196
1196
  }
1197
- te.getSchemaTypes = Ha;
1197
+ te.getSchemaTypes = La;
1198
1198
  function ns(e) {
1199
1199
  const t = Array.isArray(e) ? e : e ? [e] : [];
1200
- if (t.every(za.isJSONType))
1200
+ if (t.every(Fa.isJSONType))
1201
1201
  return t;
1202
1202
  throw new Error("type must be JSONType or JSONType[]: " + t.join(","));
1203
1203
  }
1204
1204
  te.getJSONTypes = ns;
1205
- function Ka(e, t) {
1206
- const { gen: r, data: n, opts: s } = e, a = Ba(t, s.coerceTypes), o = t.length > 0 && !(a.length === 0 && t.length === 1 && (0, Ua.schemaHasRulesForType)(e, t[0]));
1205
+ function Ha(e, t) {
1206
+ const { gen: r, data: n, opts: s } = e, a = Ka(t, s.coerceTypes), o = t.length > 0 && !(a.length === 0 && t.length === 1 && (0, za.schemaHasRulesForType)(e, t[0]));
1207
1207
  if (o) {
1208
1208
  const i = Er(t, n, s.strictNumbers, Je.Wrong);
1209
1209
  r.if(i, () => {
1210
- a.length ? Ga(e, t, a) : Pr(e);
1210
+ a.length ? Ba(e, t, a) : Pr(e);
1211
1211
  });
1212
1212
  }
1213
1213
  return o;
1214
1214
  }
1215
- te.coerceAndCheckDataType = Ka;
1215
+ te.coerceAndCheckDataType = Ha;
1216
1216
  const ss = /* @__PURE__ */ new Set(["string", "number", "integer", "boolean", "null"]);
1217
- function Ba(e, t) {
1217
+ function Ka(e, t) {
1218
1218
  return t ? e.filter((r) => ss.has(r) || t === "array" && r === "array") : [];
1219
1219
  }
1220
- function Ga(e, t, r) {
1220
+ function Ba(e, t, r) {
1221
1221
  const { gen: n, data: s, opts: a } = e, o = n.let("dataType", (0, L._)`typeof ${s}`), i = n.let("coerced", (0, L._)`undefined`);
1222
1222
  a.coerceTypes === "array" && n.if((0, L._)`${o} == 'object' && Array.isArray(${s}) && ${s}.length == 1`, () => n.assign(s, (0, L._)`${s}[0]`).assign(o, (0, L._)`typeof ${s}`).if(Er(t, s, a.strictNumbers), () => n.assign(i, s))), n.if((0, L._)`${i} !== undefined`);
1223
1223
  for (const c of r)
1224
1224
  (ss.has(c) || c === "array" && a.coerceTypes === "array") && d(c);
1225
1225
  n.else(), Pr(e), n.endIf(), n.if((0, L._)`${i} !== undefined`, () => {
1226
- n.assign(s, i), Ja(e, i);
1226
+ n.assign(s, i), Ga(e, i);
1227
1227
  });
1228
1228
  function d(c) {
1229
1229
  switch (c) {
@@ -1250,7 +1250,7 @@ function Ga(e, t, r) {
1250
1250
  }
1251
1251
  }
1252
1252
  }
1253
- function Ja({ gen: e, parentData: t, parentDataProperty: r }, n) {
1253
+ function Ga({ gen: e, parentData: t, parentDataProperty: r }, n) {
1254
1254
  e.if((0, L._)`${t} !== undefined`, () => e.assign((0, L._)`${t}[${r}]`, n));
1255
1255
  }
1256
1256
  function yr(e, t, r, n = Je.Correct) {
@@ -1296,16 +1296,16 @@ function Er(e, t, r, n) {
1296
1296
  return s;
1297
1297
  }
1298
1298
  te.checkDataTypes = Er;
1299
- const xa = {
1299
+ const Ja = {
1300
1300
  message: ({ schema: e }) => `must be ${e}`,
1301
1301
  params: ({ schema: e, schemaValue: t }) => typeof e == "string" ? (0, L._)`{type: ${e}}` : (0, L._)`{type: ${t}}`
1302
1302
  };
1303
1303
  function Pr(e) {
1304
- const t = Wa(e);
1305
- (0, La.reportError)(t, xa);
1304
+ const t = xa(e);
1305
+ (0, Ua.reportError)(t, Ja);
1306
1306
  }
1307
1307
  te.reportTypeError = Pr;
1308
- function Wa(e) {
1308
+ function xa(e) {
1309
1309
  const { gen: t, data: r, schema: n } = e, s = (0, rs.schemaRefOrVal)(e, n, "type");
1310
1310
  return {
1311
1311
  gen: t,
@@ -1322,22 +1322,22 @@ function Wa(e) {
1322
1322
  var Ft = {};
1323
1323
  Object.defineProperty(Ft, "__esModule", { value: !0 });
1324
1324
  Ft.assignDefaults = void 0;
1325
- const Ke = H, Za = N;
1326
- function Ya(e, t) {
1325
+ const Ke = H, Wa = N;
1326
+ function Za(e, t) {
1327
1327
  const { properties: r, items: n } = e.schema;
1328
1328
  if (t === "object" && r)
1329
1329
  for (const s in r)
1330
1330
  _n(e, s, r[s].default);
1331
1331
  else t === "array" && Array.isArray(n) && n.forEach((s, a) => _n(e, a, s.default));
1332
1332
  }
1333
- Ft.assignDefaults = Ya;
1333
+ Ft.assignDefaults = Za;
1334
1334
  function _n(e, t, r) {
1335
1335
  const { gen: n, compositeRule: s, data: a, opts: o } = e;
1336
1336
  if (r === void 0)
1337
1337
  return;
1338
1338
  const i = (0, Ke._)`${a}${(0, Ke.getProperty)(t)}`;
1339
1339
  if (s) {
1340
- (0, Za.checkStrictMode)(e, `default is ignored for: ${i}`);
1340
+ (0, Wa.checkStrictMode)(e, `default is ignored for: ${i}`);
1341
1341
  return;
1342
1342
  }
1343
1343
  let d = (0, Ke._)`${i} === undefined`;
@@ -1346,22 +1346,22 @@ function _n(e, t, r) {
1346
1346
  var we = {}, B = {};
1347
1347
  Object.defineProperty(B, "__esModule", { value: !0 });
1348
1348
  B.validateUnion = B.validateArray = B.usePattern = B.callValidateCode = B.schemaProperties = B.allSchemaProperties = B.noPropertyInData = B.propertyInData = B.isOwnProperty = B.hasPropFunc = B.reportMissingProp = B.checkMissingProp = B.checkReportMissingProp = void 0;
1349
- const Q = H, Or = N, qe = ke, Qa = N;
1350
- function Xa(e, t) {
1349
+ const Q = H, Or = N, qe = ke, Ya = N;
1350
+ function Qa(e, t) {
1351
1351
  const { gen: r, data: n, it: s } = e;
1352
1352
  r.if(Nr(r, n, t, s.opts.ownProperties), () => {
1353
1353
  e.setParams({ missingProperty: (0, Q._)`${t}` }, !0), e.error();
1354
1354
  });
1355
1355
  }
1356
- B.checkReportMissingProp = Xa;
1357
- function eo({ gen: e, data: t, it: { opts: r } }, n, s) {
1356
+ B.checkReportMissingProp = Qa;
1357
+ function Xa({ gen: e, data: t, it: { opts: r } }, n, s) {
1358
1358
  return (0, Q.or)(...n.map((a) => (0, Q.and)(Nr(e, t, a, r.ownProperties), (0, Q._)`${s} = ${a}`)));
1359
1359
  }
1360
- B.checkMissingProp = eo;
1361
- function to(e, t) {
1360
+ B.checkMissingProp = Xa;
1361
+ function eo(e, t) {
1362
1362
  e.setParams({ missingProperty: t }, !0), e.error();
1363
1363
  }
1364
- B.reportMissingProp = to;
1364
+ B.reportMissingProp = eo;
1365
1365
  function as(e) {
1366
1366
  return e.scopeValue("func", {
1367
1367
  // eslint-disable-next-line @typescript-eslint/unbound-method
@@ -1374,11 +1374,11 @@ function jr(e, t, r) {
1374
1374
  return (0, Q._)`${as(e)}.call(${t}, ${r})`;
1375
1375
  }
1376
1376
  B.isOwnProperty = jr;
1377
- function ro(e, t, r, n) {
1377
+ function to(e, t, r, n) {
1378
1378
  const s = (0, Q._)`${t}${(0, Q.getProperty)(r)} !== undefined`;
1379
1379
  return n ? (0, Q._)`${s} && ${jr(e, t, r)}` : s;
1380
1380
  }
1381
- B.propertyInData = ro;
1381
+ B.propertyInData = to;
1382
1382
  function Nr(e, t, r, n) {
1383
1383
  const s = (0, Q._)`${t}${(0, Q.getProperty)(r)} === undefined`;
1384
1384
  return n ? (0, Q.or)(s, (0, Q.not)(jr(e, t, r))) : s;
@@ -1388,11 +1388,11 @@ function os(e) {
1388
1388
  return e ? Object.keys(e).filter((t) => t !== "__proto__") : [];
1389
1389
  }
1390
1390
  B.allSchemaProperties = os;
1391
- function no(e, t) {
1391
+ function ro(e, t) {
1392
1392
  return os(t).filter((r) => !(0, Or.alwaysValidSchema)(e, t[r]));
1393
1393
  }
1394
- B.schemaProperties = no;
1395
- function so({ schemaCode: e, data: t, it: { gen: r, topSchemaRef: n, schemaPath: s, errorPath: a }, it: o }, i, d, c) {
1394
+ B.schemaProperties = ro;
1395
+ function no({ schemaCode: e, data: t, it: { gen: r, topSchemaRef: n, schemaPath: s, errorPath: a }, it: o }, i, d, c) {
1396
1396
  const u = c ? (0, Q._)`${e}, ${t}, ${n}${s}` : t, h = [
1397
1397
  [qe.default.instancePath, (0, Q.strConcat)(qe.default.instancePath, a)],
1398
1398
  [qe.default.parentData, o.parentData],
@@ -1403,18 +1403,18 @@ function so({ schemaCode: e, data: t, it: { gen: r, topSchemaRef: n, schemaPath:
1403
1403
  const w = (0, Q._)`${u}, ${r.object(...h)}`;
1404
1404
  return d !== Q.nil ? (0, Q._)`${i}.call(${d}, ${w})` : (0, Q._)`${i}(${w})`;
1405
1405
  }
1406
- B.callValidateCode = so;
1407
- const ao = (0, Q._)`new RegExp`;
1408
- function oo({ gen: e, it: { opts: t } }, r) {
1406
+ B.callValidateCode = no;
1407
+ const so = (0, Q._)`new RegExp`;
1408
+ function ao({ gen: e, it: { opts: t } }, r) {
1409
1409
  const n = t.unicodeRegExp ? "u" : "", { regExp: s } = t.code, a = s(r, n);
1410
1410
  return e.scopeValue("pattern", {
1411
1411
  key: a.toString(),
1412
1412
  ref: a,
1413
- code: (0, Q._)`${s.code === "new RegExp" ? ao : (0, Qa.useFunc)(e, s)}(${r}, ${n})`
1413
+ code: (0, Q._)`${s.code === "new RegExp" ? so : (0, Ya.useFunc)(e, s)}(${r}, ${n})`
1414
1414
  });
1415
1415
  }
1416
- B.usePattern = oo;
1417
- function io(e) {
1416
+ B.usePattern = ao;
1417
+ function oo(e) {
1418
1418
  const { gen: t, data: r, keyword: n, it: s } = e, a = t.name("valid");
1419
1419
  if (s.allErrors) {
1420
1420
  const i = t.let("valid", !0);
@@ -1432,8 +1432,8 @@ function io(e) {
1432
1432
  });
1433
1433
  }
1434
1434
  }
1435
- B.validateArray = io;
1436
- function lo(e) {
1435
+ B.validateArray = oo;
1436
+ function io(e) {
1437
1437
  const { gen: t, schema: r, keyword: n, it: s } = e;
1438
1438
  if (!Array.isArray(r))
1439
1439
  throw new Error("ajv implementation error");
@@ -1449,11 +1449,11 @@ function lo(e) {
1449
1449
  t.assign(o, (0, Q._)`${o} || ${i}`), e.mergeValidEvaluated(u, i) || t.if((0, Q.not)(o));
1450
1450
  })), e.result(o, () => e.reset(), () => e.error(!0));
1451
1451
  }
1452
- B.validateUnion = lo;
1452
+ B.validateUnion = io;
1453
1453
  Object.defineProperty(we, "__esModule", { value: !0 });
1454
1454
  we.validateKeywordUsage = we.validSchemaType = we.funcKeywordCode = we.macroKeywordCode = void 0;
1455
- const le = H, Ve = ke, co = B, uo = ht;
1456
- function fo(e, t) {
1455
+ const le = H, Ve = ke, lo = B, co = ht;
1456
+ function uo(e, t) {
1457
1457
  const { gen: r, keyword: n, schema: s, parentSchema: a, it: o } = e, i = t.macro.call(o.self, s, a, o), d = is(r, n, i);
1458
1458
  o.opts.validateSchema !== !1 && o.self.validateSchema(i, !0);
1459
1459
  const c = r.name("valid");
@@ -1465,11 +1465,11 @@ function fo(e, t) {
1465
1465
  compositeRule: !0
1466
1466
  }, c), e.pass(c, () => e.error(!0));
1467
1467
  }
1468
- we.macroKeywordCode = fo;
1469
- function mo(e, t) {
1468
+ we.macroKeywordCode = uo;
1469
+ function fo(e, t) {
1470
1470
  var r;
1471
1471
  const { gen: n, keyword: s, schema: a, parentSchema: o, $data: i, it: d } = e;
1472
- po(d, t);
1472
+ ho(d, t);
1473
1473
  const c = !i && t.compile ? t.compile.call(d.self, a, o, d) : t.validate, u = is(n, s, c), h = n.let("valid");
1474
1474
  e.block$data(h, w), e.ok((r = t.valid) !== null && r !== void 0 ? r : h);
1475
1475
  function w() {
@@ -1477,7 +1477,7 @@ function mo(e, t) {
1477
1477
  g(), t.modifying && gn(e), p(() => e.error());
1478
1478
  else {
1479
1479
  const m = t.async ? b() : _();
1480
- t.modifying && gn(e), p(() => ho(e, m));
1480
+ t.modifying && gn(e), p(() => mo(e, m));
1481
1481
  }
1482
1482
  }
1483
1483
  function b() {
@@ -1490,25 +1490,25 @@ function mo(e, t) {
1490
1490
  }
1491
1491
  function g(m = t.async ? (0, le._)`await ` : le.nil) {
1492
1492
  const y = d.opts.passContext ? Ve.default.this : Ve.default.self, S = !("compile" in t && !i || t.schema === !1);
1493
- n.assign(h, (0, le._)`${m}${(0, co.callValidateCode)(e, u, y, S)}`, t.modifying);
1493
+ n.assign(h, (0, le._)`${m}${(0, lo.callValidateCode)(e, u, y, S)}`, t.modifying);
1494
1494
  }
1495
1495
  function p(m) {
1496
1496
  var y;
1497
1497
  n.if((0, le.not)((y = t.valid) !== null && y !== void 0 ? y : h), m);
1498
1498
  }
1499
1499
  }
1500
- we.funcKeywordCode = mo;
1500
+ we.funcKeywordCode = fo;
1501
1501
  function gn(e) {
1502
1502
  const { gen: t, data: r, it: n } = e;
1503
1503
  t.if(n.parentData, () => t.assign(r, (0, le._)`${n.parentData}[${n.parentDataProperty}]`));
1504
1504
  }
1505
- function ho(e, t) {
1505
+ function mo(e, t) {
1506
1506
  const { gen: r } = e;
1507
1507
  r.if((0, le._)`Array.isArray(${t})`, () => {
1508
- r.assign(Ve.default.vErrors, (0, le._)`${Ve.default.vErrors} === null ? ${t} : ${Ve.default.vErrors}.concat(${t})`).assign(Ve.default.errors, (0, le._)`${Ve.default.vErrors}.length`), (0, uo.extendErrors)(e);
1508
+ r.assign(Ve.default.vErrors, (0, le._)`${Ve.default.vErrors} === null ? ${t} : ${Ve.default.vErrors}.concat(${t})`).assign(Ve.default.errors, (0, le._)`${Ve.default.vErrors}.length`), (0, co.extendErrors)(e);
1509
1509
  }, () => e.error());
1510
1510
  }
1511
- function po({ schemaEnv: e }, t) {
1511
+ function ho({ schemaEnv: e }, t) {
1512
1512
  if (t.async && !e.$async)
1513
1513
  throw new Error("async keyword in sync schema");
1514
1514
  }
@@ -1517,11 +1517,11 @@ function is(e, t, r) {
1517
1517
  throw new Error(`keyword "${t}" failed to compile`);
1518
1518
  return e.scopeValue("keyword", typeof r == "function" ? { ref: r } : { ref: r, code: (0, le.stringify)(r) });
1519
1519
  }
1520
- function yo(e, t, r = !1) {
1520
+ function po(e, t, r = !1) {
1521
1521
  return !t.length || t.some((n) => n === "array" ? Array.isArray(e) : n === "object" ? e && typeof e == "object" && !Array.isArray(e) : typeof e == n || r && typeof e > "u");
1522
1522
  }
1523
- we.validSchemaType = yo;
1524
- function vo({ schema: e, opts: t, self: r, errSchemaPath: n }, s, a) {
1523
+ we.validSchemaType = po;
1524
+ function yo({ schema: e, opts: t, self: r, errSchemaPath: n }, s, a) {
1525
1525
  if (Array.isArray(s.keyword) ? !s.keyword.includes(a) : s.keyword !== a)
1526
1526
  throw new Error("ajv implementation error");
1527
1527
  const o = s.dependencies;
@@ -1535,12 +1535,12 @@ function vo({ schema: e, opts: t, self: r, errSchemaPath: n }, s, a) {
1535
1535
  throw new Error(d);
1536
1536
  }
1537
1537
  }
1538
- we.validateKeywordUsage = vo;
1538
+ we.validateKeywordUsage = yo;
1539
1539
  var Re = {};
1540
1540
  Object.defineProperty(Re, "__esModule", { value: !0 });
1541
1541
  Re.extendSubschemaMode = Re.extendSubschemaData = Re.getSubschema = void 0;
1542
1542
  const $e = H, ls = N;
1543
- function _o(e, { keyword: t, schemaProp: r, schema: n, schemaPath: s, errSchemaPath: a, topSchemaRef: o }) {
1543
+ function vo(e, { keyword: t, schemaProp: r, schema: n, schemaPath: s, errSchemaPath: a, topSchemaRef: o }) {
1544
1544
  if (t !== void 0 && n !== void 0)
1545
1545
  throw new Error('both "keyword" and "schema" passed, only one allowed');
1546
1546
  if (t !== void 0) {
@@ -1567,8 +1567,8 @@ function _o(e, { keyword: t, schemaProp: r, schema: n, schemaPath: s, errSchemaP
1567
1567
  }
1568
1568
  throw new Error('either "keyword" or "schema" must be passed');
1569
1569
  }
1570
- Re.getSubschema = _o;
1571
- function go(e, t, { dataProp: r, dataPropType: n, data: s, dataTypes: a, propertyName: o }) {
1570
+ Re.getSubschema = vo;
1571
+ function _o(e, t, { dataProp: r, dataPropType: n, data: s, dataTypes: a, propertyName: o }) {
1572
1572
  if (s !== void 0 && r !== void 0)
1573
1573
  throw new Error('both "data" and "dataProp" passed, only one allowed');
1574
1574
  const { gen: i } = t;
@@ -1585,11 +1585,11 @@ function go(e, t, { dataProp: r, dataPropType: n, data: s, dataTypes: a, propert
1585
1585
  e.data = c, e.dataLevel = t.dataLevel + 1, e.dataTypes = [], t.definedProperties = /* @__PURE__ */ new Set(), e.parentData = t.data, e.dataNames = [...t.dataNames, c];
1586
1586
  }
1587
1587
  }
1588
- Re.extendSubschemaData = go;
1589
- function bo(e, { jtdDiscriminator: t, jtdMetadata: r, compositeRule: n, createErrors: s, allErrors: a }) {
1588
+ Re.extendSubschemaData = _o;
1589
+ function go(e, { jtdDiscriminator: t, jtdMetadata: r, compositeRule: n, createErrors: s, allErrors: a }) {
1590
1590
  n !== void 0 && (e.compositeRule = n), s !== void 0 && (e.createErrors = s), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = r;
1591
1591
  }
1592
- Re.extendSubschemaMode = bo;
1592
+ Re.extendSubschemaMode = go;
1593
1593
  var ae = {}, ds = function e(t, r) {
1594
1594
  if (t === r) return !0;
1595
1595
  if (t && r && typeof t == "object" && typeof r == "object") {
@@ -1677,19 +1677,19 @@ function Ot(e, t, r, n, s, a, o, i, d, c) {
1677
1677
  } else if (u in Te.propsKeywords) {
1678
1678
  if (h && typeof h == "object")
1679
1679
  for (var b in h)
1680
- Ot(e, t, r, h[b], s + "/" + u + "/" + $o(b), a, s, u, n, b);
1680
+ Ot(e, t, r, h[b], s + "/" + u + "/" + bo(b), a, s, u, n, b);
1681
1681
  } else (u in Te.keywords || e.allKeys && !(u in Te.skipKeywords)) && Ot(e, t, r, h, s + "/" + u, a, s, u, n);
1682
1682
  }
1683
1683
  r(n, s, a, o, i, d, c);
1684
1684
  }
1685
1685
  }
1686
- function $o(e) {
1686
+ function bo(e) {
1687
1687
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
1688
1688
  }
1689
- var wo = cs.exports;
1689
+ var $o = cs.exports;
1690
1690
  Object.defineProperty(ae, "__esModule", { value: !0 });
1691
1691
  ae.getSchemaRefs = ae.resolveUrl = ae.normalizeId = ae._getFullPath = ae.getFullPath = ae.inlineRef = void 0;
1692
- const So = N, ko = ds, Eo = wo, Po = /* @__PURE__ */ new Set([
1692
+ const wo = N, So = ds, ko = $o, Eo = /* @__PURE__ */ new Set([
1693
1693
  "type",
1694
1694
  "format",
1695
1695
  "pattern",
@@ -1707,11 +1707,11 @@ const So = N, ko = ds, Eo = wo, Po = /* @__PURE__ */ new Set([
1707
1707
  "enum",
1708
1708
  "const"
1709
1709
  ]);
1710
- function Oo(e, t = !0) {
1710
+ function Po(e, t = !0) {
1711
1711
  return typeof e == "boolean" ? !0 : t === !0 ? !vr(e) : t ? us(e) <= t : !1;
1712
1712
  }
1713
- ae.inlineRef = Oo;
1714
- const jo = /* @__PURE__ */ new Set([
1713
+ ae.inlineRef = Po;
1714
+ const Oo = /* @__PURE__ */ new Set([
1715
1715
  "$ref",
1716
1716
  "$recursiveRef",
1717
1717
  "$recursiveAnchor",
@@ -1720,7 +1720,7 @@ const jo = /* @__PURE__ */ new Set([
1720
1720
  ]);
1721
1721
  function vr(e) {
1722
1722
  for (const t in e) {
1723
- if (jo.has(t))
1723
+ if (Oo.has(t))
1724
1724
  return !0;
1725
1725
  const r = e[t];
1726
1726
  if (Array.isArray(r) && r.some(vr) || typeof r == "object" && vr(r))
@@ -1733,7 +1733,7 @@ function us(e) {
1733
1733
  for (const r in e) {
1734
1734
  if (r === "$ref")
1735
1735
  return 1 / 0;
1736
- if (t++, !Po.has(r) && (typeof e[r] == "object" && (0, So.eachItem)(e[r], (n) => t += us(n)), t === 1 / 0))
1736
+ if (t++, !Eo.has(r) && (typeof e[r] == "object" && (0, wo.eachItem)(e[r], (n) => t += us(n)), t === 1 / 0))
1737
1737
  return 1 / 0;
1738
1738
  }
1739
1739
  return t;
@@ -1748,21 +1748,21 @@ function ms(e, t) {
1748
1748
  return e.serialize(t).split("#")[0] + "#";
1749
1749
  }
1750
1750
  ae._getFullPath = ms;
1751
- const No = /#\/?$/;
1751
+ const jo = /#\/?$/;
1752
1752
  function xe(e) {
1753
- return e ? e.replace(No, "") : "";
1753
+ return e ? e.replace(jo, "") : "";
1754
1754
  }
1755
1755
  ae.normalizeId = xe;
1756
- function Io(e, t, r) {
1756
+ function No(e, t, r) {
1757
1757
  return r = xe(r), e.resolve(t, r);
1758
1758
  }
1759
- ae.resolveUrl = Io;
1760
- const qo = /^[a-z_][-a-z0-9._]*$/i;
1761
- function Mo(e, t) {
1759
+ ae.resolveUrl = No;
1760
+ const Io = /^[a-z_][-a-z0-9._]*$/i;
1761
+ function qo(e, t) {
1762
1762
  if (typeof e == "boolean")
1763
1763
  return {};
1764
1764
  const { schemaId: r, uriResolver: n } = this.opts, s = xe(e[r] || t), a = { "": s }, o = fs(n, s, !1), i = {}, d = /* @__PURE__ */ new Set();
1765
- return Eo(e, { allKeys: !0 }, (h, w, b, _) => {
1765
+ return ko(e, { allKeys: !0 }, (h, w, b, _) => {
1766
1766
  if (_ === void 0)
1767
1767
  return;
1768
1768
  const g = o + w;
@@ -1778,54 +1778,54 @@ function Mo(e, t) {
1778
1778
  }
1779
1779
  function y(S) {
1780
1780
  if (typeof S == "string") {
1781
- if (!qo.test(S))
1781
+ if (!Io.test(S))
1782
1782
  throw new Error(`invalid anchor "${S}"`);
1783
1783
  m.call(this, `#${S}`);
1784
1784
  }
1785
1785
  }
1786
1786
  }), i;
1787
1787
  function c(h, w, b) {
1788
- if (w !== void 0 && !ko(h, w))
1788
+ if (w !== void 0 && !So(h, w))
1789
1789
  throw u(b);
1790
1790
  }
1791
1791
  function u(h) {
1792
1792
  return new Error(`reference "${h}" resolves to more than one schema`);
1793
1793
  }
1794
1794
  }
1795
- ae.getSchemaRefs = Mo;
1795
+ ae.getSchemaRefs = qo;
1796
1796
  Object.defineProperty(ge, "__esModule", { value: !0 });
1797
1797
  ge.getData = ge.KeywordCxt = ge.validateFunctionCode = void 0;
1798
- const hs = Ze, bn = te, Ir = Pe, Mt = te, To = Ft, lt = we, lr = Re, R = H, F = ke, Ro = ae, Oe = N, st = ht;
1799
- function Ao(e) {
1798
+ const hs = Ze, bn = te, Ir = Pe, Mt = te, Mo = Ft, lt = we, lr = Re, R = H, F = ke, To = ae, Oe = N, st = ht;
1799
+ function Ro(e) {
1800
1800
  if (vs(e) && (_s(e), ys(e))) {
1801
- Do(e);
1801
+ Vo(e);
1802
1802
  return;
1803
1803
  }
1804
1804
  ps(e, () => (0, hs.topBoolOrEmptySchema)(e));
1805
1805
  }
1806
- ge.validateFunctionCode = Ao;
1806
+ ge.validateFunctionCode = Ro;
1807
1807
  function ps({ gen: e, validateName: t, schema: r, schemaEnv: n, opts: s }, a) {
1808
1808
  s.code.es5 ? e.func(t, (0, R._)`${F.default.data}, ${F.default.valCxt}`, n.$async, () => {
1809
- e.code((0, R._)`"use strict"; ${$n(r, s)}`), Vo(e, s), e.code(a);
1810
- }) : e.func(t, (0, R._)`${F.default.data}, ${Co(s)}`, n.$async, () => e.code($n(r, s)).code(a));
1809
+ e.code((0, R._)`"use strict"; ${$n(r, s)}`), Co(e, s), e.code(a);
1810
+ }) : e.func(t, (0, R._)`${F.default.data}, ${Ao(s)}`, n.$async, () => e.code($n(r, s)).code(a));
1811
1811
  }
1812
- function Co(e) {
1812
+ function Ao(e) {
1813
1813
  return (0, R._)`{${F.default.instancePath}="", ${F.default.parentData}, ${F.default.parentDataProperty}, ${F.default.rootData}=${F.default.data}${e.dynamicRef ? (0, R._)`, ${F.default.dynamicAnchors}={}` : R.nil}}={}`;
1814
1814
  }
1815
- function Vo(e, t) {
1815
+ function Co(e, t) {
1816
1816
  e.if(F.default.valCxt, () => {
1817
1817
  e.var(F.default.instancePath, (0, R._)`${F.default.valCxt}.${F.default.instancePath}`), e.var(F.default.parentData, (0, R._)`${F.default.valCxt}.${F.default.parentData}`), e.var(F.default.parentDataProperty, (0, R._)`${F.default.valCxt}.${F.default.parentDataProperty}`), e.var(F.default.rootData, (0, R._)`${F.default.valCxt}.${F.default.rootData}`), t.dynamicRef && e.var(F.default.dynamicAnchors, (0, R._)`${F.default.valCxt}.${F.default.dynamicAnchors}`);
1818
1818
  }, () => {
1819
1819
  e.var(F.default.instancePath, (0, R._)`""`), e.var(F.default.parentData, (0, R._)`undefined`), e.var(F.default.parentDataProperty, (0, R._)`undefined`), e.var(F.default.rootData, F.default.data), t.dynamicRef && e.var(F.default.dynamicAnchors, (0, R._)`{}`);
1820
1820
  });
1821
1821
  }
1822
- function Do(e) {
1822
+ function Vo(e) {
1823
1823
  const { schema: t, opts: r, gen: n } = e;
1824
1824
  ps(e, () => {
1825
- r.$comment && t.$comment && bs(e), Ho(e), n.let(F.default.vErrors, null), n.let(F.default.errors, 0), r.unevaluated && Fo(e), gs(e), Go(e);
1825
+ r.$comment && t.$comment && bs(e), Lo(e), n.let(F.default.vErrors, null), n.let(F.default.errors, 0), r.unevaluated && Do(e), gs(e), Bo(e);
1826
1826
  });
1827
1827
  }
1828
- function Fo(e) {
1828
+ function Do(e) {
1829
1829
  const { gen: t, validateName: r } = e;
1830
1830
  e.evaluated = t.const("evaluated", (0, R._)`${r}.evaluated`), t.if((0, R._)`${e.evaluated}.dynamicProps`, () => t.assign((0, R._)`${e.evaluated}.props`, (0, R._)`undefined`)), t.if((0, R._)`${e.evaluated}.dynamicItems`, () => t.assign((0, R._)`${e.evaluated}.items`, (0, R._)`undefined`));
1831
1831
  }
@@ -1833,9 +1833,9 @@ function $n(e, t) {
1833
1833
  const r = typeof e == "object" && e[t.schemaId];
1834
1834
  return r && (t.code.source || t.code.process) ? (0, R._)`/*# sourceURL=${r} */` : R.nil;
1835
1835
  }
1836
- function zo(e, t) {
1836
+ function Fo(e, t) {
1837
1837
  if (vs(e) && (_s(e), ys(e))) {
1838
- Uo(e, t);
1838
+ zo(e, t);
1839
1839
  return;
1840
1840
  }
1841
1841
  (0, hs.boolOrEmptySchema)(e, t);
@@ -1851,14 +1851,14 @@ function ys({ schema: e, self: t }) {
1851
1851
  function vs(e) {
1852
1852
  return typeof e.schema != "boolean";
1853
1853
  }
1854
- function Uo(e, t) {
1854
+ function zo(e, t) {
1855
1855
  const { schema: r, gen: n, opts: s } = e;
1856
- s.$comment && r.$comment && bs(e), Ko(e), Bo(e);
1856
+ s.$comment && r.$comment && bs(e), Ho(e), Ko(e);
1857
1857
  const a = n.const("_errs", F.default.errors);
1858
1858
  gs(e, a), n.var(t, (0, R._)`${a} === ${F.default.errors}`);
1859
1859
  }
1860
1860
  function _s(e) {
1861
- (0, Oe.checkUnknownRules)(e), Lo(e);
1861
+ (0, Oe.checkUnknownRules)(e), Uo(e);
1862
1862
  }
1863
1863
  function gs(e, t) {
1864
1864
  if (e.opts.jtd)
@@ -1866,19 +1866,19 @@ function gs(e, t) {
1866
1866
  const r = (0, bn.getSchemaTypes)(e.schema), n = (0, bn.coerceAndCheckDataType)(e, r);
1867
1867
  wn(e, r, !n, t);
1868
1868
  }
1869
- function Lo(e) {
1869
+ function Uo(e) {
1870
1870
  const { schema: t, errSchemaPath: r, opts: n, self: s } = e;
1871
1871
  t.$ref && n.ignoreKeywordsWithRef && (0, Oe.schemaHasRulesButRef)(t, s.RULES) && s.logger.warn(`$ref: keywords ignored in schema at path "${r}"`);
1872
1872
  }
1873
- function Ho(e) {
1873
+ function Lo(e) {
1874
1874
  const { schema: t, opts: r } = e;
1875
1875
  t.default !== void 0 && r.useDefaults && r.strictSchema && (0, Oe.checkStrictMode)(e, "default is ignored in the schema root");
1876
1876
  }
1877
- function Ko(e) {
1877
+ function Ho(e) {
1878
1878
  const t = e.schema[e.opts.schemaId];
1879
- t && (e.baseId = (0, Ro.resolveUrl)(e.opts.uriResolver, e.baseId, t));
1879
+ t && (e.baseId = (0, To.resolveUrl)(e.opts.uriResolver, e.baseId, t));
1880
1880
  }
1881
- function Bo(e) {
1881
+ function Ko(e) {
1882
1882
  if (e.schema.$async && !e.schemaEnv.$async)
1883
1883
  throw new Error("async schema in sync schema");
1884
1884
  }
@@ -1891,11 +1891,11 @@ function bs({ gen: e, schemaEnv: t, schema: r, errSchemaPath: n, opts: s }) {
1891
1891
  e.code((0, R._)`${F.default.self}.opts.$comment(${a}, ${o}, ${i}.schema)`);
1892
1892
  }
1893
1893
  }
1894
- function Go(e) {
1894
+ function Bo(e) {
1895
1895
  const { gen: t, schemaEnv: r, validateName: n, ValidationError: s, opts: a } = e;
1896
- r.$async ? t.if((0, R._)`${F.default.errors} === 0`, () => t.return(F.default.data), () => t.throw((0, R._)`new ${s}(${F.default.vErrors})`)) : (t.assign((0, R._)`${n}.errors`, F.default.vErrors), a.unevaluated && Jo(e), t.return((0, R._)`${F.default.errors} === 0`));
1896
+ r.$async ? t.if((0, R._)`${F.default.errors} === 0`, () => t.return(F.default.data), () => t.throw((0, R._)`new ${s}(${F.default.vErrors})`)) : (t.assign((0, R._)`${n}.errors`, F.default.vErrors), a.unevaluated && Go(e), t.return((0, R._)`${F.default.errors} === 0`));
1897
1897
  }
1898
- function Jo({ gen: e, evaluated: t, props: r, items: n }) {
1898
+ function Go({ gen: e, evaluated: t, props: r, items: n }) {
1899
1899
  r instanceof R.Name && e.assign((0, R._)`${t}.props`, r), n instanceof R.Name && e.assign((0, R._)`${t}.items`, n);
1900
1900
  }
1901
1901
  function wn(e, t, r, n) {
@@ -1904,7 +1904,7 @@ function wn(e, t, r, n) {
1904
1904
  s.block(() => Ss(e, "$ref", u.all.$ref.definition));
1905
1905
  return;
1906
1906
  }
1907
- d.jtd || xo(e, t), s.block(() => {
1907
+ d.jtd || Jo(e, t), s.block(() => {
1908
1908
  for (const w of u.rules)
1909
1909
  h(w);
1910
1910
  h(u.post);
@@ -1915,15 +1915,15 @@ function wn(e, t, r, n) {
1915
1915
  }
1916
1916
  function Sn(e, t) {
1917
1917
  const { gen: r, schema: n, opts: { useDefaults: s } } = e;
1918
- s && (0, To.assignDefaults)(e, t.type), r.block(() => {
1918
+ s && (0, Mo.assignDefaults)(e, t.type), r.block(() => {
1919
1919
  for (const a of t.rules)
1920
1920
  (0, Ir.shouldUseRule)(n, a) && Ss(e, a.keyword, a.definition, t.type);
1921
1921
  });
1922
1922
  }
1923
- function xo(e, t) {
1924
- e.schemaEnv.meta || !e.opts.strictTypes || (Wo(e, t), e.opts.allowUnionTypes || Zo(e, t), Yo(e, e.dataTypes));
1923
+ function Jo(e, t) {
1924
+ e.schemaEnv.meta || !e.opts.strictTypes || (xo(e, t), e.opts.allowUnionTypes || Wo(e, t), Zo(e, e.dataTypes));
1925
1925
  }
1926
- function Wo(e, t) {
1926
+ function xo(e, t) {
1927
1927
  if (t.length) {
1928
1928
  if (!e.dataTypes.length) {
1929
1929
  e.dataTypes = t;
@@ -1931,29 +1931,29 @@ function Wo(e, t) {
1931
1931
  }
1932
1932
  t.forEach((r) => {
1933
1933
  $s(e.dataTypes, r) || qr(e, `type "${r}" not allowed by context "${e.dataTypes.join(",")}"`);
1934
- }), Xo(e, t);
1934
+ }), Qo(e, t);
1935
1935
  }
1936
1936
  }
1937
- function Zo(e, t) {
1937
+ function Wo(e, t) {
1938
1938
  t.length > 1 && !(t.length === 2 && t.includes("null")) && qr(e, "use allowUnionTypes to allow union type keyword");
1939
1939
  }
1940
- function Yo(e, t) {
1940
+ function Zo(e, t) {
1941
1941
  const r = e.self.RULES.all;
1942
1942
  for (const n in r) {
1943
1943
  const s = r[n];
1944
1944
  if (typeof s == "object" && (0, Ir.shouldUseRule)(e.schema, s)) {
1945
1945
  const { type: a } = s.definition;
1946
- a.length && !a.some((o) => Qo(t, o)) && qr(e, `missing type "${a.join(",")}" for keyword "${n}"`);
1946
+ a.length && !a.some((o) => Yo(t, o)) && qr(e, `missing type "${a.join(",")}" for keyword "${n}"`);
1947
1947
  }
1948
1948
  }
1949
1949
  }
1950
- function Qo(e, t) {
1950
+ function Yo(e, t) {
1951
1951
  return e.includes(t) || t === "number" && e.includes("integer");
1952
1952
  }
1953
1953
  function $s(e, t) {
1954
1954
  return e.includes(t) || t === "integer" && e.includes("number");
1955
1955
  }
1956
- function Xo(e, t) {
1956
+ function Qo(e, t) {
1957
1957
  const r = [];
1958
1958
  for (const n of e.dataTypes)
1959
1959
  $s(t, n) ? r.push(n) : t.includes("integer") && n === "number" && r.push("integer");
@@ -2052,7 +2052,7 @@ class ws {
2052
2052
  const n = (0, lr.getSubschema)(this.it, t);
2053
2053
  (0, lr.extendSubschemaData)(n, this.it, t), (0, lr.extendSubschemaMode)(n, t);
2054
2054
  const s = { ...this.it, ...n, items: void 0, props: void 0 };
2055
- return zo(s, r), s;
2055
+ return Fo(s, r), s;
2056
2056
  }
2057
2057
  mergeEvaluated(t, r) {
2058
2058
  const { it: n, gen: s } = this;
@@ -2069,17 +2069,17 @@ function Ss(e, t, r, n) {
2069
2069
  const s = new ws(e, r, t);
2070
2070
  "code" in r ? r.code(s, n) : s.$data && r.validate ? (0, lt.funcKeywordCode)(s, r) : "macro" in r ? (0, lt.macroKeywordCode)(s, r) : (r.compile || r.validate) && (0, lt.funcKeywordCode)(s, r);
2071
2071
  }
2072
- const ei = /^\/(?:[^~]|~0|~1)*$/, ti = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
2072
+ const Xo = /^\/(?:[^~]|~0|~1)*$/, ei = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
2073
2073
  function ks(e, { dataLevel: t, dataNames: r, dataPathArr: n }) {
2074
2074
  let s, a;
2075
2075
  if (e === "")
2076
2076
  return F.default.rootData;
2077
2077
  if (e[0] === "/") {
2078
- if (!ei.test(e))
2078
+ if (!Xo.test(e))
2079
2079
  throw new Error(`Invalid JSON-pointer: ${e}`);
2080
2080
  s = e, a = F.default.rootData;
2081
2081
  } else {
2082
- const c = ti.exec(e);
2082
+ const c = ei.exec(e);
2083
2083
  if (!c)
2084
2084
  throw new Error(`Invalid JSON-pointer: ${e}`);
2085
2085
  const u = +c[1];
@@ -2105,25 +2105,25 @@ function ks(e, { dataLevel: t, dataNames: r, dataPathArr: n }) {
2105
2105
  ge.getData = ks;
2106
2106
  var pt = {};
2107
2107
  Object.defineProperty(pt, "__esModule", { value: !0 });
2108
- class ri extends Error {
2108
+ class ti extends Error {
2109
2109
  constructor(t) {
2110
2110
  super("validation failed"), this.errors = t, this.ajv = this.validation = !0;
2111
2111
  }
2112
2112
  }
2113
- pt.default = ri;
2113
+ pt.default = ti;
2114
2114
  var Xe = {};
2115
2115
  Object.defineProperty(Xe, "__esModule", { value: !0 });
2116
2116
  const dr = ae;
2117
- class ni extends Error {
2117
+ class ri extends Error {
2118
2118
  constructor(t, r, n, s) {
2119
2119
  super(s || `can't resolve reference ${n} from id ${r}`), this.missingRef = (0, dr.resolveUrl)(t, r, n), this.missingSchema = (0, dr.normalizeId)((0, dr.getFullPath)(t, this.missingRef));
2120
2120
  }
2121
2121
  }
2122
- Xe.default = ni;
2122
+ Xe.default = ri;
2123
2123
  var ce = {};
2124
2124
  Object.defineProperty(ce, "__esModule", { value: !0 });
2125
2125
  ce.resolveSchema = ce.getCompilingSchema = ce.resolveRef = ce.compileSchema = ce.SchemaEnv = void 0;
2126
- const ye = H, si = pt, Ce = ke, _e = ae, kn = N, ai = ge;
2126
+ const ye = H, ni = pt, Ce = ke, _e = ae, kn = N, si = ge;
2127
2127
  class zt {
2128
2128
  constructor(t) {
2129
2129
  var r;
@@ -2140,7 +2140,7 @@ function Mr(e) {
2140
2140
  const r = (0, _e.getFullPath)(this.opts.uriResolver, e.root.baseId), { es5: n, lines: s } = this.opts.code, { ownProperties: a } = this.opts, o = new ye.CodeGen(this.scope, { es5: n, lines: s, ownProperties: a });
2141
2141
  let i;
2142
2142
  e.$async && (i = o.scopeValue("Error", {
2143
- ref: si.default,
2143
+ ref: ni.default,
2144
2144
  code: (0, ye._)`require("ajv/dist/runtime/validation_error").default`
2145
2145
  }));
2146
2146
  const d = o.scopeName("validate");
@@ -2172,7 +2172,7 @@ function Mr(e) {
2172
2172
  };
2173
2173
  let u;
2174
2174
  try {
2175
- this._compilations.add(e), (0, ai.validateFunctionCode)(c), o.optimize(this.opts.code.optimize);
2175
+ this._compilations.add(e), (0, si.validateFunctionCode)(c), o.optimize(this.opts.code.optimize);
2176
2176
  const h = o.toString();
2177
2177
  u = `${o.scopeRefs(Ce.default.scope)}return ${h}`, this.opts.code.process && (u = this.opts.code.process(u, e));
2178
2178
  const b = new Function(`${Ce.default.self}`, `${Ce.default.scope}`, u)(this, this.scope.get());
@@ -2193,34 +2193,34 @@ function Mr(e) {
2193
2193
  }
2194
2194
  }
2195
2195
  ce.compileSchema = Mr;
2196
- function oi(e, t, r) {
2196
+ function ai(e, t, r) {
2197
2197
  var n;
2198
2198
  r = (0, _e.resolveUrl)(this.opts.uriResolver, t, r);
2199
2199
  const s = e.refs[r];
2200
2200
  if (s)
2201
2201
  return s;
2202
- let a = di.call(this, e, r);
2202
+ let a = li.call(this, e, r);
2203
2203
  if (a === void 0) {
2204
2204
  const o = (n = e.localRefs) === null || n === void 0 ? void 0 : n[r], { schemaId: i } = this.opts;
2205
2205
  o && (a = new zt({ schema: o, schemaId: i, root: e, baseId: t }));
2206
2206
  }
2207
2207
  if (a !== void 0)
2208
- return e.refs[r] = ii.call(this, a);
2208
+ return e.refs[r] = oi.call(this, a);
2209
2209
  }
2210
- ce.resolveRef = oi;
2211
- function ii(e) {
2210
+ ce.resolveRef = ai;
2211
+ function oi(e) {
2212
2212
  return (0, _e.inlineRef)(e.schema, this.opts.inlineRefs) ? e.schema : e.validate ? e : Mr.call(this, e);
2213
2213
  }
2214
2214
  function Es(e) {
2215
2215
  for (const t of this._compilations)
2216
- if (li(t, e))
2216
+ if (ii(t, e))
2217
2217
  return t;
2218
2218
  }
2219
2219
  ce.getCompilingSchema = Es;
2220
- function li(e, t) {
2220
+ function ii(e, t) {
2221
2221
  return e.schema === t.schema && e.root === t.root && e.baseId === t.baseId;
2222
2222
  }
2223
- function di(e, t) {
2223
+ function li(e, t) {
2224
2224
  let r;
2225
2225
  for (; typeof (r = this.refs[t]) == "string"; )
2226
2226
  t = r;
@@ -2245,7 +2245,7 @@ function Ut(e, t) {
2245
2245
  }
2246
2246
  }
2247
2247
  ce.resolveSchema = Ut;
2248
- const ci = /* @__PURE__ */ new Set([
2248
+ const di = /* @__PURE__ */ new Set([
2249
2249
  "properties",
2250
2250
  "patternProperties",
2251
2251
  "enum",
@@ -2264,7 +2264,7 @@ function cr(e, { baseId: t, schema: r, root: n }) {
2264
2264
  return;
2265
2265
  r = d;
2266
2266
  const c = typeof r == "object" && r[this.opts.schemaId];
2267
- !ci.has(i) && c && (t = (0, _e.resolveUrl)(this.opts.uriResolver, t, c));
2267
+ !di.has(i) && c && (t = (0, _e.resolveUrl)(this.opts.uriResolver, t, c));
2268
2268
  }
2269
2269
  let a;
2270
2270
  if (typeof r != "boolean" && r.$ref && !(0, kn.schemaHasRulesButRef)(r, this.RULES)) {
@@ -2275,9 +2275,9 @@ function cr(e, { baseId: t, schema: r, root: n }) {
2275
2275
  if (a = a || new zt({ schema: r, schemaId: o, root: n, baseId: t }), a.schema !== a.root.schema)
2276
2276
  return a;
2277
2277
  }
2278
- const ui = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", fi = "Meta-schema for $data reference (JSON AnySchema extension proposal)", mi = "object", hi = [
2278
+ const ci = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", ui = "Meta-schema for $data reference (JSON AnySchema extension proposal)", fi = "object", mi = [
2279
2279
  "$data"
2280
- ], pi = {
2280
+ ], hi = {
2281
2281
  $data: {
2282
2282
  type: "string",
2283
2283
  anyOf: [
@@ -2289,16 +2289,16 @@ const ui = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/
2289
2289
  }
2290
2290
  ]
2291
2291
  }
2292
- }, yi = !1, vi = {
2293
- $id: ui,
2294
- description: fi,
2295
- type: mi,
2296
- required: hi,
2297
- properties: pi,
2298
- additionalProperties: yi
2292
+ }, pi = !1, yi = {
2293
+ $id: ci,
2294
+ description: ui,
2295
+ type: fi,
2296
+ required: mi,
2297
+ properties: hi,
2298
+ additionalProperties: pi
2299
2299
  };
2300
2300
  var Tr = {}, Lt = { exports: {} };
2301
- const _i = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), Ps = 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);
2301
+ const vi = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), Ps = 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);
2302
2302
  function Os(e) {
2303
2303
  let t = "", r = 0, n = 0;
2304
2304
  for (n = 0; n < e.length; n++)
@@ -2315,11 +2315,11 @@ function Os(e) {
2315
2315
  }
2316
2316
  return t;
2317
2317
  }
2318
- const gi = RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);
2318
+ const _i = RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);
2319
2319
  function En(e) {
2320
2320
  return e.length = 0, !0;
2321
2321
  }
2322
- function bi(e, t, r) {
2322
+ function gi(e, t, r) {
2323
2323
  if (e.length) {
2324
2324
  const n = Os(e);
2325
2325
  if (n !== "")
@@ -2330,10 +2330,10 @@ function bi(e, t, r) {
2330
2330
  }
2331
2331
  return !0;
2332
2332
  }
2333
- function $i(e) {
2333
+ function bi(e) {
2334
2334
  let t = 0;
2335
2335
  const r = { error: !1, address: "", zone: "" }, n = [], s = [];
2336
- let a = !1, o = !1, i = bi;
2336
+ let a = !1, o = !1, i = gi;
2337
2337
  for (let d = 0; d < e.length; d++) {
2338
2338
  const c = e[d];
2339
2339
  if (!(c === "[" || c === "]"))
@@ -2358,9 +2358,9 @@ function $i(e) {
2358
2358
  return s.length && (i === En ? r.zone = s.join("") : o ? n.push(s.join("")) : n.push(Os(s))), r.address = n.join(""), r;
2359
2359
  }
2360
2360
  function js(e) {
2361
- if (wi(e, ":") < 2)
2361
+ if ($i(e, ":") < 2)
2362
2362
  return { host: e, isIPV6: !1 };
2363
- const t = $i(e);
2363
+ const t = bi(e);
2364
2364
  if (t.error)
2365
2365
  return { host: e, isIPV6: !1 };
2366
2366
  {
@@ -2368,13 +2368,13 @@ function js(e) {
2368
2368
  return t.zone && (r += "%" + t.zone, n += "%25" + t.zone), { host: r, isIPV6: !0, escapedHost: n };
2369
2369
  }
2370
2370
  }
2371
- function wi(e, t) {
2371
+ function $i(e, t) {
2372
2372
  let r = 0;
2373
2373
  for (let n = 0; n < e.length; n++)
2374
2374
  e[n] === t && r++;
2375
2375
  return r;
2376
2376
  }
2377
- function Si(e) {
2377
+ function wi(e) {
2378
2378
  let t = e;
2379
2379
  const r = [];
2380
2380
  let n = -1, s = 0;
@@ -2432,11 +2432,11 @@ function Si(e) {
2432
2432
  }
2433
2433
  return r.join("");
2434
2434
  }
2435
- function ki(e, t) {
2435
+ function Si(e, t) {
2436
2436
  const r = t !== !0 ? escape : unescape;
2437
2437
  return e.scheme !== void 0 && (e.scheme = r(e.scheme)), e.userinfo !== void 0 && (e.userinfo = r(e.userinfo)), e.host !== void 0 && (e.host = r(e.host)), e.path !== void 0 && (e.path = r(e.path)), e.query !== void 0 && (e.query = r(e.query)), e.fragment !== void 0 && (e.fragment = r(e.fragment)), e;
2438
2438
  }
2439
- function Ei(e) {
2439
+ function ki(e) {
2440
2440
  const t = [];
2441
2441
  if (e.userinfo !== void 0 && (t.push(e.userinfo), t.push("@")), e.host !== void 0) {
2442
2442
  let r = unescape(e.host);
@@ -2449,15 +2449,15 @@ function Ei(e) {
2449
2449
  return (typeof e.port == "number" || typeof e.port == "string") && (t.push(":"), t.push(String(e.port))), t.length ? t.join("") : void 0;
2450
2450
  }
2451
2451
  var Ns = {
2452
- nonSimpleDomain: gi,
2453
- recomposeAuthority: Ei,
2454
- normalizeComponentEncoding: ki,
2455
- removeDotSegments: Si,
2452
+ nonSimpleDomain: _i,
2453
+ recomposeAuthority: ki,
2454
+ normalizeComponentEncoding: Si,
2455
+ removeDotSegments: wi,
2456
2456
  isIPv4: Ps,
2457
- isUUID: _i,
2457
+ isUUID: vi,
2458
2458
  normalizeIPv6: js
2459
2459
  };
2460
- const { isUUID: Pi } = Ns, Oi = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
2460
+ const { isUUID: Ei } = Ns, Pi = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
2461
2461
  function Is(e) {
2462
2462
  return e.secure === !0 ? !0 : e.secure === !1 ? !1 : e.scheme ? e.scheme.length === 3 && (e.scheme[0] === "w" || e.scheme[0] === "W") && (e.scheme[1] === "s" || e.scheme[1] === "S") && (e.scheme[2] === "s" || e.scheme[2] === "S") : !1;
2463
2463
  }
@@ -2468,20 +2468,20 @@ function Ms(e) {
2468
2468
  const t = String(e.scheme).toLowerCase() === "https";
2469
2469
  return (e.port === (t ? 443 : 80) || e.port === "") && (e.port = void 0), e.path || (e.path = "/"), e;
2470
2470
  }
2471
- function ji(e) {
2471
+ function Oi(e) {
2472
2472
  return e.secure = Is(e), e.resourceName = (e.path || "/") + (e.query ? "?" + e.query : ""), e.path = void 0, e.query = void 0, e;
2473
2473
  }
2474
- function Ni(e) {
2474
+ function ji(e) {
2475
2475
  if ((e.port === (Is(e) ? 443 : 80) || e.port === "") && (e.port = void 0), typeof e.secure == "boolean" && (e.scheme = e.secure ? "wss" : "ws", e.secure = void 0), e.resourceName) {
2476
2476
  const [t, r] = e.resourceName.split("?");
2477
2477
  e.path = t && t !== "/" ? t : void 0, e.query = r, e.resourceName = void 0;
2478
2478
  }
2479
2479
  return e.fragment = void 0, e;
2480
2480
  }
2481
- function Ii(e, t) {
2481
+ function Ni(e, t) {
2482
2482
  if (!e.path)
2483
2483
  return e.error = "URN can not be parsed", e;
2484
- const r = e.path.match(Oi);
2484
+ const r = e.path.match(Pi);
2485
2485
  if (r) {
2486
2486
  const n = t.scheme || e.scheme || "urn";
2487
2487
  e.nid = r[1].toLowerCase(), e.nss = r[2];
@@ -2491,7 +2491,7 @@ function Ii(e, t) {
2491
2491
  e.error = e.error || "URN can not be parsed.";
2492
2492
  return e;
2493
2493
  }
2494
- function qi(e, t) {
2494
+ function Ii(e, t) {
2495
2495
  if (e.nid === void 0)
2496
2496
  throw new Error("URN without nid cannot be serialized");
2497
2497
  const r = t.scheme || e.scheme || "urn", n = e.nid.toLowerCase(), s = `${r}:${t.nid || n}`, a = Rr(s);
@@ -2499,11 +2499,11 @@ function qi(e, t) {
2499
2499
  const o = e, i = e.nss;
2500
2500
  return o.path = `${n || t.nid}:${i}`, t.skipEscape = !0, o;
2501
2501
  }
2502
- function Mi(e, t) {
2502
+ function qi(e, t) {
2503
2503
  const r = e;
2504
- return r.uuid = r.nss, r.nss = void 0, !t.tolerant && (!r.uuid || !Pi(r.uuid)) && (r.error = r.error || "UUID is not valid."), r;
2504
+ return r.uuid = r.nss, r.nss = void 0, !t.tolerant && (!r.uuid || !Ei(r.uuid)) && (r.error = r.error || "UUID is not valid."), r;
2505
2505
  }
2506
- function Ti(e) {
2506
+ function Mi(e) {
2507
2507
  const t = e;
2508
2508
  return t.nss = (e.uuid || "").toLowerCase(), t;
2509
2509
  }
@@ -2515,7 +2515,7 @@ const Ts = (
2515
2515
  parse: qs,
2516
2516
  serialize: Ms
2517
2517
  }
2518
- ), Ri = (
2518
+ ), Ti = (
2519
2519
  /** @type {SchemeHandler} */
2520
2520
  {
2521
2521
  scheme: "https",
@@ -2528,10 +2528,10 @@ const Ts = (
2528
2528
  {
2529
2529
  scheme: "ws",
2530
2530
  domainHost: !0,
2531
- parse: ji,
2532
- serialize: Ni
2531
+ parse: Oi,
2532
+ serialize: ji
2533
2533
  }
2534
- ), Ai = (
2534
+ ), Ri = (
2535
2535
  /** @type {SchemeHandler} */
2536
2536
  {
2537
2537
  scheme: "wss",
@@ -2539,31 +2539,31 @@ const Ts = (
2539
2539
  parse: jt.parse,
2540
2540
  serialize: jt.serialize
2541
2541
  }
2542
- ), Ci = (
2542
+ ), Ai = (
2543
2543
  /** @type {SchemeHandler} */
2544
2544
  {
2545
2545
  scheme: "urn",
2546
- parse: Ii,
2547
- serialize: qi,
2546
+ parse: Ni,
2547
+ serialize: Ii,
2548
2548
  skipNormalize: !0
2549
2549
  }
2550
- ), Vi = (
2550
+ ), Ci = (
2551
2551
  /** @type {SchemeHandler} */
2552
2552
  {
2553
2553
  scheme: "urn:uuid",
2554
- parse: Mi,
2555
- serialize: Ti,
2554
+ parse: qi,
2555
+ serialize: Mi,
2556
2556
  skipNormalize: !0
2557
2557
  }
2558
2558
  ), Tt = (
2559
2559
  /** @type {Record<SchemeName, SchemeHandler>} */
2560
2560
  {
2561
2561
  http: Ts,
2562
- https: Ri,
2562
+ https: Ti,
2563
2563
  ws: jt,
2564
- wss: Ai,
2565
- urn: Ci,
2566
- "urn:uuid": Vi
2564
+ wss: Ri,
2565
+ urn: Ai,
2566
+ "urn:uuid": Ci
2567
2567
  }
2568
2568
  );
2569
2569
  Object.setPrototypeOf(Tt, null);
@@ -2576,17 +2576,17 @@ function Rr(e) {
2576
2576
  e.toLowerCase()
2577
2577
  ]) || void 0;
2578
2578
  }
2579
- var Di = {
2579
+ var Vi = {
2580
2580
  SCHEMES: Tt,
2581
2581
  getSchemeHandler: Rr
2582
2582
  };
2583
- const { normalizeIPv6: Fi, removeDotSegments: ot, recomposeAuthority: zi, normalizeComponentEncoding: $t, isIPv4: Ui, nonSimpleDomain: Li } = Ns, { SCHEMES: Hi, getSchemeHandler: Rs } = Di;
2584
- function Ki(e, t) {
2583
+ const { normalizeIPv6: Di, removeDotSegments: ot, recomposeAuthority: Fi, normalizeComponentEncoding: $t, isIPv4: zi, nonSimpleDomain: Ui } = Ns, { SCHEMES: Li, getSchemeHandler: Rs } = Vi;
2584
+ function Hi(e, t) {
2585
2585
  return typeof e == "string" ? e = /** @type {T} */
2586
2586
  Se(Ne(e, t), t) : typeof e == "object" && (e = /** @type {T} */
2587
2587
  Ne(Se(e, t), t)), e;
2588
2588
  }
2589
- function Bi(e, t, r) {
2589
+ function Ki(e, t, r) {
2590
2590
  const n = r ? Object.assign({ scheme: "null" }, r) : { scheme: "null" }, s = As(Ne(e, n), Ne(t, n), n, !0);
2591
2591
  return n.skipEscape = !0, Se(s, n);
2592
2592
  }
@@ -2594,7 +2594,7 @@ function As(e, t, r, n) {
2594
2594
  const s = {};
2595
2595
  return n || (e = Ne(Se(e, r), r), t = Ne(Se(t, r), r)), r = r || {}, !r.tolerant && t.scheme ? (s.scheme = t.scheme, s.userinfo = t.userinfo, s.host = t.host, s.port = t.port, s.path = ot(t.path || ""), s.query = t.query) : (t.userinfo !== void 0 || t.host !== void 0 || t.port !== void 0 ? (s.userinfo = t.userinfo, s.host = t.host, s.port = t.port, s.path = ot(t.path || ""), s.query = t.query) : (t.path ? (t.path[0] === "/" ? s.path = ot(t.path) : ((e.userinfo !== void 0 || e.host !== void 0 || e.port !== void 0) && !e.path ? s.path = "/" + t.path : e.path ? s.path = e.path.slice(0, e.path.lastIndexOf("/") + 1) + t.path : s.path = t.path, s.path = ot(s.path)), s.query = t.query) : (s.path = e.path, t.query !== void 0 ? s.query = t.query : s.query = e.query), s.userinfo = e.userinfo, s.host = e.host, s.port = e.port), s.scheme = e.scheme), s.fragment = t.fragment, s;
2596
2596
  }
2597
- function Gi(e, t, r) {
2597
+ function Bi(e, t, r) {
2598
2598
  return typeof e == "string" ? (e = unescape(e), e = Se($t(Ne(e, r), !0), { ...r, skipEscape: !0 })) : typeof e == "object" && (e = Se($t(e, !0), { ...r, skipEscape: !0 })), typeof t == "string" ? (t = unescape(t), t = Se($t(Ne(t, r), !0), { ...r, skipEscape: !0 })) : typeof t == "object" && (t = Se($t(t, !0), { ...r, skipEscape: !0 })), e.toLowerCase() === t.toLowerCase();
2599
2599
  }
2600
2600
  function Se(e, t) {
@@ -2615,14 +2615,14 @@ function Se(e, t) {
2615
2615
  error: ""
2616
2616
  }, n = Object.assign({}, t), s = [], a = Rs(n.scheme || r.scheme);
2617
2617
  a && a.serialize && a.serialize(r, n), r.path !== void 0 && (n.skipEscape ? r.path = unescape(r.path) : (r.path = escape(r.path), r.scheme !== void 0 && (r.path = r.path.split("%3A").join(":")))), n.reference !== "suffix" && r.scheme && s.push(r.scheme, ":");
2618
- const o = zi(r);
2618
+ const o = Fi(r);
2619
2619
  if (o !== void 0 && (n.reference !== "suffix" && s.push("//"), s.push(o), r.path && r.path[0] !== "/" && s.push("/")), r.path !== void 0) {
2620
2620
  let i = r.path;
2621
2621
  !n.absolutePath && (!a || !a.absolutePath) && (i = ot(i)), o === void 0 && i[0] === "/" && i[1] === "/" && (i = "/%2F" + i.slice(2)), s.push(i);
2622
2622
  }
2623
2623
  return r.query !== void 0 && s.push("?", r.query), r.fragment !== void 0 && s.push("#", r.fragment), s.join("");
2624
2624
  }
2625
- const Ji = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
2625
+ const Gi = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
2626
2626
  function Ne(e, t) {
2627
2627
  const r = Object.assign({}, t), n = {
2628
2628
  scheme: void 0,
@@ -2635,17 +2635,17 @@ function Ne(e, t) {
2635
2635
  };
2636
2636
  let s = !1;
2637
2637
  r.reference === "suffix" && (r.scheme ? e = r.scheme + ":" + e : e = "//" + e);
2638
- const a = e.match(Ji);
2638
+ const a = e.match(Gi);
2639
2639
  if (a) {
2640
2640
  if (n.scheme = a[1], n.userinfo = a[3], n.host = a[4], n.port = parseInt(a[5], 10), n.path = a[6] || "", n.query = a[7], n.fragment = a[8], isNaN(n.port) && (n.port = a[5]), n.host)
2641
- if (Ui(n.host) === !1) {
2642
- const d = Fi(n.host);
2641
+ if (zi(n.host) === !1) {
2642
+ const d = Di(n.host);
2643
2643
  n.host = d.host.toLowerCase(), s = d.isIPV6;
2644
2644
  } else
2645
2645
  s = !0;
2646
2646
  n.scheme === void 0 && n.userinfo === void 0 && n.host === void 0 && n.port === void 0 && n.query === void 0 && !n.path ? n.reference = "same-document" : n.scheme === void 0 ? n.reference = "relative" : n.fragment === void 0 ? n.reference = "absolute" : n.reference = "uri", r.reference && r.reference !== "suffix" && r.reference !== n.reference && (n.error = n.error || "URI is not a " + r.reference + " reference.");
2647
2647
  const o = Rs(r.scheme || n.scheme);
2648
- if (!r.unicodeSupport && (!o || !o.unicodeSupport) && n.host && (r.domainHost || o && o.domainHost) && s === !1 && Li(n.host))
2648
+ if (!r.unicodeSupport && (!o || !o.unicodeSupport) && n.host && (r.domainHost || o && o.domainHost) && s === !1 && Ui(n.host))
2649
2649
  try {
2650
2650
  n.host = URL.domainToASCII(n.host.toLowerCase());
2651
2651
  } catch (i) {
@@ -2657,20 +2657,20 @@ function Ne(e, t) {
2657
2657
  return n;
2658
2658
  }
2659
2659
  const Ar = {
2660
- SCHEMES: Hi,
2661
- normalize: Ki,
2662
- resolve: Bi,
2660
+ SCHEMES: Li,
2661
+ normalize: Hi,
2662
+ resolve: Ki,
2663
2663
  resolveComponent: As,
2664
- equal: Gi,
2664
+ equal: Bi,
2665
2665
  serialize: Se,
2666
2666
  parse: Ne
2667
2667
  };
2668
2668
  Lt.exports = Ar;
2669
2669
  Lt.exports.default = Ar;
2670
2670
  Lt.exports.fastUri = Ar;
2671
- var xi = Lt.exports;
2671
+ var Ji = Lt.exports;
2672
2672
  Object.defineProperty(Tr, "__esModule", { value: !0 });
2673
- const Cs = xi;
2673
+ const Cs = Ji;
2674
2674
  Cs.code = 'require("ajv/dist/runtime/uri").default';
2675
2675
  Tr.default = Cs;
2676
2676
  (function(e) {
@@ -2693,7 +2693,7 @@ Tr.default = Cs;
2693
2693
  } }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
2694
2694
  return r.CodeGen;
2695
2695
  } });
2696
- const n = pt, s = Xe, a = Ue, o = ce, i = H, d = ae, c = te, u = N, h = vi, w = Tr, b = (j, v) => new RegExp(j, v);
2696
+ const n = pt, s = Xe, a = Ue, o = ce, i = H, d = ae, c = te, u = N, h = yi, w = Tr, b = (j, v) => new RegExp(j, v);
2697
2697
  b.code = "new RegExp";
2698
2698
  const _ = ["removeAdditional", "useDefaults", "coerceTypes"], g = /* @__PURE__ */ new Set([
2699
2699
  "validate",
@@ -3115,17 +3115,17 @@ Tr.default = Cs;
3115
3115
  })(Jn);
3116
3116
  var Cr = {}, Vr = {}, Dr = {};
3117
3117
  Object.defineProperty(Dr, "__esModule", { value: !0 });
3118
- const Wi = {
3118
+ const xi = {
3119
3119
  keyword: "id",
3120
3120
  code() {
3121
3121
  throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID');
3122
3122
  }
3123
3123
  };
3124
- Dr.default = Wi;
3124
+ Dr.default = xi;
3125
3125
  var Le = {};
3126
3126
  Object.defineProperty(Le, "__esModule", { value: !0 });
3127
3127
  Le.callRef = Le.getValidate = void 0;
3128
- const Zi = Xe, Pn = B, de = H, Be = ke, On = ce, wt = N, Yi = {
3128
+ const Wi = Xe, Pn = B, de = H, Be = ke, On = ce, wt = N, Zi = {
3129
3129
  keyword: "$ref",
3130
3130
  schemaType: "string",
3131
3131
  code(e) {
@@ -3134,7 +3134,7 @@ const Zi = Xe, Pn = B, de = H, Be = ke, On = ce, wt = N, Yi = {
3134
3134
  return h();
3135
3135
  const u = On.resolveRef.call(d, c, s, r);
3136
3136
  if (u === void 0)
3137
- throw new Zi.default(n.opts.uriResolver, s, r);
3137
+ throw new Wi.default(n.opts.uriResolver, s, r);
3138
3138
  if (u instanceof On.SchemaEnv)
3139
3139
  return w(u);
3140
3140
  return b(u);
@@ -3207,19 +3207,19 @@ function Nt(e, t, r, n) {
3207
3207
  }
3208
3208
  }
3209
3209
  Le.callRef = Nt;
3210
- Le.default = Yi;
3210
+ Le.default = Zi;
3211
3211
  Object.defineProperty(Vr, "__esModule", { value: !0 });
3212
- const Qi = Dr, Xi = Le, el = [
3212
+ const Yi = Dr, Qi = Le, Xi = [
3213
3213
  "$schema",
3214
3214
  "$id",
3215
3215
  "$defs",
3216
3216
  "$vocabulary",
3217
3217
  { keyword: "$comment" },
3218
3218
  "definitions",
3219
- Qi.default,
3220
- Xi.default
3219
+ Yi.default,
3220
+ Qi.default
3221
3221
  ];
3222
- Vr.default = el;
3222
+ Vr.default = Xi;
3223
3223
  var Fr = {}, zr = {};
3224
3224
  Object.defineProperty(zr, "__esModule", { value: !0 });
3225
3225
  const Rt = H, Me = Rt.operators, At = {
@@ -3227,38 +3227,38 @@ const Rt = H, Me = Rt.operators, At = {
3227
3227
  minimum: { okStr: ">=", ok: Me.GTE, fail: Me.LT },
3228
3228
  exclusiveMaximum: { okStr: "<", ok: Me.LT, fail: Me.GTE },
3229
3229
  exclusiveMinimum: { okStr: ">", ok: Me.GT, fail: Me.LTE }
3230
- }, tl = {
3230
+ }, el = {
3231
3231
  message: ({ keyword: e, schemaCode: t }) => (0, Rt.str)`must be ${At[e].okStr} ${t}`,
3232
3232
  params: ({ keyword: e, schemaCode: t }) => (0, Rt._)`{comparison: ${At[e].okStr}, limit: ${t}}`
3233
- }, rl = {
3233
+ }, tl = {
3234
3234
  keyword: Object.keys(At),
3235
3235
  type: "number",
3236
3236
  schemaType: "number",
3237
3237
  $data: !0,
3238
- error: tl,
3238
+ error: el,
3239
3239
  code(e) {
3240
3240
  const { keyword: t, data: r, schemaCode: n } = e;
3241
3241
  e.fail$data((0, Rt._)`${r} ${At[t].fail} ${n} || isNaN(${r})`);
3242
3242
  }
3243
3243
  };
3244
- zr.default = rl;
3244
+ zr.default = tl;
3245
3245
  var Ur = {};
3246
3246
  Object.defineProperty(Ur, "__esModule", { value: !0 });
3247
- const dt = H, nl = {
3247
+ const dt = H, rl = {
3248
3248
  message: ({ schemaCode: e }) => (0, dt.str)`must be multiple of ${e}`,
3249
3249
  params: ({ schemaCode: e }) => (0, dt._)`{multipleOf: ${e}}`
3250
- }, sl = {
3250
+ }, nl = {
3251
3251
  keyword: "multipleOf",
3252
3252
  type: "number",
3253
3253
  schemaType: "number",
3254
3254
  $data: !0,
3255
- error: nl,
3255
+ error: rl,
3256
3256
  code(e) {
3257
3257
  const { gen: t, data: r, schemaCode: n, it: s } = e, a = s.opts.multipleOfPrecision, o = t.let("res"), i = a ? (0, dt._)`Math.abs(Math.round(${o}) - ${o}) > 1e-${a}` : (0, dt._)`${o} !== parseInt(${o})`;
3258
3258
  e.fail$data((0, dt._)`(${n} === 0 || (${o} = ${r}/${n}, ${i}))`);
3259
3259
  }
3260
3260
  };
3261
- Ur.default = sl;
3261
+ Ur.default = nl;
3262
3262
  var Lr = {}, Hr = {};
3263
3263
  Object.defineProperty(Hr, "__esModule", { value: !0 });
3264
3264
  function Ds(e) {
@@ -3271,72 +3271,72 @@ function Ds(e) {
3271
3271
  Hr.default = Ds;
3272
3272
  Ds.code = 'require("ajv/dist/runtime/ucs2length").default';
3273
3273
  Object.defineProperty(Lr, "__esModule", { value: !0 });
3274
- const De = H, al = N, ol = Hr, il = {
3274
+ const De = H, sl = N, al = Hr, ol = {
3275
3275
  message({ keyword: e, schemaCode: t }) {
3276
3276
  const r = e === "maxLength" ? "more" : "fewer";
3277
3277
  return (0, De.str)`must NOT have ${r} than ${t} characters`;
3278
3278
  },
3279
3279
  params: ({ schemaCode: e }) => (0, De._)`{limit: ${e}}`
3280
- }, ll = {
3280
+ }, il = {
3281
3281
  keyword: ["maxLength", "minLength"],
3282
3282
  type: "string",
3283
3283
  schemaType: "number",
3284
3284
  $data: !0,
3285
- error: il,
3285
+ error: ol,
3286
3286
  code(e) {
3287
- const { keyword: t, data: r, schemaCode: n, it: s } = e, a = t === "maxLength" ? De.operators.GT : De.operators.LT, o = s.opts.unicode === !1 ? (0, De._)`${r}.length` : (0, De._)`${(0, al.useFunc)(e.gen, ol.default)}(${r})`;
3287
+ const { keyword: t, data: r, schemaCode: n, it: s } = e, a = t === "maxLength" ? De.operators.GT : De.operators.LT, o = s.opts.unicode === !1 ? (0, De._)`${r}.length` : (0, De._)`${(0, sl.useFunc)(e.gen, al.default)}(${r})`;
3288
3288
  e.fail$data((0, De._)`${o} ${a} ${n}`);
3289
3289
  }
3290
3290
  };
3291
- Lr.default = ll;
3291
+ Lr.default = il;
3292
3292
  var Kr = {};
3293
3293
  Object.defineProperty(Kr, "__esModule", { value: !0 });
3294
- const dl = B, Ct = H, cl = {
3294
+ const ll = B, Ct = H, dl = {
3295
3295
  message: ({ schemaCode: e }) => (0, Ct.str)`must match pattern "${e}"`,
3296
3296
  params: ({ schemaCode: e }) => (0, Ct._)`{pattern: ${e}}`
3297
- }, ul = {
3297
+ }, cl = {
3298
3298
  keyword: "pattern",
3299
3299
  type: "string",
3300
3300
  schemaType: "string",
3301
3301
  $data: !0,
3302
- error: cl,
3302
+ error: dl,
3303
3303
  code(e) {
3304
- const { data: t, $data: r, schema: n, schemaCode: s, it: a } = e, o = a.opts.unicodeRegExp ? "u" : "", i = r ? (0, Ct._)`(new RegExp(${s}, ${o}))` : (0, dl.usePattern)(e, n);
3304
+ const { data: t, $data: r, schema: n, schemaCode: s, it: a } = e, o = a.opts.unicodeRegExp ? "u" : "", i = r ? (0, Ct._)`(new RegExp(${s}, ${o}))` : (0, ll.usePattern)(e, n);
3305
3305
  e.fail$data((0, Ct._)`!${i}.test(${t})`);
3306
3306
  }
3307
3307
  };
3308
- Kr.default = ul;
3308
+ Kr.default = cl;
3309
3309
  var Br = {};
3310
3310
  Object.defineProperty(Br, "__esModule", { value: !0 });
3311
- const ct = H, fl = {
3311
+ const ct = H, ul = {
3312
3312
  message({ keyword: e, schemaCode: t }) {
3313
3313
  const r = e === "maxProperties" ? "more" : "fewer";
3314
3314
  return (0, ct.str)`must NOT have ${r} than ${t} properties`;
3315
3315
  },
3316
3316
  params: ({ schemaCode: e }) => (0, ct._)`{limit: ${e}}`
3317
- }, ml = {
3317
+ }, fl = {
3318
3318
  keyword: ["maxProperties", "minProperties"],
3319
3319
  type: "object",
3320
3320
  schemaType: "number",
3321
3321
  $data: !0,
3322
- error: fl,
3322
+ error: ul,
3323
3323
  code(e) {
3324
3324
  const { keyword: t, data: r, schemaCode: n } = e, s = t === "maxProperties" ? ct.operators.GT : ct.operators.LT;
3325
3325
  e.fail$data((0, ct._)`Object.keys(${r}).length ${s} ${n}`);
3326
3326
  }
3327
3327
  };
3328
- Br.default = ml;
3328
+ Br.default = fl;
3329
3329
  var Gr = {};
3330
3330
  Object.defineProperty(Gr, "__esModule", { value: !0 });
3331
- const at = B, ut = H, hl = N, pl = {
3331
+ const at = B, ut = H, ml = N, hl = {
3332
3332
  message: ({ params: { missingProperty: e } }) => (0, ut.str)`must have required property '${e}'`,
3333
3333
  params: ({ params: { missingProperty: e } }) => (0, ut._)`{missingProperty: ${e}}`
3334
- }, yl = {
3334
+ }, pl = {
3335
3335
  keyword: "required",
3336
3336
  type: "object",
3337
3337
  schemaType: "array",
3338
3338
  $data: !0,
3339
- error: pl,
3339
+ error: hl,
3340
3340
  code(e) {
3341
3341
  const { gen: t, schema: r, schemaCode: n, data: s, $data: a, it: o } = e, { opts: i } = o;
3342
3342
  if (!a && r.length === 0)
@@ -3347,7 +3347,7 @@ const at = B, ut = H, hl = N, pl = {
3347
3347
  for (const g of r)
3348
3348
  if ((b == null ? void 0 : b[g]) === void 0 && !_.has(g)) {
3349
3349
  const p = o.schemaEnv.baseId + o.errSchemaPath, m = `required property "${g}" is not defined at "${p}" (strictRequired)`;
3350
- (0, hl.checkStrictMode)(o, m, o.opts.strictRequired);
3350
+ (0, ml.checkStrictMode)(o, m, o.opts.strictRequired);
3351
3351
  }
3352
3352
  }
3353
3353
  function c() {
@@ -3379,42 +3379,42 @@ const at = B, ut = H, hl = N, pl = {
3379
3379
  }
3380
3380
  }
3381
3381
  };
3382
- Gr.default = yl;
3382
+ Gr.default = pl;
3383
3383
  var Jr = {};
3384
3384
  Object.defineProperty(Jr, "__esModule", { value: !0 });
3385
- const ft = H, vl = {
3385
+ const ft = H, yl = {
3386
3386
  message({ keyword: e, schemaCode: t }) {
3387
3387
  const r = e === "maxItems" ? "more" : "fewer";
3388
3388
  return (0, ft.str)`must NOT have ${r} than ${t} items`;
3389
3389
  },
3390
3390
  params: ({ schemaCode: e }) => (0, ft._)`{limit: ${e}}`
3391
- }, _l = {
3391
+ }, vl = {
3392
3392
  keyword: ["maxItems", "minItems"],
3393
3393
  type: "array",
3394
3394
  schemaType: "number",
3395
3395
  $data: !0,
3396
- error: vl,
3396
+ error: yl,
3397
3397
  code(e) {
3398
3398
  const { keyword: t, data: r, schemaCode: n } = e, s = t === "maxItems" ? ft.operators.GT : ft.operators.LT;
3399
3399
  e.fail$data((0, ft._)`${r}.length ${s} ${n}`);
3400
3400
  }
3401
3401
  };
3402
- Jr.default = _l;
3402
+ Jr.default = vl;
3403
3403
  var xr = {}, yt = {};
3404
3404
  Object.defineProperty(yt, "__esModule", { value: !0 });
3405
3405
  const Fs = ds;
3406
3406
  Fs.code = 'require("ajv/dist/runtime/equal").default';
3407
3407
  yt.default = Fs;
3408
3408
  Object.defineProperty(xr, "__esModule", { value: !0 });
3409
- const ur = te, se = H, gl = N, bl = yt, $l = {
3409
+ const ur = te, se = H, _l = N, gl = yt, bl = {
3410
3410
  message: ({ params: { i: e, j: t } }) => (0, se.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,
3411
3411
  params: ({ params: { i: e, j: t } }) => (0, se._)`{i: ${e}, j: ${t}}`
3412
- }, wl = {
3412
+ }, $l = {
3413
3413
  keyword: "uniqueItems",
3414
3414
  type: "array",
3415
3415
  schemaType: "boolean",
3416
3416
  $data: !0,
3417
- error: $l,
3417
+ error: bl,
3418
3418
  code(e) {
3419
3419
  const { gen: t, data: r, $data: n, schema: s, parentSchema: a, schemaCode: o, it: i } = e;
3420
3420
  if (!n && !s)
@@ -3437,46 +3437,46 @@ const ur = te, se = H, gl = N, bl = yt, $l = {
3437
3437
  });
3438
3438
  }
3439
3439
  function b(_, g) {
3440
- const p = (0, gl.useFunc)(t, bl.default), m = t.name("outer");
3440
+ const p = (0, _l.useFunc)(t, gl.default), m = t.name("outer");
3441
3441
  t.label(m).for((0, se._)`;${_}--;`, () => t.for((0, se._)`${g} = ${_}; ${g}--;`, () => t.if((0, se._)`${p}(${r}[${_}], ${r}[${g}])`, () => {
3442
3442
  e.error(), t.assign(d, !1).break(m);
3443
3443
  })));
3444
3444
  }
3445
3445
  }
3446
3446
  };
3447
- xr.default = wl;
3447
+ xr.default = $l;
3448
3448
  var Wr = {};
3449
3449
  Object.defineProperty(Wr, "__esModule", { value: !0 });
3450
- const _r = H, Sl = N, kl = yt, El = {
3450
+ const _r = H, wl = N, Sl = yt, kl = {
3451
3451
  message: "must be equal to constant",
3452
3452
  params: ({ schemaCode: e }) => (0, _r._)`{allowedValue: ${e}}`
3453
- }, Pl = {
3453
+ }, El = {
3454
3454
  keyword: "const",
3455
3455
  $data: !0,
3456
- error: El,
3456
+ error: kl,
3457
3457
  code(e) {
3458
3458
  const { gen: t, data: r, $data: n, schemaCode: s, schema: a } = e;
3459
- n || a && typeof a == "object" ? e.fail$data((0, _r._)`!${(0, Sl.useFunc)(t, kl.default)}(${r}, ${s})`) : e.fail((0, _r._)`${a} !== ${r}`);
3459
+ n || a && typeof a == "object" ? e.fail$data((0, _r._)`!${(0, wl.useFunc)(t, Sl.default)}(${r}, ${s})`) : e.fail((0, _r._)`${a} !== ${r}`);
3460
3460
  }
3461
3461
  };
3462
- Wr.default = Pl;
3462
+ Wr.default = El;
3463
3463
  var Zr = {};
3464
3464
  Object.defineProperty(Zr, "__esModule", { value: !0 });
3465
- const it = H, Ol = N, jl = yt, Nl = {
3465
+ const it = H, Pl = N, Ol = yt, jl = {
3466
3466
  message: "must be equal to one of the allowed values",
3467
3467
  params: ({ schemaCode: e }) => (0, it._)`{allowedValues: ${e}}`
3468
- }, Il = {
3468
+ }, Nl = {
3469
3469
  keyword: "enum",
3470
3470
  schemaType: "array",
3471
3471
  $data: !0,
3472
- error: Nl,
3472
+ error: jl,
3473
3473
  code(e) {
3474
3474
  const { gen: t, data: r, $data: n, schema: s, schemaCode: a, it: o } = e;
3475
3475
  if (!n && s.length === 0)
3476
3476
  throw new Error("enum must have non-empty array");
3477
3477
  const i = s.length >= o.opts.loopEnum;
3478
3478
  let d;
3479
- const c = () => d ?? (d = (0, Ol.useFunc)(t, jl.default));
3479
+ const c = () => d ?? (d = (0, Pl.useFunc)(t, Ol.default));
3480
3480
  let u;
3481
3481
  if (i || n)
3482
3482
  u = t.let("valid"), e.block$data(u, h);
@@ -3496,40 +3496,40 @@ const it = H, Ol = N, jl = yt, Nl = {
3496
3496
  }
3497
3497
  }
3498
3498
  };
3499
- Zr.default = Il;
3499
+ Zr.default = Nl;
3500
3500
  Object.defineProperty(Fr, "__esModule", { value: !0 });
3501
- const ql = zr, Ml = Ur, Tl = Lr, Rl = Kr, Al = Br, Cl = Gr, Vl = Jr, Dl = xr, Fl = Wr, zl = Zr, Ul = [
3501
+ const Il = zr, ql = Ur, Ml = Lr, Tl = Kr, Rl = Br, Al = Gr, Cl = Jr, Vl = xr, Dl = Wr, Fl = Zr, zl = [
3502
3502
  // number
3503
+ Il.default,
3503
3504
  ql.default,
3504
- Ml.default,
3505
3505
  // string
3506
+ Ml.default,
3506
3507
  Tl.default,
3507
- Rl.default,
3508
3508
  // object
3509
+ Rl.default,
3509
3510
  Al.default,
3510
- Cl.default,
3511
3511
  // array
3512
+ Cl.default,
3512
3513
  Vl.default,
3513
- Dl.default,
3514
3514
  // any
3515
3515
  { keyword: "type", schemaType: ["string", "array"] },
3516
3516
  { keyword: "nullable", schemaType: "boolean" },
3517
- Fl.default,
3518
- zl.default
3517
+ Dl.default,
3518
+ Fl.default
3519
3519
  ];
3520
- Fr.default = Ul;
3520
+ Fr.default = zl;
3521
3521
  var Yr = {}, et = {};
3522
3522
  Object.defineProperty(et, "__esModule", { value: !0 });
3523
3523
  et.validateAdditionalItems = void 0;
3524
- const Fe = H, gr = N, Ll = {
3524
+ const Fe = H, gr = N, Ul = {
3525
3525
  message: ({ params: { len: e } }) => (0, Fe.str)`must NOT have more than ${e} items`,
3526
3526
  params: ({ params: { len: e } }) => (0, Fe._)`{limit: ${e}}`
3527
- }, Hl = {
3527
+ }, Ll = {
3528
3528
  keyword: "additionalItems",
3529
3529
  type: "array",
3530
3530
  schemaType: ["boolean", "object"],
3531
3531
  before: "uniqueItems",
3532
- error: Ll,
3532
+ error: Ul,
3533
3533
  code(e) {
3534
3534
  const { parentSchema: t, it: r } = e, { items: n } = t;
3535
3535
  if (!Array.isArray(n)) {
@@ -3556,11 +3556,11 @@ function zs(e, t) {
3556
3556
  }
3557
3557
  }
3558
3558
  et.validateAdditionalItems = zs;
3559
- et.default = Hl;
3559
+ et.default = Ll;
3560
3560
  var Qr = {}, tt = {};
3561
3561
  Object.defineProperty(tt, "__esModule", { value: !0 });
3562
3562
  tt.validateTuple = void 0;
3563
- const jn = H, It = N, Kl = B, Bl = {
3563
+ const jn = H, It = N, Hl = B, Kl = {
3564
3564
  keyword: "items",
3565
3565
  type: "array",
3566
3566
  schemaType: ["object", "array", "boolean"],
@@ -3569,7 +3569,7 @@ const jn = H, It = N, Kl = B, Bl = {
3569
3569
  const { schema: t, it: r } = e;
3570
3570
  if (Array.isArray(t))
3571
3571
  return Us(e, "additionalItems", t);
3572
- r.items = !0, !(0, It.alwaysValidSchema)(r, t) && e.ok((0, Kl.validateArray)(e));
3572
+ r.items = !0, !(0, It.alwaysValidSchema)(r, t) && e.ok((0, Hl.validateArray)(e));
3573
3573
  }
3574
3574
  };
3575
3575
  function Us(e, t, r = e.schema) {
@@ -3592,45 +3592,45 @@ function Us(e, t, r = e.schema) {
3592
3592
  }
3593
3593
  }
3594
3594
  tt.validateTuple = Us;
3595
- tt.default = Bl;
3595
+ tt.default = Kl;
3596
3596
  Object.defineProperty(Qr, "__esModule", { value: !0 });
3597
- const Gl = tt, Jl = {
3597
+ const Bl = tt, Gl = {
3598
3598
  keyword: "prefixItems",
3599
3599
  type: "array",
3600
3600
  schemaType: ["array"],
3601
3601
  before: "uniqueItems",
3602
- code: (e) => (0, Gl.validateTuple)(e, "items")
3602
+ code: (e) => (0, Bl.validateTuple)(e, "items")
3603
3603
  };
3604
- Qr.default = Jl;
3604
+ Qr.default = Gl;
3605
3605
  var Xr = {};
3606
3606
  Object.defineProperty(Xr, "__esModule", { value: !0 });
3607
- const Nn = H, xl = N, Wl = B, Zl = et, Yl = {
3607
+ const Nn = H, Jl = N, xl = B, Wl = et, Zl = {
3608
3608
  message: ({ params: { len: e } }) => (0, Nn.str)`must NOT have more than ${e} items`,
3609
3609
  params: ({ params: { len: e } }) => (0, Nn._)`{limit: ${e}}`
3610
- }, Ql = {
3610
+ }, Yl = {
3611
3611
  keyword: "items",
3612
3612
  type: "array",
3613
3613
  schemaType: ["object", "boolean"],
3614
3614
  before: "uniqueItems",
3615
- error: Yl,
3615
+ error: Zl,
3616
3616
  code(e) {
3617
3617
  const { schema: t, parentSchema: r, it: n } = e, { prefixItems: s } = r;
3618
- n.items = !0, !(0, xl.alwaysValidSchema)(n, t) && (s ? (0, Zl.validateAdditionalItems)(e, s) : e.ok((0, Wl.validateArray)(e)));
3618
+ n.items = !0, !(0, Jl.alwaysValidSchema)(n, t) && (s ? (0, Wl.validateAdditionalItems)(e, s) : e.ok((0, xl.validateArray)(e)));
3619
3619
  }
3620
3620
  };
3621
- Xr.default = Ql;
3621
+ Xr.default = Yl;
3622
3622
  var en = {};
3623
3623
  Object.defineProperty(en, "__esModule", { value: !0 });
3624
- const ue = H, St = N, Xl = {
3624
+ const ue = H, St = N, Ql = {
3625
3625
  message: ({ params: { min: e, max: t } }) => t === void 0 ? (0, ue.str)`must contain at least ${e} valid item(s)` : (0, ue.str)`must contain at least ${e} and no more than ${t} valid item(s)`,
3626
3626
  params: ({ params: { min: e, max: t } }) => t === void 0 ? (0, ue._)`{minContains: ${e}}` : (0, ue._)`{minContains: ${e}, maxContains: ${t}}`
3627
- }, ed = {
3627
+ }, Xl = {
3628
3628
  keyword: "contains",
3629
3629
  type: "array",
3630
3630
  schemaType: ["object", "boolean"],
3631
3631
  before: "uniqueItems",
3632
3632
  trackErrors: !0,
3633
- error: Xl,
3633
+ error: Ql,
3634
3634
  code(e) {
3635
3635
  const { gen: t, schema: r, parentSchema: n, data: s, it: a } = e;
3636
3636
  let o, i;
@@ -3672,7 +3672,7 @@ const ue = H, St = N, Xl = {
3672
3672
  }
3673
3673
  }
3674
3674
  };
3675
- en.default = ed;
3675
+ en.default = Xl;
3676
3676
  var Ls = {};
3677
3677
  (function(e) {
3678
3678
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
@@ -3746,17 +3746,17 @@ var Ls = {};
3746
3746
  })(Ls);
3747
3747
  var tn = {};
3748
3748
  Object.defineProperty(tn, "__esModule", { value: !0 });
3749
- const Hs = H, td = N, rd = {
3749
+ const Hs = H, ed = N, td = {
3750
3750
  message: "property name must be valid",
3751
3751
  params: ({ params: e }) => (0, Hs._)`{propertyName: ${e.propertyName}}`
3752
- }, nd = {
3752
+ }, rd = {
3753
3753
  keyword: "propertyNames",
3754
3754
  type: "object",
3755
3755
  schemaType: ["object", "boolean"],
3756
- error: rd,
3756
+ error: td,
3757
3757
  code(e) {
3758
3758
  const { gen: t, schema: r, data: n, it: s } = e;
3759
- if ((0, td.alwaysValidSchema)(s, r))
3759
+ if ((0, ed.alwaysValidSchema)(s, r))
3760
3760
  return;
3761
3761
  const a = t.name("valid");
3762
3762
  t.forIn("key", n, (o) => {
@@ -3772,19 +3772,19 @@ const Hs = H, td = N, rd = {
3772
3772
  }), e.ok(a);
3773
3773
  }
3774
3774
  };
3775
- tn.default = nd;
3775
+ tn.default = rd;
3776
3776
  var Ht = {};
3777
3777
  Object.defineProperty(Ht, "__esModule", { value: !0 });
3778
- const kt = B, ve = H, sd = ke, Et = N, ad = {
3778
+ const kt = B, ve = H, nd = ke, Et = N, sd = {
3779
3779
  message: "must NOT have additional properties",
3780
3780
  params: ({ params: e }) => (0, ve._)`{additionalProperty: ${e.additionalProperty}}`
3781
- }, od = {
3781
+ }, ad = {
3782
3782
  keyword: "additionalProperties",
3783
3783
  type: ["object"],
3784
3784
  schemaType: ["boolean", "object"],
3785
3785
  allowUndefined: !0,
3786
3786
  trackErrors: !0,
3787
- error: ad,
3787
+ error: sd,
3788
3788
  code(e) {
3789
3789
  const { gen: t, schema: r, parentSchema: n, data: s, errsCount: a, it: o } = e;
3790
3790
  if (!a)
@@ -3793,7 +3793,7 @@ const kt = B, ve = H, sd = ke, Et = N, ad = {
3793
3793
  if (o.props = !0, d.removeAdditional !== "all" && (0, Et.alwaysValidSchema)(o, r))
3794
3794
  return;
3795
3795
  const c = (0, kt.allSchemaProperties)(n.properties), u = (0, kt.allSchemaProperties)(n.patternProperties);
3796
- h(), e.ok((0, ve._)`${a} === ${sd.default.errors}`);
3796
+ h(), e.ok((0, ve._)`${a} === ${nd.default.errors}`);
3797
3797
  function h() {
3798
3798
  t.forIn("key", s, (p) => {
3799
3799
  !c.length && !u.length ? _(p) : t.if(w(p), () => _(p));
@@ -3840,16 +3840,16 @@ const kt = B, ve = H, sd = ke, Et = N, ad = {
3840
3840
  }
3841
3841
  }
3842
3842
  };
3843
- Ht.default = od;
3843
+ Ht.default = ad;
3844
3844
  var rn = {};
3845
3845
  Object.defineProperty(rn, "__esModule", { value: !0 });
3846
- const id = ge, In = B, fr = N, qn = Ht, ld = {
3846
+ const od = ge, In = B, fr = N, qn = Ht, id = {
3847
3847
  keyword: "properties",
3848
3848
  type: "object",
3849
3849
  schemaType: "object",
3850
3850
  code(e) {
3851
3851
  const { gen: t, schema: r, parentSchema: n, data: s, it: a } = e;
3852
- a.opts.removeAdditional === "all" && n.additionalProperties === void 0 && qn.default.code(new id.KeywordCxt(a, qn.default, "additionalProperties"));
3852
+ a.opts.removeAdditional === "all" && n.additionalProperties === void 0 && qn.default.code(new od.KeywordCxt(a, qn.default, "additionalProperties"));
3853
3853
  const o = (0, In.allSchemaProperties)(r);
3854
3854
  for (const h of o)
3855
3855
  a.definedProperties.add(h);
@@ -3872,10 +3872,10 @@ const id = ge, In = B, fr = N, qn = Ht, ld = {
3872
3872
  }
3873
3873
  }
3874
3874
  };
3875
- rn.default = ld;
3875
+ rn.default = id;
3876
3876
  var nn = {};
3877
3877
  Object.defineProperty(nn, "__esModule", { value: !0 });
3878
- const Mn = B, Pt = H, Tn = N, Rn = N, dd = {
3878
+ const Mn = B, Pt = H, Tn = N, Rn = N, ld = {
3879
3879
  keyword: "patternProperties",
3880
3880
  type: "object",
3881
3881
  schemaType: "object",
@@ -3910,16 +3910,16 @@ const Mn = B, Pt = H, Tn = N, Rn = N, dd = {
3910
3910
  }
3911
3911
  }
3912
3912
  };
3913
- nn.default = dd;
3913
+ nn.default = ld;
3914
3914
  var sn = {};
3915
3915
  Object.defineProperty(sn, "__esModule", { value: !0 });
3916
- const cd = N, ud = {
3916
+ const dd = N, cd = {
3917
3917
  keyword: "not",
3918
3918
  schemaType: ["object", "boolean"],
3919
3919
  trackErrors: !0,
3920
3920
  code(e) {
3921
3921
  const { gen: t, schema: r, it: n } = e;
3922
- if ((0, cd.alwaysValidSchema)(n, r)) {
3922
+ if ((0, dd.alwaysValidSchema)(n, r)) {
3923
3923
  e.fail();
3924
3924
  return;
3925
3925
  }
@@ -3933,27 +3933,27 @@ const cd = N, ud = {
3933
3933
  },
3934
3934
  error: { message: "must NOT be valid" }
3935
3935
  };
3936
- sn.default = ud;
3936
+ sn.default = cd;
3937
3937
  var an = {};
3938
3938
  Object.defineProperty(an, "__esModule", { value: !0 });
3939
- const fd = B, md = {
3939
+ const ud = B, fd = {
3940
3940
  keyword: "anyOf",
3941
3941
  schemaType: "array",
3942
3942
  trackErrors: !0,
3943
- code: fd.validateUnion,
3943
+ code: ud.validateUnion,
3944
3944
  error: { message: "must match a schema in anyOf" }
3945
3945
  };
3946
- an.default = md;
3946
+ an.default = fd;
3947
3947
  var on = {};
3948
3948
  Object.defineProperty(on, "__esModule", { value: !0 });
3949
- const qt = H, hd = N, pd = {
3949
+ const qt = H, md = N, hd = {
3950
3950
  message: "must match exactly one schema in oneOf",
3951
3951
  params: ({ params: e }) => (0, qt._)`{passingSchemas: ${e.passing}}`
3952
- }, yd = {
3952
+ }, pd = {
3953
3953
  keyword: "oneOf",
3954
3954
  schemaType: "array",
3955
3955
  trackErrors: !0,
3956
- error: pd,
3956
+ error: hd,
3957
3957
  code(e) {
3958
3958
  const { gen: t, schema: r, parentSchema: n, it: s } = e;
3959
3959
  if (!Array.isArray(r))
@@ -3965,7 +3965,7 @@ const qt = H, hd = N, pd = {
3965
3965
  function c() {
3966
3966
  a.forEach((u, h) => {
3967
3967
  let w;
3968
- (0, hd.alwaysValidSchema)(s, u) ? t.var(d, !0) : w = e.subschema({
3968
+ (0, md.alwaysValidSchema)(s, u) ? t.var(d, !0) : w = e.subschema({
3969
3969
  keyword: "oneOf",
3970
3970
  schemaProp: h,
3971
3971
  compositeRule: !0
@@ -3976,10 +3976,10 @@ const qt = H, hd = N, pd = {
3976
3976
  }
3977
3977
  }
3978
3978
  };
3979
- on.default = yd;
3979
+ on.default = pd;
3980
3980
  var ln = {};
3981
3981
  Object.defineProperty(ln, "__esModule", { value: !0 });
3982
- const vd = N, _d = {
3982
+ const yd = N, vd = {
3983
3983
  keyword: "allOf",
3984
3984
  schemaType: "array",
3985
3985
  code(e) {
@@ -3988,24 +3988,24 @@ const vd = N, _d = {
3988
3988
  throw new Error("ajv implementation error");
3989
3989
  const s = t.name("valid");
3990
3990
  r.forEach((a, o) => {
3991
- if ((0, vd.alwaysValidSchema)(n, a))
3991
+ if ((0, yd.alwaysValidSchema)(n, a))
3992
3992
  return;
3993
3993
  const i = e.subschema({ keyword: "allOf", schemaProp: o }, s);
3994
3994
  e.ok(s), e.mergeEvaluated(i);
3995
3995
  });
3996
3996
  }
3997
3997
  };
3998
- ln.default = _d;
3998
+ ln.default = vd;
3999
3999
  var dn = {};
4000
4000
  Object.defineProperty(dn, "__esModule", { value: !0 });
4001
- const Vt = H, Ks = N, gd = {
4001
+ const Vt = H, Ks = N, _d = {
4002
4002
  message: ({ params: e }) => (0, Vt.str)`must match "${e.ifClause}" schema`,
4003
4003
  params: ({ params: e }) => (0, Vt._)`{failingKeyword: ${e.ifClause}}`
4004
- }, bd = {
4004
+ }, gd = {
4005
4005
  keyword: "if",
4006
4006
  schemaType: ["object", "boolean"],
4007
4007
  trackErrors: !0,
4008
- error: gd,
4008
+ error: _d,
4009
4009
  code(e) {
4010
4010
  const { gen: t, parentSchema: r, it: n } = e;
4011
4011
  r.then === void 0 && r.else === void 0 && (0, Ks.checkStrictMode)(n, '"if" without "then" and "else" is ignored');
@@ -4039,49 +4039,49 @@ function An(e, t) {
4039
4039
  const r = e.schema[t];
4040
4040
  return r !== void 0 && !(0, Ks.alwaysValidSchema)(e, r);
4041
4041
  }
4042
- dn.default = bd;
4042
+ dn.default = gd;
4043
4043
  var cn = {};
4044
4044
  Object.defineProperty(cn, "__esModule", { value: !0 });
4045
- const $d = N, wd = {
4045
+ const bd = N, $d = {
4046
4046
  keyword: ["then", "else"],
4047
4047
  schemaType: ["object", "boolean"],
4048
4048
  code({ keyword: e, parentSchema: t, it: r }) {
4049
- t.if === void 0 && (0, $d.checkStrictMode)(r, `"${e}" without "if" is ignored`);
4049
+ t.if === void 0 && (0, bd.checkStrictMode)(r, `"${e}" without "if" is ignored`);
4050
4050
  }
4051
4051
  };
4052
- cn.default = wd;
4052
+ cn.default = $d;
4053
4053
  Object.defineProperty(Yr, "__esModule", { value: !0 });
4054
- const Sd = et, kd = Qr, Ed = tt, Pd = Xr, Od = en, jd = Ls, Nd = tn, Id = Ht, qd = rn, Md = nn, Td = sn, Rd = an, Ad = on, Cd = ln, Vd = dn, Dd = cn;
4055
- function Fd(e = !1) {
4054
+ const wd = et, Sd = Qr, kd = tt, Ed = Xr, Pd = en, Od = Ls, jd = tn, Nd = Ht, Id = rn, qd = nn, Md = sn, Td = an, Rd = on, Ad = ln, Cd = dn, Vd = cn;
4055
+ function Dd(e = !1) {
4056
4056
  const t = [
4057
4057
  // any
4058
+ Md.default,
4058
4059
  Td.default,
4059
4060
  Rd.default,
4060
4061
  Ad.default,
4061
4062
  Cd.default,
4062
4063
  Vd.default,
4063
- Dd.default,
4064
4064
  // object
4065
+ jd.default,
4065
4066
  Nd.default,
4067
+ Od.default,
4066
4068
  Id.default,
4067
- jd.default,
4068
- qd.default,
4069
- Md.default
4069
+ qd.default
4070
4070
  ];
4071
- return e ? t.push(kd.default, Pd.default) : t.push(Sd.default, Ed.default), t.push(Od.default), t;
4071
+ return e ? t.push(Sd.default, Ed.default) : t.push(wd.default, kd.default), t.push(Pd.default), t;
4072
4072
  }
4073
- Yr.default = Fd;
4073
+ Yr.default = Dd;
4074
4074
  var un = {}, fn = {};
4075
4075
  Object.defineProperty(fn, "__esModule", { value: !0 });
4076
- const ee = H, zd = {
4076
+ const ee = H, Fd = {
4077
4077
  message: ({ schemaCode: e }) => (0, ee.str)`must match format "${e}"`,
4078
4078
  params: ({ schemaCode: e }) => (0, ee._)`{format: ${e}}`
4079
- }, Ud = {
4079
+ }, zd = {
4080
4080
  keyword: "format",
4081
4081
  type: ["number", "string"],
4082
4082
  schemaType: "string",
4083
4083
  $data: !0,
4084
- error: zd,
4084
+ error: Fd,
4085
4085
  code(e, t) {
4086
4086
  const { gen: r, data: n, $data: s, schema: a, schemaCode: o, it: i } = e, { opts: d, errSchemaPath: c, schemaEnv: u, self: h } = i;
4087
4087
  if (!d.validateFormats)
@@ -4136,10 +4136,10 @@ const ee = H, zd = {
4136
4136
  }
4137
4137
  }
4138
4138
  };
4139
- fn.default = Ud;
4139
+ fn.default = zd;
4140
4140
  Object.defineProperty(un, "__esModule", { value: !0 });
4141
- const Ld = fn, Hd = [Ld.default];
4142
- un.default = Hd;
4141
+ const Ud = fn, Ld = [Ud.default];
4142
+ un.default = Ld;
4143
4143
  var Ye = {};
4144
4144
  Object.defineProperty(Ye, "__esModule", { value: !0 });
4145
4145
  Ye.contentVocabulary = Ye.metadataVocabulary = void 0;
@@ -4158,15 +4158,15 @@ Ye.contentVocabulary = [
4158
4158
  "contentSchema"
4159
4159
  ];
4160
4160
  Object.defineProperty(Cr, "__esModule", { value: !0 });
4161
- const Kd = Vr, Bd = Fr, Gd = Yr, Jd = un, Cn = Ye, xd = [
4161
+ const Hd = Vr, Kd = Fr, Bd = Yr, Gd = un, Cn = Ye, Jd = [
4162
+ Hd.default,
4162
4163
  Kd.default,
4163
- Bd.default,
4164
- (0, Gd.default)(),
4165
- Jd.default,
4164
+ (0, Bd.default)(),
4165
+ Gd.default,
4166
4166
  Cn.metadataVocabulary,
4167
4167
  Cn.contentVocabulary
4168
4168
  ];
4169
- Cr.default = xd;
4169
+ Cr.default = Jd;
4170
4170
  var mn = {}, Kt = {};
4171
4171
  Object.defineProperty(Kt, "__esModule", { value: !0 });
4172
4172
  Kt.DiscrError = void 0;
@@ -4175,14 +4175,14 @@ var Vn;
4175
4175
  e.Tag = "tag", e.Mapping = "mapping";
4176
4176
  })(Vn || (Kt.DiscrError = Vn = {}));
4177
4177
  Object.defineProperty(mn, "__esModule", { value: !0 });
4178
- const Ge = H, br = Kt, Dn = ce, Wd = Xe, Zd = N, Yd = {
4178
+ const Ge = H, br = Kt, Dn = ce, xd = Xe, Wd = N, Zd = {
4179
4179
  message: ({ params: { discrError: e, tagName: t } }) => e === br.DiscrError.Tag ? `tag "${t}" must be string` : `value of tag "${t}" must be in oneOf`,
4180
4180
  params: ({ params: { discrError: e, tag: t, tagName: r } }) => (0, Ge._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`
4181
- }, Qd = {
4181
+ }, Yd = {
4182
4182
  keyword: "discriminator",
4183
4183
  type: "object",
4184
4184
  schemaType: "object",
4185
- error: Yd,
4185
+ error: Zd,
4186
4186
  code(e) {
4187
4187
  const { gen: t, data: r, schema: n, parentSchema: s, it: a } = e, { oneOf: o } = s;
4188
4188
  if (!a.opts.discriminator)
@@ -4213,10 +4213,10 @@ const Ge = H, br = Kt, Dn = ce, Wd = Xe, Zd = N, Yd = {
4213
4213
  let p = !0;
4214
4214
  for (let E = 0; E < o.length; E++) {
4215
4215
  let O = o[E];
4216
- if (O != null && O.$ref && !(0, Zd.schemaHasRulesButRef)(O, a.self.RULES)) {
4216
+ if (O != null && O.$ref && !(0, Wd.schemaHasRulesButRef)(O, a.self.RULES)) {
4217
4217
  const K = O.$ref;
4218
4218
  if (O = Dn.resolveRef.call(a.self, a.schemaEnv.root, a.baseId, K), O instanceof Dn.SchemaEnv && (O = O.schema), O === void 0)
4219
- throw new Wd.default(a.opts.uriResolver, a.baseId, K);
4219
+ throw new xd.default(a.opts.uriResolver, a.baseId, K);
4220
4220
  }
4221
4221
  const C = (b = O == null ? void 0 : O.properties) === null || b === void 0 ? void 0 : b[i];
4222
4222
  if (typeof C != "object")
@@ -4246,8 +4246,8 @@ const Ge = H, br = Kt, Dn = ce, Wd = Xe, Zd = N, Yd = {
4246
4246
  }
4247
4247
  }
4248
4248
  };
4249
- mn.default = Qd;
4250
- const Xd = "http://json-schema.org/draft-07/schema#", ec = "http://json-schema.org/draft-07/schema#", tc = "Core schema meta-schema", rc = {
4249
+ mn.default = Yd;
4250
+ const Qd = "http://json-schema.org/draft-07/schema#", Xd = "http://json-schema.org/draft-07/schema#", ec = "Core schema meta-schema", tc = {
4251
4251
  schemaArray: {
4252
4252
  type: "array",
4253
4253
  minItems: 1,
@@ -4288,10 +4288,10 @@ const Xd = "http://json-schema.org/draft-07/schema#", ec = "http://json-schema.o
4288
4288
  uniqueItems: !0,
4289
4289
  default: []
4290
4290
  }
4291
- }, nc = [
4291
+ }, rc = [
4292
4292
  "object",
4293
4293
  "boolean"
4294
- ], sc = {
4294
+ ], nc = {
4295
4295
  $id: {
4296
4296
  type: "string",
4297
4297
  format: "uri-reference"
@@ -4479,18 +4479,18 @@ const Xd = "http://json-schema.org/draft-07/schema#", ec = "http://json-schema.o
4479
4479
  not: {
4480
4480
  $ref: "#"
4481
4481
  }
4482
- }, ac = {
4483
- $schema: Xd,
4484
- $id: ec,
4485
- title: tc,
4486
- definitions: rc,
4487
- type: nc,
4488
- properties: sc,
4482
+ }, sc = {
4483
+ $schema: Qd,
4484
+ $id: Xd,
4485
+ title: ec,
4486
+ definitions: tc,
4487
+ type: rc,
4488
+ properties: nc,
4489
4489
  default: !0
4490
4490
  };
4491
4491
  (function(e, t) {
4492
4492
  Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv = void 0;
4493
- const r = Jn, n = Cr, s = mn, a = ac, o = ["/properties"], i = "http://json-schema.org/draft-07/schema";
4493
+ const r = Jn, n = Cr, s = mn, a = sc, o = ["/properties"], i = "http://json-schema.org/draft-07/schema";
4494
4494
  class d extends r.default {
4495
4495
  _addVocabularies() {
4496
4496
  super._addVocabularies(), n.default.forEach((_) => this.addVocabulary(_)), this.opts.discriminator && this.addKeyword(s.default);
@@ -4534,7 +4534,7 @@ const Xd = "http://json-schema.org/draft-07/schema#", ec = "http://json-schema.o
4534
4534
  } });
4535
4535
  })(mr, mr.exports);
4536
4536
  var Bs = mr.exports;
4537
- const oc = /* @__PURE__ */ Gn(Bs);
4537
+ const ac = /* @__PURE__ */ Gn(Bs);
4538
4538
  var $r = { exports: {} }, Gs = {};
4539
4539
  (function(e) {
4540
4540
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
@@ -4744,15 +4744,15 @@ var Js = {};
4744
4744
  }
4745
4745
  e.exports = t = i, Object.defineProperty(t, "__esModule", { value: !0 }), t.default = i;
4746
4746
  })($r, $r.exports);
4747
- var ic = $r.exports;
4748
- const lc = /* @__PURE__ */ Gn(ic);
4747
+ var oc = $r.exports;
4748
+ const ic = /* @__PURE__ */ Gn(oc);
4749
4749
  class vt {
4750
4750
  constructor() {
4751
- this.validators = /* @__PURE__ */ new Map(), this.ajv = new oc({
4751
+ this.validators = /* @__PURE__ */ new Map(), this.ajv = new ac({
4752
4752
  allErrors: !0,
4753
4753
  strict: !1,
4754
4754
  validateFormats: !0
4755
- }), lc(this.ajv), this.ajv.addFormat("textarea", () => !0), this.ajv.addFormat("password", () => !0);
4755
+ }), ic(this.ajv), this.ajv.addFormat("textarea", () => !0), this.ajv.addFormat("password", () => !0);
4756
4756
  }
4757
4757
  /**
4758
4758
  * Validate data against a JSON Schema
@@ -4897,7 +4897,7 @@ class vt {
4897
4897
  }
4898
4898
  }
4899
4899
  const xs = Symbol("quickforms-context");
4900
- function dc(e) {
4900
+ function lc(e) {
4901
4901
  Zs(xs, e);
4902
4902
  }
4903
4903
  function rt() {
@@ -4906,31 +4906,31 @@ function rt() {
4906
4906
  function Ie(e) {
4907
4907
  return `field-${e.replace(/\./g, "-")}`;
4908
4908
  }
4909
- function Uf(e, t) {
4909
+ function Df(e, t) {
4910
4910
  return e.title || t.split(".").pop() || t;
4911
4911
  }
4912
- function cc(e) {
4912
+ function dc(e) {
4913
4913
  const t = e["x-hint"];
4914
4914
  return t || e.description;
4915
4915
  }
4916
- function Lf(e) {
4916
+ function Ff(e) {
4917
4917
  return e == null ? !0 : typeof e == "string" ? e.trim() === "" : Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1;
4918
4918
  }
4919
- function Hf(...e) {
4919
+ function zf(...e) {
4920
4920
  return e.filter(Boolean).join(".");
4921
4921
  }
4922
4922
  const Fn = new vt();
4923
- function uc(e) {
4923
+ function cc(e) {
4924
4924
  return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e);
4925
4925
  }
4926
- function fc(e) {
4926
+ function uc(e) {
4927
4927
  try {
4928
4928
  return new URL(e), !0;
4929
4929
  } catch {
4930
4930
  return !1;
4931
4931
  }
4932
4932
  }
4933
- function mc(e, t) {
4933
+ function fc(e, t) {
4934
4934
  let r = null;
4935
4935
  return (...n) => new Promise((s) => {
4936
4936
  r && clearTimeout(r), r = setTimeout(async () => {
@@ -4982,9 +4982,9 @@ function Ee(e, t, r = {}) {
4982
4982
  } catch {
4983
4983
  console.warn("Invalid regex pattern:", t.pattern);
4984
4984
  }
4985
- if (t.format === "email" && !uc(q))
4985
+ if (t.format === "email" && !cc(q))
4986
4986
  return d("format", "Invalid email address");
4987
- if ((t.format === "url" || t.format === "uri") && !fc(q))
4987
+ if ((t.format === "url" || t.format === "uri") && !uc(q))
4988
4988
  return d("format", "Invalid URL");
4989
4989
  }
4990
4990
  if ((t.type === "number" || t.type === "integer") && q !== "") {
@@ -5040,7 +5040,7 @@ function Ee(e, t, r = {}) {
5040
5040
  return console.error("Custom validator error for", e, ":", z), "Validation error";
5041
5041
  }
5042
5042
  return !0;
5043
- }, h = c(), w = h && (o != null && o[e]) ? mc(u, h) : u, { value: b, errorMessage: _, errors: g, setValue: p, setTouched: m, meta: y } = oa(
5043
+ }, h = c(), w = h && (o != null && o[e]) ? fc(u, h) : u, { value: b, errorMessage: _, errors: g, setValue: p, setTouched: m, meta: y } = aa(
5044
5044
  e,
5045
5045
  s === "NoValidation" ? void 0 : w,
5046
5046
  {
@@ -5049,7 +5049,7 @@ function Ee(e, t, r = {}) {
5049
5049
  validateOnMount: !1
5050
5050
  }
5051
5051
  ), S = J(() => r.label !== void 0 ? r.label : t.title || e), E = J(() => {
5052
- const q = cc(t);
5052
+ const q = dc(t);
5053
5053
  if (q)
5054
5054
  return n != null && n.hintRenderer ? n.hintRenderer(q, {
5055
5055
  schema: t,
@@ -5077,7 +5077,7 @@ function Ee(e, t, r = {}) {
5077
5077
  required: C
5078
5078
  };
5079
5079
  }
5080
- const hc = /* @__PURE__ */ me({
5080
+ const mc = /* @__PURE__ */ me({
5081
5081
  __name: "StringField",
5082
5082
  props: {
5083
5083
  schema: { type: Object, required: !0 },
@@ -5104,13 +5104,13 @@ const hc = /* @__PURE__ */ me({
5104
5104
  for (const [n, s] of t)
5105
5105
  r[n] = s;
5106
5106
  return r;
5107
- }, pc = { class: "quickform-field quickform-string-field" }, yc = ["for"], vc = {
5107
+ }, hc = { class: "quickform-field quickform-string-field" }, pc = ["for"], yc = {
5108
5108
  key: 0,
5109
5109
  class: "quickform-required"
5110
- }, _c = ["id", "disabled", "readonly", "placeholder", "minlength", "maxlength", "aria-describedby", "aria-invalid"], gc = {
5110
+ }, vc = ["id", "disabled", "readonly", "placeholder", "minlength", "maxlength", "aria-describedby", "aria-invalid"], _c = {
5111
5111
  key: 1,
5112
5112
  class: "quickform-input-wrapper"
5113
- }, bc = ["id", "type", "disabled", "readonly", "placeholder", "minlength", "maxlength", "pattern", "aria-describedby", "aria-invalid"], $c = ["aria-label"], wc = {
5113
+ }, gc = ["id", "type", "disabled", "readonly", "placeholder", "minlength", "maxlength", "pattern", "aria-describedby", "aria-invalid"], bc = ["aria-label"], $c = {
5114
5114
  key: 0,
5115
5115
  xmlns: "http://www.w3.org/2000/svg",
5116
5116
  width: "20",
@@ -5121,7 +5121,7 @@ const hc = /* @__PURE__ */ me({
5121
5121
  "stroke-width": "2",
5122
5122
  "stroke-linecap": "round",
5123
5123
  "stroke-linejoin": "round"
5124
- }, Sc = {
5124
+ }, wc = {
5125
5125
  key: 1,
5126
5126
  xmlns: "http://www.w3.org/2000/svg",
5127
5127
  width: "20",
@@ -5132,13 +5132,13 @@ const hc = /* @__PURE__ */ me({
5132
5132
  "stroke-width": "2",
5133
5133
  "stroke-linecap": "round",
5134
5134
  "stroke-linejoin": "round"
5135
- }, kc = ["id"], Ec = ["innerHTML"], Pc = {
5135
+ }, Sc = ["id"], kc = ["innerHTML"], Ec = {
5136
5136
  key: 3,
5137
5137
  class: "quickform-error"
5138
5138
  };
5139
- function Oc(e, t, r, n, s, a) {
5139
+ function Pc(e, t, r, n, s, a) {
5140
5140
  var o, i;
5141
- return I(), M("div", pc, [
5141
+ return I(), M("div", hc, [
5142
5142
  U("label", {
5143
5143
  for: n.fieldId,
5144
5144
  class: "quickform-label"
@@ -5148,8 +5148,8 @@ function Oc(e, t, r, n, s, a) {
5148
5148
  1
5149
5149
  /* TEXT */
5150
5150
  ),
5151
- n.props.schema.required ? (I(), M("span", vc, "*")) : G("v-if", !0)
5152
- ], 8, yc),
5151
+ n.props.schema.required ? (I(), M("span", yc, "*")) : G("v-if", !0)
5152
+ ], 8, pc),
5153
5153
  n.isTextarea ? ze((I(), M("textarea", {
5154
5154
  key: 0,
5155
5155
  id: n.fieldId,
@@ -5166,9 +5166,9 @@ function Oc(e, t, r, n, s, a) {
5166
5166
  onBlur: t[2] || (t[2] = (d) => n.isFocused = !1),
5167
5167
  onMouseenter: t[3] || (t[3] = (d) => n.isHovered = !0),
5168
5168
  onMouseleave: t[4] || (t[4] = (d) => n.isHovered = !1)
5169
- }, null, 40, _c)), [
5169
+ }, null, 40, vc)), [
5170
5170
  [Ln, n.value]
5171
- ]) : (I(), M("div", gc, [
5171
+ ]) : (I(), M("div", _c, [
5172
5172
  ze(U("input", {
5173
5173
  id: n.fieldId,
5174
5174
  "onUpdate:modelValue": t[5] || (t[5] = (d) => n.value = d),
@@ -5186,7 +5186,7 @@ function Oc(e, t, r, n, s, a) {
5186
5186
  onBlur: t[7] || (t[7] = (d) => n.isFocused = !1),
5187
5187
  onMouseenter: t[8] || (t[8] = (d) => n.isHovered = !0),
5188
5188
  onMouseleave: t[9] || (t[9] = (d) => n.isHovered = !1)
5189
- }, null, 42, bc), [
5189
+ }, null, 42, gc), [
5190
5190
  [wr, n.value]
5191
5191
  ]),
5192
5192
  n.isPassword ? (I(), M("button", {
@@ -5196,7 +5196,7 @@ function Oc(e, t, r, n, s, a) {
5196
5196
  "aria-label": n.showPassword ? (o = n.formContext) == null ? void 0 : o.labels.hidePassword : (i = n.formContext) == null ? void 0 : i.labels.showPassword,
5197
5197
  onClick: n.togglePasswordVisibility
5198
5198
  }, [
5199
- n.showPassword ? (I(), M("svg", wc, [...t[10] || (t[10] = [
5199
+ n.showPassword ? (I(), M("svg", $c, [...t[10] || (t[10] = [
5200
5200
  U(
5201
5201
  "path",
5202
5202
  { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" },
@@ -5216,7 +5216,7 @@ function Oc(e, t, r, n, s, a) {
5216
5216
  -1
5217
5217
  /* CACHED */
5218
5218
  )
5219
- ])])) : (I(), M("svg", Sc, [...t[11] || (t[11] = [
5219
+ ])])) : (I(), M("svg", wc, [...t[11] || (t[11] = [
5220
5220
  U(
5221
5221
  "path",
5222
5222
  { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" },
@@ -5236,25 +5236,25 @@ function Oc(e, t, r, n, s, a) {
5236
5236
  /* CACHED */
5237
5237
  )
5238
5238
  ])]))
5239
- ], 8, $c)) : G("v-if", !0)
5239
+ ], 8, bc)) : G("v-if", !0)
5240
5240
  ])),
5241
5241
  n.showHint ? (I(), M("div", {
5242
5242
  key: 2,
5243
5243
  id: `${n.fieldId}-hint`,
5244
5244
  class: "quickform-hint"
5245
5245
  }, [
5246
- U("span", { innerHTML: n.hint }, null, 8, Ec)
5247
- ], 8, kc)) : G("v-if", !0),
5246
+ U("span", { innerHTML: n.hint }, null, 8, kc)
5247
+ ], 8, Sc)) : G("v-if", !0),
5248
5248
  n.errorMessage ? (I(), M(
5249
5249
  "div",
5250
- Pc,
5250
+ Ec,
5251
5251
  X(n.errorMessage),
5252
5252
  1
5253
5253
  /* TEXT */
5254
5254
  )) : G("v-if", !0)
5255
5255
  ]);
5256
5256
  }
5257
- const jc = /* @__PURE__ */ he(hc, [["render", Oc], ["__scopeId", "data-v-ad9ab1f4"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/StringField.vue"]]), Nc = /* @__PURE__ */ me({
5257
+ const Oc = /* @__PURE__ */ he(mc, [["render", Pc], ["__scopeId", "data-v-ad9ab1f4"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/StringField.vue"]]), jc = /* @__PURE__ */ me({
5258
5258
  __name: "NumberField",
5259
5259
  props: {
5260
5260
  schema: { type: Object, required: !0 },
@@ -5270,15 +5270,15 @@ const jc = /* @__PURE__ */ he(hc, [["render", Oc], ["__scopeId", "data-v-ad9ab1f
5270
5270
  const r = e, n = rt(), s = (n == null ? void 0 : n.validationMode) || "ValidateAndShow", { value: a, errorMessage: o, label: i, hint: d, hintMode: c } = Ee(r.path, r.schema, { label: r.label }), u = Ie(r.path), h = fe(!1), w = fe(!1), b = J(() => (r.schema.type === "integer", "number")), _ = J(() => r.schema.multipleOf ? r.schema.multipleOf : r.schema.type === "integer" ? 1 : "any"), g = J(() => !d.value || o.value ? !1 : c.value === "always" ? !0 : c.value === "focus" ? h.value : c.value === "hover" ? w.value : !0), p = { props: r, formContext: n, validationMode: s, value: a, errorMessage: o, label: i, hint: d, hintMode: c, fieldId: u, isFocused: h, isHovered: w, inputType: b, step: _, showHint: g };
5271
5271
  return Object.defineProperty(p, "__isScriptSetup", { enumerable: !1, value: !0 }), p;
5272
5272
  }
5273
- }), Ic = { class: "quickform-field quickform-number-field" }, qc = ["for"], Mc = {
5273
+ }), Nc = { class: "quickform-field quickform-number-field" }, Ic = ["for"], qc = {
5274
5274
  key: 0,
5275
5275
  class: "quickform-required"
5276
- }, Tc = ["id", "type", "disabled", "readonly", "placeholder", "min", "max", "step", "aria-describedby", "aria-invalid"], Rc = ["id"], Ac = ["innerHTML"], Cc = {
5276
+ }, Mc = ["id", "type", "disabled", "readonly", "placeholder", "min", "max", "step", "aria-describedby", "aria-invalid"], Tc = ["id"], Rc = ["innerHTML"], Ac = {
5277
5277
  key: 1,
5278
5278
  class: "quickform-error"
5279
5279
  };
5280
- function Vc(e, t, r, n, s, a) {
5281
- return I(), M("div", Ic, [
5280
+ function Cc(e, t, r, n, s, a) {
5281
+ return I(), M("div", Nc, [
5282
5282
  U("label", {
5283
5283
  for: n.fieldId,
5284
5284
  class: "quickform-label"
@@ -5288,8 +5288,8 @@ function Vc(e, t, r, n, s, a) {
5288
5288
  1
5289
5289
  /* TEXT */
5290
5290
  ),
5291
- n.props.schema.required ? (I(), M("span", Mc, "*")) : G("v-if", !0)
5292
- ], 8, qc),
5291
+ n.props.schema.required ? (I(), M("span", qc, "*")) : G("v-if", !0)
5292
+ ], 8, Ic),
5293
5293
  ze(U("input", {
5294
5294
  id: n.fieldId,
5295
5295
  "onUpdate:modelValue": t[0] || (t[0] = (o) => n.value = o),
@@ -5307,7 +5307,7 @@ function Vc(e, t, r, n, s, a) {
5307
5307
  onBlur: t[2] || (t[2] = (o) => n.isFocused = !1),
5308
5308
  onMouseenter: t[3] || (t[3] = (o) => n.isHovered = !0),
5309
5309
  onMouseleave: t[4] || (t[4] = (o) => n.isHovered = !1)
5310
- }, null, 40, Tc), [
5310
+ }, null, 40, Mc), [
5311
5311
  [
5312
5312
  wr,
5313
5313
  n.value,
@@ -5320,18 +5320,18 @@ function Vc(e, t, r, n, s, a) {
5320
5320
  id: `${n.fieldId}-hint`,
5321
5321
  class: "quickform-hint"
5322
5322
  }, [
5323
- U("span", { innerHTML: n.hint }, null, 8, Ac)
5324
- ], 8, Rc)) : G("v-if", !0),
5323
+ U("span", { innerHTML: n.hint }, null, 8, Rc)
5324
+ ], 8, Tc)) : G("v-if", !0),
5325
5325
  n.errorMessage ? (I(), M(
5326
5326
  "div",
5327
- Cc,
5327
+ Ac,
5328
5328
  X(n.errorMessage),
5329
5329
  1
5330
5330
  /* TEXT */
5331
5331
  )) : G("v-if", !0)
5332
5332
  ]);
5333
5333
  }
5334
- const Dc = /* @__PURE__ */ he(Nc, [["render", Vc], ["__scopeId", "data-v-7def4a8b"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/NumberField.vue"]]), Fc = /* @__PURE__ */ me({
5334
+ const Vc = /* @__PURE__ */ he(jc, [["render", Cc], ["__scopeId", "data-v-7def4a8b"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/NumberField.vue"]]), Dc = /* @__PURE__ */ me({
5335
5335
  __name: "BooleanField",
5336
5336
  props: {
5337
5337
  schema: { type: Object, required: !0 },
@@ -5347,15 +5347,15 @@ const Dc = /* @__PURE__ */ he(Nc, [["render", Vc], ["__scopeId", "data-v-7def4a8
5347
5347
  const r = e, { value: n, errorMessage: s, label: a, hint: o, hintMode: i } = Ee(r.path, r.schema, { label: r.label }), d = Ie(r.path), c = fe(!1), u = fe(!1), h = J(() => !o.value || s.value ? !1 : i.value === "always" ? !0 : i.value === "focus" ? c.value : i.value === "hover" ? u.value : !0), w = { props: r, value: n, errorMessage: s, label: a, hint: o, hintMode: i, fieldId: d, isFocused: c, isHovered: u, showHint: h };
5348
5348
  return Object.defineProperty(w, "__isScriptSetup", { enumerable: !1, value: !0 }), w;
5349
5349
  }
5350
- }), zc = { class: "quickform-field quickform-boolean-field" }, Uc = ["for"], Lc = ["id", "disabled", "readonly", "aria-describedby", "aria-invalid"], Hc = { class: "quickform-checkbox-text" }, Kc = {
5350
+ }), Fc = { class: "quickform-field quickform-boolean-field" }, zc = ["for"], Uc = ["id", "disabled", "readonly", "aria-describedby", "aria-invalid"], Lc = { class: "quickform-checkbox-text" }, Hc = {
5351
5351
  key: 0,
5352
5352
  class: "quickform-required"
5353
- }, Bc = ["id"], Gc = ["innerHTML"], Jc = {
5353
+ }, Kc = ["id"], Bc = ["innerHTML"], Gc = {
5354
5354
  key: 1,
5355
5355
  class: "quickform-error"
5356
5356
  };
5357
- function xc(e, t, r, n, s, a) {
5358
- return I(), M("div", zc, [
5357
+ function Jc(e, t, r, n, s, a) {
5358
+ return I(), M("div", Fc, [
5359
5359
  U("label", {
5360
5360
  for: n.fieldId,
5361
5361
  class: "quickform-checkbox-label",
@@ -5373,35 +5373,35 @@ function xc(e, t, r, n, s, a) {
5373
5373
  "aria-invalid": !!n.errorMessage,
5374
5374
  onFocus: t[1] || (t[1] = (o) => n.isFocused = !0),
5375
5375
  onBlur: t[2] || (t[2] = (o) => n.isFocused = !1)
5376
- }, null, 40, Lc), [
5376
+ }, null, 40, Uc), [
5377
5377
  [Xs, n.value]
5378
5378
  ]),
5379
- U("span", Hc, [
5379
+ U("span", Lc, [
5380
5380
  Ae(
5381
5381
  X(n.label) + " ",
5382
5382
  1
5383
5383
  /* TEXT */
5384
5384
  ),
5385
- n.props.schema.required ? (I(), M("span", Kc, "*")) : G("v-if", !0)
5385
+ n.props.schema.required ? (I(), M("span", Hc, "*")) : G("v-if", !0)
5386
5386
  ])
5387
- ], 40, Uc),
5387
+ ], 40, zc),
5388
5388
  n.showHint ? (I(), M("div", {
5389
5389
  key: 0,
5390
5390
  id: `${n.fieldId}-hint`,
5391
5391
  class: "quickform-hint"
5392
5392
  }, [
5393
- U("span", { innerHTML: n.hint }, null, 8, Gc)
5394
- ], 8, Bc)) : G("v-if", !0),
5393
+ U("span", { innerHTML: n.hint }, null, 8, Bc)
5394
+ ], 8, Kc)) : G("v-if", !0),
5395
5395
  n.errorMessage ? (I(), M(
5396
5396
  "div",
5397
- Jc,
5397
+ Gc,
5398
5398
  X(n.errorMessage),
5399
5399
  1
5400
5400
  /* TEXT */
5401
5401
  )) : G("v-if", !0)
5402
5402
  ]);
5403
5403
  }
5404
- const Wc = /* @__PURE__ */ he(Fc, [["render", xc], ["__scopeId", "data-v-1ff012c7"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/BooleanField.vue"]]), Zc = /* @__PURE__ */ me({
5404
+ const xc = /* @__PURE__ */ he(Dc, [["render", Jc], ["__scopeId", "data-v-1ff012c7"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/BooleanField.vue"]]), Wc = /* @__PURE__ */ me({
5405
5405
  __name: "EnumField",
5406
5406
  props: {
5407
5407
  schema: { type: Object, required: !0 },
@@ -5441,15 +5441,15 @@ const Wc = /* @__PURE__ */ he(Fc, [["render", xc], ["__scopeId", "data-v-1ff012c
5441
5441
  }), p = J(() => !o.value || s.value ? !1 : i.value === "always" ? !0 : i.value === "focus" ? h.value : i.value === "hover" ? w.value : !0), m = { props: r, value: n, errorMessage: s, label: a, hint: o, hintMode: i, formContext: d, fieldId: c, datalistId: u, isFocused: h, isHovered: w, options: b, useAutocomplete: _, placeholder: g, showHint: p };
5442
5442
  return Object.defineProperty(m, "__isScriptSetup", { enumerable: !1, value: !0 }), m;
5443
5443
  }
5444
- }), Yc = { class: "quickform-field quickform-enum-field" }, Qc = ["for"], Xc = {
5444
+ }), Zc = { class: "quickform-field quickform-enum-field" }, Yc = ["for"], Qc = {
5445
5445
  key: 0,
5446
5446
  class: "quickform-required"
5447
- }, eu = ["id", "disabled", "placeholder", "aria-describedby", "aria-invalid"], tu = ["value"], ru = ["id", "disabled", "aria-describedby", "aria-invalid"], nu = { value: "" }, su = ["value"], au = ["id"], ou = ["innerHTML"], iu = {
5447
+ }, Xc = ["id", "disabled", "placeholder", "aria-describedby", "aria-invalid"], eu = ["value"], tu = ["id", "disabled", "aria-describedby", "aria-invalid"], ru = { value: "" }, nu = ["value"], su = ["id"], au = ["innerHTML"], ou = {
5448
5448
  key: 3,
5449
5449
  class: "quickform-error"
5450
5450
  };
5451
- function lu(e, t, r, n, s, a) {
5452
- return I(), M("div", Yc, [
5451
+ function iu(e, t, r, n, s, a) {
5452
+ return I(), M("div", Zc, [
5453
5453
  U("label", {
5454
5454
  for: n.fieldId,
5455
5455
  class: "quickform-label"
@@ -5459,8 +5459,8 @@ function lu(e, t, r, n, s, a) {
5459
5459
  1
5460
5460
  /* TEXT */
5461
5461
  ),
5462
- n.props.schema.required ? (I(), M("span", Xc, "*")) : G("v-if", !0)
5463
- ], 8, Qc),
5462
+ n.props.schema.required ? (I(), M("span", Qc, "*")) : G("v-if", !0)
5463
+ ], 8, Yc),
5464
5464
  G(" Use datalist for autocomplete when enabled "),
5465
5465
  n.useAutocomplete ? ze((I(), M("input", {
5466
5466
  key: 0,
@@ -5476,7 +5476,7 @@ function lu(e, t, r, n, s, a) {
5476
5476
  onBlur: t[2] || (t[2] = (o) => n.isFocused = !1),
5477
5477
  onMouseenter: t[3] || (t[3] = (o) => n.isHovered = !0),
5478
5478
  onMouseleave: t[4] || (t[4] = (o) => n.isHovered = !1)
5479
- }, null, 40, eu)), [
5479
+ }, null, 40, Xc)), [
5480
5480
  [Ln, n.value]
5481
5481
  ]) : G("v-if", !0),
5482
5482
  U("datalist", { id: n.datalistId }, [
@@ -5486,7 +5486,7 @@ function lu(e, t, r, n, s, a) {
5486
5486
  We(n.options, (o) => (I(), M("option", {
5487
5487
  key: String(o.value),
5488
5488
  value: o.value
5489
- }, X(o.label), 9, tu))),
5489
+ }, X(o.label), 9, eu))),
5490
5490
  128
5491
5491
  /* KEYED_FRAGMENT */
5492
5492
  ))
@@ -5507,7 +5507,7 @@ function lu(e, t, r, n, s, a) {
5507
5507
  }, [
5508
5508
  U(
5509
5509
  "option",
5510
- nu,
5510
+ ru,
5511
5511
  X(n.placeholder),
5512
5512
  1
5513
5513
  /* TEXT */
@@ -5518,11 +5518,11 @@ function lu(e, t, r, n, s, a) {
5518
5518
  We(n.options, (o) => (I(), M("option", {
5519
5519
  key: String(o.value),
5520
5520
  value: o.value
5521
- }, X(o.label), 9, su))),
5521
+ }, X(o.label), 9, nu))),
5522
5522
  128
5523
5523
  /* KEYED_FRAGMENT */
5524
5524
  ))
5525
- ], 40, ru)), [
5525
+ ], 40, tu)), [
5526
5526
  [ea, n.value]
5527
5527
  ]),
5528
5528
  n.showHint ? (I(), M("div", {
@@ -5530,18 +5530,18 @@ function lu(e, t, r, n, s, a) {
5530
5530
  id: `${n.fieldId}-hint`,
5531
5531
  class: "quickform-hint"
5532
5532
  }, [
5533
- U("span", { innerHTML: n.hint }, null, 8, ou)
5534
- ], 8, au)) : G("v-if", !0),
5533
+ U("span", { innerHTML: n.hint }, null, 8, au)
5534
+ ], 8, su)) : G("v-if", !0),
5535
5535
  n.errorMessage ? (I(), M(
5536
5536
  "div",
5537
- iu,
5537
+ ou,
5538
5538
  X(n.errorMessage),
5539
5539
  1
5540
5540
  /* TEXT */
5541
5541
  )) : G("v-if", !0)
5542
5542
  ]);
5543
5543
  }
5544
- const du = /* @__PURE__ */ he(Zc, [["render", lu], ["__scopeId", "data-v-666cc49b"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/EnumField.vue"]]), cu = /* @__PURE__ */ me({
5544
+ const lu = /* @__PURE__ */ he(Wc, [["render", iu], ["__scopeId", "data-v-666cc49b"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/EnumField.vue"]]), du = /* @__PURE__ */ me({
5545
5545
  __name: "DateField",
5546
5546
  props: {
5547
5547
  schema: { type: Object, required: !0 },
@@ -5557,15 +5557,15 @@ const du = /* @__PURE__ */ he(Zc, [["render", lu], ["__scopeId", "data-v-666cc49
5557
5557
  const r = e, { value: n, errorMessage: s, label: a, hint: o, hintMode: i } = Ee(r.path, r.schema, { label: r.label }), d = Ie(r.path), c = fe(!1), u = fe(!1), h = J(() => r.schema.format === "time" ? "time" : r.schema.format === "date-time" ? "datetime-local" : "date"), w = J(() => !o.value || s.value ? !1 : i.value === "always" ? !0 : i.value === "focus" ? c.value : i.value === "hover" ? u.value : !0), b = { props: r, value: n, errorMessage: s, label: a, hint: o, hintMode: i, fieldId: d, isFocused: c, isHovered: u, inputType: h, showHint: w };
5558
5558
  return Object.defineProperty(b, "__isScriptSetup", { enumerable: !1, value: !0 }), b;
5559
5559
  }
5560
- }), uu = { class: "quickform-field quickform-date-field" }, fu = ["for"], mu = {
5560
+ }), cu = { class: "quickform-field quickform-date-field" }, uu = ["for"], fu = {
5561
5561
  key: 0,
5562
5562
  class: "quickform-required"
5563
- }, hu = ["id", "type", "disabled", "readonly", "aria-describedby", "aria-invalid"], pu = ["id"], yu = ["innerHTML"], vu = {
5563
+ }, mu = ["id", "type", "disabled", "readonly", "aria-describedby", "aria-invalid"], hu = ["id"], pu = ["innerHTML"], yu = {
5564
5564
  key: 1,
5565
5565
  class: "quickform-error"
5566
5566
  };
5567
- function _u(e, t, r, n, s, a) {
5568
- return I(), M("div", uu, [
5567
+ function vu(e, t, r, n, s, a) {
5568
+ return I(), M("div", cu, [
5569
5569
  U("label", {
5570
5570
  for: n.fieldId,
5571
5571
  class: "quickform-label"
@@ -5575,8 +5575,8 @@ function _u(e, t, r, n, s, a) {
5575
5575
  1
5576
5576
  /* TEXT */
5577
5577
  ),
5578
- n.props.schema.required ? (I(), M("span", mu, "*")) : G("v-if", !0)
5579
- ], 8, fu),
5578
+ n.props.schema.required ? (I(), M("span", fu, "*")) : G("v-if", !0)
5579
+ ], 8, uu),
5580
5580
  ze(U("input", {
5581
5581
  id: n.fieldId,
5582
5582
  "onUpdate:modelValue": t[0] || (t[0] = (o) => n.value = o),
@@ -5590,7 +5590,7 @@ function _u(e, t, r, n, s, a) {
5590
5590
  onBlur: t[2] || (t[2] = (o) => n.isFocused = !1),
5591
5591
  onMouseenter: t[3] || (t[3] = (o) => n.isHovered = !0),
5592
5592
  onMouseleave: t[4] || (t[4] = (o) => n.isHovered = !1)
5593
- }, null, 40, hu), [
5593
+ }, null, 40, mu), [
5594
5594
  [wr, n.value]
5595
5595
  ]),
5596
5596
  n.showHint ? (I(), M("div", {
@@ -5598,18 +5598,18 @@ function _u(e, t, r, n, s, a) {
5598
5598
  id: `${n.fieldId}-hint`,
5599
5599
  class: "quickform-hint"
5600
5600
  }, [
5601
- U("span", { innerHTML: n.hint }, null, 8, yu)
5602
- ], 8, pu)) : G("v-if", !0),
5601
+ U("span", { innerHTML: n.hint }, null, 8, pu)
5602
+ ], 8, hu)) : G("v-if", !0),
5603
5603
  n.errorMessage ? (I(), M(
5604
5604
  "div",
5605
- vu,
5605
+ yu,
5606
5606
  X(n.errorMessage),
5607
5607
  1
5608
5608
  /* TEXT */
5609
5609
  )) : G("v-if", !0)
5610
5610
  ]);
5611
5611
  }
5612
- const gu = /* @__PURE__ */ he(cu, [["render", _u], ["__scopeId", "data-v-e0ddab64"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/DateField.vue"]]), bu = /* @__PURE__ */ me({
5612
+ const _u = /* @__PURE__ */ he(du, [["render", vu], ["__scopeId", "data-v-e0ddab64"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/DateField.vue"]]), gu = /* @__PURE__ */ me({
5613
5613
  __name: "FieldRenderer",
5614
5614
  props: {
5615
5615
  schema: { type: Object, required: !0 },
@@ -5652,11 +5652,11 @@ const gu = /* @__PURE__ */ he(cu, [["render", _u], ["__scopeId", "data-v-e0ddab6
5652
5652
  }), i = { props: r, context: n, isVisible: s, isFieldReadonly: a, component: o };
5653
5653
  return Object.defineProperty(i, "__isScriptSetup", { enumerable: !1, value: !0 }), i;
5654
5654
  }
5655
- }), $u = {
5655
+ }), bu = {
5656
5656
  key: 1,
5657
5657
  class: "quickform-no-renderer"
5658
5658
  };
5659
- function wu(e, t, r, n, s, a) {
5659
+ function $u(e, t, r, n, s, a) {
5660
5660
  return I(), M(
5661
5661
  je,
5662
5662
  null,
@@ -5674,7 +5674,7 @@ function wu(e, t, r, n, s, a) {
5674
5674
  label: r.label,
5675
5675
  disabled: r.disabled || n.context.disabled,
5676
5676
  readonly: n.isFieldReadonly
5677
- }, null, 8, ["schema", "uischema", "path", "label", "disabled", "readonly"])) : (I(), M("div", $u, [
5677
+ }, null, 8, ["schema", "uischema", "path", "label", "disabled", "readonly"])) : (I(), M("div", bu, [
5678
5678
  U(
5679
5679
  "p",
5680
5680
  null,
@@ -5699,7 +5699,7 @@ function wu(e, t, r, n, s, a) {
5699
5699
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
5700
5700
  );
5701
5701
  }
5702
- const _t = /* @__PURE__ */ he(bu, [["render", wu], ["__scopeId", "data-v-abf28e2e"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/FieldRenderer.vue"]]), Su = /* @__PURE__ */ me({
5702
+ const _t = /* @__PURE__ */ he(gu, [["render", $u], ["__scopeId", "data-v-abf28e2e"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/FieldRenderer.vue"]]), wu = /* @__PURE__ */ me({
5703
5703
  __name: "ObjectField",
5704
5704
  props: {
5705
5705
  schema: { type: Object, required: !0 },
@@ -5719,39 +5719,39 @@ const _t = /* @__PURE__ */ he(bu, [["render", wu], ["__scopeId", "data-v-abf28e2
5719
5719
  })) : []), d = { props: r, label: n, hint: s, errorMessage: a, fieldId: o, properties: i, FieldRenderer: _t };
5720
5720
  return Object.defineProperty(d, "__isScriptSetup", { enumerable: !1, value: !0 }), d;
5721
5721
  }
5722
- }), ku = { class: "quickform-field quickform-object-field" }, Eu = ["id", "aria-describedby"], Pu = {
5722
+ }), Su = { class: "quickform-field quickform-object-field" }, ku = ["id", "aria-describedby"], Eu = {
5723
5723
  key: 0,
5724
5724
  class: "quickform-legend"
5725
- }, Ou = {
5725
+ }, Pu = {
5726
5726
  key: 0,
5727
5727
  class: "quickform-required"
5728
- }, ju = ["id"], Nu = ["innerHTML"], Iu = { class: "quickform-object-content" }, qu = {
5728
+ }, Ou = ["id"], ju = ["innerHTML"], Nu = { class: "quickform-object-content" }, Iu = {
5729
5729
  key: 2,
5730
5730
  class: "quickform-error"
5731
5731
  };
5732
- function Mu(e, t, r, n, s, a) {
5733
- return I(), M("div", ku, [
5732
+ function qu(e, t, r, n, s, a) {
5733
+ return I(), M("div", Su, [
5734
5734
  U("fieldset", {
5735
5735
  id: n.fieldId,
5736
5736
  class: "quickform-fieldset",
5737
5737
  "aria-describedby": n.hint ? `${n.fieldId}-hint` : void 0
5738
5738
  }, [
5739
- n.label ? (I(), M("legend", Pu, [
5739
+ n.label ? (I(), M("legend", Eu, [
5740
5740
  Ae(
5741
5741
  X(n.label) + " ",
5742
5742
  1
5743
5743
  /* TEXT */
5744
5744
  ),
5745
- n.props.schema.required ? (I(), M("span", Ou, "*")) : G("v-if", !0)
5745
+ n.props.schema.required ? (I(), M("span", Pu, "*")) : G("v-if", !0)
5746
5746
  ])) : G("v-if", !0),
5747
5747
  n.hint ? (I(), M("div", {
5748
5748
  key: 1,
5749
5749
  id: `${n.fieldId}-hint`,
5750
5750
  class: "quickform-hint quickform-object-hint"
5751
5751
  }, [
5752
- U("span", { innerHTML: n.hint }, null, 8, Nu)
5753
- ], 8, ju)) : G("v-if", !0),
5754
- U("div", Iu, [
5752
+ U("span", { innerHTML: n.hint }, null, 8, ju)
5753
+ ], 8, Ou)) : G("v-if", !0),
5754
+ U("div", Nu, [
5755
5755
  (I(!0), M(
5756
5756
  je,
5757
5757
  null,
@@ -5768,15 +5768,15 @@ function Mu(e, t, r, n, s, a) {
5768
5768
  ]),
5769
5769
  n.errorMessage ? (I(), M(
5770
5770
  "div",
5771
- qu,
5771
+ Iu,
5772
5772
  X(n.errorMessage),
5773
5773
  1
5774
5774
  /* TEXT */
5775
5775
  )) : G("v-if", !0)
5776
- ], 8, Eu)
5776
+ ], 8, ku)
5777
5777
  ]);
5778
5778
  }
5779
- const Tu = /* @__PURE__ */ he(Su, [["render", Mu], ["__scopeId", "data-v-8012fc15"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/ObjectField.vue"]]), Ru = /* @__PURE__ */ me({
5779
+ const Mu = /* @__PURE__ */ he(wu, [["render", qu], ["__scopeId", "data-v-8012fc15"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/ObjectField.vue"]]), Tu = /* @__PURE__ */ me({
5780
5780
  __name: "ArrayField",
5781
5781
  props: {
5782
5782
  schema: { type: Object, required: !0 },
@@ -5827,42 +5827,42 @@ const Tu = /* @__PURE__ */ he(Su, [["render", Mu], ["__scopeId", "data-v-8012fc1
5827
5827
  }, FieldRenderer: _t };
5828
5828
  return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
5829
5829
  }
5830
- }), Au = { class: "quickform-field quickform-array-field" }, Cu = ["id", "aria-describedby"], Vu = {
5830
+ }), Ru = { class: "quickform-field quickform-array-field" }, Au = ["id", "aria-describedby"], Cu = {
5831
5831
  key: 0,
5832
5832
  class: "quickform-legend"
5833
- }, Du = {
5833
+ }, Vu = {
5834
5834
  key: 0,
5835
5835
  class: "quickform-required"
5836
- }, Fu = ["id"], zu = ["innerHTML"], Uu = { class: "quickform-array-items" }, Lu = { class: "quickform-array-item-content" }, Hu = { class: "quickform-array-item-actions" }, Ku = ["disabled", "onClick"], Bu = ["disabled", "onClick"], Gu = ["disabled", "onClick", "title"], Ju = {
5836
+ }, Du = ["id"], Fu = ["innerHTML"], zu = { class: "quickform-array-items" }, Uu = { class: "quickform-array-item-content" }, Lu = { class: "quickform-array-item-actions" }, Hu = ["disabled", "onClick"], Ku = ["disabled", "onClick"], Bu = ["disabled", "onClick", "title"], Gu = {
5837
5837
  key: 0,
5838
5838
  class: "quickform-array-empty"
5839
- }, xu = { class: "quickform-array-footer" }, Wu = ["disabled"], Zu = {
5839
+ }, Ju = { class: "quickform-array-footer" }, xu = ["disabled"], Wu = {
5840
5840
  key: 2,
5841
5841
  class: "quickform-error"
5842
5842
  };
5843
- function Yu(e, t, r, n, s, a) {
5844
- return I(), M("div", Au, [
5843
+ function Zu(e, t, r, n, s, a) {
5844
+ return I(), M("div", Ru, [
5845
5845
  U("fieldset", {
5846
5846
  id: n.fieldId,
5847
5847
  class: "quickform-fieldset",
5848
5848
  "aria-describedby": n.hint ? `${n.fieldId}-hint` : void 0
5849
5849
  }, [
5850
- n.label ? (I(), M("legend", Vu, [
5850
+ n.label ? (I(), M("legend", Cu, [
5851
5851
  Ae(
5852
5852
  X(n.label) + " ",
5853
5853
  1
5854
5854
  /* TEXT */
5855
5855
  ),
5856
- n.props.schema.required ? (I(), M("span", Du, "*")) : G("v-if", !0)
5856
+ n.props.schema.required ? (I(), M("span", Vu, "*")) : G("v-if", !0)
5857
5857
  ])) : G("v-if", !0),
5858
5858
  n.hint ? (I(), M("div", {
5859
5859
  key: 1,
5860
5860
  id: `${n.fieldId}-hint`,
5861
5861
  class: "quickform-hint quickform-array-hint"
5862
5862
  }, [
5863
- U("span", { innerHTML: n.hint }, null, 8, zu)
5864
- ], 8, Fu)) : G("v-if", !0),
5865
- U("div", Uu, [
5863
+ U("span", { innerHTML: n.hint }, null, 8, Fu)
5864
+ ], 8, Du)) : G("v-if", !0),
5865
+ U("div", zu, [
5866
5866
  (I(!0), M(
5867
5867
  je,
5868
5868
  null,
@@ -5870,7 +5870,7 @@ function Yu(e, t, r, n, s, a) {
5870
5870
  key: i,
5871
5871
  class: "quickform-array-item"
5872
5872
  }, [
5873
- U("div", Lu, [
5873
+ U("div", Uu, [
5874
5874
  Hn(n.FieldRenderer, {
5875
5875
  schema: n.itemsSchema,
5876
5876
  path: `${r.path}[${i}]`,
@@ -5879,54 +5879,54 @@ function Yu(e, t, r, n, s, a) {
5879
5879
  readonly: r.readonly
5880
5880
  }, null, 8, ["schema", "path", "label", "disabled", "readonly"])
5881
5881
  ]),
5882
- U("div", Hu, [
5882
+ U("div", Lu, [
5883
5883
  U("button", {
5884
5884
  type: "button",
5885
5885
  class: "quickform-btn-icon",
5886
5886
  disabled: i === 0 || r.disabled || r.readonly,
5887
5887
  onClick: (d) => n.moveItem(i, "up"),
5888
5888
  title: "Move Up"
5889
- }, " ↑ ", 8, Ku),
5889
+ }, " ↑ ", 8, Hu),
5890
5890
  U("button", {
5891
5891
  type: "button",
5892
5892
  class: "quickform-btn-icon",
5893
5893
  disabled: i === n.arrayValue.length - 1 || r.disabled || r.readonly,
5894
5894
  onClick: (d) => n.moveItem(i, "down"),
5895
5895
  title: "Move Down"
5896
- }, " ↓ ", 8, Bu),
5896
+ }, " ↓ ", 8, Ku),
5897
5897
  U("button", {
5898
5898
  type: "button",
5899
5899
  class: "quickform-btn-icon quickform-btn-danger",
5900
5900
  disabled: !n.canRemove,
5901
5901
  onClick: (d) => n.removeItem(i),
5902
5902
  title: n.formContext.labels.removeItem
5903
- }, " × ", 8, Gu)
5903
+ }, " × ", 8, Bu)
5904
5904
  ])
5905
5905
  ]))),
5906
5906
  128
5907
5907
  /* KEYED_FRAGMENT */
5908
5908
  )),
5909
- n.arrayValue.length === 0 ? (I(), M("div", Ju, " No items ")) : G("v-if", !0)
5909
+ n.arrayValue.length === 0 ? (I(), M("div", Gu, " No items ")) : G("v-if", !0)
5910
5910
  ]),
5911
- U("div", xu, [
5911
+ U("div", Ju, [
5912
5912
  U("button", {
5913
5913
  type: "button",
5914
5914
  class: "quickform-btn quickform-btn-secondary",
5915
5915
  disabled: !n.canAdd,
5916
5916
  onClick: n.addItem
5917
- }, " + " + X(n.formContext.labels.addItem), 9, Wu)
5917
+ }, " + " + X(n.formContext.labels.addItem), 9, xu)
5918
5918
  ]),
5919
5919
  n.errorMessage ? (I(), M(
5920
5920
  "div",
5921
- Zu,
5921
+ Wu,
5922
5922
  X(n.errorMessage),
5923
5923
  1
5924
5924
  /* TEXT */
5925
5925
  )) : G("v-if", !0)
5926
- ], 8, Cu)
5926
+ ], 8, Au)
5927
5927
  ]);
5928
5928
  }
5929
- const Qu = /* @__PURE__ */ he(Ru, [["render", Yu], ["__scopeId", "data-v-a0783890"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/ArrayField.vue"]]), Xu = /* @__PURE__ */ me({
5929
+ const Yu = /* @__PURE__ */ he(Tu, [["render", Zu], ["__scopeId", "data-v-a0783890"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/ArrayField.vue"]]), Qu = /* @__PURE__ */ me({
5930
5930
  __name: "OneOfField",
5931
5931
  props: {
5932
5932
  schema: { type: Object, required: !0 },
@@ -5952,39 +5952,39 @@ const Qu = /* @__PURE__ */ he(Ru, [["render", Yu], ["__scopeId", "data-v-a078389
5952
5952
  }, FieldRenderer: _t };
5953
5953
  return Object.defineProperty(_, "__isScriptSetup", { enumerable: !1, value: !0 }), _;
5954
5954
  }
5955
- }), ef = { class: "quickform-field quickform-oneof-field" }, tf = ["id", "aria-describedby"], rf = {
5955
+ }), Xu = { class: "quickform-field quickform-oneof-field" }, ef = ["id", "aria-describedby"], tf = {
5956
5956
  key: 0,
5957
5957
  class: "quickform-legend"
5958
- }, nf = {
5958
+ }, rf = {
5959
5959
  key: 0,
5960
5960
  class: "quickform-required"
5961
- }, sf = ["id"], af = ["innerHTML"], of = { class: "quickform-oneof-selector" }, lf = ["value", "disabled"], df = ["value"], cf = { class: "quickform-oneof-content" }, uf = {
5961
+ }, nf = ["id"], sf = ["innerHTML"], af = { class: "quickform-oneof-selector" }, of = ["value", "disabled"], lf = ["value"], df = { class: "quickform-oneof-content" }, cf = {
5962
5962
  key: 2,
5963
5963
  class: "quickform-error"
5964
5964
  };
5965
- function ff(e, t, r, n, s, a) {
5966
- return I(), M("div", ef, [
5965
+ function uf(e, t, r, n, s, a) {
5966
+ return I(), M("div", Xu, [
5967
5967
  U("fieldset", {
5968
5968
  id: n.fieldId,
5969
5969
  class: "quickform-fieldset",
5970
5970
  "aria-describedby": n.hint ? `${n.fieldId}-hint` : void 0
5971
5971
  }, [
5972
- n.label ? (I(), M("legend", rf, [
5972
+ n.label ? (I(), M("legend", tf, [
5973
5973
  Ae(
5974
5974
  X(n.label) + " ",
5975
5975
  1
5976
5976
  /* TEXT */
5977
5977
  ),
5978
- n.props.schema.required ? (I(), M("span", nf, "*")) : G("v-if", !0)
5978
+ n.props.schema.required ? (I(), M("span", rf, "*")) : G("v-if", !0)
5979
5979
  ])) : G("v-if", !0),
5980
5980
  n.hint ? (I(), M("div", {
5981
5981
  key: 1,
5982
5982
  id: `${n.fieldId}-hint`,
5983
5983
  class: "quickform-hint quickform-oneof-hint"
5984
5984
  }, [
5985
- U("span", { innerHTML: n.hint }, null, 8, af)
5986
- ], 8, sf)) : G("v-if", !0),
5987
- U("div", of, [
5985
+ U("span", { innerHTML: n.hint }, null, 8, sf)
5986
+ ], 8, nf)) : G("v-if", !0),
5987
+ U("div", af, [
5988
5988
  U("select", {
5989
5989
  value: n.selectedIndex,
5990
5990
  onChange: n.handleOptionChange,
@@ -5997,13 +5997,13 @@ function ff(e, t, r, n, s, a) {
5997
5997
  We(n.optionLabels, (o, i) => (I(), M("option", {
5998
5998
  key: i,
5999
5999
  value: i
6000
- }, X(o), 9, df))),
6000
+ }, X(o), 9, lf))),
6001
6001
  128
6002
6002
  /* KEYED_FRAGMENT */
6003
6003
  ))
6004
- ], 40, lf)
6004
+ ], 40, of)
6005
6005
  ]),
6006
- U("div", cf, [
6006
+ U("div", df, [
6007
6007
  n.activeSchema ? (I(), Dt(n.FieldRenderer, {
6008
6008
  key: 0,
6009
6009
  schema: n.activeSchema,
@@ -6014,15 +6014,15 @@ function ff(e, t, r, n, s, a) {
6014
6014
  ]),
6015
6015
  n.errorMessage ? (I(), M(
6016
6016
  "div",
6017
- uf,
6017
+ cf,
6018
6018
  X(n.errorMessage),
6019
6019
  1
6020
6020
  /* TEXT */
6021
6021
  )) : G("v-if", !0)
6022
- ], 8, tf)
6022
+ ], 8, ef)
6023
6023
  ]);
6024
6024
  }
6025
- const Un = /* @__PURE__ */ he(Xu, [["render", ff], ["__scopeId", "data-v-dab625e6"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/OneOfField.vue"]]), mf = /* @__PURE__ */ me({
6025
+ const Un = /* @__PURE__ */ he(Qu, [["render", uf], ["__scopeId", "data-v-dab625e6"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/OneOfField.vue"]]), ff = /* @__PURE__ */ me({
6026
6026
  __name: "AllOfField",
6027
6027
  props: {
6028
6028
  schema: { type: Object, required: !0 },
@@ -6042,9 +6042,9 @@ const Un = /* @__PURE__ */ he(Xu, [["render", ff], ["__scopeId", "data-v-dab625e
6042
6042
  }), c = { props: r, label: n, hint: s, errorMessage: a, fieldId: o, schemaUtils: i, mergedSchema: d, FieldRenderer: _t };
6043
6043
  return Object.defineProperty(c, "__isScriptSetup", { enumerable: !1, value: !0 }), c;
6044
6044
  }
6045
- }), hf = { class: "quickform-field quickform-allof-field" };
6046
- function pf(e, t, r, n, s, a) {
6047
- return I(), M("div", hf, [
6045
+ }), mf = { class: "quickform-field quickform-allof-field" };
6046
+ function hf(e, t, r, n, s, a) {
6047
+ return I(), M("div", mf, [
6048
6048
  G(" If the merged result is an object, ObjectField might be better, but FieldRenderer will dispatch correctly "),
6049
6049
  Hn(n.FieldRenderer, {
6050
6050
  schema: n.mergedSchema,
@@ -6055,7 +6055,7 @@ function pf(e, t, r, n, s, a) {
6055
6055
  }, null, 8, ["schema", "path", "disabled", "readonly", "label"])
6056
6056
  ]);
6057
6057
  }
6058
- const yf = /* @__PURE__ */ he(mf, [["render", pf], ["__scopeId", "data-v-094fd67d"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/AllOfField.vue"]]), vf = /* @__PURE__ */ me({
6058
+ const pf = /* @__PURE__ */ he(ff, [["render", hf], ["__scopeId", "data-v-094fd67d"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/AllOfField.vue"]]), yf = /* @__PURE__ */ me({
6059
6059
  __name: "HiddenField",
6060
6060
  props: {
6061
6061
  schema: { type: Object, required: !0 },
@@ -6075,8 +6075,8 @@ const yf = /* @__PURE__ */ he(mf, [["render", pf], ["__scopeId", "data-v-094fd67
6075
6075
  const s = { props: r, value: n };
6076
6076
  return Object.defineProperty(s, "__isScriptSetup", { enumerable: !1, value: !0 }), s;
6077
6077
  }
6078
- }), _f = ["value"];
6079
- function gf(e, t, r, n, s, a) {
6078
+ }), vf = ["value"];
6079
+ function _f(e, t, r, n, s, a) {
6080
6080
  return I(), M(
6081
6081
  je,
6082
6082
  null,
@@ -6085,47 +6085,47 @@ function gf(e, t, r, n, s, a) {
6085
6085
  U("input", {
6086
6086
  type: "hidden",
6087
6087
  value: n.value
6088
- }, null, 8, _f)
6088
+ }, null, 8, vf)
6089
6089
  ],
6090
6090
  2112
6091
6091
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
6092
6092
  );
6093
6093
  }
6094
- const bf = /* @__PURE__ */ he(vf, [["render", gf], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/HiddenField.vue"]]);
6095
- function $f() {
6096
- const e = new la();
6094
+ const gf = /* @__PURE__ */ he(yf, [["render", _f], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/HiddenField.vue"]]);
6095
+ function bf() {
6096
+ const e = new ia();
6097
6097
  return e.register(
6098
6098
  "hidden",
6099
- bf,
6100
- (t) => pe(100, ma(t))
6099
+ gf,
6100
+ (t) => pe(100, fa(t))
6101
6101
  ), e.register(
6102
6102
  "string",
6103
- jc,
6103
+ Oc,
6104
6104
  (t) => pe(1, Qe(t))
6105
6105
  ), e.register(
6106
6106
  "number",
6107
- Dc,
6108
- (t) => pe(1, da(t))
6107
+ Vc,
6108
+ (t) => pe(1, la(t))
6109
6109
  ), e.register(
6110
6110
  "boolean",
6111
- Wc,
6112
- (t) => pe(1, ca(t))
6111
+ xc,
6112
+ (t) => pe(1, da(t))
6113
6113
  ), e.register(
6114
6114
  "enum",
6115
- du,
6116
- (t) => pe(2, ha(t))
6115
+ lu,
6116
+ (t) => pe(2, ma(t))
6117
6117
  ), e.register(
6118
6118
  "date",
6119
- gu,
6120
- (t) => pe(2, pa(t))
6119
+ _u,
6120
+ (t) => pe(2, ha(t))
6121
6121
  ), e.register(
6122
6122
  "object",
6123
- Tu,
6124
- (t) => pe(1, ua(t))
6123
+ Mu,
6124
+ (t) => pe(1, ca(t))
6125
6125
  ), e.register(
6126
6126
  "array",
6127
- Qu,
6128
- (t) => pe(1, fa(t))
6127
+ Yu,
6128
+ (t) => pe(1, ua(t))
6129
6129
  ), e.register(
6130
6130
  "oneOf",
6131
6131
  Un,
@@ -6133,14 +6133,14 @@ function $f() {
6133
6133
  ), e.register(
6134
6134
  "anyOf",
6135
6135
  Un,
6136
- (t) => pe(10, ya(t))
6136
+ (t) => pe(10, pa(t))
6137
6137
  ), e.register(
6138
6138
  "allOf",
6139
- yf,
6140
- (t) => pe(10, va(t))
6139
+ pf,
6140
+ (t) => pe(10, ya(t))
6141
6141
  ), e;
6142
6142
  }
6143
- const wf = /* @__PURE__ */ me({
6143
+ const $f = /* @__PURE__ */ me({
6144
6144
  __name: "DynamicForm",
6145
6145
  props: {
6146
6146
  schema: { type: Object, required: !0 },
@@ -6151,7 +6151,7 @@ const wf = /* @__PURE__ */ me({
6151
6151
  setup(e, { expose: t, emit: r }) {
6152
6152
  var y, S, E, O;
6153
6153
  t();
6154
- const n = e, s = r, a = new vt(), o = n.options.registry || $f(), { handleSubmit: i, values: d, setValues: c, errors: u, meta: h } = ia({
6154
+ const n = e, s = r, a = new vt(), o = n.options.registry || bf(), { handleSubmit: i, values: d, setValues: c, errors: u, meta: h } = oa({
6155
6155
  initialValues: n.options.useDefaults !== !1 ? { ...a.getDefaultValue(n.schema), ...n.modelValue } : n.modelValue
6156
6156
  }), w = {
6157
6157
  selectPlaceholder: "Select an option...",
@@ -6193,14 +6193,26 @@ const wf = /* @__PURE__ */ me({
6193
6193
  // Start with all custom component defaults from options
6194
6194
  ...n.options.componentDefaults,
6195
6195
  // Then merge in the built-in defaults
6196
- select: { ...b.select, ...(y = n.options.componentDefaults) == null ? void 0 : y.select },
6197
- array: { ...b.array, ...(S = n.options.componentDefaults) == null ? void 0 : S.array },
6198
- number: { ...b.number, ...(E = n.options.componentDefaults) == null ? void 0 : E.number },
6199
- hints: { ...b.hints, ...(O = n.options.componentDefaults) == null ? void 0 : O.hints }
6196
+ select: {
6197
+ ...b.select,
6198
+ ...(y = n.options.componentDefaults) == null ? void 0 : y.select
6199
+ },
6200
+ array: {
6201
+ ...b.array,
6202
+ ...(S = n.options.componentDefaults) == null ? void 0 : S.array
6203
+ },
6204
+ number: {
6205
+ ...b.number,
6206
+ ...(E = n.options.componentDefaults) == null ? void 0 : E.number
6207
+ },
6208
+ hints: {
6209
+ ...b.hints,
6210
+ ...(O = n.options.componentDefaults) == null ? void 0 : O.hints
6211
+ }
6200
6212
  },
6201
6213
  hintRenderer: n.options.hintRenderer
6202
6214
  });
6203
- dc(_), ir(
6215
+ lc(_), ir(
6204
6216
  () => n.modelValue,
6205
6217
  (C) => {
6206
6218
  C && JSON.stringify(C) !== JSON.stringify(d) && c(C);
@@ -6232,8 +6244,8 @@ const wf = /* @__PURE__ */ me({
6232
6244
  }))), m = { props: n, emit: s, schemaUtils: a, registry: o, handleSubmit: i, values: d, setValues: c, errors: u, meta: h, defaultLabels: w, defaultComponentDefaults: b, formContext: _, onSubmit: g, properties: p, FieldRenderer: _t };
6233
6245
  return Object.defineProperty(m, "__isScriptSetup", { enumerable: !1, value: !0 }), m;
6234
6246
  }
6235
- }), Sf = { class: "quickform-actions" }, kf = ["disabled"];
6236
- function Ef(e, t, r, n, s, a) {
6247
+ });
6248
+ function wf(e, t, r, n, s, a) {
6237
6249
  return I(), M(
6238
6250
  "form",
6239
6251
  {
@@ -6253,71 +6265,59 @@ function Ef(e, t, r, n, s, a) {
6253
6265
  }, null, 8, ["schema", "path", "disabled", "readonly"]))),
6254
6266
  128
6255
6267
  /* KEYED_FRAGMENT */
6256
- )),
6257
- U("div", Sf, [
6258
- aa(e.$slots, "actions", {
6259
- isValid: n.meta.valid,
6260
- errors: n.errors
6261
- }, () => [
6262
- U("button", {
6263
- type: "submit",
6264
- class: "quickform-submit",
6265
- disabled: r.options.disabled || !n.meta.valid
6266
- }, " Submit ", 8, kf)
6267
- ], !0)
6268
- ])
6268
+ ))
6269
6269
  ],
6270
6270
  32
6271
6271
  /* NEED_HYDRATION */
6272
6272
  );
6273
6273
  }
6274
- const Kf = /* @__PURE__ */ he(wf, [["render", Ef], ["__scopeId", "data-v-cb85e2c1"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/DynamicForm.vue"]]);
6274
+ const Uf = /* @__PURE__ */ he($f, [["render", wf], ["__scopeId", "data-v-cb85e2c1"], ["__file", "/Users/zachsherbondy/src/github.com/quickflo-forms/packages/vue/src/components/DynamicForm.vue"]]);
6275
6275
  export {
6276
- yf as AllOfField,
6277
- Qu as ArrayField,
6278
- Wc as BooleanField,
6279
- la as ComponentRegistry,
6280
- gu as DateField,
6281
- Kf as DynamicForm,
6282
- du as EnumField,
6276
+ pf as AllOfField,
6277
+ Yu as ArrayField,
6278
+ xc as BooleanField,
6279
+ ia as ComponentRegistry,
6280
+ _u as DateField,
6281
+ Uf as DynamicForm,
6282
+ lu as EnumField,
6283
6283
  _t as FieldRenderer,
6284
- bf as HiddenField,
6285
- Dc as NumberField,
6286
- Tu as ObjectField,
6284
+ gf as HiddenField,
6285
+ Vc as NumberField,
6286
+ Mu as ObjectField,
6287
6287
  Un as OneOfField,
6288
6288
  vt as SchemaUtils,
6289
- jc as StringField,
6290
- Df as and,
6291
- $f as createDefaultRegistry,
6289
+ Oc as StringField,
6290
+ Af as and,
6291
+ bf as createDefaultRegistry,
6292
6292
  Ie as generateFieldId,
6293
- cc as getHint,
6294
- Uf as getLabel,
6295
- va as hasAllOf,
6296
- ya as hasAnyOf,
6297
- Cf as hasConditional,
6298
- ma as hasConst,
6299
- Vf as hasExtension,
6300
- If as hasFormat,
6293
+ dc as getHint,
6294
+ Df as getLabel,
6295
+ ya as hasAllOf,
6296
+ pa as hasAnyOf,
6297
+ Tf as hasConditional,
6298
+ fa as hasConst,
6299
+ Rf as hasExtension,
6300
+ Of as hasFormat,
6301
6301
  Bn as hasOneOf,
6302
- fa as isArrayType,
6303
- ca as isBooleanType,
6304
- pa as isDateFormat,
6305
- Tf as isDateTimeFormat,
6306
- Af as isDiscriminatedUnion,
6307
- qf as isEmailFormat,
6308
- Lf as isEmpty,
6309
- ha as isEnumType,
6310
- jf as isIntegerType,
6311
- Nf as isNullType,
6312
- da as isNumberType,
6313
- ua as isObjectType,
6302
+ ua as isArrayType,
6303
+ da as isBooleanType,
6304
+ ha as isDateFormat,
6305
+ If as isDateTimeFormat,
6306
+ Mf as isDiscriminatedUnion,
6307
+ jf as isEmailFormat,
6308
+ Ff as isEmpty,
6309
+ ma as isEnumType,
6310
+ Ef as isIntegerType,
6311
+ Pf as isNullType,
6312
+ la as isNumberType,
6313
+ ca as isObjectType,
6314
6314
  Qe as isStringType,
6315
- Mf as isTimeFormat,
6316
- Rf as isUrlFormat,
6317
- Hf as joinPath,
6318
- zf as not,
6319
- Ff as or,
6320
- dc as provideFormContext,
6315
+ Nf as isTimeFormat,
6316
+ qf as isUrlFormat,
6317
+ zf as joinPath,
6318
+ Vf as not,
6319
+ Cf as or,
6320
+ lc as provideFormContext,
6321
6321
  pe as rankWith,
6322
6322
  rt as useFormContext,
6323
6323
  Ee as useFormField