@scalar/api-reference 1.39.3 → 1.40.1

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 (83) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/dist/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  3. package/dist/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +10 -8
  4. package/dist/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
  5. package/dist/blocks/scalar-client-selector-block/index.d.ts.map +1 -1
  6. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts +1 -1
  7. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
  8. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
  9. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.d.ts +2 -1
  10. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -1
  11. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.d.ts +1 -1
  12. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.d.ts.map +1 -1
  13. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
  14. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +1 -1
  15. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
  16. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
  17. package/dist/blocks/scalar-info-block/index.d.ts.map +1 -1
  18. package/dist/blocks/scalar-server-selector-block/index.d.ts.map +1 -1
  19. package/dist/browser/standalone.js +18855 -18540
  20. package/dist/browser/webpack-stats.json +1 -1
  21. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  22. package/dist/components/ApiReference.vue.js +1 -1
  23. package/dist/components/ApiReference.vue2.js +15 -3
  24. package/dist/components/Content/Content.vue.d.ts +2 -1
  25. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  26. package/dist/components/Content/Models/Model.vue.d.ts +1 -1
  27. package/dist/components/Content/Models/Model.vue.d.ts.map +1 -1
  28. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
  29. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +1 -1
  30. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue2.js +8 -4
  31. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  32. package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
  33. package/dist/components/Content/Schema/SchemaHeading.vue2.js +7 -5
  34. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  36. package/dist/components/Content/Schema/SchemaProperty.vue2.js +17 -7
  37. package/dist/components/Content/Schema/helpers/get-ref-name.d.ts +1 -2
  38. package/dist/components/Content/Schema/helpers/get-ref-name.d.ts.map +1 -1
  39. package/dist/components/Content/Schema/helpers/get-schema-type.d.ts +1 -2
  40. package/dist/components/Content/Schema/helpers/get-schema-type.d.ts.map +1 -1
  41. package/dist/components/Content/Schema/helpers/schema-name.d.ts +1 -2
  42. package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
  43. package/dist/components/Content/Schema/helpers/sort-property-names.d.ts +1 -1
  44. package/dist/components/Content/Schema/helpers/sort-property-names.d.ts.map +1 -1
  45. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  46. package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
  47. package/dist/features/Operation/components/ParameterListItem.vue2.js +8 -4
  48. package/dist/features/specification-extension/index.d.ts +1 -1
  49. package/dist/features/specification-extension/index.d.ts.map +1 -1
  50. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts +1 -1
  51. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -1
  52. package/dist/features/toolbar/ApiReferenceToolbar.vue.js +4 -4
  53. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +1 -1
  54. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -1
  55. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +1 -1
  56. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -1
  57. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -1
  58. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +29 -8
  59. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +9 -9
  60. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +9 -9
  61. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +1 -1
  62. package/dist/features/x-badges/XBadges.vue.d.ts +1 -1
  63. package/dist/features/x-badges/XBadges.vue.d.ts.map +1 -1
  64. package/dist/helpers/color-mode.d.ts +8 -0
  65. package/dist/helpers/color-mode.d.ts.map +1 -0
  66. package/dist/helpers/color-mode.js +9 -0
  67. package/dist/helpers/index.d.ts.map +1 -1
  68. package/dist/helpers/map-config-to-client-store.d.ts +4 -4
  69. package/dist/helpers/map-config-to-client-store.d.ts.map +1 -1
  70. package/dist/helpers/map-config-to-workspace-store.d.ts +1 -1
  71. package/dist/helpers/map-config-to-workspace-store.d.ts.map +1 -1
  72. package/dist/helpers/map-config-to-workspace-store.js +2 -2
  73. package/dist/helpers/map-configuration.d.ts +1 -1
  74. package/dist/helpers/map-configuration.d.ts.map +1 -1
  75. package/dist/helpers/normalize-configurations.d.ts +1 -1
  76. package/dist/helpers/normalize-configurations.d.ts.map +1 -1
  77. package/dist/helpers/normalize-configurations.js +1 -1
  78. package/dist/hooks/use-workspace-store-events.js +1 -1
  79. package/dist/index.d.ts +2 -1
  80. package/dist/index.d.ts.map +1 -1
  81. package/dist/standalone/lib/html-api.d.ts.map +1 -1
  82. package/dist/style.css +1474 -1263
  83. package/package.json +24 -24
