@scalar/api-client 2.2.62 → 2.3.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 (40) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +2 -6
  3. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  4. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  5. package/dist/components/AddressBar/AddressBar.vue2.js +38 -38
  6. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  7. package/dist/components/CodeInput/CodeInput.vue.js +1 -1
  8. package/dist/components/CodeInput/CodeInput.vue2.js +21 -21
  9. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -0
  10. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  11. package/dist/components/DataTable/DataTableInput.vue.js +3 -3
  12. package/dist/components/DataTable/DataTableInput.vue2.js +48 -47
  13. package/dist/components/SectionFilter.vue.js +2 -2
  14. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
  15. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  16. package/dist/layouts/App/create-api-client-app.js +13 -14
  17. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  18. package/dist/layouts/Modal/create-api-client-modal.js +18 -19
  19. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  20. package/dist/layouts/Web/create-api-client-web.js +13 -14
  21. package/dist/libs/create-client.d.ts +1 -1
  22. package/dist/libs/create-client.d.ts.map +1 -1
  23. package/dist/libs/create-client.js +20 -20
  24. package/dist/style.css +1 -1
  25. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  26. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +8 -7
  27. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  28. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +21 -23
  29. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
  30. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +1 -1
  31. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  32. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
  33. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +74 -63
  34. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  35. package/dist/views/Request/RequestSection/RequestParams.vue.js +31 -31
  36. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  37. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +1 -1
  38. package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +17 -17
  39. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  40. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 7bc87ef: fix: using config url data attribute import
8
+
9
+ ## 2.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 5f9a8a2: feat!: remove the spec prefix, make content and url top-level attributes
14
+
15
+ ### Patch Changes
16
+
17
+ - 5be9418: fix: enhances request section icon positions
18
+ - Updated dependencies [5f9a8a2]
19
+ - Updated dependencies [14c5d22]
20
+ - @scalar/import@0.3.0
21
+ - @scalar/types@0.1.0
22
+ - @scalar/oas-utils@0.2.118
23
+ - @scalar/openapi-parser@0.10.10
24
+ - @scalar/snippetz@0.2.16
25
+ - @scalar/themes@0.9.77
26
+ - @scalar/postman-to-openapi@0.1.41
27
+ - @scalar/components@0.13.35
28
+ - @scalar/use-codemirror@0.11.80
29
+ - @scalar/use-hooks@0.1.31
30
+
31
+ ## 2.2.63
32
+
33
+ ### Patch Changes
34
+
35
+ - 00a429f: fix: remove turbo cache from deploy examples
36
+ - a0da28e: feat: adds security scheme auth description
37
+ - Updated dependencies [fc6a45e]
38
+ - @scalar/types@0.0.41
39
+ - @scalar/oas-utils@0.2.117
40
+ - @scalar/openapi-parser@0.10.10
41
+ - @scalar/snippetz@0.2.16
42
+ - @scalar/themes@0.9.76
43
+ - @scalar/import@0.2.37
44
+ - @scalar/postman-to-openapi@0.1.40
45
+ - @scalar/components@0.13.34
46
+ - @scalar/use-codemirror@0.11.79
47
+ - @scalar/use-hooks@0.1.30
48
+
3
49
  ## 2.2.62
4
50
 
5
51
  ### Patch Changes
package/README.md CHANGED
@@ -59,9 +59,7 @@ import { createApiClientApp } from '@/App'
59
59
 
60
60
  // Initialize
61
61
  await createApiClientApp(document.getElementById('scalar-client'), {
62
- spec: {
63
- url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.json',
64
- },
62
+ url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.json',
65
63
  proxyUrl: 'https://proxy.scalar.com',
66
64
  })
