@abi-software/mapintegratedvuer 0.7.2-vue3.0-alpha.0 → 1.0.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 -150
  3. package/assets/styleguide.css +19 -19
  4. package/cypress.config.js +23 -23
  5. package/dist/index.html +17 -17
  6. package/dist/mapintegratedvuer.js +74203 -73758
  7. package/dist/mapintegratedvuer.umd.cjs +878 -515
  8. package/dist/style.css +1 -1
  9. package/package.json +134 -135
  10. package/public/index.html +17 -17
  11. package/reporter-config.json +9 -9
  12. package/src/App.vue +245 -245
  13. package/src/assets/_variables.scss +43 -43
  14. package/src/assets/fonts/mapicon-species.eot +0 -0
  15. package/src/assets/fonts/mapicon-species.ttf +0 -0
  16. package/src/assets/fonts/mapicon-species.woff +0 -0
  17. package/src/assets/header-icon.scss +67 -67
  18. package/src/assets/mapicon-species-style.css +41 -41
  19. package/src/assets/styles.scss +9 -9
  20. package/src/components/ContentBar.vue +376 -376
  21. package/src/components/ContentVuer.vue +217 -217
  22. package/src/components/ContextCard.vue +385 -385
  23. package/src/components/ContextHelp.vue +73 -73
  24. package/src/components/CustomSplitter.vue +151 -151
  25. package/src/components/DatasetHeader.vue +97 -97
  26. package/src/components/DialogToolbarContent.vue +464 -464
  27. package/src/components/EventBus.js +3 -3
  28. package/src/components/FlatmapContextCard.vue +134 -134
  29. package/src/components/MapContent.vue +328 -333
  30. package/src/components/ResizeSensor.vue +47 -47
  31. package/src/components/SearchControls.vue +115 -115
  32. package/src/components/SimulatedData.js +721 -721
  33. package/src/components/SplitDialog.vue +287 -287
  34. package/src/components/SplitFlow.vue +414 -414
  35. package/src/components/index.js +7 -7
  36. package/src/components/markerZoomLevelsHardCoded.js +255 -255
  37. package/src/components/scripts/utilities.js +173 -173
  38. package/src/components/viewers/Flatmap.vue +145 -145
  39. package/src/components/viewers/Iframe.vue +31 -31
  40. package/src/components/viewers/MultiFlatmap.vue +384 -384
  41. package/src/components/viewers/Plot.vue +23 -23
  42. package/src/components/viewers/Scaffold.vue +198 -198
  43. package/src/components/viewers/Simulation.vue +21 -21
  44. package/src/icons/yellowstar.js +1 -1
  45. package/src/main.js +31 -31
  46. package/src/mixins/ContentMixin.js +438 -438
  47. package/src/mixins/DynamicMarkerMixin.js +88 -88
  48. package/src/mixins/S3Bucket.vue +37 -37
  49. package/src/stores/entries.js +40 -40
  50. package/src/stores/index.js +23 -23
  51. package/src/stores/settings.js +144 -144
  52. package/src/stores/splitFlow.js +523 -523
  53. package/static.json +7 -7
  54. package/vite.config.js +70 -70
  55. package/vite.static-build.js +12 -12
  56. package/vitest.workspace.js +3 -3
  57. package/vuese-generator.js +65 -65
  58. package/assets/gazelle-icons-no-background.css +0 -32
  59. package/dist/matterport.pdf +0 -0
  60. package/dist/test.txt +0 -0
  61. package/public/matterport.pdf +0 -0
  62. package/public/test.txt +0 -0
  63. package/q.json +0 -690
  64. package/src/mixins/RetrieveContextCardMixin.js +0 -82
  65. package/tsconfig.json +0 -19
@@ -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>