@scalar/api-reference 1.44.25 → 1.44.27
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 +78 -0
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue2.js +7 -3
- package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.d.ts +2 -1
- package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.js +3 -1
- package/dist/browser/standalone.js +13967 -13903
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.d.ts.map +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue2.js +2 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +1 -1
- package/dist/components/ApiReference.vue2.js +14 -12
- package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
- package/dist/components/ClassicHeader.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.js +6 -4
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.d.ts +7 -0
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.d.ts.map +1 -0
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.js +7 -0
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue2.js +45 -0
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +24 -40
- package/dist/components/Content/Schema/helpers/format-value.d.ts +5 -0
- package/dist/components/Content/Schema/helpers/format-value.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/format-value.js +35 -0
- package/dist/components/Content/Schema/helpers/get-schema-type.d.ts +4 -6
- package/dist/components/Content/Schema/helpers/get-schema-type.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/get-schema-type.js +1 -14
- package/dist/components/Content/Schema/helpers/schema-name.d.ts +0 -5
- package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.js +0 -36
- package/dist/features/{toolbar/ApiReferenceToolbar.vue.d.ts → developer-tools/DeveloperTools.vue.d.ts} +1 -1
- package/dist/features/developer-tools/DeveloperTools.vue.d.ts.map +1 -0
- package/dist/features/{toolbar/ApiReferenceToolbar.vue.js → developer-tools/DeveloperTools.vue.js} +11 -11
- package/dist/features/developer-tools/DeveloperTools.vue2.js +4 -0
- package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.d.ts.map +1 -0
- package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarBlurb.vue.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.d.ts.map +1 -0
- package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +2 -0
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -0
- package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayoutOptions.vue.js +35 -17
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -0
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.d.ts.map +1 -0
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -0
- package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarRegisterButton.vue.js +2 -2
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -0
- package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareRegister.vue.js +12 -8
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -0
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.js +73 -0
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.d.ts.map +1 -0
- package/dist/features/{toolbar/ApiReferenceToolbarSdks.vue.d.ts → developer-tools/components/DeployApiReference.vue.d.ts} +1 -1
- package/dist/features/developer-tools/components/DeployApiReference.vue.d.ts.map +1 -0
- package/dist/features/developer-tools/components/DeployApiReference.vue.js +35 -0
- package/dist/features/developer-tools/components/DeployApiReference.vue2.js +4 -0
- package/dist/features/{toolbar/ApiReferenceToolbarConfig.vue.d.ts → developer-tools/components/ModifyConfiguration.vue.d.ts} +1 -1
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.d.ts.map +1 -0
- package/dist/features/{toolbar/ApiReferenceToolbarConfig.vue.js → developer-tools/components/ModifyConfiguration.vue.js} +1 -1
- package/dist/features/developer-tools/components/ModifyConfiguration.vue2.js +4 -0
- package/dist/features/{toolbar/ApiReferenceToolbarShare.vue.d.ts → developer-tools/components/ShareApiReference.vue.d.ts} +1 -1
- package/dist/features/developer-tools/components/ShareApiReference.vue.d.ts.map +1 -0
- package/dist/features/{toolbar/ApiReferenceToolbarShare.vue.js → developer-tools/components/ShareApiReference.vue.js} +4 -13
- package/dist/features/developer-tools/components/ShareApiReference.vue2.js +4 -0
- package/dist/features/developer-tools/index.d.ts +2 -0
- package/dist/features/developer-tools/index.d.ts.map +1 -0
- package/dist/features/index.d.ts +0 -1
- package/dist/features/index.d.ts.map +1 -1
- package/dist/features/index.js +2 -4
- package/dist/style.css +115 -45
- package/package.json +19 -19
- package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbar.vue2.js +0 -4
- package/dist/features/toolbar/ApiReferenceToolbarBlurb.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarConfig.vue2.js +0 -4
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayout.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarPopover.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarRegisterButton.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue.js +0 -89
- package/dist/features/toolbar/ApiReferenceToolbarSdks.vue2.js +0 -4
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarShare.vue2.js +0 -4
- package/dist/features/toolbar/ApiReferenceToolbarShareRegister.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.d.ts.map +0 -1
- package/dist/features/toolbar/ApiReferenceToolbarShareTemporary.vue.js +0 -90
- package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.d.ts.map +0 -1
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarBlurb.vue.d.ts +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayout.vue.d.ts +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayout.vue.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayout.vue2.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigLayoutOptions.vue2.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigTheme.vue.d.ts +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigTheme.vue.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarConfigTheme.vue2.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarPopover.vue.d.ts +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarPopover.vue.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarPopover.vue2.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarRegisterButton.vue.d.ts +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarRegisterButton.vue2.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareRegister.vue.d.ts +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareRegister.vue2.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareTemporary.vue.d.ts +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareTemporary.vue2.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarTitle.vue.d.ts +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarTitle.vue.js +0 -0
- /package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarTitle.vue2.js +0 -0
package/dist/style.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.references-classic-header[data-v-
|
|
2
|
+
.references-classic-header[data-v-8a3822ca] {
|
|
3
3
|
display: flex;
|
|
4
4
|
align-items: center;
|
|
5
5
|
gap: 12px;
|
|
@@ -8,23 +8,24 @@
|
|
|
8
8
|
margin: auto;
|
|
9
9
|
padding: 12px 0;
|
|
10
10
|
}
|
|
11
|
-
.references-classic-header-content[data-v-
|
|
11
|
+
.references-classic-header-content[data-v-8a3822ca] {
|
|
12
12
|
display: flex;
|
|
13
13
|
gap: 12px;
|
|
14
14
|
flex-grow: 1;
|
|
15
15
|
}
|
|
16
|
-
.references-classic-header-container[data-v-
|
|
16
|
+
.references-classic-header-container[data-v-8a3822ca] {
|
|
17
|
+
position: relative;
|
|
17
18
|
padding: 0 60px;
|
|
18
19
|
}
|
|
19
20
|
@container narrow-references-container (max-width: 900px) {
|
|
20
|
-
.references-classic-header[data-v-
|
|
21
|
+
.references-classic-header[data-v-8a3822ca] {
|
|
21
22
|
padding: 12px 24px;
|
|
22
23
|
}
|
|
23
|
-
.references-classic-header-container[data-v-
|
|
24
|
+
.references-classic-header-container[data-v-8a3822ca] {
|
|
24
25
|
padding: 0;
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
|
-
.references-classic-header-icon[data-v-
|
|
28
|
+
.references-classic-header-icon[data-v-8a3822ca] {
|
|
28
29
|
height: 24px;
|
|
29
30
|
color: var(--scalar-color-1);
|
|
30
31
|
}
|
|
@@ -326,6 +327,77 @@ button.schema-card-title[data-v-d9bd8110]:hover {
|
|
|
326
327
|
color: var(--scalar-color-1);
|
|
327
328
|
}
|
|
328
329
|
|
|
330
|
+
.property-default[data-v-4da5c70a] {
|
|
331
|
+
display: flex;
|
|
332
|
+
flex-direction: column;
|
|
333
|
+
font-size: var(--scalar-mini);
|
|
334
|
+
position: relative;
|
|
335
|
+
}
|
|
336
|
+
.property-default[data-v-4da5c70a]:hover:before {
|
|
337
|
+
content: '';
|
|
338
|
+
position: absolute;
|
|
339
|
+
top: 0;
|
|
340
|
+
left: 0;
|
|
341
|
+
width: 100%;
|
|
342
|
+
height: 20px;
|
|
343
|
+
border-radius: var(--scalar-radius);
|
|
344
|
+
}
|
|
345
|
+
.property-default:hover .property-default-label span[data-v-4da5c70a] {
|
|
346
|
+
color: var(--scalar-color-1);
|
|
347
|
+
}
|
|
348
|
+
.property-default-label span[data-v-4da5c70a] {
|
|
349
|
+
color: var(--scalar-color-3);
|
|
350
|
+
position: relative;
|
|
351
|
+
border-bottom: var(--scalar-border-width) dotted currentColor;
|
|
352
|
+
}
|
|
353
|
+
.property-default-value[data-v-4da5c70a] {
|
|
354
|
+
font-family: var(--scalar-font-code);
|
|
355
|
+
display: flex;
|
|
356
|
+
gap: 8px;
|
|
357
|
+
align-items: center;
|
|
358
|
+
width: 100%;
|
|
359
|
+
padding: 6px;
|
|
360
|
+
}
|
|
361
|
+
.property-default-value span[data-v-4da5c70a] {
|
|
362
|
+
display: block;
|
|
363
|
+
overflow: hidden;
|
|
364
|
+
text-overflow: ellipsis;
|
|
365
|
+
white-space: nowrap;
|
|
366
|
+
}
|
|
367
|
+
.property-default-value[data-v-4da5c70a] svg {
|
|
368
|
+
color: var(--scalar-color-3);
|
|
369
|
+
}
|
|
370
|
+
.property-default-value[data-v-4da5c70a]:hover svg {
|
|
371
|
+
color: var(--scalar-color-1);
|
|
372
|
+
}
|
|
373
|
+
.property-default-value[data-v-4da5c70a] {
|
|
374
|
+
background: var(--scalar-background-2);
|
|
375
|
+
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
376
|
+
border-radius: var(--scalar-radius);
|
|
377
|
+
}
|
|
378
|
+
.property-default-value-list[data-v-4da5c70a] {
|
|
379
|
+
position: absolute;
|
|
380
|
+
top: 18px;
|
|
381
|
+
left: 50%;
|
|
382
|
+
transform: translate3d(-50%, 0, 0);
|
|
383
|
+
overflow: auto;
|
|
384
|
+
background-color: var(--scalar-background-1);
|
|
385
|
+
box-shadow: var(--scalar-shadow-1);
|
|
386
|
+
border-radius: var(--scalar-radius-lg);
|
|
387
|
+
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
388
|
+
padding: 9px;
|
|
389
|
+
min-width: 200px;
|
|
390
|
+
max-width: 300px;
|
|
391
|
+
flex-direction: column;
|
|
392
|
+
gap: 3px;
|
|
393
|
+
display: none;
|
|
394
|
+
z-index: 2;
|
|
395
|
+
}
|
|
396
|
+
.property-default:hover .property-default-value-list[data-v-4da5c70a],
|
|
397
|
+
.property-default:focus-within .property-default-value-list[data-v-4da5c70a] {
|
|
398
|
+
display: flex;
|
|
399
|
+
}
|
|
400
|
+
|
|
329
401
|
.property-detail[data-v-1295f965] {
|
|
330
402
|
display: inline-flex;
|
|
331
403
|
}
|
|
@@ -461,27 +533,27 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
461
533
|
border: transparent;
|
|
462
534
|
}
|
|
463
535
|
|
|
464
|
-
.property-heading[data-v-
|
|
536
|
+
.property-heading[data-v-b69e3089] {
|
|
465
537
|
display: flex;
|
|
466
538
|
flex-wrap: wrap;
|
|
467
539
|
align-items: baseline;
|
|
468
540
|
row-gap: 9px;
|
|
469
541
|
white-space: nowrap;
|
|
470
542
|
}
|
|
471
|
-
.property-heading[data-v-
|
|
472
|
-
.property-heading[data-v-
|
|
543
|
+
.property-heading[data-v-b69e3089]:has(+ .children),
|
|
544
|
+
.property-heading[data-v-b69e3089]:has(+ .property-rule) {
|
|
473
545
|
margin-bottom: 9px;
|
|
474
546
|
}
|
|
475
|
-
.property-heading[data-v-
|
|
547
|
+
.property-heading[data-v-b69e3089] > * {
|
|
476
548
|
margin-right: 9px;
|
|
477
549
|
}
|
|
478
|
-
.property-heading[data-v-
|
|
550
|
+
.property-heading[data-v-b69e3089]:last-child {
|
|
479
551
|
margin-right: 0;
|
|
480
552
|
}
|
|
481
|
-
.property-heading > .property-detail[data-v-
|
|
553
|
+
.property-heading > .property-detail[data-v-b69e3089]:not(:last-of-type) {
|
|
482
554
|
margin-right: 0;
|
|
483
555
|
}
|
|
484
|
-
.property-name[data-v-
|
|
556
|
+
.property-name[data-v-b69e3089] {
|
|
485
557
|
max-width: 100%;
|
|
486
558
|
font-family: var(--scalar-font-code);
|
|
487
559
|
font-weight: var(--scalar-bold);
|
|
@@ -489,30 +561,30 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
489
561
|
white-space: normal;
|
|
490
562
|
overflow-wrap: break-word;
|
|
491
563
|
}
|
|
492
|
-
.property-additional[data-v-
|
|
564
|
+
.property-additional[data-v-b69e3089] {
|
|
493
565
|
font-family: var(--scalar-font-code);
|
|
494
566
|
}
|
|
495
|
-
.property-required[data-v-
|
|
496
|
-
.property-optional[data-v-
|
|
567
|
+
.property-required[data-v-b69e3089],
|
|
568
|
+
.property-optional[data-v-b69e3089] {
|
|
497
569
|
color: var(--scalar-color-2);
|
|
498
570
|
}
|
|
499
|
-
.property-required[data-v-
|
|
571
|
+
.property-required[data-v-b69e3089] {
|
|
500
572
|
font-size: var(--scalar-mini);
|
|
501
573
|
color: var(--scalar-color-orange);
|
|
502
574
|
}
|
|
503
|
-
.property-read-only[data-v-
|
|
575
|
+
.property-read-only[data-v-b69e3089] {
|
|
504
576
|
font-size: var(--scalar-mini);
|
|
505
577
|
color: var(--scalar-color-blue);
|
|
506
578
|
}
|
|
507
|
-
.property-write-only[data-v-
|
|
579
|
+
.property-write-only[data-v-b69e3089] {
|
|
508
580
|
font-size: var(--scalar-mini);
|
|
509
581
|
color: var(--scalar-color-green);
|
|
510
582
|
}
|
|
511
|
-
.property-discriminator[data-v-
|
|
583
|
+
.property-discriminator[data-v-b69e3089] {
|
|
512
584
|
font-size: var(--scalar-mini);
|
|
513
585
|
color: var(--scalar-color-purple);
|
|
514
586
|
}
|
|
515
|
-
.property-detail[data-v-
|
|
587
|
+
.property-detail[data-v-b69e3089] {
|
|
516
588
|
font-size: var(--scalar-mini);
|
|
517
589
|
color: var(--scalar-color-2);
|
|
518
590
|
display: flex;
|
|
@@ -520,10 +592,10 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
520
592
|
|
|
521
593
|
min-width: 0;
|
|
522
594
|
}
|
|
523
|
-
.property-const[data-v-
|
|
595
|
+
.property-const[data-v-b69e3089] {
|
|
524
596
|
color: var(--scalar-color-1);
|
|
525
597
|
}
|
|
526
|
-
.deprecated[data-v-
|
|
598
|
+
.deprecated[data-v-b69e3089] {
|
|
527
599
|
text-decoration: line-through;
|
|
528
600
|
}
|
|
529
601
|
|
|
@@ -2117,7 +2189,7 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
2117
2189
|
margin-top: 0;
|
|
2118
2190
|
}
|
|
2119
2191
|
|
|
2120
|
-
.references-classic .introduction-description[data-v-
|
|
2192
|
+
.references-classic .introduction-description[data-v-5065bb4a] img {
|
|
2121
2193
|
max-width: 720px;
|
|
2122
2194
|
}
|
|
2123
2195
|
|
|
@@ -3626,9 +3698,6 @@ body {
|
|
|
3626
3698
|
.scalar-app .w-96 {
|
|
3627
3699
|
width: 384px;
|
|
3628
3700
|
}
|
|
3629
|
-
.scalar-app .w-110 {
|
|
3630
|
-
width: 440px;
|
|
3631
|
-
}
|
|
3632
3701
|
.scalar-app .w-120 {
|
|
3633
3702
|
width: 480px;
|
|
3634
3703
|
}
|
|
@@ -3704,9 +3773,6 @@ body {
|
|
|
3704
3773
|
.scalar-app .py-2\.25 {
|
|
3705
3774
|
padding-block: 9px;
|
|
3706
3775
|
}
|
|
3707
|
-
.scalar-app .pt-1\.5 {
|
|
3708
|
-
padding-top: 6px;
|
|
3709
|
-
}
|
|
3710
3776
|
.scalar-app .pb-12 {
|
|
3711
3777
|
padding-bottom: 48px;
|
|
3712
3778
|
}
|
|
@@ -8616,6 +8682,10 @@ to {
|
|
|
8616
8682
|
--tw-leading: var(--scalar-line-height-5);
|
|
8617
8683
|
line-height: var(--scalar-line-height-5);
|
|
8618
8684
|
}
|
|
8685
|
+
.scalar-app .leading-5\.5 {
|
|
8686
|
+
--tw-leading: 22px;
|
|
8687
|
+
line-height: 22px;
|
|
8688
|
+
}
|
|
8619
8689
|
.scalar-app .leading-\[1\.44\] {
|
|
8620
8690
|
--tw-leading: 1.44;
|
|
8621
8691
|
line-height: 1.44;
|
|
@@ -12109,7 +12179,7 @@ to {
|
|
|
12109
12179
|
|
|
12110
12180
|
/* Configurable Layout Variables */
|
|
12111
12181
|
@layer scalar-config {
|
|
12112
|
-
.scalar-api-reference[data-v-
|
|
12182
|
+
.scalar-api-reference[data-v-94d6fca6] {
|
|
12113
12183
|
/* The header height */
|
|
12114
12184
|
--refs-header-height: calc(
|
|
12115
12185
|
var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
|
|
@@ -12131,20 +12201,20 @@ to {
|
|
|
12131
12201
|
/* The maximum width of the content column */
|
|
12132
12202
|
--refs-content-max-width: var(--scalar-content-max-width, 1540px);
|
|
12133
12203
|
}
|
|
12134
|
-
.scalar-api-reference.references-classic[data-v-
|
|
12204
|
+
.scalar-api-reference.references-classic[data-v-94d6fca6] {
|
|
12135
12205
|
/* Classic layout is wider */
|
|
12136
12206
|
--refs-content-max-width: var(--scalar-content-max-width, 1420px);
|
|
12137
12207
|
min-height: 100dvh;
|
|
12138
12208
|
--refs-sidebar-width: 0;
|
|
12139
12209
|
}
|
|
12140
12210
|
}
|
|
12141
|
-
.t-doc__sidebar[data-v-
|
|
12211
|
+
.t-doc__sidebar[data-v-94d6fca6] {
|
|
12142
12212
|
z-index: 10;
|
|
12143
12213
|
}
|
|
12144
12214
|
|
|
12145
12215
|
/* ----------------------------------------------------- */
|
|
12146
12216
|
/* References Layout */
|
|
12147
|
-
.references-layout[data-v-
|
|
12217
|
+
.references-layout[data-v-94d6fca6] {
|
|
12148
12218
|
/* Try to fill the container */
|
|
12149
12219
|
min-height: 100dvh;
|
|
12150
12220
|
min-width: 100%;
|
|
@@ -12168,39 +12238,39 @@ to {
|
|
|
12168
12238
|
|
|
12169
12239
|
background: var(--scalar-background-1);
|
|
12170
12240
|
}
|
|
12171
|
-
.references-editor[data-v-
|
|
12241
|
+
.references-editor[data-v-94d6fca6] {
|
|
12172
12242
|
grid-area: editor;
|
|
12173
12243
|
display: flex;
|
|
12174
12244
|
min-width: 0;
|
|
12175
12245
|
background: var(--scalar-background-1);
|
|
12176
12246
|
}
|
|
12177
|
-
.references-rendered[data-v-
|
|
12247
|
+
.references-rendered[data-v-94d6fca6] {
|
|
12178
12248
|
position: relative;
|
|
12179
12249
|
grid-area: rendered;
|
|
12180
12250
|
min-width: 0;
|
|
12181
12251
|
background: var(--scalar-background-1);
|
|
12182
12252
|
}
|
|
12183
|
-
.scalar-api-reference.references-classic[data-v-
|
|
12184
|
-
.references-classic .references-rendered[data-v-
|
|
12253
|
+
.scalar-api-reference.references-classic[data-v-94d6fca6],
|
|
12254
|
+
.references-classic .references-rendered[data-v-94d6fca6] {
|
|
12185
12255
|
height: initial !important;
|
|
12186
12256
|
max-height: initial !important;
|
|
12187
12257
|
}
|
|
12188
12258
|
@layer scalar-config {
|
|
12189
|
-
.references-sidebar[data-v-
|
|
12259
|
+
.references-sidebar[data-v-94d6fca6] {
|
|
12190
12260
|
/* Set a default width if references are enabled */
|
|
12191
12261
|
--refs-sidebar-width: var(--scalar-sidebar-width, 288px);
|
|
12192
12262
|
}
|
|
12193
12263
|
}
|
|
12194
12264
|
|
|
12195
12265
|
/* Footer */
|
|
12196
|
-
.references-footer[data-v-
|
|
12266
|
+
.references-footer[data-v-94d6fca6] {
|
|
12197
12267
|
grid-area: footer;
|
|
12198
12268
|
}
|
|
12199
12269
|
/* ----------------------------------------------------- */
|
|
12200
12270
|
/* Responsive / Mobile Layout */
|
|
12201
12271
|
@media (max-width: 1000px) {
|
|
12202
12272
|
/* Stack view on mobile */
|
|
12203
|
-
.references-layout[data-v-
|
|
12273
|
+
.references-layout[data-v-94d6fca6] {
|
|
12204
12274
|
/* Adjust the sidebar height to the viewport height minus the header height */
|
|
12205
12275
|
--refs-sidebar-height: calc(
|
|
12206
12276
|
var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
|
|
@@ -12215,13 +12285,13 @@ to {
|
|
|
12215
12285
|
'rendered'
|
|
12216
12286
|
'footer';
|
|
12217
12287
|
}
|
|
12218
|
-
.references-editable[data-v-
|
|
12288
|
+
.references-editable[data-v-94d6fca6] {
|
|
12219
12289
|
grid-template-areas:
|
|
12220
12290
|
'header'
|
|
12221
12291
|
'navigation'
|
|
12222
12292
|
'editor';
|
|
12223
12293
|
}
|
|
12224
|
-
.references-rendered[data-v-
|
|
12294
|
+
.references-rendered[data-v-94d6fca6] {
|
|
12225
12295
|
position: static;
|
|
12226
12296
|
}
|
|
12227
12297
|
}
|
|
@@ -12232,12 +12302,12 @@ to {
|
|
|
12232
12302
|
* when the new elements are available
|
|
12233
12303
|
*/
|
|
12234
12304
|
@media (max-width: 1000px) {
|
|
12235
|
-
.scalar-api-references-standalone-mobile[data-v-
|
|
12305
|
+
.scalar-api-references-standalone-mobile[data-v-94d6fca6]:not(.references-classic) {
|
|
12236
12306
|
--scalar-header-height: 50px;
|
|
12237
12307
|
}
|
|
12238
12308
|
}
|
|
12239
12309
|
|
|
12240
|
-
.darklight-reference[data-v-
|
|
12310
|
+
.darklight-reference[data-v-94d6fca6] {
|
|
12241
12311
|
width: 100%;
|
|
12242
12312
|
margin-top: auto;
|
|
12243
12313
|
}
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.44.
|
|
23
|
+
"version": "1.44.27",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20"
|
|
26
26
|
},
|
|
@@ -81,26 +81,26 @@
|
|
|
81
81
|
"@unhead/vue": "^2.1.4",
|
|
82
82
|
"@vueuse/core": "13.9.0",
|
|
83
83
|
"fuse.js": "^7.1.0",
|
|
84
|
-
"github-slugger": "
|
|
84
|
+
"github-slugger": "2.0.0",
|
|
85
85
|
"microdiff": "^1.5.0",
|
|
86
86
|
"nanoid": "^5.1.6",
|
|
87
87
|
"vue": "^3.5.26",
|
|
88
|
-
"@scalar/agent-chat": "0.5.
|
|
89
|
-
"@scalar/api-client": "2.29.
|
|
90
|
-
"@scalar/components": "0.19.
|
|
88
|
+
"@scalar/agent-chat": "0.5.18",
|
|
89
|
+
"@scalar/api-client": "2.29.4",
|
|
90
|
+
"@scalar/components": "0.19.10",
|
|
91
|
+
"@scalar/code-highlight": "0.2.4",
|
|
92
|
+
"@scalar/helpers": "0.2.16",
|
|
93
|
+
"@scalar/oas-utils": "0.6.48",
|
|
91
94
|
"@scalar/icons": "0.5.3",
|
|
92
|
-
"@scalar/helpers": "0.2.15",
|
|
93
|
-
"@scalar/code-highlight": "0.2.3",
|
|
94
|
-
"@scalar/openapi-parser": "0.24.13",
|
|
95
|
-
"@scalar/oas-utils": "0.6.46",
|
|
96
|
-
"@scalar/sidebar": "0.7.39",
|
|
97
|
-
"@scalar/snippetz": "0.6.15",
|
|
98
|
-
"@scalar/themes": "0.14.0",
|
|
99
95
|
"@scalar/openapi-types": "0.5.3",
|
|
100
|
-
"@scalar/
|
|
96
|
+
"@scalar/openapi-parser": "0.24.15",
|
|
97
|
+
"@scalar/snippetz": "0.6.17",
|
|
98
|
+
"@scalar/sidebar": "0.7.41",
|
|
99
|
+
"@scalar/themes": "0.14.0",
|
|
100
|
+
"@scalar/types": "0.6.8",
|
|
101
101
|
"@scalar/use-hooks": "0.3.7",
|
|
102
|
-
"@scalar/
|
|
103
|
-
"@scalar/
|
|
102
|
+
"@scalar/workspace-store": "0.34.4",
|
|
103
|
+
"@scalar/use-toasts": "0.9.1"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@hono/node-server": "^1.19.7",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@vitejs/plugin-vue": "^6.0.3",
|
|
110
110
|
"@vue/server-renderer": "^3.5.26",
|
|
111
111
|
"@vue/test-utils": "2.4.6",
|
|
112
|
-
"hono": "4.11.
|
|
112
|
+
"hono": "4.11.10",
|
|
113
113
|
"jsdom": "27.4.0",
|
|
114
114
|
"react": "^19.2.3",
|
|
115
115
|
"rollup-plugin-webpack-stats": "^0.2.5",
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
"vite-plugin-banner": "^0.8.1",
|
|
119
119
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
120
120
|
"vitest": "4.0.16",
|
|
121
|
-
"@scalar/core": "0.3.41",
|
|
122
|
-
"@scalar/galaxy": "0.5.16",
|
|
123
121
|
"@scalar/build-tooling": "0.4.1",
|
|
124
|
-
"@scalar/react-renderer": "0.3.0"
|
|
122
|
+
"@scalar/react-renderer": "0.3.0",
|
|
123
|
+
"@scalar/galaxy": "0.5.16",
|
|
124
|
+
"@scalar/core": "0.3.43"
|
|
125
125
|
},
|
|
126
126
|
"scripts": {
|
|
127
127
|
"build": "pnpm build:default && pnpm build:standalone && pnpm types:build",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbar.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAQpE,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;CACnD,CAAC;AAuBF,KAAK,gBAAgB,GAAG;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;CAChD,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAsFxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarBlurb.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarBlurb.vue"],"names":[],"mappings":"AA8BA,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG/C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarConfig.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarConfig.vue"],"names":[],"mappings":"AA8EA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAQ5E,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;CACnD,CAAC;AAyBF,KAAK,gBAAgB,GAAG;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAC;CAChD,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAsKxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarConfigLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarConfigLayout.vue"],"names":[],"mappings":"AAoDA,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACjC,CAAC;AA2CF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarConfigLayoutOptions.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAE5E,KAAK,aAAa,GAAG;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA;AAED,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,OAAO,CAAC,yBAAyB,CAAC,CAAA;CACnD,CAAC;AA8BF,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,aAAa,CAAC;CAC1B,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAmOxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarConfigTheme.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarConfigTheme.vue"],"names":[],"mappings":"AA4EA,OAAO,EAAkC,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAgC7E,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AA6IF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarPopover.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarPopover.vue"],"names":[],"mappings":"AAyLA,QAAA,IAAI,OAAO;;CAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ;;;CAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC5G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAG9C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarRegisterButton.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarRegisterButton.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAMpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;IACzB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;CAChB,CAAC;AAyDF,KAAK,gBAAgB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAiDxD,QAAA,IAAI,QAAQ,IAAW,CAAE;AACzB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarSdks.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarSdks.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AA2BpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;CAC1B,CAAC;AA2JF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, createBlock, openBlock, withCtx, createVNode, unref, createElementBlock, Fragment, renderList, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import { ScalarFormSection, ScalarFormInputGroup, ScalarToggleInput, ScalarIcon } from "@scalar/components";
|
|
3
|
-
import ApiReferenceToolbarBlurb from "./ApiReferenceToolbarBlurb.vue.js";
|
|
4
|
-
import _sfc_main$1 from "./ApiReferenceToolbarPopover.vue.js";
|
|
5
|
-
import _sfc_main$2 from "./ApiReferenceToolbarRegisterButton.vue.js";
|
|
6
|
-
const _hoisted_1 = { class: "inline-flex items-center gap-2" };
|
|
7
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
-
__name: "ApiReferenceToolbarSdks",
|
|
9
|
-
props: {
|
|
10
|
-
workspace: {}
|
|
11
|
-
},
|
|
12
|
-
setup(__props) {
|
|
13
|
-
const LANGUAGES = [
|
|
14
|
-
{
|
|
15
|
-
key: "typescript",
|
|
16
|
-
label: "Typescript",
|
|
17
|
-
icon: "programming-language-typescript"
|
|
18
|
-
},
|
|
19
|
-
{ key: "python", label: "Python", icon: "programming-language-python" },
|
|
20
|
-
{ key: "csharp", label: "C#", icon: "programming-language-csharp" },
|
|
21
|
-
{ key: "java", label: "Java", icon: "programming-language-java" },
|
|
22
|
-
{ key: "ruby", label: "Ruby", icon: "programming-language-ruby" },
|
|
23
|
-
{ key: "php", label: "PHP", icon: "programming-language-php" },
|
|
24
|
-
{ key: "go", label: "Go", icon: "programming-language-go" }
|
|
25
|
-
];
|
|
26
|
-
const selectedLanguages = ref([]);
|
|
27
|
-
return (_ctx, _cache) => {
|
|
28
|
-
return openBlock(), createBlock(_sfc_main$1, { class: "w-110" }, {
|
|
29
|
-
label: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
30
|
-
createTextVNode("Generate SDKs", -1)
|
|
31
|
-
])]),
|
|
32
|
-
default: withCtx(() => [
|
|
33
|
-
createVNode(unref(ScalarFormSection), null, {
|
|
34
|
-
label: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
35
|
-
createTextVNode("Select Languages", -1)
|
|
36
|
-
])]),
|
|
37
|
-
default: withCtx(() => [
|
|
38
|
-
createVNode(unref(ScalarFormInputGroup), null, {
|
|
39
|
-
default: withCtx(() => [
|
|
40
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(LANGUAGES, ({ key, label, icon }) => {
|
|
41
|
-
return createVNode(unref(ScalarToggleInput), {
|
|
42
|
-
key,
|
|
43
|
-
modelValue: selectedLanguages.value.includes(key),
|
|
44
|
-
"onUpdate:modelValue": (enabled) => enabled ? selectedLanguages.value = [...selectedLanguages.value, key] : selectedLanguages.value = selectedLanguages.value.filter(
|
|
45
|
-
(k) => k !== key
|
|
46
|
-
)
|
|
47
|
-
}, {
|
|
48
|
-
default: withCtx(() => [
|
|
49
|
-
createElementVNode("span", _hoisted_1, [
|
|
50
|
-
createVNode(unref(ScalarIcon), {
|
|
51
|
-
icon,
|
|
52
|
-
class: "text-c-2 size-3.5"
|
|
53
|
-
}, null, 8, ["icon"]),
|
|
54
|
-
createTextVNode(" " + toDisplayString(label), 1)
|
|
55
|
-
])
|
|
56
|
-
]),
|
|
57
|
-
_: 2
|
|
58
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"]);
|
|
59
|
-
}), 64))
|
|
60
|
-
]),
|
|
61
|
-
_: 1
|
|
62
|
-
}),
|
|
63
|
-
createVNode(_sfc_main$2, {
|
|
64
|
-
sdks: selectedLanguages.value,
|
|
65
|
-
workspace: __props.workspace
|
|
66
|
-
}, null, 8, ["sdks", "workspace"]),
|
|
67
|
-
createVNode(ApiReferenceToolbarBlurb, null, {
|
|
68
|
-
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
69
|
-
createTextVNode(" Generating SDKs is a paid feature starting at $100/mo, learn more in our ", -1),
|
|
70
|
-
createElementVNode("a", {
|
|
71
|
-
href: "https://scalar.com/products/sdks/getting-started",
|
|
72
|
-
target: "_blank"
|
|
73
|
-
}, " guides", -1),
|
|
74
|
-
createTextVNode(". ", -1)
|
|
75
|
-
])]),
|
|
76
|
-
_: 1
|
|
77
|
-
})
|
|
78
|
-
]),
|
|
79
|
-
_: 1
|
|
80
|
-
})
|
|
81
|
-
]),
|
|
82
|
-
_: 1
|
|
83
|
-
});
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
export {
|
|
88
|
-
_sfc_main as default
|
|
89
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarShare.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarShare.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAMpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;CAC1B,CAAC;AAgFF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarShareRegister.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarShareRegister.vue"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAKpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;CAC1B,CAAC;AA6FF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceToolbarShareTemporary.vue.d.ts","sourceRoot":"","sources":["../../../src/features/toolbar/ApiReferenceToolbarShareTemporary.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAMpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;CAC1B,CAAC;AAuCF,KAAK,gBAAgB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAyIxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|