@rippling/pebble-sdui-web 0.14.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/catalogs/custom-apps/catalog.d.ts +3 -1
  2. package/dist/catalogs/custom-apps/component-props.d.ts +2 -0
  3. package/dist/catalogs/custom-apps/components.d.ts +2 -2
  4. package/dist/catalogs/custom-apps/index.cjs +2 -2
  5. package/dist/catalogs/custom-apps/index.cjs.map +1 -1
  6. package/dist/catalogs/custom-apps/index.d.ts +1 -1
  7. package/dist/catalogs/custom-apps/index.js +284 -252
  8. package/dist/catalogs/custom-apps/index.js.map +1 -1
  9. package/dist/catalogs/hub_platform/catalog.d.ts +2 -0
  10. package/dist/catalogs/hub_platform/index.cjs +1 -1
  11. package/dist/catalogs/hub_platform/index.cjs.map +1 -1
  12. package/dist/catalogs/hub_platform/index.d.ts +1 -1
  13. package/dist/catalogs/hub_platform/index.js +83 -58
  14. package/dist/catalogs/hub_platform/index.js.map +1 -1
  15. package/dist/core/component-markdown.cjs +19 -0
  16. package/dist/core/component-markdown.cjs.map +1 -0
  17. package/dist/core/component-markdown.d.ts +8 -0
  18. package/dist/core/component-markdown.js +58 -0
  19. package/dist/core/component-markdown.js.map +1 -0
  20. package/dist/docs/typescript/web/catalogs/custom-apps/components.md +9 -5
  21. package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
  22. package/dist/sdk-docs.cjs +15 -3
  23. package/dist/sdk-docs.cjs.map +1 -1
  24. package/dist/sdk-docs.js +15 -3
  25. package/dist/sdk-docs.js.map +1 -1
  26. package/package.json +1 -6
  27. package/dist/catalogs/core/action-params.d.ts +0 -96
  28. package/dist/catalogs/core/actions.d.ts +0 -21
  29. package/dist/catalogs/core/catalog.d.ts +0 -33
  30. package/dist/catalogs/core/component-events.d.ts +0 -193
  31. package/dist/catalogs/core/component-props.d.ts +0 -5312
  32. package/dist/catalogs/core/components.d.ts +0 -194
  33. package/dist/catalogs/core/function-params.d.ts +0 -5
  34. package/dist/catalogs/core/functions.d.ts +0 -5
  35. package/dist/catalogs/core/index.cjs +0 -137
  36. package/dist/catalogs/core/index.cjs.map +0 -1
  37. package/dist/catalogs/core/index.d.ts +0 -13
  38. package/dist/catalogs/core/index.js +0 -31848
  39. package/dist/catalogs/core/index.js.map +0 -1
  40. package/dist/catalogs/core/render.d.ts +0 -20
  41. package/dist/docs/typescript/web/catalogs/core/actions.md +0 -645
  42. package/dist/docs/typescript/web/catalogs/core/components.md +0 -6580
  43. package/dist/docs/typescript/web/catalogs/core/computed-functions.md +0 -6
  44. package/dist/docs/typescript/web/catalogs/core/definitions.md +0 -4431
  45. package/dist/docs/typescript/web/catalogs/core/readme.md +0 -16
  46. package/dist/docs/typescript/web/catalogs/core/types.md +0 -4833
@@ -1,13 +1,14 @@
1
1
  import { buildNode as t } from "../../core/component-utils.js";
2
- import { buildAction as n } from "../../core/action-utils.js";
2
+ import { buildAction as a } from "../../core/action-utils.js";
3
3
  import { _ as I } from "../../2020-PBERvPzO.js";
4
4
  import { createCatalogSchemaValidator as D } from "../../core/catalog-validation.js";
