@heycar/heycars-map 0.4.5 → 0.4.7
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/business-components/BusinessRecomendPlaceMap/useFirstWorkflowRecomendLoading.d.ts +4 -0
- package/dist/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceMap.d.ts +0 -1
- package/dist/business-components/BusinessTaxiServiceMap/BusinessTaxiServiceSection.d.ts +1 -1
- package/dist/business-components/PassengerCircle/PassengerCircle.css.d.ts +3 -3
- package/dist/business-components/TaxiCar/TaxiCar.css.d.ts +1 -1
- package/dist/components/Amap/Amap.d.ts +8 -0
- package/dist/index.cjs +5114 -56
- package/dist/index.js +4292 -3068
- package/dist/style.css +278 -1
- package/dist/utils/transform.d.ts +2 -1
- package/package.json +1 -1
- package/todo.md +51 -19
- package/vite.config.ts +2 -0
package/dist/style.css
CHANGED
|
@@ -1 +1,278 @@
|
|
|
1
|
-
.n8tgem0
|
|
1
|
+
.n8tgem0 {
|
|
2
|
+
pointer-events: none;
|
|
3
|
+
position: absolute;
|
|
4
|
+
bottom: 50%;
|
|
5
|
+
left: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
margin-left: auto;
|
|
8
|
+
margin-right: auto;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
z-index: 1;
|
|
13
|
+
}
|
|
14
|
+
.n8tgem1 {
|
|
15
|
+
pointer-events: auto;
|
|
16
|
+
padding: 2.67vw 4.27vw;
|
|
17
|
+
background: linear-gradient(90deg, #79AFFF 0%, #5C8DFF 32%, #507FFF 75%, #4471FF 100%);
|
|
18
|
+
border-radius: 3.2vw;
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
}
|
|
22
|
+
.n8tgem2 {
|
|
23
|
+
padding-right: 2.67vw;
|
|
24
|
+
max-width: 41.33vw;
|
|
25
|
+
}
|
|
26
|
+
.n8tgem3 {
|
|
27
|
+
display: -webkit-box;
|
|
28
|
+
font-size: 3.47vw;
|
|
29
|
+
font-family: PingFangSC-Semibold, PingFang SC;
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
color: #FFFFFF;
|
|
32
|
+
line-height: 4.8vw;
|
|
33
|
+
-webkit-line-clamp: 2;
|
|
34
|
+
-webkit-box-orient: vertical;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
}
|
|
37
|
+
.n8tgem4 {
|
|
38
|
+
margin-top: 0.53vw;
|
|
39
|
+
font-size: 2.93vw;
|
|
40
|
+
font-family: PingFangSC-Regular, PingFang SC;
|
|
41
|
+
font-weight: 400;
|
|
42
|
+
color: #FFFFFF;
|
|
43
|
+
line-height: 4.27vw;
|
|
44
|
+
opacity: 0.8;
|
|
45
|
+
}
|
|
46
|
+
.n8tgem5 {
|
|
47
|
+
width: 1.758vw;
|
|
48
|
+
height: 2.93vw;
|
|
49
|
+
}
|
|
50
|
+
.n8tgem6 {
|
|
51
|
+
width: 0.8vw;
|
|
52
|
+
height: 4vw;
|
|
53
|
+
background: #4C80FF;
|
|
54
|
+
border-radius: 0vw 0vw 26.67vw 26.67vw;
|
|
55
|
+
}
|
|
56
|
+
.n8tgem7 {
|
|
57
|
+
width: 6.9355vw;
|
|
58
|
+
height: 10.67vw;
|
|
59
|
+
}.rgf09w0 {
|
|
60
|
+
width: 7.1045vw;
|
|
61
|
+
height: 10.93vw;
|
|
62
|
+
display: flex;
|
|
63
|
+
}._15rq2xn0 {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
align-items: center;
|
|
67
|
+
margin-bottom: -1.6vw;
|
|
68
|
+
}
|
|
69
|
+
._15rq2xn1 {
|
|
70
|
+
padding: 2.13vw 4.5vw 2.67vw 4.27vw;
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
background: linear-gradient(90deg, #79AFFF 0%, #5C8DFF 32%, #507FFF 75%, #4471FF 100%);
|
|
74
|
+
border-radius: 3.2vw;
|
|
75
|
+
}
|
|
76
|
+
._15rq2xn2 {
|
|
77
|
+
font-size: 3.47vw;
|
|
78
|
+
font-family: PingFangSC-Semibold, PingFang SC;
|
|
79
|
+
font-weight: 600;
|
|
80
|
+
color: #FFFFFF;
|
|
81
|
+
line-height: 4.8vw;
|
|
82
|
+
white-space: nowrap;
|
|
83
|
+
}
|
|
84
|
+
._15rq2xn3 {
|
|
85
|
+
font-size: 2.93vw;
|
|
86
|
+
font-family: PingFangSC-Regular, PingFang SC;
|
|
87
|
+
font-weight: 400;
|
|
88
|
+
color: #EAFAF8;
|
|
89
|
+
line-height: 4.27vw;
|
|
90
|
+
white-space: nowrap;
|
|
91
|
+
opacity: 0.8;
|
|
92
|
+
}
|
|
93
|
+
._15rq2xn4 {
|
|
94
|
+
margin-left: 3.2vw;
|
|
95
|
+
width: 1.44vw;
|
|
96
|
+
height: 2.4vw;
|
|
97
|
+
}
|
|
98
|
+
._15rq2xn5 {
|
|
99
|
+
width: 0.8vw;
|
|
100
|
+
height: 4vw;
|
|
101
|
+
background: #4C80FF;
|
|
102
|
+
border-radius: 0vw 0vw 26.67vw 26.67vw;
|
|
103
|
+
z-index: 1;
|
|
104
|
+
}
|
|
105
|
+
._15rq2xn6 {
|
|
106
|
+
margin-top: -1.5vw;
|
|
107
|
+
width: 3.2vw;
|
|
108
|
+
height: 3.2vw;
|
|
109
|
+
}._1d8ur7t0 {
|
|
110
|
+
position: relative;
|
|
111
|
+
}._7anfuo0 {
|
|
112
|
+
height: inherit;
|
|
113
|
+
width: inherit;
|
|
114
|
+
}
|
|
115
|
+
._7anfuo1 {
|
|
116
|
+
position: relative;
|
|
117
|
+
}._4a4ovk0 {
|
|
118
|
+
margin-bottom: -0.4vw;
|
|
119
|
+
display: flex;
|
|
120
|
+
flex-direction: column;
|
|
121
|
+
align-items: center;
|
|
122
|
+
}
|
|
123
|
+
._4a4ovk1 {
|
|
124
|
+
padding: 1.07vw 2.4vw 1.6vw 2.67vw;
|
|
125
|
+
background: #FFFFFF;
|
|
126
|
+
box-shadow: 0vw 0.53vw 2.4vw 0vw rgba(63,63,63,0.2);
|
|
127
|
+
border-radius: 2.13vw;
|
|
128
|
+
}
|
|
129
|
+
._4a4ovk2 {
|
|
130
|
+
padding: 2.67vw 2.67vw 2.4vw 3.2vw;
|
|
131
|
+
background: #FFFFFF;
|
|
132
|
+
box-shadow: 0vw 0vw 2.67vw 0vw rgba(78,85,108,0.15);
|
|
133
|
+
border-radius: 4.8vw;
|
|
134
|
+
}
|
|
135
|
+
._4a4ovk3 {
|
|
136
|
+
display: -webkit-box;
|
|
137
|
+
max-width: 41.33vw;
|
|
138
|
+
width: max-content;
|
|
139
|
+
font-size: 3.2vw;
|
|
140
|
+
font-family: PingFangSC-Medium, PingFang SC;
|
|
141
|
+
font-weight: 500;
|
|
142
|
+
color: #1E1E1E;
|
|
143
|
+
line-height: 3.73vw;
|
|
144
|
+
-webkit-line-clamp: 2;
|
|
145
|
+
-webkit-box-orient: vertical;
|
|
146
|
+
overflow: hidden;
|
|
147
|
+
}
|
|
148
|
+
._4a4ovk4 {
|
|
149
|
+
padding-top: 0.6vw;
|
|
150
|
+
font-size: 2.4vw;
|
|
151
|
+
font-family: PingFangSC-Regular, PingFang SC;
|
|
152
|
+
font-weight: 400;
|
|
153
|
+
color: #7E7E7E;
|
|
154
|
+
line-height: 3.47vw;
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
}
|
|
157
|
+
._4a4ovk5 {
|
|
158
|
+
color: #4471FF;
|
|
159
|
+
font-family: PingFangSC-Medium, PingFang SC;
|
|
160
|
+
font-weight: 500;
|
|
161
|
+
}
|
|
162
|
+
._4a4ovk6 {
|
|
163
|
+
margin-top: 1.33vw;
|
|
164
|
+
width: 6.192vw;
|
|
165
|
+
height: 7.998vw;
|
|
166
|
+
}
|
|
167
|
+
._4a4ovk7 {
|
|
168
|
+
margin-top: 2.4vw;
|
|
169
|
+
width: 6.192vw;
|
|
170
|
+
height: 7.998vw;
|
|
171
|
+
}._1l6offo0 {
|
|
172
|
+
display: flex;
|
|
173
|
+
}
|
|
174
|
+
._1l6offo1 {
|
|
175
|
+
width: 6.6vw;
|
|
176
|
+
height: 6.6vw;
|
|
177
|
+
margin-bottom: -3.3vw;
|
|
178
|
+
}
|
|
179
|
+
._1l6offo2 {
|
|
180
|
+
width: 16.27vw;
|
|
181
|
+
height: 16.27vw;
|
|
182
|
+
margin-bottom: -8.135vw;
|
|
183
|
+
}.fhyw80 {
|
|
184
|
+
display: flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
}
|
|
187
|
+
.fhyw81 {
|
|
188
|
+
flex-direction: row-reverse;
|
|
189
|
+
}
|
|
190
|
+
.fhyw83 {
|
|
191
|
+
margin-right: -2.265vw;
|
|
192
|
+
}
|
|
193
|
+
.fhyw84 {
|
|
194
|
+
margin-left: -2.265vw;
|
|
195
|
+
}
|
|
196
|
+
.fhyw85 {
|
|
197
|
+
margin-bottom: -2.265vw;
|
|
198
|
+
}
|
|
199
|
+
.fhyw86 {
|
|
200
|
+
margin-right: calc(50% - 2.265vw);
|
|
201
|
+
}
|
|
202
|
+
.fhyw87 {
|
|
203
|
+
margin-left: calc(50% - 2.265vw);
|
|
204
|
+
}
|
|
205
|
+
.fhyw88 {
|
|
206
|
+
display: flex;
|
|
207
|
+
width: 4.53vw;
|
|
208
|
+
height: 4.53vw;
|
|
209
|
+
}
|
|
210
|
+
.fhyw89 {
|
|
211
|
+
opacity: 0;
|
|
212
|
+
}
|
|
213
|
+
.fhyw8b {
|
|
214
|
+
display: -webkit-box;
|
|
215
|
+
font-size: 3.2vw;
|
|
216
|
+
font-family: PingFangSC-Semibold, PingFang SC;
|
|
217
|
+
font-weight: 600;
|
|
218
|
+
color: #243E66;
|
|
219
|
+
line-height: 4.53vw;
|
|
220
|
+
width: max-content;
|
|
221
|
+
max-width: 32vw;
|
|
222
|
+
-webkit-line-clamp: 2;
|
|
223
|
+
-webkit-box-orient: vertical;
|
|
224
|
+
overflow: hidden;
|
|
225
|
+
}._65j3sr1 {
|
|
226
|
+
margin-top: 1.87vw;
|
|
227
|
+
margin-bottom: -5.5vw;
|
|
228
|
+
width: 6vw;
|
|
229
|
+
height: 11vw;
|
|
230
|
+
}@keyframes rrvp0y0 {
|
|
231
|
+
0% {
|
|
232
|
+
transform: scale(0);
|
|
233
|
+
opacity: 1;
|
|
234
|
+
}
|
|
235
|
+
33.33% {
|
|
236
|
+
transform: scale(0.5);
|
|
237
|
+
opacity: 1;
|
|
238
|
+
}
|
|
239
|
+
66.66% {
|
|
240
|
+
transform: scale(1);
|
|
241
|
+
opacity: 0;
|
|
242
|
+
}
|
|
243
|
+
100% {
|
|
244
|
+
transform: scale(1);
|
|
245
|
+
opacity: 0;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
@keyframes rrvp0y1 {
|
|
249
|
+
0% {
|
|
250
|
+
transform: scale(0);
|
|
251
|
+
opacity: 0;
|
|
252
|
+
}
|
|
253
|
+
33.33% {
|
|
254
|
+
transform: scale(0);
|
|
255
|
+
opacity: 1;
|
|
256
|
+
}
|
|
257
|
+
66.66% {
|
|
258
|
+
transform: scale(0.5);
|
|
259
|
+
opacity: 1;
|
|
260
|
+
}
|
|
261
|
+
100% {
|
|
262
|
+
transform: scale(1);
|
|
263
|
+
opacity: 0;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
.rrvp0y2 {
|
|
267
|
+
display: flex;
|
|
268
|
+
margin-bottom: -30.935vw;
|
|
269
|
+
width: 61.87vw;
|
|
270
|
+
height: 61.87vw;
|
|
271
|
+
animation-name: rrvp0y0;
|
|
272
|
+
animation-duration: 3s;
|
|
273
|
+
animation-iteration-count: infinite;
|
|
274
|
+
animation-timing-function: linear;
|
|
275
|
+
}
|
|
276
|
+
.rrvp0y3 {
|
|
277
|
+
animation-name: rrvp0y1;
|
|
278
|
+
}
|
|
@@ -12,7 +12,8 @@ export type VectorMapForeign = "style_en" | "style_local" | "style_zh_cn";
|
|
|
12
12
|
export declare const language2vectorMapForeign: (lang: "en" | "zh") => VectorMapForeign;
|
|
13
13
|
export declare const place2point: (place: Place) => Point;
|
|
14
14
|
export declare const pipeAsync: <P extends any[]>(fn?: ((...args: P) => any) | undefined) => (...args: P) => void;
|
|
15
|
-
export declare const pipeDefer: <P extends any[]>(fn
|
|
15
|
+
export declare const pipeDefer: <P extends any[], R>(fn: (...args: P) => R) => (...args: P) => Promise<R>;
|
|
16
|
+
export declare const pipeOnlyLastEffect: <P extends any[], R>(fn: (...arg: P) => Promise<R>) => (...args: P) => Promise<R>;
|
|
16
17
|
export declare const geocoderResult2cityName: (value: google.maps.GeocoderResult) => string | undefined;
|
|
17
18
|
export declare const isPlaceEqual: (p1: Place, p2?: Place) => boolean;
|
|
18
19
|
export declare const isPointEqual: (p1: Point, p2?: Point) => boolean;
|
package/package.json
CHANGED
package/todo.md
CHANGED
|
@@ -1,34 +1,58 @@
|
|
|
1
1
|
https://dawchihliou.github.io/articles/building-custom-google-maps-marker-react-component-like-airbnb-in-nextjs
|
|
2
2
|
|
|
3
3
|
2. Google 地址名称太长
|
|
4
|
-
3.
|
|
5
|
-
4. 高德地图加载期间出现大量的请求
|
|
6
|
-
5. google/高德 坐标系转化
|
|
4
|
+
3. 高德地图加载期间出现大量的请求
|
|
7
5
|
|
|
8
|
-
|
|
6
|
+
郝瑞
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
5. 需要一个手段让 fitview 初始化起作用
|
|
8
|
+
- 5033 是否可以关闭
|
|
9
|
+
- 5177 不太明白
|
|
13
10
|
|
|
14
|
-
|
|
11
|
+
孙明
|
|
15
12
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
- 4991
|
|
14
|
+
- 5236 地图高度问题
|
|
15
|
+
- 5237
|
|
16
|
+
- 5240
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
谭红亚
|
|
22
19
|
|
|
23
|
-
|
|
24
|
-
2. 用户手动输入地址,然后跳回 home 页面, centerplace 的 name 不正确
|
|
25
|
-
3. 用户地址搜索,先设置台湾,搜个结果,然后切换城市到新加坡,搜索到结果依然是台湾
|
|
20
|
+
- 4772
|
|
26
21
|
|
|
27
|
-
|
|
22
|
+
谭瑞平
|
|
28
23
|
|
|
29
|
-
|
|
24
|
+
- 5145 关闭浏览器再打开,sensor 失效了
|
|
30
25
|
|
|
31
|
-
|
|
26
|
+
测试环境看下
|
|
27
|
+
|
|
28
|
+
- 4903
|
|
29
|
+
- 4914
|
|
30
|
+
- 4976
|
|
31
|
+
- 5002
|
|
32
|
+
- 5006
|
|
33
|
+
- 5014 定位失败,文案问题
|
|
34
|
+
- 5017
|
|
35
|
+
- 5036
|
|
36
|
+
- 5092
|
|
37
|
+
- 5095 大概率可以关掉
|
|
38
|
+
- 5223
|
|
39
|
+
- 5225
|
|
40
|
+
- 5229 优先看
|
|
41
|
+
- 5238
|
|
42
|
+
|
|
43
|
+
不明白的
|
|
44
|
+
|
|
45
|
+
- 4843
|
|
46
|
+
- 4986
|
|
47
|
+
- 5024
|
|
48
|
+
|
|
49
|
+
需要复现
|
|
50
|
+
|
|
51
|
+
- 4769
|
|
52
|
+
- 4867
|
|
53
|
+
- 5044
|
|
54
|
+
- 5113
|
|
55
|
+
- 5173
|
|
32
56
|
|
|
33
57
|
setView 类 bug
|
|
34
58
|
|
|
@@ -48,3 +72,11 @@ setView 类 bug
|
|
|
48
72
|
0.4.5
|
|
49
73
|
|
|
50
74
|
- 5215
|
|
75
|
+
|
|
76
|
+
0.4.6
|
|
77
|
+
|
|
78
|
+
- 4824
|
|
79
|
+
- 4809
|
|
80
|
+
- 4836
|
|
81
|
+
- 4915
|
|
82
|
+
- 5228
|
package/vite.config.ts
CHANGED
|
@@ -17,6 +17,8 @@ export default defineConfig({
|
|
|
17
17
|
plugins: [pluginVue(), vueJsx(), checker({ typescript: true }), eslint(), vanillaExtractPlugin()],
|
|
18
18
|
build: {
|
|
19
19
|
target: "ES2019",
|
|
20
|
+
// debug
|
|
21
|
+
minify: false,
|
|
20
22
|
lib: {
|
|
21
23
|
entry: resolve(__dirname, "src/index.ts"),
|
|
22
24
|
formats: ["es", "cjs"],
|