@refinedev/antd 5.37.3-alpha.0 → 5.37.4

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 (261) hide show
  1. package/CHANGELOG.md +20 -6
  2. package/dist/components/breadcrumb/index.d.ts +1 -1
  3. package/dist/components/breadcrumb/index.d.ts.map +1 -1
  4. package/dist/components/buttons/types.d.ts +10 -10
  5. package/dist/components/buttons/types.d.ts.map +1 -1
  6. package/dist/components/crud/types.d.ts +5 -4
  7. package/dist/components/crud/types.d.ts.map +1 -1
  8. package/dist/components/fields/types.d.ts +10 -10
  9. package/dist/components/fields/types.d.ts.map +1 -1
  10. package/dist/components/pageHeader/index.d.ts +2 -2
  11. package/dist/components/pageHeader/index.d.ts.map +1 -1
  12. package/dist/components/pages/auth/components/forgotPassword/index.d.ts +1 -1
  13. package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
  14. package/dist/components/pages/auth/components/login/index.d.ts +1 -1
  15. package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
  16. package/dist/components/pages/auth/components/register/index.d.ts +1 -1
  17. package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
  18. package/dist/components/pages/auth/components/updatePassword/index.d.ts +1 -1
  19. package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
  20. package/dist/components/pages/auth/index.d.ts +1 -1
  21. package/dist/components/pages/auth/index.d.ts.map +1 -1
  22. package/dist/components/table/components/filterDropdown/index.d.ts +1 -1
  23. package/dist/components/table/components/filterDropdown/index.d.ts.map +1 -1
  24. package/dist/components/themedLayoutV2/types.d.ts +1 -1
  25. package/dist/components/themedLayoutV2/types.d.ts.map +1 -1
  26. package/dist/components/undoableNotification/index.d.ts +1 -1
  27. package/dist/components/undoableNotification/index.d.ts.map +1 -1
  28. package/dist/definitions/themes/index.d.ts +2 -2
  29. package/dist/definitions/themes/index.d.ts.map +1 -1
  30. package/dist/esm/index.js +1 -1
  31. package/dist/esm/index.js.map +1 -1
  32. package/dist/hooks/fields/useCheckboxGroup/index.d.ts +3 -2
  33. package/dist/hooks/fields/useCheckboxGroup/index.d.ts.map +1 -1
  34. package/dist/hooks/fields/useRadioGroup/index.d.ts +3 -2
  35. package/dist/hooks/fields/useRadioGroup/index.d.ts.map +1 -1
  36. package/dist/hooks/fields/useSelect/index.d.ts +1 -1
  37. package/dist/hooks/fields/useSelect/index.d.ts.map +1 -1
  38. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts +2 -2
  39. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts.map +1 -1
  40. package/dist/hooks/form/useForm.d.ts +2 -2
  41. package/dist/hooks/form/useForm.d.ts.map +1 -1
  42. package/dist/hooks/form/useModalForm/useModalForm.d.ts +4 -4
  43. package/dist/hooks/form/useModalForm/useModalForm.d.ts.map +1 -1
  44. package/dist/hooks/form/useStepsForm/useStepsForm.d.ts +3 -3
  45. package/dist/hooks/form/useStepsForm/useStepsForm.d.ts.map +1 -1
  46. package/dist/hooks/list/useSimpleList/useSimpleList.d.ts +2 -2
  47. package/dist/hooks/list/useSimpleList/useSimpleList.d.ts.map +1 -1
  48. package/dist/hooks/modal/useModal/index.d.ts +2 -2
  49. package/dist/hooks/modal/useModal/index.d.ts.map +1 -1
  50. package/dist/hooks/table/useEditableTable/useEditableTable.d.ts +2 -2
  51. package/dist/hooks/table/useEditableTable/useEditableTable.d.ts.map +1 -1
  52. package/dist/hooks/table/useTable/paginationLink.d.ts +2 -2
  53. package/dist/hooks/table/useTable/paginationLink.d.ts.map +1 -1
  54. package/dist/hooks/table/useTable/useTable.d.ts +2 -2
  55. package/dist/hooks/table/useTable/useTable.d.ts.map +1 -1
  56. package/dist/hooks/useFileUploadState/index.d.ts +1 -1
  57. package/dist/hooks/useFileUploadState/index.d.ts.map +1 -1
  58. package/dist/hooks/useSiderVisible/index.d.ts +1 -1
  59. package/dist/hooks/useSiderVisible/index.d.ts.map +1 -1
  60. package/dist/hooks/useThemedLayoutContext/index.d.ts +1 -1
  61. package/dist/hooks/useThemedLayoutContext/index.d.ts.map +1 -1
  62. package/dist/iife/index.js +70 -1
  63. package/dist/iife/index.js.map +1 -1
  64. package/dist/index.js +1 -1
  65. package/dist/index.js.map +1 -1
  66. package/dist/interfaces/field.d.ts +1 -1
  67. package/dist/interfaces/field.d.ts.map +1 -1
  68. package/dist/interfaces/index.d.ts +3 -3
  69. package/dist/interfaces/index.d.ts.map +1 -1
  70. package/package.json +3 -3
  71. package/src/components/pageHeader/index.tsx +1 -1
  72. package/src/components/table/components/filterDropdown/index.tsx +0 -2
  73. package/src/components/themedLayout/title/index.tsx +7 -7
  74. package/src/components/themedLayoutV2/title/index.tsx +7 -7
  75. package/src/hooks/table/useTable/useTable.ts +0 -2
  76. package/coverage/clover.xml +0 -2005
  77. package/coverage/coverage-final.json +0 -97
  78. package/coverage/lcov-report/base.css +0 -224
  79. package/coverage/lcov-report/block-navigation.js +0 -87
  80. package/coverage/lcov-report/favicon.png +0 -0
  81. package/coverage/lcov-report/index.html +0 -1331
  82. package/coverage/lcov-report/prettify.css +0 -1
  83. package/coverage/lcov-report/prettify.js +0 -2
  84. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  85. package/coverage/lcov-report/sorter.js +0 -196
  86. package/coverage/lcov-report/src/components/breadcrumb/index.html +0 -116
  87. package/coverage/lcov-report/src/components/breadcrumb/index.tsx.html +0 -325
  88. package/coverage/lcov-report/src/components/buttons/clone/index.html +0 -116
  89. package/coverage/lcov-report/src/components/buttons/clone/index.tsx.html +0 -397
  90. package/coverage/lcov-report/src/components/buttons/create/index.html +0 -116
  91. package/coverage/lcov-report/src/components/buttons/create/index.tsx.html +0 -397
  92. package/coverage/lcov-report/src/components/buttons/delete/index.html +0 -116
  93. package/coverage/lcov-report/src/components/buttons/delete/index.tsx.html +0 -463
  94. package/coverage/lcov-report/src/components/buttons/edit/index.html +0 -116
  95. package/coverage/lcov-report/src/components/buttons/edit/index.tsx.html +0 -400
  96. package/coverage/lcov-report/src/components/buttons/export/index.html +0 -116
  97. package/coverage/lcov-report/src/components/buttons/export/index.tsx.html +0 -181
  98. package/coverage/lcov-report/src/components/buttons/import/index.html +0 -116
  99. package/coverage/lcov-report/src/components/buttons/import/index.tsx.html +0 -193
  100. package/coverage/lcov-report/src/components/buttons/index.html +0 -116
  101. package/coverage/lcov-report/src/components/buttons/index.ts.html +0 -118
  102. package/coverage/lcov-report/src/components/buttons/list/index.html +0 -116
  103. package/coverage/lcov-report/src/components/buttons/list/index.tsx.html +0 -451
  104. package/coverage/lcov-report/src/components/buttons/refresh/index.html +0 -116
  105. package/coverage/lcov-report/src/components/buttons/refresh/index.tsx.html +0 -268
  106. package/coverage/lcov-report/src/components/buttons/save/index.html +0 -116
  107. package/coverage/lcov-report/src/components/buttons/save/index.tsx.html +0 -181
  108. package/coverage/lcov-report/src/components/buttons/show/index.html +0 -116
  109. package/coverage/lcov-report/src/components/buttons/show/index.tsx.html +0 -397
  110. package/coverage/lcov-report/src/components/crud/create/index.html +0 -116
  111. package/coverage/lcov-report/src/components/crud/create/index.tsx.html +0 -514
  112. package/coverage/lcov-report/src/components/crud/edit/index.html +0 -116
  113. package/coverage/lcov-report/src/components/crud/edit/index.tsx.html +0 -766
  114. package/coverage/lcov-report/src/components/crud/index.html +0 -116
  115. package/coverage/lcov-report/src/components/crud/index.ts.html +0 -103
  116. package/coverage/lcov-report/src/components/crud/list/index.html +0 -116
  117. package/coverage/lcov-report/src/components/crud/list/index.tsx.html +0 -424
  118. package/coverage/lcov-report/src/components/crud/show/index.html +0 -116
  119. package/coverage/lcov-report/src/components/crud/show/index.tsx.html +0 -724
  120. package/coverage/lcov-report/src/components/fields/boolean/index.html +0 -116
  121. package/coverage/lcov-report/src/components/fields/boolean/index.tsx.html +0 -163
  122. package/coverage/lcov-report/src/components/fields/date/index.html +0 -116
  123. package/coverage/lcov-report/src/components/fields/date/index.tsx.html +0 -184
  124. package/coverage/lcov-report/src/components/fields/email/index.html +0 -116
  125. package/coverage/lcov-report/src/components/fields/email/index.tsx.html +0 -145
  126. package/coverage/lcov-report/src/components/fields/file/index.html +0 -116
  127. package/coverage/lcov-report/src/components/fields/file/index.tsx.html +0 -148
  128. package/coverage/lcov-report/src/components/fields/image/index.html +0 -116
  129. package/coverage/lcov-report/src/components/fields/image/index.tsx.html +0 -136
  130. package/coverage/lcov-report/src/components/fields/index.html +0 -116
  131. package/coverage/lcov-report/src/components/fields/index.ts.html +0 -118
  132. package/coverage/lcov-report/src/components/fields/markdown/index.html +0 -116
  133. package/coverage/lcov-report/src/components/fields/markdown/index.tsx.html +0 -133
  134. package/coverage/lcov-report/src/components/fields/number/index.html +0 -116
  135. package/coverage/lcov-report/src/components/fields/number/index.tsx.html +0 -193
  136. package/coverage/lcov-report/src/components/fields/tag/index.html +0 -116
  137. package/coverage/lcov-report/src/components/fields/tag/index.tsx.html +0 -124
  138. package/coverage/lcov-report/src/components/fields/text/index.html +0 -116
  139. package/coverage/lcov-report/src/components/fields/text/index.tsx.html +0 -130
  140. package/coverage/lcov-report/src/components/fields/url/index.html +0 -116
  141. package/coverage/lcov-report/src/components/fields/url/index.tsx.html +0 -157
  142. package/coverage/lcov-report/src/components/index.html +0 -116
  143. package/coverage/lcov-report/src/components/index.ts.html +0 -163
  144. package/coverage/lcov-report/src/components/layout/header/index.html +0 -116
  145. package/coverage/lcov-report/src/components/layout/header/index.tsx.html +0 -190
  146. package/coverage/lcov-report/src/components/layout/index.html +0 -116
  147. package/coverage/lcov-report/src/components/layout/index.tsx.html +0 -220
  148. package/coverage/lcov-report/src/components/layout/sider/index.html +0 -131
  149. package/coverage/lcov-report/src/components/layout/sider/index.tsx.html +0 -928
  150. package/coverage/lcov-report/src/components/layout/sider/styles.ts.html +0 -112
  151. package/coverage/lcov-report/src/components/layout/title/index.html +0 -116
  152. package/coverage/lcov-report/src/components/layout/title/index.tsx.html +0 -229
  153. package/coverage/lcov-report/src/components/pageHeader/index.html +0 -116
  154. package/coverage/lcov-report/src/components/pageHeader/index.tsx.html +0 -241
  155. package/coverage/lcov-report/src/components/pages/auth/components/forgotPassword/index.html +0 -116
  156. package/coverage/lcov-report/src/components/pages/auth/components/forgotPassword/index.tsx.html +0 -727
  157. package/coverage/lcov-report/src/components/pages/auth/components/index.html +0 -131
  158. package/coverage/lcov-report/src/components/pages/auth/components/index.tsx.html +0 -97
  159. package/coverage/lcov-report/src/components/pages/auth/components/login/index.html +0 -116
  160. package/coverage/lcov-report/src/components/pages/auth/components/login/index.tsx.html +0 -958
  161. package/coverage/lcov-report/src/components/pages/auth/components/register/index.html +0 -116
  162. package/coverage/lcov-report/src/components/pages/auth/components/register/index.tsx.html +0 -874
  163. package/coverage/lcov-report/src/components/pages/auth/components/styles.ts.html +0 -175
  164. package/coverage/lcov-report/src/components/pages/auth/components/updatePassword/index.html +0 -116
  165. package/coverage/lcov-report/src/components/pages/auth/components/updatePassword/index.tsx.html +0 -694
  166. package/coverage/lcov-report/src/components/pages/auth/index.html +0 -116
  167. package/coverage/lcov-report/src/components/pages/auth/index.tsx.html +0 -208
  168. package/coverage/lcov-report/src/components/pages/error/index.html +0 -116
  169. package/coverage/lcov-report/src/components/pages/error/index.tsx.html +0 -316
  170. package/coverage/lcov-report/src/components/pages/index.html +0 -116
  171. package/coverage/lcov-report/src/components/pages/index.tsx.html +0 -103
  172. package/coverage/lcov-report/src/components/pages/login/index.html +0 -131
  173. package/coverage/lcov-report/src/components/pages/login/index.tsx.html +0 -601
  174. package/coverage/lcov-report/src/components/pages/login/styles.ts.html +0 -160
  175. package/coverage/lcov-report/src/components/pages/ready/index.html +0 -116
  176. package/coverage/lcov-report/src/components/pages/ready/index.tsx.html +0 -373
  177. package/coverage/lcov-report/src/components/pages/welcome/index.html +0 -116
  178. package/coverage/lcov-report/src/components/pages/welcome/index.tsx.html +0 -115
  179. package/coverage/lcov-report/src/components/table/components/filterDropdown/index.html +0 -116
  180. package/coverage/lcov-report/src/components/table/components/filterDropdown/index.tsx.html +0 -421
  181. package/coverage/lcov-report/src/components/table/components/index.html +0 -116
  182. package/coverage/lcov-report/src/components/table/components/index.ts.html +0 -88
  183. package/coverage/lcov-report/src/components/table/index.html +0 -116
  184. package/coverage/lcov-report/src/components/table/index.ts.html +0 -88
  185. package/coverage/lcov-report/src/components/themedLayout/header/index.html +0 -116
  186. package/coverage/lcov-report/src/components/themedLayout/header/index.tsx.html +0 -226
  187. package/coverage/lcov-report/src/components/themedLayout/index.html +0 -116
  188. package/coverage/lcov-report/src/components/themedLayout/index.tsx.html +0 -217
  189. package/coverage/lcov-report/src/components/themedLayout/sider/index.html +0 -131
  190. package/coverage/lcov-report/src/components/themedLayout/sider/index.tsx.html +0 -1045
  191. package/coverage/lcov-report/src/components/themedLayout/sider/styles.ts.html +0 -112
  192. package/coverage/lcov-report/src/components/themedLayout/title/index.html +0 -116
  193. package/coverage/lcov-report/src/components/themedLayout/title/index.tsx.html +0 -349
  194. package/coverage/lcov-report/src/components/themedLayoutV2/header/index.html +0 -116
  195. package/coverage/lcov-report/src/components/themedLayoutV2/header/index.tsx.html +0 -256
  196. package/coverage/lcov-report/src/components/themedLayoutV2/index.html +0 -116
  197. package/coverage/lcov-report/src/components/themedLayoutV2/index.tsx.html +0 -226
  198. package/coverage/lcov-report/src/components/themedLayoutV2/sider/index.html +0 -131
  199. package/coverage/lcov-report/src/components/themedLayoutV2/sider/index.tsx.html +0 -1132
  200. package/coverage/lcov-report/src/components/themedLayoutV2/sider/styles.ts.html +0 -112
  201. package/coverage/lcov-report/src/components/themedLayoutV2/title/index.html +0 -116
  202. package/coverage/lcov-report/src/components/themedLayoutV2/title/index.tsx.html +0 -340
  203. package/coverage/lcov-report/src/components/undoableNotification/index.html +0 -116
  204. package/coverage/lcov-report/src/components/undoableNotification/index.tsx.html +0 -223
  205. package/coverage/lcov-report/src/contexts/index.html +0 -116
  206. package/coverage/lcov-report/src/contexts/index.ts.html +0 -97
  207. package/coverage/lcov-report/src/contexts/themedLayoutContext/index.html +0 -116
  208. package/coverage/lcov-report/src/contexts/themedLayoutContext/index.tsx.html +0 -178
  209. package/coverage/lcov-report/src/definitions/table/index.html +0 -116
  210. package/coverage/lcov-report/src/definitions/table/index.ts.html +0 -424
  211. package/coverage/lcov-report/src/definitions/upload/index.html +0 -116
  212. package/coverage/lcov-report/src/definitions/upload/index.ts.html +0 -172
  213. package/coverage/lcov-report/src/hooks/fields/index.html +0 -116
  214. package/coverage/lcov-report/src/hooks/fields/index.ts.html +0 -94
  215. package/coverage/lcov-report/src/hooks/fields/useCheckboxGroup/index.html +0 -116
  216. package/coverage/lcov-report/src/hooks/fields/useCheckboxGroup/index.ts.html +0 -361
  217. package/coverage/lcov-report/src/hooks/fields/useRadioGroup/index.html +0 -116
  218. package/coverage/lcov-report/src/hooks/fields/useRadioGroup/index.ts.html +0 -361
  219. package/coverage/lcov-report/src/hooks/fields/useSelect/index.html +0 -116
  220. package/coverage/lcov-report/src/hooks/fields/useSelect/index.ts.html +0 -238
  221. package/coverage/lcov-report/src/hooks/form/index.html +0 -131
  222. package/coverage/lcov-report/src/hooks/form/index.ts.html +0 -136
  223. package/coverage/lcov-report/src/hooks/form/useDrawerForm/index.html +0 -131
  224. package/coverage/lcov-report/src/hooks/form/useDrawerForm/index.ts.html +0 -103
  225. package/coverage/lcov-report/src/hooks/form/useDrawerForm/useDrawerForm.ts.html +0 -964
  226. package/coverage/lcov-report/src/hooks/form/useForm.ts.html +0 -718
  227. package/coverage/lcov-report/src/hooks/form/useModalForm/index.html +0 -131
  228. package/coverage/lcov-report/src/hooks/form/useModalForm/index.ts.html +0 -100
  229. package/coverage/lcov-report/src/hooks/form/useModalForm/useModalForm.ts.html +0 -1090
  230. package/coverage/lcov-report/src/hooks/form/useStepsForm/index.html +0 -131
  231. package/coverage/lcov-report/src/hooks/form/useStepsForm/index.ts.html +0 -100
  232. package/coverage/lcov-report/src/hooks/form/useStepsForm/useStepsForm.ts.html +0 -517
  233. package/coverage/lcov-report/src/hooks/import/index.html +0 -116
  234. package/coverage/lcov-report/src/hooks/import/index.tsx.html +0 -487
  235. package/coverage/lcov-report/src/hooks/index.html +0 -116
  236. package/coverage/lcov-report/src/hooks/index.ts.html +0 -109
  237. package/coverage/lcov-report/src/hooks/list/index.html +0 -116
  238. package/coverage/lcov-report/src/hooks/list/index.ts.html +0 -88
  239. package/coverage/lcov-report/src/hooks/list/useSimpleList/index.html +0 -131
  240. package/coverage/lcov-report/src/hooks/list/useSimpleList/index.ts.html +0 -88
  241. package/coverage/lcov-report/src/hooks/list/useSimpleList/useSimpleList.ts.html +0 -775
  242. package/coverage/lcov-report/src/hooks/modal/index.html +0 -116
  243. package/coverage/lcov-report/src/hooks/modal/index.ts.html +0 -88
  244. package/coverage/lcov-report/src/hooks/modal/useModal/index.html +0 -116
  245. package/coverage/lcov-report/src/hooks/modal/useModal/index.tsx.html +0 -214
  246. package/coverage/lcov-report/src/hooks/table/index.html +0 -116
  247. package/coverage/lcov-report/src/hooks/table/index.ts.html +0 -91
  248. package/coverage/lcov-report/src/hooks/table/useEditableTable/index.html +0 -131
  249. package/coverage/lcov-report/src/hooks/table/useEditableTable/index.ts.html +0 -88
  250. package/coverage/lcov-report/src/hooks/table/useEditableTable/useEditableTable.ts.html +0 -466
  251. package/coverage/lcov-report/src/hooks/table/useTable/index.html +0 -146
  252. package/coverage/lcov-report/src/hooks/table/useTable/index.ts.html +0 -88
  253. package/coverage/lcov-report/src/hooks/table/useTable/paginationLink.tsx.html +0 -166
  254. package/coverage/lcov-report/src/hooks/table/useTable/useTable.ts.html +0 -889
  255. package/coverage/lcov-report/src/hooks/useFileUploadState/index.html +0 -116
  256. package/coverage/lcov-report/src/hooks/useFileUploadState/index.ts.html +0 -187
  257. package/coverage/lcov-report/src/hooks/useSiderVisible/index.html +0 -116
  258. package/coverage/lcov-report/src/hooks/useSiderVisible/index.ts.html +0 -151
  259. package/coverage/lcov-report/src/providers/notificationProvider/index.html +0 -116
  260. package/coverage/lcov-report/src/providers/notificationProvider/index.tsx.html +0 -208
  261. package/coverage/lcov.info +0 -5292
