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.
@@ -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
- export declare function createEditorStateFromTexts(texts: string[], selection?: {
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
- }): EditorState;
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
- anchor?: {
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-D3M38bHd.js").then((m) => {
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
- const tolerance = 1.5;
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 + tolerance && lineEndIndex > startLineIndex) {
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([5, 3]);
20282
+ ctx.setLineDash(CANVAS_DASH_DASHED);
20281
20283
  } else if (border.type === "dotted") {
20282
- ctx.setLineDash([1, 3]);
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([1, 3]);
20359
+ ctx.setLineDash(CANVAS_DASH_DOTTED);
20354
20360
  } else if (leader === "hyphen") {
20355
- ctx.setLineDash([5, 3]);
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 - offset);
21076
- ctx.lineTo(x2, y - offset);
21077
- ctx.moveTo(x1, y + offset);
21078
- ctx.lineTo(x2, y + offset);
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 - offset);
21097
- ctx.lineTo(x2, y - offset);
21098
- ctx.moveTo(x1, y + offset);
21099
- ctx.lineTo(x2, y + offset);
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) / wavelength * Math.PI) * amplitude;
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([5, 3]);
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
- names.forEach(([attribute, key], index) => {
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-DyYGjoXG.js", import.meta.url).href,
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
- getImageFloatingGeometry as a$,
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
- resolveEffectiveParagraphStyle as aF,
42635
- resolveEffectiveTextStyleForParagraph as aG,
42636
- EMU_PER_PT as aH,
42637
- OOXML_ROTATION_UNITS as aI,
42638
- OOXML_PERCENT_DENOMINATOR as aJ,
42639
- parseHexColorToRgb255 as aK,
42640
- EMU_PER_PX as aL,
42641
- getRunFootnoteReference as aM,
42642
- getRunEndnoteReference as aN,
42643
- iterateFootnoteReferenceRuns as aO,
42644
- iterateEndnoteReferenceRuns as aP,
42645
- imageContentTypeDefaults as aQ,
42646
- getRunFieldChar as aR,
42647
- getRunFieldInstruction as aS,
42648
- createEditorRun as aT,
42649
- JSZip as aU,
42650
- imageExtensionFromMime as aV,
42651
- pxToPt as aW,
42652
- resolveFloatingObjectRect as aX,
42653
- getTextBoxFloatingGeometry as aY,
42654
- getPresetPathSegments as aZ,
42655
- buildListLabels as a_,
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
- getHeadingLevel as b$,
42684
- textStyleToFontSizePt as b0,
42685
- PX_PER_POINT as b1,
42686
- DEFAULT_FONT_SIZE_PX as b2,
42687
- resolveOpenTypeFeatureTags as b3,
42688
- rgb255ToHex as b4,
42689
- isDoubleUnderlineStyle as b5,
42690
- isWavyUnderlineStyle as b6,
42691
- underlineStyleLineWidthPx as b7,
42692
- underlineStyleDashArray as b8,
42693
- resolveListLabel as b9,
42694
- getTableCellContentWidthForParagraph as bA,
42695
- layoutMetricsEpoch as bB,
42696
- bumpLayoutMetricsEpoch as bC,
42697
- createCanvasLayoutSnapshotProvider as bD,
42698
- on as bE,
42699
- debounce as bF,
42700
- unwrap as bG,
42701
- perfTimer as bH,
42702
- getRunTextBox as bI,
42703
- createEditorDocument as bJ,
42704
- resolveResizedDimensions as bK,
42705
- resolveTextBoxRenderHeight as bL,
42706
- getToolbarStyleState as bM,
42707
- getCachedCanvasImage as bN,
42708
- measureParagraphMinContentWidthPx as bO,
42709
- getEditableBlocksForZone as bP,
42710
- findParagraphLocation as bQ,
42711
- createSectionBoundaryParagraph as bR,
42712
- normalizePageSettings as bS,
42713
- DEFAULT_EDITOR_PAGE_SETTINGS as bT,
42714
- markStart as bU,
42715
- markEnd as bV,
42716
- getParagraphEntries as bW,
42717
- getParagraphById as bX,
42718
- createEditorFootnote as bY,
42719
- createFootnoteReferenceRun as bZ,
42720
- renumberFootnotes as b_,
42721
- getListLabelInset as ba,
42722
- getAlignedListLabelInset as bb,
42723
- getParagraphBorderInsets as bc,
42724
- buildSegmentTable as bd,
42725
- buildCanvasTableLayout as be,
42726
- resolveCanvasTableWidth as bf,
42727
- resolveFloatingTableRect as bg,
42728
- normalizeFamily as bh,
42729
- ROBOTO_FONT_FILES as bi,
42730
- loadFontAsset as bj,
42731
- OFFICE_COMPAT_FONT_FAMILIES as bk,
42732
- BinaryReader as bl,
42733
- buildSfnt as bm,
42734
- defaultFontDecoderRegistry as bn,
42735
- SfntFontProgram as bo,
42736
- collectPdfFontFamilies as bp,
42737
- outlineFrom as bq,
42738
- getPageHeaderZoneTop as br,
42739
- getPageColumnRects as bs,
42740
- findFootnoteReference as bt,
42741
- FOOTNOTE_MARKER_GUTTER_PX as bu,
42742
- resolveImporterForFile as bv,
42743
- getDocumentSectionsCanonical as bw,
42744
- getDocumentParagraphsCanonical as bx,
42745
- getDocumentParagraphs as by,
42746
- getDocumentPageSettings as bz,
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
- preciseFontModeVersion as c0,
42749
- isPreciseFontModeEnabled as c1,
42750
- resolveNamedTextStyle as c2,
42751
- togglePreciseFontMode as c3,
42752
- nextFontSizePt as c4,
42753
- previousFontSizePt as c5,
42754
- fontSizePtToPx as c6,
42755
- createDefaultToolbarPreset as c7,
42756
- MenuRegistry as c8,
42757
- createToolbarRegistry as c9,
42758
- Menu as cA,
42759
- OASIS_BUILTIN_COMMANDS as cB,
42760
- OASIS_MENU_ITEMS as cC,
42761
- OASIS_TOOLBAR_ITEMS as cD,
42762
- OasisEditorAppLazy as cE,
42763
- OasisEditorContainer as cF,
42764
- PluginCollection as cG,
42765
- Popover as cH,
42766
- RIBBON_TABS as cI,
42767
- Select as cJ,
42768
- SelectField as cK,
42769
- Separator as cL,
42770
- SidePanel as cM,
42771
- SidePanelBody as cN,
42772
- SidePanelFooter as cO,
42773
- SidePanelHeader as cP,
42774
- SplitButton as cQ,
42775
- StyleGallery as cR,
42776
- TextField as cS,
42777
- Button$1 as cT,
42778
- buildRibbonTabDefinitions as cU,
42779
- createEditorCommandBus as cV,
42780
- createOasisEditor as cW,
42781
- createOasisEditorContainer as cX,
42782
- mount as cY,
42783
- registerToolbarRenderer as cZ,
42784
- Editor as ca,
42785
- resolveCommandRef as cb,
42786
- commandRefName as cc,
42787
- createOasisEditorClient as cd,
42788
- createEditorZoom as ce,
42789
- startLongTaskObserver as cf,
42790
- installGlobalReport as cg,
42791
- applyStoredPreciseFontPreference as ch,
42792
- getWelcomeSeen as ci,
42793
- isLocalFontAccessSupported as cj,
42794
- EDITOR_SCROLL_PADDING_PX as ck,
42795
- Toolbar as cl,
42796
- OasisEditorLoading as cm,
42797
- I18nProvider as cn,
42798
- createTranslator as co,
42799
- createEditorLogger as cp,
42800
- registerDomStatsSurface as cq,
42801
- Button as cr,
42802
- Checkbox as cs,
42803
- ColorPicker as ct,
42804
- CommandRegistry as cu,
42805
- DEFAULT_PALETTE as cv,
42806
- DialogFooter as cw,
42807
- FloatingActionButton as cx,
42808
- GridPicker as cy,
42809
- IconButton as cz,
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,