@fileverse-dev/ddoc 3.0.76 → 3.0.77
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 +90 -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, 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, ee(), Error.prepareStackTrace =
|
|
313
|
+
ae = !1, K.current = tn, ee(), 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 te(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 te(tn(
|
|
347
|
+
return te(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 Te(Fe, Ie, rt, dt,
|
|
481
|
+
function Te(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) && !ne.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 = Te(Fe, Ie, rt,
|
|
621
|
+
var fe = Te(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(ci) {
|
|
639
639
|
return ci !== "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, te ? "html" : "body")[0] : te ? 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) && (ee.tagNameCheck instanceof RegExp && mo(ee.tagNameCheck, ot) || ee.tagNameCheck instanceof Function && ee.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 ci = g(
|
|
31955
|
+
const ci = g(Zt[er], !0);
|
|
31956
31956
|
ci.__removalCount = (fe.__removalCount || 0) + 1, $t.insertBefore(ci, 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: ci
|
|
32018
|
-
} =
|
|
32018
|
+
} = Zt, Ll = Ke(Sn), $h = ci;
|
|
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 (Te = !Qe, Te && (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 = te ? Le.outerHTML : Le.innerHTML;
|
|
32112
32112
|
return te && z["!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 Jt = {}, J7e = ar, Zr = Jt.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
|
+
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;
|
|
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 = Jt, 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 = Jt, 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 = Jt, 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 = Jt, 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 = 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;
|
|
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 = Jt, 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 = Jt;
|
|
77358
77358
|
function sK(e) {
|
|
77359
77359
|
if (e.type === "text")
|
|
77360
77360
|
return e.value;
|
|
@@ -183047,7 +183047,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183047
183047
|
"data-testid": "mobile-tab-panel",
|
|
183048
183048
|
className: tt("fixed w-full flex flex-col z-[9]"),
|
|
183049
183049
|
style: {
|
|
183050
|
-
bottom:
|
|
183050
|
+
bottom: f ? "var(--version-sheet-bottom, 24px)" : "24px"
|
|
183051
183051
|
},
|
|
183052
183052
|
children: [
|
|
183053
183053
|
/* @__PURE__ */ F.jsx(
|
|
@@ -183783,7 +183783,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183783
183783
|
if (!Dt) return {};
|
|
183784
183784
|
const St = {}, sn = nHe[At];
|
|
183785
183785
|
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;
|
|
183786
|
-
}, 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:
|
|
183786
|
+
}, 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;
|
|
183787
183787
|
O1(Ot, () => {
|
|
183788
183788
|
Rt(!1);
|
|
183789
183789
|
}), Re(() => {
|
|
@@ -183794,7 +183794,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183794
183794
|
ref: Le,
|
|
183795
183795
|
isContentLoading: ot,
|
|
183796
183796
|
ydoc: $t,
|
|
183797
|
-
awareness:
|
|
183797
|
+
awareness: Zt,
|
|
183798
183798
|
refreshYjsIndexedDbProvider: Sn,
|
|
183799
183799
|
activeCommentId: er,
|
|
183800
183800
|
setActiveCommentId: ci,
|
|
@@ -183900,16 +183900,16 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183900
183900
|
});
|
|
183901
183901
|
},
|
|
183902
183902
|
updateCollaboratorName: (At) => {
|
|
183903
|
-
if (!fe || !
|
|
183903
|
+
if (!fe || !Zt) {
|
|
183904
183904
|
console.debug("collab: cannot find editor or awareness");
|
|
183905
183905
|
return;
|
|
183906
183906
|
}
|
|
183907
|
-
const Dt =
|
|
183907
|
+
const Dt = Zt.getLocalState(), St = Dt == null ? void 0 : Dt.user, sn = {
|
|
183908
183908
|
name: At,
|
|
183909
183909
|
color: St == null ? void 0 : St.color,
|
|
183910
183910
|
isEns: St == null ? void 0 : St.isEns
|
|
183911
183911
|
};
|
|
183912
|
-
|
|
183912
|
+
Zt.setLocalStateField("user", sn), fe.setEditable(!0);
|
|
183913
183913
|
},
|
|
183914
183914
|
exportCurrentTabOrOpenExportModal: (At = "pdf", Dt) => {
|
|
183915
183915
|
var St;
|
|
@@ -183918,7 +183918,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
183918
183918
|
terminateSession: rJ
|
|
183919
183919
|
}),
|
|
183920
183920
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
183921
|
-
[fe]
|
|
183921
|
+
[fe, Zt]
|
|
183922
183922
|
);
|
|
183923
183923
|
const dJ = (At) => {
|
|
183924
183924
|
k == null || k((Dt) => {
|
|
@@ -184149,7 +184149,7 @@ const K$e = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
184149
184149
|
ref: Le,
|
|
184150
184150
|
className: tt(
|
|
184151
184151
|
"w-full h-full pt-8 md:pt-0",
|
|
184152
|
-
{ "custom-ios-padding":
|
|
184152
|
+
{ "custom-ios-padding": Qt },
|
|
184153
184153
|
{
|
|
184154
184154
|
"color-bg-default": !(Ae != null && Ae.canvasBackground) && (_ === "1.4" || _ === "1.5")
|
|
184155
184155
|
}
|
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.77",
|
|
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
|
+
}
|