@refinedev/core 4.54.1 → 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 +165 -0
- package/dist/components/index.d.cts +1 -0
- package/dist/components/index.d.cts.map +1 -1
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.d.mts.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/link/index.d.cts +20 -0
- package/dist/components/link/index.d.cts.map +1 -0
- package/dist/components/link/index.d.mts +20 -0
- package/dist/components/link/index.d.mts.map +20 -0
- package/dist/components/link/index.d.ts +20 -0
- package/dist/components/link/index.d.ts.map +1 -0
- 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/contexts/notification/types.d.cts +2 -2
- package/dist/contexts/notification/types.d.cts.map +1 -1
- package/dist/contexts/notification/types.d.mts +2 -2
- package/dist/contexts/notification/types.d.mts.map +2 -2
- package/dist/contexts/notification/types.d.ts +2 -2
- package/dist/contexts/notification/types.d.ts.map +1 -1
- 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/menu/useMenu.d.cts +1 -1
- package/dist/hooks/menu/useMenu.d.cts.map +1 -1
- package/dist/hooks/menu/useMenu.d.mts +1 -1
- package/dist/hooks/menu/useMenu.d.mts.map +1 -1
- package/dist/hooks/menu/useMenu.d.ts +1 -1
- package/dist/hooks/menu/useMenu.d.ts.map +1 -1
- package/dist/hooks/navigation/index.d.cts +1 -1
- package/dist/hooks/navigation/index.d.mts +1 -1
- package/dist/hooks/navigation/index.d.mts.map +1 -1
- package/dist/hooks/navigation/index.d.ts +1 -1
- package/dist/hooks/router/use-link/index.d.cts +4 -5
- package/dist/hooks/router/use-link/index.d.cts.map +1 -1
- package/dist/hooks/router/use-link/index.d.mts +4 -5
- package/dist/hooks/router/use-link/index.d.mts.map +4 -5
- package/dist/hooks/router/use-link/index.d.ts +4 -5
- package/dist/hooks/router/use-link/index.d.ts.map +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/hooks/useTable/index.d.cts.map +1 -1
- package/dist/hooks/useTable/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/index.ts +1 -0
- package/src/components/link/index.tsx +72 -0
- 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/contexts/notification/types.ts +2 -2
- package/src/hooks/auth/index.ts +1 -0
- package/src/hooks/menu/useMenu.tsx +11 -7
- package/src/hooks/navigation/index.ts +1 -1
- package/src/hooks/router/use-link/index.tsx +2 -14
- package/src/hooks/useMeta/index.ts +16 -2
- package/src/hooks/useTable/index.ts +47 -31
- package/src/index.tsx +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,170 @@
|
|
|
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
|
+
|
|
84
|
+
## 4.55.0
|
|
85
|
+
|
|
86
|
+
### Minor Changes
|
|
87
|
+
|
|
88
|
+
- [#6330](https://github.com/refinedev/refine/pull/6330) [`5a81b35bc1eedbecb4b6c531a2fa5235dd0caf31`](https://github.com/refinedev/refine/commit/5a81b35bc1eedbecb4b6c531a2fa5235dd0caf31) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - feat: add [`<Link />`](https://refine.dev/docs/routing/components/link/) component to navigate to a resource with a specific action. Under the hood, It uses [`useGo`](https://refine.dev/docs/routing/hooks/use-go/) to generate the URL.
|
|
89
|
+
|
|
90
|
+
## Usage
|
|
91
|
+
|
|
92
|
+
```tsx
|
|
93
|
+
import { Link } from "@refinedev/core";
|
|
94
|
+
|
|
95
|
+
const MyComponent = () => {
|
|
96
|
+
return (
|
|
97
|
+
<>
|
|
98
|
+
{/* simple usage, navigates to `/posts` */}
|
|
99
|
+
<Link to="/posts">Posts</Link>
|
|
100
|
+
{/* complex usage with more control, navigates to `/posts` with query filters */}
|
|
101
|
+
<Link
|
|
102
|
+
go={{
|
|
103
|
+
query: {
|
|
104
|
+
// `useTable` or `useDataGrid` automatically use this filters to fetch data if `syncWithLocation` is true.
|
|
105
|
+
filters: [
|
|
106
|
+
{
|
|
107
|
+
operator: "eq",
|
|
108
|
+
value: "published",
|
|
109
|
+
field: "status",
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
to: {
|
|
114
|
+
resource: "posts",
|
|
115
|
+
action: "list",
|
|
116
|
+
},
|
|
117
|
+
}}
|
|
118
|
+
>
|
|
119
|
+
Posts
|
|
120
|
+
</Link>
|
|
121
|
+
</>
|
|
122
|
+
);
|
|
123
|
+
};
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
[Fixes #6329](https://github.com/refinedev/refine/issues/6329)
|
|
127
|
+
|
|
128
|
+
- [#6330](https://github.com/refinedev/refine/pull/6330) [`5a81b35bc1eedbecb4b6c531a2fa5235dd0caf31`](https://github.com/refinedev/refine/commit/5a81b35bc1eedbecb4b6c531a2fa5235dd0caf31) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - chore: From now on, [`useLink`](https://refine.dev/docs/routing/hooks/use-link/) returns [`<Link />`](https://refine.dev/docs/routing/components/link/) component instead of returning [`routerProvider.Link`](https://refine.dev/docs/routing/router-provider/#link).
|
|
129
|
+
|
|
130
|
+
Since the `<Link />` component uses `routerProvider.Link` under the hood with leveraging `useGo` hook to generate the URL there is no breaking change. It's recommended to use the `<Link />` component from the `@refinedev/core` package instead of `useLink` hook. This hook is used mostly for internal purposes and is only exposed for customization needs.
|
|
131
|
+
|
|
132
|
+
[Fixes #6329](https://github.com/refinedev/refine/issues/6329)
|
|
133
|
+
|
|
134
|
+
### Patch Changes
|
|
135
|
+
|
|
136
|
+
- [#6327](https://github.com/refinedev/refine/pull/6327) [`c630b090539082b5166b508053f87274624c794e`](https://github.com/refinedev/refine/commit/c630b090539082b5166b508053f87274624c794e) Thanks [@Anonymous961](https://github.com/Anonymous961)! - fix(core): added ability to return `undefined` to fallback to the default notification config when using the function form in `successNotification` and `errorNotification` props.
|
|
137
|
+
|
|
138
|
+
[Resolves #6270](https://github.com/refinedev/refine/issues/6270)
|
|
139
|
+
|
|
140
|
+
- [#6353](https://github.com/refinedev/refine/pull/6353) [`a0f2d7bbef3093e11c3024bb7fa2a0ffc3ce9e10`](https://github.com/refinedev/refine/commit/a0f2d7bbef3093e11c3024bb7fa2a0ffc3ce9e10) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - fix: The `label` and `route` fields in `useMenu().menuItems` were marked as deprecated, but they are not actually deprecated. This issue was caused by `menuItems` extending from `IResourceItem`, however, `menuItems` populates these fields and handles deprecation of these fields internally. This change removes the deprecation warning for these fields.
|
|
141
|
+
|
|
142
|
+
```tsx
|
|
143
|
+
export const Sider = () => {
|
|
144
|
+
const { menuItems } = useMenu();
|
|
145
|
+
menuItems.map((item) => {
|
|
146
|
+
// these are safe to use
|
|
147
|
+
console.log(item.label);
|
|
148
|
+
console.log(item.route);
|
|
149
|
+
item.children.map((child) => {
|
|
150
|
+
// these are safe to use
|
|
151
|
+
console.log(child.label);
|
|
152
|
+
console.log(child.route);
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
return <div>{/* ... */}</div>;
|
|
157
|
+
};
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
[Fixes #6352](https://github.com/refinedev/refine/issues/6352)
|
|
161
|
+
|
|
162
|
+
- [#6386](https://github.com/refinedev/refine/pull/6386) [`bfe28f0316b3623aaef0b60ae39ebe24939dd0af`](https://github.com/refinedev/refine/commit/bfe28f0316b3623aaef0b60ae39ebe24939dd0af) Thanks [@hugorezende](https://github.com/hugorezende)! - fix(core): wrap `setFilters` and `setSorters` methods with `useCallback` to prevent looping re-renders
|
|
163
|
+
|
|
164
|
+
With this we can use the setFilters as dependencies inside useEffects without infinite loop since state changes in the hook won't cause the functions to be re-assigned
|
|
165
|
+
|
|
166
|
+
[Fixes #6385](https://github.com/refinedev/refine/issues/6385)
|
|
167
|
+
|
|
3
168
|
## 4.54.1
|
|
4
169
|
|
|
5
170
|
### Patch Changes
|
|
@@ -7,4 +7,5 @@ export { RouteChangeHandler } from "./routeChangeHandler";
|
|
|
7
7
|
export { CanAccess, CanAccessProps } from "./canAccess";
|
|
8
8
|
export { GitHubBanner } from "./gh-banner";
|
|
9
9
|
export { AutoSaveIndicator, AutoSaveIndicatorProps } from "./autoSaveIndicator";
|
|
10
|
+
export { Link, LinkProps } from "./link";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -7,4 +7,5 @@ export { RouteChangeHandler } from "./routeChangeHandler";
|
|
|
7
7
|
export { CanAccess, CanAccessProps } from "./canAccess";
|
|
8
8
|
export { GitHubBanner } from "./gh-banner";
|
|
9
9
|
export { AutoSaveIndicator, AutoSaveIndicatorProps } from "./autoSaveIndicator";
|
|
10
|
+
export { Link, LinkProps } from "./link";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,4 +7,5 @@ export { RouteChangeHandler } from "./routeChangeHandler";
|
|
|
7
7
|
export { CanAccess, CanAccessProps } from "./canAccess";
|
|
8
8
|
export { GitHubBanner } from "./gh-banner";
|
|
9
9
|
export { AutoSaveIndicator, AutoSaveIndicatorProps } from "./autoSaveIndicator";
|
|
10
|
+
export { Link, LinkProps } from "./link";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,4 +7,5 @@ export { RouteChangeHandler } from "./routeChangeHandler";
|
|
|
7
7
|
export { CanAccess, CanAccessProps } from "./canAccess";
|
|
8
8
|
export { GitHubBanner } from "./gh-banner";
|
|
9
9
|
export { AutoSaveIndicator, AutoSaveIndicatorProps } from "./autoSaveIndicator";
|
|
10
|
+
export { Link, LinkProps } from "./link";
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { type Ref } from "react";
|
|
2
|
+
import type { GoConfigWithResource } from "../../hooks/router/use-go";
|
|
3
|
+
type LinkPropsWithGo = {
|
|
4
|
+
go: Omit<GoConfigWithResource, "type">;
|
|
5
|
+
};
|
|
6
|
+
type LinkPropsWithTo = {
|
|
7
|
+
to: string;
|
|
8
|
+
};
|
|
9
|
+
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) & TProps>;
|
|
10
|
+
/**
|
|
11
|
+
* @param to The path to navigate to.
|
|
12
|
+
* @param go The useGo.go params to navigate to. If `to` provided, this will be ignored.
|
|
13
|
+
* @returns routerProvider.Link if it is provided, otherwise an anchor tag.
|
|
14
|
+
*/
|
|
15
|
+
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<Element>) => React.JSX.Element;
|
|
16
|
+
export declare const Link: <T = {}>(props: LinkProps<T> & {
|
|
17
|
+
ref?: Ref<Element>;
|
|
18
|
+
}) => ReturnType<typeof LinkComponent>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { type Ref } from "react";
|
|
2
|
+
import type { GoConfigWithResource } from "../../hooks/router/use-go";
|
|
3
|
+
type LinkPropsWithGo = {
|
|
4
|
+
go: Omit<GoConfigWithResource, "type">;
|
|
5
|
+
};
|
|
6
|
+
type LinkPropsWithTo = {
|
|
7
|
+
to: string;
|
|
8
|
+
};
|
|
9
|
+
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) & TProps>;
|
|
10
|
+
/**
|
|
11
|
+
* @param to The path to navigate to.
|
|
12
|
+
* @param go The useGo.go params to navigate to. If `to` provided, this will be ignored.
|
|
13
|
+
* @returns routerProvider.Link if it is provided, otherwise an anchor tag.
|
|
14
|
+
*/
|
|
15
|
+
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<Element>) => React.JSX.Element;
|
|
16
|
+
export declare const Link: <T = {}>(props: LinkProps<T> & {
|
|
17
|
+
ref?: Ref<Element>;
|
|
18
|
+
}) => ReturnType<typeof LinkComponent>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { type Ref } from "react";
|
|
2
|
+
import type { GoConfigWithResource } from "../../hooks/router/use-go";
|
|
3
|
+
type LinkPropsWithGo = {
|
|
4
|
+
go: Omit<GoConfigWithResource, "type">;
|
|
5
|
+
};
|
|
6
|
+
type LinkPropsWithTo = {
|
|
7
|
+
to: string;
|
|
8
|
+
};
|
|
9
|
+
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) & TProps>;
|
|
10
|
+
/**
|
|
11
|
+
* @param to The path to navigate to.
|
|
12
|
+
* @param go The useGo.go params to navigate to. If `to` provided, this will be ignored.
|
|
13
|
+
* @returns routerProvider.Link if it is provided, otherwise an anchor tag.
|
|
14
|
+
*/
|
|
15
|
+
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<Element>) => React.JSX.Element;
|
|
16
|
+
export declare const Link: <T = {}>(props: LinkProps<T> & {
|
|
17
|
+
ref?: Ref<Element>;
|
|
18
|
+
}) => ReturnType<typeof LinkComponent>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { type Ref } from "react";
|
|
2
|
+
import type { GoConfigWithResource } from "../../hooks/router/use-go";
|
|
3
|
+
type LinkPropsWithGo = {
|
|
4
|
+
go: Omit<GoConfigWithResource, "type">;
|
|
5
|
+
};
|
|
6
|
+
type LinkPropsWithTo = {
|
|
7
|
+
to: string;
|
|
8
|
+
};
|
|
9
|
+
export type LinkProps<TProps = {}> = React.PropsWithChildren<(LinkPropsWithGo | LinkPropsWithTo) & TProps>;
|
|
10
|
+
/**
|
|
11
|
+
* @param to The path to navigate to.
|
|
12
|
+
* @param go The useGo.go params to navigate to. If `to` provided, this will be ignored.
|
|
13
|
+
* @returns routerProvider.Link if it is provided, otherwise an anchor tag.
|
|
14
|
+
*/
|
|
15
|
+
declare const LinkComponent: <TProps = {}>(props: LinkProps<TProps>, ref: Ref<Element>) => React.JSX.Element;
|
|
16
|
+
export declare const Link: <T = {}>(props: LinkProps<T> & {
|
|
17
|
+
ref?: Ref<Element>;
|
|
18
|
+
}) => ReturnType<typeof LinkComponent>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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,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;;G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O,CAAC,CAAC;CAC7C,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,uBAAuB,CACjC,aAAa,SAAS,EAAE,GAAG,MAAM,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,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C,SAAS,CAAC;IACrC;;;OAGG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B;;;OAGG;IACH,QAAQ,CAAC,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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AAE,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"}
|
|
@@ -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
|