@scalar/api-reference 1.36.1 → 1.36.2

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 (84) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/browser/standalone.js +9306 -8928
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  6. package/dist/components/Content/Schema/Schema.vue.js +2 -2
  7. package/dist/components/Content/Schema/Schema.vue2.js +24 -24
  8. package/dist/components/OperationsList/OperationsList.vue.js +2 -2
  9. package/dist/components/Section/Section.vue.js +1 -1
  10. package/dist/components/Section/SectionContainerAccordion.vue.js +2 -2
  11. package/dist/consts/urls.d.ts +17 -0
  12. package/dist/consts/urls.d.ts.map +1 -0
  13. package/dist/consts/urls.js +7 -0
  14. package/dist/features/Operation/components/Headers.vue.js +2 -2
  15. package/dist/features/Operation/components/Headers.vue2.js +11 -11
  16. package/dist/features/Operation/components/callbacks/Callback.vue.js +2 -2
  17. package/dist/features/Operation/layouts/ClassicLayout.vue.js +3 -3
  18. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  19. package/dist/features/Operation/layouts/ModernLayout.vue.js +2 -2
  20. package/dist/features/multiple-documents/useMultipleDocuments.d.ts +4 -2
  21. package/dist/features/multiple-documents/useMultipleDocuments.d.ts.map +1 -1
  22. package/dist/features/multiple-documents/useMultipleDocuments.js +49 -43
  23. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts +16 -0
  24. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -0
  25. package/dist/features/toolbar/ApiReferenceToolbar.vue.js +43 -0
  26. package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +4 -0
  27. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts +13 -0
  28. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
  29. package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.js +12 -0
  30. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +14 -0
  31. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -0
  32. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.js +95 -0
  33. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +4 -0
  34. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts +10 -0
  35. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
  36. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.js +27 -0
  37. package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue2.js +4 -0
  38. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +25 -0
  39. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
  40. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.js +123 -0
  41. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue2.js +4 -0
  42. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts +11 -0
  43. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
  44. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +41 -0
  45. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue2.js +4 -0
  46. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts +26 -0
  47. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
  48. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.js +46 -0
  49. package/dist/features/toolbar/ApiReferenceToolbarPopover.vue2.js +4 -0
  50. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts +25 -0
  51. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
  52. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.js +58 -0
  53. package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue2.js +4 -0
  54. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts +7 -0
  55. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +1 -0
  56. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +84 -0
  57. package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +4 -0
  58. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts +7 -0
  59. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +1 -0
  60. package/dist/features/toolbar/ApiReferenceToolbarShare.vue.js +42 -0
  61. package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +4 -0
  62. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts +7 -0
  63. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
  64. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.js +50 -0
  65. package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue2.js +4 -0
  66. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts +14 -0
  67. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
  68. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +83 -0
  69. package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue2.js +4 -0
  70. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts +3 -0
  71. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
  72. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +51 -0
  73. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue2.js +4 -0
  74. package/dist/features/toolbar/uploadTempDocument.d.ts +3 -0
  75. package/dist/features/toolbar/uploadTempDocument.d.ts.map +1 -0
  76. package/dist/features/toolbar/uploadTempDocument.js +21 -0
  77. package/dist/index.js +1 -1
  78. package/dist/style.css +1 -1
  79. package/dist/v2/ApiReferenceWorkspace.vue.d.ts +6 -6
  80. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  81. package/dist/v2/ApiReferenceWorkspace.vue.js +90 -82
  82. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +2 -2
  83. package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
  84. package/package.json +11 -11
@@ -4,17 +4,17 @@ type __VLS_Props = {
4
4
  configuration?: AnyApiReferenceConfiguration;
5
5
  store: WorkspaceStore;
6
6
  };
7
- declare var __VLS_17: {}, __VLS_19: {}, __VLS_21: {}, __VLS_23: {}, __VLS_25: {};
7
+ declare var __VLS_20: {}, __VLS_22: {}, __VLS_24: {}, __VLS_26: {}, __VLS_28: {};
8
8
  type __VLS_Slots = {} & {
9
- 'content-start'?: (props: typeof __VLS_17) => any;
9
+ 'content-start'?: (props: typeof __VLS_20) => any;
10
10
  } & {
11
- 'content-end'?: (props: typeof __VLS_19) => any;
11
+ 'content-end'?: (props: typeof __VLS_22) => any;
12
12
  } & {
13
- 'sidebar-start'?: (props: typeof __VLS_21) => any;
13
+ 'sidebar-start'?: (props: typeof __VLS_24) => any;
14
14
  } & {
15
- 'sidebar-end'?: (props: typeof __VLS_23) => any;
15
+ 'sidebar-end'?: (props: typeof __VLS_26) => any;
16
16
  } & {
17
- footer?: (props: typeof __VLS_25) => any;
17
+ footer?: (props: typeof __VLS_28) => any;
18
18
  };
