@scalar/api-client 1.2.19 → 1.2.21

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 1.2.21
4
+
5
+ ### Patch Changes
6
+
7
+ - f871c28: fix: api client address bar url
8
+ - 3748dc5: feat: api client toggle sidebar hotkey
9
+
10
+ ## 1.2.20
11
+
12
+ ### Patch Changes
13
+
14
+ - 0640c52: feat: api client address bar style update
15
+ - 84399ab: feat: add api client response empty state
16
+ - a80345a: fix: vertical alignment of client response empty state
17
+ - Updated dependencies [6e67167]
18
+ - @scalar/components@0.7.6
19
+
3
20
  ## 1.2.19
4
21
 
5
22
  ### Patch Changes
@@ -0,0 +1,21 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const l = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 14 12"
6
+ }, n = /* @__PURE__ */ createElementVNode("path", {
7
+ fill: "currentColor",
8
+ "fill-rule": "evenodd",
9
+ d: "M12.594 6.86a.75.75 0 0 0 0-1.5H3.217l3.095-3.095a.75.75 0 1 0-1.061-1.06L.876 5.578a.75.75 0 0 0 0 1.061l4.375 4.375a.75.75 0 0 0 1.06-1.06L3.218 6.86z",
10
+ "clip-rule": "evenodd"
11
+ }, null, -1), r = [
12
+ n
13
+ ];
14
+ function c(d, s) {
15
+ return openBlock(), createElementBlock("svg", l, [...r]);
16
+ }
17
+ const i = { render: c };
18
+ export {
19
+ i as default,
20
+ c as render
21
+ };
@@ -0,0 +1,21 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const l = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 14 12"
6
+ }, n = /* @__PURE__ */ createElementVNode("path", {
7
+ fill: "currentColor",
8
+ "fill-rule": "evenodd",
9
+ d: "M1.406 5.36a.75.75 0 0 0 0 1.5h9.377L7.688 9.954a.75.75 0 1 0 1.061 1.06l4.375-4.374a.75.75 0 0 0 0-1.06L8.75 1.203a.75.75 0 1 0-1.06 1.06l3.094 3.096z",
10
+ "clip-rule": "evenodd"
11
+ }, null, -1), r = [
12
+ n
13
+ ];
14
+ function c(d, i) {
15
+ return openBlock(), createElementBlock("svg", l, [...r]);
16
+ }
17
+ const a = { render: c };
18
+ export {
19
+ a as default,
20
+ c as render
21
+ };
@@ -0,0 +1,21 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 14 15"
6
+ }, r = /* @__PURE__ */ createElementVNode("path", {
7
+ stroke: "currentColor",
8
+ "stroke-linecap": "round",
9
+ "stroke-linejoin": "round",
10
+ d: "M1.5 4h11M2.67 6.333h8.657M5.396 11h3.208m-4.76-2.333h6.313"
11
+ }, null, -1), s = [
12
+ r
13
+ ];
14
+ function c(l, i) {
15
+ return openBlock(), createElementBlock("svg", n, [...s]);
16
+ }
17
+ const h = { render: c };
18
+ export {
19
+ h as default,
20
+ c as render
21
+ };
@@ -0,0 +1,27 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const t = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 14 14"
6
+ }, n = /* @__PURE__ */ createElementVNode("path", {
7
+ fill: "currentColor",
8
+ "fill-rule": "evenodd",
9
+ d: "M7 2.75a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-.364.643l-2.5 1.5a.75.75 0 1 1-.772-1.286L6.25 7.075V3.5A.75.75 0 0 1 7 2.75",
10
+ "clip-rule": "evenodd"
11
+ }, null, -1), r = /* @__PURE__ */ createElementVNode("path", {
12
+ fill: "currentColor",
13
+ "fill-rule": "evenodd",
14
+ d: "M12.5 7a5.5 5.5 0 0 0-9.82-3.405l.966.965a.5.5 0 0 1-.353.854H.5a.5.5 0 0 1-.5-.5V2.12a.5.5 0 0 1 .854-.354l.76.761A7 7 0 1 1 .187 8.614a.75.75 0 0 1 1.46-.344A5.5 5.5 0 0 0 12.5 7",
15
+ "clip-rule": "evenodd"
16
+ }, null, -1), d = [
17
+ n,
18
+ r
19
+ ];
20
+ function c(a, i) {
21
+ return openBlock(), createElementBlock("svg", t, [...d]);
22
+ }
23
+ const u = { render: c };
24
+ export {
25
+ u as default,
26
+ c as render
27
+ };
@@ -0,0 +1,19 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 8 10"
6
+ }, l = /* @__PURE__ */ createElementVNode("path", {
7
+ fill: "currentColor",
8
+ d: "M7.266 3.563 2.7.317A1.69 1.69 0 0 0 .916.201 1.75 1.75 0 0 0 0 1.754v6.492a1.75 1.75 0 0 0 .916 1.552A1.69 1.69 0 0 0 2.7 9.683l4.566-3.246a1.775 1.775 0 0 0 0-2.874"
9
+ }, null, -1), r = [
10
+ l
11
+ ];
12
+ function c(s, a) {
13
+ return openBlock(), createElementBlock("svg", n, [...r]);
14
+ }
15
+ const i = { render: c };
16
+ export {
17
+ i as default,
18
+ c as render
19
+ };
@@ -0,0 +1,21 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 10 11"
6
+ }, l = /* @__PURE__ */ createElementVNode("path", {
7
+ fill: "currentColor",
8
+ "fill-rule": "evenodd",
9
+ d: "M9.595 2.075a.75.75 0 0 0-1.06-1.06l-6.63 6.63V3.268a.75.75 0 1 0-1.5 0v6.187c0 .415.335.75.75.75h6.187a.75.75 0 0 0 0-1.5H2.965z",
10
+ "clip-rule": "evenodd"
11
+ }, null, -1), r = [
12
+ l
13
+ ];
14
+ function c(s, d) {
15
+ return openBlock(), createElementBlock("svg", n, [...r]);
16
+ }
17
+ const a = { render: c };
18
+ export {
19
+ a as default,
20
+ c as render
21
+ };
@@ -0,0 +1,19 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 15 10"
6
+ }, r = /* @__PURE__ */ createElementVNode("path", {
7
+ fill: "currentColor",
8
+ d: "M0 10h10v-.667H0zm0-9v.667h15V1zm0 4.833h15v-.666H0z"
9
+ }, null, -1), c = [
10
+ r
11
+ ];
12
+ function l(s, h) {
13
+ return openBlock(), createElementBlock("svg", n, [...c]);
14
+ }
15
+ const i = { render: l };
16
+ export {
17
+ i as default,
18
+ l as render
19
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/AddressBar.vue.ts"],"names":[],"mappings":";;;;;;;;;AA2bA,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/AddressBar.vue.ts"],"names":[],"mappings":";;;;;;;;;AAqdA,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -11,6 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  showSideBar: boolean;
12
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  escapeKeyPress: () => void;
14
+ toggleSidebar: () => void;
14
15
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
16
  proxyUrl?: string | undefined;
16
17
  readOnly?: boolean | undefined;
@@ -23,6 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
24
  showSideBar: boolean;
24
25
  }>>> & {
25
26
  onEscapeKeyPress?: (() => any) | undefined;
27
+ onToggleSidebar?: (() => any) | undefined;
26
28
  }, {
27
29
  readOnly: boolean;
28
30
  withDefaultFonts: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiClient.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/ApiClient.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0Z1D,wBAAwG;AACxG,KAAK,sBA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sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/Request.vue.ts"],"names":[],"mappings":";AAgPA,wBAKG"}
1
+ {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/Request.vue.ts"],"names":[],"mappings":";AAyPA,wBAKG"}
@@ -1 +1 @@
1
- {"version":3,"file":"RequestMethodSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/RequestMethodSelect.vue.ts"],"names":[],"mappings":";mBAkJ+E,MAAM;;;;;;;mBAAN,MAAM;;;;;;;cAAa,OAAO;;AALzG,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"RequestMethodSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/RequestMethodSelect.vue.ts"],"names":[],"mappings":";mBAsI+E,MAAM;;;;;;;mBAAN,MAAM;;;;;;;cAAa,OAAO;;AALzG,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Response.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Response/Response.vue.ts"],"names":[],"mappings":";AAoQA,wBAKG"}
1
+ {"version":3,"file":"Response.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Response/Response.vue.ts"],"names":[],"mappings":";AAkSA,wBAKG"}
@@ -0,0 +1,16 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ art: string;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ art: string;
5
+ }>>>, {}, {}>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
16
+ //# sourceMappingURL=ScalarAsciiArt.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScalarAsciiArt.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarAsciiArt.vue.ts"],"names":[],"mappings":";SAyFkD,MAAM;;SAAN,MAAM;;AALxD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}