@scalar/api-reference 1.17.10 → 1.17.12

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 (188) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/browser/standalone.js +15 -7
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/Anchor/Anchor.vue.d.ts +1 -1
  5. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  6. package/dist/components/ApiClientModal.vue.d.ts +1 -1
  7. package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReference.vue.d.ts +1 -1
  9. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  10. package/dist/components/ApiReferenceBase.vue.d.ts +11 -2
  11. package/dist/components/ApiReferenceBase.vue.d.ts.map +1 -1
  12. package/dist/components/ApiReferenceLayout.vue.d.ts +102 -224
  13. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  14. package/dist/components/Badge/Badge.vue.d.ts +1 -1
  15. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  16. package/dist/components/Card/Card.vue.d.ts +1 -1
  17. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  18. package/dist/components/Card/CardContent.vue.d.ts +1 -1
  19. package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
  20. package/dist/components/Card/CardFooter.vue.d.ts +1 -1
  21. package/dist/components/Card/CardFooter.vue.d.ts.map +1 -1
  22. package/dist/components/Card/CardHeader.vue.d.ts +1 -1
  23. package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
  24. package/dist/components/Card/CardTab.vue.d.ts +1 -1
  25. package/dist/components/Card/CardTab.vue.d.ts.map +1 -1
  26. package/dist/components/Card/CardTabHeader.vue.d.ts +1 -1
  27. package/dist/components/Card/CardTabHeader.vue.d.ts.map +1 -1
  28. package/dist/components/ClassicHeader.vue.d.ts +1 -1
  29. package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Authentication/Authentication.vue.d.ts +1 -1
  31. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  32. package/dist/components/Content/Authentication/CardForm.vue.d.ts +1 -1
  33. package/dist/components/Content/Authentication/CardForm.vue.d.ts.map +1 -1
  34. package/dist/components/Content/Authentication/CardFormButton.vue.d.ts +1 -1
  35. package/dist/components/Content/Authentication/CardFormButton.vue.d.ts.map +1 -1
  36. package/dist/components/Content/Authentication/CardFormGroup.vue.d.ts +1 -1
  37. package/dist/components/Content/Authentication/CardFormGroup.vue.d.ts.map +1 -1
  38. package/dist/components/Content/Authentication/CardFormTextInput.vue.d.ts +1 -1
  39. package/dist/components/Content/Authentication/CardFormTextInput.vue.d.ts.map +1 -1
  40. package/dist/components/Content/Authentication/SecurityScheme.vue.d.ts +1 -1
  41. package/dist/components/Content/Authentication/SecurityScheme.vue.d.ts.map +1 -1
  42. package/dist/components/Content/Authentication/SecuritySchemeScopes.vue.d.ts +1 -1
  43. package/dist/components/Content/Authentication/SecuritySchemeScopes.vue.d.ts.map +1 -1
  44. package/dist/components/Content/Authentication/SecuritySchemeSelector.vue.d.ts +1 -1
  45. package/dist/components/Content/Authentication/SecuritySchemeSelector.vue.d.ts.map +1 -1
  46. package/dist/components/Content/BaseUrl/BaseUrl.vue.d.ts +1 -1
  47. package/dist/components/Content/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
  48. package/dist/components/Content/BaseUrl/ServerItem.vue.d.ts +1 -1
  49. package/dist/components/Content/BaseUrl/ServerItem.vue.d.ts.map +1 -1
  50. package/dist/components/Content/BaseUrl/ServerVariables.vue.d.ts +1 -1
  51. package/dist/components/Content/BaseUrl/ServerVariables.vue.d.ts.map +1 -1
  52. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +1 -1
  53. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
  54. package/dist/components/Content/Content.vue.d.ts +1 -1
  55. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  56. package/dist/components/Content/Introduction/Description.vue.d.ts +1 -1
  57. package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
  58. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts +1 -1
  59. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts.map +1 -1
  60. package/dist/components/Content/Introduction/Introduction.vue.d.ts +1 -1
  61. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  62. package/dist/components/Content/Lazy/Lazy.vue.d.ts +1 -1
  63. package/dist/components/Content/Lazy/Lazy.vue.d.ts.map +1 -1
  64. package/dist/components/Content/Lazy/Loading.vue.d.ts +1 -1
  65. package/dist/components/Content/Lazy/Loading.vue.d.ts.map +1 -1
  66. package/dist/components/Content/Models/Models.vue.d.ts +1 -1
  67. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  68. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts +1 -1
  69. package/dist/components/Content/Models/ModelsAccordion.vue.d.ts.map +1 -1
  70. package/dist/components/Content/Operation/CustomRequestExamples.vue.d.ts +1 -1
  71. package/dist/components/Content/Operation/CustomRequestExamples.vue.d.ts.map +1 -1
  72. package/dist/components/Content/Operation/EndpointDetails.vue.d.ts +1 -1
  73. package/dist/components/Content/Operation/EndpointDetails.vue.d.ts.map +1 -1
  74. package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts +1 -1
  75. package/dist/components/Content/Operation/EndpointDetailsCard.vue.d.ts.map +1 -1
  76. package/dist/components/Content/Operation/EndpointPath.vue.d.ts +1 -1
  77. package/dist/components/Content/Operation/EndpointPath.vue.d.ts.map +1 -1
  78. package/dist/components/Content/Operation/ExamplePicker.vue.d.ts +1 -1
  79. package/dist/components/Content/Operation/ExamplePicker.vue.d.ts.map +1 -1
  80. package/dist/components/Content/Operation/ExampleRequest.vue.d.ts +1 -1
  81. package/dist/components/Content/Operation/ExampleRequest.vue.d.ts.map +1 -1
  82. package/dist/components/Content/Operation/Operation.vue.d.ts +1 -1
  83. package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
  84. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts +1 -1
  85. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  86. package/dist/components/Content/Operation/ParameterItem.vue.d.ts +1 -1
  87. package/dist/components/Content/Operation/ParameterItem.vue.d.ts.map +1 -1
  88. package/dist/components/Content/Operation/Parameters.vue.d.ts +1 -1
  89. package/dist/components/Content/Operation/Parameters.vue.d.ts.map +1 -1
  90. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts +1 -1
  91. package/dist/components/Content/Operation/PathResponses/ExampleResponse.vue.d.ts.map +1 -1
  92. package/dist/components/Content/Operation/PathResponses/Headers.vue.d.ts +1 -1
  93. package/dist/components/Content/Operation/PathResponses/Headers.vue.d.ts.map +1 -1
  94. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts +1 -1
  95. package/dist/components/Content/Operation/PathResponses/PathResponses.vue.d.ts.map +1 -1
  96. package/dist/components/Content/Operation/RequestBody.vue.d.ts +1 -1
  97. package/dist/components/Content/Operation/RequestBody.vue.d.ts.map +1 -1
  98. package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts +1 -1
  99. package/dist/components/Content/Operation/RequestBodyPropertiesChild.vue.d.ts.map +1 -1
  100. package/dist/components/Content/Operation/TextSelect.vue.d.ts +1 -1
  101. package/dist/components/Content/Operation/TextSelect.vue.d.ts.map +1 -1
  102. package/dist/components/Content/Operation/TryRequestButton.vue.d.ts +1 -1
  103. package/dist/components/Content/Operation/TryRequestButton.vue.d.ts.map +1 -1
  104. package/dist/components/Content/Schema/Schema.vue.d.ts +1 -1
  105. package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
  106. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +1 -1
  107. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  108. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -1
  109. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  110. package/dist/components/Content/Tag/Endpoints.vue.d.ts +1 -1
  111. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  112. package/dist/components/Content/Tag/Tag.vue.d.ts +1 -1
  113. package/dist/components/Content/Tag/Tag.vue.d.ts.map +1 -1
  114. package/dist/components/Content/Tag/TagAccordion.vue.d.ts +1 -1
  115. package/dist/components/Content/Tag/TagAccordion.vue.d.ts.map +1 -1
  116. package/dist/components/Content/Webhooks/Webhook.vue.d.ts +1 -1
  117. package/dist/components/Content/Webhooks/Webhook.vue.d.ts.map +1 -1
  118. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts +1 -1
  119. package/dist/components/Content/Webhooks/Webhooks.vue.d.ts.map +1 -1
  120. package/dist/components/CustomToaster.vue.d.ts +1 -1
  121. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.d.ts +1 -1
  122. package/dist/components/DarkModeToggle/DarkModeToggle.vue.d.ts +1 -1
  123. package/dist/components/GettingStarted.vue.d.ts +1 -1
  124. package/dist/components/GettingStarted.vue.d.ts.map +1 -1
  125. package/dist/components/HelpfulLink.vue.d.ts +1 -1
  126. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  127. package/dist/components/Icon/Icon.vue.d.ts +1 -1
  128. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  129. package/dist/components/Icon/SvgRenderer.d.ts +1 -1
  130. package/dist/components/IntersectionObserver.vue.d.ts +1 -1
  131. package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
  132. package/dist/components/Layouts/BaseLayout.vue.d.ts +1 -1
  133. package/dist/components/Layouts/BaseLayout.vue.d.ts.map +1 -1
  134. package/dist/components/Layouts/ClassicLayout.vue.d.ts +1 -1
  135. package/dist/components/Layouts/ClassicLayout.vue.d.ts.map +1 -1
  136. package/dist/components/Layouts/ModernLayout.vue.d.ts +1 -1
  137. package/dist/components/Layouts/ModernLayout.vue.d.ts.map +1 -1
  138. package/dist/components/LoadingSkeleton.vue.d.ts +1 -1
  139. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  140. package/dist/components/MarkdownRenderer/MarkdownRenderer.vue.d.ts +1 -1
  141. package/dist/components/MarkdownRenderer/MarkdownRenderer.vue.d.ts.map +1 -1
  142. package/dist/components/MobileHeader.vue.d.ts +1 -1
  143. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  144. package/dist/components/ScreenReader.vue.d.ts +1 -1
  145. package/dist/components/ScreenReader.vue.d.ts.map +1 -1
  146. package/dist/components/SearchButton.vue.d.ts +1 -1
  147. package/dist/components/SearchButton.vue.d.ts.map +1 -1
  148. package/dist/components/SearchModal.vue.d.ts +1 -1
  149. package/dist/components/SearchModal.vue.d.ts.map +1 -1
  150. package/dist/components/Section/Section.vue.d.ts +1 -1
  151. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  152. package/dist/components/Section/SectionAccordion.vue.d.ts +1 -1
  153. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  154. package/dist/components/Section/SectionColumn.vue.d.ts +1 -1
  155. package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
  156. package/dist/components/Section/SectionColumns.vue.d.ts +1 -1
  157. package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
  158. package/dist/components/Section/SectionContainer.vue.d.ts +1 -1
  159. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  160. package/dist/components/Section/SectionContainerAccordion.vue.d.ts +1 -1
  161. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  162. package/dist/components/Section/SectionContent.vue.d.ts +1 -1
  163. package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
  164. package/dist/components/Section/SectionHeader.vue.d.ts +1 -1
  165. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  166. package/dist/components/ShowMoreButton.vue.d.ts +1 -1
  167. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  168. package/dist/components/Sidebar/Sidebar.vue.d.ts +1 -1
  169. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  170. package/dist/components/Sidebar/SidebarElement.vue.d.ts +1 -1
  171. package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
  172. package/dist/components/Sidebar/SidebarGroup.vue.d.ts +1 -1
  173. package/dist/components/Sidebar/SidebarGroup.vue.d.ts.map +1 -1
  174. package/dist/components/SimpleTable/SimpleCell.vue.d.ts +1 -1
  175. package/dist/components/SimpleTable/SimpleCell.vue.d.ts.map +1 -1
  176. package/dist/components/SimpleTable/SimpleHeader.vue.d.ts +1 -1
  177. package/dist/components/SimpleTable/SimpleHeader.vue.d.ts.map +1 -1
  178. package/dist/components/SimpleTable/SimpleRow.vue.d.ts +1 -1
  179. package/dist/components/SimpleTable/SimpleRow.vue.d.ts.map +1 -1
  180. package/dist/components/SimpleTable/SimpleTable.vue.d.ts +1 -1
  181. package/dist/components/SimpleTable/SimpleTable.vue.d.ts.map +1 -1
  182. package/dist/components/Spinner/Spinner.vue.d.ts +1 -1
  183. package/dist/hooks/useParser.d.ts +2 -2
  184. package/dist/index-ICDBtWa8.js +415 -0
  185. package/dist/{index-DNWRoh6E.js → index-WT2_Za0_.js} +14012 -12825
  186. package/dist/index.js +7 -7
  187. package/package.json +6 -6
  188. package/dist/index-CQR5tavC.js +0 -225
