@next-degree/pickle-shared-js 0.6.45 → 0.6.47

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 (133) hide show
  1. package/dist/{company_service_latest-DQ5joNqO.d.cts → company_service_latest-uu3w8AR6.d.cts} +305 -1907
  2. package/dist/{company_service_latest-DQ5joNqO.d.ts → company_service_latest-uu3w8AR6.d.ts} +305 -1907
  3. package/dist/components/buttons/BackButton.cjs +0 -3
  4. package/dist/components/buttons/BackButton.cjs.map +1 -1
  5. package/dist/components/buttons/BackButton.js +0 -3
  6. package/dist/components/buttons/BackButton.js.map +1 -1
  7. package/dist/components/company/CompanyTake.cjs.map +1 -1
  8. package/dist/components/company/CompanyTake.js.map +1 -1
  9. package/dist/components/jobPost/JobDescription.cjs.map +1 -1
  10. package/dist/components/jobPost/JobDescription.js.map +1 -1
  11. package/dist/components/jobPost/JobHeader.cjs +0 -3
  12. package/dist/components/jobPost/JobHeader.cjs.map +1 -1
  13. package/dist/components/jobPost/JobHeader.js +0 -3
  14. package/dist/components/jobPost/JobHeader.js.map +1 -1
  15. package/dist/components/jobPost/JobPost.cjs +6 -31
  16. package/dist/components/jobPost/JobPost.cjs.map +1 -1
  17. package/dist/components/jobPost/JobPost.d.cts +1 -1
  18. package/dist/components/jobPost/JobPost.d.ts +1 -1
  19. package/dist/components/jobPost/JobPost.js +6 -31
  20. package/dist/components/jobPost/JobPost.js.map +1 -1
  21. package/dist/components/primitives/avatar.cjs.map +1 -1
  22. package/dist/components/primitives/avatar.js.map +1 -1
  23. package/dist/components/primitives/command.cjs.map +1 -1
  24. package/dist/components/primitives/command.d.cts +1 -1
  25. package/dist/components/primitives/command.d.ts +1 -1
  26. package/dist/components/primitives/command.js.map +1 -1
  27. package/dist/components/primitives/dialog.cjs.map +1 -1
  28. package/dist/components/primitives/dialog.js.map +1 -1
  29. package/dist/components/primitives/input-otp.cjs +99 -0
  30. package/dist/components/primitives/input-otp.cjs.map +1 -0
  31. package/dist/components/primitives/input-otp.d.cts +38 -0
  32. package/dist/components/primitives/input-otp.d.ts +38 -0
  33. package/dist/components/primitives/input-otp.js +62 -0
  34. package/dist/components/primitives/input-otp.js.map +1 -0
  35. package/dist/components/primitives/popover.cjs.map +1 -1
  36. package/dist/components/primitives/popover.js.map +1 -1
  37. package/dist/components/primitives/separator.cjs.map +1 -1
  38. package/dist/components/primitives/separator.js.map +1 -1
  39. package/dist/components/primitives/tooltip.cjs.map +1 -1
  40. package/dist/components/primitives/tooltip.js.map +1 -1
  41. package/dist/components/ui/Avatar.cjs.map +1 -1
  42. package/dist/components/ui/Avatar.js.map +1 -1
  43. package/dist/components/ui/Badge.cjs.map +1 -1
  44. package/dist/components/ui/Badge.js.map +1 -1
  45. package/dist/components/ui/Button.cjs.map +1 -1
  46. package/dist/components/ui/Button.js.map +1 -1
  47. package/dist/components/ui/Checkbox.cjs.map +1 -1
  48. package/dist/components/ui/Checkbox.js.map +1 -1
  49. package/dist/components/ui/Combobox.cjs.map +1 -1
  50. package/dist/components/ui/Combobox.js.map +1 -1
  51. package/dist/components/ui/Counter.cjs.map +1 -1
  52. package/dist/components/ui/Counter.js.map +1 -1
  53. package/dist/components/ui/ErrorMessage.cjs.map +1 -1
  54. package/dist/components/ui/ErrorMessage.js.map +1 -1
  55. package/dist/components/ui/Icon.cjs.map +1 -1
  56. package/dist/components/ui/Icon.js.map +1 -1
  57. package/dist/components/ui/Input.cjs.map +1 -1
  58. package/dist/components/ui/Input.js.map +1 -1
  59. package/dist/components/ui/InputOtp.cjs +187 -0
  60. package/dist/components/ui/InputOtp.cjs.map +1 -0
  61. package/dist/components/ui/InputOtp.d.cts +14 -0
  62. package/dist/components/ui/InputOtp.d.ts +14 -0
  63. package/dist/components/ui/InputOtp.js +152 -0
  64. package/dist/components/ui/InputOtp.js.map +1 -0
  65. package/dist/components/ui/Label.cjs.map +1 -1
  66. package/dist/components/ui/Label.js.map +1 -1
  67. package/dist/components/ui/ListItem.cjs.map +1 -1
  68. package/dist/components/ui/ListItem.js.map +1 -1
  69. package/dist/components/ui/MapComponent.cjs +2 -9
  70. package/dist/components/ui/MapComponent.cjs.map +1 -1
  71. package/dist/components/ui/MapComponent.d.cts +1 -1
  72. package/dist/components/ui/MapComponent.d.ts +1 -1
  73. package/dist/components/ui/MapComponent.js +2 -9
  74. package/dist/components/ui/MapComponent.js.map +1 -1
  75. package/dist/components/ui/PlacesQueryInput.cjs.map +1 -1
  76. package/dist/components/ui/PlacesQueryInput.js.map +1 -1
  77. package/dist/components/ui/ReadMore.cjs.map +1 -1
  78. package/dist/components/ui/ReadMore.js.map +1 -1
  79. package/dist/components/ui/Select.cjs.map +1 -1
  80. package/dist/components/ui/Select.js.map +1 -1
  81. package/dist/{displayText-Dl2hcn02.d.ts → displayText-CcePAspL.d.ts} +2 -2
  82. package/dist/{displayText-C5jAFYZY.d.cts → displayText-D3BX6YTj.d.cts} +2 -2
  83. package/dist/hooks/useDisplayText.d.cts +3 -3
  84. package/dist/hooks/useDisplayText.d.ts +3 -3
  85. package/dist/hooks/useWindowHistory.cjs +0 -3
  86. package/dist/hooks/useWindowHistory.cjs.map +1 -1
  87. package/dist/hooks/useWindowHistory.js +0 -3
  88. package/dist/hooks/useWindowHistory.js.map +1 -1
  89. package/dist/index.cjs +241 -189
  90. package/dist/index.cjs.map +1 -1
  91. package/dist/index.d.cts +5 -4
  92. package/dist/index.d.ts +5 -4
  93. package/dist/index.js +205 -154
  94. package/dist/index.js.map +1 -1
  95. package/dist/{job_posting_service_latest-D3PatPBh.d.cts → job_posting_service_latest-CWuc_SuJ.d.cts} +302 -1622
  96. package/dist/{job_posting_service_latest-D3PatPBh.d.ts → job_posting_service_latest-CWuc_SuJ.d.ts} +302 -1622
  97. package/dist/lib/locations.d.cts +2 -2
  98. package/dist/lib/locations.d.ts +2 -2
  99. package/dist/lib/mappings.d.cts +3 -3
  100. package/dist/lib/mappings.d.ts +3 -3
  101. package/dist/lib/salaryRange.cjs +4 -25
  102. package/dist/lib/salaryRange.cjs.map +1 -1
  103. package/dist/lib/salaryRange.d.cts +1 -1
  104. package/dist/lib/salaryRange.d.ts +1 -1
  105. package/dist/lib/salaryRange.js +4 -25
  106. package/dist/lib/salaryRange.js.map +1 -1
  107. package/dist/lib/utils.cjs.map +1 -1
  108. package/dist/lib/utils.js.map +1 -1
  109. package/dist/services/displayText.d.cts +3 -3
  110. package/dist/services/displayText.d.ts +3 -3
  111. package/dist/{shared_pickle_output_latest-DUO_efBh.d.cts → shared_pickle_output_latest-CxZJXPOS.d.cts} +8 -148
  112. package/dist/{shared_pickle_output_latest-DUO_efBh.d.ts → shared_pickle_output_latest-CxZJXPOS.d.ts} +8 -148
  113. package/dist/styles/globals.css +109 -37
  114. package/dist/styles/globals.css.map +1 -1
  115. package/dist/types/data/company_service_latest.cjs +31 -52
  116. package/dist/types/data/company_service_latest.cjs.map +1 -1
  117. package/dist/types/data/company_service_latest.d.cts +1 -1
  118. package/dist/types/data/company_service_latest.d.ts +1 -1
  119. package/dist/types/data/company_service_latest.js +29 -51
  120. package/dist/types/data/company_service_latest.js.map +1 -1
  121. package/dist/types/data/job_posting_service_latest.cjs +28 -51
  122. package/dist/types/data/job_posting_service_latest.cjs.map +1 -1
  123. package/dist/types/data/job_posting_service_latest.d.cts +1 -1
  124. package/dist/types/data/job_posting_service_latest.d.ts +1 -1
  125. package/dist/types/data/job_posting_service_latest.js +28 -51
  126. package/dist/types/data/job_posting_service_latest.js.map +1 -1
  127. package/dist/types/data/shared_pickle_output_latest.cjs +4 -29
  128. package/dist/types/data/shared_pickle_output_latest.cjs.map +1 -1
  129. package/dist/types/data/shared_pickle_output_latest.d.cts +1 -1
  130. package/dist/types/data/shared_pickle_output_latest.d.ts +1 -1
  131. package/dist/types/data/shared_pickle_output_latest.js +4 -27
  132. package/dist/types/data/shared_pickle_output_latest.js.map +1 -1
  133. package/package.json +6 -4
