@rippling/pebble-sdui-web 0.21.2 → 0.21.3

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.
@@ -7,7 +7,7 @@
7
7
  * action definitions, directive definitions, and spec validation.
8
8
  */
9
9
  export declare const CATALOG_NAME = "custom-apps";
10
- export declare const CATALOG_VERSION = "1.12.3";
10
+ export declare const CATALOG_VERSION = "1.12.4";
11
11
  /** Return component descriptions keyed by component name. */
12
12
  export declare function getComponents(): Record<string, string>;
13
13
  /** Return action descriptions keyed by action name. */
@@ -169,7 +169,7 @@ export type SplitPaneEvents = 'activePaneChange';
169
169
  export type SsnEvents = 'change' | 'blur';
170
170
  export type StatusEvents = never;
171
171
  export type StepperEvents = 'click';
172
- export type SuperGridEvents = 'rowClick' | 'rowActionClick';
172
+ export type SuperGridEvents = 'rowClick' | 'rowActionClick' | 'edit';
173
173
  export type SupportButtonEvents = 'press';
174
174
  export type SurveyEvents = 'change';
175
175
  export type SwitchEvents = 'change' | 'blur';
@@ -349,6 +349,11 @@ export interface CardTo {
349
349
  openInNewTab?: boolean;
350
350
  path: string;
351
351
  }
352
+ export interface Change {
353
+ after: unknown;
354
+ before: unknown;
355
+ field: string;
356
+ }
352
357
  export interface CheckboxArg {
353
358
  [key: string]: unknown;
354
359
  }
@@ -679,6 +684,13 @@ export interface EditButton {
679
684
  isDisabled?: boolean;
680
685
  show?: boolean;
681
686
  }
687
+ /** Bind to state with $bindState to receive the sanitized inline-edit update before edit emits. */
688
+ export interface EditData {
689
+ issues: Issue[];
690
+ items?: SuperGridItem[];
691
+ outcome: 'accepted' | 'rejected';
692
+ rowId: string;
693
+ }
682
694
  export interface EmailArg {
683
695
  [key: string]: unknown;
684
696
  }
@@ -1444,6 +1456,11 @@ export interface InputGroupSuffix {
1444
1456
  inputProps: InputGroupInputProp;
1445
1457
  type: 'Text' | 'Number' | 'Currency' | 'Masker' | 'Password' | 'Percentage' | 'Phone' | 'Select' | 'TextAutoSuggest' | 'Time' | 'Date' | 'Timezone';
1446
1458
  }
1459
+ export interface Issue {
1460
+ code: string;
1461
+ columnId: string;
1462
+ message: string;
1463
+ }
1447
1464
  export interface LabelLeftIcon {
1448
1465
  'aria-describedby'?: string;
1449
1466
  'aria-label'?: string;
@@ -2114,6 +2131,12 @@ export interface SubmitButtonProp {
2114
2131
  label?: string;
2115
2132
  size?: 'L' | 'M' | 'S' | 'XS';
2116
2133
  }
2134
+ export interface SuperGridItem {
2135
+ changeNote?: string;
2136
+ changes: Change[];
2137
+ columnId: string;
2138
+ rowId: string;
2139
+ }
2117
2140
  export interface SupportButtonTo {
2118
2141
  openInNewTab?: boolean;
2119
2142
  path: string;
@@ -4879,6 +4902,7 @@ export interface SuperGridProps {
4879
4902
  caption?: string;
4880
4903
  configContext?: ConfigContext;
4881
4904
  contextFilters?: ContextFilter[];
4905
+ editData?: EditData;
4882
4906
  gridId: string;
4883
4907
  height?: string;
4884
4908
  rowActionClickedData?: unknown;