@abi-software/flatmapvuer 1.4.3-image.0 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "1.4.3-image.0",
3
+ "version": "1.4.4",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist/*",
@@ -43,8 +43,8 @@
43
43
  "./src/*": "./src/*"
44
44
  },
45
45
  "dependencies": {
46
- "@abi-software/flatmap-viewer": "3.1.7",
47
- "@abi-software/map-utilities": "^1.1.0-beta.2",
46
+ "@abi-software/flatmap-viewer": "3.1.8",
47
+ "@abi-software/map-utilities": "1.1.0",
48
48
  "@abi-software/sparc-annotation": "0.3.1",
49
49
  "@abi-software/svg-sprite": "1.0.0",
50
50
  "@element-plus/icons-vue": "^2.3.1",
@@ -59,7 +59,7 @@
59
59
  "@cypress/webpack-dev-server": "^3.6.1",
60
60
  "@vitejs/plugin-vue": "^4.6.2",
61
61
  "@vuese/markdown-render": "^2.11.3",
62
- "@vuese/parser": "^2.9.1",
62
+ "@vuese/parser": "^2.10.3",
63
63
  "auto-changelog": "^2.4.0",
64
64
  "babel-eslint": "^10.1.0",
65
65
  "chokidar": "^3.6.0",
@@ -92,8 +92,5 @@
92
92
  "browserslist": [
93
93
  "> 1%",
94
94
  "last 2 versions"
95
- ],
96
- "optionalDependencies": {
97
- "@rollup/rollup-linux-x64-gnu": "^4.21.1"
98
- }
95
+ ]
99
96
  }
package/src/App.vue CHANGED
@@ -77,7 +77,6 @@
77
77
  :displayMinimap="true"
78
78
  :enableOpenMapUI="true"
79
79
  :flatmapAPI="flatmapAPI"
80
- :sparcAPI="sparcAPI"
81
80
  :disableUI="disableUI"
82
81
  @open-pubmed-url="onOpenPubmedUrl"
83
82
  @pathway-selection-changed="onPathwaySelectionChanged"
@@ -110,9 +109,6 @@ import './icons/mapicon-species-style.css'
110
109
  import MultiFlatmapVuer from './components/MultiFlatmapVuer.vue'
111
110
  import { HelpModeDialog } from '@abi-software/map-utilities'
112
111
  import '@abi-software/map-utilities/dist/style.css'
113
- import { mapStores } from 'pinia';
114
- import { useSettingsStore } from './stores/settings';
115
- import { getOrganCuries } from './services/scicrunchQueries'
116
112
 
117
113
  export default {
118
114
  name: 'app',
@@ -149,7 +145,6 @@ export default {
149
145
  if (this.consoleOn) console.log(component)
150
146
  let taxon = component.mapImp.describes
151
147
  let id = component.mapImp.addMarker('UBERON:0000948')
152
-
153
148
  window.flatmapImp = component.mapImp
154
149
  component.enablePanZoomEvents(true)
155
150
  //component.showPathwaysDrawer(false);
@@ -290,7 +285,6 @@ export default {
290
285
  useHelpModeDialog: true,
291
286
  multiflatmapRef: null,
292
287
  mapSettings: [],
293
- sparcAPI: import.meta.env.VITE_SPARC_API,
294
288
  //flatmapAPI: "https://mapcore-demo.org/current/flatmap/v2/"
295
289
  //flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v3/"
296
290
  flatmapAPI: "https://mapcore-demo.org/current/flatmap/v3/",
@@ -299,17 +293,11 @@ export default {
299
293
  //flatmapAPI: "https://mapcore-demo.org/fccb/flatmap/"
300
294
  //flatmapAPI: "https://mapcore-demo.org/staging/flatmap/v1/"
301
295
  // flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v1/",
302
- ElIconSetting: shallowRef(ElIconSetting),
296
+ ElIconSetting: shallowRef(ElIconSetting)
303
297
  }
304
298
  },
305
299
  mounted: function () {
306
300
  this.multiflatmapRef = this.$refs.multi;
307
- if (this.sparcAPI) {
308
- getOrganCuries(this.sparcAPI).then((organCuries) => this.settingsStore.updateOrganCuries(organCuries))
309
- }
310
- },
311
- computed: {
312
- ...mapStores(useSettingsStore),
313
301
  },
314
302
  watch: {
315
303
  helpMode: function (newVal) {
@@ -438,7 +438,7 @@ Please use `const` to assign meaningful names to them...
438
438
  ref="backgroundPopover"
439
439
  :virtual-ref="backgroundIconRef"
440
440
  placement="top-start"
441
- width="330"
441
+ width="320"
442
442
  :teleported="false"
443
443
  trigger="click"
444
444
  popper-class="background-popper h-auto"
@@ -465,14 +465,13 @@ Please use `const` to assign meaningful names to them...
465
465
  </el-row>
466
466
  </el-row>
467
467
  <template v-if="viewingMode === 'Annotation' && userInformation">
468
- <el-row class="backgroundSpacer"></el-row>
469
468
  <el-row class="backgroundText">Drawn By*</el-row>
470
469
  <el-row class="backgroundControl">
471
470
  <el-select
472
471
  :teleported="false"
473
472
  v-model="drawnType"
474
473
  placeholder="Select"
475
- class="select-box annotationSelector"
474
+ class="select-box"
476
475
  popper-class="flatmap_dropdown"
477
476
  @change="setDrawnType"
478
477
  >
@@ -488,14 +487,13 @@ Please use `const` to assign meaningful names to them...
488
487
  </el-option>
489
488
  </el-select>
490
489
  </el-row>
491
- <el-row class="backgroundSpacer"></el-row>
492
490
  <el-row class="backgroundText">Annotated By*</el-row>
493
491
  <el-row class="backgroundControl">
494
492
  <el-select
495
493
  :teleported="false"
496
494
  v-model="annotatedType"
497
495
  placeholder="Select"
498
- class="select-box annotationSelector"
496
+ class="select-box"
499
497
  popper-class="flatmap_dropdown"
500
498
  @change="setAnnotatedType"
501
499
  >
@@ -512,59 +510,18 @@ Please use `const` to assign meaningful names to them...
512
510
  </el-select>
513
511
  </el-row>
514
512
  </template>
515
- <template v-if="viewingMode === 'Exploration' && !isFC && sparcAPI">
516
- <el-row class="backgroundSpacer"></el-row>
517
- <el-row class="backgroundText">Markers display</el-row>
518
- <el-row class="backgroundControl">
519
- <el-col :span="14">
520
- <el-radio-group
521
- v-model="imageRadio"
522
- class="flatmap-radio"
523
- :disabled="imagesDownloading"
524
- @change="setImage"
525
- >
526
- <el-radio :label="false">Standard</el-radio>
527
- <el-radio :label="true">Image</el-radio>
528
- </el-radio-group>
529
- </el-col>
530
- <el-col :span="10" v-if="imageRadio">
531
- <el-select
532
- :teleported="false"
533
- v-model="imageType"
534
- placeholder="Select"
535
- class="select-box imageSelector"
536
- popper-class="flatmap_dropdown"
537
- :disabled="imagesDownloading"
538
- @change="setImageType"
539
- >
540
- <el-option
541
- v-for="item in imageTypes"
542
- :key="item"
543
- :label="item"
544
- :value="item"
545
- >
546
- <el-row>
547
- <el-col :span="12">{{ item }}</el-col>
548
- </el-row>
549
- </el-option>
550
- </el-select>
551
- </el-col>
552
- </el-row>
553
- </template>
554
- <template v-if="displayFlightPathOption">
555
- <el-row class="backgroundSpacer"></el-row>
556
- <el-row class="backgroundText">Flight path display</el-row>
557
- <el-row class="backgroundControl">
558
- <el-radio-group
559
- v-model="flightPath3DRadio"
560
- class="flatmap-radio"
561
- @change="setFlightPath3D"
562
- >
563
- <el-radio :label="false">2D</el-radio>
564
- <el-radio :label="true">3D</el-radio>
565
- </el-radio-group>
566
- </el-row>
567
- </template>
513
+ <el-row class="backgroundSpacer" v-if="displayFlightPathOption"></el-row>
514
+ <el-row class="backgroundText" v-if="displayFlightPathOption">Flight path display</el-row>
515
+ <el-row class="backgroundControl" v-if="displayFlightPathOption">
516
+ <el-radio-group
517
+ v-model="flightPath3DRadio"
518
+ class="flatmap-radio"
519
+ @change="setFlightPath3D"
520
+ >
521
+ <el-radio :label="false">2D</el-radio>
522
+ <el-radio :label="true">3D</el-radio>
523
+ </el-radio-group>
524
+ </el-row>
568
525
  <el-row class="backgroundSpacer"></el-row>
569
526
  <el-row class="backgroundText">Organs display</el-row>
570
527
  <el-row class="backgroundControl">
@@ -665,10 +622,9 @@ Please use `const` to assign meaningful names to them...
665
622
  ref="tooltip"
666
623
  class="tooltip"
667
624
  v-show="tooltipDisplay"
668
- :tooltipType="tooltipType"
669
- :provenanceEntry="provenanceEntry"
670
625
  :annotationEntry="annotationEntry"
671
- :imageEntry="imageEntry"
626
+ :tooltipEntry="tooltipEntry"
627
+ :annotationDisplay="viewingMode === 'Annotation'"
672
628
  @annotation="commitAnnotationEvent"
673
629
  />
674
630
  </div>
@@ -707,18 +663,10 @@ import yellowstar from '../icons/yellowstar'
707
663
  import ResizeSensor from 'css-element-queries/src/ResizeSensor'
708
664
  import * as flatmap from '@abi-software/flatmap-viewer'
709
665
  import { AnnotationService } from '@abi-software/sparc-annotation'
710
- import { mapState, mapStores } from 'pinia'
711
- import { useMainStore } from '@/stores/index'
712
- import { useSettingsStore } from '@/stores/settings'
666
+ import { mapState } from 'pinia'
667
+ import { useMainStore } from '@/store/index'
713
668
  import { DrawToolbar, Tooltip, TreeControls } from '@abi-software/map-utilities'
714
669
  import '@abi-software/map-utilities/dist/style.css'
715
- import {
716
- getBiolucidaThumbnails,
717
- getSegmentationThumbnails,
718
- getScaffoldThumbnails,
719
- getPlotThumbnails
720
- } from '../services/scicrunchQueries'
721
- import imageMixin from '../mixins/imageMixin'
722
670
 
723
671
  const centroid = (geometry) => {
724
672
  let featureGeometry = { lng: 0, lat: 0, }
@@ -807,7 +755,6 @@ const createUnfilledTooltipData = function () {
807
755
  */
