@gusto/embedded-react-sdk 0.13.0 → 0.13.2

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 (582) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/_virtual/_commonjsHelpers.js +7 -0
  3. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  4. package/dist/_virtual/dynamic-import-helper.js +8 -1
  5. package/dist/_virtual/dynamic-import-helper.js.map +1 -1
  6. package/dist/_virtual/index.js +8 -0
  7. package/dist/_virtual/index.js.map +1 -0
  8. package/dist/assets/icons/close.svg.js +10 -0
  9. package/dist/assets/icons/close.svg.js.map +1 -0
  10. package/dist/components/Base/Base.js +6 -7
  11. package/dist/components/Base/Base.js.map +1 -1
  12. package/dist/components/Common/DataView/DataCards/DataCards.d.ts +2 -1
  13. package/dist/components/Common/DataView/DataCards/DataCards.js +29 -24
  14. package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
  15. package/dist/components/Common/DataView/DataTable/DataTable.d.ts +2 -1
  16. package/dist/components/Common/DataView/DataTable/DataTable.js +67 -49
  17. package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
  18. package/dist/components/Common/DataView/DataView.d.ts +2 -1
  19. package/dist/components/Common/DataView/DataView.js +19 -18
  20. package/dist/components/Common/DataView/DataView.js.map +1 -1
  21. package/dist/components/Common/DataView/useDataView.d.ts +4 -1
  22. package/dist/components/Common/DataView/useDataView.js +15 -13
  23. package/dist/components/Common/DataView/useDataView.js.map +1 -1
  24. package/dist/components/Common/FieldDescription/FieldDescription.js +7 -14
  25. package/dist/components/Common/FieldDescription/FieldDescription.js.map +1 -1
  26. package/dist/components/Common/Fields/hooks/useField.d.ts +4 -1
  27. package/dist/components/Common/Fields/hooks/useField.js +31 -24
  28. package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
  29. package/dist/components/Common/ReorderableList/DropZone.js +5 -5
  30. package/dist/components/Common/ReorderableList/ReorderableItem.js +8 -8
  31. package/dist/components/Common/ReorderableList/ReorderableList.js +5 -5
  32. package/dist/components/Common/SignatureForm/SignatureForm.js +5 -8
  33. package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
  34. package/dist/components/Common/SignatureForm/SignatureFormActions.js +10 -13
  35. package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
  36. package/dist/components/Common/SignatureForm/SignatureFormFields.js +10 -13
  37. package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
  38. package/dist/components/Common/UI/Alert/Alert.d.ts +1 -1
  39. package/dist/components/Common/UI/Alert/Alert.js +28 -21
  40. package/dist/components/Common/UI/Alert/Alert.js.map +1 -1
  41. package/dist/components/Common/UI/Alert/Alert.module.scss.js +7 -3
  42. package/dist/components/Common/UI/Alert/Alert.module.scss.js.map +1 -1
  43. package/dist/components/Common/UI/Alert/AlertTypes.d.ts +10 -0
  44. package/dist/components/Common/UI/Alert/AlertTypes.js +7 -0
  45. package/dist/components/Common/UI/Alert/AlertTypes.js.map +1 -0
  46. package/dist/components/Common/UI/Badge/Badge.js +10 -10
  47. package/dist/components/Common/UI/Badge/Badge.js.map +1 -1
  48. package/dist/components/Common/UI/Badge/BadgeTypes.d.ts +6 -0
  49. package/dist/components/Common/UI/Badge/BadgeTypes.js +7 -0
  50. package/dist/components/Common/UI/Badge/BadgeTypes.js.map +1 -0
  51. package/dist/components/Common/UI/Button/Button.d.ts +1 -1
  52. package/dist/components/Common/UI/Button/Button.js +30 -27
  53. package/dist/components/Common/UI/Button/Button.js.map +1 -1
  54. package/dist/components/Common/UI/Button/ButtonIcon.js +6 -6
  55. package/dist/components/Common/UI/Button/ButtonIcon.js.map +1 -1
  56. package/dist/components/Common/UI/Button/ButtonTypes.d.ts +17 -0
  57. package/dist/components/Common/UI/Button/ButtonTypes.js +14 -0
  58. package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -0
  59. package/dist/components/Common/UI/CalendarPreview/CalendarPreview.js +1 -1
  60. package/dist/components/Common/UI/Checkbox/Checkbox.d.ts +1 -1
  61. package/dist/components/Common/UI/Checkbox/Checkbox.js +51 -49
  62. package/dist/components/Common/UI/Checkbox/Checkbox.js.map +1 -1
  63. package/dist/components/Common/UI/Checkbox/CheckboxTypes.d.ts +7 -0
  64. package/dist/components/Common/UI/Checkbox/CheckboxTypes.js +8 -0
  65. package/dist/components/Common/UI/Checkbox/CheckboxTypes.js.map +1 -0
  66. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  67. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.js +72 -69
  68. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.js.map +1 -1
  69. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.d.ts +9 -0
  70. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js +10 -0
  71. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js.map +1 -0
  72. package/dist/components/Common/UI/DatePicker/DatePicker.js +1 -1
  73. package/dist/components/Common/UI/Input/Input.d.ts +1 -1
  74. package/dist/components/Common/UI/Input/Input.js +38 -27
  75. package/dist/components/Common/UI/Input/Input.js.map +1 -1
  76. package/dist/components/Common/UI/Input/InputTypes.d.ts +7 -0
  77. package/dist/components/Common/UI/Input/InputTypes.js +7 -0
  78. package/dist/components/Common/UI/Input/InputTypes.js.map +1 -0
  79. package/dist/components/Common/UI/Menu/Menu.d.ts +1 -1
  80. package/dist/components/Common/UI/Menu/Menu.js +32 -30
  81. package/dist/components/Common/UI/Menu/Menu.js.map +1 -1
  82. package/dist/components/Common/UI/Menu/MenuTypes.d.ts +6 -0
  83. package/dist/components/Common/UI/Menu/MenuTypes.js +7 -0
  84. package/dist/components/Common/UI/Menu/MenuTypes.js.map +1 -0
  85. package/dist/components/Common/UI/Radio/Radio.d.ts +1 -1
  86. package/dist/components/Common/UI/Radio/Radio.js +50 -48
  87. package/dist/components/Common/UI/Radio/Radio.js.map +1 -1
  88. package/dist/components/Common/UI/Radio/RadioTypes.d.ts +7 -0
  89. package/dist/components/Common/UI/Radio/RadioTypes.js +8 -0
  90. package/dist/components/Common/UI/Radio/RadioTypes.js.map +1 -0
  91. package/dist/components/Common/UI/RadioGroup/RadioGroup.d.ts +1 -1
  92. package/dist/components/Common/UI/RadioGroup/RadioGroup.js +61 -58
  93. package/dist/components/Common/UI/RadioGroup/RadioGroup.js.map +1 -1
  94. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +9 -0
  95. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js +10 -0
  96. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -0
  97. package/dist/components/Common/UI/Switch/Switch.d.ts +1 -1
  98. package/dist/components/Common/UI/Switch/Switch.js +48 -46
  99. package/dist/components/Common/UI/Switch/Switch.js.map +1 -1
  100. package/dist/components/Common/UI/Switch/SwitchTypes.d.ts +7 -0
  101. package/dist/components/Common/UI/Switch/SwitchTypes.js +8 -0
  102. package/dist/components/Common/UI/Switch/SwitchTypes.js.map +1 -0
  103. package/dist/components/Common/UI/Table/Table.d.ts +1 -1
  104. package/dist/components/Common/UI/Table/Table.js +10 -7
  105. package/dist/components/Common/UI/Table/Table.js.map +1 -1
  106. package/dist/components/Common/UI/Table/Table.module.scss.js +1 -1
  107. package/dist/components/Common/UI/Table/TableTypes.d.ts +4 -0
  108. package/dist/components/Common/UI/Tabs/Tabs.d.ts +7 -0
  109. package/dist/components/Common/UI/Tabs/Tabs.js +25 -0
  110. package/dist/components/Common/UI/Tabs/Tabs.js.map +1 -0
  111. package/dist/components/Common/UI/Tabs/Tabs.module.scss.js +8 -0
  112. package/dist/components/Common/UI/Tabs/Tabs.module.scss.js.map +1 -0
  113. package/dist/components/Common/UI/Tabs/TabsTypes.d.ts +51 -0
  114. package/dist/components/Common/UI/Tabs/index.d.ts +3 -0
  115. package/dist/components/Common/UI/Text/Text.d.ts +1 -1
  116. package/dist/components/Common/UI/Text/Text.js +22 -25
  117. package/dist/components/Common/UI/Text/Text.js.map +1 -1
  118. package/dist/components/Common/UI/Text/TextTypes.d.ts +7 -0
  119. package/dist/components/Common/UI/Text/TextTypes.js +8 -0
  120. package/dist/components/Common/UI/Text/TextTypes.js.map +1 -0
  121. package/dist/components/Common/UI/TextInput/TextInput.d.ts +1 -1
  122. package/dist/components/Common/UI/TextInput/TextInput.js +53 -51
  123. package/dist/components/Common/UI/TextInput/TextInput.js.map +1 -1
  124. package/dist/components/Common/UI/TextInput/TextInputTypes.d.ts +9 -0
  125. package/dist/components/Common/UI/TextInput/TextInputTypes.js +9 -0
  126. package/dist/components/Common/UI/TextInput/TextInputTypes.js.map +1 -0
  127. package/dist/components/Common/hooks/useNumberFormatter.js +1 -1
  128. package/dist/components/Company/AssignSignatory/AssignSignatory.js +6 -8
  129. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  130. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +6 -8
  131. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  132. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +8 -10
  133. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  134. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +7 -8
  135. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
  136. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +13 -14
  137. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
  138. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +7 -5
  139. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  140. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +6 -8
  141. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  142. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +9 -10
  143. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
  144. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +10 -11
  145. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
  146. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +7 -5
  147. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  148. package/dist/components/Company/AssignSignatory/TitleSelect.js +7 -8
  149. package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
  150. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +9 -7
  151. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  152. package/dist/components/Company/BankAccount/BankAccount.js +1 -1
  153. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +8 -9
  154. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
  155. package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js +2 -2
  156. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -11
  157. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  158. package/dist/components/Company/BankAccount/BankAccountForm/context.js +7 -5
  159. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  160. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +10 -12
  161. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  162. package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js +1 -1
  163. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +11 -13
  164. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  165. package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js +2 -2
  166. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -6
  167. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  168. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +5 -7
  169. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  170. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +12 -14
  171. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  172. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +7 -5
  173. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  174. package/dist/components/Company/DocumentSigner/DocumentSigner.js +1 -1
  175. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +9 -11
  176. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  177. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +7 -5
  178. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  179. package/dist/components/Company/FederalTaxes/Actions.js +7 -9
  180. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  181. package/dist/components/Company/FederalTaxes/FederalTaxes.js +18 -20
  182. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  183. package/dist/components/Company/FederalTaxes/Form.js +4 -6
  184. package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
  185. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +10 -8
  186. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  187. package/dist/components/Company/Industry/Actions.js +5 -7
  188. package/dist/components/Company/Industry/Actions.js.map +1 -1
  189. package/dist/components/Company/Industry/Context.js +10 -8
  190. package/dist/components/Company/Industry/Context.js.map +1 -1
  191. package/dist/components/Company/Industry/Edit.js +10 -12
  192. package/dist/components/Company/Industry/Edit.js.map +1 -1
  193. package/dist/components/Company/Industry/Industry.js +2 -2
  194. package/dist/components/Company/Locations/LocationForm/Actions.js +6 -8
  195. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  196. package/dist/components/Company/Locations/LocationForm/Form.js +5 -6
  197. package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
  198. package/dist/components/Company/Locations/LocationForm/LocationForm.js +14 -16
  199. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  200. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +7 -5
  201. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  202. package/dist/components/Company/Locations/LocationsList/Actions.js +6 -8
  203. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  204. package/dist/components/Company/Locations/LocationsList/List.js +2 -4
  205. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  206. package/dist/components/Company/Locations/LocationsList/LocationsList.js +13 -15
  207. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  208. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +7 -5
  209. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  210. package/dist/components/Company/OnboardingOverview/Completed.js +12 -14
  211. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  212. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +6 -8
  213. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  214. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +3 -5
  215. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  216. package/dist/components/Company/OnboardingOverview/context.js +7 -5
  217. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  218. package/dist/components/Company/PaySchedule/PaySchedule.js +38 -40
  219. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  220. package/dist/components/Company/PaySchedule/_parts/Actions.js +10 -12
  221. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  222. package/dist/components/Company/PaySchedule/_parts/Edit.js +16 -17
  223. package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
  224. package/dist/components/Company/PaySchedule/_parts/Head.js +6 -8
  225. package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
  226. package/dist/components/Company/PaySchedule/_parts/List.js +13 -15
  227. package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
  228. package/dist/components/Company/PaySchedule/usePaySchedule.js +10 -8
  229. package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
  230. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +5 -7
  231. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  232. package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js +3 -3
  233. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +7 -5
  234. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  235. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +6 -8
  236. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  237. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +5 -7
  238. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  239. package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js +1 -1
  240. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +7 -5
  241. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  242. package/dist/components/Contractor/Address/Address.js +8 -10
  243. package/dist/components/Contractor/Address/Address.js.map +1 -1
  244. package/dist/components/Contractor/Address/Form.js +3 -4
  245. package/dist/components/Contractor/Address/Form.js.map +1 -1
  246. package/dist/components/Contractor/Address/useAddress.js +9 -7
  247. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  248. package/dist/components/Contractor/ContractorList/index.js +25 -26
  249. package/dist/components/Contractor/ContractorList/index.js.map +1 -1
  250. package/dist/components/Contractor/ContractorList/useContractorList.js +1 -1
  251. package/dist/components/Contractor/NewHireReport/NewHireReport.js +16 -17
  252. package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
  253. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +5 -7
  254. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  255. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +9 -10
  256. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
  257. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -3
  258. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
  259. package/dist/components/Contractor/Profile/ContractorProfile.js +1 -1
  260. package/dist/components/Contractor/Profile/ContractorProfileForm.js +13 -13
  261. package/dist/components/Contractor/Profile/useContractorProfile.js +38 -35
  262. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  263. package/dist/components/Contractor/Submit/Submit.js +6 -7
  264. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  265. package/dist/components/Employee/Compensation/Actions.js +5 -6
  266. package/dist/components/Employee/Compensation/Actions.js.map +1 -1
  267. package/dist/components/Employee/Compensation/Compensation.js +10 -10
  268. package/dist/components/Employee/Compensation/Edit.js +14 -15
  269. package/dist/components/Employee/Compensation/Edit.js.map +1 -1
  270. package/dist/components/Employee/Compensation/List.js +23 -25
  271. package/dist/components/Employee/Compensation/List.js.map +1 -1
  272. package/dist/components/Employee/Deductions/Deductions.js +1 -1
  273. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +14 -15
  274. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
  275. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +9 -10
  276. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
  277. package/dist/components/Employee/Deductions/EmptyState/EmptyState.d.ts +6 -0
  278. package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js +11 -12
  279. package/dist/components/Employee/Deductions/IncludeDeductionsForm/IncludeDeductionsForm.js.map +1 -1
  280. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +6 -8
  281. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  282. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +10 -12
  283. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  284. package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -4
  285. package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
  286. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +7 -5
  287. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  288. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +14 -16
  289. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  290. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +7 -5
  291. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  292. package/dist/components/Employee/EmployeeList/Actions.js +4 -6
  293. package/dist/components/Employee/EmployeeList/Actions.js.map +1 -1
  294. package/dist/components/Employee/EmployeeList/EmployeeList.js +7 -8
  295. package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
  296. package/dist/components/Employee/EmployeeList/Head.js +5 -7
  297. package/dist/components/Employee/EmployeeList/Head.js.map +1 -1
  298. package/dist/components/Employee/EmployeeList/List.js +14 -15
  299. package/dist/components/Employee/EmployeeList/List.js.map +1 -1
  300. package/dist/components/Employee/EmployeeList/useEmployeeList.js +7 -5
  301. package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
  302. package/dist/components/Employee/FederalTaxes/Actions.js +6 -8
  303. package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
  304. package/dist/components/Employee/FederalTaxes/FederalForm.js +11 -13
  305. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
  306. package/dist/components/Employee/FederalTaxes/FederalTaxes.js +3 -3
  307. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +7 -5
  308. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +1 -1
  309. package/dist/components/Employee/Landing/Landing.js +14 -15
  310. package/dist/components/Employee/Landing/Landing.js.map +1 -1
  311. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +9 -9
  312. package/dist/components/Employee/PaymentMethod/Actions.js +7 -9
  313. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  314. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +5 -6
  315. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
  316. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +8 -10
  317. package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
  318. package/dist/components/Employee/PaymentMethod/PaymentMethod.js +8 -8
  319. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +2 -3
  320. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
  321. package/dist/components/Employee/PaymentMethod/Split.js +11 -12
  322. package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
  323. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +13 -11
  324. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
  325. package/dist/components/Employee/Profile/Actions.js +7 -9
  326. package/dist/components/Employee/Profile/Actions.js.map +1 -1
  327. package/dist/components/Employee/Profile/AdminPersonalDetails.js +9 -10
  328. package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
  329. package/dist/components/Employee/Profile/HomeAddress.js +5 -6
  330. package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
  331. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +21 -22
  332. package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
  333. package/dist/components/Employee/Profile/Profile.js +13 -13
  334. package/dist/components/Employee/Profile/useProfile.js +7 -5
  335. package/dist/components/Employee/Profile/useProfile.js.map +1 -1
  336. package/dist/components/Employee/StateTaxes/Actions.js +8 -10
  337. package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
  338. package/dist/components/Employee/StateTaxes/StateTaxes.js +3 -3
  339. package/dist/components/Employee/StateTaxes/useStateTaxes.js +7 -5
  340. package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +1 -1
  341. package/dist/components/Employee/Taxes/Actions.js +8 -10
  342. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  343. package/dist/components/Employee/Taxes/FederalForm.js +12 -14
  344. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  345. package/dist/components/Employee/Taxes/Taxes.js +5 -5
  346. package/dist/components/Employee/Taxes/useTaxes.js +7 -5
  347. package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
  348. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.d.ts +3 -1
  349. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +57 -67
  350. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  351. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +3 -1
  352. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +85 -88
  353. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  354. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.d.ts +5 -2
  355. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +67 -13
  356. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
  357. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +18 -2
  358. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +117 -19
  359. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  360. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +18 -0
  361. package/dist/components/Payroll/PayrollList/PayrollList.js +25 -19
  362. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  363. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +5 -1
  364. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +67 -33
  365. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  366. package/dist/components/Payroll/PayrollList/types.d.ts +1 -0
  367. package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +3 -2
  368. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +50 -26
  369. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  370. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +7 -1
  371. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +269 -49
  372. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  373. package/dist/components/Payroll/RunPayrollFlow/RunPayroll.d.ts +8 -2
  374. package/dist/components/Payroll/RunPayrollFlow/RunPayroll.js +78 -22
  375. package/dist/components/Payroll/RunPayrollFlow/RunPayroll.js.map +1 -1
  376. package/dist/components/Payroll/RunPayrollFlow/RunPayrollFlow.js +11 -9
  377. package/dist/components/Payroll/RunPayrollFlow/RunPayrollFlow.js.map +1 -1
  378. package/dist/components/Payroll/helpers.d.ts +7 -6
  379. package/dist/components/Payroll/helpers.js +44 -43
  380. package/dist/components/Payroll/helpers.js.map +1 -1
  381. package/dist/components/Payroll/usePreparedPayrollData.d.ts +14 -0
  382. package/dist/components/Payroll/usePreparedPayrollData.js +39 -0
  383. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -0
  384. package/dist/contexts/ApiProvider/ApiProvider.js +4 -4
  385. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +28 -26
  386. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
  387. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.d.ts +68 -0
  388. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js +53 -0
  389. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -0
  390. package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
  391. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  392. package/dist/contexts/GustoProvider/GustoProvider.js +17 -12
  393. package/dist/contexts/GustoProvider/GustoProvider.js.map +1 -1
  394. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +8 -10
  395. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  396. package/dist/helpers/applyMissingDefaults.d.ts +5 -0
  397. package/dist/helpers/applyMissingDefaults.js +10 -0
  398. package/dist/helpers/applyMissingDefaults.js.map +1 -0
  399. package/dist/helpers/formattedStrings.js +11 -12
  400. package/dist/helpers/formattedStrings.js.map +1 -1
  401. package/dist/i18n/I18n.js +5 -5
  402. package/dist/i18n/I18n.js.map +1 -1
  403. package/dist/i18n/en/Employee.Deductions.json.js +68 -60
  404. package/dist/i18n/en/Employee.Deductions.json.js.map +1 -1
  405. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +20 -18
  406. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js.map +1 -1
  407. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +20 -0
  408. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -0
  409. package/dist/i18n/en/Payroll.PayrollList.json.js +12 -10
  410. package/dist/i18n/en/Payroll.PayrollList.json.js.map +1 -1
  411. package/dist/i18n/en/Payroll.PayrollOverview.json.js +26 -0
  412. package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -0
  413. package/dist/i18n/en/Payroll.RunPayroll.json.js +8 -0
  414. package/dist/i18n/en/Payroll.RunPayroll.json.js.map +1 -0
  415. package/dist/i18n/en/payroll.payrollhistory.json.js +20 -0
  416. package/dist/i18n/en/payroll.payrollhistory.json.js.map +1 -0
  417. package/dist/node_modules/@react-dnd/asap/dist/AsapQueue.js +40 -0
  418. package/dist/node_modules/@react-dnd/asap/dist/AsapQueue.js.map +1 -0
  419. package/dist/node_modules/@react-dnd/asap/dist/RawTask.js +18 -0
  420. package/dist/node_modules/@react-dnd/asap/dist/RawTask.js.map +1 -0
  421. package/dist/node_modules/@react-dnd/asap/dist/TaskFactory.js +17 -0
  422. package/dist/node_modules/@react-dnd/asap/dist/TaskFactory.js.map +1 -0
  423. package/dist/node_modules/@react-dnd/asap/dist/asap.js +10 -0
  424. package/dist/node_modules/@react-dnd/asap/dist/asap.js.map +1 -0
  425. package/dist/node_modules/@react-dnd/asap/dist/makeRequestCall.js +63 -0
  426. package/dist/node_modules/@react-dnd/asap/dist/makeRequestCall.js.map +1 -0
  427. package/dist/node_modules/@react-dnd/invariant/dist/index.js +23 -0
  428. package/dist/node_modules/@react-dnd/invariant/dist/index.js.map +1 -0
  429. package/dist/node_modules/@react-dnd/shallowequal/dist/index.js +26 -0
  430. package/dist/node_modules/@react-dnd/shallowequal/dist/index.js.map +1 -0
  431. package/dist/node_modules/dnd-core/dist/actions/dragDrop/beginDrag.js +71 -0
  432. package/dist/node_modules/dnd-core/dist/actions/dragDrop/beginDrag.js.map +1 -0
  433. package/dist/node_modules/dnd-core/dist/actions/dragDrop/drop.js +55 -0
  434. package/dist/node_modules/dnd-core/dist/actions/dragDrop/drop.js.map +1 -0
  435. package/dist/node_modules/dnd-core/dist/actions/dragDrop/endDrag.js +19 -0
  436. package/dist/node_modules/dnd-core/dist/actions/dragDrop/endDrag.js.map +1 -0
  437. package/dist/node_modules/dnd-core/dist/actions/dragDrop/hover.js +43 -0
  438. package/dist/node_modules/dnd-core/dist/actions/dragDrop/hover.js.map +1 -0
  439. package/dist/node_modules/dnd-core/dist/actions/dragDrop/index.js +18 -0
  440. package/dist/node_modules/dnd-core/dist/actions/dragDrop/index.js.map +1 -0
  441. package/dist/node_modules/dnd-core/dist/actions/dragDrop/local/setClientOffset.js +14 -0
  442. package/dist/node_modules/dnd-core/dist/actions/dragDrop/local/setClientOffset.js.map +1 -0
  443. package/dist/node_modules/dnd-core/dist/actions/dragDrop/publishDragSource.js +13 -0
  444. package/dist/node_modules/dnd-core/dist/actions/dragDrop/publishDragSource.js.map +1 -0
  445. package/dist/node_modules/dnd-core/dist/actions/dragDrop/types.js +10 -0
  446. package/dist/node_modules/dnd-core/dist/actions/dragDrop/types.js.map +1 -0
  447. package/dist/node_modules/dnd-core/dist/actions/registry.js +44 -0
  448. package/dist/node_modules/dnd-core/dist/actions/registry.js.map +1 -0
  449. package/dist/node_modules/dnd-core/dist/classes/DragDropManagerImpl.js +42 -0
  450. package/dist/node_modules/dnd-core/dist/classes/DragDropManagerImpl.js.map +1 -0
  451. package/dist/node_modules/dnd-core/dist/classes/DragDropMonitorImpl.js +116 -0
  452. package/dist/node_modules/dnd-core/dist/classes/DragDropMonitorImpl.js.map +1 -0
  453. package/dist/node_modules/dnd-core/dist/classes/HandlerRegistryImpl.js +97 -0
  454. package/dist/node_modules/dnd-core/dist/classes/HandlerRegistryImpl.js.map +1 -0
  455. package/dist/node_modules/dnd-core/dist/contracts.js +22 -0
  456. package/dist/node_modules/dnd-core/dist/contracts.js.map +1 -0
  457. package/dist/node_modules/dnd-core/dist/createDragDropManager.js +20 -0
  458. package/dist/node_modules/dnd-core/dist/createDragDropManager.js.map +1 -0
  459. package/dist/node_modules/dnd-core/dist/interfaces.js +8 -0
  460. package/dist/node_modules/dnd-core/dist/interfaces.js.map +1 -0
  461. package/dist/node_modules/dnd-core/dist/reducers/dirtyHandlerIds.js +31 -0
  462. package/dist/node_modules/dnd-core/dist/reducers/dirtyHandlerIds.js.map +1 -0
  463. package/dist/node_modules/dnd-core/dist/reducers/dragOffset.js +51 -0
  464. package/dist/node_modules/dnd-core/dist/reducers/dragOffset.js.map +1 -0
  465. package/dist/node_modules/dnd-core/dist/reducers/dragOperation.js +79 -0
  466. package/dist/node_modules/dnd-core/dist/reducers/dragOperation.js.map +1 -0
  467. package/dist/node_modules/dnd-core/dist/reducers/index.js +43 -0
  468. package/dist/node_modules/dnd-core/dist/reducers/index.js.map +1 -0
  469. package/dist/node_modules/dnd-core/dist/reducers/refCount.js +17 -0
  470. package/dist/node_modules/dnd-core/dist/reducers/refCount.js.map +1 -0
  471. package/dist/node_modules/dnd-core/dist/reducers/stateId.js +7 -0
  472. package/dist/node_modules/dnd-core/dist/reducers/stateId.js.map +1 -0
  473. package/dist/node_modules/dnd-core/dist/utils/coords.js +27 -0
  474. package/dist/node_modules/dnd-core/dist/utils/coords.js.map +1 -0
  475. package/dist/node_modules/dnd-core/dist/utils/dirtiness.js +13 -0
  476. package/dist/node_modules/dnd-core/dist/utils/dirtiness.js.map +1 -0
  477. package/dist/node_modules/dnd-core/dist/utils/equality.js +18 -0
  478. package/dist/node_modules/dnd-core/dist/utils/equality.js.map +1 -0
  479. package/dist/node_modules/dnd-core/dist/utils/getNextUniqueId.js +8 -0
  480. package/dist/node_modules/dnd-core/dist/utils/getNextUniqueId.js.map +1 -0
  481. package/dist/node_modules/dnd-core/dist/utils/js_utils.js +37 -0
  482. package/dist/node_modules/dnd-core/dist/utils/js_utils.js.map +1 -0
  483. package/dist/node_modules/dnd-core/dist/utils/matchesType.js +9 -0
  484. package/dist/node_modules/dnd-core/dist/utils/matchesType.js.map +1 -0
  485. package/dist/node_modules/fast-deep-equal/index.js +32 -0
  486. package/dist/node_modules/fast-deep-equal/index.js.map +1 -0
  487. package/dist/node_modules/react-dnd/dist/core/DndContext.js +8 -0
  488. package/dist/node_modules/react-dnd/dist/core/DndContext.js.map +1 -0
  489. package/dist/node_modules/react-dnd/dist/core/DndProvider.js +67 -0
  490. package/dist/node_modules/react-dnd/dist/core/DndProvider.js.map +1 -0
  491. package/dist/node_modules/react-dnd/dist/hooks/useCollectedProps.js +12 -0
  492. package/dist/node_modules/react-dnd/dist/hooks/useCollectedProps.js.map +1 -0
  493. package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +23 -0
  494. package/dist/node_modules/react-dnd/dist/hooks/useCollector.js.map +1 -0
  495. package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js +26 -0
  496. package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js.map +1 -0
  497. package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js +22 -0
  498. package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js.map +1 -0
  499. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js +21 -0
  500. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js.map +1 -0
  501. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js +20 -0
  502. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js.map +1 -0
  503. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js +23 -0
  504. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js.map +1 -0
  505. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js +16 -0
  506. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js.map +1 -0
  507. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js +14 -0
  508. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js.map +1 -0
  509. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js +24 -0
  510. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js.map +1 -0
  511. package/dist/node_modules/react-dnd/dist/hooks/useDragDropManager.js +11 -0
  512. package/dist/node_modules/react-dnd/dist/hooks/useDragDropManager.js.map +1 -0
  513. package/dist/node_modules/react-dnd/dist/hooks/useDrop/DropTargetImpl.js +22 -0
  514. package/dist/node_modules/react-dnd/dist/hooks/useDrop/DropTargetImpl.js.map +1 -0
  515. package/dist/node_modules/react-dnd/dist/hooks/useDrop/connectors.js +13 -0
  516. package/dist/node_modules/react-dnd/dist/hooks/useDrop/connectors.js.map +1 -0
  517. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useAccept.js +14 -0
  518. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useAccept.js.map +1 -0
  519. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDrop.js +17 -0
  520. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDrop.js.map +1 -0
  521. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTarget.js +19 -0
  522. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTarget.js.map +1 -0
  523. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetConnector.js +19 -0
  524. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetConnector.js.map +1 -0
  525. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetMonitor.js +16 -0
  526. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useDropTargetMonitor.js.map +1 -0
  527. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useRegisteredDropTarget.js +24 -0
  528. package/dist/node_modules/react-dnd/dist/hooks/useDrop/useRegisteredDropTarget.js.map +1 -0
  529. package/dist/node_modules/react-dnd/dist/hooks/useIsomorphicLayoutEffect.js +6 -0
  530. package/dist/node_modules/react-dnd/dist/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  531. package/dist/node_modules/react-dnd/dist/hooks/useMonitorOutput.js +21 -0
  532. package/dist/node_modules/react-dnd/dist/hooks/useMonitorOutput.js.map +1 -0
  533. package/dist/node_modules/react-dnd/dist/hooks/useOptionalFactory.js +11 -0
  534. package/dist/node_modules/react-dnd/dist/hooks/useOptionalFactory.js.map +1 -0
  535. package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js +89 -0
  536. package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js.map +1 -0
  537. package/dist/node_modules/react-dnd/dist/internals/DropTargetMonitorImpl.js +60 -0
  538. package/dist/node_modules/react-dnd/dist/internals/DropTargetMonitorImpl.js.map +1 -0
  539. package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js +88 -0
  540. package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js.map +1 -0
  541. package/dist/node_modules/react-dnd/dist/internals/TargetConnector.js +58 -0
  542. package/dist/node_modules/react-dnd/dist/internals/TargetConnector.js.map +1 -0
  543. package/dist/node_modules/react-dnd/dist/internals/isRef.js +10 -0
  544. package/dist/node_modules/react-dnd/dist/internals/isRef.js.map +1 -0
  545. package/dist/node_modules/react-dnd/dist/internals/registration.js +19 -0
  546. package/dist/node_modules/react-dnd/dist/internals/registration.js.map +1 -0
  547. package/dist/node_modules/react-dnd/dist/internals/wrapConnectorHooks.js +47 -0
  548. package/dist/node_modules/react-dnd/dist/internals/wrapConnectorHooks.js.map +1 -0
  549. package/dist/node_modules/react-dnd-html5-backend/dist/BrowserDetector.js +11 -0
  550. package/dist/node_modules/react-dnd-html5-backend/dist/BrowserDetector.js.map +1 -0
  551. package/dist/node_modules/react-dnd-html5-backend/dist/EnterLeaveCounter.js +23 -0
  552. package/dist/node_modules/react-dnd-html5-backend/dist/EnterLeaveCounter.js.map +1 -0
  553. package/dist/node_modules/react-dnd-html5-backend/dist/HTML5BackendImpl.js +275 -0
  554. package/dist/node_modules/react-dnd-html5-backend/dist/HTML5BackendImpl.js.map +1 -0
  555. package/dist/node_modules/react-dnd-html5-backend/dist/MonotonicInterpolant.js +60 -0
  556. package/dist/node_modules/react-dnd-html5-backend/dist/MonotonicInterpolant.js.map +1 -0
  557. package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/NativeDragSource.js +44 -0
  558. package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/NativeDragSource.js.map +1 -0
  559. package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/getDataFromDataTransfer.js +11 -0
  560. package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/getDataFromDataTransfer.js.map +1 -0
  561. package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/index.js +25 -0
  562. package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/index.js.map +1 -0
  563. package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/nativeTypesConfig.js +49 -0
  564. package/dist/node_modules/react-dnd-html5-backend/dist/NativeDragSources/nativeTypesConfig.js.map +1 -0
  565. package/dist/node_modules/react-dnd-html5-backend/dist/NativeTypes.js +8 -0
  566. package/dist/node_modules/react-dnd-html5-backend/dist/NativeTypes.js.map +1 -0
  567. package/dist/node_modules/react-dnd-html5-backend/dist/OffsetUtils.js +71 -0
  568. package/dist/node_modules/react-dnd-html5-backend/dist/OffsetUtils.js.map +1 -0
  569. package/dist/node_modules/react-dnd-html5-backend/dist/OptionsReader.js +23 -0
  570. package/dist/node_modules/react-dnd-html5-backend/dist/OptionsReader.js.map +1 -0
  571. package/dist/node_modules/react-dnd-html5-backend/dist/index.js +8 -0
  572. package/dist/node_modules/react-dnd-html5-backend/dist/index.js.map +1 -0
  573. package/dist/node_modules/react-dnd-html5-backend/dist/utils/js_utils.js +23 -0
  574. package/dist/node_modules/react-dnd-html5-backend/dist/utils/js_utils.js.map +1 -0
  575. package/dist/node_modules/redux/es/redux.js +159 -0
  576. package/dist/node_modules/redux/es/redux.js.map +1 -0
  577. package/dist/shared/constants.d.ts +15 -0
  578. package/dist/shared/constants.js +49 -34
  579. package/dist/shared/constants.js.map +1 -1
  580. package/dist/style.css +1 -1
  581. package/dist/types/i18next.d.ts +129 -1
  582. package/package.json +17 -15
