@abcagency/hc-ui-components 1.3.21 → 1.3.23

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 (149) hide show
  1. package/dist/components/containers/accordions/filter-container.js +4 -2
  2. package/dist/components/containers/accordions/filter-container.js.map +1 -1
  3. package/dist/components/containers/accordions/filter-item-container.js +6 -1
  4. package/dist/components/containers/accordions/filter-item-container.js.map +1 -1
  5. package/dist/components/containers/accordions/map-accordion-item-container.js +4 -2
  6. package/dist/components/containers/accordions/map-accordion-item-container.js.map +1 -1
  7. package/dist/components/containers/jobListing/listing-details-container.js +2 -2
  8. package/dist/components/containers/jobListing/listing-details-container.js.map +1 -1
  9. package/dist/components/containers/list/item-list-container.js +2 -2
  10. package/dist/components/containers/list/item-list-container.js.map +1 -1
  11. package/dist/components/modules/accordions/MapAccordionItem.js +2 -1
  12. package/dist/components/modules/accordions/MapAccordionItem.js.map +1 -1
  13. package/dist/components/modules/dialogs/apply-dialog.js +1 -1
  14. package/dist/components/modules/dialogs/apply-dialog.js.map +1 -1
  15. package/dist/components/modules/filter/search.js +1 -1
  16. package/dist/components/modules/filter/search.js.map +1 -1
  17. package/dist/components/modules/jobListing/listing-details.js +5 -4
  18. package/dist/components/modules/jobListing/listing-details.js.map +1 -1
  19. package/dist/components/modules/list/field-mapper.js +1 -1
  20. package/dist/components/modules/list/field-mapper.js.map +1 -1
  21. package/dist/components/modules/list/item-list.js.map +1 -1
  22. package/dist/contexts/mapListContext.js.map +1 -1
  23. package/dist/services/listingAggregatorService.js.map +1 -1
  24. package/dist/styles/index.css +3 -1
  25. package/dist/types/components/containers/jobListing/listing-details-container.d.ts +2 -2
  26. package/dist/types/components/modules/accordions/MapAccordionItem.d.ts +2 -1
  27. package/dist/types/components/modules/jobListing/listing-details.d.ts +2 -2
  28. package/dist/types/components/modules/list/item-list.d.ts +0 -1
  29. package/dist/types/types/ListingFields.d.ts +5 -0
  30. package/dist/types/types/config/MapConfig.d.ts +1 -0
  31. package/dist/util/filterUtil.js +2 -2
  32. package/dist/util/filterUtil.js.map +1 -1
  33. package/package.json +4 -1
  34. package/.env +0 -3
  35. package/.eslintrc +0 -136
  36. package/bundle.js +0 -28134
  37. package/bundle.js.map +0 -1
  38. package/bundleDist.map +0 -1
  39. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
  40. package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  41. package/jsconfig.json +0 -7
  42. package/postcss.config.js +0 -13
  43. package/preset.default.js +0 -15
  44. package/rollup.config.mjs +0 -111
  45. package/src/.editorconfig +0 -12
  46. package/src/apis/hcApi.ts +0 -109
  47. package/src/bundleIndex.js +0 -14
  48. package/src/clientToken.js +0 -9
  49. package/src/components/HireControlMap.js +0 -135
  50. package/src/components/containers/accordions/filter-container.js +0 -47
  51. package/src/components/containers/accordions/filter-item-container.js +0 -62
  52. package/src/components/containers/accordions/map-accordion-item-container.js +0 -70
  53. package/src/components/containers/filter/commute-container.js +0 -89
  54. package/src/components/containers/filter/filter-container.js +0 -76
  55. package/src/components/containers/filter/filter-item-container.js +0 -71
  56. package/src/components/containers/filter/location-container.js +0 -45
  57. package/src/components/containers/filter/points-of-interest-container.js +0 -33
  58. package/src/components/containers/filter/points-of-interest-radio-item-container.js +0 -35
  59. package/src/components/containers/filter/search-container.js +0 -50
  60. package/src/components/containers/jobListing/listing-details-container.js +0 -40
  61. package/src/components/containers/list/item-list-container.tsx +0 -82
  62. package/src/components/containers/list/list-item/list-item-container.js +0 -43
  63. package/src/components/containers/maps/info-window-content-container.js +0 -51
  64. package/src/components/containers/maps/map-container.js +0 -204
  65. package/src/components/containers/maps/map-list-container.js +0 -48
  66. package/src/components/containers/maps/map-marker-container.js +0 -78
  67. package/src/components/modules/accordions/MapAccordionItem.js +0 -29
  68. package/src/components/modules/accordions/default.js +0 -171
  69. package/src/components/modules/accordions/filterItem.js +0 -27
  70. package/src/components/modules/accordions/filters.js +0 -32
  71. package/src/components/modules/buttons/button-group-apply.js +0 -123
  72. package/src/components/modules/buttons/commute-pill.js +0 -22
  73. package/src/components/modules/buttons/default.js +0 -194
  74. package/src/components/modules/buttons/items-pill.js +0 -35
  75. package/src/components/modules/buttons/pill-wrapper.js +0 -27
  76. package/src/components/modules/buttons/show-all-button.js +0 -20
  77. package/src/components/modules/cards/default.js +0 -167
  78. package/src/components/modules/cards/filter.js +0 -56
  79. package/src/components/modules/dialogs/apply-dialog.js +0 -48
  80. package/src/components/modules/filter/commute.js +0 -108
  81. package/src/components/modules/filter/index.js +0 -55
  82. package/src/components/modules/filter/item.js +0 -48
  83. package/src/components/modules/filter/location.js +0 -48
  84. package/src/components/modules/filter/radio-item.js +0 -42
  85. package/src/components/modules/filter/search.js +0 -65
  86. package/src/components/modules/filter/sort.js +0 -83
  87. package/src/components/modules/grid.js +0 -54
  88. package/src/components/modules/icon.js +0 -33
  89. package/src/components/modules/jobListing/listing-details.js +0 -109
  90. package/src/components/modules/list/field-mapper.js +0 -114
  91. package/src/components/modules/list/header-item.js +0 -91
  92. package/src/components/modules/list/header.js +0 -49
  93. package/src/components/modules/list/item-expand-card/index.js +0 -22
  94. package/src/components/modules/list/item-expand-card/recruiter-contact-nav.js +0 -50
  95. package/src/components/modules/list/item-expand-card/recruiter-details.js +0 -68
  96. package/src/components/modules/list/item-expand-card/recruiter-headshot.js +0 -22
  97. package/src/components/modules/list/item-list.tsx +0 -85
  98. package/src/components/modules/list/list-item/list-item.js +0 -130
  99. package/src/components/modules/maps/info-window-card.js +0 -17
  100. package/src/components/modules/maps/info-window-content.js +0 -35
  101. package/src/components/modules/maps/map-list.js +0 -28
  102. package/src/components/modules/maps/map-marker.js +0 -29
  103. package/src/components/modules/maps/map.js +0 -76
  104. package/src/components/modules/maps/place-marker.js +0 -41
  105. package/src/components/modules/maps/tabs.js +0 -81
  106. package/src/constants/eventTypes.js +0 -13
  107. package/src/constants/placeTypes.js +0 -8
  108. package/src/contexts/mapContext.tsx +0 -129
  109. package/src/contexts/mapListContext.tsx +0 -311
  110. package/src/contexts/placesContext.js +0 -102
  111. package/src/contexts/trackEventContext.js +0 -14
  112. package/src/enums/SectionType.ts +0 -9
  113. package/src/hooks/useList.js +0 -89
  114. package/src/index.js +0 -3
  115. package/src/services/configService.ts +0 -16
  116. package/src/services/googlePlacesNearbyService.ts +0 -42
  117. package/src/services/listingAggregatorService.ts +0 -76
  118. package/src/services/listingEntityService.ts +0 -16
  119. package/src/services/listingService.ts +0 -40
  120. package/src/services/recruiterService.ts +0 -18
  121. package/src/styles/bundle.css +0 -268
  122. package/src/styles/index.css +0 -125
  123. package/src/types/Address.ts +0 -7
  124. package/src/types/ContentSection.ts +0 -9
  125. package/src/types/GetListingParams.ts +0 -8
  126. package/src/types/LatLng.ts +0 -4
  127. package/src/types/ListingEntity.ts +0 -11
  128. package/src/types/ListingFields.ts +0 -20
  129. package/src/types/Listings.ts +0 -32
  130. package/src/types/Recruiter.ts +0 -9
  131. package/src/types/SimilarListing.ts +0 -24
  132. package/src/types/config/Colors.ts +0 -8
  133. package/src/types/config/MapConfig.ts +0 -30
  134. package/src/types/config/PointsOfInterestConfig.ts +0 -13
  135. package/src/types/config/SearchConfig.ts +0 -4
  136. package/src/util/arrayUtil.js +0 -3
  137. package/src/util/fieldMapper.js +0 -22
  138. package/src/util/filterUtil.js +0 -239
  139. package/src/util/loading.js +0 -17
  140. package/src/util/localStorageUtil.ts +0 -34
  141. package/src/util/mapIconUtil.js +0 -180
  142. package/src/util/mapUtil.js +0 -91
  143. package/src/util/sortUtil.js +0 -33
  144. package/src/util/stringUtils.js +0 -6
  145. package/src/util/urlFilterUtil.js +0 -85
  146. package/stats.html +0 -4842
  147. package/styles/index.css +0 -1
  148. package/tailwind.config.js +0 -129
  149. package/tsconfig.json +0 -23
