@allurereport/web-classic 3.3.1 → 3.4.1

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.
Files changed (134) hide show
  1. package/dist/multi/333.app-4b1f7421e41558777592.js +1 -0
  2. package/dist/multi/853.app-4b1f7421e41558777592.js +1 -0
  3. package/dist/multi/app-4b1f7421e41558777592.js +2 -0
  4. package/dist/multi/manifest.json +23 -22
  5. package/dist/multi/{styles-75260d4c57aacfd128f1.css → styles-9d0f524b54c0674f3a16.css} +2 -2
  6. package/dist/single/app-9900014b342c2b08335d.js +2 -0
  7. package/dist/single/manifest.json +1 -1
  8. package/package.json +18 -36
  9. package/src/components/ArrowButton/index.tsx +1 -0
  10. package/src/components/BaseLayout/index.tsx +2 -0
  11. package/src/components/Behaviors/BehaviorsList.tsx +2 -0
  12. package/src/components/Behaviors/index.tsx +2 -0
  13. package/src/components/Categories/CategoriesList.tsx +2 -0
  14. package/src/components/Categories/index.tsx +2 -0
  15. package/src/components/Footer/FooterLogo.tsx +1 -0
  16. package/src/components/Footer/FooterVersion.tsx +2 -0
  17. package/src/components/Footer/index.tsx +3 -1
  18. package/src/components/Header/index.tsx +1 -0
  19. package/src/components/HeaderActions/Filters.tsx +2 -0
  20. package/src/components/HeaderActions/HeaderActions.tsx +3 -0
  21. package/src/components/HeaderActions/SortBy.tsx +2 -0
  22. package/src/components/LanguagePicker/index.tsx +2 -0
  23. package/src/components/MainReport/index.tsx +2 -1
  24. package/src/components/Metadata/index.tsx +2 -0
  25. package/src/components/MetadataButton/index.tsx +2 -0
  26. package/src/components/Modal/ModalView.js +3 -0
  27. package/src/components/Modal/index.tsx +2 -0
  28. package/src/components/Overview/index.tsx +2 -0
  29. package/src/components/Packages/PackagesList.tsx +2 -0
  30. package/src/components/Packages/index.tsx +2 -0
  31. package/src/components/ReportBody/Filters.tsx +2 -0
  32. package/src/components/ReportBody/HeaderActions.tsx +3 -0
  33. package/src/components/ReportBody/SortBy.tsx +2 -0
  34. package/src/components/ReportBody/index.tsx +4 -1
  35. package/src/components/ReportHeader/ReportHeaderLabelList.tsx +1 -0
  36. package/src/components/ReportHeader/ReportHeaderLogo.tsx +3 -1
  37. package/src/components/ReportHeader/ReportHeaderPie.tsx +2 -0
  38. package/src/components/ReportHeader/index.tsx +2 -0
  39. package/src/components/ReportMetadata/MetadataItem.tsx +1 -0
  40. package/src/components/ReportMetadata/MetadataSummary.tsx +3 -1
  41. package/src/components/ReportMetadata/MetadataTestType.tsx +2 -0
  42. package/src/components/ReportMetadata/MetadataWithIcon.tsx +2 -0
  43. package/src/components/ReportMetadata/index.tsx +2 -0
  44. package/src/components/SideBySide/index.tsx +1 -0
  45. package/src/components/SideNav/SideNav.tsx +2 -0
  46. package/src/components/SideNav/SideNavView.js +3 -0
  47. package/src/components/Suites/index.tsx +2 -0
  48. package/src/components/Tabs/index.tsx +2 -0
  49. package/src/components/TestResult/TestResultAttachmentsView/index.tsx +2 -0
  50. package/src/components/TestResult/TestResultDescription/index.tsx +2 -0
  51. package/src/components/TestResult/TestResultDropdown/index.tsx +2 -0
  52. package/src/components/TestResult/TestResultEmpty/index.tsx +3 -1
  53. package/src/components/TestResult/TestResultError/index.tsx +2 -0
  54. package/src/components/TestResult/TestResultHeader/index.tsx +2 -0
  55. package/src/components/TestResult/TestResultHistory/TestResultHistoryItem.tsx +3 -1
  56. package/src/components/TestResult/TestResultHistory/index.tsx +3 -0
  57. package/src/components/TestResult/TestResultInfo/TestResultInfoStatuses.tsx +2 -0
  58. package/src/components/TestResult/TestResultInfo/index.tsx +2 -0
  59. package/src/components/TestResult/TestResultLinks/index.tsx +20 -3
  60. package/src/components/TestResult/TestResultMetadata/index.tsx +2 -0
  61. package/src/components/TestResult/TestResultNavigation/index.tsx +2 -0
  62. package/src/components/TestResult/TestResultOverview.tsx +3 -1
  63. package/src/components/TestResult/TestResultParameters/index.tsx +2 -0
  64. package/src/components/TestResult/TestResultPrevStatuses/index.tsx +2 -0
  65. package/src/components/TestResult/TestResultRetriesView/TestResultRetriesItem.tsx +3 -1
  66. package/src/components/TestResult/TestResultRetriesView/index.tsx +3 -1
  67. package/src/components/TestResult/TestResultSetup/index.tsx +3 -1
  68. package/src/components/TestResult/TestResultSeverity/index.tsx +2 -0
  69. package/src/components/TestResult/TestResultStatus/index.tsx +2 -0
  70. package/src/components/TestResult/TestResultSteps/HtmlAttachmentPreview.tsx +1 -0
  71. package/src/components/TestResult/TestResultSteps/attachment.tsx +3 -1
  72. package/src/components/TestResult/TestResultSteps/attachmentCode.tsx +1 -0
  73. package/src/components/TestResult/TestResultSteps/attachmentImage.tsx +3 -1
  74. package/src/components/TestResult/TestResultSteps/index.tsx +2 -0
  75. package/src/components/TestResult/TestResultSteps/testResultAttachment.tsx +3 -1
  76. package/src/components/TestResult/TestResultSteps/testResultAttachmentInfo.tsx +3 -1
  77. package/src/components/TestResult/TestResultSteps/testResultStep.tsx +3 -1
  78. package/src/components/TestResult/TestResultSteps/testResultStepInfo.tsx +1 -0
  79. package/src/components/TestResult/TestResultSteps/wrongAttachment.tsx +2 -1
  80. package/src/components/TestResult/TestResultTabs/index.tsx +1 -0
  81. package/src/components/TestResult/TestResultTeardown/index.tsx +3 -1
  82. package/src/components/TestResult/TestResultView.js +4 -1
  83. package/src/components/TestResult/index.tsx +3 -1
  84. package/src/components/TestResultView/index.tsx +1 -0
  85. package/src/components/Tree/Tree.tsx +3 -0
  86. package/src/components/Tree/TreeHeader.tsx +2 -0
  87. package/src/components/Tree/TreeItem.tsx +2 -0
  88. package/src/components/Tree/TreeItemIcon.tsx +1 -0
  89. package/src/components/Tree/index.tsx +2 -0
  90. package/src/index.js +3 -0
  91. package/src/index.tsx +2 -0
  92. package/src/stores/behaviors.ts +1 -0
  93. package/src/stores/categories.ts +1 -0
  94. package/src/stores/chart.ts +1 -0
  95. package/src/stores/charts.ts +1 -0
  96. package/src/stores/envInfo.ts +1 -0
  97. package/src/stores/locale.ts +3 -0
  98. package/src/stores/packages.ts +1 -0
  99. package/src/stores/stats.ts +1 -0
  100. package/src/stores/testResults.ts +1 -0
  101. package/src/stores/tree.ts +1 -0
  102. package/src/stores/trend.ts +2 -1
  103. package/src/translations/ar.json +137 -0
  104. package/src/translations/az.json +50 -41
  105. package/src/translations/constants.ts +6 -0
  106. package/src/utils/time.ts +1 -0
  107. package/src/utils/treeFilters.ts +2 -0
  108. package/test/utils/treeFilters.test.ts +1 -0
  109. package/tsconfig.json +2 -2
  110. package/.eslintrc.cjs +0 -22
  111. package/dist/multi/853.app-edd437fe9a728297ccb2.js +0 -1
  112. package/dist/multi/app-edd437fe9a728297ccb2.js +0 -2
  113. package/dist/single/app-a8440cca96ec7c3e12d2.js +0 -2
  114. /package/dist/multi/{10.app-edd437fe9a728297ccb2.js → 10.app-4b1f7421e41558777592.js} +0 -0
  115. /package/dist/multi/{222.app-edd437fe9a728297ccb2.js → 222.app-4b1f7421e41558777592.js} +0 -0
  116. /package/dist/multi/{26.app-edd437fe9a728297ccb2.js → 26.app-4b1f7421e41558777592.js} +0 -0
  117. /package/dist/multi/{302.app-edd437fe9a728297ccb2.js → 302.app-4b1f7421e41558777592.js} +0 -0
  118. /package/dist/multi/{304.app-edd437fe9a728297ccb2.js → 304.app-4b1f7421e41558777592.js} +0 -0
  119. /package/dist/multi/{369.app-edd437fe9a728297ccb2.js → 369.app-4b1f7421e41558777592.js} +0 -0
  120. /package/dist/multi/{389.app-edd437fe9a728297ccb2.js → 389.app-4b1f7421e41558777592.js} +0 -0
  121. /package/dist/multi/{498.app-edd437fe9a728297ccb2.js → 498.app-4b1f7421e41558777592.js} +0 -0
  122. /package/dist/multi/{60.app-edd437fe9a728297ccb2.js → 60.app-4b1f7421e41558777592.js} +0 -0
  123. /package/dist/multi/{643.app-edd437fe9a728297ccb2.js → 643.app-4b1f7421e41558777592.js} +0 -0
  124. /package/dist/multi/{671.app-edd437fe9a728297ccb2.js → 671.app-4b1f7421e41558777592.js} +0 -0
  125. /package/dist/multi/{725.app-edd437fe9a728297ccb2.js → 725.app-4b1f7421e41558777592.js} +0 -0
  126. /package/dist/multi/{770.app-edd437fe9a728297ccb2.js → 770.app-4b1f7421e41558777592.js} +0 -0
  127. /package/dist/multi/{848.app-edd437fe9a728297ccb2.js → 848.app-4b1f7421e41558777592.js} +0 -0
  128. /package/dist/multi/{872.app-edd437fe9a728297ccb2.js → 872.app-4b1f7421e41558777592.js} +0 -0
  129. /package/dist/multi/{895.app-edd437fe9a728297ccb2.js → 895.app-4b1f7421e41558777592.js} +0 -0
  130. /package/dist/multi/{920.app-edd437fe9a728297ccb2.js → 920.app-4b1f7421e41558777592.js} +0 -0
  131. /package/dist/multi/{979.app-edd437fe9a728297ccb2.js → 979.app-4b1f7421e41558777592.js} +0 -0
  132. /package/dist/multi/{991.app-edd437fe9a728297ccb2.js → 991.app-4b1f7421e41558777592.js} +0 -0
  133. /package/dist/multi/{app-edd437fe9a728297ccb2.js.LICENSE.txt → app-4b1f7421e41558777592.js.LICENSE.txt} +0 -0
  134. /package/dist/single/{app-a8440cca96ec7c3e12d2.js.LICENSE.txt → app-9900014b342c2b08335d.js.LICENSE.txt} +0 -0
