@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,37 +1,37 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarListbox as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
1
|
+
import { defineComponent as O, computed as m, createBlock as v, openBlock as u, withCtx as i, createVNode as d, unref as l, createElementVNode as f, toDisplayString as c, createElementBlock as w, Fragment as D, createTextVNode as g } from "vue";
|
|
2
|
+
import { ScalarListbox as S, ScalarButton as b, ScalarIcon as V } from "@scalar/components";
|
|
3
|
+
import { unpackProxyObject as k } from "@scalar/workspace-store/helpers/unpack-proxy";
|
|
4
|
+
import q from "../../../../components/CodeInput/CodeInput.vue.js";
|
|
5
|
+
import A from "../../../../components/DataTable/DataTable.vue.js";
|
|
6
|
+
import E from "../../../../components/DataTable/DataTableHeader.vue.js";
|
|
7
|
+
import L from "../../../../components/DataTable/DataTableRow.vue.js";
|
|
8
|
+
import M from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
9
|
+
import B from "./OperationTable.vue.js";
|
|
10
|
+
import { getFileName as F } from "../helpers/files.js";
|
|
11
|
+
import { getExampleFromBody as z } from "../helpers/get-request-body-example.js";
|
|
12
|
+
import { useFileDialog as $ } from "../../../../hooks/useFileDialog.js";
|
|
13
|
+
const K = {
|
|
13
14
|
key: 0,
|
|
14
15
|
class: "text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm"
|
|
15
|
-
},
|
|
16
|
+
}, I = {
|
|
16
17
|
key: 1,
|
|
17
18
|
class: "flex items-center justify-center overflow-hidden border-t p-1.5"
|
|
18
|
-
},
|
|
19
|
+
}, J = { class: "text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap" }, oe = /* @__PURE__ */ O({
|
|
19
20
|
__name: "OperationBody",
|
|
20
21
|
props: {
|
|
21
22
|
requestBody: {},
|
|
22
|
-
selectedContentType: {},
|
|
23
23
|
exampleKey: {},
|
|
24
24
|
title: {},
|
|
25
25
|
environment: {},
|
|
26
26
|
envVariables: {}
|
|
27
27
|
},
|
|
28
|
-
emits: ["update:contentType", "update:value", "add:formRow", "update:formRow"],
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
28
|
+
emits: ["update:contentType", "update:value", "add:formRow", "update:formRow", "delete:fromRow"],
|
|
29
|
+
setup(s, { emit: N }) {
|
|
30
|
+
const a = N, U = {
|
|
31
31
|
"application/json": "json",
|
|
32
32
|
"application/xml": "xml",
|
|
33
33
|
"application/yaml": "yaml"
|
|
34
|
-
},
|
|
34
|
+
}, j = {
|
|
35
35
|
"multipart/form-data": "Multipart Form",
|
|
36
36
|
"application/x-www-form-urlencoded": "Form URL Encoded",
|
|
37
37
|
"application/octet-stream": "Binary File",
|
|
@@ -41,56 +41,63 @@ const L = {
|
|
|
41
41
|
"application/edn": "EDN",
|
|
42
42
|
other: "Other",
|
|
43
43
|
none: "None"
|
|
44
|
-
}).map(([
|
|
45
|
-
id:
|
|
44
|
+
}, o = m(() => s.requestBody?.["x-scalar-selected-content-type"]?.[s.exampleKey] ?? Object.keys(s.requestBody?.content ?? {})[0] ?? "other"), y = Object.entries(j).map(([n, e]) => ({
|
|
45
|
+
id: n,
|
|
46
46
|
label: e
|
|
47
|
-
})),
|
|
48
|
-
get: () =>
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
})), x = m({
|
|
48
|
+
get: () => y.find(
|
|
49
|
+
(e) => e.id === o.value
|
|
50
|
+
) ?? y.at(-1),
|
|
51
|
+
set: (n) => {
|
|
52
|
+
a("update:contentType", { value: n.id });
|
|
51
53
|
}
|
|
52
54
|
});
|
|
53
|
-
function
|
|
54
|
-
const { open: e } =
|
|
55
|
-
onChange: (
|
|
56
|
-
const
|
|
57
|
-
|
|
55
|
+
function T(n) {
|
|
56
|
+
const { open: e } = $({
|
|
57
|
+
onChange: (t) => {
|
|
58
|
+
const r = t?.[0];
|
|
59
|
+
r && n(r);
|
|
58
60
|
},
|
|
59
61
|
multiple: !1,
|
|
60
62
|
accept: "*/*"
|
|
61
63
|
});
|
|
62
64
|
e();
|
|
63
65
|
}
|
|
64
|
-
const
|
|
65
|
-
() =>
|
|
66
|
-
)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
const p = m(
|
|
67
|
+
() => s.requestBody && z(s.requestBody, o.value, s.exampleKey)
|
|
68
|
+
), C = m(() => {
|
|
69
|
+
if (!p.value)
|
|
70
|
+
return "";
|
|
71
|
+
const n = p.value.value;
|
|
72
|
+
return typeof n == "string" ? n : JSON.stringify(n, null, 2);
|
|
73
|
+
}), R = m(() => p.value ? Array.isArray(p.value.value) ? p.value.value : [] : []);
|
|
74
|
+
return (n, e) => (u(), v(M, null, {
|
|
75
|
+
title: i(() => [
|
|
76
|
+
g(c(n.title), 1)
|
|
70
77
|
]),
|
|
71
|
-
default:
|
|
72
|
-
|
|
78
|
+
default: i(() => [
|
|
79
|
+
d(A, {
|
|
73
80
|
columns: [""],
|
|
74
81
|
presentational: ""
|
|
75
82
|
}, {
|
|
76
|
-
default:
|
|
77
|
-
|
|
78
|
-
default:
|
|
79
|
-
|
|
80
|
-
modelValue:
|
|
81
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
82
|
-
options: l(
|
|
83
|
+
default: i(() => [
|
|
84
|
+
d(E, { class: "relative col-span-full flex h-8 cursor-pointer items-center justify-between !p-0" }, {
|
|
85
|
+
default: i(() => [
|
|
86
|
+
d(l(S), {
|
|
87
|
+
modelValue: x.value,
|
|
88
|
+
"onUpdate:modelValue": e[0] || (e[0] = (t) => x.value = t),
|
|
89
|
+
options: l(y),
|
|
83
90
|
teleport: ""
|
|
84
91
|
}, {
|
|
85
|
-
default:
|
|
86
|
-
|
|
92
|
+
default: i(() => [
|
|
93
|
+
d(l(b), {
|
|
87
94
|
class: "text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal",
|
|
88
95
|
fullWidth: "",
|
|
89
96
|
variant: "ghost"
|
|
90
97
|
}, {
|
|
91
|
-
default:
|
|
92
|
-
|
|
93
|
-
|
|
98
|
+
default: i(() => [
|
|
99
|
+
f("span", null, c(o.value), 1),
|
|
100
|
+
d(l(V), {
|
|
94
101
|
icon: "ChevronDown",
|
|
95
102
|
size: "md"
|
|
96
103
|
})
|
|
@@ -103,36 +110,42 @@ const L = {
|
|
|
103
110
|
]),
|
|
104
111
|
_: 1
|
|
105
112
|
}),
|
|
106
|
-
|
|
107
|
-
default:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
])])) :
|
|
111
|
-
l(
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
d(L, null, {
|
|
114
|
+
default: i(() => [
|
|
115
|
+
o.value === "none" ? (u(), w("div", K, [...e[12] || (e[12] = [
|
|
116
|
+
f("span", null, "No Body", -1)
|
|
117
|
+
])])) : o.value === "application/octet-stream" ? (u(), w("div", I, [
|
|
118
|
+
l(F)(l(k)(p.value?.value)) !== void 0 ? (u(), w(D, { key: 0 }, [
|
|
119
|
+
f("span", J, c(l(F)(l(k)(p.value?.value))), 1),
|
|
120
|
+
d(l(b), {
|
|
114
121
|
class: "bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none",
|
|
115
122
|
size: "sm",
|
|
116
123
|
variant: "outlined",
|
|
117
|
-
onClick: e[1] || (e[1] = (
|
|
124
|
+
onClick: e[1] || (e[1] = (t) => a("update:value", {
|
|
125
|
+
value: void 0,
|
|
126
|
+
contentType: o.value
|
|
127
|
+
}))
|
|
118
128
|
}, {
|
|
119
|
-
default:
|
|
120
|
-
|
|
129
|
+
default: i(() => [...e[13] || (e[13] = [
|
|
130
|
+
g(" Delete ", -1)
|
|
121
131
|
])]),
|
|
122
132
|
_: 1
|
|
123
133
|
})
|
|
124
|
-
], 64)) : (
|
|
134
|
+
], 64)) : (u(), v(l(b), {
|
|
125
135
|
key: 1,
|
|
126
136
|
class: "bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none",
|
|
127
137
|
size: "sm",
|
|
128
138
|
variant: "outlined",
|
|
129
|
-
onClick: e[2] || (e[2] = () =>
|
|
130
|
-
(
|
|
139
|
+
onClick: e[2] || (e[2] = () => T(
|
|
140
|
+
(t) => a("update:value", {
|
|
141
|
+
value: t,
|
|
142
|
+
contentType: o.value
|
|
143
|
+
})
|
|
131
144
|
))
|
|
132
145
|
}, {
|
|
133
|
-
default:
|
|
134
|
-
e[
|
|
135
|
-
|
|
146
|
+
default: i(() => [
|
|
147
|
+
e[14] || (e[14] = f("span", null, "Upload File", -1)),
|
|
148
|
+
d(l(V), {
|
|
136
149
|
class: "ml-1",
|
|
137
150
|
icon: "Upload",
|
|
138
151
|
size: "xs",
|
|
@@ -141,46 +154,76 @@ const L = {
|
|
|
141
154
|
]),
|
|
142
155
|
_: 1
|
|
143
156
|
}))
|
|
144
|
-
])) :
|
|
157
|
+
])) : o.value === "multipart/form-data" ? (u(), v(B, {
|
|
145
158
|
key: 2,
|
|
146
|
-
data:
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
name: n,
|
|
150
|
-
value: o
|
|
151
|
-
})),
|
|
152
|
-
envVariables: t.envVariables,
|
|
153
|
-
environment: t.environment,
|
|
159
|
+
data: R.value,
|
|
160
|
+
envVariables: n.envVariables,
|
|
161
|
+
environment: n.environment,
|
|
154
162
|
showUploadButton: "",
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
163
|
+
onAddRow: e[3] || (e[3] = (t) => a("add:formRow", {
|
|
164
|
+
data: t,
|
|
165
|
+
contentType: o.value
|
|
166
|
+
})),
|
|
167
|
+
onUpdateRow: e[4] || (e[4] = (t, r) => a("update:formRow", {
|
|
168
|
+
index: t,
|
|
169
|
+
data: r,
|
|
170
|
+
contentType: o.value
|
|
171
|
+
})),
|
|
172
|
+
onUploadFile: e[5] || (e[5] = (t) => T((r) => {
|
|
173
|
+
if (t !== void 0)
|
|
174
|
+
return a("update:formRow", {
|
|
175
|
+
index: t,
|
|
176
|
+
data: { value: r ?? void 0 },
|
|
177
|
+
contentType: o.value
|
|
160
178
|
});
|
|
161
|
-
|
|
179
|
+
a("add:formRow", {
|
|
180
|
+
data: { value: r ?? void 0 },
|
|
181
|
+
contentType: o.value
|
|
182
|
+
});
|
|
183
|
+
})),
|
|
184
|
+
onRemoveFile: e[6] || (e[6] = (t) => a("update:formRow", {
|
|
185
|
+
contentType: o.value,
|
|
186
|
+
index: t,
|
|
187
|
+
data: {
|
|
188
|
+
value: null
|
|
189
|
+
}
|
|
190
|
+
})),
|
|
191
|
+
onDeleteRow: e[7] || (e[7] = (t) => a("delete:fromRow", {
|
|
192
|
+
contentType: o.value,
|
|
193
|
+
index: t
|
|
162
194
|
}))
|
|
163
|
-
}, null, 8, ["data", "envVariables", "environment"])) :
|
|
195
|
+
}, null, 8, ["data", "envVariables", "environment"])) : o.value === "application/x-www-form-urlencoded" ? (u(), v(B, {
|
|
164
196
|
key: 3,
|
|
165
|
-
data:
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
197
|
+
data: R.value,
|
|
198
|
+
onAddRow: e[8] || (e[8] = (t) => a("add:formRow", {
|
|
199
|
+
data: t,
|
|
200
|
+
contentType: o.value
|
|
201
|
+
})),
|
|
202
|
+
onUpdateRow: e[9] || (e[9] = (t, r) => a("update:formRow", {
|
|
203
|
+
index: t,
|
|
204
|
+
data: r,
|
|
205
|
+
contentType: o.value
|
|
170
206
|
})),
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
207
|
+
onDeleteRow: e[10] || (e[10] = (t) => a("delete:fromRow", {
|
|
208
|
+
contentType: o.value,
|
|
209
|
+
index: t
|
|
210
|
+
})),
|
|
211
|
+
envVariables: n.envVariables,
|
|
212
|
+
environment: n.environment
|
|
213
|
+
}, null, 8, ["data", "envVariables", "environment"])) : (u(), v(q, {
|
|
174
214
|
key: 4,
|
|
175
215
|
class: "border-t px-3",
|
|
176
216
|
content: "",
|
|
177
|
-
envVariables:
|
|
178
|
-
environment:
|
|
179
|
-
language:
|
|
217
|
+
envVariables: n.envVariables,
|
|
218
|
+
environment: n.environment,
|
|
219
|
+
language: U[o.value] ?? "plaintext",
|
|
180
220
|
lineNumbers: "",
|
|
181
221
|
lint: "",
|
|
182
|
-
modelValue:
|
|
183
|
-
"onUpdate:modelValue": e[
|
|
222
|
+
modelValue: C.value,
|
|
223
|
+
"onUpdate:modelValue": e[11] || (e[11] = (t) => a("update:value", {
|
|
224
|
+
value: t,
|
|
225
|
+
contentType: o.value
|
|
226
|
+
}))
|
|
184
227
|
}, null, 8, ["envVariables", "environment", "language", "modelValue"]))
|
|
185
228
|
]),
|
|
186
229
|
_: 1
|
|
@@ -194,5 +237,5 @@ const L = {
|
|
|
194
237
|
}
|
|
195
238
|
});
|
|
196
239
|
export {
|
|
197
|
-
|
|
240
|
+
oe as default
|
|
198
241
|
};
|
|
@@ -8,6 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
label?: string;
|
|
9
9
|
invalidParams?: Set<string>;
|
|
10
10
|
globalRoute?: string;
|
|
11
|
+
showAddRowPlaceholder?: boolean;
|
|
11
12
|
/** TODO: remove as soon as we migrate to everything to the new store */
|
|
12
13
|
environment: Environment;
|
|
13
14
|
envVariables: EnvVariable[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationParams.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationParams.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OperationParams.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationParams.vue"],"names":[],"mappings":"AA0GA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAA;AAInG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAM1D,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,eAAe,EAAE,CAAA;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,wEAAwE;IACxE,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;;;eAoBgC,MAAM;;;aARH,MAAM;eAAS,MAAM;;;eAI7C,MAAM;iBACJ,OAAO,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,OAAO,CAAA;SAAE,CAAC;;;;;eAGxC,MAAM;;;aARH,MAAM;eAAS,MAAM;;;eAI7C,MAAM;iBACJ,OAAO,CAAC;YAAE,GAAG,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,SAAS,EAAE,OAAO,CAAA;SAAE,CAAC;;;;AAsL1E,wBAOG"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ScalarTooltip as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { getParameterExample as
|
|
6
|
-
import { getParameterSchema as
|
|
7
|
-
const
|
|
1
|
+
import { defineComponent as c, computed as n, createBlock as s, openBlock as i, withCtx as l, createVNode as m, createElementVNode as d, createCommentVNode as g, unref as p, withModifiers as h, createTextVNode as u, toDisplayString as f } from "vue";
|
|
2
|
+
import { ScalarTooltip as y, ScalarButton as P } from "@scalar/components";
|
|
3
|
+
import A from "../../../../components/ViewLayout/ViewLayoutCollapse.vue.js";
|
|
4
|
+
import C from "./OperationTable.vue.js";
|
|
5
|
+
import { getParameterExample as V } from "../helpers/get-parameter-example.js";
|
|
6
|
+
import { getParameterSchema as x } from "../helpers/get-parameter-schema.js";
|
|
7
|
+
const K = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100" }, k = { class: "sr-only" }, E = /* @__PURE__ */ c({
|
|
8
8
|
__name: "OperationParams",
|
|
9
9
|
props: {
|
|
10
10
|
parameters: {},
|
|
@@ -13,71 +13,73 @@ const k = { class: "text-c-2 request-meta-buttons flex whitespace-nowrap opacity
|
|
|
13
13
|
label: {},
|
|
14
14
|
invalidParams: {},
|
|
15
15
|
globalRoute: {},
|
|
16
|
+
showAddRowPlaceholder: { type: Boolean, default: !0 },
|
|
16
17
|
environment: {},
|
|
17
18
|
envVariables: {}
|
|
18
19
|
},
|
|
19
20
|
emits: ["add", "update", "delete", "deleteAll"],
|
|
20
|
-
setup(o, { emit:
|
|
21
|
-
const
|
|
21
|
+
setup(o, { emit: v }) {
|
|
22
|
+
const r = v, b = n(
|
|
22
23
|
() => o.parameters.map((e) => {
|
|
23
|
-
const
|
|
24
|
+
const a = V(e, o.exampleKey);
|
|
24
25
|
return {
|
|
25
26
|
name: e.name,
|
|
26
|
-
value:
|
|
27
|
+
value: a?.value ?? "",
|
|
27
28
|
globalRoute: o.globalRoute,
|
|
28
|
-
schema:
|
|
29
|
+
schema: x(e),
|
|
29
30
|
isRequired: e.required,
|
|
30
|
-
isDisabled:
|
|
31
|
+
isDisabled: a?.["x-disabled"] ?? !1
|
|
31
32
|
};
|
|
32
33
|
})
|
|
33
|
-
),
|
|
34
|
-
return (e,
|
|
34
|
+
), w = n(() => o.parameters.length > 1);
|
|
35
|
+
return (e, a) => (i(), s(A, {
|
|
35
36
|
class: "group/params",
|
|
36
37
|
itemCount: e.parameters.length
|
|
37
38
|
}, {
|
|
38
39
|
title: l(() => [
|
|
39
|
-
u(
|
|
40
|
+
u(f(e.title), 1)
|
|
40
41
|
]),
|
|
41
42
|
actions: l(() => [
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
d("div", K, [
|
|
44
|
+
w.value ? (i(), s(p(y), {
|
|
44
45
|
key: 0,
|
|
45
46
|
content: "Clear optional parameters",
|
|
46
47
|
placement: "left"
|
|
47
48
|
}, {
|
|
48
49
|
default: l(() => [
|
|
49
|
-
m(
|
|
50
|
+
m(p(P), {
|
|
50
51
|
class: "pr-0.75 pl-1 transition-none",
|
|
51
52
|
size: "sm",
|
|
52
53
|
variant: "ghost",
|
|
53
|
-
onClick:
|
|
54
|
+
onClick: a[0] || (a[0] = h((t) => r("deleteAll"), ["stop"]))
|
|
54
55
|
}, {
|
|
55
56
|
default: l(() => [
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
a[4] || (a[4] = u(" Clear ", -1)),
|
|
58
|
+
d("span", k, "All " + f(e.title), 1)
|
|
58
59
|
]),
|
|
59
60
|
_: 1
|
|
60
61
|
})
|
|
61
62
|
]),
|
|
62
63
|
_: 1
|
|
63
|
-
})) :
|
|
64
|
+
})) : g("", !0)
|
|
64
65
|
])
|
|
65
66
|
]),
|
|
66
67
|
default: l(() => [
|
|
67
|
-
m(
|
|
68
|
+
m(C, {
|
|
68
69
|
class: "flex-1",
|
|
69
70
|
columns: ["32px", "", ""],
|
|
70
|
-
data:
|
|
71
|
+
data: b.value,
|
|
71
72
|
envVariables: e.envVariables,
|
|
72
73
|
environment: e.environment,
|
|
73
74
|
exampleKey: e.exampleKey,
|
|
74
75
|
globalRoute: e.globalRoute,
|
|
75
76
|
invalidParams: e.invalidParams,
|
|
76
77
|
label: e.label,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
showAddRowPlaceholder: e.showAddRowPlaceholder,
|
|
79
|
+
onAddRow: a[1] || (a[1] = (t) => r("add", t)),
|
|
80
|
+
onDeleteRow: a[2] || (a[2] = (t) => r("delete", { index: t })),
|
|
81
|
+
onUpdateRow: a[3] || (a[3] = (t, R) => r("update", { index: t, payload: R }))
|
|
82
|
+
}, null, 8, ["data", "envVariables", "environment", "exampleKey", "globalRoute", "invalidParams", "label", "showAddRowPlaceholder"])
|
|
81
83
|
]),
|
|
82
84
|
_: 1
|
|
83
85
|
}, 8, ["itemCount"]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OperationTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationTable.vue"],"names":[],"mappings":"AA2KA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAMzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAA0B,EACxB,KAAK,QAAQ,EACd,MAAM,qEAAqE,CAAA;AAE5E,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,EAAE,CAAA;IAChB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,8BAA8B;IAC9B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAE1B,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAE/B,mCAAmC;IACnC,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;CAC5B,CAAC;;;aAqB0B,MAAM;eAAS,MAAM;mBAAa,OAAO;;;aALzC,MAAM;eAAS,MAAM;mBAAa,OAAO;;;;;;;aAKzC,MAAM;eAAS,MAAM;mBAAa,OAAO;;;aALzC,MAAM;eAAS,MAAM;mBAAa,OAAO;;;;;;AA6NrE,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OperationTable.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8f9602b0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as y, computed as b, createBlock as c, openBlock as i, withCtx as n, createVNode as t, createElementBlock as B, createTextVNode as s, toDisplayString as u, Fragment as D, renderList as F } from "vue";
|
|
2
2
|
import k from "../../../../components/DataTable/DataTable.vue.js";
|
|
3
3
|
import m from "../../../../components/DataTable/DataTableHeader.vue.js";
|
|
4
4
|
import U from "../../../../components/DataTable/DataTableRow.vue.js";
|
|
5
5
|
import V from "./OperationTableRow.vue.js";
|
|
6
|
-
const
|
|
6
|
+
const A = /* @__PURE__ */ y({
|
|
7
7
|
__name: "OperationTable",
|
|
8
8
|
props: {
|
|
9
9
|
data: {},
|
|
@@ -12,47 +12,50 @@ const T = /* @__PURE__ */ h({
|
|
|
12
12
|
invalidParams: {},
|
|
13
13
|
label: {},
|
|
14
14
|
showUploadButton: { type: Boolean },
|
|
15
|
+
showAddRowPlaceholder: { type: Boolean, default: !0 },
|
|
15
16
|
environment: {},
|
|
16
17
|
envVariables: {}
|
|
17
18
|
},
|
|
18
19
|
emits: ["addRow", "updateRow", "deleteRow", "uploadFile", "removeFile"],
|
|
19
|
-
setup(
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
setup(a, { emit: p }) {
|
|
21
|
+
const l = p, f = (e) => {
|
|
22
|
+
l("uploadFile", e);
|
|
23
|
+
}, v = b(() => a.showUploadButton ? ["36px", "", "", "auto"] : ["36px", "", ""]), w = b(() => {
|
|
24
|
+
if (!a.showAddRowPlaceholder)
|
|
25
|
+
return a.data;
|
|
26
|
+
const e = a.data.at(-1);
|
|
27
|
+
return !e || e.name !== "" || e.value !== "" ? [...a.data, { name: "", value: "", isDisabled: !0 }] : a.data;
|
|
28
|
+
}), h = ({
|
|
26
29
|
index: e,
|
|
27
|
-
payload:
|
|
30
|
+
payload: d
|
|
28
31
|
}) => {
|
|
29
|
-
if (e >=
|
|
30
|
-
|
|
32
|
+
if (e >= a.data.length) {
|
|
33
|
+
l("addRow", d);
|
|
31
34
|
return;
|
|
32
35
|
}
|
|
33
|
-
|
|
36
|
+
l("updateRow", e, d);
|
|
34
37
|
};
|
|
35
|
-
return (e,
|
|
38
|
+
return (e, d) => (i(), c(k, {
|
|
36
39
|
class: "group/table flex-1",
|
|
37
|
-
columns:
|
|
40
|
+
columns: v.value
|
|
38
41
|
}, {
|
|
39
|
-
default:
|
|
42
|
+
default: n(() => [
|
|
40
43
|
t(U, { class: "sr-only !block" }, {
|
|
41
|
-
default:
|
|
44
|
+
default: n(() => [
|
|
42
45
|
t(m, null, {
|
|
43
|
-
default:
|
|
46
|
+
default: n(() => [
|
|
44
47
|
s(u(e.label) + " Enabled", 1)
|
|
45
48
|
]),
|
|
46
49
|
_: 1
|
|
47
50
|
}),
|
|
48
51
|
t(m, null, {
|
|
49
|
-
default:
|
|
52
|
+
default: n(() => [
|
|
50
53
|
s(u(e.label) + " Key", 1)
|
|
51
54
|
]),
|
|
52
55
|
_: 1
|
|
53
56
|
}),
|
|
54
57
|
t(m, null, {
|
|
55
|
-
default:
|
|
58
|
+
default: n(() => [
|
|
56
59
|
s(u(e.label) + " Value", 1)
|
|
57
60
|
]),
|
|
58
61
|
_: 1
|
|
@@ -60,9 +63,9 @@ const T = /* @__PURE__ */ h({
|
|
|
60
63
|
]),
|
|
61
64
|
_: 1
|
|
62
65
|
}),
|
|
63
|
-
(
|
|
64
|
-
key:
|
|
65
|
-
data:
|
|
66
|
+
(i(!0), B(D, null, F(w.value, (R, o) => (i(), c(V, {
|
|
67
|
+
key: o,
|
|
68
|
+
data: R,
|
|
66
69
|
envVariables: e.envVariables,
|
|
67
70
|
environment: e.environment,
|
|
68
71
|
hasCheckboxDisabled: e.hasCheckboxDisabled,
|
|
@@ -70,16 +73,16 @@ const T = /* @__PURE__ */ h({
|
|
|
70
73
|
isReadOnly: e.isReadOnly,
|
|
71
74
|
label: e.label,
|
|
72
75
|
showUploadButton: e.showUploadButton,
|
|
73
|
-
onDeleteRow: (
|
|
74
|
-
onRemoveFile: (
|
|
75
|
-
onUpdateRow: (
|
|
76
|
-
onUploadFile: () =>
|
|
76
|
+
onDeleteRow: (r) => l("deleteRow", o),
|
|
77
|
+
onRemoveFile: (r) => l("removeFile", o),
|
|
78
|
+
onUpdateRow: (r) => h({ index: o, payload: r }),
|
|
79
|
+
onUploadFile: () => f(o)
|
|
77
80
|
}, null, 8, ["data", "envVariables", "environment", "hasCheckboxDisabled", "invalidParams", "isReadOnly", "label", "showUploadButton", "onDeleteRow", "onRemoveFile", "onUpdateRow", "onUploadFile"]))), 128))
|
|
78
81
|
]),
|
|
79
82
|
_: 1
|
|
80
|
-
}));
|
|
83
|
+
}, 8, ["columns"]));
|
|
81
84
|
}
|
|
82
85
|
});
|
|
83
86
|
export {
|
|
84
|
-
|
|
87
|
+
A as default
|
|
85
88
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationTableRow.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationTableRow.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OperationTableRow.vue.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-operation-block/components/OperationTableRow.vue"],"names":[],"mappings":"AA4NA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAEzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAShG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAK1C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,QAAQ,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0DAA0D;IAC1D,WAAW,EAAE,WAAW,CAAA;IACxB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAC;AAoBF,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;;;aAf2B,MAAM;eAAS,MAAM;mBAAa,OAAO;;;;;;;aAAzC,MAAM;eAAS,MAAM;mBAAa,OAAO;;;;;;AA+erE,wBAOG"}
|