@gusto/embedded-react-sdk 0.13.2 → 0.13.4

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 (484) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/assets/icons/close.svg.js +5 -5
  3. package/dist/assets/icons/close.svg.js.map +1 -1
  4. package/dist/assets/icons/download-cloud.svg.js +10 -0
  5. package/dist/assets/icons/download-cloud.svg.js.map +1 -0
  6. package/dist/assets/icons/hamburger.svg.js +5 -5
  7. package/dist/assets/icons/hamburger.svg.js.map +1 -1
  8. package/dist/assets/icons/receipt-check.svg.js +10 -0
  9. package/dist/assets/icons/receipt-check.svg.js.map +1 -0
  10. package/dist/components/Base/Base.js +3 -2
  11. package/dist/components/Base/Base.js.map +1 -1
  12. package/dist/components/Common/DataView/DataCards/DataCards.js +24 -24
  13. package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
  14. package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js +6 -4
  15. package/dist/components/Common/DataView/DataCards/DataCards.module.scss.js.map +1 -1
  16. package/dist/components/Common/DataView/DataTable/DataTable.d.ts +3 -1
  17. package/dist/components/Common/DataView/DataTable/DataTable.js +38 -35
  18. package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
  19. package/dist/components/Common/DataView/DataView.d.ts +6 -3
  20. package/dist/components/Common/DataView/DataView.js +19 -16
  21. package/dist/components/Common/DataView/DataView.js.map +1 -1
  22. package/dist/components/Common/DocumentViewer/DocumentViewer.d.ts +1 -1
  23. package/dist/components/Common/DocumentViewer/DocumentViewer.js +9 -9
  24. package/dist/components/Common/DocumentViewer/DocumentViewer.js.map +1 -1
  25. package/dist/components/Common/Fields/CheckboxField/CheckboxField.d.ts +1 -1
  26. package/dist/components/Common/Fields/CheckboxField/CheckboxField.js +15 -9
  27. package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -1
  28. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +2 -2
  29. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js +21 -15
  30. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -1
  31. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +2 -2
  32. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js +19 -13
  33. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -1
  34. package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +1 -1
  35. package/dist/components/Common/Fields/DatePickerField/DatePickerField.js +24 -18
  36. package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -1
  37. package/dist/components/Common/Fields/NumberInputField/NumberInputField.d.ts +1 -1
  38. package/dist/components/Common/Fields/NumberInputField/NumberInputField.js +18 -12
  39. package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -1
  40. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +2 -2
  41. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js +19 -13
  42. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
  43. package/dist/components/Common/Fields/SelectField/SelectField.d.ts +2 -2
  44. package/dist/components/Common/Fields/SelectField/SelectField.js +19 -13
  45. package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -1
  46. package/dist/components/Common/Fields/SwitchField/SwitchField.d.ts +1 -1
  47. package/dist/components/Common/Fields/SwitchField/SwitchField.js +15 -9
  48. package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -1
  49. package/dist/components/Common/Fields/TextInputField/TextInputField.d.ts +1 -1
  50. package/dist/components/Common/Fields/TextInputField/TextInputField.js +15 -9
  51. package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -1
  52. package/dist/components/Common/Fields/hooks/useField.d.ts +8 -7
  53. package/dist/components/Common/Fields/hooks/useField.js +33 -27
  54. package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
  55. package/dist/components/Common/SignatureForm/SignatureForm.js +6 -4
  56. package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
  57. package/dist/components/Common/SignatureForm/SignatureFormActions.js +12 -10
  58. package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
  59. package/dist/components/Common/SignatureForm/SignatureFormFields.js +8 -6
  60. package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
  61. package/dist/components/Common/UI/Alert/Alert.js +15 -15
  62. package/dist/components/Common/UI/Alert/Alert.js.map +1 -1
  63. package/dist/components/Common/UI/Alert/Alert.module.scss.js +14 -12
  64. package/dist/components/Common/UI/Alert/Alert.module.scss.js.map +1 -1
  65. package/dist/components/Common/UI/Card/Card.module.scss.js +1 -1
  66. package/dist/components/Common/UI/Checkbox/CheckboxTypes.d.ts +5 -1
  67. package/dist/components/Common/UI/Checkbox/CheckboxTypes.js.map +1 -1
  68. package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +2 -2
  69. package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +2 -2
  70. package/dist/components/Common/UI/Dialog/Dialog.d.ts +2 -0
  71. package/dist/components/Common/UI/Dialog/Dialog.js +84 -0
  72. package/dist/components/Common/UI/Dialog/Dialog.js.map +1 -0
  73. package/dist/components/Common/UI/Dialog/Dialog.module.scss.js +18 -0
  74. package/dist/components/Common/UI/Dialog/Dialog.module.scss.js.map +1 -0
  75. package/dist/components/Common/UI/Dialog/DialogTypes.d.ts +52 -0
  76. package/dist/components/Common/UI/Dialog/DialogTypes.js +10 -0
  77. package/dist/components/Common/UI/Dialog/DialogTypes.js.map +1 -0
  78. package/dist/components/Common/UI/Dialog/index.d.ts +4 -0
  79. package/dist/components/Common/UI/Menu/Menu.module.scss.js +1 -1
  80. package/dist/components/Common/UI/NumberInput/NumberInputTypes.d.ts +2 -2
  81. package/dist/components/Common/UI/RadioGroup/RadioGroup.js +33 -31
  82. package/dist/components/Common/UI/RadioGroup/RadioGroup.js.map +1 -1
  83. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +4 -0
  84. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
  85. package/dist/components/Common/UI/Select/SelectTypes.d.ts +2 -2
  86. package/dist/components/Common/UI/Switch/SwitchTypes.d.ts +2 -2
  87. package/dist/components/Common/UI/Switch/SwitchTypes.js.map +1 -1
  88. package/dist/components/Common/UI/Table/Table.d.ts +1 -1
  89. package/dist/components/Common/UI/Table/Table.js +23 -11
  90. package/dist/components/Common/UI/Table/Table.js.map +1 -1
  91. package/dist/components/Common/UI/Table/Table.module.scss.js +1 -1
  92. package/dist/components/Common/UI/Table/TableTypes.d.ts +15 -0
  93. package/dist/components/Common/UI/Table/TableTypes.js +8 -0
  94. package/dist/components/Common/UI/Table/TableTypes.js.map +1 -0
  95. package/dist/components/Common/UI/Text/Text.js +9 -8
  96. package/dist/components/Common/UI/Text/Text.js.map +1 -1
  97. package/dist/components/Common/UI/Text/Text.module.scss.js +15 -14
  98. package/dist/components/Common/UI/Text/Text.module.scss.js.map +1 -1
  99. package/dist/components/Common/UI/Text/TextTypes.d.ts +2 -2
  100. package/dist/components/Common/UI/Text/TextTypes.js.map +1 -1
  101. package/dist/components/Common/UI/TextInput/TextInput.js +35 -33
  102. package/dist/components/Common/UI/TextInput/TextInput.js.map +1 -1
  103. package/dist/components/Common/UI/TextInput/TextInputTypes.d.ts +5 -1
  104. package/dist/components/Common/UI/TextInput/TextInputTypes.js.map +1 -1
  105. package/dist/components/Common/UI/hooks/useFieldIds.d.ts +2 -1
  106. package/dist/components/Common/UI/hooks/useFieldIds.js +11 -6
  107. package/dist/components/Common/UI/hooks/useFieldIds.js.map +1 -1
  108. package/dist/components/Company/AssignSignatory/AssignSignatory.js +3 -2
  109. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  110. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +8 -6
  111. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  112. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +10 -8
  113. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  114. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +11 -11
  115. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +5 -3
  116. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  117. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +8 -6
  118. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  119. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +1 -1
  120. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +5 -3
  121. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  122. package/dist/components/Company/AssignSignatory/TitleSelect.js +8 -7
  123. package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
  124. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +7 -5
  125. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  126. package/dist/components/Company/BankAccount/BankAccount.js +25 -21
  127. package/dist/components/Company/BankAccount/BankAccount.js.map +1 -1
  128. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +9 -8
  129. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
  130. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +11 -9
  131. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  132. package/dist/components/Company/BankAccount/BankAccountForm/context.js +5 -3
  133. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  134. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +12 -10
  135. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  136. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +13 -11
  137. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  138. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +6 -4
  139. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  140. package/dist/components/Company/BankAccount/stateMachine.d.ts +4 -4
  141. package/dist/components/Company/BankAccount/stateMachine.js.map +1 -1
  142. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +7 -5
  143. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  144. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +33 -32
  145. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  146. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +5 -3
  147. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  148. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +3 -2
  149. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  150. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +5 -3
  151. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  152. package/dist/components/Company/DocumentSigner/assignSignatoryState.d.ts +1 -1
  153. package/dist/components/Company/DocumentSigner/assignSignatoryState.js.map +1 -1
  154. package/dist/components/Company/DocumentSigner/stateMachine.d.ts +5 -5
  155. package/dist/components/Company/DocumentSigner/stateMachine.js.map +1 -1
  156. package/dist/components/Company/FederalTaxes/Actions.js +9 -7
  157. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  158. package/dist/components/Company/FederalTaxes/FederalTaxes.js +7 -6
  159. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  160. package/dist/components/Company/FederalTaxes/Form.js +5 -3
  161. package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
  162. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +10 -8
  163. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  164. package/dist/components/Company/Industry/Actions.js +7 -5
  165. package/dist/components/Company/Industry/Actions.js.map +1 -1
  166. package/dist/components/Company/Industry/Context.js +8 -6
  167. package/dist/components/Company/Industry/Context.js.map +1 -1
  168. package/dist/components/Company/Industry/Edit.js +12 -10
  169. package/dist/components/Company/Industry/Edit.js.map +1 -1
  170. package/dist/components/Company/Locations/LocationForm/Actions.js +8 -6
  171. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  172. package/dist/components/Company/Locations/LocationForm/Form.js +1 -1
  173. package/dist/components/Company/Locations/LocationForm/LocationForm.js +4 -3
  174. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  175. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +5 -3
  176. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  177. package/dist/components/Company/Locations/Locations.js +21 -17
  178. package/dist/components/Company/Locations/Locations.js.map +1 -1
  179. package/dist/components/Company/Locations/LocationsList/Actions.js +8 -6
  180. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  181. package/dist/components/Company/Locations/LocationsList/List.js +17 -16
  182. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  183. package/dist/components/Company/Locations/LocationsList/LocationsList.js +9 -8
  184. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  185. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +5 -3
  186. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  187. package/dist/components/Company/Locations/stateMachine.d.ts +3 -3
  188. package/dist/components/Company/Locations/stateMachine.js.map +1 -1
  189. package/dist/components/Company/OnboardingFlow/OnboardingFlow.js +21 -17
  190. package/dist/components/Company/OnboardingFlow/OnboardingFlow.js.map +1 -1
  191. package/dist/components/Company/OnboardingFlow/onboardingStateMachine.d.ts +10 -10
  192. package/dist/components/Company/OnboardingFlow/onboardingStateMachine.js.map +1 -1
  193. package/dist/components/Company/OnboardingOverview/Completed.js +14 -12
  194. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  195. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +8 -6
  196. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  197. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +3 -2
  198. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  199. package/dist/components/Company/OnboardingOverview/context.js +5 -3
  200. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  201. package/dist/components/Company/PaySchedule/PaySchedule.js +4 -3
  202. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  203. package/dist/components/Company/PaySchedule/_parts/Actions.js +12 -10
  204. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  205. package/dist/components/Company/PaySchedule/_parts/Edit.js +14 -14
  206. package/dist/components/Company/PaySchedule/_parts/Head.js +8 -6
  207. package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
  208. package/dist/components/Company/PaySchedule/_parts/List.js +15 -13
  209. package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
  210. package/dist/components/Company/PaySchedule/usePaySchedule.js +7 -5
  211. package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
  212. package/dist/components/Company/StateTaxes/StateTaxes.js +20 -16
  213. package/dist/components/Company/StateTaxes/StateTaxes.js.map +1 -1
  214. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +7 -5
  215. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  216. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +5 -3
  217. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  218. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +8 -6
  219. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  220. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +7 -5
  221. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  222. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +5 -3
  223. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  224. package/dist/components/Company/StateTaxes/stateTaxesStateMachine.d.ts +3 -3
  225. package/dist/components/Company/StateTaxes/stateTaxesStateMachine.js.map +1 -1
  226. package/dist/components/Contractor/Address/Address.js +5 -4
  227. package/dist/components/Contractor/Address/Address.js.map +1 -1
  228. package/dist/components/Contractor/Address/Form.js +1 -1
  229. package/dist/components/Contractor/Address/useAddress.js +7 -5
  230. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  231. package/dist/components/Contractor/ContractorList/index.js +25 -24
  232. package/dist/components/Contractor/ContractorList/index.js.map +1 -1
  233. package/dist/components/Contractor/NewHireReport/NewHireReport.js +14 -13
  234. package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
  235. package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.js +25 -21
  236. package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.js.map +1 -1
  237. package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.d.ts +7 -7
  238. package/dist/components/Contractor/OnboardingFlow/onboardingStateMachine.js.map +1 -1
  239. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +7 -5
  240. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  241. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +3 -2
  242. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
  243. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +3 -2
  244. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
  245. package/dist/components/Contractor/Profile/ContractorProfileForm.d.ts +1 -1
  246. package/dist/components/Contractor/Profile/ContractorProfileForm.js +58 -55
  247. package/dist/components/Contractor/Profile/ContractorProfileForm.js.map +1 -1
  248. package/dist/components/Contractor/Profile/ContractorProfileForm.module.scss.js +8 -0
  249. package/dist/components/Contractor/Profile/ContractorProfileForm.module.scss.js.map +1 -0
  250. package/dist/components/Contractor/Profile/useContractorProfile.d.ts +2 -0
  251. package/dist/components/Contractor/Profile/useContractorProfile.js +97 -94
  252. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  253. package/dist/components/Contractor/Submit/Submit.js +4 -3
  254. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  255. package/dist/components/Employee/Compensation/Actions.js +6 -5
  256. package/dist/components/Employee/Compensation/Actions.js.map +1 -1
  257. package/dist/components/Employee/Compensation/Edit.js +15 -14
  258. package/dist/components/Employee/Compensation/Edit.js.map +1 -1
  259. package/dist/components/Employee/Compensation/List.js +25 -23
  260. package/dist/components/Employee/Compensation/List.js.map +1 -1
  261. package/dist/components/Employee/Deductions/DeductionsComponents.js +1 -1
  262. package/dist/components/Employee/Deductions/DeductionsComponents.js.map +1 -1
  263. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.d.ts +55 -0
  264. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +221 -0
  265. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -0
  266. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.module.scss.js +8 -0
  267. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.module.scss.js.map +1 -0
  268. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.d.ts +42 -0
  269. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +132 -0
  270. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +1 -0
  271. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +11 -10
  272. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
  273. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.module.scss.js +14 -0
  274. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.module.scss.js.map +1 -0
  275. package/dist/components/Employee/Deductions/DeductionsForm/UNSTABLE_DeductionsForm.d.ts +7 -0
  276. package/dist/components/Employee/Deductions/DeductionsForm/UNSTABLE_DeductionsForm.js +98 -0
  277. package/dist/components/Employee/Deductions/DeductionsForm/UNSTABLE_DeductionsForm.js.map +1 -0
  278. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +8 -7
  279. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
  280. package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js +11 -10
  281. package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js.map +1 -1
  282. package/dist/components/Employee/Deductions/stateMachine.d.ts +5 -5
  283. package/dist/components/Employee/Deductions/stateMachine.js.map +1 -1
  284. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +8 -6
  285. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  286. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +7 -6
  287. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  288. package/dist/components/Employee/DocumentSigner/DocumentList/List.js +4 -2
  289. package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
  290. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +5 -3
  291. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  292. package/dist/components/Employee/DocumentSigner/DocumentSigner.js +19 -15
  293. package/dist/components/Employee/DocumentSigner/DocumentSigner.js.map +1 -1
  294. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +8 -7
  295. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  296. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +5 -3
  297. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  298. package/dist/components/Employee/DocumentSigner/stateMachine.d.ts +3 -3
  299. package/dist/components/Employee/DocumentSigner/stateMachine.js.map +1 -1
  300. package/dist/components/Employee/EmployeeList/Actions.js +6 -4
  301. package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
  302. package/dist/components/Employee/EmployeeList/EmployeeList.js +4 -3
  303. package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
  304. package/dist/components/Employee/EmployeeList/Head.js +7 -5
  305. package/dist/components/Employee/EmployeeList/Head.js.map +1 -1
  306. package/dist/components/Employee/EmployeeList/List.js +15 -14
  307. package/dist/components/Employee/EmployeeList/List.js.map +1 -1
  308. package/dist/components/Employee/EmployeeList/useEmployeeList.js +5 -3
  309. package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
  310. package/dist/components/Employee/FederalTaxes/Actions.js +8 -6
  311. package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
  312. package/dist/components/Employee/FederalTaxes/FederalForm.js +13 -11
  313. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
  314. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +5 -3
  315. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +1 -1
  316. package/dist/components/Employee/Landing/Landing.js +13 -12
  317. package/dist/components/Employee/Landing/Landing.js.map +1 -1
  318. package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js +24 -20
  319. package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js.map +1 -1
  320. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.d.ts +9 -9
  321. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
  322. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
  323. package/dist/components/Employee/PaymentMethod/Actions.js +9 -7
  324. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  325. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +6 -5
  326. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
  327. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +10 -8
  328. package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
  329. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +3 -2
  330. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
  331. package/dist/components/Employee/PaymentMethod/Split.js +11 -10
  332. package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
  333. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +7 -5
  334. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
  335. package/dist/components/Employee/Profile/Actions.js +9 -7
  336. package/dist/components/Employee/Profile/Actions.js.map +1 -1
  337. package/dist/components/Employee/Profile/AdminPersonalDetails.js +32 -29
  338. package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
  339. package/dist/components/Employee/Profile/AdminPersonalDetails.module.scss.js +8 -0
  340. package/dist/components/Employee/Profile/AdminPersonalDetails.module.scss.js.map +1 -0
  341. package/dist/components/Employee/Profile/HomeAddress.js +1 -1
  342. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +2 -2
  343. package/dist/components/Employee/Profile/Profile.d.ts +1 -0
  344. package/dist/components/Employee/Profile/Profile.js +78 -75
  345. package/dist/components/Employee/Profile/Profile.js.map +1 -1
  346. package/dist/components/Employee/Profile/useProfile.js +5 -3
  347. package/dist/components/Employee/Profile/useProfile.js.map +1 -1
  348. package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingFlow.js +17 -13
  349. package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingFlow.js.map +1 -1
  350. package/dist/components/Employee/SelfOnboardingFlow/selfOnboardingMachine.d.ts +5 -5
  351. package/dist/components/Employee/SelfOnboardingFlow/selfOnboardingMachine.js.map +1 -1
  352. package/dist/components/Employee/StateTaxes/Actions.js +10 -8
  353. package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
  354. package/dist/components/Employee/StateTaxes/useStateTaxes.js +5 -3
  355. package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +1 -1
  356. package/dist/components/Employee/Taxes/Actions.js +10 -8
  357. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  358. package/dist/components/Employee/Taxes/FederalForm.js +14 -12
  359. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  360. package/dist/components/Employee/Taxes/useTaxes.js +5 -3
  361. package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
  362. package/dist/components/Payroll/PayrollBlocker/PayrollBlockerAlerts.d.ts +7 -0
  363. package/dist/components/Payroll/PayrollBlocker/PayrollBlockerList.d.ts +6 -0
  364. package/dist/components/Payroll/PayrollBlocker/PayrollBlockerTypes.d.ts +101 -0
  365. package/dist/components/Payroll/PayrollBlocker/index.d.ts +4 -0
  366. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +64 -56
  367. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  368. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +36 -36
  369. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  370. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +41 -45
  371. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
  372. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +20 -2
  373. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +308 -101
  374. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  375. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.module.scss.js +16 -0
  376. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.module.scss.js.map +1 -0
  377. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +7 -0
  378. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +59 -0
  379. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -0
  380. package/dist/components/Payroll/PayrollEditEmployee/index.d.ts +4 -0
  381. package/dist/components/Payroll/PayrollFlow/PayrollFlow.d.ts +2 -0
  382. package/dist/components/Payroll/PayrollFlow/PayrollFlow.js +26 -0
  383. package/dist/components/Payroll/PayrollFlow/PayrollFlow.js.map +1 -0
  384. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +25 -0
  385. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js +59 -0
  386. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -0
  387. package/dist/components/Payroll/PayrollFlow/index.d.ts +3 -0
  388. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.d.ts +7 -0
  389. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +116 -0
  390. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -0
  391. package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +19 -0
  392. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +114 -0
  393. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -0
  394. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +8 -11
  395. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +194 -0
  396. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -0
  397. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js +8 -0
  398. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js.map +1 -0
  399. package/dist/components/Payroll/PayrollLanding/PayrollLanding.d.ts +7 -0
  400. package/dist/components/Payroll/PayrollLanding/PayrollLanding.js +41 -0
  401. package/dist/components/Payroll/PayrollLanding/PayrollLanding.js.map +1 -0
  402. package/dist/components/Payroll/PayrollList/PayrollList.js +19 -21
  403. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  404. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +87 -79
  405. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  406. package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +3 -1
  407. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +102 -42
  408. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  409. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +12 -1
  410. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +274 -133
  411. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  412. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.d.ts +7 -0
  413. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +21 -0
  414. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -0
  415. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.d.ts +6 -0
  416. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +220 -0
  417. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -0
  418. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.module.scss.js +28 -0
  419. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.module.scss.js.map +1 -0
  420. package/dist/components/Payroll/RunPayrollFlow/RunPayroll.d.ts +2 -2
  421. package/dist/components/Payroll/RunPayrollFlow/RunPayroll.js +58 -43
  422. package/dist/components/Payroll/RunPayrollFlow/RunPayroll.js.map +1 -1
  423. package/dist/components/Payroll/RunPayrollFlow/RunPayrollFlow.js +11 -11
  424. package/dist/components/Payroll/RunPayrollFlow/RunPayrollFlow.js.map +1 -1
  425. package/dist/components/Payroll/helpers.d.ts +21 -1
  426. package/dist/components/Payroll/helpers.js +166 -123
  427. package/dist/components/Payroll/helpers.js.map +1 -1
  428. package/dist/components/Payroll/index.d.ts +4 -0
  429. package/dist/components/Payroll/index.js +14 -6
  430. package/dist/components/Payroll/index.js.map +1 -1
  431. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +21 -19
  432. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
  433. package/dist/contexts/ComponentAdapter/componentAdapterTypes.d.ts +1 -0
  434. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.d.ts +10 -0
  435. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js +35 -31
  436. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -1
  437. package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
  438. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  439. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +8 -5
  440. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  441. package/dist/contexts/ThemeProvider/theme.d.ts +3 -0
  442. package/dist/contexts/ThemeProvider/theme.js +12 -9
  443. package/dist/contexts/ThemeProvider/theme.js.map +1 -1
  444. package/dist/helpers/formattedStrings.js +12 -11
  445. package/dist/helpers/formattedStrings.js.map +1 -1
  446. package/dist/helpers/readableStreamToBlob.d.ts +1 -0
  447. package/dist/helpers/readableStreamToBlob.js +17 -0
  448. package/dist/helpers/readableStreamToBlob.js.map +1 -0
  449. package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.d.ts +2 -4
  450. package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.js.map +1 -1
  451. package/dist/i18n/I18n.js +9 -9
  452. package/dist/i18n/I18n.js.map +1 -1
  453. package/dist/i18n/en/Employee.Deductions.json.js +126 -66
  454. package/dist/i18n/en/Employee.Deductions.json.js.map +1 -1
  455. package/dist/i18n/en/Employee.Profile.json.js +32 -30
  456. package/dist/i18n/en/Employee.Profile.json.js.map +1 -1
  457. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +15 -15
  458. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +34 -14
  459. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -1
  460. package/dist/i18n/en/Payroll.PayrollHistory.json.js +22 -0
  461. package/dist/i18n/en/Payroll.PayrollHistory.json.js.map +1 -0
  462. package/dist/i18n/en/Payroll.PayrollLanding.json.js +12 -0
  463. package/dist/i18n/en/Payroll.PayrollLanding.json.js.map +1 -0
  464. package/dist/i18n/en/Payroll.PayrollList.json.js +16 -12
  465. package/dist/i18n/en/Payroll.PayrollList.json.js.map +1 -1
  466. package/dist/i18n/en/Payroll.PayrollOverview.json.js +50 -22
  467. package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -1
  468. package/dist/i18n/en/Payroll.PayrollReceipts.json.js +16 -0
  469. package/dist/i18n/en/Payroll.PayrollReceipts.json.js.map +1 -0
  470. package/dist/i18n/en/PayrollBlocker.json.js +18 -0
  471. package/dist/i18n/en/PayrollBlocker.json.js.map +1 -0
  472. package/dist/node_modules/redux/es/redux.js +2 -2
  473. package/dist/node_modules/redux/es/redux.js.map +1 -1
  474. package/dist/shared/constants.d.ts +41 -4
  475. package/dist/shared/constants.js +85 -57
  476. package/dist/shared/constants.js.map +1 -1
  477. package/dist/style.css +1 -1
  478. package/dist/types/Helpers.d.ts +7 -0
  479. package/dist/types/i18next.d.ts +187 -44
  480. package/package.json +18 -18
  481. package/dist/i18n/en/Payroll.PayrollHistoryList.json.js +0 -16
  482. package/dist/i18n/en/Payroll.PayrollHistoryList.json.js.map +0 -1
  483. package/dist/i18n/en/payroll.payrollhistory.json.js +0 -20
  484. package/dist/i18n/en/payroll.payrollhistory.json.js.map +0 -1