@@ -1,3 +1,3 @@
1
1
  {
2
- "main.js": "app-a8440cca96ec7c3e12d2.js"
2
+ "main.js": "app-9900014b342c2b08335d.js"
3
3
  }
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@allurereport/web-classic",
3
- "version": "3.3.1",
3
+ "version": "3.4.1",
4
4
  "description": "The static files for Allure Classic Report",
5
5
  "keywords": [
6
6
  "allure",
7
- "testing",
7
+ "html",
8
8
  "report",
9
- "html"
9
+ "testing"
10
10
  ],
11
- "repository": "https://github.com/allure-framework/allure3",
12
11
  "license": "Apache-2.0",
13
12
  "author": "Qameta Software",
13
+ "repository": "https://github.com/allure-framework/allure3",
14
14
  "type": "module",
15
15
  "types": "./types.d.ts",
16
16
  "scripts": {
@@ -22,19 +22,15 @@
22
22
  "build:prod:multi": "webpack --mode production",
23
23
  "build:dev:single": "SINGLE_FILE_MODE=1 webpack --mode development",
24
24
  "build:dev:multi": "webpack --mode development",
25
- "lint": "eslint --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
26
- "test": "vitest run"
25
+ "lint": "oxlint --import-plugin src test features stories",
26
+ "test": "vitest run",
27
+ "lint:fix": "oxlint --import-plugin --fix src test features stories"
27
28
  },
