@scalar/api-client 2.0.22 → 2.0.25

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 (182) hide show
  1. package/CHANGELOG.md +48 -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/AddressBar/AddressBar.vue2.js +80 -84
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  6. package/dist/components/AddressBar/AddressBarHistory.vue.js +11 -10
  7. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  8. package/dist/components/CodeInput/CodeInput.vue.d.ts +10 -0
  9. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  10. package/dist/components/CodeInput/CodeInput.vue.js +3 -2
  11. package/dist/components/CodeInput/CodeInput.vue2.js +42 -37
  12. package/dist/components/CodeInput/codeDropdownWidget.d.ts +24 -0
  13. package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +1 -0
  14. package/dist/components/CodeInput/codeDropdownWidget.js +110 -0
  15. package/dist/components/CodeInput/codeVariableWidget.d.ts +8 -0
  16. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -0
  17. package/dist/components/CodeInput/codeVariableWidget.js +124 -0
  18. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -15
  19. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  20. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +51 -54
  21. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +4 -2
  22. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  23. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +106 -92
  24. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts +2 -15
  25. package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +1 -1
  26. package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +68 -74
  27. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -15
  28. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  29. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -62
  30. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -15
  31. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  32. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +106 -99
  33. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +7 -0
  34. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -0
  35. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +57 -0
  36. package/dist/components/CommandPalette/CommandPaletteWorkspace.vue2.js +4 -0
  37. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +50 -0
  38. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -0
  39. package/dist/components/CommandPalette/TheCommandPalette.vue.js +9 -0
  40. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +198 -0
  41. package/dist/components/CommandPalette/index.d.ts +2 -0
  42. package/dist/components/CommandPalette/index.d.ts.map +1 -0
  43. package/dist/components/CommandPalette/index.js +4 -0
  44. package/dist/components/ContextBar.vue.js +4 -4
  45. package/dist/components/DarkModeToggle/DarkModeIconToggle.vue.js +7 -6
  46. package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
  47. package/dist/components/DataTable/DataTableCheckbox.vue.js +3 -2
  48. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  49. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  50. package/dist/components/DataTable/DataTableInput.vue.js +3 -3
  51. package/dist/components/DataTable/DataTableInput.vue2.js +36 -49
  52. package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
  53. package/dist/components/DataTable/DataTableInputSelect.vue.js +15 -14
  54. package/dist/components/Search/SearchButton.vue.d.ts.map +1 -1
  55. package/dist/components/Search/SearchButton.vue.js +7 -6
  56. package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
  57. package/dist/components/SideNav/SideNav.vue.js +26 -23
  58. package/dist/components/SideNav/SideNavLink.vue.d.ts +3 -2
  59. package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
  60. package/dist/components/SideNav/SideNavLink.vue.js +18 -16
  61. package/dist/components/Sidebar/Sidebar.vue.d.ts +15 -2
  62. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  63. package/dist/components/Sidebar/Sidebar.vue.js +14 -12
  64. package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
  65. package/dist/components/Sidebar/SidebarButton.vue.js +5 -5
  66. package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
  67. package/dist/components/Sidebar/SidebarListElementActions.vue.js +2 -2
  68. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  69. package/dist/components/TopNav/TopNav.vue.js +1 -1
  70. package/dist/components/TopNav/TopNav.vue2.js +31 -29
  71. package/dist/components/TopNav/TopNavItem.vue.d.ts +7 -3
  72. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  73. package/dist/components/TopNav/TopNavItem.vue.js +2 -2
  74. package/dist/components/TopNav/TopNavItem.vue2.js +18 -18
  75. package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
  76. package/dist/components/ViewLayout/ViewLayout.vue.js +1 -1
  77. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  78. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +2 -1
  79. package/dist/constants.d.ts +13 -7
  80. package/dist/constants.d.ts.map +1 -1
  81. package/dist/constants.js +4 -4
  82. package/dist/index.d.ts +2 -4
  83. package/dist/index.d.ts.map +1 -1
  84. package/dist/index.js +11 -16
  85. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -0
  86. package/dist/layouts/App/ApiClientApp.vue.js +72 -0
  87. package/dist/{App → layouts/App}/createApiClientApp.d.ts +1 -1
  88. package/dist/layouts/App/createApiClientApp.d.ts.map +1 -0
  89. package/dist/{App → layouts/App}/createApiClientApp.js +2 -2
  90. package/dist/layouts/App/index.d.ts.map +1 -0
  91. package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.d.ts +1 -0
  92. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -0
  93. package/dist/{Modal → layouts/Modal}/ApiClientModal.vue.js +2 -2
  94. package/dist/layouts/Modal/api-client-modal.d.ts.map +1 -0
  95. package/dist/{Modal → layouts/Modal}/api-client-modal.js +7 -7
  96. package/dist/layouts/Modal/index.d.ts.map +1 -0
  97. package/dist/libs/eventBusses/command-palette.d.ts +14 -0
  98. package/dist/libs/eventBusses/command-palette.d.ts.map +1 -0
  99. package/dist/libs/eventBusses/command-palette.js +5 -0
  100. package/dist/libs/local-storage.d.ts +1 -1
  101. package/dist/libs/local-storage.d.ts.map +1 -1
  102. package/dist/libs/local-storage.js +19 -19
  103. package/dist/router.d.ts +18 -6
  104. package/dist/router.d.ts.map +1 -1
  105. package/dist/router.js +107 -71
  106. package/dist/store/topNav.d.ts +94 -82
  107. package/dist/store/topNav.d.ts.map +1 -1
  108. package/dist/store/topNav.js +21 -20
  109. package/dist/store/workspace.d.ts +312 -82
  110. package/dist/store/workspace.d.ts.map +1 -1
  111. package/dist/store/workspace.js +299 -224
  112. package/dist/style.css +1 -1
  113. package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
  114. package/dist/views/Components/Schemas/Schemas.vue.d.ts.map +1 -1
  115. package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
  116. package/dist/views/Cookies/Cookies.vue2.js +9 -12
  117. package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
  118. package/dist/views/Environment/Environment.vue2.js +22 -25
  119. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  120. package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +38 -47
  121. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  122. package/dist/views/Request/Request.vue.js +1 -1
  123. package/dist/views/Request/Request.vue2.js +125 -108
  124. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
  125. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  126. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  127. package/dist/views/Request/RequestSection/RequestBody.vue.js +5 -4
  128. package/dist/views/Request/RequestSection/RequestSection.vue.js +3 -2
  129. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
  130. package/dist/views/Request/RequestSection/RequestTable.vue.js +4 -4
  131. package/dist/views/Request/RequestSection/RequestTable.vue2.js +22 -21
  132. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  133. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +6 -5
  134. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  135. package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
  136. package/dist/views/Request/RequestSidebarItem.vue2.js +84 -79
  137. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  138. package/dist/views/Request/RequestSidebarItemMenu.vue.js +58 -38
  139. package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
  140. package/dist/views/Request/ResponseSection/ResponseSection.vue.js +3 -2
  141. package/dist/views/Request/components/OAuth2.vue.d.ts.map +1 -1
  142. package/dist/views/Request/components/OAuth2.vue.js +2 -0
  143. package/dist/{App.vue.d.ts → views/Request/components/WorkspaceDropdown.vue.d.ts} +1 -2
  144. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -0
  145. package/dist/views/Request/components/WorkspaceDropdown.vue.js +80 -0
  146. package/dist/views/Request/components/WorkspaceDropdown.vue2.js +4 -0
  147. package/dist/views/Request/components/index.d.ts +1 -0
  148. package/dist/views/Request/components/index.d.ts.map +1 -1
  149. package/dist/views/Request/components/index.js +4 -2
  150. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  151. package/dist/views/Servers/Servers.vue2.js +12 -15
  152. package/package.json +19 -15
  153. package/dist/App/ApiClientApp.vue.d.ts.map +0 -1
  154. package/dist/App/ApiClientApp.vue.js +0 -56
  155. package/dist/App/createApiClientApp.d.ts.map +0 -1
  156. package/dist/App/index.d.ts.map +0 -1
  157. package/dist/App.vue.d.ts.map +0 -1
  158. package/dist/App.vue.js +0 -77
  159. package/dist/App.vue3.js +0 -5
  160. package/dist/Modal/ApiClientModal.vue.d.ts.map +0 -1
  161. package/dist/Modal/api-client-modal.d.ts.map +0 -1
  162. package/dist/Modal/index.d.ts.map +0 -1
  163. package/dist/components/AddressBar/AddressBarServer.vue.js +0 -106
  164. package/dist/components/AddressBar/AddressBarServer.vue2.js +0 -4
  165. package/dist/components/CommandPalette/CommandPalette.vue.d.ts +0 -17
  166. package/dist/components/CommandPalette/CommandPalette.vue.d.ts.map +0 -1
  167. package/dist/components/CommandPalette/CommandPalette.vue.js +0 -7
  168. package/dist/components/CommandPalette/CommandPalette.vue2.js +0 -184
  169. package/dist/main.d.ts +0 -2
  170. package/dist/main.d.ts.map +0 -1
  171. package/dist/views/Collection/Collection.vue.js +0 -4
  172. package/dist/views/Collection/Collection.vue2.js +0 -136
  173. package/dist/views/Components/Schemas/Schemas.vue.js +0 -4
  174. package/dist/views/Components/Schemas/Schemas.vue2.js +0 -20
  175. /package/dist/{App → layouts/App}/ApiClientApp.vue.d.ts +0 -0
  176. /package/dist/{App → layouts/App}/ApiClientApp.vue3.js +0 -0
  177. /package/dist/{App → layouts/App}/index.d.ts +0 -0
  178. /package/dist/{App → layouts/App}/index.js +0 -0
  179. /package/dist/{Modal → layouts/Modal}/ApiClientModal.vue2.js +0 -0
  180. /package/dist/{Modal → layouts/Modal}/api-client-modal.d.ts +0 -0
  181. /package/dist/{Modal → layouts/Modal}/index.d.ts +0 -0
  182. /package/dist/{Modal → layouts/Modal}/index.js +0 -0
