@scalar/api-client 2.3.7 → 2.3.9

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 (81) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -1
  3. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  4. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  5. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +8 -8
  6. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  7. package/dist/components/ScalarHotkey.vue.d.ts +1 -1
  8. package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
  9. package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
  10. package/dist/components/Server/ServerDropdownItem.vue.js +2 -2
  11. package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts +2 -0
  12. package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts.map +1 -0
  13. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  14. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +8 -8
  15. package/dist/layouts/App/create-api-client-app.d.ts +638 -466
  16. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  17. package/dist/layouts/Modal/create-api-client-modal.d.ts +1297 -953
  18. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  19. package/dist/layouts/Modal/create-api-client-modal.js +10 -9
  20. package/dist/layouts/Modal/index.d.ts +1 -1
  21. package/dist/layouts/Modal/index.d.ts.map +1 -1
  22. package/dist/layouts/Web/create-api-client-web.d.ts +638 -466
  23. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  24. package/dist/libs/create-client.d.ts +631 -459
  25. package/dist/libs/create-client.d.ts.map +1 -1
  26. package/dist/libs/find-request.d.ts +4 -4
  27. package/dist/libs/find-request.d.ts.map +1 -1
  28. package/dist/libs/hot-keys.d.ts +2 -2
  29. package/dist/libs/send-request/build-request-security.d.ts +2 -2
  30. package/dist/libs/send-request/create-request-operation.test.d.ts +49 -47
  31. package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
  32. package/dist/store/active-entities.d.ts +65 -61
  33. package/dist/store/active-entities.d.ts.map +1 -1
  34. package/dist/store/collections.d.ts +30 -30
  35. package/dist/store/collections.d.ts.map +1 -1
  36. package/dist/store/cookies.d.ts +18 -18
  37. package/dist/store/environment.d.ts +9 -9
  38. package/dist/store/import-spec.d.ts +154 -2
  39. package/dist/store/import-spec.d.ts.map +1 -1
  40. package/dist/store/request-example.d.ts +272 -272
  41. package/dist/store/request-example.d.ts.map +1 -1
  42. package/dist/store/requests.d.ts +44 -44
  43. package/dist/store/requests.d.ts.map +1 -1
  44. package/dist/store/security-schemes.d.ts +10 -10
  45. package/dist/store/security-schemes.d.ts.map +1 -1
  46. package/dist/store/servers.d.ts +50 -30
  47. package/dist/store/servers.d.ts.map +1 -1
  48. package/dist/store/store.d.ts +635 -463
  49. package/dist/store/store.d.ts.map +1 -1
  50. package/dist/store/tags.d.ts +10 -10
  51. package/dist/store/workspace.d.ts +44 -44
  52. package/dist/style.css +1 -1
  53. package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
  54. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +1 -1
  55. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
  56. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
  57. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +1 -1
  58. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  59. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  60. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +1 -1
  61. package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
  62. package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
  63. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
  64. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  65. package/dist/views/Request/RequestSection/RequestSection.test.d.ts +2 -0
  66. package/dist/views/Request/RequestSection/RequestSection.test.d.ts.map +1 -0
  67. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
  68. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  69. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  70. package/dist/views/Request/RequestSection/RequestSection.vue2.js +26 -19
  71. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +1 -1
  72. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  73. package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
  74. package/dist/views/Request/RequestSection/RequestTable.vue2.js +191 -193
  75. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  76. package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts +2 -0
  77. package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts.map +1 -0
  78. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  79. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
  80. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +50 -47
  81. package/package.json +15 -15
@@ -1 +1 @@
1
- {"version":3,"file":"CollectionServerForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionServerForm.vue"],"names":[],"mappings":"AAyIA,KAAK,WAAW,GAAG;IACf,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC7B,CAAC;;kBAFc,MAAM,GAAG,MAAM,EAAE;eACpB,MAAM,GAAG,MAAM,EAAE;;AAqMhC,wBAQG"}
1
+ {"version":3,"file":"CollectionServerForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionServerForm.vue"],"names":[],"mappings":"AA2IA,KAAK,WAAW,GAAG;IACf,YAAY,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC/B,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC7B,CAAC;;kBAFc,MAAM,GAAG,MAAM,EAAE;eACpB,MAAM,GAAG,MAAM,EAAE;;AAqMhC,wBAQG"}
@@ -1,6 +1,6 @@
1
- import type { Workspace } from '@scalar/oas-utils/entities';
2
1
  import type { Environment } from '@scalar/oas-utils/entities/environment';
3
2
  import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
3
+ import type { Workspace } from '@scalar/oas-utils/entities/workspace';
4
4
  import type { EnvVariable } from '../../../../store/active-entities';
