@cxbox-ui/core 1.34.2 → 1.36.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.
@@ -434,6 +434,10 @@ export declare class ActionPayloadTypes {
434
434
  * Cursor which initiated the request
435
435
  */
436
436
  cursor: string;
437
+ /**
438
+ * New record with `id` returned by Cxbox API and vstamp = -1 (denoting a record draft)
439
+ */
440
+ dataItem?: DataItem;
437
441
  };
438
442
  /**
439
443
  * TODO
@@ -1070,6 +1074,14 @@ export declare class ActionPayloadTypes {
1070
1074
  * refresh screens, views and widgets meta
1071
1075
  */
1072
1076
  refreshMeta: null;
1077
+ /**
1078
+ * refresh refreshMeta was successful
1079
+ */
1080
+ refreshMetaDone: null;
1081
+ /**
1082
+ * refresh refreshMeta was unsuccessful
1083
+ */
1084
+ refreshMetaFail: null;
1073
1085
  /**
1074
1086
  * Refresh meta data (see action above) and reload page
1075
1087
  */
@@ -9,6 +9,7 @@ export interface ViewProps {
9
9
  customWidgets?: Record<string, CustomWidgetDescriptor>;
10
10
  customLayout?: (props: any) => React.ReactElement<any>;
11
11
  customFields?: Record<string, CustomWidget>;
12
+ disableDebugMode?: boolean;
12
13
  }
13
14
  export declare const CustomizationContext: React.Context<{
14
15
  customFields: Record<string, CustomWidget>;
@@ -22,5 +23,5 @@ export declare const View: FunctionComponent<ViewProps>;
22
23
  /**
23
24
  * @category Components
24
25
  */
25
- declare const ConnectedView: import("react-redux").ConnectedComponent<React.FunctionComponent<ViewProps>, Pick<ViewProps, "skipWidgetTypes" | "card" | "customSpinner" | "customWidgets" | "customLayout" | "customFields">>;
26
+ declare const ConnectedView: import("react-redux").ConnectedComponent<React.FunctionComponent<ViewProps>, Pick<ViewProps, "skipWidgetTypes" | "card" | "customSpinner" | "customWidgets" | "customLayout" | "customFields" | "disableDebugMode">>;
26
27
  export default ConnectedView;
@@ -5,6 +5,7 @@ interface WidgetOwnProps {
5
5
  card?: (props: any) => React.ReactElement<any>;
6
6
  customSpinner?: (props: any) => React.ReactElement<any>;
7
7
  children?: React.ReactNode;
8
+ disableDebugMode?: boolean;
8
9
  }
9
10
  interface WidgetProps extends WidgetOwnProps {
10
11
  debugMode?: boolean;
@@ -24,5 +25,5 @@ export declare const Widget: FunctionComponent<WidgetProps>;
24
25
  /**
25
26
  * @category Components
26
27
  */
27
- declare const ConnectedWidget: import("react-redux").ConnectedComponent<React.FunctionComponent<WidgetProps>, Pick<WidgetProps, "meta" | "children" | "card" | "customSpinner" | "customWidgets"> & WidgetOwnProps>;
28
+ declare const ConnectedWidget: import("react-redux").ConnectedComponent<React.FunctionComponent<WidgetProps>, Pick<WidgetProps, "meta" | "children" | "card" | "customSpinner" | "customWidgets" | "disableDebugMode"> & WidgetOwnProps>;
28
29
  export default ConnectedWidget;
@@ -6,6 +6,7 @@ export interface DashboardLayoutProps {
6
6
  skipWidgetTypes?: string[];
7
7
  customSpinner?: (props: any) => React.ReactElement<any>;
8
8
  card?: (props: any) => React.ReactElement<any>;
9
+ disableDebugMode?: boolean;
9
10
  }
10
11
  /**
11
12
  * TODO