@rippling/pebble-sdui-web 0.4.2 → 0.6.3

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.
@@ -1,7 +1,7 @@
1
- import { buildNode as E } from "../../core/component-utils.js";
1
+ import { buildNode as P } from "../../core/component-utils.js";
2
2
  import { buildAction as _e } from "../../core/action-utils.js";
3
3
  import { renderElementTree as Ui } from "../../core/spec.js";
4
- const Ia = (e) => E("ActionCard", e), Ca = (e) => E("AiIcon", e), Ta = (e) => E("Alert", e), Da = (e) => E("Animation", e), Ea = (e) => E("ApiError", e), Pa = (e) => E("AppGroupLoader", e), _a = (e) => E("AppGroupSelect", e), Ra = (e) => E("AppNavBar", e), Aa = (e) => E("AtomsSeparator", e), Na = (e) => E("Avatar", e), xa = (e) => E("AvatarList", e), ka = (e) => E("Badge", e), La = (e) => E("Box", e), Ma = (e) => E("BrandBadge", e), $a = (e) => E("Breadcrumb", e), ja = (e) => E("Button", e), qa = (e) => E("ButtonGroup", e), Fa = (e) => E("Calendar", e), Ua = (e) => E("Card", e), Va = (e) => E("CardGroup", e), Ba = (e) => E("Carousel", e), Ha = (e) => E("ChartLoader", e), za = (e) => E("Checkbox", e), Wa = (e) => E("CheckboxGroup", e), Ga = (e) => E("CheckList", e), Xa = (e) => E("Chip", e), Ka = (e) => E("ChipGroup", e), Ya = (e) => E("Circle", e), Ja = (e) => E("ColorPicker", e), Qa = (e) => E("ContentLoader", e), Za = (e) => E("CountDown", e), es = (e) => E("Country", e), ts = (e) => E("Currency", e), rs = (e) => E("Date", e), is = (e) => E("DateInlineMulti", e), os = (e) => E("DateRange", e), ns = (e) => E("DaySelector", e), as = (e) => E("DistributionBar", e), ss = (e) => E("Divider", e), ps = (e) => E("DraggableList", e), cs = (e) => E("Drawer", e), ls = (e) => E("Dropdown", e), ds = (e) => E("Email", e), us = (e) => E("EmojiPicker", e), ys = (e) => E("ExpansionPanel", e), hs = (e) => E("ExpansionPanelGroup", e), ms = (e) => E("Field", e), fs = (e) => E("File", e), gs = (e) => E("FileDrop", e), bs = (e) => E("FloatingButton", e), vs = (e) => E("Form", e), Ss = (e) => E("FormCheckbox", e), ws = (e) => E("FormCheckboxGroup", e), Os = (e) => E("FormContent", e), Is = (e) => E("FormCurrency", e), Cs = (e) => E("FormDate", e), Ts = (e) => E("FormDateRange", e), Ds = (e) => E("FormDaySelector", e), Es = (e) => E("FormEmail", e), Ps = (e) => E("FormFile", e), _s = (e) => E("FormFileDrop", e), Rs = (e) => E("FormGroup", e), As = (e) => E("FormGroupHeader", e), Ns = (e) => E("FormHidden", e), xs = (e) => E("FormInlineGroup", e), ks = (e) => E("FormInputGroup", e), Ls = (e) => E("FormMasker", e), Ms = (e) => E("FormNumber", e), $s = (e) => E("FormPassword", e), js = (e) => E("FormPercentage", e), qs = (e) => E("FormPhone", e), Fs = (e) => E("FormRadio", e), Us = (e) => E("FormSegmentedControl", e), Vs = (e) => E("FormSelect", e), Bs = (e) => E("FormSelectableGroup", e), Hs = (e) => E("FormSignature", e), zs = (e) => E("FormSin", e), Ws = (e) => E("FormSlider", e), Gs = (e) => E("FormSsn", e), Xs = (e) => E("FormSurvey", e), Ks = (e) => E("FormSwitch", e), Ys = (e) => E("FormText", e), Js = (e) => E("FormTextarea", e), Qs = (e) => E("FormTextAutoSuggest", e), Zs = (e) => E("FormTime", e), ep = (e) => E("FormTimezone", e), tp = (e) => E("FormTree", e), rp = (e) => E("FormTreeSelect", e), ip = (e) => E("FormWorkEmail", e), op = (e) => E("Grid", e), np = (e) => E("Heading", e), ap = (e) => E("Hidden", e), sp = (e) => E("HStack", e), pp = (e) => E("Icon", e), cp = (e) => E("IconButton", e), lp = (e) => E("Image", e), dp = (e) => E("ImageViewer", e), up = (e) => E("InputGroup", e), yp = (e) => E("ItemNavigator", e), hp = (e) => E("Label", e), mp = (e) => E("LabelGroup", e), fp = (e) => E("Layout", e), gp = (e) => E("LayoutCard", e), bp = (e) => E("Link", e), vp = (e) => E("ListItem", e), Sp = (e) => E("LoaderCard", e), wp = (e) => E("LocationCard", e), Op = (e) => E("LottiePlayer", e), Ip = (e) => E("Masker", e), Cp = (e) => E("MenuList", e), Tp = (e) => E("Modal", e), Dp = (e) => E("ModalCloseButton", e), Ep = (e) => E("ModalFooter", e), Pp = (e) => E("NestedList", e), _p = (e) => E("Number", e), Rp = (e) => E("ObjectListView", e), Ap = (e) => E("ObjectUI", e), Np = (e) => E("ObjectUIContent", e), xp = (e) => E("ObjectUIHeader", e), kp = (e) => E("ObjectUIStats", e), Lp = (e) => E("ObjectUITemplate", e), Mp = (e) => E("PageAppLogo", e), $p = (e) => E("PageContent", e), jp = (e) => E("PageFooter", e), qp = (e) => E("PageHeader", e), Fp = (e) => E("Paginate", e), Up = (e) => E("PaginateList", e), Vp = (e) => E("Pane", e), Bp = (e) => E("Password", e), Hp = (e) => E("Percentage", e), zp = (e) => E("Phone", e), Wp = (e) => E("ProgressBar", e), Gp = (e) => E("ProgressSteps", e), Xp = (e) => E("Radio", e), Kp = (e) => E("RangeSlider", e), Yp = (e) => E("ReportLoader", e), Jp = (e) => E("ReportShareLoader", e), Qp = (e) => E("ReportViewerLoader", e), Zp = (e) => E("ResizableBoard", e), ec = (e) => E("Responsive", e), tc = (e) => E("SegmentedControl", e), rc = (e) => E("Select", e), ic = (e) => E("SelectableGroup", e), oc = (e) => E("SelectableMenu", e), nc = (e) => E("SettingsLoader", e), ac = (e) => E("ShowMore", e), sc = (e) => E("Signature", e), pc = (e) => E("Sin", e), cc = (e) => E("Skeleton", e), lc = (e) => E("Slider", e), dc = (e) => E("SnackBar", e), uc = (e) => E("Spinner", e), yc = (e) => E("SplitButton", e), hc = (e) => E("SplitPane", e), mc = (e) => E("Ssn", e), fc = (e) => E("Status", e), gc = (e) => E("Stepper", e), bc = (e) => E("SupportButton", e), vc = (e) => E("Survey", e), Sc = (e) => E("Switch", e), wc = (e) => E("Tab", e), Oc = (e) => E("TableBasic", e), Ic = (e) => E("Text", e), Cc = (e) => E("Textarea", e), Tc = (e) => E("TextAutoSuggest", e), Dc = (e) => E("TextClip", e), Ec = (e) => E("TextInput", e), Pc = (e) => E("TextSnippet", e), _c = (e) => E("Time", e), Rc = (e) => E("TimeRange", e), Ac = (e) => E("Timezone", e), Nc = (e) => E("Tip", e), xc = (e) => E("TitleCaption", e), kc = (e) => E("ToggleableArrow", e), Lc = (e) => E("Tree", e), Mc = (e) => E("TreeSelect", e), $c = (e) => E("Video", e), jc = (e) => E("VStack", e), qc = (e) => E("WorkEmail", e), Fc = (e, t) => _e("navigate", e, t), Uc = (e, t) => _e("pushState", e, t), Vc = (e, t) => _e("removeState", e, t), Bc = (e, t) => _e("setState", e, t), Hc = (e, t) => _e("showNotification", e, t), zc = (e, t) => _e("triggerFunction", e, t);
4
+ const Ia = (e) => P("ActionCard", e), Ca = (e) => P("AiIcon", e), Ta = (e) => P("Alert", e), Da = (e) => P("Animation", e), Pa = (e) => P("ApiError", e), Ea = (e) => P("AppGroupLoader", e), _a = (e) => P("AppGroupSelect", e), Ra = (e) => P("AppNavBar", e), Aa = (e) => P("AtomsSeparator", e), Na = (e) => P("Avatar", e), xa = (e) => P("AvatarList", e), ka = (e) => P("Badge", e), La = (e) => P("Box", e), Ma = (e) => P("BrandBadge", e), $a = (e) => P("Breadcrumb", e), ja = (e) => P("Button", e), qa = (e) => P("ButtonGroup", e), Fa = (e) => P("Calendar", e), Ua = (e) => P("Card", e), Va = (e) => P("CardGroup", e), Ba = (e) => P("Carousel", e), Ha = (e) => P("ChartLoader", e), za = (e) => P("Checkbox", e), Wa = (e) => P("CheckboxGroup", e), Ga = (e) => P("CheckList", e), Xa = (e) => P("Chip", e), Ka = (e) => P("ChipGroup", e), Ya = (e) => P("Circle", e), Ja = (e) => P("ColorPicker", e), Qa = (e) => P("ContentLoader", e), Za = (e) => P("CountDown", e), es = (e) => P("Country", e), ts = (e) => P("Currency", e), rs = (e) => P("Date", e), is = (e) => P("DateInlineMulti", e), os = (e) => P("DateRange", e), ns = (e) => P("DaySelector", e), as = (e) => P("DistributionBar", e), ss = (e) => P("Divider", e), ps = (e) => P("DraggableList", e), cs = (e) => P("Drawer", e), ls = (e) => P("Dropdown", e), ds = (e) => P("Email", e), us = (e) => P("EmojiPicker", e), ys = (e) => P("ExpansionPanel", e), hs = (e) => P("ExpansionPanelGroup", e), ms = (e) => P("Field", e), fs = (e) => P("File", e), gs = (e) => P("FileDrop", e), bs = (e) => P("FloatingButton", e), vs = (e) => P("Form", e), Ss = (e) => P("FormCheckbox", e), ws = (e) => P("FormCheckboxGroup", e), Os = (e) => P("FormContent", e), Is = (e) => P("FormCurrency", e), Cs = (e) => P("FormDate", e), Ts = (e) => P("FormDateRange", e), Ds = (e) => P("FormDaySelector", e), Ps = (e) => P("FormEmail", e), Es = (e) => P("FormFile", e), _s = (e) => P("FormFileDrop", e), Rs = (e) => P("FormGroup", e), As = (e) => P("FormGroupHeader", e), Ns = (e) => P("FormHidden", e), xs = (e) => P("FormInlineGroup", e), ks = (e) => P("FormInputGroup", e), Ls = (e) => P("FormMasker", e), Ms = (e) => P("FormNumber", e), $s = (e) => P("FormPassword", e), js = (e) => P("FormPercentage", e), qs = (e) => P("FormPhone", e), Fs = (e) => P("FormRadio", e), Us = (e) => P("FormSegmentedControl", e), Vs = (e) => P("FormSelect", e), Bs = (e) => P("FormSelectableGroup", e), Hs = (e) => P("FormSignature", e), zs = (e) => P("FormSin", e), Ws = (e) => P("FormSlider", e), Gs = (e) => P("FormSsn", e), Xs = (e) => P("FormSurvey", e), Ks = (e) => P("FormSwitch", e), Ys = (e) => P("FormText", e), Js = (e) => P("FormTextarea", e), Qs = (e) => P("FormTextAutoSuggest", e), Zs = (e) => P("FormTime", e), ep = (e) => P("FormTimezone", e), tp = (e) => P("FormTree", e), rp = (e) => P("FormTreeSelect", e), ip = (e) => P("FormWorkEmail", e), op = (e) => P("Grid", e), np = (e) => P("Heading", e), ap = (e) => P("Hidden", e), sp = (e) => P("HStack", e), pp = (e) => P("Icon", e), cp = (e) => P("IconButton", e), lp = (e) => P("Image", e), dp = (e) => P("ImageViewer", e), up = (e) => P("InputGroup", e), yp = (e) => P("ItemNavigator", e), hp = (e) => P("Label", e), mp = (e) => P("LabelGroup", e), fp = (e) => P("Layout", e), gp = (e) => P("LayoutCard", e), bp = (e) => P("Link", e), vp = (e) => P("ListItem", e), Sp = (e) => P("LoaderCard", e), wp = (e) => P("LocationCard", e), Op = (e) => P("LottiePlayer", e), Ip = (e) => P("Masker", e), Cp = (e) => P("MenuList", e), Tp = (e) => P("Modal", e), Dp = (e) => P("ModalCloseButton", e), Pp = (e) => P("ModalFooter", e), Ep = (e) => P("NestedList", e), _p = (e) => P("Number", e), Rp = (e) => P("ObjectListView", e), Ap = (e) => P("ObjectUI", e), Np = (e) => P("ObjectUIContent", e), xp = (e) => P("ObjectUIHeader", e), kp = (e) => P("ObjectUIStats", e), Lp = (e) => P("ObjectUITemplate", e), Mp = (e) => P("PageAppLogo", e), $p = (e) => P("PageContent", e), jp = (e) => P("PageFooter", e), qp = (e) => P("PageHeader", e), Fp = (e) => P("Paginate", e), Up = (e) => P("PaginateList", e), Vp = (e) => P("Pane", e), Bp = (e) => P("Password", e), Hp = (e) => P("Percentage", e), zp = (e) => P("Phone", e), Wp = (e) => P("ProgressBar", e), Gp = (e) => P("ProgressSteps", e), Xp = (e) => P("Radio", e), Kp = (e) => P("RangeSlider", e), Yp = (e) => P("ReportLoader", e), Jp = (e) => P("ReportShareLoader", e), Qp = (e) => P("ReportViewerLoader", e), Zp = (e) => P("ResizableBoard", e), ec = (e) => P("Responsive", e), tc = (e) => P("SegmentedControl", e), rc = (e) => P("Select", e), ic = (e) => P("SelectableGroup", e), oc = (e) => P("SelectableMenu", e), nc = (e) => P("SettingsLoader", e), ac = (e) => P("ShowMore", e), sc = (e) => P("Signature", e), pc = (e) => P("Sin", e), cc = (e) => P("Skeleton", e), lc = (e) => P("Slider", e), dc = (e) => P("SnackBar", e), uc = (e) => P("Spinner", e), yc = (e) => P("SplitButton", e), hc = (e) => P("SplitPane", e), mc = (e) => P("Ssn", e), fc = (e) => P("Status", e), gc = (e) => P("Stepper", e), bc = (e) => P("SupportButton", e), vc = (e) => P("Survey", e), Sc = (e) => P("Switch", e), wc = (e) => P("Tab", e), Oc = (e) => P("TableBasic", e), Ic = (e) => P("Text", e), Cc = (e) => P("Textarea", e), Tc = (e) => P("TextAutoSuggest", e), Dc = (e) => P("TextClip", e), Pc = (e) => P("TextInput", e), Ec = (e) => P("TextSnippet", e), _c = (e) => P("Time", e), Rc = (e) => P("TimeRange", e), Ac = (e) => P("Timezone", e), Nc = (e) => P("Tip", e), xc = (e) => P("TitleCaption", e), kc = (e) => P("ToggleableArrow", e), Lc = (e) => P("Tree", e), Mc = (e) => P("TreeSelect", e), $c = (e) => P("Video", e), jc = (e) => P("VStack", e), qc = (e) => P("WorkEmail", e), Fc = (e, t) => _e("navigate", e, t), Uc = (e, t) => _e("pushState", e, t), Vc = (e, t) => _e("removeState", e, t), Bc = (e, t) => _e("setState", e, t), Hc = (e, t) => _e("showNotification", e, t), zc = (e, t) => _e("triggerFunction", e, t);
5
5
  var Le = { exports: {} }, Ut = {}, me = {}, Se = {}, Vt = {}, Bt = {}, Ht = {}, or;
