@scalar/api-client 2.3.2 → 2.3.4

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 (39) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/components/CodeInput/CodeInput.test.d.ts +2 -0
  3. package/dist/components/CodeInput/CodeInput.test.d.ts.map +1 -0
  4. package/dist/components/CodeInput/CodeInput.vue.d.ts +8 -0
  5. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  6. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  7. package/dist/components/CodeInput/CodeInput.vue2.js +86 -80
  8. package/dist/components/DataTable/DataTableInput.vue.d.ts +13 -1
  9. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  10. package/dist/layouts/App/create-api-client-app.d.ts +3 -3
  11. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  12. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  13. package/dist/layouts/Modal/ApiClientModal.vue2.js +27 -28
  14. package/dist/layouts/Modal/create-api-client-modal.d.ts +6 -6
  15. package/dist/layouts/Web/create-api-client-web.d.ts +3 -3
  16. package/dist/libs/create-client.d.ts +3 -3
  17. package/dist/libs/create-client.d.ts.map +1 -1
  18. package/dist/libs/create-client.js +53 -54
  19. package/dist/libs/create-client.test.d.ts +2 -0
  20. package/dist/libs/create-client.test.d.ts.map +1 -0
  21. package/dist/store/import-spec.d.ts.map +1 -1
  22. package/dist/store/store.d.ts +14 -35
  23. package/dist/store/store.d.ts.map +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
  26. package/dist/views/Request/RequestRoot.vue.js +1 -1
  27. package/dist/views/Request/RequestRoot.vue2.js +50 -55
  28. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +1 -1
  29. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +1 -1
  30. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  31. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
  32. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +60 -62
  33. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  34. package/dist/views/Request/RequestSidebar.vue.js +2 -2
  35. package/dist/views/Request/RequestSidebar.vue2.js +142 -141
  36. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  37. package/dist/vitest.setup.d.ts +4 -0
  38. package/dist/vitest.setup.d.ts.map +1 -1
  39. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - ed2b1fb: chore: removed isReadOnly property as it isn't used anymore
8
+ - ebc29d5: fix: boolean values being nullable with tests
9
+ - 58acdc6: fix(api-client): focus the client modal sidebar button when modal opens
10
+
11
+ ## 2.3.3
12
+
13
+ ### Patch Changes
14
+
15
+ - cd75eeb: fix: update collection in multi doc
16
+ - 4093692: fix: updates multiple auth style
17
+ - Updated dependencies [cd75eeb]
18
+ - Updated dependencies [39c0f47]
19
+ - @scalar/oas-utils@0.2.120
20
+ - @scalar/types@0.1.1
21
+ - @scalar/import@0.3.2
22
+ - @scalar/postman-to-openapi@0.1.43
23
+ - @scalar/openapi-parser@0.10.10
24
+ - @scalar/snippetz@0.2.16
25
+ - @scalar/themes@0.9.79
26
+ - @scalar/components@0.13.37
27
+ - @scalar/use-codemirror@0.11.82
28
+ - @scalar/use-hooks@0.1.33
29
+
3
30
  ## 2.3.2
4
31
 
5
32
  ### Patch Changes
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CodeInput.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeInput.test.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.test.ts"],"names":[],"mappings":""}
@@ -1,6 +1,7 @@
1
1
  import type { Workspace } from '@scalar/oas-utils/entities';
2
2
  import type { Environment } from '@scalar/oas-utils/entities/environment';
3
3
  import { type CodeMirrorLanguage } from '@scalar/use-codemirror';
4
+ import { type Ref } from 'vue';
4
5
  import type { EnvVariable } from '../../store/active-entities';
5
6
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
7
  colorPicker?: boolean;
@@ -30,7 +31,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
30
31
  envVariables: EnvVariable[];
31
32
  workspace: Workspace;
