@mint-ui/map 0.5.12-beta → 0.6.1-beta

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 (67) hide show
  1. package/.eslintrc.js +109 -109
  2. package/LICENSE +21 -21
  3. package/README.md +73 -73
  4. package/dist/components/mint-map/MintMap.d.ts +10 -10
  5. package/dist/components/mint-map/MintMap.js +6 -6
  6. package/dist/components/mint-map/core/MintMapCanvasRenderer.d.ts +4 -4
  7. package/dist/components/mint-map/core/MintMapController.d.ts +66 -65
  8. package/dist/components/mint-map/core/MintMapController.js +10 -10
  9. package/dist/components/mint-map/core/MintMapCore.d.ts +3 -3
  10. package/dist/components/mint-map/core/advanced/MapBuildingProjection.d.ts +15 -15
  11. package/dist/components/mint-map/core/advanced/MapLoadingComponents.d.ts +17 -17
  12. package/dist/components/mint-map/core/advanced/index.d.ts +3 -3
  13. package/dist/components/mint-map/core/advanced/shapes/CircleMarker.d.ts +22 -22
  14. package/dist/components/mint-map/core/advanced/shapes/CircleMarker.js +6 -6
  15. package/dist/components/mint-map/core/advanced/shapes/PolygonMarker.d.ts +28 -28
  16. package/dist/components/mint-map/core/advanced/shapes/PolygonMarker.js +6 -6
  17. package/dist/components/mint-map/core/advanced/shapes/base/SVGCircle.d.ts +8 -8
  18. package/dist/components/mint-map/core/advanced/shapes/base/SVGPolygon.d.ts +12 -12
  19. package/dist/components/mint-map/core/advanced/shapes/base/SVGRect.d.ts +10 -10
  20. package/dist/components/mint-map/core/advanced/shapes/base/index.d.ts +3 -3
  21. package/dist/components/mint-map/core/advanced/shapes/index.d.ts +3 -3
  22. package/dist/components/mint-map/core/hooks/MarkerMovingHook.d.ts +6 -6
  23. package/dist/components/mint-map/core/hooks/index.d.ts +1 -1
  24. package/dist/components/mint-map/core/index.d.ts +8 -8
  25. package/dist/components/mint-map/core/provider/MintMapProvider.d.ts +8 -8
  26. package/dist/components/mint-map/core/provider/index.d.ts +1 -1
  27. package/dist/components/mint-map/core/util/animation.d.ts +16 -16
  28. package/dist/components/mint-map/core/util/cluster.d.ts +18 -18
  29. package/dist/components/mint-map/core/util/geo.d.ts +38 -38
  30. package/dist/components/mint-map/core/util/index.d.ts +7 -7
  31. package/dist/components/mint-map/core/util/log.d.ts +1 -1
  32. package/dist/components/mint-map/core/util/polygon.d.ts +42 -42
  33. package/dist/components/mint-map/core/util/status.d.ts +9 -9
  34. package/dist/components/mint-map/core/util/waiting.d.ts +1 -1
  35. package/dist/components/mint-map/core/wrapper/MapCanvasMarkerWrapper.d.ts +27 -27
  36. package/dist/components/mint-map/core/wrapper/MapCanvasMarkerWrapper.js +6 -6
  37. package/dist/components/mint-map/core/wrapper/MapCanvasWrapper.d.ts +11 -11
  38. package/dist/components/mint-map/core/wrapper/MapCanvasWrapper.js +6 -6
  39. package/dist/components/mint-map/core/wrapper/MapControlWrapper.d.ts +18 -18
  40. package/dist/components/mint-map/core/wrapper/MapControlWrapper.js +6 -6
  41. package/dist/components/mint-map/core/wrapper/MapMarkerWrapper.d.ts +42 -42
  42. package/dist/components/mint-map/core/wrapper/MapMarkerWrapper.js +8 -8
  43. package/dist/components/mint-map/core/wrapper/MapPolygonWrapper.d.ts +12 -12
  44. package/dist/components/mint-map/core/wrapper/MapPolygonWrapper.js +6 -6
  45. package/dist/components/mint-map/core/wrapper/MapPolylineWrapper.d.ts +12 -12
  46. package/dist/components/mint-map/core/wrapper/MapPolylineWrapper.js +6 -6
  47. package/dist/components/mint-map/core/wrapper/index.d.ts +6 -6
  48. package/dist/components/mint-map/google/GoogleMintMapController.d.ts +51 -51
  49. package/dist/components/mint-map/google/GoogleMintMapController.js +8 -1
  50. package/dist/components/mint-map/index.d.ts +5 -5
  51. package/dist/components/mint-map/kakao/KakaoMintMapController.d.ts +55 -55
  52. package/dist/components/mint-map/kakao/KakaoMintMapController.js +15 -8
  53. package/dist/components/mint-map/naver/NaverMintMapController.d.ts +53 -53
  54. package/dist/components/mint-map/naver/NaverMintMapController.js +13 -6
  55. package/dist/components/mint-map/types/CommonTypes.d.ts +11 -11
  56. package/dist/components/mint-map/types/MapDrawables.d.ts +118 -118
  57. package/dist/components/mint-map/types/MapDrawables.js +8 -8
  58. package/dist/components/mint-map/types/MapEventTypes.d.ts +44 -44
  59. package/dist/components/mint-map/types/MapTypes.d.ts +60 -60
  60. package/dist/components/mint-map/types/MapTypes.js +13 -13
  61. package/dist/components/mint-map/types/MintMapEvents.d.ts +25 -25
  62. package/dist/components/mint-map/types/MintMapProps.d.ts +101 -96
  63. package/dist/components/mint-map/types/index.d.ts +6 -6
  64. package/dist/index.d.ts +7 -7
  65. package/dist/index.es.js +123 -102
  66. package/dist/index.umd.js +123 -102
  67. package/package.json +77 -77
