@daeryun/dr_components 1.1.33 → 1.1.35

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.
@@ -5,11 +5,13 @@ import { useState } from 'react';
5
5
  const Map = ({
6
6
  onClick,
7
7
  selectRegion,
8
- isFirstClick
8
+ isFirstClick,
9
+ isConsultCenter
9
10
  }: {
10
11
  onClick: (select: string, key: string) => void;
11
12
  selectRegion: string;
12
13
  isFirstClick: boolean; // 처음 클릭하는건지 체크 - 모바일에서 제일 처음 접근시 '서울'이 깜박이게
14
+ isConsultCenter?: boolean; //상담 센터 > 색상 다름
13
15
  }) => {
14
16
  const [incheonHover, setIncheonHover] = useState<boolean>(false);
15
17
  return (
@@ -26,9 +28,7 @@ const Map = ({
26
28
  transition: fill 0.3s ease;
27
29
  cursor: pointer;
28
30
  }
29
- .cls-2:hover {
30
- fill: #A7B3C8
31
- }
31
+ ${isConsultCenter ? `.cls-2:hover {fill: #39590C4D }` : `.cls-2:hover {fill: #A7B3C8 }`}
32
32
  .cls-1 {
33
33
  fill: #494949;
34
34
  font-size: 17px;
@@ -53,7 +53,7 @@ const Map = ({
53
53
  onClick(e.currentTarget.id, 'goyang');
54
54
  }
55
55
  }}
56
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기북부'.includes(selectRegion) || selectRegion === 'goyang' ? '!fill-[#254B80]' : ''}`}
56
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기북부'.includes(selectRegion) || selectRegion === 'goyang' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
57
57
  d="M167.4,181.8c1.6.7,3,1.4,4.2,1.9.2,0,.3.1.5.2h0s0,0,0,0c0-.2,0-.3.1-.5.5-1.6,1-3,1.3-3.8,1.9-1.2,5-3.1,8.5-5.7,9.7-7.2,11.4-10.5,16.3-10.8,4.6-.3,10.5,2.2,11.1,5.6,0,.3.1.5,0,.9-1.2,5.6-6.2,7.5-2.5,15.5,1.8,3.8,4.4,3.6,7,3.3,5-1.7,7.9-1.8,7.9-1.8,0,0,.5,1.4,11.4,3.7,10.9,2.3,4.7-2.5,11.2-5.1,6.2-2.5,8.5.1,12.9-2-1.9-2.3-.6-5.1,1.4-11,3.5-10.4-5.5-10.4-4.1-16.6,1.4-6.2,25.6-9,5.5-21.4-20-12.4-14.5-14.5-18-22.1-3.5-7.6-14.5,0-20.7-10.4-6.2-10.4-9.7,6.2-14.5-7.6-3.6-10.2-3.4-19.9-7.4-20.8.7.3,1.3.4,1.8.6-1.5-1.5-3.8-1.1-7.8,2.1-3.9,3.2-8.4,4.8-13.5,5.4.4.2.9.4,1.7.4,4.8,0-11.8,1.5-14.9,7-3.1,5.5-13.5,4.5-19,1.4-5.5-3.1-12.1-3.8-14.5,4.1,0,0-9.3-5.2-5.9,11.4,3.5,16.6-14.2,4.1-14.2,4.1,0,0-6.9-6.9-5.9,7.3,1,14.2,7.3,12.1,2.4,16.6-4.8,4.5,6.9,3.1,3.1,12.1-1,2.5-1.3,5-1.3,7.4,10.9,2.9,14.5,13.5,28.6,16.1l4.1-6.2h4.1v2.1c1.2,1.4,1.8,5.1,2.1,9.7,2.7,1,5.6,2.2,8.4,3.4,3,1.2,5.9,2.5,8.2,3.6Z"
58
58
  />
59
59
  <path
@@ -67,7 +67,7 @@ const Map = ({
67
67
  onClick(e.currentTarget.id, 'wonju');
68
68
  }
69
69
  }}
70
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'강원'.includes(selectRegion) || selectRegion === 'wonju' ? '!fill-[#254B80]' : ''}`}
70
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'강원'.includes(selectRegion) || selectRegion === 'wonju' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
71
71
  d="M480.1,254.5c-.7-4.8-1.4-9.7-2.1-14.5-4.7-12.1-14.2-25.2-20.7-35.3-1.4-5.5-2.8-11.1-4.1-16.6-12.2-22.4-40.3-43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15.2,2-4.4,5.8-6.5,9.8-7.5.2,0,.4,0,.5-.1-3.7-4.5-9.8-6.8-12.4-11.1Z"
72
72
  />
73
73
  <path
@@ -81,7 +81,7 @@ const Map = ({
81
81
  }
82
82
  }}
83
83
  id={'인천·부천'}
84
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'인천·부천'.includes(selectRegion) || selectRegion === 'incheonbon' ? '!fill-[#254B80]' : incheonHover ? ' !fill-[#A7B3C8] ' : ''}`}
84
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'인천·부천'.includes(selectRegion) || selectRegion === 'incheonbon' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : incheonHover ? (isConsultCenter ? ' !fill-[#39590C4D] ' : ' !fill-[#A7B3C8] ') : ''}`}
85
85
  d="M203,209.4c0-.3-.1-.6-.1-.8-.2,0-.5,0-.7,0-1,0-2,0-3.1.1-9.3.5-13.3-.3-15.7-2.1-4.2-3-10.6-9.4-11.4-10.2-1.3-1.2-1.5-3.1-1.5-4.4,0-1.3,0-2.8,1.3-6.8.1-.4.3-.9.4-1.3,0,0,0,0,0,0h0c-.2,0-.3-.2-.5-.2-1.2-.6-2.6-1.2-4.2-1.9-2.3-1.1-5.2-2.3-8.2-3.6-2.8-1.2-5.7-2.4-8.4-3.4,0,0,0,0,0,0,.3,5.5-.8,11.9-1,16.9h-2.1c-2.1-4.4-3.7-5.9-4.1-12.4-4.4-.5-8.2-.5-12.4-2.1-2.1,5.9-.7,7.1,0,14.5,19.7-.7,33,11.2,36.9,28.3,0,0,0,0,0,0,2,.4,2.7.6,4.3.6,14.1.5,17.8,7,26.9-1.1,1.5-1.4,2.6-2.6,3.2-3.6,0,0,0,0,0,0,2-3.2.9-5.1.4-6.4Z"
86
86
  />
87
87
  <path
@@ -95,7 +95,7 @@ const Map = ({
95
95
  }
96
96
  }}
97
97
  id={'서울'}
98
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'서울'.includes(selectRegion) || selectRegion === 'seoulbon' ? (isFirstClick ? 'max-md:animate-map_flicker md:!fill-[#254B80] ' : '!fill-[#254B80]') : ''}`}
98
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'서울'.includes(selectRegion) || selectRegion === 'seoulbon' ? (isFirstClick ? (isConsultCenter ? ' max-md:animate-map_flicker_consult ' : ' max-md:animate-map_flicker ') + (isConsultCenter ? ' md:!fill-[#39590C] ' : 'md:!fill-[#254B80] ') : isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
99
99
  d="M207.2,185.2c-3.7-8.1,1.2-9.9,2.5-15.5,0-.4,0-.6,0-.9-.7-3.4-6.5-5.9-11.1-5.6-4.9.3-6.6,3.6-16.3,10.8-3.5,2.6-6.6,4.5-8.5,5.7-.3.9-.8,2.2-1.3,3.8,0,.2,0,.3-.1.5-.2.5-.3.9-.4,1.3-1.2,4-1.4,5.4-1.3,6.8,0,1.3.2,3.2,1.5,4.4.9.8,7.2,7.2,11.4,10.2,2.4,1.7,6.4,2.6,15.7,2.1,1.1,0,2.1-.1,3.1-.1.2,0,.5,0,.7,0,.5,0,.9,0,1.4,0,1.7,0,3.4,0,5.1,0,.3-.8,1.1-1.5,2.8-2.3,8.1-3.7,12.4-4.4,9.3-13.7-1.5-4.5-4-4.5-6.6-4.2-.2,0-.4,0-.7,0-2.6.3-5.2.5-7-3.3Z"
100
100
  />
101
101
  <g
@@ -109,7 +109,7 @@ const Map = ({
109
109
  onClick(e.currentTarget.id, 'suwonbon');
110
110
  }
111
111
  }}
