@geops/rvf-mobility-web-component 0.1.34 → 0.1.36
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/CHANGELOG.md +24 -0
- package/index.html +6 -4
- package/index.js +277 -261
- package/package.json +1 -1
- package/src/GeolocationButton/GeolocationButton.tsx +32 -4
- package/src/RvfEmbedNavigation/DragPanWarning.ts +124 -0
- package/src/RvfEmbedNavigation/RvfEmbedNavigation.tsx +50 -0
- package/src/RvfEmbedNavigation/index.js +1 -0
- package/src/RvfMobilityMap/RvfMobilityMap.tsx +11 -0
- package/src/RvfMobilityMap/index.css +13 -0
- package/src/RvfSearch/RvfSearch.tsx +28 -0
- package/src/RvfSearch/index.tsx +1 -0
- package/src/Search/index.tsx +1 -1
- package/src/StopsSearch/StopsSearch.tsx +6 -6
- package/src/icons/Geolocation/location.svg +7 -0
- package/src/icons/Search/Search.tsx +39 -0
- package/src/icons/Search/index.tsx +1 -0
- package/src/icons/Search/search.svg +16 -0
- package/src/index.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.36](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.35...v0.1.36) (2025-02-25)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add rvf search ([06085d4](https://github.com/geops/rvf-mobility-web-component/commit/06085d451b2c174b6cf73e2fb416c61d426116e5))
|
|
11
|
+
* add rvf search ([875a9ce](https://github.com/geops/rvf-mobility-web-component/commit/875a9ce93c59c036a04809bab07b361477d0269b))
|
|
12
|
+
* fix doc of embed attr ([01fa435](https://github.com/geops/rvf-mobility-web-component/commit/01fa4354066c8d49e0c9e67086c39ee34b5db61a))
|
|
13
|
+
* import ([f99dcff](https://github.com/geops/rvf-mobility-web-component/commit/f99dcff0debd729e066d92a96896af48b8905c9a))
|
|
14
|
+
|
|
15
|
+
### [0.1.35](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.34...v0.1.35) (2025-02-25)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add embed mode ([d33d29d](https://github.com/geops/rvf-mobility-web-component/commit/d33d29d7ab488d4021f35239a20ca9631ffc7f84))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* add geolocation icon ([daf1746](https://github.com/geops/rvf-mobility-web-component/commit/daf174635795395f5d7fe4a6f1304d01b718a4fe))
|
|
26
|
+
* add search attribute doc ([d47a458](https://github.com/geops/rvf-mobility-web-component/commit/d47a458af04ebfd241b915229093d276b7dc1723))
|
|
27
|
+
* remove duplicate maxextent attribute ([3c010e1](https://github.com/geops/rvf-mobility-web-component/commit/3c010e15e3fcf411a86ff725ef927833e264fd1b))
|
|
28
|
+
|
|
5
29
|
### [0.1.34](https://github.com/geops/rvf-mobility-web-component/compare/v0.1.33...v0.1.34) (2025-02-21)
|
|
6
30
|
|
|
7
31
|
|
package/index.html
CHANGED
|
@@ -73,7 +73,6 @@
|
|
|
73
73
|
"geolocation",
|
|
74
74
|
"layers",
|
|
75
75
|
"layertree",
|
|
76
|
-
"maxextent",
|
|
77
76
|
// "mapsurl",
|
|
78
77
|
// "mots",
|
|
79
78
|
// "notification",
|
|
@@ -83,13 +82,14 @@
|
|
|
83
82
|
"realtime",
|
|
84
83
|
"share",
|
|
85
84
|
// "realtimeUrl",
|
|
86
|
-
|
|
85
|
+
"search",
|
|
87
86
|
// "tenant",
|
|
88
87
|
"zoom",
|
|
89
88
|
"permalink",
|
|
90
89
|
"print",
|
|
91
90
|
"toolbar",
|
|
92
91
|
"maxextent",
|
|
92
|
+
"embed",
|
|
93
93
|
];
|
|
94
94
|
|
|
95
95
|
const booleanAttrs = [
|
|
@@ -97,12 +97,13 @@
|
|
|
97
97
|
"geolocation",
|
|
98
98
|
"notification",
|
|
99
99
|
"realtime",
|
|
100
|
-
// "search",
|
|
101
100
|
"permalink",
|
|
102
101
|
"layertree",
|
|
103
102
|
"share",
|
|
104
103
|
"print",
|
|
105
104
|
"toolbar",
|
|
105
|
+
"search",
|
|
106
|
+
"embed",
|
|
106
107
|
];
|
|
107
108
|
const booleanTrueByDefault = [ "details", "print", "share", "layertree", "geolocation", "toolbar", "realtime"];
|
|
108
109
|
|
|
@@ -126,7 +127,8 @@
|
|
|
126
127
|
toolbar: "Show/hide the toolbar on the left. Default to true.",
|
|
127
128
|
layers: "A comma separated list of layers: echtzeit,haltestellen,verkaufsstellen,liniennetz,tarifzonen,fahrrad,auto,cargobike,e-roller,mitfahrpunkt,pois",
|
|
128
129
|
details: "Show shared mobility details in the sidebar when we click on an shared mobility feature.",
|
|
129
|
-
realtime: "Show/hide the realtime data in the map. Default to true."
|
|
130
|
+
realtime: "Show/hide the realtime data in the map. Default to true.",
|
|
131
|
+
embed: "Activate/deactivate the embedded navigation mode. In this mode zooming with mouse wheel is deactivated and, on touch device, you can only navigate with two finger, a warning message is displayed to warn the user. Default to false."
|
|
130
132
|
};
|
|
131
133
|
|
|
132
134
|
document.querySelector('#attributes').innerHTML = generateAttributesTable(wc, attrs, booleanAttrs, booleanTrueByDefault, descriptionByAttr);
|