@abi-software/mapintegratedvuer 0.7.1-demo.0 → 0.7.2-vue3.0-alpha.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.
Files changed (65) hide show
  1. package/LICENSE +201 -201
  2. package/README.md +150 -142
  3. package/assets/gazelle-icons-no-background.css +32 -0
  4. package/assets/styleguide.css +19 -19
  5. package/cypress.config.js +23 -23
  6. package/dist/index.html +17 -17
  7. package/dist/mapintegratedvuer.js +60394 -59859
  8. package/dist/mapintegratedvuer.umd.cjs +515 -907
  9. package/dist/matterport.pdf +0 -0
  10. package/dist/style.css +1 -1
  11. package/dist/test.txt +0 -0
  12. package/package.json +135 -136
  13. package/public/index.html +17 -17
  14. package/public/matterport.pdf +0 -0
  15. package/public/test.txt +0 -0
  16. package/q.json +690 -0
  17. package/reporter-config.json +9 -9
  18. package/src/App.vue +245 -245
  19. package/src/assets/_variables.scss +43 -43
  20. package/src/assets/fonts/mapicon-species.eot +0 -0
  21. package/src/assets/fonts/mapicon-species.ttf +0 -0
  22. package/src/assets/fonts/mapicon-species.woff +0 -0
  23. package/src/assets/header-icon.scss +67 -67
  24. package/src/assets/mapicon-species-style.css +41 -41
  25. package/src/assets/styles.scss +9 -9
  26. package/src/components/ContentBar.vue +376 -376
  27. package/src/components/ContentVuer.vue +217 -217
  28. package/src/components/ContextCard.vue +385 -385
  29. package/src/components/ContextHelp.vue +73 -73
  30. package/src/components/CustomSplitter.vue +151 -151
  31. package/src/components/DatasetHeader.vue +97 -97
  32. package/src/components/DialogToolbarContent.vue +464 -464
  33. package/src/components/EventBus.js +3 -3
  34. package/src/components/FlatmapContextCard.vue +134 -134
  35. package/src/components/MapContent.vue +333 -285
  36. package/src/components/ResizeSensor.vue +47 -47
  37. package/src/components/SearchControls.vue +115 -115
  38. package/src/components/SimulatedData.js +721 -721
  39. package/src/components/SplitDialog.vue +287 -287
  40. package/src/components/SplitFlow.vue +414 -414
  41. package/src/components/index.js +7 -7
  42. package/src/components/markerZoomLevelsHardCoded.js +255 -255
  43. package/src/components/scripts/utilities.js +173 -173
  44. package/src/components/viewers/Flatmap.vue +145 -145
  45. package/src/components/viewers/Iframe.vue +31 -31
  46. package/src/components/viewers/MultiFlatmap.vue +384 -384
  47. package/src/components/viewers/Plot.vue +23 -23
  48. package/src/components/viewers/Scaffold.vue +198 -198
  49. package/src/components/viewers/Simulation.vue +21 -21
  50. package/src/icons/yellowstar.js +1 -1
  51. package/src/main.js +32 -22
  52. package/src/mixins/ContentMixin.js +438 -438
  53. package/src/mixins/DynamicMarkerMixin.js +88 -88
  54. package/src/mixins/RetrieveContextCardMixin.js +82 -0
  55. package/src/mixins/S3Bucket.vue +37 -37
  56. package/src/stores/entries.js +40 -40
  57. package/src/stores/index.js +24 -16
  58. package/src/stores/settings.js +144 -144
  59. package/src/stores/splitFlow.js +523 -523
  60. package/static.json +7 -7
  61. package/tsconfig.json +19 -0
  62. package/vite.config.js +70 -66
  63. package/vite.static-build.js +12 -12
  64. package/vitest.workspace.js +3 -3
  65. package/vuese-generator.js +65 -0
