@scalar/api-client 2.9.0 → 2.10.0
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 +37 -0
- package/README.md +2 -2
- package/dist/components/CommandPalette/CommandActionForm.vue.js +9 -9
- package/dist/libs/send-request/build-request-security.d.ts.map +1 -1
- package/dist/libs/send-request/build-request-security.js +1 -1
- package/dist/libs/send-request/create-fetch-query-params.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +89 -0
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js +129 -0
- package/dist/v2/blocks/operation-block/OperationBlock.vue2.js +4 -0
- package/dist/v2/{features/operation → blocks/operation-block}/components/Header.vue.d.ts +8 -27
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/components/Header.vue.js +7 -0
- package/dist/v2/blocks/operation-block/components/Header.vue2.js +93 -0
- package/dist/v2/blocks/operation-block/index.d.ts +2 -0
- package/dist/v2/blocks/operation-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/index.js +4 -0
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +8 -24
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +60 -59
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +7 -28
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +97 -87
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts +7 -17
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue2.js +46 -41
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +4 -5
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +47 -45
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +5 -5
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +7 -7
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +6 -9
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +255 -206
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts +30 -25
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +140 -97
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +31 -29
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.js +2 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue2.js +32 -29
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +56 -51
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +2 -4
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +3 -3
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +39 -38
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +140 -0
- package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -0
- package/dist/v2/components/code-input/CodeInput.vue.js +8 -0
- package/dist/v2/components/code-input/CodeInput.vue2.js +202 -0
- package/dist/v2/components/code-input/code-variable-widget.d.ts +21 -0
- package/dist/v2/components/code-input/code-variable-widget.d.ts.map +1 -0
- package/dist/v2/components/code-input/code-variable-widget.js +106 -0
- package/dist/v2/components/code-input/index.d.ts +2 -0
- package/dist/v2/components/code-input/index.d.ts.map +1 -0
- package/dist/v2/components/code-input/index.js +4 -0
- package/dist/v2/components/data-table/DataTable.vue.d.ts +22 -0
- package/dist/v2/components/data-table/DataTable.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTable.vue.js +38 -0
- package/dist/v2/components/data-table/DataTable.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableCell.vue.d.ts +19 -0
- package/dist/v2/components/data-table/DataTableCell.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableCell.vue.js +26 -0
- package/dist/v2/components/data-table/DataTableCell.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts +14 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue.js +53 -0
- package/dist/v2/components/data-table/DataTableCheckbox.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableHeader.vue.d.ts +13 -0
- package/dist/v2/components/data-table/DataTableHeader.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableHeader.vue.js +18 -0
- package/dist/v2/components/data-table/DataTableHeader.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts +53 -0
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableInput.vue.js +7 -0
- package/dist/v2/components/data-table/DataTableInput.vue2.js +117 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts +16 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue.js +146 -0
- package/dist/v2/components/data-table/DataTableInputSelect.vue2.js +4 -0
- package/dist/v2/components/data-table/DataTableRow.vue.d.ts +13 -0
- package/dist/v2/components/data-table/DataTableRow.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableRow.vue.js +12 -0
- package/dist/v2/components/data-table/DataTableText.vue.d.ts +16 -0
- package/dist/v2/components/data-table/DataTableText.vue.d.ts.map +1 -0
- package/dist/v2/components/data-table/DataTableText.vue.js +23 -0
- package/dist/v2/components/data-table/DataTableText.vue2.js +4 -0
- package/dist/v2/components/data-table/index.d.ts +9 -0
- package/dist/v2/components/data-table/index.d.ts.map +1 -0
- package/dist/v2/components/data-table/index.js +18 -0
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js +43 -42
- package/dist/v2/features/app/App.vue.d.ts.map +1 -1
- package/dist/v2/features/app/App.vue.js +72 -44
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +1 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +2 -2
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +3 -0
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.js +8 -7
- package/dist/v2/features/app/components/DesktopTabs.vue2.js +6 -0
- package/dist/v2/features/app/helpers/routes.d.ts +17 -10
- package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
- package/dist/v2/features/app/helpers/routes.js +1 -7
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/DocumentCollection.vue2.js +61 -45
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue2.js +19 -14
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +4 -25
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +1 -1
- package/dist/v2/features/collection/components/Authentication.vue2.js +27 -28
- package/dist/v2/features/collection/components/Environment.vue.d.ts +13 -87
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Environment.vue2.js +23 -25
- package/dist/v2/features/collection/components/Overview.vue.d.ts +13 -12
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
- package/dist/v2/features/collection/components/Overview.vue.js +5 -2
- package/dist/v2/features/collection/components/Overview.vue2.js +68 -67
- package/dist/v2/features/collection/components/Tabs.vue.js +8 -8
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts +6 -95
- package/dist/v2/features/environments/EnvironmentsList.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/EnvironmentsList.vue.js +50 -98
- package/dist/v2/features/environments/components/Environment.vue.d.ts +9 -63
- package/dist/v2/features/environments/components/Environment.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/Environment.vue.js +41 -92
- package/dist/v2/features/environments/components/EnvironmentColors.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentColors.vue.js +105 -81
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts +7 -14
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentCreateModal.vue.js +61 -39
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +1 -1
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.js +3 -3
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts +21 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.d.ts.map +1 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue.js +109 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesDropdown.vue2.js +4 -0
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts +7 -20
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.d.ts.map +1 -1
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue.js +3 -3
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.vue2.js +85 -71
- package/dist/v2/features/environments/index.d.ts +0 -3
- package/dist/v2/features/environments/index.d.ts.map +1 -1
- package/dist/v2/features/environments/index.js +2 -4
- package/dist/v2/features/operation/Operation.vue.d.ts +10 -77
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js +56 -114
- package/dist/v2/helpers/test-utils.d.ts +4 -0
- package/dist/v2/helpers/test-utils.d.ts.map +1 -0
- package/dist/v2/hooks/use-workspace-client-events.d.ts +2 -1
- package/dist/v2/hooks/use-workspace-client-events.d.ts.map +1 -1
- package/dist/v2/hooks/use-workspace-client-events.js +137 -10
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +8 -6
- package/package.json +16 -16
- package/dist/components/CodeInput/CodeInput.test.d.ts +0 -2
- package/dist/components/CodeInput/CodeInput.test.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts +0 -2
- package/dist/components/ImportCollection/utils/get-openapi-version.test.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/is-document.test.d.ts +0 -2
- package/dist/components/ImportCollection/utils/is-document.test.d.ts.map +0 -1
- package/dist/components/ImportCollection/utils/is-url.test.d.ts +0 -2
- package/dist/components/ImportCollection/utils/is-url.test.d.ts.map +0 -1
- package/dist/components/Search/useSearch.test.d.ts +0 -2
- package/dist/components/Search/useSearch.test.d.ts.map +0 -1
- package/dist/components/Server/ServerDropdown.test.d.ts +0 -2
- package/dist/components/Server/ServerDropdown.test.d.ts.map +0 -1
- package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts +0 -2
- package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts.map +0 -1
- package/dist/hooks/useResponseBody.test.d.ts +0 -2
- package/dist/hooks/useResponseBody.test.d.ts.map +0 -1
- package/dist/hooks/useSidebar.test.d.ts +0 -2
- package/dist/hooks/useSidebar.test.d.ts.map +0 -1
- package/dist/layouts/App/create-api-client-app.test.d.ts +0 -2
- package/dist/layouts/App/create-api-client-app.test.d.ts.map +0 -1
- package/dist/layouts/Modal/create-api-client-modal.test.d.ts +0 -2
- package/dist/layouts/Modal/create-api-client-modal.test.d.ts.map +0 -1
- package/dist/layouts/Web/create-api-client-web.test.d.ts +0 -2
- package/dist/layouts/Web/create-api-client-web.test.d.ts.map +0 -1
- package/dist/libs/create-client.test.d.ts +0 -2
- package/dist/libs/create-client.test.d.ts.map +0 -1
- package/dist/libs/env-helpers.test.d.ts +0 -2
- package/dist/libs/env-helpers.test.d.ts.map +0 -1
- package/dist/libs/event-bus.test.d.ts +0 -2
- package/dist/libs/event-bus.test.d.ts.map +0 -1
- package/dist/libs/extractAttachmentFilename.test.d.ts +0 -2
- package/dist/libs/extractAttachmentFilename.test.d.ts.map +0 -1
- package/dist/libs/find-request.test.d.ts +0 -2
- package/dist/libs/find-request.test.d.ts.map +0 -1
- package/dist/libs/get-request-uid-by-path-method.test.d.ts +0 -2
- package/dist/libs/get-request-uid-by-path-method.test.d.ts.map +0 -1
- package/dist/libs/hot-keys.test.d.ts +0 -2
- package/dist/libs/hot-keys.test.d.ts.map +0 -1
- package/dist/libs/importers/curl.test.d.ts +0 -2
- package/dist/libs/importers/curl.test.d.ts.map +0 -1
- package/dist/libs/normalize-headers.test.d.ts +0 -2
- package/dist/libs/normalize-headers.test.d.ts.map +0 -1
- package/dist/libs/parse-curl.test.d.ts +0 -2
- package/dist/libs/parse-curl.test.d.ts.map +0 -1
- package/dist/libs/send-request/build-request-security.test.d.ts +0 -2
- package/dist/libs/send-request/build-request-security.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-auth.test.d.ts +0 -2
- package/dist/libs/send-request/create-fetch-auth.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-body.test.d.ts +0 -2
- package/dist/libs/send-request/create-fetch-body.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-headers.test.d.ts +0 -2
- package/dist/libs/send-request/create-fetch-headers.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-fetch-query-params.test.d.ts +0 -2
- package/dist/libs/send-request/create-fetch-query-params.test.d.ts.map +0 -1
- package/dist/libs/send-request/create-request-operation.test.d.ts +0 -191
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +0 -1
- package/dist/libs/send-request/decode-buffer.test.d.ts +0 -2
- package/dist/libs/send-request/decode-buffer.test.d.ts.map +0 -1
- package/dist/libs/send-request/set-request-cookies.test.d.ts +0 -2
- package/dist/libs/send-request/set-request-cookies.test.d.ts.map +0 -1
- package/dist/libs/string-template.test.d.ts +0 -2
- package/dist/libs/string-template.test.d.ts.map +0 -1
- package/dist/libs/validate-parameters.test.d.ts +0 -2
- package/dist/libs/validate-parameters.test.d.ts.map +0 -1
- package/dist/plugins/plugin-manager.test.d.ts +0 -2
- package/dist/plugins/plugin-manager.test.d.ts.map +0 -1
- package/dist/routes.test.d.ts +0 -2
- package/dist/routes.test.d.ts.map +0 -1
- package/dist/store/collections.test.d.ts +0 -2
- package/dist/store/collections.test.d.ts.map +0 -1
- package/dist/store/request.test.d.ts +0 -2
- package/dist/store/request.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/find-client.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/find-client.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/generate-code-snippet.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/get-secrets.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/get-example-value.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/get-example-value.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-parameters.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-security-schemes.test.d.ts.map +0 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.test.d.ts +0 -2
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-server-url.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts +0 -2
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts.map +0 -1
- package/dist/v2/components/server/ServerDropdown.test.d.ts +0 -2
- package/dist/v2/components/server/ServerDropdown.test.d.ts.map +0 -1
- package/dist/v2/components/server/ServerDropdownItem.test.d.ts +0 -2
- package/dist/v2/components/server/ServerDropdownItem.test.d.ts.map +0 -1
- package/dist/v2/features/collection/DocumentCollection.test.d.ts +0 -2
- package/dist/v2/features/collection/DocumentCollection.test.d.ts.map +0 -1
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts +0 -2
- package/dist/v2/features/collection/WorkspaceCollection.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Authentication.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Authentication.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Environment.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Environment.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/LabelInput.test.d.ts +0 -2
- package/dist/v2/features/collection/components/LabelInput.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Overview.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Overview.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Servers.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Servers.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Settings.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Settings.test.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Tabs.test.d.ts +0 -2
- package/dist/v2/features/collection/components/Tabs.test.d.ts.map +0 -1
- package/dist/v2/features/environments/Environments.test.d.ts +0 -2
- package/dist/v2/features/environments/Environments.test.d.ts.map +0 -1
- package/dist/v2/features/environments/Environments.vue.d.ts +0 -31
- package/dist/v2/features/environments/Environments.vue.d.ts.map +0 -1
- package/dist/v2/features/environments/Environments.vue.js +0 -65
- package/dist/v2/features/environments/Environments.vue2.js +0 -4
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts +0 -2
- package/dist/v2/features/environments/EnvironmentsList.test.d.ts.map +0 -1
- package/dist/v2/features/environments/components/Environment.test.d.ts +0 -2
- package/dist/v2/features/environments/components/Environment.test.d.ts.map +0 -1
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts +0 -20
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.d.ts.map +0 -1
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue.js +0 -48
- package/dist/v2/features/environments/components/EnvironmentColorUpdateModal.vue2.js +0 -4
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts +0 -2
- package/dist/v2/features/environments/components/EnvironmentColors.test.d.ts.map +0 -1
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts +0 -18
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.d.ts.map +0 -1
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue.js +0 -35
- package/dist/v2/features/environments/components/EnvironmentNameUpdateModal.vue2.js +0 -4
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts +0 -2
- package/dist/v2/features/environments/components/EnvironmentVariablesTable.test.d.ts.map +0 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts +0 -2
- package/dist/v2/features/global-cookies/components/CookiesTable.test.d.ts.map +0 -1
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts +0 -2
- package/dist/v2/features/global-cookies/components/GlobalCookies.test.d.ts.map +0 -1
- package/dist/v2/features/operation/Operation.test.d.ts +0 -2
- package/dist/v2/features/operation/Operation.test.d.ts.map +0 -1
- package/dist/v2/features/operation/components/Header.test.d.ts +0 -2
- package/dist/v2/features/operation/components/Header.test.d.ts.map +0 -1
- package/dist/v2/features/operation/components/Header.vue.d.ts.map +0 -1
- package/dist/v2/features/operation/components/Header.vue.js +0 -7
- package/dist/v2/features/operation/components/Header.vue2.js +0 -97
- package/dist/v2/features/settings/Settings.test.d.ts +0 -2
- package/dist/v2/features/settings/Settings.test.d.ts.map +0 -1
- package/dist/v2/hooks/use-document-watcher.test.d.ts +0 -2
- package/dist/v2/hooks/use-document-watcher.test.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts +0 -2
- package/dist/views/Components/CodeSnippet/CodeSnippet.test.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts +0 -2
- package/dist/views/Components/CodeSnippet/helpers/convert-to-har-request.test.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts +0 -2
- package/dist/views/Components/CodeSnippet/helpers/get-har-request.test.d.ts.map +0 -1
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts +0 -2
- package/dist/views/Components/CodeSnippet/helpers/get-snippet.test.d.ts.map +0 -1
- package/dist/views/Request/RequestRoot.test.d.ts +0 -2
- package/dist/views/Request/RequestRoot.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestAuth/helpers/restore-auth-from-local-storage.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestBody.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestBody.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestCodeExample.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/RequestSection.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/RequestSection.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/helpers/filter-security-requirements.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/helpers/getting-started.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSection/helpers/update-scheme.test.d.ts +0 -2
- package/dist/views/Request/RequestSection/helpers/update-scheme.test.d.ts.map +0 -1
- package/dist/views/Request/RequestSubpageHeader.test.d.ts +0 -2
- package/dist/views/Request/RequestSubpageHeader.test.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts +0 -2
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.test.d.ts.map +0 -1
- package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts +0 -2
- package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts.map +0 -1
- package/dist/views/Request/consts/mediaTypes.test.d.ts +0 -2
- package/dist/views/Request/consts/mediaTypes.test.d.ts.map +0 -1
- package/dist/views/Request/libs/auth.test.d.ts +0 -2
- package/dist/views/Request/libs/auth.test.d.ts.map +0 -1
- package/dist/views/Request/libs/oauth2.test.d.ts +0 -2
- package/dist/views/Request/libs/oauth2.test.d.ts.map +0 -1
- package/dist/views/Request/libs/request.test.d.ts +0 -2
- package/dist/views/Request/libs/request.test.d.ts.map +0 -1
- package/dist/views/Request/libs/watch-mode.test.d.ts +0 -2
- package/dist/views/Request/libs/watch-mode.test.d.ts.map +0 -1
- package/dist/vitest.setup.d.ts +0 -34
- package/dist/vitest.setup.d.ts.map +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarButton as
|
|
3
|
-
import { REQUEST_METHODS as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { defineComponent as h, useId as y, ref as v, createElementBlock as B, openBlock as f, unref as s, createElementVNode as r, createVNode as o, normalizeStyle as c, createBlock as w, createCommentVNode as x, withCtx as k, toDisplayString as u } from "vue";
|
|
2
|
+
import { ScalarButton as S, ScalarIcon as C } from "@scalar/components";
|
|
3
|
+
import { REQUEST_METHODS as V } from "@scalar/oas-utils/helpers";
|
|
4
|
+
import E from "../../../../components/CodeInput/CodeInput.vue.js";
|
|
5
|
+
import R from "./AddressBarHistory.vue.js";
|
|
6
6
|
import $ from "../../../../components/HttpMethod/HttpMethod.vue.js";
|
|
7
|
-
import
|
|
8
|
-
const
|
|
7
|
+
import z from "../../../components/server/ServerDropdown.vue.js";
|
|
8
|
+
const U = ["id"], A = { class: "address-bar-bg-states text-xxs group relative order-last flex w-full max-w-[calc(100dvw-24px)] flex-1 flex-row items-stretch rounded-lg p-0.75 lg:order-none lg:max-w-[580px] lg:min-w-[580px] xl:max-w-[720px] xl:min-w-[720px]" }, I = { class: "pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border" }, H = { class: "z-context-plus flex gap-1" }, N = { class: "scroll-timeline-x scroll-timeline-x-hidden z-context-plus relative flex w-full bg-blend-normal" }, T = {
|
|
9
9
|
"aria-hidden": "true",
|
|
10
10
|
class: "inline-flex items-center gap-1"
|
|
11
|
-
},
|
|
11
|
+
}, q = { class: "sr-only" }, j = /* @__PURE__ */ h({
|
|
12
12
|
__name: "AddressBar",
|
|
13
13
|
props: {
|
|
14
14
|
path: {},
|
|
@@ -19,104 +19,105 @@ const z = ["id"], U = { class: "address-bar-bg-states text-xxs group relative or
|
|
|
19
19
|
layout: {},
|
|
20
20
|
percentage: { default: 100 },
|
|
21
21
|
events: {},
|
|
22
|
+
eventBus: {},
|
|
22
23
|
environment: {},
|
|
23
24
|
envVariables: {}
|
|
24
25
|
},
|
|
25
|
-
emits: ["
|
|
26
|
-
setup(n, { emit:
|
|
27
|
-
const
|
|
26
|
+
emits: ["execute", "update:path", "update:method"],
|
|
27
|
+
setup(n, { emit: p }) {
|
|
28
|
+
const a = p, d = y(), i = v(null), m = v(null);
|
|
28
29
|
function b() {
|
|
29
|
-
return
|
|
30
|
+
return V[n.method].colorVar;
|
|
30
31
|
}
|
|
31
|
-
return n.events.hotKeys.on((
|
|
32
|
-
|
|
32
|
+
return n.events.hotKeys.on((e) => {
|
|
33
|
+
e?.focusAddressBar && i.value?.focus();
|
|
33
34
|
}), n.events.focusAddressBar.on(() => {
|
|
34
35
|
n.layout === "modal" ? m.value?.$el?.focus() : i.value?.focus();
|
|
35
|
-
}), (
|
|
36
|
-
id:
|
|
36
|
+
}), (e, t) => (f(), B("div", {
|
|
37
|
+
id: s(d),
|
|
37
38
|
class: "scalar-address-bar order-last flex h-(--scalar-address-bar-height) w-full [--scalar-address-bar-height:32px] lg:order-none lg:w-auto"
|
|
38
39
|
}, [
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
r("div", A, [
|
|
41
|
+
r("div", I, [
|
|
42
|
+
r("div", {
|
|
42
43
|
class: "absolute top-0 left-0 z-[1002] h-full w-full",
|
|
43
44
|
style: c({
|
|
44
45
|
backgroundColor: `color-mix(in srgb, transparent 90%, ${b()})`,
|
|
45
|
-
transform: `translate3d(-${
|
|
46
|
+
transform: `translate3d(-${e.percentage}%,0,0)`
|
|
46
47
|
})
|
|
47
48
|
}, null, 4)
|
|
48
49
|
]),
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
isEditable:
|
|
50
|
+
r("div", H, [
|
|
51
|
+
o(s($), {
|
|
52
|
+
isEditable: e.layout !== "modal",
|
|
52
53
|
isSquare: "",
|
|
53
|
-
method:
|
|
54
|
+
method: e.method,
|
|
54
55
|
teleport: "",
|
|
55
|
-
onChange:
|
|
56
|
+
onChange: t[0] || (t[0] = (l) => a("update:method", { value: l }))
|
|
56
57
|
}, null, 8, ["isEditable", "method"])
|
|
57
58
|
]),
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
r("div", N, [
|
|
60
|
+
e.servers.length ? (f(), w(s(z), {
|
|
60
61
|
key: 0,
|
|
61
|
-
layout:
|
|
62
|
-
server:
|
|
63
|
-
servers:
|
|
64
|
-
target:
|
|
65
|
-
onAddServer:
|
|
66
|
-
"onUpdate:selectedServer":
|
|
67
|
-
"onUpdate:variable":
|
|
68
|
-
}, null, 8, ["layout", "server", "servers", "target"])) :
|
|
69
|
-
|
|
70
|
-
|
|
62
|
+
layout: e.layout,
|
|
63
|
+
server: e.server,
|
|
64
|
+
servers: e.servers,
|
|
65
|
+
target: s(d),
|
|
66
|
+
onAddServer: t[1] || (t[1] = (l) => e.eventBus.emit("open:command-palette", "addServer")),
|
|
67
|
+
"onUpdate:selectedServer": t[2] || (t[2] = (l) => e.eventBus.emit("update:selected-server", { url: l.id })),
|
|
68
|
+
"onUpdate:variable": t[3] || (t[3] = ({ key: l, value: g }) => e.eventBus.emit("update:selected-server-variables", { key: l, value: g }))
|
|
69
|
+
}, null, 8, ["layout", "server", "servers", "target"])) : x("", !0),
|
|
70
|
+
t[8] || (t[8] = r("div", { class: "fade-left" }, null, -1)),
|
|
71
|
+
o(E, {
|
|
71
72
|
ref_key: "addressBarRef",
|
|
72
73
|
ref: i,
|
|
73
74
|
"aria-label": "Path",
|
|
74
75
|
class: "min-w-fit outline-none",
|
|
75
76
|
disableCloseBrackets: "",
|
|
76
|
-
disabled:
|
|
77
|
+
disabled: e.layout === "modal",
|
|
77
78
|
disableEnter: "",
|
|
78
79
|
disableTabIndent: "",
|
|
79
80
|
emitOnBlur: !1,
|
|
80
|
-
envVariables:
|
|
81
|
-
environment:
|
|
81
|
+
envVariables: e.envVariables,
|
|
82
|
+
environment: e.environment,
|
|
82
83
|
importCurl: "",
|
|
83
|
-
modelValue:
|
|
84
|
-
placeholder:
|
|
84
|
+
modelValue: e.path,
|
|
85
|
+
placeholder: e.server ? "" : "Enter a URL or cURL command",
|
|
85
86
|
server: "",
|
|
86
|
-
onCurl:
|
|
87
|
-
onSubmit:
|
|
88
|
-
"onUpdate:modelValue":
|
|
87
|
+
onCurl: t[4] || (t[4] = (l) => e.eventBus.emit("import:curl", { value: l })),
|
|
88
|
+
onSubmit: t[5] || (t[5] = (l) => a("execute")),
|
|
89
|
+
"onUpdate:modelValue": t[6] || (t[6] = (l) => a("update:path", { value: l }))
|
|
89
90
|
}, null, 8, ["disabled", "envVariables", "environment", "modelValue", "placeholder"]),
|
|
90
|
-
|
|
91
|
+
t[9] || (t[9] = r("div", { class: "fade-right" }, null, -1))
|
|
91
92
|
]),
|
|
92
|
-
|
|
93
|
-
history:
|
|
94
|
-
target:
|
|
93
|
+
o(R, {
|
|
94
|
+
history: e.history,
|
|
95
|
+
target: s(d)
|
|
95
96
|
}, null, 8, ["history", "target"]),
|
|
96
|
-
|
|
97
|
+
o(s(S), {
|
|
97
98
|
ref_key: "sendButtonRef",
|
|
98
99
|
ref: m,
|
|
99
100
|
class: "z-context-plus relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold",
|
|
100
|
-
disabled:
|
|
101
|
-
onClick:
|
|
101
|
+
disabled: e.percentage < 100,
|
|
102
|
+
onClick: t[7] || (t[7] = (l) => a("execute"))
|
|
102
103
|
}, {
|
|
103
|
-
default:
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
default: k(() => [
|
|
105
|
+
r("span", T, [
|
|
106
|
+
o(s(C), {
|
|
106
107
|
class: "relative shrink-0 fill-current",
|
|
107
108
|
icon: "Play",
|
|
108
109
|
size: "xs"
|
|
109
110
|
}),
|
|
110
|
-
|
|
111
|
+
t[10] || (t[10] = r("span", { class: "text-xxs hidden lg:flex" }, "Send", -1))
|
|
111
112
|
]),
|
|
112
|
-
|
|
113
|
+
r("span", q, " Send " + u(e.method) + " request to " + u(e.server?.url ?? "") + u(e.path), 1)
|
|
113
114
|
]),
|
|
114
115
|
_: 1
|
|
115
116
|
}, 8, ["disabled"])
|
|
116
117
|
])
|
|
117
|
-
], 8,
|
|
118
|
+
], 8, U));
|
|
118
119
|
}
|
|
119
120
|
});
|
|
120
121
|
export {
|
|
121
|
-
|
|
122
|
+
j as default
|
|
122
123
|
};
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
|
-
import type {
|
|
2
|
+
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
3
|
+
import type { AuthMeta } from '@scalar/workspace-store/mutators';
|
|
4
|
+
import type { OpenApiDocument, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
5
|
import { type EnvVariable } from '../../../../store/index.js';
|
|
4
|
-
import type { UpdateSecuritySchemeEvent } from '../../../../v2/blocks/scalar-auth-selector-block/event-types';
|
|
5
6
|
import { type SecuritySchemeOption } from '../../../../v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js';
|
|
6
7
|
type __VLS_Props = {
|
|
7
8
|
environment: Environment;
|
|
8
9
|
envVariables: EnvVariable[];
|
|
9
10
|
layout: 'client' | 'reference';
|
|
10
11
|
security: OpenApiDocument['security'];
|
|
11
|
-
selectedSecurity: OpenApiDocument['security'];
|
|
12
|
+
selectedSecurity: OpenApiDocument['x-scalar-selected-security'];
|
|
12
13
|
securitySchemes: NonNullable<OpenApiDocument['components']>['securitySchemes'];
|
|
13
14
|
server: ServerObject | undefined;
|
|
14
15
|
title: string;
|
|
16
|
+
eventBus: WorkspaceEventBus;
|
|
17
|
+
meta: AuthMeta;
|
|
15
18
|
};
|
|
16
19
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
17
20
|
authIndicator: import("vue").ComputedRef<{
|
|
@@ -20,30 +23,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
|
20
23
|
} | null>;
|
|
21
24
|
selectedSchemeOptions: import("vue").ComputedRef<SecuritySchemeOption[]>;
|
|
22
25
|
schemeOptions: import("vue").ComputedRef<SecuritySchemeOption[] | import("../../../../v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js").SecuritySchemeGroup[]>;
|
|
23
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
24
|
-
"update:selectedScopes": (payload: {
|
|
25
|
-
id: string[];
|
|
26
|
-
name: string;
|
|
27
|
-
scopes: string[];
|
|
28
|
-
}) => any;
|
|
29
|
-
"update:securityScheme": (payload: UpdateSecuritySchemeEvent) => any;
|
|
30
|
-
deleteOperationAuth: (names: string[]) => any;
|
|
31
|
-
"update:selectedSecurity": (payload: {
|
|
32
|
-
value: NonNullable<OpenApiDocument["x-scalar-selected-security"]>;
|
|
33
|
-
create: SecuritySchemeObject[];
|
|
34
|
-
}) => any;
|
|
35
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
|
-
"onUpdate:selectedScopes"?: ((payload: {
|
|
37
|
-
id: string[];
|
|
38
|
-
name: string;
|
|
39
|
-
scopes: string[];
|
|
40
|
-
}) => any) | undefined;
|
|
41
|
-
"onUpdate:securityScheme"?: ((payload: UpdateSecuritySchemeEvent) => any) | undefined;
|
|
42
|
-
onDeleteOperationAuth?: ((names: string[]) => any) | undefined;
|
|
43
|
-
"onUpdate:selectedSecurity"?: ((payload: {
|
|
44
|
-
value: NonNullable<OpenApiDocument["x-scalar-selected-security"]>;
|
|
45
|
-
create: SecuritySchemeObject[];
|
|
46
|
-
}) => any) | undefined;
|
|
47
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
27
|
export default _default;
|
|
49
28
|
//# sourceMappingURL=AuthSelector.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthSelector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthSelector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue"],"names":[],"mappings":"AA0WA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAEvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,KAAK,EACV,eAAe,EAEf,YAAY,EACb,MAAM,8DAA8D,CAAA;AAKrE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C,OAAO,EAIL,KAAK,oBAAoB,EAC1B,MAAM,gEAAgE,CAAA;AAIvE,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAA;IACrC,gBAAgB,EAAE,eAAe,CAAC,4BAA4B,CAAC,CAAA;IAC/D,eAAe,EAAE,WAAW,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAA;IAC9E,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,IAAI,EAAE,QAAQ,CAAA;CACf,CAAC;;;;;;;;;AAmfF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AuthSelector.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-9d69981c"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useModal as
|
|
3
|
-
import { ScalarIconCaretDown as
|
|
4
|
-
import { isDefined as
|
|
5
|
-
import { getResolvedRef as
|
|
6
|
-
import
|
|
7
|
-
import { formatComplexScheme as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { useLayout as
|
|
11
|
-
const
|
|
1
|
+
import { defineComponent as T, useId as $, ref as f, computed as b, createBlock as x, openBlock as r, unref as a, withCtx as u, createVNode as m, createCommentVNode as S, createElementVNode as i, createElementBlock as h, Fragment as g, createTextVNode as k, toDisplayString as p, withModifiers as L, normalizeClass as M } from "vue";
|
|
2
|
+
import { useModal as N, ScalarComboboxMultiselect as j, ScalarButton as z, ScalarListboxCheckbox as U, ScalarIconButton as E } from "@scalar/components";
|
|
3
|
+
import { ScalarIconCaretDown as F, ScalarIconTrash as P } from "@scalar/icons";
|
|
4
|
+
import { isDefined as G } from "@scalar/oas-utils/helpers";
|
|
5
|
+
import { getResolvedRef as H } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
6
|
+
import J from "./DeleteRequestAuthModal.vue.js";
|
|
7
|
+
import { formatComplexScheme as K, formatScheme as Q, getSecuritySchemeOptions as W } from "../helpers/security-scheme.js";
|
|
8
|
+
import X from "./RequestAuthDataTable.vue.js";
|
|
9
|
+
import Y from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
10
|
+
import { useLayout as Z } from "../../../../hooks/useLayout.js";
|
|
11
|
+
const _ = ["id"], ee = { class: "flex flex-1" }, te = { class: "min-w-0 flex-1 truncate" }, de = /* @__PURE__ */ T({
|
|
12
12
|
__name: "AuthSelector",
|
|
13
13
|
props: {
|
|
14
14
|
environment: {},
|
|
@@ -18,119 +18,128 @@ const te = ["id"], le = { class: "flex flex-1" }, oe = { class: "min-w-0 flex-1
|
|
|
18
18
|
selectedSecurity: {},
|
|
19
19
|
securitySchemes: {},
|
|
20
20
|
server: {},
|
|
21
|
-
title: {}
|
|
21
|
+
title: {},
|
|
22
|
+
eventBus: {},
|
|
23
|
+
meta: {}
|
|
22
24
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!n.security?.length)
|
|
25
|
+
setup(l, { expose: A }) {
|
|
26
|
+
const { layout: C } = Z(), B = $(), V = f(null), d = N(), n = f(null), O = f(!1), y = b(() => {
|
|
27
|
+
if (!l.security?.length)
|
|
27
28
|
return null;
|
|
28
|
-
const e = !
|
|
29
|
-
(
|
|
30
|
-
) &&
|
|
29
|
+
const e = !l.security.some(
|
|
30
|
+
(v) => Object.keys(v).length > 1
|
|
31
|
+
) && l.security.some((v) => Object.keys(v).length === 0);
|
|
31
32
|
return { icon: e ? "Unlock" : "Lock", text: e ? "Optional" : "Required" };
|
|
32
|
-
}), s =
|
|
33
|
+
}), s = b(() => l.selectedSecurity?.["x-schemes"].length ? l.selectedSecurity["x-schemes"].map((t) => {
|
|
33
34
|
const e = Object.keys(t);
|
|
34
35
|
if (e.length > 1)
|
|
35
|
-
return
|
|
36
|
-
const
|
|
37
|
-
if (!
|
|
36
|
+
return K(t);
|
|
37
|
+
const o = e[0];
|
|
38
|
+
if (!o)
|
|
38
39
|
return;
|
|
39
|
-
const c =
|
|
40
|
+
const c = H(l.securitySchemes?.[o]);
|
|
40
41
|
if (c)
|
|
41
|
-
return
|
|
42
|
-
}).filter(
|
|
43
|
-
function
|
|
42
|
+
return Q({ name: o, type: c.type, value: t });
|
|
43
|
+
}).filter(G) : []);
|
|
44
|
+
function w({
|
|
44
45
|
label: t,
|
|
45
46
|
value: e
|
|
46
47
|
}) {
|
|
47
|
-
|
|
48
|
+
n.value = { label: t, payload: e }, d.show();
|
|
48
49
|
}
|
|
49
|
-
const R =
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
)),
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
50
|
+
const R = b(() => W(
|
|
51
|
+
l.security ?? [],
|
|
52
|
+
l.securitySchemes ?? {},
|
|
53
|
+
C === "modal" || l.layout === "reference"
|
|
54
|
+
)), D = (t) => {
|
|
55
|
+
O.value && t.stopPropagation(), V.value?.$el.click();
|
|
56
|
+
}, I = (t) => {
|
|
57
|
+
l.eventBus.emit("auth:update:selected-security-schemes", {
|
|
58
|
+
// Only include updated schemes
|
|
59
|
+
selectedRequirements: t.filter((e) => e.payload === void 0).map((e) => e.value),
|
|
60
|
+
// Only include created schemes
|
|
61
|
+
newSchemes: t.filter((e) => e.payload !== void 0).map((e) => ({
|
|
62
|
+
name: e.label,
|
|
63
|
+
scheme: e.payload
|
|
64
|
+
})),
|
|
65
|
+
meta: l.meta
|
|
59
66
|
});
|
|
60
|
-
},
|
|
61
|
-
|
|
67
|
+
}, q = () => {
|
|
68
|
+
n.value && (l.eventBus.emit("auth:delete:security-scheme", {
|
|
69
|
+
names: Object.keys(n.value.payload)
|
|
70
|
+
}), n.value = null, d.hide());
|
|
62
71
|
};
|
|
63
|
-
return
|
|
72
|
+
return A({
|
|
64
73
|
authIndicator: y,
|
|
65
74
|
selectedSchemeOptions: s,
|
|
66
75
|
schemeOptions: R
|
|
67
|
-
}), (t, e) => (r(), x(
|
|
76
|
+
}), (t, e) => (r(), x(a(Y), {
|
|
68
77
|
class: "group/params relative",
|
|
69
78
|
itemCount: s.value.length,
|
|
70
79
|
layout: t.layout,
|
|
71
|
-
"onUpdate:modelValue": e[
|
|
80
|
+
"onUpdate:modelValue": e[1] || (e[1] = (o) => O.value = o)
|
|
72
81
|
}, {
|
|
73
82
|
title: u(() => [
|
|
74
83
|
i("div", {
|
|
75
|
-
id:
|
|
84
|
+
id: a(B),
|
|
76
85
|
class: "inline-flex items-center gap-0.5 leading-[20px]"
|
|
77
86
|
}, [
|
|
78
|
-
i("span", null,
|
|
79
|
-
y.value ? (r(),
|
|
87
|
+
i("span", null, p(t.title), 1),
|
|
88
|
+
y.value ? (r(), h("span", {
|
|
80
89
|
key: 0,
|
|
81
|
-
class:
|
|
90
|
+
class: M(["text-c-3 hover:bg-b-3 hover:text-c-1 -mr-1 cursor-pointer rounded px-1 py-0.5 text-xs leading-[normal]", { "text-c-1": y.value.text === "Required" }]),
|
|
82
91
|
"data-testid": "auth-indicator",
|
|
83
|
-
onClick:
|
|
84
|
-
},
|
|
85
|
-
], 8,
|
|
92
|
+
onClick: D
|
|
93
|
+
}, p(y.value.text), 3)) : S("", !0)
|
|
94
|
+
], 8, _)
|
|
86
95
|
]),
|
|
87
96
|
actions: u(() => [
|
|
88
|
-
i("div",
|
|
89
|
-
m(
|
|
97
|
+
i("div", ee, [
|
|
98
|
+
m(a(j), {
|
|
90
99
|
class: "w-72 text-xs",
|
|
91
100
|
modelValue: s.value,
|
|
92
101
|
multiple: "",
|
|
93
102
|
options: R.value,
|
|
94
103
|
placement: "bottom-end",
|
|
95
104
|
teleport: "",
|
|
96
|
-
onDelete:
|
|
97
|
-
"onUpdate:modelValue":
|
|
105
|
+
onDelete: w,
|
|
106
|
+
"onUpdate:modelValue": I
|
|
98
107
|
}, {
|
|
99
|
-
option: u(({ option:
|
|
100
|
-
m(
|
|
108
|
+
option: u(({ option: o, selected: c }) => [
|
|
109
|
+
m(a(U), {
|
|
101
110
|
multiselect: "",
|
|
102
111
|
selected: c
|
|
103
112
|
}, null, 8, ["selected"]),
|
|
104
|
-
i("div",
|
|
105
|
-
|
|
113
|
+
i("div", te, p(o.label), 1),
|
|
114
|
+
o.isDeletable ?? (a(C) !== "modal" && t.layout !== "reference") ? (r(), x(a(E), {
|
|
106
115
|
key: 0,
|
|
107
116
|
class: "-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",
|
|
108
|
-
icon:
|
|
109
|
-
label: `Delete ${
|
|
117
|
+
icon: a(P),
|
|
118
|
+
label: `Delete ${o.label}`,
|
|
110
119
|
size: "xs",
|
|
111
|
-
onClick:
|
|
112
|
-
}, null, 8, ["icon", "label", "onClick"])) :
|
|
120
|
+
onClick: L((v) => w(o), ["stop"])
|
|
121
|
+
}, null, 8, ["icon", "label", "onClick"])) : S("", !0)
|
|
113
122
|
]),
|
|
114
123
|
default: u(() => [
|
|
115
|
-
m(
|
|
124
|
+
m(a(z), {
|
|
116
125
|
ref_key: "comboboxButtonRef",
|
|
117
|
-
ref:
|
|
118
|
-
"aria-describedby":
|
|
126
|
+
ref: V,
|
|
127
|
+
"aria-describedby": a(B),
|
|
119
128
|
class: "group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal transition-transform",
|
|
120
129
|
variant: "ghost"
|
|
121
130
|
}, {
|
|
122
131
|
default: u(() => [
|
|
123
|
-
s.value.length === 1 ? (r(),
|
|
124
|
-
e[
|
|
125
|
-
|
|
126
|
-
], 64)) : s.value.length > 1 ? (r(),
|
|
127
|
-
e[
|
|
128
|
-
e[
|
|
129
|
-
], 64)) : (r(),
|
|
130
|
-
e[
|
|
131
|
-
e[
|
|
132
|
+
s.value.length === 1 ? (r(), h(g, { key: 0 }, [
|
|
133
|
+
e[2] || (e[2] = i("span", { class: "sr-only" }, "Selected Auth Type:", -1)),
|
|
134
|
+
k(" " + p(s.value[0]?.label), 1)
|
|
135
|
+
], 64)) : s.value.length > 1 ? (r(), h(g, { key: 1 }, [
|
|
136
|
+
e[3] || (e[3] = k(" Multiple ", -1)),
|
|
137
|
+
e[4] || (e[4] = i("span", { class: "sr-only" }, "Auth Types Selected", -1))
|
|
138
|
+
], 64)) : (r(), h(g, { key: 2 }, [
|
|
139
|
+
e[5] || (e[5] = i("span", { class: "sr-only" }, "Select", -1)),
|
|
140
|
+
e[6] || (e[6] = k(" Auth Type ", -1))
|
|
132
141
|
], 64)),
|
|
133
|
-
m(
|
|
142
|
+
m(a(F), {
|
|
134
143
|
class: "size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180",
|
|
135
144
|
weight: "bold"
|
|
136
145
|
})
|
|
@@ -143,29 +152,30 @@ const te = ["id"], le = { class: "flex flex-1" }, oe = { class: "min-w-0 flex-1
|
|
|
143
152
|
])
|
|
144
153
|
]),
|
|
145
154
|
default: u(() => [
|
|
146
|
-
m(
|
|
155
|
+
m(X, {
|
|
147
156
|
envVariables: t.envVariables,
|
|
148
157
|
environment: t.environment,
|
|
149
158
|
layout: t.layout,
|
|
150
159
|
securitySchemes: t.securitySchemes,
|
|
151
160
|
selectedSchemeOptions: s.value,
|
|
152
161
|
server: t.server,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
162
|
+
meta: t.meta,
|
|
163
|
+
activeAuthIndex: t.selectedSecurity?.["x-selected-index"] ?? 0,
|
|
164
|
+
eventBus: t.eventBus
|
|
165
|
+
}, null, 8, ["envVariables", "environment", "layout", "securitySchemes", "selectedSchemeOptions", "server", "meta", "activeAuthIndex", "eventBus"]),
|
|
166
|
+
n.value ? (r(), x(J, {
|
|
157
167
|
key: 0,
|
|
158
|
-
label:
|
|
159
|
-
scheme:
|
|
160
|
-
state:
|
|
161
|
-
onClose: e[
|
|
162
|
-
onDelete:
|
|
163
|
-
}, null, 8, ["label", "scheme", "state"])) :
|
|
168
|
+
label: n.value.label,
|
|
169
|
+
scheme: n.value,
|
|
170
|
+
state: a(d),
|
|
171
|
+
onClose: e[0] || (e[0] = (o) => a(d).hide()),
|
|
172
|
+
onDelete: q
|
|
173
|
+
}, null, 8, ["label", "scheme", "state"])) : S("", !0)
|
|
164
174
|
]),
|
|
165
175
|
_: 1
|
|
166
176
|
}, 8, ["itemCount", "layout"]));
|
|
167
177
|
}
|
|
168
178
|
});
|
|
169
179
|
export {
|
|
170
|
-
|
|
180
|
+
de as default
|
|
171
181
|
};
|
|
@@ -1,33 +1,23 @@
|
|
|
1
1
|
import type { Environment } from '@scalar/oas-utils/entities/environment';
|
|
2
|
+
import type { WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
3
|
+
import type { AuthMeta } from '@scalar/workspace-store/mutators';
|
|
2
4
|
import type { ComponentsObject, ServerObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
|
|
3
5
|
import type { EnvVariable } from '../../../../store/index.js';
|
|
4
|
-
import type { UpdateSecuritySchemeEvent } from '../../../../v2/blocks/scalar-auth-selector-block/event-types';
|
|
5
6
|
import type { SecuritySchemeOption } from '../../../../v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js';
|
|
6
7
|
type __VLS_Props = {
|
|
7
8
|
environment: Environment;
|
|
8
9
|
envVariables: EnvVariable[];
|
|
9
10
|
layout: 'client' | 'reference';
|
|
10
11
|
selectedSchemeOptions: SecuritySchemeOption[];
|
|
12
|
+
activeAuthIndex: number;
|
|
11
13
|
securitySchemes: ComponentsObject['securitySchemes'];
|
|
12
14
|
server: ServerObject | undefined;
|
|
15
|
+
eventBus: WorkspaceEventBus;
|
|
16
|
+
meta: AuthMeta;
|
|
13
17
|
};
|
|
14
18
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
15
|
-
activeAuthIndex:
|
|
19
|
+
activeAuthIndex: number;
|
|
16
20
|
activeScheme: import("vue").ComputedRef<SecuritySchemeOption | undefined>;
|
|
17
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
18
|
-
"update:selectedScopes": (payload: {
|
|
19
|
-
id: string[];
|
|
20
|
-
name: string;
|
|
21
|
-
scopes: string[];
|
|
22
|
-
}) => any;
|
|
23
|
-
"update:securityScheme": (payload: UpdateSecuritySchemeEvent) => any;
|
|
24
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
-
"onUpdate:selectedScopes"?: ((payload: {
|
|
26
|
-
id: string[];
|
|
27
|
-
name: string;
|
|
28
|
-
scopes: string[];
|
|
29
|
-
}) => any) | undefined;
|
|
30
|
-
"onUpdate:securityScheme"?: ((payload: UpdateSecuritySchemeEvent) => any) | undefined;
|
|
31
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
22
|
export default _default;
|
|
33
23
|
//# sourceMappingURL=RequestAuthDataTable.vue.d.ts.map
|
package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestAuthDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue"],"names":[],"mappings":"AA+KA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,KAAK,EACV,gBAAgB,EAChB,YAAY,EACb,MAAM,8DAA8D,CAAA;AAIrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gEAAgE,CAAA;AAI1G,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAA;IAC9B,qBAAqB,EAAE,oBAAoB,EAAE,CAAA;IAC7C,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAA;IACpD,MAAM,EAAE,YAAY,GAAG,SAAS,CAAA;IAChC,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,IAAI,EAAE,QAAQ,CAAA;CACf,CAAC;;;;;AAqNF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./RequestAuthDataTable.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import a from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ a(t, [["__scopeId", "data-v-3ae5eb41"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|