@its/core 1.1.8 → 1.1.10

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 (76) hide show
  1. package/dist/core.es.js +11160 -11076
  2. package/dist/core.umd.js +69 -49
  3. package/dist/src/components/Auth/AuthWrapper.d.ts +3 -0
  4. package/dist/src/components/Auth/AuthWrapper.d.ts.map +1 -0
  5. package/dist/src/components/Auth/index.d.ts +2 -0
  6. package/dist/src/components/Auth/index.d.ts.map +1 -0
  7. package/dist/src/components/Auth/types.d.ts +21 -0
  8. package/dist/src/components/Auth/types.d.ts.map +1 -0
  9. package/dist/src/graphQL/Fragments/ErrorFragment.d.ts +2 -0
  10. package/dist/src/graphQL/Fragments/ErrorFragment.d.ts.map +1 -0
  11. package/dist/src/graphQL/Mutations/LoginMutation.d.ts +2 -0
  12. package/dist/src/graphQL/Mutations/LoginMutation.d.ts.map +1 -0
  13. package/dist/src/graphQL/Mutations/LogoutMutation.d.ts +2 -0
  14. package/dist/src/graphQL/Mutations/LogoutMutation.d.ts.map +1 -0
  15. package/dist/src/graphQL/Subscriptions/DeletedNode.d.ts +2 -0
  16. package/dist/src/graphQL/Subscriptions/DeletedNode.d.ts.map +1 -0
  17. package/dist/src/graphQL/__generated__/DeletedNodeSubscription.graphql.d.ts +12 -0
  18. package/dist/src/graphQL/__generated__/DeletedNodeSubscription.graphql.d.ts.map +1 -0
  19. package/dist/src/graphQL/__generated__/ErrorFragment.graphql.d.ts +13 -0
  20. package/dist/src/graphQL/__generated__/ErrorFragment.graphql.d.ts.map +1 -0
  21. package/dist/src/graphQL/__generated__/LoginMutation.graphql.d.ts +33 -0
  22. package/dist/src/graphQL/__generated__/LoginMutation.graphql.d.ts.map +1 -0
  23. package/dist/src/graphQL/__generated__/LogoutMutation.graphql.d.ts +14 -0
  24. package/dist/src/graphQL/__generated__/LogoutMutation.graphql.d.ts.map +1 -0
  25. package/dist/src/hooks/useAuth/index.d.ts +2 -0
  26. package/dist/src/hooks/useAuth/index.d.ts.map +1 -0
  27. package/dist/src/hooks/useAuth/types.d.ts +17 -0
  28. package/dist/src/hooks/useAuth/types.d.ts.map +1 -0
  29. package/dist/src/hooks/useAuth/useAuth.d.ts +3 -0
  30. package/dist/src/hooks/useAuth/useAuth.d.ts.map +1 -0
  31. package/dist/src/store/AuthContext/AuthProvider.d.ts +5 -0
  32. package/dist/src/store/AuthContext/AuthProvider.d.ts.map +1 -0
  33. package/dist/src/store/AuthContext/index.d.ts +3 -0
  34. package/dist/src/store/AuthContext/index.d.ts.map +1 -0
  35. package/dist/src/store/AuthContext/useAuthContext.d.ts +2 -0
  36. package/dist/src/store/AuthContext/useAuthContext.d.ts.map +1 -0
  37. package/dist/src/store/index.d.ts +1 -0
  38. package/dist/src/store/index.d.ts.map +1 -1
  39. package/dist/types/src/components/Auth/AuthWrapper.d.ts +3 -0
  40. package/dist/types/src/components/Auth/AuthWrapper.d.ts.map +1 -0
  41. package/dist/types/src/components/Auth/index.d.ts +2 -0
  42. package/dist/types/src/components/Auth/index.d.ts.map +1 -0
  43. package/dist/types/src/components/Auth/types.d.ts +21 -0
  44. package/dist/types/src/components/Auth/types.d.ts.map +1 -0
  45. package/dist/types/src/graphQL/Fragments/ErrorFragment.d.ts +2 -0
  46. package/dist/types/src/graphQL/Fragments/ErrorFragment.d.ts.map +1 -0
  47. package/dist/types/src/graphQL/Mutations/LoginMutation.d.ts +2 -0
  48. package/dist/types/src/graphQL/Mutations/LoginMutation.d.ts.map +1 -0
  49. package/dist/types/src/graphQL/Mutations/LogoutMutation.d.ts +2 -0
  50. package/dist/types/src/graphQL/Mutations/LogoutMutation.d.ts.map +1 -0
  51. package/dist/types/src/graphQL/Subscriptions/DeletedNode.d.ts +2 -0
  52. package/dist/types/src/graphQL/Subscriptions/DeletedNode.d.ts.map +1 -0
  53. package/dist/types/src/graphQL/__generated__/DeletedNodeSubscription.graphql.d.ts +17 -0
  54. package/dist/types/src/graphQL/__generated__/DeletedNodeSubscription.graphql.d.ts.map +1 -0
  55. package/dist/types/src/graphQL/__generated__/ErrorFragment.graphql.d.ts +19 -0
  56. package/dist/types/src/graphQL/__generated__/ErrorFragment.graphql.d.ts.map +1 -0
  57. package/dist/types/src/graphQL/__generated__/LoginMutation.graphql.d.ts +38 -0
  58. package/dist/types/src/graphQL/__generated__/LoginMutation.graphql.d.ts.map +1 -0
  59. package/dist/types/src/graphQL/__generated__/LogoutMutation.graphql.d.ts +19 -0
  60. package/dist/types/src/graphQL/__generated__/LogoutMutation.graphql.d.ts.map +1 -0
  61. package/dist/types/src/hooks/useAuth/index.d.ts +2 -0
  62. package/dist/types/src/hooks/useAuth/index.d.ts.map +1 -0
  63. package/dist/types/src/hooks/useAuth/types.d.ts +17 -0
  64. package/dist/types/src/hooks/useAuth/types.d.ts.map +1 -0
  65. package/dist/types/src/hooks/useAuth/useAuth.d.ts +3 -0
  66. package/dist/types/src/hooks/useAuth/useAuth.d.ts.map +1 -0
  67. package/dist/types/src/store/AuthContext/AuthProvider.d.ts +5 -0
  68. package/dist/types/src/store/AuthContext/AuthProvider.d.ts.map +1 -0
  69. package/dist/types/src/store/AuthContext/index.d.ts +3 -0
  70. package/dist/types/src/store/AuthContext/index.d.ts.map +1 -0
  71. package/dist/types/src/store/AuthContext/useAuthContext.d.ts +2 -0
  72. package/dist/types/src/store/AuthContext/useAuthContext.d.ts.map +1 -0
  73. package/dist/types/src/store/index.d.ts +1 -0
  74. package/dist/types/src/store/index.d.ts.map +1 -1
  75. package/dist/types/tsconfig.tsbuildinfo +1 -1
  76. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import { AuthWrapperProps } from './types';
