@scalar/api-reference 1.55.3 → 1.57.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 +82 -0
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts +2 -0
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js +9 -7
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.d.ts +4 -2
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.script.js +9 -4
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +2 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js +7 -3
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/{OpenApiVersion.vue.d.ts → SpecificationVersion.vue.d.ts} +5 -2
- package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.d.ts.map +1 -0
- package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.js +7 -0
- package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.js.map +1 -0
- package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.script.js +23 -0
- package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.script.js.map +1 -0
- package/dist/browser/standalone.js +275 -261
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.d.ts +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.d.ts.map +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.js.map +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.script.js.map +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts.map +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.js +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.js.map +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.script.js.map +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +1 -1
- package/dist/components/ApiReference.vue.js.map +1 -1
- package/dist/components/ApiReference.vue.script.js +20 -8
- package/dist/components/ApiReference.vue.script.js.map +1 -1
- package/dist/components/Badge/Badge.vue.js +1 -1
- package/dist/components/Badge/Badge.vue.js.map +1 -1
- package/dist/components/Badge/Badge.vue.script.js.map +1 -1
- package/dist/components/Content/Auth/Auth.vue.d.ts.map +1 -1
- package/dist/components/Content/Auth/Auth.vue.js.map +1 -1
- package/dist/components/Content/Auth/Auth.vue.script.js +3 -2
- package/dist/components/Content/Auth/Auth.vue.script.js.map +1 -1
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js.map +1 -1
- package/dist/components/Content/Content.vue.script.js +23 -9
- package/dist/components/Content/Content.vue.script.js.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +2 -3
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.js.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.d.ts +2 -0
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +1 -1
- package/dist/components/Content/Schema/Schema.vue.js.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.script.js +5 -0
- package/dist/components/Content/Schema/Schema.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.script.js +5 -3
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.script.js.map +1 -1
- package/dist/components/MobileHeader.vue.js.map +1 -1
- package/dist/components/MobileHeader.vue.script.js +1 -1
- package/dist/components/MobileHeader.vue.script.js.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.script.js +1 -0
- package/dist/features/Operation/components/RequestBody.vue.script.js.map +1 -1
- package/dist/features/Search/helpers/create-fuse-instance.d.ts.map +1 -1
- package/dist/features/Search/helpers/create-fuse-instance.js +20 -12
- package/dist/features/Search/helpers/create-fuse-instance.js.map +1 -1
- package/dist/features/Search/helpers/create-search-index.d.ts.map +1 -1
- package/dist/features/Search/helpers/create-search-index.js +18 -8
- package/dist/features/Search/helpers/create-search-index.js.map +1 -1
- package/dist/features/Search/types.d.ts +6 -0
- package/dist/features/Search/types.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.d.ts +2 -2
- package/dist/helpers/map-config-plugins.d.ts.map +1 -1
- package/dist/helpers/map-config-plugins.js +9 -1
- package/dist/helpers/map-config-plugins.js.map +1 -1
- package/dist/helpers/normalize-configurations.d.ts.map +1 -1
- package/dist/helpers/normalize-configurations.js +6 -6
- package/dist/helpers/normalize-configurations.js.map +1 -1
- package/dist/helpers/openapi.d.ts +34 -5
- package/dist/helpers/openapi.d.ts.map +1 -1
- package/dist/helpers/openapi.js +108 -66
- package/dist/helpers/openapi.js.map +1 -1
- package/dist/standalone/lib/html-api.d.ts.map +1 -1
- package/dist/standalone/lib/html-api.js +10 -4
- package/dist/standalone/lib/html-api.js.map +1 -1
- package/dist/style.css +367 -1782
- package/dist/vue-styles.css +83 -83
- package/package.json +17 -15
- package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.d.ts.map +0 -1
- package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.js +0 -7
- package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.js.map +0 -1
- package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.script.js +0 -19
- package/dist/blocks/scalar-info-block/components/OpenApiVersion.vue.script.js.map +0 -1
package/dist/vue-styles.css
CHANGED
|
@@ -142,7 +142,7 @@ to {
|
|
|
142
142
|
margin-top: 8px;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.badge[data-v-
|
|
145
|
+
:where(.badge[data-v-fb946bb8]) {
|
|
146
146
|
color: var(--badge-text-color, var(--scalar-color-2));
|
|
147
147
|
font-size: var(--scalar-mini);
|
|
148
148
|
background: var(--badge-background-color, var(--scalar-background-2));
|
|
@@ -152,35 +152,35 @@ to {
|
|
|
152
152
|
border-radius: 12px;
|
|
153
153
|
display: inline-block;
|
|
154
154
|
}
|
|
155
|
-
.badge.text-orange[data-v-
|
|
155
|
+
:where(.badge).text-orange[data-v-fb946bb8] {
|
|
156
156
|
background: color-mix(in srgb, var(--scalar-color-orange), transparent 90%);
|
|
157
157
|
border: transparent;
|
|
158
158
|
}
|
|
159
|
-
.badge.text-yellow[data-v-
|
|
159
|
+
:where(.badge).text-yellow[data-v-fb946bb8] {
|
|
160
160
|
background: color-mix(in srgb, var(--scalar-color-yellow), transparent 90%);
|
|
161
161
|
border: transparent;
|
|
162
162
|
}
|
|
163
|
-
.badge.text-red[data-v-
|
|
163
|
+
:where(.badge).text-red[data-v-fb946bb8] {
|
|
164
164
|
background: color-mix(in srgb, var(--scalar-color-red), transparent 90%);
|
|
165
165
|
border: transparent;
|
|
166
166
|
}
|
|
167
|
-
.badge.text-purple[data-v-
|
|
167
|
+
:where(.badge).text-purple[data-v-fb946bb8] {
|
|
168
168
|
background: color-mix(in srgb, var(--scalar-color-purple), transparent 90%);
|
|
169
169
|
border: transparent;
|
|
170
170
|
}
|
|
171
|
-
.badge.text-green[data-v-
|
|
171
|
+
:where(.badge).text-green[data-v-fb946bb8] {
|
|
172
172
|
background: color-mix(in srgb, var(--scalar-color-green), transparent 90%);
|
|
173
173
|
border: transparent;
|
|
174
174
|
}
|
|
175
175
|
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
|
|
176
176
|
@layer properties {
|
|
177
177
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
178
|
-
[data-v-
|
|
178
|
+
[data-v-b258a15f],[data-v-b258a15f]:before,[data-v-b258a15f]:after,[data-v-b258a15f]::backdrop {
|
|
179
179
|
--tw-outline-style: solid;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
.download-container[data-v-
|
|
183
|
+
.download-container[data-v-b258a15f] {
|
|
184
184
|
z-index: 1;
|
|
185
185
|
flex-direction: column;
|
|
186
186
|
gap: 16px;
|
|
@@ -189,7 +189,7 @@ to {
|
|
|
189
189
|
display: flex;
|
|
190
190
|
position: relative;
|
|
191
191
|
}
|
|
192
|
-
.download-container[data-v-
|
|
192
|
+
.download-container[data-v-b258a15f]:has(:focus-visible):before, .download-container.download-both[data-v-b258a15f]:hover:before {
|
|
193
193
|
content: "";
|
|
194
194
|
border-radius: var(--scalar-radius-lg);
|
|
195
195
|
width: calc(100% + 24px);
|
|
@@ -201,7 +201,7 @@ to {
|
|
|
201
201
|
top: -11px;
|
|
202
202
|
left: -12px;
|
|
203
203
|
}
|
|
204
|
-
.download-button[data-v-
|
|
204
|
+
.download-button[data-v-b258a15f] {
|
|
205
205
|
color: var(--scalar-link-color);
|
|
206
206
|
cursor: pointer;
|
|
207
207
|
outline: none;
|
|
@@ -214,7 +214,7 @@ to {
|
|
|
214
214
|
position: relative;
|
|
215
215
|
white-space: nowrap !important;
|
|
216
216
|
}
|
|
217
|
-
.download-button[data-v-
|
|
217
|
+
.download-button[data-v-b258a15f]:before {
|
|
218
218
|
border-radius: var(--scalar-radius);
|
|
219
219
|
content: "";
|
|
220
220
|
width: calc(100% + 18px);
|
|
@@ -223,20 +223,20 @@ to {
|
|
|
223
223
|
top: -8px;
|
|
224
224
|
left: -9px;
|
|
225
225
|
}
|
|
226
|
-
.download-button[data-v-
|
|
226
|
+
.download-button[data-v-b258a15f]:last-of-type:before {
|
|
227
227
|
width: calc(100% + 15px);
|
|
228
228
|
}
|
|
229
|
-
.download-button[data-v-
|
|
229
|
+
.download-button[data-v-b258a15f]:hover:before {
|
|
230
230
|
background: var(--scalar-background-2);
|
|
231
231
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
232
232
|
}
|
|
233
|
-
.download-button[data-v-
|
|
233
|
+
.download-button[data-v-b258a15f]:focus-visible:before {
|
|
234
234
|
background: var(--scalar-background-2);
|
|
235
235
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
236
236
|
outline-style: var(--tw-outline-style);
|
|
237
237
|
outline-width: 1px;
|
|
238
238
|
}
|
|
239
|
-
.download-button span[data-v-
|
|
239
|
+
.download-button span[data-v-b258a15f] {
|
|
240
240
|
--font-color: var(--scalar-link-color, var(--scalar-color-accent));
|
|
241
241
|
--font-visited: var(--scalar-link-color-visited, var(--scalar-color-2));
|
|
242
242
|
-webkit-text-decoration: var(--scalar-text-decoration);
|
|
@@ -251,20 +251,20 @@ to {
|
|
|
251
251
|
text-decoration-color: var(--font-color);
|
|
252
252
|
}
|
|
253
253
|
@supports (color: color-mix(in lab, red, red)) {
|
|
254
|
-
.download-button span[data-v-
|
|
254
|
+
.download-button span[data-v-b258a15f] {
|
|
255
255
|
-webkit-text-decoration-color: color-mix(in srgb, var(--font-color) 30%, transparent);
|
|
256
256
|
-webkit-text-decoration-color: color-mix(in srgb, var(--font-color) 30%, transparent);
|
|
257
257
|
text-decoration-color: color-mix(in srgb, var(--font-color) 30%, transparent);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
|
-
.download-button span[data-v-
|
|
260
|
+
.download-button span[data-v-b258a15f] {
|
|
261
261
|
z-index: 1;
|
|
262
262
|
align-items: center;
|
|
263
263
|
gap: 6px;
|
|
264
264
|
line-height: 1.625;
|
|
265
265
|
display: flex;
|
|
266
266
|
}
|
|
267
|
-
.download-button:hover span[data-v-
|
|
267
|
+
.download-button:hover span[data-v-b258a15f] {
|
|
268
268
|
-webkit-text-decoration-color: var(--scalar-color-1, currentColor);
|
|
269
269
|
-webkit-text-decoration-color: var(--scalar-color-1, currentColor);
|
|
270
270
|
text-decoration-color: var(--scalar-color-1, currentColor);
|
|
@@ -274,7 +274,7 @@ to {
|
|
|
274
274
|
-webkit-text-decoration: var(--scalar-text-decoration-hover);
|
|
275
275
|
text-decoration: var(--scalar-text-decoration-hover);
|
|
276
276
|
}
|
|
277
|
-
.download-button[data-v-
|
|
277
|
+
.download-button[data-v-b258a15f]:nth-of-type(2) {
|
|
278
278
|
clip-path: inset(50%);
|
|
279
279
|
white-space: nowrap;
|
|
280
280
|
border-width: 0;
|
|
@@ -285,7 +285,7 @@ to {
|
|
|
285
285
|
position: absolute;
|
|
286
286
|
overflow: hidden;
|
|
287
287
|
}
|
|
288
|
-
.download-container:has(:focus-visible) .download-button[data-v-
|
|
288
|
+
.download-container:has(:focus-visible) .download-button[data-v-b258a15f]:nth-of-type(2), .download-container:hover .download-button[data-v-b258a15f]:nth-of-type(2) {
|
|
289
289
|
clip-path: none;
|
|
290
290
|
white-space: normal;
|
|
291
291
|
width: auto;
|
|
@@ -296,15 +296,15 @@ to {
|
|
|
296
296
|
top: 42px;
|
|
297
297
|
overflow: visible;
|
|
298
298
|
}
|
|
299
|
-
.extension[data-v-
|
|
299
|
+
.extension[data-v-b258a15f] {
|
|
300
300
|
z-index: 1;
|
|
301
301
|
background: var(--scalar-link-color, var(--scalar-color-accent));
|
|
302
302
|
color: var(--scalar-background-1);
|
|
303
303
|
}
|
|
304
|
-
.download-container:has(:focus-visible) .extension[data-v-
|
|
304
|
+
.download-container:has(:focus-visible) .extension[data-v-b258a15f], .download-container:hover .extension[data-v-b258a15f] {
|
|
305
305
|
opacity: 1;
|
|
306
306
|
}
|
|
307
|
-
.download-link[data-v-
|
|
307
|
+
.download-link[data-v-b258a15f] {
|
|
308
308
|
--font-color: var(--scalar-link-color, var(--scalar-color-accent));
|
|
309
309
|
--font-visited: var(--scalar-link-color-visited, var(--scalar-color-2));
|
|
310
310
|
-webkit-text-decoration: var(--scalar-text-decoration);
|
|
@@ -319,13 +319,13 @@ to {
|
|
|
319
319
|
text-decoration-color: var(--font-color);
|
|
320
320
|
}
|
|
321
321
|
@supports (color: color-mix(in lab, red, red)) {
|
|
322
|
-
.download-link[data-v-
|
|
322
|
+
.download-link[data-v-b258a15f] {
|
|
323
323
|
-webkit-text-decoration-color: color-mix(in srgb, var(--font-color) 30%, transparent);
|
|
324
324
|
-webkit-text-decoration-color: color-mix(in srgb, var(--font-color) 30%, transparent);
|
|
325
325
|
text-decoration-color: color-mix(in srgb, var(--font-color) 30%, transparent);
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
.download-link[data-v-
|
|
328
|
+
.download-link[data-v-b258a15f]:hover {
|
|
329
329
|
--font-color: var(--scalar-link-color, var(--scalar-color-accent));
|
|
330
330
|
-webkit-text-decoration-color: var(--font-color);
|
|
331
331
|
-webkit-text-decoration-color: var(--font-color);
|
|
@@ -530,7 +530,7 @@ to {
|
|
|
530
530
|
display: inline;
|
|
531
531
|
}
|
|
532
532
|
|
|
533
|
-
.sticky-cards[data-v-
|
|
533
|
+
.sticky-cards[data-v-6c24d687] {
|
|
534
534
|
display: flex;
|
|
535
535
|
flex-direction: column;
|
|
536
536
|
position: sticky;
|
|
@@ -605,14 +605,14 @@ to {
|
|
|
605
605
|
color: var(--scalar-color-1);
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
-
.error[data-v-
|
|
608
|
+
.error[data-v-c988b726] {
|
|
609
609
|
background-color: var(--scalar-color-red);
|
|
610
610
|
}
|
|
611
|
-
.schema-card[data-v-
|
|
611
|
+
.schema-card[data-v-c988b726] {
|
|
612
612
|
font-size: var(--scalar-font-size-4);
|
|
613
613
|
color: var(--scalar-color-1);
|
|
614
614
|
}
|
|
615
|
-
.schema-card-title[data-v-
|
|
615
|
+
.schema-card-title[data-v-c988b726] {
|
|
616
616
|
height: var(--schema-title-height);
|
|
617
617
|
|
|
618
618
|
padding: 6px 8px;
|
|
@@ -626,48 +626,48 @@ to {
|
|
|
626
626
|
font-size: var(--scalar-mini);
|
|
627
627
|
border-bottom: var(--scalar-border-width) solid transparent;
|
|
628
628
|
}
|
|
629
|
-
button.schema-card-title[data-v-
|
|
629
|
+
button.schema-card-title[data-v-c988b726] {
|
|
630
630
|
cursor: pointer;
|
|
631
631
|
}
|
|
632
|
-
button.schema-card-title[data-v-
|
|
632
|
+
button.schema-card-title[data-v-c988b726]:hover {
|
|
633
633
|
color: var(--scalar-color-1);
|
|
634
634
|
}
|
|
635
|
-
.schema-card-title-icon--open[data-v-
|
|
635
|
+
.schema-card-title-icon--open[data-v-c988b726] {
|
|
636
636
|
transform: rotate(45deg);
|
|
637
637
|
}
|
|
638
|
-
.schema-properties-open > .schema-card-title[data-v-
|
|
638
|
+
.schema-properties-open > .schema-card-title[data-v-c988b726] {
|
|
639
639
|
border-bottom-left-radius: 0;
|
|
640
640
|
border-bottom-right-radius: 0;
|
|
641
641
|
border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
642
642
|
}
|
|
643
|
-
.schema-properties-open > .schema-properties[data-v-
|
|
643
|
+
.schema-properties-open > .schema-properties[data-v-c988b726] {
|
|
644
644
|
width: fit-content;
|
|
645
645
|
}
|
|
646
|
-
.schema-card-description[data-v-
|
|
646
|
+
.schema-card-description[data-v-c988b726] {
|
|
647
647
|
color: var(--scalar-color-2);
|
|
648
648
|
}
|
|
649
|
-
.schema-card-description + .schema-properties[data-v-
|
|
649
|
+
.schema-card-description + .schema-properties[data-v-c988b726] {
|
|
650
650
|
width: fit-content;
|
|
651
651
|
}
|
|
652
|
-
.schema-card-description + .schema-properties[data-v-
|
|
652
|
+
.schema-card-description + .schema-properties[data-v-c988b726] {
|
|
653
653
|
margin-top: 8px;
|
|
654
654
|
}
|
|
655
655
|
.schema-card--level-0:nth-of-type(1)
|
|
656
|
-
> .schema-card-description[data-v-
|
|
656
|
+
> .schema-card-description[data-v-c988b726]:has(+ .schema-properties) {
|
|
657
657
|
margin-bottom: -8px;
|
|
658
658
|
padding-bottom: 8px;
|
|
659
659
|
border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
660
660
|
}
|
|
661
661
|
.schema-card--level-0
|
|
662
662
|
~ .schema-card--level-0
|
|
663
|
-
> .schema-card-description[data-v-
|
|
663
|
+
> .schema-card-description[data-v-c988b726]:has(+ .schema-properties) {
|
|
664
664
|
padding-top: 8px;
|
|
665
665
|
}
|
|
666
|
-
.schema-properties-open.schema-properties[data-v-
|
|
667
|
-
.schema-properties-open > .schema-card--open[data-v-
|
|
666
|
+
.schema-properties-open.schema-properties[data-v-c988b726],
|
|
667
|
+
.schema-properties-open > .schema-card--open[data-v-c988b726] {
|
|
668
668
|
width: 100%;
|
|
669
669
|
}
|
|
670
|
-
.schema-properties[data-v-
|
|
670
|
+
.schema-properties[data-v-c988b726] {
|
|
671
671
|
display: flex;
|
|
672
672
|
flex-direction: column;
|
|
673
673
|
|
|
@@ -675,63 +675,63 @@ button.schema-card-title[data-v-29793afe]:hover {
|
|
|
675
675
|
border-radius: var(--scalar-radius-lg);
|
|
676
676
|
width: fit-content;
|
|
677
677
|
}
|
|
678
|
-
.schema-properties-name[data-v-
|
|
678
|
+
.schema-properties-name[data-v-c988b726] {
|
|
679
679
|
width: 100%;
|
|
680
680
|
}
|
|
681
|
-
.schema-properties .schema-properties[data-v-
|
|
681
|
+
.schema-properties .schema-properties[data-v-c988b726] {
|
|
682
682
|
border-radius: 13.5px;
|
|
683
683
|
}
|
|
684
|
-
.schema-properties .schema-properties.schema-properties-open[data-v-
|
|
684
|
+
.schema-properties .schema-properties.schema-properties-open[data-v-c988b726] {
|
|
685
685
|
border-radius: var(--scalar-radius-lg);
|
|
686
686
|
}
|
|
687
|
-
.schema-properties-open[data-v-
|
|
687
|
+
.schema-properties-open[data-v-c988b726] {
|
|
688
688
|
width: 100%;
|
|
689
689
|
}
|
|
690
|
-
.schema-card--compact[data-v-
|
|
690
|
+
.schema-card--compact[data-v-c988b726] {
|
|
691
691
|
align-self: flex-start;
|
|
692
692
|
}
|
|
693
|
-
.schema-card--compact.schema-card--open[data-v-
|
|
693
|
+
.schema-card--compact.schema-card--open[data-v-c988b726] {
|
|
694
694
|
align-self: initial;
|
|
695
695
|
}
|
|
696
|
-
.schema-card-title--compact[data-v-
|
|
696
|
+
.schema-card-title--compact[data-v-c988b726] {
|
|
697
697
|
color: var(--scalar-color-2);
|
|
698
698
|
padding: 6px 10px 6px 8px;
|
|
699
699
|
height: auto;
|
|
700
700
|
border-bottom: none;
|
|
701
701
|
}
|
|
702
|
-
.schema-card-title--compact > .schema-card-title-icon[data-v-
|
|
702
|
+
.schema-card-title--compact > .schema-card-title-icon[data-v-c988b726] {
|
|
703
703
|
margin: 0;
|
|
704
704
|
}
|
|
705
|
-
.schema-card-title--compact > .schema-card-title-icon--open[data-v-
|
|
705
|
+
.schema-card-title--compact > .schema-card-title-icon--open[data-v-c988b726] {
|
|
706
706
|
transform: rotate(45deg);
|
|
707
707
|
}
|
|
708
|
-
.schema-properties-open > .schema-card-title--compact[data-v-
|
|
708
|
+
.schema-properties-open > .schema-card-title--compact[data-v-c988b726] {
|
|
709
709
|
position: static;
|
|
710
710
|
}
|
|
711
711
|
.property--level-0
|
|
712
712
|
> .schema-properties
|
|
713
713
|
> .schema-card--level-0
|
|
714
|
-
> .schema-properties[data-v-
|
|
714
|
+
> .schema-properties[data-v-c988b726] {
|
|
715
715
|
border: none;
|
|
716
716
|
}
|
|
717
717
|
.property--level-0
|
|
718
718
|
.schema-card--level-0:not(.schema-card--compact)
|
|
719
|
-
.property--level-1[data-v-
|
|
719
|
+
.property--level-1[data-v-c988b726] {
|
|
720
720
|
padding: 0 0 8px;
|
|
721
721
|
}
|
|
722
722
|
:not(.composition-panel)
|
|
723
723
|
> .schema-card--compact.schema-card--level-0
|
|
724
|
-
> .schema-properties[data-v-
|
|
724
|
+
> .schema-properties[data-v-c988b726] {
|
|
725
725
|
border: none;
|
|
726
726
|
}
|
|
727
|
-
[data-v-
|
|
727
|
+
[data-v-c988b726] .schema-card-description p {
|
|
728
728
|
font-size: var(--scalar-small, var(--scalar-paragraph));
|
|
729
729
|
color: var(--scalar-color-2);
|
|
730
730
|
margin-bottom: 0;
|
|
731
731
|
display: block;
|
|
732
732
|
margin-bottom: 6px;
|
|
733
733
|
}
|
|
734
|
-
.children .schema-card-description[data-v-
|
|
734
|
+
.children .schema-card-description[data-v-c988b726]:first-of-type {
|
|
735
735
|
padding-top: 0;
|
|
736
736
|
}
|
|
737
737
|
|
|
@@ -1671,10 +1671,10 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1671
1671
|
border-radius: var(--scalar-radius);
|
|
1672
1672
|
}
|
|
1673
1673
|
|
|
1674
|
-
.request-body[data-v-
|
|
1674
|
+
.request-body[data-v-e475e108] {
|
|
1675
1675
|
margin-top: 24px;
|
|
1676
1676
|
}
|
|
1677
|
-
.request-body-header[data-v-
|
|
1677
|
+
.request-body-header[data-v-e475e108] {
|
|
1678
1678
|
display: flex;
|
|
1679
1679
|
align-items: center;
|
|
1680
1680
|
justify-content: space-between;
|
|
@@ -1682,7 +1682,7 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1682
1682
|
border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
1683
1683
|
flex-flow: wrap;
|
|
1684
1684
|
}
|
|
1685
|
-
.request-body-title[data-v-
|
|
1685
|
+
.request-body-title[data-v-e475e108] {
|
|
1686
1686
|
display: flex;
|
|
1687
1687
|
align-items: center;
|
|
1688
1688
|
gap: 8px;
|
|
@@ -1690,7 +1690,7 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1690
1690
|
font-weight: var(--scalar-semibold);
|
|
1691
1691
|
color: var(--scalar-color-1);
|
|
1692
1692
|
}
|
|
1693
|
-
.request-body-required[data-v-
|
|
1693
|
+
.request-body-required[data-v-e475e108] {
|
|
1694
1694
|
font-size: var(--scalar-micro);
|
|
1695
1695
|
color: var(--scalar-color-orange);
|
|
1696
1696
|
font-weight: normal;
|
|
@@ -1699,21 +1699,21 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1699
1699
|
padding: 2px 8px;
|
|
1700
1700
|
height: 20px;
|
|
1701
1701
|
}
|
|
1702
|
-
.request-body-description[data-v-
|
|
1702
|
+
.request-body-description[data-v-e475e108] {
|
|
1703
1703
|
margin-top: 6px;
|
|
1704
1704
|
font-size: var(--scalar-small);
|
|
1705
1705
|
width: 100%;
|
|
1706
1706
|
}
|
|
1707
1707
|
.request-body-header
|
|
1708
|
-
+ .request-body-schema[data-v-
|
|
1708
|
+
+ .request-body-schema[data-v-e475e108]:has(> .schema-card > .schema-card-description),
|
|
1709
1709
|
.request-body-header
|
|
1710
|
-
+ .request-body-schema[data-v-
|
|
1710
|
+
+ .request-body-schema[data-v-e475e108]:has(
|
|
1711
1711
|
> .schema-card > .schema-properties > * > .property--level-0
|
|
1712
1712
|
) {
|
|
1713
1713
|
/** Add a bit of space between the heading border and the schema description or properties */
|
|
1714
1714
|
padding-top: 8px;
|
|
1715
1715
|
}
|
|
1716
|
-
.request-body-description[data-v-
|
|
1716
|
+
.request-body-description[data-v-e475e108] .markdown * {
|
|
1717
1717
|
color: var(--scalar-color-2) !important;
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
@@ -2422,13 +2422,13 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
2422
2422
|
}
|
|
2423
2423
|
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
|
|
2424
2424
|
@media (max-width: 1000px) {
|
|
2425
|
-
.agent-scalar.agent-scalar[data-v-
|
|
2425
|
+
.agent-scalar.agent-scalar[data-v-a9f22fa8] {
|
|
2426
2426
|
border-top-left-radius: var(--scalar-radius-lg);
|
|
2427
2427
|
border-top-right-radius: var(--scalar-radius-lg);
|
|
2428
2428
|
inset-inline: 0;
|
|
2429
2429
|
top: 48px;
|
|
2430
2430
|
}
|
|
2431
|
-
.agent-scalar.agent-scalar[data-v-
|
|
2431
|
+
.agent-scalar.agent-scalar[data-v-a9f22fa8], .agent-scalar-overlay.agent-scalar-overlay[data-v-a9f22fa8] {
|
|
2432
2432
|
z-index: 15;
|
|
2433
2433
|
}
|
|
2434
2434
|
}
|
|
@@ -2540,7 +2540,7 @@ body {
|
|
|
2540
2540
|
|
|
2541
2541
|
/* Configurable Layout Variables */
|
|
2542
2542
|
@layer scalar-config {
|
|
2543
|
-
.scalar-api-reference[data-v-
|
|
2543
|
+
.scalar-api-reference[data-v-e26e2526] {
|
|
2544
2544
|
/* The header height */
|
|
2545
2545
|
--refs-header-height: calc(
|
|
2546
2546
|
var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
|
|
@@ -2562,20 +2562,20 @@ body {
|
|
|
2562
2562
|
/* The maximum width of the content column */
|
|
2563
2563
|
--refs-content-max-width: var(--scalar-content-max-width, 1540px);
|
|
2564
2564
|
}
|
|
2565
|
-
.scalar-api-reference.references-classic[data-v-
|
|
2565
|
+
.scalar-api-reference.references-classic[data-v-e26e2526] {
|
|
2566
2566
|
/* Classic layout is wider */
|
|
2567
2567
|
--refs-content-max-width: var(--scalar-content-max-width, 1420px);
|
|
2568
2568
|
min-height: 100dvh;
|
|
2569
2569
|
--refs-sidebar-width: 0;
|
|
2570
2570
|
}
|
|
2571
2571
|
}
|
|
2572
|
-
.t-doc__sidebar[data-v-
|
|
2572
|
+
.t-doc__sidebar[data-v-e26e2526] {
|
|
2573
2573
|
z-index: 10;
|
|
2574
2574
|
}
|
|
2575
2575
|
|
|
2576
2576
|
/* ----------------------------------------------------- */
|
|
2577
2577
|
/* References Layout */
|
|
2578
|
-
.references-layout[data-v-
|
|
2578
|
+
.references-layout[data-v-e26e2526] {
|
|
2579
2579
|
/* Try to fill the container */
|
|
2580
2580
|
min-height: 100dvh;
|
|
2581
2581
|
min-width: 100%;
|
|
@@ -2599,44 +2599,44 @@ body {
|
|
|
2599
2599
|
|
|
2600
2600
|
background: var(--scalar-background-1);
|
|
2601
2601
|
}
|
|
2602
|
-
.references-editor[data-v-
|
|
2602
|
+
.references-editor[data-v-e26e2526] {
|
|
2603
2603
|
grid-area: editor;
|
|
2604
2604
|
display: flex;
|
|
2605
2605
|
min-width: 0;
|
|
2606
2606
|
background: var(--scalar-background-1);
|
|
2607
2607
|
}
|
|
2608
|
-
.references-rendered[data-v-
|
|
2608
|
+
.references-rendered[data-v-e26e2526] {
|
|
2609
2609
|
position: relative;
|
|
2610
2610
|
grid-area: rendered;
|
|
2611
2611
|
min-width: 0;
|
|
2612
2612
|
background: var(--scalar-background-1);
|
|
2613
2613
|
}
|
|
2614
|
-
.scalar-api-reference.references-classic[data-v-
|
|
2615
|
-
.references-classic .references-rendered[data-v-
|
|
2614
|
+
.scalar-api-reference.references-classic[data-v-e26e2526],
|
|
2615
|
+
.references-classic .references-rendered[data-v-e26e2526] {
|
|
2616
2616
|
height: initial !important;
|
|
2617
2617
|
max-height: initial !important;
|
|
2618
2618
|
}
|
|
2619
2619
|
@layer scalar-config {
|
|
2620
|
-
.references-sidebar[data-v-
|
|
2620
|
+
.references-sidebar[data-v-e26e2526] {
|
|
2621
2621
|
/* Set a default width if references are enabled */
|
|
2622
2622
|
--refs-sidebar-width: var(--scalar-sidebar-width, 288px);
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
2625
|
|
|
2626
2626
|
/* Footer */
|
|
2627
|
-
.references-footer[data-v-
|
|
2627
|
+
.references-footer[data-v-e26e2526] {
|
|
2628
2628
|
grid-area: footer;
|
|
2629
2629
|
}
|
|
2630
2630
|
/* ----------------------------------------------------- */
|
|
2631
2631
|
/* Responsive / Mobile Layout */
|
|
2632
2632
|
@media (max-width: 1000px) {
|
|
2633
2633
|
/* Keep toolbar hidden on mobile without forcing desktop display mode. */
|
|
2634
|
-
.references-developer-tools[data-v-
|
|
2634
|
+
.references-developer-tools[data-v-e26e2526] {
|
|
2635
2635
|
display: none;
|
|
2636
2636
|
}
|
|
2637
2637
|
|
|
2638
2638
|
/* Stack view on mobile */
|
|
2639
|
-
.references-layout[data-v-
|
|
2639
|
+
.references-layout[data-v-e26e2526] {
|
|
2640
2640
|
/* Adjust the sidebar height to the viewport height minus the header height */
|
|
2641
2641
|
--refs-sidebar-height: calc(
|
|
2642
2642
|
var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
|
|
@@ -2651,13 +2651,13 @@ body {
|
|
|
2651
2651
|
'rendered'
|
|
2652
2652
|
'footer';
|
|
2653
2653
|
}
|
|
2654
|
-
.references-editable[data-v-
|
|
2654
|
+
.references-editable[data-v-e26e2526] {
|
|
2655
2655
|
grid-template-areas:
|
|
2656
2656
|
'header'
|
|
2657
2657
|
'navigation'
|
|
2658
2658
|
'editor';
|
|
2659
2659
|
}
|
|
2660
|
-
.references-rendered[data-v-
|
|
2660
|
+
.references-rendered[data-v-e26e2526] {
|
|
2661
2661
|
position: static;
|
|
2662
2662
|
}
|
|
2663
2663
|
}
|
|
@@ -2668,12 +2668,12 @@ body {
|
|
|
2668
2668
|
* when the new elements are available
|
|
2669
2669
|
*/
|
|
2670
2670
|
@media (max-width: 1000px) {
|
|
2671
|
-
.scalar-api-references-standalone-mobile[data-v-
|
|
2671
|
+
.scalar-api-references-standalone-mobile[data-v-e26e2526]:not(.references-classic) {
|
|
2672
2672
|
--scalar-header-height: 50px;
|
|
2673
2673
|
}
|
|
2674
2674
|
}
|
|
2675
2675
|
|
|
2676
|
-
.darklight-reference[data-v-
|
|
2676
|
+
.darklight-reference[data-v-e26e2526] {
|
|
2677
2677
|
width: 100%;
|
|
2678
2678
|
margin-top: auto;
|
|
2679
2679
|
}
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.
|
|
23
|
+
"version": "1.57.0",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=22"
|
|
26
26
|
},
|
|
@@ -91,20 +91,22 @@
|
|
|
91
91
|
"nanoid": "^5.1.6",
|
|
92
92
|
"vue": "^3.5.30",
|
|
93
93
|
"yaml": "^2.8.3",
|
|
94
|
-
"@scalar/agent-chat": "0.
|
|
95
|
-
"@scalar/api-client": "3.6.1",
|
|
94
|
+
"@scalar/agent-chat": "0.12.0",
|
|
96
95
|
"@scalar/code-highlight": "0.3.4",
|
|
97
|
-
"@scalar/components": "0.24.
|
|
98
|
-
"@scalar/
|
|
96
|
+
"@scalar/components": "0.24.4",
|
|
97
|
+
"@scalar/api-client": "3.8.0",
|
|
98
|
+
"@scalar/helpers": "0.8.0",
|
|
99
99
|
"@scalar/icons": "0.7.2",
|
|
100
|
-
"@scalar/oas-utils": "0.
|
|
101
|
-
"@scalar/
|
|
102
|
-
"@scalar/sidebar": "0.9.
|
|
103
|
-
"@scalar/
|
|
104
|
-
"@scalar/
|
|
105
|
-
"@scalar/
|
|
106
|
-
"@scalar/workspace-store": "0.
|
|
107
|
-
"@scalar/
|
|
100
|
+
"@scalar/oas-utils": "0.17.0",
|
|
101
|
+
"@scalar/schemas": "0.2.0",
|
|
102
|
+
"@scalar/sidebar": "0.9.13",
|
|
103
|
+
"@scalar/snippetz": "0.9.8",
|
|
104
|
+
"@scalar/themes": "0.15.5",
|
|
105
|
+
"@scalar/use-toasts": "0.10.2",
|
|
106
|
+
"@scalar/workspace-store": "0.51.0",
|
|
107
|
+
"@scalar/types": "0.11.0",
|
|
108
|
+
"@scalar/validation": "0.5.0",
|
|
109
|
+
"@scalar/use-hooks": "0.4.5"
|
|
108
110
|
},
|
|
109
111
|
"devDependencies": {
|
|
110
112
|
"@hono/node-server": "^1.19.10",
|
|
@@ -123,8 +125,8 @@
|
|
|
123
125
|
"vite-plugin-banner": "^0.8.1",
|
|
124
126
|
"vite-plugin-css-injected-by-js": "^5.0.0",
|
|
125
127
|
"vitest": "4.1.0",
|
|
126
|
-
"@scalar/
|
|
127
|
-
"@scalar/
|
|
128
|
+
"@scalar/core": "0.5.9",
|
|
129
|
+
"@scalar/galaxy": "0.6.4"
|
|
128
130
|
},
|
|
129
131
|
"scripts": {
|
|
130
132
|
"build": "pnpm build:default && pnpm build:styles && pnpm build:standalone && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenApiVersion.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-info-block/components/OpenApiVersion.vue"],"names":[],"mappings":"AAgBA,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AAwCF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import OpenApiVersion_vue_vue_type_script_setup_true_lang_default from "./OpenApiVersion.vue.script.js";
|
|
2
|
-
//#region src/blocks/scalar-info-block/components/OpenApiVersion.vue
|
|
3
|
-
var OpenApiVersion_default = OpenApiVersion_vue_vue_type_script_setup_true_lang_default;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { OpenApiVersion_default as default };
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=OpenApiVersion.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenApiVersion.vue.js","names":[],"sources":["../../../../src/blocks/scalar-info-block/components/OpenApiVersion.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { Badge } from '@/components/Badge'\n\ndefineProps<{\n oasVersion?: string\n}>()\n</script>\n\n<template>\n <Badge v-if=\"oasVersion\">OAS {{ oasVersion }}</Badge>\n</template>\n"],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import Badge_default from "../../../components/Badge/Badge.vue.js";
|
|
2
|
-
import { createBlock, createCommentVNode, createTextVNode, defineComponent, openBlock, toDisplayString, unref, withCtx } from "vue";
|
|
3
|
-
//#region src/blocks/scalar-info-block/components/OpenApiVersion.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var OpenApiVersion_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "OpenApiVersion",
|
|
6
|
-
props: { oasVersion: {} },
|
|
7
|
-
setup(__props) {
|
|
8
|
-
return (_ctx, _cache) => {
|
|
9
|
-
return __props.oasVersion ? (openBlock(), createBlock(unref(Badge_default), { key: 0 }, {
|
|
10
|
-
default: withCtx(() => [createTextVNode("OAS " + toDisplayString(__props.oasVersion), 1)]),
|
|
11
|
-
_: 1
|
|
12
|
-
})) : createCommentVNode("", true);
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
//#endregion
|
|
17
|
-
export { OpenApiVersion_vue_vue_type_script_setup_true_lang_default as default };
|
|
18
|
-
|
|
19
|
-
//# sourceMappingURL=OpenApiVersion.vue.script.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenApiVersion.vue.script.js","names":[],"sources":["../../../../src/blocks/scalar-info-block/components/OpenApiVersion.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { Badge } from '@/components/Badge'\n\ndefineProps<{\n oasVersion?: string\n}>()\n</script>\n\n<template>\n <Badge v-if=\"oasVersion\">OAS {{ oasVersion }}</Badge>\n</template>\n"],"mappings":";;;;;;;;UASe,QAAA,cAAA,WAAA,EAAb,YAAqD,MAAA,cAAA,EAAA,EAAA,KAAA,GAAA,EAAA;2BAAxB,CAAA,gBAAJ,SAAI,gBAAG,QAAA,WAAU,EAAA,EAAA,CAAA,CAAA"}
|