realmap 1.0.1 → 1.0.3

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/heatmap.d.ts ADDED
@@ -0,0 +1,28 @@
1
+ import * as RealMap from 'realmap';
2
+ import { MarkerSeries, HeatmapSeriesOptions, MarkerSeriesPoint, PointViewPosition, ISeries } from 'realmap';
3
+
4
+ /**
5
+ */
6
+ declare class HeatmapSeriesPoint extends MarkerSeriesPoint {
7
+ position: PointViewPosition;
8
+ protected _readObject(series: ISeries<HeatmapSeriesPoint>, v: any): void;
9
+ }
10
+ /**
11
+ * Heatmap 시리즈 모델.<br/>
12
+ * {@page op.SeriesOptions#type}은 {@page config.series.heatmap 'heatmap'}이고,
13
+ * {@page options 설정} 모델은 {@page op.HeatmapSeriesOptions}이다.
14
+ *
15
+ * @modules heatmap
16
+ */
17
+ declare class HeatmapSeries extends MarkerSeries<HeatmapSeriesOptions> {
18
+ static type: string;
19
+ static defaults: HeatmapSeriesOptions;
20
+ private _root;
21
+ protected _doApply(options: HeatmapSeriesOptions): void;
22
+ protected _createPoint(source: any): HeatmapSeriesPoint;
23
+ protected _defLabelOff(): number;
24
+ }
25
+
26
+ declare function registerSeries(chart: typeof RealMap): void;
27
+
28
+ export { HeatmapSeries, registerSeries as default };
package/heatmap.js ADDED
@@ -0,0 +1,7 @@
1
+
2
+ /**
3
+ * RealMap Heatmap v1.0.3
4
+ * Copyright (C) 2023-2025 WooriTech Inc.
5
+ * All Rights Reserved.
6
+ */
7
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("realmap")):"function"==typeof define&&define.amd?define(["exports","realmap"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).RealMapheatmap={},e.RealMap)}(this,(function(e,r){"use strict";function t(e){var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var s=t(r);class a extends r.MarkerSeriesPoint{_readObject(e,r){super._readObject(e,r)}}class i extends r.MarkerSeries{_doApply(e){super._doApply(e)}_createPoint(e){return new a(e)}_defLabelOff(){return 2}}i.type=r.HeatmapSeriesType,i.defaults=r.extend(r.MarkerSeries.defaults,{mode:"grid"});class n extends r.MarkerSeriesPointView{constructor(e){super(e)}}class o extends r.MarkerSeriesView{constructor(e){super(e,"rm-Heatmap-series")}_createMarkers(e){return new r.PointViewPool(e,n)}_doPrepeare(e,r,t){this.$_prepareMarkers(r,r._visPoints)}_doRender(e,r){this.$_layoutMarkers(e,r)}_doReset(){}_runShowEffect(e){e&&r.SeriesAnimation.grow(this)}_doViewRateChanged(e){this.$_layoutMarkers(this.width,this.height)}$_prepareMarkers(e,r){}$_layoutMarkers(e,r){}}function u(e){(function(e){return e.Series&&e.SeriesView})(e)&&(e.Series.register(i),e.SeriesView.register([i,o]))}u(s),e.HeatmapSeries=i,e.default=u,Object.defineProperty(e,"__esModule",{value:!0})}));
package/heatmap.mjs ADDED
@@ -0,0 +1,7 @@
1
+
2
+ /**
3
+ * RealMap Heatmap v1.0.3
4
+ * Copyright (C) 2023-2025 WooriTech Inc.
5
+ * All Rights Reserved.
6
+ */
7
+ import{HeatmapSeriesType as e,extend as r,MarkerSeries as s,MarkerSeriesPoint as t,MarkerSeriesView as a,PointViewPool as i,SeriesAnimation as o,MarkerSeriesPointView as d}from"./index.mjs";class n extends t{_readObject(e,r){super._readObject(e,r)}}class u extends s{_doApply(e){super._doApply(e)}_createPoint(e){return new n(e)}_defLabelOff(){return 2}}u.type=e,u.defaults=r(s.defaults,{mode:"grid"});class _ extends d{constructor(e){super(e)}}class p extends a{constructor(e){super(e,"rm-Heatmap-series")}_createMarkers(e){return new i(e,_)}_doPrepeare(e,r,s){this.$_prepareMarkers(r,r._visPoints)}_doRender(e,r){this.$_layoutMarkers(e,r)}_doReset(){}_runShowEffect(e){e&&o.grow(this)}_doViewRateChanged(e){this.$_layoutMarkers(this.width,this.height)}$_prepareMarkers(e,r){}$_layoutMarkers(e,r){}}function c(e){(function(e){return e.Series&&e.SeriesView})(e)&&(e.Series.register(u),e.SeriesView.register([u,p]))}export{u as HeatmapSeries,c as default};