@scalar/api-client 3.6.0 → 3.8.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 (904) hide show
  1. package/CHANGELOG.md +161 -0
  2. package/dist/components/HttpMethod/HttpMethod.vue.js +1 -1
  3. package/dist/components/HttpMethod/index.js +2 -0
  4. package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.d.ts.map +1 -0
  5. package/dist/components/{ScalarAsciiArt.vue.js → ScalarAsciiArt/ScalarAsciiArt.vue.js} +3 -3
  6. package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js.map +1 -0
  7. package/dist/components/{ScalarAsciiArt.vue.script.js → ScalarAsciiArt/ScalarAsciiArt.vue.script.js} +1 -1
  8. package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.script.js.map +1 -0
  9. package/dist/components/ScalarAsciiArt/index.d.ts +2 -0
  10. package/dist/components/ScalarAsciiArt/index.d.ts.map +1 -0
  11. package/dist/components/ScalarAsciiArt/index.js +2 -0
  12. package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -2
  13. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +2 -2
  14. package/dist/components/Sidebar/index.d.ts +2 -0
  15. package/dist/components/Sidebar/index.d.ts.map +1 -0
  16. package/dist/components/Sidebar/index.js +2 -0
  17. package/dist/components/ViewLayout/index.d.ts +4 -0
  18. package/dist/components/ViewLayout/index.d.ts.map +1 -0
  19. package/dist/components/ViewLayout/index.js +4 -0
  20. package/dist/plugins/posthog/index.d.ts.map +1 -1
  21. package/dist/plugins/posthog/index.js +21 -12
  22. package/dist/plugins/posthog/index.js.map +1 -1
  23. package/dist/plugins/posthog/sanitize-event-payload.d.ts +25 -0
  24. package/dist/plugins/posthog/sanitize-event-payload.d.ts.map +1 -0
  25. package/dist/plugins/posthog/sanitize-event-payload.js +136 -0
  26. package/dist/plugins/posthog/sanitize-event-payload.js.map +1 -0
  27. package/dist/style.css +218 -1638
  28. package/dist/types/index.d.ts +3 -0
  29. package/dist/types/index.d.ts.map +1 -0
  30. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  31. package/dist/v2/blocks/operation-block/OperationBlock.vue.js.map +1 -1
  32. package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js +72 -32
  33. package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js.map +1 -1
  34. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -2
  35. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  36. package/dist/v2/blocks/operation-block/components/Header.vue.js +1 -1
  37. package/dist/v2/blocks/operation-block/components/Header.vue.js.map +1 -1
  38. package/dist/v2/blocks/operation-block/components/Header.vue.script.js +3 -3
  39. package/dist/v2/blocks/operation-block/components/Header.vue.script.js.map +1 -1
  40. package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.js +1 -1
  41. package/dist/v2/blocks/operation-block/index.d.ts +1 -0
  42. package/dist/v2/blocks/operation-block/index.d.ts.map +1 -1
  43. package/dist/v2/blocks/operation-block/index.js +2 -1
  44. package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.script.js +1 -1
  45. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts +1 -1
  46. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
  47. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js +15 -9
  48. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js.map +1 -1
  49. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.d.ts.map +1 -1
  50. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js +9 -7
  51. package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js.map +1 -1
  52. package/dist/v2/blocks/operation-code-sample/index.d.ts +1 -0
  53. package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
  54. package/dist/v2/blocks/operation-code-sample/index.js +2 -1
  55. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  56. package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
  57. package/dist/v2/blocks/request-block/RequestBlock.vue.js.map +1 -1
  58. package/dist/v2/blocks/request-block/RequestBlock.vue.script.js +30 -17
  59. package/dist/v2/blocks/request-block/RequestBlock.vue.script.js.map +1 -1
  60. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  61. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +1 -1
  62. package/dist/v2/blocks/request-block/components/RequestBody.vue.js.map +1 -1
  63. package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js +43 -10
  64. package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js.map +1 -1
  65. package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.script.js +2 -2
  66. package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +2 -2
  67. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -2
  68. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +4 -2
  69. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  70. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js.map +1 -1
  71. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js +2 -2
  72. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js.map +1 -1
  73. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts.map +1 -1
  74. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js.map +1 -1
  75. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.script.js +4 -1
  76. package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.script.js.map +1 -1
  77. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +2 -1
  78. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
  79. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +42 -13
  80. package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js.map +1 -1
  81. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts +14 -0
  82. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts.map +1 -0
  83. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js +136 -0
  84. package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js.map +1 -0
  85. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +1 -1
  86. package/dist/v2/blocks/response-block/ResponseBlock.vue.script.js +1 -1
  87. package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts.map +1 -1
  88. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +1 -1
  89. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js.map +1 -1
  90. package/dist/v2/blocks/response-block/components/ResponseBody.vue.script.js +12 -10
  91. package/dist/v2/blocks/response-block/components/ResponseBody.vue.script.js.map +1 -1
  92. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +2 -0
  93. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
  94. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js +1 -1
  95. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js.map +1 -1
  96. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.script.js +17 -4
  97. package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.script.js.map +1 -1
  98. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts +3 -1
  99. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -1
  100. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js +1 -1
  101. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js.map +1 -1
  102. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js +21 -9
  103. package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js.map +1 -1
  104. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +2 -2
  105. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
  106. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
  107. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js.map +1 -1
  108. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.script.js +2 -2
  109. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.script.js.map +1 -1
  110. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -1
  111. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js +1 -1
  112. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js.map +1 -1
  113. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.script.js +1 -0
  114. package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.script.js.map +1 -1
  115. package/dist/v2/blocks/response-block/helpers/media-types.d.ts +1 -1
  116. package/dist/v2/blocks/response-block/helpers/media-types.d.ts.map +1 -1
  117. package/dist/v2/blocks/response-block/helpers/media-types.js +14 -7
  118. package/dist/v2/blocks/response-block/helpers/media-types.js.map +1 -1
  119. package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.d.ts +6 -0
  120. package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.d.ts.map +1 -0
  121. package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js +22 -0
  122. package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js.map +1 -0
  123. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -2
  124. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  125. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +1 -1
  126. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js.map +1 -1
  127. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js +124 -91
  128. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js.map +1 -1
  129. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.script.js +1 -1
  130. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -2
  131. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +30 -20
  132. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  133. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js.map +1 -1
  134. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js +43 -21
  135. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js.map +1 -1
  136. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts +15 -2
  137. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
  138. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js +1 -3
  139. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js.map +1 -1
  140. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js +74 -28
  141. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js.map +1 -1
  142. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +30 -20
  143. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
  144. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js.map +1 -1
  145. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js +190 -72
  146. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js.map +1 -1
  147. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  148. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js.map +1 -1
  149. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js +7 -1
  150. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js.map +1 -1
  151. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +26 -10
  152. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  153. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js.map +1 -1
  154. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js +25 -3
  155. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js.map +1 -1
  156. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  157. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +12 -3
  158. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js.map +1 -1
  159. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +1 -0
  160. package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
  161. package/dist/v2/components/code-input/CodeInput.vue.d.ts +4 -4
  162. package/dist/v2/components/code-input/CodeInput.vue.script.js +1 -1
  163. package/dist/v2/components/code-input/code-variable-widget.js +1 -1
  164. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +2 -2
  165. package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -2
  166. package/dist/v2/components/server/ServerDropdown.vue.d.ts +2 -2
  167. package/dist/v2/components/server/ServerDropdown.vue.js.map +1 -1
  168. package/dist/v2/components/server/ServerDropdown.vue.script.js +1 -1
  169. package/dist/v2/components/server/ServerDropdown.vue.script.js.map +1 -1
  170. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  171. package/dist/v2/components/sidebar/Sidebar.vue.js.map +1 -1
  172. package/dist/v2/components/sidebar/Sidebar.vue.script.js +4 -3
  173. package/dist/v2/components/sidebar/Sidebar.vue.script.js.map +1 -1
  174. package/dist/v2/constants.js +1 -1
  175. package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts +2 -2
  176. package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts +2 -2
  177. package/dist/v2/features/command-palette/index.d.ts +0 -2
  178. package/dist/v2/features/command-palette/index.d.ts.map +1 -1
  179. package/dist/v2/features/command-palette/index.js +1 -3
  180. package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +2 -2
  181. package/dist/v2/features/modal/Modal.vue.d.ts +5 -7
  182. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  183. package/dist/v2/features/modal/Modal.vue.js.map +1 -1
  184. package/dist/v2/features/modal/Modal.vue.script.js +3 -3
  185. package/dist/v2/features/modal/Modal.vue.script.js.map +1 -1
  186. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +1 -1
  187. package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
  188. package/dist/v2/features/modal/helpers/create-api-client-modal.js +8 -3
  189. package/dist/v2/features/modal/helpers/create-api-client-modal.js.map +1 -1
  190. package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts +5 -1
  191. package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts.map +1 -1
  192. package/dist/v2/features/modal/helpers/resolve-route-parameters.js +15 -4
  193. package/dist/v2/features/modal/helpers/resolve-route-parameters.js.map +1 -1
  194. package/dist/v2/features/modal/hooks/use-modal-sidebar.d.ts.map +1 -1
  195. package/dist/v2/features/modal/hooks/use-modal-sidebar.js +5 -1
  196. package/dist/v2/features/modal/hooks/use-modal-sidebar.js.map +1 -1
  197. package/dist/v2/features/modal/index.js +1 -1
  198. package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
  199. package/dist/v2/features/modal/modal-events.js +10 -6
  200. package/dist/v2/features/modal/modal-events.js.map +1 -1
  201. package/dist/v2/features/operation/Operation.vue.d.ts +35 -3
  202. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  203. package/dist/v2/features/operation/Operation.vue.js.map +1 -1
  204. package/dist/v2/features/operation/Operation.vue.script.js +1 -9
  205. package/dist/v2/features/operation/Operation.vue.script.js.map +1 -1
  206. package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
  207. package/dist/v2/helpers/handle-hotkeys.js +4 -0
  208. package/dist/v2/helpers/handle-hotkeys.js.map +1 -1
  209. package/dist/v2/helpers/test-utils.d.ts +2 -0
  210. package/dist/v2/helpers/test-utils.d.ts.map +1 -1
  211. package/dist/v2/helpers/test-utils.js +18 -0
  212. package/dist/v2/helpers/test-utils.js.map +1 -0
  213. package/dist/v2/hooks/index.d.ts +2 -0
  214. package/dist/v2/hooks/index.d.ts.map +1 -0
  215. package/dist/v2/hooks/index.js +2 -0
  216. package/dist/v2/types/options.d.ts +1 -1
  217. package/dist/v2/types/options.d.ts.map +1 -1
  218. package/dist/v2/workspace-events.d.ts.map +1 -1
  219. package/dist/v2/workspace-events.js +2 -0
  220. package/dist/v2/workspace-events.js.map +1 -1
  221. package/dist/vue-styles.css +108 -658
  222. package/package.json +67 -96
  223. package/dist/components/IconSelector.vue.d.ts +0 -27
  224. package/dist/components/IconSelector.vue.d.ts.map +0 -1
  225. package/dist/components/IconSelector.vue.js +0 -7
  226. package/dist/components/IconSelector.vue.js.map +0 -1
  227. package/dist/components/IconSelector.vue.script.js +0 -65
  228. package/dist/components/IconSelector.vue.script.js.map +0 -1
  229. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +0 -7
  230. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +0 -1
  231. package/dist/components/ImportCollection/IntegrationLogo.vue.js +0 -7
  232. package/dist/components/ImportCollection/IntegrationLogo.vue.js.map +0 -1
  233. package/dist/components/ImportCollection/IntegrationLogo.vue.script.js +0 -50
  234. package/dist/components/ImportCollection/IntegrationLogo.vue.script.js.map +0 -1
  235. package/dist/components/ScalarAsciiArt.vue.d.ts.map +0 -1
  236. package/dist/components/ScalarAsciiArt.vue.js.map +0 -1
  237. package/dist/components/ScalarAsciiArt.vue.script.js.map +0 -1
  238. package/dist/index.d.ts +0 -2
  239. package/dist/index.d.ts.map +0 -1
  240. package/dist/monacoeditorwork/editor.worker.bundle.js +0 -14319
  241. package/dist/monacoeditorwork/json.worker.bundle.js +0 -22098
  242. package/dist/monacoeditorwork/yaml.worker.bundle.js +0 -38414
  243. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts +0 -42
  244. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +0 -1
  245. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +0 -61
  246. package/dist/v2/blocks/request-block/helpers/get-default-headers.js.map +0 -1
  247. package/dist/v2/features/app/App.vue.d.ts +0 -75
  248. package/dist/v2/features/app/App.vue.d.ts.map +0 -1
  249. package/dist/v2/features/app/App.vue.js +0 -8
  250. package/dist/v2/features/app/App.vue.js.map +0 -1
  251. package/dist/v2/features/app/App.vue.script.js +0 -282
  252. package/dist/v2/features/app/App.vue.script.js.map +0 -1
  253. package/dist/v2/features/app/app-events.d.ts +0 -20
  254. package/dist/v2/features/app/app-events.d.ts.map +0 -1
  255. package/dist/v2/features/app/app-events.js +0 -254
  256. package/dist/v2/features/app/app-events.js.map +0 -1
  257. package/dist/v2/features/app/app-state.d.ts +0 -156
  258. package/dist/v2/features/app/app-state.d.ts.map +0 -1
  259. package/dist/v2/features/app/app-state.js +0 -717
  260. package/dist/v2/features/app/app-state.js.map +0 -1
  261. package/dist/v2/features/app/components/AppHeader.vue.d.ts +0 -43
  262. package/dist/v2/features/app/components/AppHeader.vue.d.ts.map +0 -1
  263. package/dist/v2/features/app/components/AppHeader.vue.js +0 -7
  264. package/dist/v2/features/app/components/AppHeader.vue.js.map +0 -1
  265. package/dist/v2/features/app/components/AppHeader.vue.script.js +0 -52
  266. package/dist/v2/features/app/components/AppHeader.vue.script.js.map +0 -1
  267. package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts +0 -32
  268. package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts.map +0 -1
  269. package/dist/v2/features/app/components/AppHeaderActions.vue.js +0 -7
  270. package/dist/v2/features/app/components/AppHeaderActions.vue.js.map +0 -1
  271. package/dist/v2/features/app/components/AppHeaderActions.vue.script.js +0 -170
  272. package/dist/v2/features/app/components/AppHeaderActions.vue.script.js.map +0 -1
  273. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +0 -39
  274. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +0 -1
  275. package/dist/v2/features/app/components/AppSidebar.vue.js +0 -9
  276. package/dist/v2/features/app/components/AppSidebar.vue.js.map +0 -1
  277. package/dist/v2/features/app/components/AppSidebar.vue.script.js +0 -470
  278. package/dist/v2/features/app/components/AppSidebar.vue.script.js.map +0 -1
  279. package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts +0 -28
  280. package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts.map +0 -1
  281. package/dist/v2/features/app/components/CreateVersionModal.vue.js +0 -7
  282. package/dist/v2/features/app/components/CreateVersionModal.vue.js.map +0 -1
  283. package/dist/v2/features/app/components/CreateVersionModal.vue.script.js +0 -84
  284. package/dist/v2/features/app/components/CreateVersionModal.vue.script.js.map +0 -1
  285. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +0 -16
  286. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +0 -1
  287. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js +0 -7
  288. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js.map +0 -1
  289. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js +0 -58
  290. package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js.map +0 -1
  291. package/dist/v2/features/app/components/DesktopTab.vue.d.ts +0 -27
  292. package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +0 -1
  293. package/dist/v2/features/app/components/DesktopTab.vue.js +0 -9
  294. package/dist/v2/features/app/components/DesktopTab.vue.js.map +0 -1
  295. package/dist/v2/features/app/components/DesktopTab.vue.script.js +0 -121
  296. package/dist/v2/features/app/components/DesktopTab.vue.script.js.map +0 -1
  297. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +0 -14
  298. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +0 -1
  299. package/dist/v2/features/app/components/DesktopTabs.vue.js +0 -7
  300. package/dist/v2/features/app/components/DesktopTabs.vue.js.map +0 -1
  301. package/dist/v2/features/app/components/DesktopTabs.vue.script.js +0 -75
  302. package/dist/v2/features/app/components/DesktopTabs.vue.script.js.map +0 -1
  303. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts +0 -25
  304. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts.map +0 -1
  305. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js +0 -9
  306. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js.map +0 -1
  307. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js +0 -345
  308. package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js.map +0 -1
  309. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts +0 -16
  310. package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts.map +0 -1
  311. package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts +0 -77
  312. package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts.map +0 -1
  313. package/dist/v2/features/app/components/PublishDocumentModal.vue.js +0 -7
  314. package/dist/v2/features/app/components/PublishDocumentModal.vue.js.map +0 -1
  315. package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js +0 -209
  316. package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js.map +0 -1
  317. package/dist/v2/features/app/components/SidebarDocument.vue.d.ts +0 -45
  318. package/dist/v2/features/app/components/SidebarDocument.vue.d.ts.map +0 -1
  319. package/dist/v2/features/app/components/SidebarDocument.vue.js +0 -7
  320. package/dist/v2/features/app/components/SidebarDocument.vue.js.map +0 -1
  321. package/dist/v2/features/app/components/SidebarDocument.vue.script.js +0 -137
  322. package/dist/v2/features/app/components/SidebarDocument.vue.script.js.map +0 -1
  323. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts +0 -26
  324. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +0 -1
  325. package/dist/v2/features/app/components/SidebarItemMenu.vue.js +0 -7
  326. package/dist/v2/features/app/components/SidebarItemMenu.vue.js.map +0 -1
  327. package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js +0 -175
  328. package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js.map +0 -1
  329. package/dist/v2/features/app/components/SplashScreen.vue.d.ts +0 -4
  330. package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +0 -1
  331. package/dist/v2/features/app/components/SplashScreen.vue.js +0 -9
  332. package/dist/v2/features/app/components/SplashScreen.vue.js.map +0 -1
  333. package/dist/v2/features/app/components/SplashScreen.vue.script.js +0 -20
  334. package/dist/v2/features/app/components/SplashScreen.vue.script.js.map +0 -1
  335. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts +0 -18
  336. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts.map +0 -1
  337. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js +0 -9
  338. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js.map +0 -1
  339. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js +0 -136
  340. package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js.map +0 -1
  341. package/dist/v2/features/app/components/index.d.ts +0 -2
  342. package/dist/v2/features/app/components/index.d.ts.map +0 -1
  343. package/dist/v2/features/app/components/index.js +0 -2
  344. package/dist/v2/features/app/helpers/check-version-conflict.d.ts +0 -54
  345. package/dist/v2/features/app/helpers/check-version-conflict.d.ts.map +0 -1
  346. package/dist/v2/features/app/helpers/check-version-conflict.js +0 -82
  347. package/dist/v2/features/app/helpers/check-version-conflict.js.map +0 -1
  348. package/dist/v2/features/app/helpers/compute-version-status.d.ts +0 -45
  349. package/dist/v2/features/app/helpers/compute-version-status.d.ts.map +0 -1
  350. package/dist/v2/features/app/helpers/compute-version-status.js +0 -18
  351. package/dist/v2/features/app/helpers/compute-version-status.js.map +0 -1
  352. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +0 -59
  353. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +0 -1
  354. package/dist/v2/features/app/helpers/create-api-client-app.js +0 -55
  355. package/dist/v2/features/app/helpers/create-api-client-app.js.map +0 -1
  356. package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts +0 -39
  357. package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts.map +0 -1
  358. package/dist/v2/features/app/helpers/create-draft-registry-document.js +0 -64
  359. package/dist/v2/features/app/helpers/create-draft-registry-document.js.map +0 -1
  360. package/dist/v2/features/app/helpers/create-temp-operation.d.ts +0 -14
  361. package/dist/v2/features/app/helpers/create-temp-operation.d.ts.map +0 -1
  362. package/dist/v2/features/app/helpers/create-temp-operation.js +0 -52
  363. package/dist/v2/features/app/helpers/create-temp-operation.js.map +0 -1
  364. package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts +0 -26
  365. package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts.map +0 -1
  366. package/dist/v2/features/app/helpers/detect-document-conflicts.js +0 -27
  367. package/dist/v2/features/app/helpers/detect-document-conflicts.js.map +0 -1
  368. package/dist/v2/features/app/helpers/filter-workspaces.d.ts +0 -49
  369. package/dist/v2/features/app/helpers/filter-workspaces.d.ts.map +0 -1
  370. package/dist/v2/features/app/helpers/filter-workspaces.js +0 -55
  371. package/dist/v2/features/app/helpers/filter-workspaces.js.map +0 -1
  372. package/dist/v2/features/app/helpers/get-route-param.d.ts +0 -7
  373. package/dist/v2/features/app/helpers/get-route-param.d.ts.map +0 -1
  374. package/dist/v2/features/app/helpers/get-route-param.js +0 -12
  375. package/dist/v2/features/app/helpers/get-route-param.js.map +0 -1
  376. package/dist/v2/features/app/helpers/group-workspaces.d.ts +0 -44
  377. package/dist/v2/features/app/helpers/group-workspaces.d.ts.map +0 -1
  378. package/dist/v2/features/app/helpers/group-workspaces.js +0 -53
  379. package/dist/v2/features/app/helpers/group-workspaces.js.map +0 -1
  380. package/dist/v2/features/app/helpers/load-registry-document.d.ts +0 -24
  381. package/dist/v2/features/app/helpers/load-registry-document.d.ts.map +0 -1
  382. package/dist/v2/features/app/helpers/load-registry-document.js +0 -47
  383. package/dist/v2/features/app/helpers/load-registry-document.js.map +0 -1
  384. package/dist/v2/features/app/helpers/registry-error-messages.d.ts +0 -23
  385. package/dist/v2/features/app/helpers/registry-error-messages.d.ts.map +0 -1
  386. package/dist/v2/features/app/helpers/registry-error-messages.js +0 -63
  387. package/dist/v2/features/app/helpers/registry-error-messages.js.map +0 -1
  388. package/dist/v2/features/app/helpers/routes.d.ts +0 -184
  389. package/dist/v2/features/app/helpers/routes.d.ts.map +0 -1
  390. package/dist/v2/features/app/helpers/routes.js +0 -153
  391. package/dist/v2/features/app/helpers/routes.js.map +0 -1
  392. package/dist/v2/features/app/helpers/version-status-presentation.d.ts +0 -24
  393. package/dist/v2/features/app/helpers/version-status-presentation.d.ts.map +0 -1
  394. package/dist/v2/features/app/helpers/version-status-presentation.js +0 -43
  395. package/dist/v2/features/app/helpers/version-status-presentation.js.map +0 -1
  396. package/dist/v2/features/app/hooks/use-active-document-version.d.ts +0 -42
  397. package/dist/v2/features/app/hooks/use-active-document-version.d.ts.map +0 -1
  398. package/dist/v2/features/app/hooks/use-active-document-version.js +0 -60
  399. package/dist/v2/features/app/hooks/use-active-document-version.js.map +0 -1
  400. package/dist/v2/features/app/hooks/use-document-filter.d.ts +0 -38
  401. package/dist/v2/features/app/hooks/use-document-filter.d.ts.map +0 -1
  402. package/dist/v2/features/app/hooks/use-document-filter.js +0 -63
  403. package/dist/v2/features/app/hooks/use-document-filter.js.map +0 -1
  404. package/dist/v2/features/app/hooks/use-document-sync.d.ts +0 -126
  405. package/dist/v2/features/app/hooks/use-document-sync.d.ts.map +0 -1
  406. package/dist/v2/features/app/hooks/use-document-sync.js +0 -448
  407. package/dist/v2/features/app/hooks/use-document-sync.js.map +0 -1
  408. package/dist/v2/features/app/hooks/use-document-watcher.d.ts +0 -30
  409. package/dist/v2/features/app/hooks/use-document-watcher.d.ts.map +0 -1
  410. package/dist/v2/features/app/hooks/use-document-watcher.js +0 -168
  411. package/dist/v2/features/app/hooks/use-document-watcher.js.map +0 -1
  412. package/dist/v2/features/app/hooks/use-network-status.d.ts +0 -29
  413. package/dist/v2/features/app/hooks/use-network-status.d.ts.map +0 -1
  414. package/dist/v2/features/app/hooks/use-network-status.js +0 -58
  415. package/dist/v2/features/app/hooks/use-network-status.js.map +0 -1
  416. package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts +0 -17258
  417. package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts.map +0 -1
  418. package/dist/v2/features/app/hooks/use-sidebar-context-menu.js +0 -107
  419. package/dist/v2/features/app/hooks/use-sidebar-context-menu.js.map +0 -1
  420. package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts +0 -119
  421. package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts.map +0 -1
  422. package/dist/v2/features/app/hooks/use-sidebar-documents.js +0 -219
  423. package/dist/v2/features/app/hooks/use-sidebar-documents.js.map +0 -1
  424. package/dist/v2/features/app/hooks/use-theme.d.ts +0 -56
  425. package/dist/v2/features/app/hooks/use-theme.d.ts.map +0 -1
  426. package/dist/v2/features/app/hooks/use-theme.js +0 -94
  427. package/dist/v2/features/app/hooks/use-theme.js.map +0 -1
  428. package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts +0 -35
  429. package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts.map +0 -1
  430. package/dist/v2/features/app/hooks/use-version-conflict-check.js +0 -62
  431. package/dist/v2/features/app/hooks/use-version-conflict-check.js.map +0 -1
  432. package/dist/v2/features/app/index.d.ts +0 -10
  433. package/dist/v2/features/app/index.d.ts.map +0 -1
  434. package/dist/v2/features/app/index.js +0 -8
  435. package/dist/v2/features/collection/DocumentCollection.vue.d.ts +0 -13
  436. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +0 -1
  437. package/dist/v2/features/collection/DocumentCollection.vue.js +0 -8
  438. package/dist/v2/features/collection/DocumentCollection.vue.js.map +0 -1
  439. package/dist/v2/features/collection/DocumentCollection.vue.script.js +0 -112
  440. package/dist/v2/features/collection/DocumentCollection.vue.script.js.map +0 -1
  441. package/dist/v2/features/collection/OperationCollection.vue.d.ts +0 -6
  442. package/dist/v2/features/collection/OperationCollection.vue.d.ts.map +0 -1
  443. package/dist/v2/features/collection/OperationCollection.vue.js +0 -7
  444. package/dist/v2/features/collection/OperationCollection.vue.js.map +0 -1
  445. package/dist/v2/features/collection/OperationCollection.vue.script.js +0 -95
  446. package/dist/v2/features/collection/OperationCollection.vue.script.js.map +0 -1
  447. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +0 -6
  448. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +0 -1
  449. package/dist/v2/features/collection/WorkspaceCollection.vue.js +0 -7
  450. package/dist/v2/features/collection/WorkspaceCollection.vue.js.map +0 -1
  451. package/dist/v2/features/collection/WorkspaceCollection.vue.script.js +0 -74
  452. package/dist/v2/features/collection/WorkspaceCollection.vue.script.js.map +0 -1
  453. package/dist/v2/features/collection/components/Authentication.vue.d.ts +0 -16
  454. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +0 -1
  455. package/dist/v2/features/collection/components/Authentication.vue.js +0 -9
  456. package/dist/v2/features/collection/components/Authentication.vue.js.map +0 -1
  457. package/dist/v2/features/collection/components/Authentication.vue.script.js +0 -174
  458. package/dist/v2/features/collection/components/Authentication.vue.script.js.map +0 -1
  459. package/dist/v2/features/collection/components/Cookies.vue.d.ts +0 -21
  460. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +0 -1
  461. package/dist/v2/features/collection/components/Cookies.vue.js +0 -7
  462. package/dist/v2/features/collection/components/Cookies.vue.js.map +0 -1
  463. package/dist/v2/features/collection/components/Cookies.vue.script.js +0 -58
  464. package/dist/v2/features/collection/components/Cookies.vue.script.js.map +0 -1
  465. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts +0 -12
  466. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts.map +0 -1
  467. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js +0 -9
  468. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js.map +0 -1
  469. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js +0 -174
  470. package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js.map +0 -1
  471. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts +0 -16
  472. package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts.map +0 -1
  473. package/dist/v2/features/collection/components/Editor/Editor.vue.js +0 -9
  474. package/dist/v2/features/collection/components/Editor/Editor.vue.js.map +0 -1
  475. package/dist/v2/features/collection/components/Editor/Editor.vue.script.js +0 -361
  476. package/dist/v2/features/collection/components/Editor/Editor.vue.script.js.map +0 -1
  477. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts +0 -19
  478. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts.map +0 -1
  479. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js +0 -7
  480. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js.map +0 -1
  481. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js +0 -69
  482. package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js.map +0 -1
  483. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts +0 -16
  484. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts.map +0 -1
  485. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js +0 -7
  486. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js.map +0 -1
  487. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js +0 -91
  488. package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js.map +0 -1
  489. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts +0 -12
  490. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts.map +0 -1
  491. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js +0 -22
  492. package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js.map +0 -1
  493. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts +0 -11
  494. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts.map +0 -1
  495. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js +0 -17
  496. package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js.map +0 -1
  497. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts +0 -7
  498. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts.map +0 -1
  499. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js +0 -17
  500. package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js.map +0 -1
  501. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts +0 -10
  502. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts.map +0 -1
  503. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js +0 -34
  504. package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js.map +0 -1
  505. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts +0 -10
  506. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts.map +0 -1
  507. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js +0 -18
  508. package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js.map +0 -1
  509. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts +0 -15
  510. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts.map +0 -1
  511. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +0 -36
  512. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js.map +0 -1
  513. package/dist/v2/features/collection/components/Editor/index.d.ts +0 -2
  514. package/dist/v2/features/collection/components/Editor/index.d.ts.map +0 -1
  515. package/dist/v2/features/collection/components/Editor/index.js +0 -2
  516. package/dist/v2/features/collection/components/Environment.vue.d.ts +0 -21
  517. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +0 -1
  518. package/dist/v2/features/collection/components/Environment.vue.js +0 -7
  519. package/dist/v2/features/collection/components/Environment.vue.js.map +0 -1
  520. package/dist/v2/features/collection/components/Environment.vue.script.js +0 -61
  521. package/dist/v2/features/collection/components/Environment.vue.script.js.map +0 -1
  522. package/dist/v2/features/collection/components/Form.vue.d.ts +0 -29
  523. package/dist/v2/features/collection/components/Form.vue.d.ts.map +0 -1
  524. package/dist/v2/features/collection/components/Form.vue.js +0 -7
  525. package/dist/v2/features/collection/components/Form.vue.js.map +0 -1
  526. package/dist/v2/features/collection/components/Form.vue.script.js +0 -78
  527. package/dist/v2/features/collection/components/Form.vue.script.js.map +0 -1
  528. package/dist/v2/features/collection/components/GetStarted.vue.d.ts +0 -21
  529. package/dist/v2/features/collection/components/GetStarted.vue.d.ts.map +0 -1
  530. package/dist/v2/features/collection/components/GetStarted.vue.js +0 -7
  531. package/dist/v2/features/collection/components/GetStarted.vue.js.map +0 -1
  532. package/dist/v2/features/collection/components/GetStarted.vue.script.js +0 -144
  533. package/dist/v2/features/collection/components/GetStarted.vue.script.js.map +0 -1
  534. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +0 -18
  535. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +0 -1
  536. package/dist/v2/features/collection/components/LabelInput.vue.js +0 -9
  537. package/dist/v2/features/collection/components/LabelInput.vue.js.map +0 -1
  538. package/dist/v2/features/collection/components/LabelInput.vue.script.js +0 -38
  539. package/dist/v2/features/collection/components/LabelInput.vue.script.js.map +0 -1
  540. package/dist/v2/features/collection/components/Overview.vue.d.ts +0 -16
  541. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +0 -1
  542. package/dist/v2/features/collection/components/Overview.vue.js +0 -9
  543. package/dist/v2/features/collection/components/Overview.vue.js.map +0 -1
  544. package/dist/v2/features/collection/components/Overview.vue.script.js +0 -204
  545. package/dist/v2/features/collection/components/Overview.vue.script.js.map +0 -1
  546. package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts +0 -16
  547. package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts.map +0 -1
  548. package/dist/v2/features/collection/components/Runner/components/Runner.vue.js +0 -7
  549. package/dist/v2/features/collection/components/Runner/components/Runner.vue.js.map +0 -1
  550. package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js +0 -223
  551. package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js.map +0 -1
  552. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts +0 -20
  553. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts.map +0 -1
  554. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js +0 -7
  555. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js.map +0 -1
  556. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js +0 -45
  557. package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js.map +0 -1
  558. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts +0 -19
  559. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts.map +0 -1
  560. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js +0 -7
  561. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js.map +0 -1
  562. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js +0 -73
  563. package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js.map +0 -1
  564. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts +0 -16
  565. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts.map +0 -1
  566. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js +0 -7
  567. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js.map +0 -1
  568. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js +0 -124
  569. package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js.map +0 -1
  570. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts +0 -17
  571. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts.map +0 -1
  572. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js +0 -7
  573. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js.map +0 -1
  574. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js +0 -126
  575. package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js.map +0 -1
  576. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts +0 -18
  577. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts.map +0 -1
  578. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js +0 -7
  579. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js.map +0 -1
  580. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js +0 -180
  581. package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js.map +0 -1
  582. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts +0 -14
  583. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts.map +0 -1
  584. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js +0 -7
  585. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js.map +0 -1
  586. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js +0 -44
  587. package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js.map +0 -1
  588. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts +0 -19
  589. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts.map +0 -1
  590. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js +0 -7
  591. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js.map +0 -1
  592. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js +0 -53
  593. package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js.map +0 -1
  594. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts +0 -23
  595. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts.map +0 -1
  596. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js +0 -7
  597. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js.map +0 -1
  598. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js +0 -75
  599. package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js.map +0 -1
  600. package/dist/v2/features/collection/components/Runner/hooks/index.d.ts +0 -3
  601. package/dist/v2/features/collection/components/Runner/hooks/index.d.ts.map +0 -1
  602. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts +0 -75
  603. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts.map +0 -1
  604. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js +0 -191
  605. package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js.map +0 -1
  606. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts +0 -46
  607. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts.map +0 -1
  608. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js +0 -114
  609. package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js.map +0 -1
  610. package/dist/v2/features/collection/components/Runner/index.d.ts +0 -2
  611. package/dist/v2/features/collection/components/Runner/index.d.ts.map +0 -1
  612. package/dist/v2/features/collection/components/Scripts.vue.d.ts +0 -16
  613. package/dist/v2/features/collection/components/Scripts.vue.d.ts.map +0 -1
  614. package/dist/v2/features/collection/components/Scripts.vue.js +0 -7
  615. package/dist/v2/features/collection/components/Scripts.vue.js.map +0 -1
  616. package/dist/v2/features/collection/components/Scripts.vue.script.js +0 -49
  617. package/dist/v2/features/collection/components/Scripts.vue.script.js.map +0 -1
  618. package/dist/v2/features/collection/components/Servers.vue.d.ts +0 -16
  619. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +0 -1
  620. package/dist/v2/features/collection/components/Servers.vue.js +0 -7
  621. package/dist/v2/features/collection/components/Servers.vue.js.map +0 -1
  622. package/dist/v2/features/collection/components/Servers.vue.script.js +0 -219
  623. package/dist/v2/features/collection/components/Servers.vue.script.js.map +0 -1
  624. package/dist/v2/features/collection/components/Settings.vue.d.ts +0 -16
  625. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +0 -1
  626. package/dist/v2/features/collection/components/Settings.vue.js +0 -7
  627. package/dist/v2/features/collection/components/Settings.vue.js.map +0 -1
  628. package/dist/v2/features/collection/components/Settings.vue.script.js +0 -81
  629. package/dist/v2/features/collection/components/Settings.vue.script.js.map +0 -1
  630. package/dist/v2/features/collection/components/Tabs.vue.d.ts +0 -8
  631. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +0 -1
  632. package/dist/v2/features/collection/components/Tabs.vue.js +0 -7
  633. package/dist/v2/features/collection/components/Tabs.vue.js.map +0 -1
  634. package/dist/v2/features/collection/components/Tabs.vue.script.js +0 -55
  635. package/dist/v2/features/collection/components/Tabs.vue.script.js.map +0 -1
  636. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts +0 -12
  637. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts.map +0 -1
  638. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js +0 -19
  639. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js.map +0 -1
  640. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +0 -42
  641. package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +0 -1
  642. package/dist/v2/features/command-palette/TheCommandPalette.vue.js +0 -9
  643. package/dist/v2/features/command-palette/TheCommandPalette.vue.js.map +0 -1
  644. package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js +0 -189
  645. package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js.map +0 -1
  646. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +0 -49
  647. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +0 -1
  648. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +0 -7
  649. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js.map +0 -1
  650. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js +0 -207
  651. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js.map +0 -1
  652. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +0 -53
  653. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +0 -1
  654. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +0 -7
  655. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js.map +0 -1
  656. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js +0 -225
  657. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js.map +0 -1
  658. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +0 -44
  659. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +0 -1
  660. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js +0 -9
  661. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js.map +0 -1
  662. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js +0 -125
  663. package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js.map +0 -1
  664. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts +0 -30
  665. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts.map +0 -1
  666. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js +0 -7
  667. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js.map +0 -1
  668. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js +0 -156
  669. package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js.map +0 -1
  670. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts +0 -37
  671. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts.map +0 -1
  672. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js +0 -7
  673. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js.map +0 -1
  674. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js +0 -105
  675. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js.map +0 -1
  676. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +0 -48
  677. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +0 -1
  678. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js +0 -7
  679. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js.map +0 -1
  680. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js +0 -226
  681. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js.map +0 -1
  682. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +0 -65
  683. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +0 -1
  684. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js +0 -7
  685. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js.map +0 -1
  686. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js +0 -126
  687. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js.map +0 -1
  688. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts +0 -58
  689. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts.map +0 -1
  690. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js +0 -9
  691. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js.map +0 -1
  692. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js +0 -142
  693. package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js.map +0 -1
  694. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts +0 -23
  695. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts.map +0 -1
  696. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js +0 -9
  697. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js.map +0 -1
  698. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js +0 -138
  699. package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js.map +0 -1
  700. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts +0 -34
  701. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +0 -1
  702. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js +0 -7
  703. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js.map +0 -1
  704. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js +0 -39
  705. package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js.map +0 -1
  706. package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts +0 -20
  707. package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts.map +0 -1
  708. package/dist/v2/features/command-palette/helpers/generate-unique-slug.js +0 -33
  709. package/dist/v2/features/command-palette/helpers/generate-unique-slug.js.map +0 -1
  710. package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts +0 -11
  711. package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts.map +0 -1
  712. package/dist/v2/features/command-palette/helpers/get-merge-key.js +0 -32
  713. package/dist/v2/features/command-palette/helpers/get-merge-key.js.map +0 -1
  714. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts +0 -24
  715. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts.map +0 -1
  716. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js +0 -56
  717. package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js.map +0 -1
  718. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts +0 -24
  719. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts.map +0 -1
  720. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js +0 -22
  721. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js.map +0 -1
  722. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts +0 -26
  723. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts.map +0 -1
  724. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js +0 -119
  725. package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js.map +0 -1
  726. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts +0 -14
  727. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts.map +0 -1
  728. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js +0 -19
  729. package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js.map +0 -1
  730. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts +0 -28
  731. package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts.map +0 -1
  732. package/dist/v2/features/command-palette/helpers/get-postman-document-details.js +0 -36
  733. package/dist/v2/features/command-palette/helpers/get-postman-document-details.js.map +0 -1
  734. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts +0 -30
  735. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts.map +0 -1
  736. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js +0 -70
  737. package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js.map +0 -1
  738. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts +0 -20
  739. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts.map +0 -1
  740. package/dist/v2/features/command-palette/helpers/load-document-from-source.js +0 -71
  741. package/dist/v2/features/command-palette/helpers/load-document-from-source.js.map +0 -1
  742. package/dist/v2/features/command-palette/helpers/parse-curl.d.ts +0 -14
  743. package/dist/v2/features/command-palette/helpers/parse-curl.d.ts.map +0 -1
  744. package/dist/v2/features/command-palette/helpers/parse-curl.js +0 -106
  745. package/dist/v2/features/command-palette/helpers/parse-curl.js.map +0 -1
  746. package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts +0 -11
  747. package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts.map +0 -1
  748. package/dist/v2/features/command-palette/helpers/postman-request-collisions.js +0 -35
  749. package/dist/v2/features/command-palette/helpers/postman-request-collisions.js.map +0 -1
  750. package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts +0 -41
  751. package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts.map +0 -1
  752. package/dist/v2/features/command-palette/helpers/postman-request-tree.js +0 -139
  753. package/dist/v2/features/command-palette/helpers/postman-request-tree.js.map +0 -1
  754. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +0 -426
  755. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +0 -1
  756. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +0 -207
  757. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js.map +0 -1
  758. package/dist/v2/features/editor/config.d.ts +0 -16
  759. package/dist/v2/features/editor/config.d.ts.map +0 -1
  760. package/dist/v2/features/editor/config.js +0 -19
  761. package/dist/v2/features/editor/config.js.map +0 -1
  762. package/dist/v2/features/editor/helpers/configure-language-support.d.ts +0 -13
  763. package/dist/v2/features/editor/helpers/configure-language-support.d.ts.map +0 -1
  764. package/dist/v2/features/editor/helpers/configure-language-support.js +0 -48
  765. package/dist/v2/features/editor/helpers/configure-language-support.js.map +0 -1
  766. package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts +0 -6
  767. package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts.map +0 -1
  768. package/dist/v2/features/editor/helpers/ensure-monaco-environment.js +0 -21
  769. package/dist/v2/features/editor/helpers/ensure-monaco-environment.js.map +0 -1
  770. package/dist/v2/features/editor/helpers/json/create-json-model.d.ts +0 -12
  771. package/dist/v2/features/editor/helpers/json/create-json-model.d.ts.map +0 -1
  772. package/dist/v2/features/editor/helpers/json/create-json-model.js +0 -31
  773. package/dist/v2/features/editor/helpers/json/create-json-model.js.map +0 -1
  774. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts +0 -14
  775. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts.map +0 -1
  776. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js +0 -22
  777. package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js.map +0 -1
  778. package/dist/v2/features/editor/helpers/json/json-ast.d.ts +0 -12
  779. package/dist/v2/features/editor/helpers/json/json-ast.d.ts.map +0 -1
  780. package/dist/v2/features/editor/helpers/json/json-ast.js +0 -32
  781. package/dist/v2/features/editor/helpers/json/json-ast.js.map +0 -1
  782. package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts +0 -15
  783. package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts.map +0 -1
  784. package/dist/v2/features/editor/helpers/json/json-pointer-links.js +0 -104
  785. package/dist/v2/features/editor/helpers/json/json-pointer-links.js.map +0 -1
  786. package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts +0 -7
  787. package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts.map +0 -1
  788. package/dist/v2/features/editor/helpers/json/json-pointer-path.js +0 -27
  789. package/dist/v2/features/editor/helpers/json/json-pointer-path.js.map +0 -1
  790. package/dist/v2/features/editor/helpers/model.d.ts +0 -9
  791. package/dist/v2/features/editor/helpers/model.d.ts.map +0 -1
  792. package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts +0 -14
  793. package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts.map +0 -1
  794. package/dist/v2/features/editor/helpers/range-to-whole-line.js +0 -27
  795. package/dist/v2/features/editor/helpers/range-to-whole-line.js.map +0 -1
  796. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts +0 -16
  797. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts.map +0 -1
  798. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js +0 -84
  799. package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js.map +0 -1
  800. package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts +0 -36
  801. package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts.map +0 -1
  802. package/dist/v2/features/editor/helpers/theme/load-css-variables.js +0 -117
  803. package/dist/v2/features/editor/helpers/theme/load-css-variables.js.map +0 -1
  804. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts +0 -13
  805. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts.map +0 -1
  806. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js +0 -32
  807. package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js.map +0 -1
  808. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts +0 -19
  809. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts.map +0 -1
  810. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js +0 -70
  811. package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js.map +0 -1
  812. package/dist/v2/features/editor/hooks/use-editor-markers.d.ts +0 -152
  813. package/dist/v2/features/editor/hooks/use-editor-markers.d.ts.map +0 -1
  814. package/dist/v2/features/editor/hooks/use-editor-markers.js +0 -37
  815. package/dist/v2/features/editor/hooks/use-editor-markers.js.map +0 -1
  816. package/dist/v2/features/editor/hooks/use-editor.d.ts +0 -39
  817. package/dist/v2/features/editor/hooks/use-editor.d.ts.map +0 -1
  818. package/dist/v2/features/editor/hooks/use-editor.js +0 -133
  819. package/dist/v2/features/editor/hooks/use-editor.js.map +0 -1
  820. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts +0 -16
  821. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts.map +0 -1
  822. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js +0 -45
  823. package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js.map +0 -1
  824. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts +0 -77
  825. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts.map +0 -1
  826. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js +0 -396
  827. package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js.map +0 -1
  828. package/dist/v2/features/editor/index.d.ts +0 -5
  829. package/dist/v2/features/editor/index.d.ts.map +0 -1
  830. package/dist/v2/features/editor/index.js +0 -5
  831. package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js +0 -51
  832. package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js.map +0 -1
  833. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +0 -10
  834. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +0 -1
  835. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +0 -9
  836. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js.map +0 -1
  837. package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js +0 -188
  838. package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js.map +0 -1
  839. package/dist/v2/features/global-cookies/index.d.ts +0 -2
  840. package/dist/v2/features/global-cookies/index.d.ts.map +0 -1
  841. package/dist/v2/features/global-cookies/index.js +0 -2
  842. package/dist/v2/features/settings/CollectionSettings.vue.d.ts +0 -28
  843. package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +0 -1
  844. package/dist/v2/features/settings/CollectionSettings.vue.js +0 -7
  845. package/dist/v2/features/settings/CollectionSettings.vue.js.map +0 -1
  846. package/dist/v2/features/settings/CollectionSettings.vue.script.js +0 -229
  847. package/dist/v2/features/settings/CollectionSettings.vue.script.js.map +0 -1
  848. package/dist/v2/features/settings/DocumentSettings.vue.d.ts +0 -20
  849. package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +0 -1
  850. package/dist/v2/features/settings/DocumentSettings.vue.js +0 -7
  851. package/dist/v2/features/settings/DocumentSettings.vue.js.map +0 -1
  852. package/dist/v2/features/settings/DocumentSettings.vue.script.js +0 -92
  853. package/dist/v2/features/settings/DocumentSettings.vue.script.js.map +0 -1
  854. package/dist/v2/features/settings/components/Appearance.vue.d.ts +0 -11
  855. package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +0 -1
  856. package/dist/v2/features/settings/components/Appearance.vue.js +0 -7
  857. package/dist/v2/features/settings/components/Appearance.vue.js.map +0 -1
  858. package/dist/v2/features/settings/components/Appearance.vue.script.js +0 -63
  859. package/dist/v2/features/settings/components/Appearance.vue.script.js.map +0 -1
  860. package/dist/v2/features/settings/components/Section.vue.d.ts +0 -16
  861. package/dist/v2/features/settings/components/Section.vue.d.ts.map +0 -1
  862. package/dist/v2/features/settings/components/Section.vue.js +0 -7
  863. package/dist/v2/features/settings/components/Section.vue.js.map +0 -1
  864. package/dist/v2/features/settings/components/Section.vue.script.js +0 -30
  865. package/dist/v2/features/settings/components/Section.vue.script.js.map +0 -1
  866. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +0 -10
  867. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +0 -1
  868. package/dist/v2/features/settings/helpers/get-theme-colors.js +0 -68
  869. package/dist/v2/features/settings/helpers/get-theme-colors.js.map +0 -1
  870. package/dist/v2/features/settings/index.d.ts +0 -3
  871. package/dist/v2/features/settings/index.d.ts.map +0 -1
  872. package/dist/v2/features/settings/index.js +0 -3
  873. package/dist/v2/helpers/download-document.d.ts +0 -2
  874. package/dist/v2/helpers/download-document.d.ts.map +0 -1
  875. package/dist/v2/helpers/download-document.js +0 -42
  876. package/dist/v2/helpers/download-document.js.map +0 -1
  877. package/dist/v2/helpers/drag-handle-factory.d.ts +0 -16
  878. package/dist/v2/helpers/drag-handle-factory.d.ts.map +0 -1
  879. package/dist/v2/helpers/drag-handle-factory.js +0 -258
  880. package/dist/v2/helpers/drag-handle-factory.js.map +0 -1
  881. package/dist/v2/helpers/get-tab-details.d.ts +0 -43
  882. package/dist/v2/helpers/get-tab-details.d.ts.map +0 -1
  883. package/dist/v2/helpers/get-tab-details.js +0 -54
  884. package/dist/v2/helpers/get-tab-details.js.map +0 -1
  885. package/dist/v2/helpers/is-url.d.ts +0 -2
  886. package/dist/v2/helpers/is-url.d.ts.map +0 -1
  887. package/dist/v2/helpers/is-url.js +0 -9
  888. package/dist/v2/helpers/is-url.js.map +0 -1
  889. package/dist/v2/helpers/safe-run.d.ts +0 -34
  890. package/dist/v2/helpers/safe-run.d.ts.map +0 -1
  891. package/dist/v2/helpers/safe-run.js +0 -43
  892. package/dist/v2/helpers/safe-run.js.map +0 -1
  893. package/dist/v2/helpers/storage.d.ts +0 -31
  894. package/dist/v2/helpers/storage.d.ts.map +0 -1
  895. package/dist/v2/helpers/storage.js +0 -37
  896. package/dist/v2/helpers/storage.js.map +0 -1
  897. package/dist/v2/hooks/use-color-mode.d.ts +0 -20
  898. package/dist/v2/hooks/use-color-mode.d.ts.map +0 -1
  899. package/dist/v2/hooks/use-color-mode.js +0 -72
  900. package/dist/v2/hooks/use-color-mode.js.map +0 -1
  901. package/dist/v2/types/configuration.d.ts +0 -278
  902. package/dist/v2/types/configuration.d.ts.map +0 -1
  903. /package/dist/components/{ScalarAsciiArt.vue.d.ts → ScalarAsciiArt/ScalarAsciiArt.vue.d.ts} +0 -0
  904. /package/dist/{index.js → types/index.js} +0 -0
