@rippling/pebble-sdui-mobile 0.19.0 → 1.0.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.
@@ -4,10 +4,10 @@
4
4
  * Auto-generated from catalogs/custom-apps.catalog.json — do not edit.
5
5
  */
6
6
  export { ActionCard, ActionSheet, Anchor, Animation, Avatar, AvatarStack, Badge, Button, Card, Checkbox, CheckboxGroup, Chip, Country, Currency, Date, DateRange, DateTimePicker, Divider, Email, ExpansionPanel, FileViewerButton, FileViewerPressable, FloatingButton, Form, Group, Hidden, HStack, Icon, Image, InputText, Label, List, ListItem, ModalSheet, Notice, Number, ObjectFooter, ObjectItem, ObjectListView, ObjectListViewCard, PageCondensedFooter, PageCondensedHeader, PageContent, PageFilterHeader, PageFooter, PageHeader, PageModalActionHeader, Password, Percentage, Phone, Pressable, ProgressIndicator, Radio, RadioGroup, Search, SectionHeader, Select, SelectChips, Signature, Sin, Slider, SliderRange, SnackBar, Spacer, Spinner, Ssn, Status, StatusBar, Switch, Tabs, Text, Textarea, Time, TimeRange, Tip, VStack, Widget, WorkEmail, } from './components';
