@rippling/pebble-sdui-mobile 1.1.5 → 1.1.9
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/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-props.d.ts +24 -24
- package/dist/catalogs/custom-apps/index.cjs +5 -5
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.js +187 -308
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/core/expressions.d.ts +2 -2
- package/dist/core/spec.cjs +1 -1
- package/dist/core/spec.cjs.map +1 -1
- package/dist/core/spec.js +62 -54
- package/dist/core/spec.js.map +1 -1
- package/dist/docs/concepts.md +13 -14
- package/dist/docs/typescript/api-reference.md +6 -7
- package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +145 -21
- package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +7 -5
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/recipes.md +14 -10
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { buildAction as ve } from "../../core/action-utils.js";
|
|
|
3
3
|
import { createCatalogSchemaValidator as Yo } from "../../core/catalog-validation.js";
|
|
4
4
|
import { renderComponentMarkdown as Zo } from "../../core/component-markdown.js";
|
|
5
5
|
import { renderElementTree as Xo } from "../../core/spec.js";
|
|
6
|
-
const uu = (e) => P("ActionCard", e), fu = (e) => P("ActionSheet", e), hu = (e) => P("Anchor", e), mu = (e) => P("Animation", e), gu = (e) => P("Avatar", e), yu = (e) => P("AvatarStack", e), bu = (e) => P("Badge", e), $u = (e) => P("Button", e), vu = (e) => P("Card", e), Su = (e) => P("Checkbox", e), wu = (e) => P("CheckboxGroup", e), ku = (e) => P("Chip", e), Ou = (e) => P("Country", e), Cu = (e) => P("Currency", e), Pu = (e) => P("Date", e), _u = (e) => P("DateRange", e), Vu = (e) => P("DateTimePicker", e), Du = (e) => P("Divider", e), Fu = (e) => P("Email", e), ju = (e) => P("ExpansionPanel", e), Ru = (e) => P("FileViewerButton", e),
|
|
6
|
+
const uu = (e) => P("ActionCard", e), fu = (e) => P("ActionSheet", e), hu = (e) => P("Anchor", e), mu = (e) => P("Animation", e), gu = (e) => P("Avatar", e), yu = (e) => P("AvatarStack", e), bu = (e) => P("Badge", e), $u = (e) => P("Button", e), vu = (e) => P("Card", e), Su = (e) => P("Checkbox", e), wu = (e) => P("CheckboxGroup", e), ku = (e) => P("Chip", e), Ou = (e) => P("Country", e), Cu = (e) => P("Currency", e), Pu = (e) => P("Date", e), _u = (e) => P("DateRange", e), Vu = (e) => P("DateTimePicker", e), Du = (e) => P("Divider", e), Fu = (e) => P("Email", e), ju = (e) => P("ExpansionPanel", e), Ru = (e) => P("FileViewerButton", e), Iu = (e) => P("FileViewerPressable", e), Tu = (e) => P("FloatingButton", e), Eu = (e) => P("Form", e), xu = (e) => P("Group", e), Au = (e) => P("Hidden", e), Nu = (e) => P("HStack", e), zu = (e) => P("Icon", e), Mu = (e) => P("Image", e), Lu = (e) => P("InputText", e), Bu = (e) => P("Label", e), qu = (e) => P("List", e), Hu = (e) => P("ListItem", e), Wu = (e) => P("ModalSheet", e), Uu = (e) => P("Notice", e), Gu = (e) => P("Number", e), Ku = (e) => P("ObjectFooter", e), Ju = (e) => P("ObjectItem", e), Yu = (e) => P("ObjectListView", e), Zu = (e) => P("ObjectListViewCard", e), Xu = (e) => P("PageCondensedFooter", e), Qu = (e) => P("PageCondensedHeader", e), ef = (e) => P("PageContent", e), tf = (e) => P("PageFilterHeader", e), rf = (e) => P("PageFooter", e), of = (e) => P("PageHeader", e), nf = (e) => P("PageModalActionHeader", e), sf = (e) => P("Password", e), af = (e) => P("Percentage", e), lf = (e) => P("Phone", e), df = (e) => P("Pressable", e), cf = (e) => P("ProgressIndicator", e), pf = (e) => P("Radio", e), uf = (e) => P("RadioGroup", e), ff = (e) => P("Search", e), hf = (e) => P("SectionHeader", e), mf = (e) => P("Select", e), gf = (e) => P("SelectChips", e), yf = (e) => P("Signature", e), bf = (e) => P("Sin", e), $f = (e) => P("Slider", e), vf = (e) => P("SliderRange", e), Sf = (e) => P("SnackBar", e), wf = (e) => P("Spacer", e), kf = (e) => P("Spinner", e), Of = (e) => P("Ssn", e), Cf = (e) => P("Status", e), Pf = (e) => P("StatusBar", e), _f = (e) => P("Switch", e), Vf = (e) => P("Tabs", e), Df = (e) => P("Text", e), Ff = (e) => P("Textarea", e), jf = (e) => P("Time", e), Rf = (e) => P("TimeRange", e), If = (e) => P("Tip", e), Tf = (e) => P("VStack", e), Ef = (e) => P("Widget", e), xf = (e) => P("WorkEmail", e), Af = (e, t) => ve("copyToClipboard", e, t), Nf = (e, t) => ve("goBack", e, t), zf = (e, t) => ve("linking_openURL", e, t), Mf = (e, t) => ve("navigate", e, t), Lf = (e, t) => ve(
|
|
7
7
|
"openChatAssistantWithMessage",
|
|
8
8
|
e,
|
|
9
9
|
t
|
|
@@ -434,8 +434,8 @@ var rr = {};
|
|
|
434
434
|
const { nodes: S } = this;
|
|
435
435
|
let R = S.length;
|
|
436
436
|
for (; R--; ) {
|
|
437
|
-
const
|
|
438
|
-
|
|
437
|
+
const I = S[R];
|
|
438
|
+
I.optimizeNames(s, p) || (Ue(s, I.names), S.splice(R, 1));
|
|
439
439
|
}
|
|
440
440
|
return S.length > 0 ? this : void 0;
|
|
441
441
|
}
|
|
@@ -510,8 +510,8 @@ var rr = {};
|
|
|
510
510
|
super(), this.varKind = s, this.name = p, this.from = S, this.to = R;
|
|
511
511
|
}
|
|
512
512
|
render(s) {
|
|
513
|
-
const p = s.es5 ? r.varKinds.var : this.varKind, { name: S, from: R, to:
|
|
514
|
-
return `for(${p} ${S}=${R}; ${S}<${
|
|
513
|
+
const p = s.es5 ? r.varKinds.var : this.varKind, { name: S, from: R, to: I } = this;
|
|
514
|
+
return `for(${p} ${S}=${R}; ${S}<${I}; ${S}++)` + super.render(s);
|
|
515
515
|
}
|
|
516
516
|
get names() {
|
|
517
517
|
const s = De(super.names, this.from);
|
|
@@ -614,8 +614,8 @@ var rr = {};
|
|
|
614
614
|
return this._extScope.scopeCode(this._values);
|
|
615
615
|
}
|
|
616
616
|
_def(s, p, S, R) {
|
|
617
|
-
const
|
|
618
|
-
return S !== void 0 && R && (this._constants[
|
|
617
|
+
const I = this._scope.toName(p);
|
|
618
|
+
return S !== void 0 && R && (this._constants[I.str] = S), this._leafNode(new a(s, I, S)), I;
|
|
619
619
|
}
|
|
620
620
|
// `const` declaration (`var` in es5 mode)
|
|
621
621
|
const(s, p, S) {
|
|
@@ -678,28 +678,28 @@ var rr = {};
|
|
|
678
678
|
return this._for(new C(s), p);
|
|
679
679
|
}
|
|
680
680
|
// `for` statement for a range of values
|
|
681
|
-
forRange(s, p, S, R,
|
|
681
|
+
forRange(s, p, S, R, I = this.opts.es5 ? r.varKinds.var : r.varKinds.let) {
|
|
682
682
|
const z = this._scope.toName(s);
|
|
683
|
-
return this._for(new D(
|
|
683
|
+
return this._for(new D(I, z, p, S), () => R(z));
|
|
684
684
|
}
|
|
685
685
|
// `for-of` statement (in es5 mode replace with a normal for loop)
|
|
686
686
|
forOf(s, p, S, R = r.varKinds.const) {
|
|
687
|
-
const
|
|
687
|
+
const I = this._scope.toName(s);
|
|
688
688
|
if (this.opts.es5) {
|
|
689
689
|
const z = p instanceof t.Name ? p : this.var("_arr", p);
|
|
690
690
|
return this.forRange("_i", 0, (0, t._)`${z}.length`, (N) => {
|
|
691
|
-
this.var(
|
|
691
|
+
this.var(I, (0, t._)`${z}[${N}]`), S(I);
|
|
692
692
|
});
|
|
693
693
|
}
|
|
694
|
-
return this._for(new F("of", R,
|
|
694
|
+
return this._for(new F("of", R, I, p), () => S(I));
|
|
695
695
|
}
|
|
696
696
|
// `for-in` statement.
|
|
697
697
|
// With option `ownProperties` replaced with a `for-of` loop for object keys
|
|
698
698
|
forIn(s, p, S, R = this.opts.es5 ? r.varKinds.var : r.varKinds.const) {
|
|
699
699
|
if (this.opts.ownProperties)
|
|
700
700
|
return this.forOf(s, (0, t._)`Object.keys(${p})`, S);
|
|
701
|
-
const
|
|
702
|
-
return this._for(new F("in", R,
|
|
701
|
+
const I = this._scope.toName(s);
|
|
702
|
+
return this._for(new F("in", R, I, p), () => S(I));
|
|
703
703
|
}
|
|
704
704
|
// end `for` loop
|
|
705
705
|
endFor() {
|
|
@@ -726,8 +726,8 @@ var rr = {};
|
|
|
726
726
|
throw new Error('CodeGen: "try" without "catch" and "finally"');
|
|
727
727
|
const R = new ae();
|
|
728
728
|
if (this._blockNode(R), this.code(s), p) {
|
|
729
|
-
const
|
|
730
|
-
this._currNode = R.catch = new fe(
|
|
729
|
+
const I = this.name("e");
|
|
730
|
+
this._currNode = R.catch = new fe(I), p(I);
|
|
731
731
|
}
|
|
732
732
|
return S && (this._currNode = R.finally = new Se(), this.code(S)), this._endBlockNode(fe, Se);
|
|
733
733
|
}
|
|
@@ -805,13 +805,13 @@ var rr = {};
|
|
|
805
805
|
return S(y);
|
|
806
806
|
if (!R(y))
|
|
807
807
|
return y;
|
|
808
|
-
return new t._Code(y._items.reduce((
|
|
809
|
-
function S(
|
|
810
|
-
const z = p[
|
|
811
|
-
return z === void 0 || s[
|
|
808
|
+
return new t._Code(y._items.reduce((I, z) => (z instanceof t.Name && (z = S(z)), z instanceof t._Code ? I.push(...z._items) : I.push(z), I), []));
|
|
809
|
+
function S(I) {
|
|
810
|
+
const z = p[I.str];
|
|
811
|
+
return z === void 0 || s[I.str] !== 1 ? I : (delete s[I.str], z);
|
|
812
812
|
}
|
|
813
|
-
function R(
|
|
814
|
-
return
|
|
813
|
+
function R(I) {
|
|
814
|
+
return I instanceof t._Code && I._items.some((z) => z instanceof t.Name && s[z.str] === 1 && p[z.str] !== void 0);
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
817
|
function Ue(y, s) {
|
|
@@ -822,11 +822,11 @@ var rr = {};
|
|
|
822
822
|
return typeof y == "boolean" || typeof y == "number" || y === null ? !y : (0, t._)`!${O(y)}`;
|
|
823
823
|
}
|
|
824
824
|
e.not = lt;
|
|
825
|
-
const
|
|
826
|
-
function
|
|
827
|
-
return y.reduce(
|
|
825
|
+
const It = m(e.operators.AND);
|
|
826
|
+
function Tt(...y) {
|
|
827
|
+
return y.reduce(It);
|
|
828
828
|
}
|
|
829
|
-
e.and =
|
|
829
|
+
e.and = Tt;
|
|
830
830
|
const dt = m(e.operators.OR);
|
|
831
831
|
function _(...y) {
|
|
832
832
|
return y.reduce(dt);
|
|
@@ -1300,14 +1300,14 @@ var Pt = {};
|
|
|
1300
1300
|
Object.defineProperty(Pt, "__esModule", { value: !0 });
|
|
1301
1301
|
Pt.assignDefaults = void 0;
|
|
1302
1302
|
const je = E, Rn = V;
|
|
1303
|
-
function
|
|
1303
|
+
function In(e, t) {
|
|
1304
1304
|
const { properties: r, items: i } = e.schema;
|
|
1305
1305
|
if (t === "object" && r)
|
|
1306
1306
|
for (const o in r)
|
|
1307
1307
|
mi(e, o, r[o].default);
|
|
1308
1308
|
else t === "array" && Array.isArray(i) && i.forEach((o, n) => mi(e, n, o.default));
|
|
1309
1309
|
}
|
|
1310
|
-
Pt.assignDefaults =
|
|
1310
|
+
Pt.assignDefaults = In;
|
|
1311
1311
|
function mi(e, t, r) {
|
|
1312
1312
|
const { gen: i, compositeRule: o, data: n, opts: a } = e;
|
|
1313
1313
|
if (r === void 0)
|
|
@@ -1323,7 +1323,7 @@ function mi(e, t, r) {
|
|
|
1323
1323
|
var se = {}, A = {};
|
|
1324
1324
|
Object.defineProperty(A, "__esModule", { value: !0 });
|
|
1325
1325
|
A.validateUnion = A.validateArray = A.usePattern = A.callValidateCode = A.schemaProperties = A.allSchemaProperties = A.noPropertyInData = A.propertyInData = A.isOwnProperty = A.hasPropFunc = A.reportMissingProp = A.checkMissingProp = A.checkReportMissingProp = void 0;
|
|
1326
|
-
const B = E, fr = V, me = Q,
|
|
1326
|
+
const B = E, fr = V, me = Q, Tn = V;
|
|
1327
1327
|
function En(e, t) {
|
|
1328
1328
|
const { gen: r, data: i, it: o } = e;
|
|
1329
1329
|
r.if(mr(r, i, t, o.opts.ownProperties), () => {
|
|
@@ -1387,7 +1387,7 @@ function Bn({ gen: e, it: { opts: t } }, r) {
|
|
|
1387
1387
|
return e.scopeValue("pattern", {
|
|
1388
1388
|
key: n.toString(),
|
|
1389
1389
|
ref: n,
|
|
1390
|
-
code: (0, B._)`${o.code === "new RegExp" ? Ln : (0,
|
|
1390
|
+
code: (0, B._)`${o.code === "new RegExp" ? Ln : (0, Tn.useFunc)(e, o)}(${r}, ${i})`
|
|
1391
1391
|
});
|
|
1392
1392
|
}
|
|
1393
1393
|
A.usePattern = Bn;
|
|
@@ -1772,7 +1772,7 @@ function fs(e, t) {
|
|
|
1772
1772
|
K.getSchemaRefs = fs;
|
|
1773
1773
|
Object.defineProperty(oe, "__esModule", { value: !0 });
|
|
1774
1774
|
oe.getData = oe.KeywordCxt = oe.validateFunctionCode = void 0;
|
|
1775
|
-
const po = Ae, yi = W, gr = de, St = W, hs = Pt, Xe = se, Jt = $e, j = E,
|
|
1775
|
+
const po = Ae, yi = W, gr = de, St = W, hs = Pt, Xe = se, Jt = $e, j = E, T = Q, ms = K, ce = V, Ke = nt;
|
|
1776
1776
|
function gs(e) {
|
|
1777
1777
|
if (ho(e) && (mo(e), fo(e))) {
|
|
1778
1778
|
$s(e);
|
|
@@ -1782,24 +1782,24 @@ function gs(e) {
|
|
|
1782
1782
|
}
|
|
1783
1783
|
oe.validateFunctionCode = gs;
|
|
1784
1784
|
function uo({ gen: e, validateName: t, schema: r, schemaEnv: i, opts: o }, n) {
|
|
1785
|
-
o.code.es5 ? e.func(t, (0, j._)`${
|
|
1785
|
+
o.code.es5 ? e.func(t, (0, j._)`${T.default.data}, ${T.default.valCxt}`, i.$async, () => {
|
|
1786
1786
|
e.code((0, j._)`"use strict"; ${bi(r, o)}`), bs(e, o), e.code(n);
|
|
1787
|
-
}) : e.func(t, (0, j._)`${
|
|
1787
|
+
}) : e.func(t, (0, j._)`${T.default.data}, ${ys(o)}`, i.$async, () => e.code(bi(r, o)).code(n));
|
|
1788
1788
|
}
|
|
1789
1789
|
function ys(e) {
|
|
1790
|
-
return (0, j._)`{${
|
|
1790
|
+
return (0, j._)`{${T.default.instancePath}="", ${T.default.parentData}, ${T.default.parentDataProperty}, ${T.default.rootData}=${T.default.data}${e.dynamicRef ? (0, j._)`, ${T.default.dynamicAnchors}={}` : j.nil}}={}`;
|
|
1791
1791
|
}
|
|
1792
1792
|
function bs(e, t) {
|
|
1793
|
-
e.if(
|
|
1794
|
-
e.var(
|
|
1793
|
+
e.if(T.default.valCxt, () => {
|
|
1794
|
+
e.var(T.default.instancePath, (0, j._)`${T.default.valCxt}.${T.default.instancePath}`), e.var(T.default.parentData, (0, j._)`${T.default.valCxt}.${T.default.parentData}`), e.var(T.default.parentDataProperty, (0, j._)`${T.default.valCxt}.${T.default.parentDataProperty}`), e.var(T.default.rootData, (0, j._)`${T.default.valCxt}.${T.default.rootData}`), t.dynamicRef && e.var(T.default.dynamicAnchors, (0, j._)`${T.default.valCxt}.${T.default.dynamicAnchors}`);
|
|
1795
1795
|
}, () => {
|
|
1796
|
-
e.var(
|
|
1796
|
+
e.var(T.default.instancePath, (0, j._)`""`), e.var(T.default.parentData, (0, j._)`undefined`), e.var(T.default.parentDataProperty, (0, j._)`undefined`), e.var(T.default.rootData, T.default.data), t.dynamicRef && e.var(T.default.dynamicAnchors, (0, j._)`{}`);
|
|
1797
1797
|
});
|
|
1798
1798
|
}
|
|
1799
1799
|
function $s(e) {
|
|
1800
1800
|
const { schema: t, opts: r, gen: i } = e;
|
|
1801
1801
|
uo(e, () => {
|
|
1802
|
-
r.$comment && t.$comment && yo(e), Os(e), i.let(
|
|
1802
|
+
r.$comment && t.$comment && yo(e), Os(e), i.let(T.default.vErrors, null), i.let(T.default.errors, 0), r.unevaluated && vs(e), go(e), _s(e);
|
|
1803
1803
|
});
|
|
1804
1804
|
}
|
|
1805
1805
|
function vs(e) {
|
|
@@ -1831,8 +1831,8 @@ function ho(e) {
|
|
|
1831
1831
|
function ws(e, t) {
|
|
1832
1832
|
const { schema: r, gen: i, opts: o } = e;
|
|
1833
1833
|
o.$comment && r.$comment && yo(e), Cs(e), Ps(e);
|
|
1834
|
-
const n = i.const("_errs",
|
|
1835
|
-
go(e, n), i.var(t, (0, j._)`${n} === ${
|
|
1834
|
+
const n = i.const("_errs", T.default.errors);
|
|
1835
|
+
go(e, n), i.var(t, (0, j._)`${n} === ${T.default.errors}`);
|
|
1836
1836
|
}
|
|
1837
1837
|
function mo(e) {
|
|
1838
1838
|
(0, ce.checkUnknownRules)(e), ks(e);
|
|
@@ -1862,15 +1862,15 @@ function Ps(e) {
|
|
|
1862
1862
|
function yo({ gen: e, schemaEnv: t, schema: r, errSchemaPath: i, opts: o }) {
|
|
1863
1863
|
const n = r.$comment;
|
|
1864
1864
|
if (o.$comment === !0)
|
|
1865
|
-
e.code((0, j._)`${
|
|
1865
|
+
e.code((0, j._)`${T.default.self}.logger.log(${n})`);
|
|
1866
1866
|
else if (typeof o.$comment == "function") {
|
|
1867
1867
|
const a = (0, j.str)`${i}/$comment`, l = e.scopeValue("root", { ref: t.root });
|
|
1868
|
-
e.code((0, j._)`${
|
|
1868
|
+
e.code((0, j._)`${T.default.self}.opts.$comment(${n}, ${a}, ${l}.schema)`);
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
1871
|
function _s(e) {
|
|
1872
1872
|
const { gen: t, schemaEnv: r, validateName: i, ValidationError: o, opts: n } = e;
|
|
1873
|
-
r.$async ? t.if((0, j._)`${
|
|
1873
|
+
r.$async ? t.if((0, j._)`${T.default.errors} === 0`, () => t.return(T.default.data), () => t.throw((0, j._)`new ${o}(${T.default.vErrors})`)) : (t.assign((0, j._)`${i}.errors`, T.default.vErrors), n.unevaluated && Vs(e), t.return((0, j._)`${T.default.errors} === 0`));
|
|
1874
1874
|
}
|
|
1875
1875
|
function Vs({ gen: e, evaluated: t, props: r, items: i }) {
|
|
1876
1876
|
r instanceof j.Name && e.assign((0, j._)`${t}.props`, r), i instanceof j.Name && e.assign((0, j._)`${t}.items`, i);
|
|
@@ -1887,7 +1887,7 @@ function $i(e, t, r, i) {
|
|
|
1887
1887
|
h(f.post);
|
|
1888
1888
|
});
|
|
1889
1889
|
function h(k) {
|
|
1890
|
-
(0, gr.shouldUseGroup)(n, k) && (k.type ? (o.if((0, St.checkDataType)(k.type, a, d.strictNumbers)), vi(e, k), t.length === 1 && t[0] === k.type && r && (o.else(), (0, St.reportTypeError)(e)), o.endIf()) : vi(e, k), l || o.if((0, j._)`${
|
|
1890
|
+
(0, gr.shouldUseGroup)(n, k) && (k.type ? (o.if((0, St.checkDataType)(k.type, a, d.strictNumbers)), vi(e, k), t.length === 1 && t[0] === k.type && r && (o.else(), (0, St.reportTypeError)(e)), o.endIf()) : vi(e, k), l || o.if((0, j._)`${T.default.errors} === ${i || 0}`));
|
|
1891
1891
|
}
|
|
1892
1892
|
}
|
|
1893
1893
|
function vi(e, t) {
|
|
@@ -1908,7 +1908,7 @@ function Fs(e, t) {
|
|
|
1908
1908
|
}
|
|
1909
1909
|
t.forEach((r) => {
|
|
1910
1910
|
bo(e.dataTypes, r) || yr(e, `type "${r}" not allowed by context "${e.dataTypes.join(",")}"`);
|
|
1911
|
-
}),
|
|
1911
|
+
}), Ts(e, t);
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
1914
|
function js(e, t) {
|
|
@@ -1920,17 +1920,17 @@ function Rs(e, t) {
|
|
|
1920
1920
|
const o = r[i];
|
|
1921
1921
|
if (typeof o == "object" && (0, gr.shouldUseRule)(e.schema, o)) {
|
|
1922
1922
|
const { type: n } = o.definition;
|
|
1923
|
-
n.length && !n.some((a) =>
|
|
1923
|
+
n.length && !n.some((a) => Is(t, a)) && yr(e, `missing type "${n.join(",")}" for keyword "${i}"`);
|
|
1924
1924
|
}
|
|
1925
1925
|
}
|
|
1926
1926
|
}
|
|
1927
|
-
function
|
|
1927
|
+
function Is(e, t) {
|
|
1928
1928
|
return e.includes(t) || t === "number" && e.includes("integer");
|
|
1929
1929
|
}
|
|
1930
1930
|
function bo(e, t) {
|
|
1931
1931
|
return e.includes(t) || t === "integer" && e.includes("number");
|
|
1932
1932
|
}
|
|
1933
|
-
function
|
|
1933
|
+
function Ts(e, t) {
|
|
1934
1934
|
const r = [];
|
|
1935
1935
|
for (const i of e.dataTypes)
|
|
1936
1936
|
bo(t, i) ? r.push(i) : t.includes("integer") && i === "number" && r.push("integer");
|
|
@@ -1946,7 +1946,7 @@ class $o {
|
|
|
1946
1946
|
this.schemaCode = t.gen.const("vSchema", So(this.$data, t));
|
|
1947
1947
|
else if (this.schemaCode = this.schemaValue, !(0, Xe.validSchemaType)(this.schema, r.schemaType, r.allowUndefined))
|
|
1948
1948
|
throw new Error(`${i} value must be ${JSON.stringify(r.schemaType)}`);
|
|
1949
|
-
("code" in r ? r.trackErrors : r.errors !== !1) && (this.errsCount = t.gen.const("_errs",
|
|
1949
|
+
("code" in r ? r.trackErrors : r.errors !== !1) && (this.errsCount = t.gen.const("_errs", T.default.errors));
|
|
1950
1950
|
}
|
|
1951
1951
|
result(t, r, i) {
|
|
1952
1952
|
this.failResult((0, j.not)(t), r, i);
|
|
@@ -2050,11 +2050,11 @@ const Es = /^\/(?:[^~]|~0|~1)*$/, xs = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
|
|
|
2050
2050
|
function So(e, { dataLevel: t, dataNames: r, dataPathArr: i }) {
|
|
2051
2051
|
let o, n;
|
|
2052
2052
|
if (e === "")
|
|
2053
|
-
return
|
|
2053
|
+
return T.default.rootData;
|
|
2054
2054
|
if (e[0] === "/") {
|
|
2055
2055
|
if (!Es.test(e))
|
|
2056
2056
|
throw new Error(`Invalid JSON-pointer: ${e}`);
|
|
2057
|
-
o = e, n =
|
|
2057
|
+
o = e, n = T.default.rootData;
|
|
2058
2058
|
} else {
|
|
2059
2059
|
const c = xs.exec(e);
|
|
2060
2060
|
if (!c)
|
|
@@ -2607,17 +2607,17 @@ var Ca = {
|
|
|
2607
2607
|
SCHEMES: wt,
|
|
2608
2608
|
getSchemeHandler: Sr
|
|
2609
2609
|
};
|
|
2610
|
-
const { normalizeIPv6: Pa, removeDotSegments: Ye, recomposeAuthority: _a, normalizePercentEncoding: Va, normalizePathEncoding: Da, escapePreservingEscapes: Fa, reescapeHostDelimiters: ja, isIPv4: Ra, nonSimpleDomain:
|
|
2610
|
+
const { normalizeIPv6: Pa, removeDotSegments: Ye, recomposeAuthority: _a, normalizePercentEncoding: Va, normalizePathEncoding: Da, escapePreservingEscapes: Fa, reescapeHostDelimiters: ja, isIPv4: Ra, nonSimpleDomain: Ia } = Vo, { SCHEMES: Ta, getSchemeHandler: Io } = Ca;
|
|
2611
2611
|
function Ea(e, t) {
|
|
2612
2612
|
return typeof e == "string" ? e = /** @type {T} */
|
|
2613
2613
|
Ma(e, t) : typeof e == "object" && (e = /** @type {T} */
|
|
2614
2614
|
Ne(Ve(e, t), t)), e;
|
|
2615
2615
|
}
|
|
2616
2616
|
function xa(e, t, r) {
|
|
2617
|
-
const i = r ? Object.assign({ scheme: "null" }, r) : { scheme: "null" }, o =
|
|
2617
|
+
const i = r ? Object.assign({ scheme: "null" }, r) : { scheme: "null" }, o = To(Ne(e, i), Ne(t, i), i, !0);
|
|
2618
2618
|
return i.skipEscape = !0, Ve(o, i);
|
|
2619
2619
|
}
|
|
2620
|
-
function
|
|
2620
|
+
function To(e, t, r, i) {
|
|
2621
2621
|
const o = {};
|
|
2622
2622
|
return i || (e = Ne(Ve(e, r), r), t = Ne(Ve(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 = Ye(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 = Ye(t.path || ""), o.query = t.query) : (t.path ? (t.path[0] === "/" ? o.path = Ye(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 = Ye(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;
|
|
2623
2623
|
}
|
|
@@ -2641,7 +2641,7 @@ function Ve(e, t) {
|
|
|
2641
2641
|
resourceName: e.resourceName,
|
|
2642
2642
|
secure: e.secure,
|
|
2643
2643
|
error: ""
|
|
2644
|
-
}, i = Object.assign({}, t), o = [], n =
|
|
2644
|
+
}, i = Object.assign({}, t), o = [], n = Io(i.scheme || r.scheme);
|
|
2645
2645
|
n && n.serialize && n.serialize(r, i), r.path !== void 0 && (i.skipEscape ? r.path = Va(r.path) : (r.path = Fa(r.path), r.scheme !== void 0 && (r.path = r.path.split("%3A").join(":")))), i.reference !== "suffix" && r.scheme && o.push(r.scheme, ":");
|
|
2646
2646
|
const a = _a(r);
|
|
2647
2647
|
if (a !== void 0 && (i.reference !== "suffix" && o.push("//"), o.push(a), r.path && r.path[0] !== "/" && o.push("/")), r.path !== void 0) {
|
|
@@ -2680,8 +2680,8 @@ function Eo(e, t) {
|
|
|
2680
2680
|
} else
|
|
2681
2681
|
n = !0;
|
|
2682
2682
|
i.scheme === void 0 && i.userinfo === void 0 && i.host === void 0 && i.port === void 0 && i.query === void 0 && !i.path ? i.reference = "same-document" : i.scheme === void 0 ? i.reference = "relative" : i.fragment === void 0 ? i.reference = "absolute" : i.reference = "uri", r.reference && r.reference !== "suffix" && r.reference !== i.reference && (i.error = i.error || "URI is not a " + r.reference + " reference.");
|
|
2683
|
-
const d =
|
|
2684
|
-
if (!r.unicodeSupport && (!d || !d.unicodeSupport) && i.host && (r.domainHost || d && d.domainHost) && n === !1 &&
|
|
2683
|
+
const d = Io(r.scheme || i.scheme);
|
|
2684
|
+
if (!r.unicodeSupport && (!d || !d.unicodeSupport) && i.host && (r.domainHost || d && d.domainHost) && n === !1 && Ia(i.host))
|
|
2685
2685
|
try {
|
|
2686
2686
|
i.host = URL.domainToASCII(i.host.toLowerCase());
|
|
2687
2687
|
} catch (c) {
|
|
@@ -2720,10 +2720,10 @@ function ki(e, t) {
|
|
|
2720
2720
|
return Ve(e, t);
|
|
2721
2721
|
}
|
|
2722
2722
|
const wr = {
|
|
2723
|
-
SCHEMES:
|
|
2723
|
+
SCHEMES: Ta,
|
|
2724
2724
|
normalize: Ea,
|
|
2725
2725
|
resolve: xa,
|
|
2726
|
-
resolveComponent:
|
|
2726
|
+
resolveComponent: To,
|
|
2727
2727
|
equal: Aa,
|
|
2728
2728
|
serialize: Ve,
|
|
2729
2729
|
parse: Ne
|
|
@@ -2794,11 +2794,11 @@ $r.default = Ao;
|
|
|
2794
2794
|
unicode: '"minLength"/"maxLength" account for unicode characters by default.'
|
|
2795
2795
|
}, $ = 200;
|
|
2796
2796
|
function C(_) {
|
|
2797
|
-
var m, O, y, s, p, S, R,
|
|
2797
|
+
var m, O, y, s, p, S, R, I, z, N, U, Fe, Et, xt, At, Nt, zt, Mt, Lt, Bt, qt, Ht, Wt, Ut, Gt;
|
|
2798
2798
|
const Ge = _.strict, Kt = (m = _.code) === null || m === void 0 ? void 0 : m.optimize, pi = Kt === !0 || Kt === void 0 ? 1 : Kt || 0, ui = (y = (O = _.code) === null || O === void 0 ? void 0 : O.regExp) !== null && y !== void 0 ? y : w, Jo = (s = _.uriResolver) !== null && s !== void 0 ? s : k.default;
|
|
2799
2799
|
return {
|
|
2800
2800
|
strictSchema: (S = (p = _.strictSchema) !== null && p !== void 0 ? p : Ge) !== null && S !== void 0 ? S : !0,
|
|
2801
|
-
strictNumbers: (
|
|
2801
|
+
strictNumbers: (I = (R = _.strictNumbers) !== null && R !== void 0 ? R : Ge) !== null && I !== void 0 ? I : !0,
|
|
2802
2802
|
strictTypes: (N = (z = _.strictTypes) !== null && z !== void 0 ? z : Ge) !== null && N !== void 0 ? N : "log",
|
|
2803
2803
|
strictTuples: (Fe = (U = _.strictTuples) !== null && U !== void 0 ? U : Ge) !== null && Fe !== void 0 ? Fe : "log",
|
|
2804
2804
|
strictRequired: (xt = (Et = _.strictRequired) !== null && Et !== void 0 ? Et : Ge) !== null && xt !== void 0 ? xt : !1,
|
|
@@ -2870,14 +2870,14 @@ $r.default = Ao;
|
|
|
2870
2870
|
} catch (U) {
|
|
2871
2871
|
if (!(U instanceof o.default))
|
|
2872
2872
|
throw U;
|
|
2873
|
-
return R.call(this, U), await
|
|
2873
|
+
return R.call(this, U), await I.call(this, U.missingSchema), S.call(this, N);
|
|
2874
2874
|
}
|
|
2875
2875
|
}
|
|
2876
2876
|
function R({ missingSchema: N, missingRef: U }) {
|
|
2877
2877
|
if (this.refs[N])
|
|
2878
2878
|
throw new Error(`AnySchema ${N} is loaded but ${U} cannot be resolved`);
|
|
2879
2879
|
}
|
|
2880
|
-
async function
|
|
2880
|
+
async function I(N) {
|
|
2881
2881
|
const U = await z.call(this, N);
|
|
2882
2882
|
this.refs[N] || await p.call(this, U.$schema), this.refs[N] || this.addSchema(U, N, O);
|
|
2883
2883
|
}
|
|
@@ -2986,7 +2986,7 @@ $r.default = Ao;
|
|
|
2986
2986
|
throw new Error("invalid addKeywords parameters");
|
|
2987
2987
|
if (he.call(this, y, O), !O)
|
|
2988
2988
|
return (0, f.eachItem)(y, (p) => Ue.call(this, p)), this;
|
|
2989
|
-
|
|
2989
|
+
It.call(this, O);
|
|
2990
2990
|
const s = {
|
|
2991
2991
|
...O,
|
|
2992
2992
|
type: (0, c.getJSONTypes)(O.type),
|
|
@@ -3024,10 +3024,10 @@ $r.default = Ao;
|
|
|
3024
3024
|
for (const R of p)
|
|
3025
3025
|
S = S[R];
|
|
3026
3026
|
for (const R in y) {
|
|
3027
|
-
const
|
|
3028
|
-
if (typeof
|
|
3027
|
+
const I = y[R];
|
|
3028
|
+
if (typeof I != "object")
|
|
3029
3029
|
continue;
|
|
3030
|
-
const { $data: z } =
|
|
3030
|
+
const { $data: z } = I.definition, N = S[R];
|
|
3031
3031
|
z && N && (S[R] = dt(N));
|
|
3032
3032
|
}
|
|
3033
3033
|
}
|
|
@@ -3050,12 +3050,12 @@ $r.default = Ao;
|
|
|
3050
3050
|
if (typeof m != "boolean")
|
|
3051
3051
|
throw new Error("schema must be object or boolean");
|
|
3052
3052
|
}
|
|
3053
|
-
let
|
|
3054
|
-
if (
|
|
3055
|
-
return
|
|
3053
|
+
let I = this._cache.get(m);
|
|
3054
|
+
if (I !== void 0)
|
|
3055
|
+
return I;
|
|
3056
3056
|
y = (0, d.normalizeId)(S || y);
|
|
3057
3057
|
const z = d.getSchemaRefs.call(this, m, y);
|
|
3058
|
-
return
|
|
3058
|
+
return I = new a.SchemaEnv({ schema: m, schemaId: R, meta: O, baseId: y, localRefs: z }), this._cache.set(I.schema, I), p && !y.startsWith("#") && (y && this._checkUnique(y), this.refs[y] = I), s && this.validateSchema(m, !0), I;
|
|
3059
3059
|
}
|
|
3060
3060
|
_checkUnique(m) {
|
|
3061
3061
|
if (this.schemas[m] || this.refs[m])
|
|
@@ -3148,7 +3148,7 @@ $r.default = Ao;
|
|
|
3148
3148
|
if (O && s)
|
|
3149
3149
|
throw new Error('keyword with "post" flag cannot have "type"');
|
|
3150
3150
|
const { RULES: p } = this;
|
|
3151
|
-
let S = s ? p.post : p.rules.find(({ type:
|
|
3151
|
+
let S = s ? p.post : p.rules.find(({ type: I }) => I === O);
|
|
3152
3152
|
if (S || (S = { type: O, rules: [] }, p.rules.push(S)), p.keywords[_] = !0, !m)
|
|
3153
3153
|
return;
|
|
3154
3154
|
const R = {
|
|
@@ -3159,21 +3159,21 @@ $r.default = Ao;
|
|
|
3159
3159
|
schemaType: (0, c.getJSONTypes)(m.schemaType)
|
|
3160
3160
|
}
|
|
3161
3161
|
};
|
|
3162
|
-
m.before ? lt.call(this, S, R, m.before) : S.rules.push(R), p.all[_] = R, (y = m.implements) === null || y === void 0 || y.forEach((
|
|
3162
|
+
m.before ? lt.call(this, S, R, m.before) : S.rules.push(R), p.all[_] = R, (y = m.implements) === null || y === void 0 || y.forEach((I) => this.addKeyword(I));
|
|
3163
3163
|
}
|
|
3164
3164
|
function lt(_, m, O) {
|
|
3165
3165
|
const y = _.rules.findIndex((s) => s.keyword === O);
|
|
3166
3166
|
y >= 0 ? _.rules.splice(y, 0, m) : (_.rules.push(m), this.logger.warn(`rule ${O} is not defined`));
|
|
3167
3167
|
}
|
|
3168
|
-
function
|
|
3168
|
+
function It(_) {
|
|
3169
3169
|
let { metaSchema: m } = _;
|
|
3170
3170
|
m !== void 0 && (_.$data && this.opts.$data && (m = dt(m)), _.validateSchema = this.compile(m, !0));
|
|
3171
3171
|
}
|
|
3172
|
-
const
|
|
3172
|
+
const Tt = {
|
|
3173
3173
|
$ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"
|
|
3174
3174
|
};
|
|
3175
3175
|
function dt(_) {
|
|
3176
|
-
return { anyOf: [_,
|
|
3176
|
+
return { anyOf: [_, Tt] };
|
|
3177
3177
|
}
|
|
3178
3178
|
})(qi);
|
|
3179
3179
|
var kr = {}, Or = {}, Cr = {};
|
|
@@ -3354,9 +3354,9 @@ const Oe = E, Xa = V, Qa = Fr, el = {
|
|
|
3354
3354
|
Dr.default = tl;
|
|
3355
3355
|
var jr = {};
|
|
3356
3356
|
Object.defineProperty(jr, "__esModule", { value: !0 });
|
|
3357
|
-
const rl = A, il = V,
|
|
3358
|
-
message: ({ schemaCode: e }) => (0,
|
|
3359
|
-
params: ({ schemaCode: e }) => (0,
|
|
3357
|
+
const rl = A, il = V, Te = E, ol = {
|
|
3358
|
+
message: ({ schemaCode: e }) => (0, Te.str)`must match pattern "${e}"`,
|
|
3359
|
+
params: ({ schemaCode: e }) => (0, Te._)`{pattern: ${e}}`
|
|
3360
3360
|
}, nl = {
|
|
3361
3361
|
keyword: "pattern",
|
|
3362
3362
|
type: "string",
|
|
@@ -3366,11 +3366,11 @@ const rl = A, il = V, Ie = E, ol = {
|
|
|
3366
3366
|
code(e) {
|
|
3367
3367
|
const { gen: t, data: r, $data: i, schema: o, schemaCode: n, it: a } = e, l = a.opts.unicodeRegExp ? "u" : "";
|
|
3368
3368
|
if (i) {
|
|
3369
|
-
const { regExp: d } = a.opts.code, c = d.code === "new RegExp" ? (0,
|
|
3370
|
-
t.try(() => t.assign(f, (0,
|
|
3369
|
+
const { regExp: d } = a.opts.code, c = d.code === "new RegExp" ? (0, Te._)`new RegExp` : (0, il.useFunc)(t, d), f = t.let("valid");
|
|
3370
|
+
t.try(() => t.assign(f, (0, Te._)`${c}(${n}, ${l}).test(${r})`), () => t.assign(f, !1)), e.fail$data((0, Te._)`!${f}`);
|
|
3371
3371
|
} else {
|
|
3372
3372
|
const d = (0, rl.usePattern)(e, o);
|
|
3373
|
-
e.fail$data((0,
|
|
3373
|
+
e.fail$data((0, Te._)`!${d}.test(${r})`);
|
|
3374
3374
|
}
|
|
3375
3375
|
}
|
|
3376
3376
|
};
|
|
@@ -3395,8 +3395,8 @@ const et = E, sl = {
|
|
|
3395
3395
|
}
|
|
3396
3396
|
};
|
|
3397
3397
|
Rr.default = al;
|
|
3398
|
-
var
|
|
3399
|
-
Object.defineProperty(
|
|
3398
|
+
var Ir = {};
|
|
3399
|
+
Object.defineProperty(Ir, "__esModule", { value: !0 });
|
|
3400
3400
|
const Je = A, tt = E, ll = V, dl = {
|
|
3401
3401
|
message: ({ params: { missingProperty: e } }) => (0, tt.str)`must have required property '${e}'`,
|
|
3402
3402
|
params: ({ params: { missingProperty: e } }) => (0, tt._)`{missingProperty: ${e}}`
|
|
@@ -3448,9 +3448,9 @@ const Je = A, tt = E, ll = V, dl = {
|
|
|
3448
3448
|
}
|
|
3449
3449
|
}
|
|
3450
3450
|
};
|
|
3451
|
-
|
|
3452
|
-
var
|
|
3453
|
-
Object.defineProperty(
|
|
3451
|
+
Ir.default = cl;
|
|
3452
|
+
var Tr = {};
|
|
3453
|
+
Object.defineProperty(Tr, "__esModule", { value: !0 });
|
|
3454
3454
|
const rt = E, pl = {
|
|
3455
3455
|
message({ keyword: e, schemaCode: t }) {
|
|
3456
3456
|
const r = e === "maxItems" ? "more" : "fewer";
|
|
@@ -3468,7 +3468,7 @@ const rt = E, pl = {
|
|
|
3468
3468
|
e.fail$data((0, rt._)`${r}.length ${o} ${i}`);
|
|
3469
3469
|
}
|
|
3470
3470
|
};
|
|
3471
|
-
|
|
3471
|
+
Tr.default = ul;
|
|
3472
3472
|
var Er = {}, at = {};
|
|
3473
3473
|
Object.defineProperty(at, "__esModule", { value: !0 });
|
|
3474
3474
|
const Mo = no;
|
|
@@ -3567,7 +3567,7 @@ const Ze = E, Sl = V, wl = at, kl = {
|
|
|
3567
3567
|
};
|
|
3568
3568
|
Ar.default = Ol;
|
|
3569
3569
|
Object.defineProperty(Pr, "__esModule", { value: !0 });
|
|
3570
|
-
const Cl = _r, Pl = Vr, _l = Dr, Vl = jr, Dl = Rr, Fl =
|
|
3570
|
+
const Cl = _r, Pl = Vr, _l = Dr, Vl = jr, Dl = Rr, Fl = Ir, jl = Tr, Rl = Er, Il = xr, Tl = Ar, El = [
|
|
3571
3571
|
// number
|
|
3572
3572
|
Cl.default,
|
|
3573
3573
|
Pl.default,
|
|
@@ -3583,8 +3583,8 @@ const Cl = _r, Pl = Vr, _l = Dr, Vl = jr, Dl = Rr, Fl = Tr, jl = Ir, Rl = Er, Tl
|
|
|
3583
3583
|
// any
|
|
3584
3584
|
{ keyword: "type", schemaType: ["string", "array"] },
|
|
3585
3585
|
{ keyword: "nullable", schemaType: "boolean" },
|
|
3586
|
-
|
|
3587
|
-
|
|
3586
|
+
Il.default,
|
|
3587
|
+
Tl.default
|
|
3588
3588
|
];
|
|
3589
3589
|
Pr.default = El;
|
|
3590
3590
|
var Nr = {}, Le = {};
|
|
@@ -4078,7 +4078,7 @@ const Ct = E, Ho = V, fd = {
|
|
|
4078
4078
|
code(e) {
|
|
4079
4079
|
const { gen: t, parentSchema: r, it: i } = e;
|
|
4080
4080
|
r.then === void 0 && r.else === void 0 && (0, Ho.checkStrictMode)(i, '"if" without "then" and "else" is ignored');
|
|
4081
|
-
const o =
|
|
4081
|
+
const o = Ii(i, "then"), n = Ii(i, "else");
|
|
4082
4082
|
if (!o && !n)
|
|
4083
4083
|
return;
|
|
4084
4084
|
const a = t.let("valid", !0), l = t.name("_valid");
|
|
@@ -4104,7 +4104,7 @@ const Ct = E, Ho = V, fd = {
|
|
|
4104
4104
|
}
|
|
4105
4105
|
}
|
|
4106
4106
|
};
|
|
4107
|
-
function
|
|
4107
|
+
function Ii(e, t) {
|
|
4108
4108
|
const r = e.schema[t];
|
|
4109
4109
|
return r !== void 0 && !(0, Ho.alwaysValidSchema)(e, r);
|
|
4110
4110
|
}
|
|
@@ -4121,7 +4121,7 @@ const md = V, gd = {
|
|
|
4121
4121
|
Yr.default = gd;
|
|
4122
4122
|
Object.defineProperty(Nr, "__esModule", { value: !0 });
|
|
4123
4123
|
const yd = Le, bd = zr, $d = Be, vd = Mr, Sd = Lr, wd = Ft, kd = Br, Od = jt, Cd = qr, Pd = Hr, _d = Wr, Vd = Ur, Dd = Gr, Fd = Kr, jd = Jr, Rd = Yr;
|
|
4124
|
-
function
|
|
4124
|
+
function Id(e = !1) {
|
|
4125
4125
|
const t = [
|
|
4126
4126
|
// any
|
|
4127
4127
|
_d.default,
|
|
@@ -4139,11 +4139,11 @@ function Td(e = !1) {
|
|
|
4139
4139
|
];
|
|
4140
4140
|
return e ? t.push(bd.default, vd.default) : t.push(yd.default, $d.default), t.push(Sd.default), t;
|
|
4141
4141
|
}
|
|
4142
|
-
Nr.default =
|
|
4142
|
+
Nr.default = Id;
|
|
4143
4143
|
var Zr = {}, qe = {};
|
|
4144
4144
|
Object.defineProperty(qe, "__esModule", { value: !0 });
|
|
4145
4145
|
qe.dynamicAnchor = void 0;
|
|
4146
|
-
const er = E,
|
|
4146
|
+
const er = E, Td = Q, Ti = Z, Ed = ue, xd = {
|
|
4147
4147
|
keyword: "$dynamicAnchor",
|
|
4148
4148
|
schemaType: "string",
|
|
4149
4149
|
code: (e) => Wo(e, e.schema)
|
|
@@ -4151,13 +4151,13 @@ const er = E, Id = Q, Ii = Z, Ed = ue, xd = {
|
|
|
4151
4151
|
function Wo(e, t) {
|
|
4152
4152
|
const { gen: r, it: i } = e;
|
|
4153
4153
|
i.schemaEnv.root.dynamicAnchors[t] = !0;
|
|
4154
|
-
const o = (0, er._)`${
|
|
4154
|
+
const o = (0, er._)`${Td.default.dynamicAnchors}${(0, er.getProperty)(t)}`, n = i.errSchemaPath === "#" ? i.validateName : Ad(e);
|
|
4155
4155
|
r.if((0, er._)`!${o}`, () => r.assign(o, n));
|
|
4156
4156
|
}
|
|
4157
4157
|
qe.dynamicAnchor = Wo;
|
|
4158
4158
|
function Ad(e) {
|
|
4159
|
-
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
|
|
4160
|
-
return
|
|
4159
|
+
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 Ti.SchemaEnv({ schema: r, schemaId: d, root: o, baseId: n, localRefs: a, meta: l });
|
|
4160
|
+
return Ti.compileSchema.call(i, c), (0, Ed.getValidate)(e, c);
|
|
4161
4161
|
}
|
|
4162
4162
|
qe.default = xd;
|
|
4163
4163
|
var He = {};
|
|
@@ -4431,9 +4431,9 @@ var Li;
|
|
|
4431
4431
|
e.Tag = "tag", e.Mapping = "mapping";
|
|
4432
4432
|
})(Li || (Rt.DiscrError = Li = {}));
|
|
4433
4433
|
Object.defineProperty(di, "__esModule", { value: !0 });
|
|
4434
|
-
const
|
|
4434
|
+
const Ie = E, lr = Rt, Bi = Z, Cc = Me, Pc = V, _c = {
|
|
4435
4435
|
message: ({ params: { discrError: e, tagName: t } }) => e === lr.DiscrError.Tag ? `tag "${t}" must be string` : `value of tag "${t}" must be in oneOf`,
|
|
4436
|
-
params: ({ params: { discrError: e, tag: t, tagName: r } }) => (0,
|
|
4436
|
+
params: ({ params: { discrError: e, tag: t, tagName: r } }) => (0, Ie._)`{error: ${e}, tag: ${r}, tagValue: ${t}}`
|
|
4437
4437
|
}, Vc = {
|
|
4438
4438
|
keyword: "discriminator",
|
|
4439
4439
|
type: "object",
|
|
@@ -4450,18 +4450,18 @@ const Te = E, lr = Rt, Bi = Z, Cc = Me, Pc = V, _c = {
|
|
|
4450
4450
|
throw new Error("discriminator: mapping is not supported");
|
|
4451
4451
|
if (!a)
|
|
4452
4452
|
throw new Error("discriminator: requires oneOf keyword");
|
|
4453
|
-
const d = t.let("valid", !1), c = t.const("tag", (0,
|
|
4454
|
-
t.if((0,
|
|
4453
|
+
const d = t.let("valid", !1), c = t.const("tag", (0, Ie._)`${r}${(0, Ie.getProperty)(l)}`);
|
|
4454
|
+
t.if((0, Ie._)`typeof ${c} == "string"`, () => f(), () => e.error(!1, { discrError: lr.DiscrError.Tag, tag: c, tagName: l })), e.ok(d);
|
|
4455
4455
|
function f() {
|
|
4456
4456
|
const w = k();
|
|
4457
4457
|
t.if(!1);
|
|
4458
4458
|
for (const b in w)
|
|
4459
|
-
t.elseIf((0,
|
|
4459
|
+
t.elseIf((0, Ie._)`${c} === ${b}`), t.assign(d, h(w[b]));
|
|
4460
4460
|
t.else(), e.error(!1, { discrError: lr.DiscrError.Mapping, tag: c, tagName: l }), t.endIf();
|
|
4461
4461
|
}
|
|
4462
4462
|
function h(w) {
|
|
4463
4463
|
const b = t.name("valid"), v = e.subschema({ keyword: "oneOf", schemaProp: w }, b);
|
|
4464
|
-
return e.mergeEvaluated(v,
|
|
4464
|
+
return e.mergeEvaluated(v, Ie.Name), b;
|
|
4465
4465
|
}
|
|
4466
4466
|
function k() {
|
|
4467
4467
|
var w;
|
|
@@ -4512,7 +4512,7 @@ const Dc = "https://json-schema.org/draft/2020-12/schema", Fc = "https://json-sc
|
|
|
4512
4512
|
"https://json-schema.org/draft/2020-12/vocab/meta-data": !0,
|
|
4513
4513
|
"https://json-schema.org/draft/2020-12/vocab/format-annotation": !0,
|
|
4514
4514
|
"https://json-schema.org/draft/2020-12/vocab/content": !0
|
|
4515
|
-
}, Rc = "meta",
|
|
4515
|
+
}, Rc = "meta", Ic = "Core and Validation specifications meta-schema", Tc = [
|
|
4516
4516
|
{
|
|
4517
4517
|
$ref: "meta/core"
|
|
4518
4518
|
},
|
|
@@ -4578,8 +4578,8 @@ const Dc = "https://json-schema.org/draft/2020-12/schema", Fc = "https://json-sc
|
|
|
4578
4578
|
$id: Fc,
|
|
4579
4579
|
$vocabulary: jc,
|
|
4580
4580
|
$dynamicAnchor: Rc,
|
|
4581
|
-
title:
|
|
4582
|
-
allOf:
|
|
4581
|
+
title: Ic,
|
|
4582
|
+
allOf: Tc,
|
|
4583
4583
|
type: Ec,
|
|
4584
4584
|
$comment: xc,
|
|
4585
4585
|
properties: Ac
|
|
@@ -4797,7 +4797,7 @@ const Dc = "https://json-schema.org/draft/2020-12/schema", Fc = "https://json-sc
|
|
|
4797
4797
|
}, Fp = "meta", jp = "Meta-data vocabulary meta-schema", Rp = [
|
|
4798
4798
|
"object",
|
|
4799
4799
|
"boolean"
|
|
4800
|
-
],
|
|
4800
|
+
], Ip = {
|
|
4801
4801
|
title: {
|
|
4802
4802
|
type: "string"
|
|
4803
4803
|
},
|
|
@@ -4821,14 +4821,14 @@ const Dc = "https://json-schema.org/draft/2020-12/schema", Fc = "https://json-sc
|
|
|
4821
4821
|
type: "array",
|
|
4822
4822
|
items: !0
|
|
4823
4823
|
}
|
|
4824
|
-
},
|
|
4824
|
+
}, Tp = {
|
|
4825
4825
|
$schema: _p,
|
|
4826
4826
|
$id: Vp,
|
|
4827
4827
|
$vocabulary: Dp,
|
|
4828
4828
|
$dynamicAnchor: Fp,
|
|
4829
4829
|
title: jp,
|
|
4830
4830
|
type: Rp,
|
|
4831
|
-
properties:
|
|
4831
|
+
properties: Ip
|
|
4832
4832
|
}, Ep = "https://json-schema.org/draft/2020-12/schema", xp = "https://json-schema.org/draft/2020-12/meta/validation", Ap = {
|
|
4833
4833
|
"https://json-schema.org/draft/2020-12/vocab/validation": !0
|
|
4834
4834
|
}, Np = "meta", zp = "Validation vocabulary meta-schema", Mp = [
|
|
@@ -4952,7 +4952,7 @@ const Dc = "https://json-schema.org/draft/2020-12/schema", Fc = "https://json-sc
|
|
|
4952
4952
|
$defs: Bp
|
|
4953
4953
|
};
|
|
4954
4954
|
Object.defineProperty(ci, "__esModule", { value: !0 });
|
|
4955
|
-
const Hp = Nc, Wp = Gc, Up = tp, Gp = dp, Kp = bp, Jp = Pp, Yp =
|
|
4955
|
+
const Hp = Nc, Wp = Gc, Up = tp, Gp = dp, Kp = bp, Jp = Pp, Yp = Tp, Zp = qp, Xp = ["/properties"];
|
|
4956
4956
|
function Qp(e) {
|
|
4957
4957
|
return [
|
|
4958
4958
|
Hp,
|
|
@@ -5022,7 +5022,7 @@ ci.default = Qp;
|
|
|
5022
5022
|
} });
|
|
5023
5023
|
})(tr, tr.exports);
|
|
5024
5024
|
var eu = tr.exports;
|
|
5025
|
-
const tu = "custom-apps", ru = "2.1.
|
|
5025
|
+
const tu = "custom-apps", ru = "2.1.9", pe = {
|
|
5026
5026
|
ActionCard: {
|
|
5027
5027
|
description: "Card with icon asset, title, caption, and action buttons",
|
|
5028
5028
|
events: ["primaryAction", "secondaryAction"],
|
|
@@ -6147,15 +6147,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
6147
6147
|
type: "boolean"
|
|
6148
6148
|
},
|
|
6149
6149
|
error: {
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
type: "boolean"
|
|
6153
|
-
},
|
|
6154
|
-
{
|
|
6155
|
-
type: "string"
|
|
6156
|
-
}
|
|
6157
|
-
],
|
|
6158
|
-
description: "Error state or error message"
|
|
6150
|
+
description: "Error state or error message",
|
|
6151
|
+
type: ["boolean", "string"]
|
|
6159
6152
|
},
|
|
6160
6153
|
haptic: {
|
|
6161
6154
|
description: "Enables haptic feedback on toggle. Default: true",
|
|
@@ -6229,15 +6222,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
6229
6222
|
type: "boolean"
|
|
6230
6223
|
},
|
|
6231
6224
|
error: {
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
type: "boolean"
|
|
6235
|
-
},
|
|
6236
|
-
{
|
|
6237
|
-
type: "string"
|
|
6238
|
-
}
|
|
6239
|
-
],
|
|
6240
|
-
description: "Error state or error message shown below the group"
|
|
6225
|
+
description: "Error state or error message shown below the group",
|
|
6226
|
+
type: ["boolean", "string"]
|
|
6241
6227
|
},
|
|
6242
6228
|
helperText: {
|
|
6243
6229
|
description: "Help text shown below the group",
|
|
@@ -6392,15 +6378,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
6392
6378
|
type: "boolean"
|
|
6393
6379
|
},
|
|
6394
6380
|
error: {
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
type: "boolean"
|
|
6398
|
-
},
|
|
6399
|
-
{
|
|
6400
|
-
type: "string"
|
|
6401
|
-
}
|
|
6402
|
-
],
|
|
6403
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
6381
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
6382
|
+
type: ["boolean", "string"]
|
|
6404
6383
|
},
|
|
6405
6384
|
helperText: {
|
|
6406
6385
|
description: "Help text shown below the input",
|
|
@@ -6467,15 +6446,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
6467
6446
|
type: "boolean"
|
|
6468
6447
|
},
|
|
6469
6448
|
error: {
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
type: "string"
|
|
6473
|
-
},
|
|
6474
|
-
{
|
|
6475
|
-
type: "boolean"
|
|
6476
|
-
}
|
|
6477
|
-
],
|
|
6478
|
-
description: "Error state or error message"
|
|
6449
|
+
description: "Error state or error message",
|
|
6450
|
+
type: ["string", "boolean"]
|
|
6479
6451
|
},
|
|
6480
6452
|
format: {
|
|
6481
6453
|
description: 'Date format string e.g. "YYYY-MM-DD". Default: ISO string',
|
|
@@ -6532,6 +6504,9 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
6532
6504
|
},
|
|
6533
6505
|
defaultValue: {
|
|
6534
6506
|
description: "Default ISO date strings [start, end]",
|
|
6507
|
+
items: !1,
|
|
6508
|
+
maxItems: 2,
|
|
6509
|
+
minItems: 2,
|
|
6535
6510
|
prefixItems: [
|
|
6536
6511
|
{
|
|
6537
6512
|
type: "string"
|
|
@@ -6556,6 +6531,9 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
6556
6531
|
},
|
|
6557
6532
|
label: {
|
|
6558
6533
|
description: "Labels for [start, end] date",
|
|
6534
|
+
items: !1,
|
|
6535
|
+
maxItems: 2,
|
|
6536
|
+
minItems: 2,
|
|
6559
6537
|
prefixItems: [
|
|
6560
6538
|
{
|
|
6561
6539
|
type: "string"
|
|
@@ -6584,6 +6562,9 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
6584
6562
|
},
|
|
6585
6563
|
value: {
|
|
6586
6564
|
description: "ISO date strings [start, end] — bind via $bindState",
|
|
6565
|
+
items: !1,
|
|
6566
|
+
maxItems: 2,
|
|
6567
|
+
minItems: 2,
|
|
6587
6568
|
prefixItems: [
|
|
6588
6569
|
{
|
|
6589
6570
|
type: "string"
|
|
@@ -6703,15 +6684,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
6703
6684
|
type: "boolean"
|
|
6704
6685
|
},
|
|
6705
6686
|
error: {
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
type: "boolean"
|
|
6709
|
-
},
|
|
6710
|
-
{
|
|
6711
|
-
type: "string"
|
|
6712
|
-
}
|
|
6713
|
-
],
|
|
6714
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
6687
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
6688
|
+
type: ["boolean", "string"]
|
|
6715
6689
|
},
|
|
6716
6690
|
helperText: {
|
|
6717
6691
|
description: "Help text shown below the input",
|
|
@@ -7630,6 +7604,7 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
7630
7604
|
enum: [
|
|
7631
7605
|
"primary",
|
|
7632
7606
|
"secondary",
|
|
7607
|
+
"neutral",
|
|
7633
7608
|
"tertiary",
|
|
7634
7609
|
"error",
|
|
7635
7610
|
"success",
|
|
@@ -8064,15 +8039,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
8064
8039
|
type: "boolean"
|
|
8065
8040
|
},
|
|
8066
8041
|
error: {
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
type: "string"
|
|
8070
|
-
},
|
|
8071
|
-
{
|
|
8072
|
-
type: "boolean"
|
|
8073
|
-
}
|
|
8074
|
-
],
|
|
8075
|
-
description: "Error state or error message for the group"
|
|
8042
|
+
description: "Error state or error message for the group",
|
|
8043
|
+
type: ["string", "boolean"]
|
|
8076
8044
|
},
|
|
8077
8045
|
helperText: {
|
|
8078
8046
|
description: "Helper text shown below the grouped inputs",
|
|
@@ -8879,15 +8847,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
8879
8847
|
type: "boolean"
|
|
8880
8848
|
},
|
|
8881
8849
|
error: {
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
type: "boolean"
|
|
8885
|
-
},
|
|
8886
|
-
{
|
|
8887
|
-
type: "string"
|
|
8888
|
-
}
|
|
8889
|
-
],
|
|
8890
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
8850
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
8851
|
+
type: ["boolean", "string"]
|
|
8891
8852
|
},
|
|
8892
8853
|
helperText: {
|
|
8893
8854
|
description: "Help text shown below the input",
|
|
@@ -9294,15 +9255,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
9294
9255
|
type: "boolean"
|
|
9295
9256
|
},
|
|
9296
9257
|
error: {
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
type: "boolean"
|
|
9300
|
-
},
|
|
9301
|
-
{
|
|
9302
|
-
type: "string"
|
|
9303
|
-
}
|
|
9304
|
-
],
|
|
9305
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
9258
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
9259
|
+
type: ["boolean", "string"]
|
|
9306
9260
|
},
|
|
9307
9261
|
helperText: {
|
|
9308
9262
|
description: "Help text shown below the input",
|
|
@@ -9935,15 +9889,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
9935
9889
|
type: "boolean"
|
|
9936
9890
|
},
|
|
9937
9891
|
error: {
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
type: "boolean"
|
|
9941
|
-
},
|
|
9942
|
-
{
|
|
9943
|
-
type: "string"
|
|
9944
|
-
}
|
|
9945
|
-
],
|
|
9946
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
9892
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
9893
|
+
type: ["boolean", "string"]
|
|
9947
9894
|
},
|
|
9948
9895
|
helperText: {
|
|
9949
9896
|
description: "Help text shown below the input",
|
|
@@ -10038,15 +9985,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
10038
9985
|
type: "boolean"
|
|
10039
9986
|
},
|
|
10040
9987
|
error: {
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
type: "boolean"
|
|
10044
|
-
},
|
|
10045
|
-
{
|
|
10046
|
-
type: "string"
|
|
10047
|
-
}
|
|
10048
|
-
],
|
|
10049
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
9988
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
9989
|
+
type: ["boolean", "string"]
|
|
10050
9990
|
},
|
|
10051
9991
|
helperText: {
|
|
10052
9992
|
description: "Help text shown below the input",
|
|
@@ -10133,15 +10073,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
10133
10073
|
type: "boolean"
|
|
10134
10074
|
},
|
|
10135
10075
|
error: {
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
type: "boolean"
|
|
10139
|
-
},
|
|
10140
|
-
{
|
|
10141
|
-
type: "string"
|
|
10142
|
-
}
|
|
10143
|
-
],
|
|
10144
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
10076
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
10077
|
+
type: ["boolean", "string"]
|
|
10145
10078
|
},
|
|
10146
10079
|
helperText: {
|
|
10147
10080
|
description: "Help text shown below the input",
|
|
@@ -10620,15 +10553,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
10620
10553
|
type: "boolean"
|
|
10621
10554
|
},
|
|
10622
10555
|
error: {
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
type: "boolean"
|
|
10626
|
-
},
|
|
10627
|
-
{
|
|
10628
|
-
type: "string"
|
|
10629
|
-
}
|
|
10630
|
-
],
|
|
10631
|
-
description: "Error state or error message"
|
|
10556
|
+
description: "Error state or error message",
|
|
10557
|
+
type: ["boolean", "string"]
|
|
10632
10558
|
},
|
|
10633
10559
|
haptic: {
|
|
10634
10560
|
description: "Enables haptic feedback on selection. Default: true",
|
|
@@ -10691,15 +10617,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
10691
10617
|
type: "boolean"
|
|
10692
10618
|
},
|
|
10693
10619
|
error: {
|
|
10694
|
-
|
|
10695
|
-
|
|
10696
|
-
type: "boolean"
|
|
10697
|
-
},
|
|
10698
|
-
{
|
|
10699
|
-
type: "string"
|
|
10700
|
-
}
|
|
10701
|
-
],
|
|
10702
|
-
description: "Error state or error message shown below the group"
|
|
10620
|
+
description: "Error state or error message shown below the group",
|
|
10621
|
+
type: ["boolean", "string"]
|
|
10703
10622
|
},
|
|
10704
10623
|
helperText: {
|
|
10705
10624
|
description: "Help text shown below the group",
|
|
@@ -10853,15 +10772,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
10853
10772
|
type: "boolean"
|
|
10854
10773
|
},
|
|
10855
10774
|
error: {
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
type: "boolean"
|
|
10859
|
-
},
|
|
10860
|
-
{
|
|
10861
|
-
type: "string"
|
|
10862
|
-
}
|
|
10863
|
-
],
|
|
10864
|
-
description: "Error state or error message"
|
|
10775
|
+
description: "Error state or error message",
|
|
10776
|
+
type: ["boolean", "string"]
|
|
10865
10777
|
},
|
|
10866
10778
|
helperText: {
|
|
10867
10779
|
description: "Help text shown below the select input",
|
|
@@ -10978,15 +10890,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
10978
10890
|
type: "boolean"
|
|
10979
10891
|
},
|
|
10980
10892
|
error: {
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
type: "string"
|
|
10984
|
-
},
|
|
10985
|
-
{
|
|
10986
|
-
type: "boolean"
|
|
10987
|
-
}
|
|
10988
|
-
],
|
|
10989
|
-
description: "Error state or error message"
|
|
10893
|
+
description: "Error state or error message",
|
|
10894
|
+
type: ["string", "boolean"]
|
|
10990
10895
|
},
|
|
10991
10896
|
helperText: {
|
|
10992
10897
|
description: "Help text shown below the chips",
|
|
@@ -11061,15 +10966,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
11061
10966
|
type: "boolean"
|
|
11062
10967
|
},
|
|
11063
10968
|
error: {
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
type: "boolean"
|
|
11067
|
-
},
|
|
11068
|
-
{
|
|
11069
|
-
type: "string"
|
|
11070
|
-
}
|
|
11071
|
-
],
|
|
11072
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
10969
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
10970
|
+
type: ["boolean", "string"]
|
|
11073
10971
|
},
|
|
11074
10972
|
readOnly: {
|
|
11075
10973
|
description: "Shows value without allowing edits. Default: false",
|
|
@@ -11136,15 +11034,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
11136
11034
|
type: "boolean"
|
|
11137
11035
|
},
|
|
11138
11036
|
error: {
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
type: "boolean"
|
|
11142
|
-
},
|
|
11143
|
-
{
|
|
11144
|
-
type: "string"
|
|
11145
|
-
}
|
|
11146
|
-
],
|
|
11147
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
11037
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
11038
|
+
type: ["boolean", "string"]
|
|
11148
11039
|
},
|
|
11149
11040
|
helperText: {
|
|
11150
11041
|
description: "Help text shown below the input",
|
|
@@ -11248,6 +11139,9 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
11248
11139
|
properties: {
|
|
11249
11140
|
defaultValue: {
|
|
11250
11141
|
description: "Initial range value for uncontrolled mode",
|
|
11142
|
+
items: !1,
|
|
11143
|
+
maxItems: 2,
|
|
11144
|
+
minItems: 2,
|
|
11251
11145
|
prefixItems: [
|
|
11252
11146
|
{
|
|
11253
11147
|
type: "number"
|
|
@@ -11292,6 +11186,9 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
11292
11186
|
},
|
|
11293
11187
|
value: {
|
|
11294
11188
|
description: "Range value [min, max] — bind via $bindState",
|
|
11189
|
+
items: !1,
|
|
11190
|
+
maxItems: 2,
|
|
11191
|
+
minItems: 2,
|
|
11295
11192
|
prefixItems: [
|
|
11296
11193
|
{
|
|
11297
11194
|
type: "number"
|
|
@@ -11455,15 +11352,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
11455
11352
|
type: "boolean"
|
|
11456
11353
|
},
|
|
11457
11354
|
error: {
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
type: "boolean"
|
|
11461
|
-
},
|
|
11462
|
-
{
|
|
11463
|
-
type: "string"
|
|
11464
|
-
}
|
|
11465
|
-
],
|
|
11466
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
11355
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
11356
|
+
type: ["boolean", "string"]
|
|
11467
11357
|
},
|
|
11468
11358
|
helperText: {
|
|
11469
11359
|
description: "Help text shown below the input",
|
|
@@ -12538,15 +12428,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
12538
12428
|
type: "boolean"
|
|
12539
12429
|
},
|
|
12540
12430
|
error: {
|
|
12541
|
-
|
|
12542
|
-
|
|
12543
|
-
type: "boolean"
|
|
12544
|
-
},
|
|
12545
|
-
{
|
|
12546
|
-
type: "string"
|
|
12547
|
-
}
|
|
12548
|
-
],
|
|
12549
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
12431
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
12432
|
+
type: ["boolean", "string"]
|
|
12550
12433
|
},
|
|
12551
12434
|
height: {
|
|
12552
12435
|
description: "Fixed height of the textarea in points",
|
|
@@ -12605,15 +12488,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
12605
12488
|
type: "boolean"
|
|
12606
12489
|
},
|
|
12607
12490
|
error: {
|
|
12608
|
-
|
|
12609
|
-
|
|
12610
|
-
type: "string"
|
|
12611
|
-
},
|
|
12612
|
-
{
|
|
12613
|
-
type: "boolean"
|
|
12614
|
-
}
|
|
12615
|
-
],
|
|
12616
|
-
description: "Error state or error message"
|
|
12491
|
+
description: "Error state or error message",
|
|
12492
|
+
type: ["string", "boolean"]
|
|
12617
12493
|
},
|
|
12618
12494
|
format: {
|
|
12619
12495
|
description: "Time format. Default: isoString",
|
|
@@ -12663,6 +12539,9 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
12663
12539
|
},
|
|
12664
12540
|
defaultValue: {
|
|
12665
12541
|
description: "Default ISO time strings [start, end]",
|
|
12542
|
+
items: !1,
|
|
12543
|
+
maxItems: 2,
|
|
12544
|
+
minItems: 2,
|
|
12666
12545
|
prefixItems: [
|
|
12667
12546
|
{
|
|
12668
12547
|
type: "string"
|
|
@@ -12687,6 +12566,9 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
12687
12566
|
},
|
|
12688
12567
|
label: {
|
|
12689
12568
|
description: "Labels for [start, end] time",
|
|
12569
|
+
items: !1,
|
|
12570
|
+
maxItems: 2,
|
|
12571
|
+
minItems: 2,
|
|
12690
12572
|
prefixItems: [
|
|
12691
12573
|
{
|
|
12692
12574
|
type: "string"
|
|
@@ -12715,6 +12597,9 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
12715
12597
|
},
|
|
12716
12598
|
value: {
|
|
12717
12599
|
description: "ISO time strings [start, end] — bind via $bindState",
|
|
12600
|
+
items: !1,
|
|
12601
|
+
maxItems: 2,
|
|
12602
|
+
minItems: 2,
|
|
12718
12603
|
prefixItems: [
|
|
12719
12604
|
{
|
|
12720
12605
|
type: "string"
|
|
@@ -13214,15 +13099,8 @@ const tu = "custom-apps", ru = "2.1.5", pe = {
|
|
|
13214
13099
|
description: "Allowed domains. When set, the user types only the username and picks a domain."
|
|
13215
13100
|
},
|
|
13216
13101
|
error: {
|
|
13217
|
-
|
|
13218
|
-
|
|
13219
|
-
type: "boolean"
|
|
13220
|
-
},
|
|
13221
|
-
{
|
|
13222
|
-
type: "string"
|
|
13223
|
-
}
|
|
13224
|
-
],
|
|
13225
|
-
description: "Error state — true for generic error highlight, string for error message"
|
|
13102
|
+
description: "Error state — true for generic error highlight, string for error message",
|
|
13103
|
+
type: ["boolean", "string"]
|
|
13226
13104
|
},
|
|
13227
13105
|
helperText: {
|
|
13228
13106
|
description: "Help text shown below the input",
|
|
@@ -13636,6 +13514,7 @@ The value may use $state or $computed expressions. This is useful for deriving v
|
|
|
13636
13514
|
enum: [
|
|
13637
13515
|
"primary",
|
|
13638
13516
|
"secondary",
|
|
13517
|
+
"neutral",
|
|
13639
13518
|
"tertiary",
|
|
13640
13519
|
"error",
|
|
13641
13520
|
"success",
|
|
@@ -13940,8 +13819,6 @@ The value may use $state or $computed expressions. This is useful for deriving v
|
|
|
13940
13819
|
"addNotificationFilled",
|
|
13941
13820
|
"addNotificationOutline",
|
|
13942
13821
|
"additionalInfoOutline",
|
|
13943
|
-
"aiGatewayFilled",
|
|
13944
|
-
"aiGatewayOutline",
|
|
13945
13822
|
"airlineStopsFilled",
|
|
13946
13823
|
"airlineStopsOutline",
|
|
13947
13824
|
"airlinesFilled",
|
|
@@ -15109,6 +14986,8 @@ The value may use $state or $computed expressions. This is useful for deriving v
|
|
|
15109
14986
|
"unlimitedPtoOutline",
|
|
15110
14987
|
"unlockFilled",
|
|
15111
14988
|
"unlockOutline",
|
|
14989
|
+
"unstarFilled",
|
|
14990
|
+
"unstarOutline",
|
|
15112
14991
|
"updateAddress",
|
|
15113
14992
|
"upload",
|
|
15114
14993
|
"userArmSlingFilled",
|
|
@@ -15780,8 +15659,8 @@ export {
|
|
|
15780
15659
|
Fu as Email,
|
|
15781
15660
|
ju as ExpansionPanel,
|
|
15782
15661
|
Ru as FileViewerButton,
|
|
15783
|
-
|
|
15784
|
-
|
|
15662
|
+
Iu as FileViewerPressable,
|
|
15663
|
+
Tu as FloatingButton,
|
|
15785
15664
|
Eu as Form,
|
|
15786
15665
|
xu as Group,
|
|
15787
15666
|
Nu as HStack,
|
|
@@ -15833,8 +15712,8 @@ export {
|
|
|
15833
15712
|
Ff as Textarea,
|
|
15834
15713
|
jf as Time,
|
|
15835
15714
|
Rf as TimeRange,
|
|
15836
|
-
|
|
15837
|
-
|
|
15715
|
+
If as Tip,
|
|
15716
|
+
Tf as VStack,
|
|
15838
15717
|
Ef as Widget,
|
|
15839
15718
|
xf as WorkEmail,
|
|
15840
15719
|
Af as copyToClipboard,
|