package/dist/index.umd.js CHANGED
@@ -477,23 +477,23 @@
477
477
  return PolygonCalculator;
478
478
  }();
479
479
 
480
- /**
481
- * 좌표값
482
- * @description 위도/경도, DOM 상의 X/Y 좌표
480
+ /**
481
+ * 좌표값
482
+ * @description 위도/경도, DOM 상의 X/Y 좌표
483
483
  */
484
484
 
485
485
  var Position =
486
486
  /** @class */
487
487
  function () {
488
488
  function Position(lat, lng) {
489
- /**
490
- * 위도
491
- * @description 위도(latitude)
489
+ /**
490
+ * 위도
491
+ * @description 위도(latitude)
492
492
  */
493
493
  this.lat = 0;
494
- /**
495
- * 경도
496
- * @description 경도(longitude)
494
+ /**
495
+ * 경도
496
+ * @description 경도(longitude)
497
497
  */
498
498
 
499
499
  this.lng = 0;
@@ -601,15 +601,15 @@
601
601
 
602
602
  return Bounds;
603
603
  }();
604
- /**
605
- * DOM 상에서의 좌표를 표현 (픽셀을 나타내는 숫자)
604
+ /**
605
+ * DOM 상에서의 좌표를 표현 (픽셀을 나타내는 숫자)
606
606
  */
607
607
 
608
608
  var Offset =
609
609
  /** @class */
610
610
  function () {
611
- /**
612
- * DOM 상에서의 좌표를 표현 (픽셀을 나타내는 숫자)
611
+ /**
612
+ * DOM 상에서의 좌표를 표현 (픽셀을 나타내는 숫자)
613
613
  */
614
614
  function Offset(x, y) {
615
615
  this.x = x;
@@ -1140,12 +1140,12 @@
1140
1140
  MintMapController.prototype.getRandomFunctionName = function (prefix) {
1141
1141
  return "".concat(prefix, "_").concat(uuid.v4().replace(/-/g, '_'));
1142
1142
  };
1143
- /**
1144
- * URL 빌더 메서드
1145
- *
1146
- * @param {string} baseUrl: 기본 URL
1147
- * @param {{ [ key: string ]: string | string[] }} param: 파라미터 JSON
1148
- * @returns {string} URL
1143
+ /**
1144
+ * URL 빌더 메서드
1145
+ *
1146
+ * @param {string} baseUrl: 기본 URL
1147
+ * @param {{ [ key: string ]: string | string[] }} param: 파라미터 JSON
1148
+ * @returns {string} URL
1149
1149
  */
1150
1150
 
1151
1151
 
@@ -1153,14 +1153,14 @@
1153
1153
  var params = Object.entries(param).map(function (_a) {
1154
1154
  var key = _a[0],
1155
1155
  value = _a[1];
1156
- var temp = encodeURIComponent(Array.isArray(value) ? value.join(',') : value);
1156
+ var temp = Array.isArray(value) ? value.join(',') : value;
1157
1157
  return "".concat(key, "=").concat(temp);
1158
1158
  }).join('&');
1159
1159
  return "".concat(baseUrl, "?").concat(params);
1160
1160
  };
1161
- /**
1162
- * 쓰로틀링 처리
1163
- * @returns
1161
+ /**
1162
+ * 쓰로틀링 처리
1163
+ * @returns
1164
1164
  */
1165
1165
 
1166
1166
 
@@ -1461,6 +1461,8 @@
1461
1461
  tslib.__extends(NaverMintMapController, _super);
1462
1462
 
1463
1463
  function NaverMintMapController(props) {
1464
+ var _a;
1465
+
1464
1466
  var _this = _super.call(this, props) || this;
1465
1467
 
1466
1468
  _this.type = 'naver';
@@ -1474,7 +1476,12 @@
1474
1476
  _this.polygonEvents = ['mouseover', 'mouseout'];
1475
1477
  _this.markerEvents = ['click', 'mouseover', 'mouseout'];
1476
1478
  _this.dragged = false;
1477
- _this.eventMap = new Map(); //contextmenu 는 지원하지 않지만 호환성을 위해 rightclick 으로 대체
1479
+ _this.eventMap = new Map(); //scriptModules 병합
1480
+
1481
+ if (props.scriptModules) {
1482
+ (_a = _this.scriptModules).push.apply(_a, props.scriptModules);
1483
+ } //contextmenu 는 지원하지 않지만 호환성을 위해 rightclick 으로 대체
1484
+
1478
1485
 
1479
1486
  _this.mapUIEvent.CONTEXTMENU = 'rightclick';
1480
1487
  Object.freeze(_this.mapEvent);
@@ -1695,11 +1702,11 @@
1695
1702
  var map = marker.native.getMap();
1696
1703
 
1697
1704
  if (map) {
1698
- /** 중요!!!!
1699
- * naver 마커의 setOption(MarkerOptions) 은 내부적으로 setMap 을 무조건 강제 처리한다!!!
1700
- * setMap 을 처리하면 맵의 이벤트리스너 등등이 모두 초기화 되고 다시 맵을 add 하면서 마커관련된 모든 초기화가 다시 일어난다.
1701
- * (심지어 map 이 기존과 같은 객체인데도 초기화 처리함)
1702
- * 그래서 민트맵에서는 update 를 지원하는 항목별로 명시적으로 각각 처리한다.
1705
+ /** 중요!!!!
1706
+ * naver 마커의 setOption(MarkerOptions) 은 내부적으로 setMap 을 무조건 강제 처리한다!!!
1707
+ * setMap 을 처리하면 맵의 이벤트리스너 등등이 모두 초기화 되고 다시 맵을 add 하면서 마커관련된 모든 초기화가 다시 일어난다.
1708
+ * (심지어 map 이 기존과 같은 객체인데도 초기화 처리함)
1709
+ * 그래서 민트맵에서는 update 를 지원하는 항목별로 명시적으로 각각 처리한다.
1703
1710
  */
1704
1711
  //Position
1705
1712
  if (options.position && options.position instanceof Position) {
@@ -2185,6 +2192,8 @@
2185
2192
  tslib.__extends(GoogleMintMapController, _super);
2186
2193
 
2187
2194
  function GoogleMintMapController(props) {
2195
+ var _a;
2196
+
2188
2197
  var _this = _super.call(this, props) || this;
2189
2198
 
2190
2199
  _this.type = 'google';
@@ -2211,9 +2220,14 @@
2211
2220
 
2212
2221
  };
2213
2222
 
2214
- _this.eventMap = new Map(); //google 은 zoomstart 가 없으므로 zoom_changed 로 대체 (하지만 zooming 되는 내내 여러번 호출됨)
2223
+ _this.eventMap = new Map(); //scriptModules 병합
2224
+
2225
+ if (props.scriptModules) {
2226
+ (_a = _this.scriptModules).push.apply(_a, props.scriptModules);
2227
+ } //google 은 zoomstart 가 없으므로 zoom_changed 로 대체 (하지만 zooming 되는 내내 여러번 호출됨)
2215
2228
  //나중에 naver 와 마찬가지로 zoomstart 1번 zoom_changed 1번 호출되도록 바꾸는것 고려중
2216
2229
 
2230
+
2217
2231
  _this.mapEvent.ZOOMSTART = 'zoom_changed';
2218
2232
  Object.freeze(_this.mapEvent);
2219
2233
  Object.freeze(_this.mapUIEvent);
@@ -2869,6 +2883,8 @@
2869
2883
  tslib.__extends(KakaoMintMapController, _super);
2870
2884
 
2871
2885
  function KakaoMintMapController(props) {
2886
+ var _a;
2887
+
2872
2888
  var _this = _super.call(this, props) || this;
2873
2889
 
2874
2890
  _this.type = 'kakao';
@@ -2882,7 +2898,12 @@
2882
2898
  _this.polygonEvents = ['mouseover', 'mouseout'];
2883
2899
  _this.markerEvents = ['click', 'mouseover', 'mouseout'];
2884
2900
  _this.dragged = false;
2885
- _this.eventMap = new Map(); //kakao only 이벤트이름 재정의 zoom_start
2901
+ _this.eventMap = new Map(); //scriptModules 병합
2902
+
2903
+ if (props.scriptModules) {
2904
+ (_a = _this.scriptModules).push.apply(_a, props.scriptModules);
2905
+ } //kakao only 이벤트이름 재정의 zoom_start
2906
+
2886
2907
 
2887
2908
  _this.mapEvent.ZOOMSTART = 'zoom_start'; //contextmenu 는 지원하지 않지만 호환성을 위해 rightclick 으로 대체
2888
2909
 
@@ -3403,13 +3424,13 @@
3403
3424
  };
3404
3425
 
3405
3426
  KakaoMintMapController.prototype.getSafeZoomValue = function (value) {
3406
- /**
3407
- * 카카오는 구글/네이버와 다르게 줌레벨이 작아질수록 확대된다 (가장 확대된 것이 0)
3408
- * - 가장 확대된 값 : 1
3409
- * - 가장 축소된 값 : 14
3410
- *
3411
- * 그래서 세계지도가 없는 카카오는 동일한 사정인 네이버와 매핑하기로 한다.
3412
- * 문제는 둘 간의 줌 레벨별 축척이 일치하지 않는다. 그래서 가장 유사한 레벨 끼리 매핑이 필요하다
3427
+ /**
3428
+ * 카카오는 구글/네이버와 다르게 줌레벨이 작아질수록 확대된다 (가장 확대된 것이 0)
3429
+ * - 가장 확대된 값 : 1
3430
+ * - 가장 축소된 값 : 14
3431
+ *
3432
+ * 그래서 세계지도가 없는 카카오는 동일한 사정인 네이버와 매핑하기로 한다.
3433
+ * 문제는 둘 간의 줌 레벨별 축척이 일치하지 않는다. 그래서 가장 유사한 레벨 끼리 매핑이 필요하다
3413
3434
  */
3414
3435
  var mapValue = this.getBaseToMapZoom(value);
3415
3436
 
@@ -3594,12 +3615,12 @@
3594
3615
  lat: 37.5036845,
3595
3616
  lng: 127.0448698
3596
3617
  };
3597
- /**
3598
- * Mint Map 컴포넌트
3599
- *
3600
- * @param {MintMapProps} MintMapProps
3601
- *
3602
- * @returns {JSX.Element} JSX
3618
+ /**
3619
+ * Mint Map 컴포넌트
3620
+ *
3621
+ * @param {MintMapProps} MintMapProps
3622
+ *
3623
+ * @returns {JSX.Element} JSX
3603
3624
  */
3604
3625
 
3605
3626
  function MintMap(_a) {
@@ -3761,8 +3782,8 @@
3761
3782
  /** @class */
3762
3783
  function (_super) {
3763
3784
  tslib.__extends(Marker, _super);
3764
- /**
3765
- * 지도에 표시할 마커정보
3785
+ /**
3786
+ * 지도에 표시할 마커정보
3766
3787
  */
3767
3788
 
3768
3789
 
@@ -3780,8 +3801,8 @@
3780
3801
  /** @class */
3781
3802
  function (_super) {
3782
3803
  tslib.__extends(Polyline, _super);
3783
- /**
3784
- * 지도에 표시할 폴리곤정보
3804
+ /**
3805
+ * 지도에 표시할 폴리곤정보
3785
3806
  */
3786
3807
 
3787
3808
 
@@ -3799,8 +3820,8 @@
3799
3820
  /** @class */
3800
3821
  function (_super) {
3801
3822
  tslib.__extends(Polygon, _super);
3802
- /**
3803
- * 지도에 표시할 폴리곤정보
3823
+ /**
3824
+ * 지도에 표시할 폴리곤정보
3804
3825
  */
3805
3826
 
3806
3827
 
@@ -3810,8 +3831,8 @@
3810
3831
  _this.options = options;
3811
3832
  return _this;
3812
3833
  }
3813
- /**
3814
- * 폴리곤의 중점을 구한다.
3834
+ /**
3835
+ * 폴리곤의 중점을 구한다.
3815
3836
  */
3816
3837
 
3817
3838
 
@@ -4157,17 +4178,17 @@
4157
4178
  var offsetCalibration = function (mapType, divElement, options) {
4158
4179
  //google 맵의 anchor 보정 (네이버와 같이 왼쪽/위 기준으로 처리)
4159
4180
  if (mapType === 'google') {
4160
- divElement.style.transform = "translate(50%, 100%) translate(-".concat(options.anchor ? options.anchor.x : '0', "px, -").concat(options.anchor ? options.anchor.y : '0', "px)");
4181
+ divElement.style.transform = "translate(50%, 100%) translate(".concat(options.anchor ? options.anchor.x * -1 : '0', "px, ").concat(options.anchor ? options.anchor.y * -1 : '0', "px)");
4161
4182
  } else if (mapType === 'kakao') {
4162
- divElement.style.transform = "translate(-".concat(options.anchor ? options.anchor.x : '0', "px, -").concat(options.anchor ? options.anchor.y : '0', "px)");
4183
+ divElement.style.transform = "translate(".concat(options.anchor ? options.anchor.x * -1 : '0', "px, ").concat(options.anchor ? options.anchor.y * -1 : '0', "px)");
4163
4184
  }
4164
4185
  };
4165
- /**
4166
- * Mint Map 컴포넌트
4167
- *
4168
- * @param {MapControlWrapperProps} MapControlWrapperProps
4169
- *
4170
- * @returns {JSX.Element} JSX
4186
+ /**
4187
+ * Mint Map 컴포넌트
4188
+ *
4189
+ * @param {MapControlWrapperProps} MapControlWrapperProps
4190
+ *
4191
+ * @returns {JSX.Element} JSX
4171
4192
  */
4172
4193
 
4173
4194
 
@@ -4330,12 +4351,12 @@
4330
4351
  return reactDom.createPortal(children, divElement);
4331
4352
  }
4332
4353
 
4333
- /**
4334
- * CircleMarker
4335
- *
4336
- * @param {CircleMarkerProps} CircleMarkerProps
4337
- *
4338
- * @returns {JSX.Element} JSX
4354
+ /**
4355
+ * CircleMarker
4356
+ *
4357
+ * @param {CircleMarkerProps} CircleMarkerProps
4358
+ *
4359
+ * @returns {JSX.Element} JSX
4339
4360
  */
4340
4361
 
4341
4362
  function CircleMarker(_a) {
@@ -4451,12 +4472,12 @@
4451
4472
  }, children)));
4452
4473
  }
4453
4474
 
4454
- /**
4455
- *PolygonMarker
4456
- *
4457
- * @param {PolygonMarkerProps} PolygonMarkerProps
4458
- *
4459
- * @returns {JSX.Element} JSX
4475
+ /**
4476
+ *PolygonMarker
4477
+ *
4478
+ * @param {PolygonMarkerProps} PolygonMarkerProps
4479
+ *
4480
+ * @returns {JSX.Element} JSX
4460
4481
  */
4461
4482
 
4462
4483
  function PolygonMarker(_a) {
@@ -4627,12 +4648,12 @@
4627
4648
  }, children)));
