@fileverse-dev/ddoc 3.0.96-zustand-18 → 3.0.96-zustand-20
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 +6 -5
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -43120,8 +43120,10 @@ const ofe = ({
|
|
|
43120
43120
|
G !== z && (z = G, Z.setIsCommentActive(G)), J !== te && (te = J, Z.setIsCommentResolved(J)), T && !Y && !T.resolved && Z.activeCommentId !== T.id && (Z.setActiveCommentId(T.id), Z.openFloatingThread(T.id));
|
|
43121
43121
|
};
|
|
43122
43122
|
let ee = null;
|
|
43123
|
-
const K = (
|
|
43124
|
-
|
|
43123
|
+
const K = ({
|
|
43124
|
+
transaction: Z
|
|
43125
|
+
}) => {
|
|
43126
|
+
Z.selectionSet && ie(), !ee && (ee = setTimeout(() => {
|
|
43125
43127
|
ee = null, S.getState().pruneFloatingItems();
|
|
43126
43128
|
}, 200));
|
|
43127
43129
|
};
|
|
@@ -181792,7 +181794,7 @@ const wHe = ({
|
|
|
181792
181794
|
c == null || c(!0);
|
|
181793
181795
|
return;
|
|
181794
181796
|
}
|
|
181795
|
-
a(e.commentId, g), m("")
|
|
181797
|
+
a(e.commentId, g), m("");
|
|
181796
181798
|
}
|
|
181797
181799
|
}, D = () => {
|
|
181798
181800
|
e.commentId && y(!0);
|
|
@@ -182174,7 +182176,6 @@ const wHe = ({
|
|
|
182174
182176
|
L = new MutationObserver(te), L.observe(ee, {
|
|
182175
182177
|
subtree: !0,
|
|
182176
182178
|
childList: !0,
|
|
182177
|
-
characterData: !0,
|
|
182178
182179
|
attributes: !0,
|
|
182179
182180
|
attributeOldValue: !0,
|
|
182180
182181
|
attributeFilter: ["data-comment-id", "data-draft-comment-id"]
|
|
@@ -182183,7 +182184,7 @@ const wHe = ({
|
|
|
182183
182184
|
return ie(), () => {
|
|
182184
182185
|
z !== null && window.cancelAnimationFrame(z), L == null || L.disconnect();
|
|
182185
182186
|
};
|
|
182186
|
-
}, [e, l,
|
|
182187
|
+
}, [e, l, U]), Ae(() => () => {
|
|
182187
182188
|
m.current !== null && (window.cancelAnimationFrame(m.current), m.current = null);
|
|
182188
182189
|
}, []), !l || !E.length ? null : /* @__PURE__ */ v.jsx(
|
|
182189
182190
|
"div",
|