@scalar/api-reference 1.36.2 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/browser/standalone.js +26143 -25935
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReferenceContent.vue.d.ts +34 -0
  5. package/dist/components/ApiReferenceContent.vue.d.ts.map +1 -0
  6. package/dist/components/ApiReferenceContent.vue.js +8 -0
  7. package/dist/components/ApiReferenceContent.vue2.js +148 -0
  8. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  9. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  10. package/dist/components/ApiReferenceLayout.vue2.js +239 -219
  11. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts +2 -2
  12. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  13. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts +1 -1
  14. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  15. package/dist/components/Content/ClientLibraries/featured-clients.d.ts +1 -1
  16. package/dist/components/Content/ClientLibraries/featured-clients.d.ts.map +1 -1
  17. package/dist/components/Content/Content.vue.d.ts +21 -3
  18. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  19. package/dist/components/Content/Content.vue.js +132 -95
  20. package/dist/components/Content/Models/ClassicLayout.vue.d.ts +4 -2
  21. package/dist/components/Content/Models/ClassicLayout.vue.d.ts.map +1 -1
  22. package/dist/components/Content/Models/ClassicLayout.vue.js +2 -2
  23. package/dist/components/Content/Models/ClassicLayout.vue2.js +28 -28
  24. package/dist/components/Content/Models/Models.vue.d.ts +10 -2
  25. package/dist/components/Content/Models/Models.vue.d.ts.map +1 -1
  26. package/dist/components/Content/Models/Models.vue.js +25 -27
  27. package/dist/components/Content/Models/ModernLayout.vue.d.ts +6 -2
  28. package/dist/components/Content/Models/ModernLayout.vue.d.ts.map +1 -1
  29. package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
  30. package/dist/components/Content/Models/ModernLayout.vue2.js +30 -29
  31. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +20 -6
  32. package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
  33. package/dist/components/Content/Operations/TraversedEntry.vue.js +58 -46
  34. package/dist/components/Content/Operations/get-current-index.d.ts +1 -1
  35. package/dist/components/Content/Operations/get-current-index.d.ts.map +1 -1
  36. package/dist/components/Content/Schema/helpers/get-ref-name.d.ts.map +1 -1
  37. package/dist/components/Content/Schema/helpers/get-ref-name.js +9 -7
  38. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +1 -1
  39. package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
  40. package/dist/components/Content/Schema/helpers/schema-name.js +15 -14
  41. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts +1 -1
  42. package/dist/components/Content/Tags/ClassicLayout.vue.d.ts.map +1 -1
  43. package/dist/components/Content/Tags/ClassicLayout.vue.js +2 -2
  44. package/dist/components/Content/Tags/ModernLayout.vue.d.ts +3 -1
  45. package/dist/components/Content/Tags/ModernLayout.vue.d.ts.map +1 -1
  46. package/dist/components/Content/Tags/ModernLayout.vue.js +1 -1
  47. package/dist/components/Content/Tags/ModernLayout.vue2.js +34 -30
  48. package/dist/components/Content/Tags/Tag.vue.d.ts +3 -1
  49. package/dist/components/Content/Tags/Tag.vue.d.ts.map +1 -1
  50. package/dist/components/Content/Tags/Tag.vue.js +14 -12
  51. package/dist/components/Content/Tags/TagSection.vue.d.ts +2 -1
  52. package/dist/components/Content/Tags/TagSection.vue.d.ts.map +1 -1
  53. package/dist/components/Content/Tags/TagSection.vue.js +49 -52
  54. package/dist/components/OperationsList/OperationsList.vue.d.ts +1 -1
  55. package/dist/components/OperationsList/OperationsList.vue.d.ts.map +1 -1
  56. package/dist/components/OperationsList/OperationsList.vue.js +2 -2
  57. package/dist/components/OperationsList/OperationsListItem.vue.d.ts +1 -1
  58. package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -1
  59. package/dist/components/OperationsList/OperationsListItem.vue.js +2 -2
  60. package/dist/components/ShowMoreButton.vue.d.ts +1 -0
  61. package/dist/components/ShowMoreButton.vue.d.ts.map +1 -1
  62. package/dist/components/ShowMoreButton.vue.js +2 -2
  63. package/dist/components/ShowMoreButton.vue2.js +12 -12
  64. package/dist/features/Operation/Operation.vue.d.ts +21 -9
  65. package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
  66. package/dist/features/Operation/Operation.vue.js +42 -53
  67. package/dist/features/Operation/components/Header.vue.d.ts +2 -2
  68. package/dist/features/Operation/components/Header.vue.d.ts.map +1 -1
  69. package/dist/features/Operation/components/Header.vue.js +9 -8
  70. package/dist/features/Operation/components/Headers.vue.d.ts +2 -2
  71. package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
  72. package/dist/features/Operation/components/Headers.vue.js +2 -2
  73. package/dist/features/Operation/components/Headers.vue2.js +31 -29
  74. package/dist/features/Operation/components/OperationParameters.vue.d.ts +4 -0
  75. package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
  76. package/dist/features/Operation/components/OperationParameters.vue.js +37 -31
  77. package/dist/features/Operation/components/OperationResponses.vue.d.ts +5 -1
  78. package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
  79. package/dist/features/Operation/components/OperationResponses.vue.js +16 -17
  80. package/dist/features/Operation/components/ParameterList.vue.d.ts +6 -2
  81. package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
  82. package/dist/features/Operation/components/ParameterList.vue.js +17 -19
  83. package/dist/features/Operation/components/ParameterListItem.vue.d.ts +6 -2
  84. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  85. package/dist/features/Operation/components/ParameterListItem.vue.js +3 -3
  86. package/dist/features/Operation/components/ParameterListItem.vue2.js +64 -65
  87. package/dist/features/Operation/components/RequestBody.vue.d.ts +4 -0
  88. package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
  89. package/dist/features/Operation/components/RequestBody.vue.js +2 -2
  90. package/dist/features/Operation/components/RequestBody.vue2.js +65 -65
  91. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +4 -0
  92. package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
  93. package/dist/features/Operation/components/callbacks/Callback.vue.js +3 -3
  94. package/dist/features/Operation/components/callbacks/Callback.vue2.js +29 -22
  95. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts +6 -0
  96. package/dist/features/Operation/components/callbacks/Callbacks.vue.d.ts.map +1 -1
  97. package/dist/features/Operation/components/callbacks/Callbacks.vue.js +18 -16
  98. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts +11 -5
  99. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  100. package/dist/features/Operation/layouts/ClassicLayout.vue.js +2 -2
  101. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +99 -90
  102. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts +12 -5
  103. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  104. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  105. package/dist/features/Operation/layouts/ModernLayout.vue2.js +99 -87
  106. package/dist/features/Search/helpers/create-search-index.d.ts +2 -1
  107. package/dist/features/Search/helpers/create-search-index.d.ts.map +1 -1
  108. package/dist/features/Search/types.d.ts +1 -1
  109. package/dist/features/Search/types.d.ts.map +1 -1
  110. package/dist/features/api-client-modal/ApiClientModal.vue.d.ts.map +1 -1
  111. package/dist/features/api-client-modal/ApiClientModal.vue.js +23 -26
  112. package/dist/features/api-client-modal/useApiClient.d.ts +3032 -2888
  113. package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
  114. package/dist/features/document-source/hooks/useDocumentFetcher.d.ts.map +1 -1
  115. package/dist/features/document-source/hooks/useDocumentFetcher.js +13 -11
  116. package/dist/features/document-source/hooks/useDocumentSource.d.ts +1 -1
  117. package/dist/features/document-source/hooks/useDocumentSource.d.ts.map +1 -1
  118. package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
  119. package/dist/features/example-responses/ExampleResponse.vue.js +3 -3
  120. package/dist/features/example-responses/ExampleResponse.vue2.js +26 -18
  121. package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
  122. package/dist/features/example-responses/ExampleResponses.vue.js +2 -2
  123. package/dist/features/example-responses/ExampleResponses.vue2.js +53 -53
  124. package/dist/features/multiple-documents/useMultipleDocuments.d.ts +8 -5
  125. package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
  126. package/dist/features/multiple-documents/useMultipleDocuments.js +46 -43
  127. package/dist/features/test-request-button/TestRequestButton.vue.d.ts.map +1 -1
  128. package/dist/features/test-request-button/TestRequestButton.vue.js +2 -2
  129. package/dist/features/test-request-button/TestRequestButton.vue2.js +15 -21
  130. package/dist/features/toolbar/ApiReferenceToolbar.vue.js +18 -18
  131. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +1 -1
  132. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +2 -2
  133. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +1 -1
  134. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +1 -1
  135. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +8 -8
  136. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -1
  137. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +34 -28
  138. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +27 -27
  139. package/dist/helpers/test-utils.d.ts +3 -365
  140. package/dist/helpers/test-utils.d.ts.map +1 -1
  141. package/dist/hooks/useNavState.d.ts +4 -2
  142. package/dist/hooks/useNavState.d.ts.map +1 -1
  143. package/dist/hooks/useNavState.js +31 -27
  144. package/dist/index.d.ts +1 -0
  145. package/dist/index.d.ts.map +1 -1
  146. package/dist/index.js +21 -19
  147. package/dist/style.css +1 -1
  148. package/dist/types.d.ts.map +1 -1
  149. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  150. package/dist/v2/ApiReferenceWorkspace.vue.js +46 -40
  151. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +1 -1
  152. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -1
  153. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +2 -2
  154. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +11 -11
  155. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts +2 -2
  156. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -1
  157. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +2 -2
  158. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +10 -10
  159. package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts +1 -1
  160. package/dist/v2/blocks/scalar-client-selector-block/helpers/featured-clients.d.ts.map +1 -1
  161. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts +3 -0
  162. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
  163. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +2 -2
  164. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +32 -31
  165. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts +15 -8
  166. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -1
  167. package/dist/v2/blocks/scalar-info-block/components/InfoBlock.vue.js +25 -20
  168. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +8 -7
  169. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
  170. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +2 -2
  171. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +27 -32
  172. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts +2 -22
  173. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -1
  174. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.d.ts +8 -0
  175. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.d.ts.map +1 -1
  176. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue.js +2 -2
  177. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarBlock.vue2.js +70 -65
  178. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.d.ts +9 -1
  179. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.d.ts.map +1 -1
  180. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue.js +2 -2
  181. package/dist/v2/blocks/scalar-sidebar-block/components/SidebarElement.vue2.js +60 -57
  182. package/dist/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.d.ts +3 -365
  183. package/dist/v2/blocks/scalar-sidebar-block/helpers/create-sidebar.d.ts.map +1 -1
  184. package/dist/v2/blocks/scalar-sidebar-block/helpers/generate-reverse-index.d.ts +3 -183
  185. package/dist/v2/blocks/scalar-sidebar-block/helpers/generate-reverse-index.d.ts.map +1 -1
  186. package/dist/v2/helpers/map-configuration.d.ts +22 -22
  187. package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
  188. package/package.json +19 -16
  189. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts +0 -13
  190. package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +0 -1
  191. package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +0 -52
  192. package/dist/components/Content/Operations/TraversedEntryContainer.vue2.js +0 -4
  193. package/dist/components/Content/Operations/index.d.ts +0 -2
  194. package/dist/components/Content/Operations/index.d.ts.map +0 -1
  195. package/dist/hooks/useConfig.d.ts +0 -9
  196. package/dist/hooks/useConfig.d.ts.map +0 -1
  197. package/dist/hooks/useConfig.js +0 -10
  198. package/dist/legacy/stores/index.d.ts +0 -2
  199. package/dist/legacy/stores/index.d.ts.map +0 -1
  200. package/dist/legacy/stores/useExampleStore.d.ts +0 -5
  201. package/dist/legacy/stores/useExampleStore.d.ts.map +0 -1
  202. package/dist/legacy/stores/useExampleStore.js +0 -8
  203. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts +0 -14
  204. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.d.ts.map +0 -1
  205. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue.js +0 -4
  206. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +0 -55
  207. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts +0 -79
  208. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +0 -1
  209. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +0 -7
  210. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +0 -236
  211. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts +0 -41
  212. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.d.ts.map +0 -1
  213. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +0 -22
  214. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts +0 -20
  215. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.d.ts.map +0 -1
  216. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-client-options.js +0 -33
  217. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts +0 -17
  218. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.d.ts.map +0 -1
  219. package/dist/v2/blocks/scalar-request-example-block/helpers/generate-code-snippet.js +0 -26
  220. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts +0 -4
  221. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.d.ts.map +0 -1
  222. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +0 -10
  223. package/dist/v2/blocks/scalar-request-example-block/index.d.ts +0 -3
  224. package/dist/v2/blocks/scalar-request-example-block/index.d.ts.map +0 -1
  225. package/dist/v2/blocks/scalar-request-example-block/types.d.ts +0 -29
  226. package/dist/v2/blocks/scalar-request-example-block/types.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import type { OpenAPIV3_1 } from '@scalar/openapi-types';