112
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기남부'.includes(selectRegion) || selectRegion === 'suwonbon' ? '!fill-[#254B80]' : ''}`}
112
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'경기남부'.includes(selectRegion) || selectRegion === 'suwonbon' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
113
113
  >
114
114
  <path d="M223.6,309.6c.4.5.8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-9.6,6.2-6.5.5.2,1,.5,1.5.7.8.4,1.7.9,2.5,1.5,1.6,1.1,3.2,2.3,4.7,3.4.7.6,1.5,1.1,2.2,1.7.7.5,1.4,1,2.1,1.4,2,1.2,3.9,1.9,5.5,1.3.1,0,.3-.1.4-.2.4-.2.8-.5,1.2-.9,0,0,0,0,0,0,0,0,0,0,0,0,.5-.5,1.1-1,1.7-1.5.6-.4,1.2-.9,1.9-1.3,1.3-.8,2.6-1.5,4-2.1,1.6-.7,3.2-1.3,4.5-1.8,1.8-.6,3-1,3-1,0,0-3.5-9,6.2-11.1,2.2-.5,4.4-1,6.5-1.6,1.7-.5,3.3-1,4.8-1.6.4-.2.9-.4,1.3-.6.7-.3,1.3-.6,2-1,1.3-.7,2.4-1.5,3.4-2.4.5-.5,1-.9,1.4-1.5.5-.6.9-1.1,1.2-1.8.4-.6.7-1.3.9-2,.2-.5.4-.9.6-1.3.3-.5.6-1,.9-1.4.4-.5.8-.9,1.2-1.3,1.1-1,2.3-1.8,3.4-2.3.4-.2.7-.3,1.1-.4.4-.1.8-.3,1.2-.4.3,0,.6-.1.8-.2,1.5-.3,2.7-.3,2.7-.3h0s0,0,0,0c0,0,2.6-2.2,4.8-7.3.2-.5.4-1,.6-1.5.3-.9.6-1.8.9-2.9.1-.5.2-1.1.3-1.6-.1,0-.3,0-.4,0,1.2-7.8-1.4-16.1,3.1-24.5,4.8-9,7.6-6.9,1.4-16.6-6.2-9.7,4.8-6.2,6.9-6.2s.8-.3,1.3-.7c0,0,0,0,0,0,0,0,0,0,0,0,.7-.7,1.4-1.8,1.8-2.9,1-3.2-1.1-7.3-15-7.3Z" />
@@ -124,7 +124,7 @@ const Map = ({
124
124
  onClick(e.currentTarget.id, 'daejeon');
125
125
  }
126
126
  }}