@@ -1,5 +1,5 @@
1
- import { J as JobPostModel } from '../job_posting_service_latest-D3PatPBh.cjs';
2
- import { P as PostalAddressModel } from '../shared_pickle_output_latest-DUO_efBh.cjs';
1
+ import { J as JobPostModel } from '../job_posting_service_latest-CWuc_SuJ.cjs';
2
+ import { P as PostalAddressModel } from '../shared_pickle_output_latest-CxZJXPOS.cjs';
3
3
  import 'zod';
4
4
 
5
5
  declare function formattedAddress(address: PostalAddressModel): string | null;
@@ -1,5 +1,5 @@
1
- import { J as JobPostModel } from '../job_posting_service_latest-D3PatPBh.js';
2
- import { P as PostalAddressModel } from '../shared_pickle_output_latest-DUO_efBh.js';
1
+ import { J as JobPostModel } from '../job_posting_service_latest-CWuc_SuJ.js';
2
+ import { P as PostalAddressModel } from '../shared_pickle_output_latest-CxZJXPOS.js';
3
3
  import 'zod';
4
4
 
5
5
  declare function formattedAddress(address: PostalAddressModel): string | null;
@@ -1,4 +1,4 @@
1
1
  import 'zod';
2
- export { b as bestFitDisplayText, f as clinicalSettingDisplayText, d as clinicalSpecialtyDisplayText, c as currencyDisplayText, g as defaultMappings, a as employmentLevelDisplayText, e as employmentTypeDisplayText, j as jobFunctionDisplayText, s as shiftDisplayText, u as unitTextDisplayText } from '../displayText-C5jAFYZY.cjs';
3
- import '../shared_pickle_output_latest-DUO_efBh.cjs';
4
- import '../job_posting_service_latest-D3PatPBh.cjs';
2
+ export { b as bestFitDisplayText, f as clinicalSettingDisplayText, d as clinicalSpecialtyDisplayText, c as currencyDisplayText, g as defaultMappings, a as employmentLevelDisplayText, e as employmentTypeDisplayText, j as jobFunctionDisplayText, s as shiftDisplayText, u as unitTextDisplayText } from '../displayText-D3BX6YTj.cjs';
3
+ import '../shared_pickle_output_latest-CxZJXPOS.cjs';
4
+ import '../job_posting_service_latest-CWuc_SuJ.cjs';
@@ -1,4 +1,4 @@
1
1
  import 'zod';
2
- export { b as bestFitDisplayText, f as clinicalSettingDisplayText, d as clinicalSpecialtyDisplayText, c as currencyDisplayText, g as defaultMappings, a as employmentLevelDisplayText, e as employmentTypeDisplayText, j as jobFunctionDisplayText, s as shiftDisplayText, u as unitTextDisplayText } from '../displayText-Dl2hcn02.js';
3
- import '../shared_pickle_output_latest-DUO_efBh.js';
4
- import '../job_posting_service_latest-D3PatPBh.js';
2
+ export { b as bestFitDisplayText, f as clinicalSettingDisplayText, d as clinicalSpecialtyDisplayText, c as currencyDisplayText, g as defaultMappings, a as employmentLevelDisplayText, e as employmentTypeDisplayText, j as jobFunctionDisplayText, s as shiftDisplayText, u as unitTextDisplayText } from '../displayText-CcePAspL.js';
3
+ import '../shared_pickle_output_latest-CxZJXPOS.js';
4
+ import '../job_posting_service_latest-CWuc_SuJ.js';
@@ -26,13 +26,13 @@ module.exports = __toCommonJS(salaryRange_exports);
26
26
 
27
27
  // src/types/data/shared_pickle_output_latest.ts
28
28
  var import_zod = require("zod");
