@kong-ui-public/document-viewer 2.5.19-pr.3869.e876c8c8a.0 → 2.5.19

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.
Files changed (82) hide show
  1. package/dist/document-viewer.es.js +13 -0
  2. package/dist/document-viewer.umd.js +40 -0
  3. package/dist/index-Dm0akurK.js +1632 -0
  4. package/dist/prism-bash.min-HHIMdNJ_.js +6 -0
  5. package/dist/prism-css.min-BgYu_Rzi.js +7 -0
  6. package/dist/prism-docker.min-Cc3clOcH.js +22 -0
  7. package/dist/prism-go.min-C7UmK6TW.js +1 -0
  8. package/dist/prism-http.min-CP9t4YhN.js +22 -0
  9. package/dist/prism-javascript.min-CEqHqgbm.js +8 -0
  10. package/dist/prism-jq.min-DSs6jyUo.js +36 -0
  11. package/dist/prism-json.min-B1GJqK1k.js +1 -0
  12. package/dist/prism-log.min-SDopTpKN.js +1 -0
  13. package/dist/prism-lua.min-DwRnUVfS.js +1 -0
  14. package/dist/prism-makefile.min-DyutknhE.js +1 -0
  15. package/dist/prism-markdown.min-D9nktPdA.js +60 -0
  16. package/dist/prism-python.min-CwGdPpz_.js +29 -0
  17. package/dist/prism-regex.min-BqTi0NTp.js +4 -0
  18. package/dist/prism-rest.min-B6veHRJF.js +1 -0
  19. package/dist/prism-rust.min-Ccuw6kc-.js +36 -0
  20. package/dist/prism-scss.min-DsoMAB2f.js +29 -0
  21. package/dist/prism-sql.min-BHXzX-c_.js +1 -0
  22. package/dist/prism-typescript.min-fwm2QbJz.js +33 -0
  23. package/dist/prism-xml-doc.min-BGai1RKL.js +7 -0
  24. package/dist/prism-yaml.min-C3Yo-ypE.js +28 -0
  25. package/dist/style.css +1 -0
  26. package/dist/types/components/DocumentViewer.vue.d.ts +14 -0
  27. package/dist/types/components/DocumentViewer.vue.d.ts.map +1 -0
  28. package/dist/types/components/nodes/Blockquote.vue.d.ts +14 -0
  29. package/dist/types/components/nodes/Blockquote.vue.d.ts.map +1 -0
  30. package/dist/types/components/nodes/Code.vue.d.ts +14 -0
  31. package/dist/types/components/nodes/Code.vue.d.ts.map +1 -0
  32. package/dist/types/components/nodes/CodeBlock.vue.d.ts +74 -0
  33. package/dist/types/components/nodes/CodeBlock.vue.d.ts.map +1 -0
  34. package/dist/types/components/nodes/Emphasis.vue.d.ts +28 -0
  35. package/dist/types/components/nodes/Emphasis.vue.d.ts.map +1 -0
  36. package/dist/types/components/nodes/Heading.vue.d.ts +37 -0
  37. package/dist/types/components/nodes/Heading.vue.d.ts.map +1 -0
  38. package/dist/types/components/nodes/Image.vue.d.ts +33 -0
  39. package/dist/types/components/nodes/Image.vue.d.ts.map +1 -0
  40. package/dist/types/components/nodes/LineBreak.vue.d.ts +4 -0
  41. package/dist/types/components/nodes/LineBreak.vue.d.ts.map +1 -0
  42. package/dist/types/components/nodes/Link.vue.d.ts +34 -0
  43. package/dist/types/components/nodes/Link.vue.d.ts.map +1 -0
  44. package/dist/types/components/nodes/List.vue.d.ts +35 -0
  45. package/dist/types/components/nodes/List.vue.d.ts.map +1 -0
  46. package/dist/types/components/nodes/ListItem.vue.d.ts +14 -0
  47. package/dist/types/components/nodes/ListItem.vue.d.ts.map +1 -0
  48. package/dist/types/components/nodes/Paragraph.vue.d.ts +14 -0
  49. package/dist/types/components/nodes/Paragraph.vue.d.ts.map +1 -0
  50. package/dist/types/components/nodes/Strikethrough.vue.d.ts +14 -0
  51. package/dist/types/components/nodes/Strikethrough.vue.d.ts.map +1 -0
  52. package/dist/types/components/nodes/Table.vue.d.ts +14 -0
  53. package/dist/types/components/nodes/Table.vue.d.ts.map +1 -0
  54. package/dist/types/components/nodes/TableCell.vue.d.ts +37 -0
  55. package/dist/types/components/nodes/TableCell.vue.d.ts.map +1 -0
  56. package/dist/types/components/nodes/TableRow.vue.d.ts +28 -0
  57. package/dist/types/components/nodes/TableRow.vue.d.ts.map +1 -0
  58. package/dist/types/components/nodes/TaskCheckbox.vue.d.ts +7 -0
  59. package/dist/types/components/nodes/TaskCheckbox.vue.d.ts.map +1 -0
  60. package/dist/types/components/nodes/Text.vue.d.ts +33 -0
  61. package/dist/types/components/nodes/Text.vue.d.ts.map +1 -0
  62. package/dist/types/components/nodes/TextBlock.vue.d.ts +14 -0
  63. package/dist/types/components/nodes/TextBlock.vue.d.ts.map +1 -0
  64. package/dist/types/components/renderChildren.d.ts +4 -0
  65. package/dist/types/components/renderChildren.d.ts.map +1 -0
  66. package/dist/types/composables/index.d.ts +8 -0
  67. package/dist/types/composables/index.d.ts.map +1 -0
  68. package/dist/types/composables/useI18n.d.ts +9 -0
  69. package/dist/types/composables/useI18n.d.ts.map +1 -0
  70. package/dist/types/composables/useUtilities.d.ts +4 -0
  71. package/dist/types/composables/useUtilities.d.ts.map +1 -0
  72. package/dist/types/index.d.ts +5 -0
  73. package/dist/types/index.d.ts.map +1 -0
  74. package/dist/types/types/index.d.ts +51 -0
  75. package/dist/types/types/index.d.ts.map +1 -0
  76. package/dist/types/utils/addUniqueHeadingSlugs.d.ts +9 -0
  77. package/dist/types/utils/addUniqueHeadingSlugs.d.ts.map +1 -0
  78. package/dist/types/utils/index.d.ts +3 -0
  79. package/dist/types/utils/index.d.ts.map +1 -0
  80. package/dist/types/utils/toSlug.d.ts +2 -0
  81. package/dist/types/utils/toSlug.d.ts.map +1 -0
  82. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/CodeBlock.vue"],"names":[],"mappings":"AAyIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,8BAA8B,CAAA;AAqKrC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAmBhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,28 @@
