@abi-software/flatmapvuer 0.3.1 → 0.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "main": "./dist/flatmapvuer.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -9,25 +9,49 @@
9
9
  <map-svg-sprite-color />
10
10
  <div style="height:100%;width:100%;position:relative;overflow-y:none">
11
11
  <div style="height:100%;width:100%;" ref="display"></div>
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
- >
29
- <span class="warning-text">Beta</span>
30
- </i>
12
+ <div class="beta-popovers">
13
+ <div>
14
+ <el-popover
15
+ :content="warningMessage"
16
+ placement="right"
17
+ v-if="displayWarning"
18
+ :appendToBody="false"
19
+ trigger="manual"
20
+ popper-class="warning-popper flatmap-popper right-popper"
21
+ v-model="hoverVisibilities[6].value"
22
+ ref="warningPopover"
23
+ ></el-popover>
24
+ <i
25
+ class="el-icon-warning warning-icon"
26
+ v-if="displayWarning"
27
+ @mouseover="showToolitip(6)"
28
+ @mouseout="hideToolitip(6)"
29
+ v-popover:warningPopover
30
+ >
31
+ <span class="warning-text">Beta</span>
32
+ </i>
33
+ </div>
34
+ <el-popover
35
+ :content="latestChangesMessage"
36
+ placement="right"
37
+ v-if="displayLatestChanges"
38
+ :appendToBody="false"
39
+ trigger="manual"
40
+ popper-class="warning-popper flatmap-popper right-popper"
41
+ v-model="hoverVisibilities[7].value"
42
+ ref="latestChangesPopover"
43
+ ></el-popover>
44
+ <i
45
+ class="el-icon-warning latest-changesicon"
46
+ v-if="displayLatestChanges"
47
+ @mouseover="showToolitip(7)"
48
+ @mouseout="hideToolitip(7)"
49
+ v-popover:latestChangesPopover
50
+ >
51
+ <span class="warning-text">What's new?</span>
52
+ </i>
53
+ </div>
54
+
31
55
  <div class="bottom-right-control">
32
56
  <el-popover
33
57
  content="Zoom in"
@@ -709,9 +733,12 @@ export default {
709
733
  { value: false },
710
734
  { value: false },
711
735
  { value: false },
736
+ { value: false },
712
737
  { value: false }
713
738
  ],
714
739
  inHelp: false,
740
+ displayLatestChanges: true,
741
+ latestChangesMessage: "Bladder connectivity can now be explored and searched on when selected! To see it, click on any of the paths coming from the bladder. Other pathways will be searchable soon.",
715
742
  currentBackground: "white",
716
743
  availableBackground: ["white", "lightskyblue", "black"],
717
744
  loading: false,
@@ -753,12 +780,15 @@ export default {
753
780
  @import "~element-ui/packages/theme-chalk/src/loading";
754
781
  @import "~element-ui/packages/theme-chalk/src/row";
755
782
 
756
- .warning-icon {
783
+ .beta-popovers{
757
784
  position: absolute;
758
785
  top: 90px;
759
- left: 37px;
786
+ left: 16px;
760
787
  text-align: left;
761
- font-size: 25px;
788
+ font-size: 25px;
789
+ }
790
+
791
+ .warning-icon {
762
792
  color: $warning;
763
793
 
764
794
  &:hover {
@@ -767,6 +797,21 @@ export default {
767
797
  }
768
798
 
769
799
  .warning-text {
800
+ font-family: Asap, sans-serif;
801
+ font-size: 15px;
802
+ vertical-align: 5px;
803
+ }
804
+
805
+ .latest-changesicon {
806
+ color: $success;
807
+
808
+ &:hover {
809
+ cursor: pointer;
810
+ }
811
+ }
812
+
813
+ .latest-changestext {
814
+ font-family: Asap, sans-serif;
770
815
  font-size: 15px;
771
816
  vertical-align: 5px;
772
817
  }