@scalar/api-client 3.22.0 → 3.23.1
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 +25 -0
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js +1 -1
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js.map +1 -1
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.script.js +2 -2
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.script.js.map +1 -1
- package/dist/hooks/use-file-dialog.js +1 -1
- package/dist/hooks/use-file-dialog.js.map +1 -1
- package/dist/style.css +190 -144
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.script.js.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/persist-response-cookies.d.ts +3 -3
- package/dist/v2/blocks/operation-block/helpers/persist-response-cookies.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/persist-response-cookies.js +4 -4
- package/dist/v2/blocks/operation-block/helpers/persist-response-cookies.js.map +1 -1
- package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.js +1 -1
- package/dist/v2/blocks/operation-block/helpers/validate-path-parameters.js.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.script.js +13 -8
- package/dist/v2/blocks/request-block/RequestBlock.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js +3 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBodyForm.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +12 -0
- package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestParams.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestParams.vue.script.js +132 -32
- package/dist/v2/blocks/request-block/components/RequestParams.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +3 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.js +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTable.vue.script.js +13 -2
- package/dist/v2/blocks/request-block/components/RequestTable.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +3 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js +6 -2
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +10 -3
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js +10 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +1 -1
- package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js +4 -4
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js +55 -16
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts +3 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.script.js +20 -7
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTableInput.vue.script.js.map +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.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js +33 -27
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-oauth2-metadata.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-oauth2-metadata.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-oauth2-metadata.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-device-authorization.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-device-authorization.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth-device-authorization.js.map +1 -1
- 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 +2 -0
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js +2 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.js +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.js.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.script.js +4 -4
- package/dist/v2/components/code-input/CodeInput.vue.script.js.map +1 -1
- package/dist/v2/components/code-input/CodeInputLite.vue.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInputLite.vue.js +1 -1
- package/dist/v2/components/code-input/CodeInputLite.vue.js.map +1 -1
- package/dist/v2/components/code-input/CodeInputLite.vue.script.js.map +1 -1
- package/dist/v2/components/code-input/PillTooltipHost.vue.d.ts.map +1 -1
- package/dist/v2/components/code-input/PillTooltipHost.vue.js.map +1 -1
- package/dist/v2/components/code-input/PillTooltipHost.vue.script.js +4 -1
- package/dist/v2/components/code-input/PillTooltipHost.vue.script.js.map +1 -1
- package/dist/v2/components/code-input/code-variable-widget.js +1 -1
- package/dist/v2/components/code-input/code-variable-widget.js.map +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts +3 -1
- package/dist/v2/components/data-table/DataTableInput.vue.d.ts.map +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue.js +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue.js.map +1 -1
- package/dist/v2/components/data-table/DataTableInput.vue.script.js +46 -15
- package/dist/v2/components/data-table/DataTableInput.vue.script.js.map +1 -1
- package/dist/v2/constants.js +1 -1
- package/dist/v2/features/localization/index.d.ts.map +1 -1
- package/dist/v2/features/localization/index.js +2 -0
- package/dist/v2/features/localization/index.js.map +1 -1
- package/dist/v2/features/localization/locales/ar.d.ts +3 -0
- package/dist/v2/features/localization/locales/ar.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/ar.js +3 -0
- package/dist/v2/features/localization/locales/ar.js.map +1 -1
- package/dist/v2/features/localization/locales/de.d.ts +3 -0
- package/dist/v2/features/localization/locales/de.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/de.js +3 -0
- package/dist/v2/features/localization/locales/de.js.map +1 -1
- package/dist/v2/features/localization/locales/es.d.ts +3 -0
- package/dist/v2/features/localization/locales/es.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/es.js +3 -0
- package/dist/v2/features/localization/locales/es.js.map +1 -1
- package/dist/v2/features/localization/locales/fr.d.ts +3 -0
- package/dist/v2/features/localization/locales/fr.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/fr.js +3 -0
- package/dist/v2/features/localization/locales/fr.js.map +1 -1
- package/dist/v2/features/localization/locales/pt.d.ts +3 -0
- package/dist/v2/features/localization/locales/pt.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/pt.js +3 -0
- package/dist/v2/features/localization/locales/pt.js.map +1 -1
- package/dist/v2/features/localization/locales/ru.d.ts +3 -0
- package/dist/v2/features/localization/locales/ru.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/ru.js +3 -0
- package/dist/v2/features/localization/locales/ru.js.map +1 -1
- package/dist/v2/features/localization/locales/zh-cn.d.ts +3 -0
- package/dist/v2/features/localization/locales/zh-cn.d.ts.map +1 -1
- package/dist/v2/features/localization/locales/zh-cn.js +3 -0
- package/dist/v2/features/localization/locales/zh-cn.js.map +1 -1
- package/dist/v2/features/localization/locales/zh-tw.d.ts +398 -0
- package/dist/v2/features/localization/locales/zh-tw.d.ts.map +1 -0
- package/dist/v2/features/localization/locales/zh-tw.js +360 -0
- package/dist/v2/features/localization/locales/zh-tw.js.map +1 -0
- package/dist/v2/features/localization/translations.d.ts +3 -0
- package/dist/v2/features/localization/translations.d.ts.map +1 -1
- package/dist/v2/features/localization/translations.js +3 -0
- package/dist/v2/features/localization/translations.js.map +1 -1
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js.map +1 -1
- package/dist/v2/features/modal/Modal.vue.script.js +1 -0
- package/dist/v2/features/modal/Modal.vue.script.js.map +1 -1
- package/dist/v2/features/modal/index.d.ts +1 -1
- package/dist/v2/features/modal/index.d.ts.map +1 -1
- package/dist/v2/features/modal/modal-events.d.ts +3 -1
- package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
- package/dist/v2/features/modal/modal-events.js +2 -1
- package/dist/v2/features/modal/modal-events.js.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.js +4 -1
- package/dist/v2/helpers/handle-hotkeys.js.map +1 -1
- package/dist/v2/workspace-events.d.ts +4 -1
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +2 -2
- package/dist/v2/workspace-events.js.map +1 -1
- package/dist/vue-styles.css +51 -51
- package/package.json +14 -14
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts +0 -10
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/is-allowed-oauth-url.d.ts +0 -3
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/is-allowed-oauth-url.d.ts.map +0 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/is-allowed-oauth-url.js +0 -8
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/is-allowed-oauth-url.js.map +0 -1
package/dist/vue-styles.css
CHANGED
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.035));
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.ascii-art-animate .ascii-art-line[data-v-
|
|
15
|
+
.ascii-art-animate .ascii-art-line[data-v-4f827089] {
|
|
16
16
|
border-right: 1ch solid transparent;
|
|
17
17
|
animation:
|
|
18
|
-
typewriter-
|
|
18
|
+
typewriter-4f827089 4s steps(1) 1s 1 normal both,blinkTextCursor-4f827089 500ms steps(1) infinite normal;
|
|
19
19
|
}
|
|
20
|
-
@keyframes typewriter-
|
|
20
|
+
@keyframes typewriter-4f827089 {
|
|
21
21
|
from {
|
|
22
22
|
width: 0;
|
|
23
23
|
}
|
|
@@ -25,7 +25,7 @@ to {
|
|
|
25
25
|
width: 100%;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
@keyframes blinkTextCursor-
|
|
28
|
+
@keyframes blinkTextCursor-4f827089 {
|
|
29
29
|
0% {
|
|
30
30
|
border-right-color: currentColor;
|
|
31
31
|
}
|
|
@@ -159,22 +159,22 @@ to {
|
|
|
159
159
|
/*
|
|
160
160
|
Deep styling for customizing Codemirror
|
|
161
161
|
*/
|
|
162
|
-
[data-v-
|
|
162
|
+
[data-v-fce866d6] .cm-editor {
|
|
163
163
|
height: 100%;
|
|
164
164
|
outline: none;
|
|
165
165
|
padding: 0;
|
|
166
166
|
background: transparent;
|
|
167
167
|
}
|
|
168
|
-
[data-v-
|
|
168
|
+
[data-v-fce866d6] .cm-placeholder {
|
|
169
169
|
color: var(--scalar-color-3);
|
|
170
170
|
}
|
|
171
|
-
[data-v-
|
|
171
|
+
[data-v-fce866d6] .cm-content {
|
|
172
172
|
font-family: var(--scalar-font-code);
|
|
173
173
|
font-size: var(--scalar-small);
|
|
174
174
|
padding: 8px 0;
|
|
175
175
|
}
|
|
176
176
|
/* Tooltip helper */
|
|
177
|
-
[data-v-
|
|
177
|
+
[data-v-fce866d6] .cm-tooltip {
|
|
178
178
|
background: var(--scalar-background-1) !important;
|
|
179
179
|
border-radius: var(--scalar-radius);
|
|
180
180
|
box-shadow: var(--scalar-shadow-2);
|
|
@@ -182,43 +182,43 @@ to {
|
|
|
182
182
|
outline: none !important;
|
|
183
183
|
overflow: hidden !important;
|
|
184
184
|
}
|
|
185
|
-
[data-v-
|
|
185
|
+
[data-v-fce866d6] .cm-tooltip-autocomplete ul li {
|
|
186
186
|
padding: 3px 6px !important;
|
|
187
187
|
}
|
|
188
|
-
[data-v-
|
|
188
|
+
[data-v-fce866d6] .cm-completionIcon-type:after {
|
|
189
189
|
color: var(--scalar-color-3) !important;
|
|
190
190
|
}
|
|
191
|
-
[data-v-
|
|
191
|
+
[data-v-fce866d6] .cm-tooltip-autocomplete ul li[aria-selected] {
|
|
192
192
|
background: var(--scalar-background-2) !important;
|
|
193
193
|
color: var(--scalar-color-1) !important;
|
|
194
194
|
}
|
|
195
|
-
[data-v-
|
|
195
|
+
[data-v-fce866d6] .cm-tooltip-autocomplete ul {
|
|
196
196
|
padding: 6px !important;
|
|
197
197
|
position: relative;
|
|
198
198
|
}
|
|
199
|
-
[data-v-
|
|
199
|
+
[data-v-fce866d6] .cm-tooltip-autocomplete ul li:hover {
|
|
200
200
|
border-radius: 3px;
|
|
201
201
|
color: var(--scalar-color-1) !important;
|
|
202
202
|
background: var(--scalar-background-3) !important;
|
|
203
203
|
}
|
|
204
204
|
/* Disable active line highlighting */
|
|
205
|
-
[data-v-
|
|
205
|
+
[data-v-fce866d6] .cm-activeLine,[data-v-fce866d6] .cm-activeLineGutter {
|
|
206
206
|
background-color: transparent;
|
|
207
207
|
}
|
|
208
208
|
/* Color selection matching */
|
|
209
|
-
[data-v-
|
|
209
|
+
[data-v-fce866d6] .cm-selectionMatch,[data-v-fce866d6] .cm-matchingBracket {
|
|
210
210
|
border-radius: var(--scalar-radius);
|
|
211
211
|
background: var(--scalar-background-4) !important;
|
|
212
212
|
}
|
|
213
213
|
/* Color Picker Swatches */
|
|
214
|
-
[data-v-
|
|
214
|
+
[data-v-fce866d6] .cm-css-color-picker-wrapper {
|
|
215
215
|
display: inline-flex;
|
|
216
216
|
outline: 1px solid var(--scalar-background-3);
|
|
217
217
|
border-radius: 3px;
|
|
218
218
|
overflow: hidden;
|
|
219
219
|
}
|
|
220
220
|
/* Number gutter */
|
|
221
|
-
[data-v-
|
|
221
|
+
[data-v-fce866d6] .cm-gutters {
|
|
222
222
|
background-color: transparent;
|
|
223
223
|
border-right: none;
|
|
224
224
|
color: var(--scalar-color-3);
|
|
@@ -226,7 +226,7 @@ to {
|
|
|
226
226
|
line-height: 22px;
|
|
227
227
|
border-radius: 0 0 0 3px;
|
|
228
228
|
}
|
|
229
|
-
[data-v-
|
|
229
|
+
[data-v-fce866d6] .cm-gutters:before {
|
|
230
230
|
content: '';
|
|
231
231
|
position: absolute;
|
|
232
232
|
top: 2px;
|
|
@@ -236,7 +236,7 @@ to {
|
|
|
236
236
|
border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
|
|
237
237
|
background-color: var(--scalar-background-1);
|
|
238
238
|
}
|
|
239
|
-
[data-v-
|
|
239
|
+
[data-v-fce866d6] .cm-gutterElement {
|
|
240
240
|
font-family: var(--scalar-font-code) !important;
|
|
241
241
|
padding-left: 0px !important;
|
|
242
242
|
padding-right: 6px !important;
|
|
@@ -245,22 +245,22 @@ to {
|
|
|
245
245
|
justify-content: flex-end;
|
|
246
246
|
position: relative;
|
|
247
247
|
}
|
|
248
|
-
[data-v-
|
|
248
|
+
[data-v-fce866d6] .cm-lineNumbers .cm-gutterElement {
|
|
249
249
|
min-width: fit-content;
|
|
250
250
|
}
|
|
251
|
-
[data-v-
|
|
251
|
+
[data-v-fce866d6] .cm-gutter + .cm-gutter :not(.cm-foldGutter) .cm-gutterElement {
|
|
252
252
|
padding-left: 0 !important;
|
|
253
253
|
}
|
|
254
|
-
[data-v-
|
|
254
|
+
[data-v-fce866d6] .cm-scroller {
|
|
255
255
|
overflow: auto;
|
|
256
256
|
}
|
|
257
|
-
[data-v-
|
|
257
|
+
[data-v-fce866d6] .cm-lineWrapping .cm-line {
|
|
258
258
|
word-break: break-all;
|
|
259
259
|
}
|
|
260
|
-
[data-v-
|
|
260
|
+
[data-v-fce866d6] .cm-content.cm-lineWrapping {
|
|
261
261
|
white-space: pre-wrap;
|
|
262
262
|
}
|
|
263
|
-
.line-wrapping[data-v-
|
|
263
|
+
.line-wrapping[data-v-fce866d6]:focus-within .cm-content {
|
|
264
264
|
display: inline-table;
|
|
265
265
|
min-height: fit-content;
|
|
266
266
|
padding: 3px 6px;
|
|
@@ -325,13 +325,13 @@ to {
|
|
|
325
325
|
color: var(--scalar-color-1);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
.code-input-lite[data-v-
|
|
328
|
+
.code-input-lite[data-v-5e6007a2] {
|
|
329
329
|
/* Flex so the editor centres vertically in whatever height the cell gives us.
|
|
330
330
|
Font properties inherit so we adopt the surrounding typography. */
|
|
331
331
|
display: flex;
|
|
332
332
|
align-items: center;
|
|
333
333
|
}
|
|
334
|
-
.code-input-lite__editor[data-v-
|
|
334
|
+
.code-input-lite__editor[data-v-5e6007a2] {
|
|
335
335
|
/* Everything font-related inherits from the surrounding context. */
|
|
336
336
|
font: inherit;
|
|
337
337
|
letter-spacing: inherit;
|
|
@@ -353,7 +353,7 @@ to {
|
|
|
353
353
|
/* Positioning context for the absolutely positioned placeholder. */
|
|
354
354
|
position: relative;
|
|
355
355
|
}
|
|
356
|
-
.code-input-lite__editor[data-v-
|
|
356
|
+
.code-input-lite__editor[data-v-5e6007a2]::-webkit-scrollbar {
|
|
357
357
|
display: none;
|
|
358
358
|
}
|
|
359
359
|
|
|
@@ -361,7 +361,7 @@ to {
|
|
|
361
361
|
contenteditable; otherwise the caret would land after it on focus.
|
|
362
362
|
`pointer-events: none` lets clicks fall through to focus the editor.
|
|
363
363
|
Hidden on focus so it never renders on top of the text caret. */
|
|
364
|
-
.code-input-lite--empty .code-input-lite__editor[data-v-
|
|
364
|
+
.code-input-lite--empty .code-input-lite__editor[data-v-5e6007a2]:not(:focus)::before {
|
|
365
365
|
content: attr(data-placeholder);
|
|
366
366
|
color: var(--scalar-color-3);
|
|
367
367
|
pointer-events: none;
|
|
@@ -372,7 +372,7 @@ to {
|
|
|
372
372
|
display: flex;
|
|
373
373
|
align-items: center;
|
|
374
374
|
}
|
|
375
|
-
.code-input-lite--error .code-input-lite__editor[data-v-
|
|
375
|
+
.code-input-lite--error .code-input-lite__editor[data-v-5e6007a2] {
|
|
376
376
|
outline: 1px solid var(--scalar-color-red);
|
|
377
377
|
}
|
|
378
378
|
|
|
@@ -416,41 +416,41 @@ to {
|
|
|
416
416
|
background: color-mix(in srgb, var(--scalar-background-3), transparent 40%);
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
[data-v-
|
|
419
|
+
[data-v-09f26d90] .code-input-lite__editor {
|
|
420
420
|
background-color: transparent;
|
|
421
421
|
font-family: var(--scalar-font);
|
|
422
422
|
font-size: var(--scalar-small);
|
|
423
423
|
padding: 5px 8px;
|
|
424
424
|
}
|
|
425
|
-
[data-v-
|
|
425
|
+
[data-v-09f26d90] .scalar-pill:not(:last-of-type) {
|
|
426
426
|
margin-right: 0.15em;
|
|
427
427
|
}
|
|
428
|
-
[data-v-
|
|
428
|
+
[data-v-09f26d90] .scalar-pill:not(:first-of-type) {
|
|
429
429
|
margin-left: 0.5px;
|
|
430
430
|
}
|
|
431
431
|
|
|
432
|
-
[data-v-
|
|
432
|
+
[data-v-ec7e5b86] .cm-content {
|
|
433
433
|
font-size: var(--scalar-small);
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
[data-v-
|
|
436
|
+
[data-v-029a43f5] .code-input-lite__editor {
|
|
437
437
|
background-color: transparent;
|
|
438
438
|
font-family: var(--scalar-font);
|
|
439
439
|
font-size: var(--scalar-small);
|
|
440
440
|
padding: 5px 8px;
|
|
441
441
|
}
|
|
442
|
-
[data-v-
|
|
442
|
+
[data-v-029a43f5] .scalar-pill:not(:last-of-type) {
|
|
443
443
|
margin-right: 0.15em;
|
|
444
444
|
}
|
|
445
|
-
[data-v-
|
|
445
|
+
[data-v-029a43f5] .scalar-pill:not(:first-of-type) {
|
|
446
446
|
margin-left: 0.5px;
|
|
447
447
|
}
|
|
448
448
|
/* Tailwind placeholder is busted */
|
|
449
|
-
input[data-v-
|
|
449
|
+
input[data-v-029a43f5]::placeholder {
|
|
450
450
|
color: var(--scalar-color-3);
|
|
451
451
|
}
|
|
452
452
|
/* we want our inputs to look like a password input but not be one */
|
|
453
|
-
.scalar-password-input[data-v-
|
|
453
|
+
.scalar-password-input[data-v-029a43f5] {
|
|
454
454
|
text-security: disc;
|
|
455
455
|
-webkit-text-security: disc;
|
|
456
456
|
-moz-text-security: disc;
|
|
@@ -478,20 +478,20 @@ input[data-v-ce270af2]::placeholder {
|
|
|
478
478
|
scrollbar-width: none;
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
.request-section-content[data-v-
|
|
481
|
+
.request-section-content[data-v-f9196c85] {
|
|
482
482
|
--scalar-border-width: 0.5px;
|
|
483
483
|
}
|
|
484
|
-
.request-section-content-filter[data-v-
|
|
484
|
+
.request-section-content-filter[data-v-f9196c85] {
|
|
485
485
|
box-shadow: 0 -10px 0 10px var(--scalar-background-1);
|
|
486
486
|
}
|
|
487
|
-
.request-item:focus-within .request-meta-buttons[data-v-
|
|
487
|
+
.request-item:focus-within .request-meta-buttons[data-v-f9196c85] {
|
|
488
488
|
opacity: 1;
|
|
489
489
|
}
|
|
490
|
-
.group-hover-input[data-v-
|
|
490
|
+
.group-hover-input[data-v-f9196c85] {
|
|
491
491
|
border-width: var(--scalar-border-width);
|
|
492
492
|
border-color: transparent;
|
|
493
493
|
}
|
|
494
|
-
.group:hover .group-hover-input[data-v-
|
|
494
|
+
.group:hover .group-hover-input[data-v-f9196c85] {
|
|
495
495
|
background: color-mix(
|
|
496
496
|
in srgb,
|
|
497
497
|
var(--scalar-background-1),
|
|
@@ -499,25 +499,25 @@ input[data-v-ce270af2]::placeholder {
|
|
|
499
499
|
);
|
|
500
500
|
border-color: var(--scalar-border-color);
|
|
501
501
|
}
|
|
502
|
-
.group-hover-input[data-v-
|
|
502
|
+
.group-hover-input[data-v-f9196c85]:focus {
|
|
503
503
|
background: transparent !important;
|
|
504
504
|
border-color: var(--scalar-border-color) !important;
|
|
505
505
|
}
|
|
506
506
|
|
|
507
|
-
[data-v-
|
|
507
|
+
[data-v-973d48ca] .cm-editor {
|
|
508
508
|
background-color: transparent;
|
|
509
509
|
font-size: var(--scalar-small);
|
|
510
510
|
outline: none;
|
|
511
511
|
}
|
|
512
|
-
[data-v-
|
|
512
|
+
[data-v-973d48ca] .cm-gutters {
|
|
513
513
|
background-color: var(--scalar-background-1);
|
|
514
514
|
border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
|
|
515
515
|
}
|
|
516
|
-
[data-v-
|
|
516
|
+
[data-v-973d48ca] .cm-scroller {
|
|
517
517
|
overflow: auto;
|
|
518
518
|
min-width: 100%;
|
|
519
519
|
}
|
|
520
|
-
[data-v-
|
|
520
|
+
[data-v-973d48ca] .cm-lineWrapping .cm-line {
|
|
521
521
|
word-break: break-all;
|
|
522
522
|
}
|
|
523
523
|
|
|
@@ -703,11 +703,11 @@ to {
|
|
|
703
703
|
--scalar-address-bar-bg: var(--scalar-background-1);
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
.app-exit-button[data-v-
|
|
706
|
+
.app-exit-button[data-v-3a29d7a0] {
|
|
707
707
|
color: white;
|
|
708
708
|
background: rgba(0, 0, 0, 0.1);
|
|
709
709
|
}
|
|
710
|
-
.app-exit-button[data-v-
|
|
710
|
+
.app-exit-button[data-v-3a29d7a0]:hover {
|
|
711
711
|
background: rgba(255, 255, 255, 0.1);
|
|
712
712
|
}
|
|
713
713
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "3.
|
|
21
|
+
"version": "3.23.1",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=22"
|
|
24
24
|
},
|
|
@@ -305,22 +305,22 @@
|
|
|
305
305
|
"dependencies": {
|
|
306
306
|
"@headlessui/tailwindcss": "^0.2.2",
|
|
307
307
|
"@headlessui/vue": "1.7.23",
|
|
308
|
-
"@scalar/blocks": "0.5.
|
|
309
|
-
"@scalar/components": "0.
|
|
310
|
-
"@scalar/helpers": "0.16.
|
|
311
|
-
"@scalar/icons": "0.7.
|
|
312
|
-
"@scalar/localization": "0.2.
|
|
313
|
-
"@scalar/oas-utils": "0.20.
|
|
314
|
-
"@scalar/openapi-types": "0.9.
|
|
315
|
-
"@scalar/sidebar": "0.
|
|
316
|
-
"@scalar/snippetz": "0.10.
|
|
317
|
-
"@scalar/themes": "0.19.
|
|
308
|
+
"@scalar/blocks": "0.5.3",
|
|
309
|
+
"@scalar/components": "0.32.0",
|
|
310
|
+
"@scalar/helpers": "0.16.4",
|
|
311
|
+
"@scalar/icons": "0.7.7",
|
|
312
|
+
"@scalar/localization": "0.2.8",
|
|
313
|
+
"@scalar/oas-utils": "0.20.13",
|
|
314
|
+
"@scalar/openapi-types": "0.9.8",
|
|
315
|
+
"@scalar/sidebar": "0.12.1",
|
|
316
|
+
"@scalar/snippetz": "0.10.9",
|
|
317
|
+
"@scalar/themes": "0.19.2",
|
|
318
318
|
"@scalar/typebox": "^0.1.3",
|
|
319
|
-
"@scalar/types": "0.
|
|
319
|
+
"@scalar/types": "0.24.0",
|
|
320
320
|
"@scalar/use-codemirror": "0.14.15",
|
|
321
|
-
"@scalar/use-hooks": "0.4.
|
|
321
|
+
"@scalar/use-hooks": "0.4.21",
|
|
322
322
|
"@scalar/use-toasts": "0.10.5",
|
|
323
|
-
"@scalar/workspace-store": "0.68.
|
|
323
|
+
"@scalar/workspace-store": "0.68.4",
|
|
324
324
|
"@vueuse/core": "13.9.0",
|
|
325
325
|
"@vueuse/integrations": "13.9.0",
|
|
326
326
|
"focus-trap": "^7.8.0",
|
package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { SecurityScheme } from '@scalar/types/entities';
|
|
2
|
-
import type { AuthStore } from '@scalar/workspace-store/entities/auth';
|
|
3
|
-
import type { DeepPartial } from '@scalar/workspace-store/helpers/overrides-proxy';
|
|
4
|
-
import type { SecuritySchemeObjectSecret } from '@scalar/workspace-store/request-example';
|
|
5
|
-
import type { SecuritySchemeObject } from '@scalar/workspace-store/schemas/v3.2/strict/openapi-document';
|
|
6
|
-
/** A combined scheme that includes both the auth store secrets and a deep partial of the config auth */
|
|
7
|
-
export type ConfigAuthScheme = SecuritySchemeObject & DeepPartial<SecurityScheme>;
|
|
8
|
-
/** Extract the secrets from the config and the auth store */
|
|
9
|
-
export declare const extractSecuritySchemeSecrets: (scheme: SecuritySchemeObject & DeepPartial<SecurityScheme>, authStore: AuthStore, name: string, documentSlug: string) => SecuritySchemeObjectSecret;
|
|
10
|
-
//# sourceMappingURL=extract-security-scheme-secrets.d.ts.map
|
package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extract-security-scheme-secrets.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,KAAK,EAAE,SAAS,EAA2C,MAAM,uCAAuC,CAAA;AAC/G,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iDAAiD,CAAA;AAClF,OAAO,KAAK,EAUV,0BAA0B,EAC3B,MAAM,yCAAyC,CAAA;AAShD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8DAA8D,CAAA;AAExG,wGAAwG;AACxG,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG,WAAW,CAAC,cAAc,CAAC,CAAA;AAqMjF,6DAA6D;AAC7D,eAAO,MAAM,4BAA4B,GAEvC,QAAQ,oBAAoB,GAAG,WAAW,CAAC,cAAc,CAAC,EAC1D,WAAW,SAAS,EACpB,MAAM,MAAM,EACZ,cAAc,MAAM,KACnB,0BA4DF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-allowed-oauth-url.d.ts","sourceRoot":"","sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/helpers/is-allowed-oauth-url.ts"],"names":[],"mappings":"AAEA,8FAA8F;AAC9F,eAAO,MAAM,iBAAiB,GAAI,KAAK,GAAG,KAAG,OACoC,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { isLocalUrl } from "@scalar/helpers/url/is-local-url";
|
|
2
|
-
//#region src/v2/blocks/scalar-auth-selector-block/helpers/is-allowed-oauth-url.ts
|
|
3
|
-
/** Allows HTTPS, with HTTP reserved for local development hosts and reserved test domains. */
|
|
4
|
-
var isAllowedOAuthUrl = (url) => url.protocol === "https:" || url.protocol === "http:" && isLocalUrl(url.href);
|
|
5
|
-
//#endregion
|
|
6
|
-
export { isAllowedOAuthUrl };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=is-allowed-oauth-url.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-allowed-oauth-url.js","names":[],"sources":["../../../../../src/v2/blocks/scalar-auth-selector-block/helpers/is-allowed-oauth-url.ts"],"sourcesContent":["import { isLocalUrl } from '@scalar/helpers/url/is-local-url'\n\n/** Allows HTTPS, with HTTP reserved for local development hosts and reserved test domains. */\nexport const isAllowedOAuthUrl = (url: URL): boolean =>\n url.protocol === 'https:' || (url.protocol === 'http:' && isLocalUrl(url.href))\n"],"mappings":";;;AAGA,IAAa,qBAAqB,QAChC,IAAI,aAAa,YAAa,IAAI,aAAa,WAAW,WAAW,IAAI,IAAI"}
|