@scalar/api-client 2.1.33 → 2.1.35

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 +36 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +2 -2
  4. package/dist/components/CodeInput/CodeInput.vue.js +2 -2
  5. package/dist/components/ContextBar.vue.d.ts.map +1 -1
  6. package/dist/components/ContextBar.vue.js +1 -1
  7. package/dist/components/ContextBar.vue2.js +6 -6
  8. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  9. package/dist/components/DataTable/DataTableInput.vue.js +3 -3
  10. package/dist/components/DataTable/DataTableInput.vue2.js +53 -40
  11. package/dist/components/ScalarHotkey.vue.d.ts +5 -6
  12. package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
  13. package/dist/components/ScalarHotkey.vue.js +9 -18
  14. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  15. package/dist/components/SideNav/SideNav.vue.js +2 -2
  16. package/dist/components/SideNav/SideNav.vue2.js +8 -8
  17. package/dist/components/Sidebar/SidebarButton.vue.d.ts +4 -0
  18. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  19. package/dist/components/Sidebar/SidebarButton.vue.js +19 -17
  20. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  21. package/dist/components/TopNav/TopNav.vue.js +2 -2
  22. package/dist/components/TopNav/TopNav.vue2.js +14 -14
  23. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  24. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +6 -6
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +8 -8
  28. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  29. package/dist/layouts/App/ApiClientApp.vue.js +35 -29
  30. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
  31. package/dist/layouts/App/MainLayout.vue.js +4 -4
  32. package/dist/layouts/App/create-api-client-app.d.ts +257 -45
  33. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  34. package/dist/layouts/App/create-api-client-app.js +10 -10
  35. package/dist/layouts/App/hotkeys.js +1 -1
  36. package/dist/layouts/Modal/create-api-client-modal.d.ts +514 -90
  37. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  38. package/dist/layouts/Modal/create-api-client-modal.js +24 -22
  39. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  40. package/dist/layouts/Web/ApiClientWeb.vue.js +33 -27
  41. package/dist/layouts/Web/create-api-client-web.d.ts +258 -46
  42. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  43. package/dist/layouts/Web/create-api-client-web.js +9 -9
  44. package/dist/libs/create-client.d.ts +280 -50
  45. package/dist/libs/create-client.d.ts.map +1 -1
  46. package/dist/libs/create-client.js +25 -24
  47. package/dist/libs/hot-keys.d.ts +1 -1
  48. package/dist/libs/local-storage.d.ts +2 -2
  49. package/dist/libs/local-storage.d.ts.map +1 -1
  50. package/dist/libs/send-request.d.ts +2 -1
  51. package/dist/libs/send-request.d.ts.map +1 -1
  52. package/dist/libs/send-request.js +98 -97
  53. package/dist/router.d.ts +5 -5
  54. package/dist/router.d.ts.map +1 -1
  55. package/dist/router.js +32 -32
  56. package/dist/store/collections.d.ts +14 -4
  57. package/dist/store/collections.d.ts.map +1 -1
  58. package/dist/store/events.d.ts +1 -1
  59. package/dist/store/import-spec.d.ts +16 -31
  60. package/dist/store/import-spec.d.ts.map +1 -1
  61. package/dist/store/import-spec.js +43 -56
  62. package/dist/store/requests.d.ts +14 -14
  63. package/dist/store/store.d.ts +514 -90
  64. package/dist/store/store.d.ts.map +1 -1
  65. package/dist/store/store.js +43 -43
  66. package/dist/store/workspace.d.ts +10 -10
  67. package/dist/store/workspace.d.ts.map +1 -1
  68. package/dist/style.css +1 -1
  69. package/dist/views/Cookies/Cookies.vue.d.ts +5 -1
  70. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  71. package/dist/views/Cookies/Cookies.vue2.js +64 -55
  72. package/dist/views/Environment/Environment.vue.d.ts +5 -1
  73. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  74. package/dist/views/Environment/Environment.vue2.js +75 -66
  75. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  76. package/dist/views/Request/Request.vue.js +1 -1
  77. package/dist/views/Request/Request.vue2.js +96 -90
  78. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +21 -21
  79. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  80. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +79 -71
  81. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +2 -0
  82. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  83. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  84. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +105 -112
  85. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts +5 -1
  86. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -1
  87. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +38 -35
  88. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +5 -1
  89. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  90. package/dist/views/Request/RequestSection/RequestSection.vue.js +5 -118
  91. package/dist/views/Request/RequestSection/RequestSection.vue2.js +126 -0
  92. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  93. package/dist/views/Request/RequestSidebar.vue.js +4 -4
  94. package/dist/views/Request/RequestSidebar.vue2.js +43 -42
  95. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  96. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  97. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +27 -26
  98. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
  99. package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +1 -1
  100. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  101. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +5 -99
  102. package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +104 -2
  103. package/dist/views/Settings/SettingsGeneral.vue.js +3 -3
  104. package/dist/views/Settings/SettingsGeneralMode.vue.js +3 -3
  105. package/package.json +8 -8
  106. package/dist/views/Request/RequestSection/RequestSection.vue3.js +0 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.1.35
