@inploi/plugin-job-search 9.0.0 → 9.0.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.
Files changed (98) hide show
  1. package/README.md +5 -0
  2. package/cdn/index.js +16 -18
  3. package/cdn/style.css +1 -1
  4. package/dist/index.cjs +1 -2
  5. package/dist/index.d.cts +977 -0
  6. package/dist/index.d.ts +977 -2
  7. package/dist/index.js +147 -175
  8. package/dist/{job-search-eb64050e.js → job-search-C39oHZb7.js} +1804 -1959
  9. package/dist/job-search-C9kyIrbM.cjs +60 -0
  10. package/dist/map-B3T2x-f7.cjs +1 -0
  11. package/dist/map-DVf9u_B8.js +286 -0
  12. package/dist/{map-attribution-96798686.js → map-attribution-By9wrlPf.js} +7 -14
  13. package/dist/mapbox-gl-BvQCqDX3.cjs +3073 -0
  14. package/dist/{mapbox-gl-0f446975.js → mapbox-gl-D9aqTRUT.js} +13146 -16312
  15. package/dist/style.css +1 -1
  16. package/dist/utils.cjs +1 -1
  17. package/dist/utils.d.cts +622 -0
  18. package/dist/utils.d.ts +622 -3
  19. package/dist/utils.js +11 -12
  20. package/package.json +25 -15
  21. package/dist/components/button.d.ts +0 -60
  22. package/dist/components/combobox.d.ts +0 -27
  23. package/dist/components/error-boundary.d.ts +0 -23
  24. package/dist/components/filter-content.active.d.ts +0 -246
  25. package/dist/components/filter-section.d.ts +0 -18
  26. package/dist/components/filter.d.ts +0 -24
  27. package/dist/components/geo-search.d.ts +0 -37
  28. package/dist/components/geo-search.geocode.d.ts +0 -34
  29. package/dist/components/geo-search.geocode.test.d.ts +0 -1
  30. package/dist/components/geo-search.locate-button.d.ts +0 -8
  31. package/dist/components/geo-search.location-input.d.ts +0 -12
  32. package/dist/components/geo-search.location-input.test.d.ts +0 -1
  33. package/dist/components/geo-search.utils.d.ts +0 -19
  34. package/dist/components/geo-search.utils.test.d.ts +0 -1
  35. package/dist/components/icon.d.ts +0 -33
  36. package/dist/components/job-card.d.ts +0 -17
  37. package/dist/components/job-search.alerts.test.d.ts +0 -1
  38. package/dist/components/job-search.d.ts +0 -56
  39. package/dist/components/keyword-search.d.ts +0 -6
  40. package/dist/components/map.attribution.test.d.ts +0 -1
  41. package/dist/components/map.d.ts +0 -12
  42. package/dist/components/map.imports.test.d.ts +0 -1
  43. package/dist/components/map.mapbox.d.ts +0 -11
  44. package/dist/components/map.maplibre.d.ts +0 -12
  45. package/dist/components/map.test.d.ts +0 -1
  46. package/dist/components/map.types.d.ts +0 -46
  47. package/dist/components/natural-language-section.d.ts +0 -9
  48. package/dist/components/palette-debugger.d.ts +0 -1
  49. package/dist/components/result-order.d.ts +0 -6
  50. package/dist/components/results-list.d.ts +0 -26
  51. package/dist/components/results-map.d.ts +0 -22
  52. package/dist/components/results.d.ts +0 -28
  53. package/dist/components/roving-text.d.ts +0 -6
  54. package/dist/components/skeleton-text.d.ts +0 -3
  55. package/dist/components/tag.d.ts +0 -60
  56. package/dist/components/view-switch.d.ts +0 -64
  57. package/dist/index.cdn.d.ts +0 -9
  58. package/dist/index.dev.d.ts +0 -1
  59. package/dist/job-search-941c04d7.cjs +0 -60
  60. package/dist/job-search.api.d.ts +0 -682
  61. package/dist/job-search.api.test.d.ts +0 -1
  62. package/dist/job-search.api.typetest.d.ts +0 -1
  63. package/dist/job-search.constants.d.ts +0 -7
  64. package/dist/job-search.d.ts +0 -296
  65. package/dist/job-search.schemas.d.ts +0 -183
  66. package/dist/lib/cache-key.d.ts +0 -7
  67. package/dist/lib/cache-key.test.d.ts +0 -1
  68. package/dist/lib/countries.d.ts +0 -4
  69. package/dist/lib/countries.test.d.ts +0 -1
  70. package/dist/lib/currency.test.d.ts +0 -1
  71. package/dist/lib/deep-set.d.ts +0 -8
  72. package/dist/lib/deep-set.test.d.ts +0 -1
  73. package/dist/lib/distance.d.ts +0 -11
  74. package/dist/lib/distance.test.d.ts +0 -1
  75. package/dist/lib/hooks.d.ts +0 -8
  76. package/dist/lib/i18n.d.ts +0 -587
  77. package/dist/lib/map-attribution.d.ts +0 -8
  78. package/dist/lib/map-library-cdn.test.d.ts +0 -1
  79. package/dist/lib/map-style.d.ts +0 -8
  80. package/dist/lib/map-style.test.d.ts +0 -1
  81. package/dist/lib/match.d.ts +0 -35
  82. package/dist/lib/match.test.d.ts +0 -1
  83. package/dist/lib/sort.d.ts +0 -4
  84. package/dist/lib/sort.test.d.ts +0 -1
  85. package/dist/lib/type-utils.d.ts +0 -56
  86. package/dist/lib/utils.d.ts +0 -16
  87. package/dist/lib/utils.test.d.ts +0 -1
  88. package/dist/map-00ee82df.js +0 -300
  89. package/dist/map-109de8da.cjs +0 -2
  90. package/dist/mapbox-gl-11152b6e.cjs +0 -3073
  91. package/dist/mocks/browser.d.ts +0 -1
  92. package/dist/mocks/handlers.d.ts +0 -26
  93. package/dist/style/theme.d.ts +0 -7
  94. package/dist/style/theme.utils.d.ts +0 -6
  95. package/dist/style/tokens.d.ts +0 -148
  96. /package/dist/{common.geo-transport-CJGUJXTA-aba25ae8.cjs → common.geo-transport-CJGUJXTA-BmDm5A18.cjs} +0 -0
  97. /package/dist/{common.geo-transport-CJGUJXTA-e1f9b82a.js → common.geo-transport-CJGUJXTA-H3__EeqQ.js} +0 -0
  98. /package/dist/{map-attribution-0b24769c.cjs → map-attribution-DyuZ3dMC.cjs} +0 -0