2
+ export default function AuthWrapper({ ChangePasswordWidget, children, title, tabs, backgroundColor, blur, elevation, color, borderRadius, border, padding, width, height, redirect, redirectPath, loggedCallback, logo, }: AuthWrapperProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=AuthWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/AuthWrapper.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAY,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAiC1D,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,oBAAoB,EACpB,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,YAAY,EACZ,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,QAAe,EACf,YAAkB,EAClB,cAAc,EACd,IAAI,GACL,EAAE,gBAAgB,2CAkJlB"}
@@ -0,0 +1,2 @@
1
+ export { default as AuthWrapper } from './AuthWrapper';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { ReactNode, FC } from 'react';
2
+ import { FormPaperProps } from '../Styled/Paper';
3
+ import { default as ITab } from '../Tabs/types';
4
+ type WidgetProps = {
5
+ pending?: boolean;
6
+ };
7
+ type AuthTabs = ITab & {
8
+ child: FC<WidgetProps>;
9
+ };
10
+ type AuthWrapperProps = {
11
+ ChangePasswordWidget?: FC<WidgetProps>;
12
+ children?: ReactNode;
13
+ tabs?: Array<AuthTabs>;
14
+ title?: string;
15
+ redirect?: boolean;
16
+ redirectPath?: string;
17
+ loggedCallback?: () => void;
18
+ logo?: string;
19
+ } & FormPaperProps;
20
+ export type { WidgetProps, AuthTabs, AuthWrapperProps };
21
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,IAAI,MAAM,eAAe,CAAC;AAEjC,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,QAAQ,GAAG,IAAI,GAAG;IAAE,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC;AAElD,KAAK,gBAAgB,GAAG;IACtB,oBAAoB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,cAAc,CAAC;AAEnB,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const ErrorFragment: import('relay-runtime').GraphQLTaggedNode;
2
+ //# sourceMappingURL=ErrorFragment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorFragment.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/Fragments/ErrorFragment.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,2CAKzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const LoginMutation: import('relay-runtime').GraphQLTaggedNode;
2
+ //# sourceMappingURL=LoginMutation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoginMutation.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/Mutations/LoginMutation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,2CAczB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const LogoutMutation: import('relay-runtime').GraphQLTaggedNode;
2
+ //# sourceMappingURL=LogoutMutation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogoutMutation.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/Mutations/LogoutMutation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,2CAM1B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const DeletedNode: import('relay-runtime').GraphQLTaggedNode;
2
+ //# sourceMappingURL=DeletedNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeletedNode.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/Subscriptions/DeletedNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,2CAIvB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type DeletedNodeSubscription$variables = Record<PropertyKey, never>;
3
+ export type DeletedNodeSubscription$data = {
4
+ readonly deletedNode: string;
5
+ };
6
+ export type DeletedNodeSubscription = {
7
+ response: DeletedNodeSubscription$data;
8
+ variables: DeletedNodeSubscription$variables;
9
+ };
10
+ declare const node: ConcreteRequest;
11
+ export default node;
12
+ //# sourceMappingURL=DeletedNodeSubscription.graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeletedNodeSubscription.graphql.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/__generated__/DeletedNodeSubscription.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,iCAAiC,GAAG,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAC3E,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,4BAA4B,CAAC;IACvC,SAAS,EAAE,iCAAiC,CAAC;CAC9C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eAoCR,CAAC;AAIL,eAAe,IAAI,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { ReaderInlineDataFragment, FragmentRefs } from 'relay-runtime';
2
+ export type ErrorFragment$data = {
3
+ readonly code: string;
4
+ readonly description: string;
5
+ readonly " $fragmentType": "ErrorFragment";
6
+ };
7
+ export type ErrorFragment$key = {
8
+ readonly " $data"?: ErrorFragment$data;
9
+ readonly " $fragmentSpreads": FragmentRefs<"ErrorFragment">;
10
+ };
11
+ declare const node: ReaderInlineDataFragment;
12
+ export default node;
13
+ //# sourceMappingURL=ErrorFragment.graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorFragment.graphql.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/__generated__/ErrorFragment.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,gBAAgB,EAAE,eAAe,CAAC;CAC5C,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,mBAAmB,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;CAC7D,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,wBAGX,CAAC;AAIF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type InputAuthenticationRequest = {
3
+ captchaValue?: string | null | undefined;
4
+ client_id?: string | null | undefined;
5
+ grant_type?: string | null | undefined;
6
+ newPassword?: string | null | undefined;
7
+ password?: string | null | undefined;
8
+ rFID?: string | null | undefined;
9
+ username?: string | null | undefined;
10
+ };
11
+ export type LoginMutation$variables = {
12
+ credentials: InputAuthenticationRequest;
13
+ };
14
+ export type LoginMutation$data = {
15
+ readonly authMutation: {
16
+ readonly login: {
17
+ readonly errors: ReadonlyArray<{
18
+ readonly code: string;
19
+ readonly description: string;
20
+ }>;
21
+ readonly expires: any | null | undefined;
22
+ readonly token: string | null | undefined;
23
+ readonly username: string | null | undefined;
24
+ };
25
+ };
26
+ };
27
+ export type LoginMutation = {
28
+ response: LoginMutation$data;
29
+ variables: LoginMutation$variables;
30
+ };
31
+ declare const node: ConcreteRequest;
32
+ export default node;
33
+ //# sourceMappingURL=LoginMutation.graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoginMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/__generated__/LoginMutation.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACtC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,EAAE,0BAA0B,CAAC;CACzC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,KAAK,EAAE;YACd,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;gBAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;gBACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;aAC9B,CAAC,CAAC;YACH,QAAQ,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;YACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;YAC1C,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;SAC9C,CAAC;KACH,CAAC;CACH,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,SAAS,EAAE,uBAAuB,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA8GR,CAAC;AAIL,eAAe,IAAI,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { ConcreteRequest } from 'relay-runtime';
2
+ export type LogoutMutation$variables = Record<PropertyKey, never>;
3
+ export type LogoutMutation$data = {
4
+ readonly authMutation: {
5
+ readonly logout: string;
6
+ };
7
+ };
8
+ export type LogoutMutation = {
9
+ response: LogoutMutation$data;
10
+ variables: LogoutMutation$variables;
11
+ };
12
+ declare const node: ConcreteRequest;
13
+ export default node;
14
+ //# sourceMappingURL=LogoutMutation.graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogoutMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../src/graphQL/__generated__/LogoutMutation.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AACF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,EAAE,wBAAwB,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA+CR,CAAC;AAIL,eAAe,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as useAuth } from './useAuth';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { LoginMutation, LoginMutation$variables } from '../../graphQL/__generated__/LoginMutation.graphql';
2
+ import { LogoutMutation } from '../../graphQL/__generated__/LogoutMutation.graphql';
3
+ export type Login = [(formData: FormData) => void, boolean];
4
+ export type Logout = [() => void, pending: boolean];
5
+ export type AuthActions = {
6
+ login: Login;
7
+ logout: Logout;
8
+ removeError: (index: number) => void;
9
+ };
10
+ export type LoginMutationType = LoginMutation;
11
+ export type LogoutMutationType = LogoutMutation;
12
+ export type LoginMutationVariables = LoginMutation$variables;
13
+ export type ErrorFragmentType = {
14
+ code: string;
15
+ description: string;
16
+ };
17
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,uBAAuB,EACxB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACpF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,EAAE,OAAO,CAAC,CAAC;AAC5D,MAAM,MAAM,MAAM,GAAG,CAAC,MAAM,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AACpD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC9C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAChD,MAAM,MAAM,sBAAsB,GAAG,uBAAuB,CAAC;AAC7D,MAAM,MAAM,iBAAiB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AuthActions, ErrorFragmentType } from './types';
2
+ export default function useAuth(): [boolean, ErrorFragmentType[], AuthActions];
3
+ //# sourceMappingURL=useAuth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useAuth/useAuth.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAIX,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAIjB,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,WAAW,CAAC,CAwE7E"}
@@ -0,0 +1,5 @@
1
+ export declare const AuthContext: import('react').Context<[boolean, import('../../hooks/useAuth/types').ErrorFragmentType[], import('../../hooks/useAuth/types').AuthActions] | null>;
2
+ export default function AuthProvider({ children }: {
3
+ children?: React.ReactNode;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=AuthProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../src/store/AuthContext/AuthProvider.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,qJAAyD,CAAC;AAElF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAQhF"}
@@ -0,0 +1,3 @@
1
+ export { default as AuthProvider } from './AuthProvider';
2
+ export { default as useAuthContext } from './useAuthContext';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/store/AuthContext/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export default function useAuthContext(): [boolean, import('../../hooks/useAuth/types').ErrorFragmentType[], import('../../hooks/useAuth/types').AuthActions];
2
+ //# sourceMappingURL=useAuthContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAuthContext.d.ts","sourceRoot":"","sources":["../../../../src/store/AuthContext/useAuthContext.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,cAAc,wHAMrC"}
@@ -1,4 +1,5 @@
1
1
  export * from './pagination_context';
2
2
  export * from './config_context';
3
3
  export * from './idle_context';
4
+ export * from './AuthContext';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { AuthWrapperProps } from './types';
2
+ export default function AuthWrapper({ ChangePasswordWidget, children, title, tabs, backgroundColor, blur, elevation, color, borderRadius, border, padding, width, height, redirect, redirectPath, loggedCallback, logo, }: AuthWrapperProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=AuthWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/Auth/AuthWrapper.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAY,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAiC1D,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,oBAAoB,EACpB,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,YAAY,EACZ,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,QAAe,EACf,YAAkB,EAClB,cAAc,EACd,IAAI,GACL,EAAE,gBAAgB,2CAkJlB"}
@@ -0,0 +1,2 @@
1
+ export { default as AuthWrapper } from './AuthWrapper';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { ReactNode, FC } from 'react';
2
+ import { FormPaperProps } from '../Styled/Paper';
3
+ import ITab from '../Tabs/types';
4
+ type WidgetProps = {
5
+ pending?: boolean;
6
+ };
7
+ type AuthTabs = ITab & {
8
+ child: FC<WidgetProps>;
9
+ };
10
+ type AuthWrapperProps = {
11
+ ChangePasswordWidget?: FC<WidgetProps>;
12
+ children?: ReactNode;
13
+ tabs?: Array<AuthTabs>;
14
+ title?: string;
15
+ redirect?: boolean;
16
+ redirectPath?: string;
17
+ loggedCallback?: () => void;
18
+ logo?: string;
19
+ } & FormPaperProps;
20
+ export type { WidgetProps, AuthTabs, AuthWrapperProps };
21
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,IAAI,MAAM,eAAe,CAAC;AAEjC,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,KAAK,QAAQ,GAAG,IAAI,GAAG;IAAE,KAAK,EAAE,EAAE,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC;AAElD,KAAK,gBAAgB,GAAG;IACtB,oBAAoB,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,cAAc,CAAC;AAEnB,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const ErrorFragment: import("relay-runtime").GraphQLTaggedNode;
2
+ //# sourceMappingURL=ErrorFragment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorFragment.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/Fragments/ErrorFragment.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,2CAKzB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const LoginMutation: import("relay-runtime").GraphQLTaggedNode;
2
+ //# sourceMappingURL=LoginMutation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoginMutation.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/Mutations/LoginMutation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,2CAczB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const LogoutMutation: import("relay-runtime").GraphQLTaggedNode;
2
+ //# sourceMappingURL=LogoutMutation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogoutMutation.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/Mutations/LogoutMutation.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,2CAM1B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const DeletedNode: import("relay-runtime").GraphQLTaggedNode;
2
+ //# sourceMappingURL=DeletedNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeletedNode.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/Subscriptions/DeletedNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,2CAIvB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @generated SignedSource<<43c7b26d6e9111eca2ed97dd82374a9e>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ export type DeletedNodeSubscription$variables = Record<PropertyKey, never>;
8
+ export type DeletedNodeSubscription$data = {
9
+ readonly deletedNode: string;
10
+ };
11
+ export type DeletedNodeSubscription = {
12
+ response: DeletedNodeSubscription$data;
13
+ variables: DeletedNodeSubscription$variables;
14
+ };
15
+ declare const node: ConcreteRequest;
16
+ export default node;
17
+ //# sourceMappingURL=DeletedNodeSubscription.graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeletedNodeSubscription.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/__generated__/DeletedNodeSubscription.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,iCAAiC,GAAG,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAC3E,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,4BAA4B,CAAC;IACvC,SAAS,EAAE,iCAAiC,CAAC;CAC9C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eAoCR,CAAC;AAIL,eAAe,IAAI,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @generated SignedSource<<23a8b0fc61ecee0413559093691af9e3>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ReaderInlineDataFragment } from 'relay-runtime';
7
+ import { FragmentRefs } from "relay-runtime";
8
+ export type ErrorFragment$data = {
9
+ readonly code: string;
10
+ readonly description: string;
11
+ readonly " $fragmentType": "ErrorFragment";
12
+ };
13
+ export type ErrorFragment$key = {
14
+ readonly " $data"?: ErrorFragment$data;
15
+ readonly " $fragmentSpreads": FragmentRefs<"ErrorFragment">;
16
+ };
17
+ declare const node: ReaderInlineDataFragment;
18
+ export default node;
19
+ //# sourceMappingURL=ErrorFragment.graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorFragment.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/__generated__/ErrorFragment.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,gBAAgB,EAAE,eAAe,CAAC;CAC5C,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,mBAAmB,EAAE,YAAY,CAAC,eAAe,CAAC,CAAC;CAC7D,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,wBAGX,CAAC;AAIF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @generated SignedSource<<7dd0f9c225662d152b81e9ce7912b693>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ export type InputAuthenticationRequest = {
8
+ captchaValue?: string | null | undefined;
9
+ client_id?: string | null | undefined;
10
+ grant_type?: string | null | undefined;
11
+ newPassword?: string | null | undefined;
12
+ password?: string | null | undefined;
13
+ rFID?: string | null | undefined;
14
+ username?: string | null | undefined;
15
+ };
16
+ export type LoginMutation$variables = {
17
+ credentials: InputAuthenticationRequest;
18
+ };
19
+ export type LoginMutation$data = {
20
+ readonly authMutation: {
21
+ readonly login: {
22
+ readonly errors: ReadonlyArray<{
23
+ readonly code: string;
24
+ readonly description: string;
25
+ }>;
26
+ readonly expires: any | null | undefined;
27
+ readonly token: string | null | undefined;
28
+ readonly username: string | null | undefined;
29
+ };
30
+ };
31
+ };
32
+ export type LoginMutation = {
33
+ response: LoginMutation$data;
34
+ variables: LoginMutation$variables;
35
+ };
36
+ declare const node: ConcreteRequest;
37
+ export default node;
38
+ //# sourceMappingURL=LoginMutation.graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoginMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/__generated__/LoginMutation.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACtC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,EAAE,0BAA0B,CAAC;CACzC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,KAAK,EAAE;YACd,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;gBAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;gBACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;aAC9B,CAAC,CAAC;YACH,QAAQ,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;YACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;YAC1C,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;SAC9C,CAAC;KACH,CAAC;CACH,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,SAAS,EAAE,uBAAuB,CAAC;CACpC,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA8GR,CAAC;AAIL,eAAe,IAAI,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @generated SignedSource<<79cf1acf2b4f3ddd1479063274005f83>>
3
+ * @lightSyntaxTransform
4
+ * @nogrep
5
+ */
6
+ import { ConcreteRequest } from 'relay-runtime';
7
+ export type LogoutMutation$variables = Record<PropertyKey, never>;
8
+ export type LogoutMutation$data = {
9
+ readonly authMutation: {
10
+ readonly logout: string;
11
+ };
12
+ };
13
+ export type LogoutMutation = {
14
+ response: LogoutMutation$data;
15
+ variables: LogoutMutation$variables;
16
+ };
17
+ declare const node: ConcreteRequest;
18
+ export default node;
19
+ //# sourceMappingURL=LogoutMutation.graphql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogoutMutation.graphql.d.ts","sourceRoot":"","sources":["../../../../../src/graphQL/__generated__/LogoutMutation.graphql.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,YAAY,EAAE;QACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AACF,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,EAAE,wBAAwB,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,eA+CR,CAAC;AAIL,eAAe,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as useAuth } from './useAuth';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAuth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { LoginMutation, LoginMutation$variables } from '../../graphQL/__generated__/LoginMutation.graphql';
2
+ import { LogoutMutation } from '../../graphQL/__generated__/LogoutMutation.graphql';
3
+ export type Login = [(formData: FormData) => void, boolean];
4
+ export type Logout = [() => void, pending: boolean];
5
+ export type AuthActions = {
6
+ login: Login;
7
+ logout: Logout;
8
+ removeError: (index: number) => void;
9
+ };
10
+ export type LoginMutationType = LoginMutation;
11
+ export type LogoutMutationType = LogoutMutation;
12
+ export type LoginMutationVariables = LoginMutation$variables;
13
+ export type ErrorFragmentType = {
14
+ code: string;
15
+ description: string;
16
+ };
17
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAuth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,uBAAuB,EACxB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AACpF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,EAAE,OAAO,CAAC,CAAC;AAC5D,MAAM,MAAM,MAAM,GAAG,CAAC,MAAM,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AACpD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC9C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAChD,MAAM,MAAM,sBAAsB,GAAG,uBAAuB,CAAC;AAC7D,MAAM,MAAM,iBAAiB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { AuthActions, ErrorFragmentType } from './types';
2
+ export default function useAuth(): [boolean, ErrorFragmentType[], AuthActions];
3
+ //# sourceMappingURL=useAuth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAuth.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAuth/useAuth.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAIX,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAIjB,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,CAAC,OAAO,EAAE,iBAAiB,EAAE,EAAE,WAAW,CAAC,CAwE7E"}
@@ -0,0 +1,5 @@
1
+ export declare const AuthContext: import("react").Context<[boolean, import("../../hooks/useAuth/types").ErrorFragmentType[], import("../../hooks/useAuth/types").AuthActions] | null>;
2
+ export default function AuthProvider({ children }: {
3
+ children?: React.ReactNode;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=AuthProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../../src/store/AuthContext/AuthProvider.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,qJAAyD,CAAC;AAElF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAQhF"}
@@ -0,0 +1,3 @@
1
+ export { default as AuthProvider } from './AuthProvider';
2
+ export { default as useAuthContext } from './useAuthContext';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/store/AuthContext/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export default function useAuthContext(): [boolean, import("../../hooks/useAuth/types").ErrorFragmentType[], import("../../hooks/useAuth/types").AuthActions];
2
+ //# sourceMappingURL=useAuthContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAuthContext.d.ts","sourceRoot":"","sources":["../../../../../src/store/AuthContext/useAuthContext.tsx"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,cAAc,wHAMrC"}
@@ -1,4 +1,5 @@
1
1
  export * from './pagination_context';
2
2
  export * from './config_context';
3
3
  export * from './idle_context';
4
+ export * from './AuthContext';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC"}