analytica.click 0.0.264 → 0.0.267
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/index.d.ts +6 -14
- package/dist/index.js +3 -1775
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -18,7 +18,6 @@ declare module 'analytica.click/common-ui/src/types/index' {
|
|
18
18
|
|
19
19
|
}
|
20
20
|
declare module 'analytica.click/common-ui/src/types/widgets' {
|
21
|
-
/// <reference types="react" />
|
22
21
|
import { ICognitoAuth, TOnMessage } from 'ag-common/dist/ui/helpers/cognito';
|
23
22
|
export type TTrackNoEvent = (p: Omit<ITrack, 'eventName'>) => Promise<{
|
24
23
|
error?: string;
|
@@ -89,28 +88,24 @@ declare module 'analytica.click/common-ui/src/types/widgets' {
|
|
89
88
|
*/
|
90
89
|
cookieDocument?: string;
|
91
90
|
}
|
91
|
+
export interface IAnalyticaConfig {
|
92
|
+
analyticaToken?: string;
|
93
|
+
overrideBaseUrl?: string;
|
94
|
+
devMode?: boolean;
|
95
|
+
}
|
92
96
|
|
93
97
|
}
|
94
98
|
declare module 'analytica.click/ui-npm/src/components/AnalyticaConfig/index' {
|
95
|
-
import { IAnalyticaConfig } from 'analytica.click/ui-npm/src/components/AnalyticaConfig/types';
|
96
99
|
import React from 'react';
|
100
|
+
import { IAnalyticaConfig } from 'analytica.click/common-ui/src/types';
|
97
101
|
export const AnalyticaConfigContext: React.Context<IAnalyticaConfig>;
|
98
102
|
export const AnalyticaConfigProvider: ({ children, values, }: {
|
99
103
|
children: JSX.Element | JSX.Element[];
|
100
104
|
values: IAnalyticaConfig;
|
101
105
|
}) => JSX.Element;
|
102
106
|
|
103
|
-
}
|
104
|
-
declare module 'analytica.click/ui-npm/src/components/AnalyticaConfig/types' {
|
105
|
-
export interface IAnalyticaConfig {
|
106
|
-
analyticaToken?: string;
|
107
|
-
overrideBaseUrl?: string;
|
108
|
-
devMode?: boolean;
|
109
|
-
}
|
110
|
-
|
111
107
|
}
|
112
108
|
declare module 'analytica.click/ui-npm/src/components/ErrorBoundary/index' {
|
113
|
-
/// <reference types="react" />
|
114
109
|
export const ErrorBoundary: ({ children, filterBrowserError, }: {
|
115
110
|
children?: JSX.Element | JSX.Element[] | undefined;
|
116
111
|
filterBrowserError?: ((e: ErrorEvent | Error) => boolean) | undefined;
|
@@ -118,7 +113,6 @@ declare module 'analytica.click/ui-npm/src/components/ErrorBoundary/index' {
|
|
118
113
|
|
119
114
|
}
|
120
115
|
declare module 'analytica.click/ui-npm/src/components/ExternalComponent/index' {
|
121
|
-
/// <reference types="react" />
|
122
116
|
export const ExternalComponent: ({ url, props, }: {
|
123
117
|
url: string;
|
124
118
|
props: Record<string, any>;
|
@@ -126,13 +120,11 @@ declare module 'analytica.click/ui-npm/src/components/ExternalComponent/index' {
|
|
126
120
|
|
127
121
|
}
|
128
122
|
declare module 'analytica.click/ui-npm/src/components/Feedback/index' {
|
129
|
-
/// <reference types="react" />
|
130
123
|
import { IFeedbackWidget } from 'analytica.click/common-ui/src/types/index';
|
131
124
|
export const Feedback: (props: IFeedbackWidget) => JSX.Element;
|
132
125
|
|
133
126
|
}
|
134
127
|
declare module 'analytica.click/ui-npm/src/components/UserProvider/DashboardAuthValidation' {
|
135
|
-
/// <reference types="react" />
|
136
128
|
import { AuthedUserContext } from 'ag-common/dist/ui/helpers/jwt';
|
137
129
|
import { IRequestCommon } from 'ag-common/dist/ui/helpers/routes';
|
138
130
|
/**
|