@kong-ui-public/spec-renderer 2.3.2 → 2.3.4
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/dist/spec-renderer.es.js +21 -21
- package/dist/spec-renderer.umd.js +8 -8
- package/dist/types/components/SpecDetails.vue.d.ts +6 -6
- package/dist/types/components/SpecOperationsList.vue.d.ts +5 -5
- package/dist/types/components/SpecRenderer.vue.d.ts +4 -4
- package/dist/types/components/operations-list/OperationsListItem.vue.d.ts +5 -5
- package/dist/types/components/operations-list/OperationsListSectionHeader.vue.d.ts +5 -5
- package/package.json +6 -6
|
@@ -2,7 +2,7 @@ import '@kong-ui-public/swagger-ui-web-component';
|
|
|
2
2
|
import type { SwaggerUIElement } from '@kong-ui-public/swagger-ui-web-component';
|
|
3
3
|
import type { PropType } from 'vue';
|
|
4
4
|
import type { SpecDocument, OperationListItem } from '../types';
|
|
5
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
document: {
|
|
7
7
|
type: PropType<SpecDocument>;
|
|
8
8
|
default: null;
|
|
@@ -39,9 +39,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: () => undefined;
|
|
41
41
|
};
|
|
42
|
-
}
|
|
43
|
-
swaggerInstance: import("vue").Ref<SwaggerUIElement | null>;
|
|
44
|
-
},
|
|
42
|
+
}>, {
|
|
43
|
+
swaggerInstance: import("vue").Ref<SwaggerUIElement | null, SwaggerUIElement | null>;
|
|
44
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
45
|
document: {
|
|
46
46
|
type: PropType<SpecDocument>;
|
|
47
47
|
default: null;
|
|
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
type: StringConstructor;
|
|
79
79
|
default: () => undefined;
|
|
80
80
|
};
|
|
81
|
-
}
|
|
81
|
+
}>> & Readonly<{}>, {
|
|
82
82
|
url: string;
|
|
83
83
|
document: SpecDocument;
|
|
84
84
|
hasSidebar: boolean;
|
|
@@ -88,6 +88,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
activeOperation: OperationListItem;
|
|
89
89
|
applicationRegistrationEnabled: boolean;
|
|
90
90
|
currentVersion: string;
|
|
91
|
-
}, {}>;
|
|
91
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
92
92
|
export default _default;
|
|
93
93
|
//# sourceMappingURL=SpecDetails.vue.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { OperationListFilterFunction, Operation, OperationListItem, Tag } from '../types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
operations: {
|
|
5
5
|
type: PropType<Operation[]>;
|
|
6
6
|
required: true;
|
|
@@ -32,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
32
|
type: StringConstructor;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
|
-
}
|
|
35
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
36
|
selected: (...args: any[]) => void;
|
|
37
37
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
38
|
operations: {
|
|
@@ -66,16 +66,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
66
|
type: StringConstructor;
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
69
|
-
}>> & {
|
|
69
|
+
}>> & Readonly<{
|
|
70
70
|
onSelected?: ((...args: any[]) => any) | undefined;
|
|
71
|
-
}
|
|
71
|
+
}>, {
|
|
72
72
|
tags: Tag[];
|
|
73
73
|
disableSelection: boolean;
|
|
74
74
|
isFilterable: boolean;
|
|
75
75
|
filterFunction: OperationListFilterFunction;
|
|
76
76
|
deselect: boolean;
|
|
77
77
|
width: string;
|
|
78
|
-
}, {}>, {
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
79
79
|
item?(_: {
|
|
80
80
|
item: OperationListItem;
|
|
81
81
|
section: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { SpecDocument, Operation, Tag } from '../types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
spec: {
|
|
5
5
|
type: PropType<SpecDocument>;
|
|
6
6
|
required: true;
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
-
}
|
|
30
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
spec: {
|
|
32
32
|
type: PropType<SpecDocument>;
|
|
33
33
|
required: true;
|
|
@@ -54,12 +54,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
54
54
|
type: BooleanConstructor;
|
|
55
55
|
default: boolean;
|
|
56
56
|
};
|
|
57
|
-
}
|
|
57
|
+
}>> & Readonly<{}>, {
|
|
58
58
|
tags: Tag[];
|
|
59
59
|
essentialsOnly: boolean;
|
|
60
60
|
deselect: boolean;
|
|
61
61
|
navWidth: string;
|
|
62
|
-
}, {}>, {
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
63
63
|
"ops-list-empty-state"?(_: {}): any;
|
|
64
64
|
"error-state"?(_: {}): any;
|
|
65
65
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import type { OperationListItem } from '../../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
item: {
|
|
5
5
|
type: PropType<OperationListItem>;
|
|
6
6
|
required: true;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
type: BooleanConstructor;
|
|
15
15
|
default: boolean;
|
|
16
16
|
};
|
|
17
|
-
}
|
|
17
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
18
|
click: (...args: any[]) => void;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
item: {
|
|
@@ -30,11 +30,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
type: BooleanConstructor;
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
|
-
}>> & {
|
|
33
|
+
}>> & Readonly<{
|
|
34
34
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
}
|
|
35
|
+
}>, {
|
|
36
36
|
isSelected: boolean;
|
|
37
37
|
disableSelection: boolean;
|
|
38
|
-
}, {}>;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
39
|
export default _default;
|
|
40
40
|
//# sourceMappingURL=OperationsListItem.vue.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
isCollapsed: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
required: true;
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
|
-
}
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
toggle: (...args: any[]) => void;
|
|
20
20
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
isCollapsed: {
|
|
@@ -34,10 +34,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
type: StringConstructor;
|
|
35
35
|
required: true;
|
|
36
36
|
};
|
|
37
|
-
}>> & {
|
|
37
|
+
}>> & Readonly<{
|
|
38
38
|
onToggle?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}
|
|
39
|
+
}>, {
|
|
40
40
|
description: string;
|
|
41
|
-
}, {}>;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default _default;
|
|
43
43
|
//# sourceMappingURL=OperationsListSectionHeader.vue.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/spec-renderer",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/spec-renderer.umd.js",
|
|
6
6
|
"module": "./dist/spec-renderer.es.js",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@kong/kongponents": "^9.11.
|
|
24
|
+
"@kong/kongponents": "^9.11.5",
|
|
25
25
|
"vue": ">= 3.3.13 < 4",
|
|
26
|
-
"@kong-ui-public/i18n": "^2.2.
|
|
26
|
+
"@kong-ui-public/i18n": "^2.2.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@kong/design-tokens": "1.17.2",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@types/lodash.clonedeep": "^4.5.9",
|
|
33
33
|
"@types/uuid": "^10.0.0",
|
|
34
34
|
"openapi-types": "^12.1.3",
|
|
35
|
-
"vue": "^3.
|
|
36
|
-
"@kong-ui-public/i18n": "^2.2.
|
|
35
|
+
"vue": "^3.5.11",
|
|
36
|
+
"@kong-ui-public/i18n": "^2.2.4"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@kong-ui-public/swagger-ui-web-component": "^0.12.
|
|
39
|
+
"@kong-ui-public/swagger-ui-web-component": "^0.12.9",
|
|
40
40
|
"@kong/icons": "^1.18.1",
|
|
41
41
|
"lodash.clonedeep": "^4.5.0",
|
|
42
42
|
"uuid": "^10.0.0"
|