@fileverse-dev/ddoc 3.0.73-blog-md-patch-1 → 3.0.73-rtc-1
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.es.js
CHANGED
|
@@ -91,8 +91,8 @@ function JJ() {
|
|
|
91
91
|
}
|
|
92
92
|
function x(Fe, Ie, rt) {
|
|
93
93
|
{
|
|
94
|
-
var dt = b.ReactDebugCurrentFrame,
|
|
95
|
-
|
|
94
|
+
var dt = b.ReactDebugCurrentFrame, Qt = dt.getStackAddendum();
|
|
95
|
+
Qt !== "" && (Ie += "%s", rt = rt.concat([Qt]));
|
|
96
96
|
var tn = rt.map(function(Rt) {
|
|
97
97
|
return String(Rt);
|
|
98
98
|
});
|
|
@@ -112,8 +112,8 @@ function JJ() {
|
|
|
112
112
|
var dt = Fe.displayName;
|
|
113
113
|
if (dt)
|
|
114
114
|
return dt;
|
|
115
|
-
var
|
|
116
|
-
return
|
|
115
|
+
var Qt = Ie.displayName || Ie.name || "";
|
|
116
|
+
return Qt !== "" ? rt + "(" + Qt + ")" : rt;
|
|
117
117
|
}
|
|
118
118
|
function _(Fe) {
|
|
119
119
|
return Fe.displayName || "Context";
|
|
@@ -153,7 +153,7 @@ function JJ() {
|
|
|
153
153
|
var dt = Fe.displayName || null;
|
|
154
154
|
return dt !== null ? dt : O(Fe.type) || "Memo";
|
|
155
155
|
case p: {
|
|
156
|
-
var
|
|
156
|
+
var Qt = Fe, tn = Qt._payload, Rt = Qt._init;
|
|
157
157
|
try {
|
|
158
158
|
return O(Rt(tn));
|
|
159
159
|
} catch {
|
|
@@ -231,8 +231,8 @@ function JJ() {
|
|
|
231
231
|
if (re === void 0)
|
|
232
232
|
try {
|
|
233
233
|
throw Error();
|
|
234
|
-
} catch (
|
|
235
|
-
var dt =
|
|
234
|
+
} catch (Qt) {
|
|
235
|
+
var dt = Qt.stack.trim().match(/\n( *(at )?)/);
|
|
236
236
|
re = dt && dt[1] || "";
|
|
237
237
|
}
|
|
238
238
|
return `
|
|
@@ -254,7 +254,7 @@ function JJ() {
|
|
|
254
254
|
}
|
|
255
255
|
var dt;
|
|
256
256
|
ae = !0;
|
|
257
|
-
var
|
|
257
|
+
var Qt = Error.prepareStackTrace;
|
|
258
258
|
Error.prepareStackTrace = void 0;
|
|
259
259
|
var tn;
|
|
260
260
|
tn = K.current, K.current = null, oe();
|
|
@@ -270,29 +270,29 @@ function JJ() {
|
|
|
270
270
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
271
271
|
try {
|
|
272
272
|
Reflect.construct(Rt, []);
|
|
273
|
-
} catch (
|
|
274
|
-
dt =
|
|
273
|
+
} catch (Zt) {
|
|
274
|
+
dt = Zt;
|
|
275
275
|
}
|
|
276
276
|
Reflect.construct(Fe, [], Rt);
|
|
277
277
|
} else {
|
|
278
278
|
try {
|
|
279
279
|
Rt.call();
|
|
280
|
-
} catch (
|
|
281
|
-
dt =
|
|
280
|
+
} catch (Zt) {
|
|
281
|
+
dt = Zt;
|
|
282
282
|
}
|
|
283
283
|
Fe.call(Rt.prototype);
|
|
284
284
|
}
|
|
285
285
|
} else {
|
|
286
286
|
try {
|
|
287
287
|
throw Error();
|
|
288
|
-
} catch (
|
|
289
|
-
dt =
|
|
288
|
+
} catch (Zt) {
|
|
289
|
+
dt = Zt;
|
|
290
290
|
}
|
|
291
291
|
Fe();
|
|
292
292
|
}
|
|
293
|
-
} catch (
|
|
294
|
-
if (
|
|
295
|
-
for (var Ot =
|
|
293
|
+
} catch (Zt) {
|
|
294
|
+
if (Zt && dt && typeof Zt.stack == "string") {
|
|
295
|
+
for (var Ot = Zt.stack.split(`
|
|
296
296
|
`), br = dt.stack.split(`
|
|
297
297
|
`), Qe = Ot.length - 1, fe = br.length - 1; Qe >= 1 && fe >= 0 && Ot[Qe] !== br[fe]; )
|
|
298
298
|
fe--;
|
|
@@ -310,7 +310,7 @@ function JJ() {
|
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
} finally {
|
|
313
|
-
ae = !1, K.current = tn, ne(), Error.prepareStackTrace =
|
|
313
|
+
ae = !1, K.current = tn, ne(), Error.prepareStackTrace = Qt;
|
|
314
314
|
}
|
|
315
315
|
var ot = Fe ? Fe.displayName || Fe.name : "", $t = ot ? J(ot) : "";
|
|
316
316
|
return typeof Fe == "function" && B.set(Fe, $t), $t;
|
|
@@ -342,9 +342,9 @@ function JJ() {
|
|
|
342
342
|
case d:
|
|
343
343
|
return ee(Fe.type, Ie, rt);
|
|
344
344
|
case p: {
|
|
345
|
-
var dt = Fe,
|
|
345
|
+
var dt = Fe, Qt = dt._payload, tn = dt._init;
|
|
346
346
|
try {
|
|
347
|
-
return ee(tn(
|
|
347
|
+
return ee(tn(Qt), Ie, rt);
|
|
348
348
|
} catch {
|
|
349
349
|
}
|
|
350
350
|
}
|
|
@@ -359,7 +359,7 @@ function JJ() {
|
|
|
359
359
|
} else
|
|
360
360
|
V.setExtraStackFrame(null);
|
|
361
361
|
}
|
|
362
|
-
function he(Fe, Ie, rt, dt,
|
|
362
|
+
function he(Fe, Ie, rt, dt, Qt) {
|
|
363
363
|
{
|
|
364
364
|
var tn = Function.call.bind(le);
|
|
365
365
|
for (var Rt in Fe)
|
|
@@ -374,7 +374,7 @@ function JJ() {
|
|
|
374
374
|
} catch (Qe) {
|
|
375
375
|
Ot = Qe;
|
|
376
376
|
}
|
|
377
|
-
Ot && !(Ot instanceof Error) && (ie(
|
|
377
|
+
Ot && !(Ot instanceof Error) && (ie(Qt), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", dt || "React class", rt, Rt, typeof Ot), ie(null)), Ot instanceof Error && !(Ot.message in G) && (G[Ot.message] = !0, ie(Qt), y("Failed %s type: %s", rt, Ot.message), ie(null));
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
}
|
|
@@ -449,7 +449,7 @@ function JJ() {
|
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
var Me = function(Fe, Ie, rt, dt,
|
|
452
|
+
var Me = function(Fe, Ie, rt, dt, Qt, tn, Rt) {
|
|
453
453
|
var Ot = {
|
|
454
454
|
// This tag allows us to uniquely identify this as a React Element
|
|
455
455
|
$$typeof: t,
|
|
@@ -475,13 +475,13 @@ function JJ() {
|
|
|
475
475
|
configurable: !1,
|
|
476
476
|
enumerable: !1,
|
|
477
477
|
writable: !1,
|
|
478
|
-
value:
|
|
478
|
+
value: Qt
|
|
479
479
|
}), Object.freeze && (Object.freeze(Ot.props), Object.freeze(Ot)), Ot;
|
|
480
480
|
};
|
|
481
|
-
function Se(Fe, Ie, rt, dt,
|
|
481
|
+
function Se(Fe, Ie, rt, dt, Qt) {
|
|
482
482
|
{
|
|
483
483
|
var tn, Rt = {}, Ot = null, br = null;
|
|
484
|
-
rt !== void 0 && (R(rt), Ot = "" + rt), Ee(Ie) && (R(Ie.key), Ot = "" + Ie.key), ve(Ie) && (br = Ie.ref, Ce(Ie,
|
|
484
|
+
rt !== void 0 && (R(rt), Ot = "" + rt), Ee(Ie) && (R(Ie.key), Ot = "" + Ie.key), ve(Ie) && (br = Ie.ref, Ce(Ie, Qt));
|
|
485
485
|
for (tn in Ie)
|
|
486
486
|
le.call(Ie, tn) && !te.hasOwnProperty(tn) && (Rt[tn] = Ie[tn]);
|
|
487
487
|
if (Fe && Fe.defaultProps) {
|
|
@@ -493,7 +493,7 @@ function JJ() {
|
|
|
493
493
|
var fe = typeof Fe == "function" ? Fe.displayName || Fe.name || "Unknown" : Fe;
|
|
494
494
|
Ot && me(Rt, fe), br && je(Rt, fe);
|
|
495
495
|
}
|
|
496
|
-
return Me(Fe, Ot, br,
|
|
496
|
+
return Me(Fe, Ot, br, Qt, dt, W.current, Rt);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
var Ne = b.ReactCurrentOwner, Je = b.ReactDebugCurrentFrame;
|
|
@@ -562,9 +562,9 @@ Check the top-level render call using <` + rt + ">.");
|
|
|
562
562
|
else if (Ae(Fe))
|
|
563
563
|
Fe._store && (Fe._store.validated = !0);
|
|
564
564
|
else if (Fe) {
|
|
565
|
-
var
|
|
566
|
-
if (typeof
|
|
567
|
-
for (var tn =
|
|
565
|
+
var Qt = m(Fe);
|
|
566
|
+
if (typeof Qt == "function" && Qt !== Fe.entries)
|
|
567
|
+
for (var tn = Qt.call(Fe), Rt; !(Rt = tn.next()).done; )
|
|
568
568
|
Ae(Rt.value) && ht(Rt.value, Ie);
|
|
569
569
|
}
|
|
570
570
|
}
|
|
@@ -588,8 +588,8 @@ Check the top-level render call using <` + rt + ">.");
|
|
|
588
588
|
he(rt, Fe.props, "prop", dt, Fe);
|
|
589
589
|
} else if (Ie.PropTypes !== void 0 && !wt) {
|
|
590
590
|
wt = !0;
|
|
591
|
-
var
|
|
592
|
-
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
591
|
+
var Qt = O(Ie);
|
|
592
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Qt || "Unknown");
|
|
593
593
|
}
|
|
594
594
|
typeof Ie.getDefaultProps == "function" && !Ie.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
595
595
|
}
|
|
@@ -607,7 +607,7 @@ Check the top-level render call using <` + rt + ">.");
|
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
var Xt = {};
|
|
610
|
-
function bn(Fe, Ie, rt, dt,
|
|
610
|
+
function bn(Fe, Ie, rt, dt, Qt, tn) {
|
|
611
611
|
{
|
|
612
612
|
var Rt = M(Fe);
|
|
613
613
|
if (!Rt) {
|
|
@@ -618,7 +618,7 @@ Check the top-level render call using <` + rt + ">.");
|
|
|
618
618
|
var Qe;
|
|
619
619
|
Fe === null ? Qe = "null" : be(Fe) ? Qe = "array" : Fe !== void 0 && Fe.$$typeof === t ? (Qe = "<" + (O(Fe.type) || "Unknown") + " />", Ot = " Did you accidentally export a JSX literal instead of a component?") : Qe = typeof Fe, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Qe, Ot);
|
|
620
620
|
}
|
|
621
|
-
var fe = Se(Fe, Ie, rt,
|
|
621
|
+
var fe = Se(Fe, Ie, rt, Qt, tn);
|
|
622
622
|
if (fe == null)
|
|
623
623
|
return fe;
|
|
624
624
|
if (Rt) {
|
|
@@ -635,11 +635,11 @@ Check the top-level render call using <` + rt + ">.");
|
|
|
635
635
|
_t(Le, Fe);
|
|
636
636
|
}
|
|
637
637
|
if (le.call(Ie, "key")) {
|
|
638
|
-
var $t = O(Fe),
|
|
638
|
+
var $t = O(Fe), Zt = Object.keys(Ie).filter(function(ui) {
|
|
639
639
|
return ui !== "key";
|
|
640
|
-
}), Sn =
|
|
640
|
+
}), Sn = Zt.length > 0 ? "{key: someKey, " + Zt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
641
641
|
if (!Xt[$t + Sn]) {
|
|
642
|
-
var er =
|
|
642
|
+
var er = Zt.length > 0 ? "{" + Zt.join(": ..., ") + ": ...}" : "{}";
|
|
643
643
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
644
644
|
let props = %s;
|
|
645
645
|
<%s {...props} />
|
|
@@ -31914,8 +31914,8 @@ function IP() {
|
|
|
31914
31914
|
} catch {
|
|
31915
31915
|
}
|
|
31916
31916
|
}
|
|
31917
|
-
const
|
|
31918
|
-
return fe && ot &&
|
|
31917
|
+
const Zt = Le.body || Le.documentElement;
|
|
31918
|
+
return fe && ot && Zt.insertBefore(n.createTextNode(ot), Zt.childNodes[0] || null), Me === je ? A.call(Le, ee ? "html" : "body")[0] : ee ? Le.documentElement : Zt;
|
|
31919
31919
|
}, Fe = function(fe) {
|
|
31920
31920
|
return D.call(
|
|
31921
31921
|
fe.ownerDocument || fe,
|
|
@@ -31934,7 +31934,7 @@ function IP() {
|
|
|
31934
31934
|
ot.call(t, fe, Le, ht);
|
|
31935
31935
|
});
|
|
31936
31936
|
}
|
|
31937
|
-
const
|
|
31937
|
+
const Qt = function(fe) {
|
|
31938
31938
|
let Le = null;
|
|
31939
31939
|
if (dt(j.beforeSanitizeElements, fe, null), Ie(fe))
|
|
31940
31940
|
return cn(fe), !0;
|
|
@@ -31948,11 +31948,11 @@ function IP() {
|
|
|
31948
31948
|
if (!K[ot] && Rt(ot) && (ne.tagNameCheck instanceof RegExp && mo(ne.tagNameCheck, ot) || ne.tagNameCheck instanceof Function && ne.tagNameCheck(ot)))
|
|
31949
31949
|
return !1;
|
|
31950
31950
|
if (ue && !W[ot]) {
|
|
31951
|
-
const $t = x(fe) || fe.parentNode,
|
|
31952
|
-
if (
|
|
31953
|
-
const Sn =
|
|
31951
|
+
const $t = x(fe) || fe.parentNode, Zt = y(fe) || fe.childNodes;
|
|
31952
|
+
if (Zt && $t) {
|
|
31953
|
+
const Sn = Zt.length;
|
|
31954
31954
|
for (let er = Sn - 1; er >= 0; --er) {
|
|
31955
|
-
const ui = g(
|
|
31955
|
+
const ui = g(Zt[er], !0);
|
|
31956
31956
|
ui.__removalCount = (fe.__removalCount || 0) + 1, $t.insertBefore(ui, b(fe));
|
|
31957
31957
|
}
|
|
31958
31958
|
}
|
|
@@ -32011,11 +32011,11 @@ function IP() {
|
|
|
32011
32011
|
};
|
|
32012
32012
|
let $t = Le.length;
|
|
32013
32013
|
for (; $t--; ) {
|
|
32014
|
-
const
|
|
32014
|
+
const Zt = Le[$t], {
|
|
32015
32015
|
name: Sn,
|
|
32016
32016
|
namespaceURI: er,
|
|
32017
32017
|
value: ui
|
|
32018
|
-
} =
|
|
32018
|
+
} = Zt, Ll = Ke(Sn), $h = ui;
|
|
32019
32019
|
let yr = Sn === "value" ? $h : fhe($h);
|
|
32020
32020
|
if (ot.attrName = Ll, ot.attrValue = yr, ot.keepAttr = !0, ot.forceKeepAttr = void 0, dt(j.uponSanitizeAttribute, fe, ot), yr = ot.attrValue, be && (Ll === "id" || Ll === "name") && (wn(Sn, fe), yr = de + yr), N && mo(/((--!?|])>)|<\/(style|title|textarea)/i, yr)) {
|
|
32021
32021
|
wn(Sn, fe);
|
|
@@ -32066,11 +32066,11 @@ function IP() {
|
|
|
32066
32066
|
let Le = null;
|
|
32067
32067
|
const ot = Fe(fe);
|
|
32068
32068
|
for (dt(j.beforeSanitizeShadowDOM, fe, null); Le = ot.nextNode(); )
|
|
32069
|
-
dt(j.uponSanitizeShadowNode, Le, null),
|
|
32069
|
+
dt(j.uponSanitizeShadowNode, Le, null), Qt(Le), Ot(Le), Le.content instanceof i && Qe(Le.content);
|
|
32070
32070
|
dt(j.afterSanitizeShadowDOM, fe, null);
|
|
32071
32071
|
};
|
|
32072
32072
|
return t.sanitize = function(Qe) {
|
|
32073
|
-
let fe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Le = null, ot = null, $t = null,
|
|
32073
|
+
let fe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Le = null, ot = null, $t = null, Zt = null;
|
|
32074
32074
|
if (Se = !Qe, Se && (Qe = "<!-->"), typeof Qe != "string" && !rt(Qe))
|
|
32075
32075
|
if (typeof Qe.toString == "function") {
|
|
32076
32076
|
if (Qe = Qe.toString(), typeof Qe != "string")
|
|
@@ -32097,16 +32097,16 @@ function IP() {
|
|
|
32097
32097
|
Le && G && cn(Le.firstChild);
|
|
32098
32098
|
const Sn = Fe(ge ? Qe : Le);
|
|
32099
32099
|
for (; $t = Sn.nextNode(); )
|
|
32100
|
-
|
|
32100
|
+
Qt($t), Ot($t), $t.content instanceof i && br($t.content);
|
|
32101
32101
|
if (ge)
|
|
32102
32102
|
return Qe;
|
|
32103
32103
|
if (V) {
|
|
32104
32104
|
if (ie)
|
|
32105
|
-
for (
|
|
32106
|
-
|
|
32105
|
+
for (Zt = C.call(Le.ownerDocument); Le.firstChild; )
|
|
32106
|
+
Zt.appendChild(Le.firstChild);
|
|
32107
32107
|
else
|
|
32108
|
-
|
|
32109
|
-
return (X.shadowroot || X.shadowrootmode) && (
|
|
32108
|
+
Zt = Le;
|
|
32109
|
+
return (X.shadowroot || X.shadowrootmode) && (Zt = M.call(r, Zt, !0)), Zt;
|
|
32110
32110
|
}
|
|
32111
32111
|
let er = ee ? Le.outerHTML : Le.innerHTML;
|
|
32112
32112
|
return ee && P["!doctype"] && Le.ownerDocument && Le.ownerDocument.doctype && Le.ownerDocument.doctype.name && mo(RP, Le.ownerDocument.doctype.name) && (er = "<!DOCTYPE " + Le.ownerDocument.doctype.name + `>
|
|
@@ -35351,27 +35351,22 @@ const o1e = (e, t, n) => yt.create({
|
|
|
35351
35351
|
u.toJSON()
|
|
35352
35352
|
), d = c.getHTML(), p = dn.turndown(d), h = {
|
|
35353
35353
|
title: (r == null ? void 0 : r.title) || "Untitled",
|
|
35354
|
-
date: (/* @__PURE__ */ new Date()).toISOString().split("T")[0]
|
|
35354
|
+
date: (/* @__PURE__ */ new Date()).toISOString().split("T")[0]
|
|
35355
35355
|
// YYYY-MM-DD
|
|
35356
|
-
|
|
35357
|
-
};
|
|
35358
|
-
let f;
|
|
35359
|
-
if ((r == null ? void 0 : r.metadataFormat) === "reference-links" ? f = Object.entries(h).map(([y, x]) => `[${y}]: <> (${x})`).join(`
|
|
35360
|
-
`) + `
|
|
35361
|
-
|
|
35362
|
-
` + p : f = `---
|
|
35356
|
+
}, g = `---
|
|
35363
35357
|
` + Object.entries(h).map(([y, x]) => Array.isArray(x) ? `${y}:
|
|
35364
35358
|
${x.map((v) => ` - ${v}`).join(`
|
|
35365
35359
|
`)}` : `${y}: ${x}`).join(`
|
|
35366
35360
|
`) + `
|
|
35367
35361
|
---
|
|
35368
35362
|
|
|
35369
|
-
` + p
|
|
35370
|
-
|
|
35371
|
-
|
|
35363
|
+
` + p;
|
|
35364
|
+
if (r != null && r.returnMDFile)
|
|
35365
|
+
return c.destroy(), s(a), g;
|
|
35366
|
+
const m = new Blob([g], {
|
|
35372
35367
|
type: "text/markdown;charset=utf-8"
|
|
35373
|
-
}),
|
|
35374
|
-
return c.destroy(), s(a),
|
|
35368
|
+
}), b = URL.createObjectURL(m);
|
|
35369
|
+
return c.destroy(), s(a), b;
|
|
35375
35370
|
}
|
|
35376
35371
|
};
|
|
35377
35372
|
},
|
|
@@ -66718,7 +66713,7 @@ function Z7e() {
|
|
|
66718
66713
|
promise: n
|
|
66719
66714
|
};
|
|
66720
66715
|
}
|
|
66721
|
-
var
|
|
66716
|
+
var Jt = {}, J7e = ar, Xr = Jt.types = {
|
|
66722
66717
|
document: "document",
|
|
66723
66718
|
paragraph: "paragraph",
|
|
66724
66719
|
run: "run",
|
|
@@ -66916,27 +66911,27 @@ function fCe(e) {
|
|
|
66916
66911
|
name: e.name
|
|
66917
66912
|
};
|
|
66918
66913
|
}
|
|
66919
|
-
|
|
66920
|
-
|
|
66921
|
-
|
|
66922
|
-
|
|
66923
|
-
|
|
66924
|
-
|
|
66925
|
-
|
|
66926
|
-
|
|
66927
|
-
|
|
66928
|
-
|
|
66929
|
-
|
|
66930
|
-
|
|
66931
|
-
|
|
66932
|
-
|
|
66933
|
-
|
|
66934
|
-
|
|
66935
|
-
|
|
66936
|
-
|
|
66937
|
-
|
|
66938
|
-
|
|
66939
|
-
|
|
66914
|
+
Jt.document = Jt.Document = Q7e;
|
|
66915
|
+
Jt.paragraph = Jt.Paragraph = eCe;
|
|
66916
|
+
Jt.run = Jt.Run = tCe;
|
|
66917
|
+
Jt.text = Jt.Text = nCe;
|
|
66918
|
+
Jt.tab = Jt.Tab = rCe;
|
|
66919
|
+
Jt.checkbox = Jt.Checkbox = oCe;
|
|
66920
|
+
Jt.Hyperlink = iCe;
|
|
66921
|
+
Jt.noteReference = Jt.NoteReference = sCe;
|
|
66922
|
+
Jt.Notes = Kx;
|
|
66923
|
+
Jt.Note = aCe;
|
|
66924
|
+
Jt.commentReference = lCe;
|
|
66925
|
+
Jt.comment = uCe;
|
|
66926
|
+
Jt.Image = cCe;
|
|
66927
|
+
Jt.Table = dCe;
|
|
66928
|
+
Jt.TableRow = pCe;
|
|
66929
|
+
Jt.TableCell = hCe;
|
|
66930
|
+
Jt.lineBreak = uE("line");
|
|
66931
|
+
Jt.pageBreak = uE("page");
|
|
66932
|
+
Jt.columnBreak = uE("column");
|
|
66933
|
+
Jt.BookmarkStart = fCe;
|
|
66934
|
+
Jt.verticalAlignment = HV;
|
|
66940
66935
|
var Ai = {}, h1 = ar;
|
|
66941
66936
|
Ai.Result = ba;
|
|
66942
66937
|
Ai.success = gCe;
|
|
@@ -75674,7 +75669,7 @@ function S_e(e, t) {
|
|
|
75674
75669
|
}
|
|
75675
75670
|
EE.createBodyReader = j_e;
|
|
75676
75671
|
EE._readNumberingProperties = LG;
|
|
75677
|
-
var gN = _u, Ii = ar, Mn =
|
|
75672
|
+
var gN = _u, Ii = ar, Mn = Jt, IG = Ai.Result, Ra = Ai.warning, T_e = Ml, mN = rc, bN = SE;
|
|
75678
75673
|
function j_e(e) {
|
|
75679
75674
|
return {
|
|
75680
75675
|
readXmlElement: function(t) {
|
|
@@ -76191,7 +76186,7 @@ function M_e(e) {
|
|
|
76191
76186
|
}
|
|
76192
76187
|
var UG = {};
|
|
76193
76188
|
UG.DocumentXmlReader = I_e;
|
|
76194
|
-
var O_e =
|
|
76189
|
+
var O_e = Jt, R_e = Ai.Result;
|
|
76195
76190
|
function I_e(e) {
|
|
76196
76191
|
var t = e.bodyReader;
|
|
76197
76192
|
function n(r) {
|
|
@@ -76401,7 +76396,7 @@ function K_e(e, t) {
|
|
|
76401
76396
|
function zG(e) {
|
|
76402
76397
|
return e.attributes["w:styleId"];
|
|
76403
76398
|
}
|
|
76404
|
-
var NE = {}, Y_e =
|
|
76399
|
+
var NE = {}, Y_e = Jt, X_e = Ai.Result;
|
|
76405
76400
|
NE.createFootnotesReader = $G.bind(Nt, "footnote");
|
|
76406
76401
|
NE.createEndnotesReader = $G.bind(Nt, "endnote");
|
|
76407
76402
|
function $G(e, t) {
|
|
@@ -76420,7 +76415,7 @@ function $G(e, t) {
|
|
|
76420
76415
|
}
|
|
76421
76416
|
return n;
|
|
76422
76417
|
}
|
|
76423
|
-
var HG = {}, Z_e =
|
|
76418
|
+
var HG = {}, Z_e = Jt, J_e = Ai.Result;
|
|
76424
76419
|
function Q_e(e) {
|
|
76425
76420
|
function t(r) {
|
|
76426
76421
|
return J_e.combine(r.getElementsByTagName("w:comment").map(n));
|
|
@@ -76455,7 +76450,7 @@ cannot open linked files from a web browser`));
|
|
|
76455
76450
|
}
|
|
76456
76451
|
lE.read = lAe;
|
|
76457
76452
|
lE._findPartPaths = VG;
|
|
76458
|
-
var nAe = Ur, rAe =
|
|
76453
|
+
var nAe = Ur, rAe = Jt, qF = Ai.Result, ay = ug, qG = dE.readXmlFromZipFile, oAe = EE.createBodyReader, iAe = UG.DocumentXmlReader, sh = f3, vN = jE, FN = g3, wN = m3, DN = NE, sAe = HG, aAe = WG.Files;
|
|
76459
76454
|
function lAe(e, t, n) {
|
|
76460
76455
|
t = t || {}, n = n || {};
|
|
76461
76456
|
var r = new aAe({
|
|
@@ -77064,7 +77059,7 @@ ZG.writer = MAe;
|
|
|
77064
77059
|
function MAe(e) {
|
|
77065
77060
|
return e = e || {}, e.outputFormat === "markdown" ? NAe.writer() : BAe.writer(e);
|
|
77066
77061
|
}
|
|
77067
|
-
var tu = ar, jN = Ur, d2 =
|
|
77062
|
+
var tu = ar, jN = Ur, d2 = Jt, ji = y3(), eD = Ai, OAe = RE, en = b3(), RAe = ZG;
|
|
77068
77063
|
OE.DocumentConverter = IAe;
|
|
77069
77064
|
function IAe(e) {
|
|
77070
77065
|
return {
|
|
@@ -77359,7 +77354,7 @@ function oK(e, t) {
|
|
|
77359
77354
|
}
|
|
77360
77355
|
var zAe = OE.commentAuthorLabel = function(t) {
|
|
77361
77356
|
return t.authorInitials || "";
|
|
77362
|
-
}, iK = {}, $Ae =
|
|
77357
|
+
}, iK = {}, $Ae = Jt;
|
|
77363
77358
|
function sK(e) {
|
|
77364
77359
|
if (e.type === "text")
|
|
77365
77360
|
return e.value;
|
|
@@ -183780,7 +183775,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183780
183775
|
if (!Dt) return {};
|
|
183781
183776
|
const St = {}, sn = nHe[At];
|
|
183782
183777
|
return typeof Dt.width == "number" ? (St.width = `${Dt.width}px`, St.maxWidth = `${Dt.width}px`) : (St.width = sn.zoomFitWidth, St.maxWidth = `${sn.zoomFitMaxWidth}px`), Dt.minHeight && (St.minHeight = Dt.minHeight), St;
|
|
183783
|
-
}, wn = Ve(null), $n = Rn("(min-width: 1500px)"), Fe = Rn("(min-width: 3000px)"), Ie = Rn("(min-width: 1600px)"), rt = Rn("(min-width: 1360px)"), { isNativeMobile: dt, isIOS:
|
|
183778
|
+
}, wn = Ve(null), $n = Rn("(min-width: 1500px)"), Fe = Rn("(min-width: 3000px)"), Ie = Rn("(min-width: 1600px)"), rt = Rn("(min-width: 1360px)"), { isNativeMobile: dt, isIOS: Qt } = _l(), [tn, Rt] = Be(!1), Ot = Ve(null), br = (v == null ? void 0 : v.slice(0, 4)) || [], Qe = v ? Math.max(0, v.length - 4) : 0;
|
|
183784
183779
|
O1(Ot, () => {
|
|
183785
183780
|
Rt(!1);
|
|
183786
183781
|
}), Re(() => {
|
|
@@ -183791,7 +183786,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183791
183786
|
ref: Le,
|
|
183792
183787
|
isContentLoading: ot,
|
|
183793
183788
|
ydoc: $t,
|
|
183794
|
-
awareness:
|
|
183789
|
+
awareness: Zt,
|
|
183795
183790
|
refreshYjsIndexedDbProvider: Sn,
|
|
183796
183791
|
activeCommentId: er,
|
|
183797
183792
|
setActiveCommentId: ui,
|
|
@@ -183897,16 +183892,16 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183897
183892
|
});
|
|
183898
183893
|
},
|
|
183899
183894
|
updateCollaboratorName: (At) => {
|
|
183900
|
-
if (!fe || !
|
|
183895
|
+
if (!fe || !Zt) {
|
|
183901
183896
|
console.debug("collab: cannot find editor or awareness");
|
|
183902
183897
|
return;
|
|
183903
183898
|
}
|
|
183904
|
-
const Dt =
|
|
183899
|
+
const Dt = Zt.getLocalState(), St = Dt == null ? void 0 : Dt.user, sn = {
|
|
183905
183900
|
name: At,
|
|
183906
183901
|
color: St == null ? void 0 : St.color,
|
|
183907
183902
|
isEns: St == null ? void 0 : St.isEns
|
|
183908
183903
|
};
|
|
183909
|
-
|
|
183904
|
+
Zt.setLocalStateField("user", sn), fe.setEditable(!0);
|
|
183910
183905
|
},
|
|
183911
183906
|
exportCurrentTabOrOpenExportModal: (At = "pdf", Dt) => {
|
|
183912
183907
|
var St;
|
|
@@ -183915,7 +183910,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183915
183910
|
terminateSession: rJ
|
|
183916
183911
|
}),
|
|
183917
183912
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
183918
|
-
[fe]
|
|
183913
|
+
[fe, Zt]
|
|
183919
183914
|
);
|
|
183920
183915
|
const dJ = (At) => {
|
|
183921
183916
|
k == null || k((Dt) => {
|
|
@@ -184146,7 +184141,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184146
184141
|
ref: Le,
|
|
184147
184142
|
className: tt(
|
|
184148
184143
|
"w-full h-full pt-8 md:pt-0",
|
|
184149
|
-
{ "custom-ios-padding":
|
|
184144
|
+
{ "custom-ios-padding": Qt },
|
|
184150
184145
|
{
|
|
184151
184146
|
"color-bg-default": !(Ae != null && Ae.canvasBackground) && (_ === "1.4" || _ === "1.5")
|
|
184152
184147
|
}
|
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.73-
|
|
5
|
+
"version": "3.0.73-rtc-1",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
8
8
|
"exports": {
|
|
@@ -152,4 +152,4 @@
|
|
|
152
152
|
"typescript": "^5.2.2",
|
|
153
153
|
"vite": "^5.0.0"
|
|
154
154
|
}
|
|
155
|
-
}
|
|
155
|
+
}
|