@admin-layout/tailwind-ui 10.1.1-alpha.8 → 11.2.1-alpha.1

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 (373) hide show
  1. package/README.md +20 -0
  2. package/lib/components/Button/Button.d.ts +13 -0
  3. package/lib/components/Button/Button.d.ts.map +1 -0
  4. package/lib/components/Button/Button.js +49 -0
  5. package/lib/components/Button/Button.js.map +1 -0
  6. package/lib/components/DatePicker/DatePicker.d.ts +5 -0
  7. package/lib/components/DatePicker/DatePicker.d.ts.map +1 -0
  8. package/lib/components/DatePicker/DatePicker.js +200 -0
  9. package/lib/components/DatePicker/DatePicker.js.map +1 -0
  10. package/lib/components/DatePicker/index.d.ts +3 -0
  11. package/lib/components/DatePicker/index.d.ts.map +1 -0
  12. package/lib/components/DatePicker/machine.d.ts +3 -0
  13. package/lib/components/DatePicker/machine.d.ts.map +1 -0
  14. package/lib/components/DatePicker/machine.js +95 -0
  15. package/lib/components/DatePicker/machine.js.map +1 -0
  16. package/lib/components/DatePicker/types.d.ts +34 -0
  17. package/lib/components/DatePicker/types.d.ts.map +1 -0
  18. package/lib/components/DatePicker/utils.d.ts +25 -0
  19. package/lib/components/DatePicker/utils.d.ts.map +1 -0
  20. package/lib/components/DatePicker/utils.js +28 -0
  21. package/lib/components/DatePicker/utils.js.map +1 -0
  22. package/lib/components/ErrorHandlers/ApplicationErrorHandler.d.ts +2 -1
  23. package/lib/components/ErrorHandlers/ApplicationErrorHandler.d.ts.map +1 -1
  24. package/lib/components/ErrorHandlers/ApplicationErrorHandler.js +6 -10
  25. package/lib/components/ErrorHandlers/ApplicationErrorHandler.js.map +1 -1
  26. package/lib/components/ErrorHandlers/ErrorBoundary.d.ts +2 -1
  27. package/lib/components/ErrorHandlers/ErrorBoundary.d.ts.map +1 -1
  28. package/lib/components/ErrorHandlers/ErrorBoundary.js +28 -35
  29. package/lib/components/ErrorHandlers/ErrorBoundary.js.map +1 -1
  30. package/lib/components/ErrorHandlers/LayoutErrorBoundary.d.ts +2 -1
  31. package/lib/components/ErrorHandlers/LayoutErrorBoundary.d.ts.map +1 -1
  32. package/lib/components/ErrorHandlers/LayoutErrorBoundary.js +15 -20
  33. package/lib/components/ErrorHandlers/LayoutErrorBoundary.js.map +1 -1
  34. package/lib/components/ErrorPages/403.d.ts +2 -1
  35. package/lib/components/ErrorPages/403.d.ts.map +1 -1
  36. package/lib/components/ErrorPages/403.js +18 -26
  37. package/lib/components/ErrorPages/403.js.map +1 -1
  38. package/lib/components/ErrorPages/404.d.ts +2 -1
  39. package/lib/components/ErrorPages/404.d.ts.map +1 -1
  40. package/lib/components/ErrorPages/404.js +18 -26
  41. package/lib/components/ErrorPages/404.js.map +1 -1
  42. package/lib/components/ErrorPages/500.d.ts +2 -1
  43. package/lib/components/ErrorPages/500.d.ts.map +1 -1
  44. package/lib/components/ErrorPages/500.js +18 -26
  45. package/lib/components/ErrorPages/500.js.map +1 -1
  46. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.d.ts +6 -0
  47. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.d.ts.map +1 -0
  48. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.js +56 -0
  49. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.js.map +1 -0
  50. package/lib/components/LanguageMenuDropdown/index.d.ts +2 -0
  51. package/lib/components/LanguageMenuDropdown/index.d.ts.map +1 -0
  52. package/lib/components/OTP/OTPInput.js +30 -32
  53. package/lib/components/OTP/OTPInput.js.map +1 -1
  54. package/lib/components/OTP/OTPVerification.js +55 -75
  55. package/lib/components/OTP/OTPVerification.js.map +1 -1
  56. package/lib/components/OTP/SingleInput.js +2 -2
  57. package/lib/components/OTP/SingleInput.js.map +1 -1
  58. package/lib/components/OTP/utils.js.map +1 -1
  59. package/lib/components/PageContainer/PageContainer.d.ts.map +1 -1
  60. package/lib/components/PageContainer/PageContainer.js +27 -28
  61. package/lib/components/PageContainer/PageContainer.js.map +1 -1
  62. package/lib/components/PageLoading/index.js +7 -8
  63. package/lib/components/PageLoading/index.js.map +1 -1
  64. package/lib/components/RJSFPreview/PreviewAsyncDropdown.d.ts +12 -0
  65. package/lib/components/RJSFPreview/PreviewAsyncDropdown.d.ts.map +1 -0
  66. package/lib/components/RJSFPreview/PreviewCheckboxWidget.d.ts +8 -0
  67. package/lib/components/RJSFPreview/PreviewCheckboxWidget.d.ts.map +1 -0
  68. package/lib/components/RJSFPreview/PreviewCustomFieldTemplate.d.ts +4 -0
  69. package/lib/components/RJSFPreview/PreviewCustomFieldTemplate.d.ts.map +1 -0
  70. package/lib/components/RJSFPreview/PreviewDateWidget.d.ts +8 -0
  71. package/lib/components/RJSFPreview/PreviewDateWidget.d.ts.map +1 -0
  72. package/lib/components/RJSFPreview/PreviewDialog.d.ts +9 -0
  73. package/lib/components/RJSFPreview/PreviewDialog.d.ts.map +1 -0
  74. package/lib/components/RJSFPreview/PreviewDropdownWidget.d.ts +8 -0
  75. package/lib/components/RJSFPreview/PreviewDropdownWidget.d.ts.map +1 -0
  76. package/lib/components/RJSFPreview/PreviewFieldTemplate.d.ts +4 -0
  77. package/lib/components/RJSFPreview/PreviewFieldTemplate.d.ts.map +1 -0
  78. package/lib/components/RJSFPreview/PreviewFileUploadWidget.d.ts +4 -0
  79. package/lib/components/RJSFPreview/PreviewFileUploadWidget.d.ts.map +1 -0
  80. package/lib/components/RJSFPreview/PreviewFormRenderer.d.ts +16 -0
  81. package/lib/components/RJSFPreview/PreviewFormRenderer.d.ts.map +1 -0
  82. package/lib/components/RJSFPreview/PreviewImageUploadWidget.d.ts +4 -0
  83. package/lib/components/RJSFPreview/PreviewImageUploadWidget.d.ts.map +1 -0
  84. package/lib/components/RJSFPreview/PreviewInputWidget.d.ts +4 -0
  85. package/lib/components/RJSFPreview/PreviewInputWidget.d.ts.map +1 -0
  86. package/lib/components/RJSFPreview/PreviewObjectFieldTemplate.d.ts +4 -0
  87. package/lib/components/RJSFPreview/PreviewObjectFieldTemplate.d.ts.map +1 -0
  88. package/lib/components/RJSFPreview/PreviewRadioWidget.d.ts +8 -0
  89. package/lib/components/RJSFPreview/PreviewRadioWidget.d.ts.map +1 -0
  90. package/lib/components/RJSFPreview/PreviewStepper.d.ts +9 -0
  91. package/lib/components/RJSFPreview/PreviewStepper.d.ts.map +1 -0
  92. package/lib/components/RJSFPreview/PreviewSwitchWidget.d.ts +9 -0
  93. package/lib/components/RJSFPreview/PreviewSwitchWidget.d.ts.map +1 -0
  94. package/lib/components/RJSFPreview/PreviewTab.d.ts +17 -0
  95. package/lib/components/RJSFPreview/PreviewTab.d.ts.map +1 -0
  96. package/lib/components/RJSFPreview/PreviewTextareaWidget.d.ts +8 -0
  97. package/lib/components/RJSFPreview/PreviewTextareaWidget.d.ts.map +1 -0
  98. package/lib/components/RJSFPreview/generateSchemaWithInputs.d.ts +9 -0
  99. package/lib/components/RJSFPreview/generateSchemaWithInputs.d.ts.map +1 -0
  100. package/lib/components/RJSFPreview/index.d.ts +2 -0
  101. package/lib/components/RJSFPreview/index.d.ts.map +1 -0
  102. package/lib/components/ReactTable/Table.d.ts +2 -1
  103. package/lib/components/ReactTable/Table.d.ts.map +1 -1
  104. package/lib/components/ReactTable/Table.js +71 -92
  105. package/lib/components/ReactTable/Table.js.map +1 -1
  106. package/lib/components/ReactTable/TableFilters.d.ts +3 -2
  107. package/lib/components/ReactTable/TableFilters.d.ts.map +1 -1
  108. package/lib/components/ReactTable/TableFilters.js +34 -40
  109. package/lib/components/ReactTable/TableFilters.js.map +1 -1
  110. package/lib/components/Search/SearchInput.d.ts +12 -0
  111. package/lib/components/Search/SearchInput.d.ts.map +1 -0
  112. package/lib/components/Search/SearchInput.js +32 -0
  113. package/lib/components/Search/SearchInput.js.map +1 -0
  114. package/lib/components/Search/index.d.ts +2 -0
  115. package/lib/components/Search/index.d.ts.map +1 -0
  116. package/lib/components/Select/Select.d.ts +35 -0
  117. package/lib/components/Select/Select.d.ts.map +1 -0
  118. package/lib/components/Select/Select.js +242 -0
  119. package/lib/components/Select/Select.js.map +1 -0
  120. package/lib/components/Select/index.d.ts +2 -0
  121. package/lib/components/Select/index.d.ts.map +1 -0
  122. package/lib/components/Spin/index.js +11 -14
  123. package/lib/components/Spin/index.js.map +1 -1
  124. package/lib/components/ThemeProvider/ThemeProvider.d.ts +16 -0
  125. package/lib/components/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  126. package/lib/components/ThemeProvider/ThemeProvider.js +124 -0
  127. package/lib/components/ThemeProvider/ThemeProvider.js.map +1 -0
  128. package/lib/components/ThemeProvider/ThemeToggle.d.ts +7 -0
  129. package/lib/components/ThemeProvider/ThemeToggle.d.ts.map +1 -0
  130. package/lib/components/ThemeProvider/ThemeToggle.js +47 -0
  131. package/lib/components/ThemeProvider/ThemeToggle.js.map +1 -0
  132. package/lib/components/ThemeProvider/index.d.ts +4 -0
  133. package/lib/components/ThemeProvider/index.d.ts.map +1 -0
  134. package/lib/components/ThemeProvider/types.d.ts +27 -0
  135. package/lib/components/ThemeProvider/types.d.ts.map +1 -0
  136. package/lib/components/index.d.ts +6 -0
  137. package/lib/components/index.d.ts.map +1 -1
  138. package/lib/hooks/index.d.ts +5 -0
  139. package/lib/hooks/index.d.ts.map +1 -0
  140. package/lib/hooks/useMediaQuery.d.ts +14 -0
  141. package/lib/hooks/useMediaQuery.d.ts.map +1 -0
  142. package/lib/hooks/useMediaQuery.js +48 -0
  143. package/lib/hooks/useMediaQuery.js.map +1 -0
  144. package/lib/hooks/useTheme.d.ts +2 -0
  145. package/lib/hooks/useTheme.d.ts.map +1 -0
  146. package/lib/hooks/useTheme.js +7 -0
  147. package/lib/hooks/useTheme.js.map +1 -0
  148. package/lib/hooks/useToast.d.ts +1 -1
  149. package/lib/hooks/useToast.d.ts.map +1 -1
  150. package/lib/hooks/useToast.js +37 -46
  151. package/lib/hooks/useToast.js.map +1 -1
  152. package/lib/hooks/useWindowSize.d.ts +5 -0
  153. package/lib/hooks/useWindowSize.d.ts.map +1 -0
  154. package/lib/hooks/useWindowSize.js +20 -0
  155. package/lib/hooks/useWindowSize.js.map +1 -0
  156. package/lib/index.d.ts +2 -1
  157. package/lib/index.d.ts.map +1 -1
  158. package/lib/index.js +1 -1
  159. package/lib/shardui/accordion.d.ts +8 -0
  160. package/lib/shardui/accordion.d.ts.map +1 -0
  161. package/lib/shardui/accordion.js +36 -0
  162. package/lib/shardui/accordion.js.map +1 -0
  163. package/lib/shardui/alert-dialog.d.ts +21 -0
  164. package/lib/shardui/alert-dialog.d.ts.map +1 -0
  165. package/lib/shardui/alert-dialog.js +75 -0
  166. package/lib/shardui/alert-dialog.js.map +1 -0
  167. package/lib/shardui/alert.d.ts +9 -0
  168. package/lib/shardui/alert.d.ts.map +1 -0
  169. package/lib/shardui/alert.js +42 -0
  170. package/lib/shardui/alert.js.map +1 -0
  171. package/lib/shardui/aspect-ratio.d.ts +4 -0
  172. package/lib/shardui/aspect-ratio.d.ts.map +1 -0
  173. package/lib/shardui/aspect-ratio.js +1 -0
  174. package/lib/shardui/aspect-ratio.js.map +1 -0
  175. package/lib/shardui/avatar.d.ts +7 -0
  176. package/lib/shardui/avatar.d.ts.map +1 -0
  177. package/lib/shardui/avatar.js +27 -0
  178. package/lib/shardui/avatar.js.map +1 -0
  179. package/lib/shardui/badge.d.ts +10 -0
  180. package/lib/shardui/badge.d.ts.map +1 -0
  181. package/lib/shardui/badge.js +25 -0
  182. package/lib/shardui/badge.js.map +1 -0
  183. package/lib/shardui/breadcrumb.d.ts +20 -0
  184. package/lib/shardui/breadcrumb.d.ts.map +1 -0
  185. package/lib/shardui/breadcrumb.js +76 -0
  186. package/lib/shardui/breadcrumb.js.map +1 -0
  187. package/lib/shardui/button.d.ts +12 -0
  188. package/lib/shardui/button.d.ts.map +1 -0
  189. package/lib/shardui/button.js +41 -0
  190. package/lib/shardui/button.js.map +1 -0
  191. package/lib/shardui/calendar.d.ts +9 -0
  192. package/lib/shardui/calendar.d.ts.map +1 -0
  193. package/lib/shardui/calendar.js +53 -0
  194. package/lib/shardui/calendar.js.map +1 -0
  195. package/lib/shardui/card.d.ts +9 -0
  196. package/lib/shardui/card.d.ts.map +1 -0
  197. package/lib/shardui/card.js +54 -0
  198. package/lib/shardui/card.js.map +1 -0
  199. package/lib/shardui/carousel.d.ts +19 -0
  200. package/lib/shardui/carousel.d.ts.map +1 -0
  201. package/lib/shardui/carousel.js +169 -0
  202. package/lib/shardui/carousel.js.map +1 -0
  203. package/lib/shardui/chart.d.ts +63 -0
  204. package/lib/shardui/chart.d.ts.map +1 -0
  205. package/lib/shardui/chart.js +182 -0
  206. package/lib/shardui/chart.js.map +1 -0
  207. package/lib/shardui/checkbox.d.ts +5 -0
  208. package/lib/shardui/checkbox.d.ts.map +1 -0
  209. package/lib/shardui/checkbox.js +13 -0
  210. package/lib/shardui/checkbox.js.map +1 -0
  211. package/lib/shardui/collapsible.d.ts +6 -0
  212. package/lib/shardui/collapsible.d.ts.map +1 -0
  213. package/lib/shardui/collapsible.js +3 -0
  214. package/lib/shardui/collapsible.js.map +1 -0
  215. package/lib/shardui/command.d.ts +83 -0
  216. package/lib/shardui/command.d.ts.map +1 -0
  217. package/lib/shardui/command.js +87 -0
  218. package/lib/shardui/command.js.map +1 -0
  219. package/lib/shardui/context-menu.d.ts +28 -0
  220. package/lib/shardui/context-menu.d.ts.map +1 -0
  221. package/lib/shardui/context-menu.js +106 -0
  222. package/lib/shardui/context-menu.js.map +1 -0
  223. package/lib/shardui/dialog.d.ts +20 -0
  224. package/lib/shardui/dialog.d.ts.map +1 -0
  225. package/lib/shardui/dialog.js +62 -0
  226. package/lib/shardui/dialog.js.map +1 -0
  227. package/lib/shardui/drawer.d.ts +23 -0
  228. package/lib/shardui/drawer.d.ts.map +1 -0
  229. package/lib/shardui/drawer.js +66 -0
  230. package/lib/shardui/drawer.js.map +1 -0
  231. package/lib/shardui/dropdown-menu.d.ts +28 -0
  232. package/lib/shardui/dropdown-menu.d.ts.map +1 -0
  233. package/lib/shardui/dropdown-menu.js +108 -0
  234. package/lib/shardui/dropdown-menu.js.map +1 -0
  235. package/lib/shardui/form.d.ts +24 -0
  236. package/lib/shardui/form.d.ts.map +1 -0
  237. package/lib/shardui/form.js +123 -0
  238. package/lib/shardui/form.js.map +1 -0
  239. package/lib/shardui/hover-card.d.ts +7 -0
  240. package/lib/shardui/hover-card.d.ts.map +1 -0
  241. package/lib/shardui/hover-card.js +15 -0
  242. package/lib/shardui/hover-card.js.map +1 -0
  243. package/lib/shardui/index.d.ts +50 -0
  244. package/lib/shardui/index.d.ts.map +1 -0
  245. package/lib/shardui/index.js +1 -0
  246. package/lib/shardui/index.js.map +1 -0
  247. package/lib/shardui/input-otp.d.ts +35 -0
  248. package/lib/shardui/input-otp.d.ts.map +1 -0
  249. package/lib/shardui/input-otp.js +50 -0
  250. package/lib/shardui/input-otp.js.map +1 -0
  251. package/lib/shardui/input.d.ts +4 -0
  252. package/lib/shardui/input.d.ts.map +1 -0
  253. package/lib/shardui/input.js +13 -0
  254. package/lib/shardui/input.js.map +1 -0
  255. package/lib/shardui/label.d.ts +6 -0
  256. package/lib/shardui/label.d.ts.map +1 -0
  257. package/lib/shardui/label.js +10 -0
  258. package/lib/shardui/label.js.map +1 -0
  259. package/lib/shardui/menubar.d.ts +34 -0
  260. package/lib/shardui/menubar.d.ts.map +1 -0
  261. package/lib/shardui/menubar.js +129 -0
  262. package/lib/shardui/menubar.js.map +1 -0
  263. package/lib/shardui/navigation-menu.d.ts +13 -0
  264. package/lib/shardui/navigation-menu.d.ts.map +1 -0
  265. package/lib/shardui/navigation-menu.js +66 -0
  266. package/lib/shardui/navigation-menu.js.map +1 -0
  267. package/lib/shardui/pagination.d.ts +29 -0
  268. package/lib/shardui/pagination.d.ts.map +1 -0
  269. package/lib/shardui/pagination.js +79 -0
  270. package/lib/shardui/pagination.js.map +1 -0
  271. package/lib/shardui/popover.d.ts +7 -0
  272. package/lib/shardui/popover.d.ts.map +1 -0
  273. package/lib/shardui/popover.js +15 -0
  274. package/lib/shardui/popover.js.map +1 -0
  275. package/lib/shardui/progress.d.ts +5 -0
  276. package/lib/shardui/progress.d.ts.map +1 -0
  277. package/lib/shardui/progress.js +15 -0
  278. package/lib/shardui/progress.js.map +1 -0
  279. package/lib/shardui/radio-group.d.ts +6 -0
  280. package/lib/shardui/radio-group.d.ts.map +1 -0
  281. package/lib/shardui/radio-group.js +26 -0
  282. package/lib/shardui/radio-group.js.map +1 -0
  283. package/lib/shardui/resizable.d.ts +25 -0
  284. package/lib/shardui/resizable.d.ts.map +1 -0
  285. package/lib/shardui/resizable.js +20 -0
  286. package/lib/shardui/resizable.js.map +1 -0
  287. package/lib/shardui/scroll-area.d.ts +6 -0
  288. package/lib/shardui/scroll-area.d.ts.map +1 -0
  289. package/lib/shardui/scroll-area.js +25 -0
  290. package/lib/shardui/scroll-area.js.map +1 -0
  291. package/lib/shardui/select.d.ts +14 -0
  292. package/lib/shardui/select.d.ts.map +1 -0
  293. package/lib/shardui/select.js +85 -0
  294. package/lib/shardui/select.js.map +1 -0
  295. package/lib/shardui/separator.d.ts +5 -0
  296. package/lib/shardui/separator.d.ts.map +1 -0
  297. package/lib/shardui/separator.js +13 -0
  298. package/lib/shardui/separator.js.map +1 -0
  299. package/lib/shardui/sheet.d.ts +26 -0
  300. package/lib/shardui/sheet.d.ts.map +1 -0
  301. package/lib/shardui/sheet.js +79 -0
  302. package/lib/shardui/sheet.js.map +1 -0
  303. package/lib/shardui/sidebar.d.ts +67 -0
  304. package/lib/shardui/sidebar.d.ts.map +1 -0
  305. package/lib/shardui/sidebar.js +474 -0
  306. package/lib/shardui/sidebar.js.map +1 -0
  307. package/lib/shardui/skeleton.d.ts +4 -0
  308. package/lib/shardui/skeleton.d.ts.map +1 -0
  309. package/lib/shardui/skeleton.js +9 -0
  310. package/lib/shardui/skeleton.js.map +1 -0
  311. package/lib/shardui/slider.d.ts +5 -0
  312. package/lib/shardui/slider.d.ts.map +1 -0
  313. package/lib/shardui/slider.js +15 -0
  314. package/lib/shardui/slider.js.map +1 -0
  315. package/lib/shardui/sonner.d.ts +6 -0
  316. package/lib/shardui/sonner.d.ts.map +1 -0
  317. package/lib/shardui/sonner.js +20 -0
  318. package/lib/shardui/sonner.js.map +1 -0
  319. package/lib/shardui/switch.d.ts +5 -0
  320. package/lib/shardui/switch.d.ts.map +1 -0
  321. package/lib/shardui/switch.js +11 -0
  322. package/lib/shardui/switch.js.map +1 -0
  323. package/lib/shardui/table.d.ts +11 -0
  324. package/lib/shardui/table.d.ts.map +1 -0
  325. package/lib/shardui/table.js +74 -0
  326. package/lib/shardui/table.js.map +1 -0
  327. package/lib/shardui/tabs.d.ts +8 -0
  328. package/lib/shardui/tabs.d.ts.map +1 -0
  329. package/lib/shardui/tabs.js +28 -0
  330. package/lib/shardui/tabs.js.map +1 -0
  331. package/lib/shardui/textarea.d.ts +6 -0
  332. package/lib/shardui/textarea.d.ts.map +1 -0
  333. package/lib/shardui/textarea.js +11 -0
  334. package/lib/shardui/textarea.js.map +1 -0
  335. package/lib/shardui/toast.d.ts +16 -0
  336. package/lib/shardui/toast.d.ts.map +1 -0
  337. package/lib/shardui/toast.js +74 -0
  338. package/lib/shardui/toast.js.map +1 -0
  339. package/lib/shardui/toaster.d.ts +3 -0
  340. package/lib/shardui/toaster.d.ts.map +1 -0
  341. package/lib/shardui/toaster.js +19 -0
  342. package/lib/shardui/toaster.js.map +1 -0
  343. package/lib/shardui/toggle-group.d.ts +13 -0
  344. package/lib/shardui/toggle-group.d.ts.map +1 -0
  345. package/lib/shardui/toggle-group.js +39 -0
  346. package/lib/shardui/toggle-group.js.map +1 -0
  347. package/lib/shardui/toggle.d.ts +13 -0
  348. package/lib/shardui/toggle.d.ts.map +1 -0
  349. package/lib/shardui/toggle.js +32 -0
  350. package/lib/shardui/toggle.js.map +1 -0
  351. package/lib/shardui/tooltip.d.ts +8 -0
  352. package/lib/shardui/tooltip.d.ts.map +1 -0
  353. package/lib/shardui/tooltip.js +14 -0
  354. package/lib/shardui/tooltip.js.map +1 -0
  355. package/lib/shardui/use-toast.d.ts +3 -0
  356. package/lib/shardui/use-toast.d.ts.map +1 -0
  357. package/lib/utils/hooks/use-mobile.d.ts +2 -0
  358. package/lib/utils/hooks/use-mobile.d.ts.map +1 -0
  359. package/lib/utils/hooks/use-mobile.js +14 -0
  360. package/lib/utils/hooks/use-mobile.js.map +1 -0
  361. package/lib/utils/hooks/use-toast.d.ts +45 -0
  362. package/lib/utils/hooks/use-toast.d.ts.map +1 -0
  363. package/lib/utils/hooks/use-toast.js +133 -0
  364. package/lib/utils/hooks/use-toast.js.map +1 -0
  365. package/lib/utils/index.d.ts +7 -1
  366. package/lib/utils/index.d.ts.map +1 -1
  367. package/lib/utils/isBrowser/index.js +1 -0
  368. package/lib/utils/isBrowser/index.js.map +1 -0
  369. package/lib/utils/util.d.ts +3 -0
  370. package/lib/utils/util.d.ts.map +1 -0
  371. package/lib/utils/util.js +3 -0
  372. package/lib/utils/util.js.map +1 -0
  373. package/package.json +58 -3
