@scalar/api-client 2.37.0 → 2.38.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 (46) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/style.css +1 -1
  3. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  4. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +87 -78
  5. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
  6. package/dist/v2/blocks/operation-block/components/Header.vue2.js +5 -5
  7. package/dist/v2/blocks/operation-block/helpers/response-cache.d.ts +30 -0
  8. package/dist/v2/blocks/operation-block/helpers/response-cache.d.ts.map +1 -0
  9. package/dist/v2/blocks/operation-block/helpers/response-cache.js +12 -0
  10. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  11. package/dist/v2/blocks/request-block/RequestBlock.vue.js +2 -2
  12. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +83 -80
  13. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  14. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
  15. package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +65 -61
  16. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts +3 -1
  17. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.d.ts.map +1 -1
  18. package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js +42 -32
  19. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  20. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts +4 -7
  21. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.d.ts.map +1 -1
  22. package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +27 -7
  23. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +2 -0
  24. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  25. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +23 -21
  26. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  27. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +19 -14
  28. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
  29. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +72 -66
  30. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +4 -4
  31. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -1
  32. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
  33. package/dist/v2/components/sidebar/SidebarMenu.vue.js +24 -22
  34. package/dist/v2/features/app/app-events.js +2 -2
  35. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts +1 -1
  36. package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +3 -3
  37. package/dist/v2/features/collection/components/Form.vue.d.ts +1 -0
  38. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
  39. package/dist/v2/features/collection/components/Form.vue.js +23 -23
  40. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  41. package/dist/v2/features/collection/components/Servers.vue.js +5 -4
  42. package/dist/v2/features/operation/Operation.vue.js +1 -1
  43. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
  44. package/dist/v2/features/settings/components/Section.vue.js +10 -10
  45. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  46. package/package.json +11 -11
