oasis-editor 0.0.43 → 0.0.45

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.
@@ -2483,7 +2483,7 @@ function OasisEditorAppLazy(props = {}) {
2483
2483
  onCleanup(() => {
2484
2484
  cancelled = true;
2485
2485
  });
2486
- import("./OasisEditorApp-BOjvnIF_.js").then((m) => {
2486
+ import("./OasisEditorApp-BicXOvEM.js").then((m) => {
2487
2487
  cancelled = true;
2488
2488
  setProgress(1);
2489
2489
  setTimeout(() => setApp(() => m.OasisEditorApp), 180);
@@ -15151,7 +15151,7 @@ function collectInlineTextBoxesFromLines(options) {
15151
15151
  return inlineTextBoxes;
15152
15152
  }
15153
15153
  function resolveFloatingTopLeft(floating, opts) {
15154
- const emuToPx2 = (value) => value === void 0 ? 0 : value / 9525;
15154
+ const emuToPx2 = (value) => value === void 0 ? 0 : value / EMU_PER_PX;
15155
15155
  const h = floating.positionH;
15156
15156
  const v = floating.positionV;
15157
15157
  const hBase = (h == null ? void 0 : h.relativeFrom) === "page" ? opts.pageLeft : (h == null ? void 0 : h.relativeFrom) === "character" ? opts.lineLeftOffset + opts.slotLeft : opts.contentLeft;
@@ -39935,57 +39935,57 @@ const OASIS_MENU_ITEMS = {
39935
39935
  formatListsNumbered: "format_lists_numbered"
39936
39936
  };
39937
39937
  export {
39938
- EMU_PER_PT as $,
39939
- createFootnoteReferenceRun as A,
39940
- renumberFootnotes as B,
39941
- iterateFootnoteReferenceRuns as C,
39942
- getFootnoteDisplayMarker as D,
39938
+ iterateEndnoteReferenceRuns as $,
39939
+ createEffect as A,
39940
+ onCleanup as B,
39941
+ buildCanvasLayoutSnapshot as C,
39942
+ on as D,
39943
39943
  EMU_PER_PX as E,
39944
- createSignal as F,
39945
- createEffect as G,
39946
- onCleanup as H,
39947
- buildCanvasLayoutSnapshot as I,
39948
- on as J,
39949
- onMount as K,
39950
- debounce as L,
39951
- unwrap as M,
39952
- getDocumentParagraphs as N,
39953
- getDocumentSectionsCanonical as O,
39944
+ onMount as F,
39945
+ debounce as G,
39946
+ unwrap as H,
39947
+ getDocumentParagraphs as I,
39948
+ createEditorTableCell as J,
39949
+ createEditorTableRow as K,
39950
+ createEditorTable as L,
39951
+ getDocumentSectionsCanonical as M,
39952
+ createEditorDocument as N,
39953
+ getPageContentWidth as O,
39954
39954
  PT_PER_PX as P,
39955
- createEditorDocument as Q,
39956
- getPageContentWidth as R,
39957
- getDocumentPageSettings as S,
39958
- getTableCellContentWidthForParagraph as T,
39959
- resolveResizedDimensions as U,
39960
- resolveTextBoxRenderHeight as V,
39961
- TWIPS_PER_POINT as W,
39962
- PX_PER_INCH as X,
39963
- TWIPS_PER_INCH as Y,
39964
- resolveEffectiveParagraphStyle as Z,
39965
- resolveEffectiveTextStyleForParagraph as _,
39955
+ getDocumentPageSettings as Q,
39956
+ getTableCellContentWidthForParagraph as R,
39957
+ resolveResizedDimensions as S,
39958
+ resolveImageSrc as T,
39959
+ resolveTextBoxRenderHeight as U,
39960
+ TWIPS_PER_POINT as V,
39961
+ PX_PER_INCH as W,
39962
+ TWIPS_PER_INCH as X,
39963
+ resolveEffectiveParagraphStyle as Y,
39964
+ resolveEffectiveTextStyleForParagraph as Z,
39965
+ EMU_PER_PT as _,
39966
39966
  getParagraphLength as a,
39967
39967
  resolveCommandRef as a$,
39968
- iterateEndnoteReferenceRuns as a0,
39969
- JSZip as a1,
39970
- imageContentTypeDefaults as a2,
39971
- imageExtensionFromMime as a3,
39972
- pxToPt as a4,
39973
- resolveFloatingObjectRect as a5,
39974
- getTextBoxFloatingGeometry as a6,
39975
- getPresetPathSegments as a7,
39976
- projectBlocksLayout as a8,
39977
- buildListLabels as a9,
39978
- FOOTNOTE_MARKER_GUTTER_PX as aA,
39979
- resolveImporterForFile as aB,
39980
- createEditorStateFromDocument as aC,
39981
- getDocumentParagraphsCanonical as aD,
39982
- getToolbarStyleState as aE,
39983
- STANDARD_FONT_SIZES_PT as aF,
39984
- fontSizePxToPt as aG,
39985
- probeLocalFontFamilies as aH,
39986
- createInitialEditorState as aI,
39987
- parseFontSizePtToPx as aJ,
39988
- formatFontSizePt as aK,
39968
+ JSZip as a0,
39969
+ imageContentTypeDefaults as a1,
39970
+ imageExtensionFromMime as a2,
39971
+ pxToPt as a3,
39972
+ resolveFloatingObjectRect as a4,
39973
+ getTextBoxFloatingGeometry as a5,
39974
+ getPresetPathSegments as a6,
39975
+ projectBlocksLayout as a7,
39976
+ buildListLabels as a8,
39977
+ textStyleToFontSizePt as a9,
39978
+ resolveImporterForFile as aA,
39979
+ createEditorStateFromDocument as aB,
39980
+ getDocumentParagraphsCanonical as aC,
39981
+ getToolbarStyleState as aD,
39982
+ STANDARD_FONT_SIZES_PT as aE,
39983
+ fontSizePxToPt as aF,
39984
+ probeLocalFontFamilies as aG,
39985
+ createInitialEditorState as aH,
39986
+ parseFontSizePtToPx as aI,
39987
+ formatFontSizePt as aJ,
39988
+ underlineStyleToCssDecorationStyle as aK,
39989
39989
  listKindForTag as aL,
39990
39990
  isParagraphTag as aM,
39991
39991
  collectInlineRuns as aN,
@@ -40002,32 +40002,32 @@ export {
40002
40002
  MenuRegistry as aY,
40003
40003
  createToolbarRegistry as aZ,
40004
40004
  Editor as a_,
40005
- textStyleToFontSizePt as aa,
40006
- PX_PER_POINT as ab,
40007
- DEFAULT_FONT_SIZE_PX as ac,
40008
- isDoubleUnderlineStyle as ad,
40009
- isWavyUnderlineStyle as ae,
40010
- underlineStyleLineWidthPx as af,
40011
- underlineStyleDashArray as ag,
40012
- resolveListLabel as ah,
40013
- getListLabelInset as ai,
40014
- getAlignedListLabelInset as aj,
40015
- getParagraphBorderInsets as ak,
40016
- buildSegmentTable as al,
40017
- buildCanvasTableLayout as am,
40018
- normalizeFamily as an,
40019
- ROBOTO_FONT_FILES as ao,
40020
- loadFontAsset as ap,
40021
- OFFICE_COMPAT_FONT_FAMILIES as aq,
40022
- buildSfnt as ar,
40023
- defaultFontDecoderRegistry as as,
40024
- SfntFontProgram as at,
40025
- collectPdfFontFamilies as au,
40026
- projectDocumentLayout as av,
40027
- getPageHeaderZoneTop as aw,
40028
- getPageBodyTop as ax,
40029
- getPageColumnRects as ay,
40030
- findFootnoteReference as az,
40005
+ PX_PER_POINT as aa,
40006
+ DEFAULT_FONT_SIZE_PX as ab,
40007
+ isDoubleUnderlineStyle as ac,
40008
+ isWavyUnderlineStyle as ad,
40009
+ underlineStyleLineWidthPx as ae,
40010
+ underlineStyleDashArray as af,
40011
+ resolveListLabel as ag,
40012
+ getListLabelInset as ah,
40013
+ getAlignedListLabelInset as ai,
40014
+ getParagraphBorderInsets as aj,
40015
+ buildSegmentTable as ak,
40016
+ buildCanvasTableLayout as al,
40017
+ normalizeFamily as am,
40018
+ ROBOTO_FONT_FILES as an,
40019
+ loadFontAsset as ao,
40020
+ OFFICE_COMPAT_FONT_FAMILIES as ap,
40021
+ buildSfnt as aq,
40022
+ defaultFontDecoderRegistry as ar,
40023
+ SfntFontProgram as as,
40024
+ collectPdfFontFamilies as at,
40025
+ projectDocumentLayout as au,
40026
+ getPageHeaderZoneTop as av,
40027
+ getPageBodyTop as aw,
40028
+ getPageColumnRects as ax,
40029
+ findFootnoteReference as ay,
40030
+ FOOTNOTE_MARKER_GUTTER_PX as az,
40031
40031
  createEditorRun as b,
40032
40032
  FloatingActionButton as b$,
40033
40033
  commandRefName as b0,
@@ -40136,12 +40136,12 @@ export {
40136
40136
  positionToParagraphOffset as p,
40137
40137
  createEditorParagraph as q,
40138
40138
  getBlockParagraphs as r,
40139
- findParagraphTableLocation as s,
40140
- buildTableCellLayout as t,
40141
- createEditorTableCell as u,
40142
- createEditorTableRow as v,
40143
- createEditorTable as w,
40144
- underlineStyleToCssDecorationStyle as x,
40145
- resolveImageSrc as y,
40146
- createEditorFootnote as z
40139
+ createEditorFootnote as s,
40140
+ createFootnoteReferenceRun as t,
40141
+ renumberFootnotes as u,
40142
+ iterateFootnoteReferenceRuns as v,
40143
+ getFootnoteDisplayMarker as w,
40144
+ findParagraphTableLocation as x,
40145
+ buildTableCellLayout as y,
40146
+ createSignal as z
40147
40147
  };
@@ -1,4 +1,4 @@
1
- import { b2, bV, bW, bX, bY, bZ, bk, b_, b3, a_, b$, c0, c1, b1, c2, aY, c3, c4, c5, c6, c7, bQ, c8, c9, ca, cb, cc, cd, ce, cf, cg, ch, ci, bp, cj, bP, ck, bX as bX2, c0 as c02, c2 as c22, cb as cb2, cd as cd2, ci as ci2, cl, b0, aX, cm, cn, co, aZ, cp, cq, a$ } from "./index-Cgq5T30U.js";
1
+ import { b2, bV, bW, bX, bY, bZ, bk, b_, b3, a_, b$, c0, c1, b1, c2, aY, c3, c4, c5, c6, c7, bQ, c8, c9, ca, cb, cc, cd, ce, cf, cg, ch, ci, bp, cj, bP, ck, bX as bX2, c0 as c02, c2 as c22, cb as cb2, cd as cd2, ci as ci2, cl, b0, aX, cm, cn, co, aZ, cp, cq, a$ } from "./index-OhHCISs2.js";
2
2
  export {
3
3
  b2 as BalloonShell,
4
4
  bV as Button,