@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.
- package/LICENSE +201 -201
- package/README.md +150 -142
- package/assets/gazelle-icons-no-background.css +32 -0
- package/assets/styleguide.css +19 -19
- package/cypress.config.js +23 -23
- package/dist/index.html +17 -17
- package/dist/mapintegratedvuer.js +60394 -59859
- package/dist/mapintegratedvuer.umd.cjs +515 -907
- package/dist/matterport.pdf +0 -0
- package/dist/style.css +1 -1
- package/dist/test.txt +0 -0
- package/package.json +135 -136
- package/public/index.html +17 -17
- package/public/matterport.pdf +0 -0
- package/public/test.txt +0 -0
- package/q.json +690 -0
- package/reporter-config.json +9 -9
- package/src/App.vue +245 -245
- package/src/assets/_variables.scss +43 -43
- package/src/assets/fonts/mapicon-species.eot +0 -0
- package/src/assets/fonts/mapicon-species.ttf +0 -0
- package/src/assets/fonts/mapicon-species.woff +0 -0
- package/src/assets/header-icon.scss +67 -67
- package/src/assets/mapicon-species-style.css +41 -41
- package/src/assets/styles.scss +9 -9
- package/src/components/ContentBar.vue +376 -376
- package/src/components/ContentVuer.vue +217 -217
- package/src/components/ContextCard.vue +385 -385
- package/src/components/ContextHelp.vue +73 -73
- package/src/components/CustomSplitter.vue +151 -151
- package/src/components/DatasetHeader.vue +97 -97
- package/src/components/DialogToolbarContent.vue +464 -464
- package/src/components/EventBus.js +3 -3
- package/src/components/FlatmapContextCard.vue +134 -134
- package/src/components/MapContent.vue +333 -285
- package/src/components/ResizeSensor.vue +47 -47
- package/src/components/SearchControls.vue +115 -115
- package/src/components/SimulatedData.js +721 -721
- package/src/components/SplitDialog.vue +287 -287
- package/src/components/SplitFlow.vue +414 -414
- package/src/components/index.js +7 -7
- package/src/components/markerZoomLevelsHardCoded.js +255 -255
- package/src/components/scripts/utilities.js +173 -173
- package/src/components/viewers/Flatmap.vue +145 -145
- package/src/components/viewers/Iframe.vue +31 -31
- package/src/components/viewers/MultiFlatmap.vue +384 -384
- package/src/components/viewers/Plot.vue +23 -23
- package/src/components/viewers/Scaffold.vue +198 -198
- package/src/components/viewers/Simulation.vue +21 -21
- package/src/icons/yellowstar.js +1 -1
- package/src/main.js +32 -22
- package/src/mixins/ContentMixin.js +438 -438
- package/src/mixins/DynamicMarkerMixin.js +88 -88
- package/src/mixins/RetrieveContextCardMixin.js +82 -0
- package/src/mixins/S3Bucket.vue +37 -37
- package/src/stores/entries.js +40 -40
- package/src/stores/index.js +24 -16
- package/src/stores/settings.js +144 -144
- package/src/stores/splitFlow.js +523 -523
- package/static.json +7 -7
- package/tsconfig.json +19 -0
- package/vite.config.js +70 -66
- package/vite.static-build.js +12 -12
- package/vitest.workspace.js +3 -3
- package/vuese-generator.js +65 -0
@@ -1,47 +1,47 @@
|
|
1
|
-
<template>
|
2
|
-
<div
|
3
|
-
style="height: 100%; width: 100%; position:absolute"
|
4
|
-
ref="display"
|
5
|
-
/>
|
6
|
-
</template>
|
7
|
-
|
8
|
-
<script>
|
9
|
-
/* eslint-disable no-alert, no-console */
|
10
|
-
import ResizeSensor from "css-element-queries/src/ResizeSensor";
|
11
|
-
|
12
|
-
export default {
|
13
|
-
name: "ResizeSensor",
|
14
|
-
methods: {
|
15
|
-
activate: function() {
|
16
|
-
if (!this._sensor) {
|
17
|
-
this._sensor = new ResizeSensor(this.$refs.display, this.displayResize);
|
18
|
-
this.displayResize();
|
19
|
-
}
|
20
|
-
},
|
21
|
-
deactivate: function() {
|
22
|
-
if (this._sensor) {
|
23
|
-
this._sensor.detach(this.$refs.display, this.displayResize);
|
24
|
-
delete this._sensor;
|
25
|
-
this._sensor = undefined;
|
26
|
-
this.displayResize();
|
27
|
-
}
|
28
|
-
},
|
29
|
-
displayResize: function() {
|
30
|
-
this.$emit("resize");
|
31
|
-
},
|
32
|
-
},
|
33
|
-
unmounted() {
|
34
|
-
this.deactivate();
|
35
|
-
},
|
36
|
-
activated() {
|
37
|
-
this.activate();
|
38
|
-
},
|
39
|
-
deactivated() {
|
40
|
-
this.deactivate();
|
41
|
-
},
|
42
|
-
mounted: function () {
|
43
|
-
this.activate();
|
44
|
-
}
|
45
|
-
};
|
46
|
-
</script>
|
47
|
-
|
1
|
+
<template>
|
2
|
+
<div
|
3
|
+
style="height: 100%; width: 100%; position:absolute"
|
4
|
+
ref="display"
|
5
|
+
/>
|
6
|
+
</template>
|
7
|
+
|
8
|
+
<script>
|
9
|
+
/* eslint-disable no-alert, no-console */
|
10
|
+
import ResizeSensor from "css-element-queries/src/ResizeSensor";
|
11
|
+
|
12
|
+
export default {
|
13
|
+
name: "ResizeSensor",
|
14
|
+
methods: {
|
15
|
+
activate: function() {
|
16
|
+
if (!this._sensor) {
|
17
|
+
this._sensor = new ResizeSensor(this.$refs.display, this.displayResize);
|
18
|
+
this.displayResize();
|
19
|
+
}
|
20
|
+
},
|
21
|
+
deactivate: function() {
|
22
|
+
if (this._sensor) {
|
23
|
+
this._sensor.detach(this.$refs.display, this.displayResize);
|
24
|
+
delete this._sensor;
|
25
|
+
this._sensor = undefined;
|
26
|
+
this.displayResize();
|
27
|
+
}
|
28
|
+
},
|
29
|
+
displayResize: function() {
|
30
|
+
this.$emit("resize");
|
31
|
+
},
|
32
|
+
},
|
33
|
+
unmounted() {
|
34
|
+
this.deactivate();
|
35
|
+
},
|
36
|
+
activated() {
|
37
|
+
this.activate();
|
38
|
+
},
|
39
|
+
deactivated() {
|
40
|
+
this.deactivate();
|
41
|
+
},
|
42
|
+
mounted: function () {
|
43
|
+
this.activate();
|
44
|
+
}
|
45
|
+
};
|
46
|
+
</script>
|
47
|
+
|
@@ -1,115 +1,115 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="search-container">
|
3
|
-
<div class="text search-text">
|
4
|
-
Search within display
|
5
|
-
</div>
|
6
|
-
<el-autocomplete class="search-box" placeholder="Search"
|
7
|
-
v-model="searchText"
|
8
|
-
:fetch-suggestions="fetchSuggestions"
|
9
|
-
@keyup.enter="$emit('search', searchText)"
|
10
|
-
@select="$emit('search', $event.value)"
|
11
|
-
:teleported=false
|
12
|
-
popper-class="autocomplete-popper">
|
13
|
-
</el-autocomplete>
|
14
|
-
<map-svg-icon icon="magnifyingGlass" class="magnify"
|
15
|
-
@click="$emit('search', searchText)"/>
|
16
|
-
<div v-if="failedSearch" class="text not-found-text">
|
17
|
-
'{{failedSearch}}' not found
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
</template>
|
21
|
-
|
22
|
-
<script>
|
23
|
-
/* eslint-disable no-alert, no-console */
|
24
|
-
import { MapSvgIcon } from '@abi-software/svg-sprite';
|
25
|
-
import {
|
26
|
-
ElAutocomplete as Autocomplete
|
27
|
-
} from "element-plus";
|
28
|
-
|
29
|
-
export default {
|
30
|
-
name: "SearchControls",
|
31
|
-
props: {
|
32
|
-
failedSearch: undefined,
|
33
|
-
},
|
34
|
-
components: {
|
35
|
-
Autocomplete,
|
36
|
-
MapSvgIcon,
|
37
|
-
},
|
38
|
-
methods: {
|
39
|
-
fetchSuggestions: function(term, cb) {
|
40
|
-
if (term === "") {
|
41
|
-
cb([]);
|
42
|
-
} else {
|
43
|
-
this.$emit('fetch-suggestions', { term, cb });
|
44
|
-
}
|
45
|
-
},
|
46
|
-
},
|
47
|
-
data: function () {
|
48
|
-
return {
|
49
|
-
searchText: "",
|
50
|
-
};
|
51
|
-
},
|
52
|
-
};
|
53
|
-
</script>
|
54
|
-
|
55
|
-
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
56
|
-
<style scoped lang="scss">
|
57
|
-
.search-container {
|
58
|
-
display:flex;
|
59
|
-
flex-direction: row;
|
60
|
-
|
61
|
-
.text {
|
62
|
-
margin-left: 8px;
|
63
|
-
margin-top: 7px;
|
64
|
-
font-weight: 500;
|
65
|
-
-moz-user-select: none;
|
66
|
-
-webkit-user-select: none;
|
67
|
-
-ms-user-select: none;
|
68
|
-
user-select: none;
|
69
|
-
line-height:18px;
|
70
|
-
}
|
71
|
-
.search-text {
|
72
|
-
margin-top: 8px;
|
73
|
-
color: $grey;
|
74
|
-
font-size: 14px;
|
75
|
-
margin-left: 1rem;
|
76
|
-
}
|
77
|
-
.not-found-text {
|
78
|
-
margin-top: 8px;
|
79
|
-
color: $warning;
|
80
|
-
font-size: 0.8rem;
|
81
|
-
margin-left: 0.5rem;
|
82
|
-
}
|
83
|
-
:deep(.search-box) {
|
84
|
-
margin-top: 2px;
|
85
|
-
margin-left:0.5rem;
|
86
|
-
height:28px;
|
87
|
-
width:137px;
|
88
|
-
.el-input__inner {
|
89
|
-
height:26px;
|
90
|
-
line-height:28px;
|
91
|
-
border-radius: 4px;
|
92
|
-
&:focus {
|
93
|
-
border-color: $app-primary-color;
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
.magnify {
|
98
|
-
margin-top: 2px;
|
99
|
-
margin-left:0.5rem;
|
100
|
-
background: $app-primary-color;
|
101
|
-
border-radius: 4px;
|
102
|
-
height:28px;
|
103
|
-
width:28px;
|
104
|
-
cursor: pointer;
|
105
|
-
&:hover {
|
106
|
-
box-shadow: -3px 2px 4px 0 rgba(0,0,0,0.25);
|
107
|
-
}
|
108
|
-
}
|
109
|
-
:deep(.autocomplete-popper) {
|
110
|
-
min-width:137px!important;
|
111
|
-
width: auto!important;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
|
115
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div class="search-container">
|
3
|
+
<div class="text search-text">
|
4
|
+
Search within display
|
5
|
+
</div>
|
6
|
+
<el-autocomplete class="search-box" placeholder="Search"
|
7
|
+
v-model="searchText"
|
8
|
+
:fetch-suggestions="fetchSuggestions"
|
9
|
+
@keyup.enter="$emit('search', searchText)"
|
10
|
+
@select="$emit('search', $event.value)"
|
11
|
+
:teleported=false
|
12
|
+
popper-class="autocomplete-popper">
|
13
|
+
</el-autocomplete>
|
14
|
+
<map-svg-icon icon="magnifyingGlass" class="magnify"
|
15
|
+
@click="$emit('search', searchText)"/>
|
16
|
+
<div v-if="failedSearch" class="text not-found-text">
|
17
|
+
'{{failedSearch}}' not found
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</template>
|
21
|
+
|
22
|
+
<script>
|
23
|
+
/* eslint-disable no-alert, no-console */
|
24
|
+
import { MapSvgIcon } from '@abi-software/svg-sprite';
|
25
|
+
import {
|
26
|
+
ElAutocomplete as Autocomplete
|
27
|
+
} from "element-plus";
|
28
|
+
|
29
|
+
export default {
|
30
|
+
name: "SearchControls",
|
31
|
+
props: {
|
32
|
+
failedSearch: undefined,
|
33
|
+
},
|
34
|
+
components: {
|
35
|
+
Autocomplete,
|
36
|
+
MapSvgIcon,
|
37
|
+
},
|
38
|
+
methods: {
|
39
|
+
fetchSuggestions: function(term, cb) {
|
40
|
+
if (term === "") {
|
41
|
+
cb([]);
|
42
|
+
} else {
|
43
|
+
this.$emit('fetch-suggestions', { term, cb });
|
44
|
+
}
|
45
|
+
},
|
46
|
+
},
|
47
|
+
data: function () {
|
48
|
+
return {
|
49
|
+
searchText: "",
|
50
|
+
};
|
51
|
+
},
|
52
|
+
};
|
53
|
+
</script>
|
54
|
+
|
55
|
+
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
56
|
+
<style scoped lang="scss">
|
57
|
+
.search-container {
|
58
|
+
display:flex;
|
59
|
+
flex-direction: row;
|
60
|
+
|
61
|
+
.text {
|
62
|
+
margin-left: 8px;
|
63
|
+
margin-top: 7px;
|
64
|
+
font-weight: 500;
|
65
|
+
-moz-user-select: none;
|
66
|
+
-webkit-user-select: none;
|
67
|
+
-ms-user-select: none;
|
68
|
+
user-select: none;
|
69
|
+
line-height:18px;
|
70
|
+
}
|
71
|
+
.search-text {
|
72
|
+
margin-top: 8px;
|
73
|
+
color: $grey;
|
74
|
+
font-size: 14px;
|
75
|
+
margin-left: 1rem;
|
76
|
+
}
|
77
|
+
.not-found-text {
|
78
|
+
margin-top: 8px;
|
79
|
+
color: $warning;
|
80
|
+
font-size: 0.8rem;
|
81
|
+
margin-left: 0.5rem;
|
82
|
+
}
|
83
|
+
:deep(.search-box) {
|
84
|
+
margin-top: 2px;
|
85
|
+
margin-left:0.5rem;
|
86
|
+
height:28px;
|
87
|
+
width:137px;
|
88
|
+
.el-input__inner {
|
89
|
+
height:26px;
|
90
|
+
line-height:28px;
|
91
|
+
border-radius: 4px;
|
92
|
+
&:focus {
|
93
|
+
border-color: $app-primary-color;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
.magnify {
|
98
|
+
margin-top: 2px;
|
99
|
+
margin-left:0.5rem;
|
100
|
+
background: $app-primary-color;
|
101
|
+
border-radius: 4px;
|
102
|
+
height:28px;
|
103
|
+
width:28px;
|
104
|
+
cursor: pointer;
|
105
|
+
&:hover {
|
106
|
+
box-shadow: -3px 2px 4px 0 rgba(0,0,0,0.25);
|
107
|
+
}
|
108
|
+
}
|
109
|
+
:deep(.autocomplete-popper) {
|
110
|
+
min-width:137px!important;
|
111
|
+
width: auto!important;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
</style>
|