package/CHANGELOG.md CHANGED
@@ -1,5 +1,71 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.40.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#7465](https://github.com/scalar/scalar/pull/7465) [`9342adc`](https://github.com/scalar/scalar/commit/9342adcd76e26a8e5eff75c1a2abee2c207b1487) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix: ensure `@scalar/workspace-store` consumers rely only on public exports
8
+
9
+ - [#7460](https://github.com/scalar/scalar/pull/7460) [`62b5210`](https://github.com/scalar/scalar/commit/62b521092bafeb8e83e79222e13378c4a19defc8) Thanks [@hwkr](https://github.com/hwkr)! - feat(components): update and polish ScalarLoading
10
+
11
+ - [#7459](https://github.com/scalar/scalar/pull/7459) [`425d8e1`](https://github.com/scalar/scalar/commit/425d8e1aaac26a6ec9a781431e1076ee4db3d027) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix: `onDocumentSelect` is not firing
12
+
13
+ - [#7414](https://github.com/scalar/scalar/pull/7414) [`294f9fc`](https://github.com/scalar/scalar/commit/294f9fc6cfd43cdab110deb1c851883509bc2b84) Thanks [@hanspagel](https://github.com/hanspagel)! - feat: show tags without operations
14
+
15
+ - Updated dependencies [[`5aa0380`](https://github.com/scalar/scalar/commit/5aa0380adfcd173e58659fb5dd57df363d985583), [`61c980c`](https://github.com/scalar/scalar/commit/61c980cebef219685a05f3a4cb1e379984922cd4), [`781f264`](https://github.com/scalar/scalar/commit/781f2648bc758a251435c3a1e2b126a37f20e44f), [`1bc2b45`](https://github.com/scalar/scalar/commit/1bc2b45b6eabd5c5045e77d67f59d202ab04d3fb), [`9342adc`](https://github.com/scalar/scalar/commit/9342adcd76e26a8e5eff75c1a2abee2c207b1487), [`fa361d2`](https://github.com/scalar/scalar/commit/fa361d2799e358d582fbb224a7b93d5b6e832c0e), [`62b5210`](https://github.com/scalar/scalar/commit/62b521092bafeb8e83e79222e13378c4a19defc8), [`e04879c`](https://github.com/scalar/scalar/commit/e04879c65602dfb65393876754f5344751b8953d), [`a164d76`](https://github.com/scalar/scalar/commit/a164d76f21437b3a35210d62a996b6c9d483e5a4), [`dd8e9dc`](https://github.com/scalar/scalar/commit/dd8e9dc118d3ae98180e2a93bd6ba11e982abbf8), [`ea13cd2`](https://github.com/scalar/scalar/commit/ea13cd2a44ff1ba7f19abcfcad1e51c9e7a0b75d), [`bfd814a`](https://github.com/scalar/scalar/commit/bfd814a4219660face190041cc4845182b56ab03), [`ea13cd2`](https://github.com/scalar/scalar/commit/ea13cd2a44ff1ba7f19abcfcad1e51c9e7a0b75d), [`781f264`](https://github.com/scalar/scalar/commit/781f2648bc758a251435c3a1e2b126a37f20e44f), [`1eafcbe`](https://github.com/scalar/scalar/commit/1eafcbeeaad3e611b9c8f365ce2961772b8e9494), [`35af6bf`](https://github.com/scalar/scalar/commit/35af6bfce4bc4ae3d0fc5783ea36e0165e964361), [`86f028d`](https://github.com/scalar/scalar/commit/86f028deb0b456f923edd261f5f4b0fa9b616b7d), [`294f9fc`](https://github.com/scalar/scalar/commit/294f9fc6cfd43cdab110deb1c851883509bc2b84), [`af54a80`](https://github.com/scalar/scalar/commit/af54a80349269a4269a68f6a372f837177a3537c)]:
16
+ - @scalar/components@0.16.5
17
+ - @scalar/sidebar@0.5.0
18
+ - @scalar/workspace-store@0.22.0
19
+ - @scalar/api-client@2.13.0
20
+ - @scalar/code-highlight@0.2.1
21
+ - @scalar/snippetz@0.5.4
22
+ - @scalar/json-magic@0.8.3
23
+ - @scalar/openapi-types@0.5.2
24
+ - @scalar/use-toasts@0.9.1
25
+ - @scalar/helpers@0.1.3
26
+ - @scalar/types@0.5.1
27
+ - @scalar/themes@0.13.25
28
+ - @scalar/oas-utils@0.6.5
29
+ - @scalar/icons@0.5.0
30
+ - @scalar/object-utils@1.2.13
31
+ - @scalar/openapi-parser@0.23.4
32
+ - @scalar/openapi-upgrader@0.1.5
33
+ - @scalar/use-hooks@0.3.1
34
+
35
+ ## 1.40.0
36
+
37
+ ### Minor Changes
38
+
39
+ - [#7384](https://github.com/scalar/scalar/pull/7384) [`3ebff92`](https://github.com/scalar/scalar/commit/3ebff92f29d8d03d626d4000e8323528e794e755) Thanks [@DemonHa](https://github.com/DemonHa)! - feat: collection and document settings and cookies page
40
+
41
+ ### Patch Changes
42
+
43
+ - [#7320](https://github.com/scalar/scalar/pull/7320) [`44aeef0`](https://github.com/scalar/scalar/commit/44aeef01073801165e339163462378b7b62ff68d) Thanks [@hanspagel](https://github.com/hanspagel)! - feat: rename showToolbar to showDeveloperTools
44
+
45
+ - [#7306](https://github.com/scalar/scalar/pull/7306) [`5a108fc`](https://github.com/scalar/scalar/commit/5a108fcbc52ae7957731c23689896ba353b83d3b) Thanks [@hwkr](https://github.com/hwkr)! - feat(components): add ScalarThemeSwatches component
46
+
47
+ - [#7348](https://github.com/scalar/scalar/pull/7348) [`cded2d6`](https://github.com/scalar/scalar/commit/cded2d6c087418c3c44731d344d0827a87b78b74) Thanks [@hwkr](https://github.com/hwkr)! - feat(components): add ScalarWrappingText component
48
+
49
+ - Updated dependencies [[`d86f1d6`](https://github.com/scalar/scalar/commit/d86f1d6911ecbca70b011a2a0efb6d6e0eca59bb), [`6e1cb89`](https://github.com/scalar/scalar/commit/6e1cb89f71770601a5059449d68b409ffc87d332), [`1fbd809`](https://github.com/scalar/scalar/commit/1fbd809197bfaef77d7d3cb8cf7b657f397232a7), [`44aeef0`](https://github.com/scalar/scalar/commit/44aeef01073801165e339163462378b7b62ff68d), [`dd5c518`](https://github.com/scalar/scalar/commit/dd5c518a422dddc7948c0253861101cf741b6af0), [`0519a33`](https://github.com/scalar/scalar/commit/0519a33c7d3f3cf65b93b37392c51d3c0586cbab), [`a68b1af`](https://github.com/scalar/scalar/commit/a68b1afc54b2aa95a224fee89c3266bffed57215), [`cbedfab`](https://github.com/scalar/scalar/commit/cbedfab576502069be27ceacbea145a917214e47), [`a68b1af`](https://github.com/scalar/scalar/commit/a68b1afc54b2aa95a224fee89c3266bffed57215), [`1fbd809`](https://github.com/scalar/scalar/commit/1fbd809197bfaef77d7d3cb8cf7b657f397232a7), [`5a108fc`](https://github.com/scalar/scalar/commit/5a108fcbc52ae7957731c23689896ba353b83d3b), [`4cda566`](https://github.com/scalar/scalar/commit/4cda566c2dc2cf306e4e3597e292ae1c2dadd78c), [`1fbd809`](https://github.com/scalar/scalar/commit/1fbd809197bfaef77d7d3cb8cf7b657f397232a7), [`cded2d6`](https://github.com/scalar/scalar/commit/cded2d6c087418c3c44731d344d0827a87b78b74), [`cbedfab`](https://github.com/scalar/scalar/commit/cbedfab576502069be27ceacbea145a917214e47), [`a35f5cf`](https://github.com/scalar/scalar/commit/a35f5cf3bce49b0ffda758e95bd31c77109e3c5b), [`3ebff92`](https://github.com/scalar/scalar/commit/3ebff92f29d8d03d626d4000e8323528e794e755), [`4059e68`](https://github.com/scalar/scalar/commit/4059e68375d31ec0142a8019b385bc3ac82055fc), [`0486728`](https://github.com/scalar/scalar/commit/04867286af9156c4d8ffb688c2d200f1b5a7d752), [`cc9d90b`](https://github.com/scalar/scalar/commit/cc9d90b1a268a6c294adcb32f7ae8559c1dcc77e)]:
50
+ - @scalar/workspace-store@0.21.0
51
+ - @scalar/json-magic@0.8.2
52
+ - @scalar/helpers@0.1.2
53
+ - @scalar/api-client@2.12.0
54
+ - @scalar/sidebar@0.4.0
55
+ - @scalar/types@0.5.0
56
+ - @scalar/oas-utils@0.6.4
57
+ - @scalar/object-utils@1.2.12
58
+ - @scalar/components@0.16.4
59
+ - @scalar/themes@0.13.24
60
+ - @scalar/openapi-parser@0.23.3
61
+ - @scalar/openapi-upgrader@0.1.4
62
+ - @scalar/snippetz@0.5.3
63
+ - @scalar/code-highlight@0.2.0
64
+ - @scalar/icons@0.5.0
65
+ - @scalar/openapi-types@0.5.1
66
+ - @scalar/use-hooks@0.3.0
67
+ - @scalar/use-toasts@0.9.0
68
+
3
69
  ## 1.39.3
4
70
 
5
71
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"OAuth2.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-auth-selector-block/components/OAuth2.vue"],"names":[],"mappings":"AAqRA,OAAO,EAEL,KAAK,WAAW,EAEjB,MAAM,0BAA0B,CAAA;AAGjC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,MAAM,EACZ,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,IAAI,EAAE,UAAU,CAAA;IAChB,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,EAAE,oBAAoB,CAAA;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA0hBF,wBAMG"}
1
+ {"version":3,"file":"OAuth2.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-auth-selector-block/components/OAuth2.vue"],"names":[],"mappings":"AAuRA,OAAO,EAEL,KAAK,WAAW,EAEjB,MAAM,0BAA0B,CAAA;AAGjC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,MAAM,EACZ,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,IAAI,EAAE,UAAU,CAAA;IAChB,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,EAAE,oBAAoB,CAAA;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA4hBF,wBAMG"}
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  workspace: {}
24
24
  },
25
25
  setup(__props) {
26
- const loadingState = useLoadingState();
26
+ const loader = useLoadingState();
27
27
  const { toast } = useToasts();
28
28
  const storeContext = useWorkspace();
29
29
  const updateScheme$1 = (path, value) => updateScheme(
@@ -35,19 +35,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  __props.persistAuth
36
36
  );
37
37
  const handleAuthorize = async () => {
38
- if (loadingState.isLoading || !__props.collection?.uid) {
38
+ if (loader.isLoading || !__props.collection?.uid) {
39
39
  return;
40
40
  }
41
41
  if (!__props.server) {
42
42
  toast("No server selected", "error");
43
43
  return;
44
44
  }
45
- loadingState.startLoading();
45
+ loader.start();
46
46
  const [error, accessToken] = await authorizeOauth2(
47
47
  __props.flow,
48
48
  __props.server,
49
49
  __props.workspace?.proxyUrl
50
- ).finally(() => loadingState.stopLoading());
50
+ ).finally(async () => {
51
+ await loader.clear();
52
+ });
51
53
  if (accessToken) {
52
54
  updateScheme$1(`flows.${__props.flow.type}.token`, accessToken);
53
55
  } else {
@@ -90,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
92
  createElementVNode("div", _hoisted_1, [
91
93
  createVNode(unref(ScalarButton), {
92
94
  class: "mr-1 p-0 px-2 py-0.5",
93
- loading: unref(loadingState),
95
+ loader: unref(loader),
94
96
  size: "sm",
95
97
  variant: "outlined",
96
98
  onClick: _cache[1] || (_cache[1] = ($event) => updateScheme$1(`flows.${_ctx.flow.type}.token`, ""))
@@ -99,7 +101,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
99
101
  createTextVNode(" Clear ", -1)
100
102
  ])]),
101
103
  _: 1
102
- }, 8, ["loading"])
104
+ }, 8, ["loader"])
103
105
  ])
104
106
  ]),
105
107
  _: 1
@@ -248,7 +250,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
248
250
  createElementVNode("div", _hoisted_2, [
249
251
  createVNode(unref(ScalarButton), {
250
252
  class: "mr-0.75 p-0 px-2 py-0.5",
251
- loading: unref(loadingState),
253
+ loader: unref(loader),
252
254
  size: "sm",
253
255
  variant: "outlined",
254
256
  onClick: handleAuthorize
@@ -257,7 +259,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
257
259
  createTextVNode(" Authorize ", -1)
258
260
  ])]),
259
261
  _: 1
260
- }, 8, ["loading"])
262
+ }, 8, ["loader"])
261
263
  ])
