andoncloud-sdk 1.6.21 → 1.6.23
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/andoncloud-sdk.js +2 -2
- package/dist/andoncloud-sdk.js.map +1 -1
- package/dist/app/components/iframeNavigation.d.ts +1 -3
- package/dist/app/components/router.d.ts +1 -2
- package/dist/app/pages/ErrorPage.d.ts +3 -1
- package/dist/app/pages/LoaderPage.d.ts +7 -0
- package/dist/app/providers/display.d.ts +5 -0
- package/dist/index.d.ts +6 -8
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export default ErrorPage;
|
|
2
|
-
declare function ErrorPage({ error }: {
|
|
2
|
+
declare function ErrorPage({ error, appVersion, apiVersion }: {
|
|
3
3
|
error: any;
|
|
4
|
+
appVersion: any;
|
|
5
|
+
apiVersion: any;
|
|
4
6
|
}): React.JSX.Element;
|
|
5
7
|
declare namespace ErrorPage {
|
|
6
8
|
namespace propTypes {
|
package/dist/index.d.ts
CHANGED
|
@@ -38,10 +38,6 @@ declare module 'andoncloud-sdk' {
|
|
|
38
38
|
locales: InitOptions['resources'];
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
interface RouterProps {
|
|
42
|
-
iframeNavigationItems?: SidebarMenuItem[];
|
|
43
|
-
}
|
|
44
|
-
|
|
45
41
|
interface MetaProps {
|
|
46
42
|
appVersion?: string;
|
|
47
43
|
apiVersion?: string;
|
|
@@ -49,12 +45,15 @@ declare module 'andoncloud-sdk' {
|
|
|
49
45
|
releasePageLink?: string;
|
|
50
46
|
}
|
|
51
47
|
|
|
52
|
-
interface
|
|
48
|
+
interface Display {
|
|
53
49
|
mode: 'standalone' | 'iframe';
|
|
54
50
|
isEmbeddedMode: boolean;
|
|
51
|
+
iframeNavigationItems: SidebarMenuItem[];
|
|
52
|
+
setIframeNavigationItems: (items: SidebarMenuItem[]) => void;
|
|
55
53
|
}
|
|
56
|
-
export const
|
|
57
|
-
|
|
54
|
+
export const useDisplay: () => Display;
|
|
55
|
+
|
|
56
|
+
export const getDisplayMode: () => Display['mode'];
|
|
58
57
|
|
|
59
58
|
interface AppProps {
|
|
60
59
|
children: React.ReactNode;
|
|
@@ -63,7 +62,6 @@ declare module 'andoncloud-sdk' {
|
|
|
63
62
|
gtmProps?: TagManagerArgs;
|
|
64
63
|
i18nProps?: I18nProps;
|
|
65
64
|
sentryProps?: Sentry.BrowserOptions;
|
|
66
|
-
routerProps?: RouterProps;
|
|
67
65
|
metaProps?: MetaProps;
|
|
68
66
|
muiTheme?: Record<string, unknown>;
|
|
69
67
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LIBRARY_VERSION = "1.6.
|
|
1
|
+
export declare const LIBRARY_VERSION = "1.6.23";
|