@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.
@@ -0,0 +1,2 @@
1
+ import sqai_logo_namespaceObject from "../static/image/sqai-logo.png";
2
+ export { sqai_logo_namespaceObject as default };
@@ -1,18 +1,19 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import "./index.css";
3
- const LogoUrl = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/vhaeh7vhabf/Midscene.png';
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://midscenejs.com/",
11
+ href: "https://sqai.tech",
11
12
  target: "_blank",
12
13
  rel: "noreferrer",
13
14
  children: /*#__PURE__*/ jsx("img", {
14
- alt: "Midscene_logo",
15
- src: "https://lf3-static.bytednsdoc.com/obj/eden-cn/vhaeh7vhabf/Midscene.png"
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 = 'midscene_report.html';
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 = 'midscene_replay.webm';
101
+ a.download = 'sqai_replay.webm';
102
102
  a.click();
103
103
  URL.revokeObjectURL(url);
104
104
  };
@@ -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 LogoUrl = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/vhaeh7vhabf/Midscene.png';
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://midscenejs.com/",
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: "Midscene_logo",
44
- src: "https://lf3-static.bytednsdoc.com/obj/eden-cn/vhaeh7vhabf/Midscene.png"
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 = 'midscene_report.html';
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 = 'midscene_replay.webm';
141
+ a.download = 'sqai_replay.webm';
142
142
  a.click();
143
143
  URL.revokeObjectURL(url);
144
144
  };
@@ -1,5 +1,5 @@
1
1
  import './index.less';
2
- export declare const LogoUrl = "https://lf3-static.bytednsdoc.com/obj/eden-cn/vhaeh7vhabf/Midscene.png";
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.10",
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/playground": "0.30.10",
74
- "@sqaitech/core": "0.30.10",
75
- "@sqaitech/shared": "0.30.10",
76
- "@sqaitech/web": "0.30.10"
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": {