@abi-software/flatmapvuer 1.10.0-beta.1 → 1.10.1-beta.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/dist/flatmapvuer.js +4974 -98103
- package/dist/flatmapvuer.umd.cjs +10 -2368
- package/dist/style.css +1 -1
- package/package.json +2 -3
- package/src/components/FlatmapVuer.vue +6 -1
- package/src/components/MultiFlatmapVuer.vue +1 -1
- package/src/components.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.1-beta.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/*",
|
|
@@ -43,8 +43,7 @@
|
|
|
43
43
|
"./src/*": "./src/*"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@abi-software/
|
|
47
|
-
"@abi-software/map-utilities": "^1.6.0-beta.0",
|
|
46
|
+
"@abi-software/map-utilities": "^1.6.0",
|
|
48
47
|
"@abi-software/sparc-annotation": "0.3.2",
|
|
49
48
|
"@abi-software/svg-sprite": "^1.0.1",
|
|
50
49
|
"@element-plus/icons-vue": "^2.3.1",
|
|
@@ -636,7 +636,7 @@ import {
|
|
|
636
636
|
import { capitalise } from './utilities.js'
|
|
637
637
|
import yellowstar from '../icons/yellowstar'
|
|
638
638
|
import ResizeSensor from 'css-element-queries/src/ResizeSensor'
|
|
639
|
-
import * as flatmap from '
|
|
639
|
+
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.2.5/+esm'
|
|
640
640
|
import { AnnotationService } from '@abi-software/sparc-annotation'
|
|
641
641
|
import { mapState } from 'pinia'
|
|
642
642
|
import { useMainStore } from '@/store/index'
|
|
@@ -739,6 +739,11 @@ export default {
|
|
|
739
739
|
return { annotator }
|
|
740
740
|
},
|
|
741
741
|
methods: {
|
|
742
|
+
enableFeatureResetOnClick: function (enable) {
|
|
743
|
+
if (this.mapImp) {
|
|
744
|
+
this.mapImp.enableFeatureResetOnClick(enable)
|
|
745
|
+
}
|
|
746
|
+
},
|
|
742
747
|
/**
|
|
743
748
|
*
|
|
744
749
|
* @param filter format should follow #makeStyleFilter (flatmap-viewer)
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
import { markRaw } from 'vue'
|
|
100
100
|
import EventBus from './EventBus'
|
|
101
101
|
import FlatmapVuer from './FlatmapVuer.vue'
|
|
102
|
-
import * as flatmap from '
|
|
102
|
+
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.2.5/+esm'
|
|
103
103
|
import {
|
|
104
104
|
ElCol as Col,
|
|
105
105
|
ElOption as Option,
|
package/src/components.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export {}
|
|
|
8
8
|
declare module 'vue' {
|
|
9
9
|
export interface GlobalComponents {
|
|
10
10
|
DynamicLegends: typeof import('./components/legends/DynamicLegends.vue')['default']
|
|
11
|
-
ElAutocomplete: typeof import('element-plus/es')['ElAutocomplete']
|
|
12
11
|
ElButton: typeof import('element-plus/es')['ElButton']
|
|
13
12
|
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
|
14
13
|
ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
|
|
@@ -24,7 +23,6 @@ declare module 'vue' {
|
|
|
24
23
|
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
|
25
24
|
ElRow: typeof import('element-plus/es')['ElRow']
|
|
26
25
|
ElSelect: typeof import('element-plus/es')['ElSelect']
|
|
27
|
-
ElSwitch: typeof import('element-plus/es')['ElSwitch']
|
|
28
26
|
FlatmapVuer: typeof import('./components/FlatmapVuer.vue')['default']
|
|
29
27
|
MultiFlatmapVuer: typeof import('./components/MultiFlatmapVuer.vue')['default']
|
|
30
28
|
SelectionsGroup: typeof import('./components/SelectionsGroup.vue')['default']
|