zudoku 0.51.0 → 0.52.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 (322) hide show
  1. package/dist/config/validators/InputNavigationSchema.d.ts +152 -0
  2. package/dist/config/validators/NavigationSchema.js +1 -1
  3. package/dist/config/validators/NavigationSchema.js.map +1 -1
  4. package/dist/config/validators/icon-types.d.ts +1 -1
  5. package/dist/config/validators/icon-types.js +38 -0
  6. package/dist/config/validators/icon-types.js.map +1 -1
  7. package/dist/config/validators/validate.d.ts +10 -0
  8. package/dist/config/validators/validate.js +7 -0
  9. package/dist/config/validators/validate.js.map +1 -1
  10. package/dist/lib/components/Autocomplete.js +1 -1
  11. package/dist/lib/components/Autocomplete.js.map +1 -1
  12. package/dist/lib/components/ErrorPage.js +2 -2
  13. package/dist/lib/components/ErrorPage.js.map +1 -1
  14. package/dist/lib/components/Markdown.d.ts +0 -1
  15. package/dist/lib/components/Markdown.js +2 -3
  16. package/dist/lib/components/Markdown.js.map +1 -1
  17. package/dist/lib/components/NotFoundPage.js +2 -2
  18. package/dist/lib/components/NotFoundPage.js.map +1 -1
  19. package/dist/lib/components/Pagination.js +1 -1
  20. package/dist/lib/components/Pagination.js.map +1 -1
  21. package/dist/lib/components/Typography.d.ts +5 -0
  22. package/dist/lib/components/Typography.js +8 -0
  23. package/dist/lib/components/Typography.js.map +1 -0
  24. package/dist/lib/components/index.d.ts +4 -0
  25. package/dist/lib/components/index.js +2 -0
  26. package/dist/lib/components/index.js.map +1 -1
  27. package/dist/lib/errors/ErrorAlert.js +2 -3
  28. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  29. package/dist/lib/hooks/useHotkey.d.ts +4 -0
  30. package/dist/lib/hooks/useHotkey.js +58 -0
  31. package/dist/lib/hooks/useHotkey.js.map +1 -0
  32. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +4 -8
  33. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  34. package/dist/lib/plugins/custom-pages/index.d.ts +1 -4
  35. package/dist/lib/plugins/custom-pages/index.js +1 -3
  36. package/dist/lib/plugins/custom-pages/index.js.map +1 -1
  37. package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -2
  38. package/dist/lib/plugins/markdown/MdxPage.js +22 -6
  39. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  40. package/dist/lib/plugins/markdown/index.d.ts +8 -1
  41. package/dist/lib/plugins/markdown/index.js +1 -1
  42. package/dist/lib/plugins/markdown/index.js.map +1 -1
  43. package/dist/lib/plugins/openapi/OperationList.js +2 -3
  44. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  45. package/dist/lib/plugins/openapi/OperationListItem.js +2 -2
  46. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  47. package/dist/lib/plugins/openapi/ParameterListItem.js +1 -1
  48. package/dist/lib/plugins/openapi/ParameterListItem.js.map +1 -1
  49. package/dist/lib/plugins/openapi/SchemaList.js +2 -3
  50. package/dist/lib/plugins/openapi/SchemaList.js.map +1 -1
  51. package/dist/lib/plugins/openapi/SidecarExamples.js +1 -1
  52. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  53. package/dist/lib/plugins/openapi/playground/BodyPanel.js +14 -11
  54. package/dist/lib/plugins/openapi/playground/BodyPanel.js.map +1 -1
  55. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.d.ts +8 -0
  56. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js +11 -0
  57. package/dist/lib/plugins/openapi/playground/CollapsibleHeader.js.map +1 -0
  58. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js +2 -2
  59. package/dist/lib/plugins/openapi/playground/ExamplesDropdown.js.map +1 -1
  60. package/dist/lib/plugins/openapi/playground/Headers.d.ts +3 -2
  61. package/dist/lib/plugins/openapi/playground/Headers.js +52 -30
  62. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  63. package/dist/lib/plugins/openapi/playground/IdentityDialog.js +2 -1
  64. package/dist/lib/plugins/openapi/playground/IdentityDialog.js.map +1 -1
  65. package/dist/lib/plugins/openapi/playground/IdentitySelector.js +1 -2
  66. package/dist/lib/plugins/openapi/playground/IdentitySelector.js.map +1 -1
  67. package/dist/lib/plugins/openapi/playground/InlineInput.js +1 -1
  68. package/dist/lib/plugins/openapi/playground/InlineInput.js.map +1 -1
  69. package/dist/lib/plugins/openapi/playground/ParamsGrid.js +2 -2
  70. package/dist/lib/plugins/openapi/playground/ParamsGrid.js.map +1 -1
  71. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -2
  72. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  73. package/dist/lib/plugins/openapi/playground/Playground.js +52 -34
  74. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  75. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  76. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  77. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +2 -2
  78. package/dist/lib/plugins/openapi/playground/QueryParams.js +38 -23
  79. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  80. package/dist/lib/plugins/openapi/playground/Spinner.d.ts +2 -0
  81. package/dist/lib/plugins/openapi/playground/Spinner.js +63 -0
  82. package/dist/lib/plugins/openapi/playground/Spinner.js.map +1 -0
  83. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.d.ts +3 -0
  84. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js +13 -0
  85. package/dist/lib/plugins/openapi/playground/request-panel/UrlPath.js.map +1 -0
  86. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.d.ts +1 -0
  87. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js +12 -0
  88. package/dist/lib/plugins/openapi/playground/request-panel/UrlQueryParams.js.map +1 -0
  89. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.d.ts +12 -0
  90. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js +11 -0
  91. package/dist/lib/plugins/openapi/playground/result-panel/Highlight.js.map +1 -0
  92. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.d.ts +6 -0
  93. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js +66 -0
  94. package/dist/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.js.map +1 -0
  95. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.d.ts +7 -4
  96. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js +23 -32
  97. package/dist/lib/plugins/openapi/playground/result-panel/ResponseTab.js.map +1 -1
  98. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.d.ts +2 -2
  99. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js +8 -10
  100. package/dist/lib/plugins/openapi/playground/result-panel/ResultPanel.js.map +1 -1
  101. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js +3 -3
  102. package/dist/lib/plugins/openapi/schema/SchemaExampleAndDefault.js.map +1 -1
  103. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js +2 -3
  104. package/dist/lib/plugins/openapi/schema/SchemaPropertyItem.js.map +1 -1
  105. package/dist/lib/plugins/openapi/schema/SchemaView.js +4 -4
  106. package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
  107. package/dist/lib/plugins/openapi/schema/utils.js +3 -2
  108. package/dist/lib/plugins/openapi/schema/utils.js.map +1 -1
  109. package/dist/lib/ui/CodeBlock.js +5 -6
  110. package/dist/lib/ui/CodeBlock.js.map +1 -1
  111. package/dist/lib/ui/Dialog.js +1 -1
  112. package/dist/lib/ui/Dialog.js.map +1 -1
  113. package/dist/lib/ui/EmbeddedCodeBlock.js +1 -1
  114. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -1
  115. package/dist/lib/ui/Select.js +1 -1
  116. package/dist/lib/util/os.d.ts +2 -0
  117. package/dist/lib/util/os.js +21 -0
  118. package/dist/lib/util/os.js.map +1 -0
  119. package/dist/lib/util/useCopyToClipboard.d.ts +1 -0
  120. package/dist/lib/util/useCopyToClipboard.js +11 -0
  121. package/dist/lib/util/useCopyToClipboard.js.map +1 -0
  122. package/dist/vite/api/SchemaManager.js +6 -2
  123. package/dist/vite/api/SchemaManager.js.map +1 -1
  124. package/dist/vite/api/schema-codegen.js +42 -11
  125. package/dist/vite/api/schema-codegen.js.map +1 -1
  126. package/dist/vite/api/schema-codegen.test.js +82 -0
  127. package/dist/vite/api/schema-codegen.test.js.map +1 -1
  128. package/dist/vite/mdx/remark-last-modified.d.ts +3 -0
  129. package/dist/vite/mdx/remark-last-modified.js +56 -0
  130. package/dist/vite/mdx/remark-last-modified.js.map +1 -0
  131. package/dist/vite/mdx/utils.d.ts +2 -0
  132. package/dist/vite/mdx/utils.js +31 -0
  133. package/dist/vite/mdx/utils.js.map +1 -0
  134. package/dist/vite/plugin-frontmatter.js +4 -2
  135. package/dist/vite/plugin-frontmatter.js.map +1 -1
  136. package/dist/vite/plugin-mdx.js +11 -33
  137. package/dist/vite/plugin-mdx.js.map +1 -1
  138. package/dist/vite/plugin-theme.js +21 -9
  139. package/dist/vite/plugin-theme.js.map +1 -1
  140. package/dist/vite/plugin-theme.test.js +22 -1
  141. package/dist/vite/plugin-theme.test.js.map +1 -1
  142. package/lib/Alert-CT_ViLrJ.js +161 -0
  143. package/lib/Alert-CT_ViLrJ.js.map +1 -0
  144. package/lib/CodeBlock-DAKxs_Tu.js +85 -0
  145. package/lib/CodeBlock-DAKxs_Tu.js.map +1 -0
  146. package/lib/Command-CPtGTZAL.js +140 -0
  147. package/lib/Command-CPtGTZAL.js.map +1 -0
  148. package/lib/{Dialog-BxpuVLh9.js → Dialog-DGlrUTCS.js} +4 -4
  149. package/lib/Dialog-DGlrUTCS.js.map +1 -0
  150. package/lib/MdxPage-D-QSUlMf.js +110 -0
  151. package/lib/MdxPage-D-QSUlMf.js.map +1 -0
  152. package/lib/{OasProvider-BC0q5m3u.js → OasProvider-DKB2uJU-.js} +3 -3
  153. package/lib/{OasProvider-BC0q5m3u.js.map → OasProvider-DKB2uJU-.js.map} +1 -1
  154. package/lib/{OperationList-Dpip6ozi.js → OperationList-CccIt45w.js} +579 -567
  155. package/lib/OperationList-CccIt45w.js.map +1 -0
  156. package/lib/Pagination-ClHXydm9.js +36 -0
  157. package/lib/Pagination-ClHXydm9.js.map +1 -0
  158. package/lib/RouteGuard-Bd-ppFbi.js +737 -0
  159. package/lib/RouteGuard-Bd-ppFbi.js.map +1 -0
  160. package/lib/{SchemaList-t4BIfh6Z.js → SchemaList-DY3FBF2U.js} +26 -37
  161. package/lib/SchemaList-DY3FBF2U.js.map +1 -0
  162. package/lib/{SchemaView-CLxthVcA.js → SchemaView-matL2maR.js} +94 -103
  163. package/lib/SchemaView-matL2maR.js.map +1 -0
  164. package/lib/{SignUp-B6w5AwHM.js → SignUp-CfojO4Pb.js} +13 -13
  165. package/lib/{SignUp-B6w5AwHM.js.map → SignUp-CfojO4Pb.js.map} +1 -1
  166. package/lib/{Markdown-BQ8YqLsz.js → Slot-DwZlQ-vX.js} +3347 -3001
  167. package/lib/Slot-DwZlQ-vX.js.map +1 -0
  168. package/lib/{SyntaxHighlight-C5ja40ix.js → SyntaxHighlight-CrjhGEwT.js} +3 -3
  169. package/lib/{SyntaxHighlight-C5ja40ix.js.map → SyntaxHighlight-CrjhGEwT.js.map} +1 -1
  170. package/lib/{Toc-BS0f4GTe.js → Toc-WCmwFkX-.js} +2 -2
  171. package/lib/{Toc-BS0f4GTe.js.map → Toc-WCmwFkX-.js.map} +1 -1
  172. package/lib/{chunk-DQRVZFIR-BblmKnHy.js → chunk-DQRVZFIR-DHK7_Ilc.js} +7 -7
  173. package/lib/{chunk-DQRVZFIR-BblmKnHy.js.map → chunk-DQRVZFIR-DHK7_Ilc.js.map} +1 -1
  174. package/lib/{circular-DfOaDE_x.js → circular-CqHpo7-e.js} +2 -2
  175. package/lib/{circular-DfOaDE_x.js.map → circular-CqHpo7-e.js.map} +1 -1
  176. package/lib/clerk-BDZ31hjU.js +25190 -0
  177. package/lib/clerk-BDZ31hjU.js.map +1 -0
  178. package/lib/{createServer-DjOMygls.js → createServer-ByKo3XCG.js} +4 -4
  179. package/lib/{createServer-DjOMygls.js.map → createServer-ByKo3XCG.js.map} +1 -1
  180. package/lib/{errors-D_5vKvUq.js → errors-BsabiSKg.js} +5 -5
  181. package/lib/{errors-D_5vKvUq.js.map → errors-BsabiSKg.js.map} +1 -1
  182. package/lib/{hook-CHXroBFt.js → hook-Bd0yS8M0.js} +36 -36
  183. package/lib/{hook-CHXroBFt.js.map → hook-Bd0yS8M0.js.map} +1 -1
  184. package/lib/index-BIbCx5Fh.js +3919 -0
  185. package/lib/index-BIbCx5Fh.js.map +1 -0
  186. package/lib/index-CEfpz8vY.js +3458 -0
  187. package/lib/index-CEfpz8vY.js.map +1 -0
  188. package/lib/{index-BvvmIczU.js → index-CcV90rin.js} +2 -2
  189. package/lib/{index-BvvmIczU.js.map → index-CcV90rin.js.map} +1 -1
  190. package/lib/index-ClhS5TxS.js +107 -0
  191. package/lib/index-ClhS5TxS.js.map +1 -0
  192. package/lib/ui/CodeBlock.js +6 -73
  193. package/lib/ui/CodeBlock.js.map +1 -1
  194. package/lib/ui/Command.js +1 -1
  195. package/lib/ui/Dialog.js +1 -1
  196. package/lib/ui/Dialog.js.map +1 -1
  197. package/lib/ui/EmbeddedCodeBlock.js +1 -1
  198. package/lib/ui/EmbeddedCodeBlock.js.map +1 -1
  199. package/lib/ui/Select.js +1 -1
  200. package/lib/ui/Select.js.map +1 -1
  201. package/lib/ui/SyntaxHighlight.js +3 -3
  202. package/lib/{useExposedProps-BZQkZneR.js → useExposedProps-BIYjecPD.js} +2 -2
  203. package/lib/{useExposedProps-BZQkZneR.js.map → useExposedProps-BIYjecPD.js.map} +1 -1
  204. package/lib/zudoku.auth-auth0.js +1 -1
  205. package/lib/zudoku.auth-azureb2c.js +2 -2
  206. package/lib/zudoku.auth-clerk.js +3 -3
  207. package/lib/zudoku.auth-openid.js +2 -2
  208. package/lib/zudoku.components.js +33 -3534
  209. package/lib/zudoku.components.js.map +1 -1
  210. package/lib/zudoku.hooks.js +10 -11
  211. package/lib/zudoku.hooks.js.map +1 -1
  212. package/lib/zudoku.plugin-api-catalog.js +6 -6
  213. package/lib/zudoku.plugin-api-keys.js +268 -321
  214. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  215. package/lib/zudoku.plugin-custom-pages.js +8 -20
  216. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  217. package/lib/zudoku.plugin-markdown.js +4 -5
  218. package/lib/zudoku.plugin-markdown.js.map +1 -1
  219. package/lib/zudoku.plugin-openapi.js +3 -3
  220. package/lib/zudoku.plugin-redirect.js +1 -1
  221. package/lib/zudoku.plugin-search-pagefind.js +201 -111
  222. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  223. package/package.json +5 -4
  224. package/src/lib/components/Autocomplete.tsx +1 -0
  225. package/src/lib/components/ErrorPage.tsx +3 -3
  226. package/src/lib/components/Markdown.tsx +3 -5
  227. package/src/lib/components/NotFoundPage.tsx +3 -3
  228. package/src/lib/components/Pagination.tsx +4 -4
  229. package/src/lib/components/Typography.tsx +14 -0
  230. package/src/lib/components/index.ts +2 -0
  231. package/src/lib/errors/ErrorAlert.tsx +3 -9
  232. package/src/lib/hooks/useHotkey.ts +70 -0
  233. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +5 -9
  234. package/src/lib/plugins/custom-pages/index.tsx +2 -6
  235. package/src/lib/plugins/markdown/MdxPage.tsx +66 -15
  236. package/src/lib/plugins/markdown/index.tsx +10 -2
  237. package/src/lib/plugins/openapi/OperationList.tsx +7 -17
  238. package/src/lib/plugins/openapi/OperationListItem.tsx +2 -2
  239. package/src/lib/plugins/openapi/ParameterListItem.tsx +6 -0
  240. package/src/lib/plugins/openapi/SchemaList.tsx +3 -9
  241. package/src/lib/plugins/openapi/SidecarExamples.tsx +1 -0
  242. package/src/lib/plugins/openapi/playground/BodyPanel.tsx +36 -28
  243. package/src/lib/plugins/openapi/playground/CollapsibleHeader.tsx +47 -0
  244. package/src/lib/plugins/openapi/playground/ExamplesDropdown.tsx +7 -3
  245. package/src/lib/plugins/openapi/playground/Headers.tsx +187 -89
  246. package/src/lib/plugins/openapi/playground/IdentityDialog.tsx +3 -2
  247. package/src/lib/plugins/openapi/playground/IdentitySelector.tsx +7 -12
  248. package/src/lib/plugins/openapi/playground/InlineInput.tsx +1 -1
  249. package/src/lib/plugins/openapi/playground/ParamsGrid.tsx +2 -2
  250. package/src/lib/plugins/openapi/playground/PathParams.tsx +3 -4
  251. package/src/lib/plugins/openapi/playground/Playground.tsx +196 -136
  252. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +1 -1
  253. package/src/lib/plugins/openapi/playground/QueryParams.tsx +102 -58
  254. package/src/lib/plugins/openapi/playground/Spinner.tsx +87 -0
  255. package/src/lib/plugins/openapi/playground/request-panel/UrlPath.tsx +31 -0
  256. package/src/lib/plugins/openapi/playground/request-panel/UrlQueryParams.tsx +25 -0
  257. package/src/lib/plugins/openapi/playground/result-panel/Highlight.tsx +26 -0
  258. package/src/lib/plugins/openapi/playground/result-panel/ResponseStatusBar.tsx +104 -0
  259. package/src/lib/plugins/openapi/playground/result-panel/ResponseTab.tsx +98 -97
  260. package/src/lib/plugins/openapi/playground/result-panel/ResultPanel.tsx +62 -92
  261. package/src/lib/plugins/openapi/schema/SchemaExampleAndDefault.tsx +3 -3
  262. package/src/lib/plugins/openapi/schema/SchemaPropertyItem.tsx +2 -3
  263. package/src/lib/plugins/openapi/schema/SchemaView.tsx +5 -10
  264. package/src/lib/plugins/openapi/schema/utils.ts +3 -2
  265. package/src/lib/ui/CodeBlock.tsx +5 -6
  266. package/src/lib/ui/Dialog.tsx +1 -1
  267. package/src/lib/ui/EmbeddedCodeBlock.tsx +1 -1
  268. package/src/lib/ui/Select.tsx +1 -1
  269. package/src/lib/util/os.ts +18 -0
  270. package/src/lib/util/useCopyToClipboard.ts +17 -0
  271. package/dist/flat-config.d.ts +0 -320
  272. package/dist/lib/plugins/custom-pages/CustomPage.d.ts +0 -2
  273. package/dist/lib/plugins/custom-pages/CustomPage.js +0 -11
  274. package/dist/lib/plugins/custom-pages/CustomPage.js.map +0 -1
  275. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +0 -4
  276. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +0 -22
  277. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +0 -1
  278. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.d.ts +0 -7
  279. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js +0 -11
  280. package/dist/lib/plugins/openapi/playground/result-panel/RequestTab.js.map +0 -1
  281. package/lib/Callout-CoVxYafP.js +0 -231
  282. package/lib/Callout-CoVxYafP.js.map +0 -1
  283. package/lib/CategoryHeading-Cu2RwgjC.js +0 -10
  284. package/lib/CategoryHeading-Cu2RwgjC.js.map +0 -1
  285. package/lib/Dialog-BxpuVLh9.js.map +0 -1
  286. package/lib/Markdown-BQ8YqLsz.js.map +0 -1
  287. package/lib/MdxPage-DJvKmI-r.js +0 -84
  288. package/lib/MdxPage-DJvKmI-r.js.map +0 -1
  289. package/lib/OperationList-Dpip6ozi.js.map +0 -1
  290. package/lib/Pagination-CCxhL836.js +0 -36
  291. package/lib/Pagination-CCxhL836.js.map +0 -1
  292. package/lib/RouteGuard-gV7nvzi7.js +0 -55
  293. package/lib/RouteGuard-gV7nvzi7.js.map +0 -1
  294. package/lib/SchemaList-t4BIfh6Z.js.map +0 -1
  295. package/lib/SchemaView-CLxthVcA.js.map +0 -1
  296. package/lib/Slot-CSEIvwwO.js +0 -161
  297. package/lib/Slot-CSEIvwwO.js.map +0 -1
  298. package/lib/clerk-yAKDC3Qz.js +0 -24812
  299. package/lib/clerk-yAKDC3Qz.js.map +0 -1
  300. package/lib/index--oeBayMa.js +0 -86
  301. package/lib/index--oeBayMa.js.map +0 -1
  302. package/lib/index-Bn6Lc9tq.js +0 -9
  303. package/lib/index-Bn6Lc9tq.js.map +0 -1
  304. package/lib/index-DW2qmCJa.js +0 -3227
  305. package/lib/index-DW2qmCJa.js.map +0 -1
  306. package/lib/index-QzXzw_ra.js +0 -24
  307. package/lib/index-QzXzw_ra.js.map +0 -1
  308. package/lib/index.esm-BFcSKCe-.js +0 -683
  309. package/lib/index.esm-BFcSKCe-.js.map +0 -1
  310. package/lib/mutation-BpcyTgWI.js +0 -196
  311. package/lib/mutation-BpcyTgWI.js.map +0 -1
  312. package/lib/objectEntries-yMIkr2mI.js +0 -5
  313. package/lib/objectEntries-yMIkr2mI.js.map +0 -1
  314. package/lib/react-nprogress.esm-C2MPXjiJ.js +0 -389
  315. package/lib/react-nprogress.esm-C2MPXjiJ.js.map +0 -1
  316. package/lib/useLatest-hmRS46UF.js +0 -11
  317. package/lib/useLatest-hmRS46UF.js.map +0 -1
  318. package/lib/useMutation-N4ockVKi.js +0 -97
  319. package/lib/useMutation-N4ockVKi.js.map +0 -1
  320. package/src/lib/plugins/custom-pages/CustomPage.tsx +0 -18
  321. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +0 -32
  322. package/src/lib/plugins/openapi/playground/result-panel/RequestTab.tsx +0 -73