5
5
  type __VLS_Props = {
6
6
  collection: Collection;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuthTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue"],"names":[],"mappings":"AA6PA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EAEV,MAAM,EACP,MAAM,iCAAiC,CAAA;AAKxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAQ1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA0aF,wBAMG"}
1
+ {"version":3,"file":"RequestAuthTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue"],"names":[],"mappings":"AA6PA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EAEV,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAKrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAQ1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA0aF,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import t from "./RequestAuthTab.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ o(t, [["__scopeId", "data-v-fc488741"]]);
4
+ const e = /* @__PURE__ */ o(t, [["__scopeId", "data-v-36066bff"]]);
5
5
  export {
6
- f as default
6
+ e as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import type { Workspace } from '@scalar/oas-utils/entities';
2
1
  import type { Environment } from '@scalar/oas-utils/entities/environment';
3
2
  import { type Operation, type RequestExample } from '@scalar/oas-utils/entities/spec';
3
+ import type { Workspace } from '@scalar/oas-utils/entities/workspace';
4
4
  import type { EnvVariable } from '../../../store/active-entities';
5
5
  type __VLS_Props = {
6
6
  example: RequestExample;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":"AAqnBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,iCAAiC,CAAA;AAaxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAM1D,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;;AAs6BJ,wBAOG"}
1
+ {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":"AAqnBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAarE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAM1D,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC;;AAs6BJ,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestBody.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-12b37505"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8bf1b90e"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -1,5 +1,5 @@
1
- import type { Workspace } from '@scalar/oas-utils/entities';
2
1
  import type { Collection, Operation, RequestExample, Server } from '@scalar/oas-utils/entities/spec';
2
+ import type { Workspace } from '@scalar/oas-utils/entities/workspace';
3
3
  type __VLS_Props = {
4
4
  collection: Collection;
5
5
  example: RequestExample;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestCodeExample.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestCodeExample.vue"],"names":[],"mappings":"AA8KA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AAcxC,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA+PF,wBAOG"}
1
+ {"version":3,"file":"RequestCodeExample.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestCodeExample.vue"],"names":[],"mappings":"AA8KA,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAcrE,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA+PF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestCodeExample.vue2.js";
2
2
  /* empty css */
3
- import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-911b43db"]]);
3
+ import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-6c928e79"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import type { Workspace } from '@scalar/oas-utils/entities';
2
1
  import type { Environment } from '@scalar/oas-utils/entities/environment';
3
2
  import type { Operation, RequestExample } from '@scalar/oas-utils/entities/spec';
3
+ import type { Workspace } from '@scalar/oas-utils/entities/workspace';
4
4
  import type { EnvVariable } from '../../../store/active-entities';
5
5
  type __VLS_Props = {
6
6
  example: RequestExample;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestPathParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestPathParams.vue"],"names":[],"mappings":"AAqIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAMhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAK1D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,QAAQ,EAAE,MAAM,cAAc,CAAC,YAAY,CAAC,CAAA;IAC5C,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAC3B,CAAC;;AAwLF,wBAOG"}
1
+ {"version":3,"file":"RequestPathParams.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestPathParams.vue"],"names":[],"mappings":"AAqIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAMrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAK1D,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,SAAS,CAAA;IACpB,QAAQ,EAAE,MAAM,cAAc,CAAC,YAAY,CAAC,CAAA;IAC5C,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAC3B,CAAC;;AAwLF,wBAOG"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=RequestSection.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestSection.test.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.test.ts"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
- import type { Workspace } from '@scalar/oas-utils/entities';
2
1
  import type { Environment } from '@scalar/oas-utils/entities/environment';
3
2
  import type { SelectedSecuritySchemeUids } from '@scalar/oas-utils/entities/shared';
4
3
  import type { Collection, Operation, RequestExample, Server } from '@scalar/oas-utils/entities/spec';
4
+ import type { Workspace } from '@scalar/oas-utils/entities/workspace';
5
5
  import type { EnvVariable } from '../../../store/active-entities';
6
6
  type __VLS_Props = {
7
7
  collection: Collection;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":"AAqTA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AASxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAU1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,OAAO,EAAE,cAAc,CAAA;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;IACpB,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AAwUF,wBAOG"}
1
+ {"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":"AA4TA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAA;AACnF,OAAO,KAAK,EACV,UAAU,EACV,SAAS,EACT,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AASrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAU1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,OAAO,EAAE,cAAc,CAAA;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;IACpB,0BAA0B,EAAE,0BAA0B,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA+UF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestSection.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c1435733"]]);
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-6ea5cf36"]]);
5
5
  export {
6
- m as default
6
+ c as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, computed as p, useId as O, ref as H, watch as N, openBlock as m, createBlock as b, withCtx as v, createElementVNode as d, unref as i, createElementBlock as c, createCommentVNode as w, toDisplayString as I, createVNode as n, withDirectives as t, vShow as s } from "vue";
1
+ import { defineComponent as E, computed as p, useId as O, ref as H, watch as N, openBlock as m, createBlock as b, withCtx as v, createElementVNode as d, unref as t, createElementBlock as c, createCommentVNode as w, toDisplayString as I, createVNode as n, withDirectives as i, vShow as s } from "vue";
2
2
  import { ScalarErrorBoundary as K } from "@scalar/components";
3
3
  import { canMethodHaveBody as f, isDefined as U, REGEX as V } from "@scalar/oas-utils/helpers";
4
4
  import D from "../../../components/SectionFilter.vue.js";
@@ -39,14 +39,14 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
39
39
  "Headers",
40
40
  "Query",
41
41
  "Body"
42
- ], { requestMutators: P, cookies: S, securitySchemes: q } = T(), { layout: u } = W(), k = p(() => {
42
+ ], { requestMutators: q, cookies: P, securitySchemes: S } = T(), { layout: u } = W(), h = p(() => {
43
43
  const e = /* @__PURE__ */ new Set(["All", ...A]);
44
- return l.example.parameters.path.length || e.delete("Variables"), f(l.operation.method ?? "get") || e.delete("Body"), h.value && e.delete("Auth"), [...e];
44
+ return l.example.parameters.path.length || e.delete("Variables"), f(l.operation.method ?? "get") || e.delete("Body"), k.value && e.delete("Auth"), [...e];
45
45
  }), r = p(
46
46
  () => Object.fromEntries(
47
- k.value.map((e) => [e, O()])
47
+ h.value.map((e) => [e, O()])
48
48
  )
49
- ), h = p(
49
+ ), k = p(
50
50
  () => {
51
51
  var e;
52
52
  return u === "modal" && ((e = l.operation.security) == null ? void 0 : e.length) === 0;
@@ -60,9 +60,9 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
60
60
  );
61
61
  const g = (e) => {
62
62
  const o = e.target;
63
- P.edit(l.operation.uid, "summary", o.value);
63
+ q.edit(l.operation.uid, "summary", o.value);
64
64
  }, B = p(
65
- () => (l.workspace.cookies ?? []).map((e) => S[e]).filter(U).filter((e) => e.name).filter(
65
+ () => (l.workspace.cookies ?? []).map((e) => P[e]).filter(U).filter((e) => e.name).filter(
66
66
  (e) => {
67
67
  var o;
68
68
  return $(((o = l.server) == null ? void 0 : o.url) || l.operation.path, e.domain);
@@ -84,8 +84,8 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
84
84
  }, {
85
85
  title: v(() => [
86
86
  d("div", z, [
87
- i(u) !== "modal" ? (m(), c("label", G)) : w("", !0),
88
- i(u) !== "modal" ? (m(), c("input", {
87
+ t(u) !== "modal" ? (m(), c("label", G)) : w("", !0),
88
+ t(u) !== "modal" ? (m(), c("input", {
89
89
  key: 1,
90
90
  id: "requestname",
91
91
  class: "text-c-1 group-hover-input pl-1.25 md:-ml-1.25 pointer-events-auto relative z-10 -ml-0.5 h-8 w-full rounded has-[:focus-visible]:outline",
@@ -98,7 +98,7 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
98
98
  modelValue: a.value,
99
99
  "onUpdate:modelValue": o[0] || (o[0] = (R) => a.value = R),
100
100
  filterIds: r.value,
101
- filters: k.value
101
+ filters: h.value
102
102
  }, null, 8, ["modelValue", "filterIds", "filters"])
103
103
  ]),
104
104
  default: v(() => [
@@ -107,8 +107,9 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
107
107
  class: "request-section-content custom-scroll relative flex flex-1 flex-col divide-y",
108
108
  role: a.value === "All" ? "tabpanel" : "none"
109
109
  }, [
110
- e.collection && e.workspace && (i(u) !== "modal" || Object.keys(i(q) ?? {}).length) ? t((m(), b(F, {
110
+ e.collection && e.workspace && (t(u) !== "modal" || Object.keys(t(S) ?? {}).length) ? i((m(), b(F, {
111
111
  key: 0,
112
+ class: "request-section-content-auth",
112
113
  id: r.value.Auth,
113
114
  collection: e.collection,
114
115
  envVariables: e.envVariables,
@@ -123,10 +124,11 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
123
124
  }, null, 8, ["id", "collection", "envVariables", "environment", "operation", "role", "selectedSecuritySchemeUids", "server", "workspace"])), [
124
125
  [
125
126
  s,
126
- !h.value && (a.value === "All" || a.value === "Auth")
127
+ !k.value && (a.value === "All" || a.value === "Auth")
127
128
  ]
128
129
  ]) : w("", !0),
129
- t(n(j, {
130
+ i(n(j, {
131
+ class: "request-section-content-path-params",
130
132
  id: r.value.Variables,
131
133
  envVariables: e.envVariables,
132
134
  environment: e.environment,
@@ -143,7 +145,8 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
143
145
  (a.value === "All" || a.value === "Variables") && e.example.parameters.path.length
144
146
  ]
145
147
  ]),
146
- t(n(y, {
148
+ i(n(y, {
149
+ class: "request-section-content-cookies",
147
150
  id: r.value.Cookies,
148
151
  envVariables: e.envVariables,
149
152
  environment: e.environment,
@@ -159,7 +162,8 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
159
162
  }, null, 8, ["id", "envVariables", "environment", "example", "invalidParams", "operation", "readOnlyEntries", "role", "workspace"]), [
160
163
  [s, a.value === "All" || a.value === "Cookies"]
161
164
  ]),
162
- t(n(y, {
165
+ i(n(y, {
166
+ class: "request-section-content-headers",
163
167
  id: r.value.Headers,
164
168
  envVariables: e.envVariables,
165
169
  environment: e.environment,
@@ -173,7 +177,8 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
173
177
  }, null, 8, ["id", "envVariables", "environment", "example", "invalidParams", "operation", "role", "workspace"]), [
174
178
  [s, a.value === "All" || a.value === "Headers"]
175
179
  ]),
176
- t(n(y, {
180
+ i(n(y, {
181
+ class: "request-section-content-query",
177
182
  id: r.value.Query,
178
183
  envVariables: e.envVariables,
179
184
  environment: e.environment,
@@ -187,7 +192,8 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
187
192
  }, null, 8, ["id", "envVariables", "environment", "example", "invalidParams", "operation", "role", "workspace"]), [
188
193
  [s, a.value === "All" || a.value === "Query"]
189
194
  ]),
190
- t(n(L, {
195
+ i(n(L, {
196
+ class: "request-section-content-body",
191
197
  id: r.value.Body,
192
198
  envVariables: e.envVariables,
193
199
  environment: e.environment,
@@ -199,13 +205,14 @@ const z = { class: "group pointer-events-none flex flex-1 items-center gap-1 lg:
199
205
  }, null, 8, ["id", "envVariables", "environment", "example", "operation", "role", "workspace"]), [
200
206
  [
201
207
  s,
202
- e.operation.method && (a.value === "All" || a.value === "Body") && i(f)(e.operation.method)
208
+ e.operation.method && (a.value === "All" || a.value === "Body") && t(f)(e.operation.method)
203
209
  ]
204
210
  ]),
205
211
  o[1] || (o[1] = d("div", { class: "-my-0.25 flex flex-grow" }, null, -1)),
206
- n(i(K), null, {
212
+ n(t(K), null, {
207
213
  default: v(() => [
208
214
  n(M, {
215
+ class: "request-section-content-code-example",
209
216
  collection: e.collection,
210
217
  example: e.example,
211
218
  operation: e.operation,
@@ -1,7 +1,7 @@
1
1
  import type { Environment } from '@scalar/oas-utils/entities/environment';
2
2
  import type { RequestExampleParameter } from '@scalar/oas-utils/entities/spec';
3
3
  import type { Workspace } from '@scalar/oas-utils/entities/workspace';
4
- import type { RouteLocationRaw } from 'vue-router';
4
+ import { type RouteLocationRaw } from 'vue-router';
5
5
  import type { EnvVariable } from '../../../store/active-entities';
6
6
  type __VLS_Props = {
7
7
  items?: (RequestExampleParameter & {
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AAyPA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAQlD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,CAAC,uBAAuB,GAAG;QAAE,KAAK,CAAC,EAAE,gBAAgB,CAAA;KAAE,CAAC,EAAE,CAAA;IAClE,8BAA8B;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAC5B,CAAC;;;;;;;;;;;;;;;;;;;;yBARsB,OAAO;sBACV,OAAO;cACf,OAAO;gBACL,OAAO;;AA+gBxB,wBASG"}
1
+ {"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AAyPA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AACrE,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAQ9D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,CAAC,uBAAuB,GAAG;QAAE,KAAK,CAAC,EAAE,gBAAgB,CAAA;KAAE,CAAC,EAAE,CAAA;IAClE,8BAA8B;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;IACpB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAC5B,CAAC;;;;;;;;;;;;;;;;;;;;yBARsB,OAAO;sBACV,OAAO;cACf,OAAO;gBACL,OAAO;;AAghBxB,wBASG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestTable.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-7f27d2f7"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5c4132b8"]]);
5
5
  export {
6
- a as default
6
+ m as default
7
7
  };