@blateral/b.kit 1.5.12 → 1.5.13

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 (277) hide show
  1. package/lib/components/sections/header/Header.d.ts +5 -0
  2. package/lib/components/sections/header/Header.d.ts.map +1 -1
  3. package/lib/components/sections/header/HeaderPoster.d.ts +2 -0
  4. package/lib/components/sections/header/HeaderPoster.d.ts.map +1 -1
  5. package/lib/components/sections/header/HeaderVideo.d.ts +2 -0
  6. package/lib/components/sections/header/HeaderVideo.d.ts.map +1 -1
  7. package/lib/index.es.js +1 -1
  8. package/lib/index.es.js.map +1 -1
  9. package/lib/index.js +1 -1
  10. package/lib/index.js.map +1 -1
  11. package/package.json +1 -1
  12. package/lib/components/base/icons/AngleLeft.d.ts +0 -8
  13. package/lib/components/base/icons/AngleLeft.d.ts.map +0 -1
  14. package/lib/components/base/icons/AngleRight.d.ts +0 -8
  15. package/lib/components/base/icons/AngleRight.d.ts.map +0 -1
  16. package/lib/components/base/icons/ArrowDown.d.ts +0 -8
  17. package/lib/components/base/icons/ArrowDown.d.ts.map +0 -1
  18. package/lib/components/base/icons/ArrowLeft.d.ts +0 -8
  19. package/lib/components/base/icons/ArrowLeft.d.ts.map +0 -1
  20. package/lib/components/base/icons/ArrowUp.d.ts +0 -8
  21. package/lib/components/base/icons/ArrowUp.d.ts.map +0 -1
  22. package/lib/components/base/icons/BoxArrowUpRight.d.ts +0 -8
  23. package/lib/components/base/icons/BoxArrowUpRight.d.ts.map +0 -1
  24. package/lib/components/base/icons/CalendarToday.d.ts +0 -8
  25. package/lib/components/base/icons/CalendarToday.d.ts.map +0 -1
  26. package/lib/components/base/icons/Category.d.ts +0 -8
  27. package/lib/components/base/icons/Category.d.ts.map +0 -1
  28. package/lib/components/base/icons/Clock.d.ts +0 -8
  29. package/lib/components/base/icons/Clock.d.ts.map +0 -1
  30. package/lib/components/base/icons/ClockFilled.d.ts +0 -8
  31. package/lib/components/base/icons/ClockFilled.d.ts.map +0 -1
  32. package/lib/components/base/icons/Computer.d.ts +0 -8
  33. package/lib/components/base/icons/Computer.d.ts.map +0 -1
  34. package/lib/components/base/icons/CurrentLocation.d.ts +0 -8
  35. package/lib/components/base/icons/CurrentLocation.d.ts.map +0 -1
  36. package/lib/components/base/icons/DateRange.d.ts +0 -8
  37. package/lib/components/base/icons/DateRange.d.ts.map +0 -1
  38. package/lib/components/base/icons/DeleteForever.d.ts +0 -8
  39. package/lib/components/base/icons/DeleteForever.d.ts.map +0 -1
  40. package/lib/components/base/icons/External.d.ts +0 -8
  41. package/lib/components/base/icons/External.d.ts.map +0 -1
  42. package/lib/components/base/icons/Filter.d.ts +0 -8
  43. package/lib/components/base/icons/Filter.d.ts.map +0 -1
  44. package/lib/components/base/icons/Icons.d.ts +0 -64
  45. package/lib/components/base/icons/Icons.d.ts.map +0 -1
  46. package/lib/components/base/icons/Info.d.ts +0 -8
  47. package/lib/components/base/icons/Info.d.ts.map +0 -1
  48. package/lib/components/base/icons/Language.d.ts +0 -8
  49. package/lib/components/base/icons/Language.d.ts.map +0 -1
  50. package/lib/components/base/icons/LocationPin.d.ts +0 -8
  51. package/lib/components/base/icons/LocationPin.d.ts.map +0 -1
  52. package/lib/components/base/icons/LocationSearch.d.ts +0 -8
  53. package/lib/components/base/icons/LocationSearch.d.ts.map +0 -1
  54. package/lib/components/base/icons/Map.d.ts +0 -8
  55. package/lib/components/base/icons/Map.d.ts.map +0 -1
  56. package/lib/components/base/icons/Money.d.ts +0 -8
  57. package/lib/components/base/icons/Money.d.ts.map +0 -1
  58. package/lib/components/base/icons/MyLocation.d.ts +0 -8
  59. package/lib/components/base/icons/MyLocation.d.ts.map +0 -1
  60. package/lib/components/base/icons/Person.d.ts +0 -8
  61. package/lib/components/base/icons/Person.d.ts.map +0 -1
  62. package/lib/components/base/icons/Place.d.ts +0 -8
  63. package/lib/components/base/icons/Place.d.ts.map +0 -1
  64. package/lib/components/base/icons/ToggleOff.d.ts +0 -8
  65. package/lib/components/base/icons/ToggleOff.d.ts.map +0 -1
  66. package/lib/components/base/icons/ToggleOn.d.ts +0 -8
  67. package/lib/components/base/icons/ToggleOn.d.ts.map +0 -1
  68. package/lib/components/base/icons/files/Excel.d.ts +0 -8
  69. package/lib/components/base/icons/files/Excel.d.ts.map +0 -1
  70. package/lib/components/base/icons/files/Image.d.ts +0 -8
  71. package/lib/components/base/icons/files/Image.d.ts.map +0 -1
  72. package/lib/components/base/icons/files/Pdf.d.ts +0 -8
  73. package/lib/components/base/icons/files/Pdf.d.ts.map +0 -1
  74. package/lib/components/base/icons/files/PowerPoint.d.ts +0 -8
  75. package/lib/components/base/icons/files/PowerPoint.d.ts.map +0 -1
  76. package/lib/components/base/icons/files/UploadFile.d.ts +0 -8
  77. package/lib/components/base/icons/files/UploadFile.d.ts.map +0 -1
  78. package/lib/components/base/icons/files/Word.d.ts +0 -8
  79. package/lib/components/base/icons/files/Word.d.ts.map +0 -1
  80. package/lib/components/base/icons/files/Zip.d.ts +0 -8
  81. package/lib/components/base/icons/files/Zip.d.ts.map +0 -1
  82. package/lib/components/blocks/Alert.d.ts +0 -23
  83. package/lib/components/blocks/Alert.d.ts.map +0 -1
  84. package/lib/components/blocks/EventBlock.d.ts +0 -42
  85. package/lib/components/blocks/EventBlock.d.ts.map +0 -1
  86. package/lib/components/blocks/InfoList.d.ts +0 -20
  87. package/lib/components/blocks/InfoList.d.ts.map +0 -1
  88. package/lib/components/blocks/JobCard.d.ts +0 -42
  89. package/lib/components/blocks/JobCard.d.ts.map +0 -1
  90. package/lib/components/blocks/LanguageSwitcher.d.ts +0 -14
  91. package/lib/components/blocks/LanguageSwitcher.d.ts.map +0 -1
  92. package/lib/components/blocks/NavBlock.d.ts +0 -24
  93. package/lib/components/blocks/NavBlock.d.ts.map +0 -1
  94. package/lib/components/blocks/POICard.d.ts +0 -47
  95. package/lib/components/blocks/POICard.d.ts.map +0 -1
  96. package/lib/components/blocks/POIFacts.d.ts +0 -12
  97. package/lib/components/blocks/POIFacts.d.ts.map +0 -1
  98. package/lib/components/blocks/PriceTag.d.ts +0 -19
  99. package/lib/components/blocks/PriceTag.d.ts.map +0 -1
  100. package/lib/components/blocks/VideoBlock.d.ts +0 -23
  101. package/lib/components/blocks/VideoBlock.d.ts.map +0 -1
  102. package/lib/components/buttons/Control.d.ts +0 -11
  103. package/lib/components/buttons/Control.d.ts.map +0 -1
  104. package/lib/components/debug/DebugLines.d.ts +0 -4
  105. package/lib/components/debug/DebugLines.d.ts.map +0 -1
  106. package/lib/components/examples/hooks/ArrayHookExample.d.ts +0 -4
  107. package/lib/components/examples/hooks/ArrayHookExample.d.ts.map +0 -1
  108. package/lib/components/examples/hooks/IntervalHookExample.d.ts +0 -4
  109. package/lib/components/examples/hooks/IntervalHookExample.d.ts.map +0 -1
  110. package/lib/components/fields/FilterField.d.ts +0 -12
  111. package/lib/components/fields/FilterField.d.ts.map +0 -1
  112. package/lib/components/fields/FormField.d.ts +0 -33
  113. package/lib/components/fields/FormField.d.ts.map +0 -1
  114. package/lib/components/fields/LocationField.d.ts +0 -49
  115. package/lib/components/fields/LocationField.d.ts.map +0 -1
  116. package/lib/components/sections/AlertList.d.ts +0 -30
  117. package/lib/components/sections/AlertList.d.ts.map +0 -1
  118. package/lib/components/sections/CardList.d.ts +0 -45
  119. package/lib/components/sections/CardList.d.ts.map +0 -1
  120. package/lib/components/sections/IndexList.d.ts +0 -38
  121. package/lib/components/sections/IndexList.d.ts.map +0 -1
  122. package/lib/components/sections/NavList.d.ts +0 -31
  123. package/lib/components/sections/NavList.d.ts.map +0 -1
  124. package/lib/components/sections/NewsletterForm.d.ts +0 -90
  125. package/lib/components/sections/NewsletterForm.d.ts.map +0 -1
  126. package/lib/components/sections/ParallaxBackground.d.ts +0 -13
  127. package/lib/components/sections/ParallaxBackground.d.ts.map +0 -1
  128. package/lib/components/sections/PriceList.d.ts +0 -32
  129. package/lib/components/sections/PriceList.d.ts.map +0 -1
  130. package/lib/components/sections/PriceTable.d.ts +0 -26
  131. package/lib/components/sections/PriceTable.d.ts.map +0 -1
  132. package/lib/components/sections/Quote.d.ts +0 -29
  133. package/lib/components/sections/Quote.d.ts.map +0 -1
  134. package/lib/components/sections/SimpleImage.d.ts +0 -11
  135. package/lib/components/sections/SimpleImage.d.ts.map +0 -1
  136. package/lib/components/sections/SocialWall.d.ts +0 -41
  137. package/lib/components/sections/SocialWall.d.ts.map +0 -1
  138. package/lib/components/sections/events/EventDetail.d.ts +0 -58
  139. package/lib/components/sections/events/EventDetail.d.ts.map +0 -1
  140. package/lib/components/sections/events/EventList.d.ts +0 -42
  141. package/lib/components/sections/events/EventList.d.ts.map +0 -1
  142. package/lib/components/sections/events/EventOverview.d.ts +0 -64
  143. package/lib/components/sections/events/EventOverview.d.ts.map +0 -1
  144. package/lib/components/sections/footer/Footer.d.ts +0 -65
  145. package/lib/components/sections/footer/Footer.d.ts.map +0 -1
  146. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts +0 -14
  147. package/lib/components/sections/footer/partials/FooterBottomBar.d.ts.map +0 -1
  148. package/lib/components/sections/footer/partials/FooterColumn.d.ts +0 -14
  149. package/lib/components/sections/footer/partials/FooterColumn.d.ts.map +0 -1
  150. package/lib/components/sections/footer/partials/index.d.ts +0 -3
  151. package/lib/components/sections/footer/partials/index.d.ts.map +0 -1
  152. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts +0 -12
  153. package/lib/components/sections/footer/skeletons/FooterArticle.d.ts.map +0 -1
  154. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts +0 -16
  155. package/lib/components/sections/footer/skeletons/FooterBottomGrid.d.ts.map +0 -1
  156. package/lib/components/sections/footer/skeletons/index.d.ts +0 -3
  157. package/lib/components/sections/footer/skeletons/index.d.ts.map +0 -1
  158. package/lib/components/sections/form/DynamicForm.d.ts +0 -212
  159. package/lib/components/sections/form/DynamicForm.d.ts.map +0 -1
  160. package/lib/components/sections/form/renderer/areaRenderer.d.ts +0 -5
  161. package/lib/components/sections/form/renderer/areaRenderer.d.ts.map +0 -1
  162. package/lib/components/sections/form/renderer/datepickerRenderer.d.ts +0 -5
  163. package/lib/components/sections/form/renderer/datepickerRenderer.d.ts.map +0 -1
  164. package/lib/components/sections/form/renderer/fieldGroupRenderer.d.ts +0 -5
  165. package/lib/components/sections/form/renderer/fieldGroupRenderer.d.ts.map +0 -1
  166. package/lib/components/sections/form/renderer/fieldRenderer.d.ts +0 -5
  167. package/lib/components/sections/form/renderer/fieldRenderer.d.ts.map +0 -1
  168. package/lib/components/sections/form/renderer/locationRenderer.d.ts +0 -6
  169. package/lib/components/sections/form/renderer/locationRenderer.d.ts.map +0 -1
  170. package/lib/components/sections/form/renderer/selectRenderer.d.ts +0 -5
  171. package/lib/components/sections/form/renderer/selectRenderer.d.ts.map +0 -1
  172. package/lib/components/sections/form/renderer/uploadRenderer.d.ts +0 -5
  173. package/lib/components/sections/form/renderer/uploadRenderer.d.ts.map +0 -1
  174. package/lib/components/sections/form/validators/areaValidator.d.ts +0 -4
  175. package/lib/components/sections/form/validators/areaValidator.d.ts.map +0 -1
  176. package/lib/components/sections/form/validators/datepickerValidator.d.ts +0 -4
  177. package/lib/components/sections/form/validators/datepickerValidator.d.ts.map +0 -1
  178. package/lib/components/sections/form/validators/fieldGroupValidator.d.ts +0 -4
  179. package/lib/components/sections/form/validators/fieldGroupValidator.d.ts.map +0 -1
  180. package/lib/components/sections/form/validators/fieldValidator.d.ts +0 -4
  181. package/lib/components/sections/form/validators/fieldValidator.d.ts.map +0 -1
  182. package/lib/components/sections/form/validators/locationValidator.d.ts +0 -5
  183. package/lib/components/sections/form/validators/locationValidator.d.ts.map +0 -1
  184. package/lib/components/sections/form/validators/selectValidator.d.ts +0 -4
  185. package/lib/components/sections/form/validators/selectValidator.d.ts.map +0 -1
  186. package/lib/components/sections/form/validators/uploadValidator.d.ts +0 -4
  187. package/lib/components/sections/form/validators/uploadValidator.d.ts.map +0 -1
  188. package/lib/components/sections/jobs/JobArticle.d.ts +0 -52
  189. package/lib/components/sections/jobs/JobArticle.d.ts.map +0 -1
  190. package/lib/components/sections/jobs/JobList.d.ts +0 -39
  191. package/lib/components/sections/jobs/JobList.d.ts.map +0 -1
  192. package/lib/components/sections/navigation/NavBar.d.ts +0 -45
  193. package/lib/components/sections/navigation/NavBar.d.ts.map +0 -1
  194. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts +0 -16
  195. package/lib/components/sections/navigation/menu/variations/MenuFlyout.d.ts.map +0 -1
  196. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts +0 -9
  197. package/lib/components/sections/navigation/menu/variations/MenuLarge.d.ts.map +0 -1
  198. package/lib/components/sections/navigation/partials/MenuFooter.d.ts +0 -12
  199. package/lib/components/sections/navigation/partials/MenuFooter.d.ts.map +0 -1
  200. package/lib/components/sections/navigation/partials/MenuHeader.d.ts +0 -16
  201. package/lib/components/sections/navigation/partials/MenuHeader.d.ts.map +0 -1
  202. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts +0 -10
  203. package/lib/components/sections/navigation/partials/NavBarBottom.d.ts.map +0 -1
  204. package/lib/components/sections/navigation/partials/NavBarMain.d.ts +0 -39
  205. package/lib/components/sections/navigation/partials/NavBarMain.d.ts.map +0 -1
  206. package/lib/components/sections/navigation/partials/NavBarTop.d.ts +0 -11
  207. package/lib/components/sections/navigation/partials/NavBarTop.d.ts.map +0 -1
  208. package/lib/components/sections/navigation/partials/index.d.ts +0 -6
  209. package/lib/components/sections/navigation/partials/index.d.ts.map +0 -1
  210. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts +0 -18
  211. package/lib/components/sections/navigation/skeletons/BarBreadCrumbs.d.ts.map +0 -1
  212. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts +0 -7
  213. package/lib/components/sections/navigation/skeletons/BarColumn.d.ts.map +0 -1
  214. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts +0 -14
  215. package/lib/components/sections/navigation/skeletons/BarLogo.d.ts.map +0 -1
  216. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts +0 -10
  217. package/lib/components/sections/navigation/skeletons/BarMenuToggle.d.ts.map +0 -1
  218. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts +0 -9
  219. package/lib/components/sections/navigation/skeletons/BarNavList.d.ts.map +0 -1
  220. package/lib/components/sections/navigation/skeletons/index.d.ts +0 -6
  221. package/lib/components/sections/navigation/skeletons/index.d.ts.map +0 -1
  222. package/lib/components/sections/pois/PointOfInterestDetail.d.ts +0 -55
  223. package/lib/components/sections/pois/PointOfInterestDetail.d.ts.map +0 -1
  224. package/lib/components/sections/pois/PointOfInterestMap.d.ts +0 -121
  225. package/lib/components/sections/pois/PointOfInterestMap.d.ts.map +0 -1
  226. package/lib/components/sections/pois/PointOfInterestOverview.d.ts +0 -38
  227. package/lib/components/sections/pois/PointOfInterestOverview.d.ts.map +0 -1
  228. package/lib/utils/arrays.d.ts +0 -3
  229. package/lib/utils/arrays.d.ts.map +0 -1
  230. package/lib/utils/clamp.d.ts +0 -2
  231. package/lib/utils/clamp.d.ts.map +0 -1
  232. package/lib/utils/concat.d.ts +0 -8
  233. package/lib/utils/concat.d.ts.map +0 -1
  234. package/lib/utils/dataURI.d.ts +0 -3
  235. package/lib/utils/dataURI.d.ts.map +0 -1
  236. package/lib/utils/filters.d.ts +0 -2
  237. package/lib/utils/filters.d.ts.map +0 -1
  238. package/lib/utils/fontLoading.d.ts +0 -14
  239. package/lib/utils/fontLoading.d.ts.map +0 -1
  240. package/lib/utils/formFieldText.d.ts +0 -3
  241. package/lib/utils/formFieldText.d.ts.map +0 -1
  242. package/lib/utils/getLinkIcon.d.ts +0 -3
  243. package/lib/utils/getLinkIcon.d.ts.map +0 -1
  244. package/lib/utils/menuHooks.d.ts +0 -18
  245. package/lib/utils/menuHooks.d.ts.map +0 -1
  246. package/lib/utils/navigation.d.ts +0 -20
  247. package/lib/utils/navigation.d.ts.map +0 -1
  248. package/lib/utils/structuredData.d.ts +0 -22
  249. package/lib/utils/structuredData.d.ts.map +0 -1
  250. package/lib/utils/types.d.ts +0 -8
  251. package/lib/utils/types.d.ts.map +0 -1
  252. package/lib/utils/urlParams.d.ts +0 -4
  253. package/lib/utils/urlParams.d.ts.map +0 -1
  254. package/lib/utils/useArray.d.ts +0 -13
  255. package/lib/utils/useArray.d.ts.map +0 -1
  256. package/lib/utils/useDebounce.d.ts +0 -6
  257. package/lib/utils/useDebounce.d.ts.map +0 -1
  258. package/lib/utils/useFontsLoaded.d.ts +0 -2
  259. package/lib/utils/useFontsLoaded.d.ts.map +0 -1
  260. package/lib/utils/useGeolocation.d.ts +0 -10
  261. package/lib/utils/useGeolocation.d.ts.map +0 -1
  262. package/lib/utils/useLazyInput.d.ts +0 -8
  263. package/lib/utils/useLazyInput.d.ts.map +0 -1
  264. package/lib/utils/useLeafletMap.d.ts +0 -55
  265. package/lib/utils/useLeafletMap.d.ts.map +0 -1
  266. package/lib/utils/useMounted.d.ts +0 -3
  267. package/lib/utils/useMounted.d.ts.map +0 -1
  268. package/lib/utils/usePageScroll.d.ts +0 -23
  269. package/lib/utils/usePageScroll.d.ts.map +0 -1
  270. package/lib/utils/useParams.d.ts +0 -6
  271. package/lib/utils/useParams.d.ts.map +0 -1
  272. package/lib/utils/usePrevious.d.ts +0 -3
  273. package/lib/utils/usePrevious.d.ts.map +0 -1
  274. package/lib/utils/useTimeout.d.ts +0 -6
  275. package/lib/utils/useTimeout.d.ts.map +0 -1
  276. package/lib/utils/useUpdateEffect.d.ts +0 -5
  277. package/lib/utils/useUpdateEffect.d.ts.map +0 -1
