@admin-layout/client 3.0.0-alpha.97 → 3.1.1-alpha.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.
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare const ApplicationErrorFillWrapper: (props: any) => JSX.Element;
1
+ import * as React from 'react';
2
+ export declare const ApplicationErrorFillWrapper: (props: any) => React.JSX.Element;
@@ -9,11 +9,11 @@ interface ApplicationErrorHandlerCommonProps {
9
9
  plugins: Record<string, any>;
10
10
  children: ReactNode;
11
11
  }
12
- declare type IRendererComponentType = (props: {
12
+ type IRendererComponentType = (props: {
13
13
  applicationErrors: ApplicationErrorState[];
14
14
  backendError: ApplicationErrorState;
15
15
  }) => ReactElement;
16
- declare type IApplicationErrorSlotType = (props: {
16
+ type IApplicationErrorSlotType = (props: {
17
17
  name: string;
18
18
  fillProps: {
19
19
  active: boolean;
@@ -1,9 +1,9 @@
1
1
  import React, { ReactElement } from 'react';
2
- declare type IErrorBoundryState = {
2
+ type IErrorBoundryState = {
3
3
  hasError: boolean;
4
4
  error: Error | null;
5
5
  };
6
- declare type IErrorBoundryProps = {
6
+ type IErrorBoundryProps = {
7
7
  children: ReactElement;
8
8
  fallbackComponent: (props: {
9
9
  error: Error;
@@ -16,6 +16,6 @@ export declare class ErrorBoundaryCommon extends React.Component<IErrorBoundryPr
16
16
  error: Error;
17
17
  };
18
18
  componentDidCatch(error: Error): void;
19
- render(): JSX.Element;
19
+ render(): React.JSX.Element;
20
20
  }
21
21
  export {};
@@ -1,10 +1,10 @@
1
- export declare type BACKEND_ERROR = '@platform/BACKEND_ERROR';
1
+ export type BACKEND_ERROR = '@platform/BACKEND_ERROR';
2
2
  export declare const BACKEND_ERROR: BACKEND_ERROR;
3
- export declare type DISMISS_APPLICATION_ERROR = '@platform/DISMISS_APPLICATION_ERROR';
3
+ export type DISMISS_APPLICATION_ERROR = '@platform/DISMISS_APPLICATION_ERROR';
4
4
  export declare const DISMISS_APPLICATION_ERROR: DISMISS_APPLICATION_ERROR;
5
- export declare type CLEAR_APPLICATION_ERRORS = '@platform/CLEAR_APPLICATION_ERRORS';
5
+ export type CLEAR_APPLICATION_ERRORS = '@platform/CLEAR_APPLICATION_ERRORS';
6
6
  export declare const CLEAR_APPLICATION_ERRORS: CLEAR_APPLICATION_ERRORS;
7
- export declare type RESTORE_APPLICATION_ERRORS = '@platform/RESTORE_APPLICATION_ERRORS';
7
+ export type RESTORE_APPLICATION_ERRORS = '@platform/RESTORE_APPLICATION_ERRORS';
8
8
  export declare const RESTORE_APPLICATION_ERRORS: RESTORE_APPLICATION_ERRORS;
9
- export declare type LOG_APPLICATION_ERROR = '@platform/LOG_APPLICATION_ERROR';
9
+ export type LOG_APPLICATION_ERROR = '@platform/LOG_APPLICATION_ERROR';
10
10
  export declare const LOG_APPLICATION_ERROR: LOG_APPLICATION_ERROR;
@@ -1,6 +1,6 @@
1
1
  import { ApolloLink } from '@apollo/client';
2
2
  import { interfaces } from 'inversify';
3
- declare type IGetErrorLink = (container: interfaces.Container) => ApolloLink;
3
+ type IGetErrorLink = (container: interfaces.Container) => ApolloLink;
4
4
  interface IErrorLink {
5
5
  getErrorLink: IGetErrorLink;
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"error-link.js","sourceRoot":"","sources":["../../../src/graphql/link/error-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAIpD,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAOjD,MAAM,OAAO,SAAS;IAGpB,mBAAmB,CAAC,SAA+B,EAAE,KAAK;;QACxD,MAAM,UAAU,GAAG,SAAS,CAAC,GAAG,CAAe,YAAY,CAAC,CAAC;QAC7D,IAAI,MAAM,GAAG;YACX,IAAI,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,K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AC,KAAK,EAAE,EAAE;oBAC9B,IAAI,CAAC,mBAAmB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;gBAC7C,CAAC,CAAC,CAAA;aACH;YACD,IAAI,YAAY,EAAE;gBAChB,MAAM,YAAY,GAAG,MAAC,YAA6D,aAA7D,YAAY,uBAAZ,YAAY,CAAmD,MAAM,0CAAE,MAAM,CAAA;gBACnG,IAAI,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,MAAM,EAAE;oBACxB,YAAY,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;wBACzB,IAAI,CAAC,mBAAmB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAA;oBAC5C,CAAC,CAAC,CAAA;iBACH;qBAAM;oBACL,IAAI,CAAC,mBAAmB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAA;iBAClD;aACF;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAGD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,SAA+B,EAAE,EAAE;IAChE,OAAO,IAAI,SAAS,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,CAAA;AAChD,CAAC,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import { ProSettings } from './pure-settings';
2
- export declare type DefaultSettings = Partial<ProSettings> & {
2
+ export type DefaultSettings = Partial<ProSettings> & {
3
3
  language?: string;
4
4
  };