@rippling/pebble-sdui-mobile 0.8.0 → 0.11.0
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/catalogs/custom-apps/action-params.d.ts +7 -3
- package/dist/catalogs/custom-apps/actions.d.ts +2 -1
- package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-events.d.ts +2 -0
- package/dist/catalogs/custom-apps/component-props.d.ts +244 -96
- package/dist/catalogs/custom-apps/components.d.ts +4 -2
- package/dist/catalogs/custom-apps/function-params.d.ts +3 -3
- package/dist/catalogs/custom-apps/index.cjs +4 -4
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +5 -5
- package/dist/catalogs/custom-apps/index.js +655 -542
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +38 -11
- package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +398 -342
- package/dist/docs/typescript/mobile/catalogs/custom-apps/computed-functions.md +17 -17
- package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +511 -122
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +2 -2
- package/dist/docs/typescript/mobile/catalogs/custom-apps/types.md +262 -62
- package/package.json +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { buildNode as
|
|
2
|
-
import { buildAction as
|
|
1
|
+
import { buildNode as _ } from "../../core/component-utils.js";
|
|
2
|
+
import { buildAction as dr } from "../../core/action-utils.js";
|
|
3
3
|
import { renderElementTree as Yo } from "../../core/spec.js";
|
|
4
|
-
const du = (e) =>
|
|
4
|
+
const du = (e) => _("ActionCard", e), cu = (e) => _("Anchor", e), pu = (e) => _("Avatar", e), uu = (e) => _("AvatarStack", e), fu = (e) => _("Badge", e), hu = (e) => _("Button", e), mu = (e) => _("Card", e), gu = (e) => _("Checkbox", e), yu = (e) => _("CheckboxGroup", e), $u = (e) => _("Chip", e), bu = (e) => _("CondensedFooter", e), vu = (e) => _("CondensedHeader", e), Su = (e) => _("Country", e), wu = (e) => _("Currency", e), ku = (e) => _("Date", e), Ou = (e) => _("DateRange", e), Cu = (e) => _("DateTimePicker", e), Pu = (e) => _("Divider", e), _u = (e) => _("Email", e), Vu = (e) => _("ExpansionPanel", e), Fu = (e) => _("FileViewerButton", e), Du = (e) => _("FileViewerPressable", e), ju = (e) => _("FilterHeader", e), Ru = (e) => _("FloatingButton", e), Tu = (e) => _("Footer", e), Iu = (e) => _("Form", e), Eu = (e) => _("Group", e), xu = (e) => _("Header", e), Nu = (e) => _("Hidden", e), Au = (e) => _("HStack", e), zu = (e) => _("Icon", e), Mu = (e) => _("Image", e), Lu = (e) => _("InputText", e), Bu = (e) => _("Label", e), qu = (e) => _("List", e), Hu = (e) => _("ListItem", e), Wu = (e) => _("ModalActionHeader", e), Uu = (e) => _("ModalSheet", e), Gu = (e) => _("Notice", e), Ku = (e) => _("Number", e), Ju = (e) => _("ObjectFooter", e), Yu = (e) => _("ObjectItem", e), Zu = (e) => _("ObjectListView", e), Xu = (e) => _("ObjectListViewCard", e), Qu = (e) => _("Password", e), ef = (e) => _("Percentage", e), tf = (e) => _("Phone", e), rf = (e) => _("Pressable", e), of = (e) => _("ProgressIndicator", e), nf = (e) => _("Radio", e), sf = (e) => _("RadioGroup", e), af = (e) => _("Search", e), lf = (e) => _("SectionHeader", e), df = (e) => _("Select", e), cf = (e) => _("SelectChips", e), pf = (e) => _("Signature", e), uf = (e) => _("Sin", e), ff = (e) => _("Slider", e), hf = (e) => _("SliderRange", e), mf = (e) => _("SnackBar", e), gf = (e) => _("Spacer", e), yf = (e) => _("Spinner", e), $f = (e) => _("Ssn", e), bf = (e) => _("Status", e), vf = (e) => _("StatusBar", e), Sf = (e) => _("Switch", e), wf = (e) => _("Tabs", e), kf = (e) => _("Text", e), Of = (e) => _("Textarea", e), Cf = (e) => _("Time", e), Pf = (e) => _("TimeRange", e), _f = (e) => _("Tip", e), Vf = (e) => _("VStack", e), Ff = (e) => _("Widget", e), Df = (e) => _("WorkEmail", e), jf = (e, t) => dr("goBack", e, t), Rf = (e, t) => dr("navigate", e, t), Tf = (e, t) => dr("push", e, t), If = (e) => ({
|
|
5
5
|
$computed: "currency_format",
|
|
6
6
|
args: e
|
|
7
|
-
}),
|
|
7
|
+
}), Ef = (e) => ({
|
|
8
8
|
$computed: "currency_getCurrencyCodeByCountryCode",
|
|
9
9
|
args: e
|
|
10
|
-
}),
|
|
10
|
+
}), xf = (e) => ({
|
|
11
11
|
$computed: "currency_getCurrencyNameByCode",
|
|
12
12
|
args: e
|
|
13
|
-
}),
|
|
13
|
+
}), Nf = (e) => ({
|
|
14
14
|
$computed: "currency_getCurrencySymbol",
|
|
15
15
|
args: e
|
|
16
|
-
}),
|
|
16
|
+
}), Af = (e) => ({
|
|
17
17
|
$computed: "currency_isConvertableToCurrency",
|
|
18
18
|
args: e
|
|
19
|
-
}),
|
|
19
|
+
}), zf = (e) => ({
|
|
20
20
|
$computed: "currency_toMoney",
|
|
21
21
|
args: e
|
|
22
|
-
}),
|
|
22
|
+
}), Mf = (e) => ({
|
|
23
23
|
$computed: "dateTime_add",
|
|
24
24
|
args: e
|
|
25
|
-
}),
|
|
25
|
+
}), Lf = (e) => ({
|
|
26
26
|
$computed: "dateTime_format",
|
|
27
27
|
args: e
|
|
28
28
|
});
|
|
@@ -675,8 +675,8 @@ var tr = {};
|
|
|
675
675
|
const T = this._scope.toName(s);
|
|
676
676
|
if (this.opts.es5) {
|
|
677
677
|
const z = p instanceof t.Name ? p : this.var("_arr", p);
|
|
678
|
-
return this.forRange("_i", 0, (0, t._)`${z}.length`, (
|
|
679
|
-
this.var(T, (0, t._)`${z}[${
|
|
678
|
+
return this.forRange("_i", 0, (0, t._)`${z}.length`, (A) => {
|
|
679
|
+
this.var(T, (0, t._)`${z}[${A}]`), v(T);
|
|
680
680
|
});
|
|
681
681
|
}
|
|
682
682
|
return this._for(new D("of", R, T, p), () => v(T));
|
|
@@ -827,9 +827,9 @@ var tr = {};
|
|
|
827
827
|
return y instanceof t.Name ? y : (0, t._)`(${y})`;
|
|
828
828
|
}
|
|
829
829
|
})(E);
|
|
830
|
-
var
|
|
831
|
-
Object.defineProperty(
|
|
832
|
-
|
|
830
|
+
var V = {};
|
|
831
|
+
Object.defineProperty(V, "__esModule", { value: !0 });
|
|
832
|
+
V.checkStrictMode = V.getErrorPath = V.Type = V.useFunc = V.setEvaluated = V.evaluatedPropsToName = V.mergeEvaluated = V.eachItem = V.unescapeJsonPointer = V.escapeJsonPointer = V.escapeFragment = V.unescapeFragment = V.schemaRefOrVal = V.schemaHasRulesButRef = V.schemaHasRules = V.checkUnknownRules = V.alwaysValidSchema = V.toHash = void 0;
|
|
833
833
|
const M = E, Zo = it;
|
|
834
834
|
function Xo(e) {
|
|
835
835
|
const t = {};
|
|
@@ -837,11 +837,11 @@ function Xo(e) {
|
|
|
837
837
|
t[r] = !0;
|
|
838
838
|
return t;
|
|
839
839
|
}
|
|
840
|
-
|
|
840
|
+
V.toHash = Xo;
|
|
841
841
|
function Qo(e, t) {
|
|
842
842
|
return typeof t == "boolean" ? t : Object.keys(t).length === 0 ? !0 : (Ui(e, t), !Gi(t, e.self.RULES.all));
|
|
843
843
|
}
|
|
844
|
-
|
|
844
|
+
V.alwaysValidSchema = Qo;
|
|
845
845
|
function Ui(e, t = e.schema) {
|
|
846
846
|
const { opts: r, self: i } = e;
|
|
847
847
|
if (!r.strictSchema || typeof t == "boolean")
|
|
@@ -850,7 +850,7 @@ function Ui(e, t = e.schema) {
|
|
|
850
850
|
for (const n in t)
|
|
851
851
|
o[n] || Yi(e, `unknown keyword: "${n}"`);
|
|
852
852
|
}
|
|
853
|
-
|
|
853
|
+
V.checkUnknownRules = Ui;
|
|
854
854
|
function Gi(e, t) {
|
|
855
855
|
if (typeof e == "boolean")
|
|
856
856
|
return !e;
|
|
@@ -859,7 +859,7 @@ function Gi(e, t) {
|
|
|
859
859
|
return !0;
|
|
860
860
|
return !1;
|
|
861
861
|
}
|
|
862
|
-
|
|
862
|
+
V.schemaHasRules = Gi;
|
|
863
863
|
function en(e, t) {
|
|
864
864
|
if (typeof e == "boolean")
|
|
865
865
|
return !e;
|
|
@@ -868,7 +868,7 @@ function en(e, t) {
|
|
|
868
868
|
return !0;
|
|
869
869
|
return !1;
|
|
870
870
|
}
|
|
871
|
-
|
|
871
|
+
V.schemaHasRulesButRef = en;
|
|
872
872
|
function tn({ topSchemaRef: e, schemaPath: t }, r, i, o) {
|
|
873
873
|
if (!o) {
|
|
874
874
|
if (typeof r == "number" || typeof r == "boolean")
|
|
@@ -878,23 +878,23 @@ function tn({ topSchemaRef: e, schemaPath: t }, r, i, o) {
|
|
|
878
878
|
}
|
|
879
879
|
return (0, M._)`${e}${t}${(0, M.getProperty)(i)}`;
|
|
880
880
|
}
|
|
881
|
-
|
|
881
|
+
V.schemaRefOrVal = tn;
|
|
882
882
|
function rn(e) {
|
|
883
883
|
return Ki(decodeURIComponent(e));
|
|
884
884
|
}
|
|
885
|
-
|
|
885
|
+
V.unescapeFragment = rn;
|
|
886
886
|
function on(e) {
|
|
887
|
-
return encodeURIComponent(
|
|
887
|
+
return encodeURIComponent(cr(e));
|
|
888
888
|
}
|
|
889
|
-
|
|
890
|
-
function
|
|
889
|
+
V.escapeFragment = on;
|
|
890
|
+
function cr(e) {
|
|
891
891
|
return typeof e == "number" ? `${e}` : e.replace(/~/g, "~0").replace(/\//g, "~1");
|
|
892
892
|
}
|
|
893
|
-
|
|
893
|
+
V.escapeJsonPointer = cr;
|
|
894
894
|
function Ki(e) {
|
|
895
895
|
return e.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
896
896
|
}
|
|
897
|
-
|
|
897
|
+
V.unescapeJsonPointer = Ki;
|
|
898
898
|
function nn(e, t) {
|
|
899
899
|
if (Array.isArray(e))
|
|
900
900
|
for (const r of e)
|
|
@@ -902,25 +902,25 @@ function nn(e, t) {
|
|
|
902
902
|
else
|
|
903
903
|
t(e);
|
|
904
904
|
}
|
|
905
|
-
|
|
906
|
-
function
|
|
905
|
+
V.eachItem = nn;
|
|
906
|
+
function hi({ mergeNames: e, mergeToName: t, mergeValues: r, resultToName: i }) {
|
|
907
907
|
return (o, n, a, l) => {
|
|
908
908
|
const d = a === void 0 ? n : a instanceof M.Name ? (n instanceof M.Name ? e(o, n, a) : t(o, n, a), a) : n instanceof M.Name ? (t(o, a, n), n) : r(n, a);
|
|
909
909
|
return l === M.Name && !(d instanceof M.Name) ? i(o, d) : d;
|
|
910
910
|
};
|
|
911
911
|
}
|
|
912
|
-
|
|
913
|
-
props:
|
|
912
|
+
V.mergeEvaluated = {
|
|
913
|
+
props: hi({
|
|
914
914
|
mergeNames: (e, t, r) => e.if((0, M._)`${r} !== true && ${t} !== undefined`, () => {
|
|
915
915
|
e.if((0, M._)`${t} === true`, () => e.assign(r, !0), () => e.assign(r, (0, M._)`${r} || {}`).code((0, M._)`Object.assign(${r}, ${t})`));
|
|
916
916
|
}),
|
|
917
917
|
mergeToName: (e, t, r) => e.if((0, M._)`${r} !== true`, () => {
|
|
918
|
-
t === !0 ? e.assign(r, !0) : (e.assign(r, (0, M._)`${r} || {}`),
|
|
918
|
+
t === !0 ? e.assign(r, !0) : (e.assign(r, (0, M._)`${r} || {}`), pr(e, r, t));
|
|
919
919
|
}),
|
|
920
920
|
mergeValues: (e, t) => e === !0 ? !0 : { ...e, ...t },
|
|
921
921
|
resultToName: Ji
|
|
922
922
|
}),
|
|
923
|
-
items:
|
|
923
|
+
items: hi({
|
|
924
924
|
mergeNames: (e, t, r) => e.if((0, M._)`${r} !== true && ${t} !== undefined`, () => e.assign(r, (0, M._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),
|
|
925
925
|
mergeToName: (e, t, r) => e.if((0, M._)`${r} !== true`, () => e.assign(r, t === !0 ? !0 : (0, M._)`${r} > ${t} ? ${r} : ${t}`)),
|
|
926
926
|
mergeValues: (e, t) => e === !0 ? !0 : Math.max(e, t),
|
|
@@ -931,33 +931,33 @@ function Ji(e, t) {
|
|
|
931
931
|
if (t === !0)
|
|
932
932
|
return e.var("props", !0);
|
|
933
933
|
const r = e.var("props", (0, M._)`{}`);
|
|
934
|
-
return t !== void 0 &&
|
|
934
|
+
return t !== void 0 && pr(e, r, t), r;
|
|
935
935
|
}
|
|
936
|
-
|
|
937
|
-
function
|
|
936
|
+
V.evaluatedPropsToName = Ji;
|
|
937
|
+
function pr(e, t, r) {
|
|
938
938
|
Object.keys(r).forEach((i) => e.assign((0, M._)`${t}${(0, M.getProperty)(i)}`, !0));
|
|
939
939
|
}
|
|
940
|
-
|
|
941
|
-
const
|
|
940
|
+
V.setEvaluated = pr;
|
|
941
|
+
const mi = {};
|
|
942
942
|
function sn(e, t) {
|
|
943
943
|
return e.scopeValue("func", {
|
|
944
944
|
ref: t,
|
|
945
|
-
code:
|
|
945
|
+
code: mi[t.code] || (mi[t.code] = new Zo._Code(t.code))
|
|
946
946
|
});
|
|
947
947
|
}
|
|
948
|
-
|
|
948
|
+
V.useFunc = sn;
|
|
949
949
|
var rr;
|
|
950
950
|
(function(e) {
|
|
951
951
|
e[e.Num = 0] = "Num", e[e.Str = 1] = "Str";
|
|
952
|
-
})(rr || (
|
|
952
|
+
})(rr || (V.Type = rr = {}));
|
|
953
953
|
function an(e, t, r) {
|
|
954
954
|
if (e instanceof M.Name) {
|
|
955
955
|
const i = t === rr.Num;
|
|
956
956
|
return r ? i ? (0, M._)`"[" + ${e} + "]"` : (0, M._)`"['" + ${e} + "']"` : i ? (0, M._)`"/" + ${e}` : (0, M._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`;
|
|
957
957
|
}
|
|
958
|
-
return r ? (0, M.getProperty)(e).toString() : "/" +
|
|
958
|
+
return r ? (0, M.getProperty)(e).toString() : "/" + cr(e);
|
|
959
959
|
}
|
|
960
|
-
|
|
960
|
+
V.getErrorPath = an;
|
|
961
961
|
function Yi(e, t, r = e.opts.strictSchema) {
|
|
962
962
|
if (r) {
|
|
963
963
|
if (t = `strict mode: ${t}`, r === !0)
|
|
@@ -965,7 +965,7 @@ function Yi(e, t, r = e.opts.strictSchema) {
|
|
|
965
965
|
e.self.logger.warn(t);
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
|
-
|
|
968
|
+
V.checkStrictMode = Yi;
|
|
969
969
|
var Q = {};
|
|
970
970
|
Object.defineProperty(Q, "__esModule", { value: !0 });
|
|
971
971
|
const J = E, ln = {
|
|
@@ -1000,7 +1000,7 @@ const J = E, ln = {
|
|
|
1000
1000
|
Q.default = ln;
|
|
1001
1001
|
(function(e) {
|
|
1002
1002
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
|
|
1003
|
-
const t = E, r =
|
|
1003
|
+
const t = E, r = V, i = Q;
|
|
1004
1004
|
e.keywordError = {
|
|
1005
1005
|
message: ({ keyword: g }) => (0, t.str)`must pass "${g}" keyword validation`
|
|
1006
1006
|
}, e.keyword$DataError = {
|
|
@@ -1142,7 +1142,7 @@ function Qi(e, t) {
|
|
|
1142
1142
|
de.shouldUseRule = Qi;
|
|
1143
1143
|
Object.defineProperty(W, "__esModule", { value: !0 });
|
|
1144
1144
|
W.reportTypeError = W.checkDataTypes = W.checkDataType = W.coerceAndCheckDataType = W.getJSONTypes = W.getSchemaTypes = W.DataType = void 0;
|
|
1145
|
-
const vn = Ce, Sn = de, wn = ot, x = E, eo =
|
|
1145
|
+
const vn = Ce, Sn = de, wn = ot, x = E, eo = V;
|
|
1146
1146
|
var Te;
|
|
1147
1147
|
(function(e) {
|
|
1148
1148
|
e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
|
|
@@ -1170,9 +1170,9 @@ W.getJSONTypes = to;
|
|
|
1170
1170
|
function On(e, t) {
|
|
1171
1171
|
const { gen: r, data: i, opts: o } = e, n = Cn(t, o.coerceTypes), a = t.length > 0 && !(n.length === 0 && t.length === 1 && (0, Sn.schemaHasRulesForType)(e, t[0]));
|
|
1172
1172
|
if (a) {
|
|
1173
|
-
const l =
|
|
1173
|
+
const l = ur(t, i, o.strictNumbers, Te.Wrong);
|
|
1174
1174
|
r.if(l, () => {
|
|
1175
|
-
n.length ? Pn(e, t, n) :
|
|
1175
|
+
n.length ? Pn(e, t, n) : fr(e);
|
|
1176
1176
|
});
|
|
1177
1177
|
}
|
|
1178
1178
|
return a;
|
|
@@ -1184,10 +1184,10 @@ function Cn(e, t) {
|
|
|
1184
1184
|
}
|
|
1185
1185
|
function Pn(e, t, r) {
|
|
1186
1186
|
const { gen: i, data: o, opts: n } = e, a = i.let("dataType", (0, x._)`typeof ${o}`), l = i.let("coerced", (0, x._)`undefined`);
|
|
1187
|
-
n.coerceTypes === "array" && i.if((0, x._)`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`, () => i.assign(o, (0, x._)`${o}[0]`).assign(a, (0, x._)`typeof ${o}`).if(
|
|
1187
|
+
n.coerceTypes === "array" && i.if((0, x._)`${a} == 'object' && Array.isArray(${o}) && ${o}.length == 1`, () => i.assign(o, (0, x._)`${o}[0]`).assign(a, (0, x._)`typeof ${o}`).if(ur(t, o, n.strictNumbers), () => i.assign(l, o))), i.if((0, x._)`${l} !== undefined`);
|
|
1188
1188
|
for (const c of r)
|
|
1189
1189
|
(ro.has(c) || c === "array" && n.coerceTypes === "array") && d(c);
|
|
1190
|
-
i.else(),
|
|
1190
|
+
i.else(), fr(e), i.endIf(), i.if((0, x._)`${l} !== undefined`, () => {
|
|
1191
1191
|
i.assign(o, l), _n(e, l);
|
|
1192
1192
|
});
|
|
1193
1193
|
function d(c) {
|
|
@@ -1245,7 +1245,7 @@ function ir(e, t, r, i = Te.Correct) {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
W.checkDataType = ir;
|
|
1248
|
-
function
|
|
1248
|
+
function ur(e, t, r, i) {
|
|
1249
1249
|
if (e.length === 1)
|
|
1250
1250
|
return ir(e[0], t, r, i);
|
|
1251
1251
|
let o;
|
|
@@ -1260,16 +1260,16 @@ function pr(e, t, r, i) {
|
|
|
1260
1260
|
o = (0, x.and)(o, ir(a, t, r, i));
|
|
1261
1261
|
return o;
|
|
1262
1262
|
}
|
|
1263
|
-
W.checkDataTypes =
|
|
1263
|
+
W.checkDataTypes = ur;
|
|
1264
1264
|
const Vn = {
|
|
1265
1265
|
message: ({ schema: e }) => `must be ${e}`,
|
|
1266
1266
|
params: ({ schema: e, schemaValue: t }) => typeof e == "string" ? (0, x._)`{type: ${e}}` : (0, x._)`{type: ${t}}`
|
|
1267
1267
|
};
|
|
1268
|
-
function
|
|
1268
|
+
function fr(e) {
|
|
1269
1269
|
const t = Fn(e);
|
|
1270
1270
|
(0, wn.reportError)(t, Vn);
|
|
1271
1271
|
}
|
|
1272
|
-
W.reportTypeError =
|
|
1272
|
+
W.reportTypeError = fr;
|
|
1273
1273
|
function Fn(e) {
|
|
1274
1274
|
const { gen: t, data: r, schema: i } = e, o = (0, eo.schemaRefOrVal)(e, i, "type");
|
|
1275
1275
|
return {
|
|
@@ -1287,16 +1287,16 @@ function Fn(e) {
|
|
|
1287
1287
|
var Ct = {};
|
|
1288
1288
|
Object.defineProperty(Ct, "__esModule", { value: !0 });
|
|
1289
1289
|
Ct.assignDefaults = void 0;
|
|
1290
|
-
const Fe = E, Dn =
|
|
1290
|
+
const Fe = E, Dn = V;
|
|
1291
1291
|
function jn(e, t) {
|
|
1292
1292
|
const { properties: r, items: i } = e.schema;
|
|
1293
1293
|
if (t === "object" && r)
|
|
1294
1294
|
for (const o in r)
|
|
1295
|
-
|
|
1296
|
-
else t === "array" && Array.isArray(i) && i.forEach((o, n) =>
|
|
1295
|
+
gi(e, o, r[o].default);
|
|
1296
|
+
else t === "array" && Array.isArray(i) && i.forEach((o, n) => gi(e, n, o.default));
|
|
1297
1297
|
}
|
|
1298
1298
|
Ct.assignDefaults = jn;
|
|
1299
|
-
function
|
|
1299
|
+
function gi(e, t, r) {
|
|
1300
1300
|
const { gen: i, compositeRule: o, data: n, opts: a } = e;
|
|
1301
1301
|
if (r === void 0)
|
|
1302
1302
|
return;
|
|
@@ -1308,25 +1308,25 @@ function mi(e, t, r) {
|
|
|
1308
1308
|
let d = (0, Fe._)`${l} === undefined`;
|
|
1309
1309
|
a.useDefaults === "empty" && (d = (0, Fe._)`${d} || ${l} === null || ${l} === ""`), i.if(d, (0, Fe._)`${l} = ${(0, Fe.stringify)(r)}`);
|
|
1310
1310
|
}
|
|
1311
|
-
var se = {},
|
|
1312
|
-
Object.defineProperty(
|
|
1313
|
-
|
|
1314
|
-
const B = E,
|
|
1311
|
+
var se = {}, N = {};
|
|
1312
|
+
Object.defineProperty(N, "__esModule", { value: !0 });
|
|
1313
|
+
N.validateUnion = N.validateArray = N.usePattern = N.callValidateCode = N.schemaProperties = N.allSchemaProperties = N.noPropertyInData = N.propertyInData = N.isOwnProperty = N.hasPropFunc = N.reportMissingProp = N.checkMissingProp = N.checkReportMissingProp = void 0;
|
|
1314
|
+
const B = E, hr = V, he = Q, Rn = V;
|
|
1315
1315
|
function Tn(e, t) {
|
|
1316
1316
|
const { gen: r, data: i, it: o } = e;
|
|
1317
|
-
r.if(
|
|
1317
|
+
r.if(gr(r, i, t, o.opts.ownProperties), () => {
|
|
1318
1318
|
e.setParams({ missingProperty: (0, B._)`${t}` }, !0), e.error();
|
|
1319
1319
|
});
|
|
1320
1320
|
}
|
|
1321
|
-
|
|
1321
|
+
N.checkReportMissingProp = Tn;
|
|
1322
1322
|
function In({ gen: e, data: t, it: { opts: r } }, i, o) {
|
|
1323
|
-
return (0, B.or)(...i.map((n) => (0, B.and)(
|
|
1323
|
+
return (0, B.or)(...i.map((n) => (0, B.and)(gr(e, t, n, r.ownProperties), (0, B._)`${o} = ${n}`)));
|
|
1324
1324
|
}
|
|
1325
|
-
|
|
1325
|
+
N.checkMissingProp = In;
|
|
1326
1326
|
function En(e, t) {
|
|
1327
1327
|
e.setParams({ missingProperty: t }, !0), e.error();
|
|
1328
1328
|
}
|
|
1329
|
-
|
|
1329
|
+
N.reportMissingProp = En;
|
|
1330
1330
|
function io(e) {
|
|
1331
1331
|
return e.scopeValue("func", {
|
|
1332
1332
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
@@ -1334,30 +1334,30 @@ function io(e) {
|
|
|
1334
1334
|
code: (0, B._)`Object.prototype.hasOwnProperty`
|
|
1335
1335
|
});
|
|
1336
1336
|
}
|
|
1337
|
-
|
|
1338
|
-
function
|
|
1337
|
+
N.hasPropFunc = io;
|
|
1338
|
+
function mr(e, t, r) {
|
|
1339
1339
|
return (0, B._)`${io(e)}.call(${t}, ${r})`;
|
|
1340
1340
|
}
|
|
1341
|
-
|
|
1341
|
+
N.isOwnProperty = mr;
|
|
1342
1342
|
function xn(e, t, r, i) {
|
|
1343
1343
|
const o = (0, B._)`${t}${(0, B.getProperty)(r)} !== undefined`;
|
|
1344
|
-
return i ? (0, B._)`${o} && ${
|
|
1344
|
+
return i ? (0, B._)`${o} && ${mr(e, t, r)}` : o;
|
|
1345
1345
|
}
|
|
1346
|
-
|
|
1347
|
-
function
|
|
1346
|
+
N.propertyInData = xn;
|
|
1347
|
+
function gr(e, t, r, i) {
|
|
1348
1348
|
const o = (0, B._)`${t}${(0, B.getProperty)(r)} === undefined`;
|
|
1349
|
-
return i ? (0, B.or)(o, (0, B.not)(
|
|
1349
|
+
return i ? (0, B.or)(o, (0, B.not)(mr(e, t, r))) : o;
|
|
1350
1350
|
}
|
|
1351
|
-
|
|
1351
|
+
N.noPropertyInData = gr;
|
|
1352
1352
|
function oo(e) {
|
|
1353
1353
|
return e ? Object.keys(e).filter((t) => t !== "__proto__") : [];
|
|
1354
1354
|
}
|
|
1355
|
-
|
|
1356
|
-
function
|
|
1357
|
-
return oo(t).filter((r) => !(0,
|
|
1355
|
+
N.allSchemaProperties = oo;
|
|
1356
|
+
function Nn(e, t) {
|
|
1357
|
+
return oo(t).filter((r) => !(0, hr.alwaysValidSchema)(e, t[r]));
|
|
1358
1358
|
}
|
|
1359
|
-
|
|
1360
|
-
function
|
|
1359
|
+
N.schemaProperties = Nn;
|
|
1360
|
+
function An({ schemaCode: e, data: t, it: { gen: r, topSchemaRef: i, schemaPath: o, errorPath: n }, it: a }, l, d, c) {
|
|
1361
1361
|
const f = c ? (0, B._)`${e}, ${t}, ${i}${o}` : t, h = [
|
|
1362
1362
|
[he.default.instancePath, (0, B.strConcat)(he.default.instancePath, n)],
|
|
1363
1363
|
[he.default.parentData, a.parentData],
|
|
@@ -1368,7 +1368,7 @@ function Nn({ schemaCode: e, data: t, it: { gen: r, topSchemaRef: i, schemaPath:
|
|
|
1368
1368
|
const k = (0, B._)`${f}, ${r.object(...h)}`;
|
|
1369
1369
|
return d !== B.nil ? (0, B._)`${l}.call(${d}, ${k})` : (0, B._)`${l}(${k})`;
|
|
1370
1370
|
}
|
|
1371
|
-
|
|
1371
|
+
N.callValidateCode = An;
|
|
1372
1372
|
const zn = (0, B._)`new RegExp`;
|
|
1373
1373
|
function Mn({ gen: e, it: { opts: t } }, r) {
|
|
1374
1374
|
const i = t.unicodeRegExp ? "u" : "", { regExp: o } = t.code, n = o(r, i);
|
|
@@ -1378,7 +1378,7 @@ function Mn({ gen: e, it: { opts: t } }, r) {
|
|
|
1378
1378
|
code: (0, B._)`${o.code === "new RegExp" ? zn : (0, Rn.useFunc)(e, o)}(${r}, ${i})`
|
|
1379
1379
|
});
|
|
1380
1380
|
}
|
|
1381
|
-
|
|
1381
|
+
N.usePattern = Mn;
|
|
1382
1382
|
function Ln(e) {
|
|
1383
1383
|
const { gen: t, data: r, keyword: i, it: o } = e, n = t.name("valid");
|
|
1384
1384
|
if (o.allErrors) {
|
|
@@ -1392,17 +1392,17 @@ function Ln(e) {
|
|
|
1392
1392
|
e.subschema({
|
|
1393
1393
|
keyword: i,
|
|
1394
1394
|
dataProp: c,
|
|
1395
|
-
dataPropType:
|
|
1395
|
+
dataPropType: hr.Type.Num
|
|
1396
1396
|
}, n), t.if((0, B.not)(n), l);
|
|
1397
1397
|
});
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
|
-
|
|
1400
|
+
N.validateArray = Ln;
|
|
1401
1401
|
function Bn(e) {
|
|
1402
1402
|
const { gen: t, schema: r, keyword: i, it: o } = e;
|
|
1403
1403
|
if (!Array.isArray(r))
|
|
1404
1404
|
throw new Error("ajv implementation error");
|
|
1405
|
-
if (r.some((d) => (0,
|
|
1405
|
+
if (r.some((d) => (0, hr.alwaysValidSchema)(o, d)) && !o.opts.unevaluated)
|
|
1406
1406
|
return;
|
|
1407
1407
|
const a = t.let("valid", !1), l = t.name("_valid");
|
|
1408
1408
|
t.block(() => r.forEach((d, c) => {
|
|
@@ -1414,10 +1414,10 @@ function Bn(e) {
|
|
|
1414
1414
|
t.assign(a, (0, B._)`${a} || ${l}`), e.mergeValidEvaluated(f, l) || t.if((0, B.not)(a));
|
|
1415
1415
|
})), e.result(a, () => e.reset(), () => e.error(!0));
|
|
1416
1416
|
}
|
|
1417
|
-
|
|
1417
|
+
N.validateUnion = Bn;
|
|
1418
1418
|
Object.defineProperty(se, "__esModule", { value: !0 });
|
|
1419
1419
|
se.validateKeywordUsage = se.validSchemaType = se.funcKeywordCode = se.macroKeywordCode = void 0;
|
|
1420
|
-
const Y = E, Se = Q, qn =
|
|
1420
|
+
const Y = E, Se = Q, qn = N, Hn = ot;
|
|
1421
1421
|
function Wn(e, t) {
|
|
1422
1422
|
const { gen: r, keyword: i, schema: o, parentSchema: n, it: a } = e, l = t.macro.call(a.self, o, n, a), d = no(r, i, l);
|
|
1423
1423
|
a.opts.validateSchema !== !1 && a.self.validateSchema(l, !0);
|
|
@@ -1439,10 +1439,10 @@ function Un(e, t) {
|
|
|
1439
1439
|
e.block$data(h, k), e.ok((r = t.valid) !== null && r !== void 0 ? r : h);
|
|
1440
1440
|
function k() {
|
|
1441
1441
|
if (t.errors === !1)
|
|
1442
|
-
w(), t.modifying &&
|
|
1442
|
+
w(), t.modifying && yi(e), g(() => e.error());
|
|
1443
1443
|
else {
|
|
1444
1444
|
const u = t.async ? S() : b();
|
|
1445
|
-
t.modifying &&
|
|
1445
|
+
t.modifying && yi(e), g(() => Gn(e, u));
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
1448
|
function S() {
|
|
@@ -1463,7 +1463,7 @@ function Un(e, t) {
|
|
|
1463
1463
|
}
|
|
1464
1464
|
}
|
|
1465
1465
|
se.funcKeywordCode = Un;
|
|
1466
|
-
function
|
|
1466
|
+
function yi(e) {
|
|
1467
1467
|
const { gen: t, data: r, it: i } = e;
|
|
1468
1468
|
t.if(i.parentData, () => t.assign(r, (0, Y._)`${i.parentData}[${i.parentDataProperty}]`));
|
|
1469
1469
|
}
|
|
@@ -1504,7 +1504,7 @@ se.validateKeywordUsage = Yn;
|
|
|
1504
1504
|
var $e = {};
|
|
1505
1505
|
Object.defineProperty($e, "__esModule", { value: !0 });
|
|
1506
1506
|
$e.extendSubschemaMode = $e.extendSubschemaData = $e.getSubschema = void 0;
|
|
1507
|
-
const ne = E, so =
|
|
1507
|
+
const ne = E, so = V;
|
|
1508
1508
|
function Zn(e, { keyword: t, schemaProp: r, schema: i, schemaPath: o, errSchemaPath: n, topSchemaRef: a }) {
|
|
1509
1509
|
if (t !== void 0 && i !== void 0)
|
|
1510
1510
|
throw new Error('both "keyword" and "schema" passed, only one allowed');
|
|
@@ -1654,7 +1654,7 @@ function es(e) {
|
|
|
1654
1654
|
var ts = lo.exports;
|
|
1655
1655
|
Object.defineProperty(K, "__esModule", { value: !0 });
|
|
1656
1656
|
K.getSchemaRefs = K.resolveUrl = K.normalizeId = K._getFullPath = K.getFullPath = K.inlineRef = void 0;
|
|
1657
|
-
const rs =
|
|
1657
|
+
const rs = V, is = ao, os = ts, ns = /* @__PURE__ */ new Set([
|
|
1658
1658
|
"type",
|
|
1659
1659
|
"format",
|
|
1660
1660
|
"pattern",
|
|
@@ -1760,7 +1760,7 @@ function ps(e, t) {
|
|
|
1760
1760
|
K.getSchemaRefs = ps;
|
|
1761
1761
|
Object.defineProperty(oe, "__esModule", { value: !0 });
|
|
1762
1762
|
oe.getData = oe.KeywordCxt = oe.validateFunctionCode = void 0;
|
|
1763
|
-
const fo = xe,
|
|
1763
|
+
const fo = xe, $i = W, yr = de, vt = W, us = Ct, Ze = se, Kt = $e, j = E, I = Q, fs = K, ce = V, Ge = ot;
|
|
1764
1764
|
function hs(e) {
|
|
1765
1765
|
if (go(e) && (yo(e), mo(e))) {
|
|
1766
1766
|
ys(e);
|
|
@@ -1771,8 +1771,8 @@ function hs(e) {
|
|
|
1771
1771
|
oe.validateFunctionCode = hs;
|
|
1772
1772
|
function ho({ gen: e, validateName: t, schema: r, schemaEnv: i, opts: o }, n) {
|
|
1773
1773
|
o.code.es5 ? e.func(t, (0, j._)`${I.default.data}, ${I.default.valCxt}`, i.$async, () => {
|
|
1774
|
-
e.code((0, j._)`"use strict"; ${
|
|
1775
|
-
}) : e.func(t, (0, j._)`${I.default.data}, ${ms(o)}`, i.$async, () => e.code(
|
|
1774
|
+
e.code((0, j._)`"use strict"; ${bi(r, o)}`), gs(e, o), e.code(n);
|
|
1775
|
+
}) : e.func(t, (0, j._)`${I.default.data}, ${ms(o)}`, i.$async, () => e.code(bi(r, o)).code(n));
|
|
1776
1776
|
}
|
|
1777
1777
|
function ms(e) {
|
|
1778
1778
|
return (0, j._)`{${I.default.instancePath}="", ${I.default.parentData}, ${I.default.parentDataProperty}, ${I.default.rootData}=${I.default.data}${e.dynamicRef ? (0, j._)`, ${I.default.dynamicAnchors}={}` : j.nil}}={}`;
|
|
@@ -1794,7 +1794,7 @@ function $s(e) {
|
|
|
1794
1794
|
const { gen: t, validateName: r } = e;
|
|
1795
1795
|
e.evaluated = t.const("evaluated", (0, j._)`${r}.evaluated`), t.if((0, j._)`${e.evaluated}.dynamicProps`, () => t.assign((0, j._)`${e.evaluated}.props`, (0, j._)`undefined`)), t.if((0, j._)`${e.evaluated}.dynamicItems`, () => t.assign((0, j._)`${e.evaluated}.items`, (0, j._)`undefined`));
|
|
1796
1796
|
}
|
|
1797
|
-
function
|
|
1797
|
+
function bi(e, t) {
|
|
1798
1798
|
const r = typeof e == "object" && e[t.schemaId];
|
|
1799
1799
|
return r && (t.code.source || t.code.process) ? (0, j._)`/*# sourceURL=${r} */` : j.nil;
|
|
1800
1800
|
}
|
|
@@ -1827,9 +1827,9 @@ function yo(e) {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
function $o(e, t) {
|
|
1829
1829
|
if (e.opts.jtd)
|
|
1830
|
-
return
|
|
1831
|
-
const r = (0,
|
|
1832
|
-
|
|
1830
|
+
return vi(e, [], !1, t);
|
|
1831
|
+
const r = (0, $i.getSchemaTypes)(e.schema), i = (0, $i.coerceAndCheckDataType)(e, r);
|
|
1832
|
+
vi(e, r, !i, t);
|
|
1833
1833
|
}
|
|
1834
1834
|
function Ss(e) {
|
|
1835
1835
|
const { schema: t, errSchemaPath: r, opts: i, self: o } = e;
|
|
@@ -1863,7 +1863,7 @@ function Cs(e) {
|
|
|
1863
1863
|
function Ps({ gen: e, evaluated: t, props: r, items: i }) {
|
|
1864
1864
|
r instanceof j.Name && e.assign((0, j._)`${t}.props`, r), i instanceof j.Name && e.assign((0, j._)`${t}.items`, i);
|
|
1865
1865
|
}
|
|
1866
|
-
function
|
|
1866
|
+
function vi(e, t, r, i) {
|
|
1867
1867
|
const { gen: o, schema: n, data: a, allErrors: l, opts: d, self: c } = e, { RULES: f } = c;
|
|
1868
1868
|
if (n.$ref && (d.ignoreKeywordsWithRef || !(0, ce.schemaHasRulesButRef)(n, f))) {
|
|
1869
1869
|
o.block(() => wo(e, "$ref", f.all.$ref.definition));
|
|
@@ -1875,14 +1875,14 @@ function bi(e, t, r, i) {
|
|
|
1875
1875
|
h(f.post);
|
|
1876
1876
|
});
|
|
1877
1877
|
function h(k) {
|
|
1878
|
-
(0,
|
|
1878
|
+
(0, yr.shouldUseGroup)(n, k) && (k.type ? (o.if((0, vt.checkDataType)(k.type, a, d.strictNumbers)), Si(e, k), t.length === 1 && t[0] === k.type && r && (o.else(), (0, vt.reportTypeError)(e)), o.endIf()) : Si(e, k), l || o.if((0, j._)`${I.default.errors} === ${i || 0}`));
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1881
|
+
function Si(e, t) {
|
|
1882
1882
|
const { gen: r, schema: i, opts: { useDefaults: o } } = e;
|
|
1883
1883
|
o && (0, us.assignDefaults)(e, t.type), r.block(() => {
|
|
1884
1884
|
for (const n of t.rules)
|
|
1885
|
-
(0,
|
|
1885
|
+
(0, yr.shouldUseRule)(i, n) && wo(e, n.keyword, n.definition, t.type);
|
|
1886
1886
|
});
|
|
1887
1887
|
}
|
|
1888
1888
|
function _s(e, t) {
|
|
@@ -1895,20 +1895,20 @@ function Vs(e, t) {
|
|
|
1895
1895
|
return;
|
|
1896
1896
|
}
|
|
1897
1897
|
t.forEach((r) => {
|
|
1898
|
-
vo(e.dataTypes, r) ||
|
|
1898
|
+
vo(e.dataTypes, r) || $r(e, `type "${r}" not allowed by context "${e.dataTypes.join(",")}"`);
|
|
1899
1899
|
}), Rs(e, t);
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
1902
|
function Fs(e, t) {
|
|
1903
|
-
t.length > 1 && !(t.length === 2 && t.includes("null")) &&
|
|
1903
|
+
t.length > 1 && !(t.length === 2 && t.includes("null")) && $r(e, "use allowUnionTypes to allow union type keyword");
|
|
1904
1904
|
}
|
|
1905
1905
|
function Ds(e, t) {
|
|
1906
1906
|
const r = e.self.RULES.all;
|
|
1907
1907
|
for (const i in r) {
|
|
1908
1908
|
const o = r[i];
|
|
1909
|
-
if (typeof o == "object" && (0,
|
|
1909
|
+
if (typeof o == "object" && (0, yr.shouldUseRule)(e.schema, o)) {
|
|
1910
1910
|
const { type: n } = o.definition;
|
|
1911
|
-
n.length && !n.some((a) => js(t, a)) &&
|
|
1911
|
+
n.length && !n.some((a) => js(t, a)) && $r(e, `missing type "${n.join(",")}" for keyword "${i}"`);
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
@@ -1924,7 +1924,7 @@ function Rs(e, t) {
|
|
|
1924
1924
|
vo(t, i) ? r.push(i) : t.includes("integer") && i === "number" && r.push("integer");
|
|
1925
1925
|
e.dataTypes = r;
|
|
1926
1926
|
}
|
|
1927
|
-
function
|
|
1927
|
+
function $r(e, t) {
|
|
1928
1928
|
const r = e.schemaEnv.baseId + e.errSchemaPath;
|
|
1929
1929
|
t += ` at "${r}" (strictTypes)`, (0, ce.checkStrictMode)(e, t, e.opts.strictTypes);
|
|
1930
1930
|
}
|
|
@@ -2088,7 +2088,7 @@ ze.default = xs;
|
|
|
2088
2088
|
var Z = {};
|
|
2089
2089
|
Object.defineProperty(Z, "__esModule", { value: !0 });
|
|
2090
2090
|
Z.resolveSchema = Z.getCompilingSchema = Z.resolveRef = Z.compileSchema = Z.SchemaEnv = void 0;
|
|
2091
|
-
const te = E,
|
|
2091
|
+
const te = E, Ns = nt, ve = Q, ie = K, wi = V, As = oe;
|
|
2092
2092
|
class Pt {
|
|
2093
2093
|
constructor(t) {
|
|
2094
2094
|
var r;
|
|
@@ -2098,14 +2098,14 @@ class Pt {
|
|
|
2098
2098
|
}
|
|
2099
2099
|
}
|
|
2100
2100
|
Z.SchemaEnv = Pt;
|
|
2101
|
-
function
|
|
2101
|
+
function br(e) {
|
|
2102
2102
|
const t = Oo.call(this, e);
|
|
2103
2103
|
if (t)
|
|
2104
2104
|
return t;
|
|
2105
2105
|
const r = (0, ie.getFullPath)(this.opts.uriResolver, e.root.baseId), { es5: i, lines: o } = this.opts.code, { ownProperties: n } = this.opts, a = new te.CodeGen(this.scope, { es5: i, lines: o, ownProperties: n });
|
|
2106
2106
|
let l;
|
|
2107
2107
|
e.$async && (l = a.scopeValue("Error", {
|
|
2108
|
-
ref:
|
|
2108
|
+
ref: Ns.default,
|
|
2109
2109
|
code: (0, te._)`require("ajv/dist/runtime/validation_error").default`
|
|
2110
2110
|
}));
|
|
2111
2111
|
const d = a.scopeName("validate");
|
|
@@ -2137,7 +2137,7 @@ function $r(e) {
|
|
|
2137
2137
|
};
|
|
2138
2138
|
let f;
|
|
2139
2139
|
try {
|
|
2140
|
-
this._compilations.add(e), (0,
|
|
2140
|
+
this._compilations.add(e), (0, As.validateFunctionCode)(c), a.optimize(this.opts.code.optimize);
|
|
2141
2141
|
const h = a.toString();
|
|
2142
2142
|
f = `${a.scopeRefs(ve.default.scope)}return ${h}`, this.opts.code.process && (f = this.opts.code.process(f, e));
|
|
2143
2143
|
const S = new Function(`${ve.default.self}`, `${ve.default.scope}`, f)(this, this.scope.get());
|
|
@@ -2157,7 +2157,7 @@ function $r(e) {
|
|
|
2157
2157
|
this._compilations.delete(e);
|
|
2158
2158
|
}
|
|
2159
2159
|
}
|
|
2160
|
-
Z.compileSchema =
|
|
2160
|
+
Z.compileSchema = br;
|
|
2161
2161
|
function zs(e, t, r) {
|
|
2162
2162
|
var i;
|
|
2163
2163
|
r = (0, ie.resolveUrl)(this.opts.uriResolver, t, r);
|
|
@@ -2174,7 +2174,7 @@ function zs(e, t, r) {
|
|
|
2174
2174
|
}
|
|
2175
2175
|
Z.resolveRef = zs;
|
|
2176
2176
|
function Ms(e) {
|
|
2177
|
-
return (0, ie.inlineRef)(e.schema, this.opts.inlineRefs) ? e.schema : e.validate ? e :
|
|
2177
|
+
return (0, ie.inlineRef)(e.schema, this.opts.inlineRefs) ? e.schema : e.validate ? e : br.call(this, e);
|
|
2178
2178
|
}
|
|
2179
2179
|
function Oo(e) {
|
|
2180
2180
|
for (const t of this._compilations)
|
|
@@ -2202,7 +2202,7 @@ function _t(e, t) {
|
|
|
2202
2202
|
return typeof (l == null ? void 0 : l.schema) != "object" ? void 0 : Yt.call(this, r, l);
|
|
2203
2203
|
}
|
|
2204
2204
|
if (typeof (a == null ? void 0 : a.schema) == "object") {
|
|
2205
|
-
if (a.validate ||
|
|
2205
|
+
if (a.validate || br.call(this, a), n === (0, ie.normalizeId)(t)) {
|
|
2206
2206
|
const { schema: l } = a, { schemaId: d } = this.opts, c = l[d];
|
|
2207
2207
|
return c && (o = (0, ie.resolveUrl)(this.opts.uriResolver, o, c)), new Pt({ schema: l, schemaId: d, root: e, baseId: o });
|
|
2208
2208
|
}
|
|
@@ -2224,7 +2224,7 @@ function Yt(e, { baseId: t, schema: r, root: i }) {
|
|
|
2224
2224
|
for (const l of e.fragment.slice(1).split("/")) {
|
|
2225
2225
|
if (typeof r == "boolean")
|
|
2226
2226
|
return;
|
|
2227
|
-
const d = r[(0,
|
|
2227
|
+
const d = r[(0, wi.unescapeFragment)(l)];
|
|
2228
2228
|
if (d === void 0)
|
|
2229
2229
|
return;
|
|
2230
2230
|
r = d;
|
|
@@ -2232,7 +2232,7 @@ function Yt(e, { baseId: t, schema: r, root: i }) {
|
|
|
2232
2232
|
!qs.has(l) && c && (t = (0, ie.resolveUrl)(this.opts.uriResolver, t, c));
|
|
2233
2233
|
}
|
|
2234
2234
|
let n;
|
|
2235
|
-
if (typeof r != "boolean" && r.$ref && !(0,
|
|
2235
|
+
if (typeof r != "boolean" && r.$ref && !(0, wi.schemaHasRulesButRef)(r, this.RULES)) {
|
|
2236
2236
|
const l = (0, ie.resolveUrl)(this.opts.uriResolver, t, r.$ref);
|
|
2237
2237
|
n = _t.call(this, i, l);
|
|
2238
2238
|
}
|
|
@@ -2262,8 +2262,8 @@ const Hs = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/
|
|
|
2262
2262
|
properties: Ks,
|
|
2263
2263
|
additionalProperties: Js
|
|
2264
2264
|
};
|
|
2265
|
-
var
|
|
2266
|
-
const Zs = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), Co = 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),
|
|
2265
|
+
var vr = {}, Vt = { exports: {} };
|
|
2266
|
+
const Zs = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), Co = 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), Sr = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu), Po = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), Xs = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
|
|
2267
2267
|
function _o(e) {
|
|
2268
2268
|
let t = "", r = 0, i = 0;
|
|
2269
2269
|
for (i = 0; i < e.length; i++)
|
|
@@ -2281,7 +2281,7 @@ function _o(e) {
|
|
|
2281
2281
|
return t;
|
|
2282
2282
|
}
|
|
2283
2283
|
const Qs = RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);
|
|
2284
|
-
function
|
|
2284
|
+
function ki(e) {
|
|
2285
2285
|
return e.length = 0, !0;
|
|
2286
2286
|
}
|
|
2287
2287
|
function ea(e, t, r) {
|
|
@@ -2314,13 +2314,13 @@ function ta(e) {
|
|
|
2314
2314
|
} else if (c === "%") {
|
|
2315
2315
|
if (!l(o, i, r))
|
|
2316
2316
|
break;
|
|
2317
|
-
l =
|
|
2317
|
+
l = ki;
|
|
2318
2318
|
} else {
|
|
2319
2319
|
o.push(c);
|
|
2320
2320
|
continue;
|
|
2321
2321
|
}
|
|
2322
2322
|
}
|
|
2323
|
-
return o.length && (l ===
|
|
2323
|
+
return o.length && (l === ki ? r.zone = o.join("") : a ? i.push(o.join("")) : i.push(_o(o))), r.address = i.join(""), r;
|
|
2324
2324
|
}
|
|
2325
2325
|
function Vo(e) {
|
|
2326
2326
|
if (ra(e, ":") < 2)
|
|
@@ -2409,7 +2409,7 @@ function aa(e, t = !1) {
|
|
|
2409
2409
|
for (let i = 0; i < e.length; i++) {
|
|
2410
2410
|
if (e[i] === "%" && i + 2 < e.length) {
|
|
2411
2411
|
const o = e.slice(i + 1, i + 3);
|
|
2412
|
-
if (
|
|
2412
|
+
if (Sr(o)) {
|
|
2413
2413
|
const n = o.toUpperCase(), a = String.fromCharCode(parseInt(n, 16));
|
|
2414
2414
|
t && Po(a) ? r += a : r += "%" + n, i += 2;
|
|
2415
2415
|
continue;
|
|
@@ -2424,7 +2424,7 @@ function la(e) {
|
|
|
2424
2424
|
for (let r = 0; r < e.length; r++) {
|
|
2425
2425
|
if (e[r] === "%" && r + 2 < e.length) {
|
|
2426
2426
|
const i = e.slice(r + 1, r + 3);
|
|
2427
|
-
if (
|
|
2427
|
+
if (Sr(i)) {
|
|
2428
2428
|
const o = i.toUpperCase(), n = String.fromCharCode(parseInt(o, 16));
|
|
2429
2429
|
n !== "." && Po(n) ? t += n : t += "%" + o, r += 2;
|
|
2430
2430
|
continue;
|
|
@@ -2439,7 +2439,7 @@ function da(e) {
|
|
|
2439
2439
|
for (let r = 0; r < e.length; r++) {
|
|
2440
2440
|
if (e[r] === "%" && r + 2 < e.length) {
|
|
2441
2441
|
const i = e.slice(r + 1, r + 3);
|
|
2442
|
-
if (
|
|
2442
|
+
if (Sr(i)) {
|
|
2443
2443
|
t += "%" + i.toUpperCase(), r += 2;
|
|
2444
2444
|
continue;
|
|
2445
2445
|
}
|
|
@@ -2500,7 +2500,7 @@ function ma(e, t) {
|
|
|
2500
2500
|
if (r) {
|
|
2501
2501
|
const i = t.scheme || e.scheme || "urn";
|
|
2502
2502
|
e.nid = r[1].toLowerCase(), e.nss = r[2];
|
|
2503
|
-
const o = `${i}:${t.nid || e.nid}`, n =
|
|
2503
|
+
const o = `${i}:${t.nid || e.nid}`, n = wr(o);
|
|
2504
2504
|
e.path = void 0, n && (e = n.parse(e, t));
|
|
2505
2505
|
} else
|
|
2506
2506
|
e.error = e.error || "URN can not be parsed.";
|
|
@@ -2509,7 +2509,7 @@ function ma(e, t) {
|
|
|
2509
2509
|
function ga(e, t) {
|
|
2510
2510
|
if (e.nid === void 0)
|
|
2511
2511
|
throw new Error("URN without nid cannot be serialized");
|
|
2512
|
-
const r = t.scheme || e.scheme || "urn", i = e.nid.toLowerCase(), o = `${r}:${t.nid || i}`, n =
|
|
2512
|
+
const r = t.scheme || e.scheme || "urn", i = e.nid.toLowerCase(), o = `${r}:${t.nid || i}`, n = wr(o);
|
|
2513
2513
|
n && (e = n.serialize(e, t));
|
|
2514
2514
|
const a = e, l = e.nss;
|
|
2515
2515
|
return a.path = `${i || t.nid}:${l}`, t.skipEscape = !0, a;
|
|
@@ -2582,7 +2582,7 @@ const Io = (
|
|
|
2582
2582
|
}
|
|
2583
2583
|
);
|
|
2584
2584
|
Object.setPrototypeOf(St, null);
|
|
2585
|
-
function
|
|
2585
|
+
function wr(e) {
|
|
2586
2586
|
return e && (St[
|
|
2587
2587
|
/** @type {SchemeName} */
|
|
2588
2588
|
e
|
|
@@ -2593,24 +2593,24 @@ function Sr(e) {
|
|
|
2593
2593
|
}
|
|
2594
2594
|
var ka = {
|
|
2595
2595
|
SCHEMES: St,
|
|
2596
|
-
getSchemeHandler:
|
|
2596
|
+
getSchemeHandler: wr
|
|
2597
2597
|
};
|
|
2598
2598
|
const { normalizeIPv6: Oa, removeDotSegments: Je, recomposeAuthority: Ca, normalizePercentEncoding: Pa, normalizePathEncoding: _a, escapePreservingEscapes: Va, reescapeHostDelimiters: Fa, isIPv4: Da, nonSimpleDomain: ja } = Do, { SCHEMES: Ra, getSchemeHandler: Eo } = ka;
|
|
2599
2599
|
function Ta(e, t) {
|
|
2600
2600
|
return typeof e == "string" ? e = /** @type {T} */
|
|
2601
|
-
|
|
2602
|
-
|
|
2601
|
+
Aa(e, t) : typeof e == "object" && (e = /** @type {T} */
|
|
2602
|
+
Ne(Pe(e, t), t)), e;
|
|
2603
2603
|
}
|
|
2604
2604
|
function Ia(e, t, r) {
|
|
2605
|
-
const i = r ? Object.assign({ scheme: "null" }, r) : { scheme: "null" }, o = xo(
|
|
2605
|
+
const i = r ? Object.assign({ scheme: "null" }, r) : { scheme: "null" }, o = xo(Ne(e, i), Ne(t, i), i, !0);
|
|
2606
2606
|
return i.skipEscape = !0, Pe(o, i);
|
|
2607
2607
|
}
|
|
2608
2608
|
function xo(e, t, r, i) {
|
|
2609
2609
|
const o = {};
|
|
2610
|
-
return i || (e =
|
|
2610
|
+
return i || (e = Ne(Pe(e, r), r), t = Ne(Pe(t, r), r)), r = r || {}, !r.tolerant && t.scheme ? (o.scheme = t.scheme, o.userinfo = t.userinfo, o.host = t.host, o.port = t.port, o.path = Je(t.path || ""), o.query = t.query) : (t.userinfo !== void 0 || t.host !== void 0 || t.port !== void 0 ? (o.userinfo = t.userinfo, o.host = t.host, o.port = t.port, o.path = Je(t.path || ""), o.query = t.query) : (t.path ? (t.path[0] === "/" ? o.path = Je(t.path) : ((e.userinfo !== void 0 || e.host !== void 0 || e.port !== void 0) && !e.path ? o.path = "/" + t.path : e.path ? o.path = e.path.slice(0, e.path.lastIndexOf("/") + 1) + t.path : o.path = t.path, o.path = Je(o.path)), o.query = t.query) : (o.path = e.path, t.query !== void 0 ? o.query = t.query : o.query = e.query), o.userinfo = e.userinfo, o.host = e.host, o.port = e.port), o.scheme = e.scheme), o.fragment = t.fragment, o;
|
|
2611
2611
|
}
|
|
2612
2612
|
function Ea(e, t, r) {
|
|
2613
|
-
const i =
|
|
2613
|
+
const i = Oi(e, r), o = Oi(t, r);
|
|
2614
2614
|
return i !== void 0 && o !== void 0 && i.toLowerCase() === o.toLowerCase();
|
|
2615
2615
|
}
|
|
2616
2616
|
function Pe(e, t) {
|
|
@@ -2639,13 +2639,13 @@ function Pe(e, t) {
|
|
|
2639
2639
|
return r.query !== void 0 && o.push("?", r.query), r.fragment !== void 0 && o.push("#", r.fragment), o.join("");
|
|
2640
2640
|
}
|
|
2641
2641
|
const xa = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
|
|
2642
|
-
function
|
|
2642
|
+
function Na(e, t) {
|
|
2643
2643
|
if (t[2] !== void 0 && e.path && e.path[0] !== "/")
|
|
2644
2644
|
return 'URI path must start with "/" when authority is present.';
|
|
2645
2645
|
if (typeof e.port == "number" && (e.port < 0 || e.port > 65535))
|
|
2646
2646
|
return "URI port is malformed.";
|
|
2647
2647
|
}
|
|
2648
|
-
function
|
|
2648
|
+
function No(e, t) {
|
|
2649
2649
|
const r = Object.assign({}, t), i = {
|
|
2650
2650
|
scheme: void 0,
|
|
2651
2651
|
userinfo: void 0,
|
|
@@ -2660,7 +2660,7 @@ function Ao(e, t) {
|
|
|
2660
2660
|
const a = e.match(xa);
|
|
2661
2661
|
if (a) {
|
|
2662
2662
|
i.scheme = a[1], i.userinfo = a[3], i.host = a[4], i.port = parseInt(a[5], 10), i.path = a[6] || "", i.query = a[7], i.fragment = a[8], isNaN(i.port) && (i.port = a[5]);
|
|
2663
|
-
const l =
|
|
2663
|
+
const l = Na(i, a);
|
|
2664
2664
|
if (l !== void 0 && (i.error = i.error || l, o = !0), i.host)
|
|
2665
2665
|
if (Da(i.host) === !1) {
|
|
2666
2666
|
const f = Oa(i.host);
|
|
@@ -2686,44 +2686,44 @@ function Ao(e, t) {
|
|
|
2686
2686
|
i.error = i.error || "URI can not be parsed.";
|
|
2687
2687
|
return { parsed: i, malformedAuthorityOrPort: o };
|
|
2688
2688
|
}
|
|
2689
|
-
function
|
|
2690
|
-
return
|
|
2689
|
+
function Ne(e, t) {
|
|
2690
|
+
return No(e, t).parsed;
|
|
2691
2691
|
}
|
|
2692
|
-
function
|
|
2693
|
-
return
|
|
2692
|
+
function Aa(e, t) {
|
|
2693
|
+
return Ao(e, t).normalized;
|
|
2694
2694
|
}
|
|
2695
|
-
function
|
|
2696
|
-
const { parsed: r, malformedAuthorityOrPort: i } =
|
|
2695
|
+
function Ao(e, t) {
|
|
2696
|
+
const { parsed: r, malformedAuthorityOrPort: i } = No(e, t);
|
|
2697
2697
|
return {
|
|
2698
2698
|
normalized: i ? e : Pe(r, t),
|
|
2699
2699
|
malformedAuthorityOrPort: i
|
|
2700
2700
|
};
|
|
2701
2701
|
}
|
|
2702
|
-
function
|
|
2702
|
+
function Oi(e, t) {
|
|
2703
2703
|
if (typeof e == "string") {
|
|
2704
|
-
const { normalized: r, malformedAuthorityOrPort: i } =
|
|
2704
|
+
const { normalized: r, malformedAuthorityOrPort: i } = Ao(e, t);
|
|
2705
2705
|
return i ? void 0 : r;
|
|
2706
2706
|
}
|
|
2707
2707
|
if (typeof e == "object")
|
|
2708
2708
|
return Pe(e, t);
|
|
2709
2709
|
}
|
|
2710
|
-
const
|
|
2710
|
+
const kr = {
|
|
2711
2711
|
SCHEMES: Ra,
|
|
2712
2712
|
normalize: Ta,
|
|
2713
2713
|
resolve: Ia,
|
|
2714
2714
|
resolveComponent: xo,
|
|
2715
2715
|
equal: Ea,
|
|
2716
2716
|
serialize: Pe,
|
|
2717
|
-
parse:
|
|
2717
|
+
parse: Ne
|
|
2718
2718
|
};
|
|
2719
|
-
Vt.exports =
|
|
2720
|
-
Vt.exports.default =
|
|
2721
|
-
Vt.exports.fastUri =
|
|
2719
|
+
Vt.exports = kr;
|
|
2720
|
+
Vt.exports.default = kr;
|
|
2721
|
+
Vt.exports.fastUri = kr;
|
|
2722
2722
|
var za = Vt.exports;
|
|
2723
|
-
Object.defineProperty(
|
|
2723
|
+
Object.defineProperty(vr, "__esModule", { value: !0 });
|
|
2724
2724
|
const zo = za;
|
|
2725
2725
|
zo.code = 'require("ajv/dist/runtime/uri").default';
|
|
2726
|
-
|
|
2726
|
+
vr.default = zo;
|
|
2727
2727
|
(function(e) {
|
|
2728
2728
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
|
|
2729
2729
|
var t = oe;
|
|
@@ -2744,7 +2744,7 @@ br.default = zo;
|
|
|
2744
2744
|
} }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
|
|
2745
2745
|
return r.CodeGen;
|
|
2746
2746
|
} });
|
|
2747
|
-
const i = nt, o = ze, n = Ce, a = Z, l = E, d = K, c = W, f =
|
|
2747
|
+
const i = nt, o = ze, n = Ce, a = Z, l = E, d = K, c = W, f = V, h = Ys, k = vr, S = (P, m) => new RegExp(P, m);
|
|
2748
2748
|
S.code = "new RegExp";
|
|
2749
2749
|
const b = ["removeAdditional", "useDefaults", "coerceTypes"], w = /* @__PURE__ */ new Set([
|
|
2750
2750
|
"validate",
|
|
@@ -2782,18 +2782,18 @@ br.default = zo;
|
|
|
2782
2782
|
unicode: '"minLength"/"maxLength" account for unicode characters by default.'
|
|
2783
2783
|
}, $ = 200;
|
|
2784
2784
|
function C(P) {
|
|
2785
|
-
var m, O, y, s, p, v, R, T, z,
|
|
2786
|
-
const Ue = P.strict, Gt = (m = P.code) === null || m === void 0 ? void 0 : m.optimize,
|
|
2785
|
+
var m, O, y, s, p, v, R, T, z, A, U, Ve, It, Et, xt, Nt, At, zt, Mt, Lt, Bt, qt, Ht, Wt, Ut;
|
|
2786
|
+
const Ue = P.strict, Gt = (m = P.code) === null || m === void 0 ? void 0 : m.optimize, ui = Gt === !0 || Gt === void 0 ? 1 : Gt || 0, fi = (y = (O = P.code) === null || O === void 0 ? void 0 : O.regExp) !== null && y !== void 0 ? y : S, Jo = (s = P.uriResolver) !== null && s !== void 0 ? s : k.default;
|
|
2787
2787
|
return {
|
|
2788
2788
|
strictSchema: (v = (p = P.strictSchema) !== null && p !== void 0 ? p : Ue) !== null && v !== void 0 ? v : !0,
|
|
2789
2789
|
strictNumbers: (T = (R = P.strictNumbers) !== null && R !== void 0 ? R : Ue) !== null && T !== void 0 ? T : !0,
|
|
2790
|
-
strictTypes: (
|
|
2790
|
+
strictTypes: (A = (z = P.strictTypes) !== null && z !== void 0 ? z : Ue) !== null && A !== void 0 ? A : "log",
|
|
2791
2791
|
strictTuples: (Ve = (U = P.strictTuples) !== null && U !== void 0 ? U : Ue) !== null && Ve !== void 0 ? Ve : "log",
|
|
2792
2792
|
strictRequired: (Et = (It = P.strictRequired) !== null && It !== void 0 ? It : Ue) !== null && Et !== void 0 ? Et : !1,
|
|
2793
|
-
code: P.code ? { ...P.code, optimize:
|
|
2793
|
+
code: P.code ? { ...P.code, optimize: ui, regExp: fi } : { optimize: ui, regExp: fi },
|
|
2794
2794
|
loopRequired: (xt = P.loopRequired) !== null && xt !== void 0 ? xt : $,
|
|
2795
|
-
loopEnum: (
|
|
2796
|
-
meta: (
|
|
2795
|
+
loopEnum: (Nt = P.loopEnum) !== null && Nt !== void 0 ? Nt : $,
|
|
2796
|
+
meta: (At = P.meta) !== null && At !== void 0 ? At : !0,
|
|
2797
2797
|
messages: (zt = P.messages) !== null && zt !== void 0 ? zt : !0,
|
|
2798
2798
|
inlineRefs: (Mt = P.inlineRefs) !== null && Mt !== void 0 ? Mt : !0,
|
|
2799
2799
|
schemaId: (Lt = P.schemaId) !== null && Lt !== void 0 ? Lt : "$id",
|
|
@@ -2844,39 +2844,39 @@ br.default = zo;
|
|
|
2844
2844
|
throw new Error("options.loadSchema should be a function");
|
|
2845
2845
|
const { loadSchema: y } = this.opts;
|
|
2846
2846
|
return s.call(this, m, O);
|
|
2847
|
-
async function s(
|
|
2848
|
-
await p.call(this,
|
|
2849
|
-
const Ve = this._addSchema(
|
|
2847
|
+
async function s(A, U) {
|
|
2848
|
+
await p.call(this, A.$schema);
|
|
2849
|
+
const Ve = this._addSchema(A, U);
|
|
2850
2850
|
return Ve.validate || v.call(this, Ve);
|
|
2851
2851
|
}
|
|
2852
|
-
async function p(
|
|
2853
|
-
|
|
2852
|
+
async function p(A) {
|
|
2853
|
+
A && !this.getSchema(A) && await s.call(this, { $ref: A }, !0);
|
|
2854
2854
|
}
|
|
2855
|
-
async function v(
|
|
2855
|
+
async function v(A) {
|
|
2856
2856
|
try {
|
|
2857
|
-
return this._compileSchemaEnv(
|
|
2857
|
+
return this._compileSchemaEnv(A);
|
|
2858
2858
|
} catch (U) {
|
|
2859
2859
|
if (!(U instanceof o.default))
|
|
2860
2860
|
throw U;
|
|
2861
|
-
return R.call(this, U), await T.call(this, U.missingSchema), v.call(this,
|
|
2861
|
+
return R.call(this, U), await T.call(this, U.missingSchema), v.call(this, A);
|
|
2862
2862
|
}
|
|
2863
2863
|
}
|
|
2864
|
-
function R({ missingSchema:
|
|
2865
|
-
if (this.refs[
|
|
2866
|
-
throw new Error(`AnySchema ${
|
|
2864
|
+
function R({ missingSchema: A, missingRef: U }) {
|
|
2865
|
+
if (this.refs[A])
|
|
2866
|
+
throw new Error(`AnySchema ${A} is loaded but ${U} cannot be resolved`);
|
|
2867
2867
|
}
|
|
2868
|
-
async function T(
|
|
2869
|
-
const U = await z.call(this,
|
|
2870
|
-
this.refs[
|
|
2868
|
+
async function T(A) {
|
|
2869
|
+
const U = await z.call(this, A);
|
|
2870
|
+
this.refs[A] || await p.call(this, U.$schema), this.refs[A] || this.addSchema(U, A, O);
|
|
2871
2871
|
}
|
|
2872
|
-
async function z(
|
|
2873
|
-
const U = this._loading[
|
|
2872
|
+
async function z(A) {
|
|
2873
|
+
const U = this._loading[A];
|
|
2874
2874
|
if (U)
|
|
2875
2875
|
return U;
|
|
2876
2876
|
try {
|
|
2877
|
-
return await (this._loading[
|
|
2877
|
+
return await (this._loading[A] = y(A));
|
|
2878
2878
|
} finally {
|
|
2879
|
-
delete this._loading[
|
|
2879
|
+
delete this._loading[A];
|
|
2880
2880
|
}
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
@@ -3015,8 +3015,8 @@ br.default = zo;
|
|
|
3015
3015
|
const T = y[R];
|
|
3016
3016
|
if (typeof T != "object")
|
|
3017
3017
|
continue;
|
|
3018
|
-
const { $data: z } = T.definition,
|
|
3019
|
-
z &&
|
|
3018
|
+
const { $data: z } = T.definition, A = v[R];
|
|
3019
|
+
z && A && (v[R] = lt(A));
|
|
3020
3020
|
}
|
|
3021
3021
|
}
|
|
3022
3022
|
return m;
|
|
@@ -3164,29 +3164,29 @@ br.default = zo;
|
|
|
3164
3164
|
return { anyOf: [P, Tt] };
|
|
3165
3165
|
}
|
|
3166
3166
|
})(Wi);
|
|
3167
|
-
var
|
|
3168
|
-
Object.defineProperty(
|
|
3167
|
+
var Or = {}, Cr = {}, Pr = {};
|
|
3168
|
+
Object.defineProperty(Pr, "__esModule", { value: !0 });
|
|
3169
3169
|
const Ma = {
|
|
3170
3170
|
keyword: "id",
|
|
3171
3171
|
code() {
|
|
3172
3172
|
throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID');
|
|
3173
3173
|
}
|
|
3174
3174
|
};
|
|
3175
|
-
|
|
3175
|
+
Pr.default = Ma;
|
|
3176
3176
|
var pe = {};
|
|
3177
3177
|
Object.defineProperty(pe, "__esModule", { value: !0 });
|
|
3178
3178
|
pe.callRef = pe.getValidate = void 0;
|
|
3179
|
-
const La = ze,
|
|
3179
|
+
const La = ze, Ci = N, X = E, De = Q, Pi = Z, dt = V, Ba = {
|
|
3180
3180
|
keyword: "$ref",
|
|
3181
3181
|
schemaType: "string",
|
|
3182
3182
|
code(e) {
|
|
3183
3183
|
const { gen: t, schema: r, it: i } = e, { baseId: o, schemaEnv: n, validateName: a, opts: l, self: d } = i, { root: c } = n;
|
|
3184
3184
|
if ((r === "#" || r === "#/") && o === c.baseId)
|
|
3185
3185
|
return h();
|
|
3186
|
-
const f =
|
|
3186
|
+
const f = Pi.resolveRef.call(d, c, o, r);
|
|
3187
3187
|
if (f === void 0)
|
|
3188
3188
|
throw new La.default(i.opts.uriResolver, o, r);
|
|
3189
|
-
if (f instanceof
|
|
3189
|
+
if (f instanceof Pi.SchemaEnv)
|
|
3190
3190
|
return k(f);
|
|
3191
3191
|
return S(f);
|
|
3192
3192
|
function h() {
|
|
@@ -3224,13 +3224,13 @@ function gt(e, t, r, i) {
|
|
|
3224
3224
|
throw new Error("async schema referenced by sync schema");
|
|
3225
3225
|
const b = o.let("valid");
|
|
3226
3226
|
o.try(() => {
|
|
3227
|
-
o.code((0, X._)`await ${(0,
|
|
3227
|
+
o.code((0, X._)`await ${(0, Ci.callValidateCode)(e, t, c)}`), S(t), a || o.assign(b, !0);
|
|
3228
3228
|
}, (w) => {
|
|
3229
3229
|
o.if((0, X._)`!(${w} instanceof ${n.ValidationError})`, () => o.throw(w)), k(w), a || o.assign(b, !1);
|
|
3230
3230
|
}), e.ok(b);
|
|
3231
3231
|
}
|
|
3232
3232
|
function h() {
|
|
3233
|
-
e.result((0,
|
|
3233
|
+
e.result((0, Ci.callValidateCode)(e, t, c), () => S(t), () => k(t));
|
|
3234
3234
|
}
|
|
3235
3235
|
function k(b) {
|
|
3236
3236
|
const w = (0, X._)`${b}.errors`;
|
|
@@ -3259,8 +3259,8 @@ function gt(e, t, r, i) {
|
|
|
3259
3259
|
}
|
|
3260
3260
|
pe.callRef = gt;
|
|
3261
3261
|
pe.default = Ba;
|
|
3262
|
-
Object.defineProperty(
|
|
3263
|
-
const qa =
|
|
3262
|
+
Object.defineProperty(Cr, "__esModule", { value: !0 });
|
|
3263
|
+
const qa = Pr, Ha = pe, Wa = [
|
|
3264
3264
|
"$schema",
|
|
3265
3265
|
"$id",
|
|
3266
3266
|
"$defs",
|
|
@@ -3270,9 +3270,9 @@ const qa = Cr, Ha = pe, Wa = [
|
|
|
3270
3270
|
qa.default,
|
|
3271
3271
|
Ha.default
|
|
3272
3272
|
];
|
|
3273
|
-
|
|
3274
|
-
var
|
|
3275
|
-
Object.defineProperty(
|
|
3273
|
+
Cr.default = Wa;
|
|
3274
|
+
var _r = {}, Vr = {};
|
|
3275
|
+
Object.defineProperty(Vr, "__esModule", { value: !0 });
|
|
3276
3276
|
const wt = E, me = wt.operators, kt = {
|
|
3277
3277
|
maximum: { okStr: "<=", ok: me.LTE, fail: me.GT },
|
|
3278
3278
|
minimum: { okStr: ">=", ok: me.GTE, fail: me.LT },
|
|
@@ -3292,9 +3292,9 @@ const wt = E, me = wt.operators, kt = {
|
|
|
3292
3292
|
e.fail$data((0, wt._)`${r} ${kt[t].fail} ${i} || isNaN(${r})`);
|
|
3293
3293
|
}
|
|
3294
3294
|
};
|
|
3295
|
-
|
|
3296
|
-
var
|
|
3297
|
-
Object.defineProperty(
|
|
3295
|
+
Vr.default = Ga;
|
|
3296
|
+
var Fr = {};
|
|
3297
|
+
Object.defineProperty(Fr, "__esModule", { value: !0 });
|
|
3298
3298
|
const Xe = E, Ka = {
|
|
3299
3299
|
message: ({ schemaCode: e }) => (0, Xe.str)`must be multiple of ${e}`,
|
|
3300
3300
|
params: ({ schemaCode: e }) => (0, Xe._)`{multipleOf: ${e}}`
|
|
@@ -3309,9 +3309,9 @@ const Xe = E, Ka = {
|
|
|
3309
3309
|
e.fail$data((0, Xe._)`(${i} === 0 || (${a} = ${r}/${i}, ${l}))`);
|
|
3310
3310
|
}
|
|
3311
3311
|
};
|
|
3312
|
-
|
|
3313
|
-
var
|
|
3314
|
-
Object.defineProperty(
|
|
3312
|
+
Fr.default = Ja;
|
|
3313
|
+
var Dr = {}, jr = {};
|
|
3314
|
+
Object.defineProperty(jr, "__esModule", { value: !0 });
|
|
3315
3315
|
function Lo(e) {
|
|
3316
3316
|
const t = e.length;
|
|
3317
3317
|
let r = 0, i = 0, o;
|
|
@@ -3319,10 +3319,10 @@ function Lo(e) {
|
|
|
3319
3319
|
r++, o = e.charCodeAt(i++), o >= 55296 && o <= 56319 && i < t && (o = e.charCodeAt(i), (o & 64512) === 56320 && i++);
|
|
3320
3320
|
return r;
|
|
3321
3321
|
}
|
|
3322
|
-
|
|
3322
|
+
jr.default = Lo;
|
|
3323
3323
|
Lo.code = 'require("ajv/dist/runtime/ucs2length").default';
|
|
3324
|
-
Object.defineProperty(
|
|
3325
|
-
const we = E, Ya =
|
|
3324
|
+
Object.defineProperty(Dr, "__esModule", { value: !0 });
|
|
3325
|
+
const we = E, Ya = V, Za = jr, Xa = {
|
|
3326
3326
|
message({ keyword: e, schemaCode: t }) {
|
|
3327
3327
|
const r = e === "maxLength" ? "more" : "fewer";
|
|
3328
3328
|
return (0, we.str)`must NOT have ${r} than ${t} characters`;
|
|
@@ -3339,10 +3339,10 @@ const we = E, Ya = _, Za = Dr, Xa = {
|
|
|
3339
3339
|
e.fail$data((0, we._)`${a} ${n} ${i}`);
|
|
3340
3340
|
}
|
|
3341
3341
|
};
|
|
3342
|
-
|
|
3343
|
-
var
|
|
3344
|
-
Object.defineProperty(
|
|
3345
|
-
const el =
|
|
3342
|
+
Dr.default = Qa;
|
|
3343
|
+
var Rr = {};
|
|
3344
|
+
Object.defineProperty(Rr, "__esModule", { value: !0 });
|
|
3345
|
+
const el = N, tl = V, Re = E, rl = {
|
|
3346
3346
|
message: ({ schemaCode: e }) => (0, Re.str)`must match pattern "${e}"`,
|
|
3347
3347
|
params: ({ schemaCode: e }) => (0, Re._)`{pattern: ${e}}`
|
|
3348
3348
|
}, il = {
|
|
@@ -3362,9 +3362,9 @@ const el = A, tl = _, Re = E, rl = {
|
|
|
3362
3362
|
}
|
|
3363
3363
|
}
|
|
3364
3364
|
};
|
|
3365
|
-
|
|
3366
|
-
var
|
|
3367
|
-
Object.defineProperty(
|
|
3365
|
+
Rr.default = il;
|
|
3366
|
+
var Tr = {};
|
|
3367
|
+
Object.defineProperty(Tr, "__esModule", { value: !0 });
|
|
3368
3368
|
const Qe = E, ol = {
|
|
3369
3369
|
message({ keyword: e, schemaCode: t }) {
|
|
3370
3370
|
const r = e === "maxProperties" ? "more" : "fewer";
|
|
@@ -3382,10 +3382,10 @@ const Qe = E, ol = {
|
|
|
3382
3382
|
e.fail$data((0, Qe._)`Object.keys(${r}).length ${o} ${i}`);
|
|
3383
3383
|
}
|
|
3384
3384
|
};
|
|
3385
|
-
|
|
3386
|
-
var
|
|
3387
|
-
Object.defineProperty(
|
|
3388
|
-
const Ke =
|
|
3385
|
+
Tr.default = nl;
|
|
3386
|
+
var Ir = {};
|
|
3387
|
+
Object.defineProperty(Ir, "__esModule", { value: !0 });
|
|
3388
|
+
const Ke = N, et = E, sl = V, al = {
|
|
3389
3389
|
message: ({ params: { missingProperty: e } }) => (0, et.str)`must have required property '${e}'`,
|
|
3390
3390
|
params: ({ params: { missingProperty: e } }) => (0, et._)`{missingProperty: ${e}}`
|
|
3391
3391
|
}, ll = {
|
|
@@ -3436,9 +3436,9 @@ const Ke = A, et = E, sl = _, al = {
|
|
|
3436
3436
|
}
|
|
3437
3437
|
}
|
|
3438
3438
|
};
|
|
3439
|
-
|
|
3440
|
-
var
|
|
3441
|
-
Object.defineProperty(
|
|
3439
|
+
Ir.default = ll;
|
|
3440
|
+
var Er = {};
|
|
3441
|
+
Object.defineProperty(Er, "__esModule", { value: !0 });
|
|
3442
3442
|
const tt = E, dl = {
|
|
3443
3443
|
message({ keyword: e, schemaCode: t }) {
|
|
3444
3444
|
const r = e === "maxItems" ? "more" : "fewer";
|
|
@@ -3456,14 +3456,14 @@ const tt = E, dl = {
|
|
|
3456
3456
|
e.fail$data((0, tt._)`${r}.length ${o} ${i}`);
|
|
3457
3457
|
}
|
|
3458
3458
|
};
|
|
3459
|
-
|
|
3460
|
-
var
|
|
3459
|
+
Er.default = cl;
|
|
3460
|
+
var xr = {}, st = {};
|
|
3461
3461
|
Object.defineProperty(st, "__esModule", { value: !0 });
|
|
3462
3462
|
const Bo = ao;
|
|
3463
3463
|
Bo.code = 'require("ajv/dist/runtime/equal").default';
|
|
3464
3464
|
st.default = Bo;
|
|
3465
|
-
Object.defineProperty(
|
|
3466
|
-
const Zt = W, G = E, pl =
|
|
3465
|
+
Object.defineProperty(xr, "__esModule", { value: !0 });
|
|
3466
|
+
const Zt = W, G = E, pl = V, ul = st, fl = {
|
|
3467
3467
|
message: ({ params: { i: e, j: t } }) => (0, G.str)`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,
|
|
3468
3468
|
params: ({ params: { i: e, j: t } }) => (0, G._)`{i: ${e}, j: ${t}}`
|
|
3469
3469
|
}, hl = {
|
|
@@ -3501,10 +3501,10 @@ const Zt = W, G = E, pl = _, ul = st, fl = {
|
|
|
3501
3501
|
}
|
|
3502
3502
|
}
|
|
3503
3503
|
};
|
|
3504
|
-
|
|
3505
|
-
var
|
|
3506
|
-
Object.defineProperty(
|
|
3507
|
-
const nr = E, ml =
|
|
3504
|
+
xr.default = hl;
|
|
3505
|
+
var Nr = {};
|
|
3506
|
+
Object.defineProperty(Nr, "__esModule", { value: !0 });
|
|
3507
|
+
const nr = E, ml = V, gl = st, yl = {
|
|
3508
3508
|
message: "must be equal to constant",
|
|
3509
3509
|
params: ({ schemaCode: e }) => (0, nr._)`{allowedValue: ${e}}`
|
|
3510
3510
|
}, $l = {
|
|
@@ -3516,10 +3516,10 @@ const nr = E, ml = _, gl = st, yl = {
|
|
|
3516
3516
|
i || n && typeof n == "object" ? e.fail$data((0, nr._)`!${(0, ml.useFunc)(t, gl.default)}(${r}, ${o})`) : e.fail((0, nr._)`${n} !== ${r}`);
|
|
3517
3517
|
}
|
|
3518
3518
|
};
|
|
3519
|
-
|
|
3519
|
+
Nr.default = $l;
|
|
3520
3520
|
var Ar = {};
|
|
3521
3521
|
Object.defineProperty(Ar, "__esModule", { value: !0 });
|
|
3522
|
-
const Ye = E, bl =
|
|
3522
|
+
const Ye = E, bl = V, vl = st, Sl = {
|
|
3523
3523
|
message: "must be equal to one of the allowed values",
|
|
3524
3524
|
params: ({ schemaCode: e }) => (0, Ye._)`{allowedValues: ${e}}`
|
|
3525
3525
|
}, wl = {
|
|
@@ -3554,8 +3554,8 @@ const Ye = E, bl = _, vl = st, Sl = {
|
|
|
3554
3554
|
}
|
|
3555
3555
|
};
|
|
3556
3556
|
Ar.default = wl;
|
|
3557
|
-
Object.defineProperty(
|
|
3558
|
-
const kl =
|
|
3557
|
+
Object.defineProperty(_r, "__esModule", { value: !0 });
|
|
3558
|
+
const kl = Vr, Ol = Fr, Cl = Dr, Pl = Rr, _l = Tr, Vl = Ir, Fl = Er, Dl = xr, jl = Nr, Rl = Ar, Tl = [
|
|
3559
3559
|
// number
|
|
3560
3560
|
kl.default,
|
|
3561
3561
|
Ol.default,
|
|
@@ -3574,11 +3574,11 @@ const kl = _r, Ol = Vr, Cl = Fr, Pl = jr, _l = Rr, Vl = Tr, Fl = Ir, Dl = Er, jl
|
|
|
3574
3574
|
jl.default,
|
|
3575
3575
|
Rl.default
|
|
3576
3576
|
];
|
|
3577
|
-
|
|
3578
|
-
var
|
|
3577
|
+
_r.default = Tl;
|
|
3578
|
+
var zr = {}, Me = {};
|
|
3579
3579
|
Object.defineProperty(Me, "__esModule", { value: !0 });
|
|
3580
3580
|
Me.validateAdditionalItems = void 0;
|
|
3581
|
-
const ke = E, sr =
|
|
3581
|
+
const ke = E, sr = V, Il = {
|
|
3582
3582
|
message: ({ params: { len: e } }) => (0, ke.str)`must NOT have more than ${e} items`,
|
|
3583
3583
|
params: ({ params: { len: e } }) => (0, ke._)`{limit: ${e}}`
|
|
3584
3584
|
}, El = {
|
|
@@ -3614,10 +3614,10 @@ function qo(e, t) {
|
|
|
3614
3614
|
}
|
|
3615
3615
|
Me.validateAdditionalItems = qo;
|
|
3616
3616
|
Me.default = El;
|
|
3617
|
-
var
|
|
3617
|
+
var Mr = {}, Le = {};
|
|
3618
3618
|
Object.defineProperty(Le, "__esModule", { value: !0 });
|
|
3619
3619
|
Le.validateTuple = void 0;
|
|
3620
|
-
const
|
|
3620
|
+
const _i = E, yt = V, xl = N, Nl = {
|
|
3621
3621
|
keyword: "items",
|
|
3622
3622
|
type: "array",
|
|
3623
3623
|
schemaType: ["object", "array", "boolean"],
|
|
@@ -3632,9 +3632,9 @@ const Pi = E, yt = _, xl = A, Al = {
|
|
|
3632
3632
|
function Ho(e, t, r = e.schema) {
|
|
3633
3633
|
const { gen: i, parentSchema: o, data: n, keyword: a, it: l } = e;
|
|
3634
3634
|
f(o), l.opts.unevaluated && r.length && l.items !== !0 && (l.items = yt.mergeEvaluated.items(i, r.length, l.items));
|
|
3635
|
-
const d = i.name("valid"), c = i.const("len", (0,
|
|
3635
|
+
const d = i.name("valid"), c = i.const("len", (0, _i._)`${n}.length`);
|
|
3636
3636
|
r.forEach((h, k) => {
|
|
3637
|
-
(0, yt.alwaysValidSchema)(l, h) || (i.if((0,
|
|
3637
|
+
(0, yt.alwaysValidSchema)(l, h) || (i.if((0, _i._)`${c} > ${k}`, () => e.subschema({
|
|
3638
3638
|
keyword: a,
|
|
3639
3639
|
schemaProp: k,
|
|
3640
3640
|
dataProp: k
|
|
@@ -3649,21 +3649,21 @@ function Ho(e, t, r = e.schema) {
|
|
|
3649
3649
|
}
|
|
3650
3650
|
}
|
|
3651
3651
|
Le.validateTuple = Ho;
|
|
3652
|
-
Le.default =
|
|
3653
|
-
Object.defineProperty(
|
|
3654
|
-
const
|
|
3652
|
+
Le.default = Nl;
|
|
3653
|
+
Object.defineProperty(Mr, "__esModule", { value: !0 });
|
|
3654
|
+
const Al = Le, zl = {
|
|
3655
3655
|
keyword: "prefixItems",
|
|
3656
3656
|
type: "array",
|
|
3657
3657
|
schemaType: ["array"],
|
|
3658
3658
|
before: "uniqueItems",
|
|
3659
|
-
code: (e) => (0,
|
|
3659
|
+
code: (e) => (0, Al.validateTuple)(e, "items")
|
|
3660
3660
|
};
|
|
3661
|
-
|
|
3662
|
-
var
|
|
3663
|
-
Object.defineProperty(
|
|
3664
|
-
const
|
|
3665
|
-
message: ({ params: { len: e } }) => (0,
|
|
3666
|
-
params: ({ params: { len: e } }) => (0,
|
|
3661
|
+
Mr.default = zl;
|
|
3662
|
+
var Lr = {};
|
|
3663
|
+
Object.defineProperty(Lr, "__esModule", { value: !0 });
|
|
3664
|
+
const Vi = E, Ml = V, Ll = N, Bl = Me, ql = {
|
|
3665
|
+
message: ({ params: { len: e } }) => (0, Vi.str)`must NOT have more than ${e} items`,
|
|
3666
|
+
params: ({ params: { len: e } }) => (0, Vi._)`{limit: ${e}}`
|
|
3667
3667
|
}, Hl = {
|
|
3668
3668
|
keyword: "items",
|
|
3669
3669
|
type: "array",
|
|
@@ -3675,10 +3675,10 @@ const _i = E, Ml = _, Ll = A, Bl = Me, ql = {
|
|
|
3675
3675
|
i.items = !0, !(0, Ml.alwaysValidSchema)(i, t) && (o ? (0, Bl.validateAdditionalItems)(e, o) : e.ok((0, Ll.validateArray)(e)));
|
|
3676
3676
|
}
|
|
3677
3677
|
};
|
|
3678
|
-
|
|
3679
|
-
var
|
|
3680
|
-
Object.defineProperty(
|
|
3681
|
-
const ee = E, ct =
|
|
3678
|
+
Lr.default = Hl;
|
|
3679
|
+
var Br = {};
|
|
3680
|
+
Object.defineProperty(Br, "__esModule", { value: !0 });
|
|
3681
|
+
const ee = E, ct = V, Wl = {
|
|
3682
3682
|
message: ({ params: { min: e, max: t } }) => t === void 0 ? (0, ee.str)`must contain at least ${e} valid item(s)` : (0, ee.str)`must contain at least ${e} and no more than ${t} valid item(s)`,
|
|
3683
3683
|
params: ({ params: { min: e, max: t } }) => t === void 0 ? (0, ee._)`{minContains: ${e}}` : (0, ee._)`{minContains: ${e}, maxContains: ${t}}`
|
|
3684
3684
|
}, Ul = {
|
|
@@ -3729,11 +3729,11 @@ const ee = E, ct = _, Wl = {
|
|
|
3729
3729
|
}
|
|
3730
3730
|
}
|
|
3731
3731
|
};
|
|
3732
|
-
|
|
3732
|
+
Br.default = Ul;
|
|
3733
3733
|
var Ft = {};
|
|
3734
3734
|
(function(e) {
|
|
3735
3735
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
|
|
3736
|
-
const t = E, r =
|
|
3736
|
+
const t = E, r = V, i = N;
|
|
3737
3737
|
e.error = {
|
|
3738
3738
|
message: ({ params: { property: d, depsCount: c, deps: f } }) => {
|
|
3739
3739
|
const h = c === 1 ? "property" : "properties";
|
|
@@ -3801,9 +3801,9 @@ var Ft = {};
|
|
|
3801
3801
|
}
|
|
3802
3802
|
e.validateSchemaDeps = l, e.default = o;
|
|
3803
3803
|
})(Ft);
|
|
3804
|
-
var
|
|
3805
|
-
Object.defineProperty(
|
|
3806
|
-
const Wo = E, Gl =
|
|
3804
|
+
var qr = {};
|
|
3805
|
+
Object.defineProperty(qr, "__esModule", { value: !0 });
|
|
3806
|
+
const Wo = E, Gl = V, Kl = {
|
|
3807
3807
|
message: "property name must be valid",
|
|
3808
3808
|
params: ({ params: e }) => (0, Wo._)`{propertyName: ${e.propertyName}}`
|
|
3809
3809
|
}, Jl = {
|
|
@@ -3829,10 +3829,10 @@ const Wo = E, Gl = _, Kl = {
|
|
|
3829
3829
|
}), e.ok(n);
|
|
3830
3830
|
}
|
|
3831
3831
|
};
|
|
3832
|
-
|
|
3832
|
+
qr.default = Jl;
|
|
3833
3833
|
var Dt = {};
|
|
3834
3834
|
Object.defineProperty(Dt, "__esModule", { value: !0 });
|
|
3835
|
-
const pt =
|
|
3835
|
+
const pt = N, re = E, Yl = Q, ut = V, Zl = {
|
|
3836
3836
|
message: "must NOT have additional properties",
|
|
3837
3837
|
params: ({ params: e }) => (0, re._)`{additionalProperty: ${e.additionalProperty}}`
|
|
3838
3838
|
}, Xl = {
|
|
@@ -3898,16 +3898,16 @@ const pt = A, re = E, Yl = Q, ut = _, Zl = {
|
|
|
3898
3898
|
}
|
|
3899
3899
|
};
|
|
3900
3900
|
Dt.default = Xl;
|
|
3901
|
-
var
|
|
3902
|
-
Object.defineProperty(
|
|
3903
|
-
const Ql = oe,
|
|
3901
|
+
var Hr = {};
|
|
3902
|
+
Object.defineProperty(Hr, "__esModule", { value: !0 });
|
|
3903
|
+
const Ql = oe, Fi = N, Xt = V, Di = Dt, ed = {
|
|
3904
3904
|
keyword: "properties",
|
|
3905
3905
|
type: "object",
|
|
3906
3906
|
schemaType: "object",
|
|
3907
3907
|
code(e) {
|
|
3908
3908
|
const { gen: t, schema: r, parentSchema: i, data: o, it: n } = e;
|
|
3909
|
-
n.opts.removeAdditional === "all" && i.additionalProperties === void 0 &&
|
|
3910
|
-
const a = (0,
|
|
3909
|
+
n.opts.removeAdditional === "all" && i.additionalProperties === void 0 && Di.default.code(new Ql.KeywordCxt(n, Di.default, "additionalProperties"));
|
|
3910
|
+
const a = (0, Fi.allSchemaProperties)(r);
|
|
3911
3911
|
for (const h of a)
|
|
3912
3912
|
n.definedProperties.add(h);
|
|
3913
3913
|
n.opts.unevaluated && a.length && n.props !== !0 && (n.props = Xt.mergeEvaluated.props(t, (0, Xt.toHash)(a), n.props));
|
|
@@ -3916,7 +3916,7 @@ const Ql = oe, Vi = A, Xt = _, Fi = Dt, ed = {
|
|
|
3916
3916
|
return;
|
|
3917
3917
|
const d = t.name("valid");
|
|
3918
3918
|
for (const h of l)
|
|
3919
|
-
c(h) ? f(h) : (t.if((0,
|
|
3919
|
+
c(h) ? f(h) : (t.if((0, Fi.propertyInData)(t, o, h, n.opts.ownProperties)), f(h), n.allErrors || t.else().var(d, !0), t.endIf()), e.it.definedProperties.add(h), e.ok(d);
|
|
3920
3920
|
function c(h) {
|
|
3921
3921
|
return n.opts.useDefaults && !n.compositeRule && r[h].default !== void 0;
|
|
3922
3922
|
}
|
|
@@ -3929,19 +3929,19 @@ const Ql = oe, Vi = A, Xt = _, Fi = Dt, ed = {
|
|
|
3929
3929
|
}
|
|
3930
3930
|
}
|
|
3931
3931
|
};
|
|
3932
|
-
|
|
3933
|
-
var
|
|
3934
|
-
Object.defineProperty(
|
|
3935
|
-
const
|
|
3932
|
+
Hr.default = ed;
|
|
3933
|
+
var Wr = {};
|
|
3934
|
+
Object.defineProperty(Wr, "__esModule", { value: !0 });
|
|
3935
|
+
const ji = N, ft = E, Ri = V, Ti = V, td = {
|
|
3936
3936
|
keyword: "patternProperties",
|
|
3937
3937
|
type: "object",
|
|
3938
3938
|
schemaType: "object",
|
|
3939
3939
|
code(e) {
|
|
3940
|
-
const { gen: t, schema: r, data: i, parentSchema: o, it: n } = e, { opts: a } = n, l = (0,
|
|
3940
|
+
const { gen: t, schema: r, data: i, parentSchema: o, it: n } = e, { opts: a } = n, l = (0, ji.allSchemaProperties)(r), d = l.filter((w) => (0, Ri.alwaysValidSchema)(n, r[w]));
|
|
3941
3941
|
if (l.length === 0 || d.length === l.length && (!n.opts.unevaluated || n.props === !0))
|
|
3942
3942
|
return;
|
|
3943
3943
|
const c = a.strictSchema && !a.allowMatchingProperties && o.properties, f = t.name("valid");
|
|
3944
|
-
n.props !== !0 && !(n.props instanceof ft.Name) && (n.props = (0,
|
|
3944
|
+
n.props !== !0 && !(n.props instanceof ft.Name) && (n.props = (0, Ti.evaluatedPropsToName)(t, n.props));
|
|
3945
3945
|
const { props: h } = n;
|
|
3946
3946
|
k();
|
|
3947
3947
|
function k() {
|
|
@@ -3950,27 +3950,27 @@ const Di = A, ft = E, ji = _, Ri = _, td = {
|
|
|
3950
3950
|
}
|
|
3951
3951
|
function S(w) {
|
|
3952
3952
|
for (const g in c)
|
|
3953
|
-
new RegExp(w).test(g) && (0,
|
|
3953
|
+
new RegExp(w).test(g) && (0, Ri.checkStrictMode)(n, `property ${g} matches pattern ${w} (use allowMatchingProperties)`);
|
|
3954
3954
|
}
|
|
3955
3955
|
function b(w) {
|
|
3956
3956
|
t.forIn("key", i, (g) => {
|
|
3957
|
-
t.if((0, ft._)`${(0,
|
|
3957
|
+
t.if((0, ft._)`${(0, ji.usePattern)(e, w)}.test(${g})`, () => {
|
|
3958
3958
|
const u = d.includes(w);
|
|
3959
3959
|
u || e.subschema({
|
|
3960
3960
|
keyword: "patternProperties",
|
|
3961
3961
|
schemaProp: w,
|
|
3962
3962
|
dataProp: g,
|
|
3963
|
-
dataPropType:
|
|
3963
|
+
dataPropType: Ti.Type.Str
|
|
3964
3964
|
}, f), n.opts.unevaluated && h !== !0 ? t.assign((0, ft._)`${h}[${g}]`, !0) : !u && !n.allErrors && t.if((0, ft.not)(f), () => t.break());
|
|
3965
3965
|
});
|
|
3966
3966
|
});
|
|
3967
3967
|
}
|
|
3968
3968
|
}
|
|
3969
3969
|
};
|
|
3970
|
-
|
|
3971
|
-
var
|
|
3972
|
-
Object.defineProperty(
|
|
3973
|
-
const rd =
|
|
3970
|
+
Wr.default = td;
|
|
3971
|
+
var Ur = {};
|
|
3972
|
+
Object.defineProperty(Ur, "__esModule", { value: !0 });
|
|
3973
|
+
const rd = V, id = {
|
|
3974
3974
|
keyword: "not",
|
|
3975
3975
|
schemaType: ["object", "boolean"],
|
|
3976
3976
|
trackErrors: !0,
|
|
@@ -3990,20 +3990,20 @@ const rd = _, id = {
|
|
|
3990
3990
|
},
|
|
3991
3991
|
error: { message: "must NOT be valid" }
|
|
3992
3992
|
};
|
|
3993
|
-
|
|
3994
|
-
var
|
|
3995
|
-
Object.defineProperty(
|
|
3996
|
-
const od =
|
|
3993
|
+
Ur.default = id;
|
|
3994
|
+
var Gr = {};
|
|
3995
|
+
Object.defineProperty(Gr, "__esModule", { value: !0 });
|
|
3996
|
+
const od = N, nd = {
|
|
3997
3997
|
keyword: "anyOf",
|
|
3998
3998
|
schemaType: "array",
|
|
3999
3999
|
trackErrors: !0,
|
|
4000
4000
|
code: od.validateUnion,
|
|
4001
4001
|
error: { message: "must match a schema in anyOf" }
|
|
4002
4002
|
};
|
|
4003
|
-
|
|
4004
|
-
var
|
|
4005
|
-
Object.defineProperty(
|
|
4006
|
-
const $t = E, sd =
|
|
4003
|
+
Gr.default = nd;
|
|
4004
|
+
var Kr = {};
|
|
4005
|
+
Object.defineProperty(Kr, "__esModule", { value: !0 });
|
|
4006
|
+
const $t = E, sd = V, ad = {
|
|
4007
4007
|
message: "must match exactly one schema in oneOf",
|
|
4008
4008
|
params: ({ params: e }) => (0, $t._)`{passingSchemas: ${e.passing}}`
|
|
4009
4009
|
}, ld = {
|
|
@@ -4033,10 +4033,10 @@ const $t = E, sd = _, ad = {
|
|
|
4033
4033
|
}
|
|
4034
4034
|
}
|
|
4035
4035
|
};
|
|
4036
|
-
|
|
4037
|
-
var
|
|
4038
|
-
Object.defineProperty(
|
|
4039
|
-
const dd =
|
|
4036
|
+
Kr.default = ld;
|
|
4037
|
+
var Jr = {};
|
|
4038
|
+
Object.defineProperty(Jr, "__esModule", { value: !0 });
|
|
4039
|
+
const dd = V, cd = {
|
|
4040
4040
|
keyword: "allOf",
|
|
4041
4041
|
schemaType: "array",
|
|
4042
4042
|
code(e) {
|
|
@@ -4052,10 +4052,10 @@ const dd = _, cd = {
|
|
|
4052
4052
|
});
|
|
4053
4053
|
}
|
|
4054
4054
|
};
|
|
4055
|
-
|
|
4056
|
-
var
|
|
4057
|
-
Object.defineProperty(
|
|
4058
|
-
const Ot = E, Uo =
|
|
4055
|
+
Jr.default = cd;
|
|
4056
|
+
var Yr = {};
|
|
4057
|
+
Object.defineProperty(Yr, "__esModule", { value: !0 });
|
|
4058
|
+
const Ot = E, Uo = V, pd = {
|
|
4059
4059
|
message: ({ params: e }) => (0, Ot.str)`must match "${e.ifClause}" schema`,
|
|
4060
4060
|
params: ({ params: e }) => (0, Ot._)`{failingKeyword: ${e.ifClause}}`
|
|
4061
4061
|
}, ud = {
|
|
@@ -4066,7 +4066,7 @@ const Ot = E, Uo = _, pd = {
|
|
|
4066
4066
|
code(e) {
|
|
4067
4067
|
const { gen: t, parentSchema: r, it: i } = e;
|
|
4068
4068
|
r.then === void 0 && r.else === void 0 && (0, Uo.checkStrictMode)(i, '"if" without "then" and "else" is ignored');
|
|
4069
|
-
const o =
|
|
4069
|
+
const o = Ii(i, "then"), n = Ii(i, "else");
|
|
4070
4070
|
if (!o && !n)
|
|
4071
4071
|
return;
|
|
4072
4072
|
const a = t.let("valid", !0), l = t.name("_valid");
|
|
@@ -4092,23 +4092,23 @@ const Ot = E, Uo = _, pd = {
|
|
|
4092
4092
|
}
|
|
4093
4093
|
}
|
|
4094
4094
|
};
|
|
4095
|
-
function
|
|
4095
|
+
function Ii(e, t) {
|
|
4096
4096
|
const r = e.schema[t];
|
|
4097
4097
|
return r !== void 0 && !(0, Uo.alwaysValidSchema)(e, r);
|
|
4098
4098
|
}
|
|
4099
|
-
|
|
4100
|
-
var
|
|
4101
|
-
Object.defineProperty(
|
|
4102
|
-
const fd =
|
|
4099
|
+
Yr.default = ud;
|
|
4100
|
+
var Zr = {};
|
|
4101
|
+
Object.defineProperty(Zr, "__esModule", { value: !0 });
|
|
4102
|
+
const fd = V, hd = {
|
|
4103
4103
|
keyword: ["then", "else"],
|
|
4104
4104
|
schemaType: ["object", "boolean"],
|
|
4105
4105
|
code({ keyword: e, parentSchema: t, it: r }) {
|
|
4106
4106
|
t.if === void 0 && (0, fd.checkStrictMode)(r, `"${e}" without "if" is ignored`);
|
|
4107
4107
|
}
|
|
4108
4108
|
};
|
|
4109
|
-
|
|
4110
|
-
Object.defineProperty(
|
|
4111
|
-
const md = Me, gd =
|
|
4109
|
+
Zr.default = hd;
|
|
4110
|
+
Object.defineProperty(zr, "__esModule", { value: !0 });
|
|
4111
|
+
const md = Me, gd = Mr, yd = Le, $d = Lr, bd = Br, vd = Ft, Sd = qr, wd = Dt, kd = Hr, Od = Wr, Cd = Ur, Pd = Gr, _d = Kr, Vd = Jr, Fd = Yr, Dd = Zr;
|
|
4112
4112
|
function jd(e = !1) {
|
|
4113
4113
|
const t = [
|
|
4114
4114
|
// any
|
|
@@ -4127,11 +4127,11 @@ function jd(e = !1) {
|
|
|
4127
4127
|
];
|
|
4128
4128
|
return e ? t.push(gd.default, $d.default) : t.push(md.default, yd.default), t.push(bd.default), t;
|
|
4129
4129
|
}
|
|
4130
|
-
|
|
4131
|
-
var
|
|
4130
|
+
zr.default = jd;
|
|
4131
|
+
var Xr = {}, Be = {};
|
|
4132
4132
|
Object.defineProperty(Be, "__esModule", { value: !0 });
|
|
4133
4133
|
Be.dynamicAnchor = void 0;
|
|
4134
|
-
const Qt = E, Rd = Q,
|
|
4134
|
+
const Qt = E, Rd = Q, Ei = Z, Td = pe, Id = {
|
|
4135
4135
|
keyword: "$dynamicAnchor",
|
|
4136
4136
|
schemaType: "string",
|
|
4137
4137
|
code: (e) => Go(e, e.schema)
|
|
@@ -4144,14 +4144,14 @@ function Go(e, t) {
|
|
|
4144
4144
|
}
|
|
4145
4145
|
Be.dynamicAnchor = Go;
|
|
4146
4146
|
function Ed(e) {
|
|
4147
|
-
const { schemaEnv: t, schema: r, self: i } = e.it, { root: o, baseId: n, localRefs: a, meta: l } = t.root, { schemaId: d } = i.opts, c = new
|
|
4148
|
-
return
|
|
4147
|
+
const { schemaEnv: t, schema: r, self: i } = e.it, { root: o, baseId: n, localRefs: a, meta: l } = t.root, { schemaId: d } = i.opts, c = new Ei.SchemaEnv({ schema: r, schemaId: d, root: o, baseId: n, localRefs: a, meta: l });
|
|
4148
|
+
return Ei.compileSchema.call(i, c), (0, Td.getValidate)(e, c);
|
|
4149
4149
|
}
|
|
4150
4150
|
Be.default = Id;
|
|
4151
4151
|
var qe = {};
|
|
4152
4152
|
Object.defineProperty(qe, "__esModule", { value: !0 });
|
|
4153
4153
|
qe.dynamicRef = void 0;
|
|
4154
|
-
const
|
|
4154
|
+
const xi = E, xd = Q, Ni = pe, Nd = {
|
|
4155
4155
|
keyword: "$dynamicRef",
|
|
4156
4156
|
schemaType: "string",
|
|
4157
4157
|
code: (e) => Ko(e, e.schema)
|
|
@@ -4169,42 +4169,42 @@ function Ko(e, t) {
|
|
|
4169
4169
|
}
|
|
4170
4170
|
function a(d) {
|
|
4171
4171
|
if (o.schemaEnv.root.dynamicAnchors[n]) {
|
|
4172
|
-
const c = r.let("_v", (0,
|
|
4172
|
+
const c = r.let("_v", (0, xi._)`${xd.default.dynamicAnchors}${(0, xi.getProperty)(n)}`);
|
|
4173
4173
|
r.if(c, l(c, d), l(o.validateName, d));
|
|
4174
4174
|
} else
|
|
4175
4175
|
l(o.validateName, d)();
|
|
4176
4176
|
}
|
|
4177
4177
|
function l(d, c) {
|
|
4178
4178
|
return c ? () => r.block(() => {
|
|
4179
|
-
(0,
|
|
4180
|
-
}) : () => (0,
|
|
4179
|
+
(0, Ni.callRef)(e, d), r.let(c, !0);
|
|
4180
|
+
}) : () => (0, Ni.callRef)(e, d);
|
|
4181
4181
|
}
|
|
4182
4182
|
}
|
|
4183
4183
|
qe.dynamicRef = Ko;
|
|
4184
|
-
qe.default =
|
|
4185
|
-
var
|
|
4186
|
-
Object.defineProperty(
|
|
4187
|
-
const
|
|
4184
|
+
qe.default = Nd;
|
|
4185
|
+
var Qr = {};
|
|
4186
|
+
Object.defineProperty(Qr, "__esModule", { value: !0 });
|
|
4187
|
+
const Ad = Be, zd = V, Md = {
|
|
4188
4188
|
keyword: "$recursiveAnchor",
|
|
4189
4189
|
schemaType: "boolean",
|
|
4190
4190
|
code(e) {
|
|
4191
|
-
e.schema ? (0,
|
|
4191
|
+
e.schema ? (0, Ad.dynamicAnchor)(e, "") : (0, zd.checkStrictMode)(e.it, "$recursiveAnchor: false is ignored");
|
|
4192
4192
|
}
|
|
4193
4193
|
};
|
|
4194
|
-
|
|
4195
|
-
var
|
|
4196
|
-
Object.defineProperty(
|
|
4194
|
+
Qr.default = Md;
|
|
4195
|
+
var ei = {};
|
|
4196
|
+
Object.defineProperty(ei, "__esModule", { value: !0 });
|
|
4197
4197
|
const Ld = qe, Bd = {
|
|
4198
4198
|
keyword: "$recursiveRef",
|
|
4199
4199
|
schemaType: "string",
|
|
4200
4200
|
code: (e) => (0, Ld.dynamicRef)(e, e.schema)
|
|
4201
4201
|
};
|
|
4202
|
-
|
|
4203
|
-
Object.defineProperty(
|
|
4204
|
-
const qd = Be, Hd = qe, Wd =
|
|
4205
|
-
|
|
4206
|
-
var
|
|
4207
|
-
Object.defineProperty(
|
|
4202
|
+
ei.default = Bd;
|
|
4203
|
+
Object.defineProperty(Xr, "__esModule", { value: !0 });
|
|
4204
|
+
const qd = Be, Hd = qe, Wd = Qr, Ud = ei, Gd = [qd.default, Hd.default, Wd.default, Ud.default];
|
|
4205
|
+
Xr.default = Gd;
|
|
4206
|
+
var ti = {}, ri = {};
|
|
4207
|
+
Object.defineProperty(ri, "__esModule", { value: !0 });
|
|
4208
4208
|
const Ai = Ft, Kd = {
|
|
4209
4209
|
keyword: "dependentRequired",
|
|
4210
4210
|
type: "object",
|
|
@@ -4212,19 +4212,19 @@ const Ai = Ft, Kd = {
|
|
|
4212
4212
|
error: Ai.error,
|
|
4213
4213
|
code: (e) => (0, Ai.validatePropertyDeps)(e)
|
|
4214
4214
|
};
|
|
4215
|
-
|
|
4216
|
-
var
|
|
4217
|
-
Object.defineProperty(
|
|
4215
|
+
ri.default = Kd;
|
|
4216
|
+
var ii = {};
|
|
4217
|
+
Object.defineProperty(ii, "__esModule", { value: !0 });
|
|
4218
4218
|
const Jd = Ft, Yd = {
|
|
4219
4219
|
keyword: "dependentSchemas",
|
|
4220
4220
|
type: "object",
|
|
4221
4221
|
schemaType: "object",
|
|
4222
4222
|
code: (e) => (0, Jd.validateSchemaDeps)(e)
|
|
4223
4223
|
};
|
|
4224
|
-
|
|
4225
|
-
var
|
|
4226
|
-
Object.defineProperty(
|
|
4227
|
-
const Zd =
|
|
4224
|
+
ii.default = Yd;
|
|
4225
|
+
var oi = {};
|
|
4226
|
+
Object.defineProperty(oi, "__esModule", { value: !0 });
|
|
4227
|
+
const Zd = V, Xd = {
|
|
4228
4228
|
keyword: ["maxContains", "minContains"],
|
|
4229
4229
|
type: "array",
|
|
4230
4230
|
schemaType: "number",
|
|
@@ -4232,13 +4232,13 @@ const Zd = _, Xd = {
|
|
|
4232
4232
|
t.contains === void 0 && (0, Zd.checkStrictMode)(r, `"${e}" without "contains" is ignored`);
|
|
4233
4233
|
}
|
|
4234
4234
|
};
|
|
4235
|
-
|
|
4236
|
-
Object.defineProperty(
|
|
4237
|
-
const Qd =
|
|
4238
|
-
|
|
4239
|
-
var
|
|
4240
|
-
Object.defineProperty(
|
|
4241
|
-
const ge = E,
|
|
4235
|
+
oi.default = Xd;
|
|
4236
|
+
Object.defineProperty(ti, "__esModule", { value: !0 });
|
|
4237
|
+
const Qd = ri, ec = ii, tc = oi, rc = [Qd.default, ec.default, tc.default];
|
|
4238
|
+
ti.default = rc;
|
|
4239
|
+
var ni = {}, si = {};
|
|
4240
|
+
Object.defineProperty(si, "__esModule", { value: !0 });
|
|
4241
|
+
const ge = E, zi = V, ic = Q, oc = {
|
|
4242
4242
|
message: "must NOT have unevaluated properties",
|
|
4243
4243
|
params: ({ params: e }) => (0, ge._)`{unevaluatedProperty: ${e.unevaluatedProperty}}`
|
|
4244
4244
|
}, nc = {
|
|
@@ -4258,12 +4258,12 @@ const ge = E, Ni = _, ic = Q, oc = {
|
|
|
4258
4258
|
e.setParams({ unevaluatedProperty: h }), e.error(), a || t.break();
|
|
4259
4259
|
return;
|
|
4260
4260
|
}
|
|
4261
|
-
if (!(0,
|
|
4261
|
+
if (!(0, zi.alwaysValidSchema)(n, r)) {
|
|
4262
4262
|
const k = t.name("valid");
|
|
4263
4263
|
e.subschema({
|
|
4264
4264
|
keyword: "unevaluatedProperties",
|
|
4265
4265
|
dataProp: h,
|
|
4266
|
-
dataPropType:
|
|
4266
|
+
dataPropType: zi.Type.Str
|
|
4267
4267
|
}, k), a || t.if((0, ge.not)(k), () => t.break());
|
|
4268
4268
|
}
|
|
4269
4269
|
}
|
|
@@ -4278,10 +4278,10 @@ const ge = E, Ni = _, ic = Q, oc = {
|
|
|
4278
4278
|
}
|
|
4279
4279
|
}
|
|
4280
4280
|
};
|
|
4281
|
-
|
|
4282
|
-
var
|
|
4283
|
-
Object.defineProperty(
|
|
4284
|
-
const Oe = E,
|
|
4281
|
+
si.default = nc;
|
|
4282
|
+
var ai = {};
|
|
4283
|
+
Object.defineProperty(ai, "__esModule", { value: !0 });
|
|
4284
|
+
const Oe = E, Mi = V, sc = {
|
|
4285
4285
|
message: ({ params: { len: e } }) => (0, Oe.str)`must NOT have more than ${e} items`,
|
|
4286
4286
|
params: ({ params: { len: e } }) => (0, Oe._)`{limit: ${e}}`
|
|
4287
4287
|
}, ac = {
|
|
@@ -4296,24 +4296,24 @@ const Oe = E, zi = _, sc = {
|
|
|
4296
4296
|
const a = t.const("len", (0, Oe._)`${i}.length`);
|
|
4297
4297
|
if (r === !1)
|
|
4298
4298
|
e.setParams({ len: n }), e.fail((0, Oe._)`${a} > ${n}`);
|
|
4299
|
-
else if (typeof r == "object" && !(0,
|
|
4299
|
+
else if (typeof r == "object" && !(0, Mi.alwaysValidSchema)(o, r)) {
|
|
4300
4300
|
const d = t.var("valid", (0, Oe._)`${a} <= ${n}`);
|
|
4301
4301
|
t.if((0, Oe.not)(d), () => l(d, n)), e.ok(d);
|
|
4302
4302
|
}
|
|
4303
4303
|
o.items = !0;
|
|
4304
4304
|
function l(d, c) {
|
|
4305
4305
|
t.forRange("i", c, a, (f) => {
|
|
4306
|
-
e.subschema({ keyword: "unevaluatedItems", dataProp: f, dataPropType:
|
|
4306
|
+
e.subschema({ keyword: "unevaluatedItems", dataProp: f, dataPropType: Mi.Type.Num }, d), o.allErrors || t.if((0, Oe.not)(d), () => t.break());
|
|
4307
4307
|
});
|
|
4308
4308
|
}
|
|
4309
4309
|
}
|
|
4310
4310
|
};
|
|
4311
|
-
|
|
4312
|
-
Object.defineProperty(
|
|
4313
|
-
const lc =
|
|
4314
|
-
|
|
4315
|
-
var
|
|
4316
|
-
Object.defineProperty(
|
|
4311
|
+
ai.default = ac;
|
|
4312
|
+
Object.defineProperty(ni, "__esModule", { value: !0 });
|
|
4313
|
+
const lc = si, dc = ai, cc = [lc.default, dc.default];
|
|
4314
|
+
ni.default = cc;
|
|
4315
|
+
var li = {}, di = {};
|
|
4316
|
+
Object.defineProperty(di, "__esModule", { value: !0 });
|
|
4317
4317
|
const q = E, pc = {
|
|
4318
4318
|
message: ({ schemaCode: e }) => (0, q.str)`must match format "${e}"`,
|
|
4319
4319
|
params: ({ schemaCode: e }) => (0, q._)`{format: ${e}}`
|
|
@@ -4377,14 +4377,14 @@ const q = E, pc = {
|
|
|
4377
4377
|
}
|
|
4378
4378
|
}
|
|
4379
4379
|
};
|
|
4380
|
-
|
|
4381
|
-
Object.defineProperty(
|
|
4382
|
-
const fc =
|
|
4383
|
-
|
|
4384
|
-
var
|
|
4385
|
-
Object.defineProperty(
|
|
4386
|
-
|
|
4387
|
-
|
|
4380
|
+
di.default = uc;
|
|
4381
|
+
Object.defineProperty(li, "__esModule", { value: !0 });
|
|
4382
|
+
const fc = di, hc = [fc.default];
|
|
4383
|
+
li.default = hc;
|
|
4384
|
+
var Ae = {};
|
|
4385
|
+
Object.defineProperty(Ae, "__esModule", { value: !0 });
|
|
4386
|
+
Ae.contentVocabulary = Ae.metadataVocabulary = void 0;
|
|
4387
|
+
Ae.metadataVocabulary = [
|
|
4388
4388
|
"title",
|
|
4389
4389
|
"description",
|
|
4390
4390
|
"default",
|
|
@@ -4393,33 +4393,33 @@ Ne.metadataVocabulary = [
|
|
|
4393
4393
|
"writeOnly",
|
|
4394
4394
|
"examples"
|
|
4395
4395
|
];
|
|
4396
|
-
|
|
4396
|
+
Ae.contentVocabulary = [
|
|
4397
4397
|
"contentMediaType",
|
|
4398
4398
|
"contentEncoding",
|
|
4399
4399
|
"contentSchema"
|
|
4400
4400
|
];
|
|
4401
|
-
Object.defineProperty(
|
|
4402
|
-
const mc =
|
|
4401
|
+
Object.defineProperty(Or, "__esModule", { value: !0 });
|
|
4402
|
+
const mc = Cr, gc = _r, yc = zr, $c = Xr, bc = ti, vc = ni, Sc = li, Li = Ae, wc = [
|
|
4403
4403
|
$c.default,
|
|
4404
4404
|
mc.default,
|
|
4405
4405
|
gc.default,
|
|
4406
4406
|
(0, yc.default)(!0),
|
|
4407
4407
|
Sc.default,
|
|
4408
|
-
|
|
4409
|
-
|
|
4408
|
+
Li.metadataVocabulary,
|
|
4409
|
+
Li.contentVocabulary,
|
|
4410
4410
|
bc.default,
|
|
4411
4411
|
vc.default
|
|
4412
4412
|
];
|
|
4413
|
-
|
|
4414
|
-
var
|
|
4413
|
+
Or.default = wc;
|
|
4414
|
+
var ci = {}, jt = {};
|
|
4415
4415
|
Object.defineProperty(jt, "__esModule", { value: !0 });
|
|
4416
4416
|
jt.DiscrError = void 0;
|
|
4417
|
-
var
|
|
4417
|
+
var Bi;
|
|
4418
4418
|
(function(e) {
|
|
4419
4419
|
e.Tag = "tag", e.Mapping = "mapping";
|
|
4420
|
-
})(
|
|
4421
|
-
Object.defineProperty(
|
|
4422
|
-
const je = E, ar = jt,
|
|
4420
|
+
})(Bi || (jt.DiscrError = Bi = {}));
|
|
4421
|
+
Object.defineProperty(ci, "__esModule", { value: !0 });
|
|
4422
|
+
const je = E, ar = jt, qi = Z, kc = ze, Oc = V, Cc = {
|
|
4423
4423
|
message: ({ params: { discrError: e, tagName: t } }) => e === ar.DiscrError.Tag ? `tag "${t}" must be string` : `value of tag "${t}" must be in oneOf`,
|
|
4424
4424
|
params: ({ params: { discrError: e, tag: t, tagName: r } }) => (0, je._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`
|
|
4425
4425
|
}, Pc = {
|
|
@@ -4459,7 +4459,7 @@ const je = E, ar = jt, Bi = Z, kc = ze, Oc = _, Cc = {
|
|
|
4459
4459
|
let D = a[F];
|
|
4460
4460
|
if (D != null && D.$ref && !(0, Oc.schemaHasRulesButRef)(D, n.self.RULES)) {
|
|
4461
4461
|
const H = D.$ref;
|
|
4462
|
-
if (D =
|
|
4462
|
+
if (D = qi.resolveRef.call(n.self, n.schemaEnv.root, n.baseId, H), D instanceof qi.SchemaEnv && (D = D.schema), D === void 0)
|
|
4463
4463
|
throw new kc.default(n.opts.uriResolver, n.baseId, H);
|
|
4464
4464
|
}
|
|
4465
4465
|
const L = (S = D == null ? void 0 : D.properties) === null || S === void 0 ? void 0 : S[l];
|
|
@@ -4490,8 +4490,8 @@ const je = E, ar = jt, Bi = Z, kc = ze, Oc = _, Cc = {
|
|
|
4490
4490
|
}
|
|
4491
4491
|
}
|
|
4492
4492
|
};
|
|
4493
|
-
|
|
4494
|
-
var
|
|
4493
|
+
ci.default = Pc;
|
|
4494
|
+
var pi = {};
|
|
4495
4495
|
const _c = "https://json-schema.org/draft/2020-12/schema", Vc = "https://json-schema.org/draft/2020-12/schema", Fc = {
|
|
4496
4496
|
"https://json-schema.org/draft/2020-12/vocab/core": !0,
|
|
4497
4497
|
"https://json-schema.org/draft/2020-12/vocab/applicator": !0,
|
|
@@ -4571,7 +4571,7 @@ const _c = "https://json-schema.org/draft/2020-12/schema", Vc = "https://json-sc
|
|
|
4571
4571
|
type: Tc,
|
|
4572
4572
|
$comment: Ic,
|
|
4573
4573
|
properties: Ec
|
|
4574
|
-
},
|
|
4574
|
+
}, Nc = "https://json-schema.org/draft/2020-12/schema", Ac = "https://json-schema.org/draft/2020-12/meta/applicator", zc = {
|
|
4575
4575
|
"https://json-schema.org/draft/2020-12/vocab/applicator": !0
|
|
4576
4576
|
}, Mc = "meta", Lc = "Applicator vocabulary meta-schema", Bc = [
|
|
4577
4577
|
"object",
|
|
@@ -4646,8 +4646,8 @@ const _c = "https://json-schema.org/draft/2020-12/schema", Vc = "https://json-sc
|
|
|
4646
4646
|
}
|
|
4647
4647
|
}
|
|
4648
4648
|
}, Wc = {
|
|
4649
|
-
$schema:
|
|
4650
|
-
$id:
|
|
4649
|
+
$schema: Nc,
|
|
4650
|
+
$id: Ac,
|
|
4651
4651
|
$vocabulary: zc,
|
|
4652
4652
|
$dynamicAnchor: Mc,
|
|
4653
4653
|
title: Lc,
|
|
@@ -4819,7 +4819,7 @@ const _c = "https://json-schema.org/draft/2020-12/schema", Vc = "https://json-sc
|
|
|
4819
4819
|
properties: jp
|
|
4820
4820
|
}, Tp = "https://json-schema.org/draft/2020-12/schema", Ip = "https://json-schema.org/draft/2020-12/meta/validation", Ep = {
|
|
4821
4821
|
"https://json-schema.org/draft/2020-12/vocab/validation": !0
|
|
4822
|
-
}, xp = "meta",
|
|
4822
|
+
}, xp = "meta", Np = "Validation vocabulary meta-schema", Ap = [
|
|
4823
4823
|
"object",
|
|
4824
4824
|
"boolean"
|
|
4825
4825
|
], zp = {
|
|
@@ -4934,12 +4934,12 @@ const _c = "https://json-schema.org/draft/2020-12/schema", Vc = "https://json-sc
|
|
|
4934
4934
|
$id: Ip,
|
|
4935
4935
|
$vocabulary: Ep,
|
|
4936
4936
|
$dynamicAnchor: xp,
|
|
4937
|
-
title:
|
|
4938
|
-
type:
|
|
4937
|
+
title: Np,
|
|
4938
|
+
type: Ap,
|
|
4939
4939
|
properties: zp,
|
|
4940
4940
|
$defs: Mp
|
|
4941
4941
|
};
|
|
4942
|
-
Object.defineProperty(
|
|
4942
|
+
Object.defineProperty(pi, "__esModule", { value: !0 });
|
|
4943
4943
|
const Bp = xc, qp = Wc, Hp = Qc, Wp = ap, Up = gp, Gp = Op, Kp = Rp, Jp = Lp, Yp = ["/properties"];
|
|
4944
4944
|
function Zp(e) {
|
|
4945
4945
|
return [
|
|
@@ -4956,10 +4956,10 @@ function Zp(e) {
|
|
|
4956
4956
|
return e ? r.$dataMetaSchema(i, Yp) : i;
|
|
4957
4957
|
}
|
|
4958
4958
|
}
|
|
4959
|
-
|
|
4959
|
+
pi.default = Zp;
|
|
4960
4960
|
(function(e, t) {
|
|
4961
4961
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MissingRefError = t.ValidationError = t.CodeGen = t.Name = t.nil = t.stringify = t.str = t._ = t.KeywordCxt = t.Ajv2020 = void 0;
|
|
4962
|
-
const r = Wi, i =
|
|
4962
|
+
const r = Wi, i = Or, o = ci, n = pi, a = "https://json-schema.org/draft/2020-12/schema";
|
|
4963
4963
|
class l extends r.default {
|
|
4964
4964
|
constructor(S = {}) {
|
|
4965
4965
|
super({
|
|
@@ -5010,7 +5010,7 @@ ci.default = Zp;
|
|
|
5010
5010
|
} });
|
|
5011
5011
|
})(er, er.exports);
|
|
5012
5012
|
var Xp = er.exports;
|
|
5013
|
-
const Qp = "custom-apps", eu = "1.
|
|
5013
|
+
const Qp = "custom-apps", eu = "1.4.0", Ee = {
|
|
5014
5014
|
ActionCard: {
|
|
5015
5015
|
description: "Card with icon asset, title, caption, and action buttons",
|
|
5016
5016
|
events: ["primaryAction", "secondaryAction"],
|
|
@@ -5076,6 +5076,31 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
5076
5076
|
},
|
|
5077
5077
|
acceptsChildren: !1
|
|
5078
5078
|
},
|
|
5079
|
+
Anchor: {
|
|
5080
|
+
description: "Inline text link that opens supported URLs",
|
|
5081
|
+
events: ["press", "open", "error"],
|
|
5082
|
+
propsSchema: {
|
|
5083
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
5084
|
+
additionalProperties: !1,
|
|
5085
|
+
properties: {
|
|
5086
|
+
children: {
|
|
5087
|
+
description: "Text content shown as the link",
|
|
5088
|
+
type: "string"
|
|
5089
|
+
},
|
|
5090
|
+
href: {
|
|
5091
|
+
description: "URL to open. Supports http, https, mailto, tel, and sms schemes.",
|
|
5092
|
+
type: "string"
|
|
5093
|
+
},
|
|
5094
|
+
testID: {
|
|
5095
|
+
description: "Sets testid on Anchor (used for testing purposes)",
|
|
5096
|
+
type: "string"
|
|
5097
|
+
}
|
|
5098
|
+
},
|
|
5099
|
+
required: ["href", "children"],
|
|
5100
|
+
type: "object"
|
|
5101
|
+
},
|
|
5102
|
+
acceptsChildren: !1
|
|
5103
|
+
},
|
|
5079
5104
|
Avatar: {
|
|
5080
5105
|
description: "Circular avatar showing a photo, icon, or initials",
|
|
5081
5106
|
events: ["press"],
|
|
@@ -6480,6 +6505,105 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
6480
6505
|
},
|
|
6481
6506
|
acceptsChildren: !1
|
|
6482
6507
|
},
|
|
6508
|
+
Email: {
|
|
6509
|
+
description: "Email text input that validates email format",
|
|
6510
|
+
events: ["change", "blur"],
|
|
6511
|
+
propsSchema: {
|
|
6512
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
6513
|
+
additionalProperties: !1,
|
|
6514
|
+
properties: {
|
|
6515
|
+
name: {
|
|
6516
|
+
description: "Field name identifier for form binding",
|
|
6517
|
+
type: "string"
|
|
6518
|
+
},
|
|
6519
|
+
checks: {
|
|
6520
|
+
description: "Array of {type, message, args?} validation rule objects. Requires validateOn to be set",
|
|
6521
|
+
items: {
|
|
6522
|
+
additionalProperties: !1,
|
|
6523
|
+
properties: {
|
|
6524
|
+
args: {
|
|
6525
|
+
additionalProperties: {},
|
|
6526
|
+
propertyNames: {
|
|
6527
|
+
type: "string"
|
|
6528
|
+
},
|
|
6529
|
+
type: "object"
|
|
6530
|
+
},
|
|
6531
|
+
message: {
|
|
6532
|
+
type: "string"
|
|
6533
|
+
},
|
|
6534
|
+
type: {
|
|
6535
|
+
type: "string"
|
|
6536
|
+
}
|
|
6537
|
+
},
|
|
6538
|
+
required: ["type", "message"],
|
|
6539
|
+
type: "object"
|
|
6540
|
+
},
|
|
6541
|
+
type: "array"
|
|
6542
|
+
},
|
|
6543
|
+
clearable: {
|
|
6544
|
+
description: "Shows a clear button when the field has a value. Default: false",
|
|
6545
|
+
type: "boolean"
|
|
6546
|
+
},
|
|
6547
|
+
defaultValue: {
|
|
6548
|
+
description: "Initial value for uncontrolled mode",
|
|
6549
|
+
type: "string"
|
|
6550
|
+
},
|
|
6551
|
+
disabled: {
|
|
6552
|
+
description: "Disables the input. Default: false",
|
|
6553
|
+
type: "boolean"
|
|
6554
|
+
},
|
|
6555
|
+
error: {
|
|
6556
|
+
anyOf: [
|
|
6557
|
+
{
|
|
6558
|
+
type: "boolean"
|
|
6559
|
+
},
|
|
6560
|
+
{
|
|
6561
|
+
type: "string"
|
|
6562
|
+
}
|
|
6563
|
+
],
|
|
6564
|
+
description: "Error state — true for generic error highlight, string for error message"
|
|
6565
|
+
},
|
|
6566
|
+
helperText: {
|
|
6567
|
+
description: "Help text shown below the input",
|
|
6568
|
+
type: "string"
|
|
6569
|
+
},
|
|
6570
|
+
label: {
|
|
6571
|
+
description: "Label shown above the input",
|
|
6572
|
+
type: "string"
|
|
6573
|
+
},
|
|
6574
|
+
placeholder: {
|
|
6575
|
+
description: "Placeholder text shown when the field is empty",
|
|
6576
|
+
type: "string"
|
|
6577
|
+
},
|
|
6578
|
+
readOnly: {
|
|
6579
|
+
description: "Shows value without allowing edits. Default: false",
|
|
6580
|
+
type: "boolean"
|
|
6581
|
+
},
|
|
6582
|
+
required: {
|
|
6583
|
+
description: "Marks the field as required. Default: false",
|
|
6584
|
+
type: "boolean"
|
|
6585
|
+
},
|
|
6586
|
+
sensitive: {
|
|
6587
|
+
description: "Marks the field as sensitive (e.g. for screenshot masking)",
|
|
6588
|
+
type: "boolean"
|
|
6589
|
+
},
|
|
6590
|
+
testID: {
|
|
6591
|
+
description: "Sets testid on InputEmail (used for testing purposes)",
|
|
6592
|
+
type: "string"
|
|
6593
|
+
},
|
|
6594
|
+
validateOn: {
|
|
6595
|
+
$ref: "#/$defs/ValidateOnValue",
|
|
6596
|
+
description: "When to run validation checks. Requires checks to be set"
|
|
6597
|
+
},
|
|
6598
|
+
value: {
|
|
6599
|
+
description: "Current email value — bind to state with $bindState",
|
|
6600
|
+
type: "string"
|
|
6601
|
+
}
|
|
6602
|
+
},
|
|
6603
|
+
type: "object"
|
|
6604
|
+
},
|
|
6605
|
+
acceptsChildren: !1
|
|
6606
|
+
},
|
|
6483
6607
|
ExpansionPanel: {
|
|
6484
6608
|
description: "Collapsible panel with a header that toggles content visibility",
|
|
6485
6609
|
events: ["toggle"],
|
|
@@ -11245,7 +11369,7 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
11245
11369
|
acceptsChildren: !1
|
|
11246
11370
|
},
|
|
11247
11371
|
Text: {
|
|
11248
|
-
description: "
|
|
11372
|
+
description: "Typography primitive using Pebble typestyle tokens",
|
|
11249
11373
|
events: [],
|
|
11250
11374
|
propsSchema: {
|
|
11251
11375
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -11259,9 +11383,9 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
11259
11383
|
description: "Whether the element is an accessibility element. Default: true",
|
|
11260
11384
|
type: "boolean"
|
|
11261
11385
|
},
|
|
11262
|
-
|
|
11263
|
-
|
|
11264
|
-
|
|
11386
|
+
color: {
|
|
11387
|
+
$ref: "#/$defs/ColorValue",
|
|
11388
|
+
description: "Pebble color token key for text color. Overridden by color in the style prop."
|
|
11265
11389
|
},
|
|
11266
11390
|
disabled: {
|
|
11267
11391
|
description: "Whether the text is disabled (accessibility and styling). Default: false",
|
|
@@ -11272,10 +11396,6 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
11272
11396
|
enum: ["head", "middle", "tail", "clip"],
|
|
11273
11397
|
type: "string"
|
|
11274
11398
|
},
|
|
11275
|
-
maxFontSizeMultiplier: {
|
|
11276
|
-
description: "Upper limit on font scaling. 0 means no limit. Requires allowFontScaling to not be false",
|
|
11277
|
-
type: "number"
|
|
11278
|
-
},
|
|
11279
11399
|
numberOfLines: {
|
|
11280
11400
|
description: "Maximum number of lines before truncating with ellipsis. Omit for unlimited lines",
|
|
11281
11401
|
type: "number"
|
|
@@ -12055,6 +12175,10 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
12055
12175
|
text: {
|
|
12056
12176
|
description: "Text content to display",
|
|
12057
12177
|
type: "string"
|
|
12178
|
+
},
|
|
12179
|
+
typestyle: {
|
|
12180
|
+
$ref: "#/$defs/TypestyleValue",
|
|
12181
|
+
description: "Pebble typestyle token key. Overridden by matching typography in the style prop."
|
|
12058
12182
|
}
|
|
12059
12183
|
},
|
|
12060
12184
|
required: ["text"],
|
|
@@ -12764,7 +12888,7 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
12764
12888
|
}
|
|
12765
12889
|
}, bt = {
|
|
12766
12890
|
goBack: {
|
|
12767
|
-
description: "
|
|
12891
|
+
description: "Mobile-specific action that goes back to the previous screen in the navigation stack.",
|
|
12768
12892
|
docs: "No params. Calls NavigationService.navigateBack(). No-ops if there is no screen to go back to.",
|
|
12769
12893
|
paramsSchema: {
|
|
12770
12894
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -12774,8 +12898,29 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
12774
12898
|
}
|
|
12775
12899
|
},
|
|
12776
12900
|
navigate: {
|
|
12777
|
-
description:
|
|
12778
|
-
docs: '`screen` (required): the React Navigation screen name to navigate to
|
|
12901
|
+
description: "Navigate to a React Navigation screen by name using the mobile route registered in the navigator.",
|
|
12902
|
+
docs: '`screen` (required): the React Navigation screen name to navigate to, usually in "{namespace}/{ScreenName}" format.\n`params` (optional): key-value params forwarded to the target screen (same as React Navigation `navigate` second argument).\nUses the global NavigationService, so it works from any SDUI component regardless of navigation context.',
|
|
12903
|
+
paramsSchema: {
|
|
12904
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
12905
|
+
additionalProperties: !1,
|
|
12906
|
+
properties: {
|
|
12907
|
+
params: {
|
|
12908
|
+
additionalProperties: !0,
|
|
12909
|
+
description: "Optional params object forwarded to the target screen.",
|
|
12910
|
+
type: "object"
|
|
12911
|
+
},
|
|
12912
|
+
screen: {
|
|
12913
|
+
description: 'React Navigation screen name to navigate to. Mobile screens typically use the "{namespace}/{ScreenName}" route name.',
|
|
12914
|
+
type: "string"
|
|
12915
|
+
}
|
|
12916
|
+
},
|
|
12917
|
+
required: ["screen"],
|
|
12918
|
+
type: "object"
|
|
12919
|
+
}
|
|
12920
|
+
},
|
|
12921
|
+
push: {
|
|
12922
|
+
description: "Push a React Navigation screen onto the current stack by name using the mobile route registered in the navigator.",
|
|
12923
|
+
docs: '`screen` (required): the React Navigation screen name to push, usually in "{namespace}/{ScreenName}" format.\n`params` (optional): key-value params forwarded to the target screen (same as React Navigation `push` second argument).\nUses the global NavigationService, so it works from any SDUI component regardless of navigation context.',
|
|
12779
12924
|
paramsSchema: {
|
|
12780
12925
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
12781
12926
|
additionalProperties: !1,
|
|
@@ -12786,8 +12931,8 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
12786
12931
|
type: "object"
|
|
12787
12932
|
},
|
|
12788
12933
|
screen: {
|
|
12789
|
-
|
|
12790
|
-
|
|
12934
|
+
description: 'React Navigation screen name to navigate to. Mobile screens typically use the "{namespace}/{ScreenName}" route name.',
|
|
12935
|
+
type: "string"
|
|
12791
12936
|
}
|
|
12792
12937
|
},
|
|
12793
12938
|
required: ["screen"],
|
|
@@ -13271,6 +13416,7 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
13271
13416
|
enum: [
|
|
13272
13417
|
"401KFilled",
|
|
13273
13418
|
"401KOutline",
|
|
13419
|
+
"accessGovernance",
|
|
13274
13420
|
"accessibilityFilled",
|
|
13275
13421
|
"accessibilityOutline",
|
|
13276
13422
|
"accountantFilled",
|
|
@@ -13624,6 +13770,8 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
13624
13770
|
"ediFilled",
|
|
13625
13771
|
"ediOutline",
|
|
13626
13772
|
"editFilled",
|
|
13773
|
+
"editInChatFilled",
|
|
13774
|
+
"editInChatOutline",
|
|
13627
13775
|
"editOutline",
|
|
13628
13776
|
"electricalCordThunderboltFilled",
|
|
13629
13777
|
"electricalCordThunderboltOutline",
|
|
@@ -13742,6 +13890,8 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
13742
13890
|
"generalLedgerRupeeOutline",
|
|
13743
13891
|
"generalLedgerYenFilled",
|
|
13744
13892
|
"generalLedgerYenOutline",
|
|
13893
|
+
"generativeDashboardFilled",
|
|
13894
|
+
"generativeDashboardOutline",
|
|
13745
13895
|
"gifFilled",
|
|
13746
13896
|
"gifOutline",
|
|
13747
13897
|
"giftFilled",
|
|
@@ -13909,6 +14059,8 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
13909
14059
|
"lessThan",
|
|
13910
14060
|
"lifeFilled",
|
|
13911
14061
|
"lifeOutline",
|
|
14062
|
+
"lightbulbFilled",
|
|
14063
|
+
"lightbulbOutline",
|
|
13912
14064
|
"lineChart",
|
|
13913
14065
|
"lineDotsLine",
|
|
13914
14066
|
"lineHeight",
|
|
@@ -14591,48 +14743,6 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
14591
14743
|
"space-evenly"
|
|
14592
14744
|
]
|
|
14593
14745
|
},
|
|
14594
|
-
NavigationRoutesMobilePlatform: {
|
|
14595
|
-
enum: [
|
|
14596
|
-
"mobile_platform/AIAssistant",
|
|
14597
|
-
"mobile_platform/AIAssistantChat",
|
|
14598
|
-
"mobile_platform/AIAssistantConversationList",
|
|
14599
|
-
"mobile_platform/AIAssistantRoute",
|
|
14600
|
-
"mobile_platform/AppSettings",
|
|
14601
|
-
"mobile_platform/AppStarter",
|
|
14602
|
-
"mobile_platform/BiometricLock",
|
|
14603
|
-
"mobile_platform/Chat",
|
|
14604
|
-
"mobile_platform/CoreExamplesRoute",
|
|
14605
|
-
"mobile_platform/CriticalOtaUpdate",
|
|
14606
|
-
"mobile_platform/CustomAppPageModalRoute",
|
|
14607
|
-
"mobile_platform/CustomAppRoute",
|
|
14608
|
-
"mobile_platform/CustomAppsListRoute",
|
|
14609
|
-
"mobile_platform/DashboardHomeRoute",
|
|
14610
|
-
"mobile_platform/DashboardRootRoute",
|
|
14611
|
-
"mobile_platform/DashboardRoute",
|
|
14612
|
-
"mobile_platform/DashboardTabsRoute",
|
|
14613
|
-
"mobile_platform/DeveloperMenu",
|
|
14614
|
-
"mobile_platform/Directory",
|
|
14615
|
-
"mobile_platform/FeatureFlagsRoute",
|
|
14616
|
-
"mobile_platform/FlowExample",
|
|
14617
|
-
"mobile_platform/FlowLoading",
|
|
14618
|
-
"mobile_platform/ForceUpdate",
|
|
14619
|
-
"mobile_platform/GlobalSearch",
|
|
14620
|
-
"mobile_platform/HomeRoute",
|
|
14621
|
-
"mobile_platform/IDCard",
|
|
14622
|
-
"mobile_platform/LocaleUpdateModal",
|
|
14623
|
-
"mobile_platform/NavigationModal",
|
|
14624
|
-
"mobile_platform/Notifications",
|
|
14625
|
-
"mobile_platform/Profile",
|
|
14626
|
-
"mobile_platform/ProfileRoute",
|
|
14627
|
-
"mobile_platform/ProxyInitiationRoute",
|
|
14628
|
-
"mobile_platform/SearchOverview",
|
|
14629
|
-
"mobile_platform/SearchResults",
|
|
14630
|
-
"mobile_platform/StepUpExample",
|
|
14631
|
-
"mobile_platform/StorybookRoute",
|
|
14632
|
-
"mobile_platform/TimeOffRoute",
|
|
14633
|
-
"mobile_platform/TimeStandaloneRoute"
|
|
14634
|
-
]
|
|
14635
|
-
},
|
|
14636
14746
|
OpacityValue: {
|
|
14637
14747
|
enum: [
|
|
14638
14748
|
"opacity0",
|
|
@@ -14862,7 +14972,7 @@ const Qp = "custom-apps", eu = "1.1.3", Ee = {
|
|
|
14862
14972
|
enum: ["auto", "ltr", "rtl"]
|
|
14863
14973
|
}
|
|
14864
14974
|
};
|
|
14865
|
-
function
|
|
14975
|
+
function Bf() {
|
|
14866
14976
|
return Object.fromEntries(
|
|
14867
14977
|
Object.entries(Ee).map(([e, t]) => [
|
|
14868
14978
|
e,
|
|
@@ -14870,7 +14980,7 @@ function zf() {
|
|
|
14870
14980
|
])
|
|
14871
14981
|
);
|
|
14872
14982
|
}
|
|
14873
|
-
function
|
|
14983
|
+
function qf() {
|
|
14874
14984
|
return Object.fromEntries(
|
|
14875
14985
|
Object.entries(bt).map(([e, t]) => [
|
|
14876
14986
|
e,
|
|
@@ -14878,7 +14988,7 @@ function Mf() {
|
|
|
14878
14988
|
])
|
|
14879
14989
|
);
|
|
14880
14990
|
}
|
|
14881
|
-
function
|
|
14991
|
+
function Hf() {
|
|
14882
14992
|
return Object.fromEntries(
|
|
14883
14993
|
Object.entries(rt).map(([e, t]) => [
|
|
14884
14994
|
e,
|
|
@@ -14886,13 +14996,13 @@ function Lf() {
|
|
|
14886
14996
|
])
|
|
14887
14997
|
);
|
|
14888
14998
|
}
|
|
14889
|
-
function
|
|
14999
|
+
function Wf() {
|
|
14890
15000
|
return rt;
|
|
14891
15001
|
}
|
|
14892
|
-
function
|
|
15002
|
+
function Uf() {
|
|
14893
15003
|
return lr;
|
|
14894
15004
|
}
|
|
14895
|
-
function
|
|
15005
|
+
function Gf(e) {
|
|
14896
15006
|
if (!(e in Ee))
|
|
14897
15007
|
throw new Error(
|
|
14898
15008
|
`Unknown component '${e}'. Available: ${Object.keys(Ee).join(", ")}`
|
|
@@ -14900,21 +15010,21 @@ function Hf(e) {
|
|
|
14900
15010
|
const t = { ...Ee[e] };
|
|
14901
15011
|
return delete t.example, t;
|
|
14902
15012
|
}
|
|
14903
|
-
function
|
|
15013
|
+
function Kf(e) {
|
|
14904
15014
|
if (!(e in bt))
|
|
14905
15015
|
throw new Error(
|
|
14906
15016
|
`Unknown action '${e}'. Available: ${Object.keys(bt).join(", ")}`
|
|
14907
15017
|
);
|
|
14908
15018
|
return bt[e];
|
|
14909
15019
|
}
|
|
14910
|
-
function
|
|
15020
|
+
function Jf(e) {
|
|
14911
15021
|
if (!(e in rt))
|
|
14912
15022
|
throw new Error(
|
|
14913
15023
|
`Unknown function '${e}'. Available: ${Object.keys(rt).join(", ")}`
|
|
14914
15024
|
);
|
|
14915
15025
|
return rt[e];
|
|
14916
15026
|
}
|
|
14917
|
-
const
|
|
15027
|
+
const Hi = [
|
|
14918
15028
|
{
|
|
14919
15029
|
type: "object",
|
|
14920
15030
|
additionalProperties: !1,
|
|
@@ -14977,8 +15087,8 @@ function ru(e) {
|
|
|
14977
15087
|
const t = JSON.parse(JSON.stringify(e)), r = t.properties ?? {};
|
|
14978
15088
|
for (const i of Object.keys(r)) {
|
|
14979
15089
|
const o = r[i];
|
|
14980
|
-
Array.isArray(o.anyOf) ? o.anyOf = [...o.anyOf, ...
|
|
14981
|
-
anyOf: [o, ...
|
|
15090
|
+
Array.isArray(o.anyOf) ? o.anyOf = [...o.anyOf, ...Hi] : r[i] = {
|
|
15091
|
+
anyOf: [o, ...Hi]
|
|
14982
15092
|
};
|
|
14983
15093
|
}
|
|
14984
15094
|
return t;
|
|
@@ -14999,7 +15109,7 @@ function nu(e, t) {
|
|
|
14999
15109
|
);
|
|
15000
15110
|
return o.filter((a) => a.keyword === "anyOf" ? !0 : !(a.schemaPath.includes("/anyOf/") && n.has(a.instancePath))).map(ou);
|
|
15001
15111
|
}
|
|
15002
|
-
function
|
|
15112
|
+
function Yf(e) {
|
|
15003
15113
|
const t = [], r = e.elements ?? {}, i = e.root;
|
|
15004
15114
|
i && !(i in r) && t.push(`Root element '${i}' not found in elements map`);
|
|
15005
15115
|
for (const [o, n] of Object.entries(r)) {
|
|
@@ -15023,7 +15133,7 @@ function Gf(e) {
|
|
|
15023
15133
|
}
|
|
15024
15134
|
return t;
|
|
15025
15135
|
}
|
|
15026
|
-
function
|
|
15136
|
+
function Zf(e) {
|
|
15027
15137
|
return {
|
|
15028
15138
|
...Yo(e.root, e.state),
|
|
15029
15139
|
platform: "mobile",
|
|
@@ -15033,99 +15143,102 @@ function Kf(e) {
|
|
|
15033
15143
|
}
|
|
15034
15144
|
export {
|
|
15035
15145
|
du as ActionCard,
|
|
15036
|
-
cu as
|
|
15037
|
-
pu as
|
|
15038
|
-
uu as
|
|
15039
|
-
fu as
|
|
15146
|
+
cu as Anchor,
|
|
15147
|
+
pu as Avatar,
|
|
15148
|
+
uu as AvatarStack,
|
|
15149
|
+
fu as Badge,
|
|
15150
|
+
hu as Button,
|
|
15040
15151
|
Qp as CATALOG_NAME,
|
|
15041
15152
|
eu as CATALOG_VERSION,
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
-
|
|
15045
|
-
|
|
15046
|
-
|
|
15047
|
-
|
|
15048
|
-
|
|
15049
|
-
|
|
15050
|
-
|
|
15051
|
-
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
|
-
|
|
15055
|
-
|
|
15056
|
-
|
|
15057
|
-
|
|
15058
|
-
|
|
15059
|
-
|
|
15060
|
-
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
|
|
15064
|
-
|
|
15065
|
-
|
|
15066
|
-
|
|
15067
|
-
|
|
15068
|
-
|
|
15069
|
-
|
|
15070
|
-
|
|
15071
|
-
|
|
15072
|
-
|
|
15073
|
-
|
|
15074
|
-
|
|
15075
|
-
|
|
15076
|
-
|
|
15077
|
-
|
|
15078
|
-
|
|
15079
|
-
|
|
15080
|
-
|
|
15081
|
-
|
|
15082
|
-
|
|
15083
|
-
|
|
15084
|
-
|
|
15085
|
-
|
|
15086
|
-
|
|
15087
|
-
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
|
|
15096
|
-
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
|
|
15100
|
-
|
|
15101
|
-
|
|
15102
|
-
|
|
15103
|
-
|
|
15104
|
-
|
|
15105
|
-
|
|
15106
|
-
|
|
15107
|
-
|
|
15108
|
-
|
|
15109
|
-
|
|
15110
|
-
|
|
15111
|
-
|
|
15112
|
-
|
|
15113
|
-
|
|
15114
|
-
|
|
15115
|
-
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
|
|
15119
|
-
|
|
15120
|
-
|
|
15121
|
-
|
|
15122
|
-
Bf as
|
|
15123
|
-
|
|
15124
|
-
Uf as
|
|
15125
|
-
|
|
15126
|
-
|
|
15127
|
-
|
|
15128
|
-
|
|
15129
|
-
|
|
15153
|
+
mu as Card,
|
|
15154
|
+
gu as Checkbox,
|
|
15155
|
+
yu as CheckboxGroup,
|
|
15156
|
+
$u as Chip,
|
|
15157
|
+
bu as CondensedFooter,
|
|
15158
|
+
vu as CondensedHeader,
|
|
15159
|
+
Su as Country,
|
|
15160
|
+
wu as Currency,
|
|
15161
|
+
ku as Date,
|
|
15162
|
+
Ou as DateRange,
|
|
15163
|
+
Cu as DateTimePicker,
|
|
15164
|
+
Pu as Divider,
|
|
15165
|
+
_u as Email,
|
|
15166
|
+
Vu as ExpansionPanel,
|
|
15167
|
+
Fu as FileViewerButton,
|
|
15168
|
+
Du as FileViewerPressable,
|
|
15169
|
+
ju as FilterHeader,
|
|
15170
|
+
Ru as FloatingButton,
|
|
15171
|
+
Tu as Footer,
|
|
15172
|
+
Iu as Form,
|
|
15173
|
+
Eu as Group,
|
|
15174
|
+
Au as HStack,
|
|
15175
|
+
xu as Header,
|
|
15176
|
+
Nu as Hidden,
|
|
15177
|
+
zu as Icon,
|
|
15178
|
+
Mu as Image,
|
|
15179
|
+
Lu as InputText,
|
|
15180
|
+
Bu as Label,
|
|
15181
|
+
qu as List,
|
|
15182
|
+
Hu as ListItem,
|
|
15183
|
+
Wu as ModalActionHeader,
|
|
15184
|
+
Uu as ModalSheet,
|
|
15185
|
+
Gu as Notice,
|
|
15186
|
+
Ku as Number,
|
|
15187
|
+
Ju as ObjectFooter,
|
|
15188
|
+
Yu as ObjectItem,
|
|
15189
|
+
Zu as ObjectListView,
|
|
15190
|
+
Xu as ObjectListViewCard,
|
|
15191
|
+
Qu as Password,
|
|
15192
|
+
ef as Percentage,
|
|
15193
|
+
tf as Phone,
|
|
15194
|
+
rf as Pressable,
|
|
15195
|
+
of as ProgressIndicator,
|
|
15196
|
+
nf as Radio,
|
|
15197
|
+
sf as RadioGroup,
|
|
15198
|
+
af as Search,
|
|
15199
|
+
lf as SectionHeader,
|
|
15200
|
+
df as Select,
|
|
15201
|
+
cf as SelectChips,
|
|
15202
|
+
pf as Signature,
|
|
15203
|
+
uf as Sin,
|
|
15204
|
+
ff as Slider,
|
|
15205
|
+
hf as SliderRange,
|
|
15206
|
+
mf as SnackBar,
|
|
15207
|
+
gf as Spacer,
|
|
15208
|
+
yf as Spinner,
|
|
15209
|
+
$f as Ssn,
|
|
15210
|
+
bf as Status,
|
|
15211
|
+
vf as StatusBar,
|
|
15212
|
+
Sf as Switch,
|
|
15213
|
+
wf as Tabs,
|
|
15214
|
+
kf as Text,
|
|
15215
|
+
Of as Textarea,
|
|
15216
|
+
Cf as Time,
|
|
15217
|
+
Pf as TimeRange,
|
|
15218
|
+
_f as Tip,
|
|
15219
|
+
Vf as VStack,
|
|
15220
|
+
Ff as Widget,
|
|
15221
|
+
Df as WorkEmail,
|
|
15222
|
+
If as currencyFormat,
|
|
15223
|
+
Ef as currencyGetCurrencyCodeByCountryCode,
|
|
15224
|
+
xf as currencyGetCurrencyNameByCode,
|
|
15225
|
+
Nf as currencyGetCurrencySymbol,
|
|
15226
|
+
Af as currencyIsConvertableToCurrency,
|
|
15227
|
+
zf as currencyToMoney,
|
|
15228
|
+
Mf as dateTimeAdd,
|
|
15229
|
+
Lf as dateTimeFormat,
|
|
15230
|
+
Kf as getAction,
|
|
15231
|
+
qf as getActions,
|
|
15232
|
+
Gf as getComponent,
|
|
15233
|
+
Bf as getComponents,
|
|
15234
|
+
Wf as getComputedFunctions,
|
|
15235
|
+
Uf as getDefs,
|
|
15236
|
+
Jf as getFunction,
|
|
15237
|
+
Hf as getFunctions,
|
|
15238
|
+
jf as goBack,
|
|
15239
|
+
Rf as navigate,
|
|
15240
|
+
Tf as push,
|
|
15241
|
+
Zf as render,
|
|
15242
|
+
Yf as validate
|
|
15130
15243
|
};
|
|
15131
15244
|
//# sourceMappingURL=index.js.map
|