@@ -1,389 +0,0 @@
1
- import { useRef as F, useCallback as g, useEffect as j, useState as ye } from "react";
2
- function I() {
3
- return I = Object.assign ? Object.assign.bind() : function(t) {
4
- for (var r = 1; r < arguments.length; r++) {
5
- var o = arguments[r];
6
- for (var a in o) ({}).hasOwnProperty.call(o, a) && (t[a] = o[a]);
7
- }
8
- return t;
9
- }, I.apply(null, arguments);
10
- }
11
- var N = { exports: {} }, u = {};
12
- /** @license React v16.13.1
13
- * react-is.production.min.js
14
- *
15
- * Copyright (c) Facebook, Inc. and its affiliates.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */
20
- var V;
21
- function pe() {
22
- if (V) return u;
23
- V = 1;
24
- var t = typeof Symbol == "function" && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, a = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, d = t ? Symbol.for("react.profiler") : 60114, l = t ? Symbol.for("react.provider") : 60109, m = t ? Symbol.for("react.context") : 60110, _ = t ? Symbol.for("react.async_mode") : 60111, S = t ? Symbol.for("react.concurrent_mode") : 60111, P = t ? Symbol.for("react.forward_ref") : 60112, T = t ? Symbol.for("react.suspense") : 60113, R = t ? Symbol.for("react.suspense_list") : 60120, p = t ? Symbol.for("react.memo") : 60115, c = t ? Symbol.for("react.lazy") : 60116, E = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, $ = t ? Symbol.for("react.responder") : 60118, A = t ? Symbol.for("react.scope") : 60119;
25
- function v(e) {
26
- if (typeof e == "object" && e !== null) {
27
- var f = e.$$typeof;
28
- switch (f) {
29
- case r:
30
- switch (e = e.type, e) {
31
- case _:
32
- case S:
33
- case a:
34
- case d:
35
- case s:
36
- case T:
37
- return e;
38
- default:
39
- switch (e = e && e.$$typeof, e) {
40
- case m:
41
- case P:
42
- case c:
43
- case p:
44
- case l:
45
- return e;
46
- default:
47
- return f;
48
- }
49
- }
50
- case o:
51
- return f;
52
- }
53
- }
54
- }
55
- function y(e) {
56
- return v(e) === S;
57
- }
58
- return u.AsyncMode = _, u.ConcurrentMode = S, u.ContextConsumer = m, u.ContextProvider = l, u.Element = r, u.ForwardRef = P, u.Fragment = a, u.Lazy = c, u.Memo = p, u.Portal = o, u.Profiler = d, u.StrictMode = s, u.Suspense = T, u.isAsyncMode = function(e) {
59
- return y(e) || v(e) === _;
60
- }, u.isConcurrentMode = y, u.isContextConsumer = function(e) {
61
- return v(e) === m;
62
- }, u.isContextProvider = function(e) {
63
- return v(e) === l;
64
- }, u.isElement = function(e) {
65
- return typeof e == "object" && e !== null && e.$$typeof === r;
66
- }, u.isForwardRef = function(e) {
67
- return v(e) === P;
68
- }, u.isFragment = function(e) {
69
- return v(e) === a;
70
- }, u.isLazy = function(e) {
71
- return v(e) === c;
72
- }, u.isMemo = function(e) {
73
- return v(e) === p;
74
- }, u.isPortal = function(e) {
75
- return v(e) === o;
76
- }, u.isProfiler = function(e) {
77
- return v(e) === d;
78
- }, u.isStrictMode = function(e) {
79
- return v(e) === s;
80
- }, u.isSuspense = function(e) {
81
- return v(e) === T;
82
- }, u.isValidElementType = function(e) {
83
- return typeof e == "string" || typeof e == "function" || e === a || e === S || e === d || e === s || e === T || e === R || typeof e == "object" && e !== null && (e.$$typeof === c || e.$$typeof === p || e.$$typeof === l || e.$$typeof === m || e.$$typeof === P || e.$$typeof === b || e.$$typeof === $ || e.$$typeof === A || e.$$typeof === E);
84
- }, u.typeOf = v, u;
85
- }
86
- var i = {};
87
- /** @license React v16.13.1
88
- * react-is.development.js
89
- *
90
- * Copyright (c) Facebook, Inc. and its affiliates.
91
- *
92
- * This source code is licensed under the MIT license found in the
93
- * LICENSE file in the root directory of this source tree.
94
- */
95
- var G;
96
- function Se() {
97
- return G || (G = 1, process.env.NODE_ENV !== "production" && function() {
98
- var t = typeof Symbol == "function" && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, a = t ? Symbol.for("react.fragment") : 60107, s = t ? Symbol.for("react.strict_mode") : 60108, d = t ? Symbol.for("react.profiler") : 60114, l = t ? Symbol.for("react.provider") : 60109, m = t ? Symbol.for("react.context") : 60110, _ = t ? Symbol.for("react.async_mode") : 60111, S = t ? Symbol.for("react.concurrent_mode") : 60111, P = t ? Symbol.for("react.forward_ref") : 60112, T = t ? Symbol.for("react.suspense") : 60113, R = t ? Symbol.for("react.suspense_list") : 60120, p = t ? Symbol.for("react.memo") : 60115, c = t ? Symbol.for("react.lazy") : 60116, E = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, $ = t ? Symbol.for("react.responder") : 60118, A = t ? Symbol.for("react.scope") : 60119;
99
- function v(n) {
100
- return typeof n == "string" || typeof n == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
101
- n === a || n === S || n === d || n === s || n === T || n === R || typeof n == "object" && n !== null && (n.$$typeof === c || n.$$typeof === p || n.$$typeof === l || n.$$typeof === m || n.$$typeof === P || n.$$typeof === b || n.$$typeof === $ || n.$$typeof === A || n.$$typeof === E);
102
- }
103
- function y(n) {
104
- if (typeof n == "object" && n !== null) {
105
- var Y = n.$$typeof;
106
- switch (Y) {
107
- case r:
108
- var w = n.type;
109
- switch (w) {
110
- case _:
111
- case S:
112
- case a:
113
- case d:
114
- case s:
115
- case T:
116
- return w;
117
- default:
118
- var U = w && w.$$typeof;
119
- switch (U) {
120
- case m:
121
- case P:
122
- case c:
123
- case p:
124
- case l:
125
- return U;
126
- default:
127
- return Y;
128
- }
129
- }
130
- case o:
131
- return Y;
132
- }
133
- }
134
- }
135
- var e = _, f = S, C = m, x = l, h = r, M = P, D = a, O = c, J = p, k = o, ee = d, re = s, te = T, L = !1;
136
- function ne(n) {
137
- return L || (L = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), z(n) || y(n) === _;
138
- }
139
- function z(n) {
140
- return y(n) === S;
141
- }
142
- function oe(n) {
143
- return y(n) === m;
144
- }
145
- function ae(n) {
146
- return y(n) === l;
147
- }
148
- function ue(n) {
149
- return typeof n == "object" && n !== null && n.$$typeof === r;
150
- }
151
- function ie(n) {
152
- return y(n) === P;
153
- }
154
- function ce(n) {
155
- return y(n) === a;
156
- }
157
- function fe(n) {
158
- return y(n) === c;
159
- }
160
- function se(n) {
161
- return y(n) === p;
162
- }
163
- function le(n) {
164
- return y(n) === o;
165
- }
166
- function de(n) {
167
- return y(n) === d;
168
- }
169
- function me(n) {
170
- return y(n) === s;
171
- }
172
- function ve(n) {
173
- return y(n) === T;
174
- }
175
- i.AsyncMode = e, i.ConcurrentMode = f, i.ContextConsumer = C, i.ContextProvider = x, i.Element = h, i.ForwardRef = M, i.Fragment = D, i.Lazy = O, i.Memo = J, i.Portal = k, i.Profiler = ee, i.StrictMode = re, i.Suspense = te, i.isAsyncMode = ne, i.isConcurrentMode = z, i.isContextConsumer = oe, i.isContextProvider = ae, i.isElement = ue, i.isForwardRef = ie, i.isFragment = ce, i.isLazy = fe, i.isMemo = se, i.isPortal = le, i.isProfiler = de, i.isStrictMode = me, i.isSuspense = ve, i.isValidElementType = v, i.typeOf = y;
176
- }()), i;
177
- }
178
- var W;
179
- function Ee() {
180
- return W || (W = 1, process.env.NODE_ENV === "production" ? N.exports = pe() : N.exports = Se()), N.exports;
181
- }
182
- var q, H;
183
- function _e() {
184
- if (H) return q;
185
- H = 1;
186
- var t = Ee(), r = {
187
- childContextTypes: !0,
188
- contextType: !0,
189
- contextTypes: !0,
190
- defaultProps: !0,
191
- displayName: !0,
192
- getDefaultProps: !0,
193
- getDerivedStateFromError: !0,
194
- getDerivedStateFromProps: !0,
195
- mixins: !0,
196
- propTypes: !0,
197
- type: !0
198
- }, o = {
199
- name: !0,
200
- length: !0,
201
- prototype: !0,
202
- caller: !0,
203
- callee: !0,
204
- arguments: !0,
205
- arity: !0
206
- }, a = {
207
- $$typeof: !0,
208
- render: !0,
209
- defaultProps: !0,
210
- displayName: !0,
211
- propTypes: !0
212
- }, s = {
213
- $$typeof: !0,
214
- compare: !0,
215
- defaultProps: !0,
216
- displayName: !0,
217
- propTypes: !0,
218
- type: !0
219
- }, d = {};
220
- d[t.ForwardRef] = a, d[t.Memo] = s;
221
- function l(c) {
222
- return t.isMemo(c) ? s : d[c.$$typeof] || r;
223
- }
224
- var m = Object.defineProperty, _ = Object.getOwnPropertyNames, S = Object.getOwnPropertySymbols, P = Object.getOwnPropertyDescriptor, T = Object.getPrototypeOf, R = Object.prototype;
225
- function p(c, E, b) {
226
- if (typeof E != "string") {
227
- if (R) {
228
- var $ = T(E);
229
- $ && $ !== R && p(c, $, b);
230
- }
231
- var A = _(E);
232
- S && (A = A.concat(S(E)));
233
- for (var v = l(c), y = l(E), e = 0; e < A.length; ++e) {
234
- var f = A[e];
235
- if (!o[f] && !(b && b[f]) && !(y && y[f]) && !(v && v[f])) {
236
- var C = P(E, f);
237
- try {
238
- m(c, f, C);
239
- } catch {
240
- }
241
- }
242
- }
243
- }
244
- return c;
245
- }
246
- return q = p, q;
247
- }
248
- _e();
249
- var X = function(r, o, a) {
250
- return r = r <= a ? r : a, r = r >= o ? r : o, r;
251
- }, Te = function() {
252
- var r = !1, o = [], a = function() {
253
- r = !0;
254
- var m = o.shift();
255
- if (m)
256
- return m(a);
257
- r = !1;
258
- }, s = function() {
259
- r = !1, o = [];
260
- }, d = function(m) {
261
- o.push(m), !r && o.length === 1 && a();
262
- };
263
- return {
264
- clear: s,
265
- enqueue: d
266
- };
267
- }, Pe = function() {
268
- var r, o = function() {
269
- r && window.cancelAnimationFrame(r);
270
- }, a = function(d, l) {
271
- var m, _, S = function(T) {
272
- if (_ = _ || T, m = T - _, m > l) {
273
- d();
274
- return;
275
- }
276
- r = window.requestAnimationFrame(S);
277
- };
278
- r = window.requestAnimationFrame(S);
279
- };
280
- return {
281
- cancel: o,
282
- schedule: a
283
- };
284
- }, Re = function(r) {
285
- var o = 0;
286
- return r >= 0 && r < 0.2 ? o = 0.1 : r >= 0.2 && r < 0.5 ? o = 0.04 : r >= 0.5 && r < 0.8 ? o = 0.02 : r >= 0.8 && r < 0.99 && (o = 5e-3), X(r + o, 0, 0.994);
287
- }, K = function(r) {
288
- j(r, []);
289
- }, be = function(r) {
290
- return ++r % 1e6;
291
- }, $e = function() {
292
- var r = ye(0), o = r[1];
293
- return g(function() {
294
- return o(be);
295
- }, []);
296
- }, Ae = function(r) {
297
- r === void 0 && (r = {});
298
- var o = $e(), a = F(I({}, r)), s = g(function() {
299
- return a.current;
300
- }, []), d = g(function(l) {
301
- l && (Object.assign(a.current, l), o());
302
- }, []);
303
- return [s, d];
304
- }, Ce = function() {
305
- var r = F(!0);
306
- return r.current ? (r.current = !1, !0) : r.current;
307
- }, Q = function(r, o) {
308
- var a = Ce();
309
- j(function() {
310
- if (!a)
311
- return r();
312
- }, o);
313
- }, Z = function() {
314
- }, B = {
315
- isFinished: !0,
316
- progress: 0,
317
- sideEffect: Z
318
- }, Me = function(r) {
319
- var o = r === void 0 ? {} : r, a = o.animationDuration, s = a === void 0 ? 200 : a, d = o.incrementDuration, l = d === void 0 ? 800 : d, m = o.isAnimating, _ = m === void 0 ? !1 : m, S = o.minimum, P = S === void 0 ? 0.08 : S, T = Ae(B), R = T[0], p = T[1], c = F(null), E = F(null);
320
- K(function() {
321
- c.current = Te(), E.current = Pe();
322
- });
323
- var b = g(function() {
324
- var f, C;
325
- (f = E.current) == null || f.cancel(), (C = c.current) == null || C.clear();
326
- }, []), $ = g(function(f) {
327
- var C;
328
- if (f = X(f, P, 1), f === 1) {
329
- var x, h;
330
- b(), (x = c.current) == null || x.enqueue(function(M) {
331
- p({
332
- progress: f,
333
- sideEffect: function() {
334
- var O;
335
- return (O = E.current) == null ? void 0 : O.schedule(M, s);
336
- }
337
- });
338
- }), (h = c.current) == null || h.enqueue(function() {
339
- p({
340
- isFinished: !0,
341
- sideEffect: b
342
- });
343
- });
344
- return;
345
- }
346
- (C = c.current) == null || C.enqueue(function(M) {
347
- p({
348
- isFinished: !1,
349
- progress: f,
350
- sideEffect: function() {
351
- var O;
352
- return (O = E.current) == null ? void 0 : O.schedule(M, s);
353
- }
354
- });
355
- });
356
- }, [s, b, P, c, p, E]), A = g(function() {
357
- $(Re(R().progress));
358
- }, [R, $]), v = g(function() {
359
- var f = function() {
360
- var x;
361
- A(), (x = c.current) == null || x.enqueue(function(h) {
362
- var M;
363
- (M = E.current) == null || M.schedule(function() {
364
- f(), h();
365
- }, l);
366
- });
367
- };
368
- f();
369
- }, [l, c, E, A]), y = F(Z), e = R().sideEffect;
370
- return j(function() {
371
- y.current = A;
372
- }), K(function() {
373
- return _ && v(), b;
374
- }), Q(function() {
375
- R().sideEffect();
376
- }, [R, e]), Q(function() {
377
- _ ? p(I({}, B, {
378
- sideEffect: v
379
- })) : $(1);
380
- }, [_, $, p, v]), {
381
- animationDuration: s,
382
- isFinished: R().isFinished,
383
- progress: R().progress
384
- };
385
- };
386
- export {
387
- Me as u
388
- };
389
- //# sourceMappingURL=react-nprogress.esm-C2MPXjiJ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-nprogress.esm-C2MPXjiJ.js","sources":["../../../node_modules/.pnpm/@babel+runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/extends.js","../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js","../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js","../../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js","../../../node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","../../../node_modules/.pnpm/@tanem+react-nprogress@5.0.55_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@tanem/react-nprogress/dist/react-nprogress.esm.js"],"sourcesContent":["function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose';\nimport _extends from '@babel/runtime/helpers/extends';\nimport * as React from 'react';\nimport { useEffect, useRef, useCallback, useState } from 'react';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\n\nvar clamp = function clamp(num, lower, upper) {\n num = num <= upper ? num : upper;\n num = num >= lower ? num : lower;\n return num;\n};\n\nvar createQueue = function createQueue() {\n var isRunning = false;\n var pending = [];\n var _next = function next() {\n isRunning = true;\n var cb = pending.shift();\n if (cb) {\n return cb(_next);\n }\n isRunning = false;\n };\n var clear = function clear() {\n isRunning = false;\n pending = [];\n };\n var enqueue = function enqueue(cb) {\n pending.push(cb);\n if (!isRunning && pending.length === 1) {\n _next();\n }\n };\n return {\n clear: clear,\n enqueue: enqueue\n };\n};\n\nvar createTimeout = function createTimeout() {\n var handle;\n var cancel = function cancel() {\n if (handle) {\n window.cancelAnimationFrame(handle);\n }\n };\n var schedule = function schedule(callback, delay) {\n var deltaTime;\n var start;\n var _frame = function frame(time) {\n start = start || time;\n deltaTime = time - start;\n if (deltaTime > delay) {\n callback();\n return;\n }\n handle = window.requestAnimationFrame(_frame);\n };\n handle = window.requestAnimationFrame(_frame);\n };\n return {\n cancel: cancel,\n schedule: schedule\n };\n};\n\nvar increment = function increment(progress) {\n var amount = 0;\n if (progress >= 0 && progress < 0.2) {\n amount = 0.1;\n } else if (progress >= 0.2 && progress < 0.5) {\n amount = 0.04;\n } else if (progress >= 0.5 && progress < 0.8) {\n amount = 0.02;\n } else if (progress >= 0.8 && progress < 0.99) {\n amount = 0.005;\n }\n return clamp(progress + amount, 0, 0.994);\n};\n\n// Hat-tip:\n// https://github.com/streamich/react-use/blob/master/src/useEffectOnce.ts.\n//\n// `react-use` appears to be unmaintained, so moving the required code into\n// this project for now.\nvar useEffectOnce = function useEffectOnce(effect) {\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useEffect(effect, []);\n};\n\nvar incrementParameter = function incrementParameter(num) {\n return ++num % 1000000;\n};\nvar useUpdate = function useUpdate() {\n var _useState = useState(0),\n setState = _useState[1];\n return useCallback(function () {\n return setState(incrementParameter);\n }, []);\n};\nvar useGetSetState = function useGetSetState(/* istanbul ignore next */\ninitialState) {\n if (initialState === undefined) {\n initialState = {};\n }\n var update = useUpdate();\n var state = useRef(_extends({}, initialState));\n var get = useCallback(function () {\n return state.current;\n }, []);\n var set = useCallback(function (patch) {\n if (!patch) {\n return;\n }\n Object.assign(state.current, patch);\n update();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return [get, set];\n};\n\n// Hat-tip:\n// https://github.com/streamich/react-use/blob/master/src/useUpdateEffect.ts.\n//\n// `react-use` appears to be unmaintained, so moving the required code into\n// this project for now.\nvar useFirstMountState = function useFirstMountState() {\n var isFirst = useRef(true);\n if (isFirst.current) {\n isFirst.current = false;\n return true;\n }\n return isFirst.current;\n};\nvar useUpdateEffect = function useUpdateEffect(effect, deps) {\n var isFirstMount = useFirstMountState();\n useEffect(function () {\n if (!isFirstMount) {\n return effect();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, deps);\n};\n\n/* istanbul ignore next */\nvar noop = function noop() {\n return undefined;\n};\nvar initialState = {\n isFinished: true,\n progress: 0,\n sideEffect: noop\n};\nvar useNProgress = function useNProgress(_temp) {\n var _ref = _temp === undefined ? {} : _temp,\n _ref$animationDuratio = _ref.animationDuration,\n animationDuration = _ref$animationDuratio === undefined ? 200 : _ref$animationDuratio,\n _ref$incrementDuratio = _ref.incrementDuration,\n incrementDuration = _ref$incrementDuratio === undefined ? 800 : _ref$incrementDuratio,\n _ref$isAnimating = _ref.isAnimating,\n isAnimating = _ref$isAnimating === undefined ? false : _ref$isAnimating,\n _ref$minimum = _ref.minimum,\n minimum = _ref$minimum === undefined ? 0.08 : _ref$minimum;\n var _useGetSetState = useGetSetState(initialState),\n get = _useGetSetState[0],\n setState = _useGetSetState[1];\n var queue = useRef(null);\n var timeout = useRef(null);\n useEffectOnce(function () {\n queue.current = createQueue();\n timeout.current = createTimeout();\n });\n var cleanup = useCallback(function () {\n var _timeout$current, _queue$current;\n (_timeout$current = timeout.current) == null || _timeout$current.cancel();\n (_queue$current = queue.current) == null || _queue$current.clear();\n }, []);\n var set = useCallback(function (n) {\n var _queue$current4;\n n = clamp(n, minimum, 1);\n if (n === 1) {\n var _queue$current2, _queue$current3;\n cleanup();\n (_queue$current2 = queue.current) == null || _queue$current2.enqueue(function (next) {\n setState({\n progress: n,\n sideEffect: function sideEffect() {\n var _timeout$current2;\n return (_timeout$current2 = timeout.current) == null ? undefined : _timeout$current2.schedule(next, animationDuration);\n }\n });\n });\n (_queue$current3 = queue.current) == null || _queue$current3.enqueue(function () {\n setState({\n isFinished: true,\n sideEffect: cleanup\n });\n });\n return;\n }\n (_queue$current4 = queue.current) == null || _queue$current4.enqueue(function (next) {\n setState({\n isFinished: false,\n progress: n,\n sideEffect: function sideEffect() {\n var _timeout$current3;\n return (_timeout$current3 = timeout.current) == null ? undefined : _timeout$current3.schedule(next, animationDuration);\n }\n });\n });\n }, [animationDuration, cleanup, minimum, queue, setState, timeout]);\n var trickle = useCallback(function () {\n set(increment(get().progress));\n }, [get, set]);\n var start = useCallback(function () {\n var _work = function work() {\n var _queue$current5;\n trickle();\n (_queue$current5 = queue.current) == null || _queue$current5.enqueue(function (next) {\n var _timeout$current4;\n (_timeout$current4 = timeout.current) == null || _timeout$current4.schedule(function () {\n _work();\n next();\n }, incrementDuration);\n });\n };\n _work();\n }, [incrementDuration, queue, timeout, trickle]);\n var savedTrickle = useRef(noop);\n var sideEffect = get().sideEffect;\n useEffect(function () {\n savedTrickle.current = trickle;\n });\n useEffectOnce(function () {\n if (isAnimating) {\n start();\n }\n return cleanup;\n });\n useUpdateEffect(function () {\n get().sideEffect();\n }, [get, sideEffect]);\n useUpdateEffect(function () {\n if (!isAnimating) {\n set(1);\n } else {\n setState(_extends({}, initialState, {\n sideEffect: start\n }));\n }\n }, [isAnimating, set, setState, start]);\n return {\n animationDuration: animationDuration,\n isFinished: get().isFinished,\n progress: get().progress\n };\n};\n\nvar _excluded = [\"children\"];\nvar NProgress = function NProgress(_ref) {\n var children = _ref.children,\n restProps = _objectWithoutPropertiesLoose(_ref, _excluded);\n var renderProps = useNProgress(restProps);\n return children(renderProps);\n};\n\nfunction withNProgress(BaseComponent) {\n var WithNProgress = function WithNProgress(props) {\n var hookProps = useNProgress(props);\n return /*#__PURE__*/React.createElement(BaseComponent, _extends({}, props, hookProps));\n };\n hoistNonReactStatics(WithNProgress, BaseComponent);\n return WithNProgress;\n}\n\nexport { NProgress, useNProgress, withNProgress };\n//# sourceMappingURL=react-nprogress.esm.js.map\n"],"names":["_extends","n","e","t","r","b","c","d","f","g","h","k","l","m","p","q","v","w","x","y","z","a","u","A","reactIs_production_min","hasSymbol","REACT_ELEMENT_TYPE","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","isValidElementType","type","typeOf","object","$$typeof","$$typeofType","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","hasWarnedAboutDeprecatedIsAsyncMode","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","reactIs_development","reactIsModule","require$$0","require$$1","reactIs","REACT_STATICS","KNOWN_STATICS","FORWARD_REF_STATICS","MEMO_STATICS","TYPE_STATICS","getStatics","component","defineProperty","getOwnPropertyNames","getOwnPropertySymbols","getOwnPropertyDescriptor","getPrototypeOf","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","keys","targetStatics","sourceStatics","i","key","descriptor","hoistNonReactStatics_cjs","clamp","num","lower","upper","createQueue","isRunning","pending","_next","cb","clear","enqueue","createTimeout","handle","cancel","schedule","callback","delay","deltaTime","start","_frame","time","increment","progress","amount","useEffectOnce","effect","useEffect","incrementParameter","useUpdate","_useState","useState","setState","useCallback","useGetSetState","initialState","update","state","useRef","get","set","patch","useFirstMountState","isFirst","useUpdateEffect","deps","isFirstMount","noop","useNProgress","_temp","_ref","_ref$animationDuratio","animationDuration","_ref$incrementDuratio","incrementDuration","_ref$isAnimating","isAnimating","_ref$minimum","minimum","_useGetSetState","queue","timeout","cleanup","_timeout$current","_queue$current","_queue$current4","_queue$current2","_queue$current3","next","_timeout$current2","_timeout$current3","trickle","_work","_queue$current5","_timeout$current4","savedTrickle","sideEffect"],"mappings":";AAAA,SAASA,IAAW;AAClB,SAAOA,IAAW,OAAO,SAAS,OAAO,OAAO,KAAI,IAAK,SAAUC,GAAG;AACpE,aAASC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AACzC,UAAIC,IAAI,UAAUD,CAAC;AACnB,eAASE,KAAKD,EAAG,EAAC,CAAE,GAAE,eAAe,KAAKA,GAAGC,CAAC,MAAMH,EAAEG,CAAC,IAAID,EAAEC,CAAC;AAAA,IACpE;AACI,WAAOH;AAAA,EACR,GAAED,EAAS,MAAM,MAAM,SAAS;AACnC;;;;;;;;;;;;;;ACCa,MAAIK,IAAe,OAAO,UAApB,cAA4B,OAAO,KAAIC,IAAED,IAAE,OAAO,IAAI,eAAe,IAAE,OAAME,IAAEF,IAAE,OAAO,IAAI,cAAc,IAAE,OAAMH,IAAEG,IAAE,OAAO,IAA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AE,CAAClB,GAAmBM,GAAOC,GAASU,CAAO,CAAC,GAC3CI,IAAerC,EAAOS,CAAI,GAC1B6B,IAAarC,EAAG,EAAG;AACvB,SAAAZ,EAAU,WAAY;AACpB,IAAAgD,EAAa,UAAUJ;AAAA,EAC3B,CAAG,GACD9C,EAAc,WAAY;AACxB,WAAI+B,KACFrC,EAAO,GAEF2C;AAAA,EACX,CAAG,GACDlB,EAAgB,WAAY;AAC1B,IAAAL,EAAG,EAAG,WAAY;AAAA,EACtB,GAAK,CAACA,GAAKqC,CAAU,CAAC,GACpBhC,EAAgB,WAAY;AAC1B,IAAKY,IAGHxB,EAAS1I,EAAS,CAAE,GAAE6I,GAAc;AAAA,MAClC,YAAYhB;AAAA,IACpB,CAAO,CAAC,IAJFqB,EAAI,CAAC;AAAA,EAMR,GAAE,CAACgB,GAAahB,GAAKR,GAAUb,CAAK,CAAC,GAC/B;AAAA,IACL,mBAAmBiC;AAAA,IACnB,YAAYb,EAAG,EAAG;AAAA,IAClB,UAAUA,EAAG,EAAG;AAAA,EACjB;AACH;","x_google_ignoreList":[0,1,2,3,4,5]}
@@ -1,11 +0,0 @@
1
- import { useRef as t, useEffect as f } from "react";
2
- const u = (e) => {
3
- const s = t(e);
4
- return s.current = e, f(() => {
5
- s.current = e;
6
- }, [e]), s;
7
- };
8
- export {
9
- u
10
- };
11
- //# sourceMappingURL=useLatest-hmRS46UF.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useLatest-hmRS46UF.js","sources":["../src/lib/util/useLatest.ts"],"sourcesContent":["import { useEffect, useRef } from \"react\";\n\n// This hook is useful when you need to store a reference to a variable that changes over time,\n// but you don't want to re-run any callbacks that depend on that variable every time it changes.\n// By using a reference to the latest value, you can ensure that any callbacks only run when necessary,\n// without any unnecessary re-renders.\n\n// Note: It's safe to put the return value of this hook in a dependency array, because it won't change!\nexport const useLatest = <T>(current: T) => {\n const valueRef = useRef(current);\n valueRef.current = current;\n\n useEffect(() => {\n valueRef.current = current;\n }, [current]);\n\n return valueRef;\n};\n"],"names":["useLatest","current","valueRef","useRef","useEffect"],"mappings":";AAQa,MAAAA,IAAY,CAAIC,MAAe;AACpC,QAAAC,IAAWC,EAAOF,CAAO;AAC/B,SAAAC,EAAS,UAAUD,GAEnBG,EAAU,MAAM;AACd,IAAAF,EAAS,UAAUD;AAAA,EAAA,GAClB,CAACA,CAAO,CAAC,GAELC;AACT;"}
@@ -1,97 +0,0 @@
1
- import * as o from "react";
2
- import { g as l } from "./mutation-BpcyTgWI.js";
3
- import { S as p, s as d, h, n as a, e as b, f as m, g as f } from "./hook-CHXroBFt.js";
4
- var v = class extends p {
5
- #e;
6
- #i = void 0;
7
- #t;
8
- #s;
9
- constructor(t, s) {
10
- super(), this.#e = t, this.setOptions(s), this.bindMethods(), this.#r();
11
- }
12
- bindMethods() {
13
- this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
14
- }
15
- setOptions(t) {
16
- const s = this.options;
17
- this.options = this.#e.defaultMutationOptions(t), d(this.options, s) || this.#e.getMutationCache().notify({
18
- type: "observerOptionsUpdated",
19
- mutation: this.#t,
20
- observer: this
21
- }), s?.mutationKey && this.options.mutationKey && h(s.mutationKey) !== h(this.options.mutationKey) ? this.reset() : this.#t?.state.status === "pending" && this.#t.setOptions(this.options);
22
- }
23
- onUnsubscribe() {
24
- this.hasListeners() || this.#t?.removeObserver(this);
25
- }
26
- onMutationUpdate(t) {
27
- this.#r(), this.#o(t);
28
- }
29
- getCurrentResult() {
30
- return this.#i;
31
- }
32
- reset() {
33
- this.#t?.removeObserver(this), this.#t = void 0, this.#r(), this.#o();
34
- }
35
- mutate(t, s) {
36
- return this.#s = s, this.#t?.removeObserver(this), this.#t = this.#e.getMutationCache().build(this.#e, this.options), this.#t.addObserver(this), this.#t.execute(t);
37
- }
38
- #r() {
39
- const t = this.#t?.state ?? l();
40
- this.#i = {
41
- ...t,
42
- isPending: t.status === "pending",
43
- isSuccess: t.status === "success",
44
- isError: t.status === "error",
45
- isIdle: t.status === "idle",
46
- mutate: this.mutate,
47
- reset: this.reset
48
- };
49
- }
50
- #o(t) {
51
- a.batch(() => {
52
- if (this.#s && this.hasListeners()) {
53
- const s = this.#i.variables, i = this.#i.context;
54
- t?.type === "success" ? (this.#s.onSuccess?.(t.data, s, i), this.#s.onSettled?.(t.data, null, s, i)) : t?.type === "error" && (this.#s.onError?.(t.error, s, i), this.#s.onSettled?.(
55
- void 0,
56
- t.error,
57
- s,
58
- i
59
- ));
60
- }
61
- this.listeners.forEach((s) => {
62
- s(this.#i);
63
- });
64
- });
65
- }
66
- };
67
- function g(t, s) {
68
- const i = b(s), [e] = o.useState(
69
- () => new v(
70
- i,
71
- t
72
- )
73
- );
74
- o.useEffect(() => {
75
- e.setOptions(t);
76
- }, [e, t]);
77
- const r = o.useSyncExternalStore(
78
- o.useCallback(
79
- (n) => e.subscribe(a.batchCalls(n)),
80
- [e]
81
- ),
82
- () => e.getCurrentResult(),
83
- () => e.getCurrentResult()
84
- ), u = o.useCallback(
85
- (n, c) => {
86
- e.mutate(n, c).catch(m);
87
- },
88
- [e]
89
- );
90
- if (r.error && f(e.options.throwOnError, [r.error]))
91
- throw r.error;
92
- return { ...r, mutate: u, mutateAsync: r.mutate };
93
- }
94
- export {
95
- g as u
96
- };
97
- //# sourceMappingURL=useMutation-N4ockVKi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMutation-N4ockVKi.js","sources":["../../../node_modules/.pnpm/@tanstack+query-core@5.74.3/node_modules/@tanstack/query-core/build/modern/mutationObserver.js","../../../node_modules/.pnpm/@tanstack+react-query@5.74.3_react@19.1.0/node_modules/@tanstack/react-query/build/modern/useMutation.js"],"sourcesContent":["// src/mutationObserver.ts\nimport { getDefaultState } from \"./mutation.js\";\nimport { notifyManager } from \"./notifyManager.js\";\nimport { Subscribable } from \"./subscribable.js\";\nimport { hashKey, shallowEqualObjects } from \"./utils.js\";\nvar MutationObserver = class extends Subscribable {\n #client;\n #currentResult = void 0;\n #currentMutation;\n #mutateOptions;\n constructor(client, options) {\n super();\n this.#client = client;\n this.setOptions(options);\n this.bindMethods();\n this.#updateResult();\n }\n bindMethods() {\n this.mutate = this.mutate.bind(this);\n this.reset = this.reset.bind(this);\n }\n setOptions(options) {\n const prevOptions = this.options;\n this.options = this.#client.defaultMutationOptions(options);\n if (!shallowEqualObjects(this.options, prevOptions)) {\n this.#client.getMutationCache().notify({\n type: \"observerOptionsUpdated\",\n mutation: this.#currentMutation,\n observer: this\n });\n }\n if (prevOptions?.mutationKey && this.options.mutationKey && hashKey(prevOptions.mutationKey) !== hashKey(this.options.mutationKey)) {\n this.reset();\n } else if (this.#currentMutation?.state.status === \"pending\") {\n this.#currentMutation.setOptions(this.options);\n }\n }\n onUnsubscribe() {\n if (!this.hasListeners()) {\n this.#currentMutation?.removeObserver(this);\n }\n }\n onMutationUpdate(action) {\n this.#updateResult();\n this.#notify(action);\n }\n getCurrentResult() {\n return this.#currentResult;\n }\n reset() {\n this.#currentMutation?.removeObserver(this);\n this.#currentMutation = void 0;\n this.#updateResult();\n this.#notify();\n }\n mutate(variables, options) {\n this.#mutateOptions = options;\n this.#currentMutation?.removeObserver(this);\n this.#currentMutation = this.#client.getMutationCache().build(this.#client, this.options);\n this.#currentMutation.addObserver(this);\n return this.#currentMutation.execute(variables);\n }\n #updateResult() {\n const state = this.#currentMutation?.state ?? getDefaultState();\n this.#currentResult = {\n ...state,\n isPending: state.status === \"pending\",\n isSuccess: state.status === \"success\",\n isError: state.status === \"error\",\n isIdle: state.status === \"idle\",\n mutate: this.mutate,\n reset: this.reset\n };\n }\n #notify(action) {\n notifyManager.batch(() => {\n if (this.#mutateOptions && this.hasListeners()) {\n const variables = this.#currentResult.variables;\n const context = this.#currentResult.context;\n if (action?.type === \"success\") {\n this.#mutateOptions.onSuccess?.(action.data, variables, context);\n this.#mutateOptions.onSettled?.(action.data, null, variables, context);\n } else if (action?.type === \"error\") {\n this.#mutateOptions.onError?.(action.error, variables, context);\n this.#mutateOptions.onSettled?.(\n void 0,\n action.error,\n variables,\n context\n );\n }\n }\n this.listeners.forEach((listener) => {\n listener(this.#currentResult);\n });\n });\n }\n};\nexport {\n MutationObserver\n};\n//# sourceMappingURL=mutationObserver.js.map","\"use client\";\n\n// src/useMutation.ts\nimport * as React from \"react\";\nimport { MutationObserver, notifyManager } from \"@tanstack/query-core\";\nimport { useQueryClient } from \"./QueryClientProvider.js\";\nimport { noop, shouldThrowError } from \"./utils.js\";\nfunction useMutation(options, queryClient) {\n const client = useQueryClient(queryClient);\n const [observer] = React.useState(\n () => new MutationObserver(\n client,\n options\n )\n );\n React.useEffect(() => {\n observer.setOptions(options);\n }, [observer, options]);\n const result = React.useSyncExternalStore(\n React.useCallback(\n (onStoreChange) => observer.subscribe(notifyManager.batchCalls(onStoreChange)),\n [observer]\n ),\n () => observer.getCurrentResult(),\n () => observer.getCurrentResult()\n );\n const mutate = React.useCallback(\n (variables, mutateOptions) => {\n observer.mutate(variables, mutateOptions).catch(noop);\n },\n [observer]\n );\n if (result.error && shouldThrowError(observer.options.throwOnError, [result.error])) {\n throw result.error;\n }\n return { ...result, mutate, mutateAsync: result.mutate };\n}\nexport {\n useMutation\n};\n//# sourceMappingURL=useMutation.js.map"],"names":["MutationObserver","Subscribable","#client","#currentResult","#currentMutation","#mutateOptions","client","options","#updateResult","prevOptions","shallowEqualObjects","hashKey","action","#notify","variables","state","getDefaultState","notifyManager","context","listener","useMutation","queryClient","useQueryClient","observer","React","result","onStoreChange","mutate","mutateOptions","noop","shouldThrowError"],"mappings":";;;AAKA,IAAIA,IAAmB,cAAcC,EAAa;AAAA,EAChDC;AAAA,EACAC,KAAiB;AAAA,EACjBC;AAAA,EACAC;AAAA,EACA,YAAYC,GAAQC,GAAS;AAC3B,UAAO,GACP,KAAKL,KAAUI,GACf,KAAK,WAAWC,CAAO,GACvB,KAAK,YAAa,GAClB,KAAKC,GAAe;AAAA,EACxB;AAAA,EACE,cAAc;AACZ,SAAK,SAAS,KAAK,OAAO,KAAK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MAAMA,EAAS,iBAAgB;AAAA,EAChC,GACKI,IAASH,EAAM;AAAA,IACnB,CAACV,GAAWc,MAAkB;AAC5B,MAAAL,EAAS,OAAOT,GAAWc,CAAa,EAAE,MAAMC,CAAI;AAAA,IACrD;AAAA,IACD,CAACN,CAAQ;AAAA,EACV;AACD,MAAIE,EAAO,SAASK,EAAiBP,EAAS,QAAQ,cAAc,CAACE,EAAO,KAAK,CAAC;AAChF,UAAMA,EAAO;AAEf,SAAO,EAAE,GAAGA,GAAQ,QAAAE,GAAQ,aAAaF,EAAO,OAAQ;AAC1D;","x_google_ignoreList":[0,1]}
@@ -1,18 +0,0 @@
1
- import React from "react";
2
- import { ProseClasses } from "../../components/Markdown.js";
3
- import { cn } from "../../util/cn.js";
4
- import { useExposedProps } from "../../util/useExposedProps.js";
5
- import type { CustomPageConfig } from "./index.js";
6
-
7
- export const CustomPage = ({
8
- element,
9
- render,
10
- prose = true,
11
- }: Omit<CustomPageConfig, "path">) => {
12
- const exposedProps = useExposedProps();
13
- const content = render ? React.createElement(render, exposedProps) : element;
14
-
15
- return (
16
- <div className={cn(prose && ProseClasses, "max-w-full")}>{content}</div>
17
- );
18
- };
@@ -1,32 +0,0 @@
1
- import { useFormContext } from "react-hook-form";
2
- import type { PlaygroundForm } from "./Playground.js";
3
-
4
- export const UrlDisplay = ({ host, path }: { host: string; path: string }) => {
5
- const { watch } = useFormContext<PlaygroundForm>();
6
- const data = watch();
7
- const url = new URL(
8
- host +
9
- path
10
- .split("/")
11
- .map((v) =>
12
- v.startsWith("{") && v.endsWith("}")
13
- ? (data.pathParams.find((part) => part.name === v.slice(1, -1))
14
- ?.value ?? v)
15
- : v,
16
- )
17
- .join("/"),
18
- );
19
-
20
- data.queryParams.forEach((param) => {
21
- if (!param.value) {
22
- return;
23
- }
24
- url.searchParams.set(param.name, param.value);
25
- });
26
-
27
- return (
28
- <div className="overflow-auto font-mono whitespace-nowrap">
29
- {url.toString()}
30
- </div>
31
- );
32
- };