@gemx-dev/heatmap-react 3.5.7 → 3.5.9
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/package.json +7 -2
- package/dist/esm/components/ContentHeader.d.ts +0 -4
- package/dist/esm/components/ContentHeader.d.ts.map +0 -1
- package/dist/esm/components/DomPanel.d.ts +0 -2
- package/dist/esm/components/DomPanel.d.ts.map +0 -1
- package/dist/esm/components/HeatmapGraphView.d.ts +0 -9
- package/dist/esm/components/HeatmapGraphView.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout/ContentHeader.d.ts +0 -4
- package/dist/esm/components/HeatmapLayout/ContentHeader.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout/HeatmapLayout.d.ts +0 -7
- package/dist/esm/components/HeatmapLayout/HeatmapLayout.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout/LeftSidebar.d.ts +0 -4
- package/dist/esm/components/HeatmapLayout/LeftSidebar.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout/ReplayControls.d.ts +0 -2
- package/dist/esm/components/HeatmapLayout/ReplayControls.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout/VizDomContainer.d.ts +0 -2
- package/dist/esm/components/HeatmapLayout/VizDomContainer.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout/VizDomRenderer.d.ts +0 -6
- package/dist/esm/components/HeatmapLayout/VizDomRenderer.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout/WrapperLayout.d.ts +0 -7
- package/dist/esm/components/HeatmapLayout/WrapperLayout.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout/WrapperPreview.d.ts +0 -4
- package/dist/esm/components/HeatmapLayout/WrapperPreview.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout/index.d.ts +0 -2
- package/dist/esm/components/HeatmapLayout/index.d.ts.map +0 -1
- package/dist/esm/components/HeatmapLayout.d.ts +0 -7
- package/dist/esm/components/HeatmapLayout.d.ts.map +0 -1
- package/dist/esm/components/LeftSidebar.d.ts +0 -4
- package/dist/esm/components/LeftSidebar.d.ts.map +0 -1
- package/dist/esm/components/VisualizeDom.d.ts +0 -2
- package/dist/esm/components/VisualizeDom.d.ts.map +0 -1
- package/dist/esm/components/VizDomContainer.d.ts +0 -2
- package/dist/esm/components/VizDomContainer.d.ts.map +0 -1
- package/dist/esm/components/VizDomRenderer.d.ts +0 -2
- package/dist/esm/components/VizDomRenderer.d.ts.map +0 -1
- package/dist/esm/components/WrapperLayout.d.ts +0 -7
- package/dist/esm/components/WrapperLayout.d.ts.map +0 -1
- package/dist/esm/components/WrapperPreview.d.ts +0 -4
- package/dist/esm/components/WrapperPreview.d.ts.map +0 -1
- package/dist/esm/contexts/HeatmapProvider.d.ts +0 -18
- package/dist/esm/contexts/HeatmapProvider.d.ts.map +0 -1
- package/dist/esm/hooks/useHeatmapByMode.d.ts +0 -6
- package/dist/esm/hooks/useHeatmapByMode.d.ts.map +0 -1
- package/dist/esm/hooks/useHeatmapRender.d.ts +0 -6
- package/dist/esm/hooks/useHeatmapRender.d.ts.map +0 -1
- package/dist/esm/hooks/useHeatmapScale.d.ts +0 -28
- package/dist/esm/hooks/useHeatmapScale.d.ts.map +0 -1
- package/dist/esm/hooks/useReplayRender.d.ts +0 -9
- package/dist/esm/hooks/useReplayRender.d.ts.map +0 -1
- package/dist/esm/types/clarity.types.d.ts +0 -36
- package/dist/esm/types/clarity.types.d.ts.map +0 -1
- package/dist/esm/types/index.d.ts +0 -3
- package/dist/esm/types/index.d.ts.map +0 -1
- package/dist/umd/components/HeatmapGraphView.d.ts +0 -9
- package/dist/umd/components/HeatmapGraphView.d.ts.map +0 -1
- package/dist/umd/components/HeatmapLayout/ContentHeader.d.ts +0 -4
- package/dist/umd/components/HeatmapLayout/ContentHeader.d.ts.map +0 -1
- package/dist/umd/components/HeatmapLayout/HeatmapLayout.d.ts +0 -7
- package/dist/umd/components/HeatmapLayout/HeatmapLayout.d.ts.map +0 -1
- package/dist/umd/components/HeatmapLayout/LeftSidebar.d.ts +0 -4
- package/dist/umd/components/HeatmapLayout/LeftSidebar.d.ts.map +0 -1
- package/dist/umd/components/HeatmapLayout/ReplayControls.d.ts +0 -2
- package/dist/umd/components/HeatmapLayout/ReplayControls.d.ts.map +0 -1
- package/dist/umd/components/HeatmapLayout/VizDomContainer.d.ts +0 -2
- package/dist/umd/components/HeatmapLayout/VizDomContainer.d.ts.map +0 -1
- package/dist/umd/components/HeatmapLayout/VizDomRenderer.d.ts +0 -6
- package/dist/umd/components/HeatmapLayout/VizDomRenderer.d.ts.map +0 -1
- package/dist/umd/components/HeatmapLayout/WrapperLayout.d.ts +0 -7
- package/dist/umd/components/HeatmapLayout/WrapperLayout.d.ts.map +0 -1
- package/dist/umd/components/HeatmapLayout/WrapperPreview.d.ts +0 -4
- package/dist/umd/components/HeatmapLayout/WrapperPreview.d.ts.map +0 -1
- package/dist/umd/components/HeatmapLayout/index.d.ts +0 -2
- package/dist/umd/components/HeatmapLayout/index.d.ts.map +0 -1
- package/dist/umd/contexts/HeatmapProvider.d.ts +0 -18
- package/dist/umd/contexts/HeatmapProvider.d.ts.map +0 -1
- package/dist/umd/hooks/useHeatmapByMode.d.ts +0 -6
- package/dist/umd/hooks/useHeatmapByMode.d.ts.map +0 -1
- package/dist/umd/hooks/useHeatmapRender.d.ts +0 -6
- package/dist/umd/hooks/useHeatmapRender.d.ts.map +0 -1
- package/dist/umd/hooks/useHeatmapScale.d.ts +0 -28
- package/dist/umd/hooks/useHeatmapScale.d.ts.map +0 -1
- package/dist/umd/hooks/useReplayRender.d.ts +0 -9
- package/dist/umd/hooks/useReplayRender.d.ts.map +0 -1
- package/dist/umd/types/index.d.ts +0 -3
- package/dist/umd/types/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gemx-dev/heatmap-react",
|
|
3
|
-
"
|
|
3
|
+
"author": "gemx-dev",
|
|
4
|
+
"version": "3.5.9",
|
|
4
5
|
"license": "MIT",
|
|
5
6
|
"files": [
|
|
6
7
|
"dist"
|
|
@@ -39,7 +40,8 @@
|
|
|
39
40
|
"lint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
40
41
|
"lint:all": "yarn lint && yarn lint:tsc",
|
|
41
42
|
"lint:tsc": "tsc --noEmit",
|
|
42
|
-
"test": "jest --runInBand"
|
|
43
|
+
"test": "jest --runInBand",
|
|
44
|
+
"prepare": "yarn build"
|
|
43
45
|
},
|
|
44
46
|
"dependencies": {
|
|
45
47
|
"@gemx-dev/clarity-decode": "0.8.39",
|
|
@@ -75,5 +77,8 @@
|
|
|
75
77
|
"zustand/shallow": "zustandShallow"
|
|
76
78
|
},
|
|
77
79
|
"name": "ReactFlow"
|
|
80
|
+
},
|
|
81
|
+
"publishConfig": {
|
|
82
|
+
"access": "public"
|
|
78
83
|
}
|
|
79
84
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentHeader.d.ts","sourceRoot":"","sources":["../../src/components/ContentHeader.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAYjE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DomPanel.d.ts","sourceRoot":"","sources":["../../src/components/DomPanel.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EA0BnC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface HeatmapGraphViewProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const HeatmapGraphView: React.FC<HeatmapGraphViewProps>;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=HeatmapGraphView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapGraphView.d.ts","sourceRoot":"","sources":["../../src/components/HeatmapGraphView.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA4C5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentHeader.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/ContentHeader.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAYjE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapLayout.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/HeatmapLayout.tsx"],"names":[],"mappings":"AAGA,UAAU,kBAAkB;IAC1B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AACD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAetD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LeftSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/LeftSidebar.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CA4B/D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReplayControls.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/ReplayControls.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EA6ClC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VizDomContainer.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/VizDomContainer.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAkBnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VizDomRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/VizDomRenderer.tsx"],"names":[],"mappings":"AAOA,UAAU,mBAAmB;IAC3B,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC7B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAyExD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperLayout.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/WrapperLayout.tsx"],"names":[],"mappings":"AAIA,UAAU,kBAAkB;IAC1B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AACD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAOtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperPreview.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/WrapperPreview.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAUlE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapLayout.d.ts","sourceRoot":"","sources":["../../src/components/HeatmapLayout.tsx"],"names":[],"mappings":"AAGA,UAAU,kBAAkB;IAC1B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AACD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAetD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LeftSidebar.d.ts","sourceRoot":"","sources":["../../src/components/LeftSidebar.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAyB/D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VisualizeDom.d.ts","sourceRoot":"","sources":["../../src/components/VisualizeDom.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAqFhC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VizDomContainer.d.ts","sourceRoot":"","sources":["../../src/components/VizDomContainer.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAkBnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VizDomRenderer.d.ts","sourceRoot":"","sources":["../../src/components/VizDomRenderer.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAqFlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperLayout.d.ts","sourceRoot":"","sources":["../../src/components/WrapperLayout.tsx"],"names":[],"mappings":"AAIA,UAAU,kBAAkB;IAC1B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AACD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAOtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperPreview.d.ts","sourceRoot":"","sources":["../../src/components/WrapperPreview.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAUlE,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { FC, ReactNode } from 'react';
|
|
2
|
-
import { Visualizer } from '@gemx-dev/clarity-visualize';
|
|
3
|
-
interface IHeatmapContext {
|
|
4
|
-
visualizerRef: React.RefObject<Visualizer | null>;
|
|
5
|
-
iframeRef: React.RefObject<HTMLIFrameElement | null>;
|
|
6
|
-
}
|
|
7
|
-
export declare const HeatmapContext: import("react").Context<IHeatmapContext | undefined>;
|
|
8
|
-
interface IHeatmapProviderProps {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export type DateRange = {
|
|
12
|
-
start: Date;
|
|
13
|
-
end: Date;
|
|
14
|
-
};
|
|
15
|
-
export declare const HeatmapProvider: FC<IHeatmapProviderProps>;
|
|
16
|
-
export declare const useHeatmapContext: () => IHeatmapContext;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=HeatmapProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapProvider.d.ts","sourceRoot":"","sources":["../../src/contexts/HeatmapProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGzD,UAAU,eAAe;IACvB,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAClD,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,cAAc,sDAAwD,CAAC;AAEpF,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,MAAM,SAAS,GAAG;IAAE,KAAK,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,IAAI,CAAA;CAAE,CAAC;AAEnD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,CAcrD,CAAC;AAEF,eAAO,MAAM,iBAAiB,uBAM7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHeatmapByMode.d.ts","sourceRoot":"","sources":["../../src/hooks/useHeatmapByMode.ts"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,gBAAgB,GAAI,MAAM,SAAS,GAAG,QAAQ,KAAG,uBAW7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHeatmapRender.d.ts","sourceRoot":"","sources":["../../src/hooks/useHeatmapRender.ts"],"names":[],"mappings":"AAOA,UAAU,uBAAuB;IAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,gBAAgB,QAAO,uBA8EnC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { IHeatmapConfig } from '../types';
|
|
2
|
-
interface IHeatmapScaleProps {
|
|
3
|
-
wrapperRef: React.RefObject<HTMLDivElement | null>;
|
|
4
|
-
iframeRef: React.RefObject<HTMLIFrameElement | null>;
|
|
5
|
-
config?: IHeatmapConfig;
|
|
6
|
-
}
|
|
7
|
-
interface IUseHeatmapScaleResult {
|
|
8
|
-
/** Container dimensions (scrollable parent) */
|
|
9
|
-
containerWidth: number;
|
|
10
|
-
containerHeight: number;
|
|
11
|
-
/** Content width from heatmap data */
|
|
12
|
-
contentWidth: number;
|
|
13
|
-
/** Content height from heatmap data */
|
|
14
|
-
contentHeight: number;
|
|
15
|
-
/** Scaled width for wrapper */
|
|
16
|
-
scaledWidth: number;
|
|
17
|
-
/** Scaled height for wrapper */
|
|
18
|
-
scaledHeight: number;
|
|
19
|
-
/** Iframe body actual height (from ResizeObserver) */
|
|
20
|
-
iframeHeight: number;
|
|
21
|
-
/** Scale ratio for wrapper */
|
|
22
|
-
scale: number;
|
|
23
|
-
/** Wrapper scroll handler */
|
|
24
|
-
handleScroll: (scrollTop: number) => void;
|
|
25
|
-
}
|
|
26
|
-
export declare const useHeatmapScale: (props: IHeatmapScaleProps) => IUseHeatmapScaleResult;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=useHeatmapScale.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHeatmapScale.d.ts","sourceRoot":"","sources":["../../src/hooks/useHeatmapScale.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,UAAU,kBAAkB;IAC1B,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACnD,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACrD,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,UAAU,sBAAsB;IAC9B,+CAA+C;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,kBAAkB,KAAG,sBAiM3D,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface IUseReplayRenderResult {
|
|
2
|
-
iframeRef: React.RefObject<HTMLIFrameElement | null>;
|
|
3
|
-
isPlaying: boolean;
|
|
4
|
-
play: () => void;
|
|
5
|
-
pause: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const useReplayRender: () => IUseReplayRenderResult;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=useReplayRender.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useReplayRender.d.ts","sourceRoot":"","sources":["../../src/hooks/useReplayRender.ts"],"names":[],"mappings":"AAQA,UAAU,sBAAsB;IAC9B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACrD,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,QAAO,sBAgJlC,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { Data, MergedPayload } from '@gemx-dev/clarity-visualize';
|
|
2
|
-
export interface HeatmapProject {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
domain: string;
|
|
6
|
-
apiKey: string;
|
|
7
|
-
_count?: {
|
|
8
|
-
sessions: number;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export interface SessionData {
|
|
12
|
-
id: string;
|
|
13
|
-
projectId: string;
|
|
14
|
-
userId?: string;
|
|
15
|
-
startTime: Date;
|
|
16
|
-
endTime?: Date;
|
|
17
|
-
pageUrl: string;
|
|
18
|
-
userAgent?: string;
|
|
19
|
-
screenWidth?: number;
|
|
20
|
-
screenHeight?: number;
|
|
21
|
-
deviceType?: string;
|
|
22
|
-
browser?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface ClickMapPoint {
|
|
25
|
-
hash: string;
|
|
26
|
-
selector: string;
|
|
27
|
-
totalclicks: number;
|
|
28
|
-
x: number[];
|
|
29
|
-
y: number[];
|
|
30
|
-
clicks: number[];
|
|
31
|
-
points: number;
|
|
32
|
-
}
|
|
33
|
-
export type DecodedPayload = Data.DecodedPayload;
|
|
34
|
-
export type DecodedEvents = MergedPayload['events'];
|
|
35
|
-
export type DecodedEvent = DecodedEvents[number];
|
|
36
|
-
//# sourceMappingURL=clarity.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clarity.types.d.ts","sourceRoot":"","sources":["../../src/types/clarity.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEvE,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QACP,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,CAAC,EAAE,MAAM,EAAE,CAAC;IACZ,CAAC,EAAE,MAAM,EAAE,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;AACpD,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface HeatmapGraphViewProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const HeatmapGraphView: React.FC<HeatmapGraphViewProps>;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=HeatmapGraphView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapGraphView.d.ts","sourceRoot":"","sources":["../../src/components/HeatmapGraphView.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA4C5D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentHeader.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/ContentHeader.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAYjE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapLayout.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/HeatmapLayout.tsx"],"names":[],"mappings":"AAGA,UAAU,kBAAkB;IAC1B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AACD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAetD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LeftSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/LeftSidebar.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CA4B/D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReplayControls.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/ReplayControls.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EA6ClC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VizDomContainer.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/VizDomContainer.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAkBnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VizDomRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/VizDomRenderer.tsx"],"names":[],"mappings":"AAOA,UAAU,mBAAmB;IAC3B,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC7B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAyExD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperLayout.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/WrapperLayout.tsx"],"names":[],"mappings":"AAIA,UAAU,kBAAkB;IAC1B,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AACD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAOtD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WrapperPreview.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/WrapperPreview.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAUlE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HeatmapLayout/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { FC, ReactNode } from 'react';
|
|
2
|
-
import { Visualizer } from '@gemx-dev/clarity-visualize';
|
|
3
|
-
interface IHeatmapContext {
|
|
4
|
-
visualizerRef: React.RefObject<Visualizer | null>;
|
|
5
|
-
iframeRef: React.RefObject<HTMLIFrameElement | null>;
|
|
6
|
-
}
|
|
7
|
-
export declare const HeatmapContext: import("react").Context<IHeatmapContext | undefined>;
|
|
8
|
-
interface IHeatmapProviderProps {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export type DateRange = {
|
|
12
|
-
start: Date;
|
|
13
|
-
end: Date;
|
|
14
|
-
};
|
|
15
|
-
export declare const HeatmapProvider: FC<IHeatmapProviderProps>;
|
|
16
|
-
export declare const useHeatmapContext: () => IHeatmapContext;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=HeatmapProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapProvider.d.ts","sourceRoot":"","sources":["../../src/contexts/HeatmapProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGzD,UAAU,eAAe;IACvB,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IAClD,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,cAAc,sDAAwD,CAAC;AAEpF,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,MAAM,SAAS,GAAG;IAAE,KAAK,EAAE,IAAI,CAAC;IAAC,GAAG,EAAE,IAAI,CAAA;CAAE,CAAC;AAEnD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,CAcrD,CAAC;AAEF,eAAO,MAAM,iBAAiB,uBAM7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHeatmapByMode.d.ts","sourceRoot":"","sources":["../../src/hooks/useHeatmapByMode.ts"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,gBAAgB,GAAI,MAAM,SAAS,GAAG,QAAQ,KAAG,uBAW7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHeatmapRender.d.ts","sourceRoot":"","sources":["../../src/hooks/useHeatmapRender.ts"],"names":[],"mappings":"AAOA,UAAU,uBAAuB;IAC/B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,gBAAgB,QAAO,uBA8EnC,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { IHeatmapConfig } from '../types';
|
|
2
|
-
interface IHeatmapScaleProps {
|
|
3
|
-
wrapperRef: React.RefObject<HTMLDivElement | null>;
|
|
4
|
-
iframeRef: React.RefObject<HTMLIFrameElement | null>;
|
|
5
|
-
config?: IHeatmapConfig;
|
|
6
|
-
}
|
|
7
|
-
interface IUseHeatmapScaleResult {
|
|
8
|
-
/** Container dimensions (scrollable parent) */
|
|
9
|
-
containerWidth: number;
|
|
10
|
-
containerHeight: number;
|
|
11
|
-
/** Content width from heatmap data */
|
|
12
|
-
contentWidth: number;
|
|
13
|
-
/** Content height from heatmap data */
|
|
14
|
-
contentHeight: number;
|
|
15
|
-
/** Scaled width for wrapper */
|
|
16
|
-
scaledWidth: number;
|
|
17
|
-
/** Scaled height for wrapper */
|
|
18
|
-
scaledHeight: number;
|
|
19
|
-
/** Iframe body actual height (from ResizeObserver) */
|
|
20
|
-
iframeHeight: number;
|
|
21
|
-
/** Scale ratio for wrapper */
|
|
22
|
-
scale: number;
|
|
23
|
-
/** Wrapper scroll handler */
|
|
24
|
-
handleScroll: (scrollTop: number) => void;
|
|
25
|
-
}
|
|
26
|
-
export declare const useHeatmapScale: (props: IHeatmapScaleProps) => IUseHeatmapScaleResult;
|
|
27
|
-
export {};
|
|
28
|
-
//# sourceMappingURL=useHeatmapScale.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHeatmapScale.d.ts","sourceRoot":"","sources":["../../src/hooks/useHeatmapScale.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,UAAU,kBAAkB;IAC1B,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACnD,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACrD,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,UAAU,sBAAsB;IAC9B,+CAA+C;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,kBAAkB,KAAG,sBAiM3D,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface IUseReplayRenderResult {
|
|
2
|
-
iframeRef: React.RefObject<HTMLIFrameElement | null>;
|
|
3
|
-
isPlaying: boolean;
|
|
4
|
-
play: () => void;
|
|
5
|
-
pause: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const useReplayRender: () => IUseReplayRenderResult;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=useReplayRender.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useReplayRender.d.ts","sourceRoot":"","sources":["../../src/hooks/useReplayRender.ts"],"names":[],"mappings":"AAQA,UAAU,sBAAsB;IAC9B,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACrD,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,QAAO,sBAgJlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|