127
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'대전·충남'.includes(selectRegion) || selectRegion === 'daejeon' ? '!fill-[#254B80]' : ''}`}
127
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none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1-1,.2-2.1.3-3.2Z"
130
130
  />
@@ -139,7 +139,7 @@ const Map = ({
139
139
  onClick(e.currentTarget.id, 'cheongju');
140
140
  }
141
141
  }}
142
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'충북'.includes(selectRegion) || selectRegion === 'cheongju' ? '!fill-[#254B80]' : ''}`}
142
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'충북'.includes(selectRegion) || selectRegion === 'cheongju' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
143
143
  >
144
144
  <path d="M298,477.7s0,0,0,0c-.4-.2-.9-.5-1.4-.7.5.2.9.5,1.4.7Z" />
145
145
  <path d="M220.6,307.5s0,0,0,0c.2-.2.4-.3.6-.5,0,0,0,0,0,0-.2.2-.4.4-.6.6Z" />
@@ -156,7 +156,7 @@ const Map = ({
156
156
  onClick(e.currentTarget.id, 'daegumain');
157
157
  }
158
158
  }}
159
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'대구·경북'.includes(selectRegion) || selectRegion === 'daegumain' ? '!fill-[#254B80]' : ''}`}
159
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'대구·경북'.includes(selectRegion) || selectRegion === 'daegumain' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
160
160
  d="M495.1,470c1.4-6.2,2.8-12.4,4.1-18.7-1.6-6.2-6.2-28.5-4.1-35.3,11.2-36.5,15.9-105.1-1-146.9-.5-1.2-1.3-2.5-2.1-3.5-4.1.9-7.9,3.1-9.8,7.5-5.5,12.4-9,21.4-16.6,15.2-6.6-5.4-11.2-9.8-16.4-7.6-.6.3-1.2.7-1.9,1.2-1.2.9-2.9,2-4.9,3-8,4.1-20.5,7.6-20.5,1.4s-6.2-10.4-7.6-2.8c-1.1,6.3-7.5,4.5-13.2.2-.5.4-1,.8-1.6,1.2-2.1,1.6-4.7,3.2-7.8,4.8-3.2,1.6-6.3,3.1-9,4.6-2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+170,7 @@ const Map = ({
170
170
  }
171
171
  }}
172
172
  id={'전북'}
173
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'전북'.includes(selectRegion) || selectRegion === 'jeonju' ? '!fill-[#254B80]' : ''}`}
173
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'전북'.includes(selectRegion) || selectRegion === 'jeonju' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
174
174
  d="M284.2,451.4c-4.2,0-9.4-2.6-19.5-7.2.9,1.6,1.5,3,1.5,4.5,0,5.5-4.8,6.9-4.8,6.9,0,0-8.3-11.8-10.4,2.8-2.1,14.5-18.7-6.2-18.7-6.2,0,0-9.7-9.7-10.4-15.9-.7-6.2-6.2,6.2-6.9,4.2-.7-2.1-9.7-4.2-15.9,2.1-6.2,6.2-12.4,0-12.4-6.2s-13.1-8.3-21.4-6.9c-8.3,1.4-2.1,1.4-4.8,15.2-2.8,13.8-5.5.7-11.1,6.2-5.5,5.5-3.5,4.1-11.8,4.1s-3.4.5-5.5,1.4c-3.5-2.7-5.7-5.9-8.3-9,3.1,3.7,5.6,7.5,10.4,10.4-1.9,5.5-5.5,5.8-8.3,10.4-2.3,2.3-2.3,5.4-2.1,10.4h18.7v2.1l-6.2,4.1c.7,4.4,1.4,6.1,4.1,8.3v8.3c-5.5-.7-11.1-1.4-16.6-2.1-4.7,10.5-15.8,15.9-24.9,21.8,1.5,2.4,1.8,2.7,2.1,7.3,9,.7,18,1.4,27,2.1v8.3c-6.5,1.5-13,3-19.5,4.5,3,2.1,1.5,6.9,1.5,10.2,0,5.4,1.5,13,18.4,9.2,16.9-3.8,12.3-1.5,15.3-15.3,3.1-13.8,24.5,3.1,24.5,3.1,0,0,16.1-15.3,13,8.4-3.1,23.7,16.1,7.7,25.3,7.7s6.1,3.1,18.4,3.1,13.8-10.7,18.4-8.4c2.9,1.4,10.3,7.4,15.5,11.7,1.7-6.6,5.4-5.3,5.4-15.4s4.2-12.4,0-22.8c-4.1-10.4-13.1-2.1-.7-27,0,0,13.1-13.8,16.6-19.4,3.5-5.5,7.6-15.2,16.6-11.1.5.2.9.5,1.4.7.7-5.1,1.6-10.6,2.8-15.9,3.5-15.9-11.8-10.4-16.6-10.4Z"
