@inploi/plugin-job-search 9.2.1 → 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 +8 -6
- 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 +3 -3
- 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/dist/utils.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./job-search-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./job-search-DyRuFVYr.cjs"),a=require("./map-outcome-BiHZjMoM.cjs");exports.getGeolocationFromSearchParams=e.getGeolocationFromSearchParams;exports.getModeFromSearchParams=e.getModeFromSearchParams;exports.getStatefulPropertiesFromSearchParams=e.getStatefulPropertiesFromSearchParams;exports.getViewFromSearchParams=e.getViewFromSearchParams;exports.getWidgetStateFromSearchParams=e.getWidgetStateFromSearchParams;exports.setWidgetStateToSearchParams=e.setWidgetStateToSearchParams;exports.useDebouncedValue=e.useDebouncedValue;exports.createMapAttribution=a.createMapAttribution;exports.mapOutcome=a.mapOutcome;exports.resolveMapStyle=a.resolveMapStyle;
|
package/dist/utils.d.cts
CHANGED
|
@@ -622,6 +622,23 @@ declare type JobSearchState_2 = {
|
|
|
622
622
|
|
|
623
623
|
declare type JobSearchTranslationTerms = Parameters<typeof createTFunction>[0]['overrides'] | undefined;
|
|
624
624
|
|
|
625
|
+
export declare type MapFailure = 'library' | 'start' | 'webgl' | 'style-timeout' | 'style-error';
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Reports how a map's first render ended to maps.inploi.com, so failures show without waiting for feedback.
|
|
629
|
+
* Codes and a duration only: never a query, place or anything about the candidate.
|
|
630
|
+
*/
|
|
631
|
+
export declare const mapOutcome: (outcome: {
|
|
632
|
+
surface: "job-search" | "job-results";
|
|
633
|
+
retried: boolean;
|
|
634
|
+
since: number;
|
|
635
|
+
} & ({
|
|
636
|
+
stage: "loaded";
|
|
637
|
+
} | {
|
|
638
|
+
stage: "unavailable";
|
|
639
|
+
reason: MapFailure;
|
|
640
|
+
})) => void;
|
|
641
|
+
|
|
625
642
|
/**
|
|
626
643
|
* Resolves styles for the MapLibre renderer. Mapbox styles, in either URL form, never reach Mapbox: unknown ones
|
|
627
644
|
* use the default and report their original URL.
|
package/dist/utils.d.ts
CHANGED
|
@@ -622,6 +622,23 @@ declare type JobSearchState_2 = {
|
|
|
622
622
|
|
|
623
623
|
declare type JobSearchTranslationTerms = Parameters<typeof createTFunction>[0]['overrides'] | undefined;
|
|
624
624
|
|
|
625
|
+
export declare type MapFailure = 'library' | 'start' | 'webgl' | 'style-timeout' | 'style-error';
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Reports how a map's first render ended to maps.inploi.com, so failures show without waiting for feedback.
|
|
629
|
+
* Codes and a duration only: never a query, place or anything about the candidate.
|
|
630
|
+
*/
|
|
631
|
+
export declare const mapOutcome: (outcome: {
|
|
632
|
+
surface: "job-search" | "job-results";
|
|
633
|
+
retried: boolean;
|
|
634
|
+
since: number;
|
|
635
|
+
} & ({
|
|
636
|
+
stage: "loaded";
|
|
637
|
+
} | {
|
|
638
|
+
stage: "unavailable";
|
|
639
|
+
reason: MapFailure;
|
|
640
|
+
})) => void;
|
|
641
|
+
|
|
625
642
|
/**
|
|
626
643
|
* Resolves styles for the MapLibre renderer. Mapbox styles, in either URL form, never reach Mapbox: unknown ones
|
|
627
644
|
* use the default and report their original URL.
|
package/dist/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as r, a as t, b as s, c as o, d as m, s as c, u as S } from "./job-search-
|
|
2
|
-
import { c as i, r as P } from "./map-
|
|
1
|
+
import { g as r, a as t, b as s, c as o, d as m, s as c, u as S } from "./job-search-CkwwTVkM.js";
|
|
2
|
+
import { c as i, m as u, r as P } from "./map-outcome-zYbBd2H8.js";
|
|
3
3
|
export {
|
|
4
4
|
i as createMapAttribution,
|
|
5
5
|
r as getGeolocationFromSearchParams,
|
|
@@ -7,6 +7,7 @@ export {
|
|
|
7
7
|
s as getStatefulPropertiesFromSearchParams,
|
|
8
8
|
o as getViewFromSearchParams,
|
|
9
9
|
m as getWidgetStateFromSearchParams,
|
|
10
|
+
u as mapOutcome,
|
|
10
11
|
P as resolveMapStyle,
|
|
11
12
|
c as setWidgetStateToSearchParams,
|
|
12
13
|
S as useDebouncedValue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-job-search",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/inploi/platform.git",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"vite-plugin-dts": "4.5.4",
|
|
83
83
|
"vite-tsconfig-paths": "5.1.4",
|
|
84
84
|
"vitest": "4.1.12",
|
|
85
|
-
"@inploi/core": "1.
|
|
85
|
+
"@inploi/core": "1.25.0",
|
|
86
86
|
"@inploi/design-tokens": "0.2.3",
|
|
87
87
|
"@inploi/i18n": "0.1.7",
|
|
88
88
|
"@inploi/plugin-feedback": "6.3.3",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"mapbox-gl": "^3.12.0",
|
|
99
99
|
"maplibre-gl": "^5.24.0",
|
|
100
|
-
"@inploi/sdk": "3.1.
|
|
100
|
+
"@inploi/sdk": "3.1.2"
|
|
101
101
|
},
|
|
102
102
|
"scripts": {
|
|
103
103
|
"dev": "vite",
|