@refinedev/core 4.51.0 → 4.53.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.
Files changed (254) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/LICENSE +21 -0
  3. package/dist/components/authenticated/index.d.mts.map +75 -1
  4. package/dist/components/autoSaveIndicator/index.d.cts.map +1 -1
  5. package/dist/components/autoSaveIndicator/index.d.mts.map +24 -1
  6. package/dist/components/autoSaveIndicator/index.d.ts.map +1 -1
  7. package/dist/components/canAccess/index.d.mts.map +52 -1
  8. package/dist/components/containers/index.d.mts.map +2 -1
  9. package/dist/components/containers/refine/index.d.mts.map +11 -1
  10. package/dist/components/gh-banner/index.d.mts.map +7 -1
  11. package/dist/components/gh-banner/styles.d.mts.map +2 -1
  12. package/dist/components/index.d.mts.map +10 -1
  13. package/dist/components/layoutWrapper/defaultLayout/index.d.mts.map +4 -1
  14. package/dist/components/layoutWrapper/index.d.mts.map +46 -1
  15. package/dist/components/pages/auth/components/forgotPassword/index.d.mts.map +7 -1
  16. package/dist/components/pages/auth/components/index.d.mts.map +5 -1
  17. package/dist/components/pages/auth/components/login/index.d.mts.map +7 -1
  18. package/dist/components/pages/auth/components/register/index.d.mts.map +7 -1
  19. package/dist/components/pages/auth/components/updatePassword/index.d.mts.map +7 -1
  20. package/dist/components/pages/auth/index.d.mts.map +12 -1
  21. package/dist/components/pages/auth/types.d.mts.map +179 -1
  22. package/dist/components/pages/config-error/index.d.mts.map +3 -1
  23. package/dist/components/pages/config-success/index.d.mts.map +6 -1
  24. package/dist/components/pages/error/index.d.mts.map +9 -1
  25. package/dist/components/pages/index.d.mts.map +7 -1
  26. package/dist/components/pages/login/index.d.mts.map +13 -1
  27. package/dist/components/pages/ready/index.d.mts.map +8 -1
  28. package/dist/components/pages/welcome/index.d.mts.map +3 -1
  29. package/dist/components/routeChangeHandler/index.d.mts.map +3 -1
  30. package/dist/components/telemetry/index.d.mts.map +3 -1
  31. package/dist/components/telemetry/types.d.mts.map +16 -1
  32. package/dist/components/undoableQueue/index.d.mts.map +6 -1
  33. package/dist/contexts/accessControl/index.d.mts.map +7 -1
  34. package/dist/contexts/accessControl/types.d.mts.map +84 -1
  35. package/dist/contexts/auditLog/index.d.mts.map +5 -1
  36. package/dist/contexts/auditLog/types.d.mts.map +41 -1
  37. package/dist/contexts/auth/index.d.mts.map +18 -1
  38. package/dist/contexts/auth/types.d.mts.map +101 -1
  39. package/dist/contexts/data/index.d.mts.map +10 -1
  40. package/dist/contexts/data/types.d.mts.map +347 -1
  41. package/dist/contexts/i18n/index.d.mts.map +7 -1
  42. package/dist/contexts/i18n/types.d.mts.map +13 -1
  43. package/dist/contexts/live/index.d.mts.map +5 -1
  44. package/dist/contexts/live/types.d.mts.map +96 -1
  45. package/dist/contexts/notification/index.d.mts.map +7 -1
  46. package/dist/contexts/notification/types.d.mts.map +27 -1
  47. package/dist/contexts/refine/index.d.mts.map +6 -1
  48. package/dist/contexts/refine/types.d.mts.map +325 -1
  49. package/dist/contexts/resource/index.d.mts.map +7 -1
  50. package/dist/contexts/resource/types.d.mts.map +168 -1
  51. package/dist/contexts/router/index.d.mts.map +7 -1
  52. package/dist/contexts/router/legacy/index.d.mts.map +6 -1
  53. package/dist/contexts/router/legacy/types.d.mts.map +47 -1
  54. package/dist/contexts/router/picker/index.d.mts.map +15 -1
  55. package/dist/contexts/router/types.d.mts.map +67 -1
  56. package/dist/contexts/undoableQueue/index.d.mts.map +6 -1
  57. package/dist/contexts/undoableQueue/types.d.mts.map +21 -1
  58. package/dist/contexts/unsavedWarn/index.d.mts.map +5 -1
  59. package/dist/contexts/unsavedWarn/types.d.mts.map +5 -1
  60. package/dist/definitions/helpers/async-debounce/index.d.mts.map +18 -1
  61. package/dist/definitions/helpers/check-router-prop-misuse/index.d.mts.map +4 -1
  62. package/dist/definitions/helpers/defer-execution/index.d.mts.map +9 -1
  63. package/dist/definitions/helpers/downloadInBrowser/index.d.mts.map +2 -1
  64. package/dist/definitions/helpers/flatten-object-keys/index.d.mts.map +4 -1
  65. package/dist/definitions/helpers/generateDocumentTitle/index.d.mts.map +7 -1
  66. package/dist/definitions/helpers/handleMultiple/index.d.mts.map +6 -1
  67. package/dist/definitions/helpers/handlePaginationParams/index.d.mts.map +9 -1
  68. package/dist/definitions/helpers/handleRefineOptions/index.d.mts.map +26 -1
  69. package/dist/definitions/helpers/handleUseParams/index.d.mts.map +2 -1
  70. package/dist/definitions/helpers/hasPermission/index.d.mts.map +2 -1
  71. package/dist/definitions/helpers/humanizeString/index.d.mts.map +2 -1
  72. package/dist/definitions/helpers/importCSVMapper/index.d.mts.map +3 -1
  73. package/dist/definitions/helpers/index.d.mts.map +34 -1
  74. package/dist/definitions/helpers/keys/index.d.mts.map +64 -1
  75. package/dist/definitions/helpers/legacy-resource-transform/index.d.mts.map +9 -1
  76. package/dist/definitions/helpers/menu/create-resource-key.d.mts.map +3 -1
  77. package/dist/definitions/helpers/menu/create-tree.d.mts.map +13 -1
  78. package/dist/definitions/helpers/pick-resource/index.d.mts.map +8 -1
  79. package/dist/definitions/helpers/pickDataProvider/index.d.mts.map +6 -1
  80. package/dist/definitions/helpers/pickNotDeprecated/index.d.mts.map +2 -1
  81. package/dist/definitions/helpers/prepare-query-context/index.d.mts.map +3 -1
  82. package/dist/definitions/helpers/property-path-to-array/index.d.mts.map +2 -1
  83. package/dist/definitions/helpers/queryKeys/index.d.mts.map +7 -1
  84. package/dist/definitions/helpers/redirectPage/index.d.mts.map +11 -1
  85. package/dist/definitions/helpers/routeGenerator/index.d.mts.map +7 -1
  86. package/dist/definitions/helpers/router/check-by-segments.d.mts.map +9 -1
  87. package/dist/definitions/helpers/router/compose-route.d.mts.map +11 -1
  88. package/dist/definitions/helpers/router/get-action-routes-from-resource.d.mts.map +16 -1
  89. package/dist/definitions/helpers/router/get-default-action-path.d.mts.map +8 -1
  90. package/dist/definitions/helpers/router/get-parent-prefix-for-resource.d.mts.map +7 -1
  91. package/dist/definitions/helpers/router/get-parent-resource.d.mts.map +7 -1
  92. package/dist/definitions/helpers/router/index.d.mts.map +10 -1
  93. package/dist/definitions/helpers/router/is-parameter.d.mts.map +5 -1
  94. package/dist/definitions/helpers/router/is-segment-counts-same.d.mts.map +5 -1
  95. package/dist/definitions/helpers/router/match-resource-from-route.d.mts.map +15 -1
  96. package/dist/definitions/helpers/router/pick-matched-route.d.mts.map +8 -1
  97. package/dist/definitions/helpers/router/pick-route-params.d.mts.map +6 -1
  98. package/dist/definitions/helpers/router/prepare-route-params.d.mts.map +8 -1
  99. package/dist/definitions/helpers/router/remove-leading-trailing-slashes.d.mts.map +5 -1
  100. package/dist/definitions/helpers/router/split-to-segments.d.mts.map +5 -1
  101. package/dist/definitions/helpers/safe-translate/index.d.mts.map +3 -1
  102. package/dist/definitions/helpers/sanitize-resource/index.d.mts.map +8 -1
  103. package/dist/definitions/helpers/sequentialPromises/index.d.mts.map +5 -1
  104. package/dist/definitions/helpers/treeView/createTreeView/index.d.mts.map +6 -1
  105. package/dist/definitions/helpers/treeView/index.d.mts.map +2 -1
  106. package/dist/definitions/helpers/useActiveAuthProvider/index.d.cts +7 -7
  107. package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts +7 -7
  108. package/dist/definitions/helpers/useActiveAuthProvider/index.d.mts.map +34 -1
  109. package/dist/definitions/helpers/useActiveAuthProvider/index.d.ts +7 -7
  110. package/dist/definitions/helpers/useInfinitePagination/index.d.mts.map +4 -1
  111. package/dist/definitions/helpers/useMediaQuery/index.d.mts.map +2 -1
  112. package/dist/definitions/helpers/useUserFriendlyName/index.d.mts.map +6 -1
  113. package/dist/definitions/helpers/userFriendlyResourceName/index.d.mts.map +7 -1
  114. package/dist/definitions/helpers/userFriendlySeconds/index.d.mts.map +2 -1
  115. package/dist/definitions/index.d.mts.map +4 -1
  116. package/dist/definitions/table/index.d.mts.map +34 -1
  117. package/dist/definitions/upload/file2Base64/index.d.mts.map +2 -1
  118. package/dist/definitions/upload/index.d.mts.map +2 -1
  119. package/dist/hooks/accessControl/index.d.mts.map +3 -1
  120. package/dist/hooks/accessControl/useCan/index.d.mts.map +18 -1
  121. package/dist/hooks/accessControl/useCanWithoutCache.d.mts.map +3 -1
  122. package/dist/hooks/auditLog/index.d.mts.map +3 -1
  123. package/dist/hooks/auditLog/useLog/index.d.mts.map +27 -1
  124. package/dist/hooks/auditLog/useLogList/index.d.mts.map +22 -1
  125. package/dist/hooks/auth/index.d.mts.map +11 -1
  126. package/dist/hooks/auth/useForgotPassword/index.d.mts.map +22 -1
  127. package/dist/hooks/auth/useGetIdentity/index.d.mts.map +21 -1
  128. package/dist/hooks/auth/useInvalidateAuthStore/index.d.mts.map +2 -1
  129. package/dist/hooks/auth/useIsAuthenticated/index.d.mts.map +25 -1
  130. package/dist/hooks/auth/useIsExistAuthentication/index.d.mts.map +6 -1
  131. package/dist/hooks/auth/useLogin/index.d.mts.map +22 -1
  132. package/dist/hooks/auth/useLogout/index.d.mts.map +26 -1
  133. package/dist/hooks/auth/useOnError/index.d.mts.map +22 -1
  134. package/dist/hooks/auth/usePermissions/index.d.mts.map +24 -1
  135. package/dist/hooks/auth/useRegister/index.d.mts.map +22 -1
  136. package/dist/hooks/auth/useUpdatePassword/index.d.mts.map +23 -1
  137. package/dist/hooks/breadcrumb/index.d.mts.map +18 -1
  138. package/dist/hooks/button/actionable-button/index.d.mts.map +8 -1
  139. package/dist/hooks/button/button-can-access/index.d.mts.map +22 -1
  140. package/dist/hooks/button/delete-button/index.d.mts.map +28 -1
  141. package/dist/hooks/button/index.d.mts.map +13 -1
  142. package/dist/hooks/button/navigation-button/index.d.mts.map +28 -1
  143. package/dist/hooks/button/refresh-button/index.d.mts.map +14 -1
  144. package/dist/hooks/data/index.d.cts +12 -12
  145. package/dist/hooks/data/index.d.cts.map +1 -1
  146. package/dist/hooks/data/index.d.mts +12 -12
  147. package/dist/hooks/data/index.d.mts.map +15 -1
  148. package/dist/hooks/data/index.d.ts +12 -12
  149. package/dist/hooks/data/index.d.ts.map +1 -1
  150. package/dist/hooks/data/useApiUrl.d.mts.map +2 -1
  151. package/dist/hooks/data/useCreate.d.mts.map +49 -1
  152. package/dist/hooks/data/useCreateMany.d.mts.map +31 -1
  153. package/dist/hooks/data/useCustom.d.mts.map +63 -1
  154. package/dist/hooks/data/useCustomMutation.d.mts.map +42 -1
  155. package/dist/hooks/data/useDataProvider.d.mts.map +7 -1
  156. package/dist/hooks/data/useDelete.d.mts.map +65 -1
  157. package/dist/hooks/data/useDeleteMany.d.mts.map +65 -1
  158. package/dist/hooks/data/useInfiniteList.d.mts.map +74 -1
  159. package/dist/hooks/data/useList.d.mts.map +73 -1
  160. package/dist/hooks/data/useMany.d.mts.map +48 -1
  161. package/dist/hooks/data/useOne.d.mts.map +50 -1
  162. package/dist/hooks/data/useUpdate.d.mts.map +83 -1
  163. package/dist/hooks/data/useUpdateMany.d.cts +1 -1
  164. package/dist/hooks/data/useUpdateMany.d.cts.map +1 -1
  165. package/dist/hooks/data/useUpdateMany.d.mts +1 -1
  166. package/dist/hooks/data/useUpdateMany.d.mts.map +84 -1
  167. package/dist/hooks/data/useUpdateMany.d.ts +1 -1
  168. package/dist/hooks/data/useUpdateMany.d.ts.map +1 -1
  169. package/dist/hooks/deepMemo/index.d.mts.map +7 -1
  170. package/dist/hooks/export/index.d.mts.map +99 -1
  171. package/dist/hooks/export/types.d.mts.map +21 -1
  172. package/dist/hooks/form/index.d.mts.map +18 -1
  173. package/dist/hooks/form/types.d.mts.map +146 -1
  174. package/dist/hooks/i18n/index.d.mts.map +5 -1
  175. package/dist/hooks/i18n/useGetLocale.d.mts.map +9 -1
  176. package/dist/hooks/i18n/useSetLocale.d.mts.map +8 -1
  177. package/dist/hooks/i18n/useTranslate.d.mts.map +11 -1
  178. package/dist/hooks/i18n/useTranslation.d.mts.map +18 -1
  179. package/dist/hooks/import/index.d.mts.map +101 -1
  180. package/dist/hooks/index.d.mts.map +31 -1
  181. package/dist/hooks/invalidate/index.d.mts.map +12 -1
  182. package/dist/hooks/legacy-router/index.d.mts.map +2 -1
  183. package/dist/hooks/legacy-router/useRouterContext.d.mts.map +10 -1
  184. package/dist/hooks/live/index.d.mts.map +5 -1
  185. package/dist/hooks/live/useLiveMode/index.d.mts.map +3 -1
  186. package/dist/hooks/live/usePublish/index.d.mts.map +3 -1
  187. package/dist/hooks/live/useResourceSubscription/index.d.mts.map +43 -1
  188. package/dist/hooks/live/useSubscription/index.d.mts.map +57 -1
  189. package/dist/hooks/memoized/index.d.mts.map +6 -1
  190. package/dist/hooks/menu/index.d.mts.map +2 -1
  191. package/dist/hooks/menu/useMenu.d.mts.map +28 -1
  192. package/dist/hooks/modal/index.d.mts.map +2 -1
  193. package/dist/hooks/modal/useModal/index.d.mts.map +13 -1
  194. package/dist/hooks/navigation/index.d.mts.map +28 -1
  195. package/dist/hooks/notification/index.d.mts.map +4 -1
  196. package/dist/hooks/notification/useCancelNotification/index.d.mts.map +8 -1
  197. package/dist/hooks/notification/useHandleNotification/index.d.mts.map +3 -1
  198. package/dist/hooks/notification/useNotification/index.d.mts.map +3 -1
  199. package/dist/hooks/redirection/index.d.mts.map +11 -1
  200. package/dist/hooks/refine/index.d.mts.map +6 -1
  201. package/dist/hooks/refine/useMutationMode.d.mts.map +16 -1
  202. package/dist/hooks/refine/useRefineContext.d.cts +1 -1
  203. package/dist/hooks/refine/useRefineContext.d.mts +1 -1
  204. package/dist/hooks/refine/useRefineContext.d.mts.map +20 -1
  205. package/dist/hooks/refine/useRefineContext.d.ts +1 -1
  206. package/dist/hooks/refine/useSyncWithLocation.d.mts.map +13 -1
  207. package/dist/hooks/refine/useTitle.d.mts.map +10 -1
  208. package/dist/hooks/refine/useWarnAboutChange/index.d.mts.map +16 -1
  209. package/dist/hooks/resource/index.d.mts.map +3 -1
  210. package/dist/hooks/resource/useResource/index.d.mts.map +63 -1
  211. package/dist/hooks/resource/useResourceWithRoute/index.d.mts.map +8 -1
  212. package/dist/hooks/router/index.d.mts.map +8 -1
  213. package/dist/hooks/router/use-back/index.d.mts.map +2 -1
  214. package/dist/hooks/router/use-get-to-path/index.d.mts.map +19 -1
  215. package/dist/hooks/router/use-go/index.d.mts.map +33 -1
  216. package/dist/hooks/router/use-link/index.d.mts.map +6 -1
  217. package/dist/hooks/router/use-parse/index.d.mts.map +5 -1
  218. package/dist/hooks/router/use-parsed/index.d.mts.map +2 -1
  219. package/dist/hooks/router/use-router-misuse-warning/index.d.mts.map +3 -1
  220. package/dist/hooks/router/use-to-path/index.d.mts.map +18 -1
  221. package/dist/hooks/show/index.d.mts.map +17 -1
  222. package/dist/hooks/show/types.d.mts.map +52 -1
  223. package/dist/hooks/show/useShow.d.mts.map +57 -1
  224. package/dist/hooks/use-refine-options/index.d.mts.map +2 -1
  225. package/dist/hooks/use-resource-params/index.d.mts.map +43 -1
  226. package/dist/hooks/use-resource-params/use-action/index.d.mts.map +12 -1
  227. package/dist/hooks/use-resource-params/use-id/index.d.mts.map +12 -1
  228. package/dist/hooks/useKeys/index.d.mts.map +5 -1
  229. package/dist/hooks/useLoadingOvertime/index.d.mts.map +49 -1
  230. package/dist/hooks/useMeta/index.d.mts.map +19 -1
  231. package/dist/hooks/useSelect/index.d.cts +6 -0
  232. package/dist/hooks/useSelect/index.d.cts.map +1 -1
  233. package/dist/hooks/useSelect/index.d.mts +6 -0
  234. package/dist/hooks/useSelect/index.d.mts.map +137 -1
  235. package/dist/hooks/useSelect/index.d.ts +6 -0
  236. package/dist/hooks/useSelect/index.d.ts.map +1 -1
  237. package/dist/hooks/useTable/index.d.mts.map +167 -1
  238. package/dist/hooks/useTelemetryData/index.d.mts.map +3 -1
  239. package/dist/index.cjs +18 -18
  240. package/dist/index.cjs.map +1 -1
  241. package/dist/index.d.cts +8 -7
  242. package/dist/index.d.cts.map +1 -1
  243. package/dist/index.d.mts +8 -7
  244. package/dist/index.d.mts.map +25 -1
  245. package/dist/index.d.ts +8 -7
  246. package/dist/index.d.ts.map +1 -1
  247. package/dist/index.mjs +18 -18
  248. package/dist/index.mjs.map +1 -1
  249. package/package.json +12 -13
  250. package/src/components/autoSaveIndicator/index.tsx +21 -7
  251. package/src/hooks/data/index.ts +28 -12
  252. package/src/hooks/data/useUpdateMany.ts +1 -1
  253. package/src/hooks/useSelect/index.ts +15 -1
  254. package/src/index.tsx +39 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @refinedev/core