4628
4649
  }
4629
4650
 
4630
- /**
4631
- * Mint Map 컴포넌트
4632
- *
4633
- * @param {MapControlWrapperProps} MapControlWrapperProps
4634
- *
4635
- * @returns {JSX.Element} JSX
4651
+ /**
4652
+ * Mint Map 컴포넌트
4653
+ *
4654
+ * @param {MapControlWrapperProps} MapControlWrapperProps
4655
+ *
4656
+ * @returns {JSX.Element} JSX
4636
4657
  */
4637
4658
 
4638
4659
  function MapPolygonWrapper(_a) {
@@ -5078,12 +5099,12 @@
5078
5099
  styleInject__default["default"](css_248z);
5079
5100
 
5080
5101
  var cn = classNames__default["default"].bind(styles);
5081
- /**
5082
- * Mint Map 컴포넌트
5083
- *
5084
- * @param {MapControlWrapperProps} MapControlWrapperProps
5085
- *
5086
- * @returns {JSX.Element} JSX
5102
+ /**
5103
+ * Mint Map 컴포넌트
5104
+ *
5105
+ * @param {MapControlWrapperProps} MapControlWrapperProps
5106
+ *
5107
+ * @returns {JSX.Element} JSX
5087
5108
  */
5088
5109
 
5089
5110
  function MapControlWrapper(_a) {
@@ -5111,12 +5132,12 @@
5111
5132
  }, children));