262
264
  ]),
263
265
  _: 1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/scalar-auth-selector-block/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/scalar-auth-selector-block/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/scalar-client-selector-block/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/scalar-client-selector-block/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { ApiReferenceConfiguration } from '@scalar/types';
1
+ import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
2
2
  type __VLS_Props = {
3
3
  documentDownloadType: ApiReferenceConfiguration['documentDownloadType'];
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DownloadLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-info-block/components/DownloadLink.vue"],"names":[],"mappings":"AA8LA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAM9D,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,yBAAyB,CAAC,sBAAsB,CAAC,CAAA;CACxE,CAAC;;AAsIF,wBAMG"}
1
+ {"version":3,"file":"DownloadLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-info-block/components/DownloadLink.vue"],"names":[],"mappings":"AA8LA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAM5E,KAAK,WAAW,GAAG;IACjB,oBAAoB,EAAE,yBAAyB,CAAC,sBAAsB,CAAC,CAAA;CACxE,CAAC;;AAsIF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./DownloadLink.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const DownloadLink = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-767248c2"]]);
4
+ const DownloadLink = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cb1587b6"]]);
5
5
  export {
6
6
  DownloadLink as default
7
7
  };
@@ -1,4 +1,5 @@
1
- import type { ApiReferenceConfiguration, Heading } from '@scalar/types';
1
+ import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
2
+ import type { Heading } from '@scalar/types/legacy';
2
3
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
3
4
  import type { ExternalDocumentationObject, InfoObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
4
5
  type __VLS_Props = {
@@ -1 +1 @@
1
- {"version":3,"file":"InfoBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-info-block/components/InfoBlock.vue"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AAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"InfoBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-info-block/components/InfoBlock.vue"],"names":[],"mappings":"AAyEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAC5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EACV,2BAA2B,EAC3B,UAAU,EACX,MAAM,8DAA8D,CAAA;AAQrE,KAAK,WAAW,GAAG;IACjB,qDAAqD;IACrD,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iDAAiD;IACjD,IAAI,EAAE,UAAU,GAAG,SAAS,CAAA;IAC5B,+EAA+E;IAC/E,YAAY,CAAC,EAAE,2BAA2B,CAAA;IAC1C,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACxC,iDAAiD;IACjD,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAClC,OAAO,EAAE;QACP,8EAA8E;QAC9E,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;QAC7B,kCAAkC;QAClC,oBAAoB,CAAC,EAAE,yBAAyB,CAAC,sBAAsB,CAAC,CAAA;QACxE,iDAAiD;QACjD,oBAAoB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA;KACnD,CAAA;CACF,CAAC;AAwEF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAuBjD,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { Heading } from '@scalar/types';
1
+ import type { Heading } from '@scalar/types/legacy';
2
2
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
3
3
  type __VLS_Props = {
4
4
  eventBus: WorkspaceEventBus | null;
@@ -1 +1 @@
1
- {"version":3,"file":"InfoDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-info-block/components/InfoDescription.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAMvE,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAClC,oBAAoB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA;IAClD,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;;AAmHF,wBAMG"}
1
+ {"version":3,"file":"InfoDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-info-block/components/InfoDescription.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAMvE,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAClC,oBAAoB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA;IAClD,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;;AAmHF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./InfoDescription.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const InfoDescription = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-62f8a5d1"]]);
4
+ const InfoDescription = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fe80002d"]]);
5
5
  export {
6
6
  InfoDescription as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import type { Heading } from '@scalar/types';
1
+ import type { Heading } from '@scalar/types/legacy';
2
2
  import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
3
3
  import type { ExternalDocumentationObject, InfoObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
4
4
  type __VLS_Props = {
@@ -1 +1 @@
1
- {"version":3,"file":"IntroductionLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-info-block/components/IntroductionLayout.vue"],"names":[],"mappings":"AAkGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EACV,2BAA2B,EAC3B,UAAU,EACX,MAAM,8DAA8D,CAAA;AAkBrE,KAAK,WAAW,GAAG;IACjB,EAAE,EAAE,MAAM,GAAG,SAAS,CAAA;IACtB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,IAAI,EAAE,UAAU,GAAG,SAAS,CAAA;IAC5B,YAAY,CAAC,EAAE,2BAA2B,CAAA;IAC1C,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,cAAc,CAAC,EAAE,MAAM,C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2BAA2B,CAAA;IAC1C,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACxC,oBAAoB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA;IAClD,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;CACnC,CAAC;AAoMF,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA+B9C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./IntroductionLayout.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const IntroductionLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-06ff5db3"]]);
4
+ const IntroductionLayout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0b1e2255"]]);
5
5
  export {
6
6
  IntroductionLayout as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/scalar-info-block/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/scalar-info-block/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/scalar-server-selector-block/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/blocks/scalar-server-selector-block/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAA"}