@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,114 +1,66 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useModal as
|
|
3
|
-
import { ScalarIconPlus as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
import D from "./components/Environment.vue.js";
|
|
9
|
-
const x = {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4"
|
|
12
|
-
}, q = /* @__PURE__ */ V({
|
|
1
|
+
import { defineComponent as E, ref as y, createElementBlock as u, openBlock as s, Fragment as v, createElementVNode as T, createVNode as l, renderList as b, createBlock as g, unref as r, withCtx as h, createTextVNode as k } from "vue";
|
|
2
|
+
import { useModal as d, ScalarButton as M } from "@scalar/components";
|
|
3
|
+
import { ScalarIconPlus as N } from "@scalar/icons";
|
|
4
|
+
import S from "./components/EnvironmentCreateModal.vue.js";
|
|
5
|
+
import w from "./components/EnvironmentDeleteModal.vue.js";
|
|
6
|
+
import C from "./components/Environment.vue.js";
|
|
7
|
+
const D = { class: "text-c-3 flex h-full items-center justify-center rounded-lg border p-4" }, z = /* @__PURE__ */ E({
|
|
13
8
|
__name: "EnvironmentsList",
|
|
14
9
|
props: {
|
|
15
|
-
documentName: {},
|
|
16
10
|
environments: {},
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
eventBus: {},
|
|
12
|
+
collectionType: {}
|
|
19
13
|
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
onReorder: n[0] || (n[0] = (r, d) => a("environment:reorder", {
|
|
44
|
-
draggingItem: r,
|
|
45
|
-
hoveredItem: d
|
|
46
|
-
})),
|
|
47
|
-
"onUpdate:color": () => {
|
|
48
|
-
t.value = e, o(N).show();
|
|
49
|
-
},
|
|
50
|
-
"onUpdate:name": () => {
|
|
51
|
-
t.value = e, o(c).show();
|
|
52
|
-
},
|
|
53
|
-
"onUpdate:variable": ({ id: r, value: d }) => a("environment:update:variable", {
|
|
54
|
-
environmentName: e.name,
|
|
55
|
-
id: r,
|
|
56
|
-
environmentVariable: d
|
|
57
|
-
})
|
|
58
|
-
}, null, 8, ["color", "envVariables", "environment", "isReadonly", "name", "variables", "onAdd:variable", "onDelete", "onDelete:variable", "onUpdate:color", "onUpdate:name", "onUpdate:variable"]))), 128)),
|
|
59
|
-
l.documentName !== null ? (m(), u("div", x, [
|
|
60
|
-
p(o($), {
|
|
14
|
+
setup(i) {
|
|
15
|
+
const m = d(), c = d(), n = y(null), p = (e) => {
|
|
16
|
+
n.value = e, c.show();
|
|
17
|
+
}, f = () => {
|
|
18
|
+
n.value && i.eventBus.emit("environment:delete:environment", {
|
|
19
|
+
environmentName: n.value,
|
|
20
|
+
collectionType: i.collectionType
|
|
21
|
+
});
|
|
22
|
+
}, a = (e) => {
|
|
23
|
+
n.value = e ?? null, m.show();
|
|
24
|
+
};
|
|
25
|
+
return (e, t) => (s(), u(v, null, [
|
|
26
|
+
(s(!0), u(v, null, b(Object.entries(e.environments), ([o, B]) => (s(), g(C, {
|
|
27
|
+
key: o,
|
|
28
|
+
collectionType: e.collectionType,
|
|
29
|
+
environment: B,
|
|
30
|
+
environmentName: o,
|
|
31
|
+
eventBus: e.eventBus,
|
|
32
|
+
onDelete: () => p(o),
|
|
33
|
+
onEdit: () => a(o)
|
|
34
|
+
}, null, 8, ["collectionType", "environment", "environmentName", "eventBus", "onDelete", "onEdit"]))), 128)),
|
|
35
|
+
T("div", D, [
|
|
36
|
+
l(r(M), {
|
|
61
37
|
class: "hover:bg-b-2 hover:text-c-1 flex items-center gap-2",
|
|
62
38
|
size: "sm",
|
|
63
39
|
variant: "ghost",
|
|
64
|
-
onClick:
|
|
40
|
+
onClick: t[0] || (t[0] = () => a())
|
|
65
41
|
}, {
|
|
66
|
-
default:
|
|
67
|
-
|
|
68
|
-
|
|
42
|
+
default: h(() => [
|
|
43
|
+
l(r(N)),
|
|
44
|
+
t[1] || (t[1] = k(" Add Environment ", -1))
|
|
69
45
|
]),
|
|
70
46
|
_: 1
|
|
71
47
|
})
|
|
72
|
-
])
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
name: t.value.name,
|
|
86
|
-
state: o(f),
|
|
87
|
-
onSubmit: n[3] || (n[3] = () => a("environment:delete", {
|
|
88
|
-
environmentName: t.value.name
|
|
89
|
-
}))
|
|
90
|
-
}, null, 8, ["name", "state"])) : i("", !0),
|
|
91
|
-
t.value ? (m(), v(B, {
|
|
92
|
-
key: 2,
|
|
93
|
-
name: t.value.name,
|
|
94
|
-
state: o(c),
|
|
95
|
-
onSubmit: n[4] || (n[4] = (e) => a("environment:update", {
|
|
96
|
-
environmentName: t.value.name,
|
|
97
|
-
environment: { name: e.name }
|
|
98
|
-
}))
|
|
99
|
-
}, null, 8, ["name", "state"])) : i("", !0),
|
|
100
|
-
t.value ? (m(), v(w, {
|
|
101
|
-
key: 3,
|
|
102
|
-
color: t.value.color || "#FFFFFF",
|
|
103
|
-
state: o(N),
|
|
104
|
-
onSubmit: n[5] || (n[5] = (e) => a("environment:update", {
|
|
105
|
-
environmentName: t.value.name,
|
|
106
|
-
environment: { color: e.color }
|
|
107
|
-
}))
|
|
108
|
-
}, null, 8, ["color", "state"])) : i("", !0)
|
|
48
|
+
]),
|
|
49
|
+
l(S, {
|
|
50
|
+
collectionType: e.collectionType,
|
|
51
|
+
environments: e.environments,
|
|
52
|
+
eventBus: e.eventBus,
|
|
53
|
+
selectedEnvironmentName: n.value,
|
|
54
|
+
state: r(m)
|
|
55
|
+
}, null, 8, ["collectionType", "environments", "eventBus", "selectedEnvironmentName", "state"]),
|
|
56
|
+
l(w, {
|
|
57
|
+
name: n.value,
|
|
58
|
+
state: r(c),
|
|
59
|
+
onSubmit: f
|
|
60
|
+
}, null, 8, ["name", "state"])
|
|
109
61
|
], 64));
|
|
110
62
|
}
|
|
111
63
|
});
|
|
112
64
|
export {
|
|
113
|
-
|
|
65
|
+
z as default
|
|
114
66
|
};
|
|
@@ -1,70 +1,16 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
export type EnvironmentVariable = {
|
|
4
|
-
name: string;
|
|
5
|
-
value: string;
|
|
6
|
-
};
|
|
7
|
-
export type Environment = {
|
|
8
|
-
name: string;
|
|
9
|
-
color?: string;
|
|
10
|
-
variables: EnvironmentVariable[];
|
|
11
|
-
};
|
|
1
|
+
import type { CollectionType, WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
2
|
+
import type { XScalarEnvironment } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
|
|
12
3
|
type __VLS_Props = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
variables: EnvironmentVariable[];
|
|
19
|
-
/** Marks the environment as readonly */
|
|
20
|
-
isReadonly?: boolean;
|
|
21
|
-
/** TODO: remove when we migrate to the new store */
|
|
22
|
-
environment: EntitiesEnvironment;
|
|
23
|
-
envVariables: EnvVariable[];
|
|
24
|
-
};
|
|
25
|
-
type __VLS_Slots = {
|
|
26
|
-
default?(): unknown;
|
|
27
|
-
};
|
|
28
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
4
|
+
environment: XScalarEnvironment;
|
|
5
|
+
environmentName: string;
|
|
6
|
+
eventBus: WorkspaceEventBus;
|
|
7
|
+
} & CollectionType;
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
29
9
|
delete: () => any;
|
|
30
|
-
|
|
31
|
-
id: number;
|
|
32
|
-
value: Partial<EnvironmentVariable>;
|
|
33
|
-
}) => any;
|
|
34
|
-
reorder: (draggingItem: {
|
|
35
|
-
id: string;
|
|
36
|
-
}, hoveredItem: {
|
|
37
|
-
id: string;
|
|
38
|
-
}) => any;
|
|
39
|
-
"add:variable": (payload: Partial<EnvironmentVariable>) => any;
|
|
40
|
-
"update:name": () => any;
|
|
41
|
-
"update:color": () => any;
|
|
42
|
-
"delete:variable": (payload: {
|
|
43
|
-
id: number;
|
|
44
|
-
}) => any;
|
|
10
|
+
edit: () => any;
|
|
45
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
46
12
|
onDelete?: (() => any) | undefined;
|
|
47
|
-
|
|
48
|
-
id: number;
|
|
49
|
-
value: Partial<EnvironmentVariable>;
|
|
50
|
-
}) => any) | undefined;
|
|
51
|
-
onReorder?: ((draggingItem: {
|
|
52
|
-
id: string;
|
|
53
|
-
}, hoveredItem: {
|
|
54
|
-
id: string;
|
|
55
|
-
}) => any) | undefined;
|
|
56
|
-
"onAdd:variable"?: ((payload: Partial<EnvironmentVariable>) => any) | undefined;
|
|
57
|
-
"onUpdate:name"?: (() => any) | undefined;
|
|
58
|
-
"onUpdate:color"?: (() => any) | undefined;
|
|
59
|
-
"onDelete:variable"?: ((payload: {
|
|
60
|
-
id: number;
|
|
61
|
-
}) => any) | undefined;
|
|
13
|
+
onEdit?: (() => any) | undefined;
|
|
62
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
63
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
64
15
|
export default _default;
|
|
65
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
66
|
-
new (): {
|
|
67
|
-
$slots: S;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
16
|
//# sourceMappingURL=Environment.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/Environment.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Environment.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/Environment.vue"],"names":[],"mappings":"AAmEA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2EAA2E,CAAA;AAInH,KAAK,WAAW,GAAG;IACf,WAAW,EAAE,kBAAkB,CAAA;IAC/B,eAAe,EAAE,MAAM,CAAA;IACvB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;;;;;;;;AA6JrB,wBAOG"}
|
|
@@ -1,104 +1,53 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
const h = { class: "bg-b-2 flex cursor-grab justify-between rounded-t-lg px-1 py-1 text-sm" }, C = { class: "flex items-center gap-1" }, D = {
|
|
7
|
-
key: 1,
|
|
8
|
-
class: "flex h-6 w-6 items-center justify-center p-1"
|
|
9
|
-
}, E = {
|
|
10
|
-
key: 3,
|
|
11
|
-
class: "px-1 py-0.5 text-sm"
|
|
12
|
-
}, j = /* @__PURE__ */ g({
|
|
1
|
+
import { defineComponent as c, createElementBlock as a, openBlock as d, createElementVNode as n, createVNode as i, normalizeStyle as p, toDisplayString as v, unref as t } from "vue";
|
|
2
|
+
import { ScalarIconButton as r } from "@scalar/components";
|
|
3
|
+
import { ScalarIconNotePencil as u, ScalarIconTrash as f } from "@scalar/icons";
|
|
4
|
+
import y from "./EnvironmentVariablesTable.vue.js";
|
|
5
|
+
const _ = { class: "group rounded-lg border" }, b = { class: "bg-b-2 flex justify-between rounded-t-lg px-1 py-1 text-sm" }, g = { class: "flex items-center gap-1" }, h = { class: "flex h-6 w-6 items-center justify-center p-1" }, N = { class: "px-1 py-0.5 text-sm" }, B = { class: "hidden flex-row items-center gap-1 group-hover:flex" }, w = /* @__PURE__ */ c({
|
|
13
6
|
__name: "Environment",
|
|
14
7
|
props: {
|
|
15
|
-
name: {},
|
|
16
|
-
color: {},
|
|
17
|
-
variables: {},
|
|
18
|
-
isReadonly: { type: Boolean, default: !1 },
|
|
19
8
|
environment: {},
|
|
20
|
-
|
|
9
|
+
environmentName: {},
|
|
10
|
+
eventBus: {},
|
|
11
|
+
collectionType: {}
|
|
21
12
|
},
|
|
22
|
-
emits: ["
|
|
23
|
-
setup(
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
onOnDragEnd: y
|
|
34
|
-
}, {
|
|
35
|
-
default: s(() => [
|
|
36
|
-
d("div", h, [
|
|
37
|
-
d("div", C, [
|
|
38
|
-
e.isReadonly ? (l(), u("div", D, [
|
|
39
|
-
d("span", {
|
|
40
|
-
class: "h-2.5 w-2.5 rounded-full",
|
|
41
|
-
style: p({ backgroundColor: e.color || "#FFFFFF" })
|
|
42
|
-
}, null, 4)
|
|
43
|
-
])) : (l(), t(r(i), {
|
|
44
|
-
key: 0,
|
|
45
|
-
class: "hover:bg-b-3 flex h-6 w-6 p-1",
|
|
46
|
-
disabled: e.isReadonly,
|
|
47
|
-
variant: "ghost",
|
|
48
|
-
onClick: a[0] || (a[0] = (n) => o("update:color"))
|
|
49
|
-
}, {
|
|
50
|
-
default: s(() => [
|
|
51
|
-
d("span", {
|
|
52
|
-
class: "h-2.5 w-2.5 rounded-full",
|
|
53
|
-
style: p({ backgroundColor: e.color || "#FFFFFF" })
|
|
54
|
-
}, null, 4)
|
|
55
|
-
]),
|
|
56
|
-
_: 1
|
|
57
|
-
}, 8, ["disabled"])),
|
|
58
|
-
e.isReadonly ? (l(), u("span", E, v(e.name), 1)) : (l(), t(r(i), {
|
|
59
|
-
key: 2,
|
|
60
|
-
class: "hover:bg-b-3 rounded px-1 py-0.5 text-sm",
|
|
61
|
-
disabled: e.isReadonly,
|
|
62
|
-
variant: "ghost",
|
|
63
|
-
onClick: a[1] || (a[1] = (n) => o("update:name"))
|
|
64
|
-
}, {
|
|
65
|
-
default: s(() => [
|
|
66
|
-
F(v(e.name), 1)
|
|
67
|
-
]),
|
|
68
|
-
_: 1
|
|
69
|
-
}, 8, ["disabled"]))
|
|
13
|
+
emits: ["edit", "delete"],
|
|
14
|
+
setup(E, { emit: s }) {
|
|
15
|
+
const l = s;
|
|
16
|
+
return (e, o) => (d(), a("div", _, [
|
|
17
|
+
n("div", b, [
|
|
18
|
+
n("div", g, [
|
|
19
|
+
n("div", h, [
|
|
20
|
+
n("span", {
|
|
21
|
+
class: "h-2.5 w-2.5 rounded-full",
|
|
22
|
+
style: p({ backgroundColor: e.environment.color })
|
|
23
|
+
}, null, 4)
|
|
70
24
|
]),
|
|
71
|
-
|
|
72
|
-
key: 0,
|
|
73
|
-
class: "text-c-2 hover:text-c-1 hover:bg-b-3 h-fit rounded p-1",
|
|
74
|
-
size: "sm",
|
|
75
|
-
variant: "ghost",
|
|
76
|
-
onClick: a[2] || (a[2] = (n) => o("delete"))
|
|
77
|
-
}, {
|
|
78
|
-
default: s(() => [
|
|
79
|
-
b(r(R), { class: "size-3.5" })
|
|
80
|
-
]),
|
|
81
|
-
_: 1
|
|
82
|
-
}))
|
|
25
|
+
n("span", N, v(e.environmentName), 1)
|
|
83
26
|
]),
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
27
|
+
n("div", B, [
|
|
28
|
+
i(t(r), {
|
|
29
|
+
icon: t(u),
|
|
30
|
+
label: "Edit Environment",
|
|
31
|
+
size: "sm",
|
|
32
|
+
onClick: o[0] || (o[0] = (m) => l("edit"))
|
|
33
|
+
}, null, 8, ["icon"]),
|
|
34
|
+
i(t(r), {
|
|
35
|
+
icon: t(f),
|
|
36
|
+
label: "Delete Environment",
|
|
37
|
+
size: "sm",
|
|
38
|
+
onClick: o[1] || (o[1] = (m) => l("delete"))
|
|
39
|
+
}, null, 8, ["icon"])
|
|
96
40
|
])
|
|
97
41
|
]),
|
|
98
|
-
|
|
99
|
-
|
|
42
|
+
i(y, {
|
|
43
|
+
collectionType: e.collectionType,
|
|
44
|
+
environment: e.environment,
|
|
45
|
+
environmentName: e.environmentName,
|
|
46
|
+
eventBus: e.eventBus
|
|
47
|
+
}, null, 8, ["collectionType", "environment", "environmentName", "eventBus"])
|
|
48
|
+
]));
|
|
100
49
|
}
|
|
101
50
|
});
|
|
102
51
|
export {
|
|
103
|
-
|
|
52
|
+
w as default
|
|
104
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentColors.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentColors.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EnvironmentColors.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentColors.vue"],"names":[],"mappings":"AA6LA,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAC;;;;;;AAyUF,wBAOG"}
|
|
@@ -1,97 +1,121 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarIcon as
|
|
3
|
-
const
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "flex min-h-10 min-w-[296px] flex-row items-center justify-between gap-1.5 space-x-1"
|
|
6
|
-
}, N = ["onClick"], R = {
|
|
1
|
+
import { defineComponent as D, ref as d, computed as m, createElementBlock as a, openBlock as l, createCommentVNode as c, normalizeStyle as v, createBlock as k, unref as C, createElementVNode as s, Fragment as S, renderList as $, withDirectives as j, vModelText as N, createVNode as T, nextTick as V } from "vue";
|
|
2
|
+
import { ScalarIcon as f } from "@scalar/components";
|
|
3
|
+
const A = {
|
|
7
4
|
key: 1,
|
|
8
|
-
class: "flex
|
|
9
|
-
},
|
|
5
|
+
class: "color-selector flex h-4 flex-row items-center justify-between gap-1.5 space-x-1"
|
|
6
|
+
}, R = ["onClick"], L = {
|
|
7
|
+
key: 2,
|
|
8
|
+
class: "color-selector flex h-4 flex-1 items-center gap-2 rounded"
|
|
9
|
+
}, U = ["placeholder"], W = "linear-gradient(to right, rgb(235, 87, 87), rgb(242, 201, 76), rgb(76, 183, 130), rgb(78, 167, 252), rgb(250, 96, 122))", P = /* @__PURE__ */ D({
|
|
10
10
|
__name: "EnvironmentColors",
|
|
11
11
|
props: {
|
|
12
12
|
activeColor: {}
|
|
13
13
|
},
|
|
14
14
|
emits: ["select"],
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
|
|
15
|
+
setup(i, { emit: w }) {
|
|
16
|
+
const F = w, t = d(""), p = d(null), r = d(!1), n = d(!1), b = [
|
|
17
|
+
"#FFFFFF",
|
|
18
|
+
"#EF0006",
|
|
19
|
+
"#EDBE20",
|
|
20
|
+
"#069061",
|
|
21
|
+
"#FB892C",
|
|
22
|
+
"#0082D0",
|
|
23
|
+
"#5203D1",
|
|
24
|
+
"#FFC0CB"
|
|
25
|
+
], E = m(
|
|
26
|
+
() => b.includes(i.activeColor)
|
|
27
|
+
), h = m(
|
|
28
|
+
() => i.activeColor && !E.value && !r.value
|
|
29
|
+
), I = (e) => i.activeColor === e, y = m(() => {
|
|
30
|
+
const e = t.value || i.activeColor;
|
|
31
|
+
return h.value || t.value ? `background-color: ${e};` : `background: ${W};`;
|
|
32
|
+
}), g = async () => {
|
|
33
|
+
r.value = !r.value, n.value = !1, r.value && (await V(), p.value?.focus());
|
|
34
|
+
}, z = () => {
|
|
35
|
+
n.value = !n.value;
|
|
36
|
+
}, x = (e) => {
|
|
37
|
+
const o = e && !e.startsWith("#") ? `#${e}` : e;
|
|
38
|
+
F("select", o), n.value = !1;
|
|
39
|
+
}, B = () => {
|
|
40
|
+
if (!t.value)
|
|
41
|
+
return;
|
|
42
|
+
const e = t.value.startsWith("#") ? t.value : `#${t.value}`;
|
|
43
|
+
t.value = e, x(e);
|
|
36
44
|
};
|
|
37
|
-
return (e,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
class: "
|
|
41
|
-
style:
|
|
42
|
-
|
|
43
|
-
I(r("input", {
|
|
44
|
-
ref_key: "customColorInputRef",
|
|
45
|
-
ref: u,
|
|
46
|
-
"onUpdate:modelValue": l[0] || (l[0] = (o) => t.value = o),
|
|
47
|
-
class: "w-full flex-1 border-transparent text-sm outline-none",
|
|
48
|
-
placeholder: e.activeColor || "#000000",
|
|
49
|
-
type: "text",
|
|
50
|
-
onInput: l[1] || (l[1] = (o) => g(t.value))
|
|
51
|
-
}, null, 40, S), [
|
|
52
|
-
[D, t.value]
|
|
53
|
-
]),
|
|
54
|
-
r("button", {
|
|
55
|
-
class: "text-c-3 hover:bg-b-2 rounded-lg p-1.5",
|
|
56
|
-
type: "button",
|
|
57
|
-
onClick: b
|
|
45
|
+
return (e, o) => (l(), a("div", null, [
|
|
46
|
+
!r.value && !n.value ? (l(), a("div", {
|
|
47
|
+
key: 0,
|
|
48
|
+
class: "flex h-4 w-4 cursor-pointer items-center justify-center rounded-full",
|
|
49
|
+
style: v({ backgroundColor: e.activeColor }),
|
|
50
|
+
onClick: z
|
|
58
51
|
}, [
|
|
59
|
-
|
|
60
|
-
icon: "Checkmark",
|
|
61
|
-
size: "xs"
|
|
62
|
-
})
|
|
63
|
-
])
|
|
64
|
-
])) : (s(), v("div", j, [
|
|
65
|
-
(s(), v(B, null, E(i, (o) => r("div", {
|
|
66
|
-
key: o.color,
|
|
67
|
-
class: "flex h-5 w-5 cursor-pointer items-center justify-center rounded-full",
|
|
68
|
-
"data-testid": "color-option",
|
|
69
|
-
style: C({ backgroundColor: o.color }),
|
|
70
|
-
onClick: (G) => g(o.color)
|
|
71
|
-
}, [
|
|
72
|
-
e.activeColor === o.color && !t.value ? (s(), h(f(p), {
|
|
73
|
-
key: 0,
|
|
74
|
-
class: "text-c-btn",
|
|
75
|
-
icon: "Checkmark",
|
|
76
|
-
size: "xs"
|
|
77
|
-
})) : x("", !0)
|
|
78
|
-
], 12, N)), 64)),
|
|
79
|
-
l[2] || (l[2] = r("hr", { class: "border-ghost h-5 w-0.5 border-l" }, null, -1)),
|
|
80
|
-
r("label", {
|
|
81
|
-
class: "z-10 flex h-5 w-5 cursor-pointer flex-row items-center justify-center gap-2 rounded-full",
|
|
82
|
-
style: C(k.value),
|
|
83
|
-
onClick: b
|
|
84
|
-
}, [
|
|
85
|
-
!n.value && (e.activeColor === t.value || e.activeColor && !i.some((o) => o.color === e.activeColor)) ? (s(), h(f(p), {
|
|
52
|
+
e.activeColor ? (l(), k(C(f), {
|
|
86
53
|
key: 0,
|
|
87
|
-
class: "text-c-btn",
|
|
54
|
+
class: "text-c-btn p-0.5",
|
|
88
55
|
icon: "Checkmark",
|
|
89
56
|
size: "xs"
|
|
90
|
-
})) :
|
|
91
|
-
], 4)
|
|
57
|
+
})) : c("", !0)
|
|
58
|
+
], 4)) : c("", !0),
|
|
59
|
+
!r.value && n.value ? (l(), a("div", A, [
|
|
60
|
+
(l(), a(S, null, $(b, (u) => s("div", {
|
|
61
|
+
key: u,
|
|
62
|
+
class: "flex h-4 w-4 cursor-pointer items-center justify-center rounded-full",
|
|
63
|
+
style: v({ backgroundColor: u }),
|
|
64
|
+
onClick: (G) => x(u)
|
|
65
|
+
}, [
|
|
66
|
+
I(u) ? (l(), k(C(f), {
|
|
67
|
+
key: 0,
|
|
68
|
+
class: "text-c-btn p-0.5",
|
|
69
|
+
icon: "Checkmark",
|
|
70
|
+
size: "xs"
|
|
71
|
+
})) : c("", !0)
|
|
72
|
+
], 12, R)), 64)),
|
|
73
|
+
o[1] || (o[1] = s("hr", { class: "border-ghost h-5 w-0.5 border-l" }, null, -1)),
|
|
74
|
+
s("button", {
|
|
75
|
+
class: "z-10 flex h-4 w-4 cursor-pointer flex-row items-center justify-center gap-2 rounded-full",
|
|
76
|
+
style: v(y.value),
|
|
77
|
+
type: "button",
|
|
78
|
+
onClick: g
|
|
79
|
+
}, [
|
|
80
|
+
h.value ? (l(), k(C(f), {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: "text-c-btn",
|
|
83
|
+
icon: "Checkmark",
|
|
84
|
+
size: "xs"
|
|
85
|
+
})) : c("", !0)
|
|
86
|
+
], 4)
|
|
87
|
+
])) : c("", !0),
|
|
88
|
+
r.value ? (l(), a("div", L, [
|
|
89
|
+
o[2] || (o[2] = s("span", { class: "absolute h-4 w-4 rounded-full border border-dashed" }, null, -1)),
|
|
90
|
+
s("span", {
|
|
91
|
+
class: "z-[1] h-4 w-4 rounded-full",
|
|
92
|
+
style: v(y.value)
|
|
93
|
+
}, null, 4),
|
|
94
|
+
j(s("input", {
|
|
95
|
+
ref_key: "customColorInputRef",
|
|
96
|
+
ref: p,
|
|
97
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => t.value = u),
|
|
98
|
+
class: "w-full flex-1 border-transparent text-sm outline-none",
|
|
99
|
+
placeholder: e.activeColor || "#000000",
|
|
100
|
+
type: "text",
|
|
101
|
+
onInput: B
|
|
102
|
+
}, null, 40, U), [
|
|
103
|
+
[N, t.value]
|
|
104
|
+
]),
|
|
105
|
+
s("button", {
|
|
106
|
+
class: "text-c-3 hover:bg-b-2 rounded-lg p-1.5",
|
|
107
|
+
type: "button",
|
|
108
|
+
onClick: g
|
|
109
|
+
}, [
|
|
110
|
+
T(C(f), {
|
|
111
|
+
icon: "Checkmark",
|
|
112
|
+
size: "xs"
|
|
113
|
+
})
|
|
114
|
+
])
|
|
115
|
+
])) : c("", !0)
|
|
92
116
|
]));
|
|
93
117
|
}
|
|
94
118
|
});
|
|
95
119
|
export {
|
|
96
|
-
|
|
120
|
+
P as default
|
|
97
121
|
};
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { type ModalState } from '@scalar/components';
|
|
2
|
+
import type { CollectionType, WorkspaceEventBus } from '@scalar/workspace-store/events';
|
|
3
|
+
import type { XScalarEnvironments } from '@scalar/workspace-store/schemas/extensions/document/x-scalar-environments';
|
|
2
4
|
type __VLS_Props = {
|
|
5
|
+
environments: NonNullable<XScalarEnvironments['x-scalar-environments']>;
|
|
6
|
+
selectedEnvironmentName: string | null;
|
|
3
7
|
state: ModalState;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
name: string;
|
|
8
|
-
color: string;
|
|
9
|
-
}) => any;
|
|
10
|
-
cancel: () => any;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
-
onSubmit?: ((environment: {
|
|
13
|
-
name: string;
|
|
14
|
-
color: string;
|
|
15
|
-
}) => any) | undefined;
|
|
16
|
-
onCancel?: (() => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
eventBus: WorkspaceEventBus;
|
|
9
|
+
} & CollectionType;
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
11
|
export default _default;
|
|
19
12
|
//# sourceMappingURL=EnvironmentCreateModal.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnvironmentCreateModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentCreateModal.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EnvironmentCreateModal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/environments/components/EnvironmentCreateModal.vue"],"names":[],"mappings":"AA+IA,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2EAA2E,CAAA;AAQpH,KAAK,WAAW,GAAG;IACf,YAAY,EAAE,WAAW,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,CAAC,CAAA;IACvE,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,KAAK,EAAE,UAAU,CAAA;IACjB,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,GAAG,cAAc,CAAC;;AA8MrB,wBAMG"}
|