@scalar/api-reference 1.44.26 → 1.46.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 (117) hide show
  1. package/CHANGELOG.md +100 -0
  2. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -1
  3. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +8 -2
  4. package/dist/browser/standalone.js +14104 -14015
  5. package/dist/browser/webpack-stats.json +1 -1
  6. package/dist/components/AgentScalar/AgentScalarChatInterface.vue.d.ts.map +1 -1
  7. package/dist/components/AgentScalar/AgentScalarChatInterface.vue2.js +2 -1
  8. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  9. package/dist/components/ApiReference.vue.js +1 -1
  10. package/dist/components/ApiReference.vue2.js +2 -2
  11. package/dist/components/Content/Content.vue.js +1 -1
  12. package/dist/components/Content/Schema/SchemaPropertyDefault.vue.d.ts +7 -0
  13. package/dist/components/Content/Schema/SchemaPropertyDefault.vue.d.ts.map +1 -0
  14. package/dist/components/Content/Schema/SchemaPropertyDefault.vue.js +7 -0
  15. package/dist/components/Content/Schema/SchemaPropertyDefault.vue2.js +45 -0
  16. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  18. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +8 -35
  19. package/dist/components/Content/Schema/helpers/format-value.d.ts +5 -0
  20. package/dist/components/Content/Schema/helpers/format-value.d.ts.map +1 -0
  21. package/dist/components/Content/Schema/helpers/format-value.js +35 -0
  22. package/dist/features/Operation/helpers/filter-selected-security.d.ts.map +1 -1
  23. package/dist/features/Operation/helpers/filter-selected-security.js +6 -2
  24. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  25. package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
  26. package/dist/features/Operation/layouts/ModernLayout.vue2.js +12 -9
  27. package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts.map +1 -1
  28. package/dist/features/ask-agent-button/AskAgentButton.vue.js +1 -1
  29. package/dist/features/{toolbar/ApiReferenceToolbar.vue.d.ts → developer-tools/DeveloperTools.vue.d.ts} +1 -1
  30. package/dist/features/developer-tools/DeveloperTools.vue.d.ts.map +1 -0
  31. package/dist/features/{toolbar/ApiReferenceToolbar.vue.js → developer-tools/DeveloperTools.vue.js} +11 -11
  32. package/dist/features/developer-tools/DeveloperTools.vue2.js +4 -0
  33. package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
  34. package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarBlurb.vue.js +1 -1
  35. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
  36. package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +2 -0
  37. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
  38. package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayoutOptions.vue.js +35 -17
  39. package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
  40. package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
  41. package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
  42. package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarRegisterButton.vue.js +2 -2
  43. package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
  44. package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareRegister.vue.js +12 -8
  45. package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
  46. package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.js +73 -0
  47. package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
  48. package/dist/features/{toolbar/ApiReferenceToolbarSdks.vue.d.ts → developer-tools/components/DeployApiReference.vue.d.ts} +1 -1
  49. package/dist/features/developer-tools/components/DeployApiReference.vue.d.ts.map +1 -0
  50. package/dist/features/developer-tools/components/DeployApiReference.vue.js +35 -0
  51. package/dist/features/developer-tools/components/DeployApiReference.vue2.js +4 -0
  52. package/dist/features/{toolbar/ApiReferenceToolbarConfig.vue.d.ts → developer-tools/components/ModifyConfiguration.vue.d.ts} +1 -1
  53. package/dist/features/developer-tools/components/ModifyConfiguration.vue.d.ts.map +1 -0
  54. package/dist/features/{toolbar/ApiReferenceToolbarConfig.vue.js → developer-tools/components/ModifyConfiguration.vue.js} +1 -1
  55. package/dist/features/developer-tools/components/ModifyConfiguration.vue2.js +4 -0
  56. package/dist/features/{toolbar/ApiReferenceToolbarShare.vue.d.ts → developer-tools/components/ShareApiReference.vue.d.ts} +1 -1
  57. package/dist/features/developer-tools/components/ShareApiReference.vue.d.ts.map +1 -0
  58. package/dist/features/{toolbar/ApiReferenceToolbarShare.vue.js → developer-tools/components/ShareApiReference.vue.js} +4 -13
  59. package/dist/features/developer-tools/components/ShareApiReference.vue2.js +4 -0
  60. package/dist/features/developer-tools/index.d.ts +2 -0
  61. package/dist/features/developer-tools/index.d.ts.map +1 -0
  62. package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
  63. package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
  64. package/dist/features/example-responses/ExampleResponse.vue2.js +17 -15
  65. package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
  66. package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
  67. package/dist/features/example-responses/ExampleResponses.vue2.js +14 -7
  68. package/dist/features/example-responses/ExampleSchema.vue.d.ts +8 -0
  69. package/dist/features/example-responses/ExampleSchema.vue.d.ts.map +1 -0
  70. package/dist/features/example-responses/ExampleSchema.vue.js +34 -0
  71. package/dist/features/example-responses/ExampleSchema.vue2.js +4 -0
  72. package/dist/features/index.d.ts +0 -1
  73. package/dist/features/index.d.ts.map +1 -1
  74. package/dist/features/index.js +2 -4
  75. package/dist/helpers/lazy-bus.d.ts.map +1 -1
  76. package/dist/helpers/lazy-bus.js +2 -1
  77. package/dist/style.css +226 -153
  78. package/package.json +13 -13
  79. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +0 -1
  80. package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +0 -4
  81. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +0 -1
  82. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +0 -1
  83. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +0 -4
  84. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +0 -1
  85. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +0 -1
  86. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +0 -1
  87. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +0 -1
  88. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +0 -1
  89. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +0 -1
  90. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +0 -89
  91. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +0 -4
  92. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +0 -1
  93. package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +0 -4
  94. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +0 -1
  95. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +0 -1
  96. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +0 -90
  97. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +0 -1
  98. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarBlurb.vue.d.ts +0 -0
  99. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayout.vue.d.ts +0 -0
  100. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayout.vue.js +0 -0
  101. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayout.vue2.js +0 -0
  102. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayoutOptions.vue2.js +0 -0
  103. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigTheme.vue.d.ts +0 -0
  104. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigTheme.vue.js +0 -0
  105. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigTheme.vue2.js +0 -0
  106. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarPopover.vue.d.ts +0 -0
  107. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarPopover.vue.js +0 -0
  108. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarPopover.vue2.js +0 -0
  109. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarRegisterButton.vue.d.ts +0 -0
  110. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarRegisterButton.vue2.js +0 -0
  111. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareRegister.vue.d.ts +0 -0
  112. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareRegister.vue2.js +0 -0
  113. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareTemporary.vue.d.ts +0 -0
  114. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareTemporary.vue2.js +0 -0
  115. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarTitle.vue.d.ts +0 -0
  116. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarTitle.vue.js +0 -0
  117. /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarTitle.vue2.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,105 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.46.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