@@ -1,212 +0,0 @@
1
- import React from 'react';
2
- import { DefaultTheme } from 'styled-components';
3
- import { Field, FormikErrors } from 'formik';
4
- import { LocationData } from "../../fields/LocationField";
5
- export interface FormStructure {
6
- [key: string]: Field | Area | Select | Datepicker | Location | FieldGroup | FileUpload;
7
- }
8
- export interface FormField {
9
- isRequired?: boolean;
10
- }
11
- export interface Field extends FormField {
12
- type: 'Field';
13
- inputType?: 'text' | 'number' | 'email' | 'password' | 'tel';
14
- initialValue?: string;
15
- placeholder?: string;
16
- info?: string;
17
- validate?: (key: string, value: string, config: Field) => Promise<string>;
18
- errorMsg?: string;
19
- }
20
- export interface Area extends FormField {
21
- type: 'Area';
22
- initialValue?: string;
23
- placeholder?: string;
24
- info?: string;
25
- validate?: (key: string, value: string, config: Area) => Promise<string>;
26
- errorMsg?: string;
27
- }
28
- export interface Select extends FormField {
29
- type: 'Select';
30
- initialOption?: string;
31
- placeholder?: string;
32
- dropdownItems: {
33
- label?: string;
34
- value?: Record<string, string>;
35
- }[];
36
- info?: string;
37
- validate?: (key: string, selectedItem: string, config: Select) => Promise<string>;
38
- indicator?: (props: {
39
- isOpen: boolean;
40
- isDisabled?: boolean;
41
- }) => React.ReactNode;
42
- errorMsg?: string;
43
- }
44
- export interface Datepicker extends FormField {
45
- type: 'Datepicker';
46
- initialDates?: [Date, Date];
47
- placeholder?: string;
48
- minDate?: Date;
49
- maxDate?: Date;
50
- singleSelect?: boolean;
51
- info?: string;
52
- customIcon?: (props: {
53
- isInverted?: boolean;
54
- singleSelect?: boolean;
55
- }) => React.ReactNode;
56
- singleDateError?: string;
57
- multiDateError?: string;
58
- nextCtrlUrl?: React.ReactNode;
59
- prevCtrlUrl?: React.ReactNode;
60
- validate?: (key: string, value: [Date | null, Date | null], config: Datepicker) => Promise<string>;
61
- deleteAction?: (handleClick?: (e: React.SyntheticEvent<HTMLButtonElement, Event>) => void) => React.ReactNode;
62
- submitAction?: (handleClick?: (e: React.SyntheticEvent<HTMLButtonElement, Event>) => void) => React.ReactNode;
63
- }
64
- export interface Location extends FormField {
65
- type: 'Location';
66
- zoom?: number;
67
- initialMapCenter?: [number, number];
68
- placeholder?: string;
69
- info?: string;
70
- errorMsg?: string;
71
- customToggle?: (props: {
72
- isInverted?: boolean;
73
- viewState?: 'desc' | 'map';
74
- handleClick?: () => void;
75
- }) => React.ReactNode;
76
- customLocationControl?: (props: {
77
- isInverted?: boolean;
78
- handleClick?: () => void;
79
- }) => React.ReactNode;
80
- customResetControl?: (props: {
81
- isInverted?: boolean;
82
- handleClick?: () => void;
83
- }) => React.ReactNode;
84
- validate?: (key: string, value: LocationData, config: Location) => Promise<string>;
85
- toggleLabel?: string;
86
- trackLocationLabel?: string;
87
- }
88
- export interface FieldGroup extends FormField {
89
- type: 'FieldGroup';
90
- groupType: 'Radio' | 'Checkbox';
91
- fields: Array<{
92
- initialChecked?: boolean;
93
- text?: string;
94
- }>;
95
- validate?: (key: string, value: Array<string> | string, config: FieldGroup) => Promise<string>;
96
- errorMsg?: string;
97
- infoMsg?: string;
98
- }
99
- export interface FileUpload extends FormField {
100
- type: 'Upload';
101
- addBtnLabel?: string;
102
- removeBtnLabel?: string;
103
- info?: string;
104
- acceptedFormats?: string;
105
- customUploadIcon?: (isInverted?: boolean) => React.ReactNode;
106
- customDeleteIcon?: (isInverted?: boolean) => React.ReactNode;
107
- validate?: (key: string, value: Array<File>, config: FileUpload) => Promise<string>;
108
- errorMsg?: string;
109
- }
110
- export interface FormData {
111
- [key: string]: FormDataTypes | string;
112
- }
113
- export declare type FormDataTypes = string | boolean | Record<string, string> | Array<string> | [Date | null, Date | null] | Array<File> | LocationData;
114
- declare type FieldTypes = Field | Area | Select | Datepicker | Location | FieldGroup | FileUpload;
115
- export interface FieldGenerationProps<T extends FieldTypes> {
116
- field: T;
117
- value: FormDataTypes;
118
- error: string;
119
- info?: string;
120
- isTouched: boolean;
121
- key: string;
122
- isInverted: boolean;
123
- hasBg: boolean;
124
- theme: DefaultTheme;
125
- setField: (props: {
126
- key: string;
127
- value: any;
128
- shouldValidate?: boolean;
129
- }) => Promise<void | FormikErrors<FormData>>;
130
- validateField: (name: string) => Promise<string | undefined> | Promise<void>;
131
- setTouched: (field: string, touched?: boolean | undefined, shouldValidate?: boolean | undefined) => Promise<void> | Promise<FormikErrors<FormData>>;
132
- handleChange: {
133
- (e: React.ChangeEvent<any>): void;
134
- <T_1 = string | React.ChangeEvent<any>>(field: T_1): T_1 extends React.ChangeEvent<any> ? void : (e: string | React.ChangeEvent<any>) => void;
135
- };
136
- handleBlur: {
137
- (e: React.FocusEvent<any>): void;
138
- <T = any>(fieldOrEvent: T): T extends string ? (e: any) => void : void;
139
- };
140
- validateOnBlur?: boolean;
141
- validateOnChange?: boolean;
142
- }
143
- export declare type FormValues = FormData & {
144
- targetEmails: string[];
145
- subjectLine: string;
146
- };
147
- export declare const DynamicFormComponent: React.FC<{
148
- /** ID value for targeting section with anchor hashes */
149
- anchorId?: string | undefined;
150
- /** Field definitions */
151
- fields?: FormStructure | undefined;
152
- /** Callback on form submit */
153
- onSubmit?: ((values: FormValues) => Promise<void>) | undefined;
154
- /** Function to inject custom submit button */
155
- submitAction?: ((props: {
156
- isInverted?: boolean;
157
- handleSubmit?: () => Promise<any>;
158
- isDisabled?: boolean;
159
- }) => React.ReactNode) | undefined;
160
- /** List of target emails */
161
- targetEmails?: string[] | undefined;
162
- /** E-Mail subject */
163
- subjectLine?: string | undefined;
164
- /** Section background */
165
- bgMode?: "full" | "inverted" | undefined;
166
- /** Functions to inject custom field components (React nodes) */
167
- definitions?: {
168
- field?: ((props: FieldGenerationProps<Field>) => React.ReactNode) | undefined;
169
- area?: ((props: FieldGenerationProps<Area>) => React.ReactNode) | undefined;
170
- select?: ((props: FieldGenerationProps<Select>) => React.ReactNode) | undefined;
171
- datepicker?: ((props: FieldGenerationProps<Datepicker>) => React.ReactNode) | undefined;
172
- location?: ((props: FieldGenerationProps<Location>) => React.ReactNode) | undefined;
173
- checkbox?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
174
- radio?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
175
- upload?: ((props: FieldGenerationProps<FileUpload>) => React.ReactNode) | undefined;
176
- } | undefined;
177
- }>;
178
- declare const _default: React.FC<{
179
- /** ID value for targeting section with anchor hashes */
180
- anchorId?: string | undefined;
181
- /** Field definitions */
182
- fields?: FormStructure | undefined;
183
- /** Callback on form submit */
184
- onSubmit?: ((values: FormValues) => Promise<void>) | undefined;
185
- /** Function to inject custom submit button */
186
- submitAction?: ((props: {
187
- isInverted?: boolean | undefined;
188
- handleSubmit?: (() => Promise<any>) | undefined;
189
- isDisabled?: boolean | undefined;
190
- }) => React.ReactNode) | undefined;
191
- /** List of target emails */
192
- targetEmails?: string[] | undefined;
193
- /** E-Mail subject */
194
- subjectLine?: string | undefined;
195
- /** Section background */
196
- bgMode?: "full" | "inverted" | undefined;
197
- /** Functions to inject custom field components (React nodes) */
198
- definitions?: {
199
- field?: ((props: FieldGenerationProps<Field>) => React.ReactNode) | undefined;
200
- area?: ((props: FieldGenerationProps<Area>) => React.ReactNode) | undefined;
201
- select?: ((props: FieldGenerationProps<Select>) => React.ReactNode) | undefined;
202
- datepicker?: ((props: FieldGenerationProps<Datepicker>) => React.ReactNode) | undefined;
203
- location?: ((props: FieldGenerationProps<Location>) => React.ReactNode) | undefined;
204
- checkbox?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
205
- radio?: ((props: FieldGenerationProps<FieldGroup>) => React.ReactNode) | undefined;
206
- upload?: ((props: FieldGenerationProps<FileUpload>) => React.ReactNode) | undefined;
207
- } | undefined;
208
- } & {
209
- theme?: import("../../../utils/types").RecursivePartial<DefaultTheme> | undefined;
210
- }>;
211
- export default _default;
212
- //# sourceMappingURL=DynamicForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DynamicForm.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/form/DynamicForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAClE,OAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAKzD,OAAO,EAAE,KAAK,EAAE,YAAY,EAAa,MAAM,QAAQ,CAAC;AAKxD,OAAO,EAAE,YAAY,EAAE,mCAAwC;AA0E/D,MAAM,WAAW,aAAa;IAC1B,CAAC,GAAG,EAAE,MAAM,GAC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C,KAAK,MAAM,SAAS;4BAClD,qBAAqB,UAAU,CAAC,KAAK,MAAM,SAAS;yBACvD,qBAAqB,UAAU,CAAC,KAAK,MAAM,SAAS;0BACnD,qBAAqB,UAAU,CAAC,KAAK,MAAM,SAAS;;EA2Z9B,CAAC;;IA/b5C,wDAAwD;;IAGxD,wBAAwB;;IAGxB,8BAA8B;;IAG9B,8CAA8C;;;;;;IAO9C,4BAA4B;;IAG5B,qBAAqB;;IAGrB,yBAAyB;;IAGzB,gEAAgE;;;;;;;;;;;;;;AAuapE,wBAAyC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { Area, FieldGenerationProps } from '../DynamicForm';
3
- declare const renderAreaField: ({ field, key, value, error, isTouched, isInverted, handleChange, handleBlur, }: FieldGenerationProps<Area>) => JSX.Element;
4
- export default renderAreaField;
5
- //# sourceMappingURL=areaRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"areaRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/areaRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE5D,QAAA,MAAM,eAAe,mFASlB,qBAAqB,IAAI,CAAC,gBAc5B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { Datepicker, FieldGenerationProps } from '../DynamicForm';
3
- declare const renderDatepickerField: ({ key, field, value, error, isTouched, isInverted, setField, setTouched, validateField, }: FieldGenerationProps<Datepicker>) => JSX.Element;
4
- export default renderDatepickerField;
5
- //# sourceMappingURL=datepickerRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datepickerRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/datepickerRenderer.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAIlE,QAAA,MAAM,qBAAqB,8FAUxB,qBAAqB,UAAU,CAAC,gBAiDlC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { FieldGenerationProps, FieldGroup } from '../DynamicForm';
3
- export declare const renderRadioGroupField: ({ key, field, value, error, isTouched, isInverted, info, setField, }: FieldGenerationProps<FieldGroup>) => JSX.Element;
4
- export declare const renderCheckboxGroupField: ({ field, key, isInverted, value, isTouched, error, info, setTouched, validateField, setField, }: FieldGenerationProps<FieldGroup>) => JSX.Element;
5
- //# sourceMappingURL=fieldGroupRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fieldGroupRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/fieldGroupRenderer.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAsBlE,eAAO,MAAM,qBAAqB,yEAS/B,qBAAqB,UAAU,CAAC,gBA4ClC,CAAC;AAEF,eAAO,MAAM,wBAAwB,oGAWlC,qBAAqB,UAAU,CAAC,gBA2DlC,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { Field, FieldGenerationProps } from '../DynamicForm';
3
- declare const renderField: ({ field, key, value, error, isTouched, handleChange, handleBlur, isInverted, }: FieldGenerationProps<Field>) => JSX.Element;
4
- export default renderField;
5
- //# sourceMappingURL=fieldRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fieldRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/fieldRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE7D,QAAA,MAAM,WAAW,mFASd,qBAAqB,KAAK,CAAC,gBAe7B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { FieldGenerationProps } from '../DynamicForm';
3
- import { Location } from '../DynamicForm';
4
- declare const renderLocationField: ({ key, field, value, error, isTouched, isInverted, setField, }: FieldGenerationProps<Location>) => JSX.Element;
5
- export default renderLocationField;
6
- //# sourceMappingURL=locationRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"locationRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/locationRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,mBAAmB,mEAQtB,qBAAqB,QAAQ,CAAC,gBAuChC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { Select, FieldGenerationProps } from '../DynamicForm';
3
- declare const renderSelectField: ({ field, key, value, error, isTouched, isInverted, setField, setTouched, validateField, validateOnChange, validateOnBlur, }: FieldGenerationProps<Select>) => JSX.Element;
4
- export default renderSelectField;
5
- //# sourceMappingURL=selectRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"selectRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/selectRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE9D,QAAA,MAAM,iBAAiB,gIAYpB,qBAAqB,MAAM,CAAC,gBA4B9B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { FileUpload, FieldGenerationProps } from '../DynamicForm';
3
- declare const renderUploadField: ({ field, key, error, isTouched, isInverted, setField, }: FieldGenerationProps<FileUpload>) => JSX.Element;
4
- export default renderUploadField;
5
- //# sourceMappingURL=uploadRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uploadRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/renderer/uploadRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAElE,QAAA,MAAM,iBAAiB,4DAOpB,qBAAqB,UAAU,CAAC,gBAiBlC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { Area } from '../DynamicForm';
2
- declare const areaValidator: (key: string, value: string, config: Area) => Promise<string>;
3
- export default areaValidator;
4
- //# sourceMappingURL=areaValidator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"areaValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/areaValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAEtC,QAAA,MAAM,aAAa,QAAe,MAAM,SAAS,MAAM,UAAU,IAAI,oBAQpE,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,4 +0,0 @@
1
- import { Datepicker } from '../DynamicForm';
2
- declare const datepickerValidator: (key: string, value: [Date | null, Date | null], config: Datepicker) => Promise<string>;
3
- export default datepickerValidator;
4
- //# sourceMappingURL=datepickerValidator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"datepickerValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/datepickerValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,mBAAmB,QAChB,MAAM,SACJ,CAAC,IAAI,GAAG,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC,UACzB,UAAU,oBAgBrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { FieldGroup } from '../DynamicForm';
2
- declare const fieldGroupValidator: (key: string, value: Array<string> | string, config: FieldGroup) => Promise<string>;
3
- export default fieldGroupValidator;
4
- //# sourceMappingURL=fieldGroupValidator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fieldGroupValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/fieldGroupValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,mBAAmB,QAChB,MAAM,SACJ,MAAM,MAAM,CAAC,GAAG,MAAM,UACrB,UAAU,oBAgBrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { Field } from '../DynamicForm';
2
- declare const fieldValidator: (key: string, value: string, config: Field) => Promise<string>;
3
- export default fieldValidator;
4
- //# sourceMappingURL=fieldValidator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fieldValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/fieldValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,QAAA,MAAM,cAAc,QAAe,MAAM,SAAS,MAAM,UAAU,KAAK,oBA8BtE,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,5 +0,0 @@
1
- import { LocationData } from "../../../fields/LocationField";
2
- import { Location } from '../DynamicForm';
3
- declare const locationValidator: (key: string, value: LocationData, config: Location) => Promise<string>;
4
- export default locationValidator;
5
- //# sourceMappingURL=locationValidator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"locationValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/locationValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,sCAAwC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,iBAAiB,QACd,MAAM,SACJ,YAAY,UACX,QAAQ,oBAcnB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { Select } from '../DynamicForm';
2
- declare const selectValidator: (key: string, selectedItem: string, config: Select) => Promise<string>;
3
- export default selectValidator;
4
- //# sourceMappingURL=selectValidator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"selectValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/selectValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,QAAA,MAAM,eAAe,QACZ,MAAM,gBACG,MAAM,UACZ,MAAM,oBASjB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,4 +0,0 @@
1
- import { FileUpload } from '../DynamicForm';
2
- declare const uploadValidator: (key: string, files: Array<File>, config: FileUpload) => Promise<string>;
3
- export default uploadValidator;
4
- //# sourceMappingURL=uploadValidator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uploadValidator.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/form/validators/uploadValidator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,eAAe,QACZ,MAAM,SACJ,MAAM,IAAI,CAAC,UACV,UAAU,oBASrB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,52 +0,0 @@
1
- import { JobCardProps } from "../../blocks/JobCard";
2
- import React from 'react';
3
- export interface OrganizationData {
4
- name?: string;
5
- url?: string;
6
- logo?: string;
7
- telephone?: string;
8
- email?: string;
9
- address?: {
10
- streetAddress?: string;
11
- addressLocality?: string;
12
- postalCode?: string;
13
- addressCountry?: string;
14
- };
15
- }
16
- export declare type JobArticleProps = Omit<JobCardProps, 'isInverted' | 'hasBackground' | 'link'> & {
17
- /** ID value for targeting section with anchor hashes */
18
- anchorId?: string;
19
- /** Text that describes the job (richtext) */
20
- description?: string;
21
- /** The hiring organization (important for structured data) */
22
- organization?: OrganizationData;
23
- /** The date of posting the job tender (important for structured data) */
24
- datePosted?: Date;
25
- /** Function to inject primary action */
26
- primaryAction?: (isInverted?: boolean) => React.ReactNode;
27
- /** Function to inject secondary action */
28
- secondaryAction?: (isInverted?: boolean) => React.ReactNode;
29
- /** Section background */
30
- bgMode?: 'full' | 'inverted';
31
- };
32
- export declare const JobArticleComponent: React.FC<JobArticleProps>;
33
- declare const _default: React.FC<Omit<JobCardProps, "link" | "isInverted" | "hasBackground"> & {
34
- /** ID value for targeting section with anchor hashes */
35
- anchorId?: string | undefined;
36
- /** Text that describes the job (richtext) */
37
- description?: string | undefined;
38
- /** The hiring organization (important for structured data) */
39
- organization?: OrganizationData | undefined;
40
- /** The date of posting the job tender (important for structured data) */
41
- datePosted?: Date | undefined;
42
- /** Function to inject primary action */
43
- primaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
44
- /** Function to inject secondary action */
45
- secondaryAction?: ((isInverted?: boolean | undefined) => React.ReactNode) | undefined;
46
- /** Section background */
47
- bgMode?: "full" | "inverted" | undefined;
48
- } & {
49
- theme?: import("../../../utils/types").RecursivePartial<import("styled-components").DefaultTheme> | undefined;
50
- }>;
51
- export default _default;
52
- //# sourceMappingURL=JobArticle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JobArticle.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/jobs/JobArticle.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,6BAAkC;AAGzD,OAAO,KAAK,MAAM,OAAO,CAAC;AAwD1B,MAAM,WAAW,gBAAgB;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QACN,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,cAAc,CAAC,EAAE,MAAM,CAAC;KAC3B,CAAC;CACL;AAED,oBAAY,eAAe,GAAG,IAAI,CAC9B,YAAY,EACZ,YAAY,GAAG,eAAe,GAAG,MAAM,CAC1C,GAAG;IACA,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAEhC,yEAAyE;IACzE,UAAU,CAAC,EAAE,IAAI,CAAC;IAElB,wCAAwC;IACxC,aAAa,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAE1D,0CAA0C;IAC1C,eAAe,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAE5D,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;CAChC,CAAC;AA8HF,eAAO,MAAM,mBAAmB,2BAAa,CAAC;;IAlJ1C,wDAAwD;;IAGxD,6CAA6C;;IAG7C,8DAA8D;;IAG9D,yEAAyE;;IAGzE,wCAAwC;;IAGxC,0CAA0C;;IAG1C,yBAAyB;;;;;AAiI7B,wBAAwC"}
@@ -1,39 +0,0 @@
1
- import React from 'react';
2
- import { JobCardProps } from "../../blocks/JobCard";
3
- export declare type JobItem = Omit<JobCardProps, 'isInverted' | 'hasBackground' | 'modelIcon' | 'locationIcon' | 'totalLocations' | 'allLocationsLabel'>;
4
- export declare const JobListComponent: React.FC<{
5
- /** ID value for targeting section with anchor hashes */
6
- anchorId?: string | undefined;
7
- /** Array of job item settings */
8
- jobs?: JobItem[] | undefined;
9
- /** Total amount all locations */
10
- totalJobLocations?: number | undefined;
11
- /** Label to show if all location selected */
12
- allJobLocationsLabel?: string | undefined;
13
- /** Section background */
14
- bgMode?: "full" | "inverted" | undefined;
15
- /** Injection function for job time model icon */
16
- modelIcon?: (() => React.ReactNode) | undefined;
17
- /** Injection function for job location icon */
18
- locationIcon?: (() => React.ReactNode) | undefined;
19
- }>;
20
- declare const _default: React.FC<{
21
- /** ID value for targeting section with anchor hashes */
22
- anchorId?: string | undefined;
23
- /** Array of job item settings */
24
- jobs?: JobItem[] | undefined;
25
- /** Total amount all locations */
26
- totalJobLocations?: number | undefined;
27
- /** Label to show if all location selected */
28
- allJobLocationsLabel?: string | undefined;
29
- /** Section background */
30
- bgMode?: "full" | "inverted" | undefined;
31
- /** Injection function for job time model icon */
32
- modelIcon?: (() => React.ReactNode) | undefined;
33
- /** Injection function for job location icon */
34
- locationIcon?: (() => React.ReactNode) | undefined;
35
- } & {
36
- theme?: import("../../../utils/types").RecursivePartial<import("styled-components").DefaultTheme> | undefined;
37
- }>;
38
- export default _default;
39
- //# sourceMappingURL=JobList.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JobList.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/jobs/JobList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAgB,EAAE,YAAY,EAAE,6BAAkC;AA2ClE,oBAAY,OAAO,GAAG,IAAI,CACtB,YAAY,EACV,YAAY,GACZ,eAAe,GACf,WAAW,GACX,cAAc,GACd,gBAAgB,GAChB,mBAAmB,CACxB,CAAC;AAmFF,eAAO,MAAM,gBAAgB;IAhFzB,wDAAwD;;IAGxD,iCAAiC;;IAGjC,iCAAiC;;IAGjC,6CAA6C;;IAG7C,yBAAyB;;IAGzB,iDAAiD;uBAC/B,MAAM,SAAS;IAEjC,+CAA+C;0BAC1B,MAAM,SAAS;EA6DD,CAAC;;IAhFpC,wDAAwD;;IAGxD,iCAAiC;;IAGjC,iCAAiC;;IAGjC,6CAA6C;;IAG7C,yBAAyB;;IAGzB,iDAAiD;;IAGjD,+CAA+C;;;;;AA+DnD,wBAAqC"}
@@ -1,45 +0,0 @@
1
- import React, { FC } from 'react';
2
- import { DefaultTheme } from 'styled-components';
3
- export declare const getTopHeights: (theme: DefaultTheme, size?: NavBarSize | undefined) => [number, number];
4
- export declare const hasTopBar: (theme: DefaultTheme) => boolean;
5
- export declare const getMainHeights: (theme: DefaultTheme, size?: NavBarSize | undefined) => [number, number];
6
- export declare const getBottomHeights: (theme: DefaultTheme, size?: NavBarSize | undefined) => [number, number];
7
- export declare const hasBottomBar: (theme: DefaultTheme) => boolean;
8
- export declare type ExcludeType = 'top' | 'main' | 'bottom';
9
- /**
10
- * Get full height of navigation bar
11
- * @param theme Theme object
12
- * @param size Navigation bar size
13
- * @param exclude Exclude parts of the navbar for height calculation
14
- * @returns [mobile, desktop]
15
- */
16
- export declare const getFullHeight: (theme: DefaultTheme, size?: NavBarSize | undefined, exclude?: ExcludeType[] | undefined) => [number, number];
17
- export declare type NavBarSize = 'small' | 'large';
18
- export interface BarStates {
19
- size: NavBarSize;
20
- isOpen?: boolean;
21
- isSticky?: boolean;
22
- pageFlow?: PageFlow;
23
- }
24
- export declare type PageFlow = 'overContent' | 'beforeContent';
25
- export interface NavBarProps {
26
- size?: NavBarSize;
27
- isOpen?: boolean;
28
- isSticky?: boolean;
29
- isAnimated?: boolean;
30
- clampWidth?: 'content' | 'full';
31
- pageFlow?: PageFlow;
32
- topBg?: string;
33
- mainBg?: string;
34
- bottomBg?: string;
35
- /** Custom background value for NavBar with pageFlow === overContent and large size */
36
- onContentBg?: string;
37
- topBar?: ((props: BarStates) => React.ReactNode) | null;
38
- mainBar?: ((props: BarStates) => React.ReactNode) | null;
39
- bottomBar?: ((props: BarStates) => React.ReactNode) | null;
40
- }
41
- declare const NavBar: FC<NavBarProps & {
42
- className?: string;
43
- }>;
44
- export default NavBar;
45
- //# sourceMappingURL=NavBar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../src/components/sections/navigation/NavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,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AAM,CAAC;IAClB,uFAAuF;IACvF,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;IACxD,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;IACzD,SAAS,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;CAC9D;AAED,QAAA,MAAM,MAAM,EAAE,EAAE,CACZ,WAAW,GAAG;IACV,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CA6JJ,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,16 +0,0 @@
1
- import React, { FC } from 'react';
2
- import { DefaultTheme } from 'styled-components';
3
- import { NavBarSize } from '../../NavBar';
4
- import { MenuBaseProps } from '../Menu';
5
- export declare const getMenuHeaderHeights: (theme: DefaultTheme, size?: NavBarSize | undefined) => [number, number];
6
- export declare const hasMenuHeader: (theme: DefaultTheme) => boolean;
7
- export interface FlyoutMenuProps {
8
- type: 'flyout';
9
- collapseIcon?: (props: {
10
- isCollapsed?: boolean;
11
- }) => React.ReactNode;
12
- subNavTitle?: string;
13
- }
14
- declare const MenuFlyout: FC<MenuBaseProps & FlyoutMenuProps>;
15
- export default MenuFlyout;
16
- //# sourceMappingURL=MenuFlyout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuFlyout.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/navigation/menu/variations/MenuFlyout.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EACV,EAAE,EAML,MAAM,OAAO,CAAC;AACf,OAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAczD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAW,MAAM,SAAS,CAAC;AAkGjD,eAAO,MAAM,oBAAoB,UACtB,YAAY,oCAEpB,CAAC,MAAM,EAAE,MAAM,CAWjB,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,YAAY,YAUhD,CAAC;AAufF,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACrE,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAKD,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,aAAa,GAAG,eAAe,CAwNnD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
- import { MenuBaseProps } from '../Menu';
3
- export interface LargeMenuProps {
4
- type: 'large';
5
- columns?: number;
6
- }
7
- declare const MenuLarge: FC<MenuBaseProps & LargeMenuProps>;
8
- export default MenuLarge;
9
- //# sourceMappingURL=MenuLarge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuLarge.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/navigation/menu/variations/MenuLarge.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAIxC,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,SAAS,EAAE,EAAE,CAAC,aAAa,GAAG,cAAc,CAUjD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,12 +0,0 @@
1
- import { FC } from 'react';
2
- import { NavMenuStates } from '../Navigation';
3
- import { SocialItem } from "../../../blocks/SocialList";
4
- import { Language } from "../../../blocks/LanguageSwitcher";
5
- declare const MenuFooter: FC<{
6
- isInverted?: boolean;
7
- langs?: Language[];
8
- socials?: SocialItem[];
9
- menuStates?: NavMenuStates;
10
- }>;
11
- export default MenuFooter;
12
- //# sourceMappingURL=MenuFooter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuFooter.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/navigation/partials/MenuFooter.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAmB,EAAE,UAAU,EAAE,mCAAqC;AACtE,OAAyB,EAAE,QAAQ,EAAE,yCAA2C;AAehF,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,aAAa,CAAC;CAC9B,CAqBA,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,16 +0,0 @@
1
- import React, { FC } from 'react';
2
- import { NavMenuStates } from '../Navigation';
3
- import { Language } from "../../../blocks/LanguageSwitcher";
4
- declare const MenuHeader: FC<{
5
- isInverted?: boolean;
6
- menuStates?: NavMenuStates;
7
- customToggle?: (props: {
8
- isInverted?: boolean;
9
- }) => React.ReactNode;
10
- langs?: Language[];
11
- action?: (props: {
12
- isInverted?: boolean;
13
- } & NavMenuStates) => React.ReactNode;
14
- }>;
15
- export default MenuHeader;
16
- //# sourceMappingURL=MenuHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/sections/navigation/partials/MenuHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAyB,EAAE,QAAQ,EAAE,yCAA2C;AAiBhF,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IACpE,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,CACL,KAAK,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,aAAa,KAC9C,KAAK,CAAC,SAAS,CAAC;CACxB,CA2BA,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,10 +0,0 @@
1
- import { FC } from 'react';
2
- import { NavBarStates } from '../Navigation';
3
- import { LinkProps } from "../../../typography/Link";
4
- declare const NavBarBottom: FC<{
5
- rootLink?: LinkProps;
6
- rootLabel?: string;
7
- navStates: NavBarStates;
8
- }>;
9
- export default NavBarBottom;
10
- //# sourceMappingURL=NavBarBottom.d.ts.map