@inploi/plugin-job-search 9.2.0 → 9.3.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.
- package/README.md +9 -7
- package/cdn/index.js +14 -14
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/{job-search-4dhEa2UZ.js → job-search-CkwwTVkM.js} +1937 -1946
- package/dist/job-search-DyRuFVYr.cjs +44 -0
- package/dist/{map-RWZQgQ0o.js → map-B7xhLyNZ.js} +139 -124
- package/dist/map-outcome-BiHZjMoM.cjs +26 -0
- package/dist/map-outcome-zYbBd2H8.js +150 -0
- package/dist/{map-BRREfYtI.cjs → map-stOwdTz6.cjs} +1 -1
- package/dist/{mapbox-gl-DLs2e1S-.js → mapbox-gl-BKeoApBS.js} +1 -1
- package/dist/{mapbox-gl-mKULjIJW.cjs → mapbox-gl-Buwj8UJV.cjs} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.cts +17 -0
- package/dist/utils.d.ts +17 -0
- package/dist/utils.js +3 -2
- package/package.json +12 -7
- package/dist/job-search-CVo-37ft.cjs +0 -44
- package/dist/map-attribution-By9wrlPf.js +0 -134
- package/dist/map-attribution-DyuZ3dMC.cjs +0 -26
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @inploi/plugin-job-search
|
|
2
2
|
|
|
3
|
-
Location suggestions use `https://maps.inploi.com/places`, limited to the hub's countries. A random id
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Location suggestions use `https://maps.inploi.com/places`, limited to the hub's countries. A random id kept in
|
|
4
|
+
memory for the page load (never stored on the device) keeps the Worker's rollout on one search arm for that
|
|
5
|
+
page. Worker errors, invalid responses and a 2.5-second timeout fall back to the
|
|
6
6
|
existing direct Mapbox geocoder. Exact typed postcodes still rank first. Applying a suggestion or searching
|
|
7
7
|
typed text sends a codes-only outcome to the Worker; query text and location details are never included.
|
|
8
8
|
|
|
@@ -33,10 +33,12 @@ omitting `style` selects `default`. Mapbox styles never reach Mapbox: the light-
|
|
|
33
33
|
`default`, outdoors-v12 and streets-v12 to `outdoors` and `streets`, and each client's custom Mapbox style to its
|
|
34
34
|
hosted id (see `MAPBOX_TO_ID`), in either the `mapbox://styles/…` or `https://api.mapbox.com/styles/v1/…` form;
|
|
35
35
|
other Mapbox URLs select `default` and log a warning. Other HTTPS style URLs are used as given.
|
|
36
|
-
If the style or a basemap tile fails before the map first loads, or
|
|
37
|
-
retries the same style once
|
|
36
|
+
If the style or a basemap tile fails before the map first loads, or the style itself takes longer than ten
|
|
37
|
+
seconds to answer, MapLibre retries the same style once; slow tiles after the style has loaded never trigger
|
|
38
|
+
it. If that fails too, or an unsupported style format is configured, the map is replaced
|
|
38
39
|
by a static `Map unavailable` notice (`role="status"`, term `map_unavailable`) and the job list and search keep
|
|
39
|
-
working.
|
|
40
|
+
working. Each map reports how its first render ended (loaded or unavailable, a reason code, whether it retried
|
|
41
|
+
and how long it took) to `https://maps.inploi.com/outcome`: codes only, never a query or place. Styles hosted at `https://maps.inploi.com` show only the linked
|
|
40
42
|
`© OpenStreetMap contributors` credit. Other styles show de-duplicated source credits,
|
|
41
43
|
updated as the style and source metadata load. Source attribution is parsed in an inert document and rebuilt
|
|
42
44
|
as text and HTTP(S) links only; remote elements and attributes are never copied into the page.
|
|
@@ -69,7 +71,7 @@ MapLibre's own declarations, which `createMapAttribution` reaches through MapLib
|
|
|
69
71
|
declarations import ES modules without `resolution-mode` (TS1479, TS1542). `skipLibCheck: true` or `bundler`
|
|
70
72
|
resolution avoids it. Separately, `mapbox-gl` installs a stub `@types/mapbox__point-geometry` that breaks
|
|
71
73
|
TypeScript's automatic global types. Consumers who hit TS2688 can list their global types explicitly, for example
|
|
72
|
-
`"types": ["geojson"]`. CI's [packed types](../../docs/ci.md#packed-types) check allows exactly these upstream errors.
|
|
74
|
+
`"types": ["geojson"]`. CI's [packed types](../../docs/sdk/ci.md#packed-types) check allows exactly these upstream errors.
|
|
73
75
|
MapLibre's cooperative-gesture hints use the plugin's `map_gesture_windows`, `map_gesture_mac` and
|
|
74
76
|
`map_gesture_mobile` terms, so embeds can localise them through `terms`.
|
|
75
77
|
|