175
175
  />
176
176
  <path
@@ -184,7 +184,7 @@ const Map = ({
184
184
  }
185
185
  }}
186
186
  id={'부산·울산·경남'}
187
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'부산·울산·경남'.includes(selectRegion) || selectRegion === 'busan1' ? '!fill-[#254B80]' : ''}`}
187
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'부산·울산·경남'.includes(selectRegion) || selectRegion === 'busan1' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
188
188
  d="M495.8,511.5c-7.6-2.8-4.1-2.8-7.6,2.1-3.5,4.8-10.4,1.4-13.1-7.6-2.8-9-16.6,1.4-21.4,4.8-3.4,2.5-5.1,7.3-5.8,10-.1.5-.2,1-.3,1.4,0,.2,0,.4,0,.4h0s-9.7-2.8-9.7-2.8c0,0-9.7-2.8-16.6,9.7-6.9,12.5-13.1.7-15.9-3.5-2.8-4.1-9.7-1.4-20.1-1.4s-2.1-9-12.4-8.3c-10.4.7-3.5,4.1-13.8,3.5-10.4-.7-6.2-4.8-14.5-.7-8.3,4.2-11.1-9.7-13.1-23.5-2.1-13.8-6.9-11.1-16.6-10.4-9.7.7-9-4.1-18-8.3-9-4.1-13.1,5.5-16.6,11.1-3.5,5.5-16.6,19.4-16.6,19.4-12.4,24.9-3.5,16.6.7,27,4.2,10.4,0,10.4,0,22.8s-5.5,7.6-6.2,21.4c-.7,13.8,2.1,7.6,12.4,23.5,10.4,15.9,8.3,13.1,8.3,28.3s-.1,8.5-.3,11.9c2.6.8,5,1.3,7.2-.1,3.3-2.2,5.2-6,8.3-8.3,3-1.6,2.4.7,8.3,2.1.4-4.4,0-4.1,2.1-6.2,2.5-3.2,4.7-3.9,10.4-4.1-.4,8-2.8,17.5,0,20.7,4.5,5.9,27.4,5.6,31.1,2.1,9.2,1,5.9,5.5,10.4,10.4v2.1h8.3c-1.3-6.2-3.8-7.9-6.2-12.4,6.5-3.4,11.9-9.1,12.4-18.7-3.5.7-6.9,1.4-10.4,2.1,1.4-4.1,2.8-8.3,4.2-12.4,9.7.2,18.7-1.2,22.8,6.2h4.1c-1.4-4.1-2.8-8.3-4.1-12.4,2.1-2,1.1-.4,2.1-4.1,10.7,2.5,11.7,9.1,23.7,10.2,1,.1,2.1.2,3.3.2,2.1-3.5,4.1-6.9,6.2-10.4,1.4,2,3.3,6.2-.3,8.7l.3,4.4c2.8-2.1,1.4-4.8,4.1-6.9,3.6-2.2,3.4,2.2,9.3-2.1l5.2,10.4c2.9,1.5,7-4.5,14.5-2.1l4.1-8.3c10.6-6.1,13.4-4.9,12.4-22.8,8.3-3.8,12.3-9.3,18.7-14.5,0-.7-.2-1.3-.3-2-.6-3.4-1.8-6.5-3.8-8.4.7-9.9,4-7,6.2-14.5,2.4,2.1,4.8,4.1,7.3,6.2,2.6-6.7,4.7-22,7.1-38.1-3.8-3.7-8.2-6.3-11.5-7.5Z"
189
189
  />
190
190
  <g
@@ -198,7 +198,7 @@ const Map = ({
198
198
  onClick(e.currentTarget.id, 'gwangjumain');
199
199
  }
200
200
  }}
201
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'광주·전남'.includes(selectRegion) || selectRegion === 'gwangjumain' ? '!fill-[#254B80]' : ''}`}
201
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'광주·전남'.includes(selectRegion) || selectRegion === 'gwangjumain' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
202
202
  >