28
- "browserslist": [
29
- "last 1 version",
30
- "> 1%",
31
- "IE 11"
32
- ],
33
29
  "dependencies": {
34
- "@allurereport/charts-api": "3.3.1",
35
- "@allurereport/core-api": "3.3.1",
36
- "@allurereport/web-commons": "3.3.1",
37
- "@allurereport/web-components": "3.3.1",
30
+ "@allurereport/charts-api": "3.4.1",
31
+ "@allurereport/core-api": "3.4.1",
32
+ "@allurereport/web-commons": "3.4.1",
33
+ "@allurereport/web-components": "3.4.1",
38
34
  "@preact/signals": "^2.6.1",
39
35
  "clsx": "^2.1.1",
40
36
  "d3-shape": "^3.2.0",
@@ -49,18 +45,13 @@
49
45
  "@babel/plugin-transform-react-jsx": "^7.27.1",
50
46
  "@babel/preset-env": "^7.27.2",
51
47
  "@babel/preset-typescript": "^7.27.1",
52
- "@eslint/js": "^9.10.0",
53
48
  "@floating-ui/dom": "^1.6.12",
54
- "@stylistic/eslint-plugin": "^2.6.1",
55
49
  "@types/babel__core": "^7.20.5",
56
50
  "@types/d3-shape": "^3.1.6",
57
- "@types/eslint": "^8.56.11",
58
51
  "@types/md5": "^2.3.5",
59
52
  "@types/node": "^20.17.9",
60
53
  "@types/prismjs": "^1.26.5",
61
54
  "@types/underscore": "^1",
62
- "@typescript-eslint/eslint-plugin": "^8.0.0",
63
- "@typescript-eslint/parser": "^8.0.0",
64
55
  "@vitest/runner": "^2.1.9",
65
56
  "@vitest/snapshot": "^2.1.9",
66
57
  "allure-vitest": "^3.3.3",
@@ -68,19 +59,6 @@
68
59
  "babel-loader": "^9.2.1",
69
60
  "babel-plugin-prismjs": "^2.1.0",
70
61
  "css-loader": "^7.1.2",
71
- "eslint": "^8.57.0",
72
- "eslint-config-preact": "^1.5.0",
73
- "eslint-config-prettier": "^9.1.0",
74
- "eslint-plugin-compat": "^6.0.1",
75
- "eslint-plugin-import": "^2.29.1",
76
- "eslint-plugin-jsdoc": "^50.0.0",
77
- "eslint-plugin-jsx-a11y": "^6.10.0",
78
- "eslint-plugin-n": "^17.10.1",
79
- "eslint-plugin-no-null": "^1.0.2",
80
- "eslint-plugin-preact": "^0.1.0",
81
- "eslint-plugin-prefer-arrow": "^1.2.3",
82
- "eslint-plugin-react": "^7.36.1",
83
- "eslint-plugin-react-hooks": "^4.6.2",
84
62
  "file-loader": "^6.2.0",
85
63
  "filesize": "^10.1.6",
86
64
  "fork-ts-checker-webpack-plugin": "^9.0.2",
@@ -96,12 +74,16 @@
96
74
  "style-loader": "^4.0.0",
97
75
  "svg-sprite-loader": "^6.0.11",
98
76
  "typescript": "^5.6.3",
99
- "typescript-eslint": "^8.6.0",
100
- "underscore": "^1.13.7",
77
+ "underscore": "^1.13.8",
101
78
  "vitest": "^2.1.9",
102
79
  "webpack": "^5.99.9",
103
80
  "webpack-cli": "^5.1.4",
104
81
  "webpack-dev-server": "^5.2.2",
105
82
  "webpack-manifest-plugin": "^5.0.0"
106
- }
83
+ },
84
+ "browserslist": [
85
+ "last 1 version",
86
+ "> 1%",
87
+ "IE 11"
88
+ ]
107
89
  }
