@cavuno/board 3.1.0 → 3.2.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/blog-DGBHmExV.d.mts +29 -0
  3. package/dist/blog-iV9XEIGf.d.ts +29 -0
  4. package/dist/{salaries-ChSqDBAM.d.mts → board-BJbXd_9_.d.mts} +14 -27
  5. package/dist/{salaries-BahBpxWT.d.ts → board-JhdUWIoq.d.ts} +14 -27
  6. package/dist/breadcrumbs-1hMjcsqA.d.mts +171 -0
  7. package/dist/breadcrumbs-DexU07TT.d.ts +171 -0
  8. package/dist/chunk-2ETP5UH4.mjs +271 -0
  9. package/dist/chunk-DLSO6XXY.mjs +33 -0
  10. package/dist/chunk-IJCJ26SQ.mjs +596 -0
  11. package/dist/chunk-L7ZOYWHW.mjs +98 -0
  12. package/dist/chunk-LUGJWOT7.mjs +96 -0
  13. package/dist/chunk-NXY3OWGF.mjs +1060 -0
  14. package/dist/chunk-STE77MAT.mjs +844 -0
  15. package/dist/filters.mjs +7 -668
  16. package/dist/format.d.mts +2 -1
  17. package/dist/format.d.ts +2 -1
  18. package/dist/format.js +592 -523
  19. package/dist/format.mjs +19 -680
  20. package/dist/go.mjs +4 -29
  21. package/dist/index.d.mts +5 -4
  22. package/dist/index.d.ts +5 -4
  23. package/dist/index.js +1 -1
  24. package/dist/index.mjs +22 -278
  25. package/dist/paths.mjs +20 -77
  26. package/dist/route-contract.mjs +30 -1079
  27. package/dist/seo.d.mts +14 -171
  28. package/dist/seo.d.ts +14 -171
  29. package/dist/seo.js +1 -1
  30. package/dist/seo.mjs +24 -1399
  31. package/dist/server.d.mts +2 -2
  32. package/dist/server.d.ts +2 -2
  33. package/dist/server.mjs +5 -31
  34. package/dist/sitemap.d.mts +2 -2
  35. package/dist/sitemap.d.ts +2 -2
  36. package/dist/sitemap.mjs +20 -96
  37. package/dist/well-known.mjs +4 -421
  38. package/package.json +6 -3
  39. package/skills/manifest.json +1 -1
  40. package/dist/board-NE98PlwN.d.ts +0 -16
  41. package/dist/board-muu8BI8P.d.mts +0 -16
@@ -0,0 +1,96 @@
1
+ import {
2
+ getSalaryLexicon
3
+ } from "./chunk-IJCJ26SQ.mjs";
4
+
5
+ // src/format/labels.ts
6
+ var EN_LABELS = {
7
+ // remoteOption
8
+ on_site: "On-site",
9
+ hybrid: "Hybrid",
10
+ remote: "Remote",
11
+ // employmentType
12
+ full_time: "Full-time",
13
+ part_time: "Part-time",
14
+ contract: "Contract",
15
+ internship: "Internship",
16
+ temporary: "Temporary",
17
+ volunteer: "Volunteer",
18
+ other: "Other"
19
+ };
20
+ var DE_LABELS = {
21
+ on_site: "Vor Ort",
22
+ hybrid: "Hybrid",
23
+ remote: "Remote",
24
+ full_time: "Vollzeit",
25
+ part_time: "Teilzeit",
26
+ contract: "Freiberuflich",
27
+ internship: "Praktikum",
28
+ temporary: "Befristet",
29
+ volunteer: "Ehrenamtlich",
30
+ other: "Sonstiges"
31
+ };
32
+ var FR_LABELS = {
33
+ on_site: "Sur site",
34
+ hybrid: "Hybride",
35
+ remote: "T\xE9l\xE9travail",
36
+ full_time: "Temps plein",
37
+ part_time: "Temps partiel",
38
+ contract: "Contrat",
39
+ internship: "Stage",
40
+ temporary: "Temporaire",
41
+ volunteer: "B\xE9n\xE9volat",
42
+ other: "Autre"
43
+ };
44
+ var VOCABULARIES = {
45
+ en: EN_LABELS,
46
+ de: DE_LABELS,
47
+ fr: FR_LABELS
48
+ };
49
+ var OVERRIDE_KEYS = {
50
+ on_site: "onSiteLabel",
51
+ hybrid: "hybridLabel",
52
+ remote: "remoteLabel",
53
+ full_time: "fullTimeLabel",
54
+ part_time: "partTimeLabel",
55
+ contract: "contractLabel",
56
+ internship: "internshipLabel",
57
+ temporary: "temporaryLabel",
58
+ volunteer: "volunteerLabel",
59
+ entry_level: "seniorityEntryLevel",
60
+ associate: "seniorityAssociate",
61
+ mid_level: "seniorityMidLevel",
62
+ senior: "senioritySenior",
63
+ lead: "seniorityLead",
64
+ principal: "seniorityPrincipal",
65
+ director: "seniorityDirector",
66
+ executive: "seniorityExecutive"
67
+ };
68
+ var SENIORITY_KEYS = /* @__PURE__ */ new Set([
69
+ "entry_level",
70
+ "associate",
71
+ "mid_level",
72
+ "senior",
73
+ "lead",
74
+ "principal",
75
+ "director",
76
+ "executive"
77
+ ]);
78
+ function storedOverride(value, labels) {
79
+ const key = OVERRIDE_KEYS[value];
80
+ const override = key ? labels?.jobCardLabels?.[key] : void 0;
81
+ return typeof override === "string" && override.trim() !== "" ? override : null;
82
+ }
83
+ function fieldLabel(locale, value, labels) {
84
+ if (!value) return null;
85
+ const override = storedOverride(value, labels);
86
+ if (override) return override;
87
+ if (SENIORITY_KEYS.has(value)) {
88
+ return getSalaryLexicon(locale).seniority[value];
89
+ }
90
+ const vocabulary = VOCABULARIES[locale] ?? EN_LABELS;
91
+ return vocabulary[value] ?? EN_LABELS[value] ?? value;
92
+ }
93
+
94
+ export {
95
+ fieldLabel
96
+ };