6
6
  function At() {
7
7
  return or || (or = 1, (function(e) {
@@ -1785,172 +1785,172 @@ function Lt() {
1785
1785
  if (Or) return me;
1786
1786
  Or = 1, Object.defineProperty(me, "__esModule", { value: !0 }), me.getData = me.KeywordCxt = me.validateFunctionCode = void 0;
1787
1787
  const e = /* @__PURE__ */ Vi(), t = /* @__PURE__ */ Nt(), b = /* @__PURE__ */ Ni(), l = /* @__PURE__ */ Nt(), v = /* @__PURE__ */ Bi(), i = /* @__PURE__ */ Hi(), s = /* @__PURE__ */ zi(), a = /* @__PURE__ */ W(), d = /* @__PURE__ */ ye(), g = /* @__PURE__ */ kt(), y = /* @__PURE__ */ K(), C = /* @__PURE__ */ xt();
1788
- function I(P) {
1789
- if (r(P) && (c(P), O(P))) {
1790
- u(P);
1788
+ function I(E) {
1789
+ if (r(E) && (c(E), O(E))) {
1790
+ u(E);
1791
1791
  return;
1792
1792
  }
1793
- w(P, () => (0, e.topBoolOrEmptySchema)(P));
1793
+ w(E, () => (0, e.topBoolOrEmptySchema)(E));
1794
1794
  }
1795
1795
  me.validateFunctionCode = I;
1796
- function w({ gen: P, validateName: A, schema: M, schemaEnv: F, opts: B }, X) {
1797
- B.code.es5 ? P.func(A, (0, a._)`${d.default.data}, ${d.default.valCxt}`, F.$async, () => {
1798
- P.code((0, a._)`"use strict"; ${n(M, B)}`), T(P, B), P.code(X);
1799
- }) : P.func(A, (0, a._)`${d.default.data}, ${D(B)}`, F.$async, () => P.code(n(M, B)).code(X));
1796
+ function w({ gen: E, validateName: A, schema: M, schemaEnv: F, opts: B }, X) {
1797
+ B.code.es5 ? E.func(A, (0, a._)`${d.default.data}, ${d.default.valCxt}`, F.$async, () => {
1798
+ E.code((0, a._)`"use strict"; ${n(M, B)}`), T(E, B), E.code(X);
1799
+ }) : E.func(A, (0, a._)`${d.default.data}, ${D(B)}`, F.$async, () => E.code(n(M, B)).code(X));
1800
1800
  }
1801
- function D(P) {
1802
- return (0, a._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${P.dynamicRef ? (0, a._)`, ${d.default.dynamicAnchors}={}` : a.nil}}={}`;
1801
+ function D(E) {
1802
+ return (0, a._)`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${E.dynamicRef ? (0, a._)`, ${d.default.dynamicAnchors}={}` : a.nil}}={}`;
1803
1803
  }
1804
- function T(P, A) {
1805
- P.if(d.default.valCxt, () => {
1806
- P.var(d.default.instancePath, (0, a._)`${d.default.valCxt}.${d.default.instancePath}`), P.var(d.default.parentData, (0, a._)`${d.default.valCxt}.${d.default.parentData}`), P.var(d.default.parentDataProperty, (0, a._)`${d.default.valCxt}.${d.default.parentDataProperty}`), P.var(d.default.rootData, (0, a._)`${d.default.valCxt}.${d.default.rootData}`), A.dynamicRef && P.var(d.default.dynamicAnchors, (0, a._)`${d.default.valCxt}.${d.default.dynamicAnchors}`);
1804
+ function T(E, A) {
1805
+ E.if(d.default.valCxt, () => {
1806
+ E.var(d.default.instancePath, (0, a._)`${d.default.valCxt}.${d.default.instancePath}`), E.var(d.default.parentData, (0, a._)`${d.default.valCxt}.${d.default.parentData}`), E.var(d.default.parentDataProperty, (0, a._)`${d.default.valCxt}.${d.default.parentDataProperty}`), E.var(d.default.rootData, (0, a._)`${d.default.valCxt}.${d.default.rootData}`), A.dynamicRef && E.var(d.default.dynamicAnchors, (0, a._)`${d.default.valCxt}.${d.default.dynamicAnchors}`);
1807
1807
  }, () => {
1808
- P.var(d.default.instancePath, (0, a._)`""`), P.var(d.default.parentData, (0, a._)`undefined`), P.var(d.default.parentDataProperty, (0, a._)`undefined`), P.var(d.default.rootData, d.default.data), A.dynamicRef && P.var(d.default.dynamicAnchors, (0, a._)`{}`);
1808
+ E.var(d.default.instancePath, (0, a._)`""`), E.var(d.default.parentData, (0, a._)`undefined`), E.var(d.default.parentDataProperty, (0, a._)`undefined`), E.var(d.default.rootData, d.default.data), A.dynamicRef && E.var(d.default.dynamicAnchors, (0, a._)`{}`);
1809
1809
  });
1810
1810
  }
1811
- function u(P) {
1812
- const { schema: A, opts: M, gen: F } = P;
1813
- w(P, () => {
1814
- M.$comment && A.$comment && U(P), k(P), F.let(d.default.vErrors, null), F.let(d.default.errors, 0), M.unevaluated && h(P), m(P), z(P);
1811
+ function u(E) {
1812
+ const { schema: A, opts: M, gen: F } = E;
1813
+ w(E, () => {
1814
+ M.$comment && A.$comment && U(E), k(E), F.let(d.default.vErrors, null), F.let(d.default.errors, 0), M.unevaluated && h(E), m(E), z(E);
1815
1815
  });
1816
1816
  }
1817
- function h(P) {
1818
- const { gen: A, validateName: M } = P;
1819
- P.evaluated = A.const("evaluated", (0, a._)`${M}.evaluated`), A.if((0, a._)`${P.evaluated}.dynamicProps`, () => A.assign((0, a._)`${P.evaluated}.props`, (0, a._)`undefined`)), A.if((0, a._)`${P.evaluated}.dynamicItems`, () => A.assign((0, a._)`${P.evaluated}.items`, (0, a._)`undefined`));
1817
+ function h(E) {
1818
+ const { gen: A, validateName: M } = E;
1819
+ E.evaluated = A.const("evaluated", (0, a._)`${M}.evaluated`), A.if((0, a._)`${E.evaluated}.dynamicProps`, () => A.assign((0, a._)`${E.evaluated}.props`, (0, a._)`undefined`)), A.if((0, a._)`${E.evaluated}.dynamicItems`, () => A.assign((0, a._)`${E.evaluated}.items`, (0, a._)`undefined`));
1820
1820
  }
1821
- function n(P, A) {
1822
- const M = typeof P == "object" && P[A.schemaId];
1821
+ function n(E, A) {
1822
+ const M = typeof E == "object" && E[A.schemaId];
1823
1823
  return M && (A.code.source || A.code.process) ? (0, a._)`/*# sourceURL=${M} */` : a.nil;
1824
1824
  }
1825
- function f(P, A) {
1826
- if (r(P) && (c(P), O(P))) {
1827
- o(P, A);
1825
+ function f(E, A) {
1826
+ if (r(E) && (c(E), O(E))) {
1827
+ o(E, A);
1828
1828
  return;
1829
1829
  }
1830
- (0, e.boolOrEmptySchema)(P, A);
1830
+ (0, e.boolOrEmptySchema)(E, A);
1831
1831
  }
1832
- function O({ schema: P, self: A }) {
1833
- if (typeof P == "boolean")
1834
- return !P;
1835
- for (const M in P)
1832
+ function O({ schema: E, self: A }) {
1833
+ if (typeof E == "boolean")
1834
+ return !E;
1835
+ for (const M in E)
1836
1836
  if (A.RULES.all[M])
1837
1837
  return !0;
1838
1838
  return !1;
1839
1839
  }
1840
- function r(P) {
1841
- return typeof P.schema != "boolean";
1840
+ function r(E) {
1841
+ return typeof E.schema != "boolean";
1842
1842
  }
1843
- function o(P, A) {
1844
- const { schema: M, gen: F, opts: B } = P;
1845
- B.$comment && M.$comment && U(P), N(P), j(P);
1843
+ function o(E, A) {
1844
+ const { schema: M, gen: F, opts: B } = E;
1845
+ B.$comment && M.$comment && U(E), N(E), j(E);
1846
1846
  const X = F.const("_errs", d.default.errors);
1847
- m(P, X), F.var(A, (0, a._)`${X} === ${d.default.errors}`);
1847
+ m(E, X), F.var(A, (0, a._)`${X} === ${d.default.errors}`);
1848
1848
  }
1849
- function c(P) {
1850
- (0, y.checkUnknownRules)(P), _(P);
1849
+ function c(E) {
1850
+ (0, y.checkUnknownRules)(E), _(E);
1851
1851
  }
1852
- function m(P, A) {
1853
- if (P.opts.jtd)
1854
- return te(P, [], !1, A);
1855
- const M = (0, t.getSchemaTypes)(P.schema), F = (0, t.coerceAndCheckDataType)(P, M);
1856
- te(P, M, !F, A);
1852
+ function m(E, A) {
1853
+ if (E.opts.jtd)
1854
+ return te(E, [], !1, A);
1855
+ const M = (0, t.getSchemaTypes)(E.schema), F = (0, t.coerceAndCheckDataType)(E, M);
1856
+ te(E, M, !F, A);
1857
1857
  }
1858
- function _(P) {
1859
- const { schema: A, errSchemaPath: M, opts: F, self: B } = P;
1858
+ function _(E) {
1859
+ const { schema: A, errSchemaPath: M, opts: F, self: B } = E;
1860
1860
  A.$ref && F.ignoreKeywordsWithRef && (0, y.schemaHasRulesButRef)(A, B.RULES) && B.logger.warn(`$ref: keywords ignored in schema at path "${M}"`);
1861
1861
  }
1862
- function k(P) {
1863
- const { schema: A, opts: M } = P;
1864
- A.default !== void 0 && M.useDefaults && M.strictSchema && (0, y.checkStrictMode)(P, "default is ignored in the schema root");
1862
+ function k(E) {
1863
+ const { schema: A, opts: M } = E;
1864
+ A.default !== void 0 && M.useDefaults && M.strictSchema && (0, y.checkStrictMode)(E, "default is ignored in the schema root");
1865
1865
  }
1866
- function N(P) {
1867
- const A = P.schema[P.opts.schemaId];
1868
- A && (P.baseId = (0, g.resolveUrl)(P.opts.uriResolver, P.baseId, A));
1866
+ function N(E) {
1867
+ const A = E.schema[E.opts.schemaId];
1868
+ A && (E.baseId = (0, g.resolveUrl)(E.opts.uriResolver, E.baseId, A));
1869
1869
  }
1870
- function j(P) {
1871
- if (P.schema.$async && !P.schemaEnv.$async)
1870
+ function j(E) {
1871
+ if (E.schema.$async && !E.schemaEnv.$async)
1872
1872
  throw new Error("async schema in sync schema");
1873
1873
  }
1874
- function U({ gen: P, schemaEnv: A, schema: M, errSchemaPath: F, opts: B }) {
1874
+ function U({ gen: E, schemaEnv: A, schema: M, errSchemaPath: F, opts: B }) {
1875
1875
  const X = M.$comment;
1876
1876
  if (B.$comment === !0)
1877
- P.code((0, a._)`${d.default.self}.logger.log(${X})`);
1877
+ E.code((0, a._)`${d.default.self}.logger.log(${X})`);
1878
1878
  else if (typeof B.$comment == "function") {
1879
- const re = (0, a.str)`${F}/$comment`, de = P.scopeValue("root", { ref: A.root });
1880
- P.code((0, a._)`${d.default.self}.opts.$comment(${X}, ${re}, ${de}.schema)`);
1879
+ const re = (0, a.str)`${F}/$comment`, de = E.scopeValue("root", { ref: A.root });
1880
+ E.code((0, a._)`${d.default.self}.opts.$comment(${X}, ${re}, ${de}.schema)`);
1881
1881
  }
1882
1882
  }
1883
- function z(P) {
1884
- const { gen: A, schemaEnv: M, validateName: F, ValidationError: B, opts: X } = P;
1885
- M.$async ? A.if((0, a._)`${d.default.errors} === 0`, () => A.return(d.default.data), () => A.throw((0, a._)`new ${B}(${d.default.vErrors})`)) : (A.assign((0, a._)`${F}.errors`, d.default.vErrors), X.unevaluated && Q(P), A.return((0, a._)`${d.default.errors} === 0`));
1883
+ function z(E) {
1884
+ const { gen: A, schemaEnv: M, validateName: F, ValidationError: B, opts: X } = E;
1885
+ M.$async ? A.if((0, a._)`${d.default.errors} === 0`, () => A.return(d.default.data), () => A.throw((0, a._)`new ${B}(${d.default.vErrors})`)) : (A.assign((0, a._)`${F}.errors`, d.default.vErrors), X.unevaluated && Q(E), A.return((0, a._)`${d.default.errors} === 0`));
1886
1886
  }
1887
- function Q({ gen: P, evaluated: A, props: M, items: F }) {
1888
- M instanceof a.Name && P.assign((0, a._)`${A}.props`, M), F instanceof a.Name && P.assign((0, a._)`${A}.items`, F);
1887
+ function Q({ gen: E, evaluated: A, props: M, items: F }) {
1888
+ M instanceof a.Name && E.assign((0, a._)`${A}.props`, M), F instanceof a.Name && E.assign((0, a._)`${A}.items`, F);
1889
1889
  }
1890
- function te(P, A, M, F) {
1891
- const { gen: B, schema: X, data: re, allErrors: de, opts: ae, self: se } = P, { RULES: ie } = se;
1890
+ function te(E, A, M, F) {
1891
+ const { gen: B, schema: X, data: re, allErrors: de, opts: ae, self: se } = E, { RULES: ie } = se;
1892
1892
  if (X.$ref && (ae.ignoreKeywordsWithRef || !(0, y.schemaHasRulesButRef)(X, ie))) {
1893
- B.block(() => V(P, "$ref", ie.all.$ref.definition));
1893
+ B.block(() => V(E, "$ref", ie.all.$ref.definition));
1894
1894
  return;
1895
1895
  }
1896
- ae.jtd || Z(P, A), B.block(() => {
1896
+ ae.jtd || Z(E, A), B.block(() => {
1897
1897
  for (const le of ie.rules)
1898
1898
  Ie(le);
1899
1899
  Ie(ie.post);
1900
1900
  });
1901
1901
  function Ie(le) {
1902
- (0, b.shouldUseGroup)(X, le) && (le.type ? (B.if((0, l.checkDataType)(le.type, re, ae.strictNumbers)), ce(P, le), A.length === 1 && A[0] === le.type && M && (B.else(), (0, l.reportTypeError)(P)), B.endIf()) : ce(P, le), de || B.if((0, a._)`${d.default.errors} === ${F || 0}`));
1902
+ (0, b.shouldUseGroup)(X, le) && (le.type ? (B.if((0, l.checkDataType)(le.type, re, ae.strictNumbers)), ce(E, le), A.length === 1 && A[0] === le.type && M && (B.else(), (0, l.reportTypeError)(E)), B.endIf()) : ce(E, le), de || B.if((0, a._)`${d.default.errors} === ${F || 0}`));
1903
1903
  }
1904
1904
  }
1905
- function ce(P, A) {
1906
- const { gen: M, schema: F, opts: { useDefaults: B } } = P;
1907
- B && (0, v.assignDefaults)(P, A.type), M.block(() => {
1905
+ function ce(E, A) {
1906
+ const { gen: M, schema: F, opts: { useDefaults: B } } = E;
1907
+ B && (0, v.assignDefaults)(E, A.type), M.block(() => {
1908
1908
  for (const X of A.rules)
1909
- (0, b.shouldUseRule)(F, X) && V(P, X.keyword, X.definition, A.type);
1909
+ (0, b.shouldUseRule)(F, X) && V(E, X.keyword, X.definition, A.type);
1910
1910
  });
1911
1911
  }
1912
- function Z(P, A) {
1913
- P.schemaEnv.meta || !P.opts.strictTypes || (be(P, A), P.opts.allowUnionTypes || q(P, A), R(P, P.dataTypes));
1912
+ function Z(E, A) {
1913
+ E.schemaEnv.meta || !E.opts.strictTypes || (be(E, A), E.opts.allowUnionTypes || q(E, A), R(E, E.dataTypes));
1914
1914
  }
1915
- function be(P, A) {
1915
+ function be(E, A) {
1916
1916
  if (A.length) {
1917
- if (!P.dataTypes.length) {
1918
- P.dataTypes = A;
1917
+ if (!E.dataTypes.length) {
1918
+ E.dataTypes = A;
1919
1919
  return;
1920
1920
  }
1921
1921
  A.forEach((M) => {
1922
- x(P.dataTypes, M) || S(P, `type "${M}" not allowed by context "${P.dataTypes.join(",")}"`);
1923
- }), p(P, A);
1922
+ x(E.dataTypes, M) || S(E, `type "${M}" not allowed by context "${E.dataTypes.join(",")}"`);
1923
+ }), p(E, A);
1924
1924
  }
1925
1925
  }
1926
- function q(P, A) {
1927
- A.length > 1 && !(A.length === 2 && A.includes("null")) && S(P, "use allowUnionTypes to allow union type keyword");
1926
+ function q(E, A) {
1927
+ A.length > 1 && !(A.length === 2 && A.includes("null")) && S(E, "use allowUnionTypes to allow union type keyword");
1928
1928
  }
1929
- function R(P, A) {
1930
- const M = P.self.RULES.all;
1929
+ function R(E, A) {
1930
+ const M = E.self.RULES.all;
1931
1931
  for (const F in M) {
1932
1932
  const B = M[F];
1933
- if (typeof B == "object" && (0, b.shouldUseRule)(P.schema, B)) {
1933
+ if (typeof B == "object" && (0, b.shouldUseRule)(E.schema, B)) {
1934
1934
  const { type: X } = B.definition;
1935
- X.length && !X.some((re) => $(A, re)) && S(P, `missing type "${X.join(",")}" for keyword "${F}"`);
1935
+ X.length && !X.some((re) => $(A, re)) && S(E, `missing type "${X.join(",")}" for keyword "${F}"`);
1936
1936
  }
1937
1937
  }
1938
1938
  }
1939
- function $(P, A) {
1940
- return P.includes(A) || A === "number" && P.includes("integer");
1939
+ function $(E, A) {
1940
+ return E.includes(A) || A === "number" && E.includes("integer");
1941
1941
  }
1942
- function x(P, A) {
1943
- return P.includes(A) || A === "integer" && P.includes("number");
1942
+ function x(E, A) {
1943
+ return E.includes(A) || A === "integer" && E.includes("number");
1944
1944
  }
1945
- function p(P, A) {
1945
+ function p(E, A) {
1946
1946
  const M = [];
1947
- for (const F of P.dataTypes)
1947
+ for (const F of E.dataTypes)
1948
1948
  x(A, F) ? M.push(F) : A.includes("integer") && F === "number" && M.push("integer");
1949
- P.dataTypes = M;
1949
+ E.dataTypes = M;
1950
1950
  }
1951
- function S(P, A) {
1952
- const M = P.schemaEnv.baseId + P.errSchemaPath;
1953
- A += ` at "${M}" (strictTypes)`, (0, y.checkStrictMode)(P, A, P.opts.strictTypes);
1951
+ function S(E, A) {
1952
+ const M = E.schemaEnv.baseId + E.errSchemaPath;
1953
+ A += ` at "${M}" (strictTypes)`, (0, y.checkStrictMode)(E, A, E.opts.strictTypes);
1954
1954
  }
1955
1955
  class L {
1956
1956
  constructor(A, M, F) {
@@ -2054,23 +2054,23 @@ function Lt() {
2054
2054
  }
2055
2055
  }
2056
2056
  me.KeywordCxt = L;
2057
- function V(P, A, M, F) {
2058
- const B = new L(P, M, A);
2057
+ function V(E, A, M, F) {
2058
+ const B = new L(E, M, A);
2059
2059
  "code" in M ? M.code(B, F) : B.$data && M.validate ? (0, i.funcKeywordCode)(B, M) : "macro" in M ? (0, i.macroKeywordCode)(B, M) : (M.compile || M.validate) && (0, i.funcKeywordCode)(B, M);
2060
2060
  }
2061
2061
  const H = /^\/(?:[^~]|~0|~1)*$/, J = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
2062
- function Y(P, { dataLevel: A, dataNames: M, dataPathArr: F }) {
2062
+ function Y(E, { dataLevel: A, dataNames: M, dataPathArr: F }) {
2063
2063
  let B, X;
2064
- if (P === "")
2064
+ if (E === "")
2065
2065
  return d.default.rootData;
2066
- if (P[0] === "/") {
2067
- if (!H.test(P))
2068
- throw new Error(`Invalid JSON-pointer: ${P}`);
2069
- B = P, X = d.default.rootData;
2066
+ if (E[0] === "/") {
2067
+ if (!H.test(E))
2068
+ throw new Error(`Invalid JSON-pointer: ${E}`);
2069
+ B = E, X = d.default.rootData;
2070
2070
  } else {
2071
- const se = J.exec(P);
2071
+ const se = J.exec(E);
2072
2072
  if (!se)
2073
- throw new Error(`Invalid JSON-pointer: ${P}`);
2073
+ throw new Error(`Invalid JSON-pointer: ${E}`);
2074
2074
  const ie = +se[1];
2075
2075
  if (B = se[2], B === "#") {
2076
2076
  if (ie >= A)
@@ -2497,10 +2497,10 @@ function ki() {
2497
2497
  stringArrayToHexStripped: i
2498
2498
  }, Xt;
2499
2499
  }
2500
- var Kt, Er;
2500
+ var Kt, Pr;
2501
2501
  function eo() {
2502
- if (Er) return Kt;
2503
- Er = 1;
2502
+ if (Pr) return Kt;
2503
+ Pr = 1;
2504
2504
  const { isUUID: e } = ki(), t = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu, b = (
2505
2505
  /** @type {const} */
2506
2506
  [
@@ -2643,10 +2643,10 @@ function eo() {
2643
2643
  getSchemeHandler: O
2644
2644
  }, Kt;
2645
2645
  }
2646
- var Pr;
2646
+ var Er;
2647
2647
  function to() {
2648
- if (Pr) return Ne.exports;
2649
- Pr = 1;
2648
+ if (Er) return Ne.exports;
2649
+ Er = 1;
2650
2650
  const { normalizeIPv6: e, removeDotSegments: t, recomposeAuthority: b, normalizePercentEncoding: l, normalizePathEncoding: v, escapePreservingEscapes: i, reescapeHostDelimiters: s, isIPv4: a, nonSimpleDomain: d } = ki(), { SCHEMES: g, getSchemeHandler: y } = eo();
2651
2651
  function C(m, _) {
2652
2652
  return typeof m == "string" ? m = /** @type {T} */
@@ -2837,13 +2837,13 @@ function io() {
2837
2837
  unicode: '"minLength"/"maxLength" account for unicode characters by default.'
2838
2838
  }, n = 200;
2839
2839
  function f(q) {
2840
- var R, $, x, p, S, L, V, H, J, Y, P, A, M, F, B, X, re, de, ae, se, ie, Ie, le, jt, qt;
2840
+ var R, $, x, p, S, L, V, H, J, Y, E, A, M, F, B, X, re, de, ae, se, ie, Ie, le, jt, qt;
2841
2841
  const Re = q.strict, Ft = (R = q.code) === null || R === void 0 ? void 0 : R.optimize, rr = Ft === !0 || Ft === void 0 ? 1 : Ft || 0, ir = (x = ($ = q.code) === null || $ === void 0 ? void 0 : $.regExp) !== null && x !== void 0 ? x : w, Fi = (p = q.uriResolver) !== null && p !== void 0 ? p : I.default;
2842
2842
  return {
2843
2843
  strictSchema: (L = (S = q.strictSchema) !== null && S !== void 0 ? S : Re) !== null && L !== void 0 ? L : !0,
2844
2844
  strictNumbers: (H = (V = q.strictNumbers) !== null && V !== void 0 ? V : Re) !== null && H !== void 0 ? H : !0,
2845
2845
  strictTypes: (Y = (J = q.strictTypes) !== null && J !== void 0 ? J : Re) !== null && Y !== void 0 ? Y : "log",
2846
- strictTuples: (A = (P = q.strictTuples) !== null && P !== void 0 ? P : Re) !== null && A !== void 0 ? A : "log",
2846
+ strictTuples: (A = (E = q.strictTuples) !== null && E !== void 0 ? E : Re) !== null && A !== void 0 ? A : "log",
2847
2847
  strictRequired: (F = (M = q.strictRequired) !== null && M !== void 0 ? M : Re) !== null && F !== void 0 ? F : !1,
2848
2848
  code: q.code ? { ...q.code, optimize: rr, regExp: ir } : { optimize: rr, regExp: ir },
2849
2849
  loopRequired: (B = q.loopRequired) !== null && B !== void 0 ? B : n,
@@ -2899,9 +2899,9 @@ function io() {
2899
2899
  throw new Error("options.loadSchema should be a function");
2900
2900
  const { loadSchema: x } = this.opts;
2901
2901
  return p.call(this, R, $);
2902
- async function p(Y, P) {
2902
+ async function p(Y, E) {
2903
2903
  await S.call(this, Y.$schema);
2904
- const A = this._addSchema(Y, P);
2904
+ const A = this._addSchema(Y, E);
2905
2905
  return A.validate || L.call(this, A);
2906
2906
  }
2907
2907
  async function S(Y) {
@@ -2910,24 +2910,24 @@ function io() {
2910
2910
  async function L(Y) {
2911
2911
  try {
2912
2912
  return this._compileSchemaEnv(Y);
2913
- } catch (P) {
2914
- if (!(P instanceof v.default))
2915
- throw P;
2916
- return V.call(this, P), await H.call(this, P.missingSchema), L.call(this, Y);
2913
+ } catch (E) {
2914
+ if (!(E instanceof v.default))
2915
+ throw E;
2916
+ return V.call(this, E), await H.call(this, E.missingSchema), L.call(this, Y);
2917
2917
  }
2918
2918
  }
2919
- function V({ missingSchema: Y, missingRef: P }) {
2919
+ function V({ missingSchema: Y, missingRef: E }) {
2920
2920
  if (this.refs[Y])
2921
- throw new Error(`AnySchema ${Y} is loaded but ${P} cannot be resolved`);
2921
+ throw new Error(`AnySchema ${Y} is loaded but ${E} cannot be resolved`);
2922
2922
  }
2923
2923
  async function H(Y) {
2924
- const P = await J.call(this, Y);
2925
- this.refs[Y] || await S.call(this, P.$schema), this.refs[Y] || this.addSchema(P, Y, $);
2924
+ const E = await J.call(this, Y);
2925
+ this.refs[Y] || await S.call(this, E.$schema), this.refs[Y] || this.addSchema(E, Y, $);
2926
2926
  }
2927
2927
  async function J(Y) {
2928
- const P = this._loading[Y];
2929
- if (P)
2930
- return P;
2928
+ const E = this._loading[Y];
2929
+ if (E)
2930
+ return E;
2931
2931
  try {
2932
2932
  return await (this._loading[Y] = x(Y));
2933
2933
  } finally {
@@ -4138,7 +4138,7 @@ function Do() {
4138
4138
  return dt.default = t, dt;
4139
4139
  }
4140
4140
  var ut = {}, ni;
4141
- function Eo() {
4141
+ function Po() {
4142
4142
  if (ni) return ut;
4143
4143
  ni = 1, Object.defineProperty(ut, "__esModule", { value: !0 });
4144
4144
  const e = /* @__PURE__ */ W(), t = /* @__PURE__ */ K(), l = {
@@ -4174,7 +4174,7 @@ function Eo() {
4174
4174
  return ut.default = l, ut;
4175
4175
  }
4176
4176
  var yt = {}, ai;
4177
- function Po() {
4177
+ function Eo() {
4178
4178
  if (ai) return yt;
4179
4179
  ai = 1, Object.defineProperty(yt, "__esModule", { value: !0 });
4180
4180
  const e = /* @__PURE__ */ K(), t = {
@@ -4259,7 +4259,7 @@ var ci;
4259
4259
  function Ao() {
4260
4260
  if (ci) return rt;
4261
4261
  ci = 1, Object.defineProperty(rt, "__esModule", { value: !0 });
4262
- const e = /* @__PURE__ */ Li(), t = /* @__PURE__ */ vo(), b = /* @__PURE__ */ Mi(), l = /* @__PURE__ */ So(), v = /* @__PURE__ */ wo(), i = /* @__PURE__ */ tr(), s = /* @__PURE__ */ Oo(), a = /* @__PURE__ */ $i(), d = /* @__PURE__ */ Io(), g = /* @__PURE__ */ Co(), y = /* @__PURE__ */ To(), C = /* @__PURE__ */ Do(), I = /* @__PURE__ */ Eo(), w = /* @__PURE__ */ Po(), D = /* @__PURE__ */ _o(), T = /* @__PURE__ */ Ro();
4262
+ const e = /* @__PURE__ */ Li(), t = /* @__PURE__ */ vo(), b = /* @__PURE__ */ Mi(), l = /* @__PURE__ */ So(), v = /* @__PURE__ */ wo(), i = /* @__PURE__ */ tr(), s = /* @__PURE__ */ Oo(), a = /* @__PURE__ */ $i(), d = /* @__PURE__ */ Io(), g = /* @__PURE__ */ Co(), y = /* @__PURE__ */ To(), C = /* @__PURE__ */ Do(), I = /* @__PURE__ */ Po(), w = /* @__PURE__ */ Eo(), D = /* @__PURE__ */ _o(), T = /* @__PURE__ */ Ro();
4263
4263
  function u(h = !1) {
4264
4264
  const n = [
4265
4265
  // any
@@ -4302,10 +4302,10 @@ function ji() {
4302
4302
  }
4303
4303
  return De.default = v, De;
4304
4304
  }
4305
- var Ee = {}, di;
4305
+ var Pe = {}, di;
4306
4306
  function qi() {
4307
- if (di) return Ee;
4308
- di = 1, Object.defineProperty(Ee, "__esModule", { value: !0 }), Ee.dynamicRef = void 0;
4307
+ if (di) return Pe;
4308
+ di = 1, Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.dynamicRef = void 0;
4309
4309
  const e = /* @__PURE__ */ W(), t = /* @__PURE__ */ ye(), b = /* @__PURE__ */ Zt(), l = {
4310
4310
  keyword: "$dynamicRef",
4311
4311
  schemaType: "string",
@@ -4335,7 +4335,7 @@ function qi() {
4335
4335
  }) : () => (0, b.callRef)(i, w);
4336
4336
  }
4337
4337
  }
4338
- return Ee.dynamicRef = v, Ee.default = l, Ee;
4338
+ return Pe.dynamicRef = v, Pe.default = l, Pe;
4339
4339
  }
4340
4340
  var gt = {}, ui;
4341
4341
  function No() {
@@ -4500,10 +4500,10 @@ function Uo() {
4500
4500
  const e = /* @__PURE__ */ qo(), t = /* @__PURE__ */ Fo(), b = [e.default, t.default];
4501
4501
  return It.default = b, It;
4502
4502
  }
4503
- var Dt = {}, Et = {}, Oi;
4503
+ var Dt = {}, Pt = {}, Oi;
4504
4504
  function Vo() {
4505
- if (Oi) return Et;
4506
- Oi = 1, Object.defineProperty(Et, "__esModule", { value: !0 });
4505
+ if (Oi) return Pt;
4506
+ Oi = 1, Object.defineProperty(Pt, "__esModule", { value: !0 });
4507
4507
  const e = /* @__PURE__ */ W(), b = {
4508
4508
  keyword: "format",
4509
4509
  type: ["number", "string"],
@@ -4567,7 +4567,7 @@ function Vo() {
4567
4567
  }
4568
4568
  }
4569
4569
  };
4570
- return Et.default = b, Et;
4570
+ return Pt.default = b, Pt;
4571
4571
  }
4572
4572
  var Ii;
4573
4573
  function Bo() {
@@ -4609,7 +4609,7 @@ function zo() {
4609
4609
  ];
4610
4610
  return Fe.default = d, Fe;
4611
4611
  }
4612
- var Pt = {}, xe = {}, Di;
4612
+ var Et = {}, xe = {}, Di;
4613
4613
  function Wo() {
4614
4614
  if (Di) return xe;
4615
4615
  Di = 1, Object.defineProperty(xe, "__esModule", { value: !0 }), xe.DiscrError = void 0;
@@ -4618,10 +4618,10 @@ function Wo() {
4618
4618
  t.Tag = "tag", t.Mapping = "mapping";
4619
4619
  })(e || (xe.DiscrError = e = {})), xe;
4620
4620
  }
4621
- var Ei;
4621
+ var Pi;
4622
4622
  function Go() {
4623
- if (Ei) return Pt;
4624
- Ei = 1, Object.defineProperty(Pt, "__esModule", { value: !0 });
4623
+ if (Pi) return Et;
4624
+ Pi = 1, Object.defineProperty(Et, "__esModule", { value: !0 });
4625
4625
  const e = /* @__PURE__ */ W(), t = /* @__PURE__ */ Wo(), b = /* @__PURE__ */ $t(), l = /* @__PURE__ */ Mt(), v = /* @__PURE__ */ K(), s = {
4626
4626
  keyword: "discriminator",
4627
4627
  type: "object",
@@ -4693,7 +4693,7 @@ function Go() {
4693
4693
  }
4694
4694
  }
4695
4695
  };
4696
- return Pt.default = s, Pt;
4696
+ return Et.default = s, Et;
4697
4697
  }
4698
4698
  var _t = {};
4699
4699
  const Xo = "https://json-schema.org/draft/2020-12/schema", Ko = "https://json-schema.org/draft/2020-12/schema", Yo = { "https://json-schema.org/draft/2020-12/vocab/core": !0, "https://json-schema.org/draft/2020-12/vocab/applicator": !0, "https://json-schema.org/draft/2020-12/vocab/unevaluated": !0, "https://json-schema.org/draft/2020-12/vocab/validation": !0, "https://json-schema.org/draft/2020-12/vocab/meta-data": !0, "https://json-schema.org/draft/2020-12/vocab/format-annotation": !0, "https://json-schema.org/draft/2020-12/vocab/content": !0 }, Jo = "meta", Qo = "Core and Validation specifications meta-schema", Zo = [{ $ref: "meta/core" }, { $ref: "meta/applicator" }, { $ref: "meta/unevaluated" }, { $ref: "meta/validation" }, { $ref: "meta/meta-data" }, { $ref: "meta/format-annotation" }, { $ref: "meta/content" }], en = ["object", "boolean"], tn = "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.", rn = { definitions: { $comment: '"definitions" has been replaced by "$defs".', type: "object", additionalProperties: { $dynamicRef: "#meta" }, deprecated: !0, default: {} }, dependencies: { $comment: '"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.', type: "object", additionalProperties: { anyOf: [{ $dynamicRef: "#meta" }, { $ref: "meta/validation#/$defs/stringArray" }] }, deprecated: !0, default: {} }, $recursiveAnchor: { $comment: '"$recursiveAnchor" has been replaced by "$dynamicAnchor".', $ref: "meta/core#/$defs/anchorString", deprecated: !0 }, $recursiveRef: { $comment: '"$recursiveRef" has been replaced by "$dynamicRef".', $ref: "meta/core#/$defs/uriReferenceString", deprecated: !0 } }, on = {
@@ -4723,14 +4723,14 @@ const Xo = "https://json-schema.org/draft/2020-12/schema", Ko = "https://json-sc
4723
4723
  title: bn,
4724
4724
  type: vn,
4725
4725
  properties: Sn
4726
- }, On = "https://json-schema.org/draft/2020-12/schema", In = "https://json-schema.org/draft/2020-12/meta/content", Cn = { "https://json-schema.org/draft/2020-12/vocab/content": !0 }, Tn = "meta", Dn = "Content vocabulary meta-schema", En = ["object", "boolean"], Pn = { contentEncoding: { type: "string" }, contentMediaType: { type: "string" }, contentSchema: { $dynamicRef: "#meta" } }, _n = {
4726
+ }, On = "https://json-schema.org/draft/2020-12/schema", In = "https://json-schema.org/draft/2020-12/meta/content", Cn = { "https://json-schema.org/draft/2020-12/vocab/content": !0 }, Tn = "meta", Dn = "Content vocabulary meta-schema", Pn = ["object", "boolean"], En = { contentEncoding: { type: "string" }, contentMediaType: { type: "string" }, contentSchema: { $dynamicRef: "#meta" } }, _n = {
4727
4727
  $schema: On,
4728
4728
  $id: In,
4729
4729
  $vocabulary: Cn,
4730
4730
  $dynamicAnchor: Tn,
4731
4731
  title: Dn,
4732
- type: En,
4733
- properties: Pn
4732
+ type: Pn,
4733
+ properties: En
4734
4734
  }, Rn = "https://json-schema.org/draft/2020-12/schema", An = "https://json-schema.org/draft/2020-12/meta/core", Nn = { "https://json-schema.org/draft/2020-12/vocab/core": !0 }, xn = "meta", kn = "Core vocabulary meta-schema", Ln = ["object", "boolean"], Mn = { $id: { $ref: "#/$defs/uriReferenceString", $comment: "Non-empty fragments not allowed.", pattern: "^[^#]*#?$" }, $schema: { $ref: "#/$defs/uriString" }, $ref: { $ref: "#/$defs/uriReferenceString" }, $anchor: { $ref: "#/$defs/anchorString" }, $dynamicRef: { $ref: "#/$defs/uriReferenceString" }, $dynamicAnchor: { $ref: "#/$defs/anchorString" }, $vocabulary: { type: "object", propertyNames: { $ref: "#/$defs/uriString" }, additionalProperties: { type: "boolean" } }, $comment: { type: "string" }, $defs: { type: "object", additionalProperties: { $dynamicRef: "#meta" } } }, $n = { anchorString: { type: "string", pattern: "^[A-Za-z_][-A-Za-z0-9._]*$" }, uriString: { type: "string", format: "uri" }, uriReferenceString: { type: "string", format: "uri-reference" } }, jn = {
4735
4735
  $schema: Rn,
4736
4736
  $id: An,
@@ -4766,10 +4766,10 @@ const Xo = "https://json-schema.org/draft/2020-12/schema", Ko = "https://json-sc
4766
4766
  properties: sa,
4767
4767
  $defs: pa
4768
4768
  };
4769
- var Pi;
4769
+ var Ei;
4770
4770
  function la() {
4771
- if (Pi) return _t;
4772
- Pi = 1, Object.defineProperty(_t, "__esModule", { value: !0 });
4771
+ if (Ei) return _t;
4772
+ Ei = 1, Object.defineProperty(_t, "__esModule", { value: !0 });
4773
4773
  const e = on, t = yn, b = wn, l = _n, v = jn, i = Wn, s = ea, a = ca, d = ["/properties"];
4774
4774
  function g(y) {
4775
4775
  return [
@@ -4844,7 +4844,7 @@ function da() {
4844
4844
  })(Le, Le.exports)), Le.exports;
4845
4845
  }
4846
4846
  var ua = /* @__PURE__ */ da();
4847
- const ya = "custom-apps", ha = "1.1.1", Pe = {
4847
+ const ya = "custom-apps", ha = "1.1.5", Ee = {
4848
4848
  ActionCard: {
4849
4849
  description: "Placeholder for states like empty, success, error, and loading, featuring animations, icons, text, and action buttons.",
4850
4850
  events: ["pressPrimary", "pressSecondary"],
@@ -9977,6 +9977,10 @@ const ya = "custom-apps", ha = "1.1.1", Pe = {
9977
9977
  description: "Earliest selectable date as ISO string",
9978
9978
  type: "string"
9979
9979
  },
9980
+ shouldDisplaySeconds: {
9981
+ description: "Display seconds in the time input when shouldShowTime is true",
9982
+ type: "boolean"
9983
+ },
9980
9984
  shouldFormatInTimezone: {
9981
9985
  description: "If true, values will transform according to global timezone. Defaults to true when shouldShowTime is true",
9982
9986
  type: "boolean"
@@ -10249,6 +10253,10 @@ const ya = "custom-apps", ha = "1.1.1", Pe = {
10249
10253
  description: "Earliest selectable date as ISO string",
10250
10254
  type: "string"
10251
10255
  },
10256
+ shouldDisplaySeconds: {
10257
+ description: "Display seconds in the time input when shouldShowTime is true",
10258
+ type: "boolean"
10259
+ },
10252
10260
  shouldFormatInTimezone: {
10253
10261
  description: "If true, values will transform according to global timezone. Defaults to true when shouldShowTime is true",
10254
10262
  type: "boolean"
@@ -24183,7 +24191,7 @@ const ya = "custom-apps", ha = "1.1.1", Pe = {
24183
24191
  type: "boolean"
24184
24192
  },
24185
24193
  layouts: {
24186
- description: "Layout descriptor for each block. Every entry's `identifier` must match the spec id of one of the board's direct children — that's how a block is wired to its widget content. Drag/resize will respect optional min/max bounds.",
24194
+ description: "Layout descriptor for each block. Every entry's `identifier` must match the spec id of one of the board's direct children — that's how a block is wired to its widget content. Optional `x`/`y` positions are respected; when omitted, the board auto-places blocks. Drag/resize will respect optional min/max bounds.",
24187
24195
  items: {
24188
24196
  additionalProperties: !1,
24189
24197
  properties: {
@@ -24247,6 +24255,14 @@ const ya = "custom-apps", ha = "1.1.1", Pe = {
24247
24255
  width: {
24248
24256
  description: "Width in grid units (1–12). Default: 3",
24249
24257
  type: "number"
24258
+ },
24259
+ x: {
24260
+ description: "Horizontal position in grid units. Auto-calculated when omitted.",
24261
+ type: "number"
24262
+ },
24263
+ y: {
24264
+ description: "Vertical position in grid units. Auto-calculated when omitted.",
24265
+ type: "number"
24250
24266
  }
24251
24267
  },
24252
24268
  required: ["identifier"],
@@ -30112,35 +30128,46 @@ const ya = "custom-apps", ha = "1.1.1", Pe = {
30112
30128
  }
30113
30129
  },
30114
30130
  triggerFunction: {
30115
- description: "Call a Rippling Function. Extra params are sent as event.parameters.",
30116
- docs: `responsePath (client-side): stores response body at that state path. Body must match the state shape (e.g. array, NOT wrapped in { data: [...] }).
30131
+ description: "Call a Rippling Function. params.inputs is sent as event.parameters. Legacy top-level action and extra params are still supported.",
30132
+ docs: `inputs: preferred format for function inputs. Must include action; extra keys are sent to the server as event.parameters.
30133
+ responsePath (client-side): stores response body at that state path. Body must match the state shape (e.g. array, NOT wrapped in { data: [...] }).
30117
30134
  onSuccess (client-side): runs after handler resolves. Must use { set: { "/path": value } } format, NOT actions.set().
30118
- onError (client-side): runs if handler throws. Same format as onSuccess.
30119
- Extra params (beyond functionId, action, responsePath, onSuccess, onError) are sent to the server as event.parameters.`,
30135
+ onError (client-side): runs if handler throws. Same format as onSuccess.`,
30120
30136
  paramsSchema: {
30121
30137
  $schema: "https://json-schema.org/draft/2020-12/schema",
30122
- additionalProperties: !1,
30123
- properties: {
30124
- action: {
30125
- type: "string"
30126
- },
30127
- functionId: {
30128
- type: "string"
30129
- },
30130
- onError: {},
30131
- onSuccess: {},
30132
- responsePath: {
30133
- type: "string"
30138
+ anyOf: [
30139
+ {
30140
+ additionalProperties: {},
30141
+ properties: {
30142
+ functionId: {
30143
+ type: "string"
30144
+ },
30145
+ inputs: {
30146
+ additionalProperties: {},
30147
+ properties: {
30148
+ action: {
30149
+ type: "string"
30150
+ }
30151
+ },
30152
+ required: ["action"],
30153
+ type: "object"
30154
+ },
30155
+ onError: {},
30156
+ onSuccess: {},
30157
+ responsePath: {
30158
+ type: "string"
30159
+ }
30160
+ },
30161
+ required: ["functionId", "inputs"],
30162
+ type: "object"
30134
30163
  }
30135
- },
30136
- required: ["functionId", "action"],
30137
- type: "object"
30164
+ ]
30138
30165
  }
30139
30166
  }
30140
30167
  }, ke = {}, Jt = {};
30141
30168
  function Wc() {
30142
30169
  return Object.fromEntries(
30143
- Object.entries(Pe).map(([e, t]) => [
30170
+ Object.entries(Ee).map(([e, t]) => [
30144
30171
  e,
30145
30172
  String(t.description ?? "")
30146
30173
  ])
@@ -30169,11 +30196,11 @@ function Yc() {
30169
30196
  return Jt;
30170
30197
  }
30171
30198
  function Jc(e) {
30172
- if (!(e in Pe))
30199
+ if (!(e in Ee))
30173
30200
  throw new Error(
30174
- `Unknown component '${e}'. Available: ${Object.keys(Pe).join(", ")}`
30201
+ `Unknown component '${e}'. Available: ${Object.keys(Ee).join(", ")}`
30175
30202
  );
30176
- const t = { ...Pe[e] };
30203
+ const t = { ...Ee[e] };
30177
30204
  return delete t.example, t;
30178
30205
  }
30179
30206
  function Qc(e) {
@@ -30280,11 +30307,11 @@ function el(e) {
30280
30307
  l && !(l in b) && t.push(`Root element '${l}' not found in elements map`);
30281
30308
  for (const [v, i] of Object.entries(b)) {
30282
30309
  const s = i.type ?? "";
30283
- if (!(s in Pe)) {
30310
+ if (!(s in Ee)) {
30284
30311
  t.push(`Element '${v}': unknown type '${s}'`);
30285
30312
  continue;
30286
30313
  }
30287
- const a = Pe[s], d = a.propsSchema;
30314
+ const a = Ee[s], d = a.propsSchema;
30288
30315
  if (d) {
30289
30316
  const I = ma(fa(d)), w = i.props ?? {};
30290
30317
  for (const D of va(I, w))
@@ -30312,8 +30339,8 @@ export {
30312
30339
  Ca as AiIcon,
30313
30340
  Ta as Alert,
30314
30341
  Da as Animation,
30315
- Ea as ApiError,
30316
- Pa as AppGroupLoader,
30342
+ Pa as ApiError,
30343
+ Ea as AppGroupLoader,
30317
30344
  _a as AppGroupSelect,
30318
30345
  Ra as AppNavBar,
30319
30346
  Aa as AtomsSeparator,
@@ -30368,8 +30395,8 @@ export {
30368
30395
  Cs as FormDate,
30369
30396
  Ts as FormDateRange,
30370
30397
  Ds as FormDaySelector,
30371
- Es as FormEmail,
30372
- Ps as FormFile,
30398
+ Ps as FormEmail,
30399
+ Es as FormFile,
30373
30400
  _s as FormFileDrop,
30374
30401
  Rs as FormGroup,
30375
30402
  As as FormGroupHeader,
@@ -30422,8 +30449,8 @@ export {
30422
30449
  Cp as MenuList,
30423
30450
  Tp as Modal,
30424
30451
  Dp as ModalCloseButton,
30425
- Ep as ModalFooter,
30426
- Pp as NestedList,
30452
+ Pp as ModalFooter,
30453
+ Ep as NestedList,
30427
30454
  _p as Number,
30428
30455
  Rp as ObjectListView,
30429
30456
  Ap as ObjectUI,
@@ -30475,8 +30502,8 @@ export {
30475
30502
  Ic as Text,
30476
30503
  Tc as TextAutoSuggest,
30477
30504
  Dc as TextClip,
30478
- Ec as TextInput,
30479
- Pc as TextSnippet,
30505
+ Pc as TextInput,
30506
+ Ec as TextSnippet,
30480
30507
  Cc as Textarea,
30481
30508
  _c as Time,
30482
30509
  Rc as TimeRange,