oasis-editor 0.0.11 → 0.0.12

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.
@@ -1,2 +1,2 @@
1
- export declare const OASIS_BUILTIN_COMMANDS: readonly ["selectAll", "insertFootnote", "pastePlainText", "bold", "italic", "underline", "strike", "superscript", "subscript", "link", "unlink", "alignLeft", "alignCenter", "alignRight", "alignJustify", "orderedList", "bulletList", "find", "replace", "toggleTrackChanges", "acceptRevisions", "rejectRevisions", "toggleShowMargins", "toggleShowParagraphMarks", "togglePreciseFonts", "undo", "redo", "pageBreak", "lineBreak", "splitBlock", "setFontFamily", "setFontSize", "increaseFontSize", "decreaseFontSize", "changeTextCase", "clearFormatting", "setColor", "setHighlight", "setTextShading", "setStyleId", "setUnderlineStyle", "documentStyles", "print", "copy", "exportDocx", "exportPdf", "importDocument", "insertImage", "editImageAlt", "outdent", "indent", "togglePageBreakBefore", "toggleKeepWithNext", "setSpacingAfter", "setSpacingBefore", "setIndentLeft", "setIndentRight", "setIndentFirstLine", "setIndentHanging", "setParagraphShading", "applyParagraphBorders", "setLineHeight", "setListFormat", "setListStartAt", "toggleOrientation", "sectionBreakNextPage", "sectionBreakContinuous", "setPageMargins", "tableContext", "tableMerge", "tableSplit", "tableInsertColumnBefore", "tableInsertColumnAfter", "tableDeleteColumn", "tableInsertRowBefore", "tableInsertRowAfter", "tableDeleteRow", "tableCellShading", "tableCellBorders", "tableCellNoBorders", "tableWidth100", "tableAlignLeft", "tableAlignCenter", "tableAlignRight", "tableSetCellWidth", "insertTable"];
1
+ export declare const OASIS_BUILTIN_COMMANDS: readonly ["selectAll", "insertFootnote", "pastePlainText", "bold", "italic", "underline", "strike", "superscript", "subscript", "link", "unlink", "alignLeft", "alignCenter", "alignRight", "alignJustify", "orderedList", "bulletList", "find", "replace", "toggleTrackChanges", "acceptRevisions", "rejectRevisions", "toggleShowMargins", "toggleShowParagraphMarks", "togglePreciseFonts", "undo", "redo", "pageBreak", "lineBreak", "splitBlock", "setFontFamily", "setFontSize", "increaseFontSize", "decreaseFontSize", "changeTextCase", "clearFormatting", "setColor", "setHighlight", "setTextShading", "setStyleId", "setUnderlineStyle", "documentStyles", "print", "copy", "exportDocx", "exportPdf", "importDocument", "insertImage", "editImageAlt", "insertImageCaption", "outdent", "indent", "togglePageBreakBefore", "toggleKeepWithNext", "setSpacingAfter", "setSpacingBefore", "setIndentLeft", "setIndentRight", "setIndentFirstLine", "setIndentHanging", "setParagraphShading", "applyParagraphBorders", "setLineHeight", "setListFormat", "setListStartAt", "toggleOrientation", "sectionBreakNextPage", "sectionBreakContinuous", "setPageMargins", "tableContext", "tableMerge", "tableSplit", "tableInsertColumnBefore", "tableInsertColumnAfter", "tableDeleteColumn", "tableInsertRowBefore", "tableInsertRowAfter", "tableDeleteRow", "tableCellShading", "tableCellBorders", "tableCellNoBorders", "tableWidth100", "tableAlignLeft", "tableAlignCenter", "tableAlignRight", "tableSetCellWidth", "insertTable"];
2
2
  export type OasisBuiltinCommand = (typeof OASIS_BUILTIN_COMMANDS)[number];
