@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,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useWorkspace as l } from "../../store/
|
|
5
|
-
const u = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as p, openBlock as t, createBlock as r, withCtx as n, unref as e, createCommentVNode as a, createElementVNode as c } from "vue";
|
|
2
|
+
import i from "../../components/CodeInput/CodeInput.vue.js";
|
|
3
|
+
import s from "../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
4
|
+
import { useWorkspace as l } from "../../store/store.js";
|
|
5
|
+
const u = /* @__PURE__ */ c("span", null, "Raw Cookie String", -1), w = /* @__PURE__ */ p({
|
|
6
6
|
__name: "CookieRaw",
|
|
7
7
|
setup(_) {
|
|
8
|
-
const { cookies:
|
|
9
|
-
return (
|
|
8
|
+
const { cookies: m, activeCookieId: o } = l();
|
|
9
|
+
return (d, f) => (t(), r(s, null, {
|
|
10
10
|
title: n(() => [
|
|
11
11
|
u
|
|
12
12
|
]),
|
|
13
13
|
default: n(() => [
|
|
14
|
-
e(o) && e(
|
|
14
|
+
e(o) && e(m)[e(o)] ? (t(), r(i, {
|
|
15
15
|
key: 0,
|
|
16
|
-
class: "px-2 py-2.5",
|
|
16
|
+
class: "pl-px pr-2 md:px-2 py-2.5",
|
|
17
17
|
lineNumbers: "",
|
|
18
18
|
modelValue: ""
|
|
19
|
-
})) :
|
|
19
|
+
})) : a("", !0)
|
|
20
20
|
]),
|
|
21
21
|
_: 1
|
|
22
22
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cookies.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/Cookies.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Cookies.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/Cookies.vue"],"names":[],"mappings":";AAqhBA,wBAKG"}
|
|
@@ -5,21 +5,19 @@ import B from "../../components/Sidebar/SidebarListElement.vue.js";
|
|
|
5
5
|
import F from "../../components/SubpageHeader.vue.js";
|
|
6
6
|
import I from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
7
7
|
import R from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
8
|
-
import { useWorkspace as A } from "../../store/workspace.js";
|
|
9
8
|
import { ScalarIcon as j } from "@scalar/components";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
const
|
|
9
|
+
import { cookieSchema as A } from "@scalar/oas-utils/entities/cookie";
|
|
10
|
+
import { useRouter as H } from "vue-router";
|
|
11
|
+
import P from "./CookieForm.vue.js";
|
|
12
|
+
import T from "./CookieRaw.vue.js";
|
|
13
|
+
import { useSidebar as W } from "../../hooks/useSidebar.js";
|
|
14
|
+
import { useWorkspace as q } from "../../store/store.js";
|
|
15
|
+
import G from "../../components/Sidebar/Sidebar.vue.js";
|
|
16
|
+
const J = { class: "flex-1" }, K = ["onClick"], Q = { class: "before:bg-b-3 before:absolute before:left-[calc(1rem_-_1.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, U = ["onClick"], X = { class: "before:bg-b-3 before:absolute before:left-[calc(1.75rem_-_1.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative" }, be = /* @__PURE__ */ L({
|
|
18
17
|
__name: "Cookies",
|
|
19
|
-
setup(
|
|
20
|
-
const { cookies: p, cookieMutators: g } =
|
|
21
|
-
const t = Object.keys(p).length, e =
|
|
22
|
-
uid: P(),
|
|
18
|
+
setup(Y) {
|
|
19
|
+
const { cookies: p, cookieMutators: g } = q(), { collapsedSidebarFolders: i, toggleSidebarFolder: k } = W(), b = H(), E = () => {
|
|
20
|
+
const t = Object.keys(p).length, e = A.parse({
|
|
23
21
|
name: `Cookie ${t}`,
|
|
24
22
|
value: "",
|
|
25
23
|
domain: "example.com",
|
|
@@ -57,9 +55,9 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
57
55
|
default: n(() => [
|
|
58
56
|
s(I, null, {
|
|
59
57
|
default: n(() => [
|
|
60
|
-
s(a(
|
|
58
|
+
s(a(G), { title: "Cookies" }, {
|
|
61
59
|
content: n(() => [
|
|
62
|
-
f("div",
|
|
60
|
+
f("div", J, [
|
|
63
61
|
s(N, null, {
|
|
64
62
|
default: n(() => [
|
|
65
63
|
(l(!0), m(_, null, x(h.value, (o, r) => (l(), m("div", { key: r }, [
|
|
@@ -77,8 +75,8 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
77
75
|
thickness: "2.5"
|
|
78
76
|
}, null, 8, ["class"]),
|
|
79
77
|
v(" " + S(r), 1)
|
|
80
|
-
], 8,
|
|
81
|
-
O(f("div",
|
|
78
|
+
], 8, K),
|
|
79
|
+
O(f("div", Q, [
|
|
82
80
|
(l(!0), m(_, null, x(o, (d, c) => (l(), m("div", { key: c }, [
|
|
83
81
|
f("button", {
|
|
84
82
|
class: "flex font-medium gap-1.5 items-center pl-5 pr-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
|
|
@@ -94,14 +92,14 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
94
92
|
thickness: "2.5"
|
|
95
93
|
}, null, 8, ["class"]),
|
|
96
94
|
v(" " + S(c), 1)
|
|
97
|
-
], 8,
|
|
98
|
-
O(f("div",
|
|
95
|
+
], 8, U),
|
|
96
|
+
O(f("div", X, [
|
|
99
97
|
(l(!0), m(_, null, x(d, (u) => (l(), y(B, {
|
|
100
98
|
key: u.uid,
|
|
101
99
|
class: "cookie text-xs",
|
|
102
100
|
variable: { name: u.name, uid: u.uid },
|
|
103
101
|
warningMessage: "Are you sure you want to delete this cookie?",
|
|
104
|
-
onDelete: (
|
|
102
|
+
onDelete: (Z) => z(u.uid)
|
|
105
103
|
}, null, 8, ["variable", "onDelete"]))), 128))
|
|
106
104
|
], 512), [
|
|
107
105
|
[$, C(r + c)]
|
|
@@ -128,8 +126,8 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
128
126
|
}),
|
|
129
127
|
s(R, { class: "flex-1" }, {
|
|
130
128
|
default: n(() => [
|
|
131
|
-
s(
|
|
132
|
-
s(
|
|
129
|
+
s(P),
|
|
130
|
+
s(T)
|
|
133
131
|
]),
|
|
134
132
|
_: 1
|
|
135
133
|
})
|
|
@@ -142,5 +140,5 @@ const K = { class: "flex-1" }, Q = ["onClick"], U = { class: "before:bg-b-3 befo
|
|
|
142
140
|
}
|
|
143
141
|
});
|
|
144
142
|
export {
|
|
145
|
-
|
|
143
|
+
be as default
|
|
146
144
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as C, ref as c, onMounted as S, openBlock as r, createBlock as d, withCtx as o, createVNode as a, createElementVNode as _, createElementBlock as f, Fragment as V, renderList as w, unref as u, createTextVNode as h, createSlots as I, createCommentVNode as $, toDisplayString as L, withKeys as B, nextTick as R } from "vue";
|
|
2
2
|
import A from "../../components/CodeInput/CodeInput.vue.js";
|
|
3
3
|
import K from "../../components/Sidebar/Sidebar.vue.js";
|
|
4
4
|
import M from "../../components/Sidebar/SidebarButton.vue.js";
|
|
@@ -8,53 +8,52 @@ import F from "../../components/SubpageHeader.vue.js";
|
|
|
8
8
|
import H from "../../components/ViewLayout/ViewLayout.vue.js";
|
|
9
9
|
import J from "../../components/ViewLayout/ViewLayoutContent.vue.js";
|
|
10
10
|
import O from "../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
11
|
-
import {
|
|
11
|
+
import { environmentSchema as W } from "@scalar/oas-utils/entities/environment";
|
|
12
12
|
import { nanoid as j } from "nanoid";
|
|
13
13
|
import { useRouter as q } from "vue-router";
|
|
14
14
|
import z from "./EnvironmentColors.vue.js";
|
|
15
|
-
|
|
15
|
+
import { useWorkspace as G } from "../../store/store.js";
|
|
16
|
+
const P = { class: "flex-1" }, Q = ["value"], X = { class: "colors ml-auto" }, ve = /* @__PURE__ */ C({
|
|
16
17
|
__name: "Environment",
|
|
17
|
-
setup(
|
|
18
|
-
const v = q(), { environments: l, environmentMutators:
|
|
18
|
+
setup(Y) {
|
|
19
|
+
const v = q(), { environments: l, environmentMutators: i } = G(), e = c(null), p = c(null), m = c(!1);
|
|
19
20
|
function y() {
|
|
20
|
-
const t = {
|
|
21
|
+
const t = W.parse({
|
|
21
22
|
name: "New Environment",
|
|
22
23
|
uid: j(),
|
|
23
24
|
color: "grey",
|
|
24
25
|
raw: JSON.stringify({ exampleKey: "exampleValue" }, null, 2),
|
|
25
26
|
parsed: [],
|
|
26
27
|
isDefault: !1
|
|
27
|
-
};
|
|
28
|
-
|
|
28
|
+
});
|
|
29
|
+
i.add(t), e.value = t.uid, v.push(e.value);
|
|
29
30
|
}
|
|
30
31
|
function E(t) {
|
|
31
|
-
e.value &&
|
|
32
|
+
e.value && i.edit(e.value, "value", t);
|
|
32
33
|
}
|
|
33
34
|
const k = (t) => {
|
|
34
|
-
|
|
35
|
-
}, g = (t) => {
|
|
36
|
-
e.value && (l[e.value].color = t);
|
|
37
|
-
}, x = () => {
|
|
35
|
+
i.delete(t), e.value === t && (e.value = null);
|
|
36
|
+
}, g = (t) => e.value && i.edit(e.value, "color", t), x = () => {
|
|
38
37
|
v.currentRoute.value.params.environment === "default" && (e.value = l.default.uid);
|
|
39
38
|
}, b = () => {
|
|
40
39
|
e.value && !l[e.value].isDefault && (m.value = !0, R(() => {
|
|
41
40
|
var t;
|
|
42
41
|
(t = p.value) == null || t.focus();
|
|
43
42
|
}));
|
|
44
|
-
},
|
|
43
|
+
}, D = (t) => {
|
|
45
44
|
const n = t.target.value;
|
|
46
|
-
e.value && !l[e.value].isDefault &&
|
|
45
|
+
e.value && !l[e.value].isDefault && i.edit(e.value, "name", n);
|
|
47
46
|
};
|
|
48
|
-
return
|
|
47
|
+
return S(x), (t, s) => (r(), d(F, null, {
|
|
49
48
|
default: o(() => [
|
|
50
49
|
a(H, null, {
|
|
51
50
|
default: o(() => [
|
|
52
51
|
a(K, { title: "Environment" }, {
|
|
53
52
|
content: o(() => [
|
|
54
|
-
_("div",
|
|
53
|
+
_("div", P, [
|
|
55
54
|
a(T, null, {
|
|
56
55
|
default: o(() => [
|
|
57
|
-
(r(!0), f(V, null,
|
|
56
|
+
(r(!0), f(V, null, w(u(l), (n) => (r(), d(U, {
|
|
58
57
|
key: n.uid,
|
|
59
58
|
class: "text-xs",
|
|
60
59
|
variable: {
|
|
@@ -64,8 +63,8 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
64
63
|
isDefault: n.isDefault
|
|
65
64
|
},
|
|
66
65
|
warningMessage: "Are you sure you want to delete this environment?",
|
|
67
|
-
onClick: (
|
|
68
|
-
onDelete: (
|
|
66
|
+
onClick: (N) => e.value = n.uid,
|
|
67
|
+
onDelete: (N) => k(n.uid)
|
|
69
68
|
}, null, 8, ["variable", "onClick", "onDelete"]))), 128))
|
|
70
69
|
]),
|
|
71
70
|
_: 1
|
|
@@ -88,9 +87,9 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
88
87
|
default: o(() => [
|
|
89
88
|
e.value ? (r(), d(A, {
|
|
90
89
|
key: 0,
|
|
91
|
-
class: "px-2 py-2.5",
|
|
90
|
+
class: "pl-px pr-2 md:px-2 py-2.5",
|
|
92
91
|
lineNumbers: "",
|
|
93
|
-
modelValue: u(l)[e.value].
|
|
92
|
+
modelValue: u(l)[e.value].value,
|
|
94
93
|
"onUpdate:modelValue": E
|
|
95
94
|
}, null, 8, ["modelValue"])) : $("", !0)
|
|
96
95
|
]),
|
|
@@ -110,11 +109,11 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
110
109
|
spellcheck: "false",
|
|
111
110
|
type: "text",
|
|
112
111
|
value: u(l)[e.value].name,
|
|
113
|
-
onBlur:
|
|
114
|
-
onInput:
|
|
115
|
-
onKeyup:
|
|
116
|
-
}, null, 40,
|
|
117
|
-
_("div",
|
|
112
|
+
onBlur: s[0] || (s[0] = (n) => m.value = !1),
|
|
113
|
+
onInput: D,
|
|
114
|
+
onKeyup: s[1] || (s[1] = B((n) => m.value = !1, ["enter"]))
|
|
115
|
+
}, null, 40, Q)),
|
|
116
|
+
_("div", X, [
|
|
118
117
|
a(z, {
|
|
119
118
|
activeColor: u(l)[e.value].color,
|
|
120
119
|
onSelect: g
|
|
@@ -136,5 +135,5 @@ const G = { class: "flex-1" }, P = ["value"], Q = { class: "colors ml-auto" }, d
|
|
|
136
135
|
}
|
|
137
136
|
});
|
|
138
137
|
export {
|
|
139
|
-
|
|
138
|
+
ve as default
|
|
140
139
|
};
|
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
import type { WorkspaceStore } from '../../store/
|
|
1
|
+
import type { WorkspaceStore } from '../../store/index.js';
|
|
2
2
|
import type { Router } from 'vue-router';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
4
4
|
query: string;
|
|
5
|
-
|
|
6
|
-
environments: WorkspaceStore["environments"];
|
|
5
|
+
activeEnvVariables: WorkspaceStore["activeEnvVariables"];
|
|
7
6
|
router: Router;
|
|
7
|
+
dropdownPosition?: {
|
|
8
|
+
left: number;
|
|
9
|
+
top: number;
|
|
10
|
+
};
|
|
8
11
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
12
|
select: (variable: string) => void;
|
|
10
13
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
11
14
|
query: string;
|
|
12
|
-
|
|
13
|
-
environments: WorkspaceStore["environments"];
|
|
15
|
+
activeEnvVariables: WorkspaceStore["activeEnvVariables"];
|
|
14
16
|
router: Router;
|
|
17
|
+
dropdownPosition?: {
|
|
18
|
+
left: number;
|
|
19
|
+
top: number;
|
|
20
|
+
};
|
|
15
21
|
}>>> & {
|
|
16
22
|
onSelect?: ((variable: string) => any) | undefined;
|
|
17
23
|
}, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentVariableDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentVariableDropdown.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EnvironmentVariableDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Environment/EnvironmentVariableDropdown.vue"],"names":[],"mappings":"AA0HA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAK7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;;WAK/B,MAAM;wBACO,cAAc,CAAC,oBAAoB,CAAC;YAChD,MAAM;uBAEK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;;;;WAJzC,MAAM;wBACO,cAAc,CAAC,oBAAoB,CAAC;YAChD,MAAM;uBAEK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;;;;AAiPlD,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,71 +1,91 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarDropdown as
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { defineComponent as B, ref as f, computed as O, openBlock as o, createBlock as m, unref as i, normalizeStyle as z, withCtx as v, createElementBlock as c, Fragment as D, renderList as N, createElementVNode as u, normalizeClass as P, createTextVNode as w, toDisplayString as h, createVNode as R } from "vue";
|
|
2
|
+
import { ScalarDropdown as $, ScalarButton as j, ScalarIcon as q } from "@scalar/components";
|
|
3
|
+
import { onClickOutside as A } from "@vueuse/core";
|
|
4
|
+
import F from "fuse.js";
|
|
5
|
+
import { parseEnvVariables as k } from "../../libs/environment-parser.js";
|
|
6
|
+
const I = { key: 0 }, T = ["onClick"], L = { class: "flex items-center gap-1.5 whitespace-nowrap" }, Q = { class: "w-20 overflow-hidden text-ellipsis text-right whitespace-nowrap" }, W = /* @__PURE__ */ B({
|
|
5
7
|
__name: "EnvironmentVariableDropdown",
|
|
6
8
|
props: {
|
|
7
9
|
query: {},
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
activeEnvVariables: {},
|
|
11
|
+
router: {},
|
|
12
|
+
dropdownPosition: {}
|
|
11
13
|
},
|
|
12
14
|
emits: ["select"],
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
const e =
|
|
16
|
-
|
|
17
|
-
}, { push:
|
|
15
|
+
setup(y, { emit: b }) {
|
|
16
|
+
const t = y, x = b, s = f(!0), a = f(null), _ = () => {
|
|
17
|
+
const e = V.value.params.workspace;
|
|
18
|
+
g(`/workspace/${e}/environment/default`), s.value = !1;
|
|
19
|
+
}, { push: g, currentRoute: V } = t.router, E = new F(k(t.activeEnvVariables.value), {
|
|
18
20
|
keys: ["key", "value"]
|
|
19
|
-
}),
|
|
20
|
-
const e =
|
|
21
|
+
}), p = O(() => {
|
|
22
|
+
const e = t.query;
|
|
21
23
|
if (!e)
|
|
22
|
-
return
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
}),
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
24
|
+
return k(t.activeEnvVariables.value).slice(-4);
|
|
25
|
+
const l = E.search(e);
|
|
26
|
+
return l.length > 0 ? l.map((r) => r.item) : [];
|
|
27
|
+
}), C = (e) => {
|
|
28
|
+
x("select", e);
|
|
29
|
+
}, S = () => t.activeEnvVariables.value.map((e) => {
|
|
30
|
+
if (e.key === "color")
|
|
31
|
+
return `bg-${e.value}`;
|
|
32
|
+
});
|
|
33
|
+
return A(
|
|
34
|
+
a,
|
|
35
|
+
() => {
|
|
36
|
+
s.value = !1;
|
|
37
|
+
},
|
|
38
|
+
{ ignore: [a] }
|
|
39
|
+
), (e, l) => {
|
|
40
|
+
var r, d;
|
|
41
|
+
return o(), m(i($), {
|
|
42
|
+
ref_key: "dropdownRef",
|
|
43
|
+
ref: a,
|
|
44
|
+
class: "mt-2 z-10 min-w-60 rounded border bg-b-1 p-1 w-fit",
|
|
45
|
+
static: "",
|
|
46
|
+
staticOpen: s.value,
|
|
47
|
+
style: z({
|
|
48
|
+
left: ((r = e.dropdownPosition) == null ? void 0 : r.left) + "px",
|
|
49
|
+
top: ((d = e.dropdownPosition) == null ? void 0 : d.top) + "px"
|
|
50
|
+
}),
|
|
51
|
+
teleport: ".scalar-client"
|
|
52
|
+
}, {
|
|
53
|
+
items: v(() => [
|
|
54
|
+
p.value.length ? (o(), c("ul", I, [
|
|
55
|
+
(o(!0), c(D, null, N(p.value, (n) => (o(), c("li", {
|
|
56
|
+
key: n.key,
|
|
57
|
+
class: "h-8 font-code text-xxs hover:bg-b-2 flex cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",
|
|
58
|
+
onClick: (G) => C(n.key)
|
|
59
|
+
}, [
|
|
60
|
+
u("div", L, [
|
|
61
|
+
u("span", {
|
|
62
|
+
class: P(["h-2.5 w-2.5 min-w-2.5 rounded-full", S()])
|
|
63
|
+
}, null, 2),
|
|
64
|
+
w(" " + h(n.key), 1)
|
|
65
|
+
]),
|
|
66
|
+
u("span", Q, h(n.value), 1)
|
|
67
|
+
], 8, T))), 128))
|
|
68
|
+
])) : (o(), m(i(j), {
|
|
69
|
+
key: 1,
|
|
70
|
+
class: "font-code text-xxs hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",
|
|
71
|
+
variant: "secondary",
|
|
72
|
+
onClick: _
|
|
73
|
+
}, {
|
|
74
|
+
default: v(() => [
|
|
75
|
+
R(i(q), {
|
|
76
|
+
class: "w-2.5",
|
|
77
|
+
icon: "Add"
|
|
78
|
+
}),
|
|
79
|
+
w(" Add Variable ")
|
|
46
80
|
]),
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
])
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}, {
|
|
54
|
-
default: d(() => [
|
|
55
|
-
S(s(N), {
|
|
56
|
-
class: "w-2",
|
|
57
|
-
icon: "Add",
|
|
58
|
-
size: "xs"
|
|
59
|
-
}),
|
|
60
|
-
p(" Add variable ")
|
|
61
|
-
]),
|
|
62
|
-
_: 1
|
|
63
|
-
}))
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
}, 8, ["open"]));
|
|
81
|
+
_: 1
|
|
82
|
+
}))
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}, 8, ["staticOpen", "style"]);
|
|
86
|
+
};
|
|
67
87
|
}
|
|
68
88
|
});
|
|
69
89
|
export {
|
|
70
|
-
|
|
90
|
+
W as default
|
|
71
91
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cAmL8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAiQjD,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Request.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-54a2405d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|