@arquimedes.co/eureka-forms 2.0.99-test → 3.0.0-refactor

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 (339) hide show
  1. package/dist/App/App.js +21 -46
  2. package/dist/App/AppFunctions.js +177 -328
  3. package/dist/App/AppFunctions.test.js +638 -0
  4. package/dist/App/AppHooks.js +127 -223
  5. package/dist/App/AppHooks.test.js +154 -0
  6. package/dist/Contexts/CustomContext.js +1 -1
  7. package/dist/Contexts/FormContext.js +3 -2
  8. package/dist/Contexts/SectionContext.js +1 -1
  9. package/dist/Form/ConfirmationDialog/ConfirmationDialog.js +43 -62
  10. package/dist/Form/Form.js +75 -160
  11. package/dist/Form/FormFunctions.js +64 -114
  12. package/dist/Form/FormFunctions.test.js +454 -0
  13. package/dist/Form/FormHooks.js +14 -21
  14. package/dist/Form/FormTypes/ColumnForm/ColumnForm.js +34 -105
  15. package/dist/Form/FormTypes/StepperForm/StepperForm.js +48 -110
  16. package/dist/Form/Section/MaterialSection/MaterialSection.js +10 -23
  17. package/dist/Form/Section/MaterialSection/MaterialSection.module.css +0 -2
  18. package/dist/Form/Section/Section.js +4 -15
  19. package/dist/Form/Terms/Term/MaterialTerm/MaterialTerm.js +30 -65
  20. package/dist/Form/Terms/Term/Term.js +2 -13
  21. package/dist/Form/Terms/Terms.js +11 -27
  22. package/dist/FormSteps/@Construction/CBRElementStep/CBRElementStep.js +36 -106
  23. package/dist/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.js +2 -13
  24. package/dist/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.js +12 -40
  25. package/dist/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.js +57 -77
  26. package/dist/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.js +46 -111
  27. package/dist/FormSteps/AYFStepMapper.js +63 -127
  28. package/dist/FormSteps/ApiSelectorStep/ApiSelectorStep.js +2 -13
  29. package/dist/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +63 -165
  30. package/dist/FormSteps/CBRStepMapper.js +61 -152
  31. package/dist/FormSteps/CheckBoxStep/CheckBoxStep.js +2 -13
  32. package/dist/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.js +19 -37
  33. package/dist/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.js +2 -13
  34. package/dist/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.js +47 -80
  35. package/dist/FormSteps/CollapsibleStep/CollapsibleStep.js +3 -26
  36. package/dist/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.js +33 -61
  37. package/dist/FormSteps/CustomStep.js +17 -31
  38. package/dist/FormSteps/DatePickerStep/DatePickerStep.js +2 -13
  39. package/dist/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.js +7 -20
  40. package/dist/FormSteps/EntityValueStep/EntityValuePickerStep.js +2 -13
  41. package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValueDialog/MaterialEntityValueDialog.js +16 -32
  42. package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +94 -180
  43. package/dist/FormSteps/FileUploadStep/FileUploadStep.js +2 -13
  44. package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.js +33 -95
  45. package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/FileFunctions.js +3 -0
  46. package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +86 -180
  47. package/dist/FormSteps/MapperStep/MapperStep.js +2 -13
  48. package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.js +16 -38
  49. package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.js +21 -31
  50. package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/PagedMapperElement/PagedMapperElement.js +89 -175
  51. package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.js +20 -47
  52. package/dist/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.js +81 -117
  53. package/dist/FormSteps/PhoneInputStep/MaterialTextInputStep/MaterialPhoneInputStep.js +15 -33
  54. package/dist/FormSteps/PhoneInputStep/PhoneInputStep.js +2 -13
  55. package/dist/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.js +17 -31
  56. package/dist/FormSteps/RatingStep/RatingStep.js +2 -13
  57. package/dist/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.js +35 -61
  58. package/dist/FormSteps/SelectorStep/SelectorStep.js +2 -13
  59. package/dist/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.js +2 -3
  60. package/dist/FormSteps/SeparatorStep/SeparatorStep.js +2 -13
  61. package/dist/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.js +77 -142
  62. package/dist/FormSteps/SmartSelectStep/SmartSelectStep.js +2 -13
  63. package/dist/FormSteps/Step.js +29 -58
  64. package/dist/FormSteps/StepFunctions.js +149 -204
  65. package/dist/FormSteps/StepFunctions.test.js +695 -0
  66. package/dist/FormSteps/StepHooks.js +94 -146
  67. package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.js +38 -74
  68. package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.js +12 -28
  69. package/dist/FormSteps/TextAreaStep/TextAreaStep.js +3 -14
  70. package/dist/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.js +12 -30
  71. package/dist/FormSteps/TextInputStep/TextInputStep.js +2 -13
  72. package/dist/FormSteps/TimePickerStep/MaterialTimePickerStep/MaterialTimePickerStep.js +9 -26
  73. package/dist/FormSteps/TimePickerStep/TimePickerStep.js +2 -13
  74. package/dist/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.js +13 -26
  75. package/dist/FormSteps/TitleStep/TitleStep.js +2 -13
  76. package/dist/FormSteps/Utils/@StepFiller/StepFiller.js +14 -26
  77. package/dist/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.js +6 -18
  78. package/dist/Icons/ArrowLeftIcon.js +6 -0
  79. package/dist/Icons/ArrowRightIcon.js +6 -0
  80. package/dist/Icons/CalendarIcon.js +3 -14
  81. package/dist/Icons/CheckCircleIcon.js +6 -0
  82. package/dist/Icons/CheckboxCheckedIcon.js +6 -0
  83. package/dist/Icons/CheckboxUncheckedIcon.js +6 -0
  84. package/dist/Icons/ClockIcon.js +6 -0
  85. package/dist/Icons/CloseIcon.js +6 -0
  86. package/dist/Icons/Construction/LeakIcon.js +3 -14
  87. package/dist/Icons/Construction/ProjectIcon.js +3 -14
  88. package/dist/Icons/Construction/PropertyIcon.js +3 -14
  89. package/dist/Icons/Construction/SpaceIcon.js +3 -14
  90. package/dist/Icons/DeleteIcon.js +6 -0
  91. package/dist/Icons/DocumentIcon.js +3 -14
  92. package/dist/Icons/Entities/CheckListIcon.js +3 -14
  93. package/dist/Icons/Entities/GenericEntityIcon.js +4 -15
  94. package/dist/Icons/Entities/HandshakeIcon.js +4 -15
  95. package/dist/Icons/Entities/SupplierIcon.js +4 -15
  96. package/dist/Icons/ErkIcon.module.css +9 -0
  97. package/dist/Icons/ErrorIcon.js +6 -0
  98. package/dist/Icons/ExpandLessIcon.js +6 -0
  99. package/dist/Icons/ExpandMoreIcon.js +6 -0
  100. package/dist/Icons/FileIcon.js +6 -0
  101. package/dist/Icons/InfoIcon.js +6 -0
  102. package/dist/Icons/LocationIcon.js +3 -14
  103. package/dist/Icons/PersonIcon.js +4 -15
  104. package/dist/Icons/Ratings/DislikeIcon.js +6 -0
  105. package/dist/Icons/Ratings/DissatisfiedIcon.js +6 -0
  106. package/dist/Icons/Ratings/LikeIcon.js +6 -0
  107. package/dist/Icons/Ratings/SatisfiedIcon.js +6 -0
  108. package/dist/Icons/Ratings/StarIcon.js +6 -0
  109. package/dist/Icons/Ratings/VeryDissatisfiedIcon.js +6 -0
  110. package/dist/Icons/Ratings/VerySatisfiedIcon.js +6 -0
  111. package/dist/Icons/WarningIcon.js +6 -0
  112. package/dist/Init.js +2 -0
  113. package/dist/Services/FileService.js +29 -86
  114. package/dist/Services/FormService.js +11 -56
  115. package/dist/Services/OrganizationService.js +11 -62
  116. package/dist/Shared/CustomBtn/CustomBtn.js +25 -88
  117. package/dist/Shared/ErkButton/ErkButton.js +31 -0
  118. package/dist/Shared/{RoundedButton/RoundedButton.stories.js → ErkButton/ErkButton.stories.js} +6 -6
  119. package/dist/Shared/ErkCheckbox/ErkCheckBox.js +30 -0
  120. package/dist/Shared/ErkCheckbox/ErkCheckBox.stories.js +37 -0
  121. package/dist/Shared/ErkDatePicker/ErkDatePicker.js +210 -0
  122. package/dist/Shared/ErkDatePicker/ErkDatePicker.stories.js +103 -0
  123. package/dist/Shared/ErkPhoneInput/EkrPhoneInput.js +83 -0
  124. package/dist/Shared/ErkSelect/ErkSelect.js +90 -0
  125. package/dist/Shared/ErkSelect/ErkSelect.stories.js +64 -0
  126. package/dist/Shared/ErkSmartSelect/ErkSmartSelect.js +56 -0
  127. package/dist/Shared/ErkSmartSelect/ErkSmartSelect.stories.js +167 -0
  128. package/dist/Shared/ErkTextField/ErkTextField.js +111 -0
  129. package/dist/Shared/ErkTextField/ErkTextField.stories.js +105 -0
  130. package/dist/Shared/ErkTimePicker/ErkTimePicker.js +131 -0
  131. package/dist/Shared/InputIcon/InputIcon.js +25 -48
  132. package/dist/Shared/Loader/Loader.js +6 -18
  133. package/dist/Shared/Navbar/Navbar.js +2 -14
  134. package/dist/Shared/Navbar/Navbar.stories.js +2 -2
  135. package/dist/Shared/Rating/Rating.js +4 -27
  136. package/dist/Shared/Rating/Rating.stories.js +13 -19
  137. package/dist/Shared/Rating/Ratings/LikeRating.js +19 -33
  138. package/dist/Shared/Rating/Ratings/SatisfactionRating.js +27 -47
  139. package/dist/Shared/Rating/Ratings/ScaleRating.js +23 -54
  140. package/dist/Shared/Toggle/Toggle.js +11 -34
  141. package/dist/States/GlobalSlice.js +6 -17
  142. package/dist/States/SiteSlice.js +58 -76
  143. package/dist/States/WidthStatsSlice.js +8 -9
  144. package/dist/Utils/AxiosAPI.js +3 -3
  145. package/dist/Utils/AxiosWidget.js +4 -4
  146. package/dist/Utils/CBRFunctions.js +29 -30
  147. package/dist/Utils/DraftFunctions.js +102 -143
  148. package/dist/Utils/FormStepFunctions.js +27 -45
  149. package/dist/Utils/LocaleUtils.js +12 -0
  150. package/dist/Utils/MaterialProviders.js +43 -28
  151. package/dist/Utils/MuiClassnameSetup.js +3 -0
  152. package/dist/Utils/PhoneFunctions.js +5 -5
  153. package/dist/Utils/TestUtils.js +22 -51
  154. package/dist/Utils/store.js +10 -65
  155. package/dist/Widget.js +15 -26
  156. package/dist/constants/Files/FileExtensions.js +3 -3
  157. package/dist/constants/Files/FileMaxSize.js +1 -1
  158. package/dist/constants/InternalFormStyle.js +1 -1
  159. package/dist/hooks.js +14 -16
  160. package/dist/index.css +4 -0
  161. package/dist/main.js +22 -0
  162. package/package.json +108 -124
  163. package/dist/@Types/@Types.d.ts +0 -2
  164. package/dist/@Types/AYFFormStep.d.ts +0 -19
  165. package/dist/@Types/Branding.d.ts +0 -13
  166. package/dist/@Types/CBRFormStep.d.ts +0 -74
  167. package/dist/@Types/Condition.d.ts +0 -143
  168. package/dist/@Types/Draft/Draft.d.ts +0 -12
  169. package/dist/@Types/Draft/DraftEntityData.d.ts +0 -54
  170. package/dist/@Types/Entity.d.ts +0 -36
  171. package/dist/@Types/Form.d.ts +0 -75
  172. package/dist/@Types/FormStep.d.ts +0 -219
  173. package/dist/@Types/GenericFormSteps.d.ts +0 -84
  174. package/dist/@Types/MapperElement.d.ts +0 -8
  175. package/dist/@Types/Organization.d.ts +0 -11
  176. package/dist/@Types/Time.d.ts +0 -6
  177. package/dist/@Types/index.d.ts +0 -1
  178. package/dist/App/App.d.ts +0 -59
  179. package/dist/App/AppFunctions.d.ts +0 -23
  180. package/dist/App/AppHooks.d.ts +0 -10
  181. package/dist/Contexts/CustomContext.d.ts +0 -12
  182. package/dist/Contexts/FormContext.d.ts +0 -6
  183. package/dist/Contexts/SectionContext.d.ts +0 -3
  184. package/dist/Form/ConfirmationDialog/ConfirmationDialog.d.ts +0 -12
  185. package/dist/Form/Form.d.ts +0 -40
  186. package/dist/Form/FormFunctions.d.ts +0 -12
  187. package/dist/Form/FormHooks.d.ts +0 -3
  188. package/dist/Form/FormTypes/ColumnForm/ColumnForm.d.ts +0 -4
  189. package/dist/Form/FormTypes/StepperForm/StepperForm.d.ts +0 -4
  190. package/dist/Form/Section/MaterialSection/MaterialSection.d.ts +0 -4
  191. package/dist/Form/Section/Section.d.ts +0 -6
  192. package/dist/Form/Terms/Term/MaterialTerm/MaterialTerm.d.ts +0 -4
  193. package/dist/Form/Terms/Term/Term.d.ts +0 -8
  194. package/dist/Form/Terms/Terms.d.ts +0 -3
  195. package/dist/FormSteps/@Construction/CBRElementStep/CBRElementStep.d.ts +0 -8
  196. package/dist/FormSteps/@Construction/CBRIncidentsStep/CBRIncidentsStep.d.ts +0 -9
  197. package/dist/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/Incident/Incident.d.ts +0 -8
  198. package/dist/FormSteps/@Construction/CBRIncidentsStep/MaterialCBRIncidentsStep/MaterialCBRIncidentsStep.d.ts +0 -11
  199. package/dist/FormSteps/@Construction/CBRPropertyStep/CBRPropertyStep.d.ts +0 -8
  200. package/dist/FormSteps/AYFStepMapper.d.ts +0 -12
  201. package/dist/FormSteps/ApiSelectorStep/ApiSelectorStep.d.ts +0 -15
  202. package/dist/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.d.ts +0 -4
  203. package/dist/FormSteps/CBRStepMapper.d.ts +0 -13
  204. package/dist/FormSteps/CheckBoxStep/CheckBoxStep.d.ts +0 -9
  205. package/dist/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.d.ts +0 -4
  206. package/dist/FormSteps/ClassifierSelectorStep/ClassifierSelectorStep.d.ts +0 -9
  207. package/dist/FormSteps/ClassifierSelectorStep/MaterialClassifierSelectorStep/MaterialClassifierSelectorStep.d.ts +0 -4
  208. package/dist/FormSteps/CollapsibleStep/CollapsibleStep.d.ts +0 -9
  209. package/dist/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.d.ts +0 -4
  210. package/dist/FormSteps/CustomStep.d.ts +0 -27
  211. package/dist/FormSteps/DatePickerStep/DatePickerStep.d.ts +0 -11
  212. package/dist/FormSteps/DatePickerStep/MaterialDatePickerStep/MaterialDatePickerStep.d.ts +0 -4
  213. package/dist/FormSteps/EntityValueStep/EntityValuePickerStep.d.ts +0 -15
  214. package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValueDialog/MaterialEntityValueDialog.d.ts +0 -12
  215. package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.d.ts +0 -4
  216. package/dist/FormSteps/FileUploadStep/FileUploadStep.d.ts +0 -9
  217. package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/FileComponent/FileComponent.d.ts +0 -14
  218. package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.d.ts +0 -18
  219. package/dist/FormSteps/MapperStep/MapperStep.d.ts +0 -18
  220. package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/ListMapperElement/ListMapperElement.d.ts +0 -5
  221. package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/MapperElementComponent.d.ts +0 -15
  222. package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/PagedMapperElement/PagedMapperElement.d.ts +0 -5
  223. package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/PillMapperElement/PillMapperElement.d.ts +0 -5
  224. package/dist/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.d.ts +0 -21
  225. package/dist/FormSteps/PhoneInputStep/MaterialTextInputStep/MaterialPhoneInputStep.d.ts +0 -4
  226. package/dist/FormSteps/PhoneInputStep/PhoneInputStep.d.ts +0 -11
  227. package/dist/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.d.ts +0 -4
  228. package/dist/FormSteps/RatingStep/RatingStep.d.ts +0 -9
  229. package/dist/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.d.ts +0 -4
  230. package/dist/FormSteps/SelectorStep/SelectorStep.d.ts +0 -9
  231. package/dist/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.d.ts +0 -4
  232. package/dist/FormSteps/SeparatorStep/SeparatorStep.d.ts +0 -9
  233. package/dist/FormSteps/SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep.d.ts +0 -5
  234. package/dist/FormSteps/SmartSelectStep/SmartSelectStep.d.ts +0 -35
  235. package/dist/FormSteps/Step.d.ts +0 -8
  236. package/dist/FormSteps/StepFunctions.d.ts +0 -29
  237. package/dist/FormSteps/StepHooks.d.ts +0 -55
  238. package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.d.ts +0 -10
  239. package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.d.ts +0 -8
  240. package/dist/FormSteps/TextAreaStep/TextAreaStep.d.ts +0 -10
  241. package/dist/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.d.ts +0 -4
  242. package/dist/FormSteps/TextInputStep/TextInputStep.d.ts +0 -17
  243. package/dist/FormSteps/TimePickerStep/MaterialTimePickerStep/MaterialTimePickerStep.d.ts +0 -4
  244. package/dist/FormSteps/TimePickerStep/TimePickerStep.d.ts +0 -12
  245. package/dist/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.d.ts +0 -4
  246. package/dist/FormSteps/TitleStep/TitleStep.d.ts +0 -9
  247. package/dist/FormSteps/Utils/@StepFiller/StepFiller.d.ts +0 -9
  248. package/dist/FormSteps/Utils/MaterialInputContainer/MaterialInputContainer.d.ts +0 -12
  249. package/dist/Icons/@IconTypes.d.ts +0 -7
  250. package/dist/Icons/CalendarIcon.d.ts +0 -4
  251. package/dist/Icons/Construction/LeakIcon.d.ts +0 -3
  252. package/dist/Icons/Construction/ProjectIcon.d.ts +0 -3
  253. package/dist/Icons/Construction/PropertyIcon.d.ts +0 -3
  254. package/dist/Icons/Construction/SpaceIcon.d.ts +0 -3
  255. package/dist/Icons/DocumentIcon.d.ts +0 -3
  256. package/dist/Icons/Entities/CheckListIcon.d.ts +0 -3
  257. package/dist/Icons/Entities/GenericEntityIcon.d.ts +0 -3
  258. package/dist/Icons/Entities/HandshakeIcon.d.ts +0 -3
  259. package/dist/Icons/Entities/SupplierIcon.d.ts +0 -3
  260. package/dist/Icons/LocationIcon.d.ts +0 -4
  261. package/dist/Icons/PersonIcon.d.ts +0 -4
  262. package/dist/Services/FileService.d.ts +0 -5
  263. package/dist/Services/FormService.d.ts +0 -5
  264. package/dist/Services/OrganizationService.d.ts +0 -2
  265. package/dist/Shared/CustomBtn/CustomBtn.d.ts +0 -18
  266. package/dist/Shared/InputIcon/InputIcon.d.ts +0 -7
  267. package/dist/Shared/Loader/Loader.d.ts +0 -18
  268. package/dist/Shared/Navbar/Navbar.d.ts +0 -9
  269. package/dist/Shared/Navbar/Navbar.stories.d.ts +0 -13
  270. package/dist/Shared/Rating/Rating.d.ts +0 -15
  271. package/dist/Shared/Rating/Rating.stories.d.ts +0 -15
  272. package/dist/Shared/Rating/Ratings/LikeRating.d.ts +0 -4
  273. package/dist/Shared/Rating/Ratings/SatisfactionRating.d.ts +0 -4
  274. package/dist/Shared/Rating/Ratings/ScaleRating.d.ts +0 -4
  275. package/dist/Shared/RoundedButton/RoundedButton.d.ts +0 -30
  276. package/dist/Shared/RoundedButton/RoundedButton.js +0 -45
  277. package/dist/Shared/RoundedButton/RoundedButton.stories.d.ts +0 -23
  278. package/dist/Shared/RoundedCheckBox/RoundedCheckBox.d.ts +0 -24
  279. package/dist/Shared/RoundedCheckBox/RoundedCheckBox.js +0 -101
  280. package/dist/Shared/RoundedCheckBox/RoundedCheckBox.stories.d.ts +0 -21
  281. package/dist/Shared/RoundedCheckBox/RoundedCheckBox.stories.js +0 -50
  282. package/dist/Shared/RoundedDatePicker/RoundedDatePicker.d.ts +0 -49
  283. package/dist/Shared/RoundedDatePicker/RoundedDatePicker.js +0 -351
  284. package/dist/Shared/RoundedDatePicker/RoundedDatePicker.stories.d.ts +0 -36
  285. package/dist/Shared/RoundedDatePicker/RoundedDatePicker.stories.js +0 -223
  286. package/dist/Shared/RoundedPhoneInput/RoundedPhoneInput.d.ts +0 -43
  287. package/dist/Shared/RoundedPhoneInput/RoundedPhoneInput.js +0 -226
  288. package/dist/Shared/RoundedSelect/RoundedSelect.d.ts +0 -68
  289. package/dist/Shared/RoundedSelect/RoundedSelect.js +0 -214
  290. package/dist/Shared/RoundedSelect/RoundedSelect.stories.d.ts +0 -28
  291. package/dist/Shared/RoundedSelect/RoundedSelect.stories.js +0 -91
  292. package/dist/Shared/RoundedSmartSelect/RoundedSmartSelect.d.ts +0 -63
  293. package/dist/Shared/RoundedSmartSelect/RoundedSmartSelect.js +0 -236
  294. package/dist/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.d.ts +0 -36
  295. package/dist/Shared/RoundedSmartSelect/RoundedSmartSelect.stories.js +0 -318
  296. package/dist/Shared/RoundedTextField/RoundedTextField.d.ts +0 -45
  297. package/dist/Shared/RoundedTextField/RoundedTextField.js +0 -175
  298. package/dist/Shared/RoundedTextField/RoundedTextField.stories.d.ts +0 -37
  299. package/dist/Shared/RoundedTextField/RoundedTextField.stories.js +0 -224
  300. package/dist/Shared/RoundedTimePicker/RoundedTimePicker.d.ts +0 -41
  301. package/dist/Shared/RoundedTimePicker/RoundedTimePicker.js +0 -314
  302. package/dist/Shared/Toggle/Toggle.d.ts +0 -18
  303. package/dist/States/GlobalSlice.d.ts +0 -46
  304. package/dist/States/SiteSlice.d.ts +0 -95
  305. package/dist/States/WidthStatsSlice.d.ts +0 -7
  306. package/dist/Utils/AxiosAPI.d.ts +0 -2
  307. package/dist/Utils/AxiosWidget.d.ts +0 -2
  308. package/dist/Utils/CBRFunctions.d.ts +0 -8
  309. package/dist/Utils/DraftFunctions.d.ts +0 -56
  310. package/dist/Utils/FormStepFunctions.d.ts +0 -15
  311. package/dist/Utils/MaterialProviders.d.ts +0 -6
  312. package/dist/Utils/PhoneFunctions.d.ts +0 -2
  313. package/dist/Utils/TestUtils.d.ts +0 -77
  314. package/dist/Utils/store.d.ts +0 -27
  315. package/dist/Widget.d.ts +0 -1
  316. package/dist/__mocks__/axios.d.ts +0 -2
  317. package/dist/__mocks__/axios.js +0 -2
  318. package/dist/constants/AYFFormStepTypes.d.ts +0 -9
  319. package/dist/constants/CBRFormStepTypes.d.ts +0 -21
  320. package/dist/constants/ConditionTypes.d.ts +0 -27
  321. package/dist/constants/Draft/DraftEntityDataTypes.d.ts +0 -11
  322. package/dist/constants/Draft/DraftEntityTypes.d.ts +0 -3
  323. package/dist/constants/Draft/DraftStyleTypes.d.ts +0 -7
  324. package/dist/constants/EntityPropertyTypes.d.ts +0 -10
  325. package/dist/constants/Files/FileExtensions.d.ts +0 -3
  326. package/dist/constants/Files/FileMaxSize.d.ts +0 -2
  327. package/dist/constants/FormStepTypes.d.ts +0 -64
  328. package/dist/constants/IconTypes.d.ts +0 -15
  329. package/dist/constants/InternalFormStyle.d.ts +0 -3
  330. package/dist/constants/MaterialClassNameSeed.d.ts +0 -1
  331. package/dist/constants/MaterialClassNameSeed.js +0 -1
  332. package/dist/constants/TicketPropertyTypes.d.ts +0 -3
  333. package/dist/hooks.d.ts +0 -7
  334. package/dist/index.d.ts +0 -1
  335. package/dist/index.js +0 -31
  336. package/dist/index.lib.d.ts +0 -7
  337. package/dist/setupTests.d.ts +0 -1
  338. /package/dist/Shared/{RoundedTimePicker/RoundedTimePicker.module.css → ErkTimePicker/ErkTimePicker.module.css} +0 -0
  339. /package/dist/{setupTests.js → __tests__/setup.js} +0 -0
