@kong-ui-public/documentation 0.7.55 → 0.7.56
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/{_basePickBy-BdieChar-OkpwE92k.js → _basePickBy-BdieChar-BHfPVAA5.js} +2 -2
- package/dist/{_baseUniq-DvGKNxK2-CrFHB0Va.js → _baseUniq-DvGKNxK2-CYqwMkyH.js} +1 -1
- package/dist/{arc-HkQ-gbKN-DMqNZP0P.js → arc-HkQ-gbKN-_SM_V5oN.js} +1 -1
- package/dist/architecture-I3QFYML2-BnL0CBhZ-Dz2sf5cv.js +5 -0
- package/dist/{architectureDiagram-V6B76FHG-CF7LIMcO-Bi3o7tPD.js → architectureDiagram-V6B76FHG-CF7LIMcO-DzL63OWw.js} +4 -4
- package/dist/{blockDiagram-EN3ZKWFM-Ce9sI6p0-BSW7PVPT.js → blockDiagram-EN3ZKWFM-Ce9sI6p0-UZnezL5w.js} +6 -6
- package/dist/{c4Diagram-THADGKDP-BTW1RdWp-B-P4jJEG.js → c4Diagram-THADGKDP-BTW1RdWp-vE1pshKM.js} +2 -2
- package/dist/{channel-BExz2QEe-D87SiV4g.js → channel-BExz2QEe-lnItNUZh.js} +1 -1
- package/dist/{chunk-2JBRQKJ5-OM-qdEYq-BtmlqXNP.js → chunk-2JBRQKJ5-OM-qdEYq-Bmm4S9FM.js} +2 -2
- package/dist/{chunk-2RYQ3QTB-CEsfCBgx-CFtk4OUl.js → chunk-2RYQ3QTB-CEsfCBgx-BhRqgy80.js} +1 -1
- package/dist/{chunk-BAVOGKFW-BsKga6TS-OmijSWzp.js → chunk-BAVOGKFW-BsKga6TS-Wfk2rdgy.js} +1 -1
- package/dist/{chunk-DUMQOTYW-702X_yPX-jq37ikuA.js → chunk-DUMQOTYW-702X_yPX-Dw9UiDRn.js} +1 -1
- package/dist/{chunk-OQCM5LHU-DvAgHiz1-EenYCxhh.js → chunk-OQCM5LHU-DvAgHiz1-Bqb_RIPe.js} +1 -1
- package/dist/{chunk-UGV5ZQQN-DLJfHEQ--CXU97g-q.js → chunk-UGV5ZQQN-DLJfHEQ--Dysse3pl.js} +2 -2
- package/dist/{chunk-XVOYOM2C-BuvytsGy-DwxxmTeO.js → chunk-XVOYOM2C-BuvytsGy-ChTl6i-u.js} +1 -1
- package/dist/{chunk-YWFND7JV-BX4eJVvR-BCwDeDNF.js → chunk-YWFND7JV-BX4eJVvR-CW68YxAz.js} +1 -1
- package/dist/{classDiagram-4BHYIK4I-DABOljRL-DAS3U8qp.js → classDiagram-4BHYIK4I-DABOljRL-CuftLPdB.js} +4 -4
- package/dist/{classDiagram-v2-FI7KE7WJ-DyhJS9wI-CeDC1SJu.js → classDiagram-v2-FI7KE7WJ-DyhJS9wI-C2HEq5ec.js} +7 -7
- package/dist/{clone-BqJCgI_t-D6TZM9U-.js → clone-BqJCgI_t-DXLdRaG8.js} +1 -1
- package/dist/{dagre-P3YPLUS5-C2sB48dB-TVHqbdM9.js → dagre-P3YPLUS5-C2sB48dB-jb9CH8M5.js} +4 -4
- package/dist/{diagram-QS5GVLUX-CPjjc7oB-xgDgLBUy.js → diagram-QS5GVLUX-CPjjc7oB-jbl8NueK.js} +3 -3
- package/dist/documentation.es.js +1 -1
- package/dist/documentation.umd.js +1 -1
- package/dist/{erDiagram-62CBQV5Y-BWvC3B70-B5ci7Tyo.js → erDiagram-62CBQV5Y-BWvC3B70-TpLwoM_M.js} +3 -3
- package/dist/{flowDiagram-JSIZSE4D-C6fUTYCs-CC8M6lTH.js → flowDiagram-JSIZSE4D-C6fUTYCs-lRAjb9r4.js} +4 -4
- package/dist/{ganttDiagram-ASEIQ4P5-C4T3npMC-CkOmHDDH.js → ganttDiagram-ASEIQ4P5-C4T3npMC-Bv0ERrOu.js} +2 -2
- package/dist/gitGraph-YCYPL57B-BrNA4-wo-1vS3UhGj.js +5 -0
- package/dist/{gitGraphDiagram-UL5UFKDR-DUEiISlX-D9YHU22K.js → gitGraphDiagram-UL5UFKDR-DUEiISlX-C816iO7E.js} +4 -4
- package/dist/{graph-sjVS6xcE-C5RdEsAN.js → graph-sjVS6xcE-jaGHLe8p.js} +2 -2
- package/dist/{index-BVoTdxnp.js → index-D41my0VH.js} +31 -30
- package/dist/info-46DW6VJ7-Bej2n0c3-c2JflnXI.js +5 -0
- package/dist/{infoDiagram-7APDZ6AT-CkczlyAg-BlJfGN5d.js → infoDiagram-7APDZ6AT-CkczlyAg-HGT4yMb4.js} +2 -2
- package/dist/{journeyDiagram-G5LC7W2K-CGKx4opc-DgSw5OEZ.js → journeyDiagram-G5LC7W2K-CGKx4opc-BDHeqkhx.js} +3 -3
- package/dist/{json-c0WkG_Y9-DE96BGkz.js → json-c0WkG_Y9-qa4XIgBl.js} +4 -4
- package/dist/{layout-BT6DeXbr-BANlZ5gi.js → layout-BT6DeXbr-CBThH_m5.js} +4 -4
- package/dist/{linear-Dz3m-tA--DoWdTVVU.js → linear-Dz3m-tA--C2FQ42E0.js} +1 -1
- package/dist/{mermaid-parser.core-CHAbAGk3-c1XgG0S5.js → mermaid-parser.core-CHAbAGk3-ygdZJxS0.js} +9 -9
- package/dist/{mindmap-definition-FCEC46F3-Bc0Z0Iij-DjhnZX8i.js → mindmap-definition-FCEC46F3-Bc0Z0Iij-DsbAOgzG.js} +1 -1
- package/dist/packet-W2GHVCYJ-ZKPevIRt-D5Vbduxb.js +5 -0
- package/dist/pie-BEWT4RHE-DylShr8x-t6X0i01V.js +5 -0
- package/dist/{pieDiagram-OZX6XH5M-CXiGhbiR-DRla_XQL.js → pieDiagram-OZX6XH5M-CXiGhbiR-DMsYbjX6.js} +4 -4
- package/dist/{quadrantDiagram-VG34DGKC-CbM6hf5T-BkpDE-dh.js → quadrantDiagram-VG34DGKC-CbM6hf5T-B1viEXHh.js} +2 -2
- package/dist/{requirementDiagram-FPZB6IJI-B_JGEuRG-CfrFuiOp.js → requirementDiagram-FPZB6IJI-B_JGEuRG-Do02GURU.js} +3 -3
- package/dist/{sankeyDiagram-KMMQDL5K-BdxnO3f5-GG9bgFTU.js → sankeyDiagram-KMMQDL5K-BdxnO3f5-DzcSsApy.js} +1 -1
- package/dist/{sequenceDiagram-PQT5PN7B-HSmTG3uL-DCRTrdd_.js → sequenceDiagram-PQT5PN7B-HSmTG3uL-iW_CosWz.js} +3 -3
- package/dist/{stateDiagram-TQSDS2D4-BK8lu_Tc-UxdkYbwz.js → stateDiagram-TQSDS2D4-BK8lu_Tc-BNso3Vpg.js} +5 -5
- package/dist/{stateDiagram-v2-J5TZWJW5-Bz5m2MnO-YNqSfPWL.js → stateDiagram-v2-J5TZWJW5-Bz5m2MnO-CLJWAJ33.js} +3 -3
- package/dist/{timeline-definition-KYQAIZUX-XLrO7vFH-BE_yP5t-.js → timeline-definition-KYQAIZUX-XLrO7vFH-DOn56ofK.js} +2 -2
- package/dist/types/components/DocumentationContent.vue.d.ts +6 -6
- package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -1
- package/dist/types/components/DocumentationDisplay.vue.d.ts +280 -7
- package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -1
- package/dist/types/components/DocumentationPageEmptyState.vue.d.ts.map +1 -1
- package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -1
- package/dist/types/composables/useI18n.d.ts +8 -67
- package/dist/types/composables/useI18n.d.ts.map +1 -1
- package/dist/{xychartDiagram-LESROZAQ-CFA62kNt-Cw_jtdeV.js → xychartDiagram-LESROZAQ-CFA62kNt-omKvECoB.js} +2 -2
- package/package.json +2 -2
- package/dist/architecture-I3QFYML2-BnL0CBhZ-OwkgZ4Jc.js +0 -5
- package/dist/gitGraph-YCYPL57B-BrNA4-wo-DSu9FUv_.js +0 -5
- package/dist/info-46DW6VJ7-Bej2n0c3-C-Lc5xdL.js +0 -5
- package/dist/packet-W2GHVCYJ-ZKPevIRt-QgrlrfSF.js +0 -5
- package/dist/pie-BEWT4RHE-DylShr8x-d1G_mdRP.js +0 -5
|
@@ -1,7 +1,281 @@
|
|
|
1
|
+
import type { EmitUpdatePayload, MarkdownMode } from '@kong/markdown';
|
|
1
2
|
import '@kong/markdown/dist/style.css';
|
|
2
3
|
import type { PropType } from 'vue';
|
|
3
4
|
import type { DocumentTree } from '../types';
|
|
4
|
-
declare
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
slots: {
|
|
7
|
+
"document-title"?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {
|
|
10
|
+
markdownComponent: ({
|
|
11
|
+
$: import("vue").ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: Partial<{
|
|
14
|
+
mode: MarkdownMode;
|
|
15
|
+
editable: boolean;
|
|
16
|
+
theme: import("@kong/markdown/dist/types").Theme;
|
|
17
|
+
modelValue: string;
|
|
18
|
+
downloadable: boolean;
|
|
19
|
+
filename: string;
|
|
20
|
+
tabSize: number;
|
|
21
|
+
maxHeight: number;
|
|
22
|
+
fullscreenOffsetTop: number;
|
|
23
|
+
fullscreenZIndex: number;
|
|
24
|
+
}> & Omit<{
|
|
25
|
+
readonly modelValue: string;
|
|
26
|
+
readonly editable: boolean;
|
|
27
|
+
readonly downloadable: boolean;
|
|
28
|
+
readonly filename: string;
|
|
29
|
+
readonly mode: MarkdownMode;
|
|
30
|
+
readonly tabSize: number;
|
|
31
|
+
readonly theme: import("@kong/markdown/dist/types").Theme;
|
|
32
|
+
readonly maxHeight: number;
|
|
33
|
+
readonly fullscreenOffsetTop: number;
|
|
34
|
+
readonly fullscreenZIndex: number;
|
|
35
|
+
onMode?: ((mode: MarkdownMode) => any) | undefined;
|
|
36
|
+
onFullscreen?: ((active: boolean) => any) | undefined;
|
|
37
|
+
"onUpdate:modelValue"?: ((rawMarkdown: string) => any) | undefined;
|
|
38
|
+
"onUpdate:frontmatter"?: ((frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => any) | undefined;
|
|
39
|
+
onSave?: ((args_0: EmitUpdatePayload) => any) | undefined;
|
|
40
|
+
onCancel?: (() => any) | undefined;
|
|
41
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
modelValue: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
editable: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
downloadable: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
filename: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
mode: {
|
|
59
|
+
type: PropType<MarkdownMode>;
|
|
60
|
+
default: string;
|
|
61
|
+
validator: (mode: string) => boolean;
|
|
62
|
+
};
|
|
63
|
+
tabSize: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
default: number;
|
|
66
|
+
validator: (size: number) => boolean;
|
|
67
|
+
};
|
|
68
|
+
theme: {
|
|
69
|
+
type: PropType<import("@kong/markdown/dist/types").Theme>;
|
|
70
|
+
default: string;
|
|
71
|
+
validator: (theme: string) => boolean;
|
|
72
|
+
};
|
|
73
|
+
maxHeight: {
|
|
74
|
+
type: NumberConstructor;
|
|
75
|
+
default: number;
|
|
76
|
+
validator: (height: number) => boolean;
|
|
77
|
+
};
|
|
78
|
+
fullscreenOffsetTop: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
default: number;
|
|
81
|
+
};
|
|
82
|
+
fullscreenZIndex: {
|
|
83
|
+
type: NumberConstructor;
|
|
84
|
+
default: number;
|
|
85
|
+
};
|
|
86
|
+
}>> & {
|
|
87
|
+
onMode?: ((mode: MarkdownMode) => any) | undefined;
|
|
88
|
+
onFullscreen?: ((active: boolean) => any) | undefined;
|
|
89
|
+
"onUpdate:modelValue"?: ((rawMarkdown: string) => any) | undefined;
|
|
90
|
+
"onUpdate:frontmatter"?: ((frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => any) | undefined;
|
|
91
|
+
onSave?: ((args_0: EmitUpdatePayload) => any) | undefined;
|
|
92
|
+
onCancel?: (() => any) | undefined;
|
|
93
|
+
}, "modelValue" | "editable" | "downloadable" | "filename" | "mode" | "tabSize" | "theme" | "maxHeight" | "fullscreenOffsetTop" | "fullscreenZIndex">;
|
|
94
|
+
$attrs: {
|
|
95
|
+
[x: string]: unknown;
|
|
96
|
+
};
|
|
97
|
+
$refs: {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
};
|
|
100
|
+
$slots: Readonly<{
|
|
101
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
102
|
+
}>;
|
|
103
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
104
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
105
|
+
$emit: ((event: "mode", mode: MarkdownMode) => void) & ((event: "update:modelValue", rawMarkdown: string) => void) & ((event: "update:frontmatter", frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => void) & ((event: "save", args_0: EmitUpdatePayload) => void) & ((event: "cancel") => void) & ((event: "fullscreen", active: boolean) => void);
|
|
106
|
+
$el: any;
|
|
107
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
108
|
+
modelValue: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
editable: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
downloadable: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
filename: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
mode: {
|
|
125
|
+
type: PropType<MarkdownMode>;
|
|
126
|
+
default: string;
|
|
127
|
+
validator: (mode: string) => boolean;
|
|
128
|
+
};
|
|
129
|
+
tabSize: {
|
|
130
|
+
type: NumberConstructor;
|
|
131
|
+
default: number;
|
|
132
|
+
validator: (size: number) => boolean;
|
|
133
|
+
};
|
|
134
|
+
theme: {
|
|
135
|
+
type: PropType<import("@kong/markdown/dist/types").Theme>;
|
|
136
|
+
default: string;
|
|
137
|
+
validator: (theme: string) => boolean;
|
|
138
|
+
};
|
|
139
|
+
maxHeight: {
|
|
140
|
+
type: NumberConstructor;
|
|
141
|
+
default: number;
|
|
142
|
+
validator: (height: number) => boolean;
|
|
143
|
+
};
|
|
144
|
+
fullscreenOffsetTop: {
|
|
145
|
+
type: NumberConstructor;
|
|
146
|
+
default: number;
|
|
147
|
+
};
|
|
148
|
+
fullscreenZIndex: {
|
|
149
|
+
type: NumberConstructor;
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
}>> & {
|
|
153
|
+
onMode?: ((mode: MarkdownMode) => any) | undefined;
|
|
154
|
+
onFullscreen?: ((active: boolean) => any) | undefined;
|
|
155
|
+
"onUpdate:modelValue"?: ((rawMarkdown: string) => any) | undefined;
|
|
156
|
+
"onUpdate:frontmatter"?: ((frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => any) | undefined;
|
|
157
|
+
onSave?: ((args_0: EmitUpdatePayload) => any) | undefined;
|
|
158
|
+
onCancel?: (() => any) | undefined;
|
|
159
|
+
}, {
|
|
160
|
+
download: () => void;
|
|
161
|
+
edit: () => void;
|
|
162
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
163
|
+
"update:modelValue": (rawMarkdown: string) => void;
|
|
164
|
+
"update:frontmatter": (frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => void;
|
|
165
|
+
save: (args_0: EmitUpdatePayload) => void;
|
|
166
|
+
cancel: () => void;
|
|
167
|
+
mode: (mode: MarkdownMode) => void;
|
|
168
|
+
fullscreen: (active: boolean) => void;
|
|
169
|
+
}, string, {
|
|
170
|
+
mode: MarkdownMode;
|
|
171
|
+
editable: boolean;
|
|
172
|
+
theme: import("@kong/markdown/dist/types").Theme;
|
|
173
|
+
modelValue: string;
|
|
174
|
+
downloadable: boolean;
|
|
175
|
+
filename: string;
|
|
176
|
+
tabSize: number;
|
|
177
|
+
maxHeight: number;
|
|
178
|
+
fullscreenOffsetTop: number;
|
|
179
|
+
fullscreenZIndex: number;
|
|
180
|
+
}, {}, string, {}> & {
|
|
181
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
182
|
+
created?: (() => void) | (() => void)[];
|
|
183
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
184
|
+
mounted?: (() => void) | (() => void)[];
|
|
185
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
186
|
+
updated?: (() => void) | (() => void)[];
|
|
187
|
+
activated?: (() => void) | (() => void)[];
|
|
188
|
+
deactivated?: (() => void) | (() => void)[];
|
|
189
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
190
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
191
|
+
destroyed?: (() => void) | (() => void)[];
|
|
192
|
+
unmounted?: (() => void) | (() => void)[];
|
|
193
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
194
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
195
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
196
|
+
};
|
|
197
|
+
$forceUpdate: () => void;
|
|
198
|
+
$nextTick: typeof import("vue").nextTick;
|
|
199
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, (cleanupFn: () => void) => void]) => any : (...args: [any, any, (cleanupFn: () => void) => void]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
200
|
+
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
201
|
+
modelValue: {
|
|
202
|
+
type: StringConstructor;
|
|
203
|
+
default: string;
|
|
204
|
+
};
|
|
205
|
+
editable: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
downloadable: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
filename: {
|
|
214
|
+
type: StringConstructor;
|
|
215
|
+
default: string;
|
|
216
|
+
};
|
|
217
|
+
mode: {
|
|
218
|
+
type: PropType<MarkdownMode>;
|
|
219
|
+
default: string;
|
|
220
|
+
validator: (mode: string) => boolean;
|
|
221
|
+
};
|
|
222
|
+
tabSize: {
|
|
223
|
+
type: NumberConstructor;
|
|
224
|
+
default: number;
|
|
225
|
+
validator: (size: number) => boolean;
|
|
226
|
+
};
|
|
227
|
+
theme: {
|
|
228
|
+
type: PropType<import("@kong/markdown/dist/types").Theme>;
|
|
229
|
+
default: string;
|
|
230
|
+
validator: (theme: string) => boolean;
|
|
231
|
+
};
|
|
232
|
+
maxHeight: {
|
|
233
|
+
type: NumberConstructor;
|
|
234
|
+
default: number;
|
|
235
|
+
validator: (height: number) => boolean;
|
|
236
|
+
};
|
|
237
|
+
fullscreenOffsetTop: {
|
|
238
|
+
type: NumberConstructor;
|
|
239
|
+
default: number;
|
|
240
|
+
};
|
|
241
|
+
fullscreenZIndex: {
|
|
242
|
+
type: NumberConstructor;
|
|
243
|
+
default: number;
|
|
244
|
+
};
|
|
245
|
+
}>> & {
|
|
246
|
+
onMode?: ((mode: MarkdownMode) => any) | undefined;
|
|
247
|
+
onFullscreen?: ((active: boolean) => any) | undefined;
|
|
248
|
+
"onUpdate:modelValue"?: ((rawMarkdown: string) => any) | undefined;
|
|
249
|
+
"onUpdate:frontmatter"?: ((frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => any) | undefined;
|
|
250
|
+
onSave?: ((args_0: EmitUpdatePayload) => any) | undefined;
|
|
251
|
+
onCancel?: (() => any) | undefined;
|
|
252
|
+
}, "edit" | "download"> & import("vue").ShallowUnwrapRef<{
|
|
253
|
+
download: () => void;
|
|
254
|
+
edit: () => void;
|
|
255
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
256
|
+
$slots: {
|
|
257
|
+
"toolbar-right"?(_: {}): any;
|
|
258
|
+
"editor-actions"?(_: {
|
|
259
|
+
cancel: () => void;
|
|
260
|
+
save: () => void;
|
|
261
|
+
}): any;
|
|
262
|
+
"content-actions"?(_: {
|
|
263
|
+
download: (() => void) | undefined;
|
|
264
|
+
edit: (() => void) | undefined;
|
|
265
|
+
}): any;
|
|
266
|
+
download?(_: {
|
|
267
|
+
download: () => void;
|
|
268
|
+
}): any;
|
|
269
|
+
edit?(_: {
|
|
270
|
+
edit: () => void;
|
|
271
|
+
}): any;
|
|
272
|
+
};
|
|
273
|
+
}) | null;
|
|
274
|
+
};
|
|
275
|
+
attrs: Partial<{}>;
|
|
276
|
+
};
|
|
277
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
278
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
5
279
|
/**
|
|
6
280
|
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
7
281
|
* if the user can edit an entity by create a new document
|
|
@@ -23,7 +297,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
23
297
|
type: PropType<{
|
|
24
298
|
document: DocumentTree;
|
|
25
299
|
ast: Record<string, any>;
|
|
26
|
-
markdown?: string
|
|
300
|
+
markdown?: string;
|
|
27
301
|
status: "published" | "unpublished";
|
|
28
302
|
}>;
|
|
29
303
|
default: () => null;
|
|
@@ -58,7 +332,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
58
332
|
type: PropType<{
|
|
59
333
|
document: DocumentTree;
|
|
60
334
|
ast: Record<string, any>;
|
|
61
|
-
markdown?: string
|
|
335
|
+
markdown?: string;
|
|
62
336
|
status: "published" | "unpublished";
|
|
63
337
|
}>;
|
|
64
338
|
default: () => null;
|
|
@@ -75,12 +349,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
75
349
|
selectedDocument: {
|
|
76
350
|
document: DocumentTree;
|
|
77
351
|
ast: Record<string, any>;
|
|
78
|
-
markdown?: string
|
|
352
|
+
markdown?: string;
|
|
79
353
|
status: "published" | "unpublished";
|
|
80
354
|
};
|
|
81
|
-
}, {}
|
|
82
|
-
|
|
83
|
-
}>;
|
|
355
|
+
}, {}>;
|
|
356
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
84
357
|
export default _default;
|
|
85
358
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
86
359
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentationDisplay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationDisplay.vue
|
|
1
|
+
{"version":3,"file":"DocumentationDisplay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationDisplay.vue"],"names":[],"mappings":"AA+SA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACrE,OAAO,+BAA+B,CAAA;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAyJ5C,iBAAS,cAAc;;kCAmMe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAzVO,GAAG,8CAA8C,GAAG,yBAAyB,GAC7H,yDAEG,GAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAgWU,OAAO,IAA6B;EAEjD;AA8CD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;IAQnB;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;;;;;cAa5C,QAAQ,CAAC;YAAE,QAAQ,EAAE,YAAY,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,WAAW,GAAG,aAAa,CAAA;SAAE,CAAC;;;;oBAjY/G,IAAI;gBAKR,IAAI;;;;;;;IA0WzB;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;;;;;cAa5C,QAAQ,CAAC;YAAE,QAAQ,EAAE,YAAY,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,WAAW,GAAG,aAAa,CAAA;SAAE,CAAC;;;;;;;;;mBAbrG,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;;kBAatB,YAAY;aAAO,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;mBAAa,MAAM;gBAAU,WAAW,GAAG,aAAa;;MAIrI,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentationPageEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationPageEmptyState.vue
|
|
1
|
+
{"version":3,"file":"DocumentationPageEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationPageEmptyState.vue"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;IAgKjC;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;IAL9D;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;mBAA3B,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;AAZ/D,wBAiBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductDocumentModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ProductDocumentModal.vue
|
|
1
|
+
{"version":3,"file":"ProductDocumentModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ProductDocumentModal.vue"],"names":[],"mappings":"AAkbA,OAAO,KAAK,EAAE,QAAQ,EAAO,MAAM,KAAK,CAAA;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;;;;;;;cA2kBxC,QAAQ,CAAC,gBAAgB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAA5B,QAAQ,CAAC,gBAAgB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAZ/C,wBAgCG"}
|
|
@@ -1,68 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
added_label: string;
|
|
10
|
-
status_label: string;
|
|
11
|
-
edit_button: string;
|
|
12
|
-
edit_info_button: string;
|
|
13
|
-
edit_markdown_button: string;
|
|
14
|
-
download_button: string;
|
|
15
|
-
add_new: string;
|
|
16
|
-
actions_title: string;
|
|
17
|
-
};
|
|
18
|
-
errors: {
|
|
19
|
-
cannot_retrieve_document: string;
|
|
20
|
-
unexpected: string;
|
|
21
|
-
};
|
|
22
|
-
form_modal: {
|
|
23
|
-
cancel_button_text: string;
|
|
24
|
-
create_title: string;
|
|
25
|
-
delete_button_text: string;
|
|
26
|
-
documentation_link_text: string;
|
|
27
|
-
edit_title: string;
|
|
28
|
-
empty_doc: string;
|
|
29
|
-
file_label: string;
|
|
30
|
-
file_tooltip: string;
|
|
31
|
-
filename_button_text: string;
|
|
32
|
-
parent_document_select_label: string;
|
|
33
|
-
parent_document_select_option_none: string;
|
|
34
|
-
replace_file_button_text: string;
|
|
35
|
-
save_button_text: string;
|
|
36
|
-
slug_error: string;
|
|
37
|
-
slug_label: string;
|
|
38
|
-
slug_placeholder: string;
|
|
39
|
-
status_label: string;
|
|
40
|
-
subtitle: string;
|
|
41
|
-
edit_markdown: string;
|
|
42
|
-
title_label: string;
|
|
43
|
-
title_placeholder: string;
|
|
44
|
-
};
|
|
45
|
-
show: {
|
|
46
|
-
actions: string;
|
|
47
|
-
actions_menu: {
|
|
48
|
-
delete_document: string;
|
|
49
|
-
document_settings: string;
|
|
50
|
-
download_document: string;
|
|
51
|
-
edit_document: string;
|
|
52
|
-
new_document: string;
|
|
53
|
-
};
|
|
54
|
-
empty_state: {
|
|
55
|
-
title: string;
|
|
56
|
-
message: string;
|
|
57
|
-
ctaText: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
}>;
|
|
62
|
-
i18nT: {
|
|
63
|
-
install<MessageSource extends Record<string, any>>(app: import("@vue/runtime-core").App<any>, options: {
|
|
64
|
-
i18n: import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<MessageSource>;
|
|
65
|
-
}): void;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
1
|
+
import { createI18n, i18nTComponent } from '@kong-ui-public/i18n';
|
|
2
|
+
import english from '../locales/en.json';
|
|
3
|
+
interface UseI18nReturn {
|
|
4
|
+
i18n: ReturnType<typeof createI18n<typeof english>>;
|
|
5
|
+
i18nT: ReturnType<typeof i18nTComponent<typeof english>>;
|
|
6
|
+
}
|
|
7
|
+
export default function useI18n(): UseI18nReturn;
|
|
8
|
+
export {};
|
|
68
9
|
//# sourceMappingURL=useI18n.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAExC,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,aAAa,CAO/C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as a, bf as ci, aE as bt, aD as Ft, aC as gi, bg as ui, l as Ot, az as Mt, ae as xi, am as Nt, a5 as pi, a6 as di, al as fi, a7 as mi, a8 as yi, ao as bi, aY as Ai, ag as Si } from "./index-
|
|
1
|
+
import { _ as a, bf as ci, aE as bt, aD as Ft, aC as gi, bg as ui, l as Ot, az as Mt, ae as xi, am as Nt, a5 as pi, a6 as di, al as fi, a7 as mi, a8 as yi, ao as bi, aY as Ai, ag as Si } from "./index-D41my0VH.js";
|
|
2
2
|
import { t as wi } from "./init-DjUOC4st-C8Nwz6AJ.js";
|
|
3
3
|
import { h as Ci } from "./ordinal-DfAQgscy-BEJTu10r.js";
|
|
4
|
-
import { Z as Bt } from "./linear-Dz3m-tA--
|
|
4
|
+
import { Z as Bt } from "./linear-Dz3m-tA--C2FQ42E0.js";
|
|
5
5
|
function ki(t, i, e) {
|
|
6
6
|
t = +t, i = +i, e = (o = arguments.length) < 2 ? (i = t, t = 0, 1) : o < 3 ? 1 : +e;
|
|
7
7
|
for (var s = -1, o = Math.max(0, Math.ceil((i - t) / e)) | 0, g = new Array(o); ++s < o; )
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/documentation",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.56",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/documentation.umd.js",
|
|
6
6
|
"module": "./dist/documentation.es.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@kong/icons": "^1.15.2",
|
|
25
25
|
"@kong/markdown": "1.7.11",
|
|
26
|
-
"@kong-ui-public/entities-shared": "^3.9.
|
|
26
|
+
"@kong-ui-public/entities-shared": "^3.9.3"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@kong/kongponents": "^9.8.1",
|