@godscene/playground-electron 1.7.11 → 1.7.12
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.
|
@@ -106,15 +106,6 @@ function PlaygroundApp({ serverUrl, appVersion, title = 'Playground', defaultDev
|
|
|
106
106
|
useEffect(()=>{
|
|
107
107
|
var _window_electron;
|
|
108
108
|
null == (_window_electron = window.electron) || _window_electron.ipcRenderer.on('agent:ready', (event, value)=>{
|
|
109
|
-
if (!value) Modal.warning({
|
|
110
|
-
title: '初始化失败',
|
|
111
|
-
content: '请确认是否购买了token',
|
|
112
|
-
getContainer: ()=>rightRef.current,
|
|
113
|
-
mask: false,
|
|
114
|
-
className: "insert-modal",
|
|
115
|
-
wrapClassName: 'insert-modal-wrap',
|
|
116
|
-
zIndex: 99999
|
|
117
|
-
});
|
|
118
109
|
setAgentReady(value);
|
|
119
110
|
});
|
|
120
111
|
}, []);
|
|
@@ -735,7 +726,7 @@ function PlaygroundApp({ serverUrl, appVersion, title = 'Playground', defaultDev
|
|
|
735
726
|
minSize: isNarrowScreen ? 67 : 25,
|
|
736
727
|
className: "app-panel left-panel",
|
|
737
728
|
children: /*#__PURE__*/ jsxs("div", {
|
|
738
|
-
className: "panel-content left-panel-content",
|
|
729
|
+
className: "panel-content left-panel-content model-root-container",
|
|
739
730
|
ref: rightRef,
|
|
740
731
|
children: [
|
|
741
732
|
/*#__PURE__*/ jsx("div", {
|
|
@@ -145,15 +145,6 @@ function PlaygroundApp({ serverUrl, appVersion, title = 'Playground', defaultDev
|
|
|
145
145
|
(0, external_react_namespaceObject.useEffect)(()=>{
|
|
146
146
|
var _window_electron;
|
|
147
147
|
null == (_window_electron = window.electron) || _window_electron.ipcRenderer.on('agent:ready', (event, value)=>{
|
|
148
|
-
if (!value) external_antd_namespaceObject.Modal.warning({
|
|
149
|
-
title: '初始化失败',
|
|
150
|
-
content: '请确认是否购买了token',
|
|
151
|
-
getContainer: ()=>rightRef.current,
|
|
152
|
-
mask: false,
|
|
153
|
-
className: "insert-modal",
|
|
154
|
-
wrapClassName: 'insert-modal-wrap',
|
|
155
|
-
zIndex: 99999
|
|
156
|
-
});
|
|
157
148
|
setAgentReady(value);
|
|
158
149
|
});
|
|
159
150
|
}, []);
|
|
@@ -774,7 +765,7 @@ function PlaygroundApp({ serverUrl, appVersion, title = 'Playground', defaultDev
|
|
|
774
765
|
minSize: isNarrowScreen ? 67 : 25,
|
|
775
766
|
className: "app-panel left-panel",
|
|
776
767
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("div", {
|
|
777
|
-
className: "panel-content left-panel-content",
|
|
768
|
+
className: "panel-content left-panel-content model-root-container",
|
|
778
769
|
ref: rightRef,
|
|
779
770
|
children: [
|
|
780
771
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@godscene/playground-electron",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.12",
|
|
4
4
|
"description": "Reusable React shell for Midscene playground applications",
|
|
5
5
|
"repository": "https://github.com/web-infra-dev/midscene",
|
|
6
6
|
"homepage": "https://midscenejs.com/",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"antd": "^5.21.6",
|
|
30
30
|
"react-resizable-panels": "2.0.22",
|
|
31
31
|
"socket.io-client": "4.8.1",
|
|
32
|
-
"@godscene/
|
|
33
|
-
"@godscene/
|
|
34
|
-
"@godscene/shared": "1.7.
|
|
32
|
+
"@godscene/playground": "1.7.12",
|
|
33
|
+
"@godscene/visualizer": "1.7.12",
|
|
34
|
+
"@godscene/shared": "1.7.12"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@rsbuild/plugin-less": "^1.5.0",
|