@@ -1,587 +0,0 @@
1
- export declare const TranslationProvider: (props: {
2
- terms?: Partial<import('@inploi/i18n/translation').TranslationDict<{
3
- readonly type_to_search_jobs: "Type to search jobs";
4
- readonly type_to_search: "Type to search";
5
- readonly jobs_found: {
6
- readonly one: "{{count}} job found";
7
- readonly other: "{{count}} jobs found";
8
- };
9
- readonly no_jobs_found: "No jobs found";
10
- readonly no_jobs_found_description: "We could not find any jobs matching your filtering criteria.";
11
- readonly jobs_loading_error: "We’re having trouble loading available jobs.";
12
- readonly filters_loading_error: "We’re having trouble loading available filters.";
13
- readonly no_filter_options_available: "No filter options available.";
14
- readonly clear: "Clear";
15
- readonly selected: "selected";
16
- readonly done: "Done";
17
- readonly close: "Close";
18
- readonly new: "NEW";
19
- readonly posted: "Posted";
20
- readonly distance_away: "{{distance}} away";
21
- readonly retry: "Retry";
22
- readonly widget_unavailable: "Sorry, this widget is unavailable at the moment.";
23
- readonly load_more_count: "Load {{count}} more";
24
- readonly of_remaining_count: "of {{count}} remaining";
25
- readonly today: "today";
26
- readonly over_30_days_ago: "over 30 days ago";
27
- readonly in_over_30_days: "in over 30 days";
28
- readonly up_to: "Up to";
29
- readonly from: "From";
30
- readonly invalid_salary: "Invalid salary";
31
- readonly competitive: "Competitive";
32
- readonly natural_language_input: "Type anything";
33
- readonly great_match: "Great match";
34
- readonly advanced_mode: "Filters";
35
- readonly simple_mode: "Hide filters";
36
- readonly ai_disclaimer: "Results may not be perfect. AI-powered search can occasionally suggest unrelated content.";
37
- readonly geo_error_timeout: "Timed out. Please type your location manually.";
38
- readonly geo_error_permission_denied: "Please allow location access to use this feature.";
39
- readonly geo_error_position_unavailable: "Could not locate you. Please type your location manually.";
40
- readonly geo_my_location: "My location";
41
- readonly geo_locating: "Locating you...";
42
- readonly geo_search_placeholder: "Search for a location";
43
- readonly geo_clear_search: "Clear location search";
44
- readonly location_provided: "Provided location";
45
- readonly search_label: "What";
46
- readonly geo_label: "Where";
47
- readonly geo_range_label: "Within";
48
- readonly geo_suggestions_error: "Could not get the suggested locations.";
49
- readonly geo_no_match: "We couldn’t find that place. Try a town, city or postcode.";
50
- readonly geo_query_too_short: "Type at least 3 letters of a town, city or postcode.";
51
- readonly geo_choose_location: "Press Enter or choose a suggestion to search near this place.";
52
- readonly geo_any_distance: "Any distance";
53
- readonly feedback: "How was your search experience?";
54
- readonly list: "List";
55
- readonly map: "Map";
56
- readonly map_gesture_windows: "Use Ctrl + scroll to zoom the map";
57
- readonly map_gesture_mac: "Use ⌘ + scroll to zoom the map";
58
- readonly map_gesture_mobile: "Use two fingers to move the map";
59
- readonly map_unavailable: "Map unavailable";
60
- readonly loading_jobs: "Loading jobs…";
61
- readonly map_jobs_error: "We’re having trouble loading jobs in the area";
62
- readonly map_has_more_title: "Not showing all the jobs in this area";
63
- readonly map_has_more_description: "Zoom in to refine your search further";
64
- readonly map_jobs_showing: {
65
- readonly one: "Showing {{count}} job";
66
- readonly other: "Showing {{count}} jobs";
67
- };
68
- readonly page: "Page";
69
- readonly reset: "Reset";
70
- readonly sort_by: "Sort by";
71
- readonly sort_most_relevant: "Most relevant";
72
- readonly sort_closest: "Closest";
73
- readonly sort_newest: "Newest";
74
- readonly 'job.employment_type.FULL_TIME': "Full-time";
75
- readonly 'job.employment_type.PART_TIME': "Part-time";
76
- readonly 'job.employment_type.CONTRACT': "Contractor";
77
- readonly 'job.employment_type.TEMPORARY': "Temporary";
78
- readonly 'job.employment_type.INTERN': "Internship";
79
- readonly 'job.employment_type.VOLUNTEER': "Volunteer";
80
- readonly 'job.employment_type.OTHER': "Other";
81
- readonly 'job.location_type.LOCATION': "On-site";
82
- readonly 'job.location_type.REMOTE': "Remote";
83
- readonly 'job.location_type.HYBRID': "Hybrid";
84
- }>> | undefined;
85
- locale: string | undefined;
86
- children?: import('preact').ComponentChildren;
87
- }) => import("preact").JSX.Element, useTranslation: <T extends {
88
- readonly type_to_search_jobs: "Type to search jobs";
89
- readonly type_to_search: "Type to search";
90
- readonly jobs_found: {
91
- readonly one: "{{count}} job found";
92
- readonly other: "{{count}} jobs found";
93
- };
94
- readonly no_jobs_found: "No jobs found";
95
- readonly no_jobs_found_description: "We could not find any jobs matching your filtering criteria.";
96
- readonly jobs_loading_error: "We’re having trouble loading available jobs.";
97
- readonly filters_loading_error: "We’re having trouble loading available filters.";
98
- readonly no_filter_options_available: "No filter options available.";
99
- readonly clear: "Clear";
100
- readonly selected: "selected";
101
- readonly done: "Done";
102
- readonly close: "Close";
103
- readonly new: "NEW";
104
- readonly posted: "Posted";
105
- readonly distance_away: "{{distance}} away";
106
- readonly retry: "Retry";
107
- readonly widget_unavailable: "Sorry, this widget is unavailable at the moment.";
108
- readonly load_more_count: "Load {{count}} more";
109
- readonly of_remaining_count: "of {{count}} remaining";
110
- readonly today: "today";
111
- readonly over_30_days_ago: "over 30 days ago";
112
- readonly in_over_30_days: "in over 30 days";
113
- readonly up_to: "Up to";
114
- readonly from: "From";
115
- readonly invalid_salary: "Invalid salary";
116
- readonly competitive: "Competitive";
117
- readonly natural_language_input: "Type anything";
118
- readonly great_match: "Great match";
119
- readonly advanced_mode: "Filters";
120
- readonly simple_mode: "Hide filters";
121
- readonly ai_disclaimer: "Results may not be perfect. AI-powered search can occasionally suggest unrelated content.";
122
- readonly geo_error_timeout: "Timed out. Please type your location manually.";
123
- readonly geo_error_permission_denied: "Please allow location access to use this feature.";
124
- readonly geo_error_position_unavailable: "Could not locate you. Please type your location manually.";
125
- readonly geo_my_location: "My location";
126
- readonly geo_locating: "Locating you...";
127
- readonly geo_search_placeholder: "Search for a location";
128
- readonly geo_clear_search: "Clear location search";
129
- readonly location_provided: "Provided location";
130
- readonly search_label: "What";
131
- readonly geo_label: "Where";
132
- readonly geo_range_label: "Within";
133
- readonly geo_suggestions_error: "Could not get the suggested locations.";
134
- readonly geo_no_match: "We couldn’t find that place. Try a town, city or postcode.";
135
- readonly geo_query_too_short: "Type at least 3 letters of a town, city or postcode.";
136
- readonly geo_choose_location: "Press Enter or choose a suggestion to search near this place.";
137
- readonly geo_any_distance: "Any distance";
138
- readonly feedback: "How was your search experience?";
139
- readonly list: "List";
140
- readonly map: "Map";
141
- readonly map_gesture_windows: "Use Ctrl + scroll to zoom the map";
142
- readonly map_gesture_mac: "Use ⌘ + scroll to zoom the map";
143
- readonly map_gesture_mobile: "Use two fingers to move the map";
144
- readonly map_unavailable: "Map unavailable";
145
- readonly loading_jobs: "Loading jobs…";
146
- readonly map_jobs_error: "We’re having trouble loading jobs in the area";
147
- readonly map_has_more_title: "Not showing all the jobs in this area";
148
- readonly map_has_more_description: "Zoom in to refine your search further";
149
- readonly map_jobs_showing: {
150
- readonly one: "Showing {{count}} job";
151
- readonly other: "Showing {{count}} jobs";
152
- };
153
- readonly page: "Page";
154
- readonly reset: "Reset";
155
- readonly sort_by: "Sort by";
156
- readonly sort_most_relevant: "Most relevant";
157
- readonly sort_closest: "Closest";
158
- readonly sort_newest: "Newest";
159
- readonly 'job.employment_type.FULL_TIME': "Full-time";
160
- readonly 'job.employment_type.PART_TIME': "Part-time";
161
- readonly 'job.employment_type.CONTRACT': "Contractor";
162
- readonly 'job.employment_type.TEMPORARY': "Temporary";
163
- readonly 'job.employment_type.INTERN': "Internship";
164
- readonly 'job.employment_type.VOLUNTEER': "Volunteer";
165
- readonly 'job.employment_type.OTHER': "Other";
166
- readonly 'job.location_type.LOCATION': "On-site";
167
- readonly 'job.location_type.REMOTE': "Remote";
168
- readonly 'job.location_type.HYBRID': "Hybrid";
169
- } = {
170
- readonly type_to_search_jobs: "Type to search jobs";
171
- readonly type_to_search: "Type to search";
172
- readonly jobs_found: {
173
- readonly one: "{{count}} job found";
174
- readonly other: "{{count}} jobs found";
175
- };
176
- readonly no_jobs_found: "No jobs found";
177
- readonly no_jobs_found_description: "We could not find any jobs matching your filtering criteria.";
178
- readonly jobs_loading_error: "We’re having trouble loading available jobs.";
179
- readonly filters_loading_error: "We’re having trouble loading available filters.";
180
- readonly no_filter_options_available: "No filter options available.";
181
- readonly clear: "Clear";
182
- readonly selected: "selected";
183
- readonly done: "Done";
184
- readonly close: "Close";
185
- readonly new: "NEW";
186
- readonly posted: "Posted";
187
- readonly distance_away: "{{distance}} away";
188
- readonly retry: "Retry";
189
- readonly widget_unavailable: "Sorry, this widget is unavailable at the moment.";
190
- readonly load_more_count: "Load {{count}} more";
191
- readonly of_remaining_count: "of {{count}} remaining";
192
- readonly today: "today";
193
- readonly over_30_days_ago: "over 30 days ago";
194
- readonly in_over_30_days: "in over 30 days";
195
- readonly up_to: "Up to";
196
- readonly from: "From";
197
- readonly invalid_salary: "Invalid salary";
198
- readonly competitive: "Competitive";
199
- readonly natural_language_input: "Type anything";
200
- readonly great_match: "Great match";
201
- readonly advanced_mode: "Filters";
202
- readonly simple_mode: "Hide filters";
203
- readonly ai_disclaimer: "Results may not be perfect. AI-powered search can occasionally suggest unrelated content.";
204
- readonly geo_error_timeout: "Timed out. Please type your location manually.";
205
- readonly geo_error_permission_denied: "Please allow location access to use this feature.";
206
- readonly geo_error_position_unavailable: "Could not locate you. Please type your location manually.";
207
- readonly geo_my_location: "My location";
208
- readonly geo_locating: "Locating you...";
209
- readonly geo_search_placeholder: "Search for a location";
210
- readonly geo_clear_search: "Clear location search";
211
- readonly location_provided: "Provided location";
212
- readonly search_label: "What";
213
- readonly geo_label: "Where";
214
- readonly geo_range_label: "Within";
215
- readonly geo_suggestions_error: "Could not get the suggested locations.";
216
- readonly geo_no_match: "We couldn’t find that place. Try a town, city or postcode.";
217
- readonly geo_query_too_short: "Type at least 3 letters of a town, city or postcode.";
218
- readonly geo_choose_location: "Press Enter or choose a suggestion to search near this place.";
219
- readonly geo_any_distance: "Any distance";
220
- readonly feedback: "How was your search experience?";
221
- readonly list: "List";
222
- readonly map: "Map";
223
- readonly map_gesture_windows: "Use Ctrl + scroll to zoom the map";
224
- readonly map_gesture_mac: "Use ⌘ + scroll to zoom the map";
225
- readonly map_gesture_mobile: "Use two fingers to move the map";
226
- readonly map_unavailable: "Map unavailable";
227
- readonly loading_jobs: "Loading jobs…";
228
- readonly map_jobs_error: "We’re having trouble loading jobs in the area";
229
- readonly map_has_more_title: "Not showing all the jobs in this area";
230
- readonly map_has_more_description: "Zoom in to refine your search further";
231
- readonly map_jobs_showing: {
232
- readonly one: "Showing {{count}} job";
233
- readonly other: "Showing {{count}} jobs";
234
- };
235
- readonly page: "Page";
236
- readonly reset: "Reset";
237
- readonly sort_by: "Sort by";
238
- readonly sort_most_relevant: "Most relevant";
239
- readonly sort_closest: "Closest";
240
- readonly sort_newest: "Newest";
241
- readonly 'job.employment_type.FULL_TIME': "Full-time";
242
- readonly 'job.employment_type.PART_TIME': "Part-time";
243
- readonly 'job.employment_type.CONTRACT': "Contractor";
244
- readonly 'job.employment_type.TEMPORARY': "Temporary";
245
- readonly 'job.employment_type.INTERN': "Internship";
246
- readonly 'job.employment_type.VOLUNTEER': "Volunteer";
247
- readonly 'job.employment_type.OTHER': "Other";
248
- readonly 'job.location_type.LOCATION': "On-site";
249
- readonly 'job.location_type.REMOTE': "Remote";
250
- readonly 'job.location_type.HYBRID': "Hybrid";
251
- }>() => {
252
- t: import('@inploi/i18n/translation').TFn<T>;
253
- locale: string | undefined;
254
- }, createTFunction: <T extends {
255
- readonly type_to_search_jobs: "Type to search jobs";
256
- readonly type_to_search: "Type to search";
257
- readonly jobs_found: {
258
- readonly one: "{{count}} job found";
259
- readonly other: "{{count}} jobs found";
260
- };
261
- readonly no_jobs_found: "No jobs found";
262
- readonly no_jobs_found_description: "We could not find any jobs matching your filtering criteria.";
263
- readonly jobs_loading_error: "We’re having trouble loading available jobs.";
264
- readonly filters_loading_error: "We’re having trouble loading available filters.";
265
- readonly no_filter_options_available: "No filter options available.";
266
- readonly clear: "Clear";
267
- readonly selected: "selected";
268
- readonly done: "Done";
269
- readonly close: "Close";
270
- readonly new: "NEW";
271
- readonly posted: "Posted";
272
- readonly distance_away: "{{distance}} away";
273
- readonly retry: "Retry";
274
- readonly widget_unavailable: "Sorry, this widget is unavailable at the moment.";
275
- readonly load_more_count: "Load {{count}} more";
276
- readonly of_remaining_count: "of {{count}} remaining";
277
- readonly today: "today";
278
- readonly over_30_days_ago: "over 30 days ago";
279
- readonly in_over_30_days: "in over 30 days";
280
- readonly up_to: "Up to";
281
- readonly from: "From";
282
- readonly invalid_salary: "Invalid salary";
283
- readonly competitive: "Competitive";
284
- readonly natural_language_input: "Type anything";
285
- readonly great_match: "Great match";
286
- readonly advanced_mode: "Filters";
287
- readonly simple_mode: "Hide filters";
288
- readonly ai_disclaimer: "Results may not be perfect. AI-powered search can occasionally suggest unrelated content.";
289
- readonly geo_error_timeout: "Timed out. Please type your location manually.";
290
- readonly geo_error_permission_denied: "Please allow location access to use this feature.";
291
- readonly geo_error_position_unavailable: "Could not locate you. Please type your location manually.";
292
- readonly geo_my_location: "My location";
293
- readonly geo_locating: "Locating you...";
294
- readonly geo_search_placeholder: "Search for a location";
295
- readonly geo_clear_search: "Clear location search";
296
- readonly location_provided: "Provided location";
297
- readonly search_label: "What";
298
- readonly geo_label: "Where";
299
- readonly geo_range_label: "Within";
300
- readonly geo_suggestions_error: "Could not get the suggested locations.";
301
- readonly geo_no_match: "We couldn’t find that place. Try a town, city or postcode.";
302
- readonly geo_query_too_short: "Type at least 3 letters of a town, city or postcode.";
303
- readonly geo_choose_location: "Press Enter or choose a suggestion to search near this place.";
304
- readonly geo_any_distance: "Any distance";
305
- readonly feedback: "How was your search experience?";
306
- readonly list: "List";
307
- readonly map: "Map";
308
- readonly map_gesture_windows: "Use Ctrl + scroll to zoom the map";
309
- readonly map_gesture_mac: "Use ⌘ + scroll to zoom the map";
310
- readonly map_gesture_mobile: "Use two fingers to move the map";
311
- readonly map_unavailable: "Map unavailable";
312
- readonly loading_jobs: "Loading jobs…";
313
- readonly map_jobs_error: "We’re having trouble loading jobs in the area";
314
- readonly map_has_more_title: "Not showing all the jobs in this area";
315
- readonly map_has_more_description: "Zoom in to refine your search further";
316
- readonly map_jobs_showing: {
317
- readonly one: "Showing {{count}} job";
318
- readonly other: "Showing {{count}} jobs";
319
- };
320
- readonly page: "Page";
321
- readonly reset: "Reset";
322
- readonly sort_by: "Sort by";
323
- readonly sort_most_relevant: "Most relevant";
324
- readonly sort_closest: "Closest";
325
- readonly sort_newest: "Newest";
326
- readonly 'job.employment_type.FULL_TIME': "Full-time";
327
- readonly 'job.employment_type.PART_TIME': "Part-time";
328
- readonly 'job.employment_type.CONTRACT': "Contractor";
329
- readonly 'job.employment_type.TEMPORARY': "Temporary";
330
- readonly 'job.employment_type.INTERN': "Internship";
331
- readonly 'job.employment_type.VOLUNTEER': "Volunteer";
332
- readonly 'job.employment_type.OTHER': "Other";
333
- readonly 'job.location_type.LOCATION': "On-site";
334
- readonly 'job.location_type.REMOTE': "Remote";
335
- readonly 'job.location_type.HYBRID': "Hybrid";
336
- } = {
337
- readonly type_to_search_jobs: "Type to search jobs";
338
- readonly type_to_search: "Type to search";
339
- readonly jobs_found: {
340
- readonly one: "{{count}} job found";
341
- readonly other: "{{count}} jobs found";
342
- };
343
- readonly no_jobs_found: "No jobs found";
344
- readonly no_jobs_found_description: "We could not find any jobs matching your filtering criteria.";
345
- readonly jobs_loading_error: "We’re having trouble loading available jobs.";
346
- readonly filters_loading_error: "We’re having trouble loading available filters.";
347
- readonly no_filter_options_available: "No filter options available.";
348
- readonly clear: "Clear";
349
- readonly selected: "selected";
350
- readonly done: "Done";
351
- readonly close: "Close";
352
- readonly new: "NEW";
353
- readonly posted: "Posted";
354
- readonly distance_away: "{{distance}} away";
355
- readonly retry: "Retry";
356
- readonly widget_unavailable: "Sorry, this widget is unavailable at the moment.";
357
- readonly load_more_count: "Load {{count}} more";
358
- readonly of_remaining_count: "of {{count}} remaining";
359
- readonly today: "today";
360
- readonly over_30_days_ago: "over 30 days ago";
361
- readonly in_over_30_days: "in over 30 days";
362
- readonly up_to: "Up to";
363
- readonly from: "From";
364
- readonly invalid_salary: "Invalid salary";
365
- readonly competitive: "Competitive";
366
- readonly natural_language_input: "Type anything";
367
- readonly great_match: "Great match";
368
- readonly advanced_mode: "Filters";
369
- readonly simple_mode: "Hide filters";
370
- readonly ai_disclaimer: "Results may not be perfect. AI-powered search can occasionally suggest unrelated content.";
371
- readonly geo_error_timeout: "Timed out. Please type your location manually.";
372
- readonly geo_error_permission_denied: "Please allow location access to use this feature.";
373
- readonly geo_error_position_unavailable: "Could not locate you. Please type your location manually.";
374
- readonly geo_my_location: "My location";
375
- readonly geo_locating: "Locating you...";
376
- readonly geo_search_placeholder: "Search for a location";
377
- readonly geo_clear_search: "Clear location search";
378
- readonly location_provided: "Provided location";
379
- readonly search_label: "What";
380
- readonly geo_label: "Where";
381
- readonly geo_range_label: "Within";
382
- readonly geo_suggestions_error: "Could not get the suggested locations.";
383
- readonly geo_no_match: "We couldn’t find that place. Try a town, city or postcode.";
384
- readonly geo_query_too_short: "Type at least 3 letters of a town, city or postcode.";
385
- readonly geo_choose_location: "Press Enter or choose a suggestion to search near this place.";
386
- readonly geo_any_distance: "Any distance";
387
- readonly feedback: "How was your search experience?";
388
- readonly list: "List";
389
- readonly map: "Map";
390
- readonly map_gesture_windows: "Use Ctrl + scroll to zoom the map";
391
- readonly map_gesture_mac: "Use ⌘ + scroll to zoom the map";
392
- readonly map_gesture_mobile: "Use two fingers to move the map";
393
- readonly map_unavailable: "Map unavailable";
394
- readonly loading_jobs: "Loading jobs…";
395
- readonly map_jobs_error: "We’re having trouble loading jobs in the area";
396
- readonly map_has_more_title: "Not showing all the jobs in this area";
397
- readonly map_has_more_description: "Zoom in to refine your search further";
398
- readonly map_jobs_showing: {
399
- readonly one: "Showing {{count}} job";
400
- readonly other: "Showing {{count}} jobs";
401
- };
402
- readonly page: "Page";
403
- readonly reset: "Reset";
404
- readonly sort_by: "Sort by";
405
- readonly sort_most_relevant: "Most relevant";
406
- readonly sort_closest: "Closest";
407
- readonly sort_newest: "Newest";
408
- readonly 'job.employment_type.FULL_TIME': "Full-time";
409
- readonly 'job.employment_type.PART_TIME': "Part-time";
410
- readonly 'job.employment_type.CONTRACT': "Contractor";
411
- readonly 'job.employment_type.TEMPORARY': "Temporary";
412
- readonly 'job.employment_type.INTERN': "Internship";
413
- readonly 'job.employment_type.VOLUNTEER': "Volunteer";
414
- readonly 'job.employment_type.OTHER': "Other";
415
- readonly 'job.location_type.LOCATION': "On-site";
416
- readonly 'job.location_type.REMOTE': "Remote";
417
- readonly 'job.location_type.HYBRID': "Hybrid";
418
- }>(options: {
419
- overrides: Partial<import('@inploi/i18n/translation').TranslationDict<{
420
- readonly type_to_search_jobs: "Type to search jobs";
421
- readonly type_to_search: "Type to search";
422
- readonly jobs_found: {
423
- readonly one: "{{count}} job found";
424
- readonly other: "{{count}} jobs found";
425
- };
426
- readonly no_jobs_found: "No jobs found";
427
- readonly no_jobs_found_description: "We could not find any jobs matching your filtering criteria.";
428
- readonly jobs_loading_error: "We’re having trouble loading available jobs.";
429
- readonly filters_loading_error: "We’re having trouble loading available filters.";
430
- readonly no_filter_options_available: "No filter options available.";
431
- readonly clear: "Clear";
432
- readonly selected: "selected";
433
- readonly done: "Done";
434
- readonly close: "Close";
435
- readonly new: "NEW";
436
- readonly posted: "Posted";
437
- readonly distance_away: "{{distance}} away";
438
- readonly retry: "Retry";
439
- readonly widget_unavailable: "Sorry, this widget is unavailable at the moment.";
440
- readonly load_more_count: "Load {{count}} more";
441
- readonly of_remaining_count: "of {{count}} remaining";
442
- readonly today: "today";
443
- readonly over_30_days_ago: "over 30 days ago";
444
- readonly in_over_30_days: "in over 30 days";
445
- readonly up_to: "Up to";
446
- readonly from: "From";
447
- readonly invalid_salary: "Invalid salary";
448
- readonly competitive: "Competitive";
449
- readonly natural_language_input: "Type anything";
450
- readonly great_match: "Great match";
451
- readonly advanced_mode: "Filters";
452
- readonly simple_mode: "Hide filters";
453
- readonly ai_disclaimer: "Results may not be perfect. AI-powered search can occasionally suggest unrelated content.";
454
- readonly geo_error_timeout: "Timed out. Please type your location manually.";
455
- readonly geo_error_permission_denied: "Please allow location access to use this feature.";
456
- readonly geo_error_position_unavailable: "Could not locate you. Please type your location manually.";
457
- readonly geo_my_location: "My location";
458
- readonly geo_locating: "Locating you...";
459
- readonly geo_search_placeholder: "Search for a location";
460
- readonly geo_clear_search: "Clear location search";
461
- readonly location_provided: "Provided location";
462
- readonly search_label: "What";
463
- readonly geo_label: "Where";
464
- readonly geo_range_label: "Within";
465
- readonly geo_suggestions_error: "Could not get the suggested locations.";
466
- readonly geo_no_match: "We couldn’t find that place. Try a town, city or postcode.";
467
- readonly geo_query_too_short: "Type at least 3 letters of a town, city or postcode.";
468
- readonly geo_choose_location: "Press Enter or choose a suggestion to search near this place.";
469
- readonly geo_any_distance: "Any distance";
470
- readonly feedback: "How was your search experience?";
471
- readonly list: "List";
472
- readonly map: "Map";
473
- readonly map_gesture_windows: "Use Ctrl + scroll to zoom the map";
474
- readonly map_gesture_mac: "Use ⌘ + scroll to zoom the map";
475
- readonly map_gesture_mobile: "Use two fingers to move the map";
476
- readonly map_unavailable: "Map unavailable";
477
- readonly loading_jobs: "Loading jobs…";
478
- readonly map_jobs_error: "We’re having trouble loading jobs in the area";
479
- readonly map_has_more_title: "Not showing all the jobs in this area";
480
- readonly map_has_more_description: "Zoom in to refine your search further";
481
- readonly map_jobs_showing: {
482
- readonly one: "Showing {{count}} job";
483
- readonly other: "Showing {{count}} jobs";
484
- };
485
- readonly page: "Page";
486
- readonly reset: "Reset";
487
- readonly sort_by: "Sort by";
488
- readonly sort_most_relevant: "Most relevant";
489
- readonly sort_closest: "Closest";
490
- readonly sort_newest: "Newest";
491
- readonly 'job.employment_type.FULL_TIME': "Full-time";
492
- readonly 'job.employment_type.PART_TIME': "Part-time";
493
- readonly 'job.employment_type.CONTRACT': "Contractor";
494
- readonly 'job.employment_type.TEMPORARY': "Temporary";
495
- readonly 'job.employment_type.INTERN': "Internship";
496
- readonly 'job.employment_type.VOLUNTEER': "Volunteer";
497
- readonly 'job.employment_type.OTHER': "Other";
498
- readonly 'job.location_type.LOCATION': "On-site";
499
- readonly 'job.location_type.REMOTE': "Remote";
500
- readonly 'job.location_type.HYBRID': "Hybrid";
501
- }>>;
502
- locale: string | undefined;
503
- }) => import('@inploi/i18n/translation').TFn<T>, defaultTerms: {
504
- readonly type_to_search_jobs: "Type to search jobs";
505
- readonly type_to_search: "Type to search";
506
- readonly jobs_found: {
507
- readonly one: "{{count}} job found";
508
- readonly other: "{{count}} jobs found";
509
- };
510
- readonly no_jobs_found: "No jobs found";
511
- readonly no_jobs_found_description: "We could not find any jobs matching your filtering criteria.";
512
- readonly jobs_loading_error: "We’re having trouble loading available jobs.";
513
- readonly filters_loading_error: "We’re having trouble loading available filters.";
514
- readonly no_filter_options_available: "No filter options available.";
515
- readonly clear: "Clear";
516
- readonly selected: "selected";
517
- readonly done: "Done";
518
- readonly close: "Close";
519
- readonly new: "NEW";
520
- readonly posted: "Posted";
521
- readonly distance_away: "{{distance}} away";
522
- readonly retry: "Retry";
523
- readonly widget_unavailable: "Sorry, this widget is unavailable at the moment.";
524
- readonly load_more_count: "Load {{count}} more";
525
- readonly of_remaining_count: "of {{count}} remaining";
526
- readonly today: "today";
527
- readonly over_30_days_ago: "over 30 days ago";
528
- readonly in_over_30_days: "in over 30 days";
529
- readonly up_to: "Up to";
530
- readonly from: "From";
531
- readonly invalid_salary: "Invalid salary";
532
- readonly competitive: "Competitive";
533
- readonly natural_language_input: "Type anything";
534
- readonly great_match: "Great match";
535
- readonly advanced_mode: "Filters";
536
- readonly simple_mode: "Hide filters";
537
- readonly ai_disclaimer: "Results may not be perfect. AI-powered search can occasionally suggest unrelated content.";
538
- readonly geo_error_timeout: "Timed out. Please type your location manually.";
539
- readonly geo_error_permission_denied: "Please allow location access to use this feature.";
540
- readonly geo_error_position_unavailable: "Could not locate you. Please type your location manually.";
541
- readonly geo_my_location: "My location";
542
- readonly geo_locating: "Locating you...";
543
- readonly geo_search_placeholder: "Search for a location";
544
- readonly geo_clear_search: "Clear location search";
545
- readonly location_provided: "Provided location";
546
- readonly search_label: "What";
547
- readonly geo_label: "Where";
548
- readonly geo_range_label: "Within";
549
- readonly geo_suggestions_error: "Could not get the suggested locations.";
550
- readonly geo_no_match: "We couldn’t find that place. Try a town, city or postcode.";
551
- readonly geo_query_too_short: "Type at least 3 letters of a town, city or postcode.";
552
- readonly geo_choose_location: "Press Enter or choose a suggestion to search near this place.";
553
- readonly geo_any_distance: "Any distance";
554
- readonly feedback: "How was your search experience?";
555
- readonly list: "List";
556
- readonly map: "Map";
557
- readonly map_gesture_windows: "Use Ctrl + scroll to zoom the map";
558
- readonly map_gesture_mac: "Use ⌘ + scroll to zoom the map";
559
- readonly map_gesture_mobile: "Use two fingers to move the map";
560
- readonly map_unavailable: "Map unavailable";
561
- readonly loading_jobs: "Loading jobs…";
562
- readonly map_jobs_error: "We’re having trouble loading jobs in the area";
563
- readonly map_has_more_title: "Not showing all the jobs in this area";
564
- readonly map_has_more_description: "Zoom in to refine your search further";
565
- readonly map_jobs_showing: {
566
- readonly one: "Showing {{count}} job";
567
- readonly other: "Showing {{count}} jobs";
568
- };
569
- readonly page: "Page";
570
- readonly reset: "Reset";
571
- readonly sort_by: "Sort by";
572
- readonly sort_most_relevant: "Most relevant";
573
- readonly sort_closest: "Closest";
574
- readonly sort_newest: "Newest";
575
- readonly 'job.employment_type.FULL_TIME': "Full-time";
576
- readonly 'job.employment_type.PART_TIME': "Part-time";
577
- readonly 'job.employment_type.CONTRACT': "Contractor";
578
- readonly 'job.employment_type.TEMPORARY': "Temporary";
579
- readonly 'job.employment_type.INTERN': "Internship";
580
- readonly 'job.employment_type.VOLUNTEER': "Volunteer";
581
- readonly 'job.employment_type.OTHER': "Other";
582
- readonly 'job.location_type.LOCATION': "On-site";
583
- readonly 'job.location_type.REMOTE': "Remote";
584
- readonly 'job.location_type.HYBRID': "Hybrid";
585
- };
586
- export type TFunction = ReturnType<typeof useTranslation>['t'];
587
- export type JobSearchTranslationTerms = Parameters<typeof TranslationProvider>[0]['terms'];
@@ -1,8 +0,0 @@
1
- import { Map } from 'maplibre-gl';
2
-
3
- /** Safe, Mapbox-sized attribution shared by the job-search widget and CMS Map block. */
4
- export declare function createMapAttribution(style: string): {
5
- onAdd(instance: Map): HTMLDivElement;
6
- onRemove(): void;
7
- setStyle(url: string): void;
8
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- /**
2
- * Resolves styles for the MapLibre renderer. Mapbox styles, in either URL form, never reach Mapbox: unknown ones
3
- * use the default and report their original URL.
4
- */
5
- export declare function resolveMapStyle(style?: string): {
6
- url: string;
7
- unmapped?: string;
8
- };
@@ -1 +0,0 @@
1
- export {};