@refinedev/antd 5.37.4 → 6.0.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 (382) hide show
  1. package/CHANGELOG.md +1760 -1778
  2. package/README.md +109 -17
  3. package/coverage/clover.xml +2005 -0
  4. package/coverage/coverage-final.json +1 -0
  5. package/coverage/lcov-report/base.css +224 -0
  6. package/coverage/lcov-report/block-navigation.js +87 -0
  7. package/coverage/lcov-report/favicon.png +0 -0
  8. package/coverage/lcov-report/index.html +1331 -0
  9. package/coverage/lcov-report/prettify.css +1 -0
  10. package/coverage/lcov-report/prettify.js +2 -0
  11. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  12. package/coverage/lcov-report/sorter.js +196 -0
  13. package/coverage/lcov-report/src/components/breadcrumb/index.html +116 -0
  14. package/coverage/lcov-report/src/components/breadcrumb/index.tsx.html +325 -0
  15. package/coverage/lcov-report/src/components/buttons/clone/index.html +116 -0
  16. package/coverage/lcov-report/src/components/buttons/clone/index.tsx.html +397 -0
  17. package/coverage/lcov-report/src/components/buttons/create/index.html +116 -0
  18. package/coverage/lcov-report/src/components/buttons/create/index.tsx.html +397 -0
  19. package/coverage/lcov-report/src/components/buttons/delete/index.html +116 -0
  20. package/coverage/lcov-report/src/components/buttons/delete/index.tsx.html +463 -0
  21. package/coverage/lcov-report/src/components/buttons/edit/index.html +116 -0
  22. package/coverage/lcov-report/src/components/buttons/edit/index.tsx.html +400 -0
  23. package/coverage/lcov-report/src/components/buttons/export/index.html +116 -0
  24. package/coverage/lcov-report/src/components/buttons/export/index.tsx.html +181 -0
  25. package/coverage/lcov-report/src/components/buttons/import/index.html +116 -0
  26. package/coverage/lcov-report/src/components/buttons/import/index.tsx.html +193 -0
  27. package/coverage/lcov-report/src/components/buttons/index.html +116 -0
  28. package/coverage/lcov-report/src/components/buttons/index.ts.html +118 -0
  29. package/coverage/lcov-report/src/components/buttons/list/index.html +116 -0
  30. package/coverage/lcov-report/src/components/buttons/list/index.tsx.html +451 -0
  31. package/coverage/lcov-report/src/components/buttons/refresh/index.html +116 -0
  32. package/coverage/lcov-report/src/components/buttons/refresh/index.tsx.html +268 -0
  33. package/coverage/lcov-report/src/components/buttons/save/index.html +116 -0
  34. package/coverage/lcov-report/src/components/buttons/save/index.tsx.html +181 -0
  35. package/coverage/lcov-report/src/components/buttons/show/index.html +116 -0
  36. package/coverage/lcov-report/src/components/buttons/show/index.tsx.html +397 -0
  37. package/coverage/lcov-report/src/components/crud/create/index.html +116 -0
  38. package/coverage/lcov-report/src/components/crud/create/index.tsx.html +514 -0
  39. package/coverage/lcov-report/src/components/crud/edit/index.html +116 -0
  40. package/coverage/lcov-report/src/components/crud/edit/index.tsx.html +766 -0
  41. package/coverage/lcov-report/src/components/crud/index.html +116 -0
  42. package/coverage/lcov-report/src/components/crud/index.ts.html +103 -0
  43. package/coverage/lcov-report/src/components/crud/list/index.html +116 -0
  44. package/coverage/lcov-report/src/components/crud/list/index.tsx.html +424 -0
  45. package/coverage/lcov-report/src/components/crud/show/index.html +116 -0
  46. package/coverage/lcov-report/src/components/crud/show/index.tsx.html +724 -0
  47. package/coverage/lcov-report/src/components/fields/boolean/index.html +116 -0
  48. package/coverage/lcov-report/src/components/fields/boolean/index.tsx.html +163 -0
  49. package/coverage/lcov-report/src/components/fields/date/index.html +116 -0
  50. package/coverage/lcov-report/src/components/fields/date/index.tsx.html +184 -0
  51. package/coverage/lcov-report/src/components/fields/email/index.html +116 -0
  52. package/coverage/lcov-report/src/components/fields/email/index.tsx.html +145 -0
  53. package/coverage/lcov-report/src/components/fields/file/index.html +116 -0
  54. package/coverage/lcov-report/src/components/fields/file/index.tsx.html +148 -0
  55. package/coverage/lcov-report/src/components/fields/image/index.html +116 -0
  56. package/coverage/lcov-report/src/components/fields/image/index.tsx.html +136 -0
  57. package/coverage/lcov-report/src/components/fields/index.html +116 -0
  58. package/coverage/lcov-report/src/components/fields/index.ts.html +118 -0
  59. package/coverage/lcov-report/src/components/fields/markdown/index.html +116 -0
  60. package/coverage/lcov-report/src/components/fields/markdown/index.tsx.html +133 -0
  61. package/coverage/lcov-report/src/components/fields/number/index.html +116 -0
  62. package/coverage/lcov-report/src/components/fields/number/index.tsx.html +193 -0
  63. package/coverage/lcov-report/src/components/fields/tag/index.html +116 -0
  64. package/coverage/lcov-report/src/components/fields/tag/index.tsx.html +124 -0
  65. package/coverage/lcov-report/src/components/fields/text/index.html +116 -0
  66. package/coverage/lcov-report/src/components/fields/text/index.tsx.html +130 -0
  67. package/coverage/lcov-report/src/components/fields/url/index.html +116 -0
  68. package/coverage/lcov-report/src/components/fields/url/index.tsx.html +157 -0
  69. package/coverage/lcov-report/src/components/index.html +116 -0
  70. package/coverage/lcov-report/src/components/index.ts.html +163 -0
  71. package/coverage/lcov-report/src/components/layout/header/index.html +116 -0
  72. package/coverage/lcov-report/src/components/layout/header/index.tsx.html +190 -0
  73. package/coverage/lcov-report/src/components/layout/index.html +116 -0
  74. package/coverage/lcov-report/src/components/layout/index.tsx.html +220 -0
  75. package/coverage/lcov-report/src/components/layout/sider/index.html +131 -0
  76. package/coverage/lcov-report/src/components/layout/sider/index.tsx.html +928 -0
  77. package/coverage/lcov-report/src/components/layout/sider/styles.ts.html +112 -0
  78. package/coverage/lcov-report/src/components/layout/title/index.html +116 -0
  79. package/coverage/lcov-report/src/components/layout/title/index.tsx.html +229 -0
  80. package/coverage/lcov-report/src/components/pageHeader/index.html +116 -0
  81. package/coverage/lcov-report/src/components/pageHeader/index.tsx.html +241 -0
  82. package/coverage/lcov-report/src/components/pages/auth/components/forgotPassword/index.html +116 -0
  83. package/coverage/lcov-report/src/components/pages/auth/components/forgotPassword/index.tsx.html +727 -0
  84. package/coverage/lcov-report/src/components/pages/auth/components/index.html +131 -0
  85. package/coverage/lcov-report/src/components/pages/auth/components/index.tsx.html +97 -0
  86. package/coverage/lcov-report/src/components/pages/auth/components/login/index.html +116 -0
  87. package/coverage/lcov-report/src/components/pages/auth/components/login/index.tsx.html +958 -0
  88. package/coverage/lcov-report/src/components/pages/auth/components/register/index.html +116 -0
  89. package/coverage/lcov-report/src/components/pages/auth/components/register/index.tsx.html +874 -0
  90. package/coverage/lcov-report/src/components/pages/auth/components/styles.ts.html +175 -0
  91. package/coverage/lcov-report/src/components/pages/auth/components/updatePassword/index.html +116 -0
  92. package/coverage/lcov-report/src/components/pages/auth/components/updatePassword/index.tsx.html +694 -0
  93. package/coverage/lcov-report/src/components/pages/auth/index.html +116 -0
  94. package/coverage/lcov-report/src/components/pages/auth/index.tsx.html +208 -0
  95. package/coverage/lcov-report/src/components/pages/error/index.html +116 -0
  96. package/coverage/lcov-report/src/components/pages/error/index.tsx.html +316 -0
  97. package/coverage/lcov-report/src/components/pages/index.html +116 -0
  98. package/coverage/lcov-report/src/components/pages/index.tsx.html +103 -0
  99. package/coverage/lcov-report/src/components/pages/login/index.html +131 -0
  100. package/coverage/lcov-report/src/components/pages/login/index.tsx.html +601 -0
  101. package/coverage/lcov-report/src/components/pages/login/styles.ts.html +160 -0
  102. package/coverage/lcov-report/src/components/pages/ready/index.html +116 -0
  103. package/coverage/lcov-report/src/components/pages/ready/index.tsx.html +373 -0
  104. package/coverage/lcov-report/src/components/pages/welcome/index.html +116 -0
  105. package/coverage/lcov-report/src/components/pages/welcome/index.tsx.html +115 -0
  106. package/coverage/lcov-report/src/components/table/components/filterDropdown/index.html +116 -0
  107. package/coverage/lcov-report/src/components/table/components/filterDropdown/index.tsx.html +421 -0
  108. package/coverage/lcov-report/src/components/table/components/index.html +116 -0
  109. package/coverage/lcov-report/src/components/table/components/index.ts.html +88 -0
  110. package/coverage/lcov-report/src/components/table/index.html +116 -0
  111. package/coverage/lcov-report/src/components/table/index.ts.html +88 -0
  112. package/coverage/lcov-report/src/components/themedLayout/header/index.html +116 -0
  113. package/coverage/lcov-report/src/components/themedLayout/header/index.tsx.html +226 -0
  114. package/coverage/lcov-report/src/components/themedLayout/index.html +116 -0
  115. package/coverage/lcov-report/src/components/themedLayout/index.tsx.html +217 -0
  116. package/coverage/lcov-report/src/components/themedLayout/sider/index.html +131 -0
  117. package/coverage/lcov-report/src/components/themedLayout/sider/index.tsx.html +1045 -0
  118. package/coverage/lcov-report/src/components/themedLayout/sider/styles.ts.html +112 -0
  119. package/coverage/lcov-report/src/components/themedLayout/title/index.html +116 -0
  120. package/coverage/lcov-report/src/components/themedLayout/title/index.tsx.html +349 -0
  121. package/coverage/lcov-report/src/components/themedLayoutV2/header/index.html +116 -0
  122. package/coverage/lcov-report/src/components/themedLayoutV2/header/index.tsx.html +256 -0
  123. package/coverage/lcov-report/src/components/themedLayoutV2/index.html +116 -0
  124. package/coverage/lcov-report/src/components/themedLayoutV2/index.tsx.html +226 -0
  125. package/coverage/lcov-report/src/components/themedLayoutV2/sider/index.html +131 -0
  126. package/coverage/lcov-report/src/components/themedLayoutV2/sider/index.tsx.html +1132 -0
  127. package/coverage/lcov-report/src/components/themedLayoutV2/sider/styles.ts.html +112 -0
  128. package/coverage/lcov-report/src/components/themedLayoutV2/title/index.html +116 -0
  129. package/coverage/lcov-report/src/components/themedLayoutV2/title/index.tsx.html +340 -0
  130. package/coverage/lcov-report/src/components/undoableNotification/index.html +116 -0
  131. package/coverage/lcov-report/src/components/undoableNotification/index.tsx.html +223 -0
  132. package/coverage/lcov-report/src/contexts/index.html +116 -0
  133. package/coverage/lcov-report/src/contexts/index.ts.html +97 -0
  134. package/coverage/lcov-report/src/contexts/themedLayoutContext/index.html +116 -0
  135. package/coverage/lcov-report/src/contexts/themedLayoutContext/index.tsx.html +178 -0
  136. package/coverage/lcov-report/src/definitions/table/index.html +116 -0
  137. package/coverage/lcov-report/src/definitions/table/index.ts.html +424 -0
  138. package/coverage/lcov-report/src/definitions/upload/index.html +116 -0
  139. package/coverage/lcov-report/src/definitions/upload/index.ts.html +172 -0
  140. package/coverage/lcov-report/src/hooks/fields/index.html +116 -0
  141. package/coverage/lcov-report/src/hooks/fields/index.ts.html +94 -0
  142. package/coverage/lcov-report/src/hooks/fields/useCheckboxGroup/index.html +116 -0
  143. package/coverage/lcov-report/src/hooks/fields/useCheckboxGroup/index.ts.html +361 -0
  144. package/coverage/lcov-report/src/hooks/fields/useRadioGroup/index.html +116 -0
  145. package/coverage/lcov-report/src/hooks/fields/useRadioGroup/index.ts.html +361 -0
  146. package/coverage/lcov-report/src/hooks/fields/useSelect/index.html +116 -0
  147. package/coverage/lcov-report/src/hooks/fields/useSelect/index.ts.html +238 -0
  148. package/coverage/lcov-report/src/hooks/form/index.html +131 -0
  149. package/coverage/lcov-report/src/hooks/form/index.ts.html +136 -0
  150. package/coverage/lcov-report/src/hooks/form/useDrawerForm/index.html +131 -0
  151. package/coverage/lcov-report/src/hooks/form/useDrawerForm/index.ts.html +103 -0
  152. package/coverage/lcov-report/src/hooks/form/useDrawerForm/useDrawerForm.ts.html +964 -0
  153. package/coverage/lcov-report/src/hooks/form/useForm.ts.html +718 -0
  154. package/coverage/lcov-report/src/hooks/form/useModalForm/index.html +131 -0
  155. package/coverage/lcov-report/src/hooks/form/useModalForm/index.ts.html +100 -0
  156. package/coverage/lcov-report/src/hooks/form/useModalForm/useModalForm.ts.html +1090 -0
  157. package/coverage/lcov-report/src/hooks/form/useStepsForm/index.html +131 -0
  158. package/coverage/lcov-report/src/hooks/form/useStepsForm/index.ts.html +100 -0
  159. package/coverage/lcov-report/src/hooks/form/useStepsForm/useStepsForm.ts.html +517 -0
  160. package/coverage/lcov-report/src/hooks/import/index.html +116 -0
  161. package/coverage/lcov-report/src/hooks/import/index.tsx.html +487 -0
  162. package/coverage/lcov-report/src/hooks/index.html +116 -0
  163. package/coverage/lcov-report/src/hooks/index.ts.html +109 -0
  164. package/coverage/lcov-report/src/hooks/list/index.html +116 -0
  165. package/coverage/lcov-report/src/hooks/list/index.ts.html +88 -0
  166. package/coverage/lcov-report/src/hooks/list/useSimpleList/index.html +131 -0
  167. package/coverage/lcov-report/src/hooks/list/useSimpleList/index.ts.html +88 -0
  168. package/coverage/lcov-report/src/hooks/list/useSimpleList/useSimpleList.ts.html +775 -0
  169. package/coverage/lcov-report/src/hooks/modal/index.html +116 -0
  170. package/coverage/lcov-report/src/hooks/modal/index.ts.html +88 -0
  171. package/coverage/lcov-report/src/hooks/modal/useModal/index.html +116 -0
  172. package/coverage/lcov-report/src/hooks/modal/useModal/index.tsx.html +214 -0
  173. package/coverage/lcov-report/src/hooks/table/index.html +116 -0
  174. package/coverage/lcov-report/src/hooks/table/index.ts.html +91 -0
  175. package/coverage/lcov-report/src/hooks/table/useEditableTable/index.html +131 -0
  176. package/coverage/lcov-report/src/hooks/table/useEditableTable/index.ts.html +88 -0
  177. package/coverage/lcov-report/src/hooks/table/useEditableTable/useEditableTable.ts.html +466 -0
  178. package/coverage/lcov-report/src/hooks/table/useTable/index.html +146 -0
  179. package/coverage/lcov-report/src/hooks/table/useTable/index.ts.html +88 -0
  180. package/coverage/lcov-report/src/hooks/table/useTable/paginationLink.tsx.html +166 -0
  181. package/coverage/lcov-report/src/hooks/table/useTable/useTable.ts.html +889 -0
  182. package/coverage/lcov-report/src/hooks/useFileUploadState/index.html +116 -0
  183. package/coverage/lcov-report/src/hooks/useFileUploadState/index.ts.html +187 -0
  184. package/coverage/lcov-report/src/hooks/useSiderVisible/index.html +116 -0
  185. package/coverage/lcov-report/src/hooks/useSiderVisible/index.ts.html +151 -0
  186. package/coverage/lcov-report/src/providers/notificationProvider/index.html +116 -0
  187. package/coverage/lcov-report/src/providers/notificationProvider/index.tsx.html +208 -0
  188. package/coverage/lcov.info +5292 -0
  189. package/dist/components/autoSaveIndicator/index.d.ts.map +1 -1
  190. package/dist/components/breadcrumb/index.d.ts +1 -1
  191. package/dist/components/breadcrumb/index.d.ts.map +1 -1
  192. package/dist/components/buttons/create/index.d.ts.map +1 -1
  193. package/dist/components/buttons/delete/index.d.ts.map +1 -1
  194. package/dist/components/buttons/import/index.d.ts.map +1 -1
  195. package/dist/components/buttons/types.d.ts +10 -10
  196. package/dist/components/buttons/types.d.ts.map +1 -1
  197. package/dist/components/crud/edit/index.d.ts.map +1 -1
  198. package/dist/components/crud/list/index.d.ts.map +1 -1
  199. package/dist/components/crud/show/index.d.ts.map +1 -1
  200. package/dist/components/crud/types.d.ts +4 -4
  201. package/dist/components/crud/types.d.ts.map +1 -1
  202. package/dist/components/fields/types.d.ts +10 -10
  203. package/dist/components/fields/types.d.ts.map +1 -1
  204. package/dist/components/layout/sider/index.d.ts.map +1 -1
  205. package/dist/components/layout/title/index.d.ts.map +1 -1
  206. package/dist/components/layout/types.d.ts.map +1 -1
  207. package/dist/components/pageHeader/index.d.ts +1 -1
  208. package/dist/components/pageHeader/index.d.ts.map +1 -1
  209. package/dist/components/pages/auth/components/forgotPassword/index.d.ts +1 -1
  210. package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
  211. package/dist/components/pages/auth/components/login/index.d.ts +1 -1
  212. package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
  213. package/dist/components/pages/auth/components/register/index.d.ts +1 -1
  214. package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
  215. package/dist/components/pages/auth/components/updatePassword/index.d.ts +1 -1
  216. package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
  217. package/dist/components/pages/auth/index.d.ts +1 -1
  218. package/dist/components/pages/auth/index.d.ts.map +1 -1
  219. package/dist/components/pages/login/index.d.ts.map +1 -1
  220. package/dist/components/pages/ready/index.d.ts.map +1 -1
  221. package/dist/components/table/components/filterDropdown/index.d.ts +2 -2
  222. package/dist/components/table/components/filterDropdown/index.d.ts.map +1 -1
  223. package/dist/components/themedLayout/header/index.d.ts.map +1 -1
  224. package/dist/components/themedLayout/types.d.ts.map +1 -1
  225. package/dist/components/themedLayoutV2/header/index.d.ts.map +1 -1
  226. package/dist/components/themedLayoutV2/index.d.ts.map +1 -1
  227. package/dist/components/themedLayoutV2/sider/index.d.ts.map +1 -1
  228. package/dist/components/themedLayoutV2/types.d.ts +1 -1
  229. package/dist/components/themedLayoutV2/types.d.ts.map +1 -1
  230. package/dist/components/undoableNotification/index.d.ts +1 -1
  231. package/dist/components/undoableNotification/index.d.ts.map +1 -1
  232. package/dist/contexts/index.d.ts.map +1 -1
  233. package/dist/contexts/themedLayoutContext/IThemedLayoutContext.d.ts.map +1 -1
  234. package/dist/contexts/themedLayoutContext/index.d.ts.map +1 -1
  235. package/dist/definitions/table/index.d.ts +6 -3
  236. package/dist/definitions/table/index.d.ts.map +1 -1
  237. package/dist/definitions/themes/index.d.ts +2 -2
  238. package/dist/definitions/themes/index.d.ts.map +1 -1
  239. package/dist/esm/index.js +1 -1
  240. package/dist/esm/index.js.map +1 -1
  241. package/dist/hooks/fields/useCheckboxGroup/index.d.ts +2 -2
  242. package/dist/hooks/fields/useCheckboxGroup/index.d.ts.map +1 -1
  243. package/dist/hooks/fields/useRadioGroup/index.d.ts +2 -2
  244. package/dist/hooks/fields/useRadioGroup/index.d.ts.map +1 -1
  245. package/dist/hooks/fields/useSelect/index.d.ts +1 -1
  246. package/dist/hooks/fields/useSelect/index.d.ts.map +1 -1
  247. package/dist/hooks/form/index.d.ts.map +1 -1
  248. package/dist/hooks/form/useDrawerForm/index.d.ts.map +1 -1
  249. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts +2 -2
  250. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts.map +1 -1
  251. package/dist/hooks/form/useForm.d.ts +2 -2
  252. package/dist/hooks/form/useForm.d.ts.map +1 -1
  253. package/dist/hooks/form/useModalForm/index.d.ts.map +1 -1
  254. package/dist/hooks/form/useModalForm/useModalForm.d.ts +4 -4
  255. package/dist/hooks/form/useModalForm/useModalForm.d.ts.map +1 -1
  256. package/dist/hooks/form/useStepsForm/index.d.ts.map +1 -1
  257. package/dist/hooks/form/useStepsForm/useStepsForm.d.ts +3 -3
  258. package/dist/hooks/form/useStepsForm/useStepsForm.d.ts.map +1 -1
  259. package/dist/hooks/import/index.d.ts.map +1 -1
  260. package/dist/hooks/list/useSimpleList/useSimpleList.d.ts +3 -3
  261. package/dist/hooks/list/useSimpleList/useSimpleList.d.ts.map +1 -1
  262. package/dist/hooks/modal/useModal/index.d.ts +2 -2
  263. package/dist/hooks/modal/useModal/index.d.ts.map +1 -1
  264. package/dist/hooks/table/useEditableTable/useEditableTable.d.ts +2 -2
  265. package/dist/hooks/table/useEditableTable/useEditableTable.d.ts.map +1 -1
  266. package/dist/hooks/table/useTable/paginationLink.d.ts +2 -2
  267. package/dist/hooks/table/useTable/paginationLink.d.ts.map +1 -1
  268. package/dist/hooks/table/useTable/useTable.d.ts +2 -2
  269. package/dist/hooks/table/useTable/useTable.d.ts.map +1 -1
  270. package/dist/hooks/useFileUploadState/index.d.ts +1 -1
  271. package/dist/hooks/useFileUploadState/index.d.ts.map +1 -1
  272. package/dist/hooks/useSiderVisible/index.d.ts +1 -1
  273. package/dist/hooks/useSiderVisible/index.d.ts.map +1 -1
  274. package/dist/hooks/useThemedLayoutContext/index.d.ts +1 -1
  275. package/dist/hooks/useThemedLayoutContext/index.d.ts.map +1 -1
  276. package/dist/iife/index.js +10 -10
  277. package/dist/iife/index.js.map +1 -1
  278. package/dist/index.d.ts.map +1 -1
  279. package/dist/index.js +1 -1
  280. package/dist/index.js.map +1 -1
  281. package/dist/interfaces/field.d.ts +1 -1
  282. package/dist/interfaces/field.d.ts.map +1 -1
  283. package/dist/interfaces/index.d.ts +3 -3
  284. package/dist/interfaces/index.d.ts.map +1 -1
  285. package/dist/interfaces/upload.d.ts.map +1 -1
  286. package/package.json +35 -37
  287. package/refine.config.js +497 -524
  288. package/src/components/autoSaveIndicator/index.tsx +69 -69
  289. package/src/components/breadcrumb/index.tsx +63 -65
  290. package/src/components/buttons/clone/index.tsx +86 -86
  291. package/src/components/buttons/create/index.tsx +85 -86
  292. package/src/components/buttons/delete/index.tsx +114 -119
  293. package/src/components/buttons/edit/index.tsx +86 -86
  294. package/src/components/buttons/export/index.tsx +17 -17
  295. package/src/components/buttons/import/index.tsx +19 -20
  296. package/src/components/buttons/list/index.tsx +105 -105
  297. package/src/components/buttons/refresh/index.tsx +50 -50
  298. package/src/components/buttons/save/index.tsx +17 -17
  299. package/src/components/buttons/show/index.tsx +86 -86
  300. package/src/components/buttons/types.ts +20 -20
  301. package/src/components/crud/create/index.tsx +120 -120
  302. package/src/components/crud/edit/index.tsx +205 -207
  303. package/src/components/crud/list/index.tsx +88 -90
  304. package/src/components/crud/show/index.tsx +175 -185
  305. package/src/components/crud/types.ts +41 -56
  306. package/src/components/fields/boolean/index.tsx +11 -11
  307. package/src/components/fields/date/index.tsx +13 -13
  308. package/src/components/fields/email/index.tsx +5 -5
  309. package/src/components/fields/file/index.tsx +8 -8
  310. package/src/components/fields/image/index.tsx +4 -4
  311. package/src/components/fields/markdown/index.tsx +9 -9
  312. package/src/components/fields/number/index.tsx +17 -17
  313. package/src/components/fields/tag/index.tsx +1 -1
  314. package/src/components/fields/text/index.tsx +1 -1
  315. package/src/components/fields/types.ts +18 -18
  316. package/src/components/fields/url/index.tsx +8 -8
  317. package/src/components/layout/header/index.tsx +25 -25
  318. package/src/components/layout/index.tsx +30 -30
  319. package/src/components/layout/sider/index.tsx +238 -246
  320. package/src/components/layout/sider/styles.ts +5 -5
  321. package/src/components/layout/title/index.tsx +40 -40
  322. package/src/components/layout/types.ts +6 -6
  323. package/src/components/pageHeader/index.tsx +44 -44
  324. package/src/components/pages/auth/components/forgotPassword/index.tsx +177 -180
  325. package/src/components/pages/auth/components/login/index.tsx +258 -271
  326. package/src/components/pages/auth/components/register/index.tsx +247 -263
  327. package/src/components/pages/auth/components/styles.ts +16 -16
  328. package/src/components/pages/auth/components/updatePassword/index.tsx +160 -174
  329. package/src/components/pages/auth/index.tsx +23 -23
  330. package/src/components/pages/error/index.tsx +57 -57
  331. package/src/components/pages/login/index.tsx +120 -146
  332. package/src/components/pages/login/styles.ts +12 -12
  333. package/src/components/pages/ready/index.tsx +72 -80
  334. package/src/components/pages/welcome/index.tsx +1 -1
  335. package/src/components/table/components/filterDropdown/index.tsx +90 -93
  336. package/src/components/themedLayout/header/index.tsx +28 -32
  337. package/src/components/themedLayout/index.tsx +30 -30
  338. package/src/components/themedLayout/sider/index.tsx +279 -279
  339. package/src/components/themedLayout/sider/styles.ts +5 -5
  340. package/src/components/themedLayout/title/index.tsx +66 -66
  341. package/src/components/themedLayout/types.ts +8 -8
  342. package/src/components/themedLayoutV2/header/index.tsx +37 -41
  343. package/src/components/themedLayoutV2/index.tsx +34 -36
  344. package/src/components/themedLayoutV2/sider/index.tsx +309 -313
  345. package/src/components/themedLayoutV2/sider/styles.ts +5 -5
  346. package/src/components/themedLayoutV2/title/index.tsx +66 -66
  347. package/src/components/themedLayoutV2/types.ts +9 -9
  348. package/src/components/undoableNotification/index.tsx +31 -31
  349. package/src/contexts/index.ts +2 -2
  350. package/src/contexts/themedLayoutContext/IThemedLayoutContext.ts +4 -4
  351. package/src/contexts/themedLayoutContext/index.tsx +22 -22
  352. package/src/definitions/table/index.ts +94 -83
  353. package/src/definitions/themes/index.ts +35 -35
  354. package/src/definitions/upload/index.ts +17 -17
  355. package/src/hooks/fields/useCheckboxGroup/index.ts +64 -64
  356. package/src/hooks/fields/useRadioGroup/index.ts +60 -63
  357. package/src/hooks/fields/useSelect/index.ts +30 -30
  358. package/src/hooks/form/index.ts +10 -10
  359. package/src/hooks/form/useDrawerForm/index.ts +4 -4
  360. package/src/hooks/form/useDrawerForm/useDrawerForm.ts +257 -261
  361. package/src/hooks/form/useForm.ts +256 -259
  362. package/src/hooks/form/useModalForm/index.ts +3 -3
  363. package/src/hooks/form/useModalForm/useModalForm.ts +289 -295
  364. package/src/hooks/form/useStepsForm/index.ts +3 -3
  365. package/src/hooks/form/useStepsForm/useStepsForm.ts +96 -96
  366. package/src/hooks/import/index.tsx +104 -106
  367. package/src/hooks/list/useSimpleList/useSimpleList.ts +179 -185
  368. package/src/hooks/modal/useModal/index.tsx +24 -24
  369. package/src/hooks/table/useEditableTable/useEditableTable.ts +85 -85
  370. package/src/hooks/table/useTable/paginationLink.tsx +17 -17
  371. package/src/hooks/table/useTable/useTable.ts +197 -207
  372. package/src/hooks/useFileUploadState/index.ts +20 -20
  373. package/src/hooks/useSiderVisible/index.ts +16 -16
  374. package/src/hooks/useThemedLayoutContext/index.ts +12 -12
  375. package/src/index.tsx +4 -4
  376. package/src/interfaces/field.ts +1 -1
  377. package/src/interfaces/index.ts +7 -8
  378. package/src/interfaces/upload.ts +7 -7
  379. package/src/providers/notificationProvider/index.tsx +78 -78
  380. package/src/types/index.d.ts +2 -2
  381. package/src/types/sunflower.d.ts +68 -68
  382. package/tsconfig.json +30 -26