7
- export type { ActionCardPrimaryAction, ActionCardProps, ActionCardSecondaryAction, ActionSheetAction, ActionSheetAvatar, ActionSheetHeader, ActionSheetOption, ActionSheetParam, ActionSheetProps, AlignItemsValue, AlignSelfValue, AlignmentValue, AnchorProps, AnimationProps, AppearanceValue, Asset, AvatarHeader, AvatarProps, AvatarSizeValue, AvatarSource, AvatarStackAvatar, AvatarStackHeader, AvatarStackProps, AvatarStackSource, BadgeProps, ButtonProp, ButtonProps, ButtonStyle, CardProps, CheckboxArg, CheckboxCheck, CheckboxGroupOption, CheckboxGroupProps, CheckboxProps, ChipProps, ColorValue, ContentFitValue, CountryProps, CurrencyArg, CurrencyCheck, CurrencyProps, Data, DateProps, DateRangeProps, DateTimeAddParamsOption, DateTimeFormatParamsOption, DateTimePickerProps, DismissAction, DisplayValue, DividerProps, DomainList, DomainListVariant2, Duration, EmailArg, EmailCheck, EmailProps, ExpansionPanelElement, ExpansionPanelProps, ExpansionPanelState, FileViewerButtonFile, FileViewerButtonProps, FileViewerButtonStyle, FileViewerPressableFile, FileViewerPressableProps, FileViewerPressableStyle, FlexDirectionValue, FlexWrapValue, FloatingButtonProps, FontStyleValue, FontWeightValue, FormProps, FormStyle, GroupProps, HStackProps, HapticValue, HeaderLeft, HeaderRight, HiddenProps, IconProps, IconValue, ImageHeader, ImageProps, ImageSource, ImageStyle, InputTextArg, InputTextCheck, InputTextProps, Item, JustifyContentValue, LabelProps, Left, Lh, ListItemElement, ListItemProps, ListItemRight, ListItemState, ListProps, ListValue, Meta, ModalSheetElement, ModalSheetHeader, ModalSheetProps, ModalSheetState, NavigateParamsParam, NoticePrimaryAction, NoticeProps, NoticeSecondaryAction, NumberArg, NumberCheck, NumberProps, ObjectFooterProps, ObjectItemElement, ObjectItemProps, ObjectItemState, ObjectListViewCardProps, ObjectListViewProps, OpacityValue, OverflowValue, PageCondensedFooterAction, PageCondensedFooterProps, PageCondensedHeaderElement, PageCondensedHeaderProps, PageCondensedHeaderRight, PageCondensedHeaderState, PageContentProps, PageFilterHeaderProps, PageFooterAction, PageFooterProps, PageHeaderElement, PageHeaderProps, PageHeaderRight, PageHeaderState, PageModalActionHeaderProps, PageModalActionHeaderRight, PasswordArg, PasswordCheck, PasswordProps, Payload, PercentageArg, PercentageCheck, PercentageProps, PhoneArg, PhoneCheck, PhoneProps, PositionValue, Prefix, PressableProp, PressableProps, PressableStyle, Primary, ProgressIndicatorProps, PushParamsParam, RadioArg, RadioCheck, RadioGroupOption, RadioGroupProps, RadioProps, Rh, SearchProps, Secondary, SectionHeaderProps, SelectChipsOption, SelectChipsProps, SelectOption, SelectProps, ShapeBorderWidthValue, ShapeCornerValue, SignatureProps, SinArg, SinCheck, SinProps, SizeValue, SliderProps, SliderRangeProps, SnackBarAction, SnackBarProps, SpaceValue, SpacerProps, SpinnerProps, SsnArg, SsnCheck, SsnProps, StatusBarProps, StatusProps, SwitchProps, TabsProps, TextAlignValue, TextAlignVerticalValue, TextDecorationLineValue, TextDecorationStyleValue, TextProps, TextStyle, TextTransformValue, TextareaArg, TextareaCheck, TextareaProps, TimeProps, TimeRangeProps, TipProps, Token, TypeValue, TypestyleValue, UnderlayAppearanceValue, VStackProps, ValidateOnValue, VariantValue, WidgetAction, WidgetElement, WidgetProps, WidgetState, WorkEmailArg, WorkEmailCheck, WorkEmailProps, WritingDirectionValue, } from './component-props';
7
+ export type { ActionCardPrimaryAction, ActionCardProps, ActionCardSecondaryAction, ActionSheetAction, ActionSheetAvatar, ActionSheetHeader, ActionSheetOption, ActionSheetParam, ActionSheetProps, AlignItemsValue, AlignSelfValue, AlignmentValue, AnchorProps, AnimationProps, AppearanceValue, Asset, AvatarHeader, AvatarProps, AvatarSizeValue, AvatarSource, AvatarStackAvatar, AvatarStackHeader, AvatarStackProps, AvatarStackSource, BadgeProps, ButtonProp, ButtonProps, ButtonStyle, CardProps, CheckboxArg, CheckboxCheck, CheckboxGroupOption, CheckboxGroupProps, CheckboxProps, ChipProps, ColorValue, ContentFitValue, CountryProps, CurrencyArg, CurrencyCheck, CurrencyProps, Data, DateProps, DateRangeProps, DateTimeAddParamsOption, DateTimeFormatParamsOption, DateTimePickerProps, DismissAction, DisplayValue, DividerProps, DomainList, DomainListVariant2, Duration, EmailArg, EmailCheck, EmailProps, ExpansionPanelElement, ExpansionPanelProps, ExpansionPanelState, FileViewerButtonFile, FileViewerButtonProps, FileViewerButtonStyle, FileViewerPressableFile, FileViewerPressableProps, FileViewerPressableStyle, FlexDirectionValue, FlexWrapValue, FloatingButtonProps, FontStyleValue, FontWeightValue, FormProps, FormStyle, GroupProps, HStackProps, HapticValue, HeaderLeft, HeaderRight, HiddenProps, IconProps, IconValue, ImageHeader, ImageProps, ImageSource, ImageStyle, Input, InputTextArg, InputTextCheck, InputTextProps, Item, JustifyContentValue, LabelProps, Left, Lh, ListItemElement, ListItemProps, ListItemRight, ListItemState, ListProps, ListValue, Meta, ModalSheetElement, ModalSheetHeader, ModalSheetProps, ModalSheetState, NavigateParamsParam, NoticePrimaryAction, NoticeProps, NoticeSecondaryAction, NumberArg, NumberCheck, NumberProps, ObjectFooterProps, ObjectItemElement, ObjectItemProps, ObjectItemState, ObjectListViewCardProps, ObjectListViewProps, OpacityValue, OverflowValue, PageCondensedFooterAction, PageCondensedFooterProps, PageCondensedHeaderElement, PageCondensedHeaderProps, PageCondensedHeaderRight, PageCondensedHeaderState, PageContentProps, PageFilterHeaderProps, PageFooterAction, PageFooterProps, PageHeaderElement, PageHeaderProps, PageHeaderRight, PageHeaderState, PageModalActionHeaderProps, PageModalActionHeaderRight, PasswordArg, PasswordCheck, PasswordProps, PercentageArg, PercentageCheck, PercentageProps, PhoneArg, PhoneCheck, PhoneProps, PositionValue, Prefix, PressableProp, PressableProps, PressableStyle, Primary, ProgressIndicatorProps, PushParamsParam, RadioArg, RadioCheck, RadioGroupOption, RadioGroupProps, RadioProps, Rh, SearchProps, Secondary, SectionHeaderProps, SelectChipsOption, SelectChipsProps, SelectOption, SelectProps, ShapeBorderWidthValue, ShapeCornerValue, SignatureProps, SinArg, SinCheck, SinProps, SizeValue, SliderProps, SliderRangeProps, SnackBarAction, SnackBarProps, SpaceValue, SpacerProps, SpinnerProps, SsnArg, SsnCheck, SsnProps, StatusBarProps, StatusProps, SwitchProps, TabsProps, TextAlignValue, TextAlignVerticalValue, TextDecorationLineValue, TextDecorationStyleValue, TextProps, TextStyle, TextTransformValue, TextareaArg, TextareaCheck, TextareaProps, TimeProps, TimeRangeProps, TipProps, Token, TypeValue, TypestyleValue, UnderlayAppearanceValue, VStackProps, ValidateOnValue, VariantValue, WidgetAction, WidgetElement, WidgetProps, WidgetState, WorkEmailArg, WorkEmailCheck, WorkEmailProps, WritingDirectionValue, } from './component-props';
8
8
  export type { ActionCardEvents, ActionSheetEvents, AnchorEvents, AnimationEvents, AvatarEvents, AvatarStackEvents, BadgeEvents, ButtonEvents, CardEvents, CheckboxEvents, CheckboxGroupEvents, ChipEvents, CountryEvents, CurrencyEvents, DateEvents, DateRangeEvents, DateTimePickerEvents, DividerEvents, EmailEvents, ExpansionPanelEvents, FileViewerButtonEvents, FileViewerPressableEvents, FloatingButtonEvents, FormEvents, GroupEvents, HiddenEvents, HStackEvents, IconEvents, ImageEvents, InputTextEvents, LabelEvents, ListEvents, ListItemEvents, ModalSheetEvents, NoticeEvents, NumberEvents, ObjectFooterEvents, ObjectItemEvents, ObjectListViewEvents, ObjectListViewCardEvents, PageCondensedFooterEvents, PageCondensedHeaderEvents, PageContentEvents, PageFilterHeaderEvents, PageFooterEvents, PageHeaderEvents, PageModalActionHeaderEvents, PasswordEvents, PercentageEvents, PhoneEvents, PressableEvents, ProgressIndicatorEvents, RadioEvents, RadioGroupEvents, SearchEvents, SectionHeaderEvents, SelectEvents, SelectChipsEvents, SignatureEvents, SinEvents, SliderEvents, SliderRangeEvents, SnackBarEvents, SpacerEvents, SpinnerEvents, SsnEvents, StatusEvents, StatusBarEvents, SwitchEvents, TabsEvents, TextEvents, TextareaEvents, TimeEvents, TimeRangeEvents, TipEvents, VStackEvents, WidgetEvents, WorkEmailEvents, } from './component-events';
