@rippling/pebble-sdui-web 0.8.0 → 0.9.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.
- package/dist/catalogs/ai_gateway/action-params.d.ts +5 -0
- package/dist/catalogs/ai_gateway/actions.d.ts +5 -0
- package/dist/catalogs/ai_gateway/catalog.d.ts +33 -0
- package/dist/catalogs/ai_gateway/component-events.d.ts +6 -0
- package/dist/catalogs/ai_gateway/component-props.d.ts +51 -0
- package/dist/catalogs/ai_gateway/components.d.ts +7 -0
- package/dist/catalogs/ai_gateway/function-params.d.ts +5 -0
- package/dist/catalogs/ai_gateway/functions.d.ts +5 -0
- package/dist/catalogs/ai_gateway/index.cjs +2 -0
- package/dist/catalogs/ai_gateway/index.cjs.map +1 -0
- package/dist/catalogs/ai_gateway/index.d.ts +11 -0
- package/dist/catalogs/ai_gateway/index.js +366 -0
- package/dist/catalogs/ai_gateway/index.js.map +1 -0
- package/dist/catalogs/ai_gateway/render.d.ts +20 -0
- package/dist/catalogs/custom-apps/action-params.d.ts +4 -0
- package/dist/catalogs/custom-apps/actions.d.ts +2 -1
- package/dist/catalogs/custom-apps/component-events.d.ts +15 -14
- package/dist/catalogs/custom-apps/component-props.d.ts +960 -219
- package/dist/catalogs/custom-apps/components.d.ts +4 -3
- package/dist/catalogs/custom-apps/index.cjs +3 -2
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +5 -5
- package/dist/catalogs/custom-apps/index.js +5725 -1400
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/web/catalogs/ai_gateway/actions.md +6 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/components.md +31 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/computed-functions.md +6 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/definitions.md +6 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/readme.md +16 -0
- package/dist/docs/typescript/web/catalogs/ai_gateway/types.md +75 -0
- package/dist/docs/typescript/web/catalogs/custom-apps/actions.md +28 -0
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +433 -287
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +250 -288
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1307 -157
- package/package.json +6 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementNode } from '../../core/elements';
|
|
2
|
+
import { CoreSpec } from '../../core/spec';
|
|
3
|
+
export interface CatalogSpec extends CoreSpec {
|
|
4
|
+
platform: 'web';
|
|
5
|
+
catalog: string;
|
|
6
|
+
catalogVersion: string;
|
|
7
|
+
}
|
|
8
|
+
type CatalogElementNode = ElementNode<'web', 'ai_gateway'>;
|
|
9
|
+
/**
|
|
10
|
+
* Render an element tree into a flat json-render spec tagged with
|
|
11
|
+
* the ai_gateway catalog name and version.
|
|
12
|
+
*
|
|
13
|
+
* This is the catalog-level render — consumers import this instead
|
|
14
|
+
* of using createSpec().render() directly.
|
|
15
|
+
*/
|
|
16
|
+
export declare function render<TState extends object = Record<string, unknown>>(opts: {
|
|
17
|
+
root: CatalogElementNode;
|
|
18
|
+
state?: TState;
|
|
19
|
+
}): CatalogSpec;
|
|
20
|
+
export {};
|
|
@@ -7,6 +7,10 @@ export interface NavigateParams {
|
|
|
7
7
|
openInNewTab?: boolean;
|
|
8
8
|
path: string;
|
|
9
9
|
}
|
|
10
|
+
export interface OpenChatAssistantWithMessageParams {
|
|
11
|
+
target?: 'sidepane' | 'fullscreen' | 'copilot';
|
|
12
|
+
text: string;
|
|
13
|
+
}
|
|
10
14
|
export interface PushStateParams {
|
|
11
15
|
clearStatePath?: string;
|
|
12
16
|
statePath: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ActionBinding, ActionOptions } from '../../core/action-utils';
|
|
2
2
|
import { WrapWithActionParamValue } from '../../core/expressions';
|
|
3
|
-
import { NavigateParams, PushStateParams, RemoveStateParams, SetStateParams, ShowNotificationParams, TriggerFunctionParams } from './action-params';
|
|
3
|
+
import { NavigateParams, OpenChatAssistantWithMessageParams, PushStateParams, RemoveStateParams, SetStateParams, ShowNotificationParams, TriggerFunctionParams } from './action-params';
|
|
4
4
|
export declare const navigate: (params: WrapWithActionParamValue<NavigateParams>, options?: ActionOptions) => ActionBinding;
|
|
5
|
+
export declare const openChatAssistantWithMessage: (params: WrapWithActionParamValue<OpenChatAssistantWithMessageParams>, options?: ActionOptions) => ActionBinding;
|
|
5
6
|
export declare const pushState: (params: WrapWithActionParamValue<PushStateParams>, options?: ActionOptions) => ActionBinding;
|
|
6
7
|
export declare const removeState: (params: WrapWithActionParamValue<RemoveStateParams>, options?: ActionOptions) => ActionBinding;
|
|
7
8
|
export declare const setState: (params: WrapWithActionParamValue<SetStateParams>, options?: ActionOptions) => ActionBinding;
|
|
@@ -20,7 +20,7 @@ export type BrandBadgeEvents = never;
|
|
|
20
20
|
export type BreadcrumbEvents = 'select';
|
|
21
21
|
export type ButtonEvents = 'press' | 'pressWhileDisabled' | 'mouseEnter' | 'mouseLeave';
|
|
22
22
|
export type ButtonGroupEvents = never;
|
|
23
|
-
export type CalendarEvents = 'click' | 'clear';
|
|
23
|
+
export type CalendarEvents = 'click' | 'clear' | 'confirmMobile';
|
|
24
24
|
export type CardEvents = 'edit' | 'delete' | 'add' | 'click' | 'action';
|
|
25
25
|
export type CardGroupEvents = never;
|
|
26
26
|
export type CarouselEvents = 'done';
|
|
@@ -32,7 +32,6 @@ export type ChipEvents = 'dismiss' | 'press';
|
|
|
32
32
|
export type ChipGroupEvents = 'overflowChange';
|
|
33
33
|
export type CircleEvents = never;
|
|
34
34
|
export type ColorPickerEvents = 'change' | 'blur';
|
|
35
|
-
export type CommentsEvents = 'commentChainCreation' | 'commentAddition' | 'commentEdit' | 'commentRemoval';
|
|
36
35
|
export type ContentLoaderEvents = never;
|
|
37
36
|
export type CountDownEvents = never;
|
|
38
37
|
export type CountryEvents = never;
|
|
@@ -45,17 +44,17 @@ export type DistributionBarEvents = never;
|
|
|
45
44
|
export type DividerEvents = never;
|
|
46
45
|
export type DraggableListEvents = 'update' | 'remove' | 'dragStart' | 'dragEnd';
|
|
47
46
|
export type DrawerEvents = 'close';
|
|
48
|
-
export type DropdownEvents = 'change';
|
|
47
|
+
export type DropdownEvents = 'change' | 'toggle';
|
|
49
48
|
export type EmailEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave';
|
|
50
49
|
export type EmojiPickerEvents = 'change';
|
|
51
50
|
export type EmployeeSearchEvents = 'change';
|
|
52
51
|
export type ExpansionPanelEvents = 'toggle';
|
|
53
52
|
export type ExpansionPanelGroupEvents = never;
|
|
54
53
|
export type FieldEvents = never;
|
|
55
|
-
export type FileEvents = 'change' | 'delete';
|
|
54
|
+
export type FileEvents = 'change' | 'delete' | 'chipClick';
|
|
56
55
|
export type FileDropEvents = 'change' | 'blur';
|
|
57
56
|
export type FloatingButtonEvents = 'press' | 'pressWhileDisabled' | 'mouseEnter' | 'mouseLeave';
|
|
58
|
-
export type FormEvents = 'change' | 'submit' | 'valid' | 'invalid' | 'cancel' | 'edit';
|
|
57
|
+
export type FormEvents = 'change' | 'submit' | 'valid' | 'invalid' | 'cancel' | 'edit' | 'skip';
|
|
59
58
|
export type FormCheckboxEvents = 'change';
|
|
60
59
|
export type FormCheckboxGroupEvents = 'change';
|
|
61
60
|
export type FormContentEvents = never;
|
|
@@ -64,6 +63,7 @@ export type FormDateEvents = 'change';
|
|
|
64
63
|
export type FormDateRangeEvents = 'change';
|
|
65
64
|
export type FormDaySelectorEvents = 'change';
|
|
66
65
|
export type FormEmailEvents = 'change' | 'blur';
|
|
66
|
+
export type FormEmployeeSearchEvents = 'change';
|
|
67
67
|
export type FormFileEvents = 'change' | 'blur';
|
|
68
68
|
export type FormFileDropEvents = 'change' | 'blur';
|
|
69
69
|
export type FormGroupEvents = never;
|
|
@@ -72,10 +72,10 @@ export type FormHiddenEvents = never;
|
|
|
72
72
|
export type FormInlineGroupEvents = never;
|
|
73
73
|
export type FormInputGroupEvents = 'change';
|
|
74
74
|
export type FormMaskerEvents = 'change' | 'blur';
|
|
75
|
-
export type FormNumberEvents = 'change' | 'blur';
|
|
75
|
+
export type FormNumberEvents = 'change' | 'blur' | 'changeRaw' | 'changeCalculationState';
|
|
76
76
|
export type FormPasswordEvents = 'change' | 'blur';
|
|
77
77
|
export type FormPercentageEvents = 'change' | 'blur';
|
|
78
|
-
export type FormPhoneEvents = 'change' | 'blur';
|
|
78
|
+
export type FormPhoneEvents = 'change' | 'blur' | 'countryCodeChange';
|
|
79
79
|
export type FormRadioEvents = 'change';
|
|
80
80
|
export type FormSegmentedControlEvents = 'change';
|
|
81
81
|
export type FormSelectEvents = 'change' | 'blur';
|
|
@@ -87,7 +87,7 @@ export type FormSsnEvents = 'change' | 'blur';
|
|
|
87
87
|
export type FormSurveyEvents = 'change';
|
|
88
88
|
export type FormSwitchEvents = 'change';
|
|
89
89
|
export type FormTextEvents = 'change' | 'blur';
|
|
90
|
-
export type FormTextareaEvents = 'change' | 'blur';
|
|
90
|
+
export type FormTextareaEvents = 'change' | 'blur' | 'focus';
|
|
91
91
|
export type FormTextAutoSuggestEvents = 'change' | 'blur';
|
|
92
92
|
export type FormTimeEvents = 'change' | 'blur';
|
|
93
93
|
export type FormTimezoneEvents = 'change' | 'blur' | 'focus';
|
|
@@ -123,7 +123,7 @@ export type NumberEvents = 'change' | 'blur' | 'changeRaw' | 'changeCalculationS
|
|
|
123
123
|
export type ObjectListViewEvents = never;
|
|
124
124
|
export type ObjectUIEvents = never;
|
|
125
125
|
export type ObjectUIContentEvents = never;
|
|
126
|
-
export type ObjectUIHeaderEvents =
|
|
126
|
+
export type ObjectUIHeaderEvents = 'primaryAction';
|
|
127
127
|
export type ObjectUIStatsEvents = 'actionClick';
|
|
128
128
|
export type ObjectUITemplateEvents = never;
|
|
129
129
|
export type PageAppLogoEvents = never;
|
|
@@ -133,7 +133,7 @@ export type PageHeaderEvents = 'action';
|
|
|
133
133
|
export type PaginateEvents = 'change';
|
|
134
134
|
export type PaginateListEvents = 'change';
|
|
135
135
|
export type PaneEvents = 'collapsedChange' | 'dismiss' | 'resize';
|
|
136
|
-
export type PasswordEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave' | '
|
|
136
|
+
export type PasswordEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave' | 'revealChange';
|
|
137
137
|
export type PercentageEvents = 'change' | 'blur';
|
|
138
138
|
export type PhoneEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave' | 'countryCodeChange';
|
|
139
139
|
export type ProgressBarEvents = never;
|
|
@@ -141,6 +141,7 @@ export type ProgressStepsEvents = never;
|
|
|
141
141
|
export type RadioEvents = 'change' | 'blur' | 'mouseenter' | 'mouseleave';
|
|
142
142
|
export type RangeSliderEvents = 'change' | 'beforeChange' | 'afterChange' | 'blur';
|
|
143
143
|
export type ReportLoaderEvents = never;
|
|
144
|
+
export type ReportsEvents = never;
|
|
144
145
|
export type ReportShareLoaderEvents = never;
|
|
145
146
|
export type ReportViewerLoaderEvents = never;
|
|
146
147
|
export type ResizableBoardEvents = 'layoutChange' | 'breakpointChange' | 'dragStart' | 'dragStop' | 'resizeStart' | 'resizeStop';
|
|
@@ -168,17 +169,17 @@ export type SwitchEvents = 'change' | 'blur';
|
|
|
168
169
|
export type TabEvents = 'change';
|
|
169
170
|
export type TableBasicEvents = never;
|
|
170
171
|
export type TextEvents = never;
|
|
171
|
-
export type TextareaEvents = 'change' | 'blur' | 'focus';
|
|
172
|
+
export type TextareaEvents = 'change' | 'blur' | 'focus' | 'keydown';
|
|
172
173
|
export type TextAutoSuggestEvents = 'change' | 'blur' | 'focus' | 'click';
|
|
173
174
|
export type TextClipEvents = never;
|
|
174
175
|
export type TextInputEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave';
|
|
175
176
|
export type TextSnippetEvents = never;
|
|
176
|
-
export type TimeEvents = 'change' | 'blur';
|
|
177
|
+
export type TimeEvents = 'change' | 'blur' | 'inferredTimeChange';
|
|
177
178
|
export type TimeRangeEvents = 'change' | 'blur';
|
|
178
179
|
export type TimezoneEvents = 'change' | 'blur' | 'focus';
|
|
179
180
|
export type TipEvents = never;
|
|
180
|
-
export type TitleCaptionEvents =
|
|
181
|
-
export type ToggleableArrowEvents =
|
|
181
|
+
export type TitleCaptionEvents = 'press';
|
|
182
|
+
export type ToggleableArrowEvents = 'change';
|
|
182
183
|
export type TreeEvents = 'change' | 'footerAction';
|
|
183
184
|
export type TreeSelectEvents = 'change';
|
|
184
185
|
export type VideoEvents = never;
|