4
+
5
+ ### Patch Changes
6
+
7
+ - 9f9c5b7: (style)api-client: response flip animation
8
+ - 15b6082: fix: favors input on data table password type when masked
9
+ - 9affbe3: fix: add an overflow to the dataTableInput to prevent it from overflowing
10
+ - 277f95c: style: removes top border and sets overscroll property
11
+ - 197e3ae: (style)api-client: make input styles more consistent
12
+ - Updated dependencies [097ab40]
13
+ - Updated dependencies [197e3ae]
14
+ - @scalar/oas-utils@0.2.62
15
+ - @scalar/components@0.12.61
16
+ - @scalar/themes@0.9.43
17
+ - @scalar/use-codemirror@0.11.28
18
+
19
+ ## 2.1.34
20
+
21
+ ### Patch Changes
22
+
23
+ - 5995f57: feat: prepare references for the client auth
24
+ - 4c1536d: style: updates active setting option ui state
25
+ - d7a6c55: fix: updates scalar hotkey component
26
+ - d7a6c55: fix: contrains event action to route
27
+ - 2456afa: fix: remove theme selection as it was breaking on external sites
28
+ - 69bda25: feat: synced up client auth with references
29
+ - Updated dependencies [7323370]
30
+ - Updated dependencies [d7a6c55]
31
+ - Updated dependencies [2456afa]
32
+ - Updated dependencies [69bda25]
33
+ - @scalar/openapi-parser@0.8.8
34
+ - @scalar/oas-utils@0.2.61
35
+ - @scalar/themes@0.9.42
36
+ - @scalar/components@0.12.60
37
+ - @scalar/use-codemirror@0.11.27
38
+
3
39
  ## 2.1.33
4
40
 
5
41
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;AAwvBA,wBAQG"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AddressBar/AddressBar.vue"],"names":[],"mappings":";;;;;AAgwBA,wBAQG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./AddressBar.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-19d5c366"]]);
4
+ const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-1dd69544"]]);
5
5
  export {
6
- d as default
6
+ a as default
7
7
  };
