@scalar/api-client 2.1.21 → 2.1.23
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 +46 -0
- package/README.md +22 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts +4 -4
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue2.js +80 -80
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +3 -12
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.d.ts +1 -1
- package/dist/components/AddressBar/AddressBarServer.vue.js +37 -37
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts +3 -12
- package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +11 -44
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +8 -17
- 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 +7 -16
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +5 -5
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +2 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +7 -16
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +31 -31
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +5 -5
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +65 -65
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +7 -16
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +12 -12
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +5 -5
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +33 -33
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +5 -5
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +21 -21
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +5 -5
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.js +14 -14
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +48 -56
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +163 -154
- package/dist/components/ContextBar.vue.d.ts +6 -15
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.vue.d.ts +3 -12
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts +4 -25
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.js +5 -5
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +7 -28
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableHeader.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableHeader.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.d.ts +12 -37
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +7 -28
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +34 -34
- package/dist/components/DataTable/DataTableRow.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableRow.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableText.vue.d.ts +12 -12
- package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableText.vue.js +13 -9
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +37 -37
- package/dist/components/Form/Form.vue.d.ts +3 -12
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/HelpfulLink.vue.d.ts +3 -12
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +7 -32
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/IconSelector.vue.d.ts +6 -15
- package/dist/components/IconSelector.vue.d.ts.map +1 -1
- package/dist/components/IconSelector.vue.js +14 -14
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts +4 -4
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.js +20 -20
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts +1 -1
- package/dist/components/ImportCollection/ImportCollectionListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +6 -15
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +84 -63
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +6 -15
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +38 -42
- package/dist/components/ImportCollection/OpenAppButton.vue.d.ts +3 -12
- package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/OperationBadge.vue.d.ts +3 -12
- package/dist/components/ImportCollection/OperationBadge.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +4 -4
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +4 -4
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts +3 -0
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -0
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +125 -0
- package/dist/components/ImportCollection/WorkspaceSelector.vue2.js +4 -0
- package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +7 -16
- package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCurl/ImportCurlModal.vue.js +2 -2
- package/dist/components/ImportCurl/ImportCurlModal.vue2.js +41 -40
- package/dist/components/ScalarAsciiArt.vue.d.ts +3 -12
- package/dist/components/ScalarAsciiArt.vue.d.ts.map +1 -1
- package/dist/components/ScalarHotkey.vue.d.ts +6 -15
- package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
- package/dist/components/ScreenReader.vue.d.ts +4 -25
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Search/useSearch.d.ts +4 -4
- package/dist/components/SideNav/SideHelp.vue.d.ts +1 -1
- package/dist/components/SideNav/SideHelp.vue.js +49 -49
- package/dist/components/SideNav/SideNav.vue.d.ts +1 -1
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +1 -1
- package/dist/components/SideNav/SideNav.vue2.js +23 -23
- package/dist/components/SideNav/SideNavLink.vue.d.ts +3 -12
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts +3 -12
- package/dist/components/SideNav/WorkspaceProfileIcon.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +8 -17
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +7 -16
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +7 -16
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +7 -16
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +8 -8
- package/dist/components/Sidebar/Sidebar.vue.d.ts +4 -25
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.d.ts +3 -12
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarList.vue.d.ts +1 -1
- package/dist/components/Sidebar/SidebarList.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +11 -34
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +6 -15
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +21 -21
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts +6 -15
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.js +24 -24
- package/dist/components/SubpageHeader.vue.d.ts +1 -1
- package/dist/components/SubpageHeader.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.d.ts +3 -12
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue2.js +66 -66
- package/dist/components/TopNav/TopNavItem.vue.d.ts +11 -20
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue2.js +32 -32
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts +4 -27
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts +1 -1
- package/dist/components/ViewLayout/ViewLayoutContent.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/data/httpHeaders.d.ts +6 -0
- package/dist/data/httpHeaders.d.ts.map +1 -0
- package/dist/data/httpHeaders.js +537 -0
- package/dist/hooks/useDarkModeState.d.ts +1 -1
- package/dist/hooks/useFileDialog.d.ts +15 -0
- package/dist/hooks/useFileDialog.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.d.ts +4 -4
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +10 -10
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +20 -20
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +10 -10
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +10 -10
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/importers/curl.d.ts +25 -1
- package/dist/libs/importers/curl.d.ts.map +1 -1
- package/dist/libs/importers/curl.js +40 -38
- package/dist/libs/parse-curl.d.ts +3 -4
- package/dist/libs/parse-curl.d.ts.map +1 -1
- package/dist/libs/parse-curl.js +58 -55
- package/dist/libs/send-request.d.ts +5 -5
- package/dist/libs/send-request.d.ts.map +1 -1
- package/dist/libs/send-request.js +93 -99
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +4 -4
- package/dist/store/requests.d.ts +4 -4
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/store.d.ts +20 -20
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/tags.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue.d.ts +1 -1
- package/dist/views/Components/RequestBodies/RequestBodies.vue.d.ts +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +15 -15
- package/dist/views/Cookies/CookieRaw.vue.d.ts +1 -1
- package/dist/views/Cookies/CookieRaw.vue.js +14 -14
- package/dist/views/Cookies/Cookies.vue.d.ts +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +23 -23
- package/dist/views/Environment/Environment.vue.d.ts +1 -1
- package/dist/views/Environment/Environment.vue2.js +29 -29
- package/dist/views/Environment/EnvironmentColors.vue.d.ts +6 -15
- package/dist/views/Environment/EnvironmentColors.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +6 -15
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +27 -27
- package/dist/views/Request/Request.vue.d.ts +4 -4
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +6 -15
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +14 -14
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +3 -12
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +82 -82
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +3 -12
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +31 -31
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +3 -12
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +92 -92
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +7 -16
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +60 -60
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +11 -34
- package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +3 -12
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +71 -71
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +3 -12
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +34 -34
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +3 -12
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +34 -34
- 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/RequestTable.vue.d.ts +14 -37
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +67 -67
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts +3 -12
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.d.ts +7 -16
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +1 -1
- package/dist/views/Request/RequestSidebar.vue2.js +92 -91
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +9 -34
- 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 +123 -123
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +6 -15
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +60 -60
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +9 -18
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +4 -4
- package/dist/views/Request/RequestSubpageHeader.vue2.js +26 -26
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts +3 -12
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +26 -26
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts +3 -12
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +8 -8
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyInfo.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +3 -12
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +4 -4
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +3 -12
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +6 -15
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +3 -12
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +15 -15
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts +3 -12
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +19 -19
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +35 -35
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts +3 -12
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +44 -23
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +12 -12
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts +3 -12
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +3 -12
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +42 -42
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +85 -85
- package/dist/views/Servers/ServerForm.vue.d.ts +1 -1
- package/dist/views/Servers/Servers.vue.d.ts +1 -1
- package/dist/views/Servers/Servers.vue2.js +29 -29
- package/dist/views/Settings/Settings.vue.d.ts +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.d.ts +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +37 -37
- package/dist/views/Settings/SettingsGeneralMode.vue.d.ts +1 -1
- package/dist/views/Settings/SettingsGeneralMode.vue.js +38 -38
- package/package.json +14 -19
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as i, ref as c, openBlock as d, createBlock as f, withCtx as s, createTextVNode as k, createVNode as b } from "vue";
|
|
2
2
|
import { useToasts as _ } from "@scalar/use-toasts";
|
|
3
3
|
import { useRouter as w } from "vue-router";
|
|
4
4
|
import v from "./CommandActionForm.vue.js";
|
|
5
5
|
import N from "./CommandActionInput.vue.js";
|
|
6
6
|
import { useWorkspace as V } from "../../store/store.js";
|
|
7
|
-
const T = /* @__PURE__ */
|
|
7
|
+
const T = /* @__PURE__ */ i({
|
|
8
8
|
__name: "CommandPaletteWorkspace",
|
|
9
9
|
emits: ["close", "back"],
|
|
10
10
|
setup(W, { emit: m }) {
|
|
11
|
-
const a = m, { push: n } = w(), { toast: l } = _(), { workspaceMutators:
|
|
12
|
-
if (!
|
|
11
|
+
const a = m, { push: n } = w(), { toast: l } = _(), { workspaceMutators: p } = V(), o = c(""), u = () => {
|
|
12
|
+
if (!o.value.trim()) {
|
|
13
13
|
l("Please enter a name before creating a workspace.", "error");
|
|
14
14
|
return;
|
|
15
15
|
}
|
|
16
|
-
const r =
|
|
17
|
-
name:
|
|
16
|
+
const r = p.add({
|
|
17
|
+
name: o.value
|
|
18
18
|
});
|
|
19
19
|
n(`/workspace/${r.uid}`), a("close");
|
|
20
20
|
};
|
|
21
|
-
return (r,
|
|
22
|
-
disabled: !
|
|
23
|
-
onSubmit:
|
|
21
|
+
return (r, e) => (d(), f(v, {
|
|
22
|
+
disabled: !o.value.trim(),
|
|
23
|
+
onSubmit: u
|
|
24
24
|
}, {
|
|
25
|
-
submit: s(() => [
|
|
25
|
+
submit: s(() => e[2] || (e[2] = [
|
|
26
26
|
k("Create Workspace")
|
|
27
|
-
]),
|
|
27
|
+
])),
|
|
28
28
|
default: s(() => [
|
|
29
29
|
b(N, {
|
|
30
|
-
modelValue:
|
|
31
|
-
"onUpdate:modelValue":
|
|
30
|
+
modelValue: o.value,
|
|
31
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => o.value = t),
|
|
32
32
|
label: "Workspace Name",
|
|
33
33
|
placeholder: "Workspace Name",
|
|
34
|
-
onOnDelete:
|
|
34
|
+
onOnDelete: e[1] || (e[1] = (t) => a("back", t))
|
|
35
35
|
}, null, 8, ["modelValue"])
|
|
36
36
|
]),
|
|
37
37
|
_: 1
|
|
@@ -3,84 +3,76 @@
|
|
|
3
3
|
*
|
|
4
4
|
* This component is a singleton so should only exist in our app once we will use the event bus to trigger it
|
|
5
5
|
*/
|
|
6
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const PaletteComponents: {
|
|
9
|
-
readonly 'Import Collection': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
close: () =>
|
|
11
|
-
back: (e: KeyboardEvent) =>
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
9
|
+
readonly 'Import Collection': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
10
|
+
close: () => any;
|
|
11
|
+
back: (e: KeyboardEvent) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
13
13
|
onClose?: (() => any) | undefined;
|
|
14
14
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
15
|
-
}, {}, {}>;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
readonly 'Create Request': import("vue").DefineComponent<{
|
|
17
|
-
metaData
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
parentUid: string;
|
|
21
|
-
}>;
|
|
17
|
+
metaData?: {
|
|
18
|
+
itemUid: string;
|
|
19
|
+
parentUid: string;
|
|
22
20
|
};
|
|
23
|
-
}, {},
|
|
24
|
-
close: () =>
|
|
25
|
-
back: (e: KeyboardEvent) =>
|
|
26
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
27
|
-
metaData
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
parentUid: string;
|
|
31
|
-
}>;
|
|
21
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
22
|
+
close: () => any;
|
|
23
|
+
back: (e: KeyboardEvent) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
25
|
+
metaData?: {
|
|
26
|
+
itemUid: string;
|
|
27
|
+
parentUid: string;
|
|
32
28
|
};
|
|
33
|
-
}
|
|
29
|
+
}> & Readonly<{
|
|
34
30
|
onClose?: (() => any) | undefined;
|
|
35
31
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
36
|
-
}, {}, {}>;
|
|
37
|
-
readonly 'Create Workspace': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
-
close: () =>
|
|
39
|
-
back: (e: KeyboardEvent) =>
|
|
40
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
readonly 'Create Workspace': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
|
+
close: () => any;
|
|
35
|
+
back: (e: KeyboardEvent) => any;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
41
37
|
onClose?: (() => any) | undefined;
|
|
42
38
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
43
|
-
}, {}, {}>;
|
|
44
|
-
readonly 'Add Tag': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
|
-
close: () =>
|
|
46
|
-
back: (e: KeyboardEvent) =>
|
|
47
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
39
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
readonly 'Add Tag': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
41
|
+
close: () => any;
|
|
42
|
+
back: (e: KeyboardEvent) => any;
|
|
43
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
48
44
|
onClose?: (() => any) | undefined;
|
|
49
45
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
50
|
-
}, {}, {}>;
|
|
51
|
-
readonly 'Add Server': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
52
|
-
close: () =>
|
|
53
|
-
back: (e: KeyboardEvent) =>
|
|
54
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
46
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
readonly 'Add Server': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
48
|
+
close: () => any;
|
|
49
|
+
back: (e: KeyboardEvent) => any;
|
|
50
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
55
51
|
onClose?: (() => any) | undefined;
|
|
56
52
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
57
|
-
}, {}, {}>;
|
|
58
|
-
readonly 'Create Collection': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
-
close: () =>
|
|
60
|
-
back: (e: KeyboardEvent) =>
|
|
61
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
53
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
|
+
readonly 'Create Collection': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
55
|
+
close: () => any;
|
|
56
|
+
back: (e: KeyboardEvent) => any;
|
|
57
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
62
58
|
onClose?: (() => any) | undefined;
|
|
63
59
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
64
|
-
}, {}, {}>;
|
|
60
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
61
|
readonly 'Add Example': import("vue").DefineComponent<{
|
|
66
|
-
metaData
|
|
67
|
-
|
|
68
|
-
itemUid: string;
|
|
69
|
-
}>;
|
|
62
|
+
metaData?: {
|
|
63
|
+
itemUid: string;
|
|
70
64
|
};
|
|
71
|
-
}, {},
|
|
72
|
-
close: () =>
|
|
73
|
-
back: (e: KeyboardEvent) =>
|
|
74
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
75
|
-
metaData
|
|
76
|
-
|
|
77
|
-
itemUid: string;
|
|
78
|
-
}>;
|
|
65
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
66
|
+
close: () => any;
|
|
67
|
+
back: (e: KeyboardEvent) => any;
|
|
68
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
69
|
+
metaData?: {
|
|
70
|
+
itemUid: string;
|
|
79
71
|
};
|
|
80
|
-
}
|
|
72
|
+
}> & Readonly<{
|
|
81
73
|
onClose?: (() => any) | undefined;
|
|
82
74
|
onBack?: ((e: KeyboardEvent) => any) | undefined;
|
|
83
|
-
}, {}, {}>;
|
|
75
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
84
76
|
};
|
|
85
77
|
/** Infer the types from the commands */
|
|
86
78
|
export type CommandNames = keyof typeof PaletteComponents;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AA2XA;;;;GAIG;;AACH,wBAgfI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQpB,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CAAA;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,8DAA8D;IAC9D,WAAW,CAAC,EAAE,YAAY,CAAA;IAC1B,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,CACA"}
|
|
@@ -2,8 +2,8 @@ import o from "./TheCommandPalette.vue2.js";
|
|
|
2
2
|
import { PaletteComponents as s } from "./TheCommandPalette.vue2.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const
|
|
5
|
+
const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c50523ba"]]);
|
|
6
6
|
export {
|
|
7
7
|
s as PaletteComponents,
|
|
8
|
-
|
|
8
|
+
r as default
|
|
9
9
|
};
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useModal as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
1
|
+
import { defineComponent as U, ref as i, computed as E, watch as G, onMounted as Q, onBeforeUnmount as j, openBlock as a, createBlock as K, unref as r, withCtx as _, createElementVNode as u, createVNode as f, createTextVNode as M, createElementBlock as m, Fragment as p, withDirectives as T, withKeys as g, withModifiers as D, vModelText as J, renderList as B, toDisplayString as V, vShow as O, normalizeClass as X, createCommentVNode as Y, resolveDynamicComponent as Z, mergeProps as ee, nextTick as W } from "vue";
|
|
2
|
+
import { useModal as oe, ScalarIcon as $ } from "@scalar/components";
|
|
3
|
+
import { Dialog as te, DialogPanel as ne, DialogTitle as ae } from "@headlessui/vue";
|
|
4
|
+
import { useRouter as le } from "vue-router";
|
|
5
|
+
import se from "./CommandPaletteCollection.vue.js";
|
|
6
|
+
import re from "./CommandPaletteExample.vue.js";
|
|
7
|
+
import me from "./CommandPaletteImport.vue.js";
|
|
8
|
+
import ce from "./CommandPaletteRequest.vue.js";
|
|
9
|
+
import ie from "./CommandPaletteServer.vue.js";
|
|
10
|
+
import ue from "./CommandPaletteTag.vue.js";
|
|
11
|
+
import de from "./CommandPaletteWorkspace.vue.js";
|
|
12
|
+
import { useWorkspace as fe } from "../../store/store.js";
|
|
13
|
+
const pe = { class: "bg-b-2 flex items-center rounded-md mb-2.5 pl-2 focus-within:bg-b-1 focus-within:shadow-border" }, ve = { for: "commandmenu" }, Ce = ["onKeydown"], he = ["onClick"], ke = {
|
|
13
14
|
key: 0,
|
|
14
15
|
class: "text-c-3 text-center text-sm p-2 pt-3"
|
|
15
|
-
},
|
|
16
|
+
}, xe = {
|
|
16
17
|
name: "TheCommandPalette"
|
|
17
|
-
},
|
|
18
|
-
"Import Collection":
|
|
19
|
-
"Create Request":
|
|
20
|
-
"Create Workspace":
|
|
21
|
-
"Add Tag":
|
|
22
|
-
"Add Server":
|
|
23
|
-
"Create Collection":
|
|
24
|
-
"Add Example":
|
|
25
|
-
},
|
|
26
|
-
...
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
18
|
+
}, be = {
|
|
19
|
+
"Import Collection": me,
|
|
20
|
+
"Create Request": ce,
|
|
21
|
+
"Create Workspace": de,
|
|
22
|
+
"Add Tag": ue,
|
|
23
|
+
"Add Server": ie,
|
|
24
|
+
"Create Collection": se,
|
|
25
|
+
"Add Example": re
|
|
26
|
+
}, Ee = /* @__PURE__ */ U({
|
|
27
|
+
...xe,
|
|
28
|
+
setup(ye) {
|
|
29
|
+
const A = [
|
|
29
30
|
{
|
|
30
31
|
label: "",
|
|
31
32
|
commands: [
|
|
@@ -74,152 +75,160 @@ const ie = { class: "commandmenu z-overlay custom-scroll" }, ue = { class: "bg-b
|
|
|
74
75
|
}
|
|
75
76
|
]
|
|
76
77
|
}
|
|
77
|
-
],
|
|
78
|
-
() =>
|
|
79
|
-
const t =
|
|
78
|
+
], d = oe(), { push: N } = le(), { activeWorkspace: H, events: v } = fe(), x = i(), l = i(""), s = i(null), c = i(-1), S = i([]), C = E(
|
|
79
|
+
() => A.reduce((o, e) => {
|
|
80
|
+
const t = e.commands.filter(
|
|
80
81
|
(n) => n.name.toLowerCase().includes(l.value.toLowerCase())
|
|
81
82
|
);
|
|
82
|
-
return [...
|
|
83
|
+
return [...o, ...t];
|
|
83
84
|
}, [])
|
|
84
|
-
),
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
l.value !== "" && (
|
|
88
|
-
var
|
|
89
|
-
return (
|
|
85
|
+
), h = () => {
|
|
86
|
+
d.hide(), l.value = "", s.value = null, c.value = -1;
|
|
87
|
+
}, q = (o) => {
|
|
88
|
+
l.value !== "" && (o == null || o.preventDefault()), s.value = null, W(() => {
|
|
89
|
+
var e;
|
|
90
|
+
return (e = b.value) == null ? void 0 : e.focus();
|
|
90
91
|
});
|
|
91
|
-
},
|
|
92
|
-
"path" in
|
|
93
|
-
},
|
|
94
|
-
commandName:
|
|
95
|
-
metaData:
|
|
92
|
+
}, P = (o) => {
|
|
93
|
+
"path" in o ? (N(`/workspace/${H.value.uid}${o.path}`), h()) : s.value = o.name;
|
|
94
|
+
}, b = i(), L = ({
|
|
95
|
+
commandName: o,
|
|
96
|
+
metaData: e
|
|
96
97
|
} = {}) => {
|
|
97
|
-
s.value =
|
|
98
|
+
s.value = o ?? null, x.value = e, d.show(), W(() => {
|
|
98
99
|
var t;
|
|
99
|
-
return (t =
|
|
100
|
+
return (t = b.value) == null ? void 0 : t.focus();
|
|
100
101
|
});
|
|
101
102
|
};
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
G(l, (o) => {
|
|
104
|
+
o && C.value.length > 0 && (c.value = 0);
|
|
104
105
|
});
|
|
105
|
-
const
|
|
106
|
-
var
|
|
107
|
-
if (!
|
|
108
|
-
|
|
109
|
-
const t =
|
|
110
|
-
|
|
106
|
+
const R = (o, e) => {
|
|
107
|
+
var k;
|
|
108
|
+
if (!d.open) return;
|
|
109
|
+
e.preventDefault();
|
|
110
|
+
const t = o === "up" ? -1 : 1, n = C.value.length;
|
|
111
|
+
c.value = (c.value + t + n) % n, (k = S.value[c.value]) == null || k.scrollIntoView({
|
|
111
112
|
behavior: "smooth",
|
|
112
113
|
block: "nearest"
|
|
113
114
|
});
|
|
114
|
-
},
|
|
115
|
-
() =>
|
|
116
|
-
),
|
|
117
|
-
!
|
|
118
|
-
},
|
|
119
|
-
|
|
115
|
+
}, y = E(
|
|
116
|
+
() => C.value[c.value]
|
|
117
|
+
), F = (o) => {
|
|
118
|
+
!y.value || s.value || (o.preventDefault(), o.stopPropagation(), P(y.value));
|
|
119
|
+
}, I = (o) => {
|
|
120
|
+
d.open && o != null && o.closeModal && h();
|
|
120
121
|
};
|
|
121
|
-
return
|
|
122
|
-
|
|
123
|
-
}),
|
|
124
|
-
|
|
125
|
-
}), (
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
[
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
]),
|
|
145
|
-
(a(), X(Y(he[s.value]), Z(b.value ? { metaData: b.value } : {}, {
|
|
146
|
-
onBack: o[5] || (o[5] = (t) => N(t)),
|
|
147
|
-
onClose: C
|
|
148
|
-
}), null, 16))
|
|
149
|
-
], 64)) : (a(), r(d, { key: 0 }, [
|
|
150
|
-
m("div", ue, [
|
|
151
|
-
m("label", de, [
|
|
152
|
-
g(f(A), {
|
|
153
|
-
class: "text-c-2 mr-2.5",
|
|
154
|
-
icon: "Search",
|
|
155
|
-
size: "md",
|
|
156
|
-
thickness: "1.5"
|
|
157
|
-
})
|
|
158
|
-
]),
|
|
159
|
-
k(m("input", {
|
|
160
|
-
id: "commandmenu",
|
|
161
|
-
ref_key: "commandInputRef",
|
|
162
|
-
ref: x,
|
|
163
|
-
"onUpdate:modelValue": o[1] || (o[1] = (t) => l.value = t),
|
|
164
|
-
autocomplete: "off",
|
|
165
|
-
autofocus: "",
|
|
166
|
-
class: "w-full rounded bg-none border-none py-1.5 text-sm focus:outline-none",
|
|
167
|
-
placeholder: "Search commands...",
|
|
168
|
-
type: "text",
|
|
169
|
-
onKeydown: [
|
|
170
|
-
o[2] || (o[2] = $(S((t) => z("down", t), ["stop"]), ["down"])),
|
|
171
|
-
$(S(H, ["stop"]), ["enter"]),
|
|
172
|
-
o[3] || (o[3] = $(S((t) => z("up", t), ["stop"]), ["up"]))
|
|
173
|
-
]
|
|
174
|
-
}, null, 40, fe), [
|
|
175
|
-
[Q, l.value]
|
|
176
|
-
])
|
|
177
|
-
]),
|
|
178
|
-
(a(), r(d, null, B(D, (t) => (a(), r(d, {
|
|
179
|
-
key: t.label
|
|
180
|
-
}, [
|
|
181
|
-
k(m("div", { class: "text-c-3 font-medium text-xs px-2 mb-1 mt-2" }, M(t.label), 513), [
|
|
182
|
-
[
|
|
183
|
-
y,
|
|
184
|
-
t.commands.filter(
|
|
185
|
-
(n) => n.name.toLowerCase().includes(l.value.toLowerCase())
|
|
186
|
-
).length > 0
|
|
187
|
-
]
|
|
188
|
-
]),
|
|
189
|
-
(a(!0), r(d, null, B(t.commands.filter(
|
|
190
|
-
(n) => n.name.toLowerCase().includes(l.value.toLowerCase())
|
|
191
|
-
), (n, h) => {
|
|
192
|
-
var I;
|
|
193
|
-
return a(), r("div", {
|
|
194
|
-
key: n.name,
|
|
195
|
-
ref_for: !0,
|
|
196
|
-
ref: (w) => {
|
|
197
|
-
w && (L.value[h] = w);
|
|
198
|
-
},
|
|
199
|
-
class: j(["commandmenu-item text-sm flex items-center py-1.5 px-2 rounded hover:bg-b-2 cursor-pointer", {
|
|
200
|
-
"bg-b-2": n.name === ((I = _.value) == null ? void 0 : I.name)
|
|
201
|
-
}]),
|
|
202
|
-
onClick: (w) => R(n)
|
|
122
|
+
return Q(() => {
|
|
123
|
+
v.commandPalette.on(L), v.hotKeys.on(I);
|
|
124
|
+
}), j(() => {
|
|
125
|
+
v.commandPalette.off(L), v.hotKeys.off(I);
|
|
126
|
+
}), (o, e) => (a(), K(r(te), {
|
|
127
|
+
open: r(d).open,
|
|
128
|
+
onClose: e[5] || (e[5] = (t) => h())
|
|
129
|
+
}, {
|
|
130
|
+
default: _(() => [
|
|
131
|
+
e[7] || (e[7] = u("div", { class: "commandmenu-overlay z-overlay" }, null, -1)),
|
|
132
|
+
f(r(ne), { class: "commandmenu z-overlay custom-scroll" }, {
|
|
133
|
+
default: _(() => [
|
|
134
|
+
f(r(ae), { class: "sr-only" }, {
|
|
135
|
+
default: _(() => e[6] || (e[6] = [
|
|
136
|
+
M("API Client Command Menu")
|
|
137
|
+
])),
|
|
138
|
+
_: 1
|
|
139
|
+
}),
|
|
140
|
+
s.value ? (a(), m(p, { key: 1 }, [
|
|
141
|
+
u("button", {
|
|
142
|
+
class: "absolute p-0.75 hover:bg-b-3 rounded text-c-3 active:text-c-1 mr-1.5 my-1.25 z-1",
|
|
143
|
+
type: "button",
|
|
144
|
+
onClick: e[3] || (e[3] = (t) => s.value = null)
|
|
203
145
|
}, [
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
icon: n.icon,
|
|
146
|
+
f(r($), {
|
|
147
|
+
icon: "ChevronLeft",
|
|
207
148
|
size: "md",
|
|
208
149
|
thickness: "1.5"
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
],
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
150
|
+
})
|
|
151
|
+
]),
|
|
152
|
+
(a(), K(Z(be[s.value]), ee(x.value ? { metaData: x.value } : {}, {
|
|
153
|
+
onBack: e[4] || (e[4] = (t) => q(t)),
|
|
154
|
+
onClose: h
|
|
155
|
+
}), null, 16))
|
|
156
|
+
], 64)) : (a(), m(p, { key: 0 }, [
|
|
157
|
+
u("div", pe, [
|
|
158
|
+
u("label", ve, [
|
|
159
|
+
f(r($), {
|
|
160
|
+
class: "text-c-2 mr-2.5",
|
|
161
|
+
icon: "Search",
|
|
162
|
+
size: "md",
|
|
163
|
+
thickness: "1.5"
|
|
164
|
+
})
|
|
165
|
+
]),
|
|
166
|
+
T(u("input", {
|
|
167
|
+
id: "commandmenu",
|
|
168
|
+
ref_key: "commandInputRef",
|
|
169
|
+
ref: b,
|
|
170
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => l.value = t),
|
|
171
|
+
autocomplete: "off",
|
|
172
|
+
autofocus: "",
|
|
173
|
+
class: "w-full rounded bg-none border-none py-1.5 text-sm focus:outline-none",
|
|
174
|
+
placeholder: "Search commands...",
|
|
175
|
+
type: "text",
|
|
176
|
+
onKeydown: [
|
|
177
|
+
e[1] || (e[1] = g(D((t) => R("down", t), ["stop"]), ["down"])),
|
|
178
|
+
g(D(F, ["stop"]), ["enter"]),
|
|
179
|
+
e[2] || (e[2] = g(D((t) => R("up", t), ["stop"]), ["up"]))
|
|
180
|
+
]
|
|
181
|
+
}, null, 40, Ce), [
|
|
182
|
+
[J, l.value]
|
|
183
|
+
])
|
|
184
|
+
]),
|
|
185
|
+
(a(), m(p, null, B(A, (t) => (a(), m(p, {
|
|
186
|
+
key: t.label
|
|
187
|
+
}, [
|
|
188
|
+
T(u("div", { class: "text-c-3 font-medium text-xs px-2 mb-1 mt-2" }, V(t.label), 513), [
|
|
189
|
+
[
|
|
190
|
+
O,
|
|
191
|
+
t.commands.filter(
|
|
192
|
+
(n) => n.name.toLowerCase().includes(l.value.toLowerCase())
|
|
193
|
+
).length > 0
|
|
194
|
+
]
|
|
195
|
+
]),
|
|
196
|
+
(a(!0), m(p, null, B(t.commands.filter(
|
|
197
|
+
(n) => n.name.toLowerCase().includes(l.value.toLowerCase())
|
|
198
|
+
), (n, k) => {
|
|
199
|
+
var z;
|
|
200
|
+
return a(), m("div", {
|
|
201
|
+
key: n.name,
|
|
202
|
+
ref_for: !0,
|
|
203
|
+
ref: (w) => {
|
|
204
|
+
w && (S.value[k] = w);
|
|
205
|
+
},
|
|
206
|
+
class: X(["commandmenu-item text-sm flex items-center py-1.5 px-2 rounded hover:bg-b-2 cursor-pointer", {
|
|
207
|
+
"bg-b-2": n.name === ((z = y.value) == null ? void 0 : z.name)
|
|
208
|
+
}]),
|
|
209
|
+
onClick: (w) => P(n)
|
|
210
|
+
}, [
|
|
211
|
+
f(r($), {
|
|
212
|
+
class: "text-c-2 mr-2.5",
|
|
213
|
+
icon: n.icon,
|
|
214
|
+
size: "md",
|
|
215
|
+
thickness: "1.5"
|
|
216
|
+
}, null, 8, ["icon"]),
|
|
217
|
+
M(" " + V(n.name), 1)
|
|
218
|
+
], 10, he);
|
|
219
|
+
}), 128))
|
|
220
|
+
], 64))), 64)),
|
|
221
|
+
C.value.length ? Y("", !0) : (a(), m("div", ke, " No commands found "))
|
|
222
|
+
], 64))
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
})
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
}, 8, ["open"]));
|
|
220
229
|
}
|
|
221
230
|
});
|
|
222
231
|
export {
|
|
223
|
-
|
|
224
|
-
|
|
232
|
+
be as PaletteComponents,
|
|
233
|
+
Ee as default
|
|
225
234
|
};
|
|
@@ -1,22 +1,13 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
sections: string[];
|
|
3
3
|
activeSection: string;
|
|
4
|
-
}
|
|
5
|
-
setActiveSection: (value: string) =>
|
|
6
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
|
+
setActiveSection: (value: string) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
7
7
|
sections: string[];
|
|
8
8
|
activeSection: string;
|
|
9
|
-
}
|
|
9
|
+
}> & Readonly<{
|
|
10
10
|
onSetActiveSection?: ((value: string) => any) | undefined;
|
|
11
|
-
}, {}, {}>;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToOption<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
13
|
//# sourceMappingURL=ContextBar.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA0HY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;
|
|
1
|
+
{"version":3,"file":"ContextBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/ContextBar.vue"],"names":[],"mappings":";cA0HY,MAAM,EAAE;mBACH,MAAM;;;;cADX,MAAM,EAAE;mBACH,MAAM;;;;AAyIvB,wBASG"}
|
|
@@ -2,15 +2,15 @@ declare function __VLS_template(): {
|
|
|
2
2
|
caption?(_: {}): any;
|
|
3
3
|
default?(_: {}): any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
6
6
|
columns: (string | undefined)[];
|
|
7
7
|
/** Scroll horizontally */
|
|
8
8
|
scroll?: boolean;
|
|
9
|
-
}
|
|
9
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
10
10
|
columns: (string | undefined)[];
|
|
11
11
|
/** Scroll horizontally */
|
|
12
12
|
scroll?: boolean;
|
|
13
|
-
}
|
|
13
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
15
15
|
export default _default;
|
|
16
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -18,13 +18,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
18
18
|
$slots: S;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToOption<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
21
|
//# sourceMappingURL=DataTable.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.vue"],"names":[],"mappings":"AA0CA,iBAAS,cAAc;qBAsCM,GAAG;qBACH,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe;aAjEV,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE;IAC/B,0BAA0B;aACjB,OAAO;;aAFP,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE;IAC/B,0BAA0B;aACjB,OAAO;
|
|
1
|
+
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.vue"],"names":[],"mappings":"AA0CA,iBAAS,cAAc;qBAsCM,GAAG;qBACH,GAAG;EAc/B;AACD,QAAA,MAAM,eAAe;aAjEV,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE;IAC/B,0BAA0B;aACjB,OAAO;;aAFP,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE;IAC/B,0BAA0B;aACjB,OAAO;iGAqEhB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|