@scalar/api-client 2.10.0 → 2.11.0

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 (156) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
  3. package/dist/components/ImportCollection/IntegrationLogo.vue.js +1 -0
  4. package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
  5. package/dist/components/Server/ServerVariablesForm.vue.js +6 -6
  6. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
  7. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
  8. package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +14 -13
  9. package/dist/hooks/useClientConfig.d.ts +3 -3
  10. package/dist/layouts/App/create-api-client-app.d.ts +1 -1
  11. package/dist/layouts/Web/create-api-client-web.d.ts +1 -1
  12. package/dist/libs/create-client.d.ts +1 -1
  13. package/dist/store/store.d.ts +1 -1
  14. package/dist/style.css +1 -1
  15. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +4 -6
  16. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  17. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +24 -27
  18. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +3 -6
  19. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  20. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
  21. package/dist/v2/blocks/operation-block/components/Header.vue2.js +10 -12
  22. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
  23. package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.js +11 -10
  24. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -5
  25. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  26. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  27. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +45 -47
  28. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +11 -9
  29. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  30. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +179 -5
  31. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +2 -179
  32. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +201 -198
  33. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +11 -6
  34. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
  35. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +82 -5
  36. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +2 -85
  37. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +3 -13
  38. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  39. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js +16 -18
  40. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +133 -142
  41. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts +1 -1
  42. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
  43. package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +1 -1
  44. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +2 -16
  45. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
  46. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
  47. package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +202 -229
  48. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts +3 -5
  49. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts.map +1 -1
  50. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
  51. package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +81 -85
  52. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts +2 -5
  53. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts.map +1 -1
  54. package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +32 -34
  55. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts +2 -5
  56. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts.map +1 -1
  57. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.js +2 -2
  58. package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue2.js +31 -33
  59. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts +2 -5
  60. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts.map +1 -1
  61. package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +42 -45
  62. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts +2 -2
  63. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts.map +1 -1
  64. package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +9 -9
  65. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.d.ts.map +1 -1
  66. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.js +2 -2
  67. package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +18 -18
  68. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -1
  69. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.js +14 -14
  70. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -1
  71. package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +12 -12
  72. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.d.ts.map +1 -1
  73. package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +13 -13
  74. package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -1
  75. package/dist/v2/components/data-table/DataTable.vue.js +4 -4
  76. package/dist/v2/components/data-table/DataTableInput.vue.d.ts +5 -7
  77. package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
  78. package/dist/v2/components/data-table/DataTableInput.vue.js +2 -2
  79. package/dist/v2/components/data-table/DataTableInput.vue2.js +32 -36
  80. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +25 -0
  81. package/dist/v2/components/forms/ConfirmationForm.vue.d.ts.map +1 -0
  82. package/dist/v2/components/forms/ConfirmationForm.vue.js +7 -0
  83. package/dist/v2/components/forms/ConfirmationForm.vue2.js +45 -0
  84. package/dist/v2/components/forms/index.d.ts +2 -0
  85. package/dist/v2/components/forms/index.d.ts.map +1 -0
  86. package/dist/v2/components/forms/index.js +4 -0
  87. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts +43 -0
  88. package/dist/v2/components/layout/CollapsibleSection.vue.d.ts.map +1 -0
  89. package/dist/v2/components/layout/CollapsibleSection.vue.js +89 -0
  90. package/dist/v2/components/layout/CollapsibleSection.vue2.js +4 -0
  91. package/dist/v2/components/layout/ValueEmitter.vue.d.ts +23 -0
  92. package/dist/v2/components/layout/ValueEmitter.vue.d.ts.map +1 -0
  93. package/dist/v2/components/layout/ValueEmitter.vue.js +21 -0
  94. package/dist/v2/components/layout/ValueEmitter.vue2.js +4 -0
  95. package/dist/v2/components/layout/index.d.ts +2 -0
  96. package/dist/v2/components/layout/index.d.ts.map +1 -0
  97. package/dist/v2/components/layout/index.js +4 -0
  98. package/dist/v2/components/modals/DeleteModal.vue.d.ts +15 -0
  99. package/dist/v2/components/modals/DeleteModal.vue.d.ts.map +1 -0
  100. package/dist/v2/components/modals/DeleteModal.vue.js +31 -0
  101. package/dist/v2/components/modals/DeleteModal.vue2.js +4 -0
  102. package/dist/v2/components/modals/index.d.ts +2 -0
  103. package/dist/v2/components/modals/index.d.ts.map +1 -0
  104. package/dist/v2/components/modals/index.js +4 -0
  105. package/dist/v2/components/server/ServerDropdown.vue.d.ts +4 -2
  106. package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
  107. package/dist/v2/components/server/ServerDropdown.vue.js +31 -31
  108. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts +2 -6
  109. package/dist/v2/components/server/ServerDropdownItem.vue.d.ts.map +1 -1
  110. package/dist/v2/components/server/ServerDropdownItem.vue.js +1 -1
  111. package/dist/v2/components/server/ServerDropdownItem.vue2.js +16 -16
  112. package/dist/v2/components/server/index.d.ts.map +1 -1
  113. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +6 -2
  114. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  115. package/dist/v2/components/sidebar/Sidebar.vue.js +45 -55
  116. package/dist/v2/features/app/App.vue.d.ts +2 -2
  117. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  118. package/dist/v2/features/app/App.vue.js +89 -74
  119. package/dist/v2/features/app/components/AppSidebar.vue.d.ts +6 -2
  120. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  121. package/dist/v2/features/app/components/AppSidebar.vue.js +1 -1
  122. package/dist/v2/features/app/components/AppSidebar.vue2.js +50 -47
  123. package/dist/v2/features/app/helpers/routes.d.ts +0 -10
  124. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  125. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  126. package/dist/v2/features/collection/DocumentCollection.vue2.js +75 -73
  127. package/dist/v2/features/collection/components/Authentication.vue.d.ts +13 -25
  128. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  129. package/dist/v2/features/collection/components/Authentication.vue.js +2 -2
  130. package/dist/v2/features/collection/components/Authentication.vue2.js +47 -35
  131. package/dist/v2/features/collection/components/Form.vue.d.ts +3 -7
  132. package/dist/v2/features/collection/components/Form.vue.d.ts.map +1 -1
  133. package/dist/v2/features/collection/components/Form.vue.js +28 -33
  134. package/dist/v2/features/collection/components/Servers.vue.d.ts +13 -31
  135. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  136. package/dist/v2/features/collection/components/Servers.vue2.js +103 -82
  137. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -1
  138. package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +3 -3
  139. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  140. package/dist/v2/features/modal/Modal.vue.js +3 -3
  141. package/dist/v2/features/modal/Modal.vue2.js +40 -32
  142. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  143. package/dist/v2/features/operation/Operation.vue.js +22 -28
  144. package/dist/v2/hooks/use-sidebar-state.d.ts +47 -0
  145. package/dist/v2/hooks/use-sidebar-state.d.ts.map +1 -0
  146. package/dist/v2/hooks/use-sidebar-state.js +112 -0
  147. package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -1
  148. package/dist/v2/hooks/use-workspace-client-events.js +75 -107
  149. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  150. package/package.json +17 -17
  151. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +0 -45
  152. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +0 -1
  153. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +0 -29
  154. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +0 -1
  155. package/dist/v2/blocks/scalar-auth-selector-block/event-types.d.ts +0 -29
  156. package/dist/v2/blocks/scalar-auth-selector-block/event-types.d.ts.map +0 -1
