@scalar/api-client 2.23.4 → 2.24.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 (89) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  3. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  4. package/dist/style.css +1 -1
  5. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +8 -0
  6. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  7. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +33 -29
  8. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +6 -0
  9. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  10. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
  11. package/dist/v2/blocks/operation-block/components/Header.vue2.js +46 -29
  12. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  13. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts +15 -0
  14. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.d.ts.map +1 -0
  15. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue.js +125 -0
  16. package/dist/v2/blocks/scalar-address-bar-block/components/EnvironmentSelector.vue2.js +4 -0
  17. package/dist/v2/components/sidebar/SidebarMenu.vue.js +6 -6
  18. package/dist/v2/features/app/App.vue.d.ts +5 -0
  19. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  20. package/dist/v2/features/app/App.vue.js +89 -108
  21. package/dist/v2/features/app/app-state.d.ts +5 -7
  22. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  23. package/dist/v2/features/app/app-state.js +210 -205
  24. package/dist/v2/features/app/hooks/use-document-watcher.js +8 -8
  25. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
  26. package/dist/v2/features/collection/components/Environment.vue.js +12 -11
  27. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
  28. package/dist/v2/features/collection/components/Settings.vue.js +17 -25
  29. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +1 -1
  30. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +1 -1
  31. package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +115 -118
  32. package/dist/v2/features/{import-listener → command-palette}/helpers/generate-unique-slug.d.ts.map +1 -1
  33. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts +14 -4
  34. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts.map +1 -1
  35. package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js +5 -6
  36. package/dist/v2/features/{import-listener → command-palette}/helpers/import-document-to-workspace.d.ts.map +1 -1
  37. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts +16 -0
  38. package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts.map +1 -0
  39. package/dist/v2/features/command-palette/helpers/load-document-from-source.js +34 -0
  40. package/dist/v2/features/command-palette/index.d.ts +4 -0
  41. package/dist/v2/features/command-palette/index.d.ts.map +1 -0
  42. package/dist/v2/features/command-palette/index.js +8 -0
  43. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +4 -0
  44. package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -1
  45. package/dist/v2/features/environments/EnvironmentsList.vue.js +29 -27
  46. package/dist/v2/features/environments/components/Environment.vue.d.ts +1 -0
  47. package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -1
  48. package/dist/v2/features/environments/components/Environment.vue.js +37 -24
  49. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  50. package/dist/v2/features/modal/Modal.vue.js +2 -2
  51. package/dist/v2/features/modal/Modal.vue2.js +39 -38
  52. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  53. package/dist/v2/features/operation/Operation.vue.js +35 -26
  54. package/dist/v2/workspace-events.d.ts.map +1 -1
  55. package/dist/v2/workspace-events.js +7 -0
  56. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  57. package/package.json +15 -15
  58. package/dist/v2/features/import-listener/ImportListener.vue.d.ts +0 -52
  59. package/dist/v2/features/import-listener/ImportListener.vue.d.ts.map +0 -1
  60. package/dist/v2/features/import-listener/ImportListener.vue.js +0 -91
  61. package/dist/v2/features/import-listener/ImportListener.vue2.js +0 -4
  62. package/dist/v2/features/import-listener/components/DropEventListener.vue.d.ts +0 -7
  63. package/dist/v2/features/import-listener/components/DropEventListener.vue.d.ts.map +0 -1
  64. package/dist/v2/features/import-listener/components/DropEventListener.vue.js +0 -81
  65. package/dist/v2/features/import-listener/components/DropEventListener.vue2.js +0 -4
  66. package/dist/v2/features/import-listener/components/ImportModal.vue.d.ts +0 -40
  67. package/dist/v2/features/import-listener/components/ImportModal.vue.d.ts.map +0 -1
  68. package/dist/v2/features/import-listener/components/ImportModal.vue.js +0 -170
  69. package/dist/v2/features/import-listener/components/ImportModal.vue3.js +0 -5
  70. package/dist/v2/features/import-listener/components/WorkspaceSelector.vue.d.ts +0 -29
  71. package/dist/v2/features/import-listener/components/WorkspaceSelector.vue.d.ts.map +0 -1
  72. package/dist/v2/features/import-listener/components/WorkspaceSelector.vue.js +0 -83
  73. package/dist/v2/features/import-listener/components/WorkspaceSelector.vue2.js +0 -4
  74. package/dist/v2/features/import-listener/helpers/get-url-query-parameter.d.ts +0 -8
  75. package/dist/v2/features/import-listener/helpers/get-url-query-parameter.d.ts.map +0 -1
  76. package/dist/v2/features/import-listener/helpers/get-url-query-parameter.js +0 -4
  77. package/dist/v2/features/import-listener/helpers/load-document-from-source.d.ts +0 -15
  78. package/dist/v2/features/import-listener/helpers/load-document-from-source.d.ts.map +0 -1
  79. package/dist/v2/features/import-listener/helpers/load-document-from-source.js +0 -28
  80. package/dist/v2/features/import-listener/helpers/wait-for-condition.d.ts +0 -15
  81. package/dist/v2/features/import-listener/helpers/wait-for-condition.d.ts.map +0 -1
  82. package/dist/v2/features/import-listener/helpers/wait-for-condition.js +0 -16
  83. package/dist/v2/features/import-listener/index.d.ts +0 -2
  84. package/dist/v2/features/import-listener/index.d.ts.map +0 -1
  85. package/dist/v2/features/import-listener/index.js +0 -4
  86. /package/dist/v2/features/{import-listener → command-palette}/helpers/generate-unique-slug.d.ts +0 -0
  87. /package/dist/v2/features/{import-listener → command-palette}/helpers/generate-unique-slug.js +0 -0
  88. /package/dist/v2/features/{import-listener → command-palette}/helpers/import-document-to-workspace.d.ts +0 -0
  89. /package/dist/v2/features/{import-listener → command-palette}/helpers/import-document-to-workspace.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.24.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8045](https://github.com/scalar/scalar/pull/8045): feat: manage active environments
8
+
9
+ ### Patch Changes
10
+
11
+ - [#7989](https://github.com/scalar/scalar/pull/7989): fix: prevent API client modal from disappearing on reopen in Safari
12
+ - [#8049](https://github.com/scalar/scalar/pull/8049): fix: gracefully handle import errors when importing from command palette
13
+ - [#8061](https://github.com/scalar/scalar/pull/8061): fix: correctly display watch mode toggle state
14
+ - [#8062](https://github.com/scalar/scalar/pull/8062): fix: correctly handle redirect after the document deletion
15
+ - [#8070](https://github.com/scalar/scalar/pull/8070): chore: remove the import modal and change the workspace picker to support groups
16
+
17
+ #### Updated Dependencies
18
+
19
+ - **@scalar/json-magic@0.10.0**
20
+ - [#8052](https://github.com/scalar/scalar/pull/8052): feat: allow custom LoaderPlugin plugins in dereference
21
+
22
+ - **@scalar/workspace-store@0.29.0**
23
+ - [#8061](https://github.com/scalar/scalar/pull/8061): fix: do not throw when try to update a non existent document metadata
24
+ - [#8045](https://github.com/scalar/scalar/pull/8045): feat: manage active environments
25
+
26
+ - **@scalar/oas-utils@0.6.36**
27
+ - [#8037](https://github.com/scalar/scalar/pull/8037): Improve error message when running oas-utils tests while test-servers are not running
28
+
29
+ - **@scalar/components@0.17.6**
30
+ - [#8070](https://github.com/scalar/scalar/pull/8070): chore: remove the import modal and change the workspace picker to support groups
31
+
32
+ - **@scalar/openapi-parser@0.24.8**
33
+
34
+ - **@scalar/sidebar@0.7.29**
35
+
36
+ - **@scalar/use-codemirror@0.13.33**
37
+
3
38
  ## 2.23.4
4
39
 
5
40
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/Modal/ApiClientModal.vue"],"names":[],"mappings":";AA+ZA,wBAKG"}
1
+ {"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/Modal/ApiClientModal.vue"],"names":[],"mappings":";AA4WA,wBAKG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ApiClientModal.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-45e9730e"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9286c4f4"]]);
5
5
  export {
6
- a as default
6
+ f as default
7
7
  };