203
203
  <path d="M69.9,698.2c-1.5-2,0-.6-2.1-2.1-2.1,6.9-4.2,13.8-6.2,20.7-8.7-2.9-9.9,2-18.7,4.1.2,7.6,1.2,6.4,4.1,10.4,11.4-2.6,16.2-8.4,31.1-8.3,1.3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8.8-15.7,21.7-5.5,33.2-16.6,4.8.4,5.2.9,8.3,2.1-.6,4.1-1.7,8.1-4.1,10.4-1.5,2,0,.6-2.1,2.1l-2.1-6.2-6.2,2.1c.7,3.5,1.4,6.9,2.1,10.4l-4.2,2.1c-1.3,3.4-1.9.4-6.2,0-.7,3.5-1.4,6.9-2.1,10.4,13.2.2,12.4,5.3,20.7,8.3,5.2-6.3,14.8-13.2,22.8-16.6-.5-8.6-5.2-16.8-10.4-20.7-.1-8.8,2.8-15.5,8.3-18.7,2.3-2.3,8.6-3.7,12.4-4.1,1.9,10.4,1,22.6,0,33.2l3.1,1,7.3-1c-1.2-7-1.2-7.6,0-14.5h4.1c1.9,3.5,3.9,5.2,7.3,7.3h1c2.1-7.6,4.3-13.4,4.1-23.9-6.5.5-8,2.1-12.4,4.1-3.5-4.8-6.9-9.7-10.4-14.5v-4.1c4.8,2.1,9.7,4.1,14.5,6.2,5-11.9,10.5-9.7,15.6-8.2.2-3.4.3-7.3.3-11.9,0-15.2,2.1-12.4-8.3-28.3Z" />
