@record-evolution/widget-mapbox 1.5.1 → 1.5.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.
@@ -2096,7 +2096,7 @@ class WidgetMapbox extends h {
2096
2096
  this.dataSets = [];
2097
2097
  this.dataSources = new Map();
2098
2098
  this.colors = new Map();
2099
- this.version = '1.5.1';
2099
+ this.version = '1.5.2';
2100
2100
  this.mapLoaded = false;
2101
2101
  this.imageList = [];
2102
2102
  this.resizeObserver = new ResizeObserver(() => {
@@ -2678,7 +2678,7 @@ __decorate([
2678
2678
  __decorate([
2679
2679
  r()
2680
2680
  ], WidgetMapbox.prototype, "colors", void 0);
2681
- window.customElements.define('widget-mapbox-1.5.1', WidgetMapbox);
2681
+ window.customElements.define('widget-mapbox-1.5.2', WidgetMapbox);
2682
2682
 
2683
2683
  export { WidgetMapbox };
2684
2684
  //# sourceMappingURL=widget-mapbox.js.map
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "REWidget widget-mapbox",
4
4
  "license": "MIT",
5
5
  "author": "widget-mapbox",
6
- "version": "1.5.1",
6
+ "version": "1.5.2",
7
7
  "type": "module",
8
8
  "main": "dist/widget-mapbox.js",
9
9
  "types": "dist/src/widget-mapbox.d.ts",
@@ -16,6 +16,8 @@
16
16
  "start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
17
17
  "build": "rollup -c rollup.config.js",
18
18
  "watch": "rollup -w -c rollup.config.js",
19
+ "link": "npm link && cd ../RESWARM/frontend && npm link @record-evolution/widget-mapbox",
20
+ "unlink": "npm unlink --global && cd ../RESWARM/frontend && npm unlink @record-evolution/widget-mapbox && npm i @record-evolution/widget-mapbox",
19
21
  "types": "cat src/definition-schema.json | json2ts > src/definition-schema.d.ts",
20
22
  "lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
21
23
  "format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
@@ -17,6 +17,7 @@
17
17
  "title": "Map Style",
18
18
  "description": "The basic style of the map.",
19
19
  "type": "string",
20
+ "dataDrivenDisabled": true,
20
21
  "enum": [
21
22
  "streets-v12",
22
23
  "outdoors-v12",
@@ -33,18 +34,21 @@
33
34
  "showLegend": {
34
35
  "title": "Show Legend",
35
36
  "type": "boolean",
37
+ "dataDrivenDisabled": true,
36
38
  "order": 4
37
39
  },
38
40
  "follow": {
39
41
  "title": "Auto Follow",
40
42
  "description": "If true, the map automatically keeps the drawn locations in focus.",
41
43
  "type": "boolean",
44
+ "dataDrivenDisabled": true,
42
45
  "order": 5
43
46
  },
44
47
  "dataseries": {
45
48
  "title": "Dataseries",
46
49
  "order": 8,
47
50
  "type": "array",
51
+ "dataDrivenDisabled": true,
48
52
  "items": {
49
53
  "type": "object",
50
54
  "properties": {
@@ -60,6 +64,7 @@
60
64
  "description": "Create the specified type of layer on the map.",
61
65
  "type": "string",
62
66
  "required": true,
67
+ "dataDrivenDisabled": true,
63
68
  "enum": ["circle", "symbol", "heatmap", "line"],
64
69
  "order": 2
65
70
  },
@@ -73,6 +78,7 @@
73
78
  "title": "Latest Values",
74
79
  "description": "Restrict the number of rows for this dataseries to the given number of newest values. (If you use split data, then per each of the split dataseries.)",
75
80
  "type": "number",
81
+ "dataDrivenDisabled": true,
76
82
  "order": 4
77
83
  },
78
84
  "config": {
@@ -88,6 +94,7 @@
88
94
  "circle-blur": {
89
95
  "title": "Blur",
90
96
  "description": "Blur of 1 means the whole circle is blurred starting from the center point. Blur 0 means no blur effect.",
97
+ "dataDrivenDisabled": true,
91
98
  "min": 0,
92
99
  "max": 1,
93
100
  "type": "number",
@@ -96,6 +103,7 @@
96
103
  "circle-opacity": {
97
104
  "title": "Opacity",
98
105
  "description": "Opactity 1 means fully opaque, 0 means fully transparent.",
106
+ "dataDrivenDisabled": true,
99
107
  "min": 0,
100
108
  "max": 1,
101
109
  "type": "number",