2
2
  import type { WorkspaceStore } from '@scalar/workspace-store/client';
3
- import type { TraversedEntry } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
3
+ import type { TraversedEntry } from '@scalar/workspace-store/schemas/navigation';
4
4
  import type { WorkspaceDocument } from '@scalar/workspace-store/schemas/workspace';
5
5
  /**
6
6
  * A collection of tools which are used strictly for testing
@@ -9,188 +9,7 @@ export declare const createMockSidebar: (collapsedItems?: Record<string, boolean
9
9
  collapsedSidebarItems: Record<string, boolean>;
10
10
  isSidebarOpen: import("vue").Ref<boolean, boolean>;
11
11
  items: import("vue").ComputedRef<{
12
- entries: (({
13
- title: string;
14
- id: string;
15
- } & {
16
- description?: string | undefined;
17
- children?: (({
18
- title: string;
19
- id: string;
20
- } & /*elided*/ any) | ({
21
- title: string;
22
- id: string;
23
- } & {
24
- children?: (({
25
- title: string;
26
- id: string;
27
- } & /*elided*/ any) | ({
28
- title: string;
29
- id: string;
30
- } & /*elided*/ any) | ({
31
- title: string;
32
- id: string;
33
- } & {
34
- isDeprecated?: boolean | undefined;
35
- path: string;
36
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
37
- type: "operation";
38
- ref: string;
39
- }) | ({
40
- title: string;
41
- id: string;
42
- } & {
43
- type: "model";
44
- ref: string;
45
- name: string;
46
- }) | ({
47
- title: string;
48
- id: string;
49
- } & {
50
- isDeprecated?: boolean | undefined;
51
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
52
- type: "webhook";
53
- ref: string;
54
- name: string;
55
- }))[] | undefined;
56
- type: "text";
57
- }) | ({
58
- title: string;
59
- id: string;
60
- } & {
61
- isDeprecated?: boolean | undefined;
62
- path: string;
63
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
64
- type: "operation";
65
- ref: string;
66
- }) | ({
67
- title: string;
68
- id: string;
69
- } & {
70
- type: "model";
71
- ref: string;
72
- name: string;
73
- }) | ({
74
- title: string;
75
- id: string;
76
- } & {
77
- isDeprecated?: boolean | undefined;
78
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
79
- type: "webhook";
80
- ref: string;
81
- name: string;
82
- }))[] | undefined;
83
- isWebhooks?: boolean | undefined;
84
- xKeys?: {
85
- [x: string]: unknown;
86
- } | undefined;
87
- type: "tag";
88
- name: string;
89
- isGroup: boolean;
90
- }) | ({
91
- title: string;
92
- id: string;
93
- } & {
94
- children?: (({
95
- title: string;
96
- id: string;
97
- } & {
98
- description?: string | undefined;
99
- children?: (({
100
- title: string;
101
- id: string;
102
- } & /*elided*/ any) | ({
103
- title: string;
104
- id: string;
105
- } & /*elided*/ any) | ({
106
- title: string;
107
- id: string;
108
- } & {
109
- isDeprecated?: boolean | undefined;
110
- path: string;
111
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
112
- type: "operation";
113
- ref: string;
114
- }) | ({
115
- title: string;
116
- id: string;
117
- } & {
118
- type: "model";
119
- ref: string;
120
- name: string;
121
- }) | ({
122
- title: string;
123
- id: string;
124
- } & {
125
- isDeprecated?: boolean | undefined;
126
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
127
- type: "webhook";
128
- ref: string;
129
- name: string;
130
- }))[] | undefined;
131
- isWebhooks?: boolean | undefined;
132
- xKeys?: {
133
- [x: string]: unknown;
134
- } | undefined;
135
- type: "tag";
136
- name: string;
137
- isGroup: boolean;
138
- }) | ({
139
- title: string;
140
- id: string;
141
- } & /*elided*/ any) | ({
142
- title: string;
143
- id: string;
144
- } & {
145
- isDeprecated?: boolean | undefined;
146
- path: string;
147
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
148
- type: "operation";
149
- ref: string;
150
- }) | ({
151
- title: string;
152
- id: string;
153
- } & {
154
- type: "model";
155
- ref: string;
156
- name: string;
157
- }) | ({
158
- title: string;
159
- id: string;
160
- } & {
161
- isDeprecated?: boolean | undefined;
162
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
163
- type: "webhook";
164
- ref: string;
165
- name: string;
166
- }))[] | undefined;
167
- type: "text";
168
- }) | ({
169
- title: string;
170
- id: string;
171
- } & {
172
- isDeprecated?: boolean | undefined;
173
- path: string;
174
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
175
- type: "operation";
176
- ref: string;
177
- }) | ({
178
- title: string;
179
- id: string;
180
- } & {
181
- type: "model";
182
- ref: string;
183
- name: string;
184
- }) | ({
185
- title: string;
186
- id: string;
187
- } & {
188
- isDeprecated?: boolean | undefined;
189
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
190
- type: "webhook";
191
- ref: string;
192
- name: string;
193
- }))[];
12
+ entries: TraversedEntry[];
194
13
  entities: Map<any, any>;