32
33
  }, {
34
+ /** Expose focus method */
33
35
  focus: () => void;
36
+ handleChange: (value: string) => void | null;
37
+ handleSubmit: (value: string) => void;
38
+ handleBlur: (value: string) => void;
39
+ booleanOptions: import("vue").ComputedRef<string[]>;
40
+ codeMirror: Ref<import("@codemirror/view").EditorView | null, import("@codemirror/view").EditorView | null>;
41
+ modelValue: string | number;
34
42
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
35
43
  submit: (v: string) => any;
36
44
  "update:modelValue": (v: string) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AA6fA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEzE,OAAO,EAIL,KAAK,kBAAkB,EAExB,MAAM,wBAAwB,CAAA;AAM/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;;kBAYxC,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;;;;;;;;;kBAzBN,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;kBACN,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;iBACP,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;eAChB,SAAS;;;;;;;cAPT,OAAO;cAjBP,OAAO;iBADJ,OAAO;gBAIR,OAAO;sBAGD,OAAO;kBAMX,OAAO;0BACC,OAAO;mBAKd,OAAO;gBAEV,OAAO;;qBA6fM,GAAG;kBACN,GAAG;;AAthB9B,wBAilBC;AAeD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AAkgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CA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BACC,OAAO;mBAKd,OAAO;gBAEV,OAAO;;qBAygBM,GAAG;kBACN,GAAG;;AAliB9B,wBA6lBC;AAeD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1c67ee32"]]);
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-92277922"]]);
6
6
  export {
7
- _ as default
7
+ a as default
8
8
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as H, useAttrs as J, ref as i, toRef as a, watch as Q, computed as $, openBlock as n, createElementBlock as u, Fragment as W, normalizeClass as G, unref as d, createElementVNode as m, toDisplayString as X, createBlock as y, mergeProps as Y, withKeys as g, withModifiers as q, createVNode as Z, createCommentVNode as f, createTextVNode as V, renderSlot as E } from "vue";
1
+ import { defineComponent as H, useAttrs as J, ref as i, toRef as r, watch as Q, computed as I, openBlock as n, createElementBlock as d, Fragment as W, normalizeClass as G, unref as u, createElementVNode as m, toDisplayString as X, createBlock as y, mergeProps as Y, withKeys as g, withModifiers as N, createVNode as Z, createCommentVNode as f, createTextVNode as k, renderSlot as R } from "vue";
2
2
  import { ScalarIcon as _ } from "@scalar/components";
3
3
  import { prettyPrintJson as ee } from "@scalar/oas-utils/helpers";
4
4
  import { useCodeMirror as oe, useDropdown as te, colorPicker as le } from "@scalar/use-codemirror";
5
5
  import { useClipboard as ne } from "@scalar/use-hooks/useClipboard";
6
- import { nanoid as re } from "nanoid";
7
- import ae from "../../views/Environment/EnvironmentVariableDropdown.vue.js";
8
- import k from "../DataTable/DataTableInputSelect.vue.js";
9
- import { pillPlugin as se, backspaceCommand as ue } from "./codeVariableWidget.js";
10
- import { useLayout as de } from "../../hooks/useLayout.js";
6
+ import { nanoid as ae } from "nanoid";
7
+ import re from "../../views/Environment/EnvironmentVariableDropdown.vue.js";
8
+ import C from "../DataTable/DataTableInputSelect.vue.js";
9
+ import { pillPlugin as se, backspaceCommand as de } from "./codeVariableWidget.js";
10
+ import { useLayout as ue } from "../../hooks/useLayout.js";
11
11
  const ie = { class: "whitespace-nowrap" }, pe = ["id"], me = {
12
12
  key: 0,
13
13
  class: "scalar-code-copy z-context"
@@ -55,160 +55,166 @@ const ie = { class: "whitespace-nowrap" }, pe = ["id"], me = {
55
55
  workspace: {}
56
56
  },
57
57
  emits: ["submit", "update:modelValue", "curl", "blur"],
58
- setup(I, { expose: N, emit: R }) {
59
- var T;
60
- const o = I, s = R, C = J(), A = C.id || `id-${re()}`, B = i(!1), v = i(!1), x = i(""), S = i({ left: 0, top: 0 }), c = i(null), { layout: w } = de(), { copyToClipboard: M } = ne();
61
- function O(e) {
58
+ setup(A, { expose: M, emit: O }) {
59
+ var q;
60
+ const o = A, s = O, B = J(), K = B.id || `id-${ae()}`, x = i(!1), v = i(!1), S = i(""), P = i({ left: 0, top: 0 }), c = i(null), { layout: w } = ue(), { copyToClipboard: z } = ne();
61
+ function D(e) {
62
62
  var t;
63
- return e === o.modelValue ? null : o.importCurl && e.trim().toLowerCase().startsWith("curl") ? (s("curl", e), (t = r.value) == null || t.dispatch({
63
+ return e === o.modelValue ? null : o.importCurl && e.trim().toLowerCase().startsWith("curl") ? (s("curl", e), (t = a.value) == null || t.dispatch({
64
64
  changes: {
65
65
  from: 0,
66
- to: r.value.state.doc.length,
66
+ to: a.value.state.doc.length,
67
67
  insert: String(o.modelValue)
68
68
  }
69
69
  }), null) : o.handleFieldChange ? o.handleFieldChange(e) : s("update:modelValue", e);
70
70
  }
71
- function P(e) {
71
+ function h(e) {
72
72
  return o.handleFieldSubmit ? o.handleFieldSubmit(e) : s("submit", e);
73
73
  }
74
- function K(e) {
75
- B.value = !1, o.emitOnBlur && o.modelValue && P(e), s("blur", e);
74
+ function T(e) {
75
+ x.value = !1, o.emitOnBlur && o.modelValue && h(e), s("blur", e);
76
76
  }
77
- const h = [];
78
- o.colorPicker && h.push(le), h.push(
77
+ const V = [];
78
+ o.colorPicker && V.push(le), V.push(
79
79
  se({
80
80
  environment: o.environment,
81
81
  envVariables: o.envVariables,
82
82
  workspace: o.workspace,
83
83
  isReadOnly: w === "modal"
84
84
  }),
85
- ue
85
+ de
86
86
  );
87
- const D = i(null), { codeMirror: r } = oe({
88
- content: a(
87
+ const F = i(null), { codeMirror: a } = oe({
88
+ content: r(
89
89
  () => o.modelValue !== void 0 ? String(o.modelValue) : ""
90
90
  ),
91
91
  onChange: (e) => {
92
- O(e), L();
92
+ D(e), U();
93
93
  },
94
- onFocus: () => B.value = !0,
95
- onBlur: (e) => K(e),
96
- codeMirrorRef: D,
97
- disableTabIndent: a(() => o.disableTabIndent),
98
- disableEnter: a(() => o.disableEnter),
99
- disableCloseBrackets: a(() => o.disableCloseBrackets),
100
- lineNumbers: a(() => o.lineNumbers),
101
- language: a(() => o.language),
102
- lint: a(() => o.lint),
103
- extensions: h,
104
- placeholder: a(() => o.placeholder)
94
+ onFocus: () => x.value = !0,
95
+ onBlur: (e) => T(e),
96
+ codeMirrorRef: F,
97
+ disableTabIndent: r(() => o.disableTabIndent),
98
+ disableEnter: r(() => o.disableEnter),
99
+ disableCloseBrackets: r(() => o.disableCloseBrackets),
100
+ lineNumbers: r(() => o.lineNumbers),
101
+ language: r(() => o.language),
102
+ lint: r(() => o.lint),
103
+ extensions: V,
104
+ placeholder: r(() => o.placeholder)
105
105
  });
106
- (T = r.value) == null || T.focus(), Q(r, () => {
107
- r.value && Object.prototype.hasOwnProperty.call(C, "autofocus") && r.value.focus();
106
+ (q = a.value) == null || q.focus(), Q(a, () => {
107
+ a.value && Object.prototype.hasOwnProperty.call(B, "autofocus") && a.value.focus();
108
108
  });
109
- const { handleDropdownSelect: z, updateDropdownVisibility: L } = te({
110
- codeMirror: r,
111
- query: x,
109
+ const { handleDropdownSelect: L, updateDropdownVisibility: U } = te({
110
+ codeMirror: a,
111
+ query: S,
112
112
  showDropdown: v,
113
- dropdownPosition: S
114
- }), U = $(() => {
115
- var e;
116
- return o.type === "boolean" || (e = o.type) != null && e.includes("boolean") || o.nullable ? ["true", "false", "null"] : ["true", "false"];
117
- });
118
- N({
119
- focus: () => {
120
- var e;
121
- (e = r.value) == null || e.focus();
122
- }
123
- });
124
- const b = (e, t) => {
125
- var p, l, F;
126
- v.value ? e === "down" ? (t.preventDefault(), (p = c.value) == null || p.handleArrowKey("down")) : e === "up" ? (t.preventDefault(), (l = c.value) == null || l.handleArrowKey("up")) : e === "enter" && (t.preventDefault(), (F = c.value) == null || F.handleSelect()) : e === "escape" ? o.disableTabIndent || t.stopPropagation() : e === "enter" && t.target instanceof HTMLDivElement && P(t.target.textContent ?? "");
127
- }, j = $(() => Array.isArray(o.type) ? (
113
+ dropdownPosition: P
114
+ }), $ = I(
115
+ () => o.nullable ? ["true", "false", "null"] : ["true", "false"]
116
+ ), b = (e, t) => {
117
+ var p, l, E;
118
+ v.value ? e === "down" ? (t.preventDefault(), (p = c.value) == null || p.handleArrowKey("down")) : e === "up" ? (t.preventDefault(), (l = c.value) == null || l.handleArrowKey("up")) : e === "enter" && (t.preventDefault(), (E = c.value) == null || E.handleSelect()) : e === "escape" ? o.disableTabIndent || t.stopPropagation() : e === "enter" && t.target instanceof HTMLDivElement && h(t.target.textContent ?? "");
119
+ }, j = I(() => Array.isArray(o.type) ? (
128
120
  // Find the first type, that’s not 'null'
129
121
  o.type.find((e) => e !== "null") ?? "string"
130
122
  ) : (
131
123
  // If it’s not an array, just return the type
132
124
  o.type
133
125
  ));
134
- return (e, t) => {
126
+ return M({
127
+ /** Expose focus method */
128
+ focus: () => {
129
+ var e;
130
+ (e = a.value) == null || e.focus();
131
+ },
132
+ // Expose these methods for testing
133
+ handleChange: D,
134
+ handleSubmit: h,
135
+ handleBlur: T,
136
+ booleanOptions: $,
137
+ codeMirror: a,
138
+ modelValue: o.modelValue
139
+ }), (e, t) => {
135
140
  var p;
136
- return n(), u(W, null, [
137
- e.disabled ? (n(), u("div", {
141
+ return n(), d(W, null, [
142
+ e.disabled ? (n(), d("div", {
138
143
  key: 0,
139
- class: G(["text-c-2 flex cursor-default items-center justify-center", d(w) === "modal" ? "font-code pl-1 pr-2 text-sm" : "px-2"])
144
+ "data-testid": "code-input-disabled",
145
+ class: G(["text-c-2 flex cursor-default items-center justify-center", u(w) === "modal" ? "font-code pl-1 pr-2 text-sm" : "px-2"])
140
146
  }, [
141
147
  m("span", ie, X(e.modelValue), 1)
142
- ], 2)) : o.enum && o.enum.length ? (n(), y(k, {
148
+ ], 2)) : o.enum && o.enum.length ? (n(), y(C, {
143
149
  key: 1,
144
150
  default: o.default,
145
151
  modelValue: e.modelValue,
146
152
  type: j.value,
147
153
  value: o.enum,
148
154
  "onUpdate:modelValue": t[0] || (t[0] = (l) => s("update:modelValue", l))
149
- }, null, 8, ["default", "modelValue", "type", "value"])) : e.type === "boolean" || (p = e.type) != null && p.includes("boolean") ? (n(), y(k, {
155
+ }, null, 8, ["default", "modelValue", "type", "value"])) : e.type === "boolean" || (p = e.type) != null && p.includes("boolean") ? (n(), y(C, {
150
156
  key: 2,
151
157
  default: o.default,
152
158
  modelValue: e.modelValue,
153
- value: U.value,
159
+ value: $.value,
154
160
  "onUpdate:modelValue": t[1] || (t[1] = (l) => s("update:modelValue", l))
155
- }, null, 8, ["default", "modelValue", "value"])) : o.examples && o.examples.length ? (n(), y(k, {
161
+ }, null, 8, ["default", "modelValue", "value"])) : o.examples && o.examples.length ? (n(), y(C, {
156
162
  key: 3,
157
163
  default: o.default,
158
164
  modelValue: o.modelValue,
159
165
  value: o.examples,
160
166
  "onUpdate:modelValue": t[2] || (t[2] = (l) => s("update:modelValue", l))
161
- }, null, 8, ["default", "modelValue", "value"])) : (n(), u("div", Y({
167
+ }, null, 8, ["default", "modelValue", "value"])) : (n(), d("div", Y({
162
168
  key: 4,
163
- id: d(A)
169
+ id: u(K)
164
170
  }, e.$attrs, {
165
171
  ref_key: "codeMirrorRef",
166
- ref: D,
172
+ ref: F,
167
173
  class: ["group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden whitespace-nowrap text-xs leading-[1.44] -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline", {
168
174
  "flow-code-input--error": e.error
169
175
  }],
170
176
  onKeydown: [
171
- t[4] || (t[4] = g(q((l) => b("down", l), ["stop"]), ["down"])),
177
+ t[4] || (t[4] = g(N((l) => b("down", l), ["stop"]), ["down"])),
172
178
  t[5] || (t[5] = g((l) => b("enter", l), ["enter"])),
173
179
  t[6] || (t[6] = g((l) => b("escape", l), ["escape"])),
174
- t[7] || (t[7] = g(q((l) => b("up", l), ["stop"]), ["up"]))
180
+ t[7] || (t[7] = g(N((l) => b("up", l), ["stop"]), ["up"]))
175
181
  ]
176
182
  }), [
177
- e.isCopyable ? (n(), u("div", me, [
183
+ e.isCopyable ? (n(), d("div", me, [
178
184
  m("button", {
179
185
  class: "copy-button",
180
186
  type: "button",
181
- onClick: t[3] || (t[3] = (l) => d(M)(d(ee)(e.modelValue)))
187
+ onClick: t[3] || (t[3] = (l) => u(z)(u(ee)(e.modelValue)))
182
188
  }, [
183
189
  t[8] || (t[8] = m("span", { class: "sr-only" }, "Copy content", -1)),
184
- Z(d(_), {
190
+ Z(u(_), {
185
191
  icon: "Clipboard",
186
192
  size: "md"
187
193
  })
188
194
  ])
189
195
  ])) : f("", !0),
190
- e.disableTabIndent ? f("", !0) : (n(), u("div", fe, t[9] || (t[9] = [
191
- V(" Press "),
196
+ e.disableTabIndent ? f("", !0) : (n(), d("div", fe, t[9] || (t[9] = [
197
+ k(" Press "),
192
198
  m("kbd", { class: "-mx-0.25 rounded border px-0.5 font-mono" }, "Esc", -1),
193
- V(" then "),
199
+ k(" then "),
194
200
  m("kbd", { class: "-mx-0.25 rounded border px-0.5 font-mono" }, "Tab", -1),
195
- V(" to exit ")
201
+ k(" to exit ")
196
202
  ])))
197
203
  ], 16, pe)),
198
- e.$slots.warning ? (n(), u("div", ce, [
199
- E(e.$slots, "warning", {}, void 0, !0)
204
+ e.$slots.warning ? (n(), d("div", ce, [
205
+ R(e.$slots, "warning", {}, void 0, !0)
200
206
  ])) : f("", !0),
201
- E(e.$slots, "icon", {}, void 0, !0),
202
- e.required ? (n(), u("div", be, " Required ")) : f("", !0),
203
- v.value && e.withVariables && d(w) !== "modal" && e.environment ? (n(), y(ae, {
207
+ R(e.$slots, "icon", {}, void 0, !0),
208
+ e.required ? (n(), d("div", be, " Required ")) : f("", !0),
209
+ v.value && e.withVariables && u(w) !== "modal" && e.environment ? (n(), y(re, {
204
210
  key: 7,
205
211
  ref_key: "dropdownRef",
206
212
  ref: c,
207
- dropdownPosition: S.value,
213
+ dropdownPosition: P.value,
208
214
  envVariables: e.envVariables,
209
215
  environment: e.environment,
210
- query: x.value,
211
- onSelect: d(z)
216
+ query: S.value,
217
+ onSelect: u(L)
212
218
  }, null, 8, ["dropdownPosition", "envVariables", "environment", "query", "onSelect"])) : f("", !0)
213
219
  ], 64);
214
220
  };
@@ -111,6 +111,12 @@ declare function __VLS_template(): {
111
111
  onCurl?: (v: string) => any;
112
112
  }>, {
113
113
  focus: () => void;
114
+ handleChange: (value: string) => void | null;
115
+ handleSubmit: (value: string) => void;
116
+ handleBlur: (value: string) => void;
117
+ booleanOptions: import("vue").ComputedRef<string[]>;
118
+ codeMirror: import("vue").Ref<import("@codemirror/view").EditorView | null, import("@codemirror/view").EditorView | null>;
119
+ modelValue: string | number;
114
120
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
115
121
  submit: (v: string) => any;
116
122
  "update:modelValue": (v: string) => any;
@@ -188,8 +194,14 @@ declare function __VLS_template(): {
188
194
  "onUpdate:modelValue"?: (v: string) => any;
189
195
  onBlur?: (v: string) => any;
190
196
  onCurl?: (v: string) => any;
191
- }>, "focus" | ("nullable" | "disabled" | "colorPicker" | "emitOnBlur" | "disableTabIndent" | "disableEnter" | "disableCloseBrackets" | "withVariables" | "isCopyable")> & import("vue").ShallowUnwrapRef<{
197
+ }>, "modelValue" | "handleBlur" | "focus" | "codeMirror" | "handleChange" | "handleSubmit" | "booleanOptions" | ("nullable" | "disabled" | "colorPicker" | "emitOnBlur" | "disableTabIndent" | "disableEnter" | "disableCloseBrackets" | "withVariables" | "isCopyable")> & import("vue").ShallowUnwrapRef<{
192
198
  focus: () => void;
199
+ handleChange: (value: string) => void | null;
200
+ handleSubmit: (value: string) => void;
201
+ handleBlur: (value: string) => void;
202
+ booleanOptions: import("vue").ComputedRef<string[]>;
203
+ codeMirror: import("vue").Ref<import("@codemirror/view").EditorView | null, import("@codemirror/view").EditorView | null>;
204
+ modelValue: string | number;
193
205
  }> & {} & import("vue").ComponentCustomProperties & {} & {
194
206
  $slots: {
195
207
  warning?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAuLA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAO/C,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,sEAAsE;IACtE,cAAc,CAAC,EAAE,YAAY,GAAG,SAAS,CAAA;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,0EAA0E;IAC1E,qBAAqB,CAAC,EAAE,OAAO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P,OAAO;2BADM,OAAO;6EAkUjC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAepG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -415,7 +415,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
415
415
  watchMode?: boolean | undefined;
416
416
  integration?: string | null | undefined;
417
417
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
418
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
418
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
419
419
  setCollectionSecurity?: boolean;
420
420
  shouldLoad?: boolean;
421
421
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
@@ -466,7 +466,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
466
466
  watchMode?: boolean | undefined;
467
467
  integration?: string | null | undefined;
468
468
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
469
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
469
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
470
470
  setCollectionSecurity?: boolean;
471
471
  shouldLoad?: boolean;
472
472
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
@@ -507,7 +507,7 @@ export declare const createApiClientApp: (el: HTMLElement | null, configuration?
507
507
  watchMode?: boolean | undefined;
508
508
  integration?: string | null | undefined;
509
509
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
510
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
510
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
511
511
  setCollectionSecurity?: boolean;
512
512
  shouldLoad?: boolean;
513
513
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
@@ -1 +1 @@
1
- {"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/Modal/ApiClientModal.vue"],"names":[],"mappings":";AAuaA,wBAMG"}
1
+ {"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/Modal/ApiClientModal.vue"],"names":[],"mappings":";AAyaA,wBAMG"}
@@ -2,7 +2,7 @@ import o from "./ApiClientModal.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ded8b4d0"]]);
5
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b0cf3ebb"]]);
6
6
  export {
7
- m as default
7
+ a as default
8
8
  };
@@ -1,32 +1,31 @@
1
- import { defineComponent as f, ref as v, useId as w, watch as h, onBeforeMount as y, onMounted as _, onBeforeUnmount as k, withDirectives as C, openBlock as E, createElementBlock as K, createElementVNode as r, unref as a, createVNode as d, withCtx as x, vShow as F } from "vue";
2
- import { addScalarClassesToHeadless as M, ScalarTeleportRoot as T } from "@scalar/components";
3
- import { useFocusTrap as B } from "@vueuse/integrations/useFocusTrap";
4
- import { RouterView as P } from "vue-router";
5
- import { useActiveEntities as S } from "../../store/active-entities.js";
6
- import { useWorkspace as b } from "../../store/store.js";
7
- import { handleHotKeyDown as A } from "../../libs/hot-keys.js";
8
- const D = { class: "scalar scalar-app" }, V = { class: "scalar-container" }, $ = ["id"], U = /* @__PURE__ */ f({
1
+ import { defineComponent as f, ref as v, useId as h, watch as w, nextTick as y, onBeforeMount as _, onMounted as k, onBeforeUnmount as C, withDirectives as E, openBlock as T, createElementBlock as x, createElementVNode as r, unref as a, createVNode as d, withCtx as K, vShow as F } from "vue";
2
+ import { addScalarClassesToHeadless as M, ScalarTeleportRoot as B } from "@scalar/components";
3
+ import { useFocusTrap as P } from "@vueuse/integrations/useFocusTrap";
4
+ import { RouterView as S } from "vue-router";
5
+ import { useActiveEntities as b } from "../../store/active-entities.js";
6
+ import { useWorkspace as A } from "../../store/store.js";
7
+ import { handleHotKeyDown as D } from "../../libs/hot-keys.js";
8
+ const V = { class: "scalar scalar-app" }, $ = { class: "scalar-container" }, g = ["id"], j = /* @__PURE__ */ f({
9
9
  __name: "ApiClientModal",
10
- setup(g) {
11
- const { activeWorkspace: u } = S(), { modalState: o, events: n } = b(), l = v(null), s = w(), { activate: m, deactivate: p } = B(l, {
10
+ setup(H) {
11
+ const { activeWorkspace: m } = b(), { modalState: o, events: n } = A(), l = v(null), s = h(), { activate: u, deactivate: p } = P(l, {
12
12
  allowOutsideClick: !0,
13
- initialFocus: () => l.value,
14
13
  fallbackFocus: `#${s}`
15
- }), i = (e) => {
14
+ }), c = (e) => {
16
15
  var t;
17
- return A(e, n.hotKeys, (t = u.value) == null ? void 0 : t.hotKeyConfig);
16
+ return D(e, n.hotKeys, (t = m.value) == null ? void 0 : t.hotKeyConfig);
18
17
  };
19
- h(
18
+ w(
20
19
  () => o.open,
21
20
  (e) => {
22
- e ? (window.addEventListener("keydown", i), document.documentElement.style.overflow = "hidden", m()) : (window.removeEventListener("keydown", i), document.documentElement.style.removeProperty("overflow"), p());
21
+ e ? (window.addEventListener("keydown", c), document.documentElement.style.overflow = "hidden", u({ checkCanFocusTrap: () => y() })) : (window.removeEventListener("keydown", c), document.documentElement.style.removeProperty("overflow"), p());
23
22
  }
24
- ), y(() => M());
25
- const c = (e) => (e == null ? void 0 : e.closeModal) && o.open && o.hide();
26
- return _(() => n.hotKeys.on(c)), k(() => {
27
- document.documentElement.style.removeProperty("overflow"), n.hotKeys.off(c);
28
- }), (e, t) => C((E(), K("div", D, [
29
- r("div", V, [
23
+ ), _(() => M());
24
+ const i = (e) => (e == null ? void 0 : e.closeModal) && o.open && o.hide();
25
+ return k(() => n.hotKeys.on(i)), C(() => {
26
+ document.documentElement.style.removeProperty("overflow"), n.hotKeys.off(i);
27
+ }), (e, t) => E((T(), x("div", V, [
28
+ r("div", $, [
30
29
  r("div", {
31
30
  id: a(s),
32
31
  ref_key: "client",
@@ -35,18 +34,18 @@ const D = { class: "scalar scalar-app" }, V = { class: "scalar-container" }, $ =
35
34
  "aria-modal": "true",
36
35
  class: "scalar-app-layout scalar-client",
37
36
  role: "dialog",
38
- tabindex: "0"
37
+ tabindex: "-1"
39
38
  }, [
40
- d(a(T), null, {
41
- default: x(() => [
42
- d(a(P), { key: "$route.fullPath" })
39
+ d(a(B), null, {
40
+ default: K(() => [
41
+ d(a(S), { key: "$route.fullPath" })
43
42
  ]),
44
43
  _: 1
45
44
  })
46
- ], 8, $),
45
+ ], 8, g),
47
46
  r("div", {
48
47
  class: "scalar-app-exit -z-1",
49
- onClick: t[0] || (t[0] = (H) => a(o).hide())
48
+ onClick: t[0] || (t[0] = (I) => a(o).hide())
50
49
  })
51
50
  ])
52
51
  ], 512)), [
@@ -55,5 +54,5 @@ const D = { class: "scalar scalar-app" }, V = { class: "scalar-container" }, $ =
55
54
  }
56
55
  });
57
56
  export {
58
- U as default
57
+ j as default
59
58
  };
@@ -417,7 +417,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
417
417
  watchMode?: boolean | undefined;
418
418
  integration?: string | null | undefined;
419
419
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
420
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
420
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
421
421
  setCollectionSecurity?: boolean;
422
422
  shouldLoad?: boolean;
423
423
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
@@ -468,7 +468,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
468
468
  watchMode?: boolean | undefined;
469
469
  integration?: string | null | undefined;
470
470
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
471
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
471
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
472
472
  setCollectionSecurity?: boolean;
473
473
  shouldLoad?: boolean;
474
474
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
@@ -509,7 +509,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
509
509
  watchMode?: boolean | undefined;
510
510
  integration?: string | null | undefined;
511
511
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
512
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
512
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
513
513
  setCollectionSecurity?: boolean;
514
514
  shouldLoad?: boolean;
515
515
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
@@ -3959,7 +3959,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
3959
3959
  watchMode?: boolean | undefined;
3960
3960
  integration?: string | null | undefined;
3961
3961
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
3962
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
3962
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
3963
3963
  setCollectionSecurity?: boolean;
3964
3964
  shouldLoad?: boolean;
3965
3965
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
@@ -4010,7 +4010,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
4010
4010
  watchMode?: boolean | undefined;
4011
4011
  integration?: string | null | undefined;
4012
4012
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4013
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
4013
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
4014
4014
  setCollectionSecurity?: boolean;
4015
4015
  shouldLoad?: boolean;
4016
4016
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
@@ -4051,7 +4051,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
4051
4051
  watchMode?: boolean | undefined;
4052
4052
  integration?: string | null | undefined;
4053
4053
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
4054
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
4054
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
4055
4055
  setCollectionSecurity?: boolean;
4056
4056
  shouldLoad?: boolean;
4057
4057
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
@@ -415,7 +415,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
415
415
  watchMode?: boolean | undefined;
416
416
  integration?: string | null | undefined;
417
417
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
418
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
418
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
419
419
  setCollectionSecurity?: boolean;
420
420
  shouldLoad?: boolean;
421
421
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
@@ -466,7 +466,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
466
466
  watchMode?: boolean | undefined;
467
467
  integration?: string | null | undefined;
468
468
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
469
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
469
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
470
470
  setCollectionSecurity?: boolean;
471
471
  shouldLoad?: boolean;
472
472
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
@@ -507,7 +507,7 @@ export declare const createApiClientWeb: (el: HTMLElement | null, configuration?
507
507
  watchMode?: boolean | undefined;
508
508
  integration?: string | null | undefined;
509
509
  watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
510
- }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "baseServerURL"> & {
510
+ }, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
511
511
  setCollectionSecurity?: boolean;
512
512
  shouldLoad?: boolean;
513
513
  } & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{