@@ -1 +1 @@
1
- {"version":3,"file":"SectionColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionColumns.vue.ts"],"names":[],"mappings":";;;AA+DA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SectionColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionColumns.vue.ts"],"names":[],"mappings":";;;AA+DA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue.ts"],"names":[],"mappings":";;;AAgEA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SectionContainer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainer.vue.ts"],"names":[],"mappings":";;;AAgEA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
2
  title?(_: {}): any;
3
3
  default?(_: {}): any;
4
4
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue.ts"],"names":[],"mappings":";;;;AAoKA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SectionContainerAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContainerAccordion.vue.ts"],"names":[],"mappings":";;;;AAoKA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -2,7 +2,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
2
2
  loading?: boolean | undefined;
3
3
  }>, {
4
4
  loading: boolean;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
6
  loading?: boolean | undefined;
7
7
  }>, {
8
8
  loading: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SectionContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContent.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAuGA,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SectionContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionContent.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAuGA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  loading: boolean;
7
7
  tight: boolean;
8
8
  level: number;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
10
  loading?: boolean | undefined;
11
11
  tight?: boolean | undefined;
12
12
  level?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA0GA,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SectionHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Section/SectionHeader.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA0GA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  id: string;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  id: string;
5
5
  }>>>, {}, {}>;
