@dao42/d42paas-front 0.7.25 → 0.7.26
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/DaoPaaS.es.js +8 -6
- package/dist/DaoPaaS.umd.js +439 -439
- package/package.json +1 -1
package/dist/DaoPaaS.es.js
CHANGED
|
@@ -31027,11 +31027,6 @@ var dayjs_min = { exports: {} };
|
|
|
31027
31027
|
});
|
|
31028
31028
|
})(dayjs_min);
|
|
31029
31029
|
var dayjs = dayjs_min.exports;
|
|
31030
|
-
var dayjs$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ _mergeNamespaces({
|
|
31031
|
-
__proto__: null,
|
|
31032
|
-
[Symbol.toStringTag]: "Module",
|
|
31033
|
-
"default": dayjs
|
|
31034
|
-
}, [dayjs_min.exports]));
|
|
31035
31030
|
var textOperation = { exports: {} };
|
|
31036
31031
|
(function(module2) {
|
|
31037
31032
|
if (typeof ot === "undefined") {
|
|
@@ -32936,7 +32931,7 @@ const replay = async (passInData) => {
|
|
|
32936
32931
|
let operation;
|
|
32937
32932
|
const replayList = await getLocalCRDTs();
|
|
32938
32933
|
const filterReplayList = replayList.filter((replayItem) => replayItem.userInfo.uuid === passInData.userId);
|
|
32939
|
-
const currentFilter = filterReplayList.filter((f2) => dayjs
|
|
32934
|
+
const currentFilter = filterReplayList.filter((f2) => dayjs(passInData.timestamp).isSame(f2.timestamp) || dayjs(passInData.timestamp).isBefore(f2.timestamp));
|
|
32940
32935
|
const filterReplaySource = currentFilter[0];
|
|
32941
32936
|
const replayFile = await getLocalReplayFile(filterReplaySource.file.path);
|
|
32942
32937
|
const localFile = await getLocalFile(filterReplaySource.file.path);
|
|
@@ -220454,6 +220449,12 @@ const Editor = ({
|
|
|
220454
220449
|
if (((_d3 = _d2.file) == null ? void 0 : _d3.path) !== path2) {
|
|
220455
220450
|
otherClients == null ? void 0 : otherClients.removeCursor(_d2.userInfo);
|
|
220456
220451
|
}
|
|
220452
|
+
setTimeout(() => {
|
|
220453
|
+
var _a3, _b3;
|
|
220454
|
+
if ((_b3 = (_a3 = _d2 == null ? void 0 : _d2.file) == null ? void 0 : _a3.path) == null ? void 0 : _b3.includes("md")) {
|
|
220455
|
+
setMarkdownVal(editor.getValue());
|
|
220456
|
+
}
|
|
220457
|
+
}, 100);
|
|
220457
220458
|
}
|
|
220458
220459
|
setCRDTInfo2(_d2);
|
|
220459
220460
|
setAsyncType("editor");
|
|
@@ -228860,6 +228861,7 @@ const Index = (props2) => {
|
|
|
228860
228861
|
count: 10
|
|
228861
228862
|
}),
|
|
228862
228863
|
children: /* @__PURE__ */ jsx(LazyEditorComponent, {
|
|
228864
|
+
serviceWorkerOrigin: props2.serviceWorkerOrigin,
|
|
228863
228865
|
useLsp: true
|
|
228864
228866
|
})
|
|
228865
228867
|
}) : null
|