@pretextbook/web-editor 0.5.1 → 0.5.3
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.
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +67 -52
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/sectionUtils.d.ts +24 -10
- package/dist/web-editor.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ DocumentSection,
|
|
|
12
12
|
/** @deprecated Chapters are now plain `Division` records with type `"chapter"`. */
|
|
13
13
|
DocumentChapter, } from "./types/sections";
|
|
14
14
|
export type { DivisionTreeNode } from "./sectionUtils";
|
|
15
|
-
export { assembleProjectSource, parseDivisionRefs, insertDivisionRef, removeDivisionRef, moveDivisionRef, renameDivisionRef, findDivisionParent, reorderDivisionRefs, normalizeSelfClosingRefs, getOrphanedDivisions, getOrphanRoots, buildDivisionTree, wrapDivisionForPreview, updateDivisionTitle, createNewSection, createIntroduction, createConclusion, stripSectionWrapper, rewrapSection, ensureSectionWrapper, mergeTwoSections, getSectionAttributes, updateSectionMetadata, extractDivisionMetadata, stripLatexSectionWrapper, rewrapLatexSection, ensureLatexSectionWrapper, updateLatexSectionTitle, extractLatexDivisionTitle, createNewLatexSection, createLatexIntroduction, createLatexConclusion, } from "./sectionUtils";
|
|
15
|
+
export { assembleProjectSource, assembleFullProjectSource, parseDivisionRefs, insertDivisionRef, removeDivisionRef, moveDivisionRef, renameDivisionRef, findDivisionParent, reorderDivisionRefs, normalizeSelfClosingRefs, getOrphanedDivisions, getOrphanRoots, buildDivisionTree, wrapDivisionForPreview, updateDivisionTitle, createNewSection, createIntroduction, createConclusion, stripSectionWrapper, rewrapSection, ensureSectionWrapper, mergeTwoSections, getSectionAttributes, updateSectionMetadata, extractDivisionMetadata, stripLatexSectionWrapper, rewrapLatexSection, ensureLatexSectionWrapper, updateLatexSectionTitle, extractLatexDivisionTitle, createNewLatexSection, createLatexIntroduction, createLatexConclusion, } from "./sectionUtils";
|
|
16
16
|
export { default as CodeEditor } from "./components/CodeEditor";
|
|
17
17
|
export { VisualEditor } from "@pretextbook/visual-editor";
|
|
18
18
|
export { default as FullPreview } from "./components/FullPreview";
|
package/dist/index.es.js
CHANGED
|
@@ -93549,7 +93549,7 @@ var U3 = ({ open: r, onClose: i, onLoadAssets: a, onLoadLibraryAssets: o, onInse
|
|
|
93549
93549
|
})]
|
|
93550
93550
|
}),
|
|
93551
93551
|
/* @__PURE__ */ t("div", {
|
|
93552
|
-
className: "pretext-plus-editor__dialog-content pretext-plus-editor__dialog-content--single
|
|
93552
|
+
className: "pretext-plus-editor__dialog-content pretext-plus-editor__dialog-content--single",
|
|
93553
93553
|
children: ee === "in-document" ? (() => {
|
|
93554
93554
|
if (Oe.length === 0) return /* @__PURE__ */ n("div", {
|
|
93555
93555
|
className: "pretext-plus-editor__am-placeholder",
|
|
@@ -95241,7 +95241,33 @@ function $6(e, t) {
|
|
|
95241
95241
|
for (let e of n) for (let t of B6(e.content)) r.has(t) && i.add(t);
|
|
95242
95242
|
return n.filter((e) => !i.has(e.xmlId));
|
|
95243
95243
|
}
|
|
95244
|
-
|
|
95244
|
+
var e8 = new Set([
|
|
95245
|
+
"book",
|
|
95246
|
+
"article",
|
|
95247
|
+
"slideshow"
|
|
95248
|
+
]);
|
|
95249
|
+
function t8(e) {
|
|
95250
|
+
try {
|
|
95251
|
+
let t = t6(e), n = t.children.find((e) => e.type === "element"), r = n?.name === "pretext" ? n.children.find((e) => e.type === "element") : n;
|
|
95252
|
+
if (!r) return e;
|
|
95253
|
+
if (!r.attributes.label) {
|
|
95254
|
+
let e = r8(t, "pretext-plus-preview");
|
|
95255
|
+
return r.attributes.label = e, console.log(`Added label="${e}" to root element ${r.name} for previewing.`), qY(t);
|
|
95256
|
+
}
|
|
95257
|
+
return e;
|
|
95258
|
+
} catch (t) {
|
|
95259
|
+
return console.error("Error ensuring label:", t), e;
|
|
95260
|
+
}
|
|
95261
|
+
}
|
|
95262
|
+
function n8(e, t) {
|
|
95263
|
+
return e.type === "element" && e.attributes?.label === t ? !0 : "children" in e && e.children ? e.children.some((e) => e.type === "element" ? n8(e, t) : !1) : !1;
|
|
95264
|
+
}
|
|
95265
|
+
function r8(e, t) {
|
|
95266
|
+
let n = t, r = 1;
|
|
95267
|
+
for (; n8(e, n);) n = `${t}-${r}`, r++;
|
|
95268
|
+
return n;
|
|
95269
|
+
}
|
|
95270
|
+
function i8(e, t, n) {
|
|
95245
95271
|
let r = t.find((t) => t.xmlId === e);
|
|
95246
95272
|
if (!r) return `<!-- missing division: ${e} -->`;
|
|
95247
95273
|
if (n.has(e)) return `<!-- circular reference: ${e} -->`;
|
|
@@ -95253,23 +95279,24 @@ function e8(e, t, n) {
|
|
|
95253
95279
|
}
|
|
95254
95280
|
if (r.sourceFormat !== "pretext") return i;
|
|
95255
95281
|
let a = new Set(n).add(e);
|
|
95256
|
-
return i.replace(/<plus:[a-z-]+\s[^>]*ref="([^"]+)"[^>]*?(?:\/>|>\s*<\/plus:[a-z-]+>)/g, (e, n) =>
|
|
95282
|
+
return i.replace(/<plus:[a-z-]+\s[^>]*ref="([^"]+)"[^>]*?(?:\/>|>\s*<\/plus:[a-z-]+>)/g, (e, n) => i8(n, t, a));
|
|
95257
95283
|
}
|
|
95258
|
-
function
|
|
95259
|
-
return
|
|
95284
|
+
function a8(e, t) {
|
|
95285
|
+
return t8(i8(t, e, /* @__PURE__ */ new Set()));
|
|
95260
95286
|
}
|
|
95261
|
-
|
|
95262
|
-
"
|
|
95263
|
-
|
|
95264
|
-
|
|
95265
|
-
|
|
95266
|
-
|
|
95267
|
-
|
|
95268
|
-
|
|
95287
|
+
function o8(e, t) {
|
|
95288
|
+
return t8(`<pretext>\n${t.trim() ? `${t.trim()}\n` : ""}${e}\n</pretext>`);
|
|
95289
|
+
}
|
|
95290
|
+
function s8(e, t, n) {
|
|
95291
|
+
return o8(i8(t, e, /* @__PURE__ */ new Set()), n);
|
|
95292
|
+
}
|
|
95293
|
+
var c8 = new Set(["part", "chapter"]);
|
|
95294
|
+
function l8(e, t, n, r) {
|
|
95295
|
+
return o8(e8.has(e) ? t : c8.has(e) ? `<book>\n<title>${r}</title>\n${t}\n</book>` : `<article>\n<title>${r}</title>\n${t}\n</article>`, n);
|
|
95269
95296
|
}
|
|
95270
95297
|
//#endregion
|
|
95271
95298
|
//#region src/components/toc/ArticleToc.tsx
|
|
95272
|
-
var
|
|
95299
|
+
var u8 = ({ onOpenAssetPicker: r }) => {
|
|
95273
95300
|
let i = b3((e) => e.divisions), o = b3((e) => e.rootDivisionId), s = b3((e) => e.activeDivisionId), c = b3((e) => e.selectSection), l = b3((e) => e.removeSection), u = b3((e) => e.divisionContentChange), d = b3((e) => e.insertAtCursor), f = b3((e) => e.startSectionEdit), p = b3((e) => e.setEditDraft), h = b3((e) => e.commitSectionEdit), g = b3((e) => e.cancelSectionEdit), _ = b3((e) => e.editingId), v = b3((e) => e.editDraft), y = i ? i.find((e) => e.xmlId === o) ?? i.find((e) => e.type === "book" || e.type === "article" || e.type === "slideshow") ?? i[0] ?? null : null, x = y && i ? Q6(i, y.xmlId) : [], S = y && i ? $6(i, y.xmlId) : [], [C, w] = b(/* @__PURE__ */ new Set()), T = (e) => !C.has(e), E = (e) => {
|
|
95274
95301
|
w((t) => {
|
|
95275
95302
|
let n = new Set(t);
|
|
@@ -95454,7 +95481,7 @@ var a8 = ({ onOpenAssetPicker: r }) => {
|
|
|
95454
95481
|
children: "Manage Assets"
|
|
95455
95482
|
})
|
|
95456
95483
|
] });
|
|
95457
|
-
},
|
|
95484
|
+
}, d8 = ({ isCollapsed: e, onToggleCollapse: r, onOpenAssetPicker: i }) => e ? /* @__PURE__ */ t("div", {
|
|
95458
95485
|
className: "pretext-plus-editor__toc pretext-plus-editor__toc--collapsed",
|
|
95459
95486
|
children: /* @__PURE__ */ t("button", {
|
|
95460
95487
|
type: "button",
|
|
@@ -95482,8 +95509,8 @@ var a8 = ({ onOpenAssetPicker: r }) => {
|
|
|
95482
95509
|
children: "✕"
|
|
95483
95510
|
})
|
|
95484
95511
|
})]
|
|
95485
|
-
}), /* @__PURE__ */ t(
|
|
95486
|
-
}),
|
|
95512
|
+
}), /* @__PURE__ */ t(u8, { onOpenAssetPicker: i })]
|
|
95513
|
+
}), f8 = class extends i {
|
|
95487
95514
|
state = { error: null };
|
|
95488
95515
|
static getDerivedStateFromError(e) {
|
|
95489
95516
|
return { error: e };
|
|
@@ -95522,7 +95549,7 @@ var a8 = ({ onOpenAssetPicker: r }) => {
|
|
|
95522
95549
|
};
|
|
95523
95550
|
//#endregion
|
|
95524
95551
|
//#region src/store/editorStore.ts
|
|
95525
|
-
function
|
|
95552
|
+
function p8(e) {
|
|
95526
95553
|
let t = () => {}, n = { cbs: {
|
|
95527
95554
|
selectDivision: t,
|
|
95528
95555
|
addDivision: t,
|
|
@@ -95642,7 +95669,7 @@ function c8(e) {
|
|
|
95642
95669
|
}
|
|
95643
95670
|
//#endregion
|
|
95644
95671
|
//#region src/store/EditorStoreProvider.tsx
|
|
95645
|
-
function
|
|
95672
|
+
function m8({ store: e, children: n }) {
|
|
95646
95673
|
return /* @__PURE__ */ t(y3.Provider, {
|
|
95647
95674
|
value: e,
|
|
95648
95675
|
children: n
|
|
@@ -95650,10 +95677,10 @@ function l8({ store: e, children: n }) {
|
|
|
95650
95677
|
}
|
|
95651
95678
|
//#endregion
|
|
95652
95679
|
//#region src/components/Editors.tsx
|
|
95653
|
-
var
|
|
95680
|
+
var h8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type === "article" || e.type === "slideshow") ?? e[0] ?? null, g8 = (e) => {
|
|
95654
95681
|
let [n] = b(() => {
|
|
95655
|
-
let t =
|
|
95656
|
-
return
|
|
95682
|
+
let t = h8(e.divisions, e.rootDivisionId), n = e.activeDivisionId ?? t?.xmlId ?? null, r = e.divisions.find((e) => e.xmlId === n) ?? t;
|
|
95683
|
+
return p8({
|
|
95657
95684
|
source: r?.content ?? "",
|
|
95658
95685
|
sourceFormat: r?.sourceFormat ?? "pretext",
|
|
95659
95686
|
title: e.title ?? "Document Title",
|
|
@@ -95665,15 +95692,15 @@ var u8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
|
|
|
95665
95692
|
activeDivisionId: n
|
|
95666
95693
|
});
|
|
95667
95694
|
});
|
|
95668
|
-
return /* @__PURE__ */ t(
|
|
95695
|
+
return /* @__PURE__ */ t(m8, {
|
|
95669
95696
|
store: n.store,
|
|
95670
|
-
children: /* @__PURE__ */ t(
|
|
95697
|
+
children: /* @__PURE__ */ t(_8, {
|
|
95671
95698
|
...e,
|
|
95672
95699
|
bindCallbacks: n.bindCallbacks
|
|
95673
95700
|
})
|
|
95674
95701
|
});
|
|
95675
|
-
},
|
|
95676
|
-
let { bindCallbacks: r } = e, i = b3((e) => e.showFullPreview), a = b3((e) => e.isNarrowScreen), o = b3((e) => e.setIsNarrowScreen), s = b3((e) => e.activeTab), c = b3((e) => e.setActiveTab), l = b3((e) => e.isTocCollapsed), u = b3((e) => e.setIsTocCollapsed), d = b3((e) => e.isLatexDialogOpen), f = b3((e) => e.isConvertDialogOpen), p = b3((e) => e.isDocinfoEditorOpen), h = b3((e) => e.isAssetPickerOpen), g = b3((e) => e.openModal), b = b3((e) => e.closeModal), x = b3((e) => e.syncState), S = b3((e) => e.divisions) ?? [], C = b3((e) => e.activeDivisionId), w = b3((e) => e.title), T = b3((e) => e.docinfo), E = b3((e) => e.commonDocinfo), D = b3((e) => e.useCommonDocinfo), O = b3((e) => e.applyExternalUpdate), k = b3((e) => e.setDivisionContent), A = b3((e) => e.patchDivision), j = b3((e) => e.addDivisionToPool), ee = b3((e) => e.removeDivisionFromPool), te = b3((e) => e.setActiveDivisionId), ne = b3((e) => e.setTitle), M = b3((e) => e.setDocinfo), N = y(null), re = y(null), ie =
|
|
95702
|
+
}, _8 = (e) => {
|
|
95703
|
+
let { bindCallbacks: r } = e, i = b3((e) => e.showFullPreview), a = b3((e) => e.isNarrowScreen), o = b3((e) => e.setIsNarrowScreen), s = b3((e) => e.activeTab), c = b3((e) => e.setActiveTab), l = b3((e) => e.isTocCollapsed), u = b3((e) => e.setIsTocCollapsed), d = b3((e) => e.isLatexDialogOpen), f = b3((e) => e.isConvertDialogOpen), p = b3((e) => e.isDocinfoEditorOpen), h = b3((e) => e.isAssetPickerOpen), g = b3((e) => e.openModal), b = b3((e) => e.closeModal), x = b3((e) => e.syncState), S = b3((e) => e.divisions) ?? [], C = b3((e) => e.activeDivisionId), w = b3((e) => e.title), T = b3((e) => e.docinfo), E = b3((e) => e.commonDocinfo), D = b3((e) => e.useCommonDocinfo), O = b3((e) => e.applyExternalUpdate), k = b3((e) => e.setDivisionContent), A = b3((e) => e.patchDivision), j = b3((e) => e.addDivisionToPool), ee = b3((e) => e.removeDivisionFromPool), te = b3((e) => e.setActiveDivisionId), ne = b3((e) => e.setTitle), M = b3((e) => e.setDocinfo), N = y(null), re = y(null), ie = h8(S, e.rootDivisionId), ae = S.find((e) => e.xmlId === C) ?? S[0] ?? null, P = ae?.sourceFormat ?? "pretext", oe = ae?.content ?? "", F = (t, n, r, i) => {
|
|
95677
95704
|
k(t, n), e.onContentChange({
|
|
95678
95705
|
xmlId: t,
|
|
95679
95706
|
sourceContent: n,
|
|
@@ -95783,7 +95810,7 @@ var u8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
|
|
|
95783
95810
|
let t = ge.current, n = {}, r = !1;
|
|
95784
95811
|
if (e.divisions !== t.divisions) {
|
|
95785
95812
|
n.divisions = e.divisions;
|
|
95786
|
-
let t =
|
|
95813
|
+
let t = h8(e.divisions, e.rootDivisionId);
|
|
95787
95814
|
(C == null || !e.divisions.some((e) => e.xmlId === C)) && (n.activeDivisionId = t?.xmlId ?? null), r = !0;
|
|
95788
95815
|
}
|
|
95789
95816
|
e.title !== void 0 && e.title !== t.title && (n.title = e.title, r = !0), e.docinfo !== void 0 && e.docinfo !== t.docinfo && (n.docinfo = e.docinfo, r = !0), e.commonDocinfo !== void 0 && e.commonDocinfo !== t.commonDocinfo && (n.commonDocinfo = e.commonDocinfo, r = !0), e.useCommonDocinfo !== void 0 && e.useCommonDocinfo !== t.useCommonDocinfo && (n.useCommonDocinfo = e.useCommonDocinfo, r = !0), e.activeDivisionId !== void 0 && e.activeDivisionId !== t.activeDivisionId && (n.activeDivisionId = e.activeDivisionId, r = !0), r && O(n), ge.current = {
|
|
@@ -95795,7 +95822,7 @@ var u8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
|
|
|
95795
95822
|
activeDivisionId: e.activeDivisionId
|
|
95796
95823
|
};
|
|
95797
95824
|
});
|
|
95798
|
-
let _e = D ? E : T, ve = ae ? P === "pretext" ?
|
|
95825
|
+
let _e = D ? E : T, ve = ae ? P === "pretext" ? a8(S, ae.xmlId) : I === void 0 ? void 0 : `<${ae.type} xml:id="${ae.xmlId}">\n<title>${ae.title}</title>\n\n${I}\n</${ae.type}>` : void 0, ye = ae && ve !== void 0 ? l8(ae.type, ve, _e, ae.title) : void 0, be = () => N.current?.rebuild(), xe = () => {
|
|
95799
95826
|
e.onSave?.(), N.current?.rebuild();
|
|
95800
95827
|
}, Se = (t) => {
|
|
95801
95828
|
let n = t.ctrlKey || t.metaKey;
|
|
@@ -95835,27 +95862,16 @@ var u8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
|
|
|
95835
95862
|
editDisabledReason: P === "markdown" ? "Visual editing is not available for Markdown documents." : P === "latex" ? "Visual editing is not available for LaTeX documents." : "",
|
|
95836
95863
|
onChange: (e) => de(e)
|
|
95837
95864
|
});
|
|
95838
|
-
let Te = /* @__PURE__ */ t(
|
|
95865
|
+
let Te = /* @__PURE__ */ t(d8, {
|
|
95839
95866
|
isCollapsed: l,
|
|
95840
95867
|
onToggleCollapse: () => u((e) => !e),
|
|
95841
95868
|
onOpenAssetPicker: e.projectAssets === void 0 ? void 0 : () => g("isAssetPickerOpen")
|
|
95842
|
-
}), z = "pretext-plus-tab-editor", Ee = "pretext-plus-tab-preview", De = "pretext-plus-tabpanel", Oe
|
|
95843
|
-
|
|
95844
|
-
children: l ? /* @__PURE__ */ t("button", {
|
|
95845
|
-
type: "button",
|
|
95846
|
-
className: "pretext-plus-editor__toc-drawer-toggle",
|
|
95847
|
-
onClick: () => u(!1),
|
|
95848
|
-
children: "☰ Contents"
|
|
95849
|
-
}) : /* @__PURE__ */ t("div", {
|
|
95850
|
-
className: "pretext-plus-editor__toc-drawer-open",
|
|
95851
|
-
children: Te
|
|
95852
|
-
})
|
|
95853
|
-
}) : null, B;
|
|
95854
|
-
return B = a ? /* @__PURE__ */ n("div", {
|
|
95869
|
+
}), z = "pretext-plus-tab-editor", Ee = "pretext-plus-tab-preview", De = "pretext-plus-tabpanel", Oe;
|
|
95870
|
+
return Oe = a ? /* @__PURE__ */ n("div", {
|
|
95855
95871
|
className: "pretext-plus-editor__tabs",
|
|
95856
|
-
children: [
|
|
95857
|
-
|
|
95858
|
-
/* @__PURE__ */ n("div", {
|
|
95872
|
+
children: [Te, /* @__PURE__ */ n("div", {
|
|
95873
|
+
className: "pretext-plus-editor__tabs-main",
|
|
95874
|
+
children: [/* @__PURE__ */ n("div", {
|
|
95859
95875
|
className: "pretext-plus-editor__tab-list",
|
|
95860
95876
|
role: "tablist",
|
|
95861
95877
|
children: [/* @__PURE__ */ t("button", {
|
|
@@ -95879,8 +95895,7 @@ var u8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
|
|
|
95879
95895
|
onClick: () => c("preview"),
|
|
95880
95896
|
children: "Preview"
|
|
95881
95897
|
})]
|
|
95882
|
-
}),
|
|
95883
|
-
/* @__PURE__ */ t("div", {
|
|
95898
|
+
}), /* @__PURE__ */ t("div", {
|
|
95884
95899
|
id: De,
|
|
95885
95900
|
className: "pretext-plus-editor__tab-panel",
|
|
95886
95901
|
role: "tabpanel",
|
|
@@ -95889,8 +95904,8 @@ var u8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
|
|
|
95889
95904
|
style: { height: "100%" },
|
|
95890
95905
|
children: s === "editor" ? Ce : we
|
|
95891
95906
|
})
|
|
95892
|
-
})
|
|
95893
|
-
]
|
|
95907
|
+
})]
|
|
95908
|
+
})]
|
|
95894
95909
|
}) : /* @__PURE__ */ n("div", {
|
|
95895
95910
|
className: "pretext-plus-editor__sectioned-layout",
|
|
95896
95911
|
children: [Te, /* @__PURE__ */ n(Rt, {
|
|
@@ -95923,9 +95938,9 @@ var u8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
|
|
|
95923
95938
|
}), /* @__PURE__ */ n("div", {
|
|
95924
95939
|
className: "pretext-plus-editor__editor-displays",
|
|
95925
95940
|
children: [
|
|
95926
|
-
/* @__PURE__ */ t(
|
|
95941
|
+
/* @__PURE__ */ t(f8, {
|
|
95927
95942
|
resetKeys: [oe, C],
|
|
95928
|
-
children:
|
|
95943
|
+
children: Oe
|
|
95929
95944
|
}),
|
|
95930
95945
|
d ? /* @__PURE__ */ t(S3, { onClose: () => b("isLatexDialogOpen") }) : null,
|
|
95931
95946
|
f && ae && I ? /* @__PURE__ */ t(E3, {
|
|
@@ -95973,6 +95988,6 @@ var u8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
|
|
|
95973
95988
|
});
|
|
95974
95989
|
};
|
|
95975
95990
|
//#endregion
|
|
95976
|
-
export { nc as CodeEditor, R3 as DocinfoEditor,
|
|
95991
|
+
export { nc as CodeEditor, R3 as DocinfoEditor, g8 as Editors, m3 as FeedbackLink, xR as FullPreview, vR as VisualEditor, s8 as assembleFullProjectSource, a8 as assembleProjectSource, Q6 as buildDivisionTree, l3 as convertLatexToPretext, S6 as createConclusion, x6 as createIntroduction, N6 as createLatexConclusion, M6 as createLatexIntroduction, j6 as createNewLatexSection, b6 as createNewSection, f3 as derivePretextContent, c3 as detectSourceFormat, O6 as ensureLatexSectionWrapper, T6 as ensureSectionWrapper, I6 as extractDivisionMetadata, A6 as extractLatexDivisionTitle, q6 as findDivisionParent, $6 as getOrphanRoots, Z6 as getOrphanedDivisions, F6 as getSectionAttributes, U6 as insertDivisionRef, P6 as mergeTwoSections, G6 as moveDivisionRef, Y6 as normalizeSelfClosingRefs, B6 as parseDivisionRefs, bR as postToIframe, W6 as removeDivisionRef, K6 as renameDivisionRef, J6 as reorderDivisionRefs, D6 as rewrapLatexSection, w6 as rewrapSection, E6 as stripLatexSectionWrapper, C6 as stripSectionWrapper, y6 as updateDivisionTitle, k6 as updateLatexSectionTitle, L6 as updateSectionMetadata, l8 as wrapDivisionForPreview };
|
|
95977
95992
|
|
|
95978
95993
|
//# sourceMappingURL=index.es.js.map
|