@@ -1,40 +0,0 @@
1
- // listingService.ts
2
- import { GetListingsParams } from '~/types/GetListingParams';
3
- import api from '../apis/hcApi';
4
- import { Listing } from '../types/Listings';
5
-
6
- export const getListings = async (params?: GetListingsParams): Promise<Listing[]> => {
7
- try {
8
- const query = new URLSearchParams();
9
-
10
- if (params) {
11
- if (params.location) params.location.forEach(loc => query.append('location', loc));
12
- if (params.category) params.category.forEach(cat => query.append('category', cat));
13
- if (params.categoryClass) params.categoryClass.forEach(catClass => query.append('categoryClass', catClass));
14
- if (params.education) params.education.forEach(edu => query.append('education', edu));
15
- if (params.city) params.city.forEach(cty => query.append('city', cty));
16
- if (params.state) params.state.forEach(st => query.append('state', st));
17
- }
18
-
19
- const response = await api.get(`/Listings?${query.toString()}`);
20
- return response as Listing[];
21
- } catch (error) {
22
- console.error(error);
23
- throw error;
24
- }
25
- };
26
-
27
- export const getListingDetails = async (listingId: string) => {
28
- try {
29
- const response = await api.get(`/ListingDetails/${listingId}`);
30
- return response;
31
- } catch (error) {
32
- console.error(error);
33
- throw error;
34
- }
35
- };
36
-
37
- export default {
38
- getListings,
39
- getListingDetails
40
- };
@@ -1,18 +0,0 @@
1
- import api from '~/apis/hcApi';
2
- import { Recruiter } from '~/types/Recruiter';
3
-
4
- export const getRecruiters = async (recruiterIds: number[]): Promise<Recruiter[]> => {
5
- try {
6
- const params = recruiterIds.map(id => `recruiterIds=${id}`).join("&");
7
-
8
- const response = await api.get<Recruiter[]>(`/Recruiters?${params}`);
9
- return response;
10
- } catch (error) {
11
- console.error("Error fetching recruiters:", error);
12
- throw error;
13
- }
14
- };
15
-
16
- export default {
17
- getRecruiters
18
- };
@@ -1,268 +0,0 @@
1
- /* Custom prefixed styles */
2
- @tailwind base;
3
- @tailwind components;
4
- @tailwind utilities;
5
- .hc-bundle html {
6
- font-size: 14px;
7
- }
8
-
9
- @media (min-width: 768px) {
10
- .hc-bundle html {
11
- font-size: 16px;
12
- }
13
- }
14
-
15
- .hc-bundle .btn:focus, .hc-bundle .btn:active:focus, .hc-bundle .btn-link.nav-link:focus, .hc-bundle .form-control:focus, .hc-bundle .form-check-input:focus {
16
- box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
17
- }
18
-
19
- .hc-bundle html {
20
- position: relative;
21
- min-height: 100%;
22
- }
23
-
24
- .hc-bundle body {
25
- margin-bottom: 60px;
26
- }
27
-
28
- .hc-bundle *, .hc-bundle :after, .hc-bundle :before {
29
- border: 0 solid #e5e7eb;
30
- box-sizing: border-box;
31
- }
32
-
33
- .hc-bundle :after, .hc-bundle :before {
34
- --tw-content: "";
35
- }
36
-
37
- .hc-bundle :host, .hc-bundle html {
38
- -webkit-text-size-adjust: 100%;
39
- font-feature-settings: normal;
40
- -webkit-tap-highlight-color: transparent;
41
- font-family: var(--font-roboto-flex), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
42
- font-variation-settings: normal;
43
- line-height: 1.5;
44
- -moz-tab-size: 4;
45
- -o-tab-size: 4;
46
- tab-size: 4;
47
- }
48
-
49
-
50
- .hc-bundle hr {
51
- border-top-width: 1px;
52
- color: inherit;
53
- height: 0;
54
- }
55
-
56
- .hc-bundle abbr:where([title]) {
57
- -webkit-text-decoration: underline dotted;
58
- text-decoration: underline dotted;
59
- }
60
-
61
-
62
- .hc-bundle a {
63
- color: inherit;
64
- text-decoration: inherit;
65
- }
66
-
67
- .hc-bundle b, .hc-bundle strong {
68
- font-weight: bolder;
69
- }
70
-
71
- .hc-bundle code, .hc-bundle kbd, .hc-bundle pre, .hc-bundle samp {
72
- font-feature-settings: normal;
73
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
74
- font-size: 1em;
75
- font-variation-settings: normal;
76
- }
77
-
78
- .hc-bundle small {
79
- font-size: 80%;
80
- }
81
-
82
- .hc-bundle sub, .hc-bundle sup {
83
- font-size: 75%;
84
- line-height: 0;
85
- position: relative;
86
- vertical-align: baseline;
87
- }
88
-
89
- .hc-bundle sub {
90
- bottom: -.25em;
91
- }
92
-
93
- .hc-bundle sup {
94
- top: -.5em;
95
- }
96
-
97
- .hc-bundle table {
98
- border-collapse: collapse;
99
- border-color: inherit;
100
- text-indent: 0;
101
- }
102
-
103
- .hc-bundle button, .hc-bundle input, .hc-bundle optgroup, .hc-bundle select, .hc-bundle textarea {
104
- font-feature-settings: inherit;
105
- color: inherit;
106
- font-family: inherit;
107
- font-size: 100%;
108
- font-variation-settings: inherit;
109
- font-weight: inherit;
110
- letter-spacing: inherit;
111
- line-height: inherit;
112
- margin: 0;
113
- padding: 0;
114
- }
115
-
116
- .hc-bundle button, .hc-bundle select {
117
- text-transform: none;
118
- }
119
-
120
- .hc-bundle button, .hc-bundle input:where([type=button]), .hc-bundle input:where([type=reset]), .hc-bundle input:where([type=submit]) {
121
- -webkit-appearance: button;
122
- background-color: transparent;
123
- background-image: none;
124
- }
125
-
126
- .hc-bundle :-moz-focusring {
127
- outline: auto;
128
- }
129
-
130
- .hc-bundle :-moz-ui-invalid {
131
- box-shadow: none;
132
- }
133
-
134
- .hc-bundle progress {
135
- vertical-align: baseline;
136
- }
137
-
138
- .hc-bundle ::-webkit-inner-spin-button, .hc-bundle ::-webkit-outer-spin-button {
139
- height: auto;
140
- }
141
-
142
- .hc-bundle [type=search] {
143
- -webkit-appearance: textfield;
144
- outline-offset: -2px;
145
- }
146
-
147
- .hc-bundle ::-webkit-search-decoration {
148
- -webkit-appearance: none;
149
- }
150
-
151
- .hc-bundle ::-webkit-file-upload-button {
152
- -webkit-appearance: button;
153
- font: inherit;
154
- }
155
-
156
- .hc-bundle summary {
157
- display: list-item;
158
- }
159
-
160
- .hc-bundle textarea {
161
- resize: vertical;
162
- }
163
-
164
- .hc-bundle input::-moz-placeholder, .hc-bundle textarea::-moz-placeholder {
165
- color: #9ca3af;
166
- }
167
-
168
- .hc-bundle input::placeholder, .hc-bundle textarea::placeholder {
169
- color: #9ca3af;
170
- }
171
-
172
- .hc-bundle [role=button], .hc-bundle button {
173
- cursor: pointer;
174
- }
175
-
176
- .hc-bundle :disabled {
177
- cursor: default;
178
- }
179
-
180
- .hc-bundle audio, .hc-bundle canvas, .hc-bundle embed, .hc-bundle iframe, .hc-bundle img, .hc-bundle object, .hc-bundle svg, .hc-bundle video {
181
- display: block;
182
- vertical-align: middle;
183
- }
184
-
185
- .hc-bundle img, .hc-bundle video {
186
- height: auto;
187
- max-width: 100%;
188
- }
189
-
190
- .hc-bundle [hidden] {
191
- display: none;
192
- }
193
-
194
- .hc-bundle [multiple], .hc-bundle [type=date], .hc-bundle [type=datetime-local], .hc-bundle [type=email], .hc-bundle [type=month], .hc-bundle [type=number], .hc-bundle [type=password], .hc-bundle [type=search], .hc-bundle [type=tel], .hc-bundle [type=text], .hc-bundle [type=time], .hc-bundle [type=url], .hc-bundle [type=week], .hc-bundle input:where(:not([type])), .hc-bundle select, .hc-bundle textarea {
195
- --tw-shadow: 0 0 #0000;
196
- -webkit-appearance: none;
197
- -moz-appearance: none;
198
- appearance: none;
199
- background-color: #fff;
200
- border-color: #6b7280;
201
- border-radius: 0;
202
- border-width: 1px;
203
- font-size: 1rem;
204
- line-height: 1.5rem;
205
- padding: .5rem .75rem;
206
- }
207
-
208
- .hc-bundle [multiple]:focus, .hc-bundle [type=date]:focus, .hc-bundle [type=datetime-local]:focus, .hc-bundle [type=email]:focus, .hc-bundle [type=month]:focus, .hc-bundle [type=number]:focus, .hc-bundle [type=password]:focus, .hc-bundle [type=search]:focus, .hc-bundle [type=tel]:focus, .hc-bundle [type=text]:focus, .hc-bundle [type=time]:focus, .hc-bundle [type=url]:focus, .hc-bundle [type=week]:focus, .hc-bundle input:where(:not([type])):focus, .hc-bundle select:focus, .hc-bundle textarea:focus {
209
- --tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
210
- --tw-ring-offset-width: 0px;
211
- --tw-ring-offset-color: #fff;
212
- --tw-ring-color: #2563eb;
213
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
214
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
215
- border-color: #2563eb;
216
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
217
- outline: 2px solid transparent;
218
- outline-offset: 2px;
219
- }
220
-
221
- .hc-bundle input::-moz-placeholder, .hc-bundle textarea::-moz-placeholder {
222
- color: #6b7280;
223
- opacity: 1;
224
- }
225
-
226
- .hc-bundle input::placeholder, .hc-bundle textarea::placeholder {
227
- color: #6b7280;
228
- opacity: 1;
229
- }
230
-
231
- .hc-bundle ::-webkit-datetime-edit-fields-wrapper {
232
- padding: 0;
233
- }
234
-
235
- .hc-bundle ::-webkit-date-and-time-value {
236
- min-height: 1.5em;
237
- text-align: inherit;
238
- }
239
-
240
- .hc-bundle ::-webkit-datetime-edit {
241
- display: inline-flex;
242
- }
243
-
244
- .hc-bundle ::-webkit-datetime-edit, .hc-bundle ::-webkit-datetime-edit-day-field, .hc-bundle ::-webkit-datetime-edit-hour-field, .hc-bundle ::-webkit-datetime-edit-meridiem-field, .hc-bundle ::-webkit-datetime-edit-millisecond-field, .hc-bundle ::-webkit-datetime-edit-minute-field, .hc-bundle ::-webkit-datetime-edit-month-field, .hc-bundle ::-webkit-datetime-edit-second-field, .hc-bundle ::-webkit-datetime-edit-year-field {
245
- padding-bottom: 0;
246
- padding-top: 0;
247
- }
248
-
249
- .hc-bundle select {
250
- background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
251
- background-position: right .5rem center;
252
- background-repeat: no-repeat;
253
- background-size: 1.5em 1.5em;
254
- padding-right: 2.5rem;
255
- -webkit-print-color-adjust: exact;
256
- print-color-adjust: exact;
257
- }
258
-
259
- .hc-bundle [multiple], .hc-bundle [size]:where(select:not([size="1"])) {
260
- background-image: none;
261
- background-position: 0 0;
262
- background-repeat: unset;
263
- background-size: auto auto;
264
- background-size: initial;
265
- padding-right: .75rem;
266
- -webkit-print-color-adjust: unset;
267
- print-color-adjust: unset;
268
- }
@@ -1,125 +0,0 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- *, :after, :before {
6
- border: 0 solid #e5e7eb;
7
- box-sizing: border-box
8
- }
9
-
10
- .hc-bundle :after, :before {
11
- --tw-content: ""
12
- }
13
-
14
- .hc-bundle :host, html, .hc-bundle h4, .hc-bundle h3, .hc-bundle h2, .hc-bundle h1 {
15
- -webkit-text-size-adjust: 100%;
16
- font-feature-settings: normal;
17
- -webkit-tap-highlight-color: transparent;
18
- font-family: var(--font-roboto-flex),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
19
- font-variation-settings: normal;
20
- line-height: 1.5;
21
- -moz-tab-size: 4;
22
- -o-tab-size: 4;
23
- tab-size: 4
24
- }
25
-
26
- .hc-bundle {
27
- line-height: inherit;
28
- margin: 0
29
- }
30
-
31
- .gmnoprint button > div > img:nth-child(1){
32
- height:unset;
33
- position: initial !important;
34
- }
35
-
36
- .hc-bundle hr {
37
- border-top-width: 1px;
38
- color: inherit;
39
- height: 0
40
- }
41
-
42
- .hc-bundle abbr:where([title]) {
43
- -webkit-text-decoration: underline dotted;
44
- text-decoration: underline dotted
45
- }
46
-
47
- .hc-bundle h1,.hc-bundle h2,.hc-bundle h3,.hc-bundle h4,.hc-bundle h5,.hc-bundle h6 {
48
- font-size: inherit;
49
- font-weight: inherit
50
- }
51
-
52
- a {
53
- text-decoration: inherit
54
- }
55
-
56
- .hc-bundle b, .hc-bundle strong {
57
- font-weight: bolder
58
- }
59
-
60
- button, input:where([type=button]), input:where([type=reset]), input:where([type=submit]) {
61
- -webkit-appearance: button;
62
- background-color: transparent;
63
- background-image: none
64
- }
65
-
66
- progress {
67
- vertical-align: baseline
68
- }
69
-
70
- ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
71
- height: auto
72
- }
73
-
74
- [type=search] {
75
- -webkit-appearance: textfield;
76
- outline-offset: -2px
77
- }
78
-
79
- ::-webkit-search-decoration {
80
- -webkit-appearance: none
81
- }
82
-
83
- ::-webkit-file-upload-button {
84
- -webkit-appearance: button;
85
- font: inherit
86
- }
87
-
88
- summary {
89
- display: list-item
90
- }
91
-
92
- .hc-bundle blockquote,.hc-bundle dd,.hc-bundle dl, .hc-bundle figure,.hc-bundle h1,.hc-bundle h2, h3,.hc-bundle h4,.hc-bundle h5,.hc-bundle h6,.hc-bundle hr, .hc-bundle p,.hc-bundle {
93
- margin: 0
94
- }
95
-
96
-
97
- input::-moz-placeholder, textarea::-moz-placeholder {
98
- color: #9ca3af
99
- }
100
-
101
- input::placeholder, textarea::placeholder {
102
- color: #9ca3af
103
- }
104
-
105
- [role=button], button {
106
- cursor: pointer
107
- }
108
-
109
- :disabled {
110
- cursor: default
111
- }
112
-
113
- .hc-bundle audio,.hc-bundle canvas,.hc-bundle embed,.hc-bundle iframe, .hc-bundle img,.hc-bundle object,.hc-bundle svg, .hc-bundle video {
114
- display: block;
115
- vertical-align: middle
116
- }
117
-
118
- .hc-bundle img,.hc-bundle video {
119
- height: auto;
120
- max-width: 100%
121
- }
122
-
123
- .hc-bundle [hidden] {
124
- display: none
125
- }
@@ -1,7 +0,0 @@
1
- export type Address = {
2
- location?: string;
3
- street?: string;
4
- city?: string;
5
- state?: string;
6
- zip?: string;
7
- }
@@ -1,9 +0,0 @@
1
- import { SectionType } from '../enums/SectionType';
2
-
3
- export type ContentSection = {
4
- title?: string;
5
- contentFormatted?: string;
6
- contentRaw?: string;
7
- sectionType: SectionType;
8
- sortIndex: number;
9
- }
@@ -1,8 +0,0 @@
1
- export type GetListingsParams = {
2
- location?: string[];
3
- category?: string[];
4
- categoryClass?: string[];
5
- education?: string[];
6
- city?: string[];
7
- state?: string[];
8
- };
@@ -1,4 +0,0 @@
1
- export type LatLng = {
2
- lat: number;
3
- lng: number;
4
- }
@@ -1,11 +0,0 @@
1
- import { Address } from './Address';
2
-
3
- export type ListingEntity = {
4
- id: number;
5
- listingId: number;
6
- latitude: number;
7
- longitude: number;
8
- entityDisplayName?: string;
9
- address?: Address;
10
- travelTime?: string;
11
- }
@@ -1,20 +0,0 @@
1
- export type ListingFields = {
2
- posted?: string;
3
- subTitle?: string;
4
- education?: string;
5
- position?: string;
6
- category?: string;
7
- categoryClass?: string;
8
- shift?: string;
9
- cityState?: string;
10
- city?: string;
11
- state?: string;
12
- schedule?: string;
13
- customFlag1?: number;
14
- bonus?: number;
15
- remote?: number;
16
- useClientJobUrl?: boolean;
17
- dateCreated: Date;
18
- dateLastEdited?: Date;
19
- travelTime?: string;
20
- }
@@ -1,32 +0,0 @@
1
- import { ListingFields } from './ListingFields';
2
- import { Recruiter } from './Recruiter';
3
- import { ListingEntity } from './ListingEntity';
4
- import { ContentSection } from './ContentSection';
5
- import { SimilarListing } from './SimilarListing';
6
-
7
- export type Listing = {
8
- id: number;
9
- fields?: ListingFields;
10
- entityId?: number;
11
- applyUrl?: string;
12
- applyOnline?: number;
13
- detailsUrl?: string;
14
- displayOnSite: number;
15
- displayRecruiter: number;
16
- recruiterId?: number;
17
- description1?: string;
18
- description2?: string;
19
- description3?: string;
20
- description4?: string;
21
- custom1: string;
22
- custom2: string;
23
- custom3: string;
24
- custom4: string;
25
- custom5: string;
26
- customFlag1: number;
27
- slug?: string;
28
- recruiter?: Recruiter;
29
- entity?: ListingEntity;
30
- contentSections?: ContentSection[];
31
- similarListings?: SimilarListing[];
32
- }
@@ -1,9 +0,0 @@
1
- export type Recruiter = {
2
- id?: number;
3
- email?: string;
4
- firstName?: string;
5
- lastName?: string;
6
- linkedInUrl?: string;
7
- mobilePhone?: string;
8
- headshot?: string;
9
- }
@@ -1,24 +0,0 @@
1
- export type SimilarListing = {
2
- id: number;
3
- city: string;
4
- companyName: string;
5
- companyId: number;
6
- domain: string;
7
- refreshedPubDate?: Date;
8
- clientJobUrl: string;
9
- refreshNum: number;
10
- requestURI: string;
11
- schedule: string;
12
- scheduleId?: number;
13
- shift: string;
14
- sponsored: boolean;
15
- stateAbbrev: string;
16
- subTitle: string;
17
- title: string;
18
- uniqueId: string;
19
- zip: string;
20
- slug?: string;
21
- dateCreated: Date;
22
- categoryId: number;
23
- categoryClassId: number;
24
- };
@@ -1,8 +0,0 @@
1
- export type Colors = {
2
- uiText: string;
3
- uiAccent: string;
4
- primary: string;
5
- primaryDark: string;
6
- secondary: string;
7
- secondaryDark: string;
8
- }
@@ -1,30 +0,0 @@
1
- import { Colors } from "./Colors";
2
- import { PointsOfInterestConfig } from "./PointsOfInterestConfig";
3
- import { SearchConfig } from "./SearchConfig";
4
-
5
- export type MapConfig = {
6
- title: string;
7
- titleShort: string;
8
- description: string;
9
- jobsDomain: string;
10
- useDetailsPostMessage: boolean;
11
- author: string;
12
- url: string;
13
- logo: string;
14
- companyName: string;
15
- shareImage: string;
16
- clientAuthKey: string;
17
- colors: Colors;
18
- hideLocations: boolean;
19
- fieldsShown: string[];
20
- fieldFiltersShown: string[];
21
- locationFiltersShown: string[];
22
- fieldNames: Record<string, string>;
23
- specialFeatures: Record<string, string>;
24
- searchConfig: SearchConfig;
25
- internalApplyLink: string;
26
- useApplyDialog: boolean;
27
- pointsOfInterestConfig: PointsOfInterestConfig;
28
- showMap: boolean;
29
- companyId: string;
30
- }
@@ -1,13 +0,0 @@
1
- export type PointsOfInterestConfig = {
2
- title: string;
3
- pointsOfInterestNames: Record<string, string>;
4
- pointsOfInterestIcons: Record<string, string>;
5
- placeMarkerColors: {
6
- innerFillColor: string;
7
- innerStrokeColor: string;
8
- outerFillColor: string;
9
- outerStrokeColor: string;
10
- };
11
- placeMarkerSize: number;
12
- placeMappings: Record<string, string[]>;
13
- }
@@ -1,4 +0,0 @@
1
- export type SearchConfig = {
2
- label: string;
3
- placeholder: string;
4
- }
@@ -1,3 +0,0 @@
1
- export const onlyUnique = (value, index, array) => {
2
- return array.indexOf(value) === index;
3
- };
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
-
3
- import Grid from '~/components/modules/grid';
4
-
5
- import { capitalize } from '~/util/stringUtils';
6
-
7
- const mapFieldsToGridItems = (item, fieldsShown) => {
8
- const orderedFields = fieldsShown.filter(field => field in item.fields);
9
-
10
- return orderedFields.map(field => {
11
- let value = item.fields[field];
12
-
13
- return (
14
- <Grid.Item key={field}>
15
- <span className="hc-sr-only">{capitalize(field)}</span>
16
- {value}
17
- </Grid.Item>
18
- );
19
- });
20
- };
21
-
22
- export default mapFieldsToGridItems;