@refinedev/core 4.55.0 → 4.56.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.
- package/CHANGELOG.md +81 -0
- package/dist/components/link/index.d.cts +3 -3
- package/dist/components/link/index.d.cts.map +1 -1
- package/dist/components/link/index.d.mts +3 -3
- package/dist/components/link/index.d.mts.map +3 -3
- package/dist/components/link/index.d.ts +3 -3
- package/dist/components/link/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.cts.map +1 -1
- package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/login/index.d.cts.map +1 -1
- package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/register/index.d.cts.map +1 -1
- package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.cts.map +1 -1
- package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
- package/dist/components/pages/auth/types.d.cts +8 -0
- package/dist/components/pages/auth/types.d.cts.map +1 -1
- package/dist/components/pages/auth/types.d.mts +8 -0
- package/dist/components/pages/auth/types.d.mts.map +8 -0
- package/dist/components/pages/auth/types.d.ts +8 -0
- package/dist/components/pages/auth/types.d.ts.map +1 -1
- package/dist/contexts/metaContext/index.d.cts +18 -0
- package/dist/contexts/metaContext/index.d.cts.map +1 -0
- package/dist/contexts/metaContext/index.d.mts +18 -0
- package/dist/contexts/metaContext/index.d.mts.map +18 -0
- package/dist/contexts/metaContext/index.d.ts +18 -0
- package/dist/contexts/metaContext/index.d.ts.map +1 -0
- package/dist/hooks/auth/index.d.cts +1 -0
- package/dist/hooks/auth/index.d.cts.map +1 -1
- package/dist/hooks/auth/index.d.mts +1 -0
- package/dist/hooks/auth/index.d.mts.map +1 -0
- package/dist/hooks/auth/index.d.ts +1 -0
- package/dist/hooks/auth/index.d.ts.map +1 -1
- package/dist/hooks/router/use-link/index.d.cts +1 -1
- package/dist/hooks/router/use-link/index.d.mts +1 -1
- package/dist/hooks/router/use-link/index.d.mts.map +1 -1
- package/dist/hooks/router/use-link/index.d.ts +1 -1
- package/dist/hooks/useMeta/index.d.cts +2 -12
- package/dist/hooks/useMeta/index.d.cts.map +1 -1
- package/dist/hooks/useMeta/index.d.mts +2 -12
- package/dist/hooks/useMeta/index.d.mts.map +2 -12
- package/dist/hooks/useMeta/index.d.ts +2 -12
- package/dist/hooks/useMeta/index.d.ts.map +1 -1
- package/dist/index.cjs +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +18 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/link/index.tsx +6 -8
- package/src/components/pages/auth/components/forgotPassword/index.tsx +2 -1
- package/src/components/pages/auth/components/login/index.tsx +3 -1
- package/src/components/pages/auth/components/register/index.tsx +3 -1
- package/src/components/pages/auth/components/updatePassword/index.tsx +2 -0
- package/src/components/pages/auth/types.tsx +8 -0
- package/src/contexts/metaContext/index.tsx +45 -0
- package/src/hooks/auth/index.ts +1 -0
- package/src/hooks/useMeta/index.ts +16 -2
- package/src/index.tsx +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,86 @@
|
|
|
1
1
|
# @refinedev/core
|
|
2
2
|
|
|
3
|
+
## 4.56.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#6445](https://github.com/refinedev/refine/pull/6445) [`4ff4335274d5689ec62127312695b76d692a125a`](https://github.com/refinedev/refine/commit/4ff4335274d5689ec62127312695b76d692a125a) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - feat: added new prop called `mutationVariables` to `<AuthPage />`. #6431
|
|
8
|
+
From now on, you can pass additional parameters to the `authProvider` methods using the `mutationVariables` prop of the `<AuthPage />` component.
|
|
9
|
+
|
|
10
|
+
```tsx
|
|
11
|
+
import { AuthPage } from "@refinedev/antd"; // or "@refinedev/chakra-ui", "@refinedev/mantine", "@refinedev/mui"
|
|
12
|
+
|
|
13
|
+
const MyLoginPage = () => {
|
|
14
|
+
return (
|
|
15
|
+
<AuthPage
|
|
16
|
+
type="login" // all other types are also supported.
|
|
17
|
+
// highlight-start
|
|
18
|
+
mutationVariables={{
|
|
19
|
+
foo: "bar",
|
|
20
|
+
xyz: "abc",
|
|
21
|
+
}}
|
|
22
|
+
// highlight-end
|
|
23
|
+
/>
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// all mutation methods are supported.
|
|
28
|
+
const authProvider = {
|
|
29
|
+
login: async ({ foo, xyz, ...otherProps }) => {
|
|
30
|
+
console.log(foo); // bar
|
|
31
|
+
console.log(xyz); // abc
|
|
32
|
+
// ...
|
|
33
|
+
},
|
|
34
|
+
register: async ({ foo, xyz, ...otherProps }) => {
|
|
35
|
+
console.log(foo); // bar
|
|
36
|
+
console.log(xyz); // abc
|
|
37
|
+
// ...
|
|
38
|
+
},
|
|
39
|
+
// ...
|
|
40
|
+
};
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
[Resolves #6431](https://github.com/refinedev/refine/issues/6431)
|
|
44
|
+
|
|
45
|
+
- [#6445](https://github.com/refinedev/refine/pull/6445) [`4ff4335274d5689ec62127312695b76d692a125a`](https://github.com/refinedev/refine/commit/4ff4335274d5689ec62127312695b76d692a125a) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - feat: exported useInvalidateAuthStore hook from auth hooks
|
|
46
|
+
|
|
47
|
+
Now you can invalide the users identity state and force a react query refresh using this hook
|
|
48
|
+
|
|
49
|
+
Resolves [#6341](https://github.com/refinedev/refine/issues/6341)
|
|
50
|
+
|
|
51
|
+
- [#6445](https://github.com/refinedev/refine/pull/6445) [`4ff4335274d5689ec62127312695b76d692a125a`](https://github.com/refinedev/refine/commit/4ff4335274d5689ec62127312695b76d692a125a) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - feat: Added `MetaContext` to share data between components, providers, and hooks.
|
|
52
|
+
|
|
53
|
+
> 🚨 Designed for internal use only.
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- [#6445](https://github.com/refinedev/refine/pull/6445) [`4ff4335274d5689ec62127312695b76d692a125a`](https://github.com/refinedev/refine/commit/4ff4335274d5689ec62127312695b76d692a125a) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - fix: Added more flexibility to the [`<Link />`](https://refine.dev/docs/routing/components/link/) component's `ref` type by changing it from `HTMLAnchorElement` to `Element`.
|
|
58
|
+
From now on, we can pass any type of `ref` to the [`<Link />`](https://refine.dev/docs/routing/components/link/) component.
|
|
59
|
+
|
|
60
|
+
```tsx
|
|
61
|
+
// Before fix - Only worked with HTMLAnchorElement
|
|
62
|
+
const ref = useRef<HTMLAnchorElement>(null);
|
|
63
|
+
|
|
64
|
+
// After fix - Works with any Element type
|
|
65
|
+
const ref = useRef<HTMLDivElement>(null);
|
|
66
|
+
const ref = useRef<HTMLSpanElement>(null);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Resolves [#6463](https://github.com/refinedev/refine/issues/6463)
|
|
70
|
+
|
|
71
|
+
- [#6445](https://github.com/refinedev/refine/pull/6445) [`4ff4335274d5689ec62127312695b76d692a125a`](https://github.com/refinedev/refine/commit/4ff4335274d5689ec62127312695b76d692a125a) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - fix: Priority logic between `to` and `go` props in [`Link`](https://refine.dev/docs/routing/components/link/) component.
|
|
72
|
+
From now on, the `to` prop has priority over the `go` prop. If both are passed, the `to` prop will be used.
|
|
73
|
+
|
|
74
|
+
```tsx
|
|
75
|
+
// Before fix - go would override to
|
|
76
|
+
<Link to="/posts" go={{ resource: "categories" }} />
|
|
77
|
+
|
|
78
|
+
// After fix - to overrides go
|
|
79
|
+
<Link to="/posts" go={{ resource: "categories" }} />
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Resolves [#6461](https://github.com/refinedev/refine/issues/6461)
|
|
83
|
+
|
|
3
84
|
## 4.55.0
|
|
4
85
|
|
|
5
86
|
### Minor Changes
|
|
@@ -6,15 +6,15 @@ type LinkPropsWithGo = {
|
|
|
6
6
|
type LinkPropsWithTo = {
|
|
7
7
|
to: string;
|
|
8
8
|
};
|
|
9
|
-
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) &
|
|
9
|
+
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) & TProps>;
|
|
10
10
|
/**
|
|
11
11
|
* @param to The path to navigate to.
|
|
12
12
|
* @param go The useGo.go params to navigate to. If `to` provided, this will be ignored.
|
|
13
13
|
* @returns routerProvider.Link if it is provided, otherwise an anchor tag.
|
|
14
14
|
*/
|
|
15
|
-
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<
|
|
15
|
+
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<Element>) => React.JSX.Element;
|
|
16
16
|
export declare const Link: <T = {}>(props: LinkProps<T> & {
|
|
17
|
-
ref?: Ref<
|
|
17
|
+
ref?: Ref<Element>;
|
|
18
18
|
}) => ReturnType<typeof LinkComponent>;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,GAAG,EAA0B,MAAM,OAAO,CAAC;AAGhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGtE,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,SAAS,CAAC,MAAM,GAAG,EAAE,IAAI,KAAK,CAAC,iBAAiB,CAC1D,CAAC,eAAe,GAAG,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,GAAG,EAA0B,MAAM,OAAO,CAAC;AAGhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGtE,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,SAAS,CAAC,MAAM,GAAG,EAAE,IAAI,KAAK,CAAC,iBAAiB,CAC1D,CAAC,eAAe,GAAG,eAAe,CAAC,GAAG,MAAM,CAC7C,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,aAAa,uBACV,UAAU,MAAM,CAAC,OACnB,IAAI,OAAO,CAAC,sBA0ClB,CAAC;AAEF,eAAO,MAAM,IAAI,kBACR,UAAU,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,IAAI,OAAO,CAAC,CAAA;CAAE,KACzC,WAAW,oBAAoB,CAAC,CAAC"}
|
|
@@ -6,15 +6,15 @@ type LinkPropsWithGo = {
|
|
|
6
6
|
type LinkPropsWithTo = {
|
|
7
7
|
to: string;
|
|
8
8
|
};
|
|
9
|
-
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) &
|
|
9
|
+
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) & TProps>;
|
|
10
10
|
/**
|
|
11
11
|
* @param to The path to navigate to.
|
|
12
12
|
* @param go The useGo.go params to navigate to. If `to` provided, this will be ignored.
|
|
13
13
|
* @returns routerProvider.Link if it is provided, otherwise an anchor tag.
|
|
14
14
|
*/
|
|
15
|
-
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<
|
|
15
|
+
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<Element>) => React.JSX.Element;
|
|
16
16
|
export declare const Link: <T = {}>(props: LinkProps<T> & {
|
|
17
|
-
ref?: Ref<
|
|
17
|
+
ref?: Ref<Element>;
|
|
18
18
|
}) => ReturnType<typeof LinkComponent>;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,15 +6,15 @@ type LinkPropsWithGo = {
|
|
|
6
6
|
type LinkPropsWithTo = {
|
|
7
7
|
to: string;
|
|
8
8
|
};
|
|
9
|
-
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) &
|
|
9
|
+
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) & TProps>;
|
|
10
10
|
/**
|
|
11
11
|
* @param to The path to navigate to.
|
|
12
12
|
* @param go The useGo.go params to navigate to. If `to` provided, this will be ignored.
|
|
13
13
|
* @returns routerProvider.Link if it is provided, otherwise an anchor tag.
|
|
14
14
|
*/
|
|
15
|
-
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<
|
|
15
|
+
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<Element>) => React.JSX.Element;
|
|
16
16
|
export declare const Link: <T = {}>(props: LinkProps<T> & {
|
|
17
|
-
ref?: Ref<
|
|
17
|
+
ref?: Ref<Element>;
|
|
18
18
|
}) => ReturnType<typeof LinkComponent>;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,15 +6,15 @@ type LinkPropsWithGo = {
|
|
|
6
6
|
type LinkPropsWithTo = {
|
|
7
7
|
to: string;
|
|
8
8
|
};
|
|
9
|
-
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) &
|
|
9
|
+
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) & TProps>;
|
|
10
10
|
/**
|
|
11
11
|
* @param to The path to navigate to.
|
|
12
12
|
* @param go The useGo.go params to navigate to. If `to` provided, this will be ignored.
|
|
13
13
|
* @returns routerProvider.Link if it is provided, otherwise an anchor tag.
|
|
14
14
|
*/
|
|
15
|
-
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<
|
|
15
|
+
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<Element>) => React.JSX.Element;
|
|
16
16
|
export declare const Link: <T = {}>(props: LinkProps<T> & {
|
|
17
|
-
ref?: Ref<
|
|
17
|
+
ref?: Ref<Element>;
|
|
18
18
|
}) => ReturnType<typeof LinkComponent>;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,GAAG,EAA0B,MAAM,OAAO,CAAC;AAGhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGtE,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,SAAS,CAAC,MAAM,GAAG,EAAE,IAAI,KAAK,CAAC,iBAAiB,CAC1D,CAAC,eAAe,GAAG,eAAe,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,GAAG,EAA0B,MAAM,OAAO,CAAC;AAGhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGtE,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,SAAS,CAAC,MAAM,GAAG,EAAE,IAAI,KAAK,CAAC,iBAAiB,CAC1D,CAAC,eAAe,GAAG,eAAe,CAAC,GAAG,MAAM,CAC7C,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,aAAa,uBACV,UAAU,MAAM,CAAC,OACnB,IAAI,OAAO,CAAC,sBA0ClB,CAAC;AAEF,eAAO,MAAM,IAAI,kBACR,UAAU,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,IAAI,OAAO,CAAC,CAAA;CAAE,KACzC,WAAW,oBAAoB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/forgotPassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,KAAK,mBAAmB,GAAG,uBAAuB,CAChD,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/forgotPassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,KAAK,mBAAmB,GAAG,uBAAuB,CAChD,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuF5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/forgotPassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,KAAK,mBAAmB,GAAG,uBAAuB,CAChD,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/forgotPassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,KAAK,mBAAmB,GAAG,uBAAuB,CAChD,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAuF5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/login/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,aAAa,CAAC;AAElE,KAAK,UAAU,GAAG,cAAc,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AAE5E,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/login/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,aAAa,CAAC;AAElE,KAAK,UAAU,GAAG,cAAc,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AAE5E,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAqL1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/login/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,aAAa,CAAC;AAElE,KAAK,UAAU,GAAG,cAAc,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AAE5E,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/login/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAkB,cAAc,EAAE,MAAM,aAAa,CAAC;AAElE,KAAK,UAAU,GAAG,cAAc,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AAE5E,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAqL1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/register/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,KAAK,aAAa,GAAG,iBAAiB,CACpC,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/register/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,KAAK,aAAa,GAAG,iBAAiB,CACpC,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuJhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/register/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,KAAK,aAAa,GAAG,iBAAiB,CACpC,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/register/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAYxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,KAAK,aAAa,GAAG,iBAAiB,CACpC,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuJhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/updatePassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,KAAK,mBAAmB,GAAG,uBAAuB,CAChD,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/updatePassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,KAAK,mBAAmB,GAAG,uBAAuB,CAChD,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqF5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/updatePassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,KAAK,mBAAmB,GAAG,uBAAuB,CAChD,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/updatePassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,aAAa,CAAC;AAErB,KAAK,mBAAmB,GAAG,uBAAuB,CAChD,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqF5D,CAAC"}
|
|
@@ -126,6 +126,10 @@ export type AuthPageProps<TWrapperProps extends {} = Record<keyof any, unknown>,
|
|
|
126
126
|
* @optional
|
|
127
127
|
* */
|
|
128
128
|
title?: React.ReactNode;
|
|
129
|
+
/**
|
|
130
|
+
* @description Can be used to pass additional variables to the mutation. This is useful when you need to pass other variables to the authProvider.
|
|
131
|
+
*/
|
|
132
|
+
mutationVariables?: Record<string, any>;
|
|
129
133
|
};
|
|
130
134
|
/**
|
|
131
135
|
* This should be the base type for `AuthPage` `Login` component implementations in UI integrations.
|
|
@@ -141,6 +145,7 @@ export type LoginPageProps<TWrapperProps extends {} = Record<keyof any, unknown>
|
|
|
141
145
|
formProps?: TFormProps;
|
|
142
146
|
title?: React.ReactNode;
|
|
143
147
|
hideForm?: boolean;
|
|
148
|
+
mutationVariables?: Record<string, unknown>;
|
|
144
149
|
}>;
|
|
145
150
|
/**
|
|
146
151
|
* This should be the base type for `AuthPage` `Register` component implementations in UI integrations.
|
|
@@ -154,6 +159,7 @@ export type RegisterPageProps<TWrapperProps extends {} = Record<keyof any, unkno
|
|
|
154
159
|
formProps?: TFormProps;
|
|
155
160
|
title?: React.ReactNode;
|
|
156
161
|
hideForm?: boolean;
|
|
162
|
+
mutationVariables?: Record<string, unknown>;
|
|
157
163
|
}>;
|
|
158
164
|
/**
|
|
159
165
|
* This should be the base type for `AuthPage` `Reset Password` component implementations in UI integrations.
|
|
@@ -165,6 +171,7 @@ export type ForgotPasswordPageProps<TWrapperProps extends {} = Record<keyof any,
|
|
|
165
171
|
contentProps?: TContentProps;
|
|
166
172
|
formProps?: TFormProps;
|
|
167
173
|
title?: React.ReactNode;
|
|
174
|
+
mutationVariables?: Record<string, unknown>;
|
|
168
175
|
}>;
|
|
169
176
|
/**
|
|
170
177
|
* This should be the base type for `AuthPage` `Update Password` component implementations in UI integrations.
|
|
@@ -175,5 +182,6 @@ export type UpdatePasswordPageProps<TWrapperProps extends {} = Record<keyof any,
|
|
|
175
182
|
contentProps?: TContentProps;
|
|
176
183
|
formProps?: TFormProps;
|
|
177
184
|
title?: React.ReactNode;
|
|
185
|
+
mutationVariables?: Record<string, unknown>;
|
|
178
186
|
}>;
|
|
179
187
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/auth/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,CACvB,aAAa,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,GAAG,EAAE,OAAO,CAAC,EACrD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AM,CAAC,MAAM,GAAG,EAAE,OAAO,CAAC,EACrD,aAAa,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,GAAG,EAAE,OAAO,CAAC,EACrD,UAAU,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,GAAG,EAAE,OAAO,CAAC,IAChD,iBAAiB,CAAC;IACpB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,aAAa,CAAC,EAAE,CACd,OAAO,EAAE,KAAK,CAAC,SAAS,EACxB,KAAK,EAAE,KAAK,CAAC,SAAS,KACnB,KAAK,CAAC,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC7C,CAAC,CAAC"}
|
|
@@ -126,6 +126,10 @@ export type AuthPageProps<TWrapperProps extends {} = Record<keyof any, unknown>,
|
|
|
126
126
|
* @optional
|
|
127
127
|
* */
|
|
128
128
|
title?: React.ReactNode;
|
|
129
|
+
/**
|
|
130
|
+
* @description Can be used to pass additional variables to the mutation. This is useful when you need to pass other variables to the authProvider.
|
|
131
|
+
*/
|
|
132
|
+
mutationVariables?: Record<string, any>;
|
|
129
133
|
};
|
|
130
134
|
/**
|
|
131
135
|
* This should be the base type for `AuthPage` `Login` component implementations in UI integrations.
|
|
@@ -141,6 +145,7 @@ export type LoginPageProps<TWrapperProps extends {} = Record<keyof any, unknown>
|
|
|
141
145
|
formProps?: TFormProps;
|
|
142
146
|
title?: React.ReactNode;
|
|
143
147
|
hideForm?: boolean;
|
|
148
|
+
mutationVariables?: Record<string, unknown>;
|
|
144
149
|
}>;
|
|
145
150
|
/**
|
|
146
151
|
* This should be the base type for `AuthPage` `Register` component implementations in UI integrations.
|
|
@@ -154,6 +159,7 @@ export type RegisterPageProps<TWrapperProps extends {} = Record<keyof any, unkno
|
|
|
154
159
|
formProps?: TFormProps;
|
|
155
160
|
title?: React.ReactNode;
|
|
156
161
|
hideForm?: boolean;
|
|
162
|
+
mutationVariables?: Record<string, unknown>;
|
|
157
163
|
}>;
|
|
158
164
|
/**
|
|
159
165
|
* This should be the base type for `AuthPage` `Reset Password` component implementations in UI integrations.
|
|
@@ -165,6 +171,7 @@ export type ForgotPasswordPageProps<TWrapperProps extends {} = Record<keyof any,
|
|
|
165
171
|
contentProps?: TContentProps;
|
|
166
172
|
formProps?: TFormProps;
|
|
167
173
|
title?: React.ReactNode;
|
|
174
|
+
mutationVariables?: Record<string, unknown>;
|
|
168
175
|
}>;
|
|
169
176
|
/**
|
|
170
177
|
* This should be the base type for `AuthPage` `Update Password` component implementations in UI integrations.
|
|
@@ -175,5 +182,6 @@ export type UpdatePasswordPageProps<TWrapperProps extends {} = Record<keyof any,
|
|
|
175
182
|
contentProps?: TContentProps;
|
|
176
183
|
formProps?: TFormProps;
|
|
177
184
|
title?: React.ReactNode;
|
|
185
|
+
mutationVariables?: Record<string, unknown>;
|
|
178
186
|
}>;
|
|
179
187
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -126,6 +126,10 @@ export type AuthPageProps<TWrapperProps extends {} = Record<keyof any, unknown>,
|
|
|
126
126
|
* @optional
|
|
127
127
|
* */
|
|
128
128
|
title?: React.ReactNode;
|
|
129
|
+
/**
|
|
130
|
+
* @description Can be used to pass additional variables to the mutation. This is useful when you need to pass other variables to the authProvider.
|
|
131
|
+
*/
|
|
132
|
+
mutationVariables?: Record<string, any>;
|
|
129
133
|
};
|
|
130
134
|
/**
|
|
131
135
|
* This should be the base type for `AuthPage` `Login` component implementations in UI integrations.
|
|
@@ -141,6 +145,7 @@ export type LoginPageProps<TWrapperProps extends {} = Record<keyof any, unknown>
|
|
|
141
145
|
formProps?: TFormProps;
|
|
142
146
|
title?: React.ReactNode;
|
|
143
147
|
hideForm?: boolean;
|
|
148
|
+
mutationVariables?: Record<string, unknown>;
|
|
144
149
|
}>;
|
|
145
150
|
/**
|
|
146
151
|
* This should be the base type for `AuthPage` `Register` component implementations in UI integrations.
|
|
@@ -154,6 +159,7 @@ export type RegisterPageProps<TWrapperProps extends {} = Record<keyof any, unkno
|
|
|
154
159
|
formProps?: TFormProps;
|
|
155
160
|
title?: React.ReactNode;
|
|
156
161
|
hideForm?: boolean;
|
|
162
|
+
mutationVariables?: Record<string, unknown>;
|
|
157
163
|
}>;
|
|
158
164
|
/**
|
|
159
165
|
* This should be the base type for `AuthPage` `Reset Password` component implementations in UI integrations.
|
|
@@ -165,6 +171,7 @@ export type ForgotPasswordPageProps<TWrapperProps extends {} = Record<keyof any,
|
|
|
165
171
|
contentProps?: TContentProps;
|
|
166
172
|
formProps?: TFormProps;
|
|
167
173
|
title?: React.ReactNode;
|
|
174
|
+
mutationVariables?: Record<string, unknown>;
|
|
168
175
|
}>;
|
|
169
176
|
/**
|
|
170
177
|
* This should be the base type for `AuthPage` `Update Password` component implementations in UI integrations.
|
|
@@ -175,5 +182,6 @@ export type UpdatePasswordPageProps<TWrapperProps extends {} = Record<keyof any,
|
|
|
175
182
|
contentProps?: TContentProps;
|
|
176
183
|
formProps?: TFormProps;
|
|
177
184
|
title?: React.ReactNode;
|
|
185
|
+
mutationVariables?: Record<string, unknown>;
|
|
178
186
|
}>;
|
|
179
187
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -126,6 +126,10 @@ export type AuthPageProps<TWrapperProps extends {} = Record<keyof any, unknown>,
|
|
|
126
126
|
* @optional
|
|
127
127
|
* */
|
|
128
128
|
title?: React.ReactNode;
|
|
129
|
+
/**
|
|
130
|
+
* @description Can be used to pass additional variables to the mutation. This is useful when you need to pass other variables to the authProvider.
|
|
131
|
+
*/
|
|
132
|
+
mutationVariables?: Record<string, any>;
|
|
129
133
|
};
|
|
130
134
|
/**
|
|
131
135
|
* This should be the base type for `AuthPage` `Login` component implementations in UI integrations.
|
|
@@ -141,6 +145,7 @@ export type LoginPageProps<TWrapperProps extends {} = Record<keyof any, unknown>
|
|
|
141
145
|
formProps?: TFormProps;
|
|
142
146
|
title?: React.ReactNode;
|
|
143
147
|
hideForm?: boolean;
|
|
148
|
+
mutationVariables?: Record<string, unknown>;
|
|
144
149
|
}>;
|
|
145
150
|
/**
|
|
146
151
|
* This should be the base type for `AuthPage` `Register` component implementations in UI integrations.
|
|
@@ -154,6 +159,7 @@ export type RegisterPageProps<TWrapperProps extends {} = Record<keyof any, unkno
|
|
|
154
159
|
formProps?: TFormProps;
|
|
155
160
|
title?: React.ReactNode;
|
|
156
161
|
hideForm?: boolean;
|
|
162
|
+
mutationVariables?: Record<string, unknown>;
|
|
157
163
|
}>;
|
|
158
164
|
/**
|
|
159
165
|
* This should be the base type for `AuthPage` `Reset Password` component implementations in UI integrations.
|
|
@@ -165,6 +171,7 @@ export type ForgotPasswordPageProps<TWrapperProps extends {} = Record<keyof any,
|
|
|
165
171
|
contentProps?: TContentProps;
|
|
166
172
|
formProps?: TFormProps;
|
|
167
173
|
title?: React.ReactNode;
|
|
174
|
+
mutationVariables?: Record<string, unknown>;
|
|
168
175
|
}>;
|
|
169
176
|
/**
|
|
170
177
|
* This should be the base type for `AuthPage` `Update Password` component implementations in UI integrations.
|
|
@@ -175,5 +182,6 @@ export type UpdatePasswordPageProps<TWrapperProps extends {} = Record<keyof any,
|
|
|
175
182
|
contentProps?: TContentProps;
|
|
176
183
|
formProps?: TFormProps;
|
|
177
184
|
title?: React.ReactNode;
|
|
185
|
+
mutationVariables?: Record<string, unknown>;
|
|
178
186
|
}>;
|
|
179
187
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/auth/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAA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AAC,EAAE,OAAO,CAAC;CACpB,CAAC,GACF,iBAAiB,CAAC;IAChB;;;OAGG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,aAAa,EAAE,CAAC;IAC5B;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC,GACF,iBAAiB,CAAC;IAChB;;;OAGG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC,GACF,iBAAiB,CAAC;IAChB;;;OAGG;IACH,IAAI,EAAE,gBAAgB,CAAC;CACxB,CAAC,CACL,GAAG;IACF;;;OAGG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B;;;OAGG;IACH,aAAa,CAAC,EAAE,CACd,OAAO,EAAE,KAAK,CAAC,SAAS,EACxB,KAAK,EAAE,KAAK,CAAC,SAAS,KACnB,KAAK,CAAC,SAAS,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB;;;UAGM;IACN,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/auth/types.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,WAAW,cAAc;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;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xB,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC7C,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
|
+
type MetaContextValue = Record<string, any>;
|
|
3
|
+
export declare const MetaContext: React.Context<MetaContextValue>;
|
|
4
|
+
/**
|
|
5
|
+
* Is used to provide meta data to the children components.
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const MetaContextProvider: ({ children, value, }: {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
value: MetaContextValue;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* @returns The MetaContext value.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useMetaContext: () => MetaContextValue;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/metaContext/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAEf,KAAK,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAE5C,eAAO,MAAM,WAAW,iCAAsC,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,mBAAmB,yBAG7B;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,gBAAgB,CAAA;CAAE,sBAalD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,wBAO1B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
|
+
type MetaContextValue = Record<string, any>;
|
|
3
|
+
export declare const MetaContext: React.Context<MetaContextValue>;
|
|
4
|
+
/**
|
|
5
|
+
* Is used to provide meta data to the children components.
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const MetaContextProvider: ({ children, value, }: {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
value: MetaContextValue;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* @returns The MetaContext value.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useMetaContext: () => MetaContextValue;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
|
+
type MetaContextValue = Record<string, any>;
|
|
3
|
+
export declare const MetaContext: React.Context<MetaContextValue>;
|
|
4
|
+
/**
|
|
5
|
+
* Is used to provide meta data to the children components.
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const MetaContextProvider: ({ children, value, }: {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
value: MetaContextValue;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* @returns The MetaContext value.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useMetaContext: () => MetaContextValue;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
|
+
type MetaContextValue = Record<string, any>;
|
|
3
|
+
export declare const MetaContext: React.Context<MetaContextValue>;
|
|
4
|
+
/**
|
|
5
|
+
* Is used to provide meta data to the children components.
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export declare const MetaContextProvider: ({ children, value, }: {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
value: MetaContextValue;
|
|
11
|
+
}) => React.JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
* @returns The MetaContext value.
|
|
15
|
+
*/
|
|
16
|
+
export declare const useMetaContext: () => MetaContextValue;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/metaContext/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAEf,KAAK,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAE5C,eAAO,MAAM,WAAW,iCAAsC,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,mBAAmB,yBAG7B;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,gBAAgB,CAAA;CAAE,sBAalD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,wBAO1B,CAAC"}
|
|
@@ -8,4 +8,5 @@ export { useUpdatePassword } from "./useUpdatePassword";
|
|
|
8
8
|
export { useAuthenticated, useIsAuthenticated } from "./useIsAuthenticated";
|
|
9
9
|
export { useCheckError, useOnError } from "./useOnError";
|
|
10
10
|
export { useIsExistAuthentication } from "./useIsExistAuthentication";
|
|
11
|
+
export { useInvalidateAuthStore } from "./useInvalidateAuthStore";
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -8,4 +8,5 @@ export { useUpdatePassword } from "./useUpdatePassword";
|
|
|
8
8
|
export { useAuthenticated, useIsAuthenticated } from "./useIsAuthenticated";
|
|
9
9
|
export { useCheckError, useOnError } from "./useOnError";
|
|
10
10
|
export { useIsExistAuthentication } from "./useIsExistAuthentication";
|
|
11
|
+
export { useInvalidateAuthStore } from "./useInvalidateAuthStore";
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,4 +8,5 @@ export { useUpdatePassword } from "./useUpdatePassword";
|
|
|
8
8
|
export { useAuthenticated, useIsAuthenticated } from "./useIsAuthenticated";
|
|
9
9
|
export { useCheckError, useOnError } from "./useOnError";
|
|
10
10
|
export { useIsExistAuthentication } from "./useIsExistAuthentication";
|
|
11
|
+
export { useInvalidateAuthStore } from "./useInvalidateAuthStore";
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,4 +8,5 @@ export { useUpdatePassword } from "./useUpdatePassword";
|
|
|
8
8
|
export { useAuthenticated, useIsAuthenticated } from "./useIsAuthenticated";
|
|
9
9
|
export { useCheckError, useOnError } from "./useOnError";
|
|
10
10
|
export { useIsExistAuthentication } from "./useIsExistAuthentication";
|
|
11
|
+
export { useInvalidateAuthStore } from "./useInvalidateAuthStore";
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const useLink: () => <T = {}>(props: import("../../../components/link").LinkProps<T> & {
|
|
3
|
-
ref?: import("react").Ref<
|
|
3
|
+
ref?: import("react").Ref<Element> | undefined;
|
|
4
4
|
}) => import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const useLink: () => <T = {}>(props: import("../../../components/link").LinkProps<T> & {
|
|
3
|
-
ref?: import("react").Ref<
|
|
3
|
+
ref?: import("react").Ref<Element> | undefined;
|
|
4
4
|
}) => import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const useLink: () => <T = {}>(props: import("../../../components/link").LinkProps<T> & {
|
|
3
|
-
ref?: import("react").Ref<
|
|
3
|
+
ref?: import("react").Ref<Element> | undefined;
|
|
4
4
|
}) => import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const useLink: () => <T = {}>(props: import("../../../components/link").LinkProps<T> & {
|
|
3
|
-
ref?: import("react").Ref<
|
|
3
|
+
ref?: import("react").Ref<Element> | undefined;
|
|
4
4
|
}) => import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|