@google-psat/report 0.9.0-3 → 0.10.1-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 (79) hide show
  1. package/dist/dashboard/components/cookiesWithIssues/index.js +43 -0
  2. package/dist/dashboard/components/header/index.js +26 -0
  3. package/dist/dashboard/components/siteMapReport/cookies.js +73 -0
  4. package/dist/dashboard/components/siteMapReport/index.js +31 -0
  5. package/dist/dashboard/components/siteMapReport/layout.js +140 -0
  6. package/dist/dashboard/components/siteMapReport/sidebarData.js +46 -0
  7. package/dist/dashboard/components/siteMapReport/sitemapCookiesWithIssues.js +9 -0
  8. package/dist/dashboard/components/siteReport/components/layout.js +145 -0
  9. package/dist/dashboard/components/siteReport/index.js +33 -0
  10. package/dist/dashboard/components/siteReport/stateProviders/contentStore/index.js +55 -0
  11. package/dist/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/blockedCookiesSection.js +82 -0
  12. package/dist/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/cookiesSection.js +38 -0
  13. package/dist/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/exemptedCookiesSection.js +63 -0
  14. package/dist/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/framesSection.js +38 -0
  15. package/dist/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/index.js +17 -0
  16. package/dist/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/knownBreakages.js +53 -0
  17. package/dist/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/landing.js +110 -0
  18. package/dist/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/index.js +58 -0
  19. package/dist/dashboard/components/siteReport/tabs/cookies/cookiesListing/index.js +47 -0
  20. package/dist/dashboard/components/siteReport/tabs/cookies/index.js +56 -0
  21. package/dist/dashboard/components/siteReport/tabs/index.js +54 -0
  22. package/dist/dashboard/components/siteReport/tabs/siteCookiesWithIssues/index.js +29 -0
  23. package/dist/dashboard/components/siteReport/tabs/technologies/index.js +91 -0
  24. package/dist/dashboard/components/utils/NamePrefixIconSelector.js +67 -0
  25. package/dist/dashboard/components/utils/extractCookies.js +36 -0
  26. package/dist/dashboard/components/utils/extractReportData.js +56 -0
  27. package/dist/dashboard/components/utils/reportDownloader/generateSiteMapReportandDownload.js +44 -0
  28. package/dist/dashboard/components/utils/reportDownloader/generateSiteReportandDownload.js +52 -0
  29. package/dist/dashboard/components/utils/reportDownloader/index.js +17 -0
  30. package/dist/dashboard/components/utils/reportDownloader/utils.js +148 -0
  31. package/dist/dashboard/components/utils/reshapeCookies.js +102 -0
  32. package/dist/dashboard/components/utils/tests/data.mock.js +176 -0
  33. package/dist/dashboard/components/utils/tests/extractCookies.js +84 -0
  34. package/dist/dashboard/components/utils/tests/extractReportData.js +64 -0
  35. package/dist/dashboard/components/utils/tests/reshapeCookies.js +89 -0
  36. package/dist/dashboard/hooks/useCookieListing/index.js +412 -0
  37. package/dist/dashboard/index.js +19 -0
  38. package/dist/index.js +16 -0
  39. package/dist-types/dashboard/components/cookiesWithIssues/index.d.ts +8 -0
  40. package/dist-types/dashboard/components/header/index.d.ts +6 -0
  41. package/dist-types/dashboard/components/siteMapReport/cookies.d.ts +15 -0
  42. package/dist-types/dashboard/components/siteMapReport/index.d.ts +11 -0
  43. package/dist-types/dashboard/components/siteMapReport/layout.d.ts +18 -0
  44. package/dist-types/dashboard/components/siteMapReport/sidebarData.d.ts +3 -0
  45. package/dist-types/dashboard/components/siteMapReport/sitemapCookiesWithIssues.d.ts +10 -0
  46. package/dist-types/dashboard/components/siteReport/components/layout.d.ts +13 -0
  47. package/dist-types/dashboard/components/siteReport/index.d.ts +17 -0
  48. package/dist-types/dashboard/components/siteReport/stateProviders/contentStore/index.d.ts +32 -0
  49. package/dist-types/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/blockedCookiesSection.d.ts +8 -0
  50. package/dist-types/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/cookiesSection.d.ts +7 -0
  51. package/dist-types/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/exemptedCookiesSection.d.ts +7 -0
  52. package/dist-types/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/framesSection.d.ts +9 -0
  53. package/dist-types/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/index.d.ts +2 -0
  54. package/dist-types/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/knownBreakages.d.ts +9 -0
  55. package/dist-types/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/cookieLanding/landing.d.ts +15 -0
  56. package/dist-types/dashboard/components/siteReport/tabs/cookies/cookiesLandingContainer/index.d.ts +23 -0
  57. package/dist-types/dashboard/components/siteReport/tabs/cookies/cookiesListing/index.d.ts +9 -0
  58. package/dist-types/dashboard/components/siteReport/tabs/cookies/index.d.ts +9 -0
  59. package/dist-types/dashboard/components/siteReport/tabs/index.d.ts +3 -0
  60. package/dist-types/dashboard/components/siteReport/tabs/siteCookiesWithIssues/index.d.ts +5 -0
  61. package/dist-types/dashboard/components/siteReport/tabs/technologies/index.d.ts +5 -0
  62. package/dist-types/dashboard/components/utils/NamePrefixIconSelector.d.ts +3 -0
  63. package/dist-types/dashboard/components/utils/extractCookies.d.ts +6 -0
  64. package/dist-types/dashboard/components/utils/extractReportData.d.ts +11 -0
  65. package/dist-types/dashboard/components/utils/reportDownloader/generateSiteMapReportandDownload.d.ts +4 -0
  66. package/dist-types/dashboard/components/utils/reportDownloader/generateSiteReportandDownload.d.ts +4 -0
  67. package/dist-types/dashboard/components/utils/reportDownloader/index.d.ts +2 -0
  68. package/dist-types/dashboard/components/utils/reportDownloader/utils.d.ts +9 -0
  69. package/dist-types/dashboard/components/utils/reshapeCookies.d.ts +8 -0
  70. package/dist-types/dashboard/components/utils/tests/data.mock.d.ts +6 -0
  71. package/dist-types/dashboard/components/utils/tests/extractCookies.d.ts +1 -0
  72. package/dist-types/dashboard/components/utils/tests/extractReportData.d.ts +1 -0
  73. package/dist-types/dashboard/components/utils/tests/reshapeCookies.d.ts +1 -0
  74. package/dist-types/dashboard/hooks/useCookieListing/index.d.ts +10 -0
  75. package/dist-types/dashboard/index.d.ts +4 -0
  76. package/dist-types/index.d.ts +1 -0
  77. package/package.json +11 -5
  78. package/public/index.html +1 -0
  79. package/tsconfig.json +19 -3