19
19
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
20
  updateContent: (content: any) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceWorkspace.vue.d.ts","sourceRoot":"","sources":["../../src/v2/ApiReferenceWorkspace.vue"],"names":[],"mappings":"AAqVA,OAAO,KAAK,EACV,4BAA4B,EAE7B,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAyBpE,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,4BAA4B,CAAA;IAC5C,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;AA6TF,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC9G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA4B/C,QAAA,MAAM,eAAe;;;;kFAOnB,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
+ {"version":3,"file":"ApiReferenceWorkspace.vue.d.ts","sourceRoot":"","sources":["../../src/v2/ApiReferenceWorkspace.vue"],"names":[],"mappings":"AAiWA,OAAO,KAAK,EACV,4BAA4B,EAG7B,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gCAAgC,CAAA;AA0BpE,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,4BAA4B,CAAA;IAC5C,KAAK,EAAE,cAAc,CAAA;CACtB,CAAC;AA4UF,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC9G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACnD;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA8B/C,QAAA,MAAM,eAAe;;;;kFAOnB,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,60 +1,62 @@
1
- import { defineComponent as R, ref as d, toRef as I, provide as N, useTemplateRef as w, onBeforeMount as L, watch as i, computed as V, createElementBlock as A, openBlock as C, createBlock as B, createCommentVNode as P, createVNode as k, unref as n, resolveDynamicComponent as U, withCtx as s, createTextVNode as _, toDisplayString as K, renderSlot as l, isRef as F } from "vue";
2
- import { safeLocalStorage as O, REFERENCE_LS_KEYS as W } from "@scalar/helpers/object/local-storage";
3
- import { makeUrlAbsolute as Y } from "@scalar/helpers/url/make-url-absolute";
4
- import { redirectToProxy as z } from "@scalar/oas-utils/helpers";
5
- import { useColorMode as H } from "@scalar/use-hooks/useColorMode";
6
- import { useSeoMeta as j } from "@unhead/vue";
7
- import { useFavicon as q } from "@vueuse/core";
8
- import G from "../components/ApiReferenceLayout.vue.js";
9
- import { NAV_STATE_SYMBOL as J } from "../hooks/useNavState.js";
1
+ import { defineComponent as R, ref as m, toRef as I, provide as N, useTemplateRef as L, onBeforeMount as U, watch as s, computed as V, createElementBlock as A, openBlock as g, createBlock as B, createCommentVNode as P, createVNode as f, unref as n, resolveDynamicComponent as _, withCtx as i, createTextVNode as K, toDisplayString as O, renderSlot as u, isRef as F } from "vue";
2
+ import { safeLocalStorage as W, REFERENCE_LS_KEYS as Y } from "@scalar/helpers/object/local-storage";
3
+ import { makeUrlAbsolute as z } from "@scalar/helpers/url/make-url-absolute";
4
+ import { redirectToProxy as H } from "@scalar/oas-utils/helpers";
5
+ import { useColorMode as j } from "@scalar/use-hooks/useColorMode";
6
+ import { useSeoMeta as q } from "@unhead/vue";
7
+ import { useFavicon as G } from "@vueuse/core";
8
+ import J from "../components/ApiReferenceLayout.vue.js";
9
+ import Q from "../features/toolbar/ApiReferenceToolbar.vue.js";
10
+ import { NAV_STATE_SYMBOL as X } from "../hooks/useNavState.js";
10
11
  import { isClient as D } from "./blocks/scalar-request-example-block/helpers/find-client.js";
11
- import { getDocumentName as Q } from "./helpers/get-document-name.js";
12
- import { mapConfiguration as g } from "./helpers/map-configuration.js";
13
- import { normalizeContent as X } from "./helpers/normalize-content.js";
14
- import { useWorkspaceStoreEvents as Z } from "./hooks/use-workspace-store-events.js";
15
- import { useMultipleDocuments as ee } from "../features/multiple-documents/useMultipleDocuments.js";
16
- import te from "../features/multiple-documents/DocumentSelector.vue.js";
17
- const De = /* @__PURE__ */ R({
12
+ import { getDocumentName as Z } from "./helpers/get-document-name.js";
13
+ import { mapConfiguration as E } from "./helpers/map-configuration.js";
14
+ import { normalizeContent as ee } from "./helpers/normalize-content.js";
15
+ import { useWorkspaceStoreEvents as te } from "./hooks/use-workspace-store-events.js";
16
+ import { useMultipleDocuments as oe } from "../features/multiple-documents/useMultipleDocuments.js";
17
+ import re from "../features/multiple-documents/DocumentSelector.vue.js";
18
+ const Me = /* @__PURE__ */ R({
18
19
  __name: "ApiReferenceWorkspace",
19
20
  props: {
20
21
  configuration: {},
21
22
  store: {}
22
23
  },
23
24
  emits: ["updateContent"],
24
- setup(E) {
25
- const c = E, {
26
- availableDocuments: f,
25
+ setup(M) {
26
+ const p = M, d = m({}), {
27
+ availableDocuments: v,
27
28
  selectedConfiguration: o,
28
- selectedDocumentIndex: u,
29
- isIntersectionEnabled: m,
30
- hash: M,
31
- hashPrefix: h
32
- } = ee({
33
- configuration: I(c, "configuration"),
34
- isIntersectionEnabled: d(!1),
35
- hash: d(""),
36
- hashPrefix: d("")
37
- }), x = (e, t) => fetch(
38
- z(o.value.proxyUrl, e.toString()),
29
+ selectedDocumentIndex: l,
30
+ isIntersectionEnabled: c,
31
+ hash: x,
32
+ hashPrefix: y
33
+ } = oe({
34
+ configuration: I(p, "configuration"),
35
+ configurationOverrides: d,
36
+ isIntersectionEnabled: m(!1),
37
+ hash: m(""),
38
+ hashPrefix: m("")
39
+ }), S = (e, t) => fetch(
40
+ H(o.value.proxyUrl, e.toString()),
39
41
  t
40
42
  );
41
- N(J, { isIntersectionEnabled: m, hash: M, hashPrefix: h });
42
- const p = w("root"), r = c.store;
43
- L(() => {
44
- const e = O().getItem(
45
- W.SELECTED_CLIENT
43
+ N(X, { isIntersectionEnabled: c, hash: x, hashPrefix: y });
44
+ const k = L("root"), r = p.store;
45
+ U(() => {
46
+ const e = W().getItem(
47
+ Y.SELECTED_CLIENT
46
48
  );
47
49
  D(e) && !r.workspace["x-scalar-default-client"] && r.update("x-scalar-default-client", e);
48
50
  });
49
- const y = async (e) => {
50
- const t = X(e.content), a = Q({
51
+ const b = async (e) => {
52
+ const t = ee(e.content), a = Z({
51
53
  name: e.slug || e.title,
52
54
  url: e.url,
53
55
  document: t
54
56
  });
55
57
  if (r.workspace.documents[a]) {
56
- t && (m.value = !1, r.replaceDocument(a, t), r.update("x-scalar-active-document", a), setTimeout(() => {
57
- m.value = !0;
58
+ t && (c.value = !1, r.replaceDocument(a, t), r.update("x-scalar-active-document", a), setTimeout(() => {
59
+ c.value = !0;
58
60
  }, 300));
59
61
  return;
60
62
  }
@@ -62,102 +64,108 @@ const De = /* @__PURE__ */ R({
62
64
  return await r.addDocument({
63
65
  name: a,
64
66
  document: t,
65
- config: g(e)
67
+ config: E(e)
66
68
  });
67
69
  if (e.url)
68
70
  return await r.addDocument({
69
71
  name: e.slug ?? "default",
70
- url: Y(e.url, {
72
+ url: z(e.url, {
71
73
  basePath: o.value.pathRouting?.basePath
72
74
  }),
73
- fetch: e.fetch ?? x,
74
- config: g(e)
75
+ fetch: e.fetch ?? S,
76
+ config: E(e)
75
77
  });
76
78
  };
77
- i(
79
+ s(
78
80
  [
79
81
  () => o.value.slug,
80
82
  () => o.value.url,
81
83
  () => o.value.content
82
84
  ],
83
85
  ([e, t, a]) => {
84
- (e || t || a) && y(o.value);
86
+ (e || t || a) && b(o.value);
85
87
  },
86
88
  { immediate: !0 }
87
- ), Z(r, p), i(
89
+ ), te(r, k), s(
88
90
  () => o.value.defaultHttpClient,
89
91
  (e) => {
90
92
  if (e) {
91
- const { targetKey: t, clientKey: a } = e, v = `${t}/${a}`;
92
- D(v) && r.update("x-scalar-default-client", v);
93
+ const { targetKey: t, clientKey: a } = e, C = `${t}/${a}`;
94
+ D(C) && r.update("x-scalar-default-client", C);
93
95
  }
94
96
  },
95
97
  { immediate: !0 }
96
98
  );
97
- function S(e) {
99
+ function h(e) {
98
100
  if (e === !0)
99
101
  return "dark";
100
102
  if (e === !1)
101
103
  return "light";
102
104
  }
103
- const { toggleColorMode: b, isDarkMode: T } = H({
104
- initialColorMode: S(o.value.darkMode),
105
+ const { toggleColorMode: $, isDarkMode: T } = j({
106
+ initialColorMode: h(o.value.darkMode),
105
107
  overrideColorMode: o.value.forceDarkModeState
106
108
  });
107
- i(
109
+ s(
108
110
  () => o.value.darkMode,
109
111
  (e) => r.update("x-scalar-dark-mode", !!e)
110
- ), i(
112
+ ), s(
111
113
  () => T.value,
112
114
  (e) => r.update("x-scalar-dark-mode", e),
113
115
  { immediate: !0 }
114
- ), i(
115
- () => u.value,
116
+ ), s(
117
+ () => l.value,
116
118
  (e) => r.update(
117
119
  "x-scalar-active-document",
118
- f.value[e]?.slug
120
+ v.value[e]?.slug
119
121
  ),
120
122
  { immediate: !0 }
121
- ), o.value.metaData && j(o.value.metaData);
122
- const $ = V(() => o.value.favicon);
123
- return q($), (e, t) => (C(), A("div", {
123
+ ), o.value.metaData && q(o.value.metaData);
124
+ const w = V(() => o.value.favicon);
125
+ return G(w), (e, t) => (g(), A("div", {
124
126
  ref_key: "root",
125
- ref: p
127
+ ref: k
126
128
  }, [
127
- n(o)?.customCss ? (C(), B(U("style"), { key: 0 }, {
128
- default: s(() => [
129
- _(K(n(o).customCss), 1)
129
+ n(o)?.customCss ? (g(), B(_("style"), { key: 0 }, {
130
+ default: i(() => [
131
+ K(O(n(o).customCss), 1)
130
132
  ]),
131
133
  _: 1
132
134
  })) : P("", !0),
133
- k(G, {
135
+ f(J, {
134
136
  configuration: n(o),
135
137
  isDark: !!n(r).workspace["x-scalar-dark-mode"],
136
138
  store: n(r),
137
- onToggleDarkMode: t[1] || (t[1] = () => n(b)()),
138
- onUpdateContent: t[2] || (t[2] = (a) => e.$emit("updateContent", a))
139
+ onToggleDarkMode: t[2] || (t[2] = () => n($)()),
140
+ onUpdateContent: t[3] || (t[3] = (a) => e.$emit("updateContent", a))
139
141
  }, {
140
- "document-selector": s(() => [
141
- k(n(te), {
142
- modelValue: n(u),
143
- "onUpdate:modelValue": t[0] || (t[0] = (a) => F(u) ? u.value = a : null),
144
- options: n(f)
142
+ "document-selector": i(() => [
143
+ f(n(re), {
144
+ modelValue: n(l),
145
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => F(l) ? l.value = a : null),
146
+ options: n(v)
145
147
  }, null, 8, ["modelValue", "options"])
146
148
  ]),
147
- "content-start": s(() => [
148
- l(e.$slots, "content-start")
149
+ "content-start": i(() => [
150
+ f(Q, {
151
+ workspace: n(r),
152
+ configuration: n(o),
153
+ overrides: d.value,
154
+ "onUpdate:overrides": t[1] || (t[1] = (a) => d.value = a)
155
+ }, null, 8, ["workspace", "configuration", "overrides"]),
156
+ u(e.$slots, "content-start")
149
157
  ]),
150
- "content-end": s(() => [
151
- l(e.$slots, "content-end")
158
+ "content-end": i(() => [
159
+ u(e.$slots, "content-end")
152
160
  ]),
153
- "sidebar-start": s(() => [
154
- l(e.$slots, "sidebar-start")
161
+ "sidebar-start": i(() => [
162
+ u(e.$slots, "sidebar-start")
155
163
  ]),
156
- "sidebar-end": s(() => [
157
- l(e.$slots, "sidebar-end")
164
+ "sidebar-end": i(() => [
165
+ u(e.$slots, "sidebar-end")
158
166
  ]),
159
- footer: s(() => [
160
- l(e.$slots, "footer")
167
+ footer: i(() => [
168
+ u(e.$slots, "footer")
161
169
  ]),
162
170
  _: 3
163
171
  }, 8, ["configuration", "isDark", "store"])
@@ -165,5 +173,5 @@ const De = /* @__PURE__ */ R({
165
173
  }
166
174
  });
167
175
  export {
168
- De as default
176
+ Me as default
169
177
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./IntroductionLayout.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1405b00e"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2f5c2779"]]);
5
5
  export {
6
- p as default
6
+ f as default
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"map-configuration.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/map-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAG9D;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAiD0g3C,CAAC;;;gBAAyH,CAAC;;;;;mBAAsS,CAAC;uBAAyC,CAAC;;;gBAA1N,CAAC;;;;kBAA4W,CAAC;;;CADpr4C,CAAA"}
1
+ {"version":3,"file":"map-configuration.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/map-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAG9D;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAiD+o4C,CAAC;;;gBAAyH,CAAC;;;;;mBAAsS,CAAC;uBAAyC,CAAC;;;gBAA1N,CAAC;;;;kBAA4W,CAAC;;;CADzz5C,CAAA"}
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "vue",
21
21
  "vue3"
22
22
  ],
23
- "version": "1.36.1",
23
+ "version": "1.36.2",
24
24
  "engines": {
25
25
  "node": ">=20"
26
26
  },
@@ -56,21 +56,21 @@
56
56
  "type-fest": "^4.41.0",
57
57
  "vue": "^3.5.17",
58
58
  "zod": "3.24.1",
59
+ "@scalar/api-client": "2.6.1",
59
60
  "@scalar/code-highlight": "0.2.0",
60
- "@scalar/api-client": "2.6.0",
61
- "@scalar/components": "0.14.37",
62
- "@scalar/icons": "0.4.7",
63
- "@scalar/oas-utils": "0.4.32",
64
- "@scalar/object-utils": "1.2.7",
61
+ "@scalar/components": "0.14.38",
65
62
  "@scalar/helpers": "0.0.11",
63
+ "@scalar/icons": "0.4.7",
66
64
  "@scalar/json-magic": "0.5.2",
67
- "@scalar/openapi-parser": "0.21.2",
65
+ "@scalar/object-utils": "1.2.7",
68
66
  "@scalar/openapi-types": "0.3.7",
67
+ "@scalar/oas-utils": "0.4.33",
69
68
  "@scalar/openapi-upgrader": "0.1.0",
70
- "@scalar/snippetz": "0.4.10",
71
- "@scalar/themes": "0.13.18",
69
+ "@scalar/themes": "0.13.19",
70
+ "@scalar/openapi-parser": "0.21.2",
72
71
  "@scalar/types": "0.2.16",
73
72
  "@scalar/use-hooks": "0.2.5",
73
+ "@scalar/snippetz": "0.4.10",
74
74
  "@scalar/use-toasts": "0.8.0",
75
75
  "@scalar/workspace-store": "0.16.0"
76
76
  },
@@ -92,10 +92,10 @@
92
92
  "vite-plugin-banner": "^0.7.1",
93
93
  "vite-plugin-css-injected-by-js": "^3.4.0",
94
94
  "vitest": "3.2.4",
95
- "@scalar/core": "0.3.17",
96
95
  "@scalar/build-tooling": "0.2.7",
96
+ "@scalar/galaxy": "0.5.8",
97
97
  "@scalar/react-renderer": "0.2.1",
98
- "@scalar/galaxy": "0.5.8"
98
+ "@scalar/core": "0.3.17"
99
99
  },
100
100
  "scripts": {
101
101
  "build": "pnpm build:default && pnpm build:standalone && pnpm types:build && tsc-alias -p tsconfig.build.json",