@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarBlurb.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/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"}
|
package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarBlurb.vue.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock, openBlock, renderSlot } from "vue";
|
|
2
|
-
import _export_sfc from "
|
|
2
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
const _sfc_main = {};
|
|
4
4
|
const _hoisted_1 = { class: "text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline" };
|
|
5
5
|
function _sfc_render(_ctx, _cache) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarConfigLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/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,6 +1,7 @@
|
|
|
1
1
|
import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
|
|
2
2
|
type LayoutOptions = {
|
|
3
3
|
showSidebar?: boolean;
|
|
4
|
+
defaultOpenFirstTag?: boolean;
|
|
4
5
|
defaultOpenAllTags?: boolean;
|
|
5
6
|
expandAllModelSections?: boolean;
|
|
6
7
|
expandAllResponses?: boolean;
|
|
@@ -9,6 +10,7 @@ type LayoutOptions = {
|
|
|
9
10
|
hideModels?: boolean;
|
|
10
11
|
hideSearch?: boolean;
|
|
11
12
|
hideTestRequestButton?: boolean;
|
|
13
|
+
showOperationId?: boolean;
|
|
12
14
|
};
|
|
13
15
|
type __VLS_Props = {
|
|
14
16
|
configuration?: Partial<ApiReferenceConfiguration>;
|
package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarConfigLayoutOptions.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue"],"names":[],"mappings":"AA2GA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAE5E,KAAK,aAAa,GAAG;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,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;IAC/B,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,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;AA6QxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -32,79 +32,97 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
modelValue: getValue("showSidebar", true),
|
|
33
33
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = (v) => setValue("showSidebar", !!v, true))
|
|
34
34
|
}, {
|
|
35
|
-
default: withCtx(() => [..._cache[
|
|
35
|
+
default: withCtx(() => [..._cache[11] || (_cache[11] = [
|
|
36
36
|
createTextVNode(" Show Sidebar ", -1)
|
|
37
37
|
])]),
|
|
38
38
|
_: 1
|
|
39
39
|
}, 8, ["modelValue"]),
|
|
40
|
+
createVNode(unref(ScalarToggleInput), {
|
|
41
|
+
modelValue: getValue("defaultOpenFirstTag", true),
|
|
42
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = (v) => setValue("defaultOpenFirstTag", !!v, true))
|
|
43
|
+
}, {
|
|
44
|
+
default: withCtx(() => [..._cache[12] || (_cache[12] = [
|
|
45
|
+
createTextVNode(" Default Open First Tag ", -1)
|
|
46
|
+
])]),
|
|
47
|
+
_: 1
|
|
48
|
+
}, 8, ["modelValue"]),
|
|
40
49
|
createVNode(unref(ScalarToggleInput), {
|
|
41
50
|
modelValue: getValue("defaultOpenAllTags"),
|
|
42
|
-
"onUpdate:modelValue": _cache[
|
|
51
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = (v) => setValue("defaultOpenAllTags", !!v))
|
|
43
52
|
}, {
|
|
44
|
-
default: withCtx(() => [..._cache[
|
|
53
|
+
default: withCtx(() => [..._cache[13] || (_cache[13] = [
|
|
45
54
|
createTextVNode(" Default Open All Tags ", -1)
|
|
46
55
|
])]),
|
|
47
56
|
_: 1
|
|
48
57
|
}, 8, ["modelValue"]),
|
|
49
58
|
createVNode(unref(ScalarToggleInput), {
|
|
50
59
|
modelValue: getValue("expandAllModelSections"),
|
|
51
|
-
"onUpdate:modelValue": _cache[
|
|
60
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = (v) => setValue("expandAllModelSections", !!v))
|
|
52
61
|
}, {
|
|
53
|
-
default: withCtx(() => [..._cache[
|
|
62
|
+
default: withCtx(() => [..._cache[14] || (_cache[14] = [
|
|
54
63
|
createTextVNode(" Expand All Model Sections ", -1)
|
|
55
64
|
])]),
|
|
56
65
|
_: 1
|
|
57
66
|
}, 8, ["modelValue"]),
|
|
58
67
|
createVNode(unref(ScalarToggleInput), {
|
|
59
68
|
modelValue: getValue("expandAllResponses"),
|
|
60
|
-
"onUpdate:modelValue": _cache[
|
|
69
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = (v) => setValue("expandAllResponses", !!v))
|
|
61
70
|
}, {
|
|
62
|
-
default: withCtx(() => [..._cache[
|
|
71
|
+
default: withCtx(() => [..._cache[15] || (_cache[15] = [
|
|
63
72
|
createTextVNode(" Expand All Responses ", -1)
|
|
64
73
|
])]),
|
|
65
74
|
_: 1
|
|
66
75
|
}, 8, ["modelValue"]),
|
|
67
76
|
createVNode(unref(ScalarToggleInput), {
|
|
68
77
|
modelValue: getValue("hideClientButton"),
|
|
69
|
-
"onUpdate:modelValue": _cache[
|
|
78
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = (v) => setValue("hideClientButton", !!v))
|
|
70
79
|
}, {
|
|
71
|
-
default: withCtx(() => [..._cache[
|
|
80
|
+
default: withCtx(() => [..._cache[16] || (_cache[16] = [
|
|
72
81
|
createTextVNode(" Hide Client Button ", -1)
|
|
73
82
|
])]),
|
|
74
83
|
_: 1
|
|
75
84
|
}, 8, ["modelValue"]),
|
|
76
85
|
createVNode(unref(ScalarToggleInput), {
|
|
77
86
|
modelValue: getValue("hideDarkModeToggle"),
|
|
78
|
-
"onUpdate:modelValue": _cache[
|
|
87
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = (v) => setValue("hideDarkModeToggle", !!v))
|
|
79
88
|
}, {
|
|
80
|
-
default: withCtx(() => [..._cache[
|
|
89
|
+
default: withCtx(() => [..._cache[17] || (_cache[17] = [
|
|
81
90
|
createTextVNode(" Hide Dark Mode Toggle ", -1)
|
|
82
91
|
])]),
|
|
83
92
|
_: 1
|
|
84
93
|
}, 8, ["modelValue"]),
|
|
85
94
|
createVNode(unref(ScalarToggleInput), {
|
|
86
95
|
modelValue: getValue("hideModels"),
|
|
87
|
-
"onUpdate:modelValue": _cache[
|
|
96
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = (v) => setValue("hideModels", !!v))
|
|
88
97
|
}, {
|
|
89
|
-
default: withCtx(() => [..._cache[
|
|
98
|
+
default: withCtx(() => [..._cache[18] || (_cache[18] = [
|
|
90
99
|
createTextVNode(" Hide Models ", -1)
|
|
91
100
|
])]),
|
|
92
101
|
_: 1
|
|
93
102
|
}, 8, ["modelValue"]),
|
|
94
103
|
createVNode(unref(ScalarToggleInput), {
|
|
95
104
|
modelValue: getValue("hideSearch"),
|
|
96
|
-
"onUpdate:modelValue": _cache[
|
|
105
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = (v) => setValue("hideSearch", !!v))
|
|
97
106
|
}, {
|
|
98
|
-
default: withCtx(() => [..._cache[
|
|
107
|
+
default: withCtx(() => [..._cache[19] || (_cache[19] = [
|
|
99
108
|
createTextVNode(" Hide Search ", -1)
|
|
100
109
|
])]),
|
|
101
110
|
_: 1
|
|
102
111
|
}, 8, ["modelValue"]),
|
|
112
|
+
createVNode(unref(ScalarToggleInput), {
|
|
113
|
+
modelValue: getValue("showOperationId"),
|
|
114
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = (v) => setValue("showOperationId", !!v))
|
|
115
|
+
}, {
|
|
116
|
+
default: withCtx(() => [..._cache[20] || (_cache[20] = [
|
|
117
|
+
createTextVNode(" Show Operation ID ", -1)
|
|
118
|
+
])]),
|
|
119
|
+
_: 1
|
|
120
|
+
}, 8, ["modelValue"]),
|
|
103
121
|
createVNode(unref(ScalarToggleInput), {
|
|
104
122
|
modelValue: getValue("hideTestRequestButton"),
|
|
105
|
-
"onUpdate:modelValue": _cache[
|
|
123
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = (v) => setValue("hideTestRequestButton", !!v))
|
|
106
124
|
}, {
|
|
107
|
-
default: withCtx(() => [..._cache[
|
|
125
|
+
default: withCtx(() => [..._cache[21] || (_cache[21] = [
|
|
108
126
|
createTextVNode(" Hide Test Request Button ", -1)
|
|
109
127
|
])]),
|
|
110
128
|
_: 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarConfigTheme.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarPopover.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/ApiReferenceToolbarPopover.vue"],"names":[],"mappings":"AA0LA,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"}
|
package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarRegisterButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/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,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, mergeModels, useModel, createBlock, openBlock, unref, withCtx, renderSlot, createTextVNode, nextTick } from "vue";
|
|
2
2
|
import { useLoadingState, ScalarButton } from "@scalar/components";
|
|
3
3
|
import { useToasts } from "@scalar/use-toasts";
|
|
4
|
-
import { DASHBOARD_REGISTER_URL } from "
|
|
5
|
-
import { uploadTempDocument } from "
|
|
4
|
+
import { DASHBOARD_REGISTER_URL } from "../../../consts/urls.js";
|
|
5
|
+
import { uploadTempDocument } from "../../../helpers/upload-temp-document.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "ApiReferenceToolbarRegisterButton",
|
|
8
8
|
props: /* @__PURE__ */ mergeModels({
|
package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarShareRegister.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAKpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;CAC1B,CAAC;AAkGF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
package/dist/features/{toolbar → developer-tools/components}/ApiReferenceToolbarShareRegister.vue.js
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, renderList, createBlock, createTextVNode, resolveDynamicComponent, toDisplayString, withCtx } from "vue";
|
|
2
|
-
import { ScalarIconGlobeSimple, ScalarIconGitBranch, ScalarIconFileMd,
|
|
2
|
+
import { ScalarIconLockSimple, ScalarIconGlobeSimple, ScalarIconBookOpen, ScalarIconCloud, ScalarIconGitBranch, ScalarIconFileMd, ScalarIconWarningOctagon, ScalarIconBracketsCurly } from "@scalar/icons";
|
|
3
3
|
import ApiReferenceToolbarBlurb from "./ApiReferenceToolbarBlurb.vue.js";
|
|
4
4
|
import _sfc_main$1 from "./ApiReferenceToolbarRegisterButton.vue.js";
|
|
5
|
-
const _hoisted_1 = { class: "text-c-2 grid grid-cols-2 gap-2.5 font-medium" };
|
|
5
|
+
const _hoisted_1 = { class: "text-c-2 mb-2 grid grid-cols-2 gap-2.5 font-medium" };
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "ApiReferenceToolbarShareRegister",
|
|
8
8
|
props: {
|
|
@@ -10,12 +10,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
},
|
|
11
11
|
setup(__props) {
|
|
12
12
|
const FEATURES = [
|
|
13
|
+
{ icon: ScalarIconLockSimple, label: "Password Protection" },
|
|
13
14
|
{ icon: ScalarIconGlobeSimple, label: "Custom Domains" },
|
|
14
|
-
{ icon:
|
|
15
|
+
{ icon: ScalarIconBookOpen, label: "Free-form content" },
|
|
16
|
+
{ icon: ScalarIconCloud, label: "CDN Infrastructure" },
|
|
17
|
+
{ icon: ScalarIconGitBranch, label: "Pull from GitHub" },
|
|
15
18
|
{ icon: ScalarIconFileMd, label: "Markdown/MDX" },
|
|
16
|
-
{ icon: ScalarIconLockSimple, label: "Password Protection" },
|
|
17
19
|
{ icon: ScalarIconWarningOctagon, label: "Spectral Linting" },
|
|
18
|
-
{ icon: ScalarIconBracketsCurly, label: "JSON Schema
|
|
20
|
+
{ icon: ScalarIconBracketsCurly, label: "JSON Schema Hosting" }
|
|
19
21
|
];
|
|
20
22
|
return (_ctx, _cache) => {
|
|
21
23
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -41,11 +43,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
43
|
}, 8, ["workspace"]),
|
|
42
44
|
createVNode(ApiReferenceToolbarBlurb, null, {
|
|
43
45
|
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
44
|
-
createTextVNode("
|
|
46
|
+
createTextVNode(" Deploy your documentation for free. ", -1),
|
|
47
|
+
createElementVNode("br", null, null, -1),
|
|
48
|
+
createTextVNode(" Additional features might require ", -1),
|
|
45
49
|
createElementVNode("a", {
|
|
46
|
-
href: "https://scalar.com/",
|
|
50
|
+
href: "https://scalar.com/products/docs/getting-started",
|
|
47
51
|
target: "_blank"
|
|
48
|
-
}, "
|
|
52
|
+
}, "Scalar Pro", -1),
|
|
49
53
|
createTextVNode(". ", -1)
|
|
50
54
|
])]),
|
|
51
55
|
_: 1
|
package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarShareTemporary.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue"],"names":[],"mappings":"AAiFA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAOpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;CAC1B,CAAC;AAqCF,KAAK,gBAAgB,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAqFxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { defineComponent, mergeModels, useModel, createElementBlock, openBlock, Fragment, createBlock, createVNode, unref, withCtx, createTextVNode } from "vue";
|
|
2
|
+
import { useLoadingState, ScalarTextInputCopy, ScalarButton } from "@scalar/components";
|
|
3
|
+
import { useToasts } from "@scalar/use-toasts";
|
|
4
|
+
import { REGISTRY_SHARE_URL } from "../../../consts/urls.js";
|
|
5
|
+
import { uploadTempDocument } from "../../../helpers/upload-temp-document.js";
|
|
6
|
+
import ApiReferenceToolbarBlurb from "./ApiReferenceToolbarBlurb.vue.js";
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "ApiReferenceToolbarShareTemporary",
|
|
9
|
+
props: /* @__PURE__ */ mergeModels({
|
|
10
|
+
workspace: {}
|
|
11
|
+
}, {
|
|
12
|
+
"url": {},
|
|
13
|
+
"urlModifiers": {}
|
|
14
|
+
}),
|
|
15
|
+
emits: ["update:url"],
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const { toast } = useToasts();
|
|
18
|
+
const loader = useLoadingState();
|
|
19
|
+
const tempDocUrl = useModel(__props, "url");
|
|
20
|
+
async function generateTemporaryLink() {
|
|
21
|
+
if (loader.isLoading || !__props.workspace || !!tempDocUrl.value) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
loader.start();
|
|
25
|
+
const document = __props.workspace.exportActiveDocument("json");
|
|
26
|
+
if (!document) {
|
|
27
|
+
toast("Unable to export active document", "error");
|
|
28
|
+
await loader.invalidate();
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
try {
|
|
32
|
+
const url = await uploadTempDocument(document);
|
|
33
|
+
await loader.validate({ duration: 900, persist: true });
|
|
34
|
+
tempDocUrl.value = url;
|
|
35
|
+
} catch (error) {
|
|
36
|
+
const message = error instanceof Error ? error.message : "An unknown error occurred";
|
|
37
|
+
toast(message, "error");
|
|
38
|
+
await loader.invalidate();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return (_ctx, _cache) => {
|
|
42
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
43
|
+
tempDocUrl.value ? (openBlock(), createBlock(unref(ScalarTextInputCopy), {
|
|
44
|
+
key: 0,
|
|
45
|
+
immediate: "",
|
|
46
|
+
modelValue: tempDocUrl.value,
|
|
47
|
+
name: "temporary-link",
|
|
48
|
+
placeholder: `${unref(REGISTRY_SHARE_URL)}/apis/…`
|
|
49
|
+
}, null, 8, ["modelValue", "placeholder"])) : (openBlock(), createBlock(unref(ScalarButton), {
|
|
50
|
+
key: 1,
|
|
51
|
+
class: "h-auto p-2.5",
|
|
52
|
+
loader: unref(loader),
|
|
53
|
+
variant: "gradient",
|
|
54
|
+
onClick: generateTemporaryLink
|
|
55
|
+
}, {
|
|
56
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
57
|
+
createTextVNode(" Upload Document ", -1)
|
|
58
|
+
])]),
|
|
59
|
+
_: 1
|
|
60
|
+
}, 8, ["loader"])),
|
|
61
|
+
createVNode(ApiReferenceToolbarBlurb, { class: "-mt-1" }, {
|
|
62
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
63
|
+
createTextVNode(" Your document will automatically be deleted after 7 days. ", -1)
|
|
64
|
+
])]),
|
|
65
|
+
_: 1
|
|
66
|
+
})
|
|
67
|
+
], 64);
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
export {
|
|
72
|
+
_sfc_main as default
|
|
73
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiReferenceToolbarTitle.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/ApiReferenceToolbarTitle.vue"],"names":[],"mappings":"AA+LA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -5,4 +5,4 @@ type __VLS_Props = {
|
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
export default _default;
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=DeployApiReference.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeployApiReference.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/DeployApiReference.vue"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAKpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;CAC1B,CAAC;AAiEF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent, createBlock, openBlock, withCtx, createVNode, unref, createElementVNode, createTextVNode } from "vue";
|
|
2
|
+
import { ScalarFormSection } from "@scalar/components";
|
|
3
|
+
import _sfc_main$1 from "./ApiReferenceToolbarPopover.vue.js";
|
|
4
|
+
import _sfc_main$2 from "./ApiReferenceToolbarShareRegister.vue.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "DeployApiReference",
|
|
7
|
+
props: {
|
|
8
|
+
workspace: {}
|
|
9
|
+
},
|
|
10
|
+
setup(__props) {
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return openBlock(), createBlock(_sfc_main$1, { class: "w-120" }, {
|
|
13
|
+
label: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
14
|
+
createTextVNode("Deploy", -1)
|
|
15
|
+
])]),
|
|
16
|
+
default: withCtx(() => [
|
|
17
|
+
createVNode(unref(ScalarFormSection), null, {
|
|
18
|
+
label: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
19
|
+
createTextVNode("Scalar Docs", -1)
|
|
20
|
+
])]),
|
|
21
|
+
default: withCtx(() => [
|
|
22
|
+
_cache[2] || (_cache[2] = createElementVNode("p", { class: "text-c-2 mb-2 leading-normal" }, " Deploy your documentation on Scalar, the modern documentation platform for your API and everything else. ", -1)),
|
|
23
|
+
createVNode(_sfc_main$2, { workspace: __props.workspace }, null, 8, ["workspace"])
|
|
24
|
+
]),
|
|
25
|
+
_: 1
|
|
26
|
+
})
|
|
27
|
+
]),
|
|
28
|
+
_: 1
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
_sfc_main as default
|
|
35
|
+
};
|
|
@@ -13,4 +13,4 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
13
13
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
15
15
|
export default _default;
|
|
16
|
-
//# sourceMappingURL=
|
|
16
|
+
//# sourceMappingURL=ModifyConfiguration.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModifyConfiguration.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/ModifyConfiguration.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"}
|
|
@@ -7,7 +7,7 @@ import _sfc_main$2 from "./ApiReferenceToolbarConfigTheme.vue.js";
|
|
|
7
7
|
import _sfc_main$1 from "./ApiReferenceToolbarPopover.vue.js";
|
|
8
8
|
const _hoisted_1 = { class: "flex flex-col gap-4" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
-
__name: "
|
|
10
|
+
__name: "ModifyConfiguration",
|
|
11
11
|
props: /* @__PURE__ */ mergeModels({
|
|
12
12
|
configuration: {}
|
|
13
13
|
}, {
|
|
@@ -5,4 +5,4 @@ type __VLS_Props = {
|
|
|
5
5
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
declare const _default: typeof __VLS_export;
|
|
7
7
|
export default _default;
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=ShareApiReference.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShareApiReference.vue.d.ts","sourceRoot":"","sources":["../../../../src/features/developer-tools/components/ShareApiReference.vue"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAKpE,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,cAAc,CAAA;CAC1B,CAAC;AAiEF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { defineComponent, createBlock, openBlock, withCtx, createVNode, unref, createTextVNode } from "vue";
|
|
1
|
+
import { defineComponent, createBlock, openBlock, withCtx, createVNode, unref, createElementVNode, createTextVNode } from "vue";
|
|
2
2
|
import { ScalarFormSection } from "@scalar/components";
|
|
3
3
|
import _sfc_main$1 from "./ApiReferenceToolbarPopover.vue.js";
|
|
4
|
-
import _sfc_main$3 from "./ApiReferenceToolbarShareRegister.vue.js";
|
|
5
4
|
import _sfc_main$2 from "./ApiReferenceToolbarShareTemporary.vue.js";
|
|
6
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "
|
|
6
|
+
__name: "ShareApiReference",
|
|
8
7
|
props: {
|
|
9
8
|
workspace: {}
|
|
10
9
|
},
|
|
@@ -17,21 +16,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
16
|
default: withCtx(() => [
|
|
18
17
|
createVNode(unref(ScalarFormSection), null, {
|
|
19
18
|
label: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
20
|
-
createTextVNode("
|
|
19
|
+
createTextVNode("Share your API Reference", -1)
|
|
21
20
|
])]),
|
|
22
21
|
default: withCtx(() => [
|
|
22
|
+
_cache[2] || (_cache[2] = createElementVNode("p", { class: "text-c-2 mb-2 leading-normal" }, " Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button. ", -1)),
|
|
23
23
|
createVNode(_sfc_main$2, { workspace: __props.workspace }, null, 8, ["workspace"])
|
|
24
24
|
]),
|
|
25
25
|
_: 1
|
|
26
|
-
}),
|
|
27
|
-
createVNode(unref(ScalarFormSection), null, {
|
|
28
|
-
label: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
29
|
-
createTextVNode("Cloud Hosting", -1)
|
|
30
|
-
])]),
|
|
31
|
-
default: withCtx(() => [
|
|
32
|
-
createVNode(_sfc_main$3, { workspace: __props.workspace }, null, 8, ["workspace"])
|
|
33
|
-
]),
|
|
34
|
-
_: 1
|
|
35
26
|
})
|
|
36
27
|
]),
|
|
37
28
|
_: 1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/developer-tools/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
|
package/dist/features/index.d.ts
CHANGED
|
@@ -2,5 +2,4 @@ export { default as DocumentSelector } from './multiple-documents/DocumentSelect
|
|
|
2
2
|
export { Operation } from './Operation';
|
|
3
3
|
export { default as SearchButton } from './Search/components/SearchButton.vue.js';
|
|
4
4
|
export { getXKeysFromObject } from './specification-extension';
|
|
5
|
-
export { default as ApiReferenceToolbar } from './toolbar/ApiReferenceToolbar.vue.js';
|
|
6
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/features/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAA;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/features/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAA;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA"}
|
package/dist/features/index.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { default as default2 } from "./multiple-documents/DocumentSelector.vue.js";
|
|
2
2
|
import { default as default3 } from "./Search/components/SearchButton.vue.js";
|
|
3
|
-
import { default as default4 } from "./
|
|
4
|
-
import { default as default5 } from "./Operation/Operation.vue.js";
|
|
3
|
+
import { default as default4 } from "./Operation/Operation.vue.js";
|
|
5
4
|
import { getXKeysFromObject } from "./specification-extension/helpers.js";
|
|
6
5
|
export {
|
|
7
|
-
default4 as ApiReferenceToolbar,
|
|
8
6
|
default2 as DocumentSelector,
|
|
9
|
-
|
|
7
|
+
default4 as Operation,
|
|
10
8
|
default3 as SearchButton,
|
|
11
9
|
getXKeysFromObject
|
|
12
10
|
};
|