@@ -0,0 +1,23 @@
1
+ /**
2
+ * External dependencies.
3
+ */
4
+ import React from 'react';
5
+ import { type LibraryData, type TabCookies, type TabFrames } from '@google-psat/common';
6
+ import { type TableFilter } from '@google-psat/design-system';
7
+ interface AssembledCookiesLandingProps {
8
+ tabCookies: TabCookies;
9
+ tabFrames: TabFrames;
10
+ setAppliedFilters: React.Dispatch<React.SetStateAction<TableFilter>>;
11
+ downloadReport?: () => Promise<void>;
12
+ libraryMatches: LibraryData | null;
13
+ libraryMatchesUrlCount?: {
14
+ [url: string]: number;
15
+ };
16
+ isSiteMapLandingContainer?: boolean;
17
+ menuBarScrollContainerId?: string;
18
+ query?: string;
19
+ clearQuery?: () => void;
20
+ url: string | undefined | null;
21
+ }
22
+ declare const _default: React.MemoExoticComponent<({ tabCookies, tabFrames, setAppliedFilters, downloadReport, libraryMatches, libraryMatchesUrlCount, menuBarScrollContainerId, query, clearQuery, url, }: AssembledCookiesLandingProps) => import("react/jsx-runtime").JSX.Element>;
23
+ export default _default;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Internal dependencies
3
+ */
4
+ interface CookiesListingProps {
5
+ selectedFrameUrl: string;
6
+ selectedSite?: string | null;
7
+ }
8
+ declare const CookiesListing: ({ selectedFrameUrl, selectedSite, }: CookiesListingProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default CookiesListing;
@@ -0,0 +1,9 @@
1
+ interface CookiesTabProps {
2
+ selectedFrameUrl?: string | null;
3
+ selectedSite?: string | null;
4
+ query?: string;
5
+ clearQuery?: () => void;
6
+ url?: string;
7
+ }
8
+ declare const CookiesTab: ({ selectedFrameUrl, selectedSite, query, clearQuery, url, }: CookiesTabProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default CookiesTab;
@@ -0,0 +1,3 @@
1
+ import { type SidebarItems } from '@google-psat/design-system';
2
+ declare const Tabs: SidebarItems;
3
+ export default Tabs;
@@ -0,0 +1,5 @@
1
+ interface SiteCookiesWithIssuesProps {
2
+ selectedSite: string | null;
3
+ }
4
+ declare const SiteCookiesWithIssues: ({ selectedSite, }: SiteCookiesWithIssuesProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default SiteCookiesWithIssues;
@@ -0,0 +1,5 @@
1
+ interface TechnologiesProps {
2
+ selectedSite: string | null;
3
+ }
4
+ declare const Technologies: ({ selectedSite }: TechnologiesProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default Technologies;
@@ -0,0 +1,3 @@
1
+ import { type TableRow } from '@google-psat/design-system';
2
+ declare const NamePrefixIconSelector: ({ originalData }: TableRow) => import("react/jsx-runtime").JSX.Element;
3
+ export default NamePrefixIconSelector;
@@ -0,0 +1,6 @@
1
+ import { type CompleteJson, type CookieFrameStorageType } from '@google-psat/common';
2
+ /**
3
+ * Internal dependencies
4
+ */
5
+ declare const extractCookies: (cookieData: CompleteJson["cookieData"], pageUrl: string, shouldAddUrlToKey?: boolean) => CookieFrameStorageType;
6
+ export default extractCookies;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type { CompleteJson, LibraryData } from '@google-psat/common';
5
+ declare const extractReportData: (data: CompleteJson[]) => {
6
+ landingPageCookies: {};
7
+ consolidatedLibraryMatches: {
8
+ [url: string]: LibraryData;
9
+ };
10
+ };
11
+ export default extractReportData;
@@ -0,0 +1,4 @@
1
+ import { type CompleteJson } from '@google-psat/common';
2
+ import { type TableFilter } from '@google-psat/design-system';
3
+ declare const generateSiteMapReportandDownload: (JSONReport: CompleteJson[], appliedFilters: TableFilter, path: string) => Promise<void>;
4
+ export default generateSiteMapReportandDownload;
@@ -0,0 +1,4 @@
1
+ import { type CompleteJson } from '@google-psat/common';
2
+ import { type TableFilter } from '@google-psat/design-system';
3
+ declare const generateSiteReportandDownload: (JSONReport: CompleteJson[], appliedFilters: TableFilter, selectedPageUrl?: string | null) => Promise<void>;
4
+ export default generateSiteReportandDownload;
@@ -0,0 +1,2 @@
1
+ export { default as generateSiteMapReportandDownload } from './generateSiteMapReportandDownload';
2
+ export { default as generateSiteReportandDownload } from './generateSiteReportandDownload';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import type JSZip from 'jszip';
5
+ import { type CompleteJson } from '@google-psat/common';
6
+ import { type TableFilter } from '@google-psat/design-system';
7
+ export declare const generateSitemapHTMLFile: (analysisData: CompleteJson[], appliedFilters: TableFilter) => Blob;
8
+ export declare const createZip: (analysisData: CompleteJson, appliedFilters: TableFilter, zipObject: JSZip) => void;
9
+ export declare const getFolderName: (pageUrl: string) => string;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import { type CookieTableData, type CookieFrameStorageType } from '@google-psat/common';
5
+ declare const reshapeCookies: (cookies: CookieFrameStorageType) => {
6
+ [k: string]: CookieTableData;
7
+ };
8
+ export default reshapeCookies;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * External dependencies
3
+ */
4
+ import { type CompleteJson } from '@google-psat/common';
5
+ export declare const tempSinglePageData: CompleteJson;
6
+ export declare const tempMultiPageData: CompleteJson[];
@@ -0,0 +1,10 @@
1
+ import { type CookieTableData } from '@google-psat/common';
2
+ import { type TableColumn, type TableFilter } from '@google-psat/design-system';
3
+ declare const useCookieListing: (tabCookies: CookieTableData[], selectedFrameUrl: string, persistenceKey?: string, selectedSite?: string | null) => {
4
+ tableColumns: TableColumn[];
5
+ filters: TableFilter;
6
+ searchKeys: string[];
7
+ tablePersistentSettingsKey: string;
8
+ isSidebarOpen: boolean;
9
+ };
10
+ export default useCookieListing;
@@ -0,0 +1,4 @@
1
+ export { default as SiteReport } from './components/siteReport';
2
+ export { default as SiteMapReport } from './components/siteMapReport';
3
+ export { default as extractReportData } from './components/utils/extractReportData';
4
+ export { default as extractCookies } from './components/utils/extractCookies';
@@ -0,0 +1 @@
1
+ export * from './dashboard';
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@google-psat/report",
3
- "version": "0.9.0-3",
3
+ "version": "0.10.1-1",
4
4
  "description": "Static HTML analysis report",
5
+ "main": "dist/index.js",
6
+ "types": "dist-types/index.d.ts",
5
7
  "repository": {
6
8
  "type": "git",
7
- "url": "git+https://github.com/GoogleChromeLabs/ps-analysis-tool.git",
9
+ "url": "https://github.com/GoogleChromeLabs/ps-analysis-tool",
8
10
  "directory": "packages/report"
9
11
  },
10
12
  "license": "Apache-2.0",
@@ -18,6 +20,9 @@
18
20
  "access": "public"
19
21
  },
20
22
  "scripts": {
23
+ "build": "tsc",
24
+ "dev": "tsc-watch",
25
+ "build:remove": "rimraf dist dist-types tsconfig.tsbuildinfo",
21
26
  "publish:local": "npm publish --registry=http://localhost:4873",
22
27
  "publish:remote": "npm publish --access=public --registry=https://registry.npmjs.org",
23
28
  "unpublish:local": "npm unpublish --registry=http://localhost:4873 --force",
@@ -25,18 +30,19 @@
25
30
  },
26
31
  "homepage": "https://github.com/GoogleChromeLabs/ps-analysis-tool#readme",
27
32
  "dependencies": {
28
- "react": "^18.2.0",
29
- "react-dom": "^18.2.0",
30
33
  "@google-psat/common": "*",
31
34
  "@google-psat/design-system": "*",
35
+ "@google-psat/i18n": "*",
32
36
  "@google-psat/library-detection": "*",
33
- "@google-psat/i18n": "*"
37
+ "react": "^18.2.0",
38
+ "react-dom": "^18.2.0"
34
39
  },
35
40
  "devDependencies": {
36
41
  "@babel/plugin-transform-react-jsx": "^7.22.15",
37
42
  "@babel/preset-env": "^7.22.15",
38
43
  "@babel/preset-react": "^7.22.15",
39
44
  "@babel/preset-typescript": "^7.22.15",
45
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
40
46
  "@types/file-saver": "^2.0.5",
41
47
  "babel-loader": "^9.1.3",
42
48
  "webpack": "^5.88.2",
package/public/index.html CHANGED
@@ -3,6 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <link rel="icon" type="image/png" href='data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjEyOCIgaGVpZ2h0PSIxMjgiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzlfNTIwKSI+CjxwYXRoIGQ9Ik0xMDMuODg4IDIzLjQ0NTFDMTExLjIxMyAzMC43NTg4IDExMy44MDcgNDEuODE3IDExMS42MjUgNTQuMTUwM0MxMDkuNDQ0IDY2LjQ3MjkgMTAyLjUxMiA3OS43OTQ0IDkxLjIyMTYgOTEuMDY3NkM3OS45MzA4IDEwMi4zNDEgNjYuNTg4NSAxMDkuMjYyIDU0LjI0NjcgMTExLjQzOUM0MS44OTQyIDExMy42MTggMzAuODE4NyAxMTEuMDI4IDIzLjQ5MzYgMTAzLjcxNEMxNi4xNjg0IDk2LjQwMDcgMTMuNTc0NyA4NS4zNDI1IDE1Ljc1NzIgNzMuMDA5MkMxNy45Mzc4IDYwLjY4NjYgMjQuODY5MyA0Ny4zNjUyIDM2LjE2MDEgMzYuMDkxOUM0Ny40NTEgMjQuODE4NyA2MC43OTMyIDE3Ljg5OCA3My4xMzUgMTUuNzIwOEM4NS40ODc1IDEzLjU0MTcgOTYuNTYzIDE2LjEzMTQgMTAzLjg4OCAyMy40NDUxWiIgc3Ryb2tlPSIjOUU5RTlFIiBzdHJva2Utd2lkdGg9IjUuNiIgc3Ryb2tlLW1pdGVybGltaXQ9Ijk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XQ9IjEwIi8+CjxwYXRoIGQ9Ik0xMTMuNDY0IDEwNEg4NC41NzYxTDgwIDExMi40TDg0LjU3NjEgMTIwLjhIMTEzLjQ2NEwxMTguMDQgMTEyLjRMMTEzLjQ2NCAxMDRaIiBmaWxsPSIjOUNEMUZCIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMzlfNTIwIj4KPHJlY3Qgd2lkdGg9IjEyOCIgaGVpZ2h0PSIxMjgiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=='/>
6
7
  <title>Report</title>
7
8
  </head>
8
9
  <body>
package/tsconfig.json CHANGED
@@ -1,13 +1,29 @@
1
1
  {
2
2
  "extends": "../../tsconfig.shared.json",
3
3
  "compilerOptions": {
4
- "rootDir": "src"
4
+ "rootDir": "src",
5
+ "outDir": "dist",
6
+ "declaration": true,
7
+ "declarationDir": "dist-types",
8
+ "noEmit": false,
9
+ "jsx": "react-jsx",
10
+ "types": ["jest", "node"]
5
11
  },
6
12
  "include": [
7
13
  "src",
8
14
  "../../node_modules/@types/jest/index.d.ts",
9
15
  "src/**/*.json"
10
16
  ],
11
- "exclude": ["**/tests/**/*.ts", "**/tests/**/*.tsx"],
12
- "references": [{ "path": "../i18n" }]
17
+ "references": [
18
+ { "path": "../common" },
19
+ {
20
+ "path": "../design-system"
21
+ },
22
+ {
23
+ "path": "../i18n"
24
+ },
25
+ {
26
+ "path": "../library-detection"
27
+ }
28
+ ]
13
29
  }