@@ -1,4 +1,4 @@
1
- import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {useState,useEffect}from'react';import {OTPInput}from'./OTPInput.js';import {icons}from'../../icons/index.js';const OTPVerification = ({
1
+ import React__default,{useState,useEffect}from'react';import {OTPInput}from'./OTPInput.js';import {icons}from'../../icons/index.js';const OTPVerification = ({
2
2
  length = 4,
3
3
  onVerificationSuccess,
4
4
  onVerificationFailed,
@@ -78,78 +78,58 @@ import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {useState,useEffect}fro
78
78
  alert('Code resent!');
79
79
  }
80
80
  };
81
- return jsxs("div", {
82
- className: "max-w-fit w-full bg-white rounded-2xl shadow-xl overflow-hidden",
83
- children: [jsxs("div", {
84
- className: "p-8",
85
- children: [jsx("div", {
86
- className: `flex items-center justify-center w-16 h-16 rounded-full mx-auto mb-6 transition-colors duration-300 ${isVerified ? 'bg-green-100' : isInvalid ? 'bg-red-100' : 'bg-blue-100'}`,
87
- children: isVerified ? jsx(CheckIcon, {
88
- className: "w-8 h-8 text-green-600"
89
- }) : isInvalid ? jsx(AlertIcon, {
90
- className: "w-8 h-8 text-red-600"
91
- }) : jsx(LockIcon, {
92
- className: "w-8 h-8 text-blue-600"
93
- })
94
- }), jsx("h1", {
95
- className: `text-2xl font-bold text-center mb-2 ${isVerified ? 'text-green-800' : isInvalid ? 'text-red-800' : 'text-gray-800'}`,
96
- children: isVerified ? 'Verification Complete' : title
97
- }), jsx("p", {
98
- className: `text-center mb-8 ${isVerified ? 'text-green-600' : isInvalid ? 'text-red-600' : 'text-gray-600'}`,
99
- children: isVerified ? successMessage : isInvalid ? errorMessage : description
100
- }), !isVerified ? jsxs(Fragment, {
101
- children: [jsx("div", {
102
- className: "mb-6",
103
- children: jsx(OTPInput, {
104
- value: otp,
105
- onChange: handleChange,
106
- numInputs: length,
107
- shouldAutoFocus: true,
108
- inputType: "number",
109
- renderSeparator: jsx("span", {
110
- className: "text-gray-300",
111
- children: "\u2022"
112
- }),
113
- containerClassName: `justify-center ${isInvalid ? 'animate-shake' : ''}`,
114
- inputClassName: isInvalid ? 'border-red-500 text-red-500' : ''
115
- })
116
- }), jsxs("div", {
117
- className: "text-center mb-6",
118
- children: [jsx("p", {
119
- className: "text-sm text-gray-500",
120
- children: "Didn't receive a code?"
121
- }), jsx("button", {
122
- className: "text-blue-600 font-medium text-sm hover:text-blue-800 transition-colors mt-1",
123
- onClick: handleResendCode,
124
- children: resendCodeText
125
- })]
126
- }), jsxs("div", {
127
- className: "flex items-center justify-center text-sm text-gray-600",
128
- children: [jsx(KeyIcon, {
129
- className: "w-4 h-4 mr-2"
130
- }), jsx("span", {
131
- children: "Secured with end-to-end encryption"
132
- })]
133
- })]
134
- }) : jsx("button", {
135
- className: "w-full py-3 bg-green-600 text-white rounded-lg font-medium hover:bg-green-700 transition-colors",
136
- onClick: handleContinue,
137
- children: continueButtonText
138
- })]
139
- }), showFooter && jsx("div", {
140
- className: "bg-gray-50 py-4 px-8 border-t border-gray-100",
141
- children: jsxs("p", {
142
- className: "text-xs text-center text-gray-500",
143
- children: ["By continuing, you agree to our", ' ', jsx("a", {
144
- href: "#",
145
- className: "text-blue-600",
146
- children: "Terms of Service"
147
- }), ' ', "and", ' ', jsx("a", {
148
- href: "#",
149
- className: "text-blue-600",
150
- children: "Privacy Policy"
151
- })]
152
- })
153
- })]
154
- });
81
+ return React__default.createElement("div", {
82
+ className: "max-w-fit w-full bg-white rounded-2xl shadow-xl overflow-hidden"
83
+ }, React__default.createElement("div", {
84
+ className: "p-8"
85
+ }, React__default.createElement("div", {
86
+ className: `flex items-center justify-center w-16 h-16 rounded-full mx-auto mb-6 transition-colors duration-300 ${isVerified ? 'bg-green-100' : isInvalid ? 'bg-red-100' : 'bg-blue-100'}`
87
+ }, isVerified ? React__default.createElement(CheckIcon, {
88
+ className: "w-8 h-8 text-green-600"
89
+ }) : isInvalid ? React__default.createElement(AlertIcon, {
90
+ className: "w-8 h-8 text-red-600"
91
+ }) : React__default.createElement(LockIcon, {
92
+ className: "w-8 h-8 text-blue-600"
93
+ })), React__default.createElement("h1", {
94
+ className: `text-2xl font-bold text-center mb-2 ${isVerified ? 'text-green-800' : isInvalid ? 'text-red-800' : 'text-gray-800'}`
95
+ }, isVerified ? 'Verification Complete' : title), React__default.createElement("p", {
96
+ className: `text-center mb-8 ${isVerified ? 'text-green-600' : isInvalid ? 'text-red-600' : 'text-gray-600'}`
97
+ }, isVerified ? successMessage : isInvalid ? errorMessage : description), !isVerified ? React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
98
+ className: "mb-6"
99
+ }, React__default.createElement(OTPInput, {
100
+ value: otp,
101
+ onChange: handleChange,
102
+ numInputs: length,
103
+ shouldAutoFocus: true,
104
+ inputType: "number",
105
+ renderSeparator: React__default.createElement("span", {
106
+ className: "text-gray-300"
107
+ }, "\u2022"),
108
+ containerClassName: `justify-center ${isInvalid ? 'animate-shake' : ''}`,
109
+ inputClassName: isInvalid ? 'border-red-500 text-red-500' : ''
110
+ })), React__default.createElement("div", {
111
+ className: "text-center mb-6"
112
+ }, React__default.createElement("p", {
113
+ className: "text-sm text-gray-500"
114
+ }, "Didn't receive a code?"), React__default.createElement("button", {
115
+ className: "text-blue-600 font-medium text-sm hover:text-blue-800 transition-colors mt-1",
116
+ onClick: handleResendCode
117
+ }, resendCodeText)), React__default.createElement("div", {
118
+ className: "flex items-center justify-center text-sm text-gray-600"
119
+ }, React__default.createElement(KeyIcon, {
120
+ className: "w-4 h-4 mr-2"
121
+ }), React__default.createElement("span", null, "Secured with end-to-end encryption"))) : React__default.createElement("button", {
122
+ className: "w-full py-3 bg-green-600 text-white rounded-lg font-medium hover:bg-green-700 transition-colors",
123
+ onClick: handleContinue
124
+ }, continueButtonText)), showFooter && React__default.createElement("div", {
125
+ className: "bg-gray-50 py-4 px-8 border-t border-gray-100"
126
+ }, React__default.createElement("p", {
127
+ className: "text-xs text-center text-gray-500"
128
+ }, "By continuing, you agree to our", ' ', React__default.createElement("a", {
129
+ href: "#",
130
+ className: "text-blue-600"
131
+ }, "Terms of Service"), ' ', "and", ' ', React__default.createElement("a", {
132
+ href: "#",
133
+ className: "text-blue-600"
134
+ }, "Privacy Policy"))));
155
135
  };export{OTPVerification};//# sourceMappingURL=OTPVerification.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OTPVerification.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"OTPVerification.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import {jsx}from'react/jsx-runtime';import {forwardRef}from'react';const SingleInput = forwardRef(({
