@redocly/reference-docs 2.13.1 → 2.13.2

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 (326) hide show
  1. package/bin/cli/commands/redocly-docs-cli.min.js +28 -28
  2. package/bin/cli/commands/redocly-docs-cli.min.js.LICENSE.txt +1 -1
  3. package/dist/console.redocly-reference-docs.min.js +1 -1
  4. package/dist/oauth2-redirect.js +1 -1
  5. package/dist/redocly-reference-docs.min.js +495 -495
  6. package/lib/components/Endpoint/Endpoint.d.ts +2 -2
  7. package/lib/components/Endpoint/ServerList.d.ts +2 -2
  8. package/lib/components/Endpoint/Summary.d.ts +3 -3
  9. package/lib/components/NextSectionButton.d.ts +2 -2
  10. package/lib/components/Overlay.d.ts +1 -1
  11. package/lib/components/Panel/PanelComponent.d.ts +2 -1
  12. package/lib/components/ProProviders.d.ts +2 -2
  13. package/lib/components/RedoclyReferenceDocs.d.ts +3 -3
  14. package/lib/components/Samples/ExampleSwitch.d.ts +1 -1
  15. package/lib/components/Samples/SamplesTabs.d.ts +1 -1
  16. package/lib/components/Samples/use-example-key.d.ts +1 -1
  17. package/lib/components/Search/MenuItemProSearch.d.ts +2 -2
  18. package/lib/components/Search/MenuItemProSearch.js +1 -1
  19. package/lib/components/Search/ProSearchBox.d.ts +5 -5
  20. package/lib/components/Search/SearchField.d.ts +1 -1
  21. package/lib/components/StoreProvider.d.ts +3 -2
  22. package/lib/components/Tabs/CollapsingTabs/CollapsingTabs.d.ts +1 -1
  23. package/lib/components/Tabs/CollapsingTabs/CollapsingTabsBase.d.ts +2 -2
  24. package/lib/components/VersionSwitcher.d.ts +2 -2
  25. package/lib/components/common/CheckboxList.d.ts +3 -2
  26. package/lib/components/common/Dropdown/Dropdown.d.ts +1 -1
  27. package/lib/components/common/Dropdown/types.d.ts +1 -1
  28. package/lib/components/common/FileUpload/helper.d.ts +1 -1
  29. package/lib/components/common/TextField.d.ts +1 -1
  30. package/lib/components/console/ActionPanel.d.ts +2 -2
  31. package/lib/components/console/AuthPanel.d.ts +4 -4
  32. package/lib/components/console/CodemirrorInput.d.ts +1 -1
  33. package/lib/components/console/Console.d.ts +6 -6
  34. package/lib/components/console/OAuth2Flow.d.ts +4 -4
  35. package/lib/components/console/OAuth2TokenInput.d.ts +1 -1
  36. package/lib/components/console/OpenIDConnect.d.ts +3 -3
  37. package/lib/components/console/OperationParameters.d.ts +1 -1
  38. package/lib/components/console/RequestBody.d.ts +2 -2
  39. package/lib/components/console/RequestBodyForm.d.ts +1 -1
  40. package/lib/components/console/ResponseBody.d.ts +1 -1
  41. package/lib/components/console/ResponsePanel.d.ts +1 -1
  42. package/lib/components/console/ServerDropdown.d.ts +1 -1
  43. package/lib/components/console/utils.d.ts +1 -1
  44. package/lib/components/pluggable/RedocExample.d.ts +2 -2
  45. package/lib/components/pluggable/RedocRequestBody.d.ts +1 -1
  46. package/lib/components/pluggable/RedocResponse.d.ts +1 -1
  47. package/lib/components/pluggable/RedocSchema.d.ts +2 -2
  48. package/lib/components/pluggable/styled.components.d.ts +1 -1
  49. package/lib/components/styled.elements.d.ts +3 -2
  50. package/lib/models/code-sample-options.d.ts +1 -1
  51. package/lib/redoc-lib/src/common-elements/LinkToField.d.ts +2 -2
  52. package/lib/redoc-lib/src/common-elements/Tooltip.d.ts +1 -1
  53. package/lib/redoc-lib/src/common-elements/linkify.d.ts +3 -2
  54. package/lib/redoc-lib/src/common-elements/perfect-scrollbar.d.ts +3 -2
  55. package/lib/redoc-lib/src/components/ApiInfo/ApiInfo.d.ts +1 -1
  56. package/lib/redoc-lib/src/components/ApiLogo/ApiLogo.d.ts +1 -1
  57. package/lib/redoc-lib/src/components/ApiLogo/styled.elements.d.ts +1 -1
  58. package/lib/redoc-lib/src/components/CallbackSamples/CallbackReqSamples.d.ts +1 -1
  59. package/lib/redoc-lib/src/components/CallbackSamples/CallbackSamples.d.ts +2 -2
  60. package/lib/redoc-lib/src/components/Callbacks/CallbackDetails.d.ts +1 -1
  61. package/lib/redoc-lib/src/components/Callbacks/CallbackOperation.d.ts +1 -1
  62. package/lib/redoc-lib/src/components/Callbacks/CallbackSummary.d.ts +2 -2
  63. package/lib/redoc-lib/src/components/Callbacks/CallbacksList.d.ts +1 -1
  64. package/lib/redoc-lib/src/components/ContentItems/ContentItems.d.ts +3 -3
  65. package/lib/redoc-lib/src/components/DownloadButton/DownloadButton.d.ts +1 -1
  66. package/lib/redoc-lib/src/components/DropdownOrLabel/DropdownOrLabel.d.ts +1 -1
  67. package/lib/redoc-lib/src/components/ErrorBoundary.d.ts +2 -1
  68. package/lib/redoc-lib/src/components/ExternalDocumentation/ExternalDocumentation.d.ts +1 -1
  69. package/lib/redoc-lib/src/components/Fields/Field.d.ts +3 -3
  70. package/lib/redoc-lib/src/components/Fields/FieldDetails.d.ts +1 -1
  71. package/lib/redoc-lib/src/components/GenericChildrenSwitcher/GenericChildrenSwitcher.d.ts +1 -1
  72. package/lib/redoc-lib/src/components/Markdown/AdvancedMarkdown.d.ts +3 -3
  73. package/lib/redoc-lib/src/components/Markdown/SanitizedMdBlock.d.ts +1 -1
  74. package/lib/redoc-lib/src/components/Markdown/styled.elements.d.ts +1 -1
  75. package/lib/redoc-lib/src/components/MediaTypeSwitch/MediaTypesSwitch.d.ts +2 -2
  76. package/lib/redoc-lib/src/components/Operation/Operation.d.ts +1 -1
  77. package/lib/redoc-lib/src/components/OptionsProvider.d.ts +1 -1
  78. package/lib/redoc-lib/src/components/Parameters/ParametersGroup.d.ts +1 -1
  79. package/lib/redoc-lib/src/components/PayloadSamples/Example.d.ts +1 -1
  80. package/lib/redoc-lib/src/components/PayloadSamples/MediaTypeSamples.d.ts +1 -1
  81. package/lib/redoc-lib/src/components/PayloadSamples/PayloadSamples.d.ts +1 -1
  82. package/lib/redoc-lib/src/components/PayloadSamples/exernalExampleHook.d.ts +1 -1
  83. package/lib/redoc-lib/src/components/RequestSamples/CodeSample.d.ts +2 -2
  84. package/lib/redoc-lib/src/components/RequestSamples/RequestSamples.d.ts +1 -1
  85. package/lib/redoc-lib/src/components/RequestSamples/languageSwitchEvent.d.ts +3 -2
  86. package/lib/redoc-lib/src/components/RequestSamples/useCodeSamples.d.ts +1 -1
  87. package/lib/redoc-lib/src/components/Responses/Response.d.ts +1 -1
  88. package/lib/redoc-lib/src/components/Responses/ResponseDetails.d.ts +1 -1
  89. package/lib/redoc-lib/src/components/Responses/ResponseHeaders.d.ts +1 -1
  90. package/lib/redoc-lib/src/components/Responses/ResponseSummary.d.ts +2 -2
  91. package/lib/redoc-lib/src/components/Responses/ResponsesList.d.ts +1 -1
  92. package/lib/redoc-lib/src/components/Schema/ArraySchema.d.ts +1 -1
  93. package/lib/redoc-lib/src/components/Schema/DiscriminatorDropdown.d.ts +2 -2
  94. package/lib/redoc-lib/src/components/Schema/ObjectSchema.d.ts +1 -1
  95. package/lib/redoc-lib/src/components/Schema/OneOfSchema.d.ts +1 -1
  96. package/lib/redoc-lib/src/components/Schema/Schema.d.ts +1 -1
  97. package/lib/redoc-lib/src/components/SchemaDefinition/SchemaDefinition.d.ts +2 -2
  98. package/lib/redoc-lib/src/components/SearchBox/SearchBox.d.ts +3 -3
  99. package/lib/redoc-lib/src/components/SecurityRequirement/SecurityRequirement.d.ts +1 -1
  100. package/lib/redoc-lib/src/components/SecuritySchemes/SecuritySchemes.d.ts +2 -2
  101. package/lib/redoc-lib/src/components/SideMenu/MenuItem.d.ts +3 -3
  102. package/lib/redoc-lib/src/components/SideMenu/MenuItem.js +1 -1
  103. package/lib/redoc-lib/src/components/SideMenu/SideMenu.d.ts +3 -3
  104. package/lib/redoc-lib/src/components/SourceCode/SourceCode.d.ts +2 -2
  105. package/lib/redoc-lib/src/components/StickySidebar/StickyResponsiveSidebar.d.ts +3 -2
  106. package/lib/redoc-lib/src/components/StoreBuilder.d.ts +1 -1
  107. package/lib/redoc-lib/src/components/helper.d.ts +1 -1
  108. package/lib/redoc-lib/src/services/MarkdownRenderer.d.ts +3 -3
  109. package/lib/redoc-lib/src/services/MenuBuilder.d.ts +3 -3
  110. package/lib/redoc-lib/src/services/OpenAPIParser.d.ts +1 -1
  111. package/lib/redoc-lib/src/services/RedocNormalizedOptions.d.ts +5 -5
  112. package/lib/redoc-lib/src/services/ScrollService.d.ts +1 -1
  113. package/lib/redoc-lib/src/services/SpecStore.d.ts +3 -3
  114. package/lib/redoc-lib/src/services/models/ApiInfo.d.ts +2 -2
  115. package/lib/redoc-lib/src/services/models/Callback.d.ts +3 -3
  116. package/lib/redoc-lib/src/services/models/Example.d.ts +2 -2
  117. package/lib/redoc-lib/src/services/models/Field.d.ts +5 -4
  118. package/lib/redoc-lib/src/services/models/Group.model.d.ts +4 -4
  119. package/lib/redoc-lib/src/services/models/MediaContent.d.ts +5 -5
  120. package/lib/redoc-lib/src/services/models/MediaType.d.ts +5 -5
  121. package/lib/redoc-lib/src/services/models/Operation.d.ts +8 -8
  122. package/lib/redoc-lib/src/services/models/RequestBody.d.ts +4 -4
  123. package/lib/redoc-lib/src/services/models/Response.d.ts +4 -4
  124. package/lib/redoc-lib/src/services/models/Schema.d.ts +5 -5
  125. package/lib/redoc-lib/src/services/models/SecurityRequirement.d.ts +2 -2
  126. package/lib/redoc-lib/src/services/models/SecuritySchemes.d.ts +2 -2
  127. package/lib/redoc-lib/src/services/models/Webhook.d.ts +3 -3
  128. package/lib/redoc-lib/src/styled-components.d.ts +2 -2
  129. package/lib/redoc-lib/src/types/open-api.d.ts +2 -2
  130. package/lib/redoc-lib/src/utils/helpers.d.ts +3 -3
  131. package/lib/redoc-lib/src/utils/helpers.js +1 -1
  132. package/lib/redoc-lib/src/utils/loadAndBundleSpec.d.ts +1 -1
  133. package/lib/redoc-lib/src/utils/media-css.d.ts +1 -1
  134. package/lib/redoc-lib/src/utils/openapi.d.ts +3 -3
  135. package/lib/services/ProMenu.d.ts +2 -2
  136. package/lib/services/ProStore.d.ts +13 -26
  137. package/lib/services/ProStore.js +1 -1
  138. package/lib/services/SearchStore.d.ts +3 -2
  139. package/lib/services/VersionedSpecStore.d.ts +3 -2
  140. package/lib/services/code-samples/generator.d.ts +3 -3
  141. package/lib/services/code-samples/httpsnippet/helpers/code-helpers.d.ts +2 -2
  142. package/lib/services/code-samples/httpsnippet/index.d.ts +2 -2
  143. package/lib/services/code-samples/httpsnippet/targets/csharp/httpclient.d.ts +2 -2
  144. package/lib/services/code-samples/httpsnippet/targets/go/native.d.ts +2 -2
  145. package/lib/services/code-samples/httpsnippet/targets/java/httpclient.d.ts +2 -2
  146. package/lib/services/code-samples/httpsnippet/targets/java8/apachehttp.d.ts +2 -2
  147. package/lib/services/code-samples/httpsnippet/targets/javascript/fetch.d.ts +2 -2
  148. package/lib/services/code-samples/httpsnippet/targets/node/fetch.d.ts +2 -2
  149. package/lib/services/code-samples/httpsnippet/targets/php/curl.d.ts +2 -2
  150. package/lib/services/code-samples/httpsnippet/targets/php/utils.d.ts +1 -1
  151. package/lib/services/code-samples/httpsnippet/targets/python/requests.d.ts +2 -2
  152. package/lib/services/code-samples/httpsnippet/targets/ruby/native.d.ts +2 -2
  153. package/lib/services/code-samples/httpsnippet/targets/shell/curl.d.ts +2 -2
  154. package/lib/services/extendTheme.d.ts +2 -2
  155. package/lib/services/history/FakeHistoryService.d.ts +2 -2
  156. package/lib/services/history/ProHashHistoryService.d.ts +2 -2
  157. package/lib/services/history/PushStateHistoryService.d.ts +3 -2
  158. package/lib/services/history/helpers.d.ts +1 -1
  159. package/lib/services/index.d.ts +1 -0
  160. package/lib/services/index.js +1 -1
  161. package/lib/services/types.d.ts +24 -0
  162. package/lib/services/types.js +2 -0
  163. package/lib/services/utils.js +1 -1
  164. package/lib/standalone.d.ts +3 -3
  165. package/lib/utils.js +1 -1
  166. package/lib-esm/components/Endpoint/Endpoint.d.ts +2 -2
  167. package/lib-esm/components/Endpoint/ServerList.d.ts +2 -2
  168. package/lib-esm/components/Endpoint/Summary.d.ts +3 -3
  169. package/lib-esm/components/NextSectionButton.d.ts +2 -2
  170. package/lib-esm/components/Overlay.d.ts +1 -1
  171. package/lib-esm/components/Panel/PanelComponent.d.ts +2 -1
  172. package/lib-esm/components/ProProviders.d.ts +2 -2
  173. package/lib-esm/components/RedoclyReferenceDocs.d.ts +3 -3
  174. package/lib-esm/components/Samples/ExampleSwitch.d.ts +1 -1
  175. package/lib-esm/components/Samples/SamplesTabs.d.ts +1 -1
  176. package/lib-esm/components/Samples/use-example-key.d.ts +1 -1
  177. package/lib-esm/components/Search/MenuItemProSearch.d.ts +2 -2
  178. package/lib-esm/components/Search/MenuItemProSearch.js +1 -1
  179. package/lib-esm/components/Search/ProSearchBox.d.ts +5 -5
  180. package/lib-esm/components/Search/SearchField.d.ts +1 -1
  181. package/lib-esm/components/StoreProvider.d.ts +3 -2
  182. package/lib-esm/components/Tabs/CollapsingTabs/CollapsingTabs.d.ts +1 -1
  183. package/lib-esm/components/Tabs/CollapsingTabs/CollapsingTabsBase.d.ts +2 -2
  184. package/lib-esm/components/VersionSwitcher.d.ts +2 -2
  185. package/lib-esm/components/common/CheckboxList.d.ts +3 -2
  186. package/lib-esm/components/common/Dropdown/Dropdown.d.ts +1 -1
  187. package/lib-esm/components/common/Dropdown/types.d.ts +1 -1
  188. package/lib-esm/components/common/FileUpload/helper.d.ts +1 -1
  189. package/lib-esm/components/common/TextField.d.ts +1 -1
  190. package/lib-esm/components/console/ActionPanel.d.ts +2 -2
  191. package/lib-esm/components/console/AuthPanel.d.ts +4 -4
  192. package/lib-esm/components/console/CodemirrorInput.d.ts +1 -1
  193. package/lib-esm/components/console/Console.d.ts +6 -6
  194. package/lib-esm/components/console/OAuth2Flow.d.ts +4 -4
  195. package/lib-esm/components/console/OAuth2TokenInput.d.ts +1 -1
  196. package/lib-esm/components/console/OpenIDConnect.d.ts +3 -3
  197. package/lib-esm/components/console/OperationParameters.d.ts +1 -1
  198. package/lib-esm/components/console/RequestBody.d.ts +2 -2
  199. package/lib-esm/components/console/RequestBodyForm.d.ts +1 -1
  200. package/lib-esm/components/console/ResponseBody.d.ts +1 -1
  201. package/lib-esm/components/console/ResponsePanel.d.ts +1 -1
  202. package/lib-esm/components/console/ServerDropdown.d.ts +1 -1
  203. package/lib-esm/components/console/utils.d.ts +1 -1
  204. package/lib-esm/components/pluggable/RedocExample.d.ts +2 -2
  205. package/lib-esm/components/pluggable/RedocRequestBody.d.ts +1 -1
  206. package/lib-esm/components/pluggable/RedocResponse.d.ts +1 -1
  207. package/lib-esm/components/pluggable/RedocSchema.d.ts +2 -2
  208. package/lib-esm/components/pluggable/styled.components.d.ts +1 -1
  209. package/lib-esm/components/styled.elements.d.ts +3 -2
  210. package/lib-esm/models/code-sample-options.d.ts +1 -1
  211. package/lib-esm/redoc-lib/src/common-elements/LinkToField.d.ts +2 -2
  212. package/lib-esm/redoc-lib/src/common-elements/Tooltip.d.ts +1 -1
  213. package/lib-esm/redoc-lib/src/common-elements/linkify.d.ts +3 -2
  214. package/lib-esm/redoc-lib/src/common-elements/perfect-scrollbar.d.ts +3 -2
  215. package/lib-esm/redoc-lib/src/components/ApiInfo/ApiInfo.d.ts +1 -1
  216. package/lib-esm/redoc-lib/src/components/ApiLogo/ApiLogo.d.ts +1 -1
  217. package/lib-esm/redoc-lib/src/components/ApiLogo/styled.elements.d.ts +1 -1
  218. package/lib-esm/redoc-lib/src/components/CallbackSamples/CallbackReqSamples.d.ts +1 -1
  219. package/lib-esm/redoc-lib/src/components/CallbackSamples/CallbackSamples.d.ts +2 -2
  220. package/lib-esm/redoc-lib/src/components/Callbacks/CallbackDetails.d.ts +1 -1
  221. package/lib-esm/redoc-lib/src/components/Callbacks/CallbackOperation.d.ts +1 -1
  222. package/lib-esm/redoc-lib/src/components/Callbacks/CallbackSummary.d.ts +2 -2
  223. package/lib-esm/redoc-lib/src/components/Callbacks/CallbacksList.d.ts +1 -1
  224. package/lib-esm/redoc-lib/src/components/ContentItems/ContentItems.d.ts +3 -3
  225. package/lib-esm/redoc-lib/src/components/DownloadButton/DownloadButton.d.ts +1 -1
  226. package/lib-esm/redoc-lib/src/components/DropdownOrLabel/DropdownOrLabel.d.ts +1 -1
  227. package/lib-esm/redoc-lib/src/components/ErrorBoundary.d.ts +2 -1
  228. package/lib-esm/redoc-lib/src/components/ExternalDocumentation/ExternalDocumentation.d.ts +1 -1
  229. package/lib-esm/redoc-lib/src/components/Fields/Field.d.ts +3 -3
  230. package/lib-esm/redoc-lib/src/components/Fields/FieldDetails.d.ts +1 -1
  231. package/lib-esm/redoc-lib/src/components/GenericChildrenSwitcher/GenericChildrenSwitcher.d.ts +1 -1
  232. package/lib-esm/redoc-lib/src/components/Markdown/AdvancedMarkdown.d.ts +3 -3
  233. package/lib-esm/redoc-lib/src/components/Markdown/SanitizedMdBlock.d.ts +1 -1
  234. package/lib-esm/redoc-lib/src/components/Markdown/styled.elements.d.ts +1 -1
  235. package/lib-esm/redoc-lib/src/components/MediaTypeSwitch/MediaTypesSwitch.d.ts +2 -2
  236. package/lib-esm/redoc-lib/src/components/Operation/Operation.d.ts +1 -1
  237. package/lib-esm/redoc-lib/src/components/OptionsProvider.d.ts +1 -1
  238. package/lib-esm/redoc-lib/src/components/Parameters/ParametersGroup.d.ts +1 -1
  239. package/lib-esm/redoc-lib/src/components/PayloadSamples/Example.d.ts +1 -1
  240. package/lib-esm/redoc-lib/src/components/PayloadSamples/MediaTypeSamples.d.ts +1 -1
  241. package/lib-esm/redoc-lib/src/components/PayloadSamples/PayloadSamples.d.ts +1 -1
  242. package/lib-esm/redoc-lib/src/components/PayloadSamples/exernalExampleHook.d.ts +1 -1
  243. package/lib-esm/redoc-lib/src/components/RequestSamples/CodeSample.d.ts +2 -2
  244. package/lib-esm/redoc-lib/src/components/RequestSamples/RequestSamples.d.ts +1 -1
  245. package/lib-esm/redoc-lib/src/components/RequestSamples/languageSwitchEvent.d.ts +3 -2
  246. package/lib-esm/redoc-lib/src/components/RequestSamples/useCodeSamples.d.ts +1 -1
  247. package/lib-esm/redoc-lib/src/components/Responses/Response.d.ts +1 -1
  248. package/lib-esm/redoc-lib/src/components/Responses/ResponseDetails.d.ts +1 -1
  249. package/lib-esm/redoc-lib/src/components/Responses/ResponseHeaders.d.ts +1 -1
  250. package/lib-esm/redoc-lib/src/components/Responses/ResponseSummary.d.ts +2 -2
  251. package/lib-esm/redoc-lib/src/components/Responses/ResponsesList.d.ts +1 -1
  252. package/lib-esm/redoc-lib/src/components/Schema/ArraySchema.d.ts +1 -1
  253. package/lib-esm/redoc-lib/src/components/Schema/DiscriminatorDropdown.d.ts +2 -2
  254. package/lib-esm/redoc-lib/src/components/Schema/ObjectSchema.d.ts +1 -1
  255. package/lib-esm/redoc-lib/src/components/Schema/OneOfSchema.d.ts +1 -1
  256. package/lib-esm/redoc-lib/src/components/Schema/Schema.d.ts +1 -1
  257. package/lib-esm/redoc-lib/src/components/SchemaDefinition/SchemaDefinition.d.ts +2 -2
  258. package/lib-esm/redoc-lib/src/components/SearchBox/SearchBox.d.ts +3 -3
  259. package/lib-esm/redoc-lib/src/components/SecurityRequirement/SecurityRequirement.d.ts +1 -1
  260. package/lib-esm/redoc-lib/src/components/SecuritySchemes/SecuritySchemes.d.ts +2 -2
  261. package/lib-esm/redoc-lib/src/components/SideMenu/MenuItem.d.ts +3 -3
  262. package/lib-esm/redoc-lib/src/components/SideMenu/MenuItem.js +1 -1
  263. package/lib-esm/redoc-lib/src/components/SideMenu/SideMenu.d.ts +3 -3
  264. package/lib-esm/redoc-lib/src/components/SourceCode/SourceCode.d.ts +2 -2
  265. package/lib-esm/redoc-lib/src/components/StickySidebar/StickyResponsiveSidebar.d.ts +3 -2
  266. package/lib-esm/redoc-lib/src/components/StoreBuilder.d.ts +1 -1
  267. package/lib-esm/redoc-lib/src/components/helper.d.ts +1 -1
  268. package/lib-esm/redoc-lib/src/services/MarkdownRenderer.d.ts +3 -3
  269. package/lib-esm/redoc-lib/src/services/MenuBuilder.d.ts +3 -3
  270. package/lib-esm/redoc-lib/src/services/OpenAPIParser.d.ts +1 -1
  271. package/lib-esm/redoc-lib/src/services/RedocNormalizedOptions.d.ts +5 -5
  272. package/lib-esm/redoc-lib/src/services/ScrollService.d.ts +1 -1
  273. package/lib-esm/redoc-lib/src/services/SpecStore.d.ts +3 -3
  274. package/lib-esm/redoc-lib/src/services/models/ApiInfo.d.ts +2 -2
  275. package/lib-esm/redoc-lib/src/services/models/Callback.d.ts +3 -3
  276. package/lib-esm/redoc-lib/src/services/models/Example.d.ts +2 -2
  277. package/lib-esm/redoc-lib/src/services/models/Field.d.ts +5 -4
  278. package/lib-esm/redoc-lib/src/services/models/Group.model.d.ts +4 -4
  279. package/lib-esm/redoc-lib/src/services/models/MediaContent.d.ts +5 -5
  280. package/lib-esm/redoc-lib/src/services/models/MediaType.d.ts +5 -5
  281. package/lib-esm/redoc-lib/src/services/models/Operation.d.ts +8 -8
  282. package/lib-esm/redoc-lib/src/services/models/RequestBody.d.ts +4 -4
  283. package/lib-esm/redoc-lib/src/services/models/Response.d.ts +4 -4
  284. package/lib-esm/redoc-lib/src/services/models/Schema.d.ts +5 -5
  285. package/lib-esm/redoc-lib/src/services/models/SecurityRequirement.d.ts +2 -2
  286. package/lib-esm/redoc-lib/src/services/models/SecuritySchemes.d.ts +2 -2
  287. package/lib-esm/redoc-lib/src/services/models/Webhook.d.ts +3 -3
  288. package/lib-esm/redoc-lib/src/styled-components.d.ts +2 -2
  289. package/lib-esm/redoc-lib/src/types/open-api.d.ts +2 -2
  290. package/lib-esm/redoc-lib/src/utils/helpers.d.ts +3 -3
  291. package/lib-esm/redoc-lib/src/utils/helpers.js +1 -1
  292. package/lib-esm/redoc-lib/src/utils/loadAndBundleSpec.d.ts +1 -1
  293. package/lib-esm/redoc-lib/src/utils/media-css.d.ts +1 -1
  294. package/lib-esm/redoc-lib/src/utils/openapi.d.ts +3 -3
  295. package/lib-esm/services/ProMenu.d.ts +2 -2
  296. package/lib-esm/services/ProStore.d.ts +13 -26
  297. package/lib-esm/services/ProStore.js +1 -1
  298. package/lib-esm/services/SearchStore.d.ts +3 -2
  299. package/lib-esm/services/VersionedSpecStore.d.ts +3 -2
  300. package/lib-esm/services/code-samples/generator.d.ts +3 -3
  301. package/lib-esm/services/code-samples/httpsnippet/helpers/code-helpers.d.ts +2 -2
  302. package/lib-esm/services/code-samples/httpsnippet/index.d.ts +2 -2
  303. package/lib-esm/services/code-samples/httpsnippet/targets/csharp/httpclient.d.ts +2 -2
  304. package/lib-esm/services/code-samples/httpsnippet/targets/go/native.d.ts +2 -2
  305. package/lib-esm/services/code-samples/httpsnippet/targets/java/httpclient.d.ts +2 -2
  306. package/lib-esm/services/code-samples/httpsnippet/targets/java8/apachehttp.d.ts +2 -2
  307. package/lib-esm/services/code-samples/httpsnippet/targets/javascript/fetch.d.ts +2 -2
  308. package/lib-esm/services/code-samples/httpsnippet/targets/node/fetch.d.ts +2 -2
  309. package/lib-esm/services/code-samples/httpsnippet/targets/php/curl.d.ts +2 -2
  310. package/lib-esm/services/code-samples/httpsnippet/targets/php/utils.d.ts +1 -1
  311. package/lib-esm/services/code-samples/httpsnippet/targets/python/requests.d.ts +2 -2
  312. package/lib-esm/services/code-samples/httpsnippet/targets/ruby/native.d.ts +2 -2
  313. package/lib-esm/services/code-samples/httpsnippet/targets/shell/curl.d.ts +2 -2
  314. package/lib-esm/services/extendTheme.d.ts +2 -2
  315. package/lib-esm/services/history/FakeHistoryService.d.ts +2 -2
  316. package/lib-esm/services/history/ProHashHistoryService.d.ts +2 -2
  317. package/lib-esm/services/history/PushStateHistoryService.d.ts +3 -2
  318. package/lib-esm/services/history/helpers.d.ts +1 -1
  319. package/lib-esm/services/index.d.ts +1 -0
  320. package/lib-esm/services/index.js +1 -1
  321. package/lib-esm/services/types.d.ts +24 -0
  322. package/lib-esm/services/types.js +2 -0
  323. package/lib-esm/services/utils.js +1 -1
  324. package/lib-esm/standalone.d.ts +3 -3
  325. package/lib-esm/utils.js +1 -1
  326. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { ReactElement } from 'react';
