@kedataindo/docflow-vue 0.0.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/components/BubbleMenu.vue.d.ts +14 -0
- package/dist/components/BubbleMenu.vue.d.ts.map +1 -0
- package/dist/components/DocsEditor.vue.d.ts +73 -0
- package/dist/components/DocsEditor.vue.d.ts.map +1 -0
- package/dist/components/DocumentTabsSidebar.vue.d.ts +36 -0
- package/dist/components/DocumentTabsSidebar.vue.d.ts.map +1 -0
- package/dist/components/EditorToolbar.vue.d.ts +24 -0
- package/dist/components/EditorToolbar.vue.d.ts.map +1 -0
- package/dist/components/FontSizeSelect.vue.d.ts +7 -0
- package/dist/components/FontSizeSelect.vue.d.ts.map +1 -0
- package/dist/components/HeaderBar.vue.d.ts +57 -0
- package/dist/components/HeaderBar.vue.d.ts.map +1 -0
- package/dist/components/PageView.vue.d.ts +18 -0
- package/dist/components/PageView.vue.d.ts.map +1 -0
- package/dist/components/QuickActionChips.vue.d.ts +14 -0
- package/dist/components/QuickActionChips.vue.d.ts.map +1 -0
- package/dist/components/RulerBar.vue.d.ts +7 -0
- package/dist/components/RulerBar.vue.d.ts.map +1 -0
- package/dist/components/SlashMenu.vue.d.ts +11 -0
- package/dist/components/SlashMenu.vue.d.ts.map +1 -0
- package/dist/components/StatusBar.vue.d.ts +30 -0
- package/dist/components/StatusBar.vue.d.ts.map +1 -0
- package/dist/components/ThemeToggle.vue.d.ts +3 -0
- package/dist/components/ThemeToggle.vue.d.ts.map +1 -0
- package/dist/components/VerticalRuler.vue.d.ts +7 -0
- package/dist/components/VerticalRuler.vue.d.ts.map +1 -0
- package/dist/components/sidebars/AISidebar.vue.d.ts +10 -0
- package/dist/components/sidebars/AISidebar.vue.d.ts.map +1 -0
- package/dist/components/sidebars/CommentsSidebar.vue.d.ts +17 -0
- package/dist/components/sidebars/CommentsSidebar.vue.d.ts.map +1 -0
- package/dist/components/sidebars/HistorySidebar.vue.d.ts +16 -0
- package/dist/components/sidebars/HistorySidebar.vue.d.ts.map +1 -0
- package/dist/components/sidebars/TOCSidebar.vue.d.ts +11 -0
- package/dist/components/sidebars/TOCSidebar.vue.d.ts.map +1 -0
- package/dist/composables/useEditor.d.ts +17 -0
- package/dist/composables/useEditor.d.ts.map +1 -0
- package/dist/composables/useLocale.d.ts +14 -0
- package/dist/composables/useLocale.d.ts.map +1 -0
- package/dist/composables/useTheme.d.ts +5 -0
- package/dist/composables/useTheme.d.ts.map +1 -0
- package/dist/index.cjs +374 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4774 -0
- package/dist/locales/en.d.ts +335 -0
- package/dist/locales/en.d.ts.map +1 -0
- package/dist/locales/id.d.ts +335 -0
- package/dist/locales/id.d.ts.map +1 -0
- package/dist/locales/index.d.ts +18 -0
- package/dist/locales/index.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types.d.ts +40 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/core';
|
|
2
|
+
export interface BubbleMenuPosition {
|
|
3
|
+
top: number;
|
|
4
|
+
left: number;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
visible?: boolean;
|
|
8
|
+
actions: Record<string, (...args: unknown[]) => boolean>;
|
|
9
|
+
position?: BubbleMenuPosition | null;
|
|
10
|
+
editor?: Editor | null;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=BubbleMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BubbleMenu.vue.d.ts","sourceRoot":"","sources":["../../src/components/BubbleMenu.vue"],"names":[],"mappings":"AA4IA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAE1C,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,CAAA;IACxD,QAAQ,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAA;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB,CAAC;;AAkKF,wBAMG"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { type DocsEditor, type DocsEditorPlugin, type EditorOptions } from '@kedata-indonesia/docflow-core';
|
|
2
|
+
import type { Collaborator, ConnectionState } from '../types.js';
|
|
3
|
+
import { type Locale } from '../composables/useLocale.js';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
modelValue?: object | string;
|
|
6
|
+
plugins?: DocsEditorPlugin[];
|
|
7
|
+
editable?: boolean;
|
|
8
|
+
collaboration?: NonNullable<EditorOptions['collaboration']>;
|
|
9
|
+
pageSize?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
collaborators?: Collaborator[];
|
|
12
|
+
starred?: boolean;
|
|
13
|
+
connectionState?: ConnectionState;
|
|
14
|
+
userName?: string;
|
|
15
|
+
userAvatar?: string;
|
|
16
|
+
locale?: Locale;
|
|
17
|
+
};
|
|
18
|
+
declare var __VLS_13: {}, __VLS_15: {
|
|
19
|
+
close: () => boolean;
|
|
20
|
+
}, __VLS_17: {
|
|
21
|
+
close: () => boolean;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_Slots = {} & {
|
|
24
|
+
'header-actions'?: (props: typeof __VLS_13) => any;
|
|
25
|
+
} & {
|
|
26
|
+
'overflow-actions'?: (props: typeof __VLS_15) => any;
|
|
27
|
+
} & {
|
|
28
|
+
'user-menu'?: (props: typeof __VLS_17) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
share: () => any;
|
|
32
|
+
back: () => any;
|
|
33
|
+
"update:title": (title: string) => any;
|
|
34
|
+
"toggle-star": () => any;
|
|
35
|
+
export: (format: "markdown" | "html" | "docx" | "pdf" | "odt" | "rtf" | "html-zip" | "txt") => any;
|
|
36
|
+
"menu-click": (menu: string) => any;
|
|
37
|
+
"update:pageSize": (pageSize: string) => any;
|
|
38
|
+
"update:modelValue": (value: object) => any;
|
|
39
|
+
"update:locale": (locale: Locale) => any;
|
|
40
|
+
ready: (docsEditor: DocsEditor) => any;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
|
+
onShare?: (() => any) | undefined;
|
|
43
|
+
onBack?: (() => any) | undefined;
|
|
44
|
+
"onUpdate:title"?: ((title: string) => any) | undefined;
|
|
45
|
+
"onToggle-star"?: (() => any) | undefined;
|
|
46
|
+
onExport?: ((format: "markdown" | "html" | "docx" | "pdf" | "odt" | "rtf" | "html-zip" | "txt") => any) | undefined;
|
|
47
|
+
"onMenu-click"?: ((menu: string) => any) | undefined;
|
|
48
|
+
"onUpdate:pageSize"?: ((pageSize: string) => any) | undefined;
|
|
49
|
+
"onUpdate:modelValue"?: ((value: object) => any) | undefined;
|
|
50
|
+
"onUpdate:locale"?: ((locale: Locale) => any) | undefined;
|
|
51
|
+
onReady?: ((docsEditor: DocsEditor) => any) | undefined;
|
|
52
|
+
}>, {
|
|
53
|
+
collaboration: NonNullable<EditorOptions["collaboration"]>;
|
|
54
|
+
plugins: DocsEditorPlugin[];
|
|
55
|
+
editable: boolean;
|
|
56
|
+
title: string;
|
|
57
|
+
collaborators: Collaborator[];
|
|
58
|
+
pageSize: string;
|
|
59
|
+
starred: boolean;
|
|
60
|
+
userName: string;
|
|
61
|
+
userAvatar: string;
|
|
62
|
+
connectionState: ConnectionState;
|
|
63
|
+
modelValue: object | string;
|
|
64
|
+
locale: Locale;
|
|
65
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
66
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
67
|
+
export default _default;
|
|
68
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
69
|
+
new (): {
|
|
70
|
+
$slots: S;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=DocsEditor.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocsEditor.vue.d.ts","sourceRoot":"","sources":["../../src/components/DocsEditor.vue"],"names":[],"mappings":"AAo4BA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAK3G,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAA4B,MAAM,aAAa,CAAA;AAW1F,OAAO,EAAiB,KAAK,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAExE,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,WAAW,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC,CAAA;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;AA4kDJ,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ;;CAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACtD;IAAE,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACxD;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAsEpD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;mBA/pDD,WAAW,CAAC,aAAa,CAAC,eAAe,CAAC,CAAC;aAFjD,gBAAgB,EAAE;cACjB,OAAO;WAGV,MAAM;mBACE,YAAY,EAAE;cAFnB,MAAM;aAGP,OAAO;cAEN,MAAM;gBACJ,MAAM;qBAFD,eAAe;gBARpB,MAAM,GAAG,MAAM;YAWnB,MAAM;6EA+pDjB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/core';
|
|
2
|
+
interface DocumentTab {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
tabs?: DocumentTab[];
|
|
9
|
+
editor?: Editor | null;
|
|
10
|
+
backTitle?: string;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
collapse: () => any;
|
|
14
|
+
"add-tab": () => any;
|
|
15
|
+
"select-tab": (id: string) => any;
|
|
16
|
+
"delete-tab": (id: string) => any;
|
|
17
|
+
"rename-tab": (payload: {
|
|
18
|
+
id: string;
|
|
19
|
+
label: string;
|
|
20
|
+
}) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onCollapse?: (() => any) | undefined;
|
|
23
|
+
"onAdd-tab"?: (() => any) | undefined;
|
|
24
|
+
"onSelect-tab"?: ((id: string) => any) | undefined;
|
|
25
|
+
"onDelete-tab"?: ((id: string) => any) | undefined;
|
|
26
|
+
"onRename-tab"?: ((payload: {
|
|
27
|
+
id: string;
|
|
28
|
+
label: string;
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
editor: Editor | null;
|
|
32
|
+
tabs: DocumentTab[];
|
|
33
|
+
backTitle: string;
|
|
34
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
export default _default;
|
|
36
|
+
//# sourceMappingURL=DocumentTabsSidebar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentTabsSidebar.vue.d.ts","sourceRoot":"","sources":["../../src/components/DocumentTabsSidebar.vue"],"names":[],"mappings":"AAqSA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAK1C,UAAU,WAAW;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,WAAW,EAAE,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;;;;;;;YAiB4B,MAAM;eAAS,MAAM;;;;;;;;YAArB,MAAM;eAAS,MAAM;;;YAnBxC,MAAM,GAAG,IAAI;UADf,WAAW,EAAE;eAER,MAAM;;AA6lBtB,wBAQG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/core';
|
|
2
|
+
import type { DocsEditorPlugin } from '@kedata-indonesia/docflow-core';
|
|
3
|
+
import type { SidebarKey } from '../types.js';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
actions: Record<string, (...args: unknown[]) => boolean>;
|
|
6
|
+
plugins?: DocsEditorPlugin[];
|
|
7
|
+
editor?: Editor | null;
|
|
8
|
+
activeSidebar?: SidebarKey | null;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
print: () => any;
|
|
12
|
+
undo: () => any;
|
|
13
|
+
redo: () => any;
|
|
14
|
+
"toggle-left-sidebar": () => any;
|
|
15
|
+
"toggle-sidebar": (key: SidebarKey) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onPrint?: (() => any) | undefined;
|
|
18
|
+
onUndo?: (() => any) | undefined;
|
|
19
|
+
onRedo?: (() => any) | undefined;
|
|
20
|
+
"onToggle-left-sidebar"?: (() => any) | undefined;
|
|
21
|
+
"onToggle-sidebar"?: ((key: SidebarKey) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=EditorToolbar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorToolbar.vue.d.ts","sourceRoot":"","sources":["../../src/components/EditorToolbar.vue"],"names":[],"mappings":"AA2vBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,EAAE,gBAAgB,EAAe,MAAM,gCAAgC,CAAA;AAoCnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAK7C,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,CAAA;IACxD,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,aAAa,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;CAClC,CAAC;;;;;;;;;;;;;;AAurCF,wBAOG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
editor: Editor | null;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=FontSizeSelect.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FontSizeSelect.vue.d.ts","sourceRoot":"","sources":["../../src/components/FontSizeSelect.vue"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAE1C,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB,CAAC;;AAmFF,wBAMG"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { Collaborator } from '../types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title?: string;
|
|
4
|
+
editable?: boolean;
|
|
5
|
+
collaborators?: Collaborator[];
|
|
6
|
+
starred?: boolean;
|
|
7
|
+
currentUserId?: string;
|
|
8
|
+
simulatorsActive?: boolean;
|
|
9
|
+
userName?: string;
|
|
10
|
+
userAvatar?: string;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_17: {}, __VLS_38: {
|
|
13
|
+
close: () => boolean;
|
|
14
|
+
}, __VLS_48: {
|
|
15
|
+
close: () => boolean;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = {} & {
|
|
18
|
+
actions?: (props: typeof __VLS_17) => any;
|
|
19
|
+
} & {
|
|
20
|
+
'user-menu'?: (props: typeof __VLS_38) => any;
|
|
21
|
+
} & {
|
|
22
|
+
'overflow-actions'?: (props: typeof __VLS_48) => any;
|
|
23
|
+
};
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
share: () => any;
|
|
26
|
+
back: () => any;
|
|
27
|
+
"update:title": (title: string) => any;
|
|
28
|
+
"toggle-star": () => any;
|
|
29
|
+
"toggle-simulators": () => any;
|
|
30
|
+
export: (format: "markdown" | "html" | "docx" | "pdf" | "odt" | "rtf" | "html-zip" | "txt") => any;
|
|
31
|
+
"menu-click": (menu: string) => any;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
+
onShare?: (() => any) | undefined;
|
|
34
|
+
onBack?: (() => any) | undefined;
|
|
35
|
+
"onUpdate:title"?: ((title: string) => any) | undefined;
|
|
36
|
+
"onToggle-star"?: (() => any) | undefined;
|
|
37
|
+
"onToggle-simulators"?: (() => any) | undefined;
|
|
38
|
+
onExport?: ((format: "markdown" | "html" | "docx" | "pdf" | "odt" | "rtf" | "html-zip" | "txt") => any) | undefined;
|
|
39
|
+
"onMenu-click"?: ((menu: string) => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
editable: boolean;
|
|
42
|
+
title: string;
|
|
43
|
+
collaborators: Collaborator[];
|
|
44
|
+
starred: boolean;
|
|
45
|
+
currentUserId: string;
|
|
46
|
+
simulatorsActive: boolean;
|
|
47
|
+
userName: string;
|
|
48
|
+
userAvatar: string;
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=HeaderBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/HeaderBar.vue"],"names":[],"mappings":"AAwiBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAQ/C,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AA8iCJ,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ;;CAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA6C3D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;cAtmCN,OAAO;WADV,MAAM;mBAEE,YAAY,EAAE;aACpB,OAAO;mBACD,MAAM;sBACH,OAAO;cACf,MAAM;gBACJ,MAAM;6EAwmCrB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { LayoutOptions, Page } from '@kedata-indonesia/docflow-layout-engine';
|
|
2
|
+
import type { DocsEditor } from '@kedata-indonesia/docflow-core';
|
|
3
|
+
type Editor = DocsEditor['editor'];
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
pages: Page[];
|
|
6
|
+
editor?: Editor | null;
|
|
7
|
+
layoutOptions?: LayoutOptions;
|
|
8
|
+
isPageless?: boolean;
|
|
9
|
+
pageColor?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
|
+
editor: Editor | null;
|
|
13
|
+
layoutOptions: LayoutOptions;
|
|
14
|
+
isPageless: boolean;
|
|
15
|
+
pageColor: string;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=PageView.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageView.vue.d.ts","sourceRoot":"","sources":["../../src/components/PageView.vue"],"names":[],"mappings":"AAsMA,OAAO,KAAK,EAAa,aAAa,EAAE,IAAI,EAAE,MAAM,yCAAyC,CAAA;AAC7F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAGhE,KAAK,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAA;AAElC,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;;YAJS,MAAM,GAAG,IAAI;mBACN,aAAa;gBAChB,OAAO;eACR,MAAM;;AAoQtB,wBAOG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
visible?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
more: () => any;
|
|
6
|
+
"meeting-notes": () => any;
|
|
7
|
+
"email-draft": () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onMore?: (() => any) | undefined;
|
|
10
|
+
"onMeeting-notes"?: (() => any) | undefined;
|
|
11
|
+
"onEmail-draft"?: (() => any) | undefined;
|
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=QuickActionChips.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuickActionChips.vue.d.ts","sourceRoot":"","sources":["../../src/components/QuickActionChips.vue"],"names":[],"mappings":"AA+CA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAC;;;;;;;;;;AAuGF,wBAOG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LayoutOptions } from '@kedata-indonesia/docflow-layout-engine';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
layoutOptions?: LayoutOptions;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=RulerBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RulerBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/RulerBar.vue"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAA;AAG5E,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B,CAAC;;AAkIF,wBAMG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
editor: Editor | null;
|
|
4
|
+
commands: Array<{
|
|
5
|
+
name: string;
|
|
6
|
+
command: string;
|
|
7
|
+
}>;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=SlashMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlashMenu.vue.d.ts","sourceRoot":"","sources":["../../src/components/SlashMenu.vue"],"names":[],"mappings":"AA4JA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAK1C,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACnD,CAAC;;AAmOF,wBAMG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { PageSize } from '@kedata-indonesia/docflow-layout-engine';
|
|
2
|
+
import type { ConnectionState, SavingStatus } from '../types.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
connectionState?: ConnectionState;
|
|
5
|
+
savingStatus?: SavingStatus;
|
|
6
|
+
lastSaved?: number;
|
|
7
|
+
wordCount?: number;
|
|
8
|
+
charCount?: number;
|
|
9
|
+
pageCount?: number;
|
|
10
|
+
currentPage?: number;
|
|
11
|
+
pageSize?: string;
|
|
12
|
+
pageSizes?: PageSize[];
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:pageSize": (pageSize: string) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
"onUpdate:pageSize"?: ((pageSize: string) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
wordCount: number;
|
|
20
|
+
pageSize: string;
|
|
21
|
+
connectionState: ConnectionState;
|
|
22
|
+
savingStatus: SavingStatus;
|
|
23
|
+
lastSaved: number;
|
|
24
|
+
charCount: number;
|
|
25
|
+
pageCount: number;
|
|
26
|
+
currentPage: number;
|
|
27
|
+
pageSizes: PageSize[];
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
export default _default;
|
|
30
|
+
//# sourceMappingURL=StatusBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBar.vue.d.ts","sourceRoot":"","sources":["../../src/components/StatusBar.vue"],"names":[],"mappings":"AAgIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAKhE,KAAK,WAAW,GAAG;IACf,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;CACvB,CAAC;;;;;;eANY,MAAM;cAIP,MAAM;qBAPC,eAAe;kBAClB,YAAY;eACf,MAAM;eAEN,MAAM;eACN,MAAM;iBACJ,MAAM;eAER,QAAQ,EAAE;;AA+V1B,wBAQG"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=ThemeToggle.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeToggle.vue.d.ts","sourceRoot":"","sources":["../../src/components/ThemeToggle.vue"],"names":[],"mappings":";AA0GA,wBAKG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LayoutOptions } from '@kedata-indonesia/docflow-layout-engine';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
layoutOptions?: LayoutOptions;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=VerticalRuler.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerticalRuler.vue.d.ts","sourceRoot":"","sources":["../../src/components/VerticalRuler.vue"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAA;AAG5E,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B,CAAC;;AAwFF,wBAMG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
documentContent?: string;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
insert: (text: string) => any;
|
|
6
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
7
|
+
onInsert?: ((text: string) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=AISidebar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AISidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sidebars/AISidebar.vue"],"names":[],"mappings":"AAoLA,KAAK,WAAW,GAAG;IACjB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC;;;;;;AA8gBF,wBAOG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CommentItem } from '../../types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
comments?: CommentItem[];
|
|
4
|
+
selectedTextSnippet?: string;
|
|
5
|
+
selectedTextIndex?: number;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"add-comment": (content: string, anchorText?: string | undefined, anchorIndex?: number | undefined) => any;
|
|
9
|
+
"add-reply": (commentId: string, content: string) => any;
|
|
10
|
+
"resolve-comment": (commentId: string) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
"onAdd-comment"?: ((content: string, anchorText?: string | undefined, anchorIndex?: number | undefined) => any) | undefined;
|
|
13
|
+
"onAdd-reply"?: ((commentId: string, content: string) => any) | undefined;
|
|
14
|
+
"onResolve-comment"?: ((commentId: string) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=CommentsSidebar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentsSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sidebars/CommentsSidebar.vue"],"names":[],"mappings":"AAiPA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAC;;;;;;;;;;AA0pBF,wBAOG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { DocumentSnapshot } from '../../types.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
snapshots?: DocumentSnapshot[];
|
|
4
|
+
activePreviewIndex?: number | null;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"save-snapshot": (name: string) => any;
|
|
8
|
+
"restore-snapshot": (versionIndex: number) => any;
|
|
9
|
+
"preview-snapshot": (snapshot: DocumentSnapshot | null) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onSave-snapshot"?: ((name: string) => any) | undefined;
|
|
12
|
+
"onRestore-snapshot"?: ((versionIndex: number) => any) | undefined;
|
|
13
|
+
"onPreview-snapshot"?: ((snapshot: DocumentSnapshot | null) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=HistorySidebar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistorySidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sidebars/HistorySidebar.vue"],"names":[],"mappings":"AA2LA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAGtD,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC9B,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACnC,CAAC;;;;;;;;;;AAiiBF,wBAOG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
editor?: Editor | null;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
close: () => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onClose?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=TOCSidebar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TOCSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sidebars/TOCSidebar.vue"],"names":[],"mappings":"AAwOA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAmB1C,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACvB,CAAC;;;;;;AA2mBF,wBAOG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type DocsEditor, type EditorOptions } from '@kedata-indonesia/docflow-core';
|
|
2
|
+
import { type ComputedRef, type Ref, type ShallowRef } from 'vue';
|
|
3
|
+
export interface UseEditorOptions extends Omit<EditorOptions, 'target' | 'onUpdate' | 'content' | 'collaboration'> {
|
|
4
|
+
content?: any;
|
|
5
|
+
onUpdate?: (json: object) => void;
|
|
6
|
+
collaboration?: any;
|
|
7
|
+
paginationOptions?: any;
|
|
8
|
+
}
|
|
9
|
+
export interface UseEditorReturn {
|
|
10
|
+
editorRef: Ref<HTMLDivElement | null>;
|
|
11
|
+
docsEditor: ShallowRef<DocsEditor | null>;
|
|
12
|
+
editor: ComputedRef<DocsEditor['editor'] | null>;
|
|
13
|
+
pluginActions: ComputedRef<DocsEditor['pluginActions']>;
|
|
14
|
+
isReady: Ref<boolean>;
|
|
15
|
+
}
|
|
16
|
+
export declare function useEditor(options: UseEditorOptions): UseEditorReturn;
|
|
17
|
+
//# sourceMappingURL=useEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../src/composables/useEditor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAClG,OAAO,EAA4D,KAAK,WAAW,EAAE,KAAK,GAAG,EAAE,KAAK,UAAU,EAAmB,MAAM,KAAK,CAAA;AAE5I,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,eAAe,CAAC;IAEhH,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAEjC,aAAa,CAAC,EAAE,GAAG,CAAA;IAEnB,iBAAiB,CAAC,EAAE,GAAG,CAAA;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,GAAG,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;IACrC,UAAU,EAAE,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,CAAA;IACzC,MAAM,EAAE,WAAW,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAA;IAChD,aAAa,EAAE,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAA;IACvD,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAA;CACtB;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,gBAAgB,GAAG,eAAe,CA4EpE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import { type Locale } from '../locales/index.js';
|
|
3
|
+
export type { Locale };
|
|
4
|
+
export interface LocaleContext {
|
|
5
|
+
locale: Ref<Locale>;
|
|
6
|
+
setLocale: (locale: Locale) => void;
|
|
7
|
+
t: (key: string) => string;
|
|
8
|
+
}
|
|
9
|
+
export declare function createLocaleContext(preferred?: Locale): LocaleContext;
|
|
10
|
+
export declare function useLocale(): LocaleContext;
|
|
11
|
+
export declare function provideLocale(preferred?: Locale): LocaleContext;
|
|
12
|
+
export declare function getLocaleName(locale: Locale): string;
|
|
13
|
+
export declare function getSupportedLocales(): Locale[];
|
|
14
|
+
//# sourceMappingURL=useLocale.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLocale.d.ts","sourceRoot":"","sources":["../../src/composables/useLocale.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AACvE,OAAO,EAAE,KAAK,MAAM,EAA2D,MAAM,qBAAqB,CAAA;AAE1G,YAAY,EAAE,MAAM,EAAE,CAAA;AAEtB,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACnB,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAA;CAC3B;AA6BD,wBAAgB,mBAAmB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,aAAa,CAqBrE;AAED,wBAAgB,SAAS,IAAI,aAAa,CAOzC;AAED,wBAAgB,aAAa,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,aAAa,CAI/D;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAE9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/composables/useTheme.ts"],"names":[],"mappings":"AAKA,wBAAgB,QAAQ;;;EAiCvB"}
|