html-reporter 10.7.1 → 10.9.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/build/lib/constants/features.d.ts +9 -0
- package/build/lib/constants/features.js +10 -0
- package/build/lib/constants/features.js.map +1 -0
- package/build/lib/constants/index.d.ts +1 -0
- package/build/lib/constants/index.js +1 -0
- package/build/lib/constants/index.js.map +1 -1
- package/build/lib/constants/local-storage.d.ts +7 -0
- package/build/lib/constants/local-storage.js +13 -0
- package/build/lib/constants/local-storage.js.map +1 -0
- package/build/lib/db-utils/client.d.ts +1 -1
- package/build/lib/db-utils/client.js +8 -2
- package/build/lib/db-utils/client.js.map +1 -1
- package/build/lib/static/798.min.js +1 -0
- package/build/lib/static/gui.html +10 -1
- package/build/lib/static/gui.min.css +3 -3
- package/build/lib/static/gui.min.js +1 -1
- package/build/lib/static/index.html +10 -1
- package/build/lib/static/new-ui-gui.html +10 -1
- package/build/lib/static/new-ui-report.html +10 -1
- package/build/lib/static/newGui.min.css +3 -3
- package/build/lib/static/newGui.min.js +1 -1
- package/build/lib/static/newReport.min.css +3 -3
- package/build/lib/static/newReport.min.js +1 -1
- package/build/lib/static/report.min.css +3 -3
- package/build/lib/static/report.min.js +1 -1
- package/build/package.json +2 -2
- package/package.json +2 -2
- package/build/lib/static/84.min.js +0 -1
- /package/build/lib/static/{84.min.css → 798.min.css} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EditScreensFeature = exports.RunTestsFeature = void 0;
|
|
4
|
+
exports.RunTestsFeature = {
|
|
5
|
+
name: 'run-tests'
|
|
6
|
+
};
|
|
7
|
+
exports.EditScreensFeature = {
|
|
8
|
+
name: 'edit-screens'
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=features.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"features.js","sourceRoot":"","sources":["../../../lib/constants/features.ts"],"names":[],"mappings":";;;AAIa,QAAA,eAAe,GAAG;IAC3B,IAAI,EAAE,WAAW;CACO,CAAC;AAEhB,QAAA,kBAAkB,GAAG;IAC9B,IAAI,EAAE,cAAc;CACI,CAAC"}
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./database"), exports);
|
|
|
19
19
|
__exportStar(require("./defaults"), exports);
|
|
20
20
|
__exportStar(require("./diff-modes"), exports);
|
|
21
21
|
__exportStar(require("./errors"), exports);
|
|
22
|
+
__exportStar(require("./features"), exports);
|
|
22
23
|
__exportStar(require("./group-tests"), exports);
|
|
23
24
|
__exportStar(require("./paths"), exports);
|
|
24
25
|
__exportStar(require("./tests"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,6CAA2B;AAC3B,+CAA6B;AAC7B,2CAAyB;AACzB,gDAA8B;AAC9B,0CAAwB;AACxB,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,6CAA2B;AAC3B,+CAA6B;AAC7B,2CAAyB;AACzB,6CAA2B;AAC3B,gDAA8B;AAC9B,0CAAwB;AACxB,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA6B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UiMode = exports.LocalStorageKey = void 0;
|
|
4
|
+
var LocalStorageKey;
|
|
5
|
+
(function (LocalStorageKey) {
|
|
6
|
+
LocalStorageKey["UIMode"] = "ui-mode";
|
|
7
|
+
})(LocalStorageKey || (exports.LocalStorageKey = LocalStorageKey = {}));
|
|
8
|
+
var UiMode;
|
|
9
|
+
(function (UiMode) {
|
|
10
|
+
UiMode["Old"] = "old";
|
|
11
|
+
UiMode["New"] = "new";
|
|
12
|
+
})(UiMode || (exports.UiMode = UiMode = {}));
|
|
13
|
+
//# sourceMappingURL=local-storage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-storage.js","sourceRoot":"","sources":["../../../lib/constants/local-storage.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAEX;AAFD,WAAY,eAAe;IACvB,qCAAkB,CAAA;AACtB,CAAC,EAFW,eAAe,+BAAf,eAAe,QAE1B;AAED,IAAY,MAGX;AAHD,WAAY,MAAM;IACd,qBAAW,CAAA;IACX,qBAAW,CAAA;AACf,CAAC,EAHW,MAAM,sBAAN,MAAM,QAGjB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function fetchDataFromDatabases(dbJsonUrls: any): Promise<(string | import("./common").DbLoadResult)[]>;
|
|
1
|
+
export function fetchDataFromDatabases(dbJsonUrls: any, onDownloadProgress: any): Promise<(string | import("./common").DbLoadResult)[]>;
|
|
2
2
|
export function mergeDatabases(dataForDbs: any): Promise<any>;
|
|
3
3
|
export function connectToDatabase(dbUrl: any): Promise<any>;
|
|
4
4
|
export function getMainDatabaseUrl(): URL;
|
|
@@ -33,14 +33,20 @@ const lodash_1 = require("lodash");
|
|
|
33
33
|
const common_1 = __importStar(require("./common"));
|
|
34
34
|
const common_utils_1 = require("../common-utils");
|
|
35
35
|
const database_1 = require("../constants/database");
|
|
36
|
-
function fetchDataFromDatabases(dbJsonUrls) {
|
|
36
|
+
function fetchDataFromDatabases(dbJsonUrls, onDownloadProgress) {
|
|
37
37
|
const loadDbJsonUrl = (dbJsonUrl) => (0, common_utils_1.fetchFile)(dbJsonUrl);
|
|
38
38
|
const prepareUrls = (urls, baseUrl) => (0, common_utils_1.normalizeUrls)(urls, baseUrl);
|
|
39
39
|
const formatData = (dbJsonUrl, jsonResponseStatus = 'unknown') => {
|
|
40
40
|
return { url: dbJsonUrl, status: jsonResponseStatus, data: null };
|
|
41
41
|
};
|
|
42
42
|
const loadDbUrl = async (dbUrl) => {
|
|
43
|
-
const
|
|
43
|
+
const loadOptions = { responseType: 'arraybuffer' };
|
|
44
|
+
if (typeof onDownloadProgress === 'function') {
|
|
45
|
+
loadOptions.onDownloadProgress = (e) => {
|
|
46
|
+
onDownloadProgress(dbUrl, e.loaded / e.total);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
const { data, status } = await (0, common_utils_1.fetchFile)(dbUrl, loadOptions);
|
|
44
50
|
return { url: dbUrl, status, data };
|
|
45
51
|
};
|
|
46
52
|
return (0, common_1.handleDatabases)(dbJsonUrls, { loadDbJsonUrl, prepareUrls, formatData, loadDbUrl });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../lib/db-utils/client.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACb,wBAAwB;AAExB,mCAA+B;AAC/B,4DAA4D;AAC5D,mDAAyH;AACzH,kDAAyD;AAEzD,oDAAgF;AAEhF,SAAgB,sBAAsB,CAAC,UAAU;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../lib/db-utils/client.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACb,wBAAwB;AAExB,mCAA+B;AAC/B,4DAA4D;AAC5D,mDAAyH;AACzH,kDAAyD;AAEzD,oDAAgF;AAEhF,SAAgB,sBAAsB,CAAC,UAAU,EAAE,kBAAkB;IACjE,MAAM,aAAa,GAAG,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,wBAAS,EAAC,S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 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[798],{62798:(e,t,l)=>{l.r(t),l.d(t,{TopPanel:()=>T});var n=l(2784),a=l(28786),r=l(50783),o=l(36043),i=l(10727),s=l(44200),c=l(4013),d=l(31499);const m=n.createContext(null),u=()=>{const e=n.useContext(m);if(!e)throw new Error('Alert: `useAlertContext` hook is used out of "AlertContext"');return e},v=e=>{const{view:t}=u();return n.createElement(r.z,Object.assign({view:"filled"===t?"normal-contrast":void 0},e))};var w=l(32590);const g=(0,w.Ge)("alert"),h=({layout:e,view:t,children:l})=>n.createElement(m.Provider,{value:{layout:e,view:t}},l),p=e=>n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM6.53 5.47a.75.75 0 0 0-1.06 1.06L6.94 8 5.47 9.47a.75.75 0 1 0 1.06 1.06L8 9.06l1.47 1.47a.75.75 0 1 0 1.06-1.06L9.06 8l1.47-1.47a.75.75 0 1 0-1.06-1.06L8 6.94 6.53 5.47Z",clipRule:"evenodd"}));var f=l(75098);const E=e=>n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM8 7.75a.75.75 0 0 1 .75.75V11a.75.75 0 0 1-1.5 0V8.5A.75.75 0 0 1 8 7.75Z",clipRule:"evenodd"})),x=e=>n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 13.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11ZM8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm1-9.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-.25 3a.75.75 0 0 0-1.5 0V11a.75.75 0 0 0 1.5 0V8.5Z",clipRule:"evenodd"})),A=e=>n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm3.1-8.55a.75.75 0 1 0-1.2-.9L7.419 8.858 6.03 7.47a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.13-.08l3-4Z",clipRule:"evenodd"}));var C=l(60148);const b=e=>n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.836 2.244c.962-1.665 3.366-1.665 4.328 0l4.917 8.505c.964 1.666-.239 3.751-2.164 3.751H3.083c-1.925 0-3.128-2.085-2.164-3.751l4.917-8.505ZM8 5a.75.75 0 0 1 .75.75v2a.75.75 0 1 1-1.5 0v-2A.75.75 0 0 1 8 5Zm1 5.75a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z",clipRule:"evenodd"}));var Z=l(88089);const y=e=>n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),n.createElement("path",{fill:"currentColor",d:"m14.61 6.914-7.632 8.08a1.614 1.614 0 0 1-2.69-1.66L5.5 10H2.677A1.677 1.677 0 0 1 1.12 7.7l2.323-5.807A2.216 2.216 0 0 1 5.5.5h4c.968 0 1.637.967 1.298 1.873L10 4.5h3.569a1.431 1.431 0 0 1 1.04 2.414Z"})),N=e=>n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16"},e),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m7.835 6 .76-2.027L9.336 2H5.5a.716.716 0 0 0-.664.45L2.513 8.257a.177.177 0 0 0 .164.243h4.965l-.732 2.013-1.082 2.975a.382.382 0 0 0 .637.392l6.956-7.391A.29.29 0 0 0 13.21 6H7.835Zm1.558-4.154ZM10.563 3l.235-.627A1.386 1.386 0 0 0 9.5.5h-4c-.906 0-1.72.552-2.057 1.393L1.12 7.7A1.677 1.677 0 0 0 2.677 10H5.5l-.545 1.5-.537 1.475a1.882 1.882 0 0 0 3.14 1.933l6.956-7.391A1.79 1.79 0 0 0 13.21 4.5H10l.563-1.5Z",clipRule:"evenodd"})),k={danger:{filled:p,outlined:f.Z},info:{filled:E,outlined:x},success:{filled:A,outlined:C.Z},warning:{filled:b,outlined:Z.Z},utility:{filled:y,outlined:N},normal:null};var R=l(58579);var L=l(46902);const z=JSON.parse('{"label_close":"Close"}'),M=JSON.parse('{"label_close":"Закрыть"}'),O=(0,L.e)({en:z,ru:M},"Alert"),j=e=>{const{theme:t="normal",view:l="filled",layout:m="vertical",message:u,className:v,corners:w,style:p,onClose:f,align:E,qa:x}=e;return n.createElement(h,{layout:m,view:l},n.createElement(o.Z,{style:p,className:g({corners:w},(0,c.W)({py:4,px:5},v)),theme:t,view:l,qa:x},n.createElement(d.k,{gap:"3",alignItems:E},void 0===e.icon?n.createElement(j.Icon,{theme:t,view:l}):e.icon,n.createElement(d.k,{direction:"vertical"===m?"column":"row",gap:"5",grow:!0},n.createElement(d.k,{gap:"2",grow:!0,className:g("text-content")},n.createElement(d.k,{direction:"column",gap:"1",grow:!0,justifyContent:E},"string"==typeof e.title?n.createElement(j.Title,{text:e.title}):e.title,u)),Array.isArray(e.actions)?n.createElement(j.Actions,{items:e.actions}):e.actions),f&&n.createElement(r.z,{view:"flat",className:g("close-btn"),onClick:f,extraProps:{"aria-label":O("label_close")}},n.createElement(i.J,{data:a.Z,size:18,className:(0,s.V)({color:"secondary"})})))))};j.Icon=({className:e,theme:t,view:l="filled",size:a=18})=>{const r=k[t];if(!r)return null;let o;return"success"===t?o="positive":"normal"!==t&&(o=t),n.createElement("div",{className:g("icon",(0,s.V)({color:o},e))},n.createElement(i.J,{data:r[l],size:a}))},j.Title=({text:e,className:t})=>n.createElement(R.x,{variant:"subheader-2",className:g("title",t)},e),j.Actions=({items:e,children:t,className:l})=>{const{layout:a}=u();return n.createElement(d.k,{className:g("actions",{minContent:"horizontal"===a},l),direction:"row",gap:"3",wrap:!0,alignItems:"horizontal"===a?"center":"flex-start"},(null==e?void 0:e.map((({handler:e,text:t},l)=>n.createElement(v,{key:l,onClick:e},t))))||t)},j.Action=v;var B=l(24746),H=l(50850);l(54368);const S=({topAlert:e})=>{const t=n.useRef(null),l=(e=>{const[t,l]=n.useState(0);return n.useEffect((()=>{if(e.current){const{current:t}=e;l(t.clientHeight)}}),[e]),t})(t),a=n.useCallback((e=>{const t=document.getElementsByClassName("g-root").item(0);null==t||t.style.setProperty("--gn-aside-top-panel-height",e+"px")}),[]),r=n.useCallback((()=>{var e;t.current&&a((null===(e=t.current)||void 0===e?void 0:e.clientHeight)||0)}),[t,a]);return n.useLayoutEffect((()=>{const t=(0,B.d)(r,200,{leading:!0});return e&&(window.addEventListener("resize",t),t()),()=>{window.removeEventListener("resize",t),a(0)}}),[e,l,t,r,a]),{topRef:t,updateTopSize:r}},T=({topAlert:e})=>{const{topRef:t,updateTopSize:l}=S({topAlert:e}),[a,r]=n.useState(!0),o=n.useCallback((()=>{var t;r(!1),null===(t=null==e?void 0:e.onCloseTopAlert)||void 0===t||t.call(e)}),[e]);return n.useEffect((()=>{a||l()}),[a,l]),e&&e.message?n.createElement("div",{ref:t,className:(0,H.b)("pane-top",{opened:a})},a&&n.createElement(n.Fragment,null,n.createElement(j,{className:(0,H.b)("pane-top-alert",{centered:e.centered,dense:e.dense}),corners:"square",layout:"horizontal",theme:e.theme||"warning",icon:e.icon,title:e.title,message:e.message,actions:e.actions,onClose:e.closable?o:void 0}),n.createElement("div",{className:(0,H.b)("pane-top-divider")}))):null}}}]);
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Gui report</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="gui.min.js"></script><link href="gui.min.css" rel="stylesheet"></head><
|
|
1
|
+
<!doctype html><html><head><title>Gui report</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="gui.min.js"></script><link href="gui.min.css" rel="stylesheet"></head><script>let uiMode;
|
|
2
|
+
try {
|
|
3
|
+
uiMode = JSON.parse(localStorage.getItem('html-reporter:ui-mode'));
|
|
4
|
+
} catch {}
|
|
5
|
+
|
|
6
|
+
if (uiMode === 'old' && /\/new-ui(?:\.html)?$/.test(window.location.pathname)) {
|
|
7
|
+
window.location.pathname = window.location.pathname.replace(/\/new-ui(\.html)?$/, (match, ending) => ending ? '/index.html' : '/');
|
|
8
|
+
} else if (uiMode === 'new' && !/\/new-ui(?:\.html)?$/.test(window.location.pathname)) {
|
|
9
|
+
window.location.pathname = window.location.pathname.replace(/\/(index\.html)?$/, (match, ending) => ending ? '/new-ui.html' : '/new-ui');
|
|
10
|
+
}</script><body class="report"><div id="app"></div></body></html>
|