@@ -1,6 +1,7 @@
1
1
  import { SvgIcon, allureIcons } from "@allurereport/web-components";
2
2
  import { clsx } from "clsx";
3
3
  import type { FunctionalComponent } from "preact";
4
+
4
5
  import * as styles from "./styles.scss";
5
6
 
6
7
  export interface ArrowButtonProps {
@@ -1,9 +1,11 @@
1
1
  import { useEffect } from "preact/hooks";
2
+
2
3
  import Modal from "@/components/Modal";
3
4
  import SideNav from "@/components/SideNav/SideNav";
4
5
  import { fetchStats } from "@/stores";
5
6
  import { route } from "@/stores/router";
6
7
  import { testResultStore } from "@/stores/testResults";
8
+
7
9
  import * as styles from "./styles.scss";
8
10
 
9
11
  export const BaseLayout = ({ children }) => {
@@ -1,6 +1,7 @@
1
1
  import { Button, Loadable, PageLoader, Text } from "@allurereport/web-components";
2
2
  import { useEffect } from "preact/hooks";
3
3
  import type { ClassicStatus } from "types";
4
+
4
5
  import Tree from "@/components/Tree/Tree";
5
6
  import {
6
7
  behaviorsStore,
@@ -12,6 +13,7 @@ import {
12
13
  } from "@/stores/behaviors";
13
14
  import { useI18n } from "@/stores/locale";
14
15
  import { currentTab } from "@/stores/tabs";
16
+
15
17
  import * as styles from "./styles.scss";
16
18
 
17
19
  export const BehaviorsList = () => {
@@ -1,5 +1,6 @@
1
1
  import { Heading, Loadable, PageLoader } from "@allurereport/web-components";
2
2
  import { useEffect } from "preact/compat";
3
+
3
4
  import { BehaviorsList } from "@/components/Behaviors/BehaviorsList";
4
5
  import { HeaderActions } from "@/components/HeaderActions/HeaderActions";
5
6
  import SideBySide from "@/components/SideBySide";
@@ -8,6 +9,7 @@ import { useI18n } from "@/stores";
8
9
  import { fetchBehaviorsData } from "@/stores/behaviors";
9
10
  import { route } from "@/stores/router";
10
11
  import { fetchTestResult, testResultStore } from "@/stores/testResults";
12
+
11
13
  import * as styles from "./styles.scss";
12
14
 
13
15
  const Behaviors = () => {
@@ -1,6 +1,7 @@
1
1
  import { Button, Loadable, PageLoader, Text } from "@allurereport/web-components";
2
2
  import { useEffect } from "preact/hooks";
3
3
  import type { ClassicStatus } from "types";
4
+
4
5
  import Tree from "@/components/Tree/Tree";
5
6
  import {
6
7
  categoriesStore,
@@ -12,6 +13,7 @@ import {
12
13
  } from "@/stores/categories";
13
14
  import { useI18n } from "@/stores/locale";
14
15
  import { currentTab } from "@/stores/tabs";
16
+
15
17
  import * as styles from "./styles.scss";
16
18
 
17
19
  export const CategoriesList = () => {
@@ -1,5 +1,6 @@
1
1
  import { Heading, Loadable, PageLoader } from "@allurereport/web-components";
2
2
  import { useEffect } from "preact/compat";
3
+
3
4
  import { CategoriesList } from "@/components/Categories/CategoriesList";
4
5
  import { HeaderActions } from "@/components/HeaderActions/HeaderActions";
5
6
  import SideBySide from "@/components/SideBySide";
@@ -8,6 +9,7 @@ import { useI18n } from "@/stores";
8
9
  import { fetchCategoriesData } from "@/stores/categories";
9
10
  import { route } from "@/stores/router";
10
11
  import { fetchTestResult, testResultStore } from "@/stores/testResults";
12
+
11
13
  import * as styles from "./styles.scss";
12
14
 
13
15
  const Categories = () => {
@@ -1,4 +1,5 @@
1
1
  import { ReportLogoFull, Text } from "@allurereport/web-components";
2
+
2
3
  import * as styles from "./styles.scss";
3
4
 
4
5
  export const FooterLogo = () => {
@@ -2,7 +2,9 @@ import { getReportOptions } from "@allurereport/web-commons";
2
2
  import { Text } from "@allurereport/web-components";
3
3
  import { useEffect, useState } from "preact/hooks";
4
4
  import type { ClassicReportOptions } from "types";
5
+
5
6
  import { currentLocaleIso } from "@/stores";
7
+
6
8
  import * as styles from "./styles.scss";
7
9
 
8
10
  export const FooterVersion = () => {
@@ -1,8 +1,10 @@
1
1
  import { clsx } from "clsx";
2
- import * as styles from "@/components/BaseLayout/styles.scss";
2
+
3
3
  import { FooterLogo } from "@/components/Footer/FooterLogo";
4
4
  import { FooterVersion } from "@/components/Footer/FooterVersion";
5
5
 
6
+ import * as styles from "@/components/BaseLayout/styles.scss";
7
+
6
8
  export const Footer = () => {
7
9
  return (
8
10
  <div className={clsx(styles.below)}>
@@ -1,5 +1,6 @@
1
1
  import { LanguagePicker } from "@/components/LanguagePicker";
2
2
  import { ThemeButton } from "@/components/ThemeButton/ThemeButton";
3
+
3
4
  import * as styles from "./styles.scss";
4
5
 
5
6
  export const Header = () => {
@@ -1,6 +1,8 @@
1
1
  import { Button, Menu, Toggle, allureIcons } from "@allurereport/web-components";
2
+
2
3
  import { useI18n } from "@/stores/locale";
3
4
  import { setTreeFilter, treeFiltersStore } from "@/stores/tree";
5
+
4
6
  import * as styles from "./styles.scss";
5
7
 
6
8
  export const Filters = () => {
@@ -1,11 +1,14 @@
1
1
  import { capitalize, statusesList } from "@allurereport/core-api";
2
2
  import { Counter, Loadable, SearchBox } from "@allurereport/web-components";
3
+
3
4
  import { SortBy } from "@/components/HeaderActions/SortBy";
4
5
  import { Tab } from "@/components/Tabs";
5
6
  import { statsStore } from "@/stores";
6
7
  import { useI18n } from "@/stores/locale";
7
8
  import { setTreeQuery, treeFiltersStore } from "@/stores/tree";
9
+
8
10
  import { Filters } from "./Filters";
11
+
9
12
  import * as styles from "./styles.scss";
10
13
 
11
14
  const Search = () => {
@@ -1,8 +1,10 @@
1
1
  import { DropdownButton, Link, Menu, SvgIcon, Text, allureIcons } from "@allurereport/web-components";
2
2
  import clsx from "clsx";
3
3
  import type { ComponentChildren } from "preact";
4
+
4
5
  import { useI18n } from "@/stores/locale";
5
6
  import { setTreeDirection, setTreeSortBy, treeFiltersStore } from "@/stores/tree";
7
+
6
8
  import * as styles from "./styles.scss";
7
9
 
8
10
  const BtnWrapper = ({ children }: { children: ComponentChildren }) => {
@@ -1,7 +1,9 @@
1
1
  import { Button, Menu } from "@allurereport/web-components";
2
+
2
3
  import { currentLocale } from "@/stores";
3
4
  import { setLocale } from "@/stores/locale";
4
5
  import { LANG_LOCALE, type LangLocale } from "@/translations/constants";
6
+
5
7
  import * as styles from "./styles.scss";
6
8
 
7
9
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
@@ -1,9 +1,10 @@
1
- import * as styles from "@/components/BaseLayout/styles.scss";
2
1
  import { Header } from "@/components/Header";
3
2
  import { ReportBody } from "@/components/ReportBody";
4
3
  import { ReportHeader } from "@/components/ReportHeader";
5
4
  import { ReportMetadata } from "@/components/ReportMetadata";
6
5
 
6
+ import * as styles from "@/components/BaseLayout/styles.scss";
7
+
7
8
  const MainReport = () => {
8
9
  return (
9
10
  <>
@@ -2,10 +2,12 @@ import { Button, Menu, Text, allureIcons } from "@allurereport/web-components";
2
2
  import clsx from "clsx";
3
3
  import type { FunctionalComponent } from "preact";
4
4
  import { useState } from "preact/hooks";
5
+
5
6
  import { MetadataButton } from "@/components/MetadataButton";
6
7
  import type { MetadataProps } from "@/components/ReportMetadata";
7
8
  import { useI18n } from "@/stores/locale";
8
9
  import { copyToClipboard } from "@/utils/copyToClipboard";
10
+
9
11
  import * as styles from "./styles.scss";
10
12
 
11
13
  export const MetadataList: FunctionalComponent<MetadataProps & { columns?: number }> = ({
@@ -1,7 +1,9 @@
1
1
  import { Counter, Text } from "@allurereport/web-components";
2
2
  import clsx from "clsx";
3
3
  import type { FunctionalComponent } from "preact";
4
+
4
5
  import { ArrowButton } from "@/components/ArrowButton";
6
+
5
7
  import * as styles from "./styles.scss";
6
8
 
7
9
  interface MetadataButtonProps {
@@ -1,7 +1,10 @@
1
1
  import { View } from "backbone.marionette";
2
2
  import $ from "jquery";
3
+
3
4
  import { className, on, regions } from "@/decorators/index.js";
5
+
4
6
  import template from "./ModalView.hbs";
7
+
5
8
  import "./styles.scss";
6
9
 
7
10
  @className("modal")
@@ -5,8 +5,10 @@ import type { FunctionalComponent, VNode } from "preact";
5
5
  import { useEffect } from "preact/hooks";
6
6
  import Prism from "prismjs";
7
7
  import type { ClassicTestResult } from "types";
8
+
8
9
  import { Attachment } from "@/components/TestResult/TestResultSteps/attachment";
9
10
  import { attachmentType, downloadAttachment, openAttachmentInNewTab } from "@/utils/attachments";
11
+
10
12
  import * as styles from "./styles.scss";
11
13
 
12
14
  export const isModalOpen = signal(false);
@@ -15,8 +15,10 @@ import {
15
15
  } from "@allurereport/web-components";
16
16
  import { computed } from "@preact/signals";
17
17
  import { useEffect } from "preact/hooks";
18
+
18
19
  import { useI18n } from "@/stores";
19
20
  import { chartsStore, fetchChartsData } from "@/stores/charts";
21
+
20
22
  import * as styles from "./Overview.module.scss";
21
23
 
22
24
  const getChartWidgetByType = (
@@ -1,6 +1,7 @@
1
1
  import { Button, Loadable, PageLoader, Text } from "@allurereport/web-components";
2
2
  import { useEffect } from "preact/hooks";
3
3
  import type { ClassicStatus } from "types";
4
+
4
5
  import Tree from "@/components/Tree/Tree";
5
6
  import { useI18n } from "@/stores/locale";
6
7
  import {
@@ -12,6 +13,7 @@ import {
12
13
  setPackagesStatus,
13
14
  } from "@/stores/packages";
14
15
  import { currentTab } from "@/stores/tabs";
16
+
15
17
  import * as styles from "./styles.scss";
16
18
 
17
19
  export const PackagesList = () => {
@@ -1,5 +1,6 @@
1
1
  import { Heading, Loadable, PageLoader } from "@allurereport/web-components";
2
2
  import { useEffect } from "preact/compat";
3
+
3
4
  import { HeaderActions } from "@/components/HeaderActions/HeaderActions";
4
5
  import { PackagesList } from "@/components/Packages/PackagesList";
5
6
  import SideBySide from "@/components/SideBySide";
@@ -8,6 +9,7 @@ import { useI18n } from "@/stores";
8
9
  import { fetchPackagesData } from "@/stores/packages";
9
10
  import { route } from "@/stores/router";
10
11
  import { fetchTestResult, testResultStore } from "@/stores/testResults";
12
+
11
13
  import * as styles from "./styles.scss";
12
14
 
13
15
  const Packages = () => {
@@ -1,8 +1,10 @@
1
1
  import { Button, allureIcons } from "@allurereport/web-components";
2
2
  import { Menu } from "@allurereport/web-components";
3
3
  import { Toggle } from "@allurereport/web-components";
4
+
4
5
  import { useI18n } from "@/stores/locale";
5
6
  import { setTreeFilter, treeFiltersStore } from "@/stores/tree";
7
+
6
8
  import * as styles from "./styles.scss";
7
9
 
8
10
  export const Filters = () => {
@@ -1,7 +1,10 @@
1
1
  import { SearchBox } from "@allurereport/web-components";
2
+
2
3
  import { useI18n } from "@/stores/locale";
3
4
  import { setTreeQuery, treeFiltersStore } from "@/stores/tree";
5
+
4
6
  import { Filters } from "./Filters";
7
+
5
8
  import * as styles from "./styles.scss";
6
9
 
7
10
  const Search = () => {
@@ -5,8 +5,10 @@ import { SvgIcon } from "@allurereport/web-components";
5
5
  import { Text } from "@allurereport/web-components";
6
6
  import clsx from "clsx";
7
7
  import type { ComponentChildren } from "preact";
8
+
8
9
  import { useI18n } from "@/stores/locale";
9
10
  import { setTreeDirection, setTreeSortBy, treeFiltersStore } from "@/stores/tree";
11
+
10
12
  import * as styles from "./styles.scss";
11
13
 
12
14
  const BtnWrapper = ({ children }: { children: ComponentChildren }) => {
@@ -1,12 +1,15 @@
1
1
  import { capitalize, statusesList } from "@allurereport/core-api";
2
2
  import { Counter, Loadable } from "@allurereport/web-components";
3
+
3
4
  import { statsStore } from "@/stores";
4
5
  import { useI18n } from "@/stores/locale";
6
+
5
7
  import { Tab, Tabs, TabsList } from "../Tabs";
6
8
  import { TreeList } from "../Tree";
9
+ import { ReportContentProvider } from "./context";
7
10
  import { HeaderActions } from "./HeaderActions";
8
11
  import { SortBy } from "./SortBy";
9
- import { ReportContentProvider } from "./context";
12
+
10
13
  import * as styles from "./styles.scss";
11
14
 
12
15
  const ALL_TAB = "total";
@@ -1,4 +1,5 @@
1
1
  import { Label } from "@allurereport/web-components";
2
+
2
3
  import * as styles from "@/components/ReportHeader/styles.scss";
3
4
 
4
5
  export const ReportHeaderLabelList = () => {
@@ -1,8 +1,10 @@
1
1
  import { getReportOptions } from "@allurereport/web-commons";
2
2
  import { ReportLogo } from "@allurereport/web-components";
3
- import * as styles from "@/components/ReportHeader/styles.scss";
3
+
4
4
  import type { ClassicReportOptions } from "../../../types";
5
5
 
6
+ import * as styles from "@/components/ReportHeader/styles.scss";
7
+
6
8
  export const ReportHeaderLogo = () => {
7
9
  const { logo } = getReportOptions<ClassicReportOptions>() ?? {};
8
10
 
@@ -1,6 +1,8 @@
1
1
  import { Loadable } from "@allurereport/web-components";
2
2
  import { SuccessRatePieChart } from "@allurereport/web-components";
3
+
3
4
  import { pieChartStore } from "@/stores/chart";
5
+
4
6
  import * as styles from "./styles.scss";
5
7
 
6
8
  export const ReportHeaderPie = () => (
@@ -1,9 +1,11 @@
1
1
  import { getReportOptions } from "@allurereport/web-commons";
2
2
  import { Heading, Text } from "@allurereport/web-components";
3
3
  import type { ClassicReportOptions } from "types";
4
+
4
5
  import { ReportHeaderLogo } from "@/components/ReportHeader/ReportHeaderLogo";
5
6
  import { ReportHeaderPie } from "@/components/ReportHeader/ReportHeaderPie";
6
7
  import { currentLocaleIso } from "@/stores";
8
+
7
9
  import * as styles from "./styles.scss";
8
10
 
9
11
  export const ReportHeader = () => {
@@ -1,6 +1,7 @@
1
1
  import { Text } from "@allurereport/web-components";
2
2
  import { clsx } from "clsx";
3
3
  import type { FunctionalComponent } from "preact";
4
+
4
5
  import * as styles from "./styles.scss";
5
6
 
6
7
  export type MetadataProps = {
@@ -2,13 +2,15 @@ import { type Statistic, capitalize, statusesList } from "@allurereport/core-api
2
2
  import { Loadable } from "@allurereport/web-components";
3
3
  import { computed } from "@preact/signals";
4
4
  import type { FunctionComponent } from "preact";
5
+
5
6
  import MetadataItem, { type MetadataProps } from "@/components/ReportMetadata/MetadataItem";
6
7
  import { MetadataTestType } from "@/components/ReportMetadata/MetadataTestType";
7
8
  import { MetadataWithIcon } from "@/components/ReportMetadata/MetadataWithIcon";
8
- import * as styles from "@/components/ReportMetadata/styles.scss";
9
9
  import { statsStore } from "@/stores";
10
10
  import { useI18n } from "@/stores/locale";
11
11
 
12
+ import * as styles from "@/components/ReportMetadata/styles.scss";
13
+
12
14
  export const MetadataSummary: FunctionComponent = () => {
13
15
  const { t } = useI18n("statuses");
14
16
  const { t: testSummary } = useI18n("testSummary");
@@ -1,7 +1,9 @@
1
1
  import { Text } from "@allurereport/web-components";
2
2
  import { clsx } from "clsx";
3
3
  import type { FunctionComponent } from "preact";
4
+
4
5
  import type { MetadataProps } from "@/components/ReportMetadata/MetadataItem";
6
+
5
7
  import * as styles from "@/components/ReportMetadata/styles.scss";
6
8
 
7
9
  export const MetadataTestType: FunctionComponent<MetadataProps> = ({ status, count }) => {
@@ -1,6 +1,8 @@
1
1
  import { SvgIcon, Text, allureIcons } from "@allurereport/web-components";
2
2
  import type { FunctionComponent } from "preact";
3
+
3
4
  import type { MetadataProps } from "@/components/ReportMetadata/MetadataItem";
5
+
4
6
  import * as styles from "./styles.scss";
5
7
 
6
8
  const icons: Record<string, string> = {
@@ -2,10 +2,12 @@ import type { EnvironmentItem } from "@allurereport/core-api";
2
2
  import { Loadable } from "@allurereport/web-components";
3
3
  import type { FunctionalComponent } from "preact";
4
4
  import { useState } from "preact/hooks";
5
+
5
6
  import { MetadataList } from "@/components/Metadata";
6
7
  import { MetadataButton } from "@/components/MetadataButton";
7
8
  import { MetadataSummary } from "@/components/ReportMetadata/MetadataSummary";
8
9
  import { envInfoStore } from "@/stores/envInfo";
10
+
9
11
  import * as styles from "./styles.scss";
10
12
 
11
13
  export interface MetadataItem extends EnvironmentItem {
@@ -1,6 +1,7 @@
1
1
  import type { ComponentChild, FunctionalComponent } from "preact";
2
2
  import { useEffect, useRef } from "preact/hooks";
3
3
  import Split from "split.js";
4
+
4
5
  import * as styles from "./styles.scss";
5
6
 
6
7
  interface SideBySideProps {
@@ -2,10 +2,12 @@ import { SvgIcon, Text, allureIcons } from "@allurereport/web-components";
2
2
  import clsx from "clsx";
3
3
  import { h } from "preact";
4
4
  import { useState } from "preact/hooks";
5
+
5
6
  import { LanguagePicker } from "@/components/LanguagePicker";
6
7
  import { useI18n } from "@/stores";
7
8
  import { activeTab } from "@/stores/router";
8
9
  import { navigateTo } from "@/utils/navigate";
10
+
9
11
  import * as styles from "./styles.scss";
10
12
 
11
13
  const tabs = [
@@ -1,6 +1,7 @@
1
1
  import { View } from "backbone.marionette";
2
2
  import { escapeExpression as escape } from "handlebars/runtime.js";
3
3
  import { findWhere } from "underscore";
4
+
4
5
  import LanguageSelectView from "@/components/language-select/LanguageSelectView.js";
5
6
  import TooltipView from "@/components/tooltip/TooltipView.js";
6
7
  import { className, on } from "@/decorators/index.js";
@@ -8,7 +9,9 @@ import router from "@/router.js";
8
9
  import pluginsRegistry from "@/utils/pluginsRegistry.js";
9
10
  import settings from "@/utils/settings.js";
10
11
  import { LANGUAGES } from "@/utils/translation.js";
12
+
11
13
  import template from "./SideNavView.hbs";
14
+
12
15
  import "./styles.scss";
13
16
 
14
17
  @className("side-nav")
@@ -1,5 +1,6 @@
1
1
  import { Heading, Loadable, PageLoader } from "@allurereport/web-components";
2
2
  import { useEffect } from "preact/compat";
3
+
3
4
  import { HeaderActions } from "@/components/HeaderActions/HeaderActions";
4
5
  import SideBySide from "@/components/SideBySide";
5
6
  import TestResult from "@/components/TestResult";
@@ -8,6 +9,7 @@ import { fetchStats, useI18n } from "@/stores";
8
9
  import { route } from "@/stores/router";
9
10
  import { fetchTestResult, testResultStore } from "@/stores/testResults";
10
11
  import { fetchTreeData, treeStore } from "@/stores/tree";
12
+
11
13
  import * as styles from "./styles.scss";
12
14
 
13
15
  const Suites = () => {
@@ -1,6 +1,8 @@
1
1
  import { Text } from "@allurereport/web-components";
2
2
  import { type ComponentChildren } from "preact";
3
+
3
4
  import { currentTab, setCurrentTab } from "@/stores/tabs";
5
+
4
6
  import * as styles from "./styles.scss";
5
7
 
6
8
  export const Tabs = (props: { children: ComponentChildren; initialTab?: string }) => {
@@ -1,8 +1,10 @@
1
1
  import type { AttachmentTestStepResult } from "@allurereport/core-api";
2
2
  import type { FunctionalComponent } from "preact";
3
3
  import type { ClassicTestResult } from "types";
4
+
4
5
  import { TestResultAttachment } from "@/components/TestResult/TestResultSteps/testResultAttachment";
5
6
  import { useI18n } from "@/stores";
7
+
6
8
  import * as styles from "./styles.scss";
7
9
 
8
10
  export type TestResultAttachmentViewProps = {