9
- export { copyToClipboard, goBack, linking_openURL, navigate, openChatAssistantWithMessage, push, setState, triggerApi, } from './actions';
10
- export type { CopyToClipboardParams, GoBackParams, Linking_openURLParams, NavigateParams, OpenChatAssistantWithMessageParams, PushParams, SetStateParams, TriggerApiParams, } from './action-params';
9
+ export { copyToClipboard, goBack, linking_openURL, navigate, openChatAssistantWithMessage, push, setState, triggerFunction, } from './actions';
10
+ export type { CopyToClipboardParams, GoBackParams, Linking_openURLParams, NavigateParams, OpenChatAssistantWithMessageParams, PushParams, SetStateParams, TriggerFunctionParams, } from './action-params';
11
11
  export { currencyFormat, currencyGetCurrencyCodeByCountryCode, currencyGetCurrencyNameByCode, currencyGetCurrencySymbol, currencyIsConvertableToCurrency, currencyToMoney, dateTimeAdd, dateTimeFormat, platformIsAndroid, platformIsIOS, } from './functions';
12
12
  export type { CurrencyFormatParams, CurrencyGetCurrencyCodeByCountryCodeParams, CurrencyGetCurrencyNameByCodeParams, CurrencyGetCurrencySymbolParams, CurrencyIsConvertableToCurrencyParams, CurrencyToMoneyParams, DateTimeAddParams, DateTimeFormatParams, PlatformIsAndroidParams, PlatformIsIOSParams, } from './function-params';