5
- import { renderElementTree as T } from "../../core/spec.js";
6
- const _ = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), F = (e) => t("Alert", e), q = (e) => t("Animation", e), U = (e) => t("ApiError", e), B = (e) => t("AppGroupLoader", e), H = (e) => t("AppGroupSelect", e), V = (e) => t("AppNavBar", e), G = (e) => t("AtomsSeparator", e), W = (e) => t("Avatar", e), z = (e) => t("AvatarList", e), X = (e) => t("Badge", e), $ = (e) => t("Box", e), Y = (e) => t("BrandBadge", e), K = (e) => t("Breadcrumb", e), Q = (e) => t("Button", e), J = (e) => t("ButtonGroup", e), Z = (e) => t("Calendar", e), ee = (e) => t("Card", e), te = (e) => t("CardGroup", e), ie = (e) => t("Carousel", e), oe = (e) => t("ChartLoader", e), re = (e) => t("Checkbox", e), ne = (e) => t("CheckboxGroup", e), ae = (e) => t("CheckList", e), se = (e) => t("Chip", e), pe = (e) => t("ChipGroup", e), le = (e) => t("Circle", e), ce = (e) => t("ColorPicker", e), de = (e) => t("ContentLoader", e), ye = (e) => t("CountDown", e), ue = (e) => t("Country", e), he = (e) => t("Currency", e), me = (e) => t("Dashboard", e), ge = (e) => t("Date", e), be = (e) => t("DateInlineMulti", e), fe = (e) => t("DateRange", e), Se = (e) => t("DaySelector", e), ve = (e) => t("DistributionBar", e), Oe = (e) => t("Divider", e), we = (e) => t("DraggableList", e), Ie = (e) => t("Drawer", e), De = (e) => t("Dropdown", e), Te = (e) => t("Email", e), Ce = (e) => t("EmojiPicker", e), Re = (e) => t("EmployeeSearch", e), Pe = (e) => t("ExpansionPanel", e), Ae = (e) => t("ExpansionPanelGroup", e), Ee = (e) => t("Field", e), xe = (e) => t("File", e), Le = (e) => t("FileDrop", e), Ne = (e) => t("FloatingButton", e), ke = (e) => t("Form", e), Me = (e) => t("FormCheckbox", e), _e = (e) => t("FormCheckboxGroup", e), je = (e) => t("FormContent", e), Fe = (e) => t("FormCurrency", e), qe = (e) => t("FormDate", e), Ue = (e) => t("FormDateRange", e), Be = (e) => t("FormDaySelector", e), He = (e) => t("FormEmail", e), Ve = (e) => t("FormEmployeeSearch", e), Ge = (e) => t("FormFile", e), We = (e) => t("FormFileDrop", e), ze = (e) => t("FormGroup", e), Xe = (e) => t("FormGroupHeader", e), $e = (e) => t("FormHidden", e), Ye = (e) => t("FormInlineGroup", e), Ke = (e) => t("FormInputGroup", e), Qe = (e) => t("FormMasker", e), Je = (e) => t("FormNumber", e), Ze = (e) => t("FormPassword", e), et = (e) => t("FormPercentage", e), tt = (e) => t("FormPhone", e), it = (e) => t("FormRadio", e), ot = (e) => t("FormSegmentedControl", e), rt = (e) => t("FormSelect", e), nt = (e) => t("FormSelectableGroup", e), at = (e) => t("FormSignature", e), st = (e) => t("FormSin", e), pt = (e) => t("FormSlider", e), lt = (e) => t("FormSsn", e), ct = (e) => t("FormSurvey", e), dt = (e) => t("FormSwitch", e), yt = (e) => t("FormText", e), ut = (e) => t("FormTextarea", e), ht = (e) => t("FormTextAutoSuggest", e), mt = (e) => t("FormTime", e), gt = (e) => t("FormTimezone", e), bt = (e) => t("FormTree", e), ft = (e) => t("FormTreeSelect", e), St = (e) => t("FormWorkEmail", e), vt = (e) => t("Grid", e), Ot = (e) => t("Heading", e), wt = (e) => t("Hidden", e), It = (e) => t("HStack", e), Dt = (e) => t("Icon", e), Tt = (e) => t("IconButton", e), Ct = (e) => t("Image", e), Rt = (e) => t("ImageViewer", e), Pt = (e) => t("InputGroup", e), At = (e) => t("ItemNavigator", e), Et = (e) => t("Label", e), xt = (e) => t("LabelGroup", e), Lt = (e) => t("Layout", e), Nt = (e) => t("LayoutCard", e), kt = (e) => t("Link", e), Mt = (e) => t("ListItem", e), _t = (e) => t("LoaderCard", e), jt = (e) => t("LocationCard", e), Ft = (e) => t("LottiePlayer", e), qt = (e) => t("Masker", e), Ut = (e) => t("MenuList", e), Bt = (e) => t("Modal", e), Ht = (e) => t("ModalCloseButton", e), Vt = (e) => t("ModalFooter", e), Gt = (e) => t("NestedList", e), Wt = (e) => t("Number", e), zt = (e) => t("ObjectListView", e), Xt = (e) => t("ObjectUI", e), $t = (e) => t("ObjectUIContent", e), Yt = (e) => t("ObjectUIHeader", e), Kt = (e) => t("ObjectUIStats", e), Qt = (e) => t("ObjectUITemplate", e), Jt = (e) => t("PageAppLogo", e), Zt = (e) => t("PageContent", e), ei = (e) => t("PageFooter", e), ti = (e) => t("PageHeader", e), ii = (e) => t("Paginate", e), oi = (e) => t("PaginateList", e), ri = (e) => t("Pane", e), ni = (e) => t("Password", e), ai = (e) => t("Percentage", e), si = (e) => t("Phone", e), pi = (e) => t("ProgressBar", e), li = (e) => t("ProgressSteps", e), ci = (e) => t("Radio", e), di = (e) => t("RangeSlider", e), yi = (e) => t("ReportLoader", e), ui = (e) => t("Reports", e), hi = (e) => t("ReportShareLoader", e), mi = (e) => t("ReportViewerLoader", e), gi = (e) => t("ResizableBoard", e), bi = (e) => t("Responsive", e), fi = (e) => t("SegmentedControl", e), Si = (e) => t("Select", e), vi = (e) => t("SelectableGroup", e), Oi = (e) => t("SelectableMenu", e), wi = (e) => t("SettingsLoader", e), Ii = (e) => t("ShowMore", e), Di = (e) => t("Signature", e), Ti = (e) => t("Sin", e), Ci = (e) => t("Skeleton", e), Ri = (e) => t("Slider", e), Pi = (e) => t("SnackBar", e), Ai = (e) => t("Spinner", e), Ei = (e) => t("SplitButton", e), xi = (e) => t("SplitPane", e), Li = (e) => t("Ssn", e), Ni = (e) => t("Status", e), ki = (e) => t("Stepper", e), Mi = (e) => t("SupportButton", e), _i = (e) => t("Survey", e), ji = (e) => t("Switch", e), Fi = (e) => t("Tab", e), qi = (e) => t("TableBasic", e), Ui = (e) => t("Text", e), Bi = (e) => t("Textarea", e), Hi = (e) => t("TextAutoSuggest", e), Vi = (e) => t("TextClip", e), Gi = (e) => t("TextInput", e), Wi = (e) => t("TextSnippet", e), zi = (e) => t("Time", e), Xi = (e) => t("TimeRange", e), $i = (e) => t("Timezone", e), Yi = (e) => t("Tip", e), Ki = (e) => t("TitleCaption", e), Qi = (e) => t("ToggleableArrow", e), Ji = (e) => t("Tree", e), Zi = (e) => t("TreeSelect", e), eo = (e) => t("Video", e), to = (e) => t("VStack", e), io = (e) => t("WorkEmail", e), oo = (e, i) => n("navigate", e, i), ro = (e, i) => n(
5
+ import { renderComponentMarkdown as T } from "../../core/component-markdown.js";
6
+ import { renderElementTree as C } from "../../core/spec.js";
7
+ const q = (e) => t("ActionCard", e), U = (e) => t("AiIcon", e), B = (e) => t("Alert", e), H = (e) => t("Animation", e), V = (e) => t("ApiError", e), G = (e) => t("AppGroupLoader", e), W = (e) => t("AppGroupSelect", e), z = (e) => t("AppNavBar", e), X = (e) => t("AtomsSeparator", e), $ = (e) => t("Avatar", e), Y = (e) => t("AvatarList", e), K = (e) => t("Badge", e), Q = (e) => t("Box", e), J = (e) => t("BrandBadge", e), Z = (e) => t("Breadcrumb", e), ee = (e) => t("Button", e), te = (e) => t("ButtonGroup", e), ie = (e) => t("Calendar", e), oe = (e) => t("Card", e), re = (e) => t("CardGroup", e), ne = (e) => t("Carousel", e), ae = (e) => t("ChartLoader", e), se = (e) => t("Checkbox", e), pe = (e) => t("CheckboxGroup", e), le = (e) => t("CheckList", e), ce = (e) => t("Chip", e), de = (e) => t("ChipGroup", e), ye = (e) => t("Circle", e), ue = (e) => t("ColorPicker", e), he = (e) => t("ContentLoader", e), me = (e) => t("CountDown", e), ge = (e) => t("Country", e), be = (e) => t("Currency", e), fe = (e) => t("Dashboard", e), Se = (e) => t("Date", e), ve = (e) => t("DateInlineMulti", e), Oe = (e) => t("DateRange", e), we = (e) => t("DaySelector", e), Ie = (e) => t("DistributionBar", e), De = (e) => t("Divider", e), Te = (e) => t("DraggableList", e), Ce = (e) => t("Drawer", e), Re = (e) => t("Dropdown", e), Pe = (e) => t("Email", e), Ae = (e) => t("EmojiPicker", e), Ee = (e) => t("EmployeeSearch", e), xe = (e) => t("ExpansionPanel", e), Le = (e) => t("ExpansionPanelGroup", e), Ne = (e) => t("Field", e), ke = (e) => t("File", e), Me = (e) => t("FileDrop", e), _e = (e) => t("FloatingButton", e), je = (e) => t("Form", e), Fe = (e) => t("FormCheckbox", e), qe = (e) => t("FormCheckboxGroup", e), Ue = (e) => t("FormContent", e), Be = (e) => t("FormCurrency", e), He = (e) => t("FormDate", e), Ve = (e) => t("FormDateRange", e), Ge = (e) => t("FormDaySelector", e), We = (e) => t("FormEmail", e), ze = (e) => t("FormEmployeeSearch", e), Xe = (e) => t("FormFile", e), $e = (e) => t("FormFileDrop", e), Ye = (e) => t("FormGroup", e), Ke = (e) => t("FormGroupHeader", e), Qe = (e) => t("FormHidden", e), Je = (e) => t("FormInlineGroup", e), Ze = (e) => t("FormInputGroup", e), et = (e) => t("FormMasker", e), tt = (e) => t("FormNumber", e), it = (e) => t("FormPassword", e), ot = (e) => t("FormPercentage", e), rt = (e) => t("FormPhone", e), nt = (e) => t("FormRadio", e), at = (e) => t("FormSegmentedControl", e), st = (e) => t("FormSelect", e), pt = (e) => t("FormSelectableGroup", e), lt = (e) => t("FormSignature", e), ct = (e) => t("FormSin", e), dt = (e) => t("FormSlider", e), yt = (e) => t("FormSsn", e), ut = (e) => t("FormSurvey", e), ht = (e) => t("FormSwitch", e), mt = (e) => t("FormText", e), gt = (e) => t("FormTextarea", e), bt = (e) => t("FormTextAutoSuggest", e), ft = (e) => t("FormTime", e), St = (e) => t("FormTimezone", e), vt = (e) => t("FormTree", e), Ot = (e) => t("FormTreeSelect", e), wt = (e) => t("FormWorkEmail", e), It = (e) => t("Grid", e), Dt = (e) => t("Heading", e), Tt = (e) => t("Hidden", e), Ct = (e) => t("HStack", e), Rt = (e) => t("Icon", e), Pt = (e) => t("IconButton", e), At = (e) => t("Image", e), Et = (e) => t("ImageViewer", e), xt = (e) => t("InputGroup", e), Lt = (e) => t("ItemNavigator", e), Nt = (e) => t("Label", e), kt = (e) => t("LabelGroup", e), Mt = (e) => t("Layout", e), _t = (e) => t("LayoutCard", e), jt = (e) => t("Link", e), Ft = (e) => t("ListItem", e), qt = (e) => t("LoaderCard", e), Ut = (e) => t("LocationCard", e), Bt = (e) => t("LottiePlayer", e), Ht = (e) => t("Masker", e), Vt = (e) => t("MenuList", e), Gt = (e) => t("Modal", e), Wt = (e) => t("ModalCloseButton", e), zt = (e) => t("ModalFooter", e), Xt = (e) => t("NestedList", e), $t = (e) => t("Number", e), Yt = (e) => t("ObjectListView", e), Kt = (e) => t("ObjectUI", e), Qt = (e) => t("ObjectUIContent", e), Jt = (e) => t("ObjectUIHeader", e), Zt = (e) => t("ObjectUIStats", e), ei = (e) => t("ObjectUITemplate", e), ti = (e) => t("PageAppLogo", e), ii = (e) => t("PageContent", e), oi = (e) => t("PageFooter", e), ri = (e) => t("PageHeader", e), ni = (e) => t("Paginate", e), ai = (e) => t("PaginateList", e), si = (e) => t("Pane", e), pi = (e) => t("Password", e), li = (e) => t("Percentage", e), ci = (e) => t("Phone", e), di = (e) => t("ProgressBar", e), yi = (e) => t("ProgressSteps", e), ui = (e) => t("Radio", e), hi = (e) => t("RangeSlider", e), mi = (e) => t("ReportLoader", e), gi = (e) => t("Reports", e), bi = (e) => t("ReportShareLoader", e), fi = (e) => t("ReportViewerLoader", e), Si = (e) => t("ResizableBoard", e), vi = (e) => t("Responsive", e), Oi = (e) => t("SegmentedControl", e), wi = (e) => t("Select", e), Ii = (e) => t("SelectableGroup", e), Di = (e) => t("SelectableMenu", e), Ti = (e) => t("SettingsLoader", e), Ci = (e) => t("ShowMore", e), Ri = (e) => t("Signature", e), Pi = (e) => t("Sin", e), Ai = (e) => t("Skeleton", e), Ei = (e) => t("Slider", e), xi = (e) => t("SnackBar", e), Li = (e) => t("Spinner", e), Ni = (e) => t("SplitButton", e), ki = (e) => t("SplitPane", e), Mi = (e) => t("Ssn", e), _i = (e) => t("Status", e), ji = (e) => t("Stepper", e), Fi = (e) => t("SupportButton", e), qi = (e) => t("Survey", e), Ui = (e) => t("Switch", e), Bi = (e) => t("Tab", e), Hi = (e) => t("TableBasic", e), Vi = (e) => t("Text", e), Gi = (e) => t("Textarea", e), Wi = (e) => t("TextAutoSuggest", e), zi = (e) => t("TextClip", e), Xi = (e) => t("TextInput", e), $i = (e) => t("TextSnippet", e), Yi = (e) => t("Time", e), Ki = (e) => t("TimeRange", e), Qi = (e) => t("Timezone", e), Ji = (e) => t("Tip", e), Zi = (e) => t("TitleCaption", e), eo = (e) => t("ToggleableArrow", e), to = (e) => t("Tree", e), io = (e) => t("TreeSelect", e), oo = (e) => t("Video", e), ro = (e) => t("VStack", e), no = (e) => t("WorkEmail", e), ao = (e, i) => a("navigate", e, i), so = (e, i) => a(
7
8
  "openChatAssistantWithMessage",
8
9
  e,
9
10
  i
10
- ), no = (e, i) => n("pushState", e, i), ao = (e, i) => n("removeState", e, i), so = (e, i) => n("setState", e, i), po = (e, i) => n("showNotification", e, i), lo = (e, i) => n("triggerFunction", e, i), C = "custom-apps", R = "1.5.2", l = {
11
+ ), po = (e, i) => a("pushState", e, i), lo = (e, i) => a("removeState", e, i), co = (e, i) => a("setState", e, i), yo = (e, i) => a("showNotification", e, i), uo = (e, i) => a("triggerFunction", e, i), R = "custom-apps", P = "1.5.3", r = {
11
12
  ActionCard: {
12
13
  description: "Placeholder for states like empty, success, error, and loading, featuring animations, icons, text, and action buttons.",
13
14
  events: ["pressPrimary", "pressSecondary"],
@@ -3807,6 +3808,10 @@ const _ = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), F = (e) => t("Al
3807
3808
  description: "Text content to display in the card body",
3808
3809
  type: "string"
3809
3810
  },
3811
+ fluid: {
3812
+ description: "Layout mode only. When true, the card fills its parent width (including inside row layouts, where it would otherwise size to its content). Ignored when title or content is set (basic card mode). Default: false",
3813
+ type: "boolean"
3814
+ },
3810
3815
  isAddCard: {
3811
3816
  description: 'Render as add card with plus icon. Emits "add" event when clicked. Default: false',
3812
3817
  type: "boolean"
@@ -4052,7 +4057,7 @@ const _ = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), F = (e) => t("Al
4052
4057
  type: "boolean"
4053
4058
  },
4054
4059
  label: {
4055
- description: "Label text for the checkbox",
4060
+ description: "Label text for the checkbox. Ignored when the element has children (rich label).",
4056
4061
  type: "string"
4057
4062
  },
4058
4063
  secondaryLabel: {
@@ -4085,7 +4090,7 @@ const _ = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), F = (e) => t("Al
4085
4090
  },
4086
4091
  type: "object"
4087
4092
  },
4088
- acceptsChildren: !1
4093
+ acceptsChildren: !0
4089
4094
  },
