@refinedev/core 5.0.8 → 5.0.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.
- package/CHANGELOG.md +15 -0
- package/README.md +29 -29
- package/dist/definitions/table/index.d.cts +6 -0
- package/dist/definitions/table/index.d.cts.map +1 -1
- package/dist/definitions/table/index.d.mts +6 -0
- package/dist/definitions/table/index.d.mts.map +6 -0
- package/dist/definitions/table/index.d.ts +6 -0
- package/dist/definitions/table/index.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/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/definitions/table/index.ts +11 -0
- package/src/hooks/navigation/index.ts +1 -1
- package/src/index.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @refinedev/core
|
|
2
2
|
|
|
3
|
+
## 5.0.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#7245](https://github.com/refinedev/refine/pull/7245) [`bf3cc65f73a6801a5fd1e42e6162efd2e89406d3`](https://github.com/refinedev/refine/commit/bf3cc65f73a6801a5fd1e42e6162efd2e89406d3) Thanks [@harsha-cpp](https://github.com/harsha-cpp)! - fix: correctly parse deeply nested conditional filters from URL with syncWithLocation
|
|
8
|
+
|
|
9
|
+
Increased `qs.parse` depth from default 5 to 10 to support deeply nested conditional filters (e.g., `or -> and -> {field, operator, value}`). Previously, nested filter properties were incorrectly parsed as bracket notation keys (`[field]`, `[operator]`, `[value]`) after page reload when using `syncWithLocation: true`.
|
|
10
|
+
|
|
11
|
+
## 5.0.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies []:
|
|
16
|
+
- @refinedev/devtools-internal@2.0.2
|
|
17
|
+
|
|
3
18
|
## 5.0.8
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<a href="https://refine.dev/">
|
|
2
|
+
<a href="https://refine.dev/core">
|
|
3
3
|
<img alt="refine logo" src="https://refine.ams3.cdn.digitaloceanspaces.com/readme/refine-readme-banner.png">
|
|
4
4
|
</a>
|
|
5
5
|
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
<br/>
|
|
8
8
|
|
|
9
9
|
<div align="center">
|
|
10
|
-
<a href="https://refine.dev">Home Page</a> |
|
|
11
|
-
<a href="https://refine.dev/docs/">Documentation</a> |
|
|
12
|
-
<a href="https://refine.dev/
|
|
10
|
+
<a href="https://refine.dev/core/">Home Page</a> |
|
|
11
|
+
<a href="https://refine.dev/core/docs/">Documentation</a> |
|
|
12
|
+
<a href="https://refine.dev/core/templates/">Examples</a> |
|
|
13
13
|
<a href="https://discord.gg/refine">Discord</a> |
|
|
14
14
|
<a href="https://refine.dev/blog/">Blog</a> |
|
|
15
|
-
<a href="https://
|
|
15
|
+
<a href="https://refine.dev/">Refine</a>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
|
|
22
22
|
<div align="center"><strong>The sweet spot between the low/no code and “starting from scratch” for CRUD-heavy applications.</strong><br>
|
|
23
23
|
|
|
24
|
-
Refine is an open source, React meta-framework for enterprise. It provides a headless solution for everything from admin panels to
|
|
24
|
+
Refine Core is an open source, React meta-framework for enterprise. It provides a headless solution for everything from admin panels to
|
|
25
25
|
dashboards and internal tools.
|
|
26
26
|
<br />
|
|
27
27
|
|
|
28
|
-
<strong>Refine also
|
|
28
|
+
<strong>Refine CORE also powers <a href="https://refine.dev/">Refine's purpose built AI agent.</a></strong>
|
|
29
29
|
<br />
|
|
30
30
|
|
|
31
31
|
</div>
|
|
@@ -44,23 +44,23 @@ dashboards and internal tools.
|
|
|
44
44
|
|
|
45
45
|
<br/>
|
|
46
46
|
|
|
47
|
-
[](https://refine.dev)
|
|
47
|
+
[](https://refine.dev/core)
|
|
48
48
|
|
|
49
|
-
## What is Refine?
|
|
49
|
+
## What is Refine CORE?
|
|
50
50
|
|
|
51
|
-
**Refine** is a React meta-framework for CRUD-heavy web applications. It addresses a wide range of enterprise use cases including internal tools, admin panels, dashboards and B2B apps.
|
|
51
|
+
**Refine CORE** is a React meta-framework for CRUD-heavy web applications. It addresses a wide range of enterprise use cases including internal tools, admin panels, dashboards and B2B apps.
|
|
52
52
|
|
|
53
|
-
Refine's
|
|
53
|
+
Refine CORE's hooks and components streamline the development process by offering industry-standard solutions for crucial aspects of a project, including **authentication**, **access control**, **routing**, **networking**, **state management**, and **i18n**.
|
|
54
54
|
|
|
55
|
-
Refine's headless architecture enables the building of highly customizable applications by decoupling business logic from UI and routing. This allows integration with:
|
|
55
|
+
Refine CORE's headless architecture enables the building of highly customizable applications by decoupling business logic from UI and routing. This allows integration with:
|
|
56
56
|
|
|
57
57
|
- Any custom designs or UI frameworks like [TailwindCSS](https://tailwindcss.com/), along with built-in support for [Ant Design](https://ant.design/), [Material UI](https://mui.com/material-ui/getting-started/overview/), [Mantine](https://mantine.dev/), and [Chakra UI](https://chakra-ui.com/).
|
|
58
58
|
|
|
59
59
|
- Various platforms, including Next.js, Remix, React Native, Electron, etc., by a simple routing interface without the need for additional setup steps.
|
|
60
60
|
|
|
61
|
-
## ⚡ Try Refine
|
|
61
|
+
## ⚡ Try Refine CORE
|
|
62
62
|
|
|
63
|
-
Start a new project with Refine in seconds using the following command:
|
|
63
|
+
Start a new project with Refine CORE in seconds using the following command:
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
66
|
npm create refine-app@latest my-refine-app
|
|
@@ -68,21 +68,21 @@ npm create refine-app@latest my-refine-app
|
|
|
68
68
|
|
|
69
69
|
Or you can create a new project on your browser:
|
|
70
70
|
|
|
71
|
-
<a href="https://refine.dev/?playground=true" target="_blank">
|
|
71
|
+
<a href="https://refine.dev/core/?playground=true" target="_blank">
|
|
72
72
|
<img height="48" width="245" src="https://refine.ams3.cdn.digitaloceanspaces.com/assets/try-it-in-your-browser.png" />
|
|
73
73
|
</a>
|
|
74
74
|
|
|
75
75
|
<br>
|
|
76
76
|
|
|
77
|
-
You can also try Refine AI for free to create projects:
|
|
77
|
+
You can also try Refine's AI agent for free to create projects:
|
|
78
78
|
|
|
79
|
-
<a href="https://
|
|
79
|
+
<a href="https://refine.dev/" target="_blank">
|
|
80
80
|
<img height="48" width="245" src="https://refine.ams3.cdn.digitaloceanspaces.com/assets/try-out-refine-ai-2.png" />
|
|
81
81
|
</a>
|
|
82
82
|
|
|
83
83
|
## Quick Start
|
|
84
84
|
|
|
85
|
-
Here's Refine in action, the below code is an example of a simple CRUD application using Refine + React Router + Material UI:
|
|
85
|
+
Here's Refine CORE in action, the below code is an example of a simple CRUD application using Refine CORE + React Router + Material UI:
|
|
86
86
|
|
|
87
87
|
```tsx
|
|
88
88
|
import React from "react";
|
|
@@ -179,13 +179,13 @@ export const ProductList = () => {
|
|
|
179
179
|
|
|
180
180
|
The result will look like this:
|
|
181
181
|
|
|
182
|
-
[](https://refine.new/preview/c85442a8-8df1-4101-a09a-47d3ca641798)
|
|
182
|
+
[](https://refine.new/preview/c85442a8-8df1-4101-a09a-47d3ca641798)
|
|
183
183
|
|
|
184
184
|
## Use cases
|
|
185
185
|
|
|
186
|
-
**Refine** shines on _data-intensive⚡_ enterprise B2B applications like **admin panels**, **dashboards** and **internal tools**. Thanks to the built-in **SSR support**, it can also power _customer-facing_ applications like **storefronts**.
|
|
186
|
+
**Refine CORE** shines on _data-intensive⚡_ enterprise B2B applications like **admin panels**, **dashboards** and **internal tools**. Thanks to the built-in **SSR support**, it can also power _customer-facing_ applications like **storefronts**.
|
|
187
187
|
|
|
188
|
-
You can take a look at some live examples that can be built using **Refine** from scratch:
|
|
188
|
+
You can take a look at some live examples that can be built using **Refine CORE** from scratch:
|
|
189
189
|
|
|
190
190
|
- [Fully-functional CRM Application](https://refine.dev/templates/crm-application/)
|
|
191
191
|
- [Fully-functional Admin Panel](https://refine.dev/templates/react-admin-panel/)
|
|
@@ -195,11 +195,11 @@ You can take a look at some live examples that can be built using **Refine** fro
|
|
|
195
195
|
- [Multitenancy Example](https://refine.dev/templates/multitenancy-strapi/)
|
|
196
196
|
- [Storefront](https://refine.dev/templates/next-js-ecommerce-store/)
|
|
197
197
|
- [Refer to templates page for more examples](https://refine.dev/templates/)
|
|
198
|
-
- [More **Refine** powered different usage scenarios can be found here](https://refine.dev/
|
|
198
|
+
- [More **Refine CORE** powered different usage scenarios can be found here](https://refine.dev/core/templates)
|
|
199
199
|
|
|
200
200
|
## Key Features
|
|
201
201
|
|
|
202
|
-
- Refine Devtools - dive deeper into your app and provide useful insights
|
|
202
|
+
- Refine CORE Devtools - dive deeper into your app and provide useful insights
|
|
203
203
|
- Connectors for **15+ backend services** including [REST API](https://github.com/refinedev/refine/tree/main/packages/simple-rest), [GraphQL](https://github.com/refinedev/refine/tree/main/packages/graphql), [NestJs CRUD](https://github.com/refinedev/refine/tree/main/packages/nestjsx-crud), [Airtable](https://github.com/refinedev/refine/tree/main/packages/airtable), [Strapi](https://github.com/refinedev/refine/tree/main/packages/strapi), [Strapi v4](https://github.com/refinedev/refine/tree/main/packages/strapi-v4), [Supabase](https://github.com/refinedev/refine/tree/main/packages/supabase), [Hasura](https://github.com/refinedev/refine/tree/main/packages/hasura), [Appwrite](https://github.com/refinedev/refine/tree/main/packages/appwrite), [Nestjs-Query](https://github.com/refinedev/refine/tree/main/packages/nestjs-query), [Firebase](https://firebase.google.com/), [Sanity](https://www.sanity.io/), and [Directus](https://directus.io/).
|
|
204
204
|
- SSR support with Next.js & Remix and Advanced routing with any router library of your choice
|
|
205
205
|
- Auto-generation of CRUD UIs based on your API data structure
|
|
@@ -208,15 +208,15 @@ You can take a look at some live examples that can be built using **Refine** fro
|
|
|
208
208
|
- Out-of-the-box support for live / real-time applications
|
|
209
209
|
- Easy audit logs & document versioning
|
|
210
210
|
|
|
211
|
-
## Learning Refine
|
|
211
|
+
## Learning Refine CORE
|
|
212
212
|
|
|
213
|
-
- Navigate to the [Tutorial](https://refine.dev/
|
|
214
|
-
- Visit the [Guides & Concepts](https://refine.dev/docs/guides-concepts/general-concepts/) to get informed about the fundamental concepts.
|
|
215
|
-
- Read more on [Advanced Tutorials](https://refine.dev/docs/advanced-tutorials/) for different usage scenarios.
|
|
213
|
+
- Navigate to the [Tutorial](https://refine.dev/core/tutorial/essentials/intro/) on building comprehensive CRUD application guides you through each step of the process.
|
|
214
|
+
- Visit the [Guides & Concepts](https://refine.dev/core/docs/guides-concepts/general-concepts/) to get informed about the fundamental concepts.
|
|
215
|
+
- Read more on [Advanced Tutorials](https://refine.dev/core/docs/advanced-tutorials/) for different usage scenarios.
|
|
216
216
|
|
|
217
217
|
## Contribution
|
|
218
218
|
|
|
219
|
-
[Refer to the contribution docs for more information.](https://refine.dev/docs/contributing/#ways-to-contribute)
|
|
219
|
+
[Refer to the contribution docs for more information.](https://refine.dev/core/docs/guides-concepts/contributing/#ways-to-contribute)
|
|
220
220
|
|
|
221
221
|
If you have any doubts related to the project or want to discuss something, then join our [Discord server](https://discord.gg/refine).
|
|
222
222
|
|
|
@@ -224,7 +224,7 @@ If you have any doubts related to the project or want to discuss something, then
|
|
|
224
224
|
|
|
225
225
|
We extend our gratitude to all our numerous contributors who create plugins, assist with issues and pull requests, and respond to questions on Discord and GitHub Discussions.
|
|
226
226
|
|
|
227
|
-
Refine is a community-driven project, and your contributions continually improve it.
|
|
227
|
+
Refine CORE is a community-driven project, and your contributions continually improve it.
|
|
228
228
|
|
|
229
229
|
<br/>
|
|
230
230
|
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { CrudFilter, CrudOperators, CrudSort, SortOrder } from "../../contexts/data/types";
|
|
2
|
+
/**
|
|
3
|
+
* Depth limit for `qs.parse`. Deeply nested conditional filters
|
|
4
|
+
* (e.g. `or -> and -> { field, operator, value }`) require at least 7 levels.
|
|
5
|
+
* We use 10 to leave comfortable headroom.
|
|
6
|
+
*/
|
|
7
|
+
export declare const QS_PARSE_DEPTH = 10;
|
|
2
8
|
export declare const parseTableParams: (url: string) => {
|
|
3
9
|
parsedCurrentPage: number | "" | undefined;
|
|
4
10
|
parsedPageSize: number | "" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/table/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,UAAU,EACV,aAAa,EACb,QAAQ,EACR,SAAS,EACV,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/table/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,UAAU,EACV,aAAa,EACb,QAAQ,EACR,SAAS,EACV,MAAM,2BAA2B,CAAC;AAEnC;;;;GAIG;AACH,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM;;;;;CAY3C,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,QAAQ,GAAG;;;;;CASpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ;IAC3C,UAAU,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACzD,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC;IACpB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,KAAG,MAyBH,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,MAAM,UAAU,EAChB,OAAO,UAAU,KAChB,OAmBF,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,QAAQ,EAAE,OAAO,QAAQ,KAAG,OACrC,CAAC;AAM7B,eAAO,MAAM,YAAY,GACvB,iBAAiB,UAAU,EAAE,EAC7B,YAAY,UAAU,EAAE,EACxB,cAAa,UAAU,EAAO,KAC7B,UAAU,EA0BZ,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,iBAAiB,QAAQ,EAAE,EAC3B,YAAY,QAAQ,EAAE,KACrB,QAAQ,EAGR,CAAC;AAEJ,eAAO,MAAM,iBAAiB,GAC5B,iBAAiB,UAAU,EAAE,EAC7B,eAAe,UAAU,EAAE,KAC1B,UAAU,EAGZ,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,iBAAiB,QAAQ,EAAE,EAC3B,eAAe,QAAQ,EAAE,KACxB,QAAQ,EAGV,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,YAAY,MAAM,EAClB,SAAS,QAAQ,EAAE,KAClB,SAAS,GAAG,SAYd,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,YAAY,MAAM,EAClB,UAAU,UAAU,EAAE,EACtB,eAAc,aAAoB,KACjC,UAAU,CAAC,OAAO,CAAC,GAAG,SAkBxB,CAAC"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { CrudFilter, CrudOperators, CrudSort, SortOrder } from "../../contexts/data/types";
|
|
2
|
+
/**
|
|
3
|
+
* Depth limit for `qs.parse`. Deeply nested conditional filters
|
|
4
|
+
* (e.g. `or -> and -> { field, operator, value }`) require at least 7 levels.
|
|
5
|
+
* We use 10 to leave comfortable headroom.
|
|
6
|
+
*/
|
|
7
|
+
export declare const QS_PARSE_DEPTH = 10;
|
|
2
8
|
export declare const parseTableParams: (url: string) => {
|
|
3
9
|
parsedCurrentPage: number | "" | undefined;
|
|
4
10
|
parsedPageSize: number | "" | undefined;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { CrudFilter, CrudOperators, CrudSort, SortOrder } from "../../contexts/data/types";
|
|
2
|
+
/**
|
|
3
|
+
* Depth limit for `qs.parse`. Deeply nested conditional filters
|
|
4
|
+
* (e.g. `or -> and -> { field, operator, value }`) require at least 7 levels.
|
|
5
|
+
* We use 10 to leave comfortable headroom.
|
|
6
|
+
*/
|
|
7
|
+
export declare const QS_PARSE_DEPTH = 10;
|
|
2
8
|
export declare const parseTableParams: (url: string) => {
|
|
3
9
|
parsedCurrentPage: number | "" | undefined;
|
|
4
10
|
parsedPageSize: number | "" | undefined;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { CrudFilter, CrudOperators, CrudSort, SortOrder } from "../../contexts/data/types";
|
|
2
|
+
/**
|
|
3
|
+
* Depth limit for `qs.parse`. Deeply nested conditional filters
|
|
4
|
+
* (e.g. `or -> and -> { field, operator, value }`) require at least 7 levels.
|
|
5
|
+
* We use 10 to leave comfortable headroom.
|
|
6
|
+
*/
|
|
7
|
+
export declare const QS_PARSE_DEPTH = 10;
|
|
2
8
|
export declare const parseTableParams: (url: string) => {
|
|
3
9
|
parsedCurrentPage: number | "" | undefined;
|
|
4
10
|
parsedPageSize: number | "" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/table/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,UAAU,EACV,aAAa,EACb,QAAQ,EACR,SAAS,EACV,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/table/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,UAAU,EACV,aAAa,EACb,QAAQ,EACR,SAAS,EACV,MAAM,2BAA2B,CAAC;AAEnC;;;;GAIG;AACH,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM;;;;;CAY3C,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,QAAQ,GAAG;;;;;CASpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,QAAQ;IAC3C,UAAU,CAAC,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACzD,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC;IACpB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,KAAG,MAyBH,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,MAAM,UAAU,EAChB,OAAO,UAAU,KAChB,OAmBF,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,QAAQ,EAAE,OAAO,QAAQ,KAAG,OACrC,CAAC;AAM7B,eAAO,MAAM,YAAY,GACvB,iBAAiB,UAAU,EAAE,EAC7B,YAAY,UAAU,EAAE,EACxB,cAAa,UAAU,EAAO,KAC7B,UAAU,EA0BZ,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,iBAAiB,QAAQ,EAAE,EAC3B,YAAY,QAAQ,EAAE,KACrB,QAAQ,EAGR,CAAC;AAEJ,eAAO,MAAM,iBAAiB,GAC5B,iBAAiB,UAAU,EAAE,EAC7B,eAAe,UAAU,EAAE,KAC1B,UAAU,EAGZ,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,iBAAiB,QAAQ,EAAE,EAC3B,eAAe,QAAQ,EAAE,KACxB,QAAQ,EAGV,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,YAAY,MAAM,EAClB,SAAS,QAAQ,EAAE,KAClB,SAAS,GAAG,SAYd,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,YAAY,MAAM,EAClB,UAAU,UAAU,EAAE,EACtB,eAAc,aAAoB,KACjC,UAAU,CAAC,OAAO,CAAC,GAAG,SAkBxB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { BaseKey, MetaQuery } from "../../contexts/data/types";
|
|
|
2
2
|
import type { IResourceItem } from "../../contexts/resource/types";
|
|
3
3
|
export type HistoryType = "push" | "replace";
|
|
4
4
|
/**
|
|
5
|
-
* `refine` uses {@link https://reactrouter.com/
|
|
5
|
+
* `refine` uses {@link https://reactrouter.com/api/hooks/useNavigate `React Router`} and comes with all redirects out of the box.
|
|
6
6
|
* It allows you to manage your routing operations in refine.
|
|
7
7
|
* Using this hook, you can manage all the routing operations of your application very easily.
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import type { BaseKey, MetaQuery } from "../../contexts/data/types";
|
|
|
2
2
|
import type { IResourceItem } from "../../contexts/resource/types";
|
|
3
3
|
export type HistoryType = "push" | "replace";
|
|
4
4
|
/**
|
|
5
|
-
* `refine` uses {@link https://reactrouter.com/
|
|
5
|
+
* `refine` uses {@link https://reactrouter.com/api/hooks/useNavigate `React Router`} and comes with all redirects out of the box.
|
|
6
6
|
* It allows you to manage your routing operations in refine.
|
|
7
7
|
* Using this hook, you can manage all the routing operations of your application very easily.
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import type { BaseKey, MetaQuery } from "../../contexts/data/types";
|
|
|
2
2
|
import type { IResourceItem } from "../../contexts/resource/types";
|
|
3
3
|
export type HistoryType = "push" | "replace";
|
|
4
4
|
/**
|
|
5
|
-
* `refine` uses {@link https://reactrouter.com/
|
|
5
|
+
* `refine` uses {@link https://reactrouter.com/api/hooks/useNavigate `React Router`} and comes with all redirects out of the box.
|
|
6
6
|
* It allows you to manage your routing operations in refine.
|
|
7
7
|
* Using this hook, you can manage all the routing operations of your application very easily.
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@ import type { BaseKey, MetaQuery } from "../../contexts/data/types";
|
|
|
2
2
|
import type { IResourceItem } from "../../contexts/resource/types";
|
|
3
3
|
export type HistoryType = "push" | "replace";
|
|
4
4
|
/**
|
|
5
|
-
* `refine` uses {@link https://reactrouter.com/
|
|
5
|
+
* `refine` uses {@link https://reactrouter.com/api/hooks/useNavigate `React Router`} and comes with all redirects out of the box.
|
|
6
6
|
* It allows you to manage your routing operations in refine.
|
|
7
7
|
* Using this hook, you can manage all the routing operations of your application very easily.
|
|
8
8
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -43,6 +43,7 @@ __export(src_exports, {
|
|
|
43
43
|
KeyBuilder: () => KeyBuilder,
|
|
44
44
|
Link: () => Link,
|
|
45
45
|
MetaContextProvider: () => MetaContextProvider,
|
|
46
|
+
QS_PARSE_DEPTH: () => QS_PARSE_DEPTH,
|
|
46
47
|
Refine: () => Refine,
|
|
47
48
|
ResourceContext: () => ResourceContext,
|
|
48
49
|
RouteChangeHandler: () => RouteChangeHandler,
|
|
@@ -274,10 +275,12 @@ var import_differenceWith = __toESM(require("lodash/differenceWith"));
|
|
|
274
275
|
var import_unionWith = __toESM(require("lodash/unionWith"));
|
|
275
276
|
var import_qs = __toESM(require("qs"));
|
|
276
277
|
var import_warn_once = __toESM(require("warn-once"));
|
|
278
|
+
var QS_PARSE_DEPTH = 10;
|
|
277
279
|
var parseTableParams = /* @__PURE__ */ __name((url) => {
|
|
278
280
|
const { currentPage, pageSize, sorters, sorter, filters } = import_qs.default.parse(
|
|
279
|
-
url.substring(1)
|
|
281
|
+
url.substring(1),
|
|
280
282
|
// remove first ? character
|
|
283
|
+
{ depth: QS_PARSE_DEPTH }
|
|
281
284
|
);
|
|
282
285
|
return {
|
|
283
286
|
parsedCurrentPage: currentPage && Number(currentPage),
|
|
@@ -8193,7 +8196,7 @@ var import_react74 = __toESM(require("react"));
|
|
|
8193
8196
|
|
|
8194
8197
|
// src/hooks/useTelemetryData/index.ts
|
|
8195
8198
|
var import_react73 = require("react");
|
|
8196
|
-
var REFINE_VERSION = "5.0.
|
|
8199
|
+
var REFINE_VERSION = "5.0.10";
|
|
8197
8200
|
var useTelemetryData = /* @__PURE__ */ __name(() => {
|
|
8198
8201
|
var _a;
|
|
8199
8202
|
const auth = useIsExistAuthentication();
|