@scalar/api-reference 1.33.0 → 1.34.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 +29 -0
- package/dist/browser/standalone.js +13260 -13196
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Anchor/WithBreadcrumb.vue.d.ts +24 -0
- package/dist/components/Anchor/WithBreadcrumb.vue.d.ts.map +1 -0
- package/dist/components/Anchor/WithBreadcrumb.vue.js +4 -0
- package/dist/components/Anchor/WithBreadcrumb.vue2.js +46 -0
- package/dist/components/Anchor/index.d.ts +1 -0
- package/dist/components/Anchor/index.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.js +1 -1
- package/dist/components/ApiReferenceLayout.vue2.js +184 -201
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.js +1 -1
- package/dist/components/Content/Introduction/Introduction.vue2.js +1 -0
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts +1 -0
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.js +34 -32
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +33 -29
- package/dist/components/Content/Operations/get-current-index.d.ts +4 -0
- package/dist/components/Content/Operations/get-current-index.d.ts.map +1 -0
- package/dist/components/Content/Operations/get-current-index.js +16 -0
- package/dist/components/Content/Schema/Schema.preview.d.ts +28 -0
- package/dist/components/Content/Schema/Schema.preview.d.ts.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 +2 -2
- package/dist/components/Content/Schema/Schema.vue2.js +164 -157
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +1 -0
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.js +58 -53
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts +1 -0
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +52 -40
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts +1 -0
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +2 -2
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +100 -87
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +3 -3
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +4 -1
- package/dist/components/Lazy/Lazy.vue.d.ts +1 -0
- package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -1
- package/dist/components/Lazy/Lazy.vue2.js +12 -11
- package/dist/components/Lazy/lazyBus.d.ts +5 -3
- package/dist/components/Lazy/lazyBus.d.ts.map +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.d.ts.map +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.js +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts +4 -4
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.d.ts +1 -0
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.js +49 -43
- package/dist/features/Operation/components/OperationResponses.vue.d.ts +1 -0
- package/dist/features/Operation/components/OperationResponses.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.js +4 -3
- package/dist/features/Operation/components/ParameterHeaders.vue.d.ts +1 -0
- package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterHeaders.vue.js +2 -2
- package/dist/features/Operation/components/ParameterHeaders.vue2.js +28 -26
- package/dist/features/Operation/components/ParameterList.vue.d.ts +1 -0
- package/dist/features/Operation/components/ParameterList.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterList.vue.js +2 -2
- package/dist/features/Operation/components/ParameterList.vue2.js +17 -15
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts +1 -0
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +2 -2
- package/dist/features/Operation/components/ParameterListItem.vue2.js +17 -16
- package/dist/features/Operation/components/RequestBody.vue.d.ts +2 -2
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +2 -2
- package/dist/features/Operation/components/RequestBody.vue2.js +47 -39
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts +1 -0
- package/dist/features/Operation/components/callbacks/Callback.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +3 -3
- package/dist/features/Operation/components/callbacks/Callback.vue2.js +12 -11
- package/dist/features/Operation/components/callbacks/Callback.vue3.js +2 -2
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +63 -61
- package/dist/features/Search/{SearchButton.vue.d.ts → components/SearchButton.vue.d.ts} +0 -2
- package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -0
- package/dist/features/Search/components/SearchButton.vue.js +65 -0
- package/dist/features/Search/{SearchModal.vue.d.ts → components/SearchModal.vue.d.ts} +0 -2
- package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -0
- package/dist/features/Search/components/SearchModal.vue.js +7 -0
- package/dist/features/Search/components/SearchModal.vue2.js +199 -0
- package/dist/features/Search/helpers/create-fuse-instance.d.ts +9 -0
- package/dist/features/Search/helpers/create-fuse-instance.d.ts.map +1 -0
- package/dist/features/Search/helpers/create-fuse-instance.js +46 -0
- package/dist/features/Search/helpers/create-search-index.d.ts +7 -0
- package/dist/features/Search/helpers/create-search-index.d.ts.map +1 -0
- package/dist/features/Search/helpers/create-search-index.js +109 -0
- package/dist/features/Search/hooks/useSearchIndex.d.ts +14 -0
- package/dist/features/Search/hooks/useSearchIndex.d.ts.map +1 -0
- package/dist/features/Search/hooks/useSearchIndex.js +46 -0
- package/dist/features/Search/index.d.ts +2 -2
- package/dist/features/Search/index.d.ts.map +1 -1
- package/dist/features/Search/types.d.ts +15 -0
- package/dist/features/Search/types.d.ts.map +1 -0
- package/dist/features/api-client-modal/useApiClient.d.ts +14 -14
- package/dist/features/api-client-modal/useApiClient.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-paths.d.ts +3 -1
- package/dist/features/traverse-schema/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-schemas.js +18 -18
- package/dist/features/traverse-schema/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/features/traverse-schema/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/features/traverse-schema/types.d.ts +10 -6
- package/dist/features/traverse-schema/types.d.ts.map +1 -1
- package/dist/helpers/test-utils.d.ts +9 -0
- package/dist/helpers/test-utils.d.ts.map +1 -1
- package/dist/hooks/useNavState.d.ts +4 -1
- package/dist/hooks/useNavState.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -19
- package/dist/libs/openapi.d.ts +11 -8
- package/dist/libs/openapi.d.ts.map +1 -1
- package/dist/libs/openapi.js +34 -55
- package/dist/style.css +1 -1
- package/dist/types.d.ts +1 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
- package/dist/v2/ApiReferenceWorkspace.vue.js +120 -111
- package/dist/v2/helpers/get-document-name.d.ts +13 -0
- package/dist/v2/helpers/get-document-name.d.ts.map +1 -0
- package/dist/v2/helpers/get-document-name.js +15 -0
- package/dist/v2/helpers/normalize-content.d.ts +3 -0
- package/dist/v2/helpers/normalize-content.d.ts.map +1 -0
- package/dist/v2/helpers/normalize-content.js +8 -0
- package/package.json +14 -8
- package/dist/features/Search/SearchButton.vue.d.ts.map +0 -1
- package/dist/features/Search/SearchButton.vue.js +0 -66
- package/dist/features/Search/SearchModal.vue.d.ts.map +0 -1
- package/dist/features/Search/SearchModal.vue.js +0 -7
- package/dist/features/Search/SearchModal.vue2.js +0 -207
- package/dist/features/Search/useSearchIndex.d.ts +0 -32
- package/dist/features/Search/useSearchIndex.d.ts.map +0 -1
- package/dist/features/Search/useSearchIndex.js +0 -170
- package/dist/helpers/parse.d.ts +0 -10
- package/dist/helpers/parse.d.ts.map +0 -1
- package/dist/helpers/parse.js +0 -81
- /package/dist/features/Search/{SearchButton.vue2.js → components/SearchButton.vue2.js} +0 -0
- /package/dist/features/Search/{SearchModal.vue3.js → components/SearchModal.vue3.js} +0 -0
|
@@ -1,92 +1,104 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as V, computed as k, createElementBlock as d, openBlock as a, Fragment as l, createCommentVNode as c, createBlock as p, renderList as y } from "vue";
|
|
2
|
+
import h from "./SchemaProperty.vue.js";
|
|
3
|
+
const j = /* @__PURE__ */ V({
|
|
4
4
|
__name: "SchemaObjectProperties",
|
|
5
5
|
props: {
|
|
6
6
|
schema: { type: [Object, Boolean] },
|
|
7
7
|
compact: { type: Boolean },
|
|
8
8
|
hideHeading: { type: Boolean },
|
|
9
|
-
level: {
|
|
10
|
-
hideModelNames: { type: Boolean
|
|
9
|
+
level: {},
|
|
10
|
+
hideModelNames: { type: Boolean },
|
|
11
11
|
schemas: {},
|
|
12
12
|
discriminator: {},
|
|
13
13
|
discriminatorMapping: {},
|
|
14
14
|
discriminatorPropertyName: {},
|
|
15
|
-
hasDiscriminator: { type: Boolean }
|
|
15
|
+
hasDiscriminator: { type: Boolean },
|
|
16
|
+
breadcrumb: {}
|
|
16
17
|
},
|
|
17
18
|
emits: ["update:modelValue"],
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
setup(s, { emit: v }) {
|
|
20
|
+
const P = v, M = k(() => {
|
|
21
|
+
if (!s.schema.properties)
|
|
22
|
+
return [];
|
|
23
|
+
const e = Object.keys(s.schema.properties), t = new Set(s.schema.required || []);
|
|
24
|
+
return e.sort((r, i) => {
|
|
25
|
+
const m = t.has(r), o = t.has(i);
|
|
26
|
+
return m && !o ? -1 : !m && o ? 1 : r.localeCompare(i);
|
|
27
|
+
});
|
|
28
|
+
}), n = (e) => {
|
|
29
|
+
P("update:modelValue", e);
|
|
30
|
+
}, f = (e) => typeof e == "object" && typeof e["x-additionalPropertiesName"] == "string" && e["x-additionalPropertiesName"].trim().length > 0 ? `${e["x-additionalPropertiesName"].trim()}*` : "propertyName*", u = (e) => e === !0 || typeof e == "object" && Object.keys(e).length === 0 || typeof e != "object" || !("type" in e) ? {
|
|
22
31
|
type: "anything",
|
|
23
32
|
...typeof e == "object" ? e : {}
|
|
24
33
|
} : e;
|
|
25
|
-
return (e,
|
|
26
|
-
e.schema.properties ? (
|
|
27
|
-
var
|
|
28
|
-
return
|
|
29
|
-
key:
|
|
34
|
+
return (e, t) => (a(), d(l, null, [
|
|
35
|
+
e.schema.properties ? (a(!0), d(l, { key: 0 }, y(M.value, (r) => {
|
|
36
|
+
var i, m, o, N, b, g;
|
|
37
|
+
return a(), p(h, {
|
|
38
|
+
key: r,
|
|
39
|
+
breadcrumb: e.breadcrumb,
|
|
30
40
|
compact: e.compact,
|
|
31
41
|
hideHeading: e.hideHeading,
|
|
32
42
|
level: e.level,
|
|
33
|
-
name:
|
|
43
|
+
name: r,
|
|
34
44
|
hideModelNames: e.hideModelNames,
|
|
35
|
-
required: ((
|
|
45
|
+
required: ((i = e.schema.required) == null ? void 0 : i.includes(r)) || ((m = e.schema.properties[r]) == null ? void 0 : m.required) === !0,
|
|
36
46
|
schemas: e.schemas,
|
|
37
|
-
resolvedSchema: e.schema.properties[
|
|
47
|
+
resolvedSchema: e.schema.properties[r],
|
|
38
48
|
value: {
|
|
39
|
-
...e.schema.properties[
|
|
49
|
+
...e.schema.properties[r],
|
|
40
50
|
parent: e.schema,
|
|
41
|
-
isDiscriminator:
|
|
51
|
+
isDiscriminator: r === e.discriminatorPropertyName || ((o = e.schema.discriminator) == null ? void 0 : o.propertyName) === r
|
|
42
52
|
},
|
|
43
|
-
discriminatorMapping: ((
|
|
44
|
-
discriminatorPropertyName: ((
|
|
45
|
-
isDiscriminator:
|
|
53
|
+
discriminatorMapping: ((N = e.schema.discriminator) == null ? void 0 : N.mapping) || e.discriminatorMapping,
|
|
54
|
+
discriminatorPropertyName: ((b = e.schema.discriminator) == null ? void 0 : b.propertyName) || e.discriminatorPropertyName,
|
|
55
|
+
isDiscriminator: r === (((g = e.schema.discriminator) == null ? void 0 : g.propertyName) || e.discriminatorPropertyName),
|
|
46
56
|
modelValue: e.discriminator,
|
|
47
|
-
"onUpdate:modelValue":
|
|
48
|
-
}, null, 8, ["compact", "hideHeading", "level", "name", "hideModelNames", "required", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "isDiscriminator", "modelValue"]);
|
|
49
|
-
}), 128)) :
|
|
50
|
-
e.schema.patternProperties ? (
|
|
51
|
-
|
|
57
|
+
"onUpdate:modelValue": n
|
|
58
|
+
}, null, 8, ["breadcrumb", "compact", "hideHeading", "level", "name", "hideModelNames", "required", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "isDiscriminator", "modelValue"]);
|
|
59
|
+
}), 128)) : c("", !0),
|
|
60
|
+
e.schema.patternProperties ? (a(!0), d(l, { key: 1 }, y(Object.keys(e.schema.patternProperties), (r) => (a(), p(h, {
|
|
61
|
+
breadcrumb: e.breadcrumb,
|
|
62
|
+
key: r,
|
|
52
63
|
variant: "patternProperties",
|
|
53
64
|
compact: e.compact,
|
|
54
65
|
hideHeading: e.hideHeading,
|
|
55
66
|
level: e.level,
|
|
56
|
-
name:
|
|
67
|
+
name: r,
|
|
57
68
|
hideModelNames: e.hideModelNames,
|
|
58
69
|
schemas: e.schemas,
|
|
59
|
-
resolvedSchema: e.schema.patternProperties[
|
|
70
|
+
resolvedSchema: e.schema.patternProperties[r],
|
|
60
71
|
value: {
|
|
61
|
-
...e.schema.patternProperties[
|
|
72
|
+
...e.schema.patternProperties[r]
|
|
62
73
|
},
|
|
63
74
|
discriminatorMapping: e.discriminatorMapping,
|
|
64
75
|
discriminatorPropertyName: e.discriminatorPropertyName,
|
|
65
76
|
isDiscriminator: !1,
|
|
66
77
|
modelValue: e.discriminator,
|
|
67
|
-
"onUpdate:modelValue":
|
|
68
|
-
}, null, 8, ["compact", "hideHeading", "level", "name", "hideModelNames", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"]))), 128)) :
|
|
69
|
-
e.schema.additionalProperties ? (
|
|
78
|
+
"onUpdate:modelValue": n
|
|
79
|
+
}, null, 8, ["breadcrumb", "compact", "hideHeading", "level", "name", "hideModelNames", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"]))), 128)) : c("", !0),
|
|
80
|
+
e.schema.additionalProperties ? (a(), p(h, {
|
|
70
81
|
key: 2,
|
|
82
|
+
breadcrumb: e.breadcrumb,
|
|
71
83
|
variant: "additionalProperties",
|
|
72
84
|
compact: e.compact,
|
|
73
85
|
hideHeading: e.hideHeading,
|
|
74
86
|
level: e.level,
|
|
75
|
-
name:
|
|
87
|
+
name: f(e.schema.additionalProperties),
|
|
76
88
|
hideModelNames: e.hideModelNames,
|
|
77
89
|
schemas: e.schemas,
|
|
78
|
-
resolvedSchema:
|
|
79
|
-
value:
|
|
90
|
+
resolvedSchema: u(e.schema.additionalProperties),
|
|
91
|
+
value: u(e.schema.additionalProperties),
|
|
80
92
|
discriminatorMapping: e.discriminatorMapping,
|
|
81
93
|
discriminatorPropertyName: e.discriminatorPropertyName,
|
|
82
94
|
isDiscriminator: !1,
|
|
83
95
|
modelValue: e.discriminator,
|
|
84
96
|
noncollapsible: "",
|
|
85
|
-
"onUpdate:modelValue":
|
|
86
|
-
}, null, 8, ["compact", "hideHeading", "level", "name", "hideModelNames", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"])) :
|
|
97
|
+
"onUpdate:modelValue": n
|
|
98
|
+
}, null, 8, ["breadcrumb", "compact", "hideHeading", "level", "name", "hideModelNames", "schemas", "resolvedSchema", "value", "discriminatorMapping", "discriminatorPropertyName", "modelValue"])) : c("", !0)
|
|
87
99
|
], 64));
|
|
88
100
|
}
|
|
89
101
|
});
|
|
90
102
|
export {
|
|
91
|
-
|
|
103
|
+
j as default
|
|
92
104
|
};
|
|
@@ -23,6 +23,7 @@ type __VLS_Props = {
|
|
|
23
23
|
discriminatorPropertyName?: string;
|
|
24
24
|
isDiscriminator?: boolean;
|
|
25
25
|
variant?: 'additionalProperties' | 'patternProperties';
|
|
26
|
+
breadcrumb?: string[];
|
|
26
27
|
};
|
|
27
28
|
declare const _default_1: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
28
29
|
"update:modelValue": (value: string) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaProperty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaProperty.vue"],"names":[],"mappings":"AAuiBA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAItD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAgBjE;;;;;GAKG;AAEH,KAAK,WAAW,GAAG;IACf,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,sBAAsB,GAAG,mBAAmB,CAAA;IACtD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CACtB,CAAC;;;;;;cAZW,OAAO;WAFV,MAAM;aAGJ,OAAO;oBAGA,OAAO;kBADT,OAAO;;AAuiB1B,0BASG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SchemaProperty.vue2.js";
|
|
2
2
|
import "./SchemaProperty.vue3.js";
|
|
3
3
|
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ r(o, [["__scopeId", "data-v-705ef8bd"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as z, computed as m, inject as Z, createBlock as u, openBlock as a, resolveDynamicComponent as L, normalizeClass as X, withCtx as b, createCommentVNode as l, createElementBlock as o, createVNode as d, createSlots as G, unref as y, toDisplayString as f, Fragment as h, createTextVNode as V, renderList as J } from "vue";
|
|
2
2
|
import { ScalarMarkdown as D } from "@scalar/components";
|
|
3
|
-
import { isTypeObject as
|
|
4
|
-
import { DISCRIMINATOR_CONTEXT as
|
|
5
|
-
import { optimizeValueForDisplay as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
3
|
+
import { isTypeObject as K } from "./helpers/is-type-object.js";
|
|
4
|
+
import { DISCRIMINATOR_CONTEXT as Q } from "../../../hooks/useDiscriminator.js";
|
|
5
|
+
import { optimizeValueForDisplay as W, compositions as Y } from "./helpers/optimize-value-for-display.js";
|
|
6
|
+
import H from "./Schema.vue.js";
|
|
7
|
+
import C from "./SchemaComposition.vue.js";
|
|
8
|
+
import _ from "./SchemaDiscriminator.vue.js";
|
|
9
|
+
import x from "./SchemaEnumValues.vue.js";
|
|
10
|
+
import ee from "./SchemaPropertyHeading.vue.js";
|
|
11
|
+
import re from "../../Anchor/WithBreadcrumb.vue2.js";
|
|
12
|
+
import ie from "../../../features/specification-extension/SpecificationExtension.vue.js";
|
|
13
|
+
const ae = {
|
|
13
14
|
key: 0,
|
|
14
15
|
class: "property-name-pattern-properties"
|
|
15
16
|
}, ne = {
|
|
16
17
|
key: 1,
|
|
17
18
|
class: "property-name-additional-properties"
|
|
18
|
-
},
|
|
19
|
+
}, oe = {
|
|
19
20
|
key: 1,
|
|
20
21
|
class: "property-description"
|
|
21
|
-
},
|
|
22
|
+
}, te = {
|
|
22
23
|
key: 2,
|
|
23
24
|
class: "property-description"
|
|
24
|
-
},
|
|
25
|
+
}, se = {
|
|
25
26
|
key: 3,
|
|
26
27
|
class: "children"
|
|
27
|
-
},
|
|
28
|
+
}, me = {
|
|
28
29
|
key: 0,
|
|
29
30
|
class: "children"
|
|
30
|
-
},
|
|
31
|
+
}, Ne = /* @__PURE__ */ z({
|
|
31
32
|
__name: "SchemaProperty",
|
|
32
33
|
props: {
|
|
33
34
|
is: {},
|
|
@@ -45,11 +46,12 @@ const ie = {
|
|
|
45
46
|
discriminatorMapping: {},
|
|
46
47
|
discriminatorPropertyName: {},
|
|
47
48
|
isDiscriminator: { type: Boolean },
|
|
48
|
-
variant: {}
|
|
49
|
+
variant: {},
|
|
50
|
+
breadcrumb: {}
|
|
49
51
|
},
|
|
50
52
|
emits: ["update:modelValue"],
|
|
51
53
|
setup(T, { emit: R }) {
|
|
52
|
-
const
|
|
54
|
+
const c = T, w = R, k = {
|
|
53
55
|
integer: {
|
|
54
56
|
_default: "Integer numbers.",
|
|
55
57
|
int32: "Signed 32-bit integers (commonly used integer type).",
|
|
@@ -63,117 +65,127 @@ const ie = {
|
|
|
63
65
|
byte: "base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
|
|
64
66
|
binary: "binary data, used to describe files"
|
|
65
67
|
}
|
|
66
|
-
}, g = (e,
|
|
67
|
-
var
|
|
68
|
-
return (e == null ? void 0 : e.enum) || ((
|
|
69
|
-
},
|
|
68
|
+
}, g = (e, r) => r != null && r.properties || r != null && r.additionalProperties || r != null && r.patternProperties || r != null && r.allOf ? null : e || (r == null ? void 0 : r.description) || null, N = (e) => !e || !k[e.type] ? null : k[e.type][e.format || e.contentEncoding || "_default"], E = (e) => {
|
|
69
|
+
var r;
|
|
70
|
+
return (e == null ? void 0 : e.enum) || ((r = e == null ? void 0 : e.items) == null ? void 0 : r.enum) || [];
|
|
71
|
+
}, i = m(() => W(c.value)), t = Z(Q, null), n = m(() => {
|
|
70
72
|
var e;
|
|
71
|
-
return
|
|
72
|
-
}), I =
|
|
73
|
+
return c.level > 0 ? i.value : (e = t == null ? void 0 : t.value) != null && e.mergedSchema ? t.value.mergedSchema : i.value;
|
|
74
|
+
}), I = m(() => {
|
|
73
75
|
var e;
|
|
74
|
-
return ((e =
|
|
75
|
-
}), U = (e,
|
|
76
|
+
return ((e = t == null ? void 0 : t.value) == null ? void 0 : e.selectedType) || (c.discriminatorMapping ? Object.keys(c.discriminatorMapping)[0] : "");
|
|
77
|
+
}), U = (e, r, p) => r || (e == null ? void 0 : e.deprecated) || (e == null ? void 0 : e.const) !== void 0 || (e == null ? void 0 : e.enum) && e.enum.length === 1 || (e == null ? void 0 : e.type) || (e == null ? void 0 : e.nullable) === !0 || (e == null ? void 0 : e.writeOnly) || (e == null ? void 0 : e.readOnly) || p, v = (e) => {
|
|
76
78
|
w("update:modelValue", e);
|
|
77
|
-
}, P =
|
|
78
|
-
const e =
|
|
79
|
+
}, P = m(() => {
|
|
80
|
+
const e = i.value;
|
|
79
81
|
if (!(e != null && e.items) || typeof e.items != "object")
|
|
80
82
|
return !1;
|
|
81
|
-
const
|
|
82
|
-
return "type" in
|
|
83
|
-
}),
|
|
84
|
-
const
|
|
85
|
-
return !(
|
|
86
|
-
},
|
|
87
|
-
if (!
|
|
83
|
+
const r = e.items;
|
|
84
|
+
return "type" in r && ["object"].includes(r.type) || "$ref" in r || "discriminator" in r || "allOf" in r || "oneOf" in r || "anyOf" in r;
|
|
85
|
+
}), $ = (e) => {
|
|
86
|
+
const r = i.value;
|
|
87
|
+
return !(r != null && r.items) || typeof r.items != "object" || !(e in r.items) ? !1 : !P.value;
|
|
88
|
+
}, q = m(() => P.value), F = m(() => {
|
|
89
|
+
if (!i.value)
|
|
88
90
|
return !1;
|
|
89
|
-
const e =
|
|
90
|
-
return
|
|
91
|
-
});
|
|
92
|
-
return (e,
|
|
93
|
-
var
|
|
94
|
-
return
|
|
95
|
-
class:
|
|
96
|
-
(g(e.description,
|
|
91
|
+
const e = i.value, r = K(e), p = e.properties || e.additionalProperties;
|
|
92
|
+
return r && p;
|
|
93
|
+
}), A = m(() => c.level <= 1);
|
|
94
|
+
return (e, r) => {
|
|
95
|
+
var p;
|
|
96
|
+
return a(), u(L(e.is ?? "li"), {
|
|
97
|
+
class: X(["property", [
|
|
98
|
+
(g(e.description, i.value), ""),
|
|
97
99
|
`property--level-${e.level}`,
|
|
98
100
|
{
|
|
99
101
|
"property--compact": e.compact,
|
|
100
|
-
"property--deprecated": (
|
|
102
|
+
"property--deprecated": (p = i.value) == null ? void 0 : p.deprecated
|
|
101
103
|
}
|
|
102
104
|
]])
|
|
103
105
|
}, {
|
|
104
|
-
default:
|
|
106
|
+
default: b(() => {
|
|
105
107
|
var M, S;
|
|
106
108
|
return [
|
|
107
|
-
U(
|
|
109
|
+
U(i.value, e.name, e.required) ? (a(), u(ee, {
|
|
108
110
|
key: 0,
|
|
109
|
-
enum: E(
|
|
111
|
+
enum: E(i.value).length > 0,
|
|
110
112
|
required: e.required,
|
|
111
|
-
value:
|
|
113
|
+
value: i.value,
|
|
112
114
|
schemas: e.schemas,
|
|
113
|
-
hideModelNames: e.hideModelNames
|
|
114
|
-
|
|
115
|
+
hideModelNames: e.hideModelNames,
|
|
116
|
+
class: "group"
|
|
117
|
+
}, G({ _: 2 }, [
|
|
115
118
|
e.name ? {
|
|
116
119
|
name: "name",
|
|
117
|
-
fn:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
fn: b(() => [
|
|
121
|
+
d(y(re), {
|
|
122
|
+
breadcrumb: A.value && e.breadcrumb ? [...e.breadcrumb, e.name] : void 0
|
|
123
|
+
}, {
|
|
124
|
+
default: b(() => [
|
|
125
|
+
e.variant === "patternProperties" ? (a(), o("span", ae, f(e.name), 1)) : e.variant === "additionalProperties" ? (a(), o("span", ne, f(e.name), 1)) : (a(), o(h, { key: 2 }, [
|
|
126
|
+
V(f(e.name), 1)
|
|
127
|
+
], 64))
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
}, 8, ["breadcrumb"])
|
|
121
131
|
]),
|
|
122
132
|
key: "0"
|
|
123
133
|
} : void 0,
|
|
124
|
-
(M =
|
|
134
|
+
(M = i.value) != null && M.example ? {
|
|
125
135
|
name: "example",
|
|
126
|
-
fn:
|
|
127
|
-
V(" Example: " +
|
|
136
|
+
fn: b(() => [
|
|
137
|
+
V(" Example: " + f(i.value.example), 1)
|
|
128
138
|
]),
|
|
129
139
|
key: "1"
|
|
130
140
|
} : void 0
|
|
131
141
|
]), 1032, ["enum", "required", "value", "schemas", "hideModelNames"])) : l("", !0),
|
|
132
|
-
g(e.description,
|
|
133
|
-
d(
|
|
134
|
-
value: g(e.description,
|
|
142
|
+
g(e.description, i.value) ? (a(), o("div", oe, [
|
|
143
|
+
d(y(D), {
|
|
144
|
+
value: g(e.description, i.value)
|
|
135
145
|
}, null, 8, ["value"])
|
|
136
|
-
])) : N(
|
|
137
|
-
d(
|
|
138
|
-
value: N(
|
|
146
|
+
])) : N(i.value) ? (a(), o("div", te, [
|
|
147
|
+
d(y(D), {
|
|
148
|
+
value: N(i.value) || ""
|
|
139
149
|
}, null, 8, ["value"])
|
|
140
150
|
])) : l("", !0),
|
|
141
|
-
d(
|
|
142
|
-
|
|
143
|
-
d(
|
|
151
|
+
d(x, { value: i.value }, null, 8, ["value"]),
|
|
152
|
+
F.value ? (a(), o("div", se, [
|
|
153
|
+
d(H, {
|
|
144
154
|
compact: e.compact,
|
|
155
|
+
breadcrumb: e.breadcrumb && e.name ? [...e.breadcrumb, e.name] : void 0,
|
|
145
156
|
level: e.level + 1,
|
|
146
157
|
name: e.name,
|
|
147
158
|
noncollapsible: e.noncollapsible,
|
|
148
|
-
value:
|
|
149
|
-
resolvedSchema:
|
|
159
|
+
value: n.value,
|
|
160
|
+
resolvedSchema: n.value,
|
|
150
161
|
discriminatorMapping: e.discriminatorMapping,
|
|
151
162
|
discriminatorPropertyName: e.discriminatorPropertyName,
|
|
152
163
|
schemas: e.schemas,
|
|
153
|
-
"onUpdate:modelValue":
|
|
154
|
-
}, null, 8, ["compact", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
|
|
164
|
+
"onUpdate:modelValue": v
|
|
165
|
+
}, null, 8, ["compact", "breadcrumb", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
|
|
155
166
|
])) : l("", !0),
|
|
156
|
-
(S =
|
|
157
|
-
|
|
158
|
-
d(
|
|
167
|
+
(S = i.value) != null && S.items && typeof i.value.items == "object" ? (a(), o(h, { key: 4 }, [
|
|
168
|
+
q.value ? (a(), o("div", me, [
|
|
169
|
+
d(H, {
|
|
159
170
|
compact: e.compact,
|
|
160
171
|
level: e.level + 1,
|
|
161
172
|
name: e.name,
|
|
162
173
|
noncollapsible: e.noncollapsible,
|
|
163
|
-
value:
|
|
164
|
-
resolvedSchema:
|
|
174
|
+
value: n.value && typeof n.value == "object" && "items" in n.value ? n.value.items : i.value.items,
|
|
175
|
+
resolvedSchema: n.value && typeof n.value == "object" && "items" in n.value ? n.value.items : i.value.items,
|
|
165
176
|
discriminatorMapping: e.discriminatorMapping,
|
|
166
177
|
discriminatorPropertyName: e.discriminatorPropertyName,
|
|
167
178
|
schemas: e.schemas,
|
|
168
|
-
"onUpdate:modelValue":
|
|
179
|
+
"onUpdate:modelValue": v
|
|
169
180
|
}, null, 8, ["compact", "level", "name", "noncollapsible", "value", "resolvedSchema", "discriminatorMapping", "discriminatorPropertyName", "schemas"])
|
|
170
181
|
])) : l("", !0)
|
|
171
182
|
], 64)) : l("", !0),
|
|
172
|
-
(
|
|
183
|
+
(a(!0), o(h, null, J(y(Y), (s) => {
|
|
173
184
|
var O, j, B;
|
|
174
|
-
return
|
|
175
|
-
(O =
|
|
185
|
+
return a(), o(h, { key: s }, [
|
|
186
|
+
(O = i.value) != null && O[s] && !((j = i.value) != null && j.items && typeof s == "string" && typeof i.value.items == "object" && s in i.value.items) ? (a(), u(C, {
|
|
176
187
|
key: 0,
|
|
188
|
+
breadcrumb: e.breadcrumb,
|
|
177
189
|
compact: e.compact,
|
|
178
190
|
composition: s,
|
|
179
191
|
hideHeading: e.hideHeading,
|
|
@@ -181,9 +193,10 @@ const ie = {
|
|
|
181
193
|
name: e.name,
|
|
182
194
|
noncollapsible: e.noncollapsible,
|
|
183
195
|
schemas: e.schemas,
|
|
184
|
-
value:
|
|
185
|
-
}, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) :
|
|
196
|
+
value: i.value
|
|
197
|
+
}, null, 8, ["breadcrumb", "compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : $(s) ? (a(), u(C, {
|
|
186
198
|
key: 1,
|
|
199
|
+
breadcrumb: e.breadcrumb,
|
|
187
200
|
compact: e.compact,
|
|
188
201
|
composition: s,
|
|
189
202
|
hideHeading: e.hideHeading,
|
|
@@ -191,17 +204,17 @@ const ie = {
|
|
|
191
204
|
name: e.name,
|
|
192
205
|
noncollapsible: e.noncollapsible,
|
|
193
206
|
schemas: e.schemas,
|
|
194
|
-
value: (B =
|
|
195
|
-
}, null, 8, ["compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : l("", !0)
|
|
207
|
+
value: (B = i.value) == null ? void 0 : B.items
|
|
208
|
+
}, null, 8, ["breadcrumb", "compact", "composition", "hideHeading", "level", "name", "noncollapsible", "schemas", "value"])) : l("", !0)
|
|
196
209
|
], 64);
|
|
197
210
|
}), 128)),
|
|
198
|
-
e.isDiscriminator && e.discriminatorMapping && e.compact ? (
|
|
211
|
+
e.isDiscriminator && e.discriminatorMapping && e.compact ? (a(), u(_, {
|
|
199
212
|
key: 5,
|
|
200
213
|
"discriminator-mapping": e.discriminatorMapping,
|
|
201
214
|
discriminator: I.value,
|
|
202
|
-
"onUpdate:modelValue":
|
|
215
|
+
"onUpdate:modelValue": v
|
|
203
216
|
}, null, 8, ["discriminator-mapping", "discriminator"])) : l("", !0),
|
|
204
|
-
d(
|
|
217
|
+
d(y(ie), { value: i.value }, null, 8, ["value"])
|
|
205
218
|
];
|
|
206
219
|
}),
|
|
207
220
|
_: 1
|
|
@@ -210,5 +223,5 @@ const ie = {
|
|
|
210
223
|
}
|
|
211
224
|
});
|
|
212
225
|
export {
|
|
213
|
-
|
|
226
|
+
Ne as default
|
|
214
227
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaPropertyHeading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Schema/SchemaPropertyHeading.vue"],"names":[],"mappings":"AA8SA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAWjE,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;AAuEF,iBAAS,cAAc;WA2UT,OAAO,IAA6B;;sBARxB,GAAG;;;;EAa5B;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SchemaPropertyHeading.vue2.js";
|
|
2
2
|
import "./SchemaPropertyHeading.vue3.js";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-fe194f0c"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -121,7 +121,10 @@ const R = { class: "property-heading" }, j = {
|
|
|
121
121
|
_: 1,
|
|
122
122
|
__: [3]
|
|
123
123
|
})) : a("", !0),
|
|
124
|
-
e.value.format ? (r(), i(n, {
|
|
124
|
+
e.value.format ? (r(), i(n, {
|
|
125
|
+
key: 5,
|
|
126
|
+
truncate: ""
|
|
127
|
+
}, {
|
|
125
128
|
default: u(() => [
|
|
126
129
|
y(S, null, {
|
|
127
130
|
default: u(() => t[4] || (t[4] = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Lazy.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Lazy/Lazy.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Lazy.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Lazy/Lazy.vue"],"names":[],"mappings":"AA8FA,KAAK,WAAW,GAAG;IAEjB,EAAE,CAAC,EAAE,MAAM,CAAA;IAEX,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AAgDF,iBAAS,cAAc;WAmCT,OAAO,IAA6B;;yBARrB,GAAG;;;;EAa/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAWpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { lazyBus as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as o, ref as u, nextTick as a, renderSlot as f, createCommentVNode as m } from "vue";
|
|
2
|
+
import { lazyBus as d } from "./lazyBus.js";
|
|
3
|
+
const s = 300, T = /* @__PURE__ */ o({
|
|
4
4
|
__name: "Lazy",
|
|
5
5
|
props: {
|
|
6
6
|
id: {},
|
|
7
7
|
isLazy: { type: Boolean, default: !0 },
|
|
8
|
-
lazyTimeout: { default: 0 }
|
|
8
|
+
lazyTimeout: { default: 0 },
|
|
9
|
+
prev: { type: Boolean, default: !1 }
|
|
9
10
|
},
|
|
10
11
|
setup(e) {
|
|
11
|
-
const
|
|
12
|
+
const i = e.prev || !e.isLazy, n = (t) => {
|
|
12
13
|
typeof window > "u" || ("requestIdleCallback" in window ? setTimeout(() => window.requestIdleCallback(t), e.lazyTimeout) : setTimeout(() => {
|
|
13
|
-
|
|
14
|
+
a(() => {
|
|
14
15
|
t();
|
|
15
16
|
}), e.lazyTimeout;
|
|
16
17
|
}));
|
|
17
|
-
},
|
|
18
|
-
return
|
|
19
|
-
|
|
20
|
-
}) : e.id &&
|
|
18
|
+
}, l = u(!e.isLazy);
|
|
19
|
+
return d.emit({ loading: e.id, save: i }), e.isLazy ? n(() => {
|
|
20
|
+
l.value = !0, e.id && a(() => d.emit({ loaded: e.id, save: i }));
|
|
21
|
+
}) : e.id && a(() => d.emit({ loaded: e.id, save: i })), (t, y) => l.value ? f(t.$slots, "default", { key: 0 }) : m("", !0);
|
|
21
22
|
}
|
|
22
23
|
});
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
+
T as default
|
|
25
26
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const lazyBus: import("@vueuse/core").UseEventBusReturn<{
|
|
1
|
+
export type LazyEvent = {
|
|
3
2
|
loading?: string;
|
|
4
3
|
loaded?: string;
|
|
5
|
-
|
|
4
|
+
save: boolean;
|
|
5
|
+
};
|
|
6
|
+
/** All aboard the lazy bus! */
|
|
7
|
+
export declare const lazyBus: import("@vueuse/core").UseEventBusReturn<LazyEvent, any>;
|
|
6
8
|
/** Ensure we only lazy load once per page load */
|
|
7
9
|
export declare const hasLazyLoaded: import("vue").Ref<boolean, boolean>;
|
|
8
10
|
//# sourceMappingURL=lazyBus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lazyBus.d.ts","sourceRoot":"","sources":["../../../src/components/Lazy/lazyBus.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lazyBus.d.ts","sourceRoot":"","sources":["../../../src/components/Lazy/lazyBus.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GAAG;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,CAAA;AAK5E,+BAA+B;AAC/B,eAAO,MAAM,OAAO,0DAA+B,CAAA;AAEnD,kDAAkD;AAClD,eAAO,MAAM,aAAa,qCAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationsListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/OperationsList/OperationsListItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OperationsListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/OperationsList/OperationsListItem.vue"],"names":[],"mappings":"AA0IA,OAAO,KAAK,EAEV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AAInC,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,kBAAkB,GAAG,gBAAgB,CAAA;IAChD,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;;AA6JF,wBAOG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./OperationsListItem.vue2.js";
|
|
2
2
|
import "./OperationsListItem.vue3.js";
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-
|
|
4
|
+
const p = /* @__PURE__ */ o(t, [["__scopeId", "data-v-e2dcc62f"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RequestBody } from '@scalar/types/legacy';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
requestBody?: RequestBody;
|
|
4
|
-
defaultValue?:
|
|
4
|
+
defaultValue?: string;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
7
|
selectContentType: (payload: {
|
|
8
|
-
contentType:
|
|
8
|
+
contentType: string;
|
|
9
9
|
}) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
11
|
onSelectContentType?: ((payload: {
|
|
12
|
-
contentType:
|
|
12
|
+
contentType: string;
|
|
13
13
|
}) => any) | undefined;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|