@@ -1,229 +0,0 @@
1
- import Section_default from "./components/Section.vue.js";
2
- import IntegrationLogo_default from "../../../components/ImportCollection/IntegrationLogo.vue.js";
3
- import Appearance_default from "./components/Appearance.vue.js";
4
- import { getThemeColors } from "./helpers/get-theme-colors.js";
5
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, renderList, toDisplayString, unref, withCtx } from "vue";
6
- import { ScalarButton, ScalarIcon, ScalarToggleInput, cva, cx } from "@scalar/components";
7
- import { presets, themeLabels } from "@scalar/themes";
8
- //#region src/v2/features/settings/CollectionSettings.vue?vue&type=script&setup=true&lang.ts
9
- var _hoisted_1 = { class: "flex flex-col gap-10" };
10
- var _hoisted_2 = { class: "flex flex-col gap-2" };
11
- var _hoisted_3 = { class: "grid grid-cols-2 gap-2" };
12
- var _hoisted_4 = { class: "flex items-center gap-2" };
13
- var _hoisted_5 = { class: "flex items-center gap-1" };
14
- var _hoisted_6 = { class: "grid grid-cols-2 gap-2" };
15
- var _hoisted_7 = { class: "flex items-center gap-2" };
16
- var _hoisted_8 = { class: "flex items-center gap-1" };
17
- var _hoisted_9 = { class: "size-7 rounded-xl" };
18
- var _hoisted_10 = { class: "grid grid-cols-2 gap-2" };
19
- var _hoisted_11 = { class: "flex items-center gap-2" };
20
- var DEFAULT_PROXY_URL = "https://proxy.scalar.com";
21
- var CollectionSettings_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
22
- __name: "CollectionSettings",
23
- props: {
24
- activeProxyUrl: {},
25
- customThemes: { default: () => [] },
26
- activeThemeSlug: {},
27
- colorMode: {},
28
- telemetry: { type: Boolean }
29
- },
30
- emits: [
31
- "update:proxyUrl",
32
- "update:themeSlug",
33
- "update:colorMode",
34
- "update:telemetry"
35
- ],
36
- setup(__props, { emit: __emit }) {
37
- const emit = __emit;
38
- const THEME_IDS = [
39
- "none",
40
- "default",
41
- "alternate",
42
- "purple",
43
- "solarized",
44
- "saturn",
45
- "kepler"
46
- ];
47
- const INTEGRATION_THEME_IDS = ["elysiajs", "fastify"];
48
- const defaultThemes = THEME_IDS.map((themeId) => {
49
- if (themeId === "none") return {
50
- slug: themeId,
51
- name: "None",
52
- description: "No theme",
53
- theme: ""
54
- };
55
- return presets[themeId];
56
- });
57
- const integrationThemes = INTEGRATION_THEME_IDS.map((themeId) => ({
58
- slug: themeId,
59
- name: themeLabels[themeId],
60
- description: themeLabels[themeId],
61
- theme: ""
62
- }));
63
- const customThemeSlugs = computed(() => new Set(__props.customThemes.map((theme) => theme.slug)));
64
- const buttonStyles = cva({
65
- base: "w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",
66
- variants: { active: {
67
- true: "bg-primary text-c-1 hover:bg-inherit",
68
- false: "bg-b-1 hover:bg-b-2"
69
- } }
70
- });
71
- /**
72
- * Determines if the "None" theme should be selected.
73
- * This happens when no theme is selected, or when the selected theme does not exist.
74
- */
75
- const isNoneThemeSelected = computed(() => {
76
- if (__props.activeThemeSlug === void 0 || __props.activeThemeSlug === "none") return true;
77
- return !(customThemeSlugs.value.has(__props.activeThemeSlug) || defaultThemes.some((theme) => theme.slug === __props.activeThemeSlug) || integrationThemes.some((theme) => theme.slug === __props.activeThemeSlug));
78
- });
79
- const isNoneTheme = (themeId) => themeId === "none";
80
- const isThemeActive = (themeSlug) => {
81
- return __props.activeThemeSlug === themeSlug || isNoneTheme(themeSlug) && isNoneThemeSelected.value;
82
- };
83
- const checkmarkClasses = (isActive) => cx("flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", isActive && "bg-c-accent text-b-1 border-transparent");
84
- return (_ctx, _cache) => {
85
- return openBlock(), createElementBlock("div", _hoisted_1, [
86
- createVNode(Section_default, null, {
87
- title: withCtx(() => [..._cache[4] || (_cache[4] = [createTextVNode("CORS Proxy", -1)])]),
88
- description: withCtx(() => [..._cache[5] || (_cache[5] = [
89
- createTextVNode(" Browsers block cross-origin requests for security. We provide a public proxy to ", -1),
90
- createElementVNode("a", {
91
- class: "hover:text-c-1 underline underline-offset-2",
92
- href: "https://en.wikipedia.org/wiki/Cross-origin_resource_sharing",
93
- target: "_blank"
94
- }, "bypass CORS issues", -1),
95
- createTextVNode(" . Check the ", -1),
96
- createElementVNode("a", {
97
- class: "hover:text-c-1 underline underline-offset-2",
98
- href: "https://github.com/scalar/scalar/tree/main/projects/proxy-scalar-com",
99
- target: "_blank"
100
- }, "source code on GitHub", -1),
101
- createTextVNode(" . ", -1)
102
- ])]),
103
- default: withCtx(() => [createElementVNode("div", _hoisted_2, [createVNode(unref(ScalarButton), {
104
- class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.activeProxyUrl === DEFAULT_PROXY_URL }))),
105
- onClick: _cache[0] || (_cache[0] = ($event) => emit("update:proxyUrl", DEFAULT_PROXY_URL))
106
- }, {
107
- default: withCtx(() => [createElementVNode("div", { class: normalizeClass(checkmarkClasses(__props.activeProxyUrl === DEFAULT_PROXY_URL)) }, [__props.activeProxyUrl === DEFAULT_PROXY_URL ? (openBlock(), createBlock(unref(ScalarIcon), {
108
- key: 0,
109
- icon: "Checkmark",
110
- size: "xs",
111
- thickness: "3.5"
112
- })) : createCommentVNode("", true)], 2), _cache[6] || (_cache[6] = createTextVNode(" Use proxy.scalar.com (default) ", -1))]),
113
- _: 1
114
- }, 8, ["class"]), createVNode(unref(ScalarButton), {
115
- class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: !__props.activeProxyUrl }))),
116
- onClick: _cache[1] || (_cache[1] = ($event) => emit("update:proxyUrl", null))
117
- }, {
118
- default: withCtx(() => [createElementVNode("div", { class: normalizeClass(checkmarkClasses(!__props.activeProxyUrl)) }, [!__props.activeProxyUrl ? (openBlock(), createBlock(unref(ScalarIcon), {
119
- key: 0,
120
- icon: "Checkmark",
121
- size: "xs",
122
- thickness: "3.5"
123
- })) : createCommentVNode("", true)], 2), _cache[7] || (_cache[7] = createTextVNode(" Skip the proxy ", -1))]),
124
- _: 1
125
- }, 8, ["class"])])]),
126
- _: 1
127
- }),
128
- createVNode(Section_default, null, {
129
- title: withCtx(() => [..._cache[8] || (_cache[8] = [createTextVNode("Themes", -1)])]),
130
- description: withCtx(() => [..._cache[9] || (_cache[9] = [createTextVNode(" We've got a whole rainbow of themes for you to play with: ", -1)])]),
131
- default: withCtx(() => [createElementVNode("div", _hoisted_3, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(defaultThemes), (theme) => {
132
- return openBlock(), createBlock(unref(ScalarButton), {
133
- key: theme.slug,
134
- class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: isThemeActive(theme.slug) }))),
135
- onClick: ($event) => emit("update:themeSlug", isNoneTheme(theme.slug) ? void 0 : theme.slug)
136
- }, {
137
- default: withCtx(() => [createElementVNode("div", _hoisted_4, [createElementVNode("div", { class: normalizeClass(checkmarkClasses(isThemeActive(theme.slug))) }, [isThemeActive(theme.slug) ? (openBlock(), createBlock(unref(ScalarIcon), {
138
- key: 0,
139
- icon: "Checkmark",
140
- size: "xs",
141
- thickness: "3.5"
142
- })) : createCommentVNode("", true)], 2), createTextVNode(" " + toDisplayString(theme.name), 1)]), createElementVNode("div", _hoisted_5, [
143
- createElementVNode("span", {
144
- class: "border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",
145
- style: normalizeStyle({ backgroundColor: unref(getThemeColors)(theme.slug).light })
146
- }, null, 4),
147
- createElementVNode("span", {
148
- class: "border-c-3 -mr-3 inline-block h-5 w-5 rounded-full",
149
- style: normalizeStyle({ backgroundColor: unref(getThemeColors)(theme.slug).dark })
150
- }, null, 4),
151
- createElementVNode("span", {
152
- class: "border-c-3 inline-block h-5 w-5 rounded-full",
153
- style: normalizeStyle({ backgroundColor: unref(getThemeColors)(theme.slug).accent })
154
- }, null, 4)
155
- ])]),
156
- _: 2
157
- }, 1032, ["class", "onClick"]);
158
- }), 128))])]),
159
- _: 1
160
- }),
161
- createVNode(Section_default, null, {
162
- title: withCtx(() => [..._cache[10] || (_cache[10] = [createTextVNode("Framework Themes", -1)])]),
163
- description: withCtx(() => [..._cache[11] || (_cache[11] = [createTextVNode(" Are you a real fan? Show your support by using your favorite framework's theme! ", -1)])]),
164
- default: withCtx(() => [createElementVNode("div", _hoisted_6, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(integrationThemes), (theme) => {
165
- return openBlock(), createBlock(unref(ScalarButton), {
166
- key: theme.slug,
167
- class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.activeThemeSlug === theme.slug }))),
168
- onClick: ($event) => emit("update:themeSlug", theme.slug)
169
- }, {
170
- default: withCtx(() => [createElementVNode("div", _hoisted_7, [createElementVNode("div", { class: normalizeClass(checkmarkClasses(__props.activeThemeSlug === theme.slug)) }, [__props.activeThemeSlug === theme.slug ? (openBlock(), createBlock(unref(ScalarIcon), {
171
- key: 0,
172
- icon: "Checkmark",
173
- size: "xs",
174
- thickness: "3.5"
175
- })) : createCommentVNode("", true)], 2), createTextVNode(" " + toDisplayString(theme.name), 1)]), createElementVNode("div", _hoisted_8, [createElementVNode("div", _hoisted_9, [createVNode(IntegrationLogo_default, { integration: theme.slug }, null, 8, ["integration"])])])]),
176
- _: 2
177
- }, 1032, ["class", "onClick"]);
178
- }), 128))])]),
179
- _: 1
180
- }),
181
- __props.customThemes.length > 0 ? (openBlock(), createBlock(Section_default, { key: 0 }, {
182
- title: withCtx(() => [..._cache[12] || (_cache[12] = [createTextVNode(" Custom Themes ", -1)])]),
183
- description: withCtx(() => [..._cache[13] || (_cache[13] = [createTextVNode(" Team defined themes are available to all workspaces in the team. ", -1)])]),
184
- default: withCtx(() => [createElementVNode("div", _hoisted_10, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.customThemes, (theme) => {
185
- return openBlock(), createBlock(unref(ScalarButton), {
186
- key: theme.slug,
187
- class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.activeThemeSlug === theme.slug }))),
188
- onClick: ($event) => emit("update:themeSlug", theme.slug)
189
- }, {
190
- default: withCtx(() => [createElementVNode("div", _hoisted_11, [createElementVNode("div", { class: normalizeClass(checkmarkClasses(__props.activeThemeSlug === theme.slug)) }, [__props.activeThemeSlug === theme.slug ? (openBlock(), createBlock(unref(ScalarIcon), {
191
- key: 0,
192
- icon: "Checkmark",
193
- size: "xs",
194
- thickness: "3.5"
195
- })) : createCommentVNode("", true)], 2), createTextVNode(" " + toDisplayString(theme.name), 1)])]),
196
- _: 2
197
- }, 1032, ["class", "onClick"]);
198
- }), 128))])]),
199
- _: 1
200
- })) : createCommentVNode("", true),
201
- createVNode(Section_default, null, {
202
- title: withCtx(() => [..._cache[14] || (_cache[14] = [createTextVNode("Appearance", -1)])]),
203
- description: withCtx(() => [..._cache[15] || (_cache[15] = [createTextVNode(" Choose between light, dark, or system-based appearance for your workspace. ", -1)])]),
204
- default: withCtx(() => [createVNode(Appearance_default, {
205
- colorMode: __props.colorMode,
206
- "onUpdate:colorMode": _cache[2] || (_cache[2] = (value) => emit("update:colorMode", value))
207
- }, null, 8, ["colorMode"])]),
208
- _: 1
209
- }),
210
- createVNode(Section_default, null, {
211
- title: withCtx(() => [..._cache[16] || (_cache[16] = [createTextVNode("Telemetry", -1)])]),
212
- description: withCtx(() => [..._cache[17] || (_cache[17] = [createTextVNode(" Help us improve Scalar by sending usage data. ", -1)])]),
213
- default: withCtx(() => [createVNode(unref(ScalarToggleInput), {
214
- modelValue: __props.telemetry,
215
- "onUpdate:modelValue": _cache[3] || (_cache[3] = (value) => emit("update:telemetry", value ?? false))
216
- }, {
217
- default: withCtx(() => [..._cache[18] || (_cache[18] = [createTextVNode(" Enable telemetry ", -1)])]),
218
- _: 1
219
- }, 8, ["modelValue"])]),
220
- _: 1
221
- })
222
- ]);
223
- };
224
- }
225
- });
226
- //#endregion
227
- export { CollectionSettings_vue_vue_type_script_setup_true_lang_default as default };
228
-
229
- //# sourceMappingURL=CollectionSettings.vue.script.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollectionSettings.vue.script.js","names":[],"sources":["../../../../src/v2/features/settings/CollectionSettings.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n cva,\n cx,\n ScalarButton,\n ScalarIcon,\n ScalarToggleInput,\n} from '@scalar/components'\nimport {\n presets,\n themeLabels,\n type IntegrationThemeId,\n type Theme,\n type ThemeId,\n} from '@scalar/themes'\nimport { computed } from 'vue'\n\nimport IntegrationLogo from '@/components/ImportCollection/IntegrationLogo.vue'\n\nimport Appearance from './components/Appearance.vue'\nimport Section from './components/Section.vue'\nimport { getThemeColors } from './helpers/get-theme-colors'\n\ntype ColorMode = 'system' | 'light' | 'dark'\n\nconst {\n activeProxyUrl,\n customThemes = [],\n activeThemeSlug,\n colorMode,\n telemetry,\n} = defineProps<{\n /** Currently active proxy URL, when set to null means no proxy */\n activeProxyUrl?: string | null\n /** Custom themes available to the team */\n customThemes?: Theme[]\n /** Currently active theme ID */\n activeThemeSlug?: string\n /** Currently active color mode */\n colorMode: ColorMode\n /** Whether telemetry is enabled */\n telemetry?: boolean\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:proxyUrl', value: string | null): void\n (e: 'update:themeSlug', value: string | undefined): void\n (e: 'update:colorMode', value: ColorMode): void\n (e: 'update:telemetry', value: boolean): void\n}>()\n\nconst DEFAULT_PROXY_URL = 'https://proxy.scalar.com'\n\nconst THEME_IDS: Exclude<ThemeId, IntegrationThemeId>[] = [\n 'none',\n 'default',\n 'alternate',\n 'purple',\n 'solarized',\n 'saturn',\n 'kepler',\n]\n\nconst INTEGRATION_THEME_IDS: IntegrationThemeId[] = ['elysiajs', 'fastify']\n\nconst defaultThemes = THEME_IDS.map((themeId) => {\n if (themeId === 'none') {\n return {\n slug: themeId,\n name: 'None',\n description: 'No theme',\n theme: '',\n }\n }\n return presets[themeId]\n})\n\nconst integrationThemes = INTEGRATION_THEME_IDS.map((themeId) => ({\n slug: themeId,\n name: themeLabels[themeId],\n description: themeLabels[themeId],\n theme: '',\n}))\n\nconst customThemeSlugs = computed(\n () => new Set(customThemes.map((theme) => theme.slug)),\n)\n\nconst buttonStyles = cva({\n base: 'w-full shadow-none text-c-1 justify-start pl-2 gap-2 border',\n variants: {\n active: {\n true: 'bg-primary text-c-1 hover:bg-inherit',\n false: 'bg-b-1 hover:bg-b-2',\n },\n },\n})\n\n/**\n * Determines if the \"None\" theme should be selected.\n * This happens when no theme is selected, or when the selected theme does not exist.\n */\nconst isNoneThemeSelected = computed(() => {\n if (activeThemeSlug === undefined || activeThemeSlug === 'none') {\n return true\n }\n\n const isValidTheme =\n customThemeSlugs.value.has(activeThemeSlug) ||\n defaultThemes.some((theme) => theme.slug === activeThemeSlug) ||\n integrationThemes.some((theme) => theme.slug === activeThemeSlug)\n\n return !isValidTheme\n})\n\nconst isNoneTheme = (themeId: string): boolean => themeId === 'none'\n\nconst isThemeActive = (themeSlug: string): boolean => {\n return (\n activeThemeSlug === themeSlug ||\n (isNoneTheme(themeSlug) && isNoneThemeSelected.value)\n )\n}\n\nconst checkmarkClasses = (isActive: boolean) =>\n cx(\n 'flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1',\n isActive && 'bg-c-accent text-b-1 border-transparent',\n )\n</script>\n<template>\n <div class=\"flex flex-col gap-10\">\n <!-- Proxy -->\n <Section>\n <template #title>CORS Proxy</template>\n <template #description>\n Browsers block cross-origin requests for security. We provide a public\n proxy to\n <a\n class=\"hover:text-c-1 underline underline-offset-2\"\n href=\"https://en.wikipedia.org/wiki/Cross-origin_resource_sharing\"\n target=\"_blank\"\n >bypass CORS issues</a\n >\n . Check the\n <a\n class=\"hover:text-c-1 underline underline-offset-2\"\n href=\"https://github.com/scalar/scalar/tree/main/projects/proxy-scalar-com\"\n target=\"_blank\"\n >source code on GitHub</a\n >\n .\n </template>\n\n <div class=\"flex flex-col gap-2\">\n <ScalarButton\n :class=\"\n cx(\n buttonStyles({\n active: activeProxyUrl === DEFAULT_PROXY_URL,\n }),\n )\n \"\n @click=\"emit('update:proxyUrl', DEFAULT_PROXY_URL)\">\n <div :class=\"checkmarkClasses(activeProxyUrl === DEFAULT_PROXY_URL)\">\n <ScalarIcon\n v-if=\"activeProxyUrl === DEFAULT_PROXY_URL\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Use proxy.scalar.com (default)\n </ScalarButton>\n\n <ScalarButton\n :class=\"cx(buttonStyles({ active: !activeProxyUrl }))\"\n @click=\"emit('update:proxyUrl', null)\">\n <div :class=\"checkmarkClasses(!activeProxyUrl)\">\n <ScalarIcon\n v-if=\"!activeProxyUrl\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Skip the proxy\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Themes -->\n <Section>\n <template #title>Themes</template>\n <template #description>\n We've got a whole rainbow of themes for you to play with:\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in defaultThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: isThemeActive(theme.slug) }))\"\n @click=\"\n emit(\n 'update:themeSlug',\n isNoneTheme(theme.slug) ? undefined : theme.slug,\n )\n \">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(isThemeActive(theme.slug))\">\n <ScalarIcon\n v-if=\"isThemeActive(theme.slug)\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n <div class=\"flex items-center gap-1\">\n <span\n class=\"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).light,\n }\" />\n <span\n class=\"border-c-3 -mr-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).dark,\n }\" />\n <span\n class=\"border-c-3 inline-block h-5 w-5 rounded-full\"\n :style=\"{\n backgroundColor: getThemeColors(theme.slug).accent,\n }\" />\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Frameworks -->\n <Section>\n <template #title>Framework Themes</template>\n <template #description>\n Are you a real fan? Show your support by using your favorite framework's\n theme!\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in integrationThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: activeThemeSlug === theme.slug }))\"\n @click=\"emit('update:themeSlug', theme.slug)\">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(activeThemeSlug === theme.slug)\">\n <ScalarIcon\n v-if=\"activeThemeSlug === theme.slug\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n <div class=\"flex items-center gap-1\">\n <div class=\"size-7 rounded-xl\">\n <IntegrationLogo :integration=\"theme.slug\" />\n </div>\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Custom Themes -->\n <Section v-if=\"customThemes.length > 0\">\n <template #title> Custom Themes </template>\n <template #description>\n Team defined themes are available to all workspaces in the team.\n </template>\n\n <div class=\"grid grid-cols-2 gap-2\">\n <ScalarButton\n v-for=\"theme in customThemes\"\n :key=\"theme.slug\"\n :class=\"cx(buttonStyles({ active: activeThemeSlug === theme.slug }))\"\n @click=\"emit('update:themeSlug', theme.slug)\">\n <div class=\"flex items-center gap-2\">\n <div :class=\"checkmarkClasses(activeThemeSlug === theme.slug)\">\n <ScalarIcon\n v-if=\"activeThemeSlug === theme.slug\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n {{ theme.name }}\n </div>\n </ScalarButton>\n </div>\n </Section>\n\n <!-- Appearance -->\n <Section>\n <template #title>Appearance</template>\n <template #description>\n Choose between light, dark, or system-based appearance for your\n workspace.\n </template>\n\n <Appearance\n :colorMode=\"colorMode\"\n @update:colorMode=\"(value) => emit('update:colorMode', value)\" />\n </Section>\n\n <!-- Telemetry -->\n <Section>\n <template #title>Telemetry</template>\n <template #description>\n Help us improve Scalar by sending usage data.\n </template>\n\n <ScalarToggleInput\n :modelValue=\"telemetry\"\n @update:modelValue=\"\n (value) => emit('update:telemetry', value ?? false)\n \">\n Enable telemetry\n </ScalarToggleInput>\n </Section>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAmDA,IAAM,oBAAoB;;;;;;;;;;;;;;;;;EAP1B,MAAM,OAAO;EASb,MAAM,YAAoD;GACxD;GACA;GACA;GACA;GACA;GACA;GACA;GACF;EAEA,MAAM,wBAA8C,CAAC,YAAY,UAAS;EAE1E,MAAM,gBAAgB,UAAU,KAAK,YAAY;AAC/C,OAAI,YAAY,OACd,QAAO;IACL,MAAM;IACN,MAAM;IACN,aAAa;IACb,OAAO;IACT;AAEF,UAAO,QAAQ;IAChB;EAED,MAAM,oBAAoB,sBAAsB,KAAK,aAAa;GAChE,MAAM;GACN,MAAM,YAAY;GAClB,aAAa,YAAY;GACzB,OAAO;GACR,EAAC;EAEF,MAAM,mBAAmB,eACjB,IAAI,IAAI,QAAA,aAAa,KAAK,UAAU,MAAM,KAAK,CAAC,CACxD;EAEA,MAAM,eAAe,IAAI;GACvB,MAAM;GACN,UAAU,EACR,QAAQ;IACN,MAAM;IACN,OAAO;IACR,EACF;GACF,CAAA;;;;;EAMD,MAAM,sBAAsB,eAAe;AACzC,OAAI,QAAA,oBAAoB,KAAA,KAAa,QAAA,oBAAoB,OACvD,QAAO;AAQT,UAAO,EAJL,iBAAiB,MAAM,IAAI,QAAA,gBAAgB,IAC3C,cAAc,MAAM,UAAU,MAAM,SAAS,QAAA,gBAAgB,IAC7D,kBAAkB,MAAM,UAAU,MAAM,SAAS,QAAA,gBAAe;IAGnE;EAED,MAAM,eAAe,YAA6B,YAAY;EAE9D,MAAM,iBAAiB,cAA+B;AACpD,UACE,QAAA,oBAAoB,aACnB,YAAY,UAAU,IAAI,oBAAoB;;EAInD,MAAM,oBAAoB,aACxB,GACE,4EACA,YAAY,0CACd;;uBAGA,mBAmMM,OAnMN,YAmMM;IAjMJ,YAsDU,iBAAA,MAAA;KArDG,OAAK,cAAW,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAV,cAAU,GAAA,CAAA,EAAA,CAAA;KAChB,aAAW,cAGpB,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA;sBAHqB,qFAGrB,GAAA;MAAA,mBAKC,KAAA;OAJC,OAAM;OACN,MAAK;OACL,QAAO;SACN,sBAAkB,GAAA;sBACpB,iBAED,GAAA;MAAA,mBAKC,KAAA;OAJC,OAAM;OACN,MAAK;OACL,QAAO;SACN,yBAAqB,GAAA;sBACvB,OAEH,GAAA;;4BAkCM,CAhCN,mBAgCM,OAhCN,YAgCM,CA/BJ,YAiBe,MAAA,aAAA,EAAA;MAhBZ,OAAK,eAAe,MAAA,GAAE,CAAgB,MAAA,aAAY,CAAA,EAAA,QAA2B,QAAA,mBAAmB,mBAAA,CAAA,CAAA,CAAA;MAOhG,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,mBAAoB,kBAAiB;;6BAO3C,CANN,mBAMM,OAAA,EANA,OAAK,eAAE,iBAAiB,QAAA,mBAAmB,kBAAiB,CAAA,EAAA,EAAA,CAExD,QAAA,mBAAmB,qBAAA,WAAA,EAD3B,YAIoB,MAAA,WAAA,EAAA;;OAFlB,MAAK;OACL,MAAK;OACL,WAAU;yFACR,oCAER,GAAA,EAAA,CAAA;;uBAEA,YAWe,MAAA,aAAA,EAAA;MAVZ,OAAK,eAAE,MAAA,GAAE,CAAC,MAAA,aAAY,CAAA,EAAA,QAAA,CAAY,QAAA,gBAAc,CAAA,CAAA,CAAA;MAChD,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,mBAAA,KAAA;;6BAON,CANN,mBAMM,OAAA,EANA,OAAK,eAAE,iBAAgB,CAAE,QAAA,eAAc,CAAA,EAAA,EAAA,CAAA,CAElC,QAAA,kBAAA,WAAA,EADT,YAIoB,MAAA,WAAA,EAAA;;OAFlB,MAAK;OACL,MAAK;OACL,WAAU;yFACR,oBAER,GAAA,EAAA,CAAA;;;;;IAKJ,YA8CU,iBAAA,MAAA;KA7CG,OAAK,cAAO,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAN,UAAM,GAAA,CAAA,EAAA,CAAA;KACZ,aAAW,cAEtB,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAFuB,+DAEvB,GAAA,CAAA,EAAA,CAAA;4BAyCM,CAvCN,mBAuCM,OAvCN,YAuCM,EAAA,UAAA,KAAA,EAtCJ,mBAqCe,UAAA,MAAA,WApCG,MAAA,cAAa,GAAtB,UAAK;0BADd,YAqCe,MAAA,aAAA,EAAA;OAnCZ,KAAK,MAAM;OACX,OAAK,eAAE,MAAA,GAAE,CAAC,MAAA,aAAY,CAAA,EAAA,QAAW,cAAc,MAAM,KAAI,EAAA,CAAA,CAAA,CAAA;OACzD,UAAK,WAAe,KAAA,oBAAsD,YAAY,MAAM,KAAI,GAAI,KAAA,IAAY,MAAM,KAAA;;8BAejH,CATN,mBASM,OATN,YASM,CARJ,mBAMM,OAAA,EANA,OAAK,eAAE,iBAAiB,cAAc,MAAM,KAAI,CAAA,CAAA,EAAA,EAAA,CAE5C,cAAc,MAAM,KAAI,IAAA,WAAA,EADhC,YAIoB,MAAA,WAAA,EAAA;;QAFlB,MAAK;QACL,MAAK;QACL,WAAU;gEACR,MACN,gBAAG,MAAM,KAAI,EAAA,EAAA,CAAA,CAAA,EAEf,mBAgBM,OAhBN,YAgBM;QAfJ,mBAIO,QAAA;SAHL,OAAM;SACL,OAAK,eAAA,EAAA,iBAAqC,MAAA,eAAc,CAAC,MAAM,KAAI,CAAE,OAAA,CAAA;;QAGxE,mBAIO,QAAA;SAHL,OAAM;SACL,OAAK,eAAA,EAAA,iBAAqC,MAAA,eAAc,CAAC,MAAM,KAAI,CAAE,MAAA,CAAA;;QAGxE,mBAIO,QAAA;SAHL,OAAM;SACL,OAAK,eAAA,EAAA,iBAAqC,MAAA,eAAc,CAAC,MAAM,KAAI,CAAE,QAAA,CAAA;;;;;;;;IAShF,YA8BU,iBAAA,MAAA;KA7BG,OAAK,cAAiB,CAAA,GAAA,OAAA,QAAA,OAAA,MAAA,CAAA,gBAAhB,oBAAgB,GAAA,CAAA,EAAA,CAAA;KACtB,aAAW,cAGtB,CAAA,GAAA,OAAA,QAAA,OAAA,MAAA,CAAA,gBAHuB,qFAGvB,GAAA,CAAA,EAAA,CAAA;4BAwBM,CAtBN,mBAsBM,OAtBN,YAsBM,EAAA,UAAA,KAAA,EArBJ,mBAoBe,UAAA,MAAA,WAnBG,MAAA,kBAAiB,GAA1B,UAAK;0BADd,YAoBe,MAAA,aAAA,EAAA;OAlBZ,KAAK,MAAM;OACX,OAAK,eAAE,MAAA,GAAE,CAAC,MAAA,aAAY,CAAA,EAAA,QAAW,QAAA,oBAAoB,MAAM,MAAI,CAAA,CAAA,CAAA;OAC/D,UAAK,WAAE,KAAI,oBAAqB,MAAM,KAAI;;8BAUrC,CATN,mBASM,OATN,YASM,CARJ,mBAMM,OAAA,EANA,OAAK,eAAE,iBAAiB,QAAA,oBAAoB,MAAM,KAAI,CAAA,EAAA,EAAA,CAElD,QAAA,oBAAoB,MAAM,QAAA,WAAA,EADlC,YAIoB,MAAA,WAAA,EAAA;;QAFlB,MAAK;QACL,MAAK;QACL,WAAU;gEACR,MACN,gBAAG,MAAM,KAAI,EAAA,EAAA,CAAA,CAAA,EAEf,mBAIM,OAJN,YAIM,CAHJ,mBAEM,OAFN,YAEM,CADJ,YAA6C,yBAAA,EAA3B,aAAa,MAAM,MAAA,EAAA,MAAA,GAAA,CAAA,cAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;;;;;;IAQhC,QAAA,aAAa,SAAM,KAAA,WAAA,EAAlC,YAwBU,iBAAA,EAAA,KAAA,GAAA,EAAA;KAvBG,OAAK,cAAgB,CAAA,GAAA,OAAA,QAAA,OAAA,MAAA,CAAA,gBAAf,mBAAe,GAAA,CAAA,EAAA,CAAA;KACrB,aAAW,cAEtB,CAAA,GAAA,OAAA,QAAA,OAAA,MAAA,CAAA,gBAFuB,sEAEvB,GAAA,CAAA,EAAA,CAAA;4BAmBM,CAjBN,mBAiBM,OAjBN,aAiBM,EAAA,UAAA,KAAA,EAhBJ,mBAee,UAAA,MAAA,WAdG,QAAA,eAAT,UAAK;0BADd,YAee,MAAA,aAAA,EAAA;OAbZ,KAAK,MAAM;OACX,OAAK,eAAE,MAAA,GAAE,CAAC,MAAA,aAAY,CAAA,EAAA,QAAW,QAAA,oBAAoB,MAAM,MAAI,CAAA,CAAA,CAAA;OAC/D,UAAK,WAAE,KAAI,oBAAqB,MAAM,KAAI;;8BAUrC,CATN,mBASM,OATN,aASM,CARJ,mBAMM,OAAA,EANA,OAAK,eAAE,iBAAiB,QAAA,oBAAoB,MAAM,KAAI,CAAA,EAAA,EAAA,CAElD,QAAA,oBAAoB,MAAM,QAAA,WAAA,EADlC,YAIoB,MAAA,WAAA,EAAA;;QAFlB,MAAK;QACL,MAAK;QACL,WAAU;gEACR,MACN,gBAAG,MAAM,KAAI,EAAA,EAAA,CAAA,CAAA,CAAA,CAAA;;;;;;IAOrB,YAUU,iBAAA,MAAA;KATG,OAAK,cAAW,CAAA,GAAA,OAAA,QAAA,OAAA,MAAA,CAAA,gBAAV,cAAU,GAAA,CAAA,EAAA,CAAA;KAChB,aAAW,cAGtB,CAAA,GAAA,OAAA,QAAA,OAAA,MAAA,CAAA,gBAHuB,gFAGvB,GAAA,CAAA,EAAA,CAAA;4BAImE,CAFnE,YAEmE,oBAAA;MADhE,WAAW,QAAA;MACX,sBAAgB,OAAA,OAAA,OAAA,MAAG,UAAU,KAAI,oBAAqB,MAAK;;;;IAIhE,YAaU,iBAAA,MAAA;KAZG,OAAK,cAAU,CAAA,GAAA,OAAA,QAAA,OAAA,MAAA,CAAA,gBAAT,aAAS,GAAA,CAAA,EAAA,CAAA;KACf,aAAW,cAEtB,CAAA,GAAA,OAAA,QAAA,OAAA,MAAA,CAAA,gBAFuB,mDAEvB,GAAA,CAAA,EAAA,CAAA;4BAQoB,CANpB,YAMoB,MAAA,kBAAA,EAAA;MALjB,YAAY,QAAA;MACZ,uBAAiB,OAAA,OAAA,OAAA,MAAc,UAAU,KAAI,oBAAqB,SAAK,MAAA;;6BAI1E,CAAA,GAAA,OAAA,QAAA,OAAA,MAAA,CAAA,gBAFI,sBAEJ,GAAA,CAAA,EAAA,CAAA"}
@@ -1,20 +0,0 @@
1
- type __VLS_Props = {
2
- /** Document source url if available */
3
- documentUrl?: string;
4
- /** Watch mode status if also document url is provided */
5
- watchMode?: boolean;
6
- /** Document title */
7
- title: string;
8
- /** Whether the document is a draft document */
9
- isDraftDocument?: boolean;
10
- };
11
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
- "delete:document": () => any;
13
- "update:watchMode": (value: boolean) => any;
14
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
- "onDelete:document"?: (() => any) | undefined;
16
- "onUpdate:watchMode"?: ((value: boolean) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
- declare const _default: typeof __VLS_export;
19
- export default _default;
20
- //# sourceMappingURL=DocumentSettings.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DocumentSettings.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/settings/DocumentSettings.vue"],"names":[],"mappings":"AA4JA,KAAK,WAAW,GAAG;IACjB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,+CAA+C;IAC/C,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAC;AAyTF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- import DocumentSettings_vue_vue_type_script_setup_true_lang_default from "./DocumentSettings.vue.script.js";
2
- //#region src/v2/features/settings/DocumentSettings.vue
3
- var DocumentSettings_default = DocumentSettings_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
- export { DocumentSettings_default as default };
6
-
7
- //# sourceMappingURL=DocumentSettings.vue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DocumentSettings.vue.js","names":[],"sources":["../../../../src/v2/features/settings/DocumentSettings.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n ScalarButton,\n ScalarIcon,\n ScalarModal,\n ScalarToggle,\n useModal,\n} from '@scalar/components'\n\nimport DeleteSidebarListElement from '@/components/Sidebar/Actions/DeleteSidebarListElement.vue'\n\nimport Section from './components/Section.vue'\n\nconst {\n documentUrl,\n watchMode,\n title,\n isDraftDocument = false,\n} = defineProps<{\n /** Document source url if available */\n documentUrl?: string\n /** Watch mode status if also document url is provided */\n watchMode?: boolean\n /** Document title */\n title: string\n /** Whether the document is a draft document */\n isDraftDocument?: boolean\n}>()\n\nconst emit = defineEmits<{\n /** Delete current document */\n (e: 'delete:document'): void\n /** Update watch mode status */\n (e: 'update:watchMode', value: boolean): void\n}>()\n\nconst deleteModal = useModal()\n\n/**\n * Handles the delete button click.\n * Prevents opening the modal if the document is a draft.\n */\nconst handleDeleteClick = () => {\n if (isDraftDocument) {\n return\n }\n deleteModal.show()\n}\n\nconst handleDocumentDelete = () => {\n emit('delete:document')\n deleteModal.hide()\n}\n</script>\n\n<template>\n <div class=\"flex flex-col gap-12\">\n <Section>\n <template #title>Features</template>\n <!-- Watch Mode -->\n <div class=\"bg-b-2 rounded-lg border text-sm\">\n <div\n class=\"bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3\">\n <div>\n <h4>Watch Mode</h4>\n <p class=\"text-c-2 mt-1\">\n When enabled, the OpenAPI document will be polled for changes. The\n collection will be updated automatically.\n </p>\n </div>\n <ScalarToggle\n class=\"w-4\"\n :disabled=\"!documentUrl\"\n :modelValue=\"watchMode ?? false\"\n @update:modelValue=\"(value) => emit('update:watchMode', value)\" />\n </div>\n <div\n class=\"text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap\">\n <div class=\"flex items-center\">\n <template v-if=\"documentUrl\">\n <span class=\"bg-b-2 sticky left-0 pr-2 pl-3\">Source</span>\n <a\n class=\"text-c-2 group rounded pr-3 no-underline hover:underline\"\n :href=\"documentUrl\"\n target=\"_blank\">\n {{ documentUrl }}\n <ScalarIcon\n class=\"ml-1 hidden w-2.5 group-hover:inline\"\n icon=\"ExternalLink\" />\n </a>\n </template>\n <template v-else>\n <ScalarIcon\n class=\"text-c-2 mr-2 ml-3 w-4\"\n icon=\"NotAllowed\"\n size=\"sm\" />\n <span class=\"text-c-2 pr-3\">\n No URL configured. Try importing an OpenAPI document from an\n URL.\n </span>\n </template>\n </div>\n </div>\n </div>\n </Section>\n\n <!-- Danger Zone -->\n <Section>\n <template #title>Danger Zone</template>\n <div\n class=\"flex items-center justify-between rounded-lg border p-3 text-sm\">\n <div>\n <h4>Delete Collection</h4>\n <p class=\"text-c-2 mt-1\">\n Be careful, my friend. Once deleted, there is no way to recover the\n collection.\n </p>\n </div>\n <!-- user can not delete draft documents -->\n <ScalarButton\n :disabled=\"isDraftDocument\"\n size=\"sm\"\n variant=\"danger\"\n @click=\"handleDeleteClick\">\n Delete Collection\n </ScalarButton>\n </div>\n </Section>\n </div>\n <!-- Delete Modal -->\n <ScalarModal\n :size=\"'xxs'\"\n :state=\"deleteModal\"\n :title=\"`Delete ${title}`\">\n <DeleteSidebarListElement\n :variableName=\"title ?? ''\"\n warningMessage=\"This action cannot be undone.\"\n @close=\"deleteModal.hide()\"\n @delete=\"handleDocumentDelete\" />\n </ScalarModal>\n</template>\n"],"mappings":""}
@@ -1,92 +0,0 @@
1
- import DeleteSidebarListElement_default from "../../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
2
- import Section_default from "./components/Section.vue.js";
3
- import { Fragment, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, toDisplayString, unref, withCtx } from "vue";
4
- import { ScalarButton, ScalarIcon, ScalarModal, ScalarToggle, useModal } from "@scalar/components";
5
- //#region src/v2/features/settings/DocumentSettings.vue?vue&type=script&setup=true&lang.ts
6
- var _hoisted_1 = { class: "flex flex-col gap-12" };
7
- var _hoisted_2 = { class: "bg-b-2 rounded-lg border text-sm" };
8
- var _hoisted_3 = { class: "bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3" };
9
- var _hoisted_4 = { class: "text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap" };
10
- var _hoisted_5 = { class: "flex items-center" };
11
- var _hoisted_6 = ["href"];
12
- var _hoisted_7 = { class: "flex items-center justify-between rounded-lg border p-3 text-sm" };
13
- var DocumentSettings_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
14
- __name: "DocumentSettings",
15
- props: {
16
- documentUrl: {},
17
- watchMode: { type: Boolean },
18
- title: {},
19
- isDraftDocument: {
20
- type: Boolean,
21
- default: false
22
- }
23
- },
24
- emits: ["delete:document", "update:watchMode"],
25
- setup(__props, { emit: __emit }) {
26
- const emit = __emit;
27
- const deleteModal = useModal();
28
- /**
29
- * Handles the delete button click.
30
- * Prevents opening the modal if the document is a draft.
31
- */
32
- const handleDeleteClick = () => {
33
- if (__props.isDraftDocument) return;
34
- deleteModal.show();
35
- };
36
- const handleDocumentDelete = () => {
37
- emit("delete:document");
38
- deleteModal.hide();
39
- };
40
- return (_ctx, _cache) => {
41
- return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1, [createVNode(Section_default, null, {
42
- title: withCtx(() => [..._cache[2] || (_cache[2] = [createTextVNode("Features", -1)])]),
43
- default: withCtx(() => [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [_cache[3] || (_cache[3] = createElementVNode("div", null, [createElementVNode("h4", null, "Watch Mode"), createElementVNode("p", { class: "text-c-2 mt-1" }, " When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. ")], -1)), createVNode(unref(ScalarToggle), {
44
- class: "w-4",
45
- disabled: !__props.documentUrl,
46
- modelValue: __props.watchMode ?? false,
47
- "onUpdate:modelValue": _cache[0] || (_cache[0] = (value) => emit("update:watchMode", value))
48
- }, null, 8, ["disabled", "modelValue"])]), createElementVNode("div", _hoisted_4, [createElementVNode("div", _hoisted_5, [__props.documentUrl ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_cache[4] || (_cache[4] = createElementVNode("span", { class: "bg-b-2 sticky left-0 pr-2 pl-3" }, "Source", -1)), createElementVNode("a", {
49
- class: "text-c-2 group rounded pr-3 no-underline hover:underline",
50
- href: __props.documentUrl,
51
- target: "_blank"
52
- }, [createTextVNode(toDisplayString(__props.documentUrl) + " ", 1), createVNode(unref(ScalarIcon), {
53
- class: "ml-1 hidden w-2.5 group-hover:inline",
54
- icon: "ExternalLink"
55
- })], 8, _hoisted_6)], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createVNode(unref(ScalarIcon), {
56
- class: "text-c-2 mr-2 ml-3 w-4",
57
- icon: "NotAllowed",
58
- size: "sm"
59
- }), _cache[5] || (_cache[5] = createElementVNode("span", { class: "text-c-2 pr-3" }, " No URL configured. Try importing an OpenAPI document from an URL. ", -1))], 64))])])])]),
60
- _: 1
61
- }), createVNode(Section_default, null, {
62
- title: withCtx(() => [..._cache[6] || (_cache[6] = [createTextVNode("Danger Zone", -1)])]),
63
- default: withCtx(() => [createElementVNode("div", _hoisted_7, [_cache[8] || (_cache[8] = createElementVNode("div", null, [createElementVNode("h4", null, "Delete Collection"), createElementVNode("p", { class: "text-c-2 mt-1" }, " Be careful, my friend. Once deleted, there is no way to recover the collection. ")], -1)), createVNode(unref(ScalarButton), {
64
- disabled: __props.isDraftDocument,
65
- size: "sm",
66
- variant: "danger",
67
- onClick: handleDeleteClick
68
- }, {
69
- default: withCtx(() => [..._cache[7] || (_cache[7] = [createTextVNode(" Delete Collection ", -1)])]),
70
- _: 1
71
- }, 8, ["disabled"])])]),
72
- _: 1
73
- })]), createVNode(unref(ScalarModal), {
74
- size: "xxs",
75
- state: unref(deleteModal),
76
- title: `Delete ${__props.title}`
77
- }, {
78
- default: withCtx(() => [createVNode(DeleteSidebarListElement_default, {
79
- variableName: __props.title ?? "",
80
- warningMessage: "This action cannot be undone.",
81
- onClose: _cache[1] || (_cache[1] = ($event) => unref(deleteModal).hide()),
82
- onDelete: handleDocumentDelete
83
- }, null, 8, ["variableName"])]),
84
- _: 1
85
- }, 8, ["state", "title"])], 64);
86
- };
87
- }
88
- });
89
- //#endregion
90
- export { DocumentSettings_vue_vue_type_script_setup_true_lang_default as default };
91
-
92
- //# sourceMappingURL=DocumentSettings.vue.script.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DocumentSettings.vue.script.js","names":[],"sources":["../../../../src/v2/features/settings/DocumentSettings.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n ScalarButton,\n ScalarIcon,\n ScalarModal,\n ScalarToggle,\n useModal,\n} from '@scalar/components'\n\nimport DeleteSidebarListElement from '@/components/Sidebar/Actions/DeleteSidebarListElement.vue'\n\nimport Section from './components/Section.vue'\n\nconst {\n documentUrl,\n watchMode,\n title,\n isDraftDocument = false,\n} = defineProps<{\n /** Document source url if available */\n documentUrl?: string\n /** Watch mode status if also document url is provided */\n watchMode?: boolean\n /** Document title */\n title: string\n /** Whether the document is a draft document */\n isDraftDocument?: boolean\n}>()\n\nconst emit = defineEmits<{\n /** Delete current document */\n (e: 'delete:document'): void\n /** Update watch mode status */\n (e: 'update:watchMode', value: boolean): void\n}>()\n\nconst deleteModal = useModal()\n\n/**\n * Handles the delete button click.\n * Prevents opening the modal if the document is a draft.\n */\nconst handleDeleteClick = () => {\n if (isDraftDocument) {\n return\n }\n deleteModal.show()\n}\n\nconst handleDocumentDelete = () => {\n emit('delete:document')\n deleteModal.hide()\n}\n</script>\n\n<template>\n <div class=\"flex flex-col gap-12\">\n <Section>\n <template #title>Features</template>\n <!-- Watch Mode -->\n <div class=\"bg-b-2 rounded-lg border text-sm\">\n <div\n class=\"bg-b-1 flex items-center justify-between gap-4 rounded-t-lg p-3\">\n <div>\n <h4>Watch Mode</h4>\n <p class=\"text-c-2 mt-1\">\n When enabled, the OpenAPI document will be polled for changes. The\n collection will be updated automatically.\n </p>\n </div>\n <ScalarToggle\n class=\"w-4\"\n :disabled=\"!documentUrl\"\n :modelValue=\"watchMode ?? false\"\n @update:modelValue=\"(value) => emit('update:watchMode', value)\" />\n </div>\n <div\n class=\"text-c-1 flex items-center overflow-x-auto border-t py-1.5 whitespace-nowrap\">\n <div class=\"flex items-center\">\n <template v-if=\"documentUrl\">\n <span class=\"bg-b-2 sticky left-0 pr-2 pl-3\">Source</span>\n <a\n class=\"text-c-2 group rounded pr-3 no-underline hover:underline\"\n :href=\"documentUrl\"\n target=\"_blank\">\n {{ documentUrl }}\n <ScalarIcon\n class=\"ml-1 hidden w-2.5 group-hover:inline\"\n icon=\"ExternalLink\" />\n </a>\n </template>\n <template v-else>\n <ScalarIcon\n class=\"text-c-2 mr-2 ml-3 w-4\"\n icon=\"NotAllowed\"\n size=\"sm\" />\n <span class=\"text-c-2 pr-3\">\n No URL configured. Try importing an OpenAPI document from an\n URL.\n </span>\n </template>\n </div>\n </div>\n </div>\n </Section>\n\n <!-- Danger Zone -->\n <Section>\n <template #title>Danger Zone</template>\n <div\n class=\"flex items-center justify-between rounded-lg border p-3 text-sm\">\n <div>\n <h4>Delete Collection</h4>\n <p class=\"text-c-2 mt-1\">\n Be careful, my friend. Once deleted, there is no way to recover the\n collection.\n </p>\n </div>\n <!-- user can not delete draft documents -->\n <ScalarButton\n :disabled=\"isDraftDocument\"\n size=\"sm\"\n variant=\"danger\"\n @click=\"handleDeleteClick\">\n Delete Collection\n </ScalarButton>\n </div>\n </Section>\n </div>\n <!-- Delete Modal -->\n <ScalarModal\n :size=\"'xxs'\"\n :state=\"deleteModal\"\n :title=\"`Delete ${title}`\">\n <DeleteSidebarListElement\n :variableName=\"title ?? ''\"\n warningMessage=\"This action cannot be undone.\"\n @close=\"deleteModal.hide()\"\n @delete=\"handleDocumentDelete\" />\n </ScalarModal>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;EA6BA,MAAM,OAAO;EAOb,MAAM,cAAc,UAAS;;;;;EAM7B,MAAM,0BAA0B;AAC9B,OAAI,QAAA,gBACF;AAEF,eAAY,MAAK;;EAGnB,MAAM,6BAA6B;AACjC,QAAK,kBAAiB;AACtB,eAAY,MAAK;;;2DAKjB,mBAwEM,OAxEN,YAwEM,CAvEJ,YA+CU,iBAAA,MAAA;IA9CG,OAAK,cAAS,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAR,YAAQ,GAAA,CAAA,EAAA,CAAA;2BA6CnB,CA3CN,mBA2CM,OA3CN,YA2CM,CA1CJ,mBAcM,OAdN,YAcM,CAAA,OAAA,OAAA,OAAA,KAZJ,mBAMM,OAAA,MAAA,CALJ,mBAAmB,MAAA,MAAf,aAAU,EACd,mBAGI,KAAA,EAHD,OAAM,iBAAe,EAAC,iHAGzB,CAAA,EAAA,GAAA,GAEF,YAIoE,MAAA,aAAA,EAAA;KAHlE,OAAM;KACL,UAAQ,CAAG,QAAA;KACX,YAAY,QAAA,aAAS;KACrB,uBAAiB,OAAA,OAAA,OAAA,MAAG,UAAU,KAAI,oBAAqB,MAAK;+CAEjE,mBA0BM,OA1BN,YA0BM,CAxBJ,mBAuBM,OAvBN,YAuBM,CAtBY,QAAA,eAAA,WAAA,EAAhB,mBAWW,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,OAAA,OAAA,OAAA,KAVT,mBAA0D,QAAA,EAApD,OAAM,kCAAgC,EAAC,UAAM,GAAA,GACnD,mBAQI,KAAA;KAPF,OAAM;KACL,MAAM,QAAA;KACP,QAAO;wCACJ,QAAA,YAAW,GAAG,KACjB,EAAA,EAAA,YAEwB,MAAA,WAAA,EAAA;KADtB,OAAM;KACN,MAAK;+CAGX,mBASW,UAAA,EAAA,KAAA,GAAA,EAAA,CART,YAGc,MAAA,WAAA,EAAA;KAFZ,OAAM;KACN,MAAK;KACL,MAAK;kCACP,mBAGO,QAAA,EAHD,OAAM,iBAAe,EAAC,uEAG5B,GAAA,EAAA,EAAA,GAAA,EAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;;OAQV,YAoBU,iBAAA,MAAA;IAnBG,OAAK,cAAY,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAX,eAAW,GAAA,CAAA,EAAA,CAAA;2BAkBtB,CAjBN,mBAiBM,OAjBN,YAiBM,CAAA,OAAA,OAAA,OAAA,KAfJ,mBAMM,OAAA,MAAA,CALJ,mBAA0B,MAAA,MAAtB,oBAAiB,EACrB,mBAGI,KAAA,EAHD,OAAM,iBAAe,EAAC,oFAGzB,CAAA,EAAA,GAAA,GAGF,YAMe,MAAA,aAAA,EAAA;KALZ,UAAU,QAAA;KACX,MAAK;KACL,SAAQ;KACP,SAAO;;4BAEV,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAF6B,uBAE7B,GAAA,CAAA,EAAA,CAAA;;;;SAKN,YASc,MAAA,YAAA,EAAA;IARX,MAAM;IACN,OAAO,MAAA,YAAW;IAClB,OAAK,UAAY,QAAA;;2BAKiB,CAJnC,YAImC,kCAAA;KAHhC,cAAc,QAAA,SAAK;KACpB,gBAAe;KACd,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,MAAA,YAAW,CAAC,MAAI;KACvB,UAAQ"}
@@ -1,11 +0,0 @@
1
- type __VLS_Props = {
2
- colorMode: 'system' | 'light' | 'dark';
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
5
- "update:colorMode": (value: "light" | "system" | "dark") => any;
6
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
7
- "onUpdate:colorMode"?: ((value: "light" | "system" | "dark") => any) | undefined;
8
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
11
- //# sourceMappingURL=Appearance.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Appearance.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/settings/components/Appearance.vue"],"names":[],"mappings":"AA8EA,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;CACvC,CAAC;AAiOF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- import Appearance_vue_vue_type_script_setup_true_lang_default from "./Appearance.vue.script.js";
2
- //#region src/v2/features/settings/components/Appearance.vue
3
- var Appearance_default = Appearance_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
- export { Appearance_default as default };
6
-
7
- //# sourceMappingURL=Appearance.vue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Appearance.vue.js","names":[],"sources":["../../../../../src/v2/features/settings/components/Appearance.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { cva, cx, ScalarButton, ScalarIcon } from '@scalar/components'\n\ndefineProps<{\n colorMode: 'system' | 'light' | 'dark'\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:colorMode', value: 'system' | 'light' | 'dark'): void\n}>()\n\nconst buttonStyles = cva({\n base: 'w-full shadow-none text-c-1 justify-start pl-2 gap-2 border',\n variants: {\n active: {\n true: 'bg-primary text-c-1 hover:bg-inherit',\n false: 'bg-b-1 hover:bg-b-2',\n },\n },\n})\n</script>\n<template>\n <div class=\"flex flex-col gap-2\">\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'system' }))\"\n @click=\"emit('update:colorMode', 'system')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'system',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'system'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n System Preference (default)\n </ScalarButton>\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'light' }))\"\n @click=\"emit('update:colorMode', 'light')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'light',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'light'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Light Mode Always\n </ScalarButton>\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'dark' }))\"\n @click=\"emit('update:colorMode', 'dark')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'dark',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'dark'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Dark Mode Always\n </ScalarButton>\n </div>\n</template>\n"],"mappings":""}
@@ -1,63 +0,0 @@
1
- import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, unref, withCtx } from "vue";
2
- import { ScalarButton, ScalarIcon, cva, cx } from "@scalar/components";
3
- //#region src/v2/features/settings/components/Appearance.vue?vue&type=script&setup=true&lang.ts
4
- var _hoisted_1 = { class: "flex flex-col gap-2" };
5
- var Appearance_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
6
- __name: "Appearance",
7
- props: { colorMode: {} },
8
- emits: ["update:colorMode"],
9
- setup(__props, { emit: __emit }) {
10
- const emit = __emit;
11
- const buttonStyles = cva({
12
- base: "w-full shadow-none text-c-1 justify-start pl-2 gap-2 border",
13
- variants: { active: {
14
- true: "bg-primary text-c-1 hover:bg-inherit",
15
- false: "bg-b-1 hover:bg-b-2"
16
- } }
17
- });
18
- return (_ctx, _cache) => {
19
- return openBlock(), createElementBlock("div", _hoisted_1, [
20
- createVNode(unref(ScalarButton), {
21
- class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.colorMode === "system" }))),
22
- onClick: _cache[0] || (_cache[0] = ($event) => emit("update:colorMode", "system"))
23
- }, {
24
- default: withCtx(() => [createElementVNode("div", { class: normalizeClass(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", { "bg-c-accent text-b-1 border-transparent": __props.colorMode === "system" }]) }, [__props.colorMode === "system" ? (openBlock(), createBlock(unref(ScalarIcon), {
25
- key: 0,
26
- icon: "Checkmark",
27
- size: "xs",
28
- thickness: "3.5"
29
- })) : createCommentVNode("", true)], 2), _cache[3] || (_cache[3] = createTextVNode(" System Preference (default) ", -1))]),
30
- _: 1
31
- }, 8, ["class"]),
32
- createVNode(unref(ScalarButton), {
33
- class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.colorMode === "light" }))),
34
- onClick: _cache[1] || (_cache[1] = ($event) => emit("update:colorMode", "light"))
35
- }, {
36
- default: withCtx(() => [createElementVNode("div", { class: normalizeClass(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", { "bg-c-accent text-b-1 border-transparent": __props.colorMode === "light" }]) }, [__props.colorMode === "light" ? (openBlock(), createBlock(unref(ScalarIcon), {
37
- key: 0,
38
- icon: "Checkmark",
39
- size: "xs",
40
- thickness: "3.5"
41
- })) : createCommentVNode("", true)], 2), _cache[4] || (_cache[4] = createTextVNode(" Light Mode Always ", -1))]),
42
- _: 1
43
- }, 8, ["class"]),
44
- createVNode(unref(ScalarButton), {
45
- class: normalizeClass(unref(cx)(unref(buttonStyles)({ active: __props.colorMode === "dark" }))),
46
- onClick: _cache[2] || (_cache[2] = ($event) => emit("update:colorMode", "dark"))
47
- }, {
48
- default: withCtx(() => [createElementVNode("div", { class: normalizeClass(["flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1", { "bg-c-accent text-b-1 border-transparent": __props.colorMode === "dark" }]) }, [__props.colorMode === "dark" ? (openBlock(), createBlock(unref(ScalarIcon), {
49
- key: 0,
50
- icon: "Checkmark",
51
- size: "xs",
52
- thickness: "3.5"
53
- })) : createCommentVNode("", true)], 2), _cache[5] || (_cache[5] = createTextVNode(" Dark Mode Always ", -1))]),
54
- _: 1
55
- }, 8, ["class"])
56
- ]);
57
- };
58
- }
59
- });
60
- //#endregion
61
- export { Appearance_vue_vue_type_script_setup_true_lang_default as default };
62
-
63
- //# sourceMappingURL=Appearance.vue.script.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Appearance.vue.script.js","names":[],"sources":["../../../../../src/v2/features/settings/components/Appearance.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { cva, cx, ScalarButton, ScalarIcon } from '@scalar/components'\n\ndefineProps<{\n colorMode: 'system' | 'light' | 'dark'\n}>()\n\nconst emit = defineEmits<{\n (e: 'update:colorMode', value: 'system' | 'light' | 'dark'): void\n}>()\n\nconst buttonStyles = cva({\n base: 'w-full shadow-none text-c-1 justify-start pl-2 gap-2 border',\n variants: {\n active: {\n true: 'bg-primary text-c-1 hover:bg-inherit',\n false: 'bg-b-1 hover:bg-b-2',\n },\n },\n})\n</script>\n<template>\n <div class=\"flex flex-col gap-2\">\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'system' }))\"\n @click=\"emit('update:colorMode', 'system')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'system',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'system'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n System Preference (default)\n </ScalarButton>\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'light' }))\"\n @click=\"emit('update:colorMode', 'light')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'light',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'light'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Light Mode Always\n </ScalarButton>\n <ScalarButton\n :class=\"cx(buttonStyles({ active: colorMode === 'dark' }))\"\n @click=\"emit('update:colorMode', 'dark')\">\n <div\n class=\"flex h-5 w-5 items-center justify-center rounded-full border-[1.5px] p-1\"\n :class=\"{\n 'bg-c-accent text-b-1 border-transparent': colorMode === 'dark',\n }\">\n <ScalarIcon\n v-if=\"colorMode === 'dark'\"\n icon=\"Checkmark\"\n size=\"xs\"\n thickness=\"3.5\" />\n </div>\n Dark Mode Always\n </ScalarButton>\n </div>\n</template>\n"],"mappings":";;;;;;;;;EAOA,MAAM,OAAO;EAIb,MAAM,eAAe,IAAI;GACvB,MAAM;GACN,UAAU,EACR,QAAQ;IACN,MAAM;IACN,OAAO;IACR,EACF;GACF,CAAA;;uBAGC,mBAiDM,OAjDN,YAiDM;IAhDJ,YAee,MAAA,aAAA,EAAA;KAdZ,OAAK,eAAE,MAAA,GAAE,CAAC,MAAA,aAAY,CAAA,EAAA,QAAW,QAAA,cAAS,UAAA,CAAA,CAAA,CAAA;KAC1C,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,oBAAA,SAAA;;4BAWN,CAVN,mBAUM,OAAA,EATJ,OAAK,eAAA,CAAC,4EAA0E,EAAA,2CACjB,QAAA,cAAS,UAAA,CAAA,CAAA,EAAA,EAAA,CAIhE,QAAA,cAAS,YAAA,WAAA,EADjB,YAIoB,MAAA,WAAA,EAAA;;MAFlB,MAAK;MACL,MAAK;MACL,WAAU;wFACR,iCAER,GAAA,EAAA,CAAA;;;IACA,YAee,MAAA,aAAA,EAAA;KAdZ,OAAK,eAAE,MAAA,GAAE,CAAC,MAAA,aAAY,CAAA,EAAA,QAAW,QAAA,cAAS,SAAA,CAAA,CAAA,CAAA;KAC1C,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,oBAAA,QAAA;;4BAWN,CAVN,mBAUM,OAAA,EATJ,OAAK,eAAA,CAAC,4EAA0E,EAAA,2CACjB,QAAA,cAAS,SAAA,CAAA,CAAA,EAAA,EAAA,CAIhE,QAAA,cAAS,WAAA,WAAA,EADjB,YAIoB,MAAA,WAAA,EAAA;;MAFlB,MAAK;MACL,MAAK;MACL,WAAU;wFACR,uBAER,GAAA,EAAA,CAAA;;;IACA,YAee,MAAA,aAAA,EAAA;KAdZ,OAAK,eAAE,MAAA,GAAE,CAAC,MAAA,aAAY,CAAA,EAAA,QAAW,QAAA,cAAS,QAAA,CAAA,CAAA,CAAA;KAC1C,SAAK,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,oBAAA,OAAA;;4BAWN,CAVN,mBAUM,OAAA,EATJ,OAAK,eAAA,CAAC,4EAA0E,EAAA,2CACjB,QAAA,cAAS,QAAA,CAAA,CAAA,EAAA,EAAA,CAIhE,QAAA,cAAS,UAAA,WAAA,EADjB,YAIoB,MAAA,WAAA,EAAA;;MAFlB,MAAK;MACL,MAAK;MACL,WAAU;wFACR,sBAER,GAAA,EAAA,CAAA"}
@@ -1,16 +0,0 @@
1
- type __VLS_Slots = {
2
- title?: () => string;
3
- description?: () => string;
4
- actions?: () => unknown;
5
- default: () => unknown;
6
- };
7
- declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
- declare const _default: typeof __VLS_export;
10
- export default _default;
11
- type __VLS_WithSlots<T, S> = T & {
12
- new (): {
13
- $slots: S;
14
- };
15
- };
16
- //# sourceMappingURL=Section.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Section.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/settings/components/Section.vue"],"names":[],"mappings":"AAyCA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,MAAM,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,OAAO,CAAA;IACvB,OAAO,EAAE,MAAM,OAAO,CAAA;CACvB,CAAC;AAiEF,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,7 +0,0 @@
1
- import Section_vue_vue_type_script_setup_true_lang_default from "./Section.vue.script.js";
2
- //#region src/v2/features/settings/components/Section.vue
3
- var Section_default = Section_vue_vue_type_script_setup_true_lang_default;
4
- //#endregion
5
- export { Section_default as default };
6
-
7
- //# sourceMappingURL=Section.vue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Section.vue.js","names":[],"sources":["../../../../../src/v2/features/settings/components/Section.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst slots = defineSlots<{\n title?: () => string\n description?: () => string\n actions?: () => unknown\n default: () => unknown\n}>()\n</script>\n\n<template>\n <div class=\"flex flex-col gap-2\">\n <div\n v-if=\"slots.title || slots.description\"\n class=\"flex items-start justify-between gap-2\">\n <div class=\"flex flex-col gap-2\">\n <div\n v-if=\"slots.title\"\n class=\"flex h-8 items-center\">\n <h3 class=\"font-bold\">\n <slot name=\"title\" />\n </h3>\n </div>\n\n <p\n v-if=\"slots.description\"\n class=\"text-c-2 mb-4 text-sm leading-tight\">\n <slot name=\"description\" />\n </p>\n </div>\n\n <slot\n v-if=\"slots.actions\"\n name=\"actions\" />\n </div>\n\n <slot />\n </div>\n</template>\n"],"mappings":""}
@@ -1,30 +0,0 @@
1
- import { createCommentVNode, createElementBlock, createElementVNode, defineComponent, openBlock, renderSlot, useSlots } from "vue";
2
- //#region src/v2/features/settings/components/Section.vue?vue&type=script&setup=true&lang.ts
3
- var _hoisted_1 = { class: "flex flex-col gap-2" };
4
- var _hoisted_2 = {
5
- key: 0,
6
- class: "flex items-start justify-between gap-2"
7
- };
8
- var _hoisted_3 = { class: "flex flex-col gap-2" };
9
- var _hoisted_4 = {
10
- key: 0,
11
- class: "flex h-8 items-center"
12
- };
13
- var _hoisted_5 = { class: "font-bold" };
14
- var _hoisted_6 = {
15
- key: 1,
16
- class: "text-c-2 mb-4 text-sm leading-tight"
17
- };
18
- var Section_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
19
- __name: "Section",
20
- setup(__props) {
21
- const slots = useSlots();
22
- return (_ctx, _cache) => {
23
- return openBlock(), createElementBlock("div", _hoisted_1, [slots.title || slots.description ? (openBlock(), createElementBlock("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [slots.title ? (openBlock(), createElementBlock("div", _hoisted_4, [createElementVNode("h3", _hoisted_5, [renderSlot(_ctx.$slots, "title")])])) : createCommentVNode("", true), slots.description ? (openBlock(), createElementBlock("p", _hoisted_6, [renderSlot(_ctx.$slots, "description")])) : createCommentVNode("", true)]), slots.actions ? renderSlot(_ctx.$slots, "actions", { key: 0 }) : createCommentVNode("", true)])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")]);
24
- };
25
- }
26
- });
27
- //#endregion
28
- export { Section_vue_vue_type_script_setup_true_lang_default as default };
29
-
30
- //# sourceMappingURL=Section.vue.script.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Section.vue.script.js","names":[],"sources":["../../../../../src/v2/features/settings/components/Section.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst slots = defineSlots<{\n title?: () => string\n description?: () => string\n actions?: () => unknown\n default: () => unknown\n}>()\n</script>\n\n<template>\n <div class=\"flex flex-col gap-2\">\n <div\n v-if=\"slots.title || slots.description\"\n class=\"flex items-start justify-between gap-2\">\n <div class=\"flex flex-col gap-2\">\n <div\n v-if=\"slots.title\"\n class=\"flex h-8 items-center\">\n <h3 class=\"font-bold\">\n <slot name=\"title\" />\n </h3>\n </div>\n\n <p\n v-if=\"slots.description\"\n class=\"text-c-2 mb-4 text-sm leading-tight\">\n <slot name=\"description\" />\n </p>\n </div>\n\n <slot\n v-if=\"slots.actions\"\n name=\"actions\" />\n </div>\n\n <slot />\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;EACA,MAAM,QAAQ,UAAA;;uBASZ,mBA0BM,OA1BN,YA0BM,CAxBI,MAAM,SAAS,MAAM,eAAA,WAAA,EAD7B,mBAsBM,OAtBN,YAsBM,CAnBJ,mBAcM,OAdN,YAcM,CAZI,MAAM,SAAA,WAAA,EADd,mBAMM,OANN,YAMM,CAHJ,mBAEK,MAFL,YAEK,CADH,WAAqB,KAAA,QAAA,QAAA,CAAA,CAAA,CAAA,CAAA,IAAA,mBAAA,IAAA,KAAA,EAKjB,MAAM,eAAA,WAAA,EADd,mBAII,KAJJ,YAII,CADF,WAA2B,KAAA,QAAA,cAAA,CAAA,CAAA,IAAA,mBAAA,IAAA,KAAA,CAAA,CAAA,EAKvB,MAAM,UADd,WAEmB,KAAA,QAAA,WAAA,EAAA,KAAA,GAAA,CAAA,GAAA,mBAAA,IAAA,KAAA,CAAA,CAAA,IAAA,mBAAA,IAAA,KAAA,EAGrB,WAAQ,KAAA,QAAA,UAAA,CAAA,CAAA"}