@scalar/api-client 2.0.64 → 2.1.0
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.
- package/CHANGELOG.md +44 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +64 -62
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +77 -69
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +121 -0
- package/dist/components/AddressBar/AddressBarServer.vue2.js +4 -0
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts +22 -0
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -0
- package/dist/components/AddressBar/AddressBarServerItem.vue.js +57 -0
- package/dist/components/AddressBar/AddressBarServerItem.vue2.js +4 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -6
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +87 -82
- package/dist/components/CodeInput/codeVariableWidget.d.ts +4 -4
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +70 -63
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +33 -0
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandActionForm.vue.js +41 -0
- package/dist/components/CommandPalette/CommandActionForm.vue2.js +4 -0
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +20 -0
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandActionInput.vue.js +42 -0
- package/dist/components/CommandPalette/CommandActionInput.vue2.js +4 -0
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +33 -56
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +88 -109
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +56 -73
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +21 -2
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +122 -133
- package/dist/components/CommandPalette/{CommandPaletteFolder.vue.d.ts → CommandPaletteServer.vue.d.ts} +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +92 -0
- package/dist/components/CommandPalette/CommandPaletteServer.vue2.js +4 -0
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +7 -0
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -0
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +87 -0
- package/dist/components/CommandPalette/CommandPaletteTag.vue2.js +4 -0
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +33 -49
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +22 -3
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +3 -3
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +107 -101
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/ContextBar.vue.js +2 -2
- package/dist/components/ContextBar.vue2.js +2 -2
- package/dist/components/DataTable/DataTable.vue.js +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +2 -2
- package/dist/components/DataTable/DataTableInput.vue2.js +13 -13
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +39 -40
- package/dist/components/DataTable/index.js +12 -12
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +7 -7
- package/dist/components/Form/Form.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
- package/dist/components/HttpMethod/HttpMethod.vue2.js +30 -30
- package/dist/components/HttpMethod/helpers.d.ts +4 -0
- package/dist/components/HttpMethod/helpers.d.ts.map +1 -0
- package/dist/components/HttpMethod/helpers.js +5 -0
- package/dist/components/HttpMethod/index.d.ts +1 -0
- package/dist/components/HttpMethod/index.d.ts.map +1 -1
- package/dist/components/HttpMethod/index.js +4 -2
- package/dist/components/Search/SearchModal.vue.d.ts.map +1 -1
- package/dist/components/Search/SearchModal.vue.js +2 -2
- package/dist/components/Search/SearchModal.vue2.js +29 -27
- package/dist/components/Search/useSearch.js +35 -35
- package/dist/components/SideNav/SideNavLink.vue.js +6 -6
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +14 -17
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts +22 -0
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.d.ts.map +1 -0
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue.js +29 -0
- package/dist/components/Sidebar/Actions/RenameSidebarListElement.vue2.js +4 -0
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +38 -35
- package/dist/components/Sidebar/Sidebar.vue.d.ts +2 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue2.js +37 -34
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +11 -11
- package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
- package/dist/components/SubpageHeader.vue.js +3 -3
- package/dist/components/SubpageHeader.vue2.js +3 -3
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +23 -23
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +21 -21
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +7 -7
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +5 -5
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +4 -4
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +39 -53
- package/dist/layouts/App/create-api-client-app.d.ts +2058 -1941
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +12 -12
- package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue2.js +6 -6
- package/dist/layouts/Modal/create-api-client-modal.d.ts +4590 -4356
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +18 -23
- package/dist/libs/create-client.d.ts +2086 -1972
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +85 -76
- package/dist/libs/environment-parser.d.ts +9 -0
- package/dist/libs/environment-parser.d.ts.map +1 -0
- package/dist/libs/environment-parser.js +17 -0
- package/dist/libs/errors.d.ts +21 -0
- package/dist/libs/errors.d.ts.map +1 -0
- package/dist/libs/errors.js +14 -0
- package/dist/libs/event-busses/command-palette-bus.d.ts +1 -1
- package/dist/libs/event-busses/command-palette-bus.d.ts.map +1 -1
- package/dist/libs/event-busses/hot-keys-bus.d.ts +4 -4
- package/dist/libs/event-busses/hot-keys-bus.d.ts.map +1 -1
- package/dist/libs/event-busses/hot-keys-bus.js +17 -19
- package/dist/libs/index.d.ts +5 -2
- package/dist/libs/index.d.ts.map +1 -1
- package/dist/libs/index.js +31 -24
- package/dist/libs/local-storage.d.ts +3 -3
- package/dist/libs/local-storage.d.ts.map +1 -1
- package/dist/libs/local-storage.js +24 -12
- package/dist/libs/normalize-headers.d.ts +14 -0
- package/dist/libs/normalize-headers.d.ts.map +1 -0
- package/dist/libs/normalize-headers.js +32 -0
- package/dist/libs/send-request.d.ts +28 -0
- package/dist/libs/send-request.d.ts.map +1 -0
- package/dist/libs/send-request.js +186 -0
- package/dist/libs/string-template.d.ts +19 -0
- package/dist/libs/string-template.d.ts.map +1 -0
- package/dist/libs/string-template.js +30 -0
- package/dist/router.d.ts +5 -0
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +36 -27
- package/dist/store/collections.d.ts +705 -0
- package/dist/store/collections.d.ts.map +1 -0
- package/dist/store/collections.js +63 -0
- package/dist/store/cookies.d.ts +135 -0
- package/dist/store/cookies.d.ts.map +1 -0
- package/dist/store/cookies.js +29 -0
- package/dist/store/environment.d.ts +80 -0
- package/dist/store/environment.d.ts.map +1 -0
- package/dist/store/environment.js +39 -0
- package/dist/store/import-spec.d.ts +8 -0
- package/dist/store/import-spec.d.ts.map +1 -0
- package/dist/store/import-spec.js +45 -0
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/index.js +1 -1
- package/dist/store/request-example.d.ts +1111 -0
- package/dist/store/request-example.d.ts.map +1 -0
- package/dist/store/request-example.js +47 -0
- package/dist/store/requests.d.ts +371 -0
- package/dist/store/requests.d.ts.map +1 -0
- package/dist/store/requests.js +107 -0
- package/dist/store/router-params.d.ts +15 -0
- package/dist/store/router-params.d.ts.map +1 -0
- package/dist/store/router-params.js +21 -0
- package/dist/store/security-schemes.d.ts +616 -0
- package/dist/store/security-schemes.d.ts.map +1 -0
- package/dist/store/security-schemes.js +68 -0
- package/dist/store/servers.d.ts +99 -0
- package/dist/store/servers.d.ts.map +1 -0
- package/dist/store/servers.js +46 -0
- package/dist/store/store-context.d.ts +29 -0
- package/dist/store/store-context.d.ts.map +1 -0
- package/dist/store/store.d.ts +7504 -0
- package/dist/store/store.d.ts.map +1 -0
- package/dist/store/store.js +200 -0
- package/dist/store/tags.d.ts +169 -0
- package/dist/store/tags.d.ts.map +1 -0
- package/dist/store/tags.js +57 -0
- package/dist/store/workspace.d.ts +93 -7150
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +49 -543
- package/dist/style.css +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +2 -2
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieRaw.vue.js +10 -10
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +21 -23
- package/dist/views/Environment/Environment.vue2.js +27 -28
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +11 -5
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +79 -59
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +87 -318
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +36 -0
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +59 -0
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue2.js +4 -0
- package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuth2.vue.d.ts +3 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +216 -0
- package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -0
- package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue.js +3 -3
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +7 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +183 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +30 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts +3 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +140 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue2.js +4 -0
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +167 -186
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +49 -49
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +26 -22
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +103 -102
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +5 -5
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.d.ts +30 -0
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSidebar.vue.js +7 -0
- package/dist/views/Request/RequestSidebar.vue2.js +179 -0
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +6 -7
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItem.vue2.js +283 -254
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +3 -5
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +9 -7
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +24 -0
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSubpageHeader.vue.js +7 -0
- package/dist/views/Request/RequestSubpageHeader.vue2.js +48 -0
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +21 -21
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +17 -16
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +37 -30
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +69 -90
- package/dist/views/Request/components/index.d.ts +0 -1
- package/dist/views/Request/components/index.d.ts.map +1 -1
- package/dist/views/Request/components/index.js +2 -4
- package/dist/views/Request/consts/new-auth-options.d.ts +11 -1
- package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
- package/dist/views/Request/consts/new-auth-options.js +17 -7
- package/dist/views/Request/handle-drag.d.ts +8 -0
- package/dist/views/Request/handle-drag.d.ts.map +1 -0
- package/dist/views/Request/handle-drag.js +56 -0
- package/dist/views/Request/libs/auth.d.ts +35 -0
- package/dist/views/Request/libs/auth.d.ts.map +1 -0
- package/dist/views/Request/libs/auth.js +14 -0
- package/dist/views/Request/libs/index.d.ts +1 -0
- package/dist/views/Request/libs/index.d.ts.map +1 -1
- package/dist/views/Request/libs/index.js +7 -3
- package/dist/views/Request/libs/oauth2.d.ts +12 -3
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +42 -27
- package/dist/views/Servers/ServerForm.vue.js +22 -22
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +17 -14
- package/package.json +9 -9
- package/dist/components/CodeInput/codeDropdownWidget.d.ts +0 -32
- package/dist/components/CodeInput/codeDropdownWidget.d.ts.map +0 -1
- package/dist/components/CodeInput/codeDropdownWidget.js +0 -121
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.d.ts.map +0 -1
- package/dist/components/CommandPalette/CommandPaletteFolder.vue.js +0 -106
- package/dist/components/CommandPalette/CommandPaletteFolder.vue2.js +0 -4
- package/dist/errors.d.ts +0 -5
- package/dist/errors.d.ts.map +0 -1
- package/dist/errors.js +0 -7
- package/dist/libs/normalizeHeaders.d.ts +0 -11
- package/dist/libs/normalizeHeaders.d.ts.map +0 -1
- package/dist/libs/normalizeHeaders.js +0 -25
- package/dist/libs/pathParams.d.ts +0 -10
- package/dist/libs/pathParams.d.ts.map +0 -1
- package/dist/libs/pathParams.js +0 -36
- package/dist/libs/sendRequest.d.ts +0 -14
- package/dist/libs/sendRequest.d.ts.map +0 -1
- package/dist/libs/sendRequest.js +0 -163
- package/dist/views/Request/RequestSection/RequestAuth.vue.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth.vue.js +0 -7
- package/dist/views/Request/RequestSection/RequestAuth.vue2.js +0 -351
- package/dist/views/Request/components/OAuth2.vue.d.ts.map +0 -1
- package/dist/views/Request/components/OAuth2.vue.js +0 -208
- package/dist/views/Request/components/OAuthScopesInput.vue.d.ts.map +0 -1
- /package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuth2.vue2.js +0 -0
- /package/dist/views/Request/{components → RequestSection/RequestAuth}/OAuthScopesInput.vue2.js +0 -0
- /package/dist/views/Request/RequestSection/{RequestAuth.vue.d.ts → RequestAuth/RequestAuth.vue.d.ts} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as z, reactive as A, ref as B, computed as M, watch as
|
|
1
|
+
import { defineComponent as z, reactive as A, ref as B, computed as M, watch as y, onMounted as j, onBeforeUnmount as E, openBlock as d, createElementBlock as g, createElementVNode as h, createVNode as n, unref as l, withCtx as u, toDisplayString as O, createTextVNode as C, Fragment as V, renderList as D, createBlock as q, pushScopeId as K, popScopeId as F } from "vue";
|
|
2
2
|
import H from "../ScalarHotkey.vue.js";
|
|
3
3
|
import { ROUTES as W } from "../../constants.js";
|
|
4
4
|
import { useClipboard as G } from "../../hooks/useClipboard.js";
|
|
5
|
-
import { ScalarContextMenu as J, ScalarIcon as
|
|
5
|
+
import { ScalarContextMenu as J, ScalarIcon as f, ScalarDropdown as P, ScalarDropdownItem as x } from "@scalar/components";
|
|
6
6
|
import { capitalize as Q } from "@scalar/oas-utils/helpers";
|
|
7
7
|
import X from "./TopNavItem.vue.js";
|
|
8
|
-
import { useWorkspace as Y } from "../../store/
|
|
9
|
-
import { hotKeyBus as
|
|
10
|
-
const Z = (s) => (K("data-v-
|
|
8
|
+
import { useWorkspace as Y } from "../../store/store.js";
|
|
9
|
+
import { hotKeyBus as I } from "../../libs/event-busses/hot-keys-bus.js";
|
|
10
|
+
const Z = (s) => (K("data-v-df123a3c"), s = s(), F(), s), ee = { class: "flex h-10 t-app__top-nav" }, te = /* @__PURE__ */ Z(() => /* @__PURE__ */ h("div", { class: "t-app__top-nav-draggable" }, null, -1)), oe = { class: "flex h-10 flex-1 items-center gap-1.5 text-sm font-medium pr-1 relative overflow-hidden" }, ae = {
|
|
11
11
|
key: 0,
|
|
12
|
-
class: "h-full w-full"
|
|
13
|
-
},
|
|
12
|
+
class: "h-full w-full overflow-hidden"
|
|
13
|
+
}, de = /* @__PURE__ */ z({
|
|
14
14
|
__name: "TopNav",
|
|
15
15
|
props: {
|
|
16
16
|
openNewTab: {}
|
|
@@ -39,7 +39,7 @@ const Z = (s) => (K("data-v-53f7f946"), s = s(), F(), s), ee = { class: "flex h-
|
|
|
39
39
|
function r(e) {
|
|
40
40
|
o.value = e, v();
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
y(
|
|
43
43
|
() => i.currentRoute.value.path,
|
|
44
44
|
() => {
|
|
45
45
|
k();
|
|
@@ -57,7 +57,7 @@ const Z = (s) => (K("data-v-53f7f946"), s = s(), F(), s), ee = { class: "flex h-
|
|
|
57
57
|
a.pathname = t[e].path, U(a.toString());
|
|
58
58
|
}, R = (e) => {
|
|
59
59
|
t.splice(0, e), t.splice(1), o.value = 0, v();
|
|
60
|
-
},
|
|
60
|
+
}, w = (e) => {
|
|
61
61
|
if (e.addTopNav && m(), e.closeTopNav && _(o.value), e.navigateTopNavLeft && r(Math.max(o.value - 1, 0)), e.navigateTopNavRight && r(Math.min(o.value + 1, t.length - 1)), e.jumpToTab) {
|
|
62
62
|
const a = Number(e.jumpToTab.key) - 1;
|
|
63
63
|
a >= 0 && a < t.length && r(a);
|
|
@@ -70,19 +70,19 @@ const Z = (s) => (K("data-v-53f7f946"), s = s(), F(), s), ee = { class: "flex h-
|
|
|
70
70
|
icon: "ExternalLink"
|
|
71
71
|
});
|
|
72
72
|
};
|
|
73
|
-
return
|
|
73
|
+
return y(
|
|
74
74
|
() => S.openNewTab,
|
|
75
75
|
(e) => {
|
|
76
76
|
e && $(e);
|
|
77
77
|
},
|
|
78
78
|
{ immediate: !0 }
|
|
79
|
-
), j(() =>
|
|
79
|
+
), j(() => I.on(w)), E(() => I.off(w)), (e, a) => (d(), g("nav", ee, [
|
|
80
80
|
te,
|
|
81
81
|
h("div", oe, [
|
|
82
|
-
t.length === 1 ? (
|
|
83
|
-
n(l(J), { triggerClass: "flex gap-1.5 h-full items-center justify-center w-full" }, {
|
|
82
|
+
t.length === 1 ? (d(), g("div", ae, [
|
|
83
|
+
n(l(J), { triggerClass: "flex custom-scroll gap-1.5 h-full items-center justify-center w-full whitespace-nowrap" }, {
|
|
84
84
|
trigger: u(() => [
|
|
85
|
-
n(l(
|
|
85
|
+
n(l(f), {
|
|
86
86
|
icon: t[0].icon,
|
|
87
87
|
size: "xs",
|
|
88
88
|
thickness: "2.5"
|
|
@@ -95,17 +95,17 @@ const Z = (s) => (K("data-v-53f7f946"), s = s(), F(), s), ee = { class: "flex h-
|
|
|
95
95
|
static: ""
|
|
96
96
|
}, {
|
|
97
97
|
items: u(() => [
|
|
98
|
-
n(l(
|
|
98
|
+
n(l(x), {
|
|
99
99
|
class: "flex items-center gap-1.5",
|
|
100
100
|
onClick: m
|
|
101
101
|
}, {
|
|
102
102
|
default: u(() => [
|
|
103
|
-
n(l(
|
|
103
|
+
n(l(f), {
|
|
104
104
|
icon: "AddTab",
|
|
105
105
|
size: "sm",
|
|
106
106
|
thickness: "1.5"
|
|
107
107
|
}),
|
|
108
|
-
|
|
108
|
+
C(" New Tab "),
|
|
109
109
|
n(H, {
|
|
110
110
|
class: "bg-b-2 ml-auto",
|
|
111
111
|
hotkey: "T"
|
|
@@ -113,17 +113,17 @@ const Z = (s) => (K("data-v-53f7f946"), s = s(), F(), s), ee = { class: "flex h-
|
|
|
113
113
|
]),
|
|
114
114
|
_: 1
|
|
115
115
|
}),
|
|
116
|
-
n(l(
|
|
116
|
+
n(l(x), {
|
|
117
117
|
class: "flex items-center gap-1.5",
|
|
118
118
|
onClick: a[0] || (a[0] = (p) => N(T.value))
|
|
119
119
|
}, {
|
|
120
120
|
default: u(() => [
|
|
121
|
-
n(l(
|
|
121
|
+
n(l(f), {
|
|
122
122
|
icon: "Link",
|
|
123
123
|
size: "sm",
|
|
124
124
|
thickness: "1.5"
|
|
125
125
|
}),
|
|
126
|
-
|
|
126
|
+
C(" Copy URL ")
|
|
127
127
|
]),
|
|
128
128
|
_: 1
|
|
129
129
|
})
|
|
@@ -133,7 +133,7 @@ const Z = (s) => (K("data-v-53f7f946"), s = s(), F(), s), ee = { class: "flex h-
|
|
|
133
133
|
]),
|
|
134
134
|
_: 1
|
|
135
135
|
})
|
|
136
|
-
])) : (
|
|
136
|
+
])) : (d(!0), g(V, { key: 1 }, D(t, (p, c) => (d(), q(X, {
|
|
137
137
|
key: c,
|
|
138
138
|
active: c === T.value,
|
|
139
139
|
hotkey: (c + 1).toString(),
|
|
@@ -150,7 +150,7 @@ const Z = (s) => (K("data-v-53f7f946"), s = s(), F(), s), ee = { class: "flex h-
|
|
|
150
150
|
type: "button",
|
|
151
151
|
onClick: m
|
|
152
152
|
}, [
|
|
153
|
-
n(l(
|
|
153
|
+
n(l(f), {
|
|
154
154
|
icon: "Add",
|
|
155
155
|
size: "xs",
|
|
156
156
|
thickness: "2.5"
|
|
@@ -161,5 +161,5 @@ const Z = (s) => (K("data-v-53f7f946"), s = s(), F(), s), ee = { class: "flex h-
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
export {
|
|
164
|
-
|
|
164
|
+
de as default
|
|
165
165
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNavItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TopNavItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNavItem.vue"],"names":[],"mappings":"AA0MA,OAAO,EACL,KAAK,IAAI,EAOV,MAAM,oBAAoB,CAAA;;aAKhB,MAAM;YACP,OAAO;WACR,MAAM;UACP,IAAI;;;;;;;;aAHD,MAAM;YACP,OAAO;WACR,MAAM;UACP,IAAI;;;;;;;;AAoaZ,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./TopNavItem.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e4e81f66"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as k, openBlock as p, createBlock as d, unref as t, withCtx as i, createVNode as e, createElementVNode as a, normalizeClass as f, toDisplayString as u, createCommentVNode as b, createTextVNode as r } from "vue";
|
|
2
2
|
import m from "../ScalarHotkey.vue.js";
|
|
3
|
-
import { ScalarContextMenu as
|
|
4
|
-
const T = { class: "nav-item-icon-copy flex flex-1 items-center justify-center gap-1.5" }, $ = { class: "nav-item-copy text-xs" }, N = /* @__PURE__ */
|
|
3
|
+
import { ScalarContextMenu as v, ScalarTooltip as C, ScalarIcon as l, ScalarDropdown as g, ScalarDropdownItem as c, ScalarDropdownDivider as y } from "@scalar/components";
|
|
4
|
+
const T = { class: "nav-item-icon-copy flex flex-1 items-center justify-center gap-1.5" }, $ = { class: "custom-scroll nav-item-copy text-xs" }, N = /* @__PURE__ */ k({
|
|
5
5
|
__name: "TopNavItem",
|
|
6
6
|
props: {
|
|
7
7
|
hotkey: {},
|
|
@@ -11,9 +11,9 @@ const T = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["click", "close", "newTab", "copyUrl", "closeOtherTabs"],
|
|
13
13
|
setup(w) {
|
|
14
|
-
return (o, s) => (p(),
|
|
14
|
+
return (o, s) => (p(), d(t(v), { triggerClass: "overflow-hidden w-full" }, {
|
|
15
15
|
trigger: i(() => [
|
|
16
|
-
e(t(
|
|
16
|
+
e(t(C), {
|
|
17
17
|
class: "scalar-client",
|
|
18
18
|
delay: 500,
|
|
19
19
|
disableClosingTrigger: !0,
|
|
@@ -23,22 +23,22 @@ const T = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
|
|
|
23
23
|
trigger: i(() => [
|
|
24
24
|
a("div", {
|
|
25
25
|
class: f(["nav-item webkit-app-no-drag", { "nav-item__active": o.active }]),
|
|
26
|
-
onClick: s[1] || (s[1] = (
|
|
26
|
+
onClick: s[1] || (s[1] = (n) => o.$emit("click"))
|
|
27
27
|
}, [
|
|
28
28
|
a("div", T, [
|
|
29
|
-
e(t(
|
|
29
|
+
e(t(l), {
|
|
30
30
|
icon: o.icon,
|
|
31
31
|
size: "xs",
|
|
32
32
|
thickness: "2.5"
|
|
33
33
|
}, null, 8, ["icon"]),
|
|
34
|
-
a("span", $,
|
|
34
|
+
a("span", $, u(o.label), 1)
|
|
35
35
|
]),
|
|
36
36
|
a("button", {
|
|
37
37
|
class: "nav-item-close",
|
|
38
38
|
type: "button",
|
|
39
|
-
onClick: s[0] || (s[0] = (
|
|
39
|
+
onClick: s[0] || (s[0] = (n) => o.$emit("close"))
|
|
40
40
|
}, [
|
|
41
|
-
e(t(
|
|
41
|
+
e(t(l), {
|
|
42
42
|
icon: "Close",
|
|
43
43
|
thickness: "1.75"
|
|
44
44
|
})
|
|
@@ -46,26 +46,26 @@ const T = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
|
|
|
46
46
|
], 2)
|
|
47
47
|
]),
|
|
48
48
|
content: i(() => [
|
|
49
|
-
o.hotkey ? (p(),
|
|
49
|
+
o.hotkey ? (p(), d(m, {
|
|
50
50
|
key: 0,
|
|
51
51
|
hotkey: o.hotkey
|
|
52
|
-
}, null, 8, ["hotkey"])) :
|
|
52
|
+
}, null, 8, ["hotkey"])) : b("", !0)
|
|
53
53
|
]),
|
|
54
54
|
_: 1
|
|
55
55
|
})
|
|
56
56
|
]),
|
|
57
57
|
content: i(() => [
|
|
58
|
-
e(t(
|
|
58
|
+
e(t(g), {
|
|
59
59
|
class: "scalar-client",
|
|
60
60
|
static: ""
|
|
61
61
|
}, {
|
|
62
62
|
items: i(() => [
|
|
63
63
|
e(t(c), {
|
|
64
64
|
class: "flex items-center gap-1.5",
|
|
65
|
-
onClick: s[2] || (s[2] = (
|
|
65
|
+
onClick: s[2] || (s[2] = (n) => o.$emit("newTab"))
|
|
66
66
|
}, {
|
|
67
67
|
default: i(() => [
|
|
68
|
-
e(t(
|
|
68
|
+
e(t(l), {
|
|
69
69
|
icon: "AddTab",
|
|
70
70
|
size: "sm",
|
|
71
71
|
thickness: "1.5"
|
|
@@ -80,10 +80,10 @@ const T = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
|
|
|
80
80
|
}),
|
|
81
81
|
e(t(c), {
|
|
82
82
|
class: "flex items-center gap-1.5",
|
|
83
|
-
onClick: s[3] || (s[3] = (
|
|
83
|
+
onClick: s[3] || (s[3] = (n) => o.$emit("copyUrl"))
|
|
84
84
|
}, {
|
|
85
85
|
default: i(() => [
|
|
86
|
-
e(t(
|
|
86
|
+
e(t(l), {
|
|
87
87
|
icon: "Link",
|
|
88
88
|
size: "sm",
|
|
89
89
|
thickness: "1.5"
|
|
@@ -95,10 +95,10 @@ const T = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
|
|
|
95
95
|
e(t(y)),
|
|
96
96
|
e(t(c), {
|
|
97
97
|
class: "flex items-center gap-1.5",
|
|
98
|
-
onClick: s[4] || (s[4] = (
|
|
98
|
+
onClick: s[4] || (s[4] = (n) => o.$emit("close"))
|
|
99
99
|
}, {
|
|
100
100
|
default: i(() => [
|
|
101
|
-
e(t(
|
|
101
|
+
e(t(l), {
|
|
102
102
|
icon: "CloseTab",
|
|
103
103
|
size: "sm",
|
|
104
104
|
thickness: "1.5"
|
|
@@ -113,10 +113,10 @@ const T = { class: "nav-item-icon-copy flex flex-1 items-center justify-center g
|
|
|
113
113
|
}),
|
|
114
114
|
e(t(c), {
|
|
115
115
|
class: "flex items-center gap-1.5",
|
|
116
|
-
onClick: s[5] || (s[5] = (
|
|
116
|
+
onClick: s[5] || (s[5] = (n) => o.$emit("closeOtherTabs"))
|
|
117
117
|
}, {
|
|
118
118
|
default: i(() => [
|
|
119
|
-
e(t(
|
|
119
|
+
e(t(l), {
|
|
120
120
|
icon: "CloseTabs",
|
|
121
121
|
size: "sm",
|
|
122
122
|
thickness: "1.5"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ViewLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayout.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc;qBAyBM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,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,12 +1,12 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
function
|
|
5
|
-
return o(),
|
|
6
|
-
|
|
1
|
+
import { openBlock as o, createElementBlock as r, renderSlot as t } from "vue";
|
|
2
|
+
import l from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const n = {}, c = { class: "flex flex-col min-h-0 flex-1 xl:overflow-hidden md:flex-row leading-3 z-0" };
|
|
4
|
+
function f(e, s) {
|
|
5
|
+
return o(), r("div", c, [
|
|
6
|
+
t(e.$slots, "default")
|
|
7
7
|
]);
|
|
8
8
|
}
|
|
9
|
-
const a = /* @__PURE__ */ n
|
|
9
|
+
const a = /* @__PURE__ */ l(n, [["render", f]]);
|
|
10
10
|
export {
|
|
11
11
|
a as default
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewLayoutCollapse.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutCollapse.vue"],"names":[],"mappings":"AAiFA,iBAAS,cAAc;;;
|
|
1
|
+
{"version":3,"file":"ViewLayoutCollapse.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutCollapse.vue"],"names":[],"mappings":"AAiFA,iBAAS,cAAc;;;QA+IK,GAAG;;;QACD,GAAG;;;QACH,GAAG;EAkBhC;AACD,QAAA,MAAM,eAAe;kBAxLH,OAAO;gBACT,MAAM;;;;;kBADJ,OAAO;gBACT,MAAM;;;;;iBADJ,OAAO;eACT,MAAM;MA6LpB,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,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as c, openBlock as s, createBlock as p, unref as o, withCtx as n, createVNode as i, createElementVNode as r, renderSlot as l, createElementBlock as a, toDisplayString as d, createCommentVNode as u } from "vue";
|
|
2
2
|
import { Disclosure as f, DisclosureButton as m, DisclosurePanel as h } from "@headlessui/vue";
|
|
3
3
|
import { ScalarIcon as b } from "@scalar/components";
|
|
4
|
-
const x = { class: "flex flex-1 items-center gap-1.5" },
|
|
4
|
+
const x = { class: "flex flex-1 items-center gap-1.5 text-c-1" }, g = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "bg-b-2 text-c-2 text-3xs inline-flex h-4 w-4 items-center justify-center rounded-full font-semibold"
|
|
7
|
-
},
|
|
7
|
+
}, _ = { class: "flex items-center gap-2" }, v = {
|
|
8
8
|
key: 0,
|
|
9
9
|
class: "ui-not-open:invisible -my-1 flex items-center gap-2"
|
|
10
10
|
}, D = /* @__PURE__ */ c({
|
|
@@ -16,7 +16,7 @@ const x = { class: "flex flex-1 items-center gap-1.5" }, _ = {
|
|
|
16
16
|
setup(y) {
|
|
17
17
|
return (e, C) => (s(), p(o(f), {
|
|
18
18
|
as: "div",
|
|
19
|
-
class: "focus-within:bg-b-2 focus-within:text-c-1 text-c-2 rounded request-item ui-not-open:bg-transparent ui-open:pb-1 ui-open:mb-3 ui-not-open:mb-0 ui-not-open:pb-0",
|
|
19
|
+
class: "focus-within:bg-b-2 ui-not-open:hover:bg-b-2 focus-within:text-c-1 text-c-2 rounded request-item ui-not-open:bg-transparent ui-open:pb-1 ui-open:mb-3 ui-not-open:mb-0 ui-not-open:pb-0",
|
|
20
20
|
defaultOpen: e.defaultOpen
|
|
21
21
|
}, {
|
|
22
22
|
default: n(({ open: t }) => [
|
|
@@ -30,9 +30,9 @@ const x = { class: "flex flex-1 items-center gap-1.5" }, _ = {
|
|
|
30
30
|
}),
|
|
31
31
|
r("div", x, [
|
|
32
32
|
l(e.$slots, "title", { open: t }),
|
|
33
|
-
!t && e.itemCount ? (s(), a("span",
|
|
33
|
+
!t && e.itemCount ? (s(), a("span", g, d(e.itemCount), 1)) : u("", !0)
|
|
34
34
|
]),
|
|
35
|
-
r("div",
|
|
35
|
+
r("div", _, [
|
|
36
36
|
e.$slots.actions ? (s(), a("div", v, [
|
|
37
37
|
l(e.$slots, "actions", { open: t })
|
|
38
38
|
])) : u("", !0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewLayoutContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutContent.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"ViewLayoutContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutContent.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc;qBA6BM,GAAG;EAa/B;AACD,QAAA,MAAM,eAAe,0NAKnB,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,9 +1,9 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as
|
|
1
|
+
import { openBlock as o, createElementBlock as r, renderSlot as t } from "vue";
|
|
2
2
|
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
const l = {}, c = { class: "divide divide-y xl:divide-y-0 xl:divide-x-1/2 flex xl:flex-row flex-col custom-scroll rounded" };
|
|
3
|
+
const l = {}, c = { class: "border-t-1/2 md:border-t-0 divide divide-y xl:divide-y-0 xl:divide-x-1/2 flex xl:flex-row flex-col custom-scroll pr-0 rounded" };
|
|
4
4
|
function i(e, n) {
|
|
5
|
-
return o(),
|
|
6
|
-
|
|
5
|
+
return o(), r("div", c, [
|
|
6
|
+
t(e.$slots, "default")
|
|
7
7
|
]);
|
|
8
8
|
}
|
|
9
9
|
const x = /* @__PURE__ */ d(l, [["render", i]]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AA8BA,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AA8BA,iBAAS,cAAc;mBA6CI,GAAG;qBACD,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe,0NAKnB,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,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as r, createElementBlock as s, unref as o, createElementVNode as
|
|
2
|
-
import { nanoid as
|
|
1
|
+
import { defineComponent as n, openBlock as r, createElementBlock as s, unref as o, createElementVNode as d, renderSlot as l } from "vue";
|
|
2
|
+
import { nanoid as i } from "nanoid";
|
|
3
3
|
const a = ["aria-labelledby"], c = ["id"], u = /* @__PURE__ */ n({
|
|
4
4
|
__name: "ViewLayoutSection",
|
|
5
5
|
setup(m) {
|
|
6
|
-
const e =
|
|
7
|
-
return (t,
|
|
6
|
+
const e = i();
|
|
7
|
+
return (t, p) => (r(), s("section", {
|
|
8
8
|
"aria-labelledby": o(e),
|
|
9
9
|
class: "flex xl:min-w-0 xl:flex-1 flex-col xl:custom-scroll bg-b-1"
|
|
10
10
|
}, [
|
|
11
|
-
|
|
11
|
+
d("div", {
|
|
12
12
|
id: o(e),
|
|
13
|
-
class: "xl:min-h-header
|
|
13
|
+
class: "xl:min-h-header flex items-center border-b-1/2 p-2 md:px-4 md:py-2.5 xl:pl-6 xl:pr-5 text-sm font-medium sticky top-0 bg-b-1 z-20 rounded-t xl:rounded-none"
|
|
14
14
|
}, [
|
|
15
15
|
l(t.$slots, "title")
|
|
16
16
|
], 8, c),
|
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
|
-
export { useWorkspace } from './store/
|
|
3
|
+
export { useWorkspace } from './store/store.js';
|
|
4
4
|
export { createModalRouter, createWebHashRouter, router } from './router.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useWorkspace as o } from "./store/
|
|
1
|
+
import { useWorkspace as o } from "./store/store.js";
|
|
2
2
|
import { createModalRouter as a, createWebHashRouter as i, router as l } from "./router.js";
|
|
3
3
|
import { default as c } from "./layouts/App/ApiClientApp.vue.js";
|
|
4
4
|
/* empty css */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClientApp.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/App/ApiClientApp.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ApiClientApp.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/App/ApiClientApp.vue"],"names":[],"mappings":";;cAiI8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAqMjD,wBAMG"}
|
|
@@ -1,79 +1,65 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
import { handleHotKeyDown as O } from "../../libs/event-busses/hot-keys-bus.js";
|
|
14
|
-
const P = ["innerHTML"], R = {
|
|
1
|
+
import { defineComponent as w, ref as _, onMounted as c, watchEffect as h, onBeforeMount as k, onBeforeUnmount as T, computed as y, openBlock as t, createElementBlock as i, Fragment as N, createElementVNode as d, createVNode as e, unref as n, withCtx as b, createBlock as p, KeepAlive as g, resolveDynamicComponent as x, createCommentVNode as C } from "vue";
|
|
2
|
+
import S from "../../components/SideNav/SideNav.vue.js";
|
|
3
|
+
import L from "../../components/TopNav/TopNav.vue.js";
|
|
4
|
+
import { addScalarClassesToHeadless as B } from "@scalar/components";
|
|
5
|
+
import { getThemeStyles as D } from "@scalar/themes";
|
|
6
|
+
import { ScalarToasts as E } from "@scalar/use-toasts";
|
|
7
|
+
import { RouterView as M } from "vue-router";
|
|
8
|
+
import H from "../../components/CommandPalette/TheCommandPalette.vue.js";
|
|
9
|
+
import { useDarkModeState as V } from "../../hooks/useDarkModeState.js";
|
|
10
|
+
import { useWorkspace as W } from "../../store/store.js";
|
|
11
|
+
import { handleHotKeyDown as A } from "../../libs/event-busses/hot-keys-bus.js";
|
|
12
|
+
const K = ["innerHTML"], z = {
|
|
15
13
|
key: 0,
|
|
16
14
|
class: "flex min-h-0 flex-1 z-0"
|
|
17
|
-
},
|
|
15
|
+
}, F = { class: "flex flex-1 flex-col min-w-0" }, Z = /* @__PURE__ */ w({
|
|
18
16
|
__name: "ApiClientApp",
|
|
19
17
|
emits: ["newTab"],
|
|
20
18
|
setup(I) {
|
|
21
|
-
const
|
|
22
|
-
|
|
19
|
+
const r = _(null), u = (o) => {
|
|
20
|
+
r.value = o;
|
|
23
21
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
document.body.classList.toggle("dark-mode",
|
|
22
|
+
c(() => {
|
|
23
|
+
h(() => {
|
|
24
|
+
document.body.classList.toggle("dark-mode", l.value), document.body.classList.toggle("light-mode", !l.value);
|
|
27
25
|
});
|
|
28
26
|
});
|
|
29
|
-
const { isDark:
|
|
27
|
+
const { isDark: l } = V(), a = W();
|
|
30
28
|
k(async () => {
|
|
31
|
-
|
|
32
|
-
const e = {};
|
|
33
|
-
let s = 0, t = 0, o = "";
|
|
34
|
-
for (o in localStorage)
|
|
35
|
-
Object.prototype.hasOwnProperty.call(localStorage, o) && (t = (localStorage[o].length + o.length) * 2, s += t, e[o] = (t / 1024).toFixed(2) + " KB");
|
|
36
|
-
e.Total = (s / 1024).toFixed(2) + " KB", console.table(e), H(a);
|
|
37
|
-
} else
|
|
38
|
-
a.workspaceMutators.add({
|
|
39
|
-
uid: "default",
|
|
40
|
-
name: "Workspace",
|
|
41
|
-
proxyUrl: "https://proxy.scalar.com"
|
|
42
|
-
});
|
|
43
|
-
K();
|
|
29
|
+
B();
|
|
44
30
|
});
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
const
|
|
31
|
+
const s = (o) => A(o);
|
|
32
|
+
c(() => window.addEventListener("keydown", s)), T(() => window.removeEventListener("keydown", s));
|
|
33
|
+
const f = y(
|
|
48
34
|
() => a.activeWorkspace.value && `<style>
|
|
49
|
-
${
|
|
35
|
+
${D(a.activeWorkspace.value.themeId, {
|
|
50
36
|
fonts: !0
|
|
51
37
|
})}</style>`
|
|
52
38
|
);
|
|
53
|
-
return (
|
|
54
|
-
var
|
|
55
|
-
return
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
default:
|
|
64
|
-
(
|
|
65
|
-
(
|
|
39
|
+
return (o, P) => {
|
|
40
|
+
var m;
|
|
41
|
+
return t(), i(N, null, [
|
|
42
|
+
d("div", { innerHTML: f.value }, null, 8, K),
|
|
43
|
+
e(L, { openNewTab: r.value }, null, 8, ["openNewTab"]),
|
|
44
|
+
(m = n(a).activeWorkspace.value) != null && m.uid ? (t(), i("main", z, [
|
|
45
|
+
e(S),
|
|
46
|
+
e(n(H)),
|
|
47
|
+
d("div", F, [
|
|
48
|
+
e(n(M), { onNewTab: u }, {
|
|
49
|
+
default: b(({ Component: v }) => [
|
|
50
|
+
(t(), p(g, null, [
|
|
51
|
+
(t(), p(x(v)))
|
|
66
52
|
], 1024))
|
|
67
53
|
]),
|
|
68
54
|
_: 1
|
|
69
55
|
})
|
|
70
56
|
])
|
|
71
57
|
])) : C("", !0),
|
|
72
|
-
|
|
58
|
+
e(n(E))
|
|
73
59
|
], 64);
|
|
74
60
|
};
|
|
75
61
|
}
|
|
76
62
|
});
|
|
77
63
|
export {
|
|
78
|
-
|
|
64
|
+
Z as default
|
|
79
65
|
};
|