@scalar/api-client 2.2.45 → 2.2.47
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 +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +1 -2
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +35 -30
- 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.vue2.js +66 -60
- package/dist/components/CodeInput/codeVariableWidget.d.ts +5 -5
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +2 -3
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +4 -4
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.js +10 -10
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandActionInput.vue.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +46 -40
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -2
- 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 +14 -14
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +1 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
- package/dist/components/CommandPalette/index.d.ts +1 -1
- package/dist/components/ContextBar.vue.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/DataTableCheckbox.vue.js +6 -6
- package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -6
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +4 -4
- package/dist/components/DataTable/DataTableInput.vue2.js +22 -23
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +3 -3
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +39 -39
- 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.d.ts.map +1 -1
- package/dist/components/EmptyState.vue.js +2 -2
- package/dist/components/EmptyState.vue2.js +13 -13
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +1 -1
- 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/ImportCollectionModal.vue.d.ts +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/ImportCurl/ImportCurlModal.vue.d.ts +3 -3
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Search/useSearch.d.ts +4 -2
- package/dist/components/Search/useSearch.d.ts.map +1 -1
- package/dist/components/Search/useSearch.js +63 -56
- package/dist/components/Search/useSearch.test.d.ts +2 -0
- package/dist/components/Search/useSearch.test.d.ts.map +1 -0
- package/dist/components/Server/ServerDropdown.test.d.ts +2 -0
- package/dist/components/Server/ServerDropdown.test.d.ts.map +1 -0
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue2.js +27 -28
- package/dist/components/Server/ServerVariablesForm.vue.d.ts +2 -2
- package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts +2 -2
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +2 -2
- package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.js +9 -9
- package/dist/components/Server/index.d.ts +2 -2
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +19 -19
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +11 -11
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +1 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.js +19 -13
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +3 -3
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- 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/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue2.js +5 -5
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +3 -3
- package/dist/components/Sidebar/SidebarListElement.vue.js +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue2.js +9 -9
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +3 -3
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts +1 -1
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +74 -73
- package/dist/components/TopNav/TopNavItem.vue.d.ts +5 -5
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/hooks/index.d.ts +5 -4
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/useResponseBody.d.ts +18 -0
- package/dist/hooks/useResponseBody.d.ts.map +1 -0
- package/dist/hooks/useResponseBody.js +28 -0
- package/dist/hooks/useResponseBody.test.d.ts +2 -0
- package/dist/hooks/useResponseBody.test.d.ts.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/layouts/App/ApiClientApp.vue.d.ts +2 -2
- package/dist/layouts/App/create-api-client-app.d.ts +106 -66
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.test.d.ts +2 -0
- package/dist/layouts/App/create-api-client-app.test.d.ts.map +1 -0
- package/dist/layouts/App/index.d.ts +2 -2
- package/dist/layouts/Modal/create-api-client-modal.d.ts +215 -135
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.test.d.ts +2 -0
- package/dist/layouts/Modal/create-api-client-modal.test.d.ts.map +1 -0
- package/dist/layouts/Modal/index.d.ts +2 -2
- package/dist/layouts/Web/create-api-client-web.d.ts +106 -66
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.test.d.ts +2 -0
- package/dist/layouts/Web/create-api-client-web.test.d.ts.map +1 -0
- package/dist/layouts/Web/index.d.ts +2 -2
- package/dist/libs/create-client.d.ts +106 -66
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +56 -57
- package/dist/libs/env-helpers.test.d.ts +2 -0
- package/dist/libs/env-helpers.test.d.ts.map +1 -0
- package/dist/libs/environment-parser.d.ts +1 -1
- package/dist/libs/event-bus.test.d.ts +2 -0
- package/dist/libs/event-bus.test.d.ts.map +1 -0
- package/dist/libs/extractAttachmentFilename.test.d.ts +2 -0
- package/dist/libs/extractAttachmentFilename.test.d.ts.map +1 -0
- package/dist/libs/find-request.test.d.ts +2 -0
- package/dist/libs/find-request.test.d.ts.map +1 -0
- package/dist/libs/getOpenApiDocumentDetails.d.ts +1 -1
- package/dist/libs/getOpenApiDocumentDetails.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/importers/curl.js +1 -1
- package/dist/libs/importers/curl.test.d.ts +2 -0
- package/dist/libs/importers/curl.test.d.ts.map +1 -0
- 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/normalize-headers.test.d.ts +2 -0
- package/dist/libs/normalize-headers.test.d.ts.map +1 -0
- package/dist/libs/parse-curl.test.d.ts +2 -0
- package/dist/libs/parse-curl.test.d.ts.map +1 -0
- package/dist/libs/send-request/build-request-security.d.ts.map +1 -1
- package/dist/libs/send-request/build-request-security.js +13 -12
- package/dist/libs/send-request/build-request-security.test.d.ts +2 -0
- package/dist/libs/send-request/build-request-security.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-fetch-auth.test.d.ts +2 -0
- package/dist/libs/send-request/create-fetch-auth.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-fetch-body.test.d.ts +2 -0
- package/dist/libs/send-request/create-fetch-body.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-fetch-headers.test.d.ts +2 -0
- package/dist/libs/send-request/create-fetch-headers.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-fetch-query-params.test.d.ts +2 -0
- package/dist/libs/send-request/create-fetch-query-params.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-request-operation.d.ts +4 -4
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.js +55 -51
- package/dist/libs/send-request/create-request-operation.test.d.ts +171 -0
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -0
- package/dist/libs/send-request/decode-buffer.test.d.ts +2 -0
- package/dist/libs/send-request/decode-buffer.test.d.ts.map +1 -0
- package/dist/libs/send-request/index.d.ts +2 -2
- package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.test.d.ts +2 -0
- package/dist/libs/send-request/set-request-cookies.test.d.ts.map +1 -0
- package/dist/libs/string-template.test.d.ts +2 -0
- package/dist/libs/string-template.test.d.ts.map +1 -0
- package/dist/router.d.ts +1 -1
- package/dist/routes.d.ts +27 -27
- package/dist/routes.js +4 -4
- package/dist/routes.test.d.ts +2 -0
- package/dist/routes.test.d.ts.map +1 -0
- package/dist/store/active-entities.d.ts +10 -6
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts +1 -1
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/collections.js +17 -14
- package/dist/store/collections.test.d.ts +2 -0
- package/dist/store/collections.test.d.ts.map +1 -0
- package/dist/store/events.d.ts +7 -7
- package/dist/store/import-spec.d.ts +1 -1
- package/dist/store/index.d.ts +2 -2
- package/dist/store/request-example.d.ts +52 -52
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/request.test.d.ts +2 -0
- package/dist/store/request.test.d.ts.map +1 -0
- package/dist/store/requests.d.ts +1 -1
- package/dist/store/router-params.d.ts +1 -1
- package/dist/store/store.d.ts +103 -63
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +1 -1
- package/dist/store/workspace.d.ts +44 -4
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts +2 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +13 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +46 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue2.js +4 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts +28 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js +64 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts +2 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts +12 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +47 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts +2 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts +13 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.js +47 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts +2 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/index.d.ts +5 -0
- package/dist/views/Components/CodeSnippet/index.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/index.js +10 -0
- package/dist/views/Cookies/CookieModal.vue.d.ts +3 -3
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +77 -70
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +127 -113
- 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 +6 -6
- package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.js +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +2 -2
- package/dist/views/Request/Request.vue.d.ts +2 -2
- 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 +92 -86
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts.map +1 -0
- 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/RequestAuthDataTableInput.vue.d.ts +4 -4
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/index.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestBody.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/RequestBody.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +20 -20
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +3 -0
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +7 -0
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +141 -0
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +53 -59
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +71 -62
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +8 -8
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +59 -59
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts +6 -0
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +20 -0
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts +6 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.js +17 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/index.d.ts +2 -1
- package/dist/views/Request/RequestSection/index.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/index.js +4 -2
- package/dist/views/Request/RequestSidebar.vue.d.ts +5 -5
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +2 -2
- package/dist/views/Request/RequestSidebar.vue2.js +211 -193
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +18 -31
- 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 +113 -113
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +5 -5
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +120 -101
- package/dist/views/Request/RequestSubpageHeader.test.d.ts +2 -0
- package/dist/views/Request/RequestSubpageHeader.test.d.ts.map +1 -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.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +50 -64
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +3 -3
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +27 -27
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts +2 -0
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts.map +1 -0
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +6 -0
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +38 -19
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +30 -28
- package/dist/views/Request/ResponseSection/index.d.ts +1 -1
- 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/auth.test.d.ts +2 -0
- package/dist/views/Request/libs/auth.test.d.ts.map +1 -0
- package/dist/views/Request/libs/index.d.ts +2 -2
- package/dist/views/Request/libs/oauth2.d.ts +2 -2
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +7 -7
- package/dist/views/Request/libs/oauth2.test.d.ts +2 -0
- package/dist/views/Request/libs/oauth2.test.d.ts.map +1 -0
- package/dist/views/Request/libs/request.test.d.ts +2 -0
- package/dist/views/Request/libs/request.test.d.ts.map +1 -0
- package/dist/views/Request/libs/watch-mode.d.ts +2 -2
- package/dist/views/Request/libs/watch-mode.test.d.ts +2 -0
- package/dist/views/Request/libs/watch-mode.test.d.ts.map +1 -0
- package/dist/views/Request/types/sidebar-item.d.ts +2 -2
- package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +73 -63
- package/dist/views/Servers/index.d.ts +1 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.js +6 -6
- package/package.json +21 -15
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
2
|
modelValue: string | number;
|
|
3
3
|
value?: string[];
|
|
4
|
-
default?: string | number;
|
|
4
|
+
default?: string | number | undefined;
|
|
5
5
|
canAddCustomValue?: boolean;
|
|
6
|
-
type?: string;
|
|
6
|
+
type?: string | undefined;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
9
9
|
"update:modelValue": (v: string) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
"onUpdate:modelValue"?: (
|
|
11
|
+
"onUpdate:modelValue"?: (v: string) => any;
|
|
12
12
|
}>, {
|
|
13
13
|
canAddCustomValue: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableInputSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInputSelect.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTableInputSelect.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableInputSelect.vue"],"names":[],"mappings":"AA6LA,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IACrC,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1B,CAAC;;;;;;uBAFoB,OAAO;;AAwW/B,wBASG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as O, computed as m, ref as y, watch as g, nextTick as E, openBlock as u, createElementBlock as f, createBlock as v, unref as a, withCtx as
|
|
1
|
+
import { defineComponent as O, computed as m, ref as y, watch as g, nextTick as E, openBlock as u, createElementBlock as f, createBlock as v, unref as a, withCtx as o, createVNode as n, createElementVNode as d, toDisplayString as w, withDirectives as K, withKeys as M, vModelText as R, Fragment as C, renderList as U, normalizeClass as W, createTextVNode as $, createCommentVNode as _ } from "vue";
|
|
2
2
|
import { ScalarComboboxMultiselect as F, ScalarButton as b, ScalarIcon as V, ScalarDropdown as L, ScalarDropdownItem as D, ScalarDropdownDivider as q } from "@scalar/components";
|
|
3
3
|
const G = { class: "pr-4 w-full has-[:focus-visible]:outline has-[:focus-visible]:rounded-[4px] -outline-offset-1" }, H = { class: "text-c-1 whitespace-nowrap" }, J = { class: "text-c-1" }, P = { class: "flex items-center justify-center h-4 w-4" }, Z = /* @__PURE__ */ O({
|
|
4
4
|
__name: "DataTableInputSelect",
|
|
@@ -11,48 +11,48 @@ const G = { class: "pr-4 w-full has-[:focus-visible]:outline has-[:focus-visible
|
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:modelValue"],
|
|
13
13
|
setup(B, { emit: j }) {
|
|
14
|
-
const
|
|
15
|
-
g(
|
|
14
|
+
const s = B, c = j, p = m(() => s.value ?? []), i = y(!1), r = y(""), x = y(null);
|
|
15
|
+
g(r, (e) => {
|
|
16
16
|
c("update:modelValue", e);
|
|
17
17
|
});
|
|
18
18
|
const k = (e) => {
|
|
19
19
|
c("update:modelValue", e), i.value = !1;
|
|
20
20
|
}, z = () => {
|
|
21
|
-
|
|
21
|
+
r.value.trim() && k(r.value);
|
|
22
22
|
}, A = () => {
|
|
23
|
-
|
|
24
|
-
}, N = (e) =>
|
|
23
|
+
r.value.trim() || c("update:modelValue", ""), i.value = !1;
|
|
24
|
+
}, N = (e) => s.modelValue.toString() === e;
|
|
25
25
|
g(i, (e) => {
|
|
26
26
|
e && E(() => {
|
|
27
|
-
var
|
|
28
|
-
(
|
|
27
|
+
var t;
|
|
28
|
+
(t = x.value) == null || t.focus();
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
|
-
const S = m(() =>
|
|
32
|
-
const e = new Set(
|
|
33
|
-
return p.value.filter((
|
|
31
|
+
const S = m(() => s.modelValue !== void 0 ? s.modelValue : s.default), h = m(() => {
|
|
32
|
+
const e = new Set(s.modelValue.toString().split(", "));
|
|
33
|
+
return p.value.filter((t) => e.has(t)).map((t) => ({ id: t, label: t, value: t }));
|
|
34
34
|
}), T = m(
|
|
35
35
|
() => p.value.map((e) => ({ id: e, label: e, value: e }))
|
|
36
36
|
), I = (e) => {
|
|
37
|
-
const
|
|
38
|
-
c("update:modelValue",
|
|
37
|
+
const t = e.map((l) => l.value);
|
|
38
|
+
c("update:modelValue", t.join(", "));
|
|
39
39
|
};
|
|
40
|
-
return (e,
|
|
40
|
+
return (e, t) => (u(), f("div", G, [
|
|
41
41
|
e.type === "array" ? (u(), v(a(F), {
|
|
42
42
|
key: 0,
|
|
43
43
|
modelValue: h.value,
|
|
44
44
|
options: T.value,
|
|
45
45
|
"onUpdate:modelValue": I
|
|
46
46
|
}, {
|
|
47
|
-
default:
|
|
48
|
-
|
|
47
|
+
default: o(() => [
|
|
48
|
+
n(a(b), {
|
|
49
49
|
class: "gap-1.5 font-normal h-full justify-start px-2 py-1.5 custom-scroll pr-6 outline-none",
|
|
50
50
|
fullWidth: "",
|
|
51
51
|
variant: "ghost"
|
|
52
52
|
}, {
|
|
53
|
-
default:
|
|
54
|
-
d("span", H, w(h.value.length > 0 ? h.value.map((
|
|
55
|
-
|
|
53
|
+
default: o(() => [
|
|
54
|
+
d("span", H, w(h.value.length > 0 ? h.value.map((l) => l.label).join(", ") : "Select a value"), 1),
|
|
55
|
+
n(a(V), {
|
|
56
56
|
icon: "ChevronDown",
|
|
57
57
|
size: "md"
|
|
58
58
|
})
|
|
@@ -65,71 +65,71 @@ const G = { class: "pr-4 w-full has-[:focus-visible]:outline has-[:focus-visible
|
|
|
65
65
|
key: 1,
|
|
66
66
|
ref_key: "inputRef",
|
|
67
67
|
ref: x,
|
|
68
|
-
"onUpdate:modelValue":
|
|
68
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => r.value = l),
|
|
69
69
|
class: "border-none text-c-1 min-w-0 w-full px-2 py-1.5 outline-none",
|
|
70
70
|
placeholder: "Value",
|
|
71
71
|
type: "text",
|
|
72
72
|
onBlur: A,
|
|
73
73
|
onKeyup: M(z, ["enter"])
|
|
74
74
|
}, null, 544)), [
|
|
75
|
-
[R,
|
|
75
|
+
[R, r.value]
|
|
76
76
|
]) : (u(), v(a(L), {
|
|
77
77
|
key: 2,
|
|
78
78
|
resize: "",
|
|
79
79
|
value: S.value
|
|
80
80
|
}, {
|
|
81
|
-
items:
|
|
82
|
-
(u(!0), f(C, null, U(p.value, (
|
|
83
|
-
key:
|
|
81
|
+
items: o(() => [
|
|
82
|
+
(u(!0), f(C, null, U(p.value, (l) => (u(), v(a(D), {
|
|
83
|
+
key: l,
|
|
84
84
|
class: "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
|
|
85
|
-
value:
|
|
86
|
-
onClick: (Q) => k(
|
|
85
|
+
value: l,
|
|
86
|
+
onClick: (Q) => k(l)
|
|
87
87
|
}, {
|
|
88
|
-
default:
|
|
88
|
+
default: o(() => [
|
|
89
89
|
d("div", {
|
|
90
90
|
class: W([
|
|
91
91
|
"flex items-center justify-center rounded-full p-[3px] w-4 h-4",
|
|
92
|
-
N(
|
|
92
|
+
N(l) ? "bg-c-accent text-b-1" : "shadow-border text-transparent"
|
|
93
93
|
])
|
|
94
94
|
}, [
|
|
95
|
-
|
|
95
|
+
n(a(V), {
|
|
96
96
|
class: "size-2.5",
|
|
97
97
|
icon: "Checkmark",
|
|
98
98
|
thickness: "3"
|
|
99
99
|
})
|
|
100
100
|
], 2),
|
|
101
|
-
$(" " + w(
|
|
101
|
+
$(" " + w(l), 1)
|
|
102
102
|
]),
|
|
103
103
|
_: 2
|
|
104
104
|
}, 1032, ["value", "onClick"]))), 128)),
|
|
105
105
|
e.canAddCustomValue ? (u(), f(C, { key: 0 }, [
|
|
106
106
|
p.value.length ? (u(), v(a(q), { key: 0 })) : _("", !0),
|
|
107
|
-
|
|
107
|
+
n(a(D), {
|
|
108
108
|
class: "flex items-center gap-1.5",
|
|
109
|
-
onClick:
|
|
109
|
+
onClick: t[1] || (t[1] = (l) => i.value = !0)
|
|
110
110
|
}, {
|
|
111
|
-
default:
|
|
111
|
+
default: o(() => [
|
|
112
112
|
d("div", P, [
|
|
113
|
-
|
|
113
|
+
n(a(V), {
|
|
114
114
|
icon: "Add",
|
|
115
115
|
size: "sm"
|
|
116
116
|
})
|
|
117
117
|
]),
|
|
118
|
-
|
|
118
|
+
t[2] || (t[2] = d("span", null, "Add value", -1))
|
|
119
119
|
]),
|
|
120
120
|
_: 1
|
|
121
121
|
})
|
|
122
122
|
], 64)) : _("", !0)
|
|
123
123
|
]),
|
|
124
|
-
default:
|
|
125
|
-
|
|
124
|
+
default: o(() => [
|
|
125
|
+
n(a(b), {
|
|
126
126
|
class: "gap-1.5 font-normal h-full justify-start px-2 py-1.5 outline-none",
|
|
127
127
|
fullWidth: "",
|
|
128
128
|
variant: "ghost"
|
|
129
129
|
}, {
|
|
130
|
-
default:
|
|
130
|
+
default: o(() => [
|
|
131
131
|
d("span", J, w(S.value || "Select a value"), 1),
|
|
132
|
-
|
|
132
|
+
n(a(V), {
|
|
133
133
|
icon: "ChevronDown",
|
|
134
134
|
size: "md"
|
|
135
135
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableText.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableText.vue"],"names":[],"mappings":"AAoBA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB,CAAC;AAQF,iBAAS,cAAc;WAmDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;
|
|
1
|
+
{"version":3,"file":"DataTableText.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableText.vue"],"names":[],"mappings":"AAoBA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB,CAAC;AAQF,iBAAS,cAAc;WAmDT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { default as DataTable } from './DataTable.vue
|
|
2
|
-
export { default as DataTableCell } from './DataTableCell.vue
|
|
3
|
-
export { default as DataTableCheckbox } from './DataTableCheckbox.vue
|
|
4
|
-
export { default as DataTableHeader } from './DataTableHeader.vue
|
|
5
|
-
export { default as DataTableInput } from './DataTableInput.vue
|
|
6
|
-
export { default as DataTableInputSelect } from './DataTableInputSelect.vue
|
|
7
|
-
export { default as DataTableRow } from './DataTableRow.vue
|
|
8
|
-
export { default as DataTableText } from './DataTableText.vue
|
|
1
|
+
export { default as DataTable } from './DataTable.vue';
|
|
2
|
+
export { default as DataTableCell } from './DataTableCell.vue';
|
|
3
|
+
export { default as DataTableCheckbox } from './DataTableCheckbox.vue';
|
|
4
|
+
export { default as DataTableHeader } from './DataTableHeader.vue';
|
|
5
|
+
export { default as DataTableInput } from './DataTableInput.vue';
|
|
6
|
+
export { default as DataTableInputSelect } from './DataTableInputSelect.vue';
|
|
7
|
+
export { default as DataTableRow } from './DataTableRow.vue';
|
|
8
|
+
export { default as DataTableText } from './DataTableText.vue';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.vue.d.ts","sourceRoot":"","sources":["../../src/components/EmptyState.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"EmptyState.vue.d.ts","sourceRoot":"","sources":["../../src/components/EmptyState.vue"],"names":[],"mappings":";AAgJA,wBAMG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./EmptyState.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const r = /* @__PURE__ */ o(t, [["__scopeId", "data-v-6c848a44"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as c, createElementBlock as n, createElementVNode as e, createVNode as t, unref as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as o, openBlock as c, createElementBlock as n, createElementVNode as e, createVNode as t, unref as a } from "vue";
|
|
2
|
+
import l from "../assets/keycap.ascii.js";
|
|
3
|
+
import s from "./ScalarAsciiArt.vue.js";
|
|
4
4
|
import i from "./ScalarHotkey.vue.js";
|
|
5
|
-
const p = { class: "scale-75 flex flex-center w-full" }, m = { class: "relative" },
|
|
5
|
+
const p = { class: "scale-75 flex flex-center w-full" }, m = { class: "relative" }, d = { class: "relative -ml-12" }, h = /* @__PURE__ */ o({
|
|
6
6
|
__name: "EmptyState",
|
|
7
|
-
setup(
|
|
8
|
-
return (f,
|
|
7
|
+
setup(_) {
|
|
8
|
+
return (f, r) => (c(), n("div", p, [
|
|
9
9
|
e("div", m, [
|
|
10
10
|
t(i, {
|
|
11
|
-
class: "keycap-hotkey",
|
|
11
|
+
class: "keycap-hotkey border-transparent right-14 text-xl",
|
|
12
12
|
hotkey: ""
|
|
13
13
|
}),
|
|
14
|
-
t(
|
|
15
|
-
art:
|
|
14
|
+
t(s, {
|
|
15
|
+
art: a(l),
|
|
16
16
|
class: "!leading-[6px] text-c-3"
|
|
17
17
|
}, null, 8, ["art"])
|
|
18
18
|
]),
|
|
19
|
-
e("div",
|
|
20
|
-
|
|
21
|
-
t(
|
|
22
|
-
art:
|
|
19
|
+
e("div", d, [
|
|
20
|
+
r[0] || (r[0] = e("div", { class: "keycap-hotkey right-16 text-xl" }, "K", -1)),
|
|
21
|
+
t(s, {
|
|
22
|
+
art: a(l),
|
|
23
23
|
class: "!leading-[6px] keycap-n"
|
|
24
24
|
}, null, 8, ["art"])
|
|
25
25
|
])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":"AAqDA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;KACpB,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC5C,CAAC;AAQF,iBAAS,cAAc;WAwGT,OAAO,IAA6B;;uBARvB,GAAG;;;;EAa7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;
|
|
1
|
+
{"version":3,"file":"Form.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Form/Form.vue"],"names":[],"mappings":"AAqDA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,CAAA;QACb,WAAW,EAAE,MAAM,CAAA;KACpB,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAA;CAC5C,CAAC;AAQF,iBAAS,cAAc;WAwGT,OAAO,IAA6B;;uBARvB,GAAG;;;;EAa7B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,0SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpfulLink.vue.d.ts","sourceRoot":"","sources":["../../src/components/HelpfulLink.vue"],"names":[],"mappings":"AAgBA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAQpC,iBAAS,cAAc;WAsCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,gTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;
|
|
1
|
+
{"version":3,"file":"HelpfulLink.vue.d.ts","sourceRoot":"","sources":["../../src/components/HelpfulLink.vue"],"names":[],"mappings":"AAgBA,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAQpC,iBAAS,cAAc;WAsCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,gTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -6,7 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
change: (value: "delete" | "get" | "connect" | "head" | "options" | "patch" | "post" | "put" | "trace") => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
-
onChange?: (
|
|
9
|
+
onChange?: (value: "delete" | "get" | "connect" | "head" | "options" | "patch" | "post" | "put" | "trace") => any;
|
|
10
10
|
}>, {
|
|
11
11
|
isSquare: boolean;
|
|
12
12
|
isEditable: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as HttpMethod } from './HttpMethod.vue
|
|
1
|
+
export { default as HttpMethod } from './HttpMethod.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -18,7 +18,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
18
18
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
19
|
"update:modelValue": (icon: string) => any;
|
|
20
20
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
-
"onUpdate:modelValue"?: (
|
|
21
|
+
"onUpdate:modelValue"?: (icon: string) => any;
|
|
22
22
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
24
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconSelector.vue.d.ts","sourceRoot":"","sources":["../../src/components/IconSelector.vue"],"names":[],"mappings":"AAoEA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,gBAAgB,CAAA;CAC7B,CAAC;AAQF,KAAK,IAAI,GAAG,KAAK,GAAG,QAAQ,CAAA;AAC5B,KAAK,SAAS,GAAG,OAAO,GAAG,KAAK,CAAA;AAChC,KAAK,gBAAgB,GAAG,GAAG,IAAI,IAAI,SAAS,EAAE,CAAA;AAa9C,iBAAS,cAAc;WA4IT,OAAO,IAA6B;;yBATrB,GAAG;uBACJ,GAAG;;;;EAa9B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;
|
|
1
|
+
{"version":3,"file":"IconSelector.vue.d.ts","sourceRoot":"","sources":["../../src/components/IconSelector.vue"],"names":[],"mappings":"AAoEA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,gBAAgB,CAAA;CAC7B,CAAC;AAQF,KAAK,IAAI,GAAG,KAAK,GAAG,QAAQ,CAAA;AAC5B,KAAK,SAAS,GAAG,OAAO,GAAG,KAAK,CAAA;AAChC,KAAK,gBAAgB,GAAG,GAAG,IAAI,IAAI,SAAS,EAAE,CAAA;AAa9C,iBAAS,cAAc;WA4IT,OAAO,IAA6B;;yBATrB,GAAG;uBACJ,GAAG;;;;EAa9B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,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
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
2
|
input: (value: string, integration: null, eventType: "drop") => any;
|
|
3
3
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
onInput?: (
|
|
4
|
+
onInput?: (value: string, integration: null, eventType: "drop") => any;
|
|
5
5
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=DropEventListener.vue.d.ts.map
|
|
@@ -6,7 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
importFinished: () => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
-
onImportFinished?: (
|
|
9
|
+
onImportFinished?: () => any;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
12
12
|
//# sourceMappingURL=ImportCollectionModal.vue.d.ts.map
|
|
@@ -6,7 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
importFinished: () => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
-
onImportFinished?: (
|
|
9
|
+
onImportFinished?: () => any;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
12
12
|
//# sourceMappingURL=ImportNowButton.vue.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
2
|
input: (value: string, integration: null, eventType: "paste") => any;
|
|
3
3
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
onInput?: (
|
|
4
|
+
onInput?: (value: string, integration: null, eventType: "paste") => any;
|
|
5
5
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=PasteEventListener.vue.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
2
|
input: (url: string, integration: string | null, eventType: "query") => any;
|
|
3
3
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
-
onInput?: (
|
|
4
|
+
onInput?: (url: string, integration: string | null, eventType: "query") => any;
|
|
5
5
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=UrlQueryParameterChecker.vue.d.ts.map
|
|
@@ -27,13 +27,13 @@ export declare function useUrlPrefetcher(): {
|
|
|
27
27
|
content: string;
|
|
28
28
|
url: null;
|
|
29
29
|
error: null;
|
|
30
|
-
input?:
|
|
30
|
+
input?: never;
|
|
31
31
|
} | {
|
|
32
32
|
state: string;
|
|
33
33
|
content: string;
|
|
34
34
|
url: string;
|
|
35
35
|
error: null;
|
|
36
|
-
input?:
|
|
36
|
+
input?: never;
|
|
37
37
|
} | {
|
|
38
38
|
state: string;
|
|
39
39
|
content: null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as ImportCollectionListener } from './ImportCollectionListener.vue
|
|
1
|
+
export { default as ImportCollectionListener } from './ImportCollectionListener.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -16,12 +16,12 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
16
16
|
}) => any;
|
|
17
17
|
close: () => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
-
onImportCurl?: (
|
|
19
|
+
onImportCurl?: (payload: {
|
|
20
20
|
parsedCurl: RequestPayload;
|
|
21
21
|
requestName: string;
|
|
22
22
|
collectionUid: string;
|
|
23
|
-
}) => any
|
|
24
|
-
onClose?: (
|
|
23
|
+
}) => any;
|
|
24
|
+
onClose?: () => any;
|
|
25
25
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
export default _default;
|
|
27
27
|
//# sourceMappingURL=ImportCurlModal.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenReader.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScreenReader.vue"],"names":[],"mappings":"AAmCA,KAAK,WAAW,GAAG;IAEf,EAAE,CAAC,EAAE,OAAO,CAAA;CACb,CAAC;AAgBJ,iBAAS,cAAc;WA6CT,OAAO,IAA6B;;yBATrB,GAAG;yBACH,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;QA7EZ,OAAO;6EAoFd,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;
|
|
1
|
+
{"version":3,"file":"ScreenReader.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScreenReader.vue"],"names":[],"mappings":"AAmCA,KAAK,WAAW,GAAG;IAEf,EAAE,CAAC,EAAE,OAAO,CAAA;CACb,CAAC;AAgBJ,iBAAS,cAAc;WA6CT,OAAO,IAA6B;;yBATrB,GAAG;yBACH,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;QA7EZ,OAAO;6EAoFd,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAepG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Request } from '@scalar/oas-utils/entities/spec';
|
|
1
2
|
import { type FuseResult } from 'fuse.js';
|
|
2
3
|
/**
|
|
3
4
|
* Hook for managing search functionality.
|
|
@@ -11,7 +12,7 @@ export declare function useSearch(): {
|
|
|
11
12
|
httpVerb: string;
|
|
12
13
|
id: string;
|
|
13
14
|
path: string;
|
|
14
|
-
link: string;
|
|
15
|
+
link: string | undefined;
|
|
15
16
|
}>[]>;
|
|
16
17
|
selectedSearchResult: import("vue").Ref<number, number>;
|
|
17
18
|
onSearchResultClick: (entry: FuseResult<{
|
|
@@ -20,12 +21,13 @@ export declare function useSearch(): {
|
|
|
20
21
|
httpVerb: string;
|
|
21
22
|
id: string;
|
|
22
23
|
path: string;
|
|
23
|
-
link: string;
|
|
24
|
+
link: string | undefined;
|
|
24
25
|
}>) => void;
|
|
25
26
|
fuseSearch: () => void;
|
|
26
27
|
searchInputRef: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
|
|
27
28
|
searchResultRefs: import("vue").Ref<HTMLElement[], HTMLElement[]>;
|
|
28
29
|
navigateSearchResults: (direction: "up" | "down") => void;
|
|
29
30
|
selectSearchResult: () => void;
|
|
31
|
+
populateFuseDataArray: (items: Request[]) => void;
|
|
30
32
|
};
|
|
31
33
|
//# sourceMappingURL=useSearch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSearch.d.ts","sourceRoot":"","sources":["../../../src/components/Search/useSearch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSearch.d.ts","sourceRoot":"","sources":["../../../src/components/Search/useSearch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAA;AAE9D,OAAa,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAA;AAI/C;;;GAGG;AACH,wBAAgB,SAAS;;;eAUd,MAAM;qBACA,MAAM;kBACT,MAAM;YACZ,MAAM;cACJ,MAAM;cACN,MAAM,GAAG,SAAS;;;iCAwHU,UAAU;eA7HrC,MAAM;qBACA,MAAM;kBACT,MAAM;YACZ,MAAM;cACJ,MAAM;cACN,MAAM,GAAG,SAAS;MAwH8B;sBAxDjC,IAAI;;;uCAae,IAAI,GAAG,MAAM;;mCAtDjB,OAAO,EAAE;EAgIhD"}
|
|
@@ -1,89 +1,96 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { PathId as S } from "../../routes.js";
|
|
2
|
+
import { useActiveEntities as L } from "../../store/active-entities.js";
|
|
3
|
+
import { isDefined as y, shouldIgnoreEntity as T } from "@scalar/oas-utils/helpers";
|
|
4
|
+
import M from "fuse.js";
|
|
5
|
+
import { ref as n, watch as W, computed as b, nextTick as P } from "vue";
|
|
5
6
|
import { useRouter as V } from "vue-router";
|
|
6
|
-
import { useWorkspace as
|
|
7
|
-
function
|
|
8
|
-
const
|
|
9
|
-
activeWorkspace:
|
|
10
|
-
activeWorkspaceRequests:
|
|
11
|
-
activeWorkspaceCollections:
|
|
12
|
-
} =
|
|
7
|
+
import { useWorkspace as B } from "../../store/store.js";
|
|
8
|
+
function Q() {
|
|
9
|
+
const u = V(), {
|
|
10
|
+
activeWorkspace: E,
|
|
11
|
+
activeWorkspaceRequests: f,
|
|
12
|
+
activeWorkspaceCollections: w
|
|
13
|
+
} = L(), { requests: x, tags: A } = B(), c = n([]), i = n([]), a = n(0), r = n(""), v = n(null), m = n([]), p = new M(c.value, {
|
|
13
14
|
keys: ["title", "description", "body"]
|
|
14
|
-
}),
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
const s = (
|
|
15
|
+
}), C = () => {
|
|
16
|
+
r.value = "", a.value = 0, i.value = [], v.value instanceof HTMLInputElement && v.value.blur();
|
|
17
|
+
}, d = (e) => {
|
|
18
|
+
c.value = e.filter((t) => !T(t)).filter((t) => {
|
|
19
|
+
var k;
|
|
20
|
+
const s = (k = w.value) == null ? void 0 : k.find(
|
|
20
21
|
(l) => l.requests.includes(t.uid)
|
|
21
22
|
);
|
|
22
|
-
return !!!(s != null && s.tags.map((l) =>
|
|
23
|
-
var
|
|
24
|
-
return (
|
|
25
|
-
}).filter((l) =>
|
|
23
|
+
return !!!(s != null && s.tags.map((l) => A[l]).filter(y).filter((l) => {
|
|
24
|
+
var I;
|
|
25
|
+
return (I = t.tags) == null ? void 0 : I.includes(l.name);
|
|
26
|
+
}).filter((l) => T(l)).length);
|
|
26
27
|
}).map((t) => {
|
|
27
|
-
var s;
|
|
28
|
+
var s, o;
|
|
28
29
|
return {
|
|
29
30
|
id: t.uid,
|
|
30
31
|
title: t.summary ?? t.method,
|
|
31
32
|
description: t.description ?? "",
|
|
32
33
|
httpVerb: t.method,
|
|
33
34
|
path: t.path,
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
link: (o = u == null ? void 0 : u.resolve({
|
|
36
|
+
name: "request",
|
|
37
|
+
params: {
|
|
38
|
+
[S.Request]: t.uid,
|
|
39
|
+
[S.Workspace]: (s = E.value) == null ? void 0 : s.uid
|
|
40
|
+
}
|
|
41
|
+
})) == null ? void 0 : o.href
|
|
36
42
|
};
|
|
37
|
-
}),
|
|
38
|
-
},
|
|
39
|
-
a.value = 0,
|
|
43
|
+
}), p.setCollection(c.value);
|
|
44
|
+
}, R = () => {
|
|
45
|
+
a.value = 0, i.value = p.search(r.value);
|
|
40
46
|
};
|
|
41
|
-
|
|
42
|
-
e.length ?
|
|
47
|
+
W(r, (e) => {
|
|
48
|
+
e.length ? R() : i.value = [];
|
|
43
49
|
});
|
|
44
|
-
const
|
|
45
|
-
const t = e === "up" ? -1 : 1, s =
|
|
46
|
-
a.value = (a.value + t + s) % s,
|
|
47
|
-
const
|
|
48
|
-
|
|
50
|
+
const D = (e) => {
|
|
51
|
+
const t = e === "up" ? -1 : 1, s = h.value.length;
|
|
52
|
+
a.value = (a.value + t + s) % s, P(() => {
|
|
53
|
+
const o = m.value[a.value];
|
|
54
|
+
o instanceof HTMLElement && o.scrollIntoView({
|
|
49
55
|
behavior: "smooth",
|
|
50
56
|
block: "center"
|
|
51
57
|
});
|
|
52
58
|
});
|
|
53
|
-
},
|
|
59
|
+
}, F = () => {
|
|
54
60
|
if (a.value >= 0) {
|
|
55
|
-
const e =
|
|
56
|
-
e &&
|
|
61
|
+
const e = h.value[a.value];
|
|
62
|
+
e && g(e);
|
|
57
63
|
}
|
|
58
|
-
},
|
|
59
|
-
() =>
|
|
64
|
+
}, H = b(
|
|
65
|
+
() => f.value.map((e) => x[e]).filter(y)
|
|
60
66
|
);
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
W(
|
|
68
|
+
f,
|
|
63
69
|
() => {
|
|
64
|
-
|
|
70
|
+
d(H.value);
|
|
65
71
|
},
|
|
66
72
|
{ immediate: !0 }
|
|
67
73
|
);
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
() =>
|
|
74
|
+
const g = (e) => {
|
|
75
|
+
u.push(e.item.id), C();
|
|
76
|
+
}, h = b(
|
|
77
|
+
() => r.value.length === 0 ? c.value.map((e) => ({
|
|
72
78
|
item: e
|
|
73
|
-
})) :
|
|
79
|
+
})) : i.value
|
|
74
80
|
);
|
|
75
81
|
return {
|
|
76
|
-
searchText:
|
|
77
|
-
searchResultsWithPlaceholderResults:
|
|
82
|
+
searchText: r,
|
|
83
|
+
searchResultsWithPlaceholderResults: h,
|
|
78
84
|
selectedSearchResult: a,
|
|
79
|
-
onSearchResultClick:
|
|
80
|
-
fuseSearch:
|
|
81
|
-
searchInputRef:
|
|
82
|
-
searchResultRefs:
|
|
83
|
-
navigateSearchResults:
|
|
84
|
-
selectSearchResult:
|
|
85
|
+
onSearchResultClick: g,
|
|
86
|
+
fuseSearch: R,
|
|
87
|
+
searchInputRef: v,
|
|
88
|
+
searchResultRefs: m,
|
|
89
|
+
navigateSearchResults: D,
|
|
90
|
+
selectSearchResult: F,
|
|
91
|
+
populateFuseDataArray: d
|
|
85
92
|
};
|
|
86
93
|
}
|
|
87
94
|
export {
|
|
88
|
-
|
|
95
|
+
Q as useSearch
|
|
89
96
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSearch.test.d.ts","sourceRoot":"","sources":["../../../src/components/Search/useSearch.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServerDropdown.test.d.ts","sourceRoot":"","sources":["../../../src/components/Server/ServerDropdown.test.ts"],"names":[],"mappings":""}
|