@scalar/api-reference 0.1.11 → 0.1.12
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.
|
@@ -4,11 +4,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
type: import("vue").PropType<Spec>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
|
+
overloadShow: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
};
|
|
7
10
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
11
|
spec: {
|
|
9
12
|
type: import("vue").PropType<Spec>;
|
|
10
13
|
required: true;
|
|
11
14
|
};
|
|
15
|
+
overloadShow: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
};
|
|
12
18
|
}>>, {}, {}>;
|
|
13
19
|
export default _default;
|
|
14
20
|
//# sourceMappingURL=ApiClientModal.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,UAAU,CAAA
|
|
1
|
+
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;AA0JpC,wBAAkD"}
|
package/dist/index.js
CHANGED
|
@@ -45227,7 +45227,10 @@ ${closingBraceIndent}]`;
|
|
|
45227
45227
|
const _sfc_main$n = defineComponent({
|
|
45228
45228
|
__name: "ApiClientModal",
|
|
45229
45229
|
props: {
|
|
45230
|
-
spec: {}
|
|
45230
|
+
spec: {},
|
|
45231
|
+
overloadShow: {
|
|
45232
|
+
type: Boolean
|
|
45233
|
+
}
|
|
45231
45234
|
},
|
|
45232
45235
|
setup(__props) {
|
|
45233
45236
|
const { hideApiClient: hideApiClient2, state: state2 } = useApiClientStore();
|
|
@@ -45235,7 +45238,7 @@ ${closingBraceIndent}]`;
|
|
|
45235
45238
|
const proxyUrl = {}.VITE_CLIENT_PROXY;
|
|
45236
45239
|
return (_ctx, _cache) => {
|
|
45237
45240
|
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
45238
|
-
unref(state2).showApiClient ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
45241
|
+
unref(state2).showApiClient || _ctx.overloadShow ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
45239
45242
|
createElementVNode("div", _hoisted_2$g, [
|
|
45240
45243
|
createElementVNode("div", _hoisted_3$c, [
|
|
45241
45244
|
createElementVNode("div", _hoisted_4$9, [
|
|
@@ -45269,11 +45272,11 @@ ${closingBraceIndent}]`;
|
|
|
45269
45272
|
};
|
|
45270
45273
|
}
|
|
45271
45274
|
});
|
|
45272
|
-
const
|
|
45275
|
+
const ApiClientModal_vue_vue_type_style_index_0_scoped_5739a677_lang = "";
|
|
45273
45276
|
ApiClientModal = _export_sfc(_sfc_main$n, [
|
|
45274
45277
|
[
|
|
45275
45278
|
"__scopeId",
|
|
45276
|
-
"data-v-
|
|
45279
|
+
"data-v-5739a677"
|
|
45277
45280
|
]
|
|
45278
45281
|
]);
|
|
45279
45282
|
const Card_vue_vue_type_style_index_0_scoped_18b26a5c_lang = "";
|
package/dist/style.css
CHANGED
|
@@ -460,10 +460,10 @@ to {
|
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
.scalar-api-client__container .scalar-api-client[data-v-
|
|
463
|
+
.scalar-api-client__container .scalar-api-client[data-v-5739a677] {
|
|
464
464
|
width: calc(100% - var(--scalar-api-reference-theme-sidebar-width));
|
|
465
465
|
}
|
|
466
|
-
.scalar-api-client__container[data-v-
|
|
466
|
+
.scalar-api-client__container[data-v-5739a677] {
|
|
467
467
|
position: absolute;
|
|
468
468
|
right: 0;
|
|
469
469
|
left: 0;
|
|
@@ -484,11 +484,11 @@ to {
|
|
|
484
484
|
flex-direction: column;
|
|
485
485
|
}
|
|
486
486
|
@media screen and (max-width: 1265px) {
|
|
487
|
-
.scalar-api-client__container[data-v-
|
|
487
|
+
.scalar-api-client__container[data-v-5739a677] {
|
|
488
488
|
width: 100vw !important;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
.scalar-api-client__navigation[data-v-
|
|
491
|
+
.scalar-api-client__navigation[data-v-5739a677] {
|
|
492
492
|
width: 100%;
|
|
493
493
|
display: flex;
|
|
494
494
|
align-items: center;
|
|
@@ -500,7 +500,7 @@ to {
|
|
|
500
500
|
border-bottom: var(--scalar-api-reference-border);
|
|
501
501
|
top: 0;
|
|
502
502
|
}
|
|
503
|
-
.scalar-api-client__close[data-v-
|
|
503
|
+
.scalar-api-client__close[data-v-5739a677] {
|
|
504
504
|
appearance: none;
|
|
505
505
|
border: none;
|
|
506
506
|
outline: none;
|
|
@@ -511,7 +511,7 @@ to {
|
|
|
511
511
|
color: var(--scalar-api-reference-theme-color-1);
|
|
512
512
|
font-weight: var(--scalar-api-reference-theme-semibold);
|
|
513
513
|
}
|
|
514
|
-
.scalar-api-client__close[data-v-
|
|
514
|
+
.scalar-api-client__close[data-v-5739a677]:hover {
|
|
515
515
|
cursor: pointer;
|
|
516
516
|
}
|
|
517
517
|
/*
|
|
@@ -534,7 +534,7 @@ TODO: Markup is missing
|
|
|
534
534
|
height: 12px;
|
|
535
535
|
transform: rotate(180deg);
|
|
536
536
|
} */
|
|
537
|
-
.api-client-drawer[data-v-
|
|
537
|
+
.api-client-drawer[data-v-5739a677] {
|
|
538
538
|
background: var(--scalar-api-reference-theme-background-1);
|
|
539
539
|
height: calc(100vh - 58px);
|
|
540
540
|
width: calc(100vw - 8px);
|
|
@@ -546,9 +546,9 @@ TODO: Markup is missing
|
|
|
546
546
|
left: 4px;
|
|
547
547
|
z-index: 9999;
|
|
548
548
|
opacity: 0;
|
|
549
|
-
animation: apiclientfadein-
|
|
549
|
+
animation: apiclientfadein-5739a677 0.35s forwards;
|
|
550
550
|
}
|
|
551
|
-
@keyframes apiclientfadein-
|
|
551
|
+
@keyframes apiclientfadein-5739a677 {
|
|
552
552
|
from {
|
|
553
553
|
transform: translate3d(0, 20px, 0) scale(0.985);
|
|
554
554
|
opacity: 0;
|
|
@@ -558,7 +558,7 @@ to {
|
|
|
558
558
|
opacity: 1;
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
|
-
.api-client-drawer-exit[data-v-
|
|
561
|
+
.api-client-drawer-exit[data-v-5739a677] {
|
|
562
562
|
position: fixed;
|
|
563
563
|
top: 0;
|
|
564
564
|
left: 0;
|
|
@@ -568,9 +568,9 @@ to {
|
|
|
568
568
|
transition: all 0.3s ease-in-out;
|
|
569
569
|
z-index: 9998;
|
|
570
570
|
cursor: pointer;
|
|
571
|
-
animation: drawerexitfadein-
|
|
571
|
+
animation: drawerexitfadein-5739a677 0.35s forwards;
|
|
572
572
|
}
|
|
573
|
-
@keyframes drawerexitfadein-
|
|
573
|
+
@keyframes drawerexitfadein-5739a677 {
|
|
574
574
|
from {
|
|
575
575
|
opacity: 0;
|
|
576
576
|
}
|
|
@@ -578,10 +578,10 @@ to {
|
|
|
578
578
|
opacity: 1;
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
.scalar-api-client-height[data-v-
|
|
581
|
+
.scalar-api-client-height[data-v-5739a677] {
|
|
582
582
|
height: 100%;
|
|
583
583
|
}
|
|
584
|
-
.scalar-api-client-height .sidebar[data-v-
|
|
584
|
+
.scalar-api-client-height .sidebar[data-v-5739a677] {
|
|
585
585
|
flex: 1 1 0%;
|
|
586
586
|
flex-grow: 1;
|
|
587
587
|
flex-shrink: 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scalar/api-reference",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"author": "Scalar",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"engines": {
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"typographic-base": "1.0.4",
|
|
43
43
|
"unified": "10.1.2",
|
|
44
44
|
"xmldom": "0.6.0",
|
|
45
|
-
"@scalar/api-client": "0.1.
|
|
45
|
+
"@scalar/api-client": "0.1.10",
|
|
46
46
|
"@scalar/use-clipboard": "0.1.4",
|
|
47
|
-
"@scalar/
|
|
48
|
-
"@scalar/
|
|
47
|
+
"@scalar/swagger-editor": "0.1.6",
|
|
48
|
+
"@scalar/use-tooltip": "0.1.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@vitejs/plugin-vue": "4.2.3",
|