195
14
  }>;
196
15
  scrollToOperation: import("vitest").Mock<(...args: any[]) => any>;
@@ -201,188 +20,7 @@ export declare const createMockSidebarFromDocument: (document: OpenAPIV3_1.Docum
201
20
  collapsedSidebarItems: Record<string, boolean>;
202
21
  isSidebarOpen: import("vue").Ref<boolean, boolean>;
203
22
  items: import("vue").ComputedRef<{
204
- entries: (({
205
- title: string;
206
- id: string;
207
- } & {
208
- description?: string | undefined;
209
- children?: (({
210
- title: string;
211
- id: string;
212
- } & /*elided*/ any) | ({
213
- title: string;
214
- id: string;
215
- } & {
216
- children?: (({
217
- title: string;
218
- id: string;
219
- } & /*elided*/ any) | ({
220
- title: string;
221
- id: string;
222
- } & /*elided*/ any) | ({
223
- title: string;
224
- id: string;
225
- } & {
226
- isDeprecated?: boolean | undefined;
227
- path: string;
228
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
229
- type: "operation";
230
- ref: string;
231
- }) | ({
232
- title: string;
233
- id: string;
234
- } & {
235
- type: "model";
236
- ref: string;
237
- name: string;
238
- }) | ({
239
- title: string;
240
- id: string;
241
- } & {
242
- isDeprecated?: boolean | undefined;
243
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
244
- type: "webhook";
245
- ref: string;
246
- name: string;
247
- }))[] | undefined;
248
- type: "text";
249
- }) | ({
250
- title: string;
251
- id: string;
252
- } & {
253
- isDeprecated?: boolean | undefined;
254
- path: string;
255
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
256
- type: "operation";
257
- ref: string;
258
- }) | ({
259
- title: string;
260
- id: string;
261
- } & {
262
- type: "model";
263
- ref: string;
264
- name: string;
265
- }) | ({
266
- title: string;
267
- id: string;
268
- } & {
269
- isDeprecated?: boolean | undefined;
270
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
271
- type: "webhook";
272
- ref: string;
273
- name: string;
274
- }))[] | undefined;
275
- isWebhooks?: boolean | undefined;
276
- xKeys?: {
277
- [x: string]: unknown;
278
- } | undefined;
279
- type: "tag";
280
- name: string;
281
- isGroup: boolean;
282
- }) | ({
283
- title: string;
284
- id: string;
285
- } & {
286
- children?: (({
287
- title: string;
288
- id: string;
289
- } & {
290
- description?: string | undefined;
291
- children?: (({
292
- title: string;
293
- id: string;
294
- } & /*elided*/ any) | ({
295
- title: string;
296
- id: string;
297
- } & /*elided*/ any) | ({
298
- title: string;
299
- id: string;
300
- } & {
301
- isDeprecated?: boolean | undefined;
302
- path: string;
303
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
304
- type: "operation";
305
- ref: string;
306
- }) | ({
307
- title: string;
308
- id: string;
309
- } & {
310
- type: "model";
311
- ref: string;
312
- name: string;
313
- }) | ({
314
- title: string;
315
- id: string;
316
- } & {
317
- isDeprecated?: boolean | undefined;
318
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
319
- type: "webhook";
320
- ref: string;
321
- name: string;
322
- }))[] | undefined;
323
- isWebhooks?: boolean | undefined;
324
- xKeys?: {
325
- [x: string]: unknown;
326
- } | undefined;
327
- type: "tag";
328
- name: string;
329
- isGroup: boolean;
330
- }) | ({
331
- title: string;
332
- id: string;
333
- } & /*elided*/ any) | ({
334
- title: string;
335
- id: string;
336
- } & {
337
- isDeprecated?: boolean | undefined;
338
- path: string;
339
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
340
- type: "operation";
341
- ref: string;
342
- }) | ({
343
- title: string;
344
- id: string;
345
- } & {
346
- type: "model";
347
- ref: string;
348
- name: string;
349
- }) | ({
350
- title: string;
351
- id: string;
352
- } & {
353
- isDeprecated?: boolean | undefined;
354
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
355
- type: "webhook";
356
- ref: string;
357
- name: string;
358
- }))[] | undefined;
359
- type: "text";
360
- }) | ({
361
- title: string;
362
- id: string;
363
- } & {
364
- isDeprecated?: boolean | undefined;
365
- path: string;
366
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
367
- type: "operation";
368
- ref: string;
369
- }) | ({
370
- title: string;
371
- id: string;
372
- } & {
373
- type: "model";
374
- ref: string;
375
- name: string;
376
- }) | ({
377
- title: string;
378
- id: string;
379
- } & {
380
- isDeprecated?: boolean | undefined;
381
- method: "head" | "connect" | "delete" | "get" | "options" | "patch" | "post" | "put" | "trace";
382
- type: "webhook";
383
- ref: string;
384
- name: string;
385
- }))[];
23
+ entries: TraversedEntry[];
386
24
  entities: Map<any, any>;
387
25
  }>;
388
26
  scrollToOperation: import("vitest").Mock<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/helpers/test-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,OAAO,KAAK,EAAmB,cAAc,EAAE,MAAM,8DAA8D,CAAA;AACnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAIlF;;GAEG;AAEH,eAAO,MAAM,iBAAiB,GAAI,iBAAgB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,EAAE,UAAS,cAAc,EAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO5G,CAAA;AAEF,eAAO,MAAM,6BAA6B,GAAI,UAAU,WAAW,CAAC,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG3E,CAAA;AAED,eAAO,MAAM,uBAAuB;;CAElC,CAAA;AAEF,eAAO,MAAM,kBAAkB,GAAI,aAAS;;;;;;;;;;;;;;;;;CAiB1C,CAAA;AAEF,eAAO,MAAM,eAAe,GAAI,gBAAgB,iBAAiB,KAAG,cAgElE,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;CAOjC,CAAA"}
1
+ {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/helpers/test-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAExD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAEhF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAA;AAIlF;;GAEG;AAEH,eAAO,MAAM,iBAAiB,GAAI,iBAAgB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,EAAE,UAAS,cAAc,EAAO;;;;;;;;;;CAO5G,CAAA;AAEF,eAAO,MAAM,6BAA6B,GAAI,UAAU,WAAW,CAAC,QAAQ;;;;;;;;;;CAG3E,CAAA;AAED,eAAO,MAAM,uBAAuB;;CAElC,CAAA;AAEF,eAAO,MAAM,kBAAkB,GAAI,aAAS;;;;;;;;;;;;;;;;;CAiB1C,CAAA;AAEF,eAAO,MAAM,eAAe,GAAI,gBAAgB,iBAAiB,KAAG,cAgElE,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;CAOjC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
2
2
  import type { Heading } from '@scalar/types/legacy';
3
- import { type InjectionKey, type Ref } from 'vue';
3
+ import { type InjectionKey, type MaybeRefOrGetter, type Ref } from 'vue';
4
4
  export type NavState = {
5
5
  /** The URL hash without the #, also the "hash" pulled from pathRouting */
6
6
  hash: Ref<string>;
@@ -8,6 +8,8 @@ export type NavState = {
8
8
  hashPrefix: Ref<string>;
9
9
  /** Whether the intersection observer is enabled and updating the hash as we scroll */
10
10
  isIntersectionEnabled: Ref<boolean>;
11
+ basePath: MaybeRefOrGetter<string | undefined>;
12
+ generateHeadingSlug: MaybeRefOrGetter<ApiReferenceConfiguration['generateHeadingSlug']>;
11
13
  };
12
14
  export declare const NAV_STATE_SYMBOL: InjectionKey<NavState>;
13
15
  /**
@@ -19,7 +21,7 @@ export declare const NAV_STATE_SYMBOL: InjectionKey<NavState>;
19
21
  *
20
22
  * @param _config this is used to pass in the config if we have not provided it yet to the useConfig hook such as in ApiReferenceLayout
21
23
  */
22
- export declare const useNavState: (_config?: Ref<ApiReferenceConfiguration>) => {
24
+ export declare const useNavState: () => {
23
25
  hash: Ref<string, string>;
24
26
  /** Sets the prefix for the hash */
25
27
  setHashPrefix: (prefix: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useNavState.d.ts","sourceRoot":"","sources":["../../src/hooks/useNavState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AAI9D,MAAM,MAAM,QAAQ,GAAG;IACrB,0EAA0E;IAC1E,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACjB,2CAA2C;IAC3C,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB,sFAAsF;IACtF,qBAAqB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;CACpC,CAAA;AACD,eAAO,MAAM,gBAAgB,EAAe,YAAY,CAAC,QAAQ,CAAC,CAAA;AAOlE;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,GAAI,UAAU,GAAG,CAAC,yBAAyB,CAAC;;IAqFhE,mCAAmC;4BACX,MAAM;IAG9B;;;;OAIG;+BA5B4B,MAAM;IA8BrC;;;;;OAKG;oCAlDkC,MAAM;IAoD3C;;;OAGG;uCAzEqC,MAAM;;4BAwCjB,OAAO;iCA/DF,MAAM;;;CAwG3C,CAAA;AAED,mCAAmC;AACnC,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA"}
1
+ {"version":3,"file":"useNavState.d.ts","sourceRoot":"","sources":["../../src/hooks/useNavState.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,KAAK,GAAG,EAAwB,MAAM,KAAK,CAAA;AAE9F,MAAM,MAAM,QAAQ,GAAG;IACrB,0EAA0E;IAC1E,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACjB,2CAA2C;IAC3C,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACvB,sFAAsF;IACtF,qBAAqB,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;IACnC,QAAQ,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC9C,mBAAmB,EAAE,gBAAgB,CAAC,yBAAyB,CAAC,qBAAqB,CAAC,CAAC,CAAA;CACxF,CAAA;AACD,eAAO,MAAM,gBAAgB,EAAe,YAAY,CAAC,QAAQ,CAAC,CAAA;AAOlE;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;;IAyFpB,mCAAmC;4BACX,MAAM;IAG9B;;;;OAIG;+BA9B4B,MAAM;IAgCrC;;;;;OAKG;oCArDkC,MAAM;IAuD3C;;;OAGG;uCA7EqC,MAAM;;4BA0CjB,OAAO;iCAjEF,MAAM;;;CA4G3C,CAAA;AAED,mCAAmC;AACnC,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAA"}
@@ -1,58 +1,62 @@
1
- import { combineUrlAndPath as c } from "@scalar/helpers/url/merge-urls";
2
- import { inject as p, ref as i } from "vue";
3
- import { useConfig as d } from "./useConfig.js";
4
- const f = Symbol(), v = i(!1), w = i(""), R = i(""), E = (h) => {
5
- const { isIntersectionEnabled: g, hash: s, hashPrefix: a } = p(f, {
1
+ import { combineUrlAndPath as d } from "@scalar/helpers/url/merge-urls";
2
+ import { inject as p, ref as c, toValue as a } from "vue";
3
+ const w = Symbol(), v = c(!1), U = c(""), S = c(""), y = () => {
4
+ const { isIntersectionEnabled: g, hash: i, hashPrefix: o, basePath: s, generateHeadingSlug: f } = p(w, {
6
5
  isIntersectionEnabled: v,
7
- hash: w,
8
- hashPrefix: R
9
- }), t = h ?? d(), l = (e) => {
10
- if (!t.value.pathRouting)
6
+ hash: U,
7
+ hashPrefix: S,
8
+ basePath: void 0,
9
+ generateHeadingSlug: void 0
10
+ }), l = (e) => {
11
+ if (!a(s))
11
12
  return "";
12
- const n = new RegExp("^" + t.value.pathRouting?.basePath + "/?");
13
- return decodeURIComponent(e.replace(n, ""));
14
- }, u = () => t.value.pathRouting ? l(window.location.pathname) : (
13
+ const t = new RegExp("^" + a(s) + "/?");
14
+ return decodeURIComponent(e.replace(t, ""));
15
+ }, h = () => a(s) ? l(window.location.pathname) : (
15
16
  // Must remove the prefix from the hash as the internal hash value should be pure
16
- decodeURIComponent(window.location.hash.replace(/^#/, "")).slice(a.value.length)
17
+ decodeURIComponent(window.location.hash.replace(/^#/, "")).slice(o.value.length)
17
18
  );
18
19
  return {
19
- hash: s,
20
+ hash: i,
20
21
  /** Sets the prefix for the hash */
21
22
  setHashPrefix: (e) => {
22
- a.value = e;
23
+ o.value = e;
23
24
  },
24
25
  /**
25
26
  * Gets the full hash with the prefix
26
27
  * @param hashTarget The hash to target with the return
27
28
  * @returns The full hash
28
29
  */
29
- getFullHash: (e = s.value) => `${a.value}${e}`,
30
+ getFullHash: (e = i.value) => `${o.value}${e}`,
30
31
  /**
31
32
  * Gets the hashed url with the prefix
32
33
  * @param replacementHash The hash to replace the current hash with
33
34
  * @param url The url to get the hashed url from
34
35
  * @returns The hashed url
35
36
  */
36
- getHashedUrl: (e, n = window.location.href, o = window.location.search) => {
37
- const r = new URL(n);
38
- return t.value.pathRouting ? r.pathname = c(t.value.pathRouting.basePath, e) : r.hash = a.value + e, r.search = o, r.toString();
37
+ getHashedUrl: (e, t = window.location.href, r = window.location.search) => {
38
+ const n = new URL(t), u = a(s);
39
+ return typeof u == "string" ? n.pathname = d(u, e) : n.hash = o.value + e, n.search = r, n.toString();
39
40
  },
40
41
  /**
41
42
  * Replaces the URL state with the new url and hash
42
43
  * Replacement is used so that hash changes don't trigger the url hash watcher and cause a scroll
43
44
  */
44
- replaceUrlState: (e, n = window.location.href) => {
45
- const o = new URL(n);
46
- t.value.pathRouting ? o.pathname = c(t.value.pathRouting.basePath, e) : o.hash = a.value + e, s.value = e, window.history.replaceState({}, "", o);
45
+ replaceUrlState: (e, t = window.location.href) => {
46
+ const r = new URL(t), n = a(s);
47
+ typeof n == "string" ? r.pathname = d(n, e) : r.hash = o.value + e, i.value = e, window.history.replaceState({}, "", r);
48
+ },
49
+ getReferenceId: h,
50
+ getHeadingId: (e) => {
51
+ const t = a(f);
52
+ return typeof t == "function" ? `${t(e)}` : e.slug ? `description/${e.slug}` : "";
47
53
  },
48
- getReferenceId: u,
49
- getHeadingId: (e) => typeof t.value.generateHeadingSlug == "function" ? `${t.value.generateHeadingSlug(e)}` : e.slug ? `description/${e.slug}` : "",
50
54
  getPathRoutingId: l,
51
55
  isIntersectionEnabled: g,
52
- updateHash: () => s.value = u()
56
+ updateHash: () => i.value = h()
53
57
  };
54
58
  };
55
59
  export {
56
- f as NAV_STATE_SYMBOL,
57
- E as useNavState
60
+ w as NAV_STATE_SYMBOL,
61
+ y as useNavState
58
62
  };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { default as ApiReference } from './components/ApiReference.vue.js';
2
+ export { default as ApiReferenceContent } from './components/ApiReferenceContent.vue.js';
2
3
  export { default as ApiReferenceLayout } from './components/ApiReferenceLayout.vue.js';
3
4
  export { default as GettingStarted } from './components/GettingStarted.vue.js';
4
5
  export { SearchButton, SearchModal } from './features/Search';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAEnF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,YAAY,EACV,yBAAyB,EACzB,cAAc,GACf,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAA;AAEjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAEnF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,YAAY,EACV,yBAAyB,EACzB,cAAc,GACf,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAA;AAEjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAA"}