@scalar/api-client 2.5.18 → 2.5.20
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 +60 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts +2 -2
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBar.vue3.js +4 -0
- package/dist/components/AddressBar/AddressBarHistory.vue.js +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue3.js +4 -0
- package/dist/components/AddressBar/index.d.ts +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +5 -5
- 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.vue3.js +4 -0
- package/dist/components/CodeInput/CodeInput.vue4.js +4 -0
- package/dist/components/CodeInput/codeVariableWidget.d.ts +1 -1
- package/dist/components/CodeInput/index.d.ts +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +3 -3
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteImportCurl.vue3.js +4 -0
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +2 -2
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +22 -22
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue3.js +4 -0
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +1 -1
- package/dist/components/CommandPalette/index.d.ts +1 -1
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +40 -40
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +1 -1
- package/dist/components/DataTable/DataTableInput.vue3.js +4 -0
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
- package/dist/components/DataTable/index.d.ts +8 -8
- package/dist/components/EmptyState.vue.js +1 -1
- package/dist/components/EmptyState.vue3.js +4 -0
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/LabelInput.vue.d.ts +2 -2
- package/dist/components/Form/LabelInput.vue.js +1 -1
- package/dist/components/Form/LabelInput.vue3.js +4 -0
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue3.js +4 -0
- package/dist/components/HttpMethod/index.d.ts +1 -1
- package/dist/components/IconSelector.vue.d.ts +1 -1
- package/dist/components/IconSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts +1 -1
- package/dist/components/ImportCollection/ImportCollectionListener.vue.js +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue2.js +4 -0
- package/dist/components/ImportCollection/ImportCollectionModal.vue3.js +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +1 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +1 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +2 -2
- package/dist/components/ImportCollection/index.d.ts +1 -1
- package/dist/components/ImportCollection/utils/import-collection.d.ts +1 -1
- package/dist/components/ImportCollection/utils/workspace-store-is-empty.d.ts +1 -1
- package/dist/components/OpenApiClientButton.vue.d.ts.map +1 -1
- package/dist/components/OpenApiClientButton.vue.js +3 -3
- package/dist/components/OpenApiClientButton.vue2.js +11 -8
- package/dist/components/OpenApiClientButton.vue3.js +4 -0
- package/dist/components/ScalarAsciiArt.vue.js +1 -1
- package/dist/components/ScalarAsciiArt.vue3.js +4 -0
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/SectionFilter.vue.d.ts +1 -1
- package/dist/components/SectionFilter.vue.d.ts.map +1 -1
- package/dist/components/SectionFilter.vue.js +3 -3
- package/dist/components/SectionFilter.vue2.js +8 -8
- package/dist/components/SectionFilter.vue3.js +4 -0
- package/dist/components/SectionFilterButton.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue3.js +4 -0
- package/dist/components/Server/ServerSelector.vue.d.ts +1 -1
- package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerSelector.vue.js +28 -27
- package/dist/components/Server/ServerVariablesForm.vue.d.ts +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.js +5 -2
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.js +18 -18
- package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +1 -1
- package/dist/components/Server/index.d.ts +3 -3
- package/dist/components/SideNav/DownloadAppButton.vue.js +1 -1
- package/dist/components/SideNav/DownloadAppButton.vue3.js +4 -0
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -2
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +2 -2
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +2 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +2 -2
- 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.vue3.js +4 -0
- 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.vue3.js +4 -0
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +4 -4
- package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue3.js +4 -0
- package/dist/components/Sidebar/SidebarListElement.vue4.js +4 -0
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +2 -2
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/TopNav/TopNavItem.vue.d.ts +5 -5
- package/dist/components/TopNav/TopNavItem.vue.js +1 -1
- package/dist/components/TopNav/TopNavItem.vue3.js +4 -0
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +14 -14
- package/dist/components/ViewLayout/index.d.ts +1 -1
- package/dist/components/index.d.ts +3 -3
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/useSidebar.d.ts +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/layouts/App/ApiClientApp.vue.d.ts +2 -2
- package/dist/layouts/App/ApiClientApp.vue2.js +4 -0
- package/dist/layouts/App/ApiClientApp.vue3.js +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +131 -101
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +1 -1
- package/dist/layouts/App/index.d.ts +2 -2
- package/dist/layouts/App/index.js +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue3.js +4 -0
- package/dist/layouts/Modal/create-api-client-modal.d.ts +263 -203
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/index.d.ts +2 -2
- package/dist/layouts/Web/ApiClientWeb.vue2.js +4 -0
- package/dist/layouts/Web/ApiClientWeb.vue3.js +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +131 -101
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +1 -1
- package/dist/layouts/Web/index.d.ts +2 -2
- package/dist/layouts/Web/index.js +1 -1
- package/dist/libs/create-client.d.ts +131 -101
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/environment-parser.d.ts +1 -1
- package/dist/libs/find-request.d.ts +2 -2
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/get-request-uid-by-path-method.d.ts +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/importers/index.d.ts +1 -1
- package/dist/libs/index.d.ts +16 -16
- package/dist/libs/local-storage.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.d.ts +3 -3
- package/dist/libs/send-request/create-request-operation.test.d.ts +9 -9
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/send-request/index.d.ts +3 -3
- package/dist/plugins/hooks/usePluginManager.d.ts +1 -1
- package/dist/plugins/index.d.ts +2 -2
- package/dist/router.d.ts +1 -1
- package/dist/routes.d.ts +38 -38
- package/dist/store/active-entities.d.ts +9 -9
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/events.d.ts +8 -8
- package/dist/store/import-spec.d.ts +1 -1
- package/dist/store/index.d.ts +2 -2
- package/dist/store/request-example.d.ts +70 -70
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +23 -23
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +32 -2
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/store.d.ts +129 -99
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.css.js +4 -0
- package/dist/views/Collection/CollectionAuthentication.vue.js +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue3.js +4 -0
- package/dist/views/Collection/CollectionEnvironment.vue.js +1 -1
- package/dist/views/Collection/CollectionEnvironment.vue3.js +4 -0
- package/dist/views/Collection/CollectionInfoForm.vue.js +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue3.js +4 -0
- package/dist/views/Collection/CollectionSettings.vue.js +1 -1
- package/dist/views/Collection/CollectionSettings.vue3.js +4 -0
- package/dist/views/Collection/components/EnvironmentForm.vue.d.ts +1 -1
- package/dist/views/Collection/components/EnvironmentForm.vue.js +1 -1
- package/dist/views/Collection/components/EnvironmentForm.vue3.js +4 -0
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts +2 -2
- package/dist/views/Collection/components/MarkdownInput.vue.js +1 -1
- package/dist/views/Collection/components/MarkdownInput.vue3.js +4 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts +1 -1
- package/dist/views/Components/CodeSnippet/index.d.ts +4 -4
- package/dist/views/Cookies/CookieModal.vue.d.ts +3 -3
- package/dist/views/Cookies/CookieModal.vue.js +1 -1
- package/dist/views/Cookies/CookieModal.vue3.js +4 -0
- package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +2 -2
- package/dist/views/Environment/EnvironmentColors.vue.d.ts +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.d.ts +3 -3
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +2 -2
- package/dist/views/Environment/handle-drag.d.ts +1 -1
- package/dist/views/Request/Request.vue.d.ts +3 -3
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +3 -3
- package/dist/views/Request/Request.vue2.js +22 -22
- package/dist/views/Request/Request.vue3.js +4 -0
- package/dist/views/Request/RequestRoot.vue.d.ts +2 -2
- package/dist/views/Request/RequestRoot.vue.js +1 -1
- package/dist/views/Request/RequestRoot.vue3.js +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +57 -59
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue3.js +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +4 -4
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +35 -33
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue3.js +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +5 -5
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +239 -5
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +2 -244
- package/dist/views/Request/RequestSection/RequestAuth/index.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue3.js +4 -0
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue3.js +4 -0
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue3.js +4 -0
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +9 -9
- package/dist/views/Request/RequestSection/RequestTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue3.js +4 -0
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue3.js +4 -0
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +10 -10
- package/dist/views/Request/RequestSection/helpers/update-scheme.d.ts +1 -1
- package/dist/views/Request/RequestSection/index.d.ts +2 -2
- package/dist/views/Request/RequestSidebar.vue.d.ts +3 -3
- package/dist/views/Request/RequestSidebar.vue.js +1 -1
- package/dist/views/Request/RequestSidebar.vue3.js +4 -0
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +14 -14
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue3.js +4 -0
- package/dist/views/Request/RequestSidebarItem.vue4.js +4 -0
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +5 -5
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue3.js +4 -0
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +3 -3
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue3.js +4 -0
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue3.js +4 -0
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue3.js +4 -0
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue3.js +4 -0
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue2.js +4 -0
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue3.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue3.js +4 -0
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue3.js +4 -0
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue3.js +4 -0
- package/dist/views/Request/ResponseSection/index.d.ts +2 -2
- package/dist/views/Request/components/index.d.ts +1 -1
- package/dist/views/Request/consts/index.d.ts +3 -3
- package/dist/views/Request/handle-drag.d.ts +2 -2
- package/dist/views/Request/libs/auth.d.ts +1 -1
- package/dist/views/Request/libs/index.d.ts +3 -3
- package/dist/views/Request/libs/oauth2.d.ts +1 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +51 -51
- package/dist/views/Request/libs/watch-mode.d.ts +2 -2
- package/dist/vitest.setup.d.ts +21 -7
- package/dist/vitest.setup.d.ts.map +1 -1
- package/package.json +21 -21
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent as $, useId as N, ref as
|
|
2
|
-
import { useModal as W, ScalarComboboxMultiselect as Y, ScalarButton as F
|
|
3
|
-
import { safeLocalStorage as
|
|
1
|
+
import { defineComponent as $, useId as N, ref as x, computed as h, createBlock as K, openBlock as m, withCtx as d, createVNode as f, unref as s, createElementVNode as u, createElementBlock as v, Fragment as k, createTextVNode as A, toDisplayString as C, createCommentVNode as j, normalizeClass as z } from "vue";
|
|
2
|
+
import { useModal as W, ScalarComboboxMultiselect as Y, ScalarButton as F } from "@scalar/components";
|
|
3
|
+
import { safeLocalStorage as H, CLIENT_LS_KEYS as J } from "@scalar/helpers/object/local-storage";
|
|
4
|
+
import { ScalarIconCaretDown as P } from "@scalar/icons";
|
|
4
5
|
import { isDefined as G } from "@scalar/oas-utils/helpers";
|
|
5
6
|
import Q from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
6
7
|
import { useLayout as X } from "../../../../hooks/useLayout.js";
|
|
@@ -8,7 +9,7 @@ import { useWorkspace as Z } from "../../../../store/store.js";
|
|
|
8
9
|
import _ from "./DeleteRequestAuthModal.vue.js";
|
|
9
10
|
import ee from "./RequestAuthDataTable.vue.js";
|
|
10
11
|
import { getSecurityRequirements as te, formatComplexScheme as oe, formatScheme as le, getSchemeOptions as ne } from "../../libs/auth.js";
|
|
11
|
-
const
|
|
12
|
+
const re = ["id"], se = { class: "flex flex-1" }, Se = /* @__PURE__ */ $({
|
|
12
13
|
__name: "RequestAuth",
|
|
13
14
|
props: {
|
|
14
15
|
collection: {},
|
|
@@ -22,27 +23,27 @@ const se = ["id"], re = { class: "absolute right-1 flex flex-1" }, ie = { class:
|
|
|
22
23
|
title: {},
|
|
23
24
|
workspace: {}
|
|
24
25
|
},
|
|
25
|
-
setup(
|
|
26
|
+
setup(r) {
|
|
26
27
|
const { layout: q } = X(), {
|
|
27
28
|
securitySchemes: c,
|
|
28
|
-
securitySchemeMutators:
|
|
29
|
-
requestMutators:
|
|
29
|
+
securitySchemeMutators: E,
|
|
30
|
+
requestMutators: O,
|
|
30
31
|
collectionMutators: U
|
|
31
|
-
} = Z(), R = N(), S =
|
|
32
|
+
} = Z(), R = N(), S = x(null), p = W(), b = x(
|
|
32
33
|
null
|
|
33
|
-
), V =
|
|
34
|
-
const t = te(
|
|
34
|
+
), V = x(!1), w = h(() => {
|
|
35
|
+
const t = te(r.operation, r.collection);
|
|
35
36
|
return { filteredRequirements: t.filter((o) => Object.keys(o).length), requirements: t };
|
|
36
37
|
}), g = h(() => {
|
|
37
|
-
const { filteredRequirements: t, requirements: e } =
|
|
38
|
+
const { filteredRequirements: t, requirements: e } = w.value;
|
|
38
39
|
if (!e.length)
|
|
39
40
|
return null;
|
|
40
41
|
const l = !e.some(
|
|
41
42
|
(y) => Object.keys(y).length > 1
|
|
42
43
|
) && t.length < e.length;
|
|
43
44
|
return { icon: l ? "Unlock" : "Lock", text: l ? "Optional" : "Required" };
|
|
44
|
-
}),
|
|
45
|
-
() =>
|
|
45
|
+
}), a = h(
|
|
46
|
+
() => r.selectedSecuritySchemeUids.map((t) => {
|
|
46
47
|
if (Array.isArray(t))
|
|
47
48
|
return oe(t, c);
|
|
48
49
|
const e = c[t ?? ""];
|
|
@@ -57,18 +58,18 @@ const se = ["id"], re = { class: "absolute right-1 flex flex-1" }, ie = { class:
|
|
|
57
58
|
return i.length > 1 ? i : n;
|
|
58
59
|
});
|
|
59
60
|
if (e != null && e.payload) {
|
|
60
|
-
const n =
|
|
61
|
+
const n = E.add(
|
|
61
62
|
e.payload,
|
|
62
|
-
(l =
|
|
63
|
+
(l = r.collection) == null ? void 0 : l.uid
|
|
63
64
|
);
|
|
64
65
|
n && o.push(n.uid);
|
|
65
66
|
}
|
|
66
|
-
|
|
67
|
+
D(o);
|
|
67
68
|
}
|
|
68
|
-
const
|
|
69
|
+
const D = (t) => {
|
|
69
70
|
var e;
|
|
70
|
-
if (
|
|
71
|
-
if (U.edit(
|
|
71
|
+
if (r.collection.useCollectionSecurity) {
|
|
72
|
+
if (U.edit(r.collection.uid, "selectedSecuritySchemeUids", t), !r.persistAuth)
|
|
72
73
|
return;
|
|
73
74
|
const o = t.map((l) => {
|
|
74
75
|
var n;
|
|
@@ -77,11 +78,11 @@ const se = ["id"], re = { class: "absolute right-1 flex flex-1" }, ie = { class:
|
|
|
77
78
|
return (y = c[i]) == null ? void 0 : y.nameKey;
|
|
78
79
|
}) : (n = c[l]) == null ? void 0 : n.nameKey;
|
|
79
80
|
});
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
H().setItem(
|
|
82
|
+
J.SELECTED_SECURITY_SCHEMES,
|
|
82
83
|
JSON.stringify(o)
|
|
83
84
|
);
|
|
84
|
-
} else (e =
|
|
85
|
+
} else (e = r.operation) != null && e.uid && O.edit(r.operation.uid, "selectedSecuritySchemeUids", t);
|
|
85
86
|
};
|
|
86
87
|
function M({ id: t, label: e }) {
|
|
87
88
|
b.value = { id: t, label: e }, p.show();
|
|
@@ -90,19 +91,19 @@ const se = ["id"], re = { class: "absolute right-1 flex flex-1" }, ie = { class:
|
|
|
90
91
|
var o;
|
|
91
92
|
if (!t)
|
|
92
93
|
return;
|
|
93
|
-
const e =
|
|
94
|
+
const e = r.selectedSecuritySchemeUids.filter((l) => {
|
|
94
95
|
const n = t.split(",");
|
|
95
96
|
return n.length > 1 && Array.isArray(l) && n.length === l.length ? l.every((i) => !n.includes(i)) : l !== t;
|
|
96
97
|
});
|
|
97
|
-
|
|
98
|
+
D(e), (o = S.value) == null || o.$el.focus(), p.hide();
|
|
98
99
|
}, B = h(
|
|
99
100
|
() => {
|
|
100
101
|
var t;
|
|
101
102
|
return ne(
|
|
102
|
-
|
|
103
|
-
((t =
|
|
103
|
+
w.value.filteredRequirements,
|
|
104
|
+
((t = r.collection) == null ? void 0 : t.securitySchemes) ?? [],
|
|
104
105
|
c,
|
|
105
|
-
q === "modal" ||
|
|
106
|
+
q === "modal" || r.layout === "reference"
|
|
106
107
|
);
|
|
107
108
|
}
|
|
108
109
|
), I = (t) => {
|
|
@@ -111,29 +112,29 @@ const se = ["id"], re = { class: "absolute right-1 flex flex-1" }, ie = { class:
|
|
|
111
112
|
};
|
|
112
113
|
return (t, e) => (m(), K(Q, {
|
|
113
114
|
class: "group/params relative",
|
|
114
|
-
itemCount:
|
|
115
|
+
itemCount: a.value.length,
|
|
115
116
|
layout: t.layout,
|
|
116
117
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => V.value = o)
|
|
117
118
|
}, {
|
|
118
119
|
title: d(() => [
|
|
119
|
-
|
|
120
|
-
id:
|
|
121
|
-
class: "inline-flex items-center gap-0.5"
|
|
120
|
+
u("div", {
|
|
121
|
+
id: s(R),
|
|
122
|
+
class: "inline-flex items-center gap-0.5 leading-[20px]"
|
|
122
123
|
}, [
|
|
123
|
-
|
|
124
|
+
u("span", null, C(t.title), 1),
|
|
124
125
|
g.value ? (m(), v("span", {
|
|
125
126
|
key: 0,
|
|
126
127
|
class: z(["text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]", { "text-c-1": g.value.text === "Required" }]),
|
|
127
128
|
onClick: I
|
|
128
129
|
}, C(g.value.text), 3)) : j("", !0)
|
|
129
|
-
], 8,
|
|
130
|
+
], 8, re)
|
|
130
131
|
]),
|
|
131
132
|
actions: d(() => [
|
|
132
|
-
|
|
133
|
-
f(
|
|
133
|
+
u("div", se, [
|
|
134
|
+
f(s(Y), {
|
|
134
135
|
class: "w-72 text-xs",
|
|
135
|
-
isDeletable:
|
|
136
|
-
modelValue:
|
|
136
|
+
isDeletable: s(q) !== "modal" && t.layout !== "reference",
|
|
137
|
+
modelValue: a.value,
|
|
137
138
|
teleport: "",
|
|
138
139
|
multiple: "",
|
|
139
140
|
placement: "bottom-end",
|
|
@@ -142,33 +143,30 @@ const se = ["id"], re = { class: "absolute right-1 flex flex-1" }, ie = { class:
|
|
|
142
143
|
"onUpdate:modelValue": L
|
|
143
144
|
}, {
|
|
144
145
|
default: d(() => [
|
|
145
|
-
f(
|
|
146
|
+
f(s(F), {
|
|
146
147
|
ref_key: "comboboxButtonRef",
|
|
147
148
|
ref: S,
|
|
148
|
-
"aria-describedby":
|
|
149
|
-
class: "hover:
|
|
149
|
+
"aria-describedby": s(R),
|
|
150
|
+
class: "group/combobox-button hover:text-c-1 text-c-2 flex h-fit items-center gap-1 px-0.75 py-0.25 text-base font-normal transition-transform",
|
|
150
151
|
fullWidth: "",
|
|
151
152
|
variant: "ghost"
|
|
152
153
|
}, {
|
|
153
154
|
default: d(() => {
|
|
154
155
|
var o;
|
|
155
156
|
return [
|
|
156
|
-
a(
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
]
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
]
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
class: "ml-1 shrink-0",
|
|
170
|
-
icon: "ChevronDown",
|
|
171
|
-
size: "sm"
|
|
157
|
+
a.value.length === 1 ? (m(), v(k, { key: 0 }, [
|
|
158
|
+
e[3] || (e[3] = u("span", { class: "sr-only" }, "Selected Auth Type:", -1)),
|
|
159
|
+
A(" " + C((o = a.value[0]) == null ? void 0 : o.label), 1)
|
|
160
|
+
], 64)) : a.value.length > 1 ? (m(), v(k, { key: 1 }, [
|
|
161
|
+
e[4] || (e[4] = A(" Multiple ")),
|
|
162
|
+
e[5] || (e[5] = u("span", { class: "sr-only" }, "Auth Types Selected", -1))
|
|
163
|
+
], 64)) : (m(), v(k, { key: 2 }, [
|
|
164
|
+
e[6] || (e[6] = u("span", { class: "sr-only" }, "Select", -1)),
|
|
165
|
+
e[7] || (e[7] = A(" Auth Type "))
|
|
166
|
+
], 64)),
|
|
167
|
+
f(s(P), {
|
|
168
|
+
weight: "bold",
|
|
169
|
+
class: "size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180"
|
|
172
170
|
})
|
|
173
171
|
];
|
|
174
172
|
}),
|
|
@@ -186,14 +184,14 @@ const se = ["id"], re = { class: "absolute right-1 flex flex-1" }, ie = { class:
|
|
|
186
184
|
environment: t.environment,
|
|
187
185
|
layout: t.layout,
|
|
188
186
|
persistAuth: t.persistAuth,
|
|
189
|
-
selectedSchemeOptions:
|
|
187
|
+
selectedSchemeOptions: a.value,
|
|
190
188
|
server: t.server,
|
|
191
189
|
workspace: t.workspace
|
|
192
190
|
}, null, 8, ["collection", "envVariables", "environment", "layout", "persistAuth", "selectedSchemeOptions", "server", "workspace"]),
|
|
193
191
|
f(_, {
|
|
194
192
|
scheme: b.value,
|
|
195
|
-
state:
|
|
196
|
-
onClose: e[0] || (e[0] = (o) =>
|
|
193
|
+
state: s(p),
|
|
194
|
+
onClose: e[0] || (e[0] = (o) => s(p).hide()),
|
|
197
195
|
onDelete: e[1] || (e[1] = (o) => {
|
|
198
196
|
var l;
|
|
199
197
|
return T((l = b.value) == null ? void 0 : l.id);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
2
|
import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
|
|
3
3
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
4
|
-
import type { EnvVariable } from '../../../../store/active-entities';
|
|
4
|
+
import type { EnvVariable } from '../../../../store/active-entities.js';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
collection: Collection;
|
|
7
7
|
environment: Environment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue"],"names":[],"mappings":"AAiOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EAEV,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,WAAW,EAAE,OAAO,CAAA;IACpB,qBAAqB,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACtD,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AA+NF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./RequestAuthDataTable.vue2.js";
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
const
|
|
2
|
+
import "./RequestAuthDataTable.vue3.js";
|
|
3
|
+
import a from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-a762e572"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useModal as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
const M = ["onClick"], N = { class: "relative z-10 font-medium whitespace-nowrap" },
|
|
1
|
+
import { defineComponent as k, ref as d, computed as h, watch as S, createElementBlock as l, openBlock as o, withModifiers as g, createCommentVNode as p, createBlock as w, createVNode as v, normalizeClass as s, Fragment as x, renderList as A, createElementVNode as f, toDisplayString as C, unref as c, withCtx as V } from "vue";
|
|
2
|
+
import { useModal as O } from "@scalar/components";
|
|
3
|
+
import B from "./DeleteRequestAuthModal.vue.js";
|
|
4
|
+
import $ from "./RequestAuthTab.vue.js";
|
|
5
|
+
import z from "../../../../components/DataTable/DataTable.vue.js";
|
|
6
|
+
const M = ["onClick"], N = { class: "relative z-10 font-medium whitespace-nowrap" }, D = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current"
|
|
9
|
-
},
|
|
9
|
+
}, L = /* @__PURE__ */ k({
|
|
10
10
|
__name: "RequestAuthDataTable",
|
|
11
11
|
props: {
|
|
12
12
|
collection: {},
|
|
@@ -18,57 +18,59 @@ const M = ["onClick"], N = { class: "relative z-10 font-medium whitespace-nowrap
|
|
|
18
18
|
server: {},
|
|
19
19
|
workspace: {}
|
|
20
20
|
},
|
|
21
|
-
setup(
|
|
22
|
-
const u =
|
|
21
|
+
setup(n) {
|
|
22
|
+
const u = O(), b = d(
|
|
23
23
|
null
|
|
24
|
-
), t =
|
|
25
|
-
|
|
24
|
+
), t = d(0), m = h(() => {
|
|
25
|
+
if (!n.selectedSchemeOptions || n.selectedSchemeOptions.length === 0)
|
|
26
|
+
return [];
|
|
27
|
+
const e = n.selectedSchemeOptions[t.value];
|
|
26
28
|
if (!e)
|
|
27
29
|
return [];
|
|
28
|
-
const r = e
|
|
30
|
+
const r = e.id.split(",").filter(Boolean);
|
|
29
31
|
return r.length > 1 ? r : [e.id];
|
|
30
|
-
});
|
|
31
|
-
return
|
|
32
|
-
() =>
|
|
32
|
+
}), y = h(() => m.value.length > 0);
|
|
33
|
+
return S(
|
|
34
|
+
() => n.selectedSchemeOptions,
|
|
33
35
|
(e) => {
|
|
34
|
-
e[t.value]
|
|
36
|
+
(!e || !e[t.value]) && (t.value = Math.max(0, t.value - 1));
|
|
35
37
|
}
|
|
36
38
|
), (e, r) => (o(), l("form", {
|
|
37
|
-
onSubmit: r[1] || (r[1] =
|
|
39
|
+
onSubmit: r[1] || (r[1] = g(() => {
|
|
38
40
|
}, ["prevent"]))
|
|
39
41
|
}, [
|
|
40
42
|
e.selectedSchemeOptions.length > 1 ? (o(), l("div", {
|
|
41
43
|
key: 0,
|
|
42
|
-
class: s(["box-content flex h-8 flex-wrap gap-x-2.5 overflow-hidden border border-b-0 px-3", e.layout === "client" && "border-
|
|
44
|
+
class: s(["box-content flex h-8 flex-wrap gap-x-2.5 overflow-hidden border border-b-0 px-3", e.layout === "client" && "border-x-0"])
|
|
43
45
|
}, [
|
|
44
|
-
(o(!0), l(
|
|
45
|
-
key:
|
|
46
|
-
class: s(["relative z-1 -mb-[var(--scalar-border-width)] flex h-8 cursor-pointer", [t.value ===
|
|
46
|
+
(o(!0), l(x, null, A(e.selectedSchemeOptions, (a, i) => (o(), l("div", {
|
|
47
|
+
key: a.id,
|
|
48
|
+
class: s(["relative z-1 -mb-[var(--scalar-border-width)] flex h-8 cursor-pointer", [t.value === i ? "text-c-1" : "text-c-3"]])
|
|
47
49
|
}, [
|
|
48
|
-
|
|
50
|
+
f("button", {
|
|
49
51
|
class: "floating-bg relative cursor-pointer border-b-[1px] border-transparent py-1 text-sm font-medium",
|
|
50
52
|
type: "button",
|
|
51
|
-
onClick: (
|
|
53
|
+
onClick: (E) => t.value = i
|
|
52
54
|
}, [
|
|
53
|
-
|
|
55
|
+
f("span", N, C(a.label), 1)
|
|
54
56
|
], 8, M),
|
|
55
|
-
t.value ===
|
|
57
|
+
t.value === i ? (o(), l("div", D)) : p("", !0)
|
|
56
58
|
], 2))), 128))
|
|
57
59
|
], 2)) : p("", !0),
|
|
58
|
-
|
|
60
|
+
y.value ? (o(), w(c(z), {
|
|
59
61
|
key: 1,
|
|
60
62
|
class: s(["flex-1", e.layout === "reference" && "bg-b-1 rounded-b-lg border border-t-0"]),
|
|
61
63
|
columns: [""],
|
|
62
64
|
presentational: ""
|
|
63
65
|
}, {
|
|
64
|
-
default:
|
|
65
|
-
|
|
66
|
+
default: V(() => [
|
|
67
|
+
v($, {
|
|
66
68
|
collection: e.collection,
|
|
67
69
|
envVariables: e.envVariables,
|
|
68
70
|
environment: e.environment,
|
|
69
71
|
layout: e.layout,
|
|
70
72
|
persistAuth: e.persistAuth,
|
|
71
|
-
securitySchemeUids:
|
|
73
|
+
securitySchemeUids: m.value,
|
|
72
74
|
server: e.server,
|
|
73
75
|
workspace: e.workspace
|
|
74
76
|
}, null, 8, ["collection", "envVariables", "environment", "layout", "persistAuth", "securitySchemeUids", "server", "workspace"])
|
|
@@ -81,14 +83,14 @@ const M = ["onClick"], N = { class: "relative z-10 font-medium whitespace-nowrap
|
|
|
81
83
|
e.layout === "reference" && "min-h-[calc(4rem+0.5px)] rounded-b-lg border"
|
|
82
84
|
])
|
|
83
85
|
}, " No authentication selected ", 2)),
|
|
84
|
-
|
|
86
|
+
v(B, {
|
|
85
87
|
scheme: b.value,
|
|
86
|
-
state:
|
|
87
|
-
onClose: r[0] || (r[0] = (
|
|
88
|
+
state: c(u),
|
|
89
|
+
onClose: r[0] || (r[0] = (a) => c(u).hide())
|
|
88
90
|
}, null, 8, ["scheme", "state"])
|
|
89
91
|
], 32));
|
|
90
92
|
}
|
|
91
93
|
});
|
|
92
94
|
export {
|
|
93
|
-
|
|
95
|
+
L as default
|
|
94
96
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
2
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
3
|
-
import type { EnvVariable } from '../../../../store/active-entities';
|
|
3
|
+
import type { EnvVariable } from '../../../../store/active-entities.js';
|
|
4
4
|
import type { VueClassProp } from '../../../../types/vue';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
type?: string;
|
|
@@ -28,10 +28,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
28
28
|
inputFocus: () => any;
|
|
29
29
|
inputBlur: () => any;
|
|
30
30
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
-
onSelectVariable?: (value: string) => any;
|
|
32
|
-
"onUpdate:modelValue"?: (v: string) => any;
|
|
33
|
-
onInputFocus?: () => any;
|
|
34
|
-
onInputBlur?: () => any;
|
|
31
|
+
onSelectVariable?: ((value: string) => any) | undefined;
|
|
32
|
+
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
33
|
+
onInputFocus?: (() => any) | undefined;
|
|
34
|
+
onInputBlur?: (() => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
36
|
required: boolean;
|
|
37
37
|
readOnly: boolean;
|
package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAI/C,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,YAAY,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;AAuBJ,iBAAS,cAAc;WA4GT,OAAO,IAA6B;;yBATpB,GAAG;sBACN,GAAG;;;;EAa7B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cA5JN,OAAO;cAEP,OAAO;6EAmKpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;
|
|
1
|
+
{"version":3,"file":"RequestAuthDataTableInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue"],"names":[],"mappings":"AA8DA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAI/C,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,cAAc,CAAC,EAAE,YAAY,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;AAuBJ,iBAAS,cAAc;WA4GT,OAAO,IAA6B;;yBATpB,GAAG;sBACN,GAAG;;;;EAa7B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;cA5JN,OAAO;cAEP,OAAO;6EAmKpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAgBpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
2
|
import type { Collection, Server } from '@scalar/oas-utils/entities/spec';
|
|
3
3
|
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
4
|
-
import type { EnvVariable } from '../../../../store/active-entities';
|
|
4
|
+
import type { EnvVariable } from '../../../../store/active-entities.js';
|
|
5
5
|
type __VLS_Props = {
|
|
6
6
|
collection: Collection;
|
|
7
7
|
environment: Environment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestAuthTab.vue.d.ts","sourceRoot":"","sources":["../../../../../src/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue"],"names":[],"mappings":"AAyTA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EACV,UAAU,EAEV,MAAM,EACP,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAOrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAY1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,WAAW,EAAE,OAAO,CAAA;IACpB,kBAAkB,EAAE,MAAM,EAAE,CAAA;IAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;AAmgBF,wBAMG"}
|