1
+ declare var __VLS_8: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_8) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ level: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ validator(value: unknown): boolean;
10
+ };
11
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
+ level: {
13
+ type: NumberConstructor;
14
+ default: number;
15
+ validator(value: unknown): boolean;
16
+ };
17
+ }>> & Readonly<{}>, {
18
+ level: number;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
28
+ //# sourceMappingURL=Emphasis.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Emphasis.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/Emphasis.vue"],"names":[],"mappings":"AA0EA,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;AAK/C,QAAA,MAAM,UAAU;;;;yBAKK,OAAO,GAAG,OAAO;;;;;;yBAAjB,OAAO,GAAG,OAAO;;;;4EAUpC,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"}
@@ -0,0 +1,37 @@
1
+ declare var __VLS_8: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_8) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ level: {
7
+ type: NumberConstructor;
8
+ validator(value: unknown): boolean;
9
+ default: number;
10
+ };
11
+ slug: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
+ level: {
17
+ type: NumberConstructor;
18
+ validator(value: unknown): boolean;
19
+ default: number;
20
+ };
21
+ slug: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ }>> & Readonly<{}>, {
26
+ level: number;
27
+ slug: string;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
37
+ //# sourceMappingURL=Heading.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heading.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/Heading.vue"],"names":[],"mappings":"AA+IA,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;AAK/C,QAAA,MAAM,UAAU;;;yBAIK,OAAO,GAAG,OAAO;;;;;;;;;;yBAAjB,OAAO,GAAG,OAAO;;;;;;;;;;4EAgBpC,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"}
@@ -0,0 +1,33 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ url: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ alt: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ title: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ url: {
16
+ type: StringConstructor;
17
+ required: true;
18
+ };
19
+ alt: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ title: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ }>> & Readonly<{}>, {
28
+ title: string;
29
+ alt: string;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ declare const _default: typeof __VLS_export;
32
+ export default _default;
33
+ //# sourceMappingURL=Image.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/Image.vue"],"names":[],"mappings":"AAsEA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAehB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,4 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ //# sourceMappingURL=LineBreak.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineBreak.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/LineBreak.vue"],"names":[],"mappings":"AA4BA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,34 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ href: {
7
+ type: StringConstructor;
8
+ required: true;
9
+ };
10
+ title: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ href: {
16
+ type: StringConstructor;
17
+ required: true;
18
+ };
19
+ title: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ }>> & Readonly<{}>, {
24
+ title: string;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
34
+ //# sourceMappingURL=Link.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/Link.vue"],"names":[],"mappings":"AAwEA,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;AAK/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;4EAWd,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"}
@@ -0,0 +1,35 @@
1
+ declare var __VLS_8: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_8) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ isOrdered: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ hasTaskItems: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ isOrdered: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ hasTaskItems: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ }>> & Readonly<{}>, {
24
+ isOrdered: boolean;
25
+ hasTaskItems: boolean;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
35
+ //# sourceMappingURL=List.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"List.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/List.vue"],"names":[],"mappings":"AAmGA,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;AAK/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;4EAWd,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"}
@@ -0,0 +1,14 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ //# sourceMappingURL=ListItem.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/ListItem.vue"],"names":[],"mappings":"AAoDA,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"}
@@ -0,0 +1,14 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ //# sourceMappingURL=Paragraph.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Paragraph.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/Paragraph.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"}
@@ -0,0 +1,14 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ //# sourceMappingURL=Strikethrough.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Strikethrough.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/Strikethrough.vue"],"names":[],"mappings":"AAqBA,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"}
@@ -0,0 +1,14 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ //# sourceMappingURL=Table.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/Table.vue"],"names":[],"mappings":"AA+BA,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"}
@@ -0,0 +1,37 @@
1
+ import type { PropType } from 'vue';
2
+ import type { TableRowNode } from '../../types';
3
+ import { TableCellAlign } from '../../types';
4
+ declare var __VLS_8: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_8) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ alignment: {
10
+ type: PropType<TableCellAlign>;
11
+ default: TableCellAlign;
12
+ };
13
+ parent: {
14
+ type: PropType<TableRowNode>;
15
+ required: true;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ alignment: {
19
+ type: PropType<TableCellAlign>;
20
+ default: TableCellAlign;
21
+ };
22
+ parent: {
23
+ type: PropType<TableRowNode>;
24
+ required: true;
25
+ };
26
+ }>> & Readonly<{}>, {
27
+ alignment: TableCellAlign;
28
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
37
+ //# sourceMappingURL=TableCell.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/TableCell.vue"],"names":[],"mappings":"AA6DA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAmB,MAAM,aAAa,CAAA;AA0D7D,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;AAK/C,QAAA,MAAM,UAAU;;cAGI,QAAQ,CAAC,cAAc,CAAC;;;;cAIxB,QAAQ,CAAC,YAAY,CAAC;;;;;cAJtB,QAAQ,CAAC,cAAc,CAAC;;;;cAIxB,QAAQ,CAAC,YAAY,CAAC;;;;;4EAIxC,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"}
@@ -0,0 +1,28 @@
1
+ import type { PropType } from 'vue';
2
+ import { TableRowSection } from '../../types';
3
+ declare var __VLS_8: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_8) => any;
6
+ };
7
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ section: {
9
+ type: PropType<TableRowSection>;
10
+ default: TableRowSection;
11
+ };
12
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
13
+ section: {
14
+ type: PropType<TableRowSection>;
15
+ default: TableRowSection;
16
+ };
17
+ }>> & Readonly<{}>, {
18
+ section: TableRowSection;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
28
+ //# sourceMappingURL=TableRow.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/TableRow.vue"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAqD7C,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;AAK/C,QAAA,MAAM,UAAU;;cAGI,QAAQ,CAAC,eAAe,CAAC;;;;;cAAzB,QAAQ,CAAC,eAAe,CAAC;;;;;4EAI3C,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"}
@@ -0,0 +1,7 @@
1
+ type TaskCheckboxProps = {
2
+ checked: boolean;
3
+ };
4
+ declare const __VLS_export: import("vue").DefineComponent<TaskCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TaskCheckboxProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ //# sourceMappingURL=TaskCheckbox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/TaskCheckbox.vue"],"names":[],"mappings":"AAwBA,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAiCD,QAAA,MAAM,YAAY,8SAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,33 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ text: {
5
+ type: StringConstructor;
6
+ required: true;
7
+ };
8
+ appendSpace: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ hardBreak: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ text: {
18
+ type: StringConstructor;
19
+ required: true;
20
+ };
21
+ appendSpace: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ hardBreak: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>> & Readonly<{}>, {
30
+ appendSpace: boolean;
31
+ hardBreak: boolean;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
+ //# sourceMappingURL=Text.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/Text.vue"],"names":[],"mappings":"wBA6BqB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAuDd,CAAC"}
@@ -0,0 +1,14 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
14
+ //# sourceMappingURL=TextBlock.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/nodes/TextBlock.vue"],"names":[],"mappings":"AAqBA,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"}
@@ -0,0 +1,4 @@
1
+ import type { Component } from 'vue';
2
+ import type { BaseNode } from '../types';
3
+ export default function renderChildren<ChildTypes extends BaseNode>(children: ChildTypes[], parent?: BaseNode): Component;
4
+ //# sourceMappingURL=renderChildren.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderChildren.d.ts","sourceRoot":"","sources":["../../../src/components/renderChildren.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAsDxC,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,UAAU,SAAS,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAmDxH"}
@@ -0,0 +1,8 @@
1
+ import useI18n from './useI18n';
2
+ import useUtilities from './useUtilities';
3
+ declare const _default: {
4
+ useI18n: typeof useI18n;
5
+ useUtilities: typeof useUtilities;
6
+ };
7
+ export default _default;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAA;AAC/B,OAAO,YAAY,MAAM,gBAAgB,CAAA;;;;;AAGzC,wBAGC"}
@@ -0,0 +1,9 @@
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 {};
9
+ //# sourceMappingURL=useI18n.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,4 @@
1
+ export default function useUtilities(): {
2
+ hasRequiredProps: (items: object[], requiredProps: string[]) => boolean;
3
+ };
4
+ //# sourceMappingURL=useUtilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useUtilities.d.ts","sourceRoot":"","sources":["../../../src/composables/useUtilities.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,YAAY;8BAQD,MAAM,EAAE,iBAAiB,MAAM,EAAE,KAAG,OAAO;EAiB7E"}
@@ -0,0 +1,5 @@
1
+ import DocumentViewer from './components/DocumentViewer.vue';
2
+ export default DocumentViewer;
3
+ export * from './types';
4
+ export * from './utils';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iCAAiC,CAAA;AAE5D,eAAe,cAAc,CAAA;AAE7B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
@@ -0,0 +1,51 @@
1
+ export interface BaseNode<Type extends string = string> {
2
+ type: Type;
3
+ children?: BaseNode[];
4
+ }
5
+ export interface Document extends BaseNode<'document'> {
6
+ children: BaseNode[];
7
+ version: number;
8
+ }
9
+ export declare enum TableRowSection {
10
+ header = "header",
11
+ body = "body",
12
+ footer = "footer"
13
+ }
14
+ export declare enum TableCellAlign {
15
+ left = "left",
16
+ center = "center",
17
+ right = "right"
18
+ }
19
+ export interface TableCellNode extends BaseNode<'table_cell'> {
20
+ align?: TableCellAlign;
21
+ }
22
+ export interface TableRowNode extends BaseNode<'table_row'> {
23
+ section?: TableRowSection;
24
+ children: TableCellNode[];
25
+ }
26
+ export interface TableHeaderNode extends BaseNode<'table_header'> {
27
+ section?: TableRowSection;
28
+ children: TableCellNode[];
29
+ }
30
+ export declare function isTableHeaderNode(o: any): o is TableHeaderNode;
31
+ export interface TextNode extends BaseNode<'text'> {
32
+ text: string;
33
+ children: undefined;
34
+ appendSpace?: boolean;
35
+ }
36
+ export declare function isTextNode(o: any): o is TextNode;
37
+ export interface HeadingNode extends BaseNode<'heading'> {
38
+ level: number;
39
+ }
40
+ export declare function isHeadingNode(o: any): o is HeadingNode;
41
+ export interface ListItemNode extends BaseNode<'list_item'> {
42
+ }
43
+ export interface ListNode extends BaseNode<'list'> {
44
+ isOrdered?: boolean;
45
+ children: ListItemNode[];
46
+ }
47
+ export declare function isListNode(o: any): o is ListNode;
48
+ export interface LinkNode extends BaseNode<'link'> {
49
+ href: string;
50
+ }
51
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,QAAQ,CAAC,IAAI,SAAS,MAAM,GAAG,MAAM;IACpD,IAAI,EAAE,IAAI,CAAA;IACV,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAA;CACtB;AAGD,MAAM,WAAW,QAAS,SAAQ,QAAQ,CAAC,UAAU,CAAC;IACpD,QAAQ,EAAE,QAAQ,EAAE,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,aAAc,SAAQ,QAAQ,CAAC,YAAY,CAAC;IAC3D,KAAK,CAAC,EAAE,cAAc,CAAA;CACvB;AAED,MAAM,WAAW,YAAa,SAAQ,QAAQ,CAAC,WAAW,CAAC;IACzD,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,QAAQ,EAAE,aAAa,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,eAAgB,SAAQ,QAAQ,CAAC,cAAc,CAAC;IAC/D,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,QAAQ,EAAE,aAAa,EAAE,CAAA;CAC1B;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,eAAe,CAE9D;AAED,MAAM,WAAW,QAAS,SAAQ,QAAQ,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,SAAS,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,QAAQ,CAEhD;AAED,MAAM,WAAW,WAAY,SAAQ,QAAQ,CAAC,SAAS,CAAC;IACtD,KAAK,EAAE,MAAM,CAAA;CACd;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,WAAW,CAEtD;AAED,MAAM,WAAW,YAAa,SAAQ,QAAQ,CAAC,WAAW,CAAC;CAAG;AAE9D,MAAM,WAAW,QAAS,SAAQ,QAAQ,CAAC,MAAM,CAAC;IAChD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,QAAQ,CAEhD;AAED,MAAM,WAAW,QAAS,SAAQ,QAAQ,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -0,0 +1,9 @@
1
+ import type { HeadingNode } from '../types';
2
+ export declare function addUniqueHeadingSlugs<T = any>(children: T[], slugMap?: Map<string, number>): T[];
3
+ export declare function addSlug(child: HeadingNode, slugMap: Map<string, number>, prefix?: string): {
4
+ slug: string;
5
+ level: number;
6
+ type: "heading";
7
+ children?: import("..").BaseNode[];
8
+ };
9
+ //# sourceMappingURL=addUniqueHeadingSlugs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addUniqueHeadingSlugs.d.ts","sourceRoot":"","sources":["../../../src/utils/addUniqueHeadingSlugs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAG3C,wBAAgB,qBAAqB,CAAC,CAAC,GAAG,GAAG,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,OAAO,sBAA4B,GAAG,CAAC,EAAE,CAiBtG;AAED,wBAAgB,OAAO,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,SAAiB;;;;;EAgBhG"}
@@ -0,0 +1,3 @@
1
+ export * from './addUniqueHeadingSlugs';
2
+ export * from './toSlug';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,UAAU,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function toSlug(input: string, suffix?: string): string;
2
+ //# sourceMappingURL=toSlug.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toSlug.d.ts","sourceRoot":"","sources":["../../../src/utils/toSlug.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,SAAK,UAMhD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/document-viewer",
3
- "version": "2.5.19-pr.3869.e876c8c8a.0",
3
+ "version": "2.5.19",
4
4
  "type": "module",
5
5
  "main": "./dist/document-viewer.umd.js",
6
6
  "module": "./dist/document-viewer.es.js",