@@ -1,30 +1,17 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import RoundedTextField from '../../../Shared/RoundedTextField/RoundedTextField';
2
+ import ErkTextField from '../../../Shared/ErkTextField/ErkTextField';
14
3
  import styles from './MaterialTextInputStep.module.css';
15
4
  import { calcStepWidth } from '../../StepFunctions';
16
5
  import { useContext } from 'react';
17
6
  import FormContext from '../../../Contexts/FormContext';
18
7
  import { selectBreakPoint, useAppSelector } from '../../../hooks';
19
8
  import { useFormStep } from '../../StepHooks';
20
- function TextInputStep(_a) {
21
- var _b;
22
- var icon = _a.icon, step = _a.step, editable = _a.editable, maxLength = _a.maxLength, _c = _a.defaultValue, defaultValue = _c === void 0 ? step.defaultValue : _c, _d = _a.validation, validation = _d === void 0 ? step.validation : _d;
23
- var currentBreakPoint = useAppSelector(selectBreakPoint);
24
- var _e = useAppSelector(function (state) { return state.global; }), formStyle = _e.formStyle, postview = _e.postview;
25
- var form = useContext(FormContext);
26
- var _f = useFormStep(step, {
27
- defaultValue: defaultValue !== null && defaultValue !== void 0 ? defaultValue : '',
9
+ function TextInputStep({ step, editable, maxLength, IconComponent, defaultValue = step.defaultValue, validation = step.validation, }) {
10
+ const currentBreakPoint = useAppSelector(selectBreakPoint);
11
+ const { postview } = useAppSelector((state) => state.global);
12
+ const form = useContext(FormContext);
13
+ const { ref, value, onChange, error, field } = useFormStep(step, {
14
+ defaultValue: defaultValue ?? '',
28
15
  debounce: true,
29
16
  rules: {
30
17
  required: step.required ? 'Este campo es obligatorio' : undefined,
@@ -38,15 +25,10 @@ function TextInputStep(_a) {
38
25
  }
39
26
  : undefined,
40
27
  },
41
- }), ref = _f.ref, value = _f.value, onChange = _f.onChange, error = _f.error, field = _f.field;
42
- return (_jsx("div", __assign({ className: styles.container, style: {
43
- width: currentBreakPoint <= step.size
44
- ? '100%'
45
- : calcStepWidth(step.size, form.size),
46
- minHeight: step.description ||
47
- (!postview && editable && (step.required || validation))
48
- ? '55px'
49
- : '43px',
50
- } }, { children: _jsx(RoundedTextField, __assign({}, field, { inputRef: ref, value: value, onChange: function (e) { return onChange(e.target.value); }, maxLength: maxLength, "data-testid": step.id, label: step.label, cantEdit: !editable || postview, required: step.required, fontWeight: 400, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, textColor: formStyle.textColor, errorColor: formStyle.errorColor, backgroundColor: formStyle.stepBackgroundColor, helperText: (_b = error === null || error === void 0 ? void 0 : error.message) !== null && _b !== void 0 ? _b : step.description, helperTextColor: formStyle.descriptionTextColor, error: !!error, icon: step.showIcon ? icon : undefined })) })));
28
+ });
29
+ return (_jsx("div", { className: styles.container, style: {
30
+ width: currentBreakPoint <= step.size ? '100%' : calcStepWidth(step.size, form.size),
31
+ minHeight: step.description || (!postview && editable && (step.required || validation)) ? '55px' : '43px',
32
+ }, children: _jsx(ErkTextField, { ...field, inputRef: ref, value: value, maxLength: maxLength, "data-testid": step.id, label: step.label, readOnly: !editable || postview, required: step.required, error: !!error, IconComponent: step.showIcon ? IconComponent : undefined, onChange: onChange, helperText: error?.message ?? step.description }) }));
51
33
  }
52
34
  export default TextInputStep;
@@ -1,24 +1,13 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
2
  import { FormStyleTypes } from '../../constants/FormStepTypes';
14
3
  import MaterialTextInputStep from './MaterialTextInputStep/MaterialTextInputStep';
15
4
  import { useAppSelector } from '../../hooks';
16
5
  function TextInputStep(props) {
17
- var formStyle = useAppSelector(function (state) { return state.global; }).formStyle;
6
+ const { formStyle } = useAppSelector((state) => state.global);
18
7
  switch (formStyle.type) {
19
8
  case FormStyleTypes.MATERIAL:
20
9
  default: {
21
- return _jsx(MaterialTextInputStep, __assign({}, props));
10
+ return _jsx(MaterialTextInputStep, { ...props });
22
11
  }
23
12
  }
24
13
  }
@@ -1,40 +1,23 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import RoundedTimePicker from '../../../Shared/RoundedTimePicker/RoundedTimePicker';
2
+ import ErkTimePicker from '../../../Shared/ErkTimePicker/ErkTimePicker';
14
3
  import { useAppSelector } from '../../../hooks';
15
4
  import { useFormStep } from '../../StepHooks';
16
5
  import MaterialInputContainer from '../../Utils/MaterialInputContainer/MaterialInputContainer';
17
- function TimePickerStep(_a) {
18
- var _b;
19
- var step = _a.step, editable = _a.editable, defaultValue = _a.defaultValue;
20
- var _c = useAppSelector(function (state) { return state.global; }), formStyle = _c.formStyle, postview = _c.postview;
21
- var _d = useFormStep(step, {
22
- defaultValue: defaultValue,
6
+ function TimePickerStep({ step, editable, defaultValue }) {
7
+ const postview = useAppSelector((state) => state.global.postview);
8
+ const { ref, value, onChange, error, field } = useFormStep(step, {
9
+ defaultValue,
23
10
  rules: {
24
- validate: function (value) {
11
+ validate: (value) => {
25
12
  if (step.required) {
26
- if (!value ||
27
- !(value.hours ||
28
- value.minutes ||
29
- value.days ||
30
- value.working !== undefined)) {
13
+ if (!value || !(value.hours || value.minutes || value.days || value.working !== undefined)) {
31
14
  return 'Este campo es obligatorio';
32
15
  }
33
16
  }
34
17
  return true;
35
18
  },
36
19
  },
37
- }), ref = _d.ref, value = _d.value, onChange = _d.onChange, error = _d.error, field = _d.field;
38
- return (_jsx(MaterialInputContainer, __assign({ step: step, editable: editable }, { children: _jsx(RoundedTimePicker, __assign({}, field, { value: value, onChange: onChange, inputRef: ref, cantEdit: !editable || postview, errorColor: formStyle.errorColor, focusColor: formStyle.primaryColor, outlineColor: formStyle.outlineColor, helperTextColor: formStyle.descriptionTextColor, backgroundColor: formStyle.stepBackgroundColor, fontWeight: 400, height: '31px', containerMargin: "0px", label: step.label, helperText: (_b = error === null || error === void 0 ? void 0 : error.message) !== null && _b !== void 0 ? _b : step.description, error: !!error, required: step.required, pickDays: step.pickDays, minDays: step.minDays, maxDays: step.maxDays, pickHours: step.pickHours, minHours: step.minHours, maxHours: step.maxHours, pickMinutes: step.pickMinutes, minMinutes: step.minMinutes, maxMinutes: step.maxMinutes, working: step.working })) })));
20
+ });
21
+ return (_jsx(MaterialInputContainer, { step: step, editable: editable, children: _jsx(ErkTimePicker, { ...field, value: value, onChange: onChange, inputRef: ref, readOnly: !editable || postview, label: step.label, helperText: error?.message ?? step.description, error: !!error, required: step.required, pickDays: step.pickDays, minDays: step.minDays, maxDays: step.maxDays, pickHours: step.pickHours, minHours: step.minHours, maxHours: step.maxHours, pickMinutes: step.pickMinutes, minMinutes: step.minMinutes, maxMinutes: step.maxMinutes, working: step.working }) }));
39
22
  }
40
23
  export default TimePickerStep;
@@ -1,24 +1,13 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
2
  import { FormStyleTypes } from '../../constants/FormStepTypes';
14
3
  import { useAppSelector } from '../../hooks';
15
4
  import MaterialTimePickerStep from './MaterialTimePickerStep/MaterialTimePickerStep';
16
5
  function TimePickerStep(props) {
17
- var formStyle = useAppSelector(function (state) { return state.global; }).formStyle;
6
+ const { formStyle } = useAppSelector((state) => state.global);
18
7
  switch (formStyle.type) {
19
8
  case FormStyleTypes.MATERIAL:
20
9
  default: {
21
- return _jsx(MaterialTimePickerStep, __assign({}, props));
10
+ return _jsx(MaterialTimePickerStep, { ...props });
22
11
  }
23
12
  }
24
13
  }
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
2
  import { calcStepWidth } from '../../StepFunctions';
14
3
  import styles from './MaterialTitleStep.module.css';
@@ -16,30 +5,28 @@ import { useAppSelector } from '../../../hooks';
16
5
  import FormContext from '../../../Contexts/FormContext';
17
6
  import { useContext } from 'react';
18
7
  import { useFormStep } from '../../StepHooks';
19
- function TitleStep(_a) {
20
- var _b, _c, _d;
21
- var step = _a.step;
22
- var value = useFormStep(step, {
8
+ function TitleStep({ step }) {
9
+ const { value } = useFormStep(step, {
23
10
  defaultValue: undefined,
24
- }).value;
25
- var title = (_b = value === null || value === void 0 ? void 0 : value.title) !== null && _b !== void 0 ? _b : step.title;
26
- var description = (_c = value === null || value === void 0 ? void 0 : value.description) !== null && _c !== void 0 ? _c : step.description;
27
- var formStyle = useAppSelector(function (state) { return state.global; }).formStyle;
28
- var form = useContext(FormContext);
29
- var widthStats = useAppSelector(function (state) { return state.widthStats; });
30
- var size = (_d = step.size) !== null && _d !== void 0 ? _d : form.size.blockNum;
31
- return (_jsxs("div", __assign({ className: styles.container, style: {
11
+ });
12
+ const title = value?.title ?? step.title;
13
+ const description = value?.description ?? step.description;
14
+ const { formStyle } = useAppSelector((state) => state.global);
15
+ const form = useContext(FormContext);
16
+ const widthStats = useAppSelector((state) => state.widthStats);
17
+ const size = step.size ?? form.size.blockNum;
18
+ return (_jsxs("div", { className: styles.container, style: {
32
19
  color: formStyle.textColor,
33
20
  width: widthStats.currentBreakPoint <= size
34
21
  ? '100%'
35
22
  : calcStepWidth(size, form.size),
36
- } }, { children: [title && (_jsx("div", __assign({ className: styles.titleLbl, style: {
23
+ }, children: [title && (_jsx("div", { className: styles.titleLbl, style: {
37
24
  textAlign: widthStats.isMobile &&
38
25
  widthStats.currentBreakPoint <= size
39
26
  ? 'center'
40
27
  : 'start',
41
- } }, { children: title }))), description && (_jsx("p", __assign({ className: styles.descriptionPar, style: {
28
+ }, children: title })), description && (_jsx("p", { className: styles.descriptionPar, style: {
42
29
  margin: title ? '10px 0px' : '0px 0px 5px 0px',
43
- } }, { children: description })))] })));
30
+ }, children: description }))] }));
44
31
  }
45
32
  export default TitleStep;
@@ -1,24 +1,13 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
2
  import { FormStyleTypes } from '../../constants/FormStepTypes';
14
3
  import MaterialTitleStep from './MaterialTitleStep/MaterialTitleStep';
15
4
  import { useAppSelector } from '../../hooks';
16
5
  function TitleStep(props) {
17
- var formStyle = useAppSelector(function (state) { return state.global; }).formStyle;
6
+ const { formStyle } = useAppSelector((state) => state.global);
18
7
  switch (formStyle.type) {
19
8
  case FormStyleTypes.MATERIAL:
20
9
  default: {
21
- return _jsx(MaterialTitleStep, __assign({}, props));
10
+ return _jsx(MaterialTitleStep, { ...props });
22
11
  }
23
12
  }
24
13
  }
@@ -1,14 +1,3 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
2
  import { createContext, useCallback, useContext, useState } from 'react';
14
3
  import { useFormContext } from 'react-hook-form';
@@ -16,30 +5,29 @@ import { calcFillerSize } from '../../StepFunctions';
16
5
  import FormContext from '../../../Contexts/FormContext';
17
6
  import styles from './StepFiller.module.css';
18
7
  import { selectBreakPoint, useAppSelector } from '../../../hooks';
19
- export var SizeChangeContext = createContext(undefined);
20
- function StepFiller(_a) {
21
- var step = _a.step, children = _a.children;
22
- var getValues = useFormContext().getValues;
23
- var form = useContext(FormContext);
24
- var _b = useState(calcFillerSize(step, form.steps, getValues(), form.size)), fillerSize = _b[0], setFillerSize = _b[1];
25
- var currentBreakPoint = useAppSelector(selectBreakPoint);
26
- var handleSizeChange = useCallback(function () {
8
+ export const SizeChangeContext = createContext(undefined);
9
+ function StepFiller({ step, children }) {
10
+ const { getValues } = useFormContext();
11
+ const form = useContext(FormContext);
12
+ const [fillerSize, setFillerSize] = useState(calcFillerSize(step, form.steps, getValues(), form.size));
13
+ const currentBreakPoint = useAppSelector(selectBreakPoint);
14
+ const handleSizeChange = useCallback(() => {
27
15
  setFillerSize(calcFillerSize(step, form.steps, getValues(), form.size));
16
+ // eslint-disable-next-line react-hooks/exhaustive-deps
28
17
  }, []);
29
18
  if (step.maxSize && step.maxSize < form.size.blockNum) {
30
- return (_jsxs("div", __assign({ className: styles.firstLvlContainer, style: {
19
+ return (_jsxs("div", { className: styles.firstLvlContainer, style: {
31
20
  width: currentBreakPoint <= step.size ? '100%' : 'fit-content',
32
- } }, { children: [_jsx(SizeChangeContext.Provider, __assign({ value: handleSizeChange }, { children: children })), fillerSize > 0 && (_jsx("div", { className: styles.smallSeparator, style: {
21
+ }, children: [_jsx(SizeChangeContext.Provider, { value: handleSizeChange, children: children }), fillerSize > 0 && (_jsx("div", { className: styles.smallSeparator, style: {
33
22
  width: fillerSize,
34
- } }))] })));
23
+ } }))] }));
35
24
  }
36
25
  else {
37
- return (_jsxs(SizeChangeContext.Provider, __assign({ value: handleSizeChange }, { children: [children, step.maxSize && _jsx("div", { className: styles.separator })] })));
26
+ return (_jsxs(SizeChangeContext.Provider, { value: handleSizeChange, children: [children, step.maxSize && _jsx("div", { className: styles.separator })] }));
38
27
  }
39
28
  }
40
- function StepFillerContainer(_a) {
41
- var step = _a.step, children = _a.children;
42
- var handleSizeChange = useContext(SizeChangeContext);
29
+ function StepFillerContainer({ step, children }) {
30
+ const handleSizeChange = useContext(SizeChangeContext);
43
31
  if (handleSizeChange)
44
32
  return _jsx(_Fragment, { children: children });
45
33
  else
@@ -1,26 +1,14 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
2
  import { useContext } from 'react';
14
3
  import FormContext from '../../../Contexts/FormContext';
15
4
  import { useAppSelector, selectBreakPoint } from '../../../hooks';
16
5
  import { calcStepWidth } from '../../StepFunctions';
17
6
  import styles from './MaterialInputContainer.module.css';
18
- function MaterialInputContainer(_a) {
19
- var step = _a.step, editable = _a.editable, children = _a.children, onClick = _a.onClick, _b = _a.maxHeight, maxHeight = _b === void 0 ? true : _b;
20
- var form = useContext(FormContext);
21
- var currentBreakPoint = useAppSelector(selectBreakPoint);
22
- var postview = useAppSelector(function (state) { return state.global.postview; });
23
- return (_jsx("div", __assign({ className: styles.container, style: {
7
+ function MaterialInputContainer({ step, editable, children, onClick, maxHeight = true, }) {
8
+ const form = useContext(FormContext);
9
+ const currentBreakPoint = useAppSelector(selectBreakPoint);
10
+ const postview = useAppSelector((state) => state.global.postview);
11
+ return (_jsx("div", { className: styles.container, style: {
24
12
  width: currentBreakPoint <= step.size
25
13
  ? '100%'
26
14
  : calcStepWidth(step.size, form.size),
@@ -30,6 +18,6 @@ function MaterialInputContainer(_a) {
30
18
  ? '55px'
31
19
  : '43px'
32
20
  : undefined,
33
- }, onClick: onClick, "data-testid": step.id }, { children: children })));
21
+ }, onClick: onClick, "data-testid": step.id, children: children }));
34
22
  }
35
23
  export default MaterialInputContainer;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from './ErkIcon.module.css';
3
+ function ArrowLeftIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M14.71 15.88L10.83 12l3.88-3.88c.39-.39.39-1.02 0-1.41a.9959.9959 0 00-1.41 0L8.71 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0 .38-.39.39-1.03 0-1.42z" }) }));
5
+ }
6
+ export default ArrowLeftIcon;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from './ErkIcon.module.css';
3
+ function ArrowRightIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M9.29 15.88L13.17 12 9.29 8.12a.9959.9959 0 010-1.41c.39-.39 1.02-.39 1.41 0l4.59 4.59c.39.39.39 1.02 0 1.41L10.7 17.3c-.39.39-1.02.39-1.41 0-.38-.39-.39-1.03 0-1.42z" }) }));
5
+ }
6
+ export default ArrowRightIcon;
@@ -1,17 +1,6 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
- function CalendarIcon(_a) {
14
- var className = _a.className, style = _a.style, fill = _a.fill;
15
- return (_jsx("svg", __assign({ fill: fill, style: style, className: className, xmlns: "http://www.w3.org/2000/svg", height: "24", viewBox: "-1 -1 26 26", width: "24" }, { children: _jsx("path", { d: "M20 3h-1V2c0-.55-.45-1-1-1s-1 .45-1 1v1H7V2c0-.55-.45-1-1-1s-1 .45-1 1v1H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 18H5c-.55 0-1-.45-1-1V8h16v12c0 .55-.45 1-1 1z" }) })));
2
+ import styles from './ErkIcon.module.css';
3
+ function CalendarIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, xmlns: "http://www.w3.org/2000/svg", height: "24", viewBox: "-1 -1 26 26", width: "24", children: _jsx("path", { d: "M20 3h-1V2c0-.55-.45-1-1-1s-1 .45-1 1v1H7V2c0-.55-.45-1-1-1s-1 .45-1 1v1H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 18H5c-.55 0-1-.45-1-1V8h16v12c0 .55-.45 1-1 1z" }) }));
16
5
  }
17
6
  export default CalendarIcon;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from './ErkIcon.module.css';
3
+ function CheckCircleIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.88-11.71L10 14.17l-1.88-1.88a.9959.9959 0 00-1.41 0c-.39.39-.39 1.02 0 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7c.39-.39.39-1.02 0-1.41-.39-.39-1.03-.39-1.42 0z" }) }));
5
+ }
6
+ export default CheckCircleIcon;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from './ErkIcon.module.css';
3
+ function CheckboxCheckedIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-8.29 13.29c-.39.39-1.02.39-1.41 0L5.71 12.7a.9959.9959 0 010-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-7.58 7.59z" }) }));
5
+ }
6
+ export default CheckboxCheckedIcon;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from './ErkIcon.module.css';
3
+ function CheckboxUncheckedIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M18 19H6c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h12c.55 0 1 .45 1 1v12c0 .55-.45 1-1 1zm1-16H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" }) }));
5
+ }
6
+ export default CheckboxUncheckedIcon;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from './ErkIcon.module.css';
3
+ function ClockIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24.21-.34.1-.79-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72z" }) }));
5
+ }
6
+ export default ClockIcon;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from './ErkIcon.module.css';
3
+ function CloseIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M18.3 5.71a.9959.9959 0 00-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 00-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z" }) }));
5
+ }
6
+ export default CloseIcon;
@@ -1,17 +1,6 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- function LeakIcon(props) {
14
- var _a;
15
- return (_jsxs("svg", __assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', height: "512pt", viewBox: "0 -86 512.00056 512", width: "512pt", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "m203.484375 196.359375c2.402344 0 4.753906-.867187 6.601563-2.492187l26.621093-23.394532c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-9.21875-27.257812 21.613281-18.996094c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-11.359375-33.570312c-1.070313-3.167969-3.652344-5.589844-6.882813-6.457031l-57.925781-15.519531c-5.335937-1.433594-10.816406 1.734374-12.246093 7.070312-1.429688 5.335938 1.734374 10.820312 7.070312 12.25l52.753906 14.132812 7.507813 22.1875-21.613281 18.996094c-3.03125 2.664063-4.164063 6.890625-2.871094 10.714844l9.21875 27.257812-17.59375 15.460938-130.027344-34.839844 30.992188-115.667968c.6875-2.5625.328124-5.292969-.996094-7.589844-1.328125-2.296875-3.511719-3.972656-6.074219-4.660156l-45.574219-12.210938c-5.332031-1.429688-10.816406 1.734375-12.246094 7.070312l-36.636718 136.722657c-.6875 2.5625-.324219 5.292969 1 7.589843 1.324218 2.292969 3.511718 3.972657 6.070312 4.65625l45.574219 12.210938c.867187.234375 1.738281.34375 2.597656.34375 4.414063 0 8.453125-2.945312 9.652344-7.414062l.464844-1.734376 135.199219 36.226563c.851562.230469 1.722656.34375 2.585937.34375zm-181.238281-56.703125 31.460937-117.40625 26.253907 7.035156-31.457032 117.40625zm0 0" }), _jsx("path", { d: "m511.660156 144.136719-36.636718-136.722657c-1.429688-5.332031-6.910157-8.5-12.246094-7.070312l-45.574219 12.210938c-2.5625.6875-4.746094 2.363281-6.070313 4.660156-1.328124 2.296875-1.6875 5.023437-1 7.585937l.464844 1.734375-135.199218 36.226563c-3.28125.878906-5.894532 3.367187-6.933594 6.605469-1.039063 3.238281-.363282 6.777343 1.796875 9.40625l19.121093 23.265624-5.867187 25.070313c-.796875 3.40625.242187 6.980469 2.738281 9.425781l19.386719 18.988282-6.847656 28.496093c-.824219 3.429688.21875 7.039063 2.742187 9.5 1.894532 1.84375 4.40625 2.839844 6.980469 2.839844.863281 0 1.730469-.113281 2.585937-.34375l57.925782-15.519531c5.335937-1.429688 8.5-6.914063 7.070312-12.25-1.429687-5.332032-6.914062-8.5-12.246094-7.070313l-41.683593 11.171875 4.246093-17.664062c.820313-3.421875-.214843-7.023438-2.726562-9.484375l-19.417969-19.015625 5.714844-24.398438c.710937-3.035156-.035156-6.222656-2.011719-8.628906l-12.40625-15.09375 120.207032-32.207031 30.992187 115.667969c1.199219 4.46875 5.238281 7.414062 9.65625 7.414062.855469 0 1.726563-.109375 2.59375-.339844l45.574219-12.210937c2.5625-.6875 4.746094-2.363281 6.070312-4.660157 1.328125-2.296874 1.6875-5.027343 1-7.589843zm-48.160156 2.554687-30.996094-115.667968s0 0 0-.003907v-.003906l-.464844-1.730469 26.257813-7.035156 31.457031 117.40625zm0 0" }), _jsx("path", { d: "m263.386719 203.265625c-1.894531-2.078125-4.574219-3.261719-7.386719-3.261719-2.808594 0-5.492188 1.183594-7.386719 3.261719-.78125.855469-1.640625 1.789063-2.570312 2.792969-14.488281 15.730468-44.640625 48.457031-44.640625 79.34375 0 30.105468 24.492187 54.601562 54.597656 54.601562s54.597656-24.496094 54.597656-54.601562c0-30.886719-30.148437-63.613282-44.640625-79.339844-.925781-1.007812-1.789062-1.941406-2.570312-2.796875zm-7.386719 116.738281c-19.078125 0-34.597656-15.523437-34.597656-34.601562 0-20.492188 20.960937-45.539063 34.597656-60.601563 13.636719 15.0625 34.597656 40.109375 34.597656 60.601563 0 19.078125-15.519531 34.601562-34.597656 34.601562zm0 0" }), _jsx("path", { d: "m129.878906 54.871094c.917969.261718 1.839844.386718 2.75.386718 4.351563 0 8.355469-2.863281 9.609375-7.253906 1.519531-5.3125-1.554687-10.847656-6.867187-12.363281h-.007813c-5.308593-1.519531-10.839843 1.554687-12.359375 6.867187-1.515625 5.308594 1.5625 10.847657 6.875 12.363282zm0 0" }), _jsx("path", { d: "m407.335938 149.527344-.007813.003906c-5.335937 1.421875-8.507813 6.898438-7.082031 12.238281 1.191406 4.472657 5.238281 7.421875 9.65625 7.421875.855468 0 1.722656-.109375 2.585937-.339844 5.335938-1.421874 8.507813-6.902343 7.085938-12.238281-1.425781-5.335937-6.90625-8.511719-12.238281-7.085937zm0 0" })] })));
2
+ import styles from '../ErkIcon.module.css';
3
+ function LeakIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsxs("svg", { ...props, className: className, height: "512pt", viewBox: "0 -86 512.00056 512", width: "512pt", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "m203.484375 196.359375c2.402344 0 4.753906-.867187 6.601563-2.492187l26.621093-23.394532c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-9.21875-27.257812 21.613281-18.996094c3.03125-2.664062 4.164063-6.890625 2.871094-10.714844l-11.359375-33.570312c-1.070313-3.167969-3.652344-5.589844-6.882813-6.457031l-57.925781-15.519531c-5.335937-1.433594-10.816406 1.734374-12.246093 7.070312-1.429688 5.335938 1.734374 10.820312 7.070312 12.25l52.753906 14.132812 7.507813 22.1875-21.613281 18.996094c-3.03125 2.664063-4.164063 6.890625-2.871094 10.714844l9.21875 27.257812-17.59375 15.460938-130.027344-34.839844 30.992188-115.667968c.6875-2.5625.328124-5.292969-.996094-7.589844-1.328125-2.296875-3.511719-3.972656-6.074219-4.660156l-45.574219-12.210938c-5.332031-1.429688-10.816406 1.734375-12.246094 7.070312l-36.636718 136.722657c-.6875 2.5625-.324219 5.292969 1 7.589843 1.324218 2.292969 3.511718 3.972657 6.070312 4.65625l45.574219 12.210938c.867187.234375 1.738281.34375 2.597656.34375 4.414063 0 8.453125-2.945312 9.652344-7.414062l.464844-1.734376 135.199219 36.226563c.851562.230469 1.722656.34375 2.585937.34375zm-181.238281-56.703125 31.460937-117.40625 26.253907 7.035156-31.457032 117.40625zm0 0" }), _jsx("path", { d: "m511.660156 144.136719-36.636718-136.722657c-1.429688-5.332031-6.910157-8.5-12.246094-7.070312l-45.574219 12.210938c-2.5625.6875-4.746094 2.363281-6.070313 4.660156-1.328124 2.296875-1.6875 5.023437-1 7.585937l.464844 1.734375-135.199218 36.226563c-3.28125.878906-5.894532 3.367187-6.933594 6.605469-1.039063 3.238281-.363282 6.777343 1.796875 9.40625l19.121093 23.265624-5.867187 25.070313c-.796875 3.40625.242187 6.980469 2.738281 9.425781l19.386719 18.988282-6.847656 28.496093c-.824219 3.429688.21875 7.039063 2.742187 9.5 1.894532 1.84375 4.40625 2.839844 6.980469 2.839844.863281 0 1.730469-.113281 2.585937-.34375l57.925782-15.519531c5.335937-1.429688 8.5-6.914063 7.070312-12.25-1.429687-5.332032-6.914062-8.5-12.246094-7.070313l-41.683593 11.171875 4.246093-17.664062c.820313-3.421875-.214843-7.023438-2.726562-9.484375l-19.417969-19.015625 5.714844-24.398438c.710937-3.035156-.035156-6.222656-2.011719-8.628906l-12.40625-15.09375 120.207032-32.207031 30.992187 115.667969c1.199219 4.46875 5.238281 7.414062 9.65625 7.414062.855469 0 1.726563-.109375 2.59375-.339844l45.574219-12.210937c2.5625-.6875 4.746094-2.363281 6.070312-4.660157 1.328125-2.296874 1.6875-5.027343 1-7.589843zm-48.160156 2.554687-30.996094-115.667968s0 0 0-.003907v-.003906l-.464844-1.730469 26.257813-7.035156 31.457031 117.40625zm0 0" }), _jsx("path", { d: "m263.386719 203.265625c-1.894531-2.078125-4.574219-3.261719-7.386719-3.261719-2.808594 0-5.492188 1.183594-7.386719 3.261719-.78125.855469-1.640625 1.789063-2.570312 2.792969-14.488281 15.730468-44.640625 48.457031-44.640625 79.34375 0 30.105468 24.492187 54.601562 54.597656 54.601562s54.597656-24.496094 54.597656-54.601562c0-30.886719-30.148437-63.613282-44.640625-79.339844-.925781-1.007812-1.789062-1.941406-2.570312-2.796875zm-7.386719 116.738281c-19.078125 0-34.597656-15.523437-34.597656-34.601562 0-20.492188 20.960937-45.539063 34.597656-60.601563 13.636719 15.0625 34.597656 40.109375 34.597656 60.601563 0 19.078125-15.519531 34.601562-34.597656 34.601562zm0 0" }), _jsx("path", { d: "m129.878906 54.871094c.917969.261718 1.839844.386718 2.75.386718 4.351563 0 8.355469-2.863281 9.609375-7.253906 1.519531-5.3125-1.554687-10.847656-6.867187-12.363281h-.007813c-5.308593-1.519531-10.839843 1.554687-12.359375 6.867187-1.515625 5.308594 1.5625 10.847657 6.875 12.363282zm0 0" }), _jsx("path", { d: "m407.335938 149.527344-.007813.003906c-5.335937 1.421875-8.507813 6.898438-7.082031 12.238281 1.191406 4.472657 5.238281 7.421875 9.65625 7.421875.855468 0 1.722656-.109375 2.585937-.339844 5.335938-1.421874 8.507813-6.902343 7.085938-12.238281-1.425781-5.335937-6.90625-8.511719-12.238281-7.085937zm0 0" })] }));
16
5
  }
