oasis-editor 0.0.110 → 0.0.112
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-D3M38bHd.js → OasisEditorApp-p9k7O_1i.js} +39 -148
- package/dist/assets/{importDocxWorker-DyYGjoXG.js → importDocxWorker-Bz2kZOBO.js} +1 -1
- package/dist/core/docxTableMaps.d.ts +11 -0
- package/dist/core/editorState.d.ts +5 -14
- package/dist/{index-DezzFA4l.js → index-AX7m_SeX.js} +199 -187
- package/dist/oasis-editor.js +50 -50
- package/dist/oasis-editor.umd.cjs +4 -4
- package/dist/ui/canvas/canvasBorders.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Maps OOXML `w:cnfStyle` attribute names to EditorTableConditionalType keys.
|
|
3
|
+
* Shared by import (parsing `w:cnfStyle`) and export (serializing `w:cnfStyle`).
|
|
4
|
+
* The order matches the 12-bit legacy bitmask in `w:val`.
|
|
5
|
+
*/
|
|
6
|
+
export declare const TABLE_CONDITIONAL_FLAG_ATTRIBUTES: readonly [["firstRow", "firstRow"], ["lastRow", "lastRow"], ["firstColumn", "firstCol"], ["lastColumn", "lastCol"], ["oddVBand", "band1Vert"], ["evenVBand", "band2Vert"], ["oddHBand", "band1Horz"], ["evenHBand", "band2Horz"], ["firstRowFirstColumn", "nwCell"], ["firstRowLastColumn", "neCell"], ["lastRowFirstColumn", "swCell"], ["lastRowLastColumn", "seCell"]];
|
|
7
|
+
/**
|
|
8
|
+
* Maps OOXML `w:tblBorders` element names to EditorTableStyle borders keys.
|
|
9
|
+
* Shared by export paths that serialize table-level borders.
|
|
10
|
+
*/
|
|
11
|
+
export declare const TABLE_BORDER_EDGE_KEYS: readonly [["top", "borderTop"], ["left", "borderLeft"], ["bottom", "borderBottom"], ["right", "borderRight"], ["insideH", "borderInsideH"], ["insideV", "borderInsideV"]];
|
|
@@ -45,7 +45,7 @@ export declare function createEditorStateFromDocument(document: EditorDocument,
|
|
|
45
45
|
}): EditorState;
|
|
46
46
|
export declare function createSectionBoundaryParagraph(zone: "header" | "footer"): EditorParagraphNode;
|
|
47
47
|
export declare function createInitialEditorState(): EditorState;
|
|
48
|
-
|
|
48
|
+
type SelectionSpec = {
|
|
49
49
|
anchor?: {
|
|
50
50
|
blockIndex: number;
|
|
51
51
|
offset: number;
|
|
@@ -56,20 +56,11 @@ export declare function createEditorStateFromTexts(texts: string[], selection?:
|
|
|
56
56
|
};
|
|
57
57
|
blockIndex?: number;
|
|
58
58
|
offset?: number;
|
|
59
|
-
}
|
|
59
|
+
};
|
|
60
|
+
export declare function createEditorStateFromTexts(texts: string[], selection?: SelectionSpec): EditorState;
|
|
60
61
|
export declare function createEditorStateFromParagraphRuns(paragraphsSpec: Array<Array<{
|
|
61
62
|
text: string;
|
|
62
63
|
styles?: EditorTextStyle;
|
|
63
64
|
image?: EditorImageRunData;
|
|
64
|
-
}>>, selection?:
|
|
65
|
-
|
|
66
|
-
blockIndex: number;
|
|
67
|
-
offset: number;
|
|
68
|
-
};
|
|
69
|
-
focus?: {
|
|
70
|
-
blockIndex: number;
|
|
71
|
-
offset: number;
|
|
72
|
-
};
|
|
73
|
-
blockIndex?: number;
|
|
74
|
-
offset?: number;
|
|
75
|
-
}): EditorState;
|
|
65
|
+
}>>, selection?: SelectionSpec): EditorState;
|
|
66
|
+
export {};
|
|
@@ -2539,7 +2539,7 @@ function OasisEditorAppLazy(props = {}) {
|
|
|
2539
2539
|
onCleanup(() => {
|
|
2540
2540
|
cancelled = true;
|
|
2541
2541
|
});
|
|
2542
|
-
import("./OasisEditorApp-
|
|
2542
|
+
import("./OasisEditorApp-p9k7O_1i.js").then((m) => {
|
|
2543
2543
|
cancelled = true;
|
|
2544
2544
|
setProgress(1);
|
|
2545
2545
|
setTimeout(() => setApp(() => m.OasisEditorApp), 180);
|
|
@@ -16272,6 +16272,7 @@ class PaginationTrack {
|
|
|
16272
16272
|
}
|
|
16273
16273
|
}
|
|
16274
16274
|
const TEXT_BOX_AUTOFIT_SAFETY_PX$1 = 2;
|
|
16275
|
+
const PARAGRAPH_FIT_HEIGHT_TOLERANCE_PX = 1.5;
|
|
16275
16276
|
function registerParagraphFloatingExclusions(options) {
|
|
16276
16277
|
const exclusions = collectParagraphFloatingExclusions({
|
|
16277
16278
|
fragments: options.layout.fragments,
|
|
@@ -16480,11 +16481,10 @@ function paginateParagraphBlock(track, params, sourceBlock, nextBlock, index) {
|
|
|
16480
16481
|
lineEndIndex === paragraphLayout.lines.length - 1,
|
|
16481
16482
|
styles
|
|
16482
16483
|
);
|
|
16483
|
-
|
|
16484
|
-
if (candidateFitHeight > remainingHeight + tolerance && lineEndIndex === startLineIndex && track.blocks.length > 0) {
|
|
16484
|
+
if (candidateFitHeight > remainingHeight + PARAGRAPH_FIT_HEIGHT_TOLERANCE_PX && lineEndIndex === startLineIndex && track.blocks.length > 0) {
|
|
16485
16485
|
break;
|
|
16486
16486
|
}
|
|
16487
|
-
if (candidateFitHeight > remainingHeight +
|
|
16487
|
+
if (candidateFitHeight > remainingHeight + PARAGRAPH_FIT_HEIGHT_TOLERANCE_PX && lineEndIndex > startLineIndex) {
|
|
16488
16488
|
break;
|
|
16489
16489
|
}
|
|
16490
16490
|
segmentHeight = candidateHeight;
|
|
@@ -20268,6 +20268,8 @@ function underlineStyleDashArray(underlineStyle) {
|
|
|
20268
20268
|
return void 0;
|
|
20269
20269
|
}
|
|
20270
20270
|
}
|
|
20271
|
+
const CANVAS_DASH_DASHED = [5, 3];
|
|
20272
|
+
const CANVAS_DASH_DOTTED = [1, 3];
|
|
20271
20273
|
function drawEdge(ctx, border, x1, y1, x2, y2) {
|
|
20272
20274
|
if (!border || border.type === "none" || border.width <= 0) {
|
|
20273
20275
|
return;
|
|
@@ -20277,9 +20279,9 @@ function drawEdge(ctx, border, x1, y1, x2, y2) {
|
|
|
20277
20279
|
ctx.strokeStyle = border.color;
|
|
20278
20280
|
ctx.lineWidth = border.width;
|
|
20279
20281
|
if (border.type === "dashed") {
|
|
20280
|
-
ctx.setLineDash(
|
|
20282
|
+
ctx.setLineDash(CANVAS_DASH_DASHED);
|
|
20281
20283
|
} else if (border.type === "dotted") {
|
|
20282
|
-
ctx.setLineDash(
|
|
20284
|
+
ctx.setLineDash(CANVAS_DASH_DOTTED);
|
|
20283
20285
|
} else {
|
|
20284
20286
|
ctx.setLineDash([]);
|
|
20285
20287
|
}
|
|
@@ -20298,6 +20300,10 @@ function drawBorderBox(ctx, left, top, width, height, borders) {
|
|
|
20298
20300
|
drawEdge(ctx, borders.topLeftToBottomRight, left, top, right, bottom);
|
|
20299
20301
|
drawEdge(ctx, borders.topRightToBottomLeft, right, top, left, bottom);
|
|
20300
20302
|
}
|
|
20303
|
+
const DOUBLE_STRIKE_OFFSET_PX = 1.3;
|
|
20304
|
+
const DOUBLE_UNDERLINE_OFFSET_PX = 1.5;
|
|
20305
|
+
const WAVY_UNDERLINE_AMPLITUDE_PX = 1.5;
|
|
20306
|
+
const WAVY_UNDERLINE_WAVELENGTH_PX = 4;
|
|
20301
20307
|
const canvasTextLogger = createEditorLogger("canvas-text");
|
|
20302
20308
|
const loggedCanvasFontKeys = /* @__PURE__ */ new Set();
|
|
20303
20309
|
const MAX_CANVAS_FONT_LOGS = 40;
|
|
@@ -20350,9 +20356,9 @@ function drawTabLeader(ctx, leader, x1, x2, y) {
|
|
|
20350
20356
|
ctx.lineWidth = leader === "heavy" ? 1.5 : 1;
|
|
20351
20357
|
ctx.strokeStyle = ctx.fillStyle;
|
|
20352
20358
|
if (leader === "dot" || leader === "middleDot") {
|
|
20353
|
-
ctx.setLineDash(
|
|
20359
|
+
ctx.setLineDash(CANVAS_DASH_DOTTED);
|
|
20354
20360
|
} else if (leader === "hyphen") {
|
|
20355
|
-
ctx.setLineDash(
|
|
20361
|
+
ctx.setLineDash(CANVAS_DASH_DASHED);
|
|
20356
20362
|
} else {
|
|
20357
20363
|
ctx.setLineDash([]);
|
|
20358
20364
|
}
|
|
@@ -21068,14 +21074,13 @@ function drawTextDecoration(ctx, line, fragment, originX, originY, kind, underli
|
|
|
21068
21074
|
if (kind === "underline") {
|
|
21069
21075
|
drawUnderlineWithStyle(ctx, x1, x2, y, underlineStyle);
|
|
21070
21076
|
} else if (kind === "doubleStrike") {
|
|
21071
|
-
const offset = 1.3;
|
|
21072
21077
|
ctx.beginPath();
|
|
21073
21078
|
ctx.lineWidth = 1;
|
|
21074
21079
|
ctx.setLineDash([]);
|
|
21075
|
-
ctx.moveTo(x1, y -
|
|
21076
|
-
ctx.lineTo(x2, y -
|
|
21077
|
-
ctx.moveTo(x1, y +
|
|
21078
|
-
ctx.lineTo(x2, y +
|
|
21080
|
+
ctx.moveTo(x1, y - DOUBLE_STRIKE_OFFSET_PX);
|
|
21081
|
+
ctx.lineTo(x2, y - DOUBLE_STRIKE_OFFSET_PX);
|
|
21082
|
+
ctx.moveTo(x1, y + DOUBLE_STRIKE_OFFSET_PX);
|
|
21083
|
+
ctx.lineTo(x2, y + DOUBLE_STRIKE_OFFSET_PX);
|
|
21079
21084
|
ctx.stroke();
|
|
21080
21085
|
} else {
|
|
21081
21086
|
ctx.beginPath();
|
|
@@ -21091,12 +21096,11 @@ function drawUnderlineWithStyle(ctx, x1, x2, y, underlineStyle) {
|
|
|
21091
21096
|
ctx.setLineDash([]);
|
|
21092
21097
|
ctx.lineWidth = underlineStyleLineWidthPx(underlineStyle);
|
|
21093
21098
|
if (isDoubleUnderlineStyle(underlineStyle)) {
|
|
21094
|
-
const offset = 1.5;
|
|
21095
21099
|
ctx.beginPath();
|
|
21096
|
-
ctx.moveTo(x1, y -
|
|
21097
|
-
ctx.lineTo(x2, y -
|
|
21098
|
-
ctx.moveTo(x1, y +
|
|
21099
|
-
ctx.lineTo(x2, y +
|
|
21100
|
+
ctx.moveTo(x1, y - DOUBLE_UNDERLINE_OFFSET_PX);
|
|
21101
|
+
ctx.lineTo(x2, y - DOUBLE_UNDERLINE_OFFSET_PX);
|
|
21102
|
+
ctx.moveTo(x1, y + DOUBLE_UNDERLINE_OFFSET_PX);
|
|
21103
|
+
ctx.lineTo(x2, y + DOUBLE_UNDERLINE_OFFSET_PX);
|
|
21100
21104
|
ctx.stroke();
|
|
21101
21105
|
return;
|
|
21102
21106
|
}
|
|
@@ -21115,12 +21119,10 @@ function drawUnderlineWithStyle(ctx, x1, x2, y, underlineStyle) {
|
|
|
21115
21119
|
ctx.setLineDash([]);
|
|
21116
21120
|
}
|
|
21117
21121
|
function drawWavyLine(ctx, x1, x2, y) {
|
|
21118
|
-
const amplitude = 1.5;
|
|
21119
|
-
const wavelength = 4;
|
|
21120
21122
|
ctx.beginPath();
|
|
21121
21123
|
ctx.moveTo(x1, y);
|
|
21122
21124
|
for (let x = x1; x <= x2; x += 1) {
|
|
21123
|
-
const dy = Math.sin((x - x1) /
|
|
21125
|
+
const dy = Math.sin((x - x1) / WAVY_UNDERLINE_WAVELENGTH_PX * Math.PI) * WAVY_UNDERLINE_AMPLITUDE_PX;
|
|
21124
21126
|
ctx.lineTo(x, y + dy);
|
|
21125
21127
|
}
|
|
21126
21128
|
ctx.stroke();
|
|
@@ -21203,7 +21205,7 @@ function drawTable(ctx, table, tableSegment, state, originX, originY, contentWid
|
|
|
21203
21205
|
ctx.save();
|
|
21204
21206
|
ctx.strokeStyle = color;
|
|
21205
21207
|
ctx.lineWidth = 2;
|
|
21206
|
-
ctx.setLineDash(
|
|
21208
|
+
ctx.setLineDash(CANVAS_DASH_DASHED);
|
|
21207
21209
|
ctx.strokeRect(
|
|
21208
21210
|
cell.left + 1,
|
|
21209
21211
|
cell.top + 1,
|
|
@@ -33463,6 +33465,28 @@ function parseParagraphStyle$1(paragraphProperties, colors) {
|
|
|
33463
33465
|
}
|
|
33464
33466
|
return emptyOrUndefined(style2);
|
|
33465
33467
|
}
|
|
33468
|
+
const TABLE_CONDITIONAL_FLAG_ATTRIBUTES = [
|
|
33469
|
+
["firstRow", "firstRow"],
|
|
33470
|
+
["lastRow", "lastRow"],
|
|
33471
|
+
["firstColumn", "firstCol"],
|
|
33472
|
+
["lastColumn", "lastCol"],
|
|
33473
|
+
["oddVBand", "band1Vert"],
|
|
33474
|
+
["evenVBand", "band2Vert"],
|
|
33475
|
+
["oddHBand", "band1Horz"],
|
|
33476
|
+
["evenHBand", "band2Horz"],
|
|
33477
|
+
["firstRowFirstColumn", "nwCell"],
|
|
33478
|
+
["firstRowLastColumn", "neCell"],
|
|
33479
|
+
["lastRowFirstColumn", "swCell"],
|
|
33480
|
+
["lastRowLastColumn", "seCell"]
|
|
33481
|
+
];
|
|
33482
|
+
const TABLE_BORDER_EDGE_KEYS = [
|
|
33483
|
+
["top", "borderTop"],
|
|
33484
|
+
["left", "borderLeft"],
|
|
33485
|
+
["bottom", "borderBottom"],
|
|
33486
|
+
["right", "borderRight"],
|
|
33487
|
+
["insideH", "borderInsideH"],
|
|
33488
|
+
["insideV", "borderInsideV"]
|
|
33489
|
+
];
|
|
33466
33490
|
function parseDocxWidthValue(element) {
|
|
33467
33491
|
if (!element) {
|
|
33468
33492
|
return void 0;
|
|
@@ -33490,23 +33514,9 @@ function parsePositiveIntegerProperty(parent, localName) {
|
|
|
33490
33514
|
function parseTableConditionalFlags(properties) {
|
|
33491
33515
|
const element = getFirstChildByTagNameNS(properties, WORD_NS, "cnfStyle");
|
|
33492
33516
|
if (!element) return void 0;
|
|
33493
|
-
const names = [
|
|
33494
|
-
["firstRow", "firstRow"],
|
|
33495
|
-
["lastRow", "lastRow"],
|
|
33496
|
-
["firstColumn", "firstCol"],
|
|
33497
|
-
["lastColumn", "lastCol"],
|
|
33498
|
-
["oddVBand", "band1Vert"],
|
|
33499
|
-
["evenVBand", "band2Vert"],
|
|
33500
|
-
["oddHBand", "band1Horz"],
|
|
33501
|
-
["evenHBand", "band2Horz"],
|
|
33502
|
-
["firstRowFirstColumn", "nwCell"],
|
|
33503
|
-
["firstRowLastColumn", "neCell"],
|
|
33504
|
-
["lastRowFirstColumn", "swCell"],
|
|
33505
|
-
["lastRowLastColumn", "seCell"]
|
|
33506
|
-
];
|
|
33507
33517
|
const rawBits = getAttributeValue(element, "val") ?? "";
|
|
33508
33518
|
const flags = {};
|
|
33509
|
-
|
|
33519
|
+
TABLE_CONDITIONAL_FLAG_ATTRIBUTES.forEach(([attribute, key], index) => {
|
|
33510
33520
|
const explicit = getAttributeValue(element, attribute);
|
|
33511
33521
|
if (explicit === "1" || explicit === "true" || explicit === "on") {
|
|
33512
33522
|
flags[key] = true;
|
|
@@ -36957,7 +36967,7 @@ function importDocxInWorker(buffer, options = {}) {
|
|
|
36957
36967
|
const worker = new Worker(
|
|
36958
36968
|
new URL(
|
|
36959
36969
|
/* @vite-ignore */
|
|
36960
|
-
"" + new URL("assets/importDocxWorker-
|
|
36970
|
+
"" + new URL("assets/importDocxWorker-Bz2kZOBO.js", import.meta.url).href,
|
|
36961
36971
|
import.meta.url
|
|
36962
36972
|
),
|
|
36963
36973
|
{
|
|
@@ -42615,7 +42625,7 @@ export {
|
|
|
42615
42625
|
resolveImageSrc as Z,
|
|
42616
42626
|
listKindForTag as _,
|
|
42617
42627
|
getPageContentWidth as a,
|
|
42618
|
-
|
|
42628
|
+
getPresetPathSegments as a$,
|
|
42619
42629
|
collectInlineRuns as a0,
|
|
42620
42630
|
parseParagraphStyle as a1,
|
|
42621
42631
|
getRunImage as a2,
|
|
@@ -42631,28 +42641,28 @@ export {
|
|
|
42631
42641
|
PX_PER_INCH as aC,
|
|
42632
42642
|
TWIPS_PER_INCH as aD,
|
|
42633
42643
|
normalizeHex6 as aE,
|
|
42634
|
-
|
|
42635
|
-
|
|
42636
|
-
|
|
42637
|
-
|
|
42638
|
-
|
|
42639
|
-
|
|
42640
|
-
|
|
42641
|
-
|
|
42642
|
-
|
|
42643
|
-
|
|
42644
|
-
|
|
42645
|
-
|
|
42646
|
-
|
|
42647
|
-
|
|
42648
|
-
|
|
42649
|
-
|
|
42650
|
-
|
|
42651
|
-
|
|
42652
|
-
|
|
42653
|
-
|
|
42654
|
-
|
|
42655
|
-
|
|
42644
|
+
TABLE_CONDITIONAL_FLAG_ATTRIBUTES as aF,
|
|
42645
|
+
TABLE_BORDER_EDGE_KEYS as aG,
|
|
42646
|
+
resolveEffectiveParagraphStyle as aH,
|
|
42647
|
+
resolveEffectiveTextStyleForParagraph as aI,
|
|
42648
|
+
EMU_PER_PT as aJ,
|
|
42649
|
+
OOXML_ROTATION_UNITS as aK,
|
|
42650
|
+
OOXML_PERCENT_DENOMINATOR as aL,
|
|
42651
|
+
parseHexColorToRgb255 as aM,
|
|
42652
|
+
EMU_PER_PX as aN,
|
|
42653
|
+
getRunFootnoteReference as aO,
|
|
42654
|
+
getRunEndnoteReference as aP,
|
|
42655
|
+
iterateFootnoteReferenceRuns as aQ,
|
|
42656
|
+
iterateEndnoteReferenceRuns as aR,
|
|
42657
|
+
imageContentTypeDefaults as aS,
|
|
42658
|
+
getRunFieldChar as aT,
|
|
42659
|
+
getRunFieldInstruction as aU,
|
|
42660
|
+
createEditorRun as aV,
|
|
42661
|
+
JSZip as aW,
|
|
42662
|
+
imageExtensionFromMime as aX,
|
|
42663
|
+
pxToPt as aY,
|
|
42664
|
+
resolveFloatingObjectRect as aZ,
|
|
42665
|
+
getTextBoxFloatingGeometry as a_,
|
|
42656
42666
|
CaretOverlay as aa,
|
|
42657
42667
|
Show as ab,
|
|
42658
42668
|
createRenderEffect as ac,
|
|
@@ -42680,133 +42690,135 @@ export {
|
|
|
42680
42690
|
setPreciseFontPreference as ay,
|
|
42681
42691
|
setWelcomeSeen as az,
|
|
42682
42692
|
getPageBodyTop as b,
|
|
42683
|
-
|
|
42684
|
-
|
|
42685
|
-
|
|
42686
|
-
|
|
42687
|
-
|
|
42688
|
-
|
|
42689
|
-
|
|
42690
|
-
|
|
42691
|
-
|
|
42692
|
-
|
|
42693
|
-
|
|
42694
|
-
|
|
42695
|
-
|
|
42696
|
-
|
|
42697
|
-
|
|
42698
|
-
|
|
42699
|
-
|
|
42700
|
-
|
|
42701
|
-
|
|
42702
|
-
|
|
42703
|
-
|
|
42704
|
-
|
|
42705
|
-
|
|
42706
|
-
|
|
42707
|
-
|
|
42708
|
-
|
|
42709
|
-
|
|
42710
|
-
|
|
42711
|
-
|
|
42712
|
-
|
|
42713
|
-
|
|
42714
|
-
|
|
42715
|
-
|
|
42716
|
-
|
|
42717
|
-
|
|
42718
|
-
|
|
42719
|
-
|
|
42720
|
-
|
|
42721
|
-
|
|
42722
|
-
|
|
42723
|
-
|
|
42724
|
-
|
|
42725
|
-
|
|
42726
|
-
|
|
42727
|
-
|
|
42728
|
-
|
|
42729
|
-
|
|
42730
|
-
|
|
42731
|
-
|
|
42732
|
-
|
|
42733
|
-
|
|
42734
|
-
|
|
42735
|
-
|
|
42736
|
-
|
|
42737
|
-
|
|
42738
|
-
|
|
42739
|
-
|
|
42740
|
-
|
|
42741
|
-
|
|
42742
|
-
|
|
42743
|
-
|
|
42744
|
-
|
|
42745
|
-
|
|
42746
|
-
|
|
42693
|
+
createFootnoteReferenceRun as b$,
|
|
42694
|
+
buildListLabels as b0,
|
|
42695
|
+
getImageFloatingGeometry as b1,
|
|
42696
|
+
textStyleToFontSizePt as b2,
|
|
42697
|
+
PX_PER_POINT as b3,
|
|
42698
|
+
DEFAULT_FONT_SIZE_PX as b4,
|
|
42699
|
+
resolveOpenTypeFeatureTags as b5,
|
|
42700
|
+
rgb255ToHex as b6,
|
|
42701
|
+
isDoubleUnderlineStyle as b7,
|
|
42702
|
+
isWavyUnderlineStyle as b8,
|
|
42703
|
+
underlineStyleLineWidthPx as b9,
|
|
42704
|
+
getDocumentParagraphs as bA,
|
|
42705
|
+
getDocumentPageSettings as bB,
|
|
42706
|
+
getTableCellContentWidthForParagraph as bC,
|
|
42707
|
+
layoutMetricsEpoch as bD,
|
|
42708
|
+
bumpLayoutMetricsEpoch as bE,
|
|
42709
|
+
createCanvasLayoutSnapshotProvider as bF,
|
|
42710
|
+
on as bG,
|
|
42711
|
+
debounce as bH,
|
|
42712
|
+
unwrap as bI,
|
|
42713
|
+
perfTimer as bJ,
|
|
42714
|
+
getRunTextBox as bK,
|
|
42715
|
+
createEditorDocument as bL,
|
|
42716
|
+
resolveResizedDimensions as bM,
|
|
42717
|
+
resolveTextBoxRenderHeight as bN,
|
|
42718
|
+
getToolbarStyleState as bO,
|
|
42719
|
+
getCachedCanvasImage as bP,
|
|
42720
|
+
measureParagraphMinContentWidthPx as bQ,
|
|
42721
|
+
getEditableBlocksForZone as bR,
|
|
42722
|
+
findParagraphLocation as bS,
|
|
42723
|
+
createSectionBoundaryParagraph as bT,
|
|
42724
|
+
normalizePageSettings as bU,
|
|
42725
|
+
DEFAULT_EDITOR_PAGE_SETTINGS as bV,
|
|
42726
|
+
markStart as bW,
|
|
42727
|
+
markEnd as bX,
|
|
42728
|
+
getParagraphEntries as bY,
|
|
42729
|
+
getParagraphById as bZ,
|
|
42730
|
+
createEditorFootnote as b_,
|
|
42731
|
+
underlineStyleDashArray as ba,
|
|
42732
|
+
resolveListLabel as bb,
|
|
42733
|
+
getListLabelInset as bc,
|
|
42734
|
+
getAlignedListLabelInset as bd,
|
|
42735
|
+
getParagraphBorderInsets as be,
|
|
42736
|
+
buildSegmentTable as bf,
|
|
42737
|
+
buildCanvasTableLayout as bg,
|
|
42738
|
+
resolveCanvasTableWidth as bh,
|
|
42739
|
+
resolveFloatingTableRect as bi,
|
|
42740
|
+
normalizeFamily as bj,
|
|
42741
|
+
ROBOTO_FONT_FILES as bk,
|
|
42742
|
+
loadFontAsset as bl,
|
|
42743
|
+
OFFICE_COMPAT_FONT_FAMILIES as bm,
|
|
42744
|
+
BinaryReader as bn,
|
|
42745
|
+
buildSfnt as bo,
|
|
42746
|
+
defaultFontDecoderRegistry as bp,
|
|
42747
|
+
SfntFontProgram as bq,
|
|
42748
|
+
collectPdfFontFamilies as br,
|
|
42749
|
+
outlineFrom as bs,
|
|
42750
|
+
getPageHeaderZoneTop as bt,
|
|
42751
|
+
getPageColumnRects as bu,
|
|
42752
|
+
findFootnoteReference as bv,
|
|
42753
|
+
FOOTNOTE_MARKER_GUTTER_PX as bw,
|
|
42754
|
+
resolveImporterForFile as bx,
|
|
42755
|
+
getDocumentSectionsCanonical as by,
|
|
42756
|
+
getDocumentParagraphsCanonical as bz,
|
|
42747
42757
|
getPageBodyBottom as c,
|
|
42748
|
-
|
|
42749
|
-
|
|
42750
|
-
|
|
42751
|
-
|
|
42752
|
-
|
|
42753
|
-
|
|
42754
|
-
|
|
42755
|
-
|
|
42756
|
-
|
|
42757
|
-
|
|
42758
|
-
|
|
42759
|
-
|
|
42760
|
-
|
|
42761
|
-
|
|
42762
|
-
|
|
42763
|
-
|
|
42764
|
-
|
|
42765
|
-
|
|
42766
|
-
|
|
42767
|
-
|
|
42768
|
-
|
|
42769
|
-
|
|
42770
|
-
|
|
42771
|
-
|
|
42772
|
-
|
|
42773
|
-
|
|
42774
|
-
|
|
42775
|
-
|
|
42776
|
-
|
|
42777
|
-
|
|
42778
|
-
|
|
42779
|
-
|
|
42780
|
-
|
|
42781
|
-
|
|
42782
|
-
|
|
42783
|
-
|
|
42784
|
-
|
|
42785
|
-
|
|
42786
|
-
|
|
42787
|
-
|
|
42788
|
-
|
|
42789
|
-
|
|
42790
|
-
|
|
42791
|
-
|
|
42792
|
-
|
|
42793
|
-
|
|
42794
|
-
|
|
42795
|
-
|
|
42796
|
-
|
|
42797
|
-
|
|
42798
|
-
|
|
42799
|
-
|
|
42800
|
-
|
|
42801
|
-
|
|
42802
|
-
|
|
42803
|
-
|
|
42804
|
-
|
|
42805
|
-
|
|
42806
|
-
|
|
42807
|
-
|
|
42808
|
-
|
|
42809
|
-
|
|
42758
|
+
registerToolbarRenderer as c$,
|
|
42759
|
+
renumberFootnotes as c0,
|
|
42760
|
+
getHeadingLevel as c1,
|
|
42761
|
+
preciseFontModeVersion as c2,
|
|
42762
|
+
isPreciseFontModeEnabled as c3,
|
|
42763
|
+
resolveNamedTextStyle as c4,
|
|
42764
|
+
togglePreciseFontMode as c5,
|
|
42765
|
+
nextFontSizePt as c6,
|
|
42766
|
+
previousFontSizePt as c7,
|
|
42767
|
+
fontSizePtToPx as c8,
|
|
42768
|
+
createDefaultToolbarPreset as c9,
|
|
42769
|
+
GridPicker as cA,
|
|
42770
|
+
IconButton as cB,
|
|
42771
|
+
Menu as cC,
|
|
42772
|
+
OASIS_BUILTIN_COMMANDS as cD,
|
|
42773
|
+
OASIS_MENU_ITEMS as cE,
|
|
42774
|
+
OASIS_TOOLBAR_ITEMS as cF,
|
|
42775
|
+
OasisEditorAppLazy as cG,
|
|
42776
|
+
OasisEditorContainer as cH,
|
|
42777
|
+
PluginCollection as cI,
|
|
42778
|
+
Popover as cJ,
|
|
42779
|
+
RIBBON_TABS as cK,
|
|
42780
|
+
Select as cL,
|
|
42781
|
+
SelectField as cM,
|
|
42782
|
+
Separator as cN,
|
|
42783
|
+
SidePanel as cO,
|
|
42784
|
+
SidePanelBody as cP,
|
|
42785
|
+
SidePanelFooter as cQ,
|
|
42786
|
+
SidePanelHeader as cR,
|
|
42787
|
+
SplitButton as cS,
|
|
42788
|
+
StyleGallery as cT,
|
|
42789
|
+
TextField as cU,
|
|
42790
|
+
Button$1 as cV,
|
|
42791
|
+
buildRibbonTabDefinitions as cW,
|
|
42792
|
+
createEditorCommandBus as cX,
|
|
42793
|
+
createOasisEditor as cY,
|
|
42794
|
+
createOasisEditorContainer as cZ,
|
|
42795
|
+
mount as c_,
|
|
42796
|
+
MenuRegistry as ca,
|
|
42797
|
+
createToolbarRegistry as cb,
|
|
42798
|
+
Editor as cc,
|
|
42799
|
+
resolveCommandRef as cd,
|
|
42800
|
+
commandRefName as ce,
|
|
42801
|
+
createOasisEditorClient as cf,
|
|
42802
|
+
createEditorZoom as cg,
|
|
42803
|
+
startLongTaskObserver as ch,
|
|
42804
|
+
installGlobalReport as ci,
|
|
42805
|
+
applyStoredPreciseFontPreference as cj,
|
|
42806
|
+
getWelcomeSeen as ck,
|
|
42807
|
+
isLocalFontAccessSupported as cl,
|
|
42808
|
+
EDITOR_SCROLL_PADDING_PX as cm,
|
|
42809
|
+
Toolbar as cn,
|
|
42810
|
+
OasisEditorLoading as co,
|
|
42811
|
+
I18nProvider as cp,
|
|
42812
|
+
createTranslator as cq,
|
|
42813
|
+
createEditorLogger as cr,
|
|
42814
|
+
registerDomStatsSurface as cs,
|
|
42815
|
+
Button as ct,
|
|
42816
|
+
Checkbox as cu,
|
|
42817
|
+
ColorPicker as cv,
|
|
42818
|
+
CommandRegistry as cw,
|
|
42819
|
+
DEFAULT_PALETTE as cx,
|
|
42820
|
+
DialogFooter as cy,
|
|
42821
|
+
FloatingActionButton as cz,
|
|
42810
42822
|
domTextMeasurer as d,
|
|
42811
42823
|
estimateTableBlockHeight as e,
|
|
42812
42824
|
getFootnoteDisplayMarker as f,
|