@@ -1,26 +1,54 @@
1
- const e = "Review payroll", a = "Regular payroll for {{startDate}} - {{endDate}}", o = "Submit", t = "Edit payroll", l = { payrollNotCalculated: "Payroll is not calculated", progressSaved: "Your progress has been saved", directDepositDeadline: "To pay your employees with direct deposit on {{payDate}}, you'll need to run payroll by {{deadline}}" }, s = "Payroll Summary", y = "Payroll summary table", m = { label: "Payroll details", companyPaysTab: "Company pays", companyPaysTable: "Company pays table", hoursWorkedTab: "Hours worked", hoursWorkedTable: "Hours worked table", employeeTakeHomeTab: "Employee take home", employeeTakeHomeTable: "Employee take home table" }, p = { totalPayroll: "Total payroll", debitAmount: "Debit amount", employees: "Employees", grossPay: "Gross Pay", reimbursements: "Reimbursements", debitAccount: "Debit account", debitDate: "Debit date", employeesPayDate: "Employees pay date", companyTaxes: "Company taxes", companyBenefits: "Company benefits", companyPays: "Company pays", compensationType: "Compensation type", regular: "Regular", overtime: "Overtime (1.5x)", doubleOT: "Double overtime (2x)", timeOff: "Paid time off", totalHours: "Total hours", paymentType: "Payment type", employeeTaxes: "Employee taxes", employeeBenefits: "Employee benefits", payment: "Payment", deductions: "Deductions" }, r = { exempt: "Salaried / Exempt", nonexempt: "Hourly / Nonexempt" }, n = {
2
- pageTitle: e,
3
- pageSubtitle: a,
4
- submitCta: o,
5
- editCta: t,
6
- alerts: l,
7
- payrollSummaryTitle: s,
8
- payrollSummaryLabel: y,
9
- dataViews: m,
10
- tableHeaders: p,
11
- compensationTypeLabels: r
1
+ const e = "Review payroll", a = "Payroll summary", o = "Regular payroll for {{startDate}} - {{endDate}}", t = "Submit", l = "Edit payroll", s = "Cancel payroll", n = "Cancel {{startDate}} - {{endDate}} payroll?", y = "Cancel this payroll now and run it again later. Any information entered will not be saved.", r = "Run this payroll by {{deadline}} to ensure your employees are paid on time.", i = " Yes, cancel payroll", p = "No, go back", m = "Payroll receipt", c = "Download paystub pdf", b = { payrollNotCalculated: "Payroll is not calculated", directDepositDeadline: "To pay your employees with direct deposit on {{payDate}}, you'll need to run payroll by {{deadline}}", paystubPdfError: "There was an issue generating the paystub PDF. Please try again later." }, d = "Payroll Summary", u = "Payroll summary table", T = { label: "Payroll details", companyPaysTab: "Company pays", companyPaysTable: "Company pays by employee", hoursWorkedTab: "Hours worked", hoursWorkedTable: "Hours worked by employee", employeeTakeHomeTab: "Employee take home", employeeTakeHomeTable: "Employee take home by employee", taxesTab: "Taxes and debited", taxesTable: "Taxes breakdown", debitedTable: "Debited totals by company" }, D = { totalPayroll: "Total payroll", debitAmount: "Debit amount", employees: "Employees", grossPay: "Gross Pay", reimbursements: "Reimbursements", debitAccount: "Debit account", debitDate: "Debit date", employeesPayDate: "Employees pay date", companyTaxes: "Company taxes", companyBenefits: "Company benefits", companyPays: "Company pays", compensationType: "Compensation type", regular: "Regular", overtime: "Overtime (1.5x)", doubleOT: "Double overtime (2x)", timeOff: "Paid time off", totalHours: "Total hours", paymentType: "Payment type", employeeTaxes: "Employee taxes", employeeBenefits: "Employee benefits", payment: "Payment", deductions: "Deductions", taxDescription: "Tax description", byYourEmployees: "By your employees", byYourCompany: "By your company", debitedByGusto: "Debited by Gusto", taxesTotal: "Total", paystub: "Paystub" }, P = "Totals", x = "Direct deposits", C = "Reimbursements", f = "Garnishments", g = "Taxes (Employees and Employers)", w = { exempt: "Salaried / Exempt", nonexempt: "Hourly / Nonexempt" }, h = {
2
+ overviewTitle: e,
3
+ summaryTitle: a,
4
+ pageSubtitle: o,
5
+ submitCta: t,
6
+ editCta: l,
7
+ cancelCta: s,
8
+ cancelDialogTitle: n,
9
+ cancelDialogDescription: y,
10
+ cancelDialogDescriptionDeadline: r,
11
+ confirmCancelCta: i,
12
+ declineCancelCta: p,
13
+ payrollReceiptCta: m,
14
+ downloadPaystubLabel: c,
15
+ alerts: b,
16
+ payrollSummaryTitle: d,
17
+ payrollSummaryLabel: u,
18
+ dataViews: T,
19
+ tableHeaders: D,
20
+ totalsLabel: P,
21
+ directDepositLabel: x,
22
+ reimbursementLabel: C,
23
+ garnishmentsLabel: f,
24
+ taxesLabel: g,
25
+ compensationTypeLabels: w
12
26
  };
13
27
  export {
14
- l as alerts,
15
- r as compensationTypeLabels,
16
- m as dataViews,
17
- n as default,
18
- t as editCta,
19
- a as pageSubtitle,
20
- e as pageTitle,
21
- y as payrollSummaryLabel,
22
- s as payrollSummaryTitle,
23
- o as submitCta,
24
- p as tableHeaders
28
+ b as alerts,
29
+ s as cancelCta,
30
+ y as cancelDialogDescription,
31
+ r as cancelDialogDescriptionDeadline,
32
+ n as cancelDialogTitle,
33
+ w as compensationTypeLabels,
34
+ i as confirmCancelCta,
35
+ T as dataViews,
36
+ p as declineCancelCta,
37
+ h as default,
38
+ x as directDepositLabel,
39
+ c as downloadPaystubLabel,
40
+ l as editCta,
41
+ f as garnishmentsLabel,
42
+ e as overviewTitle,
43
+ o as pageSubtitle,
44
+ m as payrollReceiptCta,
45
+ u as payrollSummaryLabel,
46
+ d as payrollSummaryTitle,
47
+ C as reimbursementLabel,
48
+ t as submitCta,
49
+ a as summaryTitle,
50
+ D as tableHeaders,
51
+ g as taxesLabel,
52
+ P as totalsLabel
25
53
  };
26
54
  //# sourceMappingURL=Payroll.PayrollOverview.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Payroll.PayrollOverview.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"Payroll.PayrollOverview.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,16 @@
1
+ const e = { totalLabel: "Total", detailsLabel: "Receipt Details", receiptId: "Receipt ID", from: "From", to: "To", debitDate: "Debit date", employeeCount: "{{count}} employees", employeeCount_one: "{{count}} employee", employeeCount_other: "{{count}} employees", disclaimer: "These amounts may not represent all monies due to government tax authorities from you, and do not include any amounts transmitted outside the platform.", companyInfo: "Your payroll provider partners with Gusto Inc. for payments processing. Gusto Inc. is a licensed money transmitter. Learn more on our license page.", address: "525 20th St, San Francisco, CA 94107 | 415-777-8888" }, t = { debitedLabel: "Debited", taxLabel: "Tax", employeesLabel: "Employees" }, o = { directDeposits: "Direct deposits", reimbursements: "Reimbursements", garnishments: "Garnishments", taxes: "Taxes (Employee and Employer)", totals: "Totals", category: "Category", amount: "Amount" }, a = { name: "Tax Type", amount: "Amount" }, n = { name: "Employee", paymentMethod: "Payment method", childSupport: "Child support", reimbursement: "Reimbursement", totalTaxes: "Total taxes", netPay: "Net pay", totalEmployees: "{{count}} employees in this payroll", totalEmployees_one: "{{count}} employee in this payroll", totalEmployees_other: "{{count}} employees in this payroll" }, s = {
2
+ receipt: e,
3
+ sections: t,
4
+ breakdown: o,
5
+ tax: a,
6
+ employee: n
7
+ };
8
+ export {
9
+ o as breakdown,
10
+ s as default,
11
+ n as employee,
12
+ e as receipt,
13
+ t as sections,
14
+ a as tax
15
+ };
16
+ //# sourceMappingURL=Payroll.PayrollReceipts.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payroll.PayrollReceipts.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,18 @@
1
+ const e = "{{count}} issues are preventing you from running payroll", o = "View All Blockers", l = "Payroll blockers", s = "Blocker", t = "The following issues must be resolved before you can run payroll:", r = "Estimated time", c = {
2
+ multipleIssuesTitle: e,
3
+ viewAllBlockers: o,
4
+ blockersListTitle: l,
5
+ blockerSectionLabel: s,
6
+ blockersListDescription: t,
7
+ estimatedTime: r
8
+ };
9
+ export {
10
+ s as blockerSectionLabel,
11
+ t as blockersListDescription,
12
+ l as blockersListTitle,
13
+ c as default,
14
+ r as estimatedTime,
15
+ e as multipleIssuesTitle,
16
+ o as viewAllBlockers
17
+ };
18
+ //# sourceMappingURL=PayrollBlocker.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PayrollBlocker.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,9 +1,9 @@
1
1
  function n(e) {
2
2
  return "Minified Redux error #" + e + "; visit https://redux.js.org/Errors?code=" + e + " for the full message or use the non-minified dev environment for full errors. ";
3
3
  }
4
- var w = function() {
4
+ var w = (function() {
5
5
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
6
- }(), v = function() {
6
+ })(), v = function() {
7
7
  return Math.random().toString(36).substring(7).split("").join(".");
8
8
  }, N = {
9
9
  INIT: "@@redux/INIT" + v(),
@@ -1 +1 @@
1
- {"version":3,"file":"redux.js","sources":["../../../../node_modules/redux/es/redux.js"],"sourcesContent":["import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';\n\n/**\n * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js\n *\n * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes\n * during build.\n * @param {number} code\n */\nfunction formatProdErrorMessage(code) {\n return \"Minified Redux error #\" + code + \"; visit https://redux.js.org/Errors?code=\" + code + \" for the full message or \" + 'use the non-minified dev environment for full errors. ';\n}\n\n// Inlined version of the `symbol-observable` polyfill\nvar $$observable = (function () {\n return typeof Symbol === 'function' && Symbol.observable || '@@observable';\n})();\n\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\nvar randomString = function randomString() {\n return Math.random().toString(36).substring(7).split('').join('.');\n};\n\nvar ActionTypes = {\n INIT: \"@@redux/INIT\" + randomString(),\n REPLACE: \"@@redux/REPLACE\" + randomString(),\n PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {\n return \"@@redux/PROBE_UNKNOWN_ACTION\" + randomString();\n }\n};\n\n/**\n * @param {any} obj The object to inspect.\n * @returns {boolean} True if the argument appears to be a plain object.\n */\nfunction isPlainObject(obj) {\n if (typeof obj !== 'object' || obj === null) return false;\n var proto = obj;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(obj) === proto;\n}\n\n// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of\nfunction miniKindOf(val) {\n if (val === void 0) return 'undefined';\n if (val === null) return 'null';\n var type = typeof val;\n\n switch (type) {\n case 'boolean':\n case 'string':\n case 'number':\n case 'symbol':\n case 'function':\n {\n return type;\n }\n }\n\n if (Array.isArray(val)) return 'array';\n if (isDate(val)) return 'date';\n if (isError(val)) return 'error';\n var constructorName = ctorName(val);\n\n switch (constructorName) {\n case 'Symbol':\n case 'Promise':\n case 'WeakMap':\n case 'WeakSet':\n case 'Map':\n case 'Set':\n return constructorName;\n } // other\n\n\n return type.slice(8, -1).toLowerCase().replace(/\\s/g, '');\n}\n\nfunction ctorName(val) {\n return typeof val.constructor === 'function' ? val.constructor.name : null;\n}\n\nfunction isError(val) {\n return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';\n}\n\nfunction isDate(val) {\n if (val instanceof Date) return true;\n return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';\n}\n\nfunction kindOf(val) {\n var typeOfVal = typeof val;\n\n if (process.env.NODE_ENV !== 'production') {\n typeOfVal = miniKindOf(val);\n }\n\n return typeOfVal;\n}\n\n/**\n * @deprecated\n *\n * **We recommend using the `configureStore` method\n * of the `@reduxjs/toolkit` package**, which replaces `createStore`.\n *\n * Redux Toolkit is our recommended approach for writing Redux logic today,\n * including store setup, reducers, data fetching, and more.\n *\n * **For more details, please read this Redux docs page:**\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * `configureStore` from Redux Toolkit is an improved version of `createStore` that\n * simplifies setup and helps avoid common bugs.\n *\n * You should not be using the `redux` core package by itself today, except for learning purposes.\n * The `createStore` method from the core `redux` package will not be removed, but we encourage\n * all users to migrate to using Redux Toolkit for all Redux code.\n *\n * If you want to use `createStore` without this visual deprecation warning, use\n * the `legacy_createStore` import instead:\n *\n * `import { legacy_createStore as createStore} from 'redux'`\n *\n */\n\nfunction createStore(reducer, preloadedState, enhancer) {\n var _ref2;\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(0) : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.');\n }\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {\n enhancer = preloadedState;\n preloadedState = undefined;\n }\n\n if (typeof enhancer !== 'undefined') {\n if (typeof enhancer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(1) : \"Expected the enhancer to be a function. Instead, received: '\" + kindOf(enhancer) + \"'\");\n }\n\n return enhancer(createStore)(reducer, preloadedState);\n }\n\n if (typeof reducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(2) : \"Expected the root reducer to be a function. Instead, received: '\" + kindOf(reducer) + \"'\");\n }\n\n var currentReducer = reducer;\n var currentState = preloadedState;\n var currentListeners = [];\n var nextListeners = currentListeners;\n var isDispatching = false;\n /**\n * This makes a shallow copy of currentListeners so we can use\n * nextListeners as a temporary list while dispatching.\n *\n * This prevents any bugs around consumers calling\n * subscribe/unsubscribe in the middle of a dispatch.\n */\n\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = currentListeners.slice();\n }\n }\n /**\n * Reads the state tree managed by the store.\n *\n * @returns {any} The current state tree of your application.\n */\n\n\n function getState() {\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(3) : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');\n }\n\n return currentState;\n }\n /**\n * Adds a change listener. It will be called any time an action is dispatched,\n * and some part of the state tree may potentially have changed. You may then\n * call `getState()` to read the current state tree inside the callback.\n *\n * You may call `dispatch()` from a change listener, with the following\n * caveats:\n *\n * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n * If you subscribe or unsubscribe while the listeners are being invoked, this\n * will not have any effect on the `dispatch()` that is currently in progress.\n * However, the next `dispatch()` call, whether nested or not, will use a more\n * recent snapshot of the subscription list.\n *\n * 2. The listener should not expect to see all state changes, as the state\n * might have been updated multiple times during a nested `dispatch()` before\n * the listener is called. It is, however, guaranteed that all subscribers\n * registered before the `dispatch()` started will be called with the latest\n * state by the time it exits.\n *\n * @param {Function} listener A callback to be invoked on every dispatch.\n * @returns {Function} A function to remove this change listener.\n */\n\n\n function subscribe(listener) {\n if (typeof listener !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(4) : \"Expected the listener to be a function. Instead, received: '\" + kindOf(listener) + \"'\");\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(5) : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n var isSubscribed = true;\n ensureCanMutateNextListeners();\n nextListeners.push(listener);\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(6) : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n isSubscribed = false;\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\n currentListeners = null;\n };\n }\n /**\n * Dispatches an action. It is the only way to trigger a state change.\n *\n * The `reducer` function, used to create the store, will be called with the\n * current state tree and the given `action`. Its return value will\n * be considered the **next** state of the tree, and the change listeners\n * will be notified.\n *\n * The base implementation only supports plain object actions. If you want to\n * dispatch a Promise, an Observable, a thunk, or something else, you need to\n * wrap your store creating function into the corresponding middleware. For\n * example, see the documentation for the `redux-thunk` package. Even the\n * middleware will eventually dispatch plain object actions using this method.\n *\n * @param {Object} action A plain object representing “what changed”. It is\n * a good idea to keep actions serializable so you can record and replay user\n * sessions, or use the time travelling `redux-devtools`. An action must have\n * a `type` property which may not be `undefined`. It is a good idea to use\n * string constants for action types.\n *\n * @returns {Object} For convenience, the same action object you dispatched.\n *\n * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n * return something else (for example, a Promise you can await).\n */\n\n\n function dispatch(action) {\n if (!isPlainObject(action)) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(7) : \"Actions must be plain objects. Instead, the actual type was: '\" + kindOf(action) + \"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.\");\n }\n\n if (typeof action.type === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(8) : 'Actions may not have an undefined \"type\" property. You may have misspelled an action type string constant.');\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(9) : 'Reducers may not dispatch actions.');\n }\n\n try {\n isDispatching = true;\n currentState = currentReducer(currentState, action);\n } finally {\n isDispatching = false;\n }\n\n var listeners = currentListeners = nextListeners;\n\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n listener();\n }\n\n return action;\n }\n /**\n * Replaces the reducer currently used by the store to calculate the state.\n *\n * You might need this if your app implements code splitting and you want to\n * load some of the reducers dynamically. You might also need this if you\n * implement a hot reloading mechanism for Redux.\n *\n * @param {Function} nextReducer The reducer for the store to use instead.\n * @returns {void}\n */\n\n\n function replaceReducer(nextReducer) {\n if (typeof nextReducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(10) : \"Expected the nextReducer to be a function. Instead, received: '\" + kindOf(nextReducer));\n }\n\n currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.\n // Any reducers that existed in both the new and old rootReducer\n // will receive the previous state. This effectively populates\n // the new state tree with any relevant data from the old one.\n\n dispatch({\n type: ActionTypes.REPLACE\n });\n }\n /**\n * Interoperability point for observable/reactive libraries.\n * @returns {observable} A minimal observable of state changes.\n * For more information, see the observable proposal:\n * https://github.com/tc39/proposal-observable\n */\n\n\n function observable() {\n var _ref;\n\n var outerSubscribe = subscribe;\n return _ref = {\n /**\n * The minimal observable subscription method.\n * @param {Object} observer Any object that can be used as an observer.\n * The observer object should have a `next` method.\n * @returns {subscription} An object with an `unsubscribe` method that can\n * be used to unsubscribe the observable from the store, and prevent further\n * emission of values from the observable.\n */\n subscribe: function subscribe(observer) {\n if (typeof observer !== 'object' || observer === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(11) : \"Expected the observer to be an object. Instead, received: '\" + kindOf(observer) + \"'\");\n }\n\n function observeState() {\n if (observer.next) {\n observer.next(getState());\n }\n }\n\n observeState();\n var unsubscribe = outerSubscribe(observeState);\n return {\n unsubscribe: unsubscribe\n };\n }\n }, _ref[$$observable] = function () {\n return this;\n }, _ref;\n } // When a store is created, an \"INIT\" action is dispatched so that every\n // reducer returns their initial state. This effectively populates\n // the initial state tree.\n\n\n dispatch({\n type: ActionTypes.INIT\n });\n return _ref2 = {\n dispatch: dispatch,\n subscribe: subscribe,\n getState: getState,\n replaceReducer: replaceReducer\n }, _ref2[$$observable] = observable, _ref2;\n}\n/**\n * Creates a Redux store that holds the state tree.\n *\n * **We recommend using `configureStore` from the\n * `@reduxjs/toolkit` package**, which replaces `createStore`:\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [preloadedState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} [enhancer] The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\n\nvar legacy_createStore = createStore;\n\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n\n\n try {\n // This error was thrown as a convenience so that if you enable\n // \"break on all exceptions\" in your console,\n // it would pause the execution at this line.\n throw new Error(message);\n } catch (e) {} // eslint-disable-line no-empty\n\n}\n\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {\n var reducerKeys = Object.keys(reducers);\n var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';\n\n if (reducerKeys.length === 0) {\n return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';\n }\n\n if (!isPlainObject(inputState)) {\n return \"The \" + argumentName + \" has unexpected type of \\\"\" + kindOf(inputState) + \"\\\". Expected argument to be an object with the following \" + (\"keys: \\\"\" + reducerKeys.join('\", \"') + \"\\\"\");\n }\n\n var unexpectedKeys = Object.keys(inputState).filter(function (key) {\n return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];\n });\n unexpectedKeys.forEach(function (key) {\n unexpectedKeyCache[key] = true;\n });\n if (action && action.type === ActionTypes.REPLACE) return;\n\n if (unexpectedKeys.length > 0) {\n return \"Unexpected \" + (unexpectedKeys.length > 1 ? 'keys' : 'key') + \" \" + (\"\\\"\" + unexpectedKeys.join('\", \"') + \"\\\" found in \" + argumentName + \". \") + \"Expected to find one of the known reducer keys instead: \" + (\"\\\"\" + reducerKeys.join('\", \"') + \"\\\". Unexpected keys will be ignored.\");\n }\n}\n\nfunction assertReducerShape(reducers) {\n Object.keys(reducers).forEach(function (key) {\n var reducer = reducers[key];\n var initialState = reducer(undefined, {\n type: ActionTypes.INIT\n });\n\n if (typeof initialState === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(12) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined during initialization. \" + \"If the state passed to the reducer is undefined, you must \" + \"explicitly return the initial state. The initial state may \" + \"not be undefined. If you don't want to set a value for this reducer, \" + \"you can use null instead of undefined.\");\n }\n\n if (typeof reducer(undefined, {\n type: ActionTypes.PROBE_UNKNOWN_ACTION()\n }) === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(13) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined when probed with a random type. \" + (\"Don't try to handle '\" + ActionTypes.INIT + \"' or other actions in \\\"redux/*\\\" \") + \"namespace. They are considered private. Instead, you must return the \" + \"current state for any unknown actions, unless it is undefined, \" + \"in which case you must return the initial state, regardless of the \" + \"action type. The initial state may not be undefined, but can be null.\");\n }\n });\n}\n/**\n * Turns an object whose values are different reducer functions, into a single\n * reducer function. It will call every child reducer, and gather their results\n * into a single state object, whose keys correspond to the keys of the passed\n * reducer functions.\n *\n * @param {Object} reducers An object whose values correspond to different\n * reducer functions that need to be combined into one. One handy way to obtain\n * it is to use ES6 `import * as reducers` syntax. The reducers may never return\n * undefined for any action. Instead, they should return their initial state\n * if the state passed to them was undefined, and the current state for any\n * unrecognized action.\n *\n * @returns {Function} A reducer function that invokes every reducer inside the\n * passed object, and builds a state object with the same shape.\n */\n\n\nfunction combineReducers(reducers) {\n var reducerKeys = Object.keys(reducers);\n var finalReducers = {};\n\n for (var i = 0; i < reducerKeys.length; i++) {\n var key = reducerKeys[i];\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof reducers[key] === 'undefined') {\n warning(\"No reducer provided for key \\\"\" + key + \"\\\"\");\n }\n }\n\n if (typeof reducers[key] === 'function') {\n finalReducers[key] = reducers[key];\n }\n }\n\n var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same\n // keys multiple times.\n\n var unexpectedKeyCache;\n\n if (process.env.NODE_ENV !== 'production') {\n unexpectedKeyCache = {};\n }\n\n var shapeAssertionError;\n\n try {\n assertReducerShape(finalReducers);\n } catch (e) {\n shapeAssertionError = e;\n }\n\n return function combination(state, action) {\n if (state === void 0) {\n state = {};\n }\n\n if (shapeAssertionError) {\n throw shapeAssertionError;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);\n\n if (warningMessage) {\n warning(warningMessage);\n }\n }\n\n var hasChanged = false;\n var nextState = {};\n\n for (var _i = 0; _i < finalReducerKeys.length; _i++) {\n var _key = finalReducerKeys[_i];\n var reducer = finalReducers[_key];\n var previousStateForKey = state[_key];\n var nextStateForKey = reducer(previousStateForKey, action);\n\n if (typeof nextStateForKey === 'undefined') {\n var actionType = action && action.type;\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(14) : \"When called with an action of type \" + (actionType ? \"\\\"\" + String(actionType) + \"\\\"\" : '(unknown type)') + \", the slice reducer for key \\\"\" + _key + \"\\\" returned undefined. \" + \"To ignore an action, you must explicitly return the previous state. \" + \"If you want this reducer to hold no value, you can return null instead of undefined.\");\n }\n\n nextState[_key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n\n hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;\n return hasChanged ? nextState : state;\n };\n}\n\nfunction bindActionCreator(actionCreator, dispatch) {\n return function () {\n return dispatch(actionCreator.apply(this, arguments));\n };\n}\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass an action creator as the first argument,\n * and get a dispatch wrapped function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\n\n\nfunction bindActionCreators(actionCreators, dispatch) {\n if (typeof actionCreators === 'function') {\n return bindActionCreator(actionCreators, dispatch);\n }\n\n if (typeof actionCreators !== 'object' || actionCreators === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(16) : \"bindActionCreators expected an object or a function, but instead received: '\" + kindOf(actionCreators) + \"'. \" + \"Did you write \\\"import ActionCreators from\\\" instead of \\\"import * as ActionCreators from\\\"?\");\n }\n\n var boundActionCreators = {};\n\n for (var key in actionCreators) {\n var actionCreator = actionCreators[key];\n\n if (typeof actionCreator === 'function') {\n boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n }\n }\n\n return boundActionCreators;\n}\n\n/**\n * Composes single-argument functions from right to left. The rightmost\n * function can take multiple arguments as it provides the signature for\n * the resulting composite function.\n *\n * @param {...Function} funcs The functions to compose.\n * @returns {Function} A function obtained by composing the argument functions\n * from right to left. For example, compose(f, g, h) is identical to doing\n * (...args) => f(g(h(...args))).\n */\nfunction compose() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n if (funcs.length === 0) {\n return function (arg) {\n return arg;\n };\n }\n\n if (funcs.length === 1) {\n return funcs[0];\n }\n\n return funcs.reduce(function (a, b) {\n return function () {\n return a(b.apply(void 0, arguments));\n };\n });\n}\n\n/**\n * Creates a store enhancer that applies middleware to the dispatch method\n * of the Redux store. This is handy for a variety of tasks, such as expressing\n * asynchronous actions in a concise manner, or logging every action payload.\n *\n * See `redux-thunk` package as an example of the Redux middleware.\n *\n * Because middleware is potentially asynchronous, this should be the first\n * store enhancer in the composition chain.\n *\n * Note that each middleware will be given the `dispatch` and `getState` functions\n * as named arguments.\n *\n * @param {...Function} middlewares The middleware chain to be applied.\n * @returns {Function} A store enhancer applying the middleware.\n */\n\nfunction applyMiddleware() {\n for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {\n middlewares[_key] = arguments[_key];\n }\n\n return function (createStore) {\n return function () {\n var store = createStore.apply(void 0, arguments);\n\n var _dispatch = function dispatch() {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(15) : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');\n };\n\n var middlewareAPI = {\n getState: store.getState,\n dispatch: function dispatch() {\n return _dispatch.apply(void 0, arguments);\n }\n };\n var chain = middlewares.map(function (middleware) {\n return middleware(middlewareAPI);\n });\n _dispatch = compose.apply(void 0, chain)(store.dispatch);\n return _objectSpread(_objectSpread({}, store), {}, {\n dispatch: _dispatch\n });\n };\n };\n}\n\nexport { ActionTypes as __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore, legacy_createStore };\n"],"names":["formatProdErrorMessage","code","$$observable","randomString","ActionTypes","isPlainObject","obj","proto","miniKindOf","val","type","isDate","isError","constructorName","ctorName","kindOf","typeOfVal","createStore","reducer","preloadedState","enhancer","_ref2","currentReducer","currentState","currentListeners","nextListeners","isDispatching","ensureCanMutateNextListeners","getState","subscribe","listener","isSubscribed","index","dispatch","action","listeners","i","replaceReducer","nextReducer","observable","_ref","outerSubscribe","observer","observeState","unsubscribe"],"mappings":"AASA,SAASA,EAAuBC,GAAM;AACpC,SAAO,2BAA2BA,IAAO,8CAA8CA,IAAO;AAChG;AAGA,IAAIC,IAAgB,WAAY;AAC9B,SAAO,OAAO,UAAW,cAAc,OAAO,cAAc;AAC9D,EAAC,GAQGC,IAAe,WAAwB;AACzC,SAAO,KAAK,OAAM,EAAG,SAAS,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG;AACnE,GAEIC,IAAc;AAAA,EAChB,MAAM,iBAAiBD,EAA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AAE,IAAI,oEAAoEe,EAAOuB,CAAW,CAAC;AAG9K,IAAAhB,IAAiBgB,GAKjBL,EAAS;AAAA,MACP,MAAM7B,EAAY;AAAA,IACxB,CAAK;AAAA,EACH;AASA,WAASmC,IAAa;AACpB,QAAIC,GAEAC,IAAiBZ;AACrB,WAAOW,IAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MASZ,WAAW,SAAmBE,GAAU;AACtC,YAAI,OAAOA,KAAa,YAAYA,MAAa;AAC/C,gBAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe1C,EAAuB,EAAE,IAAI,gEAAgEe,EAAO2B,CAAQ,IAAI,GAAG;AAG7K,iBAASC,IAAe;AACtB,UAAID,EAAS,QACXA,EAAS,KAAKd,GAAU;AAAA,QAE5B;AAEA,QAAAe,EAAY;AACZ,YAAIC,IAAcH,EAAeE,CAAY;AAC7C,eAAO;AAAA,UACL,aAAaC;AAAA,QACvB;AAAA,MACM;AAAA,IACN,GAAOJ,EAAKtC,CAAY,IAAI,WAAY;AAClC,aAAO;AAAA,IACT,GAAGsC;AAAA,EACL;AAKA,SAAAP,EAAS;AAAA,IACP,MAAM7B,EAAY;AAAA,EACtB,CAAG,GACMiB,IAAQ;AAAA,IACb,UAAUY;AAAA,IACV,WAAWJ;AAAA,IACX,UAAUD;AAAA,IACV,gBAAgBS;AAAA,EACpB,GAAKhB,EAAMnB,CAAY,IAAIqC,GAAYlB;AACvC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"redux.js","sources":["../../../../node_modules/redux/es/redux.js"],"sourcesContent":["import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';\n\n/**\n * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js\n *\n * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes\n * during build.\n * @param {number} code\n */\nfunction formatProdErrorMessage(code) {\n return \"Minified Redux error #\" + code + \"; visit https://redux.js.org/Errors?code=\" + code + \" for the full message or \" + 'use the non-minified dev environment for full errors. ';\n}\n\n// Inlined version of the `symbol-observable` polyfill\nvar $$observable = (function () {\n return typeof Symbol === 'function' && Symbol.observable || '@@observable';\n})();\n\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\nvar randomString = function randomString() {\n return Math.random().toString(36).substring(7).split('').join('.');\n};\n\nvar ActionTypes = {\n INIT: \"@@redux/INIT\" + randomString(),\n REPLACE: \"@@redux/REPLACE\" + randomString(),\n PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {\n return \"@@redux/PROBE_UNKNOWN_ACTION\" + randomString();\n }\n};\n\n/**\n * @param {any} obj The object to inspect.\n * @returns {boolean} True if the argument appears to be a plain object.\n */\nfunction isPlainObject(obj) {\n if (typeof obj !== 'object' || obj === null) return false;\n var proto = obj;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(obj) === proto;\n}\n\n// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of\nfunction miniKindOf(val) {\n if (val === void 0) return 'undefined';\n if (val === null) return 'null';\n var type = typeof val;\n\n switch (type) {\n case 'boolean':\n case 'string':\n case 'number':\n case 'symbol':\n case 'function':\n {\n return type;\n }\n }\n\n if (Array.isArray(val)) return 'array';\n if (isDate(val)) return 'date';\n if (isError(val)) return 'error';\n var constructorName = ctorName(val);\n\n switch (constructorName) {\n case 'Symbol':\n case 'Promise':\n case 'WeakMap':\n case 'WeakSet':\n case 'Map':\n case 'Set':\n return constructorName;\n } // other\n\n\n return type.slice(8, -1).toLowerCase().replace(/\\s/g, '');\n}\n\nfunction ctorName(val) {\n return typeof val.constructor === 'function' ? val.constructor.name : null;\n}\n\nfunction isError(val) {\n return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';\n}\n\nfunction isDate(val) {\n if (val instanceof Date) return true;\n return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';\n}\n\nfunction kindOf(val) {\n var typeOfVal = typeof val;\n\n if (process.env.NODE_ENV !== 'production') {\n typeOfVal = miniKindOf(val);\n }\n\n return typeOfVal;\n}\n\n/**\n * @deprecated\n *\n * **We recommend using the `configureStore` method\n * of the `@reduxjs/toolkit` package**, which replaces `createStore`.\n *\n * Redux Toolkit is our recommended approach for writing Redux logic today,\n * including store setup, reducers, data fetching, and more.\n *\n * **For more details, please read this Redux docs page:**\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * `configureStore` from Redux Toolkit is an improved version of `createStore` that\n * simplifies setup and helps avoid common bugs.\n *\n * You should not be using the `redux` core package by itself today, except for learning purposes.\n * The `createStore` method from the core `redux` package will not be removed, but we encourage\n * all users to migrate to using Redux Toolkit for all Redux code.\n *\n * If you want to use `createStore` without this visual deprecation warning, use\n * the `legacy_createStore` import instead:\n *\n * `import { legacy_createStore as createStore} from 'redux'`\n *\n */\n\nfunction createStore(reducer, preloadedState, enhancer) {\n var _ref2;\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(0) : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.');\n }\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {\n enhancer = preloadedState;\n preloadedState = undefined;\n }\n\n if (typeof enhancer !== 'undefined') {\n if (typeof enhancer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(1) : \"Expected the enhancer to be a function. Instead, received: '\" + kindOf(enhancer) + \"'\");\n }\n\n return enhancer(createStore)(reducer, preloadedState);\n }\n\n if (typeof reducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(2) : \"Expected the root reducer to be a function. Instead, received: '\" + kindOf(reducer) + \"'\");\n }\n\n var currentReducer = reducer;\n var currentState = preloadedState;\n var currentListeners = [];\n var nextListeners = currentListeners;\n var isDispatching = false;\n /**\n * This makes a shallow copy of currentListeners so we can use\n * nextListeners as a temporary list while dispatching.\n *\n * This prevents any bugs around consumers calling\n * subscribe/unsubscribe in the middle of a dispatch.\n */\n\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = currentListeners.slice();\n }\n }\n /**\n * Reads the state tree managed by the store.\n *\n * @returns {any} The current state tree of your application.\n */\n\n\n function getState() {\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(3) : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');\n }\n\n return currentState;\n }\n /**\n * Adds a change listener. It will be called any time an action is dispatched,\n * and some part of the state tree may potentially have changed. You may then\n * call `getState()` to read the current state tree inside the callback.\n *\n * You may call `dispatch()` from a change listener, with the following\n * caveats:\n *\n * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n * If you subscribe or unsubscribe while the listeners are being invoked, this\n * will not have any effect on the `dispatch()` that is currently in progress.\n * However, the next `dispatch()` call, whether nested or not, will use a more\n * recent snapshot of the subscription list.\n *\n * 2. The listener should not expect to see all state changes, as the state\n * might have been updated multiple times during a nested `dispatch()` before\n * the listener is called. It is, however, guaranteed that all subscribers\n * registered before the `dispatch()` started will be called with the latest\n * state by the time it exits.\n *\n * @param {Function} listener A callback to be invoked on every dispatch.\n * @returns {Function} A function to remove this change listener.\n */\n\n\n function subscribe(listener) {\n if (typeof listener !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(4) : \"Expected the listener to be a function. Instead, received: '\" + kindOf(listener) + \"'\");\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(5) : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n var isSubscribed = true;\n ensureCanMutateNextListeners();\n nextListeners.push(listener);\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(6) : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n isSubscribed = false;\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\n currentListeners = null;\n };\n }\n /**\n * Dispatches an action. It is the only way to trigger a state change.\n *\n * The `reducer` function, used to create the store, will be called with the\n * current state tree and the given `action`. Its return value will\n * be considered the **next** state of the tree, and the change listeners\n * will be notified.\n *\n * The base implementation only supports plain object actions. If you want to\n * dispatch a Promise, an Observable, a thunk, or something else, you need to\n * wrap your store creating function into the corresponding middleware. For\n * example, see the documentation for the `redux-thunk` package. Even the\n * middleware will eventually dispatch plain object actions using this method.\n *\n * @param {Object} action A plain object representing “what changed”. It is\n * a good idea to keep actions serializable so you can record and replay user\n * sessions, or use the time travelling `redux-devtools`. An action must have\n * a `type` property which may not be `undefined`. It is a good idea to use\n * string constants for action types.\n *\n * @returns {Object} For convenience, the same action object you dispatched.\n *\n * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n * return something else (for example, a Promise you can await).\n */\n\n\n function dispatch(action) {\n if (!isPlainObject(action)) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(7) : \"Actions must be plain objects. Instead, the actual type was: '\" + kindOf(action) + \"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.\");\n }\n\n if (typeof action.type === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(8) : 'Actions may not have an undefined \"type\" property. You may have misspelled an action type string constant.');\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(9) : 'Reducers may not dispatch actions.');\n }\n\n try {\n isDispatching = true;\n currentState = currentReducer(currentState, action);\n } finally {\n isDispatching = false;\n }\n\n var listeners = currentListeners = nextListeners;\n\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n listener();\n }\n\n return action;\n }\n /**\n * Replaces the reducer currently used by the store to calculate the state.\n *\n * You might need this if your app implements code splitting and you want to\n * load some of the reducers dynamically. You might also need this if you\n * implement a hot reloading mechanism for Redux.\n *\n * @param {Function} nextReducer The reducer for the store to use instead.\n * @returns {void}\n */\n\n\n function replaceReducer(nextReducer) {\n if (typeof nextReducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(10) : \"Expected the nextReducer to be a function. Instead, received: '\" + kindOf(nextReducer));\n }\n\n currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.\n // Any reducers that existed in both the new and old rootReducer\n // will receive the previous state. This effectively populates\n // the new state tree with any relevant data from the old one.\n\n dispatch({\n type: ActionTypes.REPLACE\n });\n }\n /**\n * Interoperability point for observable/reactive libraries.\n * @returns {observable} A minimal observable of state changes.\n * For more information, see the observable proposal:\n * https://github.com/tc39/proposal-observable\n */\n\n\n function observable() {\n var _ref;\n\n var outerSubscribe = subscribe;\n return _ref = {\n /**\n * The minimal observable subscription method.\n * @param {Object} observer Any object that can be used as an observer.\n * The observer object should have a `next` method.\n * @returns {subscription} An object with an `unsubscribe` method that can\n * be used to unsubscribe the observable from the store, and prevent further\n * emission of values from the observable.\n */\n subscribe: function subscribe(observer) {\n if (typeof observer !== 'object' || observer === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(11) : \"Expected the observer to be an object. Instead, received: '\" + kindOf(observer) + \"'\");\n }\n\n function observeState() {\n if (observer.next) {\n observer.next(getState());\n }\n }\n\n observeState();\n var unsubscribe = outerSubscribe(observeState);\n return {\n unsubscribe: unsubscribe\n };\n }\n }, _ref[$$observable] = function () {\n return this;\n }, _ref;\n } // When a store is created, an \"INIT\" action is dispatched so that every\n // reducer returns their initial state. This effectively populates\n // the initial state tree.\n\n\n dispatch({\n type: ActionTypes.INIT\n });\n return _ref2 = {\n dispatch: dispatch,\n subscribe: subscribe,\n getState: getState,\n replaceReducer: replaceReducer\n }, _ref2[$$observable] = observable, _ref2;\n}\n/**\n * Creates a Redux store that holds the state tree.\n *\n * **We recommend using `configureStore` from the\n * `@reduxjs/toolkit` package**, which replaces `createStore`:\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [preloadedState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} [enhancer] The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\n\nvar legacy_createStore = createStore;\n\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n\n\n try {\n // This error was thrown as a convenience so that if you enable\n // \"break on all exceptions\" in your console,\n // it would pause the execution at this line.\n throw new Error(message);\n } catch (e) {} // eslint-disable-line no-empty\n\n}\n\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {\n var reducerKeys = Object.keys(reducers);\n var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';\n\n if (reducerKeys.length === 0) {\n return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';\n }\n\n if (!isPlainObject(inputState)) {\n return \"The \" + argumentName + \" has unexpected type of \\\"\" + kindOf(inputState) + \"\\\". Expected argument to be an object with the following \" + (\"keys: \\\"\" + reducerKeys.join('\", \"') + \"\\\"\");\n }\n\n var unexpectedKeys = Object.keys(inputState).filter(function (key) {\n return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];\n });\n unexpectedKeys.forEach(function (key) {\n unexpectedKeyCache[key] = true;\n });\n if (action && action.type === ActionTypes.REPLACE) return;\n\n if (unexpectedKeys.length > 0) {\n return \"Unexpected \" + (unexpectedKeys.length > 1 ? 'keys' : 'key') + \" \" + (\"\\\"\" + unexpectedKeys.join('\", \"') + \"\\\" found in \" + argumentName + \". \") + \"Expected to find one of the known reducer keys instead: \" + (\"\\\"\" + reducerKeys.join('\", \"') + \"\\\". Unexpected keys will be ignored.\");\n }\n}\n\nfunction assertReducerShape(reducers) {\n Object.keys(reducers).forEach(function (key) {\n var reducer = reducers[key];\n var initialState = reducer(undefined, {\n type: ActionTypes.INIT\n });\n\n if (typeof initialState === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(12) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined during initialization. \" + \"If the state passed to the reducer is undefined, you must \" + \"explicitly return the initial state. The initial state may \" + \"not be undefined. If you don't want to set a value for this reducer, \" + \"you can use null instead of undefined.\");\n }\n\n if (typeof reducer(undefined, {\n type: ActionTypes.PROBE_UNKNOWN_ACTION()\n }) === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(13) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined when probed with a random type. \" + (\"Don't try to handle '\" + ActionTypes.INIT + \"' or other actions in \\\"redux/*\\\" \") + \"namespace. They are considered private. Instead, you must return the \" + \"current state for any unknown actions, unless it is undefined, \" + \"in which case you must return the initial state, regardless of the \" + \"action type. The initial state may not be undefined, but can be null.\");\n }\n });\n}\n/**\n * Turns an object whose values are different reducer functions, into a single\n * reducer function. It will call every child reducer, and gather their results\n * into a single state object, whose keys correspond to the keys of the passed\n * reducer functions.\n *\n * @param {Object} reducers An object whose values correspond to different\n * reducer functions that need to be combined into one. One handy way to obtain\n * it is to use ES6 `import * as reducers` syntax. The reducers may never return\n * undefined for any action. Instead, they should return their initial state\n * if the state passed to them was undefined, and the current state for any\n * unrecognized action.\n *\n * @returns {Function} A reducer function that invokes every reducer inside the\n * passed object, and builds a state object with the same shape.\n */\n\n\nfunction combineReducers(reducers) {\n var reducerKeys = Object.keys(reducers);\n var finalReducers = {};\n\n for (var i = 0; i < reducerKeys.length; i++) {\n var key = reducerKeys[i];\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof reducers[key] === 'undefined') {\n warning(\"No reducer provided for key \\\"\" + key + \"\\\"\");\n }\n }\n\n if (typeof reducers[key] === 'function') {\n finalReducers[key] = reducers[key];\n }\n }\n\n var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same\n // keys multiple times.\n\n var unexpectedKeyCache;\n\n if (process.env.NODE_ENV !== 'production') {\n unexpectedKeyCache = {};\n }\n\n var shapeAssertionError;\n\n try {\n assertReducerShape(finalReducers);\n } catch (e) {\n shapeAssertionError = e;\n }\n\n return function combination(state, action) {\n if (state === void 0) {\n state = {};\n }\n\n if (shapeAssertionError) {\n throw shapeAssertionError;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);\n\n if (warningMessage) {\n warning(warningMessage);\n }\n }\n\n var hasChanged = false;\n var nextState = {};\n\n for (var _i = 0; _i < finalReducerKeys.length; _i++) {\n var _key = finalReducerKeys[_i];\n var reducer = finalReducers[_key];\n var previousStateForKey = state[_key];\n var nextStateForKey = reducer(previousStateForKey, action);\n\n if (typeof nextStateForKey === 'undefined') {\n var actionType = action && action.type;\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(14) : \"When called with an action of type \" + (actionType ? \"\\\"\" + String(actionType) + \"\\\"\" : '(unknown type)') + \", the slice reducer for key \\\"\" + _key + \"\\\" returned undefined. \" + \"To ignore an action, you must explicitly return the previous state. \" + \"If you want this reducer to hold no value, you can return null instead of undefined.\");\n }\n\n nextState[_key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n\n hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;\n return hasChanged ? nextState : state;\n };\n}\n\nfunction bindActionCreator(actionCreator, dispatch) {\n return function () {\n return dispatch(actionCreator.apply(this, arguments));\n };\n}\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass an action creator as the first argument,\n * and get a dispatch wrapped function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\n\n\nfunction bindActionCreators(actionCreators, dispatch) {\n if (typeof actionCreators === 'function') {\n return bindActionCreator(actionCreators, dispatch);\n }\n\n if (typeof actionCreators !== 'object' || actionCreators === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(16) : \"bindActionCreators expected an object or a function, but instead received: '\" + kindOf(actionCreators) + \"'. \" + \"Did you write \\\"import ActionCreators from\\\" instead of \\\"import * as ActionCreators from\\\"?\");\n }\n\n var boundActionCreators = {};\n\n for (var key in actionCreators) {\n var actionCreator = actionCreators[key];\n\n if (typeof actionCreator === 'function') {\n boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n }\n }\n\n return boundActionCreators;\n}\n\n/**\n * Composes single-argument functions from right to left. The rightmost\n * function can take multiple arguments as it provides the signature for\n * the resulting composite function.\n *\n * @param {...Function} funcs The functions to compose.\n * @returns {Function} A function obtained by composing the argument functions\n * from right to left. For example, compose(f, g, h) is identical to doing\n * (...args) => f(g(h(...args))).\n */\nfunction compose() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n if (funcs.length === 0) {\n return function (arg) {\n return arg;\n };\n }\n\n if (funcs.length === 1) {\n return funcs[0];\n }\n\n return funcs.reduce(function (a, b) {\n return function () {\n return a(b.apply(void 0, arguments));\n };\n });\n}\n\n/**\n * Creates a store enhancer that applies middleware to the dispatch method\n * of the Redux store. This is handy for a variety of tasks, such as expressing\n * asynchronous actions in a concise manner, or logging every action payload.\n *\n * See `redux-thunk` package as an example of the Redux middleware.\n *\n * Because middleware is potentially asynchronous, this should be the first\n * store enhancer in the composition chain.\n *\n * Note that each middleware will be given the `dispatch` and `getState` functions\n * as named arguments.\n *\n * @param {...Function} middlewares The middleware chain to be applied.\n * @returns {Function} A store enhancer applying the middleware.\n */\n\nfunction applyMiddleware() {\n for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {\n middlewares[_key] = arguments[_key];\n }\n\n return function (createStore) {\n return function () {\n var store = createStore.apply(void 0, arguments);\n\n var _dispatch = function dispatch() {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(15) : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');\n };\n\n var middlewareAPI = {\n getState: store.getState,\n dispatch: function dispatch() {\n return _dispatch.apply(void 0, arguments);\n }\n };\n var chain = middlewares.map(function (middleware) {\n return middleware(middlewareAPI);\n });\n _dispatch = compose.apply(void 0, chain)(store.dispatch);\n return _objectSpread(_objectSpread({}, store), {}, {\n dispatch: _dispatch\n });\n };\n };\n}\n\nexport { ActionTypes as __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore, legacy_createStore };\n"],"names":["formatProdErrorMessage","code","$$observable","randomString","ActionTypes","isPlainObject","obj","proto","miniKindOf","val","type","isDate","isError","constructorName","ctorName","kindOf","typeOfVal","createStore","reducer","preloadedState","enhancer","_ref2","currentReducer","currentState","currentListeners","nextListeners","isDispatching","ensureCanMutateNextListeners","getState","subscribe","listener","isSubscribed","index","dispatch","action","listeners","i","replaceReducer","nextReducer","observable","_ref","outerSubscribe","observer","observeState","unsubscribe"],"mappings":"AASA,SAASA,EAAuBC,GAAM;AACpC,SAAO,2BAA2BA,IAAO,8CAA8CA,IAAO;AAChG;AAGA,IAAIC,KAAgB,WAAY;AAC9B,SAAO,OAAO,UAAW,cAAc,OAAO,cAAc;AAC9D,GAAC,GAQGC,IAAe,WAAwB;AACzC,SAAO,KAAK,OAAM,EAAG,SAAS,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG;AACnE,GAEIC,IAAc;AAAA,EAChB,MAAM,iBAAiBD,EAAY;AAAA,EACnC,SAAS,oBAAoBA,EAAY;AAI3C;AAMA,SAASE,EAAcC,GAAK;AAC1B,MAAI,OAAOA,KAAQ,YAAYA,MAAQ,KAAM,QAAO;AAGpD,WAFIC,IAAQD,GAEL,OAAO,eAAeC,CAAK,MAAM;AACtC,IAAAA,IAAQ,OAAO,eAAeA,CAAK;AAGrC,SAAO,OAAO,eAAeD,CAAG,MAAMC;AACxC;AAGA,SAASC,EAAWC,GAAK;AACvB,MAAIA,M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,KAAa,YAAYA,MAAa;AAC/C,gBAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe1C,EAAuB,EAAE,IAAI,gEAAgEe,EAAO2B,CAAQ,IAAI,GAAG;AAG7K,iBAASC,IAAe;AACtB,UAAID,EAAS,QACXA,EAAS,KAAKd,GAAU;AAAA,QAE5B;AAEA,QAAAe,EAAY;AACZ,YAAIC,IAAcH,EAAeE,CAAY;AAC7C,eAAO;AAAA,UACL,aAAaC;AAAA,QACvB;AAAA,MACM;AAAA,IACN,GAAOJ,EAAKtC,CAAY,IAAI,WAAY;AAClC,aAAO;AAAA,IACT,GAAGsC;AAAA,EACL;AAKA,SAAAP,EAAS;AAAA,IACP,MAAM7B,EAAY;AAAA,EACtB,CAAG,GACMiB,IAAQ;AAAA,IACb,UAAUY;AAAA,IACV,WAAWJ;AAAA,IACX,UAAUD;AAAA,IACV,gBAAgBS;AAAA,EACpB,GAAKhB,EAAMnB,CAAY,IAAIqC,GAAYlB;AACvC;","x_google_ignoreList":[0]}
@@ -114,22 +114,42 @@ export declare const payScheduleEvents: {
114
114
  export declare const runPayrollEvents: {
115
115
  readonly RUN_PAYROLL_BACK: "runPayroll/back";
116
116
  readonly RUN_PAYROLL_CALCULATED: "runPayroll/calculated";
117
- readonly RUN_PAYROLL_EDITED: "runPayroll/edited";
118
- readonly RUN_PAYROLL_EMPLOYEE_EDITED: "runPayroll/employee/edited";
117
+ readonly RUN_PAYROLL_CANCELLED: "runPayroll/cancelled";
118
+ readonly RUN_PAYROLL_EDIT: "runPayroll/edit";
119
+ readonly RUN_PAYROLL_EMPLOYEE_EDIT: "runPayroll/employee/edit";
119
120
  readonly RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved";
120
121
  readonly RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled";
121
122
  readonly RUN_PAYROLL_SELECTED: "runPayroll/selected";
122
123
  readonly RUN_PAYROLL_SUBMITTED: "runPayroll/submitted";
124
+ readonly RUN_PAYROLL_SUMMARY_VIEWED: "runPayroll/summary/viewed";
125
+ readonly RUN_PAYROLL_RECEIPT_GET: "runPayroll/receipt/get";
126
+ readonly RUN_PAYROLL_RECEIPT_VIEWED: "runPayroll/receipt/viewed";
127
+ readonly RUN_PAYROLL_PROCESSED: "runPayroll/processed";
128
+ readonly RUN_PAYROLL_PROCESSING_FAILED: "runPayroll/processingFailed";
129
+ readonly RUN_PAYROLL_PDF_PAYSTUB_VIEWED: "runPayroll/pdfPaystub/viewed";
130
+ readonly RUN_PAYROLL_BLOCKERS_DETECTED: "runPayroll/blockers/detected";
131
+ readonly RUN_PAYROLL_BLOCKER_RESOLUTION_ATTEMPTED: "runPayroll/blocker/resolutionAttempted";
132
+ readonly RUN_PAYROLL_BLOCKERS_VIEW_ALL: "runPayroll/blockers/viewAll";
123
133
  };
124
134
  export declare const componentEvents: {
125
135
  readonly RUN_PAYROLL_BACK: "runPayroll/back";
126
136
  readonly RUN_PAYROLL_CALCULATED: "runPayroll/calculated";
127
- readonly RUN_PAYROLL_EDITED: "runPayroll/edited";
128
- readonly RUN_PAYROLL_EMPLOYEE_EDITED: "runPayroll/employee/edited";
137
+ readonly RUN_PAYROLL_CANCELLED: "runPayroll/cancelled";
138
+ readonly RUN_PAYROLL_EDIT: "runPayroll/edit";
139
+ readonly RUN_PAYROLL_EMPLOYEE_EDIT: "runPayroll/employee/edit";
129
140
  readonly RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved";
130
141
  readonly RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled";
131
142
  readonly RUN_PAYROLL_SELECTED: "runPayroll/selected";
132
143
  readonly RUN_PAYROLL_SUBMITTED: "runPayroll/submitted";
144
+ readonly RUN_PAYROLL_SUMMARY_VIEWED: "runPayroll/summary/viewed";
145
+ readonly RUN_PAYROLL_RECEIPT_GET: "runPayroll/receipt/get";
146
+ readonly RUN_PAYROLL_RECEIPT_VIEWED: "runPayroll/receipt/viewed";
147
+ readonly RUN_PAYROLL_PROCESSED: "runPayroll/processed";
148
+ readonly RUN_PAYROLL_PROCESSING_FAILED: "runPayroll/processingFailed";
149
+ readonly RUN_PAYROLL_PDF_PAYSTUB_VIEWED: "runPayroll/pdfPaystub/viewed";
150
+ readonly RUN_PAYROLL_BLOCKERS_DETECTED: "runPayroll/blockers/detected";
151
+ readonly RUN_PAYROLL_BLOCKER_RESOLUTION_ATTEMPTED: "runPayroll/blocker/resolutionAttempted";
152
+ readonly RUN_PAYROLL_BLOCKERS_VIEW_ALL: "runPayroll/blockers/viewAll";
133
153
  readonly CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated";
134
154
  readonly CONTRACTOR_ADDRESS_DONE: "contractor/address/done";
135
155
  readonly CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated";
@@ -333,3 +353,20 @@ export declare const COMPENSATION_NAME_REGULAR_HOURS = "Regular Hours";
333
353
  export declare const COMPENSATION_NAME_OVERTIME = "Overtime";
334
354
  export declare const COMPENSATION_NAME_DOUBLE_OVERTIME = "Double overtime";
335
355
  export declare const HOURS_COMPENSATION_NAMES: string[];
356
+ export declare const COMPENSATION_NAME_BONUS = "Bonus";
357
+ export declare const COMPENSATION_NAME_PAYCHECK_TIPS = "Paycheck Tips";
358
+ export declare const COMPENSATION_NAME_CORRECTION_PAYMENT = "Correction Payment";
359
+ export declare const COMPENSATION_NAME_COMMISSION = "Commission";
360
+ export declare const COMPENSATION_NAME_CASH_TIPS = "Cash Tips";
361
+ export declare const COMPENSATION_NAME_REIMBURSEMENT = "Reimbursement";
362
+ export declare const FIXED_COMPENSATION_NAMES: string[];
363
+ export declare const OWNERS_DRAW = "Owner's Draw";
364
+ export declare const MIN_WAGE_ADJUST = "Minimum Wage Adjustment";
365
+ export declare const EXCLUDED_ADDITIONAL_EARNINGS: string[];
366
+ export declare const PAYROLL_PROCESSING_STATUS: {
367
+ readonly calculating: "calculating";
368
+ readonly calculate_success: "calculate_success";
369
+ readonly submitting: "submitting";
370
+ readonly submit_success: "submit_success";
371
+ readonly processing_failed: "processing_failed";
372
+ };
@@ -49,7 +49,7 @@ const A = {
49
49
  EMPLOYEE_SIGN_FORM: "employee/forms/sign",
50
50
  EMPLOYEE_FORMS_DONE: "employee/forms/done",
51
51
  EMPLOYEE_ONBOARDING_STATUS_UPDATED: "employee/onboardingStatus/updated"
52
- }, n = {
52
+ }, N = {
53
53
  COMPANY_INDUSTRY: "company/industry",
54
54
  COMPANY_INDUSTRY_SELECTED: "company/industry/selected",
55
55
  COMPANY_FEDERAL_TAXES_UPDATED: "company/federalTaxes/updated",
@@ -83,7 +83,7 @@ const A = {
83
83
  COMPANY_STATE_TAX_EDIT: "company/stateTaxes/edit",
84
84
  COMPANY_OVERVIEW_DONE: "company/overview/done",
85
85
  COMPANY_OVERVIEW_CONTINUE: "company/overview/continue"
86
- }, N = {
86
+ }, n = {
87
87
  CONTRACTOR_ADDRESS_UPDATED: "contractor/address/updated",
88
88
  CONTRACTOR_ADDRESS_DONE: "contractor/address/done",
89
89
  CONTRACTOR_PAYMENT_METHOD_UPDATED: "contractor/paymentMethod/updated",
@@ -112,21 +112,31 @@ const A = {
112
112
  }, T = {
113
113
  RUN_PAYROLL_BACK: "runPayroll/back",
114
114
  RUN_PAYROLL_CALCULATED: "runPayroll/calculated",
115
- RUN_PAYROLL_EDITED: "runPayroll/edited",
116
- RUN_PAYROLL_EMPLOYEE_EDITED: "runPayroll/employee/edited",
115
+ RUN_PAYROLL_CANCELLED: "runPayroll/cancelled",
116
+ RUN_PAYROLL_EDIT: "runPayroll/edit",
117
+ RUN_PAYROLL_EMPLOYEE_EDIT: "runPayroll/employee/edit",
117
118
  RUN_PAYROLL_EMPLOYEE_SAVED: "runPayroll/employee/saved",
118
119
  RUN_PAYROLL_EMPLOYEE_CANCELLED: "runPayroll/employee/cancelled",
119
120
  RUN_PAYROLL_SELECTED: "runPayroll/selected",
120
- RUN_PAYROLL_SUBMITTED: "runPayroll/submitted"
121
- }, r = {
121
+ RUN_PAYROLL_SUBMITTED: "runPayroll/submitted",
122
+ RUN_PAYROLL_SUMMARY_VIEWED: "runPayroll/summary/viewed",
123
+ RUN_PAYROLL_RECEIPT_GET: "runPayroll/receipt/get",
124
+ RUN_PAYROLL_RECEIPT_VIEWED: "runPayroll/receipt/viewed",
125
+ RUN_PAYROLL_PROCESSED: "runPayroll/processed",
126
+ RUN_PAYROLL_PROCESSING_FAILED: "runPayroll/processingFailed",
127
+ RUN_PAYROLL_PDF_PAYSTUB_VIEWED: "runPayroll/pdfPaystub/viewed",
128
+ RUN_PAYROLL_BLOCKERS_DETECTED: "runPayroll/blockers/detected",
129
+ RUN_PAYROLL_BLOCKER_RESOLUTION_ATTEMPTED: "runPayroll/blocker/resolutionAttempted",
130
+ RUN_PAYROLL_BLOCKERS_VIEW_ALL: "runPayroll/blockers/viewAll"
131
+ }, I = {
122
132
  ROBOT_MACHINE_DONE: "done",
123
133
  //This is internal Robot event thrown when machine transitions to final state
124
134
  ERROR: "ERROR",
125
135
  CANCEL: "CANCEL",
126
136
  ...A,
127
- ...n,
128
- ...t,
129
137
  ...N,
138
+ ...t,
139
+ ...n,
130
140
  ...T
131
141
  }, o = {
132
142
  ADMIN_ONBOARDING_INCOMPLETE: E.AdminOnboardingIncomplete,
@@ -137,11 +147,11 @@ const A = {
137
147
  SELF_ONBOARDING_COMPLETED_BY_EMPLOYEE: E.SelfOnboardingCompletedByEmployee,
138
148
  SELF_ONBOARDING_AWAITING_ADMIN_REVIEW: E.SelfOnboardingAwaitingAdminReview,
139
149
  ONBOARDING_COMPLETED: E.OnboardingCompleted
140
- }, C = /* @__PURE__ */ new Set([
150
+ }, S = /* @__PURE__ */ new Set([
141
151
  o.SELF_ONBOARDING_INVITED,
142
152
  o.SELF_ONBOARDING_INVITED_STARTED,
143
153
  o.SELF_ONBOARDING_INVITED_OVERDUE
144
- ]), O = {
154
+ ]), _ = {
145
155
  ADMIN_ONBOARDING_INCOMPLETE: e.AdminOnboardingIncomplete,
146
156
  ADMIN_ONBOARDING_REVIEW: e.AdminOnboardingReview,
147
157
  SELF_ONBOARDING_NOT_INVITED: e.SelfOnboardingNotInvited,
@@ -149,25 +159,25 @@ const A = {
149
159
  SELF_ONBOARDING_STARTED: e.SelfOnboardingStarted,
150
160
  SELF_ONBOARDING_REVIEW: e.SelfOnboardingReview,
151
161
  ONBOARDING_COMPLETED: e.OnboardingCompleted
152
- }, P = /* @__PURE__ */ new Set([
153
- O.SELF_ONBOARDING_NOT_INVITED,
154
- O.SELF_ONBOARDING_INVITED,
155
- O.SELF_ONBOARDING_STARTED,
156
- O.SELF_ONBOARDING_REVIEW,
157
- O.ADMIN_ONBOARDING_REVIEW
158
- ]), I = {
162
+ }, M = /* @__PURE__ */ new Set([
163
+ _.SELF_ONBOARDING_NOT_INVITED,
164
+ _.SELF_ONBOARDING_INVITED,
165
+ _.SELF_ONBOARDING_STARTED,
166
+ _.SELF_ONBOARDING_REVIEW,
167
+ _.ADMIN_ONBOARDING_REVIEW
168
+ ]), s = {
159
169
  EXEMPT: "Exempt",
160
170
  SALARIED_NONEXEMPT: "Salaried Nonexempt",
161
171
  NONEXEMPT: "Nonexempt",
162
172
  OWNER: "Owner",
163
173
  COMMISSION_ONLY_EXEMPT: "Commission Only Exempt",
164
174
  COMMISSION_ONLY_NONEXEMPT: "Commission Only Nonexempt"
165
- }, M = {
175
+ }, L = {
166
176
  REIMBURSEMENT_NAME: "reimbursement",
167
177
  REGULAR_HOURS_NAME: "regular hours",
168
178
  OVERTIME_NAME: "overtime",
169
179
  DOUBLE_OVERTIME_NAME: "double overtime"
170
- }, S = 43888, p = 40, s = 173.333333, L = 2080, m = [
180
+ }, l = 43888, m = 40, p = 173.333333, i = 2080, Y = [
171
181
  "AL",
172
182
  "AK",
173
183
  "AZ",
@@ -218,7 +228,7 @@ const A = {
218
228
  "WV",
219
229
  "WI",
220
230
  "WY"
221
- ], l = {
231
+ ], y = {
222
232
  OWNER: "owner",
223
233
  PRESIDENT: "president",
224
234
  VICE_PRESIDENT: "vice_president",
@@ -226,61 +236,79 @@ const A = {
226
236
  CORPORATE_OFFICER: "corporate_officer",
227
237
  PARTNER: "partner",
228
238
  MEMBER: "member"
229
- }, Y = {
239
+ }, u = {
230
240
  HOUR: "Hour",
231
241
  WEEK: "Week",
232
242
  MONTH: "Month",
233
243
  YEAR: "Year",
234
244
  PAYCHECK: "Paycheck"
235
- }, _ = {
245
+ }, O = {
236
246
  BASE: "base",
237
247
  SMALL: "small",
238
248
  MEDIUM: "medium",
239
249
  LARGE: "large"
240
- }, i = {
241
- [_.BASE]: "0rem",
242
- [_.SMALL]: "40rem",
243
- [_.MEDIUM]: "48rem",
244
- [_.LARGE]: "64rem"
245
- }, y = {
250
+ }, U = {
251
+ [O.BASE]: "0rem",
252
+ [O.SMALL]: "40rem",
253
+ [O.MEDIUM]: "48rem",
254
+ [O.LARGE]: "64rem"
255
+ }, B = {
246
256
  check: "Check",
247
257
  directDeposit: "Direct Deposit"
248
- }, u = {
258
+ }, g = {
249
259
  percentage: "Percentage",
250
260
  amount: "Amount"
251
- }, U = {
261
+ }, b = {
252
262
  BUSINESS: "Business"
253
- }, a = "Regular Hours", D = "Overtime", d = "Double overtime", B = [
263
+ }, a = "Regular Hours", R = "Overtime", D = "Double overtime", G = [
254
264
  a,
255
- D,
256
- d
257
- ];
265
+ R,
266
+ D
267
+ ], V = "Bonus", F = "Paycheck Tips", H = "Correction Payment", f = "Commission", v = "Cash Tips", r = "Reimbursement", d = "Owner's Draw", P = "Minimum Wage Adjustment", W = [
268
+ d,
269
+ P,
270
+ r
271
+ ], K = {
272
+ submitting: "submitting",
273
+ submit_success: "submit_success",
274
+ processing_failed: "processing_failed"
275
+ };
258
276
  export {
259
- _ as BREAKPOINTS,
260
- i as BREAKPOINTS_VALUES,
261
- d as COMPENSATION_NAME_DOUBLE_OVERTIME,
262
- D as COMPENSATION_NAME_OVERTIME,
277
+ O as BREAKPOINTS,
278
+ U as BREAKPOINTS_VALUES,
279
+ V as COMPENSATION_NAME_BONUS,
280
+ v as COMPENSATION_NAME_CASH_TIPS,
281
+ f as COMPENSATION_NAME_COMMISSION,
282
+ H as COMPENSATION_NAME_CORRECTION_PAYMENT,
283
+ D as COMPENSATION_NAME_DOUBLE_OVERTIME,
284
+ R as COMPENSATION_NAME_OVERTIME,
285
+ F as COMPENSATION_NAME_PAYCHECK_TIPS,
263
286
  a as COMPENSATION_NAME_REGULAR_HOURS,
264
- U as CONTRACTOR_TYPE,
265
- O as ContractorOnboardingStatus,
266
- P as ContractorSelfOnboardingStatuses,
287
+ r as COMPENSATION_NAME_REIMBURSEMENT,
288
+ b as CONTRACTOR_TYPE,
289
+ _ as ContractorOnboardingStatus,
290
+ M as ContractorSelfOnboardingStatuses,
291
+ W as EXCLUDED_ADDITIONAL_EARNINGS,
267
292
  o as EmployeeOnboardingStatus,
268
- C as EmployeeSelfOnboardingStatuses,
269
- S as FLSA_OVERTIME_SALARY_LIMIT,
270
- I as FlsaStatus,
271
- B as HOURS_COMPENSATION_NAMES,
272
- L as HOURS_PER_PAY_PERIOD_ANNUALLY,
273
- s as HOURS_PER_PAY_PERIOD_MONTHLY,
274
- p as HOURS_PER_PAY_PERIOD_WEEKLY,
275
- y as PAYMENT_METHODS,
276
- Y as PAY_PERIODS,
277
- l as SIGNATORY_TITLES,
278
- u as SPLIT_BY,
279
- m as STATES_ABBR,
280
- n as companyEvents,
281
- M as compensationTypeLabels,
282
- r as componentEvents,
283
- N as contractorEvents,
293
+ S as EmployeeSelfOnboardingStatuses,
294
+ l as FLSA_OVERTIME_SALARY_LIMIT,
295
+ s as FlsaStatus,
296
+ G as HOURS_COMPENSATION_NAMES,
297
+ i as HOURS_PER_PAY_PERIOD_ANNUALLY,
298
+ p as HOURS_PER_PAY_PERIOD_MONTHLY,
299
+ m as HOURS_PER_PAY_PERIOD_WEEKLY,
300
+ P as MIN_WAGE_ADJUST,
301
+ d as OWNERS_DRAW,
302
+ B as PAYMENT_METHODS,
303
+ K as PAYROLL_PROCESSING_STATUS,
304
+ u as PAY_PERIODS,
305
+ y as SIGNATORY_TITLES,
306
+ g as SPLIT_BY,
307
+ Y as STATES_ABBR,
308
+ N as companyEvents,
309
+ L as compensationTypeLabels,
310
+ I as componentEvents,
311
+ n as contractorEvents,
284
312
  A as employeeEvents,
285
313
  t as payScheduleEvents,
286
314
  T as runPayrollEvents