@@ -1,13 +1,14 @@
1
+ /// <reference types="react" />
1
2
  import { QueryObserverResult } from "@tanstack/react-query";
2
3
  import type { Checkbox } from "antd";
3
4
  import { BaseRecord, GetListResponse, HttpError, UseSelectProps, BaseKey, BaseOption } from "@refinedev/core";
4
- export type UseCheckboxGroupReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
5
+ export declare type UseCheckboxGroupReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
5
6
  checkboxGroupProps: Omit<React.ComponentProps<typeof Checkbox.Group>, "options"> & {
6
7
  options: TOption[];
7
8
  };
8
9
  queryResult: QueryObserverResult<GetListResponse<TData>>;
9
10
  };
10
- type UseCheckboxGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQueryFnData, TError, TData>, "defaultValue"> & {
11
+ declare type UseCheckboxGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQueryFnData, TError, TData>, "defaultValue"> & {
11
12
  /**
12
13
  * Sets the default value
13
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/fields/useCheckboxGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EACH,UAAU,EACV,eAAe,EACf,SAAS,EACT,cAAc,EAEd,OAAO,EAEP,UAAU,EACb,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,0BAA0B,CAClC,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,OAAO,SAAS,UAAU,GAAG,UAAU,IACvC;IACA,kBAAkB,EAAE,IAAI,CACpB,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,EAC3C,SAAS,CACZ,GAAG;QACA,OAAO,EAAE,OAAO,EAAE,CAAC;KACt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F;;;;;;;;;GASG;AAEH,eAAO,MAAM,gBAAgB,mcAyD5B,CAAC"}
@@ -1,13 +1,14 @@
1
+ /// <reference types="react" />
1
2
  import { QueryObserverResult } from "@tanstack/react-query";
2
3
  import type { Radio } from "antd";
3
4
  import { BaseKey, BaseOption, BaseRecord, GetListResponse, HttpError, UseSelectProps } from "@refinedev/core";
4
- export type UseRadioGroupReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
5
+ export declare type UseRadioGroupReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
5
6
  radioGroupProps: Omit<React.ComponentProps<typeof Radio.Group>, "options"> & {
6
7
  options: TOption[];
7
8
  };
8
9
  queryResult: QueryObserverResult<GetListResponse<TData>>;
9
10
  };
10
- type UseRadioGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQueryFnData, TError, TData>, "defaultValue"> & {
11
+ declare type UseRadioGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQueryFnData, TError, TData>, "defaultValue"> & {
11
12
  /**
12
13
  * Sets the default value
13
14
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/fields/useRadioGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,EACH,OAAO,EACP,UAAU,EACV,UAAU,EACV,eAAe,EACf,SAAS,EAGT,cAAc,EACjB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,uBAAuB,CAC/B,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,OAAO,SAAS,UAAU,GAAG,UAAU,IACvC;IACA,eAAe,EAAE,IAAI,CACjB,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,KAAK,CAAC,EACxC,SAAS,CACZ,GAAG;QACA,OAAO,EAAE,O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;;;;;;;GASG;AAEH,eAAO,MAAM,aAAa,6bAyDzB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { SelectProps } from "antd/lib/select";
2
2
  import { QueryObserverResult } from "@tanstack/react-query";
3
3
  import { BaseRecord, GetManyResponse, GetListResponse, HttpError, UseSelectProps, BaseOption } from "@refinedev/core";
4
- export type UseSelectReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
4
+ export declare type UseSelectReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
5
5
  selectProps: SelectProps<TOption>;
6
6
  queryResult: QueryObserverResult<GetListResponse<TData>>;
7
7
  defaultValueQueryResult: QueryObserverResult<GetManyResponse<TData>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/fields/useSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAEH,UAAU,EACV,eAAe,EACf,eAAe,EACf,SAAS,EACT,cAAc,EACd,UAAU,EACb,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,mBAAmB,CAC3B,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,OAAO,SAAS,UAAU,GAAG,UAAU,IACvC;IACA,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClC,WAAW,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;IACzD,uBAAuB,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;CACxE,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,SAAS,mQAsBrB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/fields/useSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAEH,UAAU,EACV,eAAe,EACf,eAAe,EACf,SAAS,EACT,cAAc,EACd,UAAU,EACb,MAAM,iBAAiB,CAAC;AAEzB,oBAAY,mBAAmB,CAC3B,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,OAAO,SAAS,UAAU,GAAG,UAAU,IACvC;IACA,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClC,WAAW,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;IACzD,uBAAuB,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;CACxE,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,SAAS,mQAsBrB,CAAC"}
@@ -6,12 +6,12 @@ import { DeleteButtonProps } from "../../../components";
6
6
  export interface UseDrawerFormConfig extends UseFormConfig {
7
7
  action: "show" | "edit" | "create" | "clone";
8
8
  }
9
- export type UseDrawerFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormPropsCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseFormProps<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseDrawerFormConfig & LiveModeProps & FormWithSyncWithLocationParams & {
9
+ export declare type UseDrawerFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormPropsCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseFormProps<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseDrawerFormConfig & LiveModeProps & FormWithSyncWithLocationParams & {
10
10
  defaultVisible?: boolean;
11
11
  autoSubmitClose?: boolean;
12
12
  autoResetForm?: boolean;
13
13
  };
14
- export type UseDrawerFormReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormReturnType<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & {
14
+ export declare type UseDrawerFormReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormReturnType<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & {
15
15
  formProps: FormProps<TVariables> & {
16
16
  form: FormInstance<TVariables>;
17
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useDrawerForm.d.ts","sourceRoot":"","sources":["../../../../src/hooks/form/useDrawerForm/useDrawerForm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACzE,OAAO,EAGH,YAAY,IAAI,gBAAgB,EAChC,SAAS,EACT,aAAa,EACb,UAAU,EACV,8BAA8B,EAC9B,OAAO,EAMV,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAW,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACtD,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CAChD;AAED,MAAM,MAAM,kBAAkB,CAC1B,YAAY,SAAS,UAAU,GAAG,UAAU,EAC5C,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,EACf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AAK,SAAS,UAAU,GAAG,YAAY,EACvC,SAAS,SAAS,UAAU,GAAG,KAAK,EACpC,cAAc,SAAS,SAAS,GAAG,MAAM,IACzC,iBAAiB,CACjB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACjB,GAAG;IACA,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,GAAG;QAC/B,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;KAClC,CAAC;IACF,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,WAAW,EAAE,WAAW,CAAC;IACzB,eAAe,EAAE,WAAW,CAAC;IAC7B,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,WAAW,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,aAAa,8fAyOzB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { FormInstance, FormProps, ButtonProps } from "antd";
2
2
  import { AutoSaveProps } from "@refinedev/core";
3
3
  import { HttpError, BaseRecord, UseFormReturnType as UseFormReturnTypeCore, UseFormProps as UseFormPropsCore, CreateResponse, UpdateResponse } from "@refinedev/core";
4
- export type UseFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormPropsCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & {
4
+ export declare type UseFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormPropsCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & {
5
5
  submitOnEnter?: boolean;
6
6
  /**
7
7
  * Shows notification when unsaved changes exist
@@ -14,7 +14,7 @@ export type UseFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError ex
14
14
  */
15
15
  disableServerSideValidation?: boolean;
16
16
  } & AutoSaveProps<TVariables>;
17
- export type UseFormReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormReturnTypeCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & {
17
+ export declare type UseFormReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormReturnTypeCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & {
18
18
  form: FormInstance<TVariables>;
19
19
  formProps: FormProps<TVariables>;
20
20
  saveButtonProps: ButtonProps & {
@@ -1 +1 @@
1
- {"version":3,"file":"useForm.d.ts","sourceRoot":"","sources":["../../../src/hooks/form/useForm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAQ,WAAW,EAAE,MAAM,MAAM,CAAC;AAElE,OAAO,EACH,aAAa,EAGhB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACH,SAAS,EACT,UAAU,EAEV,iBAAiB,IAAI,qBAAqB,EAE1C,YAAY,IAAI,gBAAgB,EAChC,cAAc,EACd,cAAc,EAIjB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,YAAY,CACpB,YAAY,SAAS,UAAU,GAAG,UAAU,EAC5C,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,EACf,KAAK,SAAS,UAAU,GAAG,YAAY,EACvC,SAAS,SAAS,UAAU,GAAG,KAAK,EACpC,cAAc,SAAS,SAAS,GAAG,MAAM,IACzC,gBAAgB,CAChB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EAC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M,OAAO,86BA+NnB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { FormInstance, FormProps, ModalProps } from "antd";
2
2
  import { HttpError, UseFormProps as UseFormPropsCore, BaseRecord, LiveModeProps, BaseKey, FormWithSyncWithLocationParams } from "@refinedev/core";
3
3
  import { UseFormProps, UseFormReturnType } from "../useForm";
4
- export type useModalFormFromSFReturnType<TResponse, TVariables> = {
4
+ export declare type useModalFormFromSFReturnType<TResponse, TVariables> = {
5
5
  open: boolean;
6
6
  form: FormInstance<TVariables>;
7
7
  show: (id?: BaseKey) => void;
@@ -17,11 +17,11 @@ export type useModalFormFromSFReturnType<TResponse, TVariables> = {
17
17
  /** @deprecated Please use `open` instead. */
18
18
  visible: boolean;
19
19
  };
20
- type useModalFormConfig = {
20
+ declare type useModalFormConfig = {
21
21
  action: "show" | "edit" | "create" | "clone";
22
22
  };
23
- export type UseModalFormReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = Omit<UseFormReturnType<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError>, "saveButtonProps" | "deleteButtonProps"> & useModalFormFromSFReturnType<TResponse, TVariables>;
24
- export type UseModalFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormPropsCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseFormProps<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & useModalFormConfig & LiveModeProps & FormWithSyncWithLocationParams & {
23
+ export declare type UseModalFormReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = Omit<UseFormReturnType<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError>, "saveButtonProps" | "deleteButtonProps"> & useModalFormFromSFReturnType<TResponse, TVariables>;
24
+ export declare type UseModalFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormPropsCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseFormProps<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & useModalFormConfig & LiveModeProps & FormWithSyncWithLocationParams & {
25
25
  defaultVisible?: boolean;
26
26
  autoSubmitClose?: boolean;
27
27
  autoResetForm?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"useModalForm.d.ts","sourceRoot":"","sources":["../../../../src/hooks/form/useModalForm/useModalForm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE3D,OAAO,EAGH,SAAS,EACT,YAAY,IAAI,gBAAgB,EAChC,UAAU,EACV,aAAa,EACb,OAAO,EAGP,8BAA8B,EAIjC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAW,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAGtE,MAAM,MAAM,4BAA4B,CAAC,SAAS,EAAE,UAAU,IAAI;IAC9D,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;IAC/B,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,wBAAwB,EAAE,OAAO,CAAC;IAClC,UAAU,EAAE,EAAE,CAAC;IACf,aAAa,EAAE,EAAE,CAAC;IAClB,UAAU,EAAE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,SAAS,EACpC,UAAU,GAAG,EAAE,EACf,KAAK,SAAS,UAAU,GAAG,YAAY,EACvC,SAAS,SAAS,UAAU,GAAG,KAAK,EACpC,cAAc,SAAS,SAAS,GAAG,MAAM,IACzC,IAAI,CACJ,iBAAiB,CACb,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACjB,EACD,iBAAiB,GAAG,mBAAmB,CAC1C,GACG,4BAA4B,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAExD,oBAAY,iBAAiB,CACzB,YAAY,SAAS,UAAU,GAAG,UAAU,EAC5C,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,EACf,KAAK,SAAS,UAAU,GAAG,YAAY,EACvC,SAAS,SAAS,UAAU,GAAG,KAAK,EACpC,cAAc,SAAS,SAAS,GAAG,MAAM,IACzC,gBAAgB,CAChB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACjB,GACG,YAAY,CACR,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACjB,GACD,kBAAkB,GAClB,aAAa,GACb,8BAA8B,GAAG;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AACN;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,4fAqQxB,CAAC"}
@@ -2,7 +2,7 @@ import { UseStepsFormConfig } from "sunflower-antd";
2
2
  import { FormInstance, FormProps } from "antd";
3
3
  import { HttpError, UseFormProps as UseFormPropsCore, BaseRecord } from "@refinedev/core";
4
4
  import { UseFormProps, UseFormReturnType } from "../useForm";
5
- export type UseStepsFormFromSFReturnType<TResponse, TVariables> = {
5
+ export declare type UseStepsFormFromSFReturnType<TResponse, TVariables> = {
6
6
  current: number;
7
7
  gotoStep: (step: number) => Promise<TVariables> | true;
8
8
  stepsProps: {
@@ -18,8 +18,8 @@ export type UseStepsFormFromSFReturnType<TResponse, TVariables> = {
18
18
  form: FormInstance<TVariables>;
19
19
  submit: (values?: TVariables) => Promise<TResponse>;
20
20
  };
21
- export type UseStepsFormReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormReturnType<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseStepsFormFromSFReturnType<TResponse, TVariables>;
22
- export type UseStepsFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormPropsCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseFormProps<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseStepsFormConfig;
21
+ export declare type UseStepsFormReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormReturnType<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseStepsFormFromSFReturnType<TResponse, TVariables>;
22
+ export declare type UseStepsFormProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TData extends BaseRecord = TQueryFnData, TResponse extends BaseRecord = TData, TResponseError extends HttpError = TError> = UseFormPropsCore<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseFormProps<TQueryFnData, TError, TVariables, TData, TResponse, TResponseError> & UseStepsFormConfig;
23
23
  /**
24
24
  * `useStepsForm` hook allows you to split your form under an Ant Design based {@link https://ant.design/components/steps/ Steps} component and provides you with a few useful functionalities that will help you manage your form.
25
25
  *
@@ -1 +1 @@
1
- {"version":3,"file":"useStep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CACjB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACjB,GACG,4BAA4B,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAExD,MAAM,MAAM,iBAAiB,CACzB,YAAY,SAAS,UAAU,GAAG,UAAU,EAC5C,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,EACf,KAAK,SAAS,UAAU,GAAG,YAAY,EACvC,SAAS,SAAS,UAAU,GAAG,KAAK,EACpC,cAAc,SAAS,SAAS,GAAG,MAAM,IACzC,gBAAgB,CAChB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACjB,GACG,YAAY,CACR,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACjB,GACD,kBAAkB,CAAC;AAEvB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,8ZA4DxB,CAAC"}
1
+ {"version":3,"file":"useStepsForm.d.ts","sourceRoot":"","sources":["../../../../src/hooks/form/useStepsForm/useStepsForm.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,kBAAkB,EACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAE/C,OAAO,EACH,SAAS,EACT,YAAY,IAAI,gBAAgB,EAChC,UAAU,EACb,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAW,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEtE,oBAAY,4BAA4B,CAAC,SAAS,EAAE,UAAU,IAAI;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IACvD,UAAU,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,CAAC,WAAW,EAAE,MA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,9 +1,9 @@
1
1
  import { ListProps, FormProps } from "antd";
2
2
  import { BaseRecord, CrudFilters, HttpError, useTableProps as useTablePropsCore, useTableReturnType } from "@refinedev/core";
3
- export type useSimpleListProps<TQueryFnData, TError, TSearchVariables, TData> = useTablePropsCore<TQueryFnData, TError, TData> & {
3
+ export declare type useSimpleListProps<TQueryFnData, TError, TSearchVariables, TData> = useTablePropsCore<TQueryFnData, TError, TData> & {
4
4
  onSearch?: (data: TSearchVariables) => CrudFilters | Promise<CrudFilters>;
5
5
  };
6
- export type useSimpleListReturnType<TQueryFnData extends BaseRecord = BaseRecord, TSearchVariables = unknown, TData extends BaseRecord = TQueryFnData> = Omit<useTableReturnType<TData>, "tableQueryResult"> & {
6
+ export declare type useSimpleListReturnType<TQueryFnData extends BaseRecord = BaseRecord, TSearchVariables = unknown, TData extends BaseRecord = TQueryFnData> = Omit<useTableReturnType<TData>, "tableQueryResult"> & {
7
7
  listProps: ListProps<TData>;
8
8
  queryResult: useTableReturnType["tableQueryResult"];
9
9
  searchFormProps: FormProps<TSearchVariables>;
@@ -1 +1 @@
1
- {"version":3,"file":"useSimpleList.d.ts","sourceRoot":"","sources":["../../../../src/hooks/list/useSimpleList/useSimpleList.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAc,MAAM,MAAM,CAAC;AAExD,OAAO,EACH,UAAU,EACV,WAAW,EACX,SAAS,EAET,aAAa,IAAI,iBAAiB,EAClC,kBAAkB,EAErB,MAAM,iBAAiB,CAAC;AAKzB,MAAM,MAAM,kBAAkB,CAAC,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,IACxE,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;IAC7C,QAAQ,CAAC,EAAE,CACP,IAAI,EAAE,gBAAgB,KACrB,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;CAC3C,CAAC;AAEN,MAAM,MAAM,uBAAuB,CAC/B,YAA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AAC,gBAAgB,CAAC,CAAC;CAChD,CAAC;AAEF;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,aAAa,4pBAyLzB,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { ModalProps } from "antd";
2
2
  import { useModalReturnType as useCoreModelReturnType } from "@refinedev/core";
3
- export type useModalReturnType = {
3
+ export declare type useModalReturnType = {
4
4
  modalProps: ModalProps;
5
5
  } & Omit<useCoreModelReturnType, "visible">;
6
- export type useModalProps = {
6
+ export declare type useModalProps = {
7
7
  /**
8
8
  * Default props for Ant Design {@link https://ant.design/components/modal/ `<Modal>`} component.
9
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/modal/useModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAEH,kBAAkB,IAAI,sBAAsB,EAC/C,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,kBAAkB,GAAG;IAC7B,UAAU,EAAE,UAAU,CAAC;CAC1B,GAAG,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,qBAElB,aAAa,KAAQ,kBAkBvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/modal/useModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAEH,kBAAkB,IAAI,sBAAsB,EAC/C,MAAM,iBAAiB,CAAC;AAEzB,oBAAY,kBAAkB,GAAG;IAC7B,UAAU,EAAE,UAAU,CAAC;CAC1B,GAAG,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC;AAE5C,oBAAY,aAAa,GAAG;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,qBAElB,aAAa,KAAQ,kBAkBvB,CAAC"}
@@ -2,7 +2,7 @@ import { BaseKey, BaseRecord, HttpError, UseFormProps } from "@refinedev/core";
2
2
  import { ButtonProps } from "antd";
3
3
  import { useTableProps, useTableReturnType } from "../useTable";
4
4
  import { UseFormReturnType } from "../../form/useForm";
5
- export type useEditableTableReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TSearchVariables = unknown, TData extends BaseRecord = TQueryFnData> = useTableReturnType<TData, TError, TSearchVariables> & UseFormReturnType<TQueryFnData, TError, TVariables> & {
5
+ export declare type useEditableTableReturnType<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TSearchVariables = unknown, TData extends BaseRecord = TQueryFnData> = useTableReturnType<TData, TError, TSearchVariables> & UseFormReturnType<TQueryFnData, TError, TVariables> & {
6
6
  saveButtonProps: ButtonProps & {
7
7
  onClick: () => void;
8
8
  };
@@ -14,7 +14,7 @@ export type useEditableTableReturnType<TQueryFnData extends BaseRecord = BaseRec
14
14
  };
15
15
  isEditing: (id: BaseKey) => boolean;
16
16
  };
17
- type useEditableTableProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TSearchVariables = unknown, TData extends BaseRecord = TQueryFnData> = Omit<useTableProps<TQueryFnData, TError, TSearchVariables, TData>, "successNotification" | "errorNotification"> & UseFormProps<TQueryFnData, TError, TVariables> & {
17
+ declare type useEditableTableProps<TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TVariables = {}, TSearchVariables = unknown, TData extends BaseRecord = TQueryFnData> = Omit<useTableProps<TQueryFnData, TError, TSearchVariables, TData>, "successNotification" | "errorNotification"> & UseFormProps<TQueryFnData, TError, TVariables> & {
18
18
  /**
19
19
  * When true, row will be closed after successful submit.
20
20
  */
@@ -1 +1 @@
1
- {"version":3,"file":"useEditableTable.d.ts","sourceRoot":"","sources":["../../../../src/hooks/table/useEditableTable/useEditableTable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAW,MAAM,oBAAoB,CAAC;AAEhE,MAAM,MAAM,0BAA0B,CAClC,YAAY,SAAS,UAAU,GAAG,UAAU,EAC5C,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,EACf,gBAAgB,GAAG,OAAO,EAC1B,KAAK,SAAS,UAAU,GAAG,YAAY,IACvC,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,gBAAgB,CAAC,GACnD,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,CAAC,GAAG;IAClD,eAAe,EAAE,WAAW,GAAG;QAC3B,OAAO,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;IACF,iBAAiB,EAAE,WAAW,GAAG;QAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;IACF,eAAe,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,WAAW,GAAG;QAC5C,OAAO,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;IACF,SAAS,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,OAAO,CAAC;CACvC,CAAC;AAEN,KAAK,qBAAqB,CACtB,YAAY,SAAS,UAAU,GAAG,UAAU,EAC5C,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,EACf,gBAAgB,GAAG,OAAO,EAC1B,KAAK,SAAS,UAAU,GAAG,YAAY,IACvC,IAAI,CACJ,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAC5D,qBAAqB,GAAG,mBAAmB,CAC9C,GACG,YAAY,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,CAAC,GAAG;IAC7C;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEN;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,uXAmE5B,CAAC"}
1
+ {"version":3,"file":"useEditableTable.d.ts","sourceRoot":"","sources":["../../../../src/hooks/table/useEditableTable/useEditableTable.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAW,MAAM,oBAAoB,CAAC;AAEhE,oBAAY,0BAA0B,CAClC,YAAY,SAAS,UAAU,GAAG,UAAU,EAC5C,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,EACf,gBAAgB,GAAG,OAAO,EAC1B,KAAK,SAAS,UAAU,GAAG,YAAY,IACvC,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,gBAAgB,CAAC,GACnD,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,CAAC,GAAG;IAClD,eAAe,EAAE,WAAW,GAAG;QAC3B,OAAO,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;IACF,iBAAiB,EAAE,WAAW,GAAG;QAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;IACF,eAAe,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,WAAW,GAAG;QAC5C,OAAO,EAAE,MAAM,IAAI,CAAC;KACvB,CAAC;IACF,SAAS,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,OAAO,CAAC;CACvC,CAAC;AAEN,aAAK,qBAAqB,CACtB,YAAY,SAAS,UAAU,GAAG,UAAU,EAC5C,MAAM,SAAS,SAAS,GAAG,SAAS,EACpC,UAAU,GAAG,EAAE,EACf,gBAAgB,GAAG,OAAO,EAC1B,KAAK,SAAS,UAAU,GAAG,YAAY,IACvC,IAAI,CACJ,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAC5D,qBAAqB,GAAG,mBAAmB,CAC9C,GACG,YAAY,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,CAAC,GAAG;IAC7C;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEN;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,uXAmE5B,CAAC"}
@@ -1,8 +1,8 @@
1
- import React, { ReactNode } from "react";
1
+ import { ReactNode } from "react";
2
2
  interface PaginationLinkProps {
3
3
  to: string;
4
4
  element: ReactNode;
5
5
  }
6
- export declare const PaginationLink: ({ to, element }: PaginationLinkProps) => React.JSX.Element;
6
+ export declare const PaginationLink: ({ to, element }: PaginationLinkProps) => JSX.Element;
7
7
  export {};
8
8
  //# sourceMappingURL=paginationLink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"paginationLink.d.ts","sourceRoot":"","sources":["../../../../src/hooks/table/useTable/paginationLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,UAAU,mBAAmB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,oBAAqB,mBAAmB,sBAkBlE,CAAC"}
1
+ {"version":3,"file":"paginationLink.d.ts","sourceRoot":"","sources":["../../../../src/hooks/table/useTable/paginationLink.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,UAAU,mBAAmB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,oBAAqB,mBAAmB,gBAkBlE,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { FormProps, TableProps } from "antd";
2
2
  import { BaseRecord, CrudFilters, HttpError, useTableProps as useTablePropsCore, useTableReturnType as useTableCoreReturnType } from "@refinedev/core";
3
- export type useTableProps<TQueryFnData, TError, TSearchVariables, TData> = useTablePropsCore<TQueryFnData, TError, TData> & {
3
+ export declare type useTableProps<TQueryFnData, TError, TSearchVariables, TData> = useTablePropsCore<TQueryFnData, TError, TData> & {
4
4
  onSearch?: (data: TSearchVariables) => CrudFilters | Promise<CrudFilters>;
5
5
  };
6
- export type useTableReturnType<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TSearchVariables = unknown> = useTableCoreReturnType<TData, TError> & {
6
+ export declare type useTableReturnType<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TSearchVariables = unknown> = useTableCoreReturnType<TData, TError> & {
7
7
  searchFormProps: FormProps<TSearchVariables>;
8
8
  tableProps: TableProps<TData>;
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useTable.d.ts","sourceRoot":"","sources":["../../../../src/hooks/table/useTable/useTable.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,SAAS,EAA+B,UAAU,EAAE,MAAM,MAAM,CAAC;AAKhF,OAAO,EAEH,UAAU,EACV,WAAW,EACX,SAAS,EAET,aAAa,IAAI,iBAAiB,EAClC,kBAAkB,IAAI,sBAAsB,EAE/C,MAAM,iBAAiB,CAAC;AAQzB,MAAM,MAAM,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,IACnE,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,GAAG;IAC7C,QAAQ,CAAC,EAAE,CACP,IAAI,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ACjC,CAAC;AAEF;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,QAAQ,mpBAwNpB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { UploadChangeParam } from "antd/lib/upload";
2
- export type UseFileUploadStateType = () => {
2
+ export declare type UseFileUploadStateType = () => {
3
3
  isLoading: boolean;
4
4
  onChange: (info: UploadChangeParam) => void;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFileUploadState/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,MAAM,MAAM,sBAAsB,GAAG,MAAM;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,sBAchC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useFileUploadState/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,oBAAY,sBAAsB,GAAG,MAAM;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,sBAchC,CAAC"}
@@ -1,4 +1,4 @@
1
- export type UseSiderVisibleType = {
1
+ export declare type UseSiderVisibleType = {
2
2
  siderVisible: boolean;
3
3
  drawerSiderVisible: boolean;
4
4
  setSiderVisible: (visible: boolean) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSiderVisible/index.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,mBAAmB,GAAG;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,qBAAqB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,mBAclC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSiderVisible/index.ts"],"names":[],"mappings":"AAIA,oBAAY,mBAAmB,GAAG;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,qBAAqB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,mBAclC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { IThemedLayoutContext } from "@contexts/themedLayoutContext/IThemedLayoutContext";
2
- export type UseThemedLayoutContextType = IThemedLayoutContext;
2
+ export declare type UseThemedLayoutContextType = IThemedLayoutContext;
3
3
  export declare const useThemedLayoutContext: () => UseThemedLayoutContextType;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useThemedLayoutContext/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAE1F,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC;AAE9D,eAAO,MAAM,sBAAsB,QAAO,0BAczC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useThemedLayoutContext/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAE1F,oBAAY,0BAA0B,GAAG,oBAAoB,CAAC;AAE9D,eAAO,MAAM,sBAAsB,QAAO,0BAczC,CAAC"}