@gusto/embedded-react-sdk 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (599) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +3 -0
  3. package/dist/UNSTABLE_Hooks.js +2 -2
  4. package/dist/assets/icons/filter-funnel.svg.js +10 -0
  5. package/dist/assets/icons/filter-funnel.svg.js.map +1 -0
  6. package/dist/components/Base/createCompoundContext.js.map +1 -1
  7. package/dist/components/Common/DataView/DataCards/DataCards.js +42 -36
  8. package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
  9. package/dist/components/Common/DateRangeFilter/DateRangeFilter.d.ts +17 -0
  10. package/dist/components/Common/DateRangeFilter/DateRangeFilter.js +100 -0
  11. package/dist/components/Common/DateRangeFilter/DateRangeFilter.js.map +1 -0
  12. package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js +10 -0
  13. package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js.map +1 -0
  14. package/dist/components/Common/DetailViewLayout/DetailViewLayout.d.ts +2 -0
  15. package/dist/components/Common/DetailViewLayout/DetailViewLayoutTypes.d.ts +40 -0
  16. package/dist/components/Common/DetailViewLayout/index.d.ts +3 -0
  17. package/dist/components/Common/Fields/CheckboxField/CheckboxField.js +26 -24
  18. package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -1
  19. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +1 -1
  20. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js +32 -30
  21. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -1
  22. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +1 -1
  23. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js +36 -34
  24. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -1
  25. package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +1 -1
  26. package/dist/components/Common/Fields/DatePickerField/DatePickerField.js +40 -38
  27. package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -1
  28. package/dist/components/Common/Fields/FileInputField/FileInputField.js +24 -22
  29. package/dist/components/Common/Fields/FileInputField/FileInputField.js.map +1 -1
  30. package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js +24 -22
  31. package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js.map +1 -1
  32. package/dist/components/Common/Fields/NumberInputField/NumberInputField.js +27 -25
  33. package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -1
  34. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +1 -1
  35. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js +34 -32
  36. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
  37. package/dist/components/Common/Fields/SelectField/SelectField.d.ts +1 -1
  38. package/dist/components/Common/Fields/SelectField/SelectField.js +34 -32
  39. package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -1
  40. package/dist/components/Common/Fields/SwitchField/SwitchField.js +26 -24
  41. package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -1
  42. package/dist/components/Common/Fields/TextAreaField/TextAreaField.js +24 -22
  43. package/dist/components/Common/Fields/TextAreaField/TextAreaField.js.map +1 -1
  44. package/dist/components/Common/Fields/TextInputField/TextInputField.js +26 -24
  45. package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -1
  46. package/dist/components/Common/Fields/hooks/useField.d.ts +3 -2
  47. package/dist/components/Common/Fields/hooks/useField.js +37 -33
  48. package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
  49. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js +21 -20
  50. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js.map +1 -1
  51. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbsTypes.d.ts +5 -0
  52. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.d.ts +1 -1
  53. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js +10 -8
  54. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js.map +1 -1
  55. package/dist/components/Common/ReorderableList/ReorderableList.js.map +1 -1
  56. package/dist/components/Common/SignatureForm/SignatureForm.js +10 -13
  57. package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
  58. package/dist/components/Common/SignatureForm/SignatureFormActions.js +6 -8
  59. package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
  60. package/dist/components/Common/SignatureForm/SignatureFormFields.js +11 -14
  61. package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
  62. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +17 -17
  63. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js.map +1 -1
  64. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +5 -0
  65. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
  66. package/dist/components/Common/UI/Button/Button.js +33 -29
  67. package/dist/components/Common/UI/Button/Button.js.map +1 -1
  68. package/dist/components/Common/UI/Button/Button.module.scss.js +5 -3
  69. package/dist/components/Common/UI/Button/Button.module.scss.js.map +1 -1
  70. package/dist/components/Common/UI/Button/ButtonTypes.d.ts +4 -0
  71. package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -1
  72. package/dist/components/Common/UI/DatePicker/DatePicker.d.ts +1 -1
  73. package/dist/components/Common/UI/DatePicker/DatePicker.js +88 -69
  74. package/dist/components/Common/UI/DatePicker/DatePicker.js.map +1 -1
  75. package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +13 -0
  76. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.d.ts +2 -0
  77. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js +74 -0
  78. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js.map +1 -0
  79. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js +30 -0
  80. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js.map +1 -0
  81. package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +14 -0
  82. package/dist/components/Common/UI/DateRangePicker/index.d.ts +2 -0
  83. package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js +2 -2
  84. package/dist/components/Common/UI/Heading/Heading.d.ts +1 -1
  85. package/dist/components/Common/UI/Heading/Heading.js +11 -9
  86. package/dist/components/Common/UI/Heading/Heading.js.map +1 -1
  87. package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +1 -1
  88. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js +94 -80
  89. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
  90. package/dist/components/Common/UI/NumberInput/NumberInput.js +1 -1
  91. package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
  92. package/dist/components/Common/index.d.ts +2 -0
  93. package/dist/components/Company/AssignSignatory/AssignSignatory.js +7 -10
  94. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  95. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +2 -4
  96. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  97. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +2 -3
  98. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  99. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +6 -9
  100. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
  101. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +11 -12
  102. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
  103. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +2 -3
  104. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  105. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +5 -8
  106. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
  107. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +12 -13
  108. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
  109. package/dist/components/Company/AssignSignatory/TitleSelect.js +2 -4
  110. package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
  111. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +8 -9
  112. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
  113. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +4 -6
  114. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  115. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +2 -3
  116. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  117. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +6 -7
  118. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  119. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -6
  120. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  121. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +2 -3
  122. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  123. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +10 -13
  124. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  125. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +11 -14
  126. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  127. package/dist/components/Company/FederalTaxes/Actions.js +6 -7
  128. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  129. package/dist/components/Company/FederalTaxes/FederalTaxes.js +12 -15
  130. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  131. package/dist/components/Company/FederalTaxes/Form.js +4 -4
  132. package/dist/components/Company/Industry/Actions.js +7 -8
  133. package/dist/components/Company/Industry/Actions.js.map +1 -1
  134. package/dist/components/Company/Industry/Edit.js +2 -4
  135. package/dist/components/Company/Industry/Edit.js.map +1 -1
  136. package/dist/components/Company/Locations/LocationForm/Actions.js +6 -7
  137. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  138. package/dist/components/Company/Locations/LocationForm/Form.js +4 -6
  139. package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
  140. package/dist/components/Company/Locations/LocationForm/LocationForm.js +14 -17
  141. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  142. package/dist/components/Company/Locations/LocationsList/Actions.js +2 -3
  143. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  144. package/dist/components/Company/Locations/LocationsList/List.js +9 -9
  145. package/dist/components/Company/Locations/LocationsList/LocationsList.js +6 -9
  146. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  147. package/dist/components/Company/OnboardingOverview/Completed.js +2 -3
  148. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  149. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +8 -9
  150. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  151. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +6 -9
  152. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  153. package/dist/components/Company/PaySchedule/PaySchedule.js +66 -65
  154. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  155. package/dist/components/Company/PaySchedule/_parts/Actions.js +18 -19
  156. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  157. package/dist/components/Company/PaySchedule/_parts/Edit.js +40 -37
  158. package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
  159. package/dist/components/Company/PaySchedule/_parts/Head.js +8 -9
  160. package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
  161. package/dist/components/Company/PaySchedule/_parts/List.js +8 -8
  162. package/dist/components/Company/PaySchedule/usePaySchedule.d.ts +2 -0
  163. package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
  164. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +2 -3
  165. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  166. package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
  167. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +2 -3
  168. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  169. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +2 -3
  170. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  171. package/dist/components/Contractor/Address/Address.js +2 -5
  172. package/dist/components/Contractor/Address/Address.js.map +1 -1
  173. package/dist/components/Contractor/Address/Form.js +2 -4
  174. package/dist/components/Contractor/Address/Form.js.map +1 -1
  175. package/dist/components/Contractor/ContractorList/index.js +33 -33
  176. package/dist/components/Contractor/ContractorList/index.js.map +1 -1
  177. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +10 -12
  178. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  179. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -4
  180. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
  181. package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
  182. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +10 -10
  183. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +17 -18
  184. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
  185. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +15 -15
  186. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +2 -3
  187. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
  188. package/dist/components/Contractor/Profile/useContractorProfile.js +42 -40
  189. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  190. package/dist/components/Contractor/Submit/Submit.d.ts +2 -2
  191. package/dist/components/Contractor/Submit/Submit.js +45 -46
  192. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  193. package/dist/components/Employee/Compensation/Actions.js +12 -13
  194. package/dist/components/Employee/Compensation/Actions.js.map +1 -1
  195. package/dist/components/Employee/Compensation/Compensation.js.map +1 -1
  196. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +49 -44
  197. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -1
  198. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
  199. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +12 -12
  200. package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js +6 -7
  201. package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js.map +1 -1
  202. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +2 -3
  203. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  204. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +8 -11
  205. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  206. package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -4
  207. package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
  208. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +6 -6
  209. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js +3 -4
  210. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
  211. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +9 -12
  212. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  213. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js +6 -7
  214. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
  215. package/dist/components/Employee/EmployeeList/EmployeeList.d.ts +2 -5
  216. package/dist/components/Employee/EmployeeList/EmployeeList.js +45 -95
  217. package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
  218. package/dist/components/Employee/EmployeeList/EmployeeListView.d.ts +15 -0
  219. package/dist/components/Employee/EmployeeList/EmployeeListView.js +132 -0
  220. package/dist/components/Employee/EmployeeList/EmployeeListView.js.map +1 -0
  221. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.d.ts +9 -0
  222. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js +81 -0
  223. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js.map +1 -0
  224. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.d.ts +17 -0
  225. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js +195 -0
  226. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js.map +1 -0
  227. package/dist/components/Employee/EmployeeList/index.d.ts +3 -0
  228. package/dist/components/Employee/EmployeeList/useEmployeeList.d.ts +36 -23
  229. package/dist/components/Employee/EmployeeList/useEmployeeList.js +114 -19
  230. package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
  231. package/dist/components/Employee/FederalTaxes/Actions.js +5 -6
  232. package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
  233. package/dist/components/Employee/FederalTaxes/FederalForm.js +4 -5
  234. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
  235. package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js +4 -4
  236. package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js.map +1 -1
  237. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.d.ts +1 -0
  238. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js +14 -8
  239. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
  240. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js +10 -11
  241. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
  242. package/dist/components/Employee/PaymentMethod/Actions.js +5 -6
  243. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  244. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +2 -4
  245. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
  246. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +10 -10
  247. package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
  248. package/dist/components/Employee/PaymentMethod/PaymentMethod.js +44 -43
  249. package/dist/components/Employee/PaymentMethod/PaymentMethod.js.map +1 -1
  250. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +5 -7
  251. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
  252. package/dist/components/Employee/PaymentMethod/Split.js +4 -4
  253. package/dist/components/Employee/PaymentMethod/usePaymentMethod.d.ts +1 -0
  254. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
  255. package/dist/components/Employee/Profile/Actions.js +5 -6
  256. package/dist/components/Employee/Profile/Actions.js.map +1 -1
  257. package/dist/components/Employee/Profile/AdminPersonalDetails.js +14 -15
  258. package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
  259. package/dist/components/Employee/Profile/HomeAddress.js +8 -9
  260. package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
  261. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +8 -10
  262. package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
  263. package/dist/components/Employee/Profile/Profile.js.map +1 -1
  264. package/dist/components/Employee/StateTaxes/Actions.js +5 -6
  265. package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
  266. package/dist/components/Employee/Taxes/Actions.js +6 -7
  267. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  268. package/dist/components/Employee/Taxes/FederalForm.js +4 -5
  269. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  270. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +48 -48
  271. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
  272. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +6 -7
  273. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
  274. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.d.ts +1 -0
  275. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +38 -33
  276. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js.map +1 -1
  277. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.d.ts +1 -0
  278. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js +57 -45
  279. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js.map +1 -1
  280. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +8 -9
  281. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
  282. package/dist/components/Employee/index.d.ts +1 -0
  283. package/dist/components/Employee/index.js +38 -36
  284. package/dist/components/Employee/index.js.map +1 -1
  285. package/dist/components/Flow/Flow.js +6 -7
  286. package/dist/components/Flow/Flow.js.map +1 -1
  287. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +1 -2
  288. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
  289. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +10 -11
  290. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
  291. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
  292. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +0 -1
  293. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
  294. package/dist/components/Payroll/Dismissal/DismissalFlow.js +14 -14
  295. package/dist/components/Payroll/Dismissal/DismissalFlow.js.map +1 -1
  296. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +2 -2
  297. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js +21 -20
  298. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -1
  299. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +2 -1
  300. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +57 -55
  301. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
  302. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +2 -3
  303. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
  304. package/dist/components/Payroll/GrossUpModal/GrossUpModal.d.ts +1 -1
  305. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +83 -71
  306. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  307. package/dist/components/Payroll/GrossUpModal/GrossUpModal.module.scss.js +7 -7
  308. package/dist/components/Payroll/GrossUpModal/GrossUpModalTypes.d.ts +0 -1
  309. package/dist/components/Payroll/OffCycle/OffCycleFlow.d.ts +1 -1
  310. package/dist/components/Payroll/OffCycle/OffCycleFlow.js +24 -18
  311. package/dist/components/Payroll/OffCycle/OffCycleFlow.js.map +1 -1
  312. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +2 -0
  313. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js +28 -22
  314. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
  315. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +56 -53
  316. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
  317. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +17 -23
  318. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  319. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js +2 -2
  320. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js.map +1 -1
  321. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +2 -3
  322. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  323. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +2 -3
  324. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
  325. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +194 -190
  326. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  327. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +69 -69
  328. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  329. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +2 -1
  330. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +102 -76
  331. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
  332. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +1 -1
  333. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +228 -231
  334. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  335. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.module.scss.js +7 -7
  336. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +11 -0
  337. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +60 -25
  338. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
  339. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +2 -1
  340. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js +43 -41
  341. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
  342. package/dist/components/Payroll/PayrollExecutionFlow/index.d.ts +1 -1
  343. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.d.ts +1 -1
  344. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +62 -51
  345. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
  346. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js +13 -6
  347. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js.map +1 -1
  348. package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js +22 -20
  349. package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js.map +1 -1
  350. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +1 -0
  351. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
  352. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js +35 -14
  353. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -1
  354. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +80 -69
  355. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
  356. package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +0 -1
  357. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +59 -66
  358. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
  359. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +5 -4
  360. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +96 -103
  361. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  362. package/dist/components/Payroll/PayrollList/PayrollList.js +98 -64
  363. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  364. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +9 -1
  365. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +211 -132
  366. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  367. package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js +8 -6
  368. package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js.map +1 -1
  369. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +55 -53
  370. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  371. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +231 -222
  372. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  373. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +7 -8
  374. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
  375. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +2 -3
  376. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
  377. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +7 -8
  378. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
  379. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +2 -3
  380. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
  381. package/dist/components/Payroll/Transition/TransitionFlow.d.ts +1 -1
  382. package/dist/components/Payroll/Transition/TransitionFlow.js +29 -27
  383. package/dist/components/Payroll/Transition/TransitionFlow.js.map +1 -1
  384. package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +1 -0
  385. package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -1
  386. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js +44 -55
  387. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
  388. package/dist/components/Payroll/helpers.d.ts +5 -0
  389. package/dist/components/Payroll/helpers.js +81 -74
  390. package/dist/components/Payroll/helpers.js.map +1 -1
  391. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.d.ts +2 -2
  392. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js +6 -9
  393. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js.map +1 -1
  394. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.d.ts +1 -1
  395. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.js.map +1 -1
  396. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.d.ts +1 -2
  397. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.js.map +1 -1
  398. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.d.ts +2 -2
  399. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js.map +1 -1
  400. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.d.ts +3 -2
  401. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js +24 -22
  402. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js.map +1 -1
  403. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.d.ts +3 -2
  404. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js +22 -17
  405. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js.map +1 -1
  406. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.d.ts +3 -2
  407. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js +32 -30
  408. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js.map +1 -1
  409. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.d.ts +3 -2
  410. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js +26 -24
  411. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js.map +1 -1
  412. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.d.ts +3 -2
  413. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js +32 -30
  414. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js.map +1 -1
  415. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.d.ts +3 -2
  416. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js +24 -22
  417. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js.map +1 -1
  418. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.d.ts +3 -2
  419. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js +29 -27
  420. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js.map +1 -1
  421. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.d.ts +1 -1
  422. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.js.map +1 -1
  423. package/dist/components/UNSTABLE_Hooks/form/index.d.ts +3 -1
  424. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.d.ts +4 -0
  425. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js +13 -0
  426. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js.map +1 -0
  427. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.d.ts +1 -1
  428. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js +6 -6
  429. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js.map +1 -1
  430. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.d.ts +1 -1
  431. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js +2 -3
  432. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js.map +1 -1
  433. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.d.ts +22 -0
  434. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js +11 -0
  435. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js.map +1 -0
  436. package/dist/components/UNSTABLE_Hooks/form/withOptions.d.ts +1 -1
  437. package/dist/components/UNSTABLE_Hooks/form/withOptions.js.map +1 -1
  438. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js +2 -3
  439. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js.map +1 -1
  440. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.d.ts +4 -4
  441. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js +86 -89
  442. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js.map +1 -1
  443. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.d.ts +1 -1
  444. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.js.map +1 -1
  445. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.d.ts +10 -10
  446. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js +19 -19
  447. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js.map +1 -1
  448. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js +15 -16
  449. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js.map +1 -1
  450. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.d.ts +1 -1
  451. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js +27 -27
  452. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js.map +1 -1
  453. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +9 -9
  454. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js +15 -15
  455. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
  456. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js +14 -15
  457. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js.map +1 -1
  458. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.d.ts +1 -1
  459. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.js.map +1 -1
  460. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.d.ts +5 -5
  461. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js +13 -13
  462. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
  463. package/dist/components/UNSTABLE_Hooks/index.d.ts +3 -3
  464. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +5 -0
  465. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js +46 -0
  466. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -0
  467. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +5 -0
  468. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js +46 -0
  469. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -0
  470. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +5 -0
  471. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +46 -0
  472. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -0
  473. package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.d.ts +6 -0
  474. package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js +50 -0
  475. package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js.map +1 -0
  476. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.d.ts +5 -0
  477. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js +50 -0
  478. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js.map +1 -0
  479. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.d.ts +5 -0
  480. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js +46 -0
  481. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js.map +1 -0
  482. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +5 -0
  483. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +59 -0
  484. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -0
  485. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.d.ts +2 -0
  486. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js +25 -0
  487. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js.map +1 -0
  488. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +29 -0
  489. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js +98 -0
  490. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -0
  491. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/index.d.ts +3 -0
  492. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.d.ts +14 -0
  493. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js +290 -0
  494. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -0
  495. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTable.d.ts +2 -0
  496. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTableTypes.d.ts +26 -0
  497. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/index.d.ts +4 -0
  498. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +5 -0
  499. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js +35 -0
  500. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js.map +1 -0
  501. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +5 -0
  502. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js +35 -0
  503. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js.map +1 -0
  504. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.d.ts +5 -0
  505. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js +35 -0
  506. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js.map +1 -0
  507. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.d.ts +5 -0
  508. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js +35 -0
  509. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js.map +1 -0
  510. package/dist/components/UNSTABLE_TimeOff/index.d.ts +25 -0
  511. package/dist/components/UNSTABLE_TimeOff/index.js +27 -0
  512. package/dist/components/UNSTABLE_TimeOff/index.js.map +1 -0
  513. package/dist/components/index.d.ts +1 -0
  514. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +48 -46
  515. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
  516. package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
  517. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  518. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +2 -3
  519. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  520. package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.d.ts +10 -2
  521. package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.js.map +1 -1
  522. package/dist/contexts/ThemeProvider/useTheme.js.map +1 -1
  523. package/dist/helpers/breadcrumbHelpers.d.ts +14 -0
  524. package/dist/helpers/breadcrumbHelpers.js +35 -26
  525. package/dist/helpers/breadcrumbHelpers.js.map +1 -1
  526. package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.d.ts +1 -1
  527. package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.js +1 -1
  528. package/dist/helpers/collectErrors.js.map +1 -0
  529. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.d.ts +20 -0
  530. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js +38 -0
  531. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js.map +1 -0
  532. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.test.d.ts +1 -0
  533. package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.d.ts +2 -2
  534. package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.js +1 -1
  535. package/dist/hooks/useErrorHandling.js.map +1 -0
  536. package/dist/hooks/useErrorHandling.test.d.ts +1 -0
  537. package/dist/hooks/usePagination/usePagination.d.ts +2 -0
  538. package/dist/hooks/usePagination/usePagination.js +32 -29
  539. package/dist/hooks/usePagination/usePagination.js.map +1 -1
  540. package/dist/i18n/I18n.js +24 -24
  541. package/dist/i18n/I18n.js.map +1 -1
  542. package/dist/i18n/en/Company.PaySchedule.json.js +6 -6
  543. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js +24 -0
  544. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js.map +1 -0
  545. package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js +32 -0
  546. package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js.map +1 -0
  547. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js +22 -0
  548. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js.map +1 -0
  549. package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +32 -0
  550. package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js.map +1 -0
  551. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +52 -0
  552. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js.map +1 -0
  553. package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js +21 -0
  554. package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js.map +1 -0
  555. package/dist/i18n/en/Employee.EmployeeList.json.js +22 -20
  556. package/dist/i18n/en/Employee.EmployeeList.json.js.map +1 -1
  557. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js +40 -0
  558. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js.map +1 -0
  559. package/dist/i18n/en/Payroll.GrossUpModal.json.js +16 -14
  560. package/dist/i18n/en/Payroll.GrossUpModal.json.js.map +1 -1
  561. package/dist/i18n/en/Payroll.OffCycle.json.js +1 -1
  562. package/dist/i18n/en/Payroll.OffCycleTaxWithholding.json.js +5 -5
  563. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +38 -34
  564. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js.map +1 -1
  565. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +29 -25
  566. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -1
  567. package/dist/i18n/en/Payroll.PayrollHistory.json.js +12 -12
  568. package/dist/i18n/en/Payroll.PayrollList.json.js +28 -20
  569. package/dist/i18n/en/Payroll.PayrollList.json.js.map +1 -1
  570. package/dist/i18n/en/Payroll.PayrollOverview.json.js +64 -58
  571. package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -1
  572. package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js +8 -8
  573. package/dist/index.js +18 -16
  574. package/dist/index.js.map +1 -1
  575. package/dist/shared/constants.d.ts +46 -0
  576. package/dist/shared/constants.js +99 -74
  577. package/dist/shared/constants.js.map +1 -1
  578. package/dist/style.css +1 -1
  579. package/dist/types/i18next.d.ts +495 -9
  580. package/dist/{components/UNSTABLE_Hooks/types.d.ts → types/sdkHooks.d.ts} +28 -2
  581. package/docs/reference/endpoint-inventory.json +563 -385
  582. package/package.json +27 -18
  583. package/dist/components/Employee/EmployeeList/Actions.d.ts +0 -1
  584. package/dist/components/Employee/EmployeeList/Actions.js +0 -16
  585. package/dist/components/Employee/EmployeeList/Actions.js.map +0 -1
  586. package/dist/components/Employee/EmployeeList/Head.d.ts +0 -1
  587. package/dist/components/Employee/EmployeeList/Head.js +0 -15
  588. package/dist/components/Employee/EmployeeList/Head.js.map +0 -1
  589. package/dist/components/Employee/EmployeeList/List.d.ts +0 -2
  590. package/dist/components/Employee/EmployeeList/List.js +0 -125
  591. package/dist/components/Employee/EmployeeList/List.js.map +0 -1
  592. package/dist/components/Employee/EmployeeList/List.module.scss.js +0 -8
  593. package/dist/components/Employee/EmployeeList/List.module.scss.js.map +0 -1
  594. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js +0 -8
  595. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js.map +0 -1
  596. package/dist/components/UNSTABLE_Hooks/collectErrors.js.map +0 -1
  597. package/dist/components/UNSTABLE_Hooks/form/types.d.ts +0 -27
  598. package/dist/components/UNSTABLE_Hooks/useErrorHandling.js.map +0 -1
  599. /package/dist/components/{UNSTABLE_Hooks/useErrorHandling.test.d.ts → UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.test.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeOffStateMachine.js","sources":["../../../../src/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.ts"],"sourcesContent":["import { transition, reduce, state, guard } from 'robot3'\nimport {\n PolicyListContextual,\n PolicyTypeSelectorContextual,\n PolicyDetailsFormContextual,\n PolicySettingsContextual,\n AddEmployeesToPolicyContextual,\n ViewPolicyDetailsContextual,\n ViewPolicyEmployeesContextual,\n HolidaySelectionFormContextual,\n AddEmployeesHolidayContextual,\n ViewHolidayEmployeesContextual,\n ViewHolidayScheduleContextual,\n type TimeOffFlowContextInterface,\n type TimeOffFlowAlert,\n} from './TimeOffFlowComponents'\nimport { componentEvents } from '@/shared/constants'\nimport type { MachineTransition } from '@/types/Helpers'\n\ntype PolicyTypePayload = { policyType: 'sick' | 'vacation' | 'holiday' }\ntype PolicyCreatedPayload = { policyId: string }\ntype ErrorPayload = { alert?: TimeOffFlowAlert }\ntype ViewPolicyPayload = { policyId: string; policyType: 'sick' | 'vacation' | 'holiday' }\n\nfunction isSickOrVacation(_ctx: TimeOffFlowContextInterface, ev: { payload: PolicyTypePayload }) {\n return ev.payload.policyType === 'sick' || ev.payload.policyType === 'vacation'\n}\n\nfunction isHoliday(_ctx: TimeOffFlowContextInterface, ev: { payload: PolicyTypePayload }) {\n return ev.payload.policyType === 'holiday'\n}\n\nfunction isSickOrVacationView(\n _ctx: TimeOffFlowContextInterface,\n ev: { payload: ViewPolicyPayload },\n) {\n return ev.payload.policyType === 'sick' || ev.payload.policyType === 'vacation'\n}\n\nfunction isHolidayView(_ctx: TimeOffFlowContextInterface, ev: { payload: ViewPolicyPayload }) {\n return ev.payload.policyType === 'holiday'\n}\n\nconst cancelToPolicyList = transition(\n componentEvents.CANCEL,\n 'policyList',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: PolicyListContextual,\n alerts: undefined,\n }),\n ),\n)\n\nconst backToListTransition = transition(\n componentEvents.TIME_OFF_BACK_TO_LIST,\n 'policyList',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: PolicyListContextual,\n alerts: undefined,\n }),\n ),\n)\n\nexport const timeOffMachine = {\n policyList: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_CREATE_POLICY,\n 'policyTypeSelector',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: PolicyTypeSelectorContextual,\n alerts: undefined,\n }),\n ),\n ),\n transition(\n componentEvents.TIME_OFF_VIEW_POLICY,\n 'viewPolicyDetails',\n guard(isSickOrVacationView),\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: ViewPolicyPayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: ViewPolicyDetailsContextual,\n policyId: ev.payload.policyId,\n policyType: ev.payload.policyType,\n alerts: undefined,\n }),\n ),\n ),\n transition(\n componentEvents.TIME_OFF_VIEW_POLICY,\n 'viewHolidayEmployees',\n guard(isHolidayView),\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: ViewPolicyPayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: ViewHolidayEmployeesContextual,\n policyId: ev.payload.policyId,\n policyType: ev.payload.policyType,\n alerts: undefined,\n }),\n ),\n ),\n ),\n\n policyTypeSelector: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_POLICY_TYPE_SELECTED,\n 'policyDetailsForm',\n guard(isSickOrVacation),\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: PolicyTypePayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: PolicyDetailsFormContextual,\n policyType: ev.payload.policyType,\n alerts: undefined,\n }),\n ),\n ),\n transition(\n componentEvents.TIME_OFF_POLICY_TYPE_SELECTED,\n 'holidaySelectionForm',\n guard(isHoliday),\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: PolicyTypePayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: HolidaySelectionFormContextual,\n policyType: ev.payload.policyType,\n alerts: undefined,\n }),\n ),\n ),\n cancelToPolicyList,\n ),\n\n policyDetailsForm: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_POLICY_DETAILS_DONE,\n 'policySettings',\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: PolicyCreatedPayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: PolicySettingsContextual,\n policyId: ev.payload.policyId,\n alerts: undefined,\n }),\n ),\n ),\n transition(\n componentEvents.TIME_OFF_POLICY_CREATE_ERROR,\n 'policyTypeSelector',\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: ErrorPayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: PolicyTypeSelectorContextual,\n alerts: ev.payload.alert ? [ev.payload.alert] : undefined,\n }),\n ),\n ),\n cancelToPolicyList,\n ),\n\n policySettings: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_POLICY_SETTINGS_DONE,\n 'addEmployeesToPolicy',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: AddEmployeesToPolicyContextual,\n alerts: undefined,\n }),\n ),\n ),\n transition(\n componentEvents.TIME_OFF_POLICY_SETTINGS_ERROR,\n 'policyDetailsForm',\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: ErrorPayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: PolicyDetailsFormContextual,\n alerts: ev.payload.alert ? [ev.payload.alert] : undefined,\n }),\n ),\n ),\n cancelToPolicyList,\n ),\n\n addEmployeesToPolicy: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_ADD_EMPLOYEES_DONE,\n 'viewPolicyDetails',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: ViewPolicyDetailsContextual,\n alerts: undefined,\n }),\n ),\n ),\n transition(\n componentEvents.TIME_OFF_ADD_EMPLOYEES_ERROR,\n 'policySettings',\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: ErrorPayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: PolicySettingsContextual,\n alerts: ev.payload.alert ? [ev.payload.alert] : undefined,\n }),\n ),\n ),\n cancelToPolicyList,\n ),\n\n viewPolicyDetails: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_VIEW_POLICY_EMPLOYEES,\n 'viewPolicyEmployees',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: ViewPolicyEmployeesContextual,\n }),\n ),\n ),\n backToListTransition,\n ),\n\n viewPolicyEmployees: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_VIEW_POLICY_DETAILS,\n 'viewPolicyDetails',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: ViewPolicyDetailsContextual,\n }),\n ),\n ),\n backToListTransition,\n ),\n\n holidaySelectionForm: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_HOLIDAY_SELECTION_DONE,\n 'addEmployeesHoliday',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: AddEmployeesHolidayContextual,\n alerts: undefined,\n }),\n ),\n ),\n transition(\n componentEvents.TIME_OFF_HOLIDAY_CREATE_ERROR,\n 'policyTypeSelector',\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: ErrorPayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: PolicyTypeSelectorContextual,\n alerts: ev.payload.alert ? [ev.payload.alert] : undefined,\n }),\n ),\n ),\n cancelToPolicyList,\n ),\n\n addEmployeesHoliday: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_HOLIDAY_ADD_EMPLOYEES_DONE,\n 'viewHolidayEmployees',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: ViewHolidayEmployeesContextual,\n alerts: undefined,\n }),\n ),\n ),\n transition(\n componentEvents.TIME_OFF_HOLIDAY_ADD_EMPLOYEES_ERROR,\n 'holidaySelectionForm',\n reduce(\n (\n ctx: TimeOffFlowContextInterface,\n ev: { payload: ErrorPayload },\n ): TimeOffFlowContextInterface => ({\n ...ctx,\n component: HolidaySelectionFormContextual,\n alerts: ev.payload.alert ? [ev.payload.alert] : undefined,\n }),\n ),\n ),\n cancelToPolicyList,\n ),\n\n viewHolidayEmployees: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_VIEW_HOLIDAY_SCHEDULE,\n 'viewHolidaySchedule',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: ViewHolidayScheduleContextual,\n }),\n ),\n ),\n backToListTransition,\n ),\n\n viewHolidaySchedule: state<MachineTransition>(\n transition(\n componentEvents.TIME_OFF_VIEW_HOLIDAY_EMPLOYEES,\n 'viewHolidayEmployees',\n reduce(\n (ctx: TimeOffFlowContextInterface): TimeOffFlowContextInterface => ({\n ...ctx,\n component: ViewHolidayEmployeesContextual,\n }),\n ),\n ),\n backToListTransition,\n ),\n\n final: state<MachineTransition>(),\n}\n"],"names":["isSickOrVacation","_ctx","ev","isHoliday","isSickOrVacationView","isHolidayView","cancelToPolicyList","transition","componentEvents","reduce","ctx","PolicyListContextual","backToListTransition","timeOffMachine","state","PolicyTypeSelectorContextual","guard","ViewPolicyDetailsContextual","ViewHolidayEmployeesContextual","PolicyDetailsFormContextual","HolidaySelectionFormContextual","PolicySettingsContextual","AddEmployeesToPolicyContextual","ViewPolicyEmployeesContextual","AddEmployeesHolidayContextual","ViewHolidayScheduleContextual"],"mappings":";;;AAwBA,SAASA,EAAiBC,GAAmCC,GAAoC;AAC/F,SAAOA,EAAG,QAAQ,eAAe,UAAUA,EAAG,QAAQ,eAAe;AACvE;AAEA,SAASC,EAAUF,GAAmCC,GAAoC;AACxF,SAAOA,EAAG,QAAQ,eAAe;AACnC;AAEA,SAASE,EACPH,GACAC,GACA;AACA,SAAOA,EAAG,QAAQ,eAAe,UAAUA,EAAG,QAAQ,eAAe;AACvE;AAEA,SAASG,EAAcJ,GAAmCC,GAAoC;AAC5F,SAAOA,EAAG,QAAQ,eAAe;AACnC;AAEA,MAAMI,IAAqBC;AAAA,EACzBC,EAAgB;AAAA,EAChB;AAAA,EACAC;AAAA,IACE,CAACC,OAAmE;AAAA,MAClE,GAAGA;AAAA,MACH,WAAWC;AAAA,MACX,QAAQ;AAAA,IAAA;AAAA,EACV;AAEJ,GAEMC,IAAuBL;AAAA,EAC3BC,EAAgB;AAAA,EAChB;AAAA,EACAC;AAAA,IACE,CAACC,OAAmE;AAAA,MAClE,GAAGA;AAAA,MACH,WAAWC;AAAA,MACX,QAAQ;AAAA,IAAA;AAAA,EACV;AAEJ,GAEaE,IAAiB;AAAA,EAC5B,YAAYC;AAAA,IACVP;AAAA,MACEC,EAAgB;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E,CACEC,GACAR,OACiC;AAAA,UACjC,GAAGQ;AAAA,UACH,WAAWU;AAAA,UACX,QAAQlB,EAAG,QAAQ,QAAQ,CAACA,EAAG,QAAQ,KAAK,IAAI;AAAA,QAAA;AAAA,MAClD;AAAA,IACF;AAAA,IAEFI;AAAA,EAAA;AAAA,EAGF,sBAAsBQ;AAAA,IACpBP;AAAA,MACEC,EAAgB;AAAA,MAChB;AAAA,MACAC;AAAA,QACE,CAACC,OAAmE;AAAA,UAClE,GAAGA;AAAA,UACH,WAAWe;AAAA,QAAA;AAAA,MACb;AAAA,IACF;AAAA,IAEFb;AAAA,EAAA;AAAA,EAGF,qBAAqBE;AAAA,IACnBP;AAAA,MACEC,EAAgB;AAAA,MAChB;AAAA,MACAC;AAAA,QACE,CAACC,OAAmE;AAAA,UAClE,GAAGA;AAAA,UACH,WAAWQ;AAAA,QAAA;AAAA,MACb;AAAA,IACF;AAAA,IAEFN;AAAA,EAAA;AAAA,EAGF,OAAOE,EAAA;AACT;"}
