analytica.click 0.0.204 → 0.0.210

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +21 -0
  2. package/dist/index.js +14 -4298
  3. package/package.json +15 -14
package/dist/index.d.ts CHANGED
@@ -130,6 +130,26 @@ declare module 'analytica.click/ui-npm/src/components/Feedback/index' {
130
130
  import { IFeedbackWidget } from 'analytica.click/common-ui/src/types/index';
131
131
  export const Feedback: (props: IFeedbackWidget) => JSX.Element;
132
132
 
133
+ }
134
+ declare module 'analytica.click/ui-npm/src/components/UserProvider/DashboardAuthValidation' {
135
+ import { AuthedUserContext } from 'ag-common/dist/ui/helpers/jwt';
136
+ import { IRequestCommon } from 'ag-common/dist/ui/helpers/routes';
137
+ export const DashboardAuthValidation: ({ rc: { request, pushPath }, cac: { error: authError, loginWithRedirect, logout, isAuthenticated, loading: authLoading, }, getDashboardPath, addToast, }: {
138
+ addToast: (m: string, options?: {
139
+ appearance: 'error' | 'success';
140
+ autoClose?: number;
141
+ } | undefined) => void;
142
+ getDashboardPath: () => string;
143
+ cac: AuthedUserContext;
144
+ rc: {
145
+ request: IRequestCommon;
146
+ pushPath: (p: string) => Promise<void>;
147
+ };
148
+ }) => {
149
+ openApiDisabled: boolean;
150
+ cancelRender: boolean;
151
+ };
152
+
133
153
  }
134
154
  declare module 'analytica.click/ui-npm/src/components/UserProvider/cognito' {
135
155
  import { ICognitoAuth } from 'ag-common/dist/ui/helpers/cognito';
@@ -193,6 +213,7 @@ declare module 'analytica.click/ui-npm/src/components/index' {
193
213
  export * from 'analytica.click/ui-npm/src/components/ExternalComponent/index';
194
214
  export * from 'analytica.click/ui-npm/src/components/Feedback/index';
195
215
  export * from 'analytica.click/ui-npm/src/components/UserProvider/index';
216
+ export { DashboardAuthValidation } from 'analytica.click/ui-npm/src/components/UserProvider/DashboardAuthValidation';
196
217
 
197
218
  }
198
219
  declare module 'analytica.click/ui-npm/src/helpers/errorTrack' {