@@ -1,7 +1,7 @@
1
- // The Vue build version to load with the `import` command
2
- // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
3
- import MapContent from './MapContent.vue';
4
-
5
- export {
6
- MapContent
7
- };
1
+ // The Vue build version to load with the `import` command
2
+ // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
3
+ import MapContent from './MapContent.vue';
4
+
5
+ export {
6
+ MapContent
7
+ };
@@ -1,256 +1,256 @@
1
- // Set zoom values for micro and mesoscopic
2
- let microscopic = 7
3
- let mesoscopic = 5
4
-
5
- // Set what level each uberon shows at
6
- export default [
7
- {
8
- "id": "UBERON:0000948",
9
- "name": "heart",
10
- "showAtZoom": 1,
11
- },
12
- {
13
- "id": "UBERON:0001759",
14
- "name": "vagus nerve",
15
- "showAtZoom": 1
16
- },
17
- {
18
- "id": "UBERON:0001155",
19
- "name": "colon",
20
- "showAtZoom": 1
21
- },
22
- {
23
- "id": "UBERON:0000945",
24
- "name": "stomach",
25
- "showAtZoom": 1
26
- },
27
- {
28
- "id": "UBERON:0001013",
29
- "name": "adipose tissue",
30
- "showAtZoom": 1
31
- },
32
- {
33
- "id": "UBERON:0001255",
34
- "name": "urinary bladder",
35
- "showAtZoom": 1
36
- },
37
- {
38
- "id": "UBERON:0001348",
39
- "name": "brown adipose tissue",
40
- "showAtZoom": 6
41
- },
42
- {
43
- "id": "UBERON:0002008",
44
- "name": "cardiac nerve plexus",
45
- "showAtZoom": 1
46
- },
47
- {
48
- "id": "UBERON:0002240",
49
- "name": "spinal cord",
50
- "showAtZoom": 1
51
- },
52
- {
53
- "id": "UBERON:0002005",
54
- "name": "Enteric Nervous System",
55
- "showAtZoom": 4
56
- },
57
- {
58
- "id": "UBERON:0013702",
59
- "name": "body proper",
60
- "showAtZoom": 1
61
- },
62
- {
63
- "id": "UBERON:0002298",
64
- "name": "brainstem",
65
- "showAtZoom": 1
66
- },
67
- {
68
- "id": "UBERON:0002439",
69
- "name": "myenteric nerve plexus",
70
- "showAtZoom": 6
71
- },
72
- {
73
- "id": "UBERON:0000010",
74
- "name": "peripheral nervous system",
75
- "showAtZoom": 6
76
- },
77
- {
78
- "id": "UBERON:0002048",
79
- "name": "lung",
80
- "showAtZoom": 1
81
- },
82
- {
83
- "id": "UBERON:0002410",
84
- "name": "autonomic nervous system",
85
- "showAtZoom": 6
86
- },
87
- {
88
- "id": "UBERON:0002441",
89
- "name": "cervicothoracic ganglion",
90
- "showAtZoom": 6
91
- },
92
- {
93
- "id": "UBERON:0005363",
94
- "name": "inferior vagus X ganglion",
95
- "showAtZoom": 6
96
- },
97
- {
98
- "id": "UBERON:0001264",
99
- "name": "pancreas",
100
- "showAtZoom": 1
101
- },
102
- {
103
- "id": "UBERON:0001884",
104
- "name": "phrenic nerve",
105
- "showAtZoom": 6
106
- },
107
- {
108
- "id": "UBERON:0002059",
109
- "name": "submandibular ganglion",
110
- "showAtZoom": 7
111
- },
112
- {
113
- "id": "UBERON:0001347",
114
- "name": "white adipose tissue",
115
- "showAtZoom": 6
116
- },
117
- {
118
- "id": "UBERON:0001556",
119
- "name": "lower urinary tract",
120
- "showAtZoom": 1
121
- },
122
- {
123
- "id": "UBERON:0002262",
124
- "name": "celiac ganglion",
125
- "showAtZoom": 5
126
- },
127
- {
128
- "id": "UBERON:0000955",
129
- "name": "Brain",
130
- "showAtZoom": 1
131
- },
132
- {
133
- "id": "UBERON:0000160",
134
- "name": "intestine",
135
- "showAtZoom": 1
136
- },
137
- {
138
- "id": "UBERON:0001322",
139
- "name": "sciatic nerve",
140
- "showAtZoom": 1
141
- },
142
- {
143
- "id": "UBERON:0001649",
144
- "name": "glossopharyngeal nerve",
145
- "showAtZoom": 6
146
- },
147
- {
148
- "id": "UBERON:0002063",
149
- "name": "sinus venosus",
150
- "showAtZoom": 6
151
- },
152
- {
153
- "id": "UBERON:0002107",
154
- "name": "liver",
155
- "showAtZoom": 1
156
- },
157
- {
158
- "id": "UBERON:0002113",
159
- "name": "kidney",
160
- "showAtZoom": 1
161
- },
162
- {
163
- "id": "UBERON:0002481",
164
- "name": "bone tissue",
165
- "showAtZoom": 1
166
- },
167
- {
168
- "id": "UBERON:0004907",
169
- "name": "lower digestive tract",
170
- "showAtZoom": 4
171
- },
172
- {
173
- "id": "UBERON:0000044",
174
- "name": "Dorsal root ganglion",
175
- "showAtZoom": 5
176
- },
177
- // New levels from Keeran
178
- {
179
- "id": "UBERON:0001736",
180
- "name": "Submandibular gland",
181
- "showAtZoom": microscopic,
182
- "keyword": true
183
- },
184
- {
185
- "id": "UBERON:0001103",
186
- "name": "Diaphragm",
187
- "showAtZoom": mesoscopic,
188
- "keyword": true
189
- },
190
- {
191
- "id": "UBERON:0001160",
192
- "name": "Fundus of stomach",
193
- "showAtZoom": mesoscopic,
194
- "keyword": true
195
- },
196
- {
197
- "id": "UBERON:0000955",
198
- "name": "Brain",
199
- "showAtZoom": mesoscopic,
200
- "keyword": true
201
- },
202
- {
203
- "id": "UBERON:0003708",
204
- "name": "Carotid sinus",
205
- "showAtZoom": microscopic,
206
- "keyword": true
207
- },
208
- {
209
- "id": "UBERON:0002079",
210
- "name": "Left cardiac atrium",
211
- "showAtZoom": mesoscopic,
212
- "keyword": true
213
- },
214
- {
215
- "id": "ILX:0485722",
216
- "name": "Nodose ganglion",
217
- "showAtZoom": microscopic,
218
- "keyword": true
219
- },
220
- {
221
- "id": "UBERON:0002078",
222
- "name": "Right cardiac atrium",
223
- "showAtZoom": mesoscopic,
224
- "keyword": true
225
- },
226
- {
227
- "id": "UBERON:0002084",
228
- "name": "Heart left ventricle",
229
- "showAtZoom": mesoscopic,
230
- "keyword": true
231
- },
232
- {
233
- "id": "UBERON:0002080",
234
- "name": "Heart right ventricle",
235
- "showAtZoom": mesoscopic,
236
- "keyword": true
237
- },
238
- {
239
- "id": "UBERON:0001508",
240
- "name": "Arch of Aorta",
241
- "showAtZoom": mesoscopic,
242
- "keyword": true
243
- },
244
- {
245
- "id": "UBERON:0001738",
246
- "name": "Thyroid cartilage",
247
- "showAtZoom": mesoscopic,
248
- "keyword": true
249
- },
250
- {
251
- "id": "UBERON:0000388",
252
- "name": "Epiglottis",
253
- "showAtZoom": mesoscopic,
254
- "keyword": true
255
- },
1
+ // Set zoom values for micro and mesoscopic
2
+ let microscopic = 7
3
+ let mesoscopic = 5
4
+
5
+ // Set what level each uberon shows at
6
+ export default [
7
+ {
8
+ "id": "UBERON:0000948",
9
+ "name": "heart",
10
+ "showAtZoom": 1,
11
+ },
12
+ {
13
+ "id": "UBERON:0001759",
14
+ "name": "vagus nerve",
15
+ "showAtZoom": 1
16
+ },
17
+ {
18
+ "id": "UBERON:0001155",
19
+ "name": "colon",
20
+ "showAtZoom": 1
21
+ },
22
+ {
23
+ "id": "UBERON:0000945",
24
+ "name": "stomach",
25
+ "showAtZoom": 1
26
+ },
27
+ {
28
+ "id": "UBERON:0001013",
29
+ "name": "adipose tissue",
30
+ "showAtZoom": 1
31
+ },
32
+ {
33
+ "id": "UBERON:0001255",
34
+ "name": "urinary bladder",
35
+ "showAtZoom": 1
36
+ },
37
+ {
38
+ "id": "UBERON:0001348",
39
+ "name": "brown adipose tissue",
40
+ "showAtZoom": 6
41
+ },
42
+ {
43
+ "id": "UBERON:0002008",
44
+ "name": "cardiac nerve plexus",
45
+ "showAtZoom": 1
46
+ },
47
+ {
48
+ "id": "UBERON:0002240",
49
+ "name": "spinal cord",
50
+ "showAtZoom": 1
51
+ },
52
+ {
53
+ "id": "UBERON:0002005",
54
+ "name": "Enteric Nervous System",
55
+ "showAtZoom": 4
56
+ },
57
+ {
58
+ "id": "UBERON:0013702",
59
+ "name": "body proper",
60
+ "showAtZoom": 1
61
+ },
62
+ {
63
+ "id": "UBERON:0002298",
64
+ "name": "brainstem",
65
+ "showAtZoom": 1
66
+ },
67
+ {
68
+ "id": "UBERON:0002439",
69
+ "name": "myenteric nerve plexus",
70
+ "showAtZoom": 6
71
+ },
72
+ {
73
+ "id": "UBERON:0000010",
74
+ "name": "peripheral nervous system",
75
+ "showAtZoom": 6
76
+ },
77
+ {
78
+ "id": "UBERON:0002048",
79
+ "name": "lung",
80
+ "showAtZoom": 1
81
+ },
82
+ {
83
+ "id": "UBERON:0002410",
84
+ "name": "autonomic nervous system",
85
+ "showAtZoom": 6
86
+ },
87
+ {
88
+ "id": "UBERON:0002441",
89
+ "name": "cervicothoracic ganglion",
90
+ "showAtZoom": 6
91
+ },
92
+ {
93
+ "id": "UBERON:0005363",
94
+ "name": "inferior vagus X ganglion",
95
+ "showAtZoom": 6
96
+ },
97
+ {
98
+ "id": "UBERON:0001264",
99
+ "name": "pancreas",
100
+ "showAtZoom": 1
101
+ },
102
+ {
103
+ "id": "UBERON:0001884",
104
+ "name": "phrenic nerve",
105
+ "showAtZoom": 6
106
+ },
107
+ {
108
+ "id": "UBERON:0002059",
109
+ "name": "submandibular ganglion",
110
+ "showAtZoom": 7
111
+ },
112
+ {
113
+ "id": "UBERON:0001347",
114
+ "name": "white adipose tissue",
115
+ "showAtZoom": 6
116
+ },
117
+ {
118
+ "id": "UBERON:0001556",
119
+ "name": "lower urinary tract",
120
+ "showAtZoom": 1
121
+ },
122
+ {
123
+ "id": "UBERON:0002262",
124
+ "name": "celiac ganglion",
125
+ "showAtZoom": 5
126
+ },
127
+ {
128
+ "id": "UBERON:0000955",
129
+ "name": "Brain",
130
+ "showAtZoom": 1
131
+ },
132
+ {
133
+ "id": "UBERON:0000160",
134
+ "name": "intestine",
135
+ "showAtZoom": 1
136
+ },
137
+ {
138
+ "id": "UBERON:0001322",
139
+ "name": "sciatic nerve",
140
+ "showAtZoom": 1
141
+ },
142
+ {
143
+ "id": "UBERON:0001649",
144
+ "name": "glossopharyngeal nerve",
145
+ "showAtZoom": 6
146
+ },
147
+ {
148
+ "id": "UBERON:0002063",
149
+ "name": "sinus venosus",
150
+ "showAtZoom": 6
151
+ },
152
+ {
153
+ "id": "UBERON:0002107",
154
+ "name": "liver",
155
+ "showAtZoom": 1
156
+ },
157
+ {
158
+ "id": "UBERON:0002113",
159
+ "name": "kidney",
160
+ "showAtZoom": 1
161
+ },
162
+ {
163
+ "id": "UBERON:0002481",
164
+ "name": "bone tissue",
165
+ "showAtZoom": 1
166
+ },
167
+ {
168
+ "id": "UBERON:0004907",
169
+ "name": "lower digestive tract",
170
+ "showAtZoom": 4
171
+ },
172
+ {
173
+ "id": "UBERON:0000044",
174
+ "name": "Dorsal root ganglion",
175
+ "showAtZoom": 5
176
+ },
177
+ // New levels from Keeran
178
+ {
179
+ "id": "UBERON:0001736",
180
+ "name": "Submandibular gland",
181
+ "showAtZoom": microscopic,
182
+ "keyword": true
183
+ },
184
+ {
185
+ "id": "UBERON:0001103",
186
+ "name": "Diaphragm",
187
+ "showAtZoom": mesoscopic,
188
+ "keyword": true
189
+ },
190
+ {
191
+ "id": "UBERON:0001160",
192
+ "name": "Fundus of stomach",
193
+ "showAtZoom": mesoscopic,
194
+ "keyword": true
195
+ },
196
+ {
197
+ "id": "UBERON:0000955",
198
+ "name": "Brain",
199
+ "showAtZoom": mesoscopic,
200
+ "keyword": true
201
+ },
202
+ {
203
+ "id": "UBERON:0003708",
204
+ "name": "Carotid sinus",
205
+ "showAtZoom": microscopic,
206
+ "keyword": true
207
+ },
208
+ {
209
+ "id": "UBERON:0002079",
210
+ "name": "Left cardiac atrium",
211
+ "showAtZoom": mesoscopic,
212
+ "keyword": true
213
+ },
214
+ {
215
+ "id": "ILX:0485722",
216
+ "name": "Nodose ganglion",
217
+ "showAtZoom": microscopic,
218
+ "keyword": true
219
+ },
220
+ {
221
+ "id": "UBERON:0002078",
222
+ "name": "Right cardiac atrium",
223
+ "showAtZoom": mesoscopic,
224
+ "keyword": true
225
+ },
226
+ {
227
+ "id": "UBERON:0002084",
228
+ "name": "Heart left ventricle",
229
+ "showAtZoom": mesoscopic,
230
+ "keyword": true
231
+ },
232
+ {
233
+ "id": "UBERON:0002080",
234
+ "name": "Heart right ventricle",
235
+ "showAtZoom": mesoscopic,
236
+ "keyword": true
237
+ },
238
+ {
239
+ "id": "UBERON:0001508",
240
+ "name": "Arch of Aorta",
241
+ "showAtZoom": mesoscopic,
242
+ "keyword": true
243
+ },
244
+ {
245
+ "id": "UBERON:0001738",
246
+ "name": "Thyroid cartilage",
247
+ "showAtZoom": mesoscopic,
248
+ "keyword": true
249
+ },
250
+ {
251
+ "id": "UBERON:0000388",
252
+ "name": "Epiglottis",
253
+ "showAtZoom": mesoscopic,
254
+ "keyword": true
255
+ },
256
256
  ]