oasis-editor 0.0.10 → 0.0.11

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.
@@ -1422,6 +1422,13 @@ const en = {
1422
1422
  "toolbar.redo": "Redo last undone change",
1423
1423
  "toolbar.insert": "Insert",
1424
1424
  "toolbar.image": "Image",
1425
+ "toolbar.shapes": "Shapes",
1426
+ "toolbar.shape.rect": "Rectangle",
1427
+ "toolbar.shape.roundRect": "Rounded rectangle",
1428
+ "toolbar.shape.ellipse": "Ellipse",
1429
+ "toolbar.shape.triangle": "Triangle",
1430
+ "toolbar.shape.rtTriangle": "Right triangle",
1431
+ "toolbar.shape.diamond": "Diamond",
1425
1432
  "toolbar.table": "Table",
1426
1433
  "toolbar.pageNumber": "Page #",
1427
1434
  "toolbar.totalPages": "Total Pages",
@@ -1803,6 +1810,13 @@ const ptBR = {
1803
1810
  "toolbar.redo": "Refazer última alteração",
1804
1811
  "toolbar.insert": "Inserir",
1805
1812
  "toolbar.image": "Imagem",
1813
+ "toolbar.shapes": "Formas",
1814
+ "toolbar.shape.rect": "Retângulo",
1815
+ "toolbar.shape.roundRect": "Retângulo arredondado",
1816
+ "toolbar.shape.ellipse": "Elipse",
1817
+ "toolbar.shape.triangle": "Triângulo",
1818
+ "toolbar.shape.rtTriangle": "Triângulo retângulo",
1819
+ "toolbar.shape.diamond": "Losango",
1806
1820
  "toolbar.table": "Tabela",
1807
1821
  "toolbar.pageNumber": "Nº de Página",
1808
1822
  "toolbar.totalPages": "Total de Páginas",
@@ -2288,7 +2302,7 @@ function OasisEditorAppLazy(props = {}) {
2288
2302
  onCleanup(() => {
2289
2303
  cancelled = true;
2290
2304
  });
2291
- import("./OasisEditorApp-B31W8Nmj.js").then((m) => {
2305
+ import("./OasisEditorApp-BgOoWqpC.js").then((m) => {
2292
2306
  cancelled = true;
2293
2307
  setProgress(1);
2294
2308
  setTimeout(() => setApp(() => m.OasisEditorApp), 180);
@@ -11129,11 +11143,11 @@ function mergeIntervals(intervals) {
11129
11143
  }
11130
11144
  return merged;
11131
11145
  }
11132
- function coveredIntervalsAtScanline(polygon, y) {
11146
+ function coveredIntervalsAtScanline(polygon2, y) {
11133
11147
  const xs = [];
11134
- for (let i = 0; i < polygon.length; i += 1) {
11135
- const a = polygon[i];
11136
- const b = polygon[(i + 1) % polygon.length];
11148
+ for (let i = 0; i < polygon2.length; i += 1) {
11149
+ const a = polygon2[i];
11150
+ const b = polygon2[(i + 1) % polygon2.length];
11137
11151
  const crosses = a.y <= y && b.y > y || b.y <= y && a.y > y;
11138
11152
  if (!crosses) continue;
11139
11153
  const t2 = (y - a.y) / (b.y - a.y);
@@ -11146,12 +11160,12 @@ function coveredIntervalsAtScanline(polygon, y) {
11146
11160
  }
11147
11161
  return intervals;
11148
11162
  }
11149
- function polygonCoveredIntervals(polygon, top, bottom) {
11163
+ function polygonCoveredIntervals(polygon2, top, bottom) {
11150
11164
  const samples = 5;
11151
11165
  const collected = [];
11152
11166
  for (let s = 0; s < samples; s += 1) {
11153
11167
  const y = bottom === top ? top : top + (bottom - top) * s / (samples - 1);
11154
- collected.push(...coveredIntervalsAtScanline(polygon, y));
11168
+ collected.push(...coveredIntervalsAtScanline(polygon2, y));
11155
11169
  }
11156
11170
  return mergeIntervals(collected);
11157
11171
  }
@@ -11816,7 +11830,7 @@ function collectParagraphFloatingExclusions(options) {
11816
11830
  });
11817
11831
  const expanded = expandForWrap(rawRect, floating);
11818
11832
  const wrap = floating.wrap ?? "square";
11819
- const polygon = image && image.wrapPolygon && image.wrapPolygon.length >= 3 && (wrap === "tight" || wrap === "through") && !image.rotation ? image.wrapPolygon.map((point) => ({
11833
+ const polygon2 = image && image.wrapPolygon && image.wrapPolygon.length >= 3 && (wrap === "tight" || wrap === "through") && !image.rotation ? image.wrapPolygon.map((point) => ({
11820
11834
  x: rawRect.x + point.x * rawRect.width,
11821
11835
  y: rawRect.y + point.y * rawRect.height
11822
11836
  })) : void 0;
@@ -11824,7 +11838,7 @@ function collectParagraphFloatingExclusions(options) {
11824
11838
  ...expanded,
11825
11839
  wrap,
11826
11840
  sourceRunId: fragment.runId,
11827
- ...polygon ? { polygon } : {}
11841
+ ...polygon2 ? { polygon: polygon2 } : {}
11828
11842
  });
11829
11843
  }
11830
11844
  return exclusions;
@@ -14481,6 +14495,175 @@ function drawTable(ctx, table, tableSegment, state, originX, originY, contentWid
14481
14495
  });
14482
14496
  }
14483
14497
  }
14498
+ const KAPPA = 0.5522847498307936;
14499
+ function getPresetPathSegments(preset, x, y, width, height) {
14500
+ const right = x + width;
14501
+ const bottom = y + height;
14502
+ const cx = x + width / 2;
14503
+ const cy = y + height / 2;
14504
+ switch (preset) {
14505
+ case "roundRect":
14506
+ return roundRectSegments(
14507
+ x,
14508
+ y,
14509
+ width,
14510
+ height,
14511
+ Math.min(width, height) * 0.1
14512
+ );
14513
+ case "ellipse":
14514
+ return ellipseSegments(cx, cy, width / 2, height / 2);
14515
+ case "triangle":
14516
+ return polygon([
14517
+ [cx, y],
14518
+ [right, bottom],
14519
+ [x, bottom]
14520
+ ]);
14521
+ case "rtTriangle":
14522
+ return polygon([
14523
+ [x, y],
14524
+ [x, bottom],
14525
+ [right, bottom]
14526
+ ]);
14527
+ case "diamond":
14528
+ return polygon([
14529
+ [cx, y],
14530
+ [right, cy],
14531
+ [cx, bottom],
14532
+ [x, cy]
14533
+ ]);
14534
+ case "rect":
14535
+ default:
14536
+ return polygon([
14537
+ [x, y],
14538
+ [right, y],
14539
+ [right, bottom],
14540
+ [x, bottom]
14541
+ ]);
14542
+ }
14543
+ }
14544
+ function polygon(points) {
14545
+ const segments = [];
14546
+ points.forEach(([px, py], index) => {
14547
+ segments.push(
14548
+ index === 0 ? { type: "move", x: px, y: py } : { type: "line", x: px, y: py }
14549
+ );
14550
+ });
14551
+ segments.push({ type: "close" });
14552
+ return segments;
14553
+ }
14554
+ function ellipseSegments(cx, cy, rx, ry) {
14555
+ const ox = rx * KAPPA;
14556
+ const oy = ry * KAPPA;
14557
+ return [
14558
+ { type: "move", x: cx - rx, y: cy },
14559
+ {
14560
+ type: "cubic",
14561
+ x1: cx - rx,
14562
+ y1: cy - oy,
14563
+ x2: cx - ox,
14564
+ y2: cy - ry,
14565
+ x: cx,
14566
+ y: cy - ry
14567
+ },
14568
+ {
14569
+ type: "cubic",
14570
+ x1: cx + ox,
14571
+ y1: cy - ry,
14572
+ x2: cx + rx,
14573
+ y2: cy - oy,
14574
+ x: cx + rx,
14575
+ y: cy
14576
+ },
14577
+ {
14578
+ type: "cubic",
14579
+ x1: cx + rx,
14580
+ y1: cy + oy,
14581
+ x2: cx + ox,
14582
+ y2: cy + ry,
14583
+ x: cx,
14584
+ y: cy + ry
14585
+ },
14586
+ {
14587
+ type: "cubic",
14588
+ x1: cx - ox,
14589
+ y1: cy + ry,
14590
+ x2: cx - rx,
14591
+ y2: cy + oy,
14592
+ x: cx - rx,
14593
+ y: cy
14594
+ },
14595
+ { type: "close" }
14596
+ ];
14597
+ }
14598
+ function roundRectSegments(x, y, width, height, radius) {
14599
+ const r = Math.min(radius, width / 2, height / 2);
14600
+ const right = x + width;
14601
+ const bottom = y + height;
14602
+ const o = r * (1 - KAPPA);
14603
+ return [
14604
+ { type: "move", x: x + r, y },
14605
+ { type: "line", x: right - r, y },
14606
+ {
14607
+ type: "cubic",
14608
+ x1: right - o,
14609
+ y1: y,
14610
+ x2: right,
14611
+ y2: y + o,
14612
+ x: right,
14613
+ y: y + r
14614
+ },
14615
+ { type: "line", x: right, y: bottom - r },
14616
+ {
14617
+ type: "cubic",
14618
+ x1: right,
14619
+ y1: bottom - o,
14620
+ x2: right - o,
14621
+ y2: bottom,
14622
+ x: right - r,
14623
+ y: bottom
14624
+ },
14625
+ { type: "line", x: x + r, y: bottom },
14626
+ {
14627
+ type: "cubic",
14628
+ x1: x + o,
14629
+ y1: bottom,
14630
+ x2: x,
14631
+ y2: bottom - o,
14632
+ x,
14633
+ y: bottom - r
14634
+ },
14635
+ { type: "line", x, y: y + r },
14636
+ { type: "cubic", x1: x, y1: y + o, x2: x + o, y2: y, x: x + r, y },
14637
+ { type: "close" }
14638
+ ];
14639
+ }
14640
+ function buildPresetPath(preset, x, y, width, height) {
14641
+ const path = new Path2D();
14642
+ for (const segment of getPresetPathSegments(preset, x, y, width, height)) {
14643
+ switch (segment.type) {
14644
+ case "move":
14645
+ path.moveTo(segment.x, segment.y);
14646
+ break;
14647
+ case "line":
14648
+ path.lineTo(segment.x, segment.y);
14649
+ break;
14650
+ case "cubic":
14651
+ path.bezierCurveTo(
14652
+ segment.x1,
14653
+ segment.y1,
14654
+ segment.x2,
14655
+ segment.y2,
14656
+ segment.x,
14657
+ segment.y
14658
+ );
14659
+ break;
14660
+ case "close":
14661
+ path.closePath();
14662
+ break;
14663
+ }
14664
+ }
14665
+ return path;
14666
+ }
14484
14667
  const TEXT_BOX_AUTOFIT_MEASURE_HEIGHT = 1e5;
14485
14668
  const TEXT_BOX_AUTOFIT_SAFETY_PX = 2;
14486
14669
  function getTextBoxPadding(textBox) {
@@ -14538,19 +14721,20 @@ function resolveTextBoxRenderHeight(textBox, state, pageIndex) {
14538
14721
  return measureTextBoxNaturalHeight(textBox, state, pageIndex);
14539
14722
  }
14540
14723
  function drawTextBoxShape(ctx, textBox, x, y, width, height) {
14541
- var _a, _b, _c;
14724
+ var _a, _b, _c, _d;
14542
14725
  const fill = (_a = textBox.shape) == null ? void 0 : _a.fill;
14543
14726
  const borderColor = (_b = textBox.shape) == null ? void 0 : _b.borderColor;
14544
14727
  const borderWidth = ((_c = textBox.shape) == null ? void 0 : _c.borderWidthPt) ?? (borderColor ? 0.75 : 0);
14728
+ const path = buildPresetPath((_d = textBox.shape) == null ? void 0 : _d.preset, x, y, width, height);
14545
14729
  ctx.save();
14546
14730
  if (fill) {
14547
14731
  ctx.fillStyle = fill;
14548
- ctx.fillRect(x, y, width, height);
14732
+ ctx.fill(path);
14549
14733
  }
14550
14734
  if (borderColor && borderWidth > 0) {
14551
14735
  ctx.strokeStyle = borderColor;
14552
14736
  ctx.lineWidth = Math.max(1, borderWidth * (96 / 72));
14553
- ctx.strokeRect(x, y, width, height);
14737
+ ctx.stroke(path);
14554
14738
  }
14555
14739
  ctx.restore();
14556
14740
  }
@@ -30926,13 +31110,13 @@ function parseAnchorWrap$1(anchor) {
30926
31110
  }
30927
31111
  const WRAP_POLYGON_DENOMINATOR = 21600;
30928
31112
  function parseWrapPolygon(anchor) {
30929
- const polygon = findElementDeep(anchor, "wrapPolygon");
30930
- if (!polygon) {
31113
+ const polygon2 = findElementDeep(anchor, "wrapPolygon");
31114
+ if (!polygon2) {
30931
31115
  return void 0;
30932
31116
  }
30933
31117
  const points = [];
30934
- for (let index = 0; index < polygon.childNodes.length; index += 1) {
30935
- const node = polygon.childNodes[index];
31118
+ for (let index = 0; index < polygon2.childNodes.length; index += 1) {
31119
+ const node = polygon2.childNodes[index];
30936
31120
  if ((node == null ? void 0 : node.nodeType) !== 1) continue;
30937
31121
  const el = node;
30938
31122
  if (el.localName !== "start" && el.localName !== "lineTo") continue;
@@ -36764,6 +36948,7 @@ const RIBBON_PLACEMENTS = {
36764
36948
  "editor-toolbar-subscript": { tab: "home", group: "font", row: 2 },
36765
36949
  "sep-format": { tab: "home", group: "font", row: 2 },
36766
36950
  "editor-toolbar-insert-image": { tab: "insert", group: "illustrations", row: 1 },
36951
+ "editor-toolbar-insert-shape": { tab: "insert", group: "illustrations", row: 2 },
36767
36952
  "editor-toolbar-insert-table": { tab: "insert", group: "tables", row: 1 },
36768
36953
  "editor-toolbar-link": { tab: "insert", group: "links", row: 1 },
36769
36954
  "editor-toolbar-unlink": { tab: "insert", group: "links", row: 2 },
@@ -37059,6 +37244,72 @@ function createDefaultToolbarPreset() {
37059
37244
  tooltipKey: "toolbar.image",
37060
37245
  command: "insertImage"
37061
37246
  });
37247
+ items.push({
37248
+ type: "menu",
37249
+ id: "editor-toolbar-insert-shape",
37250
+ testId: "editor-toolbar-insert-shape",
37251
+ iconName: "shapes",
37252
+ tooltipKey: "toolbar.shapes",
37253
+ content: {
37254
+ kind: "items",
37255
+ items: [
37256
+ {
37257
+ type: "button",
37258
+ id: "editor-toolbar-shape-rect",
37259
+ testId: "editor-toolbar-shape-rect",
37260
+ labelKey: "toolbar.shape.rect",
37261
+ wide: true,
37262
+ tooltipKey: "toolbar.shape.rect",
37263
+ command: { name: "insertShape", payload: "rect" }
37264
+ },
37265
+ {
37266
+ type: "button",
37267
+ id: "editor-toolbar-shape-roundRect",
37268
+ testId: "editor-toolbar-shape-roundRect",
37269
+ labelKey: "toolbar.shape.roundRect",
37270
+ wide: true,
37271
+ tooltipKey: "toolbar.shape.roundRect",
37272
+ command: { name: "insertShape", payload: "roundRect" }
37273
+ },
37274
+ {
37275
+ type: "button",
37276
+ id: "editor-toolbar-shape-ellipse",
37277
+ testId: "editor-toolbar-shape-ellipse",
37278
+ labelKey: "toolbar.shape.ellipse",
37279
+ wide: true,
37280
+ tooltipKey: "toolbar.shape.ellipse",
37281
+ command: { name: "insertShape", payload: "ellipse" }
37282
+ },
37283
+ {
37284
+ type: "button",
37285
+ id: "editor-toolbar-shape-triangle",
37286
+ testId: "editor-toolbar-shape-triangle",
37287
+ labelKey: "toolbar.shape.triangle",
37288
+ wide: true,
37289
+ tooltipKey: "toolbar.shape.triangle",
37290
+ command: { name: "insertShape", payload: "triangle" }
37291
+ },
37292
+ {
37293
+ type: "button",
37294
+ id: "editor-toolbar-shape-rtTriangle",
37295
+ testId: "editor-toolbar-shape-rtTriangle",
37296
+ labelKey: "toolbar.shape.rtTriangle",
37297
+ wide: true,
37298
+ tooltipKey: "toolbar.shape.rtTriangle",
37299
+ command: { name: "insertShape", payload: "rtTriangle" }
37300
+ },
37301
+ {
37302
+ type: "button",
37303
+ id: "editor-toolbar-shape-diamond",
37304
+ testId: "editor-toolbar-shape-diamond",
37305
+ labelKey: "toolbar.shape.diamond",
37306
+ wide: true,
37307
+ tooltipKey: "toolbar.shape.diamond",
37308
+ command: { name: "insertShape", payload: "diamond" }
37309
+ }
37310
+ ]
37311
+ }
37312
+ });
37062
37313
  items.push({
37063
37314
  type: "gridPicker",
37064
37315
  id: "editor-toolbar-insert-table",
@@ -37246,7 +37497,7 @@ const OASIS_MENU_ITEMS = {
37246
37497
  formatListsNumbered: "format_lists_numbered"
37247
37498
  };
37248
37499
  export {
37249
- PX_PER_POINT$2 as $,
37500
+ buildCanvasTableLayout as $,
37250
37501
  renumberFootnotes as A,
37251
37502
  iterateFootnoteReferenceRuns as B,
37252
37503
  getFootnoteDisplayMarker as C,
@@ -37273,148 +37524,152 @@ export {
37273
37524
  imageContentTypeDefaults as X,
37274
37525
  imageExtensionFromMime as Y,
37275
37526
  pxToPt as Z,
37276
- textStyleToFontSizePt as _,
37527
+ buildSegmentTable as _,
37277
37528
  createEditorStyledRun as a,
37278
- memo as a$,
37279
- DEFAULT_FONT_SIZE_PX as a0,
37280
- isDoubleUnderlineStyle as a1,
37281
- isWavyUnderlineStyle as a2,
37282
- underlineStyleLineWidthPx as a3,
37283
- underlineStyleDashArray as a4,
37284
- getListLabelInset as a5,
37285
- getParagraphBorderInsets as a6,
37286
- buildSegmentTable as a7,
37287
- buildCanvasTableLayout as a8,
37288
- normalizeFamily as a9,
37289
- t as aA,
37290
- preciseFontModeVersion as aB,
37291
- isPreciseFontModeEnabled as aC,
37292
- togglePreciseFontMode as aD,
37293
- nextFontSizePt as aE,
37294
- previousFontSizePt as aF,
37295
- fontSizePtToPx as aG,
37296
- createDefaultToolbarPreset as aH,
37297
- defaultMenuItems as aI,
37298
- MenuRegistry as aJ,
37299
- createToolbarRegistry as aK,
37300
- Editor as aL,
37301
- resolveCommandRef as aM,
37302
- commandRefName as aN,
37303
- InlineShell as aO,
37304
- BalloonShell as aP,
37305
- DocumentShell as aQ,
37306
- createMemo as aR,
37307
- getCaretRectFromSnapshot as aS,
37308
- getParagraphRectFromSnapshot as aT,
37309
- createComponent as aU,
37310
- CaretOverlay as aV,
37311
- Show as aW,
37312
- createRenderEffect as aX,
37313
- style as aY,
37314
- setAttribute as aZ,
37315
- setStyleProperty as a_,
37316
- ROBOTO_FONT_FILES as aa,
37317
- loadFontAsset as ab,
37318
- OFFICE_COMPAT_FONT_FAMILIES as ac,
37319
- buildSfnt as ad,
37320
- defaultFontDecoderRegistry as ae,
37321
- SfntFontProgram as af,
37322
- collectPdfFontFamilies as ag,
37323
- projectDocumentLayout as ah,
37324
- getPageHeaderZoneTop as ai,
37325
- getPageBodyTop as aj,
37326
- findFootnoteReference as ak,
37327
- FOOTNOTE_MARKER_GUTTER_PX as al,
37328
- resolveImporterForFile as am,
37329
- createEditorStateFromDocument as an,
37330
- getDocumentParagraphsCanonical as ao,
37331
- getToolbarStyleState as ap,
37332
- STANDARD_FONT_SIZES_PT as aq,
37333
- fontSizePxToPt as ar,
37334
- probeLocalFontFamilies as as,
37335
- createInitialEditorState as at,
37336
- parseFontSizePtToPx as au,
37337
- formatFontSizePt as av,
37338
- listKindForTag as aw,
37339
- isParagraphTag as ax,
37340
- collectInlineRuns as ay,
37341
- parseParagraphStyle as az,
37529
+ createRenderEffect as a$,
37530
+ resolveFloatingObjectRect as a0,
37531
+ getTextBoxFloatingGeometry as a1,
37532
+ getPresetPathSegments as a2,
37533
+ projectBlocksLayout as a3,
37534
+ textStyleToFontSizePt as a4,
37535
+ PX_PER_POINT$2 as a5,
37536
+ DEFAULT_FONT_SIZE_PX as a6,
37537
+ isDoubleUnderlineStyle as a7,
37538
+ isWavyUnderlineStyle as a8,
37539
+ underlineStyleLineWidthPx as a9,
37540
+ listKindForTag as aA,
37541
+ isParagraphTag as aB,
37542
+ collectInlineRuns as aC,
37543
+ parseParagraphStyle as aD,
37544
+ t as aE,
37545
+ preciseFontModeVersion as aF,
37546
+ isPreciseFontModeEnabled as aG,
37547
+ togglePreciseFontMode as aH,
37548
+ nextFontSizePt as aI,
37549
+ previousFontSizePt as aJ,
37550
+ fontSizePtToPx as aK,
37551
+ createDefaultToolbarPreset as aL,
37552
+ defaultMenuItems as aM,
37553
+ MenuRegistry as aN,
37554
+ createToolbarRegistry as aO,
37555
+ Editor as aP,
37556
+ resolveCommandRef as aQ,
37557
+ commandRefName as aR,
37558
+ InlineShell as aS,
37559
+ BalloonShell as aT,
37560
+ DocumentShell as aU,
37561
+ createMemo as aV,
37562
+ getCaretRectFromSnapshot as aW,
37563
+ getParagraphRectFromSnapshot as aX,
37564
+ createComponent as aY,
37565
+ CaretOverlay as aZ,
37566
+ Show as a_,
37567
+ underlineStyleDashArray as aa,
37568
+ getListLabelInset as ab,
37569
+ getParagraphBorderInsets as ac,
37570
+ normalizeFamily as ad,
37571
+ ROBOTO_FONT_FILES as ae,
37572
+ loadFontAsset as af,
37573
+ OFFICE_COMPAT_FONT_FAMILIES as ag,
37574
+ buildSfnt as ah,
37575
+ defaultFontDecoderRegistry as ai,
37576
+ SfntFontProgram as aj,
37577
+ collectPdfFontFamilies as ak,
37578
+ projectDocumentLayout as al,
37579
+ getPageHeaderZoneTop as am,
37580
+ getPageBodyTop as an,
37581
+ findFootnoteReference as ao,
37582
+ FOOTNOTE_MARKER_GUTTER_PX as ap,
37583
+ resolveImporterForFile as aq,
37584
+ createEditorStateFromDocument as ar,
37585
+ getDocumentParagraphsCanonical as as,
37586
+ getToolbarStyleState as at,
37587
+ STANDARD_FONT_SIZES_PT as au,
37588
+ fontSizePxToPt as av,
37589
+ probeLocalFontFamilies as aw,
37590
+ createInitialEditorState as ax,
37591
+ parseFontSizePtToPx as ay,
37592
+ formatFontSizePt as az,
37342
37593
  getParagraphLength as b,
37343
- SidePanelBody as b$,
37344
- template as b0,
37345
- insert as b1,
37346
- use as b2,
37347
- addEventListener as b3,
37348
- Dialog as b4,
37349
- delegateEvents as b5,
37350
- className as b6,
37351
- For as b7,
37352
- UNDERLINE_STYLE_OPTIONS as b8,
37353
- Tabs as b9,
37354
- OasisEditorLoading as bA,
37355
- createEditorLogger as bB,
37356
- getCachedCanvasImage as bC,
37357
- registerDomStatsSurface as bD,
37358
- Button as bE,
37359
- Checkbox as bF,
37360
- ColorPicker as bG,
37361
- CommandRegistry as bH,
37362
- DEFAULT_PALETTE as bI,
37363
- DialogFooter as bJ,
37364
- FloatingActionButton as bK,
37365
- GridPicker as bL,
37366
- IconButton as bM,
37367
- Menu as bN,
37368
- OASIS_BUILTIN_COMMANDS as bO,
37369
- OASIS_MENU_ITEMS as bP,
37370
- OASIS_TOOLBAR_ITEMS as bQ,
37371
- OasisEditorAppLazy as bR,
37372
- OasisEditorContainer as bS,
37373
- PluginCollection as bT,
37374
- Popover as bU,
37375
- RIBBON_TABS as bV,
37376
- RIBBON_TAB_DEFINITIONS as bW,
37377
- Select as bX,
37378
- SelectField as bY,
37379
- Separator as bZ,
37380
- SidePanel as b_,
37381
- measureParagraphMinContentWidthPx as ba,
37382
- getEditableBlocksForZone as bb,
37383
- findParagraphLocation as bc,
37384
- createSectionBoundaryParagraph as bd,
37385
- normalizePageSettings as be,
37386
- DEFAULT_EDITOR_PAGE_SETTINGS as bf,
37387
- markStart as bg,
37388
- markEnd as bh,
37389
- getParagraphEntries as bi,
37390
- getParagraphById as bj,
37391
- PluginUiHost as bk,
37392
- OasisEditorEditor as bl,
37393
- perfTimer as bm,
37394
- OasisBrandMark as bn,
37395
- setPreciseFontPreference as bo,
37396
- setWelcomeSeen as bp,
37397
- enablePreciseFontMode as bq,
37398
- createOasisEditorClient as br,
37399
- setLocale as bs,
37400
- startLongTaskObserver as bt,
37401
- installGlobalReport as bu,
37402
- applyStoredPreciseFontPreference as bv,
37403
- getWelcomeSeen as bw,
37404
- isLocalFontAccessSupported as bx,
37405
- EDITOR_SCROLL_PADDING_PX as by,
37406
- Toolbar as bz,
37594
+ Select as b$,
37595
+ style as b0,
37596
+ setAttribute as b1,
37597
+ setStyleProperty as b2,
37598
+ memo as b3,
37599
+ template as b4,
37600
+ insert as b5,
37601
+ use as b6,
37602
+ addEventListener as b7,
37603
+ Dialog as b8,
37604
+ delegateEvents as b9,
37605
+ getWelcomeSeen as bA,
37606
+ isLocalFontAccessSupported as bB,
37607
+ EDITOR_SCROLL_PADDING_PX as bC,
37608
+ Toolbar as bD,
37609
+ OasisEditorLoading as bE,
37610
+ createEditorLogger as bF,
37611
+ getCachedCanvasImage as bG,
37612
+ registerDomStatsSurface as bH,
37613
+ Button as bI,
37614
+ Checkbox as bJ,
37615
+ ColorPicker as bK,
37616
+ CommandRegistry as bL,
37617
+ DEFAULT_PALETTE as bM,
37618
+ DialogFooter as bN,
37619
+ FloatingActionButton as bO,
37620
+ GridPicker as bP,
37621
+ IconButton as bQ,
37622
+ Menu as bR,
37623
+ OASIS_BUILTIN_COMMANDS as bS,
37624
+ OASIS_MENU_ITEMS as bT,
37625
+ OASIS_TOOLBAR_ITEMS as bU,
37626
+ OasisEditorAppLazy as bV,
37627
+ OasisEditorContainer as bW,
37628
+ PluginCollection as bX,
37629
+ Popover as bY,
37630
+ RIBBON_TABS as bZ,
37631
+ RIBBON_TAB_DEFINITIONS as b_,
37632
+ className as ba,
37633
+ For as bb,
37634
+ UNDERLINE_STYLE_OPTIONS as bc,
37635
+ Tabs as bd,
37636
+ measureParagraphMinContentWidthPx as be,
37637
+ getEditableBlocksForZone as bf,
37638
+ findParagraphLocation as bg,
37639
+ createSectionBoundaryParagraph as bh,
37640
+ normalizePageSettings as bi,
37641
+ DEFAULT_EDITOR_PAGE_SETTINGS as bj,
37642
+ markStart as bk,
37643
+ markEnd as bl,
37644
+ getParagraphEntries as bm,
37645
+ getParagraphById as bn,
37646
+ PluginUiHost as bo,
37647
+ OasisEditorEditor as bp,
37648
+ perfTimer as bq,
37649
+ OasisBrandMark as br,
37650
+ setPreciseFontPreference as bs,
37651
+ setWelcomeSeen as bt,
37652
+ enablePreciseFontMode as bu,
37653
+ createOasisEditorClient as bv,
37654
+ setLocale as bw,
37655
+ startLongTaskObserver as bx,
37656
+ installGlobalReport as by,
37657
+ applyStoredPreciseFontPreference as bz,
37407
37658
  createEditorParagraphFromRuns as c,
37408
- SidePanelFooter as c0,
37409
- SidePanelHeader as c1,
37410
- SplitButton as c2,
37411
- TextField as c3,
37412
- Button$1 as c4,
37413
- createEditorCommandBus as c5,
37414
- createOasisEditor as c6,
37415
- createOasisEditorContainer as c7,
37416
- mount as c8,
37417
- registerToolbarRenderer as c9,
37659
+ SelectField as c0,
37660
+ Separator as c1,
37661
+ SidePanel as c2,
37662
+ SidePanelBody as c3,
37663
+ SidePanelFooter as c4,
37664
+ SidePanelHeader as c5,
37665
+ SplitButton as c6,
37666
+ TextField as c7,
37667
+ Button$1 as c8,
37668
+ createEditorCommandBus as c9,
37669
+ createOasisEditor as ca,
37670
+ createOasisEditorContainer as cb,
37671
+ mount as cc,
37672
+ registerToolbarRenderer as cd,
37418
37673
  getParagraphText as d,
37419
37674
  getActiveZone as e,
37420
37675
  getDocumentSections as f,