@rippling/pebble-sdui-web 0.20.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,8 +8,8 @@ export type { ActionCardPadding, ActionCardPrimaryAction, ActionCardProps, Actio
8
8
  export type { ActionCardEvents, AiIconEvents, AlertEvents, AnimationEvents, ApiErrorEvents, AppGroupLoaderEvents, AppGroupSelectEvents, AppNavBarEvents, AtomsSeparatorEvents, AvatarEvents, AvatarListEvents, BadgeEvents, BoxEvents, BrandBadgeEvents, BreadcrumbEvents, ButtonEvents, ButtonGroupEvents, CalendarEvents, CardEvents, CardGroupEvents, CarouselEvents, ChartLoaderEvents, CheckboxEvents, CheckboxGroupEvents, CheckListEvents, ChipEvents, ChipGroupEvents, CircleEvents, ColorPickerEvents, ContentLoaderEvents, CountDownEvents, CountryEvents, CurrencyEvents, DashboardEvents, DateEvents, DateInlineMultiEvents, DateRangeEvents, DaySelectorEvents, DistributionBarEvents, DividerEvents, DraggableListEvents, DraggableListHandleEvents, DraggableListRemoveEvents, DrawerEvents, DropdownEvents, EmailEvents, EmojiPickerEvents, EmployeeSearchEvents, ExpansionPanelEvents, ExpansionPanelGroupEvents, FieldEvents, FileEvents, FileDropEvents, FloatingButtonEvents, FormEvents, FormCheckboxEvents, FormCheckboxGroupEvents, FormContentEvents, FormCurrencyEvents, FormDateEvents, FormDateRangeEvents, FormDaySelectorEvents, FormEmailEvents, FormEmployeeSearchEvents, FormFileEvents, FormFileDropEvents, FormGroupEvents, FormGroupHeaderEvents, FormHiddenEvents, FormInlineGroupEvents, FormInputGroupEvents, FormMaskerEvents, FormNumberEvents, FormPasswordEvents, FormPercentageEvents, FormPhoneEvents, FormRadioEvents, FormRecordLookupEvents, FormSegmentedControlEvents, FormSelectEvents, FormSelectableGroupEvents, FormSignatureEvents, FormSinEvents, FormSliderEvents, FormSsnEvents, FormSurveyEvents, FormSwitchEvents, FormTextEvents, FormTextareaEvents, FormTextAutoSuggestEvents, FormTimeEvents, FormTimezoneEvents, FormTreeEvents, FormTreeSelectEvents, FormWorkEmailEvents, GridEvents, HeadingEvents, HiddenEvents, HStackEvents, IconEvents, IconButtonEvents, ImageEvents, ImageViewerEvents, InputGroupEvents, IntervalEvents, ItemNavigatorEvents, LabelEvents, LabelGroupEvents, LayoutEvents, LayoutCardEvents, LinkEvents, ListItemEvents, LoaderCardEvents, LocationCardEvents, LottiePlayerEvents, MaskerEvents, MenuListEvents, ModalEvents, ModalCloseButtonEvents, ModalFooterEvents, NestedListEvents, NumberEvents, ObjectListViewEvents, ObjectUIEvents, ObjectUIContentEvents, ObjectUIHeaderEvents, ObjectUIStatsEvents, ObjectUITemplateEvents, PageAppLogoEvents, PageContentEvents, PageFooterEvents, PageHeaderEvents, PaginateEvents, PaginateListEvents, PaneEvents, PasswordEvents, PercentageEvents, PhoneEvents, ProgressBarEvents, ProgressStepsEvents, RadioEvents, RangeSliderEvents, RecordLookupEvents, ReportLoaderEvents, ReportsEvents, ReportShareLoaderEvents, ReportViewerLoaderEvents, ResizableBoardEvents, ResponsiveEvents, SegmentedControlEvents, SelectEvents, SelectableGroupEvents, SelectableMenuEvents, SettingsLoaderEvents, ShowMoreEvents, SignatureEvents, SinEvents, SkeletonEvents, SliderEvents, SnackBarEvents, SpinnerEvents, SplitButtonEvents, SplitPaneEvents, SsnEvents, StatusEvents, StepperEvents, SuperGridEvents, SupportButtonEvents, SurveyEvents, SwitchEvents, TabEvents, TableBasicEvents, TextEvents, TextareaEvents, TextAutoSuggestEvents, TextClipEvents, TextInputEvents, TextSnippetEvents, TimeEvents, TimeRangeEvents, TimezoneEvents, TipEvents, TitleCaptionEvents, ToggleableArrowEvents, TreeEvents, TreeSelectEvents, VideoEvents, VStackEvents, WorkEmailEvents, } from './component-events';
9
9
  export { invalidateSuperGridData, navigate, openChatAssistantWithMessage, pushState, removeState, setState, showNotification, triggerFunction, } from './actions';
10
10
  export type { InvalidateSuperGridDataParams, NavigateParams, OpenChatAssistantWithMessageParams, PushStateParams, RemoveStateParams, SetStateParams, ShowNotificationParams, TriggerFunctionParams, } from './action-params';
11
- export { arrayCompact, arrayFilter, arrayIncludes, arrayMap, arraySome, } from './functions';
12
- export type { ArrayCompactParams, ArrayFilterParams, ArrayIncludesParams, ArrayMapParams, ArraySomeParams, } from './function-params';
11
+ export { arrayCompact, arrayFilter, arrayIncludes, arrayMap, arraySome, formatDate, formatDateTime, formatRelativeTime, formatTime, } from './functions';
12
+ export type { ArrayCompactParams, ArrayFilterParams, ArrayIncludesParams, ArrayMapParams, ArraySomeParams, FormatDateParams, FormatDateTimeParams, FormatRelativeTimeParams, FormatTimeParams, } from './function-params';
13
13
  export { CATALOG_NAME, CATALOG_VERSION, getComponents, getActions, getFunctions, getComputedFunctions, getDefs, getComponent, getComponentMarkdown, getAction, getFunction, validate, } from './catalog';
14
14
  export { render } from './render';
15
15
  export type { CatalogSpec } from './render';
@@ -4,7 +4,7 @@ import { _ as T } from "../../2020-PBERvPzO.js";
4
4
  import { createCatalogSchemaValidator as O } from "../../core/catalog-validation.js";
5
5
  import { renderComponentMarkdown as D } from "../../core/component-markdown.js";
6
6
  import { renderElementTree as k } from "../../core/spec.js";
7
- const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Alert", e), G = (e) => t("Animation", e), z = (e) => t("ApiError", e), V = (e) => t("AppGroupLoader", e), X = (e) => t("AppGroupSelect", e), $ = (e) => t("AppNavBar", e), Y = (e) => t("AtomsSeparator", e), K = (e) => t("Avatar", e), J = (e) => t("AvatarList", e), Q = (e) => t("Badge", e), Z = (e) => t("Box", e), ee = (e) => t("BrandBadge", e), te = (e) => t("Breadcrumb", e), ie = (e) => t("Button", e), oe = (e) => t("ButtonGroup", e), ne = (e) => t("Calendar", e), ae = (e) => t("Card", e), re = (e) => t("CardGroup", e), se = (e) => t("Carousel", e), le = (e) => t("ChartLoader", e), pe = (e) => t("Checkbox", e), ce = (e) => t("CheckboxGroup", e), de = (e) => t("CheckList", e), ue = (e) => t("Chip", e), me = (e) => t("ChipGroup", e), he = (e) => t("Circle", e), ye = (e) => t("ColorPicker", e), ge = (e) => t("ContentLoader", e), fe = (e) => t("CountDown", e), be = (e) => t("Country", e), we = (e) => t("Currency", e), ve = (e) => t("Dashboard", e), Se = (e) => t("Date", e), Ie = (e) => t("DateInlineMulti", e), Ce = (e) => t("DateRange", e), xe = (e) => t("DaySelector", e), Te = (e) => t("DistributionBar", e), Oe = (e) => t("Divider", e), De = (e) => t("DraggableList", e), ke = (e) => t("DraggableListHandle", e), Ae = (e) => t("DraggableListRemove", e), Pe = (e) => t("Drawer", e), Le = (e) => t("Dropdown", e), Re = (e) => t("Email", e), Ee = (e) => t("EmojiPicker", e), Ne = (e) => t("EmployeeSearch", e), Me = (e) => t("ExpansionPanel", e), Be = (e) => t("ExpansionPanelGroup", e), Fe = (e) => t("Field", e), je = (e) => t("File", e), qe = (e) => t("FileDrop", e), _e = (e) => t("FloatingButton", e), Ue = (e) => t("Form", e), We = (e) => t("FormCheckbox", e), He = (e) => t("FormCheckboxGroup", e), Ge = (e) => t("FormContent", e), ze = (e) => t("FormCurrency", e), Ve = (e) => t("FormDate", e), Xe = (e) => t("FormDateRange", e), $e = (e) => t("FormDaySelector", e), Ye = (e) => t("FormEmail", e), Ke = (e) => t("FormEmployeeSearch", e), Je = (e) => t("FormFile", e), Qe = (e) => t("FormFileDrop", e), Ze = (e) => t("FormGroup", e), et = (e) => t("FormGroupHeader", e), tt = (e) => t("FormHidden", e), it = (e) => t("FormInlineGroup", e), ot = (e) => t("FormInputGroup", e), nt = (e) => t("FormMasker", e), at = (e) => t("FormNumber", e), rt = (e) => t("FormPassword", e), st = (e) => t("FormPercentage", e), lt = (e) => t("FormPhone", e), pt = (e) => t("FormRadio", e), ct = (e) => t("FormRecordLookup", e), dt = (e) => t("FormSegmentedControl", e), ut = (e) => t("FormSelect", e), mt = (e) => t("FormSelectableGroup", e), ht = (e) => t("FormSignature", e), yt = (e) => t("FormSin", e), gt = (e) => t("FormSlider", e), ft = (e) => t("FormSsn", e), bt = (e) => t("FormSurvey", e), wt = (e) => t("FormSwitch", e), vt = (e) => t("FormText", e), St = (e) => t("FormTextarea", e), It = (e) => t("FormTextAutoSuggest", e), Ct = (e) => t("FormTime", e), xt = (e) => t("FormTimezone", e), Tt = (e) => t("FormTree", e), Ot = (e) => t("FormTreeSelect", e), Dt = (e) => t("FormWorkEmail", e), kt = (e) => t("Grid", e), At = (e) => t("Heading", e), Pt = (e) => t("Hidden", e), Lt = (e) => t("HStack", e), Rt = (e) => t("Icon", e), Et = (e) => t("IconButton", e), Nt = (e) => t("Image", e), Mt = (e) => t("ImageViewer", e), Bt = (e) => t("InputGroup", e), Ft = (e) => t("Interval", e), jt = (e) => t("ItemNavigator", e), qt = (e) => t("Label", e), _t = (e) => t("LabelGroup", e), Ut = (e) => t("Layout", e), Wt = (e) => t("LayoutCard", e), Ht = (e) => t("Link", e), Gt = (e) => t("ListItem", e), zt = (e) => t("LoaderCard", e), Vt = (e) => t("LocationCard", e), Xt = (e) => t("LottiePlayer", e), $t = (e) => t("Masker", e), Yt = (e) => t("MenuList", e), Kt = (e) => t("Modal", e), Jt = (e) => t("ModalCloseButton", e), Qt = (e) => t("ModalFooter", e), Zt = (e) => t("NestedList", e), ei = (e) => t("Number", e), ti = (e) => t("ObjectListView", e), ii = (e) => t("ObjectUI", e), oi = (e) => t("ObjectUIContent", e), ni = (e) => t("ObjectUIHeader", e), ai = (e) => t("ObjectUIStats", e), ri = (e) => t("ObjectUITemplate", e), si = (e) => t("PageAppLogo", e), li = (e) => t("PageContent", e), pi = (e) => t("PageFooter", e), ci = (e) => t("PageHeader", e), di = (e) => t("Paginate", e), ui = (e) => t("PaginateList", e), mi = (e) => t("Pane", e), hi = (e) => t("Password", e), yi = (e) => t("Percentage", e), gi = (e) => t("Phone", e), fi = (e) => t("ProgressBar", e), bi = (e) => t("ProgressSteps", e), wi = (e) => t("Radio", e), vi = (e) => t("RangeSlider", e), Si = (e) => t("RecordLookup", e), Ii = (e) => t("ReportLoader", e), Ci = (e) => t("Reports", e), xi = (e) => t("ReportShareLoader", e), Ti = (e) => t("ReportViewerLoader", e), Oi = (e) => t("ResizableBoard", e), Di = (e) => t("Responsive", e), ki = (e) => t("SegmentedControl", e), Ai = (e) => t("Select", e), Pi = (e) => t("SelectableGroup", e), Li = (e) => t("SelectableMenu", e), Ri = (e) => t("SettingsLoader", e), Ei = (e) => t("ShowMore", e), Ni = (e) => t("Signature", e), Mi = (e) => t("Sin", e), Bi = (e) => t("Skeleton", e), Fi = (e) => t("Slider", e), ji = (e) => t("SnackBar", e), qi = (e) => t("Spinner", e), _i = (e) => t("SplitButton", e), Ui = (e) => t("SplitPane", e), Wi = (e) => t("Ssn", e), Hi = (e) => t("Status", e), Gi = (e) => t("Stepper", e), zi = (e) => t("SuperGrid", e), Vi = (e) => t("SupportButton", e), Xi = (e) => t("Survey", e), $i = (e) => t("Switch", e), Yi = (e) => t("Tab", e), Ki = (e) => t("TableBasic", e), Ji = (e) => t("Text", e), Qi = (e) => t("Textarea", e), Zi = (e) => t("TextAutoSuggest", e), eo = (e) => t("TextClip", e), to = (e) => t("TextInput", e), io = (e) => t("TextSnippet", e), oo = (e) => t("Time", e), no = (e) => t("TimeRange", e), ao = (e) => t("Timezone", e), ro = (e) => t("Tip", e), so = (e) => t("TitleCaption", e), lo = (e) => t("ToggleableArrow", e), po = (e) => t("Tree", e), co = (e) => t("TreeSelect", e), uo = (e) => t("Video", e), mo = (e) => t("VStack", e), ho = (e) => t("WorkEmail", e), yo = (e, i) => s(
7
+ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Alert", e), z = (e) => t("Animation", e), G = (e) => t("ApiError", e), V = (e) => t("AppGroupLoader", e), X = (e) => t("AppGroupSelect", e), $ = (e) => t("AppNavBar", e), Y = (e) => t("AtomsSeparator", e), K = (e) => t("Avatar", e), J = (e) => t("AvatarList", e), Z = (e) => t("Badge", e), Q = (e) => t("Box", e), ee = (e) => t("BrandBadge", e), te = (e) => t("Breadcrumb", e), ie = (e) => t("Button", e), oe = (e) => t("ButtonGroup", e), ne = (e) => t("Calendar", e), ae = (e) => t("Card", e), re = (e) => t("CardGroup", e), se = (e) => t("Carousel", e), le = (e) => t("ChartLoader", e), pe = (e) => t("Checkbox", e), ce = (e) => t("CheckboxGroup", e), de = (e) => t("CheckList", e), ue = (e) => t("Chip", e), me = (e) => t("ChipGroup", e), he = (e) => t("Circle", e), ye = (e) => t("ColorPicker", e), ge = (e) => t("ContentLoader", e), fe = (e) => t("CountDown", e), be = (e) => t("Country", e), we = (e) => t("Currency", e), ve = (e) => t("Dashboard", e), Se = (e) => t("Date", e), Ie = (e) => t("DateInlineMulti", e), Ce = (e) => t("DateRange", e), xe = (e) => t("DaySelector", e), Te = (e) => t("DistributionBar", e), Oe = (e) => t("Divider", e), De = (e) => t("DraggableList", e), ke = (e) => t("DraggableListHandle", e), Ae = (e) => t("DraggableListRemove", e), Pe = (e) => t("Drawer", e), Le = (e) => t("Dropdown", e), Re = (e) => t("Email", e), Ee = (e) => t("EmojiPicker", e), Ne = (e) => t("EmployeeSearch", e), Me = (e) => t("ExpansionPanel", e), Be = (e) => t("ExpansionPanelGroup", e), Fe = (e) => t("Field", e), je = (e) => t("File", e), qe = (e) => t("FileDrop", e), _e = (e) => t("FloatingButton", e), Ue = (e) => t("Form", e), We = (e) => t("FormCheckbox", e), He = (e) => t("FormCheckboxGroup", e), ze = (e) => t("FormContent", e), Ge = (e) => t("FormCurrency", e), Ve = (e) => t("FormDate", e), Xe = (e) => t("FormDateRange", e), $e = (e) => t("FormDaySelector", e), Ye = (e) => t("FormEmail", e), Ke = (e) => t("FormEmployeeSearch", e), Je = (e) => t("FormFile", e), Ze = (e) => t("FormFileDrop", e), Qe = (e) => t("FormGroup", e), et = (e) => t("FormGroupHeader", e), tt = (e) => t("FormHidden", e), it = (e) => t("FormInlineGroup", e), ot = (e) => t("FormInputGroup", e), nt = (e) => t("FormMasker", e), at = (e) => t("FormNumber", e), rt = (e) => t("FormPassword", e), st = (e) => t("FormPercentage", e), lt = (e) => t("FormPhone", e), pt = (e) => t("FormRadio", e), ct = (e) => t("FormRecordLookup", e), dt = (e) => t("FormSegmentedControl", e), ut = (e) => t("FormSelect", e), mt = (e) => t("FormSelectableGroup", e), ht = (e) => t("FormSignature", e), yt = (e) => t("FormSin", e), gt = (e) => t("FormSlider", e), ft = (e) => t("FormSsn", e), bt = (e) => t("FormSurvey", e), wt = (e) => t("FormSwitch", e), vt = (e) => t("FormText", e), St = (e) => t("FormTextarea", e), It = (e) => t("FormTextAutoSuggest", e), Ct = (e) => t("FormTime", e), xt = (e) => t("FormTimezone", e), Tt = (e) => t("FormTree", e), Ot = (e) => t("FormTreeSelect", e), Dt = (e) => t("FormWorkEmail", e), kt = (e) => t("Grid", e), At = (e) => t("Heading", e), Pt = (e) => t("Hidden", e), Lt = (e) => t("HStack", e), Rt = (e) => t("Icon", e), Et = (e) => t("IconButton", e), Nt = (e) => t("Image", e), Mt = (e) => t("ImageViewer", e), Bt = (e) => t("InputGroup", e), Ft = (e) => t("Interval", e), jt = (e) => t("ItemNavigator", e), qt = (e) => t("Label", e), _t = (e) => t("LabelGroup", e), Ut = (e) => t("Layout", e), Wt = (e) => t("LayoutCard", e), Ht = (e) => t("Link", e), zt = (e) => t("ListItem", e), Gt = (e) => t("LoaderCard", e), Vt = (e) => t("LocationCard", e), Xt = (e) => t("LottiePlayer", e), $t = (e) => t("Masker", e), Yt = (e) => t("MenuList", e), Kt = (e) => t("Modal", e), Jt = (e) => t("ModalCloseButton", e), Zt = (e) => t("ModalFooter", e), Qt = (e) => t("NestedList", e), ei = (e) => t("Number", e), ti = (e) => t("ObjectListView", e), ii = (e) => t("ObjectUI", e), oi = (e) => t("ObjectUIContent", e), ni = (e) => t("ObjectUIHeader", e), ai = (e) => t("ObjectUIStats", e), ri = (e) => t("ObjectUITemplate", e), si = (e) => t("PageAppLogo", e), li = (e) => t("PageContent", e), pi = (e) => t("PageFooter", e), ci = (e) => t("PageHeader", e), di = (e) => t("Paginate", e), ui = (e) => t("PaginateList", e), mi = (e) => t("Pane", e), hi = (e) => t("Password", e), yi = (e) => t("Percentage", e), gi = (e) => t("Phone", e), fi = (e) => t("ProgressBar", e), bi = (e) => t("ProgressSteps", e), wi = (e) => t("Radio", e), vi = (e) => t("RangeSlider", e), Si = (e) => t("RecordLookup", e), Ii = (e) => t("ReportLoader", e), Ci = (e) => t("Reports", e), xi = (e) => t("ReportShareLoader", e), Ti = (e) => t("ReportViewerLoader", e), Oi = (e) => t("ResizableBoard", e), Di = (e) => t("Responsive", e), ki = (e) => t("SegmentedControl", e), Ai = (e) => t("Select", e), Pi = (e) => t("SelectableGroup", e), Li = (e) => t("SelectableMenu", e), Ri = (e) => t("SettingsLoader", e), Ei = (e) => t("ShowMore", e), Ni = (e) => t("Signature", e), Mi = (e) => t("Sin", e), Bi = (e) => t("Skeleton", e), Fi = (e) => t("Slider", e), ji = (e) => t("SnackBar", e), qi = (e) => t("Spinner", e), _i = (e) => t("SplitButton", e), Ui = (e) => t("SplitPane", e), Wi = (e) => t("Ssn", e), Hi = (e) => t("Status", e), zi = (e) => t("Stepper", e), Gi = (e) => t("SuperGrid", e), Vi = (e) => t("SupportButton", e), Xi = (e) => t("Survey", e), $i = (e) => t("Switch", e), Yi = (e) => t("Tab", e), Ki = (e) => t("TableBasic", e), Ji = (e) => t("Text", e), Zi = (e) => t("Textarea", e), Qi = (e) => t("TextAutoSuggest", e), eo = (e) => t("TextClip", e), to = (e) => t("TextInput", e), io = (e) => t("TextSnippet", e), oo = (e) => t("Time", e), no = (e) => t("TimeRange", e), ao = (e) => t("Timezone", e), ro = (e) => t("Tip", e), so = (e) => t("TitleCaption", e), lo = (e) => t("ToggleableArrow", e), po = (e) => t("Tree", e), co = (e) => t("TreeSelect", e), uo = (e) => t("Video", e), mo = (e) => t("VStack", e), ho = (e) => t("WorkEmail", e), yo = (e, i) => s(
8
8
  "invalidateSuperGridData",
9
9
  e,
10
10
  i
@@ -27,7 +27,19 @@ const U = (e) => t("ActionCard", e), W = (e) => t("AiIcon", e), H = (e) => t("Al
27
27
  }), Do = (e) => ({
28
28
  $computed: "array_some",
29
29
  args: e
30
- }), A = "custom-apps", P = "1.11.0", a = {
30
+ }), ko = (e) => ({
31
+ $computed: "format_date",
32
+ args: e
33
+ }), Ao = (e) => ({
34
+ $computed: "format_date_time",
35
+ args: e
36
+ }), Po = (e) => ({
37
+ $computed: "format_relative_time",
38
+ args: e
39
+ }), Lo = (e) => ({
40
+ $computed: "format_time",
41
+ args: e
42
+ }), A = "custom-apps", P = "1.12.0", a = {
31
43
  ActionCard: {
32
44
  description: "Placeholder for states like empty, success, error, and loading, featuring animations, icons, text, and action buttons.",
33
45
  events: ["pressPrimary", "pressSecondary"],
@@ -43874,6 +43886,114 @@ onError (client-side): runs if handler throws. Same format as onSuccess.`,
43874
43886
  $schema: "https://json-schema.org/draft/2020-12/schema",
43875
43887
  type: "boolean"
43876
43888
  }
43889
+ },
43890
+ format_date: {
43891
+ description: "Formats a date using the viewer locale and timezone configured in the client.",
43892
+ paramsSchema: {
43893
+ $schema: "https://json-schema.org/draft/2020-12/schema",
43894
+ additionalProperties: !1,
43895
+ properties: {
43896
+ style: {
43897
+ description: "Date display style. Defaults to medium.",
43898
+ enum: ["short", "medium", "long"],
43899
+ type: "string"
43900
+ },
43901
+ timeZone: {
43902
+ description: "Optional IANA timezone override, for example America/Los_Angeles. Defaults to the viewer timezone configured in the client.",
43903
+ type: "string"
43904
+ },
43905
+ value: {
43906
+ description: "ISO date or date-time string to format.",
43907
+ type: "string"
43908
+ }
43909
+ },
43910
+ required: ["value"],
43911
+ type: "object"
43912
+ },
43913
+ returnsSchema: {
43914
+ $schema: "https://json-schema.org/draft/2020-12/schema",
43915
+ type: "string"
43916
+ }
43917
+ },
43918
+ format_date_time: {
43919
+ description: "Formats a date and time using the viewer locale and timezone configured in the client.",
43920
+ paramsSchema: {
43921
+ $schema: "https://json-schema.org/draft/2020-12/schema",
43922
+ additionalProperties: !1,
43923
+ properties: {
43924
+ dateStyle: {
43925
+ description: "Date display style. Defaults to medium.",
43926
+ enum: ["short", "medium", "long"],
43927
+ type: "string"
43928
+ },
43929
+ timeStyle: {
43930
+ description: "Time display style. Defaults to short.",
43931
+ enum: ["short", "long"],
43932
+ type: "string"
43933
+ },
43934
+ timeZone: {
43935
+ description: "Optional IANA timezone override, for example America/Los_Angeles. Defaults to the viewer timezone configured in the client.",
43936
+ type: "string"
43937
+ },
43938
+ value: {
43939
+ description: "ISO date or date-time string to format.",
43940
+ type: "string"
43941
+ }
43942
+ },
43943
+ required: ["value"],
43944
+ type: "object"
43945
+ },
43946
+ returnsSchema: {
43947
+ $schema: "https://json-schema.org/draft/2020-12/schema",
43948
+ type: "string"
43949
+ }
43950
+ },
43951
+ format_relative_time: {
43952
+ description: "Formats a date as relative time using the viewer locale configured in the client.",
43953
+ paramsSchema: {
43954
+ $schema: "https://json-schema.org/draft/2020-12/schema",
43955
+ additionalProperties: !1,
43956
+ properties: {
43957
+ value: {
43958
+ description: "ISO date or date-time string to format.",
43959
+ type: "string"
43960
+ }
43961
+ },
43962
+ required: ["value"],
43963
+ type: "object"
43964
+ },
43965
+ returnsSchema: {
43966
+ $schema: "https://json-schema.org/draft/2020-12/schema",
43967
+ type: "string"
43968
+ }
43969
+ },
43970
+ format_time: {
43971
+ description: "Formats a time using the viewer locale and timezone configured in the client.",
43972
+ paramsSchema: {
43973
+ $schema: "https://json-schema.org/draft/2020-12/schema",
43974
+ additionalProperties: !1,
43975
+ properties: {
43976
+ style: {
43977
+ description: "Time display style. Defaults to short.",
43978
+ enum: ["short", "long"],
43979
+ type: "string"
43980
+ },
43981
+ timeZone: {
43982
+ description: "Optional IANA timezone override, for example America/Los_Angeles. Defaults to the viewer timezone configured in the client.",
43983
+ type: "string"
43984
+ },
43985
+ value: {
43986
+ description: "ISO date or date-time string to format.",
43987
+ type: "string"
43988
+ }
43989
+ },
43990
+ required: ["value"],
43991
+ type: "object"
43992
+ },
43993
+ returnsSchema: {
43994
+ $schema: "https://json-schema.org/draft/2020-12/schema",
43995
+ type: "string"
43996
+ }
43877
43997
  }
43878
43998
  }, L = {}, w = {
43879
43999
  AppNavBarNavItem: {
@@ -44581,7 +44701,7 @@ onError (client-side): runs if handler throws. Same format as onSuccess.`,
44581
44701
  { field: "relatedComponents", title: "Related components" },
44582
44702
  { field: "subComponents", title: "Sub-components" }
44583
44703
  ];
44584
- function ko() {
44704
+ function Ro() {
44585
44705
  return Object.fromEntries(
44586
44706
  Object.entries(a).map(([e, i]) => [
44587
44707
  e,
@@ -44589,7 +44709,7 @@ function ko() {
44589
44709
  ])
44590
44710
  );
44591
44711
  }
44592
- function Ao() {
44712
+ function Eo() {
44593
44713
  return Object.fromEntries(
44594
44714
  Object.entries(m).map(([e, i]) => [
44595
44715
  e,
@@ -44597,7 +44717,7 @@ function Ao() {
44597
44717
  ])
44598
44718
  );
44599
44719
  }
44600
- function Po() {
44720
+ function No() {
44601
44721
  return Object.fromEntries(
44602
44722
  Object.entries(u).map(([e, i]) => [
44603
44723
  e,
@@ -44605,13 +44725,13 @@ function Po() {
44605
44725
  ])
44606
44726
  );
44607
44727
  }
44608
- function Lo() {
44728
+ function Mo() {
44609
44729
  return u;
44610
44730
  }
44611
- function Ro() {
44731
+ function Bo() {
44612
44732
  return w;
44613
44733
  }
44614
- function Eo(e) {
44734
+ function Fo(e) {
44615
44735
  if (!Object.hasOwn(a, e))
44616
44736
  throw new Error(
44617
44737
  `Unknown component '${e}'. Available: ${Object.keys(a).join(", ")}`
@@ -44619,7 +44739,7 @@ function Eo(e) {
44619
44739
  const i = { ...a[e] };
44620
44740
  return delete i.example, i;
44621
44741
  }
44622
- function No(e) {
44742
+ function jo(e) {
44623
44743
  if (!Object.hasOwn(a, e))
44624
44744
  throw new Error(
44625
44745
  `Unknown component '${e}'. Available: ${Object.keys(a).join(", ")}`
@@ -44630,14 +44750,14 @@ function No(e) {
44630
44750
  R
44631
44751
  );
44632
44752
  }
44633
- function Mo(e) {
44753
+ function qo(e) {
44634
44754
  if (!(e in m))
44635
44755
  throw new Error(
44636
44756
  `Unknown action '${e}'. Available: ${Object.keys(m).join(", ")}`
44637
44757
  );
44638
44758
  return m[e];
44639
44759
  }
44640
- function Bo(e) {
44760
+ function _o(e) {
44641
44761
  if (!(e in u))
44642
44762
  throw new Error(
44643
44763
  `Unknown function '${e}'. Available: ${Object.keys(u).join(", ")}`
@@ -44668,7 +44788,7 @@ const b = O({
44668
44788
  supportsStandardDirectives: !0,
44669
44789
  validateSchema: v
44670
44790
  });
44671
- function Fo(e) {
44791
+ function Uo(e) {
44672
44792
  const i = [], d = e.elements ?? {}, c = e.root;
44673
44793
  c && !(c in d) && i.push(`Root element '${c}' not found in elements map`);
44674
44794
  for (const [n, l] of Object.entries(d)) {
@@ -44706,7 +44826,7 @@ function Fo(e) {
44706
44826
  }
44707
44827
  return i;
44708
44828
  }
44709
- function jo(e) {
44829
+ function Wo(e) {
44710
44830
  return {
44711
44831
  ...k(e.root, e.state),
44712
44832
  platform: "web",
@@ -44718,16 +44838,16 @@ export {
44718
44838
  U as ActionCard,
44719
44839
  W as AiIcon,
44720
44840
  H as Alert,
44721
- G as Animation,
44722
- z as ApiError,
44841
+ z as Animation,
44842
+ G as ApiError,
44723
44843
  V as AppGroupLoader,
44724
44844
  X as AppGroupSelect,
44725
44845
  $ as AppNavBar,
44726
44846
  Y as AtomsSeparator,
44727
44847
  K as Avatar,
44728
44848
  J as AvatarList,
44729
- Q as Badge,
44730
- Z as Box,
44849
+ Z as Badge,
44850
+ Q as Box,
44731
44851
  ee as BrandBadge,
44732
44852
  te as Breadcrumb,
44733
44853
  ie as Button,
@@ -44774,16 +44894,16 @@ export {
44774
44894
  Ue as Form,
44775
44895
  We as FormCheckbox,
44776
44896
  He as FormCheckboxGroup,
44777
- Ge as FormContent,
44778
- ze as FormCurrency,
44897
+ ze as FormContent,
44898
+ Ge as FormCurrency,
44779
44899
  Ve as FormDate,
44780
44900
  Xe as FormDateRange,
44781
44901
  $e as FormDaySelector,
44782
44902
  Ye as FormEmail,
44783
44903
  Ke as FormEmployeeSearch,
44784
44904
  Je as FormFile,
44785
- Qe as FormFileDrop,
44786
- Ze as FormGroup,
44905
+ Ze as FormFileDrop,
44906
+ Qe as FormGroup,
44787
44907
  et as FormGroupHeader,
44788
44908
  tt as FormHidden,
44789
44909
  it as FormInlineGroup,
@@ -44828,16 +44948,16 @@ export {
44828
44948
  Ut as Layout,
44829
44949
  Wt as LayoutCard,
44830
44950
  Ht as Link,
44831
- Gt as ListItem,
44832
- zt as LoaderCard,
44951
+ zt as ListItem,
44952
+ Gt as LoaderCard,
44833
44953
  Vt as LocationCard,
44834
44954
  Xt as LottiePlayer,
44835
44955
  $t as Masker,
44836
44956
  Yt as MenuList,
44837
44957
  Kt as Modal,
44838
44958
  Jt as ModalCloseButton,
44839
- Qt as ModalFooter,
44840
- Zt as NestedList,
44959
+ Zt as ModalFooter,
44960
+ Qt as NestedList,
44841
44961
  ei as Number,
44842
44962
  ti as ObjectListView,
44843
44963
  ii as ObjectUI,
@@ -44882,19 +45002,19 @@ export {
44882
45002
  Ui as SplitPane,
44883
45003
  Wi as Ssn,
44884
45004
  Hi as Status,
44885
- Gi as Stepper,
44886
- zi as SuperGrid,
45005
+ zi as Stepper,
45006
+ Gi as SuperGrid,
44887
45007
  Vi as SupportButton,
44888
45008
  Xi as Survey,
44889
45009
  $i as Switch,
44890
45010
  Yi as Tab,
44891
45011
  Ki as TableBasic,
44892
45012
  Ji as Text,
44893
- Zi as TextAutoSuggest,
45013
+ Qi as TextAutoSuggest,
44894
45014
  eo as TextClip,
44895
45015
  to as TextInput,
44896
45016
  io as TextSnippet,
44897
- Qi as Textarea,
45017
+ Zi as Textarea,
44898
45018
  oo as Time,
44899
45019
  no as TimeRange,
44900
45020
  ao as Timezone,
@@ -44911,24 +45031,28 @@ export {
44911
45031
  To as arrayIncludes,
44912
45032
  Oo as arrayMap,
44913
45033
  Do as arraySome,
44914
- Mo as getAction,
44915
- Ao as getActions,
44916
- Eo as getComponent,
44917
- No as getComponentMarkdown,
44918
- ko as getComponents,
44919
- Lo as getComputedFunctions,
44920
- Ro as getDefs,
44921
- Bo as getFunction,
44922
- Po as getFunctions,
45034
+ ko as formatDate,
45035
+ Ao as formatDateTime,
45036
+ Po as formatRelativeTime,
45037
+ Lo as formatTime,
45038
+ qo as getAction,
45039
+ Eo as getActions,
45040
+ Fo as getComponent,
45041
+ jo as getComponentMarkdown,
45042
+ Ro as getComponents,
45043
+ Mo as getComputedFunctions,
45044
+ Bo as getDefs,
45045
+ _o as getFunction,
45046
+ No as getFunctions,
44923
45047
  yo as invalidateSuperGridData,
44924
45048
  go as navigate,
44925
45049
  fo as openChatAssistantWithMessage,
44926
45050
  bo as pushState,
44927
45051
  wo as removeState,
44928
- jo as render,
45052
+ Wo as render,
44929
45053
  vo as setState,
44930
45054
  So as showNotification,
44931
45055
  Io as triggerFunction,
44932
- Fo as validate
45056
+ Uo as validate
44933
45057
  };
44934
45058
  //# sourceMappingURL=index.js.map