@@ -1,72 +1,80 @@
1
- const e = "Deductions", n = "Include deductions for this employee?", o = "If you need to deduct money from this employee's paycheck (e.g. for Housing, Meals, or Transportation), you can choose either a one-time deduction or an ongoing deduction that occurs every pay period.", M = "Yes", N = "No", t = "Continue", c = "Add Deduction", i = "Edit Deduction", d = "Deduction description", u = "Deduction frequency", s = "This deduction occurs every payroll", a = "This is a one-time deduction and only applies to the next upcoming payroll", r = "List of current deductions of an employee", l = "Deduction type", p = "Percentage", m = "Fixed dollar amount", y = "Amount to withhold", D = "Annual maximum", h = "This is a court-ordered deduction", g = "Deduction", T = "Frequency", b = "Withheld", f = "Actions", C = "Recurring", L = "{{value}} per paycheck", A = "One-time", x = "Once added, your deductions will appear here.", O = "Deduction actions menu", q = "Edit deduction", v = "Delete deduction", F = "+ Add another deduction", w = "Cancel", E = { description: "Description is required", amount: "Amount must be a valid number" }, R = {
1
+ const e = "Deductions", n = "Include deductions for this employee?", o = "If you need to deduct money from this employee's paycheck (e.g. for Housing, Meals, or Transportation), you can choose either a one-time deduction or an ongoing deduction that occurs every pay period.", t = "If you need to deduct money from this employee's paycheck (e.g. for child support, housing, meals, or transportation), you can choose either a one-time deduction or an ongoing deduction that occurs every pay period.", c = "Employee deductions", i = "You haven't added any deductions yet", N = "Yes", R = "No", d = "Continue", u = "Add Deduction", s = "Add deduction", a = "Edit Deduction", r = "Deduction description", l = "Deduction frequency", p = "This deduction occurs every payroll", m = "This is a one-time deduction and only applies to the next upcoming payroll", y = "List of current deductions of an employee", h = "Deduction type", D = "Percentage", g = "Fixed dollar amount", f = "Amount to withhold", T = "Annual maximum", b = "This is a court-ordered deduction", C = "Deduction", A = "Frequency", L = "Withheld", x = "Actions", O = "Recurring", q = "{{value}} per paycheck", v = "One-time", E = "Once added, your deductions will appear here.", F = "Deduction actions menu", Y = "Edit deduction", k = "Delete deduction", w = "+ Add another deduction", I = "Cancel", M = { description: "Description is required", amount: "Amount must be a valid number" }, P = {
2
2
  pageTitle: e,
3
3
  includeDeductionsFormLabel: n,
4
4
  includeDeductionsDescription: o,
5
+ includeDeductionsDescriptionV2: t,
6
+ includeDeductionsSubtitle: c,
7
+ includeDeductionsEmptyState: i,
5
8
  includeDeductionsYes: "Yes",
6
9
  includeDeductionsNo: "No",
7
- continueCta: t,
8
- addDeductionTitle: c,
9
- editDeductionTitle: i,
10
- descriptionLabel: d,
11
- frequencyLabel: u,
12
- frequencyRecurringOption: s,
13
- frequencyOneTimeOption: a,
14
- deductionsTableLabel: r,
15
- deductionTypeLabel: l,
16
- deductionTypePercentageOption: p,
17
- deductionTypeFixedAmountOption: m,
18
- deductionAmountLabel: y,
19
- annualMaxLabel: D,
20
- courtOrderedLabel: h,
21
- nameColumn: g,
22
- frequencyColumn: T,
23
- withheldColumn: b,
24
- actionsColumn: f,
25
- recurringText: C,
26
- recurringAmount: L,
27
- nonRecurringText: A,
28
- emptyListMessage: x,
29
- hamburgerTitle: O,
30
- editCta: q,
31
- deleteCta: v,
32
- addDeductionCta: F,
33
- cancelCta: w,
34
- validations: E
10
+ continueCta: d,
11
+ addDeductionTitle: u,
12
+ addDeductionButtonCta: s,
13
+ editDeductionTitle: a,
14
+ descriptionLabel: r,
15
+ frequencyLabel: l,
16
+ frequencyRecurringOption: p,
17
+ frequencyOneTimeOption: m,
18
+ deductionsTableLabel: y,
19
+ deductionTypeLabel: h,
20
+ deductionTypePercentageOption: D,
21
+ deductionTypeFixedAmountOption: g,
22
+ deductionAmountLabel: f,
23
+ annualMaxLabel: T,
24
+ courtOrderedLabel: b,
25
+ nameColumn: C,
26
+ frequencyColumn: A,
27
+ withheldColumn: L,
28
+ actionsColumn: x,
29
+ recurringText: O,
30
+ recurringAmount: q,
31
+ nonRecurringText: v,
32
+ emptyListMessage: E,
33
+ hamburgerTitle: F,
34
+ editCta: Y,
35
+ deleteCta: k,
36
+ addDeductionCta: w,
37
+ cancelCta: I,
38
+ validations: M
35
39
  };
36
40
  export {
37
- f as actionsColumn,
38
- F as addDeductionCta,
39
- c as addDeductionTitle,
40
- D as annualMaxLabel,
41
- w as cancelCta,
42
- t as continueCta,
43
- h as courtOrderedLabel,
44
- y as deductionAmountLabel,
45
- m as deductionTypeFixedAmountOption,
46
- l as deductionTypeLabel,
47
- p as deductionTypePercentageOption,
48
- r as deductionsTableLabel,
49
- R as default,
50
- v as deleteCta,
51
- d as descriptionLabel,
52
- q as editCta,
53
- i as editDeductionTitle,
54
- x as emptyListMessage,
55
- T as frequencyColumn,
56
- u as frequencyLabel,
57
- a as frequencyOneTimeOption,
58
- s as frequencyRecurringOption,
59
- O as hamburgerTitle,
41
+ x as actionsColumn,
42
+ s as addDeductionButtonCta,
43
+ w as addDeductionCta,
44
+ u as addDeductionTitle,
45
+ T as annualMaxLabel,
46
+ I as cancelCta,
47
+ d as continueCta,
48
+ b as courtOrderedLabel,
49
+ f as deductionAmountLabel,
50
+ g as deductionTypeFixedAmountOption,
51
+ h as deductionTypeLabel,
52
+ D as deductionTypePercentageOption,
53
+ y as deductionsTableLabel,
54
+ P as default,
55
+ k as deleteCta,
56
+ r as descriptionLabel,
57
+ Y as editCta,
58
+ a as editDeductionTitle,
59
+ E as emptyListMessage,
60
+ A as frequencyColumn,
61
+ l as frequencyLabel,
62
+ m as frequencyOneTimeOption,
63
+ p as frequencyRecurringOption,
64
+ F as hamburgerTitle,
60
65
  o as includeDeductionsDescription,
66
+ t as includeDeductionsDescriptionV2,
67
+ i as includeDeductionsEmptyState,
61
68
  n as includeDeductionsFormLabel,
62
- N as includeDeductionsNo,
63
- M as includeDeductionsYes,
64
- g as nameColumn,
65
- A as nonRecurringText,
69
+ R as includeDeductionsNo,
70
+ c as includeDeductionsSubtitle,
71
+ N as includeDeductionsYes,
72
+ C as nameColumn,
73
+ v as nonRecurringText,
66
74
  e as pageTitle,
67
- L as recurringAmount,
68
- C as recurringText,
69
- E as validations,
70
- b as withheldColumn
75
+ q as recurringAmount,
76
+ O as recurringText,
77
+ M as validations,
78
+ L as withheldColumn
71
79
  };
72
80
  //# sourceMappingURL=Employee.Deductions.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Employee.Deductions.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Employee.Deductions.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,29 +1,31 @@
1
- const e = "Run payroll for {{startDate}} - {{endDate}}", a = "Regular payroll", o = "Calculate payroll", t = "Calculate payroll", n = "Hours and additional earnings", l = "Review and update your employee's hours, reimbursements, and additional earnings below.", s = "Employee compensations", i = { employees: "Employees", hours: "Hours", timeOff: "Time off", additionalEarnings: "Additional earnings", reimbursements: "Reimbursements", totalPay: "Total pay" }, r = "Skipped", c = { edit: "Edit" }, u = "Back", d = "Back", p = {
1
+ const e = "Run payroll for {{startDate}} - {{endDate}}", l = "Regular payroll", o = "Calculate payroll", a = "Calculate payroll", t = "Hours and additional earnings", s = "Review and update your employee's hours, reimbursements, and additional earnings below.", n = "Employee compensations", i = { employees: "Employees", hours: "Hours", timeOff: "Time off", additionalEarnings: "Additional earnings", reimbursements: "Reimbursements", totalPay: "Total pay" }, r = "Skipped", d = { edit: "Edit" }, p = "Back", y = "Back", c = { payrollDeadline: { label: "Payroll Deadline", message: "To pay your employees with direct deposit on the check date, you'll need to run payroll by the deadline." }, skippedEmployees: { label: "Skipped Employees", employeeAddressNotVerified: "Employee address not verified" }, employeeUpdated: { label: "{{employeeName}} updated successfully" } }, u = {
2
2
  pageTitle: e,
3
- regularPayroll: a,
3
+ regularPayroll: l,
4
4
  calculatePayroll: o,
5
- calculatePayrollTitle: t,
6
- hoursAndEarningsTitle: n,
7
- hoursAndEarningsDescription: l,
8
- employeeCompensationsTitle: s,
5
+ calculatePayrollTitle: a,
6
+ hoursAndEarningsTitle: t,
7
+ hoursAndEarningsDescription: s,
8
+ employeeCompensationsTitle: n,
9
9
  tableColumns: i,
10
10
  skippedBadge: r,
11
- editMenu: c,
12
- backButton: u,
13
- backButtonTitle: d
11
+ editMenu: d,
12
+ backButton: p,
13
+ backButtonTitle: y,
14
+ alerts: c
14
15
  };
15
16
  export {
16
- u as backButton,
17
- d as backButtonTitle,
17
+ c as alerts,
18
+ p as backButton,
19
+ y as backButtonTitle,
18
20
  o as calculatePayroll,
19
- t as calculatePayrollTitle,
20
- p as default,
21
- c as editMenu,
22
- s as employeeCompensationsTitle,
23
- l as hoursAndEarningsDescription,
24
- n as hoursAndEarningsTitle,
21
+ a as calculatePayrollTitle,
22
+ u as default,
23
+ d as editMenu,
24
+ n as employeeCompensationsTitle,
25
+ s as hoursAndEarningsDescription,
26
+ t as hoursAndEarningsTitle,
25
27
  e as pageTitle,
26
- a as regularPayroll,
28
+ l as regularPayroll,
27
29
  r as skippedBadge,
28
30
  i as tableColumns
29
31
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Payroll.PayrollConfiguration.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Payroll.PayrollConfiguration.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -0,0 +1,20 @@
1
+ const e = "Edit {{employeeName}}'s payroll", o = "Gross pay (excluding reimbursements)", s = "Regular hours", t = "Hours", r = "Save", l = "Cancel", a = { regularHours: "Regular Hours", overtime: "Overtime", doubleOvertime: "Double overtime" }, n = {
2
+ pageTitle: e,
3
+ grossPayLabel: o,
4
+ regularHoursTitle: s,
5
+ hoursUnit: t,
6
+ saveButton: r,
7
+ cancelButton: l,
8
+ compensationNames: a
9
+ };
10
+ export {
11
+ l as cancelButton,
12
+ a as compensationNames,
13
+ n as default,
14
+ o as grossPayLabel,
15
+ t as hoursUnit,
16
+ e as pageTitle,
17
+ s as regularHoursTitle,
18
+ r as saveButton
19
+ };
20
+ //# sourceMappingURL=Payroll.PayrollEditEmployee.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payroll.PayrollEditEmployee.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1,14 +1,16 @@
1
- const s = "Payrolls", o = "Run Payroll", e = { processed: "Processed", unprocessed: "Unprocessed" }, l = ["Pay Period", "Run by", "Status"], t = {
2
- payrollsListLabel: s,
3
- runPayrollTitle: o,
4
- status: e,
5
- tableHeaders: l
1
+ const e = "Payrolls", s = "Run Payroll", l = { processed: "Processed", unprocessed: "Unprocessed" }, a = { External: "External", "Off-Cycle": "Off-Cycle", Regular: "Regular" }, t = ["Pay Period", "Type", "Pay Date", "Run By", "Status"], o = {
2
+ payrollsListLabel: e,
3
+ runPayrollTitle: s,
4
+ status: l,
5
+ type: a,
6
+ tableHeaders: t
6
7
  };
7
8
  export {
8
- t as default,
9
- s as payrollsListLabel,
10
- o as runPayrollTitle,
11
- e as status,
12
- l as tableHeaders
9
+ o as default,
10
+ e as payrollsListLabel,
11
+ s as runPayrollTitle,
12
+ l as status,
13
+ t as tableHeaders,
14
+ a as type
13
15
  };
14
16
  //# sourceMappingURL=Payroll.PayrollList.json.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Payroll.PayrollList.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"Payroll.PayrollList.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,26 @@
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
12
+ };
13
+ 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
25
+ };
26
+ //# sourceMappingURL=Payroll.PayrollOverview.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payroll.PayrollOverview.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ const l = { employeeUpdated: { label: "Payroll updated for {{name}}" } }, a = {
2
+ alerts: l
3
+ };
4
+ export {
5
+ l as alerts,
6
+ a as default
7
+ };
8
+ //# sourceMappingURL=Payroll.RunPayroll.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payroll.RunPayroll.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -0,0 +1,20 @@
1
+ const e = "Payroll history", t = { placeholder: "Last 3 months", options: { "3months": "3 months", "6months": "6 months", year: "Year" } }, o = { label: "Payroll history" }, a = { payPeriod: "Pay period", type: "Type", payDate: "Pay date", status: "Status", amount: "Amount" }, l = { viewSummary: "View payroll summary", viewReceipt: "View payroll receipt", cancelPayroll: "Cancel payroll" }, r = { title: "No payroll history", description: "When you run payrolls, they'll appear here for easy reference." }, n = { engineeringStaff: "Engineering staff", noAmount: "—" }, s = {
2
+ title: e,
3
+ timeFilter: t,
4
+ dataView: o,
5
+ columns: a,
6
+ menu: l,
7
+ emptyState: r,
8
+ labels: n
9
+ };
10
+ export {
11
+ a as columns,
12
+ o as dataView,
13
+ s as default,
14
+ r as emptyState,
15
+ n as labels,
16
+ l as menu,
17
+ t as timeFilter,
18
+ e as title
19
+ };
20
+ //# sourceMappingURL=payroll.payrollhistory.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payroll.payrollhistory.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -0,0 +1,40 @@
1
+ import { makeRequestCall as h, makeRequestCallFromTimer as r } from "./makeRequestCall.js";
2
+ class l {
3
+ // Use the fastest means possible to execute a task in its own turn, with
4
+ // priority over other events including IO, animation, reflow, and redraw
5
+ // events in browsers.
6
+ //
7
+ // An exception thrown by a task will permanently interrupt the processing of
8
+ // subsequent tasks. The higher level `asap` function ensures that if an
9
+ // exception is thrown by a task, that the task queue will continue flushing as
10
+ // soon as possible, but if you use `rawAsap` directly, you are responsible to
11
+ // either ensure that no exceptions are thrown from your task, or to manually
12
+ // call `rawAsap.requestFlush` if an exception is thrown.
13
+ enqueueTask(e) {
14
+ const { queue: t, requestFlush: s } = this;
15
+ t.length || (s(), this.flushing = !0), t[t.length] = e;
16
+ }
17
+ constructor() {
18
+ this.queue = [], this.pendingErrors = [], this.flushing = !1, this.index = 0, this.capacity = 1024, this.flush = () => {
19
+ const { queue: e } = this;
20
+ for (; this.index < e.length; ) {
21
+ const t = this.index;
22
+ if (this.index++, e[t].call(), this.index > this.capacity) {
23
+ for (let s = 0, i = e.length - this.index; s < i; s++)
24
+ e[s] = e[s + this.index];
25
+ e.length -= this.index, this.index = 0;
26
+ }
27
+ }
28
+ e.length = 0, this.index = 0, this.flushing = !1;
29
+ }, this.registerPendingError = (e) => {
30
+ this.pendingErrors.push(e), this.requestErrorThrow();
31
+ }, this.requestFlush = h(this.flush), this.requestErrorThrow = r(() => {
32
+ if (this.pendingErrors.length)
33
+ throw this.pendingErrors.shift();
34
+ });
35
+ }
36
+ }
37
+ export {
38
+ l as AsapQueue
39
+ };
40
+ //# sourceMappingURL=AsapQueue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AsapQueue.js","sources":["../../../../../node_modules/@react-dnd/asap/dist/AsapQueue.js"],"sourcesContent":["/* eslint-disable no-restricted-globals, @typescript-eslint/ban-ts-comment, @typescript-eslint/no-unused-vars, @typescript-eslint/no-non-null-assertion */ import { makeRequestCall, makeRequestCallFromTimer } from './makeRequestCall.js';\nexport class AsapQueue {\n // Use the fastest means possible to execute a task in its own turn, with\n // priority over other events including IO, animation, reflow, and redraw\n // events in browsers.\n //\n // An exception thrown by a task will permanently interrupt the processing of\n // subsequent tasks. The higher level `asap` function ensures that if an\n // exception is thrown by a task, that the task queue will continue flushing as\n // soon as possible, but if you use `rawAsap` directly, you are responsible to\n // either ensure that no exceptions are thrown from your task, or to manually\n // call `rawAsap.requestFlush` if an exception is thrown.\n enqueueTask(task) {\n const { queue: q , requestFlush } = this;\n if (!q.length) {\n requestFlush();\n this.flushing = true;\n }\n // Equivalent to push, but avoids a function call.\n q[q.length] = task;\n }\n constructor(){\n this.queue = [];\n // We queue errors to ensure they are thrown in right order (FIFO).\n // Array-as-queue is good enough here, since we are just dealing with exceptions.\n this.pendingErrors = [];\n // Once a flush has been requested, no further calls to `requestFlush` are\n // necessary until the next `flush` completes.\n // @ts-ignore\n this.flushing = false;\n // The position of the next task to execute in the task queue. This is\n // preserved between calls to `flush` so that it can be resumed if\n // a task throws an exception.\n this.index = 0;\n // If a task schedules additional tasks recursively, the task queue can grow\n // unbounded. To prevent memory exhaustion, the task queue will periodically\n // truncate already-completed tasks.\n this.capacity = 1024;\n // The flush function processes all tasks that have been scheduled with\n // `rawAsap` unless and until one of those tasks throws an exception.\n // If a task throws an exception, `flush` ensures that its state will remain\n // consistent and will resume where it left off when called again.\n // However, `flush` does not make any arrangements to be called again if an\n // exception is thrown.\n this.flush = ()=>{\n const { queue: q } = this;\n while(this.index < q.length){\n const currentIndex = this.index;\n // Advance the index before calling the task. This ensures that we will\n // begin flushing on the next task the task throws an error.\n this.index++;\n q[currentIndex].call();\n // Prevent leaking memory for long chains of recursive calls to `asap`.\n // If we call `asap` within tasks scheduled by `asap`, the queue will\n // grow, but to avoid an O(n) walk for every task we execute, we don't\n // shift tasks off the queue after they have been executed.\n // Instead, we periodically shift 1024 tasks off the queue.\n if (this.index > this.capacity) {\n // Manually shift all values starting at the index back to the\n // beginning of the queue.\n for(let scan = 0, newLength = q.length - this.index; scan < newLength; scan++){\n q[scan] = q[scan + this.index];\n }\n q.length -= this.index;\n this.index = 0;\n }\n }\n q.length = 0;\n this.index = 0;\n this.flushing = false;\n };\n // In a web browser, exceptions are not fatal. However, to avoid\n // slowing down the queue of pending tasks, we rethrow the error in a\n // lower priority turn.\n this.registerPendingError = (err)=>{\n this.pendingErrors.push(err);\n this.requestErrorThrow();\n };\n // `requestFlush` requests that the high priority event queue be flushed as\n // soon as possible.\n // This is useful to prevent an error thrown in a task from stalling the event\n // queue if the exception handled by Node.js’s\n // `process.on(\"uncaughtException\")` or by a domain.\n // `requestFlush` is implemented using a strategy based on data collected from\n // every available SauceLabs Selenium web driver worker at time of writing.\n // https://docs.google.com/spreadsheets/d/1mG-5UYGup5qxGdEMWkhP6BWCz053NUb2E1QoUTU16uA/edit#gid=783724593\n this.requestFlush = makeRequestCall(this.flush);\n this.requestErrorThrow = makeRequestCallFromTimer(()=>{\n // Throw first error\n if (this.pendingErrors.length) {\n throw this.pendingErrors.shift();\n }\n });\n }\n} // The message channel technique was discovered by Malte Ubl and was the\n // original foundation for this library.\n // http://www.nonblocking.io/2011/06/windownexttick.html\n // Safari 6.0.5 (at least) intermittently fails to create message ports on a\n // page's first load. Thankfully, this version of Safari supports\n // MutationObservers, so we don't need to fall back in that case.\n // function makeRequestCallFromMessageChannel(callback) {\n // var channel = new MessageChannel();\n // channel.port1.onmessage = callback;\n // return function requestCall() {\n // channel.port2.postMessage(0);\n // };\n // }\n // For reasons explained above, we are also unable to use `setImmediate`\n // under any circumstances.\n // Even if we were, there is another bug in Internet Explorer 10.\n // It is not sufficient to assign `setImmediate` to `requestFlush` because\n // `setImmediate` must be called *by name* and therefore must be wrapped in a\n // closure.\n // Never forget.\n // function makeRequestCallFromSetImmediate(callback) {\n // return function requestCall() {\n // setImmediate(callback);\n // };\n // }\n // Safari 6.0 has a problem where timers will get lost while the user is\n // scrolling. This problem does not impact ASAP because Safari 6.0 supports\n // mutation observers, so that implementation is used instead.\n // However, if we ever elect to use timers in Safari, the prevalent work-around\n // is to add a scroll event listener that calls for a flush.\n // `setTimeout` does not call the passed callback if the delay is less than\n // approximately 7 in web workers in Firefox 8 through 18, and sometimes not\n // even then.\n // This is for `asap.js` only.\n // Its name will be periodically randomized to break any code that depends on\n // // its existence.\n // rawAsap.makeRequestCallFromTimer = makeRequestCallFromTimer\n // ASAP was originally a nextTick shim included in Q. This was factored out\n // into this ASAP package. It was later adapted to RSVP which made further\n // amendments. These decisions, particularly to marginalize MessageChannel and\n // to capture the MutationObserver implementation in a closure, were integrated\n // back into ASAP proper.\n // https://github.com/tildeio/rsvp.js/blob/cddf7232546a9cf858524b75cde6f9edf72620a7/lib/rsvp/asap.js\n\n//# sourceMappingURL=AsapQueue.js.map"],"names":["AsapQueue","task","q","requestFlush","currentIndex","scan","newLength","err","makeRequestCall","makeRequestCallFromTimer"],"mappings":";AACO,MAAMA,EAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWnB,YAAYC,GAAM;AACd,UAAM,EAAE,OAAOC,GAAI,cAAAC,EAAY,IAAM;AACrC,IAAKD,EAAE,WACHC,EAAY,GACZ,KAAK,WAAW,KAGpBD,EAAEA,EAAE,MAAM,IAAID;AAAA,EAClB;AAAA,EACA,cAAa;AACT,SAAK,QAAQ,CAAA,GAGb,KAAK,gBAAgB,CAAA,GAIrB,KAAK,WAAW,IAIhB,KAAK,QAAQ,GAIb,KAAK,WAAW,MAOhB,KAAK,QAAQ,MAAI;AACb,YAAM,EAAE,OAAOC,EAAC,IAAM;AACtB,aAAM,KAAK,QAAQA,EAAE,UAAO;AACxB,cAAME,IAAe,KAAK;AAU1B,YAPA,KAAK,SACLF,EAAEE,CAAY,EAAE,KAAI,GAMhB,KAAK,QAAQ,KAAK,UAAU;AAG5B,mBAAQC,IAAO,GAAGC,IAAYJ,EAAE,SAAS,KAAK,OAAOG,IAAOC,GAAWD;AACnE,YAAAH,EAAEG,CAAI,IAAIH,EAAEG,IAAO,KAAK,KAAK;AAEjC,UAAAH,EAAE,UAAU,KAAK,OACjB,KAAK,QAAQ;AAAA,QACjB;AAAA,MACJ;AACA,MAAAA,EAAE,SAAS,GACX,KAAK,QAAQ,GACb,KAAK,WAAW;AAAA,IACpB,GAIA,KAAK,uBAAuB,CAACK,MAAM;AAC/B,WAAK,cAAc,KAAKA,CAAG,GAC3B,KAAK,kBAAiB;AAAA,IAC1B,GASA,KAAK,eAAeC,EAAgB,KAAK,KAAK,GAC9C,KAAK,oBAAoBC,EAAyB,MAAI;AAElD,UAAI,KAAK,cAAc;AACnB,cAAM,KAAK,cAAc,MAAK;AAAA,IAEtC,CAAC;AAAA,EACL;AACJ;","x_google_ignoreList":[0]}
@@ -0,0 +1,18 @@
1
+ class a {
2
+ call() {
3
+ try {
4
+ this.task && this.task();
5
+ } catch (s) {
6
+ this.onError(s);
7
+ } finally {
8
+ this.task = null, this.release(this);
9
+ }
10
+ }
11
+ constructor(s, t) {
12
+ this.onError = s, this.release = t, this.task = null;
13
+ }
14
+ }
15
+ export {
16
+ a as RawTask
17
+ };
18
+ //# sourceMappingURL=RawTask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RawTask.js","sources":["../../../../../node_modules/@react-dnd/asap/dist/RawTask.js"],"sourcesContent":["// `call`, just like a function.\nexport class RawTask {\n call() {\n try {\n this.task && this.task();\n } catch (error) {\n this.onError(error);\n } finally{\n this.task = null;\n this.release(this);\n }\n }\n constructor(onError, release){\n this.onError = onError;\n this.release = release;\n this.task = null;\n }\n}\n\n//# sourceMappingURL=RawTask.js.map"],"names":["RawTask","error","onError","release"],"mappings":"AACO,MAAMA,EAAQ;AAAA,EACjB,OAAO;AACH,QAAI;AACA,WAAK,QAAQ,KAAK,KAAI;AAAA,IAC1B,SAASC,GAAO;AACZ,WAAK,QAAQA,CAAK;AAAA,IACtB,UAAC;AACG,WAAK,OAAO,MACZ,KAAK,QAAQ,IAAI;AAAA,IACrB;AAAA,EACJ;AAAA,EACA,YAAYC,GAASC,GAAQ;AACzB,SAAK,UAAUD,GACf,KAAK,UAAUC,GACf,KAAK,OAAO;AAAA,EAChB;AACJ;","x_google_ignoreList":[0]}
@@ -0,0 +1,17 @@
1
+ import { RawTask as e } from "./RawTask.js";
2
+ class c {
3
+ create(t) {
4
+ const s = this.freeTasks, r = s.length ? s.pop() : new e(
5
+ this.onError,
6
+ (o) => s[s.length] = o
7
+ );
8
+ return r.task = t, r;
9
+ }
10
+ constructor(t) {
11
+ this.onError = t, this.freeTasks = [];
12
+ }
13
+ }
14
+ export {
15
+ c as TaskFactory
16
+ };
17
+ //# sourceMappingURL=TaskFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskFactory.js","sources":["../../../../../node_modules/@react-dnd/asap/dist/TaskFactory.js"],"sourcesContent":["import { RawTask } from './RawTask.js';\nexport class TaskFactory {\n create(task) {\n const tasks = this.freeTasks;\n const t1 = tasks.length ? tasks.pop() : new RawTask(this.onError, (t)=>tasks[tasks.length] = t\n );\n t1.task = task;\n return t1;\n }\n constructor(onError){\n this.onError = onError;\n this.freeTasks = [];\n }\n}\n\n//# sourceMappingURL=TaskFactory.js.map"],"names":["TaskFactory","task","tasks","t1","RawTask","t","onError"],"mappings":";AACO,MAAMA,EAAY;AAAA,EACrB,OAAOC,GAAM;AACT,UAAMC,IAAQ,KAAK,WACbC,IAAKD,EAAM,SAASA,EAAM,IAAG,IAAK,IAAIE;AAAA,MAAQ,KAAK;AAAA,MAAS,CAACC,MAAIH,EAAMA,EAAM,MAAM,IAAIG;AAAA,IACrG;AACQ,WAAAF,EAAG,OAAOF,GACHE;AAAA,EACX;AAAA,EACA,YAAYG,GAAQ;AAChB,SAAK,UAAUA,GACf,KAAK,YAAY,CAAA;AAAA,EACrB;AACJ;","x_google_ignoreList":[0]}
@@ -0,0 +1,10 @@
1
+ import { AsapQueue as a } from "./AsapQueue.js";
2
+ import { TaskFactory as o } from "./TaskFactory.js";
3
+ const e = new a(), t = new o(e.registerPendingError);
4
+ function u(r) {
5
+ e.enqueueTask(t.create(r));
6
+ }
7
+ export {
8
+ u as asap
9
+ };
10
+ //# sourceMappingURL=asap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asap.js","sources":["../../../../../node_modules/@react-dnd/asap/dist/asap.js"],"sourcesContent":["import { AsapQueue } from './AsapQueue.js';\nimport { TaskFactory } from './TaskFactory.js';\nconst asapQueue = new AsapQueue();\nconst taskFactory = new TaskFactory(asapQueue.registerPendingError);\n/**\n * Calls a task as soon as possible after returning, in its own event, with priority\n * over other events like animation, reflow, and repaint. An error thrown from an\n * event will not interrupt, nor even substantially slow down the processing of\n * other events, but will be rather postponed to a lower priority event.\n * @param {{call}} task A callable object, typically a function that takes no\n * arguments.\n */ export function asap(task) {\n asapQueue.enqueueTask(taskFactory.create(task));\n}\n\n//# sourceMappingURL=asap.js.map"],"names":["asapQueue","AsapQueue","taskFactory","TaskFactory","asap","task"],"mappings":";;AAEA,MAAMA,IAAY,IAAIC,EAAS,GACzBC,IAAc,IAAIC,EAAYH,EAAU,oBAAoB;AAQvD,SAASI,EAAKC,GAAM;AAC3B,EAAAL,EAAU,YAAYE,EAAY,OAAOG,CAAI,CAAC;AAClD;","x_google_ignoreList":[0]}
@@ -0,0 +1,63 @@
1
+ const a = typeof global < "u" ? global : self, l = a.MutationObserver || a.WebKitMutationObserver;
2
+ function s(n) {
3
+ return function() {
4
+ const o = setTimeout(r, 0), t = setInterval(r, 50);
5
+ function r() {
6
+ clearTimeout(o), clearInterval(t), n();
7
+ }
8
+ };
9
+ }
10
+ function u(n) {
11
+ let e = 1;
12
+ const o = new l(n), t = document.createTextNode("");
13
+ return o.observe(t, {
14
+ characterData: !0
15
+ }), function() {
16
+ e = -e, t.data = e;
17
+ };
18
+ }
19
+ const c = typeof l == "function" ? (
20
+ // reliably everywhere they are implemented.
21
+ // They are implemented in all modern browsers.
22
+ //
23
+ // - Android 4-4.3
24
+ // - Chrome 26-34
25
+ // - Firefox 14-29
26
+ // - Internet Explorer 11
27
+ // - iPad Safari 6-7.1
28
+ // - iPhone Safari 7-7.1
29
+ // - Safari 6-7
30
+ u
31
+ ) : (
32
+ // task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera
33
+ // 11-12, and in web workers in many engines.
34
+ // Although message channels yield to any queued rendering and IO tasks, they
35
+ // would be better than imposing the 4ms delay of timers.
36
+ // However, they do not work reliably in Internet Explorer or Safari.
37
+ // Internet Explorer 10 is the only browser that has setImmediate but does
38
+ // not have MutationObservers.
39
+ // Although setImmediate yields to the browser's renderer, it would be
40
+ // preferrable to falling back to setTimeout since it does not have
41
+ // the minimum 4ms penalty.
42
+ // Unfortunately there appears to be a bug in Internet Explorer 10 Mobile (and
43
+ // Desktop to a lesser extent) that renders both setImmediate and
44
+ // MessageChannel useless for the purposes of ASAP.
45
+ // https://github.com/kriskowal/q/issues/396
46
+ // Timers are implemented universally.
47
+ // We fall back to timers in workers in most engines, and in foreground
48
+ // contexts in the following browsers.
49
+ // However, note that even this simple case requires nuances to operate in a
50
+ // broad spectrum of browsers.
51
+ //
52
+ // - Firefox 3-13
53
+ // - Internet Explorer 6-9
54
+ // - iPad Safari 4.3
55
+ // - Lynx 2.8.7
56
+ s
57
+ );
58
+ export {
59
+ c as makeRequestCall,
60
+ u as makeRequestCallFromMutationObserver,
61
+ s as makeRequestCallFromTimer
62
+ };
63
+ //# sourceMappingURL=makeRequestCall.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"makeRequestCall.js","sources":["../../../../../node_modules/@react-dnd/asap/dist/makeRequestCall.js"],"sourcesContent":["// Safari 6 and 6.1 for desktop, iPad, and iPhone are the only browsers that\n// have WebKitMutationObserver but not un-prefixed MutationObserver.\n// Must use `global` or `self` instead of `window` to work in both frames and web\n// workers. `global` is a provision of Browserify, Mr, Mrs, or Mop.\n/* globals self */ const scope = typeof global !== 'undefined' ? global : self;\nconst BrowserMutationObserver = scope.MutationObserver || scope.WebKitMutationObserver;\nexport function makeRequestCallFromTimer(callback) {\n return function requestCall() {\n // We dispatch a timeout with a specified delay of 0 for engines that\n // can reliably accommodate that request. This will usually be snapped\n // to a 4 milisecond delay, but once we're flushing, there's no delay\n // between events.\n const timeoutHandle = setTimeout(handleTimer, 0);\n // However, since this timer gets frequently dropped in Firefox\n // workers, we enlist an interval handle that will try to fire\n // an event 20 times per second until it succeeds.\n const intervalHandle = setInterval(handleTimer, 50);\n function handleTimer() {\n // Whichever timer succeeds will cancel both timers and\n // execute the callback.\n clearTimeout(timeoutHandle);\n clearInterval(intervalHandle);\n callback();\n }\n };\n}\n// To request a high priority event, we induce a mutation observer by toggling\n// the text of a text node between \"1\" and \"-1\".\nexport function makeRequestCallFromMutationObserver(callback) {\n let toggle = 1;\n const observer = new BrowserMutationObserver(callback);\n const node = document.createTextNode('');\n observer.observe(node, {\n characterData: true\n });\n return function requestCall() {\n toggle = -toggle;\n node.data = toggle;\n };\n}\nexport const makeRequestCall = typeof BrowserMutationObserver === 'function' ? // reliably everywhere they are implemented.\n// They are implemented in all modern browsers.\n//\n// - Android 4-4.3\n// - Chrome 26-34\n// - Firefox 14-29\n// - Internet Explorer 11\n// - iPad Safari 6-7.1\n// - iPhone Safari 7-7.1\n// - Safari 6-7\nmakeRequestCallFromMutationObserver : // task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera\n// 11-12, and in web workers in many engines.\n// Although message channels yield to any queued rendering and IO tasks, they\n// would be better than imposing the 4ms delay of timers.\n// However, they do not work reliably in Internet Explorer or Safari.\n// Internet Explorer 10 is the only browser that has setImmediate but does\n// not have MutationObservers.\n// Although setImmediate yields to the browser's renderer, it would be\n// preferrable to falling back to setTimeout since it does not have\n// the minimum 4ms penalty.\n// Unfortunately there appears to be a bug in Internet Explorer 10 Mobile (and\n// Desktop to a lesser extent) that renders both setImmediate and\n// MessageChannel useless for the purposes of ASAP.\n// https://github.com/kriskowal/q/issues/396\n// Timers are implemented universally.\n// We fall back to timers in workers in most engines, and in foreground\n// contexts in the following browsers.\n// However, note that even this simple case requires nuances to operate in a\n// broad spectrum of browsers.\n//\n// - Firefox 3-13\n// - Internet Explorer 6-9\n// - iPad Safari 4.3\n// - Lynx 2.8.7\nmakeRequestCallFromTimer;\n\n//# sourceMappingURL=makeRequestCall.js.map"],"names":["scope","BrowserMutationObserver","makeRequestCallFromTimer","callback","timeoutHandle","handleTimer","intervalHandle","makeRequestCallFromMutationObserver","toggle","observer","node","makeRequestCall"],"mappings":"AAImB,MAAMA,IAAQ,OAAO,SAAW,MAAc,SAAS,MACpEC,IAA0BD,EAAM,oBAAoBA,EAAM;AACzD,SAASE,EAAyBC,GAAU;AAC/C,SAAO,WAAuB;AAK1B,UAAMC,IAAgB,WAAWC,GAAa,CAAC,GAIzCC,IAAiB,YAAYD,GAAa,EAAE;AAClD,aAASA,IAAc;AAGnB,mBAAaD,CAAa,GAC1B,cAAcE,CAAc,GAC5BH,EAAQ;AAAA,IACZ;AAAA,EACJ;AACJ;AAGO,SAASI,EAAoCJ,GAAU;AAC1D,MAAIK,IAAS;AACb,QAAMC,IAAW,IAAIR,EAAwBE,CAAQ,GAC/CO,IAAO,SAAS,eAAe,EAAE;AACvC,SAAAD,EAAS,QAAQC,GAAM;AAAA,IACnB,eAAe;AAAA,EACvB,CAAK,GACM,WAAuB;AAC1B,IAAAF,IAAS,CAACA,GACVE,EAAK,OAAOF;AAAA,EAChB;AACJ;AACY,MAACG,IAAkB,OAAOV,KAA4B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUlEM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAwBAL;AAAA;","x_google_ignoreList":[0]}
@@ -0,0 +1,23 @@
1
+ function a(r, n, ...i) {
2
+ if (t() && n === void 0)
3
+ throw new Error("invariant requires an error message argument");
4
+ if (!r) {
5
+ let e;
6
+ if (n === void 0)
7
+ e = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
8
+ else {
9
+ let o = 0;
10
+ e = new Error(n.replace(/%s/g, function() {
11
+ return i[o++];
12
+ })), e.name = "Invariant Violation";
13
+ }
14
+ throw e.framesToPop = 1, e;
15
+ }
16
+ }
17
+ function t() {
18
+ return typeof process < "u" && process.env.NODE_ENV === "production";
19
+ }
20
+ export {
21
+ a as invariant
22
+ };
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/@react-dnd/invariant/dist/index.js"],"sourcesContent":["/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */ export function invariant(condition, format, ...args) {\n if (isProduction()) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n if (!condition) {\n let error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n let argIndex = 0;\n error = new Error(format.replace(/%s/g, function() {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n error.framesToPop = 1 // we don't care about invariant's own frame\n ;\n throw error;\n }\n}\nfunction isProduction() {\n return typeof process !== 'undefined' && process.env['NODE_ENV'] === 'production';\n}\n\n//# sourceMappingURL=index.js.map"],"names":["invariant","condition","format","args","isProduction","error","argIndex"],"mappings":"AASW,SAASA,EAAUC,GAAWC,MAAWC,GAAM;AACtD,MAAIC,EAAY,KACRF,MAAW;AACX,UAAM,IAAI,MAAM,8CAA8C;AAGtE,MAAI,CAACD,GAAW;AACZ,QAAII;AACJ,QAAIH,MAAW;AACX,MAAAG,IAAQ,IAAI,MAAM,+HAAoI;AAAA,SACnJ;AACH,UAAIC,IAAW;AACf,MAAAD,IAAQ,IAAI,MAAMH,EAAO,QAAQ,OAAO,WAAW;AAC/C,eAAOC,EAAKG,GAAU;AAAA,MAC1B,CAAC,CAAC,GACFD,EAAM,OAAO;AAAA,IACjB;AACA,UAAAA,EAAM,cAAc,GAEdA;AAAA,EACV;AACJ;AACA,SAASD,IAAe;AACpB,SAAO,OAAO,UAAY,OAAe,QAAQ,IAAI,aAAgB;AACzE;","x_google_ignoreList":[0]}
@@ -0,0 +1,26 @@
1
+ function p(t, e, u, i) {
2
+ let r;
3
+ if (r !== void 0)
4
+ return !!r;
5
+ if (t === e)
6
+ return !0;
7
+ if (typeof t != "object" || !t || typeof e != "object" || !e)
8
+ return !1;
9
+ const n = Object.keys(t), l = Object.keys(e);
10
+ if (n.length !== l.length)
11
+ return !1;
12
+ const c = Object.prototype.hasOwnProperty.bind(e);
13
+ for (let s = 0; s < n.length; s++) {
14
+ const o = n[s];
15
+ if (!c(o))
16
+ return !1;
17
+ const f = t[o], a = e[o];
18
+ if (r = void 0, r === !1 || r === void 0 && f !== a)
19
+ return !1;
20
+ }
21
+ return !0;
22
+ }
23
+ export {
24
+ p as shallowEqual
25
+ };
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/@react-dnd/shallowequal/dist/index.js"],"sourcesContent":["export function shallowEqual(objA, objB, compare, compareContext) {\n let compareResult = compare ? compare.call(compareContext, objA, objB) : void 0;\n if (compareResult !== void 0) {\n return !!compareResult;\n }\n if (objA === objB) {\n return true;\n }\n if (typeof objA !== 'object' || !objA || typeof objB !== 'object' || !objB) {\n return false;\n }\n const keysA = Object.keys(objA);\n const keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) {\n return false;\n }\n const bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n // Test for A's keys different from B.\n for(let idx = 0; idx < keysA.length; idx++){\n const key = keysA[idx];\n if (!bHasOwnProperty(key)) {\n return false;\n }\n const valueA = objA[key];\n const valueB = objB[key];\n compareResult = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n if (compareResult === false || compareResult === void 0 && valueA !== valueB) {\n return false;\n }\n }\n return true;\n}\n\n//# sourceMappingURL=index.js.map"],"names":["shallowEqual","objA","objB","compare","compareContext","compareResult","keysA","keysB","bHasOwnProperty","idx","key","valueA","valueB"],"mappings":"AAAO,SAASA,EAAaC,GAAMC,GAAMC,GAASC,GAAgB;AAC9D,MAAIC;AACJ,MAAIA,MAAkB;AAClB,WAAO,CAAC,CAACA;AAEb,MAAIJ,MAASC;AACT,WAAO;AAEX,MAAI,OAAOD,KAAS,YAAY,CAACA,KAAQ,OAAOC,KAAS,YAAY,CAACA;AAClE,WAAO;AAEX,QAAMI,IAAQ,OAAO,KAAKL,CAAI,GACxBM,IAAQ,OAAO,KAAKL,CAAI;AAC9B,MAAII,EAAM,WAAWC,EAAM;AACvB,WAAO;AAEX,QAAMC,IAAkB,OAAO,UAAU,eAAe,KAAKN,CAAI;AAEjE,WAAQO,IAAM,GAAGA,IAAMH,EAAM,QAAQG,KAAM;AACvC,UAAMC,IAAMJ,EAAMG,CAAG;AACrB,QAAI,CAACD,EAAgBE,CAAG;AACpB,aAAO;AAEX,UAAMC,IAASV,EAAKS,CAAG,GACjBE,IAASV,EAAKQ,CAAG;AAEvB,QADAL,IAA8E,QAC1EA,MAAkB,MAASA,MAAkB,UAAUM,MAAWC;AAClE,aAAO;AAAA,EAEf;AACA,SAAO;AACX;","x_google_ignoreList":[0]}