@scalar/api-client 2.29.4 → 2.31.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 (106) hide show
  1. package/CHANGELOG.md +95 -0
  2. package/dist/components/DataTable/DataTableCell.vue.js +1 -1
  3. package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
  4. package/dist/components/Server/ServerSelector.vue.js +5 -5
  5. package/dist/components/Sidebar/Sidebar.vue.js +3 -3
  6. package/dist/components/Sidebar/Sidebar.vue2.js +1 -1
  7. package/dist/components/ViewLayout/ViewLayout.vue.js +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +9 -69
  10. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  11. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +74 -76
  12. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +15 -8
  13. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  14. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
  15. package/dist/v2/blocks/operation-block/components/Header.vue2.js +29 -28
  16. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.d.ts +1 -1
  17. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.d.ts.map +1 -1
  18. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.js +18 -21
  19. package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
  20. package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
  21. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +22 -21
  22. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +12 -0
  23. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
  24. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +12 -0
  25. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  26. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  27. package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +2 -2
  28. package/dist/v2/blocks/response-block/components/ResponseBody.vue2.js +1 -1
  29. package/dist/v2/blocks/response-block/components/ResponseBodyStreaming.vue.js +1 -1
  30. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +13 -8
  31. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  32. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  33. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +97 -85
  34. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +7 -7
  35. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
  36. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +7 -7
  37. package/dist/v2/components/data-table/DataTableCell.vue.js +1 -1
  38. package/dist/v2/components/server/ServerDropdown.vue.d.ts +16 -5
  39. package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
  40. package/dist/v2/components/server/ServerDropdown.vue.js +27 -24
  41. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  42. package/dist/v2/features/app/app-events.js +29 -14
  43. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  44. package/dist/v2/features/app/app-state.js +57 -57
  45. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  46. package/dist/v2/features/app/components/AppSidebar.vue.js +2 -2
  47. package/dist/v2/features/app/components/AppSidebar.vue2.js +171 -148
  48. package/dist/v2/features/app/components/DownloadAppButton.vue.js +1 -1
  49. package/dist/v2/features/app/components/DownloadAppButton.vue2.js +1 -1
  50. package/dist/v2/features/app/helpers/routes.d.ts +42 -12
  51. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  52. package/dist/v2/features/app/helpers/routes.js +57 -26
  53. package/dist/v2/features/collection/OperationCollection.vue.d.ts +6 -0
  54. package/dist/v2/features/collection/OperationCollection.vue.d.ts.map +1 -0
  55. package/dist/v2/features/collection/OperationCollection.vue.js +83 -0
  56. package/dist/v2/features/collection/OperationCollection.vue2.js +4 -0
  57. package/dist/v2/features/collection/components/Authentication.vue.d.ts +2 -2
  58. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  59. package/dist/v2/features/collection/components/Authentication.vue.js +1 -1
  60. package/dist/v2/features/collection/components/Authentication.vue2.js +100 -49
  61. package/dist/v2/features/collection/components/Cookies.vue.d.ts +9 -4
  62. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
  63. package/dist/v2/features/collection/components/Cookies.vue.js +12 -10
  64. package/dist/v2/features/collection/components/Environment.vue.d.ts +9 -4
  65. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
  66. package/dist/v2/features/collection/components/Environment.vue.js +18 -16
  67. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +6 -2
  68. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -1
  69. package/dist/v2/features/collection/components/LabelInput.vue.js +2 -2
  70. package/dist/v2/features/collection/components/LabelInput.vue2.js +20 -18
  71. package/dist/v2/features/collection/components/Overview.vue.d.ts +2 -2
  72. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
  73. package/dist/v2/features/collection/components/Overview.vue.js +1 -1
  74. package/dist/v2/features/collection/components/Overview.vue2.js +177 -75
  75. package/dist/v2/features/collection/components/Servers.vue.d.ts +2 -2
  76. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  77. package/dist/v2/features/collection/components/Servers.vue.js +154 -98
  78. package/dist/v2/features/collection/components/Settings.vue.d.ts +2 -2
  79. package/dist/v2/features/collection/components/Tabs.vue.d.ts +2 -1
  80. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -1
  81. package/dist/v2/features/collection/components/Tabs.vue.js +25 -27
  82. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts +12 -0
  83. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts.map +1 -0
  84. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js +13 -0
  85. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  86. package/dist/v2/features/operation/Operation.vue.js +61 -63
  87. package/dist/v2/features/operation/helpers/get-selected-security.d.ts +5 -3
  88. package/dist/v2/features/operation/helpers/get-selected-security.d.ts.map +1 -1
  89. package/dist/v2/features/operation/helpers/get-selected-security.js +7 -8
  90. package/dist/v2/features/operation/helpers/get-selected-server.d.ts +8 -6
  91. package/dist/v2/features/operation/helpers/get-selected-server.d.ts.map +1 -1
  92. package/dist/v2/features/operation/helpers/get-selected-server.js +2 -2
  93. package/dist/v2/helpers/drag-handle-factory.d.ts.map +1 -1
  94. package/dist/v2/helpers/drag-handle-factory.js +41 -41
  95. package/dist/v2/workspace-events.d.ts.map +1 -1
  96. package/dist/v2/workspace-events.js +25 -15
  97. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  98. package/dist/views/Request/RequestSidebarItem.vue2.js +24 -24
  99. package/dist/views/Request/ResponseSection/ResponseBody.vue.js +2 -2
  100. package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +1 -1
  101. package/dist/views/Request/ResponseSection/ResponseBodyStreaming.vue.js +1 -1
  102. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  103. package/package.json +17 -17
  104. package/dist/v2/helpers/remove-circular.d.ts +0 -15
  105. package/dist/v2/helpers/remove-circular.d.ts.map +0 -1
  106. package/dist/v2/helpers/remove-circular.js +0 -18