@@ -1,6 +1,6 @@
1
- import { isObject as p } from "@scalar/helpers/object/is-object";
2
- import { objectEntries as u } from "@scalar/helpers/object/object-entries";
3
- const f = {
1
+ import { isObject as f } from "@scalar/helpers/object/is-object";
2
+ import { objectEntries as p } from "@scalar/helpers/object/object-entries";
3
+ const C = {
4
4
  "x-scalar-secret-client-id": "x-scalar-client-id",
5
5
  "x-scalar-secret-client-secret": "clientSecret",
6
6
  "x-scalar-secret-password": "password",
@@ -9,22 +9,25 @@ const f = {
9
9
  "x-scalar-secret-username": "username",
10
10
  "x-scalar-secret-auth-url": "authorizationUrl",
11
11
  "x-scalar-secret-token-url": "tokenUrl"
12
- }, i = (t, s, n = {}) => Object.fromEntries(
13
- t.map((c) => {
14
- const r = n[c] || s[c] || s[f[c]] || "";
15
- return [c, r];
12
+ }, i = (e, t, c = {}) => Object.fromEntries(
13
+ e.map((n) => {
14
+ const a = c[n] || t[n] || t[C[n]] || "";
15
+ return [n, a];
16
16
  })
17
- ), l = (t = {}) => {
18
- const s = t["x-scalar-secret-refresh-token"];
19
- return typeof s == "string" ? { "x-scalar-secret-refresh-token": s } : {};
20
- }, x = (t, s) => {
21
- const n = /* @__PURE__ */ new Set();
22
- return { flows: u(t ?? {}).reduce((r, [e, a]) => {
23
- if (!p(a))
24
- return r;
25
- const o = a.selectedScopes;
26
- return Array.isArray(o) && o.forEach((d) => typeof d == "string" && n.add(d)), e === "implicit" && (r.implicit = {
27
- ...a,
17
+ ), l = (e = {}) => {
18
+ const t = e["x-scalar-secret-refresh-token"];
19
+ return typeof t == "string" ? { "x-scalar-secret-refresh-token": t } : {};
20
+ }, o = (e, t = {}) => {
21
+ const c = t["x-scalar-credentials-location"] ?? e["x-scalar-credentials-location"];
22
+ return c ? { "x-scalar-credentials-location": c } : {};
23
+ }, u = (e, t) => {
24
+ const c = /* @__PURE__ */ new Set();
25
+ return { flows: p(e ?? {}).reduce((a, [r, s]) => {
26
+ if (!f(s))
27
+ return a;
28
+ const d = s.selectedScopes;
29
+ return Array.isArray(d) && d.forEach((x) => typeof x == "string" && c.add(x)), r === "implicit" && (a.implicit = {
30
+ ...s,
28
31
  ...i(
29
32
  [
30
33
  "x-scalar-secret-client-id",
@@ -32,12 +35,12 @@ const f = {
32
35
  "x-scalar-secret-token",
33
36
  "x-scalar-secret-auth-url"
34
37
  ],
35
- a,
36
- s?.implicit
38
+ s,
39
+ t?.implicit
37
40
  ),
38
- ...l(s?.implicit)
39
- }), e === "password" && (r[e] = {
40
- ...a,
41
+ ...l(t?.implicit)
42
+ }), r === "password" && (a[r] = {
43
+ ...s,
41
44
  ...i(
42
45
  [
43
46
  "x-scalar-secret-client-id",
@@ -47,12 +50,13 @@ const f = {
47
50
  "x-scalar-secret-token",
48
51
  "x-scalar-secret-token-url"
49
52
  ],
50
- a,
51
- s?.password
53
+ s,
54
+ t?.password
52
55
  ),
53
- ...l(s?.password)
54
- }), e === "clientCredentials" && (r[e] = {
55
- ...a,
56
+ ...o(s, t?.password),
57
+ ...l(t?.password)
58
+ }), r === "clientCredentials" && (a[r] = {
59
+ ...s,
56
60
  ...i(
57
61
  [
58
62
  "x-scalar-secret-client-id",
@@ -60,12 +64,13 @@ const f = {
60
64
  "x-scalar-secret-token",
61
65
  "x-scalar-secret-token-url"
62
66
  ],
63
- a,
64
- s?.clientCredentials
67
+ s,
68
+ t?.clientCredentials
65
69
  ),
66
- ...l(s?.clientCredentials)
67
- }), e === "authorizationCode" && (r[e] = {
68
- ...a,
70
+ ...o(s, t?.clientCredentials),
71
+ ...l(t?.clientCredentials)
72
+ }), r === "authorizationCode" && (a[r] = {
73
+ ...s,
69
74
  ...i(
70
75
  [
71
76
  "x-scalar-secret-client-id",
@@ -75,55 +80,56 @@ const f = {
75
80
  "x-scalar-secret-auth-url",
76
81
  "x-scalar-secret-token-url"
77
82
  ],
78
- a,
79
- s?.authorizationCode
83
+ s,
84
+ t?.authorizationCode
80
85
  ),
81
- ...l(s?.authorizationCode)
82
- }), r;
83
- }, {}), selectedScopes: Array.from(n) };
84
- }, C = (t, s, n, c) => {
85
- const r = s.getAuthSecrets(c, n);
86
- if (t.type === "apiKey") {
87
- const e = r?.type === "apiKey" ? r : void 0;
86
+ ...o(s, t?.authorizationCode),
87
+ ...l(t?.authorizationCode)
88
+ }), a;
89
+ }, {}), selectedScopes: Array.from(c) };
90
+ }, h = (e, t, c, n) => {
91
+ const a = t.getAuthSecrets(n, c);
92
+ if (e.type === "apiKey") {
93
+ const r = a?.type === "apiKey" ? a : void 0;
88
94
  return {
89
- ...t,
90
- "x-scalar-secret-token": e?.["x-scalar-secret-token"] || t.value || ""
95
+ ...e,
96
+ "x-scalar-secret-token": r?.["x-scalar-secret-token"] || e.value || ""
91
97
  };
92
98
  }
93
- if (t.type === "http") {
94
- const e = r?.type === "http" ? r : void 0;
99
+ if (e.type === "http") {
100
+ const r = a?.type === "http" ? a : void 0;
95
101
  return {
96
- ...t,
97
- "x-scalar-secret-token": e?.["x-scalar-secret-token"] || t.token || "",
98
- "x-scalar-secret-username": e?.["x-scalar-secret-username"] || t.username || "",
99
- "x-scalar-secret-password": e?.["x-scalar-secret-password"] || t.password || ""
102
+ ...e,
103
+ "x-scalar-secret-token": r?.["x-scalar-secret-token"] || e.token || "",
104
+ "x-scalar-secret-username": r?.["x-scalar-secret-username"] || e.username || "",
105
+ "x-scalar-secret-password": r?.["x-scalar-secret-password"] || e.password || ""
100
106
  };
101
107
  }
102
- if (t.type === "oauth2") {
103
- const e = r?.type === "oauth2" ? r : void 0, a = x(t.flows, e);
108
+ if (e.type === "oauth2") {
109
+ const r = a?.type === "oauth2" ? a : void 0, s = u(e.flows, r);
104
110
  return {
105
- ...t,
106
- flows: a.flows,
107
- "x-default-scopes": a.selectedScopes
111
+ ...e,
112
+ flows: s.flows,
113
+ "x-default-scopes": s.selectedScopes
108
114
  };
109
115
  }
110
- if (t.type === "openIdConnect") {
111
- const e = r?.type === "openIdConnect" ? r : void 0, a = x(
116
+ if (e.type === "openIdConnect") {
117
+ const r = a?.type === "openIdConnect" ? a : void 0, s = u(
112
118
  {
113
- implicit: e?.implicit,
114
- password: e?.password,
115
- clientCredentials: e?.clientCredentials,
116
- authorizationCode: e?.authorizationCode
119
+ implicit: r?.implicit,
120
+ password: r?.password,
121
+ clientCredentials: r?.clientCredentials,
122
+ authorizationCode: r?.authorizationCode
117
123
  },
118
- e
124
+ r
119
125
  );
120
126
  return {
121
- ...t,
122
- ...u(a.flows).length ? { flows: a.flows } : {}
127
+ ...e,
128
+ ...p(s.flows).length ? { flows: s.flows } : {}
123
129
  };
124
130
  }
125
- return t;
131
+ return e;
126
132
  };
127
133
  export {
128
- C as extractSecuritySchemeSecrets
134
+ h as extractSecuritySchemeSecrets
129
135
  };
@@ -1,11 +1,11 @@
1
- import type { XScalarAuthUrl, XScalarSecretClientId, XScalarSecretClientSecret, XScalarSecretHTTP, XScalarSecretRedirectUri, XScalarSecretRefreshToken, XScalarSecretToken, XScalarTokenUrl } from '@scalar/workspace-store/schemas/extensions/security';
1
+ import type { XScalarAuthUrl, XScalarCredentialsLocation, XScalarSecretClientId, XScalarSecretClientSecret, XScalarSecretHTTP, XScalarSecretRedirectUri, XScalarSecretRefreshToken, XScalarSecretToken, XScalarTokenUrl } from '@scalar/workspace-store/schemas/extensions/security';
2
2
  import type { OAuthFlowAuthorizationCode, OAuthFlowClientCredentials, OAuthFlowImplicit, OAuthFlowPassword } from '@scalar/workspace-store/schemas/v3.1/strict/oauth-flow';
3
3
  import type { ApiKeyObject, HttpObject, OAuth2Object, OpenIdConnectObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
4
4
  type OAuthFlowCommonSecret = XScalarSecretClientId & XScalarSecretToken & XScalarSecretRefreshToken & XScalarAuthUrl & XScalarTokenUrl;
5
5
  export type OAuthFlowImplicitSecret = OAuthFlowImplicit & OAuthFlowCommonSecret & XScalarSecretRedirectUri;
6
- export type OAuthFlowPasswordSecret = OAuthFlowPassword & OAuthFlowCommonSecret & XScalarSecretHTTP & XScalarSecretClientSecret;
7
- export type OAuthFlowClientCredentialsSecret = OAuthFlowClientCredentials & OAuthFlowCommonSecret & XScalarSecretClientSecret;
8
- export type OAuthFlowAuthorizationCodeSecret = OAuthFlowAuthorizationCode & OAuthFlowCommonSecret & XScalarSecretClientSecret & XScalarSecretRedirectUri;
6
+ export type OAuthFlowPasswordSecret = OAuthFlowPassword & OAuthFlowCommonSecret & XScalarSecretHTTP & XScalarSecretClientSecret & XScalarCredentialsLocation;
7
+ export type OAuthFlowClientCredentialsSecret = OAuthFlowClientCredentials & OAuthFlowCommonSecret & XScalarSecretClientSecret & XScalarCredentialsLocation;
8
+ export type OAuthFlowAuthorizationCodeSecret = OAuthFlowAuthorizationCode & OAuthFlowCommonSecret & XScalarSecretClientSecret & XScalarSecretRedirectUri & XScalarCredentialsLocation;
9
9
  export type OAuthFlowsObjectSecret = {
10
10
  implicit?: OAuthFlowImplicitSecret;
11
11
  password?: OAuthFlowPasswordSecret;
@@ -1 +1 @@
1
- {"version":3,"file":"secret-types.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/helpers/secret-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,EAChB,MAAM,qDAAqD,CAAA;AAC5D,OAAO,KAAK,EACV,0BAA0B,EAC1B,0BAA0B,EAC1B,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,wDAAwD,CAAA;AAC/D,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,mBAAmB,EACpB,MAAM,8DAA8D,CAAA;AAErE,KAAK,qBAAqB,GAAG,qBAAqB,GAChD,kBAAkB,GAClB,yBAAyB,GACzB,cAAc,GACd,eAAe,CAAA;AAEjB,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG,qBAAqB,GAAG,wBAAwB,CAAA;AAE1G,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GACrD,qBAAqB,GACrB,iBAAiB,GACjB,yBAAyB,CAAA;AAE3B,MAAM,MAAM,gCAAgC,GAAG,0BAA0B,GACvE,qBAAqB,GACrB,yBAAyB,CAAA;AAE3B,MAAM,MAAM,gCAAgC,GAAG,0BAA0B,GACvE,qBAAqB,GACrB,yBAAyB,GACzB,wBAAwB,CAAA;AAE1B,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,uBAAuB,CAAA;IAClC,QAAQ,CAAC,EAAE,uBAAuB,CAAA;IAClC,iBAAiB,CAAC,EAAE,gCAAgC,CAAA;IACpD,iBAAiB,CAAC,EAAE,gCAAgC,CAAA;CACrD,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,kBAAkB,CAAA;AAClE,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,iBAAiB,GAAG,kBAAkB,CAAA;AAClF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,GAAG;IAAE,KAAK,EAAE,sBAAsB,CAAA;CAAE,CAAA;AAChG,MAAM,MAAM,yBAAyB,GAAG,mBAAmB,GAAG;IAAE,KAAK,CAAC,EAAE,sBAAsB,CAAA;CAAE,CAAA;AAEhG,MAAM,MAAM,0BAA0B,GAClC,kBAAkB,GAClB,gBAAgB,GAChB,kBAAkB,GAClB,yBAAyB,CAAA"}
1
+ {"version":3,"file":"secret-types.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/helpers/secret-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,0BAA0B,EAC1B,qBAAqB,EACrB,yBAAyB,EACzB,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,EAChB,MAAM,qDAAqD,CAAA;AAC5D,OAAO,KAAK,EACV,0BAA0B,EAC1B,0BAA0B,EAC1B,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,wDAAwD,CAAA;AAC/D,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,mBAAmB,EACpB,MAAM,8DAA8D,CAAA;AAErE,KAAK,qBAAqB,GAAG,qBAAqB,GAChD,kBAAkB,GAClB,yBAAyB,GACzB,cAAc,GACd,eAAe,CAAA;AAEjB,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG,qBAAqB,GAAG,wBAAwB,CAAA;AAE1G,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GACrD,qBAAqB,GACrB,iBAAiB,GACjB,yBAAyB,GACzB,0BAA0B,CAAA;AAE5B,MAAM,MAAM,gCAAgC,GAAG,0BAA0B,GACvE,qBAAqB,GACrB,yBAAyB,GACzB,0BAA0B,CAAA;AAE5B,MAAM,MAAM,gCAAgC,GAAG,0BAA0B,GACvE,qBAAqB,GACrB,yBAAyB,GACzB,wBAAwB,GACxB,0BAA0B,CAAA;AAE5B,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,uBAAuB,CAAA;IAClC,QAAQ,CAAC,EAAE,uBAAuB,CAAA;IAClC,iBAAiB,CAAC,EAAE,gCAAgC,CAAA;IACpD,iBAAiB,CAAC,EAAE,gCAAgC,CAAA;CACrD,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,kBAAkB,CAAA;AAClE,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,iBAAiB,GAAG,kBAAkB,CAAA;AAClF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,GAAG;IAAE,KAAK,EAAE,sBAAsB,CAAA;CAAE,CAAA;AAChG,MAAM,MAAM,yBAAyB,GAAG,mBAAmB,GAAG;IAAE,KAAK,CAAC,EAAE,sBAAsB,CAAA;CAAE,CAAA;AAEhG,MAAM,MAAM,0BAA0B,GAClC,kBAAkB,GAClB,gBAAgB,GAChB,kBAAkB,GAClB,yBAAyB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/sidebar/SidebarMenu.vue"],"names":[],"mappings":"AA0EA,OAAO,EAOL,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAA;AAG3B,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,eAAe,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/B;;;OAGG;IACH,UAAU,EAAE,cAAc,EAAE,CAAA;CAC7B,CAAC;AAcF,KAAK,WAAW,GAAG;IACjB,oEAAoE;IACpE,kBAAkB,CAAC,IAAI,OAAO,CAAA;CAC/B,CAAC;AA8IF,QAAA,MAAM,UAAU;;;;;;;;kFAGd,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
+ {"version":3,"file":"SidebarMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/sidebar/SidebarMenu.vue"],"names":[],"mappings":"AA2EA,OAAO,EAQL,KAAK,cAAc,EACpB,MAAM,oBAAoB,CAAA;AAG3B,KAAK,WAAW,GAAG;IACjB;;;OAGG;IACH,eAAe,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/B;;;OAGG;IACH,UAAU,EAAE,cAAc,EAAE,CAAA;CAC7B,CAAC;AAcF,KAAK,WAAW,GAAG;IACjB,oEAAoE;IACpE,kBAAkB,CAAC,IAAI,OAAO,CAAA;CAC/B,CAAC;AAyJF,QAAA,MAAM,UAAU;;;;;;;;kFAGd,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,35 +1,37 @@
1
- import { defineComponent as p, createBlock as u, openBlock as k, unref as t, withCtx as r, createVNode as o, renderSlot as d, createTextVNode as m } from "vue";
2
- import { ScalarMenu as S, ScalarMenuSection as f, ScalarMenuWorkspacePicker as w, ScalarMenuLink as M, ScalarMenuResources as g, ScalarMenuSupport as v } from "@scalar/components";
3
- import { ScalarIconGear as C } from "@scalar/icons";
4
- const x = /* @__PURE__ */ p({
1
+ import { defineComponent as u, createBlock as p, openBlock as k, unref as e, withCtx as a, createVNode as o, renderSlot as d, createTextVNode as m } from "vue";
2
+ import { ScalarMenu as S, ScalarMenuSection as f, ScalarMenuWorkspacePicker as w, ScalarMenuLink as M, ScalarMenuResources as g, ScalarMenuSupport as v, ScalarMenuProducts as C } from "@scalar/components";
3
+ import { ScalarIconGear as V } from "@scalar/icons";
4
+ const B = /* @__PURE__ */ u({
5
5
  __name: "SidebarMenu",
6
6
  props: {
7
7
  activeWorkspace: {},
8
8
  workspaces: {}
9
9
  },
10
10
  emits: ["create:workspace", "select:workspace", "navigate:to:settings"],
11
- setup(n, { emit: i }) {
12
- const a = i;
13
- return (c, e) => (k(), u(t(S), null, {
14
- products: r(() => [...e[2] || (e[2] = [])]),
15
- sections: r(({ close: l }) => [
16
- o(t(f), null, {
17
- default: r(() => [
18
- d(c.$slots, "sidebarMenuActions", {}, () => [
19
- o(t(w), {
11
+ setup(n, { emit: c }) {
12
+ const r = c;
13
+ return (l, t) => (k(), p(e(S), null, {
14
+ products: a(() => [
15
+ o(e(C), { selected: "client" })
16
+ ]),
17
+ sections: a(({ close: i }) => [
18
+ o(e(f), null, {
19
+ default: a(() => [
20
+ d(l.$slots, "sidebarMenuActions", {}, () => [
21
+ o(e(w), {
20
22
  modelValue: n.activeWorkspace.id,
21
23
  workspaceOptions: n.workspaces,
22
- onCreateWorkspace: e[0] || (e[0] = (s) => a("create:workspace")),
23
- "onUpdate:modelValue": e[1] || (e[1] = (s) => a("select:workspace", s))
24
+ onCreateWorkspace: t[0] || (t[0] = (s) => r("create:workspace")),
25
+ "onUpdate:modelValue": t[1] || (t[1] = (s) => r("select:workspace", s))
24
26
  }, null, 8, ["modelValue", "workspaceOptions"]),
25
- o(t(M), {
27
+ o(e(M), {
26
28
  is: "button",
27
- icon: t(C),
29
+ icon: e(V),
28
30
  onClick: () => {
29
- l(), a("navigate:to:settings");
31
+ i(), r("navigate:to:settings");
30
32
  }
31
33
  }, {
32
- default: r(() => [...e[3] || (e[3] = [
34
+ default: a(() => [...t[2] || (t[2] = [
33
35
  m(" Settings ", -1)
34
36
  ])]),
35
37
  _: 1
@@ -38,13 +40,13 @@ const x = /* @__PURE__ */ p({
38
40
  ]),
39
41
  _: 2
40
42
  }, 1024),
41
- o(t(g)),
42
- o(t(v))
43
+ o(e(g)),
44
+ o(e(v))
43
45
  ]),
44
46
  _: 3
45
47
  }));
46
48
  }
47
49
  });
48
50
  export {
49
- x as default
51
+ B as default
50
52
  };
@@ -41,14 +41,14 @@ function R({
41
41
  onBeforeExecute: (e) => ({
42
42
  ...e,
43
43
  callback: async (m) => {
44
- m === "success" && (await c.replace({
44
+ m === "success" && (i(f.value?.workspace.activeDocument?.["x-scalar-navigation"]?.name), await c.replace({
45
45
  name: "example",
46
46
  params: {
47
47
  method: e.payload.method,
48
48
  pathEncoded: encodeURIComponent(e.payload.path),
49
49
  exampleName: s.value?.params.exampleName
50
50
  }
51
- }), i(f.value?.workspace.activeDocument?.["x-scalar-navigation"]?.name)), e.callback(m);
51
+ })), e.callback(m);
52
52
  }
53
53
  })
54
54
  },
@@ -7,7 +7,7 @@ export declare const useEditorState: () => {
7
7
  isEditorMaximized: import("vue").Ref<boolean, boolean>;
8
8
  isYamlMode: import("vue").ComputedRef<boolean>;
9
9
  editorBottomPadding: import("vue").ComputedRef<46 | 155>;
10
- editorRootClass: import("vue").ComputedRef<"" | "fixed inset-0 z-50 h-screen w-screen border bg-b-1 p-3">;
10
+ editorRootClass: import("vue").ComputedRef<"" | "fixed inset-0 z-50 h-screen w-screen border bg-b-1 p-3 mac:pt-12">;
11
11
  getLanguageToggleClass: (isActive: boolean) => string;
12
12
  toggleEditorMaximized: () => void;
13
13
  };
@@ -1,9 +1,9 @@
1
1
  import { ref as e, computed as o } from "vue";
2
- const g = 46, u = 155, E = () => {
2
+ const g = 46, u = 155, p = () => {
3
3
  const n = e(!1), a = e(!1), s = e("json"), i = e(!1), t = e(!1), c = o(() => s.value === "yaml"), r = o(
4
4
  () => i.value ? u : g
5
5
  ), d = o(
6
- () => t.value ? "fixed inset-0 z-50 h-screen w-screen border bg-b-1 p-3" : ""
6
+ () => t.value ? "fixed inset-0 z-50 h-screen w-screen border bg-b-1 p-3 mac:pt-12" : ""
7
7
  );
8
8
  return {
9
9
  isAutoSaveEnabled: n,
@@ -21,5 +21,5 @@ const g = 46, u = 155, E = () => {
21
21
  };
22
22
  };
23
23
  export {
24
- E as useEditorState
24
+ p as useEditorState
25
25
  };
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  key: string;
6
6
  label: string;
7
7
  placeholder: string;
8
+ lineWrapping?: boolean;
8
9
  }[];
9
10
  data: Record<string, any>;
10
11
  onUpdate: (key: string, value: string | number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Form.vue"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAQnH,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;KACpB,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IACvD,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;AAyKF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK7C,QAAA,MAAM,UAAU,kSAEd,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
+ {"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Form.vue"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAQnH,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;QACnB,YAAY,CAAC,EAAE,OAAO,CAAA;KACvB,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAA;IACvD,WAAW,EAAE,kBAAkB,CAAA;CAChC,CAAC;AAyKF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK7C,QAAA,MAAM,UAAU,kSAEd,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,10 +1,10 @@
1
- import { defineComponent as p, useId as y, createBlock as o, openBlock as n, createSlots as c, withCtx as t, createElementVNode as a, createCommentVNode as h, createElementBlock as s, Fragment as b, renderList as g, createVNode as m, unref as r, toDisplayString as u, renderSlot as v } from "vue";
1
+ import { defineComponent as k, useId as y, createBlock as a, openBlock as n, createSlots as c, withCtx as l, createElementVNode as o, createCommentVNode as g, createElementBlock as s, Fragment as h, renderList as b, createVNode as m, unref as r, toDisplayString as f, renderSlot as v } from "vue";
2
2
  import { ScalarIcon as V } from "@scalar/components";
3
3
  import x from "../../../../components/ViewLayout/ViewLayoutSection.vue.js";
4
4
  import _ from "../../../components/data-table/DataTable.vue.js";
5
5
  import S from "../../../components/data-table/DataTableInput.vue.js";
6
6
  import U from "../../../components/data-table/DataTableRow.vue.js";
7
- const $ = { key: 0 }, w = { class: "flex flex-1 flex-col gap-1.5" }, B = ["for"], C = { class: "centered-y bg-b-2 flex-center absolute right-1 z-1 rounded px-1 py-0.5" }, j = /* @__PURE__ */ p({
7
+ const $ = { key: 0 }, w = { class: "flex flex-1 flex-col gap-1.5" }, B = ["for"], C = { class: "centered-y bg-b-2 flex-center absolute right-1 z-1 rounded px-1 py-0.5" }, T = /* @__PURE__ */ k({
8
8
  __name: "Form",
9
9
  props: {
10
10
  title: {},
@@ -15,35 +15,35 @@ const $ = { key: 0 }, w = { class: "flex flex-1 flex-col gap-1.5" }, B = ["for"]
15
15
  },
16
16
  setup(e) {
17
17
  const d = y();
18
- return (i, D) => (n(), o(x, { class: "last:rounded-b-lg" }, c({
19
- default: t(() => [
20
- a("div", w, [
21
- Object.keys(e.data).length > 0 ? (n(), o(_, {
18
+ return (i, D) => (n(), a(x, { class: "last:rounded-b-lg" }, c({
19
+ default: l(() => [
20
+ o("div", w, [
21
+ Object.keys(e.data).length > 0 ? (n(), a(_, {
22
22
  key: 0,
23
23
  class: "rounded-b-lg",
24
24
  columns: [""]
25
25
  }, {
26
- default: t(() => [
27
- (n(!0), s(b, null, g(e.options, (l, f) => (n(), o(U, { key: f }, {
28
- default: t(() => [
26
+ default: l(() => [
27
+ (n(!0), s(h, null, b(e.options, (t, u) => (n(), a(U, { key: u }, {
28
+ default: l(() => [
29
29
  m(S, {
30
30
  id: r(d),
31
31
  class: "pr-9",
32
32
  environment: e.environment,
33
- lineWrapping: "",
34
- modelValue: e.data[l.key] ?? "",
35
- placeholder: l.placeholder,
36
- "onUpdate:modelValue": (k) => e.onUpdate(l.key, k)
33
+ lineWrapping: t.lineWrapping ?? !1,
34
+ modelValue: e.data[t.key] ?? "",
35
+ placeholder: t.placeholder,
36
+ "onUpdate:modelValue": (p) => e.onUpdate(t.key, p)
37
37
  }, c({
38
- default: t(() => [
39
- a("label", { for: r(d) }, u(l.label), 9, B)
38
+ default: l(() => [
39
+ o("label", { for: r(d) }, f(t.label), 9, B)
40
40
  ]),
41
41
  _: 2
42
42
  }, [
43
- l.key === "description" ? {
43
+ t.key === "description" ? {
44
44
  name: "icon",
45
- fn: t(() => [
46
- a("div", C, [
45
+ fn: l(() => [
46
+ o("div", C, [
47
47
  m(r(V), {
48
48
  icon: "Markdown",
49
49
  size: "lg"
@@ -52,21 +52,21 @@ const $ = { key: 0 }, w = { class: "flex flex-1 flex-col gap-1.5" }, B = ["for"]
52
52
  ]),
53
53
  key: "0"
54
54
  } : void 0
55
- ]), 1032, ["id", "environment", "modelValue", "placeholder", "onUpdate:modelValue"])
55
+ ]), 1032, ["id", "environment", "lineWrapping", "modelValue", "placeholder", "onUpdate:modelValue"])
56
56
  ]),
57
57
  _: 2
58
58
  }, 1024))), 128))
59
59
  ]),
60
60
  _: 1
61
- })) : h("", !0)
61
+ })) : g("", !0)
62
62
  ])
63
63
  ]),
64
64
  _: 2
65
65
  }, [
66
66
  e.title || i.$slots.title ? {
67
67
  name: "title",
68
- fn: t(() => [
69
- e.title ? (n(), s("span", $, u(e.title), 1)) : v(i.$slots, "title", { key: 1 })
68
+ fn: l(() => [
69
+ e.title ? (n(), s("span", $, f(e.title), 1)) : v(i.$slots, "title", { key: 1 })
70
70
  ]),
71
71
  key: "0"
72
72
  } : void 0
@@ -74,5 +74,5 @@ const $ = { key: 0 }, w = { class: "flex flex-1 flex-col gap-1.5" }, B = ["for"]
74
74
  }
75
75
  });
76
76
  export {
77
- j as default
77
+ T as default
78
78
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Servers.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Servers.vue"],"names":[],"mappings":"AA8zBA,QAAA,MAAM,YAAY;;;;;;;;;;;;kGAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"Servers.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Servers.vue"],"names":[],"mappings":"AAg0BA,QAAA,MAAM,YAAY;;;;;;;;;;;;kGAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, ref as T, computed as h, watchEffect as E, createElementBlock as v, openBlock as i, Fragment as b, createVNode as n, createSlots as F, withCtx as u, createElementVNode as r, normalizeClass as U, renderList as j, createBlock as M, unref as s, toDisplayString as W, createCommentVNode as H, createTextVNode as d } from "vue";
1
+ import { defineComponent as L, ref as T, computed as h, watchEffect as E, createElementBlock as v, openBlock as i, Fragment as b, createVNode as n, createSlots as F, withCtx as u, createElementVNode as r, normalizeClass as U, renderList as W, createBlock as M, unref as s, toDisplayString as j, createCommentVNode as H, createTextVNode as d } from "vue";
2
2
  import { useModal as q, ScalarMarkdown as G, ScalarButton as O, ScalarToggle as J, ScalarModal as K } from "@scalar/components";
3
3
  import { debounce as Q } from "@scalar/helpers/general/debounce";
4
4
  import { isHttpMethod as D } from "@scalar/helpers/http/is-http-method";
@@ -46,7 +46,8 @@ const le = { class: "flex h-8 items-center" }, oe = { class: "flex flex-col gap-
46
46
  {
47
47
  label: "Description",
48
48
  key: "description",
49
- placeholder: "Production"
49
+ placeholder: "Production",
50
+ lineWrapping: !0
50
51
  }
51
52
  ], R = (l) => {
52
53
  c.value = l, g.show();
@@ -116,7 +117,7 @@ const le = { class: "flex h-8 items-center" }, oe = { class: "flex flex-col gap-
116
117
  ])
117
118
  }, [
118
119
  r("div", oe, [
119
- (i(!0), v(b, null, j(k.value, (o, p) => (i(), v("div", {
120
+ (i(!0), v(b, null, W(k.value, (o, p) => (i(), v("div", {
120
121
  key: p,
121
122
  class: "rounded-lg border"
122
123
  }, [
@@ -125,7 +126,7 @@ const le = { class: "flex h-8 items-center" }, oe = { class: "flex flex-col gap-
125
126
  key: 0,
126
127
  class: "self-center",
127
128
  value: o.description
128
- }, null, 8, ["value"])) : (i(), v("span", ne, W(B(o, p)), 1)),
129
+ }, null, 8, ["value"])) : (i(), v("span", ne, j(B(o, p)), 1)),
129
130
  n(s(O), {
130
131
  class: "hover:bg-b-3 hover:text-c-1 h-fit p-1.25",
131
132
  "data-testid": "delete-server-button",
@@ -84,7 +84,7 @@ const V = {
84
84
  )
85
85
  )), g = t(
86
86
  () => b(a(e.options)?.hiddenClients)
87
- ), x = "2.37.0";
87
+ ), x = "2.38.1";
88
88
  return (n, o) => e.path && e.method && e.exampleName && r.value ? (m(), C(c(R), {
89
89
  key: 0,
90
90
  activeEnvironment: e.workspaceStore.workspace["x-scalar-active-environment"],
@@ -1 +1 @@
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;AAgEF,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
+ {"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,5 +1,5 @@
1
- import { defineComponent as i, useSlots as r, createElementBlock as s, openBlock as o, createCommentVNode as l, renderSlot as c, createElementVNode as n } from "vue";
2
- const a = { class: "flex flex-col gap-2" }, d = {
1
+ import { defineComponent as c, useSlots as a, createElementBlock as s, openBlock as o, createCommentVNode as l, renderSlot as i, createElementVNode as n } from "vue";
2
+ const r = { class: "flex flex-col gap-2" }, d = {
3
3
  key: 0,
4
4
  class: "flex items-start justify-between gap-2"
5
5
  }, _ = { class: "flex flex-col gap-2" }, p = {
@@ -7,26 +7,26 @@ const a = { class: "flex flex-col gap-2" }, d = {
7
7
  class: "flex h-8 items-center"
8
8
  }, f = { class: "font-bold" }, m = {
9
9
  key: 1,
10
- class: "text-c-2 mb-4 text-sm"
11
- }, x = /* @__PURE__ */ i({
10
+ class: "text-c-2 mb-4 text-sm leading-tight"
11
+ }, x = /* @__PURE__ */ c({
12
12
  __name: "Section",
13
13
  setup(u) {
14
- const e = r();
15
- return (t, h) => (o(), s("div", a, [
14
+ const e = a();
15
+ return (t, h) => (o(), s("div", r, [
16
16
  e.title || e.description ? (o(), s("div", d, [
17
17
  n("div", _, [
18
18
  e.title ? (o(), s("div", p, [
19
19
  n("h3", f, [
20
- c(t.$slots, "title")
20
+ i(t.$slots, "title")
21
21
  ])
22
22
  ])) : l("", !0),
23
23
  e.description ? (o(), s("p", m, [
24
- c(t.$slots, "description")
24
+ i(t.$slots, "description")
25
25
  ])) : l("", !0)
26
26
  ]),
27
- e.actions ? c(t.$slots, "actions", { key: 0 }) : l("", !0)
27
+ e.actions ? i(t.$slots, "actions", { key: 0 }) : l("", !0)
28
28
  ])) : l("", !0),
29
- c(t.$slots, "default")
29
+ i(t.$slots, "default")
30
30
  ]));
31
31
  }
32
32
  });
@@ -33,7 +33,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
33
33
  }));
34
34
  }, f = (u) => {
35
35
  u?.createNew && g.name === "request" && p();
36
- }, v = "2.37.0";
36
+ }, v = "2.38.1";
37
37
  return q(() => a.hotKeys.on(f)), R(() => a.hotKeys.off(f)), (u, e) => (l(), n("div", W, [
38
38
  s("div", {
39
39
  class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.37.0",
21
+ "version": "2.38.1",
22
22
  "engines": {
23
23
  "node": ">=22"
24
24
  },
@@ -341,25 +341,25 @@
341
341
  "yaml": "^2.8.0",
342
342
  "zod": "^4.3.5",
343
343
  "@scalar/analytics-client": "1.1.0",
344
+ "@scalar/components": "0.20.9",
344
345
  "@scalar/draggable": "0.4.0",
345
- "@scalar/components": "0.20.7",
346
346
  "@scalar/icons": "0.6.0",
347
- "@scalar/helpers": "0.4.1",
348
347
  "@scalar/import": "0.5.2",
349
348
  "@scalar/json-magic": "0.12.3",
350
- "@scalar/oas-utils": "0.10.6",
349
+ "@scalar/helpers": "0.4.1",
350
+ "@scalar/oas-utils": "0.10.8",
351
+ "@scalar/openapi-parser": "0.25.4",
351
352
  "@scalar/object-utils": "1.3.2",
352
- "@scalar/openapi-parser": "0.25.3",
353
+ "@scalar/openapi-types": "0.6.0",
353
354
  "@scalar/postman-to-openapi": "0.5.2",
354
- "@scalar/sidebar": "0.8.7",
355
+ "@scalar/snippetz": "0.7.4",
355
356
  "@scalar/themes": "0.15.0",
356
- "@scalar/openapi-types": "0.6.0",
357
357
  "@scalar/types": "0.7.3",
358
- "@scalar/use-codemirror": "0.14.7",
358
+ "@scalar/sidebar": "0.8.9",
359
+ "@scalar/use-codemirror": "0.14.9",
359
360
  "@scalar/use-hooks": "0.4.0",
360
- "@scalar/workspace-store": "0.40.0",
361
361
  "@scalar/use-toasts": "0.10.0",
362
- "@scalar/snippetz": "0.7.4"
362
+ "@scalar/workspace-store": "0.40.2"
363
363
  },
364
364
  "devDependencies": {
365
365
  "@tailwindcss/vite": "^4.1.18",
@@ -376,7 +376,7 @@
376
376
  "vitest": "4.0.16",
377
377
  "@scalar/build-tooling": "0.5.0",
378
378
  "@scalar/galaxy": "0.6.0",
379
- "@scalar/pre-post-request-scripts": "0.3.7"
379
+ "@scalar/pre-post-request-scripts": "0.3.9"
380
380
  },
381
381
  "scripts": {
382
382
  "build": "scalar-build-vite",