17
6
  export default LeakIcon;
@@ -1,17 +1,6 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
- function ProjectIcon(props) {
14
- var _a;
15
- return (_jsx("svg", __assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', height: "480pt", viewBox: "0 -8 480 480", width: "480pt", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m440 448v-49.960938c10.546875-6.214843 16.726562-17.816406 16-30.039062 0-17.671875-10.742188-32-24-32s-24 14.328125-24 32c-.726562 12.222656 5.453125 23.824219 16 30.039062v49.960938h-56v-243.054688l-48-24v43.054688h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v16h-16v-321.96875l-96-27.421875v29.390625h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v16h-16v-448h-144v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v16h-48v16h480v-16zm0 0" }) })));
2
+ import styles from '../ErkIcon.module.css';
3
+ function ProjectIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, height: "480pt", viewBox: "0 -8 480 480", width: "480pt", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "m440 448v-49.960938c10.546875-6.214843 16.726562-17.816406 16-30.039062 0-17.671875-10.742188-32-24-32s-24 14.328125-24 32c-.726562 12.222656 5.453125 23.824219 16 30.039062v49.960938h-56v-243.054688l-48-24v43.054688h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v32h24v16h-24v16h-16v-321.96875l-96-27.421875v29.390625h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v32h56v16h-56v16h-16v-448h-144v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v32h72v16h-72v16h-48v16h480v-16zm0 0" }) }));
16
5
  }
