@sqaitech/visualizer 0.30.10 → 0.30.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.
- package/dist/es/assets/sqai-logo.mjs +2 -0
- package/dist/es/component/logo/index.mjs +5 -4
- package/dist/es/component/player/index.mjs +2 -2
- package/dist/es/static/image/sqai-logo.png +0 -0
- package/dist/lib/assets/sqai-logo.js +24 -0
- package/dist/lib/component/logo/index.js +15 -4
- package/dist/lib/component/player/index.js +2 -2
- package/dist/lib/static/image/sqai-logo.png +0 -0
- package/dist/types/component/logo/index.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import "./index.css";
|
|
3
|
-
|
|
3
|
+
import sqai_logo from "../../assets/sqai-logo.mjs";
|
|
4
|
+
const LogoUrl = sqai_logo;
|
|
4
5
|
const Logo = (param)=>{
|
|
5
6
|
let { hideLogo = false } = param;
|
|
6
7
|
if (hideLogo) return null;
|
|
7
8
|
return /*#__PURE__*/ jsx("div", {
|
|
8
9
|
className: "logo",
|
|
9
10
|
children: /*#__PURE__*/ jsx("a", {
|
|
10
|
-
href: "https://
|
|
11
|
+
href: "https://sqai.tech",
|
|
11
12
|
target: "_blank",
|
|
12
13
|
rel: "noreferrer",
|
|
13
14
|
children: /*#__PURE__*/ jsx("img", {
|
|
14
|
-
alt: "
|
|
15
|
-
src:
|
|
15
|
+
alt: "SQAI Logo",
|
|
16
|
+
src: sqai_logo
|
|
16
17
|
})
|
|
17
18
|
})
|
|
18
19
|
});
|
|
@@ -72,7 +72,7 @@ const downloadReport = (content)=>{
|
|
|
72
72
|
const url = URL.createObjectURL(blob);
|
|
73
73
|
const a = document.createElement('a');
|
|
74
74
|
a.href = url;
|
|
75
|
-
a.download = '
|
|
75
|
+
a.download = 'sqai_report.html';
|
|
76
76
|
a.click();
|
|
77
77
|
};
|
|
78
78
|
class RecordingSession {
|
|
@@ -98,7 +98,7 @@ class RecordingSession {
|
|
|
98
98
|
const url = URL.createObjectURL(blob);
|
|
99
99
|
const a = document.createElement('a');
|
|
100
100
|
a.href = url;
|
|
101
|
-
a.download = '
|
|
101
|
+
a.download = 'sqai_replay.webm';
|
|
102
102
|
a.click();
|
|
103
103
|
URL.revokeObjectURL(url);
|
|
104
104
|
};
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_modules__ = {
|
|
3
|
+
"./src/assets/sqai-logo.png": function(module) {
|
|
4
|
+
module.exports = require("../static/image/sqai-logo.png");
|
|
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
|
+
var __webpack_exports__ = __webpack_require__("./src/assets/sqai-logo.png");
|
|
18
|
+
exports["default"] = __webpack_exports__["default"];
|
|
19
|
+
for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
20
|
+
"default"
|
|
21
|
+
].indexOf(__webpack_i__)) exports[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
22
|
+
Object.defineProperty(exports, '__esModule', {
|
|
23
|
+
value: true
|
|
24
|
+
});
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
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
|
+
})();
|
|
3
12
|
(()=>{
|
|
4
13
|
__webpack_require__.d = (exports1, definition)=>{
|
|
5
14
|
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
@@ -29,19 +38,21 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
38
|
});
|
|
30
39
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
40
|
require("./index.css");
|
|
32
|
-
const
|
|
41
|
+
const sqai_logo_js_namespaceObject = require("../../assets/sqai-logo.js");
|
|
42
|
+
var sqai_logo_js_default = /*#__PURE__*/ __webpack_require__.n(sqai_logo_js_namespaceObject);
|
|
43
|
+
const LogoUrl = sqai_logo_js_default();
|
|
33
44
|
const Logo = (param)=>{
|
|
34
45
|
let { hideLogo = false } = param;
|
|
35
46
|
if (hideLogo) return null;
|
|
36
47
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
37
48
|
className: "logo",
|
|
38
49
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("a", {
|
|
39
|
-
href: "https://
|
|
50
|
+
href: "https://sqai.tech",
|
|
40
51
|
target: "_blank",
|
|
41
52
|
rel: "noreferrer",
|
|
42
53
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("img", {
|
|
43
|
-
alt: "
|
|
44
|
-
src:
|
|
54
|
+
alt: "SQAI Logo",
|
|
55
|
+
src: sqai_logo_js_default()
|
|
45
56
|
})
|
|
46
57
|
})
|
|
47
58
|
});
|
|
@@ -112,7 +112,7 @@ const downloadReport = (content)=>{
|
|
|
112
112
|
const url = URL.createObjectURL(blob);
|
|
113
113
|
const a = document.createElement('a');
|
|
114
114
|
a.href = url;
|
|
115
|
-
a.download = '
|
|
115
|
+
a.download = 'sqai_report.html';
|
|
116
116
|
a.click();
|
|
117
117
|
};
|
|
118
118
|
class RecordingSession {
|
|
@@ -138,7 +138,7 @@ class RecordingSession {
|
|
|
138
138
|
const url = URL.createObjectURL(blob);
|
|
139
139
|
const a = document.createElement('a');
|
|
140
140
|
a.href = url;
|
|
141
|
-
a.download = '
|
|
141
|
+
a.download = 'sqai_replay.webm';
|
|
142
142
|
a.click();
|
|
143
143
|
URL.revokeObjectURL(url);
|
|
144
144
|
};
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index.less';
|
|
2
|
-
export declare const LogoUrl
|
|
2
|
+
export declare const LogoUrl: any;
|
|
3
3
|
export declare const Logo: ({ hideLogo }: {
|
|
4
4
|
hideLogo?: boolean;
|
|
5
5
|
}) => import("react").JSX.Element | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqaitech/visualizer",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.12",
|
|
4
4
|
"repository": "https://github.com/qa-nparekh/midscene",
|
|
5
5
|
"homepage": "https://sqai.tech/",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
"antd": "^5.21.6",
|
|
71
71
|
"buffer": "6.0.3",
|
|
72
72
|
"dayjs": "^1.11.11",
|
|
73
|
-
"@sqaitech/
|
|
74
|
-
"@sqaitech/
|
|
75
|
-
"@sqaitech/
|
|
76
|
-
"@sqaitech/
|
|
73
|
+
"@sqaitech/core": "0.30.12",
|
|
74
|
+
"@sqaitech/playground": "0.30.12",
|
|
75
|
+
"@sqaitech/web": "0.30.12",
|
|
76
|
+
"@sqaitech/shared": "0.30.12"
|
|
77
77
|
},
|
|
78
78
|
"license": "MIT",
|
|
79
79
|
"scripts": {
|