@dao42/d42paas-front 0.6.6 → 0.6.7
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 +18 -11
- package/dist/DaoPaaS.umd.js +152 -152
- package/package.json +1 -1
package/dist/DaoPaaS.es.js
CHANGED
|
@@ -15029,14 +15029,11 @@ const oTStore = create$3((set2) => ({
|
|
|
15029
15029
|
asyncType: arg
|
|
15030
15030
|
}))
|
|
15031
15031
|
}));
|
|
15032
|
-
const fileTreeStore = create$3(
|
|
15032
|
+
const fileTreeStore = create$3((set2) => ({
|
|
15033
15033
|
fileTree: {},
|
|
15034
15034
|
switchFileTree: (arg) => set2(() => ({
|
|
15035
15035
|
fileTree: arg
|
|
15036
15036
|
}))
|
|
15037
|
-
}), {
|
|
15038
|
-
name: "fileTree",
|
|
15039
|
-
getStorage: () => localStorage
|
|
15040
15037
|
}));
|
|
15041
15038
|
const userStore = create$3(persist((set2) => ({
|
|
15042
15039
|
userInfo: {},
|
|
@@ -28364,7 +28361,7 @@ const PlaygroundInit = (arg) => {
|
|
|
28364
28361
|
playgroundId,
|
|
28365
28362
|
io
|
|
28366
28363
|
} = arg;
|
|
28367
|
-
reactDom.exports.unstable_batchedUpdates(
|
|
28364
|
+
reactDom.exports.unstable_batchedUpdates(() => {
|
|
28368
28365
|
const setUserInfo = userStore.getState().setUserInfo;
|
|
28369
28366
|
const setUserList = userListStore.getState().setUserList;
|
|
28370
28367
|
const {
|
|
@@ -28388,11 +28385,12 @@ const PlaygroundInit = (arg) => {
|
|
|
28388
28385
|
setGlobalData
|
|
28389
28386
|
} = oTStore.getState();
|
|
28390
28387
|
shadowUserStore.getState();
|
|
28391
|
-
|
|
28392
|
-
|
|
28393
|
-
|
|
28394
|
-
|
|
28395
|
-
|
|
28388
|
+
getAllLocalReplayFile().then((allFiles) => {
|
|
28389
|
+
allFiles.forEach((f2) => {
|
|
28390
|
+
setLocalReplayFile(f2.path, __spreadProps(__spreadValues({}, f2), {
|
|
28391
|
+
revision: 0
|
|
28392
|
+
}));
|
|
28393
|
+
});
|
|
28396
28394
|
});
|
|
28397
28395
|
window.clearCache = () => {
|
|
28398
28396
|
localStorage.clear();
|
|
@@ -195469,7 +195467,7 @@ const XTerm = (_c2) => {
|
|
|
195469
195467
|
const stateStyle = __spreadValues({
|
|
195470
195468
|
height: "100%",
|
|
195471
195469
|
width: "100%",
|
|
195472
|
-
padding: "5px
|
|
195470
|
+
padding: "5px 5px",
|
|
195473
195471
|
backgroundColor: "#1e1e1e"
|
|
195474
195472
|
}, props2);
|
|
195475
195473
|
const xtermFitAddon = new xtermAddonFit.exports.FitAddon();
|
|
@@ -195501,6 +195499,15 @@ const XTerm = (_c2) => {
|
|
|
195501
195499
|
}
|
|
195502
195500
|
onKey == null ? void 0 : onKey(character2);
|
|
195503
195501
|
});
|
|
195502
|
+
term.attachCustomKeyEventHandler((e2) => {
|
|
195503
|
+
if (e2.key === "v" && e2.ctrlKey) {
|
|
195504
|
+
onKey == null ? void 0 : onKey(e2.target.value);
|
|
195505
|
+
return false;
|
|
195506
|
+
}
|
|
195507
|
+
if (e2.key === "r" && e2.ctrlKey) {
|
|
195508
|
+
return false;
|
|
195509
|
+
}
|
|
195510
|
+
});
|
|
195504
195511
|
};
|
|
195505
195512
|
const fitTerminal = () => {
|
|
195506
195513
|
try {
|