@scalar/api-reference 1.24.20 → 1.24.23

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 (225) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/browser/standalone.js +22673 -23143
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
  5. package/dist/components/ApiClientModal.vue.js +19 -18
  6. package/dist/components/ApiClientModal.vue3.js +5 -0
  7. package/dist/components/ApiReference.vue.js +14 -14
  8. package/dist/components/ApiReferenceLayout.vue.d.ts +2 -2
  9. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  10. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  11. package/dist/components/ApiReferenceLayout.vue2.js +123 -155
  12. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  13. package/dist/components/Content/Authentication/Authentication.vue.js +2 -2
  14. package/dist/components/Content/Authentication/Authentication.vue2.js +20 -18
  15. package/dist/components/Content/Content.vue.d.ts +3 -3
  16. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Content.vue.js +2 -2
  18. package/dist/components/Content/Content.vue2.js +72 -93
  19. package/dist/components/Content/Lazy/Loading.vue.js +1 -1
  20. package/dist/components/Content/Operation/CustomRequestExamples.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Operation/CustomRequestExamples.vue.js +1 -1
  22. package/dist/components/Content/Operation/CustomRequestExamples.vue2.js +19 -19
  23. package/dist/components/Content/Operation/ExampleRequest.vue.d.ts.map +1 -1
  24. package/dist/components/Content/Operation/ExampleRequest.vue.js +2 -2
  25. package/dist/components/Content/Operation/ExampleRequest.vue2.js +63 -59
  26. package/dist/components/Content/Operation/OperationAccordion.vue.d.ts.map +1 -1
  27. package/dist/components/Content/Operation/OperationAccordion.vue.js +1 -1
  28. package/dist/components/Content/Operation/OperationAccordion.vue2.js +26 -26
  29. package/dist/components/Content/Operation/TestRequestButton.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Operation/TestRequestButton.vue.js +2 -2
  31. package/dist/components/Content/Operation/TestRequestButton.vue2.js +18 -36
  32. package/dist/components/Content/Schema/Schema.vue.d.ts +2 -2
  33. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts +2 -2
  34. package/dist/components/Content/Tag/Endpoints.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Tag/Endpoints.vue.js +2 -2
  36. package/dist/components/Content/Tag/Endpoints.vue2.js +23 -23
  37. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +42 -0
  38. package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -0
  39. package/dist/components/HttpMethod/HttpMethod.vue.js +28 -0
  40. package/dist/components/HttpMethod/HttpMethod.vue2.js +4 -0
  41. package/dist/components/HttpMethod/constants.d.ts +9 -0
  42. package/dist/components/HttpMethod/constants.d.ts.map +1 -0
  43. package/dist/components/HttpMethod/constants.js +36 -0
  44. package/dist/components/HttpMethod/index.d.ts +2 -0
  45. package/dist/components/HttpMethod/index.d.ts.map +1 -0
  46. package/dist/components/HttpMethod/utils/isRequestMethod.d.ts +4 -0
  47. package/dist/components/HttpMethod/utils/isRequestMethod.d.ts.map +1 -0
  48. package/dist/components/HttpMethod/utils/isRequestMethod.js +7 -0
  49. package/dist/components/Sidebar/SidebarHttpBadge.vue.js +1 -1
  50. package/dist/components/Sidebar/SidebarHttpBadge.vue2.js +6 -6
  51. package/dist/components/api-client-bus.d.ts +1 -1
  52. package/dist/components/api-client-bus.d.ts.map +1 -1
  53. package/dist/features/BaseUrl/BaseUrl.vue.d.ts +40 -0
  54. package/dist/features/BaseUrl/BaseUrl.vue.d.ts.map +1 -0
  55. package/dist/features/BaseUrl/BaseUrl.vue.js +97 -0
  56. package/dist/features/BaseUrl/BaseUrl.vue2.js +4 -0
  57. package/dist/features/BaseUrl/ServerForm.vue.d.ts +41 -0
  58. package/dist/features/BaseUrl/ServerForm.vue.d.ts.map +1 -0
  59. package/dist/features/BaseUrl/ServerForm.vue.js +7 -0
  60. package/dist/features/BaseUrl/ServerForm.vue2.js +66 -0
  61. package/dist/{components/Content/BaseUrl/ServerItem.vue.d.ts → features/BaseUrl/ServerUrl.vue.d.ts} +6 -6
  62. package/dist/features/BaseUrl/ServerUrl.vue.d.ts.map +1 -0
  63. package/dist/features/BaseUrl/ServerUrl.vue.js +8 -0
  64. package/dist/features/BaseUrl/ServerUrl.vue2.js +29 -0
  65. package/dist/{components/ApiClientModalOld.vue.d.ts → features/BaseUrl/ServerUrlSelect.vue.d.ts} +9 -15
  66. package/dist/features/BaseUrl/ServerUrlSelect.vue.d.ts.map +1 -0
  67. package/dist/features/BaseUrl/ServerUrlSelect.vue.js +7 -0
  68. package/dist/features/BaseUrl/ServerUrlSelect.vue2.js +56 -0
  69. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts +23 -0
  70. package/dist/features/BaseUrl/ServerVariablesForm.vue.d.ts.map +1 -0
  71. package/dist/features/BaseUrl/ServerVariablesForm.vue.js +7 -0
  72. package/dist/features/BaseUrl/ServerVariablesForm.vue2.js +53 -0
  73. package/dist/{components/Content/BaseUrl/ServerVariableSelect.vue.d.ts → features/BaseUrl/ServerVariablesSelect.vue.d.ts} +1 -1
  74. package/dist/features/BaseUrl/ServerVariablesSelect.vue.d.ts.map +1 -0
  75. package/dist/features/BaseUrl/ServerVariablesSelect.vue.js +7 -0
  76. package/dist/{components/Content/BaseUrl/ServerVariableSelect.vue2.js → features/BaseUrl/ServerVariablesSelect.vue2.js} +1 -1
  77. package/dist/{components/Content/BaseUrl/ServerVariableTextbox.vue.d.ts → features/BaseUrl/ServerVariablesTextbox.vue.d.ts} +1 -1
  78. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.d.ts.map +1 -0
  79. package/dist/features/BaseUrl/ServerVariablesTextbox.vue.js +7 -0
  80. package/dist/{components/Content/BaseUrl/ServerVariableTextbox.vue2.js → features/BaseUrl/ServerVariablesTextbox.vue2.js} +6 -6
  81. package/dist/features/BaseUrl/index.d.ts +3 -0
  82. package/dist/features/BaseUrl/index.d.ts.map +1 -0
  83. package/dist/features/BaseUrl/types.d.ts +10 -0
  84. package/dist/features/BaseUrl/types.d.ts.map +1 -0
  85. package/dist/features/BaseUrl/utils/getServers.d.ts +15 -0
  86. package/dist/features/BaseUrl/utils/getServers.d.ts.map +1 -0
  87. package/dist/features/BaseUrl/utils/getServers.js +29 -0
  88. package/dist/features/BaseUrl/utils/index.d.ts +2 -0
  89. package/dist/features/BaseUrl/utils/index.d.ts.map +1 -0
  90. package/dist/helpers/createEmptySpecification.d.ts +1 -1
  91. package/dist/helpers/createEmptySpecification.d.ts.map +1 -1
  92. package/dist/helpers/createEmptySpecification.js +5 -4
  93. package/dist/helpers/getApiClientRequest.d.ts +1 -1
  94. package/dist/helpers/getApiClientRequest.d.ts.map +1 -1
  95. package/dist/helpers/getApiClientRequest.js +12 -11
  96. package/dist/helpers/getModels.d.ts +1 -1
  97. package/dist/helpers/index.d.ts +1 -1
  98. package/dist/helpers/index.d.ts.map +1 -1
  99. package/dist/helpers/openClientFor.js +10 -7
  100. package/dist/helpers/parse.d.ts.map +1 -1
  101. package/dist/helpers/parse.js +33 -31
  102. package/dist/hooks/useReactiveSpec.d.ts +9 -9
  103. package/dist/hooks/useSidebar.js +18 -17
  104. package/dist/index.d.ts +0 -2
  105. package/dist/index.d.ts.map +1 -1
  106. package/dist/index.js +101 -102
  107. package/dist/legacy/components/CardForm.vue.d.ts +10 -0
  108. package/dist/legacy/components/CardForm.vue.d.ts.map +1 -0
  109. package/dist/legacy/components/CardForm.vue.js +13 -0
  110. package/dist/legacy/components/CardFormButton.vue.d.ts +12 -0
  111. package/dist/legacy/components/CardFormButton.vue.d.ts.map +1 -0
  112. package/dist/legacy/components/CardFormButton.vue.js +7 -0
  113. package/dist/legacy/components/CardFormButton.vue2.js +18 -0
  114. package/dist/legacy/components/CardFormGroup.vue.d.ts +10 -0
  115. package/dist/legacy/components/CardFormGroup.vue.d.ts.map +1 -0
  116. package/dist/legacy/components/CardFormGroup.vue.js +13 -0
  117. package/dist/legacy/components/CardFormRows.vue.d.ts +10 -0
  118. package/dist/legacy/components/CardFormRows.vue.d.ts.map +1 -0
  119. package/dist/legacy/components/CardFormRows.vue.js +13 -0
  120. package/dist/legacy/components/CardFormTextInput.vue.d.ts +25 -0
  121. package/dist/legacy/components/CardFormTextInput.vue.d.ts.map +1 -0
  122. package/dist/legacy/components/CardFormTextInput.vue.js +7 -0
  123. package/dist/legacy/components/CardFormTextInput.vue2.js +37 -0
  124. package/dist/{components/Content/BaseUrl/ServerVariables.vue.d.ts → legacy/components/SecurityScheme.vue.d.ts} +6 -4
  125. package/dist/legacy/components/SecurityScheme.vue.d.ts.map +1 -0
  126. package/dist/legacy/components/SecurityScheme.vue.js +7 -0
  127. package/dist/legacy/components/SecurityScheme.vue2.js +364 -0
  128. package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts +26 -0
  129. package/dist/legacy/components/SecuritySchemeScopes.vue.d.ts.map +1 -0
  130. package/dist/legacy/components/SecuritySchemeScopes.vue.js +7 -0
  131. package/dist/legacy/components/SecuritySchemeScopes.vue2.js +91 -0
  132. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts +25 -0
  133. package/dist/legacy/components/SecuritySchemeSelector.vue.d.ts.map +1 -0
  134. package/dist/legacy/components/SecuritySchemeSelector.vue.js +7 -0
  135. package/dist/legacy/components/SecuritySchemeSelector.vue2.js +64 -0
  136. package/dist/legacy/fixtures/httpHeaders.d.ts +6 -0
  137. package/dist/legacy/fixtures/httpHeaders.d.ts.map +1 -0
  138. package/dist/legacy/fixtures/httpRequestMethods.d.ts +10 -0
  139. package/dist/legacy/fixtures/httpRequestMethods.d.ts.map +1 -0
  140. package/dist/legacy/fixtures/httpRequestMethods.js +18 -0
  141. package/dist/legacy/fixtures/index.d.ts +3 -0
  142. package/dist/legacy/fixtures/index.d.ts.map +1 -0
  143. package/dist/legacy/helpers/createPlaceholderRequest.d.ts +6 -0
  144. package/dist/legacy/helpers/createPlaceholderRequest.d.ts.map +1 -0
  145. package/dist/legacy/helpers/createPlaceholderRequest.js +14 -0
  146. package/dist/legacy/helpers/encodeStringAsBase64.d.ts +5 -0
  147. package/dist/legacy/helpers/encodeStringAsBase64.d.ts.map +1 -0
  148. package/dist/legacy/helpers/encodeStringAsBase64.js +6 -0
  149. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts +10 -0
  150. package/dist/legacy/helpers/getRequestFromAuthentication.d.ts.map +1 -0
  151. package/dist/legacy/helpers/getRequestFromAuthentication.js +83 -0
  152. package/dist/legacy/helpers/getUrlFromServerState.d.ts +6 -0
  153. package/dist/legacy/helpers/getUrlFromServerState.d.ts.map +1 -0
  154. package/dist/legacy/helpers/getUrlFromServerState.js +9 -0
  155. package/dist/legacy/helpers/humanDiff.d.ts +5 -0
  156. package/dist/legacy/helpers/humanDiff.d.ts.map +1 -0
  157. package/dist/legacy/helpers/index.d.ts +12 -0
  158. package/dist/legacy/helpers/index.d.ts.map +1 -0
  159. package/dist/legacy/helpers/mapFromArray.d.ts +5 -0
  160. package/dist/legacy/helpers/mapFromArray.d.ts.map +1 -0
  161. package/dist/legacy/helpers/normalizeHeaders.d.ts +9 -0
  162. package/dist/legacy/helpers/normalizeHeaders.d.ts.map +1 -0
  163. package/dist/legacy/helpers/normalizePath.d.ts +5 -0
  164. package/dist/legacy/helpers/normalizePath.d.ts.map +1 -0
  165. package/dist/legacy/helpers/normalizeRequestMethod.d.ts +6 -0
  166. package/dist/legacy/helpers/normalizeRequestMethod.d.ts.map +1 -0
  167. package/dist/legacy/helpers/normalizeRequestMethod.js +14 -0
  168. package/dist/legacy/helpers/normalizeUrl.d.ts +5 -0
  169. package/dist/legacy/helpers/normalizeUrl.d.ts.map +1 -0
  170. package/dist/legacy/helpers/prepareClientRequestConfig.d.ts +24 -0
  171. package/dist/legacy/helpers/prepareClientRequestConfig.d.ts.map +1 -0
  172. package/dist/legacy/index.d.ts +5 -0
  173. package/dist/legacy/index.d.ts.map +1 -0
  174. package/dist/legacy/stores/index.d.ts +6 -0
  175. package/dist/legacy/stores/index.d.ts.map +1 -0
  176. package/dist/legacy/stores/useApiClientStore.d.ts +18 -0
  177. package/dist/legacy/stores/useApiClientStore.d.ts.map +1 -0
  178. package/dist/legacy/stores/useApiClientStore.js +32 -0
  179. package/dist/legacy/stores/useAuthenticationStore.d.ts +59 -0
  180. package/dist/legacy/stores/useAuthenticationStore.d.ts.map +1 -0
  181. package/dist/legacy/stores/useAuthenticationStore.js +36 -0
  182. package/dist/legacy/stores/useOpenApiStore.d.ts +95 -0
  183. package/dist/legacy/stores/useOpenApiStore.d.ts.map +1 -0
  184. package/dist/legacy/stores/useOpenApiStore.js +23 -0
  185. package/dist/legacy/stores/useRequestStore.d.ts +58 -0
  186. package/dist/legacy/stores/useRequestStore.d.ts.map +1 -0
  187. package/dist/legacy/stores/useRequestStore.js +33 -0
  188. package/dist/legacy/stores/useServerStore.d.ts +18 -0
  189. package/dist/legacy/stores/useServerStore.d.ts.map +1 -0
  190. package/dist/legacy/stores/useServerStore.js +18 -0
  191. package/dist/legacy/types.d.ts +117 -0
  192. package/dist/legacy/types.d.ts.map +1 -0
  193. package/dist/stores/index.d.ts +1 -0
  194. package/dist/stores/index.d.ts.map +1 -1
  195. package/dist/style.css +1 -1
  196. package/dist/types.d.ts +8 -11
  197. package/dist/types.d.ts.map +1 -1
  198. package/package.json +16 -15
  199. package/dist/components/ApiClientModal.vue2.js +0 -4
  200. package/dist/components/ApiClientModalOld.vue.d.ts.map +0 -1
  201. package/dist/components/ApiClientModalOld.vue.js +0 -7
  202. package/dist/components/ApiClientModalOld.vue2.js +0 -88
  203. package/dist/components/Content/BaseUrl/BaseUrl.vue.d.ts +0 -3
  204. package/dist/components/Content/BaseUrl/BaseUrl.vue.d.ts.map +0 -1
  205. package/dist/components/Content/BaseUrl/BaseUrl.vue.js +0 -7
  206. package/dist/components/Content/BaseUrl/BaseUrl.vue2.js +0 -90
  207. package/dist/components/Content/BaseUrl/ServerItem.vue.d.ts.map +0 -1
  208. package/dist/components/Content/BaseUrl/ServerItem.vue.js +0 -8
  209. package/dist/components/Content/BaseUrl/ServerItem.vue2.js +0 -35
  210. package/dist/components/Content/BaseUrl/ServerVariableSelect.vue.d.ts.map +0 -1
  211. package/dist/components/Content/BaseUrl/ServerVariableSelect.vue.js +0 -7
  212. package/dist/components/Content/BaseUrl/ServerVariableTextbox.vue.d.ts.map +0 -1
  213. package/dist/components/Content/BaseUrl/ServerVariableTextbox.vue.js +0 -7
  214. package/dist/components/Content/BaseUrl/ServerVariables.vue.d.ts.map +0 -1
  215. package/dist/components/Content/BaseUrl/ServerVariables.vue.js +0 -7
  216. package/dist/components/Content/BaseUrl/ServerVariables.vue2.js +0 -47
  217. package/dist/components/Content/BaseUrl/index.d.ts +0 -2
  218. package/dist/components/Content/BaseUrl/index.d.ts.map +0 -1
  219. package/dist/components/Content/Schema/SchemaProperty.spec.d.ts +0 -2
  220. package/dist/components/Content/Schema/SchemaProperty.spec.d.ts.map +0 -1
  221. package/dist/features.d.ts +0 -8
  222. package/dist/features.d.ts.map +0 -1
  223. package/dist/features.js +0 -5
  224. package/dist/standalone.spec.d.ts +0 -2
  225. package/dist/standalone.spec.d.ts.map +0 -1
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
10
+ //# sourceMappingURL=CardForm.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardForm.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardForm.vue"],"names":[],"mappings":";;;AA8DA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { openBlock as r, createElementBlock as o, renderSlot as t } from "vue";
2
+ /* empty css */
3
+ import c from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const n = {}, f = { class: "card-form" };
5
+ function s(e, a) {
6
+ return r(), o("form", f, [
7
+ t(e.$slots, "default", {}, void 0, !0)
8
+ ]);
9
+ }
10
+ const l = /* @__PURE__ */ c(n, [["render", s], ["__scopeId", "data-v-21a1cfbf"]]);
11
+ export {
12
+ l as default
13
+ };
@@ -0,0 +1,12 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
+ el: import("vue").Ref<HTMLButtonElement | undefined>;
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
4
+ default?(_: {}): any;
5
+ }>;
6
+ export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
12
+ //# sourceMappingURL=CardFormButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFormButton.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormButton.vue"],"names":[],"mappings":";;;;;AAiGA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import o from "./CardFormButton.vue2.js";
2
+ /* empty css */
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-502d153b"]]);
5
+ export {
6
+ p as default
7
+ };
@@ -0,0 +1,18 @@
1
+ import { defineComponent as r, ref as n, openBlock as s, createElementBlock as a, renderSlot as c } from "vue";
2
+ const p = /* @__PURE__ */ r({
3
+ __name: "CardFormButton",
4
+ setup(l, { expose: t }) {
5
+ const e = n();
6
+ return t({ el: e }), (o, u) => (s(), a("button", {
7
+ ref_key: "el",
8
+ ref: e,
9
+ class: "card-form-button",
10
+ type: "button"
11
+ }, [
12
+ c(o.$slots, "default", {}, void 0, !0)
13
+ ], 512));
14
+ }
15
+ });
16
+ export {
17
+ p as default
18
+ };
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
10
+ //# sourceMappingURL=CardFormGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFormGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormGroup.vue"],"names":[],"mappings":";;;AA2DA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { openBlock as e, createElementBlock as o, renderSlot as t } from "vue";
2
+ /* empty css */
3
+ import c from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const n = {}, d = { class: "card-form-group" };
5
+ function s(r, a) {
6
+ return e(), o("div", d, [
7
+ t(r.$slots, "default", {}, void 0, !0)
8
+ ]);
9
+ }
10
+ const p = /* @__PURE__ */ c(n, [["render", s], ["__scopeId", "data-v-88abf5f7"]]);
11
+ export {
12
+ p as default
13
+ };
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
10
+ //# sourceMappingURL=CardFormRows.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFormRows.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormRows.vue"],"names":[],"mappings":";;;AAiEA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { openBlock as o, createElementBlock as r, renderSlot as t } from "vue";
2
+ /* empty css */
3
+ import c from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const s = {}, n = { class: "card-form-rows" };
5
+ function d(e, a) {
6
+ return o(), r("div", n, [
7
+ t(e.$slots, "default", {}, void 0, !0)
8
+ ]);
9
+ }
10
+ const i = /* @__PURE__ */ c(s, [["render", d], ["__scopeId", "data-v-1611fc76"]]);
11
+ export {
12
+ i as default
13
+ };
@@ -0,0 +1,25 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ id: string;
3
+ type?: string | undefined;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
+ id: string;
6
+ type?: string | undefined;
7
+ }>>>, {}, {}>, {
8
+ default?(_: {}): any;
9
+ }>;
10
+ export default _default;
11
+ type __VLS_WithTemplateSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToOption<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ //# sourceMappingURL=CardFormTextInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFormTextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/CardFormTextInput.vue"],"names":[],"mappings":";;;;;;;;;AA4NA,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import o from "./CardFormTextInput.vue2.js";
2
+ /* empty css */
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-2c06084d"]]);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,37 @@
1
+ import { defineComponent as p, ref as d, computed as i, openBlock as s, createElementBlock as u, createElementVNode as a, renderSlot as c, mergeProps as m, createBlock as f, unref as v, createCommentVNode as k } from "vue";
2
+ import { ScalarIconButton as w } from "@scalar/components";
3
+ const y = { class: "card-form-input" }, h = ["for"], _ = ["id", "type"], b = /* @__PURE__ */ p({
4
+ inheritAttrs: !1,
5
+ __name: "CardFormTextInput",
6
+ props: {
7
+ id: {},
8
+ type: {}
9
+ },
10
+ setup(l) {
11
+ const o = l, e = d(!0), n = i(
12
+ () => o.type === "password" ? e.value ? "password" : "text" : o.type ?? "text"
13
+ );
14
+ return (t, r) => (s(), u("div", y, [
15
+ a("label", { for: t.id }, [
16
+ c(t.$slots, "default", {}, void 0, !0)
17
+ ], 8, h),
18
+ a("input", m(t.$attrs, {
19
+ id: t.id,
20
+ autocomplete: "off",
21
+ "data-1p-ignore": "",
22
+ spellcheck: "false",
23
+ type: n.value
24
+ }), null, 16, _),
25
+ t.type === "password" ? (s(), f(v(w), {
26
+ key: 0,
27
+ class: "password-mask",
28
+ icon: e.value ? "Show" : "Hide",
29
+ label: e.value ? "Show Password" : "Hide Password",
30
+ onClick: r[0] || (r[0] = (B) => e.value = !e.value)
31
+ }, null, 8, ["icon", "label"])) : k("", !0)
32
+ ]));
33
+ }
34
+ });
35
+ export {
36
+ b as default
37
+ };
@@ -1,8 +1,10 @@
1
- import { type Variable } from '@scalar/api-client';
1
+ import type { OpenAPIV2, OpenAPIV3 } from '@scalar/openapi-parser';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- value?: Variable[] | undefined;
3
+ value?: OpenAPIV2.SecuritySchemeObject | OpenAPIV3.SecuritySchemeObject | undefined;
4
+ proxy?: string | undefined;
4
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- value?: Variable[] | undefined;
6
+ value?: OpenAPIV2.SecuritySchemeObject | OpenAPIV3.SecuritySchemeObject | undefined;
7
+ proxy?: string | undefined;
6
8
  }>>>, {}, {}>;