@@ -33,8 +33,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
33
33
  onInputFocus?: (() => any) | undefined;
34
34
  onInputBlur?: (() => any) | undefined;
35
35
  }, {
36
- readOnly: boolean;
37
36
  required: boolean;
37
+ readOnly: boolean;
38
38
  }, {}>;
39
39
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
40
40
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA6EA,iBAAS,cAAc;qBA6FO,GAAG;kBACN,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;QAzIb,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;QALd,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;cAAP,OAAO;cAFP,OAAO;MA6IpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,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"}
1
+ {"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA6EA,iBAAS,cAAc;qBA6FO,GAAG;kBACN,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;QAzIb,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;QALd,MAAM;WACH,MAAM;qBACI,MAAM;eACZ,OAAO;gBACN,MAAM,GAAG,MAAM;eAChB,OAAO;;;;;;;;;;cAFP,OAAO;cAEP,OAAO;MA2IpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B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AAS,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"}
1
+ {"version":3,"file":"RequestBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestBody.vue"],"names":[],"mappings":";WAwcS,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;WAFT,MAAM;WACN,MAAM;eACF,GAAG,EAAE;;AAmxBlB,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"}
@@ -215,9 +215,9 @@ const ae = {
215
215
  return [
216
216
  y("span", null, k((o = g.value) == null ? void 0 : o.label), 1),
217
217
  d(i(q), {
218
- class: "stroke-[1]",
219
218
  icon: "ChevronDown",
220
- size: "xs"
219
+ size: "xs",
220
+ thickness: "2.5"
221
221
  })
222
222
  ];
223
223
  }),
