@abi-software/flatmapvuer 1.9.3-beta.7 → 1.10.0-beta.1

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.9.3-beta.7",
3
+ "version": "1.10.0-beta.1",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist/*",
@@ -739,6 +739,20 @@ export default {
739
739
  return { annotator }
740
740
  },
741
741
  methods: {
742
+ /**
743
+ *
744
+ * @param filter format should follow #makeStyleFilter (flatmap-viewer)
745
+ */
746
+ setVisibilityFilter: function (filter) {
747
+ // More filter options -> this.mapImp.featureFilterRanges()
748
+ if (this.mapImp) {
749
+ if (filter) {
750
+ this.mapImp.setVisibilityFilter(filter);
751
+ } else {
752
+ this.mapImp.clearVisibilityFilter();
753
+ }
754
+ }
755
+ },
742
756
  /**
743
757
  * @public
744
758
  * Function to manually send aborted signal when annotation tooltip popup or sidebar tab closed.
@@ -2754,7 +2768,10 @@ export default {
2754
2768
  if (pathway) {
2755
2769
  main.children.push({
2756
2770
  key: `${main.key}.${facet}`,
2757
- label: pathway.label
2771
+ label: pathway.label,
2772
+ colour: pathway.colour,
2773
+ colourStyle: 'line',
2774
+ dashed: pathway.dashed,
2758
2775
  })
2759
2776
  }
2760
2777
  }
@@ -8,6 +8,7 @@ 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']
11
12
  ElButton: typeof import('element-plus/es')['ElButton']
12
13
  ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
13
14
  ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
@@ -23,6 +24,7 @@ declare module 'vue' {
23
24
  ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
24
25
  ElRow: typeof import('element-plus/es')['ElRow']
25
26
  ElSelect: typeof import('element-plus/es')['ElSelect']
27
+ ElSwitch: typeof import('element-plus/es')['ElSwitch']
26
28
  FlatmapVuer: typeof import('./components/FlatmapVuer.vue')['default']
27
29
  MultiFlatmapVuer: typeof import('./components/MultiFlatmapVuer.vue')['default']
28
30
  SelectionsGroup: typeof import('./components/SelectionsGroup.vue')['default']