@gemx-dev/heatmap-react 3.5.92-dev.31 → 3.5.92-dev.33
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/dist/esm/components/VizScrollmap/ScrollMarkersTest.d.ts +9 -0
- package/dist/esm/components/VizScrollmap/ScrollMarkersTest.d.ts.map +1 -0
- package/dist/esm/components/VizScrollmap/VizScrollMap.d.ts.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +26 -2
- package/dist/esm/index.mjs +26 -2
- package/dist/esm/utils/dom.d.ts +1 -1
- package/dist/esm/utils/dom.d.ts.map +1 -1
- package/dist/umd/components/VizScrollmap/ScrollMarkersTest.d.ts +9 -0
- package/dist/umd/components/VizScrollmap/ScrollMarkersTest.d.ts.map +1 -0
- package/dist/umd/components/VizScrollmap/VizScrollMap.d.ts.map +1 -1
- package/dist/umd/index.d.ts +1 -0
- package/dist/umd/index.d.ts.map +1 -1
- package/dist/umd/index.js +2 -2
- package/dist/umd/utils/dom.d.ts +1 -1
- package/dist/umd/utils/dom.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IHeatmapRef } from '../../types';
|
|
2
|
+
interface ScrollMarkersProps {
|
|
3
|
+
iframeRef: IHeatmapRef['Iframe'];
|
|
4
|
+
wrapperRef: IHeatmapRef['Wrapper'];
|
|
5
|
+
visualRef: IHeatmapRef['Visual'];
|
|
6
|
+
}
|
|
7
|
+
export declare const ScrollMarkersTest: React.FC<ScrollMarkersProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=ScrollMarkersTest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollMarkersTest.d.ts","sourceRoot":"","sources":["../../../src/components/VizScrollmap/ScrollMarkersTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK/C,UAAU,kBAAkB;IAC1B,SAAS,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IACjC,UAAU,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACnC,SAAS,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;CAClC;AAcD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwB1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VizScrollMap.d.ts","sourceRoot":"","sources":["../../../src/components/VizScrollmap/VizScrollMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"VizScrollMap.d.ts","sourceRoot":"","sources":["../../../src/components/VizScrollmap/VizScrollMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAS/C,UAAU,iBAAiB;IACzB,SAAS,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IACjC,SAAS,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IACjC,UAAU,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACpC;AAGD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAyBpD,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -5,5 +5,6 @@ export * from './hooks';
|
|
|
5
5
|
export * from './types';
|
|
6
6
|
export { decodeArrayClarity, decodeClarity, serializeAreas } from './helpers';
|
|
7
7
|
export { useHeatmapCompareStore, useHeatmapConfigStore } from './stores';
|
|
8
|
+
export { getElementAtPoint, getElementHash } from './utils';
|
|
8
9
|
export * from './performance';
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE5D,cAAc,eAAe,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -8771,6 +8771,30 @@ const ScrollMarkers = ({ iframeRef, wrapperRef, visualRef }) => {
|
|
|
8771
8771
|
}) }));
|
|
8772
8772
|
};
|
|
8773
8773
|
|
|
8774
|
+
const getMarkerColor = (percent) => {
|
|
8775
|
+
if (percent <= 25)
|
|
8776
|
+
return 'rgba(239, 68, 68, 0.4)'; // red
|
|
8777
|
+
if (percent <= 50)
|
|
8778
|
+
return 'rgba(245, 158, 11, 0.4)'; // amber
|
|
8779
|
+
if (percent <= 75)
|
|
8780
|
+
return 'rgba(59, 130, 246, 0.4)'; // blue
|
|
8781
|
+
return 'rgba(16, 185, 129, 0.4)'; // green
|
|
8782
|
+
};
|
|
8783
|
+
const MOCK_BOUNDARIES = Array.from({ length: 20 }, (_, index) => (index + 1) * 5).map((percent) => {
|
|
8784
|
+
const color = getMarkerColor(percent);
|
|
8785
|
+
return { percent, label: `${percent}%`, bgColor: color, lineColor: color, labelColor: 'rgba(0, 0, 0, 0.5)' };
|
|
8786
|
+
});
|
|
8787
|
+
const ScrollMarkersTest = ({ iframeRef, wrapperRef, visualRef }) => {
|
|
8788
|
+
const { getZonePosition } = useZonePositions();
|
|
8789
|
+
useHeatmapScroll({ visualRef });
|
|
8790
|
+
return (jsx(Fragment, { children: MOCK_BOUNDARIES.map((boundary) => {
|
|
8791
|
+
const position = getZonePosition({ startY: boundary.percent, endY: boundary.percent });
|
|
8792
|
+
if (!position)
|
|
8793
|
+
return null;
|
|
8794
|
+
return (jsx(MarkerLine, { top: position.top, label: boundary.label, bgColor: boundary.bgColor, lineColor: boundary.lineColor, labelColor: boundary.labelColor }, boundary.label));
|
|
8795
|
+
}) }));
|
|
8796
|
+
};
|
|
8797
|
+
|
|
8774
8798
|
const SCROLL_TYPES = [EHeatmapType.Scroll];
|
|
8775
8799
|
const VizScrollMap = ({ iframeRef, wrapperRef, visualRef }) => {
|
|
8776
8800
|
const heatmapType = useHeatmapSettingContext((s) => s.heatmapType);
|
|
@@ -8786,7 +8810,7 @@ const VizScrollMap = ({ iframeRef, wrapperRef, visualRef }) => {
|
|
|
8786
8810
|
height: '100%',
|
|
8787
8811
|
transform: 'translateZ(0)',
|
|
8788
8812
|
zIndex: 2,
|
|
8789
|
-
}, children: [jsx(ScrollMarkers, { iframeRef: iframeRef, wrapperRef: wrapperRef, visualRef: visualRef }), jsx(AverageFold, { iframeRef: iframeRef, wrapperRef: wrapperRef }), jsx(ScrollOverlay, { iframeRef: iframeRef, wrapperRef: wrapperRef })] }));
|
|
8813
|
+
}, children: [jsx(ScrollMarkersTest, { iframeRef: iframeRef, wrapperRef: wrapperRef, visualRef: visualRef }), jsx(ScrollMarkers, { iframeRef: iframeRef, wrapperRef: wrapperRef, visualRef: visualRef }), jsx(AverageFold, { iframeRef: iframeRef, wrapperRef: wrapperRef }), jsx(ScrollOverlay, { iframeRef: iframeRef, wrapperRef: wrapperRef })] }));
|
|
8790
8814
|
};
|
|
8791
8815
|
|
|
8792
8816
|
const VizLoadingCanvas = () => {
|
|
@@ -9013,4 +9037,4 @@ const HeatmapLayout = ({ shopId, data, clickmap, clickAreas, scrollmap, attentio
|
|
|
9013
9037
|
}
|
|
9014
9038
|
};
|
|
9015
9039
|
|
|
9016
|
-
export { BACKDROP_CONFIG, DEFAULT_SIDEBAR_WIDTH, DEFAULT_VIEW_ID, DEFAULT_ZOOM_RATIO, EClickMode, EClickRankType, EClickType, EDeviceType, EHeatmapDataSource, EHeatmapMode, EHeatmapType, ELM_CALLOUT_CONFIG, EScrollType, GraphView, HEATMAP_CONFIG, HEATMAP_IFRAME, HEATMAP_STYLE, HeatmapLayout, ViewIdContext, Z_INDEX$1 as Z_INDEX, compareViewPerformance, convertViewportToIframeCoords, createStorePerformanceTracker, createViewContextHook, decodeArrayClarity, decodeClarity, downloadPerformanceReport, getCompareViewId, getMetricsByViewId, getPerformanceReportJSON, getScrollGradientColor, isElmInDataInfo, performanceLogger, printPerformanceSummary, scrollToElementIfNeeded, sendPerformanceReport, serializeAreas, trackStoreAction, useAreaCreation, useAreaEditMode, useAreaFilterVisible, useAreaHydration, useAreaInteraction, useAreaPositionsUpdater, useAreaRectSync, useAreaRendererContainer, useAreaTopAutoDetect, useClickedElement, useDebounceCallback, useElementCalloutVisible, useHeatmapAreaClickContext, useHeatmapCanvas, useHeatmapClickContext, useHeatmapCompareStore, useHeatmapConfigStore, useHeatmapCopyView, useHeatmapDataContext, useHeatmapEffects, useHeatmapElementPosition, useHeatmapHoverContext, useHeatmapLiveContext, useHeatmapRenderByMode, useHeatmapScale, useHeatmapScroll, useHeatmapScrollContext, useHeatmapSettingContext, useHeatmapViewportByDevice, useHeatmapVizContext, useHeatmapVizRectContext, useHoveredElement, useMeasureFunction, useRegisterConfig, useRegisterControl, useRegisterData, useRegisterHeatmap, useRenderCount, useScrollmapZones, useTrackHookCall, useViewIdContext, useVizLiveRender, useWhyDidYouUpdate, useWrapperRefHeight, useZonePositions, withPerformanceTracking };
|
|
9040
|
+
export { BACKDROP_CONFIG, DEFAULT_SIDEBAR_WIDTH, DEFAULT_VIEW_ID, DEFAULT_ZOOM_RATIO, EClickMode, EClickRankType, EClickType, EDeviceType, EHeatmapDataSource, EHeatmapMode, EHeatmapType, ELM_CALLOUT_CONFIG, EScrollType, GraphView, HEATMAP_CONFIG, HEATMAP_IFRAME, HEATMAP_STYLE, HeatmapLayout, ViewIdContext, Z_INDEX$1 as Z_INDEX, compareViewPerformance, convertViewportToIframeCoords, createStorePerformanceTracker, createViewContextHook, decodeArrayClarity, decodeClarity, downloadPerformanceReport, getCompareViewId, getElementAtPoint, getElementHash, getMetricsByViewId, getPerformanceReportJSON, getScrollGradientColor, isElmInDataInfo, performanceLogger, printPerformanceSummary, scrollToElementIfNeeded, sendPerformanceReport, serializeAreas, trackStoreAction, useAreaCreation, useAreaEditMode, useAreaFilterVisible, useAreaHydration, useAreaInteraction, useAreaPositionsUpdater, useAreaRectSync, useAreaRendererContainer, useAreaTopAutoDetect, useClickedElement, useDebounceCallback, useElementCalloutVisible, useHeatmapAreaClickContext, useHeatmapCanvas, useHeatmapClickContext, useHeatmapCompareStore, useHeatmapConfigStore, useHeatmapCopyView, useHeatmapDataContext, useHeatmapEffects, useHeatmapElementPosition, useHeatmapHoverContext, useHeatmapLiveContext, useHeatmapRenderByMode, useHeatmapScale, useHeatmapScroll, useHeatmapScrollContext, useHeatmapSettingContext, useHeatmapViewportByDevice, useHeatmapVizContext, useHeatmapVizRectContext, useHoveredElement, useMeasureFunction, useRegisterConfig, useRegisterControl, useRegisterData, useRegisterHeatmap, useRenderCount, useScrollmapZones, useTrackHookCall, useViewIdContext, useVizLiveRender, useWhyDidYouUpdate, useWrapperRefHeight, useZonePositions, withPerformanceTracking };
|
package/dist/esm/index.mjs
CHANGED
|
@@ -8771,6 +8771,30 @@ const ScrollMarkers = ({ iframeRef, wrapperRef, visualRef }) => {
|
|
|
8771
8771
|
}) }));
|
|
8772
8772
|
};
|
|
8773
8773
|
|
|
8774
|
+
const getMarkerColor = (percent) => {
|
|
8775
|
+
if (percent <= 25)
|
|
8776
|
+
return 'rgba(239, 68, 68, 0.4)'; // red
|
|
8777
|
+
if (percent <= 50)
|
|
8778
|
+
return 'rgba(245, 158, 11, 0.4)'; // amber
|
|
8779
|
+
if (percent <= 75)
|
|
8780
|
+
return 'rgba(59, 130, 246, 0.4)'; // blue
|
|
8781
|
+
return 'rgba(16, 185, 129, 0.4)'; // green
|
|
8782
|
+
};
|
|
8783
|
+
const MOCK_BOUNDARIES = Array.from({ length: 20 }, (_, index) => (index + 1) * 5).map((percent) => {
|
|
8784
|
+
const color = getMarkerColor(percent);
|
|
8785
|
+
return { percent, label: `${percent}%`, bgColor: color, lineColor: color, labelColor: 'rgba(0, 0, 0, 0.5)' };
|
|
8786
|
+
});
|
|
8787
|
+
const ScrollMarkersTest = ({ iframeRef, wrapperRef, visualRef }) => {
|
|
8788
|
+
const { getZonePosition } = useZonePositions();
|
|
8789
|
+
useHeatmapScroll({ visualRef });
|
|
8790
|
+
return (jsx(Fragment, { children: MOCK_BOUNDARIES.map((boundary) => {
|
|
8791
|
+
const position = getZonePosition({ startY: boundary.percent, endY: boundary.percent });
|
|
8792
|
+
if (!position)
|
|
8793
|
+
return null;
|
|
8794
|
+
return (jsx(MarkerLine, { top: position.top, label: boundary.label, bgColor: boundary.bgColor, lineColor: boundary.lineColor, labelColor: boundary.labelColor }, boundary.label));
|
|
8795
|
+
}) }));
|
|
8796
|
+
};
|
|
8797
|
+
|
|
8774
8798
|
const SCROLL_TYPES = [EHeatmapType.Scroll];
|
|
8775
8799
|
const VizScrollMap = ({ iframeRef, wrapperRef, visualRef }) => {
|
|
8776
8800
|
const heatmapType = useHeatmapSettingContext((s) => s.heatmapType);
|
|
@@ -8786,7 +8810,7 @@ const VizScrollMap = ({ iframeRef, wrapperRef, visualRef }) => {
|
|
|
8786
8810
|
height: '100%',
|
|
8787
8811
|
transform: 'translateZ(0)',
|
|
8788
8812
|
zIndex: 2,
|
|
8789
|
-
}, children: [jsx(ScrollMarkers, { iframeRef: iframeRef, wrapperRef: wrapperRef, visualRef: visualRef }), jsx(AverageFold, { iframeRef: iframeRef, wrapperRef: wrapperRef }), jsx(ScrollOverlay, { iframeRef: iframeRef, wrapperRef: wrapperRef })] }));
|
|
8813
|
+
}, children: [jsx(ScrollMarkersTest, { iframeRef: iframeRef, wrapperRef: wrapperRef, visualRef: visualRef }), jsx(ScrollMarkers, { iframeRef: iframeRef, wrapperRef: wrapperRef, visualRef: visualRef }), jsx(AverageFold, { iframeRef: iframeRef, wrapperRef: wrapperRef }), jsx(ScrollOverlay, { iframeRef: iframeRef, wrapperRef: wrapperRef })] }));
|
|
8790
8814
|
};
|
|
8791
8815
|
|
|
8792
8816
|
const VizLoadingCanvas = () => {
|
|
@@ -9013,4 +9037,4 @@ const HeatmapLayout = ({ shopId, data, clickmap, clickAreas, scrollmap, attentio
|
|
|
9013
9037
|
}
|
|
9014
9038
|
};
|
|
9015
9039
|
|
|
9016
|
-
export { BACKDROP_CONFIG, DEFAULT_SIDEBAR_WIDTH, DEFAULT_VIEW_ID, DEFAULT_ZOOM_RATIO, EClickMode, EClickRankType, EClickType, EDeviceType, EHeatmapDataSource, EHeatmapMode, EHeatmapType, ELM_CALLOUT_CONFIG, EScrollType, GraphView, HEATMAP_CONFIG, HEATMAP_IFRAME, HEATMAP_STYLE, HeatmapLayout, ViewIdContext, Z_INDEX$1 as Z_INDEX, compareViewPerformance, convertViewportToIframeCoords, createStorePerformanceTracker, createViewContextHook, decodeArrayClarity, decodeClarity, downloadPerformanceReport, getCompareViewId, getMetricsByViewId, getPerformanceReportJSON, getScrollGradientColor, isElmInDataInfo, performanceLogger, printPerformanceSummary, scrollToElementIfNeeded, sendPerformanceReport, serializeAreas, trackStoreAction, useAreaCreation, useAreaEditMode, useAreaFilterVisible, useAreaHydration, useAreaInteraction, useAreaPositionsUpdater, useAreaRectSync, useAreaRendererContainer, useAreaTopAutoDetect, useClickedElement, useDebounceCallback, useElementCalloutVisible, useHeatmapAreaClickContext, useHeatmapCanvas, useHeatmapClickContext, useHeatmapCompareStore, useHeatmapConfigStore, useHeatmapCopyView, useHeatmapDataContext, useHeatmapEffects, useHeatmapElementPosition, useHeatmapHoverContext, useHeatmapLiveContext, useHeatmapRenderByMode, useHeatmapScale, useHeatmapScroll, useHeatmapScrollContext, useHeatmapSettingContext, useHeatmapViewportByDevice, useHeatmapVizContext, useHeatmapVizRectContext, useHoveredElement, useMeasureFunction, useRegisterConfig, useRegisterControl, useRegisterData, useRegisterHeatmap, useRenderCount, useScrollmapZones, useTrackHookCall, useViewIdContext, useVizLiveRender, useWhyDidYouUpdate, useWrapperRefHeight, useZonePositions, withPerformanceTracking };
|
|
9040
|
+
export { BACKDROP_CONFIG, DEFAULT_SIDEBAR_WIDTH, DEFAULT_VIEW_ID, DEFAULT_ZOOM_RATIO, EClickMode, EClickRankType, EClickType, EDeviceType, EHeatmapDataSource, EHeatmapMode, EHeatmapType, ELM_CALLOUT_CONFIG, EScrollType, GraphView, HEATMAP_CONFIG, HEATMAP_IFRAME, HEATMAP_STYLE, HeatmapLayout, ViewIdContext, Z_INDEX$1 as Z_INDEX, compareViewPerformance, convertViewportToIframeCoords, createStorePerformanceTracker, createViewContextHook, decodeArrayClarity, decodeClarity, downloadPerformanceReport, getCompareViewId, getElementAtPoint, getElementHash, getMetricsByViewId, getPerformanceReportJSON, getScrollGradientColor, isElmInDataInfo, performanceLogger, printPerformanceSummary, scrollToElementIfNeeded, sendPerformanceReport, serializeAreas, trackStoreAction, useAreaCreation, useAreaEditMode, useAreaFilterVisible, useAreaHydration, useAreaInteraction, useAreaPositionsUpdater, useAreaRectSync, useAreaRendererContainer, useAreaTopAutoDetect, useClickedElement, useDebounceCallback, useElementCalloutVisible, useHeatmapAreaClickContext, useHeatmapCanvas, useHeatmapClickContext, useHeatmapCompareStore, useHeatmapConfigStore, useHeatmapCopyView, useHeatmapDataContext, useHeatmapEffects, useHeatmapElementPosition, useHeatmapHoverContext, useHeatmapLiveContext, useHeatmapRenderByMode, useHeatmapScale, useHeatmapScroll, useHeatmapScrollContext, useHeatmapSettingContext, useHeatmapViewportByDevice, useHeatmapVizContext, useHeatmapVizRectContext, useHoveredElement, useMeasureFunction, useRegisterConfig, useRegisterControl, useRegisterData, useRegisterHeatmap, useRenderCount, useScrollmapZones, useTrackHookCall, useViewIdContext, useVizLiveRender, useWhyDidYouUpdate, useWrapperRefHeight, useZonePositions, withPerformanceTracking };
|
package/dist/esm/utils/dom.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ export declare function getElementsAtPoint<T = Element>(doc: Document | ShadowRo
|
|
|
24
24
|
/**
|
|
25
25
|
* Get the element at a specific point (x, y)
|
|
26
26
|
*/
|
|
27
|
-
export declare const getElementAtPoint: (doc: Document, x: number, y: number) => HTMLElement | null;
|
|
27
|
+
export declare const getElementAtPoint: (doc: Document | ShadowRoot, x: number, y: number) => HTMLElement | null;
|
|
28
28
|
export declare function getElementHash(element: HTMLElement | null): string | null;
|
|
29
29
|
//# sourceMappingURL=dom.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/utils/dom.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;IAEnE;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,GAAG,OAAO,EAC5C,GAAG,EAAE,QAAQ,GAAG,UAAU,EAC1B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,OAAO,GAAE,0BAA+B,GACvC,CAAC,EAAE,CA2BL;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,KAAK,QAAQ,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/utils/dom.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC;IAEnE;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,GAAG,OAAO,EAC5C,GAAG,EAAE,QAAQ,GAAG,UAAU,EAC1B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,OAAO,GAAE,0BAA+B,GACvC,CAAC,EAAE,CA2BL;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,KAAK,QAAQ,GAAG,UAAU,EAAE,GAAG,MAAM,EAAE,GAAG,MAAM,KAAG,WAAW,GAAG,IAclG,CAAC;AAEF,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAGzE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IHeatmapRef } from '../../types';
|
|
2
|
+
interface ScrollMarkersProps {
|
|
3
|
+
iframeRef: IHeatmapRef['Iframe'];
|
|
4
|
+
wrapperRef: IHeatmapRef['Wrapper'];
|
|
5
|
+
visualRef: IHeatmapRef['Visual'];
|
|
6
|
+
}
|
|
7
|
+
export declare const ScrollMarkersTest: React.FC<ScrollMarkersProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=ScrollMarkersTest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollMarkersTest.d.ts","sourceRoot":"","sources":["../../../src/components/VizScrollmap/ScrollMarkersTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK/C,UAAU,kBAAkB;IAC1B,SAAS,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IACjC,UAAU,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACnC,SAAS,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;CAClC;AAcD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwB1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VizScrollMap.d.ts","sourceRoot":"","sources":["../../../src/components/VizScrollmap/VizScrollMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"VizScrollMap.d.ts","sourceRoot":"","sources":["../../../src/components/VizScrollmap/VizScrollMap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAS/C,UAAU,iBAAiB;IACzB,SAAS,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IACjC,SAAS,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IACjC,UAAU,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACpC;AAGD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAyBpD,CAAC"}
|
package/dist/umd/index.d.ts
CHANGED
|
@@ -5,5 +5,6 @@ export * from './hooks';
|
|
|
5
5
|
export * from './types';
|
|
6
6
|
export { decodeArrayClarity, decodeClarity, serializeAreas } from './helpers';
|
|
7
7
|
export { useHeatmapCompareStore, useHeatmapConfigStore } from './stores';
|
|
8
|
+
export { getElementAtPoint, getElementHash } from './utils';
|
|
8
9
|
export * from './performance';
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/umd/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE5D,cAAc,eAAe,CAAC"}
|