oasis-editor 0.0.66 → 0.0.68
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/{OasisEditorApp-BEpB2JNL.js → OasisEditorApp-BPAQvDNb.js} +107 -75
- package/dist/assets/{importDocxWorker-BWyqey19.js → importDocxWorker-Bn1fun73.js} +1 -1
- package/dist/core/assertNever.d.ts +11 -0
- package/dist/core/model/index.d.ts +2 -0
- package/dist/core/model/runKind.d.ts +40 -0
- package/dist/{index-3oO2RdNy.js → index-IphSPayO.js} +250 -230
- package/dist/oasis-editor.js +54 -54
- package/dist/oasis-editor.umd.cjs +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Exhaustiveness guard for discriminated-union dispatch. Put a call to this in
|
|
3
|
+
* the `default` arm of a `switch` over a union (e.g. `EditorBlockNode.type`):
|
|
4
|
+
* if a new variant is added, every visitor that forgot to handle it becomes a
|
|
5
|
+
* compile error here instead of silently falling through and dropping data.
|
|
6
|
+
*
|
|
7
|
+
* This is intentionally a tiny local helper, not a global visitor registry —
|
|
8
|
+
* each pipeline keeps its own dispatch but gains compile-time exhaustiveness
|
|
9
|
+
* (O2).
|
|
10
|
+
*/
|
|
11
|
+
export declare function assertNever(value: never, label?: string): never;
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
export type { EditorUnderlineStyle, EditorLigatures, EditorNumberSpacing, EditorNumberForm, EditorTextLanguage, EditorBorderStyle, EditorTabStop, EditorParagraphListStyle, EditorImageCrop, EditorImageFillMode, EditorImageFloatingPosition, EditorImageFloatingLayout, EditorImageRunData, EditorWrapPolygonPoint, EditorFieldData, EditorFieldChar, EditorFootnoteReferenceData, EditorEndnoteReferenceData, EditorRevision, EditorAsset, EditorFootnoteNumberFormat, EditorFootnoteRestart, EditorDocxWidthValue, EditorTableLayout, EditorTableRowHeightRule, } from './types/primitives.js';
|
|
10
10
|
export type { EditorTextStyle, EditorParagraphStyle, EditorTableStyle, EditorTableConditionalFormat, EditorConditionalRowStyle, EditorNamedStyle, } from './types/styles.js';
|
|
11
11
|
export type { EditorTextRun, EditorTextBoxShape, EditorTextBoxBody, EditorTextBoxData, EditorDropCap, EditorParagraphNode, EditorTableCellStyle, EditorTableCellNode, EditorTableRowStyle, EditorTableRowNode, EditorTableNode, EditorBlockNode, } from './types/nodes.js';
|
|
12
|
+
export type { RunKind, RunVisitor } from './runKind.js';
|
|
13
|
+
export { getRunKind, isInlineObjectRun, visitRun } from './runKind.js';
|
|
12
14
|
export type { EditorFootnote } from './types/documentFootnotes.js';
|
|
13
15
|
export type { EditorEndnote } from './types/documentEndnotes.js';
|
|
14
16
|
export type { EditorBookmark, EditorBookmarkAnchor, EditorBookmarks, } from './types/documentBookmarks.js';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EditorTextRun } from './types/nodes.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Discriminated classification of an {@link EditorTextRun}.
|
|
5
|
+
*
|
|
6
|
+
* `EditorTextRun` is a flat bag of optional fields (`image`, `textBox`,
|
|
7
|
+
* `field`, …) with no discriminant, so adding a new inline object means every
|
|
8
|
+
* dispatch site has to remember to handle it (O1). `getRunKind` derives the
|
|
9
|
+
* effective kind once, in the canonical precedence the DOCX serializer uses
|
|
10
|
+
* (`export/docx/text/runXml.ts`), and `visitRun` turns that into an exhaustive
|
|
11
|
+
* dispatch — a missing branch is a compile error.
|
|
12
|
+
*
|
|
13
|
+
* This is purely derived from the existing fields; it does not change the wire
|
|
14
|
+
* shape. It is the safe first step before migrating `EditorTextRun` itself to a
|
|
15
|
+
* discriminated union.
|
|
16
|
+
*/
|
|
17
|
+
export type RunKind = "footnoteReference" | "endnoteReference" | "fieldChar" | "fieldInstruction" | "field" | "textBox" | "image" | "sym" | "text";
|
|
18
|
+
/**
|
|
19
|
+
* Classifies a run by its highest-precedence object field. The order mirrors
|
|
20
|
+
* `serializeRun` so callers that switch on the kind agree with export.
|
|
21
|
+
*/
|
|
22
|
+
export declare function getRunKind(run: EditorTextRun): RunKind;
|
|
23
|
+
/** True for runs that carry an inline object replacement (image or text box). */
|
|
24
|
+
export declare function isInlineObjectRun(run: EditorTextRun): boolean;
|
|
25
|
+
export interface RunVisitor<R> {
|
|
26
|
+
text(run: EditorTextRun): R;
|
|
27
|
+
image(run: EditorTextRun): R;
|
|
28
|
+
textBox(run: EditorTextRun): R;
|
|
29
|
+
field(run: EditorTextRun): R;
|
|
30
|
+
fieldChar(run: EditorTextRun): R;
|
|
31
|
+
fieldInstruction(run: EditorTextRun): R;
|
|
32
|
+
footnoteReference(run: EditorTextRun): R;
|
|
33
|
+
endnoteReference(run: EditorTextRun): R;
|
|
34
|
+
sym(run: EditorTextRun): R;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Exhaustive dispatch over a run's kind. Adding a `RunKind` variant forces every
|
|
38
|
+
* `RunVisitor` to grow the matching method (compile error otherwise).
|
|
39
|
+
*/
|
|
40
|
+
export declare function visitRun<R>(run: EditorTextRun, visitor: RunVisitor<R>): R;
|
|
@@ -2483,7 +2483,7 @@ function OasisEditorAppLazy(props = {}) {
|
|
|
2483
2483
|
onCleanup(() => {
|
|
2484
2484
|
cancelled = true;
|
|
2485
2485
|
});
|
|
2486
|
-
import("./OasisEditorApp-
|
|
2486
|
+
import("./OasisEditorApp-BPAQvDNb.js").then((m) => {
|
|
2487
2487
|
cancelled = true;
|
|
2488
2488
|
setProgress(1);
|
|
2489
2489
|
setTimeout(() => setApp(() => m.OasisEditorApp), 180);
|
|
@@ -3001,6 +3001,10 @@ function createStore(...[store, options]) {
|
|
|
3001
3001
|
}
|
|
3002
3002
|
return [wrappedStore, setStore];
|
|
3003
3003
|
}
|
|
3004
|
+
function assertNever(value, label = "value") {
|
|
3005
|
+
const tag = value && typeof value === "object" && "type" in value ? value.type : value;
|
|
3006
|
+
throw new Error(`Unhandled ${label}: ${String(tag)}`);
|
|
3007
|
+
}
|
|
3004
3008
|
const EDITOR_ASSET_REF_PREFIX = "asset:";
|
|
3005
3009
|
function asRequired(value) {
|
|
3006
3010
|
return value;
|
|
@@ -3354,10 +3358,16 @@ function getDocumentSections(document2) {
|
|
|
3354
3358
|
return getDocumentSectionsCanonical(document2);
|
|
3355
3359
|
}
|
|
3356
3360
|
function getBlockParagraphs(block) {
|
|
3357
|
-
|
|
3358
|
-
|
|
3361
|
+
switch (block.type) {
|
|
3362
|
+
case "paragraph":
|
|
3363
|
+
return [block];
|
|
3364
|
+
case "table":
|
|
3365
|
+
return block.rows.flatMap(
|
|
3366
|
+
(row) => row.cells.flatMap((cell) => cell.blocks)
|
|
3367
|
+
);
|
|
3368
|
+
default:
|
|
3369
|
+
return assertNever(block, "block");
|
|
3359
3370
|
}
|
|
3360
|
-
return block.rows.flatMap((row) => row.cells.flatMap((cell) => cell.blocks));
|
|
3361
3371
|
}
|
|
3362
3372
|
function flattenSectionZone(blocks) {
|
|
3363
3373
|
return blocks ? blocks.flatMap(getBlockParagraphs) : [];
|
|
@@ -3418,37 +3428,41 @@ class DocumentIndexBuilder {
|
|
|
3418
3428
|
}
|
|
3419
3429
|
indexBlock(block, blockIndex, ctx) {
|
|
3420
3430
|
let paraIndex = ctx.startIndex;
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3431
|
+
switch (block.type) {
|
|
3432
|
+
case "paragraph":
|
|
3433
|
+
this.recordParagraph(
|
|
3434
|
+
block,
|
|
3435
|
+
{
|
|
3436
|
+
sectionIndex: ctx.sectionIndex,
|
|
3437
|
+
zone: ctx.zone,
|
|
3438
|
+
paragraphIndexInSection: paraIndex,
|
|
3439
|
+
footnoteId: ctx.footnoteId
|
|
3440
|
+
},
|
|
3441
|
+
null
|
|
3442
|
+
);
|
|
3443
|
+
return paraIndex + 1;
|
|
3444
|
+
case "table":
|
|
3445
|
+
block.rows.forEach((row, rowIndex) => {
|
|
3446
|
+
row.cells.forEach((cell, cellIndex) => {
|
|
3447
|
+
cell.blocks.forEach((cp, cpIndex) => {
|
|
3448
|
+
this.recordParagraph(
|
|
3449
|
+
cp,
|
|
3450
|
+
{
|
|
3451
|
+
sectionIndex: ctx.sectionIndex,
|
|
3452
|
+
zone: ctx.zone,
|
|
3453
|
+
paragraphIndexInSection: paraIndex,
|
|
3454
|
+
footnoteId: ctx.footnoteId
|
|
3455
|
+
},
|
|
3456
|
+
{ blockIndex, rowIndex, cellIndex, paragraphIndex: cpIndex }
|
|
3457
|
+
);
|
|
3458
|
+
paraIndex += 1;
|
|
3459
|
+
});
|
|
3460
|
+
});
|
|
3448
3461
|
});
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3462
|
+
return paraIndex;
|
|
3463
|
+
default:
|
|
3464
|
+
return assertNever(block, "block");
|
|
3465
|
+
}
|
|
3452
3466
|
}
|
|
3453
3467
|
recordParagraph(paragraph, location, tableLocation) {
|
|
3454
3468
|
this.index.set(paragraph.id, { paragraph, location, tableLocation });
|
|
@@ -13678,11 +13692,16 @@ function projectColumnTrackLayout(context2) {
|
|
|
13678
13692
|
if (track.blocks.length > 0 && (sourceBlock.type === "paragraph" ? getEffectiveParagraphStyle(sourceBlock, styles).pageBreakBefore : (_a = sourceBlock.style) == null ? void 0 : _a.pageBreakBefore)) {
|
|
13679
13693
|
track.flush();
|
|
13680
13694
|
}
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
|
|
13695
|
+
switch (sourceBlock.type) {
|
|
13696
|
+
case "paragraph":
|
|
13697
|
+
paginateParagraphBlock(track, params, sourceBlock, nextBlock, index);
|
|
13698
|
+
break;
|
|
13699
|
+
case "table":
|
|
13700
|
+
paginateTableBlock(track, params, sourceBlock, index);
|
|
13701
|
+
break;
|
|
13702
|
+
default:
|
|
13703
|
+
assertNever(sourceBlock, "block");
|
|
13684
13704
|
}
|
|
13685
|
-
paginateTableBlock(track, params, sourceBlock, index);
|
|
13686
13705
|
}
|
|
13687
13706
|
return track.finalize();
|
|
13688
13707
|
}
|
|
@@ -35573,7 +35592,7 @@ function importDocxInWorker(buffer, options = {}) {
|
|
|
35573
35592
|
const worker = new Worker(
|
|
35574
35593
|
new URL(
|
|
35575
35594
|
/* @vite-ignore */
|
|
35576
|
-
"" + new URL("assets/importDocxWorker-
|
|
35595
|
+
"" + new URL("assets/importDocxWorker-Bn1fun73.js", import.meta.url).href,
|
|
35577
35596
|
import.meta.url
|
|
35578
35597
|
),
|
|
35579
35598
|
{
|
|
@@ -39909,192 +39928,193 @@ const OASIS_MENU_ITEMS = {
|
|
|
39909
39928
|
formatListsNumbered: "format_lists_numbered"
|
|
39910
39929
|
};
|
|
39911
39930
|
export {
|
|
39912
|
-
|
|
39913
|
-
|
|
39914
|
-
|
|
39915
|
-
|
|
39916
|
-
|
|
39931
|
+
EMU_PER_PT as $,
|
|
39932
|
+
createSignal as A,
|
|
39933
|
+
createEffect as B,
|
|
39934
|
+
onCleanup as C,
|
|
39935
|
+
buildCanvasLayoutSnapshot as D,
|
|
39917
39936
|
EMU_PER_PX as E,
|
|
39918
|
-
|
|
39919
|
-
|
|
39920
|
-
|
|
39921
|
-
|
|
39922
|
-
|
|
39923
|
-
|
|
39924
|
-
|
|
39925
|
-
|
|
39926
|
-
|
|
39927
|
-
|
|
39937
|
+
on as F,
|
|
39938
|
+
onMount as G,
|
|
39939
|
+
debounce as H,
|
|
39940
|
+
unwrap as I,
|
|
39941
|
+
getDocumentParagraphs as J,
|
|
39942
|
+
createEditorTableCell as K,
|
|
39943
|
+
createEditorTableRow as L,
|
|
39944
|
+
createEditorTable as M,
|
|
39945
|
+
getDocumentSectionsCanonical as N,
|
|
39946
|
+
createEditorDocument as O,
|
|
39928
39947
|
PT_PER_PX as P,
|
|
39929
|
-
|
|
39930
|
-
|
|
39931
|
-
|
|
39932
|
-
|
|
39933
|
-
|
|
39934
|
-
|
|
39935
|
-
|
|
39936
|
-
|
|
39937
|
-
|
|
39938
|
-
|
|
39939
|
-
|
|
39948
|
+
getPageContentWidth as Q,
|
|
39949
|
+
getDocumentPageSettings as R,
|
|
39950
|
+
getTableCellContentWidthForParagraph as S,
|
|
39951
|
+
resolveResizedDimensions as T,
|
|
39952
|
+
resolveImageSrc as U,
|
|
39953
|
+
resolveTextBoxRenderHeight as V,
|
|
39954
|
+
TWIPS_PER_POINT as W,
|
|
39955
|
+
PX_PER_INCH as X,
|
|
39956
|
+
TWIPS_PER_INCH as Y,
|
|
39957
|
+
resolveEffectiveParagraphStyle as Z,
|
|
39958
|
+
resolveEffectiveTextStyleForParagraph as _,
|
|
39940
39959
|
getParagraphLength as a,
|
|
39941
|
-
|
|
39942
|
-
|
|
39943
|
-
|
|
39944
|
-
|
|
39945
|
-
|
|
39946
|
-
|
|
39947
|
-
|
|
39948
|
-
|
|
39949
|
-
|
|
39950
|
-
|
|
39951
|
-
|
|
39952
|
-
|
|
39953
|
-
|
|
39954
|
-
|
|
39955
|
-
|
|
39956
|
-
|
|
39957
|
-
|
|
39958
|
-
|
|
39959
|
-
|
|
39960
|
-
|
|
39961
|
-
|
|
39962
|
-
|
|
39963
|
-
|
|
39964
|
-
|
|
39965
|
-
|
|
39966
|
-
|
|
39967
|
-
|
|
39968
|
-
|
|
39969
|
-
|
|
39970
|
-
|
|
39971
|
-
|
|
39972
|
-
|
|
39973
|
-
|
|
39974
|
-
|
|
39975
|
-
|
|
39976
|
-
|
|
39977
|
-
|
|
39978
|
-
|
|
39979
|
-
|
|
39980
|
-
|
|
39981
|
-
|
|
39982
|
-
|
|
39983
|
-
|
|
39984
|
-
|
|
39985
|
-
|
|
39986
|
-
|
|
39987
|
-
|
|
39988
|
-
|
|
39989
|
-
|
|
39990
|
-
|
|
39991
|
-
|
|
39992
|
-
|
|
39993
|
-
|
|
39994
|
-
|
|
39995
|
-
|
|
39996
|
-
|
|
39997
|
-
|
|
39998
|
-
|
|
39999
|
-
|
|
40000
|
-
|
|
40001
|
-
|
|
40002
|
-
|
|
40003
|
-
|
|
40004
|
-
|
|
39960
|
+
Editor as a$,
|
|
39961
|
+
iterateEndnoteReferenceRuns as a0,
|
|
39962
|
+
imageContentTypeDefaults as a1,
|
|
39963
|
+
JSZip as a2,
|
|
39964
|
+
imageExtensionFromMime as a3,
|
|
39965
|
+
pxToPt as a4,
|
|
39966
|
+
resolveFloatingObjectRect as a5,
|
|
39967
|
+
getTextBoxFloatingGeometry as a6,
|
|
39968
|
+
getPresetPathSegments as a7,
|
|
39969
|
+
projectBlocksLayout as a8,
|
|
39970
|
+
buildListLabels as a9,
|
|
39971
|
+
FOOTNOTE_MARKER_GUTTER_PX as aA,
|
|
39972
|
+
resolveImporterForFile as aB,
|
|
39973
|
+
createEditorStateFromDocument as aC,
|
|
39974
|
+
getDocumentParagraphsCanonical as aD,
|
|
39975
|
+
getToolbarStyleState as aE,
|
|
39976
|
+
STANDARD_FONT_SIZES_PT as aF,
|
|
39977
|
+
fontSizePxToPt as aG,
|
|
39978
|
+
probeLocalFontFamilies as aH,
|
|
39979
|
+
createInitialEditorState as aI,
|
|
39980
|
+
parseFontSizePtToPx as aJ,
|
|
39981
|
+
formatFontSizePt as aK,
|
|
39982
|
+
underlineStyleToCssDecorationStyle as aL,
|
|
39983
|
+
listKindForTag as aM,
|
|
39984
|
+
isParagraphTag as aN,
|
|
39985
|
+
collectInlineRuns as aO,
|
|
39986
|
+
parseParagraphStyle as aP,
|
|
39987
|
+
getCachedCanvasImage as aQ,
|
|
39988
|
+
getHeadingLevel as aR,
|
|
39989
|
+
preciseFontModeVersion as aS,
|
|
39990
|
+
isPreciseFontModeEnabled as aT,
|
|
39991
|
+
togglePreciseFontMode as aU,
|
|
39992
|
+
nextFontSizePt as aV,
|
|
39993
|
+
previousFontSizePt as aW,
|
|
39994
|
+
fontSizePtToPx as aX,
|
|
39995
|
+
createDefaultToolbarPreset as aY,
|
|
39996
|
+
MenuRegistry as aZ,
|
|
39997
|
+
createToolbarRegistry as a_,
|
|
39998
|
+
textStyleToFontSizePt as aa,
|
|
39999
|
+
PX_PER_POINT as ab,
|
|
40000
|
+
DEFAULT_FONT_SIZE_PX as ac,
|
|
40001
|
+
isDoubleUnderlineStyle as ad,
|
|
40002
|
+
isWavyUnderlineStyle as ae,
|
|
40003
|
+
underlineStyleLineWidthPx as af,
|
|
40004
|
+
underlineStyleDashArray as ag,
|
|
40005
|
+
resolveListLabel as ah,
|
|
40006
|
+
getListLabelInset as ai,
|
|
40007
|
+
getAlignedListLabelInset as aj,
|
|
40008
|
+
getParagraphBorderInsets as ak,
|
|
40009
|
+
buildSegmentTable as al,
|
|
40010
|
+
buildCanvasTableLayout as am,
|
|
40011
|
+
normalizeFamily as an,
|
|
40012
|
+
ROBOTO_FONT_FILES as ao,
|
|
40013
|
+
loadFontAsset as ap,
|
|
40014
|
+
OFFICE_COMPAT_FONT_FAMILIES as aq,
|
|
40015
|
+
buildSfnt as ar,
|
|
40016
|
+
defaultFontDecoderRegistry as as,
|
|
40017
|
+
SfntFontProgram as at,
|
|
40018
|
+
collectPdfFontFamilies as au,
|
|
40019
|
+
projectDocumentLayout as av,
|
|
40020
|
+
getPageHeaderZoneTop as aw,
|
|
40021
|
+
getPageBodyTop as ax,
|
|
40022
|
+
getPageColumnRects as ay,
|
|
40023
|
+
findFootnoteReference as az,
|
|
40005
40024
|
createEditorRun as b,
|
|
40006
|
-
|
|
40007
|
-
|
|
40008
|
-
|
|
40009
|
-
|
|
40010
|
-
|
|
40011
|
-
|
|
40012
|
-
|
|
40013
|
-
|
|
40014
|
-
|
|
40015
|
-
|
|
40016
|
-
|
|
40017
|
-
|
|
40018
|
-
|
|
40019
|
-
|
|
40020
|
-
|
|
40021
|
-
|
|
40022
|
-
|
|
40023
|
-
|
|
40024
|
-
|
|
40025
|
-
|
|
40026
|
-
|
|
40027
|
-
|
|
40028
|
-
|
|
40029
|
-
|
|
40030
|
-
|
|
40031
|
-
|
|
40032
|
-
|
|
40033
|
-
|
|
40034
|
-
|
|
40035
|
-
|
|
40036
|
-
|
|
40037
|
-
|
|
40038
|
-
|
|
40039
|
-
|
|
40040
|
-
|
|
40041
|
-
|
|
40042
|
-
|
|
40043
|
-
|
|
40044
|
-
|
|
40045
|
-
|
|
40046
|
-
|
|
40047
|
-
|
|
40048
|
-
|
|
40049
|
-
|
|
40050
|
-
|
|
40051
|
-
|
|
40052
|
-
|
|
40053
|
-
|
|
40054
|
-
|
|
40055
|
-
|
|
40056
|
-
|
|
40057
|
-
|
|
40058
|
-
|
|
40059
|
-
|
|
40060
|
-
|
|
40061
|
-
|
|
40062
|
-
|
|
40063
|
-
|
|
40064
|
-
|
|
40065
|
-
|
|
40066
|
-
|
|
40067
|
-
|
|
40068
|
-
|
|
40069
|
-
|
|
40025
|
+
DialogFooter as b$,
|
|
40026
|
+
resolveCommandRef as b0,
|
|
40027
|
+
commandRefName as b1,
|
|
40028
|
+
InlineShell as b2,
|
|
40029
|
+
BalloonShell as b3,
|
|
40030
|
+
DocumentShell as b4,
|
|
40031
|
+
createMemo as b5,
|
|
40032
|
+
getCaretRectFromSnapshot as b6,
|
|
40033
|
+
getParagraphRectFromSnapshot as b7,
|
|
40034
|
+
createComponent as b8,
|
|
40035
|
+
CaretOverlay as b9,
|
|
40036
|
+
getParagraphById as bA,
|
|
40037
|
+
PluginUiHost as bB,
|
|
40038
|
+
OasisEditorEditor as bC,
|
|
40039
|
+
perfTimer as bD,
|
|
40040
|
+
OasisBrandMark as bE,
|
|
40041
|
+
setPreciseFontPreference as bF,
|
|
40042
|
+
setWelcomeSeen as bG,
|
|
40043
|
+
enablePreciseFontMode as bH,
|
|
40044
|
+
createOasisEditorClient as bI,
|
|
40045
|
+
createEditorZoom as bJ,
|
|
40046
|
+
startLongTaskObserver as bK,
|
|
40047
|
+
installGlobalReport as bL,
|
|
40048
|
+
applyStoredPreciseFontPreference as bM,
|
|
40049
|
+
getWelcomeSeen as bN,
|
|
40050
|
+
isLocalFontAccessSupported as bO,
|
|
40051
|
+
EDITOR_SCROLL_PADDING_PX as bP,
|
|
40052
|
+
Toolbar as bQ,
|
|
40053
|
+
OasisEditorLoading as bR,
|
|
40054
|
+
I18nProvider as bS,
|
|
40055
|
+
createEditorLogger as bT,
|
|
40056
|
+
createTranslator as bU,
|
|
40057
|
+
registerDomStatsSurface as bV,
|
|
40058
|
+
Button as bW,
|
|
40059
|
+
Checkbox as bX,
|
|
40060
|
+
ColorPicker as bY,
|
|
40061
|
+
CommandRegistry as bZ,
|
|
40062
|
+
DEFAULT_PALETTE as b_,
|
|
40063
|
+
Show as ba,
|
|
40064
|
+
createRenderEffect as bb,
|
|
40065
|
+
style as bc,
|
|
40066
|
+
setAttribute as bd,
|
|
40067
|
+
setStyleProperty as be,
|
|
40068
|
+
memo as bf,
|
|
40069
|
+
template as bg,
|
|
40070
|
+
useI18n as bh,
|
|
40071
|
+
insert as bi,
|
|
40072
|
+
use as bj,
|
|
40073
|
+
addEventListener as bk,
|
|
40074
|
+
Dialog as bl,
|
|
40075
|
+
delegateEvents as bm,
|
|
40076
|
+
className as bn,
|
|
40077
|
+
For as bo,
|
|
40078
|
+
UNDERLINE_STYLE_OPTIONS as bp,
|
|
40079
|
+
Tabs as bq,
|
|
40080
|
+
measureParagraphMinContentWidthPx as br,
|
|
40081
|
+
getEditableBlocksForZone as bs,
|
|
40082
|
+
findParagraphLocation as bt,
|
|
40083
|
+
createSectionBoundaryParagraph as bu,
|
|
40084
|
+
normalizePageSettings as bv,
|
|
40085
|
+
DEFAULT_EDITOR_PAGE_SETTINGS as bw,
|
|
40086
|
+
markStart as bx,
|
|
40087
|
+
markEnd as by,
|
|
40088
|
+
getParagraphEntries as bz,
|
|
40070
40089
|
createEditorParagraphFromRuns as c,
|
|
40071
|
-
|
|
40072
|
-
|
|
40073
|
-
|
|
40074
|
-
|
|
40075
|
-
|
|
40076
|
-
|
|
40077
|
-
|
|
40078
|
-
|
|
40079
|
-
|
|
40080
|
-
|
|
40081
|
-
|
|
40082
|
-
|
|
40083
|
-
|
|
40084
|
-
|
|
40085
|
-
|
|
40086
|
-
|
|
40087
|
-
|
|
40088
|
-
|
|
40089
|
-
|
|
40090
|
-
|
|
40091
|
-
|
|
40092
|
-
|
|
40093
|
-
|
|
40094
|
-
|
|
40095
|
-
|
|
40096
|
-
|
|
40097
|
-
|
|
40090
|
+
FloatingActionButton as c0,
|
|
40091
|
+
GridPicker as c1,
|
|
40092
|
+
IconButton as c2,
|
|
40093
|
+
Menu as c3,
|
|
40094
|
+
OASIS_BUILTIN_COMMANDS as c4,
|
|
40095
|
+
OASIS_MENU_ITEMS as c5,
|
|
40096
|
+
OASIS_TOOLBAR_ITEMS as c6,
|
|
40097
|
+
OasisEditorAppLazy as c7,
|
|
40098
|
+
OasisEditorContainer as c8,
|
|
40099
|
+
PluginCollection as c9,
|
|
40100
|
+
Popover as ca,
|
|
40101
|
+
RIBBON_TABS as cb,
|
|
40102
|
+
Select as cc,
|
|
40103
|
+
SelectField as cd,
|
|
40104
|
+
Separator as ce,
|
|
40105
|
+
SidePanel as cf,
|
|
40106
|
+
SidePanelBody as cg,
|
|
40107
|
+
SidePanelFooter as ch,
|
|
40108
|
+
SidePanelHeader as ci,
|
|
40109
|
+
SplitButton as cj,
|
|
40110
|
+
TextField as ck,
|
|
40111
|
+
Button$1 as cl,
|
|
40112
|
+
buildRibbonTabDefinitions as cm,
|
|
40113
|
+
createEditorCommandBus as cn,
|
|
40114
|
+
createOasisEditor as co,
|
|
40115
|
+
createOasisEditorContainer as cp,
|
|
40116
|
+
mount as cq,
|
|
40117
|
+
registerToolbarRenderer as cr,
|
|
40098
40118
|
getDocumentSections as d,
|
|
40099
40119
|
createEditorStyledRun as e,
|
|
40100
40120
|
getParagraphText as f,
|
|
@@ -40108,14 +40128,14 @@ export {
|
|
|
40108
40128
|
normalizeSelection as n,
|
|
40109
40129
|
isSelectionCollapsed as o,
|
|
40110
40130
|
positionToParagraphOffset as p,
|
|
40111
|
-
|
|
40112
|
-
|
|
40113
|
-
|
|
40114
|
-
|
|
40115
|
-
|
|
40116
|
-
|
|
40117
|
-
|
|
40118
|
-
|
|
40119
|
-
|
|
40120
|
-
|
|
40131
|
+
assertNever as q,
|
|
40132
|
+
createEditorParagraph as r,
|
|
40133
|
+
getBlockParagraphs as s,
|
|
40134
|
+
createEditorFootnote as t,
|
|
40135
|
+
createFootnoteReferenceRun as u,
|
|
40136
|
+
renumberFootnotes as v,
|
|
40137
|
+
iterateFootnoteReferenceRuns as w,
|
|
40138
|
+
getFootnoteDisplayMarker as x,
|
|
40139
|
+
findParagraphTableLocation as y,
|
|
40140
|
+
buildTableCellLayout as z
|
|
40121
40141
|
};
|