@abi-software/flatmapvuer 0.2.3-beta-features-0 → 0.2.3-beta-features-4
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.common.js +238 -287
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +238 -287
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/{src/styles/purple/fonts/element-icons.woff → dist/fonts/element-icons.535877f5.woff} +0 -0
- package/{src/styles/purple/fonts/element-icons.ttf → dist/fonts/element-icons.732389de.ttf} +0 -0
- package/package-lock.json +941 -29
- package/package.json +3 -1
- package/src/App.vue +8 -5
- package/src/assets/_variables.scss +43 -0
- package/src/assets/styles.scss +7 -0
- package/src/components/FlatmapVuer.vue +656 -525
- package/src/components/MultiFlatmapVuer.vue +75 -64
- package/src/components/PubmedViewer.vue +23 -28
- package/src/components/Tooltip.vue +60 -67
- package/vue.config.js +8 -0
- package/src/styles/purple/alert.css +0 -1
- package/src/styles/purple/aside.css +0 -1
- package/src/styles/purple/autocomplete.css +0 -1
- package/src/styles/purple/avatar.css +0 -1
- package/src/styles/purple/backtop.css +0 -1
- package/src/styles/purple/badge.css +0 -1
- package/src/styles/purple/base.css +0 -1
- package/src/styles/purple/breadcrumb-item.css +0 -0
- package/src/styles/purple/breadcrumb.css +0 -1
- package/src/styles/purple/button-group.css +0 -0
- package/src/styles/purple/button.css +0 -1
- package/src/styles/purple/calendar.css +0 -1
- package/src/styles/purple/card.css +0 -1
- package/src/styles/purple/carousel-item.css +0 -1
- package/src/styles/purple/carousel.css +0 -1
- package/src/styles/purple/cascader-panel.css +0 -1
- package/src/styles/purple/cascader.css +0 -1
- package/src/styles/purple/checkbox-button.css +0 -0
- package/src/styles/purple/checkbox-group.css +0 -0
- package/src/styles/purple/checkbox.css +0 -1
- package/src/styles/purple/col.css +0 -1
- package/src/styles/purple/collapse-item.css +0 -0
- package/src/styles/purple/collapse.css +0 -1
- package/src/styles/purple/color-picker.css +0 -1
- package/src/styles/purple/container.css +0 -1
- package/src/styles/purple/date-picker.css +0 -1
- package/src/styles/purple/dialog.css +0 -1
- package/src/styles/purple/display.css +0 -1
- package/src/styles/purple/divider.css +0 -1
- package/src/styles/purple/drawer.css +0 -1
- package/src/styles/purple/dropdown-item.css +0 -0
- package/src/styles/purple/dropdown-menu.css +0 -0
- package/src/styles/purple/dropdown.css +0 -1
- package/src/styles/purple/footer.css +0 -1
- package/src/styles/purple/form-item.css +0 -0
- package/src/styles/purple/form.css +0 -1
- package/src/styles/purple/header.css +0 -1
- package/src/styles/purple/icon.css +0 -1
- package/src/styles/purple/image.css +0 -1
- package/src/styles/purple/index.css +0 -1
- package/src/styles/purple/infinite-scroll.css +0 -0
- package/src/styles/purple/infiniteScroll.css +0 -0
- package/src/styles/purple/input-number.css +0 -1
- package/src/styles/purple/input.css +0 -1
- package/src/styles/purple/link.css +0 -1
- package/src/styles/purple/loading.css +0 -1
- package/src/styles/purple/main.css +0 -1
- package/src/styles/purple/menu-item-group.css +0 -0
- package/src/styles/purple/menu-item.css +0 -0
- package/src/styles/purple/menu.css +0 -1
- package/src/styles/purple/message-box.css +0 -1
- package/src/styles/purple/message.css +0 -1
- package/src/styles/purple/notification.css +0 -1
- package/src/styles/purple/option-group.css +0 -1
- package/src/styles/purple/option.css +0 -1
- package/src/styles/purple/page-header.css +0 -1
- package/src/styles/purple/pagination.css +0 -1
- package/src/styles/purple/popconfirm.css +0 -1
- package/src/styles/purple/popover.css +0 -1
- package/src/styles/purple/popper.css +0 -1
- package/src/styles/purple/progress.css +0 -1
- package/src/styles/purple/radio-button.css +0 -1
- package/src/styles/purple/radio-group.css +0 -1
- package/src/styles/purple/radio.css +0 -1
- package/src/styles/purple/rate.css +0 -1
- package/src/styles/purple/reset.css +0 -1
- package/src/styles/purple/row.css +0 -1
- package/src/styles/purple/scrollbar.css +0 -1
- package/src/styles/purple/select-dropdown.css +0 -1
- package/src/styles/purple/select.css +0 -1
- package/src/styles/purple/slider.css +0 -1
- package/src/styles/purple/spinner.css +0 -1
- package/src/styles/purple/step.css +0 -1
- package/src/styles/purple/steps.css +0 -1
- package/src/styles/purple/submenu.css +0 -0
- package/src/styles/purple/switch.css +0 -1
- package/src/styles/purple/tab-pane.css +0 -0
- package/src/styles/purple/table-column.css +0 -1
- package/src/styles/purple/table.css +0 -1
- package/src/styles/purple/tabs.css +0 -1
- package/src/styles/purple/tag.css +0 -1
- package/src/styles/purple/time-picker.css +0 -1
- package/src/styles/purple/time-select.css +0 -1
- package/src/styles/purple/timeline-item.css +0 -1
- package/src/styles/purple/timeline.css +0 -1
- package/src/styles/purple/tooltip.css +0 -1
- package/src/styles/purple/transfer.css +0 -1
- package/src/styles/purple/tree.css +0 -1
- package/src/styles/purple/upload.css +0 -1
|
@@ -1,59 +1,135 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
<div
|
|
3
|
+
class="flatmap-container"
|
|
4
|
+
v-loading="loading"
|
|
5
|
+
element-loading-text="Loading..."
|
|
6
|
+
element-loading-spinner="el-icon-loading"
|
|
7
|
+
element-loading-background="rgba(0, 0, 0, 0.3)"
|
|
8
|
+
>
|
|
9
|
+
<SvgSpriteColor />
|
|
8
10
|
<div style="height:100%;width:100%;position:relative;overflow-y:none">
|
|
9
11
|
<div style="height:100%;width:100%;" ref="display"></div>
|
|
10
|
-
<el-popover
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
<el-popover
|
|
13
|
+
:content="warningMessage"
|
|
14
|
+
placement="right"
|
|
15
|
+
v-if="displayWarning"
|
|
16
|
+
:appendToBody="false"
|
|
17
|
+
trigger="manual"
|
|
18
|
+
popper-class="warning-popper flatmap-popper right-popper"
|
|
19
|
+
v-model="hoverVisibilities[6].value"
|
|
20
|
+
ref="warningPopover"
|
|
21
|
+
></el-popover>
|
|
22
|
+
<i
|
|
23
|
+
class="el-icon-warning warning-icon"
|
|
24
|
+
v-if="displayWarning"
|
|
25
|
+
@mouseover="showToolitip(6)"
|
|
26
|
+
@mouseout="hideToolitip(6)"
|
|
27
|
+
v-popover:warningPopover
|
|
28
|
+
>
|
|
17
29
|
<span class="warning-text">Beta</span>
|
|
18
30
|
</i>
|
|
19
31
|
<div class="bottom-right-control">
|
|
20
|
-
<el-popover
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
32
|
+
<el-popover
|
|
33
|
+
content="Zoom in"
|
|
34
|
+
placement="left"
|
|
35
|
+
:appendToBody="false"
|
|
36
|
+
trigger="manual"
|
|
37
|
+
popper-class="flatmap-popper left-popper"
|
|
38
|
+
v-model="hoverVisibilities[0].value"
|
|
39
|
+
>
|
|
40
|
+
<SvgIcon
|
|
41
|
+
icon="zoomIn"
|
|
42
|
+
class="icon-button zoomIn"
|
|
43
|
+
slot="reference"
|
|
44
|
+
@click.native="zoomIn()"
|
|
45
|
+
@mouseover.native="showToolitip(0)"
|
|
46
|
+
@mouseout.native="hideToolitip(0)"
|
|
47
|
+
/>
|
|
24
48
|
</el-popover>
|
|
25
|
-
<el-popover
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
49
|
+
<el-popover
|
|
50
|
+
content="Zoom out"
|
|
51
|
+
placement="top-end"
|
|
52
|
+
:appendToBody="false"
|
|
53
|
+
trigger="manual"
|
|
54
|
+
popper-class="flatmap-popper popper-zoomout"
|
|
55
|
+
v-model="hoverVisibilities[1].value"
|
|
56
|
+
>
|
|
57
|
+
<SvgIcon
|
|
58
|
+
icon="zoomOut"
|
|
59
|
+
class="icon-button zoomOut"
|
|
60
|
+
slot="reference"
|
|
61
|
+
@click.native="zoomOut()"
|
|
62
|
+
@mouseover.native="showToolitip(1)"
|
|
63
|
+
@mouseout.native="hideToolitip(1)"
|
|
64
|
+
/>
|
|
29
65
|
</el-popover>
|
|
30
|
-
<el-popover
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
66
|
+
<el-popover
|
|
67
|
+
content="Reset"
|
|
68
|
+
placement="top"
|
|
69
|
+
:appendToBody="false"
|
|
70
|
+
trigger="manual"
|
|
71
|
+
popper-class="flatmap-popper"
|
|
72
|
+
v-model="hoverVisibilities[2].value"
|
|
73
|
+
>
|
|
74
|
+
<SvgIcon
|
|
75
|
+
icon="resetZoom"
|
|
76
|
+
class="icon-button resetView"
|
|
77
|
+
slot="reference"
|
|
78
|
+
@click.native="resetView()"
|
|
79
|
+
@mouseover.native="showToolitip(2)"
|
|
80
|
+
@mouseout.native="hideToolitip(2)"
|
|
81
|
+
/>
|
|
34
82
|
</el-popover>
|
|
35
83
|
</div>
|
|
36
|
-
<el-popover
|
|
37
|
-
|
|
84
|
+
<el-popover
|
|
85
|
+
content="Change pathway visibility"
|
|
86
|
+
placement="right"
|
|
87
|
+
:appendToBody="false"
|
|
88
|
+
trigger="manual"
|
|
89
|
+
popper-class="flatmap-popper right-popper"
|
|
90
|
+
v-model="hoverVisibilities[4].value"
|
|
91
|
+
ref="checkBoxPopover"
|
|
92
|
+
/>
|
|
38
93
|
<div class="pathway-location" :class="{ open: drawerOpen, close: !drawerOpen }">
|
|
39
|
-
<div
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
<
|
|
94
|
+
<div
|
|
95
|
+
class="pathway-container"
|
|
96
|
+
v-if="pathways.length > 0 && pathControls"
|
|
97
|
+
v-popover:checkBoxPopover
|
|
98
|
+
>
|
|
99
|
+
<el-popover
|
|
100
|
+
content="Find these markers for data"
|
|
101
|
+
placement="right"
|
|
102
|
+
:appendToBody="false"
|
|
103
|
+
trigger="manual"
|
|
104
|
+
popper-class="flatmap-popper popper-bump-right right-popper"
|
|
105
|
+
v-model="hoverVisibilities[5].value"
|
|
106
|
+
ref="markerPopover"
|
|
107
|
+
></el-popover>
|
|
108
|
+
<div
|
|
109
|
+
v-show="hoverVisibilities[5].value"
|
|
110
|
+
class="flatmap-marker-help"
|
|
111
|
+
v-html="flatmapMarker"
|
|
112
|
+
v-popover:markerPopover
|
|
113
|
+
></div>
|
|
45
114
|
<el-row>
|
|
46
115
|
<el-col :span="12">
|
|
47
|
-
<div class="pathways-display-text">
|
|
48
|
-
Pathways
|
|
49
|
-
</div>
|
|
116
|
+
<div class="pathways-display-text">Pathways</div>
|
|
50
117
|
</el-col>
|
|
51
118
|
<el-col :span="12">
|
|
52
|
-
<el-checkbox
|
|
119
|
+
<el-checkbox
|
|
120
|
+
class="all-checkbox"
|
|
121
|
+
:indeterminate="isIndeterminate"
|
|
122
|
+
v-model="checkAll"
|
|
123
|
+
@change="handleCheckAllChange"
|
|
124
|
+
>Display all</el-checkbox>
|
|
53
125
|
</el-col>
|
|
54
126
|
</el-row>
|
|
55
|
-
<el-checkbox-group
|
|
56
|
-
|
|
127
|
+
<el-checkbox-group
|
|
128
|
+
v-model="checkedItems"
|
|
129
|
+
size="small"
|
|
130
|
+
class="checkbox-group"
|
|
131
|
+
@change="handleCheckedItemsChange"
|
|
132
|
+
>
|
|
57
133
|
<div class="checkbox-group-inner">
|
|
58
134
|
<el-row v-for="item in pathways" :key="item.type" :label="item.type">
|
|
59
135
|
<div class="checkbox-container">
|
|
@@ -62,13 +138,20 @@
|
|
|
62
138
|
:label="item.type"
|
|
63
139
|
@change="visibilityToggle()"
|
|
64
140
|
:checked="true"
|
|
65
|
-
|
|
141
|
+
>
|
|
142
|
+
<div class="path-visual" :class="item.type"></div>
|
|
143
|
+
{{item.label}}
|
|
144
|
+
</el-checkbox>
|
|
66
145
|
</div>
|
|
67
146
|
</el-row>
|
|
68
147
|
</div>
|
|
69
148
|
</el-checkbox-group>
|
|
70
149
|
</div>
|
|
71
|
-
<div
|
|
150
|
+
<div
|
|
151
|
+
@click="toggleDrawer"
|
|
152
|
+
class="drawer-button"
|
|
153
|
+
:class="{ open: drawerOpen, close: !drawerOpen }"
|
|
154
|
+
>
|
|
72
155
|
<i class="el-icon-arrow-left"></i>
|
|
73
156
|
</div>
|
|
74
157
|
</div>
|
|
@@ -76,49 +159,60 @@
|
|
|
76
159
|
ref="backgroundPopover"
|
|
77
160
|
placement="top-start"
|
|
78
161
|
width="175"
|
|
79
|
-
:appendToBody=false
|
|
162
|
+
:appendToBody="false"
|
|
80
163
|
trigger="click"
|
|
81
|
-
popper-class="background-popper"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
<el-radio-group v-model="colourRadio" class="flatmap-radio"
|
|
87
|
-
@change="setColour">
|
|
164
|
+
popper-class="background-popper"
|
|
165
|
+
>
|
|
166
|
+
<el-row class="backgroundText">Organs display</el-row>
|
|
167
|
+
<el-row class="backgroundControl">
|
|
168
|
+
<el-radio-group v-model="colourRadio" class="flatmap-radio" @change="setColour">
|
|
88
169
|
<el-radio :label="true">Colour</el-radio>
|
|
89
170
|
<el-radio :label="false">Greyscale</el-radio>
|
|
90
171
|
</el-radio-group>
|
|
91
172
|
</el-row>
|
|
92
|
-
<el-row class="backgroundSpacer">
|
|
93
|
-
</el-row>
|
|
94
|
-
<el-row class="
|
|
95
|
-
|
|
96
|
-
</el-row>
|
|
97
|
-
<el-row class="backgroundControl" >
|
|
98
|
-
<el-radio-group v-model="outlinesRadio" class="flatmap-radio"
|
|
99
|
-
@change="setOutlines">
|
|
173
|
+
<el-row class="backgroundSpacer"></el-row>
|
|
174
|
+
<el-row class="backgroundText">Outlines display</el-row>
|
|
175
|
+
<el-row class="backgroundControl">
|
|
176
|
+
<el-radio-group v-model="outlinesRadio" class="flatmap-radio" @change="setOutlines">
|
|
100
177
|
<el-radio :label="true">Show</el-radio>
|
|
101
178
|
<el-radio :label="false">Hide</el-radio>
|
|
102
179
|
</el-radio-group>
|
|
103
180
|
</el-row>
|
|
104
|
-
<el-row class="backgroundSpacer">
|
|
105
|
-
</el-row>
|
|
106
|
-
<el-row class="
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
181
|
+
<el-row class="backgroundSpacer"></el-row>
|
|
182
|
+
<el-row class="backgroundText">Change background</el-row>
|
|
183
|
+
<el-row class="backgroundControl">
|
|
184
|
+
<div
|
|
185
|
+
v-for="item in availableBackground"
|
|
186
|
+
:key="item"
|
|
187
|
+
:class="['backgroundChoice', item, item == currentBackground ? 'active' :'']"
|
|
188
|
+
@click="backgroundChangeCallback(item)"
|
|
189
|
+
/>
|
|
113
190
|
</el-row>
|
|
114
191
|
</el-popover>
|
|
115
|
-
<el-popover
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
192
|
+
<el-popover
|
|
193
|
+
content="Change background color"
|
|
194
|
+
placement="right"
|
|
195
|
+
v-model="hoverVisibilities[3].value"
|
|
196
|
+
:appendToBody="false"
|
|
197
|
+
trigger="manual"
|
|
198
|
+
popper-class="flatmap-popper right-popper"
|
|
199
|
+
>
|
|
200
|
+
<SvgIcon
|
|
201
|
+
v-popover:backgroundPopover
|
|
202
|
+
icon="changeBckgd"
|
|
203
|
+
class="icon-button background-colour"
|
|
204
|
+
:class="{ open: drawerOpen, close: !drawerOpen }"
|
|
205
|
+
slot="reference"
|
|
206
|
+
@mouseover.native="showToolitip(3)"
|
|
207
|
+
@mouseout.native="hideToolitip(3)"
|
|
208
|
+
/>
|
|
120
209
|
</el-popover>
|
|
121
|
-
<Tooltip
|
|
210
|
+
<Tooltip
|
|
211
|
+
ref="tooltip"
|
|
212
|
+
class="tooltip"
|
|
213
|
+
:content="tooltipContent"
|
|
214
|
+
@resource-selected="resourceSelected"
|
|
215
|
+
/>
|
|
122
216
|
</div>
|
|
123
217
|
</div>
|
|
124
218
|
</template>
|
|
@@ -126,8 +220,8 @@
|
|
|
126
220
|
<script>
|
|
127
221
|
/* eslint-disable no-alert, no-console */
|
|
128
222
|
import Vue from "vue";
|
|
129
|
-
import Tooltip from
|
|
130
|
-
import { SvgIcon, SvgSpriteColor} from
|
|
223
|
+
import Tooltip from "./Tooltip";
|
|
224
|
+
import { SvgIcon, SvgSpriteColor } from "@abi-software/svg-sprite";
|
|
131
225
|
import {
|
|
132
226
|
Checkbox,
|
|
133
227
|
CheckboxGroup,
|
|
@@ -148,14 +242,13 @@ Vue.use(Loading.directive);
|
|
|
148
242
|
Vue.use(Radio);
|
|
149
243
|
Vue.use(RadioGroup);
|
|
150
244
|
Vue.use(Row);
|
|
151
|
-
const ResizeSensor = require(
|
|
245
|
+
const ResizeSensor = require("css-element-queries/src/ResizeSensor");
|
|
152
246
|
|
|
153
247
|
const mapResize = map => {
|
|
154
248
|
return () => {
|
|
155
|
-
if (map)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
249
|
+
if (map) map.resize();
|
|
250
|
+
};
|
|
251
|
+
};
|
|
159
252
|
|
|
160
253
|
export default {
|
|
161
254
|
name: "FlatmapVuer",
|
|
@@ -172,10 +265,10 @@ export default {
|
|
|
172
265
|
backgroundChangeCallback: function(colour) {
|
|
173
266
|
this.currentBackground = colour;
|
|
174
267
|
if (this.mapImp) {
|
|
175
|
-
this.mapImp.setBackgroundColour(this.currentBackground, 1
|
|
268
|
+
this.mapImp.setBackgroundColour(this.currentBackground, 1);
|
|
176
269
|
}
|
|
177
270
|
},
|
|
178
|
-
toggleDrawer: function
|
|
271
|
+
toggleDrawer: function() {
|
|
179
272
|
this.drawerOpen = !this.drawerOpen;
|
|
180
273
|
},
|
|
181
274
|
/**
|
|
@@ -184,7 +277,7 @@ export default {
|
|
|
184
277
|
setColour: function(flag) {
|
|
185
278
|
this.colourRadio = flag;
|
|
186
279
|
if (this.mapImp) {
|
|
187
|
-
this.mapImp.setColour({colour: flag, outline: this.outlinesRadio});
|
|
280
|
+
this.mapImp.setColour({ colour: flag, outline: this.outlinesRadio });
|
|
188
281
|
}
|
|
189
282
|
},
|
|
190
283
|
/**
|
|
@@ -193,7 +286,7 @@ export default {
|
|
|
193
286
|
setOutlines: function(flag) {
|
|
194
287
|
this.outlineRadio = flag;
|
|
195
288
|
if (this.mapImp) {
|
|
196
|
-
this.mapImp.setColour({colour: this.colourRadio, outline: flag});
|
|
289
|
+
this.mapImp.setColour({ colour: this.colourRadio, outline: flag });
|
|
197
290
|
}
|
|
198
291
|
},
|
|
199
292
|
/**
|
|
@@ -234,7 +327,8 @@ export default {
|
|
|
234
327
|
handleCheckedItemsChange: function(value) {
|
|
235
328
|
let checkedCount = value.length;
|
|
236
329
|
this.checkAll = checkedCount === this.pathways.length;
|
|
237
|
-
this.isIndeterminate =
|
|
330
|
+
this.isIndeterminate =
|
|
331
|
+
checkedCount > 0 && checkedCount < this.pathways.length;
|
|
238
332
|
},
|
|
239
333
|
handleCheckAllChange(val) {
|
|
240
334
|
this.checkedItems = val ? this.pathways.map(a => a.type) : [];
|
|
@@ -244,93 +338,114 @@ export default {
|
|
|
244
338
|
}
|
|
245
339
|
},
|
|
246
340
|
eventCallback: function() {
|
|
247
|
-
|
|
248
341
|
return (eventType, feature, ...args) => {
|
|
249
342
|
const label = feature.label;
|
|
250
|
-
const resource = [
|
|
343
|
+
const resource = [feature.models];
|
|
251
344
|
const taxonomy = this.entry;
|
|
252
|
-
const data = {
|
|
253
|
-
|
|
345
|
+
const data = {
|
|
346
|
+
dataset: feature.dataset,
|
|
347
|
+
taxonomy: taxonomy,
|
|
348
|
+
resource: resource,
|
|
349
|
+
label: label,
|
|
350
|
+
feature: feature,
|
|
351
|
+
userData: args,
|
|
352
|
+
eventType: eventType
|
|
353
|
+
};
|
|
254
354
|
// Disable the nueron pop up for now.
|
|
255
355
|
if (feature && feature.type !== "marker")
|
|
256
|
-
this.checkAndCreatePopups(data)
|
|
356
|
+
this.checkAndCreatePopups(data);
|
|
257
357
|
this.$emit("resource-selected", data);
|
|
258
|
-
}
|
|
358
|
+
};
|
|
259
359
|
},
|
|
260
360
|
// checkNeuronClicked shows a neuron path pop up if a path was recently clicked
|
|
261
|
-
checkAndCreatePopups: function(data){
|
|
262
|
-
if (
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
361
|
+
checkAndCreatePopups: function(data) {
|
|
362
|
+
if (
|
|
363
|
+
data.eventType == "click" &&
|
|
364
|
+
this.createTooltipFromNeuronCuration(data)
|
|
365
|
+
) {
|
|
366
|
+
this.mapImp.showPopup(
|
|
367
|
+
this.mapImp.modelFeatureIds(data.resource[0])[0],
|
|
368
|
+
this.$refs.tooltip.$el,
|
|
369
|
+
{ className: "flatmap-tooltip-dialog" }
|
|
370
|
+
);
|
|
371
|
+
this.popUpCssHack();
|
|
266
372
|
}
|
|
267
373
|
},
|
|
268
|
-
popUpCssHack: function(){
|
|
374
|
+
popUpCssHack: function() {
|
|
269
375
|
// Below is a hack to remove flatmap tooltips while popup is open
|
|
270
|
-
let ftooltip = document.querySelector(
|
|
271
|
-
if (ftooltip) ftooltip.style.display =
|
|
272
|
-
document.querySelector(
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
376
|
+
let ftooltip = document.querySelector(".flatmap-tooltip-popup");
|
|
377
|
+
if (ftooltip) ftooltip.style.display = "none";
|
|
378
|
+
document.querySelector(".mapboxgl-popup-close-button").style.display =
|
|
379
|
+
"block";
|
|
380
|
+
this.$refs.tooltip.$el.style.display = "flex";
|
|
381
|
+
document.querySelector(".mapboxgl-popup-close-button").onclick = () => {
|
|
382
|
+
document.querySelector(".flatmap-tooltip-popup").style.display =
|
|
383
|
+
"block";
|
|
384
|
+
};
|
|
277
385
|
},
|
|
278
|
-
resourceSelected: function(action){
|
|
279
|
-
this.$emit("resource-selected", action)
|
|
386
|
+
resourceSelected: function(action) {
|
|
387
|
+
this.$emit("resource-selected", action);
|
|
280
388
|
},
|
|
281
|
-
createTooltipFromNeuronCuration: function(data){
|
|
282
|
-
const feature = data.resource[0]
|
|
389
|
+
createTooltipFromNeuronCuration: function(data) {
|
|
390
|
+
const feature = data.resource[0];
|
|
283
391
|
let content = {
|
|
284
|
-
title: undefined,
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
392
|
+
title: undefined,
|
|
393
|
+
components: undefined,
|
|
394
|
+
start: undefined,
|
|
395
|
+
distribution: undefined,
|
|
396
|
+
actions: []
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
let foundAnnotations = false;
|
|
400
|
+
this.tooltipVisible = false;
|
|
289
401
|
|
|
290
402
|
// neural data check
|
|
291
|
-
if (feature){
|
|
292
|
-
if (feature.includes(
|
|
293
|
-
foundAnnotations = true
|
|
294
|
-
this.tooltipVisible = true
|
|
295
|
-
this.tooltipContent = content
|
|
296
|
-
this.tooltipContent.uberon = feature
|
|
297
|
-
this.tooltipContent.title = data.label
|
|
298
|
-
this.tooltipContent.featureId = feature
|
|
403
|
+
if (feature) {
|
|
404
|
+
if (feature.includes("ilxtr:neuron")) {
|
|
405
|
+
foundAnnotations = true;
|
|
406
|
+
this.tooltipVisible = true;
|
|
407
|
+
this.tooltipContent = content;
|
|
408
|
+
this.tooltipContent.uberon = feature;
|
|
409
|
+
this.tooltipContent.title = data.label;
|
|
410
|
+
this.tooltipContent.featureId = feature;
|
|
299
411
|
this.tooltipContent.actions.push({
|
|
300
|
-
title:
|
|
301
|
-
label:
|
|
302
|
-
resource: feature.split(
|
|
303
|
-
type:
|
|
304
|
-
nervePath: true
|
|
305
|
-
})
|
|
412
|
+
title: "Search for dataset",
|
|
413
|
+
label: "Neuron Datasets",
|
|
414
|
+
resource: feature.split(":")[1],
|
|
415
|
+
type: "Neuron Search",
|
|
416
|
+
nervePath: true
|
|
417
|
+
});
|
|
306
418
|
}
|
|
307
419
|
}
|
|
308
420
|
// annotated with datset check
|
|
309
|
-
if (data.dataset){
|
|
310
|
-
foundAnnotations = true
|
|
311
|
-
this.tooltipVisible = true
|
|
312
|
-
this.tooltipContent = content
|
|
313
|
-
this.tooltipContent.uberon = feature
|
|
314
|
-
this.tooltipContent.title = data.label
|
|
421
|
+
if (data.dataset) {
|
|
422
|
+
foundAnnotations = true;
|
|
423
|
+
this.tooltipVisible = true;
|
|
424
|
+
this.tooltipContent = content;
|
|
425
|
+
this.tooltipContent.uberon = feature;
|
|
426
|
+
this.tooltipContent.title = data.label;
|
|
315
427
|
this.tooltipContent.actions.push({
|
|
316
428
|
title: "View dataset",
|
|
317
429
|
resource: data.dataset,
|
|
318
430
|
type: "URL",
|
|
319
|
-
nervePath: false
|
|
320
|
-
})
|
|
431
|
+
nervePath: false
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
if (foundAnnotations) {
|
|
436
|
+
return true;
|
|
437
|
+
} else {
|
|
438
|
+
return false;
|
|
321
439
|
}
|
|
322
|
-
|
|
323
|
-
if(foundAnnotations) { return true } else { return false }
|
|
324
440
|
},
|
|
325
|
-
// Keeping this as an API
|
|
441
|
+
// Keeping this as an API
|
|
326
442
|
showPopup: function(featureId, node, options) {
|
|
327
443
|
let myOptions = options;
|
|
328
444
|
if (this.mapImp) {
|
|
329
445
|
if (myOptions) {
|
|
330
|
-
if (!myOptions.className)
|
|
331
|
-
myOptions.className = "flatmapvuer-popover";
|
|
446
|
+
if (!myOptions.className) myOptions.className = "flatmapvuer-popover";
|
|
332
447
|
} else {
|
|
333
|
-
myOptions = {className: "flatmapvuer-popover"};
|
|
448
|
+
myOptions = { className: "flatmapvuer-popover" };
|
|
334
449
|
}
|
|
335
450
|
this.mapImp.showPopup(featureId, node, myOptions);
|
|
336
451
|
}
|
|
@@ -340,50 +455,57 @@ export default {
|
|
|
340
455
|
this.mapImp.showMarkerPopup(featureId, node, options);
|
|
341
456
|
}
|
|
342
457
|
},
|
|
343
|
-
setHelpMode: function(helpMode){
|
|
344
|
-
if (helpMode){
|
|
458
|
+
setHelpMode: function(helpMode) {
|
|
459
|
+
if (helpMode) {
|
|
345
460
|
this.inHelp = true;
|
|
346
|
-
this.hoverVisibilities.forEach(
|
|
461
|
+
this.hoverVisibilities.forEach(item => {
|
|
347
462
|
item.value = true;
|
|
348
463
|
});
|
|
349
464
|
this.openFlatmapHelpPopup();
|
|
350
465
|
} else {
|
|
351
466
|
this.inHelp = false;
|
|
352
|
-
this.hoverVisibilities.forEach(
|
|
467
|
+
this.hoverVisibilities.forEach(item => {
|
|
353
468
|
item.value = false;
|
|
354
469
|
});
|
|
355
470
|
this.closeFlatmapHelpPopup();
|
|
356
471
|
}
|
|
357
472
|
},
|
|
358
|
-
showToolitip: function(tooltipNumber){
|
|
359
|
-
if (!this.inHelp){
|
|
360
|
-
this.tooltipWait = setTimeout(
|
|
361
|
-
this.hoverVisibilities[tooltipNumber].value = true
|
|
473
|
+
showToolitip: function(tooltipNumber) {
|
|
474
|
+
if (!this.inHelp) {
|
|
475
|
+
this.tooltipWait = setTimeout(() => {
|
|
476
|
+
this.hoverVisibilities[tooltipNumber].value = true;
|
|
477
|
+
}, 500);
|
|
362
478
|
}
|
|
363
479
|
},
|
|
364
|
-
hideToolitip: function(tooltipNumber){
|
|
365
|
-
if (!this.inHelp){
|
|
480
|
+
hideToolitip: function(tooltipNumber) {
|
|
481
|
+
if (!this.inHelp) {
|
|
366
482
|
this.hoverVisibilities[tooltipNumber].value = false;
|
|
367
483
|
clearTimeout(this.tooltipWait);
|
|
368
484
|
}
|
|
369
485
|
},
|
|
370
|
-
openFlatmapHelpPopup: function(){
|
|
486
|
+
openFlatmapHelpPopup: function() {
|
|
371
487
|
if (this.mapImp) {
|
|
372
|
-
let heartId = this.mapImp.featureIdsForModel(
|
|
373
|
-
const elm =
|
|
374
|
-
this.mapImp.showPopup(heartId, elm, {
|
|
488
|
+
let heartId = this.mapImp.featureIdsForModel("UBERON:0000948")[0];
|
|
489
|
+
const elm = "Click for more information";
|
|
490
|
+
this.mapImp.showPopup(heartId, elm, {
|
|
491
|
+
anchor: "top",
|
|
492
|
+
className: "flatmap-popup-popper"
|
|
493
|
+
});
|
|
375
494
|
}
|
|
376
495
|
},
|
|
377
|
-
closeFlatmapHelpPopup: function(){
|
|
378
|
-
this.$el
|
|
496
|
+
closeFlatmapHelpPopup: function() {
|
|
497
|
+
this.$el
|
|
498
|
+
.querySelectorAll(".mapboxgl-popup-close-button")
|
|
499
|
+
.forEach(item => {
|
|
500
|
+
item.click();
|
|
501
|
+
});
|
|
379
502
|
},
|
|
380
503
|
getLabels: function() {
|
|
381
504
|
let labels = [];
|
|
382
505
|
if (this.mapImp) {
|
|
383
506
|
let annotations = this.mapImp.annotations;
|
|
384
507
|
for (let value of annotations.values()) {
|
|
385
|
-
if (value.label)
|
|
386
|
-
labels.push(value.label);
|
|
508
|
+
if (value.label) labels.push(value.label);
|
|
387
509
|
}
|
|
388
510
|
return Array.from(new Set(labels));
|
|
389
511
|
}
|
|
@@ -392,8 +514,8 @@ export default {
|
|
|
392
514
|
if (this.mapImp) {
|
|
393
515
|
let state = {
|
|
394
516
|
entry: this.entry,
|
|
395
|
-
viewport: this.mapImp.getState()
|
|
396
|
-
}
|
|
517
|
+
viewport: this.mapImp.getState()
|
|
518
|
+
};
|
|
397
519
|
return state;
|
|
398
520
|
}
|
|
399
521
|
return undefined;
|
|
@@ -418,9 +540,10 @@ export default {
|
|
|
418
540
|
minimap = { position: "top-right" };
|
|
419
541
|
}
|
|
420
542
|
let entry = this.entry;
|
|
421
|
-
if (state && state.entry)
|
|
422
|
-
|
|
423
|
-
|
|
543
|
+
if (state && state.entry) entry = state.entry;
|
|
544
|
+
let promise1 = this.mapManager.loadMap(
|
|
545
|
+
entry,
|
|
546
|
+
this.$refs.display,
|
|
424
547
|
this.eventCallback(),
|
|
425
548
|
{
|
|
426
549
|
//fullscreenControl: false,
|
|
@@ -432,10 +555,14 @@ export default {
|
|
|
432
555
|
searchable: this.searchable,
|
|
433
556
|
tooltips: this.tooltips,
|
|
434
557
|
minimap: minimap
|
|
435
|
-
}
|
|
558
|
+
}
|
|
559
|
+
);
|
|
436
560
|
promise1.then(returnedObject => {
|
|
437
561
|
this.mapImp = returnedObject;
|
|
438
|
-
this.sensor = new ResizeSensor(
|
|
562
|
+
this.sensor = new ResizeSensor(
|
|
563
|
+
this.$refs.display,
|
|
564
|
+
mapResize(this.mapImp)
|
|
565
|
+
);
|
|
439
566
|
this.mapImp.setBackgroundOpacity(1);
|
|
440
567
|
this.backgroundChangeCallback(this.currentBackground);
|
|
441
568
|
this.pathways = this.mapImp.pathTypes();
|
|
@@ -447,8 +574,7 @@ export default {
|
|
|
447
574
|
this.mapImp.setState(state.viewport);
|
|
448
575
|
});
|
|
449
576
|
} else if (state) {
|
|
450
|
-
if (this.entry == state.entry)
|
|
451
|
-
this._viewportToBeSet = state.viewport;
|
|
577
|
+
if (this.entry == state.entry) this._viewportToBeSet = state.viewport;
|
|
452
578
|
}
|
|
453
579
|
},
|
|
454
580
|
/**
|
|
@@ -458,13 +584,11 @@ export default {
|
|
|
458
584
|
if (this.mapImp) {
|
|
459
585
|
if (term === undefined || term === "") {
|
|
460
586
|
this.mapImp.clearSearchResults();
|
|
461
|
-
}
|
|
462
|
-
else {
|
|
587
|
+
} else {
|
|
463
588
|
let searchResults = this.mapImp.search(term);
|
|
464
589
|
if (searchResults && searchResults.__featureIds.length > 0)
|
|
465
590
|
this.mapImp.showSearchResults(searchResults);
|
|
466
|
-
else
|
|
467
|
-
this.mapImp.clearSearchResults();
|
|
591
|
+
else this.mapImp.clearSearchResults();
|
|
468
592
|
}
|
|
469
593
|
}
|
|
470
594
|
}
|
|
@@ -473,7 +597,7 @@ export default {
|
|
|
473
597
|
entry: String,
|
|
474
598
|
featureInfo: {
|
|
475
599
|
type: Boolean,
|
|
476
|
-
default: false
|
|
600
|
+
default: false
|
|
477
601
|
},
|
|
478
602
|
minZoom: {
|
|
479
603
|
type: Number,
|
|
@@ -485,11 +609,11 @@ export default {
|
|
|
485
609
|
},
|
|
486
610
|
searchable: {
|
|
487
611
|
type: Boolean,
|
|
488
|
-
default: false
|
|
612
|
+
default: false
|
|
489
613
|
},
|
|
490
614
|
tooltips: {
|
|
491
615
|
type: Boolean,
|
|
492
|
-
default: true
|
|
616
|
+
default: true
|
|
493
617
|
},
|
|
494
618
|
helpMode: {
|
|
495
619
|
type: Boolean,
|
|
@@ -497,7 +621,7 @@ export default {
|
|
|
497
621
|
},
|
|
498
622
|
renderAtMounted: {
|
|
499
623
|
type: Boolean,
|
|
500
|
-
default: true
|
|
624
|
+
default: true
|
|
501
625
|
},
|
|
502
626
|
displayWarning: {
|
|
503
627
|
type: Boolean,
|
|
@@ -516,7 +640,7 @@ export default {
|
|
|
516
640
|
*/
|
|
517
641
|
state: {
|
|
518
642
|
type: Object,
|
|
519
|
-
default: undefined
|
|
643
|
+
default: undefined
|
|
520
644
|
},
|
|
521
645
|
/**
|
|
522
646
|
* Specify the endpoint of the flatmap server.
|
|
@@ -524,7 +648,7 @@ export default {
|
|
|
524
648
|
flatmapAPI: {
|
|
525
649
|
type: String,
|
|
526
650
|
default: "https://mapcore-demo.org/flatmaps/"
|
|
527
|
-
}
|
|
651
|
+
}
|
|
528
652
|
},
|
|
529
653
|
data: function() {
|
|
530
654
|
return {
|
|
@@ -532,11 +656,18 @@ export default {
|
|
|
532
656
|
pathways: [],
|
|
533
657
|
isIndeterminate: false,
|
|
534
658
|
checkAll: true,
|
|
535
|
-
hoverVisibilities: [
|
|
536
|
-
{
|
|
659
|
+
hoverVisibilities: [
|
|
660
|
+
{ value: false },
|
|
661
|
+
{ value: false },
|
|
662
|
+
{ value: false },
|
|
663
|
+
{ value: false },
|
|
664
|
+
{ value: false },
|
|
665
|
+
{ value: false },
|
|
666
|
+
{ value: false }
|
|
667
|
+
],
|
|
537
668
|
inHelp: false,
|
|
538
|
-
currentBackground:
|
|
539
|
-
availableBackground: [
|
|
669
|
+
currentBackground: "white",
|
|
670
|
+
availableBackground: ["white", "lightskyblue", "black"],
|
|
540
671
|
loading: false,
|
|
541
672
|
flatmapMarker: flatmapMarker,
|
|
542
673
|
drawerOpen: true,
|
|
@@ -547,10 +678,9 @@ export default {
|
|
|
547
678
|
},
|
|
548
679
|
watch: {
|
|
549
680
|
entry: function() {
|
|
550
|
-
if (!this.state)
|
|
551
|
-
this.createFlatmap();
|
|
681
|
+
if (!this.state) this.createFlatmap();
|
|
552
682
|
},
|
|
553
|
-
helpMode: function(val){
|
|
683
|
+
helpMode: function(val) {
|
|
554
684
|
this.setHelpMode(val);
|
|
555
685
|
},
|
|
556
686
|
state: {
|
|
@@ -558,85 +688,85 @@ export default {
|
|
|
558
688
|
this.setState(state);
|
|
559
689
|
},
|
|
560
690
|
immediate: true,
|
|
561
|
-
deep: true
|
|
691
|
+
deep: true
|
|
562
692
|
}
|
|
563
693
|
},
|
|
564
694
|
mounted: function() {
|
|
565
695
|
const flatmap = require("@abi-software/flatmap-viewer");
|
|
566
696
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
567
|
-
if (this.renderAtMounted)
|
|
568
|
-
this.createFlatmap();
|
|
697
|
+
if (this.renderAtMounted) this.createFlatmap();
|
|
569
698
|
}
|
|
570
699
|
};
|
|
571
700
|
</script>
|
|
572
701
|
|
|
573
702
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
574
|
-
<style scoped>
|
|
703
|
+
<style scoped lang="scss">
|
|
704
|
+
@import "~element-ui/packages/theme-chalk/src/button";
|
|
705
|
+
@import "~element-ui/packages/theme-chalk/src/checkbox";
|
|
706
|
+
@import "~element-ui/packages/theme-chalk/src/checkbox-group";
|
|
707
|
+
@import "~element-ui/packages/theme-chalk/src/loading";
|
|
708
|
+
@import "~element-ui/packages/theme-chalk/src/row";
|
|
709
|
+
|
|
575
710
|
.warning-icon {
|
|
576
711
|
position: absolute;
|
|
577
712
|
top: 90px;
|
|
578
713
|
left: 37px;
|
|
579
714
|
text-align: left;
|
|
580
715
|
font-size: 25px;
|
|
581
|
-
color:
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
}
|
|
586
|
-
>>> .warning-popper {
|
|
587
|
-
padding:9px 10px;
|
|
588
|
-
min-width:150px;
|
|
589
|
-
font-size:12px;
|
|
590
|
-
color: #fff;
|
|
591
|
-
background-color: #ff8400;
|
|
592
|
-
}
|
|
593
|
-
>>> .warning-popper.right-popper .popper__arrow::after{
|
|
594
|
-
border-right-color: #ff8400 !important;
|
|
716
|
+
color: $warning;
|
|
717
|
+
|
|
718
|
+
&:hover {
|
|
719
|
+
cursor: pointer;
|
|
720
|
+
}
|
|
595
721
|
}
|
|
596
722
|
|
|
597
|
-
.warning-text{
|
|
723
|
+
.warning-text {
|
|
598
724
|
font-size: 15px;
|
|
599
|
-
vertical-align:5px;
|
|
725
|
+
vertical-align: 5px;
|
|
600
726
|
}
|
|
601
727
|
|
|
602
728
|
.path-visual {
|
|
603
729
|
margin: 3px 0;
|
|
604
730
|
height: 3px;
|
|
605
|
-
width:25px;
|
|
731
|
+
width: 25px;
|
|
606
732
|
margin-right: 5px;
|
|
607
733
|
display: inline-block;
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
734
|
+
&.cns {
|
|
735
|
+
background: #9b1fc1;
|
|
736
|
+
}
|
|
737
|
+
&.lcn {
|
|
738
|
+
background: #f19e38;
|
|
739
|
+
}
|
|
740
|
+
&.para-pre {
|
|
741
|
+
background: #3f8f4a;
|
|
742
|
+
}
|
|
743
|
+
&.para-post {
|
|
744
|
+
background: repeating-linear-gradient(
|
|
745
|
+
90deg,
|
|
746
|
+
#3f8f4a,
|
|
747
|
+
#3f8f4a 6px,
|
|
748
|
+
transparent 0,
|
|
749
|
+
transparent 9px
|
|
750
|
+
);
|
|
751
|
+
}
|
|
752
|
+
&.sensory {
|
|
753
|
+
background: #2a62f6;
|
|
754
|
+
}
|
|
755
|
+
&.somatic {
|
|
756
|
+
background: #98561d;
|
|
757
|
+
}
|
|
758
|
+
&.symp-pre {
|
|
759
|
+
background: #ea3423;
|
|
760
|
+
}
|
|
761
|
+
&.symp-post {
|
|
762
|
+
background: repeating-linear-gradient(
|
|
763
|
+
90deg,
|
|
764
|
+
#ea3423,
|
|
765
|
+
#ea3423 6px,
|
|
766
|
+
transparent 0,
|
|
767
|
+
transparent 9px
|
|
768
|
+
);
|
|
769
|
+
}
|
|
640
770
|
}
|
|
641
771
|
|
|
642
772
|
.flatmap-container {
|
|
@@ -648,12 +778,12 @@ export default {
|
|
|
648
778
|
position: absolute;
|
|
649
779
|
bottom: 0px;
|
|
650
780
|
transition: all 1s ease;
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
781
|
+
&.open {
|
|
782
|
+
left: 0px;
|
|
783
|
+
}
|
|
784
|
+
&.close {
|
|
785
|
+
left: -298px;
|
|
786
|
+
}
|
|
657
787
|
}
|
|
658
788
|
|
|
659
789
|
.pathway-container {
|
|
@@ -664,9 +794,9 @@ export default {
|
|
|
664
794
|
text-align: left;
|
|
665
795
|
overflow: auto;
|
|
666
796
|
border: 1px solid rgb(220, 223, 230);
|
|
667
|
-
padding-top:7px;
|
|
668
|
-
padding-bottom:16px;
|
|
669
|
-
background
|
|
797
|
+
padding-top: 7px;
|
|
798
|
+
padding-bottom: 16px;
|
|
799
|
+
background: #ffffff;
|
|
670
800
|
}
|
|
671
801
|
|
|
672
802
|
.pathways-display-text {
|
|
@@ -683,7 +813,7 @@ export default {
|
|
|
683
813
|
float: right;
|
|
684
814
|
}
|
|
685
815
|
|
|
686
|
-
.checkbox-container {
|
|
816
|
+
.checkbox-container {
|
|
687
817
|
display: flex;
|
|
688
818
|
cursor: pointer;
|
|
689
819
|
}
|
|
@@ -697,48 +827,47 @@ export default {
|
|
|
697
827
|
|
|
698
828
|
.my-checkbox {
|
|
699
829
|
background-color: #fff;
|
|
700
|
-
width:100%;
|
|
830
|
+
width: 100%;
|
|
701
831
|
}
|
|
702
832
|
|
|
703
833
|
.checkbox-group-inner {
|
|
704
|
-
padding:18px;
|
|
834
|
+
padding: 18px;
|
|
705
835
|
}
|
|
706
836
|
|
|
707
|
-
.flatmap-marker-help{
|
|
837
|
+
.flatmap-marker-help {
|
|
708
838
|
display: inline-block;
|
|
709
839
|
}
|
|
710
840
|
|
|
711
|
-
|
|
841
|
+
::v-deep .popper-bump-right {
|
|
712
842
|
left: 30px;
|
|
713
843
|
}
|
|
714
844
|
|
|
715
|
-
|
|
716
|
-
padding-left:5px;
|
|
717
|
-
color:
|
|
845
|
+
::v-deep .el-checkbox__label {
|
|
846
|
+
padding-left: 5px;
|
|
847
|
+
color: $app-primary-color;
|
|
718
848
|
font-size: 12px;
|
|
719
849
|
font-weight: 500;
|
|
720
850
|
letter-spacing: 0px;
|
|
721
851
|
line-height: 14px;
|
|
722
852
|
}
|
|
723
853
|
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
border-color: #8300bf;
|
|
854
|
+
::v-deep .el-checkbox__input {
|
|
855
|
+
&.is-indeterminate,
|
|
856
|
+
&.is-checked {
|
|
857
|
+
.el-checkbox__inner {
|
|
858
|
+
background-color: $app-primary-color;
|
|
859
|
+
border-color: $app-primary-color;
|
|
860
|
+
}
|
|
861
|
+
}
|
|
733
862
|
}
|
|
734
863
|
|
|
735
|
-
|
|
736
|
-
color:
|
|
864
|
+
::v-deep .el-checkbox__label {
|
|
865
|
+
color: $app-primary-color !important;
|
|
737
866
|
}
|
|
738
867
|
|
|
739
868
|
.el-dropdown-link {
|
|
740
869
|
cursor: pointer;
|
|
741
|
-
color: #
|
|
870
|
+
color: #409eff;
|
|
742
871
|
}
|
|
743
872
|
.el-icon-arrow-down {
|
|
744
873
|
font-size: 12px;
|
|
@@ -754,119 +883,122 @@ export default {
|
|
|
754
883
|
display: none;
|
|
755
884
|
}
|
|
756
885
|
|
|
757
|
-
|
|
886
|
+
::v-deep .mapboxgl-popup {
|
|
758
887
|
max-width: 300px !important;
|
|
759
888
|
}
|
|
760
889
|
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
890
|
+
::v-deep .flatmap-tooltip-popup {
|
|
891
|
+
&.mapboxgl-popup-anchor-bottom {
|
|
892
|
+
.mapboxgl-popup-content {
|
|
893
|
+
margin-bottom: 12px;
|
|
894
|
+
&::after,
|
|
895
|
+
&::before {
|
|
896
|
+
top: 100%;
|
|
897
|
+
border-width: 12px;
|
|
898
|
+
}
|
|
899
|
+
/* this border color controlls the color of the triangle (what looks like the fill of the triangle) */
|
|
900
|
+
&::after {
|
|
901
|
+
margin-top: -1px;
|
|
902
|
+
border-color: rgb(255, 255, 255) transparent transparent transparent;
|
|
903
|
+
}
|
|
904
|
+
/* this border color controlls the outside, thin border */
|
|
905
|
+
&::before {
|
|
906
|
+
margin: 0 auto;
|
|
907
|
+
border-color: $app-primary-color transparent transparent transparent;
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
&.mapboxgl-popup-anchor-top {
|
|
912
|
+
.mapboxgl-popup-content {
|
|
913
|
+
margin-top: 18px;
|
|
914
|
+
&::after,
|
|
915
|
+
&::before {
|
|
916
|
+
top: calc(-100% + 6px);
|
|
917
|
+
border-width: 12px;
|
|
918
|
+
}
|
|
919
|
+
/* this border color controlls the color of the triangle (what looks like the fill of the triangle) */
|
|
920
|
+
&::after {
|
|
921
|
+
margin-top: 1px;
|
|
922
|
+
border-color: transparent transparent rgb(255, 255, 255) transparent;
|
|
923
|
+
}
|
|
924
|
+
&::before {
|
|
925
|
+
margin: 0 auto;
|
|
926
|
+
border-color: transparent transparent $app-primary-color transparent;
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
.mapboxgl-popup-content {
|
|
931
|
+
border-radius: 4px;
|
|
932
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
933
|
+
pointer-events: none;
|
|
934
|
+
display: none;
|
|
935
|
+
background: #fff;
|
|
936
|
+
border: 1px solid $app-primary-color;
|
|
937
|
+
padding-left: 6px;
|
|
938
|
+
padding-right: 6px;
|
|
939
|
+
display: flex;
|
|
940
|
+
justify-content: center;
|
|
941
|
+
align-items: center;
|
|
942
|
+
&::after,
|
|
943
|
+
&::before {
|
|
944
|
+
content: "";
|
|
945
|
+
display: block;
|
|
946
|
+
position: absolute;
|
|
947
|
+
width: 0;
|
|
948
|
+
height: 0;
|
|
949
|
+
border-style: solid;
|
|
950
|
+
flex-shrink: 0;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
.mapboxgl-popup-tip {
|
|
954
|
+
display: none;
|
|
955
|
+
}
|
|
817
956
|
}
|
|
818
957
|
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
958
|
+
::v-deep .mapboxgl-popup {
|
|
959
|
+
&.flatmap-marker-popup {
|
|
960
|
+
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
|
|
961
|
+
pointer-events: auto;
|
|
962
|
+
background: #fff;
|
|
963
|
+
}
|
|
824
964
|
}
|
|
825
965
|
|
|
826
966
|
/* Fix for chrome bug where under triangle pops up above one on top of it */
|
|
827
|
-
.selector:not(*:root),
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
>>>.flatmap-tooltip-popup.mapboxgl-popup-anchor-bottom .mapboxgl-popup-content::before {
|
|
833
|
-
margin: 0 auto;
|
|
834
|
-
border-color: rgb(131, 0, 191) transparent transparent transparent ;
|
|
835
|
-
border-width: 12px;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
>>>.flatmap-tooltip-popup.mapboxgl-popup-anchor-top .mapboxgl-popup-content::before {
|
|
839
|
-
margin: 0 auto;
|
|
840
|
-
border-color: transparent transparent rgb(131, 0, 191) transparent ;
|
|
841
|
-
border-width: 12px;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
>>> .flatmap-tooltip-popup .mapboxgl-popup-tip{
|
|
845
|
-
display: none;
|
|
967
|
+
.selector:not(*:root),
|
|
968
|
+
::v-deep.flatmap-tooltip-popup {
|
|
969
|
+
.mapboxgl-popup-content::after {
|
|
970
|
+
top: 99.9%;
|
|
971
|
+
}
|
|
846
972
|
}
|
|
847
973
|
|
|
848
|
-
|
|
849
|
-
|
|
974
|
+
::v-deep .flatmap-tooltip-dialog {
|
|
975
|
+
.mapboxgl-popup-tip {
|
|
976
|
+
display: none;
|
|
977
|
+
}
|
|
850
978
|
}
|
|
851
979
|
|
|
852
|
-
|
|
853
|
-
|
|
980
|
+
::v-deep .flatmap-marker-popup {
|
|
981
|
+
.mapboxgl-popup-content {
|
|
982
|
+
padding: 0px;
|
|
983
|
+
}
|
|
854
984
|
}
|
|
855
985
|
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
986
|
+
::v-deep .flatmapvuer-popover {
|
|
987
|
+
.mapboxgl-popup-close-button {
|
|
988
|
+
position: absolute;
|
|
989
|
+
right: 0.5em;
|
|
990
|
+
top: 0;
|
|
991
|
+
border: 0;
|
|
992
|
+
border-radius: 0 3px 0 0;
|
|
993
|
+
cursor: pointer;
|
|
994
|
+
background-color: transparent;
|
|
995
|
+
font-size: 2.5em;
|
|
996
|
+
color: grey;
|
|
997
|
+
top: 0.95em;
|
|
998
|
+
}
|
|
867
999
|
}
|
|
868
1000
|
|
|
869
|
-
.zoomOut{
|
|
1001
|
+
.zoomOut {
|
|
870
1002
|
padding-left: 8px;
|
|
871
1003
|
}
|
|
872
1004
|
|
|
@@ -886,25 +1018,24 @@ export default {
|
|
|
886
1018
|
left: 24px;
|
|
887
1019
|
}
|
|
888
1020
|
|
|
889
|
-
|
|
1021
|
+
::v-deep .background-popper {
|
|
890
1022
|
padding: 5px 12px;
|
|
891
1023
|
background-color: #ffffff;
|
|
892
|
-
border: 1px solid
|
|
1024
|
+
border: 1px solid $app-primary-color;
|
|
893
1025
|
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
|
|
894
1026
|
height: 200px;
|
|
895
1027
|
width: 175px;
|
|
896
|
-
min-width:175px;
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
1028
|
+
min-width: 175px;
|
|
1029
|
+
&.el-popper[x-placement^="top"] {
|
|
1030
|
+
.popper__arrow {
|
|
1031
|
+
border-top-color: $app-primary-color !important;
|
|
1032
|
+
&::after {
|
|
1033
|
+
border-top-color: #fff !important;
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
905
1037
|
}
|
|
906
1038
|
|
|
907
|
-
|
|
908
1039
|
.backgroundText {
|
|
909
1040
|
color: rgb(48, 49, 51);
|
|
910
1041
|
font-size: 14px;
|
|
@@ -914,185 +1045,193 @@ export default {
|
|
|
914
1045
|
|
|
915
1046
|
.backgroundControl {
|
|
916
1047
|
display: flex;
|
|
917
|
-
margin-top:16px;
|
|
1048
|
+
margin-top: 16px;
|
|
918
1049
|
}
|
|
919
1050
|
|
|
920
1051
|
.backgroundChoice {
|
|
921
|
-
width:20px;
|
|
922
|
-
height:20px;
|
|
1052
|
+
width: 20px;
|
|
1053
|
+
height: 20px;
|
|
923
1054
|
border: 1px solid rgb(144, 147, 153);
|
|
924
|
-
margin-left:20px;
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
background-color: lightskyblue;
|
|
1055
|
+
margin-left: 20px;
|
|
1056
|
+
&.active {
|
|
1057
|
+
border: 2px solid $app-primary-color;
|
|
1058
|
+
}
|
|
1059
|
+
&:hover {
|
|
1060
|
+
cursor: pointer;
|
|
1061
|
+
}
|
|
1062
|
+
&.white {
|
|
1063
|
+
background-color: white;
|
|
1064
|
+
margin-left: 10px;
|
|
1065
|
+
}
|
|
1066
|
+
&.black {
|
|
1067
|
+
background-color: black;
|
|
1068
|
+
}
|
|
1069
|
+
&.lightskyblue {
|
|
1070
|
+
background-color: white;
|
|
1071
|
+
}
|
|
942
1072
|
}
|
|
943
1073
|
|
|
944
1074
|
.togglePaths {
|
|
945
|
-
top:201px;
|
|
946
|
-
right:20px;
|
|
1075
|
+
top: 201px;
|
|
1076
|
+
right: 20px;
|
|
947
1077
|
position: absolute;
|
|
948
1078
|
}
|
|
949
1079
|
|
|
950
1080
|
.icon-button {
|
|
951
|
-
height:24px!important;
|
|
952
|
-
width:24px!important;
|
|
953
|
-
color:
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
>>> .flatmap-popper {
|
|
960
|
-
padding: 6px 4px;
|
|
961
|
-
font-size:12px;
|
|
962
|
-
color: rgb(48, 49, 51);
|
|
963
|
-
background-color: #f3ecf6;
|
|
964
|
-
border: 1px solid rgb(131, 0, 191);
|
|
965
|
-
white-space: nowrap;
|
|
966
|
-
min-width: unset;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
>>> .flatmap-marker{
|
|
970
|
-
cursor: pointer;
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
>>>.el-loading-spinner i{
|
|
974
|
-
color: #8300bf;
|
|
975
|
-
}
|
|
976
|
-
>>>.el-loading-spinner .el-loading-text {
|
|
977
|
-
color: #8300bf;
|
|
1081
|
+
height: 24px !important;
|
|
1082
|
+
width: 24px !important;
|
|
1083
|
+
color: $app-primary-color;
|
|
1084
|
+
&:hover {
|
|
1085
|
+
cursor: pointer;
|
|
1086
|
+
}
|
|
978
1087
|
}
|
|
979
1088
|
|
|
980
|
-
|
|
1089
|
+
::v-deep .flatmap-popper {
|
|
981
1090
|
padding: 6px 4px;
|
|
982
|
-
font-size:12px;
|
|
1091
|
+
font-size: 12px;
|
|
983
1092
|
color: rgb(48, 49, 51);
|
|
984
1093
|
background-color: #f3ecf6;
|
|
985
|
-
border: 1px solid
|
|
1094
|
+
border: 1px solid $app-primary-color;
|
|
986
1095
|
white-space: nowrap;
|
|
987
1096
|
min-width: unset;
|
|
1097
|
+
&.warning-popper {
|
|
1098
|
+
min-width: 150px;
|
|
1099
|
+
max-width: 400px;
|
|
1100
|
+
word-break: keep-all;
|
|
1101
|
+
white-space: unset;
|
|
1102
|
+
}
|
|
1103
|
+
&.left-popper {
|
|
1104
|
+
.popper__arrow {
|
|
1105
|
+
border-left-color: $app-primary-color !important;
|
|
1106
|
+
&::after {
|
|
1107
|
+
border-left-color: #f3ecf6 !important;
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
&.right-popper {
|
|
1112
|
+
.popper__arrow {
|
|
1113
|
+
border-right-color: $app-primary-color !important;
|
|
1114
|
+
&:after {
|
|
1115
|
+
border-right-color: #f3ecf6 !important;
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
&.el-popper[x-placement^="top"] {
|
|
1120
|
+
.popper__arrow {
|
|
1121
|
+
border-top-color: $app-primary-color !important;
|
|
1122
|
+
&:after {
|
|
1123
|
+
border-top-color: #f3ecf6 !important;
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
988
1127
|
}
|
|
989
1128
|
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
border-left-color: #f3ecf6 !important;
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
>>>.flatmap-popper.right-popper .popper__arrow{
|
|
999
|
-
border-right-color: #8300bf !important;
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
>>>.flatmap-popper.right-popper .popper__arrow:after{
|
|
1003
|
-
border-right-color: #f3ecf6 !important;
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
>>>.flatmap-popper.el-popper[x-placement^="top"] .popper__arrow {
|
|
1007
|
-
border-top-color:#8300bf !important;
|
|
1129
|
+
::v-deep .el-loading-spinner {
|
|
1130
|
+
i,
|
|
1131
|
+
.el-loading-text {
|
|
1132
|
+
color: $app-primary-color;
|
|
1133
|
+
}
|
|
1008
1134
|
}
|
|
1009
1135
|
|
|
1010
|
-
|
|
1011
|
-
|
|
1136
|
+
::v-deep .flatmap-popup-popper {
|
|
1137
|
+
.mapboxgl-popup-tip {
|
|
1138
|
+
border-bottom-color: $app-primary-color;
|
|
1139
|
+
}
|
|
1140
|
+
.mapboxgl-popup-content {
|
|
1141
|
+
padding: 6px 4px;
|
|
1142
|
+
font-size: 12px;
|
|
1143
|
+
color: rgb(48, 49, 51);
|
|
1144
|
+
background-color: #f3ecf6;
|
|
1145
|
+
border: 1px solid $app-primary-color;
|
|
1146
|
+
white-space: nowrap;
|
|
1147
|
+
min-width: unset;
|
|
1148
|
+
.mapboxgl-popup-close-button {
|
|
1149
|
+
display: none;
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1012
1152
|
}
|
|
1013
1153
|
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
left:-21px!important;
|
|
1154
|
+
::v-deep .flatmap-popper {
|
|
1155
|
+
|
|
1017
1156
|
}
|
|
1018
1157
|
|
|
1019
|
-
|
|
1020
|
-
|
|
1158
|
+
::v-deep .popper-zoomout {
|
|
1159
|
+
padding-right: 13px !important;
|
|
1160
|
+
left: -21px !important;
|
|
1021
1161
|
}
|
|
1022
1162
|
|
|
1023
|
-
|
|
1024
|
-
|
|
1163
|
+
::v-deep .popper-zoomout {
|
|
1164
|
+
.popper__arrow {
|
|
1165
|
+
left: 53px !important;
|
|
1166
|
+
}
|
|
1025
1167
|
}
|
|
1026
1168
|
|
|
1027
|
-
|
|
1169
|
+
::v-deep .mapboxgl-popup-content {
|
|
1028
1170
|
padding: 0px;
|
|
1029
1171
|
}
|
|
1030
1172
|
|
|
1031
|
-
>>> .flatmap-popup-popper .mapboxgl-popup-tip {
|
|
1032
|
-
border-bottom-color: #8300bf;
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
1173
|
.bottom-right-control {
|
|
1036
|
-
position:absolute;
|
|
1037
|
-
right:16px;
|
|
1038
|
-
bottom:16px;
|
|
1174
|
+
position: absolute;
|
|
1175
|
+
right: 16px;
|
|
1176
|
+
bottom: 16px;
|
|
1039
1177
|
}
|
|
1040
1178
|
|
|
1041
|
-
|
|
1042
|
-
background: rgba(0,0,0,0);
|
|
1179
|
+
::v-deep .my-drawer {
|
|
1180
|
+
background: rgba(0, 0, 0, 0);
|
|
1043
1181
|
box-shadow: none;
|
|
1044
1182
|
}
|
|
1045
1183
|
|
|
1046
|
-
.drawer
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
.open-drawer{
|
|
1051
|
-
width: 20px;
|
|
1052
|
-
height: 40px;
|
|
1053
|
-
z-index: 8;
|
|
1054
|
-
position: absolute;
|
|
1055
|
-
left: 0px;
|
|
1056
|
-
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
|
|
1057
|
-
border: solid 1px #e4e7ed;
|
|
1058
|
-
background-color: #F7FAFF;
|
|
1059
|
-
text-align: center;
|
|
1060
|
-
vertical-align: middle;
|
|
1061
|
-
cursor: pointer;
|
|
1062
|
-
pointer-events: auto;
|
|
1184
|
+
.drawer {
|
|
1185
|
+
::v-deep .el-drawer:focus {
|
|
1186
|
+
outline: none;
|
|
1187
|
+
}
|
|
1063
1188
|
}
|
|
1064
1189
|
|
|
1190
|
+
.open-drawer,
|
|
1065
1191
|
.drawer-button {
|
|
1066
|
-
|
|
1192
|
+
z-index: 8;
|
|
1067
1193
|
width: 20px;
|
|
1068
1194
|
height: 40px;
|
|
1069
|
-
z-index: 8;
|
|
1070
|
-
margin-top:calc(50% - 36px);
|
|
1071
1195
|
border: solid 1px #e4e7ed;
|
|
1072
|
-
border-left: 0;
|
|
1073
|
-
background-color: #FFFFFF;
|
|
1074
1196
|
text-align: center;
|
|
1075
1197
|
vertical-align: middle;
|
|
1076
1198
|
cursor: pointer;
|
|
1077
1199
|
pointer-events: auto;
|
|
1078
1200
|
}
|
|
1079
1201
|
|
|
1080
|
-
.drawer
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
.drawer-button.open i{
|
|
1087
|
-
transform: rotate(0deg) scaleY(2.5);
|
|
1202
|
+
.open-drawer {
|
|
1203
|
+
position: absolute;
|
|
1204
|
+
left: 0px;
|
|
1205
|
+
background-color: #f7faff;
|
|
1206
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
|
|
1088
1207
|
}
|
|
1089
1208
|
|
|
1090
|
-
.drawer-button
|
|
1091
|
-
|
|
1209
|
+
.drawer-button {
|
|
1210
|
+
float: left;
|
|
1211
|
+
margin-top: calc(50% - 36px);
|
|
1212
|
+
border-left: 0;
|
|
1213
|
+
background-color: #ffffff;
|
|
1214
|
+
i {
|
|
1215
|
+
margin-top: 12px;
|
|
1216
|
+
color: $app-primary-color;
|
|
1217
|
+
transition-delay: 0.9s;
|
|
1218
|
+
}
|
|
1219
|
+
&.open {
|
|
1220
|
+
i {
|
|
1221
|
+
transform: rotate(0deg) scaleY(2.5);
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
&.close {
|
|
1225
|
+
i {
|
|
1226
|
+
transform: rotate(180deg) scaleY(2.5);
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1092
1229
|
}
|
|
1093
1230
|
|
|
1094
|
-
|
|
1095
|
-
|
|
1231
|
+
::v-deep .mapboxgl-canvas-container {
|
|
1232
|
+
canvas {
|
|
1233
|
+
outline: none;
|
|
1234
|
+
}
|
|
1096
1235
|
}
|
|
1097
1236
|
|
|
1098
1237
|
.backgroundSpacer {
|
|
@@ -1100,32 +1239,24 @@ export default {
|
|
|
1100
1239
|
margin-bottom: 10px;
|
|
1101
1240
|
}
|
|
1102
1241
|
|
|
1103
|
-
.flatmap-radio
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
.
|
|
1116
|
-
|
|
1117
|
-
|
|
1242
|
+
.flatmap-radio {
|
|
1243
|
+
::v-deep label {
|
|
1244
|
+
margin-right: 20px;
|
|
1245
|
+
&:last-child {
|
|
1246
|
+
margin-right: 0px;
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
.el-radio__input {
|
|
1250
|
+
&.is-checked {
|
|
1251
|
+
& + .el-radio__label {
|
|
1252
|
+
color: $app-primary-color;
|
|
1253
|
+
}
|
|
1254
|
+
.el-radio__inner {
|
|
1255
|
+
border-color: $app-primary-color;
|
|
1256
|
+
background: $app-primary-color;
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1118
1260
|
}
|
|
1119
|
-
|
|
1120
1261
|
</style>
|
|
1121
1262
|
|
|
1122
|
-
<style scoped src="../styles/purple/checkbox.css">
|
|
1123
|
-
</style>
|
|
1124
|
-
<style scoped src="../styles/purple/checkbox-group.css">
|
|
1125
|
-
</style>
|
|
1126
|
-
<style scoped src="../styles/purple/row.css">
|
|
1127
|
-
</style>
|
|
1128
|
-
<style scoped src="../styles/purple/button.css">
|
|
1129
|
-
</style>
|
|
1130
|
-
<style scoped src="../styles/purple/loading.css">
|
|
1131
|
-
</style>
|