5112
5133
  }
5113
5134
 
5114
- /**
5115
- * Mint Map 컴포넌트
5116
- *
5117
- * @param {MapControlWrapperProps} MapControlWrapperProps
5118
- *
5119
- * @returns {JSX.Element} JSX
5135
+ /**
5136
+ * Mint Map 컴포넌트
5137
+ *
5138
+ * @param {MapControlWrapperProps} MapControlWrapperProps
5139
+ *
5140
+ * @returns {JSX.Element} JSX
5120
5141
  */
5121
5142
 
5122
5143
  function MapPolylineWrapper(_a) {
@@ -5157,12 +5178,12 @@
5157
5178
  log: function () {
5158
5179
  }
5159
5180
  };
5160
- /**
5161
- * Mint Map 컴포넌트
5162
- *
5163
- * @param {MapControlWrapperProps} MapControlWrapperProps
5164
- *
5165
- * @returns {JSX.Element} JSX
5181
+ /**
5182
+ * Mint Map 컴포넌트
5183
+ *
5184
+ * @param {MapControlWrapperProps} MapControlWrapperProps
5185
+ *
5186
+ * @returns {JSX.Element} JSX
5166
5187
  */
5167
5188
 
5168
5189
  function MapCanvasWrapper(_a) {
@@ -5481,12 +5502,12 @@
5481
5502
  }), renderFlag && React__default["default"].createElement(React__default["default"].Fragment, null));
