@midscene/visualizer 0.28.2-beta-20250910020051.0 → 0.28.2-beta-20250910024129.0
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/es/component/{blackboard/index.mjs → blackboard.mjs} +3 -3
- package/dist/es/component/describer.css +25 -0
- package/dist/es/component/{env-config/index.mjs → env-config.mjs} +1 -1
- package/dist/es/component/{github-star/index.mjs → github-star.mjs} +1 -1
- package/dist/es/component/{logo/index.mjs → logo.mjs} +1 -1
- package/dist/es/component/{misc/index.mjs → misc.mjs} +2 -42
- package/dist/es/component/{player/index.mjs → player.mjs} +8 -8
- package/dist/es/component/{config-selector/index.mjs → playground/ConfigSelector.mjs} +3 -2
- package/dist/es/component/{context-preview/index.mjs → playground/ContextPreview.mjs} +4 -3
- package/dist/es/component/{history-selector/index.mjs → playground/HistorySelector.mjs} +1 -1
- package/dist/es/component/{playground-result/index.mjs → playground/PlaygroundResult.mjs} +4 -3
- package/dist/es/component/{prompt-input/index.mjs → playground/PromptInput.mjs} +9 -9
- package/dist/es/component/{service-mode-control/index.mjs → playground/ServiceModeControl.mjs} +5 -4
- package/dist/es/component/playground/index.css +161 -29
- package/dist/es/{utils/constants.mjs → component/playground/playground-constants.mjs} +2 -1
- package/dist/es/component/playground/playground-types.mjs +0 -0
- package/dist/es/{utils → component/playground}/playground-utils.mjs +1 -1
- package/dist/es/{types.mjs → component/playground/types.mjs} +1 -23
- package/dist/es/{utils → component}/replay-scripts.mjs +2 -1
- package/dist/es/component/{shiny-text/index.mjs → shiny-text.mjs} +1 -1
- package/dist/es/index.mjs +18 -22
- package/dist/es/init.mjs +10 -0
- package/dist/lib/component/{blackboard/index.js → blackboard.js} +5 -5
- package/dist/lib/component/describer.css +25 -0
- package/dist/lib/component/{env-config/index.js → env-config.js} +1 -1
- package/dist/lib/component/{github-star/index.js → github-star.js} +1 -1
- package/dist/lib/component/{logo/index.js → logo.js} +1 -1
- package/dist/lib/component/{misc/index.js → misc.js} +1 -60
- package/dist/lib/component/{player/index.js → player.js} +23 -23
- package/dist/lib/component/{config-selector/index.js → playground/ConfigSelector.js} +7 -6
- package/dist/lib/component/{context-preview/index.js → playground/ContextPreview.js} +9 -8
- package/dist/lib/component/{history-selector/index.js → playground/HistorySelector.js} +1 -1
- package/dist/lib/component/{playground-result/index.js → playground/PlaygroundResult.js} +9 -8
- package/dist/lib/component/{prompt-input/index.js → playground/PromptInput.js} +37 -37
- package/dist/lib/component/{service-mode-control/index.js → playground/ServiceModeControl.js} +9 -8
- package/dist/lib/component/playground/index.css +161 -29
- package/dist/lib/{utils/constants.js → component/playground/playground-constants.js} +4 -3
- package/dist/lib/component/playground/playground-types.js +18 -0
- package/dist/lib/{utils → component/playground}/playground-utils.js +1 -1
- package/dist/lib/{types.js → component/playground/types.js} +0 -28
- package/dist/lib/{utils → component}/replay-scripts.js +4 -3
- package/dist/lib/component/{shiny-text/index.js → shiny-text.js} +1 -1
- package/dist/lib/index.js +34 -66
- package/dist/lib/{icons/avatar.js → init.js} +12 -16
- package/dist/types/component/{blackboard/index.d.ts → blackboard.d.ts} +2 -2
- package/dist/types/component/{github-star/index.d.ts → github-star.d.ts} +1 -1
- package/dist/types/component/{logo/index.d.ts → logo.d.ts} +1 -1
- package/dist/types/component/misc.d.ts +2 -0
- package/dist/types/component/{player/index.d.ts → player.d.ts} +2 -2
- package/dist/types/component/{config-selector/index.d.ts → playground/ConfigSelector.d.ts} +1 -0
- package/dist/types/component/{context-preview/index.d.ts → playground/ContextPreview.d.ts} +1 -0
- package/dist/types/component/{history-selector/index.d.ts → playground/HistorySelector.d.ts} +1 -1
- package/dist/types/component/{playground-result/index.d.ts → playground/PlaygroundResult.d.ts} +4 -3
- package/dist/types/component/{prompt-input/index.d.ts → playground/PromptInput.d.ts} +2 -3
- package/dist/types/component/{service-mode-control/index.d.ts → playground/ServiceModeControl.d.ts} +1 -0
- package/dist/types/{utils/constants.d.ts → component/playground/playground-constants.d.ts} +1 -0
- package/dist/types/component/playground/playground-types.d.ts +19 -0
- package/dist/types/component/playground/types.d.ts +72 -0
- package/dist/types/{utils → component}/replay-scripts.d.ts +1 -0
- package/dist/types/component/{shiny-text/index.d.ts → shiny-text.d.ts} +1 -1
- package/dist/types/index.d.ts +10 -15
- package/dist/types/init.d.ts +1 -0
- package/package.json +5 -10
- package/dist/es/browser.mjs +0 -18
- package/dist/es/component/history-selector/index.css +0 -132
- package/dist/es/component/index.mjs +0 -1
- package/dist/es/component/playground/index.mjs +0 -8
- package/dist/es/component/playground-result/index.css +0 -29
- package/dist/es/component/prompt-input/index.css +0 -330
- package/dist/es/component/universal-playground/index.css +0 -341
- package/dist/es/component/universal-playground/index.mjs +0 -273
- package/dist/es/component/universal-playground/providers/context-provider.mjs +0 -52
- package/dist/es/component/universal-playground/providers/storage-provider.mjs +0 -107
- package/dist/es/hooks/usePlaygroundExecution.mjs +0 -170
- package/dist/es/hooks/usePlaygroundState.mjs +0 -173
- package/dist/es/icons/avatar.mjs +0 -14
- package/dist/lib/browser.js +0 -132
- package/dist/lib/component/history-selector/index.css +0 -132
- package/dist/lib/component/index.js +0 -60
- package/dist/lib/component/playground/index.js +0 -113
- package/dist/lib/component/playground-result/index.css +0 -29
- package/dist/lib/component/prompt-input/index.css +0 -330
- package/dist/lib/component/universal-playground/index.css +0 -341
- package/dist/lib/component/universal-playground/index.js +0 -321
- package/dist/lib/component/universal-playground/providers/context-provider.js +0 -95
- package/dist/lib/component/universal-playground/providers/storage-provider.js +0 -147
- package/dist/lib/hooks/usePlaygroundExecution.js +0 -204
- package/dist/lib/hooks/usePlaygroundState.js +0 -207
- package/dist/types/browser.d.ts +0 -19
- package/dist/types/component/index.d.ts +0 -1
- package/dist/types/component/misc/index.d.ts +0 -6
- package/dist/types/component/playground/index.d.ts +0 -7
- package/dist/types/component/universal-playground/index.d.ts +0 -4
- package/dist/types/component/universal-playground/providers/context-provider.d.ts +0 -37
- package/dist/types/component/universal-playground/providers/storage-provider.d.ts +0 -33
- package/dist/types/hooks/usePlaygroundExecution.d.ts +0 -10
- package/dist/types/hooks/usePlaygroundState.d.ts +0 -26
- package/dist/types/types.d.ts +0 -166
- /package/dist/es/component/{blackboard/index.css → blackboard.css} +0 -0
- /package/dist/es/{utils → component}/color.mjs +0 -0
- /package/dist/es/component/{github-star/index.css → github-star.css} +0 -0
- /package/dist/es/component/{logo/index.css → logo.css} +0 -0
- /package/dist/es/{utils → component}/pixi-loader.mjs +0 -0
- /package/dist/es/component/{player/index.css → player.css} +0 -0
- /package/dist/es/component/{form-field/index.mjs → playground/FormField.mjs} +0 -0
- /package/dist/es/{hooks → component/playground}/useServerValid.mjs +0 -0
- /package/dist/es/component/{playground/playground-demo-ui-context.json → playground-demo-ui-context.json} +0 -0
- /package/dist/es/component/{shiny-text/index.css → shiny-text.css} +0 -0
- /package/dist/es/{store → component/store}/history.mjs +0 -0
- /package/dist/es/{store → component/store}/store.mjs +0 -0
- /package/dist/es/{utils/index.mjs → utils.mjs} +0 -0
- /package/dist/lib/component/{blackboard/index.css → blackboard.css} +0 -0
- /package/dist/lib/{utils → component}/color.js +0 -0
- /package/dist/lib/component/{github-star/index.css → github-star.css} +0 -0
- /package/dist/lib/component/{logo/index.css → logo.css} +0 -0
- /package/dist/lib/{utils → component}/pixi-loader.js +0 -0
- /package/dist/lib/component/{player/index.css → player.css} +0 -0
- /package/dist/lib/component/{form-field/index.js → playground/FormField.js} +0 -0
- /package/dist/lib/{hooks → component/playground}/useServerValid.js +0 -0
- /package/dist/lib/component/{playground/playground-demo-ui-context.json → playground-demo-ui-context.json} +0 -0
- /package/dist/lib/component/{shiny-text/index.css → shiny-text.css} +0 -0
- /package/dist/lib/{store → component/store}/history.js +0 -0
- /package/dist/lib/{store → component/store}/store.js +0 -0
- /package/dist/lib/{utils/index.js → utils.js} +0 -0
- /package/dist/types/{utils → component}/color.d.ts +0 -0
- /package/dist/types/component/{env-config/index.d.ts → env-config.d.ts} +0 -0
- /package/dist/types/{utils → component}/pixi-loader.d.ts +0 -0
- /package/dist/types/component/{form-field/index.d.ts → playground/FormField.d.ts} +0 -0
- /package/dist/types/{utils → component/playground}/playground-utils.d.ts +0 -0
- /package/dist/types/{hooks → component/playground}/useServerValid.d.ts +0 -0
- /package/dist/types/{store → component/store}/history.d.ts +0 -0
- /package/dist/types/{store → component/store}/store.d.ts +0 -0
- /package/dist/types/{utils/index.d.ts → utils.d.ts} +0 -0
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import { useCallback, useEffect, useRef, useState } from "react";
|
|
2
|
-
import { WELCOME_MESSAGE_TEMPLATE } from "../types.mjs";
|
|
3
|
-
function usePlaygroundState(playgroundSDK, storage, contextProvider) {
|
|
4
|
-
const [loading, setLoading] = useState(false);
|
|
5
|
-
const [infoList, setInfoList] = useState([]);
|
|
6
|
-
const [actionSpace, setActionSpace] = useState([]);
|
|
7
|
-
const [actionSpaceLoading, setActionSpaceLoading] = useState(true);
|
|
8
|
-
const [uiContextPreview, setUiContextPreview] = useState();
|
|
9
|
-
const [showScrollToBottomButton, setShowScrollToBottomButton] = useState(false);
|
|
10
|
-
const [verticalMode, setVerticalMode] = useState(false);
|
|
11
|
-
const [replayCounter, setReplayCounter] = useState(0);
|
|
12
|
-
const infoListRef = useRef(null);
|
|
13
|
-
const currentRunningIdRef = useRef(null);
|
|
14
|
-
const interruptedFlagRef = useRef({});
|
|
15
|
-
const welcomeMessage = {
|
|
16
|
-
...WELCOME_MESSAGE_TEMPLATE,
|
|
17
|
-
id: 'welcome',
|
|
18
|
-
timestamp: new Date()
|
|
19
|
-
};
|
|
20
|
-
useEffect(()=>{
|
|
21
|
-
const initializeMessages = async ()=>{
|
|
22
|
-
if (null == storage ? void 0 : storage.loadMessages) try {
|
|
23
|
-
const storedMessages = await storage.loadMessages();
|
|
24
|
-
setInfoList([
|
|
25
|
-
welcomeMessage,
|
|
26
|
-
...storedMessages
|
|
27
|
-
]);
|
|
28
|
-
} catch (error) {
|
|
29
|
-
console.error('Failed to load messages:', error);
|
|
30
|
-
setInfoList([
|
|
31
|
-
welcomeMessage
|
|
32
|
-
]);
|
|
33
|
-
}
|
|
34
|
-
else setInfoList([
|
|
35
|
-
welcomeMessage
|
|
36
|
-
]);
|
|
37
|
-
};
|
|
38
|
-
initializeMessages();
|
|
39
|
-
}, [
|
|
40
|
-
storage
|
|
41
|
-
]);
|
|
42
|
-
useEffect(()=>{
|
|
43
|
-
if ((null == storage ? void 0 : storage.saveMessages) && infoList.length > 1) storage.saveMessages(infoList).catch((error)=>{
|
|
44
|
-
console.error('Failed to save messages:', error);
|
|
45
|
-
});
|
|
46
|
-
}, [
|
|
47
|
-
infoList,
|
|
48
|
-
storage
|
|
49
|
-
]);
|
|
50
|
-
useEffect(()=>{
|
|
51
|
-
if (!(null == contextProvider ? void 0 : contextProvider.getUIContext) || uiContextPreview) return;
|
|
52
|
-
contextProvider.getUIContext().then((context)=>setUiContextPreview(context)).catch((error)=>{
|
|
53
|
-
console.error('Failed to get UI context:', error);
|
|
54
|
-
});
|
|
55
|
-
}, [
|
|
56
|
-
contextProvider,
|
|
57
|
-
uiContextPreview
|
|
58
|
-
]);
|
|
59
|
-
useEffect(()=>{
|
|
60
|
-
const loadActionSpace = async ()=>{
|
|
61
|
-
setActionSpaceLoading(true);
|
|
62
|
-
try {
|
|
63
|
-
var _contextProvider_getUIContext;
|
|
64
|
-
const context = uiContextPreview || await (null == contextProvider ? void 0 : null == (_contextProvider_getUIContext = contextProvider.getUIContext) ? void 0 : _contextProvider_getUIContext.call(contextProvider));
|
|
65
|
-
const space = await playgroundSDK.getActionSpace(context);
|
|
66
|
-
setActionSpace(space || []);
|
|
67
|
-
} catch (error) {
|
|
68
|
-
console.error('Failed to load action space:', error);
|
|
69
|
-
setActionSpace([]);
|
|
70
|
-
} finally{
|
|
71
|
-
setActionSpaceLoading(false);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
loadActionSpace();
|
|
75
|
-
}, [
|
|
76
|
-
playgroundSDK,
|
|
77
|
-
uiContextPreview,
|
|
78
|
-
contextProvider
|
|
79
|
-
]);
|
|
80
|
-
useEffect(()=>{
|
|
81
|
-
const sizeThreshold = 750;
|
|
82
|
-
setVerticalMode(window.innerWidth < sizeThreshold);
|
|
83
|
-
const handleResize = ()=>{
|
|
84
|
-
setVerticalMode(window.innerWidth < sizeThreshold);
|
|
85
|
-
};
|
|
86
|
-
window.addEventListener('resize', handleResize);
|
|
87
|
-
return ()=>window.removeEventListener('resize', handleResize);
|
|
88
|
-
}, []);
|
|
89
|
-
const scrollToBottom = useCallback(()=>{
|
|
90
|
-
setTimeout(()=>{
|
|
91
|
-
if (infoListRef.current) infoListRef.current.scrollTop = infoListRef.current.scrollHeight;
|
|
92
|
-
}, 100);
|
|
93
|
-
}, []);
|
|
94
|
-
const checkIfScrolledToBottom = useCallback(()=>{
|
|
95
|
-
if (infoListRef.current) {
|
|
96
|
-
const { scrollTop, scrollHeight, clientHeight } = infoListRef.current;
|
|
97
|
-
const isAtBottom = scrollTop + clientHeight >= scrollHeight - 10;
|
|
98
|
-
setShowScrollToBottomButton(!isAtBottom);
|
|
99
|
-
}
|
|
100
|
-
}, []);
|
|
101
|
-
const handleScrollToBottom = useCallback(()=>{
|
|
102
|
-
if (infoListRef.current) {
|
|
103
|
-
infoListRef.current.scrollTo({
|
|
104
|
-
top: infoListRef.current.scrollHeight,
|
|
105
|
-
behavior: 'smooth'
|
|
106
|
-
});
|
|
107
|
-
setShowScrollToBottomButton(false);
|
|
108
|
-
}
|
|
109
|
-
}, []);
|
|
110
|
-
useEffect(()=>{
|
|
111
|
-
if (infoList.length > 0) scrollToBottom();
|
|
112
|
-
}, [
|
|
113
|
-
infoList,
|
|
114
|
-
scrollToBottom
|
|
115
|
-
]);
|
|
116
|
-
useEffect(()=>{
|
|
117
|
-
const container = infoListRef.current;
|
|
118
|
-
if (container) {
|
|
119
|
-
container.addEventListener('scroll', checkIfScrolledToBottom);
|
|
120
|
-
checkIfScrolledToBottom();
|
|
121
|
-
return ()=>{
|
|
122
|
-
container.removeEventListener('scroll', checkIfScrolledToBottom);
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
}, [
|
|
126
|
-
checkIfScrolledToBottom
|
|
127
|
-
]);
|
|
128
|
-
const clearInfoList = useCallback(async ()=>{
|
|
129
|
-
setInfoList([
|
|
130
|
-
welcomeMessage
|
|
131
|
-
]);
|
|
132
|
-
if (null == storage ? void 0 : storage.clearMessages) try {
|
|
133
|
-
await storage.clearMessages();
|
|
134
|
-
} catch (error) {
|
|
135
|
-
console.error('Failed to clear stored messages:', error);
|
|
136
|
-
}
|
|
137
|
-
}, [
|
|
138
|
-
storage,
|
|
139
|
-
welcomeMessage
|
|
140
|
-
]);
|
|
141
|
-
const refreshContext = useCallback(async ()=>{
|
|
142
|
-
if (null == contextProvider ? void 0 : contextProvider.refreshContext) try {
|
|
143
|
-
const newContext = await contextProvider.refreshContext();
|
|
144
|
-
setUiContextPreview(newContext);
|
|
145
|
-
} catch (error) {
|
|
146
|
-
console.error('Failed to refresh context:', error);
|
|
147
|
-
}
|
|
148
|
-
}, [
|
|
149
|
-
contextProvider
|
|
150
|
-
]);
|
|
151
|
-
return {
|
|
152
|
-
loading,
|
|
153
|
-
setLoading,
|
|
154
|
-
infoList,
|
|
155
|
-
setInfoList,
|
|
156
|
-
actionSpace,
|
|
157
|
-
actionSpaceLoading,
|
|
158
|
-
uiContextPreview,
|
|
159
|
-
setUiContextPreview,
|
|
160
|
-
showScrollToBottomButton,
|
|
161
|
-
verticalMode,
|
|
162
|
-
replayCounter,
|
|
163
|
-
setReplayCounter,
|
|
164
|
-
infoListRef,
|
|
165
|
-
currentRunningIdRef,
|
|
166
|
-
interruptedFlagRef,
|
|
167
|
-
clearInfoList,
|
|
168
|
-
refreshContext,
|
|
169
|
-
handleScrollToBottom,
|
|
170
|
-
scrollToBottom
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
export { usePlaygroundState };
|
package/dist/es/icons/avatar.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
const SvgAvatar = (props)=>/*#__PURE__*/ jsx("svg", {
|
|
4
|
-
width: 20,
|
|
5
|
-
height: 20,
|
|
6
|
-
fill: "currentColor",
|
|
7
|
-
viewBox: "0 0 24 24",
|
|
8
|
-
...props,
|
|
9
|
-
children: /*#__PURE__*/ jsx("path", {
|
|
10
|
-
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
|
|
11
|
-
})
|
|
12
|
-
});
|
|
13
|
-
const avatar = SvgAvatar;
|
|
14
|
-
export { avatar as default };
|
package/dist/lib/browser.js
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
__webpack_require__.n = (module)=>{
|
|
5
|
-
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
6
|
-
__webpack_require__.d(getter, {
|
|
7
|
-
a: getter
|
|
8
|
-
});
|
|
9
|
-
return getter;
|
|
10
|
-
};
|
|
11
|
-
})();
|
|
12
|
-
(()=>{
|
|
13
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
14
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: definition[key]
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
})();
|
|
20
|
-
(()=>{
|
|
21
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
22
|
-
})();
|
|
23
|
-
(()=>{
|
|
24
|
-
__webpack_require__.r = (exports1)=>{
|
|
25
|
-
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
26
|
-
value: 'Module'
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
29
|
-
value: true
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
})();
|
|
33
|
-
var __webpack_exports__ = {};
|
|
34
|
-
__webpack_require__.r(__webpack_exports__);
|
|
35
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
-
iconForStatus: ()=>misc_index_js_namespaceObject.iconForStatus,
|
|
37
|
-
timeCostStrElement: ()=>misc_index_js_namespaceObject.timeCostStrElement,
|
|
38
|
-
timeStr: ()=>external_utils_index_js_namespaceObject.timeStr,
|
|
39
|
-
PlaygroundResultView: ()=>playground_result_index_js_namespaceObject.PlaygroundResultView,
|
|
40
|
-
useEnvConfig: ()=>store_js_namespaceObject.useEnvConfig,
|
|
41
|
-
EnvConfig: ()=>index_js_namespaceObject.EnvConfig,
|
|
42
|
-
LocalStorageProvider: ()=>storage_provider_js_namespaceObject.LocalStorageProvider,
|
|
43
|
-
ContextPreview: ()=>context_preview_index_js_namespaceObject.ContextPreview,
|
|
44
|
-
NoOpStorageProvider: ()=>storage_provider_js_namespaceObject.NoOpStorageProvider,
|
|
45
|
-
ShinyText: ()=>shiny_text_index_js_default(),
|
|
46
|
-
StaticContextProvider: ()=>context_provider_js_namespaceObject.StaticContextProvider,
|
|
47
|
-
Blackboard: ()=>blackboard_index_js_namespaceObject.Blackboard,
|
|
48
|
-
UniversalPlaygroundDefault: ()=>universal_playground_index_js_default(),
|
|
49
|
-
Player: ()=>player_index_js_namespaceObject.Player,
|
|
50
|
-
filterBase64Value: ()=>external_utils_index_js_namespaceObject.filterBase64Value,
|
|
51
|
-
BaseContextProvider: ()=>context_provider_js_namespaceObject.BaseContextProvider,
|
|
52
|
-
NoOpContextProvider: ()=>context_provider_js_namespaceObject.NoOpContextProvider,
|
|
53
|
-
colorForName: ()=>color_js_namespaceObject.colorForName,
|
|
54
|
-
GithubStar: ()=>github_star_index_js_namespaceObject.GithubStar,
|
|
55
|
-
Logo: ()=>logo_index_js_namespaceObject.Logo,
|
|
56
|
-
globalThemeConfig: ()=>color_js_namespaceObject.globalThemeConfig,
|
|
57
|
-
highlightColorForType: ()=>color_js_namespaceObject.highlightColorForType,
|
|
58
|
-
MemoryStorageProvider: ()=>storage_provider_js_namespaceObject.MemoryStorageProvider,
|
|
59
|
-
UniversalPlayground: ()=>universal_playground_index_js_namespaceObject.UniversalPlayground
|
|
60
|
-
});
|
|
61
|
-
require("./component/index.css");
|
|
62
|
-
require("./component/universal-playground/index.css");
|
|
63
|
-
const store_js_namespaceObject = require("./store/store.js");
|
|
64
|
-
const color_js_namespaceObject = require("./utils/color.js");
|
|
65
|
-
const index_js_namespaceObject = require("./component/env-config/index.js");
|
|
66
|
-
const logo_index_js_namespaceObject = require("./component/logo/index.js");
|
|
67
|
-
const misc_index_js_namespaceObject = require("./component/misc/index.js");
|
|
68
|
-
const playground_result_index_js_namespaceObject = require("./component/playground-result/index.js");
|
|
69
|
-
const context_preview_index_js_namespaceObject = require("./component/context-preview/index.js");
|
|
70
|
-
const player_index_js_namespaceObject = require("./component/player/index.js");
|
|
71
|
-
const blackboard_index_js_namespaceObject = require("./component/blackboard/index.js");
|
|
72
|
-
const github_star_index_js_namespaceObject = require("./component/github-star/index.js");
|
|
73
|
-
const external_utils_index_js_namespaceObject = require("./utils/index.js");
|
|
74
|
-
const shiny_text_index_js_namespaceObject = require("./component/shiny-text/index.js");
|
|
75
|
-
var shiny_text_index_js_default = /*#__PURE__*/ __webpack_require__.n(shiny_text_index_js_namespaceObject);
|
|
76
|
-
const universal_playground_index_js_namespaceObject = require("./component/universal-playground/index.js");
|
|
77
|
-
var universal_playground_index_js_default = /*#__PURE__*/ __webpack_require__.n(universal_playground_index_js_namespaceObject);
|
|
78
|
-
const storage_provider_js_namespaceObject = require("./component/universal-playground/providers/storage-provider.js");
|
|
79
|
-
const context_provider_js_namespaceObject = require("./component/universal-playground/providers/context-provider.js");
|
|
80
|
-
exports.BaseContextProvider = __webpack_exports__.BaseContextProvider;
|
|
81
|
-
exports.Blackboard = __webpack_exports__.Blackboard;
|
|
82
|
-
exports.ContextPreview = __webpack_exports__.ContextPreview;
|
|
83
|
-
exports.EnvConfig = __webpack_exports__.EnvConfig;
|
|
84
|
-
exports.GithubStar = __webpack_exports__.GithubStar;
|
|
85
|
-
exports.LocalStorageProvider = __webpack_exports__.LocalStorageProvider;
|
|
86
|
-
exports.Logo = __webpack_exports__.Logo;
|
|
87
|
-
exports.MemoryStorageProvider = __webpack_exports__.MemoryStorageProvider;
|
|
88
|
-
exports.NoOpContextProvider = __webpack_exports__.NoOpContextProvider;
|
|
89
|
-
exports.NoOpStorageProvider = __webpack_exports__.NoOpStorageProvider;
|
|
90
|
-
exports.Player = __webpack_exports__.Player;
|
|
91
|
-
exports.PlaygroundResultView = __webpack_exports__.PlaygroundResultView;
|
|
92
|
-
exports.ShinyText = __webpack_exports__.ShinyText;
|
|
93
|
-
exports.StaticContextProvider = __webpack_exports__.StaticContextProvider;
|
|
94
|
-
exports.UniversalPlayground = __webpack_exports__.UniversalPlayground;
|
|
95
|
-
exports.UniversalPlaygroundDefault = __webpack_exports__.UniversalPlaygroundDefault;
|
|
96
|
-
exports.colorForName = __webpack_exports__.colorForName;
|
|
97
|
-
exports.filterBase64Value = __webpack_exports__.filterBase64Value;
|
|
98
|
-
exports.globalThemeConfig = __webpack_exports__.globalThemeConfig;
|
|
99
|
-
exports.highlightColorForType = __webpack_exports__.highlightColorForType;
|
|
100
|
-
exports.iconForStatus = __webpack_exports__.iconForStatus;
|
|
101
|
-
exports.timeCostStrElement = __webpack_exports__.timeCostStrElement;
|
|
102
|
-
exports.timeStr = __webpack_exports__.timeStr;
|
|
103
|
-
exports.useEnvConfig = __webpack_exports__.useEnvConfig;
|
|
104
|
-
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
105
|
-
"BaseContextProvider",
|
|
106
|
-
"Blackboard",
|
|
107
|
-
"ContextPreview",
|
|
108
|
-
"EnvConfig",
|
|
109
|
-
"GithubStar",
|
|
110
|
-
"LocalStorageProvider",
|
|
111
|
-
"Logo",
|
|
112
|
-
"MemoryStorageProvider",
|
|
113
|
-
"NoOpContextProvider",
|
|
114
|
-
"NoOpStorageProvider",
|
|
115
|
-
"Player",
|
|
116
|
-
"PlaygroundResultView",
|
|
117
|
-
"ShinyText",
|
|
118
|
-
"StaticContextProvider",
|
|
119
|
-
"UniversalPlayground",
|
|
120
|
-
"UniversalPlaygroundDefault",
|
|
121
|
-
"colorForName",
|
|
122
|
-
"filterBase64Value",
|
|
123
|
-
"globalThemeConfig",
|
|
124
|
-
"highlightColorForType",
|
|
125
|
-
"iconForStatus",
|
|
126
|
-
"timeCostStrElement",
|
|
127
|
-
"timeStr",
|
|
128
|
-
"useEnvConfig"
|
|
129
|
-
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
130
|
-
Object.defineProperty(exports, '__esModule', {
|
|
131
|
-
value: true
|
|
132
|
-
});
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
.history-modal-container {
|
|
2
|
-
border-radius: 12px 12px 0 0;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
height: 70vh;
|
|
5
|
-
display: flex;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.history-modal-container .history-modal-header {
|
|
10
|
-
justify-content: space-between;
|
|
11
|
-
align-items: center;
|
|
12
|
-
height: 48px;
|
|
13
|
-
padding: 0 25px;
|
|
14
|
-
line-height: 48px;
|
|
15
|
-
display: flex;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.history-modal-container .history-modal-header .close-button {
|
|
19
|
-
justify-content: center;
|
|
20
|
-
align-items: center;
|
|
21
|
-
margin-right: -4px;
|
|
22
|
-
padding: 4px;
|
|
23
|
-
display: flex;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.history-modal-container .history-modal-header .close-button .anticon {
|
|
27
|
-
color: #999;
|
|
28
|
-
font-size: 18px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.history-modal-container .history-modal-header .close-button:hover .anticon {
|
|
32
|
-
color: #666;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.history-modal-container .history-search-section {
|
|
36
|
-
background: #fff;
|
|
37
|
-
padding: 16px 20px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.history-modal-container .history-search-section .search-input-wrapper {
|
|
41
|
-
color: rgba(0, 0, 0, .25);
|
|
42
|
-
align-items: center;
|
|
43
|
-
gap: 12px;
|
|
44
|
-
display: flex;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.history-modal-container .history-search-section .search-input-wrapper .search-input {
|
|
48
|
-
background: #f1f2f3;
|
|
49
|
-
border: none;
|
|
50
|
-
border-radius: 16px;
|
|
51
|
-
flex: 1;
|
|
52
|
-
height: 36px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.history-modal-container .history-search-section .search-input-wrapper .search-input .ant-input {
|
|
56
|
-
box-shadow: none;
|
|
57
|
-
background: none;
|
|
58
|
-
border: none;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.history-modal-container .history-search-section .search-input-wrapper .search-input:hover, .history-modal-container .history-search-section .search-input-wrapper .search-input:focus-within {
|
|
62
|
-
background: #fff;
|
|
63
|
-
border-color: #d9d9d9;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.history-modal-container .history-search-section .search-input-wrapper .clear-button {
|
|
67
|
-
color: #1890ff;
|
|
68
|
-
height: auto;
|
|
69
|
-
padding: 0;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.history-modal-container .history-search-section .search-input-wrapper .clear-button:hover {
|
|
73
|
-
color: #40a9ff;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.history-modal-container .history-content {
|
|
77
|
-
flex: 1;
|
|
78
|
-
padding: 0 25px 25px;
|
|
79
|
-
overflow-y: auto;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.history-modal-container .history-content .history-group {
|
|
83
|
-
margin-bottom: 10px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.history-modal-container .history-content .history-group .history-group-title {
|
|
87
|
-
color: rgba(0, 0, 0, .45);
|
|
88
|
-
height: 40px;
|
|
89
|
-
font-size: 12px;
|
|
90
|
-
font-weight: 400;
|
|
91
|
-
line-height: 40px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.history-modal-container .history-content .history-group .history-item {
|
|
95
|
-
cursor: pointer;
|
|
96
|
-
color: rgba(0, 0, 0, .85);
|
|
97
|
-
white-space: nowrap;
|
|
98
|
-
text-overflow: ellipsis;
|
|
99
|
-
height: 40px;
|
|
100
|
-
font-size: 14px;
|
|
101
|
-
line-height: 40px;
|
|
102
|
-
overflow: hidden;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.history-modal-container .history-content .history-group .history-item:hover {
|
|
106
|
-
background: #f2f4f7;
|
|
107
|
-
margin: 0 -8px;
|
|
108
|
-
padding: 0 8px;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.history-modal-container .history-content .no-results {
|
|
112
|
-
text-align: center;
|
|
113
|
-
color: #999;
|
|
114
|
-
padding: 40px 20px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.ant-modal-wrap .ant-modal-content {
|
|
118
|
-
animation: .3s cubic-bezier(.4, 0, .2, 1) forwards slideUpFromBottom !important;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@keyframes slideUpFromBottom {
|
|
122
|
-
0% {
|
|
123
|
-
opacity: 0;
|
|
124
|
-
transform: translateY(100%);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
100% {
|
|
128
|
-
opacity: 1;
|
|
129
|
-
transform: translateY(0);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_modules__ = {
|
|
3
|
-
"../types": function(module) {
|
|
4
|
-
module.exports = require("../types.js");
|
|
5
|
-
}
|
|
6
|
-
};
|
|
7
|
-
var __webpack_module_cache__ = {};
|
|
8
|
-
function __webpack_require__(moduleId) {
|
|
9
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
10
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
11
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
12
|
-
exports: {}
|
|
13
|
-
};
|
|
14
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
15
|
-
return module.exports;
|
|
16
|
-
}
|
|
17
|
-
(()=>{
|
|
18
|
-
__webpack_require__.n = (module)=>{
|
|
19
|
-
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
20
|
-
__webpack_require__.d(getter, {
|
|
21
|
-
a: getter
|
|
22
|
-
});
|
|
23
|
-
return getter;
|
|
24
|
-
};
|
|
25
|
-
})();
|
|
26
|
-
(()=>{
|
|
27
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
28
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: definition[key]
|
|
31
|
-
});
|
|
32
|
-
};
|
|
33
|
-
})();
|
|
34
|
-
(()=>{
|
|
35
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
36
|
-
})();
|
|
37
|
-
(()=>{
|
|
38
|
-
__webpack_require__.r = (exports1)=>{
|
|
39
|
-
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
40
|
-
value: 'Module'
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
43
|
-
value: true
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
})();
|
|
47
|
-
var __webpack_exports__ = {};
|
|
48
|
-
(()=>{
|
|
49
|
-
__webpack_require__.r(__webpack_exports__);
|
|
50
|
-
var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../types");
|
|
51
|
-
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
52
|
-
for(var __WEBPACK_IMPORT_KEY__ in _types__WEBPACK_IMPORTED_MODULE_0__)if ("default" !== __WEBPACK_IMPORT_KEY__) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
53
|
-
return _types__WEBPACK_IMPORTED_MODULE_0__[key];
|
|
54
|
-
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
55
|
-
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
56
|
-
})();
|
|
57
|
-
for(var __webpack_i__ in __webpack_exports__)exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
58
|
-
Object.defineProperty(exports, '__esModule', {
|
|
59
|
-
value: true
|
|
60
|
-
});
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __webpack_modules__ = {
|
|
3
|
-
"../../hooks/useServerValid": function(module) {
|
|
4
|
-
module.exports = require("../../hooks/useServerValid.js");
|
|
5
|
-
},
|
|
6
|
-
"../../store/store": function(module) {
|
|
7
|
-
module.exports = require("../../store/store.js");
|
|
8
|
-
},
|
|
9
|
-
"../../types": function(module) {
|
|
10
|
-
module.exports = require("../../types.js");
|
|
11
|
-
},
|
|
12
|
-
"../context-preview": function(module) {
|
|
13
|
-
module.exports = require("../context-preview/index.js");
|
|
14
|
-
},
|
|
15
|
-
"../playground-result": function(module) {
|
|
16
|
-
module.exports = require("../playground-result/index.js");
|
|
17
|
-
},
|
|
18
|
-
"../prompt-input": function(module) {
|
|
19
|
-
module.exports = require("../prompt-input/index.js");
|
|
20
|
-
},
|
|
21
|
-
"../service-mode-control": function(module) {
|
|
22
|
-
module.exports = require("../service-mode-control/index.js");
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
var __webpack_module_cache__ = {};
|
|
26
|
-
function __webpack_require__(moduleId) {
|
|
27
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
28
|
-
if (void 0 !== cachedModule) return cachedModule.exports;
|
|
29
|
-
var module = __webpack_module_cache__[moduleId] = {
|
|
30
|
-
exports: {}
|
|
31
|
-
};
|
|
32
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
33
|
-
return module.exports;
|
|
34
|
-
}
|
|
35
|
-
(()=>{
|
|
36
|
-
__webpack_require__.n = (module)=>{
|
|
37
|
-
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
38
|
-
__webpack_require__.d(getter, {
|
|
39
|
-
a: getter
|
|
40
|
-
});
|
|
41
|
-
return getter;
|
|
42
|
-
};
|
|
43
|
-
})();
|
|
44
|
-
(()=>{
|
|
45
|
-
__webpack_require__.d = (exports1, definition)=>{
|
|
46
|
-
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
47
|
-
enumerable: true,
|
|
48
|
-
get: definition[key]
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
})();
|
|
52
|
-
(()=>{
|
|
53
|
-
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
54
|
-
})();
|
|
55
|
-
(()=>{
|
|
56
|
-
__webpack_require__.r = (exports1)=>{
|
|
57
|
-
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
58
|
-
value: 'Module'
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports1, '__esModule', {
|
|
61
|
-
value: true
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
})();
|
|
65
|
-
var __webpack_exports__ = {};
|
|
66
|
-
(()=>{
|
|
67
|
-
__webpack_require__.r(__webpack_exports__);
|
|
68
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
69
|
-
ContextPreview: ()=>_context_preview__WEBPACK_IMPORTED_MODULE_0__.ContextPreview,
|
|
70
|
-
PlaygroundResultView: ()=>_playground_result__WEBPACK_IMPORTED_MODULE_1__.PlaygroundResultView,
|
|
71
|
-
PromptInput: ()=>_prompt_input__WEBPACK_IMPORTED_MODULE_2__.PromptInput,
|
|
72
|
-
ServiceModeControl: ()=>_service_mode_control__WEBPACK_IMPORTED_MODULE_4__.ServiceModeControl,
|
|
73
|
-
useEnvConfig: ()=>_store_store__WEBPACK_IMPORTED_MODULE_6__.useEnvConfig,
|
|
74
|
-
useServerValid: ()=>_hooks_useServerValid__WEBPACK_IMPORTED_MODULE_3__.useServerValid
|
|
75
|
-
});
|
|
76
|
-
var _context_preview__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../context-preview");
|
|
77
|
-
var _playground_result__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../playground-result");
|
|
78
|
-
var _prompt_input__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("../prompt-input");
|
|
79
|
-
var _hooks_useServerValid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("../../hooks/useServerValid");
|
|
80
|
-
var _service_mode_control__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("../service-mode-control");
|
|
81
|
-
var _types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("../../types");
|
|
82
|
-
var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
83
|
-
for(var __WEBPACK_IMPORT_KEY__ in _types__WEBPACK_IMPORTED_MODULE_5__)if ([
|
|
84
|
-
"PromptInput",
|
|
85
|
-
"ContextPreview",
|
|
86
|
-
"ServiceModeControl",
|
|
87
|
-
"default",
|
|
88
|
-
"PlaygroundResultView",
|
|
89
|
-
"useEnvConfig",
|
|
90
|
-
"useServerValid"
|
|
91
|
-
].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = (function(key) {
|
|
92
|
-
return _types__WEBPACK_IMPORTED_MODULE_5__[key];
|
|
93
|
-
}).bind(0, __WEBPACK_IMPORT_KEY__);
|
|
94
|
-
__webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
95
|
-
var _store_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("../../store/store");
|
|
96
|
-
})();
|
|
97
|
-
exports.ContextPreview = __webpack_exports__.ContextPreview;
|
|
98
|
-
exports.PlaygroundResultView = __webpack_exports__.PlaygroundResultView;
|
|
99
|
-
exports.PromptInput = __webpack_exports__.PromptInput;
|
|
100
|
-
exports.ServiceModeControl = __webpack_exports__.ServiceModeControl;
|
|
101
|
-
exports.useEnvConfig = __webpack_exports__.useEnvConfig;
|
|
102
|
-
exports.useServerValid = __webpack_exports__.useServerValid;
|
|
103
|
-
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
104
|
-
"ContextPreview",
|
|
105
|
-
"PlaygroundResultView",
|
|
106
|
-
"PromptInput",
|
|
107
|
-
"ServiceModeControl",
|
|
108
|
-
"useEnvConfig",
|
|
109
|
-
"useServerValid"
|
|
110
|
-
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
111
|
-
Object.defineProperty(exports, '__esModule', {
|
|
112
|
-
value: true
|
|
113
|
-
});
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
.result-wrapper {
|
|
2
|
-
justify-content: center;
|
|
3
|
-
height: 100%;
|
|
4
|
-
margin: 4px 0;
|
|
5
|
-
display: flex;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.result-wrapper .loading-container {
|
|
9
|
-
text-align: center;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.result-wrapper .loading-container .loading-progress-text {
|
|
13
|
-
color: #888;
|
|
14
|
-
margin-top: 8px;
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.result-wrapper pre {
|
|
19
|
-
white-space: pre-wrap;
|
|
20
|
-
text-wrap: unset;
|
|
21
|
-
word-wrap: break-word;
|
|
22
|
-
overflow-wrap: break-word;
|
|
23
|
-
background: #f2f4f7;
|
|
24
|
-
border-radius: 8px;
|
|
25
|
-
margin: 0;
|
|
26
|
-
padding: 14px;
|
|
27
|
-
overflow: scroll;
|
|
28
|
-
}
|
|
29
|
-
|