@@ -260,9 +260,10 @@ const ae = {
260
260
  default: u(() => [
261
261
  de,
262
262
  d(i(q), {
263
- class: "ml-1 stroke-[2.5]",
263
+ class: "ml-1",
264
264
  icon: "UploadSimple",
265
- size: "xs"
265
+ size: "xs",
266
+ thickness: "2.5"
266
267
  })
267
268
  ]),
268
269
  _: 1
@@ -31,9 +31,10 @@ const P = { class: "flex-1" }, T = { class: "text-c-3 pl-1" }, w = { class: "req
31
31
  var s;
32
32
  return [
33
33
  l(n(O), {
34
- class: "text-c-3 mr-2 stroke-[2]",
34
+ class: "text-c-3 mr-2",
35
35
  icon: "ExternalLink",
36
- size: "sm"
36
+ size: "sm",
37
+ thickness: "2.5"
37
38
  }),
38
39
  r("div", P, [
39
40
  q(" Request "),
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTable.vue"],"names":[],"mappings":"AA+LA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;YAQ5E,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;;;;YAHlB,uBAAuB,EAAE;IACjC,8BAA8B;sBACZ,OAAO;uBACN,OAAO;;;;;;;;;;;;;;qBADR,OAAO;sBACN,OAAO;;AA+b9B,wBAOG;AAOH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,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CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,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"}
@@ -1,7 +1,7 @@
1
- import e from "./RequestTable.vue2.js";
1
+ import o from "./RequestTable.vue2.js";
2
2
  /* empty css */
3
- import o from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ o(e, [["__scopeId", "data-v-fe74a9ea"]]);
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-92212893"]]);
5
5
  export {
6
- f as default
6
+ m as default
7
7
  };
@@ -1,12 +1,12 @@
1
- import { defineComponent as F, openBlock as u, createBlock as d, unref as m, withCtx as r, createElementBlock as y, Fragment as w, renderList as I, createCommentVNode as c, createVNode as i, createSlots as C, createTextVNode as U, toDisplayString as V, createElementVNode as p, computed as x, pushScopeId as E, popScopeId as T } from "vue";
1
+ import { defineComponent as F, openBlock as u, createBlock as r, unref as m, withCtx as d, createElementBlock as y, Fragment as w, renderList as I, createCommentVNode as c, createVNode as i, createSlots as C, createTextVNode as U, toDisplayString as V, createElementVNode as p, computed as x, pushScopeId as E, popScopeId as T } from "vue";
2
2
  import k from "../../../components/CodeInput/CodeInput.vue.js";
3
- import q from "../../../components/DataTable/DataTable.vue.js";
3
+ import N from "../../../components/DataTable/DataTable.vue.js";
4
4
  import f from "../../../components/DataTable/DataTableCell.vue.js";
5
- import N from "../../../components/DataTable/DataTableCheckbox.vue.js";
5
+ import q from "../../../components/DataTable/DataTableCheckbox.vue.js";
6
6
  import D from "../../../components/DataTable/DataTableRow.vue.js";
7
7
  import { ScalarButton as H, ScalarIcon as z } from "@scalar/components";
8
8
  import A from "./RequestTableTooltip.vue.js";
9
- const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" }, j = ["onClick"], K = /* @__PURE__ */ M(() => /* @__PURE__ */ p("span", null, "File", -1)), Z = /* @__PURE__ */ F({
9
+ const M = (s) => (E("data-v-92212893"), s = s(), T(), s), O = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" }, j = ["onClick"], K = /* @__PURE__ */ M(() => /* @__PURE__ */ p("span", null, "File", -1)), Z = /* @__PURE__ */ F({
10
10
  __name: "RequestTable",
11
11
  props: {
12
12
  items: {},
@@ -29,20 +29,20 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
29
29
  }
30
30
  return !1;
31
31
  }), R = (e) => Array.isArray(e.default) && e.default.length === 1 ? e.default[0] : e.default;
32
- return (e, n) => (u(), d(q, {
32
+ return (e, n) => (u(), r(N, {
33
33
  class: "flex-1",
34
34
  columns: m(B)
35
35
  }, {
36
- default: r(() => [
37
- (u(!0), y(w, null, I(e.items, (l, a) => (u(), d(D, { key: a }, {
38
- default: r(() => [
39
- e.isEnabledHidden ? c("", !0) : (u(), d(N, {
36
+ default: d(() => [
37
+ (u(!0), y(w, null, I(e.items, (l, a) => (u(), r(D, { key: a }, {
38
+ default: d(() => [
39
+ e.isEnabledHidden ? c("", !0) : (u(), r(q, {
40
40
  key: 0,
41
- modelValue: !!l.required,
41
+ modelValue: l.enabled,
42
42
  "onUpdate:modelValue": (o) => t("toggleRow", a, o)
43
43
  }, null, 8, ["modelValue", "onUpdate:modelValue"])),
44
44
  i(f, null, {
45
- default: r(() => [
45
+ default: d(() => [
46
46
  i(k, {
47
47
  disableCloseBrackets: "",
48
48
  disableEnter: "",
@@ -60,7 +60,7 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
60
60
  _: 2
61
61
  }, 1024),
62
62
  i(f, null, {
63
- default: r(() => [
63
+ default: d(() => [
64
64
  i(k, {
65
65
  disableCloseBrackets: "",
66
66
  disableEnter: "",
@@ -78,8 +78,8 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
78
78
  onSelectVariable: (o) => b(a, "value", o),
79
79
  "onUpdate:modelValue": (o) => t("updateRow", a, "value", o)
80
80
  }, C({
81
- icon: r(() => [
82
- $(l) ? (u(), d(A, {
81
+ icon: d(() => [
82
+ $(l) ? (u(), r(A, {
83
83
  key: 0,
84
84
  item: { ...l, default: R(l) }
85
85
  }, null, 8, ["item"])) : c("", !0)
@@ -88,7 +88,7 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
88
88
  }, [
89
89
  v(l).value ? {
90
90
  name: "warning",
91
- fn: r(() => [
91
+ fn: d(() => [
92
92
  U(V(v(l).value), 1)
93
93
  ]),
94
94
  key: "0"
@@ -97,11 +97,11 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
97
97
  ]),
98
98
  _: 2
99
99
  }, 1024),
100
- e.showUploadButton ? (u(), d(f, {
100
+ e.showUploadButton ? (u(), r(f, {
101
101
  key: 1,
102
102
  class: "group/upload p-1 overflow-hidden relative text-ellipsis whitespace-nowrap"
103
103
  }, {
104
- default: r(() => {
104
+ default: d(() => {
105
105
  var o;
106
106
  return [
107
107
  l.file ? (u(), y(w, { key: 0 }, [
@@ -113,19 +113,20 @@ const M = (s) => (E("data-v-fe74a9ea"), s = s(), T(), s), O = { class: "text-c-2
113
113
  type: "button",
114
114
  onClick: (S) => t("removeFile", a)
115
115
  }, " Delete ", 8, j)
116
- ], 64)) : (u(), d(m(H), {
116
+ ], 64)) : (u(), r(m(H), {
117
117
  key: 1,
118
118
  class: "bg-b-2 hover:bg-b-3 border-0 py-px text-c-2",
119
119
  size: "sm",
120
120
  variant: "outlined",
121
121
  onClick: (S) => _(a)
122
122
  }, {
123
- default: r(() => [
123
+ default: d(() => [
124
124
  K,
125
125
  i(m(z), {
126
- class: "ml-1 stroke-[2.5]",
126
+ class: "ml-1",
127
127
  icon: "UploadSimple",
128
- size: "xs"
128
+ size: "xs",
129
+ thickness: "2.5"
129
130
  })
130
131
  ]),
131
132
  _: 2
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;UAI1D,uBAAuB;;UAAvB,uBAAuB;;AAuJrD,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"}
1
+ {"version":3,"file":"RequestTableTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestTableTooltip.vue"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAA;;UAI1D,uBAAuB;;UAAvB,uBAAuB;;AAuJrD,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"}
@@ -6,10 +6,10 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
6
6
  }, g = {
7
7
  key: 2,
8
8
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
9
- }, x = {
9
+ }, k = {
10
10
  key: 3,
11
11
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
12
- }, k = {
12
+ }, x = {
13
13
  key: 4,
14
14
  class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
15
15
  }, _ = {
@@ -33,7 +33,8 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
33
33
  l(i(f), {
34
34
  class: "ml-1 text-c-3 group-hover/info:text-c-1",
35
35
  icon: "Info",
36
- size: "sm"
36
+ size: "sm",
37
+ thickness: "1.5"
37
38
  })
38
39
  ]),
39
40
  content: r(() => [
@@ -42,8 +43,8 @@ const d = { class: "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-l
42
43
  e.item.type ? (t(), o("span", h, s(e.item.type), 1)) : n("", !0),
43
44
  e.item.format ? (t(), o("span", b, s(e.item.format), 1)) : n("", !0),
44
45
  e.item.minimum ? (t(), o("span", g, "min: " + s(e.item.minimum), 1)) : n("", !0),
45
- e.item.maximum ? (t(), o("span", x, "max: " + s(e.item.maximum), 1)) : n("", !0),
46
- e.item.default ? (t(), o("span", k, "default: " + s(e.item.default), 1)) : n("", !0)
46
+ e.item.maximum ? (t(), o("span", k, "max: " + s(e.item.maximum), 1)) : n("", !0),
47
+ e.item.default ? (t(), o("span", x, "default: " + s(e.item.default), 1)) : n("", !0)
47
48
  ]),
48
49
  e.item.description ? (t(), o("span", _, s(e.item.description), 1)) : n("", !0)
49
50
  ])
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSidebarItem.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItem.vue"],"names":[],"mappings":"AA0OA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAA;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAA;AACzE,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACf,MAAM,2CAA2C,CAAA;AA8GlD,iBAAS,cAAc;gBA3ET,IAAI;;gBAAJ,IAAI;EA8VjB;AACD,QAAA,MAAM,eAAe;IAzXjB;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,OAAO;IACrB,qEAAqE;gBACzD,MAAM,EAAE;UACd,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,cAAc;;;;;;;;IAdpD;;;;OAIG;kBACW,OAAO;IACrB;;;;OAIG;kBACW,OAAO;IACrB,qEAAqE;gBAC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CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,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"}
@@ -2,7 +2,7 @@ import t from "./RequestSidebarItem.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import o from "../../_virtual/_plugin-vue_export-helper.js";
5
- const a = /* @__PURE__ */ o(t, [["__scopeId", "data-v-13538653"]]);
5
+ const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-18928cac"]]);
6
6
  export {
7
- a as default
7
+ p as default
8
8
  };
@@ -1,12 +1,13 @@
1
- import { defineComponent as O, useCssVars as V, computed as l, resolveComponent as j, openBlock as n, createElementBlock as d, normalizeClass as p, unref as r, createVNode as m, withCtx as U, createBlock as f, createElementVNode as o, toDisplayString as y, createCommentVNode as b, createTextVNode as q, renderSlot as F, withDirectives as L, Fragment as T, renderList as K, vShow as W } from "vue";
2
- import { useWorkspace as A } from "../../store/workspace.js";
3
- import { ScalarIcon as G } from "@scalar/components";
4
- import { Draggable as H } from "@scalar/draggable";
5
- import { useRouter as J, RouterLink as M } from "vue-router";
6
- import P from "./RequestSidebarItemMenu.vue.js";
7
- import Q from "../../components/HttpMethod/HttpMethod.vue.js";
8
- import { useSidebar as X } from "../../hooks/useSidebar.js";
9
- const Y = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" }, Z = { class: "relative" }, _ = { class: "flex" }, ee = { class: "z-10 flex h-fit items-center justify-center max-w-[14px]" }, te = { class: "z-10 font-medium" }, re = { key: 2 }, w = "hover:bg-sidebar-active-b indent-padding-left", ue = /* @__PURE__ */ O({
1
+ import { defineComponent as N, useCssVars as j, computed as o, resolveComponent as F, openBlock as a, createElementBlock as d, normalizeClass as u, unref as i, createVNode as m, withCtx as D, createBlock as p, createElementVNode as n, toDisplayString as y, createCommentVNode as f, createTextVNode as k, renderSlot as L, withDirectives as P, Fragment as T, renderList as W, vShow as A } from "vue";
2
+ import { activeRouterParams as _, PathId as G } from "../../router.js";
3
+ import { useWorkspace as H } from "../../store/workspace.js";
4
+ import { ScalarIcon as J } from "@scalar/components";
5
+ import { Draggable as K } from "@scalar/draggable";
6
+ import { RouterLink as M } from "vue-router";
7
+ import Q from "./RequestSidebarItemMenu.vue.js";
8
+ import X from "../../components/HttpMethod/HttpMethod.vue.js";
9
+ import { useSidebar as Y } from "../../hooks/useSidebar.js";
10
+ const Z = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" }, ee = { class: "relative" }, te = { class: "flex" }, ie = { class: "z-10 flex h-fit items-center justify-center max-w-[14px]" }, se = { class: "z-10 font-medium" }, re = { key: 2 }, q = "hover:bg-sidebar-active-b indent-padding-left", be = /* @__PURE__ */ N({
10
11
  __name: "RequestSidebarItem",
11
12
  props: {
12
13
  isDraggable: { type: Boolean, default: !1 },
@@ -15,30 +16,37 @@ const Y = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" },
15
16
  item: {}
16
17
  },
17
18
  emits: ["onDragEnd"],
18
- setup(k) {
19
- V((e) => ({
20
- "3ec1394c": E.value,
21
- "4a0da8f2": R.value
19
+ setup($) {
20
+ j((e) => ({
21
+ "28f0b1bd": S.value,
22
+ "9782e23e": R.value
22
23
  }));
23
- const i = k, { activeRequest: g, folders: $, isReadOnly: a, requests: c, requestExamples: C } = A(), { collapsedSidebarFolders: h, toggleSidebarFolder: S } = X(), x = J(), v = l(() => "childUids" in i.item), E = l(() => i.parentUids.length ? a.value ? `${(i.parentUids.length - 1) * 12}px` : `${i.parentUids.length * 12}px` : "12px"), R = l(() => i.parentUids.length ? a.value ? `${(i.parentUids.length - 1) * 12}px` : `${i.parentUids.length * 12}px` : "0px"), z = (e, t) => {
24
- e.metaKey ? window.open(`/request/${t}`, "_blank") : x.push(`/request/${t}`);
25
- }, D = (e) => {
26
- var t;
27
- return "spec" in e ? (t = e.spec.info) == null ? void 0 : t.title : "summary" in e ? e.summary || e.path : "name" in e ? e.name : "";
28
- }, I = l(() => ("requestUid" in i.item ? c[i.item.requestUid] : i.item).method), B = l(
24
+ const t = $, {
25
+ activeRequest: b,
26
+ activeWorkspace: c,
27
+ folders: w,
28
+ isReadOnly: l,
29
+ requests: g,
30
+ requestExamples: x
31
+ } = H(), { collapsedSidebarFolders: h, toggleSidebarFolder: C } = Y(), v = o(() => "childUids" in t.item), S = o(() => t.parentUids.length ? l.value ? `${(t.parentUids.length - 1) * 12}px` : `${t.parentUids.length * 12}px` : "12px"), R = o(() => t.parentUids.length ? l.value ? `${(t.parentUids.length - 1) * 12}px` : `${t.parentUids.length * 12}px` : "0px"), U = (e) => {
32
+ var s;
33
+ return "spec" in e ? (s = e.spec.info) == null ? void 0 : s.title : "summary" in e ? e.summary || e.path : "name" in e ? e.name : "";
34
+ }, E = o(() => ("requestUid" in t.item ? g[t.item.requestUid] : t.item).method), I = o(
29
35
  () => {
30
36
  var e;
31
- return h[i.item.uid] || ((e = g.value) == null ? void 0 : e.uid) === i.item.uid && i.item.childUids.length > 1;
37
+ return h[t.item.uid] || ((e = b.value) == null ? void 0 : e.uid) === t.item.uid && t.item.childUids.length > 1;
32
38
  }
39
+ ), z = () => "requestUid" in t.item ? `/workspace/${c.value.uid}/request/${t.item.requestUid}/examples/${t.item.uid}` : `/workspace/${c.value.uid}/request/${t.item.uid}`, B = o(
40
+ () => _.value[G.Request] === "default" && b.value.uid === t.item.uid
33
41
  );
34
- return (e, t) => {
35
- const N = j("RequestSidebarItem", !0);
36
- return n(), d("div", {
37
- class: p(["relative flex flex-row", [
38
- r(a) && e.parentUids.length > 1 || !r(a) && e.parentUids.length ? "before:bg-b-3 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-px mb-[.5px] last:mb-0 indent-border-line-offset" : ""
42
+ return (e, s) => {
43
+ const O = F("RequestSidebarItem", !0);
44
+ return a(), d("div", {
45
+ class: u(["relative flex flex-row", [
46
+ i(l) && e.parentUids.length > 1 || !i(l) && e.parentUids.length ? "before:bg-b-3 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-px mb-[.5px] last:mb-0 indent-border-line-offset" : ""
39
47
  ]])
40
48
  }, [
41
- m(r(H), {
49
+ m(i(K), {
42
50
  id: e.item.uid,
43
51
  ceiling: v.value ? 0.8 : 0.5,
44
52
  class: "flex flex-1 flex-col gap-[.5px] text-sm",
@@ -46,79 +54,76 @@ const Y = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" },
46
54
  isDraggable: e.parentUids.length > 0 && e.isDraggable,
47
55
  isDroppable: e.isDroppable,
48
56
  parentIds: e.parentUids,
49
- onOnDragEnd: t[3] || (t[3] = (...s) => e.$emit("onDragEnd", ...s))
57
+ onOnDragEnd: s[2] || (s[2] = (...r) => e.$emit("onDragEnd", ...r))
50
58
  }, {
51
- default: U(() => [
52
- "summary" in e.item || "requestUid" in e.item ? (n(), f(r(M), {
59
+ default: D(() => [
60
+ "summary" in e.item || "requestUid" in e.item ? (a(), p(i(M), {
53
61
  key: 0,
54
- custom: "",
55
- to: `/request/${e.item.uid}`
62
+ class: "no-underline",
63
+ to: z()
56
64
  }, {
57
- default: U(() => {
58
- var s;
59
- return [
60
- o("div", {
61
- class: p(["group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover", [
62
- w,
63
- ((s = r(g)) == null ? void 0 : s.uid) === e.item.uid ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
64
- ]]),
65
- tabindex: "0",
66
- onClick: t[0] || (t[0] = (u) => z(u, e.item.uid))
67
- }, [
68
- o("span", Y, y(D(e.item)), 1),
69
- o("div", Z, [
70
- r(a) ? b("", !0) : (n(), f(P, {
71
- key: 0,
72
- item: e.item
73
- }, null, 8, ["item"])),
74
- o("span", _, [
75
- q("   "),
76
- m(r(Q), {
77
- class: "font-bold",
78
- method: I.value
79
- }, null, 8, ["method"])
80
- ])
65
+ default: D(({ isExactActive: r }) => [
66
+ n("div", {
67
+ class: u(["group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover", [
68
+ q,
69
+ r || B.value ? "bg-sidebar-active-b text-sidebar-active-c transition-none" : "text-sidebar-c-2"
70
+ ]]),
71
+ tabindex: "0"
72
+ }, [
73
+ n("span", Z, y(U(e.item)), 1),
74
+ n("div", ee, [
75
+ i(l) ? f("", !0) : (a(), p(Q, {
76
+ key: 0,
77
+ item: e.item
78
+ }, null, 8, ["item"])),
79
+ n("span", te, [
80
+ k("   "),
81
+ m(i(X), {
82
+ class: "font-bold",
83
+ method: E.value
84
+ }, null, 8, ["method"])
81
85
  ])
82
- ], 2)
83
- ];
84
- }),
86
+ ])
87
+ ], 2)
88
+ ]),
85
89
  _: 1
86
- }, 8, ["to"])) : !r(a) || e.parentUids.length ? (n(), d("button", {
90
+ }, 8, ["to"])) : !i(l) || e.parentUids.length ? (a(), d("button", {
87
91
  key: 1,
88
- class: p(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]", w]),
92
+ class: u(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]", q]),
89
93
  type: "button",
90
- onClick: t[1] || (t[1] = (s) => r(S)(e.item.uid))
94
+ onClick: s[0] || (s[0] = (r) => i(C)(e.item.uid))
91
95
  }, [
92
- o("span", ee, [
93
- F(e.$slots, "leftIcon", {}, () => [
94
- o("div", {
95
- class: p({
96
- "rotate-90": r(h)[e.item.uid]
96
+ n("span", ie, [
97
+ L(e.$slots, "leftIcon", {}, () => [
98
+ n("div", {
99
+ class: u({
100
+ "rotate-90": i(h)[e.item.uid]
97
101
  })
98
102
  }, [
99
- m(r(G), {
103
+ m(i(J), {
100
104
  class: "text-c-3 text-sm",
101
105
  icon: "ChevronRight",
102
- size: "sm"
106
+ size: "sm",
107
+ thickness: "2.5"
103
108
  })
104
109
  ], 2)
105
110
  ], !0),
106
- q("   ")
111
+ k("   ")
107
112
  ]),
108
- o("span", te, y(D(e.item)), 1)
109
- ])) : b("", !0),
110
- "childUids" in e.item ? L((n(), d("div", re, [
111
- (n(!0), d(T, null, K(e.item.childUids, (s) => (n(), f(N, {
112
- key: s,
113
+ n("span", se, y(U(e.item)), 1)
114
+ ])) : f("", !0),
115
+ "childUids" in e.item ? P((a(), d("div", re, [
116
+ (a(!0), d(T, null, W("summary" in e.item ? e.item.childUids.slice(1) : e.item.childUids, (r) => (a(), p(O, {
117
+ key: r,
113
118
  isDraggable: e.isDraggable,
114
119
  isDroppable: e.isDroppable,
115
- item: r($)[s] || r(c)[s] || r(C)[s],
120
+ item: i(w)[r] || i(g)[r] || i(x)[r],
116
121
  parentUids: [...e.parentUids, e.item.uid],
117
- onOnDragEnd: t[2] || (t[2] = (...u) => e.$emit("onDragEnd", ...u))
122
+ onOnDragEnd: s[1] || (s[1] = (...V) => e.$emit("onDragEnd", ...V))
118
123
  }, null, 8, ["isDraggable", "isDroppable", "item", "parentUids"]))), 128))
119
124
  ], 512)), [
120
- [W, B.value]
121
- ]) : b("", !0)
125
+ [A, I.value]
126
+ ]) : f("", !0)
122
127
  ]),
123
128
  _: 3
124
129
  }, 8, ["id", "ceiling", "floor", "isDraggable", "isDroppable", "parentIds"])
@@ -127,5 +132,5 @@ const Y = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" },
127
132
  }
128
133
  });
129
134
  export {
130
- ue as default
135
+ be as default
131
136
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSidebarItemMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItemMenu.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACf,MAAM,2CAA2C,CAAA;;UAM1C,OAAO,GAAG,cAAc;;UAAxB,OAAO,GAAG,cAAc;;AAmShC,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"}
1
+ {"version":3,"file":"RequestSidebarItemMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/RequestSidebarItemMenu.vue"],"names":[],"mappings":"AA0IA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACf,MAAM,2CAA2C,CAAA;;UAO1C,OAAO,GAAG,cAAc;;UAAxB,OAAO,GAAG,cAAc;;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