5482
5503
  }
5483
5504
 
5484
- /**
5485
- * Mint Map 컴포넌트
5486
- *
5487
- * @param {MapControlWrapperProps} MapControlWrapperProps
5488
- *
5489
- * @returns {JSX.Element} JSX
5505
+ /**
5506
+ * Mint Map 컴포넌트
5507
+ *
5508
+ * @param {MapControlWrapperProps} MapControlWrapperProps
5509
+ *
5510
+ * @returns {JSX.Element} JSX
5490
5511
  */
5491
5512
 
5492
5513
  function MapCanvasMarkerWrapper(_props) {
package/package.json CHANGED
@@ -1,77 +1,77 @@
1
- {
2
- "name": "@mint-ui/map",
3
- "version": "0.5.12-beta",
4
- "main": "./dist/index.js",
5
- "module": "./dist/index.es.js",
6
- "browser": "./dist/index.umd.js",
7
- "types": "./dist/index.d.ts",
8
- "repository": "https://github.com/dev-rsquare/mint-ui-map",
9
- "author": "RSQUARE",
10
- "keywords": ["react", "react map", "map", "google", "naver", "kakao", "library", "typescript", "canvas", "marker"],
11
- "license": "MIT",
12
- "private": false,
13
- "devDependencies": {
14
- "@babel/core": "^7.18.2",
15
- "@rollup/plugin-babel": "^5.3.1",
16
- "@rollup/plugin-commonjs": "^22.0.0",
17
- "@rollup/plugin-node-resolve": "^13.3.0",
18
- "@rollup/plugin-typescript": "^8.3.2",
19
- "@storybook/addon-actions": "^6.5.7",
20
- "@storybook/addon-essentials": "^6.5.7",
21
- "@storybook/addon-interactions": "^6.5.7",
22
- "@storybook/addon-links": "^6.5.7",
23
- "@storybook/builder-webpack5": "^6.5.7",
24
- "@storybook/manager-webpack5": "^6.5.7",
25
- "@storybook/preset-scss": "^1.0.3",
26
- "@storybook/react": "^6.5.7",
27
- "@storybook/testing-library": "^0.0.11",
28
- "@types/classnames": "^2.3.1",
29
- "@types/react": "^18.0.12",
30
- "@types/react-dom": "^18.0.9",
31
- "@types/uuid": "^9.0.0",
32
- "@typescript-eslint/eslint-plugin": "^5.27.0",
33
- "@typescript-eslint/parser": "^5.27.0",
34
- "babel-loader": "^8.2.5",
35
- "babel-plugin-react-icons": "^0.1.1",
36
- "css-loader": "^6.7.1",
37
- "eslint": "^8.17.0",
38
- "eslint-config-airbnb": "^19.0.4",
39
- "eslint-config-prettier": "^8.5.0",
40
- "eslint-plugin-import": "^2.26.0",
41
- "eslint-plugin-jsx-a11y": "^6.5.1",
42
- "eslint-plugin-prettier": "^4.0.0",
43
- "eslint-plugin-react": "^7.30.0",
44
- "eslint-plugin-react-hooks": "^4.5.0",
45
- "eslint-plugin-sort-keys-fix": "^1.1.2",
46
- "eslint-plugin-storybook": "^0.5.12",
47
- "postcss": "^8.4.14",
48
- "react": "^18.1.0",
49
- "react-dom": "^18.1.0",
50
- "rollup": "^2.75.5",
51
- "rollup-plugin-peer-deps-external": "^2.2.4",
52
- "rollup-plugin-postcss": "^4.0.2",
53
- "sass": "^1.52.2",
54
- "sass-loader": "^13.0.0",
55
- "shx": "^0.3.4",
56
- "style-loader": "^3.3.1",
57
- "typescript": "^4.7.3"
58
- },
59
- "dependencies": {
60
- "@types/google.maps": "^3.50.5",
61
- "@types/navermaps": "^3.6.1",
62
- "@types/kakaomaps": "1.1.2",
63
- "@mint-ui/tools":"1.0.3",
64
- "axios": "^1.2.0",
65
- "classnames": "^2.3.1",
66
- "style-inject": "^0.3.0",
67
- "uuid": "^9.0.0",
68
- "xml-js": "^1.6.11"
69
- },
70
- "scripts": {
71
- "storybook": "start-storybook -p 3000",
72
- "build-storybook": "build-storybook",
73
- "prebuild": "shx rm -rf ./dist",
74
- "build": "rollup -c",
75
- "postbuild": "shx rm -rf ./dist/dist"
76
- }
77
- }
1
+ {
2
+ "name": "@mint-ui/map",
3
+ "version": "0.6.1-beta",
4
+ "main": "./dist/index.js",
5
+ "module": "./dist/index.es.js",
6
+ "browser": "./dist/index.umd.js",
7
+ "types": "./dist/index.d.ts",
8
+ "repository": "https://github.com/dev-rsquare/mint-ui-map",
9
+ "author": "RSQUARE",
10
+ "keywords": ["react", "react map", "map", "google", "naver", "kakao", "library", "typescript", "canvas", "marker"],
11
+ "license": "MIT",
12
+ "private": false,
13
+ "devDependencies": {
14
+ "@babel/core": "^7.18.2",
15
+ "@rollup/plugin-babel": "^5.3.1",
16
+ "@rollup/plugin-commonjs": "^22.0.0",
17
+ "@rollup/plugin-node-resolve": "^13.3.0",
18
+ "@rollup/plugin-typescript": "^8.3.2",
19
+ "@storybook/addon-actions": "^6.5.7",
20
+ "@storybook/addon-essentials": "^6.5.7",
21
+ "@storybook/addon-interactions": "^6.5.7",
22
+ "@storybook/addon-links": "^6.5.7",
23
+ "@storybook/builder-webpack5": "^6.5.7",
24
+ "@storybook/manager-webpack5": "^6.5.7",
25
+ "@storybook/preset-scss": "^1.0.3",
26
+ "@storybook/react": "^6.5.7",
27
+ "@storybook/testing-library": "^0.0.11",
28
+ "@types/classnames": "^2.3.1",
29
+ "@types/react": "^18.0.12",
30
+ "@types/react-dom": "^18.0.9",
31
+ "@types/uuid": "^9.0.0",
32
+ "@typescript-eslint/eslint-plugin": "^5.27.0",
33
+ "@typescript-eslint/parser": "^5.27.0",
34
+ "babel-loader": "^8.2.5",
35
+ "babel-plugin-react-icons": "^0.1.1",
36
+ "css-loader": "^6.7.1",
37
+ "eslint": "^8.17.0",
38
+ "eslint-config-airbnb": "^19.0.4",
39
+ "eslint-config-prettier": "^8.5.0",
40
+ "eslint-plugin-import": "^2.26.0",
41
+ "eslint-plugin-jsx-a11y": "^6.5.1",
42
+ "eslint-plugin-prettier": "^4.0.0",
43
+ "eslint-plugin-react": "^7.30.0",
44
+ "eslint-plugin-react-hooks": "^4.5.0",
45
+ "eslint-plugin-sort-keys-fix": "^1.1.2",
46
+ "eslint-plugin-storybook": "^0.5.12",
47
+ "postcss": "^8.4.14",
48
+ "react": "^18.1.0",
49
+ "react-dom": "^18.1.0",
50
+ "rollup": "^2.75.5",
51
+ "rollup-plugin-peer-deps-external": "^2.2.4",
52
+ "rollup-plugin-postcss": "^4.0.2",
53
+ "sass": "^1.52.2",
54
+ "sass-loader": "^13.0.0",
55
+ "shx": "^0.3.4",
56
+ "style-loader": "^3.3.1",
57
+ "typescript": "^4.7.3"
58
+ },
59
+ "dependencies": {
60
+ "@types/google.maps": "^3.50.5",
61
+ "@types/navermaps": "^3.6.1",
62
+ "@types/kakaomaps": "1.1.2",
63
+ "@mint-ui/tools":"1.0.3",
64
+ "axios": "^1.2.0",
65
+ "classnames": "^2.3.1",
66
+ "style-inject": "^0.3.0",
67
+ "uuid": "^9.0.0",
68
+ "xml-js": "^1.6.11"
69
+ },
70
+ "scripts": {
71
+ "storybook": "start-storybook -p 3000",
72
+ "build-storybook": "build-storybook",
73
+ "prebuild": "shx rm -rf ./dist",
74
+ "build": "rollup -c",
75
+ "postbuild": "shx rm -rf ./dist/dist"
76
+ }
77
+ }