@@ -2,7 +2,7 @@ import o from "./CodeInput.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.js";
5
- const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9121d6e5"]]);
5
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-37f39e63"]]);
6
6
  export {
7
- _ as default
7
+ f as default
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA0HY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;AAyIvB,wBASG"}
1
+ {"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cAqIY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;AA8IvB,wBASG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ContextBar.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-1bc6f599"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-df918011"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as r, openBlock as n, createElementBlock as o, createElementVNode as i, Fragment as c, renderList as a, normalizeClass as l, toDisplayString as s, createVNode as d, unref as p } from "vue";
2
2
  import { ScalarIcon as u } from "@scalar/components";
3
- const m = { class: "hidden lg:flex ml-auto filter-hover group lg:w-[120px]" }, v = { class: "request-section-content request-section-content-filter fade-request-section-content text-c-3 hidden xl:flex justify-end rounded text-xs gap-[1.5px] pointer-events-auto relative w-full py-2" }, f = ["isActive", "onClick"], h = { class: "flex items-center group-hover:text-c-1 absolute -right-6 top-1/2 -translate-y-1/2" }, _ = { class: "mr-1.5 group-hover:hidden" }, b = /* @__PURE__ */ r({
3
+ const m = { class: "hidden lg:flex ml-auto filter-hover context-bar-group lg:w-[120px]" }, v = { class: "request-section-content request-section-content-filter fade-request-section-content text-c-3 hidden xl:flex justify-end rounded text-xs gap-[1.5px] pointer-events-auto relative w-full py-2" }, f = ["isActive", "onClick"], h = { class: "flex items-center context-bar-group-hover:text-c-1 absolute -right-6 top-1/2 -translate-y-1/2" }, x = { class: "mr-1.5 context-bar-group-hover:hidden" }, y = /* @__PURE__ */ r({
4
4
  __name: "ContextBar",
5
5
  props: {
6
6
  sections: {},
7
7
  activeSection: {}
8
8
  },
9
9
  emits: ["setActiveSection"],
10
- setup(x) {
10
+ setup(_) {
11
11
  return (e, g) => (n(), o("div", m, [
12
12
  i("div", v, [
13
13
  (n(!0), o(c, null, a(e.sections, (t) => (n(), o("button", {
14
14
  key: t,
15
- class: l(["hover:bg-b-2 rounded p-1 px-2 text-center font-medium w-fit", [
15
+ class: l(["hover:bg-b-2 rounded p-1 px-2 text-center font-medium w-fit whitespace-nowrap", [
16
16
  e.activeSection === t ? "text-c-1 pointer-events-none" : ""
17
17
  ]]),
18
18
  isActive: e.activeSection === t,
19
19
  type: "button",
20
- onClick: (S) => e.$emit("setActiveSection", t)
20
+ onClick: (b) => e.$emit("setActiveSection", t)
21
21
  }, s(t), 11, f))), 128)),
22
22
  i("div", h, [
23
- i("span", _, s(e.activeSection), 1),
23
+ i("span", x, s(e.activeSection), 1),
24
24
  d(p(u), {
25
25
  icon: "FilterList",
26
26
  size: "md",
@@ -32,5 +32,5 @@ const m = { class: "hidden lg:flex ml-auto filter-hover group lg:w-[120px]" }, v
32
32
  }
33
33
  });
34
34
  export {
35
- b as default
35
+ y as default
36
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AA0OA,iBAAS,cAAc;qBAiNM,GAAG;qBACF,GAAG;kBACN,GAAG;EA6B7B;AACD,QAAA,MAAM,eAAe;SAtTZ,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;IAC3B,0EAA0E;4BAClD,OAAO;eACpB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;SAXP,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;IAC3B,0EAA0E;4BAClD,OAAO;eACpB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;cAPD,OAAO;2BAGM,OAAO;cACpB,OAAO;6EA2TpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAexG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"DataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInput.vue"],"names":[],"mappings":"AA4PA,iBAAS,cAAc;qBA8OM,GAAG;qBACF,GAAG;kBACN,GAAG;EA6B7B;AACD,QAAA,MAAM,eAAe;SAnVZ,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;IAC3B,0EAA0E;4BAClD,OAAO;eACpB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;SAXP,MAAM;WACJ,MAAM;IACb,sEAAsE;qBACrD,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;IAC3B,0EAA0E;4BAClD,OAAO;eACpB,OAAO;WACX,MAAM,EAAE;UACT,MAAM;UACN,MAAM;;;;;;;cAPD,OAAO;2BAGM,OAAO;cACpB,OAAO;6EAwVpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAexG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import t from "./DataTableInput.vue2.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-0417d80a"]]);
3
+ import o from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-3ff02c4c"]]);
5
5
  export {
6
- m as default
6
+ r as default
7
7
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as V, ref as d, computed as w, openBlock as l, createBlock as i, normalizeClass as b, withCtx as k, createElementBlock as s, renderSlot as m, createCommentVNode as u, createElementVNode as C, Fragment as B, createVNode as g, mergeProps as $, unref as h } from "vue";
2
- import x from "../CodeInput/CodeInput.vue.js";
3
- import { ScalarIconButton as q } from "@scalar/components";
4
- import A from "./DataTableCell.vue.js";
5
- import E from "./DataTableInputSelect.vue.js";
6
- const F = {
7
- key: 0,
8
- class: "text-c-2 flex min-w-[120px] items-center border-r-1/2 pl-2 pr-0"
9
- }, I = { class: "row-1" }, O = {
1
+ import { defineComponent as V, ref as i, computed as k, openBlock as l, createBlock as u, normalizeClass as b, withCtx as g, createElementBlock as r, renderSlot as p, createCommentVNode as d, createElementVNode as C, Fragment as B, mergeProps as y, unref as $ } from "vue";
2
+ import h from "../CodeInput/CodeInput.vue.js";
3
+ import { ScalarIconButton as x } from "@scalar/components";
4
+ import O from "./DataTableCell.vue.js";
5
+ import q from "./DataTableInputSelect.vue.js";
6
+ const A = {
10
7
  key: 0,
8
+ class: "text-c-1 flex min-w-[94px] items-center pl-2 pr-0"
9
+ }, I = { class: "row-1 overflow-x-auto" }, E = ["id", "readOnly", "type", "value"], F = {
10
+ key: 2,
11
11
  class: "absolute centered-y right-0 pt-px pr-2 text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-focus:opacity-0"
12
12
  }, S = {
13
13
  key: 1,
@@ -28,30 +28,43 @@ const F = {
28
28
  max: {}
29
29
  },
30
30
  emits: ["update:modelValue", "inputFocus", "inputBlur", "selectVariable"],
31
- setup(p, { emit: c }) {
32
- const o = p, r = c, a = d(!0);
33
- d("");
34
- const f = d(!1), y = () => {
35
- f.value || r("inputBlur");
36
- }, v = w(
37
- () => o.type === "password" ? a.value ? "password" : "text" : o.type ?? "text"
31
+ setup(c, { emit: f }) {
32
+ const o = c, s = f, n = i(!0);
33
+ i("");
34
+ const v = i(!1), w = () => {
35
+ v.value || s("inputBlur");
36
+ }, m = k(
37
+ () => o.type === "password" ? n.value ? "password" : "text" : o.type ?? "text"
38
38
  );
39
- return (e, t) => (l(), i(A, {
39
+ return (e, t) => (l(), u(O, {
40
40
  class: b(["relative row", e.containerClass])
41
41
  }, {
42
- default: k(() => [
43
- e.$slots.default ? (l(), s("div", F, [
44
- m(e.$slots, "default", {}, void 0, !0)
45
- ])) : u("", !0),
42
+ default: g(() => [
43
+ e.$slots.default ? (l(), r("div", A, [
44
+ p(e.$slots, "default", {}, void 0, !0)
45
+ ])) : d("", !0),
46
46
  C("div", I, [
47
- o.enum && o.enum.length ? (l(), i(E, {
47
+ o.enum && o.enum.length ? (l(), u(q, {
48
48
  key: 0,
49
49
  canAddCustomValue: e.canAddCustomEnumValue,
50
50
  modelValue: o.modelValue,
51
51
  value: o.enum,
52
- "onUpdate:modelValue": t[0] || (t[0] = (n) => r("update:modelValue", n))
53
- }, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (l(), s(B, { key: 1 }, [
54
- g(x, $(e.$attrs, {
52
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => s("update:modelValue", a))
53
+ }, null, 8, ["canAddCustomValue", "modelValue", "value"])) : (l(), r(B, { key: 1 }, [
54
+ n.value && e.type === "password" ? (l(), r("input", y({ key: 0 }, e.$attrs, {
55
+ id: e.id,
56
+ autocomplete: "off",
57
+ class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer px-2 py-1.25 outline-none",
58
+ "data-1p-ignore": "",
59
+ readOnly: e.readOnly,
60
+ spellcheck: "false",
61
+ type: m.value,
62
+ value: e.modelValue,
63
+ onInput: t[1] || (t[1] = (a) => s(
64
+ "update:modelValue",
65
+ a.target.value ?? ""
66
+ ))
67
+ }), null, 16, E)) : (l(), u(h, y({ key: 1 }, e.$attrs, {
55
68
  id: e.id,
56
69
  class: "border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer outline-none",
57
70
  disableCloseBrackets: "",
@@ -62,25 +75,25 @@ const F = {
62
75
  readOnly: e.readOnly,
63
76
  required: e.required,
64
77
  spellcheck: "false",
65
- type: v.value,
66
- onBlur: y,
67
- onFocus: t[1] || (t[1] = (n) => r("inputFocus")),
68
- "onUpdate:modelValue": t[2] || (t[2] = (n) => r("update:modelValue", n))
69
- }), null, 16, ["id", "max", "min", "modelValue", "readOnly", "required", "type"]),
70
- e.required ? (l(), s("div", O, " Required ")) : u("", !0)
78
+ type: m.value,
79
+ onBlur: w,
80
+ onFocus: t[2] || (t[2] = (a) => s("inputFocus")),
81
+ "onUpdate:modelValue": t[3] || (t[3] = (a) => s("update:modelValue", a))
82
+ }), null, 16, ["id", "max", "min", "modelValue", "readOnly", "required", "type"])),
83
+ e.required ? (l(), r("div", F, " Required ")) : d("", !0)
71
84
  ], 64))
72
85
  ]),
73
- e.$slots.warning ? (l(), s("div", S, [
74
- m(e.$slots, "warning", {}, void 0, !0)
75
- ])) : u("", !0),
76
- m(e.$slots, "icon", {}, void 0, !0),
77
- e.type === "password" ? (l(), i(h(q), {
86
+ e.$slots.warning ? (l(), r("div", S, [
87
+ p(e.$slots, "warning", {}, void 0, !0)
88
+ ])) : d("", !0),
89
+ p(e.$slots, "icon", {}, void 0, !0),
90
+ e.type === "password" ? (l(), u($(x), {
78
91
  key: 2,
79
92
  class: "-ml-.5 mr-1 h-6 w-6 self-center p-1.5",
80
- icon: a.value ? "Show" : "Hide",
81
- label: a.value ? "Show Password" : "Hide Password",
82
- onClick: t[3] || (t[3] = (n) => a.value = !a.value)
83
- }, null, 8, ["icon", "label"])) : u("", !0)
93
+ icon: n.value ? "Show" : "Hide",
94
+ label: n.value ? "Show Password" : "Hide Password",
95
+ onClick: t[4] || (t[4] = (a) => n.value = !n.value)
96
+ }, null, 8, ["icon", "label"])) : d("", !0)
84
97
  ]),
85
98
  _: 3
86
99
  }, 8, ["class"]));
@@ -1,11 +1,10 @@
1
+ import type { HotKeyModifiers } from '@scalar/oas-utils/entities';
1
2
  declare const _default: import("vue").DefineComponent<{
2
3
  hotkey: string;
3
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
- hotkeyPressed: (key: string) => any;
5
- }, string, import("vue").PublicProps, Readonly<{
4
+ modifier?: HotKeyModifiers;
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
6
6
  hotkey: string;
7
- }> & Readonly<{
8
- onHotkeyPressed?: ((key: string) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ modifier?: HotKeyModifiers;
8
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
9
  export default _default;
11
10
  //# sourceMappingURL=ScalarHotkey.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarHotkey.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarHotkey.vue"],"names":[],"mappings":";YAoDU,MAAM;;;;YAAN,MAAM;;;;AAgFhB,wBAOG"}
1
+ {"version":3,"file":"ScalarHotkey.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarHotkey.vue"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;;YAOvD,MAAM;eACH,eAAe;;YADlB,MAAM;eACH,eAAe;;AA4D5B,wBAMG"}
@@ -1,25 +1,16 @@
1
- import { defineComponent as l, computed as t, openBlock as d, createElementBlock as y, mergeProps as k, toDisplayString as u } from "vue";
2
- import { isMacOS as r } from "@scalar/use-tooltip";
3
- import { useMagicKeys as f, whenever as v } from "@vueuse/core";
4
- import { keyMap as h } from "../hooks/useKeyMap.js";
5
- const P = /* @__PURE__ */ l({
1
+ import { defineComponent as a, computed as t, openBlock as d, createElementBlock as m, mergeProps as s, toDisplayString as c } from "vue";
2
+ import { isMacOS as p } from "@scalar/use-tooltip";
3
+ const y = /* @__PURE__ */ a({
6
4
  __name: "ScalarHotkey",
7
5
  props: {
8
- hotkey: {}
6
+ hotkey: {},
7
+ modifier: {}
9
8
  },
10
- emits: ["hotkeyPressed"],
11
- setup(n, { emit: a }) {
12
- const o = n, i = a, p = t(() => r() ? "⌘" : "⌃"), s = t(() => h().get(o.hotkey)), c = t(() => `${p.value} ${o.hotkey}`), m = f({
13
- passive: !1,
14
- onEventFired(e) {
15
- !r() && e.ctrlKey && e.key === s.value && (e.preventDefault(), e.stopPropagation());
16
- }
17
- });
18
- return v(m[`${r() ? "meta" : "control"}_${o.hotkey}`], () => {
19
- i("hotkeyPressed", s.value || "");
20
- }), (e, b) => (d(), y("div", k(e.$attrs, { class: "bg-b-1 border-b-3 inline-block overflow-hidden rounded border-1/2 text-xxs rounded-b px-1 font-medium uppercase" }), u(c.value), 17));
9
+ setup(i) {
10
+ const e = i, o = t(() => e.modifier || "meta"), n = t(() => `${o.value === "meta" ? p() ? "⌘" : "^" : o.value} ${e.hotkey}`);
11
+ return (r, l) => (d(), m("div", s(r.$attrs, { class: "border-b-3 inline-block overflow-hidden rounded border-1/2 text-xxs rounded-b px-1 font-medium uppercase" }), c(n.value), 17));
21
12
  }
22
13
  });
23
14
  export {
24
- P as default
15
+ y as default
25
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";AA+KA,wBAKG"}
1
+ {"version":3,"file":"SideNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SideNav/SideNav.vue"],"names":[],"mappings":";AA8KA,wBAKG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SideNav.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-b96e8d60"]]);
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-356a8069"]]);
5
5
  export {
6
- m as default
6
+ p as default
7
7
  };
@@ -1,27 +1,27 @@
1
- import { defineComponent as d, openBlock as n, createElementBlock as r, createElementVNode as e, Fragment as u, renderList as x, unref as o, createVNode as i, withCtx as m, createTextVNode as f, toDisplayString as v } from "vue";
1
+ import { defineComponent as d, openBlock as n, createElementBlock as i, createElementVNode as e, Fragment as u, renderList as x, unref as o, createVNode as r, withCtx as m, createTextVNode as f, toDisplayString as v } from "vue";
2
2
  import { ROUTES as y } from "../../constants.js";
3
3
  import { useRouter as N } from "vue-router";
4
4
  import h from "./SideHelp.vue.js";
5
5
  import _ from "./SideNavLink.vue.js";
6
6
  const S = {
7
7
  "aria-label": "App Navigation",
8
- class: "text-c-2 sm:w-13 flex sm:flex-col justify-center items-center px-2 py-2 scalar-sidenav relative drag-region bg-b-1 border-t-1/2",
8
+ class: "text-c-2 sm:w-13 flex sm:flex-col justify-center items-center px-2 py-2 scalar-sidenav relative drag-region bg-b-1",
9
9
  role: "navigation"
10
10
  }, b = { class: "flex sm:flex-col gap-1.5" }, k = { class: "mt-auto flex sm:flex-col gap-1.5 py-0.5" }, E = { class: "flex items-center no-drag-region" }, R = { class: "flex items-center no-drag-region" }, A = /* @__PURE__ */ d({
11
11
  __name: "SideNav",
12
12
  setup(V) {
13
13
  const { currentRoute: a } = N();
14
- return (w, l) => (n(), r("nav", S, [
14
+ return (w, l) => (n(), i("nav", S, [
15
15
  e("ul", b, [
16
- (n(!0), r(u, null, x(o(y).filter(
16
+ (n(!0), i(u, null, x(o(y).filter(
17
17
  (t) => t.name !== "settings"
18
18
  ), ({ icon: t, name: s, prettyName: g }, p) => {
19
19
  var c;
20
- return n(), r("li", {
20
+ return n(), i("li", {
21
21
  key: p,
22
22
  class: "no-drag-region"
23
23
  }, [
24
- i(_, {
24
+ r(_, {
25
25
  active: (c = o(a).name) == null ? void 0 : c.startsWith(s),
26
26
  icon: t,
27
27
  name: s,
@@ -37,7 +37,7 @@ const S = {
37
37
  ]),
38
38
  e("ul", k, [
39
39
  e("li", E, [
40
- i(_, {
40
+ r(_, {
41
41
  active: o(a).name === "settings",
42
42
  icon: "Settings",
43
43
  name: "settings",
@@ -50,7 +50,7 @@ const S = {
50
50
  }, 8, ["active"])
51
51
  ]),
52
52
  e("li", R, [
53
- i(h)
53
+ r(h)
54
54
  ])
55
55
  ])
56
56
  ]));
@@ -3,8 +3,12 @@ declare function __VLS_template(): {
3
3
  };
4
4
  declare const __VLS_component: import("vue").DefineComponent<{
5
5
  click: () => void;
6
+ hotkey?: string;
7
+ isApp?: boolean;
6
8
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
7
9
  click: () => void;
10
+ hotkey?: string;
11
+ isApp?: boolean;
8
12
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
13
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
14
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AA8CA,iBAAS,cAAc;mBAwFI,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;WAvHZ,MAAM,IAAI;;WAAV,MAAM,IAAI;iGA6HjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AAkDA,iBAAS,cAAc;mBA4EI,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;WA7GZ,MAAM,IAAI;aACR,MAAM;YACP,OAAO;;WAFR,MAAM,IAAI;aACR,MAAM;YACP,OAAO;iGAiHf,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,33 +1,35 @@
1
- import { defineComponent as c, openBlock as n, createBlock as a, unref as i, withCtx as l, renderSlot as s, createVNode as p } from "vue";
2
- import d from "../ScalarHotkey.vue.js";
3
- import { ScalarButton as u } from "@scalar/components";
4
- const b = /* @__PURE__ */ c({
1
+ import { defineComponent as a, openBlock as t, createBlock as o, unref as i, withCtx as c, renderSlot as p, createCommentVNode as s } from "vue";
2
+ import u from "../ScalarHotkey.vue.js";
3
+ import { ScalarButton as d } from "@scalar/components";
4
+ const f = /* @__PURE__ */ a({
5
5
  __name: "SidebarButton",
6
6
  props: {
7
- click: { type: Function }
7
+ click: { type: Function },
8
+ hotkey: {},
9
+ isApp: { type: Boolean }
8
10
  },
9
- setup(e) {
10
- const o = e, t = () => {
11
- o.click();
11
+ setup(r) {
12
+ const n = r, l = () => {
13
+ n.click();
12
14
  };
13
- return (r, m) => (n(), a(i(u), {
15
+ return (e, m) => (t(), o(i(d), {
14
16
  class: "bg-b-1 text-c-1 hover:bg-b-2 group relative w-auto md:w-full border-1/2 px-2 py-1 md:p-1.5 h-auto",
15
17
  icon: "Plus",
16
18
  variant: "outlined",
17
- onClick: t
19
+ onClick: l
18
20
  }, {
19
- default: l(() => [
20
- s(r.$slots, "title"),
21
- p(d, {
21
+ default: c(() => [
22
+ p(e.$slots, "title"),
23
+ e.hotkey && !e.isApp ? (t(), o(u, {
24
+ key: 0,
22
25
  class: "hidden md:block absolute right-2 group-hover:opacity-80 text-c-2 add-item-hotkey",
23
- hotkey: "K",
24
- onHotkeyPressed: t
25
- })
26
+ hotkey: e.hotkey
27
+ }, null, 8, ["hotkey"])) : s("", !0)
26
28
  ]),
27
29
  _: 3
28
30
  }));
29
31
  }
30
32
  });
31
33
  export {
32
- b as default
34
+ f as default
33
35
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";gBA+Qc;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;;gBAApC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;;AA2dlD,wBAMG"}
1
+ {"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";gBA+Qc;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;;gBAApC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;;AA4dlD,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./TopNav.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-657b36ed"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-fc362fa8"]]);
5
5
  export {
6
- m as default
6
+ r as default
7
7
  };
@@ -6,40 +6,40 @@ import { ScalarContextMenu as W, ScalarIcon as d, ScalarDropdown as G, ScalarDro
6
6
  import { capitalize as J } from "@scalar/oas-utils/helpers";
7
7
  import P from "./TopNavItem.vue.js";
8
8
  import { useWorkspace as Q } from "../../store/store.js";
9
- const X = { class: "flex h-10 t-app__top-nav" }, Y = { class: "flex h-10 flex-1 items-center gap-1.5 text-sm font-medium pr-1 relative overflow-hidden" }, Z = {
9
+ const X = { class: "border-b-1/2 flex h-10 t-app__top-nav" }, Y = { class: "flex h-10 flex-1 items-center gap-1.5 text-sm font-medium pr-1 relative overflow-hidden" }, Z = {
10
10
  key: 0,
11
11
  class: "h-full w-full overflow-hidden"
12
- }, re = /* @__PURE__ */ z({
12
+ }, ie = /* @__PURE__ */ z({
13
13
  __name: "TopNav",
14
14
  props: {
15
15
  openNewTab: {}
16
16
  },
17
17
  setup(I) {
18
- const L = I, { activeRequest: S, router: i, events: g } = Q(), { copyToClipboard: U } = H(), t = A([{ label: "", path: "", icon: "Add" }]), a = M(0), T = j(() => a.value);
18
+ const L = I, { activeRequest: S, router: r, events: g } = Q(), { copyToClipboard: U } = H(), t = A([{ label: "", path: "", icon: "Add" }]), a = M(0), T = j(() => a.value);
19
19
  function k() {
20
20
  var o;
21
- const e = F.find((c) => i.currentRoute.value.name == c.name);
21
+ const e = F.find((c) => r.currentRoute.value.name == c.name);
22
22
  e && ((e == null ? void 0 : e.name) === "request" ? t[a.value] = {
23
23
  label: ((o = S.value) == null ? void 0 : o.summary) || "",
24
- path: i.currentRoute.value.path,
24
+ path: r.currentRoute.value.path,
25
25
  icon: e.icon
26
26
  } : t[a.value] = {
27
27
  label: J(e == null ? void 0 : e.name) || "",
28
- path: i.currentRoute.value.path,
28
+ path: r.currentRoute.value.path,
29
29
  icon: e.icon
30
30
  });
31
31
  }
32
32
  function v() {
33
- i.push(t[a.value].path);
33
+ r.push(t[a.value].path);
34
34
  }
35
35
  function p() {
36
36
  t.push({ label: "", path: "", icon: "Add" }), a.value = t.length - 1, k();
37
37
  }
38
- function r(e) {
38
+ function i(e) {
39
39
  a.value = e, v();
40
40
  }
41
41
  w(
42
- () => i.currentRoute.value.path,
42
+ () => r.currentRoute.value.path,
43
43
  () => {
44
44
  k();
45
45
  },
@@ -58,11 +58,11 @@ const X = { class: "flex h-10 t-app__top-nav" }, Y = { class: "flex h-10 flex-1
58
58
  t.splice(0, e), t.splice(1), a.value = 0, v();
59
59
  }, C = (e) => {
60
60
  if (e) {
61
- if (e.addTopNav && p(), e.closeTopNav && N(a.value), e.navigateTopNavLeft && r(Math.max(a.value - 1, 0)), e.navigateTopNavRight && r(Math.min(a.value + 1, t.length - 1)), e.jumpToTab) {
61
+ if (e.addTopNav && p(), e.closeTopNav && N(a.value), e.navigateTopNavLeft && i(Math.max(a.value - 1, 0)), e.navigateTopNavRight && i(Math.min(a.value + 1, t.length - 1)), e.jumpToTab) {
62
62
  const o = Number(e.jumpToTab.key) - 1;
63
- o >= 0 && o < t.length && r(o);
63
+ o >= 0 && o < t.length && i(o);
64
64
  }
65
- e.jumpToLastTab && r(t.length - 1);
65
+ e.jumpToLastTab && i(t.length - 1);
66
66
  }
67
67
  }, $ = (e) => {
68
68
  t.push({
@@ -140,7 +140,7 @@ const X = { class: "flex h-10 t-app__top-nav" }, Y = { class: "flex h-10 flex-1
140
140
  hotkey: (s + 1).toString(),
141
141
  icon: c.icon,
142
142
  label: c.label,
143
- onClick: (h) => r(s),
143
+ onClick: (h) => i(s),
144
144
  onClose: (h) => N(s),
145
145
  onCloseOtherTabs: (h) => R(s),
146
146
  onCopyUrl: (h) => y(s),
@@ -162,5 +162,5 @@ const X = { class: "flex h-10 t-app__top-nav" }, Y = { class: "flex h-10 flex-1
162
162
  }
163
163
  });
164
164
  export {
165
- re as default
165
+ ie as default
166
166
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AA8BA,iBAAS,cAAc;mBA8CI,GAAG;qBACD,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AA8BA,iBAAS,cAAc;mBA+CI,GAAG;qBACD,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe,+QAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,20 +1,20 @@
1
- import { defineComponent as n, openBlock as r, createElementBlock as s, unref as t, createElementVNode as i, renderSlot as o } from "vue";
1
+ import { defineComponent as n, openBlock as r, createElementBlock as s, unref as o, createElementVNode as i, renderSlot as t } from "vue";
2
2
  import { nanoid as d } from "nanoid";
3
3
  const a = ["aria-labelledby"], c = ["id"], u = /* @__PURE__ */ n({
4
4
  __name: "ViewLayoutSection",
5
5
  setup(m) {
6
6
  const e = d();
7
7
  return (l, p) => (r(), s("section", {
8
- "aria-labelledby": t(e),
8
+ "aria-labelledby": o(e),
9
9
  class: "flex h-full xl:min-w-0 xl:flex-1 flex-col xl:custom-scroll bg-b-1"
10
10
  }, [
11
11
  i("div", {
12
- id: t(e),
13
- class: "min-h-11 xl:min-h-header flex items-center border-b-1/2 px-3.5 py-2 md:px-4 md:py-2.5 xl:px-6 xl:pr-5 text-sm font-medium sticky top-0 bg-b-1 xl:rounded-none"
12
+ id: o(e),
13
+ class: "min-h-11 xl:min-h-header flex items-center border-b-1/2 px-3.5 py-1.5 md:px-4 md:py-1.5 xl:px-6 xl:pr-5 text-sm font-medium sticky top-0 bg-b-1 xl:rounded-none group"
14
14
  }, [
15
- o(l.$slots, "title")
15
+ t(l.$slots, "title")
16
16
  ], 8, c),
17
- o(l.$slots, "default")
17
+ t(l.$slots, "default")
18
18
  ], 8, a));
19
19
  }
20
20
  });
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from './layouts/Modal/index.js';
2
2
  export * from './layouts/App/index.js';
3
3
  export { useWorkspace } from './store/store.js';
4
- export { createModalRouter, createWebHashRouter, router } from './router.js';
4
+ export { createModalRouter, createWebHashRouter, createWebHistoryRouter, } from './router.js';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAE7B,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,UAAU,CAAA"}