@fileverse-dev/ddoc 3.0.73-rtc-1 → 3.0.74
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 +93 -90
- package/package.json +2 -2
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, Jt = dt.getStackAddendum();
|
|
95
|
+
Jt !== "" && (Ie += "%s", rt = rt.concat([Jt]));
|
|
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 Jt = Ie.displayName || Ie.name || "";
|
|
116
|
+
return Jt !== "" ? rt + "(" + Jt + ")" : 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 Jt = Fe, tn = Jt._payload, Rt = Jt._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 (Jt) {
|
|
235
|
+
var dt = Jt.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 Jt = 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 (Qt) {
|
|
274
|
+
dt = Qt;
|
|
275
275
|
}
|
|
276
276
|
Reflect.construct(Fe, [], Rt);
|
|
277
277
|
} else {
|
|
278
278
|
try {
|
|
279
279
|
Rt.call();
|
|
280
|
-
} catch (
|
|
281
|
-
dt =
|
|
280
|
+
} catch (Qt) {
|
|
281
|
+
dt = Qt;
|
|
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 (Qt) {
|
|
289
|
+
dt = Qt;
|
|
290
290
|
}
|
|
291
291
|
Fe();
|
|
292
292
|
}
|
|
293
|
-
} catch (
|
|
294
|
-
if (
|
|
295
|
-
for (var Ot =
|
|
293
|
+
} catch (Qt) {
|
|
294
|
+
if (Qt && dt && typeof Qt.stack == "string") {
|
|
295
|
+
for (var Ot = Qt.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 = Jt;
|
|
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, Jt = dt._payload, tn = dt._init;
|
|
346
346
|
try {
|
|
347
|
-
return ee(tn(
|
|
347
|
+
return ee(tn(Jt), 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, Jt) {
|
|
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(Jt), 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(Jt), 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, Jt, 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: Jt
|
|
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, Jt) {
|
|
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, Jt));
|
|
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, Jt, 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 Jt = m(Fe);
|
|
566
|
+
if (typeof Jt == "function" && Jt !== Fe.entries)
|
|
567
|
+
for (var tn = Jt.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 Jt = O(Ie);
|
|
592
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Jt || "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, Jt, 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, Jt, 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), Qt = Object.keys(Ie).filter(function(ui) {
|
|
639
639
|
return ui !== "key";
|
|
640
|
-
}), Sn =
|
|
640
|
+
}), Sn = Qt.length > 0 ? "{key: someKey, " + Qt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
641
641
|
if (!Xt[$t + Sn]) {
|
|
642
|
-
var er =
|
|
642
|
+
var er = Qt.length > 0 ? "{" + Qt.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 Qt = Le.body || Le.documentElement;
|
|
31918
|
+
return fe && ot && Qt.insertBefore(n.createTextNode(ot), Qt.childNodes[0] || null), Me === je ? A.call(Le, ee ? "html" : "body")[0] : ee ? Le.documentElement : Qt;
|
|
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 Jt = 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, Qt = y(fe) || fe.childNodes;
|
|
31952
|
+
if (Qt && $t) {
|
|
31953
|
+
const Sn = Qt.length;
|
|
31954
31954
|
for (let er = Sn - 1; er >= 0; --er) {
|
|
31955
|
-
const ui = g(
|
|
31955
|
+
const ui = g(Qt[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 Qt = Le[$t], {
|
|
32015
32015
|
name: Sn,
|
|
32016
32016
|
namespaceURI: er,
|
|
32017
32017
|
value: ui
|
|
32018
|
-
} =
|
|
32018
|
+
} = Qt, 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), Jt(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, Qt = 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
|
+
Jt($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 (Qt = C.call(Le.ownerDocument); Le.firstChild; )
|
|
32106
|
+
Qt.appendChild(Le.firstChild);
|
|
32107
32107
|
else
|
|
32108
|
-
|
|
32109
|
-
return (X.shadowroot || X.shadowrootmode) && (
|
|
32108
|
+
Qt = Le;
|
|
32109
|
+
return (X.shadowroot || X.shadowrootmode) && (Qt = M.call(r, Qt, !0)), Qt;
|
|
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 + `>
|
|
@@ -66713,7 +66713,7 @@ function Z7e() {
|
|
|
66713
66713
|
promise: n
|
|
66714
66714
|
};
|
|
66715
66715
|
}
|
|
66716
|
-
var
|
|
66716
|
+
var Zt = {}, J7e = ar, Xr = Zt.types = {
|
|
66717
66717
|
document: "document",
|
|
66718
66718
|
paragraph: "paragraph",
|
|
66719
66719
|
run: "run",
|
|
@@ -66911,27 +66911,27 @@ function fCe(e) {
|
|
|
66911
66911
|
name: e.name
|
|
66912
66912
|
};
|
|
66913
66913
|
}
|
|
66914
|
-
|
|
66915
|
-
|
|
66916
|
-
|
|
66917
|
-
|
|
66918
|
-
|
|
66919
|
-
|
|
66920
|
-
|
|
66921
|
-
|
|
66922
|
-
|
|
66923
|
-
|
|
66924
|
-
|
|
66925
|
-
|
|
66926
|
-
|
|
66927
|
-
|
|
66928
|
-
|
|
66929
|
-
|
|
66930
|
-
|
|
66931
|
-
|
|
66932
|
-
|
|
66933
|
-
|
|
66934
|
-
|
|
66914
|
+
Zt.document = Zt.Document = Q7e;
|
|
66915
|
+
Zt.paragraph = Zt.Paragraph = eCe;
|
|
66916
|
+
Zt.run = Zt.Run = tCe;
|
|
66917
|
+
Zt.text = Zt.Text = nCe;
|
|
66918
|
+
Zt.tab = Zt.Tab = rCe;
|
|
66919
|
+
Zt.checkbox = Zt.Checkbox = oCe;
|
|
66920
|
+
Zt.Hyperlink = iCe;
|
|
66921
|
+
Zt.noteReference = Zt.NoteReference = sCe;
|
|
66922
|
+
Zt.Notes = Kx;
|
|
66923
|
+
Zt.Note = aCe;
|
|
66924
|
+
Zt.commentReference = lCe;
|
|
66925
|
+
Zt.comment = uCe;
|
|
66926
|
+
Zt.Image = cCe;
|
|
66927
|
+
Zt.Table = dCe;
|
|
66928
|
+
Zt.TableRow = pCe;
|
|
66929
|
+
Zt.TableCell = hCe;
|
|
66930
|
+
Zt.lineBreak = uE("line");
|
|
66931
|
+
Zt.pageBreak = uE("page");
|
|
66932
|
+
Zt.columnBreak = uE("column");
|
|
66933
|
+
Zt.BookmarkStart = fCe;
|
|
66934
|
+
Zt.verticalAlignment = HV;
|
|
66935
66935
|
var Ai = {}, h1 = ar;
|
|
66936
66936
|
Ai.Result = ba;
|
|
66937
66937
|
Ai.success = gCe;
|
|
@@ -75669,7 +75669,7 @@ function S_e(e, t) {
|
|
|
75669
75669
|
}
|
|
75670
75670
|
EE.createBodyReader = j_e;
|
|
75671
75671
|
EE._readNumberingProperties = LG;
|
|
75672
|
-
var gN = _u, Ii = ar, Mn =
|
|
75672
|
+
var gN = _u, Ii = ar, Mn = Zt, IG = Ai.Result, Ra = Ai.warning, T_e = Ml, mN = rc, bN = SE;
|
|
75673
75673
|
function j_e(e) {
|
|
75674
75674
|
return {
|
|
75675
75675
|
readXmlElement: function(t) {
|
|
@@ -76186,7 +76186,7 @@ function M_e(e) {
|
|
|
76186
76186
|
}
|
|
76187
76187
|
var UG = {};
|
|
76188
76188
|
UG.DocumentXmlReader = I_e;
|
|
76189
|
-
var O_e =
|
|
76189
|
+
var O_e = Zt, R_e = Ai.Result;
|
|
76190
76190
|
function I_e(e) {
|
|
76191
76191
|
var t = e.bodyReader;
|
|
76192
76192
|
function n(r) {
|
|
@@ -76396,7 +76396,7 @@ function K_e(e, t) {
|
|
|
76396
76396
|
function zG(e) {
|
|
76397
76397
|
return e.attributes["w:styleId"];
|
|
76398
76398
|
}
|
|
76399
|
-
var NE = {}, Y_e =
|
|
76399
|
+
var NE = {}, Y_e = Zt, X_e = Ai.Result;
|
|
76400
76400
|
NE.createFootnotesReader = $G.bind(Nt, "footnote");
|
|
76401
76401
|
NE.createEndnotesReader = $G.bind(Nt, "endnote");
|
|
76402
76402
|
function $G(e, t) {
|
|
@@ -76415,7 +76415,7 @@ function $G(e, t) {
|
|
|
76415
76415
|
}
|
|
76416
76416
|
return n;
|
|
76417
76417
|
}
|
|
76418
|
-
var HG = {}, Z_e =
|
|
76418
|
+
var HG = {}, Z_e = Zt, J_e = Ai.Result;
|
|
76419
76419
|
function Q_e(e) {
|
|
76420
76420
|
function t(r) {
|
|
76421
76421
|
return J_e.combine(r.getElementsByTagName("w:comment").map(n));
|
|
@@ -76450,7 +76450,7 @@ cannot open linked files from a web browser`));
|
|
|
76450
76450
|
}
|
|
76451
76451
|
lE.read = lAe;
|
|
76452
76452
|
lE._findPartPaths = VG;
|
|
76453
|
-
var nAe = Ur, rAe =
|
|
76453
|
+
var nAe = Ur, rAe = Zt, 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;
|
|
76454
76454
|
function lAe(e, t, n) {
|
|
76455
76455
|
t = t || {}, n = n || {};
|
|
76456
76456
|
var r = new aAe({
|
|
@@ -77059,7 +77059,7 @@ ZG.writer = MAe;
|
|
|
77059
77059
|
function MAe(e) {
|
|
77060
77060
|
return e = e || {}, e.outputFormat === "markdown" ? NAe.writer() : BAe.writer(e);
|
|
77061
77061
|
}
|
|
77062
|
-
var tu = ar, jN = Ur, d2 =
|
|
77062
|
+
var tu = ar, jN = Ur, d2 = Zt, ji = y3(), eD = Ai, OAe = RE, en = b3(), RAe = ZG;
|
|
77063
77063
|
OE.DocumentConverter = IAe;
|
|
77064
77064
|
function IAe(e) {
|
|
77065
77065
|
return {
|
|
@@ -77354,7 +77354,7 @@ function oK(e, t) {
|
|
|
77354
77354
|
}
|
|
77355
77355
|
var zAe = OE.commentAuthorLabel = function(t) {
|
|
77356
77356
|
return t.authorInitials || "";
|
|
77357
|
-
}, iK = {}, $Ae =
|
|
77357
|
+
}, iK = {}, $Ae = Zt;
|
|
77358
77358
|
function sK(e) {
|
|
77359
77359
|
if (e.type === "text")
|
|
77360
77360
|
return e.value;
|
|
@@ -170378,7 +170378,10 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
170378
170378
|
b.current = d;
|
|
170379
170379
|
const y = Ve(c.tabList.length > 0);
|
|
170380
170380
|
Re(() => {
|
|
170381
|
-
y.current || c.tabList.length === 0
|
|
170381
|
+
if (!(y.current || c.tabList.length === 0) && (y.current = !0, f(c.tabList), i)) {
|
|
170382
|
+
const E = s || c.activeTabId;
|
|
170383
|
+
b.current = E, p(E);
|
|
170384
|
+
}
|
|
170382
170385
|
}, [c, i, s]);
|
|
170383
170386
|
const {
|
|
170384
170387
|
applyRename: x,
|
|
@@ -183775,7 +183778,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183775
183778
|
if (!Dt) return {};
|
|
183776
183779
|
const St = {}, sn = nHe[At];
|
|
183777
183780
|
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;
|
|
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:
|
|
183781
|
+
}, 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: Jt } = _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;
|
|
183779
183782
|
O1(Ot, () => {
|
|
183780
183783
|
Rt(!1);
|
|
183781
183784
|
}), Re(() => {
|
|
@@ -183786,7 +183789,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183786
183789
|
ref: Le,
|
|
183787
183790
|
isContentLoading: ot,
|
|
183788
183791
|
ydoc: $t,
|
|
183789
|
-
awareness:
|
|
183792
|
+
awareness: Qt,
|
|
183790
183793
|
refreshYjsIndexedDbProvider: Sn,
|
|
183791
183794
|
activeCommentId: er,
|
|
183792
183795
|
setActiveCommentId: ui,
|
|
@@ -183892,16 +183895,16 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183892
183895
|
});
|
|
183893
183896
|
},
|
|
183894
183897
|
updateCollaboratorName: (At) => {
|
|
183895
|
-
if (!fe || !
|
|
183898
|
+
if (!fe || !Qt) {
|
|
183896
183899
|
console.debug("collab: cannot find editor or awareness");
|
|
183897
183900
|
return;
|
|
183898
183901
|
}
|
|
183899
|
-
const Dt =
|
|
183902
|
+
const Dt = Qt.getLocalState(), St = Dt == null ? void 0 : Dt.user, sn = {
|
|
183900
183903
|
name: At,
|
|
183901
183904
|
color: St == null ? void 0 : St.color,
|
|
183902
183905
|
isEns: St == null ? void 0 : St.isEns
|
|
183903
183906
|
};
|
|
183904
|
-
|
|
183907
|
+
Qt.setLocalStateField("user", sn), fe.setEditable(!0);
|
|
183905
183908
|
},
|
|
183906
183909
|
exportCurrentTabOrOpenExportModal: (At = "pdf", Dt) => {
|
|
183907
183910
|
var St;
|
|
@@ -183910,7 +183913,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183910
183913
|
terminateSession: rJ
|
|
183911
183914
|
}),
|
|
183912
183915
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
183913
|
-
[fe
|
|
183916
|
+
[fe]
|
|
183914
183917
|
);
|
|
183915
183918
|
const dJ = (At) => {
|
|
183916
183919
|
k == null || k((Dt) => {
|
|
@@ -184141,7 +184144,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184141
184144
|
ref: Le,
|
|
184142
184145
|
className: tt(
|
|
184143
184146
|
"w-full h-full pt-8 md:pt-0",
|
|
184144
|
-
{ "custom-ios-padding":
|
|
184147
|
+
{ "custom-ios-padding": Jt },
|
|
184145
184148
|
{
|
|
184146
184149
|
"color-bg-default": !(Ae != null && Ae.canvasBackground) && (_ === "1.4" || _ === "1.5")
|
|
184147
184150
|
}
|
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.
|
|
5
|
+
"version": "3.0.74",
|
|
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
|
+
}
|