@@ -2,13 +2,13 @@
2
2
  import { QueryObserverResult } from "@tanstack/react-query";
3
3
  import type { Checkbox } from "antd";
4
4
  import { BaseRecord, GetListResponse, HttpError, UseSelectProps, BaseKey, BaseOption } from "@refinedev/core";
5
- export declare type UseCheckboxGroupReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
5
+ export type UseCheckboxGroupReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
6
6
  checkboxGroupProps: Omit<React.ComponentProps<typeof Checkbox.Group>, "options"> & {
7
7
  options: TOption[];
8
8
  };
9
9
  queryResult: QueryObserverResult<GetListResponse<TData>>;
10
10
  };
11
- declare type UseCheckboxGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQueryFnData, TError, TData>, "defaultValue"> & {
11
+ type UseCheckboxGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQueryFnData, TError, TData>, "defaultValue"> & {
12
12
  /**
13
13
  * Sets the default value
14
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,eAA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AAO,EAAE,CAAC;KACpB,CAAC;IACF,WAAW,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,KAAK,qBAAqB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,IAAI,CAC5D,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,EAC3C,cAAc,CACf,GAAG;IACF;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,gBAAgB,kWAsB1B,sBACD,YAAY,EACZ,MAAM,EACN,KAAK,CACN,KAAG,2BAA2B,KAAK,EAAE,OAAO,CA+B5C,CAAC"}
@@ -2,13 +2,13 @@
2
2
  import { QueryObserverResult } from "@tanstack/react-query";
3
3
  import type { Radio } from "antd";
4
4
  import { BaseKey, BaseOption, BaseRecord, GetListResponse, HttpError, UseSelectProps } from "@refinedev/core";
5
- export declare type UseRadioGroupReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
5
+ export type UseRadioGroupReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
6
6
  radioGroupProps: Omit<React.ComponentProps<typeof Radio.Group>, "options"> & {
7
7
  options: TOption[];
8
8
  };
9
9
  queryResult: QueryObserverResult<GetListResponse<TData>>;
10
10
  };
11
- declare type UseRadioGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQueryFnData, TError, TData>, "defaultValue"> & {
11
+ type UseRadioGroupProps<TQueryFnData, TError, TData> = Omit<UseSelectProps<TQueryFnData, TError, TData>, "defaultValue"> & {
12
12
  /**
13
13
  * Sets the default value
14
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;AA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K,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,GAAG;QAC3E,OAAO,EAAE,OAAO,EAAE,CAAC;KACpB,CAAC;IACF,WAAW,EAAE,mBAAmB,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;CAC1D,CAAC;AAEF,KAAK,kBAAkB,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,IAAI,CACzD,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,EAC3C,cAAc,CACf,GAAG;IACF;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,aAAa,kWAsBvB,mBAAmB,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,KAAG,wBACnD,KAAK,EACL,OAAO,CAiCR,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 declare type UseSelectReturnType<TData extends BaseRecord = BaseRecord, TOption extends BaseOption = BaseOption> = {
4
+ export 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,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"}
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,EAEL,UAAU,EACV,eAAe,EACf,eAAe,EACf,SAAS,EACT,cAAc,EACd,UAAU,EACX,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,mBAAmB,CAC7B,KAAK,SAAS,UAAU,GAAG,UAAU,EACrC,OAAO,SAAS,UAAU,GAAG,UAAU,IACrC;IACF,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;CACtE,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,SAAS,gLAMb,eAAe,YAAY,EAAE,MAAM,EAAE,KAAK,CAAC,KACjD,oBAAoB,KAAK,EAAE,OAAO,CAepC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EACH,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,GACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACH,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,GACzB,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AACrE,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/form/useDrawerForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GAC1B,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/form/useDrawerForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,iBAAiB,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 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 & {
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 & {
10
10
  defaultVisible?: boolean;
11
11
  autoSubmitClose?: boolean;
12
12
  autoResetForm?: boolean;
13
13
  };
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> & {
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> & {
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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T,cAAc,CAyMf,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 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> & {
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> & {
5
5
  submitOnEnter?: boolean;
6
6
  /**
7
7
  * Shows notification when unsaved changes exist
@@ -14,7 +14,7 @@ export declare type UseFormProps<TQueryFnData extends BaseRecord = BaseRecord, T
14
14
  */
15
15
  disableServerSideValidation?: boolean;
16
16
  } & AutoSaveProps<TVariables>;
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> & {
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> & {
18
18
  form: FormInstance<TVariables>;
19
19
  formProps: FormProps<TVariables>;
20
20
  saveButtonProps: ButtonProps & {
@@ -1 +1 @@
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G,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,IACvC,qBAAqB,CACvB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACf,GAAG;IACF,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;IAC/B,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACjC,eAAe,EAAE,WAAW,GAAG;QAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,QAAQ,EAAE,CACR,MAAM,CAAC,EAAE,UAAU,KAChB,OAAO,CAAC,cAAc,CAAC,SAAS,CAAC,GAAG,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC;CAC5E,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,OAAO,owBAoCjB,aACD,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACf,KAAQ,kBACP,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CA2Kf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/form/useModalForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,GACzB,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/form/useModalForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,gBAAgB,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 declare type useModalFormFromSFReturnType<TResponse, TVariables> = {
4
+ export type useModalFormFromSFReturnType<TResponse, TVariables> = {
5
5
  open: boolean;
6
6
  form: FormInstance<TVariables>;
7
7
  show: (id?: BaseKey) => void;
@@ -17,11 +17,11 @@ export declare type useModalFormFromSFReturnType<TResponse, TVariables> = {
17
17
  /** @deprecated Please use `open` instead. */
18
18
  visible: boolean;
19
19
  };
20
- declare type useModalFormConfig = {
20
+ type useModalFormConfig = {
21
21
  action: "show" | "edit" | "create" | "clone";
22
22
  };
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 & {
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 & {
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,oBAAY,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,SAAS,CAAC;IACtB,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,UAAU,KAAK,OAAO,CAAC,SAAS,CAAC,CAAC;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AK,EACpC,cAAc,SAAS,SAAS,GAAG,MAAM,IACvC,IAAI,CACN,iBAAiB,CACf,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACf,EACD,iBAAiB,GAAG,mBAAmB,CACxC,GACC,4BAA4B,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAEtD,MAAM,MAAM,iBAAiB,CAC3B,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,IACvC,gBAAgB,CAClB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACf,GACC,YAAY,CACV,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACf,GACD,kBAAkB,GAClB,aAAa,GACb,8BAA8B,GAAG;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AACJ;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,wUAetB,kBACD,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACf,KAAG,uBACF,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CAmOf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/form/useStepsForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,GACzB,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/form/useStepsForm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,gBAAgB,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 declare type UseStepsFormFromSFReturnType<TResponse, TVariables> = {
5
+ export type UseStepsFormFromSFReturnType<TResponse, TVariables> = {
6
6
  current: number;
7
7
  gotoStep: (step: number) => Promise<TVariables> | true;
8
8
  stepsProps: {
@@ -18,8 +18,8 @@ export declare type UseStepsFormFromSFReturnType<TResponse, TVariables> = {
18
18
  form: FormInstance<TVariables>;
19
19
  submit: (values?: TVariables) => Promise<TResponse>;
20
20
  };
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;
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;
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":"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,MAAM,KAAK,IAAI,CAAC;KAC3C,CAAC;IACF,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,SAAS,CAAC;IACtB,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;IAC/B,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE,UAAU,KAAK,OAAO,CAAC,SAAS,CAAC,CAAC;CACvD,CAAC;AAEF,oBAAY,sBAAsB,CAC9B,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,iBAAiB,CACjB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACjB,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,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,EAEL,kBAAkB,EACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAE/C,OAAO,EACL,SAAS,EACT,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S,EACpC,UAAU,GAAG,EAAE,EACf,KAAK,SAAS,UAAU,GAAG,YAAY,EACvC,SAAS,SAAS,UAAU,GAAG,KAAK,EACpC,cAAc,SAAS,SAAS,GAAG,MAAM,IACvC,gBAAgB,CAClB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACf,GACC,YAAY,CACV,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACf,GACD,kBAAkB,CAAC;AAErB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,0OAQhB,kBACL,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CACf,KACA,uBACD,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,SAAS,EACT,cAAc,CAsCf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/import/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAgB,WAAW,EAAY,MAAM,MAAM,CAAC;AACxE,OAAO,EAGH,UAAU,EACV,SAAS,EAET,mBAAmB,EACnB,aAAa,EAEhB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS;iBAoBL,WAAW;iBACX,WAAW;CAwF3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/import/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAgB,WAAW,EAAY,MAAM,MAAM,CAAC;AACxE,OAAO,EAGL,UAAU,EACV,SAAS,EAET,mBAAmB,EACnB,aAAa,EAEd,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,+QAgBnB,cAAc,KAAK,EAAE,UAAU,EAAE,KAAK,CAAC,KAAQ,KAChD,oBAAoB,KAAK,EAAE,UAAU,EAAE,MAAM,CAAC,EAC9C,cAAc,GAAG,YAAY,CAC9B,GAAG;IACF,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,WAAW,CAAC;CAsF1B,CAAC"}
@@ -1,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 declare type useSimpleListProps<TQueryFnData, TError, TSearchVariables, TData> = useTablePropsCore<TQueryFnData, TError, TData> & {
3
+ export type useSimpleListProps<TQueryFnData, TError, TSearchVariables, TData> = useTablePropsCore<TQueryFnData, TError, TData> & {
4
4
  onSearch?: (data: TSearchVariables) => CrudFilters | Promise<CrudFilters>;
5
5
  };
6
- export declare type useSimpleListReturnType<TQueryFnData extends BaseRecord = BaseRecord, TSearchVariables = unknown, TData extends BaseRecord = TQueryFnData> = Omit<useTableReturnType<TData>, "tableQueryResult"> & {
6
+ export 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>;
@@ -20,5 +20,5 @@ export declare type useSimpleListReturnType<TQueryFnData extends BaseRecord = Ba
20
20
  * @typeParam TData - Result data returned by the `select` function. Extends {@link https://refine.dev/docs/api-reference/core/interfaceReferences#baserecord `BaseRecord`}. Defaults to `TQueryFnData`
21
21
  *
22
22
  */
23
- export declare const useSimpleList: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TSearchVariables = unknown, TData extends BaseRecord = TQueryFnData>({ resource, initialCurrent, initialPageSize, pagination, hasPagination, initialSorter, permanentSorter, initialFilter, permanentFilter, defaultSetFilterBehavior, filters: filtersFromProp, sorters: sortersFromProp, onSearch, queryOptions, syncWithLocation, successNotification, errorNotification, liveMode: liveModeFromProp, onLiveEvent, liveParams, meta, metaData, dataProviderName, }?: useSimpleListProps<TQueryFnData, TError, TSearchVariables, TData>) => useSimpleListReturnType<TData, TSearchVariables, TData>;
23
+ export declare const useSimpleList: <TQueryFnData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TSearchVariables = unknown, TData extends BaseRecord = TQueryFnData>({ resource, initialCurrent, initialPageSize, pagination, hasPagination, initialSorter, permanentSorter, initialFilter, permanentFilter, defaultSetFilterBehavior, filters: filtersFromProp, sorters: sortersFromProp, onSearch, queryOptions, syncWithLocation, successNotification, errorNotification, liveMode: liveModeFromProp, onLiveEvent, liveParams, meta, metaData, dataProviderName, }?: useSimpleListProps<TQueryFnData, TError, TSearchVariables, TData>) => useSimpleListReturnType<TData, TSearchVariables>;
24
24
  //# sourceMappingURL=useSimpleList.d.ts.map
@@ -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,oBAAY,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,oBAAY,uBAAuB,CAC/B,YAAY,SAAS,UAAU,GAAG,UAAU,EAC5C,gBAAgB,GAAG,OAAO,EAC1B,KAAK,SAAS,UAAU,GAAG,YAAY,IACvC,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAA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KAAK,CACN,KAAQ,wBAAwB,KAAK,EAAE,gBAAgB,CAmJvD,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { ModalProps } from "antd";
2
2
  import { useModalReturnType as useCoreModelReturnType } from "@refinedev/core";
3
- export declare type useModalReturnType = {
3
+ export type useModalReturnType = {
4
4
  modalProps: ModalProps;
5
5
  } & Omit<useCoreModelReturnType, "visible">;
6
- export declare type useModalProps = {
6
+ export 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,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"}
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,EAEL,kBAAkB,IAAI,sBAAsB,EAC7C,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,EAAE,UAAU,CAAC;CACxB,GAAG,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB,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 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> & {
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> & {
6
6
  saveButtonProps: ButtonProps & {
7
7
  onClick: () => void;
8
8
  };
@@ -14,7 +14,7 @@ export declare type useEditableTableReturnType<TQueryFnData extends BaseRecord =
14
14
  };
15
15
  isEditing: (id: BaseKey) => boolean;
16
16
  };
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> & {
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> & {
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,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
+ {"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,CACpC,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,IACrC,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,gBAAgB,CAAC,GACrD,iBAAiB,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,CAAC,GAAG;IACpD,eAAe,EAAE,WAAW,GAAG;QAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,iBAAiB,EAAE,WAAW,GAAG;QAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,eAAe,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,WAAW,GAAG;QAC9C,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,SAAS,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,OAAO,CAAC;CACrC,CAAC;AAEJ,KAAK,qBAAqB,CACxB,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,IACrC,IAAI,CACN,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAC5D,qBAAqB,GAAG,mBAAmB,CAC5C,GACC,YAAY,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,CAAC,GAAG;IAC/C;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEJ;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,6MAS1B,sBACD,YAAY,EACZ,MAAM,EACN,UAAU,EACV,gBAAgB,EAChB,KAAK,CACN,KAAQ,2BACP,YAAY,EACZ,MAAM,EACN,UAAU,EACV,gBAAgB,EAChB,KAAK,CA+CN,CAAC"}
@@ -1,8 +1,8 @@
1
- import { ReactNode } from "react";
1
+ import React, { 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) => JSX.Element;
6
+ export declare const PaginationLink: ({ to, element }: PaginationLinkProps) => React.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,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
+ {"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;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,oBAAqB,mBAAmB,sBAkBlE,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 declare type useTableProps<TQueryFnData, TError, TSearchVariables, TData> = useTablePropsCore<TQueryFnData, TError, TData> & {
3
+ export type useTableProps<TQueryFnData, TError, TSearchVariables, TData> = useTablePropsCore<TQueryFnData, TError, TData> & {
4
4
  onSearch?: (data: TSearchVariables) => CrudFilters | Promise<CrudFilters>;
5
5
  };
6
- export declare type useTableReturnType<TData extends BaseRecord = BaseRecord, TError extends HttpError = HttpError, TSearchVariables = unknown> = useTableCoreReturnType<TData, TError> & {
6
+ export 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,oBAAY,aAAa,CAAC,YAAY,EAAE,MAAM,EAAE,gBAAgB,EAAE,KAAK,IACnE,iBA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,eAAe,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC7C,UAAU,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC;CAC/B,CAAC;AAEF;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,QAAQ,+hBA6BlB,cACD,YAAY,EACZ,MAAM,EACN,gBAAgB,EAChB,KAAK,CACN,KAAQ,mBAAmB,KAAK,EAAE,MAAM,EAAE,gBAAgB,CA+K1D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { UploadChangeParam } from "antd/lib/upload";
2
- export declare type UseFileUploadStateType = () => {
2
+ export 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,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
+ {"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;IACzC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,sBAchC,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare type UseSiderVisibleType = {
1
+ export 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,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
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSiderVisible/index.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,mBAAmB,GAAG;IAChC,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;CACnD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,mBAclC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { IThemedLayoutContext } from "@contexts/themedLayoutContext/IThemedLayoutContext";
2
- export declare type UseThemedLayoutContextType = IThemedLayoutContext;
2
+ export 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,oBAAY,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,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,CAAC;AAE9D,eAAO,MAAM,sBAAsB,QAAO,0BAczC,CAAC"}