@@ -1,18 +1,19 @@
1
- import { defineComponent as x, mergeModels as k, useModel as p, computed as v, capitalize as B, createBlock as w, openBlock as u, unref as o, createSlots as M, withCtx as i, createVNode as r, createTextVNode as c, toDisplayString as g, createElementVNode as a, normalizeClass as A, createElementBlock as I, createCommentVNode as S } from "vue";
1
+ import { defineComponent as I, mergeModels as k, useModel as m, computed as v, capitalize as B, createBlock as S, openBlock as u, unref as a, createSlots as g, withCtx as i, createVNode as d, createTextVNode as b, toDisplayString as x, createElementVNode as o, normalizeClass as M, createElementBlock as A, createCommentVNode as w } from "vue";
2
2
  import { ScalarSidebarItem as P, ScalarButton as y } from "@scalar/components";
3
3
  import { ScalarIconGlobe as q } from "@scalar/icons";
4
4
  import z from "../../../../assets/rabbit.ascii.js";
5
5
  import N from "../../../../assets/rabbitjump.ascii.js";
6
- import C from "../../../../components/ScalarAsciiArt.vue.js";
6
+ import O from "../../../../components/ScalarAsciiArt.vue.js";
7
7
  import V from "../../../components/sidebar/Sidebar.vue.js";