13
13
  export { CATALOG_NAME, CATALOG_VERSION, getComponents, getActions, getFunctions, getComputedFunctions, getDefs, getComponent, getComponentMarkdown, getAction, getFunction, validate, } from './catalog';
@@ -7,7 +7,7 @@ const uu = (e) => P("ActionCard", e), fu = (e) => P("ActionSheet", e), hu = (e)
7
7
  "openChatAssistantWithMessage",
8
8
  e,
9
9
  t
10
- ), Bf = (e, t) => ve("push", e, t), qf = (e, t) => ve("setState", e, t), Hf = (e, t) => ve("triggerApi", e, t), Wf = (e) => ({
10
+ ), Bf = (e, t) => ve("push", e, t), qf = (e, t) => ve("setState", e, t), Hf = (e, t) => ve("triggerFunction", e, t), Wf = (e) => ({
11
11
  $computed: "currency_format",
12
12
  args: e
13
13
  }), Uf = (e) => ({
@@ -5022,7 +5022,7 @@ ci.default = Qp;
5022
5022
  } });
5023
5023
  })(tr, tr.exports);
5024
5024
  var eu = tr.exports;
5025
- const tu = "custom-apps", ru = "1.12.0", pe = {
5025
+ const tu = "custom-apps", ru = "2.0.1", pe = {
5026
5026
  ActionCard: {
5027
5027
  description: "Card with icon asset, title, caption, and action buttons",
5028
5028
  events: ["primaryAction", "secondaryAction"],
@@ -13317,22 +13317,27 @@ The value may use $state or $computed expressions. This is useful for deriving v
13317
13317
  type: "object"
13318
13318
  }
13319
13319
  },
13320
- triggerApi: {
13321
- description: "Call a Rippling internal API endpoint and optionally store its response in SDUI state.",
13322
- docs: '`url` (required): relative Rippling path beginning with a single "/". Absolute and protocol-relative URLs are rejected.\n`method` (optional): "GET" or "POST"; defaults to "POST".\n`payload` (optional): query parameters for GET or the JSON body for POST.\n`responsePath` (optional): state path where the response body is stored.\n`errorPath` (optional): on failure, stores `{ status, message }`; a later success clears it to `null`.\n`onSuccess` / `onError` (optional): action lifecycle configuration matching the web SDUI helper.',
13320
+ triggerFunction: {
13321
+ description: "Invoke a Rippling Function by API name.",
13322
+ docs: "`functionApiName` (required): API name of the Function to invoke.\n`inputs` (required): function inputs. Must include an `action` string; additional keys are sent to the Function.\n`responsePath` (optional): state path where the Function response body is stored.\n`onSuccess` / `onError` (optional): action lifecycle configuration.",
13323
13323
  paramsSchema: {
13324
13324
  $schema: "https://json-schema.org/draft/2020-12/schema",
13325
13325
  additionalProperties: !1,
13326
13326
  properties: {
13327
- errorPath: {
13328
- description: "State path where a structured { status, message } error is stored.",
13327
+ functionApiName: {
13328
+ description: "API name of the Rippling Function to invoke.",
13329
13329
  type: "string"
13330
13330
  },
13331
- method: {
13332
- default: "POST",
13333
- description: "HTTP method. Defaults to POST.",
13334
- enum: ["GET", "POST"],
13335
- type: "string"
13331
+ inputs: {
13332
+ additionalProperties: !0,
13333
+ description: "Function inputs. Must include an action string.",
13334
+ properties: {
13335
+ action: {
13336
+ type: "string"
13337
+ }
13338
+ },
13339
+ required: ["action"],
13340
+ type: "object"
13336
13341
  },
13337
13342
  onError: {
13338
13343
  description: "Action lifecycle configuration run after a failed call."
@@ -13340,22 +13345,12 @@ The value may use $state or $computed expressions. This is useful for deriving v
13340
13345
  onSuccess: {
13341
13346
  description: "Action lifecycle configuration run after a successful call."
13342
13347
  },
13343
- payload: {
13344
- additionalProperties: !0,
13345
- description: "POST body or GET query parameters. Defaults to an empty object for POST.",
13346
- type: "object"
13347
- },
13348
13348
  responsePath: {
13349
- description: "State path where the successful response body is stored.",
13350
- type: "string"
13351
- },
13352
- url: {
13353
- description: "Relative Rippling API path. Absolute and protocol-relative URLs are not allowed.",
13354
- pattern: "^/(?!/)",
13349
+ description: "State path where the function response body is stored.",
13355
13350
  type: "string"
13356
13351
  }
13357
13352
  },
13358
- required: ["url"],
13353
+ required: ["functionApiName", "inputs"],
13359
13354
  type: "object"
13360
13355
  }
13361
13356
  }
@@ -14198,7 +14193,6 @@ The value may use $state or $computed expressions. This is useful for deriving v
14198
14193
  "eAttach",
14199
14194
  "eBold",
14200
14195
  "eCodeEmbed",
14201
- "eFontColor",
14202
14196
  "eFontColor1",
14203
14197
  "eFontSize",
14204
14198
  "eIndentDecrease",
@@ -14301,8 +14295,9 @@ The value may use $state or $computed expressions. This is useful for deriving v
14301
14295
  "folderFilled",
14302
14296
  "folderOpen",
14303
14297
  "folderOutline",
14298
+ "folderSparkleFilled",
14299
+ "folderSparkleOutline",
14304
14300
  "fontColor",
14305
- "fontColorFilled",
14306
14301
  "fontHighlightFilled",
14307
14302
  "fontHighlightOutline",
14308
14303
  "forward10Seconds",
@@ -14537,6 +14532,7 @@ The value may use $state or $computed expressions. This is useful for deriving v
14537
14532
  "markAsStolenOutline",
14538
14533
  "marketingAndAdvertisingFilled",
14539
14534
  "marketingAndAdvertisingOutline",
14535
+ "mcpLogo",
14540
14536
  "mealsFilled",
14541
14537
  "mealsOutline",
14542
14538
  "mealsSnacksDrinksFilled",
@@ -14612,6 +14608,8 @@ The value may use $state or $computed expressions. This is useful for deriving v
14612
14608
  "pageHeaderOutline",
14613
14609
  "paidSeatSelectionFilled",
14614
14610
  "paidSeatSelectionOutline",
14611
+ "paintPaletteFilled",
14612
+ "paintPaletteOutline",
14615
14613
  "paintRollerFilled",
14616
14614
  "paintRollerOutline",
14617
14615
  "panelCollapseVerticalFilled",
@@ -14796,6 +14794,8 @@ The value may use $state or $computed expressions. This is useful for deriving v
14796
14794
  "ripplingRecommendedOutline",
14797
14795
  "riskFilled",
14798
14796
  "riskOutline",
14797
+ "robotFilled",
14798
+ "robotOutline",
14799
14799
  "roiFilled",
14800
14800
  "roiOutline",
14801
14801
  "roleMini",
@@ -14818,6 +14818,8 @@ The value may use $state or $computed expressions. This is useful for deriving v
14818
14818
  "scaleOutline",
14819
14819
  "scaleOutlined",
14820
14820
  "scatterChart",
14821
+ "scrollFilled",
14822
+ "scrollOutline",
14821
14823
  "searchFilled",
14822
14824
  "searchOutline",
14823
14825
  "seatBasicFilled",
@@ -14900,6 +14902,7 @@ The value may use $state or $computed expressions. This is useful for deriving v
14900
14902
  "sortDescendingMini",
14901
14903
  "soundFilled",
14902
14904
  "soundOutline",
14905
+ "sparkleText",
14903
14906
  "speachBoxLabelFilled",
14904
14907
  "speachBoxLabelOutline",
14905
14908
  "spellCheck",
@@ -15716,7 +15719,7 @@ export {
15716
15719
  Bf as push,
15717
15720
  ph as render,
15718
15721
  qf as setState,
15719
- Hf as triggerApi,
15722
+ Hf as triggerFunction,
15720
15723
  ch as validate
15721
15724
  };
15722
15725
  //# sourceMappingURL=index.js.map