@rippling/pebble-sdui-mobile 0.15.0 → 0.17.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/custom-apps/action-params.d.ts +3 -0
- package/dist/catalogs/custom-apps/actions.d.ts +2 -1
- package/dist/catalogs/custom-apps/catalog.d.ts +3 -1
- package/dist/catalogs/custom-apps/index.cjs +9 -2
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +3 -3
- package/dist/catalogs/custom-apps/index.js +5214 -189
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/core/component-markdown.cjs +19 -0
- package/dist/core/component-markdown.cjs.map +1 -0
- package/dist/core/component-markdown.d.ts +8 -0
- package/dist/core/component-markdown.js +58 -0
- package/dist/core/component-markdown.js.map +1 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +26 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +1 -1
- package/package.json +1 -6
- package/dist/2020-BHvuyx7H.cjs +0 -9
- package/dist/2020-BHvuyx7H.cjs.map +0 -1
- package/dist/2020-CtiehJXS.js +0 -4988
- package/dist/2020-CtiehJXS.js.map +0 -1
- package/dist/catalogs/core/action-params.d.ts +0 -24
- package/dist/catalogs/core/actions.d.ts +0 -8
- package/dist/catalogs/core/catalog.d.ts +0 -33
- package/dist/catalogs/core/component-events.d.ts +0 -87
- package/dist/catalogs/core/component-props.d.ts +0 -1866
- package/dist/catalogs/core/components.d.ts +0 -88
- package/dist/catalogs/core/function-params.d.ts +0 -36
- package/dist/catalogs/core/functions.d.ts +0 -37
- package/dist/catalogs/core/index.cjs +0 -3
- package/dist/catalogs/core/index.cjs.map +0 -1
- package/dist/catalogs/core/index.d.ts +0 -15
- package/dist/catalogs/core/index.js +0 -11070
- package/dist/catalogs/core/index.js.map +0 -1
- package/dist/catalogs/core/render.d.ts +0 -20
- package/dist/docs/typescript/mobile/catalogs/core/actions.md +0 -151
- package/dist/docs/typescript/mobile/catalogs/core/components.md +0 -2314
- package/dist/docs/typescript/mobile/catalogs/core/computed-functions.md +0 -162
- package/dist/docs/typescript/mobile/catalogs/core/definitions.md +0 -3894
- package/dist/docs/typescript/mobile/catalogs/core/readme.md +0 -16
- package/dist/docs/typescript/mobile/catalogs/core/types.md +0 -1585
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NavigateParamsParam, Payload, PushParamsParam } from './component-props';
|
|
2
|
-
export interface GoBackParams {
|
|
3
|
-
}
|
|
4
|
-
export interface NavigateParams {
|
|
5
|
-
params?: NavigateParamsParam;
|
|
6
|
-
screen: string;
|
|
7
|
-
}
|
|
8
|
-
export interface PushParams {
|
|
9
|
-
params?: PushParamsParam;
|
|
10
|
-
screen: string;
|
|
11
|
-
}
|
|
12
|
-
export interface SetStateParams {
|
|
13
|
-
statePath: string;
|
|
14
|
-
value: unknown;
|
|
15
|
-
}
|
|
16
|
-
export interface TriggerApiParams {
|
|
17
|
-
errorPath?: string;
|
|
18
|
-
method?: 'GET' | 'POST';
|
|
19
|
-
onError?: unknown;
|
|
20
|
-
onSuccess?: unknown;
|
|
21
|
-
payload?: Payload;
|
|
22
|
-
responsePath?: string;
|
|
23
|
-
url: string;
|
|
24
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ActionBinding, ActionOptions } from '../../core/action-utils';
|
|
2
|
-
import { WrapWithActionParamValue } from '../../core/expressions';
|
|
3
|
-
import { GoBackParams, NavigateParams, PushParams, SetStateParams, TriggerApiParams } from './action-params';
|
|
4
|
-
export declare const goBack: (params: WrapWithActionParamValue<GoBackParams>, options?: ActionOptions) => ActionBinding;
|
|
5
|
-
export declare const navigate: (params: WrapWithActionParamValue<NavigateParams>, options?: ActionOptions) => ActionBinding;
|
|
6
|
-
export declare const push: (params: WrapWithActionParamValue<PushParams>, options?: ActionOptions) => ActionBinding;
|
|
7
|
-
export declare const setState: (params: WrapWithActionParamValue<SetStateParams>, options?: ActionOptions) => ActionBinding;
|
|
8
|
-
export declare const triggerApi: (params: WrapWithActionParamValue<TriggerApiParams>, options?: ActionOptions) => ActionBinding;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Catalog introspection utilities for core.
|
|
3
|
-
*
|
|
4
|
-
* Auto-generated from catalogs/core.catalog.json — do not edit.
|
|
5
|
-
*
|
|
6
|
-
* Provides runtime access to the raw catalog schema: component definitions,
|
|
7
|
-
* action definitions, directive definitions, and spec validation.
|
|
8
|
-
*/
|
|
9
|
-
export declare const CATALOG_NAME = "core";
|
|
10
|
-
export declare const CATALOG_VERSION = "1.7.0";
|
|
11
|
-
/** Return component descriptions keyed by component name. */
|
|
12
|
-
export declare function getComponents(): Record<string, string>;
|
|
13
|
-
/** Return action descriptions keyed by action name. */
|
|
14
|
-
export declare function getActions(): Record<string, string>;
|
|
15
|
-
/** Return computed function descriptions keyed by function name. */
|
|
16
|
-
export declare function getFunctions(): Record<string, string>;
|
|
17
|
-
/** Return full computed function definitions keyed by function name. */
|
|
18
|
-
export declare function getComputedFunctions(): Record<string, Record<string, unknown>>;
|
|
19
|
-
/** Return reusable JSON Schema definitions keyed by definition name. */
|
|
20
|
-
export declare function getDefs(): Record<string, Record<string, unknown>>;
|
|
21
|
-
/** Get the full JSON definition of a component by name. */
|
|
22
|
-
export declare function getComponent(name: string): Record<string, unknown>;
|
|
23
|
-
/** Get the full JSON definition of an action by name. */
|
|
24
|
-
export declare function getAction(name: string): Record<string, unknown>;
|
|
25
|
-
/** Get the full JSON definition of a computed function by name. */
|
|
26
|
-
export declare function getFunction(name: string): Record<string, unknown>;
|
|
27
|
-
/**
|
|
28
|
-
* Validate a rendered spec against this catalog's schema.
|
|
29
|
-
* Returns a list of error messages. Empty list means valid.
|
|
30
|
-
*/
|
|
31
|
-
export declare function validate(spec: {
|
|
32
|
-
[key: string]: unknown;
|
|
33
|
-
}): string[];
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated component event types for core.
|
|
3
|
-
*
|
|
4
|
-
* Auto-generated from catalogs/core.catalog.json — do not edit.
|
|
5
|
-
*/
|
|
6
|
-
export type ActionCardEvents = 'primaryAction' | 'secondaryAction';
|
|
7
|
-
export type AnchorEvents = 'press' | 'open' | 'error';
|
|
8
|
-
export type AnimationEvents = never;
|
|
9
|
-
export type AvatarEvents = 'press';
|
|
10
|
-
export type AvatarStackEvents = never;
|
|
11
|
-
export type BadgeEvents = never;
|
|
12
|
-
export type ButtonEvents = 'press';
|
|
13
|
-
export type CardEvents = 'press';
|
|
14
|
-
export type CheckboxEvents = 'change' | 'blur';
|
|
15
|
-
export type CheckboxGroupEvents = 'change';
|
|
16
|
-
export type ChipEvents = 'press' | 'close';
|
|
17
|
-
export type CountryEvents = never;
|
|
18
|
-
export type CurrencyEvents = 'change' | 'blur';
|
|
19
|
-
export type DateEvents = 'change' | 'blur';
|
|
20
|
-
export type DateRangeEvents = 'change';
|
|
21
|
-
export type DateTimePickerEvents = 'close' | 'change';
|
|
22
|
-
export type DividerEvents = never;
|
|
23
|
-
export type EmailEvents = 'change' | 'blur';
|
|
24
|
-
export type EmployeeSearchEvents = 'change';
|
|
25
|
-
export type ExpansionPanelEvents = 'toggle';
|
|
26
|
-
export type FileViewerButtonEvents = 'press';
|
|
27
|
-
export type FileViewerPressableEvents = 'press';
|
|
28
|
-
export type FloatingButtonEvents = 'press';
|
|
29
|
-
export type FormEvents = 'submit' | 'valid' | 'invalid';
|
|
30
|
-
export type FormCheckboxGroupEvents = 'change';
|
|
31
|
-
export type FormRadioGroupEvents = 'change';
|
|
32
|
-
export type FormSwitchEvents = 'change';
|
|
33
|
-
export type GroupEvents = never;
|
|
34
|
-
export type HiddenEvents = 'change';
|
|
35
|
-
export type HStackEvents = never;
|
|
36
|
-
export type IconEvents = 'press';
|
|
37
|
-
export type ImageEvents = never;
|
|
38
|
-
export type InputTextEvents = 'change' | 'blur';
|
|
39
|
-
export type LabelEvents = never;
|
|
40
|
-
export type ListEvents = never;
|
|
41
|
-
export type ListItemEvents = 'press';
|
|
42
|
-
export type ModalSheetEvents = 'close';
|
|
43
|
-
export type NoticeEvents = 'primaryPress' | 'secondaryPress' | 'close';
|
|
44
|
-
export type NumberEvents = 'change' | 'blur';
|
|
45
|
-
export type ObjectFooterEvents = 'reject' | 'approve' | 'notes' | 'leftChevron' | 'rightChevron';
|
|
46
|
-
export type ObjectItemEvents = never;
|
|
47
|
-
export type PageCondensedFooterEvents = 'action';
|
|
48
|
-
export type PageCondensedHeaderEvents = never;
|
|
49
|
-
export type PageContentEvents = never;
|
|
50
|
-
export type PageFilterHeaderEvents = 'filterMenuPress';
|
|
51
|
-
export type PageFooterEvents = 'action';
|
|
52
|
-
export type PageHeaderEvents = never;
|
|
53
|
-
export type PageModalActionHeaderEvents = 'leftPress' | 'rightPress';
|
|
54
|
-
export type PasswordEvents = 'change' | 'blur';
|
|
55
|
-
export type PercentageEvents = 'change' | 'blur';
|
|
56
|
-
export type PhoneEvents = 'change' | 'blur';
|
|
57
|
-
export type PressableEvents = 'press';
|
|
58
|
-
export type ProgressIndicatorEvents = never;
|
|
59
|
-
export type RadioEvents = 'change' | 'blur';
|
|
60
|
-
export type RadioGroupEvents = 'change';
|
|
61
|
-
export type SearchEvents = 'change' | 'cancel';
|
|
62
|
-
export type SectionHeaderEvents = never;
|
|
63
|
-
export type SelectEvents = 'change';
|
|
64
|
-
export type SelectChipsEvents = 'change';
|
|
65
|
-
export type SettingsFormEvents = 'edit' | 'cancel' | 'change' | 'submit' | 'valid' | 'invalid';
|
|
66
|
-
export type SignatureEvents = 'change';
|
|
67
|
-
export type SinEvents = 'change' | 'blur';
|
|
68
|
-
export type SliderEvents = 'change';
|
|
69
|
-
export type SliderRangeEvents = 'change';
|
|
70
|
-
export type SnackBarEvents = 'dismiss' | 'action';
|
|
71
|
-
export type SpacerEvents = never;
|
|
72
|
-
export type SpinnerEvents = never;
|
|
73
|
-
export type SsnEvents = 'change' | 'blur';
|
|
74
|
-
export type StatusEvents = never;
|
|
75
|
-
export type StatusBarEvents = never;
|
|
76
|
-
export type SuperGridEvents = 'rowPress';
|
|
77
|
-
export type SwitchEvents = 'change';
|
|
78
|
-
export type TabsEvents = 'change';
|
|
79
|
-
export type TextEvents = never;
|
|
80
|
-
export type TextareaEvents = 'change' | 'blur';
|
|
81
|
-
export type TimeEvents = 'change' | 'blur';
|
|
82
|
-
export type TimeRangeEvents = 'change';
|
|
83
|
-
export type TipEvents = never;
|
|
84
|
-
export type VStackEvents = never;
|
|
85
|
-
export type WidgetEvents = 'press' | 'titlePress' | 'primaryAction' | 'secondaryAction';
|
|
86
|
-
export type WithSpinnerEvents = 'load';
|
|
87
|
-
export type WorkEmailEvents = 'change' | 'blur';
|