@fileverse-dev/ddoc 3.0.42 → 3.0.43

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,4 +1,4 @@
1
- import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-Dvlaiziw.mjs";
1
+ import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-DocacLHn.mjs";
2
2
  class S extends p {
3
3
  constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
4
4
  var o;
@@ -93963,7 +93963,7 @@ async function TF(e, t) {
93963
93963
  });
93964
93964
  return oe === "0x" ? { data: void 0 } : { data: oe };
93965
93965
  } catch (O) {
93966
- const I = IKt(O), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-BhWtVSCc.mjs");
93966
+ const I = IKt(O), { offchainLookup: H, offchainLookupSignature: $ } = await import("./ccip-DqAeq8Jc.mjs");
93967
93967
  if (e.ccipRead !== !1 && (I == null ? void 0 : I.slice(0, 10)) === $ && x)
93968
93968
  return { data: await H(e, { data: I, to: x }) };
93969
93969
  throw _ && (I == null ? void 0 : I.slice(0, 10)) === "0x101bb98d" ? new pZt({ factory: f }) : Sge(O, {
@@ -106239,7 +106239,9 @@ Pn.addRule("taskListItem", {
106239
106239
  }
106240
106240
  });
106241
106241
  Pn.addRule("pageBreak", {
106242
- filter: "br",
106242
+ filter: function(e) {
106243
+ return e.nodeName === "BR" && e.getAttribute("data-page-break") === "true";
106244
+ },
106243
106245
  replacement: function() {
106244
106246
  return `
106245
106247
 
@@ -106299,8 +106301,7 @@ Pn.addRule("inlineCode", {
106299
106301
  Pn.addRule("listItem", {
106300
106302
  filter: "li",
106301
106303
  replacement: function(e, t, n) {
106302
- e = e.replace(/^\n+/, "").replace(/\n+$/, "").replace(/\n\s*\n/g, `
106303
- `).replace(/\n/gm, `
106304
+ e = e.replace(/^\n+/, "").replace(/\n+$/, "").replace(/^\s*(===)\s*$/gm, "").replace(/\n/gm, `
106304
106305
  `);
106305
106306
  let r = n.bulletListMarker + " ";
106306
106307
  const o = t.parentNode;
@@ -262642,7 +262643,9 @@ new To({
262642
262643
  typographer: !0
262643
262644
  }).enable("table");
262644
262645
  Pn.addRule("pageBreak", {
262645
- filter: "br",
262646
+ filter: function(e) {
262647
+ return e.nodeName === "BR" && e.getAttribute("data-page-break") === "true";
262648
+ },
262646
262649
  replacement: function() {
262647
262650
  return `
262648
262651
 
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-Dvlaiziw.mjs";
1
+ import { D as d, E as r, P as s, R as a, h as t, u as i } from "./index-DocacLHn.mjs";
2
2
  export {
3
3
  d as DdocEditor,
4
4
  r as Editor,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "3.0.42",
5
+ "version": "3.0.43",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {