@gemx-dev/heatmap-react 3.5.58 → 3.5.59
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/VizElement/ElementCallout.d.ts.map +1 -1
- package/dist/esm/components/VizElement/ElementCalloutOverlay.d.ts.map +1 -1
- package/dist/esm/helpers/viz-elm-callout/dimensions.d.ts +1 -1
- package/dist/esm/helpers/viz-elm-callout/dimensions.d.ts.map +1 -1
- package/dist/esm/helpers/viz-elm-callout/getter.d.ts +4 -1
- package/dist/esm/helpers/viz-elm-callout/getter.d.ts.map +1 -1
- package/dist/esm/helpers/viz-elm-callout/position-candidates.d.ts.map +1 -1
- package/dist/esm/helpers/viz-elm-callout/position-validator.d.ts.map +1 -1
- package/dist/esm/helpers/viz-elm-callout/viz-elm.d.ts.map +1 -1
- package/dist/esm/index.js +79 -49
- package/dist/esm/index.mjs +79 -49
- package/dist/esm/types/viz-elm-callout.d.ts +7 -2
- package/dist/esm/types/viz-elm-callout.d.ts.map +1 -1
- package/dist/umd/components/VizElement/ElementCallout.d.ts.map +1 -1
- package/dist/umd/components/VizElement/ElementCalloutOverlay.d.ts.map +1 -1
- package/dist/umd/helpers/viz-elm-callout/dimensions.d.ts +1 -1
- package/dist/umd/helpers/viz-elm-callout/dimensions.d.ts.map +1 -1
- package/dist/umd/helpers/viz-elm-callout/getter.d.ts +4 -1
- package/dist/umd/helpers/viz-elm-callout/getter.d.ts.map +1 -1
- package/dist/umd/helpers/viz-elm-callout/position-candidates.d.ts.map +1 -1
- package/dist/umd/helpers/viz-elm-callout/position-validator.d.ts.map +1 -1
- package/dist/umd/helpers/viz-elm-callout/viz-elm.d.ts.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/types/viz-elm-callout.d.ts +7 -2
- package/dist/umd/types/viz-elm-callout.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IRectDimensions, IViewportDimensions } from '../../types';
|
|
2
|
-
export declare const getViewportDimensions: (containerElm?: HTMLElement | null,
|
|
2
|
+
export declare const getViewportDimensions: (containerElm?: HTMLElement | null, _scale?: number) => IViewportDimensions;
|
|
3
3
|
interface IElementDimensionsOptions {
|
|
4
4
|
targetElm: Element;
|
|
5
5
|
calloutElm: HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dimensions.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/dimensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"dimensions.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/dimensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAItF,eAAO,MAAM,qBAAqB,GAAI,eAAe,WAAW,GAAG,IAAI,EAAE,SAAS,MAAM,KAAG,mBAY1F,CAAC;AAEF,UAAU,yBAAyB;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,WAAW,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,WAAW,CAAC;CAC3B;AACD,eAAO,MAAM,oBAAoB,GAAI,SAAS,yBAAyB,KAAG,eAqCzE,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { ElementInfo, ElementRect, ICalloutPosition, ICalloutRect, IHeatmapInfo } from '../../types';
|
|
2
3
|
export declare function getElementLayout(element: HTMLElement): ElementRect | null;
|
|
3
4
|
export declare const buildElementInfo: (hash: string, rect: ElementRect | null, heatmapInfo: IHeatmapInfo) => ElementInfo | null;
|
|
5
|
+
export declare const getScaledCalloutRect: (_element: HTMLElement, _widthScale: number) => ICalloutRect;
|
|
6
|
+
export declare const getStyleFromCandidate: (candidate: ICalloutPosition, widthScale: number) => CSSProperties;
|
|
4
7
|
//# sourceMappingURL=getter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getter.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/getter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"getter.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/getter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EACV,WAAW,EACX,WAAW,EAEX,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACb,MAAM,aAAa,CAAC;AAIrB,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAYzE;AAOD,eAAO,MAAM,gBAAgB,GAC3B,MAAM,MAAM,EACZ,MAAM,WAAW,GAAG,IAAI,EACxB,aAAa,YAAY,KACxB,WAAW,GAAG,IAqBhB,CAAC;AAGF,eAAO,MAAM,oBAAoB,GAAI,UAAU,WAAW,EAAE,aAAa,MAAM,KAAG,YAKjF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,WAAW,gBAAgB,EAAE,YAAY,MAAM,KAAG,aAavF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"position-candidates.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/position-candidates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,kBAAkB,EAClB,wBAAwB,EAEzB,MAAM,aAAa,CAAC;AAerB,eAAO,MAAM,kCAAkC,GAAI,SAAS,wBAAwB,KAAG,kBAAkB,
|
|
1
|
+
{"version":3,"file":"position-candidates.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/position-candidates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,kBAAkB,EAClB,wBAAwB,EAEzB,MAAM,aAAa,CAAC;AAerB,eAAO,MAAM,kCAAkC,GAAI,SAAS,wBAAwB,KAAG,kBAAkB,EA+BxG,CAAC;AAEF,eAAO,MAAM,oCAAoC,GAAI,SAAS,wBAAwB,KAAG,kBAAkB,EAU1G,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,SAAS,wBAAwB,KAAG,kBAAkB,EAK3F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"position-validator.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/position-validator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAItG,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,EAAE,SAAS,wBAAwB,KAAG,
|
|
1
|
+
{"version":3,"file":"position-validator.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/position-validator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAItG,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,EAAE,SAAS,wBAAwB,KAAG,OAcxF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,SAAS,MAAM,EAAE,SAAS,wBAAwB,KAAG,OAYzF,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,WAAW,kBAAkB,EAAE,SAAS,wBAAwB,KAAG,OAe1G,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,WAAW,oBAAoB,EAC/B,SAAS,wBAAwB,KAChC,OAeF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viz-elm.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/viz-elm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,yBAAyB,EAK1B,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"viz-elm.d.ts","sourceRoot":"","sources":["../../../src/helpers/viz-elm-callout/viz-elm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,yBAAyB,EAK1B,MAAM,aAAa,CAAC;AAkErB,eAAO,MAAM,mBAAmB,GAAI,SAAS,yBAAyB,eAgDrE,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,OAAO,iCAAiC,SAiEnF,CAAC"}
|