8
+
9
+ ### Patch Changes
10
+
11
+ - [#8283](https://github.com/scalar/scalar/pull/8283): fix: scrollToLazy can not find id when the browser is busy
12
+
13
+ #### Updated Dependencies
14
+
15
+ - **@scalar/agent-chat@0.7.0**
16
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
17
+
18
+ - **@scalar/api-client@2.31.0**
19
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
20
+
21
+ - **@scalar/oas-utils@0.8.0**
22
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
23
+
24
+ - **@scalar/components@0.19.12**
25
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
26
+
27
+ - **@scalar/themes@0.14.2**
28
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
29
+
30
+ - **@scalar/workspace-store@0.35.1**
31
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
32
+
33
+ - **@scalar/sidebar@0.7.43**
34
+
35
+ - **@scalar/code-highlight@0.2.4**
36
+
37
+ ## 1.45.0
38
+
39
+ ### Minor Changes
40
+
41
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
42
+
43
+ ### Patch Changes
44
+
45
+ - [#8255](https://github.com/scalar/scalar/pull/8255): fix: correctly handle circular references when deep resolving references
46
+ - [#8279](https://github.com/scalar/scalar/pull/8279): fix(api-references): css collision on ask ai input
47
+
48
+ #### Updated Dependencies
49
+
50
+ - **@scalar/agent-chat@0.6.0**
51
+ - [#8203](https://github.com/scalar/scalar/pull/8203): feat: tweak the copy
52
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
53
+
54
+ - **@scalar/components@0.19.11**
55
+ - [#8276](https://github.com/scalar/scalar/pull/8276): feat(components): standardize form inputs to have a height of 40px
56
+
57
+ - **@scalar/themes@0.14.1**
58
+ - [#8276](https://github.com/scalar/scalar/pull/8276): feat(components): standardize form inputs to have a height of 40px
59
+
60
+ - **@scalar/api-client@2.30.0**
61
+ - [#8255](https://github.com/scalar/scalar/pull/8255): fix: correctly handle circular references when deep resolving references
62
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
63
+
64
+ - **@scalar/workspace-store@0.35.0**
65
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
66
+
67
+ - **@scalar/oas-utils@0.7.0**
68
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
69
+
70
+ - **@scalar/sidebar@0.7.42**
71
+
72
+ - **@scalar/code-highlight@0.2.4**
73
+
74
+ ## 1.44.27
75
+
76
+ ### Patch Changes
77
+
78
+ - [#8274](https://github.com/scalar/scalar/pull/8274): feat(agent): add config to hide search api
79
+ - [#8260](https://github.com/scalar/scalar/pull/8260): feat: update developer tools
80
+
81
+ #### Updated Dependencies
82
+
83
+ - **@scalar/agent-chat@0.5.18**
84
+ - [#8274](https://github.com/scalar/scalar/pull/8274): feat(agent): add config to hide search api
85
+
86
+ - **@scalar/types@0.6.8**
87
+ - [#8274](https://github.com/scalar/scalar/pull/8274): feat(agent): add config to hide search api
88
+
89
+ - **@scalar/api-client@2.29.4**
90
+
91
+ - **@scalar/oas-utils@0.6.48**
92
+
93
+ - **@scalar/openapi-parser@0.24.15**
94
+
95
+ - **@scalar/snippetz@0.6.17**
96
+
97
+ - **@scalar/workspace-store@0.34.4**
98
+
99
+ - **@scalar/components@0.19.10**
100
+
101
+ - **@scalar/sidebar@0.7.41**
102
+
3
103
  ## 1.44.26
4
104
 
5
105
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-server-selector-block/components/ServerSelector.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAMhG,KAAK,aAAa,GAAG;IACnB,+CAA+C;IAC/C,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,2BAA2B;IAC3B,cAAc,EAAE,YAAY,GAAG,IAAI,CAAA;IACnC,wBAAwB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAA;CACxB,CAAA;AAED;;;;;;;;GAQG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY,sSA4Id,CAAC"}
1
+ {"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-server-selector-block/components/ServerSelector.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAMhG,KAAK,aAAa,GAAG;IACnB,+CAA+C;IAC/C,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,2BAA2B;IAC3B,cAAc,EAAE,YAAY,GAAG,IAAI,CAAA;IACnC,wBAAwB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAA;CACxB,CAAA;AAED;;;;;;;;GAQG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY,sSAkJd,CAAC"}
@@ -16,7 +16,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  const id = useId();
17
17
  const updateServer = (newServer) => {
18
18
  __props.eventBus.emit("server:update:selected", {
19
- url: __props.selectedServer?.url === newServer ? "" : newServer
19
+ url: __props.selectedServer?.url === newServer ? "" : newServer,
20
+ meta: {
21
+ type: "document"
22
+ }
20
23
  });
21
24
  };
22
25
  const updateServerVariable = (key, value) => {
@@ -27,7 +30,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
30
  __props.eventBus.emit("server:update:variables", {
28
31
  index,
29
32
  key,
30
- value
33
+ value,
34
+ meta: {
35
+ type: "document"
36
+ }
31
37
  });
32
38
  };
33
39
  return (_ctx, _cache) => {