@scalar/api-client 2.2.51 → 2.2.53
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 +66 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +30 -30
- 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 +22 -22
- package/dist/components/CodeInput/CodeInput.vue.d.ts +3 -1
- 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 +38 -38
- package/dist/components/CommandPalette/CommandActionForm.vue.js +2 -2
- package/dist/components/CommandPalette/CommandActionInput.vue.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +13 -13
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +143 -114
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +59 -51
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts.map +1 -1
- 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 +85 -82
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +2 -2
- package/dist/components/ContextBar.vue.js +2 -2
- package/dist/components/ContextBar.vue2.js +2 -2
- package/dist/components/DataTable/DataTable.vue.js +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.js +11 -11
- package/dist/components/DataTable/DataTableCheckbox.vue.js +3 -3
- package/dist/components/DataTable/DataTableInput.vue.d.ts +175 -6
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +3 -3
- package/dist/components/DataTable/DataTableInput.vue2.js +57 -48
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +1 -1
- package/dist/components/DataTable/DataTableText.vue.js +1 -1
- package/dist/components/EmptyState.vue.js +1 -1
- package/dist/components/EmptyState.vue2.js +4 -4
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +13 -13
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.js +56 -36
- package/dist/components/Form/LabelInput.vue.d.ts +14 -0
- package/dist/components/Form/LabelInput.vue.d.ts.map +1 -0
- package/dist/components/Form/LabelInput.vue.js +7 -0
- package/dist/components/Form/LabelInput.vue2.js +42 -0
- package/dist/components/HelpfulLink.vue.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.js +2 -2
- package/dist/components/HttpMethod/HttpMethod.vue2.js +1 -1
- package/dist/components/IconSelector.vue.js +3 -3
- package/dist/components/ImportCollection/DropEventListener.vue.js +3 -3
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.js +8 -8
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +1 -1
- package/dist/components/ImportCollection/OpenAppButton.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/PrefetchError.vue.js +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +15 -15
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts.map +1 -1
- package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +2 -2
- package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCurl/ImportCurlModal.vue.js +1 -1
- package/dist/components/ImportCurl/ImportCurlModal.vue2.js +13 -13
- package/dist/components/ScalarAsciiArt.vue.js +3 -3
- package/dist/components/Search/useSearch.d.ts.map +1 -1
- package/dist/components/Search/useSearch.js +5 -13
- package/dist/components/Server/ServerDropdown.vue.d.ts +0 -1
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +40 -57
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +0 -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 +19 -20
- package/dist/components/Server/ServerSelector.vue.d.ts +12 -0
- package/dist/components/Server/ServerSelector.vue.d.ts.map +1 -0
- package/dist/components/Server/ServerSelector.vue.js +85 -0
- package/dist/components/Server/ServerSelector.vue2.js +4 -0
- package/dist/components/Server/ServerVariablesForm.vue.d.ts +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesForm.vue.js +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.js +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.js +1 -1
- package/dist/components/Server/index.d.ts +1 -0
- package/dist/components/Server/index.d.ts.map +1 -1
- package/dist/components/Server/index.js +6 -4
- package/dist/components/Server/types.d.ts.map +1 -1
- package/dist/components/SideNav/DownloadAppButton.vue.d.ts.map +1 -1
- package/dist/components/SideNav/DownloadAppButton.vue.js +2 -2
- package/dist/components/SideNav/DownloadAppButton.vue2.js +6 -6
- package/dist/components/SideNav/SideHelp.vue.js +12 -12
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +73 -58
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +3 -3
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +2 -2
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.js +17 -28
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.js +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.js +12 -12
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.js +4 -4
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.js +2 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue2.js +3 -3
- package/dist/components/Sidebar/Sidebar.vue.d.ts +1 -4
- 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 +34 -34
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +6 -6
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarListElement.vue2.js +36 -46
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElementActions.vue.js +7 -7
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts +1 -8
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.js +20 -21
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +104 -85
- package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
- package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNavItem.vue.js +2 -2
- package/dist/components/TopNav/TopNavItem.vue2.js +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayout.vue.js +16 -10
- package/dist/components/ViewLayout/ViewLayout.vue2.js +4 -0
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +29 -29
- package/dist/components/ViewLayout/ViewLayoutContent.vue.js +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +20 -13
- package/dist/components/ViewLayout/ViewLayoutSection.vue2.js +4 -0
- package/dist/constants.d.ts +16 -12
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +35 -6
- package/dist/hooks/index.d.ts +0 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +5 -7
- package/dist/hooks/useFileDialog.d.ts +1 -1
- package/dist/hooks/useFileDialog.d.ts.map +1 -1
- package/dist/hooks/useFileDialog.js +1 -6
- package/dist/hooks/useResponseBody.d.ts.map +1 -1
- package/dist/hooks/useResponseBody.js +3 -9
- package/dist/hooks/useSidebar.d.ts +19 -2
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/hooks/useSidebar.js +25 -9
- package/dist/hooks/useSidebar.test.d.ts +2 -0
- package/dist/hooks/useSidebar.test.d.ts.map +1 -0
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +41 -35
- package/dist/layouts/App/MainLayout.vue.js +4 -4
- package/dist/layouts/App/create-api-client-app.d.ts +207 -255
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
- package/dist/layouts/Modal/ApiClientModal.vue2.js +8 -8
- package/dist/layouts/Modal/create-api-client-modal.d.ts +414 -510
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +39 -33
- package/dist/layouts/Web/create-api-client-web.d.ts +207 -255
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +200 -248
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +79 -63
- package/dist/libs/errors.d.ts.map +1 -1
- package/dist/libs/extractAttachmentFilename.d.ts.map +1 -1
- package/dist/libs/extractAttachmentFilename.js +1 -3
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/getOpenApiDocumentDetails.d.ts.map +1 -1
- package/dist/libs/importers/curl.d.ts.map +1 -1
- package/dist/libs/importers/curl.js +2 -12
- package/dist/libs/isUrl.d.ts.map +1 -1
- package/dist/libs/local-storage.d.ts.map +1 -1
- package/dist/libs/local-storage.js +1 -9
- package/dist/libs/normalize-headers.d.ts.map +1 -1
- package/dist/libs/normalize-headers.js +2 -6
- package/dist/libs/parse-curl.d.ts.map +1 -1
- package/dist/libs/parse-curl.js +1 -5
- package/dist/libs/postman.d.ts.map +1 -1
- package/dist/libs/send-request/create-fetch-body.d.ts +1 -1
- package/dist/libs/send-request/create-fetch-body.d.ts.map +1 -1
- package/dist/libs/send-request/create-fetch-body.js +1 -2
- package/dist/libs/send-request/create-fetch-headers.d.ts.map +1 -1
- package/dist/libs/send-request/create-fetch-query-params.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.js +6 -12
- package/dist/libs/send-request/create-request-operation.test.d.ts +0 -3
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/string-template.d.ts.map +1 -1
- package/dist/libs/string-template.js +1 -4
- package/dist/router.d.ts.map +1 -1
- package/dist/routes.d.ts +62 -14
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +93 -75
- package/dist/store/active-entities.d.ts +32 -32
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +37 -35
- package/dist/store/collections.d.ts +164 -164
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/cookies.d.ts +4 -4
- package/dist/store/cookies.d.ts.map +1 -1
- package/dist/store/cookies.js +1 -5
- package/dist/store/environment.d.ts +4 -4
- package/dist/store/request-example.d.ts +2 -2
- package/dist/store/requests.d.ts +4 -4
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +8 -8
- package/dist/store/store-context.d.ts.map +1 -1
- package/dist/store/store.d.ts +200 -248
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/tags.d.ts.map +1 -1
- package/dist/store/workspace.d.ts +4 -4
- package/dist/style.css +1 -1
- package/dist/tailwind/desktop-variants.d.ts.map +1 -1
- package/dist/types/vue.d.ts.map +1 -1
- package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
- package/dist/views/Collection/Collection.vue.js +4 -0
- package/dist/views/Collection/Collection.vue2.js +50 -0
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts +3 -0
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionAuthentication.vue.js +4 -0
- package/dist/views/Collection/CollectionAuthentication.vue2.js +16 -0
- package/dist/views/Collection/CollectionCookies.vue.d.ts +3 -0
- package/dist/views/Collection/CollectionCookies.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionCookies.vue.js +4 -0
- package/dist/views/Collection/CollectionCookies.vue2.js +16 -0
- package/dist/views/Collection/CollectionEnvironment.vue.d.ts +3 -0
- package/dist/views/Collection/CollectionEnvironment.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionEnvironment.vue.js +4 -0
- package/dist/views/Collection/CollectionEnvironment.vue2.js +16 -0
- package/dist/views/{Servers/Servers.vue.d.ts → Collection/CollectionInfoForm.vue.d.ts} +1 -1
- package/dist/views/Collection/CollectionInfoForm.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionInfoForm.vue.js +7 -0
- package/dist/views/Collection/CollectionInfoForm.vue2.js +70 -0
- package/dist/views/Collection/CollectionNavigation.vue.d.ts +6 -0
- package/dist/views/Collection/CollectionNavigation.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionNavigation.vue.js +142 -0
- package/dist/views/Collection/CollectionNavigation.vue2.js +4 -0
- package/dist/views/Collection/CollectionOverview.vue.d.ts +3 -0
- package/dist/views/Collection/CollectionOverview.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionOverview.vue.js +4 -0
- package/dist/views/Collection/CollectionOverview.vue2.js +37 -0
- package/dist/views/Collection/CollectionScripts.vue.d.ts +3 -0
- package/dist/views/Collection/CollectionScripts.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionScripts.vue.js +4 -0
- package/dist/views/Collection/CollectionScripts.vue2.js +16 -0
- package/dist/views/Collection/CollectionServerForm.vue.d.ts +10 -0
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionServerForm.vue.js +74 -0
- package/dist/views/Collection/CollectionServerForm.vue2.js +4 -0
- package/dist/views/{Servers/ServerForm.vue.d.ts → Collection/CollectionServers.vue.d.ts} +1 -1
- package/dist/views/Collection/CollectionServers.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionServers.vue.js +4 -0
- package/dist/views/Collection/CollectionServers.vue2.js +124 -0
- package/dist/views/Collection/CollectionSettings.vue.d.ts +3 -0
- package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionSettings.vue.js +7 -0
- package/dist/views/Collection/CollectionSettings.vue2.js +124 -0
- package/dist/views/Collection/CollectionSync.vue.d.ts +3 -0
- package/dist/views/Collection/CollectionSync.vue.d.ts.map +1 -0
- package/dist/views/Collection/CollectionSync.vue.js +4 -0
- package/dist/views/Collection/CollectionSync.vue2.js +16 -0
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts +16 -0
- package/dist/views/Collection/components/MarkdownInput.vue.d.ts.map +1 -0
- package/dist/views/Collection/components/MarkdownInput.vue.js +7 -0
- package/dist/views/Collection/components/MarkdownInput.vue2.js +95 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +7 -7
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js +1 -3
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +1 -5
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts.map +1 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.js +1 -5
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +18 -23
- package/dist/views/Cookies/CookieModal.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieModal.vue.js +1 -1
- package/dist/views/Cookies/CookieModal.vue2.js +7 -7
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +96 -78
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +125 -112
- package/dist/views/Environment/EnvironmentColorModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentColorModal.vue.js +5 -5
- package/dist/views/Environment/EnvironmentColors.vue.js +8 -8
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.js +16 -16
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +1 -1
- package/dist/views/Request/Request.vue2.js +114 -171
- package/dist/views/Request/RequestRoot.vue.d.ts +13 -0
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestRoot.vue.js +7 -0
- package/dist/views/Request/RequestRoot.vue2.js +78 -0
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +9 -9
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +5 -5
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +104 -89
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +5 -5
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +59 -65
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +3 -3
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +22 -23
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +14 -14
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +6 -6
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +38 -38
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +34 -33
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +5 -5
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +2 -6
- package/dist/views/Request/RequestSidebar.vue.d.ts +3 -10
- 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 +186 -188
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +290 -173
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +4 -4
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +13 -13
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +1 -4
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +51 -51
- 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 +12 -12
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyDownload.vue.js +1 -1
- 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 +2 -2
- 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.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +8 -8
- package/dist/views/Request/ResponseSection/ResponseCookies.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +20 -20
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +25 -26
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseLoadingOverlay.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +7 -7
- 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 +7 -7
- package/dist/views/Request/hooks/useOpenApiWatcher.d.ts.map +1 -1
- package/dist/views/Request/hooks/useOpenApiWatcher.js +12 -37
- package/dist/views/Request/libs/request.d.ts +4 -0
- package/dist/views/Request/libs/request.d.ts.map +1 -1
- package/dist/views/Request/libs/request.js +2 -1
- package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
- package/dist/views/Request/libs/watch-mode.js +63 -63
- package/dist/views/Request/types/sidebar-item.d.ts +1 -1
- package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
- package/dist/views/Settings/Settings.vue.d.ts.map +1 -1
- package/dist/views/Settings/Settings.vue2.js +8 -8
- package/dist/views/Settings/components/SettingsAppearance.vue.js +6 -6
- package/dist/vitest.setup.d.ts +16 -0
- package/dist/vitest.setup.d.ts.map +1 -0
- package/package.json +16 -21
- package/dist/views/Servers/ServerForm.vue.d.ts.map +0 -1
- package/dist/views/Servers/ServerForm.vue.js +0 -39
- package/dist/views/Servers/ServerForm.vue2.js +0 -4
- package/dist/views/Servers/Servers.vue.d.ts.map +0 -1
- package/dist/views/Servers/Servers.vue.js +0 -4
- package/dist/views/Servers/Servers.vue2.js +0 -168
- package/dist/views/Servers/index.d.ts +0 -2
- package/dist/views/Servers/index.d.ts.map +0 -1
- package/dist/views/Servers/index.js +0 -4
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { defineComponent as w, ref as C, computed as D, openBlock as n, createElementBlock as v, createElementVNode as i, createStaticVNode as A, Fragment as M, renderList as N, createBlock as p, unref as e, toDisplayString as z, createVNode as l, withCtx as a, createCommentVNode as I } from "vue";
|
|
2
|
+
import { useModal as $, ScalarMarkdown as j, ScalarDropdown as B, ScalarDropdownItem as E, ScalarIcon as m, ScalarButton as x, ScalarModal as U } from "@scalar/components";
|
|
3
|
+
import V from "../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
|
|
4
|
+
import { useActiveEntities as L } from "../../store/active-entities.js";
|
|
5
|
+
import P from "./CollectionServerForm.vue.js";
|
|
6
|
+
import { useWorkspace as F } from "../../store/store.js";
|
|
7
|
+
const O = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, R = { class: "flex flex-col gap-4" }, T = { class: "bg-b-2 overflow-hidden rounded-lg border" }, W = { class: "flex items-center justify-between py-1 pl-3 pr-1 text-sm" }, Y = { key: 1 }, q = { class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4" }, te = /* @__PURE__ */ w({
|
|
8
|
+
__name: "CollectionServers",
|
|
9
|
+
setup(G) {
|
|
10
|
+
const { activeCollection: o } = L(), { servers: f, events: h, serverMutators: _ } = F(), u = $(), d = C(null), S = D(() => {
|
|
11
|
+
var s;
|
|
12
|
+
return !f || !((s = o.value) != null && s.servers) ? [] : Object.values(f).filter(
|
|
13
|
+
(t) => {
|
|
14
|
+
var c;
|
|
15
|
+
return (c = o.value) == null ? void 0 : c.servers.includes(t.uid);
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
}), b = () => h.commandPalette.emit({
|
|
19
|
+
commandName: "Add Server"
|
|
20
|
+
}), g = () => {
|
|
21
|
+
var s;
|
|
22
|
+
!((s = o.value) != null && s.uid) || !d.value || (_.delete(d.value, o.value.uid), u.hide());
|
|
23
|
+
}, k = (s) => {
|
|
24
|
+
d.value = s, u.show();
|
|
25
|
+
};
|
|
26
|
+
return (s, t) => {
|
|
27
|
+
var c;
|
|
28
|
+
return n(), v("div", O, [
|
|
29
|
+
i("div", R, [
|
|
30
|
+
t[3] || (t[3] = A('<div class="flex items-start justify-between gap-2"><div class="flex flex-col"><div class="flex h-8 items-center"><h3 class="font-bold">Servers</h3></div><p class="text-sm"> Add different base URLs for your API. You can use <code class="font-code text-c-2">{variables}</code> for dynamic parts. </p></div></div>', 1)),
|
|
31
|
+
(n(!0), v(M, null, N(S.value, (r, y) => (n(), v("div", {
|
|
32
|
+
key: r.uid
|
|
33
|
+
}, [
|
|
34
|
+
i("div", T, [
|
|
35
|
+
i("div", W, [
|
|
36
|
+
r.description ? (n(), p(e(j), {
|
|
37
|
+
key: 0,
|
|
38
|
+
value: r.description
|
|
39
|
+
}, null, 8, ["value"])) : (n(), v("span", Y, "Server " + z(y + 1), 1)),
|
|
40
|
+
l(e(B), { placement: "bottom-end" }, {
|
|
41
|
+
items: a(() => [
|
|
42
|
+
l(e(E), {
|
|
43
|
+
class: "flex gap-2 font-normal",
|
|
44
|
+
onClick: (H) => k(r.uid)
|
|
45
|
+
}, {
|
|
46
|
+
default: a(() => [
|
|
47
|
+
l(e(m), {
|
|
48
|
+
class: "inline-flex",
|
|
49
|
+
icon: "Delete",
|
|
50
|
+
size: "sm",
|
|
51
|
+
thickness: "1.5"
|
|
52
|
+
}),
|
|
53
|
+
t[1] || (t[1] = i("span", null, "Delete", -1))
|
|
54
|
+
]),
|
|
55
|
+
_: 2
|
|
56
|
+
}, 1032, ["onClick"])
|
|
57
|
+
]),
|
|
58
|
+
default: a(() => [
|
|
59
|
+
l(e(x), {
|
|
60
|
+
class: "hover:bg-b-3 h-full max-h-8 gap-1 p-1 text-xs",
|
|
61
|
+
variant: "ghost"
|
|
62
|
+
}, {
|
|
63
|
+
default: a(() => [
|
|
64
|
+
l(e(m), {
|
|
65
|
+
class: "text-c-3",
|
|
66
|
+
icon: "Ellipses",
|
|
67
|
+
size: "md"
|
|
68
|
+
})
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
})
|
|
72
|
+
]),
|
|
73
|
+
_: 2
|
|
74
|
+
}, 1024)
|
|
75
|
+
]),
|
|
76
|
+
e(o) ? (n(), p(P, {
|
|
77
|
+
key: 0,
|
|
78
|
+
collectionId: e(o).uid,
|
|
79
|
+
serverUid: r.uid
|
|
80
|
+
}, null, 8, ["collectionId", "serverUid"])) : I("", !0)
|
|
81
|
+
])
|
|
82
|
+
]))), 128)),
|
|
83
|
+
i("div", q, [
|
|
84
|
+
l(e(x), {
|
|
85
|
+
class: "hover:bg-b-2 hover:text-c-1 flex items-center gap-2",
|
|
86
|
+
size: "sm",
|
|
87
|
+
variant: "ghost",
|
|
88
|
+
onClick: b
|
|
89
|
+
}, {
|
|
90
|
+
default: a(() => [
|
|
91
|
+
l(e(m), {
|
|
92
|
+
class: "inline-flex",
|
|
93
|
+
icon: "Add",
|
|
94
|
+
size: "sm",
|
|
95
|
+
thickness: "1.5"
|
|
96
|
+
}),
|
|
97
|
+
t[2] || (t[2] = i("span", null, "Add Server", -1))
|
|
98
|
+
]),
|
|
99
|
+
_: 1
|
|
100
|
+
})
|
|
101
|
+
])
|
|
102
|
+
]),
|
|
103
|
+
l(e(U), {
|
|
104
|
+
size: "xxs",
|
|
105
|
+
state: e(u),
|
|
106
|
+
title: `Delete ${d.value ? (c = e(f)[d.value]) == null ? void 0 : c.url : "Server"}`
|
|
107
|
+
}, {
|
|
108
|
+
default: a(() => [
|
|
109
|
+
l(V, {
|
|
110
|
+
variableName: "Server",
|
|
111
|
+
warningMessage: "Are you sure you want to delete this server? This action cannot be undone.",
|
|
112
|
+
onClose: t[0] || (t[0] = (r) => e(u).hide()),
|
|
113
|
+
onDelete: g
|
|
114
|
+
})
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
}, 8, ["state", "title"])
|
|
118
|
+
]);
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
export {
|
|
123
|
+
te as default
|
|
124
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=CollectionSettings.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionSettings.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionSettings.vue"],"names":[],"mappings":";AAieA,wBAKG"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { defineComponent as D, openBlock as d, createElementBlock as c, Fragment as u, createElementVNode as t, createVNode as s, unref as l, createTextVNode as b, toDisplayString as N, withCtx as w } from "vue";
|
|
2
|
+
import { useModal as S, ScalarToggle as W, ScalarIcon as _, ScalarButton as T, ScalarModal as V } from "@scalar/components";
|
|
3
|
+
import { useRouter as A } from "vue-router";
|
|
4
|
+
import B from "../../components/Sidebar/Actions/DeleteSidebarListElement.vue.js";
|
|
5
|
+
import { useActiveEntities as E } from "../../store/active-entities.js";
|
|
6
|
+
import { PathId as k } from "../../routes.js";
|
|
7
|
+
import { useWorkspace as I } from "../../store/store.js";
|
|
8
|
+
const $ = { class: "flex h-full w-full flex-col gap-12 px-1.5 pt-8" }, L = { class: "flex flex-col gap-2" }, O = { class: "bg-b-2 rounded-lg border text-sm" }, P = { class: "bg-b-1 -m-1/2 flex items-center justify-between gap-4 rounded-t-lg border p-3" }, R = { class: "text-c-1 flex items-center overflow-x-auto whitespace-nowrap py-1.5" }, j = { class: "flex items-center" }, z = ["href"], F = { class: "flex flex-col gap-4" }, Z = { class: "flex items-center justify-between rounded-lg border p-3 text-sm" }, te = /* @__PURE__ */ D({
|
|
9
|
+
__name: "CollectionSettings",
|
|
10
|
+
setup(q) {
|
|
11
|
+
const { activeCollection: o, activeWorkspace: a, activeWorkspaceCollections: C } = E(), { collectionMutators: m } = I(), { replace: y } = A(), i = S();
|
|
12
|
+
function M() {
|
|
13
|
+
var n, e;
|
|
14
|
+
o.value && (n = o.value) != null && n.documentUrl && m.edit(
|
|
15
|
+
o.value.uid,
|
|
16
|
+
"watchMode",
|
|
17
|
+
!((e = o.value) != null && e.watchMode)
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
function U() {
|
|
21
|
+
if (!o.value || !a.value) return;
|
|
22
|
+
m.delete(o.value, a.value);
|
|
23
|
+
const n = C.value[0];
|
|
24
|
+
n && y({
|
|
25
|
+
name: "collection",
|
|
26
|
+
params: {
|
|
27
|
+
[k.Workspace]: a.value.uid,
|
|
28
|
+
[k.Collection]: n.uid
|
|
29
|
+
}
|
|
30
|
+
}), i.hide();
|
|
31
|
+
}
|
|
32
|
+
return (n, e) => {
|
|
33
|
+
var f, p, v, x, g;
|
|
34
|
+
return d(), c(u, null, [
|
|
35
|
+
t("div", $, [
|
|
36
|
+
t("div", L, [
|
|
37
|
+
e[5] || (e[5] = t("div", { class: "flex h-8 items-center" }, [
|
|
38
|
+
t("h3", { class: "font-bold" }, "Features")
|
|
39
|
+
], -1)),
|
|
40
|
+
t("div", O, [
|
|
41
|
+
t("div", P, [
|
|
42
|
+
e[2] || (e[2] = t("div", null, [
|
|
43
|
+
t("h4", null, "Watch Mode"),
|
|
44
|
+
t("p", { class: "text-c-2 mt-1" }, " When enabled, the OpenAPI document will be polled for changes. The collection will be updated automatically. ")
|
|
45
|
+
], -1)),
|
|
46
|
+
s(l(W), {
|
|
47
|
+
class: "w-4",
|
|
48
|
+
disabled: !((f = l(o)) != null && f.documentUrl),
|
|
49
|
+
modelValue: ((p = l(o)) == null ? void 0 : p.watchMode) ?? !1,
|
|
50
|
+
"onUpdate:modelValue": M
|
|
51
|
+
}, null, 8, ["disabled", "modelValue"])
|
|
52
|
+
]),
|
|
53
|
+
t("div", R, [
|
|
54
|
+
t("div", j, [
|
|
55
|
+
(v = l(o)) != null && v.documentUrl ? (d(), c(u, { key: 0 }, [
|
|
56
|
+
e[3] || (e[3] = t("span", { class: "bg-b-2 sticky left-0 pl-3 pr-2" }, "Source", -1)),
|
|
57
|
+
t("a", {
|
|
58
|
+
class: "text-c-2 group rounded pr-3 no-underline hover:underline",
|
|
59
|
+
href: l(o).documentUrl,
|
|
60
|
+
target: "_blank"
|
|
61
|
+
}, [
|
|
62
|
+
b(N(l(o).documentUrl) + " ", 1),
|
|
63
|
+
s(l(_), {
|
|
64
|
+
class: "ml-1 hidden w-2.5 group-hover:inline",
|
|
65
|
+
icon: "ExternalLink"
|
|
66
|
+
})
|
|
67
|
+
], 8, z)
|
|
68
|
+
], 64)) : (d(), c(u, { key: 1 }, [
|
|
69
|
+
s(l(_), {
|
|
70
|
+
class: "text-c-2 ml-3 mr-2 w-4",
|
|
71
|
+
icon: "NotAllowed",
|
|
72
|
+
size: "sm"
|
|
73
|
+
}),
|
|
74
|
+
e[4] || (e[4] = t("span", { class: "text-c-2 pr-3" }, " No URL configured. Try importing an OpenAPI document from an URL. ", -1))
|
|
75
|
+
], 64))
|
|
76
|
+
])
|
|
77
|
+
])
|
|
78
|
+
])
|
|
79
|
+
]),
|
|
80
|
+
t("div", F, [
|
|
81
|
+
e[8] || (e[8] = t("h3", { class: "font-bold" }, "Danger Zone", -1)),
|
|
82
|
+
t("div", Z, [
|
|
83
|
+
e[7] || (e[7] = t("div", null, [
|
|
84
|
+
t("h4", null, "Delete Collection"),
|
|
85
|
+
t("p", { class: "text-c-2 mt-1" }, " Be careful, my friend. Once deleted, there is no way to recover the collection. ")
|
|
86
|
+
], -1)),
|
|
87
|
+
s(l(T), {
|
|
88
|
+
class: "custom-scroll h-8 gap-1.5 whitespace-nowrap px-2.5 font-medium shadow-none focus:outline-none",
|
|
89
|
+
variant: "danger",
|
|
90
|
+
onClick: e[0] || (e[0] = (r) => l(i).show())
|
|
91
|
+
}, {
|
|
92
|
+
default: w(() => e[6] || (e[6] = [
|
|
93
|
+
b(" Delete Collection ")
|
|
94
|
+
])),
|
|
95
|
+
_: 1
|
|
96
|
+
})
|
|
97
|
+
])
|
|
98
|
+
])
|
|
99
|
+
]),
|
|
100
|
+
s(l(V), {
|
|
101
|
+
size: "xxs",
|
|
102
|
+
state: l(i),
|
|
103
|
+
title: `Delete ${(g = (x = l(o)) == null ? void 0 : x.info) == null ? void 0 : g.title}`
|
|
104
|
+
}, {
|
|
105
|
+
default: w(() => {
|
|
106
|
+
var r, h;
|
|
107
|
+
return [
|
|
108
|
+
s(B, {
|
|
109
|
+
variableName: ((h = (r = l(o)) == null ? void 0 : r.info) == null ? void 0 : h.title) ?? "",
|
|
110
|
+
warningMessage: "This action cannot be undone.",
|
|
111
|
+
onClose: e[1] || (e[1] = (G) => l(i).hide()),
|
|
112
|
+
onDelete: U
|
|
113
|
+
}, null, 8, ["variableName"])
|
|
114
|
+
];
|
|
115
|
+
}),
|
|
116
|
+
_: 1
|
|
117
|
+
}, 8, ["state", "title"])
|
|
118
|
+
], 64);
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
export {
|
|
123
|
+
te as default
|
|
124
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLElement>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=CollectionSync.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionSync.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Collection/CollectionSync.vue"],"names":[],"mappings":";AA4EA,wBAMG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineComponent as e, openBlock as o, createBlock as n, withCtx as r, createTextVNode as c } from "vue";
|
|
2
|
+
import _ from "../../components/ViewLayout/ViewLayoutSection.vue.js";
|
|
3
|
+
const a = /* @__PURE__ */ e({
|
|
4
|
+
__name: "CollectionSync",
|
|
5
|
+
setup(i) {
|
|
6
|
+
return (l, t) => (o(), n(_, null, {
|
|
7
|
+
title: r(() => t[0] || (t[0] = [
|
|
8
|
+
c("Sync")
|
|
9
|
+
])),
|
|
10
|
+
_: 1
|
|
11
|
+
}));
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
a as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
|
+
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
3
|
+
import type { EnvVariable } from '../../../store/active-entities';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
modelValue: string;
|
|
6
|
+
environment: Environment;
|
|
7
|
+
envVariables: EnvVariable[];
|
|
8
|
+
workspace: Workspace;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=MarkdownInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkdownInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Collection/components/MarkdownInput.vue"],"names":[],"mappings":"AA8GA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,SAAS,EAAE,SAAS,CAAA;CACrB,CAAC;;;;;;AAmSF,wBAQG"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { defineComponent as g, ref as m, watch as w, nextTick as h, openBlock as o, createElementBlock as i, createElementVNode as n, createBlock as u, unref as s, withCtx as v, createVNode as d, createCommentVNode as a, Fragment as f } from "vue";
|
|
2
|
+
import { ScalarButton as c, ScalarIcon as b, ScalarMarkdown as x } from "@scalar/components";
|
|
3
|
+
import y from "../../../components/CodeInput/CodeInput.vue.js";
|
|
4
|
+
const z = { class: "flex h-full w-full flex-col gap-2 pt-8" }, C = { class: "flex min-h-8 items-center justify-between gap-2 pl-1.5" }, I = { class: "has-[:focus-visible]:bg-b-1 z-1 group relative flex flex-col rounded-lg" }, B = { class: "h-full min-h-[calc(1rem*4)]" }, $ = {
|
|
5
|
+
key: 1,
|
|
6
|
+
class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4"
|
|
7
|
+
}, D = /* @__PURE__ */ g({
|
|
8
|
+
__name: "MarkdownInput",
|
|
9
|
+
props: {
|
|
10
|
+
modelValue: {},
|
|
11
|
+
environment: {},
|
|
12
|
+
envVariables: {},
|
|
13
|
+
workspace: {}
|
|
14
|
+
},
|
|
15
|
+
emits: ["update:modelValue"],
|
|
16
|
+
setup(E, { emit: k }) {
|
|
17
|
+
const V = k, t = m("preview"), p = m(null);
|
|
18
|
+
return w(t, (l) => {
|
|
19
|
+
l === "edit" && h(() => {
|
|
20
|
+
var e;
|
|
21
|
+
(e = p.value) == null || e.focus();
|
|
22
|
+
});
|
|
23
|
+
}), (l, e) => (o(), i("div", z, [
|
|
24
|
+
n("div", C, [
|
|
25
|
+
e[6] || (e[6] = n("h3", { class: "font-bold" }, "Description", -1)),
|
|
26
|
+
t.value === "preview" ? (o(), u(s(c), {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: "text-c-2 hover:text-c-1 flex items-center gap-2",
|
|
29
|
+
type: "button",
|
|
30
|
+
size: "sm",
|
|
31
|
+
variant: "outlined",
|
|
32
|
+
onClick: e[0] || (e[0] = (r) => t.value = "edit")
|
|
33
|
+
}, {
|
|
34
|
+
default: v(() => [
|
|
35
|
+
d(s(b), {
|
|
36
|
+
icon: "Pencil",
|
|
37
|
+
size: "sm",
|
|
38
|
+
thickness: "1.5"
|
|
39
|
+
}),
|
|
40
|
+
e[5] || (e[5] = n("span", null, "Edit", -1))
|
|
41
|
+
]),
|
|
42
|
+
_: 1
|
|
43
|
+
})) : a("", !0)
|
|
44
|
+
]),
|
|
45
|
+
n("div", I, [
|
|
46
|
+
n("div", B, [
|
|
47
|
+
t.value === "preview" ? (o(), i(f, { key: 0 }, [
|
|
48
|
+
l.modelValue ? (o(), i(f, { key: 0 }, [
|
|
49
|
+
l.modelValue ? (o(), u(s(x), {
|
|
50
|
+
key: 0,
|
|
51
|
+
withImages: "",
|
|
52
|
+
class: "hover:border-b-3 h-full rounded border border-transparent p-1.5",
|
|
53
|
+
value: l.modelValue,
|
|
54
|
+
onDblclick: e[1] || (e[1] = (r) => t.value = "edit")
|
|
55
|
+
}, null, 8, ["value"])) : a("", !0),
|
|
56
|
+
e[7] || (e[7] = n("div", { class: "brightness-lifted -z-1 bg-b-1 absolute inset-0 hidden rounded group-hover:block group-has-[:focus-visible]:hidden" }, null, -1))
|
|
57
|
+
], 64)) : (o(), i("div", $, [
|
|
58
|
+
d(s(c), {
|
|
59
|
+
class: "hover:bg-b-2 hover:text-c-1 text-c-2 flex items-center gap-2",
|
|
60
|
+
variant: "ghost",
|
|
61
|
+
size: "sm",
|
|
62
|
+
onClick: e[2] || (e[2] = (r) => t.value = "edit")
|
|
63
|
+
}, {
|
|
64
|
+
default: v(() => [
|
|
65
|
+
d(s(b), {
|
|
66
|
+
icon: "Pencil",
|
|
67
|
+
size: "sm",
|
|
68
|
+
thickness: "1.5"
|
|
69
|
+
}),
|
|
70
|
+
e[8] || (e[8] = n("span", null, "Write a description", -1))
|
|
71
|
+
]),
|
|
72
|
+
_: 1
|
|
73
|
+
})
|
|
74
|
+
]))
|
|
75
|
+
], 64)) : a("", !0),
|
|
76
|
+
t.value === "edit" ? (o(), u(y, {
|
|
77
|
+
key: 1,
|
|
78
|
+
ref_key: "codeInputRef",
|
|
79
|
+
ref: p,
|
|
80
|
+
class: "h-full border px-0.5 py-0",
|
|
81
|
+
modelValue: l.modelValue,
|
|
82
|
+
environment: l.environment,
|
|
83
|
+
envVariables: l.envVariables,
|
|
84
|
+
workspace: l.workspace,
|
|
85
|
+
onBlur: e[3] || (e[3] = (r) => t.value = "preview"),
|
|
86
|
+
"onUpdate:modelValue": e[4] || (e[4] = (r) => V("update:modelValue", r))
|
|
87
|
+
}, null, 8, ["modelValue", "environment", "envVariables", "workspace"])) : a("", !0)
|
|
88
|
+
])
|
|
89
|
+
])
|
|
90
|
+
]));
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
export {
|
|
94
|
+
D as default
|
|
95
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeSnippet.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Components/CodeSnippet/CodeSnippet.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AAExC,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"CodeSnippet.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Components/CodeSnippet/CodeSnippet.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AAExC,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAO1D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,QAAQ,CAAA;IAChB,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAA;IAC1B,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAA;CACnC,CAAC;;AA6HF,wBAMG"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as u, computed as n, openBlock as l, createElementBlock as c, toDisplayString as s, createBlock as d, unref as p, createCommentVNode as m } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { ScalarCodeBlock as f } from "@scalar/components";
|
|
3
|
+
import { isDefined as y } from "@scalar/oas-utils/helpers";
|
|
4
|
+
import { getSnippet as v } from "./helpers/get-snippet.js";
|
|
5
5
|
const g = {
|
|
6
6
|
key: 0,
|
|
7
|
-
class: "text-c-3
|
|
7
|
+
class: "text-c-3 flex min-h-16 items-center justify-center px-4 text-sm"
|
|
8
8
|
}, B = /* @__PURE__ */ u({
|
|
9
9
|
__name: "CodeSnippet",
|
|
10
10
|
props: {
|
|
@@ -21,9 +21,9 @@ const g = {
|
|
|
21
21
|
e.token,
|
|
22
22
|
e.password,
|
|
23
23
|
btoa(`${e.username}:${e.password}`)
|
|
24
|
-
] : e.type === "oauth2" ? Object.values(e.flows).map((r) => r == null ? void 0 : r.token).filter(
|
|
24
|
+
] : e.type === "oauth2" ? Object.values(e.flows).map((r) => r == null ? void 0 : r.token).filter(y) : [])
|
|
25
25
|
), a = n(() => {
|
|
26
|
-
const [e, r] =
|
|
26
|
+
const [e, r] = v(t.target, t.client, {
|
|
27
27
|
operation: t.operation,
|
|
28
28
|
example: t.example,
|
|
29
29
|
server: t.server,
|
|
@@ -31,7 +31,7 @@ const g = {
|
|
|
31
31
|
});
|
|
32
32
|
return { error: e, payload: r };
|
|
33
33
|
}), o = n(() => t.target === "shell" && t.client === "curl" ? "curl" : t.target ?? "plaintext");
|
|
34
|
-
return (e, r) => a.value.error ? (l(), c("div", g, s(a.value.error.message), 1)) : a.value.payload ? (l(), d(p(
|
|
34
|
+
return (e, r) => a.value.error ? (l(), c("div", g, s(a.value.error.message), 1)) : a.value.payload ? (l(), d(p(f), {
|
|
35
35
|
key: 1,
|
|
36
36
|
class: "w-full",
|
|
37
37
|
content: a.value.payload,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-to-har-request.d.ts","sourceRoot":"","sources":["../../../../../src/views/Components/CodeSnippet/helpers/convert-to-har-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAEhF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAA;IACzC,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAC3D,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAC3D,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAC1D,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAA;AAEtC;;;GAGG;AACH,eAAO,MAAM,mBAAmB,8DAQ7B,KAAK,KAAG,
|
|
1
|
+
{"version":3,"file":"convert-to-har-request.d.ts","sourceRoot":"","sources":["../../../../../src/views/Components/CodeSnippet/helpers/convert-to-har-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAEhF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAA;IACzC,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAC3D,OAAO,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAC3D,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAC1D,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAA;AAEtC;;;GAGG;AACH,eAAO,MAAM,mBAAmB,8DAQ7B,KAAK,KAAG,UAyGV,CAAA"}
|
|
@@ -22,9 +22,7 @@ const w = ({
|
|
|
22
22
|
if (s.length && (i.cookies = s.filter((e) => e.enabled).map(({ key: e, value: t }) => ({
|
|
23
23
|
name: e,
|
|
24
24
|
value: t
|
|
25
|
-
}))), o.length && (i.headers = o.filter(
|
|
26
|
-
(e) => e.enabled && !(e.key.toLowerCase() === "accept" && e.value === "*/*")
|
|
27
|
-
).map(({ key: e, value: t }) => ({
|
|
25
|
+
}))), o.length && (i.headers = o.filter((e) => e.enabled && !(e.key.toLowerCase() === "accept" && e.value === "*/*")).map(({ key: e, value: t }) => ({
|
|
28
26
|
name: e.replace(/\b\w/g, (a) => a.toUpperCase()),
|
|
29
27
|
value: t
|
|
30
28
|
}))), m.length && (i.queryString = m.filter((e) => e.enabled).map(({ key: e, value: t }) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-har-request.d.ts","sourceRoot":"","sources":["../../../../../src/views/Components/CodeSnippet/helpers/get-har-request.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"get-har-request.d.ts","sourceRoot":"","sources":["../../../../../src/views/Components/CodeSnippet/helpers/get-har-request.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACxG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAMlD;;GAEG;AACH,eAAO,MAAM,aAAa,qDAKvB;IACD,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,eAAe,CAAC,EAAE,cAAc,EAAE,CAAA;CACnC,KAAG,UAyCH,CAAA"}
|
|
@@ -6,11 +6,7 @@ const q = "YOUR_SECRET_TOKEN", o = ({
|
|
|
6
6
|
server: u,
|
|
7
7
|
securitySchemes: b = []
|
|
8
8
|
}) => {
|
|
9
|
-
const c = R(
|
|
10
|
-
b,
|
|
11
|
-
{},
|
|
12
|
-
q
|
|
13
|
-
), y = [
|
|
9
|
+
const c = R(b, {}, q), y = [
|
|
14
10
|
...(t == null ? void 0 : t.parameters.headers) ?? [],
|
|
15
11
|
...Object.entries(c.headers).map(([r, d]) => ({
|
|
16
12
|
key: r,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-snippet.d.ts","sourceRoot":"","sources":["../../../../../src/views/Components/CodeSnippet/helpers/get-snippet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"get-snippet.d.ts","sourceRoot":"","sources":["../../../../../src/views/Components/CodeSnippet/helpers/get-snippet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AACxG,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAY,MAAM,kBAAkB,CAAA;AAOzE;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,QAAQ,UACnC,CAAC,GAAG,YAAY,UAChB,QAAQ,CAAC,CAAC,CAAC,oDAMhB;IACD,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IACjC,OAAO,CAAC,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,eAAe,CAAC,EAAE,cAAc,EAAE,CAAA;CACnC,KACA,aAAa,CAAC,MAAM,CA6CtB,CAAA"}
|
|
@@ -30,11 +30,7 @@ const s = "ws://replace.me", w = (l, t, {
|
|
|
30
30
|
}
|
|
31
31
|
const p = l.replace("javascript", "js");
|
|
32
32
|
if (a().hasPlugin(p, t)) {
|
|
33
|
-
const e = a().print(
|
|
34
|
-
p,
|
|
35
|
-
t,
|
|
36
|
-
r
|
|
37
|
-
);
|
|
33
|
+
const e = a().print(p, t, r);
|
|
38
34
|
return e ? [null, e.replace(`${s}${o}`, "")] : [new Error("Error generating snippet"), null];
|
|
39
35
|
}
|
|
40
36
|
} catch (r) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookieForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/CookieForm.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CookieForm.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/CookieForm.vue"],"names":[],"mappings":";AAgJA,wBAMG"}
|
|
@@ -1,39 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { cookieSchema as
|
|
3
|
-
import
|
|
4
|
-
import { useActiveEntities as
|
|
5
|
-
import { useWorkspace as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as s, computed as l, openBlock as r, createBlock as p } from "vue";
|
|
2
|
+
import { cookieSchema as d } from "@scalar/oas-utils/entities/cookie";
|
|
3
|
+
import u from "../../components/Form/Form.vue.js";
|
|
4
|
+
import { useActiveEntities as k } from "../../store/active-entities.js";
|
|
5
|
+
import { useWorkspace as _ } from "../../store/store.js";
|
|
6
|
+
const x = /* @__PURE__ */ s({
|
|
7
7
|
__name: "CookieForm",
|
|
8
|
-
setup(
|
|
9
|
-
const { activeCookieId:
|
|
8
|
+
setup(f) {
|
|
9
|
+
const { activeCookieId: e } = k(), { cookies: t, cookieMutators: i } = _(), c = [
|
|
10
10
|
{ label: "Name", key: "name", placeholder: "session_id" },
|
|
11
11
|
{ label: "Value", key: "value", placeholder: "my-cookie-session-id" },
|
|
12
12
|
{ label: "Domain", key: "domain", placeholder: "example.com" }
|
|
13
13
|
// TODO: We don’t check the path (yet), so we don’t need to show it.
|
|
14
14
|
// { label: 'Path', key: 'path', placeholder: '/' },
|
|
15
|
-
],
|
|
16
|
-
() =>
|
|
15
|
+
], m = l(
|
|
16
|
+
() => t[e.value] || d.parse({
|
|
17
17
|
name: "",
|
|
18
18
|
value: "",
|
|
19
19
|
domain: "",
|
|
20
20
|
path: ""
|
|
21
21
|
})
|
|
22
|
-
),
|
|
23
|
-
i.edit(
|
|
22
|
+
), n = (o, a) => {
|
|
23
|
+
i.edit(e.value, o, a);
|
|
24
24
|
};
|
|
25
|
-
return (
|
|
26
|
-
data:
|
|
27
|
-
onUpdate:
|
|
28
|
-
options:
|
|
29
|
-
},
|
|
30
|
-
title: d(() => e[0] || (e[0] = [
|
|
31
|
-
k("span", { class: "text-c-2" }, "Edit Cookie", -1)
|
|
32
|
-
])),
|
|
33
|
-
_: 1
|
|
34
|
-
}, 8, ["data"]));
|
|
25
|
+
return (o, a) => (r(), p(u, {
|
|
26
|
+
data: m.value,
|
|
27
|
+
onUpdate: n,
|
|
28
|
+
options: c
|
|
29
|
+
}, null, 8, ["data"]));
|
|
35
30
|
}
|
|
36
31
|
});
|
|
37
32
|
export {
|
|
38
|
-
|
|
33
|
+
x as default
|
|
39
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CookieModal.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/CookieModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CookieModal.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Cookies/CookieModal.vue"],"names":[],"mappings":"AAAA,OA2GO,EAAe,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AASjE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,UAAU,CAAA;CAClB,CAAC;;;cAQU,MAAM;eACL,MAAM;gBACL,MAAM;;;;;cAFR,MAAM;eACL,MAAM;gBACL,MAAM;;;;AAuLpB,wBAQG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CookieModal.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-694018d6"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|