@abi-software/flatmapvuer 1.21.0 → 1.21.1-demo.0
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/flatmapvuer.js +2249 -2324
- package/dist/flatmapvuer.umd.cjs +16 -8
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +16 -51
- package/src/components/FlatmapVuer.vue +278 -365
- package/src/components/MultiFlatmapVuer.vue +85 -151
- package/src/components/legends/DynamicLegends.vue +23 -12
- package/src/services/somaLocationMarkers.js +129 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<div
|
|
3
3
|
class="flatmap-container"
|
|
4
4
|
ref="flatmapContainer"
|
|
5
|
+
data-help-scope
|
|
5
6
|
v-loading="loading"
|
|
6
7
|
element-loading-text="Loading..."
|
|
7
8
|
element-loading-background="rgba(0, 0, 0, 0.3)"
|
|
@@ -9,7 +10,24 @@
|
|
|
9
10
|
<map-svg-sprite-color />
|
|
10
11
|
<div style="height: 100%; width: 100%; position: relative; overflow-y: none">
|
|
11
12
|
<!-- flatmap-display -->
|
|
12
|
-
<div
|
|
13
|
+
<div
|
|
14
|
+
style="height: 100%; width: 100%"
|
|
15
|
+
ref="display"
|
|
16
|
+
class="flatmap-display"
|
|
17
|
+
v-help-mode="{
|
|
18
|
+
id: 'flatmap-map-popup',
|
|
19
|
+
area: 'map-info',
|
|
20
|
+
// After the controls at the top left, e.g. what's new, the map is below them
|
|
21
|
+
order: 1,
|
|
22
|
+
title: 'Explore the map',
|
|
23
|
+
description:
|
|
24
|
+
'<b>Hover</b> over a feature on the map to see its name, <b>click</b> on it to see more information such as its connectivity.',
|
|
25
|
+
placement: 'bottom',
|
|
26
|
+
target: () => $el.querySelector('.flatmap-popup-popper'),
|
|
27
|
+
onEnter: openFlatmapHelpPopup,
|
|
28
|
+
onLeave: closeFlatmapHelpPopup,
|
|
29
|
+
}"
|
|
30
|
+
></div>
|
|
13
31
|
<!-- flatmap-error -->
|
|
14
32
|
<FlatmapError v-if="flatmapError" :flatmapError="flatmapError" />
|
|
15
33
|
|
|
@@ -20,18 +38,13 @@
|
|
|
20
38
|
placement="right"
|
|
21
39
|
popper-class="warning-popper flatmap-popper"
|
|
22
40
|
:teleported="false"
|
|
23
|
-
|
|
41
|
+
trigger="hover"
|
|
42
|
+
:show-after="tooltipDelay"
|
|
43
|
+
:hide-after="tooltipDelay"
|
|
24
44
|
ref="warningPopover"
|
|
25
45
|
>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Please use `const` to assign meaningful names to them...
|
|
30
|
-
-->
|
|
31
|
-
<p v-if="isLegacy" @mouseover="showTooltip(7)" @mouseout="hideTooltip(7)">
|
|
32
|
-
This is a legacy map, you may view the latest map instead.
|
|
33
|
-
</p>
|
|
34
|
-
<p v-else-if="isFC" @mouseover="showTooltip(7)" @mouseout="hideTooltip(7)">
|
|
46
|
+
<p v-if="isLegacy">This is a legacy map, you may view the latest map instead.</p>
|
|
47
|
+
<p v-else-if="isFC">
|
|
35
48
|
This map displays the connectivity of individual neurons. Specifically, those which
|
|
36
49
|
align with (parts of) the neuron populations from the
|
|
37
50
|
<a href="https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew" target="_blank">
|
|
@@ -43,7 +56,7 @@ Please use `const` to assign meaningful names to them...
|
|
|
43
56
|
</a>
|
|
44
57
|
.
|
|
45
58
|
</p>
|
|
46
|
-
<p v-else
|
|
59
|
+
<p v-else>
|
|
47
60
|
This map displays the connectivity of neuron populations. Specifically, those from the
|
|
48
61
|
primarily rat-based
|
|
49
62
|
<a href="https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew" target="_blank">
|
|
@@ -57,7 +70,16 @@ Please use `const` to assign meaningful names to them...
|
|
|
57
70
|
progresses.
|
|
58
71
|
</p>
|
|
59
72
|
<template #reference>
|
|
60
|
-
<div
|
|
73
|
+
<div
|
|
74
|
+
class="warning-icon"
|
|
75
|
+
v-help-mode="{
|
|
76
|
+
id: 'flatmap-warning',
|
|
77
|
+
area: 'map-info',
|
|
78
|
+
title: 'About this map',
|
|
79
|
+
description: warningHelpDescription,
|
|
80
|
+
placement: 'right',
|
|
81
|
+
}"
|
|
82
|
+
>
|
|
61
83
|
<el-icon v-if="displayWarning || isLegacy"><el-icon-warning-filled /></el-icon>
|
|
62
84
|
<template v-if="isLegacy">
|
|
63
85
|
<span class="warning-text">Legacy Map</span>
|
|
@@ -76,17 +98,23 @@ Please use `const` to assign meaningful names to them...
|
|
|
76
98
|
placement="right"
|
|
77
99
|
v-if="displayLatestChanges"
|
|
78
100
|
:teleported="false"
|
|
79
|
-
trigger="
|
|
101
|
+
trigger="hover"
|
|
80
102
|
popper-class="warning-popper flatmap-popper"
|
|
81
|
-
:
|
|
103
|
+
:show-after="tooltipDelay"
|
|
104
|
+
:hide-after="tooltipDelay"
|
|
82
105
|
ref="whatsNewPopover"
|
|
83
106
|
>
|
|
84
107
|
<template #reference>
|
|
85
108
|
<div
|
|
86
109
|
class="latest-changesicon"
|
|
110
|
+
v-help-mode="{
|
|
111
|
+
id: 'flatmap-whats-new',
|
|
112
|
+
area: 'map-info',
|
|
113
|
+
title: 'What\'s new?',
|
|
114
|
+
description: 'See the latest changes and improvements made to this map.',
|
|
115
|
+
placement: 'right',
|
|
116
|
+
}"
|
|
87
117
|
v-if="displayLatestChanges"
|
|
88
|
-
@mouseover="showTooltip(8)"
|
|
89
|
-
@mouseout="hideTooltip(8)"
|
|
90
118
|
>
|
|
91
119
|
<el-icon><el-icon-warning-filled /></el-icon>
|
|
92
120
|
<span class="warning-text">What's new?</span>
|
|
@@ -127,13 +155,10 @@ Please use `const` to assign meaningful names to them...
|
|
|
127
155
|
:activeDrawMode="activeDrawMode"
|
|
128
156
|
:newlyDrawnEntry="drawnCreatedEvent"
|
|
129
157
|
:connectionEntry="connectionEntry"
|
|
130
|
-
:hoverVisibilities="hoverVisibilities"
|
|
131
158
|
@clickToolbar="toolbarEvent"
|
|
132
159
|
@featureTooltip="connectedFeatureTooltip"
|
|
133
160
|
@confirmDrawn="confirmDrawnFeature"
|
|
134
161
|
@cancelDrawn="cancelDrawnFeature"
|
|
135
|
-
@showTooltip="showTooltip"
|
|
136
|
-
@hideTooltip="hideTooltip"
|
|
137
162
|
ref="toolbarPopover"
|
|
138
163
|
/>
|
|
139
164
|
|
|
@@ -142,18 +167,24 @@ Please use `const` to assign meaningful names to them...
|
|
|
142
167
|
content="Zoom in"
|
|
143
168
|
placement="left"
|
|
144
169
|
:teleported="false"
|
|
145
|
-
trigger="
|
|
170
|
+
trigger="hover"
|
|
146
171
|
width="70"
|
|
147
172
|
popper-class="flatmap-popper"
|
|
148
|
-
:
|
|
173
|
+
:show-after="tooltipDelay"
|
|
174
|
+
:hide-after="tooltipDelay"
|
|
149
175
|
ref="zoomInPopover"
|
|
150
176
|
>
|
|
151
177
|
<template #reference>
|
|
152
178
|
<div
|
|
153
179
|
class="icon-button-container"
|
|
180
|
+
v-help-mode="{
|
|
181
|
+
id: 'flatmap-zoom-in',
|
|
182
|
+
area: 'zoom',
|
|
183
|
+
title: 'Zoom in',
|
|
184
|
+
description: 'Zoom in to see more detail. You can also scroll or pinch on the map.',
|
|
185
|
+
placement: 'left',
|
|
186
|
+
}"
|
|
154
187
|
@click="zoomIn()"
|
|
155
|
-
@mouseover="showTooltip(1)"
|
|
156
|
-
@mouseout="hideTooltip(1)"
|
|
157
188
|
>
|
|
158
189
|
<map-svg-icon class="icon-button zoomIn" icon="zoomIn" />
|
|
159
190
|
</div>
|
|
@@ -163,18 +194,24 @@ Please use `const` to assign meaningful names to them...
|
|
|
163
194
|
content="Zoom out"
|
|
164
195
|
placement="top-end"
|
|
165
196
|
:teleported="false"
|
|
166
|
-
trigger="
|
|
197
|
+
trigger="hover"
|
|
167
198
|
width="70"
|
|
168
199
|
popper-class="flatmap-popper"
|
|
169
|
-
:
|
|
200
|
+
:show-after="tooltipDelay"
|
|
201
|
+
:hide-after="tooltipDelay"
|
|
170
202
|
ref="zoomOutPopover"
|
|
171
203
|
>
|
|
172
204
|
<template #reference>
|
|
173
205
|
<div
|
|
174
206
|
class="icon-button-container"
|
|
207
|
+
v-help-mode="{
|
|
208
|
+
id: 'flatmap-zoom-out',
|
|
209
|
+
area: 'zoom',
|
|
210
|
+
title: 'Zoom out',
|
|
211
|
+
description: 'Zoom out to see more of the map.',
|
|
212
|
+
placement: 'top',
|
|
213
|
+
}"
|
|
175
214
|
@click="zoomOut()"
|
|
176
|
-
@mouseover="showTooltip(2)"
|
|
177
|
-
@mouseout="hideTooltip(2)"
|
|
178
215
|
>
|
|
179
216
|
<map-svg-icon class="icon-button zoomOut" icon="zoomOut" />
|
|
180
217
|
</div>
|
|
@@ -184,10 +221,11 @@ Please use `const` to assign meaningful names to them...
|
|
|
184
221
|
content="Reset"
|
|
185
222
|
placement="top"
|
|
186
223
|
:teleported="false"
|
|
187
|
-
trigger="
|
|
224
|
+
trigger="hover"
|
|
188
225
|
width="70"
|
|
189
226
|
popper-class="flatmap-popper"
|
|
190
|
-
:
|
|
227
|
+
:show-after="tooltipDelay"
|
|
228
|
+
:hide-after="tooltipDelay"
|
|
191
229
|
ref="zoomFitPopover"
|
|
192
230
|
>
|
|
193
231
|
<div>
|
|
@@ -198,95 +236,96 @@ Please use `const` to assign meaningful names to them...
|
|
|
198
236
|
<template #reference>
|
|
199
237
|
<div
|
|
200
238
|
class="icon-button-container"
|
|
239
|
+
v-help-mode="{
|
|
240
|
+
id: 'flatmap-zoom-fit',
|
|
241
|
+
area: 'zoom',
|
|
242
|
+
title: 'Fit to window',
|
|
243
|
+
description: 'Reset the view so the whole map fits in the window.',
|
|
244
|
+
placement: 'top',
|
|
245
|
+
}"
|
|
201
246
|
@click="resetView()"
|
|
202
|
-
@mouseover="showTooltip(3)"
|
|
203
|
-
@mouseout="hideTooltip(3)"
|
|
204
247
|
>
|
|
205
248
|
<map-svg-icon class="icon-button fitWindow" icon="fitWindow" />
|
|
206
249
|
</div>
|
|
207
250
|
</template>
|
|
208
251
|
</el-popover>
|
|
209
252
|
</div>
|
|
210
|
-
<
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
trigger="manual"
|
|
215
|
-
:offset="-18"
|
|
216
|
-
popper-class="flatmap-popper"
|
|
217
|
-
:visible="hoverVisibilities[6].value"
|
|
218
|
-
ref="checkBoxPopover"
|
|
253
|
+
<div
|
|
254
|
+
class="pathway-location"
|
|
255
|
+
:class="{ open: drawerOpen, close: !drawerOpen }"
|
|
256
|
+
v-show="!disableUI && requiresDrawer"
|
|
219
257
|
>
|
|
220
|
-
<
|
|
258
|
+
<div
|
|
259
|
+
class="pathway-container"
|
|
260
|
+
v-help-mode="{
|
|
261
|
+
id: 'flatmap-pathways',
|
|
262
|
+
area: 'legends',
|
|
263
|
+
title: showPathwayFilter ? 'Pathways and legends' : 'Legends',
|
|
264
|
+
description: showPathwayFilter
|
|
265
|
+
? 'Show or hide pathways, systems and other map layers using the checkboxes in this panel.'
|
|
266
|
+
: 'The legends explain the symbols and colours used on this map.',
|
|
267
|
+
placement: 'right',
|
|
268
|
+
onEnter: openHelpModeDrawer,
|
|
269
|
+
onLeave: restoreHelpModeDrawer,
|
|
270
|
+
}"
|
|
271
|
+
:class="{ open: drawerOpen, close: !drawerOpen }"
|
|
272
|
+
:style="{ 'max-height': pathwaysMaxHeight + 'px' }"
|
|
273
|
+
>
|
|
274
|
+
<dynamic-legends
|
|
275
|
+
v-if="legendEntry.length"
|
|
276
|
+
identifierKey="prompt"
|
|
277
|
+
colourKey="colour"
|
|
278
|
+
styleKey="style"
|
|
279
|
+
:legends="legendEntry"
|
|
280
|
+
:showStarInLegend="true"
|
|
281
|
+
ref="featuredMarkerPopover"
|
|
282
|
+
class="svg-legends-container"
|
|
283
|
+
/>
|
|
284
|
+
<!-- The line below places the yellowstar svg on the left, and the text "Featured markers on the right" with css so they are both centered in the div -->
|
|
221
285
|
<div
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
v-
|
|
286
|
+
v-show="helpModeMarkerVisible"
|
|
287
|
+
class="flatmap-marker-help"
|
|
288
|
+
v-help-mode="{
|
|
289
|
+
id: 'flatmap-marker',
|
|
290
|
+
area: 'legends',
|
|
291
|
+
title: 'Dataset markers',
|
|
292
|
+
description:
|
|
293
|
+
'Find these markers on the map for data. The number inside a marker is the number of datasets available at that location.',
|
|
294
|
+
placement: 'right',
|
|
295
|
+
onEnter: () => setHelpModeMarker(true),
|
|
296
|
+
onLeave: () => setHelpModeMarker(false),
|
|
297
|
+
}"
|
|
225
298
|
>
|
|
226
|
-
<div
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
v-show="hoverVisibilities[0].value"
|
|
257
|
-
class="flatmap-marker-help"
|
|
258
|
-
v-html="flatmapMarker"
|
|
259
|
-
v-popover:markerPopover
|
|
260
|
-
></div>
|
|
261
|
-
</template>
|
|
262
|
-
</el-popover>
|
|
263
|
-
<tree-controls
|
|
264
|
-
v-if="isFC && systems && systems.length > 0"
|
|
265
|
-
class="treeControls"
|
|
266
|
-
mapType="flatmap"
|
|
267
|
-
title="Systems"
|
|
268
|
-
:treeData="systems"
|
|
269
|
-
:active="currentActive"
|
|
270
|
-
:hover="currentHover"
|
|
271
|
-
@checkChanged="systemSelected"
|
|
272
|
-
@checkAll="checkAllSystems"
|
|
273
|
-
@changeActive="ftuSelected"
|
|
274
|
-
ref="treeControls"
|
|
275
|
-
/>
|
|
276
|
-
<selections-group
|
|
277
|
-
v-if="containsAlert && alertOptions && showPathwayFilter"
|
|
278
|
-
title="Notes"
|
|
279
|
-
labelKey="label"
|
|
280
|
-
identifierKey="key"
|
|
281
|
-
:selections="alertOptions"
|
|
282
|
-
@changed="alertSelected"
|
|
283
|
-
@checkboxMouseEnter="alertMouseEnterEmitted"
|
|
284
|
-
@selections-data-changed="onSelectionsDataChanged"
|
|
285
|
-
@checkAll="checkAllAlerts"
|
|
286
|
-
ref="alertSelection"
|
|
287
|
-
key="alertSelection"
|
|
288
|
-
/>
|
|
289
|
-
<!--
|
|
299
|
+
<div class="flatmap-marker-help-icon" v-html="flatmapMarker"></div>
|
|
300
|
+
<span class="flatmap-marker-help-label">Dataset markers</span>
|
|
301
|
+
</div>
|
|
302
|
+
<tree-controls
|
|
303
|
+
v-if="isFC && systems && systems.length > 0"
|
|
304
|
+
class="treeControls"
|
|
305
|
+
mapType="flatmap"
|
|
306
|
+
title="Systems"
|
|
307
|
+
:treeData="systems"
|
|
308
|
+
:active="currentActive"
|
|
309
|
+
:hover="currentHover"
|
|
310
|
+
@checkChanged="systemSelected"
|
|
311
|
+
@checkAll="checkAllSystems"
|
|
312
|
+
@changeActive="ftuSelected"
|
|
313
|
+
ref="treeControls"
|
|
314
|
+
/>
|
|
315
|
+
<selections-group
|
|
316
|
+
v-if="containsAlert && alertOptions && showPathwayFilter"
|
|
317
|
+
title="Notes"
|
|
318
|
+
labelKey="label"
|
|
319
|
+
identifierKey="key"
|
|
320
|
+
:selections="alertOptions"
|
|
321
|
+
@changed="alertSelected"
|
|
322
|
+
@checkboxMouseEnter="alertMouseEnterEmitted"
|
|
323
|
+
@selections-data-changed="onSelectionsDataChanged"
|
|
324
|
+
@checkAll="checkAllAlerts"
|
|
325
|
+
ref="alertSelection"
|
|
326
|
+
key="alertSelection"
|
|
327
|
+
/>
|
|
328
|
+
<!--
|
|
290
329
|
<selections-group
|
|
291
330
|
v-if="isFC && sckanDisplay && sckanDisplay.length > 0"
|
|
292
331
|
title="SCKAN"
|
|
@@ -312,45 +351,43 @@ Please use `const` to assign meaningful names to them...
|
|
|
312
351
|
key="layersSelection"
|
|
313
352
|
/>
|
|
314
353
|
-->
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
</template>
|
|
353
|
-
</el-popover>
|
|
354
|
+
<selections-group
|
|
355
|
+
v-if="pathways && pathways.length > 0"
|
|
356
|
+
title="Pathways"
|
|
357
|
+
labelKey="label"
|
|
358
|
+
identifierKey="type"
|
|
359
|
+
colourStyle="line"
|
|
360
|
+
:selections="pathways"
|
|
361
|
+
:showAsLegend="!showPathwayFilter"
|
|
362
|
+
@changed="pathwaysSelected"
|
|
363
|
+
@selections-data-changed="onSelectionsDataChanged"
|
|
364
|
+
@checkAll="checkAllPathways"
|
|
365
|
+
ref="pathwaysSelection"
|
|
366
|
+
key="pathwaysSelection"
|
|
367
|
+
/>
|
|
368
|
+
<selections-group
|
|
369
|
+
v-if="taxonConnectivity && taxonConnectivity.length > 0 && showPathwayFilter"
|
|
370
|
+
title="Studied in"
|
|
371
|
+
labelKey="label"
|
|
372
|
+
identifierKey="taxon"
|
|
373
|
+
helpMessage="Evidence exists that this set of neuron populations have been studied in the given species."
|
|
374
|
+
:selections="taxonConnectivity"
|
|
375
|
+
@changed="taxonsSelected"
|
|
376
|
+
@checkboxMouseEnter="taxonMouseEnterEmitted"
|
|
377
|
+
@selections-data-changed="onSelectionsDataChanged"
|
|
378
|
+
@checkAll="checkAllTaxons"
|
|
379
|
+
ref="taxonSelection"
|
|
380
|
+
key="taxonSelection"
|
|
381
|
+
/>
|
|
382
|
+
</div>
|
|
383
|
+
<div
|
|
384
|
+
@click="toggleDrawer"
|
|
385
|
+
class="drawer-button"
|
|
386
|
+
:class="{ open: drawerOpen, close: !drawerOpen }"
|
|
387
|
+
>
|
|
388
|
+
<el-icon><el-icon-arrow-left /></el-icon>
|
|
389
|
+
</div>
|
|
390
|
+
</div>
|
|
354
391
|
<el-popover
|
|
355
392
|
v-if="openMapRef"
|
|
356
393
|
ref="open-map-popover"
|
|
@@ -477,7 +514,9 @@ Please use `const` to assign meaningful names to them...
|
|
|
477
514
|
>
|
|
478
515
|
<el-row v-if="showOpenMapButton">
|
|
479
516
|
<el-popover
|
|
480
|
-
|
|
517
|
+
trigger="hover"
|
|
518
|
+
:show-after="tooltipDelay"
|
|
519
|
+
:hide-after="tooltipDelay"
|
|
481
520
|
content="Open new map"
|
|
482
521
|
placement="right"
|
|
483
522
|
:teleported="false"
|
|
@@ -488,9 +527,15 @@ Please use `const` to assign meaningful names to them...
|
|
|
488
527
|
<div
|
|
489
528
|
v-if="enableOpenMapUI && openMapOptions.length > 0"
|
|
490
529
|
ref="openMapRef"
|
|
530
|
+
v-help-mode="{
|
|
531
|
+
id: 'flatmap-open-map',
|
|
532
|
+
area: 'map-settings',
|
|
533
|
+
title: 'Open new map',
|
|
534
|
+
description:
|
|
535
|
+
'Open another map, such as a different species or a connectivity map.',
|
|
536
|
+
placement: 'right',
|
|
537
|
+
}"
|
|
491
538
|
class="icon-button-container"
|
|
492
|
-
@mouseover="showTooltip(4)"
|
|
493
|
-
@mouseout="hideTooltip(4)"
|
|
494
539
|
>
|
|
495
540
|
<map-svg-icon icon="openMap" class="icon-button open-map-button" />
|
|
496
541
|
</div>
|
|
@@ -501,18 +546,25 @@ Please use `const` to assign meaningful names to them...
|
|
|
501
546
|
<el-popover
|
|
502
547
|
content="Change settings"
|
|
503
548
|
placement="right"
|
|
504
|
-
:
|
|
549
|
+
:show-after="tooltipDelay"
|
|
550
|
+
:hide-after="tooltipDelay"
|
|
505
551
|
:teleported="false"
|
|
506
|
-
trigger="
|
|
552
|
+
trigger="hover"
|
|
507
553
|
popper-class="flatmap-popper"
|
|
508
554
|
ref="settingsPopover"
|
|
509
555
|
>
|
|
510
556
|
<template #reference>
|
|
511
557
|
<div
|
|
512
558
|
ref="backgroundIconRef"
|
|
559
|
+
v-help-mode="{
|
|
560
|
+
id: 'flatmap-settings',
|
|
561
|
+
area: 'map-settings',
|
|
562
|
+
title: 'Settings',
|
|
563
|
+
description:
|
|
564
|
+
'Change the map settings, such as the background colour and the viewing mode.',
|
|
565
|
+
placement: 'right',
|
|
566
|
+
}"
|
|
513
567
|
class="icon-button-container"
|
|
514
|
-
@mouseover="showTooltip(5)"
|
|
515
|
-
@mouseout="hideTooltip(5)"
|
|
516
568
|
>
|
|
517
569
|
<map-svg-icon icon="changeBckgd" class="icon-button" />
|
|
518
570
|
</div>
|
|
@@ -557,6 +609,7 @@ import { capitalise, normaliseAlertToStringArray } from './utilities.js';
|
|
|
557
609
|
import yellowstar from '../icons/yellowstar';
|
|
558
610
|
import ResizeSensor from 'css-element-queries/src/ResizeSensor';
|
|
559
611
|
import flatmap from '../services/flatmapLoader.js';
|
|
612
|
+
import { attachSomaLocationMarkerMethods } from '../services/somaLocationMarkers.js';
|
|
560
613
|
import { AnnotationService } from '@abi-software/sparc-annotation';
|
|
561
614
|
import { mapState } from 'pinia';
|
|
562
615
|
import { useMainStore } from '@/store/index';
|
|
@@ -566,12 +619,17 @@ import {
|
|
|
566
619
|
Tooltip,
|
|
567
620
|
TreeControls,
|
|
568
621
|
getFlatmapFilterOptions,
|
|
622
|
+
collectHelpModeSteps,
|
|
623
|
+
helpModeDirective,
|
|
569
624
|
} from '@abi-software/map-utilities';
|
|
570
625
|
import '@abi-software/map-utilities/dist/style.css';
|
|
571
626
|
import EventBus from './EventBus.js';
|
|
572
627
|
import FlatmapError from './FlatmapError.vue';
|
|
573
628
|
|
|
574
629
|
const ERROR_MESSAGE = 'cannot be found on the map.';
|
|
630
|
+
// The drawer opened for the help is closed after this delay, so it stays open between
|
|
631
|
+
// the help of its items, e.g. the legends then the dataset markers
|
|
632
|
+
const HELP_MODE_DRAWER_RESTORE_DELAY = 500;
|
|
575
633
|
|
|
576
634
|
const centroid = (geometry) => {
|
|
577
635
|
let featureGeometry = { lng: 0, lat: 0 };
|
|
@@ -639,6 +697,9 @@ export default {
|
|
|
639
697
|
DrawToolbar,
|
|
640
698
|
FlatmapError,
|
|
641
699
|
},
|
|
700
|
+
directives: {
|
|
701
|
+
helpMode: helpModeDirective,
|
|
702
|
+
},
|
|
642
703
|
beforeCreate: function () {
|
|
643
704
|
//The state watcher may triggered before
|
|
644
705
|
//created causing issue, This flag will
|
|
@@ -2326,133 +2387,45 @@ export default {
|
|
|
2326
2387
|
},
|
|
2327
2388
|
/**
|
|
2328
2389
|
* @public
|
|
2329
|
-
* Function to
|
|
2330
|
-
*
|
|
2331
|
-
* @
|
|
2390
|
+
* Function to get the help mode steps of this flatmap, from the elements with ``v-help-mode``,
|
|
2391
|
+
* to be used with ``HelpModeTour`` and ``HelpModeHover`` from ``@abi-software/map-utilities``.
|
|
2392
|
+
* @returns {Array} The list of help steps.
|
|
2332
2393
|
*/
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
const lastIndex = toolTipsLength - 1;
|
|
2336
|
-
const activePopoverObj = this.hoverVisibilities[this.helpModeActiveIndex];
|
|
2337
|
-
|
|
2338
|
-
if (activePopoverObj) {
|
|
2339
|
-
const popoverRefsId = activePopoverObj?.refs;
|
|
2340
|
-
const popoverRefId = activePopoverObj?.ref;
|
|
2341
|
-
const popoverRef = this.$refs[popoverRefsId ? popoverRefsId : popoverRefId];
|
|
2342
|
-
|
|
2343
|
-
if (popoverRef) {
|
|
2344
|
-
// Open pathway drawer if the tooltip is inside or beside
|
|
2345
|
-
const { parentElement, nextElementSibling } = popoverRef.$el;
|
|
2346
|
-
const isPathwayContainer = (element) => {
|
|
2347
|
-
return (
|
|
2348
|
-
element &&
|
|
2349
|
-
(element.classList.contains('pathway-container') ||
|
|
2350
|
-
element.classList.contains('pathway-location'))
|
|
2351
|
-
);
|
|
2352
|
-
};
|
|
2353
|
-
|
|
2354
|
-
if (isPathwayContainer(parentElement) || isPathwayContainer(nextElementSibling)) {
|
|
2355
|
-
if (this.requiresDrawer) {
|
|
2356
|
-
this.drawerOpen = true;
|
|
2357
|
-
} else {
|
|
2358
|
-
this.helpModeActiveIndex += 1;
|
|
2359
|
-
}
|
|
2360
|
-
}
|
|
2361
|
-
} else {
|
|
2362
|
-
// skip the unavailable tooltips
|
|
2363
|
-
this.helpModeActiveIndex += 1;
|
|
2364
|
-
this.setHelpMode(helpMode);
|
|
2365
|
-
}
|
|
2366
|
-
}
|
|
2367
|
-
|
|
2368
|
-
// Skip checkbox tooltip if pathway filter is not shown
|
|
2369
|
-
const activePopoverObjAfter = this.hoverVisibilities[this.helpModeActiveIndex];
|
|
2370
|
-
if (activePopoverObjAfter?.ref === 'checkBoxPopover' && !this.showPathwayFilter) {
|
|
2371
|
-
this.helpModeActiveIndex += 1;
|
|
2372
|
-
this.setHelpMode(helpMode);
|
|
2373
|
-
}
|
|
2374
|
-
|
|
2375
|
-
if (!helpMode) {
|
|
2376
|
-
// reset to iniital state
|
|
2377
|
-
this.helpModeActiveIndex = this.helpModeInitialIndex;
|
|
2378
|
-
}
|
|
2379
|
-
|
|
2380
|
-
if (this.viewingMode !== 'Annotation' && this.helpModeActiveIndex > 9) {
|
|
2381
|
-
this.helpModeActiveIndex = lastIndex;
|
|
2382
|
-
}
|
|
2383
|
-
|
|
2384
|
-
if (helpMode && this.helpModeActiveIndex >= lastIndex) {
|
|
2385
|
-
/**
|
|
2386
|
-
* This event is emitted when the tooltips in help mode reach the last item.
|
|
2387
|
-
*/
|
|
2388
|
-
this.$emit('help-mode-last-item', true);
|
|
2389
|
-
}
|
|
2390
|
-
|
|
2391
|
-
if (helpMode && !this.helpModeDialog) {
|
|
2392
|
-
this.inHelp = true;
|
|
2393
|
-
this.hoverVisibilities.forEach((item) => {
|
|
2394
|
-
item.value = true;
|
|
2395
|
-
});
|
|
2396
|
-
} else if (helpMode && this.helpModeDialog && toolTipsLength > this.helpModeActiveIndex) {
|
|
2397
|
-
// Show the map tooltip as first item
|
|
2398
|
-
if (this.helpModeActiveIndex > -1) {
|
|
2399
|
-
this.closeFlatmapHelpPopup();
|
|
2400
|
-
|
|
2401
|
-
// wait for CSS transition
|
|
2402
|
-
setTimeout(() => {
|
|
2403
|
-
this.inHelp = false;
|
|
2404
|
-
this.hoverVisibilities.forEach((item) => {
|
|
2405
|
-
item.value = false;
|
|
2406
|
-
});
|
|
2407
|
-
|
|
2408
|
-
this.showTooltip(this.helpModeActiveIndex, 200);
|
|
2409
|
-
}, 300);
|
|
2410
|
-
} else if (this.helpModeActiveIndex === -1) {
|
|
2411
|
-
this.openFlatmapHelpPopup();
|
|
2412
|
-
}
|
|
2413
|
-
} else {
|
|
2414
|
-
this.inHelp = false;
|
|
2415
|
-
this.hoverVisibilities.forEach((item) => {
|
|
2416
|
-
item.value = false;
|
|
2417
|
-
});
|
|
2418
|
-
this.closeFlatmapHelpPopup();
|
|
2419
|
-
}
|
|
2394
|
+
getHelpModeSteps: function () {
|
|
2395
|
+
return collectHelpModeSteps(this.$el);
|
|
2420
2396
|
},
|
|
2421
2397
|
/**
|
|
2422
|
-
*
|
|
2423
|
-
* Function to show tooltip
|
|
2424
|
-
* by providing ``tooltipNumber``.
|
|
2425
|
-
* @arg {Number} `tooltipNumber`
|
|
2426
|
-
* @arg {Number} `timeout` _(default: `500`)_
|
|
2398
|
+
* Open the pathway drawer to show the help of the items inside it.
|
|
2427
2399
|
*/
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
* This event is emitted after a tooltip in Flatmap is shown.
|
|
2435
|
-
*/
|
|
2436
|
-
this.$emit('shown-tooltip');
|
|
2437
|
-
}, timeout);
|
|
2438
|
-
}
|
|
2400
|
+
openHelpModeDrawer: function () {
|
|
2401
|
+
clearTimeout(this.helpModeDrawerTimeout);
|
|
2402
|
+
if (!this.requiresDrawer) return;
|
|
2403
|
+
// Remember to close it again if the user had closed it
|
|
2404
|
+
if (!this.drawerOpen) this.helpModeDrawerOpened = true;
|
|
2405
|
+
this.drawerOpen = true;
|
|
2439
2406
|
},
|
|
2440
|
-
|
|
2441
2407
|
/**
|
|
2442
|
-
*
|
|
2443
|
-
* Function to hide tooltip
|
|
2444
|
-
* by providing ``tooltipNumber``.
|
|
2445
|
-
* @arg {Number} `tooltipNumber`
|
|
2446
|
-
* @arg {Number} `timeout` _(default: `500`)_
|
|
2408
|
+
* Close the drawer again if it was opened for the help, see `openHelpModeDrawer`.
|
|
2447
2409
|
*/
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
this.
|
|
2452
|
-
|
|
2453
|
-
|
|
2410
|
+
restoreHelpModeDrawer: function () {
|
|
2411
|
+
clearTimeout(this.helpModeDrawerTimeout);
|
|
2412
|
+
this.helpModeDrawerTimeout = setTimeout(() => {
|
|
2413
|
+
if (this.helpModeDrawerOpened) this.drawerOpen = false;
|
|
2414
|
+
this.helpModeDrawerOpened = false;
|
|
2415
|
+
}, HELP_MODE_DRAWER_RESTORE_DELAY);
|
|
2416
|
+
},
|
|
2417
|
+
/**
|
|
2418
|
+
* Show the dataset marker in the drawer, which is otherwise only shown on hover.
|
|
2419
|
+
*/
|
|
2420
|
+
setHelpModeMarker: function (visible) {
|
|
2421
|
+
if (visible) {
|
|
2422
|
+
this.openHelpModeDrawer();
|
|
2423
|
+
} else {
|
|
2424
|
+
this.restoreHelpModeDrawer();
|
|
2454
2425
|
}
|
|
2426
|
+
this.helpModeMarkerVisible = visible;
|
|
2455
2427
|
},
|
|
2428
|
+
|
|
2456
2429
|
/**
|
|
2457
2430
|
* @public
|
|
2458
2431
|
* Function to display tooltip
|
|
@@ -2560,10 +2533,6 @@ export default {
|
|
|
2560
2533
|
anchor: 'top',
|
|
2561
2534
|
className: 'flatmap-popup-popper',
|
|
2562
2535
|
});
|
|
2563
|
-
/**
|
|
2564
|
-
* This event is emitted after a tooltip on Flatmap's map is shown.
|
|
2565
|
-
*/
|
|
2566
|
-
this.$emit('shown-map-tooltip');
|
|
2567
2536
|
}
|
|
2568
2537
|
}
|
|
2569
2538
|
},
|
|
@@ -2572,9 +2541,12 @@ export default {
|
|
|
2572
2541
|
* Function to close Flatmap Help Popup.
|
|
2573
2542
|
*/
|
|
2574
2543
|
closeFlatmapHelpPopup: function () {
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2544
|
+
// Only the help popup, not a popup the user opened
|
|
2545
|
+
this.$el
|
|
2546
|
+
.querySelectorAll('.flatmap-popup-popper .maplibregl-popup-close-button')
|
|
2547
|
+
.forEach((item) => {
|
|
2548
|
+
item.click();
|
|
2549
|
+
});
|
|
2578
2550
|
},
|
|
2579
2551
|
/**
|
|
2580
2552
|
* @public
|
|
@@ -2786,7 +2758,7 @@ export default {
|
|
|
2786
2758
|
});
|
|
2787
2759
|
promise1
|
|
2788
2760
|
.then((returnedObject) => {
|
|
2789
|
-
this.mapImp = returnedObject;
|
|
2761
|
+
this.mapImp = attachSomaLocationMarkerMethods(returnedObject);
|
|
2790
2762
|
this.serverURL = this.mapImp.makeServerUrl('').slice(0, -1);
|
|
2791
2763
|
let mapVersion = this.mapImp.details.version;
|
|
2792
2764
|
this.setFlightPathInfo(mapVersion);
|
|
@@ -3216,44 +3188,6 @@ export default {
|
|
|
3216
3188
|
type: Boolean,
|
|
3217
3189
|
default: true,
|
|
3218
3190
|
},
|
|
3219
|
-
/**
|
|
3220
|
-
* The option to show tooltips for help mode.
|
|
3221
|
-
*/
|
|
3222
|
-
helpMode: {
|
|
3223
|
-
type: Boolean,
|
|
3224
|
-
default: false,
|
|
3225
|
-
},
|
|
3226
|
-
/**
|
|
3227
|
-
* The active item index of help mode.
|
|
3228
|
-
*/
|
|
3229
|
-
helpModeActiveItem: {
|
|
3230
|
-
type: Number,
|
|
3231
|
-
default: 0,
|
|
3232
|
-
},
|
|
3233
|
-
/**
|
|
3234
|
-
* The option to use helpModeDialog.
|
|
3235
|
-
* On default, `false`, clicking help will show all tooltips.
|
|
3236
|
-
* If `true`, clicking help will show the help-mode-dialog.
|
|
3237
|
-
*/
|
|
3238
|
-
helpModeDialog: {
|
|
3239
|
-
type: Boolean,
|
|
3240
|
-
default: false,
|
|
3241
|
-
},
|
|
3242
|
-
/**
|
|
3243
|
-
* The last item of help mode.
|
|
3244
|
-
*/
|
|
3245
|
-
helpModeLastItem: {
|
|
3246
|
-
type: Boolean,
|
|
3247
|
-
default: false,
|
|
3248
|
-
},
|
|
3249
|
-
/**
|
|
3250
|
-
* The initial index number for help mode tooltips.
|
|
3251
|
-
* Set negative (e.g. -2) if there are other tooltips outside of `hoverVisibilities`.
|
|
3252
|
-
*/
|
|
3253
|
-
helpModeInitialIndex: {
|
|
3254
|
-
type: Number,
|
|
3255
|
-
default: 0,
|
|
3256
|
-
},
|
|
3257
3191
|
/**
|
|
3258
3192
|
* This flag dictate whether a context will be allocatged
|
|
3259
3193
|
* for this instance
|
|
@@ -3435,6 +3369,9 @@ export default {
|
|
|
3435
3369
|
flatmapAPI: this.flatmapAPI,
|
|
3436
3370
|
sparcAPI: this.sparcAPI,
|
|
3437
3371
|
userApiKey: this.userToken,
|
|
3372
|
+
// For the help of the items in the pathway drawer, e.g. in the legends
|
|
3373
|
+
openHelpModeDrawer: this.openHelpModeDrawer,
|
|
3374
|
+
restoreHelpModeDrawer: this.restoreHelpModeDrawer,
|
|
3438
3375
|
};
|
|
3439
3376
|
},
|
|
3440
3377
|
data: function () {
|
|
@@ -3462,29 +3399,11 @@ export default {
|
|
|
3462
3399
|
systems: [],
|
|
3463
3400
|
taxonConnectivity: [],
|
|
3464
3401
|
pathwaysMaxHeight: 1000,
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
{ value: false, ref: 'zoomInPopover' }, // 1
|
|
3469
|
-
{ value: false, ref: 'zoomOutPopover' }, // 2
|
|
3470
|
-
{ value: false, ref: 'zoomFitPopover' }, // 3
|
|
3471
|
-
{ value: false, ref: 'openMapPopover' }, // 4
|
|
3472
|
-
{ value: false, ref: 'settingsPopover' }, // 5
|
|
3473
|
-
{ value: false, ref: 'checkBoxPopover' }, // 6
|
|
3474
|
-
{ value: false, ref: 'warningPopover' }, // 7
|
|
3475
|
-
{ value: false, ref: 'whatsNewPopover' }, // 8
|
|
3476
|
-
{ value: false, ref: 'featuredMarkerPopover' }, // 9
|
|
3477
|
-
{ value: false, refs: 'toolbarPopover', ref: 'editPopover' }, // 10
|
|
3478
|
-
{ value: false, refs: 'toolbarPopover', ref: 'deletePopover' }, // 11
|
|
3479
|
-
{ value: false, refs: 'toolbarPopover', ref: 'pointPopover' }, // 12
|
|
3480
|
-
{ value: false, refs: 'toolbarPopover', ref: 'lineStringPopover' }, // 13
|
|
3481
|
-
{ value: false, refs: 'toolbarPopover', ref: 'polygonPopover' }, // 14
|
|
3482
|
-
{ value: false, refs: 'toolbarPopover', ref: 'connectionPopover' }, // 15
|
|
3483
|
-
],
|
|
3484
|
-
helpModeActiveIndex: this.helpModeInitialIndex,
|
|
3402
|
+
// Delay before showing and hiding the control tooltips
|
|
3403
|
+
tooltipDelay: 500,
|
|
3404
|
+
helpModeMarkerVisible: false,
|
|
3485
3405
|
yellowstar: yellowstar,
|
|
3486
3406
|
isFC: false,
|
|
3487
|
-
inHelp: false,
|
|
3488
3407
|
currentBackground: 'white',
|
|
3489
3408
|
availableBackground: ['white', 'lightskyblue', 'black'],
|
|
3490
3409
|
loading: false,
|
|
@@ -3557,6 +3476,15 @@ export default {
|
|
|
3557
3476
|
};
|
|
3558
3477
|
},
|
|
3559
3478
|
computed: {
|
|
3479
|
+
warningHelpDescription: function () {
|
|
3480
|
+
if (this.isLegacy) {
|
|
3481
|
+
return 'This is a legacy map. Click the link below the icon to view the latest map instead.';
|
|
3482
|
+
}
|
|
3483
|
+
if (this.isFC) {
|
|
3484
|
+
return 'This map displays the connectivity of individual neurons which align with the neuron populations from the ApiNATOMY models available in SCKAN.';
|
|
3485
|
+
}
|
|
3486
|
+
return 'This map displays the connectivity of neuron populations from the primarily rat-based ApiNATOMY models available in SCKAN. New connectivity and species specificity will be added as the SPARC program progresses.';
|
|
3487
|
+
},
|
|
3560
3488
|
...mapState(useMainStore, ['userToken']),
|
|
3561
3489
|
isValidDrawnCreated: function () {
|
|
3562
3490
|
return Object.keys(this.drawnCreatedEvent).length > 0;
|
|
@@ -3586,9 +3514,6 @@ export default {
|
|
|
3586
3514
|
legendEntry: function () {
|
|
3587
3515
|
return [...this.flatmapLegends, ...this.externalLegends];
|
|
3588
3516
|
},
|
|
3589
|
-
showDatasetMarkerTooltip: function () {
|
|
3590
|
-
return this.hoverVisibilities[9].value;
|
|
3591
|
-
},
|
|
3592
3517
|
},
|
|
3593
3518
|
watch: {
|
|
3594
3519
|
entry: function () {
|
|
@@ -3600,19 +3525,6 @@ export default {
|
|
|
3600
3525
|
},
|
|
3601
3526
|
immediate: true,
|
|
3602
3527
|
},
|
|
3603
|
-
helpMode: function (newVal, oldVal) {
|
|
3604
|
-
if (newVal !== oldVal) {
|
|
3605
|
-
this.setHelpMode(newVal);
|
|
3606
|
-
}
|
|
3607
|
-
},
|
|
3608
|
-
helpModeActiveItem: function () {
|
|
3609
|
-
// just take the action from helpModeActiveItem
|
|
3610
|
-
// work with local value since the indexing is different
|
|
3611
|
-
if (this.helpMode) {
|
|
3612
|
-
this.helpModeActiveIndex += 1;
|
|
3613
|
-
this.setHelpMode(this.helpMode);
|
|
3614
|
-
}
|
|
3615
|
-
},
|
|
3616
3528
|
render: function (val) {
|
|
3617
3529
|
if (val) {
|
|
3618
3530
|
if (this.mapImp && this.mapImp.contextLost && !this.loading) {
|
|
@@ -3716,7 +3628,6 @@ export default {
|
|
|
3716
3628
|
mounted: function () {
|
|
3717
3629
|
this.openMapRef = shallowRef(this.$refs.openMapRef);
|
|
3718
3630
|
this.backgroundIconRef = shallowRef(this.$refs.backgroundIconRef);
|
|
3719
|
-
this.tooltipWait.length = this.hoverVisibilities.length;
|
|
3720
3631
|
this.flatmapQueries = markRaw(new FlatmapQueries());
|
|
3721
3632
|
this.flatmapQueries.initialise(this.flatmapAPI);
|
|
3722
3633
|
if (this.state) {
|
|
@@ -3873,10 +3784,12 @@ export default {
|
|
|
3873
3784
|
width: auto;
|
|
3874
3785
|
}
|
|
3875
3786
|
|
|
3787
|
+
// Lined up with the legend items, the icon is wider than the 20px legend icons
|
|
3876
3788
|
.flatmap-marker-help {
|
|
3877
|
-
display:
|
|
3789
|
+
display: flex;
|
|
3790
|
+
align-items: center;
|
|
3878
3791
|
width: max-content;
|
|
3879
|
-
margin:
|
|
3792
|
+
margin: 8px 8.5px;
|
|
3880
3793
|
|
|
3881
3794
|
:deep(.flatmap-marker svg) {
|
|
3882
3795
|
display: block;
|
|
@@ -3885,6 +3798,12 @@ export default {
|
|
|
3885
3798
|
}
|
|
3886
3799
|
}
|
|
3887
3800
|
|
|
3801
|
+
.flatmap-marker-help-label {
|
|
3802
|
+
margin-left: 10px;
|
|
3803
|
+
font-size: 12px;
|
|
3804
|
+
color: rgb(48, 49, 51);
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3888
3807
|
.el-dropdown-link {
|
|
3889
3808
|
cursor: pointer;
|
|
3890
3809
|
color: #409eff;
|
|
@@ -4306,12 +4225,6 @@ export default {
|
|
|
4306
4225
|
}
|
|
4307
4226
|
}
|
|
4308
4227
|
|
|
4309
|
-
:deep(.flatmap-popper.flatmap-marker-popper) {
|
|
4310
|
-
white-space: break-spaces;
|
|
4311
|
-
word-wrap: break-word;
|
|
4312
|
-
word-break: break-word;
|
|
4313
|
-
}
|
|
4314
|
-
|
|
4315
4228
|
:deep(.el-loading-spinner) {
|
|
4316
4229
|
.path {
|
|
4317
4230
|
stroke: $app-primary-color;
|