@stll/folio-vue 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ListButtons-DjLPhg8p.js → ListButtons-1YJNViXB.js} +416 -398
- package/dist/ListButtons-Cw5RTKNt.cjs +4 -0
- package/dist/{SplitCellDialog-Id6nLwrR.js → SplitCellDialog-CWvjxbog.js} +1207 -1185
- package/dist/SplitCellDialog-Dpp-FPQ6.cjs +15 -0
- package/dist/components/AnonymizationRectsOverlay.vue.d.ts +20 -0
- package/dist/components/AutocompleteCaretOverlay.vue.d.ts +4 -0
- package/dist/components/AutocompleteSuggestionOverlay.vue.d.ts +11 -0
- package/dist/components/CommentMarginMarkers.vue.d.ts +16 -0
- package/dist/components/ContentControlWidgetsOverlay.vue.d.ts +8 -0
- package/dist/components/DecorationLayer.vue.d.ts +12 -0
- package/dist/components/DocumentName.vue.d.ts +13 -0
- package/dist/components/DocumentOutline.vue.d.ts +28 -0
- package/dist/components/DocxEditor/DocxEditorDialogs.vue.d.ts +67 -0
- package/dist/components/DocxEditor/DocxEditorMenuBar.vue.d.ts +39 -0
- package/dist/components/DocxEditor/DocxEditorOverlays.vue.d.ts +42 -0
- package/dist/components/DocxEditor/types.d.ts +18 -2
- package/dist/components/DocxEditor.vue.d.ts +61 -0
- package/dist/components/EditingModeDropdown.vue.d.ts +11 -0
- package/dist/components/EditorToolbar.vue.d.ts +30 -0
- package/dist/components/FormattingBar.vue.d.ts +20 -0
- package/dist/components/HeaderFooterSelectionOverlay.vue.d.ts +12 -0
- package/dist/components/ImageContextMenu.vue.d.ts +24 -0
- package/dist/components/ImageSelectionOverlay.vue.d.ts +21 -0
- package/dist/components/InlineHeaderFooterEditor.vue.d.ts +15 -0
- package/dist/components/MenuBar.vue.d.ts +18 -0
- package/dist/components/PageIndicator.vue.d.ts +8 -0
- package/dist/components/PassageHighlightOverlay.vue.d.ts +16 -0
- package/dist/components/PrintButton.vue.d.ts +16 -0
- package/dist/components/ReviewControls.vue.d.ts +17 -0
- package/dist/components/TemplateDirectivesOverlay.vue.d.ts +15 -0
- package/dist/components/TextContextMenu.vue.d.ts +46 -0
- package/dist/components/TitleBar.vue.d.ts +17 -0
- package/dist/components/Toolbar.vue.d.ts +139 -0
- package/dist/components/UnifiedSidebar.vue.d.ts +55 -0
- package/dist/components/dialogs/FindReplaceDialog.vue.d.ts +12 -0
- package/dist/components/dialogs/FootnotePropertiesDialog.vue.d.ts +15 -0
- package/dist/components/dialogs/HyperlinkDialog.vue.d.ts +30 -0
- package/dist/components/dialogs/ImagePositionDialog.vue.d.ts +29 -0
- package/dist/components/dialogs/ImagePropertiesDialog.vue.d.ts +13 -0
- package/dist/components/dialogs/InsertImageDialog.vue.d.ts +21 -0
- package/dist/components/dialogs/InsertSymbolDialog.vue.d.ts +12 -0
- package/dist/components/dialogs/InsertTableDialog.vue.d.ts +22 -0
- package/dist/components/dialogs/PageSetupDialog.vue.d.ts +14 -0
- package/dist/components/dialogs/PasteSpecialDialog.vue.d.ts +16 -0
- package/dist/components/dialogs/SetNumberingValueDialog.vue.d.ts +12 -0
- package/dist/components/dialogs/SplitCellDialog.vue.d.ts +22 -0
- package/dist/components/dialogs/TablePropertiesDialog.vue.d.ts +15 -0
- package/dist/components/dialogs/WatermarkDialog.vue.d.ts +14 -0
- package/dist/components/dialogs/index.d.ts +13 -13
- package/dist/components/sidebar/AddCommentCard.vue.d.ts +9 -0
- package/dist/components/sidebar/Avatar.vue.d.ts +10 -0
- package/dist/components/sidebar/CommentCard.vue.d.ts +21 -0
- package/dist/components/sidebar/ReplyInput.vue.d.ts +7 -0
- package/dist/components/sidebar/ReplyThread.vue.d.ts +8 -0
- package/dist/components/sidebar/ResolvedCommentMarker.vue.d.ts +11 -0
- package/dist/components/sidebar/TrackedChangeCard.vue.d.ts +20 -0
- package/dist/components/ui/AlignmentButtons.vue.d.ts +15 -0
- package/dist/components/ui/Button.vue.d.ts +30 -0
- package/dist/components/ui/Checkbox.vue.d.ts +11 -0
- package/dist/components/ui/ColorPicker.vue.d.ts +30 -0
- package/dist/components/ui/DatePickerPopover.vue.d.ts +13 -0
- package/dist/components/ui/Dialog.vue.d.ts +28 -0
- package/dist/components/ui/FontPicker.vue.d.ts +21 -0
- package/dist/components/ui/FontSizePicker.vue.d.ts +27 -0
- package/dist/components/ui/HorizontalRuler.vue.d.ts +39 -0
- package/dist/components/ui/HyperlinkPopup.vue.d.ts +21 -0
- package/dist/components/ui/IconGridDropdown.vue.d.ts +32 -0
- package/dist/components/ui/ImageTransformDropdown.vue.d.ts +11 -0
- package/dist/components/ui/ImageWrapDropdown.vue.d.ts +15 -0
- package/dist/components/ui/Input.vue.d.ts +17 -0
- package/dist/components/ui/LineSpacingPicker.vue.d.ts +20 -0
- package/dist/components/ui/ListButtons.vue.d.ts +30 -0
- package/dist/components/ui/MaterialSymbol.vue.d.ts +13 -0
- package/dist/components/ui/MenuDropdown.vue.d.ts +42 -0
- package/dist/components/ui/OutlineRail.vue.d.ts +19 -0
- package/dist/components/ui/Popover.vue.d.ts +40 -0
- package/dist/components/ui/Select.vue.d.ts +15 -0
- package/dist/components/ui/StylePicker.vue.d.ts +16 -0
- package/dist/components/ui/TableBorderColorPicker.vue.d.ts +14 -0
- package/dist/components/ui/TableBorderPicker.vue.d.ts +11 -0
- package/dist/components/ui/TableBorderWidthPicker.vue.d.ts +10 -0
- package/dist/components/ui/TableCellFillPicker.vue.d.ts +14 -0
- package/dist/components/ui/TableGridInline.vue.d.ts +14 -0
- package/dist/components/ui/TableGridPicker.vue.d.ts +18 -0
- package/dist/components/ui/TableMoreDropdown.vue.d.ts +51 -0
- package/dist/components/ui/TableStyleGallery.vue.d.ts +10 -0
- package/dist/components/ui/TableToolbar.vue.d.ts +61 -0
- package/dist/components/ui/VerticalRuler.vue.d.ts +20 -0
- package/dist/components/ui/ZoomControl.vue.d.ts +12 -0
- package/dist/components/ui/icon-paths.json.d.ts +276 -0
- package/dist/composables/useDocxEditor.d.ts +2 -0
- package/dist/composables/useDocxEditorRefApi.d.ts +5 -0
- package/dist/composables/useFindReplace.d.ts +38 -16
- package/dist/composables.cjs +2 -2
- package/dist/composables.js +44 -44
- package/dist/dialogs.cjs +1 -1
- package/dist/dialogs.js +2 -5
- package/dist/folio-vue.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1584 -1518
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +2 -2
- package/dist/useZoom-C_sQUu4b.js +1010 -0
- package/dist/useZoom-CbH76z8x.cjs +1 -0
- package/package.json +13 -2
- package/dist/ListButtons-DIWR-Q8d.cjs +0 -4
- package/dist/SplitCellDialog-B_z6ynxm.cjs +0 -15
- package/dist/useFindReplace-CL8Rbc3y.js +0 -59
- package/dist/useFindReplace-ZCrdvwEk.cjs +0 -1
- package/dist/useZoom-BA92aWwm.js +0 -884
- package/dist/useZoom-Bv8t7dYu.cjs +0 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { UseFindReplaceReturn } from '../../composables/useFindReplace';
|
|
3
|
+
import { TablePropertiesCommand } from '@stll/folio-core/utils/tableOperations';
|
|
4
|
+
import { SectionProperties } from '@stll/folio-core/types/document';
|
|
5
|
+
import { Watermark } from '@stll/folio-core/watermark';
|
|
6
|
+
type BookmarkOption = {
|
|
7
|
+
name: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
};
|
|
10
|
+
type HyperlinkSubmitPayload = {
|
|
11
|
+
url?: string;
|
|
12
|
+
bookmark?: string;
|
|
13
|
+
displayText: string;
|
|
14
|
+
tooltip: string;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_Props = {
|
|
17
|
+
search: UseFindReplaceReturn;
|
|
18
|
+
view: EditorView | null;
|
|
19
|
+
bookmarks: BookmarkOption[];
|
|
20
|
+
selectedImagePmPos: number | null;
|
|
21
|
+
sectionProperties: SectionProperties | null;
|
|
22
|
+
showFindReplace: boolean;
|
|
23
|
+
showHyperlink: boolean;
|
|
24
|
+
showInsertSymbol: boolean;
|
|
25
|
+
showImageProperties: boolean;
|
|
26
|
+
showPageSetup: boolean;
|
|
27
|
+
showTableProperties: boolean;
|
|
28
|
+
showWatermark: boolean;
|
|
29
|
+
showNumberingValue: boolean;
|
|
30
|
+
currentWatermark: Watermark | undefined;
|
|
31
|
+
tableProperties: TablePropertiesCommand;
|
|
32
|
+
};
|
|
33
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
34
|
+
"update:showFindReplace": (value: boolean) => any;
|
|
35
|
+
"update:showHyperlink": (value: boolean) => any;
|
|
36
|
+
"update:showInsertSymbol": (value: boolean) => any;
|
|
37
|
+
"update:showImageProperties": (value: boolean) => any;
|
|
38
|
+
"update:showPageSetup": (value: boolean) => any;
|
|
39
|
+
"update:showTableProperties": (value: boolean) => any;
|
|
40
|
+
"update:showWatermark": (value: boolean) => any;
|
|
41
|
+
"update:showNumberingValue": (value: boolean) => any;
|
|
42
|
+
"numbering-value-apply": (value: number) => any;
|
|
43
|
+
"insert-symbol": (symbol: string) => any;
|
|
44
|
+
"hyperlink-submit": (data: HyperlinkSubmitPayload) => any;
|
|
45
|
+
"hyperlink-remove": () => any;
|
|
46
|
+
"page-setup-apply": (props: Partial<SectionProperties>) => any;
|
|
47
|
+
"table-properties-apply": (props: TablePropertiesCommand) => any;
|
|
48
|
+
"watermark-apply": (watermark: Watermark | undefined) => any;
|
|
49
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
50
|
+
"onUpdate:showFindReplace"?: (value: boolean) => any;
|
|
51
|
+
"onUpdate:showHyperlink"?: (value: boolean) => any;
|
|
52
|
+
"onUpdate:showInsertSymbol"?: (value: boolean) => any;
|
|
53
|
+
"onUpdate:showImageProperties"?: (value: boolean) => any;
|
|
54
|
+
"onUpdate:showPageSetup"?: (value: boolean) => any;
|
|
55
|
+
"onUpdate:showTableProperties"?: (value: boolean) => any;
|
|
56
|
+
"onUpdate:showWatermark"?: (value: boolean) => any;
|
|
57
|
+
"onUpdate:showNumberingValue"?: (value: boolean) => any;
|
|
58
|
+
"onNumbering-value-apply"?: (value: number) => any;
|
|
59
|
+
"onInsert-symbol"?: (symbol: string) => any;
|
|
60
|
+
"onHyperlink-submit"?: (data: HyperlinkSubmitPayload) => any;
|
|
61
|
+
"onHyperlink-remove"?: () => any;
|
|
62
|
+
"onPage-setup-apply"?: (props: Partial<SectionProperties>) => any;
|
|
63
|
+
"onTable-properties-apply"?: (props: TablePropertiesCommand) => any;
|
|
64
|
+
"onWatermark-apply"?: (watermark: Watermark | undefined) => any;
|
|
65
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
66
|
+
declare const _default: typeof __VLS_export;
|
|
67
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
showMenuBar?: boolean;
|
|
3
|
+
documentName?: string;
|
|
4
|
+
documentNameEditable?: boolean;
|
|
5
|
+
showFileOpen?: boolean;
|
|
6
|
+
showHelpMenu?: boolean;
|
|
7
|
+
/** Gates the Insert > Table menu item (mirrors the toolbar's showTableInsert). */
|
|
8
|
+
showTableInsert?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare var __VLS_1: {}, __VLS_18: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
'title-bar-left'?: (props: typeof __VLS_1) => any;
|
|
13
|
+
} & {
|
|
14
|
+
'title-bar-right'?: (props: typeof __VLS_18) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
"insert-table": (rows: number, cols: number) => any;
|
|
18
|
+
rename: (name: string) => any;
|
|
19
|
+
"menu-action": (action: string) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
"onInsert-table"?: (rows: number, cols: number) => any;
|
|
22
|
+
onRename?: (name: string) => any;
|
|
23
|
+
"onMenu-action"?: (action: string) => any;
|
|
24
|
+
}>, {
|
|
25
|
+
showFileOpen: boolean;
|
|
26
|
+
showHelpMenu: boolean;
|
|
27
|
+
showTableInsert: boolean;
|
|
28
|
+
showMenuBar: boolean;
|
|
29
|
+
documentName: string;
|
|
30
|
+
documentNameEditable: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ImageLayoutTarget } from '@stll/folio-core/layout-painter/imageLayout';
|
|
2
|
+
import { ListNumberingMenuState } from '@stll/folio-core/prosemirror';
|
|
3
|
+
import { ImageContextMenuState, ImageContextMenuTextAction } from '../imageContextMenuTypes';
|
|
4
|
+
import { CustomTextMenuItem } from '../TextContextMenu.vue';
|
|
5
|
+
/** Text/table context-menu state (mirrors useContextMenus `TextContextMenuState`). */
|
|
6
|
+
type TextContextMenuState = {
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
position: {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
};
|
|
12
|
+
hasSelection: boolean;
|
|
13
|
+
inTable: boolean;
|
|
14
|
+
onImage: boolean;
|
|
15
|
+
canMergeCells: boolean;
|
|
16
|
+
canSplitCell: boolean;
|
|
17
|
+
listNumbering: ListNumberingMenuState;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Props = {
|
|
20
|
+
readOnly: boolean;
|
|
21
|
+
contextMenu: TextContextMenuState;
|
|
22
|
+
imageContextMenu: ImageContextMenuState | null;
|
|
23
|
+
imageContextMenuTextActions: ImageContextMenuTextAction[];
|
|
24
|
+
canOpenImageProperties: boolean;
|
|
25
|
+
/** Host-injected menu entries leading the text menu. */
|
|
26
|
+
customTextMenuItems: readonly CustomTextMenuItem[];
|
|
27
|
+
};
|
|
28
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
29
|
+
"context-menu-action": (action: string) => any;
|
|
30
|
+
"close-context-menu": () => any;
|
|
31
|
+
"image-wrap-select": (target: ImageLayoutTarget) => any;
|
|
32
|
+
"close-image-context-menu": () => any;
|
|
33
|
+
"open-image-properties": () => any;
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
+
"onContext-menu-action"?: (action: string) => any;
|
|
36
|
+
"onClose-context-menu"?: () => any;
|
|
37
|
+
"onImage-wrap-select"?: (target: ImageLayoutTarget) => any;
|
|
38
|
+
"onClose-image-context-menu"?: () => any;
|
|
39
|
+
"onOpen-image-properties"?: () => any;
|
|
40
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
42
|
+
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, VNodeChild } from 'vue';
|
|
2
|
+
import { ReviewDisplayMode } from '@stll/folio-core/managers/reviewDisplayMode';
|
|
3
|
+
import { EditorReadOnlyReason, EditorMode } from '@stll/folio-core/managers/EditorModeManager';
|
|
2
4
|
import { PageRendererName } from '@stll/folio-core/display-list/editor/pageRenderer';
|
|
3
5
|
import { Plugin } from 'prosemirror-state';
|
|
4
6
|
import { EditorView } from 'prosemirror-view';
|
|
@@ -16,11 +18,11 @@ import { AnonymizationMatch } from '@stll/folio-core/prosemirror/plugins/anonymi
|
|
|
16
18
|
import { TemplateSlashMenuKeyAction, TemplateSlashMenuState } from '@stll/folio-core/prosemirror/plugins/templateSlashMenu';
|
|
17
19
|
import { Document, ParagraphAlignment, SdtProperties, TabStop, Theme } from '@stll/folio-core/types/document';
|
|
18
20
|
import { Comment } from '@stll/folio-core/types/content';
|
|
21
|
+
import { FindMatch, FindOptions, FindResult } from '@stll/folio-core/utils/findReplace';
|
|
19
22
|
import { DocxInput } from '@stll/folio-core/utils/docxInput';
|
|
20
23
|
import { OutlineDepth } from '@stll/folio-core/utils/outlineDepth';
|
|
21
24
|
import { ScrollToParaIdOptions } from '@stll/folio-core/paged-layout/paragraphFlash';
|
|
22
25
|
import { BlockRect } from '@stll/folio-core/paged-layout/blockGeometry';
|
|
23
|
-
import { EditorMode } from '@stll/folio-core/managers/EditorModeManager';
|
|
24
26
|
import { DocumentLoadState } from '@stll/folio-core/managers/DocumentLoaderManager';
|
|
25
27
|
import { FolioUIComponents } from '../../ui/folio-ui';
|
|
26
28
|
import { FontOption } from '../../utils/fontOptions';
|
|
@@ -183,6 +185,10 @@ export type DocxEditorProps = {
|
|
|
183
185
|
hostShortcuts?: readonly HostShortcut[];
|
|
184
186
|
/** Whether the editor is read-only. When true, hides toolbar and rulers */
|
|
185
187
|
readOnly?: boolean;
|
|
188
|
+
/** Controlled review view. Defaults to all-markup; saving preserves all revisions. */
|
|
189
|
+
reviewDisplayMode?: ReviewDisplayMode;
|
|
190
|
+
/** Show comment highlights in all-markup (default: true); hidden in final/original. */
|
|
191
|
+
showCommentHighlights?: boolean;
|
|
186
192
|
/** Whether comments/tracked changes should auto-open the review sidebar (default: true) */
|
|
187
193
|
autoOpenReviewSidebar?: boolean;
|
|
188
194
|
/**
|
|
@@ -244,7 +250,7 @@ export type DocxEditorProps = {
|
|
|
244
250
|
/** Callback when the editing mode changes */
|
|
245
251
|
onModeChange?: (mode: EditorMode) => void;
|
|
246
252
|
/** Callback when a readonly user action would mutate the document. */
|
|
247
|
-
onReadonlyEditAttempt?: () => void;
|
|
253
|
+
onReadonlyEditAttempt?: (reason: EditorReadOnlyReason) => void;
|
|
248
254
|
/**
|
|
249
255
|
* Controlled comments array. When provided, the editor reads comment thread
|
|
250
256
|
* metadata from this prop and emits every change through `onCommentsChange`.
|
|
@@ -252,6 +258,8 @@ export type DocxEditorProps = {
|
|
|
252
258
|
* thread metadata lives outside the doc.
|
|
253
259
|
*/
|
|
254
260
|
comments?: Comment[];
|
|
261
|
+
/** Current document search results, including the zero-based current hit. */
|
|
262
|
+
onFindResultChange?: (result: FindResult | null) => void;
|
|
255
263
|
/** Fires whenever the comments array changes (controlled and uncontrolled). */
|
|
256
264
|
onCommentsChange?: (comments: Comment[]) => void;
|
|
257
265
|
/** Callback with the parsed document's editing compatibility report. */
|
|
@@ -373,6 +381,8 @@ export type HighlightPassageOptions = {
|
|
|
373
381
|
* Imperative handle exposed by the DocxEditor component.
|
|
374
382
|
*/
|
|
375
383
|
export type DocxEditorRef = {
|
|
384
|
+
/** Why user edits are blocked in the current view, or null when editing is enabled. */
|
|
385
|
+
getReadOnlyReason: () => EditorReadOnlyReason | null;
|
|
376
386
|
/** Get the current document */
|
|
377
387
|
getDocument: () => Document | null;
|
|
378
388
|
/** Whether the live ProseMirror state has edits that have not been serialized. */
|
|
@@ -411,6 +421,12 @@ export type DocxEditorRef = {
|
|
|
411
421
|
* seed the search box from the selection yet (React does).
|
|
412
422
|
*/
|
|
413
423
|
openFind: () => void;
|
|
424
|
+
/** Search all document stories without changing document content. */
|
|
425
|
+
find: (searchText: string, options?: Partial<FindOptions>) => FindResult | null;
|
|
426
|
+
findNext: () => FindMatch | null;
|
|
427
|
+
findPrevious: () => FindMatch | null;
|
|
428
|
+
getFindResult: () => FindResult | null;
|
|
429
|
+
clearFind: () => void;
|
|
414
430
|
/**
|
|
415
431
|
* Open the replace dialog. The Vue panel has one open state, so this opens
|
|
416
432
|
* the same panel as {@link openFind}, with the replace row reachable from
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Comment } from '@stll/folio-core/types/content';
|
|
2
|
+
import { Document } from '@stll/folio-core/types/document';
|
|
3
|
+
import { DocxEditorProps, EditorMode } from './DocxEditor/types';
|
|
4
|
+
import { FindResult } from '@stll/folio-core/utils/findReplace';
|
|
5
|
+
declare var __VLS_12: {}, __VLS_15: {}, __VLS_50: {}, __VLS_70: {}, __VLS_77: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
'title-bar-left'?: (props: typeof __VLS_12) => any;
|
|
8
|
+
} & {
|
|
9
|
+
'title-bar-right'?: (props: typeof __VLS_15) => any;
|
|
10
|
+
} & {
|
|
11
|
+
'toolbar-extra'?: (props: typeof __VLS_50) => any;
|
|
12
|
+
} & {
|
|
13
|
+
'loading-indicator'?: (props: typeof __VLS_70) => any;
|
|
14
|
+
} & {
|
|
15
|
+
placeholder?: (props: typeof __VLS_77) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: import('vue').DefineComponent<DocxEditorProps, import('..').DocxEditorRef, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
+
error: (error: Error) => any;
|
|
19
|
+
change: (doc: Document) => any;
|
|
20
|
+
rename: (name: string) => any;
|
|
21
|
+
"menu-action": (action: string) => any;
|
|
22
|
+
ready: () => any;
|
|
23
|
+
"mode-change": (mode: EditorMode) => any;
|
|
24
|
+
"update:document": (doc: Document | null) => any;
|
|
25
|
+
"comments-change": (comments: Comment[]) => any;
|
|
26
|
+
"find-result-change": (result: FindResult | null) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<DocxEditorProps> & Readonly<{
|
|
28
|
+
onError?: (error: Error) => any;
|
|
29
|
+
onChange?: (doc: Document) => any;
|
|
30
|
+
onRename?: (name: string) => any;
|
|
31
|
+
"onMenu-action"?: (action: string) => any;
|
|
32
|
+
onReady?: () => any;
|
|
33
|
+
"onMode-change"?: (mode: EditorMode) => any;
|
|
34
|
+
"onUpdate:document"?: (doc: Document | null) => any;
|
|
35
|
+
"onComments-change"?: (comments: Comment[]) => any;
|
|
36
|
+
"onFind-result-change"?: (result: FindResult | null) => any;
|
|
37
|
+
}>, {
|
|
38
|
+
document: Document | null;
|
|
39
|
+
mode: EditorMode;
|
|
40
|
+
author: string;
|
|
41
|
+
className: string;
|
|
42
|
+
readOnly: boolean;
|
|
43
|
+
showTableInsert: boolean | undefined;
|
|
44
|
+
showZoomControl: boolean;
|
|
45
|
+
showReviewControls: boolean;
|
|
46
|
+
showCommentHighlights: boolean;
|
|
47
|
+
documentBuffer: import('@stll/folio-core/utils/docxInput').DocxInput | null;
|
|
48
|
+
showToolbar: boolean;
|
|
49
|
+
showHeaderFooterEditing: boolean;
|
|
50
|
+
initialZoom: number;
|
|
51
|
+
autoOpenReviewSidebar: boolean;
|
|
52
|
+
showOutline: boolean;
|
|
53
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
54
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
55
|
+
declare const _default: typeof __VLS_export;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EditorMode } from './DocxEditor/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue: EditorMode;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
"update:modelValue": (mode: EditorMode) => any;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onUpdate:modelValue"?: (mode: EditorMode) => any;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
showMenuBar?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_14: {}, __VLS_16: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
'title-bar'?: (props: typeof __VLS_1) => any;
|
|
7
|
+
} & {
|
|
8
|
+
'title-bar-left'?: (props: typeof __VLS_3) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'document-name'?: (props: typeof __VLS_5) => any;
|
|
11
|
+
} & {
|
|
12
|
+
'title-bar-right'?: (props: typeof __VLS_14) => any;
|
|
13
|
+
} & {
|
|
14
|
+
toolbar?: (props: typeof __VLS_16) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
|
+
"menu-action": (action: string) => any;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onMenu-action"?: (action: string) => any;
|
|
20
|
+
}>, {
|
|
21
|
+
showMenuBar: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FormattingAction, FormattingBarProps } from './FormattingBar.types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<FormattingBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
format: (action: FormattingAction) => any;
|
|
4
|
+
undo: () => any;
|
|
5
|
+
redo: () => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<FormattingBarProps> & Readonly<{
|
|
7
|
+
onFormat?: (action: FormattingAction) => any;
|
|
8
|
+
onUndo?: () => any;
|
|
9
|
+
onRedo?: () => any;
|
|
10
|
+
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
canUndo: boolean;
|
|
13
|
+
canRedo: boolean;
|
|
14
|
+
showStylePicker: boolean;
|
|
15
|
+
showTextColorPicker: boolean;
|
|
16
|
+
showAlignmentButtons: boolean;
|
|
17
|
+
showListButtons: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { HeaderFooterSelection } from '@stll/folio-core/render-dom/HeaderFooterSelectionOverlay';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
pagesContainer: HTMLElement | null;
|
|
5
|
+
hiddenContainer: HTMLElement | null;
|
|
6
|
+
editorView: EditorView | null;
|
|
7
|
+
selection: HeaderFooterSelection | null;
|
|
8
|
+
zoom: number;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: 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>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ImageLayoutTarget } from '@stll/folio-core/layout-painter/imageLayout';
|
|
2
|
+
import { ImageContextMenuState, ImageContextMenuTextAction } from './imageContextMenuTypes';
|
|
3
|
+
export type { ImageContextMenuState, ImageContextMenuTextAction };
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
state: ImageContextMenuState | null;
|
|
6
|
+
textActions?: ImageContextMenuTextAction[];
|
|
7
|
+
/** When true, an "Image properties…" entry appears at the top of the menu. */
|
|
8
|
+
canOpenProperties?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
+
close: () => any;
|
|
12
|
+
select: (target: ImageLayoutTarget) => any;
|
|
13
|
+
"text-action": (action: string) => any;
|
|
14
|
+
"open-properties": () => any;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onClose?: () => any;
|
|
17
|
+
onSelect?: (target: ImageLayoutTarget) => any;
|
|
18
|
+
"onText-action"?: (action: string) => any;
|
|
19
|
+
"onOpen-properties"?: () => any;
|
|
20
|
+
}>, {
|
|
21
|
+
canOpenProperties: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { ImageSelectionInfo } from './imageSelectionTypes';
|
|
3
|
+
export type { ImageSelectionInfo };
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
imageInfo: ImageSelectionInfo | null;
|
|
6
|
+
zoom: number;
|
|
7
|
+
view: EditorView | null;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
|
+
"context-menu": (event: MouseEvent) => any;
|
|
11
|
+
deselect: () => any;
|
|
12
|
+
"interact-start": () => any;
|
|
13
|
+
"interact-end": () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onContext-menu"?: (event: MouseEvent) => any;
|
|
16
|
+
onDeselect?: () => any;
|
|
17
|
+
"onInteract-start"?: () => any;
|
|
18
|
+
"onInteract-end"?: () => any;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { HfEditState } from '../composables/usePagesPointer';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
edit: HfEditState;
|
|
5
|
+
getView: () => EditorView | null;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
close: () => any;
|
|
9
|
+
remove: () => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onClose?: () => any;
|
|
12
|
+
onRemove?: () => any;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
showFileOpen?: boolean;
|
|
3
|
+
showHelpMenu?: boolean;
|
|
4
|
+
showTableInsert?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
action: (action: string) => any;
|
|
8
|
+
"insert-table": (rows: number, cols: number) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onAction?: (action: string) => any;
|
|
11
|
+
"onInsert-table"?: (rows: number, cols: number) => any;
|
|
12
|
+
}>, {
|
|
13
|
+
showFileOpen: boolean;
|
|
14
|
+
showHelpMenu: boolean;
|
|
15
|
+
showTableInsert: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
currentPage: number;
|
|
3
|
+
totalPages: number;
|
|
4
|
+
visible: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: 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>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FlowBlock, Layout, Measure } from '@stll/folio-core/layout-engine/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** PM range to highlight, or null to paint nothing. */
|
|
4
|
+
range: {
|
|
5
|
+
from: number;
|
|
6
|
+
to: number;
|
|
7
|
+
} | null;
|
|
8
|
+
getPagesContainer: () => HTMLElement | null;
|
|
9
|
+
zoom: number;
|
|
10
|
+
layout: Layout | null;
|
|
11
|
+
blocks: FlowBlock[];
|
|
12
|
+
measures: Measure[];
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: 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>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
label?: string;
|
|
4
|
+
compact?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
print: () => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onPrint?: () => any;
|
|
10
|
+
}>, {
|
|
11
|
+
label: string;
|
|
12
|
+
compact: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DisplayMode } from '@stll/folio-core/managers/EditorModeManager';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
trackChangesOn: boolean;
|
|
4
|
+
displayMode: DisplayMode;
|
|
5
|
+
readOnly?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
"toggle-track-changes": () => any;
|
|
9
|
+
"update:display-mode": (mode: "original" | "all-markup" | "simple-markup" | "no-markup") => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
"onToggle-track-changes"?: () => any;
|
|
12
|
+
"onUpdate:display-mode"?: (mode: "original" | "all-markup" | "simple-markup" | "no-markup") => any;
|
|
13
|
+
}>, {
|
|
14
|
+
readOnly: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EditorState } from 'prosemirror-state';
|
|
2
|
+
import { EditorView } from 'prosemirror-view';
|
|
3
|
+
import { FlowBlock, Layout, Measure } from '@stll/folio-core/layout-engine/types';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
getView: () => EditorView | null;
|
|
6
|
+
getPagesContainer: () => HTMLElement | null;
|
|
7
|
+
editorState: EditorState | null;
|
|
8
|
+
zoom: number;
|
|
9
|
+
layout: Layout | null;
|
|
10
|
+
blocks: FlowBlock[];
|
|
11
|
+
measures: Measure[];
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_export: 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>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { VNodeChild } from 'vue';
|
|
2
|
+
import { ListNumberingMenuState } from '@stll/folio-core/prosemirror';
|
|
3
|
+
export type ContextMenuItem = {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
action: string;
|
|
7
|
+
shortcut?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
divider?: boolean;
|
|
10
|
+
/** Host-injected primary action — rendered slightly bolder. */
|
|
11
|
+
emphasis?: boolean;
|
|
12
|
+
/** Optional leading icon (host `customContextMenuItems` entries). */
|
|
13
|
+
icon?: VNodeChild;
|
|
14
|
+
};
|
|
15
|
+
/** Host-injected menu entry, already filtered by `requiresSelection`. */
|
|
16
|
+
export type CustomTextMenuItem = {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
icon?: VNodeChild;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_Props = {
|
|
22
|
+
isOpen: boolean;
|
|
23
|
+
position: {
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
};
|
|
27
|
+
hasSelection: boolean;
|
|
28
|
+
isEditable: boolean;
|
|
29
|
+
inTable?: boolean;
|
|
30
|
+
onImage?: boolean;
|
|
31
|
+
canMergeCells?: boolean;
|
|
32
|
+
canSplitCell?: boolean;
|
|
33
|
+
/** Restart / continue / set-value entries for the list item under the caret. */
|
|
34
|
+
listNumbering?: ListNumberingMenuState;
|
|
35
|
+
/** Host-provided entries that lead the menu (already selection-filtered). */
|
|
36
|
+
customItems?: readonly CustomTextMenuItem[];
|
|
37
|
+
};
|
|
38
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
39
|
+
close: () => any;
|
|
40
|
+
action: (action: string) => any;
|
|
41
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
42
|
+
onClose?: () => any;
|
|
43
|
+
onAction?: (action: string) => any;
|
|
44
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
left?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_3) => any;
|
|
6
|
+
} & {
|
|
7
|
+
right?: (props: typeof __VLS_5) => any;
|
|
8
|
+
};
|
|
9
|
+
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>;
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|