2
- import { OperationModel } from '../../redoc-lib/src/services';
1
+ import type { ReactElement } from 'react';
2
+ import type { OperationModel } from '../../redoc-lib/src/services';
3
3
  export interface EndpointProps {
4
4
  operation: OperationModel;
5
5
  hideHostname?: boolean;
@@ -1,5 +1,5 @@
1
- import { ReactElement } from 'react';
2
- import { OperationModel } from '../../redoc-lib/src/services';
1
+ import type { ReactElement } from 'react';
2
+ import type { OperationModel } from '../../redoc-lib/src/services';
3
3
  export interface ServerListProps {
4
4
  operation: OperationModel;
5
5
  expandVariables: boolean;
@@ -1,6 +1,6 @@
1
- import { ReactElement } from 'react';
2
- import { OperationModel } from '../../redoc-lib';
3
- import { PanelHeaderProps } from '../Panel';
1
+ import type { ReactElement } from 'react';
2
+ import type { OperationModel } from '../../redoc-lib';
3
+ import type { PanelHeaderProps } from '../Panel';
4
4
  export declare type EndpointSummaryProps = PanelHeaderProps & {
5
5
  operation: OperationModel;
6
6
  onToggleConsole: () => void;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { ProMenu } from '../services/ProMenu';
3
- import { RedocProNormalizedOptions } from '../services/ProStore';
2
+ import type { ProMenu } from '../services/ProMenu';
3
+ import type { RedocProNormalizedOptions } from '../services/ProStore';
4
4
  export declare const NextSectionButton: import("styled-components").StyledComponent<"button", import("../services/extendTheme").ProTheme, import("./shared/Button").ButtonProps, never>;
5
5
  export declare const NextSectionButtonLink: import("styled-components").StyledComponent<"a", import("../services/extendTheme").ProTheme, import("./shared/Button").ButtonProps, never>;
6
6
  interface ContinueButtonProps {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LicenseInfo } from '../services/check';
2
+ import type { LicenseInfo } from '../services/check';
3
3
  export interface LicenseCheckProps {
4
4
  l: Promise<LicenseInfo>;
5
5
  }
@@ -1,4 +1,5 @@
1
- import React, { PropsWithChildren } from 'react';
1
+ import type { PropsWithChildren } from 'react';
2
+ import React from 'react';
2
3
  export interface PanelHeaderProps {
3
4
  expanded?: boolean;
4
5
  toggle: (e: React.BaseSyntheticEvent) => void;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { RedocNormalizedOptions } from '../redoc-lib';
3
- import { ProStore } from '../services/ProStore';
2
+ import type { RedocNormalizedOptions } from '../redoc-lib';
3
+ import type { ProStore } from '../services/ProStore';
4
4
  export interface ProProvidersProps {
5
5
  store: ProStore;
6
6
  children: React.ReactNode;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { ProStore, RedocProRawOptions } from '../services/ProStore';
2
+ import type { ProStore, RedocProRawOptions } from '../services/ProStore';
3
3
  import { LayoutVariant } from '../services/store-types';
4
- import { SpecVersions } from '../services/VersionedSpecStore';
5
- import { CodeSampleConfig } from '../services/code-samples/types';
4
+ import type { SpecVersions } from '../services/VersionedSpecStore';
5
+ import type { CodeSampleConfig } from '../services/code-samples/types';
6
6
  export interface RedoclyReferenceDocsProps {
7
7
  store: ProStore;
8
8
  _forceRenderInfo?: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ExampleModel } from '../../redoc-lib/src/services';
2
+ import type { ExampleModel } from '../../redoc-lib/src/services';
3
3
  interface ExampleModelsMap {
4
4
  [key: string]: ExampleModel;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { TabProps, TabsProps } from '../Tabs';
2
+ import type { TabProps, TabsProps } from '../Tabs';
3
3
  interface SampleProps extends TabProps {
4
4
  lang: string;
5
5
  }
@@ -1,4 +1,4 @@
1
- import { OperationModel } from '../../redoc-lib/src/services/models/Operation';
1
+ import type { OperationModel } from '../../redoc-lib/src/services/models/Operation';
2
2
  interface ExampleName {
3
3
  exampleKey: string;
4
4
  defaultExampleName?: string | false;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { IMenuItem, HistoryService } from '../../redoc-lib';
3
- import { SearchResultMeta } from '../../services/SearchStore';
2
+ import type { HistoryService, IMenuItem } from '../../redoc-lib';
3
+ import type { SearchResultMeta } from '../../services/SearchStore';
4
4
  export interface MenuItemProProps {
5
5
  result: SearchResultExtended;
6
6
  active: boolean;
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuItemPro=void 0;var templateObject_1,templateObject_2,templateObject_3,tslib_1=require("tslib"),React=(0,tslib_1.__importStar)(require("react")),redoc_lib_1=require("../../redoc-lib"),ResultMeta=redoc_lib_1.styled.div(templateObject_1||(templateObject_1=(0,tslib_1.__makeTemplateObject)(["\n font-size: 0.8em;\n ","\n"],["\n font-size: 0.8em;\n ","\n"])),(function(e){var t=e.theme;return(0,redoc_lib_1.mediaCSS)({fontFamily:t.typography.code.fontFamily})})),Place=redoc_lib_1.styled.span(templateObject_2||(templateObject_2=(0,tslib_1.__makeTemplateObject)(["\n font-weight: bold;\n"],["\n font-weight: bold;\n"]))),MarkedSpan=redoc_lib_1.styled.span(templateObject_3||(templateObject_3=(0,tslib_1.__makeTemplateObject)(["\n color: ",";\n background-color: #ffff03;\n"],["\n color: ",";\n background-color: #ffff03;\n"])),(function(e){return e.theme.sidebar.activeTextColor})),MenuItemPro=function(e){var t=e.result,a=e.active,n=e.term,r=e.onActivate,l=e.history,c=React.useContext(redoc_lib_1.OptionsContext),o="path-only"===c.searchMode,i="path-first"===c.sideNavStyle;return React.createElement(redoc_lib_1.MenuItem,{item:Object.create(t.item,{active:{value:a},name:{value:o?t.item.name:""},path:{value:""},search:{value:!0}}),onActivate:function(e,a){if(a.ctrlKey){var n=l.linkForId(t.item.id);window.open(n,"_blank")}else r(t)},withoutChildren:!0,"data-role":"search:result"},(i||o)&&"operation"===t.item.type?React.createElement(React.Fragment,null,React.createElement(redoc_lib_1.MenuItemPath,{title:t.item.path},markString(t.item.path,n))):markString(t.item.name,n),t.count>1?React.createElement(ResultMeta,null,t.count," matching ",formatPlaces(t.places)):1===t.count?React.createElement(ResultMeta,null,"in ",React.createElement(Place,null,t.places[0].place)," ",formatPath(n,t.places[0].paths[0])):null)};function formatPlaces(e){return e.slice().sort(),e.map((function(e){return e.place})).join(" and ")}function formatPath(e,t){return t&&t.length&&t[t.length-1].toLowerCase().startsWith(e.toLowerCase())&&(t=t.slice(0,t.length-1)),t&&0!==t.length?" → "+t.join(" → "):""}function markString(e,t){for(var a=new RegExp("("+t.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")+")","gi"),n=e.split(a),r=1,l=n.length;r<l;r+=2)n[r]=React.createElement(MarkedSpan,{key:r},n[r]);return n}exports.MenuItemPro=MenuItemPro;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MenuItemPro=void 0;var templateObject_1,templateObject_2,templateObject_3,tslib_1=require("tslib"),React=(0,tslib_1.__importStar)(require("react")),redoc_lib_1=require("../../redoc-lib"),services_1=require("../../services"),ResultMeta=redoc_lib_1.styled.div(templateObject_1||(templateObject_1=(0,tslib_1.__makeTemplateObject)(["\n font-size: 0.8em;\n ","\n"],["\n font-size: 0.8em;\n ","\n"])),(function(e){var t=e.theme;return(0,redoc_lib_1.mediaCSS)({fontFamily:t.typography.code.fontFamily})})),Place=redoc_lib_1.styled.span(templateObject_2||(templateObject_2=(0,tslib_1.__makeTemplateObject)(["\n font-weight: bold;\n"],["\n font-weight: bold;\n"]))),MarkedSpan=redoc_lib_1.styled.span(templateObject_3||(templateObject_3=(0,tslib_1.__makeTemplateObject)(["\n color: ",";\n background-color: #ffff03;\n"],["\n color: ",";\n background-color: #ffff03;\n"])),(function(e){return e.theme.sidebar.activeTextColor})),MenuItemPro=function(e){var t=e.result,a=e.active,n=e.term,r=e.onActivate,l=e.history,c=React.useContext(redoc_lib_1.OptionsContext),i="path-only"===c.searchMode,o=c.sideNavStyle===services_1.SideNavStyle.PathFirst;return React.createElement(redoc_lib_1.MenuItem,{item:Object.create(t.item,{active:{value:a},name:{value:i?t.item.name:""},path:{value:""},search:{value:!0}}),onActivate:function(e,a){if(a.ctrlKey){var n=l.linkForId(t.item.id);window.open(n,"_blank")}else r(t)},withoutChildren:!0,"data-role":"search:result"},(o||i)&&"operation"===t.item.type?React.createElement(React.Fragment,null,React.createElement(redoc_lib_1.MenuItemPath,{title:t.item.path},markString(t.item.path,n))):markString(t.item.name,n),t.count>1?React.createElement(ResultMeta,null,t.count," matching ",formatPlaces(t.places)):1===t.count?React.createElement(ResultMeta,null,"in ",React.createElement(Place,null,t.places[0].place)," ",formatPath(n,t.places[0].paths[0])):null)};function formatPlaces(e){return e.slice().sort(),e.map((function(e){return e.place})).join(" and ")}function formatPath(e,t){return t&&t.length&&t[t.length-1].toLowerCase().startsWith(e.toLowerCase())&&(t=t.slice(0,t.length-1)),t&&0!==t.length?" → "+t.join(" → "):""}function markString(e,t){for(var a=new RegExp("("+t.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&")+")","gi"),n=e.split(a),r=1,l=n.length;r<l;r+=2)n[r]=React.createElement(MarkedSpan,{key:r},n[r]);return n}exports.MenuItemPro=MenuItemPro;
2
2
  //# sourceMappingURL=MenuItemProSearch.js.map
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { SearchResultMeta } from '../../services/SearchStore';
3
- import { ProMenu } from '../../services/ProMenu';
4
- import { RedocProNormalizedOptions } from '../../services/ProStore';
5
- import { IMenuItem, SearchStore, MenuItem, MarkerService } from '../../redoc-lib';
6
- import { SearchResultExtended } from './MenuItemProSearch';
2
+ import type { SearchResultMeta } from '../../services/SearchStore';
3
+ import type { ProMenu } from '../../services/ProMenu';
4
+ import type { RedocProNormalizedOptions } from '../../services/ProStore';
5
+ import type { IMenuItem, SearchStore, MenuItem, MarkerService } from '../../redoc-lib';
6
+ import type { SearchResultExtended } from './MenuItemProSearch';
7
7
  declare type SearchResult<T = GenericObject | undefined> = {
8
8
  score: number;
9
9
  meta: T;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { MarkerService } from '../../redoc-lib';
2
+ import type { MarkerService } from '../../redoc-lib';
3
3
  interface SearchFieldProps {
4
4
  showPopUp: () => void;
5
5
  searchValue: string;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
- import { ProStore, RedocProRawOptions } from '../services/ProStore';
3
- import { CodeSampleConfig } from '../services/code-samples/types';
2
+ import type { RedocProRawOptions } from '../services/ProStore';
3
+ import { ProStore } from '../services/ProStore';
4
+ import type { CodeSampleConfig } from '../services/code-samples/types';
4
5
  import type { SpecVersions } from '../services/VersionedSpecStore';
5
6
  export declare const Provider: React.Provider<ProStore | undefined>, Consumer: React.Consumer<ProStore | undefined>;
6
7
  interface StoreProviderProps {
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- import { TabsProps } from './CollapsingTabsBase';
2
+ import type { TabsProps } from './CollapsingTabsBase';
3
3
  export declare const CollapsingTabs: ({ children, ...props }: TabsProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { TabProps as ReactTabProps } from 'react-tabs';
3
- import { OperationModel } from '../../../redoc-lib';
2
+ import type { TabProps as ReactTabProps } from 'react-tabs';
3
+ import type { OperationModel } from '../../../redoc-lib';
4
4
  export interface TabProps extends ReactTabProps {
5
5
  title: string;
6
6
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { DropdownOption } from './common/Dropdown';
3
- import { VersionedSpecStore } from '../services/VersionedSpecStore';
2
+ import type { DropdownOption } from './common/Dropdown';
3
+ import type { VersionedSpecStore } from '../services/VersionedSpecStore';
4
4
  export interface VersionSwitcherProps {
5
5
  onChange: (o: DropdownOption) => void;
6
6
  spec: VersionedSpecStore;
@@ -1,5 +1,6 @@
1
- import React, { ChangeEvent } from 'react';
2
- import { FieldContext } from 'informed';
1
+ import type { ChangeEvent } from 'react';
2
+ import React from 'react';
3
+ import type { FieldContext } from 'informed';
3
4
  declare type FieldValue = string[];
4
5
  interface CheckboxListComponentState {
5
6
  collapsed: boolean;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { DropdownProps } from './types';
2
+ import type { DropdownProps } from './types';
3
3
  export declare const Dropdown: React.NamedExoticComponent<DropdownProps>;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import type React from 'react';
2
2
  export interface DropdownOption {
3
3
  idx?: number;
4
4
  value: string;
@@ -1,5 +1,5 @@
1
1
  import type { SchemaModel } from '../../../redoc-lib';
2
- import { UploadFileType } from '../../../models';
2
+ import type { UploadFileType } from '../../../models';
3
3
  /**
4
4
  * Convert request body mime-type to accept value for file upload input in browser
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { FieldProps } from 'informed';
2
+ import type { FieldProps } from 'informed';
3
3
  import type { DropdownOption, DropdownProps } from './Dropdown';
4
4
  export declare const invertedInputStyles: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("../../services/extendTheme").ProTheme>>;
5
5
  export declare const StyledInput: import("styled-components").StyledComponent<"input", import("../../services/extendTheme").ProTheme, {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { FormValues } from 'informed';
3
- import { OperationModel } from '../../redoc-lib';
2
+ import type { FormValues } from 'informed';
3
+ import type { OperationModel } from '../../redoc-lib';
4
4
  export interface ActionPanelProps {
5
5
  execute: () => void;
6
6
  loading: boolean;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { FormApi, FormState } from 'informed';
3
- import { OperationModel } from '../../redoc-lib';
4
- import { SecurityDetails } from '../../utils';
5
- import { DropdownOption } from '../common/Dropdown';
2
+ import type { FormApi, FormState } from 'informed';
3
+ import type { OperationModel } from '../../redoc-lib';
4
+ import type { SecurityDetails } from '../../utils';
5
+ import type { DropdownOption } from '../common/Dropdown';
6
6
  export declare function requiredValidator(value: unknown): string | undefined;
7
7
  export interface AuthPanelProps {
8
8
  operation: OperationModel;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { Controlled as CodeMirror } from 'react-codemirror2';
3
- import { Editor } from 'codemirror';
3
+ import type { Editor } from 'codemirror';
4
4
  import './codemirror-helpers';
5
5
  export interface CodemirrorInputBase {
6
6
  forwardedRef?: React.Ref<any>;
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
- import { FormApi, FormState } from 'informed';
3
- import { SecurityDetails } from '../../utils';
4
- import { OpenApiResponseData } from './ResponsePanel';
5
- import { ProStore } from '../../services';
6
- import { OperationModel, Server } from '../../redoc-lib';
7
- import { PanelComponentProps } from '../Panel';
2
+ import type { FormApi, FormState } from 'informed';
3
+ import type { SecurityDetails } from '../../utils';
4
+ import type { OpenApiResponseData } from './ResponsePanel';
5
+ import type { ProStore } from '../../services';
6
+ import type { OperationModel, Server } from '../../redoc-lib';
7
+ import type { PanelComponentProps } from '../Panel';
8
8
  export declare type RequestAndResponseType = {
9
9
  request: Record<string, unknown>;
10
10
  response: OpenApiResponseData;
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { FormApi, FormState } from 'informed';
3
- import { InputActionButtonProps } from '../common/TextField';
4
- import { SecurityDetails } from '../../utils';
5
- import { RedocProNormalizedOptions } from '../../services';
2
+ import type { FormApi, FormState } from 'informed';
3
+ import type { InputActionButtonProps } from '../common/TextField';
4
+ import type { SecurityDetails } from '../../utils';
5
+ import type { RedocProNormalizedOptions } from '../../services';
6
6
  export interface OAuth2FlowProps {
7
7
  authorizationUrl: string;
8
8
  tokenUrl?: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { SecurityDetails } from '../../utils';
2
+ import type { SecurityDetails } from '../../utils';
3
3
  export interface OAuth2TokenInputProps {
4
4
  flow: {
5
5
  refreshUrl?: string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { FormApi, FormState } from 'informed';
3
- import { SecurityScheme } from '../../redoc-lib';
4
- import { SecurityDetails } from '../../utils';
2
+ import type { FormApi, FormState } from 'informed';
3
+ import type { SecurityScheme } from '../../redoc-lib';
4
+ import type { SecurityDetails } from '../../utils';
5
5
  export interface OpenIDConnectProps {
6
6
  server: string;
7
7
  authCorsProxyUrl: Maybe<string>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OperationModel } from '../../redoc-lib';
2
+ import type { OperationModel } from '../../redoc-lib';
3
3
  export interface OperationParametersProps {
4
4
  operation: OperationModel;
5
5
  errors: Record<string, Record<string, string>>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { RequestBodyModel } from '../../redoc-lib';
3
- import { Console } from './Console';
2
+ import type { RequestBodyModel } from '../../redoc-lib';
3
+ import type { Console } from './Console';
4
4
  export interface RequestBodyProps {
5
5
  body: RequestBodyModel;
6
6
  resolvedBody: any;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { FormApi } from 'informed';
2
+ import type { FormApi } from 'informed';
3
3
  import type { FieldModel, MediaTypeModel } from '../../redoc-lib';
4
4
  export declare const RequestBodyForm: (props: {
5
5
  mediaType: MediaTypeModel;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OpenApiResponseData } from './ResponsePanel';
2
+ import type { OpenApiResponseData } from './ResponsePanel';
3
3
  export declare function ResponseBody({ response }: {
4
4
  response: OpenApiResponseData;
5
5
  }): JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { FileInfo } from '../../redoc-lib/src/common-elements/Download';
2
+ import type { FileInfo } from '../../redoc-lib/src/common-elements/Download';
3
3
  export interface OpenApiResponseData extends FileInfo {
4
4
  body?: GenericObject;
5
5
  data: string;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { OperationModel, Server } from '../../redoc-lib';
3
- import { DropdownOption } from '../common/Dropdown';
3
+ import type { DropdownOption } from '../common/Dropdown';
4
4
  export interface ServerDropdownProps {
5
5
  operation: OperationModel;
6
6
  onChange: (server: Server) => void;
@@ -1,4 +1,4 @@
1
- import { FieldModel, OpenAPIServer, Server, ServerVariables } from '../../redoc-lib';
1
+ import type { FieldModel, OpenAPIServer, Server, ServerVariables } from '../../redoc-lib';
2
2
  export declare function normalizeUrlProtocol(url: string): string;
3
3
  export declare function updateStorage(state: GenericObject): void;
4
4
  export declare const getParameters: (parameters: FieldModel[], type: string) => GenericObject;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { OpenAPIEncoding } from '../../redoc-lib';
3
- import { ProStore } from '../../services/ProStore';
2
+ import type { OpenAPIEncoding } from '../../redoc-lib';
3
+ import type { ProStore } from '../../services/ProStore';
4
4
  interface RedocExampleProps {
5
5
  store: ProStore;
6
6
  pointer: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ProStore } from '../../services';
2
+ import type { ProStore } from '../../services';
3
3
  interface RedocRequestBodyProps {
4
4
  store: ProStore;
5
5
  pointer: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { ProStore } from '../../services/ProStore';
2
+ import type { ProStore } from '../../services/ProStore';
3
3
  export interface RedocResponseProps {
4
4
  store: ProStore;
5
5
  pointer: string;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { OpenAPISchema } from '../../redoc-lib';
3
- import { ProStore } from '../../services';
2
+ import type { OpenAPISchema } from '../../redoc-lib';
3
+ import type { ProStore } from '../../services';
4
4
  interface RedocSchemaProps {
5
5
  store: ProStore;
6
6
  pointer?: string;
@@ -1,4 +1,4 @@
1
- import { ProTheme } from '../../services/extendTheme';
1
+ import type { ProTheme } from '../../services/extendTheme';
2
2
  export declare const SamplesWrap: import("styled-components").StyledComponent<"div", ProTheme, {}, never>;
3
3
  export declare const ExamplesWrap: import("styled-components").StyledComponent<"div", ProTheme, {}, never>;
4
4
  export declare const FullWidthPanel: import("styled-components").StyledComponent<"div", ProTheme, {
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { ProTheme } from '../services/extendTheme';
3
- import { ProStore, LayoutVariant } from '../services';
2
+ import type { ProTheme } from '../services/extendTheme';
3
+ import type { ProStore } from '../services';
4
+ import { LayoutVariant } from '../services';
4
5
  export declare const StyledToggleRightPanelButton: import("styled-components").StyledComponent<"a", ProTheme, {}, never>;
5
6
  export declare const ToggleRightPanelButton: ({ store, isVisible, }: {
6
7
  store: ProStore;
@@ -1,4 +1,4 @@
1
- import { Events, CodeSamplesConfig } from '../services';
1
+ import type { Events, CodeSamplesConfig } from '../services';
2
2
  export interface CodeSampleOptions {
3
3
  payloadSampleIdx: number;
4
4
  hideRequestPayloadSample: boolean;
@@ -1,5 +1,5 @@
1
- import { PropsWithChildren } from 'react';
2
- import { FieldModel } from '../services';
1
+ import type { PropsWithChildren } from 'react';
2
+ import type { FieldModel } from '../services';
3
3
  interface LinkToFieldProps {
4
4
  field: FieldModel;
5
5
  className?: string;
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
1
+ import type { PropsWithChildren } from 'react';
2
2
  export interface TooltipProps {
3
3
  tip: string;
4
4
  open?: boolean;
@@ -1,5 +1,6 @@
1
- import React, { PropsWithChildren } from 'react';
2
- import { FlattenSimpleInterpolation } from 'styled-components';
1
+ import type { PropsWithChildren } from 'react';
2
+ import React from 'react';
3
+ import type { FlattenSimpleInterpolation } from 'styled-components';
3
4
  export declare function userIsForcingNavigation(event: React.MouseEvent): boolean;
4
5
  export declare const linkifyMixin: (className: string, size: string) => FlattenSimpleInterpolation;
5
6
  export declare function Link(props: PropsWithChildren<{
@@ -1,5 +1,6 @@
1
- import React, { PropsWithChildren } from 'react';
2
- import PerfectScrollbarType from 'perfect-scrollbar';
1
+ import type { PropsWithChildren } from 'react';
2
+ import React from 'react';
3
+ import type PerfectScrollbarType from 'perfect-scrollbar';
3
4
  export interface PerfectScrollbarProps {
4
5
  options?: PerfectScrollbarType.Options;
5
6
  className?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ProStore } from '../../../../services';
2
+ import type { ProStore } from '../../../../services';
3
3
  export interface ApiInfoProps {
4
4
  store: ProStore;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { OpenAPIInfo } from '../../types';
2
+ import type { OpenAPIInfo } from '../../types';
3
3
  export declare class ApiLogo extends React.Component<{
4
4
  info: OpenAPIInfo;
5
5
  }> {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { PropsWithChildren } from 'react';
2
+ import type { PropsWithChildren } from 'react';
3
3
  export declare const LogoImgEl: import("styled-components").StyledComponent<"img", import("../../../../services/extendTheme").ProTheme, {}, never>;
4
4
  export declare const LogoWrap: import("styled-components").StyledComponent<"div", import("../../../../services/extendTheme").ProTheme, {}, never>;
5
5
  export declare const LinkWrap: ({ url, children }: React.PropsWithChildren<{
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { OperationModel } from '../../services/models';
2
+ import type { OperationModel } from '../../services/models';
3
3
  import type { DropdownProps } from '../../../../components/common/Dropdown';
4
4
  export interface PayloadSampleProps {
5
5
  callback: OperationModel;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { RedocNormalizedOptions } from '../../services';
3
- import { CallbackModel } from '../../services/models';
2
+ import type { RedocNormalizedOptions } from '../../services';
3
+ import type { CallbackModel } from '../../services/models';
4
4
  export interface CallbackSamplesProps {
5
5
  callbacks: CallbackModel[];
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { OperationModel } from '../../services';
2
+ import type { OperationModel } from '../../services';
3
3
  export interface CallbackDetailsProps {
4
4
  operation: OperationModel;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { OperationModel } from '../../services';
2
+ import type { OperationModel } from '../../services';
3
3
  export interface CallbackOperationProps {
4
4
  operation: OperationModel;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { PanelHeaderProps } from '../../../../components/Panel';
3
- import { OperationModel } from '../../services';
2
+ import type { PanelHeaderProps } from '../../../../components/Panel';
3
+ import type { OperationModel } from '../../services';
4
4
  export interface CallbackTitleProps extends PanelHeaderProps {
5
5
  operation: OperationModel;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { CallbackModel } from '../../services/models';
2
+ import type { CallbackModel } from '../../services/models';
3
3
  export interface CallbacksListProps {
4
4
  callbacks: CallbackModel[];
5
5
  }
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import { ContentItemModel } from '../../services/MenuBuilder';
3
- import { OperationModel } from '../../services/models';
2
+ import type { ContentItemModel } from '../../services/MenuBuilder';
3
+ import type { OperationModel } from '../../services/models';
4
4
  import type { LayoutVariant } from '../../../../services/';
5
- import { ProStore } from '../../../../services/ProStore';
5
+ import type { ProStore } from '../../../../services/ProStore';
6
6
  interface ContentItemsProps {
7
7
  items: ContentItemModel[];
8
8
  store: ProStore;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ApiInfoProps } from '../ApiInfo/ApiInfo';
2
+ import type { ApiInfoProps } from '../ApiInfo/ApiInfo';
3
3
  export declare function DownloadButtonWithLabel({ store, wrapped, }: ApiInfoProps & {
4
4
  wrapped?: boolean;
5
5
  }): JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { DropdownProps } from '../../../../components/common/Dropdown';
2
+ import type { DropdownProps } from '../../../../components/common/Dropdown';
3
3
  export interface DropdownOrLabelProps extends DropdownProps {
4
4
  Label?: React.ComponentClass;
5
5
  Dropdown?: React.ComponentClass;
@@ -1,4 +1,5 @@
1
- import React, { PropsWithChildren } from 'react';
1
+ import type { PropsWithChildren } from 'react';
2
+ import React from 'react';
2
3
  export declare class ErrorBoundary extends React.Component<PropsWithChildren<unknown>, {
3
4
  error?: Error;
4
5
  }> {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { OpenAPIExternalDocumentation } from '../../types';
2
+ import type { OpenAPIExternalDocumentation } from '../../types';
3
3
  export declare class ExternalDocumentation extends React.Component<{
4
4
  externalDocs: OpenAPIExternalDocumentation;
5
5
  compact?: boolean;