@midscene/visualizer 0.26.2 → 0.26.3-beta-20250813075706.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/blank_polyfill.mjs +2 -0
- package/dist/es/component/blackboard.css +12 -5
- package/dist/es/component/blackboard.mjs +266 -0
- package/dist/es/component/color.mjs +35 -0
- package/dist/es/component/describer.css +9 -5
- package/dist/es/component/describer.mjs +128 -0
- package/dist/es/component/env-config.mjs +112 -0
- package/dist/es/component/github-star.css +1 -0
- package/dist/es/component/github-star.mjs +20 -0
- package/dist/es/component/logo.css +5 -3
- package/dist/es/component/logo.mjs +20 -0
- package/dist/es/component/misc.mjs +54 -0
- package/dist/es/component/pixi-loader.mjs +16 -0
- package/dist/es/component/player.css +88 -70
- package/dist/es/component/player.mjs +628 -0
- package/dist/es/component/playground/ConfigSelector.mjs +53 -0
- package/dist/es/component/playground/ContextPreview.mjs +39 -0
- package/dist/es/component/playground/HistorySelector.mjs +193 -0
- package/dist/es/component/playground/PlaygroundResult.mjs +60 -0
- package/dist/es/component/playground/PromptInput.mjs +225 -0
- package/dist/es/component/playground/ServiceModeControl.mjs +100 -0
- package/dist/es/component/playground/index.css +140 -98
- package/dist/es/component/playground/playground-constants.mjs +45 -0
- package/dist/es/component/playground/playground-utils.mjs +89 -0
- package/dist/es/component/playground/useServerValid.mjs +27 -0
- package/dist/es/component/playground/useStaticPageAgent.mjs +12 -0
- package/dist/es/component/replay-scripts.mjs +271 -0
- package/dist/es/component/shiny-text.css +33 -22
- package/dist/es/component/shiny-text.mjs +15 -0
- package/dist/es/component/store/history.mjs +55 -0
- package/dist/es/component/store/store.mjs +128 -0
- package/dist/es/icons/close.mjs +19 -0
- package/dist/es/icons/history.mjs +30 -0
- package/dist/es/icons/magnifying-glass.mjs +39 -0
- package/dist/es/icons/setting.mjs +20 -0
- package/dist/es/index.mjs +21 -0
- package/dist/es/init.mjs +10 -0
- package/dist/es/{utils.js → utils.mjs} +51 -75
- package/dist/lib/blank_polyfill.js +34 -38
- package/dist/lib/component/blackboard.css +12 -5
- package/dist/lib/component/blackboard.js +293 -306
- package/dist/lib/component/color.js +64 -74
- package/dist/lib/component/describer.css +9 -5
- package/dist/lib/component/describer.js +158 -198
- package/dist/lib/component/env-config.js +142 -147
- package/dist/lib/component/github-star.css +1 -0
- package/dist/lib/component/github-star.js +51 -62
- package/dist/lib/component/logo.css +5 -3
- package/dist/lib/component/logo.js +53 -56
- package/dist/lib/component/misc.js +85 -84
- package/dist/lib/component/pixi-loader.js +49 -80
- package/dist/lib/component/player.css +88 -70
- package/dist/lib/component/player.js +627 -738
- package/dist/lib/component/playground/ConfigSelector.js +91 -92
- package/dist/lib/component/playground/ContextPreview.js +80 -72
- package/dist/lib/component/playground/HistorySelector.js +234 -197
- package/dist/lib/component/playground/PlaygroundResult.js +100 -103
- package/dist/lib/component/playground/PromptInput.js +250 -237
- package/dist/lib/component/playground/ServiceModeControl.js +124 -124
- package/dist/lib/component/playground/index.css +140 -98
- package/dist/lib/component/playground/playground-constants.js +97 -73
- package/dist/lib/component/playground/playground-types.js +17 -31
- package/dist/lib/component/playground/playground-utils.js +140 -168
- package/dist/lib/component/playground/useServerValid.js +55 -86
- package/dist/lib/component/playground/useStaticPageAgent.js +45 -51
- package/dist/lib/component/replay-scripts.js +291 -373
- package/dist/lib/component/shiny-text.css +33 -22
- package/dist/lib/component/shiny-text.js +46 -57
- package/dist/lib/component/store/history.js +58 -64
- package/dist/lib/component/store/store.js +132 -128
- package/dist/lib/icons/close.js +53 -0
- package/dist/lib/icons/history.js +64 -0
- package/dist/lib/icons/magnifying-glass.js +73 -0
- package/dist/lib/icons/setting.js +54 -0
- package/dist/lib/index.js +158 -124
- package/dist/lib/init.js +39 -46
- package/dist/lib/utils.js +105 -109
- package/dist/types/blank_polyfill.d.ts +2 -2
- package/dist/types/component/playground/ConfigSelector.d.ts +1 -0
- package/dist/types/component/playground/ContextPreview.d.ts +1 -0
- package/dist/types/component/playground/HistorySelector.d.ts +1 -0
- package/dist/types/component/playground/PlaygroundResult.d.ts +1 -0
- package/dist/types/component/playground/PromptInput.d.ts +1 -0
- package/dist/types/component/playground/ServiceModeControl.d.ts +1 -0
- package/package.json +16 -19
- package/dist/es/assets/close.909351c0.svg +0 -4
- package/dist/es/assets/history.164a4eab.svg +0 -4
- package/dist/es/assets/magnifying-glass.9498e70e.svg +0 -12
- package/dist/es/assets/setting.80ab7285.svg +0 -11
- package/dist/es/blank_polyfill.js +0 -10
- package/dist/es/component/blackboard.js +0 -286
- package/dist/es/component/color.js +0 -49
- package/dist/es/component/describer.js +0 -173
- package/dist/es/component/env-config.js +0 -117
- package/dist/es/component/github-star.js +0 -31
- package/dist/es/component/logo.js +0 -25
- package/dist/es/component/misc.js +0 -63
- package/dist/es/component/pixi-loader.js +0 -51
- package/dist/es/component/player.js +0 -746
- package/dist/es/component/playground/ConfigSelector.js +0 -64
- package/dist/es/component/playground/ContextPreview.js +0 -42
- package/dist/es/component/playground/HistorySelector.js +0 -168
- package/dist/es/component/playground/PlaygroundResult.js +0 -73
- package/dist/es/component/playground/PromptInput.js +0 -212
- package/dist/es/component/playground/ServiceModeControl.js +0 -100
- package/dist/es/component/playground/playground-constants.js +0 -39
- package/dist/es/component/playground/playground-types.js +0 -6
- package/dist/es/component/playground/playground-utils.js +0 -141
- package/dist/es/component/playground/useServerValid.js +0 -58
- package/dist/es/component/playground/useStaticPageAgent.js +0 -20
- package/dist/es/component/replay-scripts.js +0 -361
- package/dist/es/component/shiny-text.js +0 -30
- package/dist/es/component/store/history.js +0 -34
- package/dist/es/component/store/store.js +0 -99
- package/dist/es/index.js +0 -79
- package/dist/es/init.js +0 -17
- package/dist/index.css +0 -595
- package/dist/index.js +0 -1
- package/dist/lib/assets/close.909351c0.svg +0 -4
- package/dist/lib/assets/history.164a4eab.svg +0 -4
- package/dist/lib/assets/magnifying-glass.9498e70e.svg +0 -12
- package/dist/lib/assets/setting.80ab7285.svg +0 -11
- package/dist/lib/component/common.css +0 -0
- /package/dist/es/component/{common.css → playground/playground-types.mjs} +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
default: ()=>icons_close
|
|
28
|
+
});
|
|
29
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
require("react");
|
|
31
|
+
const SvgClose = (props)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("svg", {
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: 18,
|
|
34
|
+
height: 16,
|
|
35
|
+
fill: "none",
|
|
36
|
+
viewBox: "0 0 18 16",
|
|
37
|
+
...props,
|
|
38
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
39
|
+
stroke: "#333",
|
|
40
|
+
strokeLinecap: "round",
|
|
41
|
+
strokeLinejoin: "round",
|
|
42
|
+
strokeWidth: 1.333,
|
|
43
|
+
d: "m3.124 2.667 11.162 10.666M3.124 13.333 14.286 2.667"
|
|
44
|
+
})
|
|
45
|
+
});
|
|
46
|
+
const icons_close = SvgClose;
|
|
47
|
+
exports["default"] = __webpack_exports__["default"];
|
|
48
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
49
|
+
"default"
|
|
50
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
51
|
+
Object.defineProperty(exports, '__esModule', {
|
|
52
|
+
value: true
|
|
53
|
+
});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
default: ()=>icons_history
|
|
28
|
+
});
|
|
29
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
require("react");
|
|
31
|
+
const SvgHistory = (props)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: 25,
|
|
34
|
+
height: 25,
|
|
35
|
+
fill: "none",
|
|
36
|
+
viewBox: "0 0 25 25",
|
|
37
|
+
...props,
|
|
38
|
+
children: [
|
|
39
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
40
|
+
stroke: "#000",
|
|
41
|
+
strokeLinecap: "round",
|
|
42
|
+
strokeLinejoin: "round",
|
|
43
|
+
strokeOpacity: 0.85,
|
|
44
|
+
strokeWidth: 1.33,
|
|
45
|
+
d: "M6.63 9.021c-2.862 6.126 2.197 10.501 6.063 10.501a7 7 0 1 0-6.063-10.5"
|
|
46
|
+
}),
|
|
47
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
48
|
+
stroke: "#000",
|
|
49
|
+
strokeLinecap: "round",
|
|
50
|
+
strokeLinejoin: "round",
|
|
51
|
+
strokeOpacity: 0.85,
|
|
52
|
+
strokeWidth: 1.33,
|
|
53
|
+
d: "M12.695 8.322v4.203l2.967 2.968"
|
|
54
|
+
})
|
|
55
|
+
]
|
|
56
|
+
});
|
|
57
|
+
const icons_history = SvgHistory;
|
|
58
|
+
exports["default"] = __webpack_exports__["default"];
|
|
59
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
60
|
+
"default"
|
|
61
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
62
|
+
Object.defineProperty(exports, '__esModule', {
|
|
63
|
+
value: true
|
|
64
|
+
});
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
default: ()=>magnifying_glass
|
|
28
|
+
});
|
|
29
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
require("react");
|
|
31
|
+
const SvgMagnifyingGlass = (props)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: 19,
|
|
34
|
+
height: 19,
|
|
35
|
+
fill: "none",
|
|
36
|
+
viewBox: "0 0 19 19",
|
|
37
|
+
...props,
|
|
38
|
+
children: [
|
|
39
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("g", {
|
|
40
|
+
stroke: "#000",
|
|
41
|
+
strokeLinejoin: "round",
|
|
42
|
+
strokeOpacity: 0.65,
|
|
43
|
+
strokeWidth: 1.5,
|
|
44
|
+
clipPath: "url(#magnifying-glass_svg__a)",
|
|
45
|
+
children: [
|
|
46
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
47
|
+
d: "M8.397 14.29a6.375 6.375 0 1 0 0-12.75 6.375 6.375 0 0 0 0 12.75Z"
|
|
48
|
+
}),
|
|
49
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
50
|
+
strokeLinecap: "round",
|
|
51
|
+
d: "M10.519 5.42a3 3 0 0 0-2.122-.88 3 3 0 0 0-2.121.88M12.98 12.499l3.182 3.182"
|
|
52
|
+
})
|
|
53
|
+
]
|
|
54
|
+
}),
|
|
55
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("defs", {
|
|
56
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("clipPath", {
|
|
57
|
+
id: "magnifying-glass_svg__a",
|
|
58
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
59
|
+
fill: "#fff",
|
|
60
|
+
d: "M.522.04h18v18h-18z"
|
|
61
|
+
})
|
|
62
|
+
})
|
|
63
|
+
})
|
|
64
|
+
]
|
|
65
|
+
});
|
|
66
|
+
const magnifying_glass = SvgMagnifyingGlass;
|
|
67
|
+
exports["default"] = __webpack_exports__["default"];
|
|
68
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
69
|
+
"default"
|
|
70
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
71
|
+
Object.defineProperty(exports, '__esModule', {
|
|
72
|
+
value: true
|
|
73
|
+
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
default: ()=>setting
|
|
28
|
+
});
|
|
29
|
+
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
require("react");
|
|
31
|
+
const SvgSetting = (props)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("svg", {
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: 27,
|
|
34
|
+
height: 27,
|
|
35
|
+
fill: "none",
|
|
36
|
+
viewBox: "0 0 27 27",
|
|
37
|
+
...props,
|
|
38
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("path", {
|
|
39
|
+
stroke: "#000",
|
|
40
|
+
strokeLinecap: "round",
|
|
41
|
+
strokeLinejoin: "round",
|
|
42
|
+
strokeOpacity: 0.85,
|
|
43
|
+
strokeWidth: 1.333,
|
|
44
|
+
d: "M19.527 8.855h-2M14.86 7.522v2.667M14.86 8.855H7.527M10.194 13.522H7.527M12.86 12.189v2.666M20.193 13.522H12.86M19.527 18.189h-2M14.86 16.855v2.667M14.86 18.189H7.527"
|
|
45
|
+
})
|
|
46
|
+
});
|
|
47
|
+
const setting = SvgSetting;
|
|
48
|
+
exports["default"] = __webpack_exports__["default"];
|
|
49
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
50
|
+
"default"
|
|
51
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
52
|
+
Object.defineProperty(exports, '__esModule', {
|
|
53
|
+
value: true
|
|
54
|
+
});
|
package/dist/lib/index.js
CHANGED
|
@@ -1,127 +1,161 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
+
timeCostStrElement: ()=>misc_js_namespaceObject.timeCostStrElement,
|
|
37
|
+
actionNameForType: ()=>playground_utils_js_namespaceObject.actionNameForType,
|
|
38
|
+
PlaygroundResultView: ()=>PlaygroundResult_js_namespaceObject.PlaygroundResultView,
|
|
39
|
+
timeStr: ()=>external_utils_js_namespaceObject.timeStr,
|
|
40
|
+
EnvConfig: ()=>env_config_js_namespaceObject.EnvConfig,
|
|
41
|
+
allScriptsFromDump: ()=>replay_scripts_js_namespaceObject.allScriptsFromDump,
|
|
42
|
+
cancelTask: ()=>playground_utils_js_namespaceObject.cancelTask,
|
|
43
|
+
generateAnimationScripts: ()=>replay_scripts_js_namespaceObject.generateAnimationScripts,
|
|
44
|
+
getPlaceholderForType: ()=>playground_utils_js_namespaceObject.getPlaceholderForType,
|
|
45
|
+
ShinyText: ()=>shiny_text_js_default(),
|
|
46
|
+
staticAgentFromContext: ()=>playground_utils_js_namespaceObject.staticAgentFromContext,
|
|
47
|
+
useStaticPageAgent: ()=>useStaticPageAgent_js_namespaceObject.useStaticPageAgent,
|
|
48
|
+
useServerValid: ()=>useServerValid_js_namespaceObject.useServerValid,
|
|
49
|
+
ServiceModeControl: ()=>ServiceModeControl_js_namespaceObject.ServiceModeControl,
|
|
50
|
+
colorForName: ()=>color_js_namespaceObject.colorForName,
|
|
51
|
+
GithubStar: ()=>github_star_js_namespaceObject.GithubStar,
|
|
52
|
+
Logo: ()=>logo_js_namespaceObject.Logo,
|
|
53
|
+
checkServerStatus: ()=>playground_utils_js_namespaceObject.checkServerStatus,
|
|
54
|
+
blankResult: ()=>playground_utils_js_namespaceObject.blankResult,
|
|
55
|
+
useEnvConfig: ()=>store_js_namespaceObject.useEnvConfig,
|
|
56
|
+
Describer: ()=>describer_js_namespaceObject.Describer,
|
|
57
|
+
PromptInput: ()=>PromptInput_js_namespaceObject.PromptInput,
|
|
58
|
+
ContextPreview: ()=>ContextPreview_js_namespaceObject.ContextPreview,
|
|
59
|
+
requestPlaygroundServer: ()=>playground_utils_js_namespaceObject.requestPlaygroundServer,
|
|
60
|
+
Blackboard: ()=>blackboard_js_namespaceObject.Blackboard,
|
|
61
|
+
overrideServerConfig: ()=>playground_utils_js_namespaceObject.overrideServerConfig,
|
|
62
|
+
formatErrorMessage: ()=>playground_utils_js_namespaceObject.formatErrorMessage,
|
|
63
|
+
Player: ()=>player_js_namespaceObject.Player,
|
|
64
|
+
filterBase64Value: ()=>external_utils_js_namespaceObject.filterBase64Value,
|
|
65
|
+
highlightColorForType: ()=>color_js_namespaceObject.highlightColorForType,
|
|
66
|
+
iconForStatus: ()=>misc_js_namespaceObject.iconForStatus,
|
|
67
|
+
globalThemeConfig: ()=>color_js_namespaceObject.globalThemeConfig,
|
|
68
|
+
getTaskProgress: ()=>playground_utils_js_namespaceObject.getTaskProgress
|
|
64
69
|
});
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
var
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
70
|
+
const useStaticPageAgent_js_namespaceObject = require("./component/playground/useStaticPageAgent.js");
|
|
71
|
+
require("./component/playground/index.css");
|
|
72
|
+
const replay_scripts_js_namespaceObject = require("./component/replay-scripts.js");
|
|
73
|
+
const store_js_namespaceObject = require("./component/store/store.js");
|
|
74
|
+
const color_js_namespaceObject = require("./component/color.js");
|
|
75
|
+
const env_config_js_namespaceObject = require("./component/env-config.js");
|
|
76
|
+
const logo_js_namespaceObject = require("./component/logo.js");
|
|
77
|
+
const misc_js_namespaceObject = require("./component/misc.js");
|
|
78
|
+
const useServerValid_js_namespaceObject = require("./component/playground/useServerValid.js");
|
|
79
|
+
const PlaygroundResult_js_namespaceObject = require("./component/playground/PlaygroundResult.js");
|
|
80
|
+
const ServiceModeControl_js_namespaceObject = require("./component/playground/ServiceModeControl.js");
|
|
81
|
+
const ContextPreview_js_namespaceObject = require("./component/playground/ContextPreview.js");
|
|
82
|
+
const PromptInput_js_namespaceObject = require("./component/playground/PromptInput.js");
|
|
83
|
+
const player_js_namespaceObject = require("./component/player.js");
|
|
84
|
+
const blackboard_js_namespaceObject = require("./component/blackboard.js");
|
|
85
|
+
const github_star_js_namespaceObject = require("./component/github-star.js");
|
|
86
|
+
const describer_js_namespaceObject = require("./component/describer.js");
|
|
87
|
+
const playground_utils_js_namespaceObject = require("./component/playground/playground-utils.js");
|
|
88
|
+
const external_utils_js_namespaceObject = require("./utils.js");
|
|
89
|
+
const shiny_text_js_namespaceObject = require("./component/shiny-text.js");
|
|
90
|
+
var shiny_text_js_default = /*#__PURE__*/ __webpack_require__.n(shiny_text_js_namespaceObject);
|
|
91
|
+
exports.Blackboard = __webpack_exports__.Blackboard;
|
|
92
|
+
exports.ContextPreview = __webpack_exports__.ContextPreview;
|
|
93
|
+
exports.Describer = __webpack_exports__.Describer;
|
|
94
|
+
exports.EnvConfig = __webpack_exports__.EnvConfig;
|
|
95
|
+
exports.GithubStar = __webpack_exports__.GithubStar;
|
|
96
|
+
exports.Logo = __webpack_exports__.Logo;
|
|
97
|
+
exports.Player = __webpack_exports__.Player;
|
|
98
|
+
exports.PlaygroundResultView = __webpack_exports__.PlaygroundResultView;
|
|
99
|
+
exports.PromptInput = __webpack_exports__.PromptInput;
|
|
100
|
+
exports.ServiceModeControl = __webpack_exports__.ServiceModeControl;
|
|
101
|
+
exports.ShinyText = __webpack_exports__.ShinyText;
|
|
102
|
+
exports.actionNameForType = __webpack_exports__.actionNameForType;
|
|
103
|
+
exports.allScriptsFromDump = __webpack_exports__.allScriptsFromDump;
|
|
104
|
+
exports.blankResult = __webpack_exports__.blankResult;
|
|
105
|
+
exports.cancelTask = __webpack_exports__.cancelTask;
|
|
106
|
+
exports.checkServerStatus = __webpack_exports__.checkServerStatus;
|
|
107
|
+
exports.colorForName = __webpack_exports__.colorForName;
|
|
108
|
+
exports.filterBase64Value = __webpack_exports__.filterBase64Value;
|
|
109
|
+
exports.formatErrorMessage = __webpack_exports__.formatErrorMessage;
|
|
110
|
+
exports.generateAnimationScripts = __webpack_exports__.generateAnimationScripts;
|
|
111
|
+
exports.getPlaceholderForType = __webpack_exports__.getPlaceholderForType;
|
|
112
|
+
exports.getTaskProgress = __webpack_exports__.getTaskProgress;
|
|
113
|
+
exports.globalThemeConfig = __webpack_exports__.globalThemeConfig;
|
|
114
|
+
exports.highlightColorForType = __webpack_exports__.highlightColorForType;
|
|
115
|
+
exports.iconForStatus = __webpack_exports__.iconForStatus;
|
|
116
|
+
exports.overrideServerConfig = __webpack_exports__.overrideServerConfig;
|
|
117
|
+
exports.requestPlaygroundServer = __webpack_exports__.requestPlaygroundServer;
|
|
118
|
+
exports.staticAgentFromContext = __webpack_exports__.staticAgentFromContext;
|
|
119
|
+
exports.timeCostStrElement = __webpack_exports__.timeCostStrElement;
|
|
120
|
+
exports.timeStr = __webpack_exports__.timeStr;
|
|
121
|
+
exports.useEnvConfig = __webpack_exports__.useEnvConfig;
|
|
122
|
+
exports.useServerValid = __webpack_exports__.useServerValid;
|
|
123
|
+
exports.useStaticPageAgent = __webpack_exports__.useStaticPageAgent;
|
|
124
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
125
|
+
"Blackboard",
|
|
126
|
+
"ContextPreview",
|
|
127
|
+
"Describer",
|
|
128
|
+
"EnvConfig",
|
|
129
|
+
"GithubStar",
|
|
130
|
+
"Logo",
|
|
131
|
+
"Player",
|
|
132
|
+
"PlaygroundResultView",
|
|
133
|
+
"PromptInput",
|
|
134
|
+
"ServiceModeControl",
|
|
135
|
+
"ShinyText",
|
|
136
|
+
"actionNameForType",
|
|
137
|
+
"allScriptsFromDump",
|
|
138
|
+
"blankResult",
|
|
139
|
+
"cancelTask",
|
|
140
|
+
"checkServerStatus",
|
|
141
|
+
"colorForName",
|
|
142
|
+
"filterBase64Value",
|
|
143
|
+
"formatErrorMessage",
|
|
144
|
+
"generateAnimationScripts",
|
|
145
|
+
"getPlaceholderForType",
|
|
146
|
+
"getTaskProgress",
|
|
147
|
+
"globalThemeConfig",
|
|
148
|
+
"highlightColorForType",
|
|
149
|
+
"iconForStatus",
|
|
150
|
+
"overrideServerConfig",
|
|
151
|
+
"requestPlaygroundServer",
|
|
152
|
+
"staticAgentFromContext",
|
|
153
|
+
"timeCostStrElement",
|
|
154
|
+
"timeStr",
|
|
155
|
+
"useEnvConfig",
|
|
156
|
+
"useServerValid",
|
|
157
|
+
"useStaticPageAgent"
|
|
158
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
159
|
+
Object.defineProperty(exports, '__esModule', {
|
|
160
|
+
value: true
|
|
127
161
|
});
|
package/dist/lib/init.js
CHANGED
|
@@ -1,51 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
)
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var init_exports = {};
|
|
30
|
-
__export(init_exports, {
|
|
31
|
-
setSideEffect: () => setSideEffect
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
setSideEffect: ()=>setSideEffect
|
|
32
28
|
});
|
|
33
|
-
|
|
34
|
-
var
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
var buffer = {
|
|
38
|
-
Buffer: import_buffer.default
|
|
39
|
-
};
|
|
40
|
-
var import_buffer2 = require("buffer");
|
|
41
|
-
window.global || (window.global = window);
|
|
42
|
-
window.Buffer = import_buffer2.Buffer;
|
|
29
|
+
const external_buffer_namespaceObject = require("buffer");
|
|
30
|
+
var _window;
|
|
31
|
+
(_window = window).global || (_window.global = window);
|
|
32
|
+
window.Buffer = external_buffer_namespaceObject.Buffer;
|
|
43
33
|
let sideEffect = 0;
|
|
44
|
-
const setSideEffect = ()
|
|
45
|
-
|
|
46
|
-
|
|
34
|
+
const setSideEffect = ()=>{
|
|
35
|
+
sideEffect++;
|
|
36
|
+
return sideEffect;
|
|
47
37
|
};
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
38
|
+
exports.setSideEffect = __webpack_exports__.setSideEffect;
|
|
39
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
40
|
+
"setSideEffect"
|
|
41
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
42
|
+
Object.defineProperty(exports, '__esModule', {
|
|
43
|
+
value: true
|
|
51
44
|
});
|