29
- var TypeEnum = import_zod.z.enum(["IMAGE"]);
29
+ var TypeEnum = import_zod.z.enum(["MONETARY_AMOUNT"]);
30
30
  var DetailLevelEnum = import_zod.z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
31
31
  var UnitTextEnum = import_zod.z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
32
32
  var CurrencyEnum = import_zod.z.enum(["EUR", "GBP", "USD"]);
33
33
  var postalAddressSchema = import_zod.z.object({
34
34
  version: import_zod.z.literal("1.0.0").default("1.0.0"),
35
- type: import_zod.z.string().describe("Document type used for schema"),
35
+ type: import_zod.z.string().describe("Document type used within sanity"),
36
36
  addressCountry: import_zod.z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
37
37
  addressRegion: import_zod.z.optional(import_zod.z.string()).describe("The region in which the locality is, and which is in the country."),
38
38
  addressLocality: import_zod.z.optional(import_zod.z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
@@ -48,7 +48,7 @@ var placeSchema = import_zod.z.object({
48
48
  });
49
49
  var quantitativeValueSchema = import_zod.z.object({
50
50
  version: import_zod.z.literal("1.0.0").default("1.0.0"),
51
- type: import_zod.z.string().describe("Document type used for schema"),
51
+ type: import_zod.z.string().describe("Document type used within sanity"),
52
52
  value: import_zod.z.optional(import_zod.z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
53
53
  minValue: import_zod.z.optional(import_zod.z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
54
54
  maxValue: import_zod.z.optional(import_zod.z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
@@ -56,34 +56,13 @@ var quantitativeValueSchema = import_zod.z.object({
56
56
  });
57
57
  var monetaryAmountSchema = import_zod.z.object({
58
58
  version: import_zod.z.literal("1.0.0").default("1.0.0"),
59
- type: import_zod.z.string().describe("Document type used for schema"),
59
+ type: import_zod.z.string().describe("Document type used within sanity"),
60
60
  singleValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
61
61
  minValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
62
62
  maxValue: import_zod.z.optional(import_zod.z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
63
63
  value: import_zod.z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
64
64
  currency: import_zod.z.optional(CurrencyEnum)
65
65
  });
66
- var imageAssetSchema = import_zod.z.object({
67
- version: import_zod.z.literal("1.0.0").default("1.0.0"),
68
- altText: import_zod.z.optional(import_zod.z.string()).describe("The alt text for the image"),
69
- assetId: import_zod.z.optional(import_zod.z.string()).describe("The asset ID for the image"),
70
- description: import_zod.z.optional(import_zod.z.string()).describe("The description for the image"),
71
- extension: import_zod.z.optional(import_zod.z.string()).describe("The extension for the image"),
72
- label: import_zod.z.optional(import_zod.z.string()).describe("The label for the image"),
73
- mimeType: import_zod.z.optional(import_zod.z.string()).describe("The mime type for the image"),
74
- originalFilename: import_zod.z.optional(import_zod.z.string()).describe("The original filename for the image"),
75
- path: import_zod.z.optional(import_zod.z.string()).describe("The path for the image"),
76
- sha1Hash: import_zod.z.optional(import_zod.z.string()).describe("The SHA1 hash for the image"),
77
- size: import_zod.z.optional(import_zod.z.number()).describe("The size for the image"),
78
- title: import_zod.z.optional(import_zod.z.string()).describe("The title for the image"),
79
- uploadId: import_zod.z.optional(import_zod.z.string()).describe("The upload ID for the image"),
80
- url: import_zod.z.optional(import_zod.z.string()).describe("The URL for the image")
81
- });
82
- var imageSchema = import_zod.z.object({
83
- version: import_zod.z.literal("1.0.0").default("1.0.0"),
84
- type: import_zod.z.string().describe("Document type used for schema"),
85
- asset: import_zod.z.optional(imageAssetSchema).describe("The asset for the image")
86
- });
87
66
 
88
67
  // src/lib/salaryRange.ts
89
68
  function salaryRange(salary) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/salaryRange.ts","../../src/types/data/shared_pickle_output_latest.ts"],"sourcesContent":["import { CurrencyEnum, MonetaryAmountModel } from '@/types/data/shared_pickle_output_latest'\n\nexport function salaryRange(salary?: MonetaryAmountModel) {\n if (!salary) return null\n\n const min = salary.minValue\n const max = salary.maxValue\n const single = salary.singleValue\n const signs = {\n [CurrencyEnum.Values.USD]: '$',\n [CurrencyEnum.Values.GBP]: '£',\n [CurrencyEnum.Values.EUR]: '€',\n }\n const sign = signs[salary.currency ?? CurrencyEnum.Values.USD]\n\n // if min and max are null and single is null return null\n if (min == null && max == null && single == null) return null\n // if single value return a formatted single value\n if (single != null) return sign + single.toLocaleString()\n // if min and max are the same return a formatted single value\n if (min === max) return sign + min?.toLocaleString()\n // if min and max are different return a formatted range\n if (min != null && max != null)\n return sign + min?.toLocaleString() + ' - ' + sign + max?.toLocaleString()\n return null\n}\n","/*\nID:4cceb9ec-67b6-4372-9af0-0c6bfe55908b\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.1\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['IMAGE']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street address within the locality.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n\nexport const imageAssetSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n altText: z.optional(z.string()).describe(\"The alt text for the image\"),\n assetId: z.optional(z.string()).describe(\"The asset ID for the image\"),\n description: z.optional(z.string()).describe(\"The description for the image\"),\n extension: z.optional(z.string()).describe(\"The extension for the image\"),\n label: z.optional(z.string()).describe(\"The label for the image\"),\n mimeType: z.optional(z.string()).describe(\"The mime type for the image\"),\n originalFilename: z.optional(z.string()).describe(\"The original filename for the image\"),\n path: z.optional(z.string()).describe(\"The path for the image\"),\n sha1Hash: z.optional(z.string()).describe(\"The SHA1 hash for the image\"),\n size: z.optional(z.number()).describe(\"The size for the image\"),\n title: z.optional(z.string()).describe(\"The title for the image\"),\n uploadId: z.optional(z.string()).describe(\"The upload ID for the image\"),\n url: z.optional(z.string()).describe(\"The URL for the image\"),\n});\n\nexport type ImageAssetModel = z.infer<typeof imageAssetSchema>;\n\nexport const imageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n asset: z.optional(imageAssetSchema).describe(\"The asset for the image\"),\n});\n\nexport type ImageModel = z.infer<typeof imageSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACQA,iBAAkB;AAKX,IAAM,WAAW,aAAE,KAAK,CAAC,OAAO,CAAC;AACjC,IAAM,kBAAkB,aAAE,KA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["../../src/lib/salaryRange.ts","../../src/types/data/shared_pickle_output_latest.ts"],"sourcesContent":["import { CurrencyEnum, MonetaryAmountModel } from '@/types/data/shared_pickle_output_latest'\n\nexport function salaryRange(salary?: MonetaryAmountModel) {\n if (!salary) return null\n\n const min = salary.minValue\n const max = salary.maxValue\n const single = salary.singleValue\n const signs = {\n [CurrencyEnum.Values.USD]: '$',\n [CurrencyEnum.Values.GBP]: '£',\n [CurrencyEnum.Values.EUR]: '€',\n }\n const sign = signs[salary.currency ?? CurrencyEnum.Values.USD]\n\n // if min and max are null and single is null return null\n if (min == null && max == null && single == null) return null\n // if single value return a formatted single value\n if (single != null) return sign + single.toLocaleString()\n // if min and max are the same return a formatted single value\n if (min === max) return sign + min?.toLocaleString()\n // if min and max are different return a formatted range\n if (min != null && max != null)\n return sign + min?.toLocaleString() + ' - ' + sign + max?.toLocaleString()\n return null\n}\n","/*\nID:4cceb9ec-67b6-4372-9af0-0c6bfe55908b\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.0\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['MONETARY_AMOUNT']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street address within the locality.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACQA,iBAAkB;AAKX,IAAM,WAAW,aAAE,KAAK,CAAC,iBAAiB,CAAC;AAC3C,IAAM,kBAAkB,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AO;AACT;","names":[]}
@@ -1,4 +1,4 @@
1
- import { M as MonetaryAmountModel } from '../shared_pickle_output_latest-DUO_efBh.cjs';
1
+ import { M as MonetaryAmountModel } from '../shared_pickle_output_latest-CxZJXPOS.cjs';
2
2
  import 'zod';
3
3
 
4
4
  declare function salaryRange(salary?: MonetaryAmountModel): string | null;
@@ -1,4 +1,4 @@
1
- import { M as MonetaryAmountModel } from '../shared_pickle_output_latest-DUO_efBh.js';
1
+ import { M as MonetaryAmountModel } from '../shared_pickle_output_latest-CxZJXPOS.js';
2
2
  import 'zod';
3
3
 
4
4
  declare function salaryRange(salary?: MonetaryAmountModel): string | null;
@@ -1,12 +1,12 @@
1
1
  // src/types/data/shared_pickle_output_latest.ts
2
2
  import { z } from "zod";
3
- var TypeEnum = z.enum(["IMAGE"]);
3
+ var TypeEnum = z.enum(["MONETARY_AMOUNT"]);
4
4
  var DetailLevelEnum = z.enum(["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]);
5
5
  var UnitTextEnum = z.enum(["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]);
6
6
  var CurrencyEnum = z.enum(["EUR", "GBP", "USD"]);
7
7
  var postalAddressSchema = z.object({
8
8
  version: z.literal("1.0.0").default("1.0.0"),
9
- type: z.string().describe("Document type used for schema"),
9
+ type: z.string().describe("Document type used within sanity"),
10
10
  addressCountry: z.string().describe("The physical country as defined in ISO 3166 Alpha-2"),
11
11
  addressRegion: z.optional(z.string()).describe("The region in which the locality is, and which is in the country."),
12
12
  addressLocality: z.optional(z.string()).describe("The locality in which the street address is, and which is in the region. In the US this would be city."),
@@ -22,7 +22,7 @@ var placeSchema = z.object({
22
22
  });
23
23
  var quantitativeValueSchema = z.object({
24
24
  version: z.literal("1.0.0").default("1.0.0"),
25
- type: z.string().describe("Document type used for schema"),
25
+ type: z.string().describe("Document type used within sanity"),
26
26
  value: z.optional(z.number()).describe("The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary."),
27
27
  minValue: z.optional(z.number()).describe("The single minium value in a range for a quantitative_value, requires a maximum value."),
28
28
  maxValue: z.optional(z.number()).describe("The maximum value in a range for a quantitative_value, requires a minimum value."),
@@ -30,34 +30,13 @@ var quantitativeValueSchema = z.object({
30
30
  });
31
31
  var monetaryAmountSchema = z.object({
32
32
  version: z.literal("1.0.0").default("1.0.0"),
33
- type: z.string().describe("Document type used for schema"),
33
+ type: z.string().describe("Document type used within sanity"),
34
34
  singleValue: z.optional(z.number()).describe("The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead."),
35
35
  minValue: z.optional(z.number()).describe("The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue"),
36
36
  maxValue: z.optional(z.number()).describe("The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue"),
37
37
  value: z.optional(quantitativeValueSchema).describe("The quantitative_value for a given salary"),
38
38
  currency: z.optional(CurrencyEnum)
39
39
  });
40
- var imageAssetSchema = z.object({
41
- version: z.literal("1.0.0").default("1.0.0"),
42
- altText: z.optional(z.string()).describe("The alt text for the image"),
43
- assetId: z.optional(z.string()).describe("The asset ID for the image"),
44
- description: z.optional(z.string()).describe("The description for the image"),
45
- extension: z.optional(z.string()).describe("The extension for the image"),
46
- label: z.optional(z.string()).describe("The label for the image"),
47
- mimeType: z.optional(z.string()).describe("The mime type for the image"),
48
- originalFilename: z.optional(z.string()).describe("The original filename for the image"),
49
- path: z.optional(z.string()).describe("The path for the image"),
50
- sha1Hash: z.optional(z.string()).describe("The SHA1 hash for the image"),
51
- size: z.optional(z.number()).describe("The size for the image"),
52
- title: z.optional(z.string()).describe("The title for the image"),
53
- uploadId: z.optional(z.string()).describe("The upload ID for the image"),
54
- url: z.optional(z.string()).describe("The URL for the image")
55
- });
56
- var imageSchema = z.object({
57
- version: z.literal("1.0.0").default("1.0.0"),
58
- type: z.string().describe("Document type used for schema"),
59
- asset: z.optional(imageAssetSchema).describe("The asset for the image")
60
- });
61
40
 
62
41
  // src/lib/salaryRange.ts
63
42
  function salaryRange(salary) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/types/data/shared_pickle_output_latest.ts","../../src/lib/salaryRange.ts"],"sourcesContent":["/*\nID:4cceb9ec-67b6-4372-9af0-0c6bfe55908b\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.1\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['IMAGE']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street address within the locality.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n\nexport const imageAssetSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n altText: z.optional(z.string()).describe(\"The alt text for the image\"),\n assetId: z.optional(z.string()).describe(\"The asset ID for the image\"),\n description: z.optional(z.string()).describe(\"The description for the image\"),\n extension: z.optional(z.string()).describe(\"The extension for the image\"),\n label: z.optional(z.string()).describe(\"The label for the image\"),\n mimeType: z.optional(z.string()).describe(\"The mime type for the image\"),\n originalFilename: z.optional(z.string()).describe(\"The original filename for the image\"),\n path: z.optional(z.string()).describe(\"The path for the image\"),\n sha1Hash: z.optional(z.string()).describe(\"The SHA1 hash for the image\"),\n size: z.optional(z.number()).describe(\"The size for the image\"),\n title: z.optional(z.string()).describe(\"The title for the image\"),\n uploadId: z.optional(z.string()).describe(\"The upload ID for the image\"),\n url: z.optional(z.string()).describe(\"The URL for the image\"),\n});\n\nexport type ImageAssetModel = z.infer<typeof imageAssetSchema>;\n\nexport const imageSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used for schema\"),\n asset: z.optional(imageAssetSchema).describe(\"The asset for the image\"),\n});\n\nexport type ImageModel = z.infer<typeof imageSchema>;\n","import { CurrencyEnum, MonetaryAmountModel } from '@/types/data/shared_pickle_output_latest'\n\nexport function salaryRange(salary?: MonetaryAmountModel) {\n if (!salary) return null\n\n const min = salary.minValue\n const max = salary.maxValue\n const single = salary.singleValue\n const signs = {\n [CurrencyEnum.Values.USD]: '$',\n [CurrencyEnum.Values.GBP]: '£',\n [CurrencyEnum.Values.EUR]: '€',\n }\n const sign = signs[salary.currency ?? CurrencyEnum.Values.USD]\n\n // if min and max are null and single is null return null\n if (min == null && max == null && single == null) return null\n // if single value return a formatted single value\n if (single != null) return sign + single.toLocaleString()\n // if min and max are the same return a formatted single value\n if (min === max) return sign + min?.toLocaleString()\n // if min and max are different return a formatted range\n if (min != null && max != null)\n return sign + min?.toLocaleString() + ' - ' + sign + max?.toLocaleString()\n return null\n}\n"],"mappings":";AAQA,SAAS,SAAS;AAKX,IAAM,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC;AACjC,IAAM,kBAAkB,EAAE,KAAK,CAAC,WAAW,OAAO,YAAY,eAAe,QAAQ,CAAC;AACtF,IAAM,eAAe,EAAE,KAAK,CAAC,OAAO,QAAQ,SAAS,gBAAgB,QAAQ,MAAM,CAAC;AACpF,IAAM,eAAe,EAAE,KAAK,CAAC,OAAO,OAAO,KAAK,CAAC;AAGjD,IAAM,sBAAsB,EAAE,OAAO;AAAA,EACxC,SAAS,EAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MAAM,EAAE,OAAO,EAAE,SAAS,+BAA+B;AAAA,EACzD,gBAAgB,EAAE,OAAO,EAAE,SAAS,qDAAqD;AAAA,EACzF,eAAe,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,SAAS,mEAAmE;AAAA,EAClH,iBAAiB,EAAE,SA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AM,EAAE,OAAO,EAAE,SAAS,+BAA+B;AAAA,EACzD,OAAO,EAAE,SAAS,gBAAgB,EAAE,SAAS,yBAAyB;AAC1E,CAAC;;;ACrFM,SAAS,YAAY,QAA8B;AACxD,MAAI,CAAC,OAAQ,QAAO;AAEpB,QAAM,MAAM,OAAO;AACnB,QAAM,MAAM,OAAO;AACnB,QAAM,SAAS,OAAO;AACtB,QAAM,QAAQ;AAAA,IACZ,CAAC,aAAa,OAAO,GAAG,GAAG;AAAA,IAC3B,CAAC,aAAa,OAAO,GAAG,GAAG;AAAA,IAC3B,CAAC,aAAa,OAAO,GAAG,GAAG;AAAA,EAC7B;AACA,QAAM,OAAO,MAAM,OAAO,YAAY,aAAa,OAAO,GAAG;AAG7D,MAAI,OAAO,QAAQ,OAAO,QAAQ,UAAU,KAAM,QAAO;AAEzD,MAAI,UAAU,KAAM,QAAO,OAAO,OAAO,eAAe;AAExD,MAAI,QAAQ,IAAK,QAAO,OAAO,KAAK,eAAe;AAEnD,MAAI,OAAO,QAAQ,OAAO;AACxB,WAAO,OAAO,KAAK,eAAe,IAAI,QAAQ,OAAO,KAAK,eAAe;AAC3E,SAAO;AACT;","names":[]}
1
+ {"version":3,"sources":["../../src/types/data/shared_pickle_output_latest.ts","../../src/lib/salaryRange.ts"],"sourcesContent":["/*\nID:4cceb9ec-67b6-4372-9af0-0c6bfe55908b\nDomain: shared\nData Product: shared_pickle_output\nVersion: 1.0.0\nThis data contract defines a set of shared outputs from the Pickle model(s).\n*/\n\nimport { z } from 'zod';\n\n\n// Enums\n\nexport const TypeEnum = z.enum(['MONETARY_AMOUNT']);\nexport const DetailLevelEnum = z.enum(['COUNTRY', 'GEO', 'LOCALITY', 'POSTAL_CODE', 'REGION']);\nexport const UnitTextEnum = z.enum(['DAY', 'HOUR', 'MONTH', 'PER_ACTIVITY', 'WEEK', 'YEAR']);\nexport const CurrencyEnum = z.enum(['EUR', 'GBP', 'USD']);\n\n\nexport const postalAddressSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n addressCountry: z.string().describe(\"The physical country as defined in ISO 3166 Alpha-2\"),\n addressRegion: z.optional(z.string()).describe(\"The region in which the locality is, and which is in the country.\"),\n addressLocality: z.optional(z.string()).describe(\"The locality in which the street address is, and which is in the region. In the US this would be city.\"),\n streetAddress: z.optional(z.string()).describe(\"The street address within the locality.\"),\n postalCode: z.optional(z.string()).describe(\"The postal code\"),\n});\n\nexport type PostalAddressModel = z.infer<typeof postalAddressSchema>;\n\nexport const placeSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n detailLevel: z.optional(DetailLevelEnum),\n latitude: z.optional(z.number()).describe(\"The latitude of a location.\"),\n longitude: z.optional(z.number()).describe(\"The longitude of a location.\"),\n address: z.optional(postalAddressSchema).describe(\"The physical place of the location\"),\n});\n\nexport type PlaceModel = z.infer<typeof placeSchema>;\n\nexport const quantitativeValueSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n value: z.optional(z.number()).describe(\"The single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Typically used for a single salary.\"),\n minValue: z.optional(z.number()).describe(\"The single minium value in a range for a quantitative_value, requires a maximum value.\"),\n maxValue: z.optional(z.number()).describe(\"The maximum value in a range for a quantitative_value, requires a minimum value.\"),\n unitText: UnitTextEnum,\n});\n\nexport type QuantitativeValueModel = z.infer<typeof quantitativeValueSchema>;\n\nexport const monetaryAmountSchema = z.object({\n version: z.literal('1.0.0').default('1.0.0'),\n type: z.string().describe(\"Document type used within sanity\"),\n singleValue: z.optional(z.number()).describe(\"The annualized single value for some quantity e.g 5000, if a range is needed use minValue and maxValue. Deprecated - use value.value instead.\"),\n minValue: z.optional(z.number()).describe(\"The annualized single minium value in a range for a quantitative_value. Deprecated use value.minValue\"),\n maxValue: z.optional(z.number()).describe(\"The annualized maximum value in a range for a quantitative_value. Deprecated use value.maxValue\"),\n value: z.optional(quantitativeValueSchema).describe(\"The quantitative_value for a given salary\"),\n currency: z.optional(CurrencyEnum),\n});\n\nexport type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;\n","import { CurrencyEnum, MonetaryAmountModel } from '@/types/data/shared_pickle_output_latest'\n\nexport function salaryRange(salary?: MonetaryAmountModel) {\n if (!salary) return null\n\n const min = salary.minValue\n const max = salary.maxValue\n const single = salary.singleValue\n const signs = {\n [CurrencyEnum.Values.USD]: '$',\n [CurrencyEnum.Values.GBP]: '£',\n [CurrencyEnum.Values.EUR]: '€',\n }\n const sign = signs[salary.currency ?? CurrencyEnum.Values.USD]\n\n // if min and max are null and single is null return null\n if (min == null && max == null && single == null) return null\n // if single value return a formatted single value\n if (single != null) return sign + single.toLocaleString()\n // if min and max are the same return a formatted single value\n if (min === max) return sign + min?.toLocaleString()\n // if min and max are different return a formatted range\n if (min != null && max != null)\n return sign + min?.toLocaleString() + ' - ' + sign + max?.toLocaleString()\n return null\n}\n"],"mappings":";AAQA,SAAS,SAAS;AAKX,IAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC;AAC3C,IAAM,kBAAkB,EAAE,KAAK,CAAC,WAAW,OAAO,YAAY,eAAe,QAAQ,CAAC;AACtF,IAAM,eAAe,EAAE,KAAK,CAAC,OAAO,QAAQ,SAAS,gBAAgB,QAAQ,MAAM,CAAC;AACpF,IAAM,eAAe,EAAE,KAAK,CAAC,OAAO,OAAO,KAAK,CAAC;AAGjD,IAAM,sBAAsB,EAAE,OAAO;AAAA,EACxC,SAAS,EAAE,QAAQ,OAAO,EAAE,QAAQ,OAAO;AAAA,EAC3C,MAAM,EAAE,OAAO,EAAE,SAAS,kCAAkC;AAAA,EAC5D,gBAAgB,EAAE,OAAO,EAAE,SAAS,qDAAqD;AAAA,EACzF,eAAe,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,SAAS,mEAAmE;AAAA,EAClH,iBAAiB,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,SAAS,wGAAwG;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EAAE,SAAS,uBAAuB,EAAE,SAAS,2CAA2C;AAAA,EAC/F,UAAU,EAAE,SAAS,YAAY;AACrC,CAAC;;;AC1DM,SAAS,YAAY,QAA8B;AACxD,MAAI,CAAC,OAAQ,QAAO;AAEpB,QAAM,MAAM,OAAO;AACnB,QAAM,MAAM,OAAO;AACnB,QAAM,SAAS,OAAO;AACtB,QAAM,QAAQ;AAAA,IACZ,CAAC,aAAa,OAAO,GAAG,GAAG;AAAA,IAC3B,CAAC,aAAa,OAAO,GAAG,GAAG;AAAA,IAC3B,CAAC,aAAa,OAAO,GAAG,GAAG;AAAA,EAC7B;AACA,QAAM,OAAO,MAAM,OAAO,YAAY,aAAa,OAAO,GAAG;AAG7D,MAAI,OAAO,QAAQ,OAAO,QAAQ,UAAU,KAAM,QAAO;AAEzD,MAAI,UAAU,KAAM,QAAO,OAAO,OAAO,eAAe;AAExD,MAAI,QAAQ,IAAK,QAAO,OAAO,KAAK,eAAe;AAEnD,MAAI,OAAO,QAAQ,OAAO;AACxB,WAAO,OAAO,KAAK,eAAe,IAAI,QAAQ,OAAO,KAAK,eAAe;AAC3E,SAAO;AACT;","names":[]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAsC;AACtC,4BAAwB;AAEjB,SAAS,MAAM,QAAsB;AAC1C,aAAO,mCAAQ,kBAAK,MAAM,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../src/lib/utils.ts"],"sourcesContent":["import { clsx, type ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAsC;AACtC,4BAAwB;AAEjB,SAAS,MAAM,QAAsB;AAC1C,aAAO,mCAAQ,kBAAK,MAAM,CAAC;AAC7B;","names":[]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";AAAA,SAA0B,YAAY;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;","names":[]}
1
+ {"version":3,"sources":["../../src/lib/utils.ts"],"sourcesContent":["import { clsx, type ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":";AAAA,SAAS,YAA6B;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;","names":[]}
@@ -1,4 +1,4 @@
1
1
  import 'zod';
2
- export { D as DisplayTextConfig, h as DisplayTextService, I as IDisplayTextService, S as ServiceMappings } from '../displayText-C5jAFYZY.cjs';
3
- import '../shared_pickle_output_latest-DUO_efBh.cjs';
4
- import '../job_posting_service_latest-D3PatPBh.cjs';
2
+ export { D as DisplayTextConfig, h as DisplayTextService, I as IDisplayTextService, S as ServiceMappings } from '../displayText-D3BX6YTj.cjs';
3
+ import '../shared_pickle_output_latest-CxZJXPOS.cjs';
4
+ import '../job_posting_service_latest-CWuc_SuJ.cjs';
@@ -1,4 +1,4 @@
1
1
  import 'zod';
2
- export { D as DisplayTextConfig, h as DisplayTextService, I as IDisplayTextService, S as ServiceMappings } from '../displayText-Dl2hcn02.js';
3
- import '../shared_pickle_output_latest-DUO_efBh.js';
4
- import '../job_posting_service_latest-D3PatPBh.js';
2
+ export { D as DisplayTextConfig, h as DisplayTextService, I as IDisplayTextService, S as ServiceMappings } from '../displayText-CcePAspL.js';
3
+ import '../shared_pickle_output_latest-CxZJXPOS.js';
4
+ import '../job_posting_service_latest-CWuc_SuJ.js';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const TypeEnum: z.ZodEnum<["IMAGE"]>;
3
+ declare const TypeEnum: z.ZodEnum<["MONETARY_AMOUNT"]>;
4
4
  declare const DetailLevelEnum: z.ZodEnum<["COUNTRY", "GEO", "LOCALITY", "POSTAL_CODE", "REGION"]>;
5
5
  declare const UnitTextEnum: z.ZodEnum<["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]>;
6
6
  declare const CurrencyEnum: z.ZodEnum<["EUR", "GBP", "USD"]>;
@@ -99,8 +99,8 @@ declare const quantitativeValueSchema: z.ZodObject<{
99
99
  unitText: z.ZodEnum<["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]>;
100
100
  }, "strip", z.ZodTypeAny, {
101
101
  type: string;
102
- version: "1.0.0";
103
102
  unitText: "DAY" | "HOUR" | "MONTH" | "PER_ACTIVITY" | "WEEK" | "YEAR";
103
+ version: "1.0.0";
104
104
  value?: number | undefined;
105
105
  minValue?: number | undefined;
106
106
  maxValue?: number | undefined;
@@ -128,8 +128,8 @@ declare const monetaryAmountSchema: z.ZodObject<{
128
128
  unitText: z.ZodEnum<["DAY", "HOUR", "MONTH", "PER_ACTIVITY", "WEEK", "YEAR"]>;
129
129
  }, "strip", z.ZodTypeAny, {
130
130
  type: string;
131
- version: "1.0.0";
132
131
  unitText: "DAY" | "HOUR" | "MONTH" | "PER_ACTIVITY" | "WEEK" | "YEAR";
132
+ version: "1.0.0";
133
133
  value?: number | undefined;
134
134
  minValue?: number | undefined;
135
135
  maxValue?: number | undefined;
@@ -147,16 +147,16 @@ declare const monetaryAmountSchema: z.ZodObject<{
147
147
  version: "1.0.0";
148
148
  value?: {
149
149
  type: string;
150
- version: "1.0.0";
151
150
  unitText: "DAY" | "HOUR" | "MONTH" | "PER_ACTIVITY" | "WEEK" | "YEAR";
151
+ version: "1.0.0";
152
152
  value?: number | undefined;
153
153
  minValue?: number | undefined;
154
154
  maxValue?: number | undefined;
155
155
  } | undefined;
156
+ currency?: "EUR" | "GBP" | "USD" | undefined;
156
157
  minValue?: number | undefined;
157
158
  maxValue?: number | undefined;
158
159
  singleValue?: number | undefined;
159
- currency?: "EUR" | "GBP" | "USD" | undefined;
160
160
  }, {
161
161
  type: string;
162
162
  value?: {
@@ -167,168 +167,28 @@ declare const monetaryAmountSchema: z.ZodObject<{
167
167
  minValue?: number | undefined;
168
168
  maxValue?: number | undefined;
169
169
  } | undefined;
170
+ currency?: "EUR" | "GBP" | "USD" | undefined;
170
171
  version?: "1.0.0" | undefined;
171
172
  minValue?: number | undefined;
172
173
  maxValue?: number | undefined;
173
174
  singleValue?: number | undefined;
174
- currency?: "EUR" | "GBP" | "USD" | undefined;
175
175
  }>;
176
176
  type MonetaryAmountModel = z.infer<typeof monetaryAmountSchema>;
177
- declare const imageAssetSchema: z.ZodObject<{
178
- version: z.ZodDefault<z.ZodLiteral<"1.0.0">>;
179
- altText: z.ZodOptional<z.ZodString>;
180
- assetId: z.ZodOptional<z.ZodString>;
181
- description: z.ZodOptional<z.ZodString>;
182
- extension: z.ZodOptional<z.ZodString>;
183
- label: z.ZodOptional<z.ZodString>;
184
- mimeType: z.ZodOptional<z.ZodString>;
185
- originalFilename: z.ZodOptional<z.ZodString>;
186
- path: z.ZodOptional<z.ZodString>;
187
- sha1Hash: z.ZodOptional<z.ZodString>;
188
- size: z.ZodOptional<z.ZodNumber>;
189
- title: z.ZodOptional<z.ZodString>;
190
- uploadId: z.ZodOptional<z.ZodString>;
191
- url: z.ZodOptional<z.ZodString>;
192
- }, "strip", z.ZodTypeAny, {
193
- version: "1.0.0";
194
- label?: string | undefined;
195
- title?: string | undefined;
196
- path?: string | undefined;
197
- url?: string | undefined;
198
- size?: number | undefined;
199
- description?: string | undefined;
200
- altText?: string | undefined;
201
- assetId?: string | undefined;
202
- extension?: string | undefined;
203
- mimeType?: string | undefined;
204
- originalFilename?: string | undefined;
205
- sha1Hash?: string | undefined;
206
- uploadId?: string | undefined;
207
- }, {
208
- label?: string | undefined;
209
- title?: string | undefined;
210
- path?: string | undefined;
211
- url?: string | undefined;
212
- version?: "1.0.0" | undefined;
213
- size?: number | undefined;
214
- description?: string | undefined;
215
- altText?: string | undefined;
216
- assetId?: string | undefined;
217
- extension?: string | undefined;
218
- mimeType?: string | undefined;
219
- originalFilename?: string | undefined;
220
- sha1Hash?: string | undefined;
221
- uploadId?: string | undefined;
222
- }>;
223
- type ImageAssetModel = z.infer<typeof imageAssetSchema>;
224
- declare const imageSchema: z.ZodObject<{
225
- version: z.ZodDefault<z.ZodLiteral<"1.0.0">>;
226
- type: z.ZodString;
227
- asset: z.ZodOptional<z.ZodObject<{
228
- version: z.ZodDefault<z.ZodLiteral<"1.0.0">>;
229
- altText: z.ZodOptional<z.ZodString>;
230
- assetId: z.ZodOptional<z.ZodString>;
231
- description: z.ZodOptional<z.ZodString>;
232
- extension: z.ZodOptional<z.ZodString>;
233
- label: z.ZodOptional<z.ZodString>;
234
- mimeType: z.ZodOptional<z.ZodString>;
235
- originalFilename: z.ZodOptional<z.ZodString>;
236
- path: z.ZodOptional<z.ZodString>;
237
- sha1Hash: z.ZodOptional<z.ZodString>;
238
- size: z.ZodOptional<z.ZodNumber>;
239
- title: z.ZodOptional<z.ZodString>;
240
- uploadId: z.ZodOptional<z.ZodString>;
241
- url: z.ZodOptional<z.ZodString>;
242
- }, "strip", z.ZodTypeAny, {
243
- version: "1.0.0";
244
- label?: string | undefined;
245
- title?: string | undefined;
246
- path?: string | undefined;
247
- url?: string | undefined;
248
- size?: number | undefined;
249
- description?: string | undefined;
250
- altText?: string | undefined;
251
- assetId?: string | undefined;
252
- extension?: string | undefined;
253
- mimeType?: string | undefined;
254
- originalFilename?: string | undefined;
255
- sha1Hash?: string | undefined;
256
- uploadId?: string | undefined;
257
- }, {
258
- label?: string | undefined;
259
- title?: string | undefined;
260
- path?: string | undefined;
261
- url?: string | undefined;
262
- version?: "1.0.0" | undefined;
263
- size?: number | undefined;
264
- description?: string | undefined;
265
- altText?: string | undefined;
266
- assetId?: string | undefined;
267
- extension?: string | undefined;
268
- mimeType?: string | undefined;
269
- originalFilename?: string | undefined;
270
- sha1Hash?: string | undefined;
271
- uploadId?: string | undefined;
272
- }>>;
273
- }, "strip", z.ZodTypeAny, {
274
- type: string;
275
- version: "1.0.0";
276
- asset?: {
277
- version: "1.0.0";
278
- label?: string | undefined;
279
- title?: string | undefined;
280
- path?: string | undefined;
281
- url?: string | undefined;
282
- size?: number | undefined;
283
- description?: string | undefined;
284
- altText?: string | undefined;
285
- assetId?: string | undefined;
286
- extension?: string | undefined;
287
- mimeType?: string | undefined;
288
- originalFilename?: string | undefined;
289
- sha1Hash?: string | undefined;
290
- uploadId?: string | undefined;
291
- } | undefined;
292
- }, {
293
- type: string;
294
- version?: "1.0.0" | undefined;
295
- asset?: {
296
- label?: string | undefined;
297
- title?: string | undefined;
298
- path?: string | undefined;
299
- url?: string | undefined;
300
- version?: "1.0.0" | undefined;
301
- size?: number | undefined;
302
- description?: string | undefined;
303
- altText?: string | undefined;
304
- assetId?: string | undefined;
305
- extension?: string | undefined;
306
- mimeType?: string | undefined;
307
- originalFilename?: string | undefined;
308
- sha1Hash?: string | undefined;
309
- uploadId?: string | undefined;
310
- } | undefined;
311
- }>;
312
- type ImageModel = z.infer<typeof imageSchema>;
313
177
 
314
178
  declare const shared_pickle_output_latest_CurrencyEnum: typeof CurrencyEnum;
315
179
  declare const shared_pickle_output_latest_DetailLevelEnum: typeof DetailLevelEnum;
316
- type shared_pickle_output_latest_ImageAssetModel = ImageAssetModel;
317
- type shared_pickle_output_latest_ImageModel = ImageModel;
318
180
  type shared_pickle_output_latest_MonetaryAmountModel = MonetaryAmountModel;
319
181
  type shared_pickle_output_latest_PlaceModel = PlaceModel;
320
182
  type shared_pickle_output_latest_PostalAddressModel = PostalAddressModel;
321
183
  type shared_pickle_output_latest_QuantitativeValueModel = QuantitativeValueModel;
322
184
  declare const shared_pickle_output_latest_TypeEnum: typeof TypeEnum;
323
185
  declare const shared_pickle_output_latest_UnitTextEnum: typeof UnitTextEnum;
324
- declare const shared_pickle_output_latest_imageAssetSchema: typeof imageAssetSchema;
325
- declare const shared_pickle_output_latest_imageSchema: typeof imageSchema;
326
186
  declare const shared_pickle_output_latest_monetaryAmountSchema: typeof monetaryAmountSchema;
327
187
  declare const shared_pickle_output_latest_placeSchema: typeof placeSchema;
328
188
  declare const shared_pickle_output_latest_postalAddressSchema: typeof postalAddressSchema;
329
189
  declare const shared_pickle_output_latest_quantitativeValueSchema: typeof quantitativeValueSchema;
330
190
  declare namespace shared_pickle_output_latest {
331
- export { shared_pickle_output_latest_CurrencyEnum as CurrencyEnum, shared_pickle_output_latest_DetailLevelEnum as DetailLevelEnum, type shared_pickle_output_latest_ImageAssetModel as ImageAssetModel, type shared_pickle_output_latest_ImageModel as ImageModel, type shared_pickle_output_latest_MonetaryAmountModel as MonetaryAmountModel, type shared_pickle_output_latest_PlaceModel as PlaceModel, type shared_pickle_output_latest_PostalAddressModel as PostalAddressModel, type shared_pickle_output_latest_QuantitativeValueModel as QuantitativeValueModel, shared_pickle_output_latest_TypeEnum as TypeEnum, shared_pickle_output_latest_UnitTextEnum as UnitTextEnum, shared_pickle_output_latest_imageAssetSchema as imageAssetSchema, shared_pickle_output_latest_imageSchema as imageSchema, shared_pickle_output_latest_monetaryAmountSchema as monetaryAmountSchema, shared_pickle_output_latest_placeSchema as placeSchema, shared_pickle_output_latest_postalAddressSchema as postalAddressSchema, shared_pickle_output_latest_quantitativeValueSchema as quantitativeValueSchema };
191
+ export { shared_pickle_output_latest_CurrencyEnum as CurrencyEnum, shared_pickle_output_latest_DetailLevelEnum as DetailLevelEnum, type shared_pickle_output_latest_MonetaryAmountModel as MonetaryAmountModel, type shared_pickle_output_latest_PlaceModel as PlaceModel, type shared_pickle_output_latest_PostalAddressModel as PostalAddressModel, type shared_pickle_output_latest_QuantitativeValueModel as QuantitativeValueModel, shared_pickle_output_latest_TypeEnum as TypeEnum, shared_pickle_output_latest_UnitTextEnum as UnitTextEnum, shared_pickle_output_latest_monetaryAmountSchema as monetaryAmountSchema, shared_pickle_output_latest_placeSchema as placeSchema, shared_pickle_output_latest_postalAddressSchema as postalAddressSchema, shared_pickle_output_latest_quantitativeValueSchema as quantitativeValueSchema };
332
192
  }
333
193
 
334
- export { CurrencyEnum as C, DetailLevelEnum as D, type ImageAssetModel as I, type MonetaryAmountModel as M, type PostalAddressModel as P, type QuantitativeValueModel as Q, TypeEnum as T, UnitTextEnum as U, placeSchema as a, type PlaceModel as b, imageSchema as c, type ImageModel as d, imageAssetSchema as i, monetaryAmountSchema as m, postalAddressSchema as p, quantitativeValueSchema as q, shared_pickle_output_latest as s };
194
+ export { CurrencyEnum as C, DetailLevelEnum as D, type MonetaryAmountModel as M, type PostalAddressModel as P, type QuantitativeValueModel as Q, TypeEnum as T, UnitTextEnum as U, placeSchema as a, type PlaceModel as b, monetaryAmountSchema as m, postalAddressSchema as p, quantitativeValueSchema as q, shared_pickle_output_latest as s };