@@ -0,0 +1,2 @@
1
+ import { EmployeeTableItem, EmployeeTableProps } from './EmployeeTableTypes';
2
+ export declare function EmployeeTable<T extends EmployeeTableItem>({ data, label, additionalColumns, searchValue, onSearchChange, onSearchClear, searchPlaceholder, selectionMode, onSelect, isItemSelected, itemMenu, pagination, isFetching, emptyState, emptySearchState, footer, }: EmployeeTableProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,26 @@
1
+ import { ReactNode } from 'react';
2
+ import { useDataViewProp, SelectionMode } from '../../../../Common/DataView/useDataView';
3
+ import { PaginationControlProps } from '../../../../Common/PaginationControl/PaginationControlTypes';
4
+ export interface EmployeeTableItem {
5
+ firstName?: string | null;
6
+ lastName?: string | null;
7
+ jobTitle?: string | null;
8
+ }
9
+ export interface EmployeeTableProps<T extends EmployeeTableItem> {
10
+ data: T[];
11
+ label?: string;
12
+ additionalColumns?: useDataViewProp<T>['columns'];
13
+ searchValue: string;
14
+ onSearchChange: (value: string) => void;
15
+ onSearchClear: () => void;
16
+ searchPlaceholder?: string;
17
+ selectionMode?: SelectionMode;
18
+ onSelect?: (item: T, checked: boolean) => void;
19
+ isItemSelected?: (item: T, index: number) => boolean;
20
+ itemMenu?: (item: T) => ReactNode;
21
+ pagination?: PaginationControlProps;
22
+ isFetching?: boolean;
23
+ emptyState?: () => ReactNode;
24
+ emptySearchState?: () => ReactNode;
25
+ footer?: useDataViewProp<T>['footer'];
26
+ }
@@ -0,0 +1,4 @@
1
+ import "./types/i18next.d.ts"
2
+ export { EmployeeTable } from './EmployeeTable';
3
+ export type { EmployeeTableProps, EmployeeTableItem } from './EmployeeTableTypes';
4
+ export { default as employeeTableStyles } from './EmployeeTable.module.scss';
@@ -0,0 +1,5 @@
1
+ import { BaseComponentInterface } from '../../Base';
2
+ export interface ViewHolidayEmployeesProps extends BaseComponentInterface {
3
+ companyId: string;
4
+ }
5
+ export declare function ViewHolidayEmployees(props: ViewHolidayEmployeesProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,35 @@
1
+ import { jsx as n, jsxs as e } from "react/jsx-runtime";
2
+ import { BaseComponent as t } from "../../Base/Base.js";
3
+ import "../../Base/useBase.js";
4
+ import { componentEvents as i } from "../../../shared/constants.js";
5
+ function r(o) {
6
+ return /* @__PURE__ */ n(t, { ...o, children: /* @__PURE__ */ e("div", { children: [
7
+ /* @__PURE__ */ e("p", { children: [
8
+ "View Holiday Employees (companyId: ",
9
+ o.companyId,
10
+ ")"
11
+ ] }),
12
+ /* @__PURE__ */ n(
13
+ "button",
14
+ {
15
+ onClick: () => {
16
+ o.onEvent(i.TIME_OFF_VIEW_HOLIDAY_SCHEDULE);
17
+ },
18
+ children: "Holiday Schedule Tab"
19
+ }
20
+ ),
21
+ /* @__PURE__ */ n(
22
+ "button",
23
+ {
24
+ onClick: () => {
25
+ o.onEvent(i.TIME_OFF_BACK_TO_LIST);
26
+ },
27
+ children: "Back to List"
28
+ }
29
+ )
30
+ ] }) });
31
+ }
32
+ export {
33
+ r as ViewHolidayEmployees
34
+ };
35
+ //# sourceMappingURL=ViewHolidayEmployees.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewHolidayEmployees.js","sources":["../../../../src/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.tsx"],"sourcesContent":["import { BaseComponent, type BaseComponentInterface } from '@/components/Base'\nimport { componentEvents } from '@/shared/constants'\n\nexport interface ViewHolidayEmployeesProps extends BaseComponentInterface {\n companyId: string\n}\n\nexport function ViewHolidayEmployees(props: ViewHolidayEmployeesProps) {\n return (\n <BaseComponent {...props}>\n <div>\n <p>View Holiday Employees (companyId: {props.companyId})</p>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_VIEW_HOLIDAY_SCHEDULE)\n }}\n >\n Holiday Schedule Tab\n </button>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_BACK_TO_LIST)\n }}\n >\n Back to List\n </button>\n </div>\n </BaseComponent>\n )\n}\n"],"names":["ViewHolidayEmployees","props","jsx","BaseComponent","jsxs","componentEvents"],"mappings":";;;;AAOO,SAASA,EAAqBC,GAAkC;AACrE,SACE,gBAAAC,EAACC,GAAA,EAAe,GAAGF,GACjB,4BAAC,OAAA,EACC,UAAA;AAAA,IAAA,gBAAAG,EAAC,KAAA,EAAE,UAAA;AAAA,MAAA;AAAA,MAAoCH,EAAM;AAAA,MAAU;AAAA,IAAA,GAAC;AAAA,IACxD,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,8BAA8B;AAAA,QAC9D;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAGD,gBAAAH;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,qBAAqB;AAAA,QACrD;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,EAAA,CACF,EAAA,CACF;AAEJ;"}
@@ -0,0 +1,5 @@
1
+ import { BaseComponentInterface } from '../../Base';
2
+ export interface ViewHolidayScheduleProps extends BaseComponentInterface {
3
+ companyId: string;
4
+ }
5
+ export declare function ViewHolidaySchedule(props: ViewHolidayScheduleProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,35 @@
1
+ import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
+ import { BaseComponent as t } from "../../Base/Base.js";
3
+ import "../../Base/useBase.js";
4
+ import { componentEvents as i } from "../../../shared/constants.js";
5
+ function r(n) {
6
+ return /* @__PURE__ */ e(t, { ...n, children: /* @__PURE__ */ o("div", { children: [
7
+ /* @__PURE__ */ o("p", { children: [
8
+ "View Holiday Schedule (companyId: ",
9
+ n.companyId,
10
+ ")"
11
+ ] }),
12
+ /* @__PURE__ */ e(
13
+ "button",
14
+ {
15
+ onClick: () => {
16
+ n.onEvent(i.TIME_OFF_VIEW_HOLIDAY_EMPLOYEES);
17
+ },
18
+ children: "View Employees Tab"
19
+ }
20
+ ),
21
+ /* @__PURE__ */ e(
22
+ "button",
23
+ {
24
+ onClick: () => {
25
+ n.onEvent(i.TIME_OFF_BACK_TO_LIST);
26
+ },
27
+ children: "Back to List"
28
+ }
29
+ )
30
+ ] }) });
31
+ }
32
+ export {
33
+ r as ViewHolidaySchedule
34
+ };
35
+ //# sourceMappingURL=ViewHolidaySchedule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewHolidaySchedule.js","sources":["../../../../src/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.tsx"],"sourcesContent":["import { BaseComponent, type BaseComponentInterface } from '@/components/Base'\nimport { componentEvents } from '@/shared/constants'\n\nexport interface ViewHolidayScheduleProps extends BaseComponentInterface {\n companyId: string\n}\n\nexport function ViewHolidaySchedule(props: ViewHolidayScheduleProps) {\n return (\n <BaseComponent {...props}>\n <div>\n <p>View Holiday Schedule (companyId: {props.companyId})</p>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_VIEW_HOLIDAY_EMPLOYEES)\n }}\n >\n View Employees Tab\n </button>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_BACK_TO_LIST)\n }}\n >\n Back to List\n </button>\n </div>\n </BaseComponent>\n )\n}\n"],"names":["ViewHolidaySchedule","props","jsx","BaseComponent","jsxs","componentEvents"],"mappings":";;;;AAOO,SAASA,EAAoBC,GAAiC;AACnE,SACE,gBAAAC,EAACC,GAAA,EAAe,GAAGF,GACjB,4BAAC,OAAA,EACC,UAAA;AAAA,IAAA,gBAAAG,EAAC,KAAA,EAAE,UAAA;AAAA,MAAA;AAAA,MAAmCH,EAAM;AAAA,MAAU;AAAA,IAAA,GAAC;AAAA,IACvD,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,+BAA+B;AAAA,QAC/D;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAGD,gBAAAH;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,qBAAqB;AAAA,QACrD;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,EAAA,CACF,EAAA,CACF;AAEJ;"}
@@ -0,0 +1,5 @@
1
+ import { BaseComponentInterface } from '../../Base';
2
+ export interface ViewPolicyDetailsProps extends BaseComponentInterface {
3
+ policyId: string;
4
+ }
5
+ export declare function ViewPolicyDetails(props: ViewPolicyDetailsProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,35 @@
1
+ import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
+ import { BaseComponent as t } from "../../Base/Base.js";
3
+ import "../../Base/useBase.js";
4
+ import { componentEvents as e } from "../../../shared/constants.js";
5
+ function E(i) {
6
+ return /* @__PURE__ */ o(t, { ...i, children: /* @__PURE__ */ n("div", { children: [
7
+ /* @__PURE__ */ n("p", { children: [
8
+ "View Policy Details (policyId: ",
9
+ i.policyId,
10
+ ")"
11
+ ] }),
12
+ /* @__PURE__ */ o(
13
+ "button",
14
+ {
15
+ onClick: () => {
16
+ i.onEvent(e.TIME_OFF_VIEW_POLICY_EMPLOYEES);
17
+ },
18
+ children: "View Employees Tab"
19
+ }
20
+ ),
21
+ /* @__PURE__ */ o(
22
+ "button",
23
+ {
24
+ onClick: () => {
25
+ i.onEvent(e.TIME_OFF_BACK_TO_LIST);
26
+ },
27
+ children: "Back to List"
28
+ }
29
+ )
30
+ ] }) });
31
+ }
32
+ export {
33
+ E as ViewPolicyDetails
34
+ };
35
+ //# sourceMappingURL=ViewPolicyDetails.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewPolicyDetails.js","sources":["../../../../src/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.tsx"],"sourcesContent":["import { BaseComponent, type BaseComponentInterface } from '@/components/Base'\nimport { componentEvents } from '@/shared/constants'\n\nexport interface ViewPolicyDetailsProps extends BaseComponentInterface {\n policyId: string\n}\n\nexport function ViewPolicyDetails(props: ViewPolicyDetailsProps) {\n return (\n <BaseComponent {...props}>\n <div>\n <p>View Policy Details (policyId: {props.policyId})</p>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_VIEW_POLICY_EMPLOYEES)\n }}\n >\n View Employees Tab\n </button>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_BACK_TO_LIST)\n }}\n >\n Back to List\n </button>\n </div>\n </BaseComponent>\n )\n}\n"],"names":["ViewPolicyDetails","props","jsx","BaseComponent","jsxs","componentEvents"],"mappings":";;;;AAOO,SAASA,EAAkBC,GAA+B;AAC/D,SACE,gBAAAC,EAACC,GAAA,EAAe,GAAGF,GACjB,4BAAC,OAAA,EACC,UAAA;AAAA,IAAA,gBAAAG,EAAC,KAAA,EAAE,UAAA;AAAA,MAAA;AAAA,MAAgCH,EAAM;AAAA,MAAS;AAAA,IAAA,GAAC;AAAA,IACnD,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,8BAA8B;AAAA,QAC9D;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAGD,gBAAAH;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,qBAAqB;AAAA,QACrD;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,EAAA,CACF,EAAA,CACF;AAEJ;"}
@@ -0,0 +1,5 @@
1
+ import { BaseComponentInterface } from '../../Base';
2
+ export interface ViewPolicyEmployeesProps extends BaseComponentInterface {
3
+ policyId: string;
4
+ }
5
+ export declare function ViewPolicyEmployees(props: ViewPolicyEmployeesProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,35 @@
1
+ import { jsx as i, jsxs as n } from "react/jsx-runtime";
2
+ import { BaseComponent as t } from "../../Base/Base.js";
3
+ import "../../Base/useBase.js";
4
+ import { componentEvents as e } from "../../../shared/constants.js";
5
+ function E(o) {
6
+ return /* @__PURE__ */ i(t, { ...o, children: /* @__PURE__ */ n("div", { children: [
7
+ /* @__PURE__ */ n("p", { children: [
8
+ "View Policy Employees (policyId: ",
9
+ o.policyId,
10
+ ")"
11
+ ] }),
12
+ /* @__PURE__ */ i(
13
+ "button",
14
+ {
15
+ onClick: () => {
16
+ o.onEvent(e.TIME_OFF_VIEW_POLICY_DETAILS);
17
+ },
18
+ children: "Policy Details Tab"
19
+ }
20
+ ),
21
+ /* @__PURE__ */ i(
22
+ "button",
23
+ {
24
+ onClick: () => {
25
+ o.onEvent(e.TIME_OFF_BACK_TO_LIST);
26
+ },
27
+ children: "Back to List"
28
+ }
29
+ )
30
+ ] }) });
31
+ }
32
+ export {
33
+ E as ViewPolicyEmployees
34
+ };
35
+ //# sourceMappingURL=ViewPolicyEmployees.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewPolicyEmployees.js","sources":["../../../../src/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.tsx"],"sourcesContent":["import { BaseComponent, type BaseComponentInterface } from '@/components/Base'\nimport { componentEvents } from '@/shared/constants'\n\nexport interface ViewPolicyEmployeesProps extends BaseComponentInterface {\n policyId: string\n}\n\nexport function ViewPolicyEmployees(props: ViewPolicyEmployeesProps) {\n return (\n <BaseComponent {...props}>\n <div>\n <p>View Policy Employees (policyId: {props.policyId})</p>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_VIEW_POLICY_DETAILS)\n }}\n >\n Policy Details Tab\n </button>\n <button\n onClick={() => {\n props.onEvent(componentEvents.TIME_OFF_BACK_TO_LIST)\n }}\n >\n Back to List\n </button>\n </div>\n </BaseComponent>\n )\n}\n"],"names":["ViewPolicyEmployees","props","jsx","BaseComponent","jsxs","componentEvents"],"mappings":";;;;AAOO,SAASA,EAAoBC,GAAiC;AACnE,SACE,gBAAAC,EAACC,GAAA,EAAe,GAAGF,GACjB,4BAAC,OAAA,EACC,UAAA;AAAA,IAAA,gBAAAG,EAAC,KAAA,EAAE,UAAA;AAAA,MAAA;AAAA,MAAkCH,EAAM;AAAA,MAAS;AAAA,IAAA,GAAC;AAAA,IACrD,gBAAAC;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,4BAA4B;AAAA,QAC5D;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAGD,gBAAAH;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,SAAS,MAAM;AACb,UAAAD,EAAM,QAAQI,EAAgB,qBAAqB;AAAA,QACrD;AAAA,QACD,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAED,EAAA,CACF,EAAA,CACF;AAEJ;"}
@@ -0,0 +1,25 @@
1
+ import "./types/i18next.d.ts"
2
+ export { PolicyList } from './PolicyList/PolicyList';
3
+ export type { PolicyListProps } from './PolicyList/PolicyList';
4
+ export { PolicyTypeSelector } from './PolicyTypeSelector/PolicyTypeSelector';
5
+ export type { PolicyTypeSelectorProps } from './PolicyTypeSelector/PolicyTypeSelector';
6
+ export { PolicyDetailsForm } from './PolicyDetailsForm/PolicyDetailsForm';
7
+ export type { PolicyDetailsFormProps } from './PolicyDetailsForm/PolicyDetailsForm';
8
+ export { PolicySettings } from './PolicySettings/PolicySettings';
9
+ export type { PolicySettingsProps } from './PolicySettings/PolicySettings';
10
+ export { AddEmployeesToPolicy } from './AddEmployeesToPolicy/AddEmployeesToPolicy';
11
+ export type { AddEmployeesToPolicyProps } from './AddEmployeesToPolicy/AddEmployeesToPolicy';
12
+ export { ViewPolicyDetails } from './ViewPolicyDetails/ViewPolicyDetails';
13
+ export type { ViewPolicyDetailsProps } from './ViewPolicyDetails/ViewPolicyDetails';
14
+ export { ViewPolicyEmployees } from './ViewPolicyEmployees/ViewPolicyEmployees';
15
+ export type { ViewPolicyEmployeesProps } from './ViewPolicyEmployees/ViewPolicyEmployees';
16
+ export { HolidaySelectionForm } from './HolidaySelectionForm/HolidaySelectionForm';
17
+ export type { HolidaySelectionFormProps } from './HolidaySelectionForm/HolidaySelectionForm';
18
+ export { AddEmployeesHoliday } from './AddEmployeesHoliday/AddEmployeesHoliday';
19
+ export type { AddEmployeesHolidayProps } from './AddEmployeesHoliday/AddEmployeesHoliday';
20
+ export { ViewHolidayEmployees } from './ViewHolidayEmployees/ViewHolidayEmployees';
21
+ export type { ViewHolidayEmployeesProps } from './ViewHolidayEmployees/ViewHolidayEmployees';
22
+ export { ViewHolidaySchedule } from './ViewHolidaySchedule/ViewHolidaySchedule';
23
+ export type { ViewHolidayScheduleProps } from './ViewHolidaySchedule/ViewHolidaySchedule';
24
+ export { TimeOffFlow } from './TimeOffFlow/TimeOffFlow';
25
+ export type { TimeOffFlowProps } from './TimeOffFlow/TimeOffFlowComponents';
@@ -0,0 +1,27 @@
1
+ import { PolicyList as r } from "./PolicyList/PolicyList.js";
2
+ import { PolicyTypeSelector as l } from "./PolicyTypeSelector/PolicyTypeSelector.js";
3
+ import { PolicyDetailsForm as t } from "./PolicyDetailsForm/PolicyDetailsForm.js";
4
+ import { PolicySettings as y } from "./PolicySettings/PolicySettings.js";
5
+ import { AddEmployeesToPolicy as x } from "./AddEmployeesToPolicy/AddEmployeesToPolicy.js";
6
+ import { ViewPolicyDetails as d } from "./ViewPolicyDetails/ViewPolicyDetails.js";
7
+ import { ViewPolicyEmployees as P } from "./ViewPolicyEmployees/ViewPolicyEmployees.js";
8
+ import { HolidaySelectionForm as w } from "./HolidaySelectionForm/HolidaySelectionForm.js";
9
+ import { AddEmployeesHoliday as H } from "./AddEmployeesHoliday/AddEmployeesHoliday.js";
10
+ import { ViewHolidayEmployees as V } from "./ViewHolidayEmployees/ViewHolidayEmployees.js";
11
+ import { ViewHolidaySchedule as T } from "./ViewHolidaySchedule/ViewHolidaySchedule.js";
12
+ import { TimeOffFlow as A } from "./TimeOffFlow/TimeOffFlow.js";
13
+ export {
14
+ H as AddEmployeesHoliday,
15
+ x as AddEmployeesToPolicy,
16
+ w as HolidaySelectionForm,
17
+ t as PolicyDetailsForm,
18
+ r as PolicyList,
19
+ y as PolicySettings,
20
+ l as PolicyTypeSelector,
21
+ A as TimeOffFlow,
22
+ V as ViewHolidayEmployees,
23
+ T as ViewHolidaySchedule,
24
+ d as ViewPolicyDetails,
25
+ P as ViewPolicyEmployees
26
+ };
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -4,3 +4,4 @@ export * as Contractor from './Contractor';
4
4
  export * as Employee from './Employee';
5
5
  export * as InformationRequests from './InformationRequests';
6
6
  export * as Payroll from './Payroll';
7
+ export * as UNSTABLE_TimeOff from './UNSTABLE_TimeOff';
@@ -4,74 +4,76 @@ import { TextArea as t } from "../../../components/Common/UI/TextArea/TextArea.j
4
4
  import { NumberInput as i } from "../../../components/Common/UI/NumberInput/NumberInput.js";
5
5
  import { CheckboxGroup as e } from "../../../components/Common/UI/CheckboxGroup/CheckboxGroup.js";
6
6
  import { ComboBox as p } from "../../../components/Common/UI/ComboBox/ComboBox.js";
7
- import { MultiSelectComboBox as f } from "../../../components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js";
7
+ import { MultiSelectComboBox as a } from "../../../components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js";
8
8
  import { Checkbox as n } from "../../../components/Common/UI/Checkbox/Checkbox.js";
9
- import { DatePicker as a } from "../../../components/Common/UI/DatePicker/DatePicker.js";
10
- import { Radio as d } from "../../../components/Common/UI/Radio/Radio.js";
11
- import { RadioGroup as u } from "../../../components/Common/UI/RadioGroup/RadioGroup.js";
12
- import { Select as c } from "../../../components/Common/UI/Select/Select.js";
13
- import { Switch as l } from "../../../components/Common/UI/Switch/Switch.js";
14
- import { Button as s } from "../../../components/Common/UI/Button/Button.js";
15
- import { ButtonIcon as x } from "../../../components/Common/UI/Button/ButtonIcon.js";
16
- import { Alert as B } from "../../../components/Common/UI/Alert/Alert.js";
17
- import { Card as b } from "../../../components/Common/UI/Card/Card.js";
18
- import { Box as C } from "../../../components/Common/UI/Box/Box.js";
19
- import { Badge as g } from "../../../components/Common/UI/Badge/Badge.js";
9
+ import { DatePicker as f } from "../../../components/Common/UI/DatePicker/DatePicker.js";
10
+ import { DateRangePicker as d } from "../../../components/Common/UI/DateRangePicker/DateRangePicker.js";
11
+ import { Radio as u } from "../../../components/Common/UI/Radio/Radio.js";
12
+ import { RadioGroup as c } from "../../../components/Common/UI/RadioGroup/RadioGroup.js";
13
+ import { Select as l } from "../../../components/Common/UI/Select/Select.js";
14
+ import { Switch as s } from "../../../components/Common/UI/Switch/Switch.js";
15
+ import { Button as x } from "../../../components/Common/UI/Button/Button.js";
16
+ import { ButtonIcon as B } from "../../../components/Common/UI/Button/ButtonIcon.js";
17
+ import { Alert as b } from "../../../components/Common/UI/Alert/Alert.js";
18
+ import { Card as C } from "../../../components/Common/UI/Card/Card.js";
19
+ import { Box as g } from "../../../components/Common/UI/Box/Box.js";
20
+ import { Badge as k } from "../../../components/Common/UI/Badge/Badge.js";
20
21
  import { Banner as L } from "../../../components/Common/UI/Banner/Banner.js";
21
22
  import { Link as T } from "../../../components/Common/UI/Link/Link.js";
22
- import { Menu as k } from "../../../components/Common/UI/Menu/Menu.js";
23
+ import { Menu as D } from "../../../components/Common/UI/Menu/Menu.js";
23
24
  import { Table as I } from "../../../components/Common/UI/Table/Table.js";
24
- import { OrderedList as S } from "../../../components/Common/UI/List/OrderedList.js";
25
- import { UnorderedList as h } from "../../../components/Common/UI/List/UnorderedList.js";
26
- import { Heading as D } from "../../../components/Common/UI/Heading/Heading.js";
25
+ import { OrderedList as P } from "../../../components/Common/UI/List/OrderedList.js";
26
+ import { UnorderedList as S } from "../../../components/Common/UI/List/UnorderedList.js";
27
+ import { Heading as h } from "../../../components/Common/UI/Heading/Heading.js";
27
28
  import { Text as M } from "../../../components/Common/UI/Text/Text.js";
28
- import { CalendarPreview as P } from "../../../components/Common/UI/CalendarPreview/CalendarPreview.js";
29
+ import { CalendarPreview as R } from "../../../components/Common/UI/CalendarPreview/CalendarPreview.js";
29
30
  import { ProgressBar as w } from "../../../components/Common/UI/ProgressBar/ProgressBar.js";
30
31
  import { Breadcrumbs as A } from "../../../components/Common/UI/Breadcrumbs/Breadcrumbs.js";
31
32
  import { Tabs as G } from "../../../components/Common/UI/Tabs/Tabs.js";
32
- import { Dialog as R } from "../../../components/Common/UI/Dialog/Dialog.js";
33
- import { Modal as v } from "../../../components/Common/UI/Modal/Modal.js";
34
- import { LoadingSpinner as F } from "../../../components/Common/UI/LoadingSpinner/LoadingSpinner.js";
35
- import { DescriptionList as H } from "../../../components/Common/UI/DescriptionList/DescriptionList.js";
36
- import { FileInput as N } from "../../../components/Common/UI/FileInput/FileInput.js";
37
- const Lo = {
38
- Alert: (o) => /* @__PURE__ */ r(B, { ...o }),
39
- Badge: (o) => /* @__PURE__ */ r(g, { ...o }),
33
+ import { Dialog as v } from "../../../components/Common/UI/Dialog/Dialog.js";
34
+ import { Modal as F } from "../../../components/Common/UI/Modal/Modal.js";
35
+ import { LoadingSpinner as H } from "../../../components/Common/UI/LoadingSpinner/LoadingSpinner.js";
36
+ import { DescriptionList as N } from "../../../components/Common/UI/DescriptionList/DescriptionList.js";
37
+ import { FileInput as O } from "../../../components/Common/UI/FileInput/FileInput.js";
38
+ const To = {
39
+ Alert: (o) => /* @__PURE__ */ r(b, { ...o }),
40
+ Badge: (o) => /* @__PURE__ */ r(k, { ...o }),
40
41
  Banner: (o) => /* @__PURE__ */ r(L, { ...o }),
41
- Button: (o) => /* @__PURE__ */ r(s, { ...o }),
42
- ButtonIcon: (o) => /* @__PURE__ */ r(x, { ...o }),
43
- Card: (o) => /* @__PURE__ */ r(b, { ...o }),
44
- Box: (o) => /* @__PURE__ */ r(C, { ...o }),
42
+ Button: (o) => /* @__PURE__ */ r(x, { ...o }),
43
+ ButtonIcon: (o) => /* @__PURE__ */ r(B, { ...o }),
44
+ Card: (o) => /* @__PURE__ */ r(C, { ...o }),
45
+ Box: (o) => /* @__PURE__ */ r(g, { ...o }),
45
46
  TextInput: (o) => /* @__PURE__ */ r(m, { ...o }),
46
47
  TextArea: (o) => /* @__PURE__ */ r(t, { ...o }),
47
48
  Checkbox: (o) => /* @__PURE__ */ r(n, { ...o }),
48
49
  CheckboxGroup: (o) => /* @__PURE__ */ r(e, { ...o }),
49
50
  ComboBox: (o) => /* @__PURE__ */ r(p, { ...o }),
50
- MultiSelectComboBox: (o) => /* @__PURE__ */ r(f, { ...o }),
51
- DatePicker: (o) => /* @__PURE__ */ r(a, { ...o }),
52
- OrderedList: (o) => /* @__PURE__ */ r(S, { ...o }),
53
- UnorderedList: (o) => /* @__PURE__ */ r(h, { ...o }),
51
+ MultiSelectComboBox: (o) => /* @__PURE__ */ r(a, { ...o }),
52
+ DatePicker: (o) => /* @__PURE__ */ r(f, { ...o }),
53
+ DateRangePicker: (o) => /* @__PURE__ */ r(d, { ...o }),
54
+ OrderedList: (o) => /* @__PURE__ */ r(P, { ...o }),
55
+ UnorderedList: (o) => /* @__PURE__ */ r(S, { ...o }),
54
56
  NumberInput: (o) => /* @__PURE__ */ r(i, { ...o }),
55
- Radio: (o) => /* @__PURE__ */ r(d, { ...o }),
56
- RadioGroup: (o) => /* @__PURE__ */ r(u, { ...o }),
57
- Select: (o) => /* @__PURE__ */ r(c, { ...o }),
58
- Switch: (o) => /* @__PURE__ */ r(l, { ...o }),
57
+ Radio: (o) => /* @__PURE__ */ r(u, { ...o }),
58
+ RadioGroup: (o) => /* @__PURE__ */ r(c, { ...o }),
59
+ Select: (o) => /* @__PURE__ */ r(l, { ...o }),
60
+ Switch: (o) => /* @__PURE__ */ r(s, { ...o }),
59
61
  Link: (o) => /* @__PURE__ */ r(T, { ...o }),
60
- Menu: (o) => /* @__PURE__ */ r(k, { ...o }),
62
+ Menu: (o) => /* @__PURE__ */ r(D, { ...o }),
61
63
  Table: (o) => /* @__PURE__ */ r(I, { ...o }),
62
- Heading: (o) => /* @__PURE__ */ r(D, { ...o }),
64
+ Heading: (o) => /* @__PURE__ */ r(h, { ...o }),
63
65
  Text: (o) => /* @__PURE__ */ r(M, { ...o }),
64
- CalendarPreview: (o) => /* @__PURE__ */ r(P, { ...o }),
66
+ CalendarPreview: (o) => /* @__PURE__ */ r(R, { ...o }),
65
67
  ProgressBar: (o) => /* @__PURE__ */ r(w, { ...o }),
66
68
  Breadcrumbs: (o) => /* @__PURE__ */ r(A, { ...o }),
67
69
  Tabs: (o) => /* @__PURE__ */ r(G, { ...o }),
68
- Dialog: (o) => /* @__PURE__ */ r(R, { ...o }),
69
- Modal: (o) => /* @__PURE__ */ r(v, { ...o }),
70
- LoadingSpinner: (o) => /* @__PURE__ */ r(F, { ...o }),
71
- DescriptionList: (o) => /* @__PURE__ */ r(H, { ...o }),
72
- FileInput: (o) => /* @__PURE__ */ r(N, { ...o })
70
+ Dialog: (o) => /* @__PURE__ */ r(v, { ...o }),
71
+ Modal: (o) => /* @__PURE__ */ r(F, { ...o }),
72
+ LoadingSpinner: (o) => /* @__PURE__ */ r(H, { ...o }),
73
+ DescriptionList: (o) => /* @__PURE__ */ r(N, { ...o }),
74
+ FileInput: (o) => /* @__PURE__ */ r(O, { ...o })
73
75
  };
74
76
  export {
75
- Lo as defaultComponents
77
+ To as defaultComponents
76
78
  };
77
79
  //# sourceMappingURL=defaultComponentAdapter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaultComponentAdapter.js","sources":["../../../../src/contexts/ComponentAdapter/adapters/defaultComponentAdapter.tsx"],"sourcesContent":["// This is used to set the default adapter and can already be ommitted by using the\n// `GustoProviderCustomUIAdapter` component. That means this is a safe file to use\n// non type imports from the UI directory so the lint rule is disabled for this file.\n/* eslint-disable no-restricted-imports */\nimport type { ComponentsContextType } from '../useComponentContext'\nimport type { TextInputProps } from '@/components/Common/UI/TextInput/TextInputTypes'\nimport { TextInput } from '@/components/Common/UI/TextInput'\nimport type { TextAreaProps } from '@/components/Common/UI/TextArea/TextAreaTypes'\nimport { TextArea } from '@/components/Common/UI/TextArea'\nimport type { NumberInputProps } from '@/components/Common/UI/NumberInput/NumberInputTypes'\nimport { NumberInput } from '@/components/Common/UI/NumberInput'\nimport type { CheckboxGroupProps } from '@/components/Common/UI/CheckboxGroup/CheckboxGroupTypes'\nimport { CheckboxGroup } from '@/components/Common/UI/CheckboxGroup'\nimport type { ComboBoxProps } from '@/components/Common/UI/ComboBox/ComboBoxTypes'\nimport { ComboBox } from '@/components/Common/UI/ComboBox/ComboBox'\nimport type { MultiSelectComboBoxProps } from '@/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes'\nimport { MultiSelectComboBox } from '@/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox'\nimport type { CheckboxProps } from '@/components/Common/UI/Checkbox/CheckboxTypes'\nimport { Checkbox } from '@/components/Common/UI/Checkbox'\nimport type { DatePickerProps } from '@/components/Common/UI/DatePicker/DatePickerTypes'\nimport { DatePicker } from '@/components/Common/UI/DatePicker'\nimport type { RadioProps } from '@/components/Common/UI/Radio/RadioTypes'\nimport { Radio } from '@/components/Common/UI/Radio'\nimport type { RadioGroupProps } from '@/components/Common/UI/RadioGroup/RadioGroupTypes'\nimport { RadioGroup } from '@/components/Common/UI/RadioGroup'\nimport type { SelectProps } from '@/components/Common/UI/Select/SelectTypes'\nimport { Select } from '@/components/Common/UI/Select'\nimport type { SwitchProps } from '@/components/Common/UI/Switch/SwitchTypes'\nimport { Switch } from '@/components/Common/UI/Switch'\nimport type { ButtonProps, ButtonIconProps } from '@/components/Common/UI/Button/ButtonTypes'\nimport { Button } from '@/components/Common/UI/Button'\nimport { ButtonIcon } from '@/components/Common/UI/Button/ButtonIcon'\nimport type { AlertProps } from '@/components/Common/UI/Alert/AlertTypes'\nimport { Alert } from '@/components/Common/UI/Alert/Alert'\nimport type { CardProps } from '@/components/Common/UI/Card/CardTypes'\nimport { Card } from '@/components/Common/UI/Card/Card'\nimport type { BoxProps } from '@/components/Common/UI/Box/BoxTypes'\nimport { Box } from '@/components/Common/UI/Box/Box'\nimport { Badge } from '@/components/Common/UI/Badge/Badge'\nimport type { BadgeProps } from '@/components/Common/UI/Badge/BadgeTypes'\nimport { Banner } from '@/components/Common/UI/Banner/Banner'\nimport type { BannerProps } from '@/components/Common/UI/Banner/BannerTypes'\nimport type { LinkProps } from '@/components/Common/UI/Link/LinkTypes'\nimport { Link } from '@/components/Common/UI/Link'\nimport type { MenuProps } from '@/components/Common/UI/Menu/MenuTypes'\nimport { Menu } from '@/components/Common/UI/Menu'\nimport type { TableProps } from '@/components/Common/UI/Table'\nimport { Table } from '@/components/Common/UI/Table'\nimport type { OrderedListProps, UnorderedListProps } from '@/components/Common/UI/List'\nimport { OrderedList, UnorderedList } from '@/components/Common/UI/List'\nimport { Heading } from '@/components/Common/UI/Heading'\nimport type { HeadingProps } from '@/components/Common/UI/Heading/HeadingTypes'\nimport { Text } from '@/components/Common/UI/Text'\nimport type { TextProps } from '@/components/Common/UI/Text/TextTypes'\nimport { CalendarPreview } from '@/components/Common/UI/CalendarPreview'\nimport type { CalendarPreviewProps } from '@/components/Common/UI/CalendarPreview/CalendarPreviewTypes'\nimport type { ProgressBarProps } from '@/components/Common/UI/ProgressBar'\nimport { ProgressBar } from '@/components/Common/UI/ProgressBar'\nimport type { BreadcrumbsProps } from '@/components/Common/UI/Breadcrumbs'\nimport { Breadcrumbs } from '@/components/Common/UI/Breadcrumbs'\nimport type { TabsProps } from '@/components/Common/UI/Tabs/TabsTypes'\nimport { Tabs } from '@/components/Common/UI/Tabs'\nimport type { DialogProps } from '@/components/Common/UI/Dialog/DialogTypes'\nimport { Dialog } from '@/components/Common/UI/Dialog'\nimport type { ModalProps } from '@/components/Common/UI/Modal/ModalTypes'\nimport { Modal } from '@/components/Common/UI/Modal'\nimport type { LoadingSpinnerProps } from '@/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes'\nimport { LoadingSpinner } from '@/components/Common/UI/LoadingSpinner'\nimport type { DescriptionListProps } from '@/components/Common/UI/DescriptionList/DescriptionListTypes'\nimport { DescriptionList } from '@/components/Common/UI/DescriptionList'\nimport type { FileInputProps } from '@/components/Common/UI/FileInput/FileInputTypes'\nimport { FileInput } from '@/components/Common/UI/FileInput'\n\nexport const defaultComponents: ComponentsContextType = {\n Alert: (props: AlertProps) => <Alert {...props} />,\n Badge: (props: BadgeProps) => <Badge {...props} />,\n Banner: (props: BannerProps) => <Banner {...props} />,\n Button: (props: ButtonProps) => <Button {...props} />,\n ButtonIcon: (props: ButtonIconProps) => <ButtonIcon {...props} />,\n Card: (props: CardProps) => <Card {...props} />,\n Box: (props: BoxProps) => <Box {...props} />,\n TextInput: (props: TextInputProps) => <TextInput {...props} />,\n TextArea: (props: TextAreaProps) => <TextArea {...props} />,\n Checkbox: (props: CheckboxProps) => <Checkbox {...props} />,\n CheckboxGroup: (props: CheckboxGroupProps) => <CheckboxGroup {...props} />,\n ComboBox: (props: ComboBoxProps) => <ComboBox {...props} />,\n MultiSelectComboBox: (props: MultiSelectComboBoxProps) => <MultiSelectComboBox {...props} />,\n DatePicker: (props: DatePickerProps) => <DatePicker {...props} />,\n OrderedList: (props: OrderedListProps) => <OrderedList {...props} />,\n UnorderedList: (props: UnorderedListProps) => <UnorderedList {...props} />,\n NumberInput: (props: NumberInputProps) => <NumberInput {...props} />,\n Radio: (props: RadioProps) => <Radio {...props} />,\n RadioGroup: (props: RadioGroupProps) => <RadioGroup {...props} />,\n Select: (props: SelectProps) => <Select {...props} />,\n Switch: (props: SwitchProps) => <Switch {...props} />,\n Link: (props: LinkProps) => <Link {...props} />,\n Menu: (props: MenuProps) => <Menu {...props} />,\n Table: (props: TableProps) => <Table {...props} />,\n Heading: (props: HeadingProps) => <Heading {...props} />,\n Text: (props: TextProps) => <Text {...props} />,\n CalendarPreview: (props: CalendarPreviewProps) => <CalendarPreview {...props} />,\n ProgressBar: (props: ProgressBarProps) => <ProgressBar {...props} />,\n Breadcrumbs: (props: BreadcrumbsProps) => <Breadcrumbs {...props} />,\n Tabs: (props: TabsProps) => <Tabs {...props} />,\n Dialog: (props: DialogProps) => <Dialog {...props} />,\n Modal: (props: ModalProps) => <Modal {...props} />,\n LoadingSpinner: (props: LoadingSpinnerProps) => <LoadingSpinner {...props} />,\n DescriptionList: (props: DescriptionListProps) => <DescriptionList {...props} />,\n FileInput: (props: FileInputProps) => <FileInput {...props} />,\n}\n"],"names":["defaultComponents","props","jsx","Alert","Badge","Banner","Button","ButtonIcon","Card","Box","TextInput","TextArea","Checkbox","CheckboxGroup","ComboBox","MultiSelectComboBox","DatePicker","OrderedList","UnorderedList","NumberInput","Radio","RadioGroup","Select","Switch","Link","Menu","Table","Heading","Text","CalendarPreview","ProgressBar","Breadcrumbs","Tabs","Dialog","Modal","LoadingSpinner","DescriptionList","FileInput"],"mappings":";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EAACiC,GAAA,EAAgB,GAAGlC,GAAO;AAAA,EAC3E,iBAAiB,CAACA,MAAgC,gBAAAC,EAACkC,GAAA,EAAiB,GAAGnC,GAAO;AAAA,EAC9E,WAAW,CAACA,MAA0B,gBAAAC,EAACmC,GAAA,EAAW,GAAGpC,EAAA,CAAO;AAC9D;"}
1
+ {"version":3,"file":"defaultComponentAdapter.js","sources":["../../../../src/contexts/ComponentAdapter/adapters/defaultComponentAdapter.tsx"],"sourcesContent":["// This is used to set the default adapter and can already be ommitted by using the\n// `GustoProviderCustomUIAdapter` component. That means this is a safe file to use\n// non type imports from the UI directory so the lint rule is disabled for this file.\n/* eslint-disable no-restricted-imports */\nimport type { ComponentsContextType } from '../useComponentContext'\nimport type { TextInputProps } from '@/components/Common/UI/TextInput/TextInputTypes'\nimport { TextInput } from '@/components/Common/UI/TextInput'\nimport type { TextAreaProps } from '@/components/Common/UI/TextArea/TextAreaTypes'\nimport { TextArea } from '@/components/Common/UI/TextArea'\nimport type { NumberInputProps } from '@/components/Common/UI/NumberInput/NumberInputTypes'\nimport { NumberInput } from '@/components/Common/UI/NumberInput'\nimport type { CheckboxGroupProps } from '@/components/Common/UI/CheckboxGroup/CheckboxGroupTypes'\nimport { CheckboxGroup } from '@/components/Common/UI/CheckboxGroup'\nimport type { ComboBoxProps } from '@/components/Common/UI/ComboBox/ComboBoxTypes'\nimport { ComboBox } from '@/components/Common/UI/ComboBox/ComboBox'\nimport type { MultiSelectComboBoxProps } from '@/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes'\nimport { MultiSelectComboBox } from '@/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox'\nimport type { CheckboxProps } from '@/components/Common/UI/Checkbox/CheckboxTypes'\nimport { Checkbox } from '@/components/Common/UI/Checkbox'\nimport type { DatePickerProps } from '@/components/Common/UI/DatePicker/DatePickerTypes'\nimport { DatePicker } from '@/components/Common/UI/DatePicker'\nimport type { DateRangePickerProps } from '@/components/Common/UI/DateRangePicker/DateRangePickerTypes'\nimport { DateRangePicker } from '@/components/Common/UI/DateRangePicker'\nimport type { RadioProps } from '@/components/Common/UI/Radio/RadioTypes'\nimport { Radio } from '@/components/Common/UI/Radio'\nimport type { RadioGroupProps } from '@/components/Common/UI/RadioGroup/RadioGroupTypes'\nimport { RadioGroup } from '@/components/Common/UI/RadioGroup'\nimport type { SelectProps } from '@/components/Common/UI/Select/SelectTypes'\nimport { Select } from '@/components/Common/UI/Select'\nimport type { SwitchProps } from '@/components/Common/UI/Switch/SwitchTypes'\nimport { Switch } from '@/components/Common/UI/Switch'\nimport type { ButtonProps, ButtonIconProps } from '@/components/Common/UI/Button/ButtonTypes'\nimport { Button } from '@/components/Common/UI/Button'\nimport { ButtonIcon } from '@/components/Common/UI/Button/ButtonIcon'\nimport type { AlertProps } from '@/components/Common/UI/Alert/AlertTypes'\nimport { Alert } from '@/components/Common/UI/Alert/Alert'\nimport type { CardProps } from '@/components/Common/UI/Card/CardTypes'\nimport { Card } from '@/components/Common/UI/Card/Card'\nimport type { BoxProps } from '@/components/Common/UI/Box/BoxTypes'\nimport { Box } from '@/components/Common/UI/Box/Box'\nimport { Badge } from '@/components/Common/UI/Badge/Badge'\nimport type { BadgeProps } from '@/components/Common/UI/Badge/BadgeTypes'\nimport { Banner } from '@/components/Common/UI/Banner/Banner'\nimport type { BannerProps } from '@/components/Common/UI/Banner/BannerTypes'\nimport type { LinkProps } from '@/components/Common/UI/Link/LinkTypes'\nimport { Link } from '@/components/Common/UI/Link'\nimport type { MenuProps } from '@/components/Common/UI/Menu/MenuTypes'\nimport { Menu } from '@/components/Common/UI/Menu'\nimport type { TableProps } from '@/components/Common/UI/Table'\nimport { Table } from '@/components/Common/UI/Table'\nimport type { OrderedListProps, UnorderedListProps } from '@/components/Common/UI/List'\nimport { OrderedList, UnorderedList } from '@/components/Common/UI/List'\nimport { Heading } from '@/components/Common/UI/Heading'\nimport type { HeadingProps } from '@/components/Common/UI/Heading/HeadingTypes'\nimport { Text } from '@/components/Common/UI/Text'\nimport type { TextProps } from '@/components/Common/UI/Text/TextTypes'\nimport { CalendarPreview } from '@/components/Common/UI/CalendarPreview'\nimport type { CalendarPreviewProps } from '@/components/Common/UI/CalendarPreview/CalendarPreviewTypes'\nimport type { ProgressBarProps } from '@/components/Common/UI/ProgressBar'\nimport { ProgressBar } from '@/components/Common/UI/ProgressBar'\nimport type { BreadcrumbsProps } from '@/components/Common/UI/Breadcrumbs'\nimport { Breadcrumbs } from '@/components/Common/UI/Breadcrumbs'\nimport type { TabsProps } from '@/components/Common/UI/Tabs/TabsTypes'\nimport { Tabs } from '@/components/Common/UI/Tabs'\nimport type { DialogProps } from '@/components/Common/UI/Dialog/DialogTypes'\nimport { Dialog } from '@/components/Common/UI/Dialog'\nimport type { ModalProps } from '@/components/Common/UI/Modal/ModalTypes'\nimport { Modal } from '@/components/Common/UI/Modal'\nimport type { LoadingSpinnerProps } from '@/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes'\nimport { LoadingSpinner } from '@/components/Common/UI/LoadingSpinner'\nimport type { DescriptionListProps } from '@/components/Common/UI/DescriptionList/DescriptionListTypes'\nimport { DescriptionList } from '@/components/Common/UI/DescriptionList'\nimport type { FileInputProps } from '@/components/Common/UI/FileInput/FileInputTypes'\nimport { FileInput } from '@/components/Common/UI/FileInput'\n\nexport const defaultComponents: ComponentsContextType = {\n Alert: (props: AlertProps) => <Alert {...props} />,\n Badge: (props: BadgeProps) => <Badge {...props} />,\n Banner: (props: BannerProps) => <Banner {...props} />,\n Button: (props: ButtonProps) => <Button {...props} />,\n ButtonIcon: (props: ButtonIconProps) => <ButtonIcon {...props} />,\n Card: (props: CardProps) => <Card {...props} />,\n Box: (props: BoxProps) => <Box {...props} />,\n TextInput: (props: TextInputProps) => <TextInput {...props} />,\n TextArea: (props: TextAreaProps) => <TextArea {...props} />,\n Checkbox: (props: CheckboxProps) => <Checkbox {...props} />,\n CheckboxGroup: (props: CheckboxGroupProps) => <CheckboxGroup {...props} />,\n ComboBox: (props: ComboBoxProps) => <ComboBox {...props} />,\n MultiSelectComboBox: (props: MultiSelectComboBoxProps) => <MultiSelectComboBox {...props} />,\n DatePicker: (props: DatePickerProps) => <DatePicker {...props} />,\n DateRangePicker: (props: DateRangePickerProps) => <DateRangePicker {...props} />,\n OrderedList: (props: OrderedListProps) => <OrderedList {...props} />,\n UnorderedList: (props: UnorderedListProps) => <UnorderedList {...props} />,\n NumberInput: (props: NumberInputProps) => <NumberInput {...props} />,\n Radio: (props: RadioProps) => <Radio {...props} />,\n RadioGroup: (props: RadioGroupProps) => <RadioGroup {...props} />,\n Select: (props: SelectProps) => <Select {...props} />,\n Switch: (props: SwitchProps) => <Switch {...props} />,\n Link: (props: LinkProps) => <Link {...props} />,\n Menu: (props: MenuProps) => <Menu {...props} />,\n Table: (props: TableProps) => <Table {...props} />,\n Heading: (props: HeadingProps) => <Heading {...props} />,\n Text: (props: TextProps) => <Text {...props} />,\n CalendarPreview: (props: CalendarPreviewProps) => <CalendarPreview {...props} />,\n ProgressBar: (props: ProgressBarProps) => <ProgressBar {...props} />,\n Breadcrumbs: (props: BreadcrumbsProps) => <Breadcrumbs {...props} />,\n Tabs: (props: TabsProps) => <Tabs {...props} />,\n Dialog: (props: DialogProps) => <Dialog {...props} />,\n Modal: (props: ModalProps) => <Modal {...props} />,\n LoadingSpinner: (props: LoadingSpinnerProps) => <LoadingSpinner {...props} />,\n DescriptionList: (props: DescriptionListProps) => <DescriptionList {...props} />,\n FileInput: (props: FileInputProps) => <FileInput {...props} />,\n}\n"],"names":["defaultComponents","props","jsx","Alert","Badge","Banner","Button","ButtonIcon","Card","Box","TextInput","TextArea","Checkbox","CheckboxGroup","ComboBox","MultiSelectComboBox","DatePicker","DateRangePicker","OrderedList","UnorderedList","NumberInput","Radio","RadioGroup","Select","Switch","Link","Menu","Table","Heading","Text","CalendarPreview","ProgressBar","Breadcrumbs","Tabs","Dialog","Modal","LoadingSpinner","DescriptionList","FileInput"],"mappings":";;;;;;;;;;;;;;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,EAAO,GAAGlC,GAAO;AAAA,EAChD,gBAAgB,CAACA,MAA+B,gBAAAC,EAACkC,GAAA,EAAgB,GAAGnC,GAAO;AAAA,EAC3E,iBAAiB,CAACA,MAAgC,gBAAAC,EAACmC,GAAA,EAAiB,GAAGpC,GAAO;AAAA,EAC9E,WAAW,CAACA,MAA0B,gBAAAC,EAACoC,GAAA,EAAW,GAAGrC,EAAA,CAAO;AAC9D;"}
@@ -24,6 +24,7 @@ import { HeadingProps } from '../../components/Common/UI/Heading/HeadingTypes';
24
24
  import { PaginationControlProps } from '../../components/Common/PaginationControl/PaginationControlTypes';
25
25
  import { TextProps } from '../../components/Common/UI/Text/TextTypes';
26
26
  import { CalendarPreviewProps } from '../../components/Common/UI/CalendarPreview/CalendarPreviewTypes';
27
+ import { DateRangePickerProps } from '../../components/Common/UI/DateRangePicker/DateRangePickerTypes';
27
28
  import { ProgressBarProps } from '../../components/Common/UI/ProgressBar/ProgressBarTypes';
28
29
  import { BreadcrumbsProps } from '../../components/Common/UI/Breadcrumbs/BreadcrumbsTypes';
29
30
  import { TabsProps } from '../../components/Common/UI/Tabs/TabsTypes';
@@ -47,6 +48,7 @@ export interface ComponentsContextType {
47
48
  ComboBox: (props: ComboBoxProps) => JSX.Element | null;
48
49
  MultiSelectComboBox: (props: MultiSelectComboBoxProps) => JSX.Element | null;
49
50
  DatePicker: (props: DatePickerProps) => JSX.Element | null;
51
+ DateRangePicker: (props: DateRangePickerProps) => JSX.Element | null;
50
52
  OrderedList: (props: OrderedListProps) => JSX.Element | null;
51
53
  UnorderedList: (props: UnorderedListProps) => JSX.Element | null;
52
54
  NumberInput: (props: NumberInputProps) => JSX.Element | null;
@@ -1 +1 @@
1
- {"version":3,"file":"useComponentContext.js","sources":["../../../src/contexts/ComponentAdapter/useComponentContext.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { JSX } from 'react'\nimport type { TextInputProps } from '@/components/Common/UI/TextInput/TextInputTypes'\nimport type { TextAreaProps } from '@/components/Common/UI/TextArea/TextAreaTypes'\nimport type { NumberInputProps } from '@/components/Common/UI/NumberInput/NumberInputTypes'\nimport type { CheckboxGroupProps } from '@/components/Common/UI/CheckboxGroup/CheckboxGroupTypes'\nimport type { ComboBoxProps } from '@/components/Common/UI/ComboBox/ComboBoxTypes'\nimport type { CheckboxProps } from '@/components/Common/UI/Checkbox/CheckboxTypes'\nimport type { DatePickerProps } from '@/components/Common/UI/DatePicker/DatePickerTypes'\nimport type { RadioProps } from '@/components/Common/UI/Radio/RadioTypes'\nimport type { RadioGroupProps } from '@/components/Common/UI/RadioGroup/RadioGroupTypes'\nimport type { SelectProps } from '@/components/Common/UI/Select/SelectTypes'\nimport type { SwitchProps } from '@/components/Common/UI/Switch/SwitchTypes'\nimport type { ButtonIconProps, ButtonProps } from '@/components/Common/UI/Button/ButtonTypes'\nimport type { AlertProps } from '@/components/Common/UI/Alert/AlertTypes'\nimport type { CardProps } from '@/components/Common/UI/Card/CardTypes'\nimport type { BoxProps } from '@/components/Common/UI/Box/BoxTypes'\nimport type { LinkProps } from '@/components/Common/UI/Link/LinkTypes'\nimport type { BadgeProps } from '@/components/Common/UI/Badge/BadgeTypes'\nimport type { BannerProps } from '@/components/Common/UI/Banner/BannerTypes'\nimport type { MenuProps } from '@/components/Common/UI/Menu/MenuTypes'\nimport type { TableProps } from '@/components/Common/UI/Table/TableTypes'\nimport type { OrderedListProps, UnorderedListProps } from '@/components/Common/UI/List/ListTypes'\nimport type { HeadingProps } from '@/components/Common/UI/Heading/HeadingTypes'\nimport type { PaginationControlProps } from '@/components/Common/PaginationControl/PaginationControlTypes'\nimport type { TextProps } from '@/components/Common/UI/Text/TextTypes'\nimport type { CalendarPreviewProps } from '@/components/Common/UI/CalendarPreview/CalendarPreviewTypes'\nimport type { ProgressBarProps } from '@/components/Common/UI/ProgressBar/ProgressBarTypes'\nimport type { BreadcrumbsProps } from '@/components/Common/UI/Breadcrumbs/BreadcrumbsTypes'\nimport type { TabsProps } from '@/components/Common/UI/Tabs/TabsTypes'\nimport type { DialogProps } from '@/components/Common/UI/Dialog/DialogTypes'\nimport type { ModalProps } from '@/components/Common/UI/Modal/ModalTypes'\nimport type { LoadingSpinnerProps } from '@/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes'\nimport type { DescriptionListProps } from '@/components/Common/UI/DescriptionList/DescriptionListTypes'\nimport type { FileInputProps } from '@/components/Common/UI/FileInput/FileInputTypes'\nimport type { MultiSelectComboBoxProps } from '@/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes'\nimport type { PayrollLoadingProps } from '@/components/Common/PayrollLoading/PayrollLoadingTypes'\n\nexport interface ComponentsContextType {\n Alert: (props: AlertProps) => JSX.Element | null\n Badge: (props: BadgeProps) => JSX.Element | null\n Banner: (props: BannerProps) => JSX.Element | null\n Button: (props: ButtonProps) => JSX.Element | null\n ButtonIcon: (props: ButtonIconProps) => JSX.Element | null\n Card: (props: CardProps) => JSX.Element | null\n Box: (props: BoxProps) => JSX.Element | null\n Checkbox: (props: CheckboxProps) => JSX.Element | null\n CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element | null\n ComboBox: (props: ComboBoxProps) => JSX.Element | null\n MultiSelectComboBox: (props: MultiSelectComboBoxProps) => JSX.Element | null\n DatePicker: (props: DatePickerProps) => JSX.Element | null\n OrderedList: (props: OrderedListProps) => JSX.Element | null\n UnorderedList: (props: UnorderedListProps) => JSX.Element | null\n NumberInput: (props: NumberInputProps) => JSX.Element | null\n Radio: (props: RadioProps) => JSX.Element | null\n RadioGroup: (props: RadioGroupProps) => JSX.Element | null\n Select: (props: SelectProps) => JSX.Element | null\n Switch: (props: SwitchProps) => JSX.Element | null\n TextInput: (props: TextInputProps) => JSX.Element | null\n TextArea: (props: TextAreaProps) => JSX.Element | null\n Link: (props: LinkProps) => JSX.Element | null\n Menu: (props: MenuProps) => JSX.Element | null\n Table: (props: TableProps) => JSX.Element | null\n Heading: (props: HeadingProps) => JSX.Element | null\n PaginationControl?: (props: PaginationControlProps) => JSX.Element | null\n PayrollLoading?: (props: PayrollLoadingProps) => JSX.Element | null\n Text: (props: TextProps) => JSX.Element | null\n CalendarPreview: (props: CalendarPreviewProps) => JSX.Element | null\n ProgressBar: (props: ProgressBarProps) => JSX.Element | null\n Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element | null\n Tabs: (props: TabsProps) => JSX.Element | null\n Dialog: (props: DialogProps) => JSX.Element | null\n Modal: (props: ModalProps) => JSX.Element | null\n LoadingSpinner: (props: LoadingSpinnerProps) => JSX.Element | null\n DescriptionList: (props: DescriptionListProps) => JSX.Element | null\n FileInput: (props: FileInputProps) => JSX.Element | null\n}\n\nexport const ComponentsContext = createContext<ComponentsContextType | null>(null)\n\nexport const useComponentContext = () => {\n const context = useContext(ComponentsContext)\n if (!context) {\n throw new Error('useComponentContext must be used within a ComponentsProvider')\n }\n return context\n}\n"],"names":["ComponentsContext","createContext","useComponentContext","context","useContext"],"mappings":";AA8EO,MAAMA,IAAoBC,EAA4C,IAAI,GAEpEC,IAAsB,MAAM;AACvC,QAAMC,IAAUC,EAAWJ,CAAiB;AAC5C,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,8DAA8D;AAEhF,SAAOA;AACT;"}
1
+ {"version":3,"file":"useComponentContext.js","sources":["../../../src/contexts/ComponentAdapter/useComponentContext.ts"],"sourcesContent":["import { createContext, useContext } from 'react'\nimport type { JSX } from 'react'\nimport type { TextInputProps } from '@/components/Common/UI/TextInput/TextInputTypes'\nimport type { TextAreaProps } from '@/components/Common/UI/TextArea/TextAreaTypes'\nimport type { NumberInputProps } from '@/components/Common/UI/NumberInput/NumberInputTypes'\nimport type { CheckboxGroupProps } from '@/components/Common/UI/CheckboxGroup/CheckboxGroupTypes'\nimport type { ComboBoxProps } from '@/components/Common/UI/ComboBox/ComboBoxTypes'\nimport type { CheckboxProps } from '@/components/Common/UI/Checkbox/CheckboxTypes'\nimport type { DatePickerProps } from '@/components/Common/UI/DatePicker/DatePickerTypes'\nimport type { RadioProps } from '@/components/Common/UI/Radio/RadioTypes'\nimport type { RadioGroupProps } from '@/components/Common/UI/RadioGroup/RadioGroupTypes'\nimport type { SelectProps } from '@/components/Common/UI/Select/SelectTypes'\nimport type { SwitchProps } from '@/components/Common/UI/Switch/SwitchTypes'\nimport type { ButtonIconProps, ButtonProps } from '@/components/Common/UI/Button/ButtonTypes'\nimport type { AlertProps } from '@/components/Common/UI/Alert/AlertTypes'\nimport type { CardProps } from '@/components/Common/UI/Card/CardTypes'\nimport type { BoxProps } from '@/components/Common/UI/Box/BoxTypes'\nimport type { LinkProps } from '@/components/Common/UI/Link/LinkTypes'\nimport type { BadgeProps } from '@/components/Common/UI/Badge/BadgeTypes'\nimport type { BannerProps } from '@/components/Common/UI/Banner/BannerTypes'\nimport type { MenuProps } from '@/components/Common/UI/Menu/MenuTypes'\nimport type { TableProps } from '@/components/Common/UI/Table/TableTypes'\nimport type { OrderedListProps, UnorderedListProps } from '@/components/Common/UI/List/ListTypes'\nimport type { HeadingProps } from '@/components/Common/UI/Heading/HeadingTypes'\nimport type { PaginationControlProps } from '@/components/Common/PaginationControl/PaginationControlTypes'\nimport type { TextProps } from '@/components/Common/UI/Text/TextTypes'\nimport type { CalendarPreviewProps } from '@/components/Common/UI/CalendarPreview/CalendarPreviewTypes'\nimport type { DateRangePickerProps } from '@/components/Common/UI/DateRangePicker/DateRangePickerTypes'\nimport type { ProgressBarProps } from '@/components/Common/UI/ProgressBar/ProgressBarTypes'\nimport type { BreadcrumbsProps } from '@/components/Common/UI/Breadcrumbs/BreadcrumbsTypes'\nimport type { TabsProps } from '@/components/Common/UI/Tabs/TabsTypes'\nimport type { DialogProps } from '@/components/Common/UI/Dialog/DialogTypes'\nimport type { ModalProps } from '@/components/Common/UI/Modal/ModalTypes'\nimport type { LoadingSpinnerProps } from '@/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes'\nimport type { DescriptionListProps } from '@/components/Common/UI/DescriptionList/DescriptionListTypes'\nimport type { FileInputProps } from '@/components/Common/UI/FileInput/FileInputTypes'\nimport type { MultiSelectComboBoxProps } from '@/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes'\nimport type { PayrollLoadingProps } from '@/components/Common/PayrollLoading/PayrollLoadingTypes'\n\nexport interface ComponentsContextType {\n Alert: (props: AlertProps) => JSX.Element | null\n Badge: (props: BadgeProps) => JSX.Element | null\n Banner: (props: BannerProps) => JSX.Element | null\n Button: (props: ButtonProps) => JSX.Element | null\n ButtonIcon: (props: ButtonIconProps) => JSX.Element | null\n Card: (props: CardProps) => JSX.Element | null\n Box: (props: BoxProps) => JSX.Element | null\n Checkbox: (props: CheckboxProps) => JSX.Element | null\n CheckboxGroup: (props: CheckboxGroupProps) => JSX.Element | null\n ComboBox: (props: ComboBoxProps) => JSX.Element | null\n MultiSelectComboBox: (props: MultiSelectComboBoxProps) => JSX.Element | null\n DatePicker: (props: DatePickerProps) => JSX.Element | null\n DateRangePicker: (props: DateRangePickerProps) => JSX.Element | null\n OrderedList: (props: OrderedListProps) => JSX.Element | null\n UnorderedList: (props: UnorderedListProps) => JSX.Element | null\n NumberInput: (props: NumberInputProps) => JSX.Element | null\n Radio: (props: RadioProps) => JSX.Element | null\n RadioGroup: (props: RadioGroupProps) => JSX.Element | null\n Select: (props: SelectProps) => JSX.Element | null\n Switch: (props: SwitchProps) => JSX.Element | null\n TextInput: (props: TextInputProps) => JSX.Element | null\n TextArea: (props: TextAreaProps) => JSX.Element | null\n Link: (props: LinkProps) => JSX.Element | null\n Menu: (props: MenuProps) => JSX.Element | null\n Table: (props: TableProps) => JSX.Element | null\n Heading: (props: HeadingProps) => JSX.Element | null\n PaginationControl?: (props: PaginationControlProps) => JSX.Element | null\n PayrollLoading?: (props: PayrollLoadingProps) => JSX.Element | null\n Text: (props: TextProps) => JSX.Element | null\n CalendarPreview: (props: CalendarPreviewProps) => JSX.Element | null\n ProgressBar: (props: ProgressBarProps) => JSX.Element | null\n Breadcrumbs: (props: BreadcrumbsProps) => JSX.Element | null\n Tabs: (props: TabsProps) => JSX.Element | null\n Dialog: (props: DialogProps) => JSX.Element | null\n Modal: (props: ModalProps) => JSX.Element | null\n LoadingSpinner: (props: LoadingSpinnerProps) => JSX.Element | null\n DescriptionList: (props: DescriptionListProps) => JSX.Element | null\n FileInput: (props: FileInputProps) => JSX.Element | null\n}\n\nexport const ComponentsContext = createContext<ComponentsContextType | null>(null)\n\nexport const useComponentContext = () => {\n const context = useContext(ComponentsContext)\n if (!context) {\n throw new Error('useComponentContext must be used within a ComponentsProvider')\n }\n return context\n}\n"],"names":["ComponentsContext","createContext","useComponentContext","context","useContext"],"mappings":";AAgFO,MAAMA,IAAoBC,EAA4C,IAAI,GAEpEC,IAAsB,MAAM;AACvC,QAAMC,IAAUC,EAAWJ,CAAiB;AAC5C,MAAI,CAACG;AACH,UAAM,IAAI,MAAM,8DAA8D;AAEhF,SAAOA;AACT;"}