@vaadin/map 25.1.0-alpha6 → 25.1.0-alpha7
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/custom-elements.json +159 -0
- package/package.json +11 -9
- package/src/vaadin-map.js +1 -1
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "vaadin-map.js",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "js",
|
|
12
|
+
"name": "*",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "*",
|
|
15
|
+
"module": "src/vaadin-map.js"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "javascript-module",
|
|
22
|
+
"path": "src/vaadin-map-mixin.js",
|
|
23
|
+
"declarations": [
|
|
24
|
+
{
|
|
25
|
+
"kind": "mixin",
|
|
26
|
+
"description": "",
|
|
27
|
+
"name": "MapMixin",
|
|
28
|
+
"members": [
|
|
29
|
+
{
|
|
30
|
+
"kind": "field",
|
|
31
|
+
"name": "configuration",
|
|
32
|
+
"description": "The internal OpenLayers map instance used to configure the map.\nSee the OpenLayers [API](https://openlayers.org/en/latest/apidoc/) and\n[examples](https://openlayers.org/en/latest/examples/) for further information.",
|
|
33
|
+
"return": {
|
|
34
|
+
"type": {
|
|
35
|
+
"text": "*"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"readonly": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"kind": "field",
|
|
42
|
+
"name": "id",
|
|
43
|
+
"type": {
|
|
44
|
+
"text": "string"
|
|
45
|
+
},
|
|
46
|
+
"default": "'map'"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"mixins": [
|
|
50
|
+
{
|
|
51
|
+
"name": "FocusMixin",
|
|
52
|
+
"package": "@vaadin/a11y-base/src/focus-mixin.js"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "ResizeMixin",
|
|
56
|
+
"package": "@vaadin/component-base/src/resize-mixin.js"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"parameters": [
|
|
60
|
+
{
|
|
61
|
+
"name": "superClass"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"attributes": []
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"exports": [
|
|
68
|
+
{
|
|
69
|
+
"kind": "js",
|
|
70
|
+
"name": "MapMixin",
|
|
71
|
+
"declaration": {
|
|
72
|
+
"name": "MapMixin",
|
|
73
|
+
"module": "src/vaadin-map-mixin.js"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"kind": "javascript-module",
|
|
80
|
+
"path": "src/vaadin-map.js",
|
|
81
|
+
"declarations": [
|
|
82
|
+
{
|
|
83
|
+
"kind": "class",
|
|
84
|
+
"description": "`vaadin-map` is a web component for displaying web maps.\n\nThe component is a light-weight wrapper around the OpenLayers mapping library.\n\n### Basic Usage\n\nAdd a `<vaadin-map>` element to your HTML:\n\n```html\n<vaadin-map></vaadin-map>\n```\n\nThen use the exposed OpenLayers API to configure it:\n```html\n<script type=\"module\">\n import \"@vaadin/map\";\n import TileLayer from \"ol/layer/Tile\";\n import OSM from \"ol/source/OSM\";\n import View from \"ol/View\";\n\n const map = document.querySelector(\"vaadin-map\");\n customElements.whenDefined(\"vaadin-map\").then(() => {\n map.configuration.addLayer(new TileLayer({\n source: new OSM()\n }));\n map.configuration.setView(new View({\n center: [0, 0],\n zoom: 3\n }));\n });\n</script>\n```",
|
|
85
|
+
"name": "Map",
|
|
86
|
+
"members": [
|
|
87
|
+
{
|
|
88
|
+
"kind": "field",
|
|
89
|
+
"name": "configuration",
|
|
90
|
+
"description": "The internal OpenLayers map instance used to configure the map.\nSee the OpenLayers [API](https://openlayers.org/en/latest/apidoc/) and\n[examples](https://openlayers.org/en/latest/examples/) for further information.",
|
|
91
|
+
"return": {
|
|
92
|
+
"type": {
|
|
93
|
+
"text": "*"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"readonly": true,
|
|
97
|
+
"inheritedFrom": {
|
|
98
|
+
"name": "MapMixin",
|
|
99
|
+
"module": "src/vaadin-map-mixin.js"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"kind": "field",
|
|
104
|
+
"name": "id",
|
|
105
|
+
"type": {
|
|
106
|
+
"text": "string"
|
|
107
|
+
},
|
|
108
|
+
"default": "'map'",
|
|
109
|
+
"inheritedFrom": {
|
|
110
|
+
"name": "MapMixin",
|
|
111
|
+
"module": "src/vaadin-map-mixin.js"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"mixins": [
|
|
116
|
+
{
|
|
117
|
+
"name": "MapMixin",
|
|
118
|
+
"module": "src/vaadin-map-mixin.js"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "ThemableMixin",
|
|
122
|
+
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "ElementMixin",
|
|
126
|
+
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "PolylitMixin",
|
|
130
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "LumoInjectionMixin",
|
|
134
|
+
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"superclass": {
|
|
138
|
+
"name": "LitElement",
|
|
139
|
+
"package": "lit"
|
|
140
|
+
},
|
|
141
|
+
"tagName": "vaadin-map",
|
|
142
|
+
"customElement": true,
|
|
143
|
+
"attributes": [],
|
|
144
|
+
"events": []
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"exports": [
|
|
148
|
+
{
|
|
149
|
+
"kind": "js",
|
|
150
|
+
"name": "Map",
|
|
151
|
+
"declaration": {
|
|
152
|
+
"name": "Map",
|
|
153
|
+
"module": "src/vaadin-map.js"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
]
|
|
159
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/map",
|
|
3
|
-
"version": "25.1.0-
|
|
3
|
+
"version": "25.1.0-alpha7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"src",
|
|
24
24
|
"vaadin-*.d.ts",
|
|
25
25
|
"vaadin-*.js",
|
|
26
|
+
"custom-elements.json",
|
|
26
27
|
"web-types.json",
|
|
27
28
|
"web-types.lit.json"
|
|
28
29
|
],
|
|
@@ -34,24 +35,25 @@
|
|
|
34
35
|
],
|
|
35
36
|
"dependencies": {
|
|
36
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
37
|
-
"@vaadin/a11y-base": "25.1.0-
|
|
38
|
-
"@vaadin/component-base": "25.1.0-
|
|
39
|
-
"@vaadin/vaadin-themable-mixin": "25.1.0-
|
|
38
|
+
"@vaadin/a11y-base": "25.1.0-alpha7",
|
|
39
|
+
"@vaadin/component-base": "25.1.0-alpha7",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "25.1.0-alpha7",
|
|
40
41
|
"lit": "^3.0.0",
|
|
41
42
|
"ol": "10.6.0"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"@vaadin/aura": "25.1.0-
|
|
45
|
-
"@vaadin/chai-plugins": "25.1.0-
|
|
46
|
-
"@vaadin/test-runner-commands": "25.1.0-
|
|
45
|
+
"@vaadin/aura": "25.1.0-alpha7",
|
|
46
|
+
"@vaadin/chai-plugins": "25.1.0-alpha7",
|
|
47
|
+
"@vaadin/test-runner-commands": "25.1.0-alpha7",
|
|
47
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
48
|
-
"@vaadin/vaadin-lumo-styles": "25.1.0-
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "25.1.0-alpha7",
|
|
49
50
|
"sinon": "^21.0.0"
|
|
50
51
|
},
|
|
51
52
|
"cvdlName": "vaadin-map",
|
|
53
|
+
"customElements": "custom-elements.json",
|
|
52
54
|
"web-types": [
|
|
53
55
|
"web-types.json",
|
|
54
56
|
"web-types.lit.json"
|
|
55
57
|
],
|
|
56
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "98c586125f769c8fefd307536965293668fda81d"
|
|
57
59
|
}
|
package/src/vaadin-map.js
CHANGED
package/web-types.json
CHANGED