@@ -1,22 +1,24 @@
1
- import { defineComponent as P, useId as K, computed as x, ref as v, useTemplateRef as E, onMounted as Q, onBeforeUnmount as j, createElementBlock as $, openBlock as b, unref as s, createElementVNode as l, normalizeClass as V, createVNode as a, createCommentVNode as q, normalizeStyle as G, createBlock as J, withCtx as T, createTextVNode as g, toDisplayString as f } from "vue";
2
- import { ScalarButton as z, ScalarWrappingText as X, ScalarIcon as Y } from "@scalar/components";
3
- import { REQUEST_METHODS as Z } from "@scalar/helpers/http/http-info";
4
- import { ScalarIconCopy as _, ScalarIconWarningCircle as ee } from "@scalar/icons";
5
- import { useClipboard as te } from "@scalar/use-hooks/useClipboard";
6
- import { getResolvedUrl as ne } from "../../operation-block/helpers/get-resolved-url.js";
7
- import { useLoadingAnimation as oe } from "../hooks/use-loading-animation.js";
1
+ import { defineComponent as K, useId as Q, computed as x, ref as m, useTemplateRef as E, onMounted as j, onBeforeUnmount as G, createElementBlock as M, openBlock as b, unref as l, createElementVNode as o, normalizeClass as V, createVNode as a, createCommentVNode as $, normalizeStyle as J, createBlock as X, withCtx as T, createTextVNode as g, toDisplayString as v } from "vue";
2
+ import { ScalarButton as q, ScalarWrappingText as Y, ScalarIcon as Z } from "@scalar/components";
3
+ import { REQUEST_METHODS as _ } from "@scalar/helpers/http/http-info";
4
+ import { ScalarIconCopy as ee, ScalarIconWarningCircle as te } from "@scalar/icons";
5
+ import { useClipboard as ne } from "@scalar/use-hooks/useClipboard";
6
+ import { getResolvedUrl as oe } from "../../operation-block/helpers/get-resolved-url.js";
7
+ import { useLoadingAnimation as se } from "../hooks/use-loading-animation.js";
8
8
  import le from "./AddressBarHistory.vue.js";