17
6
  export default ProjectIcon;
@@ -1,17 +1,6 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- function PropertyIcon(props) {
14
- var _a;
15
- return (_jsx("svg", __assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', height: "512", viewBox: "0 0 512 512", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("g", __assign({ id: "_01-home", "data-name": "01-home" }, { children: _jsxs("g", __assign({ id: "glyph" }, { children: [_jsx("path", { d: "m256 4c-108.075 0-196 87.925-196 196 0 52.5 31.807 119.92 94.537 200.378a1065.816 1065.816 0 0 0 93.169 104.294 12 12 0 0 0 16.588 0 1065.816 1065.816 0 0 0 93.169-104.294c62.73-80.458 94.537-147.878 94.537-200.378 0-108.075-87.925-196-196-196zm0 336c-77.2 0-140-62.8-140-140s62.8-140 140-140 140 62.8 140 140-62.8 140-140 140z" }), _jsx("path", { d: "m352.072 183.121-88-80a12 12 0 0 0 -16.144 0l-88 80a12.006 12.006 0 0 0 -2.23 15.039 12.331 12.331 0 0 0 10.66 5.84h11.642v76a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-44a12 12 0 0 1 12-12h24a12 12 0 0 1 12 12v44a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-76h11.642a12.331 12.331 0 0 0 10.66-5.84 12.006 12.006 0 0 0 -2.23-15.039z" })] })) })) })));
2
+ import styles from '../ErkIcon.module.css';
3
+ function PropertyIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, height: "512", viewBox: "0 0 512 512", width: "512", xmlns: "http://www.w3.org/2000/svg", children: _jsx("g", { id: "_01-home", "data-name": "01-home", children: _jsxs("g", { id: "glyph", children: [_jsx("path", { d: "m256 4c-108.075 0-196 87.925-196 196 0 52.5 31.807 119.92 94.537 200.378a1065.816 1065.816 0 0 0 93.169 104.294 12 12 0 0 0 16.588 0 1065.816 1065.816 0 0 0 93.169-104.294c62.73-80.458 94.537-147.878 94.537-200.378 0-108.075-87.925-196-196-196zm0 336c-77.2 0-140-62.8-140-140s62.8-140 140-140 140 62.8 140 140-62.8 140-140 140z" }), _jsx("path", { d: "m352.072 183.121-88-80a12 12 0 0 0 -16.144 0l-88 80a12.006 12.006 0 0 0 -2.23 15.039 12.331 12.331 0 0 0 10.66 5.84h11.642v76a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-44a12 12 0 0 1 12-12h24a12 12 0 0 1 12 12v44a12 12 0 0 0 12 12h28a12 12 0 0 0 12-12v-76h11.642a12.331 12.331 0 0 0 10.66-5.84 12.006 12.006 0 0 0 -2.23-15.039z" })] }) }) }));
16
5
  }