1
+ import React__default,{forwardRef}from'react';const SingleInput = forwardRef(({
2
2
  value,
3
3
  focused,
4
4
  type,
@@ -13,7 +13,7 @@ import {jsx}from'react/jsx-runtime';import {forwardRef}from'react';const SingleI
13
13
  className,
14
14
  ...props
15
15
  }, ref) => {
16
- return jsx("input", {
16
+ return React__default.createElement("input", {
17
17
  ref: ref,
18
18
  className: `
19
19
  w-12 h-12 md:w-14 md:h-14
@@ -1 +1 @@
1
- {"version":3,"file":"SingleInput.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SingleInput.js","sources":["../../../src/components/OTP/SingleInput.tsx"],"sourcesContent":[null],"names":[],"mappings":"8CAGA,MAAA,WAAa,GAAA,UAAW,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../../src/components/OTP/utils.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AAEA;;AAGA;AAEA;;AAEG,MAAA,iBAAA,GAAA,CAAA,KAAA,EAAA,UAAA,KAAA;AACH,EAAO,MAAA,WAAA,GAAuB,UAAA,GAAA,CAAA,KAAI,CAAO,MAAA,CAAA,KAAM,EAAE,GAAY,OAAA,KAAA,KAAU,QAAA;AAKvE,EAAA,OAAA,WAAA,IAAA,KAAA,CAAA,IAAA,EAAA,CAAA,MAAA,KAAA,CAAA;;AAEG;AACH;AAEA;;AAEG;AACH;AAGA;;AAEG;AACH;AAaA;;AAEG,EAAA,IAAA,OAAA,WAAA,KAAA,QAAA,EAAA;AACH,IAAA,IAAA,kBAA8B,KAAA,SAAA,EAAkB;;;;;;;;;;;;"}
1
+ {"version":3,"file":"utils.js","sources":["../../../src/components/OTP/utils.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAA;AAEA;;AAGA;AAEA;;AAEG,MAAA,iBAAA,GAAA,CAAA,KAAA,EAAA,UAAA,KAAA;AACH,EAAA,MAAA,WAAO,GAAM,UAAA,GAAA,CAAA,KAAqB,CAAA,MAAO,CAAA,KAAM,EAAE,GAAA,OAAA,KAAY,KAAO,QAAG;AAKvE,EAAA,OAAA,WAAA,IAAA,KAAA,CAAA,IAAA,EAAA,CAAA,MAAA,KAAA,CAAA;;AAEG;AACH;AAEA;;AAEG;AACH;AAGA;;AAEG;AACH;AAaA;;AAEG,EAAA,IAAA,OAAA,WAAA,KAAA,QAAA,EAAA;AACH,IAAA,IAAA,kBAAa,KAAA,SAAiB,EAAI;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["../../../src/components/PageContainer/PageContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0DtD,CAAC"}
1
+ {"version":3,"file":"PageContainer.d.ts","sourceRoot":"","sources":["../../../src/components/PageContainer/PageContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAGlD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgEtD,CAAC"}
@@ -1,4 +1,4 @@
1
- import {jsx,jsxs}from'react/jsx-runtime';import {useState,useEffect}from'react';import {useLocation,useNavigate}from'@remix-run/react';import {Spin}from'../Spin/index.js';const PageContainer = props => {
1
+ import React__default,{useState,useEffect}from'react';import {useLocation,useNavigate}from'@remix-run/react';import {Spin}from'../Spin/index.js';const PageContainer = props => {
2
2
  const {
3
3
  tabList,
4
4
  tabActiveKey,
@@ -12,7 +12,8 @@ import {jsx,jsxs}from'react/jsx-runtime';import {useState,useEffect}from'react';
12
12
  useEffect(() => {
13
13
  if (tabList && tabList.length > 0) {
14
14
  const currentPath = location.pathname;
15
- const matchedTab = tabList.find(tab => currentPath === tab.path);
15
+ // Find a tab where the current path starts with the tab's path (to handle child routes)
16
+ const matchedTab = tabList.find(tab => currentPath.startsWith(tab.path));
16
17
  const defaultKey = tabList[0]?.path;
17
18
  setActiveTabKey(matchedTab ? matchedTab.path : defaultKey);
18
19
  }
@@ -27,31 +28,29 @@ import {jsx,jsxs}from'react/jsx-runtime';import {useState,useEffect}from'react';
27
28
  key: tab.path
28
29
  }));
29
30
  if (loading) {
30
- return jsx(Spin, {});
31
+ return React__default.createElement(Spin, null);
31
32
  }
32
- return jsxs("div", {
33
- className: "custom-page-container",
34
- children: [tabList && tabList.length > 0 && jsx("div", {
35
- className: "mb-4 border-b border-gray-200",
36
- children: jsxs("div", {
37
- className: "flex items-center justify-between",
38
- children: [jsx("ul", {
39
- className: "flex flex-wrap -mb-px",
40
- children: tabList.map(tab => jsx("li", {
41
- className: "mr-2",
42
- children: jsx("button", {
43
- onClick: () => handleTabChange(tab.path),
44
- className: `inline-block p-4 ${activeTabKey === tab.path ? 'border-b-2 border-blue-500 text-blue-500' : 'border-b-2 border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-600'}`,
45
- children: tab.tab
46
- })
47
- }, tab.path))
48
- }), tabBarExtraContent && jsx("div", {
49
- children: tabBarExtraContent
50
- })]
51
- })
52
- }), jsx("div", {
53
- className: "page-content",
54
- children: props.children
55
- })]
56
- });
33
+ return React__default.createElement("div", {
34
+ className: "themed-card p-4"
35
+ }, tabList && tabList.length > 0 && React__default.createElement("div", {
36
+ className: "border-b border-border mb-4"
37
+ }, React__default.createElement("div", {
38
+ className: "flex items-center justify-between"
39
+ }, React__default.createElement("ul", {
40
+ className: "flex flex-wrap -mb-px"
41
+ }, tabList.map(tab => React__default.createElement("li", {
42
+ key: tab.path,
43
+ className: "mr-2"
44
+ }, React__default.createElement("button", {
45
+ onClick: () => handleTabChange(tab.path),
46
+ className: `
47
+ inline-block p-4 transition-colors
48
+ ${activeTabKey === tab.path ? 'text-primary border-b-2 border-primary' : 'text-muted-foreground hover:text-foreground border-b-2 border-transparent hover:border-accent'}
49
+ focus-themed
50
+ `
51
+ }, tab.tab)))), tabBarExtraContent && React__default.createElement("div", {
52
+ className: "text-muted-foreground"
53
+ }, tabBarExtraContent))), React__default.createElement("div", {
54
+ className: "page-content text-foreground"
55
+ }, props.children));
57
56
  };export{PageContainer};//# sourceMappingURL=PageContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PageContainer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"PageContainer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,9 +1,8 @@
1
- import {jsx}from'react/jsx-runtime';import {Spin}from'../Spin/index.js';const PageLoading = ({
1
+ import React__default from'react';import {Spin}from'../Spin/index.js';const PageLoading = ({
2
2
  tip
3
- }) => jsx("div", {
4
- className: "pt-24 text-center",
5
- children: jsx(Spin, {
6
- size: "large",
7
- tip: tip
8
- })
9
- });export{PageLoading as default};//# sourceMappingURL=index.js.map
3
+ }) => React__default.createElement("div", {
4
+ className: "pt-24 text-center"
5
+ }, React__default.createElement(Spin, {
6
+ size: "large",
7
+ tip: tip
8
+ }));export{PageLoading as default};//# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/PageLoading/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"wEAIO,MAAA,WAAU,GAAA,CAAA;AAChB,EAIA;AAED,CAAA,KAAAA,GAAA,CAAA;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/PageLoading/index.tsx"],"sourcesContent":[null],"names":["React"],"mappings":"sEAII,MAAA,WAAa,GAAA,CAAA;AAChB,EAIA;AAED,CAAA,KAAAA,cAAA,CAAA,cAA0B,KAAC,EAAA;;;;;"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ export interface SelectWidgetProps extends WidgetProps {
4
+ multiple?: boolean;
5
+ widgetContext?: {
6
+ fetcher?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
7
+ formData: Record<string, any>;
8
+ };
9
+ }
10
+ declare const PreviewAsyncDropdown: (props: SelectWidgetProps) => React.JSX.Element;
11
+ export default PreviewAsyncDropdown;
12
+ //# sourceMappingURL=PreviewAsyncDropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewAsyncDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewAsyncDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE;QACZ,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC9E,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KACjC,CAAC;CACL;AAOD,QAAA,MAAM,oBAAoB,GAAI,OAAO,iBAAiB,sBA6GrD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ interface PreviewCheckboxWidgetProps extends WidgetProps {
4
+ placeholder?: string;
5
+ }
6
+ export declare const PreviewCheckboxWidget: React.FC<PreviewCheckboxWidgetProps>;
7
+ export {};
8
+ //# sourceMappingURL=PreviewCheckboxWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewCheckboxWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewCheckboxWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,0BAA2B,SAAQ,WAAW;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAwHtE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { FieldTemplateProps } from '@rjsf/utils';
3
+ export declare const PreviewCustomFieldTemplate: React.FC<FieldTemplateProps>;
4
+ //# sourceMappingURL=PreviewCustomFieldTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewCustomFieldTemplate.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewCustomFieldTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAMjD,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoPnE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ interface PreviewDateWidgetProps extends WidgetProps {
4
+ placeholder?: string;
5
+ }
6
+ export declare const PreviewDateWidget: React.FC<PreviewDateWidgetProps>;
7
+ export {};
8
+ //# sourceMappingURL=PreviewDateWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewDateWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewDateWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAiB1C,UAAU,sBAAuB,SAAQ,WAAW;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA6K9D,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface PreviewDialogProps {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ children: React.ReactNode;
6
+ }
7
+ export declare const PreviewDialog: React.FC<PreviewDialogProps>;
8
+ export {};
9
+ //# sourceMappingURL=PreviewDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewDialog.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmBtD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ interface PreviewDropdownWidgetProps extends WidgetProps {
4
+ placeholder?: string;
5
+ }
6
+ export declare const PreviewDropdownWidget: React.FC<PreviewDropdownWidgetProps>;
7
+ export {};
8
+ //# sourceMappingURL=PreviewDropdownWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewDropdownWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewDropdownWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,0BAA2B,SAAQ,WAAW;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAqEtE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { FieldTemplateProps } from '@rjsf/utils';
3
+ export declare const PreviewFieldTemplate: React.FC<FieldTemplateProps>;
4
+ //# sourceMappingURL=PreviewFieldTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewFieldTemplate.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewFieldTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgE7D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ export declare const PreviewFileUploadWidget: React.FC<WidgetProps>;
4
+ //# sourceMappingURL=PreviewFileUploadWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewFileUploadWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewFileUploadWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAmHzD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ interface PreviewFormRendererProps {
3
+ schema: any;
4
+ uiSchema: any;
5
+ stepName?: string;
6
+ onNext?: (data: Record<string, any>) => void;
7
+ onPrevious?: () => void;
8
+ initialData?: Record<string, any>;
9
+ isLoading?: boolean;
10
+ isLastStep?: boolean;
11
+ customValidateFunction?: (formData: any, errors: any, uiSchema: any) => any;
12
+ validator?: any;
13
+ }
14
+ export declare const PreviewFormRenderer: React.FC<PreviewFormRendererProps>;
15
+ export {};
16
+ //# sourceMappingURL=PreviewFormRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewFormRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewFormRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAiBxC,UAAU,wBAAwB;IAC9B,MAAM,EAAE,GAAG,CAAC;IACZ,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC;IAC5E,SAAS,CAAC,EAAE,GAAG,CAAC;CACnB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA2OlE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ export declare const PreviewImageUploadWidget: React.FC<WidgetProps>;
4
+ //# sourceMappingURL=PreviewImageUploadWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewImageUploadWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewImageUploadWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA4G1D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ export declare const PreviewInputWidget: React.FC<WidgetProps>;
4
+ //# sourceMappingURL=PreviewInputWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewInputWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewInputWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA6EpD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ObjectFieldTemplateProps } from '@rjsf/utils';
3
+ export declare const PreviewObjectFieldTemplate: React.FC<ObjectFieldTemplateProps>;
4
+ //# sourceMappingURL=PreviewObjectFieldTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewObjectFieldTemplate.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewObjectFieldTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAgCzE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ interface PreviewRadioWidgetProps extends WidgetProps {
4
+ placeholder?: string;
5
+ }
6
+ export declare const PreviewRadioWidget: React.FC<PreviewRadioWidgetProps>;
7
+ export {};
8
+ //# sourceMappingURL=PreviewRadioWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewRadioWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewRadioWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,uBAAwB,SAAQ,WAAW;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAwEhE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface PreviewStepperProps {
3
+ steps: string[];
4
+ currentStep: string;
5
+ schema: any;
6
+ }
7
+ export declare const PreviewStepper: React.FC<PreviewStepperProps>;
8
+ export {};
9
+ //# sourceMappingURL=PreviewStepper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewStepper.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewStepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,mBAAmB;IACzB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,GAAG,CAAC;CACf;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmDxD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ interface PreviewSwitchWidgetProps extends WidgetProps {
4
+ placeholder?: string;
5
+ showTitle?: boolean;
6
+ }
7
+ export declare const PreviewSwitchWidget: React.FC<PreviewSwitchWidgetProps>;
8
+ export {};
9
+ //# sourceMappingURL=PreviewSwitchWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewSwitchWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewSwitchWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,wBAAyB,SAAQ,WAAW;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAoFlE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ interface PreviewTabProps {
3
+ formSchema: any;
4
+ uiSchema: any;
5
+ customValidateFunction: (formData: any, errors: any, uiSchema: any) => any;
6
+ validator: any;
7
+ handleSubmit: ({ formData, generatedSchema, amenitiesFragmentSchema, }: {
8
+ formData: any;
9
+ generatedSchema?: any;
10
+ amenitiesFragmentSchema?: any;
11
+ }) => void;
12
+ isConfigurationSchema?: boolean;
13
+ extensionData?: any;
14
+ }
15
+ export declare const PreviewTab: React.FC<PreviewTabProps>;
16
+ export {};
17
+ //# sourceMappingURL=PreviewTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewTab.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAMjD,UAAU,eAAe;IACrB,UAAU,EAAE,GAAG,CAAC;IAChB,QAAQ,EAAE,GAAG,CAAC;IACd,sBAAsB,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC;IAC3E,SAAS,EAAE,GAAG,CAAC;IACf,YAAY,EAAE,CAAC,EACX,QAAQ,EACR,eAAe,EACf,uBAAuB,GAC1B,EAAE;QACC,QAAQ,EAAE,GAAG,CAAC;QACd,eAAe,CAAC,EAAE,GAAG,CAAC;QACtB,uBAAuB,CAAC,EAAE,GAAG,CAAC;KACjC,KAAK,IAAI,CAAC;IACX,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,aAAa,CAAC,EAAE,GAAG,CAAC;CACvB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA4XhD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { WidgetProps } from '@rjsf/utils';
3
+ interface PreviewTextareaWidgetProps extends WidgetProps {
4
+ placeholder?: string;
5
+ }
6
+ export declare const PreviewTextareaWidget: React.FC<PreviewTextareaWidgetProps>;
7
+ export {};
8
+ //# sourceMappingURL=PreviewTextareaWidget.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreviewTextareaWidget.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/PreviewTextareaWidget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,0BAA2B,SAAQ,WAAW;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CAiDtE,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generates a JSON schema with input values embedded in the properties
3
+ */
4
+ export declare function generateSchemaWithInputs(formSchema: any, formData: any): any;
5
+ export declare function extractConfigurationFormData(formData: any): any;
6
+ export declare function extractMultiStepFormData(formData: any): any;
7
+ export declare function extractConfigurationAnswers(extensionData: any): any;
8
+ export declare function generateAmenitiesFragmentSchema(formSchema: any): any;
9
+ //# sourceMappingURL=generateSchemaWithInputs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateSchemaWithInputs.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/generateSchemaWithInputs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,UAAU,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,GAAG,GAAG,CA0D5E;AAED,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,CAE/D;AAED,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,CAQ3D;AAED,wBAAgB,2BAA2B,CAAC,aAAa,EAAE,GAAG,GAAG,GAAG,CAsFnE;AAED,wBAAgB,+BAA+B,CAAC,UAAU,EAAE,GAAG,GAAG,GAAG,CAmEpE"}
@@ -0,0 +1,2 @@
1
+ export { PreviewTab } from './PreviewTab';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/RJSFPreview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  export interface IReactTableInterface {
2
3
  columns: any[];
3
4
  data: any[];
@@ -14,5 +15,5 @@ export interface IReactTableInterface {
14
15
  showFilters?: Boolean;
15
16
  onSelectedRowsChange?: Function;
16
17
  }
17
- export declare const ReactTable: (props: IReactTableInterface) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const ReactTable: (props: IReactTableInterface) => React.JSX.Element;
18
19
  //# sourceMappingURL=Table.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/ReactTable/Table.tsx"],"names":[],"mappings":"AAyCA,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,QAAQ,CAAC;CACnC;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,oBAAoB,4CAgNrD,CAAC"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/ReactTable/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsC1B,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,GAAG,EAAE,CAAC;IACf,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,QAAQ,CAAC;CACnC;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,oBAAoB,sBAgNrD,CAAC"}