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-
|
|
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 /
|
|
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
|
-
|
|
39939
|
-
|
|
39940
|
-
|
|
39941
|
-
|
|
39942
|
-
|
|
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
|
-
|
|
39945
|
-
|
|
39946
|
-
|
|
39947
|
-
|
|
39948
|
-
|
|
39949
|
-
|
|
39950
|
-
|
|
39951
|
-
|
|
39952
|
-
|
|
39953
|
-
|
|
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
|
-
|
|
39956
|
-
|
|
39957
|
-
|
|
39958
|
-
|
|
39959
|
-
|
|
39960
|
-
|
|
39961
|
-
|
|
39962
|
-
|
|
39963
|
-
|
|
39964
|
-
|
|
39965
|
-
|
|
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
|
-
|
|
39969
|
-
|
|
39970
|
-
|
|
39971
|
-
|
|
39972
|
-
|
|
39973
|
-
|
|
39974
|
-
|
|
39975
|
-
|
|
39976
|
-
|
|
39977
|
-
|
|
39978
|
-
|
|
39979
|
-
|
|
39980
|
-
|
|
39981
|
-
|
|
39982
|
-
|
|
39983
|
-
|
|
39984
|
-
|
|
39985
|
-
|
|
39986
|
-
|
|
39987
|
-
|
|
39988
|
-
|
|
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
|
-
|
|
40006
|
-
|
|
40007
|
-
|
|
40008
|
-
|
|
40009
|
-
|
|
40010
|
-
|
|
40011
|
-
|
|
40012
|
-
|
|
40013
|
-
|
|
40014
|
-
|
|
40015
|
-
|
|
40016
|
-
|
|
40017
|
-
|
|
40018
|
-
|
|
40019
|
-
|
|
40020
|
-
|
|
40021
|
-
|
|
40022
|
-
|
|
40023
|
-
|
|
40024
|
-
|
|
40025
|
-
|
|
40026
|
-
|
|
40027
|
-
|
|
40028
|
-
|
|
40029
|
-
|
|
40030
|
-
|
|
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
|
-
|
|
40140
|
-
|
|
40141
|
-
|
|
40142
|
-
|
|
40143
|
-
|
|
40144
|
-
|
|
40145
|
-
|
|
40146
|
-
|
|
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
|
};
|
package/dist/oasis-editor.js
CHANGED
|
@@ -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-
|
|
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,
|