9
- import se from "../../../../components/HttpMethod/HttpMethod.vue.js";
10
- import ae from "../../../components/server/ServerDropdown.vue.js";
11
- import re from "../../../components/code-input/CodeInput.vue.js";
12
- const ie = ["id"], de = { class: "flex gap-1" }, ue = { class: "scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal" }, me = {
9
+ import ae from "../../../../components/HttpMethod/HttpMethod.vue.js";
10
+ import re from "../../../components/server/ServerDropdown.vue.js";
11
+ import ie from "../../../components/code-input/CodeInput.vue.js";
12
+ const de = ["id"], ue = { class: "flex gap-1" }, me = { class: "scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal" }, ve = {
13
13
  key: 0,
14
14
  class: "absolute inset-x-0 top-[calc(100%+4px)] flex flex-col items-center rounded px-6"
15
- }, ve = { class: "text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1" }, fe = { class: "min-w-0 flex-1" }, ce = {
15
+ }, fe = { class: "text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1" }, ce = { class: "min-w-0 flex-1" }, he = {
16
16
  "aria-hidden": "true",
17
17
  class: "inline-flex items-center gap-1"
18
- }, he = { class: "sr-only" }, Re = /* @__PURE__ */ P({
19
- __name: "AddressBar",
18
+ }, xe = { class: "sr-only" }, be = {
19
+ name: "AddressBar"
20
+ }, Me = /* @__PURE__ */ K({
21
+ ...be,
20
22
  props: {
21
23
  path: {},
22
24
  method: {},
@@ -25,74 +27,83 @@ const ie = ["id"], de = { class: "flex gap-1" }, ue = { class: "scroll-timeline-
25
27
  history: {},
26
28
  layout: {},
27
29
  eventBus: {},
28
- environment: {}
30
+ environment: {},
31
+ serverMeta: {}
29
32
  },
30
- emits: ["execute", "update:servers", "select:history:item"],
31
- setup(e, { expose: D, emit: I }) {
32
- const d = I, c = K(), { percentage: L, startLoading: y, stopLoading: h, isLoading: A } = oe(), M = x(() => ({
33
- backgroundColor: `color-mix(in srgb, transparent 90%, ${Z[e.method].colorVar})`,
34
- transform: `translate3d(-${L.value}%,0,0)`
35
- })), i = v(null), r = v(null), B = x(() => r.value || i.value), p = (n, t, o) => {
36
- const W = u.value?.cursorPosition();
33
+ emits: ["execute", "select:history:item"],
34
+ setup(e, { expose: z, emit: D }) {
35
+ const f = D, c = Q(), { percentage: I, startLoading: y, stopLoading: h, isLoading: L } = se(), A = x(() => ({
36
+ backgroundColor: `color-mix(in srgb, transparent 90%, ${_[e.method].colorVar})`,
37
+ transform: `translate3d(-${I.value}%,0,0)`
38
+ })), i = m(null), r = m(null), B = x(() => r.value || i.value), C = (n, t, s) => {
39
+ const W = d.value?.cursorPosition();
37
40
  e.eventBus.emit(
38
41
  "operation:update:pathMethod",
39
42
  {
40
43
  meta: { method: e.method, path: e.path },
41
44
  payload: { method: n, path: t },
42
- callback: (m) => {
43
- (m === "success" || m === "no-change") && (r.value = null, i.value = null), m === "success" ? e.eventBus.emit("ui:focus:address-bar", { position: W }) : m === "conflict" && (n !== e.method && (r.value = n), t !== e.path && (i.value = t));
45
+ callback: (u) => {
46
+ (u === "success" || u === "no-change") && (r.value = null, i.value = null), u === "success" ? e.eventBus.emit("ui:focus:address-bar", { position: W }) : u === "conflict" && (n !== e.method && (r.value = n), t !== e.path && (i.value = t));
44
47
  }
45
48
  },
46
- o
49
+ s
47
50
  );
48
- }, O = (n) => p(n, i.value ?? e.path), H = (n) => {
51
+ }, O = (n) => C(n, i.value ?? e.path), H = (n) => {
49
52
  const t = n.startsWith("/") ? n : `/${n}`;
50
- p(r.value ?? e.method, t, {
53
+ C(r.value ?? e.method, t, {
51
54
  debounceKey: `operation:update:pathMethod-${e.path}-${e.method}`
52
55
  });
53
- }, C = E("sendButtonRef"), u = E("addressBarRef"), w = () => C.value?.$el?.focus(), k = (n) => {
54
- if (u.value?.isFocused && e.layout !== "desktop")
56
+ }, p = E("sendButtonRef"), d = E("addressBarRef"), w = () => p.value?.$el?.focus(), k = (n) => {
57
+ if (d.value?.isFocused && e.layout !== "desktop")
55
58
  return;
56
59
  const t = n && "position" in n ? n.position : "end";
57
- u.value?.focus(t), n && "event" in n && n.event.preventDefault();
60
+ d.value?.focus(t), n && "event" in n && n.event.preventDefault();
58
61
  };
59
- Q(() => {
62
+ j(() => {
60
63
  e.eventBus.on("ui:focus:address-bar", k), e.eventBus.on("ui:focus:send-button", w), e.eventBus.on("hooks:on:request:sent", y), e.eventBus.on("hooks:on:request:complete", h);
61
- }), j(() => {
64
+ }), G(() => {
62
65
  e.eventBus.off("ui:focus:address-bar", k), e.eventBus.off("ui:focus:send-button", w), e.eventBus.off("hooks:on:request:sent", y), e.eventBus.off("hooks:on:request:complete", h), h();
63
66
  });
64
- const { copyToClipboard: N } = te(), F = async () => {
67
+ const { copyToClipboard: N } = ne(), P = async () => {
65
68
  await N(
66
- ne({ environment: e.environment, server: e.server, path: e.path, pathVariables: {} })
69
+ oe({ environment: e.environment, server: e.server, path: e.path, pathVariables: {} })
67
70
  );
68
- }, S = v(!1), U = v(!1), R = x(
71
+ }, S = m(!1), U = m(!1), R = x(
69
72
  () => S.value || U.value
70
- );
71
- return D({
73
+ ), F = () => e.serverMeta.type === "operation" ? e.eventBus.emit("ui:navigate", {
74
+ page: "operation",
75
+ path: "servers",
76
+ operationPath: e.serverMeta.path,
77
+ method: e.serverMeta.method
78
+ }) : e.eventBus.emit("ui:navigate", {
79
+ page: "document",
80
+ path: "servers"
81
+ });
82
+ return z({
72
83
  methodConflict: r,
73
84
  pathConflict: i
74
- }), (n, t) => (b(), $("div", {
75
- id: s(c),
85
+ }), (n, t) => (b(), M("div", {
86
+ id: l(c),
76
87
  class: "scalar-address-bar order-last flex h-(--scalar-address-bar-height) w-full [--scalar-address-bar-height:32px] lg:order-0 lg:w-auto"
77
88
  }, [
78
- l("div", {
89
+ o("div", {
79
90
  class: V(["address-bar-bg-states text-xxs group relative order-last flex w-full max-w-[calc(100dvw-24px)] flex-1 flex-row items-stretch rounded-lg p-0.75 lg:order-none lg:max-w-[580px] lg:min-w-[580px] xl:max-w-[720px] xl:min-w-[720px]", {
80
91
  "outline-c-danger outline": B.value,
81
92
  "rounded-b-none": R.value
82
93
  }])
83
94
  }, [
84
- l("div", {
95
+ o("div", {
85
96
  class: V(["pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border", {
86
97
  "rounded-b-none": R.value
87
98
  }])
88
99
  }, [
89
- l("div", {
100
+ o("div", {
90
101
  class: "absolute top-0 left-0 h-full w-full",
91
- style: G(M.value)
102
+ style: J(A.value)
92
103
  }, null, 4)
93
104
  ], 2),
94
- l("div", de, [
95
- a(s(se), {
105
+ o("div", ue, [
106
+ a(l(ae), {
96
107
  isEditable: e.layout !== "modal",
97
108
  isSquare: "",
98
109
  method: r.value ?? e.method,
@@ -100,22 +111,23 @@ const ie = ["id"], de = { class: "flex gap-1" }, ue = { class: "scroll-timeline-
100
111
  onChange: O
101
112
  }, null, 8, ["isEditable", "method"])
102
113
  ]),
103
- l("div", ue, [
104
- e.servers.length ? (b(), J(s(ae), {
114
+ o("div", me, [
115
+ e.servers.length ? (b(), X(l(re), {
105
116
  key: 0,
106
117
  layout: e.layout,
118
+ meta: e.serverMeta,
107
119
  server: e.server,
108
120
  servers: e.servers,
109
- target: s(c),
110
- "onUpdate:open": t[0] || (t[0] = (o) => S.value = o),
111
- "onUpdate:selectedServer": t[1] || (t[1] = (o) => e.eventBus.emit("server:update:selected", o)),
112
- "onUpdate:servers": t[2] || (t[2] = (o) => d("update:servers")),
113
- "onUpdate:variable": t[3] || (t[3] = (o) => e.eventBus.emit("server:update:variables", o))
114
- }, null, 8, ["layout", "server", "servers", "target"])) : q("", !0),
115
- t[8] || (t[8] = l("div", { class: "fade-left" }, null, -1)),
116
- a(s(re), {
121
+ target: l(c),
122
+ "onUpdate:open": t[0] || (t[0] = (s) => S.value = s),
123
+ "onUpdate:selectedServer": t[1] || (t[1] = (s) => e.eventBus.emit("server:update:selected", s)),
124
+ "onUpdate:servers": F,
125
+ "onUpdate:variable": t[2] || (t[2] = (s) => e.eventBus.emit("server:update:variables", s))
126
+ }, null, 8, ["layout", "meta", "server", "servers", "target"])) : $("", !0),
127
+ t[7] || (t[7] = o("div", { class: "fade-left" }, null, -1)),
128
+ a(l(ie), {
117
129
  ref_key: "addressBarRef",
118
- ref: u,
130
+ ref: d,
119
131
  alwaysEmitChange: "",
120
132
  "aria-label": "Path",
121
133
  class: "min-w-fit outline-none",
@@ -130,67 +142,67 @@ const ie = ["id"], de = { class: "flex gap-1" }, ue = { class: "scroll-timeline-
130
142
  modelValue: e.path,
131
143
  placeholder: e.server ? "" : "Enter a URL",
132
144
  server: "",
133
- onSubmit: t[4] || (t[4] = (o) => d("execute")),
145
+ onSubmit: t[3] || (t[3] = (s) => f("execute")),
134
146
  "onUpdate:modelValue": H
135
147
  }, null, 8, ["disabled", "environment", "layout", "modelValue", "placeholder"]),
136
- t[9] || (t[9] = l("div", { class: "fade-right" }, null, -1))
148
+ t[8] || (t[8] = o("div", { class: "fade-right" }, null, -1))
137
149
  ]),
138
- a(s(z), {
150
+ a(l(q), {
139
151
  class: "hover:bg-b-3 mx-1",
140
152
  size: "xs",
141
153
  variant: "ghost",
142
- onClick: F
154
+ onClick: P
143
155
  }, {
144
156
  default: T(() => [
145
- a(s(_)),
146
- t[10] || (t[10] = l("span", { class: "sr-only" }, "Copy URL", -1))
157
+ a(l(ee)),
158
+ t[9] || (t[9] = o("span", { class: "sr-only" }, "Copy URL", -1))
147
159
  ]),
148
160
  _: 1
149
161
  }),
150
162
  a(le, {
151
163
  history: e.history,
152
- target: s(c),
153
- "onSelect:history:item": t[5] || (t[5] = (o) => d("select:history:item", o)),
154
- "onUpdate:open": t[6] || (t[6] = (o) => U.value = o)
164
+ target: l(c),
165
+ "onSelect:history:item": t[4] || (t[4] = (s) => f("select:history:item", s)),
166
+ "onUpdate:open": t[5] || (t[5] = (s) => U.value = s)
155
167
  }, null, 8, ["history", "target"]),
156
- B.value ? (b(), $("div", me, [
157
- l("div", ve, [
158
- a(s(ee), { size: "sm" }),
159
- l("div", fe, [
160
- t[11] || (t[11] = g(" A ", -1)),
161
- l("em", null, f(r.value?.toUpperCase() ?? e.method.toUpperCase()), 1),
162
- t[12] || (t[12] = g(" request to ", -1)),
163
- a(s(X), {
168
+ B.value ? (b(), M("div", ve, [
169
+ o("div", fe, [
170
+ a(l(te), { size: "sm" }),
171
+ o("div", ce, [
172
+ t[10] || (t[10] = g(" A ", -1)),
173
+ o("em", null, v(r.value?.toUpperCase() ?? e.method.toUpperCase()), 1),
174
+ t[11] || (t[11] = g(" request to ", -1)),
175
+ a(l(Y), {
164
176
  text: i.value ?? e.path
165
177
  }, null, 8, ["text"]),
166
- t[13] || (t[13] = g(" already exists in this document ", -1))
178
+ t[12] || (t[12] = g(" already exists in this document ", -1))
167
179
  ])
168
180
  ])
169
- ])) : q("", !0),
170
- a(s(z), {
181
+ ])) : $("", !0),
182
+ a(l(q), {
171
183
  ref_key: "sendButtonRef",
172
- ref: C,
184
+ ref: p,
173
185
  class: "relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold",
174
- disabled: s(A),
175
- onClick: t[7] || (t[7] = (o) => d("execute"))
186
+ disabled: l(L),
187
+ onClick: t[6] || (t[6] = (s) => f("execute"))
176
188
  }, {
177
189
  default: T(() => [
178
- l("span", ce, [
179
- a(s(Y), {
190
+ o("span", he, [
191
+ a(l(Z), {
180
192
  class: "relative shrink-0 fill-current",
181
193
  icon: "Play",
182
194
  size: "xs"
183
195
  }),
184
- t[14] || (t[14] = l("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
196
+ t[13] || (t[13] = o("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
185
197
  ]),
186
- l("span", he, " Send " + f(e.method) + " request to " + f(e.server?.url ?? "") + f(e.path), 1)
198
+ o("span", xe, " Send " + v(e.method) + " request to " + v(e.server?.url ?? "") + v(e.path), 1)
187
199
  ]),
188
200
  _: 1
189
201
  }, 8, ["disabled"])
190
202
  ], 2)
191
- ], 8, ie));
203
+ ], 8, de));
192
204
  }
193
205
  });
194
206
  export {
195
- Re as default
207
+ Me as default
196
208
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as U, useId as $, ref as f, computed as S, createBlock as x, openBlock as c, unref as s, withCtx as r, createVNode as m, createCommentVNode as p, createElementBlock as y, Fragment as b, createElementVNode as u, createTextVNode as g, toDisplayString as v, withModifiers as q, normalizeClass as M } from "vue";
1
+ import { defineComponent as U, useId as $, ref as v, computed as S, createBlock as x, openBlock as c, unref as s, withCtx as r, createVNode as m, createCommentVNode as p, createElementBlock as y, Fragment as b, createElementVNode as u, createTextVNode as g, toDisplayString as f, withModifiers as q, normalizeClass as M } from "vue";
2
2
  import { useModal as N, ScalarComboboxMultiselect as T, ScalarButton as j, ScalarListboxCheckbox as z, ScalarIconButton as E } from "@scalar/components";
3
3
  import { ScalarIconCaretDown as L, ScalarIconTrash as P } from "@scalar/icons";
4
4
  import { getResolvedRef as F } from "@scalar/workspace-store/helpers/get-resolved-ref";
@@ -13,7 +13,7 @@ const Z = ["id"], _ = { class: "min-w-0 flex-1 truncate" }, ue = /* @__PURE__ */
13
13
  props: {
14
14
  environment: {},
15
15
  eventBus: {},
16
- createAnySecurityScheme: { type: Boolean, default: !0 },
16
+ createAnySecurityScheme: { type: Boolean, default: !1 },
17
17
  isStatic: { type: Boolean, default: !1 },
18
18
  meta: {},
19
19
  proxyUrl: {},
@@ -24,7 +24,7 @@ const Z = ["id"], _ = { class: "min-w-0 flex-1 truncate" }, ue = /* @__PURE__ */
24
24
  title: {}
25
25
  },
26
26
  setup(e, { expose: A }) {
27
- const k = $(), C = f(null), B = f(!1), d = N(), o = f(null), h = S(() => {
27
+ const k = $(), C = v(null), B = v(!1), d = N(), o = v(null), h = S(() => {
28
28
  if (!e.securityRequirements?.length)
29
29
  return null;
30
30
  const l = J(e.securityRequirements);
@@ -87,13 +87,13 @@ const Z = ["id"], _ = { class: "min-w-0 flex-1 truncate" }, ue = /* @__PURE__ */
87
87
  id: s(k),
88
88
  class: "inline-flex items-center gap-0.5 leading-[20px]"
89
89
  }, [
90
- u("span", null, v(e.title), 1),
90
+ u("span", null, f(e.title), 1),
91
91
  h.value ? (c(), y("span", {
92
92
  key: 0,
93
93
  class: M(["text-c-3 hover:bg-b-3 hover:text-c-1 -my-0.5 -mr-1 cursor-pointer rounded px-1 py-0.5 leading-[normal] font-normal", { "text-c-1": h.value.text === "Required" }]),
94
94
  "data-testid": "auth-indicator",
95
95
  onClick: D
96
- }, v(h.value.text), 3)) : p("", !0)
96
+ }, f(h.value.text), 3)) : p("", !0)
97
97
  ], 8, Z)
98
98
  ]),
99
99
  actions: r(() => [
@@ -112,7 +112,7 @@ const Z = ["id"], _ = { class: "min-w-0 flex-1 truncate" }, ue = /* @__PURE__ */
112
112
  multiselect: "",
113
113
  selected: a
114
114
  }, null, 8, ["selected"]),
115
- u("div", _, v(n.label), 1),
115
+ u("div", _, f(n.label), 1),
116
116
  n.isDeletable ? (c(), x(s(E), {
117
117
  key: 0,
118
118
  class: "-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",
@@ -133,7 +133,7 @@ const Z = ["id"], _ = { class: "min-w-0 flex-1 truncate" }, ue = /* @__PURE__ */
133
133
  default: r(() => [
134
134
  i.value.length === 1 ? (c(), y(b, { key: 0 }, [
135
135
  t[2] || (t[2] = u("span", { class: "sr-only" }, "Selected Auth Type:", -1)),
136
- g(" " + v(i.value[0]?.label), 1)
136
+ g(" " + f(i.value[0]?.label), 1)
137
137
  ], 64)) : i.value.length > 1 ? (c(), y(b, { key: 1 }, [
138
138
  t[3] || (t[3] = g(" Multiple ", -1)),
139
139
  t[4] || (t[4] = u("span", { class: "sr-only" }, "Auth Types Selected", -1))
@@ -1 +1 @@
1
- {"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,8DAA8D,CAAA;AAIrE,gEAAgE;AAChE,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,yBAAyB,CAAA;IAChC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA;AAED,mEAAmE;AACnE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,oBAAoB,EAAE,CAAA;CAChC,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,iBAAiB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,yBAAyB,CAAA;CAAE;;;;;CAK9F,CAAA;AAEF,uCAAuC;AACvC,eAAO,MAAM,mBAAmB,GAAI,QAAQ,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC;;;;;CAIxF,CAAA;AA6BJ;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GACnC,UAAU,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,EAClD,iBAAiB,WAAW,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;AACjE,iGAAiG;AACjG,iBAAiB,yBAAyB,EAAE;AAC5C,gEAAgE;AAChE,uBAAoB,KACnB,oBAAoB,EAAE,GAAG,mBAAmB,EA2E9C,CAAA"}
1
+ {"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAChB,eAAe,EACf,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,8DAA8D,CAAA;AAIrE,gEAAgE;AAChE,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,yBAAyB,CAAA;IAChC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,oBAAoB,CAAA;CAC/B,CAAA;AAED,mEAAmE;AACnE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,oBAAoB,EAAE,CAAA;CAChC,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,GAAI,iBAAiB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,yBAAyB,CAAA;CAAE;;;;;CAK9F,CAAA;AAEF,uCAAuC;AACvC,eAAO,MAAM,mBAAmB,GAAI,QAAQ,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC;;;;;CAIxF,CAAA;AA6BJ;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,GACnC,UAAU,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,EAClD,iBAAiB,WAAW,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;AACjE,iGAAiG;AACjG,iBAAiB,yBAAyB,EAAE;AAC5C,gEAAgE;AAChE,uBAAqB,KACpB,oBAAoB,EAAE,GAAG,mBAAmB,EA2E9C,CAAA"}
@@ -1,12 +1,12 @@
1
1
  import { generateHash as b } from "@scalar/helpers/string/generate-hash";
2
2
  import { getResolvedRef as h } from "@scalar/workspace-store/helpers/get-resolved-ref";
3
3
  import { authOptions as S } from "./auth-options.js";
4
- const c = ({ name: o, value: i }) => ({
4
+ const l = ({ name: o, value: i }) => ({
5
5
  id: b(JSON.stringify(i)),
6
6
  label: o,
7
7
  value: i,
8
8
  isDeletable: !0
9
- }), g = (o) => c({
9
+ }), g = (o) => l({
10
10
  name: Object.keys(o).join(" & "),
11
11
  value: o
12
12
  }), u = (o, i) => {
@@ -14,8 +14,8 @@ const c = ({ name: o, value: i }) => ({
14
14
  if (n.length > 1)
15
15
  return g(o);
16
16
  if (n[0])
17
- return h(i[n[0]]) ? c({ name: n[0], value: o }) : void 0;
18
- }, y = (o, i, n, l = !0) => {
17
+ return h(i[n[0]]) ? l({ name: n[0], value: o }) : void 0;
18
+ }, y = (o, i, n, c = !1) => {
19
19
  const { requiredFormatted: f, requiredSchemeNames: p, existingIds: d } = o.reduce(
20
20
  (e, t) => {
21
21
  const s = u(t, i);
@@ -34,7 +34,7 @@ const c = ({ name: o, value: i }) => ({
34
34
  if (p.has(e))
35
35
  continue;
36
36
  if (h(t)) {
37
- const r = c({ name: e, value: { [e]: [] } });
37
+ const r = l({ name: e, value: { [e]: [] } });
38
38
  a.push(r), d.add(r.id);
39
39
  }
40
40
  }
@@ -46,7 +46,7 @@ const c = ({ name: o, value: i }) => ({
46
46
  { label: "Required authentication", options: f },
47
47
  { label: "Available authentication", options: a }
48
48
  ];
49
- return l ? (m.push({
49
+ return c ? (m.push({
50
50
  label: "Add new authentication",
51
51
  options: Object.entries(S).map(([e, t]) => ({
52
52
  id: e,
@@ -59,6 +59,6 @@ const c = ({ name: o, value: i }) => ({
59
59
  };
60
60
  export {
61
61
  g as formatComplexScheme,
62
- c as formatScheme,
62
+ l as formatScheme,
63
63
  y as getSecuritySchemeOptions
64
64
  };
@@ -10,7 +10,7 @@ const f = /* @__PURE__ */ o({
10
10
  const { cx: r } = i();
11
11
  return (t, m) => (n(), a(l(e.is), s(
12
12
  b(r)(
13
- "box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base last:border-r-0 group-last:border-b-transparent p-0 m-0 relative"
13
+ "box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base/5 last:border-r-0 group-last:border-b-transparent p-0 m-0 relative"
14
14
  ),
15
15
  { class: "group-[.alert]:bg-b-alert group-[.error]:bg-b-danger" }
16
16
  ), {
@@ -1,6 +1,15 @@
1
+ import type { ServerMeta } from '@scalar/workspace-store/events';
1
2
  import type { ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
2
3
  import type { ClientLayout } from '../../../hooks/index.js';
3
- type __VLS_Props = {
4
+ /**
5
+ * ServerDropdown component
6
+ * This component is used to display the server dropdown for the operation block
7
+ */
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ export type ServerDropdownProps = {
11
+ /** The meta information for the server */
12
+ meta: ServerMeta;
4
13
  /** List of servers that are available for the operation/document level */
5
14
  servers: ServerObject[];
6
15
  /** Currently selected server */
@@ -10,29 +19,31 @@ type __VLS_Props = {
10
19
  /** Client layout */
11
20
  layout: ClientLayout;
12
21
  };
13
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
22
+ declare const __VLS_export: import("vue").DefineComponent<ServerDropdownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
23
  "update:variable": (payload: {
15
24
  index: number;
16
25
  key: string;
17
26
  value: string;
27
+ meta: ServerMeta;
18
28
  }) => any;
19
29
  "update:selectedServer": (payload: {
20
30
  url: string;
31
+ meta: ServerMeta;
21
32
  }) => any;
22
33
  "update:servers": () => any;
23
34
  "update:open": (value: boolean) => any;
24
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
35
+ }, string, import("vue").PublicProps, Readonly<ServerDropdownProps> & Readonly<{
25
36
  "onUpdate:variable"?: ((payload: {
26
37
  index: number;
27
38
  key: string;
28
39
  value: string;
40
+ meta: ServerMeta;
29
41
  }) => any) | undefined;
30
42
  "onUpdate:selectedServer"?: ((payload: {
31
43
  url: string;
44
+ meta: ServerMeta;
32
45
  }) => any) | undefined;
33
46
  "onUpdate:servers"?: (() => any) | undefined;
34
47
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
35
48
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
- declare const _default: typeof __VLS_export;
37
- export default _default;
38
49
  //# sourceMappingURL=ServerDropdown.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServerDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/server/ServerDropdown.vue"],"names":[],"mappings":"AAmIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAGhG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,KAAK,WAAW,GAAG;IACjB,0EAA0E;IAC1E,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,gCAAgC;IAChC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IAC3B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;CACrB,CAAC;AA2RF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ServerDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/server/ServerDropdown.vue"],"names":[],"mappings":"AAkJA,OAAO,KAAK,EAEV,UAAU,EACX,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAGhG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAM3C;;;GAGG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAMzC,MAAM,MAAM,mBAAmB,GAAG;IAChC,0CAA0C;IAC1C,IAAI,EAAE,UAAU,CAAA;IAChB,0EAA0E;IAC1E,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,gCAAgC;IAChC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IAC3B,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB;IACpB,MAAM,EAAE,YAAY,CAAA;CACrB,CAAA;AACD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;kFAgSd,CAAC"}
@@ -1,11 +1,14 @@
1
- import { defineComponent as y, computed as m, createBlock as f, openBlock as o, unref as n, withCtx as u, createVNode as l, createElementBlock as d, Fragment as v, createElementVNode as s, createTextVNode as U, toDisplayString as C, createCommentVNode as w, renderList as h } from "vue";
1
+ import { defineComponent as y, computed as p, createBlock as f, openBlock as a, unref as o, withCtx as u, createVNode as l, createElementBlock as d, Fragment as v, createElementVNode as s, createTextVNode as U, toDisplayString as C, createCommentVNode as w, renderList as h } from "vue";
2
2
  import { ScalarPopover as B, ScalarButton as $, ScalarFloatingBackdrop as N } from "@scalar/components";
3
3
  import { ScalarIconPlus as V, ScalarIconPencilSimple as z } from "@scalar/icons";
4
4
  import D from "../layout/ValueEmitter.vue.js";
5
5
  import I from "./ServerDropdownItem.vue.js";
6
- const P = ["onClick"], q = { class: "flex items-center justify-center" }, A = /* @__PURE__ */ y({
7
- __name: "ServerDropdown",
6
+ const P = ["onClick"], q = { class: "flex items-center justify-center" }, E = {
7
+ name: "ServerDropdown"
8
+ }, L = /* @__PURE__ */ y({
9
+ ...E,
8
10
  props: {
11
+ meta: {},
9
12
  servers: {},
10
13
  server: {},
11
14
  target: {},
@@ -13,13 +16,13 @@ const P = ["onClick"], q = { class: "flex items-center justify-center" }, A = /*
13
16
  },
14
17
  emits: ["update:selectedServer", "update:variable", "update:servers", "update:open"],
15
18
  setup(t, { emit: x }) {
16
- const a = x, S = m(
19
+ const n = x, S = p(
17
20
  () => t.servers.map((i) => ({
18
21
  id: i.url,
19
22
  label: i.url ?? "Unknown server"
20
23
  }))
21
- ), b = m(() => t.server?.url?.endsWith("/") ? t.server.url.slice(0, -1) : t.server?.url || "");
22
- return (i, e) => (o(), f(n(B), {
24
+ ), b = p(() => t.server?.url?.endsWith("/") ? t.server.url.slice(0, -1) : t.server?.url || "");
25
+ return (i, e) => (a(), f(o(B), {
23
26
  class: "max-h-[inherit] p-0 text-base",
24
27
  focus: "",
25
28
  offset: 0,
@@ -28,52 +31,52 @@ const P = ["onClick"], q = { class: "flex items-center justify-center" }, A = /*
28
31
  target: t.target,
29
32
  teleport: `#${t.target}`
30
33
  }, {
31
- popover: u(({ close: p }) => [
34
+ popover: u(({ close: m }) => [
32
35
  s("div", {
33
36
  class: "custom-scroll flex max-h-[inherit] flex-col gap-1 p-1",
34
- onClick: p
37
+ onClick: m
35
38
  }, [
36
- (o(!0), d(v, null, h(S.value, (r, g) => (o(), f(I, {
39
+ (a(!0), d(v, null, h(S.value, (r, g) => (a(), f(I, {
37
40
  key: r.id,
38
41
  server: t.server,
39
42
  serverOption: r,
40
43
  type: "request",
41
- "onUpdate:selectedServer": (c) => a("update:selectedServer", { url: r.id }),
42
- "onUpdate:variable": (c, k) => a("update:variable", { index: g, key: c, value: k })
44
+ "onUpdate:selectedServer": (c) => n("update:selectedServer", { url: r.id, meta: t.meta }),
45
+ "onUpdate:variable": (c, k) => n("update:variable", { index: g, key: c, value: k, meta: t.meta })
43
46
  }, null, 8, ["server", "serverOption", "onUpdate:selectedServer", "onUpdate:variable"]))), 128)),
44
- t.layout !== "modal" ? (o(), d("button", {
47
+ t.layout !== "modal" ? (a(), d("button", {
45
48
  key: 0,
46
49
  class: "text-xxs hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded p-1.75",
47
50
  type: "button",
48
- onClick: e[0] || (e[0] = (r) => a("update:servers"))
51
+ onClick: e[0] || (e[0] = (r) => n("update:servers"))
49
52
  }, [
50
53
  s("div", q, [
51
- l(n(z), { class: "size-4" })
54
+ l(o(z), { class: "size-4" })
52
55
  ]),
53
56
  e[5] || (e[5] = s("span", null, "Update Servers", -1))
54
57
  ])) : w("", !0)
55
58
  ], 8, P)
56
59
  ]),
57
- backdrop: u(({ open: p }) => [
60
+ backdrop: u(({ open: m }) => [
58
61
  l(D, {
59
- value: p,
60
- onChange: e[1] || (e[1] = (r) => a("update:open", r)),
61
- onUnmount: e[2] || (e[2] = (r) => a("update:open", !1))
62
+ value: m,
63
+ onChange: e[1] || (e[1] = (r) => n("update:open", r)),
64
+ onUnmount: e[2] || (e[2] = (r) => n("update:open", !1))
62
65
  }, null, 8, ["value"]),
63
- l(n(N), { class: "inset-x-px rounded-none rounded-b-lg" })
66
+ l(o(N), { class: "inset-x-px rounded-none rounded-b-lg" })
64
67
  ]),
65
68
  default: u(() => [
66
- l(n($), {
69
+ l(o($), {
67
70
  class: "hover:bg-b-2 font-code text-c-2 ml-0.75 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap",
68
71
  variant: "ghost"
69
72
  }, {
70
73
  default: u(() => [
71
- t.server ? (o(), d(v, { key: 0 }, [
74
+ t.server ? (a(), d(v, { key: 0 }, [
72
75
  e[3] || (e[3] = s("span", { class: "sr-only" }, "Server:", -1)),
73
76
  U(" " + C(b.value), 1)
74
- ], 64)) : (o(), d(v, { key: 1 }, [
77
+ ], 64)) : (a(), d(v, { key: 1 }, [
75
78
  e[4] || (e[4] = s("span", { class: "sr-only" }, "Add Server", -1)),
76
- l(n(V), { class: "size-3" })
79
+ l(o(V), { class: "size-3" })
77
80
  ], 64))
78
81
  ]),
79
82
  _: 1
@@ -84,5 +87,5 @@ const P = ["onClick"], q = { class: "flex items-center justify-center" }, A = /*
84
87
  }
85
88
  });
86
89
  export {
87
- A as default
90
+ L as default
88
91
  };
@@ -1 +1 @@
1
- {"version":3,"file":"app-events.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/app-events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAC7F,OAAO,EAAE,KAAK,UAAU,EAAY,MAAM,KAAK,CAAA;AAC/C,OAAO,EAAiD,KAAK,MAAM,EAAE,MAAM,YAAY,CAAA;AAKvF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,KAAK,EACL,MAAM,EACN,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,eAAe,GAChB,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,UAAU,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACxC,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzC,mBAAmB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,sBAAsB,EAAE,CAAC,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAA;IACzD,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACjD,QA6TA"}
1
+ {"version":3,"file":"app-events.d.ts","sourceRoot":"","sources":["../../../../src/v2/features/app/app-events.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAC7F,OAAO,EAAE,KAAK,UAAU,EAAY,MAAM,KAAK,CAAA;AAC/C,OAAO,EAAiD,KAAK,MAAM,EAAE,MAAM,YAAY,CAAA;AAKvF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,KAAK,EACL,MAAM,EACN,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,eAAe,GAChB,EAAE;IACD,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,KAAK,EAAE,UAAU,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACxC,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,oBAAoB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzC,mBAAmB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,sBAAsB,EAAE,CAAC,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAA;IACzD,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CACjD,QA+UA"}