67
65
  ```
@@ -78,9 +76,7 @@ import { createApiClientApp } from '@/App'
78
76
  const { open } = await createApiClientApp(
79
77
  document.getElementById('scalar-client'),
80
78
  {
81
- spec: {
82
- url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.json',
83
- },
79
+ url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.json',
84
80
  proxyUrl: 'https://proxy.scalar.com',
85
81
  },
86
82
  )
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"AAiWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;;;;;AAibJ,wBAQG"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":"AAgWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EAET,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAQrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;;;;;AAgbJ,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AddressBar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-5e5a3c5f"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a1761ad5"]]);
5
5
  export {
6
- e as default
6
+ d as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as z, useId as I, ref as i, watch as A, openBlock as k, createElementBlock as L, unref as r, createElementVNode as l, normalizeClass as U, normalizeStyle as M, createVNode as u, createBlock as $, createCommentVNode as H, withCtx as N, toDisplayString as x } from "vue";
1
+ import { defineComponent as z, useId as I, ref as i, watch as L, openBlock as k, createElementBlock as U, unref as r, createElementVNode as t, normalizeClass as A, normalizeStyle as M, createVNode as u, createBlock as $, createCommentVNode as H, withCtx as N, toDisplayString as b } from "vue";
2
2
  import { ScalarButton as T, ScalarIcon as D } from "@scalar/components";
3
3
  import { REQUEST_METHODS as O } from "@scalar/oas-utils/helpers";
4
4
  import P from "../CodeInput/CodeInput.vue.js";
@@ -22,91 +22,91 @@ const G = ["id"], J = { class: "m-auto flex flex-row items-center" }, X = { clas
22
22
  },
23
23
  emits: ["importCurl"],
24
24
  setup(n) {
25
- const p = I(), { requestMutators: v, events: c } = j(), { layout: h } = F(), f = i(null), g = i(null), B = (e) => {
26
- n.operation.path !== e && v.edit(n.operation.uid, "path", e);
25
+ const m = I(), { requestMutators: p, events: c } = j(), { layout: v } = F(), h = i(null), x = i(null), B = (e) => {
26
+ n.operation.path !== e && p.edit(n.operation.uid, "path", e);
27
27
  };
28
- A(
28
+ L(
29
29
  () => n.operation.path,
30
30
  (e) => {
31
31
  e && B(e);
32
32
  }
33
33
  );
34
- const t = i(100), w = i(0), a = i(!1), s = i();
34
+ const l = i(100), w = i(0), a = i(!1), s = i();
35
35
  function C() {
36
- a.value ? t.value -= (t.value - 15) / 60 : t.value -= w.value / 20, t.value <= 0 && (clearInterval(s.value), s.value = void 0, t.value = 100, a.value = !1);
36
+ a.value ? l.value -= (l.value - 15) / 60 : l.value -= w.value / 20, l.value <= 0 && (clearInterval(s.value), s.value = void 0, l.value = 100, a.value = !1);
37
37
  }
38
38
  function y() {
39
39
  s.value || (a.value = !0, s.value = setInterval(C, 20));
40
40
  }
41
41
  function R() {
42
- w.value = t.value, a.value = !1;
42
+ w.value = l.value, a.value = !1;
43
43
  }
44
44
  function q() {
45
- clearInterval(s.value), s.value = void 0, t.value = 100, a.value = !1;
45
+ clearInterval(s.value), s.value = void 0, l.value = 100, a.value = !1;
46
46
  }
47
47
  c.requestStatus.on((e) => {
48
48
  e === "start" && y(), e === "stop" && R(), e === "abort" && q();
49
49
  }), c.focusAddressBar.on(() => {
50
50
  var e, o, d;
51
- console.log("focusAddressBar", g.value, f.value), h === "modal" ? (o = (e = g.value) == null ? void 0 : e.$el) == null || o.focus() : (d = f.value) == null || d.focus();
51
+ v === "modal" ? (o = (e = x.value) == null ? void 0 : e.$el) == null || o.focus() : (d = h.value) == null || d.focus();
52
52
  });
53
53
  function S(e) {
54
- v.edit(n.operation.uid, "method", e);
54
+ p.edit(n.operation.uid, "method", e);
55
55
  }
56
56
  function E() {
57
57
  const { method: e } = n.operation;
58
58
  return O[e].backgroundColor;
59
59
  }
60
- function b() {
60
+ function g() {
61
61
  a.value || (a.value = !0, c.executeRequest.emit({ requestUid: n.operation.uid }));
62
62
  }
63
63
  c.hotKeys.on((e) => {
64
64
  var o;
65
- e != null && e.focusAddressBar && ((o = f.value) == null || o.focus()), e != null && e.executeRequest && b();
65
+ e != null && e.focusAddressBar && ((o = h.value) == null || o.focus()), e != null && e.executeRequest && g();
66
66
  });
67
67
  function V(e) {
68
- v.edit(n.operation.uid, "path", e);
68
+ p.edit(n.operation.uid, "path", e);
69
69
  }
70
70
  return (e, o) => {
71
71
  var d;
72
- return k(), L("div", {
73
- id: r(p),
72
+ return k(), U("div", {
73
+ id: r(m),
74
74
  class: "scalar-address-bar order-last h-[--scalar-address-bar-height] w-full [--scalar-address-bar-height:32px] lg:order-none lg:w-auto"
75
75
  }, [
76
- l("div", J, [
77
- l("div", X, [
78
- l("div", Y, [
79
- l("div", {
80
- class: U(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 z-[1002] h-full w-full", E()]),
81
- style: M({ transform: `translate3d(-${t.value}%,0,0)` })
76
+ t("div", J, [
77
+ t("div", X, [
78
+ t("div", Y, [
79
+ t("div", {
80
+ class: A(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 z-[1002] h-full w-full", E()]),
81
+ style: M({ transform: `translate3d(-${l.value}%,0,0)` })
82
82
  }, null, 6)
83
83
  ]),
84
- l("div", Z, [
84
+ t("div", Z, [
85
85
  u(K, {
86
- isEditable: r(h) !== "modal",
86
+ isEditable: r(v) !== "modal",
87
87
  isSquare: "",
88
88
  method: e.operation.method,
89
89
  teleport: "",
90
90
  onChange: S
91
91
  }, null, 8, ["isEditable", "method"])
92
92
  ]),
93
- l("div", _, [
93
+ t("div", _, [
94
94
  e.collection.servers.length ? (k(), $(r(W), {
95
95
  key: 0,
96
96
  collection: e.collection,
97
97
  layout: "client",
98
98
  operation: e.operation,
99
99
  server: e.server,
100
- target: r(p)
100
+ target: r(m)
101
101
  }, null, 8, ["collection", "operation", "server", "target"])) : H("", !0),
102
- o[1] || (o[1] = l("div", { class: "fade-left" }, null, -1)),
102
+ o[1] || (o[1] = t("div", { class: "fade-left" }, null, -1)),
103
103
  u(P, {
104
104
  ref_key: "addressBarRef",
105
- ref: f,
105
+ ref: h,
106
106
  "aria-label": "Path",
107
107
  class: "min-w-fit outline-none",
108
108
  disableCloseBrackets: "",
109
- disabled: r(h) === "modal",
109
+ disabled: r(v) === "modal",
110
110
  disableEnter: "",
111
111
  disableTabIndent: "",
112
112
  emitOnBlur: !1,
@@ -117,35 +117,35 @@ const G = ["id"], J = { class: "m-auto flex flex-row items-center" }, X = { clas
117
117
  placeholder: (d = e.server) != null && d.uid && e.collection.servers.includes(e.server.uid) ? "" : "Enter a URL or cURL command",
118
118
  server: "",
119
119
  workspace: e.workspace,
120
- onCurl: o[0] || (o[0] = (m) => e.$emit("importCurl", m)),
121
- onSubmit: b,
120
+ onCurl: o[0] || (o[0] = (f) => e.$emit("importCurl", f)),
121
+ onSubmit: g,
122
122
  "onUpdate:modelValue": V
123
123
  }, null, 8, ["disabled", "envVariables", "environment", "modelValue", "placeholder", "workspace"]),
124
- o[2] || (o[2] = l("div", { class: "fade-right" }, null, -1))
124
+ o[2] || (o[2] = t("div", { class: "fade-right" }, null, -1))
125
125
  ]),
126
126
  u(Q, {
127
127
  operation: e.operation,
128
- target: r(p)
128
+ target: r(m)
129
129
  }, null, 8, ["operation", "target"]),
130
130
  u(r(T), {
131
131
  ref_key: "sendButtonRef",
132
- ref: g,
132
+ ref: x,
133
133
  class: "z-context-plus relative h-auto shrink-0 overflow-hidden py-1 pl-2 pr-2.5 font-bold",
134
134
  disabled: a.value,
135
- onClick: b
135
+ onClick: g
136
136
  }, {
137
137
  default: N(() => {
138
- var m;
138
+ var f;
139
139
  return [
140
- l("span", ee, [
140
+ t("span", ee, [
141
141
  u(r(D), {
142
142
  class: "relative shrink-0 fill-current",
143
143
  icon: "Play",
144
144
  size: "xs"
145
145
  }),
146
- o[3] || (o[3] = l("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
146
+ o[3] || (o[3] = t("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
147
147
  ]),
148
- l("span", oe, " Send " + x(e.operation.method) + " request to " + x(((m = e.server) == null ? void 0 : m.url) ?? "") + x(e.operation.path), 1)
148
+ t("span", oe, " Send " + b(e.operation.method) + " request to " + b(((f = e.server) == null ? void 0 : f.url) ?? "") + b(e.operation.path), 1)
149
149
  ];
150
150
  }),
151
151
  _: 1
@@ -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;;qBA4fM,GAAG;kBACN,GAAG;;AArhB9B,wBAglBC;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":"AA6fA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,O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B,wBAilBC;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-082b146a"]]);
5
+ const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1c67ee32"]]);
6
6
  export {
7
7
  _ as default
8
8
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as H, useAttrs as J, ref as i, toRef as r, 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 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";
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 ae } from "nanoid";
7
- import re from "../../views/Environment/EnvironmentVariableDropdown.vue.js";
6
+ import { nanoid as re } from "nanoid";
7
+ import ae from "../../views/Environment/EnvironmentVariableDropdown.vue.js";
8
8
  import k from "../DataTable/DataTableInputSelect.vue.js";
9
9
  import { pillPlugin as se, backspaceCommand as ue } from "./codeVariableWidget.js";
10
10
  import { useLayout as de } from "../../hooks/useLayout.js";
@@ -20,7 +20,7 @@ const ie = { class: "whitespace-nowrap" }, pe = ["id"], me = {
20
20
  class: "centered-y text-orange absolute right-7 text-xs"
21
21
  }, be = {
22
22
  key: 6,
23
- class: "required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 pr-2 pt-px opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.error]:bg-transparent group-[.alert]:shadow-none group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0"
23
+ class: "required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pr-2 pt-px opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.error]:bg-transparent group-[.alert]:shadow-none group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0"
24
24
  }, ye = {
25
25
  inheritAttrs: !1
26
26
  }, Pe = /* @__PURE__ */ H({
@@ -57,13 +57,13 @@ const ie = { class: "whitespace-nowrap" }, pe = ["id"], me = {
57
57
  emits: ["submit", "update:modelValue", "curl", "blur"],
58
58
  setup(I, { expose: N, emit: R }) {
59
59
  var T;
60
- const o = I, s = R, C = J(), A = C.id || `id-${ae()}`, B = i(!1), v = i(!1), x = i(""), S = i({ left: 0, top: 0 }), c = i(null), { layout: w } = de(), { copyToClipboard: M } = ne();
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
61
  function O(e) {
62
62
  var t;
63
- return e === o.modelValue ? null : o.importCurl && e.trim().toLowerCase().startsWith("curl") ? (s("curl", e), (t = a.value) == null || t.dispatch({
63
+ return e === o.modelValue ? null : o.importCurl && e.trim().toLowerCase().startsWith("curl") ? (s("curl", e), (t = r.value) == null || t.dispatch({
64
64
  changes: {
65
65
  from: 0,
66
- to: a.value.state.doc.length,
66
+ to: r.value.state.doc.length,
67
67
  insert: String(o.modelValue)
68
68
  }
69
69
  }), null) : o.handleFieldChange ? o.handleFieldChange(e) : s("update:modelValue", e);
@@ -84,8 +84,8 @@ const ie = { class: "whitespace-nowrap" }, pe = ["id"], me = {
84
84
  }),
85
85
  ue
86
86
  );
87
- const D = i(null), { codeMirror: a } = oe({
88
- content: r(
87
+ const D = i(null), { codeMirror: r } = oe({
88
+ content: a(
89
89
  () => o.modelValue !== void 0 ? String(o.modelValue) : ""
90
90
  ),
91
91
  onChange: (e) => {
@@ -94,20 +94,20 @@ const ie = { class: "whitespace-nowrap" }, pe = ["id"], me = {
94
94
  onFocus: () => B.value = !0,
95
95
  onBlur: (e) => K(e),
96
96
  codeMirrorRef: D,
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),
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
103
  extensions: h,
104
- placeholder: r(() => o.placeholder)
104
+ placeholder: a(() => o.placeholder)
105
105
  });
106
- (T = a.value) == null || T.focus(), Q(a, () => {
107
- a.value && Object.prototype.hasOwnProperty.call(C, "autofocus") && a.value.focus();
106
+ (T = r.value) == null || T.focus(), Q(r, () => {
107
+ r.value && Object.prototype.hasOwnProperty.call(C, "autofocus") && r.value.focus();
108
108
  });
109
109
  const { handleDropdownSelect: z, updateDropdownVisibility: L } = te({
110
- codeMirror: a,
110
+ codeMirror: r,
111
111
  query: x,
112
112
  showDropdown: v,
113
113
  dropdownPosition: S
@@ -118,7 +118,7 @@ const ie = { class: "whitespace-nowrap" }, pe = ["id"], me = {
118
118
  N({
119
119
  focus: () => {
120
120
  var e;
121
- (e = a.value) == null || e.focus();
121
+ (e = r.value) == null || e.focus();
122
122
  }
123
123
  });
124
124
  const b = (e, t) => {
@@ -200,7 +200,7 @@ const ie = { class: "whitespace-nowrap" }, pe = ["id"], me = {
200
200
  ])) : f("", !0),
201
201
  E(e.$slots, "icon", {}, void 0, !0),
202
202
  e.required ? (n(), u("div", be, " Required ")) : f("", !0),
203
- v.value && e.withVariables && d(w) !== "modal" && e.environment ? (n(), y(re, {
203
+ v.value && e.withVariables && d(w) !== "modal" && e.environment ? (n(), y(ae, {
204
204
  key: 7,
205
205
  ref_key: "dropdownRef",
206
206
  ref: c,
@@ -18,6 +18,7 @@ type __VLS_Props = {
18
18
  environment: Environment;
19
19
  envVariables: EnvVariable[];
20
20
  workspace: Workspace;
21
+ description?: string | undefined;
21
22
  };
22
23
  declare function __VLS_template(): {
23
24
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AAsLA,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,OAA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,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"}
@@ -1,7 +1,7 @@
1
1
  import t from "./DataTableInput.vue2.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-921a6c09"]]);
3
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-4d5c007e"]]);
5
5
  export {
6
- m as default
6
+ e as default
7
7
  };
@@ -1,15 +1,12 @@
1
- import { defineComponent as b, ref as i, computed as C, openBlock as t, createBlock as u, normalizeClass as g, withCtx as B, createElementBlock as s, renderSlot as p, createTextVNode as $, createCommentVNode as d, createElementVNode as h, Fragment as O, mergeProps as c, unref as q } from "vue";
2
- import { ScalarIconButton as I } from "@scalar/components";
3
- import A from "../CodeInput/CodeInput.vue.js";
1
+ import { defineComponent as b, ref as d, computed as C, openBlock as n, createBlock as s, normalizeClass as B, withCtx as $, createElementBlock as u, renderSlot as i, createTextVNode as g, createCommentVNode as p, createElementVNode as O, Fragment as I, mergeProps as v, unref as h } from "vue";
2
+ import { ScalarIconButton as A } from "@scalar/components";
3
+ import q from "../CodeInput/CodeInput.vue.js";
4
4
  import E from "./DataTableCell.vue.js";
5
5
  import F from "./DataTableInputSelect.vue.js";
6
6
  const S = ["for"], T = { class: "row-1 overflow-x-auto" }, N = ["readOnly", "type", "value"], P = {
7
- key: 2,
8
- class: "scalar-input-required centered-y text-xxs text-c-3 bg-b-1 absolute right-2 pt-px opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 peer-has-[:focus-visible]:opacity-0"
9
- }, x = {
10
7
  key: 1,
11
8
  class: "centered-y text-orange absolute right-7 text-xs"
12
- }, R = /* @__PURE__ */ b({
9
+ }, W = /* @__PURE__ */ b({
13
10
  inheritAttrs: !1,
14
11
  __name: "DataTableInput",
15
12
  props: {
@@ -25,58 +22,62 @@ const S = ["for"], T = { class: "row-1 overflow-x-auto" }, N = ["readOnly", "typ
25
22
  max: {},
26
23
  environment: {},
27
24
  envVariables: {},
28
- workspace: {}
25
+ workspace: {},
26
+ description: {}
29
27
  },
30
28
  emits: ["update:modelValue", "inputFocus", "inputBlur", "selectVariable"],
31
- setup(v, { emit: y }) {
32
- const a = v, r = y, n = i(!0), V = i(!1), m = i(null), w = () => {
29
+ setup(y, { emit: c }) {
30
+ const o = y, r = c, t = d(!0), V = d(!1), m = d(null), w = () => {
33
31
  V.value || r("inputBlur");
34
32
  }, f = C(
35
- () => a.type === "password" ? n.value ? "password" : "text" : a.type ?? "text"
33
+ () => o.type === "password" ? t.value ? "password" : "text" : o.type ?? "text"
36
34
  ), k = () => {
37
35
  var e, l;
38
- !((e = a.enum) != null && e.length) && !a.readOnly && ((l = m.value) == null || l.focus());
36
+ !((e = o.enum) != null && e.length) && !o.readOnly && ((l = m.value) == null || l.focus());
39
37
  };
40
- return (e, l) => (t(), u(E, {
41
- class: g(["row relative", e.containerClass])
38
+ return (e, l) => (n(), s(E, {
39
+ class: B(["row relative", e.containerClass])
42
40
  }, {
43
- default: B(() => [
44
- e.$slots.default ? (t(), s("div", {
41
+ default: $(() => [
42
+ e.$slots.default ? (n(), u("div", {
45
43
  key: 0,
46
44
  class: "text-c-1 flex items-center pl-3 pr-0",
47
45
  for: e.id ?? "",
48
46
  onClick: k
49
47
  }, [
50
- p(e.$slots, "default", {}, void 0, !0),
51
- l[5] || (l[5] = $(": "))
52
- ], 8, S)) : d("", !0),
53
- h("div", T, [
54
- a.enum && a.enum.length ? (t(), u(F, {
48
+ i(e.$slots, "default", {}, void 0, !0),
49
+ l[5] || (l[5] = g(": "))
50
+ ], 8, S)) : p("", !0),
51
+ O("div", T, [
52
+ o.enum && o.enum.length ? (n(), s(F, {
55
53
  key: 0,
56
- canAddCustomValue: a.canAddCustomEnumValue,
57
- modelValue: a.modelValue,
58
- value: a.enum,
59
- "onUpdate:modelValue": l[0] || (l[0] = (o) => r("update:modelValue", o))
60
- }, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (t(), s(O, { key: 1 }, [
61
- n.value && e.type === "password" ? (t(), s("input", c({ key: 0 }, e.id ? { ...e.$attrs, id: e.id } : e.$attrs, {
54
+ canAddCustomValue: o.canAddCustomEnumValue,
55
+ modelValue: o.modelValue,
56
+ value: o.enum,
57
+ "onUpdate:modelValue": l[0] || (l[0] = (a) => r("update:modelValue", a))
58
+ }, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (n(), u(I, { key: 1 }, [
59
+ t.value && e.type === "password" ? (n(), u("input", v({ key: 0 }, e.id ? { ...e.$attrs, id: e.id } : e.$attrs, {
62
60
  autocomplete: "off",
63
- class: "text-c-1 disabled:text-c-2 py-1.25 peer w-full min-w-0 border-none px-2 -outline-offset-2",
61
+ class: "text-c-1 disabled:text-c-2 py-1.25 peer w-full min-w-0 border-none px-2 -outline-offset-1",
64
62
  "data-1p-ignore": "",
65
63
  readOnly: e.readOnly,
66
64
  spellcheck: "false",
67
65
  type: f.value,
68
66
  value: e.modelValue,
69
- onInput: l[1] || (l[1] = (o) => r(
67
+ onInput: l[1] || (l[1] = (a) => r(
70
68
  "update:modelValue",
71
- o.target.value ?? ""
69
+ a.target.value ?? ""
72
70
  ))
73
- }), null, 16, N)) : (t(), u(A, c({
71
+ }), null, 16, N)) : (n(), s(q, v({
74
72
  key: 1,
75
73
  ref_key: "codeInput",
76
74
  ref: m
77
75
  }, e.$attrs, {
78
76
  id: e.id,
79
- class: "text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none",
77
+ class: ["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1", [
78
+ e.type === "password" && e.description && "pr-12",
79
+ e.description && "pr-8"
80
+ ]],
80
81
  disableCloseBrackets: "",
81
82
  disableTabIndent: "",
82
83
  envVariables: e.envVariables,
@@ -89,29 +90,29 @@ const S = ["for"], T = { class: "row-1 overflow-x-auto" }, N = ["readOnly", "typ
89
90
  spellcheck: "false",
90
91
  type: f.value,
91
92
  workspace: e.workspace,
93
+ description: e.description,
92
94
  onBlur: w,
93
- onFocus: l[2] || (l[2] = (o) => r("inputFocus")),
94
- "onUpdate:modelValue": l[3] || (l[3] = (o) => r("update:modelValue", o))
95
- }), null, 16, ["id", "envVariables", "environment", "max", "min", "modelValue", "readOnly", "required", "type", "workspace"])),
96
- e.required ? (t(), s("div", P, " Required ")) : d("", !0)
95
+ onFocus: l[2] || (l[2] = (a) => r("inputFocus")),
96
+ "onUpdate:modelValue": l[3] || (l[3] = (a) => r("update:modelValue", a))
97
+ }), null, 16, ["id", "class", "envVariables", "environment", "max", "min", "modelValue", "readOnly", "required", "type", "workspace", "description"]))
97
98
  ], 64))
98
99
  ]),
99
- e.$slots.warning ? (t(), s("div", x, [
100
- p(e.$slots, "warning", {}, void 0, !0)
101
- ])) : d("", !0),
102
- p(e.$slots, "icon", {}, void 0, !0),
103
- e.type === "password" ? (t(), u(q(I), {
100
+ e.$slots.warning ? (n(), u("div", P, [
101
+ i(e.$slots, "warning", {}, void 0, !0)
102
+ ])) : p("", !0),
103
+ i(e.$slots, "icon", {}, void 0, !0),
104
+ e.type === "password" ? (n(), s(h(A), {
104
105
  key: 2,
105
- class: "-ml-.5 mr-0.75 h-6 w-6 self-center p-1.5",
106
- icon: n.value ? "Show" : "Hide",
107
- label: n.value ? "Show Password" : "Hide Password",
108
- onClick: l[4] || (l[4] = (o) => n.value = !n.value)
109
- }, null, 8, ["icon", "label"])) : d("", !0)
106
+ class: "-ml-.5 mr-1.25 p-1.25 h-6 w-6 self-center",
107
+ icon: t.value ? "Show" : "Hide",
108
+ label: t.value ? "Show Password" : "Hide Password",
109
+ onClick: l[4] || (l[4] = (a) => t.value = !t.value)
110
+ }, null, 8, ["icon", "label"])) : p("", !0)
110
111
  ]),
111
112
  _: 3
112
113
  }, 8, ["class"]));
113
114
  }
114
115
  });
115
116
  export {
116
- R as default
117
+ W as default
117
118
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./SectionFilter.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-55241daf"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-66325e68"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -9,7 +9,7 @@ const v = ["aria-labelledby"], k = { class: "bg-b-2 flex items-center" }, w = {
9
9
  class: "bg-b-2 text-c-2 text-3xs inline-flex h-4 w-4 items-center justify-center rounded-full border font-semibold"
10
10
  }, D = { class: "sr-only" }, N = {
11
11
  key: 0,
12
- class: "ui-not-open:invisible flex items-center gap-2 pr-1.5"
12
+ class: "ui-not-open:invisible flex items-center gap-2 pr-2"
13
13
  }, P = /* @__PURE__ */ m({
14
14
  __name: "ViewLayoutCollapse",
15
15
  props: {