@docx-editor.dev/core 2.26.0 → 2.28.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/automation.cjs +1 -1
- package/dist/automation.d.ts +30 -13
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +20 -9
- package/dist/binding.js +1 -1
- package/dist/chunk-2GO5T2JU.cjs +1 -0
- package/dist/chunk-2RC2EPND.js +3 -0
- package/dist/chunk-4GBTELJV.cjs +28 -0
- package/dist/chunk-4R3TEXMN.js +18 -0
- package/dist/chunk-5CSUYANV.js +1 -0
- package/dist/chunk-6APGXLBB.cjs +3 -0
- package/dist/chunk-6AWEKBLB.cjs +1 -0
- package/dist/chunk-6EYYL7FL.js +1 -0
- package/dist/chunk-E7BQA6UP.js +2 -0
- package/dist/chunk-EO4C5QJW.cjs +2 -0
- package/dist/chunk-ETTO6GK3.js +1 -0
- package/dist/chunk-FIJZIQXA.cjs +18 -0
- package/dist/chunk-FRXAOVTB.js +28 -0
- package/dist/chunk-J6BVWIDB.js +2 -0
- package/dist/chunk-JGNVNT2A.cjs +2 -0
- package/dist/chunk-K5U2PLDP.cjs +2 -0
- package/dist/chunk-KKIJG3C6.js +2 -0
- package/dist/chunk-LWDSDCMO.js +27 -0
- package/dist/chunk-NBCVVZOM.cjs +1 -0
- package/dist/chunk-O2AL2HSJ.cjs +1 -0
- package/dist/{chunk-AJCCS53D.js → chunk-O5INAWZQ.js} +1 -1
- package/dist/chunk-QMLCVPCD.cjs +1 -0
- package/dist/chunk-RCHS4ZEH.cjs +27 -0
- package/dist/chunk-SRPILEWV.cjs +5 -0
- package/dist/chunk-TSLBZ26X.js +1 -0
- package/dist/chunk-VDNNLG6X.js +2 -0
- package/dist/chunk-VHAVHCQY.js +7 -0
- package/dist/chunk-VX43VBAX.cjs +7 -0
- package/dist/chunk-Z6WBFXJU.js +5 -0
- package/dist/chunk-ZUHOMK52.cjs +2 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +50 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.cjs +1 -1
- package/dist/collaboration.d.ts +98 -6
- package/dist/collaboration.js +1 -1
- package/dist/contracts/document.d.ts +17 -2
- package/dist/contracts/editor.d.ts +19 -9
- package/dist/contracts/interaction.d.ts +29 -0
- package/dist/contracts/modules.cjs +1 -1
- package/dist/contracts/modules.d.ts +29 -16
- package/dist/contracts/modules.js +1 -1
- package/dist/contracts/types.d.ts +10 -1
- package/dist/{custom-node-writes-Cy9imOjA.d.ts → custom-node-writes-cvL5rhcD.d.ts} +2 -2
- package/dist/{document-protection-Bp19Ad4I.d.ts → document-protection-BAGVGqaP.d.ts} +1 -1
- package/dist/{editor-DYUlyKmb.d.ts → editor-Ci7IZGmG.d.ts} +410 -163
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +5 -5
- package/dist/editor.d.ts +417 -31
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +37 -15
- package/dist/export.js +2 -2
- package/dist/failure-NS2lsya4.d.ts +115 -0
- package/dist/{font-resolver-u_nE0PI1.d.ts → font-resolver-BVQB14qT.d.ts} +1 -1
- package/dist/{headless-document-view-R9bzzepb.d.ts → headless-document-view-qH331moE.d.ts} +2 -2
- package/dist/{image-resources-DfagDguq.d.ts → image-resources-BN-hUgCn.d.ts} +9 -9
- package/dist/{index-Docw8Dcb.d.ts → index-Bsg7oIKP.d.ts} +270 -115
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +46 -18
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-DWitwY73.d.ts → layout-shaping-BEyuiQOk.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +177 -249
- package/dist/layout.js +1 -1
- package/dist/{note-properties-CmfvOJsi.d.ts → note-properties-4Y9o6Gyk.d.ts} +1 -1
- package/dist/{omml-equation-CZ6IG2ja.d.ts → omml-equation-CuzBL5DD.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +18 -7
- package/dist/output.js +1 -1
- package/dist/{protocol-DniKeDb8.d.ts → protocol-Bqk4Izjc.d.ts} +48 -7
- package/dist/review-pane-D9jm8DcY.d.ts +128 -0
- package/dist/{review-paragraph-order-Dc8Q6tfM.d.ts → review-paragraph-order-DT-n6ouC.d.ts} +5 -2
- package/dist/{revision-projection-DfWxdBqA.d.ts → revision-projection-DZ4kKVev.d.ts} +74 -3
- package/dist/{semantic-cell-selection-Dy_BmmpL.d.ts → semantic-cell-selection-D9D1KSXq.d.ts} +8 -6
- package/dist/{semantic-interaction-CvFAj0GR.d.ts → semantic-interaction-CIC-PooQ.d.ts} +25 -34
- package/dist/{semantic-paint-Bk9wIXdZ.d.ts → semantic-paint-BME37OMv.d.ts} +57 -5
- package/dist/semantic-record-queries-CBlZqZNa.d.ts +177 -0
- package/dist/{semantic-records-COqi8pjP.d.ts → semantic-records-4B3WwFAi.d.ts} +84 -42
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +165 -137
- package/dist/store.js +1 -1
- package/dist/{tree-package-fragment-YPyYC1aD.d.ts → tree-package-fragment-BeeKxDw8.d.ts} +77 -57
- package/dist/{tree-session-contract-AeY2v0x9.d.ts → tree-session-contract-CVbmlMlq.d.ts} +7 -5
- package/dist/{types-barrel-BO73JqHG.d.ts → types-barrel-D3xCgQX6.d.ts} +595 -471
- package/package.json +3 -3
- package/dist/chunk-2BK4G4ZN.js +0 -2
- package/dist/chunk-2SJX44PC.cjs +0 -2
- package/dist/chunk-5BIASAN3.js +0 -1
- package/dist/chunk-6SEIXJTX.js +0 -1
- package/dist/chunk-73PG6L2X.js +0 -1
- package/dist/chunk-7RJSH72J.cjs +0 -5
- package/dist/chunk-AGKIHLWQ.cjs +0 -1
- package/dist/chunk-AN6WM4X4.js +0 -2
- package/dist/chunk-ANZ44KQT.cjs +0 -12
- package/dist/chunk-CYT3OQFZ.cjs +0 -1
- package/dist/chunk-DDGGSBAN.js +0 -12
- package/dist/chunk-EEAV3WIN.js +0 -3
- package/dist/chunk-ELQFXMJ5.cjs +0 -1
- package/dist/chunk-EYK4K2J6.js +0 -1
- package/dist/chunk-JNTETUNZ.cjs +0 -1
- package/dist/chunk-L6V3IJ3S.js +0 -5
- package/dist/chunk-LWCI65EL.js +0 -1
- package/dist/chunk-LZDI4P6I.cjs +0 -1
- package/dist/chunk-NS22DVWT.cjs +0 -2
- package/dist/chunk-QIE3YTU4.cjs +0 -2
- package/dist/chunk-QVBFPAGO.js +0 -5
- package/dist/chunk-RCCOLZEQ.js +0 -2
- package/dist/chunk-SUN62YU6.cjs +0 -5
- package/dist/chunk-TKQH7BNE.cjs +0 -1
- package/dist/chunk-TKR2MXX4.cjs +0 -3
- package/dist/chunk-UJL2GDIM.cjs +0 -25
- package/dist/chunk-WQTADNHK.cjs +0 -27
- package/dist/chunk-XSHXBJ2J.js +0 -25
- package/dist/chunk-YXZEBTDF.js +0 -27
- package/dist/failure-BIPVQbRm.d.ts +0 -65
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
import { S as SupportedImageMime, a as ImageDecodePort } from './image-resources-
|
|
2
|
-
import { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode, Z as OoxmlElement,
|
|
1
|
+
import { S as SupportedImageMime, a as ImageDecodePort } from './image-resources-BN-hUgCn.js';
|
|
2
|
+
import { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode, Z as OoxmlElement, ab as OoxmlParagraphNode, ac as OoxmlNoteNode, ad as OoxmlContinuationSeparatorNode, ae as OoxmlEndnotesNode, af as OoxmlFootnotesNode, ag as OoxmlNoteRefNode, ah as OoxmlNoteReferenceNode, ai as OoxmlSeparatorNode, aa as RevisionAttributionInput, aj as DrawingTreeDocOp, ak as ImpactClass, W as TreeDocOp, a8 as TreeOpRejection } from './types-barrel-D3xCgQX6.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* How saved field results are addressed.
|
|
6
|
+
*
|
|
7
|
+
* - `atomic`: every closed field is one offset unit.
|
|
8
|
+
* - `editable`: the results of CREATEDATE, DATE, FILENAME, FILLIN, HYPERLINK, MERGEFIELD,
|
|
9
|
+
* PRINTDATE, QUOTE, SAVEDATE, SEQ, and TIME fields are text when their results are unnested.
|
|
10
|
+
* Simple fields inside complex field results are not supported in this mode. Other nested
|
|
11
|
+
* results, other field types, and legacy FORMTEXT inputs keep their existing addressing.
|
|
12
|
+
*/
|
|
13
|
+
type FieldResultsMode = 'atomic' | 'editable';
|
|
3
14
|
|
|
4
15
|
/** A freshly allocated drawing property id, or the reason one could not be minted. */
|
|
5
16
|
type DrawingPropertyIdResult = {
|
|
@@ -580,6 +591,63 @@ type HistoryCaptureReason = 'package-unit' | 'composition';
|
|
|
580
591
|
declare function observeHistoryGroup<T>(group: HistoryGroup, report: (kind: HistoryCaptureKind, reason?: HistoryCaptureReason) => void, run: () => T): T;
|
|
581
592
|
declare function reportHistoryGroup(group: HistoryGroup | undefined, kind: HistoryCaptureKind, reason?: HistoryCaptureReason): void;
|
|
582
593
|
|
|
594
|
+
/** How one transaction behaves: its story scope, its attribution, and its selection marks. */
|
|
595
|
+
interface TransactOptions {
|
|
596
|
+
readonly origin?: string;
|
|
597
|
+
/** Stable actor attribution for collaboration and audit correlation. */
|
|
598
|
+
readonly actorId?: string;
|
|
599
|
+
/** Stable constituent identity for collaboration duplicate correlation. */
|
|
600
|
+
readonly operationId?: string;
|
|
601
|
+
/**
|
|
602
|
+
* Whether this transaction enters the legacy snapshot undo stack.
|
|
603
|
+
*
|
|
604
|
+
* Collaboration commits set this to false because their actor-local undo authority is the
|
|
605
|
+
* CRDT undo manager. Omitted preserves the ordinary non-collaborative history behavior.
|
|
606
|
+
*/
|
|
607
|
+
readonly recordsHistory?: boolean;
|
|
608
|
+
/**
|
|
609
|
+
* A COMMAND is one user intent that may need several ops (a toolbar click applying a
|
|
610
|
+
* property across a multi-run selection). It is still exactly one history entry, which is
|
|
611
|
+
* the same rule a plain transaction follows — the option exists to say so explicitly at
|
|
612
|
+
* the call site rather than leaving it implied.
|
|
613
|
+
*/
|
|
614
|
+
readonly scope?: 'transaction' | 'command';
|
|
615
|
+
/**
|
|
616
|
+
* Floor on the published impact. Header/footer story edits use `global` so every page
|
|
617
|
+
* sharing the part invalidates rather than keeping stale furniture.
|
|
618
|
+
*/
|
|
619
|
+
readonly minimumImpact?: ImpactClass;
|
|
620
|
+
/** Story identity stamped onto the published ModelChange (package-aware targeting). */
|
|
621
|
+
readonly story?: TreeStoryRef;
|
|
622
|
+
/**
|
|
623
|
+
* The gesture this transaction belongs to: consecutive transactions carrying the SAME
|
|
624
|
+
* token extend one history entry (package from before the first, selection after the
|
|
625
|
+
* latest). Another token, none, undo or redo closes the group. See {@link HistoryGroup}.
|
|
626
|
+
*/
|
|
627
|
+
readonly historyGroup?: HistoryGroup;
|
|
628
|
+
/**
|
|
629
|
+
* How the transaction's ops address saved field results. `atomic` (the default) keeps
|
|
630
|
+
* every field one offset unit; `editable` addresses saved results as text. See
|
|
631
|
+
* `field-result-mode.ts`.
|
|
632
|
+
*/
|
|
633
|
+
readonly fieldResults?: FieldResultsMode;
|
|
634
|
+
}
|
|
635
|
+
/** How a store is constructed: its limits, its history depth, and its identity source. */
|
|
636
|
+
interface TreeDocumentStoreOptions {
|
|
637
|
+
/** Bound on retained history entries. Oldest entries drop first. */
|
|
638
|
+
readonly historyLimit?: number;
|
|
639
|
+
/**
|
|
640
|
+
* The document's `settings.xml`, for a store built from a PART rather than a package.
|
|
641
|
+
*
|
|
642
|
+
* Forms protection lives one part up from the op, and a store built from a part gets a
|
|
643
|
+
* synthetic one-part package that cannot see it — so `w:documentProtection w:edit="forms"`
|
|
644
|
+
* was enforced in the body and nowhere else, and a header, a footer or a note accepted every
|
|
645
|
+
* write a protected document is supposed to refuse. Read through a getter, not captured: a
|
|
646
|
+
* document can gain or lose protection while its stories stay open.
|
|
647
|
+
*/
|
|
648
|
+
readonly settingsPart?: () => OoxmlPart | null | undefined;
|
|
649
|
+
}
|
|
650
|
+
|
|
583
651
|
/** A selection the caller wants restored when an entry is undone or redone. */
|
|
584
652
|
/** A selection captured with a transaction, so undo restores where the caret was. */
|
|
585
653
|
interface SelectionMark {
|
|
@@ -685,41 +753,6 @@ interface TransactionContext {
|
|
|
685
753
|
/** The selection to restore when this entry is redone. */
|
|
686
754
|
selectionAfter(selection: SelectionMark | null): void;
|
|
687
755
|
}
|
|
688
|
-
/** How one transaction behaves: its story scope, its attribution, and its selection marks. */
|
|
689
|
-
interface TransactOptions {
|
|
690
|
-
readonly origin?: string;
|
|
691
|
-
/** Stable actor attribution for collaboration and audit correlation. */
|
|
692
|
-
readonly actorId?: string;
|
|
693
|
-
/** Stable constituent identity for collaboration duplicate correlation. */
|
|
694
|
-
readonly operationId?: string;
|
|
695
|
-
/**
|
|
696
|
-
* Whether this transaction enters the legacy snapshot undo stack.
|
|
697
|
-
*
|
|
698
|
-
* Collaboration commits set this to false because their actor-local undo authority is the
|
|
699
|
-
* CRDT undo manager. Omitted preserves the ordinary non-collaborative history behavior.
|
|
700
|
-
*/
|
|
701
|
-
readonly recordsHistory?: boolean;
|
|
702
|
-
/**
|
|
703
|
-
* A COMMAND is one user intent that may need several ops (a toolbar click applying a
|
|
704
|
-
* property across a multi-run selection). It is still exactly one history entry, which is
|
|
705
|
-
* the same rule a plain transaction follows — the option exists to say so explicitly at
|
|
706
|
-
* the call site rather than leaving it implied.
|
|
707
|
-
*/
|
|
708
|
-
readonly scope?: 'transaction' | 'command';
|
|
709
|
-
/**
|
|
710
|
-
* Floor on the published impact. Header/footer story edits use `global` so every page
|
|
711
|
-
* sharing the part invalidates rather than keeping stale furniture.
|
|
712
|
-
*/
|
|
713
|
-
readonly minimumImpact?: ImpactClass;
|
|
714
|
-
/** Story identity stamped onto the published ModelChange (package-aware targeting). */
|
|
715
|
-
readonly story?: TreeStoryRef;
|
|
716
|
-
/**
|
|
717
|
-
* The gesture this transaction belongs to: consecutive transactions carrying the SAME
|
|
718
|
-
* token extend one history entry (package from before the first, selection after the
|
|
719
|
-
* latest). Another token, none, undo or redo closes the group. See {@link HistoryGroup}.
|
|
720
|
-
*/
|
|
721
|
-
readonly historyGroup?: HistoryGroup;
|
|
722
|
-
}
|
|
723
756
|
interface HistoryEntry {
|
|
724
757
|
/**
|
|
725
758
|
* The whole package as it was, not just the story part.
|
|
@@ -740,21 +773,6 @@ interface HistoryEntry {
|
|
|
740
773
|
*/
|
|
741
774
|
readonly group?: HistoryGroup;
|
|
742
775
|
}
|
|
743
|
-
/** How a store is constructed: its limits, its history depth, and its identity source. */
|
|
744
|
-
interface TreeDocumentStoreOptions {
|
|
745
|
-
/** Bound on retained history entries. Oldest entries drop first. */
|
|
746
|
-
readonly historyLimit?: number;
|
|
747
|
-
/**
|
|
748
|
-
* The document's `settings.xml`, for a store built from a PART rather than a package.
|
|
749
|
-
*
|
|
750
|
-
* Forms protection lives one part up from the op, and a store built from a part gets a
|
|
751
|
-
* synthetic one-part package that cannot see it — so `w:documentProtection w:edit="forms"`
|
|
752
|
-
* was enforced in the body and nowhere else, and a header, a footer or a note accepted every
|
|
753
|
-
* write a protected document is supposed to refuse. Read through a getter, not captured: a
|
|
754
|
-
* document can gain or lose protection while its stories stay open.
|
|
755
|
-
*/
|
|
756
|
-
readonly settingsPart?: () => OoxmlPart | null | undefined;
|
|
757
|
-
}
|
|
758
776
|
/**
|
|
759
777
|
* Opaque document+history checkpoint for package-coordinator rollback.
|
|
760
778
|
* Used when a story mutation may promote to a package undo unit (note-ref cascade).
|
|
@@ -1043,10 +1061,12 @@ declare class TreePackageStore {
|
|
|
1043
1061
|
endComposition(): void;
|
|
1044
1062
|
cancelComposition(): void;
|
|
1045
1063
|
/**
|
|
1046
|
-
* Commit one furniture or note lifecycle op as
|
|
1047
|
-
*
|
|
1064
|
+
* Commit one furniture or note lifecycle op as one ModelChange / undo unit that restores the
|
|
1065
|
+
* whole package atomically. `actorId` scopes the ids it mints, as `transact` does.
|
|
1048
1066
|
*/
|
|
1049
|
-
applyLifecycleOp(op: HeaderFooterLifecycleOp | NoteLifecycleOp | TreeDocOp
|
|
1067
|
+
applyLifecycleOp(op: HeaderFooterLifecycleOp | NoteLifecycleOp | TreeDocOp, options?: {
|
|
1068
|
+
readonly actorId?: string;
|
|
1069
|
+
}): PackageTransactResult;
|
|
1050
1070
|
private commitLifecycleOp;
|
|
1051
1071
|
undo(): TreeModelChange | null;
|
|
1052
1072
|
redo(): TreeModelChange | null;
|
|
@@ -1177,5 +1197,5 @@ type FragmentPasteResult = (Extract<PackageTransactResult, {
|
|
|
1177
1197
|
*/
|
|
1178
1198
|
declare function applyFragmentPaste(store: TreePackageStore, scope: StoryScope, input: FragmentPasteInput): FragmentPasteResult;
|
|
1179
1199
|
|
|
1180
|
-
export {
|
|
1181
|
-
export type {
|
|
1200
|
+
export { NOTE_ID_MAX as B, DEFAULT_MAX_EDITABLE_STORY_PARTS as D, NOTE_ID_MIN as E, NOTE_SEPARATOR_ID as G, MAX_FRAGMENT_DECODED_BYTES as M, TreePackageStore as T, allocateDrawingPropertyId as a4, allocateNoteId as a5, applyFragmentPaste as a6, applyHeaderFooterLifecycleOp as a7, applyNoteLifecycleOp as a8, atomicNoteSpansOf as a9, noteTypeOf as aA, notesOf as aB, notesPartHasId as aC, observeHistoryGroup as aD, parseNoteId as aE, parseNoteScopeId as aF, resolveHeaderFooterParts as aG, resolveHeaderFooterPartsBySection as aH, resolveHeaderFooterResolutionBySection as aI, resolveNotesPart as aJ, withBinaryPart as aK, withEmbeddedImage as aL, withoutUnreferencedImagePart as aM, cascadeDeletedNoteReferences as aa, collectNoteReferences as ab, collectPackageNoteReferences as ac, collectSectionPropertyNodes as ad, createNoteReferenceScanBudget as ae, customMarkFollows as af, diagnoseNoteReferences as ag, findNoteById as ah, formatNoteScopeId as ai, isContinuationSeparatorNode as aj, isEndnotesNode as ak, isFootnotesNode as al, isHeaderFooterLifecycleOp as am, isNormalNote as an, isNoteAtomNode as ao, isNoteLifecycleOp as ap, isNoteNode as aq, isNoteRefNode as ar, isNoteReferenceNode as as, isSeparatorNode as at, normalNoteIds as au, noteAtomText as av, noteIdOf as aw, noteKindOf as ax, noteRefKindOf as ay, noteReferenceKindOf as az, TreeDocumentStore as f, reportHistoryGroup as r, MAX_NOTES_PER_PART as v, MAX_NOTE_REFERENCE_PARTS as w, MAX_NOTE_REFERENCE_SCAN as x, NOTE_ATOM_CHAR as y, NOTE_CONTINUATION_SEPARATOR_ID as z };
|
|
1201
|
+
export type { TreeDocumentStoreOptions as $, ApplyImagePropertiesInput as A, CascadeDeletedNoteReferencesOptions as C, FragmentPasteInput as F, HeaderFooterParts as H, InsertImageInput as I, NoteDiagnostic as J, NoteDiagnosticCode as K, NoteLifecycleImpact as L, NoteKind as N, NoteLifecycleOp as O, NoteLifecycleOptions as P, NoteLifecycleRejection as Q, ReplaceImageOptions as R, StoryScope as S, NoteLifecycleResult as U, NoteReferenceHit as V, NoteReferenceScanBudget as W, NoteType as X, PackageTransactResult as Y, RemotePackageAttribution as Z, StoryResolveResult as _, StoryTargetRejection as a, TreePackageStoreOptions as a0, TreeStoryRef as a1, TransactResult as a2, TransactionContext as a3, HeaderFooterSectionResolution as b, HeaderFooterVariant as c, HistoryGroup as d, TreeModelChange as e, SelectionMark as g, TransactOptions as h, ImageIntentResult as i, FragmentPasteResult as j, FieldResultsMode as k, AtomicNoteSpan as l, DrawingPropertyIdResult as m, HeaderFooterKind as n, HeaderFooterLifecycleImpact as o, HeaderFooterLifecycleOp as p, HeaderFooterLifecycleRejection as q, HeaderFooterLifecycleResult as s, HeaderFooterSlotMeta as t, HistoryCaptureKind as u };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as StoryScope, g as SelectionMark, h as TransactOptions, a as StoryTargetRejection,
|
|
2
|
-
import { W as TreeDocOp, O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage, Z as OoxmlElement, a as ReviewItem,
|
|
3
|
-
import { S as SupportedImageMime, a as ImageDecodePort } from './image-resources-
|
|
4
|
-
import { D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, a as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind } from './custom-node-writes-
|
|
5
|
-
import { H as HeadlessDocumentView, D as DocumentProperties } from './headless-document-view-
|
|
1
|
+
import { S as StoryScope, g as SelectionMark, h as TransactOptions, a as StoryTargetRejection, e as TreeModelChange, H as HeaderFooterParts, b as HeaderFooterSectionResolution, I as InsertImageInput, i as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput, F as FragmentPasteInput, j as FragmentPasteResult } from './tree-package-fragment-BeeKxDw8.js';
|
|
2
|
+
import { W as TreeDocOp, O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage, Z as OoxmlElement, a as ReviewItem, aa as RevisionAttributionInput } from './types-barrel-D3xCgQX6.js';
|
|
3
|
+
import { S as SupportedImageMime, a as ImageDecodePort } from './image-resources-BN-hUgCn.js';
|
|
4
|
+
import { D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, a as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind } from './custom-node-writes-cvL5rhcD.js';
|
|
5
|
+
import { H as HeadlessDocumentView, D as DocumentProperties } from './headless-document-view-qH331moE.js';
|
|
6
6
|
import { Node } from 'prosemirror-model';
|
|
7
7
|
import { CollaborationDocumentPort } from './collaboration/replication.js';
|
|
8
8
|
import { V as ViewScope } from './editor-scope-OHPwVQ5l.js';
|
|
@@ -88,6 +88,8 @@ interface ThemeSchemeFaces {
|
|
|
88
88
|
/** Language-specific theme faces, keyed by ISO 15924 script. */
|
|
89
89
|
readonly majorSupplemental?: Readonly<Record<string, string>>;
|
|
90
90
|
readonly minorSupplemental?: Readonly<Record<string, string>>;
|
|
91
|
+
/** Lower-cased font table names that declare a Chinese character set. */
|
|
92
|
+
readonly chineseFontTableFaces?: readonly string[];
|
|
91
93
|
}
|
|
92
94
|
/** The theme's font slots, fully resolved, for resolving `w:rFonts` theme attributes. */
|
|
93
95
|
interface DocumentThemeFonts extends ThemeSchemeFaces {
|