@scalar/api-client 2.0.64 → 2.1.1
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 +51 -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 +82 -73
- 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,62 +1,62 @@
|
|
|
1
|
-
import { useWorkspace as y } from "../../store/workspace.js";
|
|
2
1
|
import g from "fuse.js";
|
|
3
2
|
import { ref as a, watch as T, computed as w, nextTick as x } from "vue";
|
|
4
3
|
import { useRouter as I } from "vue-router";
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
import { useWorkspace as W } from "../../store/store.js";
|
|
5
|
+
function F() {
|
|
6
|
+
const p = I(), { activeWorkspaceRequests: f, requests: d } = W(), o = a([]), c = a([]), s = a(0), u = a(""), l = a(null), r = a([]), i = new g(o.value, {
|
|
7
7
|
keys: ["title", "description", "body"]
|
|
8
|
-
}),
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
o.value =
|
|
12
|
-
id:
|
|
13
|
-
title:
|
|
14
|
-
description:
|
|
15
|
-
httpVerb:
|
|
16
|
-
path:
|
|
8
|
+
}), R = () => {
|
|
9
|
+
u.value = "", s.value = 0, c.value = [], l.value instanceof HTMLInputElement && l.value.blur();
|
|
10
|
+
}, S = (t) => {
|
|
11
|
+
o.value = t.map((e) => ({
|
|
12
|
+
id: e.uid,
|
|
13
|
+
title: e.summary ?? e.method,
|
|
14
|
+
description: e.description ?? "",
|
|
15
|
+
httpVerb: e.method,
|
|
16
|
+
path: e.path
|
|
17
17
|
})), i.setCollection(o.value);
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
const m = r.value[
|
|
18
|
+
}, k = () => {
|
|
19
|
+
s.value = 0, c.value = i.search(u.value);
|
|
20
|
+
}, b = (t) => {
|
|
21
|
+
const e = t === "up" ? -1 : 1, v = n.value.length;
|
|
22
|
+
s.value = (s.value + e + v) % v, x(() => {
|
|
23
|
+
const m = r.value[s.value];
|
|
24
24
|
m instanceof HTMLElement && m.scrollIntoView({
|
|
25
25
|
behavior: "smooth",
|
|
26
26
|
block: "center"
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
n.value[
|
|
29
|
+
}, y = () => {
|
|
30
|
+
s.value >= 0 && h(
|
|
31
|
+
n.value[s.value]
|
|
32
32
|
);
|
|
33
33
|
};
|
|
34
34
|
T(
|
|
35
35
|
f,
|
|
36
|
-
(
|
|
37
|
-
|
|
36
|
+
(t) => {
|
|
37
|
+
S(t.map((e) => d[e]));
|
|
38
38
|
},
|
|
39
39
|
{ immediate: !0 }
|
|
40
40
|
);
|
|
41
|
-
const h = (
|
|
42
|
-
p.push(
|
|
41
|
+
const h = (t) => {
|
|
42
|
+
p.push(t.item.id), R();
|
|
43
43
|
}, n = w(
|
|
44
|
-
() =>
|
|
45
|
-
item:
|
|
46
|
-
})) :
|
|
44
|
+
() => u.value.length === 0 ? o.value.map((t) => ({
|
|
45
|
+
item: t
|
|
46
|
+
})) : c.value
|
|
47
47
|
);
|
|
48
48
|
return {
|
|
49
|
-
searchText:
|
|
49
|
+
searchText: u,
|
|
50
50
|
searchResultsWithPlaceholderResults: n,
|
|
51
|
-
selectedSearchResult:
|
|
51
|
+
selectedSearchResult: s,
|
|
52
52
|
onSearchResultClick: h,
|
|
53
|
-
fuseSearch:
|
|
54
|
-
searchInputRef:
|
|
53
|
+
fuseSearch: k,
|
|
54
|
+
searchInputRef: l,
|
|
55
55
|
searchResultRefs: r,
|
|
56
|
-
navigateSearchResults:
|
|
57
|
-
selectSearchResult:
|
|
56
|
+
navigateSearchResults: b,
|
|
57
|
+
selectSearchResult: y
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
F as useSearch
|
|
62
62
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as a, resolveComponent as s, openBlock as i, createBlock as c, unref as t, withCtx as p, createElementVNode as o, normalizeClass as l, createVNode as m, toDisplayString as u, renderSlot as d } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { ScalarIcon as f } from "@scalar/components";
|
|
3
|
+
import { useRouter as v } from "vue-router";
|
|
4
|
+
import { useWorkspace as _ } from "../../store/store.js";
|
|
5
5
|
const k = { class: "no-underline font-medium text-[11px] hidden scalar-app-show capitalize" }, x = { class: "sr-only" }, b = /* @__PURE__ */ a({
|
|
6
6
|
__name: "SideNavLink",
|
|
7
7
|
props: {
|
|
@@ -11,8 +11,8 @@ const k = { class: "no-underline font-medium text-[11px] hidden scalar-app-show
|
|
|
11
11
|
active: { type: Boolean }
|
|
12
12
|
},
|
|
13
13
|
setup(g) {
|
|
14
|
-
const { activeWorkspace: n } =
|
|
15
|
-
return
|
|
14
|
+
const { activeWorkspace: n } = _();
|
|
15
|
+
return v(), (e, h) => {
|
|
16
16
|
const r = s("router-link");
|
|
17
17
|
return i(), c(r, {
|
|
18
18
|
activeClass: "active-link",
|
|
@@ -25,7 +25,7 @@ const k = { class: "no-underline font-medium text-[11px] hidden scalar-app-show
|
|
|
25
25
|
"bg-b-3 transition-none group-hover:cursor-auto !text-c-1": e.active
|
|
26
26
|
}])
|
|
27
27
|
}, [
|
|
28
|
-
m(t(
|
|
28
|
+
m(t(f), {
|
|
29
29
|
icon: e.icon,
|
|
30
30
|
thickness: "1.5"
|
|
31
31
|
}, null, 8, ["icon"])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/DeleteSidebarListElement.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DeleteSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/DeleteSidebarListElement.vue"],"names":[],"mappings":";kBA0CgB,MAAM;qBACH,MAAM;;;;;kBADT,MAAM;qBACH,MAAM;;;;;AAyGzB,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,33 +1,30 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as m, computed as p, openBlock as r, createBlock as c, withCtx as d, createElementBlock as u, toDisplayString as g, createCommentVNode as b } from "vue";
|
|
2
|
+
import f from "./SidebarListElementForm.vue.js";
|
|
3
|
+
const v = {
|
|
4
4
|
key: 0,
|
|
5
|
-
class: "text-c-
|
|
6
|
-
},
|
|
5
|
+
class: "leading-normal text-c-2 text-sm text-pretty"
|
|
6
|
+
}, w = /* @__PURE__ */ m({
|
|
7
7
|
__name: "DeleteSidebarListElement",
|
|
8
8
|
props: {
|
|
9
9
|
variableName: {},
|
|
10
10
|
warningMessage: {}
|
|
11
11
|
},
|
|
12
12
|
emits: ["close", "delete"],
|
|
13
|
-
setup(
|
|
14
|
-
const t = o;
|
|
15
|
-
|
|
16
|
-
t("delete");
|
|
17
|
-
}
|
|
18
|
-
return (e, n) => (a(), l(p, {
|
|
13
|
+
setup(l, { emit: o }) {
|
|
14
|
+
const t = l, a = o, s = p(() => t.variableName.length > 18 ? t.variableName.slice(0, 18) + "…" : t.variableName);
|
|
15
|
+
return (n, e) => (r(), c(f, {
|
|
19
16
|
danger: "",
|
|
20
|
-
label: `Delete ${
|
|
21
|
-
onCancel:
|
|
22
|
-
onSubmit:
|
|
17
|
+
label: `Delete ${s.value}`,
|
|
18
|
+
onCancel: e[0] || (e[0] = (i) => a("close")),
|
|
19
|
+
onSubmit: e[1] || (e[1] = (i) => a("delete"))
|
|
23
20
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
21
|
+
default: d(() => [
|
|
22
|
+
n.warningMessage ? (r(), u("p", v, g(n.warningMessage), 1)) : b("", !0)
|
|
26
23
|
]),
|
|
27
24
|
_: 1
|
|
28
25
|
}, 8, ["label"]));
|
|
29
26
|
}
|
|
30
27
|
});
|
|
31
28
|
export {
|
|
32
|
-
|
|
29
|
+
w as default
|
|
33
30
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
name: string;
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
close: () => void;
|
|
5
|
+
rename: (newName: string) => void;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
|
+
name: string;
|
|
8
|
+
}>>> & {
|
|
9
|
+
onClose?: (() => any) | undefined;
|
|
10
|
+
onRename?: ((newName: string) => any) | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=RenameSidebarListElement.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenameSidebarListElement.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/RenameSidebarListElement.vue"],"names":[],"mappings":";UAkCQ,MAAM;;;;;UAAN,MAAM;;;;;AAyGd,wBAOG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineComponent as a, ref as u, openBlock as i, createBlock as s, withCtx as p, createVNode as d, unref as f } from "vue";
|
|
2
|
+
import c from "./SidebarListElementForm.vue.js";
|
|
3
|
+
import { ScalarTextField as v } from "@scalar/components";
|
|
4
|
+
const C = /* @__PURE__ */ a({
|
|
5
|
+
__name: "RenameSidebarListElement",
|
|
6
|
+
props: {
|
|
7
|
+
name: {}
|
|
8
|
+
},
|
|
9
|
+
emits: ["close", "rename"],
|
|
10
|
+
setup(m, { emit: r }) {
|
|
11
|
+
const l = m, n = r, t = u(l.name);
|
|
12
|
+
return (x, e) => (i(), s(c, {
|
|
13
|
+
onCancel: e[1] || (e[1] = (o) => n("close")),
|
|
14
|
+
onSubmit: e[2] || (e[2] = (o) => n("rename", t.value))
|
|
15
|
+
}, {
|
|
16
|
+
default: p(() => [
|
|
17
|
+
d(f(v), {
|
|
18
|
+
modelValue: t.value,
|
|
19
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => t.value = o),
|
|
20
|
+
autofocus: ""
|
|
21
|
+
}, null, 8, ["modelValue"])
|
|
22
|
+
]),
|
|
23
|
+
_: 1
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
C as default
|
|
29
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarListElementForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/SidebarListElementForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarListElementForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/Actions/SidebarListElementForm.vue"],"names":[],"mappings":"AA0FA,iBAAS,cAAc;qBA8FM,GAAG;EAmB/B;AACD,QAAA,MAAM,eAAe;aA5IV,OAAO;YACR,MAAM;;;;;aADL,OAAO;YACR,MAAM;;;;UAkJd,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;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,7 +1,7 @@
|
|
|
1
1
|
import o from "./SidebarListElementForm.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c3d3d457"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,50 +1,53 @@
|
|
|
1
|
-
import { defineComponent as c, openBlock as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { defineComponent as c, openBlock as p, createElementBlock as d, withModifiers as f, renderSlot as b, createElementVNode as g, createVNode as a, unref as t, withCtx as s, createTextVNode as r, normalizeClass as v, toDisplayString as x } from "vue";
|
|
2
|
+
import { ScalarButton as l } from "@scalar/components";
|
|
3
|
+
import { cva as w, cx as S } from "cva";
|
|
4
|
+
const h = { class: "flex gap-10 justify-between" }, k = /* @__PURE__ */ c({
|
|
4
5
|
__name: "SidebarListElementForm",
|
|
5
6
|
props: {
|
|
6
7
|
danger: { type: Boolean },
|
|
7
8
|
label: {}
|
|
8
9
|
},
|
|
9
10
|
emits: ["cancel", "submit"],
|
|
10
|
-
setup(
|
|
11
|
-
const o =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
setup(y, { emit: i }) {
|
|
12
|
+
const o = i, m = w({
|
|
13
|
+
base: "gap-1.5 font-medium px-2.5 h-8 shadow-none focus:outline-none",
|
|
14
|
+
variants: {
|
|
15
|
+
danger: {
|
|
16
|
+
true: "delete-warning-button",
|
|
17
|
+
false: ""
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
return (n, e) => (p(), d("form", {
|
|
22
|
+
class: "flex flex-col gap-4 text-base",
|
|
23
|
+
onSubmit: e[1] || (e[1] = f((u) => o("submit"), ["prevent"]))
|
|
15
24
|
}, [
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class: "
|
|
25
|
+
b(n.$slots, "default", {}, void 0, !0),
|
|
26
|
+
g("div", h, [
|
|
27
|
+
a(t(l), {
|
|
28
|
+
class: "gap-1.5 px-2.5 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
|
|
20
29
|
type: "button",
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
n("button", {
|
|
32
|
-
class: "w-full text-left focus:bg-b-2 hover:bg-b-2 rounded gap-1.5 px-2.5 py-1.5 focus:outline-none flex items-center cursor-pointer delete-warning-button",
|
|
33
|
-
error: t.danger,
|
|
30
|
+
variant: "outlined",
|
|
31
|
+
onClick: e[0] || (e[0] = (u) => o("cancel"))
|
|
32
|
+
}, {
|
|
33
|
+
default: s(() => [
|
|
34
|
+
r(" Cancel ")
|
|
35
|
+
]),
|
|
36
|
+
_: 1
|
|
37
|
+
}),
|
|
38
|
+
a(t(l), {
|
|
39
|
+
class: v(["custom-scroll whitespace-nowrap", t(S)(t(m)({ danger: n.danger }))]),
|
|
34
40
|
type: "submit"
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}),
|
|
42
|
-
l(" " + d(t.label ?? "Submit"), 1)
|
|
43
|
-
], 8, g)
|
|
41
|
+
}, {
|
|
42
|
+
default: s(() => [
|
|
43
|
+
r(x(n.label ?? "Save"), 1)
|
|
44
|
+
]),
|
|
45
|
+
_: 1
|
|
46
|
+
}, 8, ["class"])
|
|
44
47
|
])
|
|
45
48
|
], 32));
|
|
46
49
|
}
|
|
47
50
|
});
|
|
48
51
|
export {
|
|
49
|
-
|
|
52
|
+
k as default
|
|
50
53
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
header?(_: {}): any;
|
|
3
|
-
content?(_: {}): any;
|
|
4
3
|
button?(_: {}): any;
|
|
4
|
+
button?(_: {}): any;
|
|
5
|
+
content?(_: {}): any;
|
|
5
6
|
};
|
|
6
7
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
7
8
|
title?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.vue"],"names":[],"mappings":"AAmNA,iBAAS,cAAc;oBAkGK,GAAG;oBACH,GAAG;oBAEH,GAAG;qBADF,GAAG;EAsB/B;AACD,QAAA,MAAM,eAAe;YA5LT,MAAM;kBACA,OAAO;;;;YADb,MAAM;kBACA,OAAO;;;;iBAAP,OAAO;MAiMvB,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,7 +1,7 @@
|
|
|
1
1
|
import o from "./Sidebar.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ae519e15"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,56 +1,59 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { defineComponent as L, ref as b, withDirectives as B, openBlock as a, createElementBlock as l, normalizeClass as g, normalizeStyle as W, unref as t, renderSlot as r, createElementVNode as w, toDisplayString as _, createCommentVNode as n, vShow as $ } from "vue";
|
|
2
|
+
import { useMediaQuery as y } from "@vueuse/core";
|
|
3
|
+
import { useWorkspace as C } from "../../store/store.js";
|
|
4
|
+
const z = {
|
|
4
5
|
key: 0,
|
|
5
|
-
class: "xl:min-h-header
|
|
6
|
-
},
|
|
6
|
+
class: "xl:min-h-header flex items-center justify-between border-b-1/2 p-2 md:px-4 md:py-2.5 text-sm"
|
|
7
|
+
}, I = { class: "font-medium m-0 text-sm whitespace-nowrap" }, X = /* @__PURE__ */ L({
|
|
7
8
|
__name: "Sidebar",
|
|
8
9
|
props: {
|
|
9
10
|
title: {},
|
|
10
11
|
showSideBar: { type: Boolean, default: !0 }
|
|
11
12
|
},
|
|
12
|
-
setup(
|
|
13
|
-
const
|
|
13
|
+
setup(x) {
|
|
14
|
+
const E = x, { isReadOnly: m, sidebarWidth: o, setSidebarWidth: i } = C(), d = b(!1), u = y("(max-width: 780px)"), c = b(null), p = y("(max-width: 800px)"), k = (e) => {
|
|
14
15
|
e.preventDefault();
|
|
15
|
-
const
|
|
16
|
-
getComputedStyle(
|
|
16
|
+
const f = e.clientX, S = parseInt(
|
|
17
|
+
getComputedStyle(c.value).width || o.value,
|
|
17
18
|
10
|
|
18
|
-
),
|
|
19
|
-
|
|
20
|
-
let
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
|
|
19
|
+
), v = (D) => {
|
|
20
|
+
d.value = !0, document.body.classList.add("dragging");
|
|
21
|
+
let s = S + D.clientX - f;
|
|
22
|
+
s > 420 && (s = 420 + (s - 420) * 0.2), s < 240 && (s = 240), i(`${s}px`);
|
|
23
|
+
}, h = () => {
|
|
24
|
+
d.value = !1, document.body.classList.remove("dragging"), document.documentElement.removeEventListener("mousemove", v, !1), document.documentElement.removeEventListener("mouseup", h, !1), parseInt(o.value, 10) > 420 ? i("360px") : parseInt(o.value, 10) < 240 && i("240px");
|
|
24
25
|
};
|
|
25
|
-
document.documentElement.addEventListener("mousemove",
|
|
26
|
+
document.documentElement.addEventListener("mousemove", v, !1), document.documentElement.addEventListener("mouseup", h, !1);
|
|
26
27
|
};
|
|
27
|
-
return (e,
|
|
28
|
+
return (e, f) => B((a(), l("aside", {
|
|
28
29
|
ref_key: "sidebarRef",
|
|
29
|
-
ref:
|
|
30
|
-
class:
|
|
31
|
-
style:
|
|
30
|
+
ref: c,
|
|
31
|
+
class: g(["sidebar overflow-hidden relative flex flex-col flex-1 md:flex-none bg-b-1 md:border-b-0 md:border-r-1/2 min-w-full md:min-w-fit", { dragging: d.value }]),
|
|
32
|
+
style: W({ width: t(u) ? "100%" : t(o) })
|
|
32
33
|
}, [
|
|
33
|
-
|
|
34
|
-
!
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
r(e.$slots, "header", {}, void 0, !0),
|
|
35
|
+
!t(m) && e.title ? (a(), l("div", z, [
|
|
36
|
+
w("h2", I, _(e.title), 1),
|
|
37
|
+
t(p) ? r(e.$slots, "button", { key: 0 }, void 0, !0) : n("", !0)
|
|
38
|
+
])) : n("", !0),
|
|
39
|
+
w("div", {
|
|
40
|
+
class: g(["custom-scroll sidebar-height pb-0 md:pb-[42px] w-[inherit]", {
|
|
41
|
+
"sidebar-mask": !t(m)
|
|
40
42
|
}])
|
|
41
43
|
}, [
|
|
42
|
-
|
|
44
|
+
r(e.$slots, "content", {}, void 0, !0)
|
|
43
45
|
], 2),
|
|
44
|
-
|
|
45
|
-
|
|
46
|
+
t(p) ? n("", !0) : r(e.$slots, "button", { key: 1 }, void 0, !0),
|
|
47
|
+
t(u) ? n("", !0) : (a(), l("div", {
|
|
48
|
+
key: 2,
|
|
46
49
|
class: "resizer",
|
|
47
|
-
onMousedown:
|
|
48
|
-
}, null, 32)
|
|
50
|
+
onMousedown: k
|
|
51
|
+
}, null, 32))
|
|
49
52
|
], 6)), [
|
|
50
|
-
[
|
|
53
|
+
[$, E.showSideBar]
|
|
51
54
|
]);
|
|
52
55
|
}
|
|
53
56
|
});
|
|
54
57
|
export {
|
|
55
|
-
|
|
58
|
+
X as default
|
|
56
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AAgDA,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"SidebarButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarButton.vue"],"names":[],"mappings":"AAgDA,iBAAS,cAAc;mBA+FI,GAAG;EAiB7B;AACD,QAAA,MAAM,eAAe;WA9HZ,MAAM,IAAI;;WAAV,MAAM,IAAI;aAoIjB,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;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,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as i, createElementBlock as l, createVNode as e, unref as a, withCtx as s, renderSlot as
|
|
2
|
-
import
|
|
3
|
-
import { ScalarButton as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as n, openBlock as i, createElementBlock as l, createVNode as e, unref as a, withCtx as s, renderSlot as d } from "vue";
|
|
2
|
+
import p from "../ScalarHotkey.vue.js";
|
|
3
|
+
import { ScalarButton as m } from "@scalar/components";
|
|
4
|
+
const u = { class: "fixed relative z-10 pt-0 md:px-2.5 md:pb-2 md:bottom-[42px]" }, _ = /* @__PURE__ */ n({
|
|
5
5
|
__name: "SidebarButton",
|
|
6
6
|
props: {
|
|
7
7
|
click: { type: Function }
|
|
@@ -10,17 +10,17 @@ const m = { class: "fixed relative bottom-[42px] z-10 flex px-2.5 pb-2 pt-0" },
|
|
|
10
10
|
const r = o, t = () => {
|
|
11
11
|
r.click();
|
|
12
12
|
};
|
|
13
|
-
return (c, f) => (i(), l("div",
|
|
14
|
-
e(a(
|
|
15
|
-
class: "bg-b-1 text-c-1 hover:bg-b-2 group relative w-full border-1/2 p-1.5 h-auto",
|
|
13
|
+
return (c, f) => (i(), l("div", u, [
|
|
14
|
+
e(a(m), {
|
|
15
|
+
class: "bg-b-1 text-c-1 hover:bg-b-2 group relative w-full border-1/2 px-2 py-1 md:p-1.5 h-auto",
|
|
16
16
|
icon: "Plus",
|
|
17
17
|
variant: "outlined",
|
|
18
18
|
onClick: t
|
|
19
19
|
}, {
|
|
20
20
|
default: s(() => [
|
|
21
|
-
|
|
22
|
-
e(
|
|
23
|
-
class: "absolute right-2 group-hover:opacity-80 text-c-2 add-item-hotkey",
|
|
21
|
+
d(c.$slots, "title"),
|
|
22
|
+
e(p, {
|
|
23
|
+
class: "hidden md:block absolute right-2 group-hover:opacity-80 text-c-2 add-item-hotkey",
|
|
24
24
|
hotkey: "K",
|
|
25
25
|
onHotkeyPressed: t
|
|
26
26
|
})
|
|
@@ -31,5 +31,5 @@ const m = { class: "fixed relative bottom-[42px] z-10 flex px-2.5 pb-2 pt-0" },
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
_ as default
|
|
35
35
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/SubpageHeader.vue"],"names":[],"mappings":"AA2CA,iBAAS,cAAc;
|
|
1
|
+
{"version":3,"file":"SubpageHeader.vue.d.ts","sourceRoot":"","sources":["../../src/components/SubpageHeader.vue"],"names":[],"mappings":"AA2CA,iBAAS,cAAc;qBAwFO,GAAG;EAehC;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,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./SubpageHeader.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const p = /* @__PURE__ */ o
|
|
3
|
+
import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-4f9e2869"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as d, resolveComponent as a, openBlock as l, createElementBlock as i, createElementVNode as r, createVNode as t, unref as o, withCtx as p, renderSlot as u, pushScopeId as m, popScopeId as f } from "vue";
|
|
2
2
|
import { ScalarIcon as _ } from "@scalar/components";
|
|
3
3
|
import { useRoute as h } from "vue-router";
|
|
4
|
-
const b = (e) => (m("data-v-
|
|
4
|
+
const b = (e) => (m("data-v-4f9e2869"), e = e(), f(), e), v = { class: "flex flex-1 flex-col rounded pt-0 h-full bg-b-1 relative border-1/2 rounded mr-1.5 mb-1.5 overflow-hidden" }, x = { class: "hidden md:flex lg:min-h-header items-center w-full p-1 t-app__top-container items-center border-b-1/2" }, k = /* @__PURE__ */ b(() => /* @__PURE__ */ r("span", { class: "leading-none" }, "Back To Requests", -1)), I = /* @__PURE__ */ d({
|
|
5
5
|
__name: "SubpageHeader",
|
|
6
6
|
setup(e) {
|
|
7
7
|
const n = h();
|
|
8
8
|
return (s, g) => {
|
|
9
|
-
const c =
|
|
9
|
+
const c = a("router-link");
|
|
10
10
|
return l(), i("div", v, [
|
|
11
11
|
r("div", x, [
|
|
12
12
|
t(c, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TopNav.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TopNav/TopNav.vue"],"names":[],"mappings":";gBAoQc;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;;AAwdlD,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,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
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-df123a3c"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|