@scalar/api-client 2.2.45 → 2.2.48
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 +82 -0
- package/README.md +1 -1
- package/dist/components/AddressBar/AddressBar.vue.d.ts +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/AddressBar/AddressBar.vue2.js +1 -2
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +35 -30
- package/dist/components/AddressBar/index.d.ts +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +5 -5
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +1 -1
- package/dist/components/CodeInput/CodeInput.vue2.js +76 -70
- package/dist/components/CodeInput/codeVariableWidget.d.ts +5 -5
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +2 -3
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts +4 -4
- package/dist/components/CommandPalette/CommandActionForm.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandActionForm.vue.js +10 -10
- package/dist/components/CommandPalette/CommandActionInput.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandActionInput.vue.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteExample.vue.js +46 -40
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts +2 -2
- package/dist/components/CommandPalette/CommandPaletteWorkspace.vue.d.ts +2 -2
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +14 -14
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.js +2 -2
- package/dist/components/CommandPalette/TheCommandPalette.vue2.js +13 -13
- package/dist/components/CommandPalette/WatchModeToggle.vue.d.ts +1 -1
- package/dist/components/CommandPalette/WatchModeToggle.vue.js +1 -1
- package/dist/components/CommandPalette/index.d.ts +1 -1
- package/dist/components/ContextBar.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.d.ts +1 -1
- package/dist/components/DataTable/DataTableCheckbox.vue.js +6 -6
- package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -6
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +4 -4
- package/dist/components/DataTable/DataTableInput.vue2.js +22 -23
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts +3 -3
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +48 -48
- package/dist/components/DataTable/DataTableText.vue.d.ts.map +1 -1
- package/dist/components/DataTable/index.d.ts +8 -8
- package/dist/components/EmptyState.vue.d.ts.map +1 -1
- package/dist/components/EmptyState.vue.js +2 -2
- package/dist/components/EmptyState.vue2.js +13 -13
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +1 -1
- package/dist/components/HttpMethod/index.d.ts +1 -1
- package/dist/components/IconSelector.vue.d.ts +1 -1
- package/dist/components/IconSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/DropEventListener.vue.d.ts +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts +1 -1
- package/dist/components/ImportCollection/ImportNowButton.vue.d.ts +1 -1
- package/dist/components/ImportCollection/PasteEventListener.vue.d.ts +1 -1
- package/dist/components/ImportCollection/UrlQueryParameterChecker.vue.d.ts +1 -1
- package/dist/components/ImportCollection/hooks/useUrlPrefetcher.d.ts +2 -2
- package/dist/components/ImportCollection/index.d.ts +1 -1
- package/dist/components/ImportCurl/ImportCurlModal.vue.d.ts +3 -3
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Search/useSearch.d.ts +4 -2
- package/dist/components/Search/useSearch.d.ts.map +1 -1
- package/dist/components/Search/useSearch.js +63 -56
- package/dist/components/Search/useSearch.test.d.ts +2 -0
- package/dist/components/Search/useSearch.test.d.ts.map +1 -0
- package/dist/components/Server/ServerDropdown.test.d.ts +2 -0
- package/dist/components/Server/ServerDropdown.test.d.ts.map +1 -0
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue2.js +27 -28
- package/dist/components/Server/ServerVariablesForm.vue.d.ts +2 -2
- package/dist/components/Server/ServerVariablesForm.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts +2 -2
- package/dist/components/Server/ServerVariablesSelect.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.d.ts +2 -2
- package/dist/components/Server/ServerVariablesTextbox.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerVariablesTextbox.vue.js +9 -9
- package/dist/components/Server/index.d.ts +2 -2
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +19 -19
- package/dist/components/SideNav/SideNavLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavLink.vue.js +11 -11
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts +1 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNavRouterLink.vue.js +19 -13
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +3 -3
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Actions/EditSidebarListCollection.vue.d.ts +2 -2
- package/dist/components/Sidebar/Actions/EditSidebarListElement.vue.d.ts +2 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +2 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.vue.js +1 -1
- package/dist/components/Sidebar/Sidebar.vue2.js +5 -5
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue.d.ts +3 -3
- package/dist/components/Sidebar/SidebarListElement.vue.js +1 -1
- package/dist/components/Sidebar/SidebarListElement.vue2.js +9 -9
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts +3 -3
- package/dist/components/Sidebar/SidebarListElementActions.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarToggle.vue.d.ts +1 -1
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +74 -73
- package/dist/components/TopNav/TopNavItem.vue.d.ts +5 -5
- package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/hooks/index.d.ts +5 -4
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/useResponseBody.d.ts +18 -0
- package/dist/hooks/useResponseBody.d.ts.map +1 -0
- package/dist/hooks/useResponseBody.js +28 -0
- package/dist/hooks/useResponseBody.test.d.ts +2 -0
- package/dist/hooks/useResponseBody.test.d.ts.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/layouts/App/ApiClientApp.vue.d.ts +2 -2
- package/dist/layouts/App/create-api-client-app.d.ts +106 -66
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.test.d.ts +2 -0
- package/dist/layouts/App/create-api-client-app.test.d.ts.map +1 -0
- package/dist/layouts/App/index.d.ts +2 -2
- package/dist/layouts/Modal/create-api-client-modal.d.ts +215 -135
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.test.d.ts +2 -0
- package/dist/layouts/Modal/create-api-client-modal.test.d.ts.map +1 -0
- package/dist/layouts/Modal/index.d.ts +2 -2
- package/dist/layouts/Web/create-api-client-web.d.ts +106 -66
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.test.d.ts +2 -0
- package/dist/layouts/Web/create-api-client-web.test.d.ts.map +1 -0
- package/dist/layouts/Web/index.d.ts +2 -2
- package/dist/libs/create-client.d.ts +106 -66
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +56 -57
- package/dist/libs/env-helpers.test.d.ts +2 -0
- package/dist/libs/env-helpers.test.d.ts.map +1 -0
- package/dist/libs/environment-parser.d.ts +1 -1
- package/dist/libs/event-bus.test.d.ts +2 -0
- package/dist/libs/event-bus.test.d.ts.map +1 -0
- package/dist/libs/extractAttachmentFilename.test.d.ts +2 -0
- package/dist/libs/extractAttachmentFilename.test.d.ts.map +1 -0
- package/dist/libs/find-request.test.d.ts +2 -0
- package/dist/libs/find-request.test.d.ts.map +1 -0
- package/dist/libs/getOpenApiDocumentDetails.d.ts +1 -1
- package/dist/libs/getOpenApiDocumentDetails.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/importers/curl.js +1 -1
- package/dist/libs/importers/curl.test.d.ts +2 -0
- package/dist/libs/importers/curl.test.d.ts.map +1 -0
- package/dist/libs/importers/index.d.ts +1 -1
- package/dist/libs/index.d.ts +16 -16
- package/dist/libs/local-storage.d.ts +1 -1
- package/dist/libs/normalize-headers.test.d.ts +2 -0
- package/dist/libs/normalize-headers.test.d.ts.map +1 -0
- package/dist/libs/parse-curl.test.d.ts +2 -0
- package/dist/libs/parse-curl.test.d.ts.map +1 -0
- package/dist/libs/send-request/build-request-security.d.ts.map +1 -1
- package/dist/libs/send-request/build-request-security.js +13 -12
- package/dist/libs/send-request/build-request-security.test.d.ts +2 -0
- package/dist/libs/send-request/build-request-security.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-fetch-auth.test.d.ts +2 -0
- package/dist/libs/send-request/create-fetch-auth.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-fetch-body.test.d.ts +2 -0
- package/dist/libs/send-request/create-fetch-body.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-fetch-headers.test.d.ts +2 -0
- package/dist/libs/send-request/create-fetch-headers.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-fetch-query-params.test.d.ts +2 -0
- package/dist/libs/send-request/create-fetch-query-params.test.d.ts.map +1 -0
- package/dist/libs/send-request/create-request-operation.d.ts +4 -4
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.js +54 -54
- package/dist/libs/send-request/create-request-operation.test.d.ts +171 -0
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -0
- package/dist/libs/send-request/decode-buffer.test.d.ts +2 -0
- package/dist/libs/send-request/decode-buffer.test.d.ts.map +1 -0
- package/dist/libs/send-request/index.d.ts +2 -2
- package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.test.d.ts +2 -0
- package/dist/libs/send-request/set-request-cookies.test.d.ts.map +1 -0
- package/dist/libs/string-template.test.d.ts +2 -0
- package/dist/libs/string-template.test.d.ts.map +1 -0
- package/dist/router.d.ts +1 -1
- package/dist/routes.d.ts +27 -27
- package/dist/routes.js +4 -4
- package/dist/routes.test.d.ts +2 -0
- package/dist/routes.test.d.ts.map +1 -0
- package/dist/store/active-entities.d.ts +10 -6
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts +1 -1
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/collections.js +17 -14
- package/dist/store/collections.test.d.ts +2 -0
- package/dist/store/collections.test.d.ts.map +1 -0
- package/dist/store/events.d.ts +7 -7
- package/dist/store/import-spec.d.ts +1 -1
- package/dist/store/index.d.ts +2 -2
- package/dist/store/request-example.d.ts +52 -52
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/request.test.d.ts +2 -0
- package/dist/store/request.test.d.ts.map +1 -0
- package/dist/store/requests.d.ts +1 -1
- package/dist/store/router-params.d.ts +1 -1
- package/dist/store/store.d.ts +103 -63
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +1 -1
- package/dist/store/workspace.d.ts +44 -4
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts +2 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts +13 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue.js +46 -0
- package/dist/views/Components/CodeSnippet/CodeSnippet.vue2.js +4 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts +28 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.js +64 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts +2 -0
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts +12 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.js +47 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts +2 -0
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts +13 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.js +47 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts +2 -0
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/index.d.ts +5 -0
- package/dist/views/Components/CodeSnippet/index.d.ts.map +1 -0
- package/dist/views/Components/CodeSnippet/index.js +10 -0
- package/dist/views/Cookies/CookieModal.vue.d.ts +3 -3
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +77 -70
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +131 -118
- package/dist/views/Environment/EnvironmentColorModal.vue.d.ts +2 -2
- package/dist/views/Environment/EnvironmentColors.vue.d.ts +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.d.ts +6 -6
- package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.js +1 -1
- package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +2 -2
- package/dist/views/Request/Request.vue.d.ts +2 -2
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +92 -86
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +4 -4
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/index.d.ts +2 -2
- package/dist/views/Request/RequestSection/RequestBody.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/RequestBody.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +20 -20
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +3 -0
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +7 -0
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +141 -0
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +53 -59
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +71 -62
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +8 -8
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +59 -59
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts +6 -0
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.js +20 -0
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts +6 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.js +17 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/index.d.ts +2 -1
- package/dist/views/Request/RequestSection/index.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/index.js +4 -2
- package/dist/views/Request/RequestSidebar.vue.d.ts +5 -5
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +2 -2
- package/dist/views/Request/RequestSidebar.vue2.js +212 -194
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +18 -31
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItem.vue2.js +115 -116
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts +5 -5
- package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue.js +1 -1
- package/dist/views/Request/RequestSidebarItemMenu.vue2.js +120 -101
- package/dist/views/Request/RequestSubpageHeader.test.d.ts +2 -0
- package/dist/views/Request/RequestSubpageHeader.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +3 -3
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBody.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBody.vue2.js +50 -64
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts +3 -3
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyPreview.vue2.js +27 -27
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseBodyToggle.vue.d.ts +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts +2 -0
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts.map +1 -0
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts +6 -0
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +38 -19
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +30 -28
- package/dist/views/Request/ResponseSection/index.d.ts +1 -1
- package/dist/views/Request/components/index.d.ts +1 -1
- package/dist/views/Request/consts/index.d.ts +3 -3
- package/dist/views/Request/handle-drag.d.ts +2 -2
- package/dist/views/Request/libs/auth.d.ts +1 -1
- package/dist/views/Request/libs/auth.test.d.ts +2 -0
- package/dist/views/Request/libs/auth.test.d.ts.map +1 -0
- package/dist/views/Request/libs/index.d.ts +2 -2
- package/dist/views/Request/libs/oauth2.d.ts +2 -2
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +7 -7
- package/dist/views/Request/libs/oauth2.test.d.ts +2 -0
- package/dist/views/Request/libs/oauth2.test.d.ts.map +1 -0
- package/dist/views/Request/libs/request.test.d.ts +2 -0
- package/dist/views/Request/libs/request.test.d.ts.map +1 -0
- package/dist/views/Request/libs/watch-mode.d.ts +2 -2
- package/dist/views/Request/libs/watch-mode.test.d.ts +2 -0
- package/dist/views/Request/libs/watch-mode.test.d.ts.map +1 -0
- package/dist/views/Request/types/sidebar-item.d.ts +2 -2
- package/dist/views/Request/types/sidebar-item.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +74 -65
- package/dist/views/Servers/index.d.ts +1 -1
- package/dist/views/Settings/components/SettingsAppearance.vue.js +6 -6
- package/package.json +27 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type useLoadingState } from '@scalar/components';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
loading?: ReturnType<typeof useLoadingState>;
|
|
4
|
-
disabled
|
|
4
|
+
disabled: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
attrs: Partial<{}>;
|
|
@@ -19,9 +19,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
19
19
|
cancel: () => any;
|
|
20
20
|
back: (e: KeyboardEvent) => any;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
-
onSubmit?: (
|
|
23
|
-
onCancel?: (
|
|
24
|
-
onBack?: (
|
|
22
|
+
onSubmit?: () => any;
|
|
23
|
+
onCancel?: () => any;
|
|
24
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
25
25
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
26
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
27
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandActionForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandActionForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandActionForm.vue"],"names":[],"mappings":"AAAA,OAsCO,EAAgB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAIvE,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;IAC5C,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAC;AAiBF,iBAAS,cAAc;WAwET,OAAO,IAA6B;;yBAVrB,GAAG;yBACH,GAAG;wBACJ,GAAG;;;;EAa9B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;8FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as i, createElementBlock as d, withKeys as a, withModifiers as l, createElementVNode as
|
|
1
|
+
import { defineComponent as n, openBlock as i, createElementBlock as d, withKeys as a, withModifiers as l, createElementVNode as o, renderSlot as s, createVNode as r, unref as m, withCtx as f, createTextVNode as p } from "vue";
|
|
2
2
|
import { ScalarButton as u } from "@scalar/components";
|
|
3
3
|
const b = { class: "flex flex-col rounded min-h-20 relative" }, x = { class: "flex gap-2" }, c = { class: "flex flex-1 max-h-8" }, h = /* @__PURE__ */ n({
|
|
4
4
|
__name: "CommandActionForm",
|
|
5
5
|
props: {
|
|
6
6
|
loading: {},
|
|
7
|
-
disabled: { type: Boolean }
|
|
7
|
+
disabled: { type: Boolean, default: !1 }
|
|
8
8
|
},
|
|
9
9
|
emits: ["submit", "cancel", "back"],
|
|
10
10
|
setup(g) {
|
|
11
|
-
return (e,
|
|
11
|
+
return (e, t) => (i(), d("form", {
|
|
12
12
|
class: "flex w-full flex-col gap-3",
|
|
13
|
-
onKeydown:
|
|
13
|
+
onKeydown: t[0] || (t[0] = a(l(() => {
|
|
14
14
|
}, ["stop"]), ["enter"])),
|
|
15
|
-
onSubmit:
|
|
15
|
+
onSubmit: t[1] || (t[1] = l((v) => e.$emit("submit"), ["prevent", "stop"]))
|
|
16
16
|
}, [
|
|
17
|
-
|
|
17
|
+
o("div", b, [
|
|
18
18
|
s(e.$slots, "default")
|
|
19
19
|
]),
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
o("div", x, [
|
|
21
|
+
o("div", c, [
|
|
22
22
|
s(e.$slots, "options")
|
|
23
23
|
]),
|
|
24
24
|
r(m(u), {
|
|
@@ -27,9 +27,9 @@ const b = { class: "flex flex-col rounded min-h-20 relative" }, x = { class: "fl
|
|
|
27
27
|
loading: e.loading,
|
|
28
28
|
type: "submit"
|
|
29
29
|
}, {
|
|
30
|
-
default:
|
|
30
|
+
default: f(() => [
|
|
31
31
|
s(e.$slots, "submit", {}, () => [
|
|
32
|
-
|
|
32
|
+
t[2] || (t[2] = p("Continue"))
|
|
33
33
|
])
|
|
34
34
|
]),
|
|
35
35
|
_: 3
|
|
@@ -7,8 +7,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
7
7
|
"update:modelValue": (v: string) => any;
|
|
8
8
|
onDelete: (event: KeyboardEvent) => any;
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
"onUpdate:modelValue"?: (
|
|
11
|
-
onOnDelete?: (
|
|
10
|
+
"onUpdate:modelValue"?: (v: string) => any;
|
|
11
|
+
onOnDelete?: (event: KeyboardEvent) => any;
|
|
12
12
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
export default _default;
|
|
14
14
|
//# sourceMappingURL=CommandActionInput.vue.d.ts.map
|
|
@@ -35,7 +35,7 @@ const E = ["placeholder"], b = /* @__PURE__ */ f({
|
|
|
35
35
|
ref: a,
|
|
36
36
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => l.value = o),
|
|
37
37
|
class: "border-none outline-none flex-1 w-full pl-8 text-sm min-h-8 py-1.5 resize-none",
|
|
38
|
-
placeholder: n.placeholder,
|
|
38
|
+
placeholder: n.placeholder ?? "",
|
|
39
39
|
wrap: "hard"
|
|
40
40
|
}, e.$attrs, {
|
|
41
41
|
onKeydown: [
|
|
@@ -2,8 +2,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
2
2
|
close: () => any;
|
|
3
3
|
back: (e: KeyboardEvent) => any;
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
-
onClose?: (
|
|
6
|
-
onBack?: (
|
|
5
|
+
onClose?: () => any;
|
|
6
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
7
7
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
8
8
|
export default _default;
|
|
9
9
|
//# sourceMappingURL=CommandPaletteCollection.vue.d.ts.map
|
|
@@ -8,8 +8,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
8
8
|
close: () => any;
|
|
9
9
|
back: (e: KeyboardEvent) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
onClose?: (
|
|
12
|
-
onBack?: (
|
|
11
|
+
onClose?: () => any;
|
|
12
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
13
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
export default _default;
|
|
15
15
|
//# sourceMappingURL=CommandPaletteExample.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteExample.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteExample.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CommandPaletteExample.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/CommandPaletteExample.vue"],"names":[],"mappings":"AAqJA,KAAK,WAAW,GAAG;IACjB,oCAAoC;IACpC,QAAQ,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAC/B,CAAC;;;;;;;;AA4RF,wBAOG"}
|
|
@@ -1,48 +1,54 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent as q, ref as x, computed as B, openBlock as i, createBlock as b, withCtx as l, createVNode as r, unref as n, createElementVNode as k, createElementBlock as P, Fragment as W, renderList as $, createTextVNode as u, toDisplayString as h, createCommentVNode as I } from "vue";
|
|
2
|
+
import _ from "../HttpMethod/HttpMethod.vue.js";
|
|
3
|
+
import { PathId as c } from "../../routes.js";
|
|
3
4
|
import { useActiveEntities as j } from "../../store/active-entities.js";
|
|
4
|
-
import { ScalarDropdown as z, ScalarDropdownItem as
|
|
5
|
-
import { isDefined as
|
|
6
|
-
import { useToasts as
|
|
7
|
-
import { useRouter as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { useWorkspace as
|
|
11
|
-
const
|
|
5
|
+
import { ScalarDropdown as z, ScalarDropdownItem as M, ScalarButton as T, ScalarIcon as U } from "@scalar/components";
|
|
6
|
+
import { isDefined as A } from "@scalar/oas-utils/helpers";
|
|
7
|
+
import { useToasts as F } from "@scalar/use-toasts";
|
|
8
|
+
import { useRouter as H } from "vue-router";
|
|
9
|
+
import L from "./CommandActionForm.vue.js";
|
|
10
|
+
import O from "./CommandActionInput.vue.js";
|
|
11
|
+
import { useWorkspace as G } from "../../store/store.js";
|
|
12
|
+
const J = { class: "flex items-center gap-2" }, K = { class: "max-h-40 custom-scroll" }, ne = /* @__PURE__ */ q({
|
|
12
13
|
__name: "CommandPaletteExample",
|
|
13
14
|
props: {
|
|
14
15
|
metaData: {}
|
|
15
16
|
},
|
|
16
17
|
emits: ["close", "back"],
|
|
17
|
-
setup(
|
|
18
|
-
var
|
|
19
|
-
const
|
|
18
|
+
setup(C, { emit: E }) {
|
|
19
|
+
var v;
|
|
20
|
+
const w = C, p = E, { push: D } = H(), { activeRequest: S, activeWorkspace: g, activeWorkspaceRequests: y } = j(), { requests: s, requestExampleMutators: N } = G(), { toast: d } = F(), m = x(""), a = x(
|
|
20
21
|
// Ensure we pre-select the correct request
|
|
21
|
-
s[((
|
|
22
|
-
),
|
|
22
|
+
s[((v = w.metaData) == null ? void 0 : v.itemUid) ?? ""] ?? S.value
|
|
23
|
+
), f = (o) => a.value = o, V = () => {
|
|
23
24
|
var e;
|
|
24
25
|
if (!m.value) {
|
|
25
|
-
|
|
26
|
+
d("Please enter a name before creating an example.", "error");
|
|
26
27
|
return;
|
|
27
28
|
}
|
|
28
29
|
if (!a.value) {
|
|
29
|
-
|
|
30
|
+
d("Please select a request before creating an example.", "error");
|
|
30
31
|
return;
|
|
31
32
|
}
|
|
32
|
-
const o =
|
|
33
|
+
const o = N.add(
|
|
33
34
|
a.value,
|
|
34
35
|
m.value
|
|
35
36
|
);
|
|
36
|
-
o && (D(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
o && (D({
|
|
38
|
+
name: "request.examples",
|
|
39
|
+
params: {
|
|
40
|
+
[c.Workspace]: (e = g.value) == null ? void 0 : e.uid,
|
|
41
|
+
[c.Request]: a.value.uid,
|
|
42
|
+
[c.Examples]: o.uid
|
|
43
|
+
}
|
|
44
|
+
}), p("close"));
|
|
45
|
+
}, R = B(
|
|
46
|
+
() => y.value.map((o) => s == null ? void 0 : s[o]).filter(A)
|
|
41
47
|
);
|
|
42
|
-
return (o, e) => a.value ? (i(),
|
|
48
|
+
return (o, e) => a.value ? (i(), b(L, {
|
|
43
49
|
key: 0,
|
|
44
50
|
disabled: !m.value.trim(),
|
|
45
|
-
onSubmit:
|
|
51
|
+
onSubmit: V
|
|
46
52
|
}, {
|
|
47
53
|
options: l(() => [
|
|
48
54
|
r(n(z), {
|
|
@@ -50,15 +56,15 @@ const G = { class: "flex items-center gap-2" }, J = { class: "max-h-40 custom-sc
|
|
|
50
56
|
resize: ""
|
|
51
57
|
}, {
|
|
52
58
|
items: l(() => [
|
|
53
|
-
|
|
54
|
-
(i(!0),
|
|
59
|
+
k("div", K, [
|
|
60
|
+
(i(!0), P(W, null, $(R.value, (t) => (i(), b(n(M), {
|
|
55
61
|
key: t.uid,
|
|
56
62
|
class: "flex h-7 w-full items-center justify-between px-1 pr-[26px]",
|
|
57
|
-
onClick: (
|
|
63
|
+
onClick: (Q) => f(t)
|
|
58
64
|
}, {
|
|
59
65
|
default: l(() => [
|
|
60
|
-
u(
|
|
61
|
-
r(
|
|
66
|
+
u(h(t.summary) + " ", 1),
|
|
67
|
+
r(_, {
|
|
62
68
|
method: t.method
|
|
63
69
|
}, null, 8, ["method"])
|
|
64
70
|
]),
|
|
@@ -67,18 +73,18 @@ const G = { class: "flex items-center gap-2" }, J = { class: "max-h-40 custom-sc
|
|
|
67
73
|
])
|
|
68
74
|
]),
|
|
69
75
|
default: l(() => [
|
|
70
|
-
r(n(
|
|
76
|
+
r(n(T), {
|
|
71
77
|
class: "justify-between p-2 max-h-8 w-full gap-1 text-xs hover:bg-b-2",
|
|
72
78
|
variant: "outlined",
|
|
73
|
-
onClick: e[2] || (e[2] = (t) =>
|
|
79
|
+
onClick: e[2] || (e[2] = (t) => f(a.value))
|
|
74
80
|
}, {
|
|
75
81
|
default: l(() => [
|
|
76
|
-
u(
|
|
77
|
-
|
|
78
|
-
r(
|
|
82
|
+
u(h(a.value.summary) + " ", 1),
|
|
83
|
+
k("div", J, [
|
|
84
|
+
r(_, {
|
|
79
85
|
method: a.value.method
|
|
80
86
|
}, null, 8, ["method"]),
|
|
81
|
-
r(n(
|
|
87
|
+
r(n(U), {
|
|
82
88
|
class: "text-c-3",
|
|
83
89
|
icon: "ChevronDown",
|
|
84
90
|
size: "md"
|
|
@@ -95,18 +101,18 @@ const G = { class: "flex items-center gap-2" }, J = { class: "max-h-40 custom-sc
|
|
|
95
101
|
u("Create Example")
|
|
96
102
|
])),
|
|
97
103
|
default: l(() => [
|
|
98
|
-
r(
|
|
104
|
+
r(O, {
|
|
99
105
|
modelValue: m.value,
|
|
100
106
|
"onUpdate:modelValue": e[0] || (e[0] = (t) => m.value = t),
|
|
101
107
|
label: "Example Name",
|
|
102
108
|
placeholder: "Example Name",
|
|
103
|
-
onOnDelete: e[1] || (e[1] = (t) =>
|
|
109
|
+
onOnDelete: e[1] || (e[1] = (t) => p("back", t))
|
|
104
110
|
}, null, 8, ["modelValue"])
|
|
105
111
|
]),
|
|
106
112
|
_: 1
|
|
107
|
-
}, 8, ["disabled"])) :
|
|
113
|
+
}, 8, ["disabled"])) : I("", !0);
|
|
108
114
|
}
|
|
109
115
|
});
|
|
110
116
|
export {
|
|
111
|
-
|
|
117
|
+
ne as default
|
|
112
118
|
};
|
|
@@ -2,8 +2,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
2
2
|
close: () => any;
|
|
3
3
|
back: (e: KeyboardEvent) => any;
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
-
onClose?: (
|
|
6
|
-
onBack?: (
|
|
5
|
+
onClose?: () => any;
|
|
6
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
7
7
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
8
8
|
export default _default;
|
|
9
9
|
//# sourceMappingURL=CommandPaletteImport.vue.d.ts.map
|
|
@@ -147,7 +147,7 @@ const ae = { class: "flex justify-between" }, le = { class: "flex flex-row items
|
|
|
147
147
|
s.value.title ? (l(), i(v, { key: 0 }, [
|
|
148
148
|
d(' "' + V(s.value.title) + '" ', 1)
|
|
149
149
|
], 64)) : (l(), i(v, { key: 1 }, [
|
|
150
|
-
d(V(s.value.version)
|
|
150
|
+
d(V(s.value.version), 1)
|
|
151
151
|
], 64))
|
|
152
152
|
], 64)) : (l(), i(v, { key: 2 }, [
|
|
153
153
|
d("Collection")
|
|
@@ -8,8 +8,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
8
8
|
close: () => any;
|
|
9
9
|
back: (e: KeyboardEvent) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
onClose?: (
|
|
12
|
-
onBack?: (
|
|
11
|
+
onClose?: () => any;
|
|
12
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
13
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
14
14
|
export default _default;
|
|
15
15
|
//# sourceMappingURL=CommandPaletteRequest.vue.d.ts.map
|
|
@@ -8,8 +8,8 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
8
8
|
close: () => any;
|
|
9
9
|
back: (e: KeyboardEvent) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
onClose?: (
|
|
12
|
-
onBack?: (
|
|
11
|
+
onClose?: () => any;
|
|
12
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
13
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
14
14
|
export default _default;
|
|
15
15
|
//# sourceMappingURL=CommandPaletteServer.vue.d.ts.map
|
|
@@ -2,8 +2,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
2
2
|
close: () => any;
|
|
3
3
|
back: (e: KeyboardEvent) => any;
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
-
onClose?: (
|
|
6
|
-
onBack?: (
|
|
5
|
+
onClose?: () => any;
|
|
6
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
7
7
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
8
8
|
export default _default;
|
|
9
9
|
//# sourceMappingURL=CommandPaletteTag.vue.d.ts.map
|
|
@@ -2,8 +2,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
2
2
|
close: () => any;
|
|
3
3
|
back: (e: KeyboardEvent) => any;
|
|
4
4
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
-
onClose?: (
|
|
6
|
-
onBack?: (
|
|
5
|
+
onClose?: () => any;
|
|
6
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
7
7
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
8
8
|
export default _default;
|
|
9
9
|
//# sourceMappingURL=CommandPaletteWorkspace.vue.d.ts.map
|
|
@@ -10,8 +10,8 @@ export declare const PaletteComponents: {
|
|
|
10
10
|
close: () => any;
|
|
11
11
|
back: (e: KeyboardEvent) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
13
|
-
onClose?: (
|
|
14
|
-
onBack?: (
|
|
13
|
+
onClose?: () => any;
|
|
14
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
16
16
|
readonly 'Create Request': import("vue").DefineComponent<{
|
|
17
17
|
metaData?: {
|
|
@@ -27,22 +27,22 @@ export declare const PaletteComponents: {
|
|
|
27
27
|
parentUid: string;
|
|
28
28
|
};
|
|
29
29
|
}> & Readonly<{
|
|
30
|
-
onClose?: (
|
|
31
|
-
onBack?: (
|
|
30
|
+
onClose?: () => any;
|
|
31
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
32
32
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
33
33
|
readonly 'Create Workspace': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
34
|
close: () => any;
|
|
35
35
|
back: (e: KeyboardEvent) => any;
|
|
36
36
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
37
|
-
onClose?: (
|
|
38
|
-
onBack?: (
|
|
37
|
+
onClose?: () => any;
|
|
38
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
39
39
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
40
40
|
readonly 'Add Tag': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
41
41
|
close: () => any;
|
|
42
42
|
back: (e: KeyboardEvent) => any;
|
|
43
43
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
44
|
-
onClose?: (
|
|
45
|
-
onBack?: (
|
|
44
|
+
onClose?: () => any;
|
|
45
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
46
46
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
47
47
|
readonly 'Add Server': import("vue").DefineComponent<{
|
|
48
48
|
metaData?: {
|
|
@@ -58,15 +58,15 @@ export declare const PaletteComponents: {
|
|
|
58
58
|
parentUid?: string;
|
|
59
59
|
};
|
|
60
60
|
}> & Readonly<{
|
|
61
|
-
onClose?: (
|
|
62
|
-
onBack?: (
|
|
61
|
+
onClose?: () => any;
|
|
62
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
63
63
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
64
64
|
readonly 'Create Collection': import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
65
65
|
close: () => any;
|
|
66
66
|
back: (e: KeyboardEvent) => any;
|
|
67
67
|
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
68
|
-
onClose?: (
|
|
69
|
-
onBack?: (
|
|
68
|
+
onClose?: () => any;
|
|
69
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
70
70
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
71
71
|
readonly 'Add Example': import("vue").DefineComponent<{
|
|
72
72
|
metaData?: {
|
|
@@ -80,8 +80,8 @@ export declare const PaletteComponents: {
|
|
|
80
80
|
itemUid: string;
|
|
81
81
|
};
|
|
82
82
|
}> & Readonly<{
|
|
83
|
-
onClose?: (
|
|
84
|
-
onBack?: (
|
|
83
|
+
onClose?: () => any;
|
|
84
|
+
onBack?: (e: KeyboardEvent) => any;
|
|
85
85
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
86
86
|
};
|
|
87
87
|
/** Infer the types from the commands */
|
|
@@ -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":"AAoZA;;;;GAIG;;AACH,wBAieI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA9f9B,CA9OgD;qBA8OhD,CA7OO;;;;;;;mBA6OP,CA9OgD;qBA8OhD,CA7OO;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmvBG,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 a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-e9fd9234"]]);
|
|
6
6
|
export {
|
|
7
7
|
s as PaletteComponents,
|
|
8
|
-
|
|
8
|
+
a as default
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as q, ref as i, computed as T, watch as F, onMounted as G, onBeforeUnmount as Q, openBlock as a, createBlock as z, unref as r, withCtx as y, createElementVNode as u, createVNode as p, createTextVNode as K, createElementBlock as m, withDirectives as M, withKeys as w, withModifiers as g, vModelText as j, Fragment as P, renderList as B, toDisplayString as N, vShow as J, normalizeClass as X, createCommentVNode as Y, resolveDynamicComponent as Z, mergeProps as ee, nextTick as V } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Dialog as oe, DialogPanel as te, DialogTitle as ne } from "@headlessui/vue";
|
|
3
|
+
import { useModal as ae, ScalarIcon as A } from "@scalar/components";
|
|
4
4
|
import { useRouter as le } from "vue-router";
|
|
5
5
|
import { ROUTES as se } from "../../constants.js";
|
|
6
6
|
import { useActiveEntities as re } from "../../store/active-entities.js";
|
|
@@ -14,10 +14,10 @@ import fe from "./CommandPaletteWorkspace.vue.js";
|
|
|
14
14
|
import { useWorkspace as ve } from "../../store/store.js";
|
|
15
15
|
const he = {
|
|
16
16
|
key: 0,
|
|
17
|
-
class: "
|
|
18
|
-
}, Ce = { class: "bg-b-2
|
|
17
|
+
class: "custom-scroll max-h-[50dvh] min-h-0 flex-1 rounded-lg p-1.5"
|
|
18
|
+
}, Ce = { class: "bg-b-2 focus-within:bg-b-1 focus-within:border-b-3 sticky top-0 flex items-center rounded-md border border-transparent pl-2 shadow-[0_-8px_0_8px_var(--scalar-background-1),0_0_8px_8px_var(--scalar-background-1)]" }, xe = { for: "commandmenu" }, _e = ["onKeydown"], ke = ["onClick"], be = {
|
|
19
19
|
key: 0,
|
|
20
|
-
class: "text-c-3 text-center text-sm
|
|
20
|
+
class: "text-c-3 p-2 pt-3 text-center text-sm"
|
|
21
21
|
}, ye = {
|
|
22
22
|
key: 1,
|
|
23
23
|
class: "flex-1 p-1.5"
|
|
@@ -91,7 +91,7 @@ const he = {
|
|
|
91
91
|
path: `${o.name}.default`
|
|
92
92
|
}))
|
|
93
93
|
}
|
|
94
|
-
], d =
|
|
94
|
+
], d = ae(), { push: W } = le(), { activeWorkspace: H } = re(), { events: f } = ve(), x = i(), l = i(""), s = i(null), c = i(-1), D = i([]), v = T(
|
|
95
95
|
() => S.reduce((o, e) => {
|
|
96
96
|
const t = e.commands.filter(
|
|
97
97
|
(n) => n.name.toLowerCase().includes(l.value.toLowerCase())
|
|
@@ -145,15 +145,15 @@ const he = {
|
|
|
145
145
|
f.commandPalette.on(I), f.hotKeys.on(E);
|
|
146
146
|
}), Q(() => {
|
|
147
147
|
f.commandPalette.off(I), f.hotKeys.off(E);
|
|
148
|
-
}), (o, e) => (a(), z(r(
|
|
148
|
+
}), (o, e) => (a(), z(r(oe), {
|
|
149
149
|
open: r(d).open,
|
|
150
150
|
onClose: e[5] || (e[5] = (t) => h())
|
|
151
151
|
}, {
|
|
152
152
|
default: y(() => [
|
|
153
153
|
e[7] || (e[7] = u("div", { class: "commandmenu-overlay z-overlay" }, null, -1)),
|
|
154
|
-
p(r(
|
|
154
|
+
p(r(te), { class: "commandmenu z-overlay flex flex-col" }, {
|
|
155
155
|
default: y(() => [
|
|
156
|
-
p(r(
|
|
156
|
+
p(r(ne), { class: "sr-only" }, {
|
|
157
157
|
default: y(() => e[6] || (e[6] = [
|
|
158
158
|
K("API Client Command Menu")
|
|
159
159
|
])),
|
|
@@ -161,7 +161,7 @@ const he = {
|
|
|
161
161
|
}),
|
|
162
162
|
s.value ? (a(), m("div", ye, [
|
|
163
163
|
u("button", {
|
|
164
|
-
class: "
|
|
164
|
+
class: "p-0.75 hover:bg-b-3 text-c-3 active:text-c-1 my-1.25 z-1 absolute mr-1.5 rounded",
|
|
165
165
|
type: "button",
|
|
166
166
|
onClick: e[3] || (e[3] = (t) => s.value = null)
|
|
167
167
|
}, [
|
|
@@ -192,7 +192,7 @@ const he = {
|
|
|
192
192
|
"onUpdate:modelValue": e[0] || (e[0] = (t) => l.value = t),
|
|
193
193
|
autocomplete: "off",
|
|
194
194
|
autofocus: "",
|
|
195
|
-
class: "w-full rounded
|
|
195
|
+
class: "w-full rounded border-none bg-none py-1.5 text-sm focus:outline-none",
|
|
196
196
|
placeholder: "Search commands...",
|
|
197
197
|
type: "text",
|
|
198
198
|
onKeydown: [
|
|
@@ -207,7 +207,7 @@ const he = {
|
|
|
207
207
|
(a(), m(P, null, B(S, (t) => (a(), m(P, {
|
|
208
208
|
key: t.label
|
|
209
209
|
}, [
|
|
210
|
-
M(u("div", { class: "text-c-3
|
|
210
|
+
M(u("div", { class: "text-c-3 mb-1 mt-2 px-2 text-xs font-medium" }, N(t.label), 513), [
|
|
211
211
|
[
|
|
212
212
|
J,
|
|
213
213
|
t.commands.filter(
|
|
@@ -225,7 +225,7 @@ const he = {
|
|
|
225
225
|
ref: (b) => {
|
|
226
226
|
b && (D.value[C] = b);
|
|
227
227
|
},
|
|
228
|
-
class: X(["commandmenu-item
|
|
228
|
+
class: X(["commandmenu-item hover:bg-b-2 flex cursor-pointer items-center rounded px-2 py-1.5 text-sm", {
|
|
229
229
|
"bg-b-2": n.name === ((L = k.value) == null ? void 0 : L.name)
|
|
230
230
|
}]),
|
|
231
231
|
onClick: (b) => $(n)
|
|
@@ -5,7 +5,7 @@ type __VLS_Props = {
|
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
6
|
"update:modelValue": (value: boolean) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
-
"onUpdate:modelValue"?: (
|
|
8
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
9
9
|
}>, {
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
@@ -27,7 +27,7 @@ const N = /* @__PURE__ */ c({
|
|
|
27
27
|
], 2),
|
|
28
28
|
d(s(b), {
|
|
29
29
|
id: "watch-toggle",
|
|
30
|
-
disabled: e.disabled,
|
|
30
|
+
disabled: !!e.disabled,
|
|
31
31
|
modelValue: o.value,
|
|
32
32
|
"onUpdate:modelValue": t[0] || (t[0] = (u) => l("update:modelValue", u))
|
|
33
33
|
}, null, 8, ["disabled", "modelValue"])
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as TheCommandPalette } from './TheCommandPalette.vue
|
|
1
|
+
export { default as TheCommandPalette } from './TheCommandPalette.vue';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ type __VLS_Props = {
|
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
6
|
setActiveSection: (value: string) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
-
onSetActiveSection?: (
|
|
8
|
+
onSetActiveSection?: (value: string) => any;
|
|
9
9
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
|
|
10
10
|
export default _default;
|
|
11
11
|
//# sourceMappingURL=ContextBar.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAA;IAC/B,0BAA0B;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AASF,iBAAS,cAAc;WAuDT,OAAO,IAA6B;;yBATrB,GAAG;yBACH,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;
|
|
1
|
+
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAA;IAC/B,0BAA0B;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AASF,iBAAS,cAAc;WAuDT,OAAO,IAA6B;;yBATrB,GAAG;yBACH,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAUpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTableCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableCell.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAIpC,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACxB,CAAC;AAeJ,iBAAS,cAAc;WA+CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;QA/EZ,MAAM,GAAG,SAAS;6EAsFzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;
|
|
1
|
+
{"version":3,"file":"DataTableCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTableCell.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAIpC,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CACxB,CAAC;AAeJ,iBAAS,cAAc;WA+CT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;QA/EZ,MAAM,GAAG,SAAS;6EAsFzB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAepG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -6,7 +6,7 @@ type __VLS_Props = {
|
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
"update:modelValue": (v: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: (
|
|
9
|
+
"onUpdate:modelValue"?: (v: boolean) => any;
|
|
10
10
|
}>, {
|
|
11
11
|
align: "left" | "center";
|
|
12
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, openBlock as
|
|
1
|
+
import { defineComponent as c, openBlock as n, createBlock as i, withCtx as d, createElementVNode as a, normalizeClass as t, unref as l, createVNode as u } from "vue";
|
|
2
2
|
import { cva as p, ScalarIcon as m } from "@scalar/components";
|
|
3
3
|
import b from "./DataTableCell.vue.js";
|
|
4
4
|
const f = ["checked", "disabled"], y = /* @__PURE__ */ c({
|
|
@@ -19,20 +19,20 @@ const f = ["checked", "disabled"], y = /* @__PURE__ */ c({
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
return (e,
|
|
22
|
+
return (e, o) => (n(), i(b, { class: "group/cell relative flex min-w-8" }, {
|
|
23
23
|
default: d(() => [
|
|
24
24
|
a("input", {
|
|
25
25
|
checked: e.modelValue,
|
|
26
26
|
class: "peer absolute inset-0 opacity-0 disabled:cursor-default cursor-pointer",
|
|
27
|
-
disabled: e.disabled,
|
|
27
|
+
disabled: !!e.disabled,
|
|
28
28
|
type: "checkbox",
|
|
29
|
-
onChange:
|
|
29
|
+
onChange: o[0] || (o[0] = (r) => e.$emit("update:modelValue", r.target.checked))
|
|
30
30
|
}, null, 40, f),
|
|
31
31
|
a("div", {
|
|
32
|
-
class:
|
|
32
|
+
class: t(l(s)({ align: e.align }))
|
|
33
33
|
}, [
|
|
34
34
|
a("div", {
|
|
35
|
-
class:
|
|
35
|
+
class: t([
|
|
36
36
|
"absolute opacity-0 border-[1px] rounded size-3/4 m-auto",
|
|
37
37
|
!e.disabled && "group-hover/cell:opacity-100 group-has-[:focus-visible]/cell:opacity-100 group-has-[:focus-visible]/cell:border-c-accent"
|
|
38
38
|
])
|