17
6
  export default PropertyIcon;
@@ -1,17 +1,6 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- function SpaceIcon(props) {
14
- var _a;
15
- return (_jsxs("svg", __assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', width: "512pt", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64" }, { children: [_jsx("title", { children: "SpaceType" }), _jsxs("g", __assign({ id: "space_type", "data-name": "space type" }, { children: [_jsx("path", { d: "M29.74,39A10.21,10.21,0,0,0,27.61,39,1.63,1.63,0,0,0,26,40.61V53.35A1.63,1.63,0,0,0,27.61,55h1.74A1.63,1.63,0,0,0,31,53.35V40.61A1.63,1.63,0,0,0,29.74,39Z" }), _jsx("path", { d: "M57.35,39a10.27,10.27,0,0,0-2.13.05A1.63,1.63,0,0,0,54,40.61V53.35A1.63,1.63,0,0,0,55.61,55h1.74A1.63,1.63,0,0,0,59,53.35V40.61A1.63,1.63,0,0,0,57.35,39Z" }), _jsx("path", { d: "M33,54a1,1,0,0,0,1,1H51a1,1,0,0,0,1-1V49H33Z" }), _jsx("path", { d: "M49,42H36a3,3,0,0,0-3,3v2H52V45A3,3,0,0,0,49,42Z" }), _jsx("path", { d: "M54,31a5,5,0,0,0-5-5H36a5,5,0,0,0-5,5v6.39a3.62,3.62,0,0,1,1.86,2.24A4.68,4.68,0,0,1,33,41c1.37-1.37,4.2-1,16-1a5,5,0,0,1,2.68.78c.64.39.07.39.46-1.15a3.65,3.65,0,0,1,1.43-2C54.15,37.19,54,38.41,54,31Z" }), _jsx("path", { d: "M17,32c-5.85,0-4.33,0-4-.05a7.06,7.06,0,0,0,6-7,7,7,0,0,0-4.47,1.59,7.08,7.08,0,0,0-2.07-5.05,7.06,7.06,0,0,0-2.07,5.05,7,7,0,0,0-4.47-1.59,7.07,7.07,0,0,0,6,7c.36.08,1.89.05-4,.05l1.71,6H3V55H5V50H20v5h2V38H15.26ZM15,45H10V43h5Z" }), _jsx("path", { d: "M26,21h6L31,10H19L18,21h6V40.61a3.63,3.63,0,0,1,2-3.24Z" })] }))] })));
2
+ import styles from '../ErkIcon.module.css';
3
+ function SpaceIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsxs("svg", { ...props, className: className, width: "512pt", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 64 64", children: [_jsx("title", { children: "SpaceType" }), _jsxs("g", { id: "space_type", "data-name": "space type", children: [_jsx("path", { d: "M29.74,39A10.21,10.21,0,0,0,27.61,39,1.63,1.63,0,0,0,26,40.61V53.35A1.63,1.63,0,0,0,27.61,55h1.74A1.63,1.63,0,0,0,31,53.35V40.61A1.63,1.63,0,0,0,29.74,39Z" }), _jsx("path", { d: "M57.35,39a10.27,10.27,0,0,0-2.13.05A1.63,1.63,0,0,0,54,40.61V53.35A1.63,1.63,0,0,0,55.61,55h1.74A1.63,1.63,0,0,0,59,53.35V40.61A1.63,1.63,0,0,0,57.35,39Z" }), _jsx("path", { d: "M33,54a1,1,0,0,0,1,1H51a1,1,0,0,0,1-1V49H33Z" }), _jsx("path", { d: "M49,42H36a3,3,0,0,0-3,3v2H52V45A3,3,0,0,0,49,42Z" }), _jsx("path", { d: "M54,31a5,5,0,0,0-5-5H36a5,5,0,0,0-5,5v6.39a3.62,3.62,0,0,1,1.86,2.24A4.68,4.68,0,0,1,33,41c1.37-1.37,4.2-1,16-1a5,5,0,0,1,2.68.78c.64.39.07.39.46-1.15a3.65,3.65,0,0,1,1.43-2C54.15,37.19,54,38.41,54,31Z" }), _jsx("path", { d: "M17,32c-5.85,0-4.33,0-4-.05a7.06,7.06,0,0,0,6-7,7,7,0,0,0-4.47,1.59,7.08,7.08,0,0,0-2.07-5.05,7.06,7.06,0,0,0-2.07,5.05,7,7,0,0,0-4.47-1.59,7.07,7.07,0,0,0,6,7c.36.08,1.89.05-4,.05l1.71,6H3V55H5V50H20v5h2V38H15.26ZM15,45H10V43h5Z" }), _jsx("path", { d: "M26,21h6L31,10H19L18,21h6V40.61a3.63,3.63,0,0,1,2-3.24Z" })] })] }));
16
5
  }
17
6
  export default SpaceIcon;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from './ErkIcon.module.css';
3
+ function DeleteIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, version: "1.1", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v10zM18 4h-2.5l-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1z" }) }));
5
+ }
6
+ export default DeleteIcon;
@@ -1,17 +1,6 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
- function DocumentIcon(props) {
14
- var _a;
15
- return (_jsx("svg", __assign({}, props, { fill: (_a = props.fill) !== null && _a !== void 0 ? _a : '#757575', id: "bold", enableBackground: "new 0 0 24 24", height: "512", viewBox: "0 0 24 24", width: "512", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "m21.25 3h-18.5c-1.517 0-2.75 1.233-2.75 2.75v12.5c0 1.517 1.233 2.75 2.75 2.75h18.5c1.517 0 2.75-1.233 2.75-2.75v-12.5c0-1.517-1.233-2.75-2.75-2.75zm-13.75 4c1.378 0 2.5 1.122 2.5 2.5s-1.122 2.5-2.5 2.5-2.5-1.122-2.5-2.5 1.122-2.5 2.5-2.5zm4.5 9.25c0 .414-.336.75-.75.75h-7.5c-.414 0-.75-.336-.75-.75v-.5c0-1.517 1.233-2.75 2.75-2.75h3.5c1.517 0 2.75 1.233 2.75 2.75zm8.25.75h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75z" }) })));
2
+ import styles from './ErkIcon.module.css';
3
+ function DocumentIcon({ className = styles.ErkIcon, ...props }) {
4
+ return (_jsx("svg", { ...props, className: className, id: "bold", enableBackground: "new 0 0 24 24", height: "512", viewBox: "0 0 24 24", width: "512", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "m21.25 3h-18.5c-1.517 0-2.75 1.233-2.75 2.75v12.5c0 1.517 1.233 2.75 2.75 2.75h18.5c1.517 0 2.75-1.233 2.75-2.75v-12.5c0-1.517-1.233-2.75-2.75-2.75zm-13.75 4c1.378 0 2.5 1.122 2.5 2.5s-1.122 2.5-2.5 2.5-2.5-1.122-2.5-2.5 1.122-2.5 2.5-2.5zm4.5 9.25c0 .414-.336.75-.75.75h-7.5c-.414 0-.75-.336-.75-.75v-.5c0-1.517 1.233-2.75 2.75-2.75h3.5c1.517 0 2.75 1.233 2.75 2.75zm8.25.75h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75zm0-4h-5.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h5.5c.414 0 .75.336.75.75s-.336.75-.75.75z" }) }));
16
5
  }
17
6
  export default DocumentIcon;