6
6
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ShowMoreButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ShowMoreButton.vue.ts"],"names":[],"mappings":";QA0FM,MAAM;;QAAN,MAAM;;AAFZ,wBAQG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"ShowMoreButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/ShowMoreButton.vue.ts"],"names":[],"mappings":";QA8FM,MAAM;;QAAN,MAAM;;AANZ,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { Spec } from '../../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  parsedSpec: Spec;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  parsedSpec: Spec;
6
6
  }>>>, {}, {}>, {
7
7
  "sidebar-start"?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;;;;;;;;;AA0QvC,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;;;;;;;;;AA0QvC,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
16
  open?: boolean | undefined;
17
17
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
18
  toggleOpen: () => void;
19
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
19
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
20
20
  id: string;
21
21
  item: {
22
22
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarElement.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiUA,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SidebarElement.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarElement.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiUA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  level: number;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  level: number;
5
5
  }>>>, {}, {}>, {
6
6
  default?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarGroup.vue.ts"],"names":[],"mappings":";;;;;;;AA6EA,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SidebarGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarGroup.vue.ts"],"names":[],"mappings":";;;;;;;AA6EA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  wrap: boolean;
7
7
  strong: boolean;
8
8
  href: null;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
10
  wrap?: boolean | undefined;
11
11
  strong?: boolean | undefined;
12
12
  href?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleCell.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAoHA,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SimpleCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleCell.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAoHA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleHeader.vue.ts"],"names":[],"mappings":";;;AAqEA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SimpleHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleHeader.vue.ts"],"names":[],"mappings":";;;AAqEA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleRow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleRow.vue.ts"],"names":[],"mappings":";;;AA2DA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SimpleRow.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleRow.vue.ts"],"names":[],"mappings":";;;AA2DA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleTable.vue.ts"],"names":[],"mappings":";;;AA6DA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"SimpleTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SimpleTable/SimpleTable.vue.ts"],"names":[],"mappings":";;;AA6DA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=Spinner.vue.d.ts.map
@@ -39,7 +39,7 @@ export declare function useParser({ input, }: {
39
39
  properties?: Record<string, import("../types").Schema> | undefined;
40
40
  } | undefined;
41
41
  example?: any;
42
- examples?: Map<string, any> | undefined;
42
+ examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
43
43
  }[] | undefined;
44
44
  responses?: Record<string, import("../types").Response> | undefined;
45
45
  security?: import("openapi-types").OpenAPIV3.SecurityRequirementObject[] | undefined;
@@ -123,7 +123,7 @@ export declare function useParser({ input, }: {
123
123
  properties?: Record<string, import("../types").Schema> | undefined;
124
124
  } | undefined;
125
125
  example?: any;
126
- examples?: Map<string, any> | undefined;
126
+ examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
127
127
  }[] | undefined;
128
128
  }[];