4090
4095
  CheckboxGroup: {
4091
4096
  description: "A group of checkboxes that lets users select multiple options from a predefined list. Use when users can choose all, some, or none of the options. Use Radio instead for mutually exclusive single selection, or Toggle for immediate on/off activation.",
@@ -9031,7 +9036,7 @@ const _ = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), F = (e) => t("Al
9031
9036
  type: "boolean"
9032
9037
  },
9033
9038
  label: {
9034
- description: "Label text for the checkbox",
9039
+ description: "Label text for the checkbox. Ignored when the element has children (rich label).",
9035
9040
  type: "string"
9036
9041
  },
9037
9042
  secondaryLabel: {
@@ -9082,7 +9087,7 @@ const _ = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), F = (e) => t("Al
9082
9087
  required: ["name"],
9083
9088
  type: "object"
9084
9089
  },
9085
- acceptsChildren: !1
9090
+ acceptsChildren: !0
9086
9091
  },
9087
9092
  FormCheckboxGroup: {
9088
9093
  description: "A Form-registered checkbox group for use inside a Form component.",
@@ -18976,6 +18981,10 @@ const _ = (e) => t("ActionCard", e), j = (e) => t("AiIcon", e), F = (e) => t("Al
18976
18981
  $schema: "https://json-schema.org/draft/2020-12/schema",
18977
18982
  additionalProperties: !1,
18978
18983
  properties: {
18984
+ fluid: {
18985
+ description: "When true, the card fills its parent width (including inside row layouts, where it would otherwise size to its content). Default: false",
18986
+ type: "boolean"
18987
+ },
18979
18988
  padding: {
18980
18989
  description: "Card padding size. Default: PX_24",
18981
18990
  enum: ["PX_0", "PX_8", "PX_16", "PX_24", "PX_32"],
@@ -29938,7 +29947,7 @@ onError (client-side): runs if handler throws. Same format as onSuccess.`,
29938
29947
  type: "object"
29939
29948
  }
29940
29949
  }
29941
- }, y = {}, P = {}, f = {
29950
+ }, y = {}, A = {}, f = {
29942
29951
  AppNavBarNavItem: {
29943
29952
  additionalProperties: !1,
29944
29953
  id: "AppNavBarNavItem",
@@ -30564,16 +30573,27 @@ onError (client-side): runs if handler throws. Same format as onSuccess.`,
30564
30573
  required: ["below", "mode"],
30565
30574
  type: "object"
30566
30575
  }
30567
- };
30568
- function co() {
30576
+ }, E = [
30577
+ { field: "category", title: "Categories" },
30578
+ { field: "keywords", title: "Keywords" },
30579
+ { field: "anatomy", title: "Anatomy" },
30580
+ { field: "guidance", title: "Guidance" },
30581
+ { field: "antiPatterns", title: "Anti-patterns" },
30582
+ { field: "aiGuardrails", title: "AI guardrails" },
30583
+ { field: "propGuidance", title: "Prop guidance" },
30584
+ { field: "selection", title: "Component selection" },
30585
+ { field: "relatedComponents", title: "Related components" },
30586
+ { field: "subComponents", title: "Sub-components" }
30587
+ ];
30588
+ function ho() {
30569
30589
  return Object.fromEntries(
30570
- Object.entries(l).map(([e, i]) => [
30590
+ Object.entries(r).map(([e, i]) => [
30571
30591
  e,
30572
30592
  String(i.description ?? "")
30573
30593
  ])
30574
30594
  );
30575
30595
  }
30576
- function yo() {
30596
+ function mo() {
30577
30597
  return Object.fromEntries(
30578
30598
  Object.entries(u).map(([e, i]) => [
30579
30599
  e,
@@ -30581,7 +30601,7 @@ function yo() {
30581
30601
  ])
30582
30602
  );
30583
30603
  }
30584
- function uo() {
30604
+ function go() {
30585
30605
  return Object.fromEntries(
30586
30606
  Object.entries(y).map(([e, i]) => [
30587
30607
  e,
@@ -30589,301 +30609,313 @@ function uo() {
30589
30609
  ])
30590
30610
  );
30591
30611
  }
30592
- function ho() {
30612
+ function bo() {
30593
30613
  return y;
30594
30614
  }
30595
- function mo() {
30615
+ function fo() {
30596
30616
  return f;
30597
30617
  }
30598
- function go(e) {
30599
- if (!(e in l))
30618
+ function So(e) {
30619
+ if (!Object.hasOwn(r, e))
30600
30620
  throw new Error(
30601
- `Unknown component '${e}'. Available: ${Object.keys(l).join(", ")}`
30621
+ `Unknown component '${e}'. Available: ${Object.keys(r).join(", ")}`
30602
30622
  );
30603
- const i = { ...l[e] };
30623
+ const i = { ...r[e] };
30604
30624
  return delete i.example, i;
30605
30625
  }
30606
- function bo(e) {
30626
+ function vo(e) {
30627
+ if (!Object.hasOwn(r, e))
30628
+ throw new Error(
30629
+ `Unknown component '${e}'. Available: ${Object.keys(r).join(", ")}`
30630
+ );
30631
+ return T(
30632
+ e,
30633
+ r[e],
30634
+ E
30635
+ );
30636
+ }
30637
+ function Oo(e) {
30607
30638
  if (!(e in u))
30608
30639
  throw new Error(
30609
30640
  `Unknown action '${e}'. Available: ${Object.keys(u).join(", ")}`
30610
30641
  );
30611
30642
  return u[e];
30612
30643
  }
30613
- function fo(e) {
30644
+ function wo(e) {
30614
30645
  if (!(e in y))
30615
30646
  throw new Error(
30616
30647
  `Unknown function '${e}'. Available: ${Object.keys(y).join(", ")}`
30617
30648
  );
30618
30649
  return y[e];
30619
30650
  }
30620
- function A(e) {
30651
+ function x(e) {
30621
30652
  return e ? e.slice(1).split("/").map((i) => i.replace(/~1/g, "/").replace(/~0/g, "~")).join(".") : "(root)";
30622
30653
  }
30623
30654
  function S(e, i) {
30624
30655
  const c = new I.Ajv2020({ allErrors: !0, strict: !1 });
30625
30656
  c.removeKeyword("id");
30626
- const a = c.compile(e);
30627
- if (a(i)) return [];
30628
- const r = a.errors ?? [], s = new Set(
30629
- r.filter((o) => o.keyword === "anyOf").map((o) => o.instancePath)
30657
+ const s = c.compile(e);
30658
+ if (s(i)) return [];
30659
+ const n = s.errors ?? [], p = new Set(
30660
+ n.filter((o) => o.keyword === "anyOf").map((o) => o.instancePath)
30630
30661
  );
30631
- return r.filter(
30632
- (o) => o.keyword === "anyOf" || !(o.schemaPath.includes("/anyOf/") && s.has(o.instancePath))
30662
+ return n.filter(
30663
+ (o) => o.keyword === "anyOf" || !(o.schemaPath.includes("/anyOf/") && p.has(o.instancePath))
30633
30664
  ).map((o) => {
30634
- const p = A(o.instancePath);
30635
- return o.keyword === "anyOf" ? `props ${p}: must match the declared schema or a reactive reference` : `props ${p}: ${o.message ?? "failed schema validation"}`;
30665
+ const l = x(o.instancePath);
30666
+ return o.keyword === "anyOf" ? `props ${l}: must match the declared schema or a reactive reference` : `props ${l}: ${o.message ?? "failed schema validation"}`;
30636
30667
  });
30637
30668
  }
30638
30669
  const b = D({
30639
30670
  defs: f,
30640
- directives: P,
30671
+ directives: A,
30641
30672
  supportsStandardDirectives: !0,
30642
30673
  validateSchema: S
30643
30674
  });
30644
- function So(e) {
30645
- const i = [], c = e.elements ?? {}, a = e.root;
30646
- a && !(a in c) && i.push(`Root element '${a}' not found in elements map`);
30647
- for (const [r, s] of Object.entries(c)) {
30648
- const o = s.type ?? "";
30649
- if (!(o in l)) {
30650
- i.push(`Element '${r}': unknown type '${o}'`);
30675
+ function Io(e) {
30676
+ const i = [], c = e.elements ?? {}, s = e.root;
30677
+ s && !(s in c) && i.push(`Root element '${s}' not found in elements map`);
30678
+ for (const [n, p] of Object.entries(c)) {
30679
+ const o = p.type ?? "";
30680
+ if (!(o in r)) {
30681
+ i.push(`Element '${n}': unknown type '${o}'`);
30651
30682
  continue;
30652
30683
  }
30653
- const p = l[o], m = p.propsSchema;
30684
+ const l = r[o], m = l.propsSchema;
30654
30685
  if (m) {
30655
- const d = s.props ?? {};
30686
+ const d = p.props ?? {};
30656
30687
  for (const h of S(
30657
30688
  b.preparePropsSchema(m),
30658
30689
  d
30659
30690
  ))
30660
- i.push(`Element '${r}': ${h}`);
30691
+ i.push(`Element '${n}': ${h}`);
30661
30692
  for (const [h, O] of Object.entries(d))
30662
30693
  for (const w of b.nestedDirectiveErrors(
30663
30694
  O,
30664
30695
  h
30665
30696
  ))
30666
- i.push(`Element '${r}': ${w}`);
30697
+ i.push(`Element '${n}': ${w}`);
30667
30698
  }
30668
- const v = s.on ?? {}, g = p.events ?? [];
30699
+ const v = p.on ?? {}, g = l.events ?? [];
30669
30700
  for (const d of Object.keys(v))
30670
30701
  g.includes(d) || i.push(
30671
- `Element '${r}': unknown event '${d}'. Valid: ${g.join(", ")}`
30702
+ `Element '${n}': unknown event '${d}'. Valid: ${g.join(", ")}`
30672
30703
  );
30673
- (s.children ?? []).length > 0 && !p.acceptsChildren && i.push(`Element '${r}': '${o}' does not accept children`);
30704
+ (p.children ?? []).length > 0 && !l.acceptsChildren && i.push(`Element '${n}': '${o}' does not accept children`);
30674
30705
  }
30675
30706
  return i;
30676
30707
  }
30677
- function vo(e) {
30708
+ function Do(e) {
30678
30709
  return {
30679
- ...T(e.root, e.state),
30710
+ ...C(e.root, e.state),
30680
30711
  platform: "web",
30681
- catalog: C,
30682
- catalogVersion: R
30712
+ catalog: R,
30713
+ catalogVersion: P
30683
30714
  };
30684
30715
  }
30685
30716
  export {
30686
- _ as ActionCard,
30687
- j as AiIcon,
30688
- F as Alert,
30689
- q as Animation,
30690
- U as ApiError,
30691
- B as AppGroupLoader,
30692
- H as AppGroupSelect,
30693
- V as AppNavBar,
30694
- G as AtomsSeparator,
30695
- W as Avatar,
30696
- z as AvatarList,
30697
- X as Badge,
30698
- $ as Box,
30699
- Y as BrandBadge,
30700
- K as Breadcrumb,
30701
- Q as Button,
30702
- J as ButtonGroup,
30703
- C as CATALOG_NAME,
30704
- R as CATALOG_VERSION,
30705
- Z as Calendar,
30706
- ee as Card,
30707
- te as CardGroup,
30708
- ie as Carousel,
30709
- oe as ChartLoader,
30710
- ae as CheckList,
30711
- re as Checkbox,
30712
- ne as CheckboxGroup,
30713
- se as Chip,
30714
- pe as ChipGroup,
30715
- le as Circle,
30716
- ce as ColorPicker,
30717
- de as ContentLoader,
30718
- ye as CountDown,
30719
- ue as Country,
30720
- he as Currency,
30721
- me as Dashboard,
30722
- ge as Date,
30723
- be as DateInlineMulti,
30724
- fe as DateRange,
30725
- Se as DaySelector,
30726
- ve as DistributionBar,
30727
- Oe as Divider,
30728
- we as DraggableList,
30729
- Ie as Drawer,
30730
- De as Dropdown,
30731
- Te as Email,
30732
- Ce as EmojiPicker,
30733
- Re as EmployeeSearch,
30734
- Pe as ExpansionPanel,
30735
- Ae as ExpansionPanelGroup,
30736
- Ee as Field,
30737
- xe as File,
30738
- Le as FileDrop,
30739
- Ne as FloatingButton,
30740
- ke as Form,
30741
- Me as FormCheckbox,
30742
- _e as FormCheckboxGroup,
30743
- je as FormContent,
30744
- Fe as FormCurrency,
30745
- qe as FormDate,
30746
- Ue as FormDateRange,
30747
- Be as FormDaySelector,
30748
- He as FormEmail,
30749
- Ve as FormEmployeeSearch,
30750
- Ge as FormFile,
30751
- We as FormFileDrop,
30752
- ze as FormGroup,
30753
- Xe as FormGroupHeader,
30754
- $e as FormHidden,
30755
- Ye as FormInlineGroup,
30756
- Ke as FormInputGroup,
30757
- Qe as FormMasker,
30758
- Je as FormNumber,
30759
- Ze as FormPassword,
30760
- et as FormPercentage,
30761
- tt as FormPhone,
30762
- it as FormRadio,
30763
- ot as FormSegmentedControl,
30764
- rt as FormSelect,
30765
- nt as FormSelectableGroup,
30766
- at as FormSignature,
30767
- st as FormSin,
30768
- pt as FormSlider,
30769
- lt as FormSsn,
30770
- ct as FormSurvey,
30771
- dt as FormSwitch,
30772
- yt as FormText,
30773
- ht as FormTextAutoSuggest,
30774
- ut as FormTextarea,
30775
- mt as FormTime,
30776
- gt as FormTimezone,
30777
- bt as FormTree,
30778
- ft as FormTreeSelect,
30779
- St as FormWorkEmail,
30780
- vt as Grid,
30781
- It as HStack,
30782
- Ot as Heading,
30783
- wt as Hidden,
30784
- Dt as Icon,
30785
- Tt as IconButton,
30786
- Ct as Image,
30787
- Rt as ImageViewer,
30788
- Pt as InputGroup,
30789
- At as ItemNavigator,
30790
- Et as Label,
30791
- xt as LabelGroup,
30792
- Lt as Layout,
30793
- Nt as LayoutCard,
30794
- kt as Link,
30795
- Mt as ListItem,
30796
- _t as LoaderCard,
30797
- jt as LocationCard,
30798
- Ft as LottiePlayer,
30799
- qt as Masker,
30800
- Ut as MenuList,
30801
- Bt as Modal,
30802
- Ht as ModalCloseButton,
30803
- Vt as ModalFooter,
30804
- Gt as NestedList,
30805
- Wt as Number,
30806
- zt as ObjectListView,
30807
- Xt as ObjectUI,
30808
- $t as ObjectUIContent,
30809
- Yt as ObjectUIHeader,
30810
- Kt as ObjectUIStats,
30811
- Qt as ObjectUITemplate,
30812
- Jt as PageAppLogo,
30813
- Zt as PageContent,
30814
- ei as PageFooter,
30815
- ti as PageHeader,
30816
- ii as Paginate,
30817
- oi as PaginateList,
30818
- ri as Pane,
30819
- ni as Password,
30820
- ai as Percentage,
30821
- si as Phone,
30822
- pi as ProgressBar,
30823
- li as ProgressSteps,
30824
- ci as Radio,
30825
- di as RangeSlider,
30826
- yi as ReportLoader,
30827
- hi as ReportShareLoader,
30828
- mi as ReportViewerLoader,
30829
- ui as Reports,
30830
- gi as ResizableBoard,
30831
- bi as Responsive,
30832
- fi as SegmentedControl,
30833
- Si as Select,
30834
- vi as SelectableGroup,
30835
- Oi as SelectableMenu,
30836
- wi as SettingsLoader,
30837
- Ii as ShowMore,
30838
- Di as Signature,
30839
- Ti as Sin,
30840
- Ci as Skeleton,
30841
- Ri as Slider,
30842
- Pi as SnackBar,
30843
- Ai as Spinner,
30844
- Ei as SplitButton,
30845
- xi as SplitPane,
30846
- Li as Ssn,
30847
- Ni as Status,
30848
- ki as Stepper,
30849
- Mi as SupportButton,
30850
- _i as Survey,
30851
- ji as Switch,
30852
- Fi as Tab,
30853
- qi as TableBasic,
30854
- Ui as Text,
30855
- Hi as TextAutoSuggest,
30856
- Vi as TextClip,
30857
- Gi as TextInput,
30858
- Wi as TextSnippet,
30859
- Bi as Textarea,
30860
- zi as Time,
30861
- Xi as TimeRange,
30862
- $i as Timezone,
30863
- Yi as Tip,
30864
- Ki as TitleCaption,
30865
- Qi as ToggleableArrow,
30866
- Ji as Tree,
30867
- Zi as TreeSelect,
30868
- to as VStack,
30869
- eo as Video,
30870
- io as WorkEmail,
30871
- bo as getAction,
30872
- yo as getActions,
30873
- go as getComponent,
30874
- co as getComponents,
30875
- ho as getComputedFunctions,
30876
- mo as getDefs,
30877
- fo as getFunction,
30878
- uo as getFunctions,
30879
- oo as navigate,
30880
- ro as openChatAssistantWithMessage,
30881
- no as pushState,
30882
- ao as removeState,
30883
- vo as render,
30884
- so as setState,
30885
- po as showNotification,
30886
- lo as triggerFunction,
30887
- So as validate
30717
+ q as ActionCard,
30718
+ U as AiIcon,
30719
+ B as Alert,
30720
+ H as Animation,
30721
+ V as ApiError,
30722
+ G as AppGroupLoader,
30723
+ W as AppGroupSelect,
30724
+ z as AppNavBar,
30725
+ X as AtomsSeparator,
30726
+ $ as Avatar,
30727
+ Y as AvatarList,
30728
+ K as Badge,
30729
+ Q as Box,
30730
+ J as BrandBadge,
30731
+ Z as Breadcrumb,
30732
+ ee as Button,
30733
+ te as ButtonGroup,
30734
+ R as CATALOG_NAME,
30735
+ P as CATALOG_VERSION,
30736
+ ie as Calendar,
30737
+ oe as Card,
30738
+ re as CardGroup,
30739
+ ne as Carousel,
30740
+ ae as ChartLoader,
30741
+ le as CheckList,
30742
+ se as Checkbox,
30743
+ pe as CheckboxGroup,
30744
+ ce as Chip,
30745
+ de as ChipGroup,
30746
+ ye as Circle,
30747
+ ue as ColorPicker,
30748
+ he as ContentLoader,
30749
+ me as CountDown,
30750
+ ge as Country,
30751
+ be as Currency,
30752
+ fe as Dashboard,
30753
+ Se as Date,
30754
+ ve as DateInlineMulti,
30755
+ Oe as DateRange,
30756
+ we as DaySelector,
30757
+ Ie as DistributionBar,
30758
+ De as Divider,
30759
+ Te as DraggableList,
30760
+ Ce as Drawer,
30761
+ Re as Dropdown,
30762
+ Pe as Email,
30763
+ Ae as EmojiPicker,
30764
+ Ee as EmployeeSearch,
30765
+ xe as ExpansionPanel,
30766
+ Le as ExpansionPanelGroup,
30767
+ Ne as Field,
30768
+ ke as File,
30769
+ Me as FileDrop,
30770
+ _e as FloatingButton,
30771
+ je as Form,
30772
+ Fe as FormCheckbox,
30773
+ qe as FormCheckboxGroup,
30774
+ Ue as FormContent,
30775
+ Be as FormCurrency,
30776
+ He as FormDate,
30777
+ Ve as FormDateRange,
30778
+ Ge as FormDaySelector,
30779
+ We as FormEmail,
30780
+ ze as FormEmployeeSearch,
30781
+ Xe as FormFile,
30782
+ $e as FormFileDrop,
30783
+ Ye as FormGroup,
30784
+ Ke as FormGroupHeader,
30785
+ Qe as FormHidden,
30786
+ Je as FormInlineGroup,
30787
+ Ze as FormInputGroup,
30788
+ et as FormMasker,
30789
+ tt as FormNumber,
30790
+ it as FormPassword,
30791
+ ot as FormPercentage,
30792
+ rt as FormPhone,
30793
+ nt as FormRadio,
30794
+ at as FormSegmentedControl,
30795
+ st as FormSelect,
30796
+ pt as FormSelectableGroup,
30797
+ lt as FormSignature,
30798
+ ct as FormSin,
30799
+ dt as FormSlider,
30800
+ yt as FormSsn,
30801
+ ut as FormSurvey,
30802
+ ht as FormSwitch,
30803
+ mt as FormText,
30804
+ bt as FormTextAutoSuggest,
30805
+ gt as FormTextarea,
30806
+ ft as FormTime,
30807
+ St as FormTimezone,
30808
+ vt as FormTree,
30809
+ Ot as FormTreeSelect,
30810
+ wt as FormWorkEmail,
30811
+ It as Grid,
30812
+ Ct as HStack,
30813
+ Dt as Heading,
30814
+ Tt as Hidden,
30815
+ Rt as Icon,
30816
+ Pt as IconButton,
30817
+ At as Image,
30818
+ Et as ImageViewer,
30819
+ xt as InputGroup,
30820
+ Lt as ItemNavigator,
30821
+ Nt as Label,
30822
+ kt as LabelGroup,
30823
+ Mt as Layout,
30824
+ _t as LayoutCard,
30825
+ jt as Link,
30826
+ Ft as ListItem,
30827
+ qt as LoaderCard,
30828
+ Ut as LocationCard,
30829
+ Bt as LottiePlayer,
30830
+ Ht as Masker,
30831
+ Vt as MenuList,
30832
+ Gt as Modal,
30833
+ Wt as ModalCloseButton,
30834
+ zt as ModalFooter,
30835
+ Xt as NestedList,
30836
+ $t as Number,
30837
+ Yt as ObjectListView,
30838
+ Kt as ObjectUI,
30839
+ Qt as ObjectUIContent,
30840
+ Jt as ObjectUIHeader,
30841
+ Zt as ObjectUIStats,
30842
+ ei as ObjectUITemplate,
30843
+ ti as PageAppLogo,
30844
+ ii as PageContent,
30845
+ oi as PageFooter,
30846
+ ri as PageHeader,
30847
+ ni as Paginate,
30848
+ ai as PaginateList,
30849
+ si as Pane,
30850
+ pi as Password,
30851
+ li as Percentage,
30852
+ ci as Phone,
30853
+ di as ProgressBar,
30854
+ yi as ProgressSteps,
30855
+ ui as Radio,
30856
+ hi as RangeSlider,
30857
+ mi as ReportLoader,
30858
+ bi as ReportShareLoader,
30859
+ fi as ReportViewerLoader,
30860
+ gi as Reports,
30861
+ Si as ResizableBoard,
30862
+ vi as Responsive,
30863
+ Oi as SegmentedControl,
30864
+ wi as Select,
30865
+ Ii as SelectableGroup,
30866
+ Di as SelectableMenu,
30867
+ Ti as SettingsLoader,
30868
+ Ci as ShowMore,
30869
+ Ri as Signature,
30870
+ Pi as Sin,
30871
+ Ai as Skeleton,
30872
+ Ei as Slider,
30873
+ xi as SnackBar,
30874
+ Li as Spinner,
30875
+ Ni as SplitButton,
30876
+ ki as SplitPane,
30877
+ Mi as Ssn,
30878
+ _i as Status,
30879
+ ji as Stepper,
30880
+ Fi as SupportButton,
30881
+ qi as Survey,
30882
+ Ui as Switch,
30883
+ Bi as Tab,
30884
+ Hi as TableBasic,
30885
+ Vi as Text,
30886
+ Wi as TextAutoSuggest,
30887
+ zi as TextClip,
30888
+ Xi as TextInput,
30889
+ $i as TextSnippet,
30890
+ Gi as Textarea,
30891
+ Yi as Time,
30892
+ Ki as TimeRange,
30893
+ Qi as Timezone,
30894
+ Ji as Tip,
30895
+ Zi as TitleCaption,
30896
+ eo as ToggleableArrow,
30897
+ to as Tree,
30898
+ io as TreeSelect,
30899
+ ro as VStack,
30900
+ oo as Video,
30901
+ no as WorkEmail,
30902
+ Oo as getAction,
30903
+ mo as getActions,
30904
+ So as getComponent,
30905
+ vo as getComponentMarkdown,
30906
+ ho as getComponents,
30907
+ bo as getComputedFunctions,
30908
+ fo as getDefs,
30909
+ wo as getFunction,
30910
+ go as getFunctions,
30911
+ ao as navigate,
30912
+ so as openChatAssistantWithMessage,
30913
+ po as pushState,
30914
+ lo as removeState,
30915
+ Do as render,
30916
+ co as setState,
30917
+ yo as showNotification,
30918
+ uo as triggerFunction,
30919
+ Io as validate
30888
30920
  };
30889
30921
  //# sourceMappingURL=index.js.map