@@ -20,4 +20,6 @@ export declare function setSelectedImageFixedPosition(state: EditorState, fixed:
20
20
  export declare function setImageWrapPolygon(state: EditorState, runId: string, polygon: EditorImageRunData["wrapPolygon"]): EditorState;
21
21
  export declare function getSelectedImageAlt(state: EditorState): string | null;
22
22
  export declare function setSelectedImageAlt(state: EditorState, alt: string | null): EditorState;
23
+ export declare function getSelectedImageCaption(state: EditorState): string | null;
24
+ export declare function setSelectedImageCaption(state: EditorState, captionText: string, label: string): EditorState;
23
25
  export declare function moveSelectedImageToPosition(state: EditorState, targetPosition: EditorPosition): EditorState;
@@ -61,6 +61,7 @@ export interface OasisCommandPayloads {
61
61
  importDocument: undefined;
62
62
  insertImage: undefined;
63
63
  editImageAlt: undefined;
64
+ insertImageCaption: undefined;
64
65
  outdent: undefined;
65
66
  indent: undefined;
66
67
  togglePageBreakBefore: undefined;
@@ -0,0 +1,13 @@
1
+ import { EditorDocument, EditorParagraphNode } from '../../../model.js';
2
+
3
+ export declare const IMAGE_CAPTION_STYLE_ID = "Caption";
4
+ export declare const IMAGE_CAPTION_FIELD_IDENTIFIER = "Figure";
5
+ export declare const IMAGE_CAPTION_FIELD_INSTRUCTION = " SEQ Figure \\* ARABIC ";
6
+ export declare function createImageCaptionParagraph(captionText: string, label: string, sequenceNumber: number): EditorParagraphNode;
7
+ export declare function isImageCaptionParagraph(paragraph: EditorParagraphNode | undefined): paragraph is EditorParagraphNode;
8
+ export declare function getImageCaptionText(paragraph: EditorParagraphNode | undefined): string;
9
+ export declare function updateImageCaptionParagraph(paragraph: EditorParagraphNode, captionText: string, label: string): EditorParagraphNode;
10
+ export declare function renumberImageCaptionParagraphs(paragraphs: EditorParagraphNode[]): EditorParagraphNode[];
11
+ export declare function renumberImageCaptionsInDocument(document: EditorDocument): EditorDocument;
12
+ export declare function getCaptionSelectionOffset(paragraph: EditorParagraphNode): number;
13
+ export declare function cloneParagraphsWithRenumberedCaptions(paragraphs: EditorParagraphNode[]): EditorParagraphNode[];
@@ -6,6 +6,7 @@ export declare const en: {
6
6
  "toolbar.redo": string;
7
7
  "toolbar.insert": string;
8
8
  "toolbar.image": string;
9
+ "toolbar.imageCaption": string;
9
10
  "toolbar.shapes": string;
10
11
  "toolbar.shape.rect": string;
11
12
  "toolbar.shape.roundRect": string;
@@ -229,6 +230,9 @@ export declare const en: {
229
230
  "dialog.imageAlt.title": string;
230
231
  "dialog.imageAlt.label": string;
231
232
  "dialog.imageAlt.placeholder": string;
233
+ "dialog.imageCaption.title": string;
234
+ "dialog.imageCaption.label": string;
235
+ "dialog.imageCaption.placeholder": string;
232
236
  "dialog.link.title": string;
233
237
  "dialog.link.label": string;
234
238
  "dialog.link.placeholder": string;
@@ -6,6 +6,7 @@ export declare const ptBR: {
6
6
  "toolbar.redo": string;
7
7
  "toolbar.insert": string;
8
8
  "toolbar.image": string;
9
+ "toolbar.imageCaption": string;
9
10
  "toolbar.shapes": string;
10
11
  "toolbar.shape.rect": string;
11
12
  "toolbar.shape.roundRect": string;
@@ -229,6 +230,9 @@ export declare const ptBR: {
229
230
  "dialog.imageAlt.title": string;
230
231
  "dialog.imageAlt.label": string;
231
232
  "dialog.imageAlt.placeholder": string;
233
+ "dialog.imageCaption.title": string;
234
+ "dialog.imageCaption.label": string;
235
+ "dialog.imageCaption.placeholder": string;
232
236
  "dialog.link.title": string;
233
237
  "dialog.link.label": string;
234
238
  "dialog.link.placeholder": string;
@@ -1422,6 +1422,7 @@ const en = {
1422
1422
  "toolbar.redo": "Redo last undone change",
1423
1423
  "toolbar.insert": "Insert",
1424
1424
  "toolbar.image": "Image",
1425
+ "toolbar.imageCaption": "Image caption",
1425
1426
  "toolbar.shapes": "Shapes",
1426
1427
  "toolbar.shape.rect": "Rectangle",
1427
1428
  "toolbar.shape.roundRect": "Rounded rectangle",
@@ -1653,6 +1654,9 @@ const en = {
1653
1654
  "dialog.imageAlt.title": "Image Alt Text",
1654
1655
  "dialog.imageAlt.label": "Description (Alt text)",
1655
1656
  "dialog.imageAlt.placeholder": "Describe the image",
1657
+ "dialog.imageCaption.title": "Image Caption",
1658
+ "dialog.imageCaption.label": "Caption",
1659
+ "dialog.imageCaption.placeholder": "Enter a caption",
1656
1660
  "dialog.link.title": "Insert Link",
1657
1661
  "dialog.link.label": "Link URL",
1658
1662
  "dialog.link.placeholder": "https://example.com",
@@ -1810,6 +1814,7 @@ const ptBR = {
1810
1814
  "toolbar.redo": "Refazer última alteração",
1811
1815
  "toolbar.insert": "Inserir",
1812
1816
  "toolbar.image": "Imagem",
1817
+ "toolbar.imageCaption": "Legenda da imagem",
1813
1818
  "toolbar.shapes": "Formas",
1814
1819
  "toolbar.shape.rect": "Retângulo",
1815
1820
  "toolbar.shape.roundRect": "Retângulo arredondado",
@@ -2041,6 +2046,9 @@ const ptBR = {
2041
2046
  "dialog.imageAlt.title": "Texto Alternativo da Imagem",
2042
2047
  "dialog.imageAlt.label": "Descrição (Texto Alt)",
2043
2048
  "dialog.imageAlt.placeholder": "Descreva a imagem",
2049
+ "dialog.imageCaption.title": "Legenda da imagem",
2050
+ "dialog.imageCaption.label": "Legenda",
2051
+ "dialog.imageCaption.placeholder": "Digite a legenda",
2044
2052
  "dialog.link.title": "Inserir Link",
2045
2053
  "dialog.link.label": "URL do Link",
2046
2054
  "dialog.link.placeholder": "https://exemplo.com",
@@ -2302,7 +2310,7 @@ function OasisEditorAppLazy(props = {}) {
2302
2310
  onCleanup(() => {
2303
2311
  cancelled = true;
2304
2312
  });
2305
- import("./OasisEditorApp-BgOoWqpC.js").then((m) => {
2313
+ import("./OasisEditorApp-DsSNl4Fj.js").then((m) => {
2306
2314
  cancelled = true;
2307
2315
  setProgress(1);
2308
2316
  setTimeout(() => setApp(() => m.OasisEditorApp), 180);
@@ -3634,6 +3642,23 @@ const DEFAULT_EDITOR_STYLES = {
3634
3642
  textStyle: {
3635
3643
  superscript: true
3636
3644
  }
3645
+ },
3646
+ Caption: {
3647
+ id: "Caption",
3648
+ name: "Caption",
3649
+ type: "paragraph",
3650
+ basedOn: "normal",
3651
+ nextStyle: "normal",
3652
+ paragraphStyle: {
3653
+ align: "center",
3654
+ spacingBefore: 4,
3655
+ spacingAfter: 8
3656
+ },
3657
+ textStyle: {
3658
+ fontFamily: "Calibri, sans-serif",
3659
+ fontSize: 12,
3660
+ italic: true
3661
+ }
3637
3662
  }
3638
3663
  };
3639
3664
  function createEditorDocument(blocks, pageSettings, sections, styles, metadata, assets) {
@@ -4235,6 +4260,7 @@ const OASIS_BUILTIN_COMMANDS = [
4235
4260
  "importDocument",
4236
4261
  "insertImage",
4237
4262
  "editImageAlt",
4263
+ "insertImageCaption",
4238
4264
  "outdent",
4239
4265
  "indent",
4240
4266
  "togglePageBreakBefore",
@@ -4496,6 +4522,13 @@ const defaultMenuItems = [
4496
4522
  command: "insertImage",
4497
4523
  icon: "image"
4498
4524
  },
4525
+ {
4526
+ id: "insert_image_caption",
4527
+ path: "Insert/Image Caption",
4528
+ labelKey: "toolbar.imageCaption",
4529
+ command: "insertImageCaption",
4530
+ icon: "subtitles"
4531
+ },
4499
4532
  {
4500
4533
  id: "insert_table",
4501
4534
  path: "Insert/Table",
@@ -33636,7 +33669,7 @@ function importDocxInWorker(buffer, options = {}) {
33636
33669
  const worker = new Worker(
33637
33670
  new URL(
33638
33671
  /* @vite-ignore */
33639
- "" + new URL("assets/importDocxWorker-DbiKelzX.js", import.meta.url).href,
33672
+ "" + new URL("assets/importDocxWorker-CtcRQ7NG.js", import.meta.url).href,
33640
33673
  import.meta.url
33641
33674
  ),
33642
33675
  {
@@ -36947,13 +36980,26 @@ const RIBBON_PLACEMENTS = {
36947
36980
  "editor-toolbar-superscript": { tab: "home", group: "font", row: 2 },
36948
36981
  "editor-toolbar-subscript": { tab: "home", group: "font", row: 2 },
36949
36982
  "sep-format": { tab: "home", group: "font", row: 2 },
36950
- "editor-toolbar-insert-image": { tab: "insert", group: "illustrations", row: 1 },
36951
- "editor-toolbar-insert-shape": { tab: "insert", group: "illustrations", row: 2 },
36983
+ "editor-toolbar-insert-image": {
36984
+ tab: "insert",
36985
+ group: "illustrations",
36986
+ row: 1
36987
+ },
36988
+ "editor-toolbar-insert-shape": {
36989
+ tab: "insert",
36990
+ group: "illustrations",
36991
+ row: 2
36992
+ },
36952
36993
  "editor-toolbar-insert-table": { tab: "insert", group: "tables", row: 1 },
36953
36994
  "editor-toolbar-link": { tab: "insert", group: "links", row: 1 },
36954
36995
  "editor-toolbar-unlink": { tab: "insert", group: "links", row: 2 },
36955
36996
  "editor-toolbar-footnote": { tab: "references", group: "footnotes", row: 1 },
36956
36997
  "editor-toolbar-image-alt": { tab: "insert", group: "accessibility", row: 2 },
36998
+ "editor-toolbar-image-caption": {
36999
+ tab: "insert",
37000
+ group: "accessibility",
37001
+ row: 1
37002
+ },
36957
37003
  "sep-insert": { tab: "insert", group: "accessibility", row: 2 },
36958
37004
  "editor-toolbar-align-left": { tab: "home", group: "paragraph", row: 2 },
36959
37005
  "editor-toolbar-align-center": { tab: "home", group: "paragraph", row: 2 },
@@ -36964,7 +37010,11 @@ const RIBBON_PLACEMENTS = {
36964
37010
  "editor-toolbar-list-outdent": { tab: "home", group: "paragraph", row: 1 },
36965
37011
  "editor-toolbar-list-indent": { tab: "home", group: "paragraph", row: 1 },
36966
37012
  "editor-toolbar-list-options": { tab: "home", group: "paragraph", row: 1 },
36967
- "editor-toolbar-line-spacing-control": { tab: "home", group: "paragraph", row: 2 },
37013
+ "editor-toolbar-line-spacing-control": {
37014
+ tab: "home",
37015
+ group: "paragraph",
37016
+ row: 2
37017
+ },
36968
37018
  "sep-paragraph": { tab: "home", group: "paragraph", row: 2 },
36969
37019
  "editor-toolbar-metrics": { tab: "layout", group: "paragraph", row: 1 },
36970
37020
  "sep-metrics": { tab: "layout", group: "paragraph", row: 2 },
@@ -37350,6 +37400,15 @@ function createDefaultToolbarPreset() {
37350
37400
  command: "editImageAlt",
37351
37401
  isVisible: (api) => api.commands.state("editImageAlt").isEnabled
37352
37402
  });
37403
+ items.push({
37404
+ type: "button",
37405
+ id: "editor-toolbar-image-caption",
37406
+ testId: "editor-toolbar-image-caption",
37407
+ iconName: "subtitles",
37408
+ tooltipKey: "toolbar.imageCaption",
37409
+ command: "insertImageCaption",
37410
+ isVisible: (api) => api.commands.state("insertImageCaption").isEnabled
37411
+ });
37353
37412
  items.push({ type: "separator", id: "sep-insert" });
37354
37413
  for (const button of ALIGN_BUTTONS) {
37355
37414
  items.push({
@@ -37447,6 +37506,7 @@ const OASIS_TOOLBAR_ITEMS = {
37447
37506
  unlink: "editor-toolbar-unlink",
37448
37507
  footnote: "editor-toolbar-footnote",
37449
37508
  imageAlt: "editor-toolbar-image-alt",
37509
+ imageCaption: "editor-toolbar-image-caption",
37450
37510
  alignLeft: "editor-toolbar-align-left",
37451
37511
  alignCenter: "editor-toolbar-align-center",
37452
37512
  alignRight: "editor-toolbar-align-right",
@@ -37478,6 +37538,7 @@ const OASIS_MENU_ITEMS = {
37478
37538
  viewParagraphMarks: "view_paragraph_marks",
37479
37539
  viewPreciseFonts: "view_precise_fonts",
37480
37540
  insertImage: "insert_image",
37541
+ insertImageCaption: "insert_image_caption",
37481
37542
  insertTable: "insert_table",
37482
37543
  insertLink: "insert_link",
37483
37544
  insertFootnote: "insert_footnote",
@@ -37497,200 +37558,201 @@ const OASIS_MENU_ITEMS = {
37497
37558
  formatListsNumbered: "format_lists_numbered"
37498
37559
  };
37499
37560
  export {
37500
- buildCanvasTableLayout as $,
37501
- renumberFootnotes as A,
37502
- iterateFootnoteReferenceRuns as B,
37503
- getFootnoteDisplayMarker as C,
37504
- createSignal as D,
37505
- createEffect as E,
37506
- onCleanup as F,
37507
- buildCanvasLayoutSnapshot as G,
37508
- on as H,
37509
- onMount as I,
37510
- debounce as J,
37511
- unwrap as K,
37512
- getDocumentParagraphs as L,
37513
- getDocumentSectionsCanonical as M,
37514
- createEditorDocument as N,
37515
- getPageContentWidth as O,
37516
- getDocumentPageSettings as P,
37517
- getTableCellContentWidthForParagraph as Q,
37518
- resolveResizedDimensions as R,
37519
- resolveTextBoxRenderHeight as S,
37520
- resolveEffectiveParagraphStyle as T,
37521
- resolveEffectiveTextStyleForParagraph as U,
37522
- iterateEndnoteReferenceRuns as V,
37523
- JSZip as W,
37524
- imageContentTypeDefaults as X,
37525
- imageExtensionFromMime as Y,
37526
- pxToPt as Z,
37527
- buildSegmentTable as _,
37528
- createEditorStyledRun as a,
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,
37593
- getParagraphLength as b,
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,
37561
+ buildSegmentTable as $,
37562
+ createFootnoteReferenceRun as A,
37563
+ renumberFootnotes as B,
37564
+ iterateFootnoteReferenceRuns as C,
37565
+ getFootnoteDisplayMarker as D,
37566
+ createSignal as E,
37567
+ createEffect as F,
37568
+ onCleanup as G,
37569
+ buildCanvasLayoutSnapshot as H,
37570
+ on as I,
37571
+ onMount as J,
37572
+ debounce as K,
37573
+ unwrap as L,
37574
+ getDocumentParagraphs as M,
37575
+ getDocumentSectionsCanonical as N,
37576
+ createEditorDocument as O,
37577
+ getPageContentWidth as P,
37578
+ getDocumentPageSettings as Q,
37579
+ getTableCellContentWidthForParagraph as R,
37580
+ resolveResizedDimensions as S,
37581
+ resolveTextBoxRenderHeight as T,
37582
+ resolveEffectiveParagraphStyle as U,
37583
+ resolveEffectiveTextStyleForParagraph as V,
37584
+ iterateEndnoteReferenceRuns as W,
37585
+ JSZip as X,
37586
+ imageContentTypeDefaults as Y,
37587
+ imageExtensionFromMime as Z,
37588
+ pxToPt as _,
37589
+ getParagraphLength as a,
37590
+ Show as a$,
37591
+ buildCanvasTableLayout as a0,
37592
+ resolveFloatingObjectRect as a1,
37593
+ getTextBoxFloatingGeometry as a2,
37594
+ getPresetPathSegments as a3,
37595
+ projectBlocksLayout as a4,
37596
+ textStyleToFontSizePt as a5,
37597
+ PX_PER_POINT$2 as a6,
37598
+ DEFAULT_FONT_SIZE_PX as a7,
37599
+ isDoubleUnderlineStyle as a8,
37600
+ isWavyUnderlineStyle as a9,
37601
+ formatFontSizePt as aA,
37602
+ listKindForTag as aB,
37603
+ isParagraphTag as aC,
37604
+ collectInlineRuns as aD,
37605
+ parseParagraphStyle as aE,
37606
+ t as aF,
37607
+ preciseFontModeVersion as aG,
37608
+ isPreciseFontModeEnabled as aH,
37609
+ togglePreciseFontMode as aI,
37610
+ nextFontSizePt as aJ,
37611
+ previousFontSizePt as aK,
37612
+ fontSizePtToPx as aL,
37613
+ createDefaultToolbarPreset as aM,
37614
+ defaultMenuItems as aN,
37615
+ MenuRegistry as aO,
37616
+ createToolbarRegistry as aP,
37617
+ Editor as aQ,
37618
+ resolveCommandRef as aR,
37619
+ commandRefName as aS,
37620
+ InlineShell as aT,
37621
+ BalloonShell as aU,
37622
+ DocumentShell as aV,
37623
+ createMemo as aW,
37624
+ getCaretRectFromSnapshot as aX,
37625
+ getParagraphRectFromSnapshot as aY,
37626
+ createComponent as aZ,
37627
+ CaretOverlay as a_,
37628
+ underlineStyleLineWidthPx as aa,
37629
+ underlineStyleDashArray as ab,
37630
+ getListLabelInset as ac,
37631
+ getParagraphBorderInsets as ad,
37632
+ normalizeFamily as ae,
37633
+ ROBOTO_FONT_FILES as af,
37634
+ loadFontAsset as ag,
37635
+ OFFICE_COMPAT_FONT_FAMILIES as ah,
37636
+ buildSfnt as ai,
37637
+ defaultFontDecoderRegistry as aj,
37638
+ SfntFontProgram as ak,
37639
+ collectPdfFontFamilies as al,
37640
+ projectDocumentLayout as am,
37641
+ getPageHeaderZoneTop as an,
37642
+ getPageBodyTop as ao,
37643
+ findFootnoteReference as ap,
37644
+ FOOTNOTE_MARKER_GUTTER_PX as aq,
37645
+ resolveImporterForFile as ar,
37646
+ createEditorStateFromDocument as as,
37647
+ getDocumentParagraphsCanonical as at,
37648
+ getToolbarStyleState as au,
37649
+ STANDARD_FONT_SIZES_PT as av,
37650
+ fontSizePxToPt as aw,
37651
+ probeLocalFontFamilies as ax,
37652
+ createInitialEditorState as ay,
37653
+ parseFontSizePtToPx as az,
37654
+ createEditorRun as b,
37655
+ RIBBON_TAB_DEFINITIONS as b$,
37656
+ createRenderEffect as b0,
37657
+ style as b1,
37658
+ setAttribute as b2,
37659
+ setStyleProperty as b3,
37660
+ memo as b4,
37661
+ template as b5,
37662
+ insert as b6,
37663
+ use as b7,
37664
+ addEventListener as b8,
37665
+ Dialog as b9,
37666
+ applyStoredPreciseFontPreference as bA,
37667
+ getWelcomeSeen as bB,
37668
+ isLocalFontAccessSupported as bC,
37669
+ EDITOR_SCROLL_PADDING_PX as bD,
37670
+ Toolbar as bE,
37671
+ OasisEditorLoading as bF,
37672
+ createEditorLogger as bG,
37673
+ getCachedCanvasImage as bH,
37674
+ registerDomStatsSurface as bI,
37675
+ Button as bJ,
37676
+ Checkbox as bK,
37677
+ ColorPicker as bL,
37678
+ CommandRegistry as bM,
37679
+ DEFAULT_PALETTE as bN,
37680
+ DialogFooter as bO,
37681
+ FloatingActionButton as bP,
37682
+ GridPicker as bQ,
37683
+ IconButton as bR,
37684
+ Menu as bS,
37685
+ OASIS_BUILTIN_COMMANDS as bT,
37686
+ OASIS_MENU_ITEMS as bU,
37687
+ OASIS_TOOLBAR_ITEMS as bV,
37688
+ OasisEditorAppLazy as bW,
37689
+ OasisEditorContainer as bX,
37690
+ PluginCollection as bY,
37691
+ Popover as bZ,
37692
+ RIBBON_TABS as b_,
37693
+ delegateEvents as ba,
37694
+ className as bb,
37695
+ For as bc,
37696
+ UNDERLINE_STYLE_OPTIONS as bd,
37697
+ Tabs as be,
37698
+ measureParagraphMinContentWidthPx as bf,
37699
+ getEditableBlocksForZone as bg,
37700
+ findParagraphLocation as bh,
37701
+ createSectionBoundaryParagraph as bi,
37702
+ normalizePageSettings as bj,
37703
+ DEFAULT_EDITOR_PAGE_SETTINGS as bk,
37704
+ markStart as bl,
37705
+ markEnd as bm,
37706
+ getParagraphEntries as bn,
37707
+ getParagraphById as bo,
37708
+ PluginUiHost as bp,
37709
+ OasisEditorEditor as bq,
37710
+ perfTimer as br,
37711
+ OasisBrandMark as bs,
37712
+ setPreciseFontPreference as bt,
37713
+ setWelcomeSeen as bu,
37714
+ enablePreciseFontMode as bv,
37715
+ createOasisEditorClient as bw,
37716
+ setLocale as bx,
37717
+ startLongTaskObserver as by,
37718
+ installGlobalReport as bz,
37658
37719
  createEditorParagraphFromRuns as c,
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,
37673
- getParagraphText as d,
37674
- getActiveZone as e,
37675
- getDocumentSections as f,
37720
+ Select as c0,
37721
+ SelectField as c1,
37722
+ Separator as c2,
37723
+ SidePanel as c3,
37724
+ SidePanelBody as c4,
37725
+ SidePanelFooter as c5,
37726
+ SidePanelHeader as c6,
37727
+ SplitButton as c7,
37728
+ TextField as c8,
37729
+ Button$1 as c9,
37730
+ createEditorCommandBus as ca,
37731
+ createOasisEditor as cb,
37732
+ createOasisEditorContainer as cc,
37733
+ mount as cd,
37734
+ registerToolbarRenderer as ce,
37735
+ getDocumentSections as d,
37736
+ createEditorStyledRun as e,
37737
+ getParagraphText as f,
37676
37738
  getParagraphs as g,
37677
- getActiveSectionIndex as h,
37678
- paragraphOffsetToPosition as i,
37679
- clampPosition as j,
37680
- findParagraphIndex as k,
37681
- createCollapsedSelection as l,
37682
- isSelectionCollapsed as m,
37739
+ getActiveZone as h,
37740
+ getActiveSectionIndex as i,
37741
+ paragraphOffsetToPosition as j,
37742
+ clampPosition as k,
37743
+ findParagraphIndex as l,
37744
+ createCollapsedSelection as m,
37683
37745
  normalizeSelection as n,
37684
- createEditorParagraph as o,
37746
+ isSelectionCollapsed as o,
37685
37747
  positionToParagraphOffset as p,
37686
- getBlockParagraphs as q,
37687
- findParagraphTableLocation as r,
37688
- buildTableCellLayout as s,
37689
- createEditorTableCell as t,
37690
- createEditorTable as u,
37691
- createEditorTableRow as v,
37692
- underlineStyleToCssDecorationStyle as w,
37693
- resolveImageSrc as x,
37694
- createEditorFootnote as y,
37695
- createFootnoteReferenceRun as z
37748
+ createEditorParagraph as q,
37749
+ getBlockParagraphs as r,
37750
+ findParagraphTableLocation as s,
37751
+ buildTableCellLayout as t,
37752
+ createEditorTableCell as u,
37753
+ createEditorTable as v,
37754
+ createEditorTableRow as w,
37755
+ underlineStyleToCssDecorationStyle as x,
37756
+ resolveImageSrc as y,
37757
+ createEditorFootnote as z
37696
37758
  };