@inploi/plugin-job-search 1.1.0 → 1.2.1
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/cdn/index.js +2707 -7
- package/cdn/style.css +1 -1
- package/dist/components/filter-content.active.d.ts +3 -4
- package/dist/components/filter-section.d.ts +5 -2
- package/dist/components/filter.d.ts +4 -60
- package/dist/components/geo-search.d.ts +12 -1
- package/dist/components/icon.d.ts +2 -0
- package/dist/components/job-card.d.ts +2 -1
- package/dist/components/map.d.ts +12 -0
- package/dist/components/results-list.d.ts +23 -0
- package/dist/components/results-map.d.ts +19 -0
- package/dist/components/{results-section.d.ts → results.d.ts} +5 -3
- package/dist/components/view-switch.d.ts +6 -0
- package/dist/index.cjs +2 -5
- package/dist/index.js +1060 -1117
- package/dist/job-search.api.d.ts +467 -2
- package/dist/job-search.d.ts +12 -1
- package/dist/job-search.schemas.d.ts +45 -1
- package/dist/lib/i18n.d.ts +42 -6
- package/dist/map-5c3321dc.js +36392 -0
- package/dist/map-daa19df8.cjs +2661 -0
- package/dist/mocks/handlers.d.ts +11 -0
- package/dist/style/theme.d.ts +4 -0
- package/dist/style/tokens.d.ts +2 -3
- package/dist/style.css +1 -1
- package/dist/utils-63e032a6.cjs +60 -0
- package/dist/utils-c8729cb9.js +7037 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +17 -15
- package/dist/components/current-value-tag.d.ts +0 -10
- package/dist/components/mode-switch.d.ts +0 -9
- package/dist/utils-1b5170d4.js +0 -3870
- package/dist/utils-80049d4b.cjs +0 -17
package/dist/utils.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./utils-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./utils-63e032a6.cjs");exports.getGeolocationFromSearchParams=e.getGeolocationFromSearchParams;exports.getStatefulPropertiesFromSearchParams=e.getStatefulPropertiesFromSearchParams;
|
package/dist/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-job-search",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/plugin-job-search.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,53 +21,54 @@
|
|
|
21
21
|
"/cdn"
|
|
22
22
|
],
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@inploi/sdk": "*",
|
|
25
24
|
"@inploi/plugin-feedback": "*",
|
|
26
|
-
"@inploi/plugin-job-alerts": "*"
|
|
25
|
+
"@inploi/plugin-job-alerts": "*",
|
|
26
|
+
"@inploi/sdk": "*"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@faker-js/faker": "^8.4.1",
|
|
30
30
|
"@happy-dom/global-registrator": "14.3.6",
|
|
31
31
|
"@preact/preset-vite": "^2.9.0",
|
|
32
32
|
"@preact/signals": "^1.3.0",
|
|
33
|
-
"@radix-ui/react-
|
|
33
|
+
"@radix-ui/react-dialog": "1.0.5",
|
|
34
|
+
"@radix-ui/react-popover": "1.0.7",
|
|
34
35
|
"@total-typescript/ts-reset": "^0.5.1",
|
|
35
36
|
"@types/bun": "^1.2.5",
|
|
36
|
-
"concurrently": "9.1.2",
|
|
37
37
|
"@types/culori": "^2.1.1",
|
|
38
38
|
"@types/eslint": "^8.56.10",
|
|
39
39
|
"@types/lodash": "^4.17.7",
|
|
40
40
|
"@types/node": "^20.14.11",
|
|
41
41
|
"autoprefixer": "^10.4.19",
|
|
42
|
+
"clsx": "^2.1.1",
|
|
43
|
+
"concurrently": "9.1.2",
|
|
42
44
|
"cva": "1.0.0-beta.1",
|
|
43
45
|
"dotenv": "^16.4.5",
|
|
44
46
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
45
47
|
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
46
48
|
"expect-type": "^1.0.0",
|
|
47
49
|
"happy-dom": "14.3.6",
|
|
50
|
+
"lodash": "^4.17.21",
|
|
48
51
|
"msw": "^2.3.2",
|
|
52
|
+
"neoqs": "^6.13.0",
|
|
49
53
|
"playwright-msw": "^3.0.1",
|
|
50
54
|
"postcss": "8.4.33",
|
|
55
|
+
"preact": "10.16.0",
|
|
51
56
|
"preact-render-to-string": "^6.5.6",
|
|
57
|
+
"react": "npm:@preact/compat@17.1.2",
|
|
58
|
+
"react-dom": "npm:@preact/compat@17.1.2",
|
|
52
59
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
60
|
+
"swr": "^2.2.5",
|
|
53
61
|
"tailwindcss": "^3.4.6",
|
|
54
62
|
"tailwindcss-touch": "^1.0.1",
|
|
55
63
|
"type-testing": "^0.2.0",
|
|
64
|
+
"valibot": "^0.21.0",
|
|
56
65
|
"vite": "^4.5.3",
|
|
57
66
|
"vite-plugin-dts": "^3.9.1",
|
|
58
67
|
"vite-tsconfig-paths": "^4.3.2",
|
|
59
|
-
"clsx": "^2.1.1",
|
|
60
|
-
"lodash": "^4.17.21",
|
|
61
|
-
"neoqs": "^6.13.0",
|
|
62
|
-
"preact": "10.16.0",
|
|
63
|
-
"react": "npm:@preact/compat@17.1.2",
|
|
64
|
-
"react-dom": "npm:@preact/compat@17.1.2",
|
|
65
|
-
"swr": "^2.2.5",
|
|
66
|
-
"valibot": "^0.21.0",
|
|
67
68
|
"@inploi/core": "1.16.0",
|
|
68
69
|
"@inploi/design-tokens": "0.2.1",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
70
|
+
"@inploi/i18n": "0.1.2",
|
|
71
|
+
"eslint-config-custom": "0.1.0"
|
|
71
72
|
},
|
|
72
73
|
"msw": {
|
|
73
74
|
"workerDirectory": [
|
|
@@ -75,6 +76,7 @@
|
|
|
75
76
|
]
|
|
76
77
|
},
|
|
77
78
|
"dependencies": {
|
|
79
|
+
"mapbox-gl": "^3.12.0",
|
|
78
80
|
"@inploi/sdk": "1.14.11"
|
|
79
81
|
},
|
|
80
82
|
"scripts": {
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FilterProperty } from '../job-search';
|
|
2
|
-
import { GetAvailableFiltersResponse, QueryState } from '../job-search.api';
|
|
3
|
-
|
|
4
|
-
type CurrentValueTagProps = {
|
|
5
|
-
query: QueryState<GetAvailableFiltersResponse>;
|
|
6
|
-
property: FilterProperty;
|
|
7
|
-
selectedValues: string[];
|
|
8
|
-
};
|
|
9
|
-
export declare const CurrentValueTag: ({ query, property, selectedValues }: CurrentValueTagProps) => import("preact").JSX.Element | null;
|
|
10
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FilterValue } from './filter';
|
|
2
|
-
|
|
3
|
-
type ModeSwitchProps = {
|
|
4
|
-
value: boolean;
|
|
5
|
-
onValueChange: (val: boolean) => void;
|
|
6
|
-
appliedFilters: Record<string, FilterValue | undefined>;
|
|
7
|
-
};
|
|
8
|
-
export declare const ModeSwitch: ({ onValueChange, appliedFilters, value }: ModeSwitchProps) => import("preact").JSX.Element;
|
|
9
|
-
export {};
|