8
8
  const $ = {
9
9
  key: 0,
10
10
  class: "empty-sidebar-item-content overflow-hidden px-2.5 py-2.5"
11
- }, G = { class: "rabbit-ascii relative m-auto mt-2 h-[68px] w-[60px]" }, U = { class: "gap-1.5 p-2" }, T = /* @__PURE__ */ x({
11
+ }, G = { class: "rabbit-ascii relative m-auto mt-2 h-[68px] w-[60px]" }, U = { class: "gap-1.5 p-2" }, T = /* @__PURE__ */ I({
12
12
  __name: "AppSidebar",
13
13
  props: /* @__PURE__ */ k({
14
14
  layout: {},
15
- documents: {}
15
+ sidebarState: {},
16
+ isWorkspaceOpen: { type: Boolean }
16
17
  }, {
17
18
  workspace: {
18
19
  required: !0,
@@ -27,80 +28,82 @@ const $ = {
27
28
  },
28
29
  sidebarWidthModifiers: {}
29
30
  }),
30
- emits: /* @__PURE__ */ k(["open:commandPalette", "click:workspace"], ["update:workspace", "update:isSidebarOpen", "update:sidebarWidth"]),
31
- setup(s, { emit: O }) {
32
- const d = O, l = p(s, "workspace"), W = v(
33
- () => B(l.value) + " Workspace"
34
- ), b = p(s, "isSidebarOpen"), f = p(s, "sidebarWidth"), n = v(() => !0);
35
- return (m, e) => (u(), w(o(V), {
36
- isSidebarOpen: b.value,
37
- "onUpdate:isSidebarOpen": e[3] || (e[3] = (t) => b.value = t),
31
+ emits: /* @__PURE__ */ k(["open:commandPalette", "click:workspace", "selectItem"], ["update:workspace", "update:isSidebarOpen", "update:sidebarWidth"]),
32
+ setup(r, { emit: W }) {
33
+ const s = W, n = m(r, "workspace"), C = v(
34
+ () => B(n.value) + " Workspace"
35
+ ), c = m(r, "isSidebarOpen"), f = m(r, "sidebarWidth"), p = v(() => r.sidebarState.items.value.length <= 1);
36
+ return (l, e) => (u(), S(a(V), {
37
+ isSidebarOpen: c.value,
38
+ "onUpdate:isSidebarOpen": e[3] || (e[3] = (t) => c.value = t),
38
39
  sidebarWidth: f.value,
39
40
  "onUpdate:sidebarWidth": e[4] || (e[4] = (t) => f.value = t),
40
- workspace: l.value,
41
- "onUpdate:workspace": e[5] || (e[5] = (t) => l.value = t),
42
- documents: m.documents,
43
- layout: m.layout
44
- }, M({
41
+ workspace: n.value,
42
+ "onUpdate:workspace": e[5] || (e[5] = (t) => n.value = t),
43
+ sidebarState: l.sidebarState,
44
+ layout: l.layout,
45
+ onSelectItem: e[6] || (e[6] = (t) => s("selectItem", t))
46
+ }, g({
45
47
  workspaceButton: i(() => [
46
- r(o(P), {
48
+ d(a(P), {
47
49
  is: "button",
48
- icon: o(q),
49
- onClick: e[0] || (e[0] = (t) => d("click:workspace"))
50
+ icon: a(q),
51
+ active: l.isWorkspaceOpen,
52
+ onClick: e[0] || (e[0] = (t) => s("click:workspace"))
50
53
  }, {
51
54
  default: i(() => [
52
- c(g(W.value), 1)
55
+ b(x(C.value), 1)
53
56
  ]),
54
57
  _: 1
55
- }, 8, ["icon"])
58
+ }, 8, ["icon", "active"])
56
59
  ]),
57
60
  _: 2
58
61
  }, [
59
- m.layout !== "modal" ? {
62
+ l.layout !== "modal" ? {
60
63
  name: "footer",
61
64
  fn: i(() => [
62
- a("div", {
63
- class: A({
64
- "empty-sidebar-item border-t": n.value
65
+ o("div", {
66
+ class: M({
67
+ "empty-sidebar-item border-t": p.value
65
68
  })
66
69
  }, [
67
- n.value ? (u(), I("div", $, [
68
- a("div", G, [
69
- r(C, {
70
- art: o(z),
70
+ p.value ? (u(), A("div", $, [
71
+ o("div", G, [
72
+ d(O, {
73
+ art: a(z),
71
74
  class: "rabbitsit font-bold"
72
75
  }, null, 8, ["art"]),
73
- r(C, {
74
- art: o(N),
76
+ d(O, {
77
+ art: a(N),
75
78
  class: "rabbitjump absolute top-0 left-0 font-bold"
76
79
  }, null, 8, ["art"])
77
80
  ]),
78
- e[6] || (e[6] = a("div", { class: "mt-2 mb-2 text-center text-sm text-balance" }, [
79
- a("b", { class: "font-medium" }, "Let's Get Started"),
80
- a("p", { class: "mt-2 leading-3" }, " Create request, folder, collection or import from OpenAPI/Postman ")
81
+ e[7] || (e[7] = o("div", { class: "mt-2 mb-2 text-center text-sm text-balance" }, [
82
+ o("b", { class: "font-medium" }, "Let's Get Started"),
83
+ o("p", { class: "mt-2 leading-3" }, " Create request, folder, collection or import from OpenAPI/Postman ")
81
84
  ], -1))
82
- ])) : S("", !0),
83
- a("div", U, [
84
- n.value ? (u(), w(o(y), {
85
+ ])) : w("", !0),
86
+ o("div", U, [
87
+ p.value ? (u(), S(a(y), {
85
88
  key: 0,
86
89
  class: "w-full",
87
90
  size: "sm",
88
- onClick: e[1] || (e[1] = (t) => d("open:commandPalette", "import"))
91
+ onClick: e[1] || (e[1] = (t) => s("open:commandPalette", "import"))
89
92
  }, {
90
- default: i(() => [...e[7] || (e[7] = [
91
- c(" Import Collection ", -1)
93
+ default: i(() => [...e[8] || (e[8] = [
94
+ b(" Import Collection ", -1)
92
95
  ])]),
93
96
  _: 1
94
- })) : S("", !0),
95
- r(o(y), {
97
+ })) : w("", !0),
98
+ d(a(y), {
96
99
  class: "w-full",
97
100
  hotkey: "K",
98
101
  size: "sm",
99
102
  variant: "outlined",
100
- onClick: e[2] || (e[2] = (t) => d("open:commandPalette"))
103
+ onClick: e[2] || (e[2] = (t) => s("open:commandPalette"))
101
104
  }, {
102
- default: i(() => [...e[8] || (e[8] = [
103
- c(" Add Item ", -1)
105
+ default: i(() => [...e[9] || (e[9] = [
106
+ b(" Add Item ", -1)
104
107
  ])]),
105
108
  _: 1
106
109
  })
@@ -109,7 +112,7 @@ const $ = {
109
112
  ]),
110
113
  key: "0"
111
114
  } : void 0
112
- ]), 1032, ["isSidebarOpen", "sidebarWidth", "workspace", "documents", "layout"]));
115
+ ]), 1032, ["isSidebarOpen", "sidebarWidth", "workspace", "sidebarState", "layout"]));
113
116
  }
114
117
  });
115
118
  export {
@@ -55,16 +55,6 @@ export declare const ROUTES: ({
55
55
  path: string;
56
56
  component: () => Promise<typeof import("../../../../v2/features/collection/components/Overview.vue.js")>;
57
57
  redirect?: undefined;
58
- } | {
59
- name: string;
60
- path: string;
61
- component: () => Promise<typeof import("../../../../v2/features/collection/components/Servers.vue.js")>;
62
- redirect?: undefined;
63
- } | {
64
- name: string;
65
- path: string;
66
- component: () => Promise<typeof import("../../../../v2/features/collection/components/Authentication.vue.js")>;
67
- redirect?: undefined;
68
58
  } | {
69
59
  name: string;
70
60
  path: string;
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/app/helpers/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AACnH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,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M,UAAU,GAAG;IACvB,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAClC,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,MAAM,EAAE,YAAY,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,kBAAkB,CAAA;IAC/B,cAAc,EAAE,cAAc,CAAA;CAG/B,CAAA;AAED,oCAAoC;AACpC,MAAM,MAAM,eAAe,GAAG,UAAU,GACtC,CACI;IACE,cAAc,EAAE,UAAU,CAAA;IAC1B,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GACD;IACE,cAAc,EAAE,WAAW,CAAA;IAC3B,QAAQ,EAAE,IAAI,CAAA;CACf,CACJ,CAAA;AAEH,kFAAkF;AAClF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyGS,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentCollection.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/collection/DocumentCollection.vue"],"names":[],"mappings":"AAkHA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAMlE;;;;;;;GAOG;;AACH,wBAkQC"}
1
+ {"version":3,"file":"DocumentCollection.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/collection/DocumentCollection.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAMlE;;;;;;;GAOG;;AACH,wBAsQC"}
@@ -1,20 +1,20 @@
1
- import { defineComponent as f, computed as c, createElementBlock as d, openBlock as a, createElementVNode as t, createVNode as n, withCtx as r, unref as s, createBlock as p, KeepAlive as v, resolveDynamicComponent as x } from "vue";
1
+ import { defineComponent as f, computed as d, createElementBlock as s, openBlock as a, createElementVNode as t, createVNode as l, withCtx as r, unref as u, createBlock as p, KeepAlive as v, resolveDynamicComponent as x } from "vue";
2
2
  import { ScalarButton as h } from "@scalar/components";
3
- import { LibraryIcon as w } from "@scalar/icons/library";
4
- import { RouterView as y } from "vue-router";
3
+ import { LibraryIcon as y } from "@scalar/icons/library";
4
+ import { RouterView as w } from "vue-router";
5
5
  import b from "../../../components/IconSelector.vue.js";
6
- import k from "./components/LabelInput.vue.js";
7
- import _ from "./components/Tabs.vue.js";
8
- const B = {
6
+ import _ from "./components/LabelInput.vue.js";
7
+ import k from "./components/Tabs.vue.js";
8
+ const B = { class: "custom-scroll h-full" }, V = {
9
9
  key: 0,
10
10
  class: "w-full md:mx-auto md:max-w-[720px]"
11
- }, V = ["aria-label"], g = { class: "flex flex-row items-center gap-2" }, S = { class: "group relative ml-1.25" }, C = { class: "px-1.5 pt-8" }, D = {
11
+ }, g = ["aria-label"], S = { class: "flex flex-row items-center gap-2" }, C = { class: "group relative ml-1.25" }, D = { class: "px-1.5 py-8" }, N = {
12
12
  key: 1,
13
13
  class: "flex w-full flex-1 items-center justify-center"
14
- }, N = {
14
+ }, I = {
15
15
  name: "DocumentCollection"
16
- }, q = /* @__PURE__ */ f({
17
- ...N,
16
+ }, z = /* @__PURE__ */ f({
17
+ ...I,
18
18
  props: {
19
19
  document: {},
20
20
  eventBus: {},
@@ -25,74 +25,76 @@ const B = {
25
25
  environment: {},
26
26
  workspaceStore: {}
27
27
  },
28
- setup(u) {
29
- const m = c(() => u.document?.info?.title || "Untitled Document"), i = c(
30
- () => u.document?.["x-scalar-client-config-icon"] || "interface-content-folder"
28
+ setup(m) {
29
+ const i = d(() => m.document?.info?.title || "Untitled Document"), c = d(
30
+ () => m.document?.["x-scalar-client-config-icon"] || "interface-content-folder"
31
31
  );
32
- return (e, o) => e.document ? (a(), d("div", B, [
33
- t("div", {
34
- "aria-label": `title: ${m.value}`,
35
- class: "mx-auto flex h-fit w-full flex-col gap-2 pt-6 pb-3 md:mx-auto md:max-w-[720px]"
36
- }, [
37
- t("div", g, [
38
- n(b, {
39
- modelValue: i.value,
40
- placement: "bottom-start",
41
- "onUpdate:modelValue": o[0] || (o[0] = (l) => e.eventBus.emit("document:update:icon", l))
42
- }, {
43
- default: r(() => [
44
- n(s(h), {
45
- class: "hover:bg-b-2 aspect-square h-7 w-7 cursor-pointer rounded border border-transparent p-0 hover:border-inherit",
46
- variant: "ghost"
47
- }, {
48
- default: r(() => [
49
- n(s(w), {
50
- class: "text-c-2 size-5",
51
- src: i.value,
52
- "stroke-width": "2"
53
- }, null, 8, ["src"])
54
- ]),
55
- _: 1
56
- })
32
+ return (e, o) => (a(), s("div", B, [
33
+ e.document ? (a(), s("div", V, [
34
+ t("div", {
35
+ "aria-label": `title: ${i.value}`,
36
+ class: "mx-auto flex h-fit w-full flex-col gap-2 pt-6 pb-3 md:mx-auto md:max-w-[720px]"
37
+ }, [
38
+ t("div", S, [
39
+ l(b, {
40
+ modelValue: c.value,
41
+ placement: "bottom-start",
42
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => e.eventBus.emit("document:update:icon", n))
43
+ }, {
44
+ default: r(() => [
45
+ l(u(h), {
46
+ class: "hover:bg-b-2 aspect-square h-7 w-7 cursor-pointer rounded border border-transparent p-0 hover:border-inherit",
47
+ variant: "ghost"
48
+ }, {
49
+ default: r(() => [
50
+ l(u(y), {
51
+ class: "text-c-2 size-5",
52
+ src: c.value,
53
+ "stroke-width": "2"
54
+ }, null, 8, ["src"])
55
+ ]),
56
+ _: 1
57
+ })
58
+ ]),
59
+ _: 1
60
+ }, 8, ["modelValue"])
61
+ ]),
62
+ t("div", C, [
63
+ l(_, {
64
+ class: "text-xl font-bold",
65
+ inputId: "documentName",
66
+ modelValue: i.value,
67
+ "onUpdate:modelValue": o[1] || (o[1] = (n) => e.eventBus.emit("document:update:info", { title: n }))
68
+ }, null, 8, ["modelValue"])
69
+ ])
70
+ ], 8, g),
71
+ l(k, { type: "document" }),
72
+ t("div", D, [
73
+ l(u(w), null, {
74
+ default: r(({ Component: n }) => [
75
+ (a(), p(v, null, [
76
+ (a(), p(x(n), {
77
+ collectionType: "document",
78
+ document: e.document,
79
+ environment: e.environment,
80
+ eventBus: e.eventBus,
81
+ layout: e.layout,
82
+ workspaceStore: e.workspaceStore
83
+ }, null, 8, ["document", "environment", "eventBus", "layout", "workspaceStore"]))
84
+ ], 1024))
57
85
  ]),
58
86
  _: 1
59
- }, 8, ["modelValue"])
60
- ]),
61
- t("div", S, [
62
- n(k, {
63
- class: "text-xl font-bold",
64
- inputId: "documentName",
65
- modelValue: m.value,
66
- "onUpdate:modelValue": o[1] || (o[1] = (l) => e.eventBus.emit("document:update:info", { title: l }))
67
- }, null, 8, ["modelValue"])
87
+ })
68
88
  ])
69
- ], 8, V),
70
- n(_, { type: "document" }),
71
- t("div", C, [
72
- n(s(y), null, {
73
- default: r(({ Component: l }) => [
74
- (a(), p(v, null, [
75
- (a(), p(x(l), {
76
- collectionType: "document",
77
- document: e.document,
78
- environment: e.environment,
79
- eventBus: e.eventBus,
80
- layout: e.layout,
81
- workspaceStore: e.workspaceStore
82
- }, null, 8, ["document", "environment", "eventBus", "layout", "workspaceStore"]))
83
- ], 1024))
84
- ]),
85
- _: 1
86
- })
87
- ])
88
- ])) : (a(), d("div", D, [...o[2] || (o[2] = [
89
- t("div", { class: "flex h-full flex-col items-center justify-center" }, [
90
- t("h1", { class: "text-2xl font-bold" }, "Document not found"),
91
- t("p", { class: "text-gray-500" }, " The document you are looking for does not exist. ")
92
- ], -1)
93
- ])]));
89
+ ])) : (a(), s("div", N, [...o[2] || (o[2] = [
90
+ t("div", { class: "flex h-full flex-col items-center justify-center" }, [
91
+ t("h1", { class: "text-2xl font-bold" }, "Document not found"),
92
+ t("p", { class: "text-gray-500" }, " The document you are looking for does not exist. ")
93
+ ], -1)
94
+ ])]))
95
+ ]));
94
96
  }
95
97
  });
96
98
  export {
97
- q as default
99
+ z as default
98
100
  };
@@ -1,27 +1,15 @@
1
- import type { Environment } from '@scalar/oas-utils/entities/environment';
2
- import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
3
- import type { OpenApiDocument, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
4
- import type { EnvVariable } from '../../../../store/index.js';
5
- type __VLS_Props = {
6
- /** Should use document security */
7
- useDocumentSecurity: boolean;
8
- /** Security requirements for the document */
9
- security: OpenApiDocument['security'];
10
- /** Currently selected security requirements */
11
- selectedSecurity: OpenApiDocument['x-scalar-selected-security'];
12
- /** Security schemes available in the document */
13
- securitySchemes: NonNullable<OpenApiDocument['components']>['securitySchemes'];
14
- /** Currently selected server */
15
- server: ServerObject | undefined;
16
- eventBus: WorkspaceEventBus;
17
- /** TODO: remove when we migrate */
18
- environment: Environment;
19
- envVariables: EnvVariable[];
20
- };
21
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
22
- "update:useDocumentSecurity": (value: boolean) => any;
23
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
- "onUpdate:useDocumentSecurity"?: ((value: boolean) => any) | undefined;
25
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<(import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
2
+ collectionType: "document";
3
+ document: import("@scalar/workspace-store/schemas").WorkspaceDocument;
4
+ }) | (import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
5
+ collectionType: "workspace";
6
+ document: null;
7
+ }), {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<(import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
8
+ collectionType: "document";
9
+ document: import("@scalar/workspace-store/schemas").WorkspaceDocument;
10
+ }) | (import("../../../../v2/features/app/helpers/routes.js").RouteProps & {
11
+ collectionType: "workspace";
12
+ document: null;
13
+ })> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
14
  export default _default;
27
15
  //# sourceMappingURL=Authentication.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Authentication.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACb,MAAM,8DAA8D,CAAA;AAErE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAG1C,KAAK,WAAW,GAAG;IACjB,mCAAmC;IACnC,mBAAmB,EAAE,OAAO,CAAA;IAE5B,6CAA6C;IAC7C,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAA;IACrC,+CAA+C;IAC/C,gBAAgB,EAAE,eAAe,CAAC,4BAA4B,CAAC,CAAA;IAC/D,iDAAiD;IACjD,eAAe,EAAE,WAAW,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAA;IAC9E,gCAAgC;IAChC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAEhC,QAAQ,EAAE,iBAAiB,CAAA;IAE3B,mCAAmC;IACnC,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;;;;;;AA2HF,wBAOG"}
1
+ {"version":3,"file":"Authentication.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Authentication.vue"],"names":[],"mappings":";;;;;;;;;;;;;AAyNA,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./Authentication.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ o(t, [["__scopeId", "data-v-e8b21b10"]]);
4
+ const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-8dd529fe"]]);
5
5
  export {
6
- i as default
6
+ f as default
7
7
  };
@@ -1,49 +1,61 @@
1
- import { defineComponent as u, createElementBlock as c, openBlock as a, createElementVNode as s, createVNode as n, unref as r } from "vue";
2
- import { ScalarToggle as m } from "@scalar/components";
3
- import d from "../../../blocks/scalar-auth-selector-block/components/AuthSelector.vue.js";
4
- const p = { class: "flex flex-col gap-4" }, y = { class: "flex flex-col gap-2" }, v = { class: "flex h-8 items-center justify-between" }, b = /* @__PURE__ */ u({
1
+ import { defineComponent as u, computed as l, createElementBlock as m, openBlock as d, createElementVNode as n, createVNode as i, unref as c, normalizeClass as a } from "vue";
2
+ import { ScalarToggle as p } from "@scalar/components";
3
+ import v from "../../../blocks/scalar-auth-selector-block/components/AuthSelector.vue.js";
4
+ const y = { class: "flex flex-col gap-4" }, f = { class: "flex flex-col gap-2" }, h = { class: "flex h-8 items-center justify-between" }, x = /* @__PURE__ */ u({
5
5
  __name: "Authentication",
6
6
  props: {
7
- useDocumentSecurity: { type: Boolean },
8
- security: {},
9
- selectedSecurity: {},
10
- securitySchemes: {},
11
- server: {},
7
+ document: {},
12
8
  eventBus: {},
9
+ layout: {},
10
+ path: {},
11
+ method: {},
12
+ exampleName: {},
13
13
  environment: {},
14
- envVariables: {}
14
+ workspaceStore: {},
15
+ collectionType: {}
15
16
  },
16
- emits: ["update:useDocumentSecurity"],
17
- setup(f, { emit: i }) {
18
- const o = i;
19
- return (e, t) => (a(), c("div", p, [
20
- s("div", y, [
21
- s("div", v, [
22
- t[1] || (t[1] = s("h3", { class: "font-bold" }, "Authentication", -1)),
23
- n(r(m), {
17
+ setup(o) {
18
+ const s = l(
19
+ () => o.document?.["x-scalar-document-security"] ?? !1
20
+ ), r = l(
21
+ () => o.document?.servers?.find(
22
+ ({ url: e }) => e === o.document?.["x-scalar-selected-server"]
23
+ )
24
+ );
25
+ return (e, t) => (d(), m("div", y, [
26
+ n("div", f, [
27
+ n("div", h, [
28
+ t[1] || (t[1] = n("h3", { class: "font-bold" }, "Authentication", -1)),
29
+ i(c(p), {
24
30
  class: "w-4",
25
- modelValue: e.useDocumentSecurity,
26
- "onUpdate:modelValue": t[0] || (t[0] = (l) => o("update:useDocumentSecurity", l))
31
+ modelValue: s.value,
32
+ "onUpdate:modelValue": t[0] || (t[0] = () => e.eventBus.emit("document:toggle:document-security"))
27
33
  }, null, 8, ["modelValue"])
28
34
  ]),
29
- t[2] || (t[2] = s("p", { class: "pr-6 text-sm" }, " Added authentication will apply to all requests under this collection. You can override this by specifying another one in the request. ", -1))
35
+ t[2] || (t[2] = n("p", { class: "pr-6 text-sm" }, " If enabled, all selected authentication will apply to all operations in this document. You can override this by disabling the toggle and authentication will then be applied at the operation level. ", -1))
30
36
  ]),
31
- n(r(d), {
32
- class: "scalar-collection-auth",
33
- envVariables: e.envVariables,
34
- environment: e.environment,
35
- layout: "client",
36
- security: e.security,
37
- securitySchemes: e.securitySchemes,
38
- selectedSecurity: e.selectedSecurity,
39
- server: e.server,
40
- title: "Authentication",
41
- eventBus: e.eventBus,
42
- meta: { type: "document" }
43
- }, null, 8, ["envVariables", "environment", "security", "securitySchemes", "selectedSecurity", "server", "eventBus"])
37
+ n("div", {
38
+ class: a(!s.value && "cursor-not-allowed")
39
+ }, [
40
+ i(c(v), {
41
+ class: a([
42
+ "scalar-collection-auth !border-none",
43
+ !s.value && "pointer-events-none opacity-50 mix-blend-luminosity"
44
+ ]),
45
+ environment: e.environment,
46
+ eventBus: e.eventBus,
47
+ isStatic: "",
48
+ meta: { type: "document" },
49
+ security: e.document?.security ?? [],
50
+ securitySchemes: e.document?.components?.securitySchemes ?? {},
51
+ selectedSecurity: e.document?.["x-scalar-selected-security"],
52
+ server: r.value,
53
+ title: "Authentication"
54
+ }, null, 8, ["class", "environment", "eventBus", "security", "securitySchemes", "selectedSecurity", "server"])
55
+ ], 2)
44
56
  ]));
45
57
  }
46
58
  });
47
59
  export {
48
- b as default
60
+ x as default
49
61
  };
@@ -1,7 +1,4 @@
1
- import type { Cookie } from '@scalar/oas-utils/entities/cookie';
2
- import type { Environment } from '@scalar/oas-utils/entities/environment';
3
- import type { Path, PathValue } from '@scalar/object-utils/nested';
4
- import { type EnvVariable } from '../../../../store/index.js';
1
+ import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
5
2
  type __VLS_Props = {
6
3
  title?: string;
7
4
  options: {
@@ -10,9 +7,8 @@ type __VLS_Props = {
10
7
  placeholder: string;
11
8
  }[];
12
9
  data: Record<string, any>;
13
- onUpdate: <P extends Path<Cookie>>(key: P, value: NonNullable<PathValue<Cookie, P>>) => void;
14
- environment: Environment;
15
- envVariables: EnvVariable[];
10
+ onUpdate: (key: string, value: string) => void;
11
+ environment: XScalarEnvironment;
16
12
  };
17
13
  declare var __VLS_5: {};
18
14
  type __VLS_Slots = {} & {
@@ -1 +1 @@
1
- {"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/collection/components/Form.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAOlE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,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,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC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