7
9
  export default _default;
8
10
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -14,4 +16,4 @@ type __VLS_TypePropsToOption<T> = {
14
16
  required: true;
15
17
  };
16
18
  };
17
- //# sourceMappingURL=ServerVariables.vue.d.ts.map
19
+ //# sourceMappingURL=SecurityScheme.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SecurityScheme.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/SecurityScheme.vue"],"names":[],"mappings":"AAqeA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAe,MAAM,wBAAwB,CAAA;;;;;;;;AAguB/E,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import o from "./SecurityScheme.vue2.js";
2
+ /* empty css */
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3bdd11a8"]]);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,364 @@
1
+ import { defineComponent as J, computed as Q, openBlock as n, createBlock as w, withCtx as s, unref as u, createElementBlock as P, Fragment as C, createTextVNode as c, toDisplayString as X, createCommentVNode as f, createVNode as i, createElementVNode as W } from "vue";
2
+ import { concatenateUrlAndPath as Y, redirectToProxy as Z } from "@scalar/oas-utils/helpers";
3
+ import { useToasts as _ } from "@scalar/use-toasts";
4
+ import x from "./CardForm.vue.js";
5
+ import ee from "./CardFormButton.vue.js";
6
+ import b from "./CardFormGroup.vue.js";
7
+ import j from "./CardFormRows.vue.js";
8
+ import v from "./CardFormTextInput.vue.js";
9
+ import K from "./SecuritySchemeScopes.vue.js";
10
+ import { getUrlFromServerState as te } from "../helpers/getUrlFromServerState.js";
11
+ import { useServerStore as ae } from "../stores/useServerStore.js";
12
+ import { useAuthenticationStore as oe } from "../stores/useAuthenticationStore.js";
13
+ const fe = /* @__PURE__ */ J({
14
+ __name: "SecurityScheme",
15
+ props: {
16
+ value: {},
17
+ proxy: {}
18
+ },
19
+ setup(se) {
20
+ const { toast: R } = _(), { server: L } = ae(), { authentication: t, setAuthentication: p } = oe(), N = (e) => {
21
+ p({
22
+ apiKey: {
23
+ ...t.apiKey,
24
+ token: e.target.value
25
+ }
26
+ });
27
+ }, V = (e) => {
28
+ p({
29
+ http: {
30
+ ...t.http,
31
+ basic: {
32
+ ...t.http.basic,
33
+ username: e.target.value
34
+ }
35
+ }
36
+ });
37
+ }, D = (e) => {
38
+ p({
39
+ http: {
40
+ ...t.http,
41
+ basic: {
42
+ ...t.http.basic,
43
+ password: e.target.value
44
+ }
45
+ }
46
+ });
47
+ }, E = (e) => {
48
+ p({
49
+ http: {
50
+ ...t.http,
51
+ bearer: {
52
+ ...t.http.bearer,
53
+ token: e.target.value
54
+ }
55
+ }
56
+ });
57
+ }, S = (e) => {
58
+ p({
59
+ oAuth2: {
60
+ ...t.oAuth2,
61
+ clientId: e.target.value
62
+ }
63
+ });
64
+ }, H = (e) => {
65
+ p({
66
+ oAuth2: {
67
+ ...t.oAuth2,
68
+ username: e.target.value
69
+ }
70
+ });
71
+ }, G = (e) => {
72
+ p({
73
+ oAuth2: {
74
+ ...t.oAuth2,
75
+ password: e.target.value
76
+ }
77
+ });
78
+ };
79
+ function M(e) {
80
+ const a = t.oAuth2.scopes.join(" "), l = (Math.random() + 1).toString(36).substring(7), o = new URL(e.authorizationUrl);
81
+ return p({
82
+ oAuth2: { ...t.oAuth2, state: l }
83
+ }), o.searchParams.set("response_type", "token"), o.searchParams.set("client_id", t.oAuth2.clientId), o.searchParams.set("redirect_uri", window.location.href), o.searchParams.set("scope", a), o.searchParams.set("state", l), o.toString();
84
+ }
85
+ function $(e, a) {
86
+ if (typeof e != "string") {
87
+ console.log("tokenUrl is not a string");
88
+ return;
89
+ }
90
+ const l = a != null && a.baseUrl && !e.startsWith("http") ? Y(a == null ? void 0 : a.baseUrl, e) : e, o = new URL(l);
91
+ o.searchParams.set("grant_type", "password"), o.searchParams.set("username", t.oAuth2.username), o.searchParams.set("password", t.oAuth2.password), o.searchParams.set("client_id", t.oAuth2.clientId), o.searchParams.set("scope", t.oAuth2.scopes.join(" ")), fetch(
92
+ a != null && a.proxy ? Z(a == null ? void 0 : a.proxy, o.toString()) : o.toString(),
93
+ {
94
+ method: "POST",
95
+ headers: {
96
+ "Content-Type": "application/x-www-form-urlencoded"
97
+ }
98
+ }
99
+ ).then((r) => {
100
+ if (!r.ok)
101
+ throw new Error(
102
+ "Failed to get an access token. Please check your credentials."
103
+ );
104
+ return r.json();
105
+ }).then((r) => {
106
+ p({
107
+ oAuth2: { ...t.oAuth2, accessToken: r.access_token }
108
+ });
109
+ }).catch((r) => {
110
+ R("Couldn’t retrieve the password grant token", "warn", {
111
+ description: "Open your browser console to get more information."
112
+ }), console.error("[authorizeWithPassword]", r);
113
+ });
114
+ }
115
+ const I = Q({
116
+ get: () => t.oAuth2.scopes,
117
+ set: (e) => p({ oAuth2: { ...t.oAuth2, scopes: e } })
118
+ }), q = (e) => {
119
+ const l = window.open(e, "openAuth2Window", "left=100,top=100,width=800,height=600");
120
+ if (l) {
121
+ const o = setInterval(function() {
122
+ var r;
123
+ try {
124
+ const h = new URLSearchParams(l.location.href).get("access_token");
125
+ if (l.closed || h) {
126
+ clearInterval(o);
127
+ const m = (r = l.location.href.match(/state=([^&]*)/)) == null ? void 0 : r[1];
128
+ h && t.oAuth2.state === m && p({
129
+ oAuth2: { ...t.oAuth2, accessToken: h }
130
+ }), l.close();
131
+ }
132
+ } catch {
133
+ }
134
+ }, 200);
135
+ }
136
+ };
137
+ return (e, a) => {
138
+ var l;
139
+ return e.value && ((l = e.value) != null && l.type) ? (n(), w(x, { key: 0 }, {
140
+ default: s(() => [
141
+ e.value.type === "apiKey" ? (n(), w(v, {
142
+ key: 0,
143
+ id: `security-scheme-${e.value.name}`,
144
+ placeholder: "Token",
145
+ type: "password",
146
+ value: u(t).apiKey.token,
147
+ onInput: N
148
+ }, {
149
+ default: s(() => {
150
+ var o, r, d;
151
+ return [
152
+ e.value.in ? (n(), P(C, { key: 0 }, [
153
+ c(X(((r = (o = e.value.in) == null ? void 0 : o.charAt(0)) == null ? void 0 : r.toUpperCase()) + ((d = e.value.in) == null ? void 0 : d.slice(1))), 1)
154
+ ], 64)) : f("", !0),
155
+ c(" API ")
156
+ ];
157
+ }),
158
+ _: 1
159
+ }, 8, ["id", "value"])) : e.value.type === "http" || e.value.type === "basic" ? (n(), P(C, { key: 1 }, [
160
+ e.value.type === "basic" || e.value.scheme === "basic" ? (n(), w(b, { key: 0 }, {
161
+ default: s(() => [
162
+ i(v, {
163
+ id: "http.basic.username",
164
+ placeholder: "Username",
165
+ value: u(t).http.basic.username,
166
+ onInput: V
167
+ }, {
168
+ default: s(() => [
169
+ c(" Username ")
170
+ ]),
171
+ _: 1
172
+ }, 8, ["value"]),
173
+ i(v, {
174
+ id: "http.basic.password",
175
+ placeholder: "Password",
176
+ type: "password",
177
+ value: u(t).http.basic.password,
178
+ onInput: D
179
+ }, {
180
+ default: s(() => [
181
+ c(" Password ")
182
+ ]),
183
+ _: 1
184
+ }, 8, ["value"])
185
+ ]),
186
+ _: 1
187
+ })) : e.value.type === "http" && e.value.scheme === "bearer" ? (n(), w(v, {
188
+ key: 1,
189
+ id: "http.bearer.token",
190
+ placeholder: "Token",
191
+ type: "password",
192
+ value: u(t).http.bearer.token,
193
+ onInput: E
194
+ }, {
195
+ default: s(() => [
196
+ c(" Bearer Token ")
197
+ ]),
198
+ _: 1
199
+ }, 8, ["value"])) : f("", !0)
200
+ ], 64)) : e.value.type.toLowerCase() === "oauth2" && e.value.flows ? (n(), w(b, { key: 2 }, {
201
+ default: s(() => {
202
+ var o, r;
203
+ return [
204
+ e.value.flows.implicit ? (n(), P(C, { key: 0 }, [
205
+ u(t).oAuth2.accessToken ? (n(), P(C, { key: 0 }, [
206
+ i(v, {
207
+ id: "oAuth2.accessToken",
208
+ placeholder: "xxxxx",
209
+ type: "password",
210
+ value: u(t).oAuth2.accessToken
211
+ }, {
212
+ default: s(() => [
213
+ c(" Access Token ")
214
+ ]),
215
+ _: 1
216
+ }, 8, ["value"]),
217
+ i(ee, {
218
+ onClick: a[0] || (a[0] = () => u(p)({
219
+ oAuth2: {
220
+ ...u(t).oAuth2,
221
+ accessToken: "",
222
+ state: ""
223
+ }
224
+ }))
225
+ }, {
226
+ default: s(() => [
227
+ c(" Reset ")
228
+ ]),
229
+ _: 1
230
+ })
231
+ ], 64)) : f("", !0)
232
+ ], 64)) : f("", !0),
233
+ (r = (o = e.value) == null ? void 0 : o.flows) != null && r.password ? (n(), w(j, { key: 1 }, {
234
+ default: s(() => [
235
+ i(b, null, {
236
+ default: s(() => [
237
+ i(v, {
238
+ id: "oAuth2.username",
239
+ placeholder: "Username",
240
+ value: u(t).oAuth2.username,
241
+ onInput: H
242
+ }, {
243
+ default: s(() => [
244
+ c(" Username ")
245
+ ]),
246
+ _: 1
247
+ }, 8, ["value"]),
248
+ i(v, {
249
+ id: "oAuth2.password",
250
+ placeholder: "Password",
251
+ type: "password",
252
+ value: u(t).oAuth2.password,
253
+ onInput: G
254
+ }, {
255
+ default: s(() => [
256
+ c(" Password ")
257
+ ]),
258
+ _: 1
259
+ }, 8, ["value"])
260
+ ]),
261
+ _: 1
262
+ }),
263
+ i(b, null, {
264
+ default: s(() => {
265
+ var d, h, m, A, y, k, T, U, F, B, O;
266
+ return [
267
+ i(v, {
268
+ id: "oAuth2.clientId",
269
+ placeholder: "12345",
270
+ type: "text",
271
+ value: u(t).oAuth2.clientId,
272
+ onInput: S
273
+ }, {
274
+ default: s(() => [
275
+ c(" Client ID ")
276
+ ]),
277
+ _: 1
278
+ }, 8, ["value"]),
279
+ e.value !== void 0 && Object.entries(
280
+ ((m = (h = (d = e.value) == null ? void 0 : d.flows) == null ? void 0 : h.implicit) == null ? void 0 : m.scopes) ?? ((k = (y = (A = e.value) == null ? void 0 : A.flows) == null ? void 0 : y.password) == null ? void 0 : k.scopes) ?? {}
281
+ ).length > 0 ? (n(), w(K, {
282
+ key: 0,
283
+ selected: I.value,
284
+ "onUpdate:selected": a[1] || (a[1] = (g) => I.value = g),
285
+ scopes: ((F = (U = (T = e.value) == null ? void 0 : T.flows) == null ? void 0 : U.implicit) == null ? void 0 : F.scopes) ?? ((O = (B = e.value) == null ? void 0 : B.flows) == null ? void 0 : O.password.scopes)
286
+ }, null, 8, ["selected", "scopes"])) : f("", !0),
287
+ W("button", {
288
+ class: "cardform-auth-button",
289
+ type: "button",
290
+ onClick: a[2] || (a[2] = () => {
291
+ var g, z;
292
+ return $(
293
+ (z = (g = e.value.flows) == null ? void 0 : g.password) == null ? void 0 : z.tokenUrl,
294
+ {
295
+ baseUrl: u(te)(u(L)),
296
+ proxy: e.proxy
297
+ }
298
+ );
299
+ })
300
+ }, " Authorize ")
301
+ ];
302
+ }),
303
+ _: 1
304
+ })
305
+ ]),
306
+ _: 1
307
+ })) : (n(), w(j, { key: 2 }, {
308
+ default: s(() => [
309
+ i(b, null, {
310
+ default: s(() => {
311
+ var d, h;
312
+ return [
313
+ i(v, {
314
+ id: "oAuth2.clientId",
315
+ placeholder: "12345",
316
+ type: "text",
317
+ value: u(t).oAuth2.clientId,
318
+ onInput: S
319
+ }, {
320
+ default: s(() => [
321
+ c(" Client ID ")
322
+ ]),
323
+ _: 1
324
+ }, 8, ["value"]),
325
+ e.value !== void 0 && Object.entries(
326
+ ((d = e.value.flows.implicit) == null ? void 0 : d.scopes) ?? e.value.flows.password.scopes
327
+ ).length > 0 ? (n(), w(K, {
328
+ key: 0,
329
+ selected: I.value,
330
+ "onUpdate:selected": a[3] || (a[3] = (m) => I.value = m),
331
+ scopes: ((h = e.value.flows.implicit) == null ? void 0 : h.scopes) ?? e.value.flows.password.scopes
332
+ }, null, 8, ["selected", "scopes"])) : f("", !0),
333
+ W("button", {
334
+ class: "cardform-auth-button",
335
+ type: "button",
336
+ onClick: a[4] || (a[4] = () => {
337
+ var m, A, y, k;
338
+ return q(
339
+ M(
340
+ ((A = (m = e.value) == null ? void 0 : m.flows) == null ? void 0 : A.implicit) ?? ((k = (y = e.value) == null ? void 0 : y.flows) == null ? void 0 : k.password)
341
+ )
342
+ );
343
+ })
344
+ }, " Authorize ")
345
+ ];
346
+ }),
347
+ _: 1
348
+ })
349
+ ]),
350
+ _: 1
351
+ }))
352
+ ];
353
+ }),
354
+ _: 1
355
+ })) : f("", !0)
356
+ ]),
357
+ _: 1
358
+ })) : f("", !0);
359
+ };
360
+ }
361
+ });
362
+ export {
363
+ fe as default
364
+ };
@@ -0,0 +1,26 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ scopes?: {
3
+ [scope: string]: string;
4
+ } | undefined;
5
+ selected: string[];
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:selected": (v: string[]) => void;
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
+ scopes?: {
10
+ [scope: string]: string;
11
+ } | undefined;
12
+ selected: string[];
13
+ }>>> & {
14
+ "onUpdate:selected"?: ((v: string[]) => any) | undefined;
15
+ }, {}, {}>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToOption<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ //# sourceMappingURL=SecuritySchemeScopes.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SecuritySchemeScopes.vue.d.ts","sourceRoot":"","sources":["../../../src/legacy/components/SecuritySchemeScopes.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;AAqZA,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import o from "./SecuritySchemeScopes.vue2.js";
2
+ /* empty css */
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0957134f"]]);
5
+ export {
6
+ m as default
7
+ };