129
129
  }[] | undefined;
@@ -0,0 +1,415 @@
1
+ import { defineComponent as F, openBlock as p, createBlock as B, unref as r, withCtx as c, createElementVNode as y, normalizeClass as _, createVNode as u, normalizeStyle as R, createTextVNode as b, toDisplayString as M, createCommentVNode as S, renderSlot as k, reactive as L, useAttrs as W, ref as U, onMounted as H, createElementBlock as w, resolveDynamicComponent as P, mergeProps as J, withKeys as K, watch as N, Fragment as E, computed as O, isRef as Q } from "vue";
2
+ import { c as j, a as $, _ as z, n as Y, H as D, b as I, f as q, C as G, h as X, R as Z } from "./index-WT2_Za0_.js";
3
+ import { u as Ne } from "./index-WT2_Za0_.js";
4
+ import { Dialog as ee, DialogPanel as te, DialogTitle as re, DialogDescription as oe } from "@headlessui/vue";
5
+ import { useTextareaAutosize as ae, useMediaQuery as le, useFileDialog as se } from "@vueuse/core";
6
+ const ne = () => L({
7
+ open: !1,
8
+ show() {
9
+ this.open = !0;
10
+ },
11
+ hide() {
12
+ this.open = !1;
13
+ }
14
+ }), ie = /* @__PURE__ */ F({
15
+ __name: "ScalarModal",
16
+ props: {
17
+ state: {},
18
+ title: {},
19
+ bodyClass: {},
20
+ maxWidth: {},
21
+ size: { default: "md" },
22
+ variant: {}
23
+ },
24
+ setup(d) {
25
+ const f = j({
26
+ base: [
27
+ "scalar-modal",
28
+ "col leading-snug relative mx-auto mb-0 mt-20 w-full rounded-lg bg-back-2 text-left text-fore-1 opacity-0"
29
+ ].join(" "),
30
+ variants: {
31
+ size: {
32
+ xs: "max-w-screen-xs",
33
+ sm: "max-w-screen-sm",
34
+ md: "max-w-screen-md",
35
+ lg: "max-w-screen-lg"
36
+ },
37
+ variant: {
38
+ history: "scalar-modal-history bg-back-1",
39
+ search: "scalar-modal-search"
40
+ }
41
+ }
42
+ });
43
+ return (t, a) => (p(), B(r(ee), {
44
+ open: t.state.open,
45
+ onClose: a[0] || (a[0] = (h) => t.state.hide())
46
+ }, {
47
+ default: c(() => [
48
+ y("div", {
49
+ class: _(
50
+ r($)(
51
+ "scalar-modal-layout fixed left-0 top-0",
52
+ "z-[1001] h-[100dvh] w-[100dvw]",
53
+ "bg-backdrop p-5 opacity-0"
54
+ )
55
+ )
56
+ }, [
57
+ u(r(te), {
58
+ class: _(r(f)({ size: t.size, variant: t.variant })),
59
+ style: R({ maxWidth: t.maxWidth })
60
+ }, {
61
+ default: c(() => [
62
+ t.title ? (p(), B(r(re), {
63
+ key: 0,
64
+ class: _(["scalar-modal-header font-semiBold m-0 rounded-lg px-6 py-3 text-left text-xs text-fore-1", { "pb-0 pt-6": t.variant === "history" }])
65
+ }, {
66
+ default: c(() => [
67
+ b(M(t.title), 1)
68
+ ]),
69
+ _: 1
70
+ }, 8, ["class"])) : S("", !0),
71
+ u(r(oe), {
72
+ class: _([
73
+ "scalar-modal-body relative max-h-[calc(100dvh-240px)] overflow-y-auto rounded-lg bg-back-1 px-6 pb-4 pt-6",
74
+ r($)(
75
+ t.bodyClass,
76
+ t.variant === "history" && "pt-3",
77
+ t.variant === "search" && "col max-h-[440px] overflow-hidden p-0"
78
+ )
79
+ ])
80
+ }, {
81
+ default: c(() => [
82
+ k(t.$slots, "default", {}, void 0, !0)
83
+ ]),
84
+ _: 3
85
+ }, 8, ["class"])
86
+ ]),
87
+ _: 3
88
+ }, 8, ["class", "style"])
89
+ ], 2)
90
+ ]),
91
+ _: 3
92
+ }, 8, ["open"]));
93
+ }
94
+ }), de = /* @__PURE__ */ z(ie, [["__scopeId", "data-v-53cbffc0"]]), ue = { class: "scalar-input-container relative" }, pe = ["for"], ce = { class: "icon-slot cursor-pointer text-ghost hover:text-fore-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3" }, me = /* @__PURE__ */ F({
95
+ __name: "ScalarTextField",
96
+ props: {
97
+ modelValue: {},
98
+ placeholder: {},
99
+ label: {},
100
+ labelShadowColor: { default: "var(--theme-background-2, var(--default-theme-background-2))" },
101
+ error: { type: Boolean },
102
+ isMultiline: { type: Boolean },
103
+ helperText: {},
104
+ emitOnBlur: { type: Boolean, default: !0 },
105
+ handleFieldSubmit: {},
106
+ handleFieldChange: {},
107
+ disableTrim: { type: Boolean, default: !1 }
108
+ },
109
+ emits: ["submit", "update:modelValue"],
110
+ setup(d, { emit: f }) {
111
+ const t = d, a = f, h = j({
112
+ base: "scalar-input-wrapper relative flex items-center rounded border border-solid border-border",
113
+ variants: {
114
+ focus: {
115
+ true: "scalar-input-wrapper-focus border-fore-3 has-actv-btn:border has-actv-btn:border-border"
116
+ },
117
+ error: { true: "scalar-input-wrapper-error border-error" }
118
+ }
119
+ }), n = W(), s = n.id || `id-${Y()}`, i = U(), x = U(!1);
120
+ let o;
121
+ if (t.isMultiline) {
122
+ const { triggerResize: e } = ae({
123
+ element: i,
124
+ input: t.modelValue
125
+ });
126
+ o = e;
127
+ }
128
+ function v(e) {
129
+ const l = e.target.value;
130
+ t.isMultiline && o(), t.handleFieldChange ? t.handleFieldChange(l) : a("update:modelValue", l);
131
+ }
132
+ function m(e) {
133
+ const l = e.target, g = t.disableTrim || t.isMultiline ? l.value : l.value.trim();
134
+ t.handleFieldSubmit ? t.handleFieldSubmit(g) : a("submit", g);
135
+ }
136
+ function C(e) {
137
+ x.value = !1, t.emitOnBlur && t.modelValue && m(e);
138
+ }
139
+ return H(() => {
140
+ var e;
141
+ Object.prototype.hasOwnProperty.call(n, "autofocus") && ((e = i.value) == null || e.focus());
142
+ }), (e, l) => (p(), w("div", ue, [
143
+ y("div", {
144
+ class: _(r(h)({ error: e.error, focus: x.value }))
145
+ }, [
146
+ (p(), B(P(e.isMultiline ? "textarea" : "input"), J({ id: r(s) }, e.$attrs, {
147
+ ref_key: "input",
148
+ ref: i,
149
+ class: [
150
+ "scalar-input",
151
+ r($)(
152
+ { "min-h-[77px]": e.isMultiline },
153
+ "z-10 w-full resize-none appearance-none border-0 bg-transparent p-3 text-sm text-fore-1",
154
+ "outline-none transition-opacity"
155
+ )
156
+ ],
157
+ placeholder: e.placeholder,
158
+ value: e.modelValue,
159
+ onBlur: C,
160
+ onFocus: l[0] || (l[0] = (g) => x.value = !0),
161
+ onInput: v,
162
+ onKeyup: K(m, ["enter"])
163
+ }), null, 16, ["id", "class", "placeholder", "value"])),
164
+ e.label ? (p(), w("label", {
165
+ key: 0,
166
+ class: _(
167
+ r($)(
168
+ "scalar-input-label pointer-events-none absolute left-0 top-0 mx-2 my-3 px-1 text-xs",
169
+ "shadow-current z-10 origin-top-left rounded text-fore-3 transition-transform"
170
+ )
171
+ ),
172
+ for: r(s),
173
+ style: R({
174
+ "box-shadow": `0 0 4px 4px ${e.labelShadowColor}`,
175
+ "background-color": e.labelShadowColor
176
+ })
177
+ }, M(e.label), 15, pe)) : S("", !0),
178
+ y("div", ce, [
179
+ k(e.$slots, "default", {}, void 0, !0)
180
+ ])
181
+ ], 2),
182
+ y("span", {
183
+ class: _(
184
+ r($)(
185
+ "helper-text before:rounded-full mt-1.5 flex items-center text-xs text-error before:font-black",
186
+ "before:mr-1.5 before:block before:h-4 before:w-4 before:text-center before:text-xxs before:leading-4",
187
+ "before:bg-error before:text-white before:content-['!'] empty:hidden"
188
+ )
189
+ )
190
+ }, M(e.helperText), 3)
191
+ ]));
192
+ }
193
+ }), fe = /* @__PURE__ */ z(me, [["__scopeId", "data-v-398eaaae"]]), ge = (d) => {
194
+ if (typeof d != "string")
195
+ return !1;
196
+ try {
197
+ JSON.parse(d);
198
+ } catch {
199
+ return !1;
200
+ }
201
+ return !0;
202
+ }, he = { class: "swagger-editor-header" }, ve = { class: "swagger-editor-title" }, be = { class: "swagger-editor-actions" }, ye = { key: 0 }, we = { key: 0 }, xe = { class: "swagger-editor-modal-layout" }, _e = /* @__PURE__ */ F({
203
+ __name: "SwaggerEditorHeader",
204
+ props: {
205
+ proxyUrl: {}
206
+ },
207
+ emits: ["import"],
208
+ setup(d, { expose: f, emit: t }) {
209
+ const a = d, h = t, n = le("(max-width: 1000px)"), { files: s, open: i, reset: x } = se({
210
+ multiple: !1,
211
+ accept: ".json,.yaml,.yml"
212
+ }), o = ne(), v = U(null);
213
+ f({
214
+ importUrlModal: o,
215
+ openFileDialog: i
216
+ });
217
+ const m = U(""), C = () => {
218
+ v.value = "", q(m.value, a.proxyUrl).then(async (e) => {
219
+ h("import", e), o.hide();
220
+ }).catch((e) => {
221
+ console.error("[importUrl]", e), v.value = e;
222
+ });
223
+ };
224
+ return N(s, () => {
225
+ var e;
226
+ if ((e = s.value) != null && e.length) {
227
+ const l = s.value[0], g = new FileReader();
228
+ g.onload = (A) => {
229
+ var T;
230
+ const V = (T = A.target) == null ? void 0 : T.result;
231
+ typeof V == "string" && (h("import", V), x());
232
+ }, g.readAsText(l);
233
+ }
234
+ }), (e, l) => (p(), w(E, null, [
235
+ y("div", he, [
236
+ y("div", ve, [
237
+ r(n) ? S("", !0) : (p(), w(E, { key: 0 }, [
238
+ b("Swagger ")
239
+ ], 64)),
240
+ b("Editor ")
241
+ ]),
242
+ k(e.$slots, "tab-items", {}, void 0, !0),
243
+ y("div", be, [
244
+ u(D, {
245
+ onClick: l[0] || (l[0] = () => r(i)())
246
+ }, {
247
+ default: c(() => [
248
+ b(" Upload"),
249
+ r(n) ? S("", !0) : (p(), w("span", ye, " File"))
250
+ ]),
251
+ _: 1
252
+ }),
253
+ u(D, {
254
+ onClick: l[1] || (l[1] = (g) => r(o).show())
255
+ }, {
256
+ default: c(() => [
257
+ r(n) ? S("", !0) : (p(), w("span", we, "Import ")),
258
+ b("URL ")
259
+ ]),
260
+ _: 1
261
+ })
262
+ ])
263
+ ]),
264
+ u(r(de), {
265
+ state: r(o),
266
+ title: "Import Swagger from URL"
267
+ }, {
268
+ default: c(() => [
269
+ y("div", xe, [
270
+ u(r(fe), {
271
+ modelValue: m.value,
272
+ "onUpdate:modelValue": l[2] || (l[2] = (g) => m.value = g),
273
+ autofocus: "",
274
+ class: "swagger-editor-modal-layout-input",
275
+ label: "URL",
276
+ labelShadowColor: "var(--theme-background-1, var(--default-theme-background-1))",
277
+ placeholder: "https://scalar.com/swagger.json"
278
+ }, null, 8, ["modelValue"]),
279
+ b(" " + M(v.value) + " ", 1),
280
+ u(r(I), {
281
+ variant: "outlined",
282
+ onClick: l[3] || (l[3] = (g) => r(o).hide())
283
+ }, {
284
+ default: c(() => [
285
+ b(" Cancel ")
286
+ ]),
287
+ _: 1
288
+ }),
289
+ u(r(I), { onClick: C }, {
290
+ default: c(() => [
291
+ b("Import")
292
+ ]),
293
+ _: 1
294
+ })
295
+ ])
296
+ ]),
297
+ _: 1
298
+ }, 8, ["state"])
299
+ ], 64));
300
+ }
301
+ }), Ce = /* @__PURE__ */ z(_e, [["__scopeId", "data-v-17d421af"]]), Se = { class: "swagger-editor-input" }, ke = /* @__PURE__ */ F({
302
+ __name: "SwaggerEditorInput",
303
+ props: {
304
+ value: {}
305
+ },
306
+ emits: ["contentUpdate"],
307
+ setup(d, { expose: f }) {
308
+ const t = d;
309
+ f({
310
+ setCodeMirrorContent: (s) => {
311
+ var i;
312
+ (i = a.value) == null || i.setCodeMirrorContent(s);
313
+ }
314
+ });
315
+ const a = U(null);
316
+ function h(s) {
317
+ return ge(s) ? "json" : "yaml";
318
+ }
319
+ const n = O(() => h(t.value));
320
+ return (s, i) => (p(), w("div", Se, [
321
+ u(r(G), {
322
+ ref_key: "codeMirrorRef",
323
+ ref: a,
324
+ content: s.value,
325
+ language: n.value,
326
+ lineNumbers: "",
327
+ onChange: i[0] || (i[0] = (x) => s.$emit("contentUpdate", x))
328
+ }, null, 8, ["content", "language"])
329
+ ]));
330
+ }
331
+ }), Ue = {}, $e = { class: "swagger-editor-notification swagger-editor-notification--error" };
332
+ function Me(d, f) {
333
+ return p(), w("div", $e, [
334
+ k(d.$slots, "default")
335
+ ]);
336
+ }
337
+ const Fe = /* @__PURE__ */ z(Ue, [["render", Me]]), ze = /* @__PURE__ */ F({
338
+ __name: "SwaggerEditor",
339
+ props: {
340
+ value: {},
341
+ theme: {},
342
+ proxyUrl: {},
343
+ error: {}
344
+ },
345
+ emits: ["contentUpdate", "import", "changeTheme"],
346
+ setup(d, { expose: f, emit: t }) {
347
+ const a = d, h = t, n = U(null), s = (o) => {
348
+ h("contentUpdate", o);
349
+ }, i = O(() => {
350
+ if (a.error === void 0 || a.error === null || a.error === "")
351
+ return "";
352
+ const o = Q(a.error) ? a.error.value : a.error;
353
+ return o.startsWith("YAMLException:") ? o.split(`
354
+ `)[0] : o;
355
+ });
356
+ return N(
357
+ () => a.value,
358
+ async () => {
359
+ a.value && s(a.value);
360
+ },
361
+ { immediate: !0 }
362
+ ), f({
363
+ handleOpenSwaggerEditor: (o) => {
364
+ var v, m, C;
365
+ o === "importUrl" ? (m = (v = n == null ? void 0 : n.value) == null ? void 0 : v.importUrlModal) == null || m.show() : o === "uploadFile" && ((C = n == null ? void 0 : n.value) == null || C.openFileDialog());
366
+ }
367
+ }), (o, v) => (p(), w(E, null, [
368
+ u(r(X), { id: o.theme }, null, 8, ["id"]),
369
+ u(Z, null, {
370
+ default: c(({ styles: m }) => [
371
+ y("div", {
372
+ class: _(["swagger-editor", m])
373
+ }, [
374
+ u(Ce, {
375
+ ref_key: "swaggerEditorHeaderRef",
376
+ ref: n,
377
+ proxyUrl: o.proxyUrl,
378
+ onImport: s
379
+ }, {
380
+ "tab-items": c(() => [
381
+ k(o.$slots, "tab-items", {}, void 0, !0)
382
+ ]),
383
+ _: 3
384
+ }, 8, ["proxyUrl"]),
385
+ i.value ? (p(), B(Fe, { key: 0 }, {
386
+ default: c(() => [
387
+ b(M(i.value), 1)
388
+ ]),
389
+ _: 1
390
+ })) : S("", !0),
391
+ k(o.$slots, "editor-input", {
392
+ value: o.value,
393
+ onContentUpdate: s
394
+ }, () => [
395
+ u(ke, {
396
+ value: o.value,
397
+ onContentUpdate: s
398
+ }, null, 8, ["value"])
399
+ ], !0)
400
+ ], 2)
401
+ ]),
402
+ _: 3
403
+ })
404
+ ], 64));
405
+ }
406
+ }), De = /* @__PURE__ */ z(ze, [["__scopeId", "data-v-6759cff3"]]);
407
+ export {
408
+ De as CodeEditor,
409
+ D as HeaderTabButton,
410
+ Z as ResetStyles,
411
+ De as SwaggerEditor,
412
+ q as fetchSpecFromUrl,
413
+ ge as isJsonString,
414
+ Ne as useDarkModeState
415
+ };