2
2
 
3
+ ## 4.53.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#6071](https://github.com/refinedev/refine/pull/6071) [`853bef97ed7baf59e74c98fc54c0ed11624fb491`](https://github.com/refinedev/refine/commit/853bef97ed7baf59e74c98fc54c0ed11624fb491) Thanks [@Dominic-Preap](https://github.com/Dominic-Preap)! - feat: add `selectedOptionsOrder` in `useSelect`
8
+
9
+ Now with `selectedOptionsOrder`, you can sort `selectedOptions` at the top of list when use `useSelect` with `defaultValue`.
10
+
11
+ Resolves [#6061](https://github.com/refinedev/refine/issues/6061)
12
+
13
+ ### Patch Changes
14
+
15
+ - [#5989](https://github.com/refinedev/refine/pull/5989) [`b86648f42cd849a506e4c32d740de26b72681f72`](https://github.com/refinedev/refine/commit/b86648f42cd849a506e4c32d740de26b72681f72) Thanks [@lnikitadobrenkol](https://github.com/lnikitadobrenkol)! - chore(core): add missing types of data hooks
16
+
17
+ Added missing props and return types of data hooks.
18
+
19
+ - [#6070](https://github.com/refinedev/refine/pull/6070) [`4265ae2509f79af9dbca8d52daf5c2f1b4a50a51`](https://github.com/refinedev/refine/commit/4265ae2509f79af9dbca8d52daf5c2f1b4a50a51) Thanks [@FatimaSaleem21](https://github.com/FatimaSaleem21)! - fix(core): add unexported types in `index.tsx`
20
+
21
+ The `refinedev/core` package has many unexported types that are not accessible for use outside the package. This change aims to address this limitation by exporting those missing types.
22
+
23
+ Resolves [#6041](https://github.com/refinedev/refine/issues/6041)
24
+
25
+ - [#6064](https://github.com/refinedev/refine/pull/6064) [`b516c18b828ba8823561d0fefc4afe02b45ce332`](https://github.com/refinedev/refine/commit/b516c18b828ba8823561d0fefc4afe02b45ce332) Thanks [@aliemir](https://github.com/aliemir)! - fix(auto-save-indicator): replace reserved `key` prop with `translationKey` in <Message /> components
26
+
27
+ `<AutoSaveIndicator />` components from UI libraries have been using a `<Message />` component internally that uses a `key` prop. Since `key` is a reserved prop in React, it was causing a warning in the console. This change replaces the `key` prop with `translationKey` to avoid the warning.
28
+
29
+ Resolves [#6067](https://github.com/refinedev/refine/issues/6067)
30
+
31
+ - Updated dependencies []:
32
+ - @refinedev/devtools-internal@1.1.13
33
+
3
34
  ## 4.51.0
4
35
 
5
36
  ### Minor Changes
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Refine Development Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1 +1,75 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/authenticated/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;;OAIG;IACH,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC;IACf;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,8BAA8B,EAAE,IAAI,CAAC;CACtC,GAAG,wBAAwB,CAAC;AAE7B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,8BAA8B,CAAC,EAAE,KAAK,CAAC;CACxC,GAAG,wBAAwB,CAAC;AAE7B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,wBAAwB,GAC9B,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;AAEtB;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC"}
1
+ import React from "react";
2
+ export type AuthenticatedCommonProps = {
3
+ /**
4
+ * Unique key to identify the component.
5
+ * This is required if you have multiple `Authenticated` components at the same level.
6
+ * @required
7
+ */
8
+ key: React.Key;
9
+ /**
10
+ * Whether to redirect user if not logged in or not.
11
+ * If not set, user will be redirected to `redirectTo` property of the `check` function's response.
12
+ * This behavior is only available for new auth providers.
13
+ * Legacy auth providers will redirect to `/login` by default if this property is not set.
14
+ * If set to a string, user will be redirected to that string.
15
+ *
16
+ * This property only works if `fallback` is **not set**.
17
+ */
18
+ redirectOnFail?: string | true;
19
+ /**
20
+ * Whether to append current path to search params of the redirect url at `to` property.
21
+ *
22
+ * By default, `to` parameter is used by successful invocations of the `useLogin` hook.
23
+ * If `to` present, it will be used as the redirect url after successful login.
24
+ */
25
+ appendCurrentPathToQuery?: boolean;
26
+ /**
27
+ * Content to show if user is not logged in.
28
+ */
29
+ fallback?: React.ReactNode;
30
+ /**
31
+ * Content to show while checking whether user is logged in or not.
32
+ */
33
+ loading?: React.ReactNode;
34
+ /**
35
+ * Content to show if user is logged in
36
+ */
37
+ children?: React.ReactNode;
38
+ };
39
+ export type LegacyAuthenticatedProps = {
40
+ v3LegacyAuthProviderCompatible: true;
41
+ } & AuthenticatedCommonProps;
42
+ export type AuthenticatedProps = {
43
+ v3LegacyAuthProviderCompatible?: false;
44
+ } & AuthenticatedCommonProps;
45
+ /**
46
+ * `<Authenticated>` is the component form of {@link https://refine.dev/docs/api-reference/core/hooks/auth/useAuthenticated `useAuthenticated`}. It internally uses `useAuthenticated` to provide it's functionality.
47
+ *
48
+ * @requires {@link https://react.dev/learn/rendering-lists#why-does-react-need-keys `key`} prop if you have multiple components at the same level.
49
+ * In React, components don't automatically unmount and remount with prop changes, which is generally good for performance. However, for specific cases this can cause issues like unwanted content rendering (`fallback` or `children`). To solve this, assigning unique `key` values to each instance of component is necessary, forcing React to unmount and remount the component, rather than just updating its props.
50
+ * @example
51
+ *```tsx
52
+ * <Authenticated key="dashboard">
53
+ * <h1>Dashboard Page</h1>
54
+ * </Authenticated>
55
+ *```
56
+ *
57
+ * @see {@link https://refine.dev/docs/core/components/auth/authenticated `<Authenticated>`} component for more details.
58
+ */
59
+ export declare function Authenticated(props: LegacyAuthenticatedProps): JSX.Element | null;
60
+ /**
61
+ * `<Authenticated>` is the component form of {@link https://refine.dev/docs/api-reference/core/hooks/auth/useAuthenticated `useAuthenticated`}. It internally uses `useAuthenticated` to provide it's functionality.
62
+ *
63
+ * @requires {@link https://react.dev/learn/rendering-lists#why-does-react-need-keys `key`} prop if you have multiple components at the same level.
64
+ * In React, components don't automatically unmount and remount with prop changes, which is generally good for performance. However, for specific cases this can cause issues like unwanted content rendering (`fallback` or `children`). To solve this, assigning unique `key` values to each instance of component is necessary, forcing React to unmount and remount the component, rather than just updating its props.
65
+ * @example
66
+ *```tsx
67
+ * <Authenticated key="dashboard">
68
+ * <h1>Dashboard Page</h1>
69
+ * </Authenticated>
70
+ *```
71
+ *
72
+ * @see {@link https://refine.dev/docs/core/components/auth/authenticated `<Authenticated>`} component for more details.
73
+ */
74
+ export declare function Authenticated(props: AuthenticatedProps): JSX.Element | null;
75
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autoSaveIndicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,MAAM,sBAAsB,CAChC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,IACb;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;IAChE;;OAEG;IACH,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC;IACjE;;OAEG;IACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmB9D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autoSaveIndicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,MAAM,sBAAsB,CAChC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,IACb;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;IAChE;;OAEG;IACH,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC;IACjE;;OAEG;IACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAiC9D,CAAC"}
@@ -1 +1,24 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autoSaveIndicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,MAAM,sBAAsB,CAChC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,IACb;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;IAChE;;OAEG;IACH,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC;IACjE;;OAEG;IACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmB9D,CAAC"}
1
+ import React from "react";
2
+ import type { BaseRecord, HttpError } from "../../contexts/data/types";
3
+ import type { AutoSaveIndicatorElements } from "../../hooks/form/types";
4
+ import type { UseUpdateReturnType } from "../../hooks/data/useUpdate";
5
+ export type AutoSaveIndicatorProps<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}> = {
6
+ /**
7
+ * The data returned by the update request.
8
+ */
9
+ data?: UseUpdateReturnType<TData, TError, TVariables>["data"];
10
+ /**
11
+ * The error returned by the update request.
12
+ */
13
+ error?: UseUpdateReturnType<TData, TError, TVariables>["error"];
14
+ /**
15
+ * The status of the update request.
16
+ */
17
+ status: UseUpdateReturnType<TData, TError, TVariables>["status"];
18
+ /**
19
+ * The elements to display for each status.
20
+ */
21
+ elements?: AutoSaveIndicatorElements;
22
+ };
23
+ export declare const AutoSaveIndicator: React.FC<AutoSaveIndicatorProps>;
24
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autoSaveIndicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,MAAM,sBAAsB,CAChC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,IACb;IACF;;OAEG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;IAChE;;OAEG;IACH,MAAM,EAAE,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC;IACjE;;OAEG;IACH,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAmB9D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autoSaveIndicator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAE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AAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CAC/C,CAAC;AAEF,KAAK,2BAA2B,GAAG;KAChC,GAAG,IAAI,OAAO,CACb,MAAM,kBAAkB,EACxB,UAAU,GAAG,UAAU,CACxB,CAAC,CAAC,EAAE,SAAS;CACf,GAAG;KACD,GAAG,IAAI,UAAU,GAAG,UAAU,CAAC,CAAC,EAAE,kBAAkB,CAAC,GAAG,CAAC;CAC3D,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,2BAA2B,CAAC;AAE9E,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA0D9C,CAAC"}
1
+ import React from "react";
2
+ import type { UseQueryOptions } from "@tanstack/react-query";
3
+ import type { CanReturnType } from "../../contexts/accessControl/types";
4
+ import type { BaseKey } from "../../contexts/data/types";
5
+ import type { IResourceItem, ITreeMenu } from "../../contexts/resource/types";
6
+ type CanParams = {
7
+ resource?: IResourceItem & {
8
+ children?: ITreeMenu[];
9
+ };
10
+ id?: BaseKey;
11
+ [key: string]: any;
12
+ };
13
+ type OnUnauthorizedProps = {
14
+ resource?: string;
15
+ reason?: string;
16
+ action: string;
17
+ params: CanParams;
18
+ };
19
+ type CanAccessBaseProps = {
20
+ /**
21
+ * Resource name for API data interactions
22
+ */
23
+ resource?: string;
24
+ /**
25
+ * Intended action on resource
26
+ */
27
+ action: string;
28
+ /**
29
+ * Parameters associated with the resource
30
+ * @type { resource?: [IResourceItem](https://refine.dev/docs/api-reference/core/interfaceReferences/#canparams), id?: [BaseKey](https://refine.dev/docs/api-reference/core/interfaceReferences/#basekey), [key: string]: any }
31
+ */
32
+ params?: CanParams;
33
+ /**
34
+ * Content to show if access control returns `false`
35
+ */
36
+ fallback?: React.ReactNode;
37
+ /**
38
+ * Callback function to be called if access control returns `can: false`
39
+ */
40
+ onUnauthorized?: (props: OnUnauthorizedProps) => void;
41
+ children: React.ReactNode;
42
+ queryOptions?: UseQueryOptions<CanReturnType>;
43
+ };
44
+ type CanAccessWithoutParamsProps = {
45
+ [key in Exclude<keyof CanAccessBaseProps, "fallback" | "children">]?: undefined;
46
+ } & {
47
+ [key in "fallback" | "children"]?: CanAccessBaseProps[key];
48
+ };
49
+ export type CanAccessProps = CanAccessBaseProps | CanAccessWithoutParamsProps;
50
+ export declare const CanAccess: React.FC<CanAccessProps>;
51
+ export {};
52
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,2 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/containers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ export { Refine } from "./refine";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,11 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/containers/refine/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA4B1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAGlE;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAkLxC,CAAC"}
1
+ import React from "react";
2
+ import type { RefineProps } from "../../../contexts/refine/types";
3
+ /**
4
+ * {@link https://refine.dev/docs/api-reference/core/components/refine-config `<Refine> component`} is the entry point of a refine app.
5
+ * It is where the highest level of configuration of the app occurs.
6
+ * Only a dataProvider is required to bootstrap the app. After adding a dataProvider, resources can be added as property.
7
+ *
8
+ * @see {@link https://refine.dev/docs/api-reference/core/components/refine-config} for more details.
9
+ */
10
+ export declare const Refine: React.FC<RefineProps>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/gh-banner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,aAAa,EAA4B,MAAM,OAAO,CAAC;AAM5E,KAAK,KAAK,GAAG;IACX,cAAc,CAAC,EAAE,aAAa,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,YAAY,uBAAwB,KAAK,sBAgIrD,CAAC"}
1
+ import React, { type CSSProperties } from "react";
2
+ type Props = {
3
+ containerStyle?: CSSProperties;
4
+ };
5
+ export declare const GitHubBanner: ({ containerStyle }: Props) => React.JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,2 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/gh-banner/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,UA6CpB,CAAC"}
1
+ export declare const CSSRules: string[];
2
+ //# sourceMappingURL=styles.d.ts.map
@@ -1 +1,10 @@
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
+ export * from "./pages";
2
+ export * from "./containers";
3
+ export * from "./undoableQueue";
4
+ export { LayoutWrapper } from "./layoutWrapper";
5
+ export { Authenticated } from "./authenticated";
6
+ export { RouteChangeHandler } from "./routeChangeHandler";
7
+ export { CanAccess, CanAccessProps } from "./canAccess";
8
+ export { GitHubBanner } from "./gh-banner";
9
+ export { AutoSaveIndicator, AutoSaveIndicatorProps } from "./autoSaveIndicator";
10
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,4 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layoutWrapper/defaultLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAElE,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAE/C,CAAC"}
1
+ import React from "react";
2
+ import type { LayoutProps } from "../../../contexts/refine/types";
3
+ export declare const DefaultLayout: React.FC<LayoutProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,46 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layoutWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AASzC,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE3E,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IAClB;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0BtD,CAAC"}
1
+ import React from "react";
2
+ import type { LayoutProps, TitleProps } from "../../contexts/refine/types";
3
+ export interface LayoutWrapperProps {
4
+ /**
5
+ * Outer component that renders other components
6
+ * @default *
7
+ */
8
+ Layout?: React.FC<LayoutProps>;
9
+ /**
10
+ * [Custom sider to use](/api-reference/core/components/refine-config.md#sider)
11
+ * @default *
12
+ */
13
+ Sider?: React.FC;
14
+ /**
15
+ * [Custom header to use](/api-reference/core/components/refine-config.md#header)
16
+ * @default *
17
+ */
18
+ Header?: React.FC;
19
+ /**
20
+ * [Custom title to use](/api-reference/core/components/refine-config.md#title)
21
+ * @default *
22
+ */
23
+ Title?: React.FC<TitleProps>;
24
+ /**
25
+ * [Custom footer to use](/api-reference/core/components/refine-config.md#footer)
26
+ * @default *
27
+ */
28
+ Footer?: React.FC;
29
+ /**
30
+ * [Custom off layout area to use](/api-reference/core/components/refine-config.md#offlayoutarea)
31
+ * @default *
32
+ */
33
+ OffLayoutArea?: React.FC;
34
+ children: React.ReactNode;
35
+ }
36
+ /**
37
+ * `<LayoutWrapper>` wraps its contents in **refine's** layout with all customizations made in {@link https://refine.dev/docs/core/components/refine-config `<Refine>`} component.
38
+ * It is the default layout used in resource pages.
39
+ * It can be used in custom pages to use global layout.
40
+ *
41
+ * @see {@link https://refine.dev/docs/core/components/layout-wrapper} for more details.
42
+ *
43
+ * @deprecated This component is obsolete and only works with the legacy router providers.
44
+ */
45
+ export declare const LayoutWrapper: React.FC<LayoutWrapperProps>;
46
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,7 @@
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,CAsF5D,CAAC"}
1
+ import React from "react";
2
+ import type { DivPropsType, FormPropsType } from "../..";
3
+ import type { ForgotPasswordPageProps } from "../../types";
4
+ type ForgotPasswordProps = ForgotPasswordPageProps<DivPropsType, DivPropsType, FormPropsType>;
5
+ export declare const ForgotPasswordPage: React.FC<ForgotPasswordProps>;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,5 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/pages/auth/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
1
+ export * from "./login";
2
+ export * from "./register";
3
+ export * from "./forgotPassword";
4
+ export * from "./updatePassword";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,7 @@
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;AAMxC,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,CAmL1C,CAAC"}
1
+ import React from "react";
2
+ import type { DivPropsType, FormPropsType } from "../..";
3
+ import type { LoginPageProps } from "../../types";
4
+ type LoginProps = LoginPageProps<DivPropsType, DivPropsType, FormPropsType>;
5
+ export declare const LoginPage: React.FC<LoginProps>;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,7 @@
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,CAqJhD,CAAC"}
1
+ import React from "react";
2
+ import type { DivPropsType, FormPropsType } from "../..";
3
+ import type { RegisterPageProps } from "../../types";
4
+ type RegisterProps = RegisterPageProps<DivPropsType, DivPropsType, FormPropsType>;
5
+ export declare const RegisterPage: React.FC<RegisterProps>;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,7 @@
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,CAmF5D,CAAC"}
1
+ import React from "react";
2
+ import type { DivPropsType, FormPropsType } from "../..";
3
+ import type { UpdatePasswordPageProps } from "../../types";
4
+ type UpdatePasswordProps = UpdatePasswordPageProps<DivPropsType, DivPropsType, FormPropsType>;
5
+ export declare const UpdatePasswordPage: React.FC<UpdatePasswordProps>;
6
+ export {};
7
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,12 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/auth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACxB,MAAM,OAAO,CAAC;AASf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAC1C,cAAc,CAAC,cAAc,CAAC,EAC9B,cAAc,CACf,CAAC;AACF,MAAM,MAAM,aAAa,GAAG,iBAAiB,CAC3C,kBAAkB,CAAC,eAAe,CAAC,EACnC,eAAe,CAChB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,aAAa,CACnC,YAAY,EACZ,YAAY,EACZ,aAAa,CACd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAgBxC,CAAC"}
1
+ import React, { type DetailedHTMLProps, type HTMLAttributes, type FormHTMLAttributes } from "react";
2
+ import type { AuthPageProps } from "./types";
3
+ export type DivPropsType = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
4
+ export type FormPropsType = DetailedHTMLProps<FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>;
5
+ export type AuthProps = AuthPageProps<DivPropsType, DivPropsType, FormPropsType>;
6
+ /**
7
+ * **refine** has a default auth page form which is served on `/login` route when the `authProvider` configuration is provided.
8
+ * @param title is not implemented yet.
9
+ * @see {@link https://refine.dev/docs/api-reference/core/components/auth-page/} for more details.
10
+ */
11
+ export declare const AuthPage: React.FC<AuthProps>;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,179 @@
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;CAC1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AAM,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;CACzB,CAAC,CAAC"}
1
+ import React, { type PropsWithChildren } from "react";
2
+ export type OAuthProvider = {
3
+ name: string;
4
+ icon?: React.ReactNode;
5
+ label?: string;
6
+ };
7
+ export interface LoginFormTypes {
8
+ email?: string;
9
+ password?: string;
10
+ remember?: boolean;
11
+ providerName?: string;
12
+ redirectPath?: string;
13
+ }
14
+ export interface RegisterFormTypes {
15
+ email?: string;
16
+ password?: string;
17
+ providerName?: string;
18
+ }
19
+ export interface ForgotPasswordFormTypes {
20
+ email?: string;
21
+ }
22
+ export interface UpdatePasswordFormTypes {
23
+ password?: string;
24
+ confirmPassword?: string;
25
+ }
26
+ /**
27
+ * This should be the base type for `AuthPage` component implementations in UI integrations.
28
+ */
29
+ export type AuthPageProps<TWrapperProps extends {} = Record<keyof any, unknown>, TContentProps extends {} = Record<keyof any, unknown>, TFormProps extends {} = Record<keyof any, unknown>> = (PropsWithChildren<{
30
+ /**
31
+ * @description The type of the auth page.
32
+ * @default "login"
33
+ * @optional
34
+ */
35
+ type?: "login";
36
+ /**
37
+ * @description Providers array for login with third party auth services.
38
+ * @type [OAuthProvider](/docs/api-reference/core/components/auth-page/#interface)
39
+ * @optional
40
+ */
41
+ providers?: OAuthProvider[];
42
+ /**
43
+ * @description Render a redirect to register page button node. If set to false, register button will not be rendered.
44
+ * @default `"/register"`
45
+ * @optional
46
+ */
47
+ registerLink?: React.ReactNode;
48
+ /**
49
+ * @description Render a redirect to forgot password page button node. If set to false, forgot password button will not be rendered.
50
+ * @default `"/forgot-password"`
51
+ * @optional
52
+ */
53
+ forgotPasswordLink?: React.ReactNode;
54
+ /**
55
+ * @description Render a remember me button node. If set to false, remember me button will not be rendered.
56
+ * @optional
57
+ */
58
+ rememberMe?: React.ReactNode;
59
+ /**
60
+ * @description Can be used to hide the form components
61
+ * @optional
62
+ */
63
+ hideForm?: boolean;
64
+ }> | PropsWithChildren<{
65
+ /**
66
+ * @description The type of the auth page.
67
+ * @optional
68
+ */
69
+ type: "register";
70
+ /**
71
+ * @description Providers array for login with third party auth services.
72
+ * @optional
73
+ */
74
+ providers?: OAuthProvider[];
75
+ /**
76
+ * @description Render a redirect to login page button node. If set to false, login button will not be rendered.
77
+ * @default `"/login"`
78
+ * @optional
79
+ */
80
+ loginLink?: React.ReactNode;
81
+ /**
82
+ * @description Can be used to hide the form components
83
+ * @optional
84
+ */
85
+ hideForm?: boolean;
86
+ }> | PropsWithChildren<{
87
+ /**
88
+ * @description The type of the auth page.
89
+ * @optional
90
+ */
91
+ type: "forgotPassword";
92
+ /**
93
+ * @description render a redirect to login page button node. If set to false, login button will not be rendered.
94
+ * @optional
95
+ */
96
+ loginLink?: React.ReactNode;
97
+ }> | PropsWithChildren<{
98
+ /**
99
+ * @description The type of the auth page.
100
+ * @optional
101
+ */
102
+ type: "updatePassword";
103
+ }>) & {
104
+ /**
105
+ * @description The props that will be passed to the wrapper component.
106
+ * @optional
107
+ */
108
+ wrapperProps?: TWrapperProps;
109
+ /**
110
+ * @description The props that will be passed to the content component.
111
+ * @optional
112
+ */
113
+ contentProps?: TContentProps;
114
+ /**
115
+ * @description This method gives you the ability to render a custom content node.
116
+ * @optional
117
+ */
118
+ renderContent?: (content: React.ReactNode, title: React.ReactNode) => React.ReactNode;
119
+ /**
120
+ * @description Can be used to pass additional properties for the `Form`
121
+ * @optional
122
+ */
123
+ formProps?: TFormProps;
124
+ /**
125
+ * @description Can be used to pass `Title`
126
+ * @optional
127
+ * */
128
+ title?: React.ReactNode;
129
+ };
130
+ /**
131
+ * This should be the base type for `AuthPage` `Login` component implementations in UI integrations.
132
+ */
133
+ export type LoginPageProps<TWrapperProps extends {} = Record<keyof any, unknown>, TContentProps extends {} = Record<keyof any, unknown>, TFormProps extends {} = Record<keyof any, unknown>> = PropsWithChildren<{
134
+ providers?: OAuthProvider[];
135
+ registerLink?: React.ReactNode;
136
+ forgotPasswordLink?: React.ReactNode;
137
+ rememberMe?: React.ReactNode;
138
+ wrapperProps?: TWrapperProps;
139
+ renderContent?: (content: React.ReactNode, title: React.ReactNode) => React.ReactNode;
140
+ contentProps?: TContentProps;
141
+ formProps?: TFormProps;
142
+ title?: React.ReactNode;
143
+ hideForm?: boolean;
144
+ }>;
145
+ /**
146
+ * This should be the base type for `AuthPage` `Register` component implementations in UI integrations.
147
+ */
148
+ export type RegisterPageProps<TWrapperProps extends {} = Record<keyof any, unknown>, TContentProps extends {} = Record<keyof any, unknown>, TFormProps extends {} = Record<keyof any, unknown>> = PropsWithChildren<{
149
+ providers?: OAuthProvider[];
150
+ loginLink?: React.ReactNode;
151
+ wrapperProps?: TWrapperProps;
152
+ renderContent?: (content: React.ReactNode, title: React.ReactNode) => React.ReactNode;
153
+ contentProps?: TContentProps;
154
+ formProps?: TFormProps;
155
+ title?: React.ReactNode;
156
+ hideForm?: boolean;
157
+ }>;
158
+ /**
159
+ * This should be the base type for `AuthPage` `Reset Password` component implementations in UI integrations.
160
+ */
161
+ export type ForgotPasswordPageProps<TWrapperProps extends {} = Record<keyof any, unknown>, TContentProps extends {} = Record<keyof any, unknown>, TFormProps extends {} = Record<keyof any, unknown>> = PropsWithChildren<{
162
+ loginLink?: React.ReactNode;
163
+ wrapperProps?: TWrapperProps;
164
+ renderContent?: (content: React.ReactNode, title: React.ReactNode) => React.ReactNode;
165
+ contentProps?: TContentProps;
166
+ formProps?: TFormProps;
167
+ title?: React.ReactNode;
168
+ }>;
169
+ /**
170
+ * This should be the base type for `AuthPage` `Update Password` component implementations in UI integrations.
171
+ */
172
+ export type UpdatePasswordPageProps<TWrapperProps extends {} = Record<keyof any, unknown>, TContentProps extends {} = Record<keyof any, unknown>, TFormProps extends {} = Record<keyof any, unknown>> = PropsWithChildren<{
173
+ wrapperProps?: TWrapperProps;
174
+ renderContent?: (content: React.ReactNode, title: React.ReactNode) => React.ReactNode;
175
+ contentProps?: TContentProps;
176
+ formProps?: TFormProps;
177
+ title?: React.ReactNode;
178
+ }>;
179
+ //# sourceMappingURL=types.d.ts.map
@@ -1 +1,3 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/config-error/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,eAAe,yBAkH3B,CAAC"}
1
+ import React from "react";
2
+ export declare const ConfigErrorPage: () => React.JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,6 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/config-success/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA6CxC;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAiJrC,CAAC"}
1
+ import React from "react";
2
+ /**
3
+ * It is a page that welcomes you after the configuration is completed.
4
+ */
5
+ export declare const ConfigSuccessPage: React.FC;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,9 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/error/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAUnD;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EA+ClC,CAAC"}
1
+ import React from "react";
2
+ /**
3
+ * When the app is navigated to a non-existent route, refine shows a default error page.
4
+ * A custom error component can be used for this error page.
5
+ *
6
+ * @see {@link https://refine.dev/docs/packages/documentation/routers/} for more details.
7
+ */
8
+ export declare const ErrorComponent: React.FC;
9
+ //# sourceMappingURL=index.d.ts.map