@geops/rvf-mobility-web-component 0.1.130 → 0.1.132-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.
@@ -1,4 +1,4 @@
1
- import{Ba as r,wa as o,ya as t,za as n}from"./chunk-CZ6RUAVW.js";var u='<a href="https://developer.geops.io/">geOps API key</a>',s='<a href="https://developer.geops.io/apis/maps">geOps Maps API</a>',d='<a href="https://developer.geops.io/apis/stops">geOps Stops API</a>',l='<a href="https://geops.com/en/solution/disruption-information">geOps MOCO API</a>',i='<a href="https://geops.com/en/solution/mapset">geOps Mapset API</a>',a='<a href="https://developer.geops.io/apis/realtime">geOps Realtime API</a>',c={apikey:{defaultValue:"5cc87b12d7c5370001c1d655cb6b0a94dc1a4b859313dc211675efd6",description:`Your ${u}`,public:!1},baselayer:{defaultValue:"de.rvf_moco",description:`The style's name from the ${s}. <br/>Ex: base_dark_v2, base_bright_v2, ...`,public:!1},center:{description:"The center of the map in EPSG:3857 coordinates.<br/>Parameter required if extent is not set.",public:!0},details:{defaultValue:"true",description:"When a feature of a queryable layer is clicked, it displays informations about it.",public:!0,type:"boolean"},embed:{defaultValue:"false",description:"Toggle the embedded navigation mode.<br/>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.",public:!0,type:"boolean"},extent:{defaultValue:o.join(","),description:"The map's extent in EPSG:3857 coordinates.<br/>Ex: 831634,5933959,940649,6173660 .<br/>Parameter required if center and zoom are not set.",public:!0},geolocation:{defaultValue:"true",description:"Toggle the display of the geolocation button or not.",public:!0,type:"boolean"},lang:{defaultValue:"de",description:"The language to use for the map. Supported languages are : de, en, fr, it.",public:!0},layers:{defaultValue:null,description:`A comma separated list of layers's name to make visible on load, others are hidden. If empty, all layers will be hidden except the baselayer.<br/>Layers available are ${Object.values(t).join(", ")}.`,public:!0},layersconfig:{description:`A JSON string to configure the layers and other components associated to it.<br/>
1
+ import{Ba as r,wa as l,ya as t,za as n}from"./chunk-CZ6RUAVW.js";var u='<a href="https://developer.geops.io/">geOps API key</a>',s='<a href="https://developer.geops.io/apis/maps">geOps Maps API</a>',d='<a href="https://developer.geops.io/apis/stops">geOps Stops API</a>',o='<a href="https://geops.com/en/solution/disruption-information">geOps MOCO API</a>',i='<a href="https://geops.com/en/solution/mapset">geOps Mapset API</a>',a='<a href="https://developer.geops.io/apis/realtime">geOps Realtime API</a>',c={apikey:{defaultValue:"5cc87b12d7c5370001c1d655cb6b0a94dc1a4b859313dc211675efd6",description:`Your ${u}`,public:!1},baselayer:{defaultValue:"de.rvf_moco",description:`The style's name from the ${s}. <br/>Ex: base_dark_v2, base_bright_v2, ...`,public:!1},center:{defaultValue:"887772.939076356,6115375.152450187",description:"The center of the map in EPSG:3857 coordinates.<br/>Parameter required if extent is not set.",public:!0},details:{defaultValue:"true",description:"When a feature of a queryable layer is clicked, it displays informations about it.",public:!0,type:"boolean"},embed:{defaultValue:"false",description:"Toggle the embedded navigation mode.<br/>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.",public:!0,type:"boolean"},extent:{description:"The map's extent in EPSG:3857 coordinates.<br/>Ex: 831634,5933959,940649,6173660 .<br/>Parameter required if center and zoom are not set.",public:!0},geolocation:{defaultValue:"true",description:"Toggle the display of the geolocation button or not.",public:!0,type:"boolean"},lang:{defaultValue:"de",description:"The language to use for the map. Supported languages are : de, en, fr, it.",public:!0},layers:{defaultValue:null,description:`A comma separated list of layers's name to make visible on load, others are hidden. If empty, all layers will be hidden except the baselayer.<br/>Layers available are ${Object.values(t).join(", ")}.`,public:!0},layersconfig:{description:`A JSON string to configure the layers and other components associated to it.<br/>
2
2
  The layers available are : ${r.toString()}.<br/>
3
3
  Definition for a layer :
4
4
  <pre style="font-size: 12px; overflow: auto;">{
@@ -29,9 +29,9 @@ where:
29
29
  </ul>
30
30
  <li><i>title</i> is the title of the layer used in the details view header and in the layer tree, if not defined the layer name will be used.</li>
31
31
  <li><i>minZoom</i> is the minimal zoom level at which the layer is visible (only <i>${t.sharedMobility}</i> layer).</li>
32
- </ul>`,public:!0},layertree:{defaultValue:"true",description:"Show/hide the layers tree button in the toolbar.",public:!0,type:"boolean"},lineid:{description:"An id or a short/long name of a line to highlight. <br/>Ex: S1",public:!1},lnp:{defaultValue:"true",description:"Add the linesnetworkplans layer to the map. This layer will display lines network plans on the map.",public:!1,type:"boolean"},mainlink:{description:"A link displayed on bottom left of the map. The link can be a template, for example you can use {{x}} {{y}} {{z}} to insert the current position of the map in the url.<br/>Ex: http://mywebsite/mypage#map/{{x}}/{{y}}/{{z}}.",public:!0},mainlinktitle:{description:"A title for the mainlink, used as tooltip.",public:!0},mapset:{defaultValue:"false",description:"Add the mapset layer to the map. This layer will display mapset plans on the map. By default, it will load only the standard plans valid at the current time.",public:!0,type:"boolean"},mapsetplanid:{description:"An id of the mapset plan to display. Mostly for debugging purposes.",public:!1},mapsettags:{description:`The ${i} tags to get the plans from.`,public:!0},mapsettenants:{defaultValue:"rvf",description:`The ${i} tenant to get the plans from.`,public:!1},mapsettimestamp:{description:`The ${i} timestamp used to load valid standard plan. If not defined it will use the current time.`,public:!0},mapseturl:{defaultValue:"https://editor.mapset.io/api/v1/",description:`The ${i} url to use.`,public:!0},mapsurl:{defaultValue:"https://maps.geops.io",description:`The ${s} url to use.`,public:!1},maxextent:{defaultValue:o.join(","),description:"The maximum extent of the map in EPSG:3857 coordinates.<br/>Ex: 831634,5933959,940649,6173660 .",public:!0},maxzoom:{defaultValue:"20",description:"The maximal zoom level of the map.",public:!0},minzoom:{description:"The minimal zoom level of the map.",public:!0},mots:{description:"Commas separated list of mots to display on the Realtime layer.<br/>Ex: rail,bus,coach,foot,tram,subway,gondola,funicular,ferry,car .",public:!1},notification:{defaultValue:"true",description:`Add the notification layer to the map. This layer will display informations about disruptions on the network. Data comes from
33
- our ${l} .`,public:!0,type:"boolean"},notificationat:{description:"An ISO date string used to display active notification at this date in the notification layer. If not defined the current date will be used.<br/>Ex: 2025-08-01T00:00:00Z .",public:!1},notificationid:{description:"An id of a notification to show details of.",public:!1},notificationlang:{defaultValue:"en,de,fr",description:"A comma separated list of languages supported by the notification, if a textual content is not available in the current lang it will try to display the content in one of these languages. Order is important. <br/>Supported languages are: en,de,fr,it",public:!0},notificationtenant:{defaultValue:"rvf",description:`The ${l} tenant to get the notification from.`,public:!1},notificationurl:{defaultValue:"https://moco.geops.io/api/v2/",description:`The ${l} url to use.`,public:!1},permalink:{defaultValue:"false",description:"if true, the current browser window url will be updated automatically with the parameters defined in the `permalinktemplate` attribute.",public:!0,type:"boolean"},permalinktemplate:{defaultValue:"#map/{{x}}/{{y}}/{{z}}",description:`A template string to read the current browser url. Hash (starting with #) and URL search parameters (starting with ?) are supported.<br/>
32
+ </ul>`,public:!0},layertree:{defaultValue:"true",description:"Show/hide the layers tree button in the toolbar.",public:!0,type:"boolean"},lineid:{description:"An id or a short/long name of a line to highlight. <br/>Ex: S1",public:!1},lnp:{defaultValue:"true",description:"Add the linesnetworkplans layer to the map. This layer will display lines network plans on the map.",public:!1,type:"boolean"},mainlink:{description:"A link displayed on bottom left of the map. The link can be a template, for example you can use {{x}} {{y}} {{z}} to insert the current position of the map in the url.<br/>Ex: http://mywebsite/mypage#map/{{x}}/{{y}}/{{z}}.",public:!0},mainlinktitle:{description:"A title for the mainlink, used as tooltip.",public:!0},mapset:{defaultValue:"false",description:"Add the mapset layer to the map. This layer will display mapset plans on the map. By default, it will load only the standard plans valid at the current time.",public:!0,type:"boolean"},mapsetplanid:{description:"An id of the mapset plan to display. Mostly for debugging purposes.",public:!1},mapsettags:{description:`The ${i} tags to get the plans from.`,public:!0},mapsettenants:{defaultValue:"rvf",description:`The ${i} tenant to get the plans from.`,public:!1},mapsettimestamp:{description:`The ${i} timestamp used to load valid standard plan. If not defined it will use the current time.`,public:!0},mapseturl:{defaultValue:"https://editor.mapset.io/api/v1/",description:`The ${i} url to use.`,public:!0},mapsurl:{defaultValue:"https://maps.geops.io",description:`The ${s} url to use.`,public:!1},maxextent:{defaultValue:l.join(","),description:"The maximum extent of the map in EPSG:3857 coordinates.<br/>Ex: 831634,5933959,940649,6173660 .",public:!0},maxzoom:{defaultValue:"20",description:"The maximal zoom level of the map.",public:!0},minzoom:{description:"The minimal zoom level of the map.",public:!0},mots:{description:"Commas separated list of mots to display on the Realtime layer.<br/>Ex: rail,bus,coach,foot,tram,subway,gondola,funicular,ferry,car .",public:!1},notification:{defaultValue:"true",description:`Add the notification layer to the map. This layer will display informations about disruptions on the network. Data comes from
33
+ our ${o} .`,public:!0,type:"boolean"},notificationat:{description:"An ISO date string used to display active notification at this date in the notification layer. If not defined the current date will be used.<br/>Ex: 2025-08-01T00:00:00Z .",public:!1},notificationid:{description:"An id of a notification to show details of.",public:!1},notificationlang:{defaultValue:"en,de,fr",description:"A comma separated list of languages supported by the notification, if a textual content is not available in the current lang it will try to display the content in one of these languages. Order is important. <br/>Supported languages are: en,de,fr,it",public:!0},notificationtenant:{defaultValue:"rvf",description:`The ${o} tenant to get the notification from.`,public:!1},notificationurl:{defaultValue:"https://moco.geops.io/api/v2/",description:`The ${o} url to use.`,public:!1},permalink:{defaultValue:"false",description:"if true, the current browser window url will be updated automatically with the parameters defined in the `permalinktemplate` attribute.",public:!0,type:"boolean"},permalinktemplate:{defaultValue:"#map/{{x}}/{{y}}/{{z}}",description:`A template string to read the current browser url. Hash (starting with #) and URL search parameters (starting with ?) are supported.<br/>
34
34
  The template supports {{x}}, {{y}}, {{z}} and {{layers}} variables.<br/>
35
35
  Ex: "?x={{x}}&y={{y}}&z={{z}}" or "#map/{{x}}/{{y}}/{{z}}" .`,public:!0},print:{defaultValue:"true",description:"Show/hide the print button in the toolbar.",public:!0,type:"boolean"},queryablelayers:{defaultValue:n.toString(),description:`A comma separated list of layers's name. The data of these layers will be queryable by click on the map (see selectedfeature event). If empty, all layers will not be queryable.<br/>
36
- Layers available are ${Object.values(t).join(", ")}`,public:!0},realtime:{defaultValue:"true",description:`Add the realtime layer to the map. Data comes from the ${a} .`,public:!1,type:"boolean"},realtimebboxparameters:{defaultValue:"line_tags=RVF",description:"A space separated list of parameters to add to the realtime BBOX request to define custom behavior.<br/>Ex: graph=XXX line_tags=XXX.",public:!1},realtimeresturl:{defaultValue:"https://api.geops.io/tracker-http/v1/",description:`The ${a} REST API url to use for fetching infos about realtime data.`,public:!1},realtimetenant:{description:`The ${a} tenant to get the realtime data from.`,public:!1},realtimeurl:{defaultValue:"wss://api.geops.io/tracker-ws/v1/ws",description:`The ${a} url to use.`,public:!1},runs:{defaultValue:"false",description:"Shows the number of trips on a line in the sidebar, use only for debugging.",public:!0,type:"boolean"},search:{defaultValue:"false",description:"Toggle the search stops input.",public:!0,type:"boolean"},share:{defaultValue:"true",description:"Show/hide the share button in the toolbar.",public:!0,type:"boolean"},stationid:{description:"An id or a short/long name of a station to show details of.",public:!1},stopsurl:{defaultValue:"https://api.geops.io/stops/v1/",description:`The ${d} to use.`,public:!1},tenant:{description:"The tenant to use by default for all geOps APIs (Stops, Realtime, MOCO ...). Can be override for each API by other XXXXtenant parameters.",public:!1},toolbar:{defaultValue:"true",description:"Show/hide the toolbar on the top left.",public:!0,type:"boolean"},trainid:{description:"An id of a route to highlight on the map and to show details of.",public:!1},zoom:{description:"The zoom level of the map.",public:!0}},g=c;var f='<a href="https://developer.geops.io/">geOps API key</a>',p='<a href="https://geops.com/en/solution/disruption-information">geOps MOCO API</a>',h={apikey:{defaultValue:"5cc87b12d7c5370001c1d655cb6b0a94dc1a4b859313dc211675efd6",description:`Your ${f}`,public:!1},lang:{defaultValue:"de",description:"The language to use for the notifications.",public:!0},notificationat:{description:"An ISO date string used to display active notification at this date in the notification layer. If not defined the current date will be used.<br/>Ex: 2025-08-01T00:00:00Z .",public:!1},notificationlang:{defaultValue:"en,de,fr",description:"A comma separated list of languages supported by the notification, if a textual content is not available in the current lang it will try to display the content in one of these languages. Order is important. <br/>Supported languages are: en,de,fr,it",public:!0},notificationtenant:{defaultValue:"rvf",description:`The ${p} tenant to get the notification from.`,public:!1},notificationurl:{defaultValue:"https://moco.geops.io/api/v2/",description:`The ${p} url to use.`,public:!1}},x=h;var b='<a href="https://developer.geops.io/">geOps API key</a>',e='<a href="https://developer.geops.io/apis/stops">geOps Stops API</a>',m={apikey:{description:`Your ${b}`,public:!0},bbox:{description:`The extent where to search the stops (minx,miny,maxx,maxy). See the ${e} documentation.`,public:!0},countrycode:{description:"The country code to filter the results (IT, DE, CH ...)",public:!0},event:{defaultValue:"mwc:stopssearchselect",description:"The event's name to listen to when a stop is selected.",public:!0},field:{description:`Which field to look up, default all of them, Possible values:id, name, coords. See the ${e} documentation.`,public:!0},lang:{defaultValue:"en",description:"The language to use for the search input texts. Supported languages are : de, en, fr, it.",public:!0},limit:{defaultValue:"5",description:`The number of suggestions to show. See the ${e} documentation.`,public:!0},mots:{description:`Commas separated list of mots used to filter the results (rail, bus, coach, foot, tram, subway, gondola, funicular, ferry, car). See the ${e} documentation.`,public:!0},onselect:{description:null,public:!1},params:{description:`JSON string with additional parameters to pass to the request to the API. Ex: {"{ 'key': 'value' }"}. See the ${e} documentation.`,public:!0},prefagencies:{description:`comma seperated list, order chooses which agency will be preferred as
36
+ Layers available are ${Object.values(t).join(", ")}`,public:!0},realtime:{defaultValue:"true",description:`Add the realtime layer to the map. Data comes from the ${a} .`,public:!1,type:"boolean"},realtimebboxparameters:{defaultValue:"line_tags=RVF",description:"A space separated list of parameters to add to the realtime BBOX request to define custom behavior.<br/>Ex: graph=XXX line_tags=XXX.",public:!1},realtimeresturl:{defaultValue:"https://api.geops.io/tracker-http/v1/",description:`The ${a} REST API url to use for fetching infos about realtime data.`,public:!1},realtimetenant:{description:`The ${a} tenant to get the realtime data from.`,public:!1},realtimeurl:{defaultValue:"wss://api.geops.io/tracker-ws/v1/ws",description:`The ${a} url to use.`,public:!1},runs:{defaultValue:"false",description:"Shows the number of trips on a line in the sidebar, use only for debugging.",public:!0,type:"boolean"},search:{defaultValue:"false",description:"Toggle the search stops input.",public:!0,type:"boolean"},share:{defaultValue:"true",description:"Show/hide the share button in the toolbar.",public:!0,type:"boolean"},stationid:{description:"An id or a short/long name of a station to show details of.",public:!1},stopsurl:{defaultValue:"https://api.geops.io/stops/v1/",description:`The ${d} to use.`,public:!1},tenant:{description:"The tenant to use by default for all geOps APIs (Stops, Realtime, MOCO ...). Can be override for each API by other XXXXtenant parameters.",public:!1},toolbar:{defaultValue:"true",description:"Show/hide the toolbar on the top left.",public:!0,type:"boolean"},trainid:{description:"An id of a route to highlight on the map and to show details of.",public:!1},zoom:{defaultValue:"9.7",description:"The zoom level of the map.",public:!0}},g=c;var f='<a href="https://developer.geops.io/">geOps API key</a>',p='<a href="https://geops.com/en/solution/disruption-information">geOps MOCO API</a>',h={apikey:{defaultValue:"5cc87b12d7c5370001c1d655cb6b0a94dc1a4b859313dc211675efd6",description:`Your ${f}`,public:!1},lang:{defaultValue:"de",description:"The language to use for the notifications.",public:!0},notificationat:{description:"An ISO date string used to display active notification at this date in the notification layer. If not defined the current date will be used.<br/>Ex: 2025-08-01T00:00:00Z .",public:!1},notificationlang:{defaultValue:"en,de,fr",description:"A comma separated list of languages supported by the notification, if a textual content is not available in the current lang it will try to display the content in one of these languages. Order is important. <br/>Supported languages are: en,de,fr,it",public:!0},notificationtenant:{defaultValue:"rvf",description:`The ${p} tenant to get the notification from.`,public:!1},notificationurl:{defaultValue:"https://moco.geops.io/api/v2/",description:`The ${p} url to use.`,public:!1}},x=h;var b='<a href="https://developer.geops.io/">geOps API key</a>',e='<a href="https://developer.geops.io/apis/stops">geOps Stops API</a>',m={apikey:{description:`Your ${b}`,public:!0},bbox:{description:`The extent where to search the stops (minx,miny,maxx,maxy). See the ${e} documentation.`,public:!0},countrycode:{description:"The country code to filter the results (IT, DE, CH ...)",public:!0},event:{defaultValue:"mwc:stopssearchselect",description:"The event's name to listen to when a stop is selected.",public:!0},field:{description:`Which field to look up, default all of them, Possible values:id, name, coords. See the ${e} documentation.`,public:!0},lang:{defaultValue:"en",description:"The language to use for the search input texts. Supported languages are : de, en, fr, it.",public:!0},limit:{defaultValue:"5",description:`The number of suggestions to show. See the ${e} documentation.`,public:!0},mots:{description:`Commas separated list of mots used to filter the results (rail, bus, coach, foot, tram, subway, gondola, funicular, ferry, car). See the ${e} documentation.`,public:!0},onselect:{description:null,public:!1},params:{description:`JSON string with additional parameters to pass to the request to the API. Ex: {"{ 'key': 'value' }"}. See the ${e} documentation.`,public:!0},prefagencies:{description:`comma seperated list, order chooses which agency will be preferred as
37
37
  ident_source (for id and code fields). Possible values: sbb, db. See the ${e} documentation.`,public:!0},reflocation:{description:`Coordinates in WGS84 (in lat,lon order) used to rank stops close to this position higher. See the ${e} documentation.`,public:!0},url:{defaultValue:"https://api.geops.io/stops/v1/",description:`The URL to the ${e}.`,public:!0}},v=m;export{g as a,x as b,v as c};