808
756
  export default {
809
757
  name: 'FlatmapVuer',
810
- mixins:[imageMixin],
811
758
  components: {
812
759
  Button,
813
760
  Col,
@@ -840,71 +787,6 @@ export default {
840
787
  return { annotator }
841
788
  },
842
789
  methods: {
843
- /**
844
- * @vuese
845
- * Function to add image thumbnails to the map.
846
- */
847
- populateImageThumbnails: async function (type) {
848
- if (this.mapImp) {
849
- this.closeTooltip()
850
- this.mapImp.clearMarkers();
851
- const identifiers = this.mapImp.anatomicalIdentifiers
852
- const imageThumbnails = this.settingsStore.getImageThumbnails(type, identifiers)
853
- this.populateMapWithImages(this.mapImp, imageThumbnails, type)
854
- }
855
- },
856
- /**
857
- * @vuese
858
- * Function to fetching image thumbnails.
859
- */
860
- fetchImageThumbnails: async function (type) {
861
- let thumbnails = {}
862
- const organCuries = this.settingsStore.organCuries
863
- if (type === 'Image') {
864
- thumbnails = await getBiolucidaThumbnails(this.sparcAPI, organCuries, type)
865
- } else if (type === 'Segmentation') {
866
- thumbnails = await getSegmentationThumbnails(this.sparcAPI, organCuries, type)
867
- } else if (type === 'Scaffold') {
868
- thumbnails = await getScaffoldThumbnails(this.sparcAPI, organCuries, type)
869
- } else if (type === 'Plot') {
870
- thumbnails = await getPlotThumbnails(this.sparcAPI, organCuries, type)
871
- }
872
- this.settingsStore.updateImageThumbnails(type, thumbnails)
873
- },
874
- /**
875
- * @vuese
876
- * Function to switch the type of displayed image.
877
- * @arg type
878
- */
879
- setImageType: async function (type) {
880
- this.imageType = type
881
- if (this.mapImp) {
882
- this.imagesDownloading = true;
883
- if (!this.settingsStore.imageTypeCached(type)) {
884
- this.loading = true
885
- await this.fetchImageThumbnails(type)
886
- this.loading = false
887
- }
888
- this.populateImageThumbnails(type)
889
- }
890
- },
891
- /**
892
- * @vuese
893
- * Function to switch show or hide images.
894
- * @arg flag
895
- */
896
- setImage: function (flag) {
897
- this.imageRadio = flag
898
- if (this.mapImp) {
899
- if (flag) {
900
- this.setImageType(this.imageType)
901
- } else {
902
- this.mapImp.clearMarkers();
903
- this.closeTooltip();
904
- }
905
- this.$emit('imageThumbnailDisplay', flag)
906
- }
907
- },
908
790
  /**
909
791
  * @vuese
910
792
  * Function to initialise drawing.
@@ -1773,7 +1655,6 @@ export default {
1773
1655
  userData: args,
1774
1656
  eventType: eventType,
1775
1657
  provenanceTaxonomy: taxons,
1776
- markerType: this.imageRadio ? this.imageType : "Standard",
1777
1658
  }
1778
1659
  if (eventType === 'click') {
1779
1660
  this.featuresAlert = data.alert
@@ -1808,6 +1689,7 @@ export default {
1808
1689
  }
1809
1690
  if (
1810
1691
  data &&
1692
+ data.type !== 'marker' &&
1811
1693
  eventType === 'click' &&
1812
1694
  !(this.viewingMode === 'Neuron Connection') &&
1813
1695
  // Disable popup when drawing
@@ -1841,16 +1723,6 @@ export default {
1841
1723
  * @arg data
1842
1724
  */
1843
1725
  checkAndCreatePopups: async function (data) {
1844
- this.imageEntry = []
1845
- this.provenanceEntry = {}
1846
- if (data.feature.type === 'marker' && this.imageRadio) {
1847
- this.tooltipType = 'image'
1848
- const imageThumbnails = this.settingsStore.getImageThumbnails(this.imageType, [data.resource[0]])
1849
- if (data.resource[0] in imageThumbnails) {
1850
- this.imageEntry = markRaw(imageThumbnails[data.resource[0]])
1851
- }
1852
- this.displayTooltip(data.feature.models)
1853
- } else {
1854
1726
  // Call flatmap database to get the connection data
1855
1727
  if (this.viewingMode === 'Annotation') {
1856
1728
  if (data.feature) {
@@ -1858,7 +1730,6 @@ export default {
1858
1730
  ...data.feature,
1859
1731
  resourceId: this.serverURL,
1860
1732
  }
1861
- this.tooltipType = 'annotation'
1862
1733
  if (data.feature.featureId && data.feature.models) {
1863
1734
  this.displayTooltip(data.feature.models)
1864
1735
  } else if (data.feature.feature) {
@@ -1892,11 +1763,9 @@ export default {
1892
1763
  results[1] ||
1893
1764
  (data.feature.hyperlinks && data.feature.hyperlinks.length > 0)
1894
1765
  ) {
1895
- this.tooltipType = 'provenance'
1896
1766
  this.resourceForTooltip = data.resource[0]
1897
1767
  data.resourceForTooltip = this.resourceForTooltip
1898
1768
  this.createTooltipFromNeuronCuration(data)
1899
- }
1900
1769
  }
1901
1770
  }
1902
1771
  },
@@ -1935,7 +1804,7 @@ export default {
1935
1804
  * @arg data
1936
1805
  */
1937
1806
  createTooltipFromNeuronCuration: async function (data) {
1938
- this.provenanceEntry = await this.flatmapQueries.createTooltipData(data)
1807
+ this.tooltipEntry = await this.flatmapQueries.createTooltipData(data)
1939
1808
  this.displayTooltip(data.resource[0])
1940
1809
  },
1941
1810
  /**
@@ -2136,7 +2005,7 @@ export default {
2136
2005
  options.annotationFeatureGeometry = geometry
2137
2006
  } else {
2138
2007
  featureId = this.mapImp.modelFeatureIds(feature)[0]
2139
- if (!this.activeDrawTool && !this.imageEntry.length) {
2008
+ if (!this.activeDrawTool) {
2140
2009
  options.positionAtLastClick = true
2141
2010
  }
2142
2011
  }
@@ -2148,12 +2017,9 @@ export default {
2148
2017
  // const featureIds = [feature];
2149
2018
  // this.moveMap(featureIds);
2150
2019
  if (this.featuresAlert) {
2151
- this.provenanceEntry['featuresAlert'] = this.featuresAlert;
2020
+ this.tooltipEntry['featuresAlert'] = this.featuresAlert;
2152
2021
  }
2153
- this.$emit('connectivity-info-open', this.provenanceEntry);
2154
- }
2155
- if (this.imageThumbnailSidebar && this.viewingMode === 'Exploration') {
2156
- this.$emit('image-thumbnail-open', this.imageEntry)
2022
+ this.$emit('connectivity-info-open', this.tooltipEntry);
2157
2023
  }
2158
2024
  // If UI is not disabled,
2159
2025
  // And connectivityInfoSidebar is not set (default) or set to `false`
@@ -2164,10 +2030,8 @@ export default {
2164
2030
  this.viewingMode === 'Annotation' ||
2165
2031
  (
2166
2032
  this.viewingMode === 'Exploration' &&
2167
- (
2168
- (!this.connectivityInfoSidebar && this.hasTooltipEntry()) ||
2169
- (!this.imageThumbnailSidebar && this.imageEntry.length)
2170
- )
2033
+ !this.connectivityInfoSidebar &&
2034
+ this.hasTooltipEntry()
2171
2035
  )
2172
2036
  )
2173
2037
  ) {
@@ -2186,7 +2050,7 @@ export default {
2186
2050
  origins,
2187
2051
  provenanceTaxonomy,
2188
2052
  provenanceTaxonomyLabel
2189
- } = this.provenanceEntry;
2053
+ } = this.tooltipEntry;
2190
2054
 
2191
2055
  return Boolean(
2192
2056
  components?.length ||
@@ -2492,7 +2356,7 @@ export default {
2492
2356
  this.computePathControlsMaximumHeight()
2493
2357
  this.drawerOpen = !this.isCentreLine
2494
2358
  this.mapResize()
2495
- this.handleMapClick()
2359
+ this.handleMapClick();
2496
2360
  /**
2497
2361
  * This is ``onFlatmapReady`` event.
2498
2362
  * @arg ``this`` (Component Vue Instance)
@@ -2509,8 +2373,7 @@ export default {
2509
2373
 
2510
2374
  if (_map) {
2511
2375
  _map.on('click', (e) => {
2512
- // Tmeporary add imageEntry length
2513
- if (this.provenanceEntry.featureId || this.imageEntry.length) {
2376
+ if (this.tooltipEntry.featureId) {
2514
2377
  this.$emit('connectivity-info-close');
2515
2378
  }
2516
2379
  });
@@ -2757,12 +2620,12 @@ export default {
2757
2620
  */
2758
2621
  sparcAPI: {
2759
2622
  type: String,
2760
- default: '',
2623
+ default: 'https://api.sparc.science/',
2761
2624
  },
2762
2625
  /**
2763
2626
  * Flag to disable UIs on Map
2764
2627
  */
2765
- disableUI: {
2628
+ disableUI: {
2766
2629
  type: Boolean,
2767
2630
  default: false,
2768
2631
  },
@@ -2773,17 +2636,11 @@ export default {
2773
2636
  type: Boolean,
2774
2637
  default: false,
2775
2638
  },
2776
- /**
2777
- * The option to show image thumbnail in sidebar
2778
- */
2779
- imageThumbnailSidebar: {
2780
- type: Boolean,
2781
- default: false,
2782
- },
2783
2639
  },
2784
2640
  provide() {
2785
2641
  return {
2786
2642
  flatmapAPI: this.flatmapAPI,
2643
+ sparcAPI: this.sparcAPI,
2787
2644
  $annotator: this.annotator,
2788
2645
  getFeaturesAlert: () => this.featuresAlert,
2789
2646
  userApiKey: this.userToken,
@@ -2802,8 +2659,6 @@ export default {
2802
2659
  serverURL: undefined,
2803
2660
  layers: [],
2804
2661
  pathways: [],
2805
- imageEntry: markRaw([]),
2806
- tooltipType: 'provenance',
2807
2662
  sckanDisplay: [
2808
2663
  {
2809
2664
  label: 'Display Path with SCKAN',
@@ -2847,9 +2702,8 @@ export default {
2847
2702
  currentBackground: 'white',
2848
2703
  availableBackground: ['white', 'lightskyblue', 'black'],
2849
2704
  loading: false,
2850
- imagesDownloading: false,
2851
2705
  flatmapMarker: flatmapMarker,
2852
- provenanceEntry: createUnfilledTooltipData(),
2706
+ tooltipEntry: createUnfilledTooltipData(),
2853
2707
  connectivityTooltipVisible: false,
2854
2708
  drawerOpen: false,
2855
2709
  featuresAlert: undefined,
@@ -2872,9 +2726,6 @@ export default {
2872
2726
  drawnTypes: ['All tools', 'Point', 'LineString', 'Polygon', 'None'],
2873
2727
  annotatedType: 'Anyone',
2874
2728
  annotatedTypes: ['Anyone', 'Me', 'Others'],
2875
- imageRadio: false,
2876
- imageType: 'Image',
2877
- imageTypes: ['Image', 'Segmentation', 'Scaffold', 'Plot'],
2878
2729
  openMapRef: undefined,
2879
2730
  backgroundIconRef: undefined,
2880
2731
  toolbarOptions: [
@@ -2912,12 +2763,11 @@ export default {
2912
2763
  with: true,
2913
2764
  without: true,
2914
2765
  }
2915
- }),
2766
+ })
2916
2767
  }
2917
2768
  },
2918
2769
  computed: {
2919
2770
  ...mapState(useMainStore, ['userToken']),
2920
- ...mapStores(useSettingsStore),
2921
2771
  isValidDrawnCreated: function () {
2922
2772
  return Object.keys(this.drawnCreatedEvent).length > 0
2923
2773
  },
@@ -3759,12 +3609,7 @@ export default {
3759
3609
  background-color: var(--white);
3760
3610
  font-weight: 500;
3761
3611
  color: rgb(48, 49, 51);
3762
- &.annotationSelector {
3763
- width: 150px!important;
3764
- }
3765
- &.imageSelector {
3766
- width: 125px!important;
3767
- }
3612
+ width: 150px!important;
3768
3613
  }
3769
3614
 
3770
3615
  :deep(.flatmap_dropdown) {
@@ -81,9 +81,6 @@
81
81
  style="height: 100%"
82
82
  :flatmapAPI="flatmapAPI"
83
83
  :sparcAPI="sparcAPI"
84
- @imageThumbnailDisplay="onImageThumbnailDisplay"
85
- :imageThumbnailSidebar="imageThumbnailSidebar"
86
- @image-thumbnail-open="onImageThumbnailOpen"
87
84
  />
88
85
  </div>
89
86
  </template>
@@ -267,12 +264,6 @@ export default {
267
264
  onConnectivityInfoOpen: function (entryData) {
268
265
  this.$emit('connectivity-info-open', entryData);
269
266
  },
270
- onImageThumbnailDisplay: function (payload) {
271
- this.$emit('imageThumbnailDisplay', payload);
272
- },
273
- onImageThumbnailOpen: function (payload) {
274
- this.$emit('image-thumbnail-open', payload);
275
- },
276
267
  onSelectionsDataChanged: function (data) {
277
268
  this.$emit('pathway-selection-changed', data);
278
269
  },
@@ -709,7 +700,7 @@ export default {
709
700
  */
710
701
  sparcAPI: {
711
702
  type: String,
712
- default: '',
703
+ default: 'https://api.sparc.science/',
713
704
  },
714
705
  /**
715
706
  * Flag to disable UIs on Map
@@ -725,13 +716,6 @@ export default {
725
716
  type: Boolean,
726
717
  default: false,
727
718
  },
728
- /**
729
- * The option to show image thumbnail in sidebar
730
- */
731
- imageThumbnailSidebar: {
732
- type: Boolean,
733
- default: false,
734
- },
735
719
  },
736
720
  data: function () {
737
721
  return {
package/src/main.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createApp } from 'vue'
2
2
  import { createPinia } from 'pinia'
3
3
  import App from './App.vue'
4
- import { useMainStore } from '@/stores/index'
4
+ import { useMainStore } from '@/store/index'
5
5
 
6
6
  const pinia = createPinia()
7
7
  const app = createApp(App)