@@ -215,7 +215,7 @@ const Map = ({
215
215
  }
216
216
  }}
217
217
  id={'제주도'}
218
- className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'제주도'.includes(selectRegion) || selectRegion === 'jeju' ? '!fill-[#254B80]' : ''}`}
218
+ className={`cls-2 transition-[fill] ease-linear focus:outline-none ${'제주도'.includes(selectRegion) || selectRegion === 'jeju' ? (isConsultCenter ? ' !fill-[#39590C] ' : ' !fill-[#254B80] ') : ''}`}
219
219
  d="M125.9,793.4c24.9-.6,27.9,6.4,41.5,14.5v6.2c-4.8,6.2-9.7,12.4-14.5,18.7-9.9,7-51.8,13.7-64.3,8.3-8.4-3.6-12,5.9-14.5,2.1-7.8-4-12.8-10.4-12.4-22.8,1.4-.4,2.8-.7,4.1-1,7-3.9,10.4-12,16.6-15.6,13.7-7.8,33.8.8,43.6-10.4Z"
220
220
  />
221
221
 
@@ -4,7 +4,7 @@ import 'swiper/css/navigation';
4
4
  import 'swiper/css/pagination';
5
5
  import { IInitialDataTypes } from '../common';
6
6
  import { IMapAlt } from '../common/types/map';
7
- declare const MapSection: ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title, isGroup, mapAltList }: {
7
+ declare const MapSection: ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title, isGroup, mapAltList, isConsultCenter }: {
8
8
  initialData: IInitialDataTypes;
9
9
  selectRegion: string;
10
10
  setSelectRegion: any;
@@ -12,5 +12,6 @@ declare const MapSection: ({ initialData, selectRegion, setSelectRegion, setMapF
12
12
  Title: React.ReactNode;
13
13
  isGroup?: boolean;
14
14
  mapAltList?: IMapAlt[];
15
+ isConsultCenter?: boolean;
15
16
  }) => React.JSX.Element;
16
17
  export default MapSection;
@@ -11,7 +11,7 @@ import AreaImage from '../MapFix/AreaImage';
11
11
  import { newNapArea } from '../common';
12
12
  import Map from './Map';
13
13
  import Link from 'next/link';
14
- const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title, isGroup = true, mapAltList }) => {
14
+ const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen, Title, isGroup = true, mapAltList, isConsultCenter }) => {
15
15
  const router = useRouter();
16
16
  const { width } = useBrowser();
17
17
  const [mapAreas, setMapAreas] = useState([]);
@@ -63,7 +63,7 @@ const MapSection = ({ initialData, selectRegion, setSelectRegion, setMapFixOpen,
63
63
  if (width < 769) {
64
64
  setMapFixOpen(true);
65
65
  }
66
- }} isFirstClick={isFirstClick}/>
66
+ }} isConsultCenter={isConsultCenter} isFirstClick={isFirstClick}/>
67
67
  </div>
68
68
  </Wrapper>
69
69
  </section>);
@@ -21,7 +21,8 @@ const MapSection = ({
21
21
  setMapFixOpen,
22
22
  Title,
23
23
  isGroup = true,
24
- mapAltList
24
+ mapAltList,
25
+ isConsultCenter
25
26
  }: {
26
27
  initialData: IInitialDataTypes;
27
28
  selectRegion: string;
@@ -30,6 +31,7 @@ const MapSection = ({
30
31
  Title: React.ReactNode;
31
32
  isGroup?: boolean;
32
33
  mapAltList?: IMapAlt[];
34
+ isConsultCenter?: boolean;
33
35
  }) => {
34
36
  const router = useRouter();
35
37
 
@@ -148,6 +150,7 @@ const MapSection = ({
148
150
  setMapFixOpen(true);
149
151
  }
150
152
  }}
153
+ isConsultCenter={isConsultCenter}
151
154
  isFirstClick={isFirstClick}
152
155
  />
153
156
  </div>
@@ -2,7 +2,7 @@ export declare const getSearchKeywordJson: (searchKeywords: {
2
2
  code_name: string;
3
3
  survey_title: string;
4
4
  }[]) => {
5
- [x: string]: string[];
5